@univerjs-pro/collaboration-client-node 0.6.10-experimental.20250410-b7c4a5b → 0.6.10-nightly.202504101607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x1f4ea3=_0x2c36;(function(_0x4da3ba,_0x2671d5){const _0x2454cc=_0x2c36,_0x3ea107=_0x4da3ba();while(!![]){try{const _0x72c1c3=-parseInt(_0x2454cc(0x261))/0x1*(-parseInt(_0x2454cc(0x26c))/0x2)+parseInt(_0x2454cc(0x1e3))/0x3*(parseInt(_0x2454cc(0x187))/0x4)+parseInt(_0x2454cc(0x2a9))/0x5*(-parseInt(_0x2454cc(0x1a4))/0x6)+-parseInt(_0x2454cc(0x188))/0x7+parseInt(_0x2454cc(0x2b4))/0x8+-parseInt(_0x2454cc(0x1ac))/0x9*(parseInt(_0x2454cc(0x27c))/0xa)+parseInt(_0x2454cc(0x30a))/0xb*(parseInt(_0x2454cc(0x286))/0xc);if(_0x72c1c3===_0x2671d5)break;else _0x3ea107['push'](_0x3ea107['shift']());}catch(_0x343edb){_0x3ea107['push'](_0x3ea107['shift']());}}}(_0x67d3,0xcd45d));Object[_0x1f4ea3(0x220)](exports,Symbol[_0x1f4ea3(0x23c)],{'value':_0x1f4ea3(0x30b)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require(_0x1f4ea3(0x2da)),St=require('net'),Et=require(_0x1f4ea3(0x296)),Le=require(_0x1f4ea3(0x153)),oe=require(_0x1f4ea3(0x181)),xt=require(_0x1f4ea3(0x278)),bt=require(_0x1f4ea3(0x283)),wt=require('buffer'),Ot=require(_0x1f4ea3(0x264)),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x5d7958){const _0x482002=_0x1f4ea3;return _0x5d7958&&_0x5d7958['__esModule']&&Object[_0x482002(0x2d7)]['hasOwnProperty'][_0x482002(0x195)](_0x5d7958,_0x482002(0x23a))?_0x5d7958['default']:_0x5d7958;}function at(_0x3a27f2){const _0xbb41ef=_0x1f4ea3;if(Object['prototype']['hasOwnProperty'][_0xbb41ef(0x195)](_0x3a27f2,_0xbb41ef(0x256)))return _0x3a27f2;var _0x3ca183=_0x3a27f2['default'];if(typeof _0x3ca183==_0xbb41ef(0x28a)){var _0x3e91b4=function _0x18cba3(){const _0x15683d=_0xbb41ef;return this instanceof _0x18cba3?Reflect['construct'](_0x3ca183,arguments,this[_0x15683d(0x29d)]):_0x3ca183[_0x15683d(0x171)](this,arguments);};_0x3e91b4[_0xbb41ef(0x2d7)]=_0x3ca183[_0xbb41ef(0x2d7)];}else _0x3e91b4={};return Object[_0xbb41ef(0x220)](_0x3e91b4,_0xbb41ef(0x256),{'value':!0x0}),Object[_0xbb41ef(0x301)](_0x3a27f2)[_0xbb41ef(0x1d0)](function(_0x5cb125){const _0x10c750=_0xbb41ef;var _0xd01f10=Object[_0x10c750(0x1dd)](_0x3a27f2,_0x5cb125);Object[_0x10c750(0x220)](_0x3e91b4,_0x5cb125,_0xd01f10['get']?_0xd01f10:{'enumerable':!0x0,'get':function(){return _0x3a27f2[_0x5cb125];}});}),_0x3e91b4;}var se={'exports':{}},ge,Ge;function H(){const _0x1d0deb=_0x1f4ea3;if(Ge)return ge;Ge=0x1;const _0x3ae97b=[_0x1d0deb(0x2e3),_0x1d0deb(0x2ff),_0x1d0deb(0x2bf)],_0x44bea0=typeof Blob<'u';return _0x44bea0&&_0x3ae97b[_0x1d0deb(0x1df)](_0x1d0deb(0x1c8)),ge={'BINARY_TYPES':_0x3ae97b,'EMPTY_BUFFER':Buffer[_0x1d0deb(0x2e8)](0x0),'GUID':_0x1d0deb(0x1bc),'hasBlob':_0x44bea0,'kForOnEventAttribute':Symbol(_0x1d0deb(0x300)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x1d0deb(0x18e)),'kWebSocket':Symbol(_0x1d0deb(0x1fe)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0x1f4ea3(0x220)]({'__proto__':null,'default':Nt},Symbol[_0x1f4ea3(0x23c)],{'value':_0x1f4ea3(0x30b)})),Lt=at(kt);var Ve;function ce(){const _0x3c5ac5=_0x1f4ea3;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0xb6660a}=H(),_0x58b610=Buffer[Symbol['species']];function _0x5ca084(_0x502d29,_0x212ac4){const _0x520b92=_0x2c36;if(_0x502d29[_0x520b92(0x2ba)]===0x0)return _0xb6660a;if(_0x502d29[_0x520b92(0x2ba)]===0x1)return _0x502d29[0x0];const _0x15a874=Buffer[_0x520b92(0x2be)](_0x212ac4);let _0x2fd4a3=0x0;for(let _0x9df18c=0x0;_0x9df18c<_0x502d29['length'];_0x9df18c++){const _0x4d5a4e=_0x502d29[_0x9df18c];_0x15a874[_0x520b92(0x2ad)](_0x4d5a4e,_0x2fd4a3),_0x2fd4a3+=_0x4d5a4e[_0x520b92(0x2ba)];}return _0x2fd4a3<_0x212ac4?new _0x58b610(_0x15a874['buffer'],_0x15a874['byteOffset'],_0x2fd4a3):_0x15a874;}function _0x27ae4b(_0x341c09,_0x15aa90,_0x3bbebd,_0x5147d3,_0x488976){for(let _0xaaefdd=0x0;_0xaaefdd<_0x488976;_0xaaefdd++)_0x3bbebd[_0x5147d3+_0xaaefdd]=_0x341c09[_0xaaefdd]^_0x15aa90[_0xaaefdd&0x3];}function _0x18994a(_0x5b168c,_0x2e1017){for(let _0x2a8fac=0x0;_0x2a8fac<_0x5b168c['length'];_0x2a8fac++)_0x5b168c[_0x2a8fac]^=_0x2e1017[_0x2a8fac&0x3];}function _0x29f91b(_0x5390e3){const _0x2d4225=_0x2c36;return _0x5390e3[_0x2d4225(0x2ba)]===_0x5390e3['buffer'][_0x2d4225(0x243)]?_0x5390e3[_0x2d4225(0x1c6)]:_0x5390e3[_0x2d4225(0x1c6)][_0x2d4225(0x2c0)](_0x5390e3[_0x2d4225(0x22e)],_0x5390e3[_0x2d4225(0x22e)]+_0x5390e3[_0x2d4225(0x2ba)]);}function _0x37197f(_0x5b3027){const _0x27c0f4=_0x2c36;if(_0x37197f[_0x27c0f4(0x244)]=!0x0,Buffer[_0x27c0f4(0x217)](_0x5b3027))return _0x5b3027;let _0x179df8;return _0x5b3027 instanceof ArrayBuffer?_0x179df8=new _0x58b610(_0x5b3027):ArrayBuffer['isView'](_0x5b3027)?_0x179df8=new _0x58b610(_0x5b3027['buffer'],_0x5b3027[_0x27c0f4(0x22e)],_0x5b3027[_0x27c0f4(0x243)]):(_0x179df8=Buffer[_0x27c0f4(0x25f)](_0x5b3027),_0x37197f[_0x27c0f4(0x244)]=!0x1),_0x179df8;}if(se[_0x3c5ac5(0x293)]={'concat':_0x5ca084,'mask':_0x27ae4b,'toArrayBuffer':_0x29f91b,'toBuffer':_0x37197f,'unmask':_0x18994a},!process[_0x3c5ac5(0x15f)]['WS_NO_BUFFER_UTIL'])try{const _0x3f1f90=Lt;se[_0x3c5ac5(0x293)]['mask']=function(_0x10a7ec,_0x395f5c,_0x29b866,_0x5a756b,_0x17e29a){const _0x161600=_0x3c5ac5;_0x17e29a<0x30?_0x27ae4b(_0x10a7ec,_0x395f5c,_0x29b866,_0x5a756b,_0x17e29a):_0x3f1f90[_0x161600(0x295)](_0x10a7ec,_0x395f5c,_0x29b866,_0x5a756b,_0x17e29a);},se['exports']['unmask']=function(_0x1abfc0,_0x137bcc){const _0xf59dbd=_0x3c5ac5;_0x1abfc0[_0xf59dbd(0x2ba)]<0x20?_0x18994a(_0x1abfc0,_0x137bcc):_0x3f1f90['unmask'](_0x1abfc0,_0x137bcc);};}catch{}return se[_0x3c5ac5(0x293)];}function _0x67d3(){const _0x157714=['kByteLength','abort','_protocol','hostname','Z_SYNC_FLUSH','createInflateRaw','timeout','11ebMvWk','Module','writeHead','The\x20\x22','IConfigService','Inject','_inflate','sec-websocket-key','replace','crypto','bind','entries','protocolVersion','ping','pathname','verifyClient','species','HTTPService','warn','DependentOn','extensionName','env','_state','_final','Server\x20sent\x20an\x20invalid\x20subprotocol','createSocket','charCodeAt','_write','perMessageDeflate','server_max_window_bits','method','_closeFrameReceived','HTTP/1.1\x20','Invalid\x20HTTP\x20method','pipe','permessage-deflate','autoPong','ISocketService','size','apply','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','objectMode','registerHTTPInterceptor','sendFrame','digest','Invalid\x20Sec-WebSocket-Accept\x20header','_no_context_takeover','options','UniverCollaborationClientPlugin','pause','ws+unix:','_originalHostOrSocketPath','once','_autoPong','stream','Max\x20payload\x20size\x20exceeded','Server\x20sent\x20no\x20subprotocol','listen','reason','toDisposable','1589492NFCwpr','8066611EKhrIh','The\x20URL\x27s\x20pathname\x20is\x20empty','dequeue','kCode','_configService','socketPath','status-code','create','href','_doCreateSocket','clients','object','parse','call','Sec-WebSocket-Origin','client_max_window_bits','redirect','backlog','auth','enqueue','_originalIpc','toString','MASK\x20must\x20be\x20set','_writableState','WS_ERR_UNEXPECTED_RSV_2_3','_closeCode','CONNECTING','indexOf','258ORdPlC','getInfo','path','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','getBlobData','nextTick','search','startLoop','123165QoEdhB','CLOSING','_closeFrameSent','STATUS_CODES','normalizeParams','concurrencyLimit','readyState','\x22\x20subprotocol\x20is\x20duplicated','_removeListeners','getPayloadLength64','CollaborationSocketService','maxRedirects','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','MASK\x20must\x20be\x20clear','type','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','next','_closeMessage','finishRequest','sec-websocket-extensions','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','customHeaders','end','wasClean','_maxPayload','buffer','Unsupported\x20protocol\x20version:\x20','blob','GET','jobs','frame','listenerCount','followRedirects','text/html','_paused','forEach','kData','setConfig','_closeTimer','createDeflateRaw','authorized','accept','sha1','_receiver','getPayloadLength16','startsWith','kRun','readable','getOwnPropertyDescriptor','socket','push','wsClientError','registerDependencies','noServer','9qiYdeJ','Invalid\x20URL:\x20','find','_firstFragment','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_threshold','binary','arrayBuffer','client_no_context_takeover','onclose','response','_readableState','_compress','completeUpgrade','_injector','encrypted','clientNoContextTakeover','emitClose','sec-websocket-protocol','test','kAborted','map','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','finish','params','_server','hash','websocket','_bufferedBytes','getConfig','origin','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_readyState','_loop','Unknown\x20parameter\x20\x22','toLowerCase','_url','Origin','CLOSED','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_compressed','connection','onmessage','WS_ERR_INVALID_OPCODE','then','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','setHeader','pong','WS_ERR_UNEXPECTED_RSV_1','_redirects','createServer','\x0d\x0a\x0d\x0a','isBuffer','Plugin','Unexpected\x20server\x20response:\x20','Sec-WebSocket-Protocol','endEmitted','setSocket','UniverCollaborationClientNodePlugin','cookie','error','defineProperty','request','Invalid\x20Upgrade\x20header','Unexpected\x20end\x20of\x20input','serverMaxWindowBits','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','headers','number','writeUIntBE','write','OPEN','RSV1\x20must\x20be\x20clear','add','password','byteOffset','onerror','serverNoContextTakeover','kMessage','Opening\x20handshake\x20has\x20timed\x20out','isArray','kWasClean','_messageLength','dataMessage','servername','removeAllListeners','Upgrade','default','Injector','toStringTag','consume','kType','\x22\x20must\x20have\x20only\x20a\x20single\x20value','authorization','_sender','value','byteLength','readOnly','split','share','_mask','Sec-WebSocket-Extensions:\x20','invalid\x20UTF-8\x20sequence','invalid\x20opcode\x200','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','createError','Blob','NodeCollaborationSocketService','Invalid\x20Sec-WebSocket-Extensions\x20header','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','uncork','zlibDeflateOptions','message','ws:','__esModule','bufferedAmount','_totalPayloadLength','cleanup','resume','host','clientMaxWindowBits','WS_ERR_EXPECTED_MASK','defaultPort','from','kError','24142zhoEhz','_errored','HTTP/1.1\x20101\x20Switching\x20Protocols','@univerjs-pro/collaboration','_buffers','writeUInt16BE','onStarting','_allowSynchronousEvents','Parameter\x20\x22','_payloadLength','_originalSecure','8nQLKIX','buffers','port','flush','needDrain','_decompress','format','_skipUTF8Validation','skipUTF8Validation','handleUpgrade','Invalid\x20WebSocket\x20frame:\x20','statusCode','url','_bufferedAmount','Sec-WebSocket-Protocol:\x20','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','50AykauB','_queue','removeListener','target','removeEventListener','text/plain','acceptAsClient','zlib','destroyed','upgrade','12861804TnqQxk','_isServer','_deflate','allowSynchronousEvents','function','shift','open','opcode','Sec-WebSocket-Extensions','_errorEmitted','errorEmitted','send','_shouldEmitClose','exports','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','mask','tls','captureStackTrace','_fragments','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','threshold','_binaryType','protocol','constructor','maxPayload','_options','createConnection','WS_ERR_INVALID_UTF8','_fin','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_opcode','binaryType','client','Z_DEFAULT_WINDOWBITS','join','45730sdoqEK','conclude','_httpService','File','set','extensions','dispatch','base64','ILogService','reset','username','754952fcZBnC','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','close','readUInt16BE','_fragmented','sec-websocket-accept','length','emit','getMask','compress','allocUnsafe','fragments','slice','setTimeout','string','server','_read','Unexpected\x20character\x20at\x20index\x20','isValidUTF8','listening','kReason','values','_socket','isPaused','data','_extensions','kTarget','rsv1','_masked','Observable','haveLength','Invalid\x20value\x20for\x20parameter\x20\x22','addEventListener','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','pending','prototype','Sec-WebSocket-Accept:\x20','server_no_context_takeover','http','WebSocket','_generateMask','onopen','terminate','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','includes','WebSocket\x20is\x20not\x20open:\x20readyState\x20','handleProtocols','nodebuffer','catch','Invalid\x20Sec-WebSocket-Protocol\x20header','pow','concurrency','alloc','_registerDependencies','fin','listeners','decompress','DisposableCollection','invalid\x20opcode\x20','finished','generateMask','Disposable','offer','\x22:\x20','concat','readUInt32BE','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','handleEvent','isInteger','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_req','shouldHandle','has','WS_NO_UTF_8_VALIDATE','code','arraybuffer','kIsForOnEventAttribute','keys','destroy'];_0x67d3=function(){return _0x157714;};return _0x67d3();}function _0x2c36(_0x2ce11a,_0x1b4c68){const _0x67d343=_0x67d3();return _0x2c36=function(_0x2c361f,_0x451362){_0x2c361f=_0x2c361f-0x14e;let _0x200ec0=_0x67d343[_0x2c361f];return _0x200ec0;},_0x2c36(_0x2ce11a,_0x1b4c68);}var ye,He;function Pt(){const _0x121fcd=_0x1f4ea3;if(He)return ye;He=0x1;const _0x310cfe=Symbol('kDone'),_0x3bf617=Symbol(_0x121fcd(0x1db));class _0x5ce586{constructor(_0x40ee81){const _0x1b9272=_0x121fcd;this[_0x310cfe]=()=>{this['pending']--,this[_0x3bf617]();},this[_0x1b9272(0x2e7)]=_0x40ee81||0x1/0x0,this[_0x1b9272(0x1ca)]=[],this[_0x1b9272(0x2d6)]=0x0;}[_0x121fcd(0x22c)](_0x44c5f3){const _0x61d532=_0x121fcd;this[_0x61d532(0x1ca)]['push'](_0x44c5f3),this[_0x3bf617]();}[_0x3bf617](){const _0x35f4e1=_0x121fcd;if(this[_0x35f4e1(0x2d6)]!==this['concurrency']&&this['jobs'][_0x35f4e1(0x2ba)]){const _0x302ad0=this[_0x35f4e1(0x1ca)][_0x35f4e1(0x28b)]();this[_0x35f4e1(0x2d6)]++,_0x302ad0(this[_0x310cfe]);}}}return ye=_0x5ce586,ye;}var ve,ze;function he(){const _0x2a23fd=_0x1f4ea3;if(ze)return ve;ze=0x1;const _0x2be2b2=bt,_0x2aabd8=ce(),_0x5689a0=Pt(),{kStatusCode:_0x1ab35c}=H(),_0x186c66=Buffer[Symbol[_0x2a23fd(0x15a)]],_0x34cfa4=Buffer['from']([0x0,0x0,0xff,0xff]),_0x476f71=Symbol(_0x2a23fd(0x16d)),_0x3dd80c=Symbol('total-length'),_0x599a42=Symbol('callback'),_0x10676c=Symbol(_0x2a23fd(0x26d)),_0x480912=Symbol(_0x2a23fd(0x21f));let _0x54023d;class _0x2055a0{constructor(_0x1ab644,_0x337f6f,_0x1c4d91){const _0x517484=_0x2a23fd;if(this[_0x517484(0x1c5)]=_0x1c4d91|0x0,this[_0x517484(0x29f)]=_0x1ab644||{},this[_0x517484(0x1e8)]=this[_0x517484(0x29f)]['threshold']!==void 0x0?this[_0x517484(0x29f)][_0x517484(0x29a)]:0x400,this[_0x517484(0x287)]=!!_0x337f6f,this['_deflate']=null,this[_0x517484(0x150)]=null,this[_0x517484(0x1fb)]=null,!_0x54023d){const _0x1f5e7a=this[_0x517484(0x29f)][_0x517484(0x1b1)]!==void 0x0?this[_0x517484(0x29f)][_0x517484(0x1b1)]:0xa;_0x54023d=new _0x5689a0(_0x1f5e7a);}}static get['extensionName'](){const _0x13873c=_0x2a23fd;return _0x13873c(0x16d);}[_0x2a23fd(0x2f2)](){const _0xccde3b=_0x2a23fd,_0x280196={};return this[_0xccde3b(0x29f)][_0xccde3b(0x230)]&&(_0x280196[_0xccde3b(0x2d9)]=!0x0),this[_0xccde3b(0x29f)]['clientNoContextTakeover']&&(_0x280196[_0xccde3b(0x1eb)]=!0x0),this['_options'][_0xccde3b(0x224)]&&(_0x280196['server_max_window_bits']=this[_0xccde3b(0x29f)][_0xccde3b(0x224)]),this[_0xccde3b(0x29f)][_0xccde3b(0x25c)]?_0x280196[_0xccde3b(0x197)]=this[_0xccde3b(0x29f)]['clientMaxWindowBits']:this['_options'][_0xccde3b(0x25c)]==null&&(_0x280196['client_max_window_bits']=!0x0),_0x280196;}['accept'](_0x4ec941){const _0x3b9a10=_0x2a23fd;return _0x4ec941=this['normalizeParams'](_0x4ec941),this['params']=this[_0x3b9a10(0x287)]?this['acceptAsServer'](_0x4ec941):this[_0x3b9a10(0x282)](_0x4ec941),this['params'];}['cleanup'](){const _0x438a97=_0x2a23fd;if(this['_inflate']&&(this[_0x438a97(0x150)]['close'](),this[_0x438a97(0x150)]=null),this[_0x438a97(0x288)]){const _0xf4e9c8=this[_0x438a97(0x288)][_0x599a42];this[_0x438a97(0x288)][_0x438a97(0x2b6)](),this[_0x438a97(0x288)]=null,_0xf4e9c8&&_0xf4e9c8(new Error(_0x438a97(0x210)));}}['acceptAsServer'](_0x55fe81){const _0x2f2c2e=_0x2a23fd,_0x59b8b3=this[_0x2f2c2e(0x29f)],_0x32106f=_0x55fe81[_0x2f2c2e(0x1e5)](_0x52ca3d=>!(_0x59b8b3[_0x2f2c2e(0x230)]===!0x1&&_0x52ca3d[_0x2f2c2e(0x2d9)]||_0x52ca3d[_0x2f2c2e(0x167)]&&(_0x59b8b3[_0x2f2c2e(0x224)]===!0x1||typeof _0x59b8b3[_0x2f2c2e(0x224)]==_0x2f2c2e(0x227)&&_0x59b8b3['serverMaxWindowBits']>_0x52ca3d[_0x2f2c2e(0x167)])||typeof _0x59b8b3['clientMaxWindowBits']==_0x2f2c2e(0x227)&&!_0x52ca3d[_0x2f2c2e(0x197)]));if(!_0x32106f)throw new Error(_0x2f2c2e(0x202));return _0x59b8b3[_0x2f2c2e(0x230)]&&(_0x32106f[_0x2f2c2e(0x2d9)]=!0x0),_0x59b8b3[_0x2f2c2e(0x1f3)]&&(_0x32106f[_0x2f2c2e(0x1eb)]=!0x0),typeof _0x59b8b3[_0x2f2c2e(0x224)]==_0x2f2c2e(0x227)&&(_0x32106f[_0x2f2c2e(0x167)]=_0x59b8b3[_0x2f2c2e(0x224)]),typeof _0x59b8b3[_0x2f2c2e(0x25c)]=='number'?_0x32106f[_0x2f2c2e(0x197)]=_0x59b8b3[_0x2f2c2e(0x25c)]:(_0x32106f[_0x2f2c2e(0x197)]===!0x0||_0x59b8b3['clientMaxWindowBits']===!0x1)&&delete _0x32106f[_0x2f2c2e(0x197)],_0x32106f;}['acceptAsClient'](_0x2eaf20){const _0x2a2518=_0x2a23fd,_0x8d0ca8=_0x2eaf20[0x0];if(this[_0x2a2518(0x29f)][_0x2a2518(0x1f3)]===!0x1&&_0x8d0ca8[_0x2a2518(0x1eb)])throw new Error(_0x2a2518(0x2f6));if(!_0x8d0ca8[_0x2a2518(0x197)])typeof this[_0x2a2518(0x29f)][_0x2a2518(0x25c)]==_0x2a2518(0x227)&&(_0x8d0ca8['client_max_window_bits']=this['_options'][_0x2a2518(0x25c)]);else{if(this[_0x2a2518(0x29f)][_0x2a2518(0x25c)]===!0x1||typeof this[_0x2a2518(0x29f)][_0x2a2518(0x25c)]==_0x2a2518(0x227)&&_0x8d0ca8[_0x2a2518(0x197)]>this[_0x2a2518(0x29f)]['clientMaxWindowBits'])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x8d0ca8;}[_0x2a23fd(0x1b0)](_0x287a49){return _0x287a49['forEach'](_0x54fcd2=>{const _0x160778=_0x2c36;Object[_0x160778(0x301)](_0x54fcd2)[_0x160778(0x1d0)](_0x128945=>{const _0xa52d74=_0x160778;let _0x1f4564=_0x54fcd2[_0x128945];if(_0x1f4564['length']>0x1)throw new Error(_0xa52d74(0x269)+_0x128945+_0xa52d74(0x23f));if(_0x1f4564=_0x1f4564[0x0],_0x128945==='client_max_window_bits'){if(_0x1f4564!==!0x0){const _0x25d038=+_0x1f4564;if(!Number[_0xa52d74(0x2f8)](_0x25d038)||_0x25d038<0x8||_0x25d038>0xf)throw new TypeError(_0xa52d74(0x2d3)+_0x128945+_0xa52d74(0x2f3)+_0x1f4564);_0x1f4564=_0x25d038;}else{if(!this[_0xa52d74(0x287)])throw new TypeError(_0xa52d74(0x2d3)+_0x128945+'\x22:\x20'+_0x1f4564);}}else{if(_0x128945===_0xa52d74(0x167)){const _0x5c2898=+_0x1f4564;if(!Number['isInteger'](_0x5c2898)||_0x5c2898<0x8||_0x5c2898>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x128945+'\x22:\x20'+_0x1f4564);_0x1f4564=_0x5c2898;}else{if(_0x128945===_0xa52d74(0x1eb)||_0x128945==='server_no_context_takeover'){if(_0x1f4564!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x128945+_0xa52d74(0x2f3)+_0x1f4564);}else throw new Error(_0xa52d74(0x205)+_0x128945+'\x22');}}_0x54fcd2[_0x128945]=_0x1f4564;});}),_0x287a49;}[_0x2a23fd(0x2ec)](_0x3a35b5,_0x3ced02,_0xe686c6){_0x54023d['add'](_0x489b3d=>{const _0x20a3d9=_0x2c36;this[_0x20a3d9(0x271)](_0x3a35b5,_0x3ced02,(_0x55d0a9,_0xfbbea7)=>{_0x489b3d(),_0xe686c6(_0x55d0a9,_0xfbbea7);});});}['compress'](_0x19df55,_0x26d7c6,_0x532706){_0x54023d['add'](_0xf7eadc=>{const _0xe9765c=_0x2c36;this[_0xe9765c(0x1ef)](_0x19df55,_0x26d7c6,(_0x3d58bb,_0x4907db)=>{_0xf7eadc(),_0x532706(_0x3d58bb,_0x4907db);});});}[_0x2a23fd(0x271)](_0x1d31ab,_0x303918,_0x3a304e){const _0x58880c=_0x2a23fd,_0x47f65a=this[_0x58880c(0x287)]?_0x58880c(0x2a6):_0x58880c(0x2c3);if(!this['_inflate']){const _0x2c4c56=_0x47f65a+'_max_window_bits',_0xb68806=typeof this[_0x58880c(0x1fb)][_0x2c4c56]!=_0x58880c(0x227)?_0x2be2b2[_0x58880c(0x2a7)]:this['params'][_0x2c4c56];this[_0x58880c(0x150)]=_0x2be2b2[_0x58880c(0x308)]({...this[_0x58880c(0x29f)]['zlibInflateOptions'],'windowBits':_0xb68806}),this[_0x58880c(0x150)][_0x476f71]=this,this[_0x58880c(0x150)][_0x3dd80c]=0x0,this[_0x58880c(0x150)][_0x10676c]=[],this['_inflate']['on'](_0x58880c(0x21f),_0x115bfa),this[_0x58880c(0x150)]['on'](_0x58880c(0x2cc),_0x1be66a);}this['_inflate'][_0x599a42]=_0x3a304e,this[_0x58880c(0x150)]['write'](_0x1d31ab),_0x303918&&this[_0x58880c(0x150)][_0x58880c(0x229)](_0x34cfa4),this['_inflate'][_0x58880c(0x26f)](()=>{const _0x296726=_0x58880c,_0x486168=this[_0x296726(0x150)][_0x480912];if(_0x486168){this[_0x296726(0x150)]['close'](),this[_0x296726(0x150)]=null,_0x3a304e(_0x486168);return;}const _0x1d3d53=_0x2aabd8[_0x296726(0x2f4)](this[_0x296726(0x150)][_0x10676c],this[_0x296726(0x150)][_0x3dd80c]);this['_inflate'][_0x296726(0x1ee)][_0x296726(0x21b)]?(this['_inflate'][_0x296726(0x2b6)](),this['_inflate']=null):(this[_0x296726(0x150)][_0x3dd80c]=0x0,this[_0x296726(0x150)][_0x10676c]=[],_0x303918&&this[_0x296726(0x1fb)][_0x47f65a+_0x296726(0x179)]&&this[_0x296726(0x150)]['reset']()),_0x3a304e(null,_0x1d3d53);});}[_0x2a23fd(0x1ef)](_0x402c27,_0xf9dc06,_0x41ea70){const _0x274725=_0x2a23fd,_0x436451=this[_0x274725(0x287)]?_0x274725(0x2c3):_0x274725(0x2a6);if(!this[_0x274725(0x288)]){const _0x23eccf=_0x436451+'_max_window_bits',_0x48c7c0=typeof this['params'][_0x23eccf]!=_0x274725(0x227)?_0x2be2b2[_0x274725(0x2a7)]:this[_0x274725(0x1fb)][_0x23eccf];this[_0x274725(0x288)]=_0x2be2b2[_0x274725(0x1d4)]({...this['_options'][_0x274725(0x253)],'windowBits':_0x48c7c0}),this[_0x274725(0x288)][_0x3dd80c]=0x0,this[_0x274725(0x288)][_0x10676c]=[],this[_0x274725(0x288)]['on'](_0x274725(0x2cc),_0x7f4ae6);}this[_0x274725(0x288)][_0x599a42]=_0x41ea70,this[_0x274725(0x288)][_0x274725(0x229)](_0x402c27),this[_0x274725(0x288)][_0x274725(0x26f)](_0x2be2b2[_0x274725(0x307)],()=>{const _0x5ab274=_0x274725;if(!this['_deflate'])return;let _0x546e3c=_0x2aabd8[_0x5ab274(0x2f4)](this[_0x5ab274(0x288)][_0x10676c],this[_0x5ab274(0x288)][_0x3dd80c]);_0xf9dc06&&(_0x546e3c=new _0x186c66(_0x546e3c[_0x5ab274(0x1c6)],_0x546e3c[_0x5ab274(0x22e)],_0x546e3c[_0x5ab274(0x2ba)]-0x4)),this[_0x5ab274(0x288)][_0x599a42]=null,this['_deflate'][_0x3dd80c]=0x0,this[_0x5ab274(0x288)][_0x10676c]=[],_0xf9dc06&&this[_0x5ab274(0x1fb)][_0x436451+'_no_context_takeover']&&this[_0x5ab274(0x288)]['reset'](),_0x41ea70(null,_0x546e3c);});}}ve=_0x2055a0;function _0x7f4ae6(_0x55d009){const _0x321ce8=_0x2a23fd;this[_0x10676c][_0x321ce8(0x1df)](_0x55d009),this[_0x3dd80c]+=_0x55d009[_0x321ce8(0x2ba)];}function _0x1be66a(_0x284e4b){const _0x32f65d=_0x2a23fd;if(this[_0x3dd80c]+=_0x284e4b[_0x32f65d(0x2ba)],this[_0x476f71][_0x32f65d(0x1c5)]<0x1||this[_0x3dd80c]<=this[_0x476f71][_0x32f65d(0x1c5)]){this[_0x10676c][_0x32f65d(0x1df)](_0x284e4b);return;}this[_0x480912]=new RangeError(_0x32f65d(0x182)),this[_0x480912][_0x32f65d(0x2fe)]=_0x32f65d(0x1f9),this[_0x480912][_0x1ab35c]=0x3f1,this[_0x32f65d(0x27e)]('data',_0x1be66a),this[_0x32f65d(0x2b2)]();}function _0x115bfa(_0x2f1f3b){const _0x516579=_0x2a23fd;this[_0x476f71][_0x516579(0x150)]=null,_0x2f1f3b[_0x1ab35c]=0x3ef,this[_0x599a42](_0x2f1f3b);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x1f4ea3(0x220)]({'__proto__':null,'default':Dt},Symbol[_0x1f4ea3(0x23c)],{'value':_0x1f4ea3(0x30b)})),Bt=at(Rt);var Ye;function ae(){const _0x508bd2=_0x1f4ea3;if(Ye)return ie[_0x508bd2(0x293)];Ye=0x1;const {isUtf8:_0x461195}=wt,{hasBlob:_0x2026c1}=H(),_0x376ca8=[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 _0x137913(_0x5e5435){return _0x5e5435>=0x3e8&&_0x5e5435<=0x3f6&&_0x5e5435!==0x3ec&&_0x5e5435!==0x3ed&&_0x5e5435!==0x3ee||_0x5e5435>=0xbb8&&_0x5e5435<=0x1387;}function _0x3a8733(_0x15714d){const _0x43e30f=_0x508bd2,_0x5b4133=_0x15714d[_0x43e30f(0x2ba)];let _0x34c253=0x0;for(;_0x34c253<_0x5b4133;)if((_0x15714d[_0x34c253]&0x80)===0x0)_0x34c253++;else{if((_0x15714d[_0x34c253]&0xe0)===0xc0){if(_0x34c253+0x1===_0x5b4133||(_0x15714d[_0x34c253+0x1]&0xc0)!==0x80||(_0x15714d[_0x34c253]&0xfe)===0xc0)return!0x1;_0x34c253+=0x2;}else{if((_0x15714d[_0x34c253]&0xf0)===0xe0){if(_0x34c253+0x2>=_0x5b4133||(_0x15714d[_0x34c253+0x1]&0xc0)!==0x80||(_0x15714d[_0x34c253+0x2]&0xc0)!==0x80||_0x15714d[_0x34c253]===0xe0&&(_0x15714d[_0x34c253+0x1]&0xe0)===0x80||_0x15714d[_0x34c253]===0xed&&(_0x15714d[_0x34c253+0x1]&0xe0)===0xa0)return!0x1;_0x34c253+=0x3;}else{if((_0x15714d[_0x34c253]&0xf8)===0xf0){if(_0x34c253+0x3>=_0x5b4133||(_0x15714d[_0x34c253+0x1]&0xc0)!==0x80||(_0x15714d[_0x34c253+0x2]&0xc0)!==0x80||(_0x15714d[_0x34c253+0x3]&0xc0)!==0x80||_0x15714d[_0x34c253]===0xf0&&(_0x15714d[_0x34c253+0x1]&0xf0)===0x80||_0x15714d[_0x34c253]===0xf4&&_0x15714d[_0x34c253+0x1]>0x8f||_0x15714d[_0x34c253]>0xf4)return!0x1;_0x34c253+=0x4;}else return!0x1;}}}return!0x0;}function _0x529569(_0xc8a2a4){const _0x24c56b=_0x508bd2;return _0x2026c1&&typeof _0xc8a2a4=='object'&&typeof _0xc8a2a4[_0x24c56b(0x1ea)]==_0x24c56b(0x28a)&&typeof _0xc8a2a4[_0x24c56b(0x1ba)]==_0x24c56b(0x2c2)&&typeof _0xc8a2a4[_0x24c56b(0x181)]==_0x24c56b(0x28a)&&(_0xc8a2a4[Symbol['toStringTag']]===_0x24c56b(0x24e)||_0xc8a2a4[Symbol[_0x24c56b(0x23c)]]===_0x24c56b(0x2ac));}if(ie[_0x508bd2(0x293)]={'isBlob':_0x529569,'isValidStatusCode':_0x137913,'isValidUTF8':_0x3a8733,'tokenChars':_0x376ca8},_0x461195)ie['exports']['isValidUTF8']=function(_0x332f98){return _0x332f98['length']<0x18?_0x3a8733(_0x332f98):_0x461195(_0x332f98);};else{if(!process[_0x508bd2(0x15f)][_0x508bd2(0x2fd)])try{const _0x38f113=Bt;ie[_0x508bd2(0x293)][_0x508bd2(0x2c6)]=function(_0x3b7867){const _0x400d4=_0x508bd2;return _0x3b7867[_0x400d4(0x2ba)]<0x20?_0x3a8733(_0x3b7867):_0x38f113(_0x3b7867);};}catch{}}return ie[_0x508bd2(0x293)];}var Se,Ke;function lt(){const _0x559fbf=_0x1f4ea3;if(Ke)return Se;Ke=0x1;const {Writable:_0x407da6}=oe,_0x5d25c9=he(),{BINARY_TYPES:_0x5b0b67,EMPTY_BUFFER:_0xc460c3,kStatusCode:_0x4addb5,kWebSocket:_0x1a2cd3}=H(),{concat:_0x2e9f1a,toArrayBuffer:_0x5da0f6,unmask:_0x405b9a}=ce(),{isValidStatusCode:_0x1de688,isValidUTF8:_0x5a49ca}=ae(),_0x3d8f66=Buffer[Symbol[_0x559fbf(0x15a)]],_0x15d283=0x0,_0x37329f=0x1,_0x42707f=0x2,_0x133b94=0x3,_0x9b5cd2=0x4,_0x14299a=0x5,_0x3906f7=0x6;class _0x4d4883 extends _0x407da6{constructor(_0x47c536={}){const _0x1c9814=_0x559fbf;super(),this[_0x1c9814(0x268)]=_0x47c536[_0x1c9814(0x289)]!==void 0x0?_0x47c536[_0x1c9814(0x289)]:!0x0,this['_binaryType']=_0x47c536['binaryType']||_0x5b0b67[0x0],this[_0x1c9814(0x2cd)]=_0x47c536[_0x1c9814(0x2ae)]||{},this[_0x1c9814(0x287)]=!!_0x47c536['isServer'],this[_0x1c9814(0x1c5)]=_0x47c536[_0x1c9814(0x29e)]|0x0,this[_0x1c9814(0x273)]=!!_0x47c536['skipUTF8Validation'],this[_0x1a2cd3]=void 0x0,this[_0x1c9814(0x1ff)]=0x0,this[_0x1c9814(0x265)]=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this[_0x1c9814(0x247)]=void 0x0,this[_0x1c9814(0x2b8)]=0x0,this[_0x1c9814(0x2d0)]=!0x1,this[_0x1c9814(0x2a2)]=!0x1,this[_0x1c9814(0x2a4)]=0x0,this['_totalPayloadLength']=0x0,this[_0x1c9814(0x235)]=0x0,this[_0x1c9814(0x298)]=[],this[_0x1c9814(0x262)]=!0x1,this[_0x1c9814(0x204)]=!0x1,this['_state']=_0x15d283;}[_0x559fbf(0x165)](_0x33ecda,_0x3f3841,_0x1f5f99){const _0x16ba56=_0x559fbf;if(this[_0x16ba56(0x2a4)]===0x8&&this['_state']==_0x15d283)return _0x1f5f99();this[_0x16ba56(0x1ff)]+=_0x33ecda[_0x16ba56(0x2ba)],this['_buffers'][_0x16ba56(0x1df)](_0x33ecda),this[_0x16ba56(0x1ab)](_0x1f5f99);}[_0x559fbf(0x23d)](_0x14a8f6){const _0x546656=_0x559fbf;if(this['_bufferedBytes']-=_0x14a8f6,_0x14a8f6===this[_0x546656(0x265)][0x0]['length'])return this['_buffers'][_0x546656(0x28b)]();if(_0x14a8f6<this[_0x546656(0x265)][0x0][_0x546656(0x2ba)]){const _0x325ac2=this[_0x546656(0x265)][0x0];return this[_0x546656(0x265)][0x0]=new _0x3d8f66(_0x325ac2['buffer'],_0x325ac2[_0x546656(0x22e)]+_0x14a8f6,_0x325ac2[_0x546656(0x2ba)]-_0x14a8f6),new _0x3d8f66(_0x325ac2[_0x546656(0x1c6)],_0x325ac2[_0x546656(0x22e)],_0x14a8f6);}const _0xb2deb2=Buffer['allocUnsafe'](_0x14a8f6);do{const _0x58c5f8=this[_0x546656(0x265)][0x0],_0x19acc8=_0xb2deb2[_0x546656(0x2ba)]-_0x14a8f6;_0x14a8f6>=_0x58c5f8[_0x546656(0x2ba)]?_0xb2deb2[_0x546656(0x2ad)](this[_0x546656(0x265)][_0x546656(0x28b)](),_0x19acc8):(_0xb2deb2[_0x546656(0x2ad)](new Uint8Array(_0x58c5f8['buffer'],_0x58c5f8['byteOffset'],_0x14a8f6),_0x19acc8),this[_0x546656(0x265)][0x0]=new _0x3d8f66(_0x58c5f8[_0x546656(0x1c6)],_0x58c5f8[_0x546656(0x22e)]+_0x14a8f6,_0x58c5f8[_0x546656(0x2ba)]-_0x14a8f6)),_0x14a8f6-=_0x58c5f8['length'];}while(_0x14a8f6>0x0);return _0xb2deb2;}[_0x559fbf(0x1ab)](_0x2f3774){const _0x479f17=_0x559fbf;this[_0x479f17(0x204)]=!0x0;do switch(this['_state']){case _0x15d283:this[_0x479f17(0x1a5)](_0x2f3774);break;case _0x37329f:this[_0x479f17(0x1d9)](_0x2f3774);break;case _0x42707f:this[_0x479f17(0x1b5)](_0x2f3774);break;case _0x133b94:this[_0x479f17(0x2bc)]();break;case _0x9b5cd2:this['getData'](_0x2f3774);break;case _0x14299a:case _0x3906f7:this[_0x479f17(0x204)]=!0x1;return;}while(this['_loop']);this[_0x479f17(0x262)]||_0x2f3774();}['getInfo'](_0x4731a4){const _0x5f0f65=_0x559fbf;if(this[_0x5f0f65(0x1ff)]<0x2){this[_0x5f0f65(0x204)]=!0x1;return;}const _0xd2f215=this[_0x5f0f65(0x23d)](0x2);if((_0xd2f215[0x0]&0x30)!==0x0){const _0x558861=this[_0x5f0f65(0x24d)](RangeError,_0x5f0f65(0x294),!0x0,0x3ea,_0x5f0f65(0x1a0));_0x4731a4(_0x558861);return;}const _0x271fba=(_0xd2f215[0x0]&0x40)===0x40;if(_0x271fba&&!this[_0x5f0f65(0x2cd)][_0x5d25c9['extensionName']]){const _0x1854bb=this[_0x5f0f65(0x24d)](RangeError,_0x5f0f65(0x22b),!0x0,0x3ea,_0x5f0f65(0x213));_0x4731a4(_0x1854bb);return;}if(this['_fin']=(_0xd2f215[0x0]&0x80)===0x80,this[_0x5f0f65(0x2a4)]=_0xd2f215[0x0]&0xf,this[_0x5f0f65(0x26a)]=_0xd2f215[0x1]&0x7f,this['_opcode']===0x0){if(_0x271fba){const _0x5b7450=this[_0x5f0f65(0x24d)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4731a4(_0x5b7450);return;}if(!this[_0x5f0f65(0x2b8)]){const _0x1c2981=this['createError'](RangeError,_0x5f0f65(0x24a),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x4731a4(_0x1c2981);return;}this[_0x5f0f65(0x2a4)]=this[_0x5f0f65(0x2b8)];}else{if(this[_0x5f0f65(0x2a4)]===0x1||this[_0x5f0f65(0x2a4)]===0x2){if(this['_fragmented']){const _0xd4061=this[_0x5f0f65(0x24d)](RangeError,'invalid\x20opcode\x20'+this[_0x5f0f65(0x2a4)],!0x0,0x3ea,_0x5f0f65(0x20e));_0x4731a4(_0xd4061);return;}this['_compressed']=_0x271fba;}else{if(this[_0x5f0f65(0x2a4)]>0x7&&this['_opcode']<0xb){if(!this[_0x5f0f65(0x2a2)]){const _0x2d3760=this[_0x5f0f65(0x24d)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x4731a4(_0x2d3760);return;}if(_0x271fba){const _0x3d075c=this[_0x5f0f65(0x24d)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x5f0f65(0x213));_0x4731a4(_0x3d075c);return;}if(this[_0x5f0f65(0x26a)]>0x7d||this['_opcode']===0x8&&this[_0x5f0f65(0x26a)]===0x1){const _0x157b0d=this[_0x5f0f65(0x24d)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x5f0f65(0x26a)],!0x0,0x3ea,_0x5f0f65(0x24c));_0x4731a4(_0x157b0d);return;}}else{const _0xac22c8=this[_0x5f0f65(0x24d)](RangeError,_0x5f0f65(0x2ee)+this[_0x5f0f65(0x2a4)],!0x0,0x3ea,_0x5f0f65(0x20e));_0x4731a4(_0xac22c8);return;}}}if(!this[_0x5f0f65(0x2a2)]&&!this['_fragmented']&&(this[_0x5f0f65(0x2b8)]=this[_0x5f0f65(0x2a4)]),this['_masked']=(_0xd2f215[0x1]&0x80)===0x80,this[_0x5f0f65(0x287)]){if(!this['_masked']){const _0xc75df2=this[_0x5f0f65(0x24d)](RangeError,_0x5f0f65(0x19e),!0x0,0x3ea,_0x5f0f65(0x25d));_0x4731a4(_0xc75df2);return;}}else{if(this['_masked']){const _0x2a35ae=this[_0x5f0f65(0x24d)](RangeError,_0x5f0f65(0x1b9),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x4731a4(_0x2a35ae);return;}}this[_0x5f0f65(0x26a)]===0x7e?this['_state']=_0x37329f:this[_0x5f0f65(0x26a)]===0x7f?this['_state']=_0x42707f:this[_0x5f0f65(0x2d2)](_0x4731a4);}[_0x559fbf(0x1d9)](_0x590556){const _0x12088f=_0x559fbf;if(this[_0x12088f(0x1ff)]<0x2){this[_0x12088f(0x204)]=!0x1;return;}this[_0x12088f(0x26a)]=this[_0x12088f(0x23d)](0x2)[_0x12088f(0x2b7)](0x0),this[_0x12088f(0x2d2)](_0x590556);}[_0x559fbf(0x1b5)](_0x2f1ed2){const _0x2db7a9=_0x559fbf;if(this[_0x2db7a9(0x1ff)]<0x8){this[_0x2db7a9(0x204)]=!0x1;return;}const _0x238f08=this[_0x2db7a9(0x23d)](0x8),_0x532af3=_0x238f08[_0x2db7a9(0x2f5)](0x0);if(_0x532af3>Math[_0x2db7a9(0x2e6)](0x2,0x15)-0x1){const _0x10c357=this['createError'](RangeError,_0x2db7a9(0x1e7),!0x1,0x3f1,_0x2db7a9(0x1c1));_0x2f1ed2(_0x10c357);return;}this['_payloadLength']=_0x532af3*Math[_0x2db7a9(0x2e6)](0x2,0x20)+_0x238f08[_0x2db7a9(0x2f5)](0x4),this[_0x2db7a9(0x2d2)](_0x2f1ed2);}['haveLength'](_0x41bfab){const _0x1db34c=_0x559fbf;if(this[_0x1db34c(0x26a)]&&this['_opcode']<0x8&&(this[_0x1db34c(0x258)]+=this['_payloadLength'],this[_0x1db34c(0x258)]>this[_0x1db34c(0x1c5)]&&this[_0x1db34c(0x1c5)]>0x0)){const _0x2a57e9=this[_0x1db34c(0x24d)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x1db34c(0x1f9));_0x41bfab(_0x2a57e9);return;}this[_0x1db34c(0x2d0)]?this[_0x1db34c(0x160)]=_0x133b94:this[_0x1db34c(0x160)]=_0x9b5cd2;}[_0x559fbf(0x2bc)](){const _0xf6c057=_0x559fbf;if(this[_0xf6c057(0x1ff)]<0x4){this[_0xf6c057(0x204)]=!0x1;return;}this[_0xf6c057(0x247)]=this['consume'](0x4),this[_0xf6c057(0x160)]=_0x9b5cd2;}['getData'](_0x60c79a){const _0x3bfdb9=_0x559fbf;let _0x2ac892=_0xc460c3;if(this['_payloadLength']){if(this[_0x3bfdb9(0x1ff)]<this['_payloadLength']){this[_0x3bfdb9(0x204)]=!0x1;return;}_0x2ac892=this[_0x3bfdb9(0x23d)](this[_0x3bfdb9(0x26a)]),this[_0x3bfdb9(0x2d0)]&&(this['_mask'][0x0]|this[_0x3bfdb9(0x247)][0x1]|this[_0x3bfdb9(0x247)][0x2]|this['_mask'][0x3])!==0x0&&_0x405b9a(_0x2ac892,this[_0x3bfdb9(0x247)]);}if(this[_0x3bfdb9(0x2a4)]>0x7){this['controlMessage'](_0x2ac892,_0x60c79a);return;}if(this[_0x3bfdb9(0x20b)]){this[_0x3bfdb9(0x160)]=_0x14299a,this[_0x3bfdb9(0x2ec)](_0x2ac892,_0x60c79a);return;}_0x2ac892[_0x3bfdb9(0x2ba)]&&(this['_messageLength']=this[_0x3bfdb9(0x258)],this[_0x3bfdb9(0x298)][_0x3bfdb9(0x1df)](_0x2ac892)),this[_0x3bfdb9(0x236)](_0x60c79a);}[_0x559fbf(0x2ec)](_0x33a779,_0x1ca405){const _0x5eb222=_0x559fbf;this[_0x5eb222(0x2cd)][_0x5d25c9[_0x5eb222(0x15e)]]['decompress'](_0x33a779,this['_fin'],(_0x4b5d00,_0xb676b1)=>{const _0x41d133=_0x5eb222;if(_0x4b5d00)return _0x1ca405(_0x4b5d00);if(_0xb676b1[_0x41d133(0x2ba)]){if(this['_messageLength']+=_0xb676b1['length'],this['_messageLength']>this['_maxPayload']&&this[_0x41d133(0x1c5)]>0x0){const _0x4fbe12=this[_0x41d133(0x24d)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x41d133(0x1f9));_0x1ca405(_0x4fbe12);return;}this['_fragments']['push'](_0xb676b1);}this['dataMessage'](_0x1ca405),this[_0x41d133(0x160)]===_0x15d283&&this[_0x41d133(0x1ab)](_0x1ca405);});}[_0x559fbf(0x236)](_0x53fdce){const _0x53cccc=_0x559fbf;if(!this[_0x53cccc(0x2a2)]){this[_0x53cccc(0x160)]=_0x15d283;return;}const _0x278d74=this[_0x53cccc(0x235)],_0xd4ab50=this['_fragments'];if(this[_0x53cccc(0x258)]=0x0,this[_0x53cccc(0x235)]=0x0,this[_0x53cccc(0x2b8)]=0x0,this[_0x53cccc(0x298)]=[],this[_0x53cccc(0x2a4)]===0x2){let _0x48482e;this[_0x53cccc(0x29b)]===_0x53cccc(0x2e3)?_0x48482e=_0x2e9f1a(_0xd4ab50,_0x278d74):this[_0x53cccc(0x29b)]==='arraybuffer'?_0x48482e=_0x5da0f6(_0x2e9f1a(_0xd4ab50,_0x278d74)):this['_binaryType']===_0x53cccc(0x1c8)?_0x48482e=new Blob(_0xd4ab50):_0x48482e=_0xd4ab50,this[_0x53cccc(0x268)]?(this[_0x53cccc(0x2bb)](_0x53cccc(0x254),_0x48482e,!0x0),this[_0x53cccc(0x160)]=_0x15d283):(this[_0x53cccc(0x160)]=_0x3906f7,setImmediate(()=>{const _0x5a86eb=_0x53cccc;this[_0x5a86eb(0x2bb)](_0x5a86eb(0x254),_0x48482e,!0x0),this[_0x5a86eb(0x160)]=_0x15d283,this[_0x5a86eb(0x1ab)](_0x53fdce);}));}else{const _0xf31245=_0x2e9f1a(_0xd4ab50,_0x278d74);if(!this[_0x53cccc(0x273)]&&!_0x5a49ca(_0xf31245)){const _0x532aaf=this[_0x53cccc(0x24d)](Error,_0x53cccc(0x249),!0x0,0x3ef,_0x53cccc(0x2a1));_0x53fdce(_0x532aaf);return;}this['_state']===_0x14299a||this[_0x53cccc(0x268)]?(this[_0x53cccc(0x2bb)](_0x53cccc(0x254),_0xf31245,!0x1),this[_0x53cccc(0x160)]=_0x15d283):(this[_0x53cccc(0x160)]=_0x3906f7,setImmediate(()=>{const _0x27579e=_0x53cccc;this[_0x27579e(0x2bb)](_0x27579e(0x254),_0xf31245,!0x1),this[_0x27579e(0x160)]=_0x15d283,this['startLoop'](_0x53fdce);}));}}['controlMessage'](_0x4e1ce7,_0x413a3c){const _0x2184e0=_0x559fbf;if(this['_opcode']===0x8){if(_0x4e1ce7[_0x2184e0(0x2ba)]===0x0)this['_loop']=!0x1,this[_0x2184e0(0x2bb)](_0x2184e0(0x2aa),0x3ed,_0xc460c3),this[_0x2184e0(0x1c3)]();else{const _0xa9bb3e=_0x4e1ce7[_0x2184e0(0x2b7)](0x0);if(!_0x1de688(_0xa9bb3e)){const _0x1fc737=this[_0x2184e0(0x24d)](RangeError,'invalid\x20status\x20code\x20'+_0xa9bb3e,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x413a3c(_0x1fc737);return;}const _0x55aa29=new _0x3d8f66(_0x4e1ce7[_0x2184e0(0x1c6)],_0x4e1ce7[_0x2184e0(0x22e)]+0x2,_0x4e1ce7[_0x2184e0(0x2ba)]-0x2);if(!this[_0x2184e0(0x273)]&&!_0x5a49ca(_0x55aa29)){const _0x43c57c=this[_0x2184e0(0x24d)](Error,_0x2184e0(0x249),!0x0,0x3ef,_0x2184e0(0x2a1));_0x413a3c(_0x43c57c);return;}this[_0x2184e0(0x204)]=!0x1,this[_0x2184e0(0x2bb)]('conclude',_0xa9bb3e,_0x55aa29),this[_0x2184e0(0x1c3)]();}this['_state']=_0x15d283;return;}this['_allowSynchronousEvents']?(this['emit'](this[_0x2184e0(0x2a4)]===0x9?_0x2184e0(0x157):_0x2184e0(0x212),_0x4e1ce7),this[_0x2184e0(0x160)]=_0x15d283):(this[_0x2184e0(0x160)]=_0x3906f7,setImmediate(()=>{const _0x5780b4=_0x2184e0;this[_0x5780b4(0x2bb)](this[_0x5780b4(0x2a4)]===0x9?'ping':_0x5780b4(0x212),_0x4e1ce7),this['_state']=_0x15d283,this[_0x5780b4(0x1ab)](_0x413a3c);}));}[_0x559fbf(0x24d)](_0x4d5c2c,_0x5a4f06,_0x2df539,_0x304a73,_0x440d47){const _0x143045=_0x559fbf;this['_loop']=!0x1,this[_0x143045(0x262)]=!0x0;const _0x5828dd=new _0x4d5c2c(_0x2df539?_0x143045(0x276)+_0x5a4f06:_0x5a4f06);return Error[_0x143045(0x297)](_0x5828dd,this[_0x143045(0x24d)]),_0x5828dd[_0x143045(0x2fe)]=_0x440d47,_0x5828dd[_0x4addb5]=_0x304a73,_0x5828dd;}}return Se=_0x4d4883,Se;}var Ee,Xe;function ft(){const _0x193758=_0x1f4ea3;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x400509}=oe,{randomFillSync:_0x284966}=Le,_0x219608=he(),{EMPTY_BUFFER:_0x5788ee,kWebSocket:_0x134649,NOOP:_0xde921e}=H(),{isBlob:_0x71bf23,isValidStatusCode:_0x48d48a}=ae(),{mask:_0x489079,toBuffer:_0x29badc}=ce(),_0x55e063=Symbol(_0x193758(0x303)),_0xde0eaa=Buffer['alloc'](0x4),_0x47ab2c=0x8*0x400;let _0x1cefd8,_0x2f7636=_0x47ab2c;const _0x56b5c6=0x0,_0xcfdf03=0x1,_0x198c8b=0x2;class _0x3ba283{constructor(_0x48d66f,_0x3c045f,_0x4d7950){const _0x4f96de=_0x193758;this['_extensions']=_0x3c045f||{},_0x4d7950&&(this[_0x4f96de(0x2dc)]=_0x4d7950,this['_maskBuffer']=Buffer[_0x4f96de(0x2e8)](0x4)),this[_0x4f96de(0x2ca)]=_0x48d66f,this[_0x4f96de(0x1e6)]=!0x0,this['_compress']=!0x1,this[_0x4f96de(0x1ff)]=0x0,this[_0x4f96de(0x27d)]=[],this[_0x4f96de(0x160)]=_0x56b5c6,this[_0x4f96de(0x22f)]=_0xde921e,this[_0x134649]=void 0x0;}static['frame'](_0x3446e2,_0x407041){const _0x4ea034=_0x193758;let _0x3b0967,_0xb4222a=!0x1,_0x48fdf1=0x2,_0x1648ca=!0x1;_0x407041[_0x4ea034(0x295)]&&(_0x3b0967=_0x407041['maskBuffer']||_0xde0eaa,_0x407041[_0x4ea034(0x2f0)]?_0x407041['generateMask'](_0x3b0967):(_0x2f7636===_0x47ab2c&&(_0x1cefd8===void 0x0&&(_0x1cefd8=Buffer[_0x4ea034(0x2e8)](_0x47ab2c)),_0x284966(_0x1cefd8,0x0,_0x47ab2c),_0x2f7636=0x0),_0x3b0967[0x0]=_0x1cefd8[_0x2f7636++],_0x3b0967[0x1]=_0x1cefd8[_0x2f7636++],_0x3b0967[0x2]=_0x1cefd8[_0x2f7636++],_0x3b0967[0x3]=_0x1cefd8[_0x2f7636++]),_0x1648ca=(_0x3b0967[0x0]|_0x3b0967[0x1]|_0x3b0967[0x2]|_0x3b0967[0x3])===0x0,_0x48fdf1=0x6);let _0x32db38;typeof _0x3446e2==_0x4ea034(0x2c2)?(!_0x407041['mask']||_0x1648ca)&&_0x407041[_0x55e063]!==void 0x0?_0x32db38=_0x407041[_0x55e063]:(_0x3446e2=Buffer[_0x4ea034(0x25f)](_0x3446e2),_0x32db38=_0x3446e2[_0x4ea034(0x2ba)]):(_0x32db38=_0x3446e2['length'],_0xb4222a=_0x407041[_0x4ea034(0x295)]&&_0x407041[_0x4ea034(0x244)]&&!_0x1648ca);let _0x5dda21=_0x32db38;_0x32db38>=0x10000?(_0x48fdf1+=0x8,_0x5dda21=0x7f):_0x32db38>0x7d&&(_0x48fdf1+=0x2,_0x5dda21=0x7e);const _0x3f6f57=Buffer['allocUnsafe'](_0xb4222a?_0x32db38+_0x48fdf1:_0x48fdf1);return _0x3f6f57[0x0]=_0x407041[_0x4ea034(0x2ea)]?_0x407041['opcode']|0x80:_0x407041[_0x4ea034(0x28d)],_0x407041[_0x4ea034(0x2cf)]&&(_0x3f6f57[0x0]|=0x40),_0x3f6f57[0x1]=_0x5dda21,_0x5dda21===0x7e?_0x3f6f57[_0x4ea034(0x266)](_0x32db38,0x2):_0x5dda21===0x7f&&(_0x3f6f57[0x2]=_0x3f6f57[0x3]=0x0,_0x3f6f57[_0x4ea034(0x228)](_0x32db38,0x4,0x6)),_0x407041['mask']?(_0x3f6f57[0x1]|=0x80,_0x3f6f57[_0x48fdf1-0x4]=_0x3b0967[0x0],_0x3f6f57[_0x48fdf1-0x3]=_0x3b0967[0x1],_0x3f6f57[_0x48fdf1-0x2]=_0x3b0967[0x2],_0x3f6f57[_0x48fdf1-0x1]=_0x3b0967[0x3],_0x1648ca?[_0x3f6f57,_0x3446e2]:_0xb4222a?(_0x489079(_0x3446e2,_0x3b0967,_0x3f6f57,_0x48fdf1,_0x32db38),[_0x3f6f57]):(_0x489079(_0x3446e2,_0x3b0967,_0x3446e2,0x0,_0x32db38),[_0x3f6f57,_0x3446e2])):[_0x3f6f57,_0x3446e2];}[_0x193758(0x2b6)](_0x211c06,_0x2de73a,_0x24379d,_0x43669b){const _0x59f0b0=_0x193758;let _0x3cb6b2;if(_0x211c06===void 0x0)_0x3cb6b2=_0x5788ee;else{if(typeof _0x211c06!=_0x59f0b0(0x227)||!_0x48d48a(_0x211c06))throw new TypeError(_0x59f0b0(0x173));if(_0x2de73a===void 0x0||!_0x2de73a[_0x59f0b0(0x2ba)])_0x3cb6b2=Buffer[_0x59f0b0(0x2be)](0x2),_0x3cb6b2[_0x59f0b0(0x266)](_0x211c06,0x0);else{const _0x2ff988=Buffer[_0x59f0b0(0x243)](_0x2de73a);if(_0x2ff988>0x7b)throw new RangeError(_0x59f0b0(0x1b8));_0x3cb6b2=Buffer['allocUnsafe'](0x2+_0x2ff988),_0x3cb6b2[_0x59f0b0(0x266)](_0x211c06,0x0),typeof _0x2de73a==_0x59f0b0(0x2c2)?_0x3cb6b2['write'](_0x2de73a,0x2):_0x3cb6b2[_0x59f0b0(0x2ad)](_0x2de73a,0x2);}}const _0x2043a7={[_0x55e063]:_0x3cb6b2[_0x59f0b0(0x2ba)],'fin':!0x0,'generateMask':this[_0x59f0b0(0x2dc)],'mask':_0x24379d,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x59f0b0(0x160)]!==_0x56b5c6?this['enqueue']([this[_0x59f0b0(0x2af)],_0x3cb6b2,!0x1,_0x2043a7,_0x43669b]):this[_0x59f0b0(0x176)](_0x3ba283[_0x59f0b0(0x1cb)](_0x3cb6b2,_0x2043a7),_0x43669b);}[_0x193758(0x157)](_0x4fcb2b,_0x224e69,_0x57ebf6){const _0x55213b=_0x193758;let _0x59cc18,_0x4ee52c;if(typeof _0x4fcb2b=='string'?(_0x59cc18=Buffer['byteLength'](_0x4fcb2b),_0x4ee52c=!0x1):_0x71bf23(_0x4fcb2b)?(_0x59cc18=_0x4fcb2b[_0x55213b(0x170)],_0x4ee52c=!0x1):(_0x4fcb2b=_0x29badc(_0x4fcb2b),_0x59cc18=_0x4fcb2b['length'],_0x4ee52c=_0x29badc[_0x55213b(0x244)]),_0x59cc18>0x7d)throw new RangeError(_0x55213b(0x2f9));const _0x306846={[_0x55e063]:_0x59cc18,'fin':!0x0,'generateMask':this[_0x55213b(0x2dc)],'mask':_0x224e69,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x4ee52c,'rsv1':!0x1};_0x71bf23(_0x4fcb2b)?this['_state']!==_0x56b5c6?this[_0x55213b(0x19b)]([this['getBlobData'],_0x4fcb2b,!0x1,_0x306846,_0x57ebf6]):this[_0x55213b(0x1a8)](_0x4fcb2b,!0x1,_0x306846,_0x57ebf6):this[_0x55213b(0x160)]!==_0x56b5c6?this['enqueue']([this[_0x55213b(0x2af)],_0x4fcb2b,!0x1,_0x306846,_0x57ebf6]):this[_0x55213b(0x176)](_0x3ba283[_0x55213b(0x1cb)](_0x4fcb2b,_0x306846),_0x57ebf6);}[_0x193758(0x212)](_0x409377,_0x4c81ae,_0x4e089a){const _0x434c8a=_0x193758;let _0x5fc32d,_0x1d0f91;if(typeof _0x409377==_0x434c8a(0x2c2)?(_0x5fc32d=Buffer[_0x434c8a(0x243)](_0x409377),_0x1d0f91=!0x1):_0x71bf23(_0x409377)?(_0x5fc32d=_0x409377[_0x434c8a(0x170)],_0x1d0f91=!0x1):(_0x409377=_0x29badc(_0x409377),_0x5fc32d=_0x409377[_0x434c8a(0x2ba)],_0x1d0f91=_0x29badc[_0x434c8a(0x244)]),_0x5fc32d>0x7d)throw new RangeError(_0x434c8a(0x2f9));const _0x36425f={[_0x55e063]:_0x5fc32d,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x4c81ae,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x1d0f91,'rsv1':!0x1};_0x71bf23(_0x409377)?this[_0x434c8a(0x160)]!==_0x56b5c6?this[_0x434c8a(0x19b)]([this[_0x434c8a(0x1a8)],_0x409377,!0x1,_0x36425f,_0x4e089a]):this['getBlobData'](_0x409377,!0x1,_0x36425f,_0x4e089a):this[_0x434c8a(0x160)]!==_0x56b5c6?this[_0x434c8a(0x19b)]([this[_0x434c8a(0x2af)],_0x409377,!0x1,_0x36425f,_0x4e089a]):this[_0x434c8a(0x176)](_0x3ba283[_0x434c8a(0x1cb)](_0x409377,_0x36425f),_0x4e089a);}[_0x193758(0x291)](_0x14d818,_0x175236,_0x577f58){const _0x34f990=_0x193758,_0x4cebd5=this['_extensions'][_0x219608['extensionName']];let _0x3bf3fa=_0x175236[_0x34f990(0x1e9)]?0x2:0x1,_0x302e80=_0x175236['compress'],_0x4a4685,_0x23bf9a;typeof _0x14d818==_0x34f990(0x2c2)?(_0x4a4685=Buffer[_0x34f990(0x243)](_0x14d818),_0x23bf9a=!0x1):_0x71bf23(_0x14d818)?(_0x4a4685=_0x14d818[_0x34f990(0x170)],_0x23bf9a=!0x1):(_0x14d818=_0x29badc(_0x14d818),_0x4a4685=_0x14d818['length'],_0x23bf9a=_0x29badc[_0x34f990(0x244)]),this[_0x34f990(0x1e6)]?(this[_0x34f990(0x1e6)]=!0x1,_0x302e80&&_0x4cebd5&&_0x4cebd5[_0x34f990(0x1fb)][_0x4cebd5['_isServer']?'server_no_context_takeover':_0x34f990(0x1eb)]&&(_0x302e80=_0x4a4685>=_0x4cebd5[_0x34f990(0x1e8)]),this[_0x34f990(0x1ef)]=_0x302e80):(_0x302e80=!0x1,_0x3bf3fa=0x0),_0x175236[_0x34f990(0x2ea)]&&(this[_0x34f990(0x1e6)]=!0x0);const _0x4494f4={[_0x55e063]:_0x4a4685,'fin':_0x175236[_0x34f990(0x2ea)],'generateMask':this[_0x34f990(0x2dc)],'mask':_0x175236[_0x34f990(0x295)],'maskBuffer':this['_maskBuffer'],'opcode':_0x3bf3fa,'readOnly':_0x23bf9a,'rsv1':_0x302e80};_0x71bf23(_0x14d818)?this[_0x34f990(0x160)]!==_0x56b5c6?this['enqueue']([this[_0x34f990(0x1a8)],_0x14d818,this[_0x34f990(0x1ef)],_0x4494f4,_0x577f58]):this[_0x34f990(0x1a8)](_0x14d818,this[_0x34f990(0x1ef)],_0x4494f4,_0x577f58):this[_0x34f990(0x160)]!==_0x56b5c6?this['enqueue']([this[_0x34f990(0x2af)],_0x14d818,this[_0x34f990(0x1ef)],_0x4494f4,_0x577f58]):this['dispatch'](_0x14d818,this['_compress'],_0x4494f4,_0x577f58);}[_0x193758(0x1a8)](_0x46d0d2,_0x492dad,_0x490f22,_0x270a29){const _0x3e9614=_0x193758;this['_bufferedBytes']+=_0x490f22[_0x55e063],this[_0x3e9614(0x160)]=_0x198c8b,_0x46d0d2[_0x3e9614(0x1ea)]()[_0x3e9614(0x20f)](_0x207427=>{const _0x5b6c10=_0x3e9614;if(this[_0x5b6c10(0x2ca)][_0x5b6c10(0x284)]){const _0xef8739=new Error(_0x5b6c10(0x20a));process['nextTick'](_0x4bab36,this,_0xef8739,_0x270a29);return;}this[_0x5b6c10(0x1ff)]-=_0x490f22[_0x55e063];const _0x526c7e=_0x29badc(_0x207427);_0x492dad?this['dispatch'](_0x526c7e,_0x492dad,_0x490f22,_0x270a29):(this[_0x5b6c10(0x160)]=_0x56b5c6,this[_0x5b6c10(0x176)](_0x3ba283[_0x5b6c10(0x1cb)](_0x526c7e,_0x490f22),_0x270a29),this[_0x5b6c10(0x18a)]());})[_0x3e9614(0x2e4)](_0x4e9664=>{process['nextTick'](_0x14e253,this,_0x4e9664,_0x270a29);});}['dispatch'](_0x1aaa89,_0x49d416,_0x20cd79,_0x164ead){const _0x94a6f8=_0x193758;if(!_0x49d416){this['sendFrame'](_0x3ba283[_0x94a6f8(0x1cb)](_0x1aaa89,_0x20cd79),_0x164ead);return;}const _0x5474d8=this[_0x94a6f8(0x2cd)][_0x219608[_0x94a6f8(0x15e)]];this[_0x94a6f8(0x1ff)]+=_0x20cd79[_0x55e063],this['_state']=_0xcfdf03,_0x5474d8[_0x94a6f8(0x2bd)](_0x1aaa89,_0x20cd79[_0x94a6f8(0x2ea)],(_0x3b681c,_0x5665c0)=>{const _0x21d4df=_0x94a6f8;if(this['_socket'][_0x21d4df(0x284)]){const _0x2a0e47=new Error(_0x21d4df(0x1bb));_0x4bab36(this,_0x2a0e47,_0x164ead);return;}this[_0x21d4df(0x1ff)]-=_0x20cd79[_0x55e063],this[_0x21d4df(0x160)]=_0x56b5c6,_0x20cd79[_0x21d4df(0x244)]=!0x1,this['sendFrame'](_0x3ba283['frame'](_0x5665c0,_0x20cd79),_0x164ead),this[_0x21d4df(0x18a)]();});}['dequeue'](){const _0x1bc1e9=_0x193758;for(;this[_0x1bc1e9(0x160)]===_0x56b5c6&&this[_0x1bc1e9(0x27d)][_0x1bc1e9(0x2ba)];){const _0x39607a=this[_0x1bc1e9(0x27d)][_0x1bc1e9(0x28b)]();this[_0x1bc1e9(0x1ff)]-=_0x39607a[0x3][_0x55e063],Reflect[_0x1bc1e9(0x171)](_0x39607a[0x0],this,_0x39607a[_0x1bc1e9(0x2c0)](0x1));}}[_0x193758(0x19b)](_0x1712be){const _0x17e058=_0x193758;this[_0x17e058(0x1ff)]+=_0x1712be[0x3][_0x55e063],this[_0x17e058(0x27d)][_0x17e058(0x1df)](_0x1712be);}[_0x193758(0x176)](_0x5a91b8,_0x15c0d1){const _0x316f9e=_0x193758;_0x5a91b8[_0x316f9e(0x2ba)]===0x2?(this[_0x316f9e(0x2ca)]['cork'](),this['_socket'][_0x316f9e(0x229)](_0x5a91b8[0x0]),this[_0x316f9e(0x2ca)]['write'](_0x5a91b8[0x1],_0x15c0d1),this[_0x316f9e(0x2ca)][_0x316f9e(0x252)]()):this['_socket'][_0x316f9e(0x229)](_0x5a91b8[0x0],_0x15c0d1);}}Ee=_0x3ba283;function _0x4bab36(_0x445fc9,_0x1d0ce6,_0x1f16b4){const _0x46fdd5=_0x193758;typeof _0x1f16b4==_0x46fdd5(0x28a)&&_0x1f16b4(_0x1d0ce6);for(let _0x1d9074=0x0;_0x1d9074<_0x445fc9['_queue'][_0x46fdd5(0x2ba)];_0x1d9074++){const _0x19077c=_0x445fc9['_queue'][_0x1d9074],_0x19216f=_0x19077c[_0x19077c[_0x46fdd5(0x2ba)]-0x1];typeof _0x19216f==_0x46fdd5(0x28a)&&_0x19216f(_0x1d0ce6);}}function _0x14e253(_0x3891ee,_0x3df434,_0x5e3b8e){const _0x1a485e=_0x193758;_0x4bab36(_0x3891ee,_0x3df434,_0x5e3b8e),_0x3891ee[_0x1a485e(0x22f)](_0x3df434);}return Ee;}var xe,Ze;function It(){const _0x554151=_0x1f4ea3;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x3e15ff,kListener:_0xc3c1f9}=H(),_0x43d1ef=Symbol(_0x554151(0x18b)),_0x1261c6=Symbol(_0x554151(0x1d1)),_0x22546e=Symbol(_0x554151(0x260)),_0x2f5d9c=Symbol(_0x554151(0x231)),_0x4a3c65=Symbol(_0x554151(0x2c8)),_0x19057c=Symbol(_0x554151(0x2ce)),_0x3b92ad=Symbol(_0x554151(0x23e)),_0x3fa28b=Symbol(_0x554151(0x234));class _0x6cbc59{constructor(_0x53767d){this[_0x19057c]=null,this[_0x3b92ad]=_0x53767d;}get[_0x554151(0x27f)](){return this[_0x19057c];}get[_0x554151(0x1ba)](){return this[_0x3b92ad];}}Object['defineProperty'](_0x6cbc59['prototype'],'target',{'enumerable':!0x0}),Object[_0x554151(0x220)](_0x6cbc59[_0x554151(0x2d7)],'type',{'enumerable':!0x0});class _0x1aed6d extends _0x6cbc59{constructor(_0x4a00f5,_0x3b8e08={}){const _0x3b9831=_0x554151;super(_0x4a00f5),this[_0x43d1ef]=_0x3b8e08[_0x3b9831(0x2fe)]===void 0x0?0x0:_0x3b8e08['code'],this[_0x4a3c65]=_0x3b8e08[_0x3b9831(0x185)]===void 0x0?'':_0x3b8e08[_0x3b9831(0x185)],this[_0x3fa28b]=_0x3b8e08[_0x3b9831(0x1c4)]===void 0x0?!0x1:_0x3b8e08[_0x3b9831(0x1c4)];}get['code'](){return this[_0x43d1ef];}get['reason'](){return this[_0x4a3c65];}get[_0x554151(0x1c4)](){return this[_0x3fa28b];}}Object[_0x554151(0x220)](_0x1aed6d['prototype'],_0x554151(0x2fe),{'enumerable':!0x0}),Object[_0x554151(0x220)](_0x1aed6d[_0x554151(0x2d7)],'reason',{'enumerable':!0x0}),Object[_0x554151(0x220)](_0x1aed6d[_0x554151(0x2d7)],_0x554151(0x1c4),{'enumerable':!0x0});class _0x5f3ccc extends _0x6cbc59{constructor(_0x2a1c42,_0x260fab={}){const _0x1756af=_0x554151;super(_0x2a1c42),this[_0x22546e]=_0x260fab['error']===void 0x0?null:_0x260fab['error'],this[_0x2f5d9c]=_0x260fab[_0x1756af(0x254)]===void 0x0?'':_0x260fab[_0x1756af(0x254)];}get[_0x554151(0x21f)](){return this[_0x22546e];}get[_0x554151(0x254)](){return this[_0x2f5d9c];}}Object[_0x554151(0x220)](_0x5f3ccc['prototype'],_0x554151(0x21f),{'enumerable':!0x0}),Object[_0x554151(0x220)](_0x5f3ccc[_0x554151(0x2d7)],_0x554151(0x254),{'enumerable':!0x0});class _0x3e641c extends _0x6cbc59{constructor(_0x12c229,_0x3e96fa={}){super(_0x12c229),this[_0x1261c6]=_0x3e96fa['data']===void 0x0?null:_0x3e96fa['data'];}get[_0x554151(0x2cc)](){return this[_0x1261c6];}}Object[_0x554151(0x220)](_0x3e641c[_0x554151(0x2d7)],_0x554151(0x2cc),{'enumerable':!0x0}),xe={'CloseEvent':_0x1aed6d,'ErrorEvent':_0x5f3ccc,'Event':_0x6cbc59,'EventTarget':{'addEventListener'(_0x42cbce,_0x19f48f,_0x165b92={}){const _0x38b3d5=_0x554151;for(const _0x3e836c of this[_0x38b3d5(0x2eb)](_0x42cbce))if(!_0x165b92[_0x3e15ff]&&_0x3e836c[_0xc3c1f9]===_0x19f48f&&!_0x3e836c[_0x3e15ff])return;let _0x8e6ddf;if(_0x42cbce==='message')_0x8e6ddf=function(_0x13ad2a,_0x490be6){const _0x31492a=_0x38b3d5,_0xe6e729=new _0x3e641c(_0x31492a(0x254),{'data':_0x490be6?_0x13ad2a:_0x13ad2a[_0x31492a(0x19d)]()});_0xe6e729[_0x19057c]=this,_0x554ccf(_0x19f48f,this,_0xe6e729);};else{if(_0x42cbce==='close')_0x8e6ddf=function(_0x8fc3ef,_0x4d0b9d){const _0x241b38=_0x38b3d5,_0x6087e6=new _0x1aed6d(_0x241b38(0x2b6),{'code':_0x8fc3ef,'reason':_0x4d0b9d[_0x241b38(0x19d)](),'wasClean':this[_0x241b38(0x169)]&&this[_0x241b38(0x1ae)]});_0x6087e6[_0x19057c]=this,_0x554ccf(_0x19f48f,this,_0x6087e6);};else{if(_0x42cbce==='error')_0x8e6ddf=function(_0x3911ee){const _0x265526=_0x38b3d5,_0x210346=new _0x5f3ccc(_0x265526(0x21f),{'error':_0x3911ee,'message':_0x3911ee[_0x265526(0x254)]});_0x210346[_0x19057c]=this,_0x554ccf(_0x19f48f,this,_0x210346);};else{if(_0x42cbce===_0x38b3d5(0x28c))_0x8e6ddf=function(){const _0x512fe6=_0x38b3d5,_0x369f12=new _0x6cbc59(_0x512fe6(0x28c));_0x369f12[_0x19057c]=this,_0x554ccf(_0x19f48f,this,_0x369f12);};else return;}}}_0x8e6ddf[_0x3e15ff]=!!_0x165b92[_0x3e15ff],_0x8e6ddf[_0xc3c1f9]=_0x19f48f,_0x165b92[_0x38b3d5(0x17f)]?this[_0x38b3d5(0x17f)](_0x42cbce,_0x8e6ddf):this['on'](_0x42cbce,_0x8e6ddf);},'removeEventListener'(_0x4fcdff,_0x47e57c){const _0x4bf70d=_0x554151;for(const _0x52a8e9 of this[_0x4bf70d(0x2eb)](_0x4fcdff))if(_0x52a8e9[_0xc3c1f9]===_0x47e57c&&!_0x52a8e9[_0x3e15ff]){this[_0x4bf70d(0x27e)](_0x4fcdff,_0x52a8e9);break;}}},'MessageEvent':_0x3e641c};function _0x554ccf(_0x103895,_0x1bd0f7,_0x1fdc1c){const _0x55e35e=_0x554151;typeof _0x103895==_0x55e35e(0x193)&&_0x103895[_0x55e35e(0x2f7)]?_0x103895[_0x55e35e(0x2f7)][_0x55e35e(0x195)](_0x103895,_0x1fdc1c):_0x103895[_0x55e35e(0x195)](_0x1bd0f7,_0x1fdc1c);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x45b74c}=ae();function _0x3a5f62(_0x52e8cc,_0x4bf789,_0x16f325){const _0x1a1c7c=_0x2c36;_0x52e8cc[_0x4bf789]===void 0x0?_0x52e8cc[_0x4bf789]=[_0x16f325]:_0x52e8cc[_0x4bf789][_0x1a1c7c(0x1df)](_0x16f325);}function _0x2b2b87(_0x20bffa){const _0x5bbd3b=_0x2c36,_0x317c15=Object[_0x5bbd3b(0x18f)](null);let _0x3719b1=Object[_0x5bbd3b(0x18f)](null),_0x3dcd5b=!0x1,_0x5d7143=!0x1,_0xab562e=!0x1,_0x26b6e3,_0x355bdf,_0x1ab013=-0x1,_0xfdc69=-0x1,_0x1fef3b=-0x1,_0x182f54=0x0;for(;_0x182f54<_0x20bffa[_0x5bbd3b(0x2ba)];_0x182f54++)if(_0xfdc69=_0x20bffa[_0x5bbd3b(0x164)](_0x182f54),_0x26b6e3===void 0x0){if(_0x1fef3b===-0x1&&_0x45b74c[_0xfdc69]===0x1)_0x1ab013===-0x1&&(_0x1ab013=_0x182f54);else{if(_0x182f54!==0x0&&(_0xfdc69===0x20||_0xfdc69===0x9))_0x1fef3b===-0x1&&_0x1ab013!==-0x1&&(_0x1fef3b=_0x182f54);else{if(_0xfdc69===0x3b||_0xfdc69===0x2c){if(_0x1ab013===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x182f54);_0x1fef3b===-0x1&&(_0x1fef3b=_0x182f54);const _0x5a1703=_0x20bffa[_0x5bbd3b(0x2c0)](_0x1ab013,_0x1fef3b);_0xfdc69===0x2c?(_0x3a5f62(_0x317c15,_0x5a1703,_0x3719b1),_0x3719b1=Object[_0x5bbd3b(0x18f)](null)):_0x26b6e3=_0x5a1703,_0x1ab013=_0x1fef3b=-0x1;}else throw new SyntaxError(_0x5bbd3b(0x2c5)+_0x182f54);}}}else{if(_0x355bdf===void 0x0){if(_0x1fef3b===-0x1&&_0x45b74c[_0xfdc69]===0x1)_0x1ab013===-0x1&&(_0x1ab013=_0x182f54);else{if(_0xfdc69===0x20||_0xfdc69===0x9)_0x1fef3b===-0x1&&_0x1ab013!==-0x1&&(_0x1fef3b=_0x182f54);else{if(_0xfdc69===0x3b||_0xfdc69===0x2c){if(_0x1ab013===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x182f54);_0x1fef3b===-0x1&&(_0x1fef3b=_0x182f54),_0x3a5f62(_0x3719b1,_0x20bffa['slice'](_0x1ab013,_0x1fef3b),!0x0),_0xfdc69===0x2c&&(_0x3a5f62(_0x317c15,_0x26b6e3,_0x3719b1),_0x3719b1=Object[_0x5bbd3b(0x18f)](null),_0x26b6e3=void 0x0),_0x1ab013=_0x1fef3b=-0x1;}else{if(_0xfdc69===0x3d&&_0x1ab013!==-0x1&&_0x1fef3b===-0x1)_0x355bdf=_0x20bffa['slice'](_0x1ab013,_0x182f54),_0x1ab013=_0x1fef3b=-0x1;else throw new SyntaxError(_0x5bbd3b(0x2c5)+_0x182f54);}}}}else{if(_0x5d7143){if(_0x45b74c[_0xfdc69]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x182f54);_0x1ab013===-0x1?_0x1ab013=_0x182f54:_0x3dcd5b||(_0x3dcd5b=!0x0),_0x5d7143=!0x1;}else{if(_0xab562e){if(_0x45b74c[_0xfdc69]===0x1)_0x1ab013===-0x1&&(_0x1ab013=_0x182f54);else{if(_0xfdc69===0x22&&_0x1ab013!==-0x1)_0xab562e=!0x1,_0x1fef3b=_0x182f54;else{if(_0xfdc69===0x5c)_0x5d7143=!0x0;else throw new SyntaxError(_0x5bbd3b(0x2c5)+_0x182f54);}}}else{if(_0xfdc69===0x22&&_0x20bffa[_0x5bbd3b(0x164)](_0x182f54-0x1)===0x3d)_0xab562e=!0x0;else{if(_0x1fef3b===-0x1&&_0x45b74c[_0xfdc69]===0x1)_0x1ab013===-0x1&&(_0x1ab013=_0x182f54);else{if(_0x1ab013!==-0x1&&(_0xfdc69===0x20||_0xfdc69===0x9))_0x1fef3b===-0x1&&(_0x1fef3b=_0x182f54);else{if(_0xfdc69===0x3b||_0xfdc69===0x2c){if(_0x1ab013===-0x1)throw new SyntaxError(_0x5bbd3b(0x2c5)+_0x182f54);_0x1fef3b===-0x1&&(_0x1fef3b=_0x182f54);let _0x339c3c=_0x20bffa['slice'](_0x1ab013,_0x1fef3b);_0x3dcd5b&&(_0x339c3c=_0x339c3c[_0x5bbd3b(0x152)](/\\/g,''),_0x3dcd5b=!0x1),_0x3a5f62(_0x3719b1,_0x355bdf,_0x339c3c),_0xfdc69===0x2c&&(_0x3a5f62(_0x317c15,_0x26b6e3,_0x3719b1),_0x3719b1=Object[_0x5bbd3b(0x18f)](null),_0x26b6e3=void 0x0),_0x355bdf=void 0x0,_0x1ab013=_0x1fef3b=-0x1;}else throw new SyntaxError(_0x5bbd3b(0x2c5)+_0x182f54);}}}}}}}if(_0x1ab013===-0x1||_0xab562e||_0xfdc69===0x20||_0xfdc69===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x1fef3b===-0x1&&(_0x1fef3b=_0x182f54);const _0x12e285=_0x20bffa[_0x5bbd3b(0x2c0)](_0x1ab013,_0x1fef3b);return _0x26b6e3===void 0x0?_0x3a5f62(_0x317c15,_0x12e285,_0x3719b1):(_0x355bdf===void 0x0?_0x3a5f62(_0x3719b1,_0x12e285,!0x0):_0x3dcd5b?_0x3a5f62(_0x3719b1,_0x355bdf,_0x12e285[_0x5bbd3b(0x152)](/\\/g,'')):_0x3a5f62(_0x3719b1,_0x355bdf,_0x12e285),_0x3a5f62(_0x317c15,_0x26b6e3,_0x3719b1)),_0x317c15;}function _0x422e39(_0x1e47b7){const _0x26be74=_0x2c36;return Object[_0x26be74(0x301)](_0x1e47b7)['map'](_0x2ee123=>{const _0x274766=_0x26be74;let _0xdab656=_0x1e47b7[_0x2ee123];return Array[_0x274766(0x233)](_0xdab656)||(_0xdab656=[_0xdab656]),_0xdab656[_0x274766(0x1f8)](_0x43e86e=>[_0x2ee123][_0x274766(0x2f4)](Object[_0x274766(0x301)](_0x43e86e)['map'](_0x28a7c5=>{const _0x50d747=_0x274766;let _0x1836ba=_0x43e86e[_0x28a7c5];return Array['isArray'](_0x1836ba)||(_0x1836ba=[_0x1836ba]),_0x1836ba[_0x50d747(0x1f8)](_0x6b1030=>_0x6b1030===!0x0?_0x28a7c5:_0x28a7c5+'='+_0x6b1030)[_0x50d747(0x2a8)](';\x20');}))[_0x274766(0x2a8)](';\x20'))[_0x274766(0x2a8)](',\x20');})[_0x26be74(0x2a8)](',\x20');}return be={'format':_0x422e39,'parse':_0x2b2b87},be;}var we,Je;function Pe(){const _0x295e56=_0x1f4ea3;if(Je)return we;Je=0x1;const _0x1c77ee=nt,_0x2073d8=vt,_0x2a90c5=ot,_0x10e715=St,_0x226fad=Et,{randomBytes:_0x32a1c5,createHash:_0x4ac1c2}=Le,{Duplex:_0x436b1f,Readable:_0x2dc150}=oe,{URL:_0x56551e}=xt,_0x110e95=he(),_0x11f270=lt(),_0x241287=ft(),{isBlob:_0x117e54}=ae(),{BINARY_TYPES:_0x256261,EMPTY_BUFFER:_0x4c4549,GUID:_0x29d674,kForOnEventAttribute:_0x43b63b,kListener:_0x405e30,kStatusCode:_0x237c86,kWebSocket:_0x222042,NOOP:_0x453e37}=H(),{EventTarget:{addEventListener:_0x3d83ce,removeEventListener:_0x1859cf}}=It(),{format:_0x32476a,parse:_0x34cbbc}=ct(),{toBuffer:_0x41dbe2}=ce(),_0x40669e=0x1e*0x3e8,_0xf1d24b=Symbol(_0x295e56(0x1f7)),_0x1ace0a=[0x8,0xd],_0x227716=[_0x295e56(0x1a2),_0x295e56(0x22a),_0x295e56(0x1ad),_0x295e56(0x209)],_0x3c34e0=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x52c8b3 extends _0x1c77ee{constructor(_0x1c0a57,_0xeed2e8,_0x3da66f){const _0x192b73=_0x295e56;super(),this[_0x192b73(0x29b)]=_0x256261[0x0],this[_0x192b73(0x1a1)]=0x3ee,this[_0x192b73(0x169)]=!0x1,this[_0x192b73(0x1ae)]=!0x1,this[_0x192b73(0x1be)]=_0x4c4549,this['_closeTimer']=null,this[_0x192b73(0x28f)]=!0x1,this['_extensions']={},this[_0x192b73(0x1cf)]=!0x1,this[_0x192b73(0x305)]='',this['_readyState']=_0x52c8b3['CONNECTING'],this[_0x192b73(0x1d8)]=null,this[_0x192b73(0x241)]=null,this['_socket']=null,_0x1c0a57!==null?(this[_0x192b73(0x279)]=0x0,this['_isServer']=!0x1,this[_0x192b73(0x214)]=0x0,_0xeed2e8===void 0x0?_0xeed2e8=[]:Array['isArray'](_0xeed2e8)||(typeof _0xeed2e8==_0x192b73(0x193)&&_0xeed2e8!==null?(_0x3da66f=_0xeed2e8,_0xeed2e8=[]):_0xeed2e8=[_0xeed2e8]),_0x14e65d(this,_0x1c0a57,_0xeed2e8,_0x3da66f)):(this['_autoPong']=_0x3da66f[_0x192b73(0x16e)],this[_0x192b73(0x287)]=!0x0);}get[_0x295e56(0x2a5)](){const _0x2761f8=_0x295e56;return this[_0x2761f8(0x29b)];}set[_0x295e56(0x2a5)](_0x509739){const _0x238581=_0x295e56;_0x256261[_0x238581(0x2e0)](_0x509739)&&(this['_binaryType']=_0x509739,this[_0x238581(0x1d8)]&&(this[_0x238581(0x1d8)][_0x238581(0x29b)]=_0x509739));}get[_0x295e56(0x257)](){const _0x2c8df3=_0x295e56;return this[_0x2c8df3(0x2ca)]?this[_0x2c8df3(0x2ca)][_0x2c8df3(0x19f)][_0x2c8df3(0x2ba)]+this[_0x2c8df3(0x241)][_0x2c8df3(0x1ff)]:this[_0x2c8df3(0x279)];}get['extensions'](){const _0x358377=_0x295e56;return Object[_0x358377(0x301)](this['_extensions'])['join']();}get['isPaused'](){const _0x3a56e5=_0x295e56;return this[_0x3a56e5(0x1cf)];}get[_0x295e56(0x1ec)](){return null;}get[_0x295e56(0x22f)](){return null;}get[_0x295e56(0x2dd)](){return null;}get[_0x295e56(0x20d)](){return null;}get[_0x295e56(0x29c)](){const _0xba0890=_0x295e56;return this[_0xba0890(0x305)];}get[_0x295e56(0x1b2)](){const _0x75197a=_0x295e56;return this[_0x75197a(0x203)];}get[_0x295e56(0x278)](){const _0x15a667=_0x295e56;return this[_0x15a667(0x207)];}['setSocket'](_0x497917,_0x22ef54,_0x4a119d){const _0x108cb4=_0x295e56,_0x378216=new _0x11f270({'allowSynchronousEvents':_0x4a119d[_0x108cb4(0x289)],'binaryType':this['binaryType'],'extensions':this[_0x108cb4(0x2cd)],'isServer':this[_0x108cb4(0x287)],'maxPayload':_0x4a119d[_0x108cb4(0x29e)],'skipUTF8Validation':_0x4a119d[_0x108cb4(0x274)]}),_0x2ac391=new _0x241287(_0x497917,this[_0x108cb4(0x2cd)],_0x4a119d['generateMask']);this[_0x108cb4(0x1d8)]=_0x378216,this[_0x108cb4(0x241)]=_0x2ac391,this[_0x108cb4(0x2ca)]=_0x497917,_0x378216[_0x222042]=this,_0x2ac391[_0x222042]=this,_0x497917[_0x222042]=this,_0x378216['on']('conclude',_0x3da8f7),_0x378216['on']('drain',_0x2df76c),_0x378216['on'](_0x108cb4(0x21f),_0x3b8aea),_0x378216['on']('message',_0x3f69db),_0x378216['on'](_0x108cb4(0x157),_0x526b33),_0x378216['on']('pong',_0x4b9a33),_0x2ac391[_0x108cb4(0x22f)]=_0x2bf72a,_0x497917[_0x108cb4(0x2c1)]&&_0x497917[_0x108cb4(0x2c1)](0x0),_0x497917['setNoDelay']&&_0x497917['setNoDelay'](),_0x22ef54[_0x108cb4(0x2ba)]>0x0&&_0x497917['unshift'](_0x22ef54),_0x497917['on'](_0x108cb4(0x2b6),_0x15481c),_0x497917['on']('data',_0x4f3d44),_0x497917['on'](_0x108cb4(0x1c3),_0x3a2add),_0x497917['on'](_0x108cb4(0x21f),_0x2d712e),this[_0x108cb4(0x203)]=_0x52c8b3[_0x108cb4(0x22a)],this[_0x108cb4(0x2bb)]('open');}[_0x295e56(0x1f4)](){const _0xb3d8d9=_0x295e56;if(!this[_0xb3d8d9(0x2ca)]){this[_0xb3d8d9(0x203)]=_0x52c8b3[_0xb3d8d9(0x209)],this[_0xb3d8d9(0x2bb)](_0xb3d8d9(0x2b6),this[_0xb3d8d9(0x1a1)],this[_0xb3d8d9(0x1be)]);return;}this['_extensions'][_0x110e95[_0xb3d8d9(0x15e)]]&&this[_0xb3d8d9(0x2cd)][_0x110e95[_0xb3d8d9(0x15e)]][_0xb3d8d9(0x259)](),this[_0xb3d8d9(0x1d8)][_0xb3d8d9(0x238)](),this[_0xb3d8d9(0x203)]=_0x52c8b3[_0xb3d8d9(0x209)],this[_0xb3d8d9(0x2bb)](_0xb3d8d9(0x2b6),this[_0xb3d8d9(0x1a1)],this[_0xb3d8d9(0x1be)]);}[_0x295e56(0x2b6)](_0x14fe87,_0x5203f3){const _0x5319d7=_0x295e56;if(this[_0x5319d7(0x1b2)]!==_0x52c8b3[_0x5319d7(0x209)]){if(this[_0x5319d7(0x1b2)]===_0x52c8b3[_0x5319d7(0x1a2)]){_0x1681ff(this,this[_0x5319d7(0x2fa)],_0x5319d7(0x27b));return;}if(this[_0x5319d7(0x1b2)]===_0x52c8b3[_0x5319d7(0x1ad)]){this[_0x5319d7(0x1ae)]&&(this['_closeFrameReceived']||this[_0x5319d7(0x1d8)][_0x5319d7(0x19f)][_0x5319d7(0x290)])&&this[_0x5319d7(0x2ca)]['end']();return;}this[_0x5319d7(0x203)]=_0x52c8b3['CLOSING'],this['_sender'][_0x5319d7(0x2b6)](_0x14fe87,_0x5203f3,!this[_0x5319d7(0x287)],_0x44d5aa=>{const _0x16d021=_0x5319d7;_0x44d5aa||(this[_0x16d021(0x1ae)]=!0x0,(this[_0x16d021(0x169)]||this[_0x16d021(0x1d8)][_0x16d021(0x19f)][_0x16d021(0x290)])&&this[_0x16d021(0x2ca)][_0x16d021(0x1c3)]());}),_0x5bd1f4(this);}}['pause'](){const _0x4feaf7=_0x295e56;this[_0x4feaf7(0x1b2)]===_0x52c8b3['CONNECTING']||this[_0x4feaf7(0x1b2)]===_0x52c8b3[_0x4feaf7(0x209)]||(this[_0x4feaf7(0x1cf)]=!0x0,this[_0x4feaf7(0x2ca)][_0x4feaf7(0x17c)]());}[_0x295e56(0x157)](_0x47a831,_0x2cdf45,_0x1b74f6){const _0x27b715=_0x295e56;if(this[_0x27b715(0x1b2)]===_0x52c8b3[_0x27b715(0x1a2)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x47a831==_0x27b715(0x28a)?(_0x1b74f6=_0x47a831,_0x47a831=_0x2cdf45=void 0x0):typeof _0x2cdf45==_0x27b715(0x28a)&&(_0x1b74f6=_0x2cdf45,_0x2cdf45=void 0x0),typeof _0x47a831=='number'&&(_0x47a831=_0x47a831['toString']()),this[_0x27b715(0x1b2)]!==_0x52c8b3[_0x27b715(0x22a)]){_0x545c1f(this,_0x47a831,_0x1b74f6);return;}_0x2cdf45===void 0x0&&(_0x2cdf45=!this[_0x27b715(0x287)]),this[_0x27b715(0x241)]['ping'](_0x47a831||_0x4c4549,_0x2cdf45,_0x1b74f6);}[_0x295e56(0x212)](_0x2718e7,_0x53de6c,_0x3fce92){const _0x177887=_0x295e56;if(this['readyState']===_0x52c8b3[_0x177887(0x1a2)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x2718e7=='function'?(_0x3fce92=_0x2718e7,_0x2718e7=_0x53de6c=void 0x0):typeof _0x53de6c==_0x177887(0x28a)&&(_0x3fce92=_0x53de6c,_0x53de6c=void 0x0),typeof _0x2718e7==_0x177887(0x227)&&(_0x2718e7=_0x2718e7[_0x177887(0x19d)]()),this['readyState']!==_0x52c8b3['OPEN']){_0x545c1f(this,_0x2718e7,_0x3fce92);return;}_0x53de6c===void 0x0&&(_0x53de6c=!this['_isServer']),this[_0x177887(0x241)][_0x177887(0x212)](_0x2718e7||_0x4c4549,_0x53de6c,_0x3fce92);}[_0x295e56(0x25a)](){const _0x329b5f=_0x295e56;this[_0x329b5f(0x1b2)]===_0x52c8b3[_0x329b5f(0x1a2)]||this[_0x329b5f(0x1b2)]===_0x52c8b3[_0x329b5f(0x209)]||(this[_0x329b5f(0x1cf)]=!0x1,this[_0x329b5f(0x1d8)]['_writableState'][_0x329b5f(0x270)]||this['_socket'][_0x329b5f(0x25a)]());}[_0x295e56(0x291)](_0x630499,_0x3ee279,_0x58fde9){const _0x2a98a=_0x295e56;if(this[_0x2a98a(0x1b2)]===_0x52c8b3['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3ee279==_0x2a98a(0x28a)&&(_0x58fde9=_0x3ee279,_0x3ee279={}),typeof _0x630499==_0x2a98a(0x227)&&(_0x630499=_0x630499[_0x2a98a(0x19d)]()),this[_0x2a98a(0x1b2)]!==_0x52c8b3['OPEN']){_0x545c1f(this,_0x630499,_0x58fde9);return;}const _0xdbf222={'binary':typeof _0x630499!=_0x2a98a(0x2c2),'mask':!this[_0x2a98a(0x287)],'compress':!0x0,'fin':!0x0,..._0x3ee279};this[_0x2a98a(0x2cd)][_0x110e95['extensionName']]||(_0xdbf222[_0x2a98a(0x2bd)]=!0x1),this[_0x2a98a(0x241)][_0x2a98a(0x291)](_0x630499||_0x4c4549,_0xdbf222,_0x58fde9);}[_0x295e56(0x2de)](){const _0x2b2f60=_0x295e56;if(this[_0x2b2f60(0x1b2)]!==_0x52c8b3['CLOSED']){if(this[_0x2b2f60(0x1b2)]===_0x52c8b3[_0x2b2f60(0x1a2)]){_0x1681ff(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x2b2f60(0x2ca)]&&(this[_0x2b2f60(0x203)]=_0x52c8b3[_0x2b2f60(0x1ad)],this[_0x2b2f60(0x2ca)][_0x2b2f60(0x302)]());}}}Object[_0x295e56(0x220)](_0x52c8b3,_0x295e56(0x1a2),{'enumerable':!0x0,'value':_0x227716[_0x295e56(0x1a3)]('CONNECTING')}),Object[_0x295e56(0x220)](_0x52c8b3['prototype'],_0x295e56(0x1a2),{'enumerable':!0x0,'value':_0x227716[_0x295e56(0x1a3)](_0x295e56(0x1a2))}),Object[_0x295e56(0x220)](_0x52c8b3,'OPEN',{'enumerable':!0x0,'value':_0x227716[_0x295e56(0x1a3)](_0x295e56(0x22a))}),Object['defineProperty'](_0x52c8b3[_0x295e56(0x2d7)],_0x295e56(0x22a),{'enumerable':!0x0,'value':_0x227716[_0x295e56(0x1a3)]('OPEN')}),Object[_0x295e56(0x220)](_0x52c8b3,_0x295e56(0x1ad),{'enumerable':!0x0,'value':_0x227716[_0x295e56(0x1a3)](_0x295e56(0x1ad))}),Object[_0x295e56(0x220)](_0x52c8b3[_0x295e56(0x2d7)],_0x295e56(0x1ad),{'enumerable':!0x0,'value':_0x227716[_0x295e56(0x1a3)]('CLOSING')}),Object[_0x295e56(0x220)](_0x52c8b3,_0x295e56(0x209),{'enumerable':!0x0,'value':_0x227716[_0x295e56(0x1a3)](_0x295e56(0x209))}),Object[_0x295e56(0x220)](_0x52c8b3[_0x295e56(0x2d7)],_0x295e56(0x209),{'enumerable':!0x0,'value':_0x227716[_0x295e56(0x1a3)](_0x295e56(0x209))}),[_0x295e56(0x2a5),_0x295e56(0x257),_0x295e56(0x2ae),_0x295e56(0x2cb),_0x295e56(0x29c),'readyState',_0x295e56(0x278)][_0x295e56(0x1d0)](_0x2fab73=>{const _0x1690c3=_0x295e56;Object[_0x1690c3(0x220)](_0x52c8b3[_0x1690c3(0x2d7)],_0x2fab73,{'enumerable':!0x0});}),['open','error','close',_0x295e56(0x254)][_0x295e56(0x1d0)](_0x558812=>{const _0x46274d=_0x295e56;Object[_0x46274d(0x220)](_0x52c8b3[_0x46274d(0x2d7)],'on'+_0x558812,{'enumerable':!0x0,'get'(){const _0x32291a=_0x46274d;for(const _0x28cbd8 of this[_0x32291a(0x2eb)](_0x558812))if(_0x28cbd8[_0x43b63b])return _0x28cbd8[_0x405e30];return null;},'set'(_0x42b07a){const _0x4ebc23=_0x46274d;for(const _0x5f3671 of this[_0x4ebc23(0x2eb)](_0x558812))if(_0x5f3671[_0x43b63b]){this[_0x4ebc23(0x27e)](_0x558812,_0x5f3671);break;}typeof _0x42b07a==_0x4ebc23(0x28a)&&this['addEventListener'](_0x558812,_0x42b07a,{[_0x43b63b]:!0x0});}});}),_0x52c8b3[_0x295e56(0x2d7)][_0x295e56(0x2d4)]=_0x3d83ce,_0x52c8b3['prototype'][_0x295e56(0x280)]=_0x1859cf,we=_0x52c8b3;function _0x14e65d(_0x1103c7,_0x3b1042,_0x541771,_0xd6dd23){const _0x1cb2d0=_0x295e56,_0x5e18af={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1ace0a[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0xd6dd23,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x1cb2d0(0x1c9),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x1103c7[_0x1cb2d0(0x180)]=_0x5e18af['autoPong'],!_0x1ace0a[_0x1cb2d0(0x2e0)](_0x5e18af[_0x1cb2d0(0x156)]))throw new RangeError(_0x1cb2d0(0x1c7)+_0x5e18af['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x1ace0a[_0x1cb2d0(0x2a8)](',\x20')+')');let _0x4e346e;if(_0x3b1042 instanceof _0x56551e)_0x4e346e=_0x3b1042;else try{_0x4e346e=new _0x56551e(_0x3b1042);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x3b1042);}_0x4e346e['protocol']==='http:'?_0x4e346e[_0x1cb2d0(0x29c)]=_0x1cb2d0(0x255):_0x4e346e[_0x1cb2d0(0x29c)]==='https:'&&(_0x4e346e[_0x1cb2d0(0x29c)]='wss:'),_0x1103c7[_0x1cb2d0(0x207)]=_0x4e346e[_0x1cb2d0(0x190)];const _0x1244b2=_0x4e346e['protocol']==='wss:',_0x599b5a=_0x4e346e[_0x1cb2d0(0x29c)]===_0x1cb2d0(0x17d);let _0xa2a5be;if(_0x4e346e[_0x1cb2d0(0x29c)]!=='ws:'&&!_0x1244b2&&!_0x599b5a?_0xa2a5be=_0x1cb2d0(0x1a7):_0x599b5a&&!_0x4e346e['pathname']?_0xa2a5be=_0x1cb2d0(0x189):_0x4e346e[_0x1cb2d0(0x1fd)]&&(_0xa2a5be='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0xa2a5be){const _0x370fe1=new SyntaxError(_0xa2a5be);if(_0x1103c7[_0x1cb2d0(0x214)]===0x0)throw _0x370fe1;_0x340b6f(_0x1103c7,_0x370fe1);return;}const _0x4dc624=_0x1244b2?0x1bb:0x50,_0xc7dbcb=_0x32a1c5(0x10)[_0x1cb2d0(0x19d)](_0x1cb2d0(0x2b0)),_0x23b082=_0x1244b2?_0x2073d8[_0x1cb2d0(0x221)]:_0x2a90c5['request'],_0x31c3b8=new Set();let _0x214ffd;if(_0x5e18af[_0x1cb2d0(0x2a0)]=_0x5e18af['createConnection']||(_0x1244b2?_0x598cab:_0x1629fb),_0x5e18af[_0x1cb2d0(0x25e)]=_0x5e18af[_0x1cb2d0(0x25e)]||_0x4dc624,_0x5e18af[_0x1cb2d0(0x26e)]=_0x4e346e[_0x1cb2d0(0x26e)]||_0x4dc624,_0x5e18af[_0x1cb2d0(0x25b)]=_0x4e346e[_0x1cb2d0(0x306)][_0x1cb2d0(0x1da)]('[')?_0x4e346e['hostname']['slice'](0x1,-0x1):_0x4e346e[_0x1cb2d0(0x306)],_0x5e18af[_0x1cb2d0(0x226)]={..._0x5e18af[_0x1cb2d0(0x226)],'Sec-WebSocket-Version':_0x5e18af[_0x1cb2d0(0x156)],'Sec-WebSocket-Key':_0xc7dbcb,'Connection':_0x1cb2d0(0x239),'Upgrade':_0x1cb2d0(0x1fe)},_0x5e18af[_0x1cb2d0(0x1a6)]=_0x4e346e[_0x1cb2d0(0x158)]+_0x4e346e[_0x1cb2d0(0x1aa)],_0x5e18af[_0x1cb2d0(0x309)]=_0x5e18af['handshakeTimeout'],_0x5e18af[_0x1cb2d0(0x166)]&&(_0x214ffd=new _0x110e95(_0x5e18af[_0x1cb2d0(0x166)]!==!0x0?_0x5e18af['perMessageDeflate']:{},!0x1,_0x5e18af[_0x1cb2d0(0x29e)]),_0x5e18af[_0x1cb2d0(0x226)][_0x1cb2d0(0x28e)]=_0x32476a({[_0x110e95['extensionName']]:_0x214ffd[_0x1cb2d0(0x2f2)]()})),_0x541771[_0x1cb2d0(0x2ba)]){for(const _0x2ac190 of _0x541771){if(typeof _0x2ac190!='string'||!_0x3c34e0[_0x1cb2d0(0x1f6)](_0x2ac190)||_0x31c3b8['has'](_0x2ac190))throw new SyntaxError(_0x1cb2d0(0x299));_0x31c3b8[_0x1cb2d0(0x22c)](_0x2ac190);}_0x5e18af[_0x1cb2d0(0x226)][_0x1cb2d0(0x21a)]=_0x541771['join'](',');}if(_0x5e18af['origin']&&(_0x5e18af[_0x1cb2d0(0x156)]<0xd?_0x5e18af[_0x1cb2d0(0x226)][_0x1cb2d0(0x196)]=_0x5e18af[_0x1cb2d0(0x201)]:_0x5e18af[_0x1cb2d0(0x226)][_0x1cb2d0(0x208)]=_0x5e18af[_0x1cb2d0(0x201)]),(_0x4e346e[_0x1cb2d0(0x2b3)]||_0x4e346e[_0x1cb2d0(0x22d)])&&(_0x5e18af[_0x1cb2d0(0x19a)]=_0x4e346e[_0x1cb2d0(0x2b3)]+':'+_0x4e346e[_0x1cb2d0(0x22d)]),_0x599b5a){const _0x2ae206=_0x5e18af['path'][_0x1cb2d0(0x245)](':');_0x5e18af[_0x1cb2d0(0x18d)]=_0x2ae206[0x0],_0x5e18af[_0x1cb2d0(0x1a6)]=_0x2ae206[0x1];}let _0x1615f6;if(_0x5e18af[_0x1cb2d0(0x1cd)]){if(_0x1103c7[_0x1cb2d0(0x214)]===0x0){_0x1103c7['_originalIpc']=_0x599b5a,_0x1103c7[_0x1cb2d0(0x26b)]=_0x1244b2,_0x1103c7[_0x1cb2d0(0x17e)]=_0x599b5a?_0x5e18af['socketPath']:_0x4e346e[_0x1cb2d0(0x25b)];const _0x59021e=_0xd6dd23&&_0xd6dd23[_0x1cb2d0(0x226)];if(_0xd6dd23={..._0xd6dd23,'headers':{}},_0x59021e){for(const [_0x3e9f60,_0x6e25e1]of Object[_0x1cb2d0(0x155)](_0x59021e))_0xd6dd23[_0x1cb2d0(0x226)][_0x3e9f60[_0x1cb2d0(0x206)]()]=_0x6e25e1;}}else{if(_0x1103c7[_0x1cb2d0(0x1cc)]('redirect')===0x0){const _0x1186b5=_0x599b5a?_0x1103c7[_0x1cb2d0(0x19c)]?_0x5e18af[_0x1cb2d0(0x18d)]===_0x1103c7[_0x1cb2d0(0x17e)]:!0x1:_0x1103c7[_0x1cb2d0(0x19c)]?!0x1:_0x4e346e[_0x1cb2d0(0x25b)]===_0x1103c7[_0x1cb2d0(0x17e)];(!_0x1186b5||_0x1103c7['_originalSecure']&&!_0x1244b2)&&(delete _0x5e18af[_0x1cb2d0(0x226)][_0x1cb2d0(0x240)],delete _0x5e18af['headers'][_0x1cb2d0(0x21e)],_0x1186b5||delete _0x5e18af[_0x1cb2d0(0x226)]['host'],_0x5e18af[_0x1cb2d0(0x19a)]=void 0x0);}}_0x5e18af[_0x1cb2d0(0x19a)]&&!_0xd6dd23['headers'][_0x1cb2d0(0x240)]&&(_0xd6dd23[_0x1cb2d0(0x226)][_0x1cb2d0(0x240)]='Basic\x20'+Buffer[_0x1cb2d0(0x25f)](_0x5e18af['auth'])[_0x1cb2d0(0x19d)](_0x1cb2d0(0x2b0))),_0x1615f6=_0x1103c7[_0x1cb2d0(0x2fa)]=_0x23b082(_0x5e18af),_0x1103c7[_0x1cb2d0(0x214)]&&_0x1103c7[_0x1cb2d0(0x2bb)](_0x1cb2d0(0x198),_0x1103c7[_0x1cb2d0(0x278)],_0x1615f6);}else _0x1615f6=_0x1103c7[_0x1cb2d0(0x2fa)]=_0x23b082(_0x5e18af);_0x5e18af['timeout']&&_0x1615f6['on'](_0x1cb2d0(0x309),()=>{const _0x3ffeea=_0x1cb2d0;_0x1681ff(_0x1103c7,_0x1615f6,_0x3ffeea(0x232));}),_0x1615f6['on'](_0x1cb2d0(0x21f),_0x1d0f78=>{const _0x2a11c2=_0x1cb2d0;_0x1615f6===null||_0x1615f6[_0xf1d24b]||(_0x1615f6=_0x1103c7[_0x2a11c2(0x2fa)]=null,_0x340b6f(_0x1103c7,_0x1d0f78));}),_0x1615f6['on'](_0x1cb2d0(0x1ed),_0x327875=>{const _0xad4c6f=_0x1cb2d0,_0x55a4b6=_0x327875[_0xad4c6f(0x226)]['location'],_0x56fc23=_0x327875[_0xad4c6f(0x277)];if(_0x55a4b6&&_0x5e18af[_0xad4c6f(0x1cd)]&&_0x56fc23>=0x12c&&_0x56fc23<0x190){if(++_0x1103c7[_0xad4c6f(0x214)]>_0x5e18af[_0xad4c6f(0x1b7)]){_0x1681ff(_0x1103c7,_0x1615f6,'Maximum\x20redirects\x20exceeded');return;}_0x1615f6['abort']();let _0x41e246;try{_0x41e246=new _0x56551e(_0x55a4b6,_0x3b1042);}catch{const _0x26461e=new SyntaxError(_0xad4c6f(0x1e4)+_0x55a4b6);_0x340b6f(_0x1103c7,_0x26461e);return;}_0x14e65d(_0x1103c7,_0x41e246,_0x541771,_0xd6dd23);}else _0x1103c7[_0xad4c6f(0x2bb)]('unexpected-response',_0x1615f6,_0x327875)||_0x1681ff(_0x1103c7,_0x1615f6,_0xad4c6f(0x219)+_0x327875[_0xad4c6f(0x277)]);}),_0x1615f6['on'](_0x1cb2d0(0x285),(_0x3bd0ce,_0x510205,_0x48f1c4)=>{const _0x56c3bc=_0x1cb2d0;if(_0x1103c7[_0x56c3bc(0x2bb)]('upgrade',_0x3bd0ce),_0x1103c7['readyState']!==_0x52c8b3['CONNECTING'])return;_0x1615f6=_0x1103c7[_0x56c3bc(0x2fa)]=null;const _0x42faec=_0x3bd0ce[_0x56c3bc(0x226)][_0x56c3bc(0x285)];if(_0x42faec===void 0x0||_0x42faec[_0x56c3bc(0x206)]()!==_0x56c3bc(0x1fe)){_0x1681ff(_0x1103c7,_0x510205,_0x56c3bc(0x222));return;}const _0x493f98=_0x4ac1c2(_0x56c3bc(0x1d7))['update'](_0xc7dbcb+_0x29d674)[_0x56c3bc(0x177)](_0x56c3bc(0x2b0));if(_0x3bd0ce[_0x56c3bc(0x226)][_0x56c3bc(0x2b9)]!==_0x493f98){_0x1681ff(_0x1103c7,_0x510205,_0x56c3bc(0x178));return;}const _0x945c19=_0x3bd0ce[_0x56c3bc(0x226)][_0x56c3bc(0x1f5)];let _0x28f128;if(_0x945c19!==void 0x0?_0x31c3b8[_0x56c3bc(0x170)]?_0x31c3b8[_0x56c3bc(0x2fc)](_0x945c19)||(_0x28f128=_0x56c3bc(0x162)):_0x28f128=_0x56c3bc(0x2d5):_0x31c3b8[_0x56c3bc(0x170)]&&(_0x28f128=_0x56c3bc(0x183)),_0x28f128){_0x1681ff(_0x1103c7,_0x510205,_0x28f128);return;}_0x945c19&&(_0x1103c7[_0x56c3bc(0x305)]=_0x945c19);const _0x5ae304=_0x3bd0ce[_0x56c3bc(0x226)][_0x56c3bc(0x1c0)];if(_0x5ae304!==void 0x0){if(!_0x214ffd){_0x1681ff(_0x1103c7,_0x510205,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x2c6fed;try{_0x2c6fed=_0x34cbbc(_0x5ae304);}catch{_0x1681ff(_0x1103c7,_0x510205,_0x56c3bc(0x250));return;}const _0x38c0f6=Object[_0x56c3bc(0x301)](_0x2c6fed);if(_0x38c0f6[_0x56c3bc(0x2ba)]!==0x1||_0x38c0f6[0x0]!==_0x110e95['extensionName']){_0x1681ff(_0x1103c7,_0x510205,_0x56c3bc(0x24b));return;}try{_0x214ffd['accept'](_0x2c6fed[_0x110e95[_0x56c3bc(0x15e)]]);}catch{_0x1681ff(_0x1103c7,_0x510205,_0x56c3bc(0x250));return;}_0x1103c7['_extensions'][_0x110e95[_0x56c3bc(0x15e)]]=_0x214ffd;}_0x1103c7[_0x56c3bc(0x21c)](_0x510205,_0x48f1c4,{'allowSynchronousEvents':_0x5e18af[_0x56c3bc(0x289)],'generateMask':_0x5e18af[_0x56c3bc(0x2f0)],'maxPayload':_0x5e18af[_0x56c3bc(0x29e)],'skipUTF8Validation':_0x5e18af[_0x56c3bc(0x274)]});}),_0x5e18af[_0x1cb2d0(0x1bf)]?_0x5e18af[_0x1cb2d0(0x1bf)](_0x1615f6,_0x1103c7):_0x1615f6[_0x1cb2d0(0x1c3)]();}function _0x340b6f(_0x318ee9,_0x483c6b){const _0x59ea7d=_0x295e56;_0x318ee9['_readyState']=_0x52c8b3[_0x59ea7d(0x1ad)],_0x318ee9['_errorEmitted']=!0x0,_0x318ee9['emit'](_0x59ea7d(0x21f),_0x483c6b),_0x318ee9[_0x59ea7d(0x1f4)]();}function _0x1629fb(_0x360c23){const _0x4b2e9f=_0x295e56;return _0x360c23[_0x4b2e9f(0x1a6)]=_0x360c23['socketPath'],_0x10e715['connect'](_0x360c23);}function _0x598cab(_0x49deca){const _0x3b695d=_0x295e56;return _0x49deca[_0x3b695d(0x1a6)]=void 0x0,!_0x49deca[_0x3b695d(0x237)]&&_0x49deca[_0x3b695d(0x237)]!==''&&(_0x49deca[_0x3b695d(0x237)]=_0x10e715['isIP'](_0x49deca[_0x3b695d(0x25b)])?'':_0x49deca[_0x3b695d(0x25b)]),_0x226fad['connect'](_0x49deca);}function _0x1681ff(_0x2ec846,_0xcc60f2,_0x16447d){const _0x2ee9be=_0x295e56;_0x2ec846[_0x2ee9be(0x203)]=_0x52c8b3[_0x2ee9be(0x1ad)];const _0x5092d8=new Error(_0x16447d);Error[_0x2ee9be(0x297)](_0x5092d8,_0x1681ff),_0xcc60f2[_0x2ee9be(0x211)]?(_0xcc60f2[_0xf1d24b]=!0x0,_0xcc60f2[_0x2ee9be(0x304)](),_0xcc60f2[_0x2ee9be(0x1de)]&&!_0xcc60f2[_0x2ee9be(0x1de)][_0x2ee9be(0x284)]&&_0xcc60f2[_0x2ee9be(0x1de)]['destroy'](),process[_0x2ee9be(0x1a9)](_0x340b6f,_0x2ec846,_0x5092d8)):(_0xcc60f2['destroy'](_0x5092d8),_0xcc60f2[_0x2ee9be(0x17f)]('error',_0x2ec846[_0x2ee9be(0x2bb)][_0x2ee9be(0x154)](_0x2ec846,'error')),_0xcc60f2['once'](_0x2ee9be(0x2b6),_0x2ec846[_0x2ee9be(0x1f4)]['bind'](_0x2ec846)));}function _0x545c1f(_0x1f0bb1,_0x5e88f3,_0x2d140e){const _0x385bcd=_0x295e56;if(_0x5e88f3){const _0xe2037=_0x117e54(_0x5e88f3)?_0x5e88f3[_0x385bcd(0x170)]:_0x41dbe2(_0x5e88f3)[_0x385bcd(0x2ba)];_0x1f0bb1[_0x385bcd(0x2ca)]?_0x1f0bb1[_0x385bcd(0x241)][_0x385bcd(0x1ff)]+=_0xe2037:_0x1f0bb1['_bufferedAmount']+=_0xe2037;}if(_0x2d140e){const _0x15cd9b=new Error(_0x385bcd(0x2e1)+_0x1f0bb1[_0x385bcd(0x1b2)]+'\x20('+_0x227716[_0x1f0bb1[_0x385bcd(0x1b2)]]+')');process['nextTick'](_0x2d140e,_0x15cd9b);}}function _0x3da8f7(_0x1015db,_0x4f1509){const _0x124aa2=_0x295e56,_0x2eeb5d=this[_0x222042];_0x2eeb5d[_0x124aa2(0x169)]=!0x0,_0x2eeb5d[_0x124aa2(0x1be)]=_0x4f1509,_0x2eeb5d['_closeCode']=_0x1015db,_0x2eeb5d['_socket'][_0x222042]!==void 0x0&&(_0x2eeb5d['_socket'][_0x124aa2(0x27e)](_0x124aa2(0x2cc),_0x4f3d44),process[_0x124aa2(0x1a9)](_0x16ed8f,_0x2eeb5d[_0x124aa2(0x2ca)]),_0x1015db===0x3ed?_0x2eeb5d[_0x124aa2(0x2b6)]():_0x2eeb5d[_0x124aa2(0x2b6)](_0x1015db,_0x4f1509));}function _0x2df76c(){const _0x2c0bcd=_0x295e56,_0x28d3bf=this[_0x222042];_0x28d3bf[_0x2c0bcd(0x2cb)]||_0x28d3bf[_0x2c0bcd(0x2ca)]['resume']();}function _0x3b8aea(_0x4e1a44){const _0x19020c=_0x295e56,_0x5a5c40=this[_0x222042];_0x5a5c40[_0x19020c(0x2ca)][_0x222042]!==void 0x0&&(_0x5a5c40[_0x19020c(0x2ca)][_0x19020c(0x27e)](_0x19020c(0x2cc),_0x4f3d44),process['nextTick'](_0x16ed8f,_0x5a5c40[_0x19020c(0x2ca)]),_0x5a5c40[_0x19020c(0x2b6)](_0x4e1a44[_0x237c86])),_0x5a5c40[_0x19020c(0x28f)]||(_0x5a5c40[_0x19020c(0x28f)]=!0x0,_0x5a5c40[_0x19020c(0x2bb)](_0x19020c(0x21f),_0x4e1a44));}function _0x1da46c(){const _0x298f7f=_0x295e56;this[_0x222042][_0x298f7f(0x1f4)]();}function _0x3f69db(_0x3c29cf,_0x121ec5){const _0x41e0e2=_0x295e56;this[_0x222042][_0x41e0e2(0x2bb)]('message',_0x3c29cf,_0x121ec5);}function _0x526b33(_0x5b01c2){const _0x53466f=_0x295e56,_0xe7ef0a=this[_0x222042];_0xe7ef0a[_0x53466f(0x180)]&&_0xe7ef0a[_0x53466f(0x212)](_0x5b01c2,!this[_0x53466f(0x287)],_0x453e37),_0xe7ef0a[_0x53466f(0x2bb)](_0x53466f(0x157),_0x5b01c2);}function _0x4b9a33(_0x133aeb){const _0x407e31=_0x295e56;this[_0x222042][_0x407e31(0x2bb)](_0x407e31(0x212),_0x133aeb);}function _0x16ed8f(_0x4a5cf9){const _0x377f14=_0x295e56;_0x4a5cf9[_0x377f14(0x25a)]();}function _0x2bf72a(_0x2c772d){const _0xe92146=_0x295e56,_0x575b5b=this[_0x222042];_0x575b5b[_0xe92146(0x1b2)]!==_0x52c8b3[_0xe92146(0x209)]&&(_0x575b5b[_0xe92146(0x1b2)]===_0x52c8b3['OPEN']&&(_0x575b5b['_readyState']=_0x52c8b3['CLOSING'],_0x5bd1f4(_0x575b5b)),this[_0xe92146(0x2ca)][_0xe92146(0x1c3)](),_0x575b5b['_errorEmitted']||(_0x575b5b[_0xe92146(0x28f)]=!0x0,_0x575b5b['emit'](_0xe92146(0x21f),_0x2c772d)));}function _0x5bd1f4(_0x56725b){const _0x48f6b4=_0x295e56;_0x56725b[_0x48f6b4(0x1d3)]=setTimeout(_0x56725b[_0x48f6b4(0x2ca)]['destroy'][_0x48f6b4(0x154)](_0x56725b['_socket']),_0x40669e);}function _0x15481c(){const _0x19ed0c=_0x295e56,_0x2ad3b0=this[_0x222042];this[_0x19ed0c(0x27e)](_0x19ed0c(0x2b6),_0x15481c),this[_0x19ed0c(0x27e)](_0x19ed0c(0x2cc),_0x4f3d44),this['removeListener']('end',_0x3a2add),_0x2ad3b0[_0x19ed0c(0x203)]=_0x52c8b3[_0x19ed0c(0x1ad)];let _0xc0ce7;!this['_readableState'][_0x19ed0c(0x21b)]&&!_0x2ad3b0[_0x19ed0c(0x169)]&&!_0x2ad3b0[_0x19ed0c(0x1d8)][_0x19ed0c(0x19f)][_0x19ed0c(0x290)]&&(_0xc0ce7=_0x2ad3b0[_0x19ed0c(0x2ca)]['read']())!==null&&_0x2ad3b0['_receiver'][_0x19ed0c(0x229)](_0xc0ce7),_0x2ad3b0['_receiver'][_0x19ed0c(0x1c3)](),this[_0x222042]=void 0x0,clearTimeout(_0x2ad3b0[_0x19ed0c(0x1d3)]),_0x2ad3b0[_0x19ed0c(0x1d8)]['_writableState'][_0x19ed0c(0x2ef)]||_0x2ad3b0[_0x19ed0c(0x1d8)][_0x19ed0c(0x19f)]['errorEmitted']?_0x2ad3b0['emitClose']():(_0x2ad3b0[_0x19ed0c(0x1d8)]['on']('error',_0x1da46c),_0x2ad3b0['_receiver']['on'](_0x19ed0c(0x1fa),_0x1da46c));}function _0x4f3d44(_0x3df9b2){const _0x577798=_0x295e56;this[_0x222042][_0x577798(0x1d8)][_0x577798(0x229)](_0x3df9b2)||this[_0x577798(0x17c)]();}function _0x3a2add(){const _0x449559=_0x295e56,_0x2ed97d=this[_0x222042];_0x2ed97d[_0x449559(0x203)]=_0x52c8b3['CLOSING'],_0x2ed97d['_receiver'][_0x449559(0x1c3)](),this['end']();}function _0x2d712e(){const _0x42ebef=_0x295e56,_0x30f528=this[_0x222042];this[_0x42ebef(0x27e)](_0x42ebef(0x21f),_0x2d712e),this['on']('error',_0x453e37),_0x30f528&&(_0x30f528[_0x42ebef(0x203)]=_0x52c8b3[_0x42ebef(0x1ad)],this[_0x42ebef(0x302)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x5e4119}=oe;function _0x15a3e1(_0x235118){const _0x54e1c0=_0x2c36;_0x235118['emit'](_0x54e1c0(0x2b6));}function _0x4546c0(){const _0x22269e=_0x2c36;!this[_0x22269e(0x284)]&&this['_writableState'][_0x22269e(0x2ef)]&&this[_0x22269e(0x302)]();}function _0xdfd9d5(_0x19684a){const _0x119f72=_0x2c36;this[_0x119f72(0x27e)](_0x119f72(0x21f),_0xdfd9d5),this[_0x119f72(0x302)](),this[_0x119f72(0x1cc)](_0x119f72(0x21f))===0x0&&this['emit']('error',_0x19684a);}function _0x39d3bb(_0x9851d9,_0x563d46){const _0x3ddaee=_0x2c36;let _0x8e996b=!0x0;const _0x3f34a9=new _0x5e4119({..._0x563d46,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x9851d9['on'](_0x3ddaee(0x254),function(_0x1bf0b3,_0x108248){const _0x5d7ac6=_0x3ddaee,_0x1c4df7=!_0x108248&&_0x3f34a9[_0x5d7ac6(0x1ee)][_0x5d7ac6(0x174)]?_0x1bf0b3[_0x5d7ac6(0x19d)]():_0x1bf0b3;_0x3f34a9[_0x5d7ac6(0x1df)](_0x1c4df7)||_0x9851d9[_0x5d7ac6(0x17c)]();}),_0x9851d9[_0x3ddaee(0x17f)](_0x3ddaee(0x21f),function(_0x46339b){const _0x331cf0=_0x3ddaee;_0x3f34a9[_0x331cf0(0x284)]||(_0x8e996b=!0x1,_0x3f34a9[_0x331cf0(0x302)](_0x46339b));}),_0x9851d9[_0x3ddaee(0x17f)]('close',function(){const _0x56f557=_0x3ddaee;_0x3f34a9[_0x56f557(0x284)]||_0x3f34a9['push'](null);}),_0x3f34a9['_destroy']=function(_0x4b9974,_0x49bf72){const _0x256cb0=_0x3ddaee;if(_0x9851d9[_0x256cb0(0x1b2)]===_0x9851d9[_0x256cb0(0x209)]){_0x49bf72(_0x4b9974),process[_0x256cb0(0x1a9)](_0x15a3e1,_0x3f34a9);return;}let _0x446895=!0x1;_0x9851d9['once'](_0x256cb0(0x21f),function(_0x56e7f5){_0x446895=!0x0,_0x49bf72(_0x56e7f5);}),_0x9851d9[_0x256cb0(0x17f)](_0x256cb0(0x2b6),function(){_0x446895||_0x49bf72(_0x4b9974),process['nextTick'](_0x15a3e1,_0x3f34a9);}),_0x8e996b&&_0x9851d9[_0x256cb0(0x2de)]();},_0x3f34a9[_0x3ddaee(0x161)]=function(_0x5d5d5d){const _0x9b66e7=_0x3ddaee;if(_0x9851d9[_0x9b66e7(0x1b2)]===_0x9851d9['CONNECTING']){_0x9851d9[_0x9b66e7(0x17f)](_0x9b66e7(0x28c),function(){_0x3f34a9['_final'](_0x5d5d5d);});return;}_0x9851d9['_socket']!==null&&(_0x9851d9['_socket'][_0x9b66e7(0x19f)][_0x9b66e7(0x2ef)]?(_0x5d5d5d(),_0x3f34a9[_0x9b66e7(0x1ee)][_0x9b66e7(0x21b)]&&_0x3f34a9[_0x9b66e7(0x302)]()):(_0x9851d9[_0x9b66e7(0x2ca)]['once'](_0x9b66e7(0x1fa),function(){_0x5d5d5d();}),_0x9851d9[_0x9b66e7(0x2b6)]()));},_0x3f34a9[_0x3ddaee(0x2c4)]=function(){const _0x5077e8=_0x3ddaee;_0x9851d9[_0x5077e8(0x2cb)]&&_0x9851d9['resume']();},_0x3f34a9[_0x3ddaee(0x165)]=function(_0x7e4ba6,_0x1c7690,_0x52b15a){const _0x566de7=_0x3ddaee;if(_0x9851d9[_0x566de7(0x1b2)]===_0x9851d9[_0x566de7(0x1a2)]){_0x9851d9[_0x566de7(0x17f)]('open',function(){const _0x4600ae=_0x566de7;_0x3f34a9[_0x4600ae(0x165)](_0x7e4ba6,_0x1c7690,_0x52b15a);});return;}_0x9851d9[_0x566de7(0x291)](_0x7e4ba6,_0x52b15a);},_0x3f34a9['on'](_0x3ddaee(0x1c3),_0x4546c0),_0x3f34a9['on'](_0x3ddaee(0x21f),_0xdfd9d5),_0x3f34a9;}return Oe=_0x39d3bb,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x261a47}=ae();function _0x4b1e25(_0x330f1f){const _0x5ac092=_0x2c36,_0x2277f4=new Set();let _0x2c6f22=-0x1,_0x555570=-0x1,_0x3fe435=0x0;for(_0x3fe435;_0x3fe435<_0x330f1f['length'];_0x3fe435++){const _0x2f1312=_0x330f1f[_0x5ac092(0x164)](_0x3fe435);if(_0x555570===-0x1&&_0x261a47[_0x2f1312]===0x1)_0x2c6f22===-0x1&&(_0x2c6f22=_0x3fe435);else{if(_0x3fe435!==0x0&&(_0x2f1312===0x20||_0x2f1312===0x9))_0x555570===-0x1&&_0x2c6f22!==-0x1&&(_0x555570=_0x3fe435);else{if(_0x2f1312===0x2c){if(_0x2c6f22===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3fe435);_0x555570===-0x1&&(_0x555570=_0x3fe435);const _0xe47793=_0x330f1f['slice'](_0x2c6f22,_0x555570);if(_0x2277f4[_0x5ac092(0x2fc)](_0xe47793))throw new SyntaxError('The\x20\x22'+_0xe47793+_0x5ac092(0x1b3));_0x2277f4[_0x5ac092(0x22c)](_0xe47793),_0x2c6f22=_0x555570=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3fe435);}}}if(_0x2c6f22===-0x1||_0x555570!==-0x1)throw new SyntaxError(_0x5ac092(0x223));const _0x11f75b=_0x330f1f['slice'](_0x2c6f22,_0x3fe435);if(_0x2277f4[_0x5ac092(0x2fc)](_0x11f75b))throw new SyntaxError(_0x5ac092(0x30d)+_0x11f75b+_0x5ac092(0x1b3));return _0x2277f4['add'](_0x11f75b),_0x2277f4;}return Ce={'parse':_0x4b1e25},Ce;}var Te,rt;function Ft(){const _0x2c075d=_0x1f4ea3;if(rt)return Te;rt=0x1;const _0x144c02=nt,_0x5ca65c=ot,{Duplex:_0xb69bb8}=oe,{createHash:_0x303886}=Le,_0x4a4918=ct(),_0x50b2a9=he(),_0x43246b=At(),_0x53a066=Pe(),{GUID:_0x5bd237,kWebSocket:_0x183852}=H(),_0x27967a=/^[+/0-9A-Za-z]{22}==$/,_0x2fa52a=0x0,_0x5cd1f0=0x1,_0x2df791=0x2;class _0x1f099f extends _0x144c02{constructor(_0x46526e,_0x30790f){const _0x5f3ff6=_0x2c36;if(super(),_0x46526e={'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':_0x53a066,..._0x46526e},_0x46526e[_0x5f3ff6(0x26e)]==null&&!_0x46526e['server']&&!_0x46526e[_0x5f3ff6(0x1e2)]||_0x46526e[_0x5f3ff6(0x26e)]!=null&&(_0x46526e[_0x5f3ff6(0x2c3)]||_0x46526e[_0x5f3ff6(0x1e2)])||_0x46526e[_0x5f3ff6(0x2c3)]&&_0x46526e[_0x5f3ff6(0x1e2)])throw new TypeError(_0x5f3ff6(0x2b5));if(_0x46526e[_0x5f3ff6(0x26e)]!=null?(this['_server']=_0x5ca65c[_0x5f3ff6(0x215)]((_0x1f8375,_0x12f771)=>{const _0x51cc86=_0x5f3ff6,_0x1c9603=_0x5ca65c['STATUS_CODES'][0x1aa];_0x12f771[_0x51cc86(0x30c)](0x1aa,{'Content-Length':_0x1c9603[_0x51cc86(0x2ba)],'Content-Type':_0x51cc86(0x281)}),_0x12f771[_0x51cc86(0x1c3)](_0x1c9603);}),this[_0x5f3ff6(0x1fc)][_0x5f3ff6(0x184)](_0x46526e[_0x5f3ff6(0x26e)],_0x46526e['host'],_0x46526e[_0x5f3ff6(0x199)],_0x30790f)):_0x46526e[_0x5f3ff6(0x2c3)]&&(this['_server']=_0x46526e['server']),this['_server']){const _0x2c8bf7=this['emit']['bind'](this,_0x5f3ff6(0x20c));this[_0x5f3ff6(0x1b4)]=_0x1fe3fc(this[_0x5f3ff6(0x1fc)],{'listening':this[_0x5f3ff6(0x2bb)][_0x5f3ff6(0x154)](this,_0x5f3ff6(0x2c7)),'error':this[_0x5f3ff6(0x2bb)][_0x5f3ff6(0x154)](this,_0x5f3ff6(0x21f)),'upgrade':(_0x10d9ae,_0x1ebeae,_0x4712b0)=>{const _0x3a1c86=_0x5f3ff6;this[_0x3a1c86(0x275)](_0x10d9ae,_0x1ebeae,_0x4712b0,_0x2c8bf7);}});}_0x46526e[_0x5f3ff6(0x166)]===!0x0&&(_0x46526e[_0x5f3ff6(0x166)]={}),_0x46526e['clientTracking']&&(this[_0x5f3ff6(0x192)]=new Set(),this[_0x5f3ff6(0x292)]=!0x1),this[_0x5f3ff6(0x17a)]=_0x46526e,this['_state']=_0x2fa52a;}['address'](){const _0x569856=_0x2c36;if(this[_0x569856(0x17a)]['noServer'])throw new Error(_0x569856(0x251));return this[_0x569856(0x1fc)]?this[_0x569856(0x1fc)]['address']():null;}[_0x2c075d(0x2b6)](_0x8ab6ea){const _0x1d2eee=_0x2c075d;if(this[_0x1d2eee(0x160)]===_0x2df791){_0x8ab6ea&&this[_0x1d2eee(0x17f)](_0x1d2eee(0x2b6),()=>{_0x8ab6ea(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x1d2eee(0x1a9)](_0x57ca57,this);return;}if(_0x8ab6ea&&this['once'](_0x1d2eee(0x2b6),_0x8ab6ea),this['_state']!==_0x5cd1f0){if(this[_0x1d2eee(0x160)]=_0x5cd1f0,this[_0x1d2eee(0x17a)][_0x1d2eee(0x1e2)]||this[_0x1d2eee(0x17a)][_0x1d2eee(0x2c3)])this[_0x1d2eee(0x1fc)]&&(this[_0x1d2eee(0x1b4)](),this[_0x1d2eee(0x1b4)]=this[_0x1d2eee(0x1fc)]=null),this[_0x1d2eee(0x192)]?this[_0x1d2eee(0x192)][_0x1d2eee(0x170)]?this[_0x1d2eee(0x292)]=!0x0:process[_0x1d2eee(0x1a9)](_0x57ca57,this):process[_0x1d2eee(0x1a9)](_0x57ca57,this);else{const _0x299a07=this['_server'];this[_0x1d2eee(0x1b4)](),this[_0x1d2eee(0x1b4)]=this[_0x1d2eee(0x1fc)]=null,_0x299a07[_0x1d2eee(0x2b6)](()=>{_0x57ca57(this);});}}}[_0x2c075d(0x2fb)](_0x210bbc){const _0x418df0=_0x2c075d;if(this['options']['path']){const _0x1f0d1c=_0x210bbc['url'][_0x418df0(0x1a3)]('?');if((_0x1f0d1c!==-0x1?_0x210bbc[_0x418df0(0x278)][_0x418df0(0x2c0)](0x0,_0x1f0d1c):_0x210bbc[_0x418df0(0x278)])!==this[_0x418df0(0x17a)][_0x418df0(0x1a6)])return!0x1;}return!0x0;}[_0x2c075d(0x275)](_0x137c50,_0x2fdfea,_0x165e31,_0x3598b4){const _0x504e9b=_0x2c075d;_0x2fdfea['on']('error',_0x5532ad);const _0x46f02f=_0x137c50['headers'][_0x504e9b(0x151)],_0x2fa6af=_0x137c50[_0x504e9b(0x226)][_0x504e9b(0x285)],_0x5728cb=+_0x137c50[_0x504e9b(0x226)]['sec-websocket-version'];if(_0x137c50[_0x504e9b(0x168)]!==_0x504e9b(0x1c9)){_0x204456(this,_0x137c50,_0x2fdfea,0x195,_0x504e9b(0x16b));return;}if(_0x2fa6af===void 0x0||_0x2fa6af[_0x504e9b(0x206)]()!==_0x504e9b(0x1fe)){_0x204456(this,_0x137c50,_0x2fdfea,0x190,_0x504e9b(0x222));return;}if(_0x46f02f===void 0x0||!_0x27967a[_0x504e9b(0x1f6)](_0x46f02f)){_0x204456(this,_0x137c50,_0x2fdfea,0x190,_0x504e9b(0x225));return;}if(_0x5728cb!==0x8&&_0x5728cb!==0xd){_0x204456(this,_0x137c50,_0x2fdfea,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x504e9b(0x2fb)](_0x137c50)){_0x2ac20e(_0x2fdfea,0x190);return;}const _0x357932=_0x137c50[_0x504e9b(0x226)][_0x504e9b(0x1f5)];let _0x3af59d=new Set();if(_0x357932!==void 0x0)try{_0x3af59d=_0x43246b[_0x504e9b(0x194)](_0x357932);}catch{_0x204456(this,_0x137c50,_0x2fdfea,0x190,_0x504e9b(0x2e5));return;}const _0xbaa478=_0x137c50[_0x504e9b(0x226)][_0x504e9b(0x1c0)],_0x619002={};if(this[_0x504e9b(0x17a)]['perMessageDeflate']&&_0xbaa478!==void 0x0){const _0x454ecf=new _0x50b2a9(this[_0x504e9b(0x17a)][_0x504e9b(0x166)],!0x0,this[_0x504e9b(0x17a)]['maxPayload']);try{const _0x3877d7=_0x4a4918[_0x504e9b(0x194)](_0xbaa478);_0x3877d7[_0x50b2a9[_0x504e9b(0x15e)]]&&(_0x454ecf[_0x504e9b(0x1d6)](_0x3877d7[_0x50b2a9[_0x504e9b(0x15e)]]),_0x619002[_0x50b2a9['extensionName']]=_0x454ecf);}catch{_0x204456(this,_0x137c50,_0x2fdfea,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this['options']['verifyClient']){const _0x317593={'origin':_0x137c50[_0x504e9b(0x226)][''+(_0x5728cb===0x8?'sec-websocket-origin':_0x504e9b(0x201))],'secure':!!(_0x137c50[_0x504e9b(0x1de)][_0x504e9b(0x1d5)]||_0x137c50[_0x504e9b(0x1de)][_0x504e9b(0x1f2)]),'req':_0x137c50};if(this['options'][_0x504e9b(0x159)][_0x504e9b(0x2ba)]===0x2){this[_0x504e9b(0x17a)][_0x504e9b(0x159)](_0x317593,(_0x3d16f9,_0x49a756,_0x1d4c53,_0x604fee)=>{const _0x22f651=_0x504e9b;if(!_0x3d16f9)return _0x2ac20e(_0x2fdfea,_0x49a756||0x191,_0x1d4c53,_0x604fee);this[_0x22f651(0x1f0)](_0x619002,_0x46f02f,_0x3af59d,_0x137c50,_0x2fdfea,_0x165e31,_0x3598b4);});return;}if(!this['options']['verifyClient'](_0x317593))return _0x2ac20e(_0x2fdfea,0x191);}this[_0x504e9b(0x1f0)](_0x619002,_0x46f02f,_0x3af59d,_0x137c50,_0x2fdfea,_0x165e31,_0x3598b4);}[_0x2c075d(0x1f0)](_0x13ae57,_0xfc1929,_0x4f678e,_0xeb6f67,_0x45808d,_0x559f3f,_0x1a8389){const _0x34fad2=_0x2c075d;if(!_0x45808d[_0x34fad2(0x1dc)]||!_0x45808d['writable'])return _0x45808d['destroy']();if(_0x45808d[_0x183852])throw new Error(_0x34fad2(0x172));if(this[_0x34fad2(0x160)]>_0x2fa52a)return _0x2ac20e(_0x45808d,0x1f7);const _0x428510=[_0x34fad2(0x263),'Upgrade:\x20websocket','Connection:\x20Upgrade',_0x34fad2(0x2d8)+_0x303886(_0x34fad2(0x1d7))['update'](_0xfc1929+_0x5bd237)[_0x34fad2(0x177)]('base64')],_0x161623=new this[(_0x34fad2(0x17a))][(_0x34fad2(0x2db))](null,void 0x0,this[_0x34fad2(0x17a)]);if(_0x4f678e[_0x34fad2(0x170)]){const _0x4d220d=this[_0x34fad2(0x17a)]['handleProtocols']?this['options'][_0x34fad2(0x2e2)](_0x4f678e,_0xeb6f67):_0x4f678e[_0x34fad2(0x2c9)]()[_0x34fad2(0x1bd)]()[_0x34fad2(0x242)];_0x4d220d&&(_0x428510[_0x34fad2(0x1df)](_0x34fad2(0x27a)+_0x4d220d),_0x161623[_0x34fad2(0x305)]=_0x4d220d);}if(_0x13ae57[_0x50b2a9[_0x34fad2(0x15e)]]){const _0x2c285f=_0x13ae57[_0x50b2a9[_0x34fad2(0x15e)]][_0x34fad2(0x1fb)],_0x32e1b8=_0x4a4918[_0x34fad2(0x272)]({[_0x50b2a9[_0x34fad2(0x15e)]]:[_0x2c285f]});_0x428510[_0x34fad2(0x1df)](_0x34fad2(0x248)+_0x32e1b8),_0x161623[_0x34fad2(0x2cd)]=_0x13ae57;}this[_0x34fad2(0x2bb)](_0x34fad2(0x226),_0x428510,_0xeb6f67),_0x45808d['write'](_0x428510[_0x34fad2(0x2f4)]('\x0d\x0a')[_0x34fad2(0x2a8)]('\x0d\x0a')),_0x45808d[_0x34fad2(0x27e)]('error',_0x5532ad),_0x161623[_0x34fad2(0x21c)](_0x45808d,_0x559f3f,{'allowSynchronousEvents':this[_0x34fad2(0x17a)]['allowSynchronousEvents'],'maxPayload':this[_0x34fad2(0x17a)][_0x34fad2(0x29e)],'skipUTF8Validation':this[_0x34fad2(0x17a)][_0x34fad2(0x274)]}),this[_0x34fad2(0x192)]&&(this['clients']['add'](_0x161623),_0x161623['on'](_0x34fad2(0x2b6),()=>{const _0x12c88c=_0x34fad2;this[_0x12c88c(0x192)]['delete'](_0x161623),this[_0x12c88c(0x292)]&&!this['clients'][_0x12c88c(0x170)]&&process[_0x12c88c(0x1a9)](_0x57ca57,this);})),_0x1a8389(_0x161623,_0xeb6f67);}}Te=_0x1f099f;function _0x1fe3fc(_0x562fc5,_0x503ddb){const _0x62d4c2=_0x2c075d;for(const _0x458e07 of Object[_0x62d4c2(0x301)](_0x503ddb))_0x562fc5['on'](_0x458e07,_0x503ddb[_0x458e07]);return function(){const _0x5b3ae2=_0x62d4c2;for(const _0x198047 of Object[_0x5b3ae2(0x301)](_0x503ddb))_0x562fc5['removeListener'](_0x198047,_0x503ddb[_0x198047]);};}function _0x57ca57(_0xe35585){const _0x14cdb5=_0x2c075d;_0xe35585['_state']=_0x2df791,_0xe35585['emit'](_0x14cdb5(0x2b6));}function _0x5532ad(){this['destroy']();}function _0x2ac20e(_0x566a30,_0x50957b,_0x3203de,_0x43f527){const _0x2c5bfe=_0x2c075d;_0x3203de=_0x3203de||_0x5ca65c[_0x2c5bfe(0x1af)][_0x50957b],_0x43f527={'Connection':_0x2c5bfe(0x2b6),'Content-Type':_0x2c5bfe(0x1ce),'Content-Length':Buffer['byteLength'](_0x3203de),..._0x43f527},_0x566a30['once'](_0x2c5bfe(0x1fa),_0x566a30[_0x2c5bfe(0x302)]),_0x566a30['end'](_0x2c5bfe(0x16a)+_0x50957b+'\x20'+_0x5ca65c[_0x2c5bfe(0x1af)][_0x50957b]+'\x0d\x0a'+Object[_0x2c5bfe(0x301)](_0x43f527)['map'](_0x54e29e=>_0x54e29e+':\x20'+_0x43f527[_0x54e29e])[_0x2c5bfe(0x2a8)]('\x0d\x0a')+_0x2c5bfe(0x216)+_0x3203de);}function _0x204456(_0x207317,_0x4c6071,_0x332b47,_0x2eb054,_0x8f2dde){const _0x150278=_0x2c075d;if(_0x207317['listenerCount'](_0x150278(0x1e0))){const _0x15e54f=new Error(_0x8f2dde);Error[_0x150278(0x297)](_0x15e54f,_0x204456),_0x207317[_0x150278(0x2bb)](_0x150278(0x1e0),_0x15e54f,_0x332b47,_0x4c6071);}else _0x2ac20e(_0x332b47,_0x2eb054,_0x8f2dde);}return Te;}Ft();var jt=Object[_0x1f4ea3(0x1dd)],Wt=(_0x31f7a0,_0x15ec82,_0x527fd6,_0x4f157b)=>{for(var _0x15278b=_0x4f157b>0x1?void 0x0:_0x4f157b?jt(_0x15ec82,_0x527fd6):_0x15ec82,_0xba09c1=_0x31f7a0['length']-0x1,_0x432ccb;_0xba09c1>=0x0;_0xba09c1--)(_0x432ccb=_0x31f7a0[_0xba09c1])&&(_0x15278b=_0x432ccb(_0x15278b)||_0x15278b);return _0x15278b;},qt=(_0x2c333c,_0x1edded)=>(_0x2faf98,_0x5a18f0)=>_0x1edded(_0x2faf98,_0x5a18f0,_0x2c333c);let ke=class extends A[_0x1f4ea3(0x2f1)]{constructor(_0x34f8f8){const _0x41a108=_0x1f4ea3;super(),this[_0x41a108(0x18c)]=_0x34f8f8;}[_0x1f4ea3(0x163)](_0x14c717){const _0x1a4259=_0x1f4ea3;var _0x4a0dba;const _0x3b8589=(_0x4a0dba=this[_0x1a4259(0x18c)][_0x1a4259(0x200)](fe))==null?void 0x0:_0x4a0dba[_0x1a4259(0x1c2)];try{const _0x818911=new $t(_0x14c717,{'headers':{..._0x3b8589}}),_0x10d7e4=new A[(_0x1a4259(0x2ed))]();return{'URL':_0x14c717,'close':(_0xf1629f,_0x33ab84)=>{const _0x1246be=_0x1a4259;_0x818911[_0x1246be(0x2b6)](_0xf1629f,_0x33ab84),_0x10d7e4['dispose']();},'send':_0x36dcdb=>{const _0x50f43d=_0x1a4259;_0x818911[_0x50f43d(0x291)](_0x36dcdb);},'open$':new V[(_0x1a4259(0x2d1))](_0x4c4d92=>{const _0x33fa77=_0x1a4259,_0x1295a8=_0x3e02cf=>_0x4c4d92[_0x33fa77(0x1bd)](_0x3e02cf);_0x818911[_0x33fa77(0x2d4)](_0x33fa77(0x28c),_0x1295a8),_0x10d7e4[_0x33fa77(0x22c)](A[_0x33fa77(0x186)](()=>_0x818911[_0x33fa77(0x280)]('open',_0x1295a8)));})[_0x1a4259(0x16c)](V[_0x1a4259(0x246)]()),'close$':new V[(_0x1a4259(0x2d1))](_0x392254=>{const _0xec7e91=_0x1a4259,_0xf657f1=_0x4486a9=>_0x392254['next'](_0x4486a9);_0x818911[_0xec7e91(0x2d4)]('close',_0xf657f1),_0x10d7e4['add'](A[_0xec7e91(0x186)](()=>_0x818911[_0xec7e91(0x280)]('close',_0xf657f1)));})['pipe'](V[_0x1a4259(0x246)]()),'error$':new V[(_0x1a4259(0x2d1))](_0x1e895e=>{const _0x3878b6=_0x1a4259,_0x360a06=_0x49b0d6=>_0x1e895e[_0x3878b6(0x1bd)](_0x49b0d6);_0x818911['addEventListener'](_0x3878b6(0x21f),_0x360a06),_0x10d7e4['add'](A['toDisposable'](()=>_0x818911[_0x3878b6(0x280)](_0x3878b6(0x21f),_0x360a06)));})[_0x1a4259(0x16c)](V[_0x1a4259(0x246)]()),'message$':new V[(_0x1a4259(0x2d1))](_0x453f50=>{const _0x1104a2=_0x1a4259,_0x53d1e0=_0x19c3c1=>_0x453f50[_0x1104a2(0x1bd)](_0x19c3c1);_0x818911[_0x1104a2(0x2d4)]('message',_0x53d1e0),_0x10d7e4[_0x1104a2(0x22c)](A[_0x1104a2(0x186)](()=>_0x818911[_0x1104a2(0x280)](_0x1104a2(0x254),_0x53d1e0)));})[_0x1a4259(0x16c)](V[_0x1a4259(0x246)]())};}catch(_0x16e99e){return console[_0x1a4259(0x21f)](_0x16e99e),null;}}};ke=Wt([qt(0x0,A[_0x1f4ea3(0x14e)])],ke);var Gt=Object[_0x1f4ea3(0x220)],Vt=Object[_0x1f4ea3(0x1dd)],Ht=(_0x14ba0f,_0xee153a,_0x155b50)=>_0xee153a in _0x14ba0f?Gt(_0x14ba0f,_0xee153a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x155b50}):_0x14ba0f[_0xee153a]=_0x155b50,zt=(_0x5aff7f,_0x2abbfe,_0x58b62d,_0x4deb91)=>{const _0x20f3a3=_0x1f4ea3;for(var _0x129c27=_0x4deb91>0x1?void 0x0:_0x4deb91?Vt(_0x2abbfe,_0x58b62d):_0x2abbfe,_0x2dcb60=_0x5aff7f[_0x20f3a3(0x2ba)]-0x1,_0x4f9211;_0x2dcb60>=0x0;_0x2dcb60--)(_0x4f9211=_0x5aff7f[_0x2dcb60])&&(_0x129c27=_0x4f9211(_0x129c27)||_0x129c27);return _0x129c27;},Ne=(_0x1a3715,_0x68fe89)=>(_0x43f5a5,_0x3d3847)=>_0x68fe89(_0x43f5a5,_0x3d3847,_0x1a3715),Yt=(_0x33e1b2,_0x5324c5,_0x3a15ee)=>Ht(_0x33e1b2,_0x5324c5+'',_0x3a15ee);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x1f4ea3(0x218)]{constructor(_0x4781b7=Ct,_0x989411,_0x326626,_0x557619){const _0x5dede5=_0x1f4ea3;_0x4781b7[_0x5dede5(0x1c2)]||_0x989411[_0x5dede5(0x15c)](_0x5dede5(0x2a3)),super(),this[_0x5dede5(0x18c)]=_0x326626,this[_0x5dede5(0x1f1)]=_0x557619,this[_0x5dede5(0x18c)][_0x5dede5(0x1d2)](fe,_0x4781b7);}[_0x1f4ea3(0x267)](){const _0x3b7391=_0x1f4ea3;this[_0x3b7391(0x2e9)]();}['_registerDependencies'](){const _0x37ae31=_0x1f4ea3;A[_0x37ae31(0x1e1)](this['_injector'],[[it[_0x37ae31(0x16f)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],'pluginName',_0x1f4ea3(0x2df)),exports[_0x1f4ea3(0x21d)]=zt([A[_0x1f4ea3(0x15d)](st[_0x1f4ea3(0x17b)]),Ne(0x1,A[_0x1f4ea3(0x2b1)]),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x1f4ea3(0x14f)](A[_0x1f4ea3(0x23b)]))],exports[_0x1f4ea3(0x21d)]);var Kt=Object[_0x1f4ea3(0x1dd)],Xt=(_0x4cc774,_0x1320de,_0x275731,_0x28b6d3)=>{const _0x3b6690=_0x1f4ea3;for(var _0x1fbfb9=_0x28b6d3>0x1?void 0x0:_0x28b6d3?Kt(_0x1320de,_0x275731):_0x1320de,_0x10b304=_0x4cc774[_0x3b6690(0x2ba)]-0x1,_0x3d0ab3;_0x10b304>=0x0;_0x10b304--)(_0x3d0ab3=_0x4cc774[_0x10b304])&&(_0x1fbfb9=_0x3d0ab3(_0x1fbfb9)||_0x1fbfb9);return _0x1fbfb9;},ne=(_0x1edf53,_0x1abe72)=>(_0x5a473e,_0x428668)=>_0x1abe72(_0x5a473e,_0x428668,_0x1edf53);exports[_0x1f4ea3(0x24f)]=class extends st[_0x1f4ea3(0x1b6)]{constructor(_0x4eb681,_0x2b0055,_0x16cc31,_0x7d1512,_0x36170b){const _0x4205ef=_0x1f4ea3;super(_0x4eb681,_0x2b0055,_0x16cc31,_0x7d1512,_0x36170b);const _0x34154a=this[_0x4205ef(0x18c)][_0x4205ef(0x200)](fe);this[_0x4205ef(0x2ab)][_0x4205ef(0x175)]({'interceptor':(_0x258cbb,_0x32cfa4)=>{const _0x13d12b=_0x4205ef;var _0x5d7c19;const _0x41a250=_0x258cbb['headers'];return(_0x5d7c19=_0x34154a==null?void 0x0:_0x34154a[_0x13d12b(0x1c2)])!=null&&_0x5d7c19[_0x13d12b(0x21e)]&&_0x41a250[_0x13d12b(0x2ad)]('Cookie',_0x34154a[_0x13d12b(0x1c2)][_0x13d12b(0x21e)]),_0x32cfa4(_0x258cbb);}});}async[_0x1f4ea3(0x163)](_0x45eacb){const _0x1fa6f8=_0x1f4ea3;return this[_0x1fa6f8(0x191)](_0x45eacb);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x1f4ea3(0x14f)](A[_0x1f4ea3(0x23b)])),ne(0x1,A['Inject'](it[_0x1f4ea3(0x15b)])),ne(0x2,A[_0x1f4ea3(0x14e)]),ne(0x3,A['ILogService']),ne(0x4,Ot['ISnapshotServerService'])],exports['NodeCollaborationSocketService']),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
|
|
1
|
+
'use strict';const _0x55fc25=_0x2311;(function(_0x185047,_0x5e8660){const _0x238164=_0x2311,_0x188225=_0x185047();while(!![]){try{const _0x470c79=-parseInt(_0x238164(0x362))/0x1+parseInt(_0x238164(0x31f))/0x2+parseInt(_0x238164(0x2aa))/0x3+-parseInt(_0x238164(0x26b))/0x4*(-parseInt(_0x238164(0x303))/0x5)+parseInt(_0x238164(0x1fd))/0x6+parseInt(_0x238164(0x221))/0x7*(parseInt(_0x238164(0x270))/0x8)+-parseInt(_0x238164(0x31e))/0x9*(parseInt(_0x238164(0x2b0))/0xa);if(_0x470c79===_0x5e8660)break;else _0x188225['push'](_0x188225['shift']());}catch(_0xdf4caf){_0x188225['push'](_0x188225['shift']());}}}(_0x1e73,0x7f468));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x55fc25(0x28a)});const st=require(_0x55fc25(0x35c)),A=require(_0x55fc25(0x1e7)),it=require(_0x55fc25(0x210)),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require(_0x55fc25(0x2eb)),Le=require(_0x55fc25(0x2f6)),oe=require(_0x55fc25(0x27a)),xt=require('url'),bt=require(_0x55fc25(0x2c7)),wt=require(_0x55fc25(0x24f)),Ot=require('@univerjs-pro/collaboration'),fe=_0x55fc25(0x293),Ct={'customHeaders':{}};function Tt(_0x460f8d){const _0x63e4eb=_0x55fc25;return _0x460f8d&&_0x460f8d[_0x63e4eb(0x385)]&&Object['prototype']['hasOwnProperty'][_0x63e4eb(0x20a)](_0x460f8d,_0x63e4eb(0x291))?_0x460f8d[_0x63e4eb(0x291)]:_0x460f8d;}function at(_0x444ab5){const _0x1a009b=_0x55fc25;if(Object['prototype'][_0x1a009b(0x383)][_0x1a009b(0x20a)](_0x444ab5,_0x1a009b(0x385)))return _0x444ab5;var _0xf41eea=_0x444ab5[_0x1a009b(0x291)];if(typeof _0xf41eea=='function'){var _0xcca057=function _0x3707b0(){const _0x2764eb=_0x1a009b;return this instanceof _0x3707b0?Reflect['construct'](_0xf41eea,arguments,this[_0x2764eb(0x2a0)]):_0xf41eea[_0x2764eb(0x27c)](this,arguments);};_0xcca057[_0x1a009b(0x317)]=_0xf41eea[_0x1a009b(0x317)];}else _0xcca057={};return Object[_0x1a009b(0x2c6)](_0xcca057,'__esModule',{'value':!0x0}),Object[_0x1a009b(0x2d4)](_0x444ab5)[_0x1a009b(0x29f)](function(_0x5f59d0){const _0x2051d4=_0x1a009b;var _0x1346b1=Object[_0x2051d4(0x223)](_0x444ab5,_0x5f59d0);Object['defineProperty'](_0xcca057,_0x5f59d0,_0x1346b1['get']?_0x1346b1:{'enumerable':!0x0,'get':function(){return _0x444ab5[_0x5f59d0];}});}),_0xcca057;}var se={'exports':{}},ge,Ge;function H(){const _0x58f87f=_0x55fc25;if(Ge)return ge;Ge=0x1;const _0x5a20fe=[_0x58f87f(0x2f1),_0x58f87f(0x1e6),_0x58f87f(0x378)],_0x588401=typeof Blob<'u';return _0x588401&&_0x5a20fe['push'](_0x58f87f(0x243)),ge={'BINARY_TYPES':_0x5a20fe,'EMPTY_BUFFER':Buffer[_0x58f87f(0x1d3)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x588401,'kForOnEventAttribute':Symbol(_0x58f87f(0x32f)),'kListener':Symbol(_0x58f87f(0x2fd)),'kStatusCode':Symbol(_0x58f87f(0x30f)),'kWebSocket':Symbol(_0x58f87f(0x201)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x55fc25(0x1cc)](Object[_0x55fc25(0x2c6)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x55fc25(0x28a)})),Lt=at(kt);var Ve;function ce(){const _0x46f73b=_0x55fc25;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x176d5d}=H(),_0x4d2c42=Buffer[Symbol[_0x46f73b(0x2f3)]];function _0x45050b(_0x38c87e,_0x33039d){const _0x535079=_0x46f73b;if(_0x38c87e[_0x535079(0x2da)]===0x0)return _0x176d5d;if(_0x38c87e[_0x535079(0x2da)]===0x1)return _0x38c87e[0x0];const _0x4bee3d=Buffer['allocUnsafe'](_0x33039d);let _0x34c98b=0x0;for(let _0x188e86=0x0;_0x188e86<_0x38c87e['length'];_0x188e86++){const _0x2ae7b8=_0x38c87e[_0x188e86];_0x4bee3d[_0x535079(0x321)](_0x2ae7b8,_0x34c98b),_0x34c98b+=_0x2ae7b8[_0x535079(0x2da)];}return _0x34c98b<_0x33039d?new _0x4d2c42(_0x4bee3d['buffer'],_0x4bee3d[_0x535079(0x1ca)],_0x34c98b):_0x4bee3d;}function _0x474f7b(_0x3cc762,_0x497ffc,_0x914eb0,_0x4ed6a4,_0x36cc27){for(let _0x3fc533=0x0;_0x3fc533<_0x36cc27;_0x3fc533++)_0x914eb0[_0x4ed6a4+_0x3fc533]=_0x3cc762[_0x3fc533]^_0x497ffc[_0x3fc533&0x3];}function _0x3a586d(_0x4135fb,_0x5006f5){const _0x557501=_0x46f73b;for(let _0x4aebaf=0x0;_0x4aebaf<_0x4135fb[_0x557501(0x2da)];_0x4aebaf++)_0x4135fb[_0x4aebaf]^=_0x5006f5[_0x4aebaf&0x3];}function _0x3aafa2(_0x268cc6){const _0x4be634=_0x46f73b;return _0x268cc6['length']===_0x268cc6[_0x4be634(0x24f)][_0x4be634(0x2c3)]?_0x268cc6[_0x4be634(0x24f)]:_0x268cc6[_0x4be634(0x24f)][_0x4be634(0x2f5)](_0x268cc6['byteOffset'],_0x268cc6['byteOffset']+_0x268cc6[_0x4be634(0x2da)]);}function _0x1b97fb(_0x2c4d13){const _0xc5e9e0=_0x46f73b;if(_0x1b97fb['readOnly']=!0x0,Buffer[_0xc5e9e0(0x25d)](_0x2c4d13))return _0x2c4d13;let _0x4f4bf9;return _0x2c4d13 instanceof ArrayBuffer?_0x4f4bf9=new _0x4d2c42(_0x2c4d13):ArrayBuffer[_0xc5e9e0(0x21c)](_0x2c4d13)?_0x4f4bf9=new _0x4d2c42(_0x2c4d13['buffer'],_0x2c4d13[_0xc5e9e0(0x1ca)],_0x2c4d13[_0xc5e9e0(0x2c3)]):(_0x4f4bf9=Buffer[_0xc5e9e0(0x2b8)](_0x2c4d13),_0x1b97fb[_0xc5e9e0(0x2c2)]=!0x1),_0x4f4bf9;}if(se[_0x46f73b(0x1cb)]={'concat':_0x45050b,'mask':_0x474f7b,'toArrayBuffer':_0x3aafa2,'toBuffer':_0x1b97fb,'unmask':_0x3a586d},!process[_0x46f73b(0x289)][_0x46f73b(0x224)])try{const _0xe3fe3e=Lt;se[_0x46f73b(0x1cb)][_0x46f73b(0x22c)]=function(_0x461839,_0x246839,_0x867bb6,_0x4f53dd,_0x45ee42){const _0x4f3a73=_0x46f73b;_0x45ee42<0x30?_0x474f7b(_0x461839,_0x246839,_0x867bb6,_0x4f53dd,_0x45ee42):_0xe3fe3e[_0x4f3a73(0x22c)](_0x461839,_0x246839,_0x867bb6,_0x4f53dd,_0x45ee42);},se['exports']['unmask']=function(_0x2b6385,_0x49f50e){const _0x42acbc=_0x46f73b;_0x2b6385['length']<0x20?_0x3a586d(_0x2b6385,_0x49f50e):_0xe3fe3e[_0x42acbc(0x1e1)](_0x2b6385,_0x49f50e);};}catch{}return se[_0x46f73b(0x1cb)];}var ye,He;function Pt(){const _0x1cf46f=_0x55fc25;if(He)return ye;He=0x1;const _0x530a04=Symbol('kDone'),_0x1a48dd=Symbol(_0x1cf46f(0x31a));class _0x43ebea{constructor(_0x2e56cf){const _0xddff65=_0x1cf46f;this[_0x530a04]=()=>{const _0x5c52ad=_0x2311;this[_0x5c52ad(0x2cd)]--,this[_0x1a48dd]();},this['concurrency']=_0x2e56cf||0x1/0x0,this[_0xddff65(0x35f)]=[],this[_0xddff65(0x2cd)]=0x0;}[_0x1cf46f(0x1e8)](_0x3157da){const _0xa291a8=_0x1cf46f;this['jobs'][_0xa291a8(0x213)](_0x3157da),this[_0x1a48dd]();}[_0x1a48dd](){const _0x2b9f83=_0x1cf46f;if(this[_0x2b9f83(0x2cd)]!==this[_0x2b9f83(0x226)]&&this[_0x2b9f83(0x35f)][_0x2b9f83(0x2da)]){const _0x1e7b04=this[_0x2b9f83(0x35f)][_0x2b9f83(0x336)]();this[_0x2b9f83(0x2cd)]++,_0x1e7b04(this[_0x530a04]);}}}return ye=_0x43ebea,ye;}var ve,ze;function _0x1e73(){const _0x223dfa=['__esModule','kType','_allowSynchronousEvents','_opcode','Blob','HTTP/1.1\x20101\x20Switching\x20Protocols','statusCode','onclose','connect','binary','byteOffset','exports','freeze','toLowerCase','Connection:\x20Upgrade','_write','wsClientError','concurrencyLimit','Sec-WebSocket-Extensions:\x20','alloc','value','address','Observable','toString','_closeMessage','error','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','send','params','_masked','port','_closeTimer','WS_NO_UTF_8_VALIDATE','unmask','_receiver','customHeaders','callback','kReason','arraybuffer','@univerjs/core','add','GET','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_httpService','sha1','toDisposable','ws+unix:','_injector','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_queue','message','invalid\x20UTF-8\x20sequence','Invalid\x20HTTP\x20method','generateMask','auth','_messageLength','ILogService','haveLength','completeUpgrade','File','options','2378610gsIgfp','flush','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','writeUInt16BE','websocket','_bufferedAmount','maskBuffer','Parameter\x20\x22','DisposableCollection','Invalid\x20WebSocket\x20frame:\x20','cork','parse','verifyClient','call','cleanup','emit','target','clientMaxWindowBits','destroyed','@univerjs/network','finished','data','push','CLOSING','size','MASK\x20must\x20be\x20clear','base64','setTimeout','writable','readUInt32BE','includes','isView','host','url','STATUS_CODES','WS_ERR_EXPECTED_MASK','3625923TzNbks','isServer','getOwnPropertyDescriptor','WS_NO_BUFFER_UTIL','connection','concurrency','Sec-WebSocket-Extensions','acceptAsServer','server','allocUnsafe','Invalid\x20Sec-WebSocket-Extensions\x20header','mask','removeListener','handleEvent','_loop','wss:','allowSynchronousEvents','noServer','_final','create','Unknown\x20parameter\x20\x22','_inflate','setNoDelay','response','_decompress','WS_ERR_UNEXPECTED_RSV_2_3','ISnapshotServerService','_compressed','binaryType','_binaryType','getConfig','Unexpected\x20character\x20at\x20index\x20','_originalHostOrSocketPath','kMessage','blob','ws:','listenerCount','type','_fin','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Unsupported\x20protocol\x20version:\x20','invalid\x20opcode\x20','_isServer','extensionName','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','ping','buffer','listeners','Unexpected\x20end\x20of\x20input','write','normalizeParams','writeUIntBE','writeHead','extensions','clientTracking','servername','offer','_protocol','isPaused','nextTick','isBuffer','frame','_originalIpc','kTarget','createDeflateRaw','serverMaxWindowBits','sec-websocket-extensions','arrayBuffer','\x22\x20must\x20have\x20only\x20a\x20single\x20value','client_no_context_takeover','_paused','_closeFrameReceived','CONNECTING','compress','2152NxXKcn','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Plugin','entries','_fragments','8BnoFOl','_fragmented','toStringTag','\x22\x20subprotocol\x20is\x20duplicated','UniverCollaborationClientNodePlugin','createServer','Basic\x20','consume','Upgrade:\x20websocket','pong','stream','backlog','apply','emitClose','password','controlMessage','getData','cookie','timeout','acceptAsClient','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_readyState','_payloadLength','threshold','client','env','Module','_doCreateSocket','location','decompress','_closeFrameSent','headers','_skipUTF8Validation','default','startLoop','collaboration-client-node.config','getMask','\x0d\x0a\x0d\x0a','_maxPayload','_extensions','Server\x20sent\x20no\x20subprotocol','clientNoContextTakeover','kCode','close','isIP','function','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','forEach','constructor','resume','Cookie','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','Sec-WebSocket-Accept:\x20','open','accept','socket','_threshold','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','335316VntSrB','isValidUTF8','invalid\x20opcode\x200','https:','test','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','10GlwArH','_writableState','path','_maskBuffer','_mask','permessage-deflate','reset','_firstFragment','from','request','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','digest','_socket','Max\x20payload\x20size\x20exceeded','origin','authorization','protocolVersion','followRedirects','readOnly','byteLength','code','onerror','defineProperty','zlib','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','opcode','Origin','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_sender','pending','username','onmessage','bind','indexOf','kError','hostname','keys','NodeCollaborationSocketService','shouldHandle','map','The\x20URL\x20contains\x20a\x20fragment\x20identifier','zlibDeflateOptions','length','unexpected-response','dequeue','_totalPayloadLength','isInteger','client_max_window_bits','object','_server','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','ISocketService','\x22:\x20','maxRedirects','listening','registerHTTPInterceptor','_bufferedBytes','pow','then','tls','WS_ERR_UNEXPECTED_MASK','terminate','drain','sec-websocket-accept','pathname','nodebuffer','getInfo','species','Upgrade','slice','crypto','conclude','readable','_max_window_bits','_generateMask','read','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','kListener','bufferedAmount','zlibInflateOptions','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','string','createConnection','755dUDYmp','maxPayload','RSV1\x20must\x20be\x20clear','The\x20URL\x27s\x20protocol\x20must\x20be\x20one\x20of\x20\x22ws:\x22,\x20\x22wss:\x22,\x20\x22http:\x22,\x20\x22https\x22,\x20or\x20\x22ws+unix:\x22','Sec-WebSocket-Origin','createInflateRaw','removeEventListener','socketPath','_closeCode','startsWith','DependentOn','warn','status-code','wasClean','sendFrame','readyState','join','perMessageDeflate','Z_DEFAULT_WINDOWBITS','IConfigService','prototype','kByteLength','Invalid\x20value\x20for\x20parameter\x20\x22','kRun','_readableState','pipe','createSocket','1604466yPzDbR','680144rirTrG','_buffers','set','redirect','WebSocket','uncork','server_max_window_bits','dispatch','_configService','WS_ERR_INVALID_OPCODE','sec-websocket-origin','unshift','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','once','Invalid\x20Sec-WebSocket-Protocol\x20header','dataMessage','kIsForOnEventAttribute','has','pause','skipUTF8Validation','_shouldEmitClose','_deflate','pluginName','shift','share','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','find','_autoPong','update','Unexpected\x20server\x20response:\x20','WS_ERR_INVALID_UTF8','errorEmitted','_originalSecure','_read','enqueue','invalid\x20payload\x20length\x20','Injector','isArray','defaultPort','_removeListeners','_errorEmitted','removeAllListeners','clients','_req','_redirects','buffers','WS_ERR_INVALID_CLOSE_CODE','OPEN','server_no_context_takeover','addEventListener','_url','CollaborationSocketService','getBlobData','COLLABORATION_CLIENT_NODE_CONFIG_KEY','destroy','search','getPayloadLength64','Invalid\x20Upgrade\x20header','_destroy','Invalid\x20URL:\x20','Opening\x20handshake\x20has\x20timed\x20out','@univerjs-pro/collaboration-client','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','sec-websocket-protocol','jobs','CLOSED','reason','747912vTZEwC','kWasClean','end','protocol','authorized','abort','handshakeTimeout','\x20(supported\x20versions:\x20','captureStackTrace','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','setSocket','concat','WS_ERR_UNEXPECTED_RSV_1','delete','charCodeAt','HTTPService','Inject','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','finish','next','getPayloadLength16','Z_SYNC_FLUSH','fragments','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','fin','upgrade','createError','UniverCollaborationClientPlugin','_options','number','_compress','_state','autoPong','hasOwnProperty','Maximum\x20redirects\x20exceeded'];_0x1e73=function(){return _0x223dfa;};return _0x1e73();}function he(){const _0x23a667=_0x55fc25;if(ze)return ve;ze=0x1;const _0x4df9e7=bt,_0x17b7f7=ce(),_0x415e6f=Pt(),{kStatusCode:_0x10a7f1}=H(),_0x55f7a5=Buffer[Symbol[_0x23a667(0x2f3)]],_0x16e0ac=Buffer[_0x23a667(0x2b8)]([0x0,0x0,0xff,0xff]),_0x111252=Symbol(_0x23a667(0x2b5)),_0x59f20c=Symbol('total-length'),_0x1fbb03=Symbol(_0x23a667(0x1e4)),_0x4b0c18=Symbol(_0x23a667(0x34c)),_0x863548=Symbol(_0x23a667(0x1d9));let _0x3c0888;class _0x5c4a14{constructor(_0x281d62,_0x1231a,_0x56f087){const _0x55a7d7=_0x23a667;if(this['_maxPayload']=_0x56f087|0x0,this[_0x55a7d7(0x37e)]=_0x281d62||{},this[_0x55a7d7(0x2a8)]=this[_0x55a7d7(0x37e)]['threshold']!==void 0x0?this['_options'][_0x55a7d7(0x287)]:0x400,this['_isServer']=!!_0x1231a,this[_0x55a7d7(0x334)]=null,this[_0x55a7d7(0x236)]=null,this[_0x55a7d7(0x1dc)]=null,!_0x3c0888){const _0x3842ac=this[_0x55a7d7(0x37e)][_0x55a7d7(0x1d1)]!==void 0x0?this[_0x55a7d7(0x37e)][_0x55a7d7(0x1d1)]:0xa;_0x3c0888=new _0x415e6f(_0x3842ac);}}static get[_0x23a667(0x24c)](){const _0x482a9e=_0x23a667;return _0x482a9e(0x2b5);}[_0x23a667(0x259)](){const _0x4384ef=_0x23a667,_0x47458e={};return this[_0x4384ef(0x37e)]['serverNoContextTakeover']&&(_0x47458e[_0x4384ef(0x34f)]=!0x0),this[_0x4384ef(0x37e)]['clientNoContextTakeover']&&(_0x47458e[_0x4384ef(0x266)]=!0x0),this[_0x4384ef(0x37e)]['serverMaxWindowBits']&&(_0x47458e[_0x4384ef(0x325)]=this[_0x4384ef(0x37e)]['serverMaxWindowBits']),this[_0x4384ef(0x37e)][_0x4384ef(0x20e)]?_0x47458e[_0x4384ef(0x2df)]=this[_0x4384ef(0x37e)][_0x4384ef(0x20e)]:this[_0x4384ef(0x37e)][_0x4384ef(0x20e)]==null&&(_0x47458e[_0x4384ef(0x2df)]=!0x0),_0x47458e;}[_0x23a667(0x2a6)](_0x45664b){const _0x37da67=_0x23a667;return _0x45664b=this['normalizeParams'](_0x45664b),this[_0x37da67(0x1dc)]=this[_0x37da67(0x24b)]?this[_0x37da67(0x228)](_0x45664b):this['acceptAsClient'](_0x45664b),this['params'];}[_0x23a667(0x20b)](){const _0x16d586=_0x23a667;if(this[_0x16d586(0x236)]&&(this[_0x16d586(0x236)][_0x16d586(0x29b)](),this[_0x16d586(0x236)]=null),this['_deflate']){const _0x27094c=this[_0x16d586(0x334)][_0x1fbb03];this[_0x16d586(0x334)]['close'](),this['_deflate']=null,_0x27094c&&_0x27094c(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x23a667(0x228)](_0xc4f6d5){const _0x2af11c=_0x23a667,_0x34eed3=this[_0x2af11c(0x37e)],_0x556074=_0xc4f6d5[_0x2af11c(0x339)](_0x2fd090=>!(_0x34eed3['serverNoContextTakeover']===!0x1&&_0x2fd090['server_no_context_takeover']||_0x2fd090[_0x2af11c(0x325)]&&(_0x34eed3[_0x2af11c(0x262)]===!0x1||typeof _0x34eed3[_0x2af11c(0x262)]==_0x2af11c(0x37f)&&_0x34eed3[_0x2af11c(0x262)]>_0x2fd090[_0x2af11c(0x325)])||typeof _0x34eed3['clientMaxWindowBits']=='number'&&!_0x2fd090[_0x2af11c(0x2df)]));if(!_0x556074)throw new Error(_0x2af11c(0x2e2));return _0x34eed3['serverNoContextTakeover']&&(_0x556074['server_no_context_takeover']=!0x0),_0x34eed3[_0x2af11c(0x299)]&&(_0x556074[_0x2af11c(0x266)]=!0x0),typeof _0x34eed3[_0x2af11c(0x262)]==_0x2af11c(0x37f)&&(_0x556074['server_max_window_bits']=_0x34eed3[_0x2af11c(0x262)]),typeof _0x34eed3[_0x2af11c(0x20e)]=='number'?_0x556074[_0x2af11c(0x2df)]=_0x34eed3['clientMaxWindowBits']:(_0x556074[_0x2af11c(0x2df)]===!0x0||_0x34eed3[_0x2af11c(0x20e)]===!0x1)&&delete _0x556074[_0x2af11c(0x2df)],_0x556074;}[_0x23a667(0x283)](_0x8158b9){const _0x50880c=_0x23a667,_0x53e50c=_0x8158b9[0x0];if(this[_0x50880c(0x37e)][_0x50880c(0x299)]===!0x1&&_0x53e50c[_0x50880c(0x266)])throw new Error(_0x50880c(0x35d));if(!_0x53e50c[_0x50880c(0x2df)])typeof this[_0x50880c(0x37e)][_0x50880c(0x20e)]==_0x50880c(0x37f)&&(_0x53e50c[_0x50880c(0x2df)]=this['_options']['clientMaxWindowBits']);else{if(this['_options'][_0x50880c(0x20e)]===!0x1||typeof this[_0x50880c(0x37e)][_0x50880c(0x20e)]==_0x50880c(0x37f)&&_0x53e50c[_0x50880c(0x2df)]>this['_options']['clientMaxWindowBits'])throw new Error(_0x50880c(0x1da));}return _0x53e50c;}[_0x23a667(0x253)](_0x2199c6){const _0x1ada25=_0x23a667;return _0x2199c6[_0x1ada25(0x29f)](_0x10ee40=>{const _0x41887b=_0x1ada25;Object[_0x41887b(0x2d4)](_0x10ee40)[_0x41887b(0x29f)](_0x58e3da=>{const _0x516695=_0x41887b;let _0xc196da=_0x10ee40[_0x58e3da];if(_0xc196da[_0x516695(0x2da)]>0x1)throw new Error(_0x516695(0x204)+_0x58e3da+_0x516695(0x265));if(_0xc196da=_0xc196da[0x0],_0x58e3da===_0x516695(0x2df)){if(_0xc196da!==!0x0){const _0x2a4143=+_0xc196da;if(!Number[_0x516695(0x2de)](_0x2a4143)||_0x2a4143<0x8||_0x2a4143>0xf)throw new TypeError(_0x516695(0x319)+_0x58e3da+_0x516695(0x2e4)+_0xc196da);_0xc196da=_0x2a4143;}else{if(!this[_0x516695(0x24b)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x58e3da+_0x516695(0x2e4)+_0xc196da);}}else{if(_0x58e3da===_0x516695(0x325)){const _0x4aa527=+_0xc196da;if(!Number[_0x516695(0x2de)](_0x4aa527)||_0x4aa527<0x8||_0x4aa527>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x58e3da+_0x516695(0x2e4)+_0xc196da);_0xc196da=_0x4aa527;}else{if(_0x58e3da===_0x516695(0x266)||_0x58e3da===_0x516695(0x34f)){if(_0xc196da!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x58e3da+_0x516695(0x2e4)+_0xc196da);}else throw new Error(_0x516695(0x235)+_0x58e3da+'\x22');}}_0x10ee40[_0x58e3da]=_0xc196da;});}),_0x2199c6;}['decompress'](_0x1e6aaa,_0x14f8cd,_0x4e62e6){_0x3c0888['add'](_0x3a72a7=>{const _0x1cf840=_0x2311;this[_0x1cf840(0x239)](_0x1e6aaa,_0x14f8cd,(_0xb201b5,_0x380bee)=>{_0x3a72a7(),_0x4e62e6(_0xb201b5,_0x380bee);});});}[_0x23a667(0x26a)](_0x109b96,_0x363bd2,_0x5dcc12){const _0x2461d6=_0x23a667;_0x3c0888[_0x2461d6(0x1e8)](_0x3933cb=>{const _0xda8efe=_0x2461d6;this[_0xda8efe(0x380)](_0x109b96,_0x363bd2,(_0x279db1,_0x10a43b)=>{_0x3933cb(),_0x5dcc12(_0x279db1,_0x10a43b);});});}[_0x23a667(0x239)](_0x42a9e2,_0x319608,_0x2df4a8){const _0x4e3c57=_0x23a667,_0x226e3b=this[_0x4e3c57(0x24b)]?_0x4e3c57(0x288):'server';if(!this[_0x4e3c57(0x236)]){const _0x2de0c6=_0x226e3b+_0x4e3c57(0x2f9),_0x3aef33=typeof this[_0x4e3c57(0x1dc)][_0x2de0c6]!='number'?_0x4df9e7['Z_DEFAULT_WINDOWBITS']:this[_0x4e3c57(0x1dc)][_0x2de0c6];this['_inflate']=_0x4df9e7[_0x4e3c57(0x308)]({...this[_0x4e3c57(0x37e)][_0x4e3c57(0x2ff)],'windowBits':_0x3aef33}),this['_inflate'][_0x111252]=this,this['_inflate'][_0x59f20c]=0x0,this[_0x4e3c57(0x236)][_0x4b0c18]=[],this['_inflate']['on']('error',_0x20cc31),this[_0x4e3c57(0x236)]['on'](_0x4e3c57(0x212),_0x24b469);}this['_inflate'][_0x1fbb03]=_0x2df4a8,this[_0x4e3c57(0x236)][_0x4e3c57(0x252)](_0x42a9e2),_0x319608&&this[_0x4e3c57(0x236)][_0x4e3c57(0x252)](_0x16e0ac),this['_inflate']['flush'](()=>{const _0x5d01d5=_0x4e3c57,_0x184cb0=this[_0x5d01d5(0x236)][_0x863548];if(_0x184cb0){this[_0x5d01d5(0x236)][_0x5d01d5(0x29b)](),this[_0x5d01d5(0x236)]=null,_0x2df4a8(_0x184cb0);return;}const _0x444140=_0x17b7f7['concat'](this['_inflate'][_0x4b0c18],this[_0x5d01d5(0x236)][_0x59f20c]);this[_0x5d01d5(0x236)][_0x5d01d5(0x31b)]['endEmitted']?(this[_0x5d01d5(0x236)][_0x5d01d5(0x29b)](),this[_0x5d01d5(0x236)]=null):(this[_0x5d01d5(0x236)][_0x59f20c]=0x0,this['_inflate'][_0x4b0c18]=[],_0x319608&&this[_0x5d01d5(0x1dc)][_0x226e3b+'_no_context_takeover']&&this[_0x5d01d5(0x236)]['reset']()),_0x2df4a8(null,_0x444140);});}[_0x23a667(0x380)](_0x5c2c6b,_0x31c3bf,_0x584c11){const _0x52fefc=_0x23a667,_0x28eafe=this[_0x52fefc(0x24b)]?_0x52fefc(0x229):_0x52fefc(0x288);if(!this[_0x52fefc(0x334)]){const _0x113f7a=_0x28eafe+_0x52fefc(0x2f9),_0x1e27d9=typeof this[_0x52fefc(0x1dc)][_0x113f7a]!='number'?_0x4df9e7[_0x52fefc(0x315)]:this[_0x52fefc(0x1dc)][_0x113f7a];this['_deflate']=_0x4df9e7[_0x52fefc(0x261)]({...this[_0x52fefc(0x37e)][_0x52fefc(0x2d9)],'windowBits':_0x1e27d9}),this[_0x52fefc(0x334)][_0x59f20c]=0x0,this['_deflate'][_0x4b0c18]=[],this['_deflate']['on'](_0x52fefc(0x212),_0x1e4d25);}this[_0x52fefc(0x334)][_0x1fbb03]=_0x584c11,this[_0x52fefc(0x334)][_0x52fefc(0x252)](_0x5c2c6b),this[_0x52fefc(0x334)][_0x52fefc(0x1fe)](_0x4df9e7[_0x52fefc(0x377)],()=>{const _0x5a9044=_0x52fefc;if(!this['_deflate'])return;let _0x493577=_0x17b7f7[_0x5a9044(0x36d)](this[_0x5a9044(0x334)][_0x4b0c18],this['_deflate'][_0x59f20c]);_0x31c3bf&&(_0x493577=new _0x55f7a5(_0x493577['buffer'],_0x493577[_0x5a9044(0x1ca)],_0x493577[_0x5a9044(0x2da)]-0x4)),this['_deflate'][_0x1fbb03]=null,this['_deflate'][_0x59f20c]=0x0,this[_0x5a9044(0x334)][_0x4b0c18]=[],_0x31c3bf&&this[_0x5a9044(0x1dc)][_0x28eafe+'_no_context_takeover']&&this[_0x5a9044(0x334)]['reset'](),_0x584c11(null,_0x493577);});}}ve=_0x5c4a14;function _0x1e4d25(_0x3a9c6f){const _0x1be159=_0x23a667;this[_0x4b0c18][_0x1be159(0x213)](_0x3a9c6f),this[_0x59f20c]+=_0x3a9c6f[_0x1be159(0x2da)];}function _0x24b469(_0x2ba65d){const _0x2b9394=_0x23a667;if(this[_0x59f20c]+=_0x2ba65d[_0x2b9394(0x2da)],this[_0x111252][_0x2b9394(0x296)]<0x1||this[_0x59f20c]<=this[_0x111252][_0x2b9394(0x296)]){this[_0x4b0c18][_0x2b9394(0x213)](_0x2ba65d);return;}this[_0x863548]=new RangeError(_0x2b9394(0x2bd)),this[_0x863548][_0x2b9394(0x2c4)]=_0x2b9394(0x248),this[_0x863548][_0x10a7f1]=0x3f1,this[_0x2b9394(0x22d)](_0x2b9394(0x212),_0x24b469),this[_0x2b9394(0x2b6)]();}function _0x20cc31(_0x389bd4){const _0x27ec68=_0x23a667;this[_0x111252][_0x27ec68(0x236)]=null,_0x389bd4[_0x10a7f1]=0x3ef,this[_0x1fbb03](_0x389bd4);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x55fc25(0x1cc)](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0x55fc25(0x272)],{'value':_0x55fc25(0x28a)})),Bt=at(Rt);var Ye;function ae(){const _0x2e7950=_0x55fc25;if(Ye)return ie[_0x2e7950(0x1cb)];Ye=0x1;const {isUtf8:_0x2144b2}=wt,{hasBlob:_0x5a576a}=H(),_0x2ecf0a=[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 _0x558037(_0xef0915){return _0xef0915>=0x3e8&&_0xef0915<=0x3f6&&_0xef0915!==0x3ec&&_0xef0915!==0x3ed&&_0xef0915!==0x3ee||_0xef0915>=0xbb8&&_0xef0915<=0x1387;}function _0x3290a0(_0x29641f){const _0x7eed8d=_0x2e7950,_0x47237e=_0x29641f[_0x7eed8d(0x2da)];let _0x183a86=0x0;for(;_0x183a86<_0x47237e;)if((_0x29641f[_0x183a86]&0x80)===0x0)_0x183a86++;else{if((_0x29641f[_0x183a86]&0xe0)===0xc0){if(_0x183a86+0x1===_0x47237e||(_0x29641f[_0x183a86+0x1]&0xc0)!==0x80||(_0x29641f[_0x183a86]&0xfe)===0xc0)return!0x1;_0x183a86+=0x2;}else{if((_0x29641f[_0x183a86]&0xf0)===0xe0){if(_0x183a86+0x2>=_0x47237e||(_0x29641f[_0x183a86+0x1]&0xc0)!==0x80||(_0x29641f[_0x183a86+0x2]&0xc0)!==0x80||_0x29641f[_0x183a86]===0xe0&&(_0x29641f[_0x183a86+0x1]&0xe0)===0x80||_0x29641f[_0x183a86]===0xed&&(_0x29641f[_0x183a86+0x1]&0xe0)===0xa0)return!0x1;_0x183a86+=0x3;}else{if((_0x29641f[_0x183a86]&0xf8)===0xf0){if(_0x183a86+0x3>=_0x47237e||(_0x29641f[_0x183a86+0x1]&0xc0)!==0x80||(_0x29641f[_0x183a86+0x2]&0xc0)!==0x80||(_0x29641f[_0x183a86+0x3]&0xc0)!==0x80||_0x29641f[_0x183a86]===0xf0&&(_0x29641f[_0x183a86+0x1]&0xf0)===0x80||_0x29641f[_0x183a86]===0xf4&&_0x29641f[_0x183a86+0x1]>0x8f||_0x29641f[_0x183a86]>0xf4)return!0x1;_0x183a86+=0x4;}else return!0x1;}}}return!0x0;}function _0x7b848f(_0x1b3954){const _0x25a959=_0x2e7950;return _0x5a576a&&typeof _0x1b3954==_0x25a959(0x2e0)&&typeof _0x1b3954[_0x25a959(0x264)]=='function'&&typeof _0x1b3954['type']==_0x25a959(0x301)&&typeof _0x1b3954[_0x25a959(0x27a)]=='function'&&(_0x1b3954[Symbol[_0x25a959(0x272)]]===_0x25a959(0x389)||_0x1b3954[Symbol[_0x25a959(0x272)]]===_0x25a959(0x1fb));}if(ie[_0x2e7950(0x1cb)]={'isBlob':_0x7b848f,'isValidStatusCode':_0x558037,'isValidUTF8':_0x3290a0,'tokenChars':_0x2ecf0a},_0x2144b2)ie['exports'][_0x2e7950(0x2ab)]=function(_0x31e05d){const _0x57f233=_0x2e7950;return _0x31e05d[_0x57f233(0x2da)]<0x18?_0x3290a0(_0x31e05d):_0x2144b2(_0x31e05d);};else{if(!process['env'][_0x2e7950(0x1e0)])try{const _0x413a89=Bt;ie['exports']['isValidUTF8']=function(_0x100d1a){const _0x2f7bb7=_0x2e7950;return _0x100d1a[_0x2f7bb7(0x2da)]<0x20?_0x3290a0(_0x100d1a):_0x413a89(_0x100d1a);};}catch{}}return ie[_0x2e7950(0x1cb)];}var Se,Ke;function lt(){const _0x1b5ca4=_0x55fc25;if(Ke)return Se;Ke=0x1;const {Writable:_0x27d374}=oe,_0x145a9e=he(),{BINARY_TYPES:_0x3f8304,EMPTY_BUFFER:_0x375b9f,kStatusCode:_0x4c85e4,kWebSocket:_0x41850a}=H(),{concat:_0x4d9725,toArrayBuffer:_0x3aad38,unmask:_0xc123a}=ce(),{isValidStatusCode:_0x3904c2,isValidUTF8:_0xe52fd0}=ae(),_0x1514d5=Buffer[Symbol[_0x1b5ca4(0x2f3)]],_0x40f50f=0x0,_0x4b4ed3=0x1,_0x30e225=0x2,_0x1afd9c=0x3,_0x1bdab6=0x4,_0x25a438=0x5,_0x1d8826=0x6;class _0x466635 extends _0x27d374{constructor(_0x10a7b1={}){const _0x2f78db=_0x1b5ca4;super(),this[_0x2f78db(0x387)]=_0x10a7b1[_0x2f78db(0x231)]!==void 0x0?_0x10a7b1[_0x2f78db(0x231)]:!0x0,this[_0x2f78db(0x23e)]=_0x10a7b1[_0x2f78db(0x23d)]||_0x3f8304[0x0],this[_0x2f78db(0x297)]=_0x10a7b1[_0x2f78db(0x256)]||{},this[_0x2f78db(0x24b)]=!!_0x10a7b1[_0x2f78db(0x222)],this[_0x2f78db(0x296)]=_0x10a7b1[_0x2f78db(0x304)]|0x0,this[_0x2f78db(0x290)]=!!_0x10a7b1[_0x2f78db(0x332)],this[_0x41850a]=void 0x0,this[_0x2f78db(0x2e8)]=0x0,this['_buffers']=[],this[_0x2f78db(0x23c)]=!0x1,this[_0x2f78db(0x286)]=0x0,this['_mask']=void 0x0,this[_0x2f78db(0x271)]=0x0,this[_0x2f78db(0x1dd)]=!0x1,this[_0x2f78db(0x247)]=!0x1,this[_0x2f78db(0x388)]=0x0,this[_0x2f78db(0x2dd)]=0x0,this[_0x2f78db(0x1f7)]=0x0,this[_0x2f78db(0x26f)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this['_state']=_0x40f50f;}[_0x1b5ca4(0x1cf)](_0x262958,_0x2400e5,_0x5af117){const _0x4bd8e1=_0x1b5ca4;if(this[_0x4bd8e1(0x388)]===0x8&&this[_0x4bd8e1(0x381)]==_0x40f50f)return _0x5af117();this[_0x4bd8e1(0x2e8)]+=_0x262958['length'],this[_0x4bd8e1(0x320)][_0x4bd8e1(0x213)](_0x262958),this[_0x4bd8e1(0x292)](_0x5af117);}[_0x1b5ca4(0x277)](_0x51d049){const _0x51f918=_0x1b5ca4;if(this[_0x51f918(0x2e8)]-=_0x51d049,_0x51d049===this['_buffers'][0x0][_0x51f918(0x2da)])return this[_0x51f918(0x320)][_0x51f918(0x336)]();if(_0x51d049<this[_0x51f918(0x320)][0x0][_0x51f918(0x2da)]){const _0x596ebe=this[_0x51f918(0x320)][0x0];return this[_0x51f918(0x320)][0x0]=new _0x1514d5(_0x596ebe['buffer'],_0x596ebe['byteOffset']+_0x51d049,_0x596ebe[_0x51f918(0x2da)]-_0x51d049),new _0x1514d5(_0x596ebe[_0x51f918(0x24f)],_0x596ebe[_0x51f918(0x1ca)],_0x51d049);}const _0x451228=Buffer[_0x51f918(0x22a)](_0x51d049);do{const _0xa7a07d=this[_0x51f918(0x320)][0x0],_0x594252=_0x451228[_0x51f918(0x2da)]-_0x51d049;_0x51d049>=_0xa7a07d[_0x51f918(0x2da)]?_0x451228[_0x51f918(0x321)](this[_0x51f918(0x320)][_0x51f918(0x336)](),_0x594252):(_0x451228[_0x51f918(0x321)](new Uint8Array(_0xa7a07d[_0x51f918(0x24f)],_0xa7a07d[_0x51f918(0x1ca)],_0x51d049),_0x594252),this[_0x51f918(0x320)][0x0]=new _0x1514d5(_0xa7a07d[_0x51f918(0x24f)],_0xa7a07d[_0x51f918(0x1ca)]+_0x51d049,_0xa7a07d[_0x51f918(0x2da)]-_0x51d049)),_0x51d049-=_0xa7a07d[_0x51f918(0x2da)];}while(_0x51d049>0x0);return _0x451228;}['startLoop'](_0x23392f){const _0x13ffcf=_0x1b5ca4;this[_0x13ffcf(0x22f)]=!0x0;do switch(this[_0x13ffcf(0x381)]){case _0x40f50f:this[_0x13ffcf(0x2f2)](_0x23392f);break;case _0x4b4ed3:this[_0x13ffcf(0x376)](_0x23392f);break;case _0x30e225:this[_0x13ffcf(0x357)](_0x23392f);break;case _0x1afd9c:this[_0x13ffcf(0x294)]();break;case _0x1bdab6:this['getData'](_0x23392f);break;case _0x25a438:case _0x1d8826:this[_0x13ffcf(0x22f)]=!0x1;return;}while(this[_0x13ffcf(0x22f)]);this['_errored']||_0x23392f();}[_0x1b5ca4(0x2f2)](_0x1386ba){const _0x345bf3=_0x1b5ca4;if(this['_bufferedBytes']<0x2){this[_0x345bf3(0x22f)]=!0x1;return;}const _0x4dc6ec=this[_0x345bf3(0x277)](0x2);if((_0x4dc6ec[0x0]&0x30)!==0x0){const _0x2ee6ad=this[_0x345bf3(0x37c)](RangeError,_0x345bf3(0x2a3),!0x0,0x3ea,_0x345bf3(0x23a));_0x1386ba(_0x2ee6ad);return;}const _0x57129d=(_0x4dc6ec[0x0]&0x40)===0x40;if(_0x57129d&&!this['_extensions'][_0x145a9e['extensionName']]){const _0x1cccf4=this[_0x345bf3(0x37c)](RangeError,_0x345bf3(0x305),!0x0,0x3ea,_0x345bf3(0x36e));_0x1386ba(_0x1cccf4);return;}if(this[_0x345bf3(0x247)]=(_0x4dc6ec[0x0]&0x80)===0x80,this['_opcode']=_0x4dc6ec[0x0]&0xf,this[_0x345bf3(0x286)]=_0x4dc6ec[0x1]&0x7f,this[_0x345bf3(0x388)]===0x0){if(_0x57129d){const _0x30f0b0=this[_0x345bf3(0x37c)](RangeError,_0x345bf3(0x305),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1386ba(_0x30f0b0);return;}if(!this[_0x345bf3(0x271)]){const _0x4f2150=this[_0x345bf3(0x37c)](RangeError,_0x345bf3(0x2ac),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x1386ba(_0x4f2150);return;}this[_0x345bf3(0x388)]=this['_fragmented'];}else{if(this[_0x345bf3(0x388)]===0x1||this['_opcode']===0x2){if(this[_0x345bf3(0x271)]){const _0x4a54e7=this['createError'](RangeError,_0x345bf3(0x24a)+this['_opcode'],!0x0,0x3ea,_0x345bf3(0x328));_0x1386ba(_0x4a54e7);return;}this['_compressed']=_0x57129d;}else{if(this[_0x345bf3(0x388)]>0x7&&this[_0x345bf3(0x388)]<0xb){if(!this[_0x345bf3(0x247)]){const _0x3b3a31=this[_0x345bf3(0x37c)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x1386ba(_0x3b3a31);return;}if(_0x57129d){const _0x4e9815=this[_0x345bf3(0x37c)](RangeError,_0x345bf3(0x305),!0x0,0x3ea,_0x345bf3(0x36e));_0x1386ba(_0x4e9815);return;}if(this[_0x345bf3(0x286)]>0x7d||this[_0x345bf3(0x388)]===0x8&&this[_0x345bf3(0x286)]===0x1){const _0x2cc9df=this[_0x345bf3(0x37c)](RangeError,_0x345bf3(0x342)+this[_0x345bf3(0x286)],!0x0,0x3ea,_0x345bf3(0x2af));_0x1386ba(_0x2cc9df);return;}}else{const _0x34c43e=this[_0x345bf3(0x37c)](RangeError,'invalid\x20opcode\x20'+this[_0x345bf3(0x388)],!0x0,0x3ea,_0x345bf3(0x328));_0x1386ba(_0x34c43e);return;}}}if(!this[_0x345bf3(0x247)]&&!this['_fragmented']&&(this[_0x345bf3(0x271)]=this[_0x345bf3(0x388)]),this[_0x345bf3(0x1dd)]=(_0x4dc6ec[0x1]&0x80)===0x80,this[_0x345bf3(0x24b)]){if(!this['_masked']){const _0x3969cb=this['createError'](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x345bf3(0x220));_0x1386ba(_0x3969cb);return;}}else{if(this['_masked']){const _0x4bd405=this[_0x345bf3(0x37c)](RangeError,_0x345bf3(0x216),!0x0,0x3ea,_0x345bf3(0x2ec));_0x1386ba(_0x4bd405);return;}}this[_0x345bf3(0x286)]===0x7e?this[_0x345bf3(0x381)]=_0x4b4ed3:this[_0x345bf3(0x286)]===0x7f?this[_0x345bf3(0x381)]=_0x30e225:this['haveLength'](_0x1386ba);}[_0x1b5ca4(0x376)](_0x37a444){const _0x4e6936=_0x1b5ca4;if(this['_bufferedBytes']<0x2){this[_0x4e6936(0x22f)]=!0x1;return;}this[_0x4e6936(0x286)]=this[_0x4e6936(0x277)](0x2)['readUInt16BE'](0x0),this[_0x4e6936(0x1f9)](_0x37a444);}[_0x1b5ca4(0x357)](_0x1d6915){const _0x7dbcfd=_0x1b5ca4;if(this[_0x7dbcfd(0x2e8)]<0x8){this['_loop']=!0x1;return;}const _0x5fc2d0=this[_0x7dbcfd(0x277)](0x8),_0xa80127=_0x5fc2d0[_0x7dbcfd(0x21a)](0x0);if(_0xa80127>Math[_0x7dbcfd(0x2e9)](0x2,0x15)-0x1){const _0xeba50f=this['createError'](RangeError,_0x7dbcfd(0x284),!0x1,0x3f1,_0x7dbcfd(0x2ba));_0x1d6915(_0xeba50f);return;}this[_0x7dbcfd(0x286)]=_0xa80127*Math[_0x7dbcfd(0x2e9)](0x2,0x20)+_0x5fc2d0[_0x7dbcfd(0x21a)](0x4),this[_0x7dbcfd(0x1f9)](_0x1d6915);}['haveLength'](_0xc9f5e7){const _0x4ede07=_0x1b5ca4;if(this[_0x4ede07(0x286)]&&this['_opcode']<0x8&&(this[_0x4ede07(0x2dd)]+=this['_payloadLength'],this[_0x4ede07(0x2dd)]>this[_0x4ede07(0x296)]&&this[_0x4ede07(0x296)]>0x0)){const _0x3eac61=this[_0x4ede07(0x37c)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0xc9f5e7(_0x3eac61);return;}this[_0x4ede07(0x1dd)]?this[_0x4ede07(0x381)]=_0x1afd9c:this['_state']=_0x1bdab6;}['getMask'](){const _0x12e7f8=_0x1b5ca4;if(this['_bufferedBytes']<0x4){this[_0x12e7f8(0x22f)]=!0x1;return;}this[_0x12e7f8(0x2b4)]=this['consume'](0x4),this[_0x12e7f8(0x381)]=_0x1bdab6;}[_0x1b5ca4(0x280)](_0x5e31d0){const _0x435b1d=_0x1b5ca4;let _0x1ee422=_0x375b9f;if(this[_0x435b1d(0x286)]){if(this[_0x435b1d(0x2e8)]<this[_0x435b1d(0x286)]){this[_0x435b1d(0x22f)]=!0x1;return;}_0x1ee422=this['consume'](this[_0x435b1d(0x286)]),this['_masked']&&(this[_0x435b1d(0x2b4)][0x0]|this['_mask'][0x1]|this['_mask'][0x2]|this[_0x435b1d(0x2b4)][0x3])!==0x0&&_0xc123a(_0x1ee422,this['_mask']);}if(this[_0x435b1d(0x388)]>0x7){this[_0x435b1d(0x27f)](_0x1ee422,_0x5e31d0);return;}if(this[_0x435b1d(0x23c)]){this['_state']=_0x25a438,this[_0x435b1d(0x28d)](_0x1ee422,_0x5e31d0);return;}_0x1ee422[_0x435b1d(0x2da)]&&(this[_0x435b1d(0x1f7)]=this[_0x435b1d(0x2dd)],this[_0x435b1d(0x26f)][_0x435b1d(0x213)](_0x1ee422)),this[_0x435b1d(0x32e)](_0x5e31d0);}[_0x1b5ca4(0x28d)](_0x58965c,_0x1984e7){const _0x17a537=_0x1b5ca4;this['_extensions'][_0x145a9e[_0x17a537(0x24c)]][_0x17a537(0x28d)](_0x58965c,this['_fin'],(_0x59df5c,_0x14e365)=>{const _0x48ffe3=_0x17a537;if(_0x59df5c)return _0x1984e7(_0x59df5c);if(_0x14e365[_0x48ffe3(0x2da)]){if(this[_0x48ffe3(0x1f7)]+=_0x14e365[_0x48ffe3(0x2da)],this[_0x48ffe3(0x1f7)]>this['_maxPayload']&&this['_maxPayload']>0x0){const _0xb3de45=this['createError'](RangeError,_0x48ffe3(0x2bd),!0x1,0x3f1,_0x48ffe3(0x248));_0x1984e7(_0xb3de45);return;}this[_0x48ffe3(0x26f)][_0x48ffe3(0x213)](_0x14e365);}this[_0x48ffe3(0x32e)](_0x1984e7),this[_0x48ffe3(0x381)]===_0x40f50f&&this[_0x48ffe3(0x292)](_0x1984e7);});}['dataMessage'](_0x2ebc3f){const _0x448f70=_0x1b5ca4;if(!this[_0x448f70(0x247)]){this[_0x448f70(0x381)]=_0x40f50f;return;}const _0x27d488=this[_0x448f70(0x1f7)],_0x37fcc2=this[_0x448f70(0x26f)];if(this[_0x448f70(0x2dd)]=0x0,this[_0x448f70(0x1f7)]=0x0,this[_0x448f70(0x271)]=0x0,this[_0x448f70(0x26f)]=[],this[_0x448f70(0x388)]===0x2){let _0x43bf3a;this[_0x448f70(0x23e)]===_0x448f70(0x2f1)?_0x43bf3a=_0x4d9725(_0x37fcc2,_0x27d488):this[_0x448f70(0x23e)]===_0x448f70(0x1e6)?_0x43bf3a=_0x3aad38(_0x4d9725(_0x37fcc2,_0x27d488)):this[_0x448f70(0x23e)]===_0x448f70(0x243)?_0x43bf3a=new Blob(_0x37fcc2):_0x43bf3a=_0x37fcc2,this[_0x448f70(0x387)]?(this[_0x448f70(0x20c)](_0x448f70(0x1f2),_0x43bf3a,!0x0),this[_0x448f70(0x381)]=_0x40f50f):(this[_0x448f70(0x381)]=_0x1d8826,setImmediate(()=>{const _0x15b914=_0x448f70;this[_0x15b914(0x20c)](_0x15b914(0x1f2),_0x43bf3a,!0x0),this[_0x15b914(0x381)]=_0x40f50f,this['startLoop'](_0x2ebc3f);}));}else{const _0x35ca6f=_0x4d9725(_0x37fcc2,_0x27d488);if(!this[_0x448f70(0x290)]&&!_0xe52fd0(_0x35ca6f)){const _0x5c73a0=this['createError'](Error,_0x448f70(0x1f3),!0x0,0x3ef,_0x448f70(0x33d));_0x2ebc3f(_0x5c73a0);return;}this[_0x448f70(0x381)]===_0x25a438||this[_0x448f70(0x387)]?(this['emit'](_0x448f70(0x1f2),_0x35ca6f,!0x1),this[_0x448f70(0x381)]=_0x40f50f):(this[_0x448f70(0x381)]=_0x1d8826,setImmediate(()=>{const _0x3b0706=_0x448f70;this[_0x3b0706(0x20c)](_0x3b0706(0x1f2),_0x35ca6f,!0x1),this[_0x3b0706(0x381)]=_0x40f50f,this['startLoop'](_0x2ebc3f);}));}}['controlMessage'](_0x46df91,_0x591170){const _0x756b7e=_0x1b5ca4;if(this[_0x756b7e(0x388)]===0x8){if(_0x46df91['length']===0x0)this[_0x756b7e(0x22f)]=!0x1,this[_0x756b7e(0x20c)](_0x756b7e(0x2f7),0x3ed,_0x375b9f),this[_0x756b7e(0x364)]();else{const _0x1233dd=_0x46df91['readUInt16BE'](0x0);if(!_0x3904c2(_0x1233dd)){const _0xf571c5=this[_0x756b7e(0x37c)](RangeError,'invalid\x20status\x20code\x20'+_0x1233dd,!0x0,0x3ea,_0x756b7e(0x34d));_0x591170(_0xf571c5);return;}const _0x409109=new _0x1514d5(_0x46df91[_0x756b7e(0x24f)],_0x46df91[_0x756b7e(0x1ca)]+0x2,_0x46df91[_0x756b7e(0x2da)]-0x2);if(!this[_0x756b7e(0x290)]&&!_0xe52fd0(_0x409109)){const _0x3c7627=this['createError'](Error,_0x756b7e(0x1f3),!0x0,0x3ef,_0x756b7e(0x33d));_0x591170(_0x3c7627);return;}this[_0x756b7e(0x22f)]=!0x1,this[_0x756b7e(0x20c)](_0x756b7e(0x2f7),_0x1233dd,_0x409109),this[_0x756b7e(0x364)]();}this[_0x756b7e(0x381)]=_0x40f50f;return;}this[_0x756b7e(0x387)]?(this['emit'](this['_opcode']===0x9?'ping':'pong',_0x46df91),this['_state']=_0x40f50f):(this['_state']=_0x1d8826,setImmediate(()=>{const _0x2f73be=_0x756b7e;this[_0x2f73be(0x20c)](this[_0x2f73be(0x388)]===0x9?_0x2f73be(0x24e):_0x2f73be(0x279),_0x46df91),this[_0x2f73be(0x381)]=_0x40f50f,this[_0x2f73be(0x292)](_0x591170);}));}[_0x1b5ca4(0x37c)](_0x2f3696,_0x230479,_0x59c751,_0x2a4131,_0x28e594){const _0x444d6c=_0x1b5ca4;this[_0x444d6c(0x22f)]=!0x1,this['_errored']=!0x0;const _0x2ae6a6=new _0x2f3696(_0x59c751?_0x444d6c(0x206)+_0x230479:_0x230479);return Error[_0x444d6c(0x36a)](_0x2ae6a6,this[_0x444d6c(0x37c)]),_0x2ae6a6[_0x444d6c(0x2c4)]=_0x28e594,_0x2ae6a6[_0x4c85e4]=_0x2a4131,_0x2ae6a6;}}return Se=_0x466635,Se;}var Ee,Xe;function ft(){const _0x40aecb=_0x55fc25;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x40caf0}=oe,{randomFillSync:_0x1b9fdd}=Le,_0x1655d3=he(),{EMPTY_BUFFER:_0x4c664c,kWebSocket:_0x2cb6f8,NOOP:_0x487ba2}=H(),{isBlob:_0x16a040,isValidStatusCode:_0x36d6b5}=ae(),{mask:_0x1c7391,toBuffer:_0x175e89}=ce(),_0x39573b=Symbol(_0x40aecb(0x318)),_0xd86494=Buffer[_0x40aecb(0x1d3)](0x4),_0x37127e=0x8*0x400;let _0x28349f,_0x13e9dc=_0x37127e;const _0x18fd07=0x0,_0x576880=0x1,_0x458342=0x2;class _0x526601{constructor(_0xfc6a3e,_0x109b87,_0x7aaa7d){const _0x290bef=_0x40aecb;this[_0x290bef(0x297)]=_0x109b87||{},_0x7aaa7d&&(this[_0x290bef(0x2fa)]=_0x7aaa7d,this[_0x290bef(0x2b3)]=Buffer[_0x290bef(0x1d3)](0x4)),this[_0x290bef(0x2bc)]=_0xfc6a3e,this[_0x290bef(0x2b7)]=!0x0,this[_0x290bef(0x380)]=!0x1,this[_0x290bef(0x2e8)]=0x0,this['_queue']=[],this[_0x290bef(0x381)]=_0x18fd07,this[_0x290bef(0x2c5)]=_0x487ba2,this[_0x2cb6f8]=void 0x0;}static[_0x40aecb(0x25e)](_0x43c22e,_0x5002f6){const _0x275ee8=_0x40aecb;let _0x2af24d,_0x451ef4=!0x1,_0x22492f=0x2,_0xf91fa=!0x1;_0x5002f6[_0x275ee8(0x22c)]&&(_0x2af24d=_0x5002f6[_0x275ee8(0x203)]||_0xd86494,_0x5002f6['generateMask']?_0x5002f6['generateMask'](_0x2af24d):(_0x13e9dc===_0x37127e&&(_0x28349f===void 0x0&&(_0x28349f=Buffer[_0x275ee8(0x1d3)](_0x37127e)),_0x1b9fdd(_0x28349f,0x0,_0x37127e),_0x13e9dc=0x0),_0x2af24d[0x0]=_0x28349f[_0x13e9dc++],_0x2af24d[0x1]=_0x28349f[_0x13e9dc++],_0x2af24d[0x2]=_0x28349f[_0x13e9dc++],_0x2af24d[0x3]=_0x28349f[_0x13e9dc++]),_0xf91fa=(_0x2af24d[0x0]|_0x2af24d[0x1]|_0x2af24d[0x2]|_0x2af24d[0x3])===0x0,_0x22492f=0x6);let _0x50ebda;typeof _0x43c22e==_0x275ee8(0x301)?(!_0x5002f6['mask']||_0xf91fa)&&_0x5002f6[_0x39573b]!==void 0x0?_0x50ebda=_0x5002f6[_0x39573b]:(_0x43c22e=Buffer[_0x275ee8(0x2b8)](_0x43c22e),_0x50ebda=_0x43c22e[_0x275ee8(0x2da)]):(_0x50ebda=_0x43c22e['length'],_0x451ef4=_0x5002f6['mask']&&_0x5002f6[_0x275ee8(0x2c2)]&&!_0xf91fa);let _0x43c066=_0x50ebda;_0x50ebda>=0x10000?(_0x22492f+=0x8,_0x43c066=0x7f):_0x50ebda>0x7d&&(_0x22492f+=0x2,_0x43c066=0x7e);const _0x13358c=Buffer[_0x275ee8(0x22a)](_0x451ef4?_0x50ebda+_0x22492f:_0x22492f);return _0x13358c[0x0]=_0x5002f6['fin']?_0x5002f6[_0x275ee8(0x2c9)]|0x80:_0x5002f6[_0x275ee8(0x2c9)],_0x5002f6['rsv1']&&(_0x13358c[0x0]|=0x40),_0x13358c[0x1]=_0x43c066,_0x43c066===0x7e?_0x13358c[_0x275ee8(0x200)](_0x50ebda,0x2):_0x43c066===0x7f&&(_0x13358c[0x2]=_0x13358c[0x3]=0x0,_0x13358c[_0x275ee8(0x254)](_0x50ebda,0x4,0x6)),_0x5002f6[_0x275ee8(0x22c)]?(_0x13358c[0x1]|=0x80,_0x13358c[_0x22492f-0x4]=_0x2af24d[0x0],_0x13358c[_0x22492f-0x3]=_0x2af24d[0x1],_0x13358c[_0x22492f-0x2]=_0x2af24d[0x2],_0x13358c[_0x22492f-0x1]=_0x2af24d[0x3],_0xf91fa?[_0x13358c,_0x43c22e]:_0x451ef4?(_0x1c7391(_0x43c22e,_0x2af24d,_0x13358c,_0x22492f,_0x50ebda),[_0x13358c]):(_0x1c7391(_0x43c22e,_0x2af24d,_0x43c22e,0x0,_0x50ebda),[_0x13358c,_0x43c22e])):[_0x13358c,_0x43c22e];}['close'](_0x96061d,_0x35b202,_0x33f9e4,_0x5e74b5){const _0x3d7990=_0x40aecb;let _0x3642fe;if(_0x96061d===void 0x0)_0x3642fe=_0x4c664c;else{if(typeof _0x96061d!=_0x3d7990(0x37f)||!_0x36d6b5(_0x96061d))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x35b202===void 0x0||!_0x35b202[_0x3d7990(0x2da)])_0x3642fe=Buffer[_0x3d7990(0x22a)](0x2),_0x3642fe[_0x3d7990(0x200)](_0x96061d,0x0);else{const _0x424840=Buffer[_0x3d7990(0x2c3)](_0x35b202);if(_0x424840>0x7b)throw new RangeError(_0x3d7990(0x2c8));_0x3642fe=Buffer[_0x3d7990(0x22a)](0x2+_0x424840),_0x3642fe[_0x3d7990(0x200)](_0x96061d,0x0),typeof _0x35b202==_0x3d7990(0x301)?_0x3642fe[_0x3d7990(0x252)](_0x35b202,0x2):_0x3642fe['set'](_0x35b202,0x2);}}const _0x5f1de8={[_0x39573b]:_0x3642fe[_0x3d7990(0x2da)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x33f9e4,'maskBuffer':this[_0x3d7990(0x2b3)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x3d7990(0x381)]!==_0x18fd07?this[_0x3d7990(0x341)]([this[_0x3d7990(0x326)],_0x3642fe,!0x1,_0x5f1de8,_0x5e74b5]):this[_0x3d7990(0x311)](_0x526601[_0x3d7990(0x25e)](_0x3642fe,_0x5f1de8),_0x5e74b5);}[_0x40aecb(0x24e)](_0x447a96,_0x2a96e6,_0x4fc5f2){const _0x3fa060=_0x40aecb;let _0x5a318c,_0x38b33b;if(typeof _0x447a96==_0x3fa060(0x301)?(_0x5a318c=Buffer[_0x3fa060(0x2c3)](_0x447a96),_0x38b33b=!0x1):_0x16a040(_0x447a96)?(_0x5a318c=_0x447a96[_0x3fa060(0x215)],_0x38b33b=!0x1):(_0x447a96=_0x175e89(_0x447a96),_0x5a318c=_0x447a96[_0x3fa060(0x2da)],_0x38b33b=_0x175e89[_0x3fa060(0x2c2)]),_0x5a318c>0x7d)throw new RangeError(_0x3fa060(0x373));const _0x303b86={[_0x39573b]:_0x5a318c,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x2a96e6,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x38b33b,'rsv1':!0x1};_0x16a040(_0x447a96)?this['_state']!==_0x18fd07?this[_0x3fa060(0x341)]([this[_0x3fa060(0x353)],_0x447a96,!0x1,_0x303b86,_0x4fc5f2]):this[_0x3fa060(0x353)](_0x447a96,!0x1,_0x303b86,_0x4fc5f2):this[_0x3fa060(0x381)]!==_0x18fd07?this[_0x3fa060(0x341)]([this[_0x3fa060(0x326)],_0x447a96,!0x1,_0x303b86,_0x4fc5f2]):this[_0x3fa060(0x311)](_0x526601['frame'](_0x447a96,_0x303b86),_0x4fc5f2);}['pong'](_0x5666aa,_0x18c199,_0x20e2db){const _0x30e545=_0x40aecb;let _0x2c34e9,_0x464744;if(typeof _0x5666aa==_0x30e545(0x301)?(_0x2c34e9=Buffer['byteLength'](_0x5666aa),_0x464744=!0x1):_0x16a040(_0x5666aa)?(_0x2c34e9=_0x5666aa[_0x30e545(0x215)],_0x464744=!0x1):(_0x5666aa=_0x175e89(_0x5666aa),_0x2c34e9=_0x5666aa[_0x30e545(0x2da)],_0x464744=_0x175e89[_0x30e545(0x2c2)]),_0x2c34e9>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x15842c={[_0x39573b]:_0x2c34e9,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x18c199,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x464744,'rsv1':!0x1};_0x16a040(_0x5666aa)?this[_0x30e545(0x381)]!==_0x18fd07?this[_0x30e545(0x341)]([this[_0x30e545(0x353)],_0x5666aa,!0x1,_0x15842c,_0x20e2db]):this['getBlobData'](_0x5666aa,!0x1,_0x15842c,_0x20e2db):this['_state']!==_0x18fd07?this['enqueue']([this[_0x30e545(0x326)],_0x5666aa,!0x1,_0x15842c,_0x20e2db]):this[_0x30e545(0x311)](_0x526601[_0x30e545(0x25e)](_0x5666aa,_0x15842c),_0x20e2db);}['send'](_0x3d91c1,_0x3930af,_0x76e186){const _0x2dc620=_0x40aecb,_0x287df3=this['_extensions'][_0x1655d3[_0x2dc620(0x24c)]];let _0x2137b3=_0x3930af[_0x2dc620(0x1c9)]?0x2:0x1,_0x3fb91e=_0x3930af[_0x2dc620(0x26a)],_0x38f3dc,_0x3cda5f;typeof _0x3d91c1==_0x2dc620(0x301)?(_0x38f3dc=Buffer[_0x2dc620(0x2c3)](_0x3d91c1),_0x3cda5f=!0x1):_0x16a040(_0x3d91c1)?(_0x38f3dc=_0x3d91c1['size'],_0x3cda5f=!0x1):(_0x3d91c1=_0x175e89(_0x3d91c1),_0x38f3dc=_0x3d91c1[_0x2dc620(0x2da)],_0x3cda5f=_0x175e89['readOnly']),this[_0x2dc620(0x2b7)]?(this[_0x2dc620(0x2b7)]=!0x1,_0x3fb91e&&_0x287df3&&_0x287df3[_0x2dc620(0x1dc)][_0x287df3[_0x2dc620(0x24b)]?_0x2dc620(0x34f):_0x2dc620(0x266)]&&(_0x3fb91e=_0x38f3dc>=_0x287df3[_0x2dc620(0x2a8)]),this[_0x2dc620(0x380)]=_0x3fb91e):(_0x3fb91e=!0x1,_0x2137b3=0x0),_0x3930af[_0x2dc620(0x37a)]&&(this[_0x2dc620(0x2b7)]=!0x0);const _0x5847df={[_0x39573b]:_0x38f3dc,'fin':_0x3930af['fin'],'generateMask':this[_0x2dc620(0x2fa)],'mask':_0x3930af[_0x2dc620(0x22c)],'maskBuffer':this['_maskBuffer'],'opcode':_0x2137b3,'readOnly':_0x3cda5f,'rsv1':_0x3fb91e};_0x16a040(_0x3d91c1)?this[_0x2dc620(0x381)]!==_0x18fd07?this[_0x2dc620(0x341)]([this[_0x2dc620(0x353)],_0x3d91c1,this[_0x2dc620(0x380)],_0x5847df,_0x76e186]):this['getBlobData'](_0x3d91c1,this[_0x2dc620(0x380)],_0x5847df,_0x76e186):this[_0x2dc620(0x381)]!==_0x18fd07?this[_0x2dc620(0x341)]([this[_0x2dc620(0x326)],_0x3d91c1,this[_0x2dc620(0x380)],_0x5847df,_0x76e186]):this[_0x2dc620(0x326)](_0x3d91c1,this[_0x2dc620(0x380)],_0x5847df,_0x76e186);}[_0x40aecb(0x353)](_0xcd6cd4,_0x1d1508,_0x3783d6,_0x301f1f){const _0xb58cf8=_0x40aecb;this[_0xb58cf8(0x2e8)]+=_0x3783d6[_0x39573b],this['_state']=_0x458342,_0xcd6cd4[_0xb58cf8(0x264)]()[_0xb58cf8(0x2ea)](_0x553d5c=>{const _0x108cca=_0xb58cf8;if(this['_socket'][_0x108cca(0x20f)]){const _0x21df5e=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x108cca(0x25c)](_0x3404d6,this,_0x21df5e,_0x301f1f);return;}this[_0x108cca(0x2e8)]-=_0x3783d6[_0x39573b];const _0x5d3b91=_0x175e89(_0x553d5c);_0x1d1508?this[_0x108cca(0x326)](_0x5d3b91,_0x1d1508,_0x3783d6,_0x301f1f):(this[_0x108cca(0x381)]=_0x18fd07,this['sendFrame'](_0x526601[_0x108cca(0x25e)](_0x5d3b91,_0x3783d6),_0x301f1f),this['dequeue']());})['catch'](_0xa571b3=>{const _0x40dd62=_0xb58cf8;process[_0x40dd62(0x25c)](_0x28c0da,this,_0xa571b3,_0x301f1f);});}[_0x40aecb(0x326)](_0x1644c6,_0x2e0ceb,_0x29b8bf,_0x443c18){const _0x3d227f=_0x40aecb;if(!_0x2e0ceb){this[_0x3d227f(0x311)](_0x526601[_0x3d227f(0x25e)](_0x1644c6,_0x29b8bf),_0x443c18);return;}const _0x12eb84=this['_extensions'][_0x1655d3['extensionName']];this['_bufferedBytes']+=_0x29b8bf[_0x39573b],this[_0x3d227f(0x381)]=_0x576880,_0x12eb84['compress'](_0x1644c6,_0x29b8bf[_0x3d227f(0x37a)],(_0x4f5141,_0x1cfe4b)=>{const _0x59e76c=_0x3d227f;if(this[_0x59e76c(0x2bc)][_0x59e76c(0x20f)]){const _0x3eb5ab=new Error(_0x59e76c(0x300));_0x3404d6(this,_0x3eb5ab,_0x443c18);return;}this[_0x59e76c(0x2e8)]-=_0x29b8bf[_0x39573b],this[_0x59e76c(0x381)]=_0x18fd07,_0x29b8bf[_0x59e76c(0x2c2)]=!0x1,this[_0x59e76c(0x311)](_0x526601[_0x59e76c(0x25e)](_0x1cfe4b,_0x29b8bf),_0x443c18),this[_0x59e76c(0x2dc)]();});}[_0x40aecb(0x2dc)](){const _0x20c931=_0x40aecb;for(;this[_0x20c931(0x381)]===_0x18fd07&&this['_queue']['length'];){const _0x4bc926=this[_0x20c931(0x1f1)][_0x20c931(0x336)]();this[_0x20c931(0x2e8)]-=_0x4bc926[0x3][_0x39573b],Reflect['apply'](_0x4bc926[0x0],this,_0x4bc926['slice'](0x1));}}[_0x40aecb(0x341)](_0x3c067f){const _0x4d7f20=_0x40aecb;this[_0x4d7f20(0x2e8)]+=_0x3c067f[0x3][_0x39573b],this[_0x4d7f20(0x1f1)][_0x4d7f20(0x213)](_0x3c067f);}['sendFrame'](_0x2bf8e9,_0x243ccb){const _0x3a426c=_0x40aecb;_0x2bf8e9[_0x3a426c(0x2da)]===0x2?(this[_0x3a426c(0x2bc)][_0x3a426c(0x207)](),this[_0x3a426c(0x2bc)][_0x3a426c(0x252)](_0x2bf8e9[0x0]),this[_0x3a426c(0x2bc)][_0x3a426c(0x252)](_0x2bf8e9[0x1],_0x243ccb),this[_0x3a426c(0x2bc)][_0x3a426c(0x324)]()):this[_0x3a426c(0x2bc)][_0x3a426c(0x252)](_0x2bf8e9[0x0],_0x243ccb);}}Ee=_0x526601;function _0x3404d6(_0x16ba16,_0x29ec7a,_0x45decb){const _0x589806=_0x40aecb;typeof _0x45decb==_0x589806(0x29d)&&_0x45decb(_0x29ec7a);for(let _0x5dad8d=0x0;_0x5dad8d<_0x16ba16[_0x589806(0x1f1)][_0x589806(0x2da)];_0x5dad8d++){const _0x215112=_0x16ba16[_0x589806(0x1f1)][_0x5dad8d],_0x2ab9d8=_0x215112[_0x215112[_0x589806(0x2da)]-0x1];typeof _0x2ab9d8=='function'&&_0x2ab9d8(_0x29ec7a);}}function _0x28c0da(_0x39670d,_0x34f980,_0x14c1fe){const _0x5e7f7d=_0x40aecb;_0x3404d6(_0x39670d,_0x34f980,_0x14c1fe),_0x39670d[_0x5e7f7d(0x2c5)](_0x34f980);}return Ee;}var xe,Ze;function It(){const _0x232c9b=_0x55fc25;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x55ec90,kListener:_0x389957}=H(),_0x59fedd=Symbol(_0x232c9b(0x29a)),_0x2fa79b=Symbol('kData'),_0xe99d24=Symbol(_0x232c9b(0x2d2)),_0x2d440c=Symbol(_0x232c9b(0x242)),_0xce99ad=Symbol(_0x232c9b(0x1e5)),_0x46e6a7=Symbol(_0x232c9b(0x260)),_0x202622=Symbol(_0x232c9b(0x386)),_0xc5c6ed=Symbol(_0x232c9b(0x363));class _0x20ce09{constructor(_0xc08c53){this[_0x46e6a7]=null,this[_0x202622]=_0xc08c53;}get[_0x232c9b(0x20d)](){return this[_0x46e6a7];}get[_0x232c9b(0x246)](){return this[_0x202622];}}Object[_0x232c9b(0x2c6)](_0x20ce09[_0x232c9b(0x317)],'target',{'enumerable':!0x0}),Object[_0x232c9b(0x2c6)](_0x20ce09['prototype'],_0x232c9b(0x246),{'enumerable':!0x0});class _0x59ee77 extends _0x20ce09{constructor(_0x509e99,_0x5ee869={}){const _0x3f852e=_0x232c9b;super(_0x509e99),this[_0x59fedd]=_0x5ee869[_0x3f852e(0x2c4)]===void 0x0?0x0:_0x5ee869[_0x3f852e(0x2c4)],this[_0xce99ad]=_0x5ee869['reason']===void 0x0?'':_0x5ee869[_0x3f852e(0x361)],this[_0xc5c6ed]=_0x5ee869['wasClean']===void 0x0?!0x1:_0x5ee869[_0x3f852e(0x310)];}get[_0x232c9b(0x2c4)](){return this[_0x59fedd];}get[_0x232c9b(0x361)](){return this[_0xce99ad];}get[_0x232c9b(0x310)](){return this[_0xc5c6ed];}}Object[_0x232c9b(0x2c6)](_0x59ee77[_0x232c9b(0x317)],'code',{'enumerable':!0x0}),Object[_0x232c9b(0x2c6)](_0x59ee77['prototype'],_0x232c9b(0x361),{'enumerable':!0x0}),Object[_0x232c9b(0x2c6)](_0x59ee77[_0x232c9b(0x317)],_0x232c9b(0x310),{'enumerable':!0x0});class _0xee0575 extends _0x20ce09{constructor(_0x26883b,_0x152cb7={}){const _0x53fb2a=_0x232c9b;super(_0x26883b),this[_0xe99d24]=_0x152cb7[_0x53fb2a(0x1d9)]===void 0x0?null:_0x152cb7[_0x53fb2a(0x1d9)],this[_0x2d440c]=_0x152cb7['message']===void 0x0?'':_0x152cb7[_0x53fb2a(0x1f2)];}get[_0x232c9b(0x1d9)](){return this[_0xe99d24];}get['message'](){return this[_0x2d440c];}}Object[_0x232c9b(0x2c6)](_0xee0575['prototype'],_0x232c9b(0x1d9),{'enumerable':!0x0}),Object[_0x232c9b(0x2c6)](_0xee0575[_0x232c9b(0x317)],_0x232c9b(0x1f2),{'enumerable':!0x0});class _0x3d06f6 extends _0x20ce09{constructor(_0x4d161a,_0x36cc14={}){super(_0x4d161a),this[_0x2fa79b]=_0x36cc14['data']===void 0x0?null:_0x36cc14['data'];}get[_0x232c9b(0x212)](){return this[_0x2fa79b];}}Object['defineProperty'](_0x3d06f6['prototype'],_0x232c9b(0x212),{'enumerable':!0x0}),xe={'CloseEvent':_0x59ee77,'ErrorEvent':_0xee0575,'Event':_0x20ce09,'EventTarget':{'addEventListener'(_0x392890,_0x1f16a1,_0x313d6c={}){const _0x1b8627=_0x232c9b;for(const _0x2e1abf of this[_0x1b8627(0x250)](_0x392890))if(!_0x313d6c[_0x55ec90]&&_0x2e1abf[_0x389957]===_0x1f16a1&&!_0x2e1abf[_0x55ec90])return;let _0x61f5e;if(_0x392890===_0x1b8627(0x1f2))_0x61f5e=function(_0x58aaf0,_0x1cd91d){const _0x79559e=_0x1b8627,_0x61b7bd=new _0x3d06f6(_0x79559e(0x1f2),{'data':_0x1cd91d?_0x58aaf0:_0x58aaf0['toString']()});_0x61b7bd[_0x46e6a7]=this,_0xd3b69e(_0x1f16a1,this,_0x61b7bd);};else{if(_0x392890===_0x1b8627(0x29b))_0x61f5e=function(_0x2653a6,_0x80046){const _0x5e1816=_0x1b8627,_0x5d9346=new _0x59ee77(_0x5e1816(0x29b),{'code':_0x2653a6,'reason':_0x80046['toString'](),'wasClean':this[_0x5e1816(0x268)]&&this[_0x5e1816(0x28e)]});_0x5d9346[_0x46e6a7]=this,_0xd3b69e(_0x1f16a1,this,_0x5d9346);};else{if(_0x392890===_0x1b8627(0x1d9))_0x61f5e=function(_0x5c7312){const _0x2da4fe=_0x1b8627,_0x20e740=new _0xee0575(_0x2da4fe(0x1d9),{'error':_0x5c7312,'message':_0x5c7312[_0x2da4fe(0x1f2)]});_0x20e740[_0x46e6a7]=this,_0xd3b69e(_0x1f16a1,this,_0x20e740);};else{if(_0x392890===_0x1b8627(0x2a5))_0x61f5e=function(){const _0x1b49ce=_0x1b8627,_0x17e19e=new _0x20ce09(_0x1b49ce(0x2a5));_0x17e19e[_0x46e6a7]=this,_0xd3b69e(_0x1f16a1,this,_0x17e19e);};else return;}}}_0x61f5e[_0x55ec90]=!!_0x313d6c[_0x55ec90],_0x61f5e[_0x389957]=_0x1f16a1,_0x313d6c[_0x1b8627(0x32c)]?this[_0x1b8627(0x32c)](_0x392890,_0x61f5e):this['on'](_0x392890,_0x61f5e);},'removeEventListener'(_0x5a758a,_0x1a6c6f){const _0x4641b5=_0x232c9b;for(const _0x4be990 of this[_0x4641b5(0x250)](_0x5a758a))if(_0x4be990[_0x389957]===_0x1a6c6f&&!_0x4be990[_0x55ec90]){this['removeListener'](_0x5a758a,_0x4be990);break;}}},'MessageEvent':_0x3d06f6};function _0xd3b69e(_0x2d7c73,_0x11b339,_0x5b79cb){const _0x21344c=_0x232c9b;typeof _0x2d7c73==_0x21344c(0x2e0)&&_0x2d7c73[_0x21344c(0x22e)]?_0x2d7c73['handleEvent']['call'](_0x2d7c73,_0x5b79cb):_0x2d7c73[_0x21344c(0x20a)](_0x11b339,_0x5b79cb);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x24617e}=ae();function _0x29cd35(_0x58c50a,_0x41bca6,_0x49ee35){const _0x59048e=_0x2311;_0x58c50a[_0x41bca6]===void 0x0?_0x58c50a[_0x41bca6]=[_0x49ee35]:_0x58c50a[_0x41bca6][_0x59048e(0x213)](_0x49ee35);}function _0x512ca7(_0x2477ee){const _0x1e1dcf=_0x2311,_0x20c3a6=Object[_0x1e1dcf(0x234)](null);let _0x5202ea=Object['create'](null),_0x3404eb=!0x1,_0xe70fa6=!0x1,_0x16b01c=!0x1,_0xca647f,_0x59260d,_0x1edbb6=-0x1,_0x5d41b9=-0x1,_0x8767c0=-0x1,_0x101e52=0x0;for(;_0x101e52<_0x2477ee[_0x1e1dcf(0x2da)];_0x101e52++)if(_0x5d41b9=_0x2477ee[_0x1e1dcf(0x370)](_0x101e52),_0xca647f===void 0x0){if(_0x8767c0===-0x1&&_0x24617e[_0x5d41b9]===0x1)_0x1edbb6===-0x1&&(_0x1edbb6=_0x101e52);else{if(_0x101e52!==0x0&&(_0x5d41b9===0x20||_0x5d41b9===0x9))_0x8767c0===-0x1&&_0x1edbb6!==-0x1&&(_0x8767c0=_0x101e52);else{if(_0x5d41b9===0x3b||_0x5d41b9===0x2c){if(_0x1edbb6===-0x1)throw new SyntaxError(_0x1e1dcf(0x240)+_0x101e52);_0x8767c0===-0x1&&(_0x8767c0=_0x101e52);const _0x46a79f=_0x2477ee['slice'](_0x1edbb6,_0x8767c0);_0x5d41b9===0x2c?(_0x29cd35(_0x20c3a6,_0x46a79f,_0x5202ea),_0x5202ea=Object[_0x1e1dcf(0x234)](null)):_0xca647f=_0x46a79f,_0x1edbb6=_0x8767c0=-0x1;}else throw new SyntaxError(_0x1e1dcf(0x240)+_0x101e52);}}}else{if(_0x59260d===void 0x0){if(_0x8767c0===-0x1&&_0x24617e[_0x5d41b9]===0x1)_0x1edbb6===-0x1&&(_0x1edbb6=_0x101e52);else{if(_0x5d41b9===0x20||_0x5d41b9===0x9)_0x8767c0===-0x1&&_0x1edbb6!==-0x1&&(_0x8767c0=_0x101e52);else{if(_0x5d41b9===0x3b||_0x5d41b9===0x2c){if(_0x1edbb6===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x101e52);_0x8767c0===-0x1&&(_0x8767c0=_0x101e52),_0x29cd35(_0x5202ea,_0x2477ee[_0x1e1dcf(0x2f5)](_0x1edbb6,_0x8767c0),!0x0),_0x5d41b9===0x2c&&(_0x29cd35(_0x20c3a6,_0xca647f,_0x5202ea),_0x5202ea=Object[_0x1e1dcf(0x234)](null),_0xca647f=void 0x0),_0x1edbb6=_0x8767c0=-0x1;}else{if(_0x5d41b9===0x3d&&_0x1edbb6!==-0x1&&_0x8767c0===-0x1)_0x59260d=_0x2477ee[_0x1e1dcf(0x2f5)](_0x1edbb6,_0x101e52),_0x1edbb6=_0x8767c0=-0x1;else throw new SyntaxError(_0x1e1dcf(0x240)+_0x101e52);}}}}else{if(_0xe70fa6){if(_0x24617e[_0x5d41b9]!==0x1)throw new SyntaxError(_0x1e1dcf(0x240)+_0x101e52);_0x1edbb6===-0x1?_0x1edbb6=_0x101e52:_0x3404eb||(_0x3404eb=!0x0),_0xe70fa6=!0x1;}else{if(_0x16b01c){if(_0x24617e[_0x5d41b9]===0x1)_0x1edbb6===-0x1&&(_0x1edbb6=_0x101e52);else{if(_0x5d41b9===0x22&&_0x1edbb6!==-0x1)_0x16b01c=!0x1,_0x8767c0=_0x101e52;else{if(_0x5d41b9===0x5c)_0xe70fa6=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x101e52);}}}else{if(_0x5d41b9===0x22&&_0x2477ee[_0x1e1dcf(0x370)](_0x101e52-0x1)===0x3d)_0x16b01c=!0x0;else{if(_0x8767c0===-0x1&&_0x24617e[_0x5d41b9]===0x1)_0x1edbb6===-0x1&&(_0x1edbb6=_0x101e52);else{if(_0x1edbb6!==-0x1&&(_0x5d41b9===0x20||_0x5d41b9===0x9))_0x8767c0===-0x1&&(_0x8767c0=_0x101e52);else{if(_0x5d41b9===0x3b||_0x5d41b9===0x2c){if(_0x1edbb6===-0x1)throw new SyntaxError(_0x1e1dcf(0x240)+_0x101e52);_0x8767c0===-0x1&&(_0x8767c0=_0x101e52);let _0x5a6c42=_0x2477ee[_0x1e1dcf(0x2f5)](_0x1edbb6,_0x8767c0);_0x3404eb&&(_0x5a6c42=_0x5a6c42['replace'](/\\/g,''),_0x3404eb=!0x1),_0x29cd35(_0x5202ea,_0x59260d,_0x5a6c42),_0x5d41b9===0x2c&&(_0x29cd35(_0x20c3a6,_0xca647f,_0x5202ea),_0x5202ea=Object[_0x1e1dcf(0x234)](null),_0xca647f=void 0x0),_0x59260d=void 0x0,_0x1edbb6=_0x8767c0=-0x1;}else throw new SyntaxError(_0x1e1dcf(0x240)+_0x101e52);}}}}}}}if(_0x1edbb6===-0x1||_0x16b01c||_0x5d41b9===0x20||_0x5d41b9===0x9)throw new SyntaxError(_0x1e1dcf(0x251));_0x8767c0===-0x1&&(_0x8767c0=_0x101e52);const _0x529bd4=_0x2477ee[_0x1e1dcf(0x2f5)](_0x1edbb6,_0x8767c0);return _0xca647f===void 0x0?_0x29cd35(_0x20c3a6,_0x529bd4,_0x5202ea):(_0x59260d===void 0x0?_0x29cd35(_0x5202ea,_0x529bd4,!0x0):_0x3404eb?_0x29cd35(_0x5202ea,_0x59260d,_0x529bd4['replace'](/\\/g,'')):_0x29cd35(_0x5202ea,_0x59260d,_0x529bd4),_0x29cd35(_0x20c3a6,_0xca647f,_0x5202ea)),_0x20c3a6;}function _0x22a5bd(_0x5a83e5){const _0x670819=_0x2311;return Object[_0x670819(0x2d4)](_0x5a83e5)[_0x670819(0x2d7)](_0x9594d8=>{const _0x2fc61a=_0x670819;let _0x5f1645=_0x5a83e5[_0x9594d8];return Array[_0x2fc61a(0x344)](_0x5f1645)||(_0x5f1645=[_0x5f1645]),_0x5f1645[_0x2fc61a(0x2d7)](_0x564768=>[_0x9594d8][_0x2fc61a(0x36d)](Object[_0x2fc61a(0x2d4)](_0x564768)['map'](_0x28abf5=>{const _0x1861ff=_0x2fc61a;let _0x5e2a12=_0x564768[_0x28abf5];return Array[_0x1861ff(0x344)](_0x5e2a12)||(_0x5e2a12=[_0x5e2a12]),_0x5e2a12[_0x1861ff(0x2d7)](_0x44506b=>_0x44506b===!0x0?_0x28abf5:_0x28abf5+'='+_0x44506b)['join'](';\x20');}))[_0x2fc61a(0x313)](';\x20'))[_0x2fc61a(0x313)](',\x20');})[_0x670819(0x313)](',\x20');}return be={'format':_0x22a5bd,'parse':_0x512ca7},be;}var we,Je;function Pe(){const _0x18db78=_0x55fc25;if(Je)return we;Je=0x1;const _0x4d458b=nt,_0x3f69a5=vt,_0x2bac90=ot,_0x4df21b=St,_0x104ad8=Et,{randomBytes:_0x291a12,createHash:_0x3095e2}=Le,{Duplex:_0x86a542,Readable:_0x545908}=oe,{URL:_0x48f472}=xt,_0x8ae134=he(),_0x441e7b=lt(),_0x15e59b=ft(),{isBlob:_0x531c45}=ae(),{BINARY_TYPES:_0x2a617b,EMPTY_BUFFER:_0x2e182,GUID:_0x5e4a13,kForOnEventAttribute:_0x1669e6,kListener:_0x3ec63a,kStatusCode:_0x2665bb,kWebSocket:_0x208dd9,NOOP:_0x1e0eca}=H(),{EventTarget:{addEventListener:_0x547854,removeEventListener:_0x499774}}=It(),{format:_0x4e9b86,parse:_0x469d5d}=ct(),{toBuffer:_0x4b799a}=ce(),_0x26f8f7=0x1e*0x3e8,_0x4d755c=Symbol('kAborted'),_0x3e7e41=[0x8,0xd],_0x3efdfd=['CONNECTING',_0x18db78(0x34e),_0x18db78(0x214),_0x18db78(0x360)],_0x22a41c=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1d7c39 extends _0x4d458b{constructor(_0x34321b,_0x4dcfae,_0x30b143){const _0x18089d=_0x18db78;super(),this[_0x18089d(0x23e)]=_0x2a617b[0x0],this[_0x18089d(0x30b)]=0x3ee,this[_0x18089d(0x268)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x18089d(0x1d8)]=_0x2e182,this[_0x18089d(0x1df)]=null,this['_errorEmitted']=!0x1,this[_0x18089d(0x297)]={},this['_paused']=!0x1,this[_0x18089d(0x25a)]='',this[_0x18089d(0x285)]=_0x1d7c39['CONNECTING'],this[_0x18089d(0x1e2)]=null,this[_0x18089d(0x2cc)]=null,this['_socket']=null,_0x34321b!==null?(this['_bufferedAmount']=0x0,this[_0x18089d(0x24b)]=!0x1,this[_0x18089d(0x34b)]=0x0,_0x4dcfae===void 0x0?_0x4dcfae=[]:Array['isArray'](_0x4dcfae)||(typeof _0x4dcfae==_0x18089d(0x2e0)&&_0x4dcfae!==null?(_0x30b143=_0x4dcfae,_0x4dcfae=[]):_0x4dcfae=[_0x4dcfae]),_0xc776ef(this,_0x34321b,_0x4dcfae,_0x30b143)):(this[_0x18089d(0x33a)]=_0x30b143[_0x18089d(0x382)],this[_0x18089d(0x24b)]=!0x0);}get[_0x18db78(0x23d)](){const _0xd57f94=_0x18db78;return this[_0xd57f94(0x23e)];}set['binaryType'](_0x3c9a97){const _0x2314ec=_0x18db78;_0x2a617b[_0x2314ec(0x21b)](_0x3c9a97)&&(this['_binaryType']=_0x3c9a97,this['_receiver']&&(this[_0x2314ec(0x1e2)][_0x2314ec(0x23e)]=_0x3c9a97));}get['bufferedAmount'](){const _0x4259c2=_0x18db78;return this['_socket']?this[_0x4259c2(0x2bc)][_0x4259c2(0x2b1)][_0x4259c2(0x2da)]+this['_sender']['_bufferedBytes']:this[_0x4259c2(0x202)];}get[_0x18db78(0x256)](){const _0x1afa19=_0x18db78;return Object['keys'](this[_0x1afa19(0x297)])[_0x1afa19(0x313)]();}get[_0x18db78(0x25b)](){const _0x3bea50=_0x18db78;return this[_0x3bea50(0x267)];}get[_0x18db78(0x1c7)](){return null;}get[_0x18db78(0x2c5)](){return null;}get['onopen'](){return null;}get[_0x18db78(0x2cf)](){return null;}get[_0x18db78(0x365)](){const _0x1dbbb9=_0x18db78;return this[_0x1dbbb9(0x25a)];}get['readyState'](){const _0xe6d7f3=_0x18db78;return this[_0xe6d7f3(0x285)];}get['url'](){const _0x5871ce=_0x18db78;return this[_0x5871ce(0x351)];}[_0x18db78(0x36c)](_0x4b5336,_0x4a43a5,_0x3e643e){const _0x2287b8=_0x18db78,_0x3c50c5=new _0x441e7b({'allowSynchronousEvents':_0x3e643e[_0x2287b8(0x231)],'binaryType':this[_0x2287b8(0x23d)],'extensions':this[_0x2287b8(0x297)],'isServer':this[_0x2287b8(0x24b)],'maxPayload':_0x3e643e[_0x2287b8(0x304)],'skipUTF8Validation':_0x3e643e[_0x2287b8(0x332)]}),_0x35f4af=new _0x15e59b(_0x4b5336,this['_extensions'],_0x3e643e[_0x2287b8(0x1f5)]);this[_0x2287b8(0x1e2)]=_0x3c50c5,this[_0x2287b8(0x2cc)]=_0x35f4af,this[_0x2287b8(0x2bc)]=_0x4b5336,_0x3c50c5[_0x208dd9]=this,_0x35f4af[_0x208dd9]=this,_0x4b5336[_0x208dd9]=this,_0x3c50c5['on']('conclude',_0x1a1d86),_0x3c50c5['on'](_0x2287b8(0x2ee),_0x270402),_0x3c50c5['on'](_0x2287b8(0x1d9),_0x45b292),_0x3c50c5['on'](_0x2287b8(0x1f2),_0x15cbb8),_0x3c50c5['on'](_0x2287b8(0x24e),_0x196f48),_0x3c50c5['on'](_0x2287b8(0x279),_0x590f14),_0x35f4af[_0x2287b8(0x2c5)]=_0xc1fba9,_0x4b5336[_0x2287b8(0x218)]&&_0x4b5336[_0x2287b8(0x218)](0x0),_0x4b5336['setNoDelay']&&_0x4b5336[_0x2287b8(0x237)](),_0x4a43a5['length']>0x0&&_0x4b5336[_0x2287b8(0x32a)](_0x4a43a5),_0x4b5336['on']('close',_0x2ed12f),_0x4b5336['on'](_0x2287b8(0x212),_0x356345),_0x4b5336['on']('end',_0x5e5d53),_0x4b5336['on'](_0x2287b8(0x1d9),_0x2358ff),this[_0x2287b8(0x285)]=_0x1d7c39['OPEN'],this[_0x2287b8(0x20c)](_0x2287b8(0x2a5));}[_0x18db78(0x27d)](){const _0x30422e=_0x18db78;if(!this[_0x30422e(0x2bc)]){this[_0x30422e(0x285)]=_0x1d7c39[_0x30422e(0x360)],this['emit']('close',this[_0x30422e(0x30b)],this[_0x30422e(0x1d8)]);return;}this[_0x30422e(0x297)][_0x8ae134[_0x30422e(0x24c)]]&&this[_0x30422e(0x297)][_0x8ae134['extensionName']][_0x30422e(0x20b)](),this[_0x30422e(0x1e2)][_0x30422e(0x348)](),this['_readyState']=_0x1d7c39[_0x30422e(0x360)],this['emit'](_0x30422e(0x29b),this[_0x30422e(0x30b)],this[_0x30422e(0x1d8)]);}['close'](_0x188510,_0x53f498){const _0x5d411b=_0x18db78;if(this['readyState']!==_0x1d7c39[_0x5d411b(0x360)]){if(this['readyState']===_0x1d7c39[_0x5d411b(0x269)]){_0x335a87(this,this[_0x5d411b(0x34a)],_0x5d411b(0x29e));return;}if(this['readyState']===_0x1d7c39[_0x5d411b(0x214)]){this[_0x5d411b(0x28e)]&&(this['_closeFrameReceived']||this[_0x5d411b(0x1e2)][_0x5d411b(0x2b1)][_0x5d411b(0x33e)])&&this[_0x5d411b(0x2bc)][_0x5d411b(0x364)]();return;}this[_0x5d411b(0x285)]=_0x1d7c39[_0x5d411b(0x214)],this[_0x5d411b(0x2cc)][_0x5d411b(0x29b)](_0x188510,_0x53f498,!this[_0x5d411b(0x24b)],_0x102f7f=>{const _0x34ae4e=_0x5d411b;_0x102f7f||(this[_0x34ae4e(0x28e)]=!0x0,(this[_0x34ae4e(0x268)]||this[_0x34ae4e(0x1e2)][_0x34ae4e(0x2b1)][_0x34ae4e(0x33e)])&&this[_0x34ae4e(0x2bc)][_0x34ae4e(0x364)]());}),_0x1f72c4(this);}}[_0x18db78(0x331)](){const _0x1e2064=_0x18db78;this[_0x1e2064(0x312)]===_0x1d7c39[_0x1e2064(0x269)]||this['readyState']===_0x1d7c39['CLOSED']||(this[_0x1e2064(0x267)]=!0x0,this[_0x1e2064(0x2bc)][_0x1e2064(0x331)]());}['ping'](_0x1e4c86,_0x3a4f52,_0x222b59){const _0x4ed8a7=_0x18db78;if(this['readyState']===_0x1d7c39[_0x4ed8a7(0x269)])throw new Error(_0x4ed8a7(0x2fc));if(typeof _0x1e4c86=='function'?(_0x222b59=_0x1e4c86,_0x1e4c86=_0x3a4f52=void 0x0):typeof _0x3a4f52==_0x4ed8a7(0x29d)&&(_0x222b59=_0x3a4f52,_0x3a4f52=void 0x0),typeof _0x1e4c86==_0x4ed8a7(0x37f)&&(_0x1e4c86=_0x1e4c86[_0x4ed8a7(0x1d7)]()),this[_0x4ed8a7(0x312)]!==_0x1d7c39[_0x4ed8a7(0x34e)]){_0x5a589f(this,_0x1e4c86,_0x222b59);return;}_0x3a4f52===void 0x0&&(_0x3a4f52=!this[_0x4ed8a7(0x24b)]),this['_sender'][_0x4ed8a7(0x24e)](_0x1e4c86||_0x2e182,_0x3a4f52,_0x222b59);}[_0x18db78(0x279)](_0x511bab,_0x2f2ccf,_0x211626){const _0x1daae0=_0x18db78;if(this[_0x1daae0(0x312)]===_0x1d7c39[_0x1daae0(0x269)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x511bab=='function'?(_0x211626=_0x511bab,_0x511bab=_0x2f2ccf=void 0x0):typeof _0x2f2ccf==_0x1daae0(0x29d)&&(_0x211626=_0x2f2ccf,_0x2f2ccf=void 0x0),typeof _0x511bab=='number'&&(_0x511bab=_0x511bab[_0x1daae0(0x1d7)]()),this[_0x1daae0(0x312)]!==_0x1d7c39[_0x1daae0(0x34e)]){_0x5a589f(this,_0x511bab,_0x211626);return;}_0x2f2ccf===void 0x0&&(_0x2f2ccf=!this['_isServer']),this['_sender'][_0x1daae0(0x279)](_0x511bab||_0x2e182,_0x2f2ccf,_0x211626);}[_0x18db78(0x2a1)](){const _0x34b62a=_0x18db78;this[_0x34b62a(0x312)]===_0x1d7c39[_0x34b62a(0x269)]||this[_0x34b62a(0x312)]===_0x1d7c39['CLOSED']||(this[_0x34b62a(0x267)]=!0x1,this[_0x34b62a(0x1e2)]['_writableState']['needDrain']||this[_0x34b62a(0x2bc)]['resume']());}[_0x18db78(0x1db)](_0x279877,_0x24082d,_0x5f4654){const _0x5bdd07=_0x18db78;if(this[_0x5bdd07(0x312)]===_0x1d7c39[_0x5bdd07(0x269)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x24082d=='function'&&(_0x5f4654=_0x24082d,_0x24082d={}),typeof _0x279877==_0x5bdd07(0x37f)&&(_0x279877=_0x279877[_0x5bdd07(0x1d7)]()),this[_0x5bdd07(0x312)]!==_0x1d7c39['OPEN']){_0x5a589f(this,_0x279877,_0x5f4654);return;}const _0x309ce8={'binary':typeof _0x279877!=_0x5bdd07(0x301),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x24082d};this[_0x5bdd07(0x297)][_0x8ae134['extensionName']]||(_0x309ce8[_0x5bdd07(0x26a)]=!0x1),this['_sender'][_0x5bdd07(0x1db)](_0x279877||_0x2e182,_0x309ce8,_0x5f4654);}[_0x18db78(0x2ed)](){const _0x376450=_0x18db78;if(this[_0x376450(0x312)]!==_0x1d7c39[_0x376450(0x360)]){if(this[_0x376450(0x312)]===_0x1d7c39[_0x376450(0x269)]){_0x335a87(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this['_socket']&&(this[_0x376450(0x285)]=_0x1d7c39[_0x376450(0x214)],this[_0x376450(0x2bc)][_0x376450(0x355)]());}}}Object['defineProperty'](_0x1d7c39,_0x18db78(0x269),{'enumerable':!0x0,'value':_0x3efdfd[_0x18db78(0x2d1)](_0x18db78(0x269))}),Object[_0x18db78(0x2c6)](_0x1d7c39[_0x18db78(0x317)],_0x18db78(0x269),{'enumerable':!0x0,'value':_0x3efdfd[_0x18db78(0x2d1)](_0x18db78(0x269))}),Object['defineProperty'](_0x1d7c39,_0x18db78(0x34e),{'enumerable':!0x0,'value':_0x3efdfd['indexOf'](_0x18db78(0x34e))}),Object[_0x18db78(0x2c6)](_0x1d7c39[_0x18db78(0x317)],_0x18db78(0x34e),{'enumerable':!0x0,'value':_0x3efdfd[_0x18db78(0x2d1)](_0x18db78(0x34e))}),Object[_0x18db78(0x2c6)](_0x1d7c39,'CLOSING',{'enumerable':!0x0,'value':_0x3efdfd[_0x18db78(0x2d1)](_0x18db78(0x214))}),Object[_0x18db78(0x2c6)](_0x1d7c39[_0x18db78(0x317)],_0x18db78(0x214),{'enumerable':!0x0,'value':_0x3efdfd[_0x18db78(0x2d1)](_0x18db78(0x214))}),Object[_0x18db78(0x2c6)](_0x1d7c39,_0x18db78(0x360),{'enumerable':!0x0,'value':_0x3efdfd['indexOf'](_0x18db78(0x360))}),Object['defineProperty'](_0x1d7c39['prototype'],'CLOSED',{'enumerable':!0x0,'value':_0x3efdfd[_0x18db78(0x2d1)](_0x18db78(0x360))}),[_0x18db78(0x23d),_0x18db78(0x2fe),_0x18db78(0x256),_0x18db78(0x25b),'protocol',_0x18db78(0x312),'url'][_0x18db78(0x29f)](_0x4e1e78=>{const _0x59609b=_0x18db78;Object[_0x59609b(0x2c6)](_0x1d7c39[_0x59609b(0x317)],_0x4e1e78,{'enumerable':!0x0});}),[_0x18db78(0x2a5),_0x18db78(0x1d9),_0x18db78(0x29b),'message']['forEach'](_0x2d4f4c=>{const _0x26b509=_0x18db78;Object[_0x26b509(0x2c6)](_0x1d7c39[_0x26b509(0x317)],'on'+_0x2d4f4c,{'enumerable':!0x0,'get'(){const _0x1f72cf=_0x26b509;for(const _0x1cf73a of this[_0x1f72cf(0x250)](_0x2d4f4c))if(_0x1cf73a[_0x1669e6])return _0x1cf73a[_0x3ec63a];return null;},'set'(_0x39c234){const _0x3db8ea=_0x26b509;for(const _0x5dd6af of this['listeners'](_0x2d4f4c))if(_0x5dd6af[_0x1669e6]){this[_0x3db8ea(0x22d)](_0x2d4f4c,_0x5dd6af);break;}typeof _0x39c234==_0x3db8ea(0x29d)&&this[_0x3db8ea(0x350)](_0x2d4f4c,_0x39c234,{[_0x1669e6]:!0x0});}});}),_0x1d7c39['prototype'][_0x18db78(0x350)]=_0x547854,_0x1d7c39['prototype'][_0x18db78(0x309)]=_0x499774,we=_0x1d7c39;function _0xc776ef(_0x283b89,_0x2ded94,_0x2c2f10,_0x3e254c){const _0x110cdf=_0x18db78,_0x542152={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3e7e41[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3e254c,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x110cdf(0x1e9),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x283b89[_0x110cdf(0x33a)]=_0x542152[_0x110cdf(0x382)],!_0x3e7e41[_0x110cdf(0x21b)](_0x542152[_0x110cdf(0x2c0)]))throw new RangeError(_0x110cdf(0x249)+_0x542152['protocolVersion']+_0x110cdf(0x369)+_0x3e7e41[_0x110cdf(0x313)](',\x20')+')');let _0x16a589;if(_0x2ded94 instanceof _0x48f472)_0x16a589=_0x2ded94;else try{_0x16a589=new _0x48f472(_0x2ded94);}catch{throw new SyntaxError(_0x110cdf(0x35a)+_0x2ded94);}_0x16a589[_0x110cdf(0x365)]==='http:'?_0x16a589[_0x110cdf(0x365)]=_0x110cdf(0x244):_0x16a589[_0x110cdf(0x365)]===_0x110cdf(0x2ad)&&(_0x16a589[_0x110cdf(0x365)]=_0x110cdf(0x230)),_0x283b89[_0x110cdf(0x351)]=_0x16a589['href'];const _0x2c401f=_0x16a589[_0x110cdf(0x365)]===_0x110cdf(0x230),_0xdcf8a2=_0x16a589[_0x110cdf(0x365)]===_0x110cdf(0x1ee);let _0x4fac42;if(_0x16a589[_0x110cdf(0x365)]!==_0x110cdf(0x244)&&!_0x2c401f&&!_0xdcf8a2?_0x4fac42=_0x110cdf(0x306):_0xdcf8a2&&!_0x16a589[_0x110cdf(0x2f0)]?_0x4fac42='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x16a589['hash']&&(_0x4fac42=_0x110cdf(0x2d8)),_0x4fac42){const _0x11409b=new SyntaxError(_0x4fac42);if(_0x283b89['_redirects']===0x0)throw _0x11409b;_0x4a348b(_0x283b89,_0x11409b);return;}const _0x57117c=_0x2c401f?0x1bb:0x50,_0x11f28e=_0x291a12(0x10)['toString'](_0x110cdf(0x217)),_0x3033ed=_0x2c401f?_0x3f69a5[_0x110cdf(0x2b9)]:_0x2bac90[_0x110cdf(0x2b9)],_0x175445=new Set();let _0x49f929;if(_0x542152[_0x110cdf(0x302)]=_0x542152['createConnection']||(_0x2c401f?_0x59b3ab:_0x51c51b),_0x542152[_0x110cdf(0x345)]=_0x542152['defaultPort']||_0x57117c,_0x542152[_0x110cdf(0x1de)]=_0x16a589[_0x110cdf(0x1de)]||_0x57117c,_0x542152[_0x110cdf(0x21d)]=_0x16a589[_0x110cdf(0x2d3)][_0x110cdf(0x30c)]('[')?_0x16a589[_0x110cdf(0x2d3)][_0x110cdf(0x2f5)](0x1,-0x1):_0x16a589['hostname'],_0x542152[_0x110cdf(0x28f)]={..._0x542152[_0x110cdf(0x28f)],'Sec-WebSocket-Version':_0x542152[_0x110cdf(0x2c0)],'Sec-WebSocket-Key':_0x11f28e,'Connection':_0x110cdf(0x2f4),'Upgrade':_0x110cdf(0x201)},_0x542152[_0x110cdf(0x2b2)]=_0x16a589[_0x110cdf(0x2f0)]+_0x16a589[_0x110cdf(0x356)],_0x542152['timeout']=_0x542152[_0x110cdf(0x368)],_0x542152['perMessageDeflate']&&(_0x49f929=new _0x8ae134(_0x542152[_0x110cdf(0x314)]!==!0x0?_0x542152[_0x110cdf(0x314)]:{},!0x1,_0x542152[_0x110cdf(0x304)]),_0x542152[_0x110cdf(0x28f)][_0x110cdf(0x227)]=_0x4e9b86({[_0x8ae134[_0x110cdf(0x24c)]]:_0x49f929['offer']()})),_0x2c2f10[_0x110cdf(0x2da)]){for(const _0x205277 of _0x2c2f10){if(typeof _0x205277!=_0x110cdf(0x301)||!_0x22a41c[_0x110cdf(0x2ae)](_0x205277)||_0x175445[_0x110cdf(0x330)](_0x205277))throw new SyntaxError(_0x110cdf(0x1ff));_0x175445[_0x110cdf(0x1e8)](_0x205277);}_0x542152[_0x110cdf(0x28f)]['Sec-WebSocket-Protocol']=_0x2c2f10['join'](',');}if(_0x542152['origin']&&(_0x542152['protocolVersion']<0xd?_0x542152[_0x110cdf(0x28f)][_0x110cdf(0x307)]=_0x542152['origin']:_0x542152['headers'][_0x110cdf(0x2ca)]=_0x542152[_0x110cdf(0x2be)]),(_0x16a589[_0x110cdf(0x2ce)]||_0x16a589['password'])&&(_0x542152[_0x110cdf(0x1f6)]=_0x16a589[_0x110cdf(0x2ce)]+':'+_0x16a589[_0x110cdf(0x27e)]),_0xdcf8a2){const _0x34393d=_0x542152[_0x110cdf(0x2b2)]['split'](':');_0x542152[_0x110cdf(0x30a)]=_0x34393d[0x0],_0x542152[_0x110cdf(0x2b2)]=_0x34393d[0x1];}let _0x442621;if(_0x542152['followRedirects']){if(_0x283b89[_0x110cdf(0x34b)]===0x0){_0x283b89[_0x110cdf(0x25f)]=_0xdcf8a2,_0x283b89[_0x110cdf(0x33f)]=_0x2c401f,_0x283b89['_originalHostOrSocketPath']=_0xdcf8a2?_0x542152[_0x110cdf(0x30a)]:_0x16a589[_0x110cdf(0x21d)];const _0x970d7=_0x3e254c&&_0x3e254c[_0x110cdf(0x28f)];if(_0x3e254c={..._0x3e254c,'headers':{}},_0x970d7){for(const [_0x1a8322,_0xcc75d4]of Object[_0x110cdf(0x26e)](_0x970d7))_0x3e254c['headers'][_0x1a8322[_0x110cdf(0x1cd)]()]=_0xcc75d4;}}else{if(_0x283b89['listenerCount']('redirect')===0x0){const _0x2af087=_0xdcf8a2?_0x283b89[_0x110cdf(0x25f)]?_0x542152[_0x110cdf(0x30a)]===_0x283b89[_0x110cdf(0x241)]:!0x1:_0x283b89[_0x110cdf(0x25f)]?!0x1:_0x16a589[_0x110cdf(0x21d)]===_0x283b89[_0x110cdf(0x241)];(!_0x2af087||_0x283b89[_0x110cdf(0x33f)]&&!_0x2c401f)&&(delete _0x542152[_0x110cdf(0x28f)]['authorization'],delete _0x542152[_0x110cdf(0x28f)][_0x110cdf(0x281)],_0x2af087||delete _0x542152[_0x110cdf(0x28f)][_0x110cdf(0x21d)],_0x542152['auth']=void 0x0);}}_0x542152[_0x110cdf(0x1f6)]&&!_0x3e254c[_0x110cdf(0x28f)][_0x110cdf(0x2bf)]&&(_0x3e254c['headers'][_0x110cdf(0x2bf)]=_0x110cdf(0x276)+Buffer[_0x110cdf(0x2b8)](_0x542152[_0x110cdf(0x1f6)])['toString'](_0x110cdf(0x217))),_0x442621=_0x283b89[_0x110cdf(0x34a)]=_0x3033ed(_0x542152),_0x283b89['_redirects']&&_0x283b89['emit'](_0x110cdf(0x322),_0x283b89[_0x110cdf(0x21e)],_0x442621);}else _0x442621=_0x283b89[_0x110cdf(0x34a)]=_0x3033ed(_0x542152);_0x542152[_0x110cdf(0x282)]&&_0x442621['on'](_0x110cdf(0x282),()=>{const _0x4b22b9=_0x110cdf;_0x335a87(_0x283b89,_0x442621,_0x4b22b9(0x35b));}),_0x442621['on'](_0x110cdf(0x1d9),_0x30a07b=>{const _0x4403dc=_0x110cdf;_0x442621===null||_0x442621[_0x4d755c]||(_0x442621=_0x283b89[_0x4403dc(0x34a)]=null,_0x4a348b(_0x283b89,_0x30a07b));}),_0x442621['on'](_0x110cdf(0x238),_0x3e71de=>{const _0x5a86ee=_0x110cdf,_0x6f73dc=_0x3e71de[_0x5a86ee(0x28f)][_0x5a86ee(0x28c)],_0x56e7a=_0x3e71de['statusCode'];if(_0x6f73dc&&_0x542152[_0x5a86ee(0x2c1)]&&_0x56e7a>=0x12c&&_0x56e7a<0x190){if(++_0x283b89[_0x5a86ee(0x34b)]>_0x542152[_0x5a86ee(0x2e5)]){_0x335a87(_0x283b89,_0x442621,_0x5a86ee(0x384));return;}_0x442621[_0x5a86ee(0x367)]();let _0x3d910b;try{_0x3d910b=new _0x48f472(_0x6f73dc,_0x2ded94);}catch{const _0x1fb4c6=new SyntaxError(_0x5a86ee(0x35a)+_0x6f73dc);_0x4a348b(_0x283b89,_0x1fb4c6);return;}_0xc776ef(_0x283b89,_0x3d910b,_0x2c2f10,_0x3e254c);}else _0x283b89[_0x5a86ee(0x20c)](_0x5a86ee(0x2db),_0x442621,_0x3e71de)||_0x335a87(_0x283b89,_0x442621,_0x5a86ee(0x33c)+_0x3e71de[_0x5a86ee(0x1c6)]);}),_0x442621['on'](_0x110cdf(0x37b),(_0xc9f215,_0x44e16a,_0x1cd7e6)=>{const _0x8a71f7=_0x110cdf;if(_0x283b89[_0x8a71f7(0x20c)](_0x8a71f7(0x37b),_0xc9f215),_0x283b89['readyState']!==_0x1d7c39[_0x8a71f7(0x269)])return;_0x442621=_0x283b89[_0x8a71f7(0x34a)]=null;const _0x5692d0=_0xc9f215[_0x8a71f7(0x28f)][_0x8a71f7(0x37b)];if(_0x5692d0===void 0x0||_0x5692d0['toLowerCase']()!==_0x8a71f7(0x201)){_0x335a87(_0x283b89,_0x44e16a,_0x8a71f7(0x358));return;}const _0x4e19f7=_0x3095e2(_0x8a71f7(0x1ec))[_0x8a71f7(0x33b)](_0x11f28e+_0x5e4a13)[_0x8a71f7(0x2bb)](_0x8a71f7(0x217));if(_0xc9f215[_0x8a71f7(0x28f)][_0x8a71f7(0x2ef)]!==_0x4e19f7){_0x335a87(_0x283b89,_0x44e16a,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x21a010=_0xc9f215['headers'][_0x8a71f7(0x35e)];let _0x40965c;if(_0x21a010!==void 0x0?_0x175445[_0x8a71f7(0x215)]?_0x175445[_0x8a71f7(0x330)](_0x21a010)||(_0x40965c='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x40965c=_0x8a71f7(0x32b):_0x175445[_0x8a71f7(0x215)]&&(_0x40965c=_0x8a71f7(0x298)),_0x40965c){_0x335a87(_0x283b89,_0x44e16a,_0x40965c);return;}_0x21a010&&(_0x283b89[_0x8a71f7(0x25a)]=_0x21a010);const _0x5b30c9=_0xc9f215['headers'][_0x8a71f7(0x263)];if(_0x5b30c9!==void 0x0){if(!_0x49f929){_0x335a87(_0x283b89,_0x44e16a,_0x8a71f7(0x24d));return;}let _0x8f74c4;try{_0x8f74c4=_0x469d5d(_0x5b30c9);}catch{_0x335a87(_0x283b89,_0x44e16a,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x328a4c=Object['keys'](_0x8f74c4);if(_0x328a4c[_0x8a71f7(0x2da)]!==0x1||_0x328a4c[0x0]!==_0x8ae134['extensionName']){_0x335a87(_0x283b89,_0x44e16a,_0x8a71f7(0x36b));return;}try{_0x49f929['accept'](_0x8f74c4[_0x8ae134['extensionName']]);}catch{_0x335a87(_0x283b89,_0x44e16a,_0x8a71f7(0x22b));return;}_0x283b89[_0x8a71f7(0x297)][_0x8ae134['extensionName']]=_0x49f929;}_0x283b89[_0x8a71f7(0x36c)](_0x44e16a,_0x1cd7e6,{'allowSynchronousEvents':_0x542152[_0x8a71f7(0x231)],'generateMask':_0x542152[_0x8a71f7(0x1f5)],'maxPayload':_0x542152[_0x8a71f7(0x304)],'skipUTF8Validation':_0x542152['skipUTF8Validation']});}),_0x542152['finishRequest']?_0x542152['finishRequest'](_0x442621,_0x283b89):_0x442621[_0x110cdf(0x364)]();}function _0x4a348b(_0x423ace,_0x25272b){const _0x56060d=_0x18db78;_0x423ace[_0x56060d(0x285)]=_0x1d7c39['CLOSING'],_0x423ace['_errorEmitted']=!0x0,_0x423ace['emit']('error',_0x25272b),_0x423ace[_0x56060d(0x27d)]();}function _0x51c51b(_0x57992e){const _0x1e2f8a=_0x18db78;return _0x57992e[_0x1e2f8a(0x2b2)]=_0x57992e['socketPath'],_0x4df21b[_0x1e2f8a(0x1c8)](_0x57992e);}function _0x59b3ab(_0x1336a7){const _0x7a3377=_0x18db78;return _0x1336a7['path']=void 0x0,!_0x1336a7[_0x7a3377(0x258)]&&_0x1336a7[_0x7a3377(0x258)]!==''&&(_0x1336a7['servername']=_0x4df21b[_0x7a3377(0x29c)](_0x1336a7[_0x7a3377(0x21d)])?'':_0x1336a7[_0x7a3377(0x21d)]),_0x104ad8[_0x7a3377(0x1c8)](_0x1336a7);}function _0x335a87(_0x57ee93,_0x8e291b,_0x1f2c7c){const _0x4dd637=_0x18db78;_0x57ee93[_0x4dd637(0x285)]=_0x1d7c39[_0x4dd637(0x214)];const _0x50342e=new Error(_0x1f2c7c);Error[_0x4dd637(0x36a)](_0x50342e,_0x335a87),_0x8e291b['setHeader']?(_0x8e291b[_0x4d755c]=!0x0,_0x8e291b[_0x4dd637(0x367)](),_0x8e291b[_0x4dd637(0x2a7)]&&!_0x8e291b[_0x4dd637(0x2a7)][_0x4dd637(0x20f)]&&_0x8e291b['socket']['destroy'](),process['nextTick'](_0x4a348b,_0x57ee93,_0x50342e)):(_0x8e291b['destroy'](_0x50342e),_0x8e291b['once'](_0x4dd637(0x1d9),_0x57ee93[_0x4dd637(0x20c)][_0x4dd637(0x2d0)](_0x57ee93,_0x4dd637(0x1d9))),_0x8e291b['once'](_0x4dd637(0x29b),_0x57ee93[_0x4dd637(0x27d)][_0x4dd637(0x2d0)](_0x57ee93)));}function _0x5a589f(_0x548232,_0x300ebd,_0x1c8b36){const _0x3d7167=_0x18db78;if(_0x300ebd){const _0x5781c0=_0x531c45(_0x300ebd)?_0x300ebd[_0x3d7167(0x215)]:_0x4b799a(_0x300ebd)['length'];_0x548232[_0x3d7167(0x2bc)]?_0x548232['_sender']['_bufferedBytes']+=_0x5781c0:_0x548232[_0x3d7167(0x202)]+=_0x5781c0;}if(_0x1c8b36){const _0xef1e1=new Error(_0x3d7167(0x26c)+_0x548232[_0x3d7167(0x312)]+'\x20('+_0x3efdfd[_0x548232[_0x3d7167(0x312)]]+')');process[_0x3d7167(0x25c)](_0x1c8b36,_0xef1e1);}}function _0x1a1d86(_0x16fd80,_0x417bf7){const _0x1f3afd=_0x18db78,_0x3ff0ca=this[_0x208dd9];_0x3ff0ca[_0x1f3afd(0x268)]=!0x0,_0x3ff0ca[_0x1f3afd(0x1d8)]=_0x417bf7,_0x3ff0ca[_0x1f3afd(0x30b)]=_0x16fd80,_0x3ff0ca[_0x1f3afd(0x2bc)][_0x208dd9]!==void 0x0&&(_0x3ff0ca[_0x1f3afd(0x2bc)]['removeListener'](_0x1f3afd(0x212),_0x356345),process[_0x1f3afd(0x25c)](_0x23468b,_0x3ff0ca[_0x1f3afd(0x2bc)]),_0x16fd80===0x3ed?_0x3ff0ca[_0x1f3afd(0x29b)]():_0x3ff0ca[_0x1f3afd(0x29b)](_0x16fd80,_0x417bf7));}function _0x270402(){const _0x44d773=_0x18db78,_0x40c2f7=this[_0x208dd9];_0x40c2f7['isPaused']||_0x40c2f7[_0x44d773(0x2bc)][_0x44d773(0x2a1)]();}function _0x45b292(_0x26da54){const _0x60a7aa=_0x18db78,_0x5bc43e=this[_0x208dd9];_0x5bc43e[_0x60a7aa(0x2bc)][_0x208dd9]!==void 0x0&&(_0x5bc43e[_0x60a7aa(0x2bc)][_0x60a7aa(0x22d)]('data',_0x356345),process[_0x60a7aa(0x25c)](_0x23468b,_0x5bc43e[_0x60a7aa(0x2bc)]),_0x5bc43e[_0x60a7aa(0x29b)](_0x26da54[_0x2665bb])),_0x5bc43e[_0x60a7aa(0x347)]||(_0x5bc43e[_0x60a7aa(0x347)]=!0x0,_0x5bc43e[_0x60a7aa(0x20c)](_0x60a7aa(0x1d9),_0x26da54));}function _0x1d41f3(){this[_0x208dd9]['emitClose']();}function _0x15cbb8(_0x27d089,_0x5d2206){const _0x27c87d=_0x18db78;this[_0x208dd9][_0x27c87d(0x20c)]('message',_0x27d089,_0x5d2206);}function _0x196f48(_0x24de0b){const _0x115b80=_0x18db78,_0x20763e=this[_0x208dd9];_0x20763e[_0x115b80(0x33a)]&&_0x20763e[_0x115b80(0x279)](_0x24de0b,!this[_0x115b80(0x24b)],_0x1e0eca),_0x20763e[_0x115b80(0x20c)](_0x115b80(0x24e),_0x24de0b);}function _0x590f14(_0x237b1d){this[_0x208dd9]['emit']('pong',_0x237b1d);}function _0x23468b(_0x2672a3){_0x2672a3['resume']();}function _0xc1fba9(_0x5caec8){const _0x17c975=_0x18db78,_0xd2a791=this[_0x208dd9];_0xd2a791[_0x17c975(0x312)]!==_0x1d7c39[_0x17c975(0x360)]&&(_0xd2a791['readyState']===_0x1d7c39[_0x17c975(0x34e)]&&(_0xd2a791['_readyState']=_0x1d7c39['CLOSING'],_0x1f72c4(_0xd2a791)),this[_0x17c975(0x2bc)][_0x17c975(0x364)](),_0xd2a791['_errorEmitted']||(_0xd2a791['_errorEmitted']=!0x0,_0xd2a791[_0x17c975(0x20c)](_0x17c975(0x1d9),_0x5caec8)));}function _0x1f72c4(_0x7e316e){const _0x27d0b6=_0x18db78;_0x7e316e[_0x27d0b6(0x1df)]=setTimeout(_0x7e316e[_0x27d0b6(0x2bc)][_0x27d0b6(0x355)][_0x27d0b6(0x2d0)](_0x7e316e[_0x27d0b6(0x2bc)]),_0x26f8f7);}function _0x2ed12f(){const _0x256db4=_0x18db78,_0x547e09=this[_0x208dd9];this[_0x256db4(0x22d)](_0x256db4(0x29b),_0x2ed12f),this['removeListener'](_0x256db4(0x212),_0x356345),this[_0x256db4(0x22d)](_0x256db4(0x364),_0x5e5d53),_0x547e09[_0x256db4(0x285)]=_0x1d7c39['CLOSING'];let _0x498634;!this['_readableState']['endEmitted']&&!_0x547e09[_0x256db4(0x268)]&&!_0x547e09[_0x256db4(0x1e2)][_0x256db4(0x2b1)]['errorEmitted']&&(_0x498634=_0x547e09[_0x256db4(0x2bc)][_0x256db4(0x2fb)]())!==null&&_0x547e09[_0x256db4(0x1e2)]['write'](_0x498634),_0x547e09[_0x256db4(0x1e2)][_0x256db4(0x364)](),this[_0x208dd9]=void 0x0,clearTimeout(_0x547e09['_closeTimer']),_0x547e09['_receiver'][_0x256db4(0x2b1)][_0x256db4(0x211)]||_0x547e09[_0x256db4(0x1e2)]['_writableState']['errorEmitted']?_0x547e09[_0x256db4(0x27d)]():(_0x547e09[_0x256db4(0x1e2)]['on']('error',_0x1d41f3),_0x547e09[_0x256db4(0x1e2)]['on']('finish',_0x1d41f3));}function _0x356345(_0x560fc4){const _0x37f628=_0x18db78;this[_0x208dd9]['_receiver']['write'](_0x560fc4)||this[_0x37f628(0x331)]();}function _0x5e5d53(){const _0x41f1fe=_0x18db78,_0x36a556=this[_0x208dd9];_0x36a556[_0x41f1fe(0x285)]=_0x1d7c39[_0x41f1fe(0x214)],_0x36a556['_receiver'][_0x41f1fe(0x364)](),this[_0x41f1fe(0x364)]();}function _0x2358ff(){const _0x3eaf54=_0x18db78,_0x2ba331=this[_0x208dd9];this['removeListener'](_0x3eaf54(0x1d9),_0x2358ff),this['on'](_0x3eaf54(0x1d9),_0x1e0eca),_0x2ba331&&(_0x2ba331[_0x3eaf54(0x285)]=_0x1d7c39[_0x3eaf54(0x214)],this[_0x3eaf54(0x355)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x15da30}=oe;function _0x2766b4(_0x2545ae){const _0x54cd24=_0x2311;_0x2545ae['emit'](_0x54cd24(0x29b));}function _0x39ac17(){const _0x40f07d=_0x2311;!this['destroyed']&&this[_0x40f07d(0x2b1)][_0x40f07d(0x211)]&&this[_0x40f07d(0x355)]();}function _0x3caacc(_0x3b95ca){const _0x127b37=_0x2311;this['removeListener']('error',_0x3caacc),this[_0x127b37(0x355)](),this[_0x127b37(0x245)](_0x127b37(0x1d9))===0x0&&this[_0x127b37(0x20c)](_0x127b37(0x1d9),_0x3b95ca);}function _0xaf9afe(_0x238c63,_0x1a01d1){const _0x1a47e3=_0x2311;let _0x194f45=!0x0;const _0x767818=new _0x15da30({..._0x1a01d1,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x238c63['on']('message',function(_0x395c74,_0x2da9f0){const _0x2239d0=_0x2311,_0x2dc42d=!_0x2da9f0&&_0x767818[_0x2239d0(0x31b)]['objectMode']?_0x395c74['toString']():_0x395c74;_0x767818[_0x2239d0(0x213)](_0x2dc42d)||_0x238c63[_0x2239d0(0x331)]();}),_0x238c63['once'](_0x1a47e3(0x1d9),function(_0x280208){const _0x5376c4=_0x1a47e3;_0x767818[_0x5376c4(0x20f)]||(_0x194f45=!0x1,_0x767818['destroy'](_0x280208));}),_0x238c63[_0x1a47e3(0x32c)](_0x1a47e3(0x29b),function(){const _0x4b9743=_0x1a47e3;_0x767818[_0x4b9743(0x20f)]||_0x767818[_0x4b9743(0x213)](null);}),_0x767818[_0x1a47e3(0x359)]=function(_0x592761,_0x19e941){const _0x139bbe=_0x1a47e3;if(_0x238c63['readyState']===_0x238c63[_0x139bbe(0x360)]){_0x19e941(_0x592761),process[_0x139bbe(0x25c)](_0x2766b4,_0x767818);return;}let _0x3b2202=!0x1;_0x238c63['once']('error',function(_0x128a48){_0x3b2202=!0x0,_0x19e941(_0x128a48);}),_0x238c63[_0x139bbe(0x32c)](_0x139bbe(0x29b),function(){const _0x23dcca=_0x139bbe;_0x3b2202||_0x19e941(_0x592761),process[_0x23dcca(0x25c)](_0x2766b4,_0x767818);}),_0x194f45&&_0x238c63[_0x139bbe(0x2ed)]();},_0x767818[_0x1a47e3(0x233)]=function(_0x5244fb){const _0x1124d1=_0x1a47e3;if(_0x238c63['readyState']===_0x238c63[_0x1124d1(0x269)]){_0x238c63[_0x1124d1(0x32c)](_0x1124d1(0x2a5),function(){const _0x204ff3=_0x1124d1;_0x767818[_0x204ff3(0x233)](_0x5244fb);});return;}_0x238c63[_0x1124d1(0x2bc)]!==null&&(_0x238c63[_0x1124d1(0x2bc)]['_writableState'][_0x1124d1(0x211)]?(_0x5244fb(),_0x767818[_0x1124d1(0x31b)]['endEmitted']&&_0x767818[_0x1124d1(0x355)]()):(_0x238c63['_socket'][_0x1124d1(0x32c)](_0x1124d1(0x374),function(){_0x5244fb();}),_0x238c63[_0x1124d1(0x29b)]()));},_0x767818[_0x1a47e3(0x340)]=function(){const _0x4a912f=_0x1a47e3;_0x238c63[_0x4a912f(0x25b)]&&_0x238c63[_0x4a912f(0x2a1)]();},_0x767818['_write']=function(_0x180dc6,_0xd92dbf,_0xfba150){const _0x26becb=_0x1a47e3;if(_0x238c63[_0x26becb(0x312)]===_0x238c63['CONNECTING']){_0x238c63[_0x26becb(0x32c)](_0x26becb(0x2a5),function(){const _0x543d54=_0x26becb;_0x767818[_0x543d54(0x1cf)](_0x180dc6,_0xd92dbf,_0xfba150);});return;}_0x238c63[_0x26becb(0x1db)](_0x180dc6,_0xfba150);},_0x767818['on'](_0x1a47e3(0x364),_0x39ac17),_0x767818['on'](_0x1a47e3(0x1d9),_0x3caacc),_0x767818;}return Oe=_0xaf9afe,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x11f54f}=ae();function _0x1fef51(_0xcbfde2){const _0x4897c4=_0x2311,_0x30bc98=new Set();let _0x56c75b=-0x1,_0x97d0c=-0x1,_0x55901b=0x0;for(_0x55901b;_0x55901b<_0xcbfde2[_0x4897c4(0x2da)];_0x55901b++){const _0x157b2e=_0xcbfde2[_0x4897c4(0x370)](_0x55901b);if(_0x97d0c===-0x1&&_0x11f54f[_0x157b2e]===0x1)_0x56c75b===-0x1&&(_0x56c75b=_0x55901b);else{if(_0x55901b!==0x0&&(_0x157b2e===0x20||_0x157b2e===0x9))_0x97d0c===-0x1&&_0x56c75b!==-0x1&&(_0x97d0c=_0x55901b);else{if(_0x157b2e===0x2c){if(_0x56c75b===-0x1)throw new SyntaxError(_0x4897c4(0x240)+_0x55901b);_0x97d0c===-0x1&&(_0x97d0c=_0x55901b);const _0x3c3d07=_0xcbfde2['slice'](_0x56c75b,_0x97d0c);if(_0x30bc98[_0x4897c4(0x330)](_0x3c3d07))throw new SyntaxError('The\x20\x22'+_0x3c3d07+'\x22\x20subprotocol\x20is\x20duplicated');_0x30bc98[_0x4897c4(0x1e8)](_0x3c3d07),_0x56c75b=_0x97d0c=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x55901b);}}}if(_0x56c75b===-0x1||_0x97d0c!==-0x1)throw new SyntaxError(_0x4897c4(0x251));const _0x52cce2=_0xcbfde2['slice'](_0x56c75b,_0x55901b);if(_0x30bc98[_0x4897c4(0x330)](_0x52cce2))throw new SyntaxError('The\x20\x22'+_0x52cce2+_0x4897c4(0x273));return _0x30bc98[_0x4897c4(0x1e8)](_0x52cce2),_0x30bc98;}return Ce={'parse':_0x1fef51},Ce;}var Te,rt;function Ft(){const _0x45b68d=_0x55fc25;if(rt)return Te;rt=0x1;const _0x15db34=nt,_0x3221bc=ot,{Duplex:_0x2627d8}=oe,{createHash:_0x4b64b2}=Le,_0x19eeca=ct(),_0x681274=he(),_0x40db46=At(),_0x22967f=Pe(),{GUID:_0x50aa61,kWebSocket:_0xa1affb}=H(),_0x5f2dcb=/^[+/0-9A-Za-z]{22}==$/,_0x4776cf=0x0,_0x3c53c5=0x1,_0xa30e7b=0x2;class _0x48aa96 extends _0x15db34{constructor(_0x39949,_0x488042){const _0x54957a=_0x2311;if(super(),_0x39949={'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':_0x22967f,..._0x39949},_0x39949['port']==null&&!_0x39949['server']&&!_0x39949[_0x54957a(0x232)]||_0x39949['port']!=null&&(_0x39949['server']||_0x39949['noServer'])||_0x39949['server']&&_0x39949[_0x54957a(0x232)])throw new TypeError(_0x54957a(0x1f0));if(_0x39949[_0x54957a(0x1de)]!=null?(this['_server']=_0x3221bc[_0x54957a(0x275)]((_0x5e2f9d,_0x5a119c)=>{const _0x21bcd9=_0x54957a,_0x408489=_0x3221bc[_0x21bcd9(0x21f)][0x1aa];_0x5a119c[_0x21bcd9(0x255)](0x1aa,{'Content-Length':_0x408489['length'],'Content-Type':'text/plain'}),_0x5a119c[_0x21bcd9(0x364)](_0x408489);}),this[_0x54957a(0x2e1)]['listen'](_0x39949[_0x54957a(0x1de)],_0x39949[_0x54957a(0x21d)],_0x39949[_0x54957a(0x27b)],_0x488042)):_0x39949[_0x54957a(0x229)]&&(this[_0x54957a(0x2e1)]=_0x39949[_0x54957a(0x229)]),this[_0x54957a(0x2e1)]){const _0x1fa34f=this[_0x54957a(0x20c)]['bind'](this,_0x54957a(0x225));this['_removeListeners']=_0x5cdc57(this[_0x54957a(0x2e1)],{'listening':this['emit'][_0x54957a(0x2d0)](this,_0x54957a(0x2e6)),'error':this['emit'][_0x54957a(0x2d0)](this,'error'),'upgrade':(_0x2dd07c,_0x2af9f9,_0xf783ee)=>{this['handleUpgrade'](_0x2dd07c,_0x2af9f9,_0xf783ee,_0x1fa34f);}});}_0x39949[_0x54957a(0x314)]===!0x0&&(_0x39949[_0x54957a(0x314)]={}),_0x39949[_0x54957a(0x257)]&&(this[_0x54957a(0x349)]=new Set(),this[_0x54957a(0x333)]=!0x1),this[_0x54957a(0x1fc)]=_0x39949,this['_state']=_0x4776cf;}[_0x45b68d(0x1d5)](){const _0x387e0c=_0x45b68d;if(this[_0x387e0c(0x1fc)][_0x387e0c(0x232)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x387e0c(0x2e1)]?this['_server'][_0x387e0c(0x1d5)]():null;}[_0x45b68d(0x29b)](_0x3d88f7){const _0x29e8fd=_0x45b68d;if(this[_0x29e8fd(0x381)]===_0xa30e7b){_0x3d88f7&&this[_0x29e8fd(0x32c)](_0x29e8fd(0x29b),()=>{_0x3d88f7(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x29e8fd(0x25c)](_0x5013a4,this);return;}if(_0x3d88f7&&this[_0x29e8fd(0x32c)](_0x29e8fd(0x29b),_0x3d88f7),this['_state']!==_0x3c53c5){if(this[_0x29e8fd(0x381)]=_0x3c53c5,this[_0x29e8fd(0x1fc)][_0x29e8fd(0x232)]||this[_0x29e8fd(0x1fc)][_0x29e8fd(0x229)])this['_server']&&(this['_removeListeners'](),this[_0x29e8fd(0x346)]=this[_0x29e8fd(0x2e1)]=null),this[_0x29e8fd(0x349)]?this[_0x29e8fd(0x349)][_0x29e8fd(0x215)]?this[_0x29e8fd(0x333)]=!0x0:process['nextTick'](_0x5013a4,this):process[_0x29e8fd(0x25c)](_0x5013a4,this);else{const _0x5bce7c=this[_0x29e8fd(0x2e1)];this[_0x29e8fd(0x346)](),this[_0x29e8fd(0x346)]=this['_server']=null,_0x5bce7c[_0x29e8fd(0x29b)](()=>{_0x5013a4(this);});}}}[_0x45b68d(0x2d6)](_0x47a622){const _0x4b8b0f=_0x45b68d;if(this[_0x4b8b0f(0x1fc)]['path']){const _0x5bc75a=_0x47a622[_0x4b8b0f(0x21e)]['indexOf']('?');if((_0x5bc75a!==-0x1?_0x47a622[_0x4b8b0f(0x21e)][_0x4b8b0f(0x2f5)](0x0,_0x5bc75a):_0x47a622[_0x4b8b0f(0x21e)])!==this[_0x4b8b0f(0x1fc)][_0x4b8b0f(0x2b2)])return!0x1;}return!0x0;}['handleUpgrade'](_0x5c50f5,_0x1d1df8,_0x38ca6c,_0x3f0ea4){const _0x5d660d=_0x45b68d;_0x1d1df8['on'](_0x5d660d(0x1d9),_0x51a276);const _0x20c4fc=_0x5c50f5[_0x5d660d(0x28f)]['sec-websocket-key'],_0x5591cb=_0x5c50f5[_0x5d660d(0x28f)]['upgrade'],_0x2084d6=+_0x5c50f5[_0x5d660d(0x28f)]['sec-websocket-version'];if(_0x5c50f5['method']!=='GET'){_0x56c956(this,_0x5c50f5,_0x1d1df8,0x195,_0x5d660d(0x1f4));return;}if(_0x5591cb===void 0x0||_0x5591cb[_0x5d660d(0x1cd)]()!=='websocket'){_0x56c956(this,_0x5c50f5,_0x1d1df8,0x190,_0x5d660d(0x358));return;}if(_0x20c4fc===void 0x0||!_0x5f2dcb[_0x5d660d(0x2ae)](_0x20c4fc)){_0x56c956(this,_0x5c50f5,_0x1d1df8,0x190,_0x5d660d(0x2cb));return;}if(_0x2084d6!==0x8&&_0x2084d6!==0xd){_0x56c956(this,_0x5c50f5,_0x1d1df8,0x190,_0x5d660d(0x338));return;}if(!this[_0x5d660d(0x2d6)](_0x5c50f5)){_0x400121(_0x1d1df8,0x190);return;}const _0xd2c419=_0x5c50f5['headers']['sec-websocket-protocol'];let _0x53ba84=new Set();if(_0xd2c419!==void 0x0)try{_0x53ba84=_0x40db46[_0x5d660d(0x208)](_0xd2c419);}catch{_0x56c956(this,_0x5c50f5,_0x1d1df8,0x190,_0x5d660d(0x32d));return;}const _0x402fe0=_0x5c50f5[_0x5d660d(0x28f)][_0x5d660d(0x263)],_0x8de583={};if(this[_0x5d660d(0x1fc)][_0x5d660d(0x314)]&&_0x402fe0!==void 0x0){const _0x1441b2=new _0x681274(this['options']['perMessageDeflate'],!0x0,this[_0x5d660d(0x1fc)][_0x5d660d(0x304)]);try{const _0x24bfe6=_0x19eeca['parse'](_0x402fe0);_0x24bfe6[_0x681274[_0x5d660d(0x24c)]]&&(_0x1441b2[_0x5d660d(0x2a6)](_0x24bfe6[_0x681274[_0x5d660d(0x24c)]]),_0x8de583[_0x681274['extensionName']]=_0x1441b2);}catch{_0x56c956(this,_0x5c50f5,_0x1d1df8,0x190,_0x5d660d(0x379));return;}}if(this['options'][_0x5d660d(0x209)]){const _0xe7eb5e={'origin':_0x5c50f5[_0x5d660d(0x28f)][''+(_0x2084d6===0x8?_0x5d660d(0x329):'origin')],'secure':!!(_0x5c50f5[_0x5d660d(0x2a7)][_0x5d660d(0x366)]||_0x5c50f5[_0x5d660d(0x2a7)]['encrypted']),'req':_0x5c50f5};if(this[_0x5d660d(0x1fc)][_0x5d660d(0x209)]['length']===0x2){this[_0x5d660d(0x1fc)][_0x5d660d(0x209)](_0xe7eb5e,(_0x5e6346,_0x26ee84,_0xa26745,_0x2d6130)=>{const _0x1c2671=_0x5d660d;if(!_0x5e6346)return _0x400121(_0x1d1df8,_0x26ee84||0x191,_0xa26745,_0x2d6130);this[_0x1c2671(0x1fa)](_0x8de583,_0x20c4fc,_0x53ba84,_0x5c50f5,_0x1d1df8,_0x38ca6c,_0x3f0ea4);});return;}if(!this[_0x5d660d(0x1fc)][_0x5d660d(0x209)](_0xe7eb5e))return _0x400121(_0x1d1df8,0x191);}this['completeUpgrade'](_0x8de583,_0x20c4fc,_0x53ba84,_0x5c50f5,_0x1d1df8,_0x38ca6c,_0x3f0ea4);}[_0x45b68d(0x1fa)](_0xd0a75d,_0x269785,_0x58af25,_0x1dce44,_0x489e74,_0x3b2ecd,_0x10d980){const _0x28b72a=_0x45b68d;if(!_0x489e74[_0x28b72a(0x2f8)]||!_0x489e74[_0x28b72a(0x219)])return _0x489e74[_0x28b72a(0x355)]();if(_0x489e74[_0xa1affb])throw new Error(_0x28b72a(0x2a9));if(this[_0x28b72a(0x381)]>_0x4776cf)return _0x400121(_0x489e74,0x1f7);const _0x9f1074=[_0x28b72a(0x1c5),_0x28b72a(0x278),_0x28b72a(0x1ce),_0x28b72a(0x2a4)+_0x4b64b2(_0x28b72a(0x1ec))[_0x28b72a(0x33b)](_0x269785+_0x50aa61)[_0x28b72a(0x2bb)](_0x28b72a(0x217))],_0x39607e=new this['options'][(_0x28b72a(0x323))](null,void 0x0,this[_0x28b72a(0x1fc)]);if(_0x58af25['size']){const _0x2be9f5=this[_0x28b72a(0x1fc)]['handleProtocols']?this[_0x28b72a(0x1fc)]['handleProtocols'](_0x58af25,_0x1dce44):_0x58af25['values']()[_0x28b72a(0x375)]()[_0x28b72a(0x1d4)];_0x2be9f5&&(_0x9f1074[_0x28b72a(0x213)]('Sec-WebSocket-Protocol:\x20'+_0x2be9f5),_0x39607e[_0x28b72a(0x25a)]=_0x2be9f5);}if(_0xd0a75d[_0x681274['extensionName']]){const _0x59dffc=_0xd0a75d[_0x681274[_0x28b72a(0x24c)]][_0x28b72a(0x1dc)],_0x554109=_0x19eeca['format']({[_0x681274[_0x28b72a(0x24c)]]:[_0x59dffc]});_0x9f1074[_0x28b72a(0x213)](_0x28b72a(0x1d2)+_0x554109),_0x39607e[_0x28b72a(0x297)]=_0xd0a75d;}this[_0x28b72a(0x20c)](_0x28b72a(0x28f),_0x9f1074,_0x1dce44),_0x489e74[_0x28b72a(0x252)](_0x9f1074[_0x28b72a(0x36d)]('\x0d\x0a')[_0x28b72a(0x313)]('\x0d\x0a')),_0x489e74[_0x28b72a(0x22d)](_0x28b72a(0x1d9),_0x51a276),_0x39607e[_0x28b72a(0x36c)](_0x489e74,_0x3b2ecd,{'allowSynchronousEvents':this[_0x28b72a(0x1fc)][_0x28b72a(0x231)],'maxPayload':this['options'][_0x28b72a(0x304)],'skipUTF8Validation':this['options'][_0x28b72a(0x332)]}),this[_0x28b72a(0x349)]&&(this[_0x28b72a(0x349)]['add'](_0x39607e),_0x39607e['on']('close',()=>{const _0x16de20=_0x28b72a;this['clients'][_0x16de20(0x36f)](_0x39607e),this[_0x16de20(0x333)]&&!this['clients'][_0x16de20(0x215)]&&process['nextTick'](_0x5013a4,this);})),_0x10d980(_0x39607e,_0x1dce44);}}Te=_0x48aa96;function _0x5cdc57(_0x3cd5bf,_0x5ee0c3){const _0x1491b4=_0x45b68d;for(const _0x23d950 of Object[_0x1491b4(0x2d4)](_0x5ee0c3))_0x3cd5bf['on'](_0x23d950,_0x5ee0c3[_0x23d950]);return function(){const _0x489918=_0x1491b4;for(const _0x1466c5 of Object[_0x489918(0x2d4)](_0x5ee0c3))_0x3cd5bf[_0x489918(0x22d)](_0x1466c5,_0x5ee0c3[_0x1466c5]);};}function _0x5013a4(_0x2e8353){const _0x141a9d=_0x45b68d;_0x2e8353[_0x141a9d(0x381)]=_0xa30e7b,_0x2e8353[_0x141a9d(0x20c)]('close');}function _0x51a276(){const _0x382457=_0x45b68d;this[_0x382457(0x355)]();}function _0x400121(_0x4808be,_0x20105a,_0x109629,_0xeed0c5){const _0x1c2f99=_0x45b68d;_0x109629=_0x109629||_0x3221bc[_0x1c2f99(0x21f)][_0x20105a],_0xeed0c5={'Connection':_0x1c2f99(0x29b),'Content-Type':'text/html','Content-Length':Buffer[_0x1c2f99(0x2c3)](_0x109629),..._0xeed0c5},_0x4808be[_0x1c2f99(0x32c)]('finish',_0x4808be[_0x1c2f99(0x355)]),_0x4808be[_0x1c2f99(0x364)]('HTTP/1.1\x20'+_0x20105a+'\x20'+_0x3221bc[_0x1c2f99(0x21f)][_0x20105a]+'\x0d\x0a'+Object[_0x1c2f99(0x2d4)](_0xeed0c5)[_0x1c2f99(0x2d7)](_0x2335ce=>_0x2335ce+':\x20'+_0xeed0c5[_0x2335ce])['join']('\x0d\x0a')+_0x1c2f99(0x295)+_0x109629);}function _0x56c956(_0x1114a5,_0xa266ce,_0x34e34b,_0x4c06bb,_0x5eb3f3){const _0x9568e7=_0x45b68d;if(_0x1114a5[_0x9568e7(0x245)](_0x9568e7(0x1d0))){const _0x459809=new Error(_0x5eb3f3);Error[_0x9568e7(0x36a)](_0x459809,_0x56c956),_0x1114a5[_0x9568e7(0x20c)]('wsClientError',_0x459809,_0x34e34b,_0xa266ce);}else _0x400121(_0x34e34b,_0x4c06bb,_0x5eb3f3);}return Te;}Ft();var jt=Object[_0x55fc25(0x223)],Wt=(_0x3d3aa7,_0x1186b5,_0x4adc58,_0xa88015)=>{const _0x44c02f=_0x55fc25;for(var _0x19ff71=_0xa88015>0x1?void 0x0:_0xa88015?jt(_0x1186b5,_0x4adc58):_0x1186b5,_0x23f95a=_0x3d3aa7[_0x44c02f(0x2da)]-0x1,_0x2fb579;_0x23f95a>=0x0;_0x23f95a--)(_0x2fb579=_0x3d3aa7[_0x23f95a])&&(_0x19ff71=_0x2fb579(_0x19ff71)||_0x19ff71);return _0x19ff71;},qt=(_0x28dc6d,_0x1acaeb)=>(_0x13988d,_0x3a7c27)=>_0x1acaeb(_0x13988d,_0x3a7c27,_0x28dc6d);let ke=class extends A['Disposable']{constructor(_0x237319){const _0x5a7f55=_0x55fc25;super(),this[_0x5a7f55(0x327)]=_0x237319;}['createSocket'](_0x30b35d){const _0x1fc9f5=_0x55fc25;var _0x3b0788;const _0x1116cc=(_0x3b0788=this[_0x1fc9f5(0x327)][_0x1fc9f5(0x23f)](fe))==null?void 0x0:_0x3b0788['customHeaders'];try{const _0x118263=new $t(_0x30b35d,{'headers':{..._0x1116cc}}),_0x257578=new A[(_0x1fc9f5(0x205))]();return{'URL':_0x30b35d,'close':(_0x44a6e0,_0x245fd2)=>{const _0x398d3e=_0x1fc9f5;_0x118263[_0x398d3e(0x29b)](_0x44a6e0,_0x245fd2),_0x257578['dispose']();},'send':_0x172388=>{const _0x26f0c2=_0x1fc9f5;_0x118263[_0x26f0c2(0x1db)](_0x172388);},'open$':new V[(_0x1fc9f5(0x1d6))](_0xb43072=>{const _0x5e8b4d=_0x1fc9f5,_0x4f86dd=_0x39ce33=>_0xb43072[_0x5e8b4d(0x375)](_0x39ce33);_0x118263[_0x5e8b4d(0x350)](_0x5e8b4d(0x2a5),_0x4f86dd),_0x257578[_0x5e8b4d(0x1e8)](A[_0x5e8b4d(0x1ed)](()=>_0x118263['removeEventListener'](_0x5e8b4d(0x2a5),_0x4f86dd)));})['pipe'](V[_0x1fc9f5(0x337)]()),'close$':new V['Observable'](_0xeee821=>{const _0x50f99b=_0x1fc9f5,_0x45170c=_0x51b99d=>_0xeee821[_0x50f99b(0x375)](_0x51b99d);_0x118263[_0x50f99b(0x350)](_0x50f99b(0x29b),_0x45170c),_0x257578[_0x50f99b(0x1e8)](A[_0x50f99b(0x1ed)](()=>_0x118263['removeEventListener'](_0x50f99b(0x29b),_0x45170c)));})['pipe'](V[_0x1fc9f5(0x337)]()),'error$':new V[(_0x1fc9f5(0x1d6))](_0x484f20=>{const _0x27b8d7=_0x1fc9f5,_0x29d0f7=_0x22884e=>_0x484f20[_0x27b8d7(0x375)](_0x22884e);_0x118263['addEventListener'](_0x27b8d7(0x1d9),_0x29d0f7),_0x257578[_0x27b8d7(0x1e8)](A[_0x27b8d7(0x1ed)](()=>_0x118263['removeEventListener'](_0x27b8d7(0x1d9),_0x29d0f7)));})['pipe'](V[_0x1fc9f5(0x337)]()),'message$':new V[(_0x1fc9f5(0x1d6))](_0x3313a1=>{const _0xb00a6f=_0x1fc9f5,_0x1bba06=_0x545f6d=>_0x3313a1[_0xb00a6f(0x375)](_0x545f6d);_0x118263[_0xb00a6f(0x350)](_0xb00a6f(0x1f2),_0x1bba06),_0x257578[_0xb00a6f(0x1e8)](A[_0xb00a6f(0x1ed)](()=>_0x118263['removeEventListener'](_0xb00a6f(0x1f2),_0x1bba06)));})[_0x1fc9f5(0x31c)](V[_0x1fc9f5(0x337)]())};}catch(_0x129a50){return console[_0x1fc9f5(0x1d9)](_0x129a50),null;}}};ke=Wt([qt(0x0,A[_0x55fc25(0x316)])],ke);function _0x2311(_0x48fae6,_0x316540){const _0x1e7365=_0x1e73();return _0x2311=function(_0x2311ce,_0x8d56c3){_0x2311ce=_0x2311ce-0x1c5;let _0xc06c74=_0x1e7365[_0x2311ce];return _0xc06c74;},_0x2311(_0x48fae6,_0x316540);}var Gt=Object[_0x55fc25(0x2c6)],Vt=Object[_0x55fc25(0x223)],Ht=(_0x8f500e,_0x594238,_0x1fe354)=>_0x594238 in _0x8f500e?Gt(_0x8f500e,_0x594238,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1fe354}):_0x8f500e[_0x594238]=_0x1fe354,zt=(_0x5aa98a,_0x4ce559,_0x50c9f3,_0x4ea2bc)=>{const _0xea8e89=_0x55fc25;for(var _0x24dcc0=_0x4ea2bc>0x1?void 0x0:_0x4ea2bc?Vt(_0x4ce559,_0x50c9f3):_0x4ce559,_0x1bb101=_0x5aa98a[_0xea8e89(0x2da)]-0x1,_0x1b0973;_0x1bb101>=0x0;_0x1bb101--)(_0x1b0973=_0x5aa98a[_0x1bb101])&&(_0x24dcc0=_0x1b0973(_0x24dcc0)||_0x24dcc0);return _0x24dcc0;},Ne=(_0x4c5539,_0x330bbf)=>(_0x372667,_0x5a7e81)=>_0x330bbf(_0x372667,_0x5a7e81,_0x4c5539),Yt=(_0x452a73,_0x1277f3,_0x59aa56)=>Ht(_0x452a73,_0x1277f3+'',_0x59aa56);exports[_0x55fc25(0x274)]=class extends A[_0x55fc25(0x26d)]{constructor(_0x569948=Ct,_0x8196d9,_0x326ae7,_0x1e9279){const _0x1b0ce1=_0x55fc25;_0x569948[_0x1b0ce1(0x1e3)]||_0x8196d9[_0x1b0ce1(0x30e)](_0x1b0ce1(0x1ea)),super(),this['_configService']=_0x326ae7,this[_0x1b0ce1(0x1ef)]=_0x1e9279,this[_0x1b0ce1(0x327)]['setConfig'](fe,_0x569948);}['onStarting'](){this['_registerDependencies']();}['_registerDependencies'](){const _0x5c32c9=_0x55fc25;A['registerDependencies'](this[_0x5c32c9(0x1ef)],[[it[_0x5c32c9(0x2e3)],{'useClass':ke}]]);}},Yt(exports[_0x55fc25(0x274)],_0x55fc25(0x335),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x55fc25(0x274)]=zt([A[_0x55fc25(0x30d)](st[_0x55fc25(0x37d)]),Ne(0x1,A[_0x55fc25(0x1f8)]),Ne(0x2,A[_0x55fc25(0x316)]),Ne(0x3,A[_0x55fc25(0x372)](A['Injector']))],exports[_0x55fc25(0x274)]);var Kt=Object[_0x55fc25(0x223)],Xt=(_0x1f072a,_0x49a74c,_0x3a6e36,_0x260984)=>{const _0x21972f=_0x55fc25;for(var _0x29ea8d=_0x260984>0x1?void 0x0:_0x260984?Kt(_0x49a74c,_0x3a6e36):_0x49a74c,_0xe7b541=_0x1f072a[_0x21972f(0x2da)]-0x1,_0xba589d;_0xe7b541>=0x0;_0xe7b541--)(_0xba589d=_0x1f072a[_0xe7b541])&&(_0x29ea8d=_0xba589d(_0x29ea8d)||_0x29ea8d);return _0x29ea8d;},ne=(_0x244e48,_0x3bf8e6)=>(_0x296b09,_0x2e54c7)=>_0x3bf8e6(_0x296b09,_0x2e54c7,_0x244e48);exports[_0x55fc25(0x2d5)]=class extends st[_0x55fc25(0x352)]{constructor(_0x414933,_0x5db274,_0x144123,_0x495d3a,_0x2892f8){const _0x554e57=_0x55fc25;super(_0x414933,_0x5db274,_0x144123,_0x495d3a,_0x2892f8);const _0x422233=this[_0x554e57(0x327)][_0x554e57(0x23f)](fe);this[_0x554e57(0x1eb)][_0x554e57(0x2e7)]({'interceptor':(_0x5c026d,_0x5375d1)=>{const _0x15f0d3=_0x554e57;var _0x4a1d31;const _0x2aa2a2=_0x5c026d[_0x15f0d3(0x28f)];return(_0x4a1d31=_0x422233==null?void 0x0:_0x422233[_0x15f0d3(0x1e3)])!=null&&_0x4a1d31['cookie']&&_0x2aa2a2['set'](_0x15f0d3(0x2a2),_0x422233[_0x15f0d3(0x1e3)]['cookie']),_0x5375d1(_0x5c026d);}});}async[_0x55fc25(0x31d)](_0x290a32){const _0x413f86=_0x55fc25;return this[_0x413f86(0x28b)](_0x290a32);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x55fc25(0x372)](A[_0x55fc25(0x343)])),ne(0x1,A['Inject'](it[_0x55fc25(0x371)])),ne(0x2,A[_0x55fc25(0x316)]),ne(0x3,A[_0x55fc25(0x1f8)]),ne(0x4,Ot[_0x55fc25(0x23b)])],exports['NodeCollaborationSocketService']),exports[_0x55fc25(0x354)]=fe;
|