@univerjs-pro/collaboration-client-node 0.10.7-nightly.202509090319 → 0.10.7-nightly.202509130618
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x5aaef6=_0x220c;(function(_0x105fb0,_0x424f0a){const _0x4525b0=_0x220c,_0x3e1d20=_0x105fb0();while(!![]){try{const _0x2bb08d=parseInt(_0x4525b0(0x136))/0x1+parseInt(_0x4525b0(0x184))/0x2+parseInt(_0x4525b0(0x1eb))/0x3*(parseInt(_0x4525b0(0xe0))/0x4)+parseInt(_0x4525b0(0x16f))/0x5*(parseInt(_0x4525b0(0x15a))/0x6)+parseInt(_0x4525b0(0x1f4))/0x7*(parseInt(_0x4525b0(0xfc))/0x8)+-parseInt(_0x4525b0(0x11a))/0x9+-parseInt(_0x4525b0(0x165))/0xa;if(_0x2bb08d===_0x424f0a)break;else _0x3e1d20['push'](_0x3e1d20['shift']());}catch(_0x36de1b){_0x3e1d20['push'](_0x3e1d20['shift']());}}}(_0x5ad4,0x8560d));import{UniverCollaborationClientPlugin as _0x35b408,CollaborationSocketService as _0x55d2ba}from'@univerjs-pro/collaboration-client';import{Disposable as _0x266c6a,DisposableCollection as _0x220f21,toDisposable as _0x25243e,IConfigService as _0x1399b3,DependentOn as _0xbe93ae,ILogService as _0xd1925c,Inject as _0x198c83,Injector as _0x453f88,Plugin as _0x3ff643,registerDependencies as _0x48a310}from'@univerjs/core';import{ISocketService as _0x3b6658,HTTPService as _0x5858a3}from'@univerjs/network';import{Observable as _0x22e704,share as _0x33f2c3}from'rxjs';import _0x51ddbe from'events';import _0x4aa7a1 from'https';import _0x3677ba from'http';import _0x201c46 from'net';import _0xafcc57 from'tls';import _0x738967 from'crypto';import _0xa69c59 from'stream';import _0x1cff91 from'url';import _0x325628 from'zlib';import _0x5a7835 from'buffer';import{ISnapshotServerService as _0x82aad2}from'@univerjs-pro/collaboration';const Be=_0x5aaef6(0x1af),Ft={'customHeaders':{}};function Wt(_0x46040b){const _0x2b5a32=_0x5aaef6;return _0x46040b&&_0x46040b[_0x2b5a32(0x106)]&&Object[_0x2b5a32(0x1bd)][_0x2b5a32(0xf3)][_0x2b5a32(0xd3)](_0x46040b,_0x2b5a32(0x1fd))?_0x46040b[_0x2b5a32(0x1fd)]:_0x46040b;}function ut(_0x25242a){const _0x53723d=_0x5aaef6;if(Object[_0x53723d(0x1bd)]['hasOwnProperty'][_0x53723d(0xd3)](_0x25242a,_0x53723d(0x106)))return _0x25242a;var _0x241909=_0x25242a['default'];if(typeof _0x241909==_0x53723d(0x1c9)){var _0x2f7a4b=function _0x24c637(){const _0x6bbf80=_0x53723d;var _0x578f4e=!0x1;try{_0x578f4e=this instanceof _0x24c637;}catch{}return _0x578f4e?Reflect[_0x6bbf80(0x25f)](_0x241909,arguments,this[_0x6bbf80(0x19e)]):_0x241909['apply'](this,arguments);};_0x2f7a4b[_0x53723d(0x1bd)]=_0x241909[_0x53723d(0x1bd)];}else _0x2f7a4b={};return Object[_0x53723d(0x159)](_0x2f7a4b,_0x53723d(0x106),{'value':!0x0}),Object[_0x53723d(0x246)](_0x25242a)['forEach'](function(_0x55c713){const _0xaf72c9=_0x53723d;var _0x1045d4=Object[_0xaf72c9(0x178)](_0x25242a,_0x55c713);Object[_0xaf72c9(0x159)](_0x2f7a4b,_0x55c713,_0x1045d4[_0xaf72c9(0x23d)]?_0x1045d4:{'enumerable':!0x0,'get':function(){return _0x25242a[_0x55c713];}});}),_0x2f7a4b;}var te={'exports':{}},ge,Ye;function V(){const _0x139e10=_0x5aaef6;if(Ye)return ge;Ye=0x1;const _0x2c523a=[_0x139e10(0x175),_0x139e10(0x1de),_0x139e10(0x104)],_0x5cae26=typeof Blob<'u';return _0x5cae26&&_0x2c523a[_0x139e10(0x20f)](_0x139e10(0x19c)),ge={'BINARY_TYPES':_0x2c523a,'EMPTY_BUFFER':Buffer[_0x139e10(0xdd)](0x0),'GUID':_0x139e10(0x13c),'hasBlob':_0x5cae26,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x139e10(0x141)),'kStatusCode':Symbol(_0x139e10(0x1d4)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x5aaef6(0x249)](Object[_0x5aaef6(0x159)]({'__proto__':null,'default':jt},Symbol['toStringTag'],{'value':_0x5aaef6(0x23a)})),Vt=ut(Gt);var Ke;function ce(){const _0x164065=_0x5aaef6;if(Ke)return te[_0x164065(0x24c)];Ke=0x1;const {EMPTY_BUFFER:_0x133888}=V(),_0x40c22f=Buffer[Symbol[_0x164065(0x117)]];function _0x2030eb(_0x121a5d,_0x406d50){const _0x5f2a18=_0x164065;if(_0x121a5d[_0x5f2a18(0xcf)]===0x0)return _0x133888;if(_0x121a5d[_0x5f2a18(0xcf)]===0x1)return _0x121a5d[0x0];const _0x50cf7c=Buffer['allocUnsafe'](_0x406d50);let _0x2f50fc=0x0;for(let _0x51b7f3=0x0;_0x51b7f3<_0x121a5d[_0x5f2a18(0xcf)];_0x51b7f3++){const _0x23383b=_0x121a5d[_0x51b7f3];_0x50cf7c[_0x5f2a18(0x10d)](_0x23383b,_0x2f50fc),_0x2f50fc+=_0x23383b[_0x5f2a18(0xcf)];}return _0x2f50fc<_0x406d50?new _0x40c22f(_0x50cf7c[_0x5f2a18(0xfa)],_0x50cf7c['byteOffset'],_0x2f50fc):_0x50cf7c;}function _0x425850(_0x2a7734,_0x5ce29c,_0x517c54,_0x16b87b,_0xe5462a){for(let _0x590612=0x0;_0x590612<_0xe5462a;_0x590612++)_0x517c54[_0x16b87b+_0x590612]=_0x2a7734[_0x590612]^_0x5ce29c[_0x590612&0x3];}function _0x24c2f8(_0x2cf9c4,_0x5c51ff){const _0x389209=_0x164065;for(let _0x24c247=0x0;_0x24c247<_0x2cf9c4[_0x389209(0xcf)];_0x24c247++)_0x2cf9c4[_0x24c247]^=_0x5c51ff[_0x24c247&0x3];}function _0x23cfa9(_0x1ac9a1){const _0x57f427=_0x164065;return _0x1ac9a1[_0x57f427(0xcf)]===_0x1ac9a1[_0x57f427(0xfa)][_0x57f427(0x1a6)]?_0x1ac9a1[_0x57f427(0xfa)]:_0x1ac9a1[_0x57f427(0xfa)]['slice'](_0x1ac9a1[_0x57f427(0x1ab)],_0x1ac9a1[_0x57f427(0x1ab)]+_0x1ac9a1[_0x57f427(0xcf)]);}function _0x54a700(_0x9a06d0){const _0x248e82=_0x164065;if(_0x54a700[_0x248e82(0x1ca)]=!0x0,Buffer[_0x248e82(0xdc)](_0x9a06d0))return _0x9a06d0;let _0x48d612;return _0x9a06d0 instanceof ArrayBuffer?_0x48d612=new _0x40c22f(_0x9a06d0):ArrayBuffer[_0x248e82(0xf1)](_0x9a06d0)?_0x48d612=new _0x40c22f(_0x9a06d0[_0x248e82(0xfa)],_0x9a06d0[_0x248e82(0x1ab)],_0x9a06d0[_0x248e82(0x1a6)]):(_0x48d612=Buffer['from'](_0x9a06d0),_0x54a700[_0x248e82(0x1ca)]=!0x1),_0x48d612;}if(te[_0x164065(0x24c)]={'concat':_0x2030eb,'mask':_0x425850,'toArrayBuffer':_0x23cfa9,'toBuffer':_0x54a700,'unmask':_0x24c2f8},!process[_0x164065(0x109)]['WS_NO_BUFFER_UTIL'])try{const _0x2ed10d=Vt;te['exports'][_0x164065(0x1c8)]=function(_0x46da88,_0x145e8f,_0x369e26,_0x52575a,_0x5a892c){const _0x187ffb=_0x164065;_0x5a892c<0x30?_0x425850(_0x46da88,_0x145e8f,_0x369e26,_0x52575a,_0x5a892c):_0x2ed10d[_0x187ffb(0x1c8)](_0x46da88,_0x145e8f,_0x369e26,_0x52575a,_0x5a892c);},te[_0x164065(0x24c)][_0x164065(0x214)]=function(_0x2e306c,_0x360451){const _0x1d4fa5=_0x164065;_0x2e306c[_0x1d4fa5(0xcf)]<0x20?_0x24c2f8(_0x2e306c,_0x360451):_0x2ed10d[_0x1d4fa5(0x214)](_0x2e306c,_0x360451);};}catch{}return te[_0x164065(0x24c)];}var ye,Xe;function qt(){const _0xd3ab3b=_0x5aaef6;if(Xe)return ye;Xe=0x1;const _0x24bd18=Symbol(_0xd3ab3b(0x189)),_0x14d54d=Symbol(_0xd3ab3b(0x11b));class _0x5e7cbf{constructor(_0x33db2a){const _0x41031f=_0xd3ab3b;this[_0x24bd18]=()=>{const _0x106533=_0x220c;this[_0x106533(0x173)]--,this[_0x14d54d]();},this['concurrency']=_0x33db2a||0x1/0x0,this[_0x41031f(0x1e1)]=[],this[_0x41031f(0x173)]=0x0;}['add'](_0x2a4570){const _0x54be6c=_0xd3ab3b;this['jobs'][_0x54be6c(0x20f)](_0x2a4570),this[_0x14d54d]();}[_0x14d54d](){const _0x58dc5f=_0xd3ab3b;if(this[_0x58dc5f(0x173)]!==this['concurrency']&&this['jobs'][_0x58dc5f(0xcf)]){const _0x3c1b60=this['jobs']['shift']();this['pending']++,_0x3c1b60(this[_0x24bd18]);}}}return ye=_0x5e7cbf,ye;}var ve,Ze;function he(){const _0x5cf87c=_0x5aaef6;if(Ze)return ve;Ze=0x1;const _0x1d579d=_0x325628,_0x30a17e=ce(),_0xdff1ea=qt(),{kStatusCode:_0x2eeb05}=V(),_0x37812a=Buffer[Symbol[_0x5cf87c(0x117)]],_0x2b9c94=Buffer[_0x5cf87c(0x1bf)]([0x0,0x0,0xff,0xff]),_0x5024df=Symbol(_0x5cf87c(0xda)),_0x1e7c94=Symbol(_0x5cf87c(0xd0)),_0x52db79=Symbol(_0x5cf87c(0x1fa)),_0x21642b=Symbol(_0x5cf87c(0x12c)),_0x40543c=Symbol(_0x5cf87c(0xe8));let _0xe9e233;class _0x2f85cc{constructor(_0xc75ff7,_0x58949c,_0x228f07){const _0x4b8c92=_0x5cf87c;if(this[_0x4b8c92(0x146)]=_0x228f07|0x0,this[_0x4b8c92(0xcd)]=_0xc75ff7||{},this[_0x4b8c92(0x210)]=this['_options'][_0x4b8c92(0x195)]!==void 0x0?this[_0x4b8c92(0xcd)][_0x4b8c92(0x195)]:0x400,this['_isServer']=!!_0x58949c,this[_0x4b8c92(0x166)]=null,this[_0x4b8c92(0x1cf)]=null,this['params']=null,!_0xe9e233){const _0x18543f=this['_options']['concurrencyLimit']!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0xe9e233=new _0xdff1ea(_0x18543f);}}static get[_0x5cf87c(0x1f8)](){const _0x2b3c3a=_0x5cf87c;return _0x2b3c3a(0xda);}[_0x5cf87c(0x1ef)](){const _0x5c8898=_0x5cf87c,_0x12fec6={};return this[_0x5c8898(0xcd)][_0x5c8898(0xd1)]&&(_0x12fec6[_0x5c8898(0x1a5)]=!0x0),this['_options']['clientNoContextTakeover']&&(_0x12fec6[_0x5c8898(0x1a8)]=!0x0),this[_0x5c8898(0xcd)][_0x5c8898(0xbc)]&&(_0x12fec6[_0x5c8898(0x148)]=this[_0x5c8898(0xcd)][_0x5c8898(0xbc)]),this[_0x5c8898(0xcd)]['clientMaxWindowBits']?_0x12fec6[_0x5c8898(0x186)]=this['_options'][_0x5c8898(0x217)]:this[_0x5c8898(0xcd)][_0x5c8898(0x217)]==null&&(_0x12fec6[_0x5c8898(0x186)]=!0x0),_0x12fec6;}['accept'](_0x2a66e5){const _0x53fcc6=_0x5cf87c;return _0x2a66e5=this[_0x53fcc6(0x16a)](_0x2a66e5),this[_0x53fcc6(0x1e2)]=this['_isServer']?this[_0x53fcc6(0x153)](_0x2a66e5):this[_0x53fcc6(0x1f2)](_0x2a66e5),this['params'];}[_0x5cf87c(0x180)](){const _0x2133b3=_0x5cf87c;if(this[_0x2133b3(0x1cf)]&&(this['_inflate'][_0x2133b3(0x11d)](),this[_0x2133b3(0x1cf)]=null),this[_0x2133b3(0x166)]){const _0x34a9e7=this[_0x2133b3(0x166)][_0x52db79];this[_0x2133b3(0x166)]['close'](),this[_0x2133b3(0x166)]=null,_0x34a9e7&&_0x34a9e7(new Error(_0x2133b3(0x116)));}}['acceptAsServer'](_0x4e7b33){const _0x4335df=_0x5cf87c,_0x84ec9a=this[_0x4335df(0xcd)],_0x136071=_0x4e7b33[_0x4335df(0x12b)](_0x518069=>!(_0x84ec9a[_0x4335df(0xd1)]===!0x1&&_0x518069['server_no_context_takeover']||_0x518069[_0x4335df(0x148)]&&(_0x84ec9a[_0x4335df(0xbc)]===!0x1||typeof _0x84ec9a['serverMaxWindowBits']==_0x4335df(0x203)&&_0x84ec9a[_0x4335df(0xbc)]>_0x518069[_0x4335df(0x148)])||typeof _0x84ec9a[_0x4335df(0x217)]==_0x4335df(0x203)&&!_0x518069[_0x4335df(0x186)]));if(!_0x136071)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x84ec9a[_0x4335df(0xd1)]&&(_0x136071[_0x4335df(0x1a5)]=!0x0),_0x84ec9a[_0x4335df(0xbd)]&&(_0x136071[_0x4335df(0x1a8)]=!0x0),typeof _0x84ec9a[_0x4335df(0xbc)]==_0x4335df(0x203)&&(_0x136071[_0x4335df(0x148)]=_0x84ec9a[_0x4335df(0xbc)]),typeof _0x84ec9a[_0x4335df(0x217)]==_0x4335df(0x203)?_0x136071[_0x4335df(0x186)]=_0x84ec9a[_0x4335df(0x217)]:(_0x136071[_0x4335df(0x186)]===!0x0||_0x84ec9a[_0x4335df(0x217)]===!0x1)&&delete _0x136071[_0x4335df(0x186)],_0x136071;}[_0x5cf87c(0x1f2)](_0x131f4b){const _0x91ea8d=_0x5cf87c,_0x1acfce=_0x131f4b[0x0];if(this[_0x91ea8d(0xcd)][_0x91ea8d(0xbd)]===!0x1&&_0x1acfce[_0x91ea8d(0x1a8)])throw new Error(_0x91ea8d(0x1c7));if(!_0x1acfce[_0x91ea8d(0x186)])typeof this['_options'][_0x91ea8d(0x217)]==_0x91ea8d(0x203)&&(_0x1acfce[_0x91ea8d(0x186)]=this[_0x91ea8d(0xcd)][_0x91ea8d(0x217)]);else{if(this['_options'][_0x91ea8d(0x217)]===!0x1||typeof this[_0x91ea8d(0xcd)][_0x91ea8d(0x217)]=='number'&&_0x1acfce[_0x91ea8d(0x186)]>this['_options'][_0x91ea8d(0x217)])throw new Error(_0x91ea8d(0x161));}return _0x1acfce;}[_0x5cf87c(0x16a)](_0x5dd893){const _0x259d75=_0x5cf87c;return _0x5dd893[_0x259d75(0x19d)](_0x1c59f3=>{const _0x5c8bf2=_0x259d75;Object[_0x5c8bf2(0x246)](_0x1c59f3)['forEach'](_0x188da2=>{const _0x3d7fe8=_0x5c8bf2;let _0x34a936=_0x1c59f3[_0x188da2];if(_0x34a936[_0x3d7fe8(0xcf)]>0x1)throw new Error(_0x3d7fe8(0x259)+_0x188da2+_0x3d7fe8(0x127));if(_0x34a936=_0x34a936[0x0],_0x188da2===_0x3d7fe8(0x186)){if(_0x34a936!==!0x0){const _0x4c03b0=+_0x34a936;if(!Number[_0x3d7fe8(0x23f)](_0x4c03b0)||_0x4c03b0<0x8||_0x4c03b0>0xf)throw new TypeError(_0x3d7fe8(0xd8)+_0x188da2+_0x3d7fe8(0x1d9)+_0x34a936);_0x34a936=_0x4c03b0;}else{if(!this[_0x3d7fe8(0x233)])throw new TypeError(_0x3d7fe8(0xd8)+_0x188da2+_0x3d7fe8(0x1d9)+_0x34a936);}}else{if(_0x188da2==='server_max_window_bits'){const _0x74ac8d=+_0x34a936;if(!Number[_0x3d7fe8(0x23f)](_0x74ac8d)||_0x74ac8d<0x8||_0x74ac8d>0xf)throw new TypeError(_0x3d7fe8(0xd8)+_0x188da2+_0x3d7fe8(0x1d9)+_0x34a936);_0x34a936=_0x74ac8d;}else{if(_0x188da2===_0x3d7fe8(0x1a8)||_0x188da2===_0x3d7fe8(0x1a5)){if(_0x34a936!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x188da2+_0x3d7fe8(0x1d9)+_0x34a936);}else throw new Error(_0x3d7fe8(0x10b)+_0x188da2+'\x22');}}_0x1c59f3[_0x188da2]=_0x34a936;});}),_0x5dd893;}[_0x5cf87c(0xe1)](_0x337b46,_0xce6cbc,_0x1eec6a){const _0x490f83=_0x5cf87c;_0xe9e233[_0x490f83(0xfe)](_0x2558ee=>{const _0x523e5a=_0x490f83;this[_0x523e5a(0x113)](_0x337b46,_0xce6cbc,(_0x2ca73d,_0x621427)=>{_0x2558ee(),_0x1eec6a(_0x2ca73d,_0x621427);});});}[_0x5cf87c(0x18d)](_0x1077a6,_0x5744e5,_0x148b34){const _0x25eade=_0x5cf87c;_0xe9e233[_0x25eade(0xfe)](_0x15781c=>{const _0x4cdab0=_0x25eade;this[_0x4cdab0(0x12e)](_0x1077a6,_0x5744e5,(_0x3c32df,_0x52a03e)=>{_0x15781c(),_0x148b34(_0x3c32df,_0x52a03e);});});}[_0x5cf87c(0x113)](_0x5bcd32,_0x3f9527,_0x4569d9){const _0x523ecb=_0x5cf87c,_0xde0c29=this[_0x523ecb(0x233)]?_0x523ecb(0xe4):_0x523ecb(0x14b);if(!this['_inflate']){const _0x4662e2=_0xde0c29+'_max_window_bits',_0x149c4d=typeof this[_0x523ecb(0x1e2)][_0x4662e2]!=_0x523ecb(0x203)?_0x1d579d[_0x523ecb(0x1f1)]:this[_0x523ecb(0x1e2)][_0x4662e2];this[_0x523ecb(0x1cf)]=_0x1d579d[_0x523ecb(0xc0)]({...this['_options']['zlibInflateOptions'],'windowBits':_0x149c4d}),this[_0x523ecb(0x1cf)][_0x5024df]=this,this[_0x523ecb(0x1cf)][_0x1e7c94]=0x0,this[_0x523ecb(0x1cf)][_0x21642b]=[],this[_0x523ecb(0x1cf)]['on'](_0x523ecb(0xe8),_0x1bb90c),this[_0x523ecb(0x1cf)]['on'](_0x523ecb(0x17c),_0x3392ca);}this[_0x523ecb(0x1cf)][_0x52db79]=_0x4569d9,this[_0x523ecb(0x1cf)][_0x523ecb(0x147)](_0x5bcd32),_0x3f9527&&this[_0x523ecb(0x1cf)][_0x523ecb(0x147)](_0x2b9c94),this[_0x523ecb(0x1cf)][_0x523ecb(0x171)](()=>{const _0xf4ca90=_0x523ecb,_0x192f33=this['_inflate'][_0x40543c];if(_0x192f33){this['_inflate'][_0xf4ca90(0x11d)](),this[_0xf4ca90(0x1cf)]=null,_0x4569d9(_0x192f33);return;}const _0x1cfa43=_0x30a17e[_0xf4ca90(0x150)](this['_inflate'][_0x21642b],this['_inflate'][_0x1e7c94]);this[_0xf4ca90(0x1cf)][_0xf4ca90(0x13b)][_0xf4ca90(0x1b5)]?(this[_0xf4ca90(0x1cf)][_0xf4ca90(0x11d)](),this['_inflate']=null):(this[_0xf4ca90(0x1cf)][_0x1e7c94]=0x0,this[_0xf4ca90(0x1cf)][_0x21642b]=[],_0x3f9527&&this[_0xf4ca90(0x1e2)][_0xde0c29+'_no_context_takeover']&&this[_0xf4ca90(0x1cf)]['reset']()),_0x4569d9(null,_0x1cfa43);});}[_0x5cf87c(0x12e)](_0xfb27d4,_0x16374d,_0x31ed9e){const _0xdd10dd=_0x5cf87c,_0x40d24e=this[_0xdd10dd(0x233)]?'server':_0xdd10dd(0xe4);if(!this[_0xdd10dd(0x166)]){const _0x24f61d=_0x40d24e+_0xdd10dd(0x247),_0x51103d=typeof this[_0xdd10dd(0x1e2)][_0x24f61d]!=_0xdd10dd(0x203)?_0x1d579d[_0xdd10dd(0x1f1)]:this[_0xdd10dd(0x1e2)][_0x24f61d];this['_deflate']=_0x1d579d[_0xdd10dd(0x181)]({...this['_options'][_0xdd10dd(0xe5)],'windowBits':_0x51103d}),this[_0xdd10dd(0x166)][_0x1e7c94]=0x0,this['_deflate'][_0x21642b]=[],this[_0xdd10dd(0x166)]['on']('data',_0x2d23fb);}this[_0xdd10dd(0x166)][_0x52db79]=_0x31ed9e,this['_deflate'][_0xdd10dd(0x147)](_0xfb27d4),this[_0xdd10dd(0x166)]['flush'](_0x1d579d[_0xdd10dd(0x1f6)],()=>{const _0x494b30=_0xdd10dd;if(!this[_0x494b30(0x166)])return;let _0x47d584=_0x30a17e['concat'](this[_0x494b30(0x166)][_0x21642b],this[_0x494b30(0x166)][_0x1e7c94]);_0x16374d&&(_0x47d584=new _0x37812a(_0x47d584[_0x494b30(0xfa)],_0x47d584[_0x494b30(0x1ab)],_0x47d584[_0x494b30(0xcf)]-0x4)),this[_0x494b30(0x166)][_0x52db79]=null,this[_0x494b30(0x166)][_0x1e7c94]=0x0,this[_0x494b30(0x166)][_0x21642b]=[],_0x16374d&&this[_0x494b30(0x1e2)][_0x40d24e+_0x494b30(0xde)]&&this['_deflate'][_0x494b30(0x204)](),_0x31ed9e(null,_0x47d584);});}}ve=_0x2f85cc;function _0x2d23fb(_0x48bf37){const _0x495c9d=_0x5cf87c;this[_0x21642b][_0x495c9d(0x20f)](_0x48bf37),this[_0x1e7c94]+=_0x48bf37[_0x495c9d(0xcf)];}function _0x3392ca(_0x1274d2){const _0x27799c=_0x5cf87c;if(this[_0x1e7c94]+=_0x1274d2[_0x27799c(0xcf)],this[_0x5024df]['_maxPayload']<0x1||this[_0x1e7c94]<=this[_0x5024df][_0x27799c(0x146)]){this[_0x21642b]['push'](_0x1274d2);return;}this[_0x40543c]=new RangeError(_0x27799c(0x102)),this[_0x40543c][_0x27799c(0xfd)]=_0x27799c(0x120),this[_0x40543c][_0x2eeb05]=0x3f1,this[_0x27799c(0x1cc)](_0x27799c(0x17c),_0x3392ca),this['reset']();}function _0x1bb90c(_0xa88cda){const _0x87c86f=_0x5cf87c;if(this[_0x5024df][_0x87c86f(0x1cf)]=null,this[_0x40543c]){this[_0x52db79](this[_0x40543c]);return;}_0xa88cda[_0x2eeb05]=0x3ef,this[_0x52db79](_0xa88cda);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x5aaef6(0x249)](Object[_0x5aaef6(0x159)]({'__proto__':null,'default':Ht},Symbol[_0x5aaef6(0xfb)],{'value':_0x5aaef6(0x23a)})),Yt=ut(zt);var Qe;function ne(){const _0x2cdf6b=_0x5aaef6;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x1a848b}=_0x5a7835,{hasBlob:_0x5c9fda}=V(),_0x1d60d2=[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 _0x303c73(_0x3dba05){return _0x3dba05>=0x3e8&&_0x3dba05<=0x3f6&&_0x3dba05!==0x3ec&&_0x3dba05!==0x3ed&&_0x3dba05!==0x3ee||_0x3dba05>=0xbb8&&_0x3dba05<=0x1387;}function _0x4823e2(_0x59b4ca){const _0x54f983=_0x220c,_0x4df345=_0x59b4ca[_0x54f983(0xcf)];let _0x47fd8e=0x0;for(;_0x47fd8e<_0x4df345;)if((_0x59b4ca[_0x47fd8e]&0x80)===0x0)_0x47fd8e++;else{if((_0x59b4ca[_0x47fd8e]&0xe0)===0xc0){if(_0x47fd8e+0x1===_0x4df345||(_0x59b4ca[_0x47fd8e+0x1]&0xc0)!==0x80||(_0x59b4ca[_0x47fd8e]&0xfe)===0xc0)return!0x1;_0x47fd8e+=0x2;}else{if((_0x59b4ca[_0x47fd8e]&0xf0)===0xe0){if(_0x47fd8e+0x2>=_0x4df345||(_0x59b4ca[_0x47fd8e+0x1]&0xc0)!==0x80||(_0x59b4ca[_0x47fd8e+0x2]&0xc0)!==0x80||_0x59b4ca[_0x47fd8e]===0xe0&&(_0x59b4ca[_0x47fd8e+0x1]&0xe0)===0x80||_0x59b4ca[_0x47fd8e]===0xed&&(_0x59b4ca[_0x47fd8e+0x1]&0xe0)===0xa0)return!0x1;_0x47fd8e+=0x3;}else{if((_0x59b4ca[_0x47fd8e]&0xf8)===0xf0){if(_0x47fd8e+0x3>=_0x4df345||(_0x59b4ca[_0x47fd8e+0x1]&0xc0)!==0x80||(_0x59b4ca[_0x47fd8e+0x2]&0xc0)!==0x80||(_0x59b4ca[_0x47fd8e+0x3]&0xc0)!==0x80||_0x59b4ca[_0x47fd8e]===0xf0&&(_0x59b4ca[_0x47fd8e+0x1]&0xf0)===0x80||_0x59b4ca[_0x47fd8e]===0xf4&&_0x59b4ca[_0x47fd8e+0x1]>0x8f||_0x59b4ca[_0x47fd8e]>0xf4)return!0x1;_0x47fd8e+=0x4;}else return!0x1;}}}return!0x0;}function _0x2310e4(_0x1016fb){const _0x95c223=_0x220c;return _0x5c9fda&&typeof _0x1016fb==_0x95c223(0xe2)&&typeof _0x1016fb[_0x95c223(0x1b2)]==_0x95c223(0x1c9)&&typeof _0x1016fb[_0x95c223(0x1a2)]==_0x95c223(0x13e)&&typeof _0x1016fb[_0x95c223(0x133)]==_0x95c223(0x1c9)&&(_0x1016fb[Symbol[_0x95c223(0xfb)]]===_0x95c223(0x168)||_0x1016fb[Symbol['toStringTag']]===_0x95c223(0xec));}if(re[_0x2cdf6b(0x24c)]={'isBlob':_0x2310e4,'isValidStatusCode':_0x303c73,'isValidUTF8':_0x4823e2,'tokenChars':_0x1d60d2},_0x1a848b)re[_0x2cdf6b(0x24c)][_0x2cdf6b(0x18e)]=function(_0x27f33d){const _0x53bcd9=_0x2cdf6b;return _0x27f33d[_0x53bcd9(0xcf)]<0x18?_0x4823e2(_0x27f33d):_0x1a848b(_0x27f33d);};else{if(!process[_0x2cdf6b(0x109)][_0x2cdf6b(0xd9)])try{const _0x2d9ff5=Yt;re[_0x2cdf6b(0x24c)]['isValidUTF8']=function(_0x55954e){const _0x360c25=_0x2cdf6b;return _0x55954e[_0x360c25(0xcf)]<0x20?_0x4823e2(_0x55954e):_0x2d9ff5(_0x55954e);};}catch{}}return re[_0x2cdf6b(0x24c)];}var Se,Je;function dt(){const _0x569b1a=_0x5aaef6;if(Je)return Se;Je=0x1;const {Writable:_0x3dd54c}=_0xa69c59,_0xe6e5fe=he(),{BINARY_TYPES:_0x40c154,EMPTY_BUFFER:_0x2413fb,kStatusCode:_0x9b390b,kWebSocket:_0x2b4ef6}=V(),{concat:_0x447e32,toArrayBuffer:_0x4003a7,unmask:_0x3c5a83}=ce(),{isValidStatusCode:_0x227254,isValidUTF8:_0x23be77}=ne(),_0x2148c7=Buffer[Symbol[_0x569b1a(0x117)]],_0x474eae=0x0,_0x217312=0x1,_0x23894f=0x2,_0x1117f7=0x3,_0x29bf01=0x4,_0x11d602=0x5,_0x4d26fd=0x6;class _0x2c66c6 extends _0x3dd54c{constructor(_0x3f10f7={}){const _0x543f0c=_0x569b1a;super(),this[_0x543f0c(0x230)]=_0x3f10f7[_0x543f0c(0x152)]!==void 0x0?_0x3f10f7[_0x543f0c(0x152)]:!0x0,this[_0x543f0c(0x1fb)]=_0x3f10f7['binaryType']||_0x40c154[0x0],this[_0x543f0c(0x1d1)]=_0x3f10f7[_0x543f0c(0x1c0)]||{},this['_isServer']=!!_0x3f10f7['isServer'],this['_maxPayload']=_0x3f10f7[_0x543f0c(0xf9)]|0x0,this[_0x543f0c(0x157)]=!!_0x3f10f7[_0x543f0c(0x205)],this[_0x2b4ef6]=void 0x0,this[_0x543f0c(0x172)]=0x0,this[_0x543f0c(0x132)]=[],this[_0x543f0c(0x11e)]=!0x1,this[_0x543f0c(0x1d8)]=0x0,this['_mask']=void 0x0,this[_0x543f0c(0x20c)]=0x0,this[_0x543f0c(0x16d)]=!0x1,this['_fin']=!0x1,this[_0x543f0c(0x176)]=0x0,this[_0x543f0c(0x1e6)]=0x0,this['_messageLength']=0x0,this[_0x543f0c(0x25c)]=[],this[_0x543f0c(0xff)]=!0x1,this['_loop']=!0x1,this[_0x543f0c(0x257)]=_0x474eae;}['_write'](_0x38c153,_0x3fa416,_0x457f7a){const _0x409ec9=_0x569b1a;if(this[_0x409ec9(0x176)]===0x8&&this[_0x409ec9(0x257)]==_0x474eae)return _0x457f7a();this[_0x409ec9(0x172)]+=_0x38c153[_0x409ec9(0xcf)],this[_0x409ec9(0x132)]['push'](_0x38c153),this[_0x409ec9(0x1e4)](_0x457f7a);}[_0x569b1a(0x10a)](_0xae6709){const _0x103979=_0x569b1a;if(this[_0x103979(0x172)]-=_0xae6709,_0xae6709===this[_0x103979(0x132)][0x0][_0x103979(0xcf)])return this[_0x103979(0x132)]['shift']();if(_0xae6709<this[_0x103979(0x132)][0x0][_0x103979(0xcf)]){const _0x40ab67=this[_0x103979(0x132)][0x0];return this['_buffers'][0x0]=new _0x2148c7(_0x40ab67[_0x103979(0xfa)],_0x40ab67[_0x103979(0x1ab)]+_0xae6709,_0x40ab67[_0x103979(0xcf)]-_0xae6709),new _0x2148c7(_0x40ab67[_0x103979(0xfa)],_0x40ab67[_0x103979(0x1ab)],_0xae6709);}const _0x2c47f3=Buffer[_0x103979(0x206)](_0xae6709);do{const _0x3bb243=this[_0x103979(0x132)][0x0],_0x4c1888=_0x2c47f3[_0x103979(0xcf)]-_0xae6709;_0xae6709>=_0x3bb243[_0x103979(0xcf)]?_0x2c47f3[_0x103979(0x10d)](this[_0x103979(0x132)][_0x103979(0x223)](),_0x4c1888):(_0x2c47f3['set'](new Uint8Array(_0x3bb243[_0x103979(0xfa)],_0x3bb243['byteOffset'],_0xae6709),_0x4c1888),this['_buffers'][0x0]=new _0x2148c7(_0x3bb243[_0x103979(0xfa)],_0x3bb243[_0x103979(0x1ab)]+_0xae6709,_0x3bb243[_0x103979(0xcf)]-_0xae6709)),_0xae6709-=_0x3bb243[_0x103979(0xcf)];}while(_0xae6709>0x0);return _0x2c47f3;}['startLoop'](_0x4ab8f8){const _0x477102=_0x569b1a;this[_0x477102(0x23b)]=!0x0;do switch(this[_0x477102(0x257)]){case _0x474eae:this['getInfo'](_0x4ab8f8);break;case _0x217312:this['getPayloadLength16'](_0x4ab8f8);break;case _0x23894f:this[_0x477102(0x1b8)](_0x4ab8f8);break;case _0x1117f7:this[_0x477102(0x193)]();break;case _0x29bf01:this[_0x477102(0x263)](_0x4ab8f8);break;case _0x11d602:case _0x4d26fd:this[_0x477102(0x23b)]=!0x1;return;}while(this['_loop']);this[_0x477102(0xff)]||_0x4ab8f8();}[_0x569b1a(0x100)](_0x3feb98){const _0x2427e3=_0x569b1a;if(this['_bufferedBytes']<0x2){this[_0x2427e3(0x23b)]=!0x1;return;}const _0x5b125f=this[_0x2427e3(0x10a)](0x2);if((_0x5b125f[0x0]&0x30)!==0x0){const _0x1bc840=this[_0x2427e3(0x17f)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x3feb98(_0x1bc840);return;}const _0x599128=(_0x5b125f[0x0]&0x40)===0x40;if(_0x599128&&!this[_0x2427e3(0x1d1)][_0xe6e5fe['extensionName']]){const _0x4543d5=this[_0x2427e3(0x17f)](RangeError,_0x2427e3(0x15e),!0x0,0x3ea,_0x2427e3(0x1b9));_0x3feb98(_0x4543d5);return;}if(this['_fin']=(_0x5b125f[0x0]&0x80)===0x80,this[_0x2427e3(0x176)]=_0x5b125f[0x0]&0xf,this[_0x2427e3(0x1d8)]=_0x5b125f[0x1]&0x7f,this[_0x2427e3(0x176)]===0x0){if(_0x599128){const _0x317679=this[_0x2427e3(0x17f)](RangeError,_0x2427e3(0x15e),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x3feb98(_0x317679);return;}if(!this[_0x2427e3(0x20c)]){const _0x25b0d5=this[_0x2427e3(0x17f)](RangeError,_0x2427e3(0x23e),!0x0,0x3ea,_0x2427e3(0x19f));_0x3feb98(_0x25b0d5);return;}this['_opcode']=this[_0x2427e3(0x20c)];}else{if(this[_0x2427e3(0x176)]===0x1||this[_0x2427e3(0x176)]===0x2){if(this['_fragmented']){const _0x1f439b=this[_0x2427e3(0x17f)](RangeError,_0x2427e3(0x253)+this[_0x2427e3(0x176)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3feb98(_0x1f439b);return;}this[_0x2427e3(0x11e)]=_0x599128;}else{if(this['_opcode']>0x7&&this[_0x2427e3(0x176)]<0xb){if(!this['_fin']){const _0x14826c=this[_0x2427e3(0x17f)](RangeError,_0x2427e3(0x192),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x3feb98(_0x14826c);return;}if(_0x599128){const _0x2a5aa5=this[_0x2427e3(0x17f)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x2427e3(0x1b9));_0x3feb98(_0x2a5aa5);return;}if(this['_payloadLength']>0x7d||this[_0x2427e3(0x176)]===0x8&&this[_0x2427e3(0x1d8)]===0x1){const _0x2bdb2d=this['createError'](RangeError,_0x2427e3(0x22c)+this[_0x2427e3(0x1d8)],!0x0,0x3ea,_0x2427e3(0x1e8));_0x3feb98(_0x2bdb2d);return;}}else{const _0x36ac19=this[_0x2427e3(0x17f)](RangeError,_0x2427e3(0x253)+this[_0x2427e3(0x176)],!0x0,0x3ea,_0x2427e3(0x19f));_0x3feb98(_0x36ac19);return;}}}if(!this[_0x2427e3(0x16c)]&&!this[_0x2427e3(0x20c)]&&(this[_0x2427e3(0x20c)]=this['_opcode']),this[_0x2427e3(0x16d)]=(_0x5b125f[0x1]&0x80)===0x80,this[_0x2427e3(0x233)]){if(!this[_0x2427e3(0x16d)]){const _0x233910=this[_0x2427e3(0x17f)](RangeError,_0x2427e3(0x11c),!0x0,0x3ea,_0x2427e3(0x103));_0x3feb98(_0x233910);return;}}else{if(this[_0x2427e3(0x16d)]){const _0x4b7320=this[_0x2427e3(0x17f)](RangeError,_0x2427e3(0xf8),!0x0,0x3ea,_0x2427e3(0x126));_0x3feb98(_0x4b7320);return;}}this[_0x2427e3(0x1d8)]===0x7e?this[_0x2427e3(0x257)]=_0x217312:this[_0x2427e3(0x1d8)]===0x7f?this[_0x2427e3(0x257)]=_0x23894f:this[_0x2427e3(0xf0)](_0x3feb98);}['getPayloadLength16'](_0x44c531){const _0x4b1a29=_0x569b1a;if(this[_0x4b1a29(0x172)]<0x2){this[_0x4b1a29(0x23b)]=!0x1;return;}this[_0x4b1a29(0x1d8)]=this[_0x4b1a29(0x10a)](0x2)['readUInt16BE'](0x0),this[_0x4b1a29(0xf0)](_0x44c531);}[_0x569b1a(0x1b8)](_0x4c9da9){const _0x1cffc8=_0x569b1a;if(this[_0x1cffc8(0x172)]<0x8){this[_0x1cffc8(0x23b)]=!0x1;return;}const _0x3143d8=this[_0x1cffc8(0x10a)](0x8),_0x140415=_0x3143d8[_0x1cffc8(0x1be)](0x0);if(_0x140415>Math[_0x1cffc8(0xd2)](0x2,0x15)-0x1){const _0x1c239c=this[_0x1cffc8(0x17f)](RangeError,_0x1cffc8(0x260),!0x1,0x3f1,_0x1cffc8(0x10f));_0x4c9da9(_0x1c239c);return;}this[_0x1cffc8(0x1d8)]=_0x140415*Math[_0x1cffc8(0xd2)](0x2,0x20)+_0x3143d8['readUInt32BE'](0x4),this[_0x1cffc8(0xf0)](_0x4c9da9);}[_0x569b1a(0xf0)](_0x32942a){const _0x1c9917=_0x569b1a;if(this[_0x1c9917(0x1d8)]&&this[_0x1c9917(0x176)]<0x8&&(this[_0x1c9917(0x1e6)]+=this[_0x1c9917(0x1d8)],this[_0x1c9917(0x1e6)]>this[_0x1c9917(0x146)]&&this[_0x1c9917(0x146)]>0x0)){const _0x135da6=this[_0x1c9917(0x17f)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x1c9917(0x120));_0x32942a(_0x135da6);return;}this[_0x1c9917(0x16d)]?this[_0x1c9917(0x257)]=_0x1117f7:this[_0x1c9917(0x257)]=_0x29bf01;}[_0x569b1a(0x193)](){const _0x57442f=_0x569b1a;if(this['_bufferedBytes']<0x4){this[_0x57442f(0x23b)]=!0x1;return;}this['_mask']=this[_0x57442f(0x10a)](0x4),this['_state']=_0x29bf01;}['getData'](_0x551e08){const _0x1687f5=_0x569b1a;let _0x4fa75f=_0x2413fb;if(this['_payloadLength']){if(this[_0x1687f5(0x172)]<this['_payloadLength']){this[_0x1687f5(0x23b)]=!0x1;return;}_0x4fa75f=this['consume'](this[_0x1687f5(0x1d8)]),this['_masked']&&(this[_0x1687f5(0x137)][0x0]|this[_0x1687f5(0x137)][0x1]|this[_0x1687f5(0x137)][0x2]|this[_0x1687f5(0x137)][0x3])!==0x0&&_0x3c5a83(_0x4fa75f,this[_0x1687f5(0x137)]);}if(this[_0x1687f5(0x176)]>0x7){this[_0x1687f5(0x135)](_0x4fa75f,_0x551e08);return;}if(this[_0x1687f5(0x11e)]){this[_0x1687f5(0x257)]=_0x11d602,this['decompress'](_0x4fa75f,_0x551e08);return;}_0x4fa75f[_0x1687f5(0xcf)]&&(this[_0x1687f5(0x227)]=this['_totalPayloadLength'],this['_fragments'][_0x1687f5(0x20f)](_0x4fa75f)),this[_0x1687f5(0x1a7)](_0x551e08);}['decompress'](_0x45cd03,_0xc5c70a){const _0x38db55=_0x569b1a;this[_0x38db55(0x1d1)][_0xe6e5fe['extensionName']][_0x38db55(0xe1)](_0x45cd03,this[_0x38db55(0x16c)],(_0x5e05eb,_0x11bd81)=>{const _0xf3c818=_0x38db55;if(_0x5e05eb)return _0xc5c70a(_0x5e05eb);if(_0x11bd81[_0xf3c818(0xcf)]){if(this[_0xf3c818(0x227)]+=_0x11bd81[_0xf3c818(0xcf)],this['_messageLength']>this[_0xf3c818(0x146)]&&this[_0xf3c818(0x146)]>0x0){const _0x37a439=this[_0xf3c818(0x17f)](RangeError,_0xf3c818(0x102),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0xc5c70a(_0x37a439);return;}this[_0xf3c818(0x25c)][_0xf3c818(0x20f)](_0x11bd81);}this['dataMessage'](_0xc5c70a),this[_0xf3c818(0x257)]===_0x474eae&&this[_0xf3c818(0x1e4)](_0xc5c70a);});}['dataMessage'](_0x3fdd1c){const _0x3b86b3=_0x569b1a;if(!this['_fin']){this[_0x3b86b3(0x257)]=_0x474eae;return;}const _0x2b8231=this['_messageLength'],_0x20f257=this[_0x3b86b3(0x25c)];if(this['_totalPayloadLength']=0x0,this[_0x3b86b3(0x227)]=0x0,this[_0x3b86b3(0x20c)]=0x0,this[_0x3b86b3(0x25c)]=[],this[_0x3b86b3(0x176)]===0x2){let _0x18932a;this['_binaryType']===_0x3b86b3(0x175)?_0x18932a=_0x447e32(_0x20f257,_0x2b8231):this[_0x3b86b3(0x1fb)]===_0x3b86b3(0x1de)?_0x18932a=_0x4003a7(_0x447e32(_0x20f257,_0x2b8231)):this[_0x3b86b3(0x1fb)]===_0x3b86b3(0x19c)?_0x18932a=new Blob(_0x20f257):_0x18932a=_0x20f257,this['_allowSynchronousEvents']?(this[_0x3b86b3(0x170)](_0x3b86b3(0x14c),_0x18932a,!0x0),this[_0x3b86b3(0x257)]=_0x474eae):(this[_0x3b86b3(0x257)]=_0x4d26fd,setImmediate(()=>{const _0x171a93=_0x3b86b3;this[_0x171a93(0x170)](_0x171a93(0x14c),_0x18932a,!0x0),this[_0x171a93(0x257)]=_0x474eae,this[_0x171a93(0x1e4)](_0x3fdd1c);}));}else{const _0x229d67=_0x447e32(_0x20f257,_0x2b8231);if(!this[_0x3b86b3(0x157)]&&!_0x23be77(_0x229d67)){const _0x2c9bce=this[_0x3b86b3(0x17f)](Error,_0x3b86b3(0x123),!0x0,0x3ef,_0x3b86b3(0x144));_0x3fdd1c(_0x2c9bce);return;}this['_state']===_0x11d602||this[_0x3b86b3(0x230)]?(this['emit']('message',_0x229d67,!0x1),this[_0x3b86b3(0x257)]=_0x474eae):(this['_state']=_0x4d26fd,setImmediate(()=>{const _0x40e25b=_0x3b86b3;this[_0x40e25b(0x170)](_0x40e25b(0x14c),_0x229d67,!0x1),this[_0x40e25b(0x257)]=_0x474eae,this[_0x40e25b(0x1e4)](_0x3fdd1c);}));}}[_0x569b1a(0x135)](_0x59b404,_0x1ca9eb){const _0x2acf8f=_0x569b1a;if(this[_0x2acf8f(0x176)]===0x8){if(_0x59b404[_0x2acf8f(0xcf)]===0x0)this['_loop']=!0x1,this[_0x2acf8f(0x170)](_0x2acf8f(0x209),0x3ed,_0x2413fb),this['end']();else{const _0x31ee90=_0x59b404[_0x2acf8f(0x15b)](0x0);if(!_0x227254(_0x31ee90)){const _0xfe6922=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x31ee90,!0x0,0x3ea,_0x2acf8f(0x1c2));_0x1ca9eb(_0xfe6922);return;}const _0x2c091d=new _0x2148c7(_0x59b404[_0x2acf8f(0xfa)],_0x59b404[_0x2acf8f(0x1ab)]+0x2,_0x59b404['length']-0x2);if(!this[_0x2acf8f(0x157)]&&!_0x23be77(_0x2c091d)){const _0x64b379=this[_0x2acf8f(0x17f)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x2acf8f(0x144));_0x1ca9eb(_0x64b379);return;}this[_0x2acf8f(0x23b)]=!0x1,this[_0x2acf8f(0x170)]('conclude',_0x31ee90,_0x2c091d),this[_0x2acf8f(0x111)]();}this[_0x2acf8f(0x257)]=_0x474eae;return;}this[_0x2acf8f(0x230)]?(this[_0x2acf8f(0x170)](this[_0x2acf8f(0x176)]===0x9?_0x2acf8f(0x110):_0x2acf8f(0xc7),_0x59b404),this[_0x2acf8f(0x257)]=_0x474eae):(this['_state']=_0x4d26fd,setImmediate(()=>{const _0x2c3e65=_0x2acf8f;this['emit'](this[_0x2c3e65(0x176)]===0x9?'ping':_0x2c3e65(0xc7),_0x59b404),this[_0x2c3e65(0x257)]=_0x474eae,this['startLoop'](_0x1ca9eb);}));}[_0x569b1a(0x17f)](_0x59f6c3,_0x3e2b9c,_0x55ee35,_0x43b3c3,_0x104da4){const _0x3076da=_0x569b1a;this[_0x3076da(0x23b)]=!0x1,this['_errored']=!0x0;const _0x335d06=new _0x59f6c3(_0x55ee35?_0x3076da(0x1b7)+_0x3e2b9c:_0x3e2b9c);return Error[_0x3076da(0xc8)](_0x335d06,this[_0x3076da(0x17f)]),_0x335d06[_0x3076da(0xfd)]=_0x104da4,_0x335d06[_0x9b390b]=_0x43b3c3,_0x335d06;}}return Se=_0x2c66c6,Se;}var Ee,et;function _t(){const _0x492279=_0x5aaef6;if(et)return Ee;et=0x1;const {Duplex:_0x2671b6}=_0xa69c59,{randomFillSync:_0x3b149c}=_0x738967,_0x2be933=he(),{EMPTY_BUFFER:_0x464d2f,kWebSocket:_0x54827c,NOOP:_0x509016}=V(),{isBlob:_0x830059,isValidStatusCode:_0x4a4073}=ne(),{mask:_0x55d5e5,toBuffer:_0x284196}=ce(),_0x14bf8e=Symbol('kByteLength'),_0x3468c6=Buffer[_0x492279(0xdd)](0x4),_0x4895cb=0x8*0x400;let _0x3dc190,_0x3cb0af=_0x4895cb;const _0x1d36c6=0x0,_0x249486=0x1,_0x5cd6cb=0x2;class _0x803a31{constructor(_0x4a9acb,_0x43617b,_0x2cc0ea){const _0x12e85d=_0x492279;this[_0x12e85d(0x1d1)]=_0x43617b||{},_0x2cc0ea&&(this['_generateMask']=_0x2cc0ea,this[_0x12e85d(0x1cb)]=Buffer['alloc'](0x4)),this[_0x12e85d(0x190)]=_0x4a9acb,this[_0x12e85d(0x169)]=!0x0,this[_0x12e85d(0x12e)]=!0x1,this['_bufferedBytes']=0x0,this[_0x12e85d(0x1f3)]=[],this['_state']=_0x1d36c6,this[_0x12e85d(0x216)]=_0x509016,this[_0x54827c]=void 0x0;}static[_0x492279(0x15c)](_0x5a5212,_0x8cfc1d){const _0x4298fc=_0x492279;let _0x5251b4,_0x21a296=!0x1,_0x274aa0=0x2,_0x1d5eb0=!0x1;_0x8cfc1d[_0x4298fc(0x1c8)]&&(_0x5251b4=_0x8cfc1d[_0x4298fc(0x188)]||_0x3468c6,_0x8cfc1d[_0x4298fc(0x108)]?_0x8cfc1d[_0x4298fc(0x108)](_0x5251b4):(_0x3cb0af===_0x4895cb&&(_0x3dc190===void 0x0&&(_0x3dc190=Buffer[_0x4298fc(0xdd)](_0x4895cb)),_0x3b149c(_0x3dc190,0x0,_0x4895cb),_0x3cb0af=0x0),_0x5251b4[0x0]=_0x3dc190[_0x3cb0af++],_0x5251b4[0x1]=_0x3dc190[_0x3cb0af++],_0x5251b4[0x2]=_0x3dc190[_0x3cb0af++],_0x5251b4[0x3]=_0x3dc190[_0x3cb0af++]),_0x1d5eb0=(_0x5251b4[0x0]|_0x5251b4[0x1]|_0x5251b4[0x2]|_0x5251b4[0x3])===0x0,_0x274aa0=0x6);let _0xdc4f9a;typeof _0x5a5212==_0x4298fc(0x13e)?(!_0x8cfc1d[_0x4298fc(0x1c8)]||_0x1d5eb0)&&_0x8cfc1d[_0x14bf8e]!==void 0x0?_0xdc4f9a=_0x8cfc1d[_0x14bf8e]:(_0x5a5212=Buffer['from'](_0x5a5212),_0xdc4f9a=_0x5a5212[_0x4298fc(0xcf)]):(_0xdc4f9a=_0x5a5212['length'],_0x21a296=_0x8cfc1d[_0x4298fc(0x1c8)]&&_0x8cfc1d[_0x4298fc(0x1ca)]&&!_0x1d5eb0);let _0x48a2ee=_0xdc4f9a;_0xdc4f9a>=0x10000?(_0x274aa0+=0x8,_0x48a2ee=0x7f):_0xdc4f9a>0x7d&&(_0x274aa0+=0x2,_0x48a2ee=0x7e);const _0x531231=Buffer['allocUnsafe'](_0x21a296?_0xdc4f9a+_0x274aa0:_0x274aa0);return _0x531231[0x0]=_0x8cfc1d[_0x4298fc(0x1d0)]?_0x8cfc1d[_0x4298fc(0x191)]|0x80:_0x8cfc1d[_0x4298fc(0x191)],_0x8cfc1d['rsv1']&&(_0x531231[0x0]|=0x40),_0x531231[0x1]=_0x48a2ee,_0x48a2ee===0x7e?_0x531231[_0x4298fc(0x174)](_0xdc4f9a,0x2):_0x48a2ee===0x7f&&(_0x531231[0x2]=_0x531231[0x3]=0x0,_0x531231[_0x4298fc(0x20b)](_0xdc4f9a,0x4,0x6)),_0x8cfc1d[_0x4298fc(0x1c8)]?(_0x531231[0x1]|=0x80,_0x531231[_0x274aa0-0x4]=_0x5251b4[0x0],_0x531231[_0x274aa0-0x3]=_0x5251b4[0x1],_0x531231[_0x274aa0-0x2]=_0x5251b4[0x2],_0x531231[_0x274aa0-0x1]=_0x5251b4[0x3],_0x1d5eb0?[_0x531231,_0x5a5212]:_0x21a296?(_0x55d5e5(_0x5a5212,_0x5251b4,_0x531231,_0x274aa0,_0xdc4f9a),[_0x531231]):(_0x55d5e5(_0x5a5212,_0x5251b4,_0x5a5212,0x0,_0xdc4f9a),[_0x531231,_0x5a5212])):[_0x531231,_0x5a5212];}[_0x492279(0x11d)](_0x4908f6,_0x203a57,_0x3bc470,_0x2bba4e){const _0x3a7ab9=_0x492279;let _0xd6be5a;if(_0x4908f6===void 0x0)_0xd6be5a=_0x464d2f;else{if(typeof _0x4908f6!=_0x3a7ab9(0x203)||!_0x4a4073(_0x4908f6))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x203a57===void 0x0||!_0x203a57['length'])_0xd6be5a=Buffer[_0x3a7ab9(0x206)](0x2),_0xd6be5a['writeUInt16BE'](_0x4908f6,0x0);else{const _0x59e01c=Buffer[_0x3a7ab9(0x1a6)](_0x203a57);if(_0x59e01c>0x7b)throw new RangeError(_0x3a7ab9(0x115));_0xd6be5a=Buffer['allocUnsafe'](0x2+_0x59e01c),_0xd6be5a['writeUInt16BE'](_0x4908f6,0x0),typeof _0x203a57==_0x3a7ab9(0x13e)?_0xd6be5a[_0x3a7ab9(0x147)](_0x203a57,0x2):_0xd6be5a[_0x3a7ab9(0x10d)](_0x203a57,0x2);}}const _0x3349fa={[_0x14bf8e]:_0xd6be5a['length'],'fin':!0x0,'generateMask':this[_0x3a7ab9(0x1ff)],'mask':_0x3bc470,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x3a7ab9(0x257)]!==_0x1d36c6?this[_0x3a7ab9(0x222)]([this['dispatch'],_0xd6be5a,!0x1,_0x3349fa,_0x2bba4e]):this[_0x3a7ab9(0x17b)](_0x803a31[_0x3a7ab9(0x15c)](_0xd6be5a,_0x3349fa),_0x2bba4e);}['ping'](_0x356103,_0x369b05,_0x2f7566){const _0x50e502=_0x492279;let _0x3fc31b,_0x5d323e;if(typeof _0x356103==_0x50e502(0x13e)?(_0x3fc31b=Buffer[_0x50e502(0x1a6)](_0x356103),_0x5d323e=!0x1):_0x830059(_0x356103)?(_0x3fc31b=_0x356103['size'],_0x5d323e=!0x1):(_0x356103=_0x284196(_0x356103),_0x3fc31b=_0x356103[_0x50e502(0xcf)],_0x5d323e=_0x284196['readOnly']),_0x3fc31b>0x7d)throw new RangeError(_0x50e502(0x1fc));const _0x444eae={[_0x14bf8e]:_0x3fc31b,'fin':!0x0,'generateMask':this[_0x50e502(0x1ff)],'mask':_0x369b05,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x5d323e,'rsv1':!0x1};_0x830059(_0x356103)?this['_state']!==_0x1d36c6?this[_0x50e502(0x222)]([this['getBlobData'],_0x356103,!0x1,_0x444eae,_0x2f7566]):this[_0x50e502(0x1ec)](_0x356103,!0x1,_0x444eae,_0x2f7566):this[_0x50e502(0x257)]!==_0x1d36c6?this['enqueue']([this['dispatch'],_0x356103,!0x1,_0x444eae,_0x2f7566]):this[_0x50e502(0x17b)](_0x803a31['frame'](_0x356103,_0x444eae),_0x2f7566);}['pong'](_0x851d84,_0x3f8345,_0x385a1f){const _0x34f67b=_0x492279;let _0x5ac1d5,_0x38f3b4;if(typeof _0x851d84==_0x34f67b(0x13e)?(_0x5ac1d5=Buffer[_0x34f67b(0x1a6)](_0x851d84),_0x38f3b4=!0x1):_0x830059(_0x851d84)?(_0x5ac1d5=_0x851d84[_0x34f67b(0x1bc)],_0x38f3b4=!0x1):(_0x851d84=_0x284196(_0x851d84),_0x5ac1d5=_0x851d84['length'],_0x38f3b4=_0x284196[_0x34f67b(0x1ca)]),_0x5ac1d5>0x7d)throw new RangeError(_0x34f67b(0x1fc));const _0x53a455={[_0x14bf8e]:_0x5ac1d5,'fin':!0x0,'generateMask':this[_0x34f67b(0x1ff)],'mask':_0x3f8345,'maskBuffer':this[_0x34f67b(0x1cb)],'opcode':0xa,'readOnly':_0x38f3b4,'rsv1':!0x1};_0x830059(_0x851d84)?this['_state']!==_0x1d36c6?this[_0x34f67b(0x222)]([this[_0x34f67b(0x1ec)],_0x851d84,!0x1,_0x53a455,_0x385a1f]):this[_0x34f67b(0x1ec)](_0x851d84,!0x1,_0x53a455,_0x385a1f):this[_0x34f67b(0x257)]!==_0x1d36c6?this[_0x34f67b(0x222)]([this[_0x34f67b(0x21a)],_0x851d84,!0x1,_0x53a455,_0x385a1f]):this['sendFrame'](_0x803a31[_0x34f67b(0x15c)](_0x851d84,_0x53a455),_0x385a1f);}[_0x492279(0x1f5)](_0x5bc64b,_0x3b60a4,_0x53ffcf){const _0xe33ad7=_0x492279,_0x4cd400=this[_0xe33ad7(0x1d1)][_0x2be933[_0xe33ad7(0x1f8)]];let _0x402a2e=_0x3b60a4['binary']?0x2:0x1,_0x27ffa7=_0x3b60a4[_0xe33ad7(0x18d)],_0x588b61,_0xf0294e;typeof _0x5bc64b=='string'?(_0x588b61=Buffer['byteLength'](_0x5bc64b),_0xf0294e=!0x1):_0x830059(_0x5bc64b)?(_0x588b61=_0x5bc64b[_0xe33ad7(0x1bc)],_0xf0294e=!0x1):(_0x5bc64b=_0x284196(_0x5bc64b),_0x588b61=_0x5bc64b[_0xe33ad7(0xcf)],_0xf0294e=_0x284196[_0xe33ad7(0x1ca)]),this[_0xe33ad7(0x169)]?(this[_0xe33ad7(0x169)]=!0x1,_0x27ffa7&&_0x4cd400&&_0x4cd400[_0xe33ad7(0x1e2)][_0x4cd400['_isServer']?'server_no_context_takeover':_0xe33ad7(0x1a8)]&&(_0x27ffa7=_0x588b61>=_0x4cd400[_0xe33ad7(0x210)]),this[_0xe33ad7(0x12e)]=_0x27ffa7):(_0x27ffa7=!0x1,_0x402a2e=0x0),_0x3b60a4[_0xe33ad7(0x1d0)]&&(this['_firstFragment']=!0x0);const _0x4babe8={[_0x14bf8e]:_0x588b61,'fin':_0x3b60a4[_0xe33ad7(0x1d0)],'generateMask':this[_0xe33ad7(0x1ff)],'mask':_0x3b60a4[_0xe33ad7(0x1c8)],'maskBuffer':this[_0xe33ad7(0x1cb)],'opcode':_0x402a2e,'readOnly':_0xf0294e,'rsv1':_0x27ffa7};_0x830059(_0x5bc64b)?this[_0xe33ad7(0x257)]!==_0x1d36c6?this['enqueue']([this[_0xe33ad7(0x1ec)],_0x5bc64b,this[_0xe33ad7(0x12e)],_0x4babe8,_0x53ffcf]):this['getBlobData'](_0x5bc64b,this[_0xe33ad7(0x12e)],_0x4babe8,_0x53ffcf):this[_0xe33ad7(0x257)]!==_0x1d36c6?this[_0xe33ad7(0x222)]([this['dispatch'],_0x5bc64b,this['_compress'],_0x4babe8,_0x53ffcf]):this[_0xe33ad7(0x21a)](_0x5bc64b,this['_compress'],_0x4babe8,_0x53ffcf);}[_0x492279(0x1ec)](_0x343334,_0x3d2807,_0x19973a,_0xfe3147){const _0x42a3f6=_0x492279;this[_0x42a3f6(0x172)]+=_0x19973a[_0x14bf8e],this['_state']=_0x5cd6cb,_0x343334[_0x42a3f6(0x1b2)]()[_0x42a3f6(0x243)](_0x333b7e=>{const _0x105d71=_0x42a3f6;if(this[_0x105d71(0x190)][_0x105d71(0x1b3)]){const _0xb2401a=new Error(_0x105d71(0x17e));process[_0x105d71(0x12f)](_0x5eb3f3,this,_0xb2401a,_0xfe3147);return;}this[_0x105d71(0x172)]-=_0x19973a[_0x14bf8e];const _0x28abf5=_0x284196(_0x333b7e);_0x3d2807?this[_0x105d71(0x21a)](_0x28abf5,_0x3d2807,_0x19973a,_0xfe3147):(this['_state']=_0x1d36c6,this['sendFrame'](_0x803a31[_0x105d71(0x15c)](_0x28abf5,_0x19973a),_0xfe3147),this['dequeue']());})[_0x42a3f6(0xee)](_0x493a60=>{process['nextTick'](_0x52cf71,this,_0x493a60,_0xfe3147);});}[_0x492279(0x21a)](_0x7f0859,_0xc2cd75,_0x4f8cde,_0x590863){const _0x13382c=_0x492279;if(!_0xc2cd75){this['sendFrame'](_0x803a31['frame'](_0x7f0859,_0x4f8cde),_0x590863);return;}const _0x58c2b8=this[_0x13382c(0x1d1)][_0x2be933[_0x13382c(0x1f8)]];this[_0x13382c(0x172)]+=_0x4f8cde[_0x14bf8e],this[_0x13382c(0x257)]=_0x249486,_0x58c2b8[_0x13382c(0x18d)](_0x7f0859,_0x4f8cde['fin'],(_0x3df639,_0x7dc4ad)=>{const _0xc4c71=_0x13382c;if(this[_0xc4c71(0x190)][_0xc4c71(0x1b3)]){const _0x49ac18=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x5eb3f3(this,_0x49ac18,_0x590863);return;}this['_bufferedBytes']-=_0x4f8cde[_0x14bf8e],this[_0xc4c71(0x257)]=_0x1d36c6,_0x4f8cde[_0xc4c71(0x1ca)]=!0x1,this[_0xc4c71(0x17b)](_0x803a31[_0xc4c71(0x15c)](_0x7dc4ad,_0x4f8cde),_0x590863),this['dequeue']();});}[_0x492279(0x196)](){const _0x1276a8=_0x492279;for(;this[_0x1276a8(0x257)]===_0x1d36c6&&this[_0x1276a8(0x1f3)][_0x1276a8(0xcf)];){const _0x3653c2=this[_0x1276a8(0x1f3)][_0x1276a8(0x223)]();this[_0x1276a8(0x172)]-=_0x3653c2[0x3][_0x14bf8e],Reflect[_0x1276a8(0x237)](_0x3653c2[0x0],this,_0x3653c2[_0x1276a8(0x207)](0x1));}}[_0x492279(0x222)](_0x3d1c06){const _0x5772a5=_0x492279;this[_0x5772a5(0x172)]+=_0x3d1c06[0x3][_0x14bf8e],this[_0x5772a5(0x1f3)][_0x5772a5(0x20f)](_0x3d1c06);}[_0x492279(0x17b)](_0x2ae693,_0x2bfc92){const _0x6f0906=_0x492279;_0x2ae693[_0x6f0906(0xcf)]===0x2?(this[_0x6f0906(0x190)][_0x6f0906(0x125)](),this[_0x6f0906(0x190)][_0x6f0906(0x147)](_0x2ae693[0x0]),this[_0x6f0906(0x190)][_0x6f0906(0x147)](_0x2ae693[0x1],_0x2bfc92),this[_0x6f0906(0x190)][_0x6f0906(0x200)]()):this['_socket']['write'](_0x2ae693[0x0],_0x2bfc92);}}Ee=_0x803a31;function _0x5eb3f3(_0x2f864e,_0x396aef,_0x4347d9){const _0x45aee9=_0x492279;typeof _0x4347d9==_0x45aee9(0x1c9)&&_0x4347d9(_0x396aef);for(let _0x36c0ea=0x0;_0x36c0ea<_0x2f864e[_0x45aee9(0x1f3)][_0x45aee9(0xcf)];_0x36c0ea++){const _0x3d3459=_0x2f864e[_0x45aee9(0x1f3)][_0x36c0ea],_0x51eafc=_0x3d3459[_0x3d3459['length']-0x1];typeof _0x51eafc==_0x45aee9(0x1c9)&&_0x51eafc(_0x396aef);}}function _0x52cf71(_0x1be2bc,_0x193e92,_0x1cf9fb){const _0x37609f=_0x492279;_0x5eb3f3(_0x1be2bc,_0x193e92,_0x1cf9fb),_0x1be2bc[_0x37609f(0x216)](_0x193e92);}return Ee;}var xe,tt;function Kt(){const _0x45c704=_0x5aaef6;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x515ce5,kListener:_0x28b388}=V(),_0x3133dd=Symbol('kCode'),_0x13ad5b=Symbol('kData'),_0x54336a=Symbol(_0x45c704(0x1b1)),_0x508f82=Symbol(_0x45c704(0x1ee)),_0x4a6aa1=Symbol(_0x45c704(0x212)),_0x475168=Symbol(_0x45c704(0xc2)),_0x4855df=Symbol('kType'),_0x5acda8=Symbol(_0x45c704(0xcc));class _0x5c0e16{constructor(_0x3b0c2a){this[_0x475168]=null,this[_0x4855df]=_0x3b0c2a;}get[_0x45c704(0x23c)](){return this[_0x475168];}get['type'](){return this[_0x4855df];}}Object['defineProperty'](_0x5c0e16['prototype'],_0x45c704(0x23c),{'enumerable':!0x0}),Object['defineProperty'](_0x5c0e16[_0x45c704(0x1bd)],_0x45c704(0x1a2),{'enumerable':!0x0});class _0x15d2ee extends _0x5c0e16{constructor(_0x154ab1,_0x2cd19d={}){const _0x1ba86b=_0x45c704;super(_0x154ab1),this[_0x3133dd]=_0x2cd19d[_0x1ba86b(0xfd)]===void 0x0?0x0:_0x2cd19d[_0x1ba86b(0xfd)],this[_0x4a6aa1]=_0x2cd19d['reason']===void 0x0?'':_0x2cd19d[_0x1ba86b(0x1f7)],this[_0x5acda8]=_0x2cd19d[_0x1ba86b(0x183)]===void 0x0?!0x1:_0x2cd19d[_0x1ba86b(0x183)];}get[_0x45c704(0xfd)](){return this[_0x3133dd];}get[_0x45c704(0x1f7)](){return this[_0x4a6aa1];}get[_0x45c704(0x183)](){return this[_0x5acda8];}}Object[_0x45c704(0x159)](_0x15d2ee[_0x45c704(0x1bd)],'code',{'enumerable':!0x0}),Object[_0x45c704(0x159)](_0x15d2ee[_0x45c704(0x1bd)],_0x45c704(0x1f7),{'enumerable':!0x0}),Object[_0x45c704(0x159)](_0x15d2ee[_0x45c704(0x1bd)],'wasClean',{'enumerable':!0x0});class _0x4e3338 extends _0x5c0e16{constructor(_0x1e0abc,_0x840ea4={}){const _0x54bbf1=_0x45c704;super(_0x1e0abc),this[_0x54336a]=_0x840ea4['error']===void 0x0?null:_0x840ea4[_0x54bbf1(0xe8)],this[_0x508f82]=_0x840ea4['message']===void 0x0?'':_0x840ea4[_0x54bbf1(0x14c)];}get[_0x45c704(0xe8)](){return this[_0x54336a];}get['message'](){return this[_0x508f82];}}Object[_0x45c704(0x159)](_0x4e3338[_0x45c704(0x1bd)],_0x45c704(0xe8),{'enumerable':!0x0}),Object[_0x45c704(0x159)](_0x4e3338['prototype'],_0x45c704(0x14c),{'enumerable':!0x0});class _0x2a0bd1 extends _0x5c0e16{constructor(_0x36eab4,_0x2acfd9={}){const _0x8f8839=_0x45c704;super(_0x36eab4),this[_0x13ad5b]=_0x2acfd9[_0x8f8839(0x17c)]===void 0x0?null:_0x2acfd9[_0x8f8839(0x17c)];}get[_0x45c704(0x17c)](){return this[_0x13ad5b];}}Object['defineProperty'](_0x2a0bd1['prototype'],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x15d2ee,'ErrorEvent':_0x4e3338,'Event':_0x5c0e16,'EventTarget':{'addEventListener'(_0x1f08a,_0x4207f3,_0x223876={}){const _0x45391c=_0x45c704;for(const _0x5a7a13 of this[_0x45391c(0x201)](_0x1f08a))if(!_0x223876[_0x515ce5]&&_0x5a7a13[_0x28b388]===_0x4207f3&&!_0x5a7a13[_0x515ce5])return;let _0x4e0b9e;if(_0x1f08a===_0x45391c(0x14c))_0x4e0b9e=function(_0x4e29ba,_0x138bef){const _0xe7000d=_0x45391c,_0xaf2d0c=new _0x2a0bd1(_0xe7000d(0x14c),{'data':_0x138bef?_0x4e29ba:_0x4e29ba['toString']()});_0xaf2d0c[_0x475168]=this,_0x2e1b55(_0x4207f3,this,_0xaf2d0c);};else{if(_0x1f08a===_0x45391c(0x11d))_0x4e0b9e=function(_0x3853e0,_0x501d85){const _0x5bae23=_0x45391c,_0x2188ec=new _0x15d2ee(_0x5bae23(0x11d),{'code':_0x3853e0,'reason':_0x501d85['toString'](),'wasClean':this[_0x5bae23(0xc9)]&&this['_closeFrameSent']});_0x2188ec[_0x475168]=this,_0x2e1b55(_0x4207f3,this,_0x2188ec);};else{if(_0x1f08a===_0x45391c(0xe8))_0x4e0b9e=function(_0xe9c8a4){const _0x1131f5=_0x45391c,_0x1eb3ac=new _0x4e3338(_0x1131f5(0xe8),{'error':_0xe9c8a4,'message':_0xe9c8a4[_0x1131f5(0x14c)]});_0x1eb3ac[_0x475168]=this,_0x2e1b55(_0x4207f3,this,_0x1eb3ac);};else{if(_0x1f08a==='open')_0x4e0b9e=function(){const _0xc13a21=_0x45391c,_0x3eac8c=new _0x5c0e16(_0xc13a21(0x218));_0x3eac8c[_0x475168]=this,_0x2e1b55(_0x4207f3,this,_0x3eac8c);};else return;}}}_0x4e0b9e[_0x515ce5]=!!_0x223876[_0x515ce5],_0x4e0b9e[_0x28b388]=_0x4207f3,_0x223876[_0x45391c(0x18c)]?this[_0x45391c(0x18c)](_0x1f08a,_0x4e0b9e):this['on'](_0x1f08a,_0x4e0b9e);},'removeEventListener'(_0x483180,_0x5a4e90){const _0xc53e27=_0x45c704;for(const _0x594a1e of this[_0xc53e27(0x201)](_0x483180))if(_0x594a1e[_0x28b388]===_0x5a4e90&&!_0x594a1e[_0x515ce5]){this[_0xc53e27(0x1cc)](_0x483180,_0x594a1e);break;}}},'MessageEvent':_0x2a0bd1};function _0x2e1b55(_0x4a7db4,_0x102ca7,_0x481d50){const _0xe50c3=_0x45c704;typeof _0x4a7db4==_0xe50c3(0xe2)&&_0x4a7db4[_0xe50c3(0xe7)]?_0x4a7db4['handleEvent'][_0xe50c3(0xd3)](_0x4a7db4,_0x481d50):_0x4a7db4[_0xe50c3(0xd3)](_0x102ca7,_0x481d50);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x594953}=ne();function _0x4d67fb(_0x295112,_0x27789e,_0x1e8b18){const _0x1192a6=_0x220c;_0x295112[_0x27789e]===void 0x0?_0x295112[_0x27789e]=[_0x1e8b18]:_0x295112[_0x27789e][_0x1192a6(0x20f)](_0x1e8b18);}function _0x41ee1b(_0x58a13a){const _0x454588=_0x220c,_0x338d3f=Object[_0x454588(0x154)](null);let _0xeb93f0=Object['create'](null),_0x308d2e=!0x1,_0x4ea54d=!0x1,_0x129e6e=!0x1,_0x10f317,_0x1d75c9,_0x552671=-0x1,_0x49c2d4=-0x1,_0x1f98d7=-0x1,_0x5ad3d1=0x0;for(;_0x5ad3d1<_0x58a13a[_0x454588(0xcf)];_0x5ad3d1++)if(_0x49c2d4=_0x58a13a[_0x454588(0x197)](_0x5ad3d1),_0x10f317===void 0x0){if(_0x1f98d7===-0x1&&_0x594953[_0x49c2d4]===0x1)_0x552671===-0x1&&(_0x552671=_0x5ad3d1);else{if(_0x5ad3d1!==0x0&&(_0x49c2d4===0x20||_0x49c2d4===0x9))_0x1f98d7===-0x1&&_0x552671!==-0x1&&(_0x1f98d7=_0x5ad3d1);else{if(_0x49c2d4===0x3b||_0x49c2d4===0x2c){if(_0x552671===-0x1)throw new SyntaxError(_0x454588(0x1ac)+_0x5ad3d1);_0x1f98d7===-0x1&&(_0x1f98d7=_0x5ad3d1);const _0x1b009d=_0x58a13a[_0x454588(0x207)](_0x552671,_0x1f98d7);_0x49c2d4===0x2c?(_0x4d67fb(_0x338d3f,_0x1b009d,_0xeb93f0),_0xeb93f0=Object[_0x454588(0x154)](null)):_0x10f317=_0x1b009d,_0x552671=_0x1f98d7=-0x1;}else throw new SyntaxError(_0x454588(0x1ac)+_0x5ad3d1);}}}else{if(_0x1d75c9===void 0x0){if(_0x1f98d7===-0x1&&_0x594953[_0x49c2d4]===0x1)_0x552671===-0x1&&(_0x552671=_0x5ad3d1);else{if(_0x49c2d4===0x20||_0x49c2d4===0x9)_0x1f98d7===-0x1&&_0x552671!==-0x1&&(_0x1f98d7=_0x5ad3d1);else{if(_0x49c2d4===0x3b||_0x49c2d4===0x2c){if(_0x552671===-0x1)throw new SyntaxError(_0x454588(0x1ac)+_0x5ad3d1);_0x1f98d7===-0x1&&(_0x1f98d7=_0x5ad3d1),_0x4d67fb(_0xeb93f0,_0x58a13a[_0x454588(0x207)](_0x552671,_0x1f98d7),!0x0),_0x49c2d4===0x2c&&(_0x4d67fb(_0x338d3f,_0x10f317,_0xeb93f0),_0xeb93f0=Object['create'](null),_0x10f317=void 0x0),_0x552671=_0x1f98d7=-0x1;}else{if(_0x49c2d4===0x3d&&_0x552671!==-0x1&&_0x1f98d7===-0x1)_0x1d75c9=_0x58a13a[_0x454588(0x207)](_0x552671,_0x5ad3d1),_0x552671=_0x1f98d7=-0x1;else throw new SyntaxError(_0x454588(0x1ac)+_0x5ad3d1);}}}}else{if(_0x4ea54d){if(_0x594953[_0x49c2d4]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5ad3d1);_0x552671===-0x1?_0x552671=_0x5ad3d1:_0x308d2e||(_0x308d2e=!0x0),_0x4ea54d=!0x1;}else{if(_0x129e6e){if(_0x594953[_0x49c2d4]===0x1)_0x552671===-0x1&&(_0x552671=_0x5ad3d1);else{if(_0x49c2d4===0x22&&_0x552671!==-0x1)_0x129e6e=!0x1,_0x1f98d7=_0x5ad3d1;else{if(_0x49c2d4===0x5c)_0x4ea54d=!0x0;else throw new SyntaxError(_0x454588(0x1ac)+_0x5ad3d1);}}}else{if(_0x49c2d4===0x22&&_0x58a13a[_0x454588(0x197)](_0x5ad3d1-0x1)===0x3d)_0x129e6e=!0x0;else{if(_0x1f98d7===-0x1&&_0x594953[_0x49c2d4]===0x1)_0x552671===-0x1&&(_0x552671=_0x5ad3d1);else{if(_0x552671!==-0x1&&(_0x49c2d4===0x20||_0x49c2d4===0x9))_0x1f98d7===-0x1&&(_0x1f98d7=_0x5ad3d1);else{if(_0x49c2d4===0x3b||_0x49c2d4===0x2c){if(_0x552671===-0x1)throw new SyntaxError(_0x454588(0x1ac)+_0x5ad3d1);_0x1f98d7===-0x1&&(_0x1f98d7=_0x5ad3d1);let _0x1b691a=_0x58a13a[_0x454588(0x207)](_0x552671,_0x1f98d7);_0x308d2e&&(_0x1b691a=_0x1b691a[_0x454588(0x224)](/\\/g,''),_0x308d2e=!0x1),_0x4d67fb(_0xeb93f0,_0x1d75c9,_0x1b691a),_0x49c2d4===0x2c&&(_0x4d67fb(_0x338d3f,_0x10f317,_0xeb93f0),_0xeb93f0=Object[_0x454588(0x154)](null),_0x10f317=void 0x0),_0x1d75c9=void 0x0,_0x552671=_0x1f98d7=-0x1;}else throw new SyntaxError(_0x454588(0x1ac)+_0x5ad3d1);}}}}}}}if(_0x552671===-0x1||_0x129e6e||_0x49c2d4===0x20||_0x49c2d4===0x9)throw new SyntaxError(_0x454588(0x1d5));_0x1f98d7===-0x1&&(_0x1f98d7=_0x5ad3d1);const _0x238b49=_0x58a13a[_0x454588(0x207)](_0x552671,_0x1f98d7);return _0x10f317===void 0x0?_0x4d67fb(_0x338d3f,_0x238b49,_0xeb93f0):(_0x1d75c9===void 0x0?_0x4d67fb(_0xeb93f0,_0x238b49,!0x0):_0x308d2e?_0x4d67fb(_0xeb93f0,_0x1d75c9,_0x238b49[_0x454588(0x224)](/\\/g,'')):_0x4d67fb(_0xeb93f0,_0x1d75c9,_0x238b49),_0x4d67fb(_0x338d3f,_0x10f317,_0xeb93f0)),_0x338d3f;}function _0x44b537(_0x339aff){const _0x20d995=_0x220c;return Object[_0x20d995(0x246)](_0x339aff)[_0x20d995(0x112)](_0x5b0af3=>{const _0x3a3ce1=_0x20d995;let _0x155b80=_0x339aff[_0x5b0af3];return Array[_0x3a3ce1(0x164)](_0x155b80)||(_0x155b80=[_0x155b80]),_0x155b80[_0x3a3ce1(0x112)](_0x262b2a=>[_0x5b0af3][_0x3a3ce1(0x150)](Object['keys'](_0x262b2a)['map'](_0x24e902=>{const _0x58a085=_0x3a3ce1;let _0xec863e=_0x262b2a[_0x24e902];return Array['isArray'](_0xec863e)||(_0xec863e=[_0xec863e]),_0xec863e[_0x58a085(0x112)](_0x5e5710=>_0x5e5710===!0x0?_0x24e902:_0x24e902+'='+_0x5e5710)['join'](';\x20');}))[_0x3a3ce1(0x219)](';\x20'))[_0x3a3ce1(0x219)](',\x20');})[_0x20d995(0x219)](',\x20');}return be={'format':_0x44b537,'parse':_0x41ee1b},be;}var we,st;function Ie(){const _0x47a370=_0x5aaef6;if(st)return we;st=0x1;const _0x2808d7=_0x51ddbe,_0x4e548b=_0x4aa7a1,_0x58f08a=_0x3677ba,_0x2e1d4c=_0x201c46,_0x5598d8=_0xafcc57,{randomBytes:_0x479e0,createHash:_0x56ea51}=_0x738967,{Duplex:_0x1bb26d,Readable:_0x4dc5a3}=_0xa69c59,{URL:_0x30724b}=_0x1cff91,_0x472902=he(),_0x587935=dt(),_0x257bac=_t(),{isBlob:_0x40c7b2}=ne(),{BINARY_TYPES:_0x3c46d0,EMPTY_BUFFER:_0x5b9a4e,GUID:_0x1cbf05,kForOnEventAttribute:_0x3bac05,kListener:_0x45954c,kStatusCode:_0x56f83b,kWebSocket:_0x2c3719,NOOP:_0x11b3cf}=V(),{EventTarget:{addEventListener:_0x3f7111,removeEventListener:_0x86880a}}=Kt(),{format:_0x45fbf5,parse:_0x5dcf0e}=pt(),{toBuffer:_0x6d9770}=ce(),_0x380359=0x1e*0x3e8,_0x352833=Symbol(_0x47a370(0xef)),_0x3e8bee=[0x8,0xd],_0x37d70d=[_0x47a370(0x10c),'OPEN',_0x47a370(0x198),_0x47a370(0xd5)],_0x2934cf=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x7a0cb1 extends _0x2808d7{constructor(_0x5806c3,_0xdb3152,_0x509ebe){const _0x11aae8=_0x47a370;super(),this[_0x11aae8(0x1fb)]=_0x3c46d0[0x0],this[_0x11aae8(0x1b0)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x11aae8(0x24e)]=!0x1,this['_closeMessage']=_0x5b9a4e,this[_0x11aae8(0x1a0)]=null,this[_0x11aae8(0x1c5)]=!0x1,this['_extensions']={},this[_0x11aae8(0x1b4)]=!0x1,this['_protocol']='',this['_readyState']=_0x7a0cb1[_0x11aae8(0x10c)],this['_receiver']=null,this[_0x11aae8(0xea)]=null,this[_0x11aae8(0x190)]=null,_0x5806c3!==null?(this[_0x11aae8(0x1a3)]=0x0,this['_isServer']=!0x1,this[_0x11aae8(0x1dd)]=0x0,_0xdb3152===void 0x0?_0xdb3152=[]:Array[_0x11aae8(0x164)](_0xdb3152)||(typeof _0xdb3152==_0x11aae8(0xe2)&&_0xdb3152!==null?(_0x509ebe=_0xdb3152,_0xdb3152=[]):_0xdb3152=[_0xdb3152]),_0x2b9c62(this,_0x5806c3,_0xdb3152,_0x509ebe)):(this[_0x11aae8(0x1c6)]=_0x509ebe[_0x11aae8(0x239)],this[_0x11aae8(0x233)]=!0x0);}get['binaryType'](){return this['_binaryType'];}set[_0x47a370(0x14d)](_0x4932a4){const _0x58d3ed=_0x47a370;_0x3c46d0[_0x58d3ed(0x208)](_0x4932a4)&&(this[_0x58d3ed(0x1fb)]=_0x4932a4,this[_0x58d3ed(0x13d)]&&(this['_receiver'][_0x58d3ed(0x1fb)]=_0x4932a4));}get[_0x47a370(0x1ed)](){const _0x4aba9a=_0x47a370;return this['_socket']?this[_0x4aba9a(0x190)]['_writableState'][_0x4aba9a(0xcf)]+this[_0x4aba9a(0xea)][_0x4aba9a(0x172)]:this[_0x4aba9a(0x1a3)];}get['extensions'](){const _0x11f048=_0x47a370;return Object['keys'](this[_0x11f048(0x1d1)])[_0x11f048(0x219)]();}get['isPaused'](){const _0x3e63f6=_0x47a370;return this[_0x3e63f6(0x1b4)];}get['onclose'](){return null;}get[_0x47a370(0x216)](){return null;}get[_0x47a370(0x202)](){return null;}get['onmessage'](){return null;}get[_0x47a370(0x1db)](){const _0x5661f0=_0x47a370;return this[_0x5661f0(0x1e9)];}get[_0x47a370(0x140)](){const _0x2da1c4=_0x47a370;return this[_0x2da1c4(0x1f9)];}get[_0x47a370(0x19b)](){const _0x264497=_0x47a370;return this[_0x264497(0xb8)];}['setSocket'](_0x12c863,_0x25d427,_0x34d6ca){const _0x5f0c2f=_0x47a370,_0x2c1c88=new _0x587935({'allowSynchronousEvents':_0x34d6ca[_0x5f0c2f(0x152)],'binaryType':this['binaryType'],'extensions':this[_0x5f0c2f(0x1d1)],'isServer':this[_0x5f0c2f(0x233)],'maxPayload':_0x34d6ca[_0x5f0c2f(0xf9)],'skipUTF8Validation':_0x34d6ca[_0x5f0c2f(0x205)]}),_0xdbdcdf=new _0x257bac(_0x12c863,this['_extensions'],_0x34d6ca[_0x5f0c2f(0x108)]);this[_0x5f0c2f(0x13d)]=_0x2c1c88,this[_0x5f0c2f(0xea)]=_0xdbdcdf,this[_0x5f0c2f(0x190)]=_0x12c863,_0x2c1c88[_0x2c3719]=this,_0xdbdcdf[_0x2c3719]=this,_0x12c863[_0x2c3719]=this,_0x2c1c88['on'](_0x5f0c2f(0x209),_0x379871),_0x2c1c88['on'](_0x5f0c2f(0x1a4),_0x4fc0a6),_0x2c1c88['on']('error',_0xadbc94),_0x2c1c88['on'](_0x5f0c2f(0x14c),_0x556272),_0x2c1c88['on']('ping',_0x108b7d),_0x2c1c88['on'](_0x5f0c2f(0xc7),_0xe4a429),_0xdbdcdf[_0x5f0c2f(0x216)]=_0x1508d6,_0x12c863[_0x5f0c2f(0x261)]&&_0x12c863[_0x5f0c2f(0x261)](0x0),_0x12c863[_0x5f0c2f(0x1d2)]&&_0x12c863[_0x5f0c2f(0x1d2)](),_0x25d427['length']>0x0&&_0x12c863['unshift'](_0x25d427),_0x12c863['on'](_0x5f0c2f(0x11d),_0x33526f),_0x12c863['on'](_0x5f0c2f(0x17c),_0x48ec66),_0x12c863['on'](_0x5f0c2f(0x111),_0x55e187),_0x12c863['on'](_0x5f0c2f(0xe8),_0x1fdce1),this[_0x5f0c2f(0x1f9)]=_0x7a0cb1[_0x5f0c2f(0xc5)],this[_0x5f0c2f(0x170)](_0x5f0c2f(0x218));}[_0x47a370(0x20e)](){const _0x5a227f=_0x47a370;if(!this[_0x5a227f(0x190)]){this[_0x5a227f(0x1f9)]=_0x7a0cb1[_0x5a227f(0xd5)],this[_0x5a227f(0x170)]('close',this[_0x5a227f(0x1b0)],this['_closeMessage']);return;}this[_0x5a227f(0x1d1)][_0x472902['extensionName']]&&this['_extensions'][_0x472902['extensionName']]['cleanup'](),this[_0x5a227f(0x13d)][_0x5a227f(0x1df)](),this[_0x5a227f(0x1f9)]=_0x7a0cb1[_0x5a227f(0xd5)],this['emit']('close',this[_0x5a227f(0x1b0)],this[_0x5a227f(0x235)]);}[_0x47a370(0x11d)](_0x4c014c,_0x5a7b44){const _0x10df39=_0x47a370;if(this[_0x10df39(0x140)]!==_0x7a0cb1[_0x10df39(0xd5)]){if(this[_0x10df39(0x140)]===_0x7a0cb1[_0x10df39(0x10c)]){_0x1d3316(this,this[_0x10df39(0x151)],_0x10df39(0x1ba));return;}if(this['readyState']===_0x7a0cb1[_0x10df39(0x198)]){this[_0x10df39(0x24e)]&&(this[_0x10df39(0xc9)]||this[_0x10df39(0x13d)][_0x10df39(0x1ad)]['errorEmitted'])&&this['_socket']['end']();return;}this[_0x10df39(0x1f9)]=_0x7a0cb1[_0x10df39(0x198)],this[_0x10df39(0xea)]['close'](_0x4c014c,_0x5a7b44,!this[_0x10df39(0x233)],_0x382722=>{const _0x52cb90=_0x10df39;_0x382722||(this[_0x52cb90(0x24e)]=!0x0,(this[_0x52cb90(0xc9)]||this[_0x52cb90(0x13d)]['_writableState']['errorEmitted'])&&this[_0x52cb90(0x190)]['end']());}),_0x2e4698(this);}}[_0x47a370(0x14f)](){const _0x16462e=_0x47a370;this[_0x16462e(0x140)]===_0x7a0cb1['CONNECTING']||this['readyState']===_0x7a0cb1[_0x16462e(0xd5)]||(this['_paused']=!0x0,this[_0x16462e(0x190)][_0x16462e(0x14f)]());}[_0x47a370(0x110)](_0x436c98,_0xe8703f,_0x1daef3){const _0x791c05=_0x47a370;if(this[_0x791c05(0x140)]===_0x7a0cb1['CONNECTING'])throw new Error(_0x791c05(0x1e0));if(typeof _0x436c98==_0x791c05(0x1c9)?(_0x1daef3=_0x436c98,_0x436c98=_0xe8703f=void 0x0):typeof _0xe8703f==_0x791c05(0x1c9)&&(_0x1daef3=_0xe8703f,_0xe8703f=void 0x0),typeof _0x436c98=='number'&&(_0x436c98=_0x436c98[_0x791c05(0xdf)]()),this[_0x791c05(0x140)]!==_0x7a0cb1[_0x791c05(0xc5)]){_0x1afb4b(this,_0x436c98,_0x1daef3);return;}_0xe8703f===void 0x0&&(_0xe8703f=!this[_0x791c05(0x233)]),this['_sender'][_0x791c05(0x110)](_0x436c98||_0x5b9a4e,_0xe8703f,_0x1daef3);}[_0x47a370(0xc7)](_0x210323,_0x2ea193,_0x56378d){const _0x15bb43=_0x47a370;if(this[_0x15bb43(0x140)]===_0x7a0cb1[_0x15bb43(0x10c)])throw new Error(_0x15bb43(0x1e0));if(typeof _0x210323==_0x15bb43(0x1c9)?(_0x56378d=_0x210323,_0x210323=_0x2ea193=void 0x0):typeof _0x2ea193=='function'&&(_0x56378d=_0x2ea193,_0x2ea193=void 0x0),typeof _0x210323==_0x15bb43(0x203)&&(_0x210323=_0x210323[_0x15bb43(0xdf)]()),this[_0x15bb43(0x140)]!==_0x7a0cb1[_0x15bb43(0xc5)]){_0x1afb4b(this,_0x210323,_0x56378d);return;}_0x2ea193===void 0x0&&(_0x2ea193=!this['_isServer']),this[_0x15bb43(0xea)][_0x15bb43(0xc7)](_0x210323||_0x5b9a4e,_0x2ea193,_0x56378d);}['resume'](){const _0x5a51f3=_0x47a370;this[_0x5a51f3(0x140)]===_0x7a0cb1['CONNECTING']||this['readyState']===_0x7a0cb1[_0x5a51f3(0xd5)]||(this[_0x5a51f3(0x1b4)]=!0x1,this[_0x5a51f3(0x13d)][_0x5a51f3(0x1ad)][_0x5a51f3(0x128)]||this[_0x5a51f3(0x190)]['resume']());}['send'](_0x39d4fd,_0x462020,_0x1136d3){const _0x422cf3=_0x47a370;if(this[_0x422cf3(0x140)]===_0x7a0cb1['CONNECTING'])throw new Error(_0x422cf3(0x1e0));if(typeof _0x462020==_0x422cf3(0x1c9)&&(_0x1136d3=_0x462020,_0x462020={}),typeof _0x39d4fd==_0x422cf3(0x203)&&(_0x39d4fd=_0x39d4fd[_0x422cf3(0xdf)]()),this[_0x422cf3(0x140)]!==_0x7a0cb1[_0x422cf3(0xc5)]){_0x1afb4b(this,_0x39d4fd,_0x1136d3);return;}const _0x5a9b13={'binary':typeof _0x39d4fd!=_0x422cf3(0x13e),'mask':!this[_0x422cf3(0x233)],'compress':!0x0,'fin':!0x0,..._0x462020};this[_0x422cf3(0x1d1)][_0x472902['extensionName']]||(_0x5a9b13[_0x422cf3(0x18d)]=!0x1),this[_0x422cf3(0xea)][_0x422cf3(0x1f5)](_0x39d4fd||_0x5b9a4e,_0x5a9b13,_0x1136d3);}['terminate'](){const _0x5ecc74=_0x47a370;if(this[_0x5ecc74(0x140)]!==_0x7a0cb1[_0x5ecc74(0xd5)]){if(this[_0x5ecc74(0x140)]===_0x7a0cb1['CONNECTING']){_0x1d3316(this,this['_req'],_0x5ecc74(0x1ba));return;}this[_0x5ecc74(0x190)]&&(this[_0x5ecc74(0x1f9)]=_0x7a0cb1[_0x5ecc74(0x198)],this['_socket'][_0x5ecc74(0x221)]());}}}Object['defineProperty'](_0x7a0cb1,_0x47a370(0x10c),{'enumerable':!0x0,'value':_0x37d70d[_0x47a370(0x252)]('CONNECTING')}),Object[_0x47a370(0x159)](_0x7a0cb1[_0x47a370(0x1bd)],_0x47a370(0x10c),{'enumerable':!0x0,'value':_0x37d70d[_0x47a370(0x252)](_0x47a370(0x10c))}),Object['defineProperty'](_0x7a0cb1,'OPEN',{'enumerable':!0x0,'value':_0x37d70d[_0x47a370(0x252)](_0x47a370(0xc5))}),Object['defineProperty'](_0x7a0cb1[_0x47a370(0x1bd)],_0x47a370(0xc5),{'enumerable':!0x0,'value':_0x37d70d['indexOf'](_0x47a370(0xc5))}),Object[_0x47a370(0x159)](_0x7a0cb1,'CLOSING',{'enumerable':!0x0,'value':_0x37d70d[_0x47a370(0x252)](_0x47a370(0x198))}),Object[_0x47a370(0x159)](_0x7a0cb1[_0x47a370(0x1bd)],_0x47a370(0x198),{'enumerable':!0x0,'value':_0x37d70d[_0x47a370(0x252)](_0x47a370(0x198))}),Object[_0x47a370(0x159)](_0x7a0cb1,_0x47a370(0xd5),{'enumerable':!0x0,'value':_0x37d70d['indexOf']('CLOSED')}),Object[_0x47a370(0x159)](_0x7a0cb1[_0x47a370(0x1bd)],'CLOSED',{'enumerable':!0x0,'value':_0x37d70d[_0x47a370(0x252)](_0x47a370(0xd5))}),[_0x47a370(0x14d),'bufferedAmount','extensions',_0x47a370(0x130),'protocol',_0x47a370(0x140),_0x47a370(0x19b)][_0x47a370(0x19d)](_0x256d47=>{const _0x1225aa=_0x47a370;Object[_0x1225aa(0x159)](_0x7a0cb1['prototype'],_0x256d47,{'enumerable':!0x0});}),[_0x47a370(0x218),_0x47a370(0xe8),_0x47a370(0x11d),_0x47a370(0x14c)]['forEach'](_0xe6b06d=>{const _0x3b7fb0=_0x47a370;Object[_0x3b7fb0(0x159)](_0x7a0cb1[_0x3b7fb0(0x1bd)],'on'+_0xe6b06d,{'enumerable':!0x0,'get'(){const _0x426313=_0x3b7fb0;for(const _0x3a8b74 of this[_0x426313(0x201)](_0xe6b06d))if(_0x3a8b74[_0x3bac05])return _0x3a8b74[_0x45954c];return null;},'set'(_0x4c9436){const _0x34f685=_0x3b7fb0;for(const _0x23d478 of this[_0x34f685(0x201)](_0xe6b06d))if(_0x23d478[_0x3bac05]){this[_0x34f685(0x1cc)](_0xe6b06d,_0x23d478);break;}typeof _0x4c9436==_0x34f685(0x1c9)&&this['addEventListener'](_0xe6b06d,_0x4c9436,{[_0x3bac05]:!0x0});}});}),_0x7a0cb1[_0x47a370(0x1bd)][_0x47a370(0xdb)]=_0x3f7111,_0x7a0cb1[_0x47a370(0x1bd)]['removeEventListener']=_0x86880a,we=_0x7a0cb1;function _0x2b9c62(_0xd5a9f7,_0x29a122,_0x7f4bc4,_0x2b3020){const _0x204c93=_0x47a370,_0x167e2d={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3e8bee[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2b3020,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xd5a9f7[_0x204c93(0x1c6)]=_0x167e2d[_0x204c93(0x239)],!_0x3e8bee[_0x204c93(0x208)](_0x167e2d[_0x204c93(0x1c4)]))throw new RangeError(_0x204c93(0x1c3)+_0x167e2d[_0x204c93(0x1c4)]+_0x204c93(0x215)+_0x3e8bee['join'](',\x20')+')');let _0x1b69af;if(_0x29a122 instanceof _0x30724b)_0x1b69af=_0x29a122;else try{_0x1b69af=new _0x30724b(_0x29a122);}catch{throw new SyntaxError(_0x204c93(0x21e)+_0x29a122);}_0x1b69af[_0x204c93(0x1db)]==='http:'?_0x1b69af['protocol']=_0x204c93(0x25a):_0x1b69af['protocol']==='https:'&&(_0x1b69af['protocol']=_0x204c93(0xf7)),_0xd5a9f7['_url']=_0x1b69af[_0x204c93(0x15f)];const _0x3dafee=_0x1b69af['protocol']===_0x204c93(0xf7),_0x3a65b8=_0x1b69af[_0x204c93(0x1db)]===_0x204c93(0x21b);let _0xd0306d;if(_0x1b69af['protocol']!==_0x204c93(0x25a)&&!_0x3dafee&&!_0x3a65b8?_0xd0306d='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':_0x3a65b8&&!_0x1b69af[_0x204c93(0x134)]?_0xd0306d='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x1b69af[_0x204c93(0x1e3)]&&(_0xd0306d=_0x204c93(0x20d)),_0xd0306d){const _0x4b9e91=new SyntaxError(_0xd0306d);if(_0xd5a9f7['_redirects']===0x0)throw _0x4b9e91;_0x1d26aa(_0xd5a9f7,_0x4b9e91);return;}const _0x603277=_0x3dafee?0x1bb:0x50,_0x3c06dd=_0x479e0(0x10)[_0x204c93(0xdf)]('base64'),_0x2e0c01=_0x3dafee?_0x4e548b['request']:_0x58f08a['request'],_0x222f02=new Set();let _0xac1b5;if(_0x167e2d[_0x204c93(0x238)]=_0x167e2d[_0x204c93(0x238)]||(_0x3dafee?_0x2346df:_0x13b108),_0x167e2d[_0x204c93(0xd6)]=_0x167e2d[_0x204c93(0xd6)]||_0x603277,_0x167e2d[_0x204c93(0x1a1)]=_0x1b69af[_0x204c93(0x1a1)]||_0x603277,_0x167e2d[_0x204c93(0x15d)]=_0x1b69af['hostname']['startsWith']('[')?_0x1b69af['hostname'][_0x204c93(0x207)](0x1,-0x1):_0x1b69af[_0x204c93(0x232)],_0x167e2d['headers']={..._0x167e2d[_0x204c93(0x229)],'Sec-WebSocket-Version':_0x167e2d['protocolVersion'],'Sec-WebSocket-Key':_0x3c06dd,'Connection':'Upgrade','Upgrade':_0x204c93(0x121)},_0x167e2d[_0x204c93(0x220)]=_0x1b69af[_0x204c93(0x134)]+_0x1b69af[_0x204c93(0x162)],_0x167e2d[_0x204c93(0x1f0)]=_0x167e2d[_0x204c93(0x160)],_0x167e2d['perMessageDeflate']&&(_0xac1b5=new _0x472902(_0x167e2d[_0x204c93(0x129)]!==!0x0?_0x167e2d['perMessageDeflate']:{},!0x1,_0x167e2d[_0x204c93(0xf9)]),_0x167e2d[_0x204c93(0x229)]['Sec-WebSocket-Extensions']=_0x45fbf5({[_0x472902[_0x204c93(0x1f8)]]:_0xac1b5[_0x204c93(0x1ef)]()})),_0x7f4bc4[_0x204c93(0xcf)]){for(const _0x4bea80 of _0x7f4bc4){if(typeof _0x4bea80!='string'||!_0x2934cf[_0x204c93(0x185)](_0x4bea80)||_0x222f02[_0x204c93(0x1ea)](_0x4bea80))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x222f02['add'](_0x4bea80);}_0x167e2d[_0x204c93(0x229)][_0x204c93(0x211)]=_0x7f4bc4[_0x204c93(0x219)](',');}if(_0x167e2d['origin']&&(_0x167e2d[_0x204c93(0x1c4)]<0xd?_0x167e2d['headers'][_0x204c93(0x101)]=_0x167e2d['origin']:_0x167e2d[_0x204c93(0x229)]['Origin']=_0x167e2d[_0x204c93(0x1bb)]),(_0x1b69af[_0x204c93(0x11f)]||_0x1b69af[_0x204c93(0x236)])&&(_0x167e2d[_0x204c93(0xcb)]=_0x1b69af[_0x204c93(0x11f)]+':'+_0x1b69af[_0x204c93(0x236)]),_0x3a65b8){const _0x1af6ba=_0x167e2d['path'][_0x204c93(0x1e5)](':');_0x167e2d[_0x204c93(0x25b)]=_0x1af6ba[0x0],_0x167e2d[_0x204c93(0x220)]=_0x1af6ba[0x1];}let _0x493bfb;if(_0x167e2d['followRedirects']){if(_0xd5a9f7['_redirects']===0x0){_0xd5a9f7[_0x204c93(0xc6)]=_0x3a65b8,_0xd5a9f7[_0x204c93(0x1ce)]=_0x3dafee,_0xd5a9f7[_0x204c93(0x20a)]=_0x3a65b8?_0x167e2d[_0x204c93(0x25b)]:_0x1b69af[_0x204c93(0x15d)];const _0x4f634b=_0x2b3020&&_0x2b3020['headers'];if(_0x2b3020={..._0x2b3020,'headers':{}},_0x4f634b){for(const [_0x650b41,_0x1ee913]of Object[_0x204c93(0xf4)](_0x4f634b))_0x2b3020['headers'][_0x650b41[_0x204c93(0x155)]()]=_0x1ee913;}}else{if(_0xd5a9f7[_0x204c93(0x254)](_0x204c93(0x13a))===0x0){const _0x4d3289=_0x3a65b8?_0xd5a9f7[_0x204c93(0xc6)]?_0x167e2d[_0x204c93(0x25b)]===_0xd5a9f7[_0x204c93(0x20a)]:!0x1:_0xd5a9f7['_originalIpc']?!0x1:_0x1b69af[_0x204c93(0x15d)]===_0xd5a9f7[_0x204c93(0x20a)];(!_0x4d3289||_0xd5a9f7[_0x204c93(0x1ce)]&&!_0x3dafee)&&(delete _0x167e2d[_0x204c93(0x229)]['authorization'],delete _0x167e2d[_0x204c93(0x229)][_0x204c93(0x12a)],_0x4d3289||delete _0x167e2d[_0x204c93(0x229)][_0x204c93(0x15d)],_0x167e2d['auth']=void 0x0);}}_0x167e2d[_0x204c93(0xcb)]&&!_0x2b3020[_0x204c93(0x229)]['authorization']&&(_0x2b3020['headers'][_0x204c93(0x12d)]=_0x204c93(0x22e)+Buffer[_0x204c93(0x1bf)](_0x167e2d[_0x204c93(0xcb)])[_0x204c93(0xdf)]('base64')),_0x493bfb=_0xd5a9f7['_req']=_0x2e0c01(_0x167e2d),_0xd5a9f7[_0x204c93(0x1dd)]&&_0xd5a9f7[_0x204c93(0x170)](_0x204c93(0x13a),_0xd5a9f7[_0x204c93(0x19b)],_0x493bfb);}else _0x493bfb=_0xd5a9f7['_req']=_0x2e0c01(_0x167e2d);_0x167e2d[_0x204c93(0x1f0)]&&_0x493bfb['on'](_0x204c93(0x1f0),()=>{const _0x3dbfc2=_0x204c93;_0x1d3316(_0xd5a9f7,_0x493bfb,_0x3dbfc2(0x182));}),_0x493bfb['on'](_0x204c93(0xe8),_0x841dab=>{const _0x4b6fd9=_0x204c93;_0x493bfb===null||_0x493bfb[_0x352833]||(_0x493bfb=_0xd5a9f7[_0x4b6fd9(0x151)]=null,_0x1d26aa(_0xd5a9f7,_0x841dab));}),_0x493bfb['on'](_0x204c93(0x264),_0x504b9b=>{const _0x1ce67a=_0x204c93,_0x5b8676=_0x504b9b[_0x1ce67a(0x229)][_0x1ce67a(0x149)],_0x2f4a17=_0x504b9b[_0x1ce67a(0x167)];if(_0x5b8676&&_0x167e2d[_0x1ce67a(0x258)]&&_0x2f4a17>=0x12c&&_0x2f4a17<0x190){if(++_0xd5a9f7[_0x1ce67a(0x1dd)]>_0x167e2d[_0x1ce67a(0xb7)]){_0x1d3316(_0xd5a9f7,_0x493bfb,_0x1ce67a(0x256));return;}_0x493bfb[_0x1ce67a(0x22b)]();let _0x47c8f6;try{_0x47c8f6=new _0x30724b(_0x5b8676,_0x29a122);}catch{const _0x5e555b=new SyntaxError(_0x1ce67a(0x21e)+_0x5b8676);_0x1d26aa(_0xd5a9f7,_0x5e555b);return;}_0x2b9c62(_0xd5a9f7,_0x47c8f6,_0x7f4bc4,_0x2b3020);}else _0xd5a9f7[_0x1ce67a(0x170)]('unexpected-response',_0x493bfb,_0x504b9b)||_0x1d3316(_0xd5a9f7,_0x493bfb,_0x1ce67a(0x199)+_0x504b9b[_0x1ce67a(0x167)]);}),_0x493bfb['on'](_0x204c93(0x105),(_0x15f811,_0x3243fa,_0x285eb7)=>{const _0x28be64=_0x204c93;if(_0xd5a9f7['emit'](_0x28be64(0x105),_0x15f811),_0xd5a9f7[_0x28be64(0x140)]!==_0x7a0cb1['CONNECTING'])return;_0x493bfb=_0xd5a9f7[_0x28be64(0x151)]=null;const _0x375bcd=_0x15f811[_0x28be64(0x229)][_0x28be64(0x105)];if(_0x375bcd===void 0x0||_0x375bcd[_0x28be64(0x155)]()!==_0x28be64(0x121)){_0x1d3316(_0xd5a9f7,_0x3243fa,'Invalid\x20Upgrade\x20header');return;}const _0x5928bf=_0x56ea51(_0x28be64(0x22f))[_0x28be64(0x16b)](_0x3c06dd+_0x1cbf05)[_0x28be64(0x14a)](_0x28be64(0xeb));if(_0x15f811[_0x28be64(0x229)]['sec-websocket-accept']!==_0x5928bf){_0x1d3316(_0xd5a9f7,_0x3243fa,_0x28be64(0x18b));return;}const _0x2db1c8=_0x15f811[_0x28be64(0x229)][_0x28be64(0xf5)];let _0x3e6653;if(_0x2db1c8!==void 0x0?_0x222f02['size']?_0x222f02['has'](_0x2db1c8)||(_0x3e6653=_0x28be64(0x21f)):_0x3e6653=_0x28be64(0x14e):_0x222f02[_0x28be64(0x1bc)]&&(_0x3e6653='Server\x20sent\x20no\x20subprotocol'),_0x3e6653){_0x1d3316(_0xd5a9f7,_0x3243fa,_0x3e6653);return;}_0x2db1c8&&(_0xd5a9f7[_0x28be64(0x1e9)]=_0x2db1c8);const _0x25cd71=_0x15f811[_0x28be64(0x229)]['sec-websocket-extensions'];if(_0x25cd71!==void 0x0){if(!_0xac1b5){_0x1d3316(_0xd5a9f7,_0x3243fa,_0x28be64(0x255));return;}let _0x5d03a4;try{_0x5d03a4=_0x5dcf0e(_0x25cd71);}catch{_0x1d3316(_0xd5a9f7,_0x3243fa,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x32293f=Object[_0x28be64(0x246)](_0x5d03a4);if(_0x32293f[_0x28be64(0xcf)]!==0x1||_0x32293f[0x0]!==_0x472902[_0x28be64(0x1f8)]){_0x1d3316(_0xd5a9f7,_0x3243fa,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0xac1b5[_0x28be64(0xca)](_0x5d03a4[_0x472902[_0x28be64(0x1f8)]]);}catch{_0x1d3316(_0xd5a9f7,_0x3243fa,_0x28be64(0x18a));return;}_0xd5a9f7[_0x28be64(0x1d1)][_0x472902[_0x28be64(0x1f8)]]=_0xac1b5;}_0xd5a9f7[_0x28be64(0x16e)](_0x3243fa,_0x285eb7,{'allowSynchronousEvents':_0x167e2d['allowSynchronousEvents'],'generateMask':_0x167e2d[_0x28be64(0x108)],'maxPayload':_0x167e2d['maxPayload'],'skipUTF8Validation':_0x167e2d[_0x28be64(0x205)]});}),_0x167e2d['finishRequest']?_0x167e2d[_0x204c93(0x24d)](_0x493bfb,_0xd5a9f7):_0x493bfb[_0x204c93(0x111)]();}function _0x1d26aa(_0x24c030,_0x4701b1){const _0x45eeef=_0x47a370;_0x24c030['_readyState']=_0x7a0cb1['CLOSING'],_0x24c030[_0x45eeef(0x1c5)]=!0x0,_0x24c030[_0x45eeef(0x170)](_0x45eeef(0xe8),_0x4701b1),_0x24c030[_0x45eeef(0x20e)]();}function _0x13b108(_0x3ed3e9){const _0x5b63a9=_0x47a370;return _0x3ed3e9[_0x5b63a9(0x220)]=_0x3ed3e9[_0x5b63a9(0x25b)],_0x2e1d4c['connect'](_0x3ed3e9);}function _0x2346df(_0x2b24a1){const _0x32b6ea=_0x47a370;return _0x2b24a1[_0x32b6ea(0x220)]=void 0x0,!_0x2b24a1[_0x32b6ea(0xbf)]&&_0x2b24a1['servername']!==''&&(_0x2b24a1[_0x32b6ea(0xbf)]=_0x2e1d4c['isIP'](_0x2b24a1[_0x32b6ea(0x15d)])?'':_0x2b24a1[_0x32b6ea(0x15d)]),_0x5598d8[_0x32b6ea(0x145)](_0x2b24a1);}function _0x1d3316(_0x9b8ff6,_0x127f81,_0x1fecaa){const _0x1e86a6=_0x47a370;_0x9b8ff6[_0x1e86a6(0x1f9)]=_0x7a0cb1[_0x1e86a6(0x198)];const _0x325a9c=new Error(_0x1fecaa);Error['captureStackTrace'](_0x325a9c,_0x1d3316),_0x127f81[_0x1e86a6(0x1ae)]?(_0x127f81[_0x352833]=!0x0,_0x127f81[_0x1e86a6(0x22b)](),_0x127f81[_0x1e86a6(0x18f)]&&!_0x127f81['socket'][_0x1e86a6(0x1b3)]&&_0x127f81[_0x1e86a6(0x18f)][_0x1e86a6(0x221)](),process['nextTick'](_0x1d26aa,_0x9b8ff6,_0x325a9c)):(_0x127f81['destroy'](_0x325a9c),_0x127f81[_0x1e86a6(0x18c)]('error',_0x9b8ff6[_0x1e86a6(0x170)][_0x1e86a6(0xb9)](_0x9b8ff6,_0x1e86a6(0xe8))),_0x127f81['once'](_0x1e86a6(0x11d),_0x9b8ff6[_0x1e86a6(0x20e)]['bind'](_0x9b8ff6)));}function _0x1afb4b(_0x658ec4,_0x921286,_0x1c000e){const _0x3be3fe=_0x47a370;if(_0x921286){const _0x573f98=_0x40c7b2(_0x921286)?_0x921286['size']:_0x6d9770(_0x921286)['length'];_0x658ec4['_socket']?_0x658ec4['_sender'][_0x3be3fe(0x172)]+=_0x573f98:_0x658ec4[_0x3be3fe(0x1a3)]+=_0x573f98;}if(_0x1c000e){const _0x21f4ca=new Error(_0x3be3fe(0xc1)+_0x658ec4[_0x3be3fe(0x140)]+'\x20('+_0x37d70d[_0x658ec4['readyState']]+')');process[_0x3be3fe(0x12f)](_0x1c000e,_0x21f4ca);}}function _0x379871(_0x362eed,_0x409eba){const _0x72be61=_0x47a370,_0x549039=this[_0x2c3719];_0x549039[_0x72be61(0xc9)]=!0x0,_0x549039[_0x72be61(0x235)]=_0x409eba,_0x549039[_0x72be61(0x1b0)]=_0x362eed,_0x549039['_socket'][_0x2c3719]!==void 0x0&&(_0x549039[_0x72be61(0x190)][_0x72be61(0x1cc)](_0x72be61(0x17c),_0x48ec66),process[_0x72be61(0x12f)](_0xe63e83,_0x549039[_0x72be61(0x190)]),_0x362eed===0x3ed?_0x549039['close']():_0x549039[_0x72be61(0x11d)](_0x362eed,_0x409eba));}function _0x4fc0a6(){const _0x4e3b11=_0x47a370,_0x3b81b6=this[_0x2c3719];_0x3b81b6[_0x4e3b11(0x130)]||_0x3b81b6[_0x4e3b11(0x190)][_0x4e3b11(0x234)]();}function _0xadbc94(_0x239c00){const _0x21ec1c=_0x47a370,_0x2645a2=this[_0x2c3719];_0x2645a2[_0x21ec1c(0x190)][_0x2c3719]!==void 0x0&&(_0x2645a2[_0x21ec1c(0x190)][_0x21ec1c(0x1cc)]('data',_0x48ec66),process[_0x21ec1c(0x12f)](_0xe63e83,_0x2645a2[_0x21ec1c(0x190)]),_0x2645a2[_0x21ec1c(0x11d)](_0x239c00[_0x56f83b])),_0x2645a2[_0x21ec1c(0x1c5)]||(_0x2645a2[_0x21ec1c(0x1c5)]=!0x0,_0x2645a2[_0x21ec1c(0x170)]('error',_0x239c00));}function _0x4d91c8(){const _0x4e3e78=_0x47a370;this[_0x2c3719][_0x4e3e78(0x20e)]();}function _0x556272(_0x29facd,_0x396abf){const _0x73ef51=_0x47a370;this[_0x2c3719][_0x73ef51(0x170)](_0x73ef51(0x14c),_0x29facd,_0x396abf);}function _0x108b7d(_0x4fd6e2){const _0x28258c=_0x47a370,_0x3bb3af=this[_0x2c3719];_0x3bb3af[_0x28258c(0x1c6)]&&_0x3bb3af['pong'](_0x4fd6e2,!this[_0x28258c(0x233)],_0x11b3cf),_0x3bb3af[_0x28258c(0x170)](_0x28258c(0x110),_0x4fd6e2);}function _0xe4a429(_0x3daaa7){const _0x3386c1=_0x47a370;this[_0x2c3719]['emit'](_0x3386c1(0xc7),_0x3daaa7);}function _0xe63e83(_0x5863b4){_0x5863b4['resume']();}function _0x1508d6(_0x978269){const _0x2e4e11=_0x47a370,_0x558a53=this[_0x2c3719];_0x558a53[_0x2e4e11(0x140)]!==_0x7a0cb1['CLOSED']&&(_0x558a53[_0x2e4e11(0x140)]===_0x7a0cb1[_0x2e4e11(0xc5)]&&(_0x558a53['_readyState']=_0x7a0cb1['CLOSING'],_0x2e4698(_0x558a53)),this[_0x2e4e11(0x190)]['end'](),_0x558a53[_0x2e4e11(0x1c5)]||(_0x558a53[_0x2e4e11(0x1c5)]=!0x0,_0x558a53['emit'](_0x2e4e11(0xe8),_0x978269)));}function _0x2e4698(_0x5e1334){const _0x2cd7fb=_0x47a370;_0x5e1334['_closeTimer']=setTimeout(_0x5e1334[_0x2cd7fb(0x190)]['destroy']['bind'](_0x5e1334[_0x2cd7fb(0x190)]),_0x380359);}function _0x33526f(){const _0x2ec379=_0x47a370,_0x8f864f=this[_0x2c3719];this[_0x2ec379(0x1cc)]('close',_0x33526f),this[_0x2ec379(0x1cc)]('data',_0x48ec66),this['removeListener'](_0x2ec379(0x111),_0x55e187),_0x8f864f[_0x2ec379(0x1f9)]=_0x7a0cb1['CLOSING'];let _0x5efd8b;!this[_0x2ec379(0x13b)][_0x2ec379(0x1b5)]&&!_0x8f864f[_0x2ec379(0xc9)]&&!_0x8f864f[_0x2ec379(0x13d)][_0x2ec379(0x1ad)][_0x2ec379(0x24b)]&&(_0x5efd8b=_0x8f864f[_0x2ec379(0x190)][_0x2ec379(0x213)]())!==null&&_0x8f864f[_0x2ec379(0x13d)]['write'](_0x5efd8b),_0x8f864f[_0x2ec379(0x13d)]['end'](),this[_0x2c3719]=void 0x0,clearTimeout(_0x8f864f[_0x2ec379(0x1a0)]),_0x8f864f['_receiver'][_0x2ec379(0x1ad)][_0x2ec379(0x114)]||_0x8f864f['_receiver'][_0x2ec379(0x1ad)][_0x2ec379(0x24b)]?_0x8f864f[_0x2ec379(0x20e)]():(_0x8f864f[_0x2ec379(0x13d)]['on'](_0x2ec379(0xe8),_0x4d91c8),_0x8f864f[_0x2ec379(0x13d)]['on'](_0x2ec379(0x17a),_0x4d91c8));}function _0x48ec66(_0x45de86){const _0x1d25ae=_0x47a370;this[_0x2c3719][_0x1d25ae(0x13d)][_0x1d25ae(0x147)](_0x45de86)||this[_0x1d25ae(0x14f)]();}function _0x55e187(){const _0x48d398=_0x47a370,_0x40fc3a=this[_0x2c3719];_0x40fc3a[_0x48d398(0x1f9)]=_0x7a0cb1[_0x48d398(0x198)],_0x40fc3a[_0x48d398(0x13d)]['end'](),this['end']();}function _0x1fdce1(){const _0x376071=_0x47a370,_0x43f784=this[_0x2c3719];this[_0x376071(0x1cc)](_0x376071(0xe8),_0x1fdce1),this['on']('error',_0x11b3cf),_0x43f784&&(_0x43f784[_0x376071(0x1f9)]=_0x7a0cb1['CLOSING'],this[_0x376071(0x221)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x3923bb}=_0xa69c59;function _0x197053(_0x3fb486){const _0x499f53=_0x220c;_0x3fb486[_0x499f53(0x170)](_0x499f53(0x11d));}function _0x184966(){const _0x3a5c7e=_0x220c;!this[_0x3a5c7e(0x1b3)]&&this[_0x3a5c7e(0x1ad)][_0x3a5c7e(0x114)]&&this[_0x3a5c7e(0x221)]();}function _0x55ee98(_0x4aaef9){const _0x3d9771=_0x220c;this[_0x3d9771(0x1cc)](_0x3d9771(0xe8),_0x55ee98),this[_0x3d9771(0x221)](),this['listenerCount'](_0x3d9771(0xe8))===0x0&&this[_0x3d9771(0x170)](_0x3d9771(0xe8),_0x4aaef9);}function _0x48ef3d(_0xd3aeef,_0x19a5c9){const _0x21a667=_0x220c;let _0x105af4=!0x0;const _0x1f1327=new _0x3923bb({..._0x19a5c9,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xd3aeef['on'](_0x21a667(0x14c),function(_0x3454c6,_0x28a9ba){const _0x53e017=_0x21a667,_0x1ad7f4=!_0x28a9ba&&_0x1f1327[_0x53e017(0x13b)][_0x53e017(0x25d)]?_0x3454c6[_0x53e017(0xdf)]():_0x3454c6;_0x1f1327[_0x53e017(0x20f)](_0x1ad7f4)||_0xd3aeef['pause']();}),_0xd3aeef['once']('error',function(_0x4ba3e9){const _0x3d8058=_0x21a667;_0x1f1327[_0x3d8058(0x1b3)]||(_0x105af4=!0x1,_0x1f1327[_0x3d8058(0x221)](_0x4ba3e9));}),_0xd3aeef[_0x21a667(0x18c)](_0x21a667(0x11d),function(){const _0x168b4e=_0x21a667;_0x1f1327[_0x168b4e(0x1b3)]||_0x1f1327['push'](null);}),_0x1f1327[_0x21a667(0x1d7)]=function(_0x187e28,_0xa02d9c){const _0x36336f=_0x21a667;if(_0xd3aeef[_0x36336f(0x140)]===_0xd3aeef[_0x36336f(0xd5)]){_0xa02d9c(_0x187e28),process[_0x36336f(0x12f)](_0x197053,_0x1f1327);return;}let _0x577c97=!0x1;_0xd3aeef[_0x36336f(0x18c)](_0x36336f(0xe8),function(_0x33ebd0){_0x577c97=!0x0,_0xa02d9c(_0x33ebd0);}),_0xd3aeef[_0x36336f(0x18c)](_0x36336f(0x11d),function(){const _0x290aa0=_0x36336f;_0x577c97||_0xa02d9c(_0x187e28),process[_0x290aa0(0x12f)](_0x197053,_0x1f1327);}),_0x105af4&&_0xd3aeef[_0x36336f(0x241)]();},_0x1f1327['_final']=function(_0x5b8e26){const _0x40bae6=_0x21a667;if(_0xd3aeef[_0x40bae6(0x140)]===_0xd3aeef['CONNECTING']){_0xd3aeef[_0x40bae6(0x18c)](_0x40bae6(0x218),function(){_0x1f1327['_final'](_0x5b8e26);});return;}_0xd3aeef[_0x40bae6(0x190)]!==null&&(_0xd3aeef[_0x40bae6(0x190)][_0x40bae6(0x1ad)]['finished']?(_0x5b8e26(),_0x1f1327[_0x40bae6(0x13b)][_0x40bae6(0x1b5)]&&_0x1f1327['destroy']()):(_0xd3aeef[_0x40bae6(0x190)][_0x40bae6(0x18c)](_0x40bae6(0x17a),function(){_0x5b8e26();}),_0xd3aeef[_0x40bae6(0x11d)]()));},_0x1f1327[_0x21a667(0x225)]=function(){const _0x4fa30c=_0x21a667;_0xd3aeef['isPaused']&&_0xd3aeef[_0x4fa30c(0x234)]();},_0x1f1327[_0x21a667(0x1aa)]=function(_0x55bd16,_0x3813c7,_0x2d3bb4){const _0xead350=_0x21a667;if(_0xd3aeef[_0xead350(0x140)]===_0xd3aeef[_0xead350(0x10c)]){_0xd3aeef['once'](_0xead350(0x218),function(){const _0x1dffe9=_0xead350;_0x1f1327[_0x1dffe9(0x1aa)](_0x55bd16,_0x3813c7,_0x2d3bb4);});return;}_0xd3aeef['send'](_0x55bd16,_0x2d3bb4);},_0x1f1327['on']('end',_0x184966),_0x1f1327['on'](_0x21a667(0xe8),_0x55ee98),_0x1f1327;}return Oe=_0x48ef3d,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function _0x5ad4(){const _0x144a57=['setConfig','Invalid\x20value\x20for\x20parameter\x20\x22','WS_NO_UTF_8_VALIDATE','permessage-deflate','addEventListener','isBuffer','alloc','_no_context_takeover','toString','404EVSUCg','decompress','object','pipe','client','zlibDeflateOptions','listening','handleEvent','error','Cookie','_sender','base64','File','Sec-WebSocket-Extensions:\x20','catch','kAborted','haveLength','isView','Invalid\x20HTTP\x20method','hasOwnProperty','entries','sec-websocket-protocol','next','wss:','MASK\x20must\x20be\x20clear','maxPayload','buffer','toStringTag','520jRBbeu','code','add','_errored','getInfo','Sec-WebSocket-Origin','Max\x20payload\x20size\x20exceeded','WS_ERR_EXPECTED_MASK','fragments','upgrade','__esModule','encrypted','generateMask','env','consume','Unknown\x20parameter\x20\x22','CONNECTING','set','getConfig','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','ping','end','map','_decompress','finished','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','species','readable','sec-websocket-version','531630lQOaHq','kRun','MASK\x20must\x20be\x20set','close','_compressed','username','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','websocket','completeUpgrade','invalid\x20UTF-8\x20sequence','authorized','cork','WS_ERR_UNEXPECTED_MASK','\x22\x20must\x20have\x20only\x20a\x20single\x20value','needDrain','perMessageDeflate','cookie','find','buffers','authorization','_compress','nextTick','isPaused','The\x20\x22','_buffers','stream','pathname','controlMessage','944845AHcvzL','_mask','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Invalid\x20Upgrade\x20header','redirect','_readableState','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_receiver','string','registerHTTPInterceptor','readyState','kListener','wsClientError','dispose','WS_ERR_INVALID_UTF8','connect','_maxPayload','write','server_max_window_bits','location','digest','server','message','binaryType','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','pause','concat','_req','allowSynchronousEvents','acceptAsServer','create','toLowerCase','Invalid\x20Sec-WebSocket-Protocol\x20header','_skipUTF8Validation','The\x20server\x20is\x20not\x20running','defineProperty','490164PqyVKo','readUInt16BE','frame','host','RSV1\x20must\x20be\x20clear','href','handshakeTimeout','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','search','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','isArray','22106520tSqxUM','_deflate','statusCode','Blob','_firstFragment','normalizeParams','update','_fin','_masked','setSocket','25Fowuht','emit','flush','_bufferedBytes','pending','writeUInt16BE','nodebuffer','_opcode','shouldHandle','getOwnPropertyDescriptor','WebSocket','finish','sendFrame','data','clients','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','createError','cleanup','createDeflateRaw','Opening\x20handshake\x20has\x20timed\x20out','wasClean','654904BcgfxF','test','client_max_window_bits','sec-websocket-origin','maskBuffer','kDone','Invalid\x20Sec-WebSocket-Extensions\x20header','Invalid\x20Sec-WebSocket-Accept\x20header','once','compress','isValidUTF8','socket','_socket','opcode','FIN\x20must\x20be\x20set','getMask','address','threshold','dequeue','charCodeAt','CLOSING','Unexpected\x20server\x20response:\x20','text/plain','url','blob','forEach','constructor','WS_ERR_INVALID_OPCODE','_closeTimer','port','type','_bufferedAmount','drain','server_no_context_takeover','byteLength','dataMessage','client_no_context_takeover','_shouldEmitClose','_write','byteOffset','Unexpected\x20character\x20at\x20index\x20','_writableState','setHeader','collaboration-client-node.config','_closeCode','kError','arrayBuffer','destroyed','_paused','endEmitted','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Invalid\x20WebSocket\x20frame:\x20','getPayloadLength64','WS_ERR_UNEXPECTED_RSV_1','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','origin','size','prototype','readUInt32BE','from','extensions','_removeListeners','WS_ERR_INVALID_CLOSE_CODE','Unsupported\x20protocol\x20version:\x20','protocolVersion','_errorEmitted','_autoPong','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','mask','function','readOnly','_maskBuffer','removeListener','createSocket','_originalSecure','_inflate','fin','_extensions','setNoDelay','format','status-code','Unexpected\x20end\x20of\x20input','clientTracking','_destroy','_payloadLength','\x22:\x20','removeEventListener','protocol','handleProtocols','_redirects','arraybuffer','removeAllListeners','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','jobs','params','hash','startLoop','split','_totalPayloadLength','verifyClient','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_protocol','has','9651flgfoC','getBlobData','bufferedAmount','kMessage','offer','timeout','Z_DEFAULT_WINDOWBITS','acceptAsClient','_queue','87269AAqmqS','send','Z_SYNC_FLUSH','reason','extensionName','_readyState','callback','_binaryType','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','default','value','_generateMask','uncork','listeners','onopen','number','reset','skipUTF8Validation','allocUnsafe','slice','includes','conclude','_originalHostOrSocketPath','writeUIntBE','_fragmented','The\x20URL\x20contains\x20a\x20fragment\x20identifier','emitClose','push','_threshold','Sec-WebSocket-Protocol','kReason','read','unmask','\x20(supported\x20versions:\x20','onerror','clientMaxWindowBits','open','join','dispatch','ws+unix:','HTTP/1.1\x20','sec-websocket-key','Invalid\x20URL:\x20','Server\x20sent\x20an\x20invalid\x20subprotocol','path','destroy','enqueue','shift','replace','_read','_httpService','_messageLength','_doCreateSocket','headers','connection','abort','invalid\x20payload\x20length\x20','listen','Basic\x20','sha1','_allowSynchronousEvents','Sec-WebSocket-Protocol:\x20','hostname','_isServer','resume','_closeMessage','password','apply','createConnection','autoPong','Module','_loop','target','get','invalid\x20opcode\x200','isInteger','text/html','terminate','\x22\x20subprotocol\x20is\x20duplicated','then','Sec-WebSocket-Accept:\x20','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','keys','_max_window_bits','noServer','freeze','_configService','errorEmitted','exports','finishRequest','_closeFrameSent','onStarting','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','STATUS_CODES','indexOf','invalid\x20opcode\x20','listenerCount','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','Maximum\x20redirects\x20exceeded','_state','followRedirects','Parameter\x20\x22','ws:','socketPath','_fragments','objectMode','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','construct','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','setTimeout','HTTP/1.1\x20101\x20Switching\x20Protocols','getData','response','_registerDependencies','maxRedirects','_url','bind','_server','parse','serverMaxWindowBits','clientNoContextTakeover','options','servername','createInflateRaw','WebSocket\x20is\x20not\x20open:\x20readyState\x20','kTarget','pluginName','_injector','OPEN','_originalIpc','pong','captureStackTrace','_closeFrameReceived','accept','auth','kWasClean','_options','handleUpgrade','length','total-length','serverNoContextTakeover','pow','call','customHeaders','CLOSED','defaultPort'];_0x5ad4=function(){return _0x144a57;};return _0x5ad4();}function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x287ca1}=ne();function _0x15a78e(_0x525fb4){const _0x47da3c=_0x220c,_0x327c83=new Set();let _0x2ee171=-0x1,_0x341842=-0x1,_0x446218=0x0;for(_0x446218;_0x446218<_0x525fb4[_0x47da3c(0xcf)];_0x446218++){const _0x1b2378=_0x525fb4[_0x47da3c(0x197)](_0x446218);if(_0x341842===-0x1&&_0x287ca1[_0x1b2378]===0x1)_0x2ee171===-0x1&&(_0x2ee171=_0x446218);else{if(_0x446218!==0x0&&(_0x1b2378===0x20||_0x1b2378===0x9))_0x341842===-0x1&&_0x2ee171!==-0x1&&(_0x341842=_0x446218);else{if(_0x1b2378===0x2c){if(_0x2ee171===-0x1)throw new SyntaxError(_0x47da3c(0x1ac)+_0x446218);_0x341842===-0x1&&(_0x341842=_0x446218);const _0x4b6e7d=_0x525fb4[_0x47da3c(0x207)](_0x2ee171,_0x341842);if(_0x327c83[_0x47da3c(0x1ea)](_0x4b6e7d))throw new SyntaxError(_0x47da3c(0x131)+_0x4b6e7d+'\x22\x20subprotocol\x20is\x20duplicated');_0x327c83['add'](_0x4b6e7d),_0x2ee171=_0x341842=-0x1;}else throw new SyntaxError(_0x47da3c(0x1ac)+_0x446218);}}}if(_0x2ee171===-0x1||_0x341842!==-0x1)throw new SyntaxError(_0x47da3c(0x1d5));const _0xb17a06=_0x525fb4['slice'](_0x2ee171,_0x446218);if(_0x327c83[_0x47da3c(0x1ea)](_0xb17a06))throw new SyntaxError(_0x47da3c(0x131)+_0xb17a06+_0x47da3c(0x242));return _0x327c83['add'](_0xb17a06),_0x327c83;}return Ce={'parse':_0x15a78e},Ce;}var Te,ot;function er(){const _0xc4b15b=_0x5aaef6;if(ot)return Te;ot=0x1;const _0x44416c=_0x51ddbe,_0x56fe93=_0x3677ba,{Duplex:_0xc49cb2}=_0xa69c59,{createHash:_0x38d140}=_0x738967,_0x59ddea=pt(),_0x13f35e=he(),_0x2a9e33=Jt(),_0x1348c3=Ie(),{GUID:_0x109baa,kWebSocket:_0x29cbb3}=V(),_0x1ed03d=/^[+/0-9A-Za-z]{22}==$/,_0x1d6c3d=0x0,_0x32d58e=0x1,_0x302489=0x2;class _0x24bf30 extends _0x44416c{constructor(_0x4560f5,_0x224a42){const _0x1441eb=_0x220c;if(super(),_0x4560f5={'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':_0x1348c3,..._0x4560f5},_0x4560f5[_0x1441eb(0x1a1)]==null&&!_0x4560f5[_0x1441eb(0x14b)]&&!_0x4560f5[_0x1441eb(0x248)]||_0x4560f5[_0x1441eb(0x1a1)]!=null&&(_0x4560f5[_0x1441eb(0x14b)]||_0x4560f5[_0x1441eb(0x248)])||_0x4560f5[_0x1441eb(0x14b)]&&_0x4560f5['noServer'])throw new TypeError(_0x1441eb(0x163));if(_0x4560f5['port']!=null?(this[_0x1441eb(0xba)]=_0x56fe93['createServer']((_0x55ab36,_0xe3377d)=>{const _0x1cf231=_0x1441eb,_0x1214ec=_0x56fe93[_0x1cf231(0x251)][0x1aa];_0xe3377d['writeHead'](0x1aa,{'Content-Length':_0x1214ec[_0x1cf231(0xcf)],'Content-Type':_0x1cf231(0x19a)}),_0xe3377d['end'](_0x1214ec);}),this[_0x1441eb(0xba)][_0x1441eb(0x22d)](_0x4560f5[_0x1441eb(0x1a1)],_0x4560f5['host'],_0x4560f5['backlog'],_0x224a42)):_0x4560f5[_0x1441eb(0x14b)]&&(this[_0x1441eb(0xba)]=_0x4560f5['server']),this[_0x1441eb(0xba)]){const _0xea9676=this[_0x1441eb(0x170)][_0x1441eb(0xb9)](this,_0x1441eb(0x22a));this[_0x1441eb(0x1c1)]=_0x16d15f(this[_0x1441eb(0xba)],{'listening':this[_0x1441eb(0x170)][_0x1441eb(0xb9)](this,_0x1441eb(0xe6)),'error':this[_0x1441eb(0x170)][_0x1441eb(0xb9)](this,'error'),'upgrade':(_0x1dc8d2,_0x1c22d7,_0x570ba0)=>{const _0x1fad91=_0x1441eb;this[_0x1fad91(0xce)](_0x1dc8d2,_0x1c22d7,_0x570ba0,_0xea9676);}});}_0x4560f5[_0x1441eb(0x129)]===!0x0&&(_0x4560f5['perMessageDeflate']={}),_0x4560f5[_0x1441eb(0x1d6)]&&(this[_0x1441eb(0x17d)]=new Set(),this['_shouldEmitClose']=!0x1),this['options']=_0x4560f5,this['_state']=_0x1d6c3d;}[_0xc4b15b(0x194)](){const _0x430d16=_0xc4b15b;if(this[_0x430d16(0xbe)][_0x430d16(0x248)])throw new Error(_0x430d16(0x1b6));return this[_0x430d16(0xba)]?this[_0x430d16(0xba)][_0x430d16(0x194)]():null;}[_0xc4b15b(0x11d)](_0x4d4591){const _0x348f96=_0xc4b15b;if(this[_0x348f96(0x257)]===_0x302489){_0x4d4591&&this['once'](_0x348f96(0x11d),()=>{const _0x5020ba=_0x348f96;_0x4d4591(new Error(_0x5020ba(0x158)));}),process['nextTick'](_0x99d2c7,this);return;}if(_0x4d4591&&this[_0x348f96(0x18c)](_0x348f96(0x11d),_0x4d4591),this[_0x348f96(0x257)]!==_0x32d58e){if(this[_0x348f96(0x257)]=_0x32d58e,this[_0x348f96(0xbe)]['noServer']||this[_0x348f96(0xbe)][_0x348f96(0x14b)])this['_server']&&(this[_0x348f96(0x1c1)](),this[_0x348f96(0x1c1)]=this[_0x348f96(0xba)]=null),this[_0x348f96(0x17d)]?this[_0x348f96(0x17d)][_0x348f96(0x1bc)]?this['_shouldEmitClose']=!0x0:process['nextTick'](_0x99d2c7,this):process[_0x348f96(0x12f)](_0x99d2c7,this);else{const _0x5daa46=this[_0x348f96(0xba)];this['_removeListeners'](),this[_0x348f96(0x1c1)]=this[_0x348f96(0xba)]=null,_0x5daa46['close'](()=>{_0x99d2c7(this);});}}}['shouldHandle'](_0x5bca92){const _0x132795=_0xc4b15b;if(this[_0x132795(0xbe)][_0x132795(0x220)]){const _0x494250=_0x5bca92[_0x132795(0x19b)][_0x132795(0x252)]('?');if((_0x494250!==-0x1?_0x5bca92[_0x132795(0x19b)]['slice'](0x0,_0x494250):_0x5bca92[_0x132795(0x19b)])!==this[_0x132795(0xbe)][_0x132795(0x220)])return!0x1;}return!0x0;}['handleUpgrade'](_0x611d8a,_0xf6e3f7,_0x1a10cc,_0xf21c2d){const _0x119d98=_0xc4b15b;_0xf6e3f7['on'](_0x119d98(0xe8),_0x1ddaff);const _0x1f9e8e=_0x611d8a[_0x119d98(0x229)][_0x119d98(0x21d)],_0x414463=_0x611d8a[_0x119d98(0x229)][_0x119d98(0x105)],_0x580304=+_0x611d8a['headers'][_0x119d98(0x119)];if(_0x611d8a['method']!=='GET'){_0x2add88(this,_0x611d8a,_0xf6e3f7,0x195,_0x119d98(0xf2));return;}if(_0x414463===void 0x0||_0x414463[_0x119d98(0x155)]()!==_0x119d98(0x121)){_0x2add88(this,_0x611d8a,_0xf6e3f7,0x190,_0x119d98(0x139));return;}if(_0x1f9e8e===void 0x0||!_0x1ed03d[_0x119d98(0x185)](_0x1f9e8e)){_0x2add88(this,_0x611d8a,_0xf6e3f7,0x190,_0x119d98(0x250));return;}if(_0x580304!==0xd&&_0x580304!==0x8){_0x2add88(this,_0x611d8a,_0xf6e3f7,0x190,_0x119d98(0x138),{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this[_0x119d98(0x177)](_0x611d8a)){_0x51f95f(_0xf6e3f7,0x190);return;}const _0x392405=_0x611d8a[_0x119d98(0x229)][_0x119d98(0xf5)];let _0x445d67=new Set();if(_0x392405!==void 0x0)try{_0x445d67=_0x2a9e33[_0x119d98(0xbb)](_0x392405);}catch{_0x2add88(this,_0x611d8a,_0xf6e3f7,0x190,_0x119d98(0x156));return;}const _0x1baaf6=_0x611d8a[_0x119d98(0x229)]['sec-websocket-extensions'],_0x2ed35e={};if(this[_0x119d98(0xbe)][_0x119d98(0x129)]&&_0x1baaf6!==void 0x0){const _0x555a34=new _0x13f35e(this[_0x119d98(0xbe)]['perMessageDeflate'],!0x0,this[_0x119d98(0xbe)]['maxPayload']);try{const _0x169ca8=_0x59ddea['parse'](_0x1baaf6);_0x169ca8[_0x13f35e[_0x119d98(0x1f8)]]&&(_0x555a34['accept'](_0x169ca8[_0x13f35e[_0x119d98(0x1f8)]]),_0x2ed35e[_0x13f35e['extensionName']]=_0x555a34);}catch{_0x2add88(this,_0x611d8a,_0xf6e3f7,0x190,_0x119d98(0x245));return;}}if(this[_0x119d98(0xbe)][_0x119d98(0x1e7)]){const _0x3eea76={'origin':_0x611d8a[_0x119d98(0x229)][''+(_0x580304===0x8?_0x119d98(0x187):'origin')],'secure':!!(_0x611d8a[_0x119d98(0x18f)][_0x119d98(0x124)]||_0x611d8a[_0x119d98(0x18f)][_0x119d98(0x107)]),'req':_0x611d8a};if(this[_0x119d98(0xbe)]['verifyClient'][_0x119d98(0xcf)]===0x2){this[_0x119d98(0xbe)][_0x119d98(0x1e7)](_0x3eea76,(_0x38ad96,_0x4cb80d,_0x143a69,_0x535960)=>{if(!_0x38ad96)return _0x51f95f(_0xf6e3f7,_0x4cb80d||0x191,_0x143a69,_0x535960);this['completeUpgrade'](_0x2ed35e,_0x1f9e8e,_0x445d67,_0x611d8a,_0xf6e3f7,_0x1a10cc,_0xf21c2d);});return;}if(!this[_0x119d98(0xbe)]['verifyClient'](_0x3eea76))return _0x51f95f(_0xf6e3f7,0x191);}this[_0x119d98(0x122)](_0x2ed35e,_0x1f9e8e,_0x445d67,_0x611d8a,_0xf6e3f7,_0x1a10cc,_0xf21c2d);}[_0xc4b15b(0x122)](_0x18515c,_0x47fc6b,_0x4f06e2,_0x472866,_0x414f12,_0x2c8c95,_0x4e5a28){const _0x3b4eec=_0xc4b15b;if(!_0x414f12[_0x3b4eec(0x118)]||!_0x414f12['writable'])return _0x414f12[_0x3b4eec(0x221)]();if(_0x414f12[_0x29cbb3])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x3b4eec(0x257)]>_0x1d6c3d)return _0x51f95f(_0x414f12,0x1f7);const _0x16e95e=[_0x3b4eec(0x262),'Upgrade:\x20websocket','Connection:\x20Upgrade',_0x3b4eec(0x244)+_0x38d140(_0x3b4eec(0x22f))[_0x3b4eec(0x16b)](_0x47fc6b+_0x109baa)[_0x3b4eec(0x14a)](_0x3b4eec(0xeb))],_0x5d3fdb=new this[(_0x3b4eec(0xbe))][(_0x3b4eec(0x179))](null,void 0x0,this['options']);if(_0x4f06e2[_0x3b4eec(0x1bc)]){const _0x20e78d=this[_0x3b4eec(0xbe)][_0x3b4eec(0x1dc)]?this[_0x3b4eec(0xbe)][_0x3b4eec(0x1dc)](_0x4f06e2,_0x472866):_0x4f06e2['values']()['next']()[_0x3b4eec(0x1fe)];_0x20e78d&&(_0x16e95e[_0x3b4eec(0x20f)](_0x3b4eec(0x231)+_0x20e78d),_0x5d3fdb[_0x3b4eec(0x1e9)]=_0x20e78d);}if(_0x18515c[_0x13f35e[_0x3b4eec(0x1f8)]]){const _0x5ab66b=_0x18515c[_0x13f35e[_0x3b4eec(0x1f8)]][_0x3b4eec(0x1e2)],_0x554496=_0x59ddea[_0x3b4eec(0x1d3)]({[_0x13f35e['extensionName']]:[_0x5ab66b]});_0x16e95e['push'](_0x3b4eec(0xed)+_0x554496),_0x5d3fdb[_0x3b4eec(0x1d1)]=_0x18515c;}this[_0x3b4eec(0x170)](_0x3b4eec(0x229),_0x16e95e,_0x472866),_0x414f12['write'](_0x16e95e[_0x3b4eec(0x150)]('\x0d\x0a')[_0x3b4eec(0x219)]('\x0d\x0a')),_0x414f12[_0x3b4eec(0x1cc)](_0x3b4eec(0xe8),_0x1ddaff),_0x5d3fdb[_0x3b4eec(0x16e)](_0x414f12,_0x2c8c95,{'allowSynchronousEvents':this[_0x3b4eec(0xbe)]['allowSynchronousEvents'],'maxPayload':this['options'][_0x3b4eec(0xf9)],'skipUTF8Validation':this[_0x3b4eec(0xbe)][_0x3b4eec(0x205)]}),this['clients']&&(this['clients'][_0x3b4eec(0xfe)](_0x5d3fdb),_0x5d3fdb['on'](_0x3b4eec(0x11d),()=>{const _0x2b4163=_0x3b4eec;this[_0x2b4163(0x17d)]['delete'](_0x5d3fdb),this[_0x2b4163(0x1a9)]&&!this[_0x2b4163(0x17d)][_0x2b4163(0x1bc)]&&process[_0x2b4163(0x12f)](_0x99d2c7,this);})),_0x4e5a28(_0x5d3fdb,_0x472866);}}Te=_0x24bf30;function _0x16d15f(_0x1dac1f,_0x393d13){const _0x1469e4=_0xc4b15b;for(const _0x39c2ec of Object[_0x1469e4(0x246)](_0x393d13))_0x1dac1f['on'](_0x39c2ec,_0x393d13[_0x39c2ec]);return function(){const _0x4118fa=_0x1469e4;for(const _0x4e1284 of Object[_0x4118fa(0x246)](_0x393d13))_0x1dac1f[_0x4118fa(0x1cc)](_0x4e1284,_0x393d13[_0x4e1284]);};}function _0x99d2c7(_0x24e607){const _0x46231b=_0xc4b15b;_0x24e607[_0x46231b(0x257)]=_0x302489,_0x24e607[_0x46231b(0x170)]('close');}function _0x1ddaff(){const _0x1af281=_0xc4b15b;this[_0x1af281(0x221)]();}function _0x51f95f(_0x3727c0,_0x4f3ba2,_0x1cf91a,_0x5f27a1){const _0x1aefcb=_0xc4b15b;_0x1cf91a=_0x1cf91a||_0x56fe93[_0x1aefcb(0x251)][_0x4f3ba2],_0x5f27a1={'Connection':_0x1aefcb(0x11d),'Content-Type':_0x1aefcb(0x240),'Content-Length':Buffer[_0x1aefcb(0x1a6)](_0x1cf91a),..._0x5f27a1},_0x3727c0[_0x1aefcb(0x18c)](_0x1aefcb(0x17a),_0x3727c0[_0x1aefcb(0x221)]),_0x3727c0[_0x1aefcb(0x111)](_0x1aefcb(0x21c)+_0x4f3ba2+'\x20'+_0x56fe93[_0x1aefcb(0x251)][_0x4f3ba2]+'\x0d\x0a'+Object[_0x1aefcb(0x246)](_0x5f27a1)[_0x1aefcb(0x112)](_0x5ce49d=>_0x5ce49d+':\x20'+_0x5f27a1[_0x5ce49d])[_0x1aefcb(0x219)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x1cf91a);}function _0x2add88(_0x50759b,_0x19d6f8,_0xe47f72,_0x3f71a0,_0xd84187,_0x52c8d3){const _0x4d2aab=_0xc4b15b;if(_0x50759b[_0x4d2aab(0x254)](_0x4d2aab(0x142))){const _0x3adbae=new Error(_0xd84187);Error['captureStackTrace'](_0x3adbae,_0x2add88),_0x50759b[_0x4d2aab(0x170)](_0x4d2aab(0x142),_0x3adbae,_0xe47f72,_0x19d6f8);}else _0x51f95f(_0xe47f72,_0x3f71a0,_0xd84187,_0x52c8d3);}return Te;}er();var tr=Object[_0x5aaef6(0x178)],rr=(_0xf47611,_0x202845,_0x137996,_0x38907b)=>{const _0x4e1d6c=_0x5aaef6;for(var _0x3d9e7c=_0x38907b>0x1?void 0x0:_0x38907b?tr(_0x202845,_0x137996):_0x202845,_0x363c9f=_0xf47611[_0x4e1d6c(0xcf)]-0x1,_0x3b06a3;_0x363c9f>=0x0;_0x363c9f--)(_0x3b06a3=_0xf47611[_0x363c9f])&&(_0x3d9e7c=_0x3b06a3(_0x3d9e7c)||_0x3d9e7c);return _0x3d9e7c;},sr=(_0x3d5c47,_0x2068d3)=>(_0x450142,_0x1f6beb)=>_0x2068d3(_0x450142,_0x1f6beb,_0x3d5c47);let Ne=class extends _0x266c6a{constructor(_0xe6e519){const _0xc4b59=_0x5aaef6;super(),this[_0xc4b59(0x24a)]=_0xe6e519;}[_0x5aaef6(0x1cd)](_0x489558){const _0x4666c5=_0x5aaef6;var _0x57c80b;const _0x4ab785=(_0x57c80b=this[_0x4666c5(0x24a)][_0x4666c5(0x10e)](Be))==null?void 0x0:_0x57c80b['customHeaders'];try{const _0x1fb261=new Qt(_0x489558,{'headers':{..._0x4ab785}}),_0x5085f9=new _0x220f21();return{'URL':_0x489558,'close':(_0x3cc7f5,_0x2133ad)=>{const _0x2be68f=_0x4666c5;_0x1fb261[_0x2be68f(0x11d)](_0x3cc7f5,_0x2133ad),_0x5085f9[_0x2be68f(0x143)]();},'send':_0x4d99cb=>{const _0x133ccb=_0x4666c5;_0x1fb261[_0x133ccb(0x1f5)](_0x4d99cb);},'open$':new _0x22e704(_0x162239=>{const _0x5f01da=_0x4666c5,_0x343648=_0x38c6e4=>_0x162239[_0x5f01da(0xf6)](_0x38c6e4);_0x1fb261[_0x5f01da(0xdb)]('open',_0x343648),_0x5085f9[_0x5f01da(0xfe)](_0x25243e(()=>_0x1fb261[_0x5f01da(0x1da)](_0x5f01da(0x218),_0x343648)));})[_0x4666c5(0xe3)](_0x33f2c3()),'close$':new _0x22e704(_0x5de4eb=>{const _0x15d0cd=_0x4666c5,_0x4973d5=_0x49e63d=>_0x5de4eb[_0x15d0cd(0xf6)](_0x49e63d);_0x1fb261[_0x15d0cd(0xdb)](_0x15d0cd(0x11d),_0x4973d5),_0x5085f9[_0x15d0cd(0xfe)](_0x25243e(()=>_0x1fb261['removeEventListener']('close',_0x4973d5)));})[_0x4666c5(0xe3)](_0x33f2c3()),'error$':new _0x22e704(_0x594b1e=>{const _0x21e7ea=_0x4666c5,_0x3036a0=_0x5f541a=>_0x594b1e['next'](_0x5f541a);_0x1fb261['addEventListener']('error',_0x3036a0),_0x5085f9[_0x21e7ea(0xfe)](_0x25243e(()=>_0x1fb261[_0x21e7ea(0x1da)](_0x21e7ea(0xe8),_0x3036a0)));})['pipe'](_0x33f2c3()),'message$':new _0x22e704(_0xe4c8f1=>{const _0x13e3ef=_0x4666c5,_0x53cb8b=_0x3eb472=>_0xe4c8f1[_0x13e3ef(0xf6)](_0x3eb472);_0x1fb261[_0x13e3ef(0xdb)](_0x13e3ef(0x14c),_0x53cb8b),_0x5085f9['add'](_0x25243e(()=>_0x1fb261['removeEventListener'](_0x13e3ef(0x14c),_0x53cb8b)));})[_0x4666c5(0xe3)](_0x33f2c3())};}catch(_0x699e56){return console[_0x4666c5(0xe8)](_0x699e56),null;}}};Ne=rr([sr(0x0,_0x1399b3)],Ne);var ir=Object[_0x5aaef6(0x159)],nr=Object[_0x5aaef6(0x178)],or=(_0xd65697,_0x46ee6b,_0xf58f47)=>_0x46ee6b in _0xd65697?ir(_0xd65697,_0x46ee6b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf58f47}):_0xd65697[_0x46ee6b]=_0xf58f47,ar=(_0xea6aa5,_0x2fa5fa,_0x54b8fb,_0x385fd1)=>{for(var _0x688b68=_0x385fd1>0x1?void 0x0:_0x385fd1?nr(_0x2fa5fa,_0x54b8fb):_0x2fa5fa,_0x323cd2=_0xea6aa5['length']-0x1,_0x125741;_0x323cd2>=0x0;_0x323cd2--)(_0x125741=_0xea6aa5[_0x323cd2])&&(_0x688b68=_0x125741(_0x688b68)||_0x688b68);return _0x688b68;},ke=(_0x345b46,_0x308d52)=>(_0x4089a0,_0x18eb5c)=>_0x308d52(_0x4089a0,_0x18eb5c,_0x345b46),lr=(_0x525454,_0x3b6de4,_0x35fa6a)=>or(_0x525454,_0x3b6de4+'',_0x35fa6a);let Pe=class extends _0x3ff643{constructor(_0x4d1304=Ft,_0x3ab7e9,_0x175c2f,_0x53b315){const _0x52b692=_0x5aaef6;_0x4d1304['customHeaders']||_0x3ab7e9['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x52b692(0x24a)]=_0x175c2f,this[_0x52b692(0xc4)]=_0x53b315,this[_0x52b692(0x24a)][_0x52b692(0xd7)](Be,_0x4d1304);}[_0x5aaef6(0x24f)](){const _0x57be79=_0x5aaef6;this[_0x57be79(0x265)]();}[_0x5aaef6(0x265)](){const _0x27d50b=_0x5aaef6;_0x48a310(this[_0x27d50b(0xc4)],[[_0x3b6658,{'useClass':Ne}]]);}};lr(Pe,_0x5aaef6(0xc3),_0x5aaef6(0x25e)),Pe=ar([_0xbe93ae(_0x35b408),ke(0x1,_0xd1925c),ke(0x2,_0x1399b3),ke(0x3,_0x198c83(_0x453f88))],Pe);var fr=Object[_0x5aaef6(0x178)],cr=(_0x58ee3a,_0x299c99,_0x71e342,_0x43fdeb)=>{const _0x67811a=_0x5aaef6;for(var _0x1e1cf3=_0x43fdeb>0x1?void 0x0:_0x43fdeb?fr(_0x299c99,_0x71e342):_0x299c99,_0x47c7ea=_0x58ee3a[_0x67811a(0xcf)]-0x1,_0xc662e;_0x47c7ea>=0x0;_0x47c7ea--)(_0xc662e=_0x58ee3a[_0x47c7ea])&&(_0x1e1cf3=_0xc662e(_0x1e1cf3)||_0x1e1cf3);return _0x1e1cf3;},se=(_0x50c788,_0x468cfa)=>(_0x45e19c,_0x21d13d)=>_0x468cfa(_0x45e19c,_0x21d13d,_0x50c788);let at=class extends _0x55d2ba{constructor(_0x3dc246,_0x347f02,_0x4e7568,_0x3fdecd,_0x410edd){const _0x381446=_0x5aaef6;super(_0x3dc246,_0x347f02,_0x4e7568,_0x3fdecd,_0x410edd);const _0x34e1c1=this[_0x381446(0x24a)][_0x381446(0x10e)](Be);this[_0x381446(0x226)][_0x381446(0x13f)]({'interceptor':(_0x36addc,_0x1c2dff)=>{const _0x31a87a=_0x381446;var _0x5ed5c9;const _0x281764=_0x36addc[_0x31a87a(0x229)];return(_0x5ed5c9=_0x34e1c1==null?void 0x0:_0x34e1c1[_0x31a87a(0xd4)])!=null&&_0x5ed5c9[_0x31a87a(0x12a)]&&_0x281764[_0x31a87a(0x10d)](_0x31a87a(0xe9),_0x34e1c1['customHeaders'][_0x31a87a(0x12a)]),_0x1c2dff(_0x36addc);}});}async['createSocket'](_0x2291af){const _0xcd65a=_0x5aaef6;return this[_0xcd65a(0x228)](_0x2291af);}};function _0x220c(_0x449e73,_0x41f542){const _0x5ad402=_0x5ad4();return _0x220c=function(_0x220c6a,_0x4bd65e){_0x220c6a=_0x220c6a-0xb7;let _0x46273d=_0x5ad402[_0x220c6a];return _0x46273d;},_0x220c(_0x449e73,_0x41f542);}at=cr([se(0x0,_0x198c83(_0x453f88)),se(0x1,_0x198c83(_0x5858a3)),se(0x2,_0x1399b3),se(0x3,_0xd1925c),se(0x4,_0x82aad2)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x4f9298=_0x3288;(function(_0x1be049,_0x19b50b){const _0x50ee69=_0x3288,_0x38f08b=_0x1be049();while(!![]){try{const _0xc7810b=parseInt(_0x50ee69(0x1fd))/0x1+-parseInt(_0x50ee69(0x271))/0x2+parseInt(_0x50ee69(0x29b))/0x3*(-parseInt(_0x50ee69(0x219))/0x4)+-parseInt(_0x50ee69(0x26f))/0x5+parseInt(_0x50ee69(0x1fc))/0x6+-parseInt(_0x50ee69(0x1c5))/0x7+-parseInt(_0x50ee69(0x23f))/0x8*(-parseInt(_0x50ee69(0x1fe))/0x9);if(_0xc7810b===_0x19b50b)break;else _0x38f08b['push'](_0x38f08b['shift']());}catch(_0x5758c7){_0x38f08b['push'](_0x38f08b['shift']());}}}(_0x52e2,0x4f522));import{UniverCollaborationClientPlugin as _0x554f19,CollaborationSocketService as _0x374091}from'@univerjs-pro/collaboration-client';import{Disposable as _0x8924c,DisposableCollection as _0x23dc54,toDisposable as _0x550483,IConfigService as _0x134320,DependentOn as _0x333582,ILogService as _0x3e32c0,Inject as _0x16e21f,Injector as _0x107d18,Plugin as _0x31a6de,registerDependencies as _0x4ffcc3}from'@univerjs/core';function _0x52e2(){const _0x3c9567=['set','The\x20server\x20is\x20not\x20running','request','WebSocket','dispose','writable','_injector','_socket','options','_originalIpc','_options','_mask','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','auth','conclude','finishRequest','_shouldEmitClose','kWasClean','listening','callback','controlMessage','port','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','ping','noServer','RSV1\x20must\x20be\x20clear','compress','nodebuffer','invalid\x20opcode\x200','onmessage','nextTick','pending','data','HTTP/1.1\x20','_compressed','_readableState','WS_ERR_EXPECTED_MASK','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','isArray','_buffers','_closeMessage','clientNoContextTakeover','WS_NO_BUFFER_UTIL','sec-websocket-protocol','split','_queue','connection','charCodeAt','_fragmented','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','setNoDelay','digest','_state','setSocket','finished','ws+unix:','acceptAsClient','getConfig','_maxPayload','_opcode','clientTracking','The\x20\x22','_configService','add','normalizeParams','captureStackTrace','_originalSecure','fin','Max\x20payload\x20size\x20exceeded','_decompress','path','completeUpgrade','unmask','needDrain','_protocol','replace','apply','keys','readUInt16BE','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','kListener','createError','_removeListeners','accept','_final','WebSocket\x20is\x20not\x20open:\x20readyState\x20','unexpected-response','OPEN','Invalid\x20Sec-WebSocket-Extensions\x20header','__esModule','getPayloadLength16','Parameter\x20\x22','arraybuffer','removeEventListener','hostname','WS_ERR_EXPECTED_FIN','object','cookie','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','dispatch','listen','consume','objectMode','headers','getBlobData','warn','destroyed','writeUIntBE','Invalid\x20HTTP\x20method','collaboration-client-node.config','string','_generateMask','blob','client','shouldHandle','text/plain','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_closeFrameReceived','origin','location','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_no_context_takeover','removeListener','call','CLOSED','\x22:\x20','_redirects','websocket','WS_NO_UTF_8_VALIDATE','close','client_max_window_bits','Sec-WebSocket-Protocol','Server\x20sent\x20an\x20invalid\x20subprotocol','Sec-WebSocket-Accept:\x20','wss:','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','getPayloadLength64','byteOffset','sec-websocket-origin','_autoPong','status-code','threshold','onopen','maskBuffer','Basic\x20','extensions','resume','clients','target','readOnly','rsv1','_receiver','_errored','destroy','cleanup','Cookie','_inflate','size','haveLength','isBuffer','protocolVersion','wasClean','update','offer','_allowSynchronousEvents','once','stream','byteLength','forEach','finish','values','verifyClient','_destroy','terminate','readyState','env','Unknown\x20parameter\x20\x22','flush','from','statusCode','_skipUTF8Validation','decompress','total-length','enqueue','frame','isIP','socket','Invalid\x20WebSocket\x20frame:\x20','abort','listeners','13,\x208','_closeFrameSent','alloc','Opening\x20handshake\x20has\x20timed\x20out','CLOSING','Module','kTarget','servername','_binaryType','4353314MSIsbX','Origin','onStarting','hash','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','kIsForOnEventAttribute','server','readUInt32BE','\x0d\x0a\x0d\x0a','dataMessage','password','_url','_server','error','_writableState','_fin','registerHTTPInterceptor','handleUpgrade','timeout','defaultPort','zlibDeflateOptions','sha1','uncork','getData','STATUS_CODES','\x20(supported\x20versions:\x20','join','_readyState','CONNECTING','arrayBuffer','kMessage','base64','includes','buffer','_bufferedBytes','find','wsClientError','species','buffers','construct','isValidUTF8','Unexpected\x20end\x20of\x20input','_deflate','_errorEmitted','Blob','_doCreateSocket','entries','concurrencyLimit','drain','FIN\x20must\x20be\x20set','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','message','Z_DEFAULT_WINDOWBITS','end','encrypted','2815986plvnJY','56106XxeVCv','9WNvEgd','Upgrade:\x20websocket','emit','response','concat','handshakeTimeout','unshift','isPaused','autoPong','invalid\x20opcode\x20','send','sendFrame','map','getMask','_registerDependencies','invalid\x20UTF-8\x20sequence','isInteger','format','endEmitted','kType','indexOf','Invalid\x20Sec-WebSocket-Accept\x20header','concurrency','_extensions','Unexpected\x20character\x20at\x20index\x20','test','create','2196944soLohj','protocol','address','pause','Invalid\x20URL:\x20','fragments','open','emitClose','invalid\x20payload\x20length\x20','sec-websocket-accept','Unexpected\x20server\x20response:\x20','_read','next','reset','_firstFragment','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','bufferedAmount','has','exports','_closeCode','_bufferedAmount','defineProperty','pow','clientMaxWindowBits','url','_compress','redirect','jobs','kDone','extensionName','_loop','getInfo','mask','_maskBuffer','server_max_window_bits','reason','Invalid\x20value\x20for\x20parameter\x20\x22','13052816MmpMTm','maxPayload','listenerCount','customHeaders','shift','\x22\x20must\x20have\x20only\x20a\x20single\x20value','startLoop','_max_window_bits','username','params','skipUTF8Validation','serverMaxWindowBits','MASK\x20must\x20be\x20clear','writeUInt16BE','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','upgrade','followRedirects','number','sec-websocket-extensions','opcode','serverNoContextTakeover','connect','bind','onerror','Invalid\x20Upgrade\x20header','generateMask','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','server_no_context_takeover','type','socketPath','setConfig','_paused','_write','authorized','WS_ERR_UNEXPECTED_RSV_1','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_payloadLength','setTimeout','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','push','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','allowSynchronousEvents','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','prototype','_originalHostOrSocketPath','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','href','createConnection','3203975ufumoL','host','40416tmaKuu','ws:','permessage-deflate','_closeTimer','toLowerCase','Sec-WebSocket-Extensions','handleEvent','errorEmitted','addEventListener','pipe','_masked','_sender','sec-websocket-key','kAborted','kError','code','kByteLength','sec-websocket-version','perMessageDeflate','toString','kCode','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','https:','function','get','parse','_totalPayloadLength','binaryType','pathname','_isServer','WS_ERR_INVALID_OPCODE','client_no_context_takeover','createSocket','default','slice','Server\x20sent\x20no\x20subprotocol','pong','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','authorization','Connection:\x20Upgrade','search','_httpService','3uaxaKk','GET','onclose','isServer','Sec-WebSocket-Extensions:\x20','method','constructor','Upgrade','freeze','_req','allocUnsafe','length','text/html','WS_ERR_INVALID_UTF8','write','_messageLength','_fragments','toStringTag'];_0x52e2=function(){return _0x3c9567;};return _0x52e2();}import{ISocketService as _0x15b46e,HTTPService as _0x1c37c7}from'@univerjs/network';import{Observable as _0x14354a,share as _0x4b8ead}from'rxjs';import _0x58fb53 from'events';import _0xd4e2d from'https';import _0x359bc0 from'http';import _0x1a02d9 from'net';import _0x1e4621 from'tls';import _0x5ef917 from'crypto';import _0x4a4f82 from'stream';import _0x2c14ee from'url';import _0x18fe1e from'zlib';import _0x518b34 from'buffer';import{ISnapshotServerService as _0x3f00fe}from'@univerjs-pro/collaboration';const Be=_0x4f9298(0x31a),Ft={'customHeaders':{}};function Wt(_0x37bdb3){const _0x351545=_0x4f9298;return _0x37bdb3&&_0x37bdb3[_0x351545(0x306)]&&Object[_0x351545(0x26a)]['hasOwnProperty'][_0x351545(0x328)](_0x37bdb3,'default')?_0x37bdb3[_0x351545(0x292)]:_0x37bdb3;}function ut(_0x186d2e){const _0x31b42a=_0x4f9298;if(Object[_0x31b42a(0x26a)]['hasOwnProperty']['call'](_0x186d2e,_0x31b42a(0x306)))return _0x186d2e;var _0x646c96=_0x186d2e['default'];if(typeof _0x646c96=='function'){var _0x5b3d81=function _0x4219c6(){const _0x2f1370=_0x31b42a;var _0x493f2a=!0x1;try{_0x493f2a=this instanceof _0x4219c6;}catch{}return _0x493f2a?Reflect[_0x2f1370(0x1ec)](_0x646c96,arguments,this[_0x2f1370(0x2a1)]):_0x646c96[_0x2f1370(0x2f9)](this,arguments);};_0x5b3d81['prototype']=_0x646c96['prototype'];}else _0x5b3d81={};return Object[_0x31b42a(0x22f)](_0x5b3d81,'__esModule',{'value':!0x0}),Object['keys'](_0x186d2e)[_0x31b42a(0x1a6)](function(_0x2d1103){const _0x52c331=_0x31b42a;var _0x2f9ccd=Object['getOwnPropertyDescriptor'](_0x186d2e,_0x2d1103);Object[_0x52c331(0x22f)](_0x5b3d81,_0x2d1103,_0x2f9ccd[_0x52c331(0x289)]?_0x2f9ccd:{'enumerable':!0x0,'get':function(){return _0x186d2e[_0x2d1103];}});}),_0x5b3d81;}var te={'exports':{}},ge,Ye;function V(){const _0x3f6ec2=_0x4f9298;if(Ye)return ge;Ye=0x1;const _0x2b2b7c=[_0x3f6ec2(0x2c8),_0x3f6ec2(0x309),_0x3f6ec2(0x21e)],_0x5a0015=typeof Blob<'u';return _0x5a0015&&_0x2b2b7c[_0x3f6ec2(0x266)]('blob'),ge={'BINARY_TYPES':_0x2b2b7c,'EMPTY_BUFFER':Buffer[_0x3f6ec2(0x1be)](0x0),'GUID':_0x3f6ec2(0x2fc),'hasBlob':_0x5a0015,'kForOnEventAttribute':Symbol(_0x3f6ec2(0x1ca)),'kListener':Symbol(_0x3f6ec2(0x2fd)),'kStatusCode':Symbol(_0x3f6ec2(0x339)),'kWebSocket':Symbol(_0x3f6ec2(0x32c)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x4f9298(0x2a3)](Object[_0x4f9298(0x22f)]({'__proto__':null,'default':jt},Symbol[_0x4f9298(0x2ac)],{'value':_0x4f9298(0x1c1)})),Vt=ut(Gt);var Ke;function ce(){const _0x48c2d7=_0x4f9298;if(Ke)return te[_0x48c2d7(0x22c)];Ke=0x1;const {EMPTY_BUFFER:_0x7c4d16}=V(),_0x5a9a49=Buffer[Symbol['species']];function _0x59ae6d(_0x37cfee,_0x1936f2){const _0x57f2e6=_0x48c2d7;if(_0x37cfee['length']===0x0)return _0x7c4d16;if(_0x37cfee[_0x57f2e6(0x2a6)]===0x1)return _0x37cfee[0x0];const _0x33baef=Buffer[_0x57f2e6(0x2a5)](_0x1936f2);let _0x40cc1a=0x0;for(let _0x48744d=0x0;_0x48744d<_0x37cfee['length'];_0x48744d++){const _0x3997c5=_0x37cfee[_0x48744d];_0x33baef[_0x57f2e6(0x2ad)](_0x3997c5,_0x40cc1a),_0x40cc1a+=_0x3997c5[_0x57f2e6(0x2a6)];}return _0x40cc1a<_0x1936f2?new _0x5a9a49(_0x33baef[_0x57f2e6(0x1e6)],_0x33baef[_0x57f2e6(0x336)],_0x40cc1a):_0x33baef;}function _0x3b2e(_0x3ab007,_0x18338b,_0x30cfd7,_0x4e3cb3,_0x164777){for(let _0x5c8495=0x0;_0x5c8495<_0x164777;_0x5c8495++)_0x30cfd7[_0x4e3cb3+_0x5c8495]=_0x3ab007[_0x5c8495]^_0x18338b[_0x5c8495&0x3];}function _0x2ba350(_0x51a89e,_0x59de66){const _0x3aa550=_0x48c2d7;for(let _0x83c3ab=0x0;_0x83c3ab<_0x51a89e[_0x3aa550(0x2a6)];_0x83c3ab++)_0x51a89e[_0x83c3ab]^=_0x59de66[_0x83c3ab&0x3];}function _0x1ade9b(_0x5497d2){const _0x53d653=_0x48c2d7;return _0x5497d2['length']===_0x5497d2[_0x53d653(0x1e6)]['byteLength']?_0x5497d2[_0x53d653(0x1e6)]:_0x5497d2[_0x53d653(0x1e6)][_0x53d653(0x293)](_0x5497d2[_0x53d653(0x336)],_0x5497d2[_0x53d653(0x336)]+_0x5497d2[_0x53d653(0x2a6)]);}function _0x430446(_0x1f904b){const _0x32a148=_0x48c2d7;if(_0x430446['readOnly']=!0x0,Buffer[_0x32a148(0x19d)](_0x1f904b))return _0x1f904b;let _0x3dcc89;return _0x1f904b instanceof ArrayBuffer?_0x3dcc89=new _0x5a9a49(_0x1f904b):ArrayBuffer['isView'](_0x1f904b)?_0x3dcc89=new _0x5a9a49(_0x1f904b[_0x32a148(0x1e6)],_0x1f904b[_0x32a148(0x336)],_0x1f904b[_0x32a148(0x1a5)]):(_0x3dcc89=Buffer[_0x32a148(0x1b0)](_0x1f904b),_0x430446[_0x32a148(0x193)]=!0x1),_0x3dcc89;}if(te[_0x48c2d7(0x22c)]={'concat':_0x59ae6d,'mask':_0x3b2e,'toArrayBuffer':_0x1ade9b,'toBuffer':_0x430446,'unmask':_0x2ba350},!process['env'][_0x48c2d7(0x2d7)])try{const _0x3bed0d=Vt;te['exports'][_0x48c2d7(0x23a)]=function(_0x33eb7e,_0x2658e6,_0x58fdac,_0x41c807,_0x56e2ba){const _0x18968a=_0x48c2d7;_0x56e2ba<0x30?_0x3b2e(_0x33eb7e,_0x2658e6,_0x58fdac,_0x41c807,_0x56e2ba):_0x3bed0d[_0x18968a(0x23a)](_0x33eb7e,_0x2658e6,_0x58fdac,_0x41c807,_0x56e2ba);},te['exports'][_0x48c2d7(0x2f5)]=function(_0x30b539,_0x44fb9b){const _0x36e321=_0x48c2d7;_0x30b539[_0x36e321(0x2a6)]<0x20?_0x2ba350(_0x30b539,_0x44fb9b):_0x3bed0d[_0x36e321(0x2f5)](_0x30b539,_0x44fb9b);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x5059f1=_0x4f9298;if(Xe)return ye;Xe=0x1;const _0x1c5723=Symbol(_0x5059f1(0x236)),_0x3733e7=Symbol('kRun');class _0x2e17bf{constructor(_0x1091b2){const _0x1b062d=_0x5059f1;this[_0x1c5723]=()=>{const _0x474be7=_0x3288;this[_0x474be7(0x2cc)]--,this[_0x3733e7]();},this[_0x1b062d(0x214)]=_0x1091b2||0x1/0x0,this[_0x1b062d(0x235)]=[],this[_0x1b062d(0x2cc)]=0x0;}[_0x5059f1(0x2ec)](_0x4e2ae1){const _0x23bc2e=_0x5059f1;this[_0x23bc2e(0x235)][_0x23bc2e(0x266)](_0x4e2ae1),this[_0x3733e7]();}[_0x3733e7](){const _0x33f33d=_0x5059f1;if(this['pending']!==this[_0x33f33d(0x214)]&&this[_0x33f33d(0x235)][_0x33f33d(0x2a6)]){const _0x1cd061=this['jobs']['shift']();this['pending']++,_0x1cd061(this[_0x1c5723]);}}}return ye=_0x2e17bf,ye;}var ve,Ze;function he(){const _0x281ea9=_0x4f9298;if(Ze)return ve;Ze=0x1;const _0x17e53a=_0x18fe1e,_0x3cbbc1=ce(),_0x46b725=qt(),{kStatusCode:_0x3fbc38}=V(),_0x27ce99=Buffer[Symbol[_0x281ea9(0x1ea)]],_0x466d6d=Buffer['from']([0x0,0x0,0xff,0xff]),_0x244611=Symbol(_0x281ea9(0x273)),_0x41cb36=Symbol(_0x281ea9(0x1b4)),_0x9d11a1=Symbol(_0x281ea9(0x2c0)),_0x386e32=Symbol(_0x281ea9(0x1eb)),_0x107642=Symbol(_0x281ea9(0x1d2));let _0x29e573;class _0x4abd04{constructor(_0x1bf6d5,_0x338327,_0x438708){const _0x569050=_0x281ea9;if(this['_maxPayload']=_0x438708|0x0,this[_0x569050(0x2b7)]=_0x1bf6d5||{},this['_threshold']=this['_options'][_0x569050(0x33a)]!==void 0x0?this[_0x569050(0x2b7)][_0x569050(0x33a)]:0x400,this[_0x569050(0x28e)]=!!_0x338327,this[_0x569050(0x1ef)]=null,this[_0x569050(0x19a)]=null,this[_0x569050(0x248)]=null,!_0x29e573){const _0x215938=this[_0x569050(0x2b7)][_0x569050(0x1f4)]!==void 0x0?this[_0x569050(0x2b7)][_0x569050(0x1f4)]:0xa;_0x29e573=new _0x46b725(_0x215938);}}static get[_0x281ea9(0x237)](){return'permessage-deflate';}[_0x281ea9(0x1a1)](){const _0x260519=_0x281ea9,_0x20016c={};return this['_options']['serverNoContextTakeover']&&(_0x20016c[_0x260519(0x25a)]=!0x0),this[_0x260519(0x2b7)][_0x260519(0x2d6)]&&(_0x20016c[_0x260519(0x290)]=!0x0),this[_0x260519(0x2b7)][_0x260519(0x24a)]&&(_0x20016c[_0x260519(0x23c)]=this['_options'][_0x260519(0x24a)]),this[_0x260519(0x2b7)]['clientMaxWindowBits']?_0x20016c[_0x260519(0x32f)]=this['_options'][_0x260519(0x231)]:this[_0x260519(0x2b7)][_0x260519(0x231)]==null&&(_0x20016c[_0x260519(0x32f)]=!0x0),_0x20016c;}[_0x281ea9(0x300)](_0x18c395){const _0x52df1c=_0x281ea9;return _0x18c395=this[_0x52df1c(0x2ed)](_0x18c395),this[_0x52df1c(0x248)]=this['_isServer']?this['acceptAsServer'](_0x18c395):this[_0x52df1c(0x2e5)](_0x18c395),this[_0x52df1c(0x248)];}['cleanup'](){const _0x3fefc6=_0x281ea9;if(this[_0x3fefc6(0x19a)]&&(this[_0x3fefc6(0x19a)][_0x3fefc6(0x32e)](),this[_0x3fefc6(0x19a)]=null),this[_0x3fefc6(0x1ef)]){const _0x2b894e=this[_0x3fefc6(0x1ef)][_0x9d11a1];this[_0x3fefc6(0x1ef)][_0x3fefc6(0x32e)](),this[_0x3fefc6(0x1ef)]=null,_0x2b894e&&_0x2b894e(new Error(_0x3fefc6(0x262)));}}['acceptAsServer'](_0x577f4e){const _0x35530a=_0x281ea9,_0x50cf98=this[_0x35530a(0x2b7)],_0x19d879=_0x577f4e[_0x35530a(0x1e8)](_0x378ef3=>!(_0x50cf98[_0x35530a(0x253)]===!0x1&&_0x378ef3['server_no_context_takeover']||_0x378ef3[_0x35530a(0x23c)]&&(_0x50cf98[_0x35530a(0x24a)]===!0x1||typeof _0x50cf98['serverMaxWindowBits']=='number'&&_0x50cf98[_0x35530a(0x24a)]>_0x378ef3[_0x35530a(0x23c)])||typeof _0x50cf98[_0x35530a(0x231)]==_0x35530a(0x250)&&!_0x378ef3[_0x35530a(0x32f)]));if(!_0x19d879)throw new Error(_0x35530a(0x325));return _0x50cf98[_0x35530a(0x253)]&&(_0x19d879[_0x35530a(0x25a)]=!0x0),_0x50cf98[_0x35530a(0x2d6)]&&(_0x19d879['client_no_context_takeover']=!0x0),typeof _0x50cf98['serverMaxWindowBits']==_0x35530a(0x250)&&(_0x19d879[_0x35530a(0x23c)]=_0x50cf98[_0x35530a(0x24a)]),typeof _0x50cf98['clientMaxWindowBits']==_0x35530a(0x250)?_0x19d879[_0x35530a(0x32f)]=_0x50cf98[_0x35530a(0x231)]:(_0x19d879[_0x35530a(0x32f)]===!0x0||_0x50cf98[_0x35530a(0x231)]===!0x1)&&delete _0x19d879[_0x35530a(0x32f)],_0x19d879;}[_0x281ea9(0x2e5)](_0x3273f2){const _0xd6a1b3=_0x281ea9,_0x2f702a=_0x3273f2[0x0];if(this[_0xd6a1b3(0x2b7)][_0xd6a1b3(0x2d6)]===!0x1&&_0x2f702a['client_no_context_takeover'])throw new Error(_0xd6a1b3(0x229));if(!_0x2f702a[_0xd6a1b3(0x32f)])typeof this[_0xd6a1b3(0x2b7)]['clientMaxWindowBits']==_0xd6a1b3(0x250)&&(_0x2f702a[_0xd6a1b3(0x32f)]=this[_0xd6a1b3(0x2b7)]['clientMaxWindowBits']);else{if(this[_0xd6a1b3(0x2b7)][_0xd6a1b3(0x231)]===!0x1||typeof this['_options'][_0xd6a1b3(0x231)]=='number'&&_0x2f702a[_0xd6a1b3(0x32f)]>this['_options'][_0xd6a1b3(0x231)])throw new Error(_0xd6a1b3(0x321));}return _0x2f702a;}['normalizeParams'](_0x1919c3){const _0x3f8f39=_0x281ea9;return _0x1919c3[_0x3f8f39(0x1a6)](_0x48a74f=>{const _0x56664a=_0x3f8f39;Object[_0x56664a(0x2fa)](_0x48a74f)[_0x56664a(0x1a6)](_0x26986e=>{const _0x694b16=_0x56664a;let _0x5f44e2=_0x48a74f[_0x26986e];if(_0x5f44e2[_0x694b16(0x2a6)]>0x1)throw new Error(_0x694b16(0x308)+_0x26986e+_0x694b16(0x244));if(_0x5f44e2=_0x5f44e2[0x0],_0x26986e===_0x694b16(0x32f)){if(_0x5f44e2!==!0x0){const _0x179262=+_0x5f44e2;if(!Number[_0x694b16(0x20e)](_0x179262)||_0x179262<0x8||_0x179262>0xf)throw new TypeError(_0x694b16(0x23e)+_0x26986e+_0x694b16(0x32a)+_0x5f44e2);_0x5f44e2=_0x179262;}else{if(!this[_0x694b16(0x28e)])throw new TypeError(_0x694b16(0x23e)+_0x26986e+_0x694b16(0x32a)+_0x5f44e2);}}else{if(_0x26986e===_0x694b16(0x23c)){const _0xa553c8=+_0x5f44e2;if(!Number[_0x694b16(0x20e)](_0xa553c8)||_0xa553c8<0x8||_0xa553c8>0xf)throw new TypeError(_0x694b16(0x23e)+_0x26986e+_0x694b16(0x32a)+_0x5f44e2);_0x5f44e2=_0xa553c8;}else{if(_0x26986e===_0x694b16(0x290)||_0x26986e==='server_no_context_takeover'){if(_0x5f44e2!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x26986e+'\x22:\x20'+_0x5f44e2);}else throw new Error(_0x694b16(0x1ae)+_0x26986e+'\x22');}}_0x48a74f[_0x26986e]=_0x5f44e2;});}),_0x1919c3;}['decompress'](_0x32528c,_0x474676,_0x4e9354){const _0x23707c=_0x281ea9;_0x29e573[_0x23707c(0x2ec)](_0x17e7fb=>{const _0x12857d=_0x23707c;this[_0x12857d(0x2f2)](_0x32528c,_0x474676,(_0xdea703,_0x216658)=>{_0x17e7fb(),_0x4e9354(_0xdea703,_0x216658);});});}[_0x281ea9(0x2c7)](_0x4a69c4,_0x4cd4be,_0x18840a){const _0x18d183=_0x281ea9;_0x29e573[_0x18d183(0x2ec)](_0x25aea5=>{const _0x235a0c=_0x18d183;this[_0x235a0c(0x233)](_0x4a69c4,_0x4cd4be,(_0x445ca4,_0x419291)=>{_0x25aea5(),_0x18840a(_0x445ca4,_0x419291);});});}[_0x281ea9(0x2f2)](_0x203198,_0x496e34,_0x5d4144){const _0x4680c2=_0x281ea9,_0x4cef7c=this['_isServer']?'client':_0x4680c2(0x1cb);if(!this[_0x4680c2(0x19a)]){const _0x46a1ca=_0x4cef7c+_0x4680c2(0x246),_0x14cfd0=typeof this['params'][_0x46a1ca]!=_0x4680c2(0x250)?_0x17e53a[_0x4680c2(0x1f9)]:this[_0x4680c2(0x248)][_0x46a1ca];this[_0x4680c2(0x19a)]=_0x17e53a['createInflateRaw']({...this['_options']['zlibInflateOptions'],'windowBits':_0x14cfd0}),this[_0x4680c2(0x19a)][_0x244611]=this,this['_inflate'][_0x41cb36]=0x0,this[_0x4680c2(0x19a)][_0x386e32]=[],this[_0x4680c2(0x19a)]['on'](_0x4680c2(0x1d2),_0x53f6ef),this['_inflate']['on'](_0x4680c2(0x2cd),_0x2597be);}this[_0x4680c2(0x19a)][_0x9d11a1]=_0x5d4144,this[_0x4680c2(0x19a)][_0x4680c2(0x2a9)](_0x203198),_0x496e34&&this['_inflate'][_0x4680c2(0x2a9)](_0x466d6d),this[_0x4680c2(0x19a)][_0x4680c2(0x1af)](()=>{const _0x59ea5d=_0x4680c2,_0x3327e7=this[_0x59ea5d(0x19a)][_0x107642];if(_0x3327e7){this[_0x59ea5d(0x19a)][_0x59ea5d(0x32e)](),this[_0x59ea5d(0x19a)]=null,_0x5d4144(_0x3327e7);return;}const _0x53516b=_0x3cbbc1['concat'](this[_0x59ea5d(0x19a)][_0x386e32],this['_inflate'][_0x41cb36]);this[_0x59ea5d(0x19a)][_0x59ea5d(0x2d0)][_0x59ea5d(0x210)]?(this[_0x59ea5d(0x19a)][_0x59ea5d(0x32e)](),this[_0x59ea5d(0x19a)]=null):(this['_inflate'][_0x41cb36]=0x0,this[_0x59ea5d(0x19a)][_0x386e32]=[],_0x496e34&&this[_0x59ea5d(0x248)][_0x4cef7c+'_no_context_takeover']&&this[_0x59ea5d(0x19a)][_0x59ea5d(0x226)]()),_0x5d4144(null,_0x53516b);});}['_compress'](_0x5c05c6,_0x304f82,_0x565e31){const _0x1ca078=_0x281ea9,_0xe5fb95=this[_0x1ca078(0x28e)]?_0x1ca078(0x1cb):_0x1ca078(0x31e);if(!this[_0x1ca078(0x1ef)]){const _0x24c81e=_0xe5fb95+_0x1ca078(0x246),_0x392f33=typeof this[_0x1ca078(0x248)][_0x24c81e]!=_0x1ca078(0x250)?_0x17e53a[_0x1ca078(0x1f9)]:this[_0x1ca078(0x248)][_0x24c81e];this[_0x1ca078(0x1ef)]=_0x17e53a['createDeflateRaw']({...this['_options'][_0x1ca078(0x1d9)],'windowBits':_0x392f33}),this[_0x1ca078(0x1ef)][_0x41cb36]=0x0,this[_0x1ca078(0x1ef)][_0x386e32]=[],this[_0x1ca078(0x1ef)]['on'](_0x1ca078(0x2cd),_0x47445e);}this[_0x1ca078(0x1ef)][_0x9d11a1]=_0x565e31,this['_deflate'][_0x1ca078(0x2a9)](_0x5c05c6),this['_deflate'][_0x1ca078(0x1af)](_0x17e53a['Z_SYNC_FLUSH'],()=>{const _0x22a732=_0x1ca078;if(!this['_deflate'])return;let _0x4e32d2=_0x3cbbc1[_0x22a732(0x202)](this['_deflate'][_0x386e32],this[_0x22a732(0x1ef)][_0x41cb36]);_0x304f82&&(_0x4e32d2=new _0x27ce99(_0x4e32d2[_0x22a732(0x1e6)],_0x4e32d2[_0x22a732(0x336)],_0x4e32d2[_0x22a732(0x2a6)]-0x4)),this[_0x22a732(0x1ef)][_0x9d11a1]=null,this[_0x22a732(0x1ef)][_0x41cb36]=0x0,this[_0x22a732(0x1ef)][_0x386e32]=[],_0x304f82&&this[_0x22a732(0x248)][_0xe5fb95+_0x22a732(0x326)]&&this[_0x22a732(0x1ef)]['reset'](),_0x565e31(null,_0x4e32d2);});}}ve=_0x4abd04;function _0x47445e(_0x210fde){const _0x51dcf7=_0x281ea9;this[_0x386e32][_0x51dcf7(0x266)](_0x210fde),this[_0x41cb36]+=_0x210fde[_0x51dcf7(0x2a6)];}function _0x2597be(_0x1edec5){const _0x5e0dd6=_0x281ea9;if(this[_0x41cb36]+=_0x1edec5[_0x5e0dd6(0x2a6)],this[_0x244611]['_maxPayload']<0x1||this[_0x41cb36]<=this[_0x244611][_0x5e0dd6(0x2e7)]){this[_0x386e32]['push'](_0x1edec5);return;}this[_0x107642]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x107642]['code']=_0x5e0dd6(0x259),this[_0x107642][_0x3fbc38]=0x3f1,this[_0x5e0dd6(0x327)](_0x5e0dd6(0x2cd),_0x2597be),this[_0x5e0dd6(0x226)]();}function _0x53f6ef(_0x95c80b){const _0x1581eb=_0x281ea9;if(this[_0x244611][_0x1581eb(0x19a)]=null,this[_0x107642]){this[_0x9d11a1](this[_0x107642]);return;}_0x95c80b[_0x3fbc38]=0x3ef,this[_0x9d11a1](_0x95c80b);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x4f9298(0x2a3)](Object[_0x4f9298(0x22f)]({'__proto__':null,'default':Ht},Symbol[_0x4f9298(0x2ac)],{'value':_0x4f9298(0x1c1)})),Yt=ut(zt);var Qe;function ne(){const _0x421666=_0x4f9298;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0xc2b5b}=_0x518b34,{hasBlob:_0x4b1df8}=V(),_0xebc762=[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 _0x1922ed(_0xc77f37){return _0xc77f37>=0x3e8&&_0xc77f37<=0x3f6&&_0xc77f37!==0x3ec&&_0xc77f37!==0x3ed&&_0xc77f37!==0x3ee||_0xc77f37>=0xbb8&&_0xc77f37<=0x1387;}function _0x123c6c(_0x244216){const _0x3243e5=_0x3288,_0x5208d1=_0x244216[_0x3243e5(0x2a6)];let _0x1d0447=0x0;for(;_0x1d0447<_0x5208d1;)if((_0x244216[_0x1d0447]&0x80)===0x0)_0x1d0447++;else{if((_0x244216[_0x1d0447]&0xe0)===0xc0){if(_0x1d0447+0x1===_0x5208d1||(_0x244216[_0x1d0447+0x1]&0xc0)!==0x80||(_0x244216[_0x1d0447]&0xfe)===0xc0)return!0x1;_0x1d0447+=0x2;}else{if((_0x244216[_0x1d0447]&0xf0)===0xe0){if(_0x1d0447+0x2>=_0x5208d1||(_0x244216[_0x1d0447+0x1]&0xc0)!==0x80||(_0x244216[_0x1d0447+0x2]&0xc0)!==0x80||_0x244216[_0x1d0447]===0xe0&&(_0x244216[_0x1d0447+0x1]&0xe0)===0x80||_0x244216[_0x1d0447]===0xed&&(_0x244216[_0x1d0447+0x1]&0xe0)===0xa0)return!0x1;_0x1d0447+=0x3;}else{if((_0x244216[_0x1d0447]&0xf8)===0xf0){if(_0x1d0447+0x3>=_0x5208d1||(_0x244216[_0x1d0447+0x1]&0xc0)!==0x80||(_0x244216[_0x1d0447+0x2]&0xc0)!==0x80||(_0x244216[_0x1d0447+0x3]&0xc0)!==0x80||_0x244216[_0x1d0447]===0xf0&&(_0x244216[_0x1d0447+0x1]&0xf0)===0x80||_0x244216[_0x1d0447]===0xf4&&_0x244216[_0x1d0447+0x1]>0x8f||_0x244216[_0x1d0447]>0xf4)return!0x1;_0x1d0447+=0x4;}else return!0x1;}}}return!0x0;}function _0x4781f9(_0x38f613){const _0x20f2f5=_0x3288;return _0x4b1df8&&typeof _0x38f613==_0x20f2f5(0x30d)&&typeof _0x38f613[_0x20f2f5(0x1e2)]==_0x20f2f5(0x288)&&typeof _0x38f613[_0x20f2f5(0x25b)]==_0x20f2f5(0x31b)&&typeof _0x38f613[_0x20f2f5(0x1a4)]=='function'&&(_0x38f613[Symbol['toStringTag']]===_0x20f2f5(0x1f1)||_0x38f613[Symbol[_0x20f2f5(0x2ac)]]==='File');}if(re[_0x421666(0x22c)]={'isBlob':_0x4781f9,'isValidStatusCode':_0x1922ed,'isValidUTF8':_0x123c6c,'tokenChars':_0xebc762},_0xc2b5b)re[_0x421666(0x22c)][_0x421666(0x1ed)]=function(_0x44d4cc){return _0x44d4cc['length']<0x18?_0x123c6c(_0x44d4cc):_0xc2b5b(_0x44d4cc);};else{if(!process[_0x421666(0x1ad)][_0x421666(0x32d)])try{const _0x37fbf4=Yt;re['exports'][_0x421666(0x1ed)]=function(_0x52afeb){const _0x2f68fc=_0x421666;return _0x52afeb[_0x2f68fc(0x2a6)]<0x20?_0x123c6c(_0x52afeb):_0x37fbf4(_0x52afeb);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x3ce12e=_0x4f9298;if(Je)return Se;Je=0x1;const {Writable:_0x5d97bf}=_0x4a4f82,_0x1348ad=he(),{BINARY_TYPES:_0xb7627f,EMPTY_BUFFER:_0x3ae7df,kStatusCode:_0x409c77,kWebSocket:_0x4db281}=V(),{concat:_0x34fd97,toArrayBuffer:_0x3c0e20,unmask:_0xed6d9}=ce(),{isValidStatusCode:_0x2de8b0,isValidUTF8:_0x1431c2}=ne(),_0x4cb0c6=Buffer[Symbol['species']],_0x1dca92=0x0,_0x3caec9=0x1,_0x554efa=0x2,_0x3fc7af=0x3,_0x470445=0x4,_0x261070=0x5,_0x5795a6=0x6;class _0x54eb73 extends _0x5d97bf{constructor(_0x422305={}){const _0x4eb22a=_0x3288;super(),this['_allowSynchronousEvents']=_0x422305[_0x4eb22a(0x268)]!==void 0x0?_0x422305[_0x4eb22a(0x268)]:!0x0,this['_binaryType']=_0x422305[_0x4eb22a(0x28c)]||_0xb7627f[0x0],this[_0x4eb22a(0x215)]=_0x422305[_0x4eb22a(0x33e)]||{},this['_isServer']=!!_0x422305[_0x4eb22a(0x29e)],this[_0x4eb22a(0x2e7)]=_0x422305[_0x4eb22a(0x240)]|0x0,this[_0x4eb22a(0x1b2)]=!!_0x422305[_0x4eb22a(0x249)],this[_0x4db281]=void 0x0,this[_0x4eb22a(0x1e7)]=0x0,this['_buffers']=[],this[_0x4eb22a(0x2cf)]=!0x1,this[_0x4eb22a(0x263)]=0x0,this[_0x4eb22a(0x2b8)]=void 0x0,this[_0x4eb22a(0x2dd)]=0x0,this[_0x4eb22a(0x27b)]=!0x1,this[_0x4eb22a(0x1d4)]=!0x1,this['_opcode']=0x0,this['_totalPayloadLength']=0x0,this[_0x4eb22a(0x2aa)]=0x0,this['_fragments']=[],this[_0x4eb22a(0x196)]=!0x1,this[_0x4eb22a(0x238)]=!0x1,this[_0x4eb22a(0x2e1)]=_0x1dca92;}[_0x3ce12e(0x25f)](_0x29c269,_0x4b7eaf,_0x2fa0ab){const _0x134beb=_0x3ce12e;if(this[_0x134beb(0x2e8)]===0x8&&this[_0x134beb(0x2e1)]==_0x1dca92)return _0x2fa0ab();this['_bufferedBytes']+=_0x29c269[_0x134beb(0x2a6)],this[_0x134beb(0x2d4)][_0x134beb(0x266)](_0x29c269),this[_0x134beb(0x245)](_0x2fa0ab);}['consume'](_0x6d1042){const _0x4f52be=_0x3ce12e;if(this[_0x4f52be(0x1e7)]-=_0x6d1042,_0x6d1042===this['_buffers'][0x0][_0x4f52be(0x2a6)])return this[_0x4f52be(0x2d4)][_0x4f52be(0x243)]();if(_0x6d1042<this[_0x4f52be(0x2d4)][0x0]['length']){const _0x1d9a07=this[_0x4f52be(0x2d4)][0x0];return this[_0x4f52be(0x2d4)][0x0]=new _0x4cb0c6(_0x1d9a07[_0x4f52be(0x1e6)],_0x1d9a07[_0x4f52be(0x336)]+_0x6d1042,_0x1d9a07['length']-_0x6d1042),new _0x4cb0c6(_0x1d9a07[_0x4f52be(0x1e6)],_0x1d9a07[_0x4f52be(0x336)],_0x6d1042);}const _0x17c879=Buffer[_0x4f52be(0x2a5)](_0x6d1042);do{const _0x13e5e6=this[_0x4f52be(0x2d4)][0x0],_0x3458c7=_0x17c879[_0x4f52be(0x2a6)]-_0x6d1042;_0x6d1042>=_0x13e5e6[_0x4f52be(0x2a6)]?_0x17c879[_0x4f52be(0x2ad)](this[_0x4f52be(0x2d4)][_0x4f52be(0x243)](),_0x3458c7):(_0x17c879['set'](new Uint8Array(_0x13e5e6[_0x4f52be(0x1e6)],_0x13e5e6[_0x4f52be(0x336)],_0x6d1042),_0x3458c7),this[_0x4f52be(0x2d4)][0x0]=new _0x4cb0c6(_0x13e5e6[_0x4f52be(0x1e6)],_0x13e5e6['byteOffset']+_0x6d1042,_0x13e5e6[_0x4f52be(0x2a6)]-_0x6d1042)),_0x6d1042-=_0x13e5e6[_0x4f52be(0x2a6)];}while(_0x6d1042>0x0);return _0x17c879;}[_0x3ce12e(0x245)](_0x41fb73){const _0x7176e2=_0x3ce12e;this['_loop']=!0x0;do switch(this[_0x7176e2(0x2e1)]){case _0x1dca92:this[_0x7176e2(0x239)](_0x41fb73);break;case _0x3caec9:this['getPayloadLength16'](_0x41fb73);break;case _0x554efa:this[_0x7176e2(0x335)](_0x41fb73);break;case _0x3fc7af:this['getMask']();break;case _0x470445:this[_0x7176e2(0x1dc)](_0x41fb73);break;case _0x261070:case _0x5795a6:this[_0x7176e2(0x238)]=!0x1;return;}while(this['_loop']);this[_0x7176e2(0x196)]||_0x41fb73();}['getInfo'](_0x47611){const _0x37e294=_0x3ce12e;if(this[_0x37e294(0x1e7)]<0x2){this[_0x37e294(0x238)]=!0x1;return;}const _0x356c62=this[_0x37e294(0x312)](0x2);if((_0x356c62[0x0]&0x30)!==0x0){const _0x6fd650=this[_0x37e294(0x2fe)](RangeError,_0x37e294(0x267),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x47611(_0x6fd650);return;}const _0x130c43=(_0x356c62[0x0]&0x40)===0x40;if(_0x130c43&&!this[_0x37e294(0x215)][_0x1348ad[_0x37e294(0x237)]]){const _0xc75316=this[_0x37e294(0x2fe)](RangeError,_0x37e294(0x2c6),!0x0,0x3ea,_0x37e294(0x261));_0x47611(_0xc75316);return;}if(this['_fin']=(_0x356c62[0x0]&0x80)===0x80,this['_opcode']=_0x356c62[0x0]&0xf,this[_0x37e294(0x263)]=_0x356c62[0x1]&0x7f,this['_opcode']===0x0){if(_0x130c43){const _0x3e3f9a=this[_0x37e294(0x2fe)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x37e294(0x261));_0x47611(_0x3e3f9a);return;}if(!this[_0x37e294(0x2dd)]){const _0xea7c45=this[_0x37e294(0x2fe)](RangeError,_0x37e294(0x2c9),!0x0,0x3ea,_0x37e294(0x28f));_0x47611(_0xea7c45);return;}this[_0x37e294(0x2e8)]=this[_0x37e294(0x2dd)];}else{if(this[_0x37e294(0x2e8)]===0x1||this['_opcode']===0x2){if(this[_0x37e294(0x2dd)]){const _0x34d583=this[_0x37e294(0x2fe)](RangeError,_0x37e294(0x207)+this[_0x37e294(0x2e8)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x47611(_0x34d583);return;}this['_compressed']=_0x130c43;}else{if(this[_0x37e294(0x2e8)]>0x7&&this[_0x37e294(0x2e8)]<0xb){if(!this[_0x37e294(0x1d4)]){const _0xaa49c3=this[_0x37e294(0x2fe)](RangeError,_0x37e294(0x1f6),!0x0,0x3ea,_0x37e294(0x30c));_0x47611(_0xaa49c3);return;}if(_0x130c43){const _0x58a139=this[_0x37e294(0x2fe)](RangeError,_0x37e294(0x2c6),!0x0,0x3ea,_0x37e294(0x261));_0x47611(_0x58a139);return;}if(this[_0x37e294(0x263)]>0x7d||this[_0x37e294(0x2e8)]===0x8&&this[_0x37e294(0x263)]===0x1){const _0x47ff2f=this[_0x37e294(0x2fe)](RangeError,_0x37e294(0x221)+this['_payloadLength'],!0x0,0x3ea,_0x37e294(0x296));_0x47611(_0x47ff2f);return;}}else{const _0x4b4b59=this['createError'](RangeError,_0x37e294(0x207)+this[_0x37e294(0x2e8)],!0x0,0x3ea,_0x37e294(0x28f));_0x47611(_0x4b4b59);return;}}}if(!this[_0x37e294(0x1d4)]&&!this['_fragmented']&&(this[_0x37e294(0x2dd)]=this['_opcode']),this[_0x37e294(0x27b)]=(_0x356c62[0x1]&0x80)===0x80,this[_0x37e294(0x28e)]){if(!this[_0x37e294(0x27b)]){const _0x50e082=this[_0x37e294(0x2fe)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x37e294(0x2d1));_0x47611(_0x50e082);return;}}else{if(this[_0x37e294(0x27b)]){const _0x35c02e=this[_0x37e294(0x2fe)](RangeError,_0x37e294(0x24b),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x47611(_0x35c02e);return;}}this['_payloadLength']===0x7e?this[_0x37e294(0x2e1)]=_0x3caec9:this[_0x37e294(0x263)]===0x7f?this['_state']=_0x554efa:this[_0x37e294(0x19c)](_0x47611);}[_0x3ce12e(0x307)](_0x3a41c9){const _0x5033bb=_0x3ce12e;if(this[_0x5033bb(0x1e7)]<0x2){this[_0x5033bb(0x238)]=!0x1;return;}this[_0x5033bb(0x263)]=this[_0x5033bb(0x312)](0x2)[_0x5033bb(0x2fb)](0x0),this[_0x5033bb(0x19c)](_0x3a41c9);}[_0x3ce12e(0x335)](_0x866d41){const _0x36de19=_0x3ce12e;if(this[_0x36de19(0x1e7)]<0x8){this['_loop']=!0x1;return;}const _0x535ebf=this['consume'](0x8),_0x37ec55=_0x535ebf['readUInt32BE'](0x0);if(_0x37ec55>Math['pow'](0x2,0x15)-0x1){const _0xf7037c=this[_0x36de19(0x2fe)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x36de19(0x2d2));_0x866d41(_0xf7037c);return;}this[_0x36de19(0x263)]=_0x37ec55*Math[_0x36de19(0x230)](0x2,0x20)+_0x535ebf[_0x36de19(0x1cc)](0x4),this[_0x36de19(0x19c)](_0x866d41);}[_0x3ce12e(0x19c)](_0x322906){const _0x58a7b6=_0x3ce12e;if(this[_0x58a7b6(0x263)]&&this[_0x58a7b6(0x2e8)]<0x8&&(this['_totalPayloadLength']+=this[_0x58a7b6(0x263)],this[_0x58a7b6(0x28b)]>this['_maxPayload']&&this['_maxPayload']>0x0)){const _0x39e5ab=this[_0x58a7b6(0x2fe)](RangeError,_0x58a7b6(0x2f1),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x322906(_0x39e5ab);return;}this['_masked']?this[_0x58a7b6(0x2e1)]=_0x3fc7af:this[_0x58a7b6(0x2e1)]=_0x470445;}[_0x3ce12e(0x20b)](){const _0x36c9d3=_0x3ce12e;if(this[_0x36c9d3(0x1e7)]<0x4){this[_0x36c9d3(0x238)]=!0x1;return;}this['_mask']=this[_0x36c9d3(0x312)](0x4),this['_state']=_0x470445;}[_0x3ce12e(0x1dc)](_0x290fed){const _0x361eb2=_0x3ce12e;let _0x13952e=_0x3ae7df;if(this[_0x361eb2(0x263)]){if(this[_0x361eb2(0x1e7)]<this[_0x361eb2(0x263)]){this['_loop']=!0x1;return;}_0x13952e=this[_0x361eb2(0x312)](this[_0x361eb2(0x263)]),this[_0x361eb2(0x27b)]&&(this[_0x361eb2(0x2b8)][0x0]|this[_0x361eb2(0x2b8)][0x1]|this[_0x361eb2(0x2b8)][0x2]|this[_0x361eb2(0x2b8)][0x3])!==0x0&&_0xed6d9(_0x13952e,this[_0x361eb2(0x2b8)]);}if(this[_0x361eb2(0x2e8)]>0x7){this['controlMessage'](_0x13952e,_0x290fed);return;}if(this[_0x361eb2(0x2cf)]){this[_0x361eb2(0x2e1)]=_0x261070,this[_0x361eb2(0x1b3)](_0x13952e,_0x290fed);return;}_0x13952e['length']&&(this[_0x361eb2(0x2aa)]=this[_0x361eb2(0x28b)],this[_0x361eb2(0x2ab)][_0x361eb2(0x266)](_0x13952e)),this[_0x361eb2(0x1ce)](_0x290fed);}['decompress'](_0x3a9c86,_0x3140f9){const _0x47b3e3=_0x3ce12e;this[_0x47b3e3(0x215)][_0x1348ad[_0x47b3e3(0x237)]][_0x47b3e3(0x1b3)](_0x3a9c86,this[_0x47b3e3(0x1d4)],(_0x221091,_0x3e6917)=>{const _0x4fb4af=_0x47b3e3;if(_0x221091)return _0x3140f9(_0x221091);if(_0x3e6917[_0x4fb4af(0x2a6)]){if(this[_0x4fb4af(0x2aa)]+=_0x3e6917[_0x4fb4af(0x2a6)],this['_messageLength']>this[_0x4fb4af(0x2e7)]&&this[_0x4fb4af(0x2e7)]>0x0){const _0x36da38=this[_0x4fb4af(0x2fe)](RangeError,_0x4fb4af(0x2f1),!0x1,0x3f1,_0x4fb4af(0x259));_0x3140f9(_0x36da38);return;}this[_0x4fb4af(0x2ab)][_0x4fb4af(0x266)](_0x3e6917);}this[_0x4fb4af(0x1ce)](_0x3140f9),this[_0x4fb4af(0x2e1)]===_0x1dca92&&this[_0x4fb4af(0x245)](_0x3140f9);});}[_0x3ce12e(0x1ce)](_0x4a6f59){const _0x5e2bbc=_0x3ce12e;if(!this[_0x5e2bbc(0x1d4)]){this[_0x5e2bbc(0x2e1)]=_0x1dca92;return;}const _0x2f5909=this['_messageLength'],_0x5c0ad9=this[_0x5e2bbc(0x2ab)];if(this[_0x5e2bbc(0x28b)]=0x0,this[_0x5e2bbc(0x2aa)]=0x0,this[_0x5e2bbc(0x2dd)]=0x0,this[_0x5e2bbc(0x2ab)]=[],this[_0x5e2bbc(0x2e8)]===0x2){let _0x393d58;this[_0x5e2bbc(0x1c4)]===_0x5e2bbc(0x2c8)?_0x393d58=_0x34fd97(_0x5c0ad9,_0x2f5909):this[_0x5e2bbc(0x1c4)]===_0x5e2bbc(0x309)?_0x393d58=_0x3c0e20(_0x34fd97(_0x5c0ad9,_0x2f5909)):this['_binaryType']===_0x5e2bbc(0x31d)?_0x393d58=new Blob(_0x5c0ad9):_0x393d58=_0x5c0ad9,this[_0x5e2bbc(0x1a2)]?(this[_0x5e2bbc(0x200)](_0x5e2bbc(0x1f8),_0x393d58,!0x0),this['_state']=_0x1dca92):(this[_0x5e2bbc(0x2e1)]=_0x5795a6,setImmediate(()=>{const _0x342abf=_0x5e2bbc;this[_0x342abf(0x200)](_0x342abf(0x1f8),_0x393d58,!0x0),this[_0x342abf(0x2e1)]=_0x1dca92,this[_0x342abf(0x245)](_0x4a6f59);}));}else{const _0x4154df=_0x34fd97(_0x5c0ad9,_0x2f5909);if(!this['_skipUTF8Validation']&&!_0x1431c2(_0x4154df)){const _0x400861=this[_0x5e2bbc(0x2fe)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x5e2bbc(0x2a8));_0x4a6f59(_0x400861);return;}this[_0x5e2bbc(0x2e1)]===_0x261070||this[_0x5e2bbc(0x1a2)]?(this[_0x5e2bbc(0x200)](_0x5e2bbc(0x1f8),_0x4154df,!0x1),this[_0x5e2bbc(0x2e1)]=_0x1dca92):(this['_state']=_0x5795a6,setImmediate(()=>{const _0x3a4779=_0x5e2bbc;this[_0x3a4779(0x200)](_0x3a4779(0x1f8),_0x4154df,!0x1),this[_0x3a4779(0x2e1)]=_0x1dca92,this['startLoop'](_0x4a6f59);}));}}[_0x3ce12e(0x2c1)](_0x209e3c,_0x59cd7){const _0x4c811d=_0x3ce12e;if(this[_0x4c811d(0x2e8)]===0x8){if(_0x209e3c[_0x4c811d(0x2a6)]===0x0)this[_0x4c811d(0x238)]=!0x1,this['emit']('conclude',0x3ed,_0x3ae7df),this['end']();else{const _0xa53632=_0x209e3c[_0x4c811d(0x2fb)](0x0);if(!_0x2de8b0(_0xa53632)){const _0x1aef27=this[_0x4c811d(0x2fe)](RangeError,'invalid\x20status\x20code\x20'+_0xa53632,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x59cd7(_0x1aef27);return;}const _0x40b949=new _0x4cb0c6(_0x209e3c[_0x4c811d(0x1e6)],_0x209e3c[_0x4c811d(0x336)]+0x2,_0x209e3c[_0x4c811d(0x2a6)]-0x2);if(!this[_0x4c811d(0x1b2)]&&!_0x1431c2(_0x40b949)){const _0x2f774f=this[_0x4c811d(0x2fe)](Error,_0x4c811d(0x20d),!0x0,0x3ef,_0x4c811d(0x2a8));_0x59cd7(_0x2f774f);return;}this['_loop']=!0x1,this['emit']('conclude',_0xa53632,_0x40b949),this['end']();}this[_0x4c811d(0x2e1)]=_0x1dca92;return;}this[_0x4c811d(0x1a2)]?(this[_0x4c811d(0x200)](this[_0x4c811d(0x2e8)]===0x9?'ping':_0x4c811d(0x295),_0x209e3c),this[_0x4c811d(0x2e1)]=_0x1dca92):(this[_0x4c811d(0x2e1)]=_0x5795a6,setImmediate(()=>{const _0x398236=_0x4c811d;this[_0x398236(0x200)](this['_opcode']===0x9?_0x398236(0x2c4):_0x398236(0x295),_0x209e3c),this['_state']=_0x1dca92,this[_0x398236(0x245)](_0x59cd7);}));}[_0x3ce12e(0x2fe)](_0x2938e1,_0x25c20a,_0x3bb16b,_0x8bf8ea,_0x332fd1){const _0x4876c8=_0x3ce12e;this[_0x4876c8(0x238)]=!0x1,this[_0x4876c8(0x196)]=!0x0;const _0x18ab47=new _0x2938e1(_0x3bb16b?_0x4876c8(0x1b9)+_0x25c20a:_0x25c20a);return Error[_0x4876c8(0x2ee)](_0x18ab47,this[_0x4876c8(0x2fe)]),_0x18ab47['code']=_0x332fd1,_0x18ab47[_0x409c77]=_0x8bf8ea,_0x18ab47;}}return Se=_0x54eb73,Se;}var Ee,et;function _t(){const _0x45ff3e=_0x4f9298;if(et)return Ee;et=0x1;const {Duplex:_0xf64743}=_0x4a4f82,{randomFillSync:_0x6531e4}=_0x5ef917,_0x519c28=he(),{EMPTY_BUFFER:_0x5bab29,kWebSocket:_0x3441bb,NOOP:_0x11188b}=V(),{isBlob:_0x562f3b,isValidStatusCode:_0x55a642}=ne(),{mask:_0x467a16,toBuffer:_0x37c0da}=ce(),_0x50e220=Symbol(_0x45ff3e(0x281)),_0x1db0a4=Buffer[_0x45ff3e(0x1be)](0x4),_0xac6bc1=0x8*0x400;let _0x12134e,_0x2f7b6e=_0xac6bc1;const _0x504ef7=0x0,_0x4da3f8=0x1,_0x3dfd72=0x2;class _0x1c9fd9{constructor(_0x46c418,_0x3a48c1,_0x54b428){const _0x30a7fe=_0x45ff3e;this[_0x30a7fe(0x215)]=_0x3a48c1||{},_0x54b428&&(this[_0x30a7fe(0x31c)]=_0x54b428,this['_maskBuffer']=Buffer[_0x30a7fe(0x1be)](0x4)),this[_0x30a7fe(0x2b4)]=_0x46c418,this[_0x30a7fe(0x227)]=!0x0,this['_compress']=!0x1,this[_0x30a7fe(0x1e7)]=0x0,this['_queue']=[],this[_0x30a7fe(0x2e1)]=_0x504ef7,this[_0x30a7fe(0x256)]=_0x11188b,this[_0x3441bb]=void 0x0;}static[_0x45ff3e(0x1b6)](_0x417671,_0x426811){const _0x16b493=_0x45ff3e;let _0x447054,_0x57b665=!0x1,_0x3578db=0x2,_0xe4bd7b=!0x1;_0x426811[_0x16b493(0x23a)]&&(_0x447054=_0x426811[_0x16b493(0x33c)]||_0x1db0a4,_0x426811[_0x16b493(0x258)]?_0x426811[_0x16b493(0x258)](_0x447054):(_0x2f7b6e===_0xac6bc1&&(_0x12134e===void 0x0&&(_0x12134e=Buffer[_0x16b493(0x1be)](_0xac6bc1)),_0x6531e4(_0x12134e,0x0,_0xac6bc1),_0x2f7b6e=0x0),_0x447054[0x0]=_0x12134e[_0x2f7b6e++],_0x447054[0x1]=_0x12134e[_0x2f7b6e++],_0x447054[0x2]=_0x12134e[_0x2f7b6e++],_0x447054[0x3]=_0x12134e[_0x2f7b6e++]),_0xe4bd7b=(_0x447054[0x0]|_0x447054[0x1]|_0x447054[0x2]|_0x447054[0x3])===0x0,_0x3578db=0x6);let _0x116830;typeof _0x417671==_0x16b493(0x31b)?(!_0x426811[_0x16b493(0x23a)]||_0xe4bd7b)&&_0x426811[_0x50e220]!==void 0x0?_0x116830=_0x426811[_0x50e220]:(_0x417671=Buffer['from'](_0x417671),_0x116830=_0x417671[_0x16b493(0x2a6)]):(_0x116830=_0x417671[_0x16b493(0x2a6)],_0x57b665=_0x426811[_0x16b493(0x23a)]&&_0x426811['readOnly']&&!_0xe4bd7b);let _0x3751d7=_0x116830;_0x116830>=0x10000?(_0x3578db+=0x8,_0x3751d7=0x7f):_0x116830>0x7d&&(_0x3578db+=0x2,_0x3751d7=0x7e);const _0x516140=Buffer['allocUnsafe'](_0x57b665?_0x116830+_0x3578db:_0x3578db);return _0x516140[0x0]=_0x426811[_0x16b493(0x2f0)]?_0x426811[_0x16b493(0x252)]|0x80:_0x426811[_0x16b493(0x252)],_0x426811[_0x16b493(0x194)]&&(_0x516140[0x0]|=0x40),_0x516140[0x1]=_0x3751d7,_0x3751d7===0x7e?_0x516140['writeUInt16BE'](_0x116830,0x2):_0x3751d7===0x7f&&(_0x516140[0x2]=_0x516140[0x3]=0x0,_0x516140[_0x16b493(0x318)](_0x116830,0x4,0x6)),_0x426811['mask']?(_0x516140[0x1]|=0x80,_0x516140[_0x3578db-0x4]=_0x447054[0x0],_0x516140[_0x3578db-0x3]=_0x447054[0x1],_0x516140[_0x3578db-0x2]=_0x447054[0x2],_0x516140[_0x3578db-0x1]=_0x447054[0x3],_0xe4bd7b?[_0x516140,_0x417671]:_0x57b665?(_0x467a16(_0x417671,_0x447054,_0x516140,_0x3578db,_0x116830),[_0x516140]):(_0x467a16(_0x417671,_0x447054,_0x417671,0x0,_0x116830),[_0x516140,_0x417671])):[_0x516140,_0x417671];}['close'](_0x2a0577,_0x24ccd2,_0x310bf6,_0x554958){const _0x32498c=_0x45ff3e;let _0x195686;if(_0x2a0577===void 0x0)_0x195686=_0x5bab29;else{if(typeof _0x2a0577!=_0x32498c(0x250)||!_0x55a642(_0x2a0577))throw new TypeError(_0x32498c(0x2de));if(_0x24ccd2===void 0x0||!_0x24ccd2['length'])_0x195686=Buffer[_0x32498c(0x2a5)](0x2),_0x195686[_0x32498c(0x24c)](_0x2a0577,0x0);else{const _0x41dc74=Buffer['byteLength'](_0x24ccd2);if(_0x41dc74>0x7b)throw new RangeError(_0x32498c(0x286));_0x195686=Buffer['allocUnsafe'](0x2+_0x41dc74),_0x195686[_0x32498c(0x24c)](_0x2a0577,0x0),typeof _0x24ccd2==_0x32498c(0x31b)?_0x195686[_0x32498c(0x2a9)](_0x24ccd2,0x2):_0x195686[_0x32498c(0x2ad)](_0x24ccd2,0x2);}}const _0x22a6ed={[_0x50e220]:_0x195686[_0x32498c(0x2a6)],'fin':!0x0,'generateMask':this[_0x32498c(0x31c)],'mask':_0x310bf6,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x504ef7?this[_0x32498c(0x1b5)]([this['dispatch'],_0x195686,!0x1,_0x22a6ed,_0x554958]):this[_0x32498c(0x209)](_0x1c9fd9[_0x32498c(0x1b6)](_0x195686,_0x22a6ed),_0x554958);}[_0x45ff3e(0x2c4)](_0x43e30e,_0x2fc3db,_0x32013e){const _0x106413=_0x45ff3e;let _0x1dd6c1,_0x1b089b;if(typeof _0x43e30e==_0x106413(0x31b)?(_0x1dd6c1=Buffer[_0x106413(0x1a5)](_0x43e30e),_0x1b089b=!0x1):_0x562f3b(_0x43e30e)?(_0x1dd6c1=_0x43e30e[_0x106413(0x19b)],_0x1b089b=!0x1):(_0x43e30e=_0x37c0da(_0x43e30e),_0x1dd6c1=_0x43e30e['length'],_0x1b089b=_0x37c0da[_0x106413(0x193)]),_0x1dd6c1>0x7d)throw new RangeError(_0x106413(0x1f7));const _0x38d8c7={[_0x50e220]:_0x1dd6c1,'fin':!0x0,'generateMask':this[_0x106413(0x31c)],'mask':_0x2fc3db,'maskBuffer':this[_0x106413(0x23b)],'opcode':0x9,'readOnly':_0x1b089b,'rsv1':!0x1};_0x562f3b(_0x43e30e)?this[_0x106413(0x2e1)]!==_0x504ef7?this[_0x106413(0x1b5)]([this[_0x106413(0x315)],_0x43e30e,!0x1,_0x38d8c7,_0x32013e]):this['getBlobData'](_0x43e30e,!0x1,_0x38d8c7,_0x32013e):this[_0x106413(0x2e1)]!==_0x504ef7?this[_0x106413(0x1b5)]([this[_0x106413(0x310)],_0x43e30e,!0x1,_0x38d8c7,_0x32013e]):this['sendFrame'](_0x1c9fd9[_0x106413(0x1b6)](_0x43e30e,_0x38d8c7),_0x32013e);}[_0x45ff3e(0x295)](_0x2c4b1d,_0x370e18,_0x35c4b6){const _0x4bd576=_0x45ff3e;let _0x574ffb,_0x13b60e;if(typeof _0x2c4b1d=='string'?(_0x574ffb=Buffer['byteLength'](_0x2c4b1d),_0x13b60e=!0x1):_0x562f3b(_0x2c4b1d)?(_0x574ffb=_0x2c4b1d[_0x4bd576(0x19b)],_0x13b60e=!0x1):(_0x2c4b1d=_0x37c0da(_0x2c4b1d),_0x574ffb=_0x2c4b1d[_0x4bd576(0x2a6)],_0x13b60e=_0x37c0da[_0x4bd576(0x193)]),_0x574ffb>0x7d)throw new RangeError(_0x4bd576(0x1f7));const _0x5bc65e={[_0x50e220]:_0x574ffb,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x370e18,'maskBuffer':this[_0x4bd576(0x23b)],'opcode':0xa,'readOnly':_0x13b60e,'rsv1':!0x1};_0x562f3b(_0x2c4b1d)?this[_0x4bd576(0x2e1)]!==_0x504ef7?this[_0x4bd576(0x1b5)]([this[_0x4bd576(0x315)],_0x2c4b1d,!0x1,_0x5bc65e,_0x35c4b6]):this[_0x4bd576(0x315)](_0x2c4b1d,!0x1,_0x5bc65e,_0x35c4b6):this['_state']!==_0x504ef7?this[_0x4bd576(0x1b5)]([this['dispatch'],_0x2c4b1d,!0x1,_0x5bc65e,_0x35c4b6]):this[_0x4bd576(0x209)](_0x1c9fd9[_0x4bd576(0x1b6)](_0x2c4b1d,_0x5bc65e),_0x35c4b6);}[_0x45ff3e(0x208)](_0x28c27a,_0x46c28a,_0xbd3497){const _0x49768f=_0x45ff3e,_0x1d9c3b=this[_0x49768f(0x215)][_0x519c28[_0x49768f(0x237)]];let _0x2e156a=_0x46c28a['binary']?0x2:0x1,_0x2a0145=_0x46c28a[_0x49768f(0x2c7)],_0x3a41d2,_0x2e8281;typeof _0x28c27a=='string'?(_0x3a41d2=Buffer[_0x49768f(0x1a5)](_0x28c27a),_0x2e8281=!0x1):_0x562f3b(_0x28c27a)?(_0x3a41d2=_0x28c27a['size'],_0x2e8281=!0x1):(_0x28c27a=_0x37c0da(_0x28c27a),_0x3a41d2=_0x28c27a['length'],_0x2e8281=_0x37c0da['readOnly']),this[_0x49768f(0x227)]?(this[_0x49768f(0x227)]=!0x1,_0x2a0145&&_0x1d9c3b&&_0x1d9c3b['params'][_0x1d9c3b['_isServer']?_0x49768f(0x25a):_0x49768f(0x290)]&&(_0x2a0145=_0x3a41d2>=_0x1d9c3b['_threshold']),this[_0x49768f(0x233)]=_0x2a0145):(_0x2a0145=!0x1,_0x2e156a=0x0),_0x46c28a['fin']&&(this[_0x49768f(0x227)]=!0x0);const _0x522789={[_0x50e220]:_0x3a41d2,'fin':_0x46c28a['fin'],'generateMask':this[_0x49768f(0x31c)],'mask':_0x46c28a[_0x49768f(0x23a)],'maskBuffer':this[_0x49768f(0x23b)],'opcode':_0x2e156a,'readOnly':_0x2e8281,'rsv1':_0x2a0145};_0x562f3b(_0x28c27a)?this[_0x49768f(0x2e1)]!==_0x504ef7?this['enqueue']([this[_0x49768f(0x315)],_0x28c27a,this[_0x49768f(0x233)],_0x522789,_0xbd3497]):this['getBlobData'](_0x28c27a,this['_compress'],_0x522789,_0xbd3497):this['_state']!==_0x504ef7?this[_0x49768f(0x1b5)]([this[_0x49768f(0x310)],_0x28c27a,this['_compress'],_0x522789,_0xbd3497]):this[_0x49768f(0x310)](_0x28c27a,this[_0x49768f(0x233)],_0x522789,_0xbd3497);}[_0x45ff3e(0x315)](_0x37b8f8,_0xfb1ad4,_0x248128,_0xa0ef4e){const _0x414c6d=_0x45ff3e;this['_bufferedBytes']+=_0x248128[_0x50e220],this[_0x414c6d(0x2e1)]=_0x3dfd72,_0x37b8f8[_0x414c6d(0x1e2)]()['then'](_0x3c11cf=>{const _0x54e4b0=_0x414c6d;if(this['_socket']['destroyed']){const _0x56810f=new Error(_0x54e4b0(0x265));process[_0x54e4b0(0x2cb)](_0x4324d2,this,_0x56810f,_0xa0ef4e);return;}this['_bufferedBytes']-=_0x248128[_0x50e220];const _0x5ac6b6=_0x37c0da(_0x3c11cf);_0xfb1ad4?this[_0x54e4b0(0x310)](_0x5ac6b6,_0xfb1ad4,_0x248128,_0xa0ef4e):(this[_0x54e4b0(0x2e1)]=_0x504ef7,this[_0x54e4b0(0x209)](_0x1c9fd9[_0x54e4b0(0x1b6)](_0x5ac6b6,_0x248128),_0xa0ef4e),this['dequeue']());})['catch'](_0xe134ac=>{const _0xc974e1=_0x414c6d;process[_0xc974e1(0x2cb)](_0x2f8ef5,this,_0xe134ac,_0xa0ef4e);});}['dispatch'](_0x12352f,_0x5255f1,_0x4358f7,_0x1ceb5e){const _0xbea58f=_0x45ff3e;if(!_0x5255f1){this[_0xbea58f(0x209)](_0x1c9fd9[_0xbea58f(0x1b6)](_0x12352f,_0x4358f7),_0x1ceb5e);return;}const _0x26e12d=this[_0xbea58f(0x215)][_0x519c28[_0xbea58f(0x237)]];this[_0xbea58f(0x1e7)]+=_0x4358f7[_0x50e220],this[_0xbea58f(0x2e1)]=_0x4da3f8,_0x26e12d[_0xbea58f(0x2c7)](_0x12352f,_0x4358f7[_0xbea58f(0x2f0)],(_0x45c917,_0x1d5911)=>{const _0x26d3e0=_0xbea58f;if(this['_socket'][_0x26d3e0(0x317)]){const _0x27076e=new Error(_0x26d3e0(0x2c3));_0x4324d2(this,_0x27076e,_0x1ceb5e);return;}this[_0x26d3e0(0x1e7)]-=_0x4358f7[_0x50e220],this[_0x26d3e0(0x2e1)]=_0x504ef7,_0x4358f7['readOnly']=!0x1,this['sendFrame'](_0x1c9fd9[_0x26d3e0(0x1b6)](_0x1d5911,_0x4358f7),_0x1ceb5e),this['dequeue']();});}['dequeue'](){const _0x39d72e=_0x45ff3e;for(;this[_0x39d72e(0x2e1)]===_0x504ef7&&this[_0x39d72e(0x2da)][_0x39d72e(0x2a6)];){const _0x357445=this[_0x39d72e(0x2da)][_0x39d72e(0x243)]();this[_0x39d72e(0x1e7)]-=_0x357445[0x3][_0x50e220],Reflect['apply'](_0x357445[0x0],this,_0x357445[_0x39d72e(0x293)](0x1));}}[_0x45ff3e(0x1b5)](_0x596366){const _0x10e544=_0x45ff3e;this[_0x10e544(0x1e7)]+=_0x596366[0x3][_0x50e220],this['_queue']['push'](_0x596366);}[_0x45ff3e(0x209)](_0x2d29f0,_0xd35db9){const _0x2a6d63=_0x45ff3e;_0x2d29f0['length']===0x2?(this['_socket']['cork'](),this[_0x2a6d63(0x2b4)][_0x2a6d63(0x2a9)](_0x2d29f0[0x0]),this['_socket']['write'](_0x2d29f0[0x1],_0xd35db9),this['_socket'][_0x2a6d63(0x1db)]()):this[_0x2a6d63(0x2b4)][_0x2a6d63(0x2a9)](_0x2d29f0[0x0],_0xd35db9);}}Ee=_0x1c9fd9;function _0x4324d2(_0xa4685f,_0x2ea842,_0x25db1f){const _0x25feba=_0x45ff3e;typeof _0x25db1f==_0x25feba(0x288)&&_0x25db1f(_0x2ea842);for(let _0x33d770=0x0;_0x33d770<_0xa4685f[_0x25feba(0x2da)][_0x25feba(0x2a6)];_0x33d770++){const _0x11b9f6=_0xa4685f[_0x25feba(0x2da)][_0x33d770],_0x47aab9=_0x11b9f6[_0x11b9f6[_0x25feba(0x2a6)]-0x1];typeof _0x47aab9==_0x25feba(0x288)&&_0x47aab9(_0x2ea842);}}function _0x2f8ef5(_0x1b5242,_0x339d8d,_0x3e16b2){const _0x26a148=_0x45ff3e;_0x4324d2(_0x1b5242,_0x339d8d,_0x3e16b2),_0x1b5242[_0x26a148(0x256)](_0x339d8d);}return Ee;}var xe,tt;function Kt(){const _0x52c472=_0x4f9298;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x980093,kListener:_0x37c498}=V(),_0x1327b2=Symbol(_0x52c472(0x285)),_0x537c4f=Symbol('kData'),_0x2ab1f1=Symbol(_0x52c472(0x27f)),_0x389adf=Symbol(_0x52c472(0x1e3)),_0x1765af=Symbol('kReason'),_0x47b12d=Symbol(_0x52c472(0x1c2)),_0x5651c7=Symbol(_0x52c472(0x211)),_0x5da419=Symbol(_0x52c472(0x2be));class _0x5f4c78{constructor(_0x5eb1d6){this[_0x47b12d]=null,this[_0x5651c7]=_0x5eb1d6;}get[_0x52c472(0x192)](){return this[_0x47b12d];}get[_0x52c472(0x25b)](){return this[_0x5651c7];}}Object[_0x52c472(0x22f)](_0x5f4c78[_0x52c472(0x26a)],_0x52c472(0x192),{'enumerable':!0x0}),Object[_0x52c472(0x22f)](_0x5f4c78[_0x52c472(0x26a)],'type',{'enumerable':!0x0});class _0x4547f0 extends _0x5f4c78{constructor(_0x2a3908,_0x561a0c={}){const _0x3747c9=_0x52c472;super(_0x2a3908),this[_0x1327b2]=_0x561a0c[_0x3747c9(0x280)]===void 0x0?0x0:_0x561a0c[_0x3747c9(0x280)],this[_0x1765af]=_0x561a0c[_0x3747c9(0x23d)]===void 0x0?'':_0x561a0c[_0x3747c9(0x23d)],this[_0x5da419]=_0x561a0c[_0x3747c9(0x19f)]===void 0x0?!0x1:_0x561a0c['wasClean'];}get[_0x52c472(0x280)](){return this[_0x1327b2];}get['reason'](){return this[_0x1765af];}get[_0x52c472(0x19f)](){return this[_0x5da419];}}Object[_0x52c472(0x22f)](_0x4547f0[_0x52c472(0x26a)],_0x52c472(0x280),{'enumerable':!0x0}),Object[_0x52c472(0x22f)](_0x4547f0[_0x52c472(0x26a)],_0x52c472(0x23d),{'enumerable':!0x0}),Object['defineProperty'](_0x4547f0[_0x52c472(0x26a)],_0x52c472(0x19f),{'enumerable':!0x0});class _0x4ab5d5 extends _0x5f4c78{constructor(_0x317979,_0xe6ad5c={}){const _0x8e1c9b=_0x52c472;super(_0x317979),this[_0x2ab1f1]=_0xe6ad5c[_0x8e1c9b(0x1d2)]===void 0x0?null:_0xe6ad5c[_0x8e1c9b(0x1d2)],this[_0x389adf]=_0xe6ad5c['message']===void 0x0?'':_0xe6ad5c[_0x8e1c9b(0x1f8)];}get['error'](){return this[_0x2ab1f1];}get[_0x52c472(0x1f8)](){return this[_0x389adf];}}Object['defineProperty'](_0x4ab5d5['prototype'],'error',{'enumerable':!0x0}),Object[_0x52c472(0x22f)](_0x4ab5d5['prototype'],_0x52c472(0x1f8),{'enumerable':!0x0});class _0x5856c6 extends _0x5f4c78{constructor(_0x107aeb,_0x7d11aa={}){const _0x5b40cf=_0x52c472;super(_0x107aeb),this[_0x537c4f]=_0x7d11aa[_0x5b40cf(0x2cd)]===void 0x0?null:_0x7d11aa[_0x5b40cf(0x2cd)];}get['data'](){return this[_0x537c4f];}}Object[_0x52c472(0x22f)](_0x5856c6['prototype'],_0x52c472(0x2cd),{'enumerable':!0x0}),xe={'CloseEvent':_0x4547f0,'ErrorEvent':_0x4ab5d5,'Event':_0x5f4c78,'EventTarget':{'addEventListener'(_0x5cb82c,_0x1b2701,_0x872256={}){const _0x49e945=_0x52c472;for(const _0x1ee40d of this[_0x49e945(0x1bb)](_0x5cb82c))if(!_0x872256[_0x980093]&&_0x1ee40d[_0x37c498]===_0x1b2701&&!_0x1ee40d[_0x980093])return;let _0x1ebc98;if(_0x5cb82c===_0x49e945(0x1f8))_0x1ebc98=function(_0x26af16,_0x1192e8){const _0x355273=_0x49e945,_0x2a334e=new _0x5856c6(_0x355273(0x1f8),{'data':_0x1192e8?_0x26af16:_0x26af16[_0x355273(0x284)]()});_0x2a334e[_0x47b12d]=this,_0x1ca414(_0x1b2701,this,_0x2a334e);};else{if(_0x5cb82c===_0x49e945(0x32e))_0x1ebc98=function(_0x19c743,_0x5d3d13){const _0x2cfd13=_0x49e945,_0x429ffd=new _0x4547f0('close',{'code':_0x19c743,'reason':_0x5d3d13[_0x2cfd13(0x284)](),'wasClean':this[_0x2cfd13(0x322)]&&this['_closeFrameSent']});_0x429ffd[_0x47b12d]=this,_0x1ca414(_0x1b2701,this,_0x429ffd);};else{if(_0x5cb82c==='error')_0x1ebc98=function(_0x69fb8c){const _0x5eac83=_0x49e945,_0x30306a=new _0x4ab5d5('error',{'error':_0x69fb8c,'message':_0x69fb8c[_0x5eac83(0x1f8)]});_0x30306a[_0x47b12d]=this,_0x1ca414(_0x1b2701,this,_0x30306a);};else{if(_0x5cb82c===_0x49e945(0x21f))_0x1ebc98=function(){const _0x5dcb2a=new _0x5f4c78('open');_0x5dcb2a[_0x47b12d]=this,_0x1ca414(_0x1b2701,this,_0x5dcb2a);};else return;}}}_0x1ebc98[_0x980093]=!!_0x872256[_0x980093],_0x1ebc98[_0x37c498]=_0x1b2701,_0x872256[_0x49e945(0x1a3)]?this[_0x49e945(0x1a3)](_0x5cb82c,_0x1ebc98):this['on'](_0x5cb82c,_0x1ebc98);},'removeEventListener'(_0x41bdee,_0x65a70a){const _0x2d5212=_0x52c472;for(const _0x296d55 of this[_0x2d5212(0x1bb)](_0x41bdee))if(_0x296d55[_0x37c498]===_0x65a70a&&!_0x296d55[_0x980093]){this['removeListener'](_0x41bdee,_0x296d55);break;}}},'MessageEvent':_0x5856c6};function _0x1ca414(_0x1d10ec,_0x1a720e,_0x119b29){const _0x160d10=_0x52c472;typeof _0x1d10ec==_0x160d10(0x30d)&&_0x1d10ec['handleEvent']?_0x1d10ec[_0x160d10(0x277)]['call'](_0x1d10ec,_0x119b29):_0x1d10ec['call'](_0x1a720e,_0x119b29);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x279b73}=ne();function _0x29880b(_0x362ce,_0x3c5eb2,_0x506f9b){const _0x33f98d=_0x3288;_0x362ce[_0x3c5eb2]===void 0x0?_0x362ce[_0x3c5eb2]=[_0x506f9b]:_0x362ce[_0x3c5eb2][_0x33f98d(0x266)](_0x506f9b);}function _0x384a4c(_0x48ed00){const _0x3360ad=_0x3288,_0x6bc51f=Object[_0x3360ad(0x218)](null);let _0x330eaa=Object[_0x3360ad(0x218)](null),_0x3a4fdb=!0x1,_0x5d5491=!0x1,_0x503420=!0x1,_0x4de3f2,_0x56a70a,_0x318977=-0x1,_0x3c996b=-0x1,_0x30b73a=-0x1,_0x484f95=0x0;for(;_0x484f95<_0x48ed00[_0x3360ad(0x2a6)];_0x484f95++)if(_0x3c996b=_0x48ed00[_0x3360ad(0x2dc)](_0x484f95),_0x4de3f2===void 0x0){if(_0x30b73a===-0x1&&_0x279b73[_0x3c996b]===0x1)_0x318977===-0x1&&(_0x318977=_0x484f95);else{if(_0x484f95!==0x0&&(_0x3c996b===0x20||_0x3c996b===0x9))_0x30b73a===-0x1&&_0x318977!==-0x1&&(_0x30b73a=_0x484f95);else{if(_0x3c996b===0x3b||_0x3c996b===0x2c){if(_0x318977===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x484f95);_0x30b73a===-0x1&&(_0x30b73a=_0x484f95);const _0x2dfeb6=_0x48ed00[_0x3360ad(0x293)](_0x318977,_0x30b73a);_0x3c996b===0x2c?(_0x29880b(_0x6bc51f,_0x2dfeb6,_0x330eaa),_0x330eaa=Object[_0x3360ad(0x218)](null)):_0x4de3f2=_0x2dfeb6,_0x318977=_0x30b73a=-0x1;}else throw new SyntaxError(_0x3360ad(0x216)+_0x484f95);}}}else{if(_0x56a70a===void 0x0){if(_0x30b73a===-0x1&&_0x279b73[_0x3c996b]===0x1)_0x318977===-0x1&&(_0x318977=_0x484f95);else{if(_0x3c996b===0x20||_0x3c996b===0x9)_0x30b73a===-0x1&&_0x318977!==-0x1&&(_0x30b73a=_0x484f95);else{if(_0x3c996b===0x3b||_0x3c996b===0x2c){if(_0x318977===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x484f95);_0x30b73a===-0x1&&(_0x30b73a=_0x484f95),_0x29880b(_0x330eaa,_0x48ed00[_0x3360ad(0x293)](_0x318977,_0x30b73a),!0x0),_0x3c996b===0x2c&&(_0x29880b(_0x6bc51f,_0x4de3f2,_0x330eaa),_0x330eaa=Object[_0x3360ad(0x218)](null),_0x4de3f2=void 0x0),_0x318977=_0x30b73a=-0x1;}else{if(_0x3c996b===0x3d&&_0x318977!==-0x1&&_0x30b73a===-0x1)_0x56a70a=_0x48ed00[_0x3360ad(0x293)](_0x318977,_0x484f95),_0x318977=_0x30b73a=-0x1;else throw new SyntaxError(_0x3360ad(0x216)+_0x484f95);}}}}else{if(_0x5d5491){if(_0x279b73[_0x3c996b]!==0x1)throw new SyntaxError(_0x3360ad(0x216)+_0x484f95);_0x318977===-0x1?_0x318977=_0x484f95:_0x3a4fdb||(_0x3a4fdb=!0x0),_0x5d5491=!0x1;}else{if(_0x503420){if(_0x279b73[_0x3c996b]===0x1)_0x318977===-0x1&&(_0x318977=_0x484f95);else{if(_0x3c996b===0x22&&_0x318977!==-0x1)_0x503420=!0x1,_0x30b73a=_0x484f95;else{if(_0x3c996b===0x5c)_0x5d5491=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x484f95);}}}else{if(_0x3c996b===0x22&&_0x48ed00['charCodeAt'](_0x484f95-0x1)===0x3d)_0x503420=!0x0;else{if(_0x30b73a===-0x1&&_0x279b73[_0x3c996b]===0x1)_0x318977===-0x1&&(_0x318977=_0x484f95);else{if(_0x318977!==-0x1&&(_0x3c996b===0x20||_0x3c996b===0x9))_0x30b73a===-0x1&&(_0x30b73a=_0x484f95);else{if(_0x3c996b===0x3b||_0x3c996b===0x2c){if(_0x318977===-0x1)throw new SyntaxError(_0x3360ad(0x216)+_0x484f95);_0x30b73a===-0x1&&(_0x30b73a=_0x484f95);let _0x4bb506=_0x48ed00[_0x3360ad(0x293)](_0x318977,_0x30b73a);_0x3a4fdb&&(_0x4bb506=_0x4bb506[_0x3360ad(0x2f8)](/\\/g,''),_0x3a4fdb=!0x1),_0x29880b(_0x330eaa,_0x56a70a,_0x4bb506),_0x3c996b===0x2c&&(_0x29880b(_0x6bc51f,_0x4de3f2,_0x330eaa),_0x330eaa=Object[_0x3360ad(0x218)](null),_0x4de3f2=void 0x0),_0x56a70a=void 0x0,_0x318977=_0x30b73a=-0x1;}else throw new SyntaxError(_0x3360ad(0x216)+_0x484f95);}}}}}}}if(_0x318977===-0x1||_0x503420||_0x3c996b===0x20||_0x3c996b===0x9)throw new SyntaxError(_0x3360ad(0x1ee));_0x30b73a===-0x1&&(_0x30b73a=_0x484f95);const _0x2cef7e=_0x48ed00[_0x3360ad(0x293)](_0x318977,_0x30b73a);return _0x4de3f2===void 0x0?_0x29880b(_0x6bc51f,_0x2cef7e,_0x330eaa):(_0x56a70a===void 0x0?_0x29880b(_0x330eaa,_0x2cef7e,!0x0):_0x3a4fdb?_0x29880b(_0x330eaa,_0x56a70a,_0x2cef7e['replace'](/\\/g,'')):_0x29880b(_0x330eaa,_0x56a70a,_0x2cef7e),_0x29880b(_0x6bc51f,_0x4de3f2,_0x330eaa)),_0x6bc51f;}function _0x5af6b6(_0xd68c93){const _0x5e759b=_0x3288;return Object[_0x5e759b(0x2fa)](_0xd68c93)['map'](_0xd01155=>{const _0x36b407=_0x5e759b;let _0x5c24b3=_0xd68c93[_0xd01155];return Array[_0x36b407(0x2d3)](_0x5c24b3)||(_0x5c24b3=[_0x5c24b3]),_0x5c24b3[_0x36b407(0x20a)](_0x2b584e=>[_0xd01155][_0x36b407(0x202)](Object['keys'](_0x2b584e)[_0x36b407(0x20a)](_0x1887f3=>{const _0x396a8b=_0x36b407;let _0x43bba0=_0x2b584e[_0x1887f3];return Array['isArray'](_0x43bba0)||(_0x43bba0=[_0x43bba0]),_0x43bba0[_0x396a8b(0x20a)](_0x48127d=>_0x48127d===!0x0?_0x1887f3:_0x1887f3+'='+_0x48127d)[_0x396a8b(0x1df)](';\x20');}))[_0x36b407(0x1df)](';\x20'))[_0x36b407(0x1df)](',\x20');})['join'](',\x20');}return be={'format':_0x5af6b6,'parse':_0x384a4c},be;}function _0x3288(_0x229842,_0x325af2){const _0x52e207=_0x52e2();return _0x3288=function(_0x32885a,_0x1b5935){_0x32885a=_0x32885a-0x192;let _0x3fe67b=_0x52e207[_0x32885a];return _0x3fe67b;},_0x3288(_0x229842,_0x325af2);}var we,st;function Ie(){const _0x59d71a=_0x4f9298;if(st)return we;st=0x1;const _0x2b9a6f=_0x58fb53,_0x5a8280=_0xd4e2d,_0x4c3acf=_0x359bc0,_0x576fbe=_0x1a02d9,_0x181c0e=_0x1e4621,{randomBytes:_0x34f1c3,createHash:_0x385456}=_0x5ef917,{Duplex:_0x453ddb,Readable:_0x410f37}=_0x4a4f82,{URL:_0x4d210a}=_0x2c14ee,_0xeb4d69=he(),_0x4a92f0=dt(),_0x2b9daa=_t(),{isBlob:_0x28071e}=ne(),{BINARY_TYPES:_0x209692,EMPTY_BUFFER:_0x1cf21d,GUID:_0x44eaaf,kForOnEventAttribute:_0x16ab06,kListener:_0xea8424,kStatusCode:_0x6e0f71,kWebSocket:_0x22520d,NOOP:_0x4c581f}=V(),{EventTarget:{addEventListener:_0x1fb6bb,removeEventListener:_0x31cfa0}}=Kt(),{format:_0x4d658f,parse:_0x592df6}=pt(),{toBuffer:_0x3e7227}=ce(),_0xc499f1=0x1e*0x3e8,_0x862ecc=Symbol(_0x59d71a(0x27e)),_0x2d0836=[0x8,0xd],_0x4c161d=[_0x59d71a(0x1e1),_0x59d71a(0x304),_0x59d71a(0x1c0),'CLOSED'],_0x5b7210=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xeb4049 extends _0x2b9a6f{constructor(_0x1ee61d,_0x1235f0,_0x3302c1){const _0x24c20b=_0x59d71a;super(),this['_binaryType']=_0x209692[0x0],this['_closeCode']=0x3ee,this[_0x24c20b(0x322)]=!0x1,this[_0x24c20b(0x1bd)]=!0x1,this[_0x24c20b(0x2d5)]=_0x1cf21d,this[_0x24c20b(0x274)]=null,this[_0x24c20b(0x1f0)]=!0x1,this[_0x24c20b(0x215)]={},this[_0x24c20b(0x25e)]=!0x1,this['_protocol']='',this[_0x24c20b(0x1e0)]=_0xeb4049[_0x24c20b(0x1e1)],this[_0x24c20b(0x195)]=null,this['_sender']=null,this[_0x24c20b(0x2b4)]=null,_0x1ee61d!==null?(this[_0x24c20b(0x22e)]=0x0,this[_0x24c20b(0x28e)]=!0x1,this[_0x24c20b(0x32b)]=0x0,_0x1235f0===void 0x0?_0x1235f0=[]:Array['isArray'](_0x1235f0)||(typeof _0x1235f0=='object'&&_0x1235f0!==null?(_0x3302c1=_0x1235f0,_0x1235f0=[]):_0x1235f0=[_0x1235f0]),_0x54b145(this,_0x1ee61d,_0x1235f0,_0x3302c1)):(this[_0x24c20b(0x338)]=_0x3302c1['autoPong'],this['_isServer']=!0x0);}get[_0x59d71a(0x28c)](){const _0xbce555=_0x59d71a;return this[_0xbce555(0x1c4)];}set[_0x59d71a(0x28c)](_0x55faeb){const _0x29d89e=_0x59d71a;_0x209692[_0x29d89e(0x1e5)](_0x55faeb)&&(this[_0x29d89e(0x1c4)]=_0x55faeb,this['_receiver']&&(this['_receiver'][_0x29d89e(0x1c4)]=_0x55faeb));}get[_0x59d71a(0x22a)](){const _0x40c99d=_0x59d71a;return this['_socket']?this['_socket'][_0x40c99d(0x1d3)][_0x40c99d(0x2a6)]+this[_0x40c99d(0x27c)][_0x40c99d(0x1e7)]:this[_0x40c99d(0x22e)];}get[_0x59d71a(0x33e)](){const _0x31a48b=_0x59d71a;return Object[_0x31a48b(0x2fa)](this[_0x31a48b(0x215)])[_0x31a48b(0x1df)]();}get['isPaused'](){const _0xeaaa94=_0x59d71a;return this[_0xeaaa94(0x25e)];}get[_0x59d71a(0x29d)](){return null;}get[_0x59d71a(0x256)](){return null;}get[_0x59d71a(0x33b)](){return null;}get[_0x59d71a(0x2ca)](){return null;}get[_0x59d71a(0x21a)](){const _0x51974a=_0x59d71a;return this[_0x51974a(0x2f7)];}get['readyState'](){const _0x4c540b=_0x59d71a;return this[_0x4c540b(0x1e0)];}get[_0x59d71a(0x232)](){const _0x2febff=_0x59d71a;return this[_0x2febff(0x1d0)];}[_0x59d71a(0x2e2)](_0x505c23,_0x32e455,_0x34acbb){const _0x4bd53f=_0x59d71a,_0x786888=new _0x4a92f0({'allowSynchronousEvents':_0x34acbb[_0x4bd53f(0x268)],'binaryType':this['binaryType'],'extensions':this['_extensions'],'isServer':this['_isServer'],'maxPayload':_0x34acbb[_0x4bd53f(0x240)],'skipUTF8Validation':_0x34acbb['skipUTF8Validation']}),_0x41238e=new _0x2b9daa(_0x505c23,this[_0x4bd53f(0x215)],_0x34acbb[_0x4bd53f(0x258)]);this[_0x4bd53f(0x195)]=_0x786888,this[_0x4bd53f(0x27c)]=_0x41238e,this['_socket']=_0x505c23,_0x786888[_0x22520d]=this,_0x41238e[_0x22520d]=this,_0x505c23[_0x22520d]=this,_0x786888['on'](_0x4bd53f(0x2bb),_0x20abad),_0x786888['on'](_0x4bd53f(0x1f5),_0x3d6071),_0x786888['on'](_0x4bd53f(0x1d2),_0x56d5da),_0x786888['on'](_0x4bd53f(0x1f8),_0x3e0613),_0x786888['on'](_0x4bd53f(0x2c4),_0x3fd9a0),_0x786888['on']('pong',_0x3a5c8a),_0x41238e[_0x4bd53f(0x256)]=_0x3da0e4,_0x505c23[_0x4bd53f(0x264)]&&_0x505c23[_0x4bd53f(0x264)](0x0),_0x505c23[_0x4bd53f(0x2df)]&&_0x505c23[_0x4bd53f(0x2df)](),_0x32e455[_0x4bd53f(0x2a6)]>0x0&&_0x505c23[_0x4bd53f(0x204)](_0x32e455),_0x505c23['on'](_0x4bd53f(0x32e),_0x332615),_0x505c23['on'](_0x4bd53f(0x2cd),_0x553de3),_0x505c23['on']('end',_0x3b94ef),_0x505c23['on'](_0x4bd53f(0x1d2),_0x1b820e),this['_readyState']=_0xeb4049[_0x4bd53f(0x304)],this[_0x4bd53f(0x200)](_0x4bd53f(0x21f));}[_0x59d71a(0x220)](){const _0x748d82=_0x59d71a;if(!this[_0x748d82(0x2b4)]){this['_readyState']=_0xeb4049['CLOSED'],this['emit'](_0x748d82(0x32e),this[_0x748d82(0x22d)],this[_0x748d82(0x2d5)]);return;}this['_extensions'][_0xeb4d69[_0x748d82(0x237)]]&&this[_0x748d82(0x215)][_0xeb4d69[_0x748d82(0x237)]][_0x748d82(0x198)](),this[_0x748d82(0x195)]['removeAllListeners'](),this[_0x748d82(0x1e0)]=_0xeb4049[_0x748d82(0x329)],this[_0x748d82(0x200)](_0x748d82(0x32e),this[_0x748d82(0x22d)],this[_0x748d82(0x2d5)]);}[_0x59d71a(0x32e)](_0x37323f,_0x4ce303){const _0x5b143b=_0x59d71a;if(this[_0x5b143b(0x1ac)]!==_0xeb4049[_0x5b143b(0x329)]){if(this['readyState']===_0xeb4049[_0x5b143b(0x1e1)]){_0x15348b(this,this[_0x5b143b(0x2a4)],_0x5b143b(0x26c));return;}if(this[_0x5b143b(0x1ac)]===_0xeb4049[_0x5b143b(0x1c0)]){this[_0x5b143b(0x1bd)]&&(this[_0x5b143b(0x322)]||this[_0x5b143b(0x195)][_0x5b143b(0x1d3)][_0x5b143b(0x278)])&&this['_socket'][_0x5b143b(0x1fa)]();return;}this['_readyState']=_0xeb4049[_0x5b143b(0x1c0)],this['_sender'][_0x5b143b(0x32e)](_0x37323f,_0x4ce303,!this[_0x5b143b(0x28e)],_0x2af273=>{const _0x30cec5=_0x5b143b;_0x2af273||(this[_0x30cec5(0x1bd)]=!0x0,(this[_0x30cec5(0x322)]||this[_0x30cec5(0x195)][_0x30cec5(0x1d3)][_0x30cec5(0x278)])&&this['_socket'][_0x30cec5(0x1fa)]());}),_0x58b6ac(this);}}['pause'](){const _0x1e805e=_0x59d71a;this[_0x1e805e(0x1ac)]===_0xeb4049['CONNECTING']||this[_0x1e805e(0x1ac)]===_0xeb4049['CLOSED']||(this['_paused']=!0x0,this[_0x1e805e(0x2b4)][_0x1e805e(0x21c)]());}[_0x59d71a(0x2c4)](_0xbf8b,_0x1f6b0c,_0x1af2f0){const _0x80f196=_0x59d71a;if(this[_0x80f196(0x1ac)]===_0xeb4049[_0x80f196(0x1e1)])throw new Error(_0x80f196(0x24d));if(typeof _0xbf8b=='function'?(_0x1af2f0=_0xbf8b,_0xbf8b=_0x1f6b0c=void 0x0):typeof _0x1f6b0c==_0x80f196(0x288)&&(_0x1af2f0=_0x1f6b0c,_0x1f6b0c=void 0x0),typeof _0xbf8b==_0x80f196(0x250)&&(_0xbf8b=_0xbf8b[_0x80f196(0x284)]()),this[_0x80f196(0x1ac)]!==_0xeb4049[_0x80f196(0x304)]){_0x32b388(this,_0xbf8b,_0x1af2f0);return;}_0x1f6b0c===void 0x0&&(_0x1f6b0c=!this[_0x80f196(0x28e)]),this['_sender']['ping'](_0xbf8b||_0x1cf21d,_0x1f6b0c,_0x1af2f0);}[_0x59d71a(0x295)](_0x2617e0,_0x492e94,_0xe1dbd1){const _0x54c1a6=_0x59d71a;if(this[_0x54c1a6(0x1ac)]===_0xeb4049[_0x54c1a6(0x1e1)])throw new Error(_0x54c1a6(0x24d));if(typeof _0x2617e0=='function'?(_0xe1dbd1=_0x2617e0,_0x2617e0=_0x492e94=void 0x0):typeof _0x492e94==_0x54c1a6(0x288)&&(_0xe1dbd1=_0x492e94,_0x492e94=void 0x0),typeof _0x2617e0==_0x54c1a6(0x250)&&(_0x2617e0=_0x2617e0[_0x54c1a6(0x284)]()),this[_0x54c1a6(0x1ac)]!==_0xeb4049[_0x54c1a6(0x304)]){_0x32b388(this,_0x2617e0,_0xe1dbd1);return;}_0x492e94===void 0x0&&(_0x492e94=!this[_0x54c1a6(0x28e)]),this['_sender'][_0x54c1a6(0x295)](_0x2617e0||_0x1cf21d,_0x492e94,_0xe1dbd1);}[_0x59d71a(0x33f)](){const _0x157ad6=_0x59d71a;this['readyState']===_0xeb4049['CONNECTING']||this[_0x157ad6(0x1ac)]===_0xeb4049[_0x157ad6(0x329)]||(this[_0x157ad6(0x25e)]=!0x1,this[_0x157ad6(0x195)][_0x157ad6(0x1d3)][_0x157ad6(0x2f6)]||this[_0x157ad6(0x2b4)][_0x157ad6(0x33f)]());}[_0x59d71a(0x208)](_0x1c329e,_0x52c8c2,_0x29e5ab){const _0x1f19c1=_0x59d71a;if(this['readyState']===_0xeb4049[_0x1f19c1(0x1e1)])throw new Error(_0x1f19c1(0x24d));if(typeof _0x52c8c2==_0x1f19c1(0x288)&&(_0x29e5ab=_0x52c8c2,_0x52c8c2={}),typeof _0x1c329e=='number'&&(_0x1c329e=_0x1c329e[_0x1f19c1(0x284)]()),this['readyState']!==_0xeb4049['OPEN']){_0x32b388(this,_0x1c329e,_0x29e5ab);return;}const _0x5d075e={'binary':typeof _0x1c329e!=_0x1f19c1(0x31b),'mask':!this[_0x1f19c1(0x28e)],'compress':!0x0,'fin':!0x0,..._0x52c8c2};this['_extensions'][_0xeb4d69[_0x1f19c1(0x237)]]||(_0x5d075e['compress']=!0x1),this[_0x1f19c1(0x27c)]['send'](_0x1c329e||_0x1cf21d,_0x5d075e,_0x29e5ab);}[_0x59d71a(0x1ab)](){const _0x8918e1=_0x59d71a;if(this[_0x8918e1(0x1ac)]!==_0xeb4049['CLOSED']){if(this[_0x8918e1(0x1ac)]===_0xeb4049['CONNECTING']){_0x15348b(this,this[_0x8918e1(0x2a4)],_0x8918e1(0x26c));return;}this[_0x8918e1(0x2b4)]&&(this['_readyState']=_0xeb4049[_0x8918e1(0x1c0)],this[_0x8918e1(0x2b4)][_0x8918e1(0x197)]());}}}Object[_0x59d71a(0x22f)](_0xeb4049,_0x59d71a(0x1e1),{'enumerable':!0x0,'value':_0x4c161d['indexOf']('CONNECTING')}),Object[_0x59d71a(0x22f)](_0xeb4049[_0x59d71a(0x26a)],_0x59d71a(0x1e1),{'enumerable':!0x0,'value':_0x4c161d[_0x59d71a(0x212)]('CONNECTING')}),Object['defineProperty'](_0xeb4049,_0x59d71a(0x304),{'enumerable':!0x0,'value':_0x4c161d['indexOf'](_0x59d71a(0x304))}),Object[_0x59d71a(0x22f)](_0xeb4049[_0x59d71a(0x26a)],_0x59d71a(0x304),{'enumerable':!0x0,'value':_0x4c161d[_0x59d71a(0x212)](_0x59d71a(0x304))}),Object[_0x59d71a(0x22f)](_0xeb4049,_0x59d71a(0x1c0),{'enumerable':!0x0,'value':_0x4c161d[_0x59d71a(0x212)](_0x59d71a(0x1c0))}),Object[_0x59d71a(0x22f)](_0xeb4049[_0x59d71a(0x26a)],_0x59d71a(0x1c0),{'enumerable':!0x0,'value':_0x4c161d[_0x59d71a(0x212)](_0x59d71a(0x1c0))}),Object[_0x59d71a(0x22f)](_0xeb4049,_0x59d71a(0x329),{'enumerable':!0x0,'value':_0x4c161d[_0x59d71a(0x212)](_0x59d71a(0x329))}),Object[_0x59d71a(0x22f)](_0xeb4049[_0x59d71a(0x26a)],_0x59d71a(0x329),{'enumerable':!0x0,'value':_0x4c161d[_0x59d71a(0x212)]('CLOSED')}),['binaryType',_0x59d71a(0x22a),_0x59d71a(0x33e),_0x59d71a(0x205),_0x59d71a(0x21a),_0x59d71a(0x1ac),'url']['forEach'](_0x36f71a=>{const _0x362ffe=_0x59d71a;Object[_0x362ffe(0x22f)](_0xeb4049[_0x362ffe(0x26a)],_0x36f71a,{'enumerable':!0x0});}),[_0x59d71a(0x21f),_0x59d71a(0x1d2),_0x59d71a(0x32e),'message'][_0x59d71a(0x1a6)](_0x54234d=>{const _0x2600b0=_0x59d71a;Object[_0x2600b0(0x22f)](_0xeb4049[_0x2600b0(0x26a)],'on'+_0x54234d,{'enumerable':!0x0,'get'(){const _0x300098=_0x2600b0;for(const _0x49274d of this[_0x300098(0x1bb)](_0x54234d))if(_0x49274d[_0x16ab06])return _0x49274d[_0xea8424];return null;},'set'(_0x675f12){const _0x4faf92=_0x2600b0;for(const _0xf4523 of this[_0x4faf92(0x1bb)](_0x54234d))if(_0xf4523[_0x16ab06]){this['removeListener'](_0x54234d,_0xf4523);break;}typeof _0x675f12==_0x4faf92(0x288)&&this['addEventListener'](_0x54234d,_0x675f12,{[_0x16ab06]:!0x0});}});}),_0xeb4049[_0x59d71a(0x26a)][_0x59d71a(0x279)]=_0x1fb6bb,_0xeb4049[_0x59d71a(0x26a)][_0x59d71a(0x30a)]=_0x31cfa0,we=_0xeb4049;function _0x54b145(_0x4358b7,_0x5b32ad,_0x3eea0f,_0x3384a3){const _0x1e9de6=_0x59d71a,_0x122869={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2d0836[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3384a3,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4358b7['_autoPong']=_0x122869[_0x1e9de6(0x206)],!_0x2d0836[_0x1e9de6(0x1e5)](_0x122869[_0x1e9de6(0x19e)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x122869[_0x1e9de6(0x19e)]+_0x1e9de6(0x1de)+_0x2d0836['join'](',\x20')+')');let _0x57cecf;if(_0x5b32ad instanceof _0x4d210a)_0x57cecf=_0x5b32ad;else try{_0x57cecf=new _0x4d210a(_0x5b32ad);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x5b32ad);}_0x57cecf[_0x1e9de6(0x21a)]==='http:'?_0x57cecf[_0x1e9de6(0x21a)]=_0x1e9de6(0x272):_0x57cecf[_0x1e9de6(0x21a)]===_0x1e9de6(0x287)&&(_0x57cecf[_0x1e9de6(0x21a)]=_0x1e9de6(0x333)),_0x4358b7[_0x1e9de6(0x1d0)]=_0x57cecf[_0x1e9de6(0x26d)];const _0x5ab22e=_0x57cecf['protocol']===_0x1e9de6(0x333),_0x54f766=_0x57cecf[_0x1e9de6(0x21a)]===_0x1e9de6(0x2e4);let _0x3f317c;if(_0x57cecf['protocol']!==_0x1e9de6(0x272)&&!_0x5ab22e&&!_0x54f766?_0x3f317c=_0x1e9de6(0x2b9):_0x54f766&&!_0x57cecf[_0x1e9de6(0x28d)]?_0x3f317c='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x57cecf[_0x1e9de6(0x1c8)]&&(_0x3f317c='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x3f317c){const _0x2cefdf=new SyntaxError(_0x3f317c);if(_0x4358b7[_0x1e9de6(0x32b)]===0x0)throw _0x2cefdf;_0x419986(_0x4358b7,_0x2cefdf);return;}const _0x57f827=_0x5ab22e?0x1bb:0x50,_0x44e448=_0x34f1c3(0x10)[_0x1e9de6(0x284)]('base64'),_0x24ec74=_0x5ab22e?_0x5a8280[_0x1e9de6(0x2af)]:_0x4c3acf[_0x1e9de6(0x2af)],_0x3fd68d=new Set();let _0x3f7f8f;if(_0x122869[_0x1e9de6(0x26e)]=_0x122869[_0x1e9de6(0x26e)]||(_0x5ab22e?_0x591556:_0x43ba29),_0x122869[_0x1e9de6(0x1d8)]=_0x122869[_0x1e9de6(0x1d8)]||_0x57f827,_0x122869[_0x1e9de6(0x2c2)]=_0x57cecf['port']||_0x57f827,_0x122869[_0x1e9de6(0x270)]=_0x57cecf['hostname']['startsWith']('[')?_0x57cecf[_0x1e9de6(0x30b)][_0x1e9de6(0x293)](0x1,-0x1):_0x57cecf[_0x1e9de6(0x30b)],_0x122869[_0x1e9de6(0x314)]={..._0x122869[_0x1e9de6(0x314)],'Sec-WebSocket-Version':_0x122869[_0x1e9de6(0x19e)],'Sec-WebSocket-Key':_0x44e448,'Connection':_0x1e9de6(0x2a2),'Upgrade':'websocket'},_0x122869['path']=_0x57cecf[_0x1e9de6(0x28d)]+_0x57cecf[_0x1e9de6(0x299)],_0x122869['timeout']=_0x122869[_0x1e9de6(0x203)],_0x122869[_0x1e9de6(0x283)]&&(_0x3f7f8f=new _0xeb4d69(_0x122869['perMessageDeflate']!==!0x0?_0x122869[_0x1e9de6(0x283)]:{},!0x1,_0x122869[_0x1e9de6(0x240)]),_0x122869[_0x1e9de6(0x314)][_0x1e9de6(0x276)]=_0x4d658f({[_0xeb4d69[_0x1e9de6(0x237)]]:_0x3f7f8f['offer']()})),_0x3eea0f[_0x1e9de6(0x2a6)]){for(const _0x4f6317 of _0x3eea0f){if(typeof _0x4f6317!=_0x1e9de6(0x31b)||!_0x5b7210[_0x1e9de6(0x217)](_0x4f6317)||_0x3fd68d[_0x1e9de6(0x22b)](_0x4f6317))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x3fd68d['add'](_0x4f6317);}_0x122869[_0x1e9de6(0x314)][_0x1e9de6(0x330)]=_0x3eea0f['join'](',');}if(_0x122869[_0x1e9de6(0x323)]&&(_0x122869['protocolVersion']<0xd?_0x122869[_0x1e9de6(0x314)]['Sec-WebSocket-Origin']=_0x122869['origin']:_0x122869[_0x1e9de6(0x314)][_0x1e9de6(0x1c6)]=_0x122869[_0x1e9de6(0x323)]),(_0x57cecf[_0x1e9de6(0x247)]||_0x57cecf[_0x1e9de6(0x1cf)])&&(_0x122869[_0x1e9de6(0x2ba)]=_0x57cecf['username']+':'+_0x57cecf[_0x1e9de6(0x1cf)]),_0x54f766){const _0x36efcb=_0x122869[_0x1e9de6(0x2f3)][_0x1e9de6(0x2d9)](':');_0x122869['socketPath']=_0x36efcb[0x0],_0x122869[_0x1e9de6(0x2f3)]=_0x36efcb[0x1];}let _0xd690cd;if(_0x122869[_0x1e9de6(0x24f)]){if(_0x4358b7[_0x1e9de6(0x32b)]===0x0){_0x4358b7[_0x1e9de6(0x2b6)]=_0x54f766,_0x4358b7['_originalSecure']=_0x5ab22e,_0x4358b7['_originalHostOrSocketPath']=_0x54f766?_0x122869['socketPath']:_0x57cecf[_0x1e9de6(0x270)];const _0x26e9b3=_0x3384a3&&_0x3384a3[_0x1e9de6(0x314)];if(_0x3384a3={..._0x3384a3,'headers':{}},_0x26e9b3){for(const [_0x5a7e32,_0xbe0838]of Object[_0x1e9de6(0x1f3)](_0x26e9b3))_0x3384a3[_0x1e9de6(0x314)][_0x5a7e32[_0x1e9de6(0x275)]()]=_0xbe0838;}}else{if(_0x4358b7['listenerCount'](_0x1e9de6(0x234))===0x0){const _0x3c4aa6=_0x54f766?_0x4358b7[_0x1e9de6(0x2b6)]?_0x122869[_0x1e9de6(0x25c)]===_0x4358b7[_0x1e9de6(0x26b)]:!0x1:_0x4358b7[_0x1e9de6(0x2b6)]?!0x1:_0x57cecf['host']===_0x4358b7['_originalHostOrSocketPath'];(!_0x3c4aa6||_0x4358b7[_0x1e9de6(0x2ef)]&&!_0x5ab22e)&&(delete _0x122869[_0x1e9de6(0x314)][_0x1e9de6(0x297)],delete _0x122869[_0x1e9de6(0x314)][_0x1e9de6(0x30e)],_0x3c4aa6||delete _0x122869[_0x1e9de6(0x314)]['host'],_0x122869[_0x1e9de6(0x2ba)]=void 0x0);}}_0x122869[_0x1e9de6(0x2ba)]&&!_0x3384a3['headers'][_0x1e9de6(0x297)]&&(_0x3384a3[_0x1e9de6(0x314)]['authorization']=_0x1e9de6(0x33d)+Buffer[_0x1e9de6(0x1b0)](_0x122869['auth'])[_0x1e9de6(0x284)](_0x1e9de6(0x1e4))),_0xd690cd=_0x4358b7[_0x1e9de6(0x2a4)]=_0x24ec74(_0x122869),_0x4358b7[_0x1e9de6(0x32b)]&&_0x4358b7[_0x1e9de6(0x200)](_0x1e9de6(0x234),_0x4358b7['url'],_0xd690cd);}else _0xd690cd=_0x4358b7[_0x1e9de6(0x2a4)]=_0x24ec74(_0x122869);_0x122869['timeout']&&_0xd690cd['on'](_0x1e9de6(0x1d7),()=>{const _0x5caf20=_0x1e9de6;_0x15348b(_0x4358b7,_0xd690cd,_0x5caf20(0x1bf));}),_0xd690cd['on'](_0x1e9de6(0x1d2),_0xd605b2=>{_0xd690cd===null||_0xd690cd[_0x862ecc]||(_0xd690cd=_0x4358b7['_req']=null,_0x419986(_0x4358b7,_0xd605b2));}),_0xd690cd['on'](_0x1e9de6(0x201),_0x248b6c=>{const _0x4baafe=_0x1e9de6,_0x331826=_0x248b6c[_0x4baafe(0x314)][_0x4baafe(0x324)],_0x4aa473=_0x248b6c[_0x4baafe(0x1b1)];if(_0x331826&&_0x122869[_0x4baafe(0x24f)]&&_0x4aa473>=0x12c&&_0x4aa473<0x190){if(++_0x4358b7[_0x4baafe(0x32b)]>_0x122869['maxRedirects']){_0x15348b(_0x4358b7,_0xd690cd,'Maximum\x20redirects\x20exceeded');return;}_0xd690cd['abort']();let _0x557d80;try{_0x557d80=new _0x4d210a(_0x331826,_0x5b32ad);}catch{const _0x12184f=new SyntaxError(_0x4baafe(0x21d)+_0x331826);_0x419986(_0x4358b7,_0x12184f);return;}_0x54b145(_0x4358b7,_0x557d80,_0x3eea0f,_0x3384a3);}else _0x4358b7[_0x4baafe(0x200)](_0x4baafe(0x303),_0xd690cd,_0x248b6c)||_0x15348b(_0x4358b7,_0xd690cd,_0x4baafe(0x223)+_0x248b6c[_0x4baafe(0x1b1)]);}),_0xd690cd['on'](_0x1e9de6(0x24e),(_0x52ab5d,_0x15014a,_0x2369d5)=>{const _0x48008b=_0x1e9de6;if(_0x4358b7['emit']('upgrade',_0x52ab5d),_0x4358b7[_0x48008b(0x1ac)]!==_0xeb4049[_0x48008b(0x1e1)])return;_0xd690cd=_0x4358b7[_0x48008b(0x2a4)]=null;const _0x35e6e8=_0x52ab5d[_0x48008b(0x314)][_0x48008b(0x24e)];if(_0x35e6e8===void 0x0||_0x35e6e8[_0x48008b(0x275)]()!=='websocket'){_0x15348b(_0x4358b7,_0x15014a,_0x48008b(0x257));return;}const _0x1bd3d6=_0x385456(_0x48008b(0x1da))[_0x48008b(0x1a0)](_0x44e448+_0x44eaaf)[_0x48008b(0x2e0)](_0x48008b(0x1e4));if(_0x52ab5d[_0x48008b(0x314)][_0x48008b(0x222)]!==_0x1bd3d6){_0x15348b(_0x4358b7,_0x15014a,_0x48008b(0x213));return;}const _0x3df8b8=_0x52ab5d[_0x48008b(0x314)][_0x48008b(0x2d8)];let _0x277c77;if(_0x3df8b8!==void 0x0?_0x3fd68d[_0x48008b(0x19b)]?_0x3fd68d[_0x48008b(0x22b)](_0x3df8b8)||(_0x277c77=_0x48008b(0x331)):_0x277c77='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x3fd68d[_0x48008b(0x19b)]&&(_0x277c77=_0x48008b(0x294)),_0x277c77){_0x15348b(_0x4358b7,_0x15014a,_0x277c77);return;}_0x3df8b8&&(_0x4358b7[_0x48008b(0x2f7)]=_0x3df8b8);const _0x531c16=_0x52ab5d[_0x48008b(0x314)][_0x48008b(0x251)];if(_0x531c16!==void 0x0){if(!_0x3f7f8f){_0x15348b(_0x4358b7,_0x15014a,_0x48008b(0x30f));return;}let _0x259da3;try{_0x259da3=_0x592df6(_0x531c16);}catch{_0x15348b(_0x4358b7,_0x15014a,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0xd57795=Object[_0x48008b(0x2fa)](_0x259da3);if(_0xd57795[_0x48008b(0x2a6)]!==0x1||_0xd57795[0x0]!==_0xeb4d69['extensionName']){_0x15348b(_0x4358b7,_0x15014a,_0x48008b(0x269));return;}try{_0x3f7f8f[_0x48008b(0x300)](_0x259da3[_0xeb4d69['extensionName']]);}catch{_0x15348b(_0x4358b7,_0x15014a,_0x48008b(0x305));return;}_0x4358b7[_0x48008b(0x215)][_0xeb4d69[_0x48008b(0x237)]]=_0x3f7f8f;}_0x4358b7[_0x48008b(0x2e2)](_0x15014a,_0x2369d5,{'allowSynchronousEvents':_0x122869['allowSynchronousEvents'],'generateMask':_0x122869['generateMask'],'maxPayload':_0x122869[_0x48008b(0x240)],'skipUTF8Validation':_0x122869[_0x48008b(0x249)]});}),_0x122869[_0x1e9de6(0x2bc)]?_0x122869[_0x1e9de6(0x2bc)](_0xd690cd,_0x4358b7):_0xd690cd[_0x1e9de6(0x1fa)]();}function _0x419986(_0x363665,_0x3e011b){const _0x183dc2=_0x59d71a;_0x363665[_0x183dc2(0x1e0)]=_0xeb4049['CLOSING'],_0x363665[_0x183dc2(0x1f0)]=!0x0,_0x363665[_0x183dc2(0x200)](_0x183dc2(0x1d2),_0x3e011b),_0x363665[_0x183dc2(0x220)]();}function _0x43ba29(_0x2f3432){const _0x305c46=_0x59d71a;return _0x2f3432['path']=_0x2f3432[_0x305c46(0x25c)],_0x576fbe[_0x305c46(0x254)](_0x2f3432);}function _0x591556(_0x540d8d){const _0x370c03=_0x59d71a;return _0x540d8d[_0x370c03(0x2f3)]=void 0x0,!_0x540d8d[_0x370c03(0x1c3)]&&_0x540d8d[_0x370c03(0x1c3)]!==''&&(_0x540d8d['servername']=_0x576fbe[_0x370c03(0x1b7)](_0x540d8d[_0x370c03(0x270)])?'':_0x540d8d[_0x370c03(0x270)]),_0x181c0e[_0x370c03(0x254)](_0x540d8d);}function _0x15348b(_0x46476a,_0x16e3d2,_0x4a3e02){const _0x313842=_0x59d71a;_0x46476a[_0x313842(0x1e0)]=_0xeb4049[_0x313842(0x1c0)];const _0x104001=new Error(_0x4a3e02);Error[_0x313842(0x2ee)](_0x104001,_0x15348b),_0x16e3d2['setHeader']?(_0x16e3d2[_0x862ecc]=!0x0,_0x16e3d2[_0x313842(0x1ba)](),_0x16e3d2[_0x313842(0x1b8)]&&!_0x16e3d2[_0x313842(0x1b8)][_0x313842(0x317)]&&_0x16e3d2['socket']['destroy'](),process['nextTick'](_0x419986,_0x46476a,_0x104001)):(_0x16e3d2[_0x313842(0x197)](_0x104001),_0x16e3d2[_0x313842(0x1a3)](_0x313842(0x1d2),_0x46476a[_0x313842(0x200)]['bind'](_0x46476a,_0x313842(0x1d2))),_0x16e3d2[_0x313842(0x1a3)]('close',_0x46476a[_0x313842(0x220)][_0x313842(0x255)](_0x46476a)));}function _0x32b388(_0x43efa1,_0x3aa95a,_0x3a982d){const _0x19d5a3=_0x59d71a;if(_0x3aa95a){const _0x1cc576=_0x28071e(_0x3aa95a)?_0x3aa95a[_0x19d5a3(0x19b)]:_0x3e7227(_0x3aa95a)['length'];_0x43efa1['_socket']?_0x43efa1[_0x19d5a3(0x27c)]['_bufferedBytes']+=_0x1cc576:_0x43efa1['_bufferedAmount']+=_0x1cc576;}if(_0x3a982d){const _0x5ccb0e=new Error(_0x19d5a3(0x302)+_0x43efa1[_0x19d5a3(0x1ac)]+'\x20('+_0x4c161d[_0x43efa1[_0x19d5a3(0x1ac)]]+')');process[_0x19d5a3(0x2cb)](_0x3a982d,_0x5ccb0e);}}function _0x20abad(_0x2bc28d,_0x1c6f9d){const _0x7b4ff9=_0x59d71a,_0x15ed29=this[_0x22520d];_0x15ed29[_0x7b4ff9(0x322)]=!0x0,_0x15ed29[_0x7b4ff9(0x2d5)]=_0x1c6f9d,_0x15ed29[_0x7b4ff9(0x22d)]=_0x2bc28d,_0x15ed29[_0x7b4ff9(0x2b4)][_0x22520d]!==void 0x0&&(_0x15ed29[_0x7b4ff9(0x2b4)]['removeListener'](_0x7b4ff9(0x2cd),_0x553de3),process[_0x7b4ff9(0x2cb)](_0x5e084a,_0x15ed29[_0x7b4ff9(0x2b4)]),_0x2bc28d===0x3ed?_0x15ed29[_0x7b4ff9(0x32e)]():_0x15ed29[_0x7b4ff9(0x32e)](_0x2bc28d,_0x1c6f9d));}function _0x3d6071(){const _0x3229af=_0x59d71a,_0x2ef51a=this[_0x22520d];_0x2ef51a[_0x3229af(0x205)]||_0x2ef51a[_0x3229af(0x2b4)][_0x3229af(0x33f)]();}function _0x56d5da(_0x36a9bf){const _0x4339c3=_0x59d71a,_0x2f9624=this[_0x22520d];_0x2f9624[_0x4339c3(0x2b4)][_0x22520d]!==void 0x0&&(_0x2f9624[_0x4339c3(0x2b4)]['removeListener']('data',_0x553de3),process[_0x4339c3(0x2cb)](_0x5e084a,_0x2f9624[_0x4339c3(0x2b4)]),_0x2f9624[_0x4339c3(0x32e)](_0x36a9bf[_0x6e0f71])),_0x2f9624[_0x4339c3(0x1f0)]||(_0x2f9624['_errorEmitted']=!0x0,_0x2f9624[_0x4339c3(0x200)](_0x4339c3(0x1d2),_0x36a9bf));}function _0x3e19c4(){const _0x2368c3=_0x59d71a;this[_0x22520d][_0x2368c3(0x220)]();}function _0x3e0613(_0x49fee9,_0x4dfdbf){const _0x50657f=_0x59d71a;this[_0x22520d][_0x50657f(0x200)](_0x50657f(0x1f8),_0x49fee9,_0x4dfdbf);}function _0x3fd9a0(_0x27a3be){const _0xaf886e=_0x59d71a,_0x2c921e=this[_0x22520d];_0x2c921e[_0xaf886e(0x338)]&&_0x2c921e[_0xaf886e(0x295)](_0x27a3be,!this['_isServer'],_0x4c581f),_0x2c921e[_0xaf886e(0x200)]('ping',_0x27a3be);}function _0x3a5c8a(_0x4ae515){const _0x343d4b=_0x59d71a;this[_0x22520d]['emit'](_0x343d4b(0x295),_0x4ae515);}function _0x5e084a(_0x22c54d){const _0x4ec26b=_0x59d71a;_0x22c54d[_0x4ec26b(0x33f)]();}function _0x3da0e4(_0x55b898){const _0x31d4d9=_0x59d71a,_0x6ede01=this[_0x22520d];_0x6ede01[_0x31d4d9(0x1ac)]!==_0xeb4049[_0x31d4d9(0x329)]&&(_0x6ede01[_0x31d4d9(0x1ac)]===_0xeb4049[_0x31d4d9(0x304)]&&(_0x6ede01[_0x31d4d9(0x1e0)]=_0xeb4049[_0x31d4d9(0x1c0)],_0x58b6ac(_0x6ede01)),this[_0x31d4d9(0x2b4)][_0x31d4d9(0x1fa)](),_0x6ede01[_0x31d4d9(0x1f0)]||(_0x6ede01[_0x31d4d9(0x1f0)]=!0x0,_0x6ede01[_0x31d4d9(0x200)]('error',_0x55b898)));}function _0x58b6ac(_0x357c09){const _0x125515=_0x59d71a;_0x357c09[_0x125515(0x274)]=setTimeout(_0x357c09['_socket'][_0x125515(0x197)][_0x125515(0x255)](_0x357c09[_0x125515(0x2b4)]),_0xc499f1);}function _0x332615(){const _0xa3296a=_0x59d71a,_0x3e52bd=this[_0x22520d];this[_0xa3296a(0x327)](_0xa3296a(0x32e),_0x332615),this[_0xa3296a(0x327)](_0xa3296a(0x2cd),_0x553de3),this[_0xa3296a(0x327)]('end',_0x3b94ef),_0x3e52bd[_0xa3296a(0x1e0)]=_0xeb4049[_0xa3296a(0x1c0)];let _0x53730d;!this[_0xa3296a(0x2d0)][_0xa3296a(0x210)]&&!_0x3e52bd[_0xa3296a(0x322)]&&!_0x3e52bd[_0xa3296a(0x195)]['_writableState'][_0xa3296a(0x278)]&&(_0x53730d=_0x3e52bd[_0xa3296a(0x2b4)]['read']())!==null&&_0x3e52bd[_0xa3296a(0x195)][_0xa3296a(0x2a9)](_0x53730d),_0x3e52bd['_receiver']['end'](),this[_0x22520d]=void 0x0,clearTimeout(_0x3e52bd[_0xa3296a(0x274)]),_0x3e52bd[_0xa3296a(0x195)]['_writableState']['finished']||_0x3e52bd[_0xa3296a(0x195)]['_writableState'][_0xa3296a(0x278)]?_0x3e52bd['emitClose']():(_0x3e52bd['_receiver']['on'](_0xa3296a(0x1d2),_0x3e19c4),_0x3e52bd[_0xa3296a(0x195)]['on'](_0xa3296a(0x1a7),_0x3e19c4));}function _0x553de3(_0x671453){const _0x1fc952=_0x59d71a;this[_0x22520d][_0x1fc952(0x195)][_0x1fc952(0x2a9)](_0x671453)||this['pause']();}function _0x3b94ef(){const _0x19b160=_0x59d71a,_0x19144a=this[_0x22520d];_0x19144a[_0x19b160(0x1e0)]=_0xeb4049[_0x19b160(0x1c0)],_0x19144a[_0x19b160(0x195)][_0x19b160(0x1fa)](),this['end']();}function _0x1b820e(){const _0x527ca6=_0x59d71a,_0x1c40a4=this[_0x22520d];this['removeListener'](_0x527ca6(0x1d2),_0x1b820e),this['on'](_0x527ca6(0x1d2),_0x4c581f),_0x1c40a4&&(_0x1c40a4[_0x527ca6(0x1e0)]=_0xeb4049[_0x527ca6(0x1c0)],this[_0x527ca6(0x197)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x4138a9}=_0x4a4f82;function _0x17080b(_0x37d3d2){const _0x37b7f9=_0x3288;_0x37d3d2['emit'](_0x37b7f9(0x32e));}function _0x3ae5f6(){const _0x119fd2=_0x3288;!this[_0x119fd2(0x317)]&&this[_0x119fd2(0x1d3)][_0x119fd2(0x2e3)]&&this['destroy']();}function _0xfaf2b3(_0x384def){const _0x46dd75=_0x3288;this[_0x46dd75(0x327)](_0x46dd75(0x1d2),_0xfaf2b3),this[_0x46dd75(0x197)](),this[_0x46dd75(0x241)]('error')===0x0&&this[_0x46dd75(0x200)](_0x46dd75(0x1d2),_0x384def);}function _0xf3792f(_0x417065,_0x28e388){const _0xba2805=_0x3288;let _0x81427d=!0x0;const _0x56830d=new _0x4138a9({..._0x28e388,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x417065['on'](_0xba2805(0x1f8),function(_0x57b70e,_0x3863e8){const _0x1d6be2=_0xba2805,_0x5b20f2=!_0x3863e8&&_0x56830d[_0x1d6be2(0x2d0)][_0x1d6be2(0x313)]?_0x57b70e[_0x1d6be2(0x284)]():_0x57b70e;_0x56830d[_0x1d6be2(0x266)](_0x5b20f2)||_0x417065[_0x1d6be2(0x21c)]();}),_0x417065[_0xba2805(0x1a3)](_0xba2805(0x1d2),function(_0x4754ef){const _0x2abfdb=_0xba2805;_0x56830d[_0x2abfdb(0x317)]||(_0x81427d=!0x1,_0x56830d['destroy'](_0x4754ef));}),_0x417065[_0xba2805(0x1a3)](_0xba2805(0x32e),function(){const _0x534203=_0xba2805;_0x56830d[_0x534203(0x317)]||_0x56830d[_0x534203(0x266)](null);}),_0x56830d[_0xba2805(0x1aa)]=function(_0x484c1e,_0x1a1903){const _0x4156af=_0xba2805;if(_0x417065['readyState']===_0x417065[_0x4156af(0x329)]){_0x1a1903(_0x484c1e),process[_0x4156af(0x2cb)](_0x17080b,_0x56830d);return;}let _0x2500d6=!0x1;_0x417065[_0x4156af(0x1a3)](_0x4156af(0x1d2),function(_0x560c9c){_0x2500d6=!0x0,_0x1a1903(_0x560c9c);}),_0x417065['once'](_0x4156af(0x32e),function(){const _0xb496a7=_0x4156af;_0x2500d6||_0x1a1903(_0x484c1e),process[_0xb496a7(0x2cb)](_0x17080b,_0x56830d);}),_0x81427d&&_0x417065[_0x4156af(0x1ab)]();},_0x56830d[_0xba2805(0x301)]=function(_0x428237){const _0xa42d0d=_0xba2805;if(_0x417065[_0xa42d0d(0x1ac)]===_0x417065['CONNECTING']){_0x417065[_0xa42d0d(0x1a3)](_0xa42d0d(0x21f),function(){const _0x17e3a3=_0xa42d0d;_0x56830d[_0x17e3a3(0x301)](_0x428237);});return;}_0x417065[_0xa42d0d(0x2b4)]!==null&&(_0x417065[_0xa42d0d(0x2b4)][_0xa42d0d(0x1d3)][_0xa42d0d(0x2e3)]?(_0x428237(),_0x56830d['_readableState'][_0xa42d0d(0x210)]&&_0x56830d[_0xa42d0d(0x197)]()):(_0x417065[_0xa42d0d(0x2b4)]['once'](_0xa42d0d(0x1a7),function(){_0x428237();}),_0x417065[_0xa42d0d(0x32e)]()));},_0x56830d[_0xba2805(0x224)]=function(){const _0x2bb7cb=_0xba2805;_0x417065[_0x2bb7cb(0x205)]&&_0x417065[_0x2bb7cb(0x33f)]();},_0x56830d[_0xba2805(0x25f)]=function(_0x5b27a1,_0xc2fae4,_0x11d946){const _0x4b6e70=_0xba2805;if(_0x417065[_0x4b6e70(0x1ac)]===_0x417065[_0x4b6e70(0x1e1)]){_0x417065[_0x4b6e70(0x1a3)]('open',function(){const _0x5a9968=_0x4b6e70;_0x56830d[_0x5a9968(0x25f)](_0x5b27a1,_0xc2fae4,_0x11d946);});return;}_0x417065[_0x4b6e70(0x208)](_0x5b27a1,_0x11d946);},_0x56830d['on'](_0xba2805(0x1fa),_0x3ae5f6),_0x56830d['on'](_0xba2805(0x1d2),_0xfaf2b3),_0x56830d;}return Oe=_0xf3792f,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x3081bc}=ne();function _0x9b6e19(_0x4b86be){const _0x2dd34c=_0x3288,_0x499d71=new Set();let _0x3fbee2=-0x1,_0x5992ec=-0x1,_0x5cd4c8=0x0;for(_0x5cd4c8;_0x5cd4c8<_0x4b86be[_0x2dd34c(0x2a6)];_0x5cd4c8++){const _0x2ac45f=_0x4b86be[_0x2dd34c(0x2dc)](_0x5cd4c8);if(_0x5992ec===-0x1&&_0x3081bc[_0x2ac45f]===0x1)_0x3fbee2===-0x1&&(_0x3fbee2=_0x5cd4c8);else{if(_0x5cd4c8!==0x0&&(_0x2ac45f===0x20||_0x2ac45f===0x9))_0x5992ec===-0x1&&_0x3fbee2!==-0x1&&(_0x5992ec=_0x5cd4c8);else{if(_0x2ac45f===0x2c){if(_0x3fbee2===-0x1)throw new SyntaxError(_0x2dd34c(0x216)+_0x5cd4c8);_0x5992ec===-0x1&&(_0x5992ec=_0x5cd4c8);const _0x43568c=_0x4b86be[_0x2dd34c(0x293)](_0x3fbee2,_0x5992ec);if(_0x499d71['has'](_0x43568c))throw new SyntaxError(_0x2dd34c(0x2ea)+_0x43568c+'\x22\x20subprotocol\x20is\x20duplicated');_0x499d71[_0x2dd34c(0x2ec)](_0x43568c),_0x3fbee2=_0x5992ec=-0x1;}else throw new SyntaxError(_0x2dd34c(0x216)+_0x5cd4c8);}}}if(_0x3fbee2===-0x1||_0x5992ec!==-0x1)throw new SyntaxError(_0x2dd34c(0x1ee));const _0x527266=_0x4b86be['slice'](_0x3fbee2,_0x5cd4c8);if(_0x499d71[_0x2dd34c(0x22b)](_0x527266))throw new SyntaxError(_0x2dd34c(0x2ea)+_0x527266+'\x22\x20subprotocol\x20is\x20duplicated');return _0x499d71[_0x2dd34c(0x2ec)](_0x527266),_0x499d71;}return Ce={'parse':_0x9b6e19},Ce;}var Te,ot;function er(){const _0x9220ea=_0x4f9298;if(ot)return Te;ot=0x1;const _0x1f257d=_0x58fb53,_0x204368=_0x359bc0,{Duplex:_0x590ae7}=_0x4a4f82,{createHash:_0x3b8add}=_0x5ef917,_0x2cefa3=pt(),_0x24c818=he(),_0x19c9d0=Jt(),_0x3994c5=Ie(),{GUID:_0x42120c,kWebSocket:_0x330bc8}=V(),_0x3a3324=/^[+/0-9A-Za-z]{22}==$/,_0x5188ac=0x0,_0x58d550=0x1,_0x1a388e=0x2;class _0xaedfa4 extends _0x1f257d{constructor(_0x44ebf5,_0x5b9829){const _0x3af0a7=_0x3288;if(super(),_0x44ebf5={'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':_0x3994c5,..._0x44ebf5},_0x44ebf5[_0x3af0a7(0x2c2)]==null&&!_0x44ebf5[_0x3af0a7(0x1cb)]&&!_0x44ebf5[_0x3af0a7(0x2c5)]||_0x44ebf5[_0x3af0a7(0x2c2)]!=null&&(_0x44ebf5['server']||_0x44ebf5[_0x3af0a7(0x2c5)])||_0x44ebf5[_0x3af0a7(0x1cb)]&&_0x44ebf5[_0x3af0a7(0x2c5)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x44ebf5['port']!=null?(this[_0x3af0a7(0x1d1)]=_0x204368['createServer']((_0xa72de2,_0x56b596)=>{const _0x4a06f6=_0x3af0a7,_0x583b65=_0x204368[_0x4a06f6(0x1dd)][0x1aa];_0x56b596['writeHead'](0x1aa,{'Content-Length':_0x583b65['length'],'Content-Type':_0x4a06f6(0x320)}),_0x56b596['end'](_0x583b65);}),this[_0x3af0a7(0x1d1)][_0x3af0a7(0x311)](_0x44ebf5[_0x3af0a7(0x2c2)],_0x44ebf5[_0x3af0a7(0x270)],_0x44ebf5['backlog'],_0x5b9829)):_0x44ebf5['server']&&(this['_server']=_0x44ebf5[_0x3af0a7(0x1cb)]),this['_server']){const _0x3d14dd=this[_0x3af0a7(0x200)][_0x3af0a7(0x255)](this,_0x3af0a7(0x2db));this[_0x3af0a7(0x2ff)]=_0x3aaaa7(this[_0x3af0a7(0x1d1)],{'listening':this[_0x3af0a7(0x200)][_0x3af0a7(0x255)](this,_0x3af0a7(0x2bf)),'error':this[_0x3af0a7(0x200)]['bind'](this,_0x3af0a7(0x1d2)),'upgrade':(_0x4682ce,_0x5a7e91,_0x374d86)=>{const _0x5570eb=_0x3af0a7;this[_0x5570eb(0x1d6)](_0x4682ce,_0x5a7e91,_0x374d86,_0x3d14dd);}});}_0x44ebf5[_0x3af0a7(0x283)]===!0x0&&(_0x44ebf5[_0x3af0a7(0x283)]={}),_0x44ebf5[_0x3af0a7(0x2e9)]&&(this[_0x3af0a7(0x340)]=new Set(),this[_0x3af0a7(0x2bd)]=!0x1),this[_0x3af0a7(0x2b5)]=_0x44ebf5,this['_state']=_0x5188ac;}['address'](){const _0x575c91=_0x3288;if(this['options'][_0x575c91(0x2c5)])throw new Error(_0x575c91(0x228));return this['_server']?this[_0x575c91(0x1d1)][_0x575c91(0x21b)]():null;}[_0x9220ea(0x32e)](_0x295a8c){const _0x4fcbad=_0x9220ea;if(this[_0x4fcbad(0x2e1)]===_0x1a388e){_0x295a8c&&this[_0x4fcbad(0x1a3)](_0x4fcbad(0x32e),()=>{const _0x468000=_0x4fcbad;_0x295a8c(new Error(_0x468000(0x2ae)));}),process[_0x4fcbad(0x2cb)](_0x4b9159,this);return;}if(_0x295a8c&&this[_0x4fcbad(0x1a3)](_0x4fcbad(0x32e),_0x295a8c),this[_0x4fcbad(0x2e1)]!==_0x58d550){if(this[_0x4fcbad(0x2e1)]=_0x58d550,this[_0x4fcbad(0x2b5)]['noServer']||this['options']['server'])this['_server']&&(this['_removeListeners'](),this[_0x4fcbad(0x2ff)]=this['_server']=null),this['clients']?this[_0x4fcbad(0x340)][_0x4fcbad(0x19b)]?this[_0x4fcbad(0x2bd)]=!0x0:process[_0x4fcbad(0x2cb)](_0x4b9159,this):process[_0x4fcbad(0x2cb)](_0x4b9159,this);else{const _0x32f645=this[_0x4fcbad(0x1d1)];this[_0x4fcbad(0x2ff)](),this[_0x4fcbad(0x2ff)]=this[_0x4fcbad(0x1d1)]=null,_0x32f645[_0x4fcbad(0x32e)](()=>{_0x4b9159(this);});}}}[_0x9220ea(0x31f)](_0x481f95){const _0x12454c=_0x9220ea;if(this[_0x12454c(0x2b5)][_0x12454c(0x2f3)]){const _0x5523a9=_0x481f95[_0x12454c(0x232)][_0x12454c(0x212)]('?');if((_0x5523a9!==-0x1?_0x481f95[_0x12454c(0x232)][_0x12454c(0x293)](0x0,_0x5523a9):_0x481f95[_0x12454c(0x232)])!==this[_0x12454c(0x2b5)][_0x12454c(0x2f3)])return!0x1;}return!0x0;}[_0x9220ea(0x1d6)](_0x1a171b,_0x4658d3,_0x560f2c,_0x18bbd8){const _0x85411=_0x9220ea;_0x4658d3['on'](_0x85411(0x1d2),_0x39ce3f);const _0x4bcd07=_0x1a171b[_0x85411(0x314)][_0x85411(0x27d)],_0x30065a=_0x1a171b[_0x85411(0x314)][_0x85411(0x24e)],_0x3857bd=+_0x1a171b[_0x85411(0x314)][_0x85411(0x282)];if(_0x1a171b[_0x85411(0x2a0)]!==_0x85411(0x29c)){_0x2117c3(this,_0x1a171b,_0x4658d3,0x195,_0x85411(0x319));return;}if(_0x30065a===void 0x0||_0x30065a[_0x85411(0x275)]()!=='websocket'){_0x2117c3(this,_0x1a171b,_0x4658d3,0x190,_0x85411(0x257));return;}if(_0x4bcd07===void 0x0||!_0x3a3324[_0x85411(0x217)](_0x4bcd07)){_0x2117c3(this,_0x1a171b,_0x4658d3,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x3857bd!==0xd&&_0x3857bd!==0x8){_0x2117c3(this,_0x1a171b,_0x4658d3,0x190,_0x85411(0x1c9),{'Sec-WebSocket-Version':_0x85411(0x1bc)});return;}if(!this[_0x85411(0x31f)](_0x1a171b)){_0x4eb348(_0x4658d3,0x190);return;}const _0x7dcd6a=_0x1a171b['headers'][_0x85411(0x2d8)];let _0x1ee95d=new Set();if(_0x7dcd6a!==void 0x0)try{_0x1ee95d=_0x19c9d0[_0x85411(0x28a)](_0x7dcd6a);}catch{_0x2117c3(this,_0x1a171b,_0x4658d3,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x5b48df=_0x1a171b[_0x85411(0x314)]['sec-websocket-extensions'],_0x3d827b={};if(this[_0x85411(0x2b5)][_0x85411(0x283)]&&_0x5b48df!==void 0x0){const _0xc6e99b=new _0x24c818(this[_0x85411(0x2b5)]['perMessageDeflate'],!0x0,this['options'][_0x85411(0x240)]);try{const _0x193c55=_0x2cefa3[_0x85411(0x28a)](_0x5b48df);_0x193c55[_0x24c818[_0x85411(0x237)]]&&(_0xc6e99b[_0x85411(0x300)](_0x193c55[_0x24c818[_0x85411(0x237)]]),_0x3d827b[_0x24c818[_0x85411(0x237)]]=_0xc6e99b);}catch{_0x2117c3(this,_0x1a171b,_0x4658d3,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x85411(0x2b5)][_0x85411(0x1a9)]){const _0x1f2492={'origin':_0x1a171b[_0x85411(0x314)][''+(_0x3857bd===0x8?_0x85411(0x337):_0x85411(0x323))],'secure':!!(_0x1a171b[_0x85411(0x1b8)][_0x85411(0x260)]||_0x1a171b[_0x85411(0x1b8)][_0x85411(0x1fb)]),'req':_0x1a171b};if(this['options'][_0x85411(0x1a9)]['length']===0x2){this[_0x85411(0x2b5)][_0x85411(0x1a9)](_0x1f2492,(_0x3fad37,_0x3c02d6,_0x133174,_0x2aaabd)=>{const _0x4f4b95=_0x85411;if(!_0x3fad37)return _0x4eb348(_0x4658d3,_0x3c02d6||0x191,_0x133174,_0x2aaabd);this[_0x4f4b95(0x2f4)](_0x3d827b,_0x4bcd07,_0x1ee95d,_0x1a171b,_0x4658d3,_0x560f2c,_0x18bbd8);});return;}if(!this[_0x85411(0x2b5)]['verifyClient'](_0x1f2492))return _0x4eb348(_0x4658d3,0x191);}this['completeUpgrade'](_0x3d827b,_0x4bcd07,_0x1ee95d,_0x1a171b,_0x4658d3,_0x560f2c,_0x18bbd8);}[_0x9220ea(0x2f4)](_0x68204e,_0x1b3fae,_0x1786c0,_0x56f02c,_0x4da62b,_0x1c22d4,_0xd13300){const _0x1ba5b3=_0x9220ea;if(!_0x4da62b['readable']||!_0x4da62b[_0x1ba5b3(0x2b2)])return _0x4da62b['destroy']();if(_0x4da62b[_0x330bc8])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x1ba5b3(0x2e1)]>_0x5188ac)return _0x4eb348(_0x4da62b,0x1f7);const _0x49650d=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x1ba5b3(0x1ff),_0x1ba5b3(0x298),_0x1ba5b3(0x332)+_0x3b8add(_0x1ba5b3(0x1da))[_0x1ba5b3(0x1a0)](_0x1b3fae+_0x42120c)['digest'](_0x1ba5b3(0x1e4))],_0x5e0b30=new this[(_0x1ba5b3(0x2b5))][(_0x1ba5b3(0x2b0))](null,void 0x0,this['options']);if(_0x1786c0[_0x1ba5b3(0x19b)]){const _0x51880f=this[_0x1ba5b3(0x2b5)]['handleProtocols']?this[_0x1ba5b3(0x2b5)]['handleProtocols'](_0x1786c0,_0x56f02c):_0x1786c0[_0x1ba5b3(0x1a8)]()[_0x1ba5b3(0x225)]()['value'];_0x51880f&&(_0x49650d[_0x1ba5b3(0x266)]('Sec-WebSocket-Protocol:\x20'+_0x51880f),_0x5e0b30[_0x1ba5b3(0x2f7)]=_0x51880f);}if(_0x68204e[_0x24c818[_0x1ba5b3(0x237)]]){const _0x349c85=_0x68204e[_0x24c818[_0x1ba5b3(0x237)]][_0x1ba5b3(0x248)],_0x573361=_0x2cefa3[_0x1ba5b3(0x20f)]({[_0x24c818[_0x1ba5b3(0x237)]]:[_0x349c85]});_0x49650d[_0x1ba5b3(0x266)](_0x1ba5b3(0x29f)+_0x573361),_0x5e0b30['_extensions']=_0x68204e;}this['emit'](_0x1ba5b3(0x314),_0x49650d,_0x56f02c),_0x4da62b['write'](_0x49650d['concat']('\x0d\x0a')[_0x1ba5b3(0x1df)]('\x0d\x0a')),_0x4da62b[_0x1ba5b3(0x327)](_0x1ba5b3(0x1d2),_0x39ce3f),_0x5e0b30['setSocket'](_0x4da62b,_0x1c22d4,{'allowSynchronousEvents':this[_0x1ba5b3(0x2b5)][_0x1ba5b3(0x268)],'maxPayload':this[_0x1ba5b3(0x2b5)]['maxPayload'],'skipUTF8Validation':this[_0x1ba5b3(0x2b5)][_0x1ba5b3(0x249)]}),this[_0x1ba5b3(0x340)]&&(this[_0x1ba5b3(0x340)][_0x1ba5b3(0x2ec)](_0x5e0b30),_0x5e0b30['on'](_0x1ba5b3(0x32e),()=>{const _0x327dcd=_0x1ba5b3;this['clients']['delete'](_0x5e0b30),this[_0x327dcd(0x2bd)]&&!this[_0x327dcd(0x340)][_0x327dcd(0x19b)]&&process[_0x327dcd(0x2cb)](_0x4b9159,this);})),_0xd13300(_0x5e0b30,_0x56f02c);}}Te=_0xaedfa4;function _0x3aaaa7(_0x102775,_0x523e58){const _0x1aec14=_0x9220ea;for(const _0x5255a6 of Object[_0x1aec14(0x2fa)](_0x523e58))_0x102775['on'](_0x5255a6,_0x523e58[_0x5255a6]);return function(){const _0x5b9987=_0x1aec14;for(const _0xf15e8b of Object[_0x5b9987(0x2fa)](_0x523e58))_0x102775[_0x5b9987(0x327)](_0xf15e8b,_0x523e58[_0xf15e8b]);};}function _0x4b9159(_0x10015d){const _0x13ef4e=_0x9220ea;_0x10015d[_0x13ef4e(0x2e1)]=_0x1a388e,_0x10015d[_0x13ef4e(0x200)](_0x13ef4e(0x32e));}function _0x39ce3f(){this['destroy']();}function _0x4eb348(_0x1ec401,_0x223f0e,_0x111167,_0x247733){const _0x428c94=_0x9220ea;_0x111167=_0x111167||_0x204368[_0x428c94(0x1dd)][_0x223f0e],_0x247733={'Connection':_0x428c94(0x32e),'Content-Type':_0x428c94(0x2a7),'Content-Length':Buffer[_0x428c94(0x1a5)](_0x111167),..._0x247733},_0x1ec401['once'](_0x428c94(0x1a7),_0x1ec401[_0x428c94(0x197)]),_0x1ec401[_0x428c94(0x1fa)](_0x428c94(0x2ce)+_0x223f0e+'\x20'+_0x204368[_0x428c94(0x1dd)][_0x223f0e]+'\x0d\x0a'+Object[_0x428c94(0x2fa)](_0x247733)['map'](_0xf0aa2e=>_0xf0aa2e+':\x20'+_0x247733[_0xf0aa2e])[_0x428c94(0x1df)]('\x0d\x0a')+_0x428c94(0x1cd)+_0x111167);}function _0x2117c3(_0x1f1e54,_0x16d2f5,_0x1645b0,_0x4a12e0,_0x49c071,_0xc7f12f){const _0xeee378=_0x9220ea;if(_0x1f1e54[_0xeee378(0x241)](_0xeee378(0x1e9))){const _0x4c9487=new Error(_0x49c071);Error['captureStackTrace'](_0x4c9487,_0x2117c3),_0x1f1e54['emit'](_0xeee378(0x1e9),_0x4c9487,_0x1645b0,_0x16d2f5);}else _0x4eb348(_0x1645b0,_0x4a12e0,_0x49c071,_0xc7f12f);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x17c7b2,_0xf7794b,_0x4c4b07,_0x1b3e88)=>{const _0x1e0ad9=_0x4f9298;for(var _0x52be63=_0x1b3e88>0x1?void 0x0:_0x1b3e88?tr(_0xf7794b,_0x4c4b07):_0xf7794b,_0xbd2443=_0x17c7b2[_0x1e0ad9(0x2a6)]-0x1,_0x5e7062;_0xbd2443>=0x0;_0xbd2443--)(_0x5e7062=_0x17c7b2[_0xbd2443])&&(_0x52be63=_0x5e7062(_0x52be63)||_0x52be63);return _0x52be63;},sr=(_0x2e30e9,_0x25d6b4)=>(_0x185c3b,_0x39834d)=>_0x25d6b4(_0x185c3b,_0x39834d,_0x2e30e9);let Ne=class extends _0x8924c{constructor(_0x5beba6){const _0x51fbfc=_0x4f9298;super(),this[_0x51fbfc(0x2eb)]=_0x5beba6;}[_0x4f9298(0x291)](_0x2b39f5){const _0x459589=_0x4f9298;var _0x2aa397;const _0x3a3a59=(_0x2aa397=this['_configService']['getConfig'](Be))==null?void 0x0:_0x2aa397[_0x459589(0x242)];try{const _0x3a3147=new Qt(_0x2b39f5,{'headers':{..._0x3a3a59}}),_0x5b774e=new _0x23dc54();return{'URL':_0x2b39f5,'close':(_0x94f7c7,_0x1b7eb3)=>{const _0x38fe1e=_0x459589;_0x3a3147[_0x38fe1e(0x32e)](_0x94f7c7,_0x1b7eb3),_0x5b774e[_0x38fe1e(0x2b1)]();},'send':_0xfe7e5a=>{_0x3a3147['send'](_0xfe7e5a);},'open$':new _0x14354a(_0x5f2f2e=>{const _0x9bf60=_0x459589,_0x2827d9=_0x2134f5=>_0x5f2f2e[_0x9bf60(0x225)](_0x2134f5);_0x3a3147['addEventListener'](_0x9bf60(0x21f),_0x2827d9),_0x5b774e[_0x9bf60(0x2ec)](_0x550483(()=>_0x3a3147[_0x9bf60(0x30a)](_0x9bf60(0x21f),_0x2827d9)));})[_0x459589(0x27a)](_0x4b8ead()),'close$':new _0x14354a(_0x4b6c1d=>{const _0x5f087a=_0x459589,_0x263315=_0x14d033=>_0x4b6c1d[_0x5f087a(0x225)](_0x14d033);_0x3a3147[_0x5f087a(0x279)](_0x5f087a(0x32e),_0x263315),_0x5b774e[_0x5f087a(0x2ec)](_0x550483(()=>_0x3a3147['removeEventListener'](_0x5f087a(0x32e),_0x263315)));})['pipe'](_0x4b8ead()),'error$':new _0x14354a(_0x3e7672=>{const _0x1dfe78=_0x459589,_0x262e5f=_0x230347=>_0x3e7672[_0x1dfe78(0x225)](_0x230347);_0x3a3147[_0x1dfe78(0x279)](_0x1dfe78(0x1d2),_0x262e5f),_0x5b774e['add'](_0x550483(()=>_0x3a3147['removeEventListener'](_0x1dfe78(0x1d2),_0x262e5f)));})[_0x459589(0x27a)](_0x4b8ead()),'message$':new _0x14354a(_0x27e3a3=>{const _0x395d26=_0x459589,_0x1c1cb0=_0x3f5a75=>_0x27e3a3[_0x395d26(0x225)](_0x3f5a75);_0x3a3147['addEventListener'](_0x395d26(0x1f8),_0x1c1cb0),_0x5b774e[_0x395d26(0x2ec)](_0x550483(()=>_0x3a3147[_0x395d26(0x30a)](_0x395d26(0x1f8),_0x1c1cb0)));})['pipe'](_0x4b8ead())};}catch(_0x23a325){return console[_0x459589(0x1d2)](_0x23a325),null;}}};Ne=rr([sr(0x0,_0x134320)],Ne);var ir=Object['defineProperty'],nr=Object['getOwnPropertyDescriptor'],or=(_0x3a2d8a,_0x2c3587,_0x55037f)=>_0x2c3587 in _0x3a2d8a?ir(_0x3a2d8a,_0x2c3587,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x55037f}):_0x3a2d8a[_0x2c3587]=_0x55037f,ar=(_0x4254e1,_0x55ebe6,_0x41204d,_0x15da26)=>{const _0xcfcafb=_0x4f9298;for(var _0x57b19a=_0x15da26>0x1?void 0x0:_0x15da26?nr(_0x55ebe6,_0x41204d):_0x55ebe6,_0x24332e=_0x4254e1[_0xcfcafb(0x2a6)]-0x1,_0x318ef9;_0x24332e>=0x0;_0x24332e--)(_0x318ef9=_0x4254e1[_0x24332e])&&(_0x57b19a=_0x318ef9(_0x57b19a)||_0x57b19a);return _0x57b19a;},ke=(_0x4ad09f,_0x34be5e)=>(_0x41f3b8,_0xb395a1)=>_0x34be5e(_0x41f3b8,_0xb395a1,_0x4ad09f),lr=(_0x1a359b,_0x1c74db,_0x497349)=>or(_0x1a359b,_0x1c74db+'',_0x497349);let Pe=class extends _0x31a6de{constructor(_0x2ce58a=Ft,_0x3168c8,_0x3645f2,_0x5d2754){const _0xef4ac8=_0x4f9298;_0x2ce58a['customHeaders']||_0x3168c8[_0xef4ac8(0x316)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0xef4ac8(0x2eb)]=_0x3645f2,this[_0xef4ac8(0x2b3)]=_0x5d2754,this['_configService'][_0xef4ac8(0x25d)](Be,_0x2ce58a);}[_0x4f9298(0x1c7)](){const _0x1b5568=_0x4f9298;this[_0x1b5568(0x20c)]();}[_0x4f9298(0x20c)](){const _0x218c74=_0x4f9298;_0x4ffcc3(this[_0x218c74(0x2b3)],[[_0x15b46e,{'useClass':Ne}]]);}};lr(Pe,'pluginName',_0x4f9298(0x334)),Pe=ar([_0x333582(_0x554f19),ke(0x1,_0x3e32c0),ke(0x2,_0x134320),ke(0x3,_0x16e21f(_0x107d18))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0xf68de5,_0x310eda,_0x553505,_0x15ac08)=>{for(var _0x247677=_0x15ac08>0x1?void 0x0:_0x15ac08?fr(_0x310eda,_0x553505):_0x310eda,_0x51654b=_0xf68de5['length']-0x1,_0x2fbdb7;_0x51654b>=0x0;_0x51654b--)(_0x2fbdb7=_0xf68de5[_0x51654b])&&(_0x247677=_0x2fbdb7(_0x247677)||_0x247677);return _0x247677;},se=(_0x2df002,_0x95149b)=>(_0x49ce30,_0x2deb5c)=>_0x95149b(_0x49ce30,_0x2deb5c,_0x2df002);let at=class extends _0x374091{constructor(_0x4473e5,_0x1d9838,_0x3052c0,_0x1ee6e7,_0x1fa28a){const _0x377225=_0x4f9298;super(_0x4473e5,_0x1d9838,_0x3052c0,_0x1ee6e7,_0x1fa28a);const _0x526a51=this[_0x377225(0x2eb)][_0x377225(0x2e6)](Be);this[_0x377225(0x29a)][_0x377225(0x1d5)]({'interceptor':(_0x15c776,_0x4cc04f)=>{const _0x27e3fc=_0x377225;var _0x2d0937;const _0x3e5ef2=_0x15c776[_0x27e3fc(0x314)];return(_0x2d0937=_0x526a51==null?void 0x0:_0x526a51[_0x27e3fc(0x242)])!=null&&_0x2d0937[_0x27e3fc(0x30e)]&&_0x3e5ef2[_0x27e3fc(0x2ad)](_0x27e3fc(0x199),_0x526a51[_0x27e3fc(0x242)]['cookie']),_0x4cc04f(_0x15c776);}});}async['createSocket'](_0x4b1274){const _0x49056a=_0x4f9298;return this[_0x49056a(0x1f2)](_0x4b1274);}};at=cr([se(0x0,_0x16e21f(_0x107d18)),se(0x1,_0x16e21f(_0x1c37c7)),se(0x2,_0x134320),se(0x3,_0x3e32c0),se(0x4,_0x3f00fe)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|