@univerjs-pro/collaboration-client-node 0.10.1-nightly.202508020912 → 0.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x1875f0=_0x40ff;(function(_0xa62e6,_0x4792f1){const _0x35e26e=_0x40ff,_0x3d0421=_0xa62e6();while(!![]){try{const _0x55f4a7=parseInt(_0x35e26e(0x344))/0x1+-parseInt(_0x35e26e(0x209))/0x2+-parseInt(_0x35e26e(0x2bc))/0x3*(-parseInt(_0x35e26e(0x31b))/0x4)+-parseInt(_0x35e26e(0x34d))/0x5+parseInt(_0x35e26e(0x1ca))/0x6+-parseInt(_0x35e26e(0x1f0))/0x7+parseInt(_0x35e26e(0x2d7))/0x8*(parseInt(_0x35e26e(0x243))/0x9);if(_0x55f4a7===_0x4792f1)break;else _0x3d0421['push'](_0x3d0421['shift']());}catch(_0x5d121a){_0x3d0421['push'](_0x3d0421['shift']());}}}(_0xafdf,0x76e86));Object[_0x1875f0(0x37b)](exports,Symbol['toStringTag'],{'value':_0x1875f0(0x346)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x1875f0(0x357),Ct={'customHeaders':{}};function Tt(_0x23b6b6){const _0x3b963d=_0x1875f0;return _0x23b6b6&&_0x23b6b6[_0x3b963d(0x2eb)]&&Object[_0x3b963d(0x213)]['hasOwnProperty']['call'](_0x23b6b6,_0x3b963d(0x366))?_0x23b6b6[_0x3b963d(0x366)]:_0x23b6b6;}function at(_0x203085){const _0x2857ce=_0x1875f0;if(Object[_0x2857ce(0x213)][_0x2857ce(0x241)][_0x2857ce(0x32f)](_0x203085,_0x2857ce(0x2eb)))return _0x203085;var _0x684c=_0x203085[_0x2857ce(0x366)];if(typeof _0x684c==_0x2857ce(0x1e6)){var _0x3511d8=function _0x579e1a(){const _0x5994ab=_0x2857ce;var _0x1fb668=!0x1;try{_0x1fb668=this instanceof _0x579e1a;}catch{}return _0x1fb668?Reflect[_0x5994ab(0x32b)](_0x684c,arguments,this[_0x5994ab(0x305)]):_0x684c[_0x5994ab(0x1d4)](this,arguments);};_0x3511d8['prototype']=_0x684c[_0x2857ce(0x213)];}else _0x3511d8={};return Object[_0x2857ce(0x37b)](_0x3511d8,_0x2857ce(0x2eb),{'value':!0x0}),Object[_0x2857ce(0x247)](_0x203085)[_0x2857ce(0x367)](function(_0x4b3c54){const _0x565196=_0x2857ce;var _0x433a34=Object[_0x565196(0x36d)](_0x203085,_0x4b3c54);Object[_0x565196(0x37b)](_0x3511d8,_0x4b3c54,_0x433a34['get']?_0x433a34:{'enumerable':!0x0,'get':function(){return _0x203085[_0x4b3c54];}});}),_0x3511d8;}var se={'exports':{}},ge,Ge;function H(){const _0x322d3f=_0x1875f0;if(Ge)return ge;Ge=0x1;const _0x540b64=[_0x322d3f(0x358),_0x322d3f(0x1e2),_0x322d3f(0x21b)],_0x26cb66=typeof Blob<'u';return _0x26cb66&&_0x540b64[_0x322d3f(0x332)](_0x322d3f(0x267)),ge={'BINARY_TYPES':_0x540b64,'EMPTY_BUFFER':Buffer[_0x322d3f(0x364)](0x0),'GUID':_0x322d3f(0x1ec),'hasBlob':_0x26cb66,'kForOnEventAttribute':Symbol(_0x322d3f(0x20a)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x322d3f(0x2d1)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x1875f0(0x1e5)](Object[_0x1875f0(0x37b)]({'__proto__':null,'default':Nt},Symbol[_0x1875f0(0x276)],{'value':_0x1875f0(0x346)})),Lt=at(kt);var Ve;function ce(){const _0x12be15=_0x1875f0;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x2ff023}=H(),_0x4f31d1=Buffer[Symbol['species']];function _0x18edd1(_0x1160b8,_0x4ac745){const _0xc5862f=_0x40ff;if(_0x1160b8[_0xc5862f(0x36f)]===0x0)return _0x2ff023;if(_0x1160b8[_0xc5862f(0x36f)]===0x1)return _0x1160b8[0x0];const _0x5c3726=Buffer[_0xc5862f(0x1ea)](_0x4ac745);let _0x13ca22=0x0;for(let _0x24edbc=0x0;_0x24edbc<_0x1160b8[_0xc5862f(0x36f)];_0x24edbc++){const _0xdf11f=_0x1160b8[_0x24edbc];_0x5c3726[_0xc5862f(0x351)](_0xdf11f,_0x13ca22),_0x13ca22+=_0xdf11f[_0xc5862f(0x36f)];}return _0x13ca22<_0x4ac745?new _0x4f31d1(_0x5c3726['buffer'],_0x5c3726[_0xc5862f(0x269)],_0x13ca22):_0x5c3726;}function _0x4ca316(_0xa4dc60,_0x297c81,_0x40cde8,_0x58db57,_0x17953e){for(let _0x61a269=0x0;_0x61a269<_0x17953e;_0x61a269++)_0x40cde8[_0x58db57+_0x61a269]=_0xa4dc60[_0x61a269]^_0x297c81[_0x61a269&0x3];}function _0x79666(_0x2442b2,_0x20a6b7){const _0x1a5487=_0x40ff;for(let _0xd5a0c9=0x0;_0xd5a0c9<_0x2442b2[_0x1a5487(0x36f)];_0xd5a0c9++)_0x2442b2[_0xd5a0c9]^=_0x20a6b7[_0xd5a0c9&0x3];}function _0x211e78(_0x2b24f9){const _0x1c8ae6=_0x40ff;return _0x2b24f9[_0x1c8ae6(0x36f)]===_0x2b24f9[_0x1c8ae6(0x224)]['byteLength']?_0x2b24f9[_0x1c8ae6(0x224)]:_0x2b24f9[_0x1c8ae6(0x224)][_0x1c8ae6(0x2aa)](_0x2b24f9[_0x1c8ae6(0x269)],_0x2b24f9[_0x1c8ae6(0x269)]+_0x2b24f9[_0x1c8ae6(0x36f)]);}function _0xd0854a(_0xeef849){const _0x3b9e82=_0x40ff;if(_0xd0854a[_0x3b9e82(0x36b)]=!0x0,Buffer[_0x3b9e82(0x1bf)](_0xeef849))return _0xeef849;let _0x4fc8e4;return _0xeef849 instanceof ArrayBuffer?_0x4fc8e4=new _0x4f31d1(_0xeef849):ArrayBuffer[_0x3b9e82(0x2fc)](_0xeef849)?_0x4fc8e4=new _0x4f31d1(_0xeef849[_0x3b9e82(0x224)],_0xeef849[_0x3b9e82(0x269)],_0xeef849[_0x3b9e82(0x24b)]):(_0x4fc8e4=Buffer[_0x3b9e82(0x1e3)](_0xeef849),_0xd0854a['readOnly']=!0x1),_0x4fc8e4;}if(se['exports']={'concat':_0x18edd1,'mask':_0x4ca316,'toArrayBuffer':_0x211e78,'toBuffer':_0xd0854a,'unmask':_0x79666},!process['env'][_0x12be15(0x2f8)])try{const _0x34e116=Lt;se[_0x12be15(0x1d2)][_0x12be15(0x35c)]=function(_0x429203,_0x2639f1,_0x4af305,_0x52d458,_0x341ba7){const _0x2b34a6=_0x12be15;_0x341ba7<0x30?_0x4ca316(_0x429203,_0x2639f1,_0x4af305,_0x52d458,_0x341ba7):_0x34e116[_0x2b34a6(0x35c)](_0x429203,_0x2639f1,_0x4af305,_0x52d458,_0x341ba7);},se[_0x12be15(0x1d2)]['unmask']=function(_0x319011,_0x54baa0){const _0x16ba2e=_0x12be15;_0x319011[_0x16ba2e(0x36f)]<0x20?_0x79666(_0x319011,_0x54baa0):_0x34e116[_0x16ba2e(0x354)](_0x319011,_0x54baa0);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x46cf31=_0x1875f0;if(He)return ye;He=0x1;const _0x3cef2e=Symbol('kDone'),_0x4ee2c0=Symbol(_0x46cf31(0x1dd));class _0x130dfa{constructor(_0x2678ed){const _0x3c706a=_0x46cf31;this[_0x3cef2e]=()=>{this['pending']--,this[_0x4ee2c0]();},this[_0x3c706a(0x2c3)]=_0x2678ed||0x1/0x0,this[_0x3c706a(0x37a)]=[],this['pending']=0x0;}['add'](_0xdb2cd2){const _0x1a524e=_0x46cf31;this[_0x1a524e(0x37a)][_0x1a524e(0x332)](_0xdb2cd2),this[_0x4ee2c0]();}[_0x4ee2c0](){const _0x49e042=_0x46cf31;if(this[_0x49e042(0x1dc)]!==this[_0x49e042(0x2c3)]&&this[_0x49e042(0x37a)][_0x49e042(0x36f)]){const _0x346f36=this[_0x49e042(0x37a)]['shift']();this['pending']++,_0x346f36(this[_0x3cef2e]);}}}return ye=_0x130dfa,ye;}var ve,ze;function he(){const _0x1632f9=_0x1875f0;if(ze)return ve;ze=0x1;const _0x5ab2ff=bt,_0x5c5f14=ce(),_0xc50b14=Pt(),{kStatusCode:_0x449c97}=H(),_0x3ec412=Buffer[Symbol[_0x1632f9(0x338)]],_0x4f150f=Buffer[_0x1632f9(0x1e3)]([0x0,0x0,0xff,0xff]),_0xbf3c08=Symbol(_0x1632f9(0x2a7)),_0x1de2e3=Symbol(_0x1632f9(0x278)),_0x5e5045=Symbol('callback'),_0x4ed545=Symbol(_0x1632f9(0x2d3)),_0x2243dd=Symbol(_0x1632f9(0x1df));let _0x2a7f30;class _0x5c1c9d{constructor(_0x53b9d5,_0x1fadf8,_0x52e029){const _0x5384c6=_0x1632f9;if(this[_0x5384c6(0x2bb)]=_0x52e029|0x0,this[_0x5384c6(0x349)]=_0x53b9d5||{},this[_0x5384c6(0x2b4)]=this[_0x5384c6(0x349)][_0x5384c6(0x316)]!==void 0x0?this[_0x5384c6(0x349)][_0x5384c6(0x316)]:0x400,this['_isServer']=!!_0x1fadf8,this[_0x5384c6(0x21d)]=null,this[_0x5384c6(0x2a3)]=null,this[_0x5384c6(0x372)]=null,!_0x2a7f30){const _0xf3ee98=this[_0x5384c6(0x349)]['concurrencyLimit']!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x2a7f30=new _0xc50b14(_0xf3ee98);}}static get['extensionName'](){const _0x7978c6=_0x1632f9;return _0x7978c6(0x2a7);}[_0x1632f9(0x287)](){const _0x3ff03f=_0x1632f9,_0x1c7306={};return this[_0x3ff03f(0x349)]['serverNoContextTakeover']&&(_0x1c7306[_0x3ff03f(0x2e4)]=!0x0),this['_options'][_0x3ff03f(0x27b)]&&(_0x1c7306[_0x3ff03f(0x2be)]=!0x0),this[_0x3ff03f(0x349)][_0x3ff03f(0x1fe)]&&(_0x1c7306[_0x3ff03f(0x2ed)]=this['_options'][_0x3ff03f(0x1fe)]),this[_0x3ff03f(0x349)][_0x3ff03f(0x32c)]?_0x1c7306[_0x3ff03f(0x306)]=this[_0x3ff03f(0x349)][_0x3ff03f(0x32c)]:this[_0x3ff03f(0x349)][_0x3ff03f(0x32c)]==null&&(_0x1c7306[_0x3ff03f(0x306)]=!0x0),_0x1c7306;}[_0x1632f9(0x340)](_0xcc0c2b){const _0x57b374=_0x1632f9;return _0xcc0c2b=this['normalizeParams'](_0xcc0c2b),this[_0x57b374(0x372)]=this[_0x57b374(0x30b)]?this[_0x57b374(0x307)](_0xcc0c2b):this[_0x57b374(0x32d)](_0xcc0c2b),this[_0x57b374(0x372)];}[_0x1632f9(0x2a6)](){const _0x496248=_0x1632f9;if(this['_inflate']&&(this['_inflate']['close'](),this['_inflate']=null),this[_0x496248(0x21d)]){const _0x5d91b3=this[_0x496248(0x21d)][_0x5e5045];this[_0x496248(0x21d)]['close'](),this['_deflate']=null,_0x5d91b3&&_0x5d91b3(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x1632f9(0x307)](_0x45a9bc){const _0x1425b4=_0x1632f9,_0xd0188e=this[_0x1425b4(0x349)],_0x487f94=_0x45a9bc[_0x1425b4(0x1db)](_0xc255fe=>!(_0xd0188e[_0x1425b4(0x264)]===!0x1&&_0xc255fe[_0x1425b4(0x2e4)]||_0xc255fe[_0x1425b4(0x2ed)]&&(_0xd0188e[_0x1425b4(0x1fe)]===!0x1||typeof _0xd0188e[_0x1425b4(0x1fe)]==_0x1425b4(0x275)&&_0xd0188e['serverMaxWindowBits']>_0xc255fe[_0x1425b4(0x2ed)])||typeof _0xd0188e[_0x1425b4(0x32c)]=='number'&&!_0xc255fe[_0x1425b4(0x306)]));if(!_0x487f94)throw new Error(_0x1425b4(0x221));return _0xd0188e['serverNoContextTakeover']&&(_0x487f94[_0x1425b4(0x2e4)]=!0x0),_0xd0188e[_0x1425b4(0x27b)]&&(_0x487f94[_0x1425b4(0x2be)]=!0x0),typeof _0xd0188e[_0x1425b4(0x1fe)]=='number'&&(_0x487f94[_0x1425b4(0x2ed)]=_0xd0188e[_0x1425b4(0x1fe)]),typeof _0xd0188e['clientMaxWindowBits']==_0x1425b4(0x275)?_0x487f94['client_max_window_bits']=_0xd0188e[_0x1425b4(0x32c)]:(_0x487f94[_0x1425b4(0x306)]===!0x0||_0xd0188e[_0x1425b4(0x32c)]===!0x1)&&delete _0x487f94['client_max_window_bits'],_0x487f94;}[_0x1632f9(0x32d)](_0x8bcecb){const _0x18d10a=_0x1632f9,_0x4e62ea=_0x8bcecb[0x0];if(this[_0x18d10a(0x349)][_0x18d10a(0x27b)]===!0x1&&_0x4e62ea['client_no_context_takeover'])throw new Error(_0x18d10a(0x369));if(!_0x4e62ea[_0x18d10a(0x306)])typeof this[_0x18d10a(0x349)][_0x18d10a(0x32c)]==_0x18d10a(0x275)&&(_0x4e62ea[_0x18d10a(0x306)]=this[_0x18d10a(0x349)][_0x18d10a(0x32c)]);else{if(this[_0x18d10a(0x349)][_0x18d10a(0x32c)]===!0x1||typeof this[_0x18d10a(0x349)][_0x18d10a(0x32c)]==_0x18d10a(0x275)&&_0x4e62ea[_0x18d10a(0x306)]>this[_0x18d10a(0x349)][_0x18d10a(0x32c)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x4e62ea;}['normalizeParams'](_0x59fa63){const _0x2e2fa4=_0x1632f9;return _0x59fa63[_0x2e2fa4(0x367)](_0x44e7b5=>{const _0x5a5f27=_0x2e2fa4;Object[_0x5a5f27(0x247)](_0x44e7b5)[_0x5a5f27(0x367)](_0x4c9e40=>{const _0x2d2648=_0x5a5f27;let _0x49ba5d=_0x44e7b5[_0x4c9e40];if(_0x49ba5d[_0x2d2648(0x36f)]>0x1)throw new Error(_0x2d2648(0x229)+_0x4c9e40+_0x2d2648(0x2e3));if(_0x49ba5d=_0x49ba5d[0x0],_0x4c9e40===_0x2d2648(0x306)){if(_0x49ba5d!==!0x0){const _0x5a24a3=+_0x49ba5d;if(!Number[_0x2d2648(0x253)](_0x5a24a3)||_0x5a24a3<0x8||_0x5a24a3>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4c9e40+_0x2d2648(0x30e)+_0x49ba5d);_0x49ba5d=_0x5a24a3;}else{if(!this['_isServer'])throw new TypeError(_0x2d2648(0x1c1)+_0x4c9e40+_0x2d2648(0x30e)+_0x49ba5d);}}else{if(_0x4c9e40==='server_max_window_bits'){const _0x58e06a=+_0x49ba5d;if(!Number['isInteger'](_0x58e06a)||_0x58e06a<0x8||_0x58e06a>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4c9e40+_0x2d2648(0x30e)+_0x49ba5d);_0x49ba5d=_0x58e06a;}else{if(_0x4c9e40===_0x2d2648(0x2be)||_0x4c9e40===_0x2d2648(0x2e4)){if(_0x49ba5d!==!0x0)throw new TypeError(_0x2d2648(0x1c1)+_0x4c9e40+_0x2d2648(0x30e)+_0x49ba5d);}else throw new Error(_0x2d2648(0x23d)+_0x4c9e40+'\x22');}}_0x44e7b5[_0x4c9e40]=_0x49ba5d;});}),_0x59fa63;}[_0x1632f9(0x2f9)](_0x5a9b7b,_0x496b7e,_0x32066b){const _0x365e56=_0x1632f9;_0x2a7f30[_0x365e56(0x297)](_0x791d4f=>{const _0x2ea89e=_0x365e56;this[_0x2ea89e(0x374)](_0x5a9b7b,_0x496b7e,(_0x127c37,_0x239beb)=>{_0x791d4f(),_0x32066b(_0x127c37,_0x239beb);});});}[_0x1632f9(0x22a)](_0x1bf01f,_0x4dd9c1,_0x930da7){const _0x537631=_0x1632f9;_0x2a7f30[_0x537631(0x297)](_0x1a403a=>{const _0x5e5f92=_0x537631;this[_0x5e5f92(0x24e)](_0x1bf01f,_0x4dd9c1,(_0x15ee7f,_0x232ec6)=>{_0x1a403a(),_0x930da7(_0x15ee7f,_0x232ec6);});});}[_0x1632f9(0x374)](_0x518299,_0x56ed13,_0x43cb2c){const _0x350a2c=_0x1632f9,_0x345d0d=this[_0x350a2c(0x30b)]?'client':'server';if(!this[_0x350a2c(0x2a3)]){const _0x5985f8=_0x345d0d+_0x350a2c(0x1f2),_0x529cc5=typeof this[_0x350a2c(0x372)][_0x5985f8]!=_0x350a2c(0x275)?_0x5ab2ff[_0x350a2c(0x301)]:this[_0x350a2c(0x372)][_0x5985f8];this[_0x350a2c(0x2a3)]=_0x5ab2ff[_0x350a2c(0x21c)]({...this[_0x350a2c(0x349)][_0x350a2c(0x2d9)],'windowBits':_0x529cc5}),this[_0x350a2c(0x2a3)][_0xbf3c08]=this,this[_0x350a2c(0x2a3)][_0x1de2e3]=0x0,this['_inflate'][_0x4ed545]=[],this[_0x350a2c(0x2a3)]['on'](_0x350a2c(0x1df),_0x375a18),this[_0x350a2c(0x2a3)]['on']('data',_0x1abec1);}this[_0x350a2c(0x2a3)][_0x5e5045]=_0x43cb2c,this[_0x350a2c(0x2a3)]['write'](_0x518299),_0x56ed13&&this[_0x350a2c(0x2a3)][_0x350a2c(0x296)](_0x4f150f),this[_0x350a2c(0x2a3)][_0x350a2c(0x329)](()=>{const _0x296c37=_0x350a2c,_0x205942=this[_0x296c37(0x2a3)][_0x2243dd];if(_0x205942){this[_0x296c37(0x2a3)][_0x296c37(0x250)](),this['_inflate']=null,_0x43cb2c(_0x205942);return;}const _0x22c9df=_0x5c5f14['concat'](this[_0x296c37(0x2a3)][_0x4ed545],this['_inflate'][_0x1de2e3]);this[_0x296c37(0x2a3)][_0x296c37(0x371)][_0x296c37(0x1da)]?(this[_0x296c37(0x2a3)][_0x296c37(0x250)](),this[_0x296c37(0x2a3)]=null):(this['_inflate'][_0x1de2e3]=0x0,this[_0x296c37(0x2a3)][_0x4ed545]=[],_0x56ed13&&this[_0x296c37(0x372)][_0x345d0d+'_no_context_takeover']&&this[_0x296c37(0x2a3)][_0x296c37(0x331)]()),_0x43cb2c(null,_0x22c9df);});}[_0x1632f9(0x24e)](_0x1d70a4,_0x40794c,_0x2737ce){const _0x51baaf=_0x1632f9,_0x615a4a=this['_isServer']?_0x51baaf(0x348):'client';if(!this['_deflate']){const _0xb739c=_0x615a4a+_0x51baaf(0x1f2),_0x3079dc=typeof this[_0x51baaf(0x372)][_0xb739c]!=_0x51baaf(0x275)?_0x5ab2ff[_0x51baaf(0x301)]:this[_0x51baaf(0x372)][_0xb739c];this[_0x51baaf(0x21d)]=_0x5ab2ff['createDeflateRaw']({...this[_0x51baaf(0x349)]['zlibDeflateOptions'],'windowBits':_0x3079dc}),this[_0x51baaf(0x21d)][_0x1de2e3]=0x0,this[_0x51baaf(0x21d)][_0x4ed545]=[],this['_deflate']['on'](_0x51baaf(0x34e),_0x314494);}this['_deflate'][_0x5e5045]=_0x2737ce,this[_0x51baaf(0x21d)][_0x51baaf(0x296)](_0x1d70a4),this[_0x51baaf(0x21d)][_0x51baaf(0x329)](_0x5ab2ff['Z_SYNC_FLUSH'],()=>{const _0x487299=_0x51baaf;if(!this[_0x487299(0x21d)])return;let _0x6576b4=_0x5c5f14[_0x487299(0x334)](this[_0x487299(0x21d)][_0x4ed545],this[_0x487299(0x21d)][_0x1de2e3]);_0x40794c&&(_0x6576b4=new _0x3ec412(_0x6576b4['buffer'],_0x6576b4[_0x487299(0x269)],_0x6576b4[_0x487299(0x36f)]-0x4)),this[_0x487299(0x21d)][_0x5e5045]=null,this[_0x487299(0x21d)][_0x1de2e3]=0x0,this[_0x487299(0x21d)][_0x4ed545]=[],_0x40794c&&this['params'][_0x615a4a+_0x487299(0x272)]&&this[_0x487299(0x21d)][_0x487299(0x331)](),_0x2737ce(null,_0x6576b4);});}}ve=_0x5c1c9d;function _0x314494(_0x3ab9df){const _0x5a2574=_0x1632f9;this[_0x4ed545][_0x5a2574(0x332)](_0x3ab9df),this[_0x1de2e3]+=_0x3ab9df[_0x5a2574(0x36f)];}function _0x1abec1(_0x11bf7c){const _0xe616a0=_0x1632f9;if(this[_0x1de2e3]+=_0x11bf7c[_0xe616a0(0x36f)],this[_0xbf3c08][_0xe616a0(0x2bb)]<0x1||this[_0x1de2e3]<=this[_0xbf3c08][_0xe616a0(0x2bb)]){this[_0x4ed545]['push'](_0x11bf7c);return;}this[_0x2243dd]=new RangeError(_0xe616a0(0x2c7)),this[_0x2243dd][_0xe616a0(0x24a)]=_0xe616a0(0x1cb),this[_0x2243dd][_0x449c97]=0x3f1,this[_0xe616a0(0x30f)](_0xe616a0(0x34e),_0x1abec1),this[_0xe616a0(0x331)]();}function _0x375a18(_0x54ff0d){const _0x45afdb=_0x1632f9;if(this[_0xbf3c08][_0x45afdb(0x2a3)]=null,this[_0x2243dd]){this[_0x5e5045](this[_0x2243dd]);return;}_0x54ff0d[_0x449c97]=0x3ef,this[_0x5e5045](_0x54ff0d);}return ve;}function _0xafdf(){const _0x3d69eb=['MASK\x20must\x20be\x20clear','_socket','fin','Unexpected\x20end\x20of\x20input','IConfigService','opcode','_binaryType','kReason','\x22\x20must\x20have\x20only\x20a\x20single\x20value','server_no_context_takeover','_errorEmitted','sec-websocket-accept','invalid\x20opcode\x200','Origin','timeout','setSocket','__esModule','Invalid\x20URL:\x20','server_max_window_bits','bufferedAmount','origin','Connection:\x20Upgrade','toDisposable','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_protocol','_opcode','destroy','_fragments','Invalid\x20Sec-WebSocket-Accept\x20header','WS_NO_BUFFER_UTIL','decompress','_messageLength','protocolVersion','isView','GET','_shouldEmitClose','WS_ERR_EXPECTED_MASK','completeUpgrade','Z_DEFAULT_WINDOWBITS','create','Server\x20sent\x20no\x20subprotocol','open','constructor','client_max_window_bits','acceptAsServer','_url','address','_destroy','_isServer','shift','NodeCollaborationSocketService','\x22:\x20','removeListener','Invalid\x20Upgrade\x20header','customHeaders','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','nextTick','CONNECTING','handleEvent','threshold','writable','_receiver','share','map','8rHzPii','consume','_removeListeners','onmessage','_closeFrameSent','_skipUTF8Validation','url','hostname','kError','format','connection','kTarget','noServer','Opening\x20handshake\x20has\x20timed\x20out','flush','port','construct','clientMaxWindowBits','acceptAsClient','The\x20\x22','call','_req','reset','push','authorization','concat','WS_ERR_UNEXPECTED_RSV_1','join','host','species','listening','dispose','RSV1\x20must\x20be\x20clear','toString','_state','The\x20URL\x27s\x20pathname\x20is\x20empty','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','accept','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','isServer','uncork','76207bSdXwE','sec-websocket-version','Module','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','server','_options','text/plain','dequeue','_originalSecure','1560565zTvtHj','data','autoPong','wss:','set','headers','_autoPong','unmask','writeUInt16BE','getConfig','collaboration-client-node.config','nodebuffer','dispatch','sendFrame','_closeMessage','mask','has','controlMessage','_injector','\x20(supported\x20versions:\x20','getBlobData','pow','Plugin','alloc','Cookie','default','forEach','_closeTimer','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_firstFragment','readOnly','STATUS_CODES','getOwnPropertyDescriptor','socket','length','_totalPayloadLength','_readableState','params','HTTP/1.1\x20101\x20Switching\x20Protocols','_decompress','kByteLength','enqueue','followRedirects','username','test','jobs','defineProperty','HTTP/1.1\x20','isBuffer','maskBuffer','Invalid\x20value\x20for\x20parameter\x20\x22','_originalIpc','pause','env','onStarting','writeHead','backlog','createSocket','next','2983542LTnegM','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','getPayloadLength16','drain','Injector','replace','encrypted','value','exports','parse','apply','message','createServer','socketPath','kCode','redirect','endEmitted','find','pending','kRun','_masked','error','WS_ERR_INVALID_UTF8','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','arraybuffer','from','binary','freeze','function','ISnapshotServerService','bind','isValidUTF8','allocUnsafe','ILogService','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','abort','_mask','6018194rnjHMm','_compressed','_max_window_bits','The\x20URL\x20contains\x20a\x20fragment\x20identifier','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','entries','_allowSynchronousEvents','DependentOn','finishRequest','binaryType','_originalHostOrSocketPath','finish','WebSocket','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','serverMaxWindowBits','extensions','setConfig','size','_closeFrameReceived','_queue','ping','delete','UniverCollaborationClientNodePlugin','WS_ERR_EXPECTED_FIN','toLowerCase','1546238MtfvLV','kIsForOnEventAttribute','Inject','invalid\x20UTF-8\x20sequence','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_read','WS_ERR_UNEXPECTED_MASK','_bufferedAmount','_configService','_generateMask','prototype','\x22\x20subprotocol\x20is\x20duplicated','maxPayload','WS_ERR_INVALID_CLOSE_CODE','dataMessage','readUInt16BE','sec-websocket-key','DisposableCollection','fragments','createInflateRaw','_deflate','update','terminate','_writableState','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_final','values','buffer','getPayloadLength64','upgrade','skipUTF8Validation','createError','Parameter\x20\x22','compress','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_fragmented','once','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','base64','WS_NO_UTF_8_VALIDATE','websocket','needDrain','hash','defaultPort','_loop','wasClean','CLOSING','string','CollaborationSocketService','HTTPService','isPaused','_bufferedBytes','Unknown\x20parameter\x20\x22','verifyClient','type','kAborted','hasOwnProperty','MASK\x20must\x20be\x20set','18dJGCLL','CLOSED','Sec-WebSocket-Accept:\x20','haveLength','keys','target','getMask','code','byteLength','password','errorEmitted','_compress','listen','close','pluginName','createConnection','isInteger','emit','ISocketService','handleUpgrade','_paused','_server','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','pipe','_maskBuffer','startLoop','Basic\x20','invalid\x20opcode\x20','method','Unexpected\x20character\x20at\x20index\x20','destroyed','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','listeners','serverNoContextTakeover','clients','send','blob','_sender','byteOffset','removeAllListeners','frame','read','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','unexpected-response','ws:','end','statusCode','_no_context_takeover','addEventListener','handleProtocols','number','toStringTag','File','total-length','objectMode','removeEventListener','clientNoContextTakeover','href','_closeCode','handshakeTimeout','onclose','http:','setNoDelay','readyState','perMessageDeflate','sha1','pathname','_errored','offer','arrayBuffer','Sec-WebSocket-Extensions','servername','response','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_redirects','isIP','path','authorized','object','resume','\x0d\x0a\x0d\x0a','_write','_registerDependencies','write','add','allowSynchronousEvents','onerror','connect','Disposable','Upgrade','charCodeAt','options','isArray','Blob','extensionName','sec-websocket-extensions','_inflate','wsClientError','protocol','cleanup','permessage-deflate','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','rsv1','slice','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','13,\x208','readUInt32BE','split','includes','setTimeout','sec-websocket-origin','request','Observable','_threshold','_fin','_extensions','shouldHandle','OPEN','auth','cookie','_maxPayload','917781PvPiCU','emitClose','client_no_context_takeover','registerHTTPInterceptor','Invalid\x20Sec-WebSocket-Extensions\x20header','_payloadLength','getInfo','concurrency','onopen','indexOf','_httpService','Max\x20payload\x20size\x20exceeded','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_readyState','maxRedirects','sec-websocket-protocol','pong','getData','generateMask','_buffers','Sec-WebSocket-Extensions:\x20','status-code','invalid\x20status\x20code\x20','buffers','Invalid\x20HTTP\x20method','listenerCount','Sec-WebSocket-Protocol:\x20','4986808QrGvKy','reason','zlibInflateOptions','finished'];_0xafdf=function(){return _0x3d69eb;};return _0xafdf();}var ie={'exports':{}};const Dt={},Rt=Object[_0x1875f0(0x1e5)](Object[_0x1875f0(0x37b)]({'__proto__':null,'default':Dt},Symbol[_0x1875f0(0x276)],{'value':_0x1875f0(0x346)})),Bt=at(Rt);var Ye;function ae(){const _0x2c66ac=_0x1875f0;if(Ye)return ie[_0x2c66ac(0x1d2)];Ye=0x1;const {isUtf8:_0x566e9d}=wt,{hasBlob:_0x246b80}=H(),_0x11ab3d=[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 _0x3344e5(_0x192d60){return _0x192d60>=0x3e8&&_0x192d60<=0x3f6&&_0x192d60!==0x3ec&&_0x192d60!==0x3ed&&_0x192d60!==0x3ee||_0x192d60>=0xbb8&&_0x192d60<=0x1387;}function _0x46a671(_0x9c5a33){const _0xd928d6=_0x2c66ac,_0x1d0bdb=_0x9c5a33[_0xd928d6(0x36f)];let _0x55bf58=0x0;for(;_0x55bf58<_0x1d0bdb;)if((_0x9c5a33[_0x55bf58]&0x80)===0x0)_0x55bf58++;else{if((_0x9c5a33[_0x55bf58]&0xe0)===0xc0){if(_0x55bf58+0x1===_0x1d0bdb||(_0x9c5a33[_0x55bf58+0x1]&0xc0)!==0x80||(_0x9c5a33[_0x55bf58]&0xfe)===0xc0)return!0x1;_0x55bf58+=0x2;}else{if((_0x9c5a33[_0x55bf58]&0xf0)===0xe0){if(_0x55bf58+0x2>=_0x1d0bdb||(_0x9c5a33[_0x55bf58+0x1]&0xc0)!==0x80||(_0x9c5a33[_0x55bf58+0x2]&0xc0)!==0x80||_0x9c5a33[_0x55bf58]===0xe0&&(_0x9c5a33[_0x55bf58+0x1]&0xe0)===0x80||_0x9c5a33[_0x55bf58]===0xed&&(_0x9c5a33[_0x55bf58+0x1]&0xe0)===0xa0)return!0x1;_0x55bf58+=0x3;}else{if((_0x9c5a33[_0x55bf58]&0xf8)===0xf0){if(_0x55bf58+0x3>=_0x1d0bdb||(_0x9c5a33[_0x55bf58+0x1]&0xc0)!==0x80||(_0x9c5a33[_0x55bf58+0x2]&0xc0)!==0x80||(_0x9c5a33[_0x55bf58+0x3]&0xc0)!==0x80||_0x9c5a33[_0x55bf58]===0xf0&&(_0x9c5a33[_0x55bf58+0x1]&0xf0)===0x80||_0x9c5a33[_0x55bf58]===0xf4&&_0x9c5a33[_0x55bf58+0x1]>0x8f||_0x9c5a33[_0x55bf58]>0xf4)return!0x1;_0x55bf58+=0x4;}else return!0x1;}}}return!0x0;}function _0x172d46(_0x450fdf){const _0x30fcd0=_0x2c66ac;return _0x246b80&&typeof _0x450fdf==_0x30fcd0(0x291)&&typeof _0x450fdf[_0x30fcd0(0x288)]==_0x30fcd0(0x1e6)&&typeof _0x450fdf[_0x30fcd0(0x23f)]==_0x30fcd0(0x238)&&typeof _0x450fdf['stream']==_0x30fcd0(0x1e6)&&(_0x450fdf[Symbol[_0x30fcd0(0x276)]]===_0x30fcd0(0x2a0)||_0x450fdf[Symbol[_0x30fcd0(0x276)]]===_0x30fcd0(0x277));}if(ie[_0x2c66ac(0x1d2)]={'isBlob':_0x172d46,'isValidStatusCode':_0x3344e5,'isValidUTF8':_0x46a671,'tokenChars':_0x11ab3d},_0x566e9d)ie[_0x2c66ac(0x1d2)][_0x2c66ac(0x1e9)]=function(_0x2ec301){const _0x44f853=_0x2c66ac;return _0x2ec301[_0x44f853(0x36f)]<0x18?_0x46a671(_0x2ec301):_0x566e9d(_0x2ec301);};else{if(!process[_0x2c66ac(0x1c4)][_0x2c66ac(0x230)])try{const _0x52c44a=Bt;ie[_0x2c66ac(0x1d2)][_0x2c66ac(0x1e9)]=function(_0x580ace){const _0x5a2997=_0x2c66ac;return _0x580ace[_0x5a2997(0x36f)]<0x20?_0x46a671(_0x580ace):_0x52c44a(_0x580ace);};}catch{}}return ie[_0x2c66ac(0x1d2)];}var Se,Ke;function lt(){const _0x1b9fb5=_0x1875f0;if(Ke)return Se;Ke=0x1;const {Writable:_0xd569d0}=oe,_0x3d5e3d=he(),{BINARY_TYPES:_0x28fdb1,EMPTY_BUFFER:_0x983e59,kStatusCode:_0x224f27,kWebSocket:_0x1d7d30}=H(),{concat:_0x4462bd,toArrayBuffer:_0x50fd71,unmask:_0x2be766}=ce(),{isValidStatusCode:_0x5527f1,isValidUTF8:_0x3b4ca3}=ae(),_0x362df7=Buffer[Symbol['species']],_0x3f4dbd=0x0,_0x562cd6=0x1,_0x28f9a6=0x2,_0x4adfe7=0x3,_0x48d914=0x4,_0x35e329=0x5,_0x1958d0=0x6;class _0x52864c extends _0xd569d0{constructor(_0x3abc33={}){const _0x3b0af5=_0x40ff;super(),this[_0x3b0af5(0x1f6)]=_0x3abc33[_0x3b0af5(0x298)]!==void 0x0?_0x3abc33[_0x3b0af5(0x298)]:!0x0,this[_0x3b0af5(0x2e1)]=_0x3abc33[_0x3b0af5(0x1f9)]||_0x28fdb1[0x0],this[_0x3b0af5(0x2b6)]=_0x3abc33[_0x3b0af5(0x1ff)]||{},this[_0x3b0af5(0x30b)]=!!_0x3abc33[_0x3b0af5(0x342)],this[_0x3b0af5(0x2bb)]=_0x3abc33[_0x3b0af5(0x215)]|0x0,this[_0x3b0af5(0x320)]=!!_0x3abc33[_0x3b0af5(0x227)],this[_0x1d7d30]=void 0x0,this[_0x3b0af5(0x23c)]=0x0,this[_0x3b0af5(0x2cf)]=[],this[_0x3b0af5(0x1f1)]=!0x1,this[_0x3b0af5(0x2c1)]=0x0,this[_0x3b0af5(0x1ef)]=void 0x0,this[_0x3b0af5(0x22c)]=0x0,this[_0x3b0af5(0x1de)]=!0x1,this[_0x3b0af5(0x2b5)]=!0x1,this[_0x3b0af5(0x2f4)]=0x0,this[_0x3b0af5(0x370)]=0x0,this['_messageLength']=0x0,this[_0x3b0af5(0x2f6)]=[],this[_0x3b0af5(0x286)]=!0x1,this[_0x3b0af5(0x235)]=!0x1,this[_0x3b0af5(0x33d)]=_0x3f4dbd;}[_0x1b9fb5(0x294)](_0x4b069f,_0x3951ca,_0xa10031){const _0x4de359=_0x1b9fb5;if(this['_opcode']===0x8&&this[_0x4de359(0x33d)]==_0x3f4dbd)return _0xa10031();this['_bufferedBytes']+=_0x4b069f[_0x4de359(0x36f)],this[_0x4de359(0x2cf)][_0x4de359(0x332)](_0x4b069f),this[_0x4de359(0x25c)](_0xa10031);}[_0x1b9fb5(0x31c)](_0x584716){const _0x13b65d=_0x1b9fb5;if(this['_bufferedBytes']-=_0x584716,_0x584716===this[_0x13b65d(0x2cf)][0x0]['length'])return this['_buffers'][_0x13b65d(0x30c)]();if(_0x584716<this[_0x13b65d(0x2cf)][0x0][_0x13b65d(0x36f)]){const _0x26854d=this[_0x13b65d(0x2cf)][0x0];return this['_buffers'][0x0]=new _0x362df7(_0x26854d['buffer'],_0x26854d[_0x13b65d(0x269)]+_0x584716,_0x26854d[_0x13b65d(0x36f)]-_0x584716),new _0x362df7(_0x26854d[_0x13b65d(0x224)],_0x26854d['byteOffset'],_0x584716);}const _0x5d5f37=Buffer[_0x13b65d(0x1ea)](_0x584716);do{const _0x200c3d=this[_0x13b65d(0x2cf)][0x0],_0x31880d=_0x5d5f37[_0x13b65d(0x36f)]-_0x584716;_0x584716>=_0x200c3d[_0x13b65d(0x36f)]?_0x5d5f37[_0x13b65d(0x351)](this[_0x13b65d(0x2cf)][_0x13b65d(0x30c)](),_0x31880d):(_0x5d5f37['set'](new Uint8Array(_0x200c3d[_0x13b65d(0x224)],_0x200c3d['byteOffset'],_0x584716),_0x31880d),this['_buffers'][0x0]=new _0x362df7(_0x200c3d['buffer'],_0x200c3d[_0x13b65d(0x269)]+_0x584716,_0x200c3d[_0x13b65d(0x36f)]-_0x584716)),_0x584716-=_0x200c3d['length'];}while(_0x584716>0x0);return _0x5d5f37;}[_0x1b9fb5(0x25c)](_0x54ef46){const _0x1d6d84=_0x1b9fb5;this[_0x1d6d84(0x235)]=!0x0;do switch(this[_0x1d6d84(0x33d)]){case _0x3f4dbd:this[_0x1d6d84(0x2c2)](_0x54ef46);break;case _0x562cd6:this[_0x1d6d84(0x1cc)](_0x54ef46);break;case _0x28f9a6:this[_0x1d6d84(0x225)](_0x54ef46);break;case _0x4adfe7:this[_0x1d6d84(0x249)]();break;case _0x48d914:this['getData'](_0x54ef46);break;case _0x35e329:case _0x1958d0:this[_0x1d6d84(0x235)]=!0x1;return;}while(this[_0x1d6d84(0x235)]);this[_0x1d6d84(0x286)]||_0x54ef46();}['getInfo'](_0x4160b1){const _0x205b8c=_0x1b9fb5;if(this[_0x205b8c(0x23c)]<0x2){this[_0x205b8c(0x235)]=!0x1;return;}const _0xf54470=this['consume'](0x2);if((_0xf54470[0x0]&0x30)!==0x0){const _0x4b7b5a=this[_0x205b8c(0x228)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x4160b1(_0x4b7b5a);return;}const _0x2c3ebe=(_0xf54470[0x0]&0x40)===0x40;if(_0x2c3ebe&&!this['_extensions'][_0x3d5e3d[_0x205b8c(0x2a1)]]){const _0x100f1c=this[_0x205b8c(0x228)](RangeError,_0x205b8c(0x33b),!0x0,0x3ea,_0x205b8c(0x335));_0x4160b1(_0x100f1c);return;}if(this[_0x205b8c(0x2b5)]=(_0xf54470[0x0]&0x80)===0x80,this['_opcode']=_0xf54470[0x0]&0xf,this[_0x205b8c(0x2c1)]=_0xf54470[0x1]&0x7f,this['_opcode']===0x0){if(_0x2c3ebe){const _0x37409b=this[_0x205b8c(0x228)](RangeError,_0x205b8c(0x33b),!0x0,0x3ea,_0x205b8c(0x335));_0x4160b1(_0x37409b);return;}if(!this[_0x205b8c(0x22c)]){const _0x178288=this[_0x205b8c(0x228)](RangeError,_0x205b8c(0x2e7),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x4160b1(_0x178288);return;}this[_0x205b8c(0x2f4)]=this[_0x205b8c(0x22c)];}else{if(this[_0x205b8c(0x2f4)]===0x1||this[_0x205b8c(0x2f4)]===0x2){if(this[_0x205b8c(0x22c)]){const _0x478e70=this[_0x205b8c(0x228)](RangeError,_0x205b8c(0x25e)+this[_0x205b8c(0x2f4)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x4160b1(_0x478e70);return;}this[_0x205b8c(0x1f1)]=_0x2c3ebe;}else{if(this['_opcode']>0x7&&this[_0x205b8c(0x2f4)]<0xb){if(!this[_0x205b8c(0x2b5)]){const _0xa374ba=this[_0x205b8c(0x228)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x205b8c(0x207));_0x4160b1(_0xa374ba);return;}if(_0x2c3ebe){const _0x59f827=this['createError'](RangeError,_0x205b8c(0x33b),!0x0,0x3ea,_0x205b8c(0x335));_0x4160b1(_0x59f827);return;}if(this[_0x205b8c(0x2c1)]>0x7d||this[_0x205b8c(0x2f4)]===0x8&&this[_0x205b8c(0x2c1)]===0x1){const _0x683b82=this[_0x205b8c(0x228)](RangeError,'invalid\x20payload\x20length\x20'+this['_payloadLength'],!0x0,0x3ea,_0x205b8c(0x1f4));_0x4160b1(_0x683b82);return;}}else{const _0xb733e6=this[_0x205b8c(0x228)](RangeError,_0x205b8c(0x25e)+this[_0x205b8c(0x2f4)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x4160b1(_0xb733e6);return;}}}if(!this[_0x205b8c(0x2b5)]&&!this[_0x205b8c(0x22c)]&&(this[_0x205b8c(0x22c)]=this[_0x205b8c(0x2f4)]),this[_0x205b8c(0x1de)]=(_0xf54470[0x1]&0x80)===0x80,this[_0x205b8c(0x30b)]){if(!this[_0x205b8c(0x1de)]){const _0x561e07=this[_0x205b8c(0x228)](RangeError,_0x205b8c(0x242),!0x0,0x3ea,_0x205b8c(0x2ff));_0x4160b1(_0x561e07);return;}}else{if(this[_0x205b8c(0x1de)]){const _0x393ba4=this['createError'](RangeError,_0x205b8c(0x2db),!0x0,0x3ea,_0x205b8c(0x20f));_0x4160b1(_0x393ba4);return;}}this['_payloadLength']===0x7e?this[_0x205b8c(0x33d)]=_0x562cd6:this['_payloadLength']===0x7f?this[_0x205b8c(0x33d)]=_0x28f9a6:this[_0x205b8c(0x246)](_0x4160b1);}[_0x1b9fb5(0x1cc)](_0x57104e){const _0x11e696=_0x1b9fb5;if(this[_0x11e696(0x23c)]<0x2){this[_0x11e696(0x235)]=!0x1;return;}this['_payloadLength']=this[_0x11e696(0x31c)](0x2)['readUInt16BE'](0x0),this[_0x11e696(0x246)](_0x57104e);}[_0x1b9fb5(0x225)](_0x276df2){const _0x34d35b=_0x1b9fb5;if(this[_0x34d35b(0x23c)]<0x8){this[_0x34d35b(0x235)]=!0x1;return;}const _0xbb14a1=this[_0x34d35b(0x31c)](0x8),_0xac222=_0xbb14a1[_0x34d35b(0x2ad)](0x0);if(_0xac222>Math['pow'](0x2,0x15)-0x1){const _0x4b9641=this[_0x34d35b(0x228)](RangeError,_0x34d35b(0x1fd),!0x1,0x3f1,_0x34d35b(0x262));_0x276df2(_0x4b9641);return;}this[_0x34d35b(0x2c1)]=_0xac222*Math[_0x34d35b(0x362)](0x2,0x20)+_0xbb14a1[_0x34d35b(0x2ad)](0x4),this[_0x34d35b(0x246)](_0x276df2);}['haveLength'](_0x59ec96){const _0x17a0b2=_0x1b9fb5;if(this['_payloadLength']&&this[_0x17a0b2(0x2f4)]<0x8&&(this[_0x17a0b2(0x370)]+=this['_payloadLength'],this['_totalPayloadLength']>this[_0x17a0b2(0x2bb)]&&this[_0x17a0b2(0x2bb)]>0x0)){const _0xdc3f6b=this[_0x17a0b2(0x228)](RangeError,_0x17a0b2(0x2c7),!0x1,0x3f1,_0x17a0b2(0x1cb));_0x59ec96(_0xdc3f6b);return;}this['_masked']?this['_state']=_0x4adfe7:this['_state']=_0x48d914;}[_0x1b9fb5(0x249)](){const _0x16101a=_0x1b9fb5;if(this['_bufferedBytes']<0x4){this[_0x16101a(0x235)]=!0x1;return;}this[_0x16101a(0x1ef)]=this[_0x16101a(0x31c)](0x4),this[_0x16101a(0x33d)]=_0x48d914;}[_0x1b9fb5(0x2cd)](_0x5980f2){const _0x3ce8b3=_0x1b9fb5;let _0x247de6=_0x983e59;if(this[_0x3ce8b3(0x2c1)]){if(this[_0x3ce8b3(0x23c)]<this[_0x3ce8b3(0x2c1)]){this[_0x3ce8b3(0x235)]=!0x1;return;}_0x247de6=this[_0x3ce8b3(0x31c)](this[_0x3ce8b3(0x2c1)]),this[_0x3ce8b3(0x1de)]&&(this['_mask'][0x0]|this[_0x3ce8b3(0x1ef)][0x1]|this[_0x3ce8b3(0x1ef)][0x2]|this[_0x3ce8b3(0x1ef)][0x3])!==0x0&&_0x2be766(_0x247de6,this[_0x3ce8b3(0x1ef)]);}if(this[_0x3ce8b3(0x2f4)]>0x7){this[_0x3ce8b3(0x35e)](_0x247de6,_0x5980f2);return;}if(this['_compressed']){this[_0x3ce8b3(0x33d)]=_0x35e329,this['decompress'](_0x247de6,_0x5980f2);return;}_0x247de6[_0x3ce8b3(0x36f)]&&(this[_0x3ce8b3(0x2fa)]=this[_0x3ce8b3(0x370)],this[_0x3ce8b3(0x2f6)][_0x3ce8b3(0x332)](_0x247de6)),this['dataMessage'](_0x5980f2);}[_0x1b9fb5(0x2f9)](_0x4810a9,_0x2f6a12){const _0xd709cd=_0x1b9fb5;this[_0xd709cd(0x2b6)][_0x3d5e3d[_0xd709cd(0x2a1)]][_0xd709cd(0x2f9)](_0x4810a9,this[_0xd709cd(0x2b5)],(_0x306ad7,_0x27f8ac)=>{const _0x285912=_0xd709cd;if(_0x306ad7)return _0x2f6a12(_0x306ad7);if(_0x27f8ac[_0x285912(0x36f)]){if(this[_0x285912(0x2fa)]+=_0x27f8ac['length'],this[_0x285912(0x2fa)]>this[_0x285912(0x2bb)]&&this[_0x285912(0x2bb)]>0x0){const _0x3df53b=this[_0x285912(0x228)](RangeError,_0x285912(0x2c7),!0x1,0x3f1,_0x285912(0x1cb));_0x2f6a12(_0x3df53b);return;}this['_fragments'][_0x285912(0x332)](_0x27f8ac);}this[_0x285912(0x217)](_0x2f6a12),this['_state']===_0x3f4dbd&&this['startLoop'](_0x2f6a12);});}['dataMessage'](_0x2c3428){const _0x2fdb72=_0x1b9fb5;if(!this[_0x2fdb72(0x2b5)]){this[_0x2fdb72(0x33d)]=_0x3f4dbd;return;}const _0x231efe=this['_messageLength'],_0x497c3b=this['_fragments'];if(this[_0x2fdb72(0x370)]=0x0,this[_0x2fdb72(0x2fa)]=0x0,this['_fragmented']=0x0,this['_fragments']=[],this[_0x2fdb72(0x2f4)]===0x2){let _0x123fb4;this[_0x2fdb72(0x2e1)]===_0x2fdb72(0x358)?_0x123fb4=_0x4462bd(_0x497c3b,_0x231efe):this[_0x2fdb72(0x2e1)]===_0x2fdb72(0x1e2)?_0x123fb4=_0x50fd71(_0x4462bd(_0x497c3b,_0x231efe)):this['_binaryType']===_0x2fdb72(0x267)?_0x123fb4=new Blob(_0x497c3b):_0x123fb4=_0x497c3b,this['_allowSynchronousEvents']?(this[_0x2fdb72(0x254)](_0x2fdb72(0x1d5),_0x123fb4,!0x0),this['_state']=_0x3f4dbd):(this[_0x2fdb72(0x33d)]=_0x1958d0,setImmediate(()=>{const _0x53f5bb=_0x2fdb72;this[_0x53f5bb(0x254)](_0x53f5bb(0x1d5),_0x123fb4,!0x0),this['_state']=_0x3f4dbd,this[_0x53f5bb(0x25c)](_0x2c3428);}));}else{const _0x4317a6=_0x4462bd(_0x497c3b,_0x231efe);if(!this[_0x2fdb72(0x320)]&&!_0x3b4ca3(_0x4317a6)){const _0x1f23ca=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x2fdb72(0x1e0));_0x2c3428(_0x1f23ca);return;}this[_0x2fdb72(0x33d)]===_0x35e329||this[_0x2fdb72(0x1f6)]?(this[_0x2fdb72(0x254)](_0x2fdb72(0x1d5),_0x4317a6,!0x1),this[_0x2fdb72(0x33d)]=_0x3f4dbd):(this[_0x2fdb72(0x33d)]=_0x1958d0,setImmediate(()=>{const _0x428fe4=_0x2fdb72;this[_0x428fe4(0x254)](_0x428fe4(0x1d5),_0x4317a6,!0x1),this[_0x428fe4(0x33d)]=_0x3f4dbd,this[_0x428fe4(0x25c)](_0x2c3428);}));}}[_0x1b9fb5(0x35e)](_0x120a85,_0x170d59){const _0x416113=_0x1b9fb5;if(this['_opcode']===0x8){if(_0x120a85[_0x416113(0x36f)]===0x0)this[_0x416113(0x235)]=!0x1,this[_0x416113(0x254)]('conclude',0x3ed,_0x983e59),this['end']();else{const _0x407760=_0x120a85[_0x416113(0x218)](0x0);if(!_0x5527f1(_0x407760)){const _0xfb7b42=this[_0x416113(0x228)](RangeError,_0x416113(0x2d2)+_0x407760,!0x0,0x3ea,_0x416113(0x216));_0x170d59(_0xfb7b42);return;}const _0x203f86=new _0x362df7(_0x120a85[_0x416113(0x224)],_0x120a85[_0x416113(0x269)]+0x2,_0x120a85[_0x416113(0x36f)]-0x2);if(!this[_0x416113(0x320)]&&!_0x3b4ca3(_0x203f86)){const _0x55322e=this[_0x416113(0x228)](Error,_0x416113(0x20c),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x170d59(_0x55322e);return;}this['_loop']=!0x1,this[_0x416113(0x254)]('conclude',_0x407760,_0x203f86),this['end']();}this['_state']=_0x3f4dbd;return;}this[_0x416113(0x1f6)]?(this[_0x416113(0x254)](this[_0x416113(0x2f4)]===0x9?_0x416113(0x204):_0x416113(0x2cc),_0x120a85),this[_0x416113(0x33d)]=_0x3f4dbd):(this['_state']=_0x1958d0,setImmediate(()=>{const _0x1f7650=_0x416113;this[_0x1f7650(0x254)](this['_opcode']===0x9?_0x1f7650(0x204):_0x1f7650(0x2cc),_0x120a85),this[_0x1f7650(0x33d)]=_0x3f4dbd,this[_0x1f7650(0x25c)](_0x170d59);}));}['createError'](_0x53e7a8,_0x42e244,_0x30fee5,_0x314abf,_0x4c145c){const _0x445f9e=_0x1b9fb5;this['_loop']=!0x1,this[_0x445f9e(0x286)]=!0x0;const _0x2c917d=new _0x53e7a8(_0x30fee5?'Invalid\x20WebSocket\x20frame:\x20'+_0x42e244:_0x42e244);return Error['captureStackTrace'](_0x2c917d,this[_0x445f9e(0x228)]),_0x2c917d[_0x445f9e(0x24a)]=_0x4c145c,_0x2c917d[_0x224f27]=_0x314abf,_0x2c917d;}}return Se=_0x52864c,Se;}var Ee,Xe;function ft(){const _0x3401ca=_0x1875f0;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x28ba9d}=oe,{randomFillSync:_0x554b2f}=Le,_0x31b32a=he(),{EMPTY_BUFFER:_0x2d37a9,kWebSocket:_0x1a8782,NOOP:_0x2a3dae}=H(),{isBlob:_0x2dfe62,isValidStatusCode:_0x380110}=ae(),{mask:_0x5efca5,toBuffer:_0x602d63}=ce(),_0xa326ea=Symbol(_0x3401ca(0x375)),_0x24de39=Buffer[_0x3401ca(0x364)](0x4),_0x576e02=0x8*0x400;let _0x1a55fc,_0x7ffe64=_0x576e02;const _0x5d742a=0x0,_0x157ede=0x1,_0x2f00ea=0x2;class _0x2030c3{constructor(_0x1fd92e,_0xa4545e,_0x18a467){const _0x54ee8f=_0x3401ca;this['_extensions']=_0xa4545e||{},_0x18a467&&(this[_0x54ee8f(0x212)]=_0x18a467,this[_0x54ee8f(0x25b)]=Buffer['alloc'](0x4)),this[_0x54ee8f(0x2dc)]=_0x1fd92e,this[_0x54ee8f(0x36a)]=!0x0,this[_0x54ee8f(0x24e)]=!0x1,this[_0x54ee8f(0x23c)]=0x0,this['_queue']=[],this['_state']=_0x5d742a,this['onerror']=_0x2a3dae,this[_0x1a8782]=void 0x0;}static['frame'](_0x1293ac,_0x3ebe1e){const _0x553ea3=_0x3401ca;let _0x283e7c,_0x386fb9=!0x1,_0x46082c=0x2,_0x5c19a6=!0x1;_0x3ebe1e[_0x553ea3(0x35c)]&&(_0x283e7c=_0x3ebe1e[_0x553ea3(0x1c0)]||_0x24de39,_0x3ebe1e[_0x553ea3(0x2ce)]?_0x3ebe1e[_0x553ea3(0x2ce)](_0x283e7c):(_0x7ffe64===_0x576e02&&(_0x1a55fc===void 0x0&&(_0x1a55fc=Buffer[_0x553ea3(0x364)](_0x576e02)),_0x554b2f(_0x1a55fc,0x0,_0x576e02),_0x7ffe64=0x0),_0x283e7c[0x0]=_0x1a55fc[_0x7ffe64++],_0x283e7c[0x1]=_0x1a55fc[_0x7ffe64++],_0x283e7c[0x2]=_0x1a55fc[_0x7ffe64++],_0x283e7c[0x3]=_0x1a55fc[_0x7ffe64++]),_0x5c19a6=(_0x283e7c[0x0]|_0x283e7c[0x1]|_0x283e7c[0x2]|_0x283e7c[0x3])===0x0,_0x46082c=0x6);let _0x2327a1;typeof _0x1293ac==_0x553ea3(0x238)?(!_0x3ebe1e[_0x553ea3(0x35c)]||_0x5c19a6)&&_0x3ebe1e[_0xa326ea]!==void 0x0?_0x2327a1=_0x3ebe1e[_0xa326ea]:(_0x1293ac=Buffer['from'](_0x1293ac),_0x2327a1=_0x1293ac['length']):(_0x2327a1=_0x1293ac[_0x553ea3(0x36f)],_0x386fb9=_0x3ebe1e[_0x553ea3(0x35c)]&&_0x3ebe1e['readOnly']&&!_0x5c19a6);let _0x5b97de=_0x2327a1;_0x2327a1>=0x10000?(_0x46082c+=0x8,_0x5b97de=0x7f):_0x2327a1>0x7d&&(_0x46082c+=0x2,_0x5b97de=0x7e);const _0x1a7be8=Buffer[_0x553ea3(0x1ea)](_0x386fb9?_0x2327a1+_0x46082c:_0x46082c);return _0x1a7be8[0x0]=_0x3ebe1e['fin']?_0x3ebe1e[_0x553ea3(0x2e0)]|0x80:_0x3ebe1e[_0x553ea3(0x2e0)],_0x3ebe1e[_0x553ea3(0x2a9)]&&(_0x1a7be8[0x0]|=0x40),_0x1a7be8[0x1]=_0x5b97de,_0x5b97de===0x7e?_0x1a7be8[_0x553ea3(0x355)](_0x2327a1,0x2):_0x5b97de===0x7f&&(_0x1a7be8[0x2]=_0x1a7be8[0x3]=0x0,_0x1a7be8['writeUIntBE'](_0x2327a1,0x4,0x6)),_0x3ebe1e['mask']?(_0x1a7be8[0x1]|=0x80,_0x1a7be8[_0x46082c-0x4]=_0x283e7c[0x0],_0x1a7be8[_0x46082c-0x3]=_0x283e7c[0x1],_0x1a7be8[_0x46082c-0x2]=_0x283e7c[0x2],_0x1a7be8[_0x46082c-0x1]=_0x283e7c[0x3],_0x5c19a6?[_0x1a7be8,_0x1293ac]:_0x386fb9?(_0x5efca5(_0x1293ac,_0x283e7c,_0x1a7be8,_0x46082c,_0x2327a1),[_0x1a7be8]):(_0x5efca5(_0x1293ac,_0x283e7c,_0x1293ac,0x0,_0x2327a1),[_0x1a7be8,_0x1293ac])):[_0x1a7be8,_0x1293ac];}[_0x3401ca(0x250)](_0x21e10f,_0x54d6d4,_0x595900,_0x1242e3){const _0x4a4ace=_0x3401ca;let _0x2608c7;if(_0x21e10f===void 0x0)_0x2608c7=_0x2d37a9;else{if(typeof _0x21e10f!=_0x4a4ace(0x275)||!_0x380110(_0x21e10f))throw new TypeError(_0x4a4ace(0x341));if(_0x54d6d4===void 0x0||!_0x54d6d4[_0x4a4ace(0x36f)])_0x2608c7=Buffer[_0x4a4ace(0x1ea)](0x2),_0x2608c7[_0x4a4ace(0x355)](_0x21e10f,0x0);else{const _0x4ee22e=Buffer[_0x4a4ace(0x24b)](_0x54d6d4);if(_0x4ee22e>0x7b)throw new RangeError(_0x4a4ace(0x347));_0x2608c7=Buffer['allocUnsafe'](0x2+_0x4ee22e),_0x2608c7[_0x4a4ace(0x355)](_0x21e10f,0x0),typeof _0x54d6d4==_0x4a4ace(0x238)?_0x2608c7[_0x4a4ace(0x296)](_0x54d6d4,0x2):_0x2608c7[_0x4a4ace(0x351)](_0x54d6d4,0x2);}}const _0x3e46b3={[_0xa326ea]:_0x2608c7['length'],'fin':!0x0,'generateMask':this[_0x4a4ace(0x212)],'mask':_0x595900,'maskBuffer':this[_0x4a4ace(0x25b)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x4a4ace(0x33d)]!==_0x5d742a?this[_0x4a4ace(0x376)]([this[_0x4a4ace(0x359)],_0x2608c7,!0x1,_0x3e46b3,_0x1242e3]):this[_0x4a4ace(0x35a)](_0x2030c3['frame'](_0x2608c7,_0x3e46b3),_0x1242e3);}['ping'](_0x16b046,_0x13338b,_0x404e72){const _0x3fe5fd=_0x3401ca;let _0x282c4a,_0x285783;if(typeof _0x16b046==_0x3fe5fd(0x238)?(_0x282c4a=Buffer[_0x3fe5fd(0x24b)](_0x16b046),_0x285783=!0x1):_0x2dfe62(_0x16b046)?(_0x282c4a=_0x16b046[_0x3fe5fd(0x201)],_0x285783=!0x1):(_0x16b046=_0x602d63(_0x16b046),_0x282c4a=_0x16b046[_0x3fe5fd(0x36f)],_0x285783=_0x602d63[_0x3fe5fd(0x36b)]),_0x282c4a>0x7d)throw new RangeError(_0x3fe5fd(0x33f));const _0x1174e0={[_0xa326ea]:_0x282c4a,'fin':!0x0,'generateMask':this[_0x3fe5fd(0x212)],'mask':_0x13338b,'maskBuffer':this[_0x3fe5fd(0x25b)],'opcode':0x9,'readOnly':_0x285783,'rsv1':!0x1};_0x2dfe62(_0x16b046)?this[_0x3fe5fd(0x33d)]!==_0x5d742a?this[_0x3fe5fd(0x376)]([this[_0x3fe5fd(0x361)],_0x16b046,!0x1,_0x1174e0,_0x404e72]):this[_0x3fe5fd(0x361)](_0x16b046,!0x1,_0x1174e0,_0x404e72):this[_0x3fe5fd(0x33d)]!==_0x5d742a?this['enqueue']([this['dispatch'],_0x16b046,!0x1,_0x1174e0,_0x404e72]):this[_0x3fe5fd(0x35a)](_0x2030c3[_0x3fe5fd(0x26b)](_0x16b046,_0x1174e0),_0x404e72);}[_0x3401ca(0x2cc)](_0x3810ce,_0x3ced66,_0x343719){const _0x5eac31=_0x3401ca;let _0x4ff11b,_0x4cd009;if(typeof _0x3810ce==_0x5eac31(0x238)?(_0x4ff11b=Buffer[_0x5eac31(0x24b)](_0x3810ce),_0x4cd009=!0x1):_0x2dfe62(_0x3810ce)?(_0x4ff11b=_0x3810ce[_0x5eac31(0x201)],_0x4cd009=!0x1):(_0x3810ce=_0x602d63(_0x3810ce),_0x4ff11b=_0x3810ce['length'],_0x4cd009=_0x602d63['readOnly']),_0x4ff11b>0x7d)throw new RangeError(_0x5eac31(0x33f));const _0x42ff44={[_0xa326ea]:_0x4ff11b,'fin':!0x0,'generateMask':this[_0x5eac31(0x212)],'mask':_0x3ced66,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x4cd009,'rsv1':!0x1};_0x2dfe62(_0x3810ce)?this[_0x5eac31(0x33d)]!==_0x5d742a?this[_0x5eac31(0x376)]([this[_0x5eac31(0x361)],_0x3810ce,!0x1,_0x42ff44,_0x343719]):this[_0x5eac31(0x361)](_0x3810ce,!0x1,_0x42ff44,_0x343719):this['_state']!==_0x5d742a?this[_0x5eac31(0x376)]([this[_0x5eac31(0x359)],_0x3810ce,!0x1,_0x42ff44,_0x343719]):this['sendFrame'](_0x2030c3[_0x5eac31(0x26b)](_0x3810ce,_0x42ff44),_0x343719);}[_0x3401ca(0x266)](_0x49e1e3,_0x38f90f,_0x3d21ef){const _0x20d2a8=_0x3401ca,_0x281566=this[_0x20d2a8(0x2b6)][_0x31b32a[_0x20d2a8(0x2a1)]];let _0x14eef2=_0x38f90f[_0x20d2a8(0x1e4)]?0x2:0x1,_0xd2ed19=_0x38f90f['compress'],_0x3c7f05,_0x527621;typeof _0x49e1e3=='string'?(_0x3c7f05=Buffer[_0x20d2a8(0x24b)](_0x49e1e3),_0x527621=!0x1):_0x2dfe62(_0x49e1e3)?(_0x3c7f05=_0x49e1e3[_0x20d2a8(0x201)],_0x527621=!0x1):(_0x49e1e3=_0x602d63(_0x49e1e3),_0x3c7f05=_0x49e1e3[_0x20d2a8(0x36f)],_0x527621=_0x602d63[_0x20d2a8(0x36b)]),this['_firstFragment']?(this[_0x20d2a8(0x36a)]=!0x1,_0xd2ed19&&_0x281566&&_0x281566[_0x20d2a8(0x372)][_0x281566[_0x20d2a8(0x30b)]?_0x20d2a8(0x2e4):'client_no_context_takeover']&&(_0xd2ed19=_0x3c7f05>=_0x281566[_0x20d2a8(0x2b4)]),this[_0x20d2a8(0x24e)]=_0xd2ed19):(_0xd2ed19=!0x1,_0x14eef2=0x0),_0x38f90f[_0x20d2a8(0x2dd)]&&(this[_0x20d2a8(0x36a)]=!0x0);const _0x33b114={[_0xa326ea]:_0x3c7f05,'fin':_0x38f90f[_0x20d2a8(0x2dd)],'generateMask':this[_0x20d2a8(0x212)],'mask':_0x38f90f[_0x20d2a8(0x35c)],'maskBuffer':this[_0x20d2a8(0x25b)],'opcode':_0x14eef2,'readOnly':_0x527621,'rsv1':_0xd2ed19};_0x2dfe62(_0x49e1e3)?this['_state']!==_0x5d742a?this[_0x20d2a8(0x376)]([this['getBlobData'],_0x49e1e3,this[_0x20d2a8(0x24e)],_0x33b114,_0x3d21ef]):this[_0x20d2a8(0x361)](_0x49e1e3,this[_0x20d2a8(0x24e)],_0x33b114,_0x3d21ef):this['_state']!==_0x5d742a?this[_0x20d2a8(0x376)]([this[_0x20d2a8(0x359)],_0x49e1e3,this[_0x20d2a8(0x24e)],_0x33b114,_0x3d21ef]):this[_0x20d2a8(0x359)](_0x49e1e3,this[_0x20d2a8(0x24e)],_0x33b114,_0x3d21ef);}[_0x3401ca(0x361)](_0x4617cb,_0x3b32bd,_0x554870,_0x373a1c){const _0x414886=_0x3401ca;this['_bufferedBytes']+=_0x554870[_0xa326ea],this['_state']=_0x2f00ea,_0x4617cb[_0x414886(0x288)]()['then'](_0x1406df=>{const _0x1d610e=_0x414886;if(this[_0x1d610e(0x2dc)]['destroyed']){const _0x2a0901=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x1d610e(0x313)](_0x316195,this,_0x2a0901,_0x373a1c);return;}this['_bufferedBytes']-=_0x554870[_0xa326ea];const _0x1a35de=_0x602d63(_0x1406df);_0x3b32bd?this[_0x1d610e(0x359)](_0x1a35de,_0x3b32bd,_0x554870,_0x373a1c):(this[_0x1d610e(0x33d)]=_0x5d742a,this['sendFrame'](_0x2030c3['frame'](_0x1a35de,_0x554870),_0x373a1c),this[_0x1d610e(0x34b)]());})['catch'](_0x20f56b=>{const _0x2d60cb=_0x414886;process[_0x2d60cb(0x313)](_0x3d446f,this,_0x20f56b,_0x373a1c);});}['dispatch'](_0x3000ce,_0x505776,_0xf4f7a3,_0x361bda){const _0x448d4e=_0x3401ca;if(!_0x505776){this['sendFrame'](_0x2030c3[_0x448d4e(0x26b)](_0x3000ce,_0xf4f7a3),_0x361bda);return;}const _0x495408=this['_extensions'][_0x31b32a[_0x448d4e(0x2a1)]];this[_0x448d4e(0x23c)]+=_0xf4f7a3[_0xa326ea],this[_0x448d4e(0x33d)]=_0x157ede,_0x495408[_0x448d4e(0x22a)](_0x3000ce,_0xf4f7a3[_0x448d4e(0x2dd)],(_0x38afd8,_0x127b72)=>{const _0x2f309e=_0x448d4e;if(this[_0x2f309e(0x2dc)]['destroyed']){const _0x458065=new Error(_0x2f309e(0x2f2));_0x316195(this,_0x458065,_0x361bda);return;}this[_0x2f309e(0x23c)]-=_0xf4f7a3[_0xa326ea],this[_0x2f309e(0x33d)]=_0x5d742a,_0xf4f7a3[_0x2f309e(0x36b)]=!0x1,this[_0x2f309e(0x35a)](_0x2030c3[_0x2f309e(0x26b)](_0x127b72,_0xf4f7a3),_0x361bda),this[_0x2f309e(0x34b)]();});}[_0x3401ca(0x34b)](){const _0x5415bf=_0x3401ca;for(;this['_state']===_0x5d742a&&this[_0x5415bf(0x203)][_0x5415bf(0x36f)];){const _0x3ce581=this[_0x5415bf(0x203)][_0x5415bf(0x30c)]();this[_0x5415bf(0x23c)]-=_0x3ce581[0x3][_0xa326ea],Reflect[_0x5415bf(0x1d4)](_0x3ce581[0x0],this,_0x3ce581['slice'](0x1));}}[_0x3401ca(0x376)](_0x4fa0b0){const _0x5396e4=_0x3401ca;this[_0x5396e4(0x23c)]+=_0x4fa0b0[0x3][_0xa326ea],this['_queue'][_0x5396e4(0x332)](_0x4fa0b0);}['sendFrame'](_0x29ba18,_0x1f7931){const _0xd71793=_0x3401ca;_0x29ba18[_0xd71793(0x36f)]===0x2?(this['_socket']['cork'](),this['_socket'][_0xd71793(0x296)](_0x29ba18[0x0]),this['_socket'][_0xd71793(0x296)](_0x29ba18[0x1],_0x1f7931),this['_socket'][_0xd71793(0x343)]()):this['_socket'][_0xd71793(0x296)](_0x29ba18[0x0],_0x1f7931);}}Ee=_0x2030c3;function _0x316195(_0x3838e5,_0xef4de6,_0x1984f2){const _0x1aabad=_0x3401ca;typeof _0x1984f2=='function'&&_0x1984f2(_0xef4de6);for(let _0x5015b4=0x0;_0x5015b4<_0x3838e5['_queue'][_0x1aabad(0x36f)];_0x5015b4++){const _0x35d780=_0x3838e5[_0x1aabad(0x203)][_0x5015b4],_0x582570=_0x35d780[_0x35d780[_0x1aabad(0x36f)]-0x1];typeof _0x582570==_0x1aabad(0x1e6)&&_0x582570(_0xef4de6);}}function _0x3d446f(_0xffa362,_0x43b962,_0x1cbbab){const _0xcf5606=_0x3401ca;_0x316195(_0xffa362,_0x43b962,_0x1cbbab),_0xffa362[_0xcf5606(0x299)](_0x43b962);}return Ee;}var xe,Ze;function It(){const _0x10a4b7=_0x1875f0;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x1a34a4,kListener:_0x5d7477}=H(),_0x526e98=Symbol(_0x10a4b7(0x1d8)),_0x58cd09=Symbol('kData'),_0x2ec4f1=Symbol(_0x10a4b7(0x323)),_0x3ab79d=Symbol('kMessage'),_0x2c21bb=Symbol(_0x10a4b7(0x2e2)),_0x56f69f=Symbol(_0x10a4b7(0x326)),_0x50ada4=Symbol('kType'),_0x4d88b7=Symbol('kWasClean');class _0x1bad95{constructor(_0x235ae2){this[_0x56f69f]=null,this[_0x50ada4]=_0x235ae2;}get[_0x10a4b7(0x248)](){return this[_0x56f69f];}get[_0x10a4b7(0x23f)](){return this[_0x50ada4];}}Object[_0x10a4b7(0x37b)](_0x1bad95[_0x10a4b7(0x213)],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x1bad95[_0x10a4b7(0x213)],_0x10a4b7(0x23f),{'enumerable':!0x0});class _0x37376b extends _0x1bad95{constructor(_0x3b4d63,_0x5d409a={}){const _0x42fdc8=_0x10a4b7;super(_0x3b4d63),this[_0x526e98]=_0x5d409a[_0x42fdc8(0x24a)]===void 0x0?0x0:_0x5d409a[_0x42fdc8(0x24a)],this[_0x2c21bb]=_0x5d409a['reason']===void 0x0?'':_0x5d409a[_0x42fdc8(0x2d8)],this[_0x4d88b7]=_0x5d409a['wasClean']===void 0x0?!0x1:_0x5d409a[_0x42fdc8(0x236)];}get['code'](){return this[_0x526e98];}get[_0x10a4b7(0x2d8)](){return this[_0x2c21bb];}get[_0x10a4b7(0x236)](){return this[_0x4d88b7];}}Object['defineProperty'](_0x37376b[_0x10a4b7(0x213)],_0x10a4b7(0x24a),{'enumerable':!0x0}),Object[_0x10a4b7(0x37b)](_0x37376b[_0x10a4b7(0x213)],'reason',{'enumerable':!0x0}),Object['defineProperty'](_0x37376b[_0x10a4b7(0x213)],_0x10a4b7(0x236),{'enumerable':!0x0});class _0x385139 extends _0x1bad95{constructor(_0x56dfd7,_0x2a4cd8={}){const _0x90583d=_0x10a4b7;super(_0x56dfd7),this[_0x2ec4f1]=_0x2a4cd8[_0x90583d(0x1df)]===void 0x0?null:_0x2a4cd8['error'],this[_0x3ab79d]=_0x2a4cd8[_0x90583d(0x1d5)]===void 0x0?'':_0x2a4cd8[_0x90583d(0x1d5)];}get[_0x10a4b7(0x1df)](){return this[_0x2ec4f1];}get['message'](){return this[_0x3ab79d];}}Object[_0x10a4b7(0x37b)](_0x385139['prototype'],'error',{'enumerable':!0x0}),Object['defineProperty'](_0x385139[_0x10a4b7(0x213)],_0x10a4b7(0x1d5),{'enumerable':!0x0});class _0x529852 extends _0x1bad95{constructor(_0x5c24b1,_0x43d5ef={}){const _0x3ef308=_0x10a4b7;super(_0x5c24b1),this[_0x58cd09]=_0x43d5ef[_0x3ef308(0x34e)]===void 0x0?null:_0x43d5ef['data'];}get[_0x10a4b7(0x34e)](){return this[_0x58cd09];}}Object[_0x10a4b7(0x37b)](_0x529852['prototype'],_0x10a4b7(0x34e),{'enumerable':!0x0}),xe={'CloseEvent':_0x37376b,'ErrorEvent':_0x385139,'Event':_0x1bad95,'EventTarget':{'addEventListener'(_0x50cac9,_0x5c67ff,_0x2c8041={}){const _0x5013f9=_0x10a4b7;for(const _0x116ec4 of this['listeners'](_0x50cac9))if(!_0x2c8041[_0x1a34a4]&&_0x116ec4[_0x5d7477]===_0x5c67ff&&!_0x116ec4[_0x1a34a4])return;let _0x3454d2;if(_0x50cac9==='message')_0x3454d2=function(_0x4c1957,_0x3e6ffb){const _0x3e930a=_0x40ff,_0x4f5177=new _0x529852(_0x3e930a(0x1d5),{'data':_0x3e6ffb?_0x4c1957:_0x4c1957[_0x3e930a(0x33c)]()});_0x4f5177[_0x56f69f]=this,_0xb481b(_0x5c67ff,this,_0x4f5177);};else{if(_0x50cac9===_0x5013f9(0x250))_0x3454d2=function(_0x476af1,_0x5d77e9){const _0x484cc5=_0x5013f9,_0xe8a1b9=new _0x37376b(_0x484cc5(0x250),{'code':_0x476af1,'reason':_0x5d77e9[_0x484cc5(0x33c)](),'wasClean':this[_0x484cc5(0x202)]&&this[_0x484cc5(0x31f)]});_0xe8a1b9[_0x56f69f]=this,_0xb481b(_0x5c67ff,this,_0xe8a1b9);};else{if(_0x50cac9===_0x5013f9(0x1df))_0x3454d2=function(_0x2f6b8e){const _0x1c8bc7=_0x5013f9,_0x171326=new _0x385139(_0x1c8bc7(0x1df),{'error':_0x2f6b8e,'message':_0x2f6b8e['message']});_0x171326[_0x56f69f]=this,_0xb481b(_0x5c67ff,this,_0x171326);};else{if(_0x50cac9===_0x5013f9(0x304))_0x3454d2=function(){const _0x83208b=new _0x1bad95('open');_0x83208b[_0x56f69f]=this,_0xb481b(_0x5c67ff,this,_0x83208b);};else return;}}}_0x3454d2[_0x1a34a4]=!!_0x2c8041[_0x1a34a4],_0x3454d2[_0x5d7477]=_0x5c67ff,_0x2c8041[_0x5013f9(0x22d)]?this[_0x5013f9(0x22d)](_0x50cac9,_0x3454d2):this['on'](_0x50cac9,_0x3454d2);},'removeEventListener'(_0x2dc69c,_0x16c65a){const _0x24846e=_0x10a4b7;for(const _0xa517a of this[_0x24846e(0x263)](_0x2dc69c))if(_0xa517a[_0x5d7477]===_0x16c65a&&!_0xa517a[_0x1a34a4]){this[_0x24846e(0x30f)](_0x2dc69c,_0xa517a);break;}}},'MessageEvent':_0x529852};function _0xb481b(_0x52f2e0,_0x1ea9e7,_0x1309f4){const _0x256d5d=_0x10a4b7;typeof _0x52f2e0=='object'&&_0x52f2e0[_0x256d5d(0x315)]?_0x52f2e0[_0x256d5d(0x315)][_0x256d5d(0x32f)](_0x52f2e0,_0x1309f4):_0x52f2e0[_0x256d5d(0x32f)](_0x1ea9e7,_0x1309f4);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x5c5654}=ae();function _0x46700b(_0x49a1c6,_0x3f99fd,_0x4d8e89){const _0x52c962=_0x40ff;_0x49a1c6[_0x3f99fd]===void 0x0?_0x49a1c6[_0x3f99fd]=[_0x4d8e89]:_0x49a1c6[_0x3f99fd][_0x52c962(0x332)](_0x4d8e89);}function _0x476caf(_0x3e7884){const _0x28c4a5=_0x40ff,_0x1079a1=Object[_0x28c4a5(0x302)](null);let _0x41b47d=Object[_0x28c4a5(0x302)](null),_0x35006b=!0x1,_0x1a23c7=!0x1,_0xadbfc8=!0x1,_0x3a18cc,_0x903d0c,_0x28cac3=-0x1,_0x31be89=-0x1,_0x3cac13=-0x1,_0x160bf1=0x0;for(;_0x160bf1<_0x3e7884[_0x28c4a5(0x36f)];_0x160bf1++)if(_0x31be89=_0x3e7884[_0x28c4a5(0x29d)](_0x160bf1),_0x3a18cc===void 0x0){if(_0x3cac13===-0x1&&_0x5c5654[_0x31be89]===0x1)_0x28cac3===-0x1&&(_0x28cac3=_0x160bf1);else{if(_0x160bf1!==0x0&&(_0x31be89===0x20||_0x31be89===0x9))_0x3cac13===-0x1&&_0x28cac3!==-0x1&&(_0x3cac13=_0x160bf1);else{if(_0x31be89===0x3b||_0x31be89===0x2c){if(_0x28cac3===-0x1)throw new SyntaxError(_0x28c4a5(0x260)+_0x160bf1);_0x3cac13===-0x1&&(_0x3cac13=_0x160bf1);const _0x4230db=_0x3e7884[_0x28c4a5(0x2aa)](_0x28cac3,_0x3cac13);_0x31be89===0x2c?(_0x46700b(_0x1079a1,_0x4230db,_0x41b47d),_0x41b47d=Object[_0x28c4a5(0x302)](null)):_0x3a18cc=_0x4230db,_0x28cac3=_0x3cac13=-0x1;}else throw new SyntaxError(_0x28c4a5(0x260)+_0x160bf1);}}}else{if(_0x903d0c===void 0x0){if(_0x3cac13===-0x1&&_0x5c5654[_0x31be89]===0x1)_0x28cac3===-0x1&&(_0x28cac3=_0x160bf1);else{if(_0x31be89===0x20||_0x31be89===0x9)_0x3cac13===-0x1&&_0x28cac3!==-0x1&&(_0x3cac13=_0x160bf1);else{if(_0x31be89===0x3b||_0x31be89===0x2c){if(_0x28cac3===-0x1)throw new SyntaxError(_0x28c4a5(0x260)+_0x160bf1);_0x3cac13===-0x1&&(_0x3cac13=_0x160bf1),_0x46700b(_0x41b47d,_0x3e7884['slice'](_0x28cac3,_0x3cac13),!0x0),_0x31be89===0x2c&&(_0x46700b(_0x1079a1,_0x3a18cc,_0x41b47d),_0x41b47d=Object[_0x28c4a5(0x302)](null),_0x3a18cc=void 0x0),_0x28cac3=_0x3cac13=-0x1;}else{if(_0x31be89===0x3d&&_0x28cac3!==-0x1&&_0x3cac13===-0x1)_0x903d0c=_0x3e7884[_0x28c4a5(0x2aa)](_0x28cac3,_0x160bf1),_0x28cac3=_0x3cac13=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x160bf1);}}}}else{if(_0x1a23c7){if(_0x5c5654[_0x31be89]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x160bf1);_0x28cac3===-0x1?_0x28cac3=_0x160bf1:_0x35006b||(_0x35006b=!0x0),_0x1a23c7=!0x1;}else{if(_0xadbfc8){if(_0x5c5654[_0x31be89]===0x1)_0x28cac3===-0x1&&(_0x28cac3=_0x160bf1);else{if(_0x31be89===0x22&&_0x28cac3!==-0x1)_0xadbfc8=!0x1,_0x3cac13=_0x160bf1;else{if(_0x31be89===0x5c)_0x1a23c7=!0x0;else throw new SyntaxError(_0x28c4a5(0x260)+_0x160bf1);}}}else{if(_0x31be89===0x22&&_0x3e7884[_0x28c4a5(0x29d)](_0x160bf1-0x1)===0x3d)_0xadbfc8=!0x0;else{if(_0x3cac13===-0x1&&_0x5c5654[_0x31be89]===0x1)_0x28cac3===-0x1&&(_0x28cac3=_0x160bf1);else{if(_0x28cac3!==-0x1&&(_0x31be89===0x20||_0x31be89===0x9))_0x3cac13===-0x1&&(_0x3cac13=_0x160bf1);else{if(_0x31be89===0x3b||_0x31be89===0x2c){if(_0x28cac3===-0x1)throw new SyntaxError(_0x28c4a5(0x260)+_0x160bf1);_0x3cac13===-0x1&&(_0x3cac13=_0x160bf1);let _0x3bcb99=_0x3e7884[_0x28c4a5(0x2aa)](_0x28cac3,_0x3cac13);_0x35006b&&(_0x3bcb99=_0x3bcb99[_0x28c4a5(0x1cf)](/\\/g,''),_0x35006b=!0x1),_0x46700b(_0x41b47d,_0x903d0c,_0x3bcb99),_0x31be89===0x2c&&(_0x46700b(_0x1079a1,_0x3a18cc,_0x41b47d),_0x41b47d=Object[_0x28c4a5(0x302)](null),_0x3a18cc=void 0x0),_0x903d0c=void 0x0,_0x28cac3=_0x3cac13=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x160bf1);}}}}}}}if(_0x28cac3===-0x1||_0xadbfc8||_0x31be89===0x20||_0x31be89===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x3cac13===-0x1&&(_0x3cac13=_0x160bf1);const _0x4f811d=_0x3e7884[_0x28c4a5(0x2aa)](_0x28cac3,_0x3cac13);return _0x3a18cc===void 0x0?_0x46700b(_0x1079a1,_0x4f811d,_0x41b47d):(_0x903d0c===void 0x0?_0x46700b(_0x41b47d,_0x4f811d,!0x0):_0x35006b?_0x46700b(_0x41b47d,_0x903d0c,_0x4f811d[_0x28c4a5(0x1cf)](/\\/g,'')):_0x46700b(_0x41b47d,_0x903d0c,_0x4f811d),_0x46700b(_0x1079a1,_0x3a18cc,_0x41b47d)),_0x1079a1;}function _0xe2005c(_0x4e6889){const _0x12089d=_0x40ff;return Object[_0x12089d(0x247)](_0x4e6889)[_0x12089d(0x31a)](_0x587dce=>{const _0xe2b973=_0x12089d;let _0x274974=_0x4e6889[_0x587dce];return Array[_0xe2b973(0x29f)](_0x274974)||(_0x274974=[_0x274974]),_0x274974[_0xe2b973(0x31a)](_0x2beab0=>[_0x587dce][_0xe2b973(0x334)](Object[_0xe2b973(0x247)](_0x2beab0)[_0xe2b973(0x31a)](_0x1134bd=>{const _0x26cbb8=_0xe2b973;let _0x586764=_0x2beab0[_0x1134bd];return Array[_0x26cbb8(0x29f)](_0x586764)||(_0x586764=[_0x586764]),_0x586764[_0x26cbb8(0x31a)](_0x3641f1=>_0x3641f1===!0x0?_0x1134bd:_0x1134bd+'='+_0x3641f1)['join'](';\x20');}))[_0xe2b973(0x336)](';\x20'))[_0xe2b973(0x336)](',\x20');})[_0x12089d(0x336)](',\x20');}return be={'format':_0xe2005c,'parse':_0x476caf},be;}var we,Je;function _0x40ff(_0x549ba3,_0x15d531){const _0xafdf03=_0xafdf();return _0x40ff=function(_0x40ffd5,_0x4f8bfb){_0x40ffd5=_0x40ffd5-0x1be;let _0x5856dd=_0xafdf03[_0x40ffd5];return _0x5856dd;},_0x40ff(_0x549ba3,_0x15d531);}function Pe(){const _0x39e624=_0x1875f0;if(Je)return we;Je=0x1;const _0x2f1c61=nt,_0x115b46=vt,_0x11d6b6=ot,_0x4aa344=St,_0xf5a2ab=Et,{randomBytes:_0x3939c0,createHash:_0x2969de}=Le,{Duplex:_0x1eb60d,Readable:_0x358e05}=oe,{URL:_0x2c5a28}=xt,_0x5b5e2a=he(),_0x20f958=lt(),_0x4547a5=ft(),{isBlob:_0x47177a}=ae(),{BINARY_TYPES:_0x352cd2,EMPTY_BUFFER:_0x2d0ef8,GUID:_0x667767,kForOnEventAttribute:_0x152f00,kListener:_0x3ae2bb,kStatusCode:_0x35ed99,kWebSocket:_0xdcb971,NOOP:_0x3ac2df}=H(),{EventTarget:{addEventListener:_0x38a263,removeEventListener:_0x36acb7}}=It(),{format:_0xb9f87f,parse:_0x4871d0}=ct(),{toBuffer:_0x19123f}=ce(),_0x3c7bc4=0x1e*0x3e8,_0x51694e=Symbol(_0x39e624(0x240)),_0x17907b=[0x8,0xd],_0x42cc78=[_0x39e624(0x314),_0x39e624(0x2b8),_0x39e624(0x237),_0x39e624(0x244)],_0x395216=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x573364 extends _0x2f1c61{constructor(_0x587805,_0x3db918,_0x2c6f3e){const _0xdc8040=_0x39e624;super(),this[_0xdc8040(0x2e1)]=_0x352cd2[0x0],this[_0xdc8040(0x27d)]=0x3ee,this[_0xdc8040(0x202)]=!0x1,this[_0xdc8040(0x31f)]=!0x1,this['_closeMessage']=_0x2d0ef8,this[_0xdc8040(0x368)]=null,this['_errorEmitted']=!0x1,this[_0xdc8040(0x2b6)]={},this['_paused']=!0x1,this[_0xdc8040(0x2f3)]='',this[_0xdc8040(0x2c9)]=_0x573364['CONNECTING'],this[_0xdc8040(0x318)]=null,this[_0xdc8040(0x268)]=null,this['_socket']=null,_0x587805!==null?(this['_bufferedAmount']=0x0,this[_0xdc8040(0x30b)]=!0x1,this[_0xdc8040(0x28d)]=0x0,_0x3db918===void 0x0?_0x3db918=[]:Array[_0xdc8040(0x29f)](_0x3db918)||(typeof _0x3db918==_0xdc8040(0x291)&&_0x3db918!==null?(_0x2c6f3e=_0x3db918,_0x3db918=[]):_0x3db918=[_0x3db918]),_0x387ce3(this,_0x587805,_0x3db918,_0x2c6f3e)):(this[_0xdc8040(0x353)]=_0x2c6f3e[_0xdc8040(0x34f)],this[_0xdc8040(0x30b)]=!0x0);}get[_0x39e624(0x1f9)](){const _0x55d472=_0x39e624;return this[_0x55d472(0x2e1)];}set[_0x39e624(0x1f9)](_0x2177f0){const _0x3d6e17=_0x39e624;_0x352cd2[_0x3d6e17(0x2af)](_0x2177f0)&&(this[_0x3d6e17(0x2e1)]=_0x2177f0,this[_0x3d6e17(0x318)]&&(this['_receiver'][_0x3d6e17(0x2e1)]=_0x2177f0));}get[_0x39e624(0x2ee)](){const _0x1a1de0=_0x39e624;return this[_0x1a1de0(0x2dc)]?this[_0x1a1de0(0x2dc)][_0x1a1de0(0x220)][_0x1a1de0(0x36f)]+this[_0x1a1de0(0x268)]['_bufferedBytes']:this[_0x1a1de0(0x210)];}get[_0x39e624(0x1ff)](){const _0x37d3a8=_0x39e624;return Object['keys'](this[_0x37d3a8(0x2b6)])['join']();}get[_0x39e624(0x23b)](){const _0x10ff1a=_0x39e624;return this[_0x10ff1a(0x257)];}get[_0x39e624(0x27f)](){return null;}get[_0x39e624(0x299)](){return null;}get[_0x39e624(0x2c4)](){return null;}get[_0x39e624(0x31e)](){return null;}get['protocol'](){return this['_protocol'];}get[_0x39e624(0x282)](){const _0x3c5d52=_0x39e624;return this[_0x3c5d52(0x2c9)];}get['url'](){return this['_url'];}['setSocket'](_0x1b5648,_0x4c147d,_0x410b55){const _0x34617b=_0x39e624,_0x2dcb34=new _0x20f958({'allowSynchronousEvents':_0x410b55[_0x34617b(0x298)],'binaryType':this[_0x34617b(0x1f9)],'extensions':this[_0x34617b(0x2b6)],'isServer':this['_isServer'],'maxPayload':_0x410b55[_0x34617b(0x215)],'skipUTF8Validation':_0x410b55[_0x34617b(0x227)]}),_0x1ba3d2=new _0x4547a5(_0x1b5648,this[_0x34617b(0x2b6)],_0x410b55[_0x34617b(0x2ce)]);this[_0x34617b(0x318)]=_0x2dcb34,this['_sender']=_0x1ba3d2,this[_0x34617b(0x2dc)]=_0x1b5648,_0x2dcb34[_0xdcb971]=this,_0x1ba3d2[_0xdcb971]=this,_0x1b5648[_0xdcb971]=this,_0x2dcb34['on']('conclude',_0x390e34),_0x2dcb34['on'](_0x34617b(0x1cd),_0x3d3501),_0x2dcb34['on']('error',_0xe6760b),_0x2dcb34['on'](_0x34617b(0x1d5),_0x143b77),_0x2dcb34['on']('ping',_0x521ad5),_0x2dcb34['on']('pong',_0xff697e),_0x1ba3d2['onerror']=_0x58292e,_0x1b5648[_0x34617b(0x2b0)]&&_0x1b5648[_0x34617b(0x2b0)](0x0),_0x1b5648[_0x34617b(0x281)]&&_0x1b5648['setNoDelay'](),_0x4c147d[_0x34617b(0x36f)]>0x0&&_0x1b5648['unshift'](_0x4c147d),_0x1b5648['on'](_0x34617b(0x250),_0x582e26),_0x1b5648['on'](_0x34617b(0x34e),_0x52845b),_0x1b5648['on'](_0x34617b(0x270),_0x38ddef),_0x1b5648['on'](_0x34617b(0x1df),_0x54de36),this['_readyState']=_0x573364[_0x34617b(0x2b8)],this[_0x34617b(0x254)]('open');}[_0x39e624(0x2bd)](){const _0x4d9a08=_0x39e624;if(!this['_socket']){this['_readyState']=_0x573364[_0x4d9a08(0x244)],this[_0x4d9a08(0x254)](_0x4d9a08(0x250),this[_0x4d9a08(0x27d)],this[_0x4d9a08(0x35b)]);return;}this[_0x4d9a08(0x2b6)][_0x5b5e2a[_0x4d9a08(0x2a1)]]&&this[_0x4d9a08(0x2b6)][_0x5b5e2a['extensionName']]['cleanup'](),this[_0x4d9a08(0x318)][_0x4d9a08(0x26a)](),this[_0x4d9a08(0x2c9)]=_0x573364[_0x4d9a08(0x244)],this[_0x4d9a08(0x254)](_0x4d9a08(0x250),this[_0x4d9a08(0x27d)],this[_0x4d9a08(0x35b)]);}[_0x39e624(0x250)](_0x50d550,_0x10bc98){const _0xc1cbd1=_0x39e624;if(this[_0xc1cbd1(0x282)]!==_0x573364[_0xc1cbd1(0x244)]){if(this[_0xc1cbd1(0x282)]===_0x573364[_0xc1cbd1(0x314)]){_0x5a780a(this,this[_0xc1cbd1(0x330)],_0xc1cbd1(0x22e));return;}if(this[_0xc1cbd1(0x282)]===_0x573364[_0xc1cbd1(0x237)]){this['_closeFrameSent']&&(this[_0xc1cbd1(0x202)]||this[_0xc1cbd1(0x318)][_0xc1cbd1(0x220)][_0xc1cbd1(0x24d)])&&this[_0xc1cbd1(0x2dc)][_0xc1cbd1(0x270)]();return;}this['_readyState']=_0x573364['CLOSING'],this[_0xc1cbd1(0x268)][_0xc1cbd1(0x250)](_0x50d550,_0x10bc98,!this[_0xc1cbd1(0x30b)],_0x162a17=>{const _0x44a57f=_0xc1cbd1;_0x162a17||(this['_closeFrameSent']=!0x0,(this['_closeFrameReceived']||this[_0x44a57f(0x318)][_0x44a57f(0x220)][_0x44a57f(0x24d)])&&this[_0x44a57f(0x2dc)][_0x44a57f(0x270)]());}),_0x25223c(this);}}['pause'](){const _0x4a214a=_0x39e624;this[_0x4a214a(0x282)]===_0x573364[_0x4a214a(0x314)]||this[_0x4a214a(0x282)]===_0x573364[_0x4a214a(0x244)]||(this[_0x4a214a(0x257)]=!0x0,this[_0x4a214a(0x2dc)][_0x4a214a(0x1c3)]());}[_0x39e624(0x204)](_0xd48155,_0x498889,_0x2f2dc4){const _0x3a79f0=_0x39e624;if(this[_0x3a79f0(0x282)]===_0x573364[_0x3a79f0(0x314)])throw new Error(_0x3a79f0(0x2ab));if(typeof _0xd48155==_0x3a79f0(0x1e6)?(_0x2f2dc4=_0xd48155,_0xd48155=_0x498889=void 0x0):typeof _0x498889==_0x3a79f0(0x1e6)&&(_0x2f2dc4=_0x498889,_0x498889=void 0x0),typeof _0xd48155==_0x3a79f0(0x275)&&(_0xd48155=_0xd48155[_0x3a79f0(0x33c)]()),this[_0x3a79f0(0x282)]!==_0x573364[_0x3a79f0(0x2b8)]){_0x3af723(this,_0xd48155,_0x2f2dc4);return;}_0x498889===void 0x0&&(_0x498889=!this[_0x3a79f0(0x30b)]),this[_0x3a79f0(0x268)][_0x3a79f0(0x204)](_0xd48155||_0x2d0ef8,_0x498889,_0x2f2dc4);}[_0x39e624(0x2cc)](_0x19ca6a,_0x4560ff,_0xfc219){const _0x480284=_0x39e624;if(this[_0x480284(0x282)]===_0x573364[_0x480284(0x314)])throw new Error(_0x480284(0x2ab));if(typeof _0x19ca6a==_0x480284(0x1e6)?(_0xfc219=_0x19ca6a,_0x19ca6a=_0x4560ff=void 0x0):typeof _0x4560ff=='function'&&(_0xfc219=_0x4560ff,_0x4560ff=void 0x0),typeof _0x19ca6a==_0x480284(0x275)&&(_0x19ca6a=_0x19ca6a[_0x480284(0x33c)]()),this[_0x480284(0x282)]!==_0x573364[_0x480284(0x2b8)]){_0x3af723(this,_0x19ca6a,_0xfc219);return;}_0x4560ff===void 0x0&&(_0x4560ff=!this['_isServer']),this[_0x480284(0x268)]['pong'](_0x19ca6a||_0x2d0ef8,_0x4560ff,_0xfc219);}['resume'](){const _0x4fc102=_0x39e624;this[_0x4fc102(0x282)]===_0x573364[_0x4fc102(0x314)]||this[_0x4fc102(0x282)]===_0x573364[_0x4fc102(0x244)]||(this['_paused']=!0x1,this[_0x4fc102(0x318)][_0x4fc102(0x220)][_0x4fc102(0x232)]||this['_socket'][_0x4fc102(0x292)]());}['send'](_0x190898,_0x5aa900,_0x16ac35){const _0x4626c3=_0x39e624;if(this['readyState']===_0x573364[_0x4626c3(0x314)])throw new Error(_0x4626c3(0x2ab));if(typeof _0x5aa900==_0x4626c3(0x1e6)&&(_0x16ac35=_0x5aa900,_0x5aa900={}),typeof _0x190898==_0x4626c3(0x275)&&(_0x190898=_0x190898[_0x4626c3(0x33c)]()),this[_0x4626c3(0x282)]!==_0x573364[_0x4626c3(0x2b8)]){_0x3af723(this,_0x190898,_0x16ac35);return;}const _0x11778c={'binary':typeof _0x190898!=_0x4626c3(0x238),'mask':!this[_0x4626c3(0x30b)],'compress':!0x0,'fin':!0x0,..._0x5aa900};this[_0x4626c3(0x2b6)][_0x5b5e2a['extensionName']]||(_0x11778c[_0x4626c3(0x22a)]=!0x1),this[_0x4626c3(0x268)][_0x4626c3(0x266)](_0x190898||_0x2d0ef8,_0x11778c,_0x16ac35);}[_0x39e624(0x21f)](){const _0x6dd099=_0x39e624;if(this[_0x6dd099(0x282)]!==_0x573364[_0x6dd099(0x244)]){if(this['readyState']===_0x573364[_0x6dd099(0x314)]){_0x5a780a(this,this[_0x6dd099(0x330)],_0x6dd099(0x22e));return;}this[_0x6dd099(0x2dc)]&&(this[_0x6dd099(0x2c9)]=_0x573364[_0x6dd099(0x237)],this[_0x6dd099(0x2dc)]['destroy']());}}}Object[_0x39e624(0x37b)](_0x573364,_0x39e624(0x314),{'enumerable':!0x0,'value':_0x42cc78[_0x39e624(0x2c5)](_0x39e624(0x314))}),Object['defineProperty'](_0x573364[_0x39e624(0x213)],_0x39e624(0x314),{'enumerable':!0x0,'value':_0x42cc78['indexOf'](_0x39e624(0x314))}),Object['defineProperty'](_0x573364,'OPEN',{'enumerable':!0x0,'value':_0x42cc78[_0x39e624(0x2c5)]('OPEN')}),Object['defineProperty'](_0x573364[_0x39e624(0x213)],_0x39e624(0x2b8),{'enumerable':!0x0,'value':_0x42cc78[_0x39e624(0x2c5)](_0x39e624(0x2b8))}),Object[_0x39e624(0x37b)](_0x573364,'CLOSING',{'enumerable':!0x0,'value':_0x42cc78['indexOf'](_0x39e624(0x237))}),Object['defineProperty'](_0x573364[_0x39e624(0x213)],_0x39e624(0x237),{'enumerable':!0x0,'value':_0x42cc78[_0x39e624(0x2c5)](_0x39e624(0x237))}),Object[_0x39e624(0x37b)](_0x573364,_0x39e624(0x244),{'enumerable':!0x0,'value':_0x42cc78[_0x39e624(0x2c5)](_0x39e624(0x244))}),Object[_0x39e624(0x37b)](_0x573364['prototype'],'CLOSED',{'enumerable':!0x0,'value':_0x42cc78[_0x39e624(0x2c5)](_0x39e624(0x244))}),[_0x39e624(0x1f9),_0x39e624(0x2ee),'extensions','isPaused',_0x39e624(0x2a5),_0x39e624(0x282),'url'][_0x39e624(0x367)](_0x3e9cc1=>{const _0x51dbfc=_0x39e624;Object[_0x51dbfc(0x37b)](_0x573364[_0x51dbfc(0x213)],_0x3e9cc1,{'enumerable':!0x0});}),[_0x39e624(0x304),_0x39e624(0x1df),'close','message'][_0x39e624(0x367)](_0x5196bc=>{const _0x29bc9c=_0x39e624;Object['defineProperty'](_0x573364[_0x29bc9c(0x213)],'on'+_0x5196bc,{'enumerable':!0x0,'get'(){const _0x379cf7=_0x29bc9c;for(const _0x26c79a of this[_0x379cf7(0x263)](_0x5196bc))if(_0x26c79a[_0x152f00])return _0x26c79a[_0x3ae2bb];return null;},'set'(_0x2113de){const _0x413195=_0x29bc9c;for(const _0x5c3d76 of this[_0x413195(0x263)](_0x5196bc))if(_0x5c3d76[_0x152f00]){this[_0x413195(0x30f)](_0x5196bc,_0x5c3d76);break;}typeof _0x2113de==_0x413195(0x1e6)&&this[_0x413195(0x273)](_0x5196bc,_0x2113de,{[_0x152f00]:!0x0});}});}),_0x573364[_0x39e624(0x213)][_0x39e624(0x273)]=_0x38a263,_0x573364[_0x39e624(0x213)][_0x39e624(0x27a)]=_0x36acb7,we=_0x573364;function _0x387ce3(_0x4b2af1,_0x295706,_0x389630,_0x4ff736){const _0x58ae6e=_0x39e624,_0x5b917c={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x17907b[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x4ff736,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x58ae6e(0x2fd),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4b2af1[_0x58ae6e(0x353)]=_0x5b917c[_0x58ae6e(0x34f)],!_0x17907b[_0x58ae6e(0x2af)](_0x5b917c['protocolVersion']))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x5b917c[_0x58ae6e(0x2fb)]+_0x58ae6e(0x360)+_0x17907b[_0x58ae6e(0x336)](',\x20')+')');let _0x249c47;if(_0x295706 instanceof _0x2c5a28)_0x249c47=_0x295706;else try{_0x249c47=new _0x2c5a28(_0x295706);}catch{throw new SyntaxError(_0x58ae6e(0x2ec)+_0x295706);}_0x249c47[_0x58ae6e(0x2a5)]===_0x58ae6e(0x280)?_0x249c47[_0x58ae6e(0x2a5)]=_0x58ae6e(0x26f):_0x249c47['protocol']==='https:'&&(_0x249c47['protocol']=_0x58ae6e(0x350)),_0x4b2af1[_0x58ae6e(0x308)]=_0x249c47[_0x58ae6e(0x27c)];const _0x19f6f2=_0x249c47[_0x58ae6e(0x2a5)]==='wss:',_0x32c8d3=_0x249c47[_0x58ae6e(0x2a5)]==='ws+unix:';let _0xa8845d;if(_0x249c47[_0x58ae6e(0x2a5)]!=='ws:'&&!_0x19f6f2&&!_0x32c8d3?_0xa8845d=_0x58ae6e(0x1e1):_0x32c8d3&&!_0x249c47['pathname']?_0xa8845d=_0x58ae6e(0x33e):_0x249c47[_0x58ae6e(0x233)]&&(_0xa8845d=_0x58ae6e(0x1f3)),_0xa8845d){const _0x2e061a=new SyntaxError(_0xa8845d);if(_0x4b2af1[_0x58ae6e(0x28d)]===0x0)throw _0x2e061a;_0x6cdd73(_0x4b2af1,_0x2e061a);return;}const _0x404693=_0x19f6f2?0x1bb:0x50,_0x59ff84=_0x3939c0(0x10)[_0x58ae6e(0x33c)](_0x58ae6e(0x22f)),_0x3c9aae=_0x19f6f2?_0x115b46[_0x58ae6e(0x2b2)]:_0x11d6b6[_0x58ae6e(0x2b2)],_0x104663=new Set();let _0x35c148;if(_0x5b917c[_0x58ae6e(0x252)]=_0x5b917c[_0x58ae6e(0x252)]||(_0x19f6f2?_0x46ecae:_0x52a777),_0x5b917c[_0x58ae6e(0x234)]=_0x5b917c[_0x58ae6e(0x234)]||_0x404693,_0x5b917c[_0x58ae6e(0x32a)]=_0x249c47['port']||_0x404693,_0x5b917c[_0x58ae6e(0x337)]=_0x249c47['hostname']['startsWith']('[')?_0x249c47[_0x58ae6e(0x322)]['slice'](0x1,-0x1):_0x249c47['hostname'],_0x5b917c['headers']={..._0x5b917c[_0x58ae6e(0x352)],'Sec-WebSocket-Version':_0x5b917c['protocolVersion'],'Sec-WebSocket-Key':_0x59ff84,'Connection':_0x58ae6e(0x29c),'Upgrade':_0x58ae6e(0x231)},_0x5b917c[_0x58ae6e(0x28f)]=_0x249c47[_0x58ae6e(0x285)]+_0x249c47['search'],_0x5b917c[_0x58ae6e(0x2e9)]=_0x5b917c[_0x58ae6e(0x27e)],_0x5b917c[_0x58ae6e(0x283)]&&(_0x35c148=new _0x5b5e2a(_0x5b917c[_0x58ae6e(0x283)]!==!0x0?_0x5b917c[_0x58ae6e(0x283)]:{},!0x1,_0x5b917c[_0x58ae6e(0x215)]),_0x5b917c[_0x58ae6e(0x352)][_0x58ae6e(0x289)]=_0xb9f87f({[_0x5b5e2a[_0x58ae6e(0x2a1)]]:_0x35c148[_0x58ae6e(0x287)]()})),_0x389630[_0x58ae6e(0x36f)]){for(const _0x4569f3 of _0x389630){if(typeof _0x4569f3!=_0x58ae6e(0x238)||!_0x395216[_0x58ae6e(0x379)](_0x4569f3)||_0x104663['has'](_0x4569f3))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x104663[_0x58ae6e(0x297)](_0x4569f3);}_0x5b917c[_0x58ae6e(0x352)]['Sec-WebSocket-Protocol']=_0x389630[_0x58ae6e(0x336)](',');}if(_0x5b917c[_0x58ae6e(0x2ef)]&&(_0x5b917c['protocolVersion']<0xd?_0x5b917c[_0x58ae6e(0x352)]['Sec-WebSocket-Origin']=_0x5b917c[_0x58ae6e(0x2ef)]:_0x5b917c[_0x58ae6e(0x352)][_0x58ae6e(0x2e8)]=_0x5b917c[_0x58ae6e(0x2ef)]),(_0x249c47[_0x58ae6e(0x378)]||_0x249c47[_0x58ae6e(0x24c)])&&(_0x5b917c[_0x58ae6e(0x2b9)]=_0x249c47[_0x58ae6e(0x378)]+':'+_0x249c47[_0x58ae6e(0x24c)]),_0x32c8d3){const _0x347057=_0x5b917c[_0x58ae6e(0x28f)][_0x58ae6e(0x2ae)](':');_0x5b917c['socketPath']=_0x347057[0x0],_0x5b917c[_0x58ae6e(0x28f)]=_0x347057[0x1];}let _0x25b24b;if(_0x5b917c[_0x58ae6e(0x377)]){if(_0x4b2af1['_redirects']===0x0){_0x4b2af1[_0x58ae6e(0x1c2)]=_0x32c8d3,_0x4b2af1[_0x58ae6e(0x34c)]=_0x19f6f2,_0x4b2af1[_0x58ae6e(0x1fa)]=_0x32c8d3?_0x5b917c[_0x58ae6e(0x1d7)]:_0x249c47['host'];const _0x26cb79=_0x4ff736&&_0x4ff736[_0x58ae6e(0x352)];if(_0x4ff736={..._0x4ff736,'headers':{}},_0x26cb79){for(const [_0x186ea7,_0xdd3595]of Object[_0x58ae6e(0x1f5)](_0x26cb79))_0x4ff736[_0x58ae6e(0x352)][_0x186ea7[_0x58ae6e(0x208)]()]=_0xdd3595;}}else{if(_0x4b2af1[_0x58ae6e(0x2d5)]('redirect')===0x0){const _0x442f66=_0x32c8d3?_0x4b2af1[_0x58ae6e(0x1c2)]?_0x5b917c[_0x58ae6e(0x1d7)]===_0x4b2af1[_0x58ae6e(0x1fa)]:!0x1:_0x4b2af1[_0x58ae6e(0x1c2)]?!0x1:_0x249c47[_0x58ae6e(0x337)]===_0x4b2af1[_0x58ae6e(0x1fa)];(!_0x442f66||_0x4b2af1[_0x58ae6e(0x34c)]&&!_0x19f6f2)&&(delete _0x5b917c[_0x58ae6e(0x352)][_0x58ae6e(0x333)],delete _0x5b917c[_0x58ae6e(0x352)]['cookie'],_0x442f66||delete _0x5b917c[_0x58ae6e(0x352)][_0x58ae6e(0x337)],_0x5b917c[_0x58ae6e(0x2b9)]=void 0x0);}}_0x5b917c[_0x58ae6e(0x2b9)]&&!_0x4ff736[_0x58ae6e(0x352)][_0x58ae6e(0x333)]&&(_0x4ff736[_0x58ae6e(0x352)]['authorization']=_0x58ae6e(0x25d)+Buffer[_0x58ae6e(0x1e3)](_0x5b917c[_0x58ae6e(0x2b9)])[_0x58ae6e(0x33c)](_0x58ae6e(0x22f))),_0x25b24b=_0x4b2af1[_0x58ae6e(0x330)]=_0x3c9aae(_0x5b917c),_0x4b2af1[_0x58ae6e(0x28d)]&&_0x4b2af1[_0x58ae6e(0x254)](_0x58ae6e(0x1d9),_0x4b2af1[_0x58ae6e(0x321)],_0x25b24b);}else _0x25b24b=_0x4b2af1[_0x58ae6e(0x330)]=_0x3c9aae(_0x5b917c);_0x5b917c[_0x58ae6e(0x2e9)]&&_0x25b24b['on'](_0x58ae6e(0x2e9),()=>{const _0x5d5927=_0x58ae6e;_0x5a780a(_0x4b2af1,_0x25b24b,_0x5d5927(0x328));}),_0x25b24b['on'](_0x58ae6e(0x1df),_0x3bdf2c=>{const _0x3a6c0d=_0x58ae6e;_0x25b24b===null||_0x25b24b[_0x51694e]||(_0x25b24b=_0x4b2af1[_0x3a6c0d(0x330)]=null,_0x6cdd73(_0x4b2af1,_0x3bdf2c));}),_0x25b24b['on'](_0x58ae6e(0x28b),_0x43cbdc=>{const _0x3c0b68=_0x58ae6e,_0x57447b=_0x43cbdc[_0x3c0b68(0x352)]['location'],_0x331aa0=_0x43cbdc[_0x3c0b68(0x271)];if(_0x57447b&&_0x5b917c[_0x3c0b68(0x377)]&&_0x331aa0>=0x12c&&_0x331aa0<0x190){if(++_0x4b2af1['_redirects']>_0x5b917c[_0x3c0b68(0x2ca)]){_0x5a780a(_0x4b2af1,_0x25b24b,'Maximum\x20redirects\x20exceeded');return;}_0x25b24b['abort']();let _0x214f09;try{_0x214f09=new _0x2c5a28(_0x57447b,_0x295706);}catch{const _0x32de52=new SyntaxError(_0x3c0b68(0x2ec)+_0x57447b);_0x6cdd73(_0x4b2af1,_0x32de52);return;}_0x387ce3(_0x4b2af1,_0x214f09,_0x389630,_0x4ff736);}else _0x4b2af1[_0x3c0b68(0x254)](_0x3c0b68(0x26e),_0x25b24b,_0x43cbdc)||_0x5a780a(_0x4b2af1,_0x25b24b,'Unexpected\x20server\x20response:\x20'+_0x43cbdc[_0x3c0b68(0x271)]);}),_0x25b24b['on']('upgrade',(_0x24e8e3,_0x26d3e2,_0x2258b0)=>{const _0xfc02ce=_0x58ae6e;if(_0x4b2af1['emit'](_0xfc02ce(0x226),_0x24e8e3),_0x4b2af1[_0xfc02ce(0x282)]!==_0x573364[_0xfc02ce(0x314)])return;_0x25b24b=_0x4b2af1[_0xfc02ce(0x330)]=null;const _0x3e2f82=_0x24e8e3[_0xfc02ce(0x352)][_0xfc02ce(0x226)];if(_0x3e2f82===void 0x0||_0x3e2f82[_0xfc02ce(0x208)]()!==_0xfc02ce(0x231)){_0x5a780a(_0x4b2af1,_0x26d3e2,_0xfc02ce(0x310));return;}const _0x2d4084=_0x2969de(_0xfc02ce(0x284))[_0xfc02ce(0x21e)](_0x59ff84+_0x667767)['digest']('base64');if(_0x24e8e3[_0xfc02ce(0x352)][_0xfc02ce(0x2e6)]!==_0x2d4084){_0x5a780a(_0x4b2af1,_0x26d3e2,_0xfc02ce(0x2f7));return;}const _0x494da9=_0x24e8e3[_0xfc02ce(0x352)]['sec-websocket-protocol'];let _0x5b5442;if(_0x494da9!==void 0x0?_0x104663[_0xfc02ce(0x201)]?_0x104663[_0xfc02ce(0x35d)](_0x494da9)||(_0x5b5442='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x5b5442='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x104663['size']&&(_0x5b5442=_0xfc02ce(0x303)),_0x5b5442){_0x5a780a(_0x4b2af1,_0x26d3e2,_0x5b5442);return;}_0x494da9&&(_0x4b2af1[_0xfc02ce(0x2f3)]=_0x494da9);const _0x43ae41=_0x24e8e3['headers'][_0xfc02ce(0x2a2)];if(_0x43ae41!==void 0x0){if(!_0x35c148){_0x5a780a(_0x4b2af1,_0x26d3e2,_0xfc02ce(0x259));return;}let _0x156d76;try{_0x156d76=_0x4871d0(_0x43ae41);}catch{_0x5a780a(_0x4b2af1,_0x26d3e2,_0xfc02ce(0x2c0));return;}const _0x38be2d=Object[_0xfc02ce(0x247)](_0x156d76);if(_0x38be2d[_0xfc02ce(0x36f)]!==0x1||_0x38be2d[0x0]!==_0x5b5e2a[_0xfc02ce(0x2a1)]){_0x5a780a(_0x4b2af1,_0x26d3e2,_0xfc02ce(0x312));return;}try{_0x35c148[_0xfc02ce(0x340)](_0x156d76[_0x5b5e2a[_0xfc02ce(0x2a1)]]);}catch{_0x5a780a(_0x4b2af1,_0x26d3e2,_0xfc02ce(0x2c0));return;}_0x4b2af1[_0xfc02ce(0x2b6)][_0x5b5e2a[_0xfc02ce(0x2a1)]]=_0x35c148;}_0x4b2af1[_0xfc02ce(0x2ea)](_0x26d3e2,_0x2258b0,{'allowSynchronousEvents':_0x5b917c[_0xfc02ce(0x298)],'generateMask':_0x5b917c[_0xfc02ce(0x2ce)],'maxPayload':_0x5b917c[_0xfc02ce(0x215)],'skipUTF8Validation':_0x5b917c[_0xfc02ce(0x227)]});}),_0x5b917c[_0x58ae6e(0x1f8)]?_0x5b917c[_0x58ae6e(0x1f8)](_0x25b24b,_0x4b2af1):_0x25b24b[_0x58ae6e(0x270)]();}function _0x6cdd73(_0x32389e,_0x2d066c){const _0x52cc34=_0x39e624;_0x32389e[_0x52cc34(0x2c9)]=_0x573364[_0x52cc34(0x237)],_0x32389e['_errorEmitted']=!0x0,_0x32389e['emit'](_0x52cc34(0x1df),_0x2d066c),_0x32389e[_0x52cc34(0x2bd)]();}function _0x52a777(_0x545bd9){const _0x4faafe=_0x39e624;return _0x545bd9[_0x4faafe(0x28f)]=_0x545bd9[_0x4faafe(0x1d7)],_0x4aa344[_0x4faafe(0x29a)](_0x545bd9);}function _0x46ecae(_0x246377){const _0x4e14af=_0x39e624;return _0x246377[_0x4e14af(0x28f)]=void 0x0,!_0x246377['servername']&&_0x246377[_0x4e14af(0x28a)]!==''&&(_0x246377['servername']=_0x4aa344[_0x4e14af(0x28e)](_0x246377['host'])?'':_0x246377[_0x4e14af(0x337)]),_0xf5a2ab[_0x4e14af(0x29a)](_0x246377);}function _0x5a780a(_0x3a227c,_0x282f82,_0x250c3a){const _0x483002=_0x39e624;_0x3a227c['_readyState']=_0x573364[_0x483002(0x237)];const _0x1e1717=new Error(_0x250c3a);Error['captureStackTrace'](_0x1e1717,_0x5a780a),_0x282f82['setHeader']?(_0x282f82[_0x51694e]=!0x0,_0x282f82[_0x483002(0x1ee)](),_0x282f82[_0x483002(0x36e)]&&!_0x282f82[_0x483002(0x36e)]['destroyed']&&_0x282f82[_0x483002(0x36e)][_0x483002(0x2f5)](),process['nextTick'](_0x6cdd73,_0x3a227c,_0x1e1717)):(_0x282f82['destroy'](_0x1e1717),_0x282f82[_0x483002(0x22d)]('error',_0x3a227c[_0x483002(0x254)]['bind'](_0x3a227c,_0x483002(0x1df))),_0x282f82[_0x483002(0x22d)](_0x483002(0x250),_0x3a227c[_0x483002(0x2bd)][_0x483002(0x1e8)](_0x3a227c)));}function _0x3af723(_0x17b583,_0x321082,_0x4012e5){const _0x38589b=_0x39e624;if(_0x321082){const _0x327085=_0x47177a(_0x321082)?_0x321082[_0x38589b(0x201)]:_0x19123f(_0x321082)[_0x38589b(0x36f)];_0x17b583[_0x38589b(0x2dc)]?_0x17b583[_0x38589b(0x268)]['_bufferedBytes']+=_0x327085:_0x17b583[_0x38589b(0x210)]+=_0x327085;}if(_0x4012e5){const _0x27b9eb=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x17b583[_0x38589b(0x282)]+'\x20('+_0x42cc78[_0x17b583[_0x38589b(0x282)]]+')');process[_0x38589b(0x313)](_0x4012e5,_0x27b9eb);}}function _0x390e34(_0x47f2e3,_0x4226a8){const _0x26ba56=_0x39e624,_0x26e1a0=this[_0xdcb971];_0x26e1a0['_closeFrameReceived']=!0x0,_0x26e1a0['_closeMessage']=_0x4226a8,_0x26e1a0[_0x26ba56(0x27d)]=_0x47f2e3,_0x26e1a0['_socket'][_0xdcb971]!==void 0x0&&(_0x26e1a0['_socket'][_0x26ba56(0x30f)](_0x26ba56(0x34e),_0x52845b),process[_0x26ba56(0x313)](_0x4f90bf,_0x26e1a0[_0x26ba56(0x2dc)]),_0x47f2e3===0x3ed?_0x26e1a0[_0x26ba56(0x250)]():_0x26e1a0[_0x26ba56(0x250)](_0x47f2e3,_0x4226a8));}function _0x3d3501(){const _0x2882b0=_0x39e624,_0x4f6003=this[_0xdcb971];_0x4f6003[_0x2882b0(0x23b)]||_0x4f6003['_socket'][_0x2882b0(0x292)]();}function _0xe6760b(_0x57b9aa){const _0x1e0813=_0x39e624,_0x33f328=this[_0xdcb971];_0x33f328[_0x1e0813(0x2dc)][_0xdcb971]!==void 0x0&&(_0x33f328['_socket'][_0x1e0813(0x30f)]('data',_0x52845b),process['nextTick'](_0x4f90bf,_0x33f328[_0x1e0813(0x2dc)]),_0x33f328['close'](_0x57b9aa[_0x35ed99])),_0x33f328['_errorEmitted']||(_0x33f328[_0x1e0813(0x2e5)]=!0x0,_0x33f328['emit'](_0x1e0813(0x1df),_0x57b9aa));}function _0x1f768a(){const _0x553f67=_0x39e624;this[_0xdcb971][_0x553f67(0x2bd)]();}function _0x143b77(_0xf2431f,_0x108032){const _0x1d5357=_0x39e624;this[_0xdcb971][_0x1d5357(0x254)](_0x1d5357(0x1d5),_0xf2431f,_0x108032);}function _0x521ad5(_0x46ad4a){const _0x3d0728=_0x39e624,_0x3c6775=this[_0xdcb971];_0x3c6775[_0x3d0728(0x353)]&&_0x3c6775[_0x3d0728(0x2cc)](_0x46ad4a,!this[_0x3d0728(0x30b)],_0x3ac2df),_0x3c6775[_0x3d0728(0x254)](_0x3d0728(0x204),_0x46ad4a);}function _0xff697e(_0x4a8209){this[_0xdcb971]['emit']('pong',_0x4a8209);}function _0x4f90bf(_0x3cbef7){const _0x5c386a=_0x39e624;_0x3cbef7[_0x5c386a(0x292)]();}function _0x58292e(_0x33899e){const _0x52b804=_0x39e624,_0x3e7bad=this[_0xdcb971];_0x3e7bad['readyState']!==_0x573364[_0x52b804(0x244)]&&(_0x3e7bad[_0x52b804(0x282)]===_0x573364[_0x52b804(0x2b8)]&&(_0x3e7bad[_0x52b804(0x2c9)]=_0x573364[_0x52b804(0x237)],_0x25223c(_0x3e7bad)),this[_0x52b804(0x2dc)][_0x52b804(0x270)](),_0x3e7bad['_errorEmitted']||(_0x3e7bad[_0x52b804(0x2e5)]=!0x0,_0x3e7bad[_0x52b804(0x254)](_0x52b804(0x1df),_0x33899e)));}function _0x25223c(_0x1e7990){const _0x5bdf2a=_0x39e624;_0x1e7990[_0x5bdf2a(0x368)]=setTimeout(_0x1e7990[_0x5bdf2a(0x2dc)]['destroy'][_0x5bdf2a(0x1e8)](_0x1e7990[_0x5bdf2a(0x2dc)]),_0x3c7bc4);}function _0x582e26(){const _0x8eabf=_0x39e624,_0x3a6b04=this[_0xdcb971];this[_0x8eabf(0x30f)](_0x8eabf(0x250),_0x582e26),this[_0x8eabf(0x30f)](_0x8eabf(0x34e),_0x52845b),this[_0x8eabf(0x30f)](_0x8eabf(0x270),_0x38ddef),_0x3a6b04[_0x8eabf(0x2c9)]=_0x573364[_0x8eabf(0x237)];let _0xba811e;!this[_0x8eabf(0x371)][_0x8eabf(0x1da)]&&!_0x3a6b04[_0x8eabf(0x202)]&&!_0x3a6b04['_receiver'][_0x8eabf(0x220)]['errorEmitted']&&(_0xba811e=_0x3a6b04[_0x8eabf(0x2dc)][_0x8eabf(0x26c)]())!==null&&_0x3a6b04[_0x8eabf(0x318)][_0x8eabf(0x296)](_0xba811e),_0x3a6b04[_0x8eabf(0x318)]['end'](),this[_0xdcb971]=void 0x0,clearTimeout(_0x3a6b04[_0x8eabf(0x368)]),_0x3a6b04[_0x8eabf(0x318)][_0x8eabf(0x220)][_0x8eabf(0x2da)]||_0x3a6b04[_0x8eabf(0x318)]['_writableState']['errorEmitted']?_0x3a6b04[_0x8eabf(0x2bd)]():(_0x3a6b04[_0x8eabf(0x318)]['on'](_0x8eabf(0x1df),_0x1f768a),_0x3a6b04[_0x8eabf(0x318)]['on'](_0x8eabf(0x1fb),_0x1f768a));}function _0x52845b(_0x9f0e55){const _0x12cc31=_0x39e624;this[_0xdcb971][_0x12cc31(0x318)][_0x12cc31(0x296)](_0x9f0e55)||this[_0x12cc31(0x1c3)]();}function _0x38ddef(){const _0x122ff8=_0x39e624,_0x33810a=this[_0xdcb971];_0x33810a[_0x122ff8(0x2c9)]=_0x573364[_0x122ff8(0x237)],_0x33810a[_0x122ff8(0x318)][_0x122ff8(0x270)](),this[_0x122ff8(0x270)]();}function _0x54de36(){const _0x5e7632=_0x39e624,_0x312291=this[_0xdcb971];this['removeListener'](_0x5e7632(0x1df),_0x54de36),this['on'](_0x5e7632(0x1df),_0x3ac2df),_0x312291&&(_0x312291[_0x5e7632(0x2c9)]=_0x573364['CLOSING'],this[_0x5e7632(0x2f5)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x4e9872}=oe;function _0x6c348e(_0x2268a7){const _0x20f6e6=_0x40ff;_0x2268a7[_0x20f6e6(0x254)](_0x20f6e6(0x250));}function _0x56a52e(){const _0x3e80f1=_0x40ff;!this[_0x3e80f1(0x261)]&&this[_0x3e80f1(0x220)][_0x3e80f1(0x2da)]&&this['destroy']();}function _0x24d4f8(_0x43fe64){const _0x2db20f=_0x40ff;this[_0x2db20f(0x30f)](_0x2db20f(0x1df),_0x24d4f8),this['destroy'](),this[_0x2db20f(0x2d5)](_0x2db20f(0x1df))===0x0&&this[_0x2db20f(0x254)]('error',_0x43fe64);}function _0x5c56ff(_0x3db43e,_0x92e77f){const _0x118173=_0x40ff;let _0x38332e=!0x0;const _0x5cdbb7=new _0x4e9872({..._0x92e77f,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3db43e['on']('message',function(_0x376970,_0x2d5cc4){const _0x1dc486=_0x40ff,_0x1b293f=!_0x2d5cc4&&_0x5cdbb7[_0x1dc486(0x371)][_0x1dc486(0x279)]?_0x376970[_0x1dc486(0x33c)]():_0x376970;_0x5cdbb7[_0x1dc486(0x332)](_0x1b293f)||_0x3db43e['pause']();}),_0x3db43e[_0x118173(0x22d)](_0x118173(0x1df),function(_0x4872a8){const _0x36223c=_0x118173;_0x5cdbb7[_0x36223c(0x261)]||(_0x38332e=!0x1,_0x5cdbb7[_0x36223c(0x2f5)](_0x4872a8));}),_0x3db43e['once'](_0x118173(0x250),function(){const _0x546adf=_0x118173;_0x5cdbb7['destroyed']||_0x5cdbb7[_0x546adf(0x332)](null);}),_0x5cdbb7[_0x118173(0x30a)]=function(_0x3bc784,_0x3dc5ca){const _0x374519=_0x118173;if(_0x3db43e[_0x374519(0x282)]===_0x3db43e[_0x374519(0x244)]){_0x3dc5ca(_0x3bc784),process[_0x374519(0x313)](_0x6c348e,_0x5cdbb7);return;}let _0x68db59=!0x1;_0x3db43e[_0x374519(0x22d)](_0x374519(0x1df),function(_0x518cc6){_0x68db59=!0x0,_0x3dc5ca(_0x518cc6);}),_0x3db43e['once'](_0x374519(0x250),function(){_0x68db59||_0x3dc5ca(_0x3bc784),process['nextTick'](_0x6c348e,_0x5cdbb7);}),_0x38332e&&_0x3db43e['terminate']();},_0x5cdbb7[_0x118173(0x222)]=function(_0x13006c){const _0x38f46a=_0x118173;if(_0x3db43e[_0x38f46a(0x282)]===_0x3db43e[_0x38f46a(0x314)]){_0x3db43e['once']('open',function(){const _0x5318d8=_0x38f46a;_0x5cdbb7[_0x5318d8(0x222)](_0x13006c);});return;}_0x3db43e['_socket']!==null&&(_0x3db43e['_socket'][_0x38f46a(0x220)][_0x38f46a(0x2da)]?(_0x13006c(),_0x5cdbb7[_0x38f46a(0x371)]['endEmitted']&&_0x5cdbb7['destroy']()):(_0x3db43e[_0x38f46a(0x2dc)][_0x38f46a(0x22d)](_0x38f46a(0x1fb),function(){_0x13006c();}),_0x3db43e['close']()));},_0x5cdbb7[_0x118173(0x20e)]=function(){const _0x1d480f=_0x118173;_0x3db43e[_0x1d480f(0x23b)]&&_0x3db43e[_0x1d480f(0x292)]();},_0x5cdbb7[_0x118173(0x294)]=function(_0x391870,_0xcb5ffd,_0x460432){const _0x4e5811=_0x118173;if(_0x3db43e[_0x4e5811(0x282)]===_0x3db43e['CONNECTING']){_0x3db43e[_0x4e5811(0x22d)](_0x4e5811(0x304),function(){_0x5cdbb7['_write'](_0x391870,_0xcb5ffd,_0x460432);});return;}_0x3db43e[_0x4e5811(0x266)](_0x391870,_0x460432);},_0x5cdbb7['on'](_0x118173(0x270),_0x56a52e),_0x5cdbb7['on'](_0x118173(0x1df),_0x24d4f8),_0x5cdbb7;}return Oe=_0x5c56ff,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x399602}=ae();function _0x1183b5(_0xb83ff0){const _0x23c1bd=_0x40ff,_0x20661e=new Set();let _0x46be95=-0x1,_0x5e77cc=-0x1,_0x31b0ff=0x0;for(_0x31b0ff;_0x31b0ff<_0xb83ff0['length'];_0x31b0ff++){const _0x4069c3=_0xb83ff0['charCodeAt'](_0x31b0ff);if(_0x5e77cc===-0x1&&_0x399602[_0x4069c3]===0x1)_0x46be95===-0x1&&(_0x46be95=_0x31b0ff);else{if(_0x31b0ff!==0x0&&(_0x4069c3===0x20||_0x4069c3===0x9))_0x5e77cc===-0x1&&_0x46be95!==-0x1&&(_0x5e77cc=_0x31b0ff);else{if(_0x4069c3===0x2c){if(_0x46be95===-0x1)throw new SyntaxError(_0x23c1bd(0x260)+_0x31b0ff);_0x5e77cc===-0x1&&(_0x5e77cc=_0x31b0ff);const _0x473fb1=_0xb83ff0['slice'](_0x46be95,_0x5e77cc);if(_0x20661e[_0x23c1bd(0x35d)](_0x473fb1))throw new SyntaxError(_0x23c1bd(0x32e)+_0x473fb1+_0x23c1bd(0x214));_0x20661e[_0x23c1bd(0x297)](_0x473fb1),_0x46be95=_0x5e77cc=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x31b0ff);}}}if(_0x46be95===-0x1||_0x5e77cc!==-0x1)throw new SyntaxError(_0x23c1bd(0x2de));const _0x4d23bf=_0xb83ff0['slice'](_0x46be95,_0x31b0ff);if(_0x20661e[_0x23c1bd(0x35d)](_0x4d23bf))throw new SyntaxError(_0x23c1bd(0x32e)+_0x4d23bf+'\x22\x20subprotocol\x20is\x20duplicated');return _0x20661e[_0x23c1bd(0x297)](_0x4d23bf),_0x20661e;}return Ce={'parse':_0x1183b5},Ce;}var Te,rt;function Ft(){const _0x2d3dd5=_0x1875f0;if(rt)return Te;rt=0x1;const _0x549b0e=nt,_0x889a78=ot,{Duplex:_0x35b3ab}=oe,{createHash:_0x2ac43d}=Le,_0x457432=ct(),_0x4b300f=he(),_0x198b67=At(),_0x1a1679=Pe(),{GUID:_0x2ff94f,kWebSocket:_0x7cebdc}=H(),_0x4a1b49=/^[+/0-9A-Za-z]{22}==$/,_0x179135=0x0,_0x2ada6e=0x1,_0x27f89a=0x2;class _0x3db0ed extends _0x549b0e{constructor(_0x45a54a,_0x23ad5b){const _0x5aa9bd=_0x40ff;if(super(),_0x45a54a={'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':_0x1a1679,..._0x45a54a},_0x45a54a[_0x5aa9bd(0x32a)]==null&&!_0x45a54a['server']&&!_0x45a54a['noServer']||_0x45a54a[_0x5aa9bd(0x32a)]!=null&&(_0x45a54a[_0x5aa9bd(0x348)]||_0x45a54a[_0x5aa9bd(0x327)])||_0x45a54a[_0x5aa9bd(0x348)]&&_0x45a54a[_0x5aa9bd(0x327)])throw new TypeError(_0x5aa9bd(0x28c));if(_0x45a54a['port']!=null?(this[_0x5aa9bd(0x258)]=_0x889a78[_0x5aa9bd(0x1d6)]((_0xce94f2,_0x8eb218)=>{const _0x34aaf7=_0x5aa9bd,_0x1c540c=_0x889a78[_0x34aaf7(0x36c)][0x1aa];_0x8eb218[_0x34aaf7(0x1c6)](0x1aa,{'Content-Length':_0x1c540c[_0x34aaf7(0x36f)],'Content-Type':_0x34aaf7(0x34a)}),_0x8eb218[_0x34aaf7(0x270)](_0x1c540c);}),this[_0x5aa9bd(0x258)][_0x5aa9bd(0x24f)](_0x45a54a[_0x5aa9bd(0x32a)],_0x45a54a['host'],_0x45a54a[_0x5aa9bd(0x1c7)],_0x23ad5b)):_0x45a54a[_0x5aa9bd(0x348)]&&(this['_server']=_0x45a54a[_0x5aa9bd(0x348)]),this['_server']){const _0x4d2880=this[_0x5aa9bd(0x254)][_0x5aa9bd(0x1e8)](this,_0x5aa9bd(0x325));this[_0x5aa9bd(0x31d)]=_0x58b35f(this[_0x5aa9bd(0x258)],{'listening':this[_0x5aa9bd(0x254)]['bind'](this,_0x5aa9bd(0x339)),'error':this[_0x5aa9bd(0x254)][_0x5aa9bd(0x1e8)](this,'error'),'upgrade':(_0x1e2f22,_0x41fdf5,_0x43ba89)=>{const _0x484449=_0x5aa9bd;this[_0x484449(0x256)](_0x1e2f22,_0x41fdf5,_0x43ba89,_0x4d2880);}});}_0x45a54a[_0x5aa9bd(0x283)]===!0x0&&(_0x45a54a['perMessageDeflate']={}),_0x45a54a['clientTracking']&&(this['clients']=new Set(),this[_0x5aa9bd(0x2fe)]=!0x1),this['options']=_0x45a54a,this[_0x5aa9bd(0x33d)]=_0x179135;}[_0x2d3dd5(0x309)](){const _0x3eff5b=_0x2d3dd5;if(this[_0x3eff5b(0x29e)]['noServer'])throw new Error(_0x3eff5b(0x1ed));return this[_0x3eff5b(0x258)]?this['_server'][_0x3eff5b(0x309)]():null;}[_0x2d3dd5(0x250)](_0x499fc5){const _0x4af5bd=_0x2d3dd5;if(this[_0x4af5bd(0x33d)]===_0x27f89a){_0x499fc5&&this['once'](_0x4af5bd(0x250),()=>{_0x499fc5(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x4af5bd(0x313)](_0x11a9da,this);return;}if(_0x499fc5&&this[_0x4af5bd(0x22d)]('close',_0x499fc5),this[_0x4af5bd(0x33d)]!==_0x2ada6e){if(this[_0x4af5bd(0x33d)]=_0x2ada6e,this['options'][_0x4af5bd(0x327)]||this[_0x4af5bd(0x29e)][_0x4af5bd(0x348)])this[_0x4af5bd(0x258)]&&(this['_removeListeners'](),this[_0x4af5bd(0x31d)]=this[_0x4af5bd(0x258)]=null),this['clients']?this['clients'][_0x4af5bd(0x201)]?this[_0x4af5bd(0x2fe)]=!0x0:process['nextTick'](_0x11a9da,this):process[_0x4af5bd(0x313)](_0x11a9da,this);else{const _0x3f2fd1=this[_0x4af5bd(0x258)];this[_0x4af5bd(0x31d)](),this[_0x4af5bd(0x31d)]=this[_0x4af5bd(0x258)]=null,_0x3f2fd1['close'](()=>{_0x11a9da(this);});}}}['shouldHandle'](_0x5ab848){const _0x23e48d=_0x2d3dd5;if(this[_0x23e48d(0x29e)][_0x23e48d(0x28f)]){const _0x15b562=_0x5ab848[_0x23e48d(0x321)][_0x23e48d(0x2c5)]('?');if((_0x15b562!==-0x1?_0x5ab848['url']['slice'](0x0,_0x15b562):_0x5ab848[_0x23e48d(0x321)])!==this['options'][_0x23e48d(0x28f)])return!0x1;}return!0x0;}[_0x2d3dd5(0x256)](_0x1dfe00,_0x3c1a26,_0x1e3a3b,_0x1dce76){const _0x2dfca0=_0x2d3dd5;_0x3c1a26['on'](_0x2dfca0(0x1df),_0x251738);const _0x4a20ca=_0x1dfe00[_0x2dfca0(0x352)][_0x2dfca0(0x219)],_0x3c0259=_0x1dfe00[_0x2dfca0(0x352)][_0x2dfca0(0x226)],_0x2109c0=+_0x1dfe00[_0x2dfca0(0x352)][_0x2dfca0(0x345)];if(_0x1dfe00[_0x2dfca0(0x25f)]!==_0x2dfca0(0x2fd)){_0x37e3ab(this,_0x1dfe00,_0x3c1a26,0x195,_0x2dfca0(0x2d4));return;}if(_0x3c0259===void 0x0||_0x3c0259['toLowerCase']()!==_0x2dfca0(0x231)){_0x37e3ab(this,_0x1dfe00,_0x3c1a26,0x190,_0x2dfca0(0x310));return;}if(_0x4a20ca===void 0x0||!_0x4a1b49[_0x2dfca0(0x379)](_0x4a20ca)){_0x37e3ab(this,_0x1dfe00,_0x3c1a26,0x190,_0x2dfca0(0x20d));return;}if(_0x2109c0!==0xd&&_0x2109c0!==0x8){_0x37e3ab(this,_0x1dfe00,_0x3c1a26,0x190,_0x2dfca0(0x2a8),{'Sec-WebSocket-Version':_0x2dfca0(0x2ac)});return;}if(!this[_0x2dfca0(0x2b7)](_0x1dfe00)){_0x4e62dc(_0x3c1a26,0x190);return;}const _0x50cdf7=_0x1dfe00[_0x2dfca0(0x352)][_0x2dfca0(0x2cb)];let _0x2a295f=new Set();if(_0x50cdf7!==void 0x0)try{_0x2a295f=_0x198b67[_0x2dfca0(0x1d3)](_0x50cdf7);}catch{_0x37e3ab(this,_0x1dfe00,_0x3c1a26,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x23db1e=_0x1dfe00[_0x2dfca0(0x352)][_0x2dfca0(0x2a2)],_0x5a64e4={};if(this['options'][_0x2dfca0(0x283)]&&_0x23db1e!==void 0x0){const _0x173909=new _0x4b300f(this[_0x2dfca0(0x29e)][_0x2dfca0(0x283)],!0x0,this[_0x2dfca0(0x29e)][_0x2dfca0(0x215)]);try{const _0x254dd0=_0x457432[_0x2dfca0(0x1d3)](_0x23db1e);_0x254dd0[_0x4b300f[_0x2dfca0(0x2a1)]]&&(_0x173909['accept'](_0x254dd0[_0x4b300f[_0x2dfca0(0x2a1)]]),_0x5a64e4[_0x4b300f['extensionName']]=_0x173909);}catch{_0x37e3ab(this,_0x1dfe00,_0x3c1a26,0x190,_0x2dfca0(0x26d));return;}}if(this[_0x2dfca0(0x29e)][_0x2dfca0(0x23e)]){const _0x53b1d8={'origin':_0x1dfe00[_0x2dfca0(0x352)][''+(_0x2109c0===0x8?_0x2dfca0(0x2b1):'origin')],'secure':!!(_0x1dfe00[_0x2dfca0(0x36e)][_0x2dfca0(0x290)]||_0x1dfe00[_0x2dfca0(0x36e)][_0x2dfca0(0x1d0)]),'req':_0x1dfe00};if(this[_0x2dfca0(0x29e)][_0x2dfca0(0x23e)]['length']===0x2){this['options'][_0x2dfca0(0x23e)](_0x53b1d8,(_0x3ab1ed,_0x20a8b7,_0x4464a8,_0x4b3cfb)=>{const _0xb7b773=_0x2dfca0;if(!_0x3ab1ed)return _0x4e62dc(_0x3c1a26,_0x20a8b7||0x191,_0x4464a8,_0x4b3cfb);this[_0xb7b773(0x300)](_0x5a64e4,_0x4a20ca,_0x2a295f,_0x1dfe00,_0x3c1a26,_0x1e3a3b,_0x1dce76);});return;}if(!this[_0x2dfca0(0x29e)]['verifyClient'](_0x53b1d8))return _0x4e62dc(_0x3c1a26,0x191);}this['completeUpgrade'](_0x5a64e4,_0x4a20ca,_0x2a295f,_0x1dfe00,_0x3c1a26,_0x1e3a3b,_0x1dce76);}['completeUpgrade'](_0x13119a,_0x24eaf6,_0x33d868,_0x9260f4,_0xb9bbef,_0xe20268,_0x30d323){const _0x2658dd=_0x2d3dd5;if(!_0xb9bbef['readable']||!_0xb9bbef[_0x2658dd(0x317)])return _0xb9bbef[_0x2658dd(0x2f5)]();if(_0xb9bbef[_0x7cebdc])throw new Error(_0x2658dd(0x2c8));if(this['_state']>_0x179135)return _0x4e62dc(_0xb9bbef,0x1f7);const _0x263084=[_0x2658dd(0x373),'Upgrade:\x20websocket',_0x2658dd(0x2f0),_0x2658dd(0x245)+_0x2ac43d(_0x2658dd(0x284))[_0x2658dd(0x21e)](_0x24eaf6+_0x2ff94f)['digest'](_0x2658dd(0x22f))],_0x3ef092=new this['options'][(_0x2658dd(0x1fc))](null,void 0x0,this[_0x2658dd(0x29e)]);if(_0x33d868[_0x2658dd(0x201)]){const _0x1d1c98=this['options']['handleProtocols']?this[_0x2658dd(0x29e)][_0x2658dd(0x274)](_0x33d868,_0x9260f4):_0x33d868[_0x2658dd(0x223)]()[_0x2658dd(0x1c9)]()[_0x2658dd(0x1d1)];_0x1d1c98&&(_0x263084[_0x2658dd(0x332)](_0x2658dd(0x2d6)+_0x1d1c98),_0x3ef092[_0x2658dd(0x2f3)]=_0x1d1c98);}if(_0x13119a[_0x4b300f['extensionName']]){const _0x2beaae=_0x13119a[_0x4b300f['extensionName']]['params'],_0x246f20=_0x457432[_0x2658dd(0x324)]({[_0x4b300f['extensionName']]:[_0x2beaae]});_0x263084['push'](_0x2658dd(0x2d0)+_0x246f20),_0x3ef092['_extensions']=_0x13119a;}this[_0x2658dd(0x254)](_0x2658dd(0x352),_0x263084,_0x9260f4),_0xb9bbef['write'](_0x263084[_0x2658dd(0x334)]('\x0d\x0a')['join']('\x0d\x0a')),_0xb9bbef[_0x2658dd(0x30f)](_0x2658dd(0x1df),_0x251738),_0x3ef092[_0x2658dd(0x2ea)](_0xb9bbef,_0xe20268,{'allowSynchronousEvents':this['options'][_0x2658dd(0x298)],'maxPayload':this[_0x2658dd(0x29e)][_0x2658dd(0x215)],'skipUTF8Validation':this[_0x2658dd(0x29e)][_0x2658dd(0x227)]}),this[_0x2658dd(0x265)]&&(this[_0x2658dd(0x265)]['add'](_0x3ef092),_0x3ef092['on'](_0x2658dd(0x250),()=>{const _0x46904d=_0x2658dd;this['clients'][_0x46904d(0x205)](_0x3ef092),this['_shouldEmitClose']&&!this['clients'][_0x46904d(0x201)]&&process[_0x46904d(0x313)](_0x11a9da,this);})),_0x30d323(_0x3ef092,_0x9260f4);}}Te=_0x3db0ed;function _0x58b35f(_0x2a1015,_0x2c202c){const _0x43fd5c=_0x2d3dd5;for(const _0x8a2730 of Object[_0x43fd5c(0x247)](_0x2c202c))_0x2a1015['on'](_0x8a2730,_0x2c202c[_0x8a2730]);return function(){const _0x346a2a=_0x43fd5c;for(const _0x3fccfd of Object[_0x346a2a(0x247)](_0x2c202c))_0x2a1015[_0x346a2a(0x30f)](_0x3fccfd,_0x2c202c[_0x3fccfd]);};}function _0x11a9da(_0x89d5f4){const _0x3502d2=_0x2d3dd5;_0x89d5f4[_0x3502d2(0x33d)]=_0x27f89a,_0x89d5f4[_0x3502d2(0x254)](_0x3502d2(0x250));}function _0x251738(){const _0x337aa0=_0x2d3dd5;this[_0x337aa0(0x2f5)]();}function _0x4e62dc(_0x4a0c2f,_0x3a31a8,_0x2e8984,_0x27a335){const _0x40ed64=_0x2d3dd5;_0x2e8984=_0x2e8984||_0x889a78['STATUS_CODES'][_0x3a31a8],_0x27a335={'Connection':_0x40ed64(0x250),'Content-Type':'text/html','Content-Length':Buffer[_0x40ed64(0x24b)](_0x2e8984),..._0x27a335},_0x4a0c2f['once']('finish',_0x4a0c2f['destroy']),_0x4a0c2f[_0x40ed64(0x270)](_0x40ed64(0x1be)+_0x3a31a8+'\x20'+_0x889a78[_0x40ed64(0x36c)][_0x3a31a8]+'\x0d\x0a'+Object[_0x40ed64(0x247)](_0x27a335)['map'](_0x21e9a8=>_0x21e9a8+':\x20'+_0x27a335[_0x21e9a8])['join']('\x0d\x0a')+_0x40ed64(0x293)+_0x2e8984);}function _0x37e3ab(_0x2aaa17,_0x51657b,_0x1fc0da,_0x4a0c75,_0x49699c,_0x5c3665){const _0x47be83=_0x2d3dd5;if(_0x2aaa17[_0x47be83(0x2d5)]('wsClientError')){const _0x5a4db1=new Error(_0x49699c);Error['captureStackTrace'](_0x5a4db1,_0x37e3ab),_0x2aaa17[_0x47be83(0x254)](_0x47be83(0x2a4),_0x5a4db1,_0x1fc0da,_0x51657b);}else _0x4e62dc(_0x1fc0da,_0x4a0c75,_0x49699c,_0x5c3665);}return Te;}Ft();var jt=Object[_0x1875f0(0x36d)],Wt=(_0x4194da,_0x3cde8c,_0x2fd62a,_0x3f45cc)=>{for(var _0x57eae0=_0x3f45cc>0x1?void 0x0:_0x3f45cc?jt(_0x3cde8c,_0x2fd62a):_0x3cde8c,_0x9a4f62=_0x4194da['length']-0x1,_0x9ea19a;_0x9a4f62>=0x0;_0x9a4f62--)(_0x9ea19a=_0x4194da[_0x9a4f62])&&(_0x57eae0=_0x9ea19a(_0x57eae0)||_0x57eae0);return _0x57eae0;},qt=(_0x501355,_0x12b39b)=>(_0x933930,_0x3245c6)=>_0x12b39b(_0x933930,_0x3245c6,_0x501355);let ke=class extends A[_0x1875f0(0x29b)]{constructor(_0xb1be3e){const _0x480e58=_0x1875f0;super(),this[_0x480e58(0x211)]=_0xb1be3e;}[_0x1875f0(0x1c8)](_0xdca40){const _0x17bbfd=_0x1875f0;var _0x10ae80;const _0x203afd=(_0x10ae80=this[_0x17bbfd(0x211)][_0x17bbfd(0x356)](fe))==null?void 0x0:_0x10ae80[_0x17bbfd(0x311)];try{const _0x662edb=new $t(_0xdca40,{'headers':{..._0x203afd}}),_0x44f965=new A[(_0x17bbfd(0x21a))]();return{'URL':_0xdca40,'close':(_0x4ff110,_0x399767)=>{const _0x1afc22=_0x17bbfd;_0x662edb[_0x1afc22(0x250)](_0x4ff110,_0x399767),_0x44f965[_0x1afc22(0x33a)]();},'send':_0x4ea273=>{const _0x3af0c3=_0x17bbfd;_0x662edb[_0x3af0c3(0x266)](_0x4ea273);},'open$':new V['Observable'](_0x2055e0=>{const _0x3bef50=_0x17bbfd,_0x19c46b=_0x203a81=>_0x2055e0[_0x3bef50(0x1c9)](_0x203a81);_0x662edb[_0x3bef50(0x273)](_0x3bef50(0x304),_0x19c46b),_0x44f965[_0x3bef50(0x297)](A[_0x3bef50(0x2f1)](()=>_0x662edb['removeEventListener'](_0x3bef50(0x304),_0x19c46b)));})[_0x17bbfd(0x25a)](V[_0x17bbfd(0x319)]()),'close$':new V[(_0x17bbfd(0x2b3))](_0x136308=>{const _0x1bd2bb=_0x17bbfd,_0x3153be=_0x1f1674=>_0x136308['next'](_0x1f1674);_0x662edb[_0x1bd2bb(0x273)]('close',_0x3153be),_0x44f965[_0x1bd2bb(0x297)](A[_0x1bd2bb(0x2f1)](()=>_0x662edb[_0x1bd2bb(0x27a)](_0x1bd2bb(0x250),_0x3153be)));})[_0x17bbfd(0x25a)](V[_0x17bbfd(0x319)]()),'error$':new V[(_0x17bbfd(0x2b3))](_0x105b09=>{const _0x26b819=_0x17bbfd,_0x3ed539=_0x1745fc=>_0x105b09[_0x26b819(0x1c9)](_0x1745fc);_0x662edb[_0x26b819(0x273)]('error',_0x3ed539),_0x44f965['add'](A[_0x26b819(0x2f1)](()=>_0x662edb[_0x26b819(0x27a)]('error',_0x3ed539)));})[_0x17bbfd(0x25a)](V[_0x17bbfd(0x319)]()),'message$':new V['Observable'](_0x2ea3a4=>{const _0x4c3e67=_0x17bbfd,_0x55f4b7=_0x58e19b=>_0x2ea3a4[_0x4c3e67(0x1c9)](_0x58e19b);_0x662edb[_0x4c3e67(0x273)](_0x4c3e67(0x1d5),_0x55f4b7),_0x44f965[_0x4c3e67(0x297)](A[_0x4c3e67(0x2f1)](()=>_0x662edb[_0x4c3e67(0x27a)](_0x4c3e67(0x1d5),_0x55f4b7)));})[_0x17bbfd(0x25a)](V[_0x17bbfd(0x319)]())};}catch(_0x169c78){return console['error'](_0x169c78),null;}}};ke=Wt([qt(0x0,A[_0x1875f0(0x2df)])],ke);var Gt=Object[_0x1875f0(0x37b)],Vt=Object[_0x1875f0(0x36d)],Ht=(_0x1c4f15,_0x77841a,_0x35dbd2)=>_0x77841a in _0x1c4f15?Gt(_0x1c4f15,_0x77841a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x35dbd2}):_0x1c4f15[_0x77841a]=_0x35dbd2,zt=(_0x114f9f,_0x3d8936,_0x5ad6b2,_0x5e47fa)=>{for(var _0x23a511=_0x5e47fa>0x1?void 0x0:_0x5e47fa?Vt(_0x3d8936,_0x5ad6b2):_0x3d8936,_0x3d9ab1=_0x114f9f['length']-0x1,_0x2cac96;_0x3d9ab1>=0x0;_0x3d9ab1--)(_0x2cac96=_0x114f9f[_0x3d9ab1])&&(_0x23a511=_0x2cac96(_0x23a511)||_0x23a511);return _0x23a511;},Ne=(_0x5cec63,_0x12b487)=>(_0x3f8975,_0x52f6cc)=>_0x12b487(_0x3f8975,_0x52f6cc,_0x5cec63),Yt=(_0x31920f,_0x12ffc3,_0x3964cd)=>Ht(_0x31920f,_0x12ffc3+'',_0x3964cd);exports[_0x1875f0(0x206)]=class extends A[_0x1875f0(0x363)]{constructor(_0x5f36e9=Ct,_0x2f06ca,_0x1e2a9e,_0x506de3){const _0x59db83=_0x1875f0;_0x5f36e9[_0x59db83(0x311)]||_0x2f06ca['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x59db83(0x211)]=_0x1e2a9e,this[_0x59db83(0x35f)]=_0x506de3,this[_0x59db83(0x211)][_0x59db83(0x200)](fe,_0x5f36e9);}[_0x1875f0(0x1c5)](){const _0x1647a0=_0x1875f0;this[_0x1647a0(0x295)]();}['_registerDependencies'](){const _0x4116fe=_0x1875f0;A['registerDependencies'](this[_0x4116fe(0x35f)],[[it[_0x4116fe(0x255)],{'useClass':ke}]]);}},Yt(exports[_0x1875f0(0x206)],_0x1875f0(0x251),_0x1875f0(0x22b)),exports[_0x1875f0(0x206)]=zt([A[_0x1875f0(0x1f7)](st['UniverCollaborationClientPlugin']),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x1875f0(0x2df)]),Ne(0x3,A[_0x1875f0(0x20b)](A[_0x1875f0(0x1ce)]))],exports[_0x1875f0(0x206)]);var Kt=Object[_0x1875f0(0x36d)],Xt=(_0x156621,_0x1042b5,_0x162cae,_0x1f1374)=>{for(var _0x5cdd95=_0x1f1374>0x1?void 0x0:_0x1f1374?Kt(_0x1042b5,_0x162cae):_0x1042b5,_0xce5263=_0x156621['length']-0x1,_0x56f70d;_0xce5263>=0x0;_0xce5263--)(_0x56f70d=_0x156621[_0xce5263])&&(_0x5cdd95=_0x56f70d(_0x5cdd95)||_0x5cdd95);return _0x5cdd95;},ne=(_0x256b3f,_0x2c7c11)=>(_0x5c912a,_0x4f0484)=>_0x2c7c11(_0x5c912a,_0x4f0484,_0x256b3f);exports['NodeCollaborationSocketService']=class extends st[_0x1875f0(0x239)]{constructor(_0xdd0069,_0x227b6a,_0x25626c,_0x4cb2bc,_0x1ee294){const _0x520209=_0x1875f0;super(_0xdd0069,_0x227b6a,_0x25626c,_0x4cb2bc,_0x1ee294);const _0x422b36=this[_0x520209(0x211)][_0x520209(0x356)](fe);this[_0x520209(0x2c6)][_0x520209(0x2bf)]({'interceptor':(_0x4a6549,_0x169a8a)=>{const _0x5de11=_0x520209;var _0x5c175a;const _0x3f23ef=_0x4a6549[_0x5de11(0x352)];return(_0x5c175a=_0x422b36==null?void 0x0:_0x422b36['customHeaders'])!=null&&_0x5c175a[_0x5de11(0x2ba)]&&_0x3f23ef[_0x5de11(0x351)](_0x5de11(0x365),_0x422b36[_0x5de11(0x311)][_0x5de11(0x2ba)]),_0x169a8a(_0x4a6549);}});}async['createSocket'](_0x5b2923){return this['_doCreateSocket'](_0x5b2923);}},exports[_0x1875f0(0x30d)]=Xt([ne(0x0,A[_0x1875f0(0x20b)](A[_0x1875f0(0x1ce)])),ne(0x1,A[_0x1875f0(0x20b)](it[_0x1875f0(0x23a)])),ne(0x2,A[_0x1875f0(0x2df)]),ne(0x3,A[_0x1875f0(0x1eb)]),ne(0x4,Ot[_0x1875f0(0x1e7)])],exports[_0x1875f0(0x30d)]),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
1
+ 'use strict';const _0xc18ba=_0x58f7;(function(_0x1753ae,_0x4f1280){const _0x27177f=_0x58f7,_0x4aa75b=_0x1753ae();while(!![]){try{const _0x584e80=-parseInt(_0x27177f(0x241))/0x1+parseInt(_0x27177f(0x1ac))/0x2*(-parseInt(_0x27177f(0x265))/0x3)+-parseInt(_0x27177f(0x30b))/0x4+-parseInt(_0x27177f(0x277))/0x5*(parseInt(_0x27177f(0x253))/0x6)+parseInt(_0x27177f(0x2d3))/0x7+-parseInt(_0x27177f(0x23b))/0x8*(-parseInt(_0x27177f(0x250))/0x9)+parseInt(_0x27177f(0x166))/0xa;if(_0x584e80===_0x4f1280)break;else _0x4aa75b['push'](_0x4aa75b['shift']());}catch(_0x120306){_0x4aa75b['push'](_0x4aa75b['shift']());}}}(_0x3940,0x7fec1));Object[_0xc18ba(0x2db)](exports,Symbol[_0xc18ba(0x21f)],{'value':'Module'});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0xc18ba(0x23d),Ct={'customHeaders':{}};function Tt(_0x14d965){const _0x1b9b91=_0xc18ba;return _0x14d965&&_0x14d965[_0x1b9b91(0x28f)]&&Object[_0x1b9b91(0x221)]['hasOwnProperty'][_0x1b9b91(0x19e)](_0x14d965,_0x1b9b91(0x2e7))?_0x14d965['default']:_0x14d965;}function at(_0x293fb3){const _0x32b36f=_0xc18ba;if(Object[_0x32b36f(0x221)]['hasOwnProperty'][_0x32b36f(0x19e)](_0x293fb3,_0x32b36f(0x28f)))return _0x293fb3;var _0x1d4793=_0x293fb3[_0x32b36f(0x2e7)];if(typeof _0x1d4793==_0x32b36f(0x1a3)){var _0x1cd2c1=function _0xca7c71(){const _0x480bd0=_0x32b36f;var _0x533457=!0x1;try{_0x533457=this instanceof _0xca7c71;}catch{}return _0x533457?Reflect['construct'](_0x1d4793,arguments,this[_0x480bd0(0x25a)]):_0x1d4793[_0x480bd0(0x1ee)](this,arguments);};_0x1cd2c1[_0x32b36f(0x221)]=_0x1d4793[_0x32b36f(0x221)];}else _0x1cd2c1={};return Object[_0x32b36f(0x2db)](_0x1cd2c1,'__esModule',{'value':!0x0}),Object[_0x32b36f(0x294)](_0x293fb3)[_0x32b36f(0x244)](function(_0x3a0727){const _0x11ae37=_0x32b36f;var _0x10e308=Object[_0x11ae37(0x192)](_0x293fb3,_0x3a0727);Object['defineProperty'](_0x1cd2c1,_0x3a0727,_0x10e308[_0x11ae37(0x1a4)]?_0x10e308:{'enumerable':!0x0,'get':function(){return _0x293fb3[_0x3a0727];}});}),_0x1cd2c1;}var se={'exports':{}},ge,Ge;function H(){const _0x3f61df=_0xc18ba;if(Ge)return ge;Ge=0x1;const _0x1109b5=[_0x3f61df(0x2f9),_0x3f61df(0x26c),_0x3f61df(0x27d)],_0x13d516=typeof Blob<'u';return _0x13d516&&_0x1109b5[_0x3f61df(0x236)](_0x3f61df(0x2df)),ge={'BINARY_TYPES':_0x1109b5,'EMPTY_BUFFER':Buffer[_0x3f61df(0x173)](0x0),'GUID':_0x3f61df(0x1f3),'hasBlob':_0x13d516,'kForOnEventAttribute':Symbol(_0x3f61df(0x2c1)),'kListener':Symbol(_0x3f61df(0x2da)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0xc18ba(0x1ce)](Object[_0xc18ba(0x2db)]({'__proto__':null,'default':Nt},Symbol[_0xc18ba(0x21f)],{'value':_0xc18ba(0x16a)})),Lt=at(kt);var Ve;function ce(){const _0x5e1156=_0xc18ba;if(Ve)return se[_0x5e1156(0x239)];Ve=0x1;const {EMPTY_BUFFER:_0x5a260e}=H(),_0x7c84=Buffer[Symbol[_0x5e1156(0x1bb)]];function _0x5c10e3(_0x1c59b6,_0x245907){const _0x3f12cc=_0x5e1156;if(_0x1c59b6[_0x3f12cc(0x1e0)]===0x0)return _0x5a260e;if(_0x1c59b6[_0x3f12cc(0x1e0)]===0x1)return _0x1c59b6[0x0];const _0x161d25=Buffer[_0x3f12cc(0x1b6)](_0x245907);let _0x42decb=0x0;for(let _0x299ccf=0x0;_0x299ccf<_0x1c59b6['length'];_0x299ccf++){const _0x5841f6=_0x1c59b6[_0x299ccf];_0x161d25[_0x3f12cc(0x307)](_0x5841f6,_0x42decb),_0x42decb+=_0x5841f6[_0x3f12cc(0x1e0)];}return _0x42decb<_0x245907?new _0x7c84(_0x161d25[_0x3f12cc(0x16f)],_0x161d25['byteOffset'],_0x42decb):_0x161d25;}function _0x5d21d6(_0x17bb9f,_0x3f6171,_0x5268b5,_0x39741e,_0x5648b9){for(let _0x177c46=0x0;_0x177c46<_0x5648b9;_0x177c46++)_0x5268b5[_0x39741e+_0x177c46]=_0x17bb9f[_0x177c46]^_0x3f6171[_0x177c46&0x3];}function _0x50a74d(_0x3ae454,_0x28659a){const _0xee559d=_0x5e1156;for(let _0x34f078=0x0;_0x34f078<_0x3ae454[_0xee559d(0x1e0)];_0x34f078++)_0x3ae454[_0x34f078]^=_0x28659a[_0x34f078&0x3];}function _0x3a470a(_0x5b0496){const _0x274e22=_0x5e1156;return _0x5b0496['length']===_0x5b0496[_0x274e22(0x16f)][_0x274e22(0x270)]?_0x5b0496[_0x274e22(0x16f)]:_0x5b0496[_0x274e22(0x16f)][_0x274e22(0x1f4)](_0x5b0496['byteOffset'],_0x5b0496[_0x274e22(0x29d)]+_0x5b0496[_0x274e22(0x1e0)]);}function _0xced99e(_0x4ed6d2){const _0x3416ad=_0x5e1156;if(_0xced99e['readOnly']=!0x0,Buffer['isBuffer'](_0x4ed6d2))return _0x4ed6d2;let _0x3529a9;return _0x4ed6d2 instanceof ArrayBuffer?_0x3529a9=new _0x7c84(_0x4ed6d2):ArrayBuffer[_0x3416ad(0x170)](_0x4ed6d2)?_0x3529a9=new _0x7c84(_0x4ed6d2[_0x3416ad(0x16f)],_0x4ed6d2[_0x3416ad(0x29d)],_0x4ed6d2['byteLength']):(_0x3529a9=Buffer[_0x3416ad(0x185)](_0x4ed6d2),_0xced99e[_0x3416ad(0x299)]=!0x1),_0x3529a9;}if(se[_0x5e1156(0x239)]={'concat':_0x5c10e3,'mask':_0x5d21d6,'toArrayBuffer':_0x3a470a,'toBuffer':_0xced99e,'unmask':_0x50a74d},!process[_0x5e1156(0x1fa)]['WS_NO_BUFFER_UTIL'])try{const _0x257b51=Lt;se[_0x5e1156(0x239)][_0x5e1156(0x27e)]=function(_0x20b213,_0x4df895,_0x51a215,_0x1eb511,_0x5311c4){_0x5311c4<0x30?_0x5d21d6(_0x20b213,_0x4df895,_0x51a215,_0x1eb511,_0x5311c4):_0x257b51['mask'](_0x20b213,_0x4df895,_0x51a215,_0x1eb511,_0x5311c4);},se[_0x5e1156(0x239)]['unmask']=function(_0x176fe4,_0x32b58f){const _0x255b3d=_0x5e1156;_0x176fe4[_0x255b3d(0x1e0)]<0x20?_0x50a74d(_0x176fe4,_0x32b58f):_0x257b51[_0x255b3d(0x172)](_0x176fe4,_0x32b58f);};}catch{}return se['exports'];}function _0x3940(){const _0x25e562=['join','client_max_window_bits','WS_ERR_INVALID_OPCODE','_doCreateSocket','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','slice','Plugin','clientMaxWindowBits','_deflate','startLoop','kWasClean','env','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','getPayloadLength64','_state','reset','generateMask','invalid\x20opcode\x200','finishRequest','handleEvent','removeAllListeners','server_no_context_takeover','readUInt16BE','_extensions','_closeTimer','string','end','FIN\x20must\x20be\x20set','Invalid\x20URL:\x20','noServer','_skipUTF8Validation','wss:','consume','authorized','protocolVersion','getPayloadLength16','maskBuffer','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','removeEventListener','Server\x20sent\x20an\x20invalid\x20subprotocol','writable','listeners','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','UniverCollaborationClientPlugin','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','skipUTF8Validation','_fragmented','ws+unix:','toStringTag','sec-websocket-key','prototype','_injector','defaultPort','_closeCode','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','sec-websocket-version','getConfig','kData','object','timeout','_allowSynchronousEvents','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','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','_shouldEmitClose','_mask','arrayBuffer','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','pow','Upgrade','pluginName','_removeListeners','push','message','createServer','exports','setConfig','360yqoyDn','_socket','collaboration-client-node.config','Z_DEFAULT_WINDOWBITS','target','kRun','568218nUWnZP','\x22:\x20','_bufferedAmount','forEach','Invalid\x20WebSocket\x20frame:\x20','update','ws:','encrypted','backlog','toDisposable','MASK\x20must\x20be\x20set','terminate','writeHead','_redirects','_registerDependencies','132156nJdQVj','Origin','upgrade','420gcalWH','\x20(supported\x20versions:\x20','format','Blob','Unexpected\x20end\x20of\x20input','Invalid\x20HTTP\x20method','COLLABORATION_CLIENT_NODE_CONFIG_KEY','constructor','getMask','path','kMessage','clientNoContextTakeover','Upgrade:\x20websocket','url','kCode','isInteger','STATUS_CODES','socket','14124bAGrkz','followRedirects','Basic\x20','_writableState','warn','client_no_context_takeover','Invalid\x20Upgrade\x20header','arraybuffer','toString','number','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','byteLength','_bufferedBytes','redirect','finish','request','cookie','entries','18515pZkDPc','share','13,\x208','_readyState','concat','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','fragments','mask','clientTracking','kError','base64','WS_ERR_UNEXPECTED_MASK','readUInt32BE','CONNECTING','servername','_receiver','setHeader','errorEmitted','compress','_errored','normalizeParams','OPEN','pipe','abort','__esModule','createInflateRaw','_closeMessage','_server','_inflate','keys','serverNoContextTakeover','destroy','port','socketPath','readOnly','map','username','invalid\x20status\x20code\x20','byteOffset','_buffers','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','indexOf','Parameter\x20\x22','acceptAsServer','sendFrame','isArray','emitClose','listenerCount','_opcode','\x22\x20subprotocol\x20is\x20duplicated','isIP','_autoPong','dispose','_req','concurrency','createConnection','isPaused','_destroy','Connection:\x20Upgrade','_decompress','WS_ERR_INVALID_UTF8','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','kTarget','invalid\x20payload\x20length\x20','haveLength','CLOSING','dataMessage','binaryType','sec-websocket-origin','Sec-WebSocket-Accept:\x20','invalid\x20UTF-8\x20sequence','ping','text/plain','_originalHostOrSocketPath','kIsForOnEventAttribute','stream','_paused','customHeaders','values','kDone','registerHTTPInterceptor','ILogService','createSocket','_originalIpc','_compressed','isServer','_configService','hostname','conclude','sec-websocket-protocol','UniverCollaborationClientNodePlugin','needDrain','2302202FqkDpV','completeUpgrade','RSV1\x20must\x20be\x20clear','ISocketService','maxPayload','server_max_window_bits','onerror','kListener','defineProperty','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','dispatch','headers','blob','IConfigService','handleUpgrade','replace','toLowerCase','zlibInflateOptions','Observable','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','default','getInfo','binary','Invalid\x20Sec-WebSocket-Extensions\x20header','controlMessage','decompress','_firstFragment','extensionName','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_options','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_binaryType','serverMaxWindowBits','HTTPService','zlibDeflateOptions','open','Injector','nodebuffer','createError','_payloadLength','wasClean','uncork','_loop','pong','setTimeout','endEmitted','enqueue','handshakeTimeout','authorization','code','invalid\x20opcode\x20','set','catch','connect','_url','3860676dOnPds','has','_totalPayloadLength','acceptAsClient','client','_compress','_threshold','threshold','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','listen','HTTP/1.1\x20101\x20Switching\x20Protocols','drain','method','getBlobData','kAborted','https:','perMessageDeflate','next','_protocol','jobs','reason','protocol','removeListener','_closeFrameReceived','startsWith','Inject','verifyClient','Unsupported\x20protocol\x20version:\x20','password','read','setSocket','_generateMask','address','pause','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','13551480UkrCPx','digest','_messageLength','write','Module','offer','_readableState','DisposableCollection','http:','buffer','isView','_closeFrameSent','unmask','alloc','kReason','_queue','size','writeUInt16BE','location','resume','frame','params','sec-websocket-extensions','callback','_sender','DependentOn','clients','Max\x20payload\x20size\x20exceeded','send','wsClientError','auth','from','fin','nextTick','objectMode','_errorEmitted','once','Opening\x20handshake\x20has\x20timed\x20out','add','handleProtocols','_write','onclose','dequeue','unshift','getOwnPropertyDescriptor','WS_ERR_EXPECTED_MASK','getData','bufferedAmount','_maxPayload','permessage-deflate','create','server','Sec-WebSocket-Protocol','GET','allowSynchronousEvents','host','call','finished','kByteLength','error','Sec-WebSocket-Origin','function','get','parse','autoPong','charCodeAt','href','_originalSecure','onmessage','Sec-WebSocket-Protocol:\x20','12TdnxHa','options','Disposable','The\x20URL\x20contains\x20a\x20fragment\x20identifier','cleanup','websocket','Unexpected\x20server\x20response:\x20','readyState','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','CLOSED','allocUnsafe','_fin','pending','WS_ERR_EXPECTED_FIN','onopen','species','WS_ERR_UNEXPECTED_RSV_2_3','Invalid\x20Sec-WebSocket-Protocol\x20header','isValidUTF8','concurrencyLimit','WS_ERR_UNEXPECTED_RSV_1','addEventListener','emit','The\x20URL\x27s\x20pathname\x20is\x20empty','data','CollaborationSocketService','response','_isServer','shouldHandle','search','buffers','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','extensions','_no_context_takeover','freeze','_final','Invalid\x20value\x20for\x20parameter\x20\x22','unexpected-response','setNoDelay','split','NodeCollaborationSocketService','_maskBuffer','find','WebSocket','shift','registerDependencies','_max_window_bits','type','captureStackTrace','The\x20\x22','bind','includes','length','destroyed','close','sec-websocket-accept','Unexpected\x20character\x20at\x20index\x20','_masked','total-length','test','accept','rsv1','_fragments','flush','Cookie','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','apply'];_0x3940=function(){return _0x25e562;};return _0x3940();}var ye,He;function Pt(){const _0x3af985=_0xc18ba;if(He)return ye;He=0x1;const _0x5c9eb4=Symbol(_0x3af985(0x2c6)),_0x5bc395=Symbol(_0x3af985(0x240));class _0x4e0076{constructor(_0x2333ef){const _0x4f0336=_0x3af985;this[_0x5c9eb4]=()=>{this['pending']--,this[_0x5bc395]();},this[_0x4f0336(0x2ad)]=_0x2333ef||0x1/0x0,this['jobs']=[],this['pending']=0x0;}[_0x3af985(0x18c)](_0x42ed40){const _0x16ac4b=_0x3af985;this[_0x16ac4b(0x31e)][_0x16ac4b(0x236)](_0x42ed40),this[_0x5bc395]();}[_0x5bc395](){const _0xd6c67d=_0x3af985;if(this[_0xd6c67d(0x1b8)]!==this[_0xd6c67d(0x2ad)]&&this['jobs'][_0xd6c67d(0x1e0)]){const _0x4433dd=this[_0xd6c67d(0x31e)][_0xd6c67d(0x1d8)]();this[_0xd6c67d(0x1b8)]++,_0x4433dd(this[_0x5c9eb4]);}}}return ye=_0x4e0076,ye;}var ve,ze;function he(){const _0x405996=_0xc18ba;if(ze)return ve;ze=0x1;const _0x3aa4a1=bt,_0x2bd50d=ce(),_0x65e463=Pt(),{kStatusCode:_0x1130ac}=H(),_0x1222dc=Buffer[Symbol['species']],_0x4bf211=Buffer[_0x405996(0x185)]([0x0,0x0,0xff,0xff]),_0x25fba8=Symbol(_0x405996(0x197)),_0x1769a1=Symbol(_0x405996(0x1e6)),_0x525515=Symbol(_0x405996(0x17d)),_0x395763=Symbol(_0x405996(0x1ca)),_0x5315de=Symbol(_0x405996(0x1a1));let _0x3b25fb;class _0x475088{constructor(_0x1633c2,_0x549db0,_0x274e7f){const _0x410930=_0x405996;if(this['_maxPayload']=_0x274e7f|0x0,this[_0x410930(0x2f0)]=_0x1633c2||{},this[_0x410930(0x311)]=this[_0x410930(0x2f0)][_0x410930(0x312)]!==void 0x0?this['_options']['threshold']:0x400,this[_0x410930(0x1c7)]=!!_0x549db0,this[_0x410930(0x1f7)]=null,this[_0x410930(0x293)]=null,this[_0x410930(0x17b)]=null,!_0x3b25fb){const _0xedcf79=this['_options'][_0x410930(0x1bf)]!==void 0x0?this['_options'][_0x410930(0x1bf)]:0xa;_0x3b25fb=new _0x65e463(_0xedcf79);}}static get['extensionName'](){const _0x253ab7=_0x405996;return _0x253ab7(0x197);}[_0x405996(0x16b)](){const _0x4bd87c=_0x405996,_0x420824={};return this[_0x4bd87c(0x2f0)][_0x4bd87c(0x295)]&&(_0x420824[_0x4bd87c(0x204)]=!0x0),this[_0x4bd87c(0x2f0)][_0x4bd87c(0x25e)]&&(_0x420824['client_no_context_takeover']=!0x0),this['_options'][_0x4bd87c(0x2f4)]&&(_0x420824[_0x4bd87c(0x2d8)]=this[_0x4bd87c(0x2f0)][_0x4bd87c(0x2f4)]),this[_0x4bd87c(0x2f0)][_0x4bd87c(0x1f6)]?_0x420824['client_max_window_bits']=this[_0x4bd87c(0x2f0)][_0x4bd87c(0x1f6)]:this[_0x4bd87c(0x2f0)][_0x4bd87c(0x1f6)]==null&&(_0x420824[_0x4bd87c(0x1f0)]=!0x0),_0x420824;}[_0x405996(0x1e8)](_0x27a932){const _0x519737=_0x405996;return _0x27a932=this[_0x519737(0x28b)](_0x27a932),this[_0x519737(0x17b)]=this[_0x519737(0x1c7)]?this[_0x519737(0x2a2)](_0x27a932):this[_0x519737(0x30e)](_0x27a932),this[_0x519737(0x17b)];}['cleanup'](){const _0x5dbd2b=_0x405996;if(this['_inflate']&&(this[_0x5dbd2b(0x293)][_0x5dbd2b(0x1e2)](),this[_0x5dbd2b(0x293)]=null),this['_deflate']){const _0xe30692=this[_0x5dbd2b(0x1f7)][_0x525515];this[_0x5dbd2b(0x1f7)][_0x5dbd2b(0x1e2)](),this[_0x5dbd2b(0x1f7)]=null,_0xe30692&&_0xe30692(new Error(_0x5dbd2b(0x231)));}}[_0x405996(0x2a2)](_0x1cfa2b){const _0xd9a1f5=_0x405996,_0x25ee81=this['_options'],_0xfcbbcc=_0x1cfa2b[_0xd9a1f5(0x1d6)](_0x5217a7=>!(_0x25ee81[_0xd9a1f5(0x295)]===!0x1&&_0x5217a7[_0xd9a1f5(0x204)]||_0x5217a7['server_max_window_bits']&&(_0x25ee81[_0xd9a1f5(0x2f4)]===!0x1||typeof _0x25ee81[_0xd9a1f5(0x2f4)]==_0xd9a1f5(0x26e)&&_0x25ee81[_0xd9a1f5(0x2f4)]>_0x5217a7[_0xd9a1f5(0x2d8)])||typeof _0x25ee81['clientMaxWindowBits']==_0xd9a1f5(0x26e)&&!_0x5217a7['client_max_window_bits']));if(!_0xfcbbcc)throw new Error(_0xd9a1f5(0x313));return _0x25ee81['serverNoContextTakeover']&&(_0xfcbbcc[_0xd9a1f5(0x204)]=!0x0),_0x25ee81[_0xd9a1f5(0x25e)]&&(_0xfcbbcc['client_no_context_takeover']=!0x0),typeof _0x25ee81[_0xd9a1f5(0x2f4)]==_0xd9a1f5(0x26e)&&(_0xfcbbcc[_0xd9a1f5(0x2d8)]=_0x25ee81[_0xd9a1f5(0x2f4)]),typeof _0x25ee81[_0xd9a1f5(0x1f6)]==_0xd9a1f5(0x26e)?_0xfcbbcc[_0xd9a1f5(0x1f0)]=_0x25ee81[_0xd9a1f5(0x1f6)]:(_0xfcbbcc[_0xd9a1f5(0x1f0)]===!0x0||_0x25ee81[_0xd9a1f5(0x1f6)]===!0x1)&&delete _0xfcbbcc[_0xd9a1f5(0x1f0)],_0xfcbbcc;}[_0x405996(0x30e)](_0x901499){const _0x467326=_0x405996,_0x516655=_0x901499[0x0];if(this[_0x467326(0x2f0)][_0x467326(0x25e)]===!0x1&&_0x516655[_0x467326(0x26a)])throw new Error(_0x467326(0x26f));if(!_0x516655[_0x467326(0x1f0)])typeof this[_0x467326(0x2f0)][_0x467326(0x1f6)]==_0x467326(0x26e)&&(_0x516655[_0x467326(0x1f0)]=this[_0x467326(0x2f0)][_0x467326(0x1f6)]);else{if(this['_options'][_0x467326(0x1f6)]===!0x1||typeof this[_0x467326(0x2f0)][_0x467326(0x1f6)]==_0x467326(0x26e)&&_0x516655['client_max_window_bits']>this[_0x467326(0x2f0)][_0x467326(0x1f6)])throw new Error(_0x467326(0x1ed));}return _0x516655;}[_0x405996(0x28b)](_0x1dcfa7){const _0x38968e=_0x405996;return _0x1dcfa7[_0x38968e(0x244)](_0x37cff0=>{const _0x33ef2f=_0x38968e;Object[_0x33ef2f(0x294)](_0x37cff0)[_0x33ef2f(0x244)](_0x5a9528=>{const _0x293da5=_0x33ef2f;let _0x284d05=_0x37cff0[_0x5a9528];if(_0x284d05[_0x293da5(0x1e0)]>0x1)throw new Error(_0x293da5(0x2a1)+_0x5a9528+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x284d05=_0x284d05[0x0],_0x5a9528===_0x293da5(0x1f0)){if(_0x284d05!==!0x0){const _0x13f323=+_0x284d05;if(!Number[_0x293da5(0x262)](_0x13f323)||_0x13f323<0x8||_0x13f323>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5a9528+_0x293da5(0x242)+_0x284d05);_0x284d05=_0x13f323;}else{if(!this['_isServer'])throw new TypeError(_0x293da5(0x1d0)+_0x5a9528+'\x22:\x20'+_0x284d05);}}else{if(_0x5a9528===_0x293da5(0x2d8)){const _0x47c025=+_0x284d05;if(!Number['isInteger'](_0x47c025)||_0x47c025<0x8||_0x47c025>0xf)throw new TypeError(_0x293da5(0x1d0)+_0x5a9528+_0x293da5(0x242)+_0x284d05);_0x284d05=_0x47c025;}else{if(_0x5a9528==='client_no_context_takeover'||_0x5a9528===_0x293da5(0x204)){if(_0x284d05!==!0x0)throw new TypeError(_0x293da5(0x1d0)+_0x5a9528+_0x293da5(0x242)+_0x284d05);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x5a9528+'\x22');}}_0x37cff0[_0x5a9528]=_0x284d05;});}),_0x1dcfa7;}[_0x405996(0x2ec)](_0x3f11ab,_0x57e649,_0x2f218b){const _0x330b3e=_0x405996;_0x3b25fb[_0x330b3e(0x18c)](_0x1fa02f=>{const _0x3ea5c4=_0x330b3e;this[_0x3ea5c4(0x2b2)](_0x3f11ab,_0x57e649,(_0x48017d,_0x5b81c5)=>{_0x1fa02f(),_0x2f218b(_0x48017d,_0x5b81c5);});});}[_0x405996(0x289)](_0x4ac2f5,_0x4ddac2,_0x49e059){const _0x35bc5a=_0x405996;_0x3b25fb[_0x35bc5a(0x18c)](_0x1c78c1=>{this['_compress'](_0x4ac2f5,_0x4ddac2,(_0xb7c5aa,_0x16604d)=>{_0x1c78c1(),_0x49e059(_0xb7c5aa,_0x16604d);});});}[_0x405996(0x2b2)](_0x798e37,_0xf30878,_0x5b7ecf){const _0x2b9ee5=_0x405996,_0x4c6c9e=this[_0x2b9ee5(0x1c7)]?_0x2b9ee5(0x30f):_0x2b9ee5(0x199);if(!this[_0x2b9ee5(0x293)]){const _0x4b697d=_0x4c6c9e+_0x2b9ee5(0x1da),_0x36d840=typeof this[_0x2b9ee5(0x17b)][_0x4b697d]!=_0x2b9ee5(0x26e)?_0x3aa4a1[_0x2b9ee5(0x23e)]:this[_0x2b9ee5(0x17b)][_0x4b697d];this[_0x2b9ee5(0x293)]=_0x3aa4a1[_0x2b9ee5(0x290)]({...this['_options'][_0x2b9ee5(0x2e4)],'windowBits':_0x36d840}),this[_0x2b9ee5(0x293)][_0x25fba8]=this,this[_0x2b9ee5(0x293)][_0x1769a1]=0x0,this['_inflate'][_0x395763]=[],this['_inflate']['on'](_0x2b9ee5(0x1a1),_0x10df3d),this[_0x2b9ee5(0x293)]['on'](_0x2b9ee5(0x1c4),_0x103464);}this['_inflate'][_0x525515]=_0x5b7ecf,this['_inflate'][_0x2b9ee5(0x169)](_0x798e37),_0xf30878&&this[_0x2b9ee5(0x293)]['write'](_0x4bf211),this[_0x2b9ee5(0x293)]['flush'](()=>{const _0x1933a3=_0x2b9ee5,_0x578ef2=this['_inflate'][_0x5315de];if(_0x578ef2){this[_0x1933a3(0x293)][_0x1933a3(0x1e2)](),this[_0x1933a3(0x293)]=null,_0x5b7ecf(_0x578ef2);return;}const _0x152f11=_0x2bd50d[_0x1933a3(0x27b)](this[_0x1933a3(0x293)][_0x395763],this[_0x1933a3(0x293)][_0x1769a1]);this[_0x1933a3(0x293)][_0x1933a3(0x16c)][_0x1933a3(0x301)]?(this[_0x1933a3(0x293)][_0x1933a3(0x1e2)](),this['_inflate']=null):(this['_inflate'][_0x1769a1]=0x0,this[_0x1933a3(0x293)][_0x395763]=[],_0xf30878&&this[_0x1933a3(0x17b)][_0x4c6c9e+_0x1933a3(0x1cd)]&&this['_inflate'][_0x1933a3(0x1fe)]()),_0x5b7ecf(null,_0x152f11);});}[_0x405996(0x310)](_0x5c2397,_0x1ad09c,_0x5b42ea){const _0xf496d2=_0x405996,_0x4f7a14=this['_isServer']?_0xf496d2(0x199):_0xf496d2(0x30f);if(!this[_0xf496d2(0x1f7)]){const _0x1ae05f=_0x4f7a14+_0xf496d2(0x1da),_0x4ff001=typeof this['params'][_0x1ae05f]!='number'?_0x3aa4a1[_0xf496d2(0x23e)]:this[_0xf496d2(0x17b)][_0x1ae05f];this[_0xf496d2(0x1f7)]=_0x3aa4a1['createDeflateRaw']({...this[_0xf496d2(0x2f0)][_0xf496d2(0x2f6)],'windowBits':_0x4ff001}),this[_0xf496d2(0x1f7)][_0x1769a1]=0x0,this[_0xf496d2(0x1f7)][_0x395763]=[],this[_0xf496d2(0x1f7)]['on']('data',_0xd03090);}this['_deflate'][_0x525515]=_0x5b42ea,this[_0xf496d2(0x1f7)][_0xf496d2(0x169)](_0x5c2397),this[_0xf496d2(0x1f7)][_0xf496d2(0x1eb)](_0x3aa4a1['Z_SYNC_FLUSH'],()=>{const _0x4677b4=_0xf496d2;if(!this[_0x4677b4(0x1f7)])return;let _0x27f9e2=_0x2bd50d[_0x4677b4(0x27b)](this[_0x4677b4(0x1f7)][_0x395763],this['_deflate'][_0x1769a1]);_0x1ad09c&&(_0x27f9e2=new _0x1222dc(_0x27f9e2['buffer'],_0x27f9e2[_0x4677b4(0x29d)],_0x27f9e2['length']-0x4)),this[_0x4677b4(0x1f7)][_0x525515]=null,this[_0x4677b4(0x1f7)][_0x1769a1]=0x0,this['_deflate'][_0x395763]=[],_0x1ad09c&&this[_0x4677b4(0x17b)][_0x4f7a14+_0x4677b4(0x1cd)]&&this[_0x4677b4(0x1f7)][_0x4677b4(0x1fe)](),_0x5b42ea(null,_0x27f9e2);});}}ve=_0x475088;function _0xd03090(_0x28dda2){const _0x29f421=_0x405996;this[_0x395763]['push'](_0x28dda2),this[_0x1769a1]+=_0x28dda2[_0x29f421(0x1e0)];}function _0x103464(_0x4ed7a7){const _0x4fc4b3=_0x405996;if(this[_0x1769a1]+=_0x4ed7a7[_0x4fc4b3(0x1e0)],this[_0x25fba8][_0x4fc4b3(0x196)]<0x1||this[_0x1769a1]<=this[_0x25fba8][_0x4fc4b3(0x196)]){this[_0x395763][_0x4fc4b3(0x236)](_0x4ed7a7);return;}this[_0x5315de]=new RangeError(_0x4fc4b3(0x181)),this[_0x5315de]['code']=_0x4fc4b3(0x2dc),this[_0x5315de][_0x1130ac]=0x3f1,this[_0x4fc4b3(0x321)](_0x4fc4b3(0x1c4),_0x103464),this['reset']();}function _0x10df3d(_0x324c9e){const _0x513581=_0x405996;if(this[_0x25fba8][_0x513581(0x293)]=null,this[_0x5315de]){this[_0x525515](this[_0x5315de]);return;}_0x324c9e[_0x1130ac]=0x3ef,this[_0x525515](_0x324c9e);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0xc18ba(0x1ce)](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0xc18ba(0x21f)],{'value':_0xc18ba(0x16a)})),Bt=at(Rt);var Ye;function ae(){const _0x160134=_0xc18ba;if(Ye)return ie[_0x160134(0x239)];Ye=0x1;const {isUtf8:_0x112ac5}=wt,{hasBlob:_0x1f1b5d}=H(),_0x332ec4=[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 _0x4d02a1(_0xc67927){return _0xc67927>=0x3e8&&_0xc67927<=0x3f6&&_0xc67927!==0x3ec&&_0xc67927!==0x3ed&&_0xc67927!==0x3ee||_0xc67927>=0xbb8&&_0xc67927<=0x1387;}function _0x28498d(_0x41165e){const _0x4923d2=_0x160134,_0x599c85=_0x41165e[_0x4923d2(0x1e0)];let _0x1041d2=0x0;for(;_0x1041d2<_0x599c85;)if((_0x41165e[_0x1041d2]&0x80)===0x0)_0x1041d2++;else{if((_0x41165e[_0x1041d2]&0xe0)===0xc0){if(_0x1041d2+0x1===_0x599c85||(_0x41165e[_0x1041d2+0x1]&0xc0)!==0x80||(_0x41165e[_0x1041d2]&0xfe)===0xc0)return!0x1;_0x1041d2+=0x2;}else{if((_0x41165e[_0x1041d2]&0xf0)===0xe0){if(_0x1041d2+0x2>=_0x599c85||(_0x41165e[_0x1041d2+0x1]&0xc0)!==0x80||(_0x41165e[_0x1041d2+0x2]&0xc0)!==0x80||_0x41165e[_0x1041d2]===0xe0&&(_0x41165e[_0x1041d2+0x1]&0xe0)===0x80||_0x41165e[_0x1041d2]===0xed&&(_0x41165e[_0x1041d2+0x1]&0xe0)===0xa0)return!0x1;_0x1041d2+=0x3;}else{if((_0x41165e[_0x1041d2]&0xf8)===0xf0){if(_0x1041d2+0x3>=_0x599c85||(_0x41165e[_0x1041d2+0x1]&0xc0)!==0x80||(_0x41165e[_0x1041d2+0x2]&0xc0)!==0x80||(_0x41165e[_0x1041d2+0x3]&0xc0)!==0x80||_0x41165e[_0x1041d2]===0xf0&&(_0x41165e[_0x1041d2+0x1]&0xf0)===0x80||_0x41165e[_0x1041d2]===0xf4&&_0x41165e[_0x1041d2+0x1]>0x8f||_0x41165e[_0x1041d2]>0xf4)return!0x1;_0x1041d2+=0x4;}else return!0x1;}}}return!0x0;}function _0x57126e(_0x30df67){const _0x36380e=_0x160134;return _0x1f1b5d&&typeof _0x30df67==_0x36380e(0x229)&&typeof _0x30df67['arrayBuffer']==_0x36380e(0x1a3)&&typeof _0x30df67[_0x36380e(0x1db)]==_0x36380e(0x208)&&typeof _0x30df67[_0x36380e(0x2c2)]=='function'&&(_0x30df67[Symbol['toStringTag']]===_0x36380e(0x256)||_0x30df67[Symbol[_0x36380e(0x21f)]]==='File');}if(ie['exports']={'isBlob':_0x57126e,'isValidStatusCode':_0x4d02a1,'isValidUTF8':_0x28498d,'tokenChars':_0x332ec4},_0x112ac5)ie[_0x160134(0x239)][_0x160134(0x1be)]=function(_0x3bdf7e){return _0x3bdf7e['length']<0x18?_0x28498d(_0x3bdf7e):_0x112ac5(_0x3bdf7e);};else{if(!process[_0x160134(0x1fa)]['WS_NO_UTF_8_VALIDATE'])try{const _0x4aebcc=Bt;ie[_0x160134(0x239)]['isValidUTF8']=function(_0x2a9ce2){const _0x330fb3=_0x160134;return _0x2a9ce2[_0x330fb3(0x1e0)]<0x20?_0x28498d(_0x2a9ce2):_0x4aebcc(_0x2a9ce2);};}catch{}}return ie[_0x160134(0x239)];}var Se,Ke;function lt(){const _0x140b4f=_0xc18ba;if(Ke)return Se;Ke=0x1;const {Writable:_0x21e38a}=oe,_0x547ee8=he(),{BINARY_TYPES:_0x54fed9,EMPTY_BUFFER:_0x4c723b,kStatusCode:_0x5a63ed,kWebSocket:_0x32c734}=H(),{concat:_0x45361a,toArrayBuffer:_0x58c7f1,unmask:_0xb37a11}=ce(),{isValidStatusCode:_0x4a5d18,isValidUTF8:_0x2a7cf9}=ae(),_0x199fe8=Buffer[Symbol[_0x140b4f(0x1bb)]],_0x3cf563=0x0,_0x5a1efc=0x1,_0x318990=0x2,_0x365c41=0x3,_0x27a077=0x4,_0x37abd5=0x5,_0x22f241=0x6;class _0x3ec2e9 extends _0x21e38a{constructor(_0x5255f9={}){const _0xd6bf7b=_0x140b4f;super(),this[_0xd6bf7b(0x22b)]=_0x5255f9['allowSynchronousEvents']!==void 0x0?_0x5255f9[_0xd6bf7b(0x19c)]:!0x0,this[_0xd6bf7b(0x2f3)]=_0x5255f9['binaryType']||_0x54fed9[0x0],this[_0xd6bf7b(0x206)]=_0x5255f9[_0xd6bf7b(0x1cc)]||{},this['_isServer']=!!_0x5255f9[_0xd6bf7b(0x2cc)],this[_0xd6bf7b(0x196)]=_0x5255f9['maxPayload']|0x0,this['_skipUTF8Validation']=!!_0x5255f9[_0xd6bf7b(0x21c)],this[_0x32c734]=void 0x0,this['_bufferedBytes']=0x0,this[_0xd6bf7b(0x29e)]=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this[_0xd6bf7b(0x22f)]=void 0x0,this[_0xd6bf7b(0x21d)]=0x0,this[_0xd6bf7b(0x1e5)]=!0x1,this['_fin']=!0x1,this['_opcode']=0x0,this['_totalPayloadLength']=0x0,this[_0xd6bf7b(0x168)]=0x0,this[_0xd6bf7b(0x1ea)]=[],this[_0xd6bf7b(0x28a)]=!0x1,this[_0xd6bf7b(0x2fe)]=!0x1,this[_0xd6bf7b(0x1fd)]=_0x3cf563;}[_0x140b4f(0x18e)](_0x452e7f,_0x28853d,_0x3b7d76){const _0x2cb2c4=_0x140b4f;if(this['_opcode']===0x8&&this['_state']==_0x3cf563)return _0x3b7d76();this[_0x2cb2c4(0x271)]+=_0x452e7f[_0x2cb2c4(0x1e0)],this[_0x2cb2c4(0x29e)][_0x2cb2c4(0x236)](_0x452e7f),this[_0x2cb2c4(0x1f8)](_0x3b7d76);}['consume'](_0x45f027){const _0x52ccb5=_0x140b4f;if(this[_0x52ccb5(0x271)]-=_0x45f027,_0x45f027===this[_0x52ccb5(0x29e)][0x0][_0x52ccb5(0x1e0)])return this[_0x52ccb5(0x29e)][_0x52ccb5(0x1d8)]();if(_0x45f027<this[_0x52ccb5(0x29e)][0x0][_0x52ccb5(0x1e0)]){const _0xd49453=this[_0x52ccb5(0x29e)][0x0];return this['_buffers'][0x0]=new _0x199fe8(_0xd49453[_0x52ccb5(0x16f)],_0xd49453['byteOffset']+_0x45f027,_0xd49453[_0x52ccb5(0x1e0)]-_0x45f027),new _0x199fe8(_0xd49453[_0x52ccb5(0x16f)],_0xd49453[_0x52ccb5(0x29d)],_0x45f027);}const _0x3d886d=Buffer[_0x52ccb5(0x1b6)](_0x45f027);do{const _0x5d06e3=this[_0x52ccb5(0x29e)][0x0],_0x1c33a1=_0x3d886d['length']-_0x45f027;_0x45f027>=_0x5d06e3[_0x52ccb5(0x1e0)]?_0x3d886d[_0x52ccb5(0x307)](this['_buffers'][_0x52ccb5(0x1d8)](),_0x1c33a1):(_0x3d886d['set'](new Uint8Array(_0x5d06e3[_0x52ccb5(0x16f)],_0x5d06e3['byteOffset'],_0x45f027),_0x1c33a1),this[_0x52ccb5(0x29e)][0x0]=new _0x199fe8(_0x5d06e3[_0x52ccb5(0x16f)],_0x5d06e3[_0x52ccb5(0x29d)]+_0x45f027,_0x5d06e3['length']-_0x45f027)),_0x45f027-=_0x5d06e3[_0x52ccb5(0x1e0)];}while(_0x45f027>0x0);return _0x3d886d;}['startLoop'](_0x351ddb){const _0x5f0b26=_0x140b4f;this['_loop']=!0x0;do switch(this[_0x5f0b26(0x1fd)]){case _0x3cf563:this[_0x5f0b26(0x2e8)](_0x351ddb);break;case _0x5a1efc:this[_0x5f0b26(0x212)](_0x351ddb);break;case _0x318990:this[_0x5f0b26(0x1fc)](_0x351ddb);break;case _0x365c41:this[_0x5f0b26(0x25b)]();break;case _0x27a077:this[_0x5f0b26(0x194)](_0x351ddb);break;case _0x37abd5:case _0x22f241:this[_0x5f0b26(0x2fe)]=!0x1;return;}while(this[_0x5f0b26(0x2fe)]);this['_errored']||_0x351ddb();}['getInfo'](_0x1f24ba){const _0x5ac0a8=_0x140b4f;if(this[_0x5ac0a8(0x271)]<0x2){this[_0x5ac0a8(0x2fe)]=!0x1;return;}const _0x5ba7cd=this[_0x5ac0a8(0x20f)](0x2);if((_0x5ba7cd[0x0]&0x30)!==0x0){const _0x465b8d=this['createError'](RangeError,_0x5ac0a8(0x1fb),!0x0,0x3ea,_0x5ac0a8(0x1bc));_0x1f24ba(_0x465b8d);return;}const _0x4e8ae0=(_0x5ba7cd[0x0]&0x40)===0x40;if(_0x4e8ae0&&!this[_0x5ac0a8(0x206)][_0x547ee8[_0x5ac0a8(0x2ee)]]){const _0x373aec=this[_0x5ac0a8(0x2fa)](RangeError,_0x5ac0a8(0x2d5),!0x0,0x3ea,_0x5ac0a8(0x1c0));_0x1f24ba(_0x373aec);return;}if(this['_fin']=(_0x5ba7cd[0x0]&0x80)===0x80,this[_0x5ac0a8(0x2a7)]=_0x5ba7cd[0x0]&0xf,this['_payloadLength']=_0x5ba7cd[0x1]&0x7f,this[_0x5ac0a8(0x2a7)]===0x0){if(_0x4e8ae0){const _0x361f9c=this[_0x5ac0a8(0x2fa)](RangeError,_0x5ac0a8(0x2d5),!0x0,0x3ea,_0x5ac0a8(0x1c0));_0x1f24ba(_0x361f9c);return;}if(!this[_0x5ac0a8(0x21d)]){const _0x52621b=this[_0x5ac0a8(0x2fa)](RangeError,_0x5ac0a8(0x200),!0x0,0x3ea,_0x5ac0a8(0x1f1));_0x1f24ba(_0x52621b);return;}this[_0x5ac0a8(0x2a7)]=this[_0x5ac0a8(0x21d)];}else{if(this[_0x5ac0a8(0x2a7)]===0x1||this[_0x5ac0a8(0x2a7)]===0x2){if(this['_fragmented']){const _0x1bc3cb=this[_0x5ac0a8(0x2fa)](RangeError,_0x5ac0a8(0x306)+this[_0x5ac0a8(0x2a7)],!0x0,0x3ea,_0x5ac0a8(0x1f1));_0x1f24ba(_0x1bc3cb);return;}this[_0x5ac0a8(0x2cb)]=_0x4e8ae0;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this['_fin']){const _0x1febab=this[_0x5ac0a8(0x2fa)](RangeError,_0x5ac0a8(0x20a),!0x0,0x3ea,_0x5ac0a8(0x1b9));_0x1f24ba(_0x1febab);return;}if(_0x4e8ae0){const _0x1cc3ac=this[_0x5ac0a8(0x2fa)](RangeError,_0x5ac0a8(0x2d5),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1f24ba(_0x1cc3ac);return;}if(this['_payloadLength']>0x7d||this[_0x5ac0a8(0x2a7)]===0x8&&this[_0x5ac0a8(0x2fb)]===0x1){const _0x355ab9=this[_0x5ac0a8(0x2fa)](RangeError,_0x5ac0a8(0x2b6)+this['_payloadLength'],!0x0,0x3ea,_0x5ac0a8(0x2e6));_0x1f24ba(_0x355ab9);return;}}else{const _0x404283=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x5ac0a8(0x2a7)],!0x0,0x3ea,_0x5ac0a8(0x1f1));_0x1f24ba(_0x404283);return;}}}if(!this['_fin']&&!this[_0x5ac0a8(0x21d)]&&(this[_0x5ac0a8(0x21d)]=this[_0x5ac0a8(0x2a7)]),this[_0x5ac0a8(0x1e5)]=(_0x5ba7cd[0x1]&0x80)===0x80,this[_0x5ac0a8(0x1c7)]){if(!this[_0x5ac0a8(0x1e5)]){const _0x303172=this['createError'](RangeError,_0x5ac0a8(0x24b),!0x0,0x3ea,_0x5ac0a8(0x193));_0x1f24ba(_0x303172);return;}}else{if(this['_masked']){const _0x1e042d=this[_0x5ac0a8(0x2fa)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x5ac0a8(0x282));_0x1f24ba(_0x1e042d);return;}}this['_payloadLength']===0x7e?this[_0x5ac0a8(0x1fd)]=_0x5a1efc:this['_payloadLength']===0x7f?this[_0x5ac0a8(0x1fd)]=_0x318990:this[_0x5ac0a8(0x2b7)](_0x1f24ba);}[_0x140b4f(0x212)](_0x7b792a){const _0x577131=_0x140b4f;if(this[_0x577131(0x271)]<0x2){this['_loop']=!0x1;return;}this[_0x577131(0x2fb)]=this['consume'](0x2)[_0x577131(0x205)](0x0),this[_0x577131(0x2b7)](_0x7b792a);}[_0x140b4f(0x1fc)](_0x46ceb7){const _0x5bf103=_0x140b4f;if(this['_bufferedBytes']<0x8){this[_0x5bf103(0x2fe)]=!0x1;return;}const _0x1b4801=this[_0x5bf103(0x20f)](0x8),_0x384538=_0x1b4801[_0x5bf103(0x283)](0x0);if(_0x384538>Math['pow'](0x2,0x15)-0x1){const _0x28f54a=this['createError'](RangeError,_0x5bf103(0x214),!0x1,0x3f1,_0x5bf103(0x22c));_0x46ceb7(_0x28f54a);return;}this[_0x5bf103(0x2fb)]=_0x384538*Math[_0x5bf103(0x232)](0x2,0x20)+_0x1b4801[_0x5bf103(0x283)](0x4),this[_0x5bf103(0x2b7)](_0x46ceb7);}['haveLength'](_0x5c1d14){const _0x5661de=_0x140b4f;if(this[_0x5661de(0x2fb)]&&this['_opcode']<0x8&&(this[_0x5661de(0x30d)]+=this[_0x5661de(0x2fb)],this[_0x5661de(0x30d)]>this[_0x5661de(0x196)]&&this[_0x5661de(0x196)]>0x0)){const _0x4c977b=this[_0x5661de(0x2fa)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x5c1d14(_0x4c977b);return;}this[_0x5661de(0x1e5)]?this[_0x5661de(0x1fd)]=_0x365c41:this[_0x5661de(0x1fd)]=_0x27a077;}[_0x140b4f(0x25b)](){const _0x405319=_0x140b4f;if(this[_0x405319(0x271)]<0x4){this[_0x405319(0x2fe)]=!0x1;return;}this[_0x405319(0x22f)]=this[_0x405319(0x20f)](0x4),this[_0x405319(0x1fd)]=_0x27a077;}[_0x140b4f(0x194)](_0x189eaf){const _0x44853d=_0x140b4f;let _0x5d5f64=_0x4c723b;if(this[_0x44853d(0x2fb)]){if(this[_0x44853d(0x271)]<this[_0x44853d(0x2fb)]){this['_loop']=!0x1;return;}_0x5d5f64=this[_0x44853d(0x20f)](this[_0x44853d(0x2fb)]),this['_masked']&&(this[_0x44853d(0x22f)][0x0]|this['_mask'][0x1]|this['_mask'][0x2]|this[_0x44853d(0x22f)][0x3])!==0x0&&_0xb37a11(_0x5d5f64,this['_mask']);}if(this[_0x44853d(0x2a7)]>0x7){this[_0x44853d(0x2eb)](_0x5d5f64,_0x189eaf);return;}if(this[_0x44853d(0x2cb)]){this['_state']=_0x37abd5,this['decompress'](_0x5d5f64,_0x189eaf);return;}_0x5d5f64[_0x44853d(0x1e0)]&&(this[_0x44853d(0x168)]=this[_0x44853d(0x30d)],this[_0x44853d(0x1ea)][_0x44853d(0x236)](_0x5d5f64)),this[_0x44853d(0x2b9)](_0x189eaf);}[_0x140b4f(0x2ec)](_0x5358c6,_0xa1f1bf){const _0x502bf2=_0x140b4f;this[_0x502bf2(0x206)][_0x547ee8['extensionName']][_0x502bf2(0x2ec)](_0x5358c6,this['_fin'],(_0x1a7480,_0x19844c)=>{const _0x1cd3c8=_0x502bf2;if(_0x1a7480)return _0xa1f1bf(_0x1a7480);if(_0x19844c[_0x1cd3c8(0x1e0)]){if(this[_0x1cd3c8(0x168)]+=_0x19844c[_0x1cd3c8(0x1e0)],this['_messageLength']>this['_maxPayload']&&this[_0x1cd3c8(0x196)]>0x0){const _0x3120e6=this['createError'](RangeError,_0x1cd3c8(0x181),!0x1,0x3f1,_0x1cd3c8(0x2dc));_0xa1f1bf(_0x3120e6);return;}this[_0x1cd3c8(0x1ea)][_0x1cd3c8(0x236)](_0x19844c);}this[_0x1cd3c8(0x2b9)](_0xa1f1bf),this[_0x1cd3c8(0x1fd)]===_0x3cf563&&this[_0x1cd3c8(0x1f8)](_0xa1f1bf);});}['dataMessage'](_0x49fe09){const _0x1edd68=_0x140b4f;if(!this[_0x1edd68(0x1b7)]){this[_0x1edd68(0x1fd)]=_0x3cf563;return;}const _0x17ef99=this['_messageLength'],_0x48452c=this['_fragments'];if(this[_0x1edd68(0x30d)]=0x0,this[_0x1edd68(0x168)]=0x0,this[_0x1edd68(0x21d)]=0x0,this[_0x1edd68(0x1ea)]=[],this[_0x1edd68(0x2a7)]===0x2){let _0xeeb59d;this[_0x1edd68(0x2f3)]===_0x1edd68(0x2f9)?_0xeeb59d=_0x45361a(_0x48452c,_0x17ef99):this[_0x1edd68(0x2f3)]==='arraybuffer'?_0xeeb59d=_0x58c7f1(_0x45361a(_0x48452c,_0x17ef99)):this[_0x1edd68(0x2f3)]==='blob'?_0xeeb59d=new Blob(_0x48452c):_0xeeb59d=_0x48452c,this[_0x1edd68(0x22b)]?(this['emit']('message',_0xeeb59d,!0x0),this[_0x1edd68(0x1fd)]=_0x3cf563):(this['_state']=_0x22f241,setImmediate(()=>{const _0x402769=_0x1edd68;this[_0x402769(0x1c2)]('message',_0xeeb59d,!0x0),this[_0x402769(0x1fd)]=_0x3cf563,this['startLoop'](_0x49fe09);}));}else{const _0x1b3f8d=_0x45361a(_0x48452c,_0x17ef99);if(!this[_0x1edd68(0x20d)]&&!_0x2a7cf9(_0x1b3f8d)){const _0x1ae377=this[_0x1edd68(0x2fa)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x1edd68(0x2b3));_0x49fe09(_0x1ae377);return;}this[_0x1edd68(0x1fd)]===_0x37abd5||this[_0x1edd68(0x22b)]?(this['emit'](_0x1edd68(0x237),_0x1b3f8d,!0x1),this['_state']=_0x3cf563):(this[_0x1edd68(0x1fd)]=_0x22f241,setImmediate(()=>{const _0x127b9b=_0x1edd68;this[_0x127b9b(0x1c2)](_0x127b9b(0x237),_0x1b3f8d,!0x1),this[_0x127b9b(0x1fd)]=_0x3cf563,this[_0x127b9b(0x1f8)](_0x49fe09);}));}}[_0x140b4f(0x2eb)](_0x5cf969,_0x51d194){const _0xe45c99=_0x140b4f;if(this[_0xe45c99(0x2a7)]===0x8){if(_0x5cf969[_0xe45c99(0x1e0)]===0x0)this[_0xe45c99(0x2fe)]=!0x1,this[_0xe45c99(0x1c2)]('conclude',0x3ed,_0x4c723b),this[_0xe45c99(0x209)]();else{const _0x25562c=_0x5cf969[_0xe45c99(0x205)](0x0);if(!_0x4a5d18(_0x25562c)){const _0x18962a=this[_0xe45c99(0x2fa)](RangeError,_0xe45c99(0x29c)+_0x25562c,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x51d194(_0x18962a);return;}const _0x2fd077=new _0x199fe8(_0x5cf969['buffer'],_0x5cf969['byteOffset']+0x2,_0x5cf969[_0xe45c99(0x1e0)]-0x2);if(!this[_0xe45c99(0x20d)]&&!_0x2a7cf9(_0x2fd077)){const _0x1b2364=this[_0xe45c99(0x2fa)](Error,_0xe45c99(0x2bd),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x51d194(_0x1b2364);return;}this[_0xe45c99(0x2fe)]=!0x1,this[_0xe45c99(0x1c2)](_0xe45c99(0x2cf),_0x25562c,_0x2fd077),this[_0xe45c99(0x209)]();}this['_state']=_0x3cf563;return;}this[_0xe45c99(0x22b)]?(this['emit'](this['_opcode']===0x9?'ping':_0xe45c99(0x2ff),_0x5cf969),this[_0xe45c99(0x1fd)]=_0x3cf563):(this[_0xe45c99(0x1fd)]=_0x22f241,setImmediate(()=>{const _0x5ae786=_0xe45c99;this['emit'](this[_0x5ae786(0x2a7)]===0x9?_0x5ae786(0x2be):_0x5ae786(0x2ff),_0x5cf969),this['_state']=_0x3cf563,this[_0x5ae786(0x1f8)](_0x51d194);}));}['createError'](_0x246e8f,_0x558544,_0x40d818,_0x3019d6,_0xcbba3){const _0x2f0ca4=_0x140b4f;this[_0x2f0ca4(0x2fe)]=!0x1,this[_0x2f0ca4(0x28a)]=!0x0;const _0x5bba32=new _0x246e8f(_0x40d818?_0x2f0ca4(0x245)+_0x558544:_0x558544);return Error[_0x2f0ca4(0x1dc)](_0x5bba32,this[_0x2f0ca4(0x2fa)]),_0x5bba32[_0x2f0ca4(0x305)]=_0xcbba3,_0x5bba32[_0x5a63ed]=_0x3019d6,_0x5bba32;}}return Se=_0x3ec2e9,Se;}var Ee,Xe;function ft(){const _0x383784=_0xc18ba;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x5575f9}=oe,{randomFillSync:_0x328ba4}=Le,_0x2eb2fd=he(),{EMPTY_BUFFER:_0x3a3689,kWebSocket:_0x3263f3,NOOP:_0x2ce3a6}=H(),{isBlob:_0x49baca,isValidStatusCode:_0x35de1e}=ae(),{mask:_0x3cb220,toBuffer:_0x5405bf}=ce(),_0x152f4b=Symbol(_0x383784(0x1a0)),_0x5b75ad=Buffer[_0x383784(0x173)](0x4),_0x2a6906=0x8*0x400;let _0x2ebc58,_0x46a402=_0x2a6906;const _0x42b7cd=0x0,_0x17b6ef=0x1,_0x4b7595=0x2;class _0x11f03b{constructor(_0x2c8760,_0x670b07,_0x44ad1a){const _0x3a45fa=_0x383784;this['_extensions']=_0x670b07||{},_0x44ad1a&&(this['_generateMask']=_0x44ad1a,this['_maskBuffer']=Buffer['alloc'](0x4)),this['_socket']=_0x2c8760,this[_0x3a45fa(0x2ed)]=!0x0,this[_0x3a45fa(0x310)]=!0x1,this[_0x3a45fa(0x271)]=0x0,this['_queue']=[],this['_state']=_0x42b7cd,this[_0x3a45fa(0x2d9)]=_0x2ce3a6,this[_0x3263f3]=void 0x0;}static[_0x383784(0x17a)](_0x34d31d,_0x459200){const _0x458cc2=_0x383784;let _0x46d8e4,_0x5826a4=!0x1,_0x2591a4=0x2,_0x8177f1=!0x1;_0x459200[_0x458cc2(0x27e)]&&(_0x46d8e4=_0x459200[_0x458cc2(0x213)]||_0x5b75ad,_0x459200[_0x458cc2(0x1ff)]?_0x459200[_0x458cc2(0x1ff)](_0x46d8e4):(_0x46a402===_0x2a6906&&(_0x2ebc58===void 0x0&&(_0x2ebc58=Buffer[_0x458cc2(0x173)](_0x2a6906)),_0x328ba4(_0x2ebc58,0x0,_0x2a6906),_0x46a402=0x0),_0x46d8e4[0x0]=_0x2ebc58[_0x46a402++],_0x46d8e4[0x1]=_0x2ebc58[_0x46a402++],_0x46d8e4[0x2]=_0x2ebc58[_0x46a402++],_0x46d8e4[0x3]=_0x2ebc58[_0x46a402++]),_0x8177f1=(_0x46d8e4[0x0]|_0x46d8e4[0x1]|_0x46d8e4[0x2]|_0x46d8e4[0x3])===0x0,_0x2591a4=0x6);let _0x3b0197;typeof _0x34d31d==_0x458cc2(0x208)?(!_0x459200[_0x458cc2(0x27e)]||_0x8177f1)&&_0x459200[_0x152f4b]!==void 0x0?_0x3b0197=_0x459200[_0x152f4b]:(_0x34d31d=Buffer['from'](_0x34d31d),_0x3b0197=_0x34d31d[_0x458cc2(0x1e0)]):(_0x3b0197=_0x34d31d['length'],_0x5826a4=_0x459200[_0x458cc2(0x27e)]&&_0x459200[_0x458cc2(0x299)]&&!_0x8177f1);let _0xbf2489=_0x3b0197;_0x3b0197>=0x10000?(_0x2591a4+=0x8,_0xbf2489=0x7f):_0x3b0197>0x7d&&(_0x2591a4+=0x2,_0xbf2489=0x7e);const _0x3ed886=Buffer[_0x458cc2(0x1b6)](_0x5826a4?_0x3b0197+_0x2591a4:_0x2591a4);return _0x3ed886[0x0]=_0x459200[_0x458cc2(0x186)]?_0x459200['opcode']|0x80:_0x459200['opcode'],_0x459200[_0x458cc2(0x1e9)]&&(_0x3ed886[0x0]|=0x40),_0x3ed886[0x1]=_0xbf2489,_0xbf2489===0x7e?_0x3ed886[_0x458cc2(0x177)](_0x3b0197,0x2):_0xbf2489===0x7f&&(_0x3ed886[0x2]=_0x3ed886[0x3]=0x0,_0x3ed886['writeUIntBE'](_0x3b0197,0x4,0x6)),_0x459200[_0x458cc2(0x27e)]?(_0x3ed886[0x1]|=0x80,_0x3ed886[_0x2591a4-0x4]=_0x46d8e4[0x0],_0x3ed886[_0x2591a4-0x3]=_0x46d8e4[0x1],_0x3ed886[_0x2591a4-0x2]=_0x46d8e4[0x2],_0x3ed886[_0x2591a4-0x1]=_0x46d8e4[0x3],_0x8177f1?[_0x3ed886,_0x34d31d]:_0x5826a4?(_0x3cb220(_0x34d31d,_0x46d8e4,_0x3ed886,_0x2591a4,_0x3b0197),[_0x3ed886]):(_0x3cb220(_0x34d31d,_0x46d8e4,_0x34d31d,0x0,_0x3b0197),[_0x3ed886,_0x34d31d])):[_0x3ed886,_0x34d31d];}[_0x383784(0x1e2)](_0xa685d9,_0x49b1f6,_0xd1ec18,_0x4d093e){const _0x89b38=_0x383784;let _0x5c13f9;if(_0xa685d9===void 0x0)_0x5c13f9=_0x3a3689;else{if(typeof _0xa685d9!='number'||!_0x35de1e(_0xa685d9))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x49b1f6===void 0x0||!_0x49b1f6['length'])_0x5c13f9=Buffer[_0x89b38(0x1b6)](0x2),_0x5c13f9[_0x89b38(0x177)](_0xa685d9,0x0);else{const _0x50139b=Buffer['byteLength'](_0x49b1f6);if(_0x50139b>0x7b)throw new RangeError(_0x89b38(0x1cb));_0x5c13f9=Buffer['allocUnsafe'](0x2+_0x50139b),_0x5c13f9[_0x89b38(0x177)](_0xa685d9,0x0),typeof _0x49b1f6==_0x89b38(0x208)?_0x5c13f9[_0x89b38(0x169)](_0x49b1f6,0x2):_0x5c13f9['set'](_0x49b1f6,0x2);}}const _0x2c1220={[_0x152f4b]:_0x5c13f9[_0x89b38(0x1e0)],'fin':!0x0,'generateMask':this[_0x89b38(0x162)],'mask':_0xd1ec18,'maskBuffer':this[_0x89b38(0x1d5)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x89b38(0x1fd)]!==_0x42b7cd?this[_0x89b38(0x302)]([this['dispatch'],_0x5c13f9,!0x1,_0x2c1220,_0x4d093e]):this[_0x89b38(0x2a3)](_0x11f03b[_0x89b38(0x17a)](_0x5c13f9,_0x2c1220),_0x4d093e);}[_0x383784(0x2be)](_0x333fb8,_0x4bfcbe,_0x1f22a1){const _0x25e7e7=_0x383784;let _0x59f43b,_0x3e0af9;if(typeof _0x333fb8==_0x25e7e7(0x208)?(_0x59f43b=Buffer['byteLength'](_0x333fb8),_0x3e0af9=!0x1):_0x49baca(_0x333fb8)?(_0x59f43b=_0x333fb8[_0x25e7e7(0x176)],_0x3e0af9=!0x1):(_0x333fb8=_0x5405bf(_0x333fb8),_0x59f43b=_0x333fb8['length'],_0x3e0af9=_0x5405bf[_0x25e7e7(0x299)]),_0x59f43b>0x7d)throw new RangeError(_0x25e7e7(0x27c));const _0x102447={[_0x152f4b]:_0x59f43b,'fin':!0x0,'generateMask':this[_0x25e7e7(0x162)],'mask':_0x4bfcbe,'maskBuffer':this[_0x25e7e7(0x1d5)],'opcode':0x9,'readOnly':_0x3e0af9,'rsv1':!0x1};_0x49baca(_0x333fb8)?this['_state']!==_0x42b7cd?this[_0x25e7e7(0x302)]([this[_0x25e7e7(0x318)],_0x333fb8,!0x1,_0x102447,_0x1f22a1]):this['getBlobData'](_0x333fb8,!0x1,_0x102447,_0x1f22a1):this[_0x25e7e7(0x1fd)]!==_0x42b7cd?this['enqueue']([this['dispatch'],_0x333fb8,!0x1,_0x102447,_0x1f22a1]):this[_0x25e7e7(0x2a3)](_0x11f03b[_0x25e7e7(0x17a)](_0x333fb8,_0x102447),_0x1f22a1);}['pong'](_0x2d5a1f,_0x2f5706,_0x4a21f3){const _0x7cb863=_0x383784;let _0x5a99a9,_0x3ba243;if(typeof _0x2d5a1f==_0x7cb863(0x208)?(_0x5a99a9=Buffer['byteLength'](_0x2d5a1f),_0x3ba243=!0x1):_0x49baca(_0x2d5a1f)?(_0x5a99a9=_0x2d5a1f[_0x7cb863(0x176)],_0x3ba243=!0x1):(_0x2d5a1f=_0x5405bf(_0x2d5a1f),_0x5a99a9=_0x2d5a1f[_0x7cb863(0x1e0)],_0x3ba243=_0x5405bf['readOnly']),_0x5a99a9>0x7d)throw new RangeError(_0x7cb863(0x27c));const _0x4f1112={[_0x152f4b]:_0x5a99a9,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x2f5706,'maskBuffer':this[_0x7cb863(0x1d5)],'opcode':0xa,'readOnly':_0x3ba243,'rsv1':!0x1};_0x49baca(_0x2d5a1f)?this[_0x7cb863(0x1fd)]!==_0x42b7cd?this['enqueue']([this[_0x7cb863(0x318)],_0x2d5a1f,!0x1,_0x4f1112,_0x4a21f3]):this[_0x7cb863(0x318)](_0x2d5a1f,!0x1,_0x4f1112,_0x4a21f3):this[_0x7cb863(0x1fd)]!==_0x42b7cd?this[_0x7cb863(0x302)]([this[_0x7cb863(0x2dd)],_0x2d5a1f,!0x1,_0x4f1112,_0x4a21f3]):this['sendFrame'](_0x11f03b[_0x7cb863(0x17a)](_0x2d5a1f,_0x4f1112),_0x4a21f3);}[_0x383784(0x182)](_0x31c17f,_0x3389f6,_0x303e32){const _0x3500dc=_0x383784,_0x243b1a=this[_0x3500dc(0x206)][_0x2eb2fd[_0x3500dc(0x2ee)]];let _0x430fa7=_0x3389f6[_0x3500dc(0x2e9)]?0x2:0x1,_0x1aa7dd=_0x3389f6[_0x3500dc(0x289)],_0x389626,_0x22e4dc;typeof _0x31c17f==_0x3500dc(0x208)?(_0x389626=Buffer[_0x3500dc(0x270)](_0x31c17f),_0x22e4dc=!0x1):_0x49baca(_0x31c17f)?(_0x389626=_0x31c17f['size'],_0x22e4dc=!0x1):(_0x31c17f=_0x5405bf(_0x31c17f),_0x389626=_0x31c17f[_0x3500dc(0x1e0)],_0x22e4dc=_0x5405bf[_0x3500dc(0x299)]),this[_0x3500dc(0x2ed)]?(this[_0x3500dc(0x2ed)]=!0x1,_0x1aa7dd&&_0x243b1a&&_0x243b1a[_0x3500dc(0x17b)][_0x243b1a[_0x3500dc(0x1c7)]?'server_no_context_takeover':'client_no_context_takeover']&&(_0x1aa7dd=_0x389626>=_0x243b1a['_threshold']),this['_compress']=_0x1aa7dd):(_0x1aa7dd=!0x1,_0x430fa7=0x0),_0x3389f6[_0x3500dc(0x186)]&&(this[_0x3500dc(0x2ed)]=!0x0);const _0x1ff1dc={[_0x152f4b]:_0x389626,'fin':_0x3389f6[_0x3500dc(0x186)],'generateMask':this[_0x3500dc(0x162)],'mask':_0x3389f6[_0x3500dc(0x27e)],'maskBuffer':this[_0x3500dc(0x1d5)],'opcode':_0x430fa7,'readOnly':_0x22e4dc,'rsv1':_0x1aa7dd};_0x49baca(_0x31c17f)?this[_0x3500dc(0x1fd)]!==_0x42b7cd?this[_0x3500dc(0x302)]([this[_0x3500dc(0x318)],_0x31c17f,this[_0x3500dc(0x310)],_0x1ff1dc,_0x303e32]):this[_0x3500dc(0x318)](_0x31c17f,this[_0x3500dc(0x310)],_0x1ff1dc,_0x303e32):this['_state']!==_0x42b7cd?this['enqueue']([this[_0x3500dc(0x2dd)],_0x31c17f,this[_0x3500dc(0x310)],_0x1ff1dc,_0x303e32]):this['dispatch'](_0x31c17f,this['_compress'],_0x1ff1dc,_0x303e32);}[_0x383784(0x318)](_0x57aadb,_0x2ad62c,_0x170576,_0x1a6935){const _0x3da6c6=_0x383784;this[_0x3da6c6(0x271)]+=_0x170576[_0x152f4b],this[_0x3da6c6(0x1fd)]=_0x4b7595,_0x57aadb[_0x3da6c6(0x230)]()['then'](_0x3449bd=>{const _0xb6f66f=_0x3da6c6;if(this[_0xb6f66f(0x23c)]['destroyed']){const _0x35048c=new Error(_0xb6f66f(0x2f1));process[_0xb6f66f(0x187)](_0x1b0c76,this,_0x35048c,_0x1a6935);return;}this[_0xb6f66f(0x271)]-=_0x170576[_0x152f4b];const _0x3dbf41=_0x5405bf(_0x3449bd);_0x2ad62c?this[_0xb6f66f(0x2dd)](_0x3dbf41,_0x2ad62c,_0x170576,_0x1a6935):(this[_0xb6f66f(0x1fd)]=_0x42b7cd,this['sendFrame'](_0x11f03b[_0xb6f66f(0x17a)](_0x3dbf41,_0x170576),_0x1a6935),this['dequeue']());})[_0x3da6c6(0x308)](_0x3ef7b0=>{const _0x47769e=_0x3da6c6;process[_0x47769e(0x187)](_0x3e08b5,this,_0x3ef7b0,_0x1a6935);});}[_0x383784(0x2dd)](_0x5e915e,_0x39a240,_0xe8896,_0x143aba){const _0x3a1310=_0x383784;if(!_0x39a240){this['sendFrame'](_0x11f03b[_0x3a1310(0x17a)](_0x5e915e,_0xe8896),_0x143aba);return;}const _0x48ef12=this[_0x3a1310(0x206)][_0x2eb2fd[_0x3a1310(0x2ee)]];this[_0x3a1310(0x271)]+=_0xe8896[_0x152f4b],this[_0x3a1310(0x1fd)]=_0x17b6ef,_0x48ef12[_0x3a1310(0x289)](_0x5e915e,_0xe8896[_0x3a1310(0x186)],(_0x729a1d,_0x2263a1)=>{const _0x365008=_0x3a1310;if(this[_0x365008(0x23c)][_0x365008(0x1e1)]){const _0x2436c2=new Error(_0x365008(0x1b4));_0x1b0c76(this,_0x2436c2,_0x143aba);return;}this[_0x365008(0x271)]-=_0xe8896[_0x152f4b],this[_0x365008(0x1fd)]=_0x42b7cd,_0xe8896[_0x365008(0x299)]=!0x1,this[_0x365008(0x2a3)](_0x11f03b[_0x365008(0x17a)](_0x2263a1,_0xe8896),_0x143aba),this[_0x365008(0x190)]();});}[_0x383784(0x190)](){const _0x1a5347=_0x383784;for(;this['_state']===_0x42b7cd&&this[_0x1a5347(0x175)][_0x1a5347(0x1e0)];){const _0x40a752=this['_queue'][_0x1a5347(0x1d8)]();this[_0x1a5347(0x271)]-=_0x40a752[0x3][_0x152f4b],Reflect[_0x1a5347(0x1ee)](_0x40a752[0x0],this,_0x40a752[_0x1a5347(0x1f4)](0x1));}}[_0x383784(0x302)](_0x2e8f35){const _0x30845e=_0x383784;this[_0x30845e(0x271)]+=_0x2e8f35[0x3][_0x152f4b],this[_0x30845e(0x175)][_0x30845e(0x236)](_0x2e8f35);}[_0x383784(0x2a3)](_0x1214d9,_0x93d606){const _0x172431=_0x383784;_0x1214d9[_0x172431(0x1e0)]===0x2?(this[_0x172431(0x23c)]['cork'](),this['_socket'][_0x172431(0x169)](_0x1214d9[0x0]),this[_0x172431(0x23c)][_0x172431(0x169)](_0x1214d9[0x1],_0x93d606),this[_0x172431(0x23c)][_0x172431(0x2fd)]()):this[_0x172431(0x23c)][_0x172431(0x169)](_0x1214d9[0x0],_0x93d606);}}Ee=_0x11f03b;function _0x1b0c76(_0x12a6ab,_0x440821,_0x52fea1){const _0x1d8e4b=_0x383784;typeof _0x52fea1=='function'&&_0x52fea1(_0x440821);for(let _0x31bb50=0x0;_0x31bb50<_0x12a6ab[_0x1d8e4b(0x175)][_0x1d8e4b(0x1e0)];_0x31bb50++){const _0x3aa7b6=_0x12a6ab[_0x1d8e4b(0x175)][_0x31bb50],_0x17be6c=_0x3aa7b6[_0x3aa7b6[_0x1d8e4b(0x1e0)]-0x1];typeof _0x17be6c==_0x1d8e4b(0x1a3)&&_0x17be6c(_0x440821);}}function _0x3e08b5(_0x21599c,_0x17823f,_0x1f1f1d){const _0x5efee1=_0x383784;_0x1b0c76(_0x21599c,_0x17823f,_0x1f1f1d),_0x21599c[_0x5efee1(0x2d9)](_0x17823f);}return Ee;}var xe,Ze;function It(){const _0x2cdd06=_0xc18ba;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x381a30,kListener:_0x45144e}=H(),_0x52890d=Symbol(_0x2cdd06(0x261)),_0x770f41=Symbol(_0x2cdd06(0x228)),_0x2a421a=Symbol(_0x2cdd06(0x280)),_0x17d04a=Symbol(_0x2cdd06(0x25d)),_0x548f8d=Symbol(_0x2cdd06(0x174)),_0x5166ea=Symbol(_0x2cdd06(0x2b5)),_0x2f5a2d=Symbol('kType'),_0x1beabb=Symbol(_0x2cdd06(0x1f9));class _0x3a173b{constructor(_0x12e38d){this[_0x5166ea]=null,this[_0x2f5a2d]=_0x12e38d;}get[_0x2cdd06(0x23f)](){return this[_0x5166ea];}get[_0x2cdd06(0x1db)](){return this[_0x2f5a2d];}}Object[_0x2cdd06(0x2db)](_0x3a173b['prototype'],_0x2cdd06(0x23f),{'enumerable':!0x0}),Object['defineProperty'](_0x3a173b[_0x2cdd06(0x221)],_0x2cdd06(0x1db),{'enumerable':!0x0});class _0x17c9eb extends _0x3a173b{constructor(_0x250ac4,_0x418b0a={}){const _0x1a9400=_0x2cdd06;super(_0x250ac4),this[_0x52890d]=_0x418b0a['code']===void 0x0?0x0:_0x418b0a[_0x1a9400(0x305)],this[_0x548f8d]=_0x418b0a[_0x1a9400(0x31f)]===void 0x0?'':_0x418b0a[_0x1a9400(0x31f)],this[_0x1beabb]=_0x418b0a[_0x1a9400(0x2fc)]===void 0x0?!0x1:_0x418b0a[_0x1a9400(0x2fc)];}get['code'](){return this[_0x52890d];}get[_0x2cdd06(0x31f)](){return this[_0x548f8d];}get[_0x2cdd06(0x2fc)](){return this[_0x1beabb];}}Object[_0x2cdd06(0x2db)](_0x17c9eb['prototype'],_0x2cdd06(0x305),{'enumerable':!0x0}),Object[_0x2cdd06(0x2db)](_0x17c9eb[_0x2cdd06(0x221)],_0x2cdd06(0x31f),{'enumerable':!0x0}),Object[_0x2cdd06(0x2db)](_0x17c9eb[_0x2cdd06(0x221)],'wasClean',{'enumerable':!0x0});class _0x13cea2 extends _0x3a173b{constructor(_0x1a7a35,_0x3ddb07={}){const _0x340cd7=_0x2cdd06;super(_0x1a7a35),this[_0x2a421a]=_0x3ddb07[_0x340cd7(0x1a1)]===void 0x0?null:_0x3ddb07[_0x340cd7(0x1a1)],this[_0x17d04a]=_0x3ddb07[_0x340cd7(0x237)]===void 0x0?'':_0x3ddb07['message'];}get['error'](){return this[_0x2a421a];}get[_0x2cdd06(0x237)](){return this[_0x17d04a];}}Object['defineProperty'](_0x13cea2[_0x2cdd06(0x221)],'error',{'enumerable':!0x0}),Object[_0x2cdd06(0x2db)](_0x13cea2['prototype'],_0x2cdd06(0x237),{'enumerable':!0x0});class _0x21b0b4 extends _0x3a173b{constructor(_0x417311,_0x1506c6={}){const _0x166808=_0x2cdd06;super(_0x417311),this[_0x770f41]=_0x1506c6[_0x166808(0x1c4)]===void 0x0?null:_0x1506c6[_0x166808(0x1c4)];}get['data'](){return this[_0x770f41];}}Object[_0x2cdd06(0x2db)](_0x21b0b4['prototype'],_0x2cdd06(0x1c4),{'enumerable':!0x0}),xe={'CloseEvent':_0x17c9eb,'ErrorEvent':_0x13cea2,'Event':_0x3a173b,'EventTarget':{'addEventListener'(_0x5e4d32,_0x5853df,_0x47270b={}){const _0x42d060=_0x2cdd06;for(const _0x31a9e3 of this[_0x42d060(0x218)](_0x5e4d32))if(!_0x47270b[_0x381a30]&&_0x31a9e3[_0x45144e]===_0x5853df&&!_0x31a9e3[_0x381a30])return;let _0x2c1e0d;if(_0x5e4d32===_0x42d060(0x237))_0x2c1e0d=function(_0x43e4c9,_0x5ba74f){const _0xec0123=_0x42d060,_0x3deb89=new _0x21b0b4('message',{'data':_0x5ba74f?_0x43e4c9:_0x43e4c9[_0xec0123(0x26d)]()});_0x3deb89[_0x5166ea]=this,_0x588d99(_0x5853df,this,_0x3deb89);};else{if(_0x5e4d32===_0x42d060(0x1e2))_0x2c1e0d=function(_0x4d495a,_0xe2b732){const _0x5b3986=_0x42d060,_0xc1a61c=new _0x17c9eb(_0x5b3986(0x1e2),{'code':_0x4d495a,'reason':_0xe2b732[_0x5b3986(0x26d)](),'wasClean':this['_closeFrameReceived']&&this[_0x5b3986(0x171)]});_0xc1a61c[_0x5166ea]=this,_0x588d99(_0x5853df,this,_0xc1a61c);};else{if(_0x5e4d32===_0x42d060(0x1a1))_0x2c1e0d=function(_0x1d8c00){const _0x33f90a=_0x42d060,_0x5bd563=new _0x13cea2(_0x33f90a(0x1a1),{'error':_0x1d8c00,'message':_0x1d8c00[_0x33f90a(0x237)]});_0x5bd563[_0x5166ea]=this,_0x588d99(_0x5853df,this,_0x5bd563);};else{if(_0x5e4d32===_0x42d060(0x2f7))_0x2c1e0d=function(){const _0x1b300f=new _0x3a173b('open');_0x1b300f[_0x5166ea]=this,_0x588d99(_0x5853df,this,_0x1b300f);};else return;}}}_0x2c1e0d[_0x381a30]=!!_0x47270b[_0x381a30],_0x2c1e0d[_0x45144e]=_0x5853df,_0x47270b[_0x42d060(0x18a)]?this[_0x42d060(0x18a)](_0x5e4d32,_0x2c1e0d):this['on'](_0x5e4d32,_0x2c1e0d);},'removeEventListener'(_0x24f680,_0x5ec1b3){const _0x4469c9=_0x2cdd06;for(const _0x3a9d94 of this['listeners'](_0x24f680))if(_0x3a9d94[_0x45144e]===_0x5ec1b3&&!_0x3a9d94[_0x381a30]){this[_0x4469c9(0x321)](_0x24f680,_0x3a9d94);break;}}},'MessageEvent':_0x21b0b4};function _0x588d99(_0x94b569,_0x5cbc5a,_0x408cbd){const _0x1325dc=_0x2cdd06;typeof _0x94b569==_0x1325dc(0x229)&&_0x94b569['handleEvent']?_0x94b569[_0x1325dc(0x202)]['call'](_0x94b569,_0x408cbd):_0x94b569[_0x1325dc(0x19e)](_0x5cbc5a,_0x408cbd);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x206eae}=ae();function _0x3e55b4(_0x5307ff,_0x1772c4,_0x39789a){const _0x38fc75=_0x58f7;_0x5307ff[_0x1772c4]===void 0x0?_0x5307ff[_0x1772c4]=[_0x39789a]:_0x5307ff[_0x1772c4][_0x38fc75(0x236)](_0x39789a);}function _0x160cc4(_0x5a47df){const _0x237b60=_0x58f7,_0x7b62ea=Object[_0x237b60(0x198)](null);let _0xc80609=Object['create'](null),_0x511c13=!0x1,_0x505bbe=!0x1,_0x22f937=!0x1,_0xe5242a,_0x2e90d8,_0x2eafec=-0x1,_0x141a74=-0x1,_0x658cee=-0x1,_0x5357a4=0x0;for(;_0x5357a4<_0x5a47df[_0x237b60(0x1e0)];_0x5357a4++)if(_0x141a74=_0x5a47df[_0x237b60(0x1a7)](_0x5357a4),_0xe5242a===void 0x0){if(_0x658cee===-0x1&&_0x206eae[_0x141a74]===0x1)_0x2eafec===-0x1&&(_0x2eafec=_0x5357a4);else{if(_0x5357a4!==0x0&&(_0x141a74===0x20||_0x141a74===0x9))_0x658cee===-0x1&&_0x2eafec!==-0x1&&(_0x658cee=_0x5357a4);else{if(_0x141a74===0x3b||_0x141a74===0x2c){if(_0x2eafec===-0x1)throw new SyntaxError(_0x237b60(0x1e4)+_0x5357a4);_0x658cee===-0x1&&(_0x658cee=_0x5357a4);const _0x58c4e4=_0x5a47df[_0x237b60(0x1f4)](_0x2eafec,_0x658cee);_0x141a74===0x2c?(_0x3e55b4(_0x7b62ea,_0x58c4e4,_0xc80609),_0xc80609=Object[_0x237b60(0x198)](null)):_0xe5242a=_0x58c4e4,_0x2eafec=_0x658cee=-0x1;}else throw new SyntaxError(_0x237b60(0x1e4)+_0x5357a4);}}}else{if(_0x2e90d8===void 0x0){if(_0x658cee===-0x1&&_0x206eae[_0x141a74]===0x1)_0x2eafec===-0x1&&(_0x2eafec=_0x5357a4);else{if(_0x141a74===0x20||_0x141a74===0x9)_0x658cee===-0x1&&_0x2eafec!==-0x1&&(_0x658cee=_0x5357a4);else{if(_0x141a74===0x3b||_0x141a74===0x2c){if(_0x2eafec===-0x1)throw new SyntaxError(_0x237b60(0x1e4)+_0x5357a4);_0x658cee===-0x1&&(_0x658cee=_0x5357a4),_0x3e55b4(_0xc80609,_0x5a47df['slice'](_0x2eafec,_0x658cee),!0x0),_0x141a74===0x2c&&(_0x3e55b4(_0x7b62ea,_0xe5242a,_0xc80609),_0xc80609=Object[_0x237b60(0x198)](null),_0xe5242a=void 0x0),_0x2eafec=_0x658cee=-0x1;}else{if(_0x141a74===0x3d&&_0x2eafec!==-0x1&&_0x658cee===-0x1)_0x2e90d8=_0x5a47df[_0x237b60(0x1f4)](_0x2eafec,_0x5357a4),_0x2eafec=_0x658cee=-0x1;else throw new SyntaxError(_0x237b60(0x1e4)+_0x5357a4);}}}}else{if(_0x505bbe){if(_0x206eae[_0x141a74]!==0x1)throw new SyntaxError(_0x237b60(0x1e4)+_0x5357a4);_0x2eafec===-0x1?_0x2eafec=_0x5357a4:_0x511c13||(_0x511c13=!0x0),_0x505bbe=!0x1;}else{if(_0x22f937){if(_0x206eae[_0x141a74]===0x1)_0x2eafec===-0x1&&(_0x2eafec=_0x5357a4);else{if(_0x141a74===0x22&&_0x2eafec!==-0x1)_0x22f937=!0x1,_0x658cee=_0x5357a4;else{if(_0x141a74===0x5c)_0x505bbe=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5357a4);}}}else{if(_0x141a74===0x22&&_0x5a47df[_0x237b60(0x1a7)](_0x5357a4-0x1)===0x3d)_0x22f937=!0x0;else{if(_0x658cee===-0x1&&_0x206eae[_0x141a74]===0x1)_0x2eafec===-0x1&&(_0x2eafec=_0x5357a4);else{if(_0x2eafec!==-0x1&&(_0x141a74===0x20||_0x141a74===0x9))_0x658cee===-0x1&&(_0x658cee=_0x5357a4);else{if(_0x141a74===0x3b||_0x141a74===0x2c){if(_0x2eafec===-0x1)throw new SyntaxError(_0x237b60(0x1e4)+_0x5357a4);_0x658cee===-0x1&&(_0x658cee=_0x5357a4);let _0x4f7e9b=_0x5a47df[_0x237b60(0x1f4)](_0x2eafec,_0x658cee);_0x511c13&&(_0x4f7e9b=_0x4f7e9b['replace'](/\\/g,''),_0x511c13=!0x1),_0x3e55b4(_0xc80609,_0x2e90d8,_0x4f7e9b),_0x141a74===0x2c&&(_0x3e55b4(_0x7b62ea,_0xe5242a,_0xc80609),_0xc80609=Object['create'](null),_0xe5242a=void 0x0),_0x2e90d8=void 0x0,_0x2eafec=_0x658cee=-0x1;}else throw new SyntaxError(_0x237b60(0x1e4)+_0x5357a4);}}}}}}}if(_0x2eafec===-0x1||_0x22f937||_0x141a74===0x20||_0x141a74===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x658cee===-0x1&&(_0x658cee=_0x5357a4);const _0x38a237=_0x5a47df['slice'](_0x2eafec,_0x658cee);return _0xe5242a===void 0x0?_0x3e55b4(_0x7b62ea,_0x38a237,_0xc80609):(_0x2e90d8===void 0x0?_0x3e55b4(_0xc80609,_0x38a237,!0x0):_0x511c13?_0x3e55b4(_0xc80609,_0x2e90d8,_0x38a237[_0x237b60(0x2e2)](/\\/g,'')):_0x3e55b4(_0xc80609,_0x2e90d8,_0x38a237),_0x3e55b4(_0x7b62ea,_0xe5242a,_0xc80609)),_0x7b62ea;}function _0x5f52a7(_0x3e8d19){const _0x48ab9c=_0x58f7;return Object[_0x48ab9c(0x294)](_0x3e8d19)['map'](_0x5117e3=>{const _0x595ff9=_0x48ab9c;let _0x37e24a=_0x3e8d19[_0x5117e3];return Array[_0x595ff9(0x2a4)](_0x37e24a)||(_0x37e24a=[_0x37e24a]),_0x37e24a[_0x595ff9(0x29a)](_0x373a93=>[_0x5117e3][_0x595ff9(0x27b)](Object[_0x595ff9(0x294)](_0x373a93)[_0x595ff9(0x29a)](_0x4d2e28=>{const _0x411d24=_0x595ff9;let _0x57e7f7=_0x373a93[_0x4d2e28];return Array[_0x411d24(0x2a4)](_0x57e7f7)||(_0x57e7f7=[_0x57e7f7]),_0x57e7f7[_0x411d24(0x29a)](_0x560ee3=>_0x560ee3===!0x0?_0x4d2e28:_0x4d2e28+'='+_0x560ee3)[_0x411d24(0x1ef)](';\x20');}))[_0x595ff9(0x1ef)](';\x20'))['join'](',\x20');})[_0x48ab9c(0x1ef)](',\x20');}return be={'format':_0x5f52a7,'parse':_0x160cc4},be;}function _0x58f7(_0xa48e0,_0x481619){const _0x3940c9=_0x3940();return _0x58f7=function(_0x58f7dd,_0x5aef72){_0x58f7dd=_0x58f7dd-0x15a;let _0x2fe17f=_0x3940c9[_0x58f7dd];return _0x2fe17f;},_0x58f7(_0xa48e0,_0x481619);}var we,Je;function Pe(){const _0x5b95d2=_0xc18ba;if(Je)return we;Je=0x1;const _0x2a7d45=nt,_0x2b348e=vt,_0x5a6cf1=ot,_0x53127b=St,_0x3a1ef1=Et,{randomBytes:_0xe3238e,createHash:_0x3d8350}=Le,{Duplex:_0xcf72d5,Readable:_0x50e9c7}=oe,{URL:_0x51d269}=xt,_0x524d1d=he(),_0x49b7ac=lt(),_0x46709b=ft(),{isBlob:_0x56d93d}=ae(),{BINARY_TYPES:_0x26529b,EMPTY_BUFFER:_0x7c1c0a,GUID:_0x422dab,kForOnEventAttribute:_0x36c372,kListener:_0x4945db,kStatusCode:_0x2f619a,kWebSocket:_0x440d00,NOOP:_0x5ee84d}=H(),{EventTarget:{addEventListener:_0x31393d,removeEventListener:_0xfd42f1}}=It(),{format:_0x4f6ab1,parse:_0xa80d9}=ct(),{toBuffer:_0x306f90}=ce(),_0x217d64=0x1e*0x3e8,_0x461d70=Symbol(_0x5b95d2(0x319)),_0x1e3e0b=[0x8,0xd],_0x41173c=[_0x5b95d2(0x284),_0x5b95d2(0x28c),_0x5b95d2(0x2b8),'CLOSED'],_0x59bebe=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1f29d1 extends _0x2a7d45{constructor(_0x368a3f,_0x4faab5,_0x556213){const _0x39ee9f=_0x5b95d2;super(),this[_0x39ee9f(0x2f3)]=_0x26529b[0x0],this[_0x39ee9f(0x224)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x39ee9f(0x171)]=!0x1,this[_0x39ee9f(0x291)]=_0x7c1c0a,this[_0x39ee9f(0x207)]=null,this[_0x39ee9f(0x189)]=!0x1,this[_0x39ee9f(0x206)]={},this[_0x39ee9f(0x2c3)]=!0x1,this[_0x39ee9f(0x31d)]='',this[_0x39ee9f(0x27a)]=_0x1f29d1['CONNECTING'],this['_receiver']=null,this[_0x39ee9f(0x17e)]=null,this[_0x39ee9f(0x23c)]=null,_0x368a3f!==null?(this[_0x39ee9f(0x243)]=0x0,this['_isServer']=!0x1,this[_0x39ee9f(0x24e)]=0x0,_0x4faab5===void 0x0?_0x4faab5=[]:Array[_0x39ee9f(0x2a4)](_0x4faab5)||(typeof _0x4faab5==_0x39ee9f(0x229)&&_0x4faab5!==null?(_0x556213=_0x4faab5,_0x4faab5=[]):_0x4faab5=[_0x4faab5]),_0x129472(this,_0x368a3f,_0x4faab5,_0x556213)):(this[_0x39ee9f(0x2aa)]=_0x556213[_0x39ee9f(0x1a6)],this[_0x39ee9f(0x1c7)]=!0x0);}get[_0x5b95d2(0x2ba)](){const _0x166b2e=_0x5b95d2;return this[_0x166b2e(0x2f3)];}set[_0x5b95d2(0x2ba)](_0x1fe0ab){const _0x3b983c=_0x5b95d2;_0x26529b[_0x3b983c(0x1df)](_0x1fe0ab)&&(this[_0x3b983c(0x2f3)]=_0x1fe0ab,this[_0x3b983c(0x286)]&&(this[_0x3b983c(0x286)][_0x3b983c(0x2f3)]=_0x1fe0ab));}get[_0x5b95d2(0x195)](){const _0x1a0239=_0x5b95d2;return this[_0x1a0239(0x23c)]?this[_0x1a0239(0x23c)][_0x1a0239(0x268)][_0x1a0239(0x1e0)]+this[_0x1a0239(0x17e)][_0x1a0239(0x271)]:this[_0x1a0239(0x243)];}get[_0x5b95d2(0x1cc)](){const _0x25915e=_0x5b95d2;return Object['keys'](this['_extensions'])[_0x25915e(0x1ef)]();}get[_0x5b95d2(0x2af)](){const _0x1cbfed=_0x5b95d2;return this[_0x1cbfed(0x2c3)];}get[_0x5b95d2(0x18f)](){return null;}get[_0x5b95d2(0x2d9)](){return null;}get[_0x5b95d2(0x1ba)](){return null;}get[_0x5b95d2(0x1aa)](){return null;}get[_0x5b95d2(0x320)](){const _0x499ec5=_0x5b95d2;return this[_0x499ec5(0x31d)];}get['readyState'](){const _0x2ee774=_0x5b95d2;return this[_0x2ee774(0x27a)];}get['url'](){const _0x402928=_0x5b95d2;return this[_0x402928(0x30a)];}[_0x5b95d2(0x161)](_0x32f94b,_0x55d9e1,_0x343a5a){const _0x22e7e1=_0x5b95d2,_0x1f6d74=new _0x49b7ac({'allowSynchronousEvents':_0x343a5a['allowSynchronousEvents'],'binaryType':this['binaryType'],'extensions':this[_0x22e7e1(0x206)],'isServer':this[_0x22e7e1(0x1c7)],'maxPayload':_0x343a5a[_0x22e7e1(0x2d7)],'skipUTF8Validation':_0x343a5a[_0x22e7e1(0x21c)]}),_0x60a5dd=new _0x46709b(_0x32f94b,this[_0x22e7e1(0x206)],_0x343a5a['generateMask']);this['_receiver']=_0x1f6d74,this[_0x22e7e1(0x17e)]=_0x60a5dd,this[_0x22e7e1(0x23c)]=_0x32f94b,_0x1f6d74[_0x440d00]=this,_0x60a5dd[_0x440d00]=this,_0x32f94b[_0x440d00]=this,_0x1f6d74['on'](_0x22e7e1(0x2cf),_0x45040d),_0x1f6d74['on'](_0x22e7e1(0x316),_0x5e3036),_0x1f6d74['on'](_0x22e7e1(0x1a1),_0x2a1e52),_0x1f6d74['on'](_0x22e7e1(0x237),_0x24e9c4),_0x1f6d74['on'](_0x22e7e1(0x2be),_0x446b87),_0x1f6d74['on'](_0x22e7e1(0x2ff),_0x40ae4a),_0x60a5dd[_0x22e7e1(0x2d9)]=_0x3ec6e4,_0x32f94b['setTimeout']&&_0x32f94b[_0x22e7e1(0x300)](0x0),_0x32f94b[_0x22e7e1(0x1d2)]&&_0x32f94b[_0x22e7e1(0x1d2)](),_0x55d9e1[_0x22e7e1(0x1e0)]>0x0&&_0x32f94b[_0x22e7e1(0x191)](_0x55d9e1),_0x32f94b['on'](_0x22e7e1(0x1e2),_0x42c9d3),_0x32f94b['on']('data',_0x29869f),_0x32f94b['on']('end',_0x113807),_0x32f94b['on']('error',_0x4061f8),this[_0x22e7e1(0x27a)]=_0x1f29d1[_0x22e7e1(0x28c)],this['emit']('open');}['emitClose'](){const _0x4336bd=_0x5b95d2;if(!this[_0x4336bd(0x23c)]){this[_0x4336bd(0x27a)]=_0x1f29d1[_0x4336bd(0x1b5)],this[_0x4336bd(0x1c2)](_0x4336bd(0x1e2),this[_0x4336bd(0x224)],this['_closeMessage']);return;}this[_0x4336bd(0x206)][_0x524d1d[_0x4336bd(0x2ee)]]&&this[_0x4336bd(0x206)][_0x524d1d[_0x4336bd(0x2ee)]][_0x4336bd(0x1b0)](),this[_0x4336bd(0x286)][_0x4336bd(0x203)](),this[_0x4336bd(0x27a)]=_0x1f29d1[_0x4336bd(0x1b5)],this[_0x4336bd(0x1c2)](_0x4336bd(0x1e2),this[_0x4336bd(0x224)],this[_0x4336bd(0x291)]);}[_0x5b95d2(0x1e2)](_0x321c00,_0x958d9f){const _0x3eb4c4=_0x5b95d2;if(this[_0x3eb4c4(0x1b3)]!==_0x1f29d1[_0x3eb4c4(0x1b5)]){if(this['readyState']===_0x1f29d1[_0x3eb4c4(0x284)]){_0x1b4cb7(this,this[_0x3eb4c4(0x2ac)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x3eb4c4(0x1b3)]===_0x1f29d1[_0x3eb4c4(0x2b8)]){this['_closeFrameSent']&&(this[_0x3eb4c4(0x15a)]||this['_receiver'][_0x3eb4c4(0x268)]['errorEmitted'])&&this[_0x3eb4c4(0x23c)][_0x3eb4c4(0x209)]();return;}this[_0x3eb4c4(0x27a)]=_0x1f29d1[_0x3eb4c4(0x2b8)],this[_0x3eb4c4(0x17e)][_0x3eb4c4(0x1e2)](_0x321c00,_0x958d9f,!this[_0x3eb4c4(0x1c7)],_0x1616a3=>{const _0x1430e5=_0x3eb4c4;_0x1616a3||(this['_closeFrameSent']=!0x0,(this[_0x1430e5(0x15a)]||this[_0x1430e5(0x286)][_0x1430e5(0x268)][_0x1430e5(0x288)])&&this[_0x1430e5(0x23c)][_0x1430e5(0x209)]());}),_0x5511c9(this);}}['pause'](){const _0x3c6362=_0x5b95d2;this['readyState']===_0x1f29d1['CONNECTING']||this[_0x3c6362(0x1b3)]===_0x1f29d1[_0x3c6362(0x1b5)]||(this[_0x3c6362(0x2c3)]=!0x0,this[_0x3c6362(0x23c)][_0x3c6362(0x164)]());}['ping'](_0x5caa0a,_0x886e20,_0x395724){const _0x2187e8=_0x5b95d2;if(this['readyState']===_0x1f29d1[_0x2187e8(0x284)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5caa0a==_0x2187e8(0x1a3)?(_0x395724=_0x5caa0a,_0x5caa0a=_0x886e20=void 0x0):typeof _0x886e20==_0x2187e8(0x1a3)&&(_0x395724=_0x886e20,_0x886e20=void 0x0),typeof _0x5caa0a==_0x2187e8(0x26e)&&(_0x5caa0a=_0x5caa0a['toString']()),this[_0x2187e8(0x1b3)]!==_0x1f29d1[_0x2187e8(0x28c)]){_0x358979(this,_0x5caa0a,_0x395724);return;}_0x886e20===void 0x0&&(_0x886e20=!this[_0x2187e8(0x1c7)]),this[_0x2187e8(0x17e)]['ping'](_0x5caa0a||_0x7c1c0a,_0x886e20,_0x395724);}[_0x5b95d2(0x2ff)](_0x387f7b,_0x11735a,_0x202a69){const _0x15359c=_0x5b95d2;if(this['readyState']===_0x1f29d1[_0x15359c(0x284)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x387f7b==_0x15359c(0x1a3)?(_0x202a69=_0x387f7b,_0x387f7b=_0x11735a=void 0x0):typeof _0x11735a==_0x15359c(0x1a3)&&(_0x202a69=_0x11735a,_0x11735a=void 0x0),typeof _0x387f7b==_0x15359c(0x26e)&&(_0x387f7b=_0x387f7b[_0x15359c(0x26d)]()),this['readyState']!==_0x1f29d1[_0x15359c(0x28c)]){_0x358979(this,_0x387f7b,_0x202a69);return;}_0x11735a===void 0x0&&(_0x11735a=!this[_0x15359c(0x1c7)]),this[_0x15359c(0x17e)][_0x15359c(0x2ff)](_0x387f7b||_0x7c1c0a,_0x11735a,_0x202a69);}[_0x5b95d2(0x179)](){const _0x1b098a=_0x5b95d2;this[_0x1b098a(0x1b3)]===_0x1f29d1['CONNECTING']||this[_0x1b098a(0x1b3)]===_0x1f29d1['CLOSED']||(this[_0x1b098a(0x2c3)]=!0x1,this['_receiver'][_0x1b098a(0x268)][_0x1b098a(0x2d2)]||this['_socket'][_0x1b098a(0x179)]());}[_0x5b95d2(0x182)](_0x578856,_0x56e2d8,_0x38009c){const _0x2321ce=_0x5b95d2;if(this[_0x2321ce(0x1b3)]===_0x1f29d1[_0x2321ce(0x284)])throw new Error(_0x2321ce(0x29f));if(typeof _0x56e2d8==_0x2321ce(0x1a3)&&(_0x38009c=_0x56e2d8,_0x56e2d8={}),typeof _0x578856==_0x2321ce(0x26e)&&(_0x578856=_0x578856[_0x2321ce(0x26d)]()),this[_0x2321ce(0x1b3)]!==_0x1f29d1[_0x2321ce(0x28c)]){_0x358979(this,_0x578856,_0x38009c);return;}const _0x4eda79={'binary':typeof _0x578856!=_0x2321ce(0x208),'mask':!this[_0x2321ce(0x1c7)],'compress':!0x0,'fin':!0x0,..._0x56e2d8};this['_extensions'][_0x524d1d[_0x2321ce(0x2ee)]]||(_0x4eda79['compress']=!0x1),this[_0x2321ce(0x17e)][_0x2321ce(0x182)](_0x578856||_0x7c1c0a,_0x4eda79,_0x38009c);}[_0x5b95d2(0x24c)](){const _0x4febab=_0x5b95d2;if(this['readyState']!==_0x1f29d1[_0x4febab(0x1b5)]){if(this[_0x4febab(0x1b3)]===_0x1f29d1[_0x4febab(0x284)]){_0x1b4cb7(this,this[_0x4febab(0x2ac)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x4febab(0x23c)]&&(this[_0x4febab(0x27a)]=_0x1f29d1[_0x4febab(0x2b8)],this[_0x4febab(0x23c)]['destroy']());}}}Object['defineProperty'](_0x1f29d1,_0x5b95d2(0x284),{'enumerable':!0x0,'value':_0x41173c[_0x5b95d2(0x2a0)](_0x5b95d2(0x284))}),Object[_0x5b95d2(0x2db)](_0x1f29d1[_0x5b95d2(0x221)],_0x5b95d2(0x284),{'enumerable':!0x0,'value':_0x41173c[_0x5b95d2(0x2a0)](_0x5b95d2(0x284))}),Object[_0x5b95d2(0x2db)](_0x1f29d1,_0x5b95d2(0x28c),{'enumerable':!0x0,'value':_0x41173c[_0x5b95d2(0x2a0)](_0x5b95d2(0x28c))}),Object[_0x5b95d2(0x2db)](_0x1f29d1[_0x5b95d2(0x221)],_0x5b95d2(0x28c),{'enumerable':!0x0,'value':_0x41173c[_0x5b95d2(0x2a0)](_0x5b95d2(0x28c))}),Object['defineProperty'](_0x1f29d1,_0x5b95d2(0x2b8),{'enumerable':!0x0,'value':_0x41173c[_0x5b95d2(0x2a0)]('CLOSING')}),Object[_0x5b95d2(0x2db)](_0x1f29d1[_0x5b95d2(0x221)],'CLOSING',{'enumerable':!0x0,'value':_0x41173c[_0x5b95d2(0x2a0)]('CLOSING')}),Object[_0x5b95d2(0x2db)](_0x1f29d1,_0x5b95d2(0x1b5),{'enumerable':!0x0,'value':_0x41173c[_0x5b95d2(0x2a0)](_0x5b95d2(0x1b5))}),Object[_0x5b95d2(0x2db)](_0x1f29d1[_0x5b95d2(0x221)],_0x5b95d2(0x1b5),{'enumerable':!0x0,'value':_0x41173c['indexOf'](_0x5b95d2(0x1b5))}),[_0x5b95d2(0x2ba),_0x5b95d2(0x195),_0x5b95d2(0x1cc),_0x5b95d2(0x2af),_0x5b95d2(0x320),_0x5b95d2(0x1b3),_0x5b95d2(0x260)]['forEach'](_0x788382=>{Object['defineProperty'](_0x1f29d1['prototype'],_0x788382,{'enumerable':!0x0});}),[_0x5b95d2(0x2f7),_0x5b95d2(0x1a1),_0x5b95d2(0x1e2),'message']['forEach'](_0x43368f=>{const _0x1c21a3=_0x5b95d2;Object[_0x1c21a3(0x2db)](_0x1f29d1['prototype'],'on'+_0x43368f,{'enumerable':!0x0,'get'(){const _0x32223b=_0x1c21a3;for(const _0x4359b8 of this[_0x32223b(0x218)](_0x43368f))if(_0x4359b8[_0x36c372])return _0x4359b8[_0x4945db];return null;},'set'(_0x12bd17){const _0x4f49b5=_0x1c21a3;for(const _0x1da04d of this[_0x4f49b5(0x218)](_0x43368f))if(_0x1da04d[_0x36c372]){this[_0x4f49b5(0x321)](_0x43368f,_0x1da04d);break;}typeof _0x12bd17==_0x4f49b5(0x1a3)&&this[_0x4f49b5(0x1c1)](_0x43368f,_0x12bd17,{[_0x36c372]:!0x0});}});}),_0x1f29d1['prototype'][_0x5b95d2(0x1c1)]=_0x31393d,_0x1f29d1['prototype'][_0x5b95d2(0x215)]=_0xfd42f1,we=_0x1f29d1;function _0x129472(_0x50e4da,_0x3b166d,_0x1966f1,_0x39549b){const _0x1845ea=_0x5b95d2,_0x49572c={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1e3e0b[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x39549b,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x1845ea(0x19b),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x50e4da['_autoPong']=_0x49572c['autoPong'],!_0x1e3e0b[_0x1845ea(0x1df)](_0x49572c['protocolVersion']))throw new RangeError(_0x1845ea(0x15e)+_0x49572c['protocolVersion']+_0x1845ea(0x254)+_0x1e3e0b[_0x1845ea(0x1ef)](',\x20')+')');let _0x453a40;if(_0x3b166d instanceof _0x51d269)_0x453a40=_0x3b166d;else try{_0x453a40=new _0x51d269(_0x3b166d);}catch{throw new SyntaxError(_0x1845ea(0x20b)+_0x3b166d);}_0x453a40['protocol']===_0x1845ea(0x16e)?_0x453a40[_0x1845ea(0x320)]=_0x1845ea(0x247):_0x453a40[_0x1845ea(0x320)]===_0x1845ea(0x31a)&&(_0x453a40[_0x1845ea(0x320)]=_0x1845ea(0x20e)),_0x50e4da['_url']=_0x453a40[_0x1845ea(0x1a8)];const _0x3ecea6=_0x453a40[_0x1845ea(0x320)]==='wss:',_0xc02772=_0x453a40['protocol']===_0x1845ea(0x21e);let _0x27e78d;if(_0x453a40[_0x1845ea(0x320)]!=='ws:'&&!_0x3ecea6&&!_0xc02772?_0x27e78d=_0x1845ea(0x22d):_0xc02772&&!_0x453a40['pathname']?_0x27e78d=_0x1845ea(0x1c3):_0x453a40['hash']&&(_0x27e78d=_0x1845ea(0x1af)),_0x27e78d){const _0xd3aa8b=new SyntaxError(_0x27e78d);if(_0x50e4da['_redirects']===0x0)throw _0xd3aa8b;_0x455872(_0x50e4da,_0xd3aa8b);return;}const _0x11204c=_0x3ecea6?0x1bb:0x50,_0x3d2bcb=_0xe3238e(0x10)[_0x1845ea(0x26d)]('base64'),_0x2e33a6=_0x3ecea6?_0x2b348e[_0x1845ea(0x274)]:_0x5a6cf1[_0x1845ea(0x274)],_0x2d5493=new Set();let _0x1e9e00;if(_0x49572c[_0x1845ea(0x2ae)]=_0x49572c[_0x1845ea(0x2ae)]||(_0x3ecea6?_0x321a7e:_0x3d597b),_0x49572c[_0x1845ea(0x223)]=_0x49572c[_0x1845ea(0x223)]||_0x11204c,_0x49572c[_0x1845ea(0x297)]=_0x453a40['port']||_0x11204c,_0x49572c[_0x1845ea(0x19d)]=_0x453a40[_0x1845ea(0x2ce)][_0x1845ea(0x15b)]('[')?_0x453a40[_0x1845ea(0x2ce)][_0x1845ea(0x1f4)](0x1,-0x1):_0x453a40['hostname'],_0x49572c[_0x1845ea(0x2de)]={..._0x49572c[_0x1845ea(0x2de)],'Sec-WebSocket-Version':_0x49572c[_0x1845ea(0x211)],'Sec-WebSocket-Key':_0x3d2bcb,'Connection':_0x1845ea(0x233),'Upgrade':_0x1845ea(0x1b1)},_0x49572c['path']=_0x453a40['pathname']+_0x453a40[_0x1845ea(0x1c9)],_0x49572c[_0x1845ea(0x22a)]=_0x49572c[_0x1845ea(0x303)],_0x49572c['perMessageDeflate']&&(_0x1e9e00=new _0x524d1d(_0x49572c[_0x1845ea(0x31b)]!==!0x0?_0x49572c[_0x1845ea(0x31b)]:{},!0x1,_0x49572c['maxPayload']),_0x49572c[_0x1845ea(0x2de)]['Sec-WebSocket-Extensions']=_0x4f6ab1({[_0x524d1d[_0x1845ea(0x2ee)]]:_0x1e9e00[_0x1845ea(0x16b)]()})),_0x1966f1[_0x1845ea(0x1e0)]){for(const _0x766412 of _0x1966f1){if(typeof _0x766412!=_0x1845ea(0x208)||!_0x59bebe[_0x1845ea(0x1e7)](_0x766412)||_0x2d5493[_0x1845ea(0x30c)](_0x766412))throw new SyntaxError(_0x1845ea(0x2b4));_0x2d5493[_0x1845ea(0x18c)](_0x766412);}_0x49572c[_0x1845ea(0x2de)][_0x1845ea(0x19a)]=_0x1966f1['join'](',');}if(_0x49572c['origin']&&(_0x49572c[_0x1845ea(0x211)]<0xd?_0x49572c[_0x1845ea(0x2de)][_0x1845ea(0x1a2)]=_0x49572c['origin']:_0x49572c[_0x1845ea(0x2de)][_0x1845ea(0x251)]=_0x49572c['origin']),(_0x453a40[_0x1845ea(0x29b)]||_0x453a40[_0x1845ea(0x15f)])&&(_0x49572c[_0x1845ea(0x184)]=_0x453a40[_0x1845ea(0x29b)]+':'+_0x453a40['password']),_0xc02772){const _0x31068f=_0x49572c[_0x1845ea(0x25c)][_0x1845ea(0x1d3)](':');_0x49572c['socketPath']=_0x31068f[0x0],_0x49572c[_0x1845ea(0x25c)]=_0x31068f[0x1];}let _0x372764;if(_0x49572c[_0x1845ea(0x266)]){if(_0x50e4da['_redirects']===0x0){_0x50e4da['_originalIpc']=_0xc02772,_0x50e4da[_0x1845ea(0x1a9)]=_0x3ecea6,_0x50e4da[_0x1845ea(0x2c0)]=_0xc02772?_0x49572c[_0x1845ea(0x298)]:_0x453a40[_0x1845ea(0x19d)];const _0x1e53a0=_0x39549b&&_0x39549b['headers'];if(_0x39549b={..._0x39549b,'headers':{}},_0x1e53a0){for(const [_0x5d0934,_0x3fd529]of Object[_0x1845ea(0x276)](_0x1e53a0))_0x39549b[_0x1845ea(0x2de)][_0x5d0934[_0x1845ea(0x2e3)]()]=_0x3fd529;}}else{if(_0x50e4da[_0x1845ea(0x2a6)](_0x1845ea(0x272))===0x0){const _0x5bd057=_0xc02772?_0x50e4da[_0x1845ea(0x2ca)]?_0x49572c[_0x1845ea(0x298)]===_0x50e4da[_0x1845ea(0x2c0)]:!0x1:_0x50e4da[_0x1845ea(0x2ca)]?!0x1:_0x453a40[_0x1845ea(0x19d)]===_0x50e4da['_originalHostOrSocketPath'];(!_0x5bd057||_0x50e4da[_0x1845ea(0x1a9)]&&!_0x3ecea6)&&(delete _0x49572c[_0x1845ea(0x2de)][_0x1845ea(0x304)],delete _0x49572c[_0x1845ea(0x2de)][_0x1845ea(0x275)],_0x5bd057||delete _0x49572c[_0x1845ea(0x2de)]['host'],_0x49572c[_0x1845ea(0x184)]=void 0x0);}}_0x49572c['auth']&&!_0x39549b[_0x1845ea(0x2de)][_0x1845ea(0x304)]&&(_0x39549b[_0x1845ea(0x2de)][_0x1845ea(0x304)]=_0x1845ea(0x267)+Buffer[_0x1845ea(0x185)](_0x49572c[_0x1845ea(0x184)])['toString'](_0x1845ea(0x281))),_0x372764=_0x50e4da['_req']=_0x2e33a6(_0x49572c),_0x50e4da[_0x1845ea(0x24e)]&&_0x50e4da['emit']('redirect',_0x50e4da[_0x1845ea(0x260)],_0x372764);}else _0x372764=_0x50e4da[_0x1845ea(0x2ac)]=_0x2e33a6(_0x49572c);_0x49572c[_0x1845ea(0x22a)]&&_0x372764['on'](_0x1845ea(0x22a),()=>{const _0x42ecbd=_0x1845ea;_0x1b4cb7(_0x50e4da,_0x372764,_0x42ecbd(0x18b));}),_0x372764['on'](_0x1845ea(0x1a1),_0x1d1665=>{const _0x3e4a76=_0x1845ea;_0x372764===null||_0x372764[_0x461d70]||(_0x372764=_0x50e4da[_0x3e4a76(0x2ac)]=null,_0x455872(_0x50e4da,_0x1d1665));}),_0x372764['on'](_0x1845ea(0x1c6),_0x1ec9bf=>{const _0x45c1e7=_0x1845ea,_0x591feb=_0x1ec9bf[_0x45c1e7(0x2de)][_0x45c1e7(0x178)],_0x3cbe13=_0x1ec9bf['statusCode'];if(_0x591feb&&_0x49572c[_0x45c1e7(0x266)]&&_0x3cbe13>=0x12c&&_0x3cbe13<0x190){if(++_0x50e4da[_0x45c1e7(0x24e)]>_0x49572c['maxRedirects']){_0x1b4cb7(_0x50e4da,_0x372764,'Maximum\x20redirects\x20exceeded');return;}_0x372764[_0x45c1e7(0x28e)]();let _0x743e84;try{_0x743e84=new _0x51d269(_0x591feb,_0x3b166d);}catch{const _0x273939=new SyntaxError(_0x45c1e7(0x20b)+_0x591feb);_0x455872(_0x50e4da,_0x273939);return;}_0x129472(_0x50e4da,_0x743e84,_0x1966f1,_0x39549b);}else _0x50e4da[_0x45c1e7(0x1c2)](_0x45c1e7(0x1d1),_0x372764,_0x1ec9bf)||_0x1b4cb7(_0x50e4da,_0x372764,_0x45c1e7(0x1b2)+_0x1ec9bf['statusCode']);}),_0x372764['on'](_0x1845ea(0x252),(_0x17f241,_0x21a4e3,_0x79fc24)=>{const _0x226102=_0x1845ea;if(_0x50e4da['emit'](_0x226102(0x252),_0x17f241),_0x50e4da[_0x226102(0x1b3)]!==_0x1f29d1[_0x226102(0x284)])return;_0x372764=_0x50e4da[_0x226102(0x2ac)]=null;const _0x4705a9=_0x17f241[_0x226102(0x2de)][_0x226102(0x252)];if(_0x4705a9===void 0x0||_0x4705a9[_0x226102(0x2e3)]()!=='websocket'){_0x1b4cb7(_0x50e4da,_0x21a4e3,_0x226102(0x26b));return;}const _0x2e7336=_0x3d8350('sha1')[_0x226102(0x246)](_0x3d2bcb+_0x422dab)[_0x226102(0x167)](_0x226102(0x281));if(_0x17f241[_0x226102(0x2de)][_0x226102(0x1e3)]!==_0x2e7336){_0x1b4cb7(_0x50e4da,_0x21a4e3,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0xfb21b4=_0x17f241[_0x226102(0x2de)][_0x226102(0x2d0)];let _0x233066;if(_0xfb21b4!==void 0x0?_0x2d5493[_0x226102(0x176)]?_0x2d5493[_0x226102(0x30c)](_0xfb21b4)||(_0x233066=_0x226102(0x216)):_0x233066='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x2d5493['size']&&(_0x233066='Server\x20sent\x20no\x20subprotocol'),_0x233066){_0x1b4cb7(_0x50e4da,_0x21a4e3,_0x233066);return;}_0xfb21b4&&(_0x50e4da['_protocol']=_0xfb21b4);const _0x4bdc61=_0x17f241[_0x226102(0x2de)][_0x226102(0x17c)];if(_0x4bdc61!==void 0x0){if(!_0x1e9e00){_0x1b4cb7(_0x50e4da,_0x21a4e3,_0x226102(0x165));return;}let _0x9dd853;try{_0x9dd853=_0xa80d9(_0x4bdc61);}catch{_0x1b4cb7(_0x50e4da,_0x21a4e3,_0x226102(0x2ea));return;}const _0x4b6d0e=Object['keys'](_0x9dd853);if(_0x4b6d0e[_0x226102(0x1e0)]!==0x1||_0x4b6d0e[0x0]!==_0x524d1d['extensionName']){_0x1b4cb7(_0x50e4da,_0x21a4e3,_0x226102(0x2f2));return;}try{_0x1e9e00[_0x226102(0x1e8)](_0x9dd853[_0x524d1d[_0x226102(0x2ee)]]);}catch{_0x1b4cb7(_0x50e4da,_0x21a4e3,_0x226102(0x2ea));return;}_0x50e4da[_0x226102(0x206)][_0x524d1d[_0x226102(0x2ee)]]=_0x1e9e00;}_0x50e4da[_0x226102(0x161)](_0x21a4e3,_0x79fc24,{'allowSynchronousEvents':_0x49572c['allowSynchronousEvents'],'generateMask':_0x49572c[_0x226102(0x1ff)],'maxPayload':_0x49572c['maxPayload'],'skipUTF8Validation':_0x49572c[_0x226102(0x21c)]});}),_0x49572c['finishRequest']?_0x49572c[_0x1845ea(0x201)](_0x372764,_0x50e4da):_0x372764['end']();}function _0x455872(_0x521bbd,_0x4252b4){const _0x42a15f=_0x5b95d2;_0x521bbd[_0x42a15f(0x27a)]=_0x1f29d1[_0x42a15f(0x2b8)],_0x521bbd[_0x42a15f(0x189)]=!0x0,_0x521bbd[_0x42a15f(0x1c2)]('error',_0x4252b4),_0x521bbd[_0x42a15f(0x2a5)]();}function _0x3d597b(_0x1d84f3){const _0x11fb3b=_0x5b95d2;return _0x1d84f3['path']=_0x1d84f3[_0x11fb3b(0x298)],_0x53127b[_0x11fb3b(0x309)](_0x1d84f3);}function _0x321a7e(_0x5536c4){const _0x2e840d=_0x5b95d2;return _0x5536c4[_0x2e840d(0x25c)]=void 0x0,!_0x5536c4[_0x2e840d(0x285)]&&_0x5536c4[_0x2e840d(0x285)]!==''&&(_0x5536c4[_0x2e840d(0x285)]=_0x53127b[_0x2e840d(0x2a9)](_0x5536c4['host'])?'':_0x5536c4[_0x2e840d(0x19d)]),_0x3a1ef1['connect'](_0x5536c4);}function _0x1b4cb7(_0x2b3566,_0x513715,_0x358e90){const _0x222600=_0x5b95d2;_0x2b3566[_0x222600(0x27a)]=_0x1f29d1['CLOSING'];const _0x1ac845=new Error(_0x358e90);Error[_0x222600(0x1dc)](_0x1ac845,_0x1b4cb7),_0x513715[_0x222600(0x287)]?(_0x513715[_0x461d70]=!0x0,_0x513715[_0x222600(0x28e)](),_0x513715['socket']&&!_0x513715[_0x222600(0x264)]['destroyed']&&_0x513715[_0x222600(0x264)][_0x222600(0x296)](),process[_0x222600(0x187)](_0x455872,_0x2b3566,_0x1ac845)):(_0x513715[_0x222600(0x296)](_0x1ac845),_0x513715[_0x222600(0x18a)]('error',_0x2b3566['emit']['bind'](_0x2b3566,'error')),_0x513715[_0x222600(0x18a)]('close',_0x2b3566[_0x222600(0x2a5)][_0x222600(0x1de)](_0x2b3566)));}function _0x358979(_0x3b8d46,_0x2a2093,_0x355085){const _0x2c1f37=_0x5b95d2;if(_0x2a2093){const _0x4b49ad=_0x56d93d(_0x2a2093)?_0x2a2093[_0x2c1f37(0x176)]:_0x306f90(_0x2a2093)[_0x2c1f37(0x1e0)];_0x3b8d46[_0x2c1f37(0x23c)]?_0x3b8d46[_0x2c1f37(0x17e)][_0x2c1f37(0x271)]+=_0x4b49ad:_0x3b8d46[_0x2c1f37(0x243)]+=_0x4b49ad;}if(_0x355085){const _0x2dc745=new Error(_0x2c1f37(0x2ef)+_0x3b8d46['readyState']+'\x20('+_0x41173c[_0x3b8d46[_0x2c1f37(0x1b3)]]+')');process[_0x2c1f37(0x187)](_0x355085,_0x2dc745);}}function _0x45040d(_0x11cd2d,_0x374ca0){const _0x228b6b=_0x5b95d2,_0x443201=this[_0x440d00];_0x443201[_0x228b6b(0x15a)]=!0x0,_0x443201[_0x228b6b(0x291)]=_0x374ca0,_0x443201[_0x228b6b(0x224)]=_0x11cd2d,_0x443201[_0x228b6b(0x23c)][_0x440d00]!==void 0x0&&(_0x443201[_0x228b6b(0x23c)]['removeListener'](_0x228b6b(0x1c4),_0x29869f),process[_0x228b6b(0x187)](_0x5a0227,_0x443201[_0x228b6b(0x23c)]),_0x11cd2d===0x3ed?_0x443201['close']():_0x443201[_0x228b6b(0x1e2)](_0x11cd2d,_0x374ca0));}function _0x5e3036(){const _0x2d21c7=_0x5b95d2,_0x533722=this[_0x440d00];_0x533722[_0x2d21c7(0x2af)]||_0x533722[_0x2d21c7(0x23c)][_0x2d21c7(0x179)]();}function _0x2a1e52(_0x3a5afe){const _0x4239f1=_0x5b95d2,_0x4259b7=this[_0x440d00];_0x4259b7[_0x4239f1(0x23c)][_0x440d00]!==void 0x0&&(_0x4259b7['_socket']['removeListener']('data',_0x29869f),process['nextTick'](_0x5a0227,_0x4259b7[_0x4239f1(0x23c)]),_0x4259b7[_0x4239f1(0x1e2)](_0x3a5afe[_0x2f619a])),_0x4259b7['_errorEmitted']||(_0x4259b7['_errorEmitted']=!0x0,_0x4259b7[_0x4239f1(0x1c2)](_0x4239f1(0x1a1),_0x3a5afe));}function _0x253cf2(){this[_0x440d00]['emitClose']();}function _0x24e9c4(_0x56d16f,_0x493188){const _0x1d8a05=_0x5b95d2;this[_0x440d00][_0x1d8a05(0x1c2)](_0x1d8a05(0x237),_0x56d16f,_0x493188);}function _0x446b87(_0x364870){const _0x1a65d0=_0x5b95d2,_0x197625=this[_0x440d00];_0x197625[_0x1a65d0(0x2aa)]&&_0x197625[_0x1a65d0(0x2ff)](_0x364870,!this[_0x1a65d0(0x1c7)],_0x5ee84d),_0x197625[_0x1a65d0(0x1c2)](_0x1a65d0(0x2be),_0x364870);}function _0x40ae4a(_0x18f830){const _0x2a793e=_0x5b95d2;this[_0x440d00][_0x2a793e(0x1c2)](_0x2a793e(0x2ff),_0x18f830);}function _0x5a0227(_0x30df91){const _0x2c9a41=_0x5b95d2;_0x30df91[_0x2c9a41(0x179)]();}function _0x3ec6e4(_0x1e4c49){const _0x402eb7=_0x5b95d2,_0x263460=this[_0x440d00];_0x263460['readyState']!==_0x1f29d1[_0x402eb7(0x1b5)]&&(_0x263460[_0x402eb7(0x1b3)]===_0x1f29d1['OPEN']&&(_0x263460['_readyState']=_0x1f29d1[_0x402eb7(0x2b8)],_0x5511c9(_0x263460)),this[_0x402eb7(0x23c)][_0x402eb7(0x209)](),_0x263460[_0x402eb7(0x189)]||(_0x263460['_errorEmitted']=!0x0,_0x263460[_0x402eb7(0x1c2)](_0x402eb7(0x1a1),_0x1e4c49)));}function _0x5511c9(_0x3aa73a){const _0x5915b0=_0x5b95d2;_0x3aa73a[_0x5915b0(0x207)]=setTimeout(_0x3aa73a[_0x5915b0(0x23c)]['destroy'][_0x5915b0(0x1de)](_0x3aa73a[_0x5915b0(0x23c)]),_0x217d64);}function _0x42c9d3(){const _0x5a2309=_0x5b95d2,_0x552629=this[_0x440d00];this[_0x5a2309(0x321)](_0x5a2309(0x1e2),_0x42c9d3),this[_0x5a2309(0x321)](_0x5a2309(0x1c4),_0x29869f),this[_0x5a2309(0x321)]('end',_0x113807),_0x552629[_0x5a2309(0x27a)]=_0x1f29d1[_0x5a2309(0x2b8)];let _0x26a100;!this[_0x5a2309(0x16c)]['endEmitted']&&!_0x552629['_closeFrameReceived']&&!_0x552629['_receiver'][_0x5a2309(0x268)][_0x5a2309(0x288)]&&(_0x26a100=_0x552629[_0x5a2309(0x23c)][_0x5a2309(0x160)]())!==null&&_0x552629['_receiver'][_0x5a2309(0x169)](_0x26a100),_0x552629[_0x5a2309(0x286)][_0x5a2309(0x209)](),this[_0x440d00]=void 0x0,clearTimeout(_0x552629[_0x5a2309(0x207)]),_0x552629[_0x5a2309(0x286)][_0x5a2309(0x268)][_0x5a2309(0x19f)]||_0x552629[_0x5a2309(0x286)][_0x5a2309(0x268)][_0x5a2309(0x288)]?_0x552629['emitClose']():(_0x552629[_0x5a2309(0x286)]['on'](_0x5a2309(0x1a1),_0x253cf2),_0x552629[_0x5a2309(0x286)]['on'](_0x5a2309(0x273),_0x253cf2));}function _0x29869f(_0x141f1b){const _0x19a112=_0x5b95d2;this[_0x440d00][_0x19a112(0x286)][_0x19a112(0x169)](_0x141f1b)||this[_0x19a112(0x164)]();}function _0x113807(){const _0x4115c8=_0x5b95d2,_0x383957=this[_0x440d00];_0x383957[_0x4115c8(0x27a)]=_0x1f29d1[_0x4115c8(0x2b8)],_0x383957[_0x4115c8(0x286)][_0x4115c8(0x209)](),this[_0x4115c8(0x209)]();}function _0x4061f8(){const _0x36cc12=_0x5b95d2,_0x5ee5b6=this[_0x440d00];this[_0x36cc12(0x321)]('error',_0x4061f8),this['on']('error',_0x5ee84d),_0x5ee5b6&&(_0x5ee5b6[_0x36cc12(0x27a)]=_0x1f29d1[_0x36cc12(0x2b8)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x4f8e4a}=oe;function _0x7e38ae(_0x948c02){const _0x5c3e93=_0x58f7;_0x948c02[_0x5c3e93(0x1c2)](_0x5c3e93(0x1e2));}function _0x136be4(){const _0xdbb92a=_0x58f7;!this[_0xdbb92a(0x1e1)]&&this[_0xdbb92a(0x268)][_0xdbb92a(0x19f)]&&this[_0xdbb92a(0x296)]();}function _0x52aa17(_0x8bf2a6){const _0x36fc9b=_0x58f7;this[_0x36fc9b(0x321)](_0x36fc9b(0x1a1),_0x52aa17),this[_0x36fc9b(0x296)](),this[_0x36fc9b(0x2a6)](_0x36fc9b(0x1a1))===0x0&&this[_0x36fc9b(0x1c2)](_0x36fc9b(0x1a1),_0x8bf2a6);}function _0x54c70a(_0x4b9bc4,_0x4e07fe){const _0x577344=_0x58f7;let _0x5e8fcb=!0x0;const _0x1fe990=new _0x4f8e4a({..._0x4e07fe,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4b9bc4['on'](_0x577344(0x237),function(_0x3e3135,_0x3ded64){const _0x1c460a=_0x577344,_0x1e6a02=!_0x3ded64&&_0x1fe990[_0x1c460a(0x16c)][_0x1c460a(0x188)]?_0x3e3135['toString']():_0x3e3135;_0x1fe990['push'](_0x1e6a02)||_0x4b9bc4[_0x1c460a(0x164)]();}),_0x4b9bc4['once'](_0x577344(0x1a1),function(_0x83e4c8){const _0x503406=_0x577344;_0x1fe990[_0x503406(0x1e1)]||(_0x5e8fcb=!0x1,_0x1fe990[_0x503406(0x296)](_0x83e4c8));}),_0x4b9bc4[_0x577344(0x18a)]('close',function(){const _0x24e931=_0x577344;_0x1fe990[_0x24e931(0x1e1)]||_0x1fe990[_0x24e931(0x236)](null);}),_0x1fe990[_0x577344(0x2b0)]=function(_0xe27a1e,_0x159943){const _0x139871=_0x577344;if(_0x4b9bc4[_0x139871(0x1b3)]===_0x4b9bc4[_0x139871(0x1b5)]){_0x159943(_0xe27a1e),process[_0x139871(0x187)](_0x7e38ae,_0x1fe990);return;}let _0x10acc5=!0x1;_0x4b9bc4[_0x139871(0x18a)](_0x139871(0x1a1),function(_0xb4cada){_0x10acc5=!0x0,_0x159943(_0xb4cada);}),_0x4b9bc4[_0x139871(0x18a)](_0x139871(0x1e2),function(){_0x10acc5||_0x159943(_0xe27a1e),process['nextTick'](_0x7e38ae,_0x1fe990);}),_0x5e8fcb&&_0x4b9bc4[_0x139871(0x24c)]();},_0x1fe990[_0x577344(0x1cf)]=function(_0x4740e6){const _0x8f5836=_0x577344;if(_0x4b9bc4[_0x8f5836(0x1b3)]===_0x4b9bc4[_0x8f5836(0x284)]){_0x4b9bc4['once'](_0x8f5836(0x2f7),function(){const _0x1a6c4f=_0x8f5836;_0x1fe990[_0x1a6c4f(0x1cf)](_0x4740e6);});return;}_0x4b9bc4[_0x8f5836(0x23c)]!==null&&(_0x4b9bc4[_0x8f5836(0x23c)][_0x8f5836(0x268)][_0x8f5836(0x19f)]?(_0x4740e6(),_0x1fe990[_0x8f5836(0x16c)][_0x8f5836(0x301)]&&_0x1fe990[_0x8f5836(0x296)]()):(_0x4b9bc4[_0x8f5836(0x23c)]['once'](_0x8f5836(0x273),function(){_0x4740e6();}),_0x4b9bc4[_0x8f5836(0x1e2)]()));},_0x1fe990['_read']=function(){const _0x113c21=_0x577344;_0x4b9bc4['isPaused']&&_0x4b9bc4[_0x113c21(0x179)]();},_0x1fe990[_0x577344(0x18e)]=function(_0x1c0463,_0x139d35,_0x5dfb01){const _0x15d343=_0x577344;if(_0x4b9bc4[_0x15d343(0x1b3)]===_0x4b9bc4['CONNECTING']){_0x4b9bc4[_0x15d343(0x18a)]('open',function(){const _0x1f4b86=_0x15d343;_0x1fe990[_0x1f4b86(0x18e)](_0x1c0463,_0x139d35,_0x5dfb01);});return;}_0x4b9bc4[_0x15d343(0x182)](_0x1c0463,_0x5dfb01);},_0x1fe990['on'](_0x577344(0x209),_0x136be4),_0x1fe990['on']('error',_0x52aa17),_0x1fe990;}return Oe=_0x54c70a,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x1eaa5d}=ae();function _0x50b228(_0x366858){const _0x3953c6=_0x58f7,_0x3033c3=new Set();let _0x39b1f7=-0x1,_0x38d9aa=-0x1,_0x3d4da3=0x0;for(_0x3d4da3;_0x3d4da3<_0x366858[_0x3953c6(0x1e0)];_0x3d4da3++){const _0x280090=_0x366858['charCodeAt'](_0x3d4da3);if(_0x38d9aa===-0x1&&_0x1eaa5d[_0x280090]===0x1)_0x39b1f7===-0x1&&(_0x39b1f7=_0x3d4da3);else{if(_0x3d4da3!==0x0&&(_0x280090===0x20||_0x280090===0x9))_0x38d9aa===-0x1&&_0x39b1f7!==-0x1&&(_0x38d9aa=_0x3d4da3);else{if(_0x280090===0x2c){if(_0x39b1f7===-0x1)throw new SyntaxError(_0x3953c6(0x1e4)+_0x3d4da3);_0x38d9aa===-0x1&&(_0x38d9aa=_0x3d4da3);const _0x950f87=_0x366858['slice'](_0x39b1f7,_0x38d9aa);if(_0x3033c3[_0x3953c6(0x30c)](_0x950f87))throw new SyntaxError('The\x20\x22'+_0x950f87+_0x3953c6(0x2a8));_0x3033c3[_0x3953c6(0x18c)](_0x950f87),_0x39b1f7=_0x38d9aa=-0x1;}else throw new SyntaxError(_0x3953c6(0x1e4)+_0x3d4da3);}}}if(_0x39b1f7===-0x1||_0x38d9aa!==-0x1)throw new SyntaxError(_0x3953c6(0x257));const _0x547678=_0x366858[_0x3953c6(0x1f4)](_0x39b1f7,_0x3d4da3);if(_0x3033c3[_0x3953c6(0x30c)](_0x547678))throw new SyntaxError(_0x3953c6(0x1dd)+_0x547678+_0x3953c6(0x2a8));return _0x3033c3[_0x3953c6(0x18c)](_0x547678),_0x3033c3;}return Ce={'parse':_0x50b228},Ce;}var Te,rt;function Ft(){const _0x3e44d3=_0xc18ba;if(rt)return Te;rt=0x1;const _0x5981bf=nt,_0xc0b045=ot,{Duplex:_0x44992d}=oe,{createHash:_0xef9393}=Le,_0x3750d1=ct(),_0x540ad2=he(),_0x1dbab1=At(),_0x3f7ee5=Pe(),{GUID:_0x27273b,kWebSocket:_0x3f0ba5}=H(),_0x229655=/^[+/0-9A-Za-z]{22}==$/,_0x18b4e3=0x0,_0x510dee=0x1,_0x466f36=0x2;class _0x5e67eb extends _0x5981bf{constructor(_0x9808da,_0x500586){const _0x14557d=_0x58f7;if(super(),_0x9808da={'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':_0x3f7ee5,..._0x9808da},_0x9808da[_0x14557d(0x297)]==null&&!_0x9808da['server']&&!_0x9808da[_0x14557d(0x20c)]||_0x9808da[_0x14557d(0x297)]!=null&&(_0x9808da[_0x14557d(0x199)]||_0x9808da['noServer'])||_0x9808da[_0x14557d(0x199)]&&_0x9808da[_0x14557d(0x20c)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x9808da['port']!=null?(this[_0x14557d(0x292)]=_0xc0b045[_0x14557d(0x238)]((_0x4fe6bd,_0x504ebb)=>{const _0x418756=_0x14557d,_0x4c1e37=_0xc0b045['STATUS_CODES'][0x1aa];_0x504ebb[_0x418756(0x24d)](0x1aa,{'Content-Length':_0x4c1e37['length'],'Content-Type':_0x418756(0x2bf)}),_0x504ebb[_0x418756(0x209)](_0x4c1e37);}),this[_0x14557d(0x292)][_0x14557d(0x314)](_0x9808da['port'],_0x9808da['host'],_0x9808da[_0x14557d(0x249)],_0x500586)):_0x9808da['server']&&(this[_0x14557d(0x292)]=_0x9808da[_0x14557d(0x199)]),this[_0x14557d(0x292)]){const _0x12af4f=this[_0x14557d(0x1c2)]['bind'](this,'connection');this[_0x14557d(0x235)]=_0x2ba277(this[_0x14557d(0x292)],{'listening':this['emit'][_0x14557d(0x1de)](this,'listening'),'error':this[_0x14557d(0x1c2)]['bind'](this,'error'),'upgrade':(_0xd33339,_0x12ab8a,_0x27ae03)=>{this['handleUpgrade'](_0xd33339,_0x12ab8a,_0x27ae03,_0x12af4f);}});}_0x9808da[_0x14557d(0x31b)]===!0x0&&(_0x9808da[_0x14557d(0x31b)]={}),_0x9808da[_0x14557d(0x27f)]&&(this['clients']=new Set(),this['_shouldEmitClose']=!0x1),this['options']=_0x9808da,this[_0x14557d(0x1fd)]=_0x18b4e3;}[_0x3e44d3(0x163)](){const _0x1e27b5=_0x3e44d3;if(this[_0x1e27b5(0x1ad)]['noServer'])throw new Error(_0x1e27b5(0x21b));return this['_server']?this['_server'][_0x1e27b5(0x163)]():null;}[_0x3e44d3(0x1e2)](_0x32d5d5){const _0xcaa4da=_0x3e44d3;if(this[_0xcaa4da(0x1fd)]===_0x466f36){_0x32d5d5&&this[_0xcaa4da(0x18a)]('close',()=>{_0x32d5d5(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0xcaa4da(0x187)](_0x5eaa56,this);return;}if(_0x32d5d5&&this[_0xcaa4da(0x18a)]('close',_0x32d5d5),this['_state']!==_0x510dee){if(this[_0xcaa4da(0x1fd)]=_0x510dee,this['options'][_0xcaa4da(0x20c)]||this[_0xcaa4da(0x1ad)][_0xcaa4da(0x199)])this[_0xcaa4da(0x292)]&&(this[_0xcaa4da(0x235)](),this[_0xcaa4da(0x235)]=this['_server']=null),this['clients']?this[_0xcaa4da(0x180)][_0xcaa4da(0x176)]?this[_0xcaa4da(0x22e)]=!0x0:process['nextTick'](_0x5eaa56,this):process[_0xcaa4da(0x187)](_0x5eaa56,this);else{const _0x197e6e=this[_0xcaa4da(0x292)];this[_0xcaa4da(0x235)](),this[_0xcaa4da(0x235)]=this[_0xcaa4da(0x292)]=null,_0x197e6e[_0xcaa4da(0x1e2)](()=>{_0x5eaa56(this);});}}}['shouldHandle'](_0xa6d6f7){const _0x1d1b20=_0x3e44d3;if(this['options'][_0x1d1b20(0x25c)]){const _0x26c599=_0xa6d6f7[_0x1d1b20(0x260)][_0x1d1b20(0x2a0)]('?');if((_0x26c599!==-0x1?_0xa6d6f7[_0x1d1b20(0x260)][_0x1d1b20(0x1f4)](0x0,_0x26c599):_0xa6d6f7[_0x1d1b20(0x260)])!==this[_0x1d1b20(0x1ad)][_0x1d1b20(0x25c)])return!0x1;}return!0x0;}[_0x3e44d3(0x2e1)](_0x1a6b70,_0x5207a2,_0x1e77d1,_0x1c6226){const _0x60de35=_0x3e44d3;_0x5207a2['on'](_0x60de35(0x1a1),_0x271d32);const _0x5b85a2=_0x1a6b70[_0x60de35(0x2de)][_0x60de35(0x220)],_0x44f160=_0x1a6b70['headers']['upgrade'],_0x38ea4d=+_0x1a6b70[_0x60de35(0x2de)][_0x60de35(0x226)];if(_0x1a6b70[_0x60de35(0x317)]!==_0x60de35(0x19b)){_0x1c9d77(this,_0x1a6b70,_0x5207a2,0x195,_0x60de35(0x258));return;}if(_0x44f160===void 0x0||_0x44f160[_0x60de35(0x2e3)]()!==_0x60de35(0x1b1)){_0x1c9d77(this,_0x1a6b70,_0x5207a2,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x5b85a2===void 0x0||!_0x229655[_0x60de35(0x1e7)](_0x5b85a2)){_0x1c9d77(this,_0x1a6b70,_0x5207a2,0x190,_0x60de35(0x225));return;}if(_0x38ea4d!==0xd&&_0x38ea4d!==0x8){_0x1c9d77(this,_0x1a6b70,_0x5207a2,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x60de35(0x279)});return;}if(!this[_0x60de35(0x1c8)](_0x1a6b70)){_0x3c072f(_0x5207a2,0x190);return;}const _0x136af5=_0x1a6b70[_0x60de35(0x2de)][_0x60de35(0x2d0)];let _0xf5cda9=new Set();if(_0x136af5!==void 0x0)try{_0xf5cda9=_0x1dbab1[_0x60de35(0x1a5)](_0x136af5);}catch{_0x1c9d77(this,_0x1a6b70,_0x5207a2,0x190,_0x60de35(0x1bd));return;}const _0x5ae990=_0x1a6b70[_0x60de35(0x2de)][_0x60de35(0x17c)],_0x988520={};if(this[_0x60de35(0x1ad)][_0x60de35(0x31b)]&&_0x5ae990!==void 0x0){const _0x121c2d=new _0x540ad2(this[_0x60de35(0x1ad)][_0x60de35(0x31b)],!0x0,this['options'][_0x60de35(0x2d7)]);try{const _0x354871=_0x3750d1[_0x60de35(0x1a5)](_0x5ae990);_0x354871[_0x540ad2[_0x60de35(0x2ee)]]&&(_0x121c2d['accept'](_0x354871[_0x540ad2[_0x60de35(0x2ee)]]),_0x988520[_0x540ad2[_0x60de35(0x2ee)]]=_0x121c2d);}catch{_0x1c9d77(this,_0x1a6b70,_0x5207a2,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this['options']['verifyClient']){const _0x3fd53a={'origin':_0x1a6b70[_0x60de35(0x2de)][''+(_0x38ea4d===0x8?_0x60de35(0x2bb):'origin')],'secure':!!(_0x1a6b70[_0x60de35(0x264)][_0x60de35(0x210)]||_0x1a6b70['socket'][_0x60de35(0x248)]),'req':_0x1a6b70};if(this[_0x60de35(0x1ad)]['verifyClient']['length']===0x2){this[_0x60de35(0x1ad)][_0x60de35(0x15d)](_0x3fd53a,(_0x4f5f79,_0x373bc7,_0x1e30cf,_0x4e8ff1)=>{if(!_0x4f5f79)return _0x3c072f(_0x5207a2,_0x373bc7||0x191,_0x1e30cf,_0x4e8ff1);this['completeUpgrade'](_0x988520,_0x5b85a2,_0xf5cda9,_0x1a6b70,_0x5207a2,_0x1e77d1,_0x1c6226);});return;}if(!this[_0x60de35(0x1ad)][_0x60de35(0x15d)](_0x3fd53a))return _0x3c072f(_0x5207a2,0x191);}this[_0x60de35(0x2d4)](_0x988520,_0x5b85a2,_0xf5cda9,_0x1a6b70,_0x5207a2,_0x1e77d1,_0x1c6226);}[_0x3e44d3(0x2d4)](_0x595a3f,_0x898ec7,_0x44dabe,_0x598e66,_0x4d5968,_0x398c3f,_0x4c7ecd){const _0x1a603c=_0x3e44d3;if(!_0x4d5968['readable']||!_0x4d5968[_0x1a603c(0x217)])return _0x4d5968[_0x1a603c(0x296)]();if(_0x4d5968[_0x3f0ba5])throw new Error(_0x1a603c(0x219));if(this[_0x1a603c(0x1fd)]>_0x18b4e3)return _0x3c072f(_0x4d5968,0x1f7);const _0x27cee2=[_0x1a603c(0x315),_0x1a603c(0x25f),_0x1a603c(0x2b1),_0x1a603c(0x2bc)+_0xef9393('sha1')['update'](_0x898ec7+_0x27273b)[_0x1a603c(0x167)]('base64')],_0x1c4de8=new this[(_0x1a603c(0x1ad))][(_0x1a603c(0x1d7))](null,void 0x0,this[_0x1a603c(0x1ad)]);if(_0x44dabe[_0x1a603c(0x176)]){const _0x142704=this['options'][_0x1a603c(0x18d)]?this[_0x1a603c(0x1ad)][_0x1a603c(0x18d)](_0x44dabe,_0x598e66):_0x44dabe[_0x1a603c(0x2c5)]()[_0x1a603c(0x31c)]()['value'];_0x142704&&(_0x27cee2['push'](_0x1a603c(0x1ab)+_0x142704),_0x1c4de8[_0x1a603c(0x31d)]=_0x142704);}if(_0x595a3f[_0x540ad2['extensionName']]){const _0x5a1cd7=_0x595a3f[_0x540ad2[_0x1a603c(0x2ee)]][_0x1a603c(0x17b)],_0x1e905b=_0x3750d1[_0x1a603c(0x255)]({[_0x540ad2[_0x1a603c(0x2ee)]]:[_0x5a1cd7]});_0x27cee2['push']('Sec-WebSocket-Extensions:\x20'+_0x1e905b),_0x1c4de8[_0x1a603c(0x206)]=_0x595a3f;}this[_0x1a603c(0x1c2)](_0x1a603c(0x2de),_0x27cee2,_0x598e66),_0x4d5968[_0x1a603c(0x169)](_0x27cee2[_0x1a603c(0x27b)]('\x0d\x0a')['join']('\x0d\x0a')),_0x4d5968[_0x1a603c(0x321)](_0x1a603c(0x1a1),_0x271d32),_0x1c4de8[_0x1a603c(0x161)](_0x4d5968,_0x398c3f,{'allowSynchronousEvents':this['options'][_0x1a603c(0x19c)],'maxPayload':this['options'][_0x1a603c(0x2d7)],'skipUTF8Validation':this['options'][_0x1a603c(0x21c)]}),this['clients']&&(this[_0x1a603c(0x180)]['add'](_0x1c4de8),_0x1c4de8['on'](_0x1a603c(0x1e2),()=>{const _0x35442b=_0x1a603c;this[_0x35442b(0x180)]['delete'](_0x1c4de8),this[_0x35442b(0x22e)]&&!this['clients'][_0x35442b(0x176)]&&process[_0x35442b(0x187)](_0x5eaa56,this);})),_0x4c7ecd(_0x1c4de8,_0x598e66);}}Te=_0x5e67eb;function _0x2ba277(_0x4528de,_0x380c1a){for(const _0x40dfb2 of Object['keys'](_0x380c1a))_0x4528de['on'](_0x40dfb2,_0x380c1a[_0x40dfb2]);return function(){const _0x2ce150=_0x58f7;for(const _0x12e4e3 of Object['keys'](_0x380c1a))_0x4528de[_0x2ce150(0x321)](_0x12e4e3,_0x380c1a[_0x12e4e3]);};}function _0x5eaa56(_0x2e6a2e){const _0x3db1a5=_0x3e44d3;_0x2e6a2e[_0x3db1a5(0x1fd)]=_0x466f36,_0x2e6a2e[_0x3db1a5(0x1c2)]('close');}function _0x271d32(){this['destroy']();}function _0x3c072f(_0x20ccbb,_0x5f27fe,_0x418add,_0x34d092){const _0x29d6ee=_0x3e44d3;_0x418add=_0x418add||_0xc0b045[_0x29d6ee(0x263)][_0x5f27fe],_0x34d092={'Connection':_0x29d6ee(0x1e2),'Content-Type':'text/html','Content-Length':Buffer[_0x29d6ee(0x270)](_0x418add),..._0x34d092},_0x20ccbb[_0x29d6ee(0x18a)]('finish',_0x20ccbb[_0x29d6ee(0x296)]),_0x20ccbb[_0x29d6ee(0x209)]('HTTP/1.1\x20'+_0x5f27fe+'\x20'+_0xc0b045[_0x29d6ee(0x263)][_0x5f27fe]+'\x0d\x0a'+Object[_0x29d6ee(0x294)](_0x34d092)[_0x29d6ee(0x29a)](_0x3032a1=>_0x3032a1+':\x20'+_0x34d092[_0x3032a1])[_0x29d6ee(0x1ef)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x418add);}function _0x1c9d77(_0x18f0f0,_0x464899,_0x2dabbc,_0x34c956,_0x54024a,_0x34c1cc){const _0x41d553=_0x3e44d3;if(_0x18f0f0[_0x41d553(0x2a6)](_0x41d553(0x183))){const _0x176b05=new Error(_0x54024a);Error[_0x41d553(0x1dc)](_0x176b05,_0x1c9d77),_0x18f0f0['emit']('wsClientError',_0x176b05,_0x2dabbc,_0x464899);}else _0x3c072f(_0x2dabbc,_0x34c956,_0x54024a,_0x34c1cc);}return Te;}Ft();var jt=Object[_0xc18ba(0x192)],Wt=(_0x1f8c4e,_0x10f137,_0x2cdd90,_0x4130af)=>{const _0x331515=_0xc18ba;for(var _0x156fc9=_0x4130af>0x1?void 0x0:_0x4130af?jt(_0x10f137,_0x2cdd90):_0x10f137,_0x3df119=_0x1f8c4e[_0x331515(0x1e0)]-0x1,_0x6f9bef;_0x3df119>=0x0;_0x3df119--)(_0x6f9bef=_0x1f8c4e[_0x3df119])&&(_0x156fc9=_0x6f9bef(_0x156fc9)||_0x156fc9);return _0x156fc9;},qt=(_0x594edb,_0x4df9a2)=>(_0x5300c5,_0x1d0964)=>_0x4df9a2(_0x5300c5,_0x1d0964,_0x594edb);let ke=class extends A[_0xc18ba(0x1ae)]{constructor(_0x5a07fa){const _0x1b0bd0=_0xc18ba;super(),this[_0x1b0bd0(0x2cd)]=_0x5a07fa;}['createSocket'](_0x570750){const _0x2559c8=_0xc18ba;var _0x48f486;const _0x3fd68d=(_0x48f486=this[_0x2559c8(0x2cd)]['getConfig'](fe))==null?void 0x0:_0x48f486[_0x2559c8(0x2c4)];try{const _0x3ccf4b=new $t(_0x570750,{'headers':{..._0x3fd68d}}),_0x162a11=new A[(_0x2559c8(0x16d))]();return{'URL':_0x570750,'close':(_0x4bbf44,_0x5237c1)=>{const _0x3c2dd5=_0x2559c8;_0x3ccf4b[_0x3c2dd5(0x1e2)](_0x4bbf44,_0x5237c1),_0x162a11[_0x3c2dd5(0x2ab)]();},'send':_0x46fe20=>{const _0x275edb=_0x2559c8;_0x3ccf4b[_0x275edb(0x182)](_0x46fe20);},'open$':new V[(_0x2559c8(0x2e5))](_0x4f0ba1=>{const _0x51d41d=_0x2559c8,_0x22563e=_0x47cab2=>_0x4f0ba1['next'](_0x47cab2);_0x3ccf4b[_0x51d41d(0x1c1)](_0x51d41d(0x2f7),_0x22563e),_0x162a11[_0x51d41d(0x18c)](A['toDisposable'](()=>_0x3ccf4b[_0x51d41d(0x215)](_0x51d41d(0x2f7),_0x22563e)));})[_0x2559c8(0x28d)](V[_0x2559c8(0x278)]()),'close$':new V['Observable'](_0x1ce056=>{const _0x4e5166=_0x2559c8,_0x2a7f70=_0x5dade3=>_0x1ce056[_0x4e5166(0x31c)](_0x5dade3);_0x3ccf4b[_0x4e5166(0x1c1)](_0x4e5166(0x1e2),_0x2a7f70),_0x162a11[_0x4e5166(0x18c)](A['toDisposable'](()=>_0x3ccf4b[_0x4e5166(0x215)]('close',_0x2a7f70)));})[_0x2559c8(0x28d)](V['share']()),'error$':new V[(_0x2559c8(0x2e5))](_0x39f02f=>{const _0x339844=_0x2559c8,_0x10908b=_0x3c1288=>_0x39f02f[_0x339844(0x31c)](_0x3c1288);_0x3ccf4b[_0x339844(0x1c1)](_0x339844(0x1a1),_0x10908b),_0x162a11[_0x339844(0x18c)](A[_0x339844(0x24a)](()=>_0x3ccf4b[_0x339844(0x215)](_0x339844(0x1a1),_0x10908b)));})[_0x2559c8(0x28d)](V[_0x2559c8(0x278)]()),'message$':new V[(_0x2559c8(0x2e5))](_0x1fd93e=>{const _0x2655dd=_0x2559c8,_0x454b76=_0x47919f=>_0x1fd93e[_0x2655dd(0x31c)](_0x47919f);_0x3ccf4b[_0x2655dd(0x1c1)]('message',_0x454b76),_0x162a11[_0x2655dd(0x18c)](A[_0x2655dd(0x24a)](()=>_0x3ccf4b['removeEventListener'](_0x2655dd(0x237),_0x454b76)));})[_0x2559c8(0x28d)](V[_0x2559c8(0x278)]())};}catch(_0x3ca273){return console[_0x2559c8(0x1a1)](_0x3ca273),null;}}};ke=Wt([qt(0x0,A[_0xc18ba(0x2e0)])],ke);var Gt=Object[_0xc18ba(0x2db)],Vt=Object[_0xc18ba(0x192)],Ht=(_0xd9fe86,_0x187994,_0x140eff)=>_0x187994 in _0xd9fe86?Gt(_0xd9fe86,_0x187994,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x140eff}):_0xd9fe86[_0x187994]=_0x140eff,zt=(_0x5d228f,_0x4d8d4d,_0x2cb118,_0x3419ac)=>{const _0x36d266=_0xc18ba;for(var _0x222d45=_0x3419ac>0x1?void 0x0:_0x3419ac?Vt(_0x4d8d4d,_0x2cb118):_0x4d8d4d,_0x18d36a=_0x5d228f[_0x36d266(0x1e0)]-0x1,_0x31fa6b;_0x18d36a>=0x0;_0x18d36a--)(_0x31fa6b=_0x5d228f[_0x18d36a])&&(_0x222d45=_0x31fa6b(_0x222d45)||_0x222d45);return _0x222d45;},Ne=(_0x1e0c6,_0x113474)=>(_0x177864,_0x97772b)=>_0x113474(_0x177864,_0x97772b,_0x1e0c6),Yt=(_0x572e45,_0x477c48,_0x54644b)=>Ht(_0x572e45,_0x477c48+'',_0x54644b);exports[_0xc18ba(0x2d1)]=class extends A[_0xc18ba(0x1f5)]{constructor(_0x1b8d40=Ct,_0xb43d66,_0x4eb1d0,_0x15981c){const _0x57c8cb=_0xc18ba;_0x1b8d40[_0x57c8cb(0x2c4)]||_0xb43d66[_0x57c8cb(0x269)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this['_configService']=_0x4eb1d0,this[_0x57c8cb(0x222)]=_0x15981c,this[_0x57c8cb(0x2cd)][_0x57c8cb(0x23a)](fe,_0x1b8d40);}['onStarting'](){this['_registerDependencies']();}[_0xc18ba(0x24f)](){const _0x120b20=_0xc18ba;A[_0x120b20(0x1d9)](this['_injector'],[[it[_0x120b20(0x2d6)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0xc18ba(0x234),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0xc18ba(0x2d1)]=zt([A[_0xc18ba(0x17f)](st[_0xc18ba(0x21a)]),Ne(0x1,A[_0xc18ba(0x2c8)]),Ne(0x2,A[_0xc18ba(0x2e0)]),Ne(0x3,A['Inject'](A['Injector']))],exports[_0xc18ba(0x2d1)]);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x1ff7bf,_0x1cadb2,_0x395d57,_0x1e27bf)=>{const _0x4f9137=_0xc18ba;for(var _0x30fb55=_0x1e27bf>0x1?void 0x0:_0x1e27bf?Kt(_0x1cadb2,_0x395d57):_0x1cadb2,_0x40ebdf=_0x1ff7bf[_0x4f9137(0x1e0)]-0x1,_0x1b39a5;_0x40ebdf>=0x0;_0x40ebdf--)(_0x1b39a5=_0x1ff7bf[_0x40ebdf])&&(_0x30fb55=_0x1b39a5(_0x30fb55)||_0x30fb55);return _0x30fb55;},ne=(_0x36ed6a,_0x1b71ef)=>(_0x2d04f6,_0x17e0ee)=>_0x1b71ef(_0x2d04f6,_0x17e0ee,_0x36ed6a);exports['NodeCollaborationSocketService']=class extends st[_0xc18ba(0x1c5)]{constructor(_0x1a88d3,_0x3e12cf,_0x46380e,_0x5ed838,_0x16b6fd){const _0x481a81=_0xc18ba;super(_0x1a88d3,_0x3e12cf,_0x46380e,_0x5ed838,_0x16b6fd);const _0x1ca81f=this['_configService'][_0x481a81(0x227)](fe);this['_httpService'][_0x481a81(0x2c7)]({'interceptor':(_0xc5d7ce,_0x1f76bc)=>{const _0x110e3b=_0x481a81;var _0x2502e2;const _0x2515d1=_0xc5d7ce[_0x110e3b(0x2de)];return(_0x2502e2=_0x1ca81f==null?void 0x0:_0x1ca81f[_0x110e3b(0x2c4)])!=null&&_0x2502e2['cookie']&&_0x2515d1[_0x110e3b(0x307)](_0x110e3b(0x1ec),_0x1ca81f['customHeaders'][_0x110e3b(0x275)]),_0x1f76bc(_0xc5d7ce);}});}async[_0xc18ba(0x2c9)](_0x11bb8c){const _0x2cc2a3=_0xc18ba;return this[_0x2cc2a3(0x1f2)](_0x11bb8c);}},exports[_0xc18ba(0x1d4)]=Xt([ne(0x0,A[_0xc18ba(0x15c)](A[_0xc18ba(0x2f8)])),ne(0x1,A[_0xc18ba(0x15c)](it[_0xc18ba(0x2f5)])),ne(0x2,A['IConfigService']),ne(0x3,A[_0xc18ba(0x2c8)]),ne(0x4,Ot['ISnapshotServerService'])],exports[_0xc18ba(0x1d4)]),exports[_0xc18ba(0x259)]=fe;