@univerjs-pro/collaboration-client-node 0.7.0-nightly.202505251606 → 0.8.0-beta.0
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/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1f3744=_0x25cc;(function(_0x5799da,_0x496be8){const _0x3668d2=_0x25cc,_0x56210a=_0x5799da();while(!![]){try{const _0x41ad19=-parseInt(_0x3668d2(0x295))/0x1+-parseInt(_0x3668d2(0x118))/0x2+-parseInt(_0x3668d2(0x187))/0x3*(parseInt(_0x3668d2(0x1d3))/0x4)+parseInt(_0x3668d2(0x277))/0x5+parseInt(_0x3668d2(0x20d))/0x6+parseInt(_0x3668d2(0x1dd))/0x7+parseInt(_0x3668d2(0x288))/0x8*(-parseInt(_0x3668d2(0x1c5))/0x9);if(_0x41ad19===_0x496be8)break;else _0x56210a['push'](_0x56210a['shift']());}catch(_0x358854){_0x56210a['push'](_0x56210a['shift']());}}}(_0x13dc,0x8d526));import{UniverCollaborationClientPlugin as _0x50b261,CollaborationSocketService as _0x107e37}from'@univerjs-pro/collaboration-client';import{Disposable as _0x1b3d4b,DisposableCollection as _0x40f4f5,toDisposable as _0x2457ad,IConfigService as _0x2b799a,DependentOn as _0x206a4f,ILogService as _0x8c19a3,Inject as _0x389d14,Injector as _0x27905b,Plugin as _0x408198,registerDependencies as _0x4362a4}from'@univerjs/core';import{ISocketService as _0x3f71a0,HTTPService as _0x582042}from'@univerjs/network';import{Observable as _0x20c71d,share as _0x29a2cc}from'rxjs';import _0x10dad8 from'events';import _0x3912e9 from'https';import _0x4dbc47 from'http';import _0x1e4e6f from'net';import _0xfab93 from'tls';import _0x228f19 from'crypto';import _0x4c11d0 from'stream';import _0x3c0d67 from'url';import _0x4dc110 from'zlib';import _0x15c629 from'buffer';import{ISnapshotServerService as _0x3d34da}from'@univerjs-pro/collaboration';const Be=_0x1f3744(0x11a),Ft={'customHeaders':{}};function jt(_0x52eb5e){const _0x18d7e6=_0x1f3744;return _0x52eb5e&&_0x52eb5e['__esModule']&&Object[_0x18d7e6(0x289)][_0x18d7e6(0x15c)][_0x18d7e6(0x243)](_0x52eb5e,_0x18d7e6(0x265))?_0x52eb5e['default']:_0x52eb5e;}function ut(_0x22c0b0){const _0x56a0ce=_0x1f3744;if(Object['prototype']['hasOwnProperty']['call'](_0x22c0b0,_0x56a0ce(0x1f2)))return _0x22c0b0;var _0x108c75=_0x22c0b0[_0x56a0ce(0x265)];if(typeof _0x108c75==_0x56a0ce(0x12c)){var _0x5e09b5=function _0x1ce0c5(){const _0xfa3991=_0x56a0ce;return this instanceof _0x1ce0c5?Reflect[_0xfa3991(0x27a)](_0x108c75,arguments,this[_0xfa3991(0x1bf)]):_0x108c75['apply'](this,arguments);};_0x5e09b5['prototype']=_0x108c75[_0x56a0ce(0x289)];}else _0x5e09b5={};return Object[_0x56a0ce(0x160)](_0x5e09b5,_0x56a0ce(0x1f2),{'value':!0x0}),Object[_0x56a0ce(0x12f)](_0x22c0b0)[_0x56a0ce(0x15f)](function(_0x5a0f00){const _0x39a7cc=_0x56a0ce;var _0x49f2eb=Object[_0x39a7cc(0x230)](_0x22c0b0,_0x5a0f00);Object[_0x39a7cc(0x160)](_0x5e09b5,_0x5a0f00,_0x49f2eb['get']?_0x49f2eb:{'enumerable':!0x0,'get':function(){return _0x22c0b0[_0x5a0f00];}});}),_0x5e09b5;}var te={'exports':{}},ge,Ye;function V(){const _0x444141=_0x1f3744;if(Ye)return ge;Ye=0x1;const _0x5d1b47=[_0x444141(0x1af),'arraybuffer',_0x444141(0x1e5)],_0x5774a5=typeof Blob<'u';return _0x5774a5&&_0x5d1b47['push']('blob'),ge={'BINARY_TYPES':_0x5d1b47,'EMPTY_BUFFER':Buffer[_0x444141(0x190)](0x0),'GUID':_0x444141(0x1ab),'hasBlob':_0x5774a5,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x444141(0x176)),'kStatusCode':Symbol(_0x444141(0x2a9)),'kWebSocket':Symbol(_0x444141(0x169)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x1f3744(0x249)](Object[_0x1f3744(0x160)]({'__proto__':null,'default':Wt},Symbol[_0x1f3744(0x210)],{'value':_0x1f3744(0x2af)})),Vt=ut(Gt);var Ke;function ce(){const _0x5a0e99=_0x1f3744;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x342ce1}=V(),_0x556abe=Buffer[Symbol[_0x5a0e99(0x18f)]];function _0x32d166(_0x202bab,_0x5c91b9){const _0x272b37=_0x5a0e99;if(_0x202bab[_0x272b37(0x22f)]===0x0)return _0x342ce1;if(_0x202bab[_0x272b37(0x22f)]===0x1)return _0x202bab[0x0];const _0x1fad8b=Buffer[_0x272b37(0x1cf)](_0x5c91b9);let _0x5da3dd=0x0;for(let _0x3f05ee=0x0;_0x3f05ee<_0x202bab['length'];_0x3f05ee++){const _0x5b65a2=_0x202bab[_0x3f05ee];_0x1fad8b[_0x272b37(0x17b)](_0x5b65a2,_0x5da3dd),_0x5da3dd+=_0x5b65a2['length'];}return _0x5da3dd<_0x5c91b9?new _0x556abe(_0x1fad8b[_0x272b37(0x185)],_0x1fad8b['byteOffset'],_0x5da3dd):_0x1fad8b;}function _0x360c8a(_0x8775c0,_0x241448,_0x50aff1,_0x39bc82,_0xdd0668){for(let _0x495f57=0x0;_0x495f57<_0xdd0668;_0x495f57++)_0x50aff1[_0x39bc82+_0x495f57]=_0x8775c0[_0x495f57]^_0x241448[_0x495f57&0x3];}function _0x10e240(_0x55417d,_0x105f0a){const _0x11ca4a=_0x5a0e99;for(let _0x350df5=0x0;_0x350df5<_0x55417d[_0x11ca4a(0x22f)];_0x350df5++)_0x55417d[_0x350df5]^=_0x105f0a[_0x350df5&0x3];}function _0x63c562(_0x3ce29e){const _0x17485a=_0x5a0e99;return _0x3ce29e['length']===_0x3ce29e[_0x17485a(0x185)][_0x17485a(0x233)]?_0x3ce29e['buffer']:_0x3ce29e[_0x17485a(0x185)][_0x17485a(0x1c8)](_0x3ce29e['byteOffset'],_0x3ce29e[_0x17485a(0x293)]+_0x3ce29e[_0x17485a(0x22f)]);}function _0x5d7982(_0x1a6fe5){const _0x3b7fca=_0x5a0e99;if(_0x5d7982['readOnly']=!0x0,Buffer[_0x3b7fca(0x163)](_0x1a6fe5))return _0x1a6fe5;let _0x293c47;return _0x1a6fe5 instanceof ArrayBuffer?_0x293c47=new _0x556abe(_0x1a6fe5):ArrayBuffer['isView'](_0x1a6fe5)?_0x293c47=new _0x556abe(_0x1a6fe5[_0x3b7fca(0x185)],_0x1a6fe5[_0x3b7fca(0x293)],_0x1a6fe5[_0x3b7fca(0x233)]):(_0x293c47=Buffer[_0x3b7fca(0x218)](_0x1a6fe5),_0x5d7982['readOnly']=!0x1),_0x293c47;}if(te[_0x5a0e99(0x1f1)]={'concat':_0x32d166,'mask':_0x360c8a,'toArrayBuffer':_0x63c562,'toBuffer':_0x5d7982,'unmask':_0x10e240},!process[_0x5a0e99(0x142)]['WS_NO_BUFFER_UTIL'])try{const _0x6e5f2e=Vt;te[_0x5a0e99(0x1f1)]['mask']=function(_0x311a1b,_0x9e58b,_0x3c55be,_0x5e229f,_0x418d4d){const _0x492b7e=_0x5a0e99;_0x418d4d<0x30?_0x360c8a(_0x311a1b,_0x9e58b,_0x3c55be,_0x5e229f,_0x418d4d):_0x6e5f2e[_0x492b7e(0x221)](_0x311a1b,_0x9e58b,_0x3c55be,_0x5e229f,_0x418d4d);},te[_0x5a0e99(0x1f1)][_0x5a0e99(0x1ff)]=function(_0x191e0a,_0x534641){const _0x449dc9=_0x5a0e99;_0x191e0a[_0x449dc9(0x22f)]<0x20?_0x10e240(_0x191e0a,_0x534641):_0x6e5f2e[_0x449dc9(0x1ff)](_0x191e0a,_0x534641);};}catch{}return te[_0x5a0e99(0x1f1)];}var ye,Xe;function qt(){const _0x3e0bf3=_0x1f3744;if(Xe)return ye;Xe=0x1;const _0x4ce518=Symbol('kDone'),_0x3e2dc3=Symbol(_0x3e0bf3(0x1b4));class _0x5cb3df{constructor(_0x4d33c6){const _0x13a817=_0x3e0bf3;this[_0x4ce518]=()=>{this['pending']--,this[_0x3e2dc3]();},this[_0x13a817(0x10f)]=_0x4d33c6||0x1/0x0,this[_0x13a817(0x149)]=[],this[_0x13a817(0x267)]=0x0;}[_0x3e0bf3(0x2be)](_0x124f3f){const _0x2bf118=_0x3e0bf3;this[_0x2bf118(0x149)]['push'](_0x124f3f),this[_0x3e2dc3]();}[_0x3e2dc3](){const _0x5ab8a9=_0x3e0bf3;if(this[_0x5ab8a9(0x267)]!==this['concurrency']&&this[_0x5ab8a9(0x149)][_0x5ab8a9(0x22f)]){const _0x35436e=this[_0x5ab8a9(0x149)]['shift']();this[_0x5ab8a9(0x267)]++,_0x35436e(this[_0x4ce518]);}}}return ye=_0x5cb3df,ye;}var ve,Ze;function he(){const _0x17513b=_0x1f3744;if(Ze)return ve;Ze=0x1;const _0x4ba570=_0x4dc110,_0x80c71f=ce(),_0x3de506=qt(),{kStatusCode:_0x3e48f0}=V(),_0x35ae1c=Buffer[Symbol[_0x17513b(0x18f)]],_0x205ffe=Buffer['from']([0x0,0x0,0xff,0xff]),_0x15726b=Symbol('permessage-deflate'),_0x2f34bb=Symbol(_0x17513b(0x26b)),_0xf24bcd=Symbol(_0x17513b(0x244)),_0x57ea3d=Symbol(_0x17513b(0x1b7)),_0xdd6491=Symbol(_0x17513b(0x25e));let _0x8bdc53;class _0x61e2e4{constructor(_0x2b8a11,_0x220cba,_0xad59bb){const _0x261620=_0x17513b;if(this['_maxPayload']=_0xad59bb|0x0,this[_0x261620(0x24d)]=_0x2b8a11||{},this['_threshold']=this[_0x261620(0x24d)][_0x261620(0x256)]!==void 0x0?this[_0x261620(0x24d)][_0x261620(0x256)]:0x400,this[_0x261620(0x18c)]=!!_0x220cba,this['_deflate']=null,this['_inflate']=null,this['params']=null,!_0x8bdc53){const _0x4878d1=this[_0x261620(0x24d)][_0x261620(0x217)]!==void 0x0?this['_options'][_0x261620(0x217)]:0xa;_0x8bdc53=new _0x3de506(_0x4878d1);}}static get['extensionName'](){const _0x1af640=_0x17513b;return _0x1af640(0x1e4);}[_0x17513b(0x238)](){const _0x489ac2=_0x17513b,_0x52bf52={};return this[_0x489ac2(0x24d)][_0x489ac2(0x224)]&&(_0x52bf52[_0x489ac2(0x211)]=!0x0),this[_0x489ac2(0x24d)][_0x489ac2(0x147)]&&(_0x52bf52[_0x489ac2(0x186)]=!0x0),this['_options'][_0x489ac2(0x134)]&&(_0x52bf52[_0x489ac2(0x26d)]=this[_0x489ac2(0x24d)][_0x489ac2(0x134)]),this[_0x489ac2(0x24d)][_0x489ac2(0x164)]?_0x52bf52[_0x489ac2(0x1bb)]=this[_0x489ac2(0x24d)][_0x489ac2(0x164)]:this['_options'][_0x489ac2(0x164)]==null&&(_0x52bf52['client_max_window_bits']=!0x0),_0x52bf52;}['accept'](_0xb5ea4c){const _0x3f802c=_0x17513b;return _0xb5ea4c=this['normalizeParams'](_0xb5ea4c),this['params']=this[_0x3f802c(0x18c)]?this[_0x3f802c(0x205)](_0xb5ea4c):this[_0x3f802c(0x1df)](_0xb5ea4c),this['params'];}[_0x17513b(0x152)](){const _0x9690a1=_0x17513b;if(this[_0x9690a1(0x235)]&&(this[_0x9690a1(0x235)][_0x9690a1(0x115)](),this[_0x9690a1(0x235)]=null),this[_0x9690a1(0x1a5)]){const _0xebd19b=this[_0x9690a1(0x1a5)][_0xf24bcd];this[_0x9690a1(0x1a5)][_0x9690a1(0x115)](),this[_0x9690a1(0x1a5)]=null,_0xebd19b&&_0xebd19b(new Error(_0x9690a1(0x1d6)));}}[_0x17513b(0x205)](_0x1023d8){const _0x50f854=_0x17513b,_0x5f27bf=this[_0x50f854(0x24d)],_0x162d9a=_0x1023d8[_0x50f854(0x1de)](_0x2d2da1=>!(_0x5f27bf[_0x50f854(0x224)]===!0x1&&_0x2d2da1['server_no_context_takeover']||_0x2d2da1['server_max_window_bits']&&(_0x5f27bf[_0x50f854(0x134)]===!0x1||typeof _0x5f27bf[_0x50f854(0x134)]==_0x50f854(0x123)&&_0x5f27bf[_0x50f854(0x134)]>_0x2d2da1[_0x50f854(0x26d)])||typeof _0x5f27bf[_0x50f854(0x164)]==_0x50f854(0x123)&&!_0x2d2da1[_0x50f854(0x1bb)]));if(!_0x162d9a)throw new Error(_0x50f854(0x1e3));return _0x5f27bf['serverNoContextTakeover']&&(_0x162d9a[_0x50f854(0x211)]=!0x0),_0x5f27bf['clientNoContextTakeover']&&(_0x162d9a[_0x50f854(0x186)]=!0x0),typeof _0x5f27bf[_0x50f854(0x134)]=='number'&&(_0x162d9a[_0x50f854(0x26d)]=_0x5f27bf[_0x50f854(0x134)]),typeof _0x5f27bf[_0x50f854(0x164)]==_0x50f854(0x123)?_0x162d9a[_0x50f854(0x1bb)]=_0x5f27bf[_0x50f854(0x164)]:(_0x162d9a[_0x50f854(0x1bb)]===!0x0||_0x5f27bf[_0x50f854(0x164)]===!0x1)&&delete _0x162d9a[_0x50f854(0x1bb)],_0x162d9a;}[_0x17513b(0x1df)](_0x3728e3){const _0x39fe46=_0x17513b,_0x22a1a1=_0x3728e3[0x0];if(this[_0x39fe46(0x24d)][_0x39fe46(0x147)]===!0x1&&_0x22a1a1[_0x39fe46(0x186)])throw new Error(_0x39fe46(0x248));if(!_0x22a1a1[_0x39fe46(0x1bb)])typeof this[_0x39fe46(0x24d)][_0x39fe46(0x164)]==_0x39fe46(0x123)&&(_0x22a1a1[_0x39fe46(0x1bb)]=this[_0x39fe46(0x24d)]['clientMaxWindowBits']);else{if(this[_0x39fe46(0x24d)][_0x39fe46(0x164)]===!0x1||typeof this[_0x39fe46(0x24d)]['clientMaxWindowBits']=='number'&&_0x22a1a1[_0x39fe46(0x1bb)]>this[_0x39fe46(0x24d)][_0x39fe46(0x164)])throw new Error(_0x39fe46(0x22b));}return _0x22a1a1;}['normalizeParams'](_0x988bbd){return _0x988bbd['forEach'](_0x4a928a=>{const _0x474c50=_0x25cc;Object[_0x474c50(0x12f)](_0x4a928a)[_0x474c50(0x15f)](_0x5cbbf4=>{const _0x4c7508=_0x474c50;let _0x2ee57c=_0x4a928a[_0x5cbbf4];if(_0x2ee57c[_0x4c7508(0x22f)]>0x1)throw new Error(_0x4c7508(0x237)+_0x5cbbf4+_0x4c7508(0x2a0));if(_0x2ee57c=_0x2ee57c[0x0],_0x5cbbf4===_0x4c7508(0x1bb)){if(_0x2ee57c!==!0x0){const _0x21b249=+_0x2ee57c;if(!Number[_0x4c7508(0x1fc)](_0x21b249)||_0x21b249<0x8||_0x21b249>0xf)throw new TypeError(_0x4c7508(0x26a)+_0x5cbbf4+_0x4c7508(0x23f)+_0x2ee57c);_0x2ee57c=_0x21b249;}else{if(!this[_0x4c7508(0x18c)])throw new TypeError(_0x4c7508(0x26a)+_0x5cbbf4+'\x22:\x20'+_0x2ee57c);}}else{if(_0x5cbbf4===_0x4c7508(0x26d)){const _0xa86d65=+_0x2ee57c;if(!Number['isInteger'](_0xa86d65)||_0xa86d65<0x8||_0xa86d65>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5cbbf4+_0x4c7508(0x23f)+_0x2ee57c);_0x2ee57c=_0xa86d65;}else{if(_0x5cbbf4===_0x4c7508(0x186)||_0x5cbbf4===_0x4c7508(0x211)){if(_0x2ee57c!==!0x0)throw new TypeError(_0x4c7508(0x26a)+_0x5cbbf4+_0x4c7508(0x23f)+_0x2ee57c);}else throw new Error(_0x4c7508(0x271)+_0x5cbbf4+'\x22');}}_0x4a928a[_0x5cbbf4]=_0x2ee57c;});}),_0x988bbd;}[_0x17513b(0x1d9)](_0x17f015,_0x100488,_0x4e44d3){const _0xc38041=_0x17513b;_0x8bdc53[_0xc38041(0x2be)](_0x380257=>{const _0x297d5c=_0xc38041;this[_0x297d5c(0x24a)](_0x17f015,_0x100488,(_0x5df62d,_0x4c888e)=>{_0x380257(),_0x4e44d3(_0x5df62d,_0x4c888e);});});}[_0x17513b(0x20c)](_0x2d0636,_0x13b45b,_0x45e4b3){const _0x3007d4=_0x17513b;_0x8bdc53[_0x3007d4(0x2be)](_0x4fcbf2=>{this['_compress'](_0x2d0636,_0x13b45b,(_0x56ae61,_0x4937a9)=>{_0x4fcbf2(),_0x45e4b3(_0x56ae61,_0x4937a9);});});}[_0x17513b(0x24a)](_0x4f5b9d,_0x46d5f1,_0x1a5375){const _0x3ad423=_0x17513b,_0x44c9d0=this[_0x3ad423(0x18c)]?_0x3ad423(0x13e):_0x3ad423(0x127);if(!this['_inflate']){const _0x2a4eb3=_0x44c9d0+'_max_window_bits',_0x52a05c=typeof this['params'][_0x2a4eb3]!=_0x3ad423(0x123)?_0x4ba570[_0x3ad423(0x25f)]:this[_0x3ad423(0x1c2)][_0x2a4eb3];this[_0x3ad423(0x235)]=_0x4ba570['createInflateRaw']({...this['_options']['zlibInflateOptions'],'windowBits':_0x52a05c}),this[_0x3ad423(0x235)][_0x15726b]=this,this[_0x3ad423(0x235)][_0x2f34bb]=0x0,this[_0x3ad423(0x235)][_0x57ea3d]=[],this['_inflate']['on']('error',_0x2baeac),this['_inflate']['on']('data',_0x38f223);}this['_inflate'][_0xf24bcd]=_0x1a5375,this[_0x3ad423(0x235)]['write'](_0x4f5b9d),_0x46d5f1&&this[_0x3ad423(0x235)][_0x3ad423(0x1c3)](_0x205ffe),this[_0x3ad423(0x235)]['flush'](()=>{const _0x547985=_0x3ad423,_0x3e0938=this[_0x547985(0x235)][_0xdd6491];if(_0x3e0938){this[_0x547985(0x235)][_0x547985(0x115)](),this[_0x547985(0x235)]=null,_0x1a5375(_0x3e0938);return;}const _0x1d540f=_0x80c71f['concat'](this[_0x547985(0x235)][_0x57ea3d],this[_0x547985(0x235)][_0x2f34bb]);this['_inflate'][_0x547985(0x1ee)][_0x547985(0x150)]?(this[_0x547985(0x235)][_0x547985(0x115)](),this[_0x547985(0x235)]=null):(this['_inflate'][_0x2f34bb]=0x0,this[_0x547985(0x235)][_0x57ea3d]=[],_0x46d5f1&&this[_0x547985(0x1c2)][_0x44c9d0+_0x547985(0x139)]&&this[_0x547985(0x235)][_0x547985(0x241)]()),_0x1a5375(null,_0x1d540f);});}[_0x17513b(0x27f)](_0x5e9e9a,_0x21aa73,_0x2837fa){const _0x4f8387=_0x17513b,_0x31cae7=this[_0x4f8387(0x18c)]?_0x4f8387(0x127):_0x4f8387(0x13e);if(!this[_0x4f8387(0x1a5)]){const _0x445bc4=_0x31cae7+'_max_window_bits',_0x188381=typeof this[_0x4f8387(0x1c2)][_0x445bc4]!='number'?_0x4ba570[_0x4f8387(0x25f)]:this[_0x4f8387(0x1c2)][_0x445bc4];this[_0x4f8387(0x1a5)]=_0x4ba570[_0x4f8387(0x294)]({...this['_options'][_0x4f8387(0x262)],'windowBits':_0x188381}),this[_0x4f8387(0x1a5)][_0x2f34bb]=0x0,this[_0x4f8387(0x1a5)][_0x57ea3d]=[],this[_0x4f8387(0x1a5)]['on']('data',_0x32dea5);}this[_0x4f8387(0x1a5)][_0xf24bcd]=_0x2837fa,this[_0x4f8387(0x1a5)][_0x4f8387(0x1c3)](_0x5e9e9a),this[_0x4f8387(0x1a5)][_0x4f8387(0x10c)](_0x4ba570[_0x4f8387(0x23d)],()=>{const _0x588351=_0x4f8387;if(!this['_deflate'])return;let _0x216ff4=_0x80c71f[_0x588351(0x126)](this[_0x588351(0x1a5)][_0x57ea3d],this[_0x588351(0x1a5)][_0x2f34bb]);_0x21aa73&&(_0x216ff4=new _0x35ae1c(_0x216ff4[_0x588351(0x185)],_0x216ff4['byteOffset'],_0x216ff4[_0x588351(0x22f)]-0x4)),this[_0x588351(0x1a5)][_0xf24bcd]=null,this['_deflate'][_0x2f34bb]=0x0,this[_0x588351(0x1a5)][_0x57ea3d]=[],_0x21aa73&&this[_0x588351(0x1c2)][_0x31cae7+_0x588351(0x139)]&&this[_0x588351(0x1a5)][_0x588351(0x241)](),_0x2837fa(null,_0x216ff4);});}}ve=_0x61e2e4;function _0x32dea5(_0x2eff7b){const _0x27e5e1=_0x17513b;this[_0x57ea3d]['push'](_0x2eff7b),this[_0x2f34bb]+=_0x2eff7b[_0x27e5e1(0x22f)];}function _0x38f223(_0xedc68f){const _0x272f00=_0x17513b;if(this[_0x2f34bb]+=_0xedc68f[_0x272f00(0x22f)],this[_0x15726b][_0x272f00(0x13c)]<0x1||this[_0x2f34bb]<=this[_0x15726b][_0x272f00(0x13c)]){this[_0x57ea3d][_0x272f00(0x18b)](_0xedc68f);return;}this[_0xdd6491]=new RangeError(_0x272f00(0x17a)),this[_0xdd6491][_0x272f00(0x16c)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0xdd6491][_0x3e48f0]=0x3f1,this[_0x272f00(0x1eb)]('data',_0x38f223),this[_0x272f00(0x241)]();}function _0x2baeac(_0x6b8de1){const _0x3a7fae=_0x17513b;if(this[_0x15726b][_0x3a7fae(0x235)]=null,this[_0xdd6491]){this[_0xf24bcd](this[_0xdd6491]);return;}_0x6b8de1[_0x3e48f0]=0x3ef,this[_0xf24bcd](_0x6b8de1);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x1f3744(0x249)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol[_0x1f3744(0x210)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x4e8707=_0x1f3744;if(Qe)return re[_0x4e8707(0x1f1)];Qe=0x1;const {isUtf8:_0x3eed1e}=_0x15c629,{hasBlob:_0x7d0987}=V(),_0x385c51=[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 _0x2a7bf5(_0x41870e){return _0x41870e>=0x3e8&&_0x41870e<=0x3f6&&_0x41870e!==0x3ec&&_0x41870e!==0x3ed&&_0x41870e!==0x3ee||_0x41870e>=0xbb8&&_0x41870e<=0x1387;}function _0x519ab1(_0x48f1c5){const _0x3d878b=_0x4e8707,_0x334213=_0x48f1c5[_0x3d878b(0x22f)];let _0x1f9065=0x0;for(;_0x1f9065<_0x334213;)if((_0x48f1c5[_0x1f9065]&0x80)===0x0)_0x1f9065++;else{if((_0x48f1c5[_0x1f9065]&0xe0)===0xc0){if(_0x1f9065+0x1===_0x334213||(_0x48f1c5[_0x1f9065+0x1]&0xc0)!==0x80||(_0x48f1c5[_0x1f9065]&0xfe)===0xc0)return!0x1;_0x1f9065+=0x2;}else{if((_0x48f1c5[_0x1f9065]&0xf0)===0xe0){if(_0x1f9065+0x2>=_0x334213||(_0x48f1c5[_0x1f9065+0x1]&0xc0)!==0x80||(_0x48f1c5[_0x1f9065+0x2]&0xc0)!==0x80||_0x48f1c5[_0x1f9065]===0xe0&&(_0x48f1c5[_0x1f9065+0x1]&0xe0)===0x80||_0x48f1c5[_0x1f9065]===0xed&&(_0x48f1c5[_0x1f9065+0x1]&0xe0)===0xa0)return!0x1;_0x1f9065+=0x3;}else{if((_0x48f1c5[_0x1f9065]&0xf8)===0xf0){if(_0x1f9065+0x3>=_0x334213||(_0x48f1c5[_0x1f9065+0x1]&0xc0)!==0x80||(_0x48f1c5[_0x1f9065+0x2]&0xc0)!==0x80||(_0x48f1c5[_0x1f9065+0x3]&0xc0)!==0x80||_0x48f1c5[_0x1f9065]===0xf0&&(_0x48f1c5[_0x1f9065+0x1]&0xf0)===0x80||_0x48f1c5[_0x1f9065]===0xf4&&_0x48f1c5[_0x1f9065+0x1]>0x8f||_0x48f1c5[_0x1f9065]>0xf4)return!0x1;_0x1f9065+=0x4;}else return!0x1;}}}return!0x0;}function _0x516515(_0x89df01){const _0x2023a8=_0x4e8707;return _0x7d0987&&typeof _0x89df01==_0x2023a8(0x181)&&typeof _0x89df01['arrayBuffer']==_0x2023a8(0x12c)&&typeof _0x89df01['type']=='string'&&typeof _0x89df01[_0x2023a8(0x25d)]=='function'&&(_0x89df01[Symbol[_0x2023a8(0x210)]]===_0x2023a8(0x19b)||_0x89df01[Symbol[_0x2023a8(0x210)]]===_0x2023a8(0x124));}if(re['exports']={'isBlob':_0x516515,'isValidStatusCode':_0x2a7bf5,'isValidUTF8':_0x519ab1,'tokenChars':_0x385c51},_0x3eed1e)re[_0x4e8707(0x1f1)]['isValidUTF8']=function(_0x183332){return _0x183332['length']<0x18?_0x519ab1(_0x183332):_0x3eed1e(_0x183332);};else{if(!process[_0x4e8707(0x142)][_0x4e8707(0x16f)])try{const _0x376a06=Yt;re[_0x4e8707(0x1f1)][_0x4e8707(0x247)]=function(_0x569226){const _0x371fe7=_0x4e8707;return _0x569226[_0x371fe7(0x22f)]<0x20?_0x519ab1(_0x569226):_0x376a06(_0x569226);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x4ff699=_0x1f3744;if(Je)return Se;Je=0x1;const {Writable:_0x4f6fe7}=_0x4c11d0,_0x27bdad=he(),{BINARY_TYPES:_0x130786,EMPTY_BUFFER:_0x498b05,kStatusCode:_0x54a016,kWebSocket:_0x4de81c}=V(),{concat:_0x3d5c83,toArrayBuffer:_0x43a07b,unmask:_0x447712}=ce(),{isValidStatusCode:_0x4bfc62,isValidUTF8:_0x273665}=ne(),_0x205650=Buffer[Symbol['species']],_0x8955da=0x0,_0x28ade6=0x1,_0x59cddc=0x2,_0x250d4a=0x3,_0x49f951=0x4,_0x15e941=0x5,_0x135fa2=0x6;class _0x39f668 extends _0x4f6fe7{constructor(_0x271ae0={}){const _0x326ddc=_0x25cc;super(),this[_0x326ddc(0x14a)]=_0x271ae0[_0x326ddc(0x161)]!==void 0x0?_0x271ae0[_0x326ddc(0x161)]:!0x0,this[_0x326ddc(0x177)]=_0x271ae0[_0x326ddc(0x245)]||_0x130786[0x0],this[_0x326ddc(0x22a)]=_0x271ae0[_0x326ddc(0x16b)]||{},this[_0x326ddc(0x18c)]=!!_0x271ae0[_0x326ddc(0x1f7)],this[_0x326ddc(0x13c)]=_0x271ae0['maxPayload']|0x0,this['_skipUTF8Validation']=!!_0x271ae0['skipUTF8Validation'],this[_0x4de81c]=void 0x0,this[_0x326ddc(0x274)]=0x0,this[_0x326ddc(0x236)]=[],this[_0x326ddc(0x21d)]=!0x1,this[_0x326ddc(0x273)]=0x0,this[_0x326ddc(0x1db)]=void 0x0,this['_fragmented']=0x0,this[_0x326ddc(0x184)]=!0x1,this['_fin']=!0x1,this['_opcode']=0x0,this[_0x326ddc(0x137)]=0x0,this['_messageLength']=0x0,this[_0x326ddc(0x114)]=[],this[_0x326ddc(0x1b0)]=!0x1,this[_0x326ddc(0x116)]=!0x1,this['_state']=_0x8955da;}[_0x4ff699(0x213)](_0x40afbf,_0x52efcc,_0x315a60){const _0x530601=_0x4ff699;if(this['_opcode']===0x8&&this[_0x530601(0x28b)]==_0x8955da)return _0x315a60();this[_0x530601(0x274)]+=_0x40afbf['length'],this[_0x530601(0x236)][_0x530601(0x18b)](_0x40afbf),this[_0x530601(0x2b9)](_0x315a60);}[_0x4ff699(0x227)](_0x1ddc2d){const _0x507234=_0x4ff699;if(this[_0x507234(0x274)]-=_0x1ddc2d,_0x1ddc2d===this[_0x507234(0x236)][0x0][_0x507234(0x22f)])return this[_0x507234(0x236)][_0x507234(0x128)]();if(_0x1ddc2d<this['_buffers'][0x0][_0x507234(0x22f)]){const _0x320f17=this[_0x507234(0x236)][0x0];return this[_0x507234(0x236)][0x0]=new _0x205650(_0x320f17['buffer'],_0x320f17[_0x507234(0x293)]+_0x1ddc2d,_0x320f17[_0x507234(0x22f)]-_0x1ddc2d),new _0x205650(_0x320f17[_0x507234(0x185)],_0x320f17[_0x507234(0x293)],_0x1ddc2d);}const _0x4ba546=Buffer[_0x507234(0x1cf)](_0x1ddc2d);do{const _0x5aa542=this[_0x507234(0x236)][0x0],_0x1fa5af=_0x4ba546[_0x507234(0x22f)]-_0x1ddc2d;_0x1ddc2d>=_0x5aa542['length']?_0x4ba546[_0x507234(0x17b)](this['_buffers'][_0x507234(0x128)](),_0x1fa5af):(_0x4ba546[_0x507234(0x17b)](new Uint8Array(_0x5aa542[_0x507234(0x185)],_0x5aa542[_0x507234(0x293)],_0x1ddc2d),_0x1fa5af),this[_0x507234(0x236)][0x0]=new _0x205650(_0x5aa542['buffer'],_0x5aa542['byteOffset']+_0x1ddc2d,_0x5aa542[_0x507234(0x22f)]-_0x1ddc2d)),_0x1ddc2d-=_0x5aa542['length'];}while(_0x1ddc2d>0x0);return _0x4ba546;}[_0x4ff699(0x2b9)](_0x4e7a58){const _0x4f9720=_0x4ff699;this[_0x4f9720(0x116)]=!0x0;do switch(this['_state']){case _0x8955da:this[_0x4f9720(0x2a5)](_0x4e7a58);break;case _0x28ade6:this['getPayloadLength16'](_0x4e7a58);break;case _0x59cddc:this[_0x4f9720(0x119)](_0x4e7a58);break;case _0x250d4a:this[_0x4f9720(0x29b)]();break;case _0x49f951:this[_0x4f9720(0x10e)](_0x4e7a58);break;case _0x15e941:case _0x135fa2:this[_0x4f9720(0x116)]=!0x1;return;}while(this[_0x4f9720(0x116)]);this[_0x4f9720(0x1b0)]||_0x4e7a58();}[_0x4ff699(0x2a5)](_0x56ce77){const _0x4a25bc=_0x4ff699;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}const _0x46fb45=this[_0x4a25bc(0x227)](0x2);if((_0x46fb45[0x0]&0x30)!==0x0){const _0x4f0791=this[_0x4a25bc(0x17d)](RangeError,_0x4a25bc(0x2b1),!0x0,0x3ea,_0x4a25bc(0x1f9));_0x56ce77(_0x4f0791);return;}const _0x1e1e76=(_0x46fb45[0x0]&0x40)===0x40;if(_0x1e1e76&&!this[_0x4a25bc(0x22a)][_0x27bdad['extensionName']]){const _0x51c5f7=this['createError'](RangeError,_0x4a25bc(0x2a4),!0x0,0x3ea,_0x4a25bc(0x111));_0x56ce77(_0x51c5f7);return;}if(this[_0x4a25bc(0x279)]=(_0x46fb45[0x0]&0x80)===0x80,this[_0x4a25bc(0x206)]=_0x46fb45[0x0]&0xf,this[_0x4a25bc(0x273)]=_0x46fb45[0x1]&0x7f,this[_0x4a25bc(0x206)]===0x0){if(_0x1e1e76){const _0x4d3559=this[_0x4a25bc(0x17d)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x56ce77(_0x4d3559);return;}if(!this['_fragmented']){const _0x53ab08=this[_0x4a25bc(0x17d)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x4a25bc(0x12e));_0x56ce77(_0x53ab08);return;}this[_0x4a25bc(0x206)]=this['_fragmented'];}else{if(this[_0x4a25bc(0x206)]===0x1||this[_0x4a25bc(0x206)]===0x2){if(this[_0x4a25bc(0x157)]){const _0x14d2fa=this[_0x4a25bc(0x17d)](RangeError,_0x4a25bc(0x200)+this['_opcode'],!0x0,0x3ea,_0x4a25bc(0x12e));_0x56ce77(_0x14d2fa);return;}this['_compressed']=_0x1e1e76;}else{if(this[_0x4a25bc(0x206)]>0x7&&this['_opcode']<0xb){if(!this[_0x4a25bc(0x279)]){const _0xedd5c8=this[_0x4a25bc(0x17d)](RangeError,_0x4a25bc(0x2b8),!0x0,0x3ea,_0x4a25bc(0x14f));_0x56ce77(_0xedd5c8);return;}if(_0x1e1e76){const _0x270287=this[_0x4a25bc(0x17d)](RangeError,_0x4a25bc(0x2a4),!0x0,0x3ea,_0x4a25bc(0x111));_0x56ce77(_0x270287);return;}if(this[_0x4a25bc(0x273)]>0x7d||this['_opcode']===0x8&&this[_0x4a25bc(0x273)]===0x1){const _0x52033c=this[_0x4a25bc(0x17d)](RangeError,_0x4a25bc(0x11b)+this[_0x4a25bc(0x273)],!0x0,0x3ea,_0x4a25bc(0x16a));_0x56ce77(_0x52033c);return;}}else{const _0x15da40=this[_0x4a25bc(0x17d)](RangeError,_0x4a25bc(0x200)+this['_opcode'],!0x0,0x3ea,_0x4a25bc(0x12e));_0x56ce77(_0x15da40);return;}}}if(!this[_0x4a25bc(0x279)]&&!this[_0x4a25bc(0x157)]&&(this['_fragmented']=this['_opcode']),this['_masked']=(_0x46fb45[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x4a25bc(0x184)]){const _0x20be03=this[_0x4a25bc(0x17d)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x4a25bc(0x260));_0x56ce77(_0x20be03);return;}}else{if(this[_0x4a25bc(0x184)]){const _0x5d69b6=this['createError'](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x56ce77(_0x5d69b6);return;}}this[_0x4a25bc(0x273)]===0x7e?this[_0x4a25bc(0x28b)]=_0x28ade6:this['_payloadLength']===0x7f?this[_0x4a25bc(0x28b)]=_0x59cddc:this[_0x4a25bc(0x10a)](_0x56ce77);}[_0x4ff699(0x21f)](_0x1f3c6d){const _0x3aa50e=_0x4ff699;if(this[_0x3aa50e(0x274)]<0x2){this['_loop']=!0x1;return;}this[_0x3aa50e(0x273)]=this[_0x3aa50e(0x227)](0x2)[_0x3aa50e(0x2b0)](0x0),this[_0x3aa50e(0x10a)](_0x1f3c6d);}[_0x4ff699(0x119)](_0x4400f4){const _0x300651=_0x4ff699;if(this['_bufferedBytes']<0x8){this[_0x300651(0x116)]=!0x1;return;}const _0x536b56=this[_0x300651(0x227)](0x8),_0x88b073=_0x536b56[_0x300651(0x291)](0x0);if(_0x88b073>Math[_0x300651(0x13a)](0x2,0x15)-0x1){const _0x56af7e=this['createError'](RangeError,_0x300651(0x175),!0x1,0x3f1,_0x300651(0x27e));_0x4400f4(_0x56af7e);return;}this[_0x300651(0x273)]=_0x88b073*Math['pow'](0x2,0x20)+_0x536b56[_0x300651(0x291)](0x4),this['haveLength'](_0x4400f4);}[_0x4ff699(0x10a)](_0x290d84){const _0x306a3c=_0x4ff699;if(this[_0x306a3c(0x273)]&&this[_0x306a3c(0x206)]<0x8&&(this[_0x306a3c(0x137)]+=this['_payloadLength'],this['_totalPayloadLength']>this[_0x306a3c(0x13c)]&&this[_0x306a3c(0x13c)]>0x0)){const _0x3f131b=this[_0x306a3c(0x17d)](RangeError,_0x306a3c(0x17a),!0x1,0x3f1,_0x306a3c(0x269));_0x290d84(_0x3f131b);return;}this[_0x306a3c(0x184)]?this[_0x306a3c(0x28b)]=_0x250d4a:this[_0x306a3c(0x28b)]=_0x49f951;}['getMask'](){const _0x578e4d=_0x4ff699;if(this[_0x578e4d(0x274)]<0x4){this[_0x578e4d(0x116)]=!0x1;return;}this[_0x578e4d(0x1db)]=this['consume'](0x4),this['_state']=_0x49f951;}[_0x4ff699(0x10e)](_0x19a8cf){const _0xeb493d=_0x4ff699;let _0x17d0f2=_0x498b05;if(this[_0xeb493d(0x273)]){if(this[_0xeb493d(0x274)]<this[_0xeb493d(0x273)]){this[_0xeb493d(0x116)]=!0x1;return;}_0x17d0f2=this['consume'](this[_0xeb493d(0x273)]),this['_masked']&&(this[_0xeb493d(0x1db)][0x0]|this['_mask'][0x1]|this[_0xeb493d(0x1db)][0x2]|this[_0xeb493d(0x1db)][0x3])!==0x0&&_0x447712(_0x17d0f2,this[_0xeb493d(0x1db)]);}if(this['_opcode']>0x7){this[_0xeb493d(0x209)](_0x17d0f2,_0x19a8cf);return;}if(this['_compressed']){this['_state']=_0x15e941,this['decompress'](_0x17d0f2,_0x19a8cf);return;}_0x17d0f2[_0xeb493d(0x22f)]&&(this[_0xeb493d(0x188)]=this[_0xeb493d(0x137)],this[_0xeb493d(0x114)]['push'](_0x17d0f2)),this['dataMessage'](_0x19a8cf);}[_0x4ff699(0x1d9)](_0x360ff6,_0xea930b){const _0x3d2644=_0x4ff699;this['_extensions'][_0x27bdad[_0x3d2644(0x2a6)]][_0x3d2644(0x1d9)](_0x360ff6,this[_0x3d2644(0x279)],(_0x2fab40,_0x30953e)=>{const _0x3a47cc=_0x3d2644;if(_0x2fab40)return _0xea930b(_0x2fab40);if(_0x30953e[_0x3a47cc(0x22f)]){if(this[_0x3a47cc(0x188)]+=_0x30953e['length'],this[_0x3a47cc(0x188)]>this[_0x3a47cc(0x13c)]&&this['_maxPayload']>0x0){const _0x55dd1e=this['createError'](RangeError,_0x3a47cc(0x17a),!0x1,0x3f1,_0x3a47cc(0x269));_0xea930b(_0x55dd1e);return;}this[_0x3a47cc(0x114)]['push'](_0x30953e);}this['dataMessage'](_0xea930b),this[_0x3a47cc(0x28b)]===_0x8955da&&this[_0x3a47cc(0x2b9)](_0xea930b);});}['dataMessage'](_0x273795){const _0x3304a7=_0x4ff699;if(!this[_0x3304a7(0x279)]){this[_0x3304a7(0x28b)]=_0x8955da;return;}const _0x1a5aac=this[_0x3304a7(0x188)],_0x21e80f=this['_fragments'];if(this[_0x3304a7(0x137)]=0x0,this[_0x3304a7(0x188)]=0x0,this[_0x3304a7(0x157)]=0x0,this[_0x3304a7(0x114)]=[],this[_0x3304a7(0x206)]===0x2){let _0x50e351;this[_0x3304a7(0x177)]==='nodebuffer'?_0x50e351=_0x3d5c83(_0x21e80f,_0x1a5aac):this['_binaryType']===_0x3304a7(0x2b5)?_0x50e351=_0x43a07b(_0x3d5c83(_0x21e80f,_0x1a5aac)):this[_0x3304a7(0x177)]===_0x3304a7(0x1a1)?_0x50e351=new Blob(_0x21e80f):_0x50e351=_0x21e80f,this['_allowSynchronousEvents']?(this['emit'](_0x3304a7(0x251),_0x50e351,!0x0),this[_0x3304a7(0x28b)]=_0x8955da):(this['_state']=_0x135fa2,setImmediate(()=>{const _0x3855cd=_0x3304a7;this[_0x3855cd(0x180)](_0x3855cd(0x251),_0x50e351,!0x0),this[_0x3855cd(0x28b)]=_0x8955da,this[_0x3855cd(0x2b9)](_0x273795);}));}else{const _0x31e987=_0x3d5c83(_0x21e80f,_0x1a5aac);if(!this[_0x3304a7(0x14c)]&&!_0x273665(_0x31e987)){const _0x486de3=this['createError'](Error,_0x3304a7(0x15b),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x273795(_0x486de3);return;}this['_state']===_0x15e941||this[_0x3304a7(0x14a)]?(this['emit'](_0x3304a7(0x251),_0x31e987,!0x1),this[_0x3304a7(0x28b)]=_0x8955da):(this[_0x3304a7(0x28b)]=_0x135fa2,setImmediate(()=>{const _0x468bc0=_0x3304a7;this[_0x468bc0(0x180)](_0x468bc0(0x251),_0x31e987,!0x1),this[_0x468bc0(0x28b)]=_0x8955da,this['startLoop'](_0x273795);}));}}[_0x4ff699(0x209)](_0x35e6ff,_0x211855){const _0xb328f=_0x4ff699;if(this[_0xb328f(0x206)]===0x8){if(_0x35e6ff['length']===0x0)this[_0xb328f(0x116)]=!0x1,this[_0xb328f(0x180)](_0xb328f(0x2a1),0x3ed,_0x498b05),this[_0xb328f(0x28a)]();else{const _0x1efa5d=_0x35e6ff[_0xb328f(0x2b0)](0x0);if(!_0x4bfc62(_0x1efa5d)){const _0x2670b8=this['createError'](RangeError,_0xb328f(0x16d)+_0x1efa5d,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x211855(_0x2670b8);return;}const _0x5261bb=new _0x205650(_0x35e6ff['buffer'],_0x35e6ff[_0xb328f(0x293)]+0x2,_0x35e6ff[_0xb328f(0x22f)]-0x2);if(!this[_0xb328f(0x14c)]&&!_0x273665(_0x5261bb)){const _0x4949eb=this['createError'](Error,_0xb328f(0x15b),!0x0,0x3ef,_0xb328f(0x27d));_0x211855(_0x4949eb);return;}this[_0xb328f(0x116)]=!0x1,this[_0xb328f(0x180)]('conclude',_0x1efa5d,_0x5261bb),this['end']();}this['_state']=_0x8955da;return;}this[_0xb328f(0x14a)]?(this[_0xb328f(0x180)](this[_0xb328f(0x206)]===0x9?_0xb328f(0x284):_0xb328f(0x136),_0x35e6ff),this[_0xb328f(0x28b)]=_0x8955da):(this['_state']=_0x135fa2,setImmediate(()=>{const _0x57dc3c=_0xb328f;this[_0x57dc3c(0x180)](this['_opcode']===0x9?_0x57dc3c(0x284):'pong',_0x35e6ff),this[_0x57dc3c(0x28b)]=_0x8955da,this[_0x57dc3c(0x2b9)](_0x211855);}));}['createError'](_0x913ca2,_0x52e524,_0x245897,_0x28ccd3,_0x3cbccd){const _0x284759=_0x4ff699;this[_0x284759(0x116)]=!0x1,this['_errored']=!0x0;const _0x5114b8=new _0x913ca2(_0x245897?_0x284759(0x263)+_0x52e524:_0x52e524);return Error[_0x284759(0x253)](_0x5114b8,this[_0x284759(0x17d)]),_0x5114b8[_0x284759(0x16c)]=_0x3cbccd,_0x5114b8[_0x54a016]=_0x28ccd3,_0x5114b8;}}return Se=_0x39f668,Se;}var Ee,et;function _t(){const _0x32af3b=_0x1f3744;if(et)return Ee;et=0x1;const {Duplex:_0x7a8940}=_0x4c11d0,{randomFillSync:_0x524d44}=_0x228f19,_0x1e1ec5=he(),{EMPTY_BUFFER:_0x158dfa,kWebSocket:_0x5d1a73,NOOP:_0x44d558}=V(),{isBlob:_0x30593c,isValidStatusCode:_0x5af0aa}=ne(),{mask:_0xe128dc,toBuffer:_0x2ded78}=ce(),_0x3c207c=Symbol(_0x32af3b(0x154)),_0x470c6a=Buffer['alloc'](0x4),_0x1da207=0x8*0x400;let _0x112bb8,_0x4b59d2=_0x1da207;const _0x10a41d=0x0,_0x27c2f9=0x1,_0x48bef6=0x2;class _0x1fdc77{constructor(_0x24a6e2,_0x4a65f5,_0x22c7f1){const _0x1e0c1f=_0x32af3b;this['_extensions']=_0x4a65f5||{},_0x22c7f1&&(this['_generateMask']=_0x22c7f1,this['_maskBuffer']=Buffer['alloc'](0x4)),this[_0x1e0c1f(0x257)]=_0x24a6e2,this['_firstFragment']=!0x0,this['_compress']=!0x1,this[_0x1e0c1f(0x274)]=0x0,this['_queue']=[],this[_0x1e0c1f(0x28b)]=_0x10a41d,this[_0x1e0c1f(0x148)]=_0x44d558,this[_0x5d1a73]=void 0x0;}static[_0x32af3b(0x151)](_0xea4ad1,_0x22494f){const _0x3d9dbb=_0x32af3b;let _0x5bfcd6,_0x5cc1d4=!0x1,_0x5afc94=0x2,_0x4d4170=!0x1;_0x22494f[_0x3d9dbb(0x221)]&&(_0x5bfcd6=_0x22494f[_0x3d9dbb(0x196)]||_0x470c6a,_0x22494f[_0x3d9dbb(0x208)]?_0x22494f[_0x3d9dbb(0x208)](_0x5bfcd6):(_0x4b59d2===_0x1da207&&(_0x112bb8===void 0x0&&(_0x112bb8=Buffer[_0x3d9dbb(0x190)](_0x1da207)),_0x524d44(_0x112bb8,0x0,_0x1da207),_0x4b59d2=0x0),_0x5bfcd6[0x0]=_0x112bb8[_0x4b59d2++],_0x5bfcd6[0x1]=_0x112bb8[_0x4b59d2++],_0x5bfcd6[0x2]=_0x112bb8[_0x4b59d2++],_0x5bfcd6[0x3]=_0x112bb8[_0x4b59d2++]),_0x4d4170=(_0x5bfcd6[0x0]|_0x5bfcd6[0x1]|_0x5bfcd6[0x2]|_0x5bfcd6[0x3])===0x0,_0x5afc94=0x6);let _0x37d555;typeof _0xea4ad1==_0x3d9dbb(0x23b)?(!_0x22494f[_0x3d9dbb(0x221)]||_0x4d4170)&&_0x22494f[_0x3c207c]!==void 0x0?_0x37d555=_0x22494f[_0x3c207c]:(_0xea4ad1=Buffer[_0x3d9dbb(0x218)](_0xea4ad1),_0x37d555=_0xea4ad1[_0x3d9dbb(0x22f)]):(_0x37d555=_0xea4ad1['length'],_0x5cc1d4=_0x22494f[_0x3d9dbb(0x221)]&&_0x22494f[_0x3d9dbb(0x19c)]&&!_0x4d4170);let _0x4e7080=_0x37d555;_0x37d555>=0x10000?(_0x5afc94+=0x8,_0x4e7080=0x7f):_0x37d555>0x7d&&(_0x5afc94+=0x2,_0x4e7080=0x7e);const _0x1bc420=Buffer[_0x3d9dbb(0x1cf)](_0x5cc1d4?_0x37d555+_0x5afc94:_0x5afc94);return _0x1bc420[0x0]=_0x22494f[_0x3d9dbb(0x1bd)]?_0x22494f[_0x3d9dbb(0x2b4)]|0x80:_0x22494f[_0x3d9dbb(0x2b4)],_0x22494f[_0x3d9dbb(0x12a)]&&(_0x1bc420[0x0]|=0x40),_0x1bc420[0x1]=_0x4e7080,_0x4e7080===0x7e?_0x1bc420[_0x3d9dbb(0x29f)](_0x37d555,0x2):_0x4e7080===0x7f&&(_0x1bc420[0x2]=_0x1bc420[0x3]=0x0,_0x1bc420['writeUIntBE'](_0x37d555,0x4,0x6)),_0x22494f[_0x3d9dbb(0x221)]?(_0x1bc420[0x1]|=0x80,_0x1bc420[_0x5afc94-0x4]=_0x5bfcd6[0x0],_0x1bc420[_0x5afc94-0x3]=_0x5bfcd6[0x1],_0x1bc420[_0x5afc94-0x2]=_0x5bfcd6[0x2],_0x1bc420[_0x5afc94-0x1]=_0x5bfcd6[0x3],_0x4d4170?[_0x1bc420,_0xea4ad1]:_0x5cc1d4?(_0xe128dc(_0xea4ad1,_0x5bfcd6,_0x1bc420,_0x5afc94,_0x37d555),[_0x1bc420]):(_0xe128dc(_0xea4ad1,_0x5bfcd6,_0xea4ad1,0x0,_0x37d555),[_0x1bc420,_0xea4ad1])):[_0x1bc420,_0xea4ad1];}['close'](_0x3dd425,_0x2d7865,_0x5375f3,_0x5bf03a){const _0x12a03e=_0x32af3b;let _0x5e0a21;if(_0x3dd425===void 0x0)_0x5e0a21=_0x158dfa;else{if(typeof _0x3dd425!='number'||!_0x5af0aa(_0x3dd425))throw new TypeError(_0x12a03e(0x130));if(_0x2d7865===void 0x0||!_0x2d7865[_0x12a03e(0x22f)])_0x5e0a21=Buffer[_0x12a03e(0x1cf)](0x2),_0x5e0a21[_0x12a03e(0x29f)](_0x3dd425,0x0);else{const _0x3d8e2a=Buffer[_0x12a03e(0x233)](_0x2d7865);if(_0x3d8e2a>0x7b)throw new RangeError(_0x12a03e(0x231));_0x5e0a21=Buffer[_0x12a03e(0x1cf)](0x2+_0x3d8e2a),_0x5e0a21[_0x12a03e(0x29f)](_0x3dd425,0x0),typeof _0x2d7865=='string'?_0x5e0a21[_0x12a03e(0x1c3)](_0x2d7865,0x2):_0x5e0a21[_0x12a03e(0x17b)](_0x2d7865,0x2);}}const _0x59cf55={[_0x3c207c]:_0x5e0a21[_0x12a03e(0x22f)],'fin':!0x0,'generateMask':this[_0x12a03e(0x1f5)],'mask':_0x5375f3,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x12a03e(0x28b)]!==_0x10a41d?this['enqueue']([this[_0x12a03e(0x194)],_0x5e0a21,!0x1,_0x59cf55,_0x5bf03a]):this[_0x12a03e(0x1c0)](_0x1fdc77[_0x12a03e(0x151)](_0x5e0a21,_0x59cf55),_0x5bf03a);}[_0x32af3b(0x284)](_0x323a36,_0x2bfc03,_0x5839ff){const _0x259c02=_0x32af3b;let _0x42152f,_0x1da90f;if(typeof _0x323a36==_0x259c02(0x23b)?(_0x42152f=Buffer['byteLength'](_0x323a36),_0x1da90f=!0x1):_0x30593c(_0x323a36)?(_0x42152f=_0x323a36[_0x259c02(0x2a3)],_0x1da90f=!0x1):(_0x323a36=_0x2ded78(_0x323a36),_0x42152f=_0x323a36['length'],_0x1da90f=_0x2ded78[_0x259c02(0x19c)]),_0x42152f>0x7d)throw new RangeError(_0x259c02(0x17e));const _0x531539={[_0x3c207c]:_0x42152f,'fin':!0x0,'generateMask':this[_0x259c02(0x1f5)],'mask':_0x2bfc03,'maskBuffer':this[_0x259c02(0x229)],'opcode':0x9,'readOnly':_0x1da90f,'rsv1':!0x1};_0x30593c(_0x323a36)?this[_0x259c02(0x28b)]!==_0x10a41d?this[_0x259c02(0x138)]([this[_0x259c02(0x16e)],_0x323a36,!0x1,_0x531539,_0x5839ff]):this['getBlobData'](_0x323a36,!0x1,_0x531539,_0x5839ff):this[_0x259c02(0x28b)]!==_0x10a41d?this['enqueue']([this['dispatch'],_0x323a36,!0x1,_0x531539,_0x5839ff]):this[_0x259c02(0x1c0)](_0x1fdc77['frame'](_0x323a36,_0x531539),_0x5839ff);}[_0x32af3b(0x136)](_0x417044,_0x50bf78,_0x4edf2b){const _0x163cc3=_0x32af3b;let _0x25a9b5,_0x241ef4;if(typeof _0x417044==_0x163cc3(0x23b)?(_0x25a9b5=Buffer[_0x163cc3(0x233)](_0x417044),_0x241ef4=!0x1):_0x30593c(_0x417044)?(_0x25a9b5=_0x417044[_0x163cc3(0x2a3)],_0x241ef4=!0x1):(_0x417044=_0x2ded78(_0x417044),_0x25a9b5=_0x417044['length'],_0x241ef4=_0x2ded78[_0x163cc3(0x19c)]),_0x25a9b5>0x7d)throw new RangeError(_0x163cc3(0x17e));const _0x5ad7d3={[_0x3c207c]:_0x25a9b5,'fin':!0x0,'generateMask':this[_0x163cc3(0x1f5)],'mask':_0x50bf78,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x241ef4,'rsv1':!0x1};_0x30593c(_0x417044)?this[_0x163cc3(0x28b)]!==_0x10a41d?this[_0x163cc3(0x138)]([this[_0x163cc3(0x16e)],_0x417044,!0x1,_0x5ad7d3,_0x4edf2b]):this[_0x163cc3(0x16e)](_0x417044,!0x1,_0x5ad7d3,_0x4edf2b):this[_0x163cc3(0x28b)]!==_0x10a41d?this['enqueue']([this[_0x163cc3(0x194)],_0x417044,!0x1,_0x5ad7d3,_0x4edf2b]):this[_0x163cc3(0x1c0)](_0x1fdc77[_0x163cc3(0x151)](_0x417044,_0x5ad7d3),_0x4edf2b);}[_0x32af3b(0x2bd)](_0x827c0e,_0x1fc1ff,_0x2b91e2){const _0x270d44=_0x32af3b,_0x30a0a6=this[_0x270d44(0x22a)][_0x1e1ec5[_0x270d44(0x2a6)]];let _0x2e6631=_0x1fc1ff[_0x270d44(0x11f)]?0x2:0x1,_0x6199c4=_0x1fc1ff[_0x270d44(0x20c)],_0x953c7e,_0x581671;typeof _0x827c0e==_0x270d44(0x23b)?(_0x953c7e=Buffer[_0x270d44(0x233)](_0x827c0e),_0x581671=!0x1):_0x30593c(_0x827c0e)?(_0x953c7e=_0x827c0e[_0x270d44(0x2a3)],_0x581671=!0x1):(_0x827c0e=_0x2ded78(_0x827c0e),_0x953c7e=_0x827c0e['length'],_0x581671=_0x2ded78[_0x270d44(0x19c)]),this[_0x270d44(0x162)]?(this[_0x270d44(0x162)]=!0x1,_0x6199c4&&_0x30a0a6&&_0x30a0a6[_0x270d44(0x1c2)][_0x30a0a6[_0x270d44(0x18c)]?_0x270d44(0x211):'client_no_context_takeover']&&(_0x6199c4=_0x953c7e>=_0x30a0a6[_0x270d44(0x122)]),this['_compress']=_0x6199c4):(_0x6199c4=!0x1,_0x2e6631=0x0),_0x1fc1ff[_0x270d44(0x1bd)]&&(this['_firstFragment']=!0x0);const _0x5ce217={[_0x3c207c]:_0x953c7e,'fin':_0x1fc1ff[_0x270d44(0x1bd)],'generateMask':this[_0x270d44(0x1f5)],'mask':_0x1fc1ff['mask'],'maskBuffer':this[_0x270d44(0x229)],'opcode':_0x2e6631,'readOnly':_0x581671,'rsv1':_0x6199c4};_0x30593c(_0x827c0e)?this['_state']!==_0x10a41d?this[_0x270d44(0x138)]([this[_0x270d44(0x16e)],_0x827c0e,this[_0x270d44(0x27f)],_0x5ce217,_0x2b91e2]):this[_0x270d44(0x16e)](_0x827c0e,this['_compress'],_0x5ce217,_0x2b91e2):this[_0x270d44(0x28b)]!==_0x10a41d?this[_0x270d44(0x138)]([this['dispatch'],_0x827c0e,this[_0x270d44(0x27f)],_0x5ce217,_0x2b91e2]):this[_0x270d44(0x194)](_0x827c0e,this[_0x270d44(0x27f)],_0x5ce217,_0x2b91e2);}[_0x32af3b(0x16e)](_0x1e602d,_0x543ed1,_0x272117,_0x832d34){const _0x48731c=_0x32af3b;this['_bufferedBytes']+=_0x272117[_0x3c207c],this['_state']=_0x48bef6,_0x1e602d[_0x48731c(0x17f)]()[_0x48731c(0x18d)](_0x2ad5a8=>{const _0x5e26f1=_0x48731c;if(this[_0x5e26f1(0x257)][_0x5e26f1(0x146)]){const _0x53529a=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x5e26f1(0x2ac)](_0x4e00b4,this,_0x53529a,_0x832d34);return;}this['_bufferedBytes']-=_0x272117[_0x3c207c];const _0x2919cd=_0x2ded78(_0x2ad5a8);_0x543ed1?this[_0x5e26f1(0x194)](_0x2919cd,_0x543ed1,_0x272117,_0x832d34):(this[_0x5e26f1(0x28b)]=_0x10a41d,this[_0x5e26f1(0x1c0)](_0x1fdc77[_0x5e26f1(0x151)](_0x2919cd,_0x272117),_0x832d34),this[_0x5e26f1(0x264)]());})['catch'](_0x21588c=>{const _0x2ae465=_0x48731c;process[_0x2ae465(0x2ac)](_0x542ee5,this,_0x21588c,_0x832d34);});}[_0x32af3b(0x194)](_0x1740bb,_0x28c44e,_0x510032,_0x6ab6bb){const _0x4b7251=_0x32af3b;if(!_0x28c44e){this[_0x4b7251(0x1c0)](_0x1fdc77[_0x4b7251(0x151)](_0x1740bb,_0x510032),_0x6ab6bb);return;}const _0x23b56b=this[_0x4b7251(0x22a)][_0x1e1ec5[_0x4b7251(0x2a6)]];this['_bufferedBytes']+=_0x510032[_0x3c207c],this[_0x4b7251(0x28b)]=_0x27c2f9,_0x23b56b[_0x4b7251(0x20c)](_0x1740bb,_0x510032[_0x4b7251(0x1bd)],(_0x148cae,_0x1c9e61)=>{const _0x10f3bf=_0x4b7251;if(this[_0x10f3bf(0x257)][_0x10f3bf(0x146)]){const _0x146577=new Error(_0x10f3bf(0x1d8));_0x4e00b4(this,_0x146577,_0x6ab6bb);return;}this[_0x10f3bf(0x274)]-=_0x510032[_0x3c207c],this[_0x10f3bf(0x28b)]=_0x10a41d,_0x510032[_0x10f3bf(0x19c)]=!0x1,this['sendFrame'](_0x1fdc77[_0x10f3bf(0x151)](_0x1c9e61,_0x510032),_0x6ab6bb),this[_0x10f3bf(0x264)]();});}['dequeue'](){const _0x30ee74=_0x32af3b;for(;this[_0x30ee74(0x28b)]===_0x10a41d&&this[_0x30ee74(0x275)]['length'];){const _0x2730cb=this['_queue'][_0x30ee74(0x128)]();this[_0x30ee74(0x274)]-=_0x2730cb[0x3][_0x3c207c],Reflect[_0x30ee74(0x203)](_0x2730cb[0x0],this,_0x2730cb['slice'](0x1));}}[_0x32af3b(0x138)](_0x3a280a){const _0x20f2f8=_0x32af3b;this[_0x20f2f8(0x274)]+=_0x3a280a[0x3][_0x3c207c],this[_0x20f2f8(0x275)][_0x20f2f8(0x18b)](_0x3a280a);}['sendFrame'](_0x68bd61,_0x32dee2){const _0x365009=_0x32af3b;_0x68bd61[_0x365009(0x22f)]===0x2?(this[_0x365009(0x257)][_0x365009(0x23e)](),this[_0x365009(0x257)][_0x365009(0x1c3)](_0x68bd61[0x0]),this[_0x365009(0x257)][_0x365009(0x1c3)](_0x68bd61[0x1],_0x32dee2),this[_0x365009(0x257)][_0x365009(0x1b2)]()):this['_socket'][_0x365009(0x1c3)](_0x68bd61[0x0],_0x32dee2);}}Ee=_0x1fdc77;function _0x4e00b4(_0x5d53cc,_0x23d290,_0x57db58){const _0x6416d4=_0x32af3b;typeof _0x57db58==_0x6416d4(0x12c)&&_0x57db58(_0x23d290);for(let _0x5bbc53=0x0;_0x5bbc53<_0x5d53cc[_0x6416d4(0x275)][_0x6416d4(0x22f)];_0x5bbc53++){const _0x13db6d=_0x5d53cc[_0x6416d4(0x275)][_0x5bbc53],_0xea8ec=_0x13db6d[_0x13db6d[_0x6416d4(0x22f)]-0x1];typeof _0xea8ec==_0x6416d4(0x12c)&&_0xea8ec(_0x23d290);}}function _0x542ee5(_0x6126aa,_0x47a9b8,_0x5c3304){const _0x2e268a=_0x32af3b;_0x4e00b4(_0x6126aa,_0x47a9b8,_0x5c3304),_0x6126aa[_0x2e268a(0x148)](_0x47a9b8);}return Ee;}var xe,tt;function _0x25cc(_0x3fb857,_0x25e597){const _0x13dc75=_0x13dc();return _0x25cc=function(_0x25cc07,_0x180883){_0x25cc07=_0x25cc07-0x108;let _0x4ac5b8=_0x13dc75[_0x25cc07];return _0x4ac5b8;},_0x25cc(_0x3fb857,_0x25e597);}function Kt(){const _0x257b45=_0x1f3744;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x361980,kListener:_0x55ec47}=V(),_0x161998=Symbol(_0x257b45(0x1ed)),_0x11a84e=Symbol(_0x257b45(0x2a2)),_0x51d65c=Symbol(_0x257b45(0x140)),_0x2687e5=Symbol(_0x257b45(0x117)),_0x4f3605=Symbol('kReason'),_0x203cea=Symbol(_0x257b45(0x223)),_0x300038=Symbol(_0x257b45(0x17c)),_0x295151=Symbol('kWasClean');class _0x2b9b76{constructor(_0x171fdc){this[_0x203cea]=null,this[_0x300038]=_0x171fdc;}get[_0x257b45(0x141)](){return this[_0x203cea];}get[_0x257b45(0x11d)](){return this[_0x300038];}}Object['defineProperty'](_0x2b9b76[_0x257b45(0x289)],_0x257b45(0x141),{'enumerable':!0x0}),Object[_0x257b45(0x160)](_0x2b9b76[_0x257b45(0x289)],'type',{'enumerable':!0x0});class _0x4e2d21 extends _0x2b9b76{constructor(_0x16e53f,_0x1c9964={}){const _0x20b531=_0x257b45;super(_0x16e53f),this[_0x161998]=_0x1c9964[_0x20b531(0x16c)]===void 0x0?0x0:_0x1c9964[_0x20b531(0x16c)],this[_0x4f3605]=_0x1c9964[_0x20b531(0x166)]===void 0x0?'':_0x1c9964[_0x20b531(0x166)],this[_0x295151]=_0x1c9964[_0x20b531(0x1b3)]===void 0x0?!0x1:_0x1c9964[_0x20b531(0x1b3)];}get[_0x257b45(0x16c)](){return this[_0x161998];}get[_0x257b45(0x166)](){return this[_0x4f3605];}get[_0x257b45(0x1b3)](){return this[_0x295151];}}Object['defineProperty'](_0x4e2d21[_0x257b45(0x289)],'code',{'enumerable':!0x0}),Object[_0x257b45(0x160)](_0x4e2d21['prototype'],_0x257b45(0x166),{'enumerable':!0x0}),Object[_0x257b45(0x160)](_0x4e2d21[_0x257b45(0x289)],_0x257b45(0x1b3),{'enumerable':!0x0});class _0x1fcc4e extends _0x2b9b76{constructor(_0xcf9a64,_0x22a2f2={}){const _0x5f339f=_0x257b45;super(_0xcf9a64),this[_0x51d65c]=_0x22a2f2[_0x5f339f(0x25e)]===void 0x0?null:_0x22a2f2[_0x5f339f(0x25e)],this[_0x2687e5]=_0x22a2f2[_0x5f339f(0x251)]===void 0x0?'':_0x22a2f2[_0x5f339f(0x251)];}get[_0x257b45(0x25e)](){return this[_0x51d65c];}get[_0x257b45(0x251)](){return this[_0x2687e5];}}Object['defineProperty'](_0x1fcc4e['prototype'],_0x257b45(0x25e),{'enumerable':!0x0}),Object[_0x257b45(0x160)](_0x1fcc4e[_0x257b45(0x289)],_0x257b45(0x251),{'enumerable':!0x0});class _0x5a164c extends _0x2b9b76{constructor(_0x32de06,_0x2c808f={}){const _0x8e3d7f=_0x257b45;super(_0x32de06),this[_0x11a84e]=_0x2c808f[_0x8e3d7f(0x220)]===void 0x0?null:_0x2c808f['data'];}get['data'](){return this[_0x11a84e];}}Object[_0x257b45(0x160)](_0x5a164c[_0x257b45(0x289)],_0x257b45(0x220),{'enumerable':!0x0}),xe={'CloseEvent':_0x4e2d21,'ErrorEvent':_0x1fcc4e,'Event':_0x2b9b76,'EventTarget':{'addEventListener'(_0x5e9674,_0x786f73,_0x4626c0={}){const _0x2c74c1=_0x257b45;for(const _0x1c129b of this[_0x2c74c1(0x121)](_0x5e9674))if(!_0x4626c0[_0x361980]&&_0x1c129b[_0x55ec47]===_0x786f73&&!_0x1c129b[_0x361980])return;let _0x54f001;if(_0x5e9674===_0x2c74c1(0x251))_0x54f001=function(_0x7e3493,_0x51a149){const _0x2777a3=_0x2c74c1,_0x311ed6=new _0x5a164c('message',{'data':_0x51a149?_0x7e3493:_0x7e3493[_0x2777a3(0x23a)]()});_0x311ed6[_0x203cea]=this,_0x392140(_0x786f73,this,_0x311ed6);};else{if(_0x5e9674===_0x2c74c1(0x115))_0x54f001=function(_0x4a18e8,_0x2c7acb){const _0xf22df5=_0x2c74c1,_0x5d885d=new _0x4e2d21(_0xf22df5(0x115),{'code':_0x4a18e8,'reason':_0x2c7acb[_0xf22df5(0x23a)](),'wasClean':this[_0xf22df5(0x272)]&&this[_0xf22df5(0x1e9)]});_0x5d885d[_0x203cea]=this,_0x392140(_0x786f73,this,_0x5d885d);};else{if(_0x5e9674===_0x2c74c1(0x25e))_0x54f001=function(_0x56fd88){const _0x13efb9=_0x2c74c1,_0x4090c1=new _0x1fcc4e('error',{'error':_0x56fd88,'message':_0x56fd88[_0x13efb9(0x251)]});_0x4090c1[_0x203cea]=this,_0x392140(_0x786f73,this,_0x4090c1);};else{if(_0x5e9674==='open')_0x54f001=function(){const _0x30a84a=new _0x2b9b76('open');_0x30a84a[_0x203cea]=this,_0x392140(_0x786f73,this,_0x30a84a);};else return;}}}_0x54f001[_0x361980]=!!_0x4626c0[_0x361980],_0x54f001[_0x55ec47]=_0x786f73,_0x4626c0[_0x2c74c1(0x2bc)]?this[_0x2c74c1(0x2bc)](_0x5e9674,_0x54f001):this['on'](_0x5e9674,_0x54f001);},'removeEventListener'(_0x33568a,_0x3b984d){const _0x28f13d=_0x257b45;for(const _0x5a029c of this[_0x28f13d(0x121)](_0x33568a))if(_0x5a029c[_0x55ec47]===_0x3b984d&&!_0x5a029c[_0x361980]){this[_0x28f13d(0x1eb)](_0x33568a,_0x5a029c);break;}}},'MessageEvent':_0x5a164c};function _0x392140(_0x29eac5,_0x53cd7e,_0x5d17c6){const _0x546d9d=_0x257b45;typeof _0x29eac5==_0x546d9d(0x181)&&_0x29eac5['handleEvent']?_0x29eac5['handleEvent']['call'](_0x29eac5,_0x5d17c6):_0x29eac5[_0x546d9d(0x243)](_0x53cd7e,_0x5d17c6);}return xe;}function _0x13dc(){const _0x2c50fb=['endEmitted','frame','cleanup','pause','kByteLength','_configService','wsClientError','_fragmented','base64','Basic\x20','format','invalid\x20UTF-8\x20sequence','hasOwnProperty','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','sec-websocket-protocol','forEach','defineProperty','allowSynchronousEvents','_firstFragment','isBuffer','clientMaxWindowBits','finished','reason','setTimeout','_server','websocket','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','extensions','code','invalid\x20status\x20code\x20','getBlobData','WS_NO_UTF_8_VALIDATE','Invalid\x20HTTP\x20method','map','_closeMessage','servername','maxRedirects','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','kListener','_binaryType','pluginName','finish','Max\x20payload\x20size\x20exceeded','set','kType','createError','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','arrayBuffer','emit','object','upgrade','\x22\x20subprotocol\x20is\x20duplicated','_masked','buffer','client_no_context_takeover','9REYang','_messageLength','ws+unix:','_closeTimer','push','_isServer','then','createConnection','species','alloc','unshift','host','url','dispatch','noServer','maskBuffer','listen','clientTracking','Unsupported\x20protocol\x20version:\x20','errorEmitted','Blob','readOnly','digest','WebSocket','value','verifyClient','blob','terminate','_receiver','_registerDependencies','_deflate','password','dispose','ws:','auth','values','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','setNoDelay','hash','_paused','nodebuffer','_errored','_removeListeners','uncork','wasClean','kRun','destroy','statusCode','buffers','port','replace','Cookie','client_max_window_bits','_sender','fin','next','constructor','sendFrame','STATUS_CODES','params','write','_readyState','9aPXVKc','location','read','slice','entries','method','\x20(supported\x20versions:\x20','removeEventListener','maxPayload','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','allocUnsafe','handleProtocols','test','onclose','823796wLWHZZ','path','toLowerCase','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','cookie','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','decompress','Invalid\x20Sec-WebSocket-Accept\x20header','_mask','authorization','5985406sNrbut','find','acceptAsClient','kAborted','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','permessage-deflate','fragments','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','indexOf','startsWith','_closeFrameSent','Maximum\x20redirects\x20exceeded','removeListener','delete','kCode','_readableState','request','options','exports','__esModule','addEventListener','HTTP/1.1\x20','_generateMask','_injector','isServer','open','WS_ERR_UNEXPECTED_RSV_2_3','followRedirects','The\x20URL\x20contains\x20a\x20fragment\x20identifier','isInteger','isPaused','listenerCount','unmask','invalid\x20opcode\x20','_originalIpc','backlog','apply','headers','acceptAsServer','_opcode','CLOSING','generateMask','controlMessage','sha1','isArray','compress','6162900imrYcx','Sec-WebSocket-Extensions','update','toStringTag','server_no_context_takeover','skipUTF8Validation','_write','Sec-WebSocket-Origin','abort','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','concurrencyLimit','from','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_originalSecure','http:','OPEN','_compressed','shouldHandle','getPayloadLength16','data','mask','response','kTarget','serverNoContextTakeover','_protocol','sec-websocket-origin','consume','getConfig','_maskBuffer','_extensions','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','The\x20\x22','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','_writableState','length','getOwnPropertyDescriptor','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','sec-websocket-extensions','byteLength','origin','_inflate','_buffers','Parameter\x20\x22','offer','address','toString','string','split','Z_SYNC_FLUSH','cork','\x22:\x20','pipe','reset','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','call','callback','binaryType','charCodeAt','isValidUTF8','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','freeze','_decompress','Upgrade','Sec-WebSocket-Protocol','_options','_originalHostOrSocketPath','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','The\x20URL\x27s\x20pathname\x20is\x20empty','message','objectMode','captureStackTrace','socketPath','timeout','threshold','_socket','perMessageDeflate','authorized','unexpected-response','sec-websocket-version','Origin','stream','error','Z_DEFAULT_WINDOWBITS','WS_ERR_EXPECTED_MASK','The\x20server\x20is\x20not\x20running','zlibDeflateOptions','Invalid\x20WebSocket\x20frame:\x20','dequeue','default','encrypted','pending','readyState','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Invalid\x20value\x20for\x20parameter\x20\x22','total-length','Unexpected\x20character\x20at\x20index\x20','server_max_window_bits','Server\x20sent\x20no\x20subprotocol','protocol','hostname','Unknown\x20parameter\x20\x22','_closeFrameReceived','_payloadLength','_bufferedBytes','_queue','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','5021235NXOeuV','setSocket','_fin','construct','_httpService','Opening\x20handshake\x20has\x20timed\x20out','WS_ERR_INVALID_UTF8','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','_compress','warn','GET','writeHead','setConfig','ping','bind','_shouldEmitClose','username','5874184lpmzwh','prototype','end','_state','connection','pathname','protocolVersion','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','join','readUInt32BE','readable','byteOffset','createDeflateRaw','716584WrZJkd','includes','handshakeTimeout','Invalid\x20Sec-WebSocket-Extensions\x20header','defaultPort','CLOSED','getMask','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','has','_errorEmitted','writeUInt16BE','\x22\x20must\x20have\x20only\x20a\x20single\x20value','conclude','kData','size','RSV1\x20must\x20be\x20clear','getInfo','extensionName','listening','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','status-code','Invalid\x20URL:\x20','autoPong','nextTick','Unexpected\x20end\x20of\x20input','completeUpgrade','Module','readUInt16BE','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','customHeaders','Connection:\x20Upgrade','opcode','arraybuffer','resume','onmessage','FIN\x20must\x20be\x20set','startLoop','_final','_url','once','send','add','Server\x20sent\x20an\x20invalid\x20subprotocol','Invalid\x20Upgrade\x20header','haveLength','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','flush','_bufferedAmount','getData','concurrency','createSocket','WS_ERR_UNEXPECTED_RSV_1','drain','writable','_fragments','close','_loop','kMessage','477794AIDfnM','getPayloadLength64','collaboration-client-node.config','invalid\x20payload\x20length\x20','wss:','type','socket','binary','redirect','listeners','_threshold','number','File','create','concat','server','shift','_destroy','rsv1','Upgrade:\x20websocket','function','clients','WS_ERR_INVALID_OPCODE','keys','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','CONNECTING','parse','bufferedAmount','serverMaxWindowBits','_closeCode','pong','_totalPayloadLength','enqueue','_no_context_takeover','pow','accept','_maxPayload','finishRequest','client','_redirects','kError','target','env','_req','emitClose','Sec-WebSocket-Extensions:\x20','destroyed','clientNoContextTakeover','onerror','jobs','_allowSynchronousEvents','needDrain','_skipUTF8Validation','Sec-WebSocket-Accept:\x20','_autoPong','WS_ERR_EXPECTED_FIN'];_0x13dc=function(){return _0x2c50fb;};return _0x13dc();}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x236eba}=ne();function _0x3891c0(_0x488c0d,_0x14d43e,_0x46e05e){const _0x2d8c84=_0x25cc;_0x488c0d[_0x14d43e]===void 0x0?_0x488c0d[_0x14d43e]=[_0x46e05e]:_0x488c0d[_0x14d43e][_0x2d8c84(0x18b)](_0x46e05e);}function _0x55651c(_0x29c876){const _0xb0fcc0=_0x25cc,_0x3fa848=Object[_0xb0fcc0(0x125)](null);let _0xca3e20=Object[_0xb0fcc0(0x125)](null),_0xf149fa=!0x1,_0x2c9b37=!0x1,_0x2db84b=!0x1,_0x1d533d,_0xec9a32,_0x152870=-0x1,_0x5b15a7=-0x1,_0x346e49=-0x1,_0x2c6aa7=0x0;for(;_0x2c6aa7<_0x29c876['length'];_0x2c6aa7++)if(_0x5b15a7=_0x29c876[_0xb0fcc0(0x246)](_0x2c6aa7),_0x1d533d===void 0x0){if(_0x346e49===-0x1&&_0x236eba[_0x5b15a7]===0x1)_0x152870===-0x1&&(_0x152870=_0x2c6aa7);else{if(_0x2c6aa7!==0x0&&(_0x5b15a7===0x20||_0x5b15a7===0x9))_0x346e49===-0x1&&_0x152870!==-0x1&&(_0x346e49=_0x2c6aa7);else{if(_0x5b15a7===0x3b||_0x5b15a7===0x2c){if(_0x152870===-0x1)throw new SyntaxError(_0xb0fcc0(0x26c)+_0x2c6aa7);_0x346e49===-0x1&&(_0x346e49=_0x2c6aa7);const _0x55ab3c=_0x29c876[_0xb0fcc0(0x1c8)](_0x152870,_0x346e49);_0x5b15a7===0x2c?(_0x3891c0(_0x3fa848,_0x55ab3c,_0xca3e20),_0xca3e20=Object[_0xb0fcc0(0x125)](null)):_0x1d533d=_0x55ab3c,_0x152870=_0x346e49=-0x1;}else throw new SyntaxError(_0xb0fcc0(0x26c)+_0x2c6aa7);}}}else{if(_0xec9a32===void 0x0){if(_0x346e49===-0x1&&_0x236eba[_0x5b15a7]===0x1)_0x152870===-0x1&&(_0x152870=_0x2c6aa7);else{if(_0x5b15a7===0x20||_0x5b15a7===0x9)_0x346e49===-0x1&&_0x152870!==-0x1&&(_0x346e49=_0x2c6aa7);else{if(_0x5b15a7===0x3b||_0x5b15a7===0x2c){if(_0x152870===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2c6aa7);_0x346e49===-0x1&&(_0x346e49=_0x2c6aa7),_0x3891c0(_0xca3e20,_0x29c876[_0xb0fcc0(0x1c8)](_0x152870,_0x346e49),!0x0),_0x5b15a7===0x2c&&(_0x3891c0(_0x3fa848,_0x1d533d,_0xca3e20),_0xca3e20=Object['create'](null),_0x1d533d=void 0x0),_0x152870=_0x346e49=-0x1;}else{if(_0x5b15a7===0x3d&&_0x152870!==-0x1&&_0x346e49===-0x1)_0xec9a32=_0x29c876[_0xb0fcc0(0x1c8)](_0x152870,_0x2c6aa7),_0x152870=_0x346e49=-0x1;else throw new SyntaxError(_0xb0fcc0(0x26c)+_0x2c6aa7);}}}}else{if(_0x2c9b37){if(_0x236eba[_0x5b15a7]!==0x1)throw new SyntaxError(_0xb0fcc0(0x26c)+_0x2c6aa7);_0x152870===-0x1?_0x152870=_0x2c6aa7:_0xf149fa||(_0xf149fa=!0x0),_0x2c9b37=!0x1;}else{if(_0x2db84b){if(_0x236eba[_0x5b15a7]===0x1)_0x152870===-0x1&&(_0x152870=_0x2c6aa7);else{if(_0x5b15a7===0x22&&_0x152870!==-0x1)_0x2db84b=!0x1,_0x346e49=_0x2c6aa7;else{if(_0x5b15a7===0x5c)_0x2c9b37=!0x0;else throw new SyntaxError(_0xb0fcc0(0x26c)+_0x2c6aa7);}}}else{if(_0x5b15a7===0x22&&_0x29c876[_0xb0fcc0(0x246)](_0x2c6aa7-0x1)===0x3d)_0x2db84b=!0x0;else{if(_0x346e49===-0x1&&_0x236eba[_0x5b15a7]===0x1)_0x152870===-0x1&&(_0x152870=_0x2c6aa7);else{if(_0x152870!==-0x1&&(_0x5b15a7===0x20||_0x5b15a7===0x9))_0x346e49===-0x1&&(_0x346e49=_0x2c6aa7);else{if(_0x5b15a7===0x3b||_0x5b15a7===0x2c){if(_0x152870===-0x1)throw new SyntaxError(_0xb0fcc0(0x26c)+_0x2c6aa7);_0x346e49===-0x1&&(_0x346e49=_0x2c6aa7);let _0x11dedf=_0x29c876[_0xb0fcc0(0x1c8)](_0x152870,_0x346e49);_0xf149fa&&(_0x11dedf=_0x11dedf[_0xb0fcc0(0x1b9)](/\\/g,''),_0xf149fa=!0x1),_0x3891c0(_0xca3e20,_0xec9a32,_0x11dedf),_0x5b15a7===0x2c&&(_0x3891c0(_0x3fa848,_0x1d533d,_0xca3e20),_0xca3e20=Object[_0xb0fcc0(0x125)](null),_0x1d533d=void 0x0),_0xec9a32=void 0x0,_0x152870=_0x346e49=-0x1;}else throw new SyntaxError(_0xb0fcc0(0x26c)+_0x2c6aa7);}}}}}}}if(_0x152870===-0x1||_0x2db84b||_0x5b15a7===0x20||_0x5b15a7===0x9)throw new SyntaxError(_0xb0fcc0(0x2ad));_0x346e49===-0x1&&(_0x346e49=_0x2c6aa7);const _0x28616b=_0x29c876[_0xb0fcc0(0x1c8)](_0x152870,_0x346e49);return _0x1d533d===void 0x0?_0x3891c0(_0x3fa848,_0x28616b,_0xca3e20):(_0xec9a32===void 0x0?_0x3891c0(_0xca3e20,_0x28616b,!0x0):_0xf149fa?_0x3891c0(_0xca3e20,_0xec9a32,_0x28616b[_0xb0fcc0(0x1b9)](/\\/g,'')):_0x3891c0(_0xca3e20,_0xec9a32,_0x28616b),_0x3891c0(_0x3fa848,_0x1d533d,_0xca3e20)),_0x3fa848;}function _0xf8c154(_0x566341){const _0x5cd144=_0x25cc;return Object['keys'](_0x566341)['map'](_0x4e12b5=>{const _0x342853=_0x25cc;let _0x58bb06=_0x566341[_0x4e12b5];return Array[_0x342853(0x20b)](_0x58bb06)||(_0x58bb06=[_0x58bb06]),_0x58bb06[_0x342853(0x171)](_0x57a6d5=>[_0x4e12b5][_0x342853(0x126)](Object[_0x342853(0x12f)](_0x57a6d5)[_0x342853(0x171)](_0x141aa7=>{const _0x34cb44=_0x342853;let _0x3cbf8d=_0x57a6d5[_0x141aa7];return Array['isArray'](_0x3cbf8d)||(_0x3cbf8d=[_0x3cbf8d]),_0x3cbf8d[_0x34cb44(0x171)](_0x3dc4c8=>_0x3dc4c8===!0x0?_0x141aa7:_0x141aa7+'='+_0x3dc4c8)[_0x34cb44(0x290)](';\x20');}))[_0x342853(0x290)](';\x20'))[_0x342853(0x290)](',\x20');})[_0x5cd144(0x290)](',\x20');}return be={'format':_0xf8c154,'parse':_0x55651c},be;}var we,st;function Ie(){const _0x1e49e4=_0x1f3744;if(st)return we;st=0x1;const _0x2bc263=_0x10dad8,_0x31ed2e=_0x3912e9,_0x30ae02=_0x4dbc47,_0x1aa8d0=_0x1e4e6f,_0x1d9648=_0xfab93,{randomBytes:_0x4bd2e6,createHash:_0x581e04}=_0x228f19,{Duplex:_0x4e3b97,Readable:_0x31018c}=_0x4c11d0,{URL:_0x4f9586}=_0x3c0d67,_0x4a5df3=he(),_0x248c04=dt(),_0x34cb88=_t(),{isBlob:_0x24c24e}=ne(),{BINARY_TYPES:_0x26de65,EMPTY_BUFFER:_0x46e159,GUID:_0x1a12b3,kForOnEventAttribute:_0x22cbb9,kListener:_0x58a979,kStatusCode:_0x278c62,kWebSocket:_0x195101,NOOP:_0x1adf01}=V(),{EventTarget:{addEventListener:_0xe6bc0c,removeEventListener:_0xc4c6ba}}=Kt(),{format:_0x44486d,parse:_0x44c9a8}=pt(),{toBuffer:_0x34174d}=ce(),_0x1a6012=0x1e*0x3e8,_0x6839bd=Symbol(_0x1e49e4(0x1e0)),_0x540953=[0x8,0xd],_0x3152fd=['CONNECTING',_0x1e49e4(0x21c),_0x1e49e4(0x207),_0x1e49e4(0x29a)],_0x19888c=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3a2747 extends _0x2bc263{constructor(_0x7479fb,_0x17c0be,_0x51bc3e){const _0x325547=_0x1e49e4;super(),this[_0x325547(0x177)]=_0x26de65[0x0],this[_0x325547(0x135)]=0x3ee,this[_0x325547(0x272)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x325547(0x172)]=_0x46e159,this[_0x325547(0x18a)]=null,this['_errorEmitted']=!0x1,this[_0x325547(0x22a)]={},this['_paused']=!0x1,this[_0x325547(0x225)]='',this[_0x325547(0x1c4)]=_0x3a2747[_0x325547(0x131)],this[_0x325547(0x1a3)]=null,this[_0x325547(0x1bc)]=null,this['_socket']=null,_0x7479fb!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this[_0x325547(0x13f)]=0x0,_0x17c0be===void 0x0?_0x17c0be=[]:Array[_0x325547(0x20b)](_0x17c0be)||(typeof _0x17c0be==_0x325547(0x181)&&_0x17c0be!==null?(_0x51bc3e=_0x17c0be,_0x17c0be=[]):_0x17c0be=[_0x17c0be]),_0x57289f(this,_0x7479fb,_0x17c0be,_0x51bc3e)):(this[_0x325547(0x14e)]=_0x51bc3e[_0x325547(0x2ab)],this[_0x325547(0x18c)]=!0x0);}get[_0x1e49e4(0x245)](){const _0x1caf89=_0x1e49e4;return this[_0x1caf89(0x177)];}set['binaryType'](_0x41bf45){const _0x56a11f=_0x1e49e4;_0x26de65[_0x56a11f(0x296)](_0x41bf45)&&(this[_0x56a11f(0x177)]=_0x41bf45,this[_0x56a11f(0x1a3)]&&(this[_0x56a11f(0x1a3)][_0x56a11f(0x177)]=_0x41bf45));}get[_0x1e49e4(0x133)](){const _0x300e2c=_0x1e49e4;return this['_socket']?this['_socket'][_0x300e2c(0x22e)]['length']+this[_0x300e2c(0x1bc)][_0x300e2c(0x274)]:this[_0x300e2c(0x10d)];}get[_0x1e49e4(0x16b)](){const _0x3dd365=_0x1e49e4;return Object[_0x3dd365(0x12f)](this[_0x3dd365(0x22a)])[_0x3dd365(0x290)]();}get[_0x1e49e4(0x1fd)](){const _0x47861a=_0x1e49e4;return this[_0x47861a(0x1ae)];}get[_0x1e49e4(0x1d2)](){return null;}get[_0x1e49e4(0x148)](){return null;}get['onopen'](){return null;}get[_0x1e49e4(0x2b7)](){return null;}get[_0x1e49e4(0x26f)](){const _0x47adda=_0x1e49e4;return this[_0x47adda(0x225)];}get[_0x1e49e4(0x268)](){const _0x4a7684=_0x1e49e4;return this[_0x4a7684(0x1c4)];}get[_0x1e49e4(0x193)](){const _0x45cd69=_0x1e49e4;return this[_0x45cd69(0x2bb)];}[_0x1e49e4(0x278)](_0x48709d,_0x45daed,_0x5c226f){const _0x472f17=_0x1e49e4,_0x527041=new _0x248c04({'allowSynchronousEvents':_0x5c226f[_0x472f17(0x161)],'binaryType':this[_0x472f17(0x245)],'extensions':this[_0x472f17(0x22a)],'isServer':this[_0x472f17(0x18c)],'maxPayload':_0x5c226f['maxPayload'],'skipUTF8Validation':_0x5c226f[_0x472f17(0x212)]}),_0x32aae0=new _0x34cb88(_0x48709d,this[_0x472f17(0x22a)],_0x5c226f[_0x472f17(0x208)]);this[_0x472f17(0x1a3)]=_0x527041,this[_0x472f17(0x1bc)]=_0x32aae0,this['_socket']=_0x48709d,_0x527041[_0x195101]=this,_0x32aae0[_0x195101]=this,_0x48709d[_0x195101]=this,_0x527041['on'](_0x472f17(0x2a1),_0x4f1236),_0x527041['on'](_0x472f17(0x112),_0x163d18),_0x527041['on'](_0x472f17(0x25e),_0x16f350),_0x527041['on'](_0x472f17(0x251),_0x1eed66),_0x527041['on']('ping',_0xd6f072),_0x527041['on'](_0x472f17(0x136),_0xeb46d1),_0x32aae0['onerror']=_0x17a2ef,_0x48709d[_0x472f17(0x167)]&&_0x48709d['setTimeout'](0x0),_0x48709d[_0x472f17(0x1ac)]&&_0x48709d[_0x472f17(0x1ac)](),_0x45daed[_0x472f17(0x22f)]>0x0&&_0x48709d[_0x472f17(0x191)](_0x45daed),_0x48709d['on'](_0x472f17(0x115),_0x555b5c),_0x48709d['on'](_0x472f17(0x220),_0x4838ab),_0x48709d['on'](_0x472f17(0x28a),_0x2a755b),_0x48709d['on'](_0x472f17(0x25e),_0x39add0),this[_0x472f17(0x1c4)]=_0x3a2747['OPEN'],this[_0x472f17(0x180)]('open');}['emitClose'](){const _0x5ab720=_0x1e49e4;if(!this[_0x5ab720(0x257)]){this[_0x5ab720(0x1c4)]=_0x3a2747[_0x5ab720(0x29a)],this['emit'](_0x5ab720(0x115),this[_0x5ab720(0x135)],this['_closeMessage']);return;}this[_0x5ab720(0x22a)][_0x4a5df3[_0x5ab720(0x2a6)]]&&this[_0x5ab720(0x22a)][_0x4a5df3[_0x5ab720(0x2a6)]][_0x5ab720(0x152)](),this['_receiver']['removeAllListeners'](),this[_0x5ab720(0x1c4)]=_0x3a2747[_0x5ab720(0x29a)],this[_0x5ab720(0x180)](_0x5ab720(0x115),this[_0x5ab720(0x135)],this[_0x5ab720(0x172)]);}['close'](_0x336d24,_0x32d8d3){const _0x2d4f9e=_0x1e49e4;if(this[_0x2d4f9e(0x268)]!==_0x3a2747['CLOSED']){if(this[_0x2d4f9e(0x268)]===_0x3a2747[_0x2d4f9e(0x131)]){_0x20d750(this,this[_0x2d4f9e(0x143)],_0x2d4f9e(0x242));return;}if(this[_0x2d4f9e(0x268)]===_0x3a2747[_0x2d4f9e(0x207)]){this[_0x2d4f9e(0x1e9)]&&(this[_0x2d4f9e(0x272)]||this[_0x2d4f9e(0x1a3)][_0x2d4f9e(0x22e)]['errorEmitted'])&&this[_0x2d4f9e(0x257)][_0x2d4f9e(0x28a)]();return;}this[_0x2d4f9e(0x1c4)]=_0x3a2747[_0x2d4f9e(0x207)],this[_0x2d4f9e(0x1bc)][_0x2d4f9e(0x115)](_0x336d24,_0x32d8d3,!this[_0x2d4f9e(0x18c)],_0x5aa2a9=>{const _0x1502f4=_0x2d4f9e;_0x5aa2a9||(this[_0x1502f4(0x1e9)]=!0x0,(this[_0x1502f4(0x272)]||this[_0x1502f4(0x1a3)]['_writableState'][_0x1502f4(0x19a)])&&this[_0x1502f4(0x257)][_0x1502f4(0x28a)]());}),_0x513b2e(this);}}[_0x1e49e4(0x153)](){const _0x38154c=_0x1e49e4;this[_0x38154c(0x268)]===_0x3a2747[_0x38154c(0x131)]||this[_0x38154c(0x268)]===_0x3a2747[_0x38154c(0x29a)]||(this['_paused']=!0x0,this['_socket']['pause']());}[_0x1e49e4(0x284)](_0x5e4754,_0x3b451b,_0x12969a){const _0x52dae6=_0x1e49e4;if(this[_0x52dae6(0x268)]===_0x3a2747[_0x52dae6(0x131)])throw new Error(_0x52dae6(0x216));if(typeof _0x5e4754==_0x52dae6(0x12c)?(_0x12969a=_0x5e4754,_0x5e4754=_0x3b451b=void 0x0):typeof _0x3b451b==_0x52dae6(0x12c)&&(_0x12969a=_0x3b451b,_0x3b451b=void 0x0),typeof _0x5e4754=='number'&&(_0x5e4754=_0x5e4754[_0x52dae6(0x23a)]()),this[_0x52dae6(0x268)]!==_0x3a2747[_0x52dae6(0x21c)]){_0x6b5068(this,_0x5e4754,_0x12969a);return;}_0x3b451b===void 0x0&&(_0x3b451b=!this['_isServer']),this[_0x52dae6(0x1bc)][_0x52dae6(0x284)](_0x5e4754||_0x46e159,_0x3b451b,_0x12969a);}[_0x1e49e4(0x136)](_0x619250,_0x2b6f1c,_0x2dc22f){const _0x909694=_0x1e49e4;if(this[_0x909694(0x268)]===_0x3a2747[_0x909694(0x131)])throw new Error(_0x909694(0x216));if(typeof _0x619250=='function'?(_0x2dc22f=_0x619250,_0x619250=_0x2b6f1c=void 0x0):typeof _0x2b6f1c==_0x909694(0x12c)&&(_0x2dc22f=_0x2b6f1c,_0x2b6f1c=void 0x0),typeof _0x619250==_0x909694(0x123)&&(_0x619250=_0x619250[_0x909694(0x23a)]()),this['readyState']!==_0x3a2747['OPEN']){_0x6b5068(this,_0x619250,_0x2dc22f);return;}_0x2b6f1c===void 0x0&&(_0x2b6f1c=!this[_0x909694(0x18c)]),this['_sender'][_0x909694(0x136)](_0x619250||_0x46e159,_0x2b6f1c,_0x2dc22f);}['resume'](){const _0x220375=_0x1e49e4;this['readyState']===_0x3a2747[_0x220375(0x131)]||this[_0x220375(0x268)]===_0x3a2747[_0x220375(0x29a)]||(this[_0x220375(0x1ae)]=!0x1,this['_receiver']['_writableState'][_0x220375(0x14b)]||this[_0x220375(0x257)][_0x220375(0x2b6)]());}[_0x1e49e4(0x2bd)](_0x5746ea,_0x21443c,_0x24bcd4){const _0x4952c7=_0x1e49e4;if(this[_0x4952c7(0x268)]===_0x3a2747['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x21443c==_0x4952c7(0x12c)&&(_0x24bcd4=_0x21443c,_0x21443c={}),typeof _0x5746ea==_0x4952c7(0x123)&&(_0x5746ea=_0x5746ea[_0x4952c7(0x23a)]()),this[_0x4952c7(0x268)]!==_0x3a2747[_0x4952c7(0x21c)]){_0x6b5068(this,_0x5746ea,_0x24bcd4);return;}const _0xae16b8={'binary':typeof _0x5746ea!=_0x4952c7(0x23b),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x21443c};this['_extensions'][_0x4a5df3[_0x4952c7(0x2a6)]]||(_0xae16b8[_0x4952c7(0x20c)]=!0x1),this['_sender'][_0x4952c7(0x2bd)](_0x5746ea||_0x46e159,_0xae16b8,_0x24bcd4);}[_0x1e49e4(0x1a2)](){const _0x2fd589=_0x1e49e4;if(this[_0x2fd589(0x268)]!==_0x3a2747[_0x2fd589(0x29a)]){if(this['readyState']===_0x3a2747[_0x2fd589(0x131)]){_0x20d750(this,this[_0x2fd589(0x143)],_0x2fd589(0x242));return;}this[_0x2fd589(0x257)]&&(this[_0x2fd589(0x1c4)]=_0x3a2747[_0x2fd589(0x207)],this[_0x2fd589(0x257)][_0x2fd589(0x1b5)]());}}}Object[_0x1e49e4(0x160)](_0x3a2747,'CONNECTING',{'enumerable':!0x0,'value':_0x3152fd[_0x1e49e4(0x1e7)](_0x1e49e4(0x131))}),Object[_0x1e49e4(0x160)](_0x3a2747[_0x1e49e4(0x289)],_0x1e49e4(0x131),{'enumerable':!0x0,'value':_0x3152fd[_0x1e49e4(0x1e7)](_0x1e49e4(0x131))}),Object['defineProperty'](_0x3a2747,_0x1e49e4(0x21c),{'enumerable':!0x0,'value':_0x3152fd['indexOf'](_0x1e49e4(0x21c))}),Object[_0x1e49e4(0x160)](_0x3a2747[_0x1e49e4(0x289)],_0x1e49e4(0x21c),{'enumerable':!0x0,'value':_0x3152fd[_0x1e49e4(0x1e7)](_0x1e49e4(0x21c))}),Object['defineProperty'](_0x3a2747,'CLOSING',{'enumerable':!0x0,'value':_0x3152fd['indexOf'](_0x1e49e4(0x207))}),Object[_0x1e49e4(0x160)](_0x3a2747[_0x1e49e4(0x289)],_0x1e49e4(0x207),{'enumerable':!0x0,'value':_0x3152fd[_0x1e49e4(0x1e7)](_0x1e49e4(0x207))}),Object[_0x1e49e4(0x160)](_0x3a2747,_0x1e49e4(0x29a),{'enumerable':!0x0,'value':_0x3152fd[_0x1e49e4(0x1e7)]('CLOSED')}),Object[_0x1e49e4(0x160)](_0x3a2747[_0x1e49e4(0x289)],_0x1e49e4(0x29a),{'enumerable':!0x0,'value':_0x3152fd['indexOf'](_0x1e49e4(0x29a))}),[_0x1e49e4(0x245),_0x1e49e4(0x133),_0x1e49e4(0x16b),_0x1e49e4(0x1fd),_0x1e49e4(0x26f),'readyState',_0x1e49e4(0x193)][_0x1e49e4(0x15f)](_0x2ddd8a=>{const _0x5cfb1f=_0x1e49e4;Object[_0x5cfb1f(0x160)](_0x3a2747[_0x5cfb1f(0x289)],_0x2ddd8a,{'enumerable':!0x0});}),[_0x1e49e4(0x1f8),_0x1e49e4(0x25e),_0x1e49e4(0x115),_0x1e49e4(0x251)][_0x1e49e4(0x15f)](_0x3c93a8=>{const _0x40ada0=_0x1e49e4;Object[_0x40ada0(0x160)](_0x3a2747[_0x40ada0(0x289)],'on'+_0x3c93a8,{'enumerable':!0x0,'get'(){for(const _0x5842b6 of this['listeners'](_0x3c93a8))if(_0x5842b6[_0x22cbb9])return _0x5842b6[_0x58a979];return null;},'set'(_0x876c99){const _0x570391=_0x40ada0;for(const _0x19c7c0 of this['listeners'](_0x3c93a8))if(_0x19c7c0[_0x22cbb9]){this[_0x570391(0x1eb)](_0x3c93a8,_0x19c7c0);break;}typeof _0x876c99==_0x570391(0x12c)&&this['addEventListener'](_0x3c93a8,_0x876c99,{[_0x22cbb9]:!0x0});}});}),_0x3a2747[_0x1e49e4(0x289)][_0x1e49e4(0x1f3)]=_0xe6bc0c,_0x3a2747['prototype'][_0x1e49e4(0x1cc)]=_0xc4c6ba,we=_0x3a2747;function _0x57289f(_0x3cf59c,_0x2ec98b,_0x583c52,_0x2e8df5){const _0x2cd68f=_0x1e49e4,_0x25c4cb={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x540953[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2e8df5,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x2cd68f(0x281),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3cf59c[_0x2cd68f(0x14e)]=_0x25c4cb[_0x2cd68f(0x2ab)],!_0x540953['includes'](_0x25c4cb['protocolVersion']))throw new RangeError(_0x2cd68f(0x199)+_0x25c4cb[_0x2cd68f(0x28e)]+_0x2cd68f(0x1cb)+_0x540953[_0x2cd68f(0x290)](',\x20')+')');let _0x492fa6;if(_0x2ec98b instanceof _0x4f9586)_0x492fa6=_0x2ec98b;else try{_0x492fa6=new _0x4f9586(_0x2ec98b);}catch{throw new SyntaxError(_0x2cd68f(0x2aa)+_0x2ec98b);}_0x492fa6['protocol']===_0x2cd68f(0x21b)?_0x492fa6[_0x2cd68f(0x26f)]=_0x2cd68f(0x1a8):_0x492fa6[_0x2cd68f(0x26f)]==='https:'&&(_0x492fa6['protocol']='wss:'),_0x3cf59c[_0x2cd68f(0x2bb)]=_0x492fa6['href'];const _0xbf7725=_0x492fa6[_0x2cd68f(0x26f)]===_0x2cd68f(0x11c),_0x38b350=_0x492fa6[_0x2cd68f(0x26f)]===_0x2cd68f(0x189);let _0x46d389;if(_0x492fa6[_0x2cd68f(0x26f)]!==_0x2cd68f(0x1a8)&&!_0xbf7725&&!_0x38b350?_0x46d389=_0x2cd68f(0x22d):_0x38b350&&!_0x492fa6[_0x2cd68f(0x28d)]?_0x46d389=_0x2cd68f(0x250):_0x492fa6[_0x2cd68f(0x1ad)]&&(_0x46d389=_0x2cd68f(0x1fb)),_0x46d389){const _0x4c9992=new SyntaxError(_0x46d389);if(_0x3cf59c['_redirects']===0x0)throw _0x4c9992;_0x39a383(_0x3cf59c,_0x4c9992);return;}const _0x25368d=_0xbf7725?0x1bb:0x50,_0x189aa5=_0x4bd2e6(0x10)['toString'](_0x2cd68f(0x158)),_0x15efd2=_0xbf7725?_0x31ed2e[_0x2cd68f(0x1ef)]:_0x30ae02[_0x2cd68f(0x1ef)],_0x4dd556=new Set();let _0x45c5c1;if(_0x25c4cb[_0x2cd68f(0x18e)]=_0x25c4cb[_0x2cd68f(0x18e)]||(_0xbf7725?_0x4ea639:_0x1162d7),_0x25c4cb[_0x2cd68f(0x299)]=_0x25c4cb['defaultPort']||_0x25368d,_0x25c4cb['port']=_0x492fa6[_0x2cd68f(0x1b8)]||_0x25368d,_0x25c4cb[_0x2cd68f(0x192)]=_0x492fa6[_0x2cd68f(0x270)][_0x2cd68f(0x1e8)]('[')?_0x492fa6[_0x2cd68f(0x270)][_0x2cd68f(0x1c8)](0x1,-0x1):_0x492fa6[_0x2cd68f(0x270)],_0x25c4cb[_0x2cd68f(0x204)]={..._0x25c4cb[_0x2cd68f(0x204)],'Sec-WebSocket-Version':_0x25c4cb[_0x2cd68f(0x28e)],'Sec-WebSocket-Key':_0x189aa5,'Connection':_0x2cd68f(0x24b),'Upgrade':_0x2cd68f(0x169)},_0x25c4cb['path']=_0x492fa6[_0x2cd68f(0x28d)]+_0x492fa6['search'],_0x25c4cb[_0x2cd68f(0x255)]=_0x25c4cb[_0x2cd68f(0x297)],_0x25c4cb['perMessageDeflate']&&(_0x45c5c1=new _0x4a5df3(_0x25c4cb['perMessageDeflate']!==!0x0?_0x25c4cb[_0x2cd68f(0x258)]:{},!0x1,_0x25c4cb[_0x2cd68f(0x1cd)]),_0x25c4cb[_0x2cd68f(0x204)][_0x2cd68f(0x20e)]=_0x44486d({[_0x4a5df3[_0x2cd68f(0x2a6)]]:_0x45c5c1[_0x2cd68f(0x238)]()})),_0x583c52['length']){for(const _0x5d6d8f of _0x583c52){if(typeof _0x5d6d8f!='string'||!_0x19888c[_0x2cd68f(0x1d1)](_0x5d6d8f)||_0x4dd556[_0x2cd68f(0x29d)](_0x5d6d8f))throw new SyntaxError(_0x2cd68f(0x28f));_0x4dd556[_0x2cd68f(0x2be)](_0x5d6d8f);}_0x25c4cb[_0x2cd68f(0x204)][_0x2cd68f(0x24c)]=_0x583c52[_0x2cd68f(0x290)](',');}if(_0x25c4cb[_0x2cd68f(0x234)]&&(_0x25c4cb[_0x2cd68f(0x28e)]<0xd?_0x25c4cb[_0x2cd68f(0x204)][_0x2cd68f(0x214)]=_0x25c4cb['origin']:_0x25c4cb[_0x2cd68f(0x204)][_0x2cd68f(0x25c)]=_0x25c4cb[_0x2cd68f(0x234)]),(_0x492fa6['username']||_0x492fa6[_0x2cd68f(0x1a6)])&&(_0x25c4cb['auth']=_0x492fa6[_0x2cd68f(0x287)]+':'+_0x492fa6['password']),_0x38b350){const _0x28e53c=_0x25c4cb[_0x2cd68f(0x1d4)][_0x2cd68f(0x23c)](':');_0x25c4cb[_0x2cd68f(0x254)]=_0x28e53c[0x0],_0x25c4cb[_0x2cd68f(0x1d4)]=_0x28e53c[0x1];}let _0x307bf9;if(_0x25c4cb[_0x2cd68f(0x1fa)]){if(_0x3cf59c[_0x2cd68f(0x13f)]===0x0){_0x3cf59c[_0x2cd68f(0x201)]=_0x38b350,_0x3cf59c[_0x2cd68f(0x21a)]=_0xbf7725,_0x3cf59c[_0x2cd68f(0x24e)]=_0x38b350?_0x25c4cb[_0x2cd68f(0x254)]:_0x492fa6[_0x2cd68f(0x192)];const _0x1bb0ac=_0x2e8df5&&_0x2e8df5[_0x2cd68f(0x204)];if(_0x2e8df5={..._0x2e8df5,'headers':{}},_0x1bb0ac){for(const [_0x30fd5f,_0x32b8c0]of Object[_0x2cd68f(0x1c9)](_0x1bb0ac))_0x2e8df5[_0x2cd68f(0x204)][_0x30fd5f['toLowerCase']()]=_0x32b8c0;}}else{if(_0x3cf59c['listenerCount'](_0x2cd68f(0x120))===0x0){const _0x1888e0=_0x38b350?_0x3cf59c['_originalIpc']?_0x25c4cb[_0x2cd68f(0x254)]===_0x3cf59c[_0x2cd68f(0x24e)]:!0x1:_0x3cf59c[_0x2cd68f(0x201)]?!0x1:_0x492fa6[_0x2cd68f(0x192)]===_0x3cf59c[_0x2cd68f(0x24e)];(!_0x1888e0||_0x3cf59c[_0x2cd68f(0x21a)]&&!_0xbf7725)&&(delete _0x25c4cb[_0x2cd68f(0x204)][_0x2cd68f(0x1dc)],delete _0x25c4cb[_0x2cd68f(0x204)][_0x2cd68f(0x1d7)],_0x1888e0||delete _0x25c4cb[_0x2cd68f(0x204)][_0x2cd68f(0x192)],_0x25c4cb[_0x2cd68f(0x1a9)]=void 0x0);}}_0x25c4cb[_0x2cd68f(0x1a9)]&&!_0x2e8df5[_0x2cd68f(0x204)][_0x2cd68f(0x1dc)]&&(_0x2e8df5[_0x2cd68f(0x204)][_0x2cd68f(0x1dc)]=_0x2cd68f(0x159)+Buffer[_0x2cd68f(0x218)](_0x25c4cb[_0x2cd68f(0x1a9)])['toString']('base64')),_0x307bf9=_0x3cf59c[_0x2cd68f(0x143)]=_0x15efd2(_0x25c4cb),_0x3cf59c[_0x2cd68f(0x13f)]&&_0x3cf59c[_0x2cd68f(0x180)](_0x2cd68f(0x120),_0x3cf59c[_0x2cd68f(0x193)],_0x307bf9);}else _0x307bf9=_0x3cf59c['_req']=_0x15efd2(_0x25c4cb);_0x25c4cb[_0x2cd68f(0x255)]&&_0x307bf9['on'](_0x2cd68f(0x255),()=>{const _0x345782=_0x2cd68f;_0x20d750(_0x3cf59c,_0x307bf9,_0x345782(0x27c));}),_0x307bf9['on']('error',_0x323358=>{const _0x222797=_0x2cd68f;_0x307bf9===null||_0x307bf9[_0x6839bd]||(_0x307bf9=_0x3cf59c[_0x222797(0x143)]=null,_0x39a383(_0x3cf59c,_0x323358));}),_0x307bf9['on'](_0x2cd68f(0x222),_0x42f3ca=>{const _0x21d68d=_0x2cd68f,_0x16a5cf=_0x42f3ca[_0x21d68d(0x204)][_0x21d68d(0x1c6)],_0x408733=_0x42f3ca[_0x21d68d(0x1b6)];if(_0x16a5cf&&_0x25c4cb['followRedirects']&&_0x408733>=0x12c&&_0x408733<0x190){if(++_0x3cf59c[_0x21d68d(0x13f)]>_0x25c4cb[_0x21d68d(0x174)]){_0x20d750(_0x3cf59c,_0x307bf9,_0x21d68d(0x1ea));return;}_0x307bf9[_0x21d68d(0x215)]();let _0x12b423;try{_0x12b423=new _0x4f9586(_0x16a5cf,_0x2ec98b);}catch{const _0x332236=new SyntaxError(_0x21d68d(0x2aa)+_0x16a5cf);_0x39a383(_0x3cf59c,_0x332236);return;}_0x57289f(_0x3cf59c,_0x12b423,_0x583c52,_0x2e8df5);}else _0x3cf59c[_0x21d68d(0x180)](_0x21d68d(0x25a),_0x307bf9,_0x42f3ca)||_0x20d750(_0x3cf59c,_0x307bf9,'Unexpected\x20server\x20response:\x20'+_0x42f3ca['statusCode']);}),_0x307bf9['on'](_0x2cd68f(0x182),(_0x56fbcc,_0x3d1ec4,_0x2dcd33)=>{const _0xc43b1f=_0x2cd68f;if(_0x3cf59c[_0xc43b1f(0x180)](_0xc43b1f(0x182),_0x56fbcc),_0x3cf59c['readyState']!==_0x3a2747[_0xc43b1f(0x131)])return;_0x307bf9=_0x3cf59c[_0xc43b1f(0x143)]=null;const _0x35e035=_0x56fbcc[_0xc43b1f(0x204)][_0xc43b1f(0x182)];if(_0x35e035===void 0x0||_0x35e035['toLowerCase']()!==_0xc43b1f(0x169)){_0x20d750(_0x3cf59c,_0x3d1ec4,_0xc43b1f(0x109));return;}const _0x5d41e2=_0x581e04(_0xc43b1f(0x20a))['update'](_0x189aa5+_0x1a12b3)[_0xc43b1f(0x19d)]('base64');if(_0x56fbcc[_0xc43b1f(0x204)]['sec-websocket-accept']!==_0x5d41e2){_0x20d750(_0x3cf59c,_0x3d1ec4,_0xc43b1f(0x1da));return;}const _0x5da03c=_0x56fbcc[_0xc43b1f(0x204)][_0xc43b1f(0x15e)];let _0x247092;if(_0x5da03c!==void 0x0?_0x4dd556[_0xc43b1f(0x2a3)]?_0x4dd556[_0xc43b1f(0x29d)](_0x5da03c)||(_0x247092=_0xc43b1f(0x108)):_0x247092=_0xc43b1f(0x24f):_0x4dd556[_0xc43b1f(0x2a3)]&&(_0x247092=_0xc43b1f(0x26e)),_0x247092){_0x20d750(_0x3cf59c,_0x3d1ec4,_0x247092);return;}_0x5da03c&&(_0x3cf59c[_0xc43b1f(0x225)]=_0x5da03c);const _0x42f9e9=_0x56fbcc[_0xc43b1f(0x204)]['sec-websocket-extensions'];if(_0x42f9e9!==void 0x0){if(!_0x45c5c1){_0x20d750(_0x3cf59c,_0x3d1ec4,_0xc43b1f(0x2a8));return;}let _0x271baa;try{_0x271baa=_0x44c9a8(_0x42f9e9);}catch{_0x20d750(_0x3cf59c,_0x3d1ec4,_0xc43b1f(0x298));return;}const _0x3bfc3c=Object[_0xc43b1f(0x12f)](_0x271baa);if(_0x3bfc3c['length']!==0x1||_0x3bfc3c[0x0]!==_0x4a5df3[_0xc43b1f(0x2a6)]){_0x20d750(_0x3cf59c,_0x3d1ec4,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x45c5c1[_0xc43b1f(0x13b)](_0x271baa[_0x4a5df3['extensionName']]);}catch{_0x20d750(_0x3cf59c,_0x3d1ec4,_0xc43b1f(0x298));return;}_0x3cf59c[_0xc43b1f(0x22a)][_0x4a5df3[_0xc43b1f(0x2a6)]]=_0x45c5c1;}_0x3cf59c['setSocket'](_0x3d1ec4,_0x2dcd33,{'allowSynchronousEvents':_0x25c4cb['allowSynchronousEvents'],'generateMask':_0x25c4cb['generateMask'],'maxPayload':_0x25c4cb[_0xc43b1f(0x1cd)],'skipUTF8Validation':_0x25c4cb[_0xc43b1f(0x212)]});}),_0x25c4cb[_0x2cd68f(0x13d)]?_0x25c4cb[_0x2cd68f(0x13d)](_0x307bf9,_0x3cf59c):_0x307bf9['end']();}function _0x39a383(_0x31ebb5,_0x55ee17){const _0xd4cce6=_0x1e49e4;_0x31ebb5[_0xd4cce6(0x1c4)]=_0x3a2747[_0xd4cce6(0x207)],_0x31ebb5['_errorEmitted']=!0x0,_0x31ebb5[_0xd4cce6(0x180)](_0xd4cce6(0x25e),_0x55ee17),_0x31ebb5[_0xd4cce6(0x144)]();}function _0x1162d7(_0x16649b){const _0x3a267b=_0x1e49e4;return _0x16649b['path']=_0x16649b[_0x3a267b(0x254)],_0x1aa8d0['connect'](_0x16649b);}function _0x4ea639(_0x4872fd){const _0x415b0c=_0x1e49e4;return _0x4872fd[_0x415b0c(0x1d4)]=void 0x0,!_0x4872fd[_0x415b0c(0x173)]&&_0x4872fd[_0x415b0c(0x173)]!==''&&(_0x4872fd[_0x415b0c(0x173)]=_0x1aa8d0['isIP'](_0x4872fd['host'])?'':_0x4872fd[_0x415b0c(0x192)]),_0x1d9648['connect'](_0x4872fd);}function _0x20d750(_0x394148,_0x2d6532,_0x175dcb){const _0x2cdfcd=_0x1e49e4;_0x394148[_0x2cdfcd(0x1c4)]=_0x3a2747[_0x2cdfcd(0x207)];const _0x5b32e0=new Error(_0x175dcb);Error[_0x2cdfcd(0x253)](_0x5b32e0,_0x20d750),_0x2d6532['setHeader']?(_0x2d6532[_0x6839bd]=!0x0,_0x2d6532[_0x2cdfcd(0x215)](),_0x2d6532[_0x2cdfcd(0x11e)]&&!_0x2d6532['socket'][_0x2cdfcd(0x146)]&&_0x2d6532['socket']['destroy'](),process[_0x2cdfcd(0x2ac)](_0x39a383,_0x394148,_0x5b32e0)):(_0x2d6532[_0x2cdfcd(0x1b5)](_0x5b32e0),_0x2d6532['once'](_0x2cdfcd(0x25e),_0x394148[_0x2cdfcd(0x180)]['bind'](_0x394148,_0x2cdfcd(0x25e))),_0x2d6532[_0x2cdfcd(0x2bc)](_0x2cdfcd(0x115),_0x394148[_0x2cdfcd(0x144)][_0x2cdfcd(0x285)](_0x394148)));}function _0x6b5068(_0x2d676c,_0x3308dc,_0x1690f5){const _0x508ba2=_0x1e49e4;if(_0x3308dc){const _0x48b24d=_0x24c24e(_0x3308dc)?_0x3308dc[_0x508ba2(0x2a3)]:_0x34174d(_0x3308dc)['length'];_0x2d676c[_0x508ba2(0x257)]?_0x2d676c[_0x508ba2(0x1bc)][_0x508ba2(0x274)]+=_0x48b24d:_0x2d676c[_0x508ba2(0x10d)]+=_0x48b24d;}if(_0x1690f5){const _0x350e7a=new Error(_0x508ba2(0x219)+_0x2d676c[_0x508ba2(0x268)]+'\x20('+_0x3152fd[_0x2d676c[_0x508ba2(0x268)]]+')');process[_0x508ba2(0x2ac)](_0x1690f5,_0x350e7a);}}function _0x4f1236(_0x7b9d5f,_0x2abb2e){const _0x45acc4=_0x1e49e4,_0x350dce=this[_0x195101];_0x350dce[_0x45acc4(0x272)]=!0x0,_0x350dce['_closeMessage']=_0x2abb2e,_0x350dce[_0x45acc4(0x135)]=_0x7b9d5f,_0x350dce[_0x45acc4(0x257)][_0x195101]!==void 0x0&&(_0x350dce[_0x45acc4(0x257)][_0x45acc4(0x1eb)](_0x45acc4(0x220),_0x4838ab),process['nextTick'](_0xfdd4b0,_0x350dce[_0x45acc4(0x257)]),_0x7b9d5f===0x3ed?_0x350dce[_0x45acc4(0x115)]():_0x350dce[_0x45acc4(0x115)](_0x7b9d5f,_0x2abb2e));}function _0x163d18(){const _0x39485b=_0x1e49e4,_0x1a82fa=this[_0x195101];_0x1a82fa[_0x39485b(0x1fd)]||_0x1a82fa['_socket']['resume']();}function _0x16f350(_0x46d60b){const _0x6682bb=_0x1e49e4,_0x1fc898=this[_0x195101];_0x1fc898[_0x6682bb(0x257)][_0x195101]!==void 0x0&&(_0x1fc898[_0x6682bb(0x257)]['removeListener']('data',_0x4838ab),process[_0x6682bb(0x2ac)](_0xfdd4b0,_0x1fc898[_0x6682bb(0x257)]),_0x1fc898[_0x6682bb(0x115)](_0x46d60b[_0x278c62])),_0x1fc898[_0x6682bb(0x29e)]||(_0x1fc898[_0x6682bb(0x29e)]=!0x0,_0x1fc898[_0x6682bb(0x180)](_0x6682bb(0x25e),_0x46d60b));}function _0x5468e0(){const _0x428449=_0x1e49e4;this[_0x195101][_0x428449(0x144)]();}function _0x1eed66(_0x69fb80,_0x6e5c47){const _0x109317=_0x1e49e4;this[_0x195101]['emit'](_0x109317(0x251),_0x69fb80,_0x6e5c47);}function _0xd6f072(_0x26d387){const _0xcb2de0=_0x1e49e4,_0x9d5336=this[_0x195101];_0x9d5336[_0xcb2de0(0x14e)]&&_0x9d5336[_0xcb2de0(0x136)](_0x26d387,!this['_isServer'],_0x1adf01),_0x9d5336['emit'](_0xcb2de0(0x284),_0x26d387);}function _0xeb46d1(_0xb69a96){const _0x5dec54=_0x1e49e4;this[_0x195101][_0x5dec54(0x180)](_0x5dec54(0x136),_0xb69a96);}function _0xfdd4b0(_0xa6b7f3){const _0xf24e2d=_0x1e49e4;_0xa6b7f3[_0xf24e2d(0x2b6)]();}function _0x17a2ef(_0x1e1c56){const _0x100d1f=_0x1e49e4,_0x474516=this[_0x195101];_0x474516[_0x100d1f(0x268)]!==_0x3a2747[_0x100d1f(0x29a)]&&(_0x474516[_0x100d1f(0x268)]===_0x3a2747['OPEN']&&(_0x474516[_0x100d1f(0x1c4)]=_0x3a2747[_0x100d1f(0x207)],_0x513b2e(_0x474516)),this[_0x100d1f(0x257)][_0x100d1f(0x28a)](),_0x474516[_0x100d1f(0x29e)]||(_0x474516[_0x100d1f(0x29e)]=!0x0,_0x474516[_0x100d1f(0x180)](_0x100d1f(0x25e),_0x1e1c56)));}function _0x513b2e(_0x5db7d8){const _0x2eef56=_0x1e49e4;_0x5db7d8['_closeTimer']=setTimeout(_0x5db7d8[_0x2eef56(0x257)]['destroy'][_0x2eef56(0x285)](_0x5db7d8[_0x2eef56(0x257)]),_0x1a6012);}function _0x555b5c(){const _0x3b60b1=_0x1e49e4,_0x1ca273=this[_0x195101];this[_0x3b60b1(0x1eb)](_0x3b60b1(0x115),_0x555b5c),this['removeListener'](_0x3b60b1(0x220),_0x4838ab),this['removeListener'](_0x3b60b1(0x28a),_0x2a755b),_0x1ca273[_0x3b60b1(0x1c4)]=_0x3a2747[_0x3b60b1(0x207)];let _0x2e84b7;!this[_0x3b60b1(0x1ee)][_0x3b60b1(0x150)]&&!_0x1ca273[_0x3b60b1(0x272)]&&!_0x1ca273[_0x3b60b1(0x1a3)][_0x3b60b1(0x22e)][_0x3b60b1(0x19a)]&&(_0x2e84b7=_0x1ca273[_0x3b60b1(0x257)][_0x3b60b1(0x1c7)]())!==null&&_0x1ca273[_0x3b60b1(0x1a3)][_0x3b60b1(0x1c3)](_0x2e84b7),_0x1ca273[_0x3b60b1(0x1a3)][_0x3b60b1(0x28a)](),this[_0x195101]=void 0x0,clearTimeout(_0x1ca273[_0x3b60b1(0x18a)]),_0x1ca273[_0x3b60b1(0x1a3)][_0x3b60b1(0x22e)][_0x3b60b1(0x165)]||_0x1ca273['_receiver'][_0x3b60b1(0x22e)][_0x3b60b1(0x19a)]?_0x1ca273[_0x3b60b1(0x144)]():(_0x1ca273[_0x3b60b1(0x1a3)]['on'](_0x3b60b1(0x25e),_0x5468e0),_0x1ca273[_0x3b60b1(0x1a3)]['on'](_0x3b60b1(0x179),_0x5468e0));}function _0x4838ab(_0x41d831){const _0x815e70=_0x1e49e4;this[_0x195101][_0x815e70(0x1a3)][_0x815e70(0x1c3)](_0x41d831)||this[_0x815e70(0x153)]();}function _0x2a755b(){const _0x141ea0=_0x1e49e4,_0x315d12=this[_0x195101];_0x315d12['_readyState']=_0x3a2747[_0x141ea0(0x207)],_0x315d12[_0x141ea0(0x1a3)]['end'](),this[_0x141ea0(0x28a)]();}function _0x39add0(){const _0x22c26e=_0x1e49e4,_0x3de68a=this[_0x195101];this[_0x22c26e(0x1eb)](_0x22c26e(0x25e),_0x39add0),this['on'](_0x22c26e(0x25e),_0x1adf01),_0x3de68a&&(_0x3de68a[_0x22c26e(0x1c4)]=_0x3a2747[_0x22c26e(0x207)],this[_0x22c26e(0x1b5)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x3bcab9}=_0x4c11d0;function _0x4eb619(_0x260d18){const _0x2de101=_0x25cc;_0x260d18[_0x2de101(0x180)]('close');}function _0x1bf076(){!this['destroyed']&&this['_writableState']['finished']&&this['destroy']();}function _0x4b8893(_0x21a327){const _0x383f35=_0x25cc;this[_0x383f35(0x1eb)](_0x383f35(0x25e),_0x4b8893),this[_0x383f35(0x1b5)](),this['listenerCount']('error')===0x0&&this[_0x383f35(0x180)](_0x383f35(0x25e),_0x21a327);}function _0x2be8b9(_0x5930c0,_0x159acd){const _0x108e06=_0x25cc;let _0x4c8d60=!0x0;const _0x11cf42=new _0x3bcab9({..._0x159acd,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5930c0['on'](_0x108e06(0x251),function(_0x1c43c4,_0x4c2f10){const _0x5cb785=_0x108e06,_0x3306fb=!_0x4c2f10&&_0x11cf42[_0x5cb785(0x1ee)][_0x5cb785(0x252)]?_0x1c43c4[_0x5cb785(0x23a)]():_0x1c43c4;_0x11cf42[_0x5cb785(0x18b)](_0x3306fb)||_0x5930c0[_0x5cb785(0x153)]();}),_0x5930c0[_0x108e06(0x2bc)](_0x108e06(0x25e),function(_0xde9908){const _0x34f441=_0x108e06;_0x11cf42[_0x34f441(0x146)]||(_0x4c8d60=!0x1,_0x11cf42['destroy'](_0xde9908));}),_0x5930c0['once'](_0x108e06(0x115),function(){const _0x80bf75=_0x108e06;_0x11cf42[_0x80bf75(0x146)]||_0x11cf42[_0x80bf75(0x18b)](null);}),_0x11cf42[_0x108e06(0x129)]=function(_0x49b504,_0x258b72){const _0x869e9=_0x108e06;if(_0x5930c0[_0x869e9(0x268)]===_0x5930c0['CLOSED']){_0x258b72(_0x49b504),process[_0x869e9(0x2ac)](_0x4eb619,_0x11cf42);return;}let _0x40a9b8=!0x1;_0x5930c0[_0x869e9(0x2bc)](_0x869e9(0x25e),function(_0xdfb6d0){_0x40a9b8=!0x0,_0x258b72(_0xdfb6d0);}),_0x5930c0[_0x869e9(0x2bc)]('close',function(){const _0x3b1d0b=_0x869e9;_0x40a9b8||_0x258b72(_0x49b504),process[_0x3b1d0b(0x2ac)](_0x4eb619,_0x11cf42);}),_0x4c8d60&&_0x5930c0[_0x869e9(0x1a2)]();},_0x11cf42['_final']=function(_0x50ea2c){const _0x4171f4=_0x108e06;if(_0x5930c0[_0x4171f4(0x268)]===_0x5930c0[_0x4171f4(0x131)]){_0x5930c0[_0x4171f4(0x2bc)]('open',function(){const _0x128c54=_0x4171f4;_0x11cf42[_0x128c54(0x2ba)](_0x50ea2c);});return;}_0x5930c0[_0x4171f4(0x257)]!==null&&(_0x5930c0[_0x4171f4(0x257)][_0x4171f4(0x22e)]['finished']?(_0x50ea2c(),_0x11cf42[_0x4171f4(0x1ee)][_0x4171f4(0x150)]&&_0x11cf42[_0x4171f4(0x1b5)]()):(_0x5930c0['_socket'][_0x4171f4(0x2bc)](_0x4171f4(0x179),function(){_0x50ea2c();}),_0x5930c0[_0x4171f4(0x115)]()));},_0x11cf42['_read']=function(){const _0x1481fd=_0x108e06;_0x5930c0[_0x1481fd(0x1fd)]&&_0x5930c0[_0x1481fd(0x2b6)]();},_0x11cf42[_0x108e06(0x213)]=function(_0x279fd6,_0x16a542,_0x4d4182){const _0x3b30c7=_0x108e06;if(_0x5930c0['readyState']===_0x5930c0['CONNECTING']){_0x5930c0['once'](_0x3b30c7(0x1f8),function(){_0x11cf42['_write'](_0x279fd6,_0x16a542,_0x4d4182);});return;}_0x5930c0['send'](_0x279fd6,_0x4d4182);},_0x11cf42['on'](_0x108e06(0x28a),_0x1bf076),_0x11cf42['on']('error',_0x4b8893),_0x11cf42;}return Oe=_0x2be8b9,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0xfb3ed6}=ne();function _0x398191(_0x2e1905){const _0x12c375=_0x25cc,_0x5ade39=new Set();let _0x3ba55a=-0x1,_0x1ef432=-0x1,_0x1001a8=0x0;for(_0x1001a8;_0x1001a8<_0x2e1905[_0x12c375(0x22f)];_0x1001a8++){const _0x14325b=_0x2e1905[_0x12c375(0x246)](_0x1001a8);if(_0x1ef432===-0x1&&_0xfb3ed6[_0x14325b]===0x1)_0x3ba55a===-0x1&&(_0x3ba55a=_0x1001a8);else{if(_0x1001a8!==0x0&&(_0x14325b===0x20||_0x14325b===0x9))_0x1ef432===-0x1&&_0x3ba55a!==-0x1&&(_0x1ef432=_0x1001a8);else{if(_0x14325b===0x2c){if(_0x3ba55a===-0x1)throw new SyntaxError(_0x12c375(0x26c)+_0x1001a8);_0x1ef432===-0x1&&(_0x1ef432=_0x1001a8);const _0x31202d=_0x2e1905['slice'](_0x3ba55a,_0x1ef432);if(_0x5ade39[_0x12c375(0x29d)](_0x31202d))throw new SyntaxError(_0x12c375(0x22c)+_0x31202d+_0x12c375(0x183));_0x5ade39['add'](_0x31202d),_0x3ba55a=_0x1ef432=-0x1;}else throw new SyntaxError(_0x12c375(0x26c)+_0x1001a8);}}}if(_0x3ba55a===-0x1||_0x1ef432!==-0x1)throw new SyntaxError(_0x12c375(0x2ad));const _0x51dc5f=_0x2e1905[_0x12c375(0x1c8)](_0x3ba55a,_0x1001a8);if(_0x5ade39['has'](_0x51dc5f))throw new SyntaxError('The\x20\x22'+_0x51dc5f+'\x22\x20subprotocol\x20is\x20duplicated');return _0x5ade39[_0x12c375(0x2be)](_0x51dc5f),_0x5ade39;}return Ce={'parse':_0x398191},Ce;}var Te,ot;function er(){const _0xc458f4=_0x1f3744;if(ot)return Te;ot=0x1;const _0x354642=_0x10dad8,_0x57c3e6=_0x4dbc47,{Duplex:_0x5fa500}=_0x4c11d0,{createHash:_0x41e0b9}=_0x228f19,_0x247190=pt(),_0x44395a=he(),_0x36bd53=Jt(),_0xed025c=Ie(),{GUID:_0x24b1c8,kWebSocket:_0x476585}=V(),_0x2d32ed=/^[+/0-9A-Za-z]{22}==$/,_0x12942b=0x0,_0x48f863=0x1,_0x590a25=0x2;class _0x1e7267 extends _0x354642{constructor(_0x4c21ca,_0xd5430a){const _0x58e06e=_0x25cc;if(super(),_0x4c21ca={'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':_0xed025c,..._0x4c21ca},_0x4c21ca['port']==null&&!_0x4c21ca[_0x58e06e(0x127)]&&!_0x4c21ca[_0x58e06e(0x195)]||_0x4c21ca['port']!=null&&(_0x4c21ca['server']||_0x4c21ca['noServer'])||_0x4c21ca[_0x58e06e(0x127)]&&_0x4c21ca[_0x58e06e(0x195)])throw new TypeError(_0x58e06e(0x1e2));if(_0x4c21ca['port']!=null?(this[_0x58e06e(0x168)]=_0x57c3e6['createServer']((_0x145f34,_0x2072fa)=>{const _0x4d99ce=_0x58e06e,_0x46ec43=_0x57c3e6[_0x4d99ce(0x1c1)][0x1aa];_0x2072fa[_0x4d99ce(0x282)](0x1aa,{'Content-Length':_0x46ec43['length'],'Content-Type':'text/plain'}),_0x2072fa['end'](_0x46ec43);}),this['_server'][_0x58e06e(0x197)](_0x4c21ca[_0x58e06e(0x1b8)],_0x4c21ca[_0x58e06e(0x192)],_0x4c21ca[_0x58e06e(0x202)],_0xd5430a)):_0x4c21ca[_0x58e06e(0x127)]&&(this[_0x58e06e(0x168)]=_0x4c21ca['server']),this[_0x58e06e(0x168)]){const _0x20163e=this['emit'][_0x58e06e(0x285)](this,_0x58e06e(0x28c));this[_0x58e06e(0x1b1)]=_0x12974d(this[_0x58e06e(0x168)],{'listening':this[_0x58e06e(0x180)][_0x58e06e(0x285)](this,_0x58e06e(0x2a7)),'error':this[_0x58e06e(0x180)][_0x58e06e(0x285)](this,'error'),'upgrade':(_0x7570d1,_0x3c6666,_0xca714d)=>{this['handleUpgrade'](_0x7570d1,_0x3c6666,_0xca714d,_0x20163e);}});}_0x4c21ca['perMessageDeflate']===!0x0&&(_0x4c21ca['perMessageDeflate']={}),_0x4c21ca[_0x58e06e(0x198)]&&(this['clients']=new Set(),this['_shouldEmitClose']=!0x1),this[_0x58e06e(0x1f0)]=_0x4c21ca,this[_0x58e06e(0x28b)]=_0x12942b;}[_0xc458f4(0x239)](){const _0x43c13e=_0xc458f4;if(this['options'][_0x43c13e(0x195)])throw new Error(_0x43c13e(0x1ce));return this['_server']?this[_0x43c13e(0x168)][_0x43c13e(0x239)]():null;}[_0xc458f4(0x115)](_0x569029){const _0x52400f=_0xc458f4;if(this[_0x52400f(0x28b)]===_0x590a25){_0x569029&&this['once']('close',()=>{const _0x3807a0=_0x52400f;_0x569029(new Error(_0x3807a0(0x261)));}),process[_0x52400f(0x2ac)](_0x428563,this);return;}if(_0x569029&&this[_0x52400f(0x2bc)](_0x52400f(0x115),_0x569029),this['_state']!==_0x48f863){if(this[_0x52400f(0x28b)]=_0x48f863,this[_0x52400f(0x1f0)][_0x52400f(0x195)]||this[_0x52400f(0x1f0)][_0x52400f(0x127)])this[_0x52400f(0x168)]&&(this[_0x52400f(0x1b1)](),this['_removeListeners']=this[_0x52400f(0x168)]=null),this[_0x52400f(0x12d)]?this[_0x52400f(0x12d)][_0x52400f(0x2a3)]?this['_shouldEmitClose']=!0x0:process[_0x52400f(0x2ac)](_0x428563,this):process['nextTick'](_0x428563,this);else{const _0x165b31=this[_0x52400f(0x168)];this[_0x52400f(0x1b1)](),this[_0x52400f(0x1b1)]=this[_0x52400f(0x168)]=null,_0x165b31[_0x52400f(0x115)](()=>{_0x428563(this);});}}}[_0xc458f4(0x21e)](_0x27fd85){const _0x5577c9=_0xc458f4;if(this[_0x5577c9(0x1f0)][_0x5577c9(0x1d4)]){const _0x1e0558=_0x27fd85[_0x5577c9(0x193)][_0x5577c9(0x1e7)]('?');if((_0x1e0558!==-0x1?_0x27fd85[_0x5577c9(0x193)][_0x5577c9(0x1c8)](0x0,_0x1e0558):_0x27fd85[_0x5577c9(0x193)])!==this[_0x5577c9(0x1f0)]['path'])return!0x1;}return!0x0;}['handleUpgrade'](_0x4d498d,_0x3cb83a,_0x1fe08a,_0x37daf6){const _0x951f69=_0xc458f4;_0x3cb83a['on'](_0x951f69(0x25e),_0x2d7077);const _0x5a50ee=_0x4d498d['headers']['sec-websocket-key'],_0x149d9b=_0x4d498d[_0x951f69(0x204)]['upgrade'],_0x118375=+_0x4d498d['headers'][_0x951f69(0x25b)];if(_0x4d498d[_0x951f69(0x1ca)]!=='GET'){_0x1b87f3(this,_0x4d498d,_0x3cb83a,0x195,_0x951f69(0x170));return;}if(_0x149d9b===void 0x0||_0x149d9b[_0x951f69(0x1d5)]()!=='websocket'){_0x1b87f3(this,_0x4d498d,_0x3cb83a,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x5a50ee===void 0x0||!_0x2d32ed[_0x951f69(0x1d1)](_0x5a50ee)){_0x1b87f3(this,_0x4d498d,_0x3cb83a,0x190,_0x951f69(0x29c));return;}if(_0x118375!==0x8&&_0x118375!==0xd){_0x1b87f3(this,_0x4d498d,_0x3cb83a,0x190,_0x951f69(0x1e6));return;}if(!this[_0x951f69(0x21e)](_0x4d498d)){_0x3677aa(_0x3cb83a,0x190);return;}const _0x22653e=_0x4d498d[_0x951f69(0x204)][_0x951f69(0x15e)];let _0x3d6e7d=new Set();if(_0x22653e!==void 0x0)try{_0x3d6e7d=_0x36bd53[_0x951f69(0x132)](_0x22653e);}catch{_0x1b87f3(this,_0x4d498d,_0x3cb83a,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x1bc950=_0x4d498d['headers'][_0x951f69(0x232)],_0xf09ead={};if(this[_0x951f69(0x1f0)][_0x951f69(0x258)]&&_0x1bc950!==void 0x0){const _0x14bd44=new _0x44395a(this[_0x951f69(0x1f0)][_0x951f69(0x258)],!0x0,this[_0x951f69(0x1f0)][_0x951f69(0x1cd)]);try{const _0x523170=_0x247190[_0x951f69(0x132)](_0x1bc950);_0x523170[_0x44395a[_0x951f69(0x2a6)]]&&(_0x14bd44[_0x951f69(0x13b)](_0x523170[_0x44395a[_0x951f69(0x2a6)]]),_0xf09ead[_0x44395a[_0x951f69(0x2a6)]]=_0x14bd44);}catch{_0x1b87f3(this,_0x4d498d,_0x3cb83a,0x190,_0x951f69(0x276));return;}}if(this[_0x951f69(0x1f0)][_0x951f69(0x1a0)]){const _0x1c6f5f={'origin':_0x4d498d[_0x951f69(0x204)][''+(_0x118375===0x8?_0x951f69(0x226):_0x951f69(0x234))],'secure':!!(_0x4d498d['socket'][_0x951f69(0x259)]||_0x4d498d[_0x951f69(0x11e)][_0x951f69(0x266)]),'req':_0x4d498d};if(this[_0x951f69(0x1f0)][_0x951f69(0x1a0)][_0x951f69(0x22f)]===0x2){this['options'][_0x951f69(0x1a0)](_0x1c6f5f,(_0x4f7376,_0x433f43,_0x5a6568,_0x54b9d7)=>{if(!_0x4f7376)return _0x3677aa(_0x3cb83a,_0x433f43||0x191,_0x5a6568,_0x54b9d7);this['completeUpgrade'](_0xf09ead,_0x5a50ee,_0x3d6e7d,_0x4d498d,_0x3cb83a,_0x1fe08a,_0x37daf6);});return;}if(!this['options']['verifyClient'](_0x1c6f5f))return _0x3677aa(_0x3cb83a,0x191);}this[_0x951f69(0x2ae)](_0xf09ead,_0x5a50ee,_0x3d6e7d,_0x4d498d,_0x3cb83a,_0x1fe08a,_0x37daf6);}[_0xc458f4(0x2ae)](_0x154932,_0x153636,_0x379555,_0x112cd3,_0x13dee9,_0x39501a,_0x56e85a){const _0x5007ee=_0xc458f4;if(!_0x13dee9[_0x5007ee(0x292)]||!_0x13dee9[_0x5007ee(0x113)])return _0x13dee9[_0x5007ee(0x1b5)]();if(_0x13dee9[_0x476585])throw new Error(_0x5007ee(0x15d));if(this['_state']>_0x12942b)return _0x3677aa(_0x13dee9,0x1f7);const _0x59fe43=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x5007ee(0x12b),_0x5007ee(0x2b3),_0x5007ee(0x14d)+_0x41e0b9(_0x5007ee(0x20a))[_0x5007ee(0x20f)](_0x153636+_0x24b1c8)[_0x5007ee(0x19d)](_0x5007ee(0x158))],_0xf59e7d=new this[(_0x5007ee(0x1f0))][(_0x5007ee(0x19e))](null,void 0x0,this[_0x5007ee(0x1f0)]);if(_0x379555['size']){const _0x5dfc49=this[_0x5007ee(0x1f0)][_0x5007ee(0x1d0)]?this['options'][_0x5007ee(0x1d0)](_0x379555,_0x112cd3):_0x379555[_0x5007ee(0x1aa)]()[_0x5007ee(0x1be)]()[_0x5007ee(0x19f)];_0x5dfc49&&(_0x59fe43[_0x5007ee(0x18b)]('Sec-WebSocket-Protocol:\x20'+_0x5dfc49),_0xf59e7d[_0x5007ee(0x225)]=_0x5dfc49);}if(_0x154932[_0x44395a[_0x5007ee(0x2a6)]]){const _0x44b79b=_0x154932[_0x44395a[_0x5007ee(0x2a6)]][_0x5007ee(0x1c2)],_0x3bec59=_0x247190[_0x5007ee(0x15a)]({[_0x44395a[_0x5007ee(0x2a6)]]:[_0x44b79b]});_0x59fe43['push'](_0x5007ee(0x145)+_0x3bec59),_0xf59e7d['_extensions']=_0x154932;}this[_0x5007ee(0x180)](_0x5007ee(0x204),_0x59fe43,_0x112cd3),_0x13dee9['write'](_0x59fe43[_0x5007ee(0x126)]('\x0d\x0a')[_0x5007ee(0x290)]('\x0d\x0a')),_0x13dee9[_0x5007ee(0x1eb)](_0x5007ee(0x25e),_0x2d7077),_0xf59e7d['setSocket'](_0x13dee9,_0x39501a,{'allowSynchronousEvents':this[_0x5007ee(0x1f0)]['allowSynchronousEvents'],'maxPayload':this[_0x5007ee(0x1f0)][_0x5007ee(0x1cd)],'skipUTF8Validation':this[_0x5007ee(0x1f0)][_0x5007ee(0x212)]}),this[_0x5007ee(0x12d)]&&(this[_0x5007ee(0x12d)]['add'](_0xf59e7d),_0xf59e7d['on'](_0x5007ee(0x115),()=>{const _0x3e8eb3=_0x5007ee;this['clients'][_0x3e8eb3(0x1ec)](_0xf59e7d),this[_0x3e8eb3(0x286)]&&!this[_0x3e8eb3(0x12d)][_0x3e8eb3(0x2a3)]&&process['nextTick'](_0x428563,this);})),_0x56e85a(_0xf59e7d,_0x112cd3);}}Te=_0x1e7267;function _0x12974d(_0x4ee232,_0x2ae5d8){const _0x96aed0=_0xc458f4;for(const _0x60a50f of Object[_0x96aed0(0x12f)](_0x2ae5d8))_0x4ee232['on'](_0x60a50f,_0x2ae5d8[_0x60a50f]);return function(){const _0xb5a2a4=_0x96aed0;for(const _0x5a05e8 of Object['keys'](_0x2ae5d8))_0x4ee232[_0xb5a2a4(0x1eb)](_0x5a05e8,_0x2ae5d8[_0x5a05e8]);};}function _0x428563(_0x14115c){const _0x2f932a=_0xc458f4;_0x14115c[_0x2f932a(0x28b)]=_0x590a25,_0x14115c[_0x2f932a(0x180)]('close');}function _0x2d7077(){const _0x1ac14f=_0xc458f4;this[_0x1ac14f(0x1b5)]();}function _0x3677aa(_0x1c1ff7,_0x1e0256,_0x767852,_0x163582){const _0x45c7a8=_0xc458f4;_0x767852=_0x767852||_0x57c3e6[_0x45c7a8(0x1c1)][_0x1e0256],_0x163582={'Connection':_0x45c7a8(0x115),'Content-Type':'text/html','Content-Length':Buffer[_0x45c7a8(0x233)](_0x767852),..._0x163582},_0x1c1ff7[_0x45c7a8(0x2bc)](_0x45c7a8(0x179),_0x1c1ff7[_0x45c7a8(0x1b5)]),_0x1c1ff7['end'](_0x45c7a8(0x1f4)+_0x1e0256+'\x20'+_0x57c3e6[_0x45c7a8(0x1c1)][_0x1e0256]+'\x0d\x0a'+Object['keys'](_0x163582)[_0x45c7a8(0x171)](_0x4700fa=>_0x4700fa+':\x20'+_0x163582[_0x4700fa])[_0x45c7a8(0x290)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x767852);}function _0x1b87f3(_0x3381a5,_0x34a479,_0x178012,_0x45cfe8,_0x27251f){const _0x15f41e=_0xc458f4;if(_0x3381a5[_0x15f41e(0x1fe)]('wsClientError')){const _0x46272d=new Error(_0x27251f);Error['captureStackTrace'](_0x46272d,_0x1b87f3),_0x3381a5['emit'](_0x15f41e(0x156),_0x46272d,_0x178012,_0x34a479);}else _0x3677aa(_0x178012,_0x45cfe8,_0x27251f);}return Te;}er();var tr=Object[_0x1f3744(0x230)],rr=(_0xd34ecb,_0x44390a,_0x20568b,_0x2e06b3)=>{const _0x11407c=_0x1f3744;for(var _0x138469=_0x2e06b3>0x1?void 0x0:_0x2e06b3?tr(_0x44390a,_0x20568b):_0x44390a,_0x34ce79=_0xd34ecb[_0x11407c(0x22f)]-0x1,_0x4761a2;_0x34ce79>=0x0;_0x34ce79--)(_0x4761a2=_0xd34ecb[_0x34ce79])&&(_0x138469=_0x4761a2(_0x138469)||_0x138469);return _0x138469;},sr=(_0x12918a,_0xff7eb1)=>(_0x4c24ac,_0x546d15)=>_0xff7eb1(_0x4c24ac,_0x546d15,_0x12918a);let Ne=class extends _0x1b3d4b{constructor(_0x2e8297){super(),this['_configService']=_0x2e8297;}[_0x1f3744(0x110)](_0xc4e455){const _0x1322db=_0x1f3744;var _0x19c500;const _0x42d1b3=(_0x19c500=this[_0x1322db(0x155)][_0x1322db(0x228)](Be))==null?void 0x0:_0x19c500['customHeaders'];try{const _0x294c59=new Qt(_0xc4e455,{'headers':{..._0x42d1b3}}),_0x1cc0ef=new _0x40f4f5();return{'URL':_0xc4e455,'close':(_0x35a083,_0x473954)=>{const _0x5d3fe4=_0x1322db;_0x294c59[_0x5d3fe4(0x115)](_0x35a083,_0x473954),_0x1cc0ef[_0x5d3fe4(0x1a7)]();},'send':_0x180c97=>{const _0x21ced0=_0x1322db;_0x294c59[_0x21ced0(0x2bd)](_0x180c97);},'open$':new _0x20c71d(_0x513639=>{const _0x3c2b14=_0x1322db,_0x304f3e=_0x2acbe2=>_0x513639[_0x3c2b14(0x1be)](_0x2acbe2);_0x294c59[_0x3c2b14(0x1f3)](_0x3c2b14(0x1f8),_0x304f3e),_0x1cc0ef['add'](_0x2457ad(()=>_0x294c59[_0x3c2b14(0x1cc)](_0x3c2b14(0x1f8),_0x304f3e)));})[_0x1322db(0x240)](_0x29a2cc()),'close$':new _0x20c71d(_0x54cbba=>{const _0x24c059=_0x1322db,_0x1f0131=_0x881477=>_0x54cbba[_0x24c059(0x1be)](_0x881477);_0x294c59[_0x24c059(0x1f3)]('close',_0x1f0131),_0x1cc0ef[_0x24c059(0x2be)](_0x2457ad(()=>_0x294c59[_0x24c059(0x1cc)](_0x24c059(0x115),_0x1f0131)));})['pipe'](_0x29a2cc()),'error$':new _0x20c71d(_0x2a3982=>{const _0x2d40b3=_0x1322db,_0x39e658=_0x2eabfb=>_0x2a3982[_0x2d40b3(0x1be)](_0x2eabfb);_0x294c59['addEventListener'](_0x2d40b3(0x25e),_0x39e658),_0x1cc0ef['add'](_0x2457ad(()=>_0x294c59[_0x2d40b3(0x1cc)](_0x2d40b3(0x25e),_0x39e658)));})[_0x1322db(0x240)](_0x29a2cc()),'message$':new _0x20c71d(_0x2cca0a=>{const _0x1c481b=_0x1322db,_0x43d401=_0x308ad0=>_0x2cca0a[_0x1c481b(0x1be)](_0x308ad0);_0x294c59[_0x1c481b(0x1f3)](_0x1c481b(0x251),_0x43d401),_0x1cc0ef[_0x1c481b(0x2be)](_0x2457ad(()=>_0x294c59['removeEventListener']('message',_0x43d401)));})[_0x1322db(0x240)](_0x29a2cc())};}catch(_0xac109b){return console[_0x1322db(0x25e)](_0xac109b),null;}}};Ne=rr([sr(0x0,_0x2b799a)],Ne);var ir=Object[_0x1f3744(0x160)],nr=Object[_0x1f3744(0x230)],or=(_0x4561d2,_0x2dc7a5,_0x36320d)=>_0x2dc7a5 in _0x4561d2?ir(_0x4561d2,_0x2dc7a5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36320d}):_0x4561d2[_0x2dc7a5]=_0x36320d,ar=(_0x502df5,_0x39f66d,_0x544300,_0x28798d)=>{const _0x505dc0=_0x1f3744;for(var _0x431834=_0x28798d>0x1?void 0x0:_0x28798d?nr(_0x39f66d,_0x544300):_0x39f66d,_0x2f4689=_0x502df5[_0x505dc0(0x22f)]-0x1,_0x151e7b;_0x2f4689>=0x0;_0x2f4689--)(_0x151e7b=_0x502df5[_0x2f4689])&&(_0x431834=_0x151e7b(_0x431834)||_0x431834);return _0x431834;},ke=(_0x5296d4,_0x5bbac1)=>(_0x54dd24,_0x183372)=>_0x5bbac1(_0x54dd24,_0x183372,_0x5296d4),lr=(_0x3f4570,_0x3d0eab,_0x311f9d)=>or(_0x3f4570,_0x3d0eab+'',_0x311f9d);let Pe=class extends _0x408198{constructor(_0x3f51f2=Ft,_0x508578,_0x21180c,_0x143826){const _0x393758=_0x1f3744;_0x3f51f2['customHeaders']||_0x508578[_0x393758(0x280)](_0x393758(0x1e1)),super(),this[_0x393758(0x155)]=_0x21180c,this[_0x393758(0x1f6)]=_0x143826,this[_0x393758(0x155)][_0x393758(0x283)](Be,_0x3f51f2);}['onStarting'](){this['_registerDependencies']();}[_0x1f3744(0x1a4)](){const _0x475274=_0x1f3744;_0x4362a4(this[_0x475274(0x1f6)],[[_0x3f71a0,{'useClass':Ne}]]);}};lr(Pe,_0x1f3744(0x178),_0x1f3744(0x10b)),Pe=ar([_0x206a4f(_0x50b261),ke(0x1,_0x8c19a3),ke(0x2,_0x2b799a),ke(0x3,_0x389d14(_0x27905b))],Pe);var fr=Object[_0x1f3744(0x230)],cr=(_0x5ca351,_0x50ba51,_0x4f35d3,_0x357132)=>{const _0x3b981b=_0x1f3744;for(var _0x569e8a=_0x357132>0x1?void 0x0:_0x357132?fr(_0x50ba51,_0x4f35d3):_0x50ba51,_0x3e2a71=_0x5ca351[_0x3b981b(0x22f)]-0x1,_0x48048b;_0x3e2a71>=0x0;_0x3e2a71--)(_0x48048b=_0x5ca351[_0x3e2a71])&&(_0x569e8a=_0x48048b(_0x569e8a)||_0x569e8a);return _0x569e8a;},se=(_0x4691fc,_0x1dd75a)=>(_0x2828db,_0x5dc392)=>_0x1dd75a(_0x2828db,_0x5dc392,_0x4691fc);let at=class extends _0x107e37{constructor(_0x8560dc,_0x4e9924,_0x41cd52,_0x27a4fa,_0x2ae0b1){const _0x536c6a=_0x1f3744;super(_0x8560dc,_0x4e9924,_0x41cd52,_0x27a4fa,_0x2ae0b1);const _0x7b4a14=this['_configService'][_0x536c6a(0x228)](Be);this[_0x536c6a(0x27b)]['registerHTTPInterceptor']({'interceptor':(_0x22c779,_0xad1ab)=>{const _0x138132=_0x536c6a;var _0x1197cd;const _0x248d1f=_0x22c779['headers'];return(_0x1197cd=_0x7b4a14==null?void 0x0:_0x7b4a14[_0x138132(0x2b2)])!=null&&_0x1197cd['cookie']&&_0x248d1f[_0x138132(0x17b)](_0x138132(0x1ba),_0x7b4a14[_0x138132(0x2b2)][_0x138132(0x1d7)]),_0xad1ab(_0x22c779);}});}async['createSocket'](_0x5ddd32){return this['_doCreateSocket'](_0x5ddd32);}};at=cr([se(0x0,_0x389d14(_0x27905b)),se(0x1,_0x389d14(_0x582042)),se(0x2,_0x2b799a),se(0x3,_0x8c19a3),se(0x4,_0x3d34da)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x15f6c9=_0x840b;(function(_0x28297a,_0x1fe71d){const _0x50bd3f=_0x840b,_0x126a32=_0x28297a();while(!![]){try{const _0x38152f=-parseInt(_0x50bd3f(0x1d6))/0x1*(parseInt(_0x50bd3f(0x193))/0x2)+parseInt(_0x50bd3f(0x173))/0x3+-parseInt(_0x50bd3f(0x120))/0x4+-parseInt(_0x50bd3f(0x16c))/0x5*(parseInt(_0x50bd3f(0x185))/0x6)+parseInt(_0x50bd3f(0x12b))/0x7+parseInt(_0x50bd3f(0x1f0))/0x8+-parseInt(_0x50bd3f(0x2b3))/0x9*(-parseInt(_0x50bd3f(0x27c))/0xa);if(_0x38152f===_0x1fe71d)break;else _0x126a32['push'](_0x126a32['shift']());}catch(_0xa4b08f){_0x126a32['push'](_0x126a32['shift']());}}}(_0x369a,0xd3349));import{UniverCollaborationClientPlugin as _0x1712f2,CollaborationSocketService as _0x30ece4}from'@univerjs-pro/collaboration-client';import{Disposable as _0x377e5d,DisposableCollection as _0x52c841,toDisposable as _0x9e3fe0,IConfigService as _0xb0deab,DependentOn as _0x3187a9,ILogService as _0x370bee,Inject as _0x23c7d9,Injector as _0x1d83c4,Plugin as _0x2f7cb9,registerDependencies as _0xf1aaa0}from'@univerjs/core';import{ISocketService as _0x22df9f,HTTPService as _0x492b06}from'@univerjs/network';import{Observable as _0x156a86,share as _0x36a070}from'rxjs';import _0x144219 from'events';import _0x188795 from'https';import _0x2a0443 from'http';import _0x5756bb from'net';import _0x8dffe6 from'tls';import _0x8b2df3 from'crypto';function _0x369a(){const _0x45232b=['byteOffset','_bufferedBytes','kDone','serverMaxWindowBits','_fragments','_originalHostOrSocketPath','_injector','_mask','_url','method','values','auth','blob','Invalid\x20WebSocket\x20frame:\x20','haveLength','readUInt32BE','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_errorEmitted','emitClose','WebSocket\x20is\x20not\x20open:\x20readyState\x20','server','pause','prototype','_compress','pathname','protocol','websocket','_decompress','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','removeAllListeners','isArray','_destroy','_writableState','createInflateRaw','https:','WS_ERR_INVALID_UTF8','createError','zlibDeflateOptions','url','concurrency','message','address','listening','customHeaders','_bufferedAmount','_req','ws+unix:','CLOSING','toLowerCase','binaryType','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','__esModule','157869eJjMaI','kMessage','hasOwnProperty','_readyState','kByteLength','flush','toString','shift','createSocket','location','apply','ws:','isValidUTF8','bind','_opcode','unexpected-response','listeners','get','_receiver','slice','decompress','once','onerror','_queue','clientMaxWindowBits','onopen','1710464dtnejS','warn','endEmitted','File','dispose','getBlobData','authorized','stream','freeze','reset','onStarting','handleEvent','The\x20URL\x27s\x20pathname\x20is\x20empty','controlMessage','cleanup','WS_ERR_INVALID_CLOSE_CODE','Invalid\x20value\x20for\x20parameter\x20\x22','_closeMessage','sec-websocket-origin','_autoPong','jobs','rsv1','MASK\x20must\x20be\x20set','sec-websocket-key','dataMessage','test','fin','encrypted','add','_socket','destroy','finished','Invalid\x20Upgrade\x20header','split','write','collaboration-client-node.config','arraybuffer','emit','constructor','number','_inflate','kListener','dispatch','destroyed','_masked','Unexpected\x20character\x20at\x20index\x20','_sender','completeUpgrade','target','Sec-WebSocket-Protocol','socketPath','error','getOwnPropertyDescriptor','addEventListener','_isServer','unshift','conclude','port','Sec-WebSocket-Origin','drain','join','_fin','pluginName','pipe','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','concat','opcode','unmask','digest','WS_ERR_INVALID_OPCODE','hash','noServer','socket','_closeTimer','username','normalizeParams','onclose','Z_DEFAULT_WINDOWBITS','species','skipUTF8Validation','\x22\x20subprotocol\x20is\x20duplicated','_totalPayloadLength','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','redirect','base64','Invalid\x20URL:\x20','construct','_fragmented','startsWith','close','connect','from','extensions','frame','request','Invalid\x20Sec-WebSocket-Extensions\x20header','permessage-deflate','setHeader','STATUS_CODES','getMask','setConfig','pow','invalid\x20opcode\x20','allocUnsafe','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','call','invalid\x20opcode\x200','callback','keys','shouldHandle','_originalIpc','then','accept','HTTP/1.1\x20101\x20Switching\x20Protocols','WS_NO_BUFFER_UTIL','upgrade','map','defineProperty','OPEN','Opening\x20handshake\x20has\x20timed\x20out','maxPayload','finish','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','pending','charCodeAt','Blob','_extensions','next','end','cork','_allowSynchronousEvents','kError','kTarget','kIsForOnEventAttribute','writeHead','_skipUTF8Validation','resume','clientTracking','buffer','_paused','3350BsROjm','bufferedAmount','createConnection','listenerCount','onmessage','_deflate','Invalid\x20HTTP\x20method','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','wsClientError','arrayBuffer','RSV1\x20must\x20be\x20clear','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','abort','create','serverNoContextTakeover','setSocket','acceptAsServer','params','response','CLOSED','Unexpected\x20server\x20response:\x20','Sec-WebSocket-Extensions','FIN\x20must\x20be\x20set','The\x20\x22','text/html','_write','handleProtocols','_payloadLength','headers','length','_state','_removeListeners','statusCode','\x22:\x20','_options','allowSynchronousEvents','backlog','server_no_context_takeover','autoPong','errorEmitted','isView','function','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Unknown\x20parameter\x20\x22','Connection:\x20Upgrade','Unexpected\x20end\x20of\x20input','_maskBuffer','_shouldEmitClose','Invalid\x20Sec-WebSocket-Accept\x20header','parse','pong','kData','_registerDependencies','Sec-WebSocket-Accept:\x20','Cookie','79218VWTrqM','readUInt16BE','needDrain','WebSocket','maxRedirects','cookie','path','followRedirects','objectMode','WS_ERR_UNEXPECTED_MASK','exports','perMessageDeflate','Parameter\x20\x22','_binaryType','sec-websocket-extensions','HTTP/1.1\x20','reason','writeUInt16BE','timeout','code','GET','status-code','readyState','size','_configService','_httpService','origin','_no_context_takeover','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','ping','4767868upcOBq','_closeFrameSent','acceptAsClient','client','protocolVersion','createServer','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','finishRequest','WS_ERR_EXPECTED_FIN','set','open','4970189BvpTLC','data','host','verifyClient','threshold','captureStackTrace','setNoDelay','sha1','_protocol','has','nextTick','isIP','Unsupported\x20protocol\x20version:\x20','extensionName','_readableState','getPayloadLength16','total-length','read','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','Max\x20payload\x20size\x20exceeded','CONNECTING','nodebuffer','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','kWasClean','Module','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','kCode','isInteger','getData','clients','defaultPort','removeListener','wasClean','hostname','catch','_threshold','_closeCode','registerHTTPInterceptor','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','env','string','sendFrame','servername','_loop','concurrencyLimit','Server\x20sent\x20an\x20invalid\x20subprotocol','_doCreateSocket','byteLength','_closeFrameReceived','getPayloadLength64','clientNoContextTakeover','getInfo','wss:','client_no_context_takeover','_redirects','_buffers','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_compressed','alloc','type','createDeflateRaw','href','indexOf','_firstFragment','_read','3799745Uatjze','push','buffers','_errored','delete','Z_SYNC_FLUSH','consume','148773PJeSLM','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','mask','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','compress','object','forEach','_generateMask','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','replace','sec-websocket-accept','authorization','binary','terminate','readOnly','invalid\x20UTF-8\x20sequence','dequeue','password','6JuzLEs','server_max_window_bits','find','WS_ERR_UNEXPECTED_RSV_1','default','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_messageLength','generateMask','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_max_window_bits','WS_ERR_UNEXPECTED_RSV_2_3','update','client_max_window_bits','14rsrWTe','setTimeout','enqueue','toStringTag','_maxPayload','getConfig','removeEventListener','isPaused','search','startLoop','options','_server','isBuffer','send','format'];_0x369a=function(){return _0x45232b;};return _0x369a();}import _0x107dc6 from'stream';import _0x4ea5de from'url';import _0x7c67fc from'zlib';import _0x4d5e5e from'buffer';import{ISnapshotServerService as _0x42dd48}from'@univerjs-pro/collaboration';const Be=_0x15f6c9(0x213),Ft={'customHeaders':{}};function jt(_0x1fcd44){const _0x48939e=_0x15f6c9;return _0x1fcd44&&_0x1fcd44[_0x48939e(0x1d5)]&&Object[_0x48939e(0x1b8)][_0x48939e(0x1d8)][_0x48939e(0x259)](_0x1fcd44,_0x48939e(0x189))?_0x1fcd44[_0x48939e(0x189)]:_0x1fcd44;}function ut(_0x19c322){const _0x51a7f5=_0x15f6c9;if(Object[_0x51a7f5(0x1b8)][_0x51a7f5(0x1d8)][_0x51a7f5(0x259)](_0x19c322,_0x51a7f5(0x1d5)))return _0x19c322;var _0x560eb4=_0x19c322[_0x51a7f5(0x189)];if(typeof _0x560eb4==_0x51a7f5(0x2a5)){var _0x346ebb=function _0x8087d2(){const _0x26a0f5=_0x51a7f5;return this instanceof _0x8087d2?Reflect[_0x26a0f5(0x246)](_0x560eb4,arguments,this[_0x26a0f5(0x216)]):_0x560eb4[_0x26a0f5(0x1e0)](this,arguments);};_0x346ebb[_0x51a7f5(0x1b8)]=_0x560eb4[_0x51a7f5(0x1b8)];}else _0x346ebb={};return Object['defineProperty'](_0x346ebb,_0x51a7f5(0x1d5),{'value':!0x0}),Object['keys'](_0x19c322)[_0x51a7f5(0x179)](function(_0x4da45b){const _0x5ce199=_0x51a7f5;var _0x3ae040=Object['getOwnPropertyDescriptor'](_0x19c322,_0x4da45b);Object[_0x5ce199(0x265)](_0x346ebb,_0x4da45b,_0x3ae040[_0x5ce199(0x1e7)]?_0x3ae040:{'enumerable':!0x0,'get':function(){return _0x19c322[_0x4da45b];}});}),_0x346ebb;}var te={'exports':{}},ge,Ye;function V(){const _0x4c9dcd=_0x15f6c9;if(Ye)return ge;Ye=0x1;const _0x42c07d=['nodebuffer',_0x4c9dcd(0x214),'fragments'],_0x3dc588=typeof Blob<'u';return _0x3dc588&&_0x42c07d[_0x4c9dcd(0x16d)](_0x4c9dcd(0x1ae)),ge={'BINARY_TYPES':_0x42c07d,'EMPTY_BUFFER':Buffer[_0x4c9dcd(0x165)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x3dc588,'kForOnEventAttribute':Symbol(_0x4c9dcd(0x275)),'kListener':Symbol(_0x4c9dcd(0x219)),'kStatusCode':Symbol(_0x4c9dcd(0x2c8)),'kWebSocket':Symbol(_0x4c9dcd(0x1bc)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x15f6c9(0x1f8)](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol[_0x15f6c9(0x196)],{'value':_0x15f6c9(0x143)})),Vt=ut(Gt);var Ke;function ce(){const _0x28d0a0=_0x15f6c9;if(Ke)return te[_0x28d0a0(0x2bd)];Ke=0x1;const {EMPTY_BUFFER:_0x1b89b2}=V(),_0x1de9ff=Buffer[Symbol['species']];function _0x3de9a8(_0x4fa359,_0x2e3084){const _0x3a9cfb=_0x28d0a0;if(_0x4fa359['length']===0x0)return _0x1b89b2;if(_0x4fa359['length']===0x1)return _0x4fa359[0x0];const _0x40f1a2=Buffer['allocUnsafe'](_0x2e3084);let _0x37e6c8=0x0;for(let _0x5c2edb=0x0;_0x5c2edb<_0x4fa359[_0x3a9cfb(0x299)];_0x5c2edb++){const _0x4b3114=_0x4fa359[_0x5c2edb];_0x40f1a2['set'](_0x4b3114,_0x37e6c8),_0x37e6c8+=_0x4b3114[_0x3a9cfb(0x299)];}return _0x37e6c8<_0x2e3084?new _0x1de9ff(_0x40f1a2[_0x3a9cfb(0x27a)],_0x40f1a2[_0x3a9cfb(0x1a2)],_0x37e6c8):_0x40f1a2;}function _0x46fc47(_0xd079a5,_0x278cc1,_0x291dda,_0x53a1f0,_0x5b35a7){for(let _0x5bc991=0x0;_0x5bc991<_0x5b35a7;_0x5bc991++)_0x291dda[_0x53a1f0+_0x5bc991]=_0xd079a5[_0x5bc991]^_0x278cc1[_0x5bc991&0x3];}function _0x1bce76(_0x56c858,_0x49bb7c){const _0xe5a3fb=_0x28d0a0;for(let _0x370e7c=0x0;_0x370e7c<_0x56c858[_0xe5a3fb(0x299)];_0x370e7c++)_0x56c858[_0x370e7c]^=_0x49bb7c[_0x370e7c&0x3];}function _0x82b408(_0x401a95){const _0x4f2115=_0x28d0a0;return _0x401a95[_0x4f2115(0x299)]===_0x401a95[_0x4f2115(0x27a)][_0x4f2115(0x15a)]?_0x401a95[_0x4f2115(0x27a)]:_0x401a95['buffer']['slice'](_0x401a95[_0x4f2115(0x1a2)],_0x401a95['byteOffset']+_0x401a95[_0x4f2115(0x299)]);}function _0x552d1f(_0xf8f14){const _0x357c0e=_0x28d0a0;if(_0x552d1f['readOnly']=!0x0,Buffer[_0x357c0e(0x19f)](_0xf8f14))return _0xf8f14;let _0xc4ffcb;return _0xf8f14 instanceof ArrayBuffer?_0xc4ffcb=new _0x1de9ff(_0xf8f14):ArrayBuffer[_0x357c0e(0x2a4)](_0xf8f14)?_0xc4ffcb=new _0x1de9ff(_0xf8f14[_0x357c0e(0x27a)],_0xf8f14[_0x357c0e(0x1a2)],_0xf8f14[_0x357c0e(0x15a)]):(_0xc4ffcb=Buffer[_0x357c0e(0x24b)](_0xf8f14),_0x552d1f['readOnly']=!0x1),_0xc4ffcb;}if(te[_0x28d0a0(0x2bd)]={'concat':_0x3de9a8,'mask':_0x46fc47,'toArrayBuffer':_0x82b408,'toBuffer':_0x552d1f,'unmask':_0x1bce76},!process[_0x28d0a0(0x152)][_0x28d0a0(0x262)])try{const _0x3f775f=Vt;te['exports'][_0x28d0a0(0x175)]=function(_0xc1a0c0,_0x3d1ef9,_0x34668a,_0x1b88c1,_0x1d08d4){const _0x3f1510=_0x28d0a0;_0x1d08d4<0x30?_0x46fc47(_0xc1a0c0,_0x3d1ef9,_0x34668a,_0x1b88c1,_0x1d08d4):_0x3f775f[_0x3f1510(0x175)](_0xc1a0c0,_0x3d1ef9,_0x34668a,_0x1b88c1,_0x1d08d4);},te[_0x28d0a0(0x2bd)][_0x28d0a0(0x233)]=function(_0x10b614,_0xc4833){const _0xaa8580=_0x28d0a0;_0x10b614[_0xaa8580(0x299)]<0x20?_0x1bce76(_0x10b614,_0xc4833):_0x3f775f['unmask'](_0x10b614,_0xc4833);};}catch{}return te[_0x28d0a0(0x2bd)];}var ye,Xe;function qt(){const _0x51cdfb=_0x15f6c9;if(Xe)return ye;Xe=0x1;const _0x5751e5=Symbol(_0x51cdfb(0x1a4)),_0x21a759=Symbol('kRun');class _0x1a9978{constructor(_0x57c821){const _0x46a705=_0x51cdfb;this[_0x5751e5]=()=>{const _0xe179c=_0x840b;this[_0xe179c(0x26b)]--,this[_0x21a759]();},this[_0x46a705(0x1c9)]=_0x57c821||0x1/0x0,this[_0x46a705(0x204)]=[],this[_0x46a705(0x26b)]=0x0;}[_0x51cdfb(0x20c)](_0xdf8704){const _0x25fd76=_0x51cdfb;this[_0x25fd76(0x204)][_0x25fd76(0x16d)](_0xdf8704),this[_0x21a759]();}[_0x21a759](){const _0x1fa17a=_0x51cdfb;if(this[_0x1fa17a(0x26b)]!==this[_0x1fa17a(0x1c9)]&&this['jobs'][_0x1fa17a(0x299)]){const _0x3bbd31=this['jobs'][_0x1fa17a(0x1dd)]();this[_0x1fa17a(0x26b)]++,_0x3bbd31(this[_0x5751e5]);}}}return ye=_0x1a9978,ye;}var ve,Ze;function he(){const _0x1f7258=_0x15f6c9;if(Ze)return ve;Ze=0x1;const _0x28b72a=_0x7c67fc,_0x169e42=ce(),_0x365ada=qt(),{kStatusCode:_0x5764b6}=V(),_0x2b3cc6=Buffer[Symbol['species']],_0x1120a6=Buffer['from']([0x0,0x0,0xff,0xff]),_0x2fa2e5=Symbol(_0x1f7258(0x250)),_0x331910=Symbol(_0x1f7258(0x13b)),_0x224bec=Symbol(_0x1f7258(0x25b)),_0x597e91=Symbol(_0x1f7258(0x16e)),_0x24bd93=Symbol(_0x1f7258(0x223));let _0x2d21da;class _0x5b2f8f{constructor(_0x7baaab,_0x318eb4,_0x551b2f){const _0x345aa9=_0x1f7258;if(this['_maxPayload']=_0x551b2f|0x0,this['_options']=_0x7baaab||{},this[_0x345aa9(0x14e)]=this[_0x345aa9(0x29e)]['threshold']!==void 0x0?this[_0x345aa9(0x29e)][_0x345aa9(0x12f)]:0x400,this['_isServer']=!!_0x318eb4,this[_0x345aa9(0x281)]=null,this[_0x345aa9(0x218)]=null,this[_0x345aa9(0x28d)]=null,!_0x2d21da){const _0x39ecfd=this[_0x345aa9(0x29e)]['concurrencyLimit']!==void 0x0?this[_0x345aa9(0x29e)][_0x345aa9(0x157)]:0xa;_0x2d21da=new _0x365ada(_0x39ecfd);}}static get['extensionName'](){const _0x160d86=_0x1f7258;return _0x160d86(0x250);}['offer'](){const _0x586b32=_0x1f7258,_0x21def2={};return this[_0x586b32(0x29e)]['serverNoContextTakeover']&&(_0x21def2[_0x586b32(0x2a1)]=!0x0),this[_0x586b32(0x29e)][_0x586b32(0x15d)]&&(_0x21def2[_0x586b32(0x160)]=!0x0),this['_options'][_0x586b32(0x1a5)]&&(_0x21def2[_0x586b32(0x186)]=this['_options'][_0x586b32(0x1a5)]),this[_0x586b32(0x29e)][_0x586b32(0x1ee)]?_0x21def2[_0x586b32(0x192)]=this[_0x586b32(0x29e)][_0x586b32(0x1ee)]:this['_options'][_0x586b32(0x1ee)]==null&&(_0x21def2[_0x586b32(0x192)]=!0x0),_0x21def2;}[_0x1f7258(0x260)](_0x26f236){const _0x5eb458=_0x1f7258;return _0x26f236=this['normalizeParams'](_0x26f236),this[_0x5eb458(0x28d)]=this[_0x5eb458(0x226)]?this['acceptAsServer'](_0x26f236):this['acceptAsClient'](_0x26f236),this[_0x5eb458(0x28d)];}['cleanup'](){const _0x3e1d1c=_0x1f7258;if(this[_0x3e1d1c(0x218)]&&(this[_0x3e1d1c(0x218)][_0x3e1d1c(0x249)](),this[_0x3e1d1c(0x218)]=null),this[_0x3e1d1c(0x281)]){const _0x506c2e=this['_deflate'][_0x224bec];this[_0x3e1d1c(0x281)]['close'](),this[_0x3e1d1c(0x281)]=null,_0x506c2e&&_0x506c2e(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x1f7258(0x28c)](_0x116715){const _0xd7a6b3=_0x1f7258,_0x283e1d=this[_0xd7a6b3(0x29e)],_0x4aa0bd=_0x116715[_0xd7a6b3(0x187)](_0x51ad85=>!(_0x283e1d['serverNoContextTakeover']===!0x1&&_0x51ad85[_0xd7a6b3(0x2a1)]||_0x51ad85[_0xd7a6b3(0x186)]&&(_0x283e1d['serverMaxWindowBits']===!0x1||typeof _0x283e1d['serverMaxWindowBits']==_0xd7a6b3(0x217)&&_0x283e1d['serverMaxWindowBits']>_0x51ad85[_0xd7a6b3(0x186)])||typeof _0x283e1d[_0xd7a6b3(0x1ee)]==_0xd7a6b3(0x217)&&!_0x51ad85[_0xd7a6b3(0x192)]));if(!_0x4aa0bd)throw new Error(_0xd7a6b3(0x1be));return _0x283e1d[_0xd7a6b3(0x28a)]&&(_0x4aa0bd[_0xd7a6b3(0x2a1)]=!0x0),_0x283e1d[_0xd7a6b3(0x15d)]&&(_0x4aa0bd[_0xd7a6b3(0x160)]=!0x0),typeof _0x283e1d[_0xd7a6b3(0x1a5)]==_0xd7a6b3(0x217)&&(_0x4aa0bd[_0xd7a6b3(0x186)]=_0x283e1d[_0xd7a6b3(0x1a5)]),typeof _0x283e1d['clientMaxWindowBits']=='number'?_0x4aa0bd[_0xd7a6b3(0x192)]=_0x283e1d[_0xd7a6b3(0x1ee)]:(_0x4aa0bd[_0xd7a6b3(0x192)]===!0x0||_0x283e1d['clientMaxWindowBits']===!0x1)&&delete _0x4aa0bd[_0xd7a6b3(0x192)],_0x4aa0bd;}[_0x1f7258(0x122)](_0x107359){const _0x47ced1=_0x1f7258,_0xd543c9=_0x107359[0x0];if(this['_options'][_0x47ced1(0x15d)]===!0x1&&_0xd543c9[_0x47ced1(0x160)])throw new Error(_0x47ced1(0x13d));if(!_0xd543c9[_0x47ced1(0x192)])typeof this[_0x47ced1(0x29e)][_0x47ced1(0x1ee)]==_0x47ced1(0x217)&&(_0xd543c9[_0x47ced1(0x192)]=this[_0x47ced1(0x29e)][_0x47ced1(0x1ee)]);else{if(this[_0x47ced1(0x29e)][_0x47ced1(0x1ee)]===!0x1||typeof this['_options'][_0x47ced1(0x1ee)]==_0x47ced1(0x217)&&_0xd543c9[_0x47ced1(0x192)]>this[_0x47ced1(0x29e)][_0x47ced1(0x1ee)])throw new Error(_0x47ced1(0x151));}return _0xd543c9;}[_0x1f7258(0x23b)](_0xd14668){return _0xd14668['forEach'](_0x4391ec=>{const _0x211d67=_0x840b;Object[_0x211d67(0x25c)](_0x4391ec)[_0x211d67(0x179)](_0x1bfb2c=>{const _0x1dcc8b=_0x211d67;let _0x302a9d=_0x4391ec[_0x1bfb2c];if(_0x302a9d[_0x1dcc8b(0x299)]>0x1)throw new Error(_0x1dcc8b(0x2bf)+_0x1bfb2c+_0x1dcc8b(0x163));if(_0x302a9d=_0x302a9d[0x0],_0x1bfb2c==='client_max_window_bits'){if(_0x302a9d!==!0x0){const _0x51f958=+_0x302a9d;if(!Number[_0x1dcc8b(0x146)](_0x51f958)||_0x51f958<0x8||_0x51f958>0xf)throw new TypeError(_0x1dcc8b(0x200)+_0x1bfb2c+_0x1dcc8b(0x29d)+_0x302a9d);_0x302a9d=_0x51f958;}else{if(!this['_isServer'])throw new TypeError(_0x1dcc8b(0x200)+_0x1bfb2c+_0x1dcc8b(0x29d)+_0x302a9d);}}else{if(_0x1bfb2c==='server_max_window_bits'){const _0x45d4d0=+_0x302a9d;if(!Number['isInteger'](_0x45d4d0)||_0x45d4d0<0x8||_0x45d4d0>0xf)throw new TypeError(_0x1dcc8b(0x200)+_0x1bfb2c+'\x22:\x20'+_0x302a9d);_0x302a9d=_0x45d4d0;}else{if(_0x1bfb2c==='client_no_context_takeover'||_0x1bfb2c===_0x1dcc8b(0x2a1)){if(_0x302a9d!==!0x0)throw new TypeError(_0x1dcc8b(0x200)+_0x1bfb2c+_0x1dcc8b(0x29d)+_0x302a9d);}else throw new Error(_0x1dcc8b(0x2a7)+_0x1bfb2c+'\x22');}}_0x4391ec[_0x1bfb2c]=_0x302a9d;});}),_0xd14668;}['decompress'](_0x3d3067,_0x9115bc,_0x4b9ae6){const _0x3e8454=_0x1f7258;_0x2d21da[_0x3e8454(0x20c)](_0x237351=>{this['_decompress'](_0x3d3067,_0x9115bc,(_0x38bf4b,_0x48d3df)=>{_0x237351(),_0x4b9ae6(_0x38bf4b,_0x48d3df);});});}[_0x1f7258(0x177)](_0x53894c,_0x2b6de6,_0x537f5e){_0x2d21da['add'](_0x25adcd=>{const _0x54e376=_0x840b;this[_0x54e376(0x1b9)](_0x53894c,_0x2b6de6,(_0x3b42c5,_0x3bea63)=>{_0x25adcd(),_0x537f5e(_0x3b42c5,_0x3bea63);});});}[_0x1f7258(0x1bd)](_0xd02df1,_0xd51c0e,_0x561657){const _0x54e954=_0x1f7258,_0x2ef4ab=this[_0x54e954(0x226)]?_0x54e954(0x123):_0x54e954(0x1b6);if(!this['_inflate']){const _0x1c24e3=_0x2ef4ab+_0x54e954(0x18f),_0xce2e1f=typeof this['params'][_0x1c24e3]!=_0x54e954(0x217)?_0x28b72a[_0x54e954(0x23d)]:this[_0x54e954(0x28d)][_0x1c24e3];this['_inflate']=_0x28b72a[_0x54e954(0x1c3)]({...this[_0x54e954(0x29e)]['zlibInflateOptions'],'windowBits':_0xce2e1f}),this['_inflate'][_0x2fa2e5]=this,this[_0x54e954(0x218)][_0x331910]=0x0,this[_0x54e954(0x218)][_0x597e91]=[],this[_0x54e954(0x218)]['on'](_0x54e954(0x223),_0x23632d),this[_0x54e954(0x218)]['on'](_0x54e954(0x12c),_0x3c1c3d);}this[_0x54e954(0x218)][_0x224bec]=_0x561657,this[_0x54e954(0x218)][_0x54e954(0x212)](_0xd02df1),_0xd51c0e&&this[_0x54e954(0x218)][_0x54e954(0x212)](_0x1120a6),this[_0x54e954(0x218)]['flush'](()=>{const _0x46ad07=_0x54e954,_0x1015c4=this[_0x46ad07(0x218)][_0x24bd93];if(_0x1015c4){this['_inflate']['close'](),this[_0x46ad07(0x218)]=null,_0x561657(_0x1015c4);return;}const _0x53423d=_0x169e42['concat'](this[_0x46ad07(0x218)][_0x597e91],this['_inflate'][_0x331910]);this[_0x46ad07(0x218)][_0x46ad07(0x139)][_0x46ad07(0x1f2)]?(this[_0x46ad07(0x218)]['close'](),this[_0x46ad07(0x218)]=null):(this['_inflate'][_0x331910]=0x0,this[_0x46ad07(0x218)][_0x597e91]=[],_0xd51c0e&&this[_0x46ad07(0x28d)][_0x2ef4ab+_0x46ad07(0x11d)]&&this[_0x46ad07(0x218)][_0x46ad07(0x1f9)]()),_0x561657(null,_0x53423d);});}[_0x1f7258(0x1b9)](_0x184bbf,_0x5adb4e,_0x4e8810){const _0x234870=_0x1f7258,_0x492806=this['_isServer']?_0x234870(0x1b6):_0x234870(0x123);if(!this[_0x234870(0x281)]){const _0x3eaded=_0x492806+'_max_window_bits',_0x37fda3=typeof this[_0x234870(0x28d)][_0x3eaded]!=_0x234870(0x217)?_0x28b72a['Z_DEFAULT_WINDOWBITS']:this[_0x234870(0x28d)][_0x3eaded];this[_0x234870(0x281)]=_0x28b72a[_0x234870(0x167)]({...this[_0x234870(0x29e)][_0x234870(0x1c7)],'windowBits':_0x37fda3}),this[_0x234870(0x281)][_0x331910]=0x0,this[_0x234870(0x281)][_0x597e91]=[],this[_0x234870(0x281)]['on'](_0x234870(0x12c),_0x182067);}this['_deflate'][_0x224bec]=_0x4e8810,this[_0x234870(0x281)][_0x234870(0x212)](_0x184bbf),this[_0x234870(0x281)][_0x234870(0x1db)](_0x28b72a[_0x234870(0x171)],()=>{const _0x39fa31=_0x234870;if(!this[_0x39fa31(0x281)])return;let _0x120ff9=_0x169e42[_0x39fa31(0x231)](this['_deflate'][_0x597e91],this[_0x39fa31(0x281)][_0x331910]);_0x5adb4e&&(_0x120ff9=new _0x2b3cc6(_0x120ff9[_0x39fa31(0x27a)],_0x120ff9['byteOffset'],_0x120ff9[_0x39fa31(0x299)]-0x4)),this[_0x39fa31(0x281)][_0x224bec]=null,this[_0x39fa31(0x281)][_0x331910]=0x0,this[_0x39fa31(0x281)][_0x597e91]=[],_0x5adb4e&&this['params'][_0x492806+'_no_context_takeover']&&this[_0x39fa31(0x281)][_0x39fa31(0x1f9)](),_0x4e8810(null,_0x120ff9);});}}ve=_0x5b2f8f;function _0x182067(_0x2cc201){const _0x32af18=_0x1f7258;this[_0x597e91][_0x32af18(0x16d)](_0x2cc201),this[_0x331910]+=_0x2cc201[_0x32af18(0x299)];}function _0x3c1c3d(_0x4fb83d){const _0x3ed82c=_0x1f7258;if(this[_0x331910]+=_0x4fb83d[_0x3ed82c(0x299)],this[_0x2fa2e5][_0x3ed82c(0x197)]<0x1||this[_0x331910]<=this[_0x2fa2e5]['_maxPayload']){this[_0x597e91]['push'](_0x4fb83d);return;}this[_0x24bd93]=new RangeError(_0x3ed82c(0x13e)),this[_0x24bd93][_0x3ed82c(0x2c6)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x24bd93][_0x5764b6]=0x3f1,this['removeListener'](_0x3ed82c(0x12c),_0x3c1c3d),this['reset']();}function _0x23632d(_0x13cbf0){const _0x1a46b9=_0x1f7258;if(this[_0x2fa2e5][_0x1a46b9(0x218)]=null,this[_0x24bd93]){this[_0x224bec](this[_0x24bd93]);return;}_0x13cbf0[_0x5764b6]=0x3ef,this[_0x224bec](_0x13cbf0);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x15f6c9(0x1f8)](Object[_0x15f6c9(0x265)]({'__proto__':null,'default':Ht},Symbol[_0x15f6c9(0x196)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x529859=_0x15f6c9;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x4a9c5e}=_0x4d5e5e,{hasBlob:_0x427b00}=V(),_0x335516=[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 _0x1acf5f(_0x4ba45e){return _0x4ba45e>=0x3e8&&_0x4ba45e<=0x3f6&&_0x4ba45e!==0x3ec&&_0x4ba45e!==0x3ed&&_0x4ba45e!==0x3ee||_0x4ba45e>=0xbb8&&_0x4ba45e<=0x1387;}function _0x188fdc(_0x35c1ce){const _0x30907=_0x840b,_0x34f4f1=_0x35c1ce[_0x30907(0x299)];let _0x59d9c2=0x0;for(;_0x59d9c2<_0x34f4f1;)if((_0x35c1ce[_0x59d9c2]&0x80)===0x0)_0x59d9c2++;else{if((_0x35c1ce[_0x59d9c2]&0xe0)===0xc0){if(_0x59d9c2+0x1===_0x34f4f1||(_0x35c1ce[_0x59d9c2+0x1]&0xc0)!==0x80||(_0x35c1ce[_0x59d9c2]&0xfe)===0xc0)return!0x1;_0x59d9c2+=0x2;}else{if((_0x35c1ce[_0x59d9c2]&0xf0)===0xe0){if(_0x59d9c2+0x2>=_0x34f4f1||(_0x35c1ce[_0x59d9c2+0x1]&0xc0)!==0x80||(_0x35c1ce[_0x59d9c2+0x2]&0xc0)!==0x80||_0x35c1ce[_0x59d9c2]===0xe0&&(_0x35c1ce[_0x59d9c2+0x1]&0xe0)===0x80||_0x35c1ce[_0x59d9c2]===0xed&&(_0x35c1ce[_0x59d9c2+0x1]&0xe0)===0xa0)return!0x1;_0x59d9c2+=0x3;}else{if((_0x35c1ce[_0x59d9c2]&0xf8)===0xf0){if(_0x59d9c2+0x3>=_0x34f4f1||(_0x35c1ce[_0x59d9c2+0x1]&0xc0)!==0x80||(_0x35c1ce[_0x59d9c2+0x2]&0xc0)!==0x80||(_0x35c1ce[_0x59d9c2+0x3]&0xc0)!==0x80||_0x35c1ce[_0x59d9c2]===0xf0&&(_0x35c1ce[_0x59d9c2+0x1]&0xf0)===0x80||_0x35c1ce[_0x59d9c2]===0xf4&&_0x35c1ce[_0x59d9c2+0x1]>0x8f||_0x35c1ce[_0x59d9c2]>0xf4)return!0x1;_0x59d9c2+=0x4;}else return!0x1;}}}return!0x0;}function _0x1e4ce1(_0x1fd353){const _0x4042f6=_0x840b;return _0x427b00&&typeof _0x1fd353=='object'&&typeof _0x1fd353['arrayBuffer']=='function'&&typeof _0x1fd353['type']==_0x4042f6(0x153)&&typeof _0x1fd353[_0x4042f6(0x1f7)]==_0x4042f6(0x2a5)&&(_0x1fd353[Symbol['toStringTag']]===_0x4042f6(0x26d)||_0x1fd353[Symbol[_0x4042f6(0x196)]]===_0x4042f6(0x1f3));}if(re['exports']={'isBlob':_0x1e4ce1,'isValidStatusCode':_0x1acf5f,'isValidUTF8':_0x188fdc,'tokenChars':_0x335516},_0x4a9c5e)re[_0x529859(0x2bd)]['isValidUTF8']=function(_0x4fbeeb){const _0x170844=_0x529859;return _0x4fbeeb[_0x170844(0x299)]<0x18?_0x188fdc(_0x4fbeeb):_0x4a9c5e(_0x4fbeeb);};else{if(!process[_0x529859(0x152)]['WS_NO_UTF_8_VALIDATE'])try{const _0x351b66=Yt;re[_0x529859(0x2bd)][_0x529859(0x1e2)]=function(_0x11fcc5){return _0x11fcc5['length']<0x20?_0x188fdc(_0x11fcc5):_0x351b66(_0x11fcc5);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x29ffa2=_0x15f6c9;if(Je)return Se;Je=0x1;const {Writable:_0x889685}=_0x107dc6,_0x26eba2=he(),{BINARY_TYPES:_0x1d15e2,EMPTY_BUFFER:_0x1a349d,kStatusCode:_0x39c82b,kWebSocket:_0x1fe0a3}=V(),{concat:_0x4750f6,toArrayBuffer:_0x251b76,unmask:_0x4bb4a8}=ce(),{isValidStatusCode:_0x5def09,isValidUTF8:_0xba7966}=ne(),_0x27926a=Buffer[Symbol[_0x29ffa2(0x23e)]],_0x1f9de2=0x0,_0x357f65=0x1,_0x13fad4=0x2,_0x365869=0x3,_0x1b8271=0x4,_0x1812f1=0x5,_0x146901=0x6;class _0x5c1ef0 extends _0x889685{constructor(_0x5e8cbe={}){const _0x480e81=_0x29ffa2;super(),this['_allowSynchronousEvents']=_0x5e8cbe['allowSynchronousEvents']!==void 0x0?_0x5e8cbe[_0x480e81(0x29f)]:!0x0,this[_0x480e81(0x2c0)]=_0x5e8cbe[_0x480e81(0x1d3)]||_0x1d15e2[0x0],this[_0x480e81(0x26e)]=_0x5e8cbe[_0x480e81(0x24c)]||{},this['_isServer']=!!_0x5e8cbe['isServer'],this[_0x480e81(0x197)]=_0x5e8cbe['maxPayload']|0x0,this[_0x480e81(0x277)]=!!_0x5e8cbe[_0x480e81(0x23f)],this[_0x1fe0a3]=void 0x0,this[_0x480e81(0x1a3)]=0x0,this['_buffers']=[],this['_compressed']=!0x1,this[_0x480e81(0x297)]=0x0,this[_0x480e81(0x1a9)]=void 0x0,this['_fragmented']=0x0,this[_0x480e81(0x21c)]=!0x1,this[_0x480e81(0x22d)]=!0x1,this[_0x480e81(0x1e4)]=0x0,this[_0x480e81(0x241)]=0x0,this[_0x480e81(0x18c)]=0x0,this[_0x480e81(0x1a6)]=[],this[_0x480e81(0x16f)]=!0x1,this[_0x480e81(0x156)]=!0x1,this['_state']=_0x1f9de2;}['_write'](_0x31ecb1,_0x373c93,_0xfb5248){const _0x3df17f=_0x29ffa2;if(this[_0x3df17f(0x1e4)]===0x8&&this[_0x3df17f(0x29a)]==_0x1f9de2)return _0xfb5248();this[_0x3df17f(0x1a3)]+=_0x31ecb1[_0x3df17f(0x299)],this['_buffers'][_0x3df17f(0x16d)](_0x31ecb1),this[_0x3df17f(0x19c)](_0xfb5248);}['consume'](_0x358a5f){const _0x829b24=_0x29ffa2;if(this[_0x829b24(0x1a3)]-=_0x358a5f,_0x358a5f===this[_0x829b24(0x162)][0x0][_0x829b24(0x299)])return this['_buffers'][_0x829b24(0x1dd)]();if(_0x358a5f<this['_buffers'][0x0]['length']){const _0x424d55=this[_0x829b24(0x162)][0x0];return this['_buffers'][0x0]=new _0x27926a(_0x424d55['buffer'],_0x424d55['byteOffset']+_0x358a5f,_0x424d55[_0x829b24(0x299)]-_0x358a5f),new _0x27926a(_0x424d55['buffer'],_0x424d55[_0x829b24(0x1a2)],_0x358a5f);}const _0x295f34=Buffer[_0x829b24(0x257)](_0x358a5f);do{const _0x3d4a2b=this[_0x829b24(0x162)][0x0],_0x335588=_0x295f34[_0x829b24(0x299)]-_0x358a5f;_0x358a5f>=_0x3d4a2b[_0x829b24(0x299)]?_0x295f34[_0x829b24(0x129)](this[_0x829b24(0x162)][_0x829b24(0x1dd)](),_0x335588):(_0x295f34[_0x829b24(0x129)](new Uint8Array(_0x3d4a2b['buffer'],_0x3d4a2b[_0x829b24(0x1a2)],_0x358a5f),_0x335588),this[_0x829b24(0x162)][0x0]=new _0x27926a(_0x3d4a2b[_0x829b24(0x27a)],_0x3d4a2b[_0x829b24(0x1a2)]+_0x358a5f,_0x3d4a2b[_0x829b24(0x299)]-_0x358a5f)),_0x358a5f-=_0x3d4a2b['length'];}while(_0x358a5f>0x0);return _0x295f34;}[_0x29ffa2(0x19c)](_0x41a07a){const _0x5936e7=_0x29ffa2;this['_loop']=!0x0;do switch(this[_0x5936e7(0x29a)]){case _0x1f9de2:this[_0x5936e7(0x15e)](_0x41a07a);break;case _0x357f65:this[_0x5936e7(0x13a)](_0x41a07a);break;case _0x13fad4:this[_0x5936e7(0x15c)](_0x41a07a);break;case _0x365869:this[_0x5936e7(0x253)]();break;case _0x1b8271:this[_0x5936e7(0x147)](_0x41a07a);break;case _0x1812f1:case _0x146901:this['_loop']=!0x1;return;}while(this['_loop']);this['_errored']||_0x41a07a();}['getInfo'](_0x43c765){const _0x50098d=_0x29ffa2;if(this[_0x50098d(0x1a3)]<0x2){this['_loop']=!0x1;return;}const _0x59af85=this[_0x50098d(0x172)](0x2);if((_0x59af85[0x0]&0x30)!==0x0){const _0x1cf1d2=this[_0x50098d(0x1c6)](RangeError,_0x50098d(0x174),!0x0,0x3ea,_0x50098d(0x190));_0x43c765(_0x1cf1d2);return;}const _0x4efd59=(_0x59af85[0x0]&0x40)===0x40;if(_0x4efd59&&!this[_0x50098d(0x26e)][_0x26eba2['extensionName']]){const _0x3dfdf8=this[_0x50098d(0x1c6)](RangeError,_0x50098d(0x286),!0x0,0x3ea,_0x50098d(0x188));_0x43c765(_0x3dfdf8);return;}if(this[_0x50098d(0x22d)]=(_0x59af85[0x0]&0x80)===0x80,this[_0x50098d(0x1e4)]=_0x59af85[0x0]&0xf,this[_0x50098d(0x297)]=_0x59af85[0x1]&0x7f,this[_0x50098d(0x1e4)]===0x0){if(_0x4efd59){const _0x1c0fbb=this[_0x50098d(0x1c6)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x50098d(0x188));_0x43c765(_0x1c0fbb);return;}if(!this[_0x50098d(0x247)]){const _0x54aa29=this[_0x50098d(0x1c6)](RangeError,_0x50098d(0x25a),!0x0,0x3ea,_0x50098d(0x235));_0x43c765(_0x54aa29);return;}this[_0x50098d(0x1e4)]=this[_0x50098d(0x247)];}else{if(this[_0x50098d(0x1e4)]===0x1||this[_0x50098d(0x1e4)]===0x2){if(this[_0x50098d(0x247)]){const _0x264cc7=this[_0x50098d(0x1c6)](RangeError,_0x50098d(0x256)+this[_0x50098d(0x1e4)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x43c765(_0x264cc7);return;}this[_0x50098d(0x164)]=_0x4efd59;}else{if(this['_opcode']>0x7&&this[_0x50098d(0x1e4)]<0xb){if(!this[_0x50098d(0x22d)]){const _0x355f48=this[_0x50098d(0x1c6)](RangeError,_0x50098d(0x292),!0x0,0x3ea,_0x50098d(0x128));_0x43c765(_0x355f48);return;}if(_0x4efd59){const _0x84c8fb=this[_0x50098d(0x1c6)](RangeError,_0x50098d(0x286),!0x0,0x3ea,_0x50098d(0x188));_0x43c765(_0x84c8fb);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this[_0x50098d(0x297)]===0x1){const _0x55bb1e=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this[_0x50098d(0x297)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x43c765(_0x55bb1e);return;}}else{const _0x524e02=this[_0x50098d(0x1c6)](RangeError,_0x50098d(0x256)+this['_opcode'],!0x0,0x3ea,_0x50098d(0x235));_0x43c765(_0x524e02);return;}}}if(!this[_0x50098d(0x22d)]&&!this[_0x50098d(0x247)]&&(this[_0x50098d(0x247)]=this[_0x50098d(0x1e4)]),this[_0x50098d(0x21c)]=(_0x59af85[0x1]&0x80)===0x80,this[_0x50098d(0x226)]){if(!this['_masked']){const _0x3e19fe=this['createError'](RangeError,_0x50098d(0x206),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x43c765(_0x3e19fe);return;}}else{if(this[_0x50098d(0x21c)]){const _0x1cf85d=this[_0x50098d(0x1c6)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x50098d(0x2bc));_0x43c765(_0x1cf85d);return;}}this[_0x50098d(0x297)]===0x7e?this['_state']=_0x357f65:this[_0x50098d(0x297)]===0x7f?this[_0x50098d(0x29a)]=_0x13fad4:this[_0x50098d(0x1b0)](_0x43c765);}[_0x29ffa2(0x13a)](_0x5de6cc){const _0x46c154=_0x29ffa2;if(this[_0x46c154(0x1a3)]<0x2){this[_0x46c154(0x156)]=!0x1;return;}this[_0x46c154(0x297)]=this[_0x46c154(0x172)](0x2)['readUInt16BE'](0x0),this[_0x46c154(0x1b0)](_0x5de6cc);}[_0x29ffa2(0x15c)](_0x201dc4){const _0x426676=_0x29ffa2;if(this[_0x426676(0x1a3)]<0x8){this[_0x426676(0x156)]=!0x1;return;}const _0x13d7ab=this['consume'](0x8),_0x251806=_0x13d7ab[_0x426676(0x1b1)](0x0);if(_0x251806>Math[_0x426676(0x255)](0x2,0x15)-0x1){const _0x15d344=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x426676(0x283));_0x201dc4(_0x15d344);return;}this['_payloadLength']=_0x251806*Math['pow'](0x2,0x20)+_0x13d7ab[_0x426676(0x1b1)](0x4),this['haveLength'](_0x201dc4);}[_0x29ffa2(0x1b0)](_0x31a990){const _0x1918dc=_0x29ffa2;if(this[_0x1918dc(0x297)]&&this[_0x1918dc(0x1e4)]<0x8&&(this['_totalPayloadLength']+=this['_payloadLength'],this[_0x1918dc(0x241)]>this[_0x1918dc(0x197)]&&this[_0x1918dc(0x197)]>0x0)){const _0x460ae1=this[_0x1918dc(0x1c6)](RangeError,_0x1918dc(0x13e),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x31a990(_0x460ae1);return;}this['_masked']?this[_0x1918dc(0x29a)]=_0x365869:this[_0x1918dc(0x29a)]=_0x1b8271;}[_0x29ffa2(0x253)](){const _0x73aa0=_0x29ffa2;if(this[_0x73aa0(0x1a3)]<0x4){this[_0x73aa0(0x156)]=!0x1;return;}this[_0x73aa0(0x1a9)]=this['consume'](0x4),this[_0x73aa0(0x29a)]=_0x1b8271;}['getData'](_0x3fc78e){const _0x42dcf1=_0x29ffa2;let _0x47957e=_0x1a349d;if(this[_0x42dcf1(0x297)]){if(this[_0x42dcf1(0x1a3)]<this['_payloadLength']){this[_0x42dcf1(0x156)]=!0x1;return;}_0x47957e=this[_0x42dcf1(0x172)](this['_payloadLength']),this[_0x42dcf1(0x21c)]&&(this[_0x42dcf1(0x1a9)][0x0]|this['_mask'][0x1]|this[_0x42dcf1(0x1a9)][0x2]|this['_mask'][0x3])!==0x0&&_0x4bb4a8(_0x47957e,this[_0x42dcf1(0x1a9)]);}if(this['_opcode']>0x7){this[_0x42dcf1(0x1fd)](_0x47957e,_0x3fc78e);return;}if(this[_0x42dcf1(0x164)]){this[_0x42dcf1(0x29a)]=_0x1812f1,this['decompress'](_0x47957e,_0x3fc78e);return;}_0x47957e[_0x42dcf1(0x299)]&&(this['_messageLength']=this[_0x42dcf1(0x241)],this[_0x42dcf1(0x1a6)][_0x42dcf1(0x16d)](_0x47957e)),this[_0x42dcf1(0x208)](_0x3fc78e);}[_0x29ffa2(0x1ea)](_0x4acf54,_0x3298a9){const _0x4bd373=_0x29ffa2;this[_0x4bd373(0x26e)][_0x26eba2[_0x4bd373(0x138)]][_0x4bd373(0x1ea)](_0x4acf54,this['_fin'],(_0xd7fda7,_0x3ec8ed)=>{const _0x1a0f7c=_0x4bd373;if(_0xd7fda7)return _0x3298a9(_0xd7fda7);if(_0x3ec8ed[_0x1a0f7c(0x299)]){if(this[_0x1a0f7c(0x18c)]+=_0x3ec8ed[_0x1a0f7c(0x299)],this[_0x1a0f7c(0x18c)]>this['_maxPayload']&&this[_0x1a0f7c(0x197)]>0x0){const _0x220b28=this[_0x1a0f7c(0x1c6)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x1a0f7c(0x18b));_0x3298a9(_0x220b28);return;}this['_fragments']['push'](_0x3ec8ed);}this[_0x1a0f7c(0x208)](_0x3298a9),this[_0x1a0f7c(0x29a)]===_0x1f9de2&&this[_0x1a0f7c(0x19c)](_0x3298a9);});}[_0x29ffa2(0x208)](_0xcb3af0){const _0x3f3499=_0x29ffa2;if(!this[_0x3f3499(0x22d)]){this[_0x3f3499(0x29a)]=_0x1f9de2;return;}const _0x29b767=this[_0x3f3499(0x18c)],_0x2108b8=this[_0x3f3499(0x1a6)];if(this[_0x3f3499(0x241)]=0x0,this['_messageLength']=0x0,this['_fragmented']=0x0,this[_0x3f3499(0x1a6)]=[],this[_0x3f3499(0x1e4)]===0x2){let _0x466af4;this[_0x3f3499(0x2c0)]===_0x3f3499(0x140)?_0x466af4=_0x4750f6(_0x2108b8,_0x29b767):this[_0x3f3499(0x2c0)]===_0x3f3499(0x214)?_0x466af4=_0x251b76(_0x4750f6(_0x2108b8,_0x29b767)):this['_binaryType']===_0x3f3499(0x1ae)?_0x466af4=new Blob(_0x2108b8):_0x466af4=_0x2108b8,this['_allowSynchronousEvents']?(this['emit'](_0x3f3499(0x1ca),_0x466af4,!0x0),this[_0x3f3499(0x29a)]=_0x1f9de2):(this[_0x3f3499(0x29a)]=_0x146901,setImmediate(()=>{const _0x245645=_0x3f3499;this['emit'](_0x245645(0x1ca),_0x466af4,!0x0),this[_0x245645(0x29a)]=_0x1f9de2,this[_0x245645(0x19c)](_0xcb3af0);}));}else{const _0x1cd598=_0x4750f6(_0x2108b8,_0x29b767);if(!this[_0x3f3499(0x277)]&&!_0xba7966(_0x1cd598)){const _0x5a1471=this[_0x3f3499(0x1c6)](Error,_0x3f3499(0x182),!0x0,0x3ef,_0x3f3499(0x1c5));_0xcb3af0(_0x5a1471);return;}this['_state']===_0x1812f1||this[_0x3f3499(0x272)]?(this[_0x3f3499(0x215)]('message',_0x1cd598,!0x1),this['_state']=_0x1f9de2):(this[_0x3f3499(0x29a)]=_0x146901,setImmediate(()=>{const _0x1bdaa9=_0x3f3499;this[_0x1bdaa9(0x215)]('message',_0x1cd598,!0x1),this[_0x1bdaa9(0x29a)]=_0x1f9de2,this[_0x1bdaa9(0x19c)](_0xcb3af0);}));}}['controlMessage'](_0x3d6759,_0x53a7c8){const _0x4f3bdb=_0x29ffa2;if(this[_0x4f3bdb(0x1e4)]===0x8){if(_0x3d6759['length']===0x0)this['_loop']=!0x1,this[_0x4f3bdb(0x215)]('conclude',0x3ed,_0x1a349d),this[_0x4f3bdb(0x270)]();else{const _0x124d66=_0x3d6759[_0x4f3bdb(0x2b4)](0x0);if(!_0x5def09(_0x124d66)){const _0xc2f748=this[_0x4f3bdb(0x1c6)](RangeError,'invalid\x20status\x20code\x20'+_0x124d66,!0x0,0x3ea,_0x4f3bdb(0x1ff));_0x53a7c8(_0xc2f748);return;}const _0x3e2c5c=new _0x27926a(_0x3d6759[_0x4f3bdb(0x27a)],_0x3d6759['byteOffset']+0x2,_0x3d6759[_0x4f3bdb(0x299)]-0x2);if(!this[_0x4f3bdb(0x277)]&&!_0xba7966(_0x3e2c5c)){const _0x4a7c1d=this['createError'](Error,_0x4f3bdb(0x182),!0x0,0x3ef,_0x4f3bdb(0x1c5));_0x53a7c8(_0x4a7c1d);return;}this['_loop']=!0x1,this[_0x4f3bdb(0x215)](_0x4f3bdb(0x228),_0x124d66,_0x3e2c5c),this['end']();}this[_0x4f3bdb(0x29a)]=_0x1f9de2;return;}this[_0x4f3bdb(0x272)]?(this['emit'](this[_0x4f3bdb(0x1e4)]===0x9?_0x4f3bdb(0x11f):'pong',_0x3d6759),this[_0x4f3bdb(0x29a)]=_0x1f9de2):(this[_0x4f3bdb(0x29a)]=_0x146901,setImmediate(()=>{const _0x53f825=_0x4f3bdb;this['emit'](this[_0x53f825(0x1e4)]===0x9?_0x53f825(0x11f):'pong',_0x3d6759),this[_0x53f825(0x29a)]=_0x1f9de2,this['startLoop'](_0x53a7c8);}));}[_0x29ffa2(0x1c6)](_0x14f640,_0x70be85,_0x181285,_0x133534,_0x5a967b){const _0x408b97=_0x29ffa2;this[_0x408b97(0x156)]=!0x1,this[_0x408b97(0x16f)]=!0x0;const _0x247fac=new _0x14f640(_0x181285?_0x408b97(0x1af)+_0x70be85:_0x70be85);return Error[_0x408b97(0x130)](_0x247fac,this[_0x408b97(0x1c6)]),_0x247fac[_0x408b97(0x2c6)]=_0x5a967b,_0x247fac[_0x39c82b]=_0x133534,_0x247fac;}}return Se=_0x5c1ef0,Se;}var Ee,et;function _t(){const _0x335537=_0x15f6c9;if(et)return Ee;et=0x1;const {Duplex:_0x4ea8d7}=_0x107dc6,{randomFillSync:_0x399bd3}=_0x8b2df3,_0x2953b0=he(),{EMPTY_BUFFER:_0x56d309,kWebSocket:_0x29408e,NOOP:_0x3d686e}=V(),{isBlob:_0x28ab1f,isValidStatusCode:_0x4bd806}=ne(),{mask:_0x2cbe48,toBuffer:_0x2a908f}=ce(),_0x1d69e6=Symbol(_0x335537(0x1da)),_0x13937b=Buffer[_0x335537(0x165)](0x4),_0x5c6df3=0x8*0x400;let _0x5e0fe1,_0x12c7af=_0x5c6df3;const _0xf76636=0x0,_0x2d00fc=0x1,_0x128b09=0x2;class _0x38e05e{constructor(_0x174a64,_0x2caaef,_0x29b6f8){const _0x1fdf6a=_0x335537;this['_extensions']=_0x2caaef||{},_0x29b6f8&&(this[_0x1fdf6a(0x17a)]=_0x29b6f8,this[_0x1fdf6a(0x2aa)]=Buffer[_0x1fdf6a(0x165)](0x4)),this[_0x1fdf6a(0x20d)]=_0x174a64,this[_0x1fdf6a(0x16a)]=!0x0,this[_0x1fdf6a(0x1b9)]=!0x1,this[_0x1fdf6a(0x1a3)]=0x0,this[_0x1fdf6a(0x1ed)]=[],this[_0x1fdf6a(0x29a)]=_0xf76636,this['onerror']=_0x3d686e,this[_0x29408e]=void 0x0;}static['frame'](_0x33c757,_0xa653e2){const _0x596793=_0x335537;let _0x17db35,_0x484610=!0x1,_0x571b59=0x2,_0x4ec77b=!0x1;_0xa653e2['mask']&&(_0x17db35=_0xa653e2['maskBuffer']||_0x13937b,_0xa653e2[_0x596793(0x18d)]?_0xa653e2['generateMask'](_0x17db35):(_0x12c7af===_0x5c6df3&&(_0x5e0fe1===void 0x0&&(_0x5e0fe1=Buffer['alloc'](_0x5c6df3)),_0x399bd3(_0x5e0fe1,0x0,_0x5c6df3),_0x12c7af=0x0),_0x17db35[0x0]=_0x5e0fe1[_0x12c7af++],_0x17db35[0x1]=_0x5e0fe1[_0x12c7af++],_0x17db35[0x2]=_0x5e0fe1[_0x12c7af++],_0x17db35[0x3]=_0x5e0fe1[_0x12c7af++]),_0x4ec77b=(_0x17db35[0x0]|_0x17db35[0x1]|_0x17db35[0x2]|_0x17db35[0x3])===0x0,_0x571b59=0x6);let _0x2f3dd8;typeof _0x33c757==_0x596793(0x153)?(!_0xa653e2[_0x596793(0x175)]||_0x4ec77b)&&_0xa653e2[_0x1d69e6]!==void 0x0?_0x2f3dd8=_0xa653e2[_0x1d69e6]:(_0x33c757=Buffer[_0x596793(0x24b)](_0x33c757),_0x2f3dd8=_0x33c757[_0x596793(0x299)]):(_0x2f3dd8=_0x33c757[_0x596793(0x299)],_0x484610=_0xa653e2[_0x596793(0x175)]&&_0xa653e2[_0x596793(0x181)]&&!_0x4ec77b);let _0x50609a=_0x2f3dd8;_0x2f3dd8>=0x10000?(_0x571b59+=0x8,_0x50609a=0x7f):_0x2f3dd8>0x7d&&(_0x571b59+=0x2,_0x50609a=0x7e);const _0x158df2=Buffer[_0x596793(0x257)](_0x484610?_0x2f3dd8+_0x571b59:_0x571b59);return _0x158df2[0x0]=_0xa653e2['fin']?_0xa653e2['opcode']|0x80:_0xa653e2[_0x596793(0x232)],_0xa653e2[_0x596793(0x205)]&&(_0x158df2[0x0]|=0x40),_0x158df2[0x1]=_0x50609a,_0x50609a===0x7e?_0x158df2[_0x596793(0x2c4)](_0x2f3dd8,0x2):_0x50609a===0x7f&&(_0x158df2[0x2]=_0x158df2[0x3]=0x0,_0x158df2['writeUIntBE'](_0x2f3dd8,0x4,0x6)),_0xa653e2[_0x596793(0x175)]?(_0x158df2[0x1]|=0x80,_0x158df2[_0x571b59-0x4]=_0x17db35[0x0],_0x158df2[_0x571b59-0x3]=_0x17db35[0x1],_0x158df2[_0x571b59-0x2]=_0x17db35[0x2],_0x158df2[_0x571b59-0x1]=_0x17db35[0x3],_0x4ec77b?[_0x158df2,_0x33c757]:_0x484610?(_0x2cbe48(_0x33c757,_0x17db35,_0x158df2,_0x571b59,_0x2f3dd8),[_0x158df2]):(_0x2cbe48(_0x33c757,_0x17db35,_0x33c757,0x0,_0x2f3dd8),[_0x158df2,_0x33c757])):[_0x158df2,_0x33c757];}[_0x335537(0x249)](_0x15ee82,_0x2a1c7a,_0x1c9351,_0x25c314){const _0x513285=_0x335537;let _0x45b444;if(_0x15ee82===void 0x0)_0x45b444=_0x56d309;else{if(typeof _0x15ee82!=_0x513285(0x217)||!_0x4bd806(_0x15ee82))throw new TypeError(_0x513285(0x176));if(_0x2a1c7a===void 0x0||!_0x2a1c7a['length'])_0x45b444=Buffer['allocUnsafe'](0x2),_0x45b444[_0x513285(0x2c4)](_0x15ee82,0x0);else{const _0x2b2a09=Buffer[_0x513285(0x15a)](_0x2a1c7a);if(_0x2b2a09>0x7b)throw new RangeError(_0x513285(0x26a));_0x45b444=Buffer['allocUnsafe'](0x2+_0x2b2a09),_0x45b444[_0x513285(0x2c4)](_0x15ee82,0x0),typeof _0x2a1c7a==_0x513285(0x153)?_0x45b444[_0x513285(0x212)](_0x2a1c7a,0x2):_0x45b444[_0x513285(0x129)](_0x2a1c7a,0x2);}}const _0x4a0996={[_0x1d69e6]:_0x45b444[_0x513285(0x299)],'fin':!0x0,'generateMask':this[_0x513285(0x17a)],'mask':_0x1c9351,'maskBuffer':this[_0x513285(0x2aa)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x513285(0x29a)]!==_0xf76636?this[_0x513285(0x195)]([this['dispatch'],_0x45b444,!0x1,_0x4a0996,_0x25c314]):this[_0x513285(0x154)](_0x38e05e[_0x513285(0x24d)](_0x45b444,_0x4a0996),_0x25c314);}[_0x335537(0x11f)](_0x4d6c7a,_0x24d35e,_0x110de8){const _0x5686c2=_0x335537;let _0x52d2fc,_0x1c95e9;if(typeof _0x4d6c7a==_0x5686c2(0x153)?(_0x52d2fc=Buffer['byteLength'](_0x4d6c7a),_0x1c95e9=!0x1):_0x28ab1f(_0x4d6c7a)?(_0x52d2fc=_0x4d6c7a[_0x5686c2(0x2ca)],_0x1c95e9=!0x1):(_0x4d6c7a=_0x2a908f(_0x4d6c7a),_0x52d2fc=_0x4d6c7a[_0x5686c2(0x299)],_0x1c95e9=_0x2a908f[_0x5686c2(0x181)]),_0x52d2fc>0x7d)throw new RangeError(_0x5686c2(0x18a));const _0x4d2075={[_0x1d69e6]:_0x52d2fc,'fin':!0x0,'generateMask':this[_0x5686c2(0x17a)],'mask':_0x24d35e,'maskBuffer':this[_0x5686c2(0x2aa)],'opcode':0x9,'readOnly':_0x1c95e9,'rsv1':!0x1};_0x28ab1f(_0x4d6c7a)?this[_0x5686c2(0x29a)]!==_0xf76636?this['enqueue']([this['getBlobData'],_0x4d6c7a,!0x1,_0x4d2075,_0x110de8]):this[_0x5686c2(0x1f5)](_0x4d6c7a,!0x1,_0x4d2075,_0x110de8):this[_0x5686c2(0x29a)]!==_0xf76636?this[_0x5686c2(0x195)]([this[_0x5686c2(0x21a)],_0x4d6c7a,!0x1,_0x4d2075,_0x110de8]):this[_0x5686c2(0x154)](_0x38e05e['frame'](_0x4d6c7a,_0x4d2075),_0x110de8);}[_0x335537(0x2ae)](_0x87b51,_0x5555cd,_0xaa0f83){const _0x1f4647=_0x335537;let _0x29e6a3,_0x5ec0d7;if(typeof _0x87b51=='string'?(_0x29e6a3=Buffer[_0x1f4647(0x15a)](_0x87b51),_0x5ec0d7=!0x1):_0x28ab1f(_0x87b51)?(_0x29e6a3=_0x87b51[_0x1f4647(0x2ca)],_0x5ec0d7=!0x1):(_0x87b51=_0x2a908f(_0x87b51),_0x29e6a3=_0x87b51[_0x1f4647(0x299)],_0x5ec0d7=_0x2a908f[_0x1f4647(0x181)]),_0x29e6a3>0x7d)throw new RangeError(_0x1f4647(0x18a));const _0x2cfc1a={[_0x1d69e6]:_0x29e6a3,'fin':!0x0,'generateMask':this[_0x1f4647(0x17a)],'mask':_0x5555cd,'maskBuffer':this[_0x1f4647(0x2aa)],'opcode':0xa,'readOnly':_0x5ec0d7,'rsv1':!0x1};_0x28ab1f(_0x87b51)?this['_state']!==_0xf76636?this[_0x1f4647(0x195)]([this[_0x1f4647(0x1f5)],_0x87b51,!0x1,_0x2cfc1a,_0xaa0f83]):this[_0x1f4647(0x1f5)](_0x87b51,!0x1,_0x2cfc1a,_0xaa0f83):this[_0x1f4647(0x29a)]!==_0xf76636?this[_0x1f4647(0x195)]([this[_0x1f4647(0x21a)],_0x87b51,!0x1,_0x2cfc1a,_0xaa0f83]):this['sendFrame'](_0x38e05e[_0x1f4647(0x24d)](_0x87b51,_0x2cfc1a),_0xaa0f83);}[_0x335537(0x1a0)](_0x219f00,_0x529889,_0x25ca50){const _0x3deb1d=_0x335537,_0x59417a=this[_0x3deb1d(0x26e)][_0x2953b0[_0x3deb1d(0x138)]];let _0x48f80a=_0x529889[_0x3deb1d(0x17f)]?0x2:0x1,_0xa1dd3b=_0x529889[_0x3deb1d(0x177)],_0x33bbcf,_0x287f1e;typeof _0x219f00==_0x3deb1d(0x153)?(_0x33bbcf=Buffer[_0x3deb1d(0x15a)](_0x219f00),_0x287f1e=!0x1):_0x28ab1f(_0x219f00)?(_0x33bbcf=_0x219f00['size'],_0x287f1e=!0x1):(_0x219f00=_0x2a908f(_0x219f00),_0x33bbcf=_0x219f00['length'],_0x287f1e=_0x2a908f[_0x3deb1d(0x181)]),this[_0x3deb1d(0x16a)]?(this['_firstFragment']=!0x1,_0xa1dd3b&&_0x59417a&&_0x59417a[_0x3deb1d(0x28d)][_0x59417a[_0x3deb1d(0x226)]?_0x3deb1d(0x2a1):'client_no_context_takeover']&&(_0xa1dd3b=_0x33bbcf>=_0x59417a[_0x3deb1d(0x14e)]),this[_0x3deb1d(0x1b9)]=_0xa1dd3b):(_0xa1dd3b=!0x1,_0x48f80a=0x0),_0x529889['fin']&&(this[_0x3deb1d(0x16a)]=!0x0);const _0x4cbf38={[_0x1d69e6]:_0x33bbcf,'fin':_0x529889['fin'],'generateMask':this[_0x3deb1d(0x17a)],'mask':_0x529889[_0x3deb1d(0x175)],'maskBuffer':this[_0x3deb1d(0x2aa)],'opcode':_0x48f80a,'readOnly':_0x287f1e,'rsv1':_0xa1dd3b};_0x28ab1f(_0x219f00)?this['_state']!==_0xf76636?this[_0x3deb1d(0x195)]([this[_0x3deb1d(0x1f5)],_0x219f00,this['_compress'],_0x4cbf38,_0x25ca50]):this['getBlobData'](_0x219f00,this[_0x3deb1d(0x1b9)],_0x4cbf38,_0x25ca50):this[_0x3deb1d(0x29a)]!==_0xf76636?this['enqueue']([this[_0x3deb1d(0x21a)],_0x219f00,this[_0x3deb1d(0x1b9)],_0x4cbf38,_0x25ca50]):this[_0x3deb1d(0x21a)](_0x219f00,this[_0x3deb1d(0x1b9)],_0x4cbf38,_0x25ca50);}[_0x335537(0x1f5)](_0x338239,_0xf2e2ce,_0x4546d7,_0x2f028c){const _0x4b6a37=_0x335537;this[_0x4b6a37(0x1a3)]+=_0x4546d7[_0x1d69e6],this[_0x4b6a37(0x29a)]=_0x128b09,_0x338239[_0x4b6a37(0x285)]()[_0x4b6a37(0x25f)](_0x4b17e3=>{const _0xd39fd1=_0x4b6a37;if(this[_0xd39fd1(0x20d)]['destroyed']){const _0x4c64ff=new Error(_0xd39fd1(0x144));process[_0xd39fd1(0x135)](_0x4b324e,this,_0x4c64ff,_0x2f028c);return;}this[_0xd39fd1(0x1a3)]-=_0x4546d7[_0x1d69e6];const _0x308b64=_0x2a908f(_0x4b17e3);_0xf2e2ce?this[_0xd39fd1(0x21a)](_0x308b64,_0xf2e2ce,_0x4546d7,_0x2f028c):(this[_0xd39fd1(0x29a)]=_0xf76636,this[_0xd39fd1(0x154)](_0x38e05e[_0xd39fd1(0x24d)](_0x308b64,_0x4546d7),_0x2f028c),this['dequeue']());})[_0x4b6a37(0x14d)](_0x337997=>{process['nextTick'](_0x680b,this,_0x337997,_0x2f028c);});}[_0x335537(0x21a)](_0x148124,_0x6a4325,_0x853e74,_0x39dc8c){const _0x588957=_0x335537;if(!_0x6a4325){this[_0x588957(0x154)](_0x38e05e[_0x588957(0x24d)](_0x148124,_0x853e74),_0x39dc8c);return;}const _0x5e2cb1=this[_0x588957(0x26e)][_0x2953b0[_0x588957(0x138)]];this['_bufferedBytes']+=_0x853e74[_0x1d69e6],this[_0x588957(0x29a)]=_0x2d00fc,_0x5e2cb1[_0x588957(0x177)](_0x148124,_0x853e74[_0x588957(0x20a)],(_0x59810a,_0x165132)=>{const _0x1d9774=_0x588957;if(this[_0x1d9774(0x20d)][_0x1d9774(0x21b)]){const _0x465f72=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x4b324e(this,_0x465f72,_0x39dc8c);return;}this[_0x1d9774(0x1a3)]-=_0x853e74[_0x1d69e6],this[_0x1d9774(0x29a)]=_0xf76636,_0x853e74['readOnly']=!0x1,this[_0x1d9774(0x154)](_0x38e05e['frame'](_0x165132,_0x853e74),_0x39dc8c),this['dequeue']();});}[_0x335537(0x183)](){const _0x2685e5=_0x335537;for(;this[_0x2685e5(0x29a)]===_0xf76636&&this[_0x2685e5(0x1ed)][_0x2685e5(0x299)];){const _0x40c356=this[_0x2685e5(0x1ed)]['shift']();this[_0x2685e5(0x1a3)]-=_0x40c356[0x3][_0x1d69e6],Reflect[_0x2685e5(0x1e0)](_0x40c356[0x0],this,_0x40c356[_0x2685e5(0x1e9)](0x1));}}[_0x335537(0x195)](_0x1bcf2c){const _0x2d2760=_0x335537;this[_0x2d2760(0x1a3)]+=_0x1bcf2c[0x3][_0x1d69e6],this[_0x2d2760(0x1ed)][_0x2d2760(0x16d)](_0x1bcf2c);}[_0x335537(0x154)](_0x5a1c22,_0x142b4f){const _0x146f9c=_0x335537;_0x5a1c22[_0x146f9c(0x299)]===0x2?(this[_0x146f9c(0x20d)][_0x146f9c(0x271)](),this[_0x146f9c(0x20d)]['write'](_0x5a1c22[0x0]),this['_socket'][_0x146f9c(0x212)](_0x5a1c22[0x1],_0x142b4f),this[_0x146f9c(0x20d)]['uncork']()):this[_0x146f9c(0x20d)][_0x146f9c(0x212)](_0x5a1c22[0x0],_0x142b4f);}}Ee=_0x38e05e;function _0x4b324e(_0x56f49e,_0x241fdb,_0x55c78b){const _0x52af4b=_0x335537;typeof _0x55c78b=='function'&&_0x55c78b(_0x241fdb);for(let _0x3a79d6=0x0;_0x3a79d6<_0x56f49e[_0x52af4b(0x1ed)]['length'];_0x3a79d6++){const _0x9dfbf5=_0x56f49e[_0x52af4b(0x1ed)][_0x3a79d6],_0x393110=_0x9dfbf5[_0x9dfbf5[_0x52af4b(0x299)]-0x1];typeof _0x393110==_0x52af4b(0x2a5)&&_0x393110(_0x241fdb);}}function _0x680b(_0x5df17c,_0xf3e573,_0xafb6d2){const _0x5e0af3=_0x335537;_0x4b324e(_0x5df17c,_0xf3e573,_0xafb6d2),_0x5df17c[_0x5e0af3(0x1ec)](_0xf3e573);}return Ee;}var xe,tt;function Kt(){const _0x1a3810=_0x15f6c9;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x31543d,kListener:_0x26a9ef}=V(),_0x3cc983=Symbol(_0x1a3810(0x145)),_0x1b1dc0=Symbol(_0x1a3810(0x2af)),_0x504050=Symbol(_0x1a3810(0x273)),_0x22dde2=Symbol(_0x1a3810(0x1d7)),_0x5d2812=Symbol('kReason'),_0x4b9b03=Symbol(_0x1a3810(0x274)),_0x48c1b8=Symbol('kType'),_0x59ff39=Symbol(_0x1a3810(0x142));class _0x5b89c7{constructor(_0x57600a){this[_0x4b9b03]=null,this[_0x48c1b8]=_0x57600a;}get[_0x1a3810(0x220)](){return this[_0x4b9b03];}get[_0x1a3810(0x166)](){return this[_0x48c1b8];}}Object[_0x1a3810(0x265)](_0x5b89c7['prototype'],_0x1a3810(0x220),{'enumerable':!0x0}),Object['defineProperty'](_0x5b89c7[_0x1a3810(0x1b8)],_0x1a3810(0x166),{'enumerable':!0x0});class _0x5402f0 extends _0x5b89c7{constructor(_0x162a0c,_0x38f1f1={}){const _0x4e5105=_0x1a3810;super(_0x162a0c),this[_0x3cc983]=_0x38f1f1[_0x4e5105(0x2c6)]===void 0x0?0x0:_0x38f1f1[_0x4e5105(0x2c6)],this[_0x5d2812]=_0x38f1f1[_0x4e5105(0x2c3)]===void 0x0?'':_0x38f1f1[_0x4e5105(0x2c3)],this[_0x59ff39]=_0x38f1f1[_0x4e5105(0x14b)]===void 0x0?!0x1:_0x38f1f1[_0x4e5105(0x14b)];}get[_0x1a3810(0x2c6)](){return this[_0x3cc983];}get[_0x1a3810(0x2c3)](){return this[_0x5d2812];}get[_0x1a3810(0x14b)](){return this[_0x59ff39];}}Object[_0x1a3810(0x265)](_0x5402f0['prototype'],_0x1a3810(0x2c6),{'enumerable':!0x0}),Object['defineProperty'](_0x5402f0[_0x1a3810(0x1b8)],_0x1a3810(0x2c3),{'enumerable':!0x0}),Object[_0x1a3810(0x265)](_0x5402f0[_0x1a3810(0x1b8)],'wasClean',{'enumerable':!0x0});class _0x33285f extends _0x5b89c7{constructor(_0x42aaa1,_0x34b4fa={}){const _0x3683cf=_0x1a3810;super(_0x42aaa1),this[_0x504050]=_0x34b4fa[_0x3683cf(0x223)]===void 0x0?null:_0x34b4fa[_0x3683cf(0x223)],this[_0x22dde2]=_0x34b4fa[_0x3683cf(0x1ca)]===void 0x0?'':_0x34b4fa[_0x3683cf(0x1ca)];}get[_0x1a3810(0x223)](){return this[_0x504050];}get[_0x1a3810(0x1ca)](){return this[_0x22dde2];}}Object[_0x1a3810(0x265)](_0x33285f[_0x1a3810(0x1b8)],_0x1a3810(0x223),{'enumerable':!0x0}),Object[_0x1a3810(0x265)](_0x33285f[_0x1a3810(0x1b8)],_0x1a3810(0x1ca),{'enumerable':!0x0});class _0x394b53 extends _0x5b89c7{constructor(_0x19b46d,_0x28fe6a={}){const _0x2185d0=_0x1a3810;super(_0x19b46d),this[_0x1b1dc0]=_0x28fe6a[_0x2185d0(0x12c)]===void 0x0?null:_0x28fe6a[_0x2185d0(0x12c)];}get['data'](){return this[_0x1b1dc0];}}Object['defineProperty'](_0x394b53[_0x1a3810(0x1b8)],_0x1a3810(0x12c),{'enumerable':!0x0}),xe={'CloseEvent':_0x5402f0,'ErrorEvent':_0x33285f,'Event':_0x5b89c7,'EventTarget':{'addEventListener'(_0x545fbb,_0x54b786,_0x2fe672={}){const _0x467a61=_0x1a3810;for(const _0x1260b5 of this[_0x467a61(0x1e6)](_0x545fbb))if(!_0x2fe672[_0x31543d]&&_0x1260b5[_0x26a9ef]===_0x54b786&&!_0x1260b5[_0x31543d])return;let _0x427afc;if(_0x545fbb===_0x467a61(0x1ca))_0x427afc=function(_0x2180df,_0x5d8b47){const _0x1d817e=_0x467a61,_0x11694d=new _0x394b53('message',{'data':_0x5d8b47?_0x2180df:_0x2180df[_0x1d817e(0x1dc)]()});_0x11694d[_0x4b9b03]=this,_0x1e51c2(_0x54b786,this,_0x11694d);};else{if(_0x545fbb===_0x467a61(0x249))_0x427afc=function(_0x5820d2,_0x5ba77b){const _0x4c5b81=_0x467a61,_0x15c5f7=new _0x5402f0('close',{'code':_0x5820d2,'reason':_0x5ba77b[_0x4c5b81(0x1dc)](),'wasClean':this[_0x4c5b81(0x15b)]&&this[_0x4c5b81(0x121)]});_0x15c5f7[_0x4b9b03]=this,_0x1e51c2(_0x54b786,this,_0x15c5f7);};else{if(_0x545fbb===_0x467a61(0x223))_0x427afc=function(_0x5f1d59){const _0x582cc2=_0x467a61,_0x237085=new _0x33285f('error',{'error':_0x5f1d59,'message':_0x5f1d59[_0x582cc2(0x1ca)]});_0x237085[_0x4b9b03]=this,_0x1e51c2(_0x54b786,this,_0x237085);};else{if(_0x545fbb===_0x467a61(0x12a))_0x427afc=function(){const _0x30a196=_0x467a61,_0x4e286a=new _0x5b89c7(_0x30a196(0x12a));_0x4e286a[_0x4b9b03]=this,_0x1e51c2(_0x54b786,this,_0x4e286a);};else return;}}}_0x427afc[_0x31543d]=!!_0x2fe672[_0x31543d],_0x427afc[_0x26a9ef]=_0x54b786,_0x2fe672[_0x467a61(0x1eb)]?this[_0x467a61(0x1eb)](_0x545fbb,_0x427afc):this['on'](_0x545fbb,_0x427afc);},'removeEventListener'(_0x5b16d4,_0x4e8497){for(const _0xabc606 of this['listeners'](_0x5b16d4))if(_0xabc606[_0x26a9ef]===_0x4e8497&&!_0xabc606[_0x31543d]){this['removeListener'](_0x5b16d4,_0xabc606);break;}}},'MessageEvent':_0x394b53};function _0x1e51c2(_0x3d2fde,_0x4de15c,_0x431a2b){const _0x37e2aa=_0x1a3810;typeof _0x3d2fde==_0x37e2aa(0x178)&&_0x3d2fde[_0x37e2aa(0x1fb)]?_0x3d2fde[_0x37e2aa(0x1fb)][_0x37e2aa(0x259)](_0x3d2fde,_0x431a2b):_0x3d2fde[_0x37e2aa(0x259)](_0x4de15c,_0x431a2b);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x1086f7}=ne();function _0x7d4b76(_0xd12221,_0xfb8947,_0x59ba06){const _0x20d808=_0x840b;_0xd12221[_0xfb8947]===void 0x0?_0xd12221[_0xfb8947]=[_0x59ba06]:_0xd12221[_0xfb8947][_0x20d808(0x16d)](_0x59ba06);}function _0x51daee(_0x7e0f64){const _0x4dc2fe=_0x840b,_0x52eded=Object[_0x4dc2fe(0x289)](null);let _0x3119c6=Object[_0x4dc2fe(0x289)](null),_0x3e4c1f=!0x1,_0x9d4b59=!0x1,_0x9acc7a=!0x1,_0x3534f1,_0x4747a7,_0x96ae6a=-0x1,_0x559669=-0x1,_0x1690a0=-0x1,_0x526a29=0x0;for(;_0x526a29<_0x7e0f64[_0x4dc2fe(0x299)];_0x526a29++)if(_0x559669=_0x7e0f64[_0x4dc2fe(0x26c)](_0x526a29),_0x3534f1===void 0x0){if(_0x1690a0===-0x1&&_0x1086f7[_0x559669]===0x1)_0x96ae6a===-0x1&&(_0x96ae6a=_0x526a29);else{if(_0x526a29!==0x0&&(_0x559669===0x20||_0x559669===0x9))_0x1690a0===-0x1&&_0x96ae6a!==-0x1&&(_0x1690a0=_0x526a29);else{if(_0x559669===0x3b||_0x559669===0x2c){if(_0x96ae6a===-0x1)throw new SyntaxError(_0x4dc2fe(0x21d)+_0x526a29);_0x1690a0===-0x1&&(_0x1690a0=_0x526a29);const _0x43c5a3=_0x7e0f64[_0x4dc2fe(0x1e9)](_0x96ae6a,_0x1690a0);_0x559669===0x2c?(_0x7d4b76(_0x52eded,_0x43c5a3,_0x3119c6),_0x3119c6=Object[_0x4dc2fe(0x289)](null)):_0x3534f1=_0x43c5a3,_0x96ae6a=_0x1690a0=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x526a29);}}}else{if(_0x4747a7===void 0x0){if(_0x1690a0===-0x1&&_0x1086f7[_0x559669]===0x1)_0x96ae6a===-0x1&&(_0x96ae6a=_0x526a29);else{if(_0x559669===0x20||_0x559669===0x9)_0x1690a0===-0x1&&_0x96ae6a!==-0x1&&(_0x1690a0=_0x526a29);else{if(_0x559669===0x3b||_0x559669===0x2c){if(_0x96ae6a===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x526a29);_0x1690a0===-0x1&&(_0x1690a0=_0x526a29),_0x7d4b76(_0x3119c6,_0x7e0f64[_0x4dc2fe(0x1e9)](_0x96ae6a,_0x1690a0),!0x0),_0x559669===0x2c&&(_0x7d4b76(_0x52eded,_0x3534f1,_0x3119c6),_0x3119c6=Object['create'](null),_0x3534f1=void 0x0),_0x96ae6a=_0x1690a0=-0x1;}else{if(_0x559669===0x3d&&_0x96ae6a!==-0x1&&_0x1690a0===-0x1)_0x4747a7=_0x7e0f64[_0x4dc2fe(0x1e9)](_0x96ae6a,_0x526a29),_0x96ae6a=_0x1690a0=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x526a29);}}}}else{if(_0x9d4b59){if(_0x1086f7[_0x559669]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x526a29);_0x96ae6a===-0x1?_0x96ae6a=_0x526a29:_0x3e4c1f||(_0x3e4c1f=!0x0),_0x9d4b59=!0x1;}else{if(_0x9acc7a){if(_0x1086f7[_0x559669]===0x1)_0x96ae6a===-0x1&&(_0x96ae6a=_0x526a29);else{if(_0x559669===0x22&&_0x96ae6a!==-0x1)_0x9acc7a=!0x1,_0x1690a0=_0x526a29;else{if(_0x559669===0x5c)_0x9d4b59=!0x0;else throw new SyntaxError(_0x4dc2fe(0x21d)+_0x526a29);}}}else{if(_0x559669===0x22&&_0x7e0f64['charCodeAt'](_0x526a29-0x1)===0x3d)_0x9acc7a=!0x0;else{if(_0x1690a0===-0x1&&_0x1086f7[_0x559669]===0x1)_0x96ae6a===-0x1&&(_0x96ae6a=_0x526a29);else{if(_0x96ae6a!==-0x1&&(_0x559669===0x20||_0x559669===0x9))_0x1690a0===-0x1&&(_0x1690a0=_0x526a29);else{if(_0x559669===0x3b||_0x559669===0x2c){if(_0x96ae6a===-0x1)throw new SyntaxError(_0x4dc2fe(0x21d)+_0x526a29);_0x1690a0===-0x1&&(_0x1690a0=_0x526a29);let _0x275449=_0x7e0f64[_0x4dc2fe(0x1e9)](_0x96ae6a,_0x1690a0);_0x3e4c1f&&(_0x275449=_0x275449[_0x4dc2fe(0x17c)](/\\/g,''),_0x3e4c1f=!0x1),_0x7d4b76(_0x3119c6,_0x4747a7,_0x275449),_0x559669===0x2c&&(_0x7d4b76(_0x52eded,_0x3534f1,_0x3119c6),_0x3119c6=Object[_0x4dc2fe(0x289)](null),_0x3534f1=void 0x0),_0x4747a7=void 0x0,_0x96ae6a=_0x1690a0=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x526a29);}}}}}}}if(_0x96ae6a===-0x1||_0x9acc7a||_0x559669===0x20||_0x559669===0x9)throw new SyntaxError(_0x4dc2fe(0x2a9));_0x1690a0===-0x1&&(_0x1690a0=_0x526a29);const _0x4224b9=_0x7e0f64[_0x4dc2fe(0x1e9)](_0x96ae6a,_0x1690a0);return _0x3534f1===void 0x0?_0x7d4b76(_0x52eded,_0x4224b9,_0x3119c6):(_0x4747a7===void 0x0?_0x7d4b76(_0x3119c6,_0x4224b9,!0x0):_0x3e4c1f?_0x7d4b76(_0x3119c6,_0x4747a7,_0x4224b9[_0x4dc2fe(0x17c)](/\\/g,'')):_0x7d4b76(_0x3119c6,_0x4747a7,_0x4224b9),_0x7d4b76(_0x52eded,_0x3534f1,_0x3119c6)),_0x52eded;}function _0x6ff5d5(_0x5957ee){const _0x5f4be4=_0x840b;return Object[_0x5f4be4(0x25c)](_0x5957ee)[_0x5f4be4(0x264)](_0x25e279=>{const _0x5941d5=_0x5f4be4;let _0x57cccc=_0x5957ee[_0x25e279];return Array[_0x5941d5(0x1c0)](_0x57cccc)||(_0x57cccc=[_0x57cccc]),_0x57cccc[_0x5941d5(0x264)](_0x2a256b=>[_0x25e279][_0x5941d5(0x231)](Object[_0x5941d5(0x25c)](_0x2a256b)['map'](_0x5878dd=>{const _0x4d65cf=_0x5941d5;let _0x20ebd9=_0x2a256b[_0x5878dd];return Array['isArray'](_0x20ebd9)||(_0x20ebd9=[_0x20ebd9]),_0x20ebd9[_0x4d65cf(0x264)](_0x294f2a=>_0x294f2a===!0x0?_0x5878dd:_0x5878dd+'='+_0x294f2a)['join'](';\x20');}))[_0x5941d5(0x22c)](';\x20'))['join'](',\x20');})[_0x5f4be4(0x22c)](',\x20');}return be={'format':_0x6ff5d5,'parse':_0x51daee},be;}var we,st;function Ie(){const _0x5c2722=_0x15f6c9;if(st)return we;st=0x1;const _0x339018=_0x144219,_0x5d0ca6=_0x188795,_0x25c32a=_0x2a0443,_0x16c06f=_0x5756bb,_0x2f64bd=_0x8dffe6,{randomBytes:_0x1f1582,createHash:_0x51ff47}=_0x8b2df3,{Duplex:_0x1b430c,Readable:_0x3aa13b}=_0x107dc6,{URL:_0x5aadef}=_0x4ea5de,_0x28a835=he(),_0x1f4536=dt(),_0x1e5adc=_t(),{isBlob:_0x4d4480}=ne(),{BINARY_TYPES:_0x11755f,EMPTY_BUFFER:_0x2cd1dd,GUID:_0x5b8e1b,kForOnEventAttribute:_0x2a414a,kListener:_0x4a6917,kStatusCode:_0x59063c,kWebSocket:_0x49e8dc,NOOP:_0xc9ae0}=V(),{EventTarget:{addEventListener:_0x1e39ed,removeEventListener:_0x46dee0}}=Kt(),{format:_0x3e8919,parse:_0x35b248}=pt(),{toBuffer:_0x2b6c56}=ce(),_0x64a9b=0x1e*0x3e8,_0x29770d=Symbol('kAborted'),_0x450062=[0x8,0xd],_0xd2c8af=[_0x5c2722(0x13f),_0x5c2722(0x266),'CLOSING','CLOSED'],_0x19aee7=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5e0996 extends _0x339018{constructor(_0x2c7476,_0x562393,_0xee0904){const _0x66b690=_0x5c2722;super(),this[_0x66b690(0x2c0)]=_0x11755f[0x0],this['_closeCode']=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x66b690(0x121)]=!0x1,this[_0x66b690(0x201)]=_0x2cd1dd,this[_0x66b690(0x239)]=null,this[_0x66b690(0x1b3)]=!0x1,this[_0x66b690(0x26e)]={},this[_0x66b690(0x27b)]=!0x1,this['_protocol']='',this[_0x66b690(0x1d9)]=_0x5e0996['CONNECTING'],this[_0x66b690(0x1e8)]=null,this['_sender']=null,this[_0x66b690(0x20d)]=null,_0x2c7476!==null?(this[_0x66b690(0x1ce)]=0x0,this[_0x66b690(0x226)]=!0x1,this[_0x66b690(0x161)]=0x0,_0x562393===void 0x0?_0x562393=[]:Array['isArray'](_0x562393)||(typeof _0x562393=='object'&&_0x562393!==null?(_0xee0904=_0x562393,_0x562393=[]):_0x562393=[_0x562393]),_0x1be8cd(this,_0x2c7476,_0x562393,_0xee0904)):(this[_0x66b690(0x203)]=_0xee0904[_0x66b690(0x2a2)],this[_0x66b690(0x226)]=!0x0);}get[_0x5c2722(0x1d3)](){const _0x8abfbe=_0x5c2722;return this[_0x8abfbe(0x2c0)];}set[_0x5c2722(0x1d3)](_0x2dbf2c){const _0x342026=_0x5c2722;_0x11755f['includes'](_0x2dbf2c)&&(this[_0x342026(0x2c0)]=_0x2dbf2c,this[_0x342026(0x1e8)]&&(this[_0x342026(0x1e8)]['_binaryType']=_0x2dbf2c));}get[_0x5c2722(0x27d)](){const _0x569010=_0x5c2722;return this['_socket']?this['_socket'][_0x569010(0x1c2)]['length']+this[_0x569010(0x21e)][_0x569010(0x1a3)]:this[_0x569010(0x1ce)];}get[_0x5c2722(0x24c)](){const _0x2dfaab=_0x5c2722;return Object[_0x2dfaab(0x25c)](this[_0x2dfaab(0x26e)])[_0x2dfaab(0x22c)]();}get[_0x5c2722(0x19a)](){return this['_paused'];}get[_0x5c2722(0x23c)](){return null;}get[_0x5c2722(0x1ec)](){return null;}get[_0x5c2722(0x1ef)](){return null;}get[_0x5c2722(0x280)](){return null;}get[_0x5c2722(0x1bb)](){const _0x1d861f=_0x5c2722;return this[_0x1d861f(0x133)];}get['readyState'](){const _0x17a99d=_0x5c2722;return this[_0x17a99d(0x1d9)];}get['url'](){const _0x32d723=_0x5c2722;return this[_0x32d723(0x1aa)];}['setSocket'](_0x11729f,_0x11d1cd,_0x429619){const _0x113067=_0x5c2722,_0x207b9e=new _0x1f4536({'allowSynchronousEvents':_0x429619[_0x113067(0x29f)],'binaryType':this[_0x113067(0x1d3)],'extensions':this[_0x113067(0x26e)],'isServer':this[_0x113067(0x226)],'maxPayload':_0x429619['maxPayload'],'skipUTF8Validation':_0x429619[_0x113067(0x23f)]}),_0x183369=new _0x1e5adc(_0x11729f,this[_0x113067(0x26e)],_0x429619['generateMask']);this[_0x113067(0x1e8)]=_0x207b9e,this[_0x113067(0x21e)]=_0x183369,this[_0x113067(0x20d)]=_0x11729f,_0x207b9e[_0x49e8dc]=this,_0x183369[_0x49e8dc]=this,_0x11729f[_0x49e8dc]=this,_0x207b9e['on']('conclude',_0x12d353),_0x207b9e['on'](_0x113067(0x22b),_0x31ed92),_0x207b9e['on']('error',_0x3e2c96),_0x207b9e['on']('message',_0x3d1615),_0x207b9e['on']('ping',_0x88067f),_0x207b9e['on'](_0x113067(0x2ae),_0x44ea9f),_0x183369[_0x113067(0x1ec)]=_0xedaa5e,_0x11729f[_0x113067(0x194)]&&_0x11729f[_0x113067(0x194)](0x0),_0x11729f[_0x113067(0x131)]&&_0x11729f['setNoDelay'](),_0x11d1cd[_0x113067(0x299)]>0x0&&_0x11729f[_0x113067(0x227)](_0x11d1cd),_0x11729f['on'](_0x113067(0x249),_0x53550f),_0x11729f['on'](_0x113067(0x12c),_0x300d08),_0x11729f['on']('end',_0xa27bb2),_0x11729f['on']('error',_0x32f0db),this['_readyState']=_0x5e0996['OPEN'],this['emit'](_0x113067(0x12a));}[_0x5c2722(0x1b4)](){const _0xb67e3d=_0x5c2722;if(!this[_0xb67e3d(0x20d)]){this[_0xb67e3d(0x1d9)]=_0x5e0996[_0xb67e3d(0x28f)],this['emit'](_0xb67e3d(0x249),this[_0xb67e3d(0x14f)],this[_0xb67e3d(0x201)]);return;}this['_extensions'][_0x28a835['extensionName']]&&this[_0xb67e3d(0x26e)][_0x28a835[_0xb67e3d(0x138)]][_0xb67e3d(0x1fe)](),this[_0xb67e3d(0x1e8)][_0xb67e3d(0x1bf)](),this[_0xb67e3d(0x1d9)]=_0x5e0996[_0xb67e3d(0x28f)],this[_0xb67e3d(0x215)]('close',this[_0xb67e3d(0x14f)],this['_closeMessage']);}[_0x5c2722(0x249)](_0x55e75a,_0x45a931){const _0x516f4=_0x5c2722;if(this[_0x516f4(0x2c9)]!==_0x5e0996[_0x516f4(0x28f)]){if(this[_0x516f4(0x2c9)]===_0x5e0996['CONNECTING']){_0x36d8f7(this,this[_0x516f4(0x1cf)],_0x516f4(0x17b));return;}if(this[_0x516f4(0x2c9)]===_0x5e0996[_0x516f4(0x1d1)]){this[_0x516f4(0x121)]&&(this[_0x516f4(0x15b)]||this['_receiver'][_0x516f4(0x1c2)][_0x516f4(0x2a3)])&&this[_0x516f4(0x20d)][_0x516f4(0x270)]();return;}this[_0x516f4(0x1d9)]=_0x5e0996[_0x516f4(0x1d1)],this[_0x516f4(0x21e)][_0x516f4(0x249)](_0x55e75a,_0x45a931,!this['_isServer'],_0x37f865=>{const _0xdbbb34=_0x516f4;_0x37f865||(this[_0xdbbb34(0x121)]=!0x0,(this[_0xdbbb34(0x15b)]||this[_0xdbbb34(0x1e8)][_0xdbbb34(0x1c2)][_0xdbbb34(0x2a3)])&&this[_0xdbbb34(0x20d)]['end']());}),_0x4ecf7f(this);}}[_0x5c2722(0x1b7)](){const _0x2748dd=_0x5c2722;this[_0x2748dd(0x2c9)]===_0x5e0996[_0x2748dd(0x13f)]||this[_0x2748dd(0x2c9)]===_0x5e0996[_0x2748dd(0x28f)]||(this[_0x2748dd(0x27b)]=!0x0,this['_socket'][_0x2748dd(0x1b7)]());}[_0x5c2722(0x11f)](_0x591fda,_0x4c12f8,_0x393ac9){const _0x811bb8=_0x5c2722;if(this[_0x811bb8(0x2c9)]===_0x5e0996[_0x811bb8(0x13f)])throw new Error(_0x811bb8(0x141));if(typeof _0x591fda=='function'?(_0x393ac9=_0x591fda,_0x591fda=_0x4c12f8=void 0x0):typeof _0x4c12f8==_0x811bb8(0x2a5)&&(_0x393ac9=_0x4c12f8,_0x4c12f8=void 0x0),typeof _0x591fda==_0x811bb8(0x217)&&(_0x591fda=_0x591fda[_0x811bb8(0x1dc)]()),this[_0x811bb8(0x2c9)]!==_0x5e0996[_0x811bb8(0x266)]){_0x284911(this,_0x591fda,_0x393ac9);return;}_0x4c12f8===void 0x0&&(_0x4c12f8=!this['_isServer']),this['_sender']['ping'](_0x591fda||_0x2cd1dd,_0x4c12f8,_0x393ac9);}[_0x5c2722(0x2ae)](_0x315139,_0x296226,_0x943669){const _0x1a7f33=_0x5c2722;if(this[_0x1a7f33(0x2c9)]===_0x5e0996[_0x1a7f33(0x13f)])throw new Error(_0x1a7f33(0x141));if(typeof _0x315139==_0x1a7f33(0x2a5)?(_0x943669=_0x315139,_0x315139=_0x296226=void 0x0):typeof _0x296226=='function'&&(_0x943669=_0x296226,_0x296226=void 0x0),typeof _0x315139==_0x1a7f33(0x217)&&(_0x315139=_0x315139['toString']()),this['readyState']!==_0x5e0996[_0x1a7f33(0x266)]){_0x284911(this,_0x315139,_0x943669);return;}_0x296226===void 0x0&&(_0x296226=!this[_0x1a7f33(0x226)]),this[_0x1a7f33(0x21e)][_0x1a7f33(0x2ae)](_0x315139||_0x2cd1dd,_0x296226,_0x943669);}[_0x5c2722(0x278)](){const _0x2d81ed=_0x5c2722;this[_0x2d81ed(0x2c9)]===_0x5e0996[_0x2d81ed(0x13f)]||this[_0x2d81ed(0x2c9)]===_0x5e0996[_0x2d81ed(0x28f)]||(this[_0x2d81ed(0x27b)]=!0x1,this[_0x2d81ed(0x1e8)][_0x2d81ed(0x1c2)][_0x2d81ed(0x2b5)]||this['_socket'][_0x2d81ed(0x278)]());}[_0x5c2722(0x1a0)](_0x3f32d7,_0x1bddfd,_0x8ba914){const _0x10012b=_0x5c2722;if(this[_0x10012b(0x2c9)]===_0x5e0996[_0x10012b(0x13f)])throw new Error(_0x10012b(0x141));if(typeof _0x1bddfd==_0x10012b(0x2a5)&&(_0x8ba914=_0x1bddfd,_0x1bddfd={}),typeof _0x3f32d7==_0x10012b(0x217)&&(_0x3f32d7=_0x3f32d7[_0x10012b(0x1dc)]()),this[_0x10012b(0x2c9)]!==_0x5e0996[_0x10012b(0x266)]){_0x284911(this,_0x3f32d7,_0x8ba914);return;}const _0x29ea7c={'binary':typeof _0x3f32d7!=_0x10012b(0x153),'mask':!this[_0x10012b(0x226)],'compress':!0x0,'fin':!0x0,..._0x1bddfd};this[_0x10012b(0x26e)][_0x28a835[_0x10012b(0x138)]]||(_0x29ea7c[_0x10012b(0x177)]=!0x1),this[_0x10012b(0x21e)][_0x10012b(0x1a0)](_0x3f32d7||_0x2cd1dd,_0x29ea7c,_0x8ba914);}[_0x5c2722(0x180)](){const _0x38521a=_0x5c2722;if(this[_0x38521a(0x2c9)]!==_0x5e0996['CLOSED']){if(this[_0x38521a(0x2c9)]===_0x5e0996[_0x38521a(0x13f)]){_0x36d8f7(this,this['_req'],_0x38521a(0x17b));return;}this[_0x38521a(0x20d)]&&(this['_readyState']=_0x5e0996['CLOSING'],this['_socket']['destroy']());}}}Object[_0x5c2722(0x265)](_0x5e0996,_0x5c2722(0x13f),{'enumerable':!0x0,'value':_0xd2c8af['indexOf'](_0x5c2722(0x13f))}),Object['defineProperty'](_0x5e0996[_0x5c2722(0x1b8)],_0x5c2722(0x13f),{'enumerable':!0x0,'value':_0xd2c8af['indexOf'](_0x5c2722(0x13f))}),Object[_0x5c2722(0x265)](_0x5e0996,_0x5c2722(0x266),{'enumerable':!0x0,'value':_0xd2c8af['indexOf'](_0x5c2722(0x266))}),Object['defineProperty'](_0x5e0996[_0x5c2722(0x1b8)],_0x5c2722(0x266),{'enumerable':!0x0,'value':_0xd2c8af['indexOf']('OPEN')}),Object['defineProperty'](_0x5e0996,_0x5c2722(0x1d1),{'enumerable':!0x0,'value':_0xd2c8af[_0x5c2722(0x169)](_0x5c2722(0x1d1))}),Object[_0x5c2722(0x265)](_0x5e0996['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0xd2c8af[_0x5c2722(0x169)]('CLOSING')}),Object[_0x5c2722(0x265)](_0x5e0996,_0x5c2722(0x28f),{'enumerable':!0x0,'value':_0xd2c8af['indexOf'](_0x5c2722(0x28f))}),Object[_0x5c2722(0x265)](_0x5e0996[_0x5c2722(0x1b8)],_0x5c2722(0x28f),{'enumerable':!0x0,'value':_0xd2c8af[_0x5c2722(0x169)](_0x5c2722(0x28f))}),[_0x5c2722(0x1d3),'bufferedAmount',_0x5c2722(0x24c),_0x5c2722(0x19a),_0x5c2722(0x1bb),_0x5c2722(0x2c9),_0x5c2722(0x1c8)][_0x5c2722(0x179)](_0x19a640=>{const _0x4fabf4=_0x5c2722;Object['defineProperty'](_0x5e0996[_0x4fabf4(0x1b8)],_0x19a640,{'enumerable':!0x0});}),[_0x5c2722(0x12a),_0x5c2722(0x223),_0x5c2722(0x249),'message']['forEach'](_0x36399b=>{const _0xb39119=_0x5c2722;Object[_0xb39119(0x265)](_0x5e0996[_0xb39119(0x1b8)],'on'+_0x36399b,{'enumerable':!0x0,'get'(){const _0x146702=_0xb39119;for(const _0x1824c0 of this[_0x146702(0x1e6)](_0x36399b))if(_0x1824c0[_0x2a414a])return _0x1824c0[_0x4a6917];return null;},'set'(_0x4c7f5a){const _0x305d33=_0xb39119;for(const _0x31fb09 of this[_0x305d33(0x1e6)](_0x36399b))if(_0x31fb09[_0x2a414a]){this[_0x305d33(0x14a)](_0x36399b,_0x31fb09);break;}typeof _0x4c7f5a==_0x305d33(0x2a5)&&this['addEventListener'](_0x36399b,_0x4c7f5a,{[_0x2a414a]:!0x0});}});}),_0x5e0996[_0x5c2722(0x1b8)][_0x5c2722(0x225)]=_0x1e39ed,_0x5e0996[_0x5c2722(0x1b8)][_0x5c2722(0x199)]=_0x46dee0,we=_0x5e0996;function _0x1be8cd(_0x3ed5f0,_0xc5d47d,_0xdbc503,_0x230db3){const _0x5a3b51=_0x5c2722,_0x316b1c={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x450062[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x230db3,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x5a3b51(0x2c7),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3ed5f0[_0x5a3b51(0x203)]=_0x316b1c[_0x5a3b51(0x2a2)],!_0x450062['includes'](_0x316b1c[_0x5a3b51(0x124)]))throw new RangeError(_0x5a3b51(0x137)+_0x316b1c['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x450062[_0x5a3b51(0x22c)](',\x20')+')');let _0x22bc7e;if(_0xc5d47d instanceof _0x5aadef)_0x22bc7e=_0xc5d47d;else try{_0x22bc7e=new _0x5aadef(_0xc5d47d);}catch{throw new SyntaxError(_0x5a3b51(0x245)+_0xc5d47d);}_0x22bc7e['protocol']==='http:'?_0x22bc7e[_0x5a3b51(0x1bb)]='ws:':_0x22bc7e[_0x5a3b51(0x1bb)]===_0x5a3b51(0x1c4)&&(_0x22bc7e['protocol']=_0x5a3b51(0x15f)),_0x3ed5f0['_url']=_0x22bc7e[_0x5a3b51(0x168)];const _0x3813d3=_0x22bc7e[_0x5a3b51(0x1bb)]===_0x5a3b51(0x15f),_0x45838e=_0x22bc7e['protocol']===_0x5a3b51(0x1d0);let _0x980520;if(_0x22bc7e['protocol']!==_0x5a3b51(0x1e1)&&!_0x3813d3&&!_0x45838e?_0x980520='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':_0x45838e&&!_0x22bc7e['pathname']?_0x980520=_0x5a3b51(0x1fc):_0x22bc7e[_0x5a3b51(0x236)]&&(_0x980520=_0x5a3b51(0x18e)),_0x980520){const _0x115001=new SyntaxError(_0x980520);if(_0x3ed5f0[_0x5a3b51(0x161)]===0x0)throw _0x115001;_0xb42485(_0x3ed5f0,_0x115001);return;}const _0x408efa=_0x3813d3?0x1bb:0x50,_0x55c7a8=_0x1f1582(0x10)['toString'](_0x5a3b51(0x244)),_0xdb5821=_0x3813d3?_0x5d0ca6[_0x5a3b51(0x24e)]:_0x25c32a[_0x5a3b51(0x24e)],_0x1870e8=new Set();let _0x1550ee;if(_0x316b1c[_0x5a3b51(0x27e)]=_0x316b1c['createConnection']||(_0x3813d3?_0x82a5ab:_0x35fbdd),_0x316b1c['defaultPort']=_0x316b1c[_0x5a3b51(0x149)]||_0x408efa,_0x316b1c[_0x5a3b51(0x229)]=_0x22bc7e[_0x5a3b51(0x229)]||_0x408efa,_0x316b1c[_0x5a3b51(0x12d)]=_0x22bc7e[_0x5a3b51(0x14c)][_0x5a3b51(0x248)]('[')?_0x22bc7e[_0x5a3b51(0x14c)][_0x5a3b51(0x1e9)](0x1,-0x1):_0x22bc7e[_0x5a3b51(0x14c)],_0x316b1c[_0x5a3b51(0x298)]={..._0x316b1c['headers'],'Sec-WebSocket-Version':_0x316b1c[_0x5a3b51(0x124)],'Sec-WebSocket-Key':_0x55c7a8,'Connection':'Upgrade','Upgrade':_0x5a3b51(0x1bc)},_0x316b1c[_0x5a3b51(0x2b9)]=_0x22bc7e[_0x5a3b51(0x1ba)]+_0x22bc7e[_0x5a3b51(0x19b)],_0x316b1c[_0x5a3b51(0x2c5)]=_0x316b1c['handshakeTimeout'],_0x316b1c['perMessageDeflate']&&(_0x1550ee=new _0x28a835(_0x316b1c[_0x5a3b51(0x2be)]!==!0x0?_0x316b1c[_0x5a3b51(0x2be)]:{},!0x1,_0x316b1c[_0x5a3b51(0x268)]),_0x316b1c[_0x5a3b51(0x298)][_0x5a3b51(0x291)]=_0x3e8919({[_0x28a835[_0x5a3b51(0x138)]]:_0x1550ee['offer']()})),_0xdbc503[_0x5a3b51(0x299)]){for(const _0x113e49 of _0xdbc503){if(typeof _0x113e49!=_0x5a3b51(0x153)||!_0x19aee7[_0x5a3b51(0x209)](_0x113e49)||_0x1870e8[_0x5a3b51(0x134)](_0x113e49))throw new SyntaxError(_0x5a3b51(0x126));_0x1870e8[_0x5a3b51(0x20c)](_0x113e49);}_0x316b1c[_0x5a3b51(0x298)][_0x5a3b51(0x221)]=_0xdbc503['join'](',');}if(_0x316b1c['origin']&&(_0x316b1c[_0x5a3b51(0x124)]<0xd?_0x316b1c[_0x5a3b51(0x298)][_0x5a3b51(0x22a)]=_0x316b1c[_0x5a3b51(0x11c)]:_0x316b1c[_0x5a3b51(0x298)]['Origin']=_0x316b1c['origin']),(_0x22bc7e[_0x5a3b51(0x23a)]||_0x22bc7e[_0x5a3b51(0x184)])&&(_0x316b1c['auth']=_0x22bc7e[_0x5a3b51(0x23a)]+':'+_0x22bc7e[_0x5a3b51(0x184)]),_0x45838e){const _0x41432e=_0x316b1c[_0x5a3b51(0x2b9)][_0x5a3b51(0x211)](':');_0x316b1c[_0x5a3b51(0x222)]=_0x41432e[0x0],_0x316b1c['path']=_0x41432e[0x1];}let _0x10721c;if(_0x316b1c[_0x5a3b51(0x2ba)]){if(_0x3ed5f0['_redirects']===0x0){_0x3ed5f0[_0x5a3b51(0x25e)]=_0x45838e,_0x3ed5f0['_originalSecure']=_0x3813d3,_0x3ed5f0[_0x5a3b51(0x1a7)]=_0x45838e?_0x316b1c['socketPath']:_0x22bc7e[_0x5a3b51(0x12d)];const _0x5b4048=_0x230db3&&_0x230db3['headers'];if(_0x230db3={..._0x230db3,'headers':{}},_0x5b4048){for(const [_0x53eb8f,_0x515022]of Object['entries'](_0x5b4048))_0x230db3['headers'][_0x53eb8f['toLowerCase']()]=_0x515022;}}else{if(_0x3ed5f0[_0x5a3b51(0x27f)](_0x5a3b51(0x243))===0x0){const _0x4a34e8=_0x45838e?_0x3ed5f0[_0x5a3b51(0x25e)]?_0x316b1c[_0x5a3b51(0x222)]===_0x3ed5f0[_0x5a3b51(0x1a7)]:!0x1:_0x3ed5f0[_0x5a3b51(0x25e)]?!0x1:_0x22bc7e[_0x5a3b51(0x12d)]===_0x3ed5f0[_0x5a3b51(0x1a7)];(!_0x4a34e8||_0x3ed5f0['_originalSecure']&&!_0x3813d3)&&(delete _0x316b1c[_0x5a3b51(0x298)][_0x5a3b51(0x17e)],delete _0x316b1c['headers'][_0x5a3b51(0x2b8)],_0x4a34e8||delete _0x316b1c[_0x5a3b51(0x298)]['host'],_0x316b1c[_0x5a3b51(0x1ad)]=void 0x0);}}_0x316b1c[_0x5a3b51(0x1ad)]&&!_0x230db3[_0x5a3b51(0x298)][_0x5a3b51(0x17e)]&&(_0x230db3[_0x5a3b51(0x298)][_0x5a3b51(0x17e)]='Basic\x20'+Buffer[_0x5a3b51(0x24b)](_0x316b1c[_0x5a3b51(0x1ad)])[_0x5a3b51(0x1dc)](_0x5a3b51(0x244))),_0x10721c=_0x3ed5f0['_req']=_0xdb5821(_0x316b1c),_0x3ed5f0[_0x5a3b51(0x161)]&&_0x3ed5f0[_0x5a3b51(0x215)]('redirect',_0x3ed5f0['url'],_0x10721c);}else _0x10721c=_0x3ed5f0['_req']=_0xdb5821(_0x316b1c);_0x316b1c['timeout']&&_0x10721c['on'](_0x5a3b51(0x2c5),()=>{const _0x3dc4d0=_0x5a3b51;_0x36d8f7(_0x3ed5f0,_0x10721c,_0x3dc4d0(0x267));}),_0x10721c['on']('error',_0x227570=>{const _0x21389a=_0x5a3b51;_0x10721c===null||_0x10721c[_0x29770d]||(_0x10721c=_0x3ed5f0[_0x21389a(0x1cf)]=null,_0xb42485(_0x3ed5f0,_0x227570));}),_0x10721c['on'](_0x5a3b51(0x28e),_0xa0d987=>{const _0x129bc2=_0x5a3b51,_0x5cd0b0=_0xa0d987['headers'][_0x129bc2(0x1df)],_0x212d4c=_0xa0d987[_0x129bc2(0x29c)];if(_0x5cd0b0&&_0x316b1c[_0x129bc2(0x2ba)]&&_0x212d4c>=0x12c&&_0x212d4c<0x190){if(++_0x3ed5f0['_redirects']>_0x316b1c[_0x129bc2(0x2b7)]){_0x36d8f7(_0x3ed5f0,_0x10721c,'Maximum\x20redirects\x20exceeded');return;}_0x10721c[_0x129bc2(0x288)]();let _0x50d2c5;try{_0x50d2c5=new _0x5aadef(_0x5cd0b0,_0xc5d47d);}catch{const _0x5bd078=new SyntaxError('Invalid\x20URL:\x20'+_0x5cd0b0);_0xb42485(_0x3ed5f0,_0x5bd078);return;}_0x1be8cd(_0x3ed5f0,_0x50d2c5,_0xdbc503,_0x230db3);}else _0x3ed5f0[_0x129bc2(0x215)](_0x129bc2(0x1e5),_0x10721c,_0xa0d987)||_0x36d8f7(_0x3ed5f0,_0x10721c,_0x129bc2(0x290)+_0xa0d987[_0x129bc2(0x29c)]);}),_0x10721c['on'](_0x5a3b51(0x263),(_0x2b8e5f,_0x147f90,_0x46c937)=>{const _0x45713f=_0x5a3b51;if(_0x3ed5f0[_0x45713f(0x215)](_0x45713f(0x263),_0x2b8e5f),_0x3ed5f0[_0x45713f(0x2c9)]!==_0x5e0996[_0x45713f(0x13f)])return;_0x10721c=_0x3ed5f0[_0x45713f(0x1cf)]=null;const _0x1a4d51=_0x2b8e5f['headers'][_0x45713f(0x263)];if(_0x1a4d51===void 0x0||_0x1a4d51['toLowerCase']()!=='websocket'){_0x36d8f7(_0x3ed5f0,_0x147f90,_0x45713f(0x210));return;}const _0x5ae39a=_0x51ff47(_0x45713f(0x132))[_0x45713f(0x191)](_0x55c7a8+_0x5b8e1b)['digest'](_0x45713f(0x244));if(_0x2b8e5f['headers'][_0x45713f(0x17d)]!==_0x5ae39a){_0x36d8f7(_0x3ed5f0,_0x147f90,_0x45713f(0x2ac));return;}const _0x2097f4=_0x2b8e5f['headers']['sec-websocket-protocol'];let _0x4bf7c5;if(_0x2097f4!==void 0x0?_0x1870e8['size']?_0x1870e8[_0x45713f(0x134)](_0x2097f4)||(_0x4bf7c5=_0x45713f(0x158)):_0x4bf7c5=_0x45713f(0x1d4):_0x1870e8[_0x45713f(0x2ca)]&&(_0x4bf7c5='Server\x20sent\x20no\x20subprotocol'),_0x4bf7c5){_0x36d8f7(_0x3ed5f0,_0x147f90,_0x4bf7c5);return;}_0x2097f4&&(_0x3ed5f0[_0x45713f(0x133)]=_0x2097f4);const _0x50c09e=_0x2b8e5f['headers'][_0x45713f(0x2c1)];if(_0x50c09e!==void 0x0){if(!_0x1550ee){_0x36d8f7(_0x3ed5f0,_0x147f90,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x54142d;try{_0x54142d=_0x35b248(_0x50c09e);}catch{_0x36d8f7(_0x3ed5f0,_0x147f90,_0x45713f(0x24f));return;}const _0x4af3b0=Object[_0x45713f(0x25c)](_0x54142d);if(_0x4af3b0[_0x45713f(0x299)]!==0x1||_0x4af3b0[0x0]!==_0x28a835[_0x45713f(0x138)]){_0x36d8f7(_0x3ed5f0,_0x147f90,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x1550ee[_0x45713f(0x260)](_0x54142d[_0x28a835[_0x45713f(0x138)]]);}catch{_0x36d8f7(_0x3ed5f0,_0x147f90,_0x45713f(0x24f));return;}_0x3ed5f0[_0x45713f(0x26e)][_0x28a835[_0x45713f(0x138)]]=_0x1550ee;}_0x3ed5f0['setSocket'](_0x147f90,_0x46c937,{'allowSynchronousEvents':_0x316b1c[_0x45713f(0x29f)],'generateMask':_0x316b1c[_0x45713f(0x18d)],'maxPayload':_0x316b1c['maxPayload'],'skipUTF8Validation':_0x316b1c[_0x45713f(0x23f)]});}),_0x316b1c['finishRequest']?_0x316b1c[_0x5a3b51(0x127)](_0x10721c,_0x3ed5f0):_0x10721c[_0x5a3b51(0x270)]();}function _0xb42485(_0x6da197,_0x418002){const _0x3c1ea3=_0x5c2722;_0x6da197['_readyState']=_0x5e0996['CLOSING'],_0x6da197[_0x3c1ea3(0x1b3)]=!0x0,_0x6da197[_0x3c1ea3(0x215)](_0x3c1ea3(0x223),_0x418002),_0x6da197[_0x3c1ea3(0x1b4)]();}function _0x35fbdd(_0x4998bb){const _0x189675=_0x5c2722;return _0x4998bb[_0x189675(0x2b9)]=_0x4998bb[_0x189675(0x222)],_0x16c06f['connect'](_0x4998bb);}function _0x82a5ab(_0x19da25){const _0x46ef43=_0x5c2722;return _0x19da25[_0x46ef43(0x2b9)]=void 0x0,!_0x19da25[_0x46ef43(0x155)]&&_0x19da25['servername']!==''&&(_0x19da25['servername']=_0x16c06f[_0x46ef43(0x136)](_0x19da25[_0x46ef43(0x12d)])?'':_0x19da25[_0x46ef43(0x12d)]),_0x2f64bd[_0x46ef43(0x24a)](_0x19da25);}function _0x36d8f7(_0x485cc4,_0x4c9e31,_0x4b122a){const _0x57c427=_0x5c2722;_0x485cc4[_0x57c427(0x1d9)]=_0x5e0996[_0x57c427(0x1d1)];const _0x50ba18=new Error(_0x4b122a);Error['captureStackTrace'](_0x50ba18,_0x36d8f7),_0x4c9e31[_0x57c427(0x251)]?(_0x4c9e31[_0x29770d]=!0x0,_0x4c9e31[_0x57c427(0x288)](),_0x4c9e31[_0x57c427(0x238)]&&!_0x4c9e31[_0x57c427(0x238)][_0x57c427(0x21b)]&&_0x4c9e31['socket'][_0x57c427(0x20e)](),process['nextTick'](_0xb42485,_0x485cc4,_0x50ba18)):(_0x4c9e31['destroy'](_0x50ba18),_0x4c9e31[_0x57c427(0x1eb)]('error',_0x485cc4[_0x57c427(0x215)][_0x57c427(0x1e3)](_0x485cc4,_0x57c427(0x223))),_0x4c9e31[_0x57c427(0x1eb)]('close',_0x485cc4[_0x57c427(0x1b4)][_0x57c427(0x1e3)](_0x485cc4)));}function _0x284911(_0xf254e2,_0x5cba41,_0x5361f6){const _0x28151c=_0x5c2722;if(_0x5cba41){const _0x5b8351=_0x4d4480(_0x5cba41)?_0x5cba41[_0x28151c(0x2ca)]:_0x2b6c56(_0x5cba41)[_0x28151c(0x299)];_0xf254e2[_0x28151c(0x20d)]?_0xf254e2['_sender'][_0x28151c(0x1a3)]+=_0x5b8351:_0xf254e2[_0x28151c(0x1ce)]+=_0x5b8351;}if(_0x5361f6){const _0x1b12c6=new Error(_0x28151c(0x1b5)+_0xf254e2[_0x28151c(0x2c9)]+'\x20('+_0xd2c8af[_0xf254e2['readyState']]+')');process[_0x28151c(0x135)](_0x5361f6,_0x1b12c6);}}function _0x12d353(_0x2ca49b,_0x2beea3){const _0x4550fb=_0x5c2722,_0x4e0275=this[_0x49e8dc];_0x4e0275[_0x4550fb(0x15b)]=!0x0,_0x4e0275[_0x4550fb(0x201)]=_0x2beea3,_0x4e0275[_0x4550fb(0x14f)]=_0x2ca49b,_0x4e0275['_socket'][_0x49e8dc]!==void 0x0&&(_0x4e0275[_0x4550fb(0x20d)][_0x4550fb(0x14a)](_0x4550fb(0x12c),_0x300d08),process['nextTick'](_0x509f7a,_0x4e0275[_0x4550fb(0x20d)]),_0x2ca49b===0x3ed?_0x4e0275[_0x4550fb(0x249)]():_0x4e0275['close'](_0x2ca49b,_0x2beea3));}function _0x31ed92(){const _0x278596=_0x5c2722,_0x31e4e2=this[_0x49e8dc];_0x31e4e2[_0x278596(0x19a)]||_0x31e4e2['_socket']['resume']();}function _0x3e2c96(_0x4f70d6){const _0xa7ec13=_0x5c2722,_0x47576c=this[_0x49e8dc];_0x47576c[_0xa7ec13(0x20d)][_0x49e8dc]!==void 0x0&&(_0x47576c[_0xa7ec13(0x20d)][_0xa7ec13(0x14a)](_0xa7ec13(0x12c),_0x300d08),process[_0xa7ec13(0x135)](_0x509f7a,_0x47576c[_0xa7ec13(0x20d)]),_0x47576c[_0xa7ec13(0x249)](_0x4f70d6[_0x59063c])),_0x47576c[_0xa7ec13(0x1b3)]||(_0x47576c[_0xa7ec13(0x1b3)]=!0x0,_0x47576c[_0xa7ec13(0x215)](_0xa7ec13(0x223),_0x4f70d6));}function _0x3ae6ac(){this[_0x49e8dc]['emitClose']();}function _0x3d1615(_0x3342ab,_0x36fabe){const _0x2c8b77=_0x5c2722;this[_0x49e8dc][_0x2c8b77(0x215)](_0x2c8b77(0x1ca),_0x3342ab,_0x36fabe);}function _0x88067f(_0x14900b){const _0x182747=_0x5c2722,_0xc7c604=this[_0x49e8dc];_0xc7c604[_0x182747(0x203)]&&_0xc7c604[_0x182747(0x2ae)](_0x14900b,!this['_isServer'],_0xc9ae0),_0xc7c604[_0x182747(0x215)]('ping',_0x14900b);}function _0x44ea9f(_0x3344d4){const _0x5903f9=_0x5c2722;this[_0x49e8dc][_0x5903f9(0x215)](_0x5903f9(0x2ae),_0x3344d4);}function _0x509f7a(_0x3bc8b4){const _0xf62cf=_0x5c2722;_0x3bc8b4[_0xf62cf(0x278)]();}function _0xedaa5e(_0x298f21){const _0x1c2be6=_0x5c2722,_0x43b886=this[_0x49e8dc];_0x43b886[_0x1c2be6(0x2c9)]!==_0x5e0996[_0x1c2be6(0x28f)]&&(_0x43b886[_0x1c2be6(0x2c9)]===_0x5e0996[_0x1c2be6(0x266)]&&(_0x43b886[_0x1c2be6(0x1d9)]=_0x5e0996[_0x1c2be6(0x1d1)],_0x4ecf7f(_0x43b886)),this['_socket'][_0x1c2be6(0x270)](),_0x43b886[_0x1c2be6(0x1b3)]||(_0x43b886[_0x1c2be6(0x1b3)]=!0x0,_0x43b886[_0x1c2be6(0x215)]('error',_0x298f21)));}function _0x4ecf7f(_0x3e776a){const _0x1539b8=_0x5c2722;_0x3e776a[_0x1539b8(0x239)]=setTimeout(_0x3e776a['_socket'][_0x1539b8(0x20e)]['bind'](_0x3e776a[_0x1539b8(0x20d)]),_0x64a9b);}function _0x53550f(){const _0x3c847b=_0x5c2722,_0x607df9=this[_0x49e8dc];this[_0x3c847b(0x14a)]('close',_0x53550f),this[_0x3c847b(0x14a)](_0x3c847b(0x12c),_0x300d08),this[_0x3c847b(0x14a)]('end',_0xa27bb2),_0x607df9['_readyState']=_0x5e0996[_0x3c847b(0x1d1)];let _0x58d6b9;!this['_readableState'][_0x3c847b(0x1f2)]&&!_0x607df9[_0x3c847b(0x15b)]&&!_0x607df9[_0x3c847b(0x1e8)][_0x3c847b(0x1c2)][_0x3c847b(0x2a3)]&&(_0x58d6b9=_0x607df9['_socket'][_0x3c847b(0x13c)]())!==null&&_0x607df9[_0x3c847b(0x1e8)][_0x3c847b(0x212)](_0x58d6b9),_0x607df9[_0x3c847b(0x1e8)]['end'](),this[_0x49e8dc]=void 0x0,clearTimeout(_0x607df9[_0x3c847b(0x239)]),_0x607df9[_0x3c847b(0x1e8)][_0x3c847b(0x1c2)][_0x3c847b(0x20f)]||_0x607df9['_receiver'][_0x3c847b(0x1c2)][_0x3c847b(0x2a3)]?_0x607df9[_0x3c847b(0x1b4)]():(_0x607df9[_0x3c847b(0x1e8)]['on']('error',_0x3ae6ac),_0x607df9[_0x3c847b(0x1e8)]['on'](_0x3c847b(0x269),_0x3ae6ac));}function _0x300d08(_0x31efd6){const _0x5f6720=_0x5c2722;this[_0x49e8dc]['_receiver'][_0x5f6720(0x212)](_0x31efd6)||this[_0x5f6720(0x1b7)]();}function _0xa27bb2(){const _0x1eefc0=_0x5c2722,_0x315bf4=this[_0x49e8dc];_0x315bf4[_0x1eefc0(0x1d9)]=_0x5e0996[_0x1eefc0(0x1d1)],_0x315bf4[_0x1eefc0(0x1e8)][_0x1eefc0(0x270)](),this['end']();}function _0x32f0db(){const _0x307692=_0x5c2722,_0x263093=this[_0x49e8dc];this['removeListener']('error',_0x32f0db),this['on'](_0x307692(0x223),_0xc9ae0),_0x263093&&(_0x263093[_0x307692(0x1d9)]=_0x5e0996[_0x307692(0x1d1)],this[_0x307692(0x20e)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x4a789a}=_0x107dc6;function _0x55b345(_0xb55156){const _0x1a1bfc=_0x840b;_0xb55156[_0x1a1bfc(0x215)](_0x1a1bfc(0x249));}function _0x2a979c(){const _0x5492bd=_0x840b;!this[_0x5492bd(0x21b)]&&this['_writableState'][_0x5492bd(0x20f)]&&this[_0x5492bd(0x20e)]();}function _0x56c926(_0x35c301){const _0x449b3c=_0x840b;this[_0x449b3c(0x14a)]('error',_0x56c926),this[_0x449b3c(0x20e)](),this['listenerCount']('error')===0x0&&this[_0x449b3c(0x215)]('error',_0x35c301);}function _0x49e96f(_0xdd0682,_0x2e2aaa){const _0x595315=_0x840b;let _0x5882ca=!0x0;const _0x4b38e3=new _0x4a789a({..._0x2e2aaa,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xdd0682['on'](_0x595315(0x1ca),function(_0x20fae9,_0x4e7d85){const _0x4d0413=_0x595315,_0x3419ae=!_0x4e7d85&&_0x4b38e3[_0x4d0413(0x139)][_0x4d0413(0x2bb)]?_0x20fae9['toString']():_0x20fae9;_0x4b38e3[_0x4d0413(0x16d)](_0x3419ae)||_0xdd0682[_0x4d0413(0x1b7)]();}),_0xdd0682[_0x595315(0x1eb)]('error',function(_0x4f94d0){const _0x351a12=_0x595315;_0x4b38e3[_0x351a12(0x21b)]||(_0x5882ca=!0x1,_0x4b38e3[_0x351a12(0x20e)](_0x4f94d0));}),_0xdd0682['once'](_0x595315(0x249),function(){const _0x44c2c8=_0x595315;_0x4b38e3[_0x44c2c8(0x21b)]||_0x4b38e3[_0x44c2c8(0x16d)](null);}),_0x4b38e3[_0x595315(0x1c1)]=function(_0x1e070b,_0x145f9e){const _0x3c2c23=_0x595315;if(_0xdd0682['readyState']===_0xdd0682['CLOSED']){_0x145f9e(_0x1e070b),process[_0x3c2c23(0x135)](_0x55b345,_0x4b38e3);return;}let _0x5b0f8b=!0x1;_0xdd0682['once'](_0x3c2c23(0x223),function(_0x3bb512){_0x5b0f8b=!0x0,_0x145f9e(_0x3bb512);}),_0xdd0682[_0x3c2c23(0x1eb)](_0x3c2c23(0x249),function(){const _0x21281d=_0x3c2c23;_0x5b0f8b||_0x145f9e(_0x1e070b),process[_0x21281d(0x135)](_0x55b345,_0x4b38e3);}),_0x5882ca&&_0xdd0682[_0x3c2c23(0x180)]();},_0x4b38e3['_final']=function(_0x18e200){const _0x511bab=_0x595315;if(_0xdd0682['readyState']===_0xdd0682[_0x511bab(0x13f)]){_0xdd0682[_0x511bab(0x1eb)]('open',function(){_0x4b38e3['_final'](_0x18e200);});return;}_0xdd0682[_0x511bab(0x20d)]!==null&&(_0xdd0682['_socket'][_0x511bab(0x1c2)][_0x511bab(0x20f)]?(_0x18e200(),_0x4b38e3[_0x511bab(0x139)][_0x511bab(0x1f2)]&&_0x4b38e3[_0x511bab(0x20e)]()):(_0xdd0682[_0x511bab(0x20d)][_0x511bab(0x1eb)](_0x511bab(0x269),function(){_0x18e200();}),_0xdd0682[_0x511bab(0x249)]()));},_0x4b38e3[_0x595315(0x16b)]=function(){const _0x12500e=_0x595315;_0xdd0682['isPaused']&&_0xdd0682[_0x12500e(0x278)]();},_0x4b38e3[_0x595315(0x295)]=function(_0x18b7fc,_0x30e0a4,_0x347f2b){const _0x1bd701=_0x595315;if(_0xdd0682[_0x1bd701(0x2c9)]===_0xdd0682[_0x1bd701(0x13f)]){_0xdd0682[_0x1bd701(0x1eb)](_0x1bd701(0x12a),function(){const _0x2261d3=_0x1bd701;_0x4b38e3[_0x2261d3(0x295)](_0x18b7fc,_0x30e0a4,_0x347f2b);});return;}_0xdd0682[_0x1bd701(0x1a0)](_0x18b7fc,_0x347f2b);},_0x4b38e3['on'](_0x595315(0x270),_0x2a979c),_0x4b38e3['on'](_0x595315(0x223),_0x56c926),_0x4b38e3;}return Oe=_0x49e96f,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x2dc432}=ne();function _0x40408f(_0x4005ae){const _0x512c0a=_0x840b,_0x420ae3=new Set();let _0xdd4234=-0x1,_0x197190=-0x1,_0x449b03=0x0;for(_0x449b03;_0x449b03<_0x4005ae[_0x512c0a(0x299)];_0x449b03++){const _0x236c4c=_0x4005ae[_0x512c0a(0x26c)](_0x449b03);if(_0x197190===-0x1&&_0x2dc432[_0x236c4c]===0x1)_0xdd4234===-0x1&&(_0xdd4234=_0x449b03);else{if(_0x449b03!==0x0&&(_0x236c4c===0x20||_0x236c4c===0x9))_0x197190===-0x1&&_0xdd4234!==-0x1&&(_0x197190=_0x449b03);else{if(_0x236c4c===0x2c){if(_0xdd4234===-0x1)throw new SyntaxError(_0x512c0a(0x21d)+_0x449b03);_0x197190===-0x1&&(_0x197190=_0x449b03);const _0x3b5275=_0x4005ae[_0x512c0a(0x1e9)](_0xdd4234,_0x197190);if(_0x420ae3['has'](_0x3b5275))throw new SyntaxError(_0x512c0a(0x293)+_0x3b5275+_0x512c0a(0x240));_0x420ae3['add'](_0x3b5275),_0xdd4234=_0x197190=-0x1;}else throw new SyntaxError(_0x512c0a(0x21d)+_0x449b03);}}}if(_0xdd4234===-0x1||_0x197190!==-0x1)throw new SyntaxError(_0x512c0a(0x2a9));const _0x33485c=_0x4005ae[_0x512c0a(0x1e9)](_0xdd4234,_0x449b03);if(_0x420ae3['has'](_0x33485c))throw new SyntaxError(_0x512c0a(0x293)+_0x33485c+_0x512c0a(0x240));return _0x420ae3[_0x512c0a(0x20c)](_0x33485c),_0x420ae3;}return Ce={'parse':_0x40408f},Ce;}var Te,ot;function er(){const _0x19d3f2=_0x15f6c9;if(ot)return Te;ot=0x1;const _0x41b436=_0x144219,_0x237979=_0x2a0443,{Duplex:_0x1cc068}=_0x107dc6,{createHash:_0x3c5690}=_0x8b2df3,_0x1ec813=pt(),_0x5a8003=he(),_0x1187d6=Jt(),_0x33a96f=Ie(),{GUID:_0x13f029,kWebSocket:_0x56a7bf}=V(),_0x1b0721=/^[+/0-9A-Za-z]{22}==$/,_0x2b0d83=0x0,_0x225a35=0x1,_0x15f68a=0x2;class _0x2943c1 extends _0x41b436{constructor(_0x251a71,_0x47acb3){const _0x5467cf=_0x840b;if(super(),_0x251a71={'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':_0x33a96f,..._0x251a71},_0x251a71[_0x5467cf(0x229)]==null&&!_0x251a71[_0x5467cf(0x1b6)]&&!_0x251a71[_0x5467cf(0x237)]||_0x251a71[_0x5467cf(0x229)]!=null&&(_0x251a71[_0x5467cf(0x1b6)]||_0x251a71[_0x5467cf(0x237)])||_0x251a71[_0x5467cf(0x1b6)]&&_0x251a71[_0x5467cf(0x237)])throw new TypeError(_0x5467cf(0x242));if(_0x251a71[_0x5467cf(0x229)]!=null?(this['_server']=_0x237979[_0x5467cf(0x125)]((_0x536c2b,_0x20d7bc)=>{const _0x33f7f0=_0x5467cf,_0x32255e=_0x237979[_0x33f7f0(0x252)][0x1aa];_0x20d7bc[_0x33f7f0(0x276)](0x1aa,{'Content-Length':_0x32255e[_0x33f7f0(0x299)],'Content-Type':'text/plain'}),_0x20d7bc[_0x33f7f0(0x270)](_0x32255e);}),this['_server']['listen'](_0x251a71[_0x5467cf(0x229)],_0x251a71['host'],_0x251a71[_0x5467cf(0x2a0)],_0x47acb3)):_0x251a71['server']&&(this[_0x5467cf(0x19e)]=_0x251a71[_0x5467cf(0x1b6)]),this[_0x5467cf(0x19e)]){const _0x28a5cf=this[_0x5467cf(0x215)][_0x5467cf(0x1e3)](this,'connection');this[_0x5467cf(0x29b)]=_0x5a03d(this[_0x5467cf(0x19e)],{'listening':this[_0x5467cf(0x215)][_0x5467cf(0x1e3)](this,_0x5467cf(0x1cc)),'error':this[_0x5467cf(0x215)][_0x5467cf(0x1e3)](this,_0x5467cf(0x223)),'upgrade':(_0x19cb8e,_0x17e7cd,_0x130b6f)=>{this['handleUpgrade'](_0x19cb8e,_0x17e7cd,_0x130b6f,_0x28a5cf);}});}_0x251a71['perMessageDeflate']===!0x0&&(_0x251a71[_0x5467cf(0x2be)]={}),_0x251a71[_0x5467cf(0x279)]&&(this[_0x5467cf(0x148)]=new Set(),this[_0x5467cf(0x2ab)]=!0x1),this[_0x5467cf(0x19d)]=_0x251a71,this[_0x5467cf(0x29a)]=_0x2b0d83;}[_0x19d3f2(0x1cb)](){const _0x4861d7=_0x19d3f2;if(this[_0x4861d7(0x19d)][_0x4861d7(0x237)])throw new Error(_0x4861d7(0x287));return this[_0x4861d7(0x19e)]?this['_server']['address']():null;}['close'](_0x19acf1){const _0x1b3e7b=_0x19d3f2;if(this['_state']===_0x15f68a){_0x19acf1&&this[_0x1b3e7b(0x1eb)]('close',()=>{_0x19acf1(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x1b3e7b(0x135)](_0x161e45,this);return;}if(_0x19acf1&&this['once'](_0x1b3e7b(0x249),_0x19acf1),this[_0x1b3e7b(0x29a)]!==_0x225a35){if(this['_state']=_0x225a35,this[_0x1b3e7b(0x19d)][_0x1b3e7b(0x237)]||this['options']['server'])this[_0x1b3e7b(0x19e)]&&(this['_removeListeners'](),this[_0x1b3e7b(0x29b)]=this[_0x1b3e7b(0x19e)]=null),this[_0x1b3e7b(0x148)]?this[_0x1b3e7b(0x148)]['size']?this[_0x1b3e7b(0x2ab)]=!0x0:process[_0x1b3e7b(0x135)](_0x161e45,this):process[_0x1b3e7b(0x135)](_0x161e45,this);else{const _0x481248=this[_0x1b3e7b(0x19e)];this[_0x1b3e7b(0x29b)](),this[_0x1b3e7b(0x29b)]=this[_0x1b3e7b(0x19e)]=null,_0x481248[_0x1b3e7b(0x249)](()=>{_0x161e45(this);});}}}[_0x19d3f2(0x25d)](_0x6c5036){const _0x57124a=_0x19d3f2;if(this[_0x57124a(0x19d)][_0x57124a(0x2b9)]){const _0x1ee491=_0x6c5036[_0x57124a(0x1c8)][_0x57124a(0x169)]('?');if((_0x1ee491!==-0x1?_0x6c5036[_0x57124a(0x1c8)][_0x57124a(0x1e9)](0x0,_0x1ee491):_0x6c5036[_0x57124a(0x1c8)])!==this[_0x57124a(0x19d)][_0x57124a(0x2b9)])return!0x1;}return!0x0;}['handleUpgrade'](_0x590992,_0x257e0d,_0xd2bb3b,_0x32b241){const _0x4873b0=_0x19d3f2;_0x257e0d['on'](_0x4873b0(0x223),_0x3b8369);const _0x11d232=_0x590992[_0x4873b0(0x298)][_0x4873b0(0x207)],_0x45f02b=_0x590992[_0x4873b0(0x298)][_0x4873b0(0x263)],_0x453152=+_0x590992['headers']['sec-websocket-version'];if(_0x590992[_0x4873b0(0x1ab)]!==_0x4873b0(0x2c7)){_0x2e74e2(this,_0x590992,_0x257e0d,0x195,_0x4873b0(0x282));return;}if(_0x45f02b===void 0x0||_0x45f02b[_0x4873b0(0x1d2)]()!==_0x4873b0(0x1bc)){_0x2e74e2(this,_0x590992,_0x257e0d,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x11d232===void 0x0||!_0x1b0721[_0x4873b0(0x209)](_0x11d232)){_0x2e74e2(this,_0x590992,_0x257e0d,0x190,_0x4873b0(0x1b2));return;}if(_0x453152!==0x8&&_0x453152!==0xd){_0x2e74e2(this,_0x590992,_0x257e0d,0x190,_0x4873b0(0x2a6));return;}if(!this['shouldHandle'](_0x590992)){_0x2f422c(_0x257e0d,0x190);return;}const _0x339c56=_0x590992[_0x4873b0(0x298)]['sec-websocket-protocol'];let _0x24aedf=new Set();if(_0x339c56!==void 0x0)try{_0x24aedf=_0x1187d6['parse'](_0x339c56);}catch{_0x2e74e2(this,_0x590992,_0x257e0d,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x293991=_0x590992['headers'][_0x4873b0(0x2c1)],_0x25a65d={};if(this[_0x4873b0(0x19d)][_0x4873b0(0x2be)]&&_0x293991!==void 0x0){const _0xa5c91a=new _0x5a8003(this['options'][_0x4873b0(0x2be)],!0x0,this[_0x4873b0(0x19d)][_0x4873b0(0x268)]);try{const _0x485837=_0x1ec813[_0x4873b0(0x2ad)](_0x293991);_0x485837[_0x5a8003[_0x4873b0(0x138)]]&&(_0xa5c91a[_0x4873b0(0x260)](_0x485837[_0x5a8003[_0x4873b0(0x138)]]),_0x25a65d[_0x5a8003[_0x4873b0(0x138)]]=_0xa5c91a);}catch{_0x2e74e2(this,_0x590992,_0x257e0d,0x190,_0x4873b0(0x11e));return;}}if(this['options'][_0x4873b0(0x12e)]){const _0x42f9fb={'origin':_0x590992[_0x4873b0(0x298)][''+(_0x453152===0x8?_0x4873b0(0x202):_0x4873b0(0x11c))],'secure':!!(_0x590992[_0x4873b0(0x238)][_0x4873b0(0x1f6)]||_0x590992['socket'][_0x4873b0(0x20b)]),'req':_0x590992};if(this[_0x4873b0(0x19d)][_0x4873b0(0x12e)][_0x4873b0(0x299)]===0x2){this[_0x4873b0(0x19d)][_0x4873b0(0x12e)](_0x42f9fb,(_0x1e491b,_0x16f62d,_0x589937,_0x4cc5ce)=>{const _0x1af183=_0x4873b0;if(!_0x1e491b)return _0x2f422c(_0x257e0d,_0x16f62d||0x191,_0x589937,_0x4cc5ce);this[_0x1af183(0x21f)](_0x25a65d,_0x11d232,_0x24aedf,_0x590992,_0x257e0d,_0xd2bb3b,_0x32b241);});return;}if(!this['options'][_0x4873b0(0x12e)](_0x42f9fb))return _0x2f422c(_0x257e0d,0x191);}this[_0x4873b0(0x21f)](_0x25a65d,_0x11d232,_0x24aedf,_0x590992,_0x257e0d,_0xd2bb3b,_0x32b241);}[_0x19d3f2(0x21f)](_0x52af4e,_0x4ca15a,_0x313760,_0x1f7698,_0x4168fe,_0x132e41,_0x3045a5){const _0xab0fb9=_0x19d3f2;if(!_0x4168fe['readable']||!_0x4168fe['writable'])return _0x4168fe['destroy']();if(_0x4168fe[_0x56a7bf])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0xab0fb9(0x29a)]>_0x2b0d83)return _0x2f422c(_0x4168fe,0x1f7);const _0x3ddccb=[_0xab0fb9(0x261),'Upgrade:\x20websocket',_0xab0fb9(0x2a8),_0xab0fb9(0x2b1)+_0x3c5690(_0xab0fb9(0x132))[_0xab0fb9(0x191)](_0x4ca15a+_0x13f029)[_0xab0fb9(0x234)](_0xab0fb9(0x244))],_0x1e7022=new this[(_0xab0fb9(0x19d))][(_0xab0fb9(0x2b6))](null,void 0x0,this[_0xab0fb9(0x19d)]);if(_0x313760[_0xab0fb9(0x2ca)]){const _0x1bd5d7=this[_0xab0fb9(0x19d)]['handleProtocols']?this[_0xab0fb9(0x19d)][_0xab0fb9(0x296)](_0x313760,_0x1f7698):_0x313760[_0xab0fb9(0x1ac)]()[_0xab0fb9(0x26f)]()['value'];_0x1bd5d7&&(_0x3ddccb[_0xab0fb9(0x16d)]('Sec-WebSocket-Protocol:\x20'+_0x1bd5d7),_0x1e7022[_0xab0fb9(0x133)]=_0x1bd5d7);}if(_0x52af4e[_0x5a8003['extensionName']]){const _0x103e07=_0x52af4e[_0x5a8003[_0xab0fb9(0x138)]][_0xab0fb9(0x28d)],_0x207651=_0x1ec813[_0xab0fb9(0x1a1)]({[_0x5a8003[_0xab0fb9(0x138)]]:[_0x103e07]});_0x3ddccb[_0xab0fb9(0x16d)]('Sec-WebSocket-Extensions:\x20'+_0x207651),_0x1e7022['_extensions']=_0x52af4e;}this['emit'](_0xab0fb9(0x298),_0x3ddccb,_0x1f7698),_0x4168fe['write'](_0x3ddccb[_0xab0fb9(0x231)]('\x0d\x0a')[_0xab0fb9(0x22c)]('\x0d\x0a')),_0x4168fe[_0xab0fb9(0x14a)](_0xab0fb9(0x223),_0x3b8369),_0x1e7022[_0xab0fb9(0x28b)](_0x4168fe,_0x132e41,{'allowSynchronousEvents':this[_0xab0fb9(0x19d)][_0xab0fb9(0x29f)],'maxPayload':this[_0xab0fb9(0x19d)]['maxPayload'],'skipUTF8Validation':this[_0xab0fb9(0x19d)]['skipUTF8Validation']}),this[_0xab0fb9(0x148)]&&(this[_0xab0fb9(0x148)][_0xab0fb9(0x20c)](_0x1e7022),_0x1e7022['on'](_0xab0fb9(0x249),()=>{const _0x23349f=_0xab0fb9;this[_0x23349f(0x148)][_0x23349f(0x170)](_0x1e7022),this[_0x23349f(0x2ab)]&&!this[_0x23349f(0x148)]['size']&&process[_0x23349f(0x135)](_0x161e45,this);})),_0x3045a5(_0x1e7022,_0x1f7698);}}Te=_0x2943c1;function _0x5a03d(_0x53d411,_0x23a1f4){const _0x5f3d15=_0x19d3f2;for(const _0x57c63a of Object[_0x5f3d15(0x25c)](_0x23a1f4))_0x53d411['on'](_0x57c63a,_0x23a1f4[_0x57c63a]);return function(){const _0x4d898f=_0x5f3d15;for(const _0x45052c of Object[_0x4d898f(0x25c)](_0x23a1f4))_0x53d411[_0x4d898f(0x14a)](_0x45052c,_0x23a1f4[_0x45052c]);};}function _0x161e45(_0x249428){const _0x4c95a2=_0x19d3f2;_0x249428['_state']=_0x15f68a,_0x249428['emit'](_0x4c95a2(0x249));}function _0x3b8369(){this['destroy']();}function _0x2f422c(_0x5136d5,_0x5c94d8,_0x519f08,_0x44fb59){const _0x100517=_0x19d3f2;_0x519f08=_0x519f08||_0x237979[_0x100517(0x252)][_0x5c94d8],_0x44fb59={'Connection':_0x100517(0x249),'Content-Type':_0x100517(0x294),'Content-Length':Buffer['byteLength'](_0x519f08),..._0x44fb59},_0x5136d5['once'](_0x100517(0x269),_0x5136d5[_0x100517(0x20e)]),_0x5136d5[_0x100517(0x270)](_0x100517(0x2c2)+_0x5c94d8+'\x20'+_0x237979[_0x100517(0x252)][_0x5c94d8]+'\x0d\x0a'+Object['keys'](_0x44fb59)[_0x100517(0x264)](_0x172c8a=>_0x172c8a+':\x20'+_0x44fb59[_0x172c8a])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x519f08);}function _0x2e74e2(_0x9241e4,_0xe568f,_0x3fcdf1,_0x42d4e7,_0x3471d8){const _0x57e9fe=_0x19d3f2;if(_0x9241e4[_0x57e9fe(0x27f)](_0x57e9fe(0x284))){const _0x47a7fd=new Error(_0x3471d8);Error['captureStackTrace'](_0x47a7fd,_0x2e74e2),_0x9241e4[_0x57e9fe(0x215)](_0x57e9fe(0x284),_0x47a7fd,_0x3fcdf1,_0xe568f);}else _0x2f422c(_0x3fcdf1,_0x42d4e7,_0x3471d8);}return Te;}er();var tr=Object[_0x15f6c9(0x224)],rr=(_0x556e33,_0x1691a7,_0x420f24,_0x238521)=>{for(var _0x105605=_0x238521>0x1?void 0x0:_0x238521?tr(_0x1691a7,_0x420f24):_0x1691a7,_0x536234=_0x556e33['length']-0x1,_0x516401;_0x536234>=0x0;_0x536234--)(_0x516401=_0x556e33[_0x536234])&&(_0x105605=_0x516401(_0x105605)||_0x105605);return _0x105605;},sr=(_0x5ef11f,_0x15c2a3)=>(_0x4a3bee,_0x3d336c)=>_0x15c2a3(_0x4a3bee,_0x3d336c,_0x5ef11f);let Ne=class extends _0x377e5d{constructor(_0x3f0afc){const _0x29f945=_0x15f6c9;super(),this[_0x29f945(0x11a)]=_0x3f0afc;}[_0x15f6c9(0x1de)](_0x11bcb1){const _0x3ff528=_0x15f6c9;var _0x30bb89;const _0xb65335=(_0x30bb89=this[_0x3ff528(0x11a)][_0x3ff528(0x198)](Be))==null?void 0x0:_0x30bb89['customHeaders'];try{const _0x2d7b12=new Qt(_0x11bcb1,{'headers':{..._0xb65335}}),_0x2197bc=new _0x52c841();return{'URL':_0x11bcb1,'close':(_0x4aeb06,_0xab1069)=>{const _0x443069=_0x3ff528;_0x2d7b12[_0x443069(0x249)](_0x4aeb06,_0xab1069),_0x2197bc[_0x443069(0x1f4)]();},'send':_0xf3a9a8=>{const _0x5da23f=_0x3ff528;_0x2d7b12[_0x5da23f(0x1a0)](_0xf3a9a8);},'open$':new _0x156a86(_0x43b1fa=>{const _0x21bd93=_0x3ff528,_0x255555=_0x251f92=>_0x43b1fa[_0x21bd93(0x26f)](_0x251f92);_0x2d7b12[_0x21bd93(0x225)](_0x21bd93(0x12a),_0x255555),_0x2197bc[_0x21bd93(0x20c)](_0x9e3fe0(()=>_0x2d7b12[_0x21bd93(0x199)](_0x21bd93(0x12a),_0x255555)));})[_0x3ff528(0x22f)](_0x36a070()),'close$':new _0x156a86(_0x55ac13=>{const _0x151ddd=_0x3ff528,_0xf418c7=_0x302e6b=>_0x55ac13['next'](_0x302e6b);_0x2d7b12[_0x151ddd(0x225)]('close',_0xf418c7),_0x2197bc[_0x151ddd(0x20c)](_0x9e3fe0(()=>_0x2d7b12['removeEventListener'](_0x151ddd(0x249),_0xf418c7)));})['pipe'](_0x36a070()),'error$':new _0x156a86(_0x588867=>{const _0x330706=_0x3ff528,_0x492fc9=_0x131110=>_0x588867['next'](_0x131110);_0x2d7b12[_0x330706(0x225)]('error',_0x492fc9),_0x2197bc[_0x330706(0x20c)](_0x9e3fe0(()=>_0x2d7b12[_0x330706(0x199)](_0x330706(0x223),_0x492fc9)));})[_0x3ff528(0x22f)](_0x36a070()),'message$':new _0x156a86(_0x24d541=>{const _0x461688=_0x3ff528,_0xf2cdfb=_0x2abca2=>_0x24d541[_0x461688(0x26f)](_0x2abca2);_0x2d7b12[_0x461688(0x225)](_0x461688(0x1ca),_0xf2cdfb),_0x2197bc[_0x461688(0x20c)](_0x9e3fe0(()=>_0x2d7b12['removeEventListener']('message',_0xf2cdfb)));})[_0x3ff528(0x22f)](_0x36a070())};}catch(_0x582261){return console[_0x3ff528(0x223)](_0x582261),null;}}};Ne=rr([sr(0x0,_0xb0deab)],Ne);var ir=Object[_0x15f6c9(0x265)],nr=Object[_0x15f6c9(0x224)],or=(_0x20d945,_0x5e306e,_0x394b3a)=>_0x5e306e in _0x20d945?ir(_0x20d945,_0x5e306e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x394b3a}):_0x20d945[_0x5e306e]=_0x394b3a,ar=(_0xd17f7f,_0x492139,_0x5d9c5c,_0x2d0c81)=>{for(var _0x4ce523=_0x2d0c81>0x1?void 0x0:_0x2d0c81?nr(_0x492139,_0x5d9c5c):_0x492139,_0x313e04=_0xd17f7f['length']-0x1,_0x5f256b;_0x313e04>=0x0;_0x313e04--)(_0x5f256b=_0xd17f7f[_0x313e04])&&(_0x4ce523=_0x5f256b(_0x4ce523)||_0x4ce523);return _0x4ce523;},ke=(_0x5630bc,_0xa9ff15)=>(_0x19266,_0x16fd45)=>_0xa9ff15(_0x19266,_0x16fd45,_0x5630bc),lr=(_0x5956a2,_0x4dc276,_0x64cc62)=>or(_0x5956a2,_0x4dc276+'',_0x64cc62);let Pe=class extends _0x2f7cb9{constructor(_0x2f61ca=Ft,_0x560c05,_0x1d1129,_0x531c4b){const _0x5136e5=_0x15f6c9;_0x2f61ca[_0x5136e5(0x1cd)]||_0x560c05[_0x5136e5(0x1f1)](_0x5136e5(0x230)),super(),this[_0x5136e5(0x11a)]=_0x1d1129,this['_injector']=_0x531c4b,this[_0x5136e5(0x11a)][_0x5136e5(0x254)](Be,_0x2f61ca);}[_0x15f6c9(0x1fa)](){const _0x584fa4=_0x15f6c9;this[_0x584fa4(0x2b0)]();}['_registerDependencies'](){const _0x344373=_0x15f6c9;_0xf1aaa0(this[_0x344373(0x1a8)],[[_0x22df9f,{'useClass':Ne}]]);}};lr(Pe,_0x15f6c9(0x22e),_0x15f6c9(0x258)),Pe=ar([_0x3187a9(_0x1712f2),ke(0x1,_0x370bee),ke(0x2,_0xb0deab),ke(0x3,_0x23c7d9(_0x1d83c4))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x52c5f6,_0x341b8a,_0x14d84f,_0x2e3e9c)=>{const _0x488f03=_0x15f6c9;for(var _0x319dee=_0x2e3e9c>0x1?void 0x0:_0x2e3e9c?fr(_0x341b8a,_0x14d84f):_0x341b8a,_0x582300=_0x52c5f6[_0x488f03(0x299)]-0x1,_0x4101e1;_0x582300>=0x0;_0x582300--)(_0x4101e1=_0x52c5f6[_0x582300])&&(_0x319dee=_0x4101e1(_0x319dee)||_0x319dee);return _0x319dee;},se=(_0x404da4,_0x2cfac3)=>(_0x1c60fd,_0x2bd93f)=>_0x2cfac3(_0x1c60fd,_0x2bd93f,_0x404da4);let at=class extends _0x30ece4{constructor(_0x26eff3,_0x344dde,_0x34b9fb,_0x180143,_0x29bae8){const _0x27a858=_0x15f6c9;super(_0x26eff3,_0x344dde,_0x34b9fb,_0x180143,_0x29bae8);const _0x1b15bd=this[_0x27a858(0x11a)][_0x27a858(0x198)](Be);this[_0x27a858(0x11b)][_0x27a858(0x150)]({'interceptor':(_0x4448ed,_0x3e9ad4)=>{const _0x583ac5=_0x27a858;var _0x47b5ca;const _0x50e815=_0x4448ed[_0x583ac5(0x298)];return(_0x47b5ca=_0x1b15bd==null?void 0x0:_0x1b15bd[_0x583ac5(0x1cd)])!=null&&_0x47b5ca[_0x583ac5(0x2b8)]&&_0x50e815['set'](_0x583ac5(0x2b2),_0x1b15bd[_0x583ac5(0x1cd)][_0x583ac5(0x2b8)]),_0x3e9ad4(_0x4448ed);}});}async[_0x15f6c9(0x1de)](_0x4041a9){const _0x1d7c94=_0x15f6c9;return this[_0x1d7c94(0x159)](_0x4041a9);}};at=cr([se(0x0,_0x23c7d9(_0x1d83c4)),se(0x1,_0x23c7d9(_0x492b06)),se(0x2,_0xb0deab),se(0x3,_0x370bee),se(0x4,_0x42dd48)],at);function _0x840b(_0x1eddf2,_0x2a7ccd){const _0x369aae=_0x369a();return _0x840b=function(_0x840b21,_0x4d1ad1){_0x840b21=_0x840b21-0x11a;let _0x4294e0=_0x369aae[_0x840b21];return _0x4294e0;},_0x840b(_0x1eddf2,_0x2a7ccd);}export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|