@univerjs-pro/collaboration-client-node 0.7.0-beta.0 → 0.7.0-nightly.202504291607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _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 _0x2f0501=_0x2a43;(function(_0x32ec6d,_0x2d9425){const _0x2aa55e=_0x2a43,_0x3d61d6=_0x32ec6d();while(!![]){try{const _0x1b350e=parseInt(_0x2aa55e(0x227))/0x1*(-parseInt(_0x2aa55e(0x2b3))/0x2)+-parseInt(_0x2aa55e(0x11d))/0x3+parseInt(_0x2aa55e(0x125))/0x4*(parseInt(_0x2aa55e(0x1d5))/0x5)+parseInt(_0x2aa55e(0x1b5))/0x6*(-parseInt(_0x2aa55e(0x120))/0x7)+parseInt(_0x2aa55e(0x1d9))/0x8+parseInt(_0x2aa55e(0x160))/0x9+-parseInt(_0x2aa55e(0xfa))/0xa*(-parseInt(_0x2aa55e(0x27e))/0xb);if(_0x1b350e===_0x2d9425)break;else _0x3d61d6['push'](_0x3d61d6['shift']());}catch(_0x1df018){_0x3d61d6['push'](_0x3d61d6['shift']());}}}(_0x3ba7,0xa28ad));Object[_0x2f0501(0x26c)](exports,Symbol[_0x2f0501(0x1c0)],{'value':_0x2f0501(0x17b)});const st=require(_0x2f0501(0x138)),A=require(_0x2f0501(0x2d0)),it=require(_0x2f0501(0x2c7)),V=require(_0x2f0501(0x134)),nt=require(_0x2f0501(0x126)),vt=require('https'),ot=require(_0x2f0501(0x107)),St=require(_0x2f0501(0x19c)),Et=require(_0x2f0501(0x206)),Le=require('crypto'),oe=require(_0x2f0501(0x17a)),xt=require('url'),bt=require(_0x2f0501(0x117)),wt=require(_0x2f0501(0x218)),Ot=require(_0x2f0501(0x104)),fe=_0x2f0501(0x10e),Ct={'customHeaders':{}};function Tt(_0x4f74fc){const _0x48492a=_0x2f0501;return _0x4f74fc&&_0x4f74fc[_0x48492a(0x222)]&&Object[_0x48492a(0x18b)][_0x48492a(0x28e)]['call'](_0x4f74fc,_0x48492a(0x189))?_0x4f74fc[_0x48492a(0x189)]:_0x4f74fc;}function at(_0x33cb90){const _0x23dfd9=_0x2f0501;if(Object[_0x23dfd9(0x18b)][_0x23dfd9(0x28e)][_0x23dfd9(0x1d7)](_0x33cb90,'__esModule'))return _0x33cb90;var _0x4808df=_0x33cb90[_0x23dfd9(0x189)];if(typeof _0x4808df=='function'){var _0x3e01cd=function _0x1b8fbb(){const _0x296e15=_0x23dfd9;return this instanceof _0x1b8fbb?Reflect[_0x296e15(0x2a9)](_0x4808df,arguments,this[_0x296e15(0x163)]):_0x4808df[_0x296e15(0x22b)](this,arguments);};_0x3e01cd[_0x23dfd9(0x18b)]=_0x4808df[_0x23dfd9(0x18b)];}else _0x3e01cd={};return Object['defineProperty'](_0x3e01cd,_0x23dfd9(0x222),{'value':!0x0}),Object[_0x23dfd9(0x145)](_0x33cb90)[_0x23dfd9(0x237)](function(_0x35b553){const _0x300732=_0x23dfd9;var _0x41a137=Object[_0x300732(0x16d)](_0x33cb90,_0x35b553);Object[_0x300732(0x26c)](_0x3e01cd,_0x35b553,_0x41a137[_0x300732(0x2cb)]?_0x41a137:{'enumerable':!0x0,'get':function(){return _0x33cb90[_0x35b553];}});}),_0x3e01cd;}var se={'exports':{}},ge,Ge;function H(){const _0x5c9b59=_0x2f0501;if(Ge)return ge;Ge=0x1;const _0x5d850b=[_0x5c9b59(0x28b),'arraybuffer',_0x5c9b59(0x113)],_0x398d20=typeof Blob<'u';return _0x398d20&&_0x5d850b[_0x5c9b59(0x1b1)](_0x5c9b59(0x26a)),ge={'BINARY_TYPES':_0x5d850b,'EMPTY_BUFFER':Buffer[_0x5c9b59(0x1a6)](0x0),'GUID':_0x5c9b59(0x14f),'hasBlob':_0x398d20,'kForOnEventAttribute':Symbol(_0x5c9b59(0x14a)),'kListener':Symbol(_0x5c9b59(0x10d)),'kStatusCode':Symbol(_0x5c9b59(0xfb)),'kWebSocket':Symbol(_0x5c9b59(0x1f8)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x2f0501(0x182)](Object[_0x2f0501(0x26c)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x2f0501(0x17b)})),Lt=at(kt);function _0x3ba7(){const _0x1b6562=['_binaryType','threshold','Sec-WebSocket-Accept:\x20','concat','skipUTF8Validation','\x22:\x20','entries','socketPath','error','cork','_allowSynchronousEvents','isArray','Cookie','_paused','writable','share','wss:','concurrencyLimit','\x22\x20subprotocol\x20is\x20duplicated','accept','\x22\x20must\x20have\x20only\x20a\x20single\x20value','values','toDisposable','blob','finishRequest','defineProperty','sec-websocket-protocol','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','normalizeParams','File','dataMessage','mask','client_max_window_bits','Server\x20sent\x20an\x20invalid\x20subprotocol','_errorEmitted','_configService','MASK\x20must\x20be\x20clear','consume','createConnection','Blob','create','emitClose','clients','7876gNRqBL','end','_req','env','WS_ERR_EXPECTED_FIN','_writableState','CLOSED','createError','username','getMask','_closeTimer','verifyClient','unmask','nodebuffer','catch','WS_ERR_UNEXPECTED_MASK','hasOwnProperty','listening','Injector','then','species','finished','_options','resume','writeHead','_fin','_injector','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_deflate','indexOf','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','sec-websocket-key','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','digest','Parameter\x20\x22','onclose','isPaused','text/plain','timeout','kMessage','_firstFragment','HTTP/1.1\x20','parse','construct','generateMask','_buffers','isServer','pending','reset','_maxPayload','charCodeAt','Maximum\x20redirects\x20exceeded','ws:','2dAFYnv','pong','size','request','Upgrade','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_isServer','wasClean','kReason','concurrency','isBuffer','dispose','defaultPort','_removeListeners','Invalid\x20HTTP\x20method','kData','_inflate','followRedirects','Sec-WebSocket-Protocol:\x20','registerDependencies','@univerjs/network','ISnapshotServerService','CLOSING','zlibDeflateOptions','get','handleUpgrade','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','endEmitted','@univerjs/core','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_socket','Max\x20payload\x20size\x20exceeded','1780oCnEXg','status-code','setTimeout','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','haveLength','invalid\x20opcode\x200','setSocket','writeUIntBE','isValidUTF8','WS_NO_BUFFER_UTIL','@univerjs-pro/collaboration','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','join','http','upgrade','sec-websocket-extensions','sendFrame','params','data','kListener','collaboration-client-node.config','readUInt16BE','_mask','needDrain','_bufferedAmount','fragments','enqueue','kAborted','Sec-WebSocket-Extensions:\x20','zlib','client','total-length','_httpService','\x0d\x0a\x0d\x0a','split','3342105cWuwgf','Z_DEFAULT_WINDOWBITS','getPayloadLength64','28BnUMpD','text/html','arrayBuffer','kCode','HTTPService','180seVVHC','events','kWasClean','conclude','function','Observable','_readableState','WS_ERR_UNEXPECTED_RSV_2_3','finish','Server\x20sent\x20no\x20subprotocol','clientMaxWindowBits','Invalid\x20WebSocket\x20frame:\x20','pause','handshakeTimeout','IConfigService','rxjs','removeListener','_max_window_bits','invalid\x20opcode\x20','@univerjs-pro/collaboration-client','kByteLength','Z_SYNC_FLUSH','UniverCollaborationClientNodePlugin','address','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','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','kError','toLowerCase','options','COLLABORATION_CLIENT_NODE_CONFIG_KEY','authorization','keys','authorized','objectMode','destroy','_server','kIsForOnEventAttribute','binary','map','server_max_window_bits','getConfig','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','isInteger','bind','decompress','from','Inject','_masked','_shouldEmitClose','extensionName','_closeCode','OPEN','allowSynchronousEvents','invalid\x20UTF-8\x20sequence','unexpected-response','acceptAsServer','permessage-deflate','_maskBuffer','6856947XeFOfj','captureStackTrace','Invalid\x20Sec-WebSocket-Extensions\x20header','constructor','replace','write','createServer','ISocketService','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','opcode','ILogService','dequeue','Connection:\x20Upgrade','getOwnPropertyDescriptor','Invalid\x20Sec-WebSocket-Accept\x20header','getPayloadLength16','_compress','hostname','_skipUTF8Validation','Unexpected\x20server\x20response:\x20','shift','kType','_totalPayloadLength','Sec-WebSocket-Extensions','type','_registerDependencies','stream','Module','Unsupported\x20protocol\x20version:\x20','createInflateRaw','completeUpgrade','target','NodeCollaborationSocketService','_autoPong','freeze','clientTracking','readOnly','destroyed','host','writeUInt16BE','byteLength','default','read','prototype','getBlobData','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','shouldHandle','autoPong','toString','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','Plugin','_read','sha1','_redirects','encrypted','close','pluginName','_bufferedBytes','_queue','WS_ERR_INVALID_OPCODE','net','onerror','The\x20server\x20is\x20not\x20running','isIP','customHeaders','The\x20URL\x27s\x20pathname\x20is\x20empty','bufferedAmount','auth','GET','_no_context_takeover','alloc','next','_protocol','setHeader','sec-websocket-accept','jobs','readyState','Invalid\x20URL:\x20','WS_ERR_INVALID_UTF8','perMessageDeflate','RSV1\x20must\x20be\x20clear','push','Sec-WebSocket-Origin','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','response','334374TUWISs','pathname','nextTick','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_threshold','addEventListener','offer','length','path','listeners','emit','toStringTag','readUInt32BE','socket','once','test','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','find','STATUS_CODES','_closeFrameReceived','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_originalIpc','Basic\x20','string','createDeflateRaw','_write','setNoDelay','readable','set','_sender','acceptAsClient','delete','57645RslbCq','_generateMask','call','http:','5179080muZufe','Origin','pipe','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','client_no_context_takeover','ws+unix:','maxRedirects','servername','extensions','frame','_errored','clientNoContextTakeover','add','errorEmitted','maxPayload','update','byteOffset','server','_fragmented','maskBuffer','setConfig','_closeMessage','connect','callback','DisposableCollection','cleanup','_loop','allocUnsafe','sec-websocket-origin','Invalid\x20value\x20for\x20parameter\x20\x22','includes','websocket','open','kDone','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','WebSocket','protocolVersion','compress','object','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','CONNECTING','has','_extensions','serverMaxWindowBits','Opening\x20handshake\x20has\x20timed\x20out','tls','WS_NO_UTF_8_VALIDATE','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','Invalid\x20Sec-WebSocket-Protocol\x20header','Unexpected\x20character\x20at\x20index\x20','listenerCount','handleEvent','reason','warn','fin','dispatch','exports','send','pow','redirect','_readyState','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','server_no_context_takeover','buffer','cookie','https:','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Unexpected\x20end\x20of\x20input','_payloadLength','createSocket','The\x20\x22','controlMessage','terminate','__esModule','message','port','_fragments','protocol','52797ltMtQU','headers','removeEventListener','number','apply','slice','url','code','invalid\x20status\x20code\x20','_state','_decompress','_originalSecure','WS_ERR_UNEXPECTED_RSV_1','startLoop','connection','flush','forEach','getData','kTarget','_originalHostOrSocketPath','binaryType','wsClientError','_receiver','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_opcode','WS_ERR_EXPECTED_MASK','abort','UniverCollaborationClientPlugin','_closeFrameSent','password','_messageLength','origin','onStarting','ping','zlibInflateOptions','_destroy','serverNoContextTakeover','_url','Upgrade:\x20websocket','removeAllListeners','_compressed','rsv1','base64','noServer'];_0x3ba7=function(){return _0x1b6562;};return _0x3ba7();}var Ve;function ce(){const _0x51d733=_0x2f0501;if(Ve)return se[_0x51d733(0x211)];Ve=0x1;const {EMPTY_BUFFER:_0x2e2cc8}=H(),_0x3b2ab6=Buffer[Symbol[_0x51d733(0x292)]];function _0x4c5ff0(_0x5b75f8,_0x408ef2){const _0x4b7068=_0x51d733;if(_0x5b75f8['length']===0x0)return _0x2e2cc8;if(_0x5b75f8['length']===0x1)return _0x5b75f8[0x0];const _0x106236=Buffer[_0x4b7068(0x1f4)](_0x408ef2);let _0x3985be=0x0;for(let _0x2ef959=0x0;_0x2ef959<_0x5b75f8[_0x4b7068(0x1bc)];_0x2ef959++){const _0x35e3b0=_0x5b75f8[_0x2ef959];_0x106236['set'](_0x35e3b0,_0x3985be),_0x3985be+=_0x35e3b0[_0x4b7068(0x1bc)];}return _0x3985be<_0x408ef2?new _0x3b2ab6(_0x106236['buffer'],_0x106236['byteOffset'],_0x3985be):_0x106236;}function _0x5d22f8(_0x83064c,_0x2c15f2,_0xd6feb7,_0x55f114,_0x94e7c6){for(let _0x1b4671=0x0;_0x1b4671<_0x94e7c6;_0x1b4671++)_0xd6feb7[_0x55f114+_0x1b4671]=_0x83064c[_0x1b4671]^_0x2c15f2[_0x1b4671&0x3];}function _0x28720f(_0x1d0d71,_0x1363c0){const _0x5cda8a=_0x51d733;for(let _0x26b0a4=0x0;_0x26b0a4<_0x1d0d71[_0x5cda8a(0x1bc)];_0x26b0a4++)_0x1d0d71[_0x26b0a4]^=_0x1363c0[_0x26b0a4&0x3];}function _0x10c955(_0x55eff2){const _0xf6d4ba=_0x51d733;return _0x55eff2[_0xf6d4ba(0x1bc)]===_0x55eff2[_0xf6d4ba(0x218)]['byteLength']?_0x55eff2[_0xf6d4ba(0x218)]:_0x55eff2[_0xf6d4ba(0x218)][_0xf6d4ba(0x22c)](_0x55eff2[_0xf6d4ba(0x1e9)],_0x55eff2['byteOffset']+_0x55eff2[_0xf6d4ba(0x1bc)]);}function _0x5853dd(_0x3c9e9b){const _0x8de96e=_0x51d733;if(_0x5853dd['readOnly']=!0x0,Buffer[_0x8de96e(0x2bd)](_0x3c9e9b))return _0x3c9e9b;let _0x33ab85;return _0x3c9e9b instanceof ArrayBuffer?_0x33ab85=new _0x3b2ab6(_0x3c9e9b):ArrayBuffer['isView'](_0x3c9e9b)?_0x33ab85=new _0x3b2ab6(_0x3c9e9b[_0x8de96e(0x218)],_0x3c9e9b['byteOffset'],_0x3c9e9b[_0x8de96e(0x188)]):(_0x33ab85=Buffer[_0x8de96e(0x153)](_0x3c9e9b),_0x5853dd[_0x8de96e(0x184)]=!0x1),_0x33ab85;}if(se[_0x51d733(0x211)]={'concat':_0x4c5ff0,'mask':_0x5d22f8,'toArrayBuffer':_0x10c955,'toBuffer':_0x5853dd,'unmask':_0x28720f},!process[_0x51d733(0x281)][_0x51d733(0x103)])try{const _0x4347ce=Lt;se['exports'][_0x51d733(0x272)]=function(_0xf97c3d,_0x2bee47,_0x3dd426,_0x2096b3,_0x5c031e){const _0x8463a0=_0x51d733;_0x5c031e<0x30?_0x5d22f8(_0xf97c3d,_0x2bee47,_0x3dd426,_0x2096b3,_0x5c031e):_0x4347ce[_0x8463a0(0x272)](_0xf97c3d,_0x2bee47,_0x3dd426,_0x2096b3,_0x5c031e);},se[_0x51d733(0x211)][_0x51d733(0x28a)]=function(_0x30389c,_0x5b40ad){const _0x2aeca0=_0x51d733;_0x30389c[_0x2aeca0(0x1bc)]<0x20?_0x28720f(_0x30389c,_0x5b40ad):_0x4347ce[_0x2aeca0(0x28a)](_0x30389c,_0x5b40ad);};}catch{}return se[_0x51d733(0x211)];}var ye,He;function Pt(){const _0x2d524c=_0x2f0501;if(He)return ye;He=0x1;const _0x2fa061=Symbol(_0x2d524c(0x1fa)),_0x3d8630=Symbol('kRun');class _0x4f820a{constructor(_0x354906){const _0x4a9514=_0x2d524c;this[_0x2fa061]=()=>{const _0x580348=_0x2a43;this[_0x580348(0x2ad)]--,this[_0x3d8630]();},this[_0x4a9514(0x2bc)]=_0x354906||0x1/0x0,this[_0x4a9514(0x1ab)]=[],this[_0x4a9514(0x2ad)]=0x0;}['add'](_0x55c4ee){const _0x49eb18=_0x2d524c;this[_0x49eb18(0x1ab)]['push'](_0x55c4ee),this[_0x3d8630]();}[_0x3d8630](){const _0x157d3c=_0x2d524c;if(this[_0x157d3c(0x2ad)]!==this[_0x157d3c(0x2bc)]&&this['jobs'][_0x157d3c(0x1bc)]){const _0x462a86=this[_0x157d3c(0x1ab)]['shift']();this[_0x157d3c(0x2ad)]++,_0x462a86(this[_0x2fa061]);}}}return ye=_0x4f820a,ye;}var ve,ze;function he(){const _0x1952ed=_0x2f0501;if(ze)return ve;ze=0x1;const _0x4fb3d2=bt,_0x39a58d=ce(),_0x4157f7=Pt(),{kStatusCode:_0x1c15dd}=H(),_0x26710e=Buffer[Symbol[_0x1952ed(0x292)]],_0x17d411=Buffer[_0x1952ed(0x153)]([0x0,0x0,0xff,0xff]),_0x37d6fe=Symbol(_0x1952ed(0x15e)),_0x478e8d=Symbol(_0x1952ed(0x119)),_0x541a2b=Symbol(_0x1952ed(0x1f0)),_0x3c5c9b=Symbol('buffers'),_0xff94d5=Symbol('error');let _0x2a6549;class _0x363de6{constructor(_0x65e36b,_0x44296e,_0x34f333){const _0x34e45b=_0x1952ed;if(this[_0x34e45b(0x2af)]=_0x34f333|0x0,this[_0x34e45b(0x294)]=_0x65e36b||{},this[_0x34e45b(0x1b9)]=this[_0x34e45b(0x294)]['threshold']!==void 0x0?this[_0x34e45b(0x294)][_0x34e45b(0x254)]:0x400,this[_0x34e45b(0x2b9)]=!!_0x44296e,this['_deflate']=null,this['_inflate']=null,this[_0x34e45b(0x10b)]=null,!_0x2a6549){const _0x1572c5=this[_0x34e45b(0x294)][_0x34e45b(0x264)]!==void 0x0?this['_options'][_0x34e45b(0x264)]:0xa;_0x2a6549=new _0x4157f7(_0x1572c5);}}static get['extensionName'](){const _0x14130b=_0x1952ed;return _0x14130b(0x15e);}[_0x1952ed(0x1bb)](){const _0x5275e9=_0x1952ed,_0x18892a={};return this[_0x5275e9(0x294)][_0x5275e9(0x24b)]&&(_0x18892a[_0x5275e9(0x217)]=!0x0),this[_0x5275e9(0x294)]['clientNoContextTakeover']&&(_0x18892a[_0x5275e9(0x1dd)]=!0x0),this[_0x5275e9(0x294)][_0x5275e9(0x204)]&&(_0x18892a[_0x5275e9(0x14d)]=this['_options'][_0x5275e9(0x204)]),this[_0x5275e9(0x294)][_0x5275e9(0x12f)]?_0x18892a[_0x5275e9(0x273)]=this['_options'][_0x5275e9(0x12f)]:this[_0x5275e9(0x294)][_0x5275e9(0x12f)]==null&&(_0x18892a['client_max_window_bits']=!0x0),_0x18892a;}[_0x1952ed(0x266)](_0x79d8fe){const _0x32b167=_0x1952ed;return _0x79d8fe=this[_0x32b167(0x26f)](_0x79d8fe),this[_0x32b167(0x10b)]=this[_0x32b167(0x2b9)]?this[_0x32b167(0x15d)](_0x79d8fe):this[_0x32b167(0x1d3)](_0x79d8fe),this[_0x32b167(0x10b)];}[_0x1952ed(0x1f2)](){const _0x5991be=_0x1952ed;if(this[_0x5991be(0x2c3)]&&(this[_0x5991be(0x2c3)][_0x5991be(0x197)](),this[_0x5991be(0x2c3)]=null),this['_deflate']){const _0x4df00f=this[_0x5991be(0x29a)][_0x541a2b];this[_0x5991be(0x29a)][_0x5991be(0x197)](),this['_deflate']=null,_0x4df00f&&_0x4df00f(new Error(_0x5991be(0x13f)));}}['acceptAsServer'](_0x590828){const _0x4c0e5b=_0x1952ed,_0x4f6488=this['_options'],_0xbf18f3=_0x590828[_0x4c0e5b(0x1c6)](_0x1f3ea4=>!(_0x4f6488[_0x4c0e5b(0x24b)]===!0x1&&_0x1f3ea4['server_no_context_takeover']||_0x1f3ea4[_0x4c0e5b(0x14d)]&&(_0x4f6488['serverMaxWindowBits']===!0x1||typeof _0x4f6488[_0x4c0e5b(0x204)]==_0x4c0e5b(0x22a)&&_0x4f6488[_0x4c0e5b(0x204)]>_0x1f3ea4[_0x4c0e5b(0x14d)])||typeof _0x4f6488[_0x4c0e5b(0x12f)]==_0x4c0e5b(0x22a)&&!_0x1f3ea4['client_max_window_bits']));if(!_0xbf18f3)throw new Error(_0x4c0e5b(0x2d1));return _0x4f6488['serverNoContextTakeover']&&(_0xbf18f3[_0x4c0e5b(0x217)]=!0x0),_0x4f6488[_0x4c0e5b(0x1e4)]&&(_0xbf18f3[_0x4c0e5b(0x1dd)]=!0x0),typeof _0x4f6488[_0x4c0e5b(0x204)]==_0x4c0e5b(0x22a)&&(_0xbf18f3[_0x4c0e5b(0x14d)]=_0x4f6488[_0x4c0e5b(0x204)]),typeof _0x4f6488[_0x4c0e5b(0x12f)]==_0x4c0e5b(0x22a)?_0xbf18f3[_0x4c0e5b(0x273)]=_0x4f6488[_0x4c0e5b(0x12f)]:(_0xbf18f3[_0x4c0e5b(0x273)]===!0x0||_0x4f6488[_0x4c0e5b(0x12f)]===!0x1)&&delete _0xbf18f3[_0x4c0e5b(0x273)],_0xbf18f3;}[_0x1952ed(0x1d3)](_0x41f881){const _0x447c39=_0x1952ed,_0xbe9371=_0x41f881[0x0];if(this[_0x447c39(0x294)]['clientNoContextTakeover']===!0x1&&_0xbe9371[_0x447c39(0x1dd)])throw new Error(_0x447c39(0x29c));if(!_0xbe9371['client_max_window_bits'])typeof this[_0x447c39(0x294)]['clientMaxWindowBits']=='number'&&(_0xbe9371[_0x447c39(0x273)]=this['_options'][_0x447c39(0x12f)]);else{if(this['_options'][_0x447c39(0x12f)]===!0x1||typeof this[_0x447c39(0x294)][_0x447c39(0x12f)]==_0x447c39(0x22a)&&_0xbe9371[_0x447c39(0x273)]>this[_0x447c39(0x294)][_0x447c39(0x12f)])throw new Error(_0x447c39(0x1dc));}return _0xbe9371;}[_0x1952ed(0x26f)](_0x5a996d){const _0x37ff9c=_0x1952ed;return _0x5a996d[_0x37ff9c(0x237)](_0x1629ef=>{const _0x4e5e77=_0x37ff9c;Object[_0x4e5e77(0x145)](_0x1629ef)[_0x4e5e77(0x237)](_0x36f5de=>{const _0x217162=_0x4e5e77;let _0xaf4fcd=_0x1629ef[_0x36f5de];if(_0xaf4fcd[_0x217162(0x1bc)]>0x1)throw new Error(_0x217162(0x2a0)+_0x36f5de+_0x217162(0x267));if(_0xaf4fcd=_0xaf4fcd[0x0],_0x36f5de===_0x217162(0x273)){if(_0xaf4fcd!==!0x0){const _0x505a76=+_0xaf4fcd;if(!Number[_0x217162(0x150)](_0x505a76)||_0x505a76<0x8||_0x505a76>0xf)throw new TypeError(_0x217162(0x1f6)+_0x36f5de+'\x22:\x20'+_0xaf4fcd);_0xaf4fcd=_0x505a76;}else{if(!this[_0x217162(0x2b9)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x36f5de+_0x217162(0x258)+_0xaf4fcd);}}else{if(_0x36f5de===_0x217162(0x14d)){const _0x4622ce=+_0xaf4fcd;if(!Number[_0x217162(0x150)](_0x4622ce)||_0x4622ce<0x8||_0x4622ce>0xf)throw new TypeError(_0x217162(0x1f6)+_0x36f5de+_0x217162(0x258)+_0xaf4fcd);_0xaf4fcd=_0x4622ce;}else{if(_0x36f5de===_0x217162(0x1dd)||_0x36f5de===_0x217162(0x217)){if(_0xaf4fcd!==!0x0)throw new TypeError(_0x217162(0x1f6)+_0x36f5de+_0x217162(0x258)+_0xaf4fcd);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x36f5de+'\x22');}}_0x1629ef[_0x36f5de]=_0xaf4fcd;});}),_0x5a996d;}['decompress'](_0x2a7ecc,_0x540af3,_0x1808d2){const _0x2b8ef8=_0x1952ed;_0x2a6549[_0x2b8ef8(0x1e5)](_0x2ac6e7=>{const _0x3a2cb9=_0x2b8ef8;this[_0x3a2cb9(0x231)](_0x2a7ecc,_0x540af3,(_0x5b8de3,_0x531fa4)=>{_0x2ac6e7(),_0x1808d2(_0x5b8de3,_0x531fa4);});});}[_0x1952ed(0x1fe)](_0x3505f9,_0x26d3c7,_0x5e5327){const _0x38f3b1=_0x1952ed;_0x2a6549[_0x38f3b1(0x1e5)](_0x1325e8=>{const _0x299db3=_0x38f3b1;this[_0x299db3(0x170)](_0x3505f9,_0x26d3c7,(_0x203eb9,_0x37bcdc)=>{_0x1325e8(),_0x5e5327(_0x203eb9,_0x37bcdc);});});}['_decompress'](_0x491157,_0x1999b4,_0x2c57c0){const _0x300405=_0x1952ed,_0x53db29=this[_0x300405(0x2b9)]?_0x300405(0x118):'server';if(!this[_0x300405(0x2c3)]){const _0x3ee712=_0x53db29+_0x300405(0x136),_0x5f3a55=typeof this[_0x300405(0x10b)][_0x3ee712]!='number'?_0x4fb3d2[_0x300405(0x11e)]:this['params'][_0x3ee712];this[_0x300405(0x2c3)]=_0x4fb3d2[_0x300405(0x17d)]({...this['_options'][_0x300405(0x249)],'windowBits':_0x5f3a55}),this[_0x300405(0x2c3)][_0x37d6fe]=this,this[_0x300405(0x2c3)][_0x478e8d]=0x0,this[_0x300405(0x2c3)][_0x3c5c9b]=[],this[_0x300405(0x2c3)]['on']('error',_0x1fdc23),this[_0x300405(0x2c3)]['on'](_0x300405(0x10c),_0xfbfc7);}this[_0x300405(0x2c3)][_0x541a2b]=_0x2c57c0,this[_0x300405(0x2c3)][_0x300405(0x165)](_0x491157),_0x1999b4&&this[_0x300405(0x2c3)][_0x300405(0x165)](_0x17d411),this[_0x300405(0x2c3)][_0x300405(0x236)](()=>{const _0x2157f5=_0x300405,_0x53e2cf=this[_0x2157f5(0x2c3)][_0xff94d5];if(_0x53e2cf){this[_0x2157f5(0x2c3)][_0x2157f5(0x197)](),this[_0x2157f5(0x2c3)]=null,_0x2c57c0(_0x53e2cf);return;}const _0x26fa11=_0x39a58d[_0x2157f5(0x256)](this[_0x2157f5(0x2c3)][_0x3c5c9b],this['_inflate'][_0x478e8d]);this[_0x2157f5(0x2c3)]['_readableState'][_0x2157f5(0x2cf)]?(this[_0x2157f5(0x2c3)][_0x2157f5(0x197)](),this[_0x2157f5(0x2c3)]=null):(this[_0x2157f5(0x2c3)][_0x478e8d]=0x0,this['_inflate'][_0x3c5c9b]=[],_0x1999b4&&this[_0x2157f5(0x10b)][_0x53db29+_0x2157f5(0x1a5)]&&this[_0x2157f5(0x2c3)][_0x2157f5(0x2ae)]()),_0x2c57c0(null,_0x26fa11);});}['_compress'](_0x1756a5,_0x467085,_0x14fed3){const _0x4e1cc7=_0x1952ed,_0x303e4c=this[_0x4e1cc7(0x2b9)]?_0x4e1cc7(0x1ea):_0x4e1cc7(0x118);if(!this[_0x4e1cc7(0x29a)]){const _0x2322e5=_0x303e4c+'_max_window_bits',_0x147a5d=typeof this[_0x4e1cc7(0x10b)][_0x2322e5]!='number'?_0x4fb3d2[_0x4e1cc7(0x11e)]:this[_0x4e1cc7(0x10b)][_0x2322e5];this[_0x4e1cc7(0x29a)]=_0x4fb3d2[_0x4e1cc7(0x1cd)]({...this[_0x4e1cc7(0x294)][_0x4e1cc7(0x2ca)],'windowBits':_0x147a5d}),this['_deflate'][_0x478e8d]=0x0,this['_deflate'][_0x3c5c9b]=[],this['_deflate']['on'](_0x4e1cc7(0x10c),_0x392fbc);}this[_0x4e1cc7(0x29a)][_0x541a2b]=_0x14fed3,this['_deflate'][_0x4e1cc7(0x165)](_0x1756a5),this[_0x4e1cc7(0x29a)][_0x4e1cc7(0x236)](_0x4fb3d2[_0x4e1cc7(0x13a)],()=>{const _0x4cea34=_0x4e1cc7;if(!this[_0x4cea34(0x29a)])return;let _0x3974ec=_0x39a58d[_0x4cea34(0x256)](this[_0x4cea34(0x29a)][_0x3c5c9b],this[_0x4cea34(0x29a)][_0x478e8d]);_0x467085&&(_0x3974ec=new _0x26710e(_0x3974ec[_0x4cea34(0x218)],_0x3974ec['byteOffset'],_0x3974ec[_0x4cea34(0x1bc)]-0x4)),this[_0x4cea34(0x29a)][_0x541a2b]=null,this['_deflate'][_0x478e8d]=0x0,this[_0x4cea34(0x29a)][_0x3c5c9b]=[],_0x467085&&this[_0x4cea34(0x10b)][_0x303e4c+_0x4cea34(0x1a5)]&&this[_0x4cea34(0x29a)][_0x4cea34(0x2ae)](),_0x14fed3(null,_0x3974ec);});}}ve=_0x363de6;function _0x392fbc(_0x3d9075){const _0x3d9ddf=_0x1952ed;this[_0x3c5c9b][_0x3d9ddf(0x1b1)](_0x3d9075),this[_0x478e8d]+=_0x3d9075[_0x3d9ddf(0x1bc)];}function _0xfbfc7(_0x181a25){const _0x11b99a=_0x1952ed;if(this[_0x478e8d]+=_0x181a25[_0x11b99a(0x1bc)],this[_0x37d6fe][_0x11b99a(0x2af)]<0x1||this[_0x478e8d]<=this[_0x37d6fe][_0x11b99a(0x2af)]){this[_0x3c5c9b]['push'](_0x181a25);return;}this[_0xff94d5]=new RangeError(_0x11b99a(0xf9)),this[_0xff94d5]['code']='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0xff94d5][_0x1c15dd]=0x3f1,this[_0x11b99a(0x135)](_0x11b99a(0x10c),_0xfbfc7),this[_0x11b99a(0x2ae)]();}function _0x1fdc23(_0x5e706d){const _0x591a13=_0x1952ed;this[_0x37d6fe][_0x591a13(0x2c3)]=null,_0x5e706d[_0x1c15dd]=0x3ef,this[_0x541a2b](_0x5e706d);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x2f0501(0x26c)]({'__proto__':null,'default':Dt},Symbol[_0x2f0501(0x1c0)],{'value':_0x2f0501(0x17b)})),Bt=at(Rt);var Ye;function ae(){const _0x162b07=_0x2f0501;if(Ye)return ie[_0x162b07(0x211)];Ye=0x1;const {isUtf8:_0x4675a4}=wt,{hasBlob:_0x2b8053}=H(),_0x3f9172=[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 _0x445469(_0x159fab){return _0x159fab>=0x3e8&&_0x159fab<=0x3f6&&_0x159fab!==0x3ec&&_0x159fab!==0x3ed&&_0x159fab!==0x3ee||_0x159fab>=0xbb8&&_0x159fab<=0x1387;}function _0xee8afc(_0x20386f){const _0x20baac=_0x20386f['length'];let _0x29e6e0=0x0;for(;_0x29e6e0<_0x20baac;)if((_0x20386f[_0x29e6e0]&0x80)===0x0)_0x29e6e0++;else{if((_0x20386f[_0x29e6e0]&0xe0)===0xc0){if(_0x29e6e0+0x1===_0x20baac||(_0x20386f[_0x29e6e0+0x1]&0xc0)!==0x80||(_0x20386f[_0x29e6e0]&0xfe)===0xc0)return!0x1;_0x29e6e0+=0x2;}else{if((_0x20386f[_0x29e6e0]&0xf0)===0xe0){if(_0x29e6e0+0x2>=_0x20baac||(_0x20386f[_0x29e6e0+0x1]&0xc0)!==0x80||(_0x20386f[_0x29e6e0+0x2]&0xc0)!==0x80||_0x20386f[_0x29e6e0]===0xe0&&(_0x20386f[_0x29e6e0+0x1]&0xe0)===0x80||_0x20386f[_0x29e6e0]===0xed&&(_0x20386f[_0x29e6e0+0x1]&0xe0)===0xa0)return!0x1;_0x29e6e0+=0x3;}else{if((_0x20386f[_0x29e6e0]&0xf8)===0xf0){if(_0x29e6e0+0x3>=_0x20baac||(_0x20386f[_0x29e6e0+0x1]&0xc0)!==0x80||(_0x20386f[_0x29e6e0+0x2]&0xc0)!==0x80||(_0x20386f[_0x29e6e0+0x3]&0xc0)!==0x80||_0x20386f[_0x29e6e0]===0xf0&&(_0x20386f[_0x29e6e0+0x1]&0xf0)===0x80||_0x20386f[_0x29e6e0]===0xf4&&_0x20386f[_0x29e6e0+0x1]>0x8f||_0x20386f[_0x29e6e0]>0xf4)return!0x1;_0x29e6e0+=0x4;}else return!0x1;}}}return!0x0;}function _0x4503b0(_0x20e133){const _0x3a2e91=_0x162b07;return _0x2b8053&&typeof _0x20e133==_0x3a2e91(0x1ff)&&typeof _0x20e133[_0x3a2e91(0x122)]==_0x3a2e91(0x129)&&typeof _0x20e133[_0x3a2e91(0x178)]==_0x3a2e91(0x1cc)&&typeof _0x20e133[_0x3a2e91(0x17a)]==_0x3a2e91(0x129)&&(_0x20e133[Symbol[_0x3a2e91(0x1c0)]]===_0x3a2e91(0x27a)||_0x20e133[Symbol[_0x3a2e91(0x1c0)]]===_0x3a2e91(0x270));}if(ie[_0x162b07(0x211)]={'isBlob':_0x4503b0,'isValidStatusCode':_0x445469,'isValidUTF8':_0xee8afc,'tokenChars':_0x3f9172},_0x4675a4)ie['exports'][_0x162b07(0x102)]=function(_0x6bc5ef){const _0x5b82da=_0x162b07;return _0x6bc5ef[_0x5b82da(0x1bc)]<0x18?_0xee8afc(_0x6bc5ef):_0x4675a4(_0x6bc5ef);};else{if(!process[_0x162b07(0x281)][_0x162b07(0x207)])try{const _0x50fe1a=Bt;ie[_0x162b07(0x211)][_0x162b07(0x102)]=function(_0x4d5684){const _0x5aa2f0=_0x162b07;return _0x4d5684[_0x5aa2f0(0x1bc)]<0x20?_0xee8afc(_0x4d5684):_0x50fe1a(_0x4d5684);};}catch{}}return ie[_0x162b07(0x211)];}var Se,Ke;function lt(){const _0x33f09b=_0x2f0501;if(Ke)return Se;Ke=0x1;const {Writable:_0xa098a3}=oe,_0x5c5104=he(),{BINARY_TYPES:_0x5dc000,EMPTY_BUFFER:_0x1f9dcf,kStatusCode:_0x4a3e38,kWebSocket:_0x2ca2d4}=H(),{concat:_0xf11b3,toArrayBuffer:_0x23a127,unmask:_0x30c4a0}=ce(),{isValidStatusCode:_0xea84ab,isValidUTF8:_0x107d86}=ae(),_0x439e3d=Buffer[Symbol['species']],_0x40f9f4=0x0,_0x2f417f=0x1,_0x5d9b9a=0x2,_0x1149da=0x3,_0x1b40c8=0x4,_0x4eda6b=0x5,_0x2fa971=0x6;class _0x3e13e5 extends _0xa098a3{constructor(_0x4bc8d6={}){const _0x3ff89d=_0x2a43;super(),this[_0x3ff89d(0x25d)]=_0x4bc8d6['allowSynchronousEvents']!==void 0x0?_0x4bc8d6[_0x3ff89d(0x15a)]:!0x0,this[_0x3ff89d(0x253)]=_0x4bc8d6[_0x3ff89d(0x23b)]||_0x5dc000[0x0],this[_0x3ff89d(0x203)]=_0x4bc8d6[_0x3ff89d(0x1e1)]||{},this[_0x3ff89d(0x2b9)]=!!_0x4bc8d6[_0x3ff89d(0x2ac)],this[_0x3ff89d(0x2af)]=_0x4bc8d6[_0x3ff89d(0x1e7)]|0x0,this[_0x3ff89d(0x172)]=!!_0x4bc8d6['skipUTF8Validation'],this[_0x2ca2d4]=void 0x0,this['_bufferedBytes']=0x0,this[_0x3ff89d(0x2ab)]=[],this['_compressed']=!0x1,this[_0x3ff89d(0x21d)]=0x0,this[_0x3ff89d(0x110)]=void 0x0,this[_0x3ff89d(0x1eb)]=0x0,this[_0x3ff89d(0x155)]=!0x1,this['_fin']=!0x1,this[_0x3ff89d(0x23f)]=0x0,this[_0x3ff89d(0x176)]=0x0,this[_0x3ff89d(0x245)]=0x0,this[_0x3ff89d(0x225)]=[],this['_errored']=!0x1,this[_0x3ff89d(0x1f3)]=!0x1,this['_state']=_0x40f9f4;}[_0x33f09b(0x1ce)](_0x12b2fd,_0x4f7aa8,_0x340d83){const _0x53f7e4=_0x33f09b;if(this[_0x53f7e4(0x23f)]===0x8&&this[_0x53f7e4(0x230)]==_0x40f9f4)return _0x340d83();this[_0x53f7e4(0x199)]+=_0x12b2fd[_0x53f7e4(0x1bc)],this[_0x53f7e4(0x2ab)]['push'](_0x12b2fd),this[_0x53f7e4(0x234)](_0x340d83);}[_0x33f09b(0x278)](_0x3c123a){const _0x135fb1=_0x33f09b;if(this['_bufferedBytes']-=_0x3c123a,_0x3c123a===this[_0x135fb1(0x2ab)][0x0][_0x135fb1(0x1bc)])return this[_0x135fb1(0x2ab)]['shift']();if(_0x3c123a<this[_0x135fb1(0x2ab)][0x0][_0x135fb1(0x1bc)]){const _0x5d97de=this[_0x135fb1(0x2ab)][0x0];return this[_0x135fb1(0x2ab)][0x0]=new _0x439e3d(_0x5d97de[_0x135fb1(0x218)],_0x5d97de[_0x135fb1(0x1e9)]+_0x3c123a,_0x5d97de[_0x135fb1(0x1bc)]-_0x3c123a),new _0x439e3d(_0x5d97de[_0x135fb1(0x218)],_0x5d97de[_0x135fb1(0x1e9)],_0x3c123a);}const _0x34622e=Buffer[_0x135fb1(0x1f4)](_0x3c123a);do{const _0x4f59a3=this[_0x135fb1(0x2ab)][0x0],_0x59c71b=_0x34622e[_0x135fb1(0x1bc)]-_0x3c123a;_0x3c123a>=_0x4f59a3[_0x135fb1(0x1bc)]?_0x34622e['set'](this[_0x135fb1(0x2ab)][_0x135fb1(0x174)](),_0x59c71b):(_0x34622e[_0x135fb1(0x1d1)](new Uint8Array(_0x4f59a3[_0x135fb1(0x218)],_0x4f59a3[_0x135fb1(0x1e9)],_0x3c123a),_0x59c71b),this['_buffers'][0x0]=new _0x439e3d(_0x4f59a3['buffer'],_0x4f59a3[_0x135fb1(0x1e9)]+_0x3c123a,_0x4f59a3['length']-_0x3c123a)),_0x3c123a-=_0x4f59a3['length'];}while(_0x3c123a>0x0);return _0x34622e;}['startLoop'](_0xf81a8e){const _0x5ab6a0=_0x33f09b;this[_0x5ab6a0(0x1f3)]=!0x0;do switch(this[_0x5ab6a0(0x230)]){case _0x40f9f4:this['getInfo'](_0xf81a8e);break;case _0x2f417f:this[_0x5ab6a0(0x16f)](_0xf81a8e);break;case _0x5d9b9a:this[_0x5ab6a0(0x11f)](_0xf81a8e);break;case _0x1149da:this[_0x5ab6a0(0x287)]();break;case _0x1b40c8:this['getData'](_0xf81a8e);break;case _0x4eda6b:case _0x2fa971:this['_loop']=!0x1;return;}while(this[_0x5ab6a0(0x1f3)]);this[_0x5ab6a0(0x1e3)]||_0xf81a8e();}['getInfo'](_0x40a32e){const _0x1739eb=_0x33f09b;if(this[_0x1739eb(0x199)]<0x2){this[_0x1739eb(0x1f3)]=!0x1;return;}const _0x536cf1=this[_0x1739eb(0x278)](0x2);if((_0x536cf1[0x0]&0x30)!==0x0){const _0x20d1bb=this[_0x1739eb(0x285)](RangeError,_0x1739eb(0x1b3),!0x0,0x3ea,_0x1739eb(0x12c));_0x40a32e(_0x20d1bb);return;}const _0xb109c2=(_0x536cf1[0x0]&0x40)===0x40;if(_0xb109c2&&!this[_0x1739eb(0x203)][_0x5c5104[_0x1739eb(0x157)]]){const _0x2e2e84=this[_0x1739eb(0x285)](RangeError,_0x1739eb(0x1b0),!0x0,0x3ea,_0x1739eb(0x233));_0x40a32e(_0x2e2e84);return;}if(this['_fin']=(_0x536cf1[0x0]&0x80)===0x80,this['_opcode']=_0x536cf1[0x0]&0xf,this[_0x1739eb(0x21d)]=_0x536cf1[0x1]&0x7f,this[_0x1739eb(0x23f)]===0x0){if(_0xb109c2){const _0x460a38=this[_0x1739eb(0x285)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x40a32e(_0x460a38);return;}if(!this[_0x1739eb(0x1eb)]){const _0x5d32b8=this[_0x1739eb(0x285)](RangeError,_0x1739eb(0xff),!0x0,0x3ea,_0x1739eb(0x19b));_0x40a32e(_0x5d32b8);return;}this[_0x1739eb(0x23f)]=this[_0x1739eb(0x1eb)];}else{if(this[_0x1739eb(0x23f)]===0x1||this[_0x1739eb(0x23f)]===0x2){if(this[_0x1739eb(0x1eb)]){const _0x52358b=this[_0x1739eb(0x285)](RangeError,'invalid\x20opcode\x20'+this[_0x1739eb(0x23f)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x40a32e(_0x52358b);return;}this[_0x1739eb(0x24f)]=_0xb109c2;}else{if(this['_opcode']>0x7&&this[_0x1739eb(0x23f)]<0xb){if(!this[_0x1739eb(0x297)]){const _0x5ef0a0=this[_0x1739eb(0x285)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x1739eb(0x282));_0x40a32e(_0x5ef0a0);return;}if(_0xb109c2){const _0x494202=this['createError'](RangeError,_0x1739eb(0x1b0),!0x0,0x3ea,_0x1739eb(0x233));_0x40a32e(_0x494202);return;}if(this['_payloadLength']>0x7d||this[_0x1739eb(0x23f)]===0x8&&this[_0x1739eb(0x21d)]===0x1){const _0x57a8d5=this[_0x1739eb(0x285)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x1739eb(0x21d)],!0x0,0x3ea,_0x1739eb(0x1b8));_0x40a32e(_0x57a8d5);return;}}else{const _0x42b535=this[_0x1739eb(0x285)](RangeError,_0x1739eb(0x137)+this[_0x1739eb(0x23f)],!0x0,0x3ea,_0x1739eb(0x19b));_0x40a32e(_0x42b535);return;}}}if(!this[_0x1739eb(0x297)]&&!this[_0x1739eb(0x1eb)]&&(this[_0x1739eb(0x1eb)]=this[_0x1739eb(0x23f)]),this[_0x1739eb(0x155)]=(_0x536cf1[0x1]&0x80)===0x80,this[_0x1739eb(0x2b9)]){if(!this['_masked']){const _0x31729a=this[_0x1739eb(0x285)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x1739eb(0x240));_0x40a32e(_0x31729a);return;}}else{if(this[_0x1739eb(0x155)]){const _0x5deaef=this[_0x1739eb(0x285)](RangeError,_0x1739eb(0x277),!0x0,0x3ea,_0x1739eb(0x28d));_0x40a32e(_0x5deaef);return;}}this[_0x1739eb(0x21d)]===0x7e?this[_0x1739eb(0x230)]=_0x2f417f:this[_0x1739eb(0x21d)]===0x7f?this[_0x1739eb(0x230)]=_0x5d9b9a:this[_0x1739eb(0xfe)](_0x40a32e);}[_0x33f09b(0x16f)](_0x42f29c){const _0x33c0bb=_0x33f09b;if(this[_0x33c0bb(0x199)]<0x2){this['_loop']=!0x1;return;}this[_0x33c0bb(0x21d)]=this[_0x33c0bb(0x278)](0x2)[_0x33c0bb(0x10f)](0x0),this[_0x33c0bb(0xfe)](_0x42f29c);}[_0x33f09b(0x11f)](_0x9b94a9){const _0xbcae0d=_0x33f09b;if(this[_0xbcae0d(0x199)]<0x8){this['_loop']=!0x1;return;}const _0x2bbc52=this[_0xbcae0d(0x278)](0x8),_0x8c67c4=_0x2bbc52['readUInt32BE'](0x0);if(_0x8c67c4>Math[_0xbcae0d(0x213)](0x2,0x15)-0x1){const _0x796d3e=this[_0xbcae0d(0x285)](RangeError,_0xbcae0d(0x1fb),!0x1,0x3f1,_0xbcae0d(0x168));_0x9b94a9(_0x796d3e);return;}this[_0xbcae0d(0x21d)]=_0x8c67c4*Math[_0xbcae0d(0x213)](0x2,0x20)+_0x2bbc52[_0xbcae0d(0x1c1)](0x4),this[_0xbcae0d(0xfe)](_0x9b94a9);}[_0x33f09b(0xfe)](_0x55f754){const _0x3fb247=_0x33f09b;if(this[_0x3fb247(0x21d)]&&this[_0x3fb247(0x23f)]<0x8&&(this[_0x3fb247(0x176)]+=this[_0x3fb247(0x21d)],this[_0x3fb247(0x176)]>this[_0x3fb247(0x2af)]&&this[_0x3fb247(0x2af)]>0x0)){const _0x2aab59=this[_0x3fb247(0x285)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x3fb247(0x21b));_0x55f754(_0x2aab59);return;}this[_0x3fb247(0x155)]?this[_0x3fb247(0x230)]=_0x1149da:this[_0x3fb247(0x230)]=_0x1b40c8;}[_0x33f09b(0x287)](){const _0xb2fdb6=_0x33f09b;if(this['_bufferedBytes']<0x4){this[_0xb2fdb6(0x1f3)]=!0x1;return;}this[_0xb2fdb6(0x110)]=this[_0xb2fdb6(0x278)](0x4),this['_state']=_0x1b40c8;}[_0x33f09b(0x238)](_0x2f48df){const _0x39397b=_0x33f09b;let _0x329f93=_0x1f9dcf;if(this[_0x39397b(0x21d)]){if(this[_0x39397b(0x199)]<this[_0x39397b(0x21d)]){this['_loop']=!0x1;return;}_0x329f93=this[_0x39397b(0x278)](this[_0x39397b(0x21d)]),this[_0x39397b(0x155)]&&(this[_0x39397b(0x110)][0x0]|this[_0x39397b(0x110)][0x1]|this[_0x39397b(0x110)][0x2]|this[_0x39397b(0x110)][0x3])!==0x0&&_0x30c4a0(_0x329f93,this[_0x39397b(0x110)]);}if(this[_0x39397b(0x23f)]>0x7){this[_0x39397b(0x220)](_0x329f93,_0x2f48df);return;}if(this[_0x39397b(0x24f)]){this['_state']=_0x4eda6b,this[_0x39397b(0x152)](_0x329f93,_0x2f48df);return;}_0x329f93[_0x39397b(0x1bc)]&&(this[_0x39397b(0x245)]=this[_0x39397b(0x176)],this[_0x39397b(0x225)][_0x39397b(0x1b1)](_0x329f93)),this[_0x39397b(0x271)](_0x2f48df);}[_0x33f09b(0x152)](_0x3d9a1b,_0xf9a204){const _0x2e4a4c=_0x33f09b;this[_0x2e4a4c(0x203)][_0x5c5104[_0x2e4a4c(0x157)]][_0x2e4a4c(0x152)](_0x3d9a1b,this['_fin'],(_0x1a2ef4,_0x2de63b)=>{const _0x3a0bba=_0x2e4a4c;if(_0x1a2ef4)return _0xf9a204(_0x1a2ef4);if(_0x2de63b[_0x3a0bba(0x1bc)]){if(this[_0x3a0bba(0x245)]+=_0x2de63b[_0x3a0bba(0x1bc)],this['_messageLength']>this[_0x3a0bba(0x2af)]&&this[_0x3a0bba(0x2af)]>0x0){const _0x4c566a=this[_0x3a0bba(0x285)](RangeError,_0x3a0bba(0xf9),!0x1,0x3f1,_0x3a0bba(0x21b));_0xf9a204(_0x4c566a);return;}this[_0x3a0bba(0x225)][_0x3a0bba(0x1b1)](_0x2de63b);}this[_0x3a0bba(0x271)](_0xf9a204),this[_0x3a0bba(0x230)]===_0x40f9f4&&this['startLoop'](_0xf9a204);});}[_0x33f09b(0x271)](_0x29c4eb){const _0x24789a=_0x33f09b;if(!this[_0x24789a(0x297)]){this[_0x24789a(0x230)]=_0x40f9f4;return;}const _0x4a8839=this[_0x24789a(0x245)],_0x44b266=this[_0x24789a(0x225)];if(this[_0x24789a(0x176)]=0x0,this[_0x24789a(0x245)]=0x0,this[_0x24789a(0x1eb)]=0x0,this[_0x24789a(0x225)]=[],this[_0x24789a(0x23f)]===0x2){let _0x2ba5af;this['_binaryType']===_0x24789a(0x28b)?_0x2ba5af=_0xf11b3(_0x44b266,_0x4a8839):this['_binaryType']==='arraybuffer'?_0x2ba5af=_0x23a127(_0xf11b3(_0x44b266,_0x4a8839)):this[_0x24789a(0x253)]===_0x24789a(0x26a)?_0x2ba5af=new Blob(_0x44b266):_0x2ba5af=_0x44b266,this[_0x24789a(0x25d)]?(this[_0x24789a(0x1bf)](_0x24789a(0x223),_0x2ba5af,!0x0),this['_state']=_0x40f9f4):(this['_state']=_0x2fa971,setImmediate(()=>{const _0x5223de=_0x24789a;this['emit'](_0x5223de(0x223),_0x2ba5af,!0x0),this[_0x5223de(0x230)]=_0x40f9f4,this[_0x5223de(0x234)](_0x29c4eb);}));}else{const _0x1bc604=_0xf11b3(_0x44b266,_0x4a8839);if(!this[_0x24789a(0x172)]&&!_0x107d86(_0x1bc604)){const _0x599cc8=this[_0x24789a(0x285)](Error,_0x24789a(0x15b),!0x0,0x3ef,_0x24789a(0x1ae));_0x29c4eb(_0x599cc8);return;}this['_state']===_0x4eda6b||this[_0x24789a(0x25d)]?(this[_0x24789a(0x1bf)](_0x24789a(0x223),_0x1bc604,!0x1),this[_0x24789a(0x230)]=_0x40f9f4):(this[_0x24789a(0x230)]=_0x2fa971,setImmediate(()=>{const _0x14905c=_0x24789a;this[_0x14905c(0x1bf)](_0x14905c(0x223),_0x1bc604,!0x1),this[_0x14905c(0x230)]=_0x40f9f4,this[_0x14905c(0x234)](_0x29c4eb);}));}}[_0x33f09b(0x220)](_0x1573a2,_0x1a6479){const _0x1e51c6=_0x33f09b;if(this['_opcode']===0x8){if(_0x1573a2['length']===0x0)this[_0x1e51c6(0x1f3)]=!0x1,this[_0x1e51c6(0x1bf)](_0x1e51c6(0x128),0x3ed,_0x1f9dcf),this['end']();else{const _0x3982f8=_0x1573a2[_0x1e51c6(0x10f)](0x0);if(!_0xea84ab(_0x3982f8)){const _0x2fac63=this['createError'](RangeError,_0x1e51c6(0x22f)+_0x3982f8,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x1a6479(_0x2fac63);return;}const _0x1f7fd8=new _0x439e3d(_0x1573a2[_0x1e51c6(0x218)],_0x1573a2[_0x1e51c6(0x1e9)]+0x2,_0x1573a2[_0x1e51c6(0x1bc)]-0x2);if(!this[_0x1e51c6(0x172)]&&!_0x107d86(_0x1f7fd8)){const _0x204507=this['createError'](Error,_0x1e51c6(0x15b),!0x0,0x3ef,_0x1e51c6(0x1ae));_0x1a6479(_0x204507);return;}this[_0x1e51c6(0x1f3)]=!0x1,this[_0x1e51c6(0x1bf)](_0x1e51c6(0x128),_0x3982f8,_0x1f7fd8),this['end']();}this[_0x1e51c6(0x230)]=_0x40f9f4;return;}this[_0x1e51c6(0x25d)]?(this[_0x1e51c6(0x1bf)](this[_0x1e51c6(0x23f)]===0x9?_0x1e51c6(0x248):'pong',_0x1573a2),this[_0x1e51c6(0x230)]=_0x40f9f4):(this['_state']=_0x2fa971,setImmediate(()=>{const _0x440923=_0x1e51c6;this[_0x440923(0x1bf)](this[_0x440923(0x23f)]===0x9?_0x440923(0x248):_0x440923(0x2b4),_0x1573a2),this[_0x440923(0x230)]=_0x40f9f4,this[_0x440923(0x234)](_0x1a6479);}));}['createError'](_0x102921,_0x512cd4,_0x522a59,_0x293069,_0x149047){const _0x4078ba=_0x33f09b;this[_0x4078ba(0x1f3)]=!0x1,this[_0x4078ba(0x1e3)]=!0x0;const _0x4686ec=new _0x102921(_0x522a59?_0x4078ba(0x130)+_0x512cd4:_0x512cd4);return Error['captureStackTrace'](_0x4686ec,this[_0x4078ba(0x285)]),_0x4686ec['code']=_0x149047,_0x4686ec[_0x4a3e38]=_0x293069,_0x4686ec;}}return Se=_0x3e13e5,Se;}var Ee,Xe;function ft(){const _0x3b20e5=_0x2f0501;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x4f1635}=oe,{randomFillSync:_0x2c41cc}=Le,_0xa6005=he(),{EMPTY_BUFFER:_0x3b5c98,kWebSocket:_0x38be62,NOOP:_0x377e3d}=H(),{isBlob:_0x492332,isValidStatusCode:_0x5cbb3b}=ae(),{mask:_0x357a19,toBuffer:_0x2d0534}=ce(),_0x5b556f=Symbol(_0x3b20e5(0x139)),_0x34aaf2=Buffer[_0x3b20e5(0x1a6)](0x4),_0x53cb06=0x8*0x400;let _0x480f82,_0x335bd2=_0x53cb06;const _0x4fc424=0x0,_0x3059cf=0x1,_0x2305f4=0x2;class _0x278375{constructor(_0x8d46cc,_0x1e5c81,_0x4ac1c4){const _0x571db6=_0x3b20e5;this[_0x571db6(0x203)]=_0x1e5c81||{},_0x4ac1c4&&(this['_generateMask']=_0x4ac1c4,this[_0x571db6(0x15f)]=Buffer[_0x571db6(0x1a6)](0x4)),this['_socket']=_0x8d46cc,this[_0x571db6(0x2a6)]=!0x0,this[_0x571db6(0x170)]=!0x1,this[_0x571db6(0x199)]=0x0,this[_0x571db6(0x19a)]=[],this[_0x571db6(0x230)]=_0x4fc424,this['onerror']=_0x377e3d,this[_0x38be62]=void 0x0;}static[_0x3b20e5(0x1e2)](_0x4b1809,_0x6a3872){const _0x90046c=_0x3b20e5;let _0x34223e,_0x4c822c=!0x1,_0x3438d3=0x2,_0x36967a=!0x1;_0x6a3872['mask']&&(_0x34223e=_0x6a3872[_0x90046c(0x1ec)]||_0x34aaf2,_0x6a3872[_0x90046c(0x2aa)]?_0x6a3872[_0x90046c(0x2aa)](_0x34223e):(_0x335bd2===_0x53cb06&&(_0x480f82===void 0x0&&(_0x480f82=Buffer[_0x90046c(0x1a6)](_0x53cb06)),_0x2c41cc(_0x480f82,0x0,_0x53cb06),_0x335bd2=0x0),_0x34223e[0x0]=_0x480f82[_0x335bd2++],_0x34223e[0x1]=_0x480f82[_0x335bd2++],_0x34223e[0x2]=_0x480f82[_0x335bd2++],_0x34223e[0x3]=_0x480f82[_0x335bd2++]),_0x36967a=(_0x34223e[0x0]|_0x34223e[0x1]|_0x34223e[0x2]|_0x34223e[0x3])===0x0,_0x3438d3=0x6);let _0x8a3fa4;typeof _0x4b1809==_0x90046c(0x1cc)?(!_0x6a3872[_0x90046c(0x272)]||_0x36967a)&&_0x6a3872[_0x5b556f]!==void 0x0?_0x8a3fa4=_0x6a3872[_0x5b556f]:(_0x4b1809=Buffer[_0x90046c(0x153)](_0x4b1809),_0x8a3fa4=_0x4b1809[_0x90046c(0x1bc)]):(_0x8a3fa4=_0x4b1809[_0x90046c(0x1bc)],_0x4c822c=_0x6a3872[_0x90046c(0x272)]&&_0x6a3872[_0x90046c(0x184)]&&!_0x36967a);let _0xe79839=_0x8a3fa4;_0x8a3fa4>=0x10000?(_0x3438d3+=0x8,_0xe79839=0x7f):_0x8a3fa4>0x7d&&(_0x3438d3+=0x2,_0xe79839=0x7e);const _0x393809=Buffer[_0x90046c(0x1f4)](_0x4c822c?_0x8a3fa4+_0x3438d3:_0x3438d3);return _0x393809[0x0]=_0x6a3872[_0x90046c(0x20f)]?_0x6a3872['opcode']|0x80:_0x6a3872[_0x90046c(0x169)],_0x6a3872[_0x90046c(0x250)]&&(_0x393809[0x0]|=0x40),_0x393809[0x1]=_0xe79839,_0xe79839===0x7e?_0x393809[_0x90046c(0x187)](_0x8a3fa4,0x2):_0xe79839===0x7f&&(_0x393809[0x2]=_0x393809[0x3]=0x0,_0x393809[_0x90046c(0x101)](_0x8a3fa4,0x4,0x6)),_0x6a3872[_0x90046c(0x272)]?(_0x393809[0x1]|=0x80,_0x393809[_0x3438d3-0x4]=_0x34223e[0x0],_0x393809[_0x3438d3-0x3]=_0x34223e[0x1],_0x393809[_0x3438d3-0x2]=_0x34223e[0x2],_0x393809[_0x3438d3-0x1]=_0x34223e[0x3],_0x36967a?[_0x393809,_0x4b1809]:_0x4c822c?(_0x357a19(_0x4b1809,_0x34223e,_0x393809,_0x3438d3,_0x8a3fa4),[_0x393809]):(_0x357a19(_0x4b1809,_0x34223e,_0x4b1809,0x0,_0x8a3fa4),[_0x393809,_0x4b1809])):[_0x393809,_0x4b1809];}[_0x3b20e5(0x197)](_0x486327,_0x497c29,_0x352799,_0x584ef1){const _0x3ca3d6=_0x3b20e5;let _0x484343;if(_0x486327===void 0x0)_0x484343=_0x3b5c98;else{if(typeof _0x486327!=_0x3ca3d6(0x22a)||!_0x5cbb3b(_0x486327))throw new TypeError(_0x3ca3d6(0xfd));if(_0x497c29===void 0x0||!_0x497c29[_0x3ca3d6(0x1bc)])_0x484343=Buffer[_0x3ca3d6(0x1f4)](0x2),_0x484343[_0x3ca3d6(0x187)](_0x486327,0x0);else{const _0x30ecdd=Buffer[_0x3ca3d6(0x188)](_0x497c29);if(_0x30ecdd>0x7b)throw new RangeError(_0x3ca3d6(0x18d));_0x484343=Buffer[_0x3ca3d6(0x1f4)](0x2+_0x30ecdd),_0x484343[_0x3ca3d6(0x187)](_0x486327,0x0),typeof _0x497c29==_0x3ca3d6(0x1cc)?_0x484343[_0x3ca3d6(0x165)](_0x497c29,0x2):_0x484343['set'](_0x497c29,0x2);}}const _0x3ac751={[_0x5b556f]:_0x484343['length'],'fin':!0x0,'generateMask':this[_0x3ca3d6(0x1d6)],'mask':_0x352799,'maskBuffer':this[_0x3ca3d6(0x15f)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x3ca3d6(0x230)]!==_0x4fc424?this[_0x3ca3d6(0x114)]([this[_0x3ca3d6(0x210)],_0x484343,!0x1,_0x3ac751,_0x584ef1]):this[_0x3ca3d6(0x10a)](_0x278375['frame'](_0x484343,_0x3ac751),_0x584ef1);}[_0x3b20e5(0x248)](_0xa141db,_0x41b4c7,_0x47727e){const _0x55e030=_0x3b20e5;let _0x1e9bb7,_0x4386d3;if(typeof _0xa141db==_0x55e030(0x1cc)?(_0x1e9bb7=Buffer[_0x55e030(0x188)](_0xa141db),_0x4386d3=!0x1):_0x492332(_0xa141db)?(_0x1e9bb7=_0xa141db['size'],_0x4386d3=!0x1):(_0xa141db=_0x2d0534(_0xa141db),_0x1e9bb7=_0xa141db[_0x55e030(0x1bc)],_0x4386d3=_0x2d0534[_0x55e030(0x184)]),_0x1e9bb7>0x7d)throw new RangeError(_0x55e030(0x26e));const _0x40cb68={[_0x5b556f]:_0x1e9bb7,'fin':!0x0,'generateMask':this[_0x55e030(0x1d6)],'mask':_0x41b4c7,'maskBuffer':this[_0x55e030(0x15f)],'opcode':0x9,'readOnly':_0x4386d3,'rsv1':!0x1};_0x492332(_0xa141db)?this[_0x55e030(0x230)]!==_0x4fc424?this[_0x55e030(0x114)]([this[_0x55e030(0x18c)],_0xa141db,!0x1,_0x40cb68,_0x47727e]):this[_0x55e030(0x18c)](_0xa141db,!0x1,_0x40cb68,_0x47727e):this['_state']!==_0x4fc424?this['enqueue']([this['dispatch'],_0xa141db,!0x1,_0x40cb68,_0x47727e]):this[_0x55e030(0x10a)](_0x278375[_0x55e030(0x1e2)](_0xa141db,_0x40cb68),_0x47727e);}['pong'](_0x939048,_0x5b40fa,_0x10f4af){const _0x149e12=_0x3b20e5;let _0x240038,_0x56ba91;if(typeof _0x939048=='string'?(_0x240038=Buffer[_0x149e12(0x188)](_0x939048),_0x56ba91=!0x1):_0x492332(_0x939048)?(_0x240038=_0x939048[_0x149e12(0x2b5)],_0x56ba91=!0x1):(_0x939048=_0x2d0534(_0x939048),_0x240038=_0x939048[_0x149e12(0x1bc)],_0x56ba91=_0x2d0534['readOnly']),_0x240038>0x7d)throw new RangeError(_0x149e12(0x26e));const _0x36e418={[_0x5b556f]:_0x240038,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5b40fa,'maskBuffer':this[_0x149e12(0x15f)],'opcode':0xa,'readOnly':_0x56ba91,'rsv1':!0x1};_0x492332(_0x939048)?this[_0x149e12(0x230)]!==_0x4fc424?this[_0x149e12(0x114)]([this[_0x149e12(0x18c)],_0x939048,!0x1,_0x36e418,_0x10f4af]):this['getBlobData'](_0x939048,!0x1,_0x36e418,_0x10f4af):this[_0x149e12(0x230)]!==_0x4fc424?this['enqueue']([this[_0x149e12(0x210)],_0x939048,!0x1,_0x36e418,_0x10f4af]):this[_0x149e12(0x10a)](_0x278375[_0x149e12(0x1e2)](_0x939048,_0x36e418),_0x10f4af);}[_0x3b20e5(0x212)](_0x16d7e6,_0x548859,_0x473232){const _0x799e3c=_0x3b20e5,_0x1db849=this[_0x799e3c(0x203)][_0xa6005[_0x799e3c(0x157)]];let _0x3b9a67=_0x548859[_0x799e3c(0x14b)]?0x2:0x1,_0x2abb93=_0x548859[_0x799e3c(0x1fe)],_0x1563dd,_0x4b3615;typeof _0x16d7e6==_0x799e3c(0x1cc)?(_0x1563dd=Buffer[_0x799e3c(0x188)](_0x16d7e6),_0x4b3615=!0x1):_0x492332(_0x16d7e6)?(_0x1563dd=_0x16d7e6[_0x799e3c(0x2b5)],_0x4b3615=!0x1):(_0x16d7e6=_0x2d0534(_0x16d7e6),_0x1563dd=_0x16d7e6[_0x799e3c(0x1bc)],_0x4b3615=_0x2d0534[_0x799e3c(0x184)]),this[_0x799e3c(0x2a6)]?(this[_0x799e3c(0x2a6)]=!0x1,_0x2abb93&&_0x1db849&&_0x1db849['params'][_0x1db849[_0x799e3c(0x2b9)]?'server_no_context_takeover':'client_no_context_takeover']&&(_0x2abb93=_0x1563dd>=_0x1db849[_0x799e3c(0x1b9)]),this[_0x799e3c(0x170)]=_0x2abb93):(_0x2abb93=!0x1,_0x3b9a67=0x0),_0x548859['fin']&&(this['_firstFragment']=!0x0);const _0x3879ab={[_0x5b556f]:_0x1563dd,'fin':_0x548859[_0x799e3c(0x20f)],'generateMask':this['_generateMask'],'mask':_0x548859['mask'],'maskBuffer':this[_0x799e3c(0x15f)],'opcode':_0x3b9a67,'readOnly':_0x4b3615,'rsv1':_0x2abb93};_0x492332(_0x16d7e6)?this[_0x799e3c(0x230)]!==_0x4fc424?this[_0x799e3c(0x114)]([this[_0x799e3c(0x18c)],_0x16d7e6,this[_0x799e3c(0x170)],_0x3879ab,_0x473232]):this['getBlobData'](_0x16d7e6,this[_0x799e3c(0x170)],_0x3879ab,_0x473232):this[_0x799e3c(0x230)]!==_0x4fc424?this['enqueue']([this[_0x799e3c(0x210)],_0x16d7e6,this['_compress'],_0x3879ab,_0x473232]):this['dispatch'](_0x16d7e6,this[_0x799e3c(0x170)],_0x3879ab,_0x473232);}[_0x3b20e5(0x18c)](_0x4c3806,_0x591d00,_0x52f9f2,_0x2853c3){const _0x43ae01=_0x3b20e5;this[_0x43ae01(0x199)]+=_0x52f9f2[_0x5b556f],this[_0x43ae01(0x230)]=_0x2305f4,_0x4c3806['arrayBuffer']()[_0x43ae01(0x291)](_0x382347=>{const _0x1aa26c=_0x43ae01;if(this[_0x1aa26c(0xf8)][_0x1aa26c(0x185)]){const _0xdeb9d=new Error(_0x1aa26c(0x2ce));process[_0x1aa26c(0x1b7)](_0x323b35,this,_0xdeb9d,_0x2853c3);return;}this[_0x1aa26c(0x199)]-=_0x52f9f2[_0x5b556f];const _0x1b53b1=_0x2d0534(_0x382347);_0x591d00?this[_0x1aa26c(0x210)](_0x1b53b1,_0x591d00,_0x52f9f2,_0x2853c3):(this['_state']=_0x4fc424,this[_0x1aa26c(0x10a)](_0x278375[_0x1aa26c(0x1e2)](_0x1b53b1,_0x52f9f2),_0x2853c3),this[_0x1aa26c(0x16b)]());})[_0x43ae01(0x28c)](_0x1a9a20=>{process['nextTick'](_0x3cfb03,this,_0x1a9a20,_0x2853c3);});}[_0x3b20e5(0x210)](_0x539473,_0x3b026f,_0x34430b,_0x30fb74){const _0x477a96=_0x3b20e5;if(!_0x3b026f){this[_0x477a96(0x10a)](_0x278375[_0x477a96(0x1e2)](_0x539473,_0x34430b),_0x30fb74);return;}const _0x569ac5=this[_0x477a96(0x203)][_0xa6005[_0x477a96(0x157)]];this[_0x477a96(0x199)]+=_0x34430b[_0x5b556f],this[_0x477a96(0x230)]=_0x3059cf,_0x569ac5[_0x477a96(0x1fe)](_0x539473,_0x34430b[_0x477a96(0x20f)],(_0x29ad4f,_0x9296ec)=>{const _0x4cd586=_0x477a96;if(this[_0x4cd586(0xf8)][_0x4cd586(0x185)]){const _0x3f6241=new Error(_0x4cd586(0x191));_0x323b35(this,_0x3f6241,_0x30fb74);return;}this[_0x4cd586(0x199)]-=_0x34430b[_0x5b556f],this[_0x4cd586(0x230)]=_0x4fc424,_0x34430b['readOnly']=!0x1,this[_0x4cd586(0x10a)](_0x278375[_0x4cd586(0x1e2)](_0x9296ec,_0x34430b),_0x30fb74),this[_0x4cd586(0x16b)]();});}[_0x3b20e5(0x16b)](){const _0x1eb72c=_0x3b20e5;for(;this[_0x1eb72c(0x230)]===_0x4fc424&&this[_0x1eb72c(0x19a)][_0x1eb72c(0x1bc)];){const _0x7e1394=this[_0x1eb72c(0x19a)]['shift']();this[_0x1eb72c(0x199)]-=_0x7e1394[0x3][_0x5b556f],Reflect['apply'](_0x7e1394[0x0],this,_0x7e1394[_0x1eb72c(0x22c)](0x1));}}[_0x3b20e5(0x114)](_0x5bc6f0){this['_bufferedBytes']+=_0x5bc6f0[0x3][_0x5b556f],this['_queue']['push'](_0x5bc6f0);}[_0x3b20e5(0x10a)](_0x42258e,_0xe20e05){const _0x2c0191=_0x3b20e5;_0x42258e[_0x2c0191(0x1bc)]===0x2?(this[_0x2c0191(0xf8)][_0x2c0191(0x25c)](),this['_socket'][_0x2c0191(0x165)](_0x42258e[0x0]),this[_0x2c0191(0xf8)]['write'](_0x42258e[0x1],_0xe20e05),this['_socket']['uncork']()):this[_0x2c0191(0xf8)][_0x2c0191(0x165)](_0x42258e[0x0],_0xe20e05);}}Ee=_0x278375;function _0x323b35(_0x346229,_0x492e6f,_0x554091){const _0x5991f4=_0x3b20e5;typeof _0x554091==_0x5991f4(0x129)&&_0x554091(_0x492e6f);for(let _0x284aea=0x0;_0x284aea<_0x346229[_0x5991f4(0x19a)][_0x5991f4(0x1bc)];_0x284aea++){const _0x192d0c=_0x346229['_queue'][_0x284aea],_0x5622a2=_0x192d0c[_0x192d0c['length']-0x1];typeof _0x5622a2==_0x5991f4(0x129)&&_0x5622a2(_0x492e6f);}}function _0x3cfb03(_0x5459a1,_0x20ddd2,_0x4efc38){const _0x1c28ed=_0x3b20e5;_0x323b35(_0x5459a1,_0x20ddd2,_0x4efc38),_0x5459a1[_0x1c28ed(0x19d)](_0x20ddd2);}return Ee;}var xe,Ze;function It(){const _0x3232b7=_0x2f0501;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x3be886,kListener:_0x59c031}=H(),_0x3463bd=Symbol(_0x3232b7(0x123)),_0x4fdd5f=Symbol(_0x3232b7(0x2c2)),_0x9e3035=Symbol(_0x3232b7(0x140)),_0x235fab=Symbol(_0x3232b7(0x2a5)),_0x182a1a=Symbol(_0x3232b7(0x2bb)),_0x1aec6c=Symbol(_0x3232b7(0x239)),_0x128f4f=Symbol(_0x3232b7(0x175)),_0x219f55=Symbol(_0x3232b7(0x127));class _0x2dd253{constructor(_0x173e53){this[_0x1aec6c]=null,this[_0x128f4f]=_0x173e53;}get[_0x3232b7(0x17f)](){return this[_0x1aec6c];}get['type'](){return this[_0x128f4f];}}Object['defineProperty'](_0x2dd253[_0x3232b7(0x18b)],_0x3232b7(0x17f),{'enumerable':!0x0}),Object['defineProperty'](_0x2dd253['prototype'],_0x3232b7(0x178),{'enumerable':!0x0});class _0x3a6d1a extends _0x2dd253{constructor(_0x4f141c,_0x54f750={}){const _0x39cd18=_0x3232b7;super(_0x4f141c),this[_0x3463bd]=_0x54f750[_0x39cd18(0x22e)]===void 0x0?0x0:_0x54f750['code'],this[_0x182a1a]=_0x54f750[_0x39cd18(0x20d)]===void 0x0?'':_0x54f750[_0x39cd18(0x20d)],this[_0x219f55]=_0x54f750[_0x39cd18(0x2ba)]===void 0x0?!0x1:_0x54f750[_0x39cd18(0x2ba)];}get['code'](){return this[_0x3463bd];}get[_0x3232b7(0x20d)](){return this[_0x182a1a];}get[_0x3232b7(0x2ba)](){return this[_0x219f55];}}Object[_0x3232b7(0x26c)](_0x3a6d1a['prototype'],_0x3232b7(0x22e),{'enumerable':!0x0}),Object[_0x3232b7(0x26c)](_0x3a6d1a[_0x3232b7(0x18b)],_0x3232b7(0x20d),{'enumerable':!0x0}),Object[_0x3232b7(0x26c)](_0x3a6d1a[_0x3232b7(0x18b)],_0x3232b7(0x2ba),{'enumerable':!0x0});class _0x136a1b extends _0x2dd253{constructor(_0x36730a,_0x5b2564={}){const _0x59794f=_0x3232b7;super(_0x36730a),this[_0x9e3035]=_0x5b2564[_0x59794f(0x25b)]===void 0x0?null:_0x5b2564[_0x59794f(0x25b)],this[_0x235fab]=_0x5b2564[_0x59794f(0x223)]===void 0x0?'':_0x5b2564['message'];}get[_0x3232b7(0x25b)](){return this[_0x9e3035];}get['message'](){return this[_0x235fab];}}Object[_0x3232b7(0x26c)](_0x136a1b['prototype'],_0x3232b7(0x25b),{'enumerable':!0x0}),Object['defineProperty'](_0x136a1b['prototype'],_0x3232b7(0x223),{'enumerable':!0x0});class _0x8f161e extends _0x2dd253{constructor(_0x139646,_0x5a05f8={}){const _0x1198ab=_0x3232b7;super(_0x139646),this[_0x4fdd5f]=_0x5a05f8[_0x1198ab(0x10c)]===void 0x0?null:_0x5a05f8[_0x1198ab(0x10c)];}get['data'](){return this[_0x4fdd5f];}}Object['defineProperty'](_0x8f161e[_0x3232b7(0x18b)],_0x3232b7(0x10c),{'enumerable':!0x0}),xe={'CloseEvent':_0x3a6d1a,'ErrorEvent':_0x136a1b,'Event':_0x2dd253,'EventTarget':{'addEventListener'(_0x11ae4d,_0xd07957,_0x11aa3a={}){const _0x84655c=_0x3232b7;for(const _0x2adf54 of this[_0x84655c(0x1be)](_0x11ae4d))if(!_0x11aa3a[_0x3be886]&&_0x2adf54[_0x59c031]===_0xd07957&&!_0x2adf54[_0x3be886])return;let _0x3987ad;if(_0x11ae4d===_0x84655c(0x223))_0x3987ad=function(_0x3b7b48,_0x3d8b20){const _0x10a96b=_0x84655c,_0x47511d=new _0x8f161e(_0x10a96b(0x223),{'data':_0x3d8b20?_0x3b7b48:_0x3b7b48['toString']()});_0x47511d[_0x1aec6c]=this,_0x2d2e6c(_0xd07957,this,_0x47511d);};else{if(_0x11ae4d===_0x84655c(0x197))_0x3987ad=function(_0x1cba21,_0xab59c3){const _0x11de4a=_0x84655c,_0x336aeb=new _0x3a6d1a(_0x11de4a(0x197),{'code':_0x1cba21,'reason':_0xab59c3['toString'](),'wasClean':this['_closeFrameReceived']&&this['_closeFrameSent']});_0x336aeb[_0x1aec6c]=this,_0x2d2e6c(_0xd07957,this,_0x336aeb);};else{if(_0x11ae4d===_0x84655c(0x25b))_0x3987ad=function(_0x24adc2){const _0x459453=_0x84655c,_0x4832f0=new _0x136a1b(_0x459453(0x25b),{'error':_0x24adc2,'message':_0x24adc2[_0x459453(0x223)]});_0x4832f0[_0x1aec6c]=this,_0x2d2e6c(_0xd07957,this,_0x4832f0);};else{if(_0x11ae4d===_0x84655c(0x1f9))_0x3987ad=function(){const _0x3f9ab1=new _0x2dd253('open');_0x3f9ab1[_0x1aec6c]=this,_0x2d2e6c(_0xd07957,this,_0x3f9ab1);};else return;}}}_0x3987ad[_0x3be886]=!!_0x11aa3a[_0x3be886],_0x3987ad[_0x59c031]=_0xd07957,_0x11aa3a[_0x84655c(0x1c3)]?this[_0x84655c(0x1c3)](_0x11ae4d,_0x3987ad):this['on'](_0x11ae4d,_0x3987ad);},'removeEventListener'(_0x5747b0,_0x2b8e6a){const _0x59dda8=_0x3232b7;for(const _0x31db48 of this[_0x59dda8(0x1be)](_0x5747b0))if(_0x31db48[_0x59c031]===_0x2b8e6a&&!_0x31db48[_0x3be886]){this[_0x59dda8(0x135)](_0x5747b0,_0x31db48);break;}}},'MessageEvent':_0x8f161e};function _0x2d2e6c(_0x2b6dac,_0x191cea,_0x244d34){const _0x24bc5f=_0x3232b7;typeof _0x2b6dac=='object'&&_0x2b6dac['handleEvent']?_0x2b6dac[_0x24bc5f(0x20c)][_0x24bc5f(0x1d7)](_0x2b6dac,_0x244d34):_0x2b6dac[_0x24bc5f(0x1d7)](_0x191cea,_0x244d34);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x4c464d}=ae();function _0x16f7d8(_0xf6c6e8,_0x389bcc,_0x1c9352){_0xf6c6e8[_0x389bcc]===void 0x0?_0xf6c6e8[_0x389bcc]=[_0x1c9352]:_0xf6c6e8[_0x389bcc]['push'](_0x1c9352);}function _0x108f5a(_0x2dd793){const _0x10a342=_0x2a43,_0x5928cf=Object[_0x10a342(0x27b)](null);let _0x3f0e68=Object[_0x10a342(0x27b)](null),_0x4ecaac=!0x1,_0x121a32=!0x1,_0x7401cb=!0x1,_0x5a45b1,_0x589882,_0x3c53ee=-0x1,_0x4c6808=-0x1,_0xc3f13e=-0x1,_0x14e21f=0x0;for(;_0x14e21f<_0x2dd793[_0x10a342(0x1bc)];_0x14e21f++)if(_0x4c6808=_0x2dd793['charCodeAt'](_0x14e21f),_0x5a45b1===void 0x0){if(_0xc3f13e===-0x1&&_0x4c464d[_0x4c6808]===0x1)_0x3c53ee===-0x1&&(_0x3c53ee=_0x14e21f);else{if(_0x14e21f!==0x0&&(_0x4c6808===0x20||_0x4c6808===0x9))_0xc3f13e===-0x1&&_0x3c53ee!==-0x1&&(_0xc3f13e=_0x14e21f);else{if(_0x4c6808===0x3b||_0x4c6808===0x2c){if(_0x3c53ee===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x14e21f);_0xc3f13e===-0x1&&(_0xc3f13e=_0x14e21f);const _0x33a341=_0x2dd793[_0x10a342(0x22c)](_0x3c53ee,_0xc3f13e);_0x4c6808===0x2c?(_0x16f7d8(_0x5928cf,_0x33a341,_0x3f0e68),_0x3f0e68=Object[_0x10a342(0x27b)](null)):_0x5a45b1=_0x33a341,_0x3c53ee=_0xc3f13e=-0x1;}else throw new SyntaxError(_0x10a342(0x20a)+_0x14e21f);}}}else{if(_0x589882===void 0x0){if(_0xc3f13e===-0x1&&_0x4c464d[_0x4c6808]===0x1)_0x3c53ee===-0x1&&(_0x3c53ee=_0x14e21f);else{if(_0x4c6808===0x20||_0x4c6808===0x9)_0xc3f13e===-0x1&&_0x3c53ee!==-0x1&&(_0xc3f13e=_0x14e21f);else{if(_0x4c6808===0x3b||_0x4c6808===0x2c){if(_0x3c53ee===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x14e21f);_0xc3f13e===-0x1&&(_0xc3f13e=_0x14e21f),_0x16f7d8(_0x3f0e68,_0x2dd793[_0x10a342(0x22c)](_0x3c53ee,_0xc3f13e),!0x0),_0x4c6808===0x2c&&(_0x16f7d8(_0x5928cf,_0x5a45b1,_0x3f0e68),_0x3f0e68=Object[_0x10a342(0x27b)](null),_0x5a45b1=void 0x0),_0x3c53ee=_0xc3f13e=-0x1;}else{if(_0x4c6808===0x3d&&_0x3c53ee!==-0x1&&_0xc3f13e===-0x1)_0x589882=_0x2dd793[_0x10a342(0x22c)](_0x3c53ee,_0x14e21f),_0x3c53ee=_0xc3f13e=-0x1;else throw new SyntaxError(_0x10a342(0x20a)+_0x14e21f);}}}}else{if(_0x121a32){if(_0x4c464d[_0x4c6808]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x14e21f);_0x3c53ee===-0x1?_0x3c53ee=_0x14e21f:_0x4ecaac||(_0x4ecaac=!0x0),_0x121a32=!0x1;}else{if(_0x7401cb){if(_0x4c464d[_0x4c6808]===0x1)_0x3c53ee===-0x1&&(_0x3c53ee=_0x14e21f);else{if(_0x4c6808===0x22&&_0x3c53ee!==-0x1)_0x7401cb=!0x1,_0xc3f13e=_0x14e21f;else{if(_0x4c6808===0x5c)_0x121a32=!0x0;else throw new SyntaxError(_0x10a342(0x20a)+_0x14e21f);}}}else{if(_0x4c6808===0x22&&_0x2dd793[_0x10a342(0x2b0)](_0x14e21f-0x1)===0x3d)_0x7401cb=!0x0;else{if(_0xc3f13e===-0x1&&_0x4c464d[_0x4c6808]===0x1)_0x3c53ee===-0x1&&(_0x3c53ee=_0x14e21f);else{if(_0x3c53ee!==-0x1&&(_0x4c6808===0x20||_0x4c6808===0x9))_0xc3f13e===-0x1&&(_0xc3f13e=_0x14e21f);else{if(_0x4c6808===0x3b||_0x4c6808===0x2c){if(_0x3c53ee===-0x1)throw new SyntaxError(_0x10a342(0x20a)+_0x14e21f);_0xc3f13e===-0x1&&(_0xc3f13e=_0x14e21f);let _0x352e29=_0x2dd793[_0x10a342(0x22c)](_0x3c53ee,_0xc3f13e);_0x4ecaac&&(_0x352e29=_0x352e29[_0x10a342(0x164)](/\\/g,''),_0x4ecaac=!0x1),_0x16f7d8(_0x3f0e68,_0x589882,_0x352e29),_0x4c6808===0x2c&&(_0x16f7d8(_0x5928cf,_0x5a45b1,_0x3f0e68),_0x3f0e68=Object['create'](null),_0x5a45b1=void 0x0),_0x589882=void 0x0,_0x3c53ee=_0xc3f13e=-0x1;}else throw new SyntaxError(_0x10a342(0x20a)+_0x14e21f);}}}}}}}if(_0x3c53ee===-0x1||_0x7401cb||_0x4c6808===0x20||_0x4c6808===0x9)throw new SyntaxError(_0x10a342(0x21c));_0xc3f13e===-0x1&&(_0xc3f13e=_0x14e21f);const _0x116557=_0x2dd793[_0x10a342(0x22c)](_0x3c53ee,_0xc3f13e);return _0x5a45b1===void 0x0?_0x16f7d8(_0x5928cf,_0x116557,_0x3f0e68):(_0x589882===void 0x0?_0x16f7d8(_0x3f0e68,_0x116557,!0x0):_0x4ecaac?_0x16f7d8(_0x3f0e68,_0x589882,_0x116557[_0x10a342(0x164)](/\\/g,'')):_0x16f7d8(_0x3f0e68,_0x589882,_0x116557),_0x16f7d8(_0x5928cf,_0x5a45b1,_0x3f0e68)),_0x5928cf;}function _0x361028(_0x4e29c7){const _0xb550e7=_0x2a43;return Object[_0xb550e7(0x145)](_0x4e29c7)[_0xb550e7(0x14c)](_0x5703ff=>{const _0x129afa=_0xb550e7;let _0x2755f2=_0x4e29c7[_0x5703ff];return Array[_0x129afa(0x25e)](_0x2755f2)||(_0x2755f2=[_0x2755f2]),_0x2755f2[_0x129afa(0x14c)](_0x4777cb=>[_0x5703ff][_0x129afa(0x256)](Object[_0x129afa(0x145)](_0x4777cb)['map'](_0x2810b0=>{const _0x2483ac=_0x129afa;let _0x3cba01=_0x4777cb[_0x2810b0];return Array[_0x2483ac(0x25e)](_0x3cba01)||(_0x3cba01=[_0x3cba01]),_0x3cba01[_0x2483ac(0x14c)](_0x32f2f2=>_0x32f2f2===!0x0?_0x2810b0:_0x2810b0+'='+_0x32f2f2)['join'](';\x20');}))['join'](';\x20'))['join'](',\x20');})[_0xb550e7(0x106)](',\x20');}return be={'format':_0x361028,'parse':_0x108f5a},be;}var we,Je;function Pe(){const _0x337d26=_0x2f0501;if(Je)return we;Je=0x1;const _0x4f4349=nt,_0x147dca=vt,_0x3cb499=ot,_0x3a26bc=St,_0x3c7f4b=Et,{randomBytes:_0x11248a,createHash:_0x46bc73}=Le,{Duplex:_0xbb7c12,Readable:_0x2731c4}=oe,{URL:_0x11c56f}=xt,_0x178ae0=he(),_0x4ad120=lt(),_0x118589=ft(),{isBlob:_0x318ab4}=ae(),{BINARY_TYPES:_0x1ff29c,EMPTY_BUFFER:_0x32e360,GUID:_0x364be7,kForOnEventAttribute:_0x1b73bb,kListener:_0x3e237e,kStatusCode:_0x1de45e,kWebSocket:_0x79191,NOOP:_0x36a5f0}=H(),{EventTarget:{addEventListener:_0x548e68,removeEventListener:_0x4d2c3c}}=It(),{format:_0x525a03,parse:_0x2f0075}=ct(),{toBuffer:_0x15e0c1}=ce(),_0x5ba255=0x1e*0x3e8,_0x2fb96f=Symbol(_0x337d26(0x115)),_0x30de1c=[0x8,0xd],_0x3e5254=[_0x337d26(0x201),'OPEN','CLOSING',_0x337d26(0x284)],_0x46b972=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x318259 extends _0x4f4349{constructor(_0x42bcc0,_0x506ee7,_0x3581a3){const _0x4941ac=_0x337d26;super(),this[_0x4941ac(0x253)]=_0x1ff29c[0x0],this['_closeCode']=0x3ee,this[_0x4941ac(0x1c8)]=!0x1,this[_0x4941ac(0x243)]=!0x1,this[_0x4941ac(0x1ee)]=_0x32e360,this[_0x4941ac(0x288)]=null,this['_errorEmitted']=!0x1,this[_0x4941ac(0x203)]={},this[_0x4941ac(0x260)]=!0x1,this['_protocol']='',this['_readyState']=_0x318259[_0x4941ac(0x201)],this[_0x4941ac(0x23d)]=null,this[_0x4941ac(0x1d2)]=null,this[_0x4941ac(0xf8)]=null,_0x42bcc0!==null?(this[_0x4941ac(0x112)]=0x0,this[_0x4941ac(0x2b9)]=!0x1,this['_redirects']=0x0,_0x506ee7===void 0x0?_0x506ee7=[]:Array[_0x4941ac(0x25e)](_0x506ee7)||(typeof _0x506ee7==_0x4941ac(0x1ff)&&_0x506ee7!==null?(_0x3581a3=_0x506ee7,_0x506ee7=[]):_0x506ee7=[_0x506ee7]),_0xefb6af(this,_0x42bcc0,_0x506ee7,_0x3581a3)):(this[_0x4941ac(0x181)]=_0x3581a3[_0x4941ac(0x18f)],this[_0x4941ac(0x2b9)]=!0x0);}get[_0x337d26(0x23b)](){return this['_binaryType'];}set[_0x337d26(0x23b)](_0x20ae92){const _0xffccd0=_0x337d26;_0x1ff29c[_0xffccd0(0x1f7)](_0x20ae92)&&(this[_0xffccd0(0x253)]=_0x20ae92,this[_0xffccd0(0x23d)]&&(this[_0xffccd0(0x23d)][_0xffccd0(0x253)]=_0x20ae92));}get[_0x337d26(0x1a2)](){const _0x4f77c7=_0x337d26;return this[_0x4f77c7(0xf8)]?this[_0x4f77c7(0xf8)]['_writableState'][_0x4f77c7(0x1bc)]+this['_sender'][_0x4f77c7(0x199)]:this[_0x4f77c7(0x112)];}get[_0x337d26(0x1e1)](){const _0x249cae=_0x337d26;return Object[_0x249cae(0x145)](this[_0x249cae(0x203)])['join']();}get[_0x337d26(0x2a2)](){return this['_paused'];}get[_0x337d26(0x2a1)](){return null;}get[_0x337d26(0x19d)](){return null;}get['onopen'](){return null;}get['onmessage'](){return null;}get['protocol'](){const _0x4bd0b4=_0x337d26;return this[_0x4bd0b4(0x1a8)];}get[_0x337d26(0x1ac)](){return this['_readyState'];}get['url'](){return this['_url'];}[_0x337d26(0x100)](_0x181e05,_0x46428b,_0x45c6ce){const _0x49bdf8=_0x337d26,_0xf812c7=new _0x4ad120({'allowSynchronousEvents':_0x45c6ce[_0x49bdf8(0x15a)],'binaryType':this[_0x49bdf8(0x23b)],'extensions':this[_0x49bdf8(0x203)],'isServer':this[_0x49bdf8(0x2b9)],'maxPayload':_0x45c6ce[_0x49bdf8(0x1e7)],'skipUTF8Validation':_0x45c6ce[_0x49bdf8(0x257)]}),_0x202610=new _0x118589(_0x181e05,this[_0x49bdf8(0x203)],_0x45c6ce[_0x49bdf8(0x2aa)]);this['_receiver']=_0xf812c7,this[_0x49bdf8(0x1d2)]=_0x202610,this['_socket']=_0x181e05,_0xf812c7[_0x79191]=this,_0x202610[_0x79191]=this,_0x181e05[_0x79191]=this,_0xf812c7['on'](_0x49bdf8(0x128),_0xbadd9b),_0xf812c7['on']('drain',_0x2654dd),_0xf812c7['on'](_0x49bdf8(0x25b),_0x1b748),_0xf812c7['on'](_0x49bdf8(0x223),_0x51730d),_0xf812c7['on'](_0x49bdf8(0x248),_0x447516),_0xf812c7['on']('pong',_0x24a82f),_0x202610['onerror']=_0x4f68c6,_0x181e05[_0x49bdf8(0xfc)]&&_0x181e05[_0x49bdf8(0xfc)](0x0),_0x181e05[_0x49bdf8(0x1cf)]&&_0x181e05['setNoDelay'](),_0x46428b[_0x49bdf8(0x1bc)]>0x0&&_0x181e05['unshift'](_0x46428b),_0x181e05['on']('close',_0x4fd57c),_0x181e05['on'](_0x49bdf8(0x10c),_0x334435),_0x181e05['on'](_0x49bdf8(0x27f),_0x41535c),_0x181e05['on']('error',_0x7ad8ce),this[_0x49bdf8(0x215)]=_0x318259[_0x49bdf8(0x159)],this[_0x49bdf8(0x1bf)](_0x49bdf8(0x1f9));}[_0x337d26(0x27c)](){const _0x5ebec6=_0x337d26;if(!this[_0x5ebec6(0xf8)]){this[_0x5ebec6(0x215)]=_0x318259[_0x5ebec6(0x284)],this[_0x5ebec6(0x1bf)](_0x5ebec6(0x197),this[_0x5ebec6(0x158)],this[_0x5ebec6(0x1ee)]);return;}this[_0x5ebec6(0x203)][_0x178ae0[_0x5ebec6(0x157)]]&&this[_0x5ebec6(0x203)][_0x178ae0[_0x5ebec6(0x157)]][_0x5ebec6(0x1f2)](),this['_receiver'][_0x5ebec6(0x24e)](),this[_0x5ebec6(0x215)]=_0x318259['CLOSED'],this[_0x5ebec6(0x1bf)](_0x5ebec6(0x197),this['_closeCode'],this[_0x5ebec6(0x1ee)]);}[_0x337d26(0x197)](_0x5335bb,_0x2fd887){const _0x5ec933=_0x337d26;if(this['readyState']!==_0x318259[_0x5ec933(0x284)]){if(this[_0x5ec933(0x1ac)]===_0x318259['CONNECTING']){_0x35388b(this,this['_req'],_0x5ec933(0x2d2));return;}if(this['readyState']===_0x318259[_0x5ec933(0x2c9)]){this['_closeFrameSent']&&(this[_0x5ec933(0x1c8)]||this[_0x5ec933(0x23d)][_0x5ec933(0x283)][_0x5ec933(0x1e6)])&&this[_0x5ec933(0xf8)][_0x5ec933(0x27f)]();return;}this[_0x5ec933(0x215)]=_0x318259['CLOSING'],this[_0x5ec933(0x1d2)][_0x5ec933(0x197)](_0x5335bb,_0x2fd887,!this[_0x5ec933(0x2b9)],_0x5354ef=>{const _0x1bd323=_0x5ec933;_0x5354ef||(this[_0x1bd323(0x243)]=!0x0,(this[_0x1bd323(0x1c8)]||this[_0x1bd323(0x23d)][_0x1bd323(0x283)][_0x1bd323(0x1e6)])&&this[_0x1bd323(0xf8)][_0x1bd323(0x27f)]());}),_0x3bf746(this);}}[_0x337d26(0x131)](){const _0x4cd903=_0x337d26;this[_0x4cd903(0x1ac)]===_0x318259[_0x4cd903(0x201)]||this[_0x4cd903(0x1ac)]===_0x318259[_0x4cd903(0x284)]||(this[_0x4cd903(0x260)]=!0x0,this[_0x4cd903(0xf8)][_0x4cd903(0x131)]());}[_0x337d26(0x248)](_0x352de0,_0x1c19d4,_0x462e1e){const _0x538179=_0x337d26;if(this[_0x538179(0x1ac)]===_0x318259[_0x538179(0x201)])throw new Error(_0x538179(0x2cd));if(typeof _0x352de0==_0x538179(0x129)?(_0x462e1e=_0x352de0,_0x352de0=_0x1c19d4=void 0x0):typeof _0x1c19d4==_0x538179(0x129)&&(_0x462e1e=_0x1c19d4,_0x1c19d4=void 0x0),typeof _0x352de0=='number'&&(_0x352de0=_0x352de0[_0x538179(0x190)]()),this[_0x538179(0x1ac)]!==_0x318259[_0x538179(0x159)]){_0x29e790(this,_0x352de0,_0x462e1e);return;}_0x1c19d4===void 0x0&&(_0x1c19d4=!this[_0x538179(0x2b9)]),this[_0x538179(0x1d2)][_0x538179(0x248)](_0x352de0||_0x32e360,_0x1c19d4,_0x462e1e);}[_0x337d26(0x2b4)](_0x19781d,_0xe301db,_0x4d5b1b){const _0x507fb7=_0x337d26;if(this['readyState']===_0x318259['CONNECTING'])throw new Error(_0x507fb7(0x2cd));if(typeof _0x19781d==_0x507fb7(0x129)?(_0x4d5b1b=_0x19781d,_0x19781d=_0xe301db=void 0x0):typeof _0xe301db==_0x507fb7(0x129)&&(_0x4d5b1b=_0xe301db,_0xe301db=void 0x0),typeof _0x19781d==_0x507fb7(0x22a)&&(_0x19781d=_0x19781d['toString']()),this[_0x507fb7(0x1ac)]!==_0x318259[_0x507fb7(0x159)]){_0x29e790(this,_0x19781d,_0x4d5b1b);return;}_0xe301db===void 0x0&&(_0xe301db=!this[_0x507fb7(0x2b9)]),this['_sender'][_0x507fb7(0x2b4)](_0x19781d||_0x32e360,_0xe301db,_0x4d5b1b);}['resume'](){const _0x2eca7a=_0x337d26;this[_0x2eca7a(0x1ac)]===_0x318259['CONNECTING']||this[_0x2eca7a(0x1ac)]===_0x318259['CLOSED']||(this[_0x2eca7a(0x260)]=!0x1,this['_receiver'][_0x2eca7a(0x283)][_0x2eca7a(0x111)]||this[_0x2eca7a(0xf8)][_0x2eca7a(0x295)]());}['send'](_0x106254,_0x3b6f02,_0x46510c){const _0x34bbb1=_0x337d26;if(this['readyState']===_0x318259[_0x34bbb1(0x201)])throw new Error(_0x34bbb1(0x2cd));if(typeof _0x3b6f02==_0x34bbb1(0x129)&&(_0x46510c=_0x3b6f02,_0x3b6f02={}),typeof _0x106254==_0x34bbb1(0x22a)&&(_0x106254=_0x106254[_0x34bbb1(0x190)]()),this['readyState']!==_0x318259[_0x34bbb1(0x159)]){_0x29e790(this,_0x106254,_0x46510c);return;}const _0x52bd15={'binary':typeof _0x106254!=_0x34bbb1(0x1cc),'mask':!this[_0x34bbb1(0x2b9)],'compress':!0x0,'fin':!0x0,..._0x3b6f02};this[_0x34bbb1(0x203)][_0x178ae0[_0x34bbb1(0x157)]]||(_0x52bd15[_0x34bbb1(0x1fe)]=!0x1),this[_0x34bbb1(0x1d2)]['send'](_0x106254||_0x32e360,_0x52bd15,_0x46510c);}['terminate'](){const _0x13c6e7=_0x337d26;if(this[_0x13c6e7(0x1ac)]!==_0x318259[_0x13c6e7(0x284)]){if(this[_0x13c6e7(0x1ac)]===_0x318259[_0x13c6e7(0x201)]){_0x35388b(this,this[_0x13c6e7(0x280)],_0x13c6e7(0x2d2));return;}this[_0x13c6e7(0xf8)]&&(this[_0x13c6e7(0x215)]=_0x318259[_0x13c6e7(0x2c9)],this[_0x13c6e7(0xf8)]['destroy']());}}}Object['defineProperty'](_0x318259,'CONNECTING',{'enumerable':!0x0,'value':_0x3e5254[_0x337d26(0x29b)](_0x337d26(0x201))}),Object[_0x337d26(0x26c)](_0x318259[_0x337d26(0x18b)],_0x337d26(0x201),{'enumerable':!0x0,'value':_0x3e5254[_0x337d26(0x29b)](_0x337d26(0x201))}),Object[_0x337d26(0x26c)](_0x318259,_0x337d26(0x159),{'enumerable':!0x0,'value':_0x3e5254[_0x337d26(0x29b)](_0x337d26(0x159))}),Object[_0x337d26(0x26c)](_0x318259['prototype'],_0x337d26(0x159),{'enumerable':!0x0,'value':_0x3e5254['indexOf'](_0x337d26(0x159))}),Object[_0x337d26(0x26c)](_0x318259,_0x337d26(0x2c9),{'enumerable':!0x0,'value':_0x3e5254[_0x337d26(0x29b)](_0x337d26(0x2c9))}),Object[_0x337d26(0x26c)](_0x318259['prototype'],_0x337d26(0x2c9),{'enumerable':!0x0,'value':_0x3e5254[_0x337d26(0x29b)]('CLOSING')}),Object[_0x337d26(0x26c)](_0x318259,'CLOSED',{'enumerable':!0x0,'value':_0x3e5254['indexOf'](_0x337d26(0x284))}),Object[_0x337d26(0x26c)](_0x318259[_0x337d26(0x18b)],_0x337d26(0x284),{'enumerable':!0x0,'value':_0x3e5254[_0x337d26(0x29b)](_0x337d26(0x284))}),[_0x337d26(0x23b),_0x337d26(0x1a2),_0x337d26(0x1e1),_0x337d26(0x2a2),_0x337d26(0x226),_0x337d26(0x1ac),_0x337d26(0x22d)]['forEach'](_0xc5e124=>{Object['defineProperty'](_0x318259['prototype'],_0xc5e124,{'enumerable':!0x0});}),[_0x337d26(0x1f9),'error',_0x337d26(0x197),'message']['forEach'](_0x1bbb48=>{const _0x11f6cb=_0x337d26;Object[_0x11f6cb(0x26c)](_0x318259[_0x11f6cb(0x18b)],'on'+_0x1bbb48,{'enumerable':!0x0,'get'(){const _0x4751bb=_0x11f6cb;for(const _0x48b84c of this[_0x4751bb(0x1be)](_0x1bbb48))if(_0x48b84c[_0x1b73bb])return _0x48b84c[_0x3e237e];return null;},'set'(_0x425ae6){const _0x59841c=_0x11f6cb;for(const _0x47980f of this[_0x59841c(0x1be)](_0x1bbb48))if(_0x47980f[_0x1b73bb]){this['removeListener'](_0x1bbb48,_0x47980f);break;}typeof _0x425ae6==_0x59841c(0x129)&&this['addEventListener'](_0x1bbb48,_0x425ae6,{[_0x1b73bb]:!0x0});}});}),_0x318259['prototype'][_0x337d26(0x1ba)]=_0x548e68,_0x318259[_0x337d26(0x18b)]['removeEventListener']=_0x4d2c3c,we=_0x318259;function _0xefb6af(_0x3e20ec,_0x1aee2e,_0x5ad537,_0xd063fa){const _0x2166fb=_0x337d26,_0x4f7a33={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x30de1c[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0xd063fa,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x2166fb(0x1a4),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3e20ec[_0x2166fb(0x181)]=_0x4f7a33['autoPong'],!_0x30de1c[_0x2166fb(0x1f7)](_0x4f7a33[_0x2166fb(0x1fd)]))throw new RangeError(_0x2166fb(0x17c)+_0x4f7a33['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x30de1c[_0x2166fb(0x106)](',\x20')+')');let _0x5a0c2c;if(_0x1aee2e instanceof _0x11c56f)_0x5a0c2c=_0x1aee2e;else try{_0x5a0c2c=new _0x11c56f(_0x1aee2e);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x1aee2e);}_0x5a0c2c[_0x2166fb(0x226)]===_0x2166fb(0x1d8)?_0x5a0c2c[_0x2166fb(0x226)]=_0x2166fb(0x2b2):_0x5a0c2c[_0x2166fb(0x226)]===_0x2166fb(0x21a)&&(_0x5a0c2c[_0x2166fb(0x226)]='wss:'),_0x3e20ec[_0x2166fb(0x24c)]=_0x5a0c2c['href'];const _0x4c3f25=_0x5a0c2c['protocol']===_0x2166fb(0x263),_0x30444=_0x5a0c2c['protocol']===_0x2166fb(0x1de);let _0x3573d;if(_0x5a0c2c[_0x2166fb(0x226)]!=='ws:'&&!_0x4c3f25&&!_0x30444?_0x3573d=_0x2166fb(0x13d):_0x30444&&!_0x5a0c2c[_0x2166fb(0x1b6)]?_0x3573d=_0x2166fb(0x1a1):_0x5a0c2c['hash']&&(_0x3573d=_0x2166fb(0x23e)),_0x3573d){const _0x15f5be=new SyntaxError(_0x3573d);if(_0x3e20ec[_0x2166fb(0x195)]===0x0)throw _0x15f5be;_0x566af3(_0x3e20ec,_0x15f5be);return;}const _0x2ff0f5=_0x4c3f25?0x1bb:0x50,_0x54b876=_0x11248a(0x10)[_0x2166fb(0x190)]('base64'),_0x40f0cc=_0x4c3f25?_0x147dca[_0x2166fb(0x2b6)]:_0x3cb499[_0x2166fb(0x2b6)],_0x4d411f=new Set();let _0x18af25;if(_0x4f7a33['createConnection']=_0x4f7a33[_0x2166fb(0x279)]||(_0x4c3f25?_0x2bfc3d:_0x35b937),_0x4f7a33[_0x2166fb(0x2bf)]=_0x4f7a33[_0x2166fb(0x2bf)]||_0x2ff0f5,_0x4f7a33[_0x2166fb(0x224)]=_0x5a0c2c[_0x2166fb(0x224)]||_0x2ff0f5,_0x4f7a33[_0x2166fb(0x186)]=_0x5a0c2c[_0x2166fb(0x171)]['startsWith']('[')?_0x5a0c2c['hostname'][_0x2166fb(0x22c)](0x1,-0x1):_0x5a0c2c[_0x2166fb(0x171)],_0x4f7a33[_0x2166fb(0x228)]={..._0x4f7a33['headers'],'Sec-WebSocket-Version':_0x4f7a33[_0x2166fb(0x1fd)],'Sec-WebSocket-Key':_0x54b876,'Connection':_0x2166fb(0x2b7),'Upgrade':_0x2166fb(0x1f8)},_0x4f7a33[_0x2166fb(0x1bd)]=_0x5a0c2c[_0x2166fb(0x1b6)]+_0x5a0c2c['search'],_0x4f7a33[_0x2166fb(0x2a4)]=_0x4f7a33[_0x2166fb(0x132)],_0x4f7a33[_0x2166fb(0x1af)]&&(_0x18af25=new _0x178ae0(_0x4f7a33[_0x2166fb(0x1af)]!==!0x0?_0x4f7a33[_0x2166fb(0x1af)]:{},!0x1,_0x4f7a33[_0x2166fb(0x1e7)]),_0x4f7a33[_0x2166fb(0x228)][_0x2166fb(0x177)]=_0x525a03({[_0x178ae0['extensionName']]:_0x18af25[_0x2166fb(0x1bb)]()})),_0x5ad537['length']){for(const _0x412663 of _0x5ad537){if(typeof _0x412663!=_0x2166fb(0x1cc)||!_0x46b972[_0x2166fb(0x1c4)](_0x412663)||_0x4d411f[_0x2166fb(0x202)](_0x412663))throw new SyntaxError(_0x2166fb(0x1c5));_0x4d411f[_0x2166fb(0x1e5)](_0x412663);}_0x4f7a33[_0x2166fb(0x228)]['Sec-WebSocket-Protocol']=_0x5ad537['join'](',');}if(_0x4f7a33['origin']&&(_0x4f7a33[_0x2166fb(0x1fd)]<0xd?_0x4f7a33['headers'][_0x2166fb(0x1b2)]=_0x4f7a33[_0x2166fb(0x246)]:_0x4f7a33[_0x2166fb(0x228)][_0x2166fb(0x1da)]=_0x4f7a33[_0x2166fb(0x246)]),(_0x5a0c2c[_0x2166fb(0x286)]||_0x5a0c2c[_0x2166fb(0x244)])&&(_0x4f7a33[_0x2166fb(0x1a3)]=_0x5a0c2c[_0x2166fb(0x286)]+':'+_0x5a0c2c[_0x2166fb(0x244)]),_0x30444){const _0x31cd69=_0x4f7a33[_0x2166fb(0x1bd)][_0x2166fb(0x11c)](':');_0x4f7a33[_0x2166fb(0x25a)]=_0x31cd69[0x0],_0x4f7a33['path']=_0x31cd69[0x1];}let _0x1dd62e;if(_0x4f7a33[_0x2166fb(0x2c4)]){if(_0x3e20ec[_0x2166fb(0x195)]===0x0){_0x3e20ec[_0x2166fb(0x1ca)]=_0x30444,_0x3e20ec[_0x2166fb(0x232)]=_0x4c3f25,_0x3e20ec[_0x2166fb(0x23a)]=_0x30444?_0x4f7a33[_0x2166fb(0x25a)]:_0x5a0c2c[_0x2166fb(0x186)];const _0x5c0484=_0xd063fa&&_0xd063fa[_0x2166fb(0x228)];if(_0xd063fa={..._0xd063fa,'headers':{}},_0x5c0484){for(const [_0x2d628b,_0x40649b]of Object[_0x2166fb(0x259)](_0x5c0484))_0xd063fa[_0x2166fb(0x228)][_0x2d628b['toLowerCase']()]=_0x40649b;}}else{if(_0x3e20ec[_0x2166fb(0x20b)](_0x2166fb(0x214))===0x0){const _0x3f2cd7=_0x30444?_0x3e20ec[_0x2166fb(0x1ca)]?_0x4f7a33[_0x2166fb(0x25a)]===_0x3e20ec['_originalHostOrSocketPath']:!0x1:_0x3e20ec[_0x2166fb(0x1ca)]?!0x1:_0x5a0c2c[_0x2166fb(0x186)]===_0x3e20ec[_0x2166fb(0x23a)];(!_0x3f2cd7||_0x3e20ec[_0x2166fb(0x232)]&&!_0x4c3f25)&&(delete _0x4f7a33['headers'][_0x2166fb(0x144)],delete _0x4f7a33[_0x2166fb(0x228)][_0x2166fb(0x219)],_0x3f2cd7||delete _0x4f7a33[_0x2166fb(0x228)][_0x2166fb(0x186)],_0x4f7a33[_0x2166fb(0x1a3)]=void 0x0);}}_0x4f7a33[_0x2166fb(0x1a3)]&&!_0xd063fa[_0x2166fb(0x228)][_0x2166fb(0x144)]&&(_0xd063fa[_0x2166fb(0x228)][_0x2166fb(0x144)]=_0x2166fb(0x1cb)+Buffer['from'](_0x4f7a33[_0x2166fb(0x1a3)])[_0x2166fb(0x190)](_0x2166fb(0x251))),_0x1dd62e=_0x3e20ec[_0x2166fb(0x280)]=_0x40f0cc(_0x4f7a33),_0x3e20ec[_0x2166fb(0x195)]&&_0x3e20ec['emit'](_0x2166fb(0x214),_0x3e20ec[_0x2166fb(0x22d)],_0x1dd62e);}else _0x1dd62e=_0x3e20ec[_0x2166fb(0x280)]=_0x40f0cc(_0x4f7a33);_0x4f7a33['timeout']&&_0x1dd62e['on'](_0x2166fb(0x2a4),()=>{const _0x216b24=_0x2166fb;_0x35388b(_0x3e20ec,_0x1dd62e,_0x216b24(0x205));}),_0x1dd62e['on'](_0x2166fb(0x25b),_0x118245=>{_0x1dd62e===null||_0x1dd62e[_0x2fb96f]||(_0x1dd62e=_0x3e20ec['_req']=null,_0x566af3(_0x3e20ec,_0x118245));}),_0x1dd62e['on'](_0x2166fb(0x1b4),_0x3a153a=>{const _0x4c8531=_0x2166fb,_0x2929fe=_0x3a153a[_0x4c8531(0x228)]['location'],_0x87dfa4=_0x3a153a['statusCode'];if(_0x2929fe&&_0x4f7a33['followRedirects']&&_0x87dfa4>=0x12c&&_0x87dfa4<0x190){if(++_0x3e20ec[_0x4c8531(0x195)]>_0x4f7a33[_0x4c8531(0x1df)]){_0x35388b(_0x3e20ec,_0x1dd62e,_0x4c8531(0x2b1));return;}_0x1dd62e['abort']();let _0x825b8d;try{_0x825b8d=new _0x11c56f(_0x2929fe,_0x1aee2e);}catch{const _0x335aa4=new SyntaxError(_0x4c8531(0x1ad)+_0x2929fe);_0x566af3(_0x3e20ec,_0x335aa4);return;}_0xefb6af(_0x3e20ec,_0x825b8d,_0x5ad537,_0xd063fa);}else _0x3e20ec[_0x4c8531(0x1bf)](_0x4c8531(0x15c),_0x1dd62e,_0x3a153a)||_0x35388b(_0x3e20ec,_0x1dd62e,_0x4c8531(0x173)+_0x3a153a['statusCode']);}),_0x1dd62e['on']('upgrade',(_0x3d65bb,_0xeb2b07,_0x4cfff6)=>{const _0x469062=_0x2166fb;if(_0x3e20ec['emit'](_0x469062(0x108),_0x3d65bb),_0x3e20ec[_0x469062(0x1ac)]!==_0x318259[_0x469062(0x201)])return;_0x1dd62e=_0x3e20ec[_0x469062(0x280)]=null;const _0x55bfa8=_0x3d65bb[_0x469062(0x228)][_0x469062(0x108)];if(_0x55bfa8===void 0x0||_0x55bfa8[_0x469062(0x141)]()!==_0x469062(0x1f8)){_0x35388b(_0x3e20ec,_0xeb2b07,'Invalid\x20Upgrade\x20header');return;}const _0x32535e=_0x46bc73(_0x469062(0x194))[_0x469062(0x1e8)](_0x54b876+_0x364be7)[_0x469062(0x29f)](_0x469062(0x251));if(_0x3d65bb[_0x469062(0x228)][_0x469062(0x1aa)]!==_0x32535e){_0x35388b(_0x3e20ec,_0xeb2b07,_0x469062(0x16e));return;}const _0x345e07=_0x3d65bb[_0x469062(0x228)][_0x469062(0x26d)];let _0x36b734;if(_0x345e07!==void 0x0?_0x4d411f[_0x469062(0x2b5)]?_0x4d411f[_0x469062(0x202)](_0x345e07)||(_0x36b734=_0x469062(0x274)):_0x36b734='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x4d411f[_0x469062(0x2b5)]&&(_0x36b734=_0x469062(0x12e)),_0x36b734){_0x35388b(_0x3e20ec,_0xeb2b07,_0x36b734);return;}_0x345e07&&(_0x3e20ec['_protocol']=_0x345e07);const _0x458034=_0x3d65bb[_0x469062(0x228)][_0x469062(0x109)];if(_0x458034!==void 0x0){if(!_0x18af25){_0x35388b(_0x3e20ec,_0xeb2b07,_0x469062(0x105));return;}let _0x2b3bdd;try{_0x2b3bdd=_0x2f0075(_0x458034);}catch{_0x35388b(_0x3e20ec,_0xeb2b07,_0x469062(0x162));return;}const _0x34a21b=Object[_0x469062(0x145)](_0x2b3bdd);if(_0x34a21b[_0x469062(0x1bc)]!==0x1||_0x34a21b[0x0]!==_0x178ae0[_0x469062(0x157)]){_0x35388b(_0x3e20ec,_0xeb2b07,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x18af25[_0x469062(0x266)](_0x2b3bdd[_0x178ae0[_0x469062(0x157)]]);}catch{_0x35388b(_0x3e20ec,_0xeb2b07,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x3e20ec[_0x469062(0x203)][_0x178ae0[_0x469062(0x157)]]=_0x18af25;}_0x3e20ec[_0x469062(0x100)](_0xeb2b07,_0x4cfff6,{'allowSynchronousEvents':_0x4f7a33['allowSynchronousEvents'],'generateMask':_0x4f7a33[_0x469062(0x2aa)],'maxPayload':_0x4f7a33['maxPayload'],'skipUTF8Validation':_0x4f7a33[_0x469062(0x257)]});}),_0x4f7a33[_0x2166fb(0x26b)]?_0x4f7a33[_0x2166fb(0x26b)](_0x1dd62e,_0x3e20ec):_0x1dd62e[_0x2166fb(0x27f)]();}function _0x566af3(_0x18e701,_0x449a9e){const _0x3b7990=_0x337d26;_0x18e701[_0x3b7990(0x215)]=_0x318259['CLOSING'],_0x18e701[_0x3b7990(0x275)]=!0x0,_0x18e701['emit'](_0x3b7990(0x25b),_0x449a9e),_0x18e701[_0x3b7990(0x27c)]();}function _0x35b937(_0x1f29df){const _0x3c5ee7=_0x337d26;return _0x1f29df['path']=_0x1f29df[_0x3c5ee7(0x25a)],_0x3a26bc[_0x3c5ee7(0x1ef)](_0x1f29df);}function _0x2bfc3d(_0x18fbb9){const _0x11a04c=_0x337d26;return _0x18fbb9[_0x11a04c(0x1bd)]=void 0x0,!_0x18fbb9['servername']&&_0x18fbb9['servername']!==''&&(_0x18fbb9[_0x11a04c(0x1e0)]=_0x3a26bc[_0x11a04c(0x19f)](_0x18fbb9[_0x11a04c(0x186)])?'':_0x18fbb9['host']),_0x3c7f4b[_0x11a04c(0x1ef)](_0x18fbb9);}function _0x35388b(_0x2127e9,_0x12a084,_0x332739){const _0x35311e=_0x337d26;_0x2127e9['_readyState']=_0x318259['CLOSING'];const _0xd8bcfe=new Error(_0x332739);Error[_0x35311e(0x161)](_0xd8bcfe,_0x35388b),_0x12a084[_0x35311e(0x1a9)]?(_0x12a084[_0x2fb96f]=!0x0,_0x12a084[_0x35311e(0x241)](),_0x12a084['socket']&&!_0x12a084['socket'][_0x35311e(0x185)]&&_0x12a084['socket']['destroy'](),process[_0x35311e(0x1b7)](_0x566af3,_0x2127e9,_0xd8bcfe)):(_0x12a084[_0x35311e(0x148)](_0xd8bcfe),_0x12a084[_0x35311e(0x1c3)](_0x35311e(0x25b),_0x2127e9['emit'][_0x35311e(0x151)](_0x2127e9,_0x35311e(0x25b))),_0x12a084[_0x35311e(0x1c3)](_0x35311e(0x197),_0x2127e9[_0x35311e(0x27c)][_0x35311e(0x151)](_0x2127e9)));}function _0x29e790(_0x274d8c,_0x3ef1d0,_0x4543b8){const _0x4cd4dc=_0x337d26;if(_0x3ef1d0){const _0xf8259b=_0x318ab4(_0x3ef1d0)?_0x3ef1d0[_0x4cd4dc(0x2b5)]:_0x15e0c1(_0x3ef1d0)[_0x4cd4dc(0x1bc)];_0x274d8c[_0x4cd4dc(0xf8)]?_0x274d8c['_sender'][_0x4cd4dc(0x199)]+=_0xf8259b:_0x274d8c['_bufferedAmount']+=_0xf8259b;}if(_0x4543b8){const _0x33696b=new Error(_0x4cd4dc(0x2b8)+_0x274d8c['readyState']+'\x20('+_0x3e5254[_0x274d8c['readyState']]+')');process['nextTick'](_0x4543b8,_0x33696b);}}function _0xbadd9b(_0x459ced,_0x38357b){const _0x1853bf=_0x337d26,_0x402b9c=this[_0x79191];_0x402b9c['_closeFrameReceived']=!0x0,_0x402b9c[_0x1853bf(0x1ee)]=_0x38357b,_0x402b9c[_0x1853bf(0x158)]=_0x459ced,_0x402b9c['_socket'][_0x79191]!==void 0x0&&(_0x402b9c[_0x1853bf(0xf8)][_0x1853bf(0x135)](_0x1853bf(0x10c),_0x334435),process[_0x1853bf(0x1b7)](_0x8c3204,_0x402b9c[_0x1853bf(0xf8)]),_0x459ced===0x3ed?_0x402b9c['close']():_0x402b9c[_0x1853bf(0x197)](_0x459ced,_0x38357b));}function _0x2654dd(){const _0x637bed=_0x337d26,_0x194a04=this[_0x79191];_0x194a04[_0x637bed(0x2a2)]||_0x194a04[_0x637bed(0xf8)][_0x637bed(0x295)]();}function _0x1b748(_0x2bc7e6){const _0x51613b=_0x337d26,_0xcaa552=this[_0x79191];_0xcaa552[_0x51613b(0xf8)][_0x79191]!==void 0x0&&(_0xcaa552[_0x51613b(0xf8)][_0x51613b(0x135)](_0x51613b(0x10c),_0x334435),process[_0x51613b(0x1b7)](_0x8c3204,_0xcaa552[_0x51613b(0xf8)]),_0xcaa552['close'](_0x2bc7e6[_0x1de45e])),_0xcaa552[_0x51613b(0x275)]||(_0xcaa552[_0x51613b(0x275)]=!0x0,_0xcaa552[_0x51613b(0x1bf)](_0x51613b(0x25b),_0x2bc7e6));}function _0x88a09d(){const _0x388349=_0x337d26;this[_0x79191][_0x388349(0x27c)]();}function _0x51730d(_0x1dd259,_0x54a1c1){const _0xc64da3=_0x337d26;this[_0x79191][_0xc64da3(0x1bf)](_0xc64da3(0x223),_0x1dd259,_0x54a1c1);}function _0x447516(_0x1274dc){const _0x2175d5=_0x337d26,_0x3a8dd0=this[_0x79191];_0x3a8dd0[_0x2175d5(0x181)]&&_0x3a8dd0['pong'](_0x1274dc,!this[_0x2175d5(0x2b9)],_0x36a5f0),_0x3a8dd0['emit'](_0x2175d5(0x248),_0x1274dc);}function _0x24a82f(_0x698e82){const _0x4a8423=_0x337d26;this[_0x79191][_0x4a8423(0x1bf)](_0x4a8423(0x2b4),_0x698e82);}function _0x8c3204(_0x5a7630){const _0x358578=_0x337d26;_0x5a7630[_0x358578(0x295)]();}function _0x4f68c6(_0x4a66ea){const _0x5cbc8e=_0x337d26,_0x2c20fb=this[_0x79191];_0x2c20fb[_0x5cbc8e(0x1ac)]!==_0x318259[_0x5cbc8e(0x284)]&&(_0x2c20fb['readyState']===_0x318259[_0x5cbc8e(0x159)]&&(_0x2c20fb[_0x5cbc8e(0x215)]=_0x318259[_0x5cbc8e(0x2c9)],_0x3bf746(_0x2c20fb)),this[_0x5cbc8e(0xf8)][_0x5cbc8e(0x27f)](),_0x2c20fb['_errorEmitted']||(_0x2c20fb[_0x5cbc8e(0x275)]=!0x0,_0x2c20fb[_0x5cbc8e(0x1bf)](_0x5cbc8e(0x25b),_0x4a66ea)));}function _0x3bf746(_0xf5df57){const _0x43d413=_0x337d26;_0xf5df57['_closeTimer']=setTimeout(_0xf5df57['_socket']['destroy']['bind'](_0xf5df57[_0x43d413(0xf8)]),_0x5ba255);}function _0x4fd57c(){const _0x502c68=_0x337d26,_0x5aaeee=this[_0x79191];this['removeListener'](_0x502c68(0x197),_0x4fd57c),this[_0x502c68(0x135)](_0x502c68(0x10c),_0x334435),this[_0x502c68(0x135)]('end',_0x41535c),_0x5aaeee[_0x502c68(0x215)]=_0x318259['CLOSING'];let _0x571c79;!this[_0x502c68(0x12b)][_0x502c68(0x2cf)]&&!_0x5aaeee[_0x502c68(0x1c8)]&&!_0x5aaeee['_receiver'][_0x502c68(0x283)][_0x502c68(0x1e6)]&&(_0x571c79=_0x5aaeee['_socket'][_0x502c68(0x18a)]())!==null&&_0x5aaeee[_0x502c68(0x23d)][_0x502c68(0x165)](_0x571c79),_0x5aaeee[_0x502c68(0x23d)][_0x502c68(0x27f)](),this[_0x79191]=void 0x0,clearTimeout(_0x5aaeee[_0x502c68(0x288)]),_0x5aaeee[_0x502c68(0x23d)][_0x502c68(0x283)][_0x502c68(0x293)]||_0x5aaeee[_0x502c68(0x23d)][_0x502c68(0x283)][_0x502c68(0x1e6)]?_0x5aaeee[_0x502c68(0x27c)]():(_0x5aaeee['_receiver']['on'](_0x502c68(0x25b),_0x88a09d),_0x5aaeee[_0x502c68(0x23d)]['on'](_0x502c68(0x12d),_0x88a09d));}function _0x334435(_0xc8fb21){const _0x3053ea=_0x337d26;this[_0x79191]['_receiver'][_0x3053ea(0x165)](_0xc8fb21)||this[_0x3053ea(0x131)]();}function _0x41535c(){const _0x51492b=_0x337d26,_0x55be67=this[_0x79191];_0x55be67[_0x51492b(0x215)]=_0x318259[_0x51492b(0x2c9)],_0x55be67[_0x51492b(0x23d)][_0x51492b(0x27f)](),this[_0x51492b(0x27f)]();}function _0x7ad8ce(){const _0x3bde0f=_0x337d26,_0x4af359=this[_0x79191];this[_0x3bde0f(0x135)](_0x3bde0f(0x25b),_0x7ad8ce),this['on'](_0x3bde0f(0x25b),_0x36a5f0),_0x4af359&&(_0x4af359[_0x3bde0f(0x215)]=_0x318259['CLOSING'],this[_0x3bde0f(0x148)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x5f12ad}=oe;function _0x5b06d5(_0x42ece3){const _0x59867d=_0x2a43;_0x42ece3[_0x59867d(0x1bf)](_0x59867d(0x197));}function _0x365cfb(){const _0xe9bf07=_0x2a43;!this['destroyed']&&this['_writableState']['finished']&&this[_0xe9bf07(0x148)]();}function _0x1f4b5a(_0x47c171){const _0x288be3=_0x2a43;this['removeListener'](_0x288be3(0x25b),_0x1f4b5a),this[_0x288be3(0x148)](),this[_0x288be3(0x20b)](_0x288be3(0x25b))===0x0&&this['emit']('error',_0x47c171);}function _0x273f2e(_0x148f4d,_0xf690e5){const _0x1645cd=_0x2a43;let _0x4847e1=!0x0;const _0x21b25c=new _0x5f12ad({..._0xf690e5,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x148f4d['on']('message',function(_0x3833f9,_0x4ab5ce){const _0x257f13=_0x2a43,_0x59a166=!_0x4ab5ce&&_0x21b25c[_0x257f13(0x12b)][_0x257f13(0x147)]?_0x3833f9[_0x257f13(0x190)]():_0x3833f9;_0x21b25c[_0x257f13(0x1b1)](_0x59a166)||_0x148f4d[_0x257f13(0x131)]();}),_0x148f4d['once'](_0x1645cd(0x25b),function(_0x2c3a93){const _0xf77ffa=_0x1645cd;_0x21b25c['destroyed']||(_0x4847e1=!0x1,_0x21b25c[_0xf77ffa(0x148)](_0x2c3a93));}),_0x148f4d[_0x1645cd(0x1c3)](_0x1645cd(0x197),function(){_0x21b25c['destroyed']||_0x21b25c['push'](null);}),_0x21b25c[_0x1645cd(0x24a)]=function(_0x5cc544,_0x423617){const _0x438b13=_0x1645cd;if(_0x148f4d[_0x438b13(0x1ac)]===_0x148f4d[_0x438b13(0x284)]){_0x423617(_0x5cc544),process['nextTick'](_0x5b06d5,_0x21b25c);return;}let _0xf04bcf=!0x1;_0x148f4d[_0x438b13(0x1c3)](_0x438b13(0x25b),function(_0x1333af){_0xf04bcf=!0x0,_0x423617(_0x1333af);}),_0x148f4d[_0x438b13(0x1c3)](_0x438b13(0x197),function(){const _0x2deb56=_0x438b13;_0xf04bcf||_0x423617(_0x5cc544),process[_0x2deb56(0x1b7)](_0x5b06d5,_0x21b25c);}),_0x4847e1&&_0x148f4d[_0x438b13(0x221)]();},_0x21b25c['_final']=function(_0x2ae415){const _0x2d3ecb=_0x1645cd;if(_0x148f4d['readyState']===_0x148f4d['CONNECTING']){_0x148f4d['once'](_0x2d3ecb(0x1f9),function(){_0x21b25c['_final'](_0x2ae415);});return;}_0x148f4d[_0x2d3ecb(0xf8)]!==null&&(_0x148f4d['_socket'][_0x2d3ecb(0x283)]['finished']?(_0x2ae415(),_0x21b25c[_0x2d3ecb(0x12b)][_0x2d3ecb(0x2cf)]&&_0x21b25c['destroy']()):(_0x148f4d[_0x2d3ecb(0xf8)][_0x2d3ecb(0x1c3)]('finish',function(){_0x2ae415();}),_0x148f4d[_0x2d3ecb(0x197)]()));},_0x21b25c[_0x1645cd(0x193)]=function(){const _0x2b20b7=_0x1645cd;_0x148f4d[_0x2b20b7(0x2a2)]&&_0x148f4d[_0x2b20b7(0x295)]();},_0x21b25c['_write']=function(_0x27ab15,_0x58d838,_0x1a26d6){const _0x5d3dcf=_0x1645cd;if(_0x148f4d[_0x5d3dcf(0x1ac)]===_0x148f4d[_0x5d3dcf(0x201)]){_0x148f4d[_0x5d3dcf(0x1c3)](_0x5d3dcf(0x1f9),function(){_0x21b25c['_write'](_0x27ab15,_0x58d838,_0x1a26d6);});return;}_0x148f4d['send'](_0x27ab15,_0x1a26d6);},_0x21b25c['on'](_0x1645cd(0x27f),_0x365cfb),_0x21b25c['on'](_0x1645cd(0x25b),_0x1f4b5a),_0x21b25c;}return Oe=_0x273f2e,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x3186e9}=ae();function _0xefadf1(_0x46789a){const _0x3d37c8=_0x2a43,_0x5b0055=new Set();let _0x42a7f4=-0x1,_0x4a1006=-0x1,_0x2894b6=0x0;for(_0x2894b6;_0x2894b6<_0x46789a[_0x3d37c8(0x1bc)];_0x2894b6++){const _0x2f6310=_0x46789a[_0x3d37c8(0x2b0)](_0x2894b6);if(_0x4a1006===-0x1&&_0x3186e9[_0x2f6310]===0x1)_0x42a7f4===-0x1&&(_0x42a7f4=_0x2894b6);else{if(_0x2894b6!==0x0&&(_0x2f6310===0x20||_0x2f6310===0x9))_0x4a1006===-0x1&&_0x42a7f4!==-0x1&&(_0x4a1006=_0x2894b6);else{if(_0x2f6310===0x2c){if(_0x42a7f4===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2894b6);_0x4a1006===-0x1&&(_0x4a1006=_0x2894b6);const _0x3e09e1=_0x46789a['slice'](_0x42a7f4,_0x4a1006);if(_0x5b0055[_0x3d37c8(0x202)](_0x3e09e1))throw new SyntaxError(_0x3d37c8(0x21f)+_0x3e09e1+'\x22\x20subprotocol\x20is\x20duplicated');_0x5b0055['add'](_0x3e09e1),_0x42a7f4=_0x4a1006=-0x1;}else throw new SyntaxError(_0x3d37c8(0x20a)+_0x2894b6);}}}if(_0x42a7f4===-0x1||_0x4a1006!==-0x1)throw new SyntaxError(_0x3d37c8(0x21c));const _0x1d1a29=_0x46789a[_0x3d37c8(0x22c)](_0x42a7f4,_0x2894b6);if(_0x5b0055['has'](_0x1d1a29))throw new SyntaxError(_0x3d37c8(0x21f)+_0x1d1a29+_0x3d37c8(0x265));return _0x5b0055[_0x3d37c8(0x1e5)](_0x1d1a29),_0x5b0055;}return Ce={'parse':_0xefadf1},Ce;}var Te,rt;function Ft(){const _0x3e884a=_0x2f0501;if(rt)return Te;rt=0x1;const _0x2aa34d=nt,_0x66dbd4=ot,{Duplex:_0x377f86}=oe,{createHash:_0x39633b}=Le,_0x195569=ct(),_0x4e21d2=he(),_0x2bf8cc=At(),_0x201f49=Pe(),{GUID:_0x3f8970,kWebSocket:_0x2dc133}=H(),_0xafa212=/^[+/0-9A-Za-z]{22}==$/,_0x20cc92=0x0,_0x412cdc=0x1,_0x559d09=0x2;class _0x56a022 extends _0x2aa34d{constructor(_0x5697eb,_0x28be0e){const _0x737115=_0x2a43;if(super(),_0x5697eb={'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':_0x201f49,..._0x5697eb},_0x5697eb[_0x737115(0x224)]==null&&!_0x5697eb[_0x737115(0x1ea)]&&!_0x5697eb[_0x737115(0x252)]||_0x5697eb[_0x737115(0x224)]!=null&&(_0x5697eb[_0x737115(0x1ea)]||_0x5697eb[_0x737115(0x252)])||_0x5697eb[_0x737115(0x1ea)]&&_0x5697eb[_0x737115(0x252)])throw new TypeError(_0x737115(0x208));if(_0x5697eb[_0x737115(0x224)]!=null?(this[_0x737115(0x149)]=_0x66dbd4[_0x737115(0x166)]((_0x2029a9,_0x1948b7)=>{const _0x27190a=_0x737115,_0x431e66=_0x66dbd4['STATUS_CODES'][0x1aa];_0x1948b7[_0x27190a(0x296)](0x1aa,{'Content-Length':_0x431e66[_0x27190a(0x1bc)],'Content-Type':_0x27190a(0x2a3)}),_0x1948b7[_0x27190a(0x27f)](_0x431e66);}),this[_0x737115(0x149)]['listen'](_0x5697eb['port'],_0x5697eb[_0x737115(0x186)],_0x5697eb['backlog'],_0x28be0e)):_0x5697eb[_0x737115(0x1ea)]&&(this[_0x737115(0x149)]=_0x5697eb[_0x737115(0x1ea)]),this[_0x737115(0x149)]){const _0x44f492=this[_0x737115(0x1bf)][_0x737115(0x151)](this,_0x737115(0x235));this[_0x737115(0x2c0)]=_0x3e8bb2(this['_server'],{'listening':this['emit']['bind'](this,_0x737115(0x28f)),'error':this['emit'][_0x737115(0x151)](this,_0x737115(0x25b)),'upgrade':(_0x301267,_0x3b47a9,_0x4e4c7f)=>{const _0x7c669e=_0x737115;this[_0x7c669e(0x2cc)](_0x301267,_0x3b47a9,_0x4e4c7f,_0x44f492);}});}_0x5697eb[_0x737115(0x1af)]===!0x0&&(_0x5697eb[_0x737115(0x1af)]={}),_0x5697eb[_0x737115(0x183)]&&(this[_0x737115(0x27d)]=new Set(),this[_0x737115(0x156)]=!0x1),this[_0x737115(0x142)]=_0x5697eb,this[_0x737115(0x230)]=_0x20cc92;}[_0x3e884a(0x13c)](){const _0x4b3d08=_0x3e884a;if(this[_0x4b3d08(0x142)][_0x4b3d08(0x252)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x4b3d08(0x149)]?this[_0x4b3d08(0x149)][_0x4b3d08(0x13c)]():null;}['close'](_0x3b70a4){const _0x42e697=_0x3e884a;if(this['_state']===_0x559d09){_0x3b70a4&&this[_0x42e697(0x1c3)](_0x42e697(0x197),()=>{const _0x13b432=_0x42e697;_0x3b70a4(new Error(_0x13b432(0x19e)));}),process[_0x42e697(0x1b7)](_0x95b68a,this);return;}if(_0x3b70a4&&this[_0x42e697(0x1c3)](_0x42e697(0x197),_0x3b70a4),this['_state']!==_0x412cdc){if(this[_0x42e697(0x230)]=_0x412cdc,this[_0x42e697(0x142)]['noServer']||this['options'][_0x42e697(0x1ea)])this[_0x42e697(0x149)]&&(this['_removeListeners'](),this[_0x42e697(0x2c0)]=this[_0x42e697(0x149)]=null),this[_0x42e697(0x27d)]?this[_0x42e697(0x27d)][_0x42e697(0x2b5)]?this[_0x42e697(0x156)]=!0x0:process[_0x42e697(0x1b7)](_0x95b68a,this):process[_0x42e697(0x1b7)](_0x95b68a,this);else{const _0x4897c7=this[_0x42e697(0x149)];this[_0x42e697(0x2c0)](),this[_0x42e697(0x2c0)]=this[_0x42e697(0x149)]=null,_0x4897c7[_0x42e697(0x197)](()=>{_0x95b68a(this);});}}}[_0x3e884a(0x18e)](_0x1a6c86){const _0x4b34cf=_0x3e884a;if(this['options']['path']){const _0x438470=_0x1a6c86['url'][_0x4b34cf(0x29b)]('?');if((_0x438470!==-0x1?_0x1a6c86[_0x4b34cf(0x22d)]['slice'](0x0,_0x438470):_0x1a6c86['url'])!==this[_0x4b34cf(0x142)]['path'])return!0x1;}return!0x0;}[_0x3e884a(0x2cc)](_0x93e004,_0x7260da,_0x1c3dd6,_0x54a9f5){const _0x427cfa=_0x3e884a;_0x7260da['on'](_0x427cfa(0x25b),_0x205a34);const _0x56d36f=_0x93e004[_0x427cfa(0x228)][_0x427cfa(0x29d)],_0x5eea5a=_0x93e004[_0x427cfa(0x228)][_0x427cfa(0x108)],_0x402744=+_0x93e004['headers']['sec-websocket-version'];if(_0x93e004['method']!==_0x427cfa(0x1a4)){_0x235333(this,_0x93e004,_0x7260da,0x195,_0x427cfa(0x2c1));return;}if(_0x5eea5a===void 0x0||_0x5eea5a[_0x427cfa(0x141)]()!==_0x427cfa(0x1f8)){_0x235333(this,_0x93e004,_0x7260da,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x56d36f===void 0x0||!_0xafa212[_0x427cfa(0x1c4)](_0x56d36f)){_0x235333(this,_0x93e004,_0x7260da,0x190,_0x427cfa(0x299));return;}if(_0x402744!==0x8&&_0x402744!==0xd){_0x235333(this,_0x93e004,_0x7260da,0x190,_0x427cfa(0x29e));return;}if(!this[_0x427cfa(0x18e)](_0x93e004)){_0x484075(_0x7260da,0x190);return;}const _0x37a5f0=_0x93e004[_0x427cfa(0x228)][_0x427cfa(0x26d)];let _0x5dc486=new Set();if(_0x37a5f0!==void 0x0)try{_0x5dc486=_0x2bf8cc[_0x427cfa(0x2a8)](_0x37a5f0);}catch{_0x235333(this,_0x93e004,_0x7260da,0x190,_0x427cfa(0x209));return;}const _0x257fab=_0x93e004[_0x427cfa(0x228)][_0x427cfa(0x109)],_0x4043f8={};if(this[_0x427cfa(0x142)][_0x427cfa(0x1af)]&&_0x257fab!==void 0x0){const _0x3fcc5e=new _0x4e21d2(this[_0x427cfa(0x142)][_0x427cfa(0x1af)],!0x0,this['options']['maxPayload']);try{const _0x2d73f7=_0x195569['parse'](_0x257fab);_0x2d73f7[_0x4e21d2[_0x427cfa(0x157)]]&&(_0x3fcc5e['accept'](_0x2d73f7[_0x4e21d2[_0x427cfa(0x157)]]),_0x4043f8[_0x4e21d2[_0x427cfa(0x157)]]=_0x3fcc5e);}catch{_0x235333(this,_0x93e004,_0x7260da,0x190,_0x427cfa(0x216));return;}}if(this[_0x427cfa(0x142)]['verifyClient']){const _0x33aac8={'origin':_0x93e004[_0x427cfa(0x228)][''+(_0x402744===0x8?_0x427cfa(0x1f5):_0x427cfa(0x246))],'secure':!!(_0x93e004[_0x427cfa(0x1c2)][_0x427cfa(0x146)]||_0x93e004['socket'][_0x427cfa(0x196)]),'req':_0x93e004};if(this[_0x427cfa(0x142)][_0x427cfa(0x289)]['length']===0x2){this['options']['verifyClient'](_0x33aac8,(_0x5bc438,_0x41e518,_0x50be5a,_0x3ace1a)=>{if(!_0x5bc438)return _0x484075(_0x7260da,_0x41e518||0x191,_0x50be5a,_0x3ace1a);this['completeUpgrade'](_0x4043f8,_0x56d36f,_0x5dc486,_0x93e004,_0x7260da,_0x1c3dd6,_0x54a9f5);});return;}if(!this[_0x427cfa(0x142)][_0x427cfa(0x289)](_0x33aac8))return _0x484075(_0x7260da,0x191);}this[_0x427cfa(0x17e)](_0x4043f8,_0x56d36f,_0x5dc486,_0x93e004,_0x7260da,_0x1c3dd6,_0x54a9f5);}[_0x3e884a(0x17e)](_0x27df87,_0x2a26ab,_0x45ee19,_0x26e562,_0x2d25c8,_0x14f2dd,_0x4df414){const _0x1fbc49=_0x3e884a;if(!_0x2d25c8[_0x1fbc49(0x1d0)]||!_0x2d25c8[_0x1fbc49(0x261)])return _0x2d25c8['destroy']();if(_0x2d25c8[_0x2dc133])throw new Error(_0x1fbc49(0x1c9));if(this['_state']>_0x20cc92)return _0x484075(_0x2d25c8,0x1f7);const _0xdd2b67=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x1fbc49(0x24d),_0x1fbc49(0x16c),_0x1fbc49(0x255)+_0x39633b('sha1')[_0x1fbc49(0x1e8)](_0x2a26ab+_0x3f8970)[_0x1fbc49(0x29f)]('base64')],_0x1e2162=new this[(_0x1fbc49(0x142))][(_0x1fbc49(0x1fc))](null,void 0x0,this['options']);if(_0x45ee19['size']){const _0x19633c=this[_0x1fbc49(0x142)]['handleProtocols']?this['options']['handleProtocols'](_0x45ee19,_0x26e562):_0x45ee19[_0x1fbc49(0x268)]()[_0x1fbc49(0x1a7)]()['value'];_0x19633c&&(_0xdd2b67[_0x1fbc49(0x1b1)](_0x1fbc49(0x2c5)+_0x19633c),_0x1e2162[_0x1fbc49(0x1a8)]=_0x19633c);}if(_0x27df87[_0x4e21d2[_0x1fbc49(0x157)]]){const _0x5f0f26=_0x27df87[_0x4e21d2[_0x1fbc49(0x157)]][_0x1fbc49(0x10b)],_0x1d7db0=_0x195569['format']({[_0x4e21d2[_0x1fbc49(0x157)]]:[_0x5f0f26]});_0xdd2b67[_0x1fbc49(0x1b1)](_0x1fbc49(0x116)+_0x1d7db0),_0x1e2162['_extensions']=_0x27df87;}this['emit'](_0x1fbc49(0x228),_0xdd2b67,_0x26e562),_0x2d25c8['write'](_0xdd2b67[_0x1fbc49(0x256)]('\x0d\x0a')[_0x1fbc49(0x106)]('\x0d\x0a')),_0x2d25c8['removeListener'](_0x1fbc49(0x25b),_0x205a34),_0x1e2162[_0x1fbc49(0x100)](_0x2d25c8,_0x14f2dd,{'allowSynchronousEvents':this[_0x1fbc49(0x142)]['allowSynchronousEvents'],'maxPayload':this[_0x1fbc49(0x142)][_0x1fbc49(0x1e7)],'skipUTF8Validation':this[_0x1fbc49(0x142)][_0x1fbc49(0x257)]}),this[_0x1fbc49(0x27d)]&&(this[_0x1fbc49(0x27d)][_0x1fbc49(0x1e5)](_0x1e2162),_0x1e2162['on'](_0x1fbc49(0x197),()=>{const _0x46ffd2=_0x1fbc49;this[_0x46ffd2(0x27d)][_0x46ffd2(0x1d4)](_0x1e2162),this['_shouldEmitClose']&&!this['clients'][_0x46ffd2(0x2b5)]&&process[_0x46ffd2(0x1b7)](_0x95b68a,this);})),_0x4df414(_0x1e2162,_0x26e562);}}Te=_0x56a022;function _0x3e8bb2(_0x5a5b1e,_0x14faf8){for(const _0x347ed2 of Object['keys'](_0x14faf8))_0x5a5b1e['on'](_0x347ed2,_0x14faf8[_0x347ed2]);return function(){const _0x58fe31=_0x2a43;for(const _0x52ae03 of Object[_0x58fe31(0x145)](_0x14faf8))_0x5a5b1e[_0x58fe31(0x135)](_0x52ae03,_0x14faf8[_0x52ae03]);};}function _0x95b68a(_0x109df0){const _0x1e7242=_0x3e884a;_0x109df0['_state']=_0x559d09,_0x109df0[_0x1e7242(0x1bf)](_0x1e7242(0x197));}function _0x205a34(){this['destroy']();}function _0x484075(_0x599203,_0xf125c9,_0x3cde29,_0x3336d9){const _0x46371b=_0x3e884a;_0x3cde29=_0x3cde29||_0x66dbd4[_0x46371b(0x1c7)][_0xf125c9],_0x3336d9={'Connection':_0x46371b(0x197),'Content-Type':_0x46371b(0x121),'Content-Length':Buffer['byteLength'](_0x3cde29),..._0x3336d9},_0x599203[_0x46371b(0x1c3)](_0x46371b(0x12d),_0x599203['destroy']),_0x599203[_0x46371b(0x27f)](_0x46371b(0x2a7)+_0xf125c9+'\x20'+_0x66dbd4[_0x46371b(0x1c7)][_0xf125c9]+'\x0d\x0a'+Object[_0x46371b(0x145)](_0x3336d9)[_0x46371b(0x14c)](_0x3ac1d8=>_0x3ac1d8+':\x20'+_0x3336d9[_0x3ac1d8])[_0x46371b(0x106)]('\x0d\x0a')+_0x46371b(0x11b)+_0x3cde29);}function _0x235333(_0x2dc25c,_0x3400e0,_0x4341b4,_0x5f4735,_0x53b09d){const _0x308007=_0x3e884a;if(_0x2dc25c['listenerCount'](_0x308007(0x23c))){const _0x2ce018=new Error(_0x53b09d);Error[_0x308007(0x161)](_0x2ce018,_0x235333),_0x2dc25c['emit'](_0x308007(0x23c),_0x2ce018,_0x4341b4,_0x3400e0);}else _0x484075(_0x4341b4,_0x5f4735,_0x53b09d);}return Te;}Ft();var jt=Object[_0x2f0501(0x16d)],Wt=(_0x11db54,_0x224775,_0xef52f7,_0x220c86)=>{const _0xa5a29f=_0x2f0501;for(var _0x3f53bb=_0x220c86>0x1?void 0x0:_0x220c86?jt(_0x224775,_0xef52f7):_0x224775,_0x46294c=_0x11db54[_0xa5a29f(0x1bc)]-0x1,_0x1a0b34;_0x46294c>=0x0;_0x46294c--)(_0x1a0b34=_0x11db54[_0x46294c])&&(_0x3f53bb=_0x1a0b34(_0x3f53bb)||_0x3f53bb);return _0x3f53bb;},qt=(_0x3f2320,_0xaa528c)=>(_0x3c8700,_0x37a5e0)=>_0xaa528c(_0x3c8700,_0x37a5e0,_0x3f2320);let ke=class extends A['Disposable']{constructor(_0x125658){const _0x186771=_0x2f0501;super(),this[_0x186771(0x276)]=_0x125658;}[_0x2f0501(0x21e)](_0x38a128){const _0x41617f=_0x2f0501;var _0xd64816;const _0x512796=(_0xd64816=this[_0x41617f(0x276)][_0x41617f(0x14e)](fe))==null?void 0x0:_0xd64816[_0x41617f(0x1a0)];try{const _0x4f852b=new $t(_0x38a128,{'headers':{..._0x512796}}),_0x10f857=new A[(_0x41617f(0x1f1))]();return{'URL':_0x38a128,'close':(_0x3b585f,_0x51303d)=>{const _0x5ad0a2=_0x41617f;_0x4f852b[_0x5ad0a2(0x197)](_0x3b585f,_0x51303d),_0x10f857[_0x5ad0a2(0x2be)]();},'send':_0x3ca4a0=>{const _0x48ab68=_0x41617f;_0x4f852b[_0x48ab68(0x212)](_0x3ca4a0);},'open$':new V[(_0x41617f(0x12a))](_0x25579d=>{const _0x54e95a=_0x41617f,_0x14f1ce=_0x4ef6ab=>_0x25579d[_0x54e95a(0x1a7)](_0x4ef6ab);_0x4f852b[_0x54e95a(0x1ba)](_0x54e95a(0x1f9),_0x14f1ce),_0x10f857['add'](A[_0x54e95a(0x269)](()=>_0x4f852b[_0x54e95a(0x229)]('open',_0x14f1ce)));})[_0x41617f(0x1db)](V[_0x41617f(0x262)]()),'close$':new V[(_0x41617f(0x12a))](_0x3d7966=>{const _0x15d673=_0x41617f,_0xbd7c00=_0x2af513=>_0x3d7966['next'](_0x2af513);_0x4f852b[_0x15d673(0x1ba)]('close',_0xbd7c00),_0x10f857[_0x15d673(0x1e5)](A[_0x15d673(0x269)](()=>_0x4f852b[_0x15d673(0x229)](_0x15d673(0x197),_0xbd7c00)));})['pipe'](V[_0x41617f(0x262)]()),'error$':new V[(_0x41617f(0x12a))](_0x1802b4=>{const _0x30300c=_0x41617f,_0x3ec125=_0x2ef761=>_0x1802b4[_0x30300c(0x1a7)](_0x2ef761);_0x4f852b[_0x30300c(0x1ba)](_0x30300c(0x25b),_0x3ec125),_0x10f857[_0x30300c(0x1e5)](A[_0x30300c(0x269)](()=>_0x4f852b[_0x30300c(0x229)](_0x30300c(0x25b),_0x3ec125)));})[_0x41617f(0x1db)](V['share']()),'message$':new V[(_0x41617f(0x12a))](_0x1f6d52=>{const _0x1f2720=_0x41617f,_0x38d04c=_0xf472d7=>_0x1f6d52[_0x1f2720(0x1a7)](_0xf472d7);_0x4f852b[_0x1f2720(0x1ba)]('message',_0x38d04c),_0x10f857[_0x1f2720(0x1e5)](A[_0x1f2720(0x269)](()=>_0x4f852b[_0x1f2720(0x229)](_0x1f2720(0x223),_0x38d04c)));})[_0x41617f(0x1db)](V[_0x41617f(0x262)]())};}catch(_0x222c64){return console['error'](_0x222c64),null;}}};ke=Wt([qt(0x0,A[_0x2f0501(0x133)])],ke);var Gt=Object[_0x2f0501(0x26c)],Vt=Object[_0x2f0501(0x16d)],Ht=(_0x2d1ef5,_0x3d7f0b,_0x443a19)=>_0x3d7f0b in _0x2d1ef5?Gt(_0x2d1ef5,_0x3d7f0b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x443a19}):_0x2d1ef5[_0x3d7f0b]=_0x443a19,zt=(_0x41718d,_0x3c160d,_0x26db71,_0x502255)=>{const _0x4d8935=_0x2f0501;for(var _0xbec139=_0x502255>0x1?void 0x0:_0x502255?Vt(_0x3c160d,_0x26db71):_0x3c160d,_0x5b333a=_0x41718d[_0x4d8935(0x1bc)]-0x1,_0x4636b5;_0x5b333a>=0x0;_0x5b333a--)(_0x4636b5=_0x41718d[_0x5b333a])&&(_0xbec139=_0x4636b5(_0xbec139)||_0xbec139);return _0xbec139;},Ne=(_0x12dd63,_0x3e20fa)=>(_0x404fa9,_0x14fcc6)=>_0x3e20fa(_0x404fa9,_0x14fcc6,_0x12dd63),Yt=(_0x732e1e,_0x48f45e,_0x3dbff4)=>Ht(_0x732e1e,_0x48f45e+'',_0x3dbff4);function _0x2a43(_0x42e78e,_0x5f03ae){const _0x3ba732=_0x3ba7();return _0x2a43=function(_0x2a43f6,_0x23fe9c){_0x2a43f6=_0x2a43f6-0xf8;let _0x245d76=_0x3ba732[_0x2a43f6];return _0x245d76;},_0x2a43(_0x42e78e,_0x5f03ae);}exports[_0x2f0501(0x13b)]=class extends A[_0x2f0501(0x192)]{constructor(_0x318be5=Ct,_0xf4f5e6,_0x5c010c,_0x4ef88d){const _0x24023b=_0x2f0501;_0x318be5[_0x24023b(0x1a0)]||_0xf4f5e6[_0x24023b(0x20e)](_0x24023b(0x13e)),super(),this[_0x24023b(0x276)]=_0x5c010c,this[_0x24023b(0x298)]=_0x4ef88d,this[_0x24023b(0x276)][_0x24023b(0x1ed)](fe,_0x318be5);}[_0x2f0501(0x247)](){const _0x2bb588=_0x2f0501;this[_0x2bb588(0x179)]();}[_0x2f0501(0x179)](){const _0x3051fe=_0x2f0501;A[_0x3051fe(0x2c6)](this[_0x3051fe(0x298)],[[it[_0x3051fe(0x167)],{'useClass':ke}]]);}},Yt(exports[_0x2f0501(0x13b)],_0x2f0501(0x198),_0x2f0501(0x200)),exports[_0x2f0501(0x13b)]=zt([A['DependentOn'](st[_0x2f0501(0x242)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x2f0501(0x133)]),Ne(0x3,A[_0x2f0501(0x154)](A[_0x2f0501(0x290)]))],exports[_0x2f0501(0x13b)]);var Kt=Object[_0x2f0501(0x16d)],Xt=(_0x314d48,_0x3c013a,_0x3c3cde,_0x10c611)=>{const _0x34f28a=_0x2f0501;for(var _0x2d7e5a=_0x10c611>0x1?void 0x0:_0x10c611?Kt(_0x3c013a,_0x3c3cde):_0x3c013a,_0x42aa22=_0x314d48[_0x34f28a(0x1bc)]-0x1,_0xe3df19;_0x42aa22>=0x0;_0x42aa22--)(_0xe3df19=_0x314d48[_0x42aa22])&&(_0x2d7e5a=_0xe3df19(_0x2d7e5a)||_0x2d7e5a);return _0x2d7e5a;},ne=(_0x311760,_0xbceb01)=>(_0x536da4,_0x3f5847)=>_0xbceb01(_0x536da4,_0x3f5847,_0x311760);exports[_0x2f0501(0x180)]=class extends st['CollaborationSocketService']{constructor(_0x396a37,_0x545712,_0x59b8f6,_0x5f2f8e,_0x122013){const _0x537613=_0x2f0501;super(_0x396a37,_0x545712,_0x59b8f6,_0x5f2f8e,_0x122013);const _0x4b9892=this[_0x537613(0x276)][_0x537613(0x14e)](fe);this[_0x537613(0x11a)]['registerHTTPInterceptor']({'interceptor':(_0x16e44c,_0x4096f1)=>{const _0x588359=_0x537613;var _0x48b091;const _0x5bf237=_0x16e44c['headers'];return(_0x48b091=_0x4b9892==null?void 0x0:_0x4b9892[_0x588359(0x1a0)])!=null&&_0x48b091[_0x588359(0x219)]&&_0x5bf237[_0x588359(0x1d1)](_0x588359(0x25f),_0x4b9892[_0x588359(0x1a0)][_0x588359(0x219)]),_0x4096f1(_0x16e44c);}});}async[_0x2f0501(0x21e)](_0x5525ee){return this['_doCreateSocket'](_0x5525ee);}},exports[_0x2f0501(0x180)]=Xt([ne(0x0,A['Inject'](A[_0x2f0501(0x290)])),ne(0x1,A[_0x2f0501(0x154)](it[_0x2f0501(0x124)])),ne(0x2,A[_0x2f0501(0x133)]),ne(0x3,A[_0x2f0501(0x16a)]),ne(0x4,Ot[_0x2f0501(0x2c8)])],exports[_0x2f0501(0x180)]),exports[_0x2f0501(0x143)]=fe;