@univerjs-pro/collaboration-client-node 0.7.0-nightly.202505191607 → 0.7.0-nightly.202505201607
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 _0x4102fe=_0xecf5;(function(_0x6b4ac4,_0x11bea4){const _0x1406ca=_0xecf5,_0x48901d=_0x6b4ac4();while(!![]){try{const _0x35e9d1=parseInt(_0x1406ca(0x1cb))/0x1+parseInt(_0x1406ca(0x187))/0x2*(parseInt(_0x1406ca(0x126))/0x3)+-parseInt(_0x1406ca(0x258))/0x4+parseInt(_0x1406ca(0x183))/0x5+-parseInt(_0x1406ca(0x177))/0x6*(-parseInt(_0x1406ca(0x229))/0x7)+parseInt(_0x1406ca(0x231))/0x8+-parseInt(_0x1406ca(0x129))/0x9;if(_0x35e9d1===_0x11bea4)break;else _0x48901d['push'](_0x48901d['shift']());}catch(_0x2652e5){_0x48901d['push'](_0x48901d['shift']());}}}(_0x324f,0x69203));import{UniverCollaborationClientPlugin as _0x1a5ae2,CollaborationSocketService as _0x1d9e3c}from'@univerjs-pro/collaboration-client';import{Disposable as _0x405503,DisposableCollection as _0x106b4d,toDisposable as _0x2884c4,IConfigService as _0x177565,DependentOn as _0x24e9b5,ILogService as _0x19dc62,Inject as _0x1b0e25,Injector as _0x165a7c,Plugin as _0x2bea9c,registerDependencies as _0x2f41d8}from'@univerjs/core';import{ISocketService as _0x4346df,HTTPService as _0x329854}from'@univerjs/network';import{Observable as _0x2ea919,share as _0x3c604e}from'rxjs';import _0x5c0bf0 from'events';import _0x43a0fe from'https';import _0x58d31b from'http';import _0x103f09 from'net';import _0x52807b from'tls';import _0x210ea4 from'crypto';import _0x291c6a from'stream';import _0x3c7b1d from'url';import _0x3f1312 from'zlib';import _0x5a84b4 from'buffer';import{ISnapshotServerService as _0x1d6bc8}from'@univerjs-pro/collaboration';const Be=_0x4102fe(0x29e),Ft={'customHeaders':{}};function jt(_0x43fac1){const _0x55f7d5=_0x4102fe;return _0x43fac1&&_0x43fac1['__esModule']&&Object[_0x55f7d5(0x13f)][_0x55f7d5(0x264)]['call'](_0x43fac1,_0x55f7d5(0x25b))?_0x43fac1['default']:_0x43fac1;}function ut(_0x214f6b){const _0xa3d2fc=_0x4102fe;if(Object[_0xa3d2fc(0x13f)][_0xa3d2fc(0x264)][_0xa3d2fc(0x151)](_0x214f6b,'__esModule'))return _0x214f6b;var _0x532343=_0x214f6b[_0xa3d2fc(0x25b)];if(typeof _0x532343==_0xa3d2fc(0x2a4)){var _0x3bb57f=function _0x493172(){const _0x5f31d9=_0xa3d2fc;return this instanceof _0x493172?Reflect['construct'](_0x532343,arguments,this[_0x5f31d9(0x237)]):_0x532343['apply'](this,arguments);};_0x3bb57f[_0xa3d2fc(0x13f)]=_0x532343[_0xa3d2fc(0x13f)];}else _0x3bb57f={};return Object[_0xa3d2fc(0x135)](_0x3bb57f,_0xa3d2fc(0x178),{'value':!0x0}),Object['keys'](_0x214f6b)[_0xa3d2fc(0x2c1)](function(_0x1a9cb5){const _0x14c359=_0xa3d2fc;var _0x5d0c30=Object[_0x14c359(0x1f9)](_0x214f6b,_0x1a9cb5);Object[_0x14c359(0x135)](_0x3bb57f,_0x1a9cb5,_0x5d0c30[_0x14c359(0x2c9)]?_0x5d0c30:{'enumerable':!0x0,'get':function(){return _0x214f6b[_0x1a9cb5];}});}),_0x3bb57f;}var te={'exports':{}},ge,Ye;function V(){const _0x1831aa=_0x4102fe;if(Ye)return ge;Ye=0x1;const _0x126176=[_0x1831aa(0x22c),_0x1831aa(0x15d),_0x1831aa(0x1a5)],_0x3bb2df=typeof Blob<'u';return _0x3bb2df&&_0x126176[_0x1831aa(0x1b4)](_0x1831aa(0x242)),ge={'BINARY_TYPES':_0x126176,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x1831aa(0x246),'hasBlob':_0x3bb2df,'kForOnEventAttribute':Symbol(_0x1831aa(0x15c)),'kListener':Symbol(_0x1831aa(0x120)),'kStatusCode':Symbol(_0x1831aa(0x290)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x4102fe(0x18d)](Object[_0x4102fe(0x135)]({'__proto__':null,'default':Wt},Symbol['toStringTag'],{'value':_0x4102fe(0x220)})),Vt=ut(Gt);var Ke;function ce(){const _0x269e35=_0x4102fe;if(Ke)return te[_0x269e35(0x2a2)];Ke=0x1;const {EMPTY_BUFFER:_0x31873b}=V(),_0x244b27=Buffer[Symbol[_0x269e35(0x214)]];function _0x57939a(_0x3359a5,_0x1081d8){const _0x1789bc=_0x269e35;if(_0x3359a5[_0x1789bc(0x1ee)]===0x0)return _0x31873b;if(_0x3359a5['length']===0x1)return _0x3359a5[0x0];const _0xd9b74f=Buffer['allocUnsafe'](_0x1081d8);let _0x5f2a54=0x0;for(let _0x520664=0x0;_0x520664<_0x3359a5[_0x1789bc(0x1ee)];_0x520664++){const _0x4ce4b3=_0x3359a5[_0x520664];_0xd9b74f[_0x1789bc(0x240)](_0x4ce4b3,_0x5f2a54),_0x5f2a54+=_0x4ce4b3[_0x1789bc(0x1ee)];}return _0x5f2a54<_0x1081d8?new _0x244b27(_0xd9b74f['buffer'],_0xd9b74f[_0x1789bc(0x28e)],_0x5f2a54):_0xd9b74f;}function _0x95a4b4(_0x39b18c,_0x5b218e,_0x2b6c2f,_0x1b1ecf,_0x37ddec){for(let _0x3747a0=0x0;_0x3747a0<_0x37ddec;_0x3747a0++)_0x2b6c2f[_0x1b1ecf+_0x3747a0]=_0x39b18c[_0x3747a0]^_0x5b218e[_0x3747a0&0x3];}function _0x158242(_0x31159d,_0x134f83){const _0x49f323=_0x269e35;for(let _0x33638b=0x0;_0x33638b<_0x31159d[_0x49f323(0x1ee)];_0x33638b++)_0x31159d[_0x33638b]^=_0x134f83[_0x33638b&0x3];}function _0x59c38d(_0x4143b9){const _0x450ea4=_0x269e35;return _0x4143b9['length']===_0x4143b9[_0x450ea4(0x274)][_0x450ea4(0x226)]?_0x4143b9[_0x450ea4(0x274)]:_0x4143b9[_0x450ea4(0x274)][_0x450ea4(0x155)](_0x4143b9[_0x450ea4(0x28e)],_0x4143b9['byteOffset']+_0x4143b9[_0x450ea4(0x1ee)]);}function _0x543e8e(_0x486764){const _0x4b4cce=_0x269e35;if(_0x543e8e[_0x4b4cce(0x2c6)]=!0x0,Buffer['isBuffer'](_0x486764))return _0x486764;let _0xd14660;return _0x486764 instanceof ArrayBuffer?_0xd14660=new _0x244b27(_0x486764):ArrayBuffer[_0x4b4cce(0x18f)](_0x486764)?_0xd14660=new _0x244b27(_0x486764[_0x4b4cce(0x274)],_0x486764[_0x4b4cce(0x28e)],_0x486764[_0x4b4cce(0x226)]):(_0xd14660=Buffer[_0x4b4cce(0x270)](_0x486764),_0x543e8e[_0x4b4cce(0x2c6)]=!0x1),_0xd14660;}if(te['exports']={'concat':_0x57939a,'mask':_0x95a4b4,'toArrayBuffer':_0x59c38d,'toBuffer':_0x543e8e,'unmask':_0x158242},!process[_0x269e35(0x12e)]['WS_NO_BUFFER_UTIL'])try{const _0x2fb38c=Vt;te['exports']['mask']=function(_0x4743c6,_0x4519b3,_0x4638ef,_0xb6b80e,_0x12d427){const _0x65f763=_0x269e35;_0x12d427<0x30?_0x95a4b4(_0x4743c6,_0x4519b3,_0x4638ef,_0xb6b80e,_0x12d427):_0x2fb38c[_0x65f763(0x1e6)](_0x4743c6,_0x4519b3,_0x4638ef,_0xb6b80e,_0x12d427);},te[_0x269e35(0x2a2)][_0x269e35(0x1f0)]=function(_0x45748a,_0x213079){const _0x496b8d=_0x269e35;_0x45748a[_0x496b8d(0x1ee)]<0x20?_0x158242(_0x45748a,_0x213079):_0x2fb38c['unmask'](_0x45748a,_0x213079);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x83014b=_0x4102fe;if(Xe)return ye;Xe=0x1;const _0x16bf28=Symbol('kDone'),_0x282344=Symbol('kRun');class _0x2e13a2{constructor(_0x7242c1){const _0x441b79=_0xecf5;this[_0x16bf28]=()=>{const _0x58bc2e=_0xecf5;this[_0x58bc2e(0x154)]--,this[_0x282344]();},this[_0x441b79(0x12f)]=_0x7242c1||0x1/0x0,this['jobs']=[],this['pending']=0x0;}[_0x83014b(0x1f5)](_0x43350e){const _0x4bfefe=_0x83014b;this[_0x4bfefe(0x1d5)][_0x4bfefe(0x1b4)](_0x43350e),this[_0x282344]();}[_0x282344](){const _0x55b8e6=_0x83014b;if(this[_0x55b8e6(0x154)]!==this[_0x55b8e6(0x12f)]&&this[_0x55b8e6(0x1d5)]['length']){const _0x10dfa4=this[_0x55b8e6(0x1d5)][_0x55b8e6(0x209)]();this[_0x55b8e6(0x154)]++,_0x10dfa4(this[_0x16bf28]);}}}return ye=_0x2e13a2,ye;}var ve,Ze;function he(){const _0x421e8e=_0x4102fe;if(Ze)return ve;Ze=0x1;const _0x5d47df=_0x3f1312,_0x142848=ce(),_0x270144=qt(),{kStatusCode:_0x2be3bc}=V(),_0x53ba29=Buffer[Symbol[_0x421e8e(0x214)]],_0x22ea9d=Buffer['from']([0x0,0x0,0xff,0xff]),_0x27f359=Symbol(_0x421e8e(0x20b)),_0x251fd0=Symbol(_0x421e8e(0x23b)),_0x39c1d6=Symbol('callback'),_0x121b0c=Symbol(_0x421e8e(0x288)),_0x474e1c=Symbol('error');let _0x167c45;class _0x28dae2{constructor(_0x3aafa6,_0x182e04,_0x2cb8a4){const _0x3281b0=_0x421e8e;if(this[_0x3281b0(0x174)]=_0x2cb8a4|0x0,this[_0x3281b0(0x24f)]=_0x3aafa6||{},this[_0x3281b0(0x1b3)]=this[_0x3281b0(0x24f)][_0x3281b0(0x23d)]!==void 0x0?this[_0x3281b0(0x24f)][_0x3281b0(0x23d)]:0x400,this[_0x3281b0(0x1ae)]=!!_0x182e04,this[_0x3281b0(0x1a4)]=null,this['_inflate']=null,this[_0x3281b0(0x26e)]=null,!_0x167c45){const _0x541c19=this[_0x3281b0(0x24f)]['concurrencyLimit']!==void 0x0?this[_0x3281b0(0x24f)]['concurrencyLimit']:0xa;_0x167c45=new _0x270144(_0x541c19);}}static get[_0x421e8e(0x2b6)](){const _0x42fb8f=_0x421e8e;return _0x42fb8f(0x20b);}[_0x421e8e(0x211)](){const _0x3ed7a0=_0x421e8e,_0x5b9196={};return this['_options'][_0x3ed7a0(0x2b4)]&&(_0x5b9196[_0x3ed7a0(0x2be)]=!0x0),this['_options'][_0x3ed7a0(0x24d)]&&(_0x5b9196['client_no_context_takeover']=!0x0),this[_0x3ed7a0(0x24f)]['serverMaxWindowBits']&&(_0x5b9196[_0x3ed7a0(0x282)]=this[_0x3ed7a0(0x24f)][_0x3ed7a0(0x19c)]),this['_options'][_0x3ed7a0(0x17d)]?_0x5b9196[_0x3ed7a0(0x1ba)]=this[_0x3ed7a0(0x24f)][_0x3ed7a0(0x17d)]:this['_options'][_0x3ed7a0(0x17d)]==null&&(_0x5b9196[_0x3ed7a0(0x1ba)]=!0x0),_0x5b9196;}[_0x421e8e(0x23e)](_0xb5ea7a){const _0x5bde08=_0x421e8e;return _0xb5ea7a=this['normalizeParams'](_0xb5ea7a),this[_0x5bde08(0x26e)]=this[_0x5bde08(0x1ae)]?this[_0x5bde08(0x1f1)](_0xb5ea7a):this['acceptAsClient'](_0xb5ea7a),this[_0x5bde08(0x26e)];}['cleanup'](){const _0x5050c5=_0x421e8e;if(this[_0x5050c5(0x179)]&&(this[_0x5050c5(0x179)][_0x5050c5(0x27f)](),this[_0x5050c5(0x179)]=null),this[_0x5050c5(0x1a4)]){const _0x132401=this['_deflate'][_0x39c1d6];this[_0x5050c5(0x1a4)]['close'](),this[_0x5050c5(0x1a4)]=null,_0x132401&&_0x132401(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x421e8e(0x1f1)](_0xf69d3a){const _0x256eda=_0x421e8e,_0x258cac=this['_options'],_0x4359aa=_0xf69d3a['find'](_0x33d4f0=>!(_0x258cac['serverNoContextTakeover']===!0x1&&_0x33d4f0[_0x256eda(0x2be)]||_0x33d4f0[_0x256eda(0x282)]&&(_0x258cac['serverMaxWindowBits']===!0x1||typeof _0x258cac[_0x256eda(0x19c)]==_0x256eda(0x2c4)&&_0x258cac[_0x256eda(0x19c)]>_0x33d4f0[_0x256eda(0x282)])||typeof _0x258cac['clientMaxWindowBits']=='number'&&!_0x33d4f0[_0x256eda(0x1ba)]));if(!_0x4359aa)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x258cac[_0x256eda(0x2b4)]&&(_0x4359aa[_0x256eda(0x2be)]=!0x0),_0x258cac[_0x256eda(0x24d)]&&(_0x4359aa['client_no_context_takeover']=!0x0),typeof _0x258cac[_0x256eda(0x19c)]==_0x256eda(0x2c4)&&(_0x4359aa[_0x256eda(0x282)]=_0x258cac[_0x256eda(0x19c)]),typeof _0x258cac['clientMaxWindowBits']==_0x256eda(0x2c4)?_0x4359aa[_0x256eda(0x1ba)]=_0x258cac[_0x256eda(0x17d)]:(_0x4359aa[_0x256eda(0x1ba)]===!0x0||_0x258cac['clientMaxWindowBits']===!0x1)&&delete _0x4359aa[_0x256eda(0x1ba)],_0x4359aa;}['acceptAsClient'](_0x3d3561){const _0x51e5bf=_0x421e8e,_0x356afe=_0x3d3561[0x0];if(this[_0x51e5bf(0x24f)][_0x51e5bf(0x24d)]===!0x1&&_0x356afe[_0x51e5bf(0x1ad)])throw new Error(_0x51e5bf(0x236));if(!_0x356afe[_0x51e5bf(0x1ba)])typeof this[_0x51e5bf(0x24f)][_0x51e5bf(0x17d)]==_0x51e5bf(0x2c4)&&(_0x356afe[_0x51e5bf(0x1ba)]=this[_0x51e5bf(0x24f)][_0x51e5bf(0x17d)]);else{if(this['_options'][_0x51e5bf(0x17d)]===!0x1||typeof this[_0x51e5bf(0x24f)][_0x51e5bf(0x17d)]==_0x51e5bf(0x2c4)&&_0x356afe[_0x51e5bf(0x1ba)]>this[_0x51e5bf(0x24f)][_0x51e5bf(0x17d)])throw new Error(_0x51e5bf(0x297));}return _0x356afe;}[_0x421e8e(0x225)](_0x58deb8){const _0x3c6c9a=_0x421e8e;return _0x58deb8[_0x3c6c9a(0x2c1)](_0x20ad34=>{const _0x599474=_0x3c6c9a;Object[_0x599474(0x156)](_0x20ad34)[_0x599474(0x2c1)](_0x58d3bc=>{const _0x3d9f69=_0x599474;let _0x1c70aa=_0x20ad34[_0x58d3bc];if(_0x1c70aa[_0x3d9f69(0x1ee)]>0x1)throw new Error('Parameter\x20\x22'+_0x58d3bc+_0x3d9f69(0x1ea));if(_0x1c70aa=_0x1c70aa[0x0],_0x58d3bc===_0x3d9f69(0x1ba)){if(_0x1c70aa!==!0x0){const _0x1ecd8a=+_0x1c70aa;if(!Number[_0x3d9f69(0x244)](_0x1ecd8a)||_0x1ecd8a<0x8||_0x1ecd8a>0xf)throw new TypeError(_0x3d9f69(0x2b8)+_0x58d3bc+'\x22:\x20'+_0x1c70aa);_0x1c70aa=_0x1ecd8a;}else{if(!this[_0x3d9f69(0x1ae)])throw new TypeError(_0x3d9f69(0x2b8)+_0x58d3bc+_0x3d9f69(0x276)+_0x1c70aa);}}else{if(_0x58d3bc==='server_max_window_bits'){const _0xf6a4d4=+_0x1c70aa;if(!Number['isInteger'](_0xf6a4d4)||_0xf6a4d4<0x8||_0xf6a4d4>0xf)throw new TypeError(_0x3d9f69(0x2b8)+_0x58d3bc+_0x3d9f69(0x276)+_0x1c70aa);_0x1c70aa=_0xf6a4d4;}else{if(_0x58d3bc===_0x3d9f69(0x1ad)||_0x58d3bc===_0x3d9f69(0x2be)){if(_0x1c70aa!==!0x0)throw new TypeError(_0x3d9f69(0x2b8)+_0x58d3bc+_0x3d9f69(0x276)+_0x1c70aa);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x58d3bc+'\x22');}}_0x20ad34[_0x58d3bc]=_0x1c70aa;});}),_0x58deb8;}[_0x421e8e(0x188)](_0x4d9d3b,_0x1a8d4f,_0x18eb54){_0x167c45['add'](_0x5202eb=>{const _0x1c3ccd=_0xecf5;this[_0x1c3ccd(0x131)](_0x4d9d3b,_0x1a8d4f,(_0x3bf27c,_0x66fe57)=>{_0x5202eb(),_0x18eb54(_0x3bf27c,_0x66fe57);});});}[_0x421e8e(0x1ef)](_0x257c33,_0x383a57,_0x34bbfd){const _0x30cc8a=_0x421e8e;_0x167c45[_0x30cc8a(0x1f5)](_0x355e03=>{const _0x3b62a3=_0x30cc8a;this[_0x3b62a3(0x2b1)](_0x257c33,_0x383a57,(_0x1ca3bd,_0x32f87d)=>{_0x355e03(),_0x34bbfd(_0x1ca3bd,_0x32f87d);});});}[_0x421e8e(0x131)](_0x8493b5,_0x211dda,_0x171298){const _0x5b2506=_0x421e8e,_0x1d4c9b=this['_isServer']?_0x5b2506(0x247):_0x5b2506(0x262);if(!this['_inflate']){const _0xe8932f=_0x1d4c9b+'_max_window_bits',_0x31a25b=typeof this[_0x5b2506(0x26e)][_0xe8932f]!=_0x5b2506(0x2c4)?_0x5d47df[_0x5b2506(0x1ca)]:this[_0x5b2506(0x26e)][_0xe8932f];this[_0x5b2506(0x179)]=_0x5d47df[_0x5b2506(0x1e7)]({...this[_0x5b2506(0x24f)][_0x5b2506(0x19d)],'windowBits':_0x31a25b}),this[_0x5b2506(0x179)][_0x27f359]=this,this[_0x5b2506(0x179)][_0x251fd0]=0x0,this[_0x5b2506(0x179)][_0x121b0c]=[],this['_inflate']['on'](_0x5b2506(0x189),_0x128778),this[_0x5b2506(0x179)]['on']('data',_0x109463);}this[_0x5b2506(0x179)][_0x39c1d6]=_0x171298,this[_0x5b2506(0x179)][_0x5b2506(0x21e)](_0x8493b5),_0x211dda&&this[_0x5b2506(0x179)]['write'](_0x22ea9d),this[_0x5b2506(0x179)][_0x5b2506(0x26a)](()=>{const _0x5e0a4d=_0x5b2506,_0x5122d4=this[_0x5e0a4d(0x179)][_0x474e1c];if(_0x5122d4){this[_0x5e0a4d(0x179)][_0x5e0a4d(0x27f)](),this['_inflate']=null,_0x171298(_0x5122d4);return;}const _0x5a97ab=_0x142848['concat'](this['_inflate'][_0x121b0c],this['_inflate'][_0x251fd0]);this[_0x5e0a4d(0x179)]['_readableState'][_0x5e0a4d(0x14b)]?(this[_0x5e0a4d(0x179)][_0x5e0a4d(0x27f)](),this[_0x5e0a4d(0x179)]=null):(this[_0x5e0a4d(0x179)][_0x251fd0]=0x0,this['_inflate'][_0x121b0c]=[],_0x211dda&&this[_0x5e0a4d(0x26e)][_0x1d4c9b+_0x5e0a4d(0x13e)]&&this[_0x5e0a4d(0x179)][_0x5e0a4d(0x261)]()),_0x171298(null,_0x5a97ab);});}['_compress'](_0x6e632f,_0x470a92,_0x29514f){const _0x3564e4=_0x421e8e,_0x322005=this['_isServer']?'server':'client';if(!this[_0x3564e4(0x1a4)]){const _0xa04757=_0x322005+_0x3564e4(0x20a),_0x5b0824=typeof this[_0x3564e4(0x26e)][_0xa04757]!='number'?_0x5d47df[_0x3564e4(0x1ca)]:this[_0x3564e4(0x26e)][_0xa04757];this[_0x3564e4(0x1a4)]=_0x5d47df[_0x3564e4(0x1d0)]({...this[_0x3564e4(0x24f)][_0x3564e4(0x2c2)],'windowBits':_0x5b0824}),this['_deflate'][_0x251fd0]=0x0,this[_0x3564e4(0x1a4)][_0x121b0c]=[],this[_0x3564e4(0x1a4)]['on'](_0x3564e4(0x2ca),_0x4e641d);}this[_0x3564e4(0x1a4)][_0x39c1d6]=_0x29514f,this[_0x3564e4(0x1a4)][_0x3564e4(0x21e)](_0x6e632f),this[_0x3564e4(0x1a4)][_0x3564e4(0x26a)](_0x5d47df[_0x3564e4(0x162)],()=>{const _0x171a9f=_0x3564e4;if(!this[_0x171a9f(0x1a4)])return;let _0x294cbb=_0x142848[_0x171a9f(0x2ac)](this[_0x171a9f(0x1a4)][_0x121b0c],this[_0x171a9f(0x1a4)][_0x251fd0]);_0x470a92&&(_0x294cbb=new _0x53ba29(_0x294cbb[_0x171a9f(0x274)],_0x294cbb[_0x171a9f(0x28e)],_0x294cbb[_0x171a9f(0x1ee)]-0x4)),this[_0x171a9f(0x1a4)][_0x39c1d6]=null,this[_0x171a9f(0x1a4)][_0x251fd0]=0x0,this[_0x171a9f(0x1a4)][_0x121b0c]=[],_0x470a92&&this[_0x171a9f(0x26e)][_0x322005+'_no_context_takeover']&&this[_0x171a9f(0x1a4)][_0x171a9f(0x261)](),_0x29514f(null,_0x294cbb);});}}ve=_0x28dae2;function _0x4e641d(_0x2e149d){const _0x4b6abb=_0x421e8e;this[_0x121b0c][_0x4b6abb(0x1b4)](_0x2e149d),this[_0x251fd0]+=_0x2e149d[_0x4b6abb(0x1ee)];}function _0x109463(_0x585b49){const _0x75daee=_0x421e8e;if(this[_0x251fd0]+=_0x585b49['length'],this[_0x27f359][_0x75daee(0x174)]<0x1||this[_0x251fd0]<=this[_0x27f359][_0x75daee(0x174)]){this[_0x121b0c][_0x75daee(0x1b4)](_0x585b49);return;}this[_0x474e1c]=new RangeError(_0x75daee(0x148)),this[_0x474e1c][_0x75daee(0x14c)]=_0x75daee(0x250),this[_0x474e1c][_0x2be3bc]=0x3f1,this[_0x75daee(0x2cb)](_0x75daee(0x2ca),_0x109463),this[_0x75daee(0x261)]();}function _0x128778(_0x3aed81){if(this[_0x27f359]['_inflate']=null,this[_0x474e1c]){this[_0x39c1d6](this[_0x474e1c]);return;}_0x3aed81[_0x2be3bc]=0x3ef,this[_0x39c1d6](_0x3aed81);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0x4102fe(0x135)]({'__proto__':null,'default':Ht},Symbol[_0x4102fe(0x1b5)],{'value':_0x4102fe(0x220)})),Yt=ut(zt);var Qe;function _0x324f(){const _0xaab466=['server_no_context_takeover','nextTick','drain','forEach','zlibDeflateOptions','binaryType','number','onmessage','readOnly','Connection:\x20Upgrade','setConfig','get','data','removeListener','removeEventListener','isArray','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Invalid\x20HTTP\x20method','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','kListener','_buffers','once','_req','abort','_closeMessage','3ctCGzn','GET','RSV1\x20must\x20be\x20clear','9217431GgjaRt','kReason','maskBuffer','Invalid\x20Upgrade\x20header','clients','env','concurrency','isPaused','_decompress','digest','WS_ERR_UNEXPECTED_RSV_1','format','defineProperty','setHeader','kMessage','_socket','create','dataMessage','invalid\x20opcode\x20','_closeTimer','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_no_context_takeover','prototype','_doCreateSocket','FIN\x20must\x20be\x20set','maxRedirects','backlog','apply','dequeue','reason','_messageLength','Max\x20payload\x20size\x20exceeded','addEventListener','url','endEmitted','code','invalid\x20UTF-8\x20sequence','_compressed','has','readUInt16BE','call','createConnection','map','pending','slice','keys','captureStackTrace','_final','sec-websocket-version','Sec-WebSocket-Extensions:\x20','sendFrame','kIsForOnEventAttribute','arraybuffer','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','errorEmitted','_maskBuffer','authorized','Z_SYNC_FLUSH','isServer','end','hostname','noServer','_extensions','https:','alloc','extensions','includes','customHeaders','createServer','getData','_registerDependencies','pipe','Server\x20sent\x20an\x20invalid\x20subprotocol','pathname','emitClose','_maxPayload','The\x20\x22','Upgrade:\x20websocket','3552RwrBfb','__esModule','_inflate','search','_bufferedAmount','Invalid\x20Sec-WebSocket-Extensions\x20header','clientMaxWindowBits','onclose','_originalHostOrSocketPath','Sec-WebSocket-Origin','completeUpgrade','HTTP/1.1\x20101\x20Switching\x20Protocols','2112840vguEfi','kError','Sec-WebSocket-Protocol','_loop','8282faZwrZ','decompress','error','pong','options','finish','freeze','shouldHandle','isView','The\x20URL\x20contains\x20a\x20fragment\x20identifier','host','sec-websocket-extensions','_destroy','protocol','STATUS_CODES','socketPath','join','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_closeCode','Server\x20sent\x20no\x20subprotocol','size','serverMaxWindowBits','zlibInflateOptions','values','send','_writableState','origin','pluginName','wasClean','_deflate','fragments','startsWith','listeners','socket','pause','destroyed','conclude','timeout','client_no_context_takeover','_isServer','haveLength','skipUTF8Validation','base64','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_threshold','push','toStringTag','cork','listenerCount','terminate','bufferedAmount','client_max_window_bits','_allowSynchronousEvents','message','isIP','writeUInt16BE','perMessageDeflate','setNoDelay','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','method','update','dispose','startLoop','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_binaryType','unshift','Z_DEFAULT_WINDOWBITS','819676dKbrbu','wss:','delete','getConfig','allocUnsafe','createDeflateRaw','binary','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','MASK\x20must\x20be\x20set','port','jobs','getMask','createSocket','_readyState','kType','WS_ERR_INVALID_OPCODE','_write','WS_ERR_INVALID_UTF8','_sender','readUInt32BE','encrypted','clientTracking','redirect','OPEN','consume','sec-websocket-accept','finished','mask','createInflateRaw','handleProtocols','onopen','\x22\x20must\x20have\x20only\x20a\x20single\x20value','servername','Invalid\x20URL:\x20','_fin','length','compress','unmask','acceptAsServer','setSocket','removeAllListeners','finishRequest','add','handleUpgrade','_fragmented','getInfo','getOwnPropertyDescriptor','cleanup','upgrade','_removeListeners','headers','pow','charCodeAt','split','type','_server','path','handleEvent','destroy','object','auth','WS_ERR_EXPECTED_MASK','shift','_max_window_bits','permessage-deflate','ws+unix:','invalid\x20opcode\x200','username','allowSynchronousEvents','sec-websocket-key','offer','_opcode','Upgrade','species','readyState','catch','indexOf','Opening\x20handshake\x20has\x20timed\x20out','_protocol','The\x20URL\x27s\x20pathname\x20is\x20empty','_closeFrameReceived','\x22\x20subprotocol\x20is\x20duplicated','cookie','write','entries','Module','_queue','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','toLowerCase','replace','normalizeParams','byteLength','http:','createError','2107eqKekJ','followRedirects','_mask','nodebuffer','_shouldEmitClose','_injector','Unexpected\x20character\x20at\x20index\x20','readable','5206824pieFyn','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_url','bind','kData','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','constructor','getPayloadLength64','Unexpected\x20server\x20response:\x20','_masked','total-length','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','threshold','accept','isValidUTF8','set','WS_ERR_UNEXPECTED_MASK','blob','Basic\x20','isInteger','_originalSecure','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','client','_redirects','defaultPort','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','response','frame','clientNoContextTakeover','_skipUTF8Validation','_options','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','WS_NO_UTF_8_VALIDATE','test','invalid\x20payload\x20length\x20','kTarget','_closeFrameSent','password','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','2482704wdgzQb','_read','enqueue','default','stream','generateMask','Invalid\x20WebSocket\x20frame:\x20','controlMessage','_receiver','reset','server','writeUIntBE','hasOwnProperty','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','request','objectMode','emit','verifyClient','flush','getBlobData','needDrain','toString','params','string','from','_totalPayloadLength','WS_ERR_EXPECTED_FIN','read','buffer','WS_ERR_INVALID_CLOSE_CODE','\x22:\x20','opcode','_errorEmitted','sha1','Unexpected\x20end\x20of\x20input','CLOSED','_firstFragment','wsClientError','uncork','close','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','server_max_window_bits','WebSocket','resume','_errored','_payloadLength','value','buffers','Sec-WebSocket-Extensions','arrayBuffer','ping','\x0d\x0a\x0d\x0a','text/plain','byteOffset','onerror','status-code','dispatch','parse','websocket','sec-websocket-origin','unexpected-response','Blob','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','kByteLength','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','ws:','_generateMask','_readableState','_fragments','collaboration-client-node.config','address','MASK\x20must\x20be\x20clear','CONNECTING','exports','href','function','_state','Invalid\x20Sec-WebSocket-Protocol\x20header','registerHTTPInterceptor','authorization','statusCode','_paused','connection','concat','getPayloadLength16','autoPong','fin','connect','_compress','maxPayload','protocolVersion','serverNoContextTakeover','CLOSING','extensionName','_autoPong','Invalid\x20value\x20for\x20parameter\x20\x22','then','_bufferedBytes','_configService','next','open'];_0x324f=function(){return _0xaab466;};return _0x324f();}function ne(){const _0x14cc6d=_0x4102fe;if(Qe)return re[_0x14cc6d(0x2a2)];Qe=0x1;const {isUtf8:_0x45958c}=_0x5a84b4,{hasBlob:_0x293f30}=V(),_0x2f1af0=[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 _0x590ff3(_0x2e4b57){return _0x2e4b57>=0x3e8&&_0x2e4b57<=0x3f6&&_0x2e4b57!==0x3ec&&_0x2e4b57!==0x3ed&&_0x2e4b57!==0x3ee||_0x2e4b57>=0xbb8&&_0x2e4b57<=0x1387;}function _0x1cf6d7(_0x5a1caf){const _0x2b2f11=_0x14cc6d,_0x3f06bd=_0x5a1caf[_0x2b2f11(0x1ee)];let _0x4e1508=0x0;for(;_0x4e1508<_0x3f06bd;)if((_0x5a1caf[_0x4e1508]&0x80)===0x0)_0x4e1508++;else{if((_0x5a1caf[_0x4e1508]&0xe0)===0xc0){if(_0x4e1508+0x1===_0x3f06bd||(_0x5a1caf[_0x4e1508+0x1]&0xc0)!==0x80||(_0x5a1caf[_0x4e1508]&0xfe)===0xc0)return!0x1;_0x4e1508+=0x2;}else{if((_0x5a1caf[_0x4e1508]&0xf0)===0xe0){if(_0x4e1508+0x2>=_0x3f06bd||(_0x5a1caf[_0x4e1508+0x1]&0xc0)!==0x80||(_0x5a1caf[_0x4e1508+0x2]&0xc0)!==0x80||_0x5a1caf[_0x4e1508]===0xe0&&(_0x5a1caf[_0x4e1508+0x1]&0xe0)===0x80||_0x5a1caf[_0x4e1508]===0xed&&(_0x5a1caf[_0x4e1508+0x1]&0xe0)===0xa0)return!0x1;_0x4e1508+=0x3;}else{if((_0x5a1caf[_0x4e1508]&0xf8)===0xf0){if(_0x4e1508+0x3>=_0x3f06bd||(_0x5a1caf[_0x4e1508+0x1]&0xc0)!==0x80||(_0x5a1caf[_0x4e1508+0x2]&0xc0)!==0x80||(_0x5a1caf[_0x4e1508+0x3]&0xc0)!==0x80||_0x5a1caf[_0x4e1508]===0xf0&&(_0x5a1caf[_0x4e1508+0x1]&0xf0)===0x80||_0x5a1caf[_0x4e1508]===0xf4&&_0x5a1caf[_0x4e1508+0x1]>0x8f||_0x5a1caf[_0x4e1508]>0xf4)return!0x1;_0x4e1508+=0x4;}else return!0x1;}}}return!0x0;}function _0x1fc109(_0x11a55b){const _0x4846fe=_0x14cc6d;return _0x293f30&&typeof _0x11a55b==_0x4846fe(0x206)&&typeof _0x11a55b[_0x4846fe(0x28a)]=='function'&&typeof _0x11a55b['type']==_0x4846fe(0x26f)&&typeof _0x11a55b[_0x4846fe(0x25c)]==_0x4846fe(0x2a4)&&(_0x11a55b[Symbol['toStringTag']]===_0x4846fe(0x296)||_0x11a55b[Symbol['toStringTag']]==='File');}if(re['exports']={'isBlob':_0x1fc109,'isValidStatusCode':_0x590ff3,'isValidUTF8':_0x1cf6d7,'tokenChars':_0x2f1af0},_0x45958c)re[_0x14cc6d(0x2a2)][_0x14cc6d(0x23f)]=function(_0x18b3b4){const _0x4ef6af=_0x14cc6d;return _0x18b3b4[_0x4ef6af(0x1ee)]<0x18?_0x1cf6d7(_0x18b3b4):_0x45958c(_0x18b3b4);};else{if(!process[_0x14cc6d(0x12e)][_0x14cc6d(0x251)])try{const _0x6f51df=Yt;re[_0x14cc6d(0x2a2)][_0x14cc6d(0x23f)]=function(_0x3fa2ba){const _0x1c0e56=_0x14cc6d;return _0x3fa2ba[_0x1c0e56(0x1ee)]<0x20?_0x1cf6d7(_0x3fa2ba):_0x6f51df(_0x3fa2ba);};}catch{}}return re[_0x14cc6d(0x2a2)];}var Se,Je;function dt(){const _0x566208=_0x4102fe;if(Je)return Se;Je=0x1;const {Writable:_0x33b770}=_0x291c6a,_0xe6c2c4=he(),{BINARY_TYPES:_0x5210e2,EMPTY_BUFFER:_0x42f4d0,kStatusCode:_0x9b3164,kWebSocket:_0x605874}=V(),{concat:_0x28039e,toArrayBuffer:_0x467337,unmask:_0x114c10}=ce(),{isValidStatusCode:_0x349803,isValidUTF8:_0xe701c1}=ne(),_0x243a40=Buffer[Symbol[_0x566208(0x214)]],_0x172874=0x0,_0x55ffcd=0x1,_0x34495b=0x2,_0x16dc05=0x3,_0x51f6ed=0x4,_0x845a32=0x5,_0xf0f2a5=0x6;class _0x3285f4 extends _0x33b770{constructor(_0x507938={}){const _0x53e177=_0x566208;super(),this['_allowSynchronousEvents']=_0x507938[_0x53e177(0x20f)]!==void 0x0?_0x507938[_0x53e177(0x20f)]:!0x0,this[_0x53e177(0x1c8)]=_0x507938[_0x53e177(0x2c3)]||_0x5210e2[0x0],this['_extensions']=_0x507938[_0x53e177(0x16a)]||{},this['_isServer']=!!_0x507938[_0x53e177(0x163)],this[_0x53e177(0x174)]=_0x507938[_0x53e177(0x2b2)]|0x0,this[_0x53e177(0x24e)]=!!_0x507938[_0x53e177(0x1b0)],this[_0x605874]=void 0x0,this[_0x53e177(0x2ba)]=0x0,this['_buffers']=[],this[_0x53e177(0x14e)]=!0x1,this[_0x53e177(0x286)]=0x0,this[_0x53e177(0x22b)]=void 0x0,this['_fragmented']=0x0,this[_0x53e177(0x23a)]=!0x1,this[_0x53e177(0x1ed)]=!0x1,this['_opcode']=0x0,this[_0x53e177(0x271)]=0x0,this['_messageLength']=0x0,this[_0x53e177(0x29d)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this[_0x53e177(0x2a5)]=_0x172874;}[_0x566208(0x1db)](_0x7cf83b,_0x29c79a,_0x571cc5){const _0x1867f0=_0x566208;if(this[_0x1867f0(0x212)]===0x8&&this[_0x1867f0(0x2a5)]==_0x172874)return _0x571cc5();this[_0x1867f0(0x2ba)]+=_0x7cf83b[_0x1867f0(0x1ee)],this['_buffers'][_0x1867f0(0x1b4)](_0x7cf83b),this[_0x1867f0(0x1c5)](_0x571cc5);}[_0x566208(0x1e3)](_0x56094d){const _0x4f7a06=_0x566208;if(this[_0x4f7a06(0x2ba)]-=_0x56094d,_0x56094d===this[_0x4f7a06(0x121)][0x0][_0x4f7a06(0x1ee)])return this[_0x4f7a06(0x121)][_0x4f7a06(0x209)]();if(_0x56094d<this[_0x4f7a06(0x121)][0x0]['length']){const _0x120939=this[_0x4f7a06(0x121)][0x0];return this[_0x4f7a06(0x121)][0x0]=new _0x243a40(_0x120939[_0x4f7a06(0x274)],_0x120939[_0x4f7a06(0x28e)]+_0x56094d,_0x120939[_0x4f7a06(0x1ee)]-_0x56094d),new _0x243a40(_0x120939['buffer'],_0x120939[_0x4f7a06(0x28e)],_0x56094d);}const _0x387415=Buffer[_0x4f7a06(0x1cf)](_0x56094d);do{const _0x3e7bbf=this['_buffers'][0x0],_0x24a594=_0x387415[_0x4f7a06(0x1ee)]-_0x56094d;_0x56094d>=_0x3e7bbf[_0x4f7a06(0x1ee)]?_0x387415[_0x4f7a06(0x240)](this[_0x4f7a06(0x121)][_0x4f7a06(0x209)](),_0x24a594):(_0x387415[_0x4f7a06(0x240)](new Uint8Array(_0x3e7bbf[_0x4f7a06(0x274)],_0x3e7bbf[_0x4f7a06(0x28e)],_0x56094d),_0x24a594),this[_0x4f7a06(0x121)][0x0]=new _0x243a40(_0x3e7bbf[_0x4f7a06(0x274)],_0x3e7bbf[_0x4f7a06(0x28e)]+_0x56094d,_0x3e7bbf[_0x4f7a06(0x1ee)]-_0x56094d)),_0x56094d-=_0x3e7bbf['length'];}while(_0x56094d>0x0);return _0x387415;}['startLoop'](_0x1e2da1){const _0x2c0155=_0x566208;this[_0x2c0155(0x186)]=!0x0;do switch(this[_0x2c0155(0x2a5)]){case _0x172874:this[_0x2c0155(0x1f8)](_0x1e2da1);break;case _0x55ffcd:this[_0x2c0155(0x2ad)](_0x1e2da1);break;case _0x34495b:this['getPayloadLength64'](_0x1e2da1);break;case _0x16dc05:this[_0x2c0155(0x1d6)]();break;case _0x51f6ed:this[_0x2c0155(0x16e)](_0x1e2da1);break;case _0x845a32:case _0xf0f2a5:this[_0x2c0155(0x186)]=!0x1;return;}while(this['_loop']);this[_0x2c0155(0x285)]||_0x1e2da1();}[_0x566208(0x1f8)](_0x547d2d){const _0x4f2a1b=_0x566208;if(this[_0x4f2a1b(0x2ba)]<0x2){this[_0x4f2a1b(0x186)]=!0x1;return;}const _0x3623fe=this[_0x4f2a1b(0x1e3)](0x2);if((_0x3623fe[0x0]&0x30)!==0x0){const _0x2cf7de=this['createError'](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x547d2d(_0x2cf7de);return;}const _0x55f35e=(_0x3623fe[0x0]&0x40)===0x40;if(_0x55f35e&&!this[_0x4f2a1b(0x167)][_0xe6c2c4['extensionName']]){const _0x397f6b=this[_0x4f2a1b(0x228)](RangeError,_0x4f2a1b(0x128),!0x0,0x3ea,_0x4f2a1b(0x133));_0x547d2d(_0x397f6b);return;}if(this[_0x4f2a1b(0x1ed)]=(_0x3623fe[0x0]&0x80)===0x80,this[_0x4f2a1b(0x212)]=_0x3623fe[0x0]&0xf,this[_0x4f2a1b(0x286)]=_0x3623fe[0x1]&0x7f,this[_0x4f2a1b(0x212)]===0x0){if(_0x55f35e){const _0xab5fe8=this[_0x4f2a1b(0x228)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x4f2a1b(0x133));_0x547d2d(_0xab5fe8);return;}if(!this[_0x4f2a1b(0x1f7)]){const _0x25531d=this[_0x4f2a1b(0x228)](RangeError,_0x4f2a1b(0x20d),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x547d2d(_0x25531d);return;}this[_0x4f2a1b(0x212)]=this['_fragmented'];}else{if(this[_0x4f2a1b(0x212)]===0x1||this[_0x4f2a1b(0x212)]===0x2){if(this['_fragmented']){const _0x5a6ae2=this[_0x4f2a1b(0x228)](RangeError,'invalid\x20opcode\x20'+this[_0x4f2a1b(0x212)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x547d2d(_0x5a6ae2);return;}this[_0x4f2a1b(0x14e)]=_0x55f35e;}else{if(this[_0x4f2a1b(0x212)]>0x7&&this[_0x4f2a1b(0x212)]<0xb){if(!this[_0x4f2a1b(0x1ed)]){const _0x25f24e=this[_0x4f2a1b(0x228)](RangeError,_0x4f2a1b(0x141),!0x0,0x3ea,_0x4f2a1b(0x272));_0x547d2d(_0x25f24e);return;}if(_0x55f35e){const _0x344e1f=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x547d2d(_0x344e1f);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this[_0x4f2a1b(0x286)]===0x1){const _0x1e4786=this[_0x4f2a1b(0x228)](RangeError,_0x4f2a1b(0x253)+this[_0x4f2a1b(0x286)],!0x0,0x3ea,_0x4f2a1b(0x232));_0x547d2d(_0x1e4786);return;}}else{const _0x38addf=this[_0x4f2a1b(0x228)](RangeError,_0x4f2a1b(0x13b)+this[_0x4f2a1b(0x212)],!0x0,0x3ea,_0x4f2a1b(0x1da));_0x547d2d(_0x38addf);return;}}}if(!this['_fin']&&!this[_0x4f2a1b(0x1f7)]&&(this[_0x4f2a1b(0x1f7)]=this['_opcode']),this['_masked']=(_0x3623fe[0x1]&0x80)===0x80,this[_0x4f2a1b(0x1ae)]){if(!this[_0x4f2a1b(0x23a)]){const _0x4e4713=this[_0x4f2a1b(0x228)](RangeError,_0x4f2a1b(0x1d3),!0x0,0x3ea,_0x4f2a1b(0x208));_0x547d2d(_0x4e4713);return;}}else{if(this[_0x4f2a1b(0x23a)]){const _0x4b4787=this[_0x4f2a1b(0x228)](RangeError,_0x4f2a1b(0x2a0),!0x0,0x3ea,_0x4f2a1b(0x241));_0x547d2d(_0x4b4787);return;}}this[_0x4f2a1b(0x286)]===0x7e?this[_0x4f2a1b(0x2a5)]=_0x55ffcd:this[_0x4f2a1b(0x286)]===0x7f?this[_0x4f2a1b(0x2a5)]=_0x34495b:this['haveLength'](_0x547d2d);}[_0x566208(0x2ad)](_0x4501b0){const _0x2187db=_0x566208;if(this[_0x2187db(0x2ba)]<0x2){this[_0x2187db(0x186)]=!0x1;return;}this[_0x2187db(0x286)]=this['consume'](0x2)[_0x2187db(0x150)](0x0),this[_0x2187db(0x1af)](_0x4501b0);}[_0x566208(0x238)](_0x277517){const _0x383533=_0x566208;if(this[_0x383533(0x2ba)]<0x8){this[_0x383533(0x186)]=!0x1;return;}const _0x2de113=this[_0x383533(0x1e3)](0x8),_0x40d96b=_0x2de113[_0x383533(0x1de)](0x0);if(_0x40d96b>Math[_0x383533(0x1fe)](0x2,0x15)-0x1){const _0x2635b7=this[_0x383533(0x228)](RangeError,_0x383533(0x257),!0x1,0x3f1,_0x383533(0x1c6));_0x277517(_0x2635b7);return;}this[_0x383533(0x286)]=_0x40d96b*Math[_0x383533(0x1fe)](0x2,0x20)+_0x2de113[_0x383533(0x1de)](0x4),this[_0x383533(0x1af)](_0x277517);}[_0x566208(0x1af)](_0x50bb69){const _0x46ab73=_0x566208;if(this[_0x46ab73(0x286)]&&this['_opcode']<0x8&&(this[_0x46ab73(0x271)]+=this[_0x46ab73(0x286)],this['_totalPayloadLength']>this['_maxPayload']&&this[_0x46ab73(0x174)]>0x0)){const _0x53deb8=this[_0x46ab73(0x228)](RangeError,_0x46ab73(0x148),!0x1,0x3f1,_0x46ab73(0x250));_0x50bb69(_0x53deb8);return;}this['_masked']?this[_0x46ab73(0x2a5)]=_0x16dc05:this['_state']=_0x51f6ed;}['getMask'](){const _0x5a540d=_0x566208;if(this[_0x5a540d(0x2ba)]<0x4){this[_0x5a540d(0x186)]=!0x1;return;}this[_0x5a540d(0x22b)]=this[_0x5a540d(0x1e3)](0x4),this[_0x5a540d(0x2a5)]=_0x51f6ed;}[_0x566208(0x16e)](_0x5f454d){const _0x5cd268=_0x566208;let _0x4c1f2a=_0x42f4d0;if(this['_payloadLength']){if(this[_0x5cd268(0x2ba)]<this[_0x5cd268(0x286)]){this[_0x5cd268(0x186)]=!0x1;return;}_0x4c1f2a=this[_0x5cd268(0x1e3)](this[_0x5cd268(0x286)]),this['_masked']&&(this['_mask'][0x0]|this[_0x5cd268(0x22b)][0x1]|this['_mask'][0x2]|this[_0x5cd268(0x22b)][0x3])!==0x0&&_0x114c10(_0x4c1f2a,this[_0x5cd268(0x22b)]);}if(this[_0x5cd268(0x212)]>0x7){this[_0x5cd268(0x25f)](_0x4c1f2a,_0x5f454d);return;}if(this[_0x5cd268(0x14e)]){this[_0x5cd268(0x2a5)]=_0x845a32,this['decompress'](_0x4c1f2a,_0x5f454d);return;}_0x4c1f2a[_0x5cd268(0x1ee)]&&(this[_0x5cd268(0x147)]=this[_0x5cd268(0x271)],this['_fragments']['push'](_0x4c1f2a)),this[_0x5cd268(0x13a)](_0x5f454d);}[_0x566208(0x188)](_0x30ce45,_0x33a27e){const _0x524be2=_0x566208;this[_0x524be2(0x167)][_0xe6c2c4[_0x524be2(0x2b6)]][_0x524be2(0x188)](_0x30ce45,this[_0x524be2(0x1ed)],(_0x596302,_0x27be7e)=>{const _0x3006eb=_0x524be2;if(_0x596302)return _0x33a27e(_0x596302);if(_0x27be7e['length']){if(this['_messageLength']+=_0x27be7e[_0x3006eb(0x1ee)],this[_0x3006eb(0x147)]>this['_maxPayload']&&this[_0x3006eb(0x174)]>0x0){const _0x4bb8ac=this[_0x3006eb(0x228)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x3006eb(0x250));_0x33a27e(_0x4bb8ac);return;}this[_0x3006eb(0x29d)][_0x3006eb(0x1b4)](_0x27be7e);}this[_0x3006eb(0x13a)](_0x33a27e),this[_0x3006eb(0x2a5)]===_0x172874&&this['startLoop'](_0x33a27e);});}['dataMessage'](_0x197d96){const _0x377c1d=_0x566208;if(!this[_0x377c1d(0x1ed)]){this['_state']=_0x172874;return;}const _0x570159=this[_0x377c1d(0x147)],_0xbe00c6=this[_0x377c1d(0x29d)];if(this[_0x377c1d(0x271)]=0x0,this[_0x377c1d(0x147)]=0x0,this[_0x377c1d(0x1f7)]=0x0,this[_0x377c1d(0x29d)]=[],this[_0x377c1d(0x212)]===0x2){let _0x13d1cf;this[_0x377c1d(0x1c8)]==='nodebuffer'?_0x13d1cf=_0x28039e(_0xbe00c6,_0x570159):this['_binaryType']==='arraybuffer'?_0x13d1cf=_0x467337(_0x28039e(_0xbe00c6,_0x570159)):this[_0x377c1d(0x1c8)]==='blob'?_0x13d1cf=new Blob(_0xbe00c6):_0x13d1cf=_0xbe00c6,this['_allowSynchronousEvents']?(this[_0x377c1d(0x268)](_0x377c1d(0x1bc),_0x13d1cf,!0x0),this[_0x377c1d(0x2a5)]=_0x172874):(this[_0x377c1d(0x2a5)]=_0xf0f2a5,setImmediate(()=>{const _0x25c72f=_0x377c1d;this[_0x25c72f(0x268)]('message',_0x13d1cf,!0x0),this[_0x25c72f(0x2a5)]=_0x172874,this[_0x25c72f(0x1c5)](_0x197d96);}));}else{const _0x4d93f8=_0x28039e(_0xbe00c6,_0x570159);if(!this[_0x377c1d(0x24e)]&&!_0xe701c1(_0x4d93f8)){const _0xb65d0d=this[_0x377c1d(0x228)](Error,_0x377c1d(0x14d),!0x0,0x3ef,_0x377c1d(0x1dc));_0x197d96(_0xb65d0d);return;}this['_state']===_0x845a32||this[_0x377c1d(0x1bb)]?(this[_0x377c1d(0x268)](_0x377c1d(0x1bc),_0x4d93f8,!0x1),this['_state']=_0x172874):(this[_0x377c1d(0x2a5)]=_0xf0f2a5,setImmediate(()=>{const _0x444f52=_0x377c1d;this[_0x444f52(0x268)](_0x444f52(0x1bc),_0x4d93f8,!0x1),this[_0x444f52(0x2a5)]=_0x172874,this['startLoop'](_0x197d96);}));}}[_0x566208(0x25f)](_0x59136a,_0x51d2c4){const _0x28fb95=_0x566208;if(this[_0x28fb95(0x212)]===0x8){if(_0x59136a[_0x28fb95(0x1ee)]===0x0)this[_0x28fb95(0x186)]=!0x1,this['emit']('conclude',0x3ed,_0x42f4d0),this[_0x28fb95(0x164)]();else{const _0x57a92b=_0x59136a['readUInt16BE'](0x0);if(!_0x349803(_0x57a92b)){const _0x561dfa=this[_0x28fb95(0x228)](RangeError,'invalid\x20status\x20code\x20'+_0x57a92b,!0x0,0x3ea,_0x28fb95(0x275));_0x51d2c4(_0x561dfa);return;}const _0x3ed0ea=new _0x243a40(_0x59136a[_0x28fb95(0x274)],_0x59136a[_0x28fb95(0x28e)]+0x2,_0x59136a[_0x28fb95(0x1ee)]-0x2);if(!this['_skipUTF8Validation']&&!_0xe701c1(_0x3ed0ea)){const _0x250d69=this[_0x28fb95(0x228)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x28fb95(0x1dc));_0x51d2c4(_0x250d69);return;}this[_0x28fb95(0x186)]=!0x1,this[_0x28fb95(0x268)](_0x28fb95(0x1ab),_0x57a92b,_0x3ed0ea),this[_0x28fb95(0x164)]();}this[_0x28fb95(0x2a5)]=_0x172874;return;}this[_0x28fb95(0x1bb)]?(this[_0x28fb95(0x268)](this[_0x28fb95(0x212)]===0x9?_0x28fb95(0x28b):_0x28fb95(0x18a),_0x59136a),this['_state']=_0x172874):(this[_0x28fb95(0x2a5)]=_0xf0f2a5,setImmediate(()=>{const _0x5dc77d=_0x28fb95;this[_0x5dc77d(0x268)](this[_0x5dc77d(0x212)]===0x9?'ping':_0x5dc77d(0x18a),_0x59136a),this[_0x5dc77d(0x2a5)]=_0x172874,this['startLoop'](_0x51d2c4);}));}[_0x566208(0x228)](_0x49d271,_0x1c81a4,_0x13fd75,_0x440cb0,_0x391b24){const _0x285db2=_0x566208;this[_0x285db2(0x186)]=!0x1,this[_0x285db2(0x285)]=!0x0;const _0x578b10=new _0x49d271(_0x13fd75?_0x285db2(0x25e)+_0x1c81a4:_0x1c81a4);return Error[_0x285db2(0x157)](_0x578b10,this['createError']),_0x578b10[_0x285db2(0x14c)]=_0x391b24,_0x578b10[_0x9b3164]=_0x440cb0,_0x578b10;}}return Se=_0x3285f4,Se;}var Ee,et;function _t(){const _0x25a91b=_0x4102fe;if(et)return Ee;et=0x1;const {Duplex:_0x5f7b42}=_0x291c6a,{randomFillSync:_0x18275e}=_0x210ea4,_0x29e561=he(),{EMPTY_BUFFER:_0x522ca4,kWebSocket:_0x1032af,NOOP:_0xdc0fe0}=V(),{isBlob:_0xd6fba4,isValidStatusCode:_0x131b43}=ne(),{mask:_0x4dd18c,toBuffer:_0x45fe62}=ce(),_0x504bf0=Symbol(_0x25a91b(0x298)),_0x4d9354=Buffer[_0x25a91b(0x169)](0x4),_0x18f4be=0x8*0x400;let _0x44e46e,_0x16f0bc=_0x18f4be;const _0x17453b=0x0,_0x17076c=0x1,_0x18ff12=0x2;class _0x1effab{constructor(_0x4ede78,_0x2ba722,_0x2018b6){const _0x4b3228=_0x25a91b;this['_extensions']=_0x2ba722||{},_0x2018b6&&(this[_0x4b3228(0x29b)]=_0x2018b6,this[_0x4b3228(0x160)]=Buffer[_0x4b3228(0x169)](0x4)),this[_0x4b3228(0x138)]=_0x4ede78,this[_0x4b3228(0x27c)]=!0x0,this[_0x4b3228(0x2b1)]=!0x1,this[_0x4b3228(0x2ba)]=0x0,this[_0x4b3228(0x221)]=[],this[_0x4b3228(0x2a5)]=_0x17453b,this[_0x4b3228(0x28f)]=_0xdc0fe0,this[_0x1032af]=void 0x0;}static['frame'](_0x37ee6f,_0x57dc12){const _0xb3b71c=_0x25a91b;let _0x5c5ef8,_0x33fe2a=!0x1,_0x5a9110=0x2,_0x31bf87=!0x1;_0x57dc12[_0xb3b71c(0x1e6)]&&(_0x5c5ef8=_0x57dc12[_0xb3b71c(0x12b)]||_0x4d9354,_0x57dc12[_0xb3b71c(0x25d)]?_0x57dc12[_0xb3b71c(0x25d)](_0x5c5ef8):(_0x16f0bc===_0x18f4be&&(_0x44e46e===void 0x0&&(_0x44e46e=Buffer[_0xb3b71c(0x169)](_0x18f4be)),_0x18275e(_0x44e46e,0x0,_0x18f4be),_0x16f0bc=0x0),_0x5c5ef8[0x0]=_0x44e46e[_0x16f0bc++],_0x5c5ef8[0x1]=_0x44e46e[_0x16f0bc++],_0x5c5ef8[0x2]=_0x44e46e[_0x16f0bc++],_0x5c5ef8[0x3]=_0x44e46e[_0x16f0bc++]),_0x31bf87=(_0x5c5ef8[0x0]|_0x5c5ef8[0x1]|_0x5c5ef8[0x2]|_0x5c5ef8[0x3])===0x0,_0x5a9110=0x6);let _0x1820a8;typeof _0x37ee6f==_0xb3b71c(0x26f)?(!_0x57dc12[_0xb3b71c(0x1e6)]||_0x31bf87)&&_0x57dc12[_0x504bf0]!==void 0x0?_0x1820a8=_0x57dc12[_0x504bf0]:(_0x37ee6f=Buffer[_0xb3b71c(0x270)](_0x37ee6f),_0x1820a8=_0x37ee6f['length']):(_0x1820a8=_0x37ee6f[_0xb3b71c(0x1ee)],_0x33fe2a=_0x57dc12[_0xb3b71c(0x1e6)]&&_0x57dc12[_0xb3b71c(0x2c6)]&&!_0x31bf87);let _0x10f6a4=_0x1820a8;_0x1820a8>=0x10000?(_0x5a9110+=0x8,_0x10f6a4=0x7f):_0x1820a8>0x7d&&(_0x5a9110+=0x2,_0x10f6a4=0x7e);const _0x56f892=Buffer[_0xb3b71c(0x1cf)](_0x33fe2a?_0x1820a8+_0x5a9110:_0x5a9110);return _0x56f892[0x0]=_0x57dc12[_0xb3b71c(0x2af)]?_0x57dc12[_0xb3b71c(0x277)]|0x80:_0x57dc12['opcode'],_0x57dc12['rsv1']&&(_0x56f892[0x0]|=0x40),_0x56f892[0x1]=_0x10f6a4,_0x10f6a4===0x7e?_0x56f892['writeUInt16BE'](_0x1820a8,0x2):_0x10f6a4===0x7f&&(_0x56f892[0x2]=_0x56f892[0x3]=0x0,_0x56f892[_0xb3b71c(0x263)](_0x1820a8,0x4,0x6)),_0x57dc12['mask']?(_0x56f892[0x1]|=0x80,_0x56f892[_0x5a9110-0x4]=_0x5c5ef8[0x0],_0x56f892[_0x5a9110-0x3]=_0x5c5ef8[0x1],_0x56f892[_0x5a9110-0x2]=_0x5c5ef8[0x2],_0x56f892[_0x5a9110-0x1]=_0x5c5ef8[0x3],_0x31bf87?[_0x56f892,_0x37ee6f]:_0x33fe2a?(_0x4dd18c(_0x37ee6f,_0x5c5ef8,_0x56f892,_0x5a9110,_0x1820a8),[_0x56f892]):(_0x4dd18c(_0x37ee6f,_0x5c5ef8,_0x37ee6f,0x0,_0x1820a8),[_0x56f892,_0x37ee6f])):[_0x56f892,_0x37ee6f];}[_0x25a91b(0x27f)](_0x5d9c7b,_0x50c31e,_0x372d4e,_0x252637){const _0x5e895e=_0x25a91b;let _0x25c3a6;if(_0x5d9c7b===void 0x0)_0x25c3a6=_0x522ca4;else{if(typeof _0x5d9c7b!=_0x5e895e(0x2c4)||!_0x131b43(_0x5d9c7b))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x50c31e===void 0x0||!_0x50c31e[_0x5e895e(0x1ee)])_0x25c3a6=Buffer[_0x5e895e(0x1cf)](0x2),_0x25c3a6['writeUInt16BE'](_0x5d9c7b,0x0);else{const _0x5b8dd2=Buffer[_0x5e895e(0x226)](_0x50c31e);if(_0x5b8dd2>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x25c3a6=Buffer[_0x5e895e(0x1cf)](0x2+_0x5b8dd2),_0x25c3a6[_0x5e895e(0x1be)](_0x5d9c7b,0x0),typeof _0x50c31e==_0x5e895e(0x26f)?_0x25c3a6[_0x5e895e(0x21e)](_0x50c31e,0x2):_0x25c3a6[_0x5e895e(0x240)](_0x50c31e,0x2);}}const _0x10b21e={[_0x504bf0]:_0x25c3a6[_0x5e895e(0x1ee)],'fin':!0x0,'generateMask':this[_0x5e895e(0x29b)],'mask':_0x372d4e,'maskBuffer':this[_0x5e895e(0x160)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x5e895e(0x2a5)]!==_0x17453b?this[_0x5e895e(0x25a)]([this[_0x5e895e(0x291)],_0x25c3a6,!0x1,_0x10b21e,_0x252637]):this[_0x5e895e(0x15b)](_0x1effab[_0x5e895e(0x24c)](_0x25c3a6,_0x10b21e),_0x252637);}[_0x25a91b(0x28b)](_0x2e58e2,_0x311e11,_0x6084cc){const _0x2b1b4c=_0x25a91b;let _0x3a03d4,_0x5aae54;if(typeof _0x2e58e2==_0x2b1b4c(0x26f)?(_0x3a03d4=Buffer[_0x2b1b4c(0x226)](_0x2e58e2),_0x5aae54=!0x1):_0xd6fba4(_0x2e58e2)?(_0x3a03d4=_0x2e58e2[_0x2b1b4c(0x19b)],_0x5aae54=!0x1):(_0x2e58e2=_0x45fe62(_0x2e58e2),_0x3a03d4=_0x2e58e2[_0x2b1b4c(0x1ee)],_0x5aae54=_0x45fe62[_0x2b1b4c(0x2c6)]),_0x3a03d4>0x7d)throw new RangeError(_0x2b1b4c(0x2ce));const _0xe68ce5={[_0x504bf0]:_0x3a03d4,'fin':!0x0,'generateMask':this[_0x2b1b4c(0x29b)],'mask':_0x311e11,'maskBuffer':this[_0x2b1b4c(0x160)],'opcode':0x9,'readOnly':_0x5aae54,'rsv1':!0x1};_0xd6fba4(_0x2e58e2)?this[_0x2b1b4c(0x2a5)]!==_0x17453b?this[_0x2b1b4c(0x25a)]([this[_0x2b1b4c(0x26b)],_0x2e58e2,!0x1,_0xe68ce5,_0x6084cc]):this[_0x2b1b4c(0x26b)](_0x2e58e2,!0x1,_0xe68ce5,_0x6084cc):this['_state']!==_0x17453b?this['enqueue']([this[_0x2b1b4c(0x291)],_0x2e58e2,!0x1,_0xe68ce5,_0x6084cc]):this[_0x2b1b4c(0x15b)](_0x1effab[_0x2b1b4c(0x24c)](_0x2e58e2,_0xe68ce5),_0x6084cc);}[_0x25a91b(0x18a)](_0xba4347,_0x21fe37,_0x33d9ae){const _0x30eed9=_0x25a91b;let _0x233b3b,_0x289671;if(typeof _0xba4347==_0x30eed9(0x26f)?(_0x233b3b=Buffer[_0x30eed9(0x226)](_0xba4347),_0x289671=!0x1):_0xd6fba4(_0xba4347)?(_0x233b3b=_0xba4347[_0x30eed9(0x19b)],_0x289671=!0x1):(_0xba4347=_0x45fe62(_0xba4347),_0x233b3b=_0xba4347['length'],_0x289671=_0x45fe62[_0x30eed9(0x2c6)]),_0x233b3b>0x7d)throw new RangeError(_0x30eed9(0x2ce));const _0xc692ad={[_0x504bf0]:_0x233b3b,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x21fe37,'maskBuffer':this[_0x30eed9(0x160)],'opcode':0xa,'readOnly':_0x289671,'rsv1':!0x1};_0xd6fba4(_0xba4347)?this[_0x30eed9(0x2a5)]!==_0x17453b?this[_0x30eed9(0x25a)]([this[_0x30eed9(0x26b)],_0xba4347,!0x1,_0xc692ad,_0x33d9ae]):this[_0x30eed9(0x26b)](_0xba4347,!0x1,_0xc692ad,_0x33d9ae):this[_0x30eed9(0x2a5)]!==_0x17453b?this[_0x30eed9(0x25a)]([this[_0x30eed9(0x291)],_0xba4347,!0x1,_0xc692ad,_0x33d9ae]):this[_0x30eed9(0x15b)](_0x1effab[_0x30eed9(0x24c)](_0xba4347,_0xc692ad),_0x33d9ae);}[_0x25a91b(0x19f)](_0x2d2036,_0x3f8555,_0x281c24){const _0x46e271=_0x25a91b,_0x4ad8d9=this[_0x46e271(0x167)][_0x29e561[_0x46e271(0x2b6)]];let _0x29d903=_0x3f8555[_0x46e271(0x1d1)]?0x2:0x1,_0x1041fe=_0x3f8555['compress'],_0x2cd790,_0xcd5c99;typeof _0x2d2036=='string'?(_0x2cd790=Buffer['byteLength'](_0x2d2036),_0xcd5c99=!0x1):_0xd6fba4(_0x2d2036)?(_0x2cd790=_0x2d2036[_0x46e271(0x19b)],_0xcd5c99=!0x1):(_0x2d2036=_0x45fe62(_0x2d2036),_0x2cd790=_0x2d2036['length'],_0xcd5c99=_0x45fe62[_0x46e271(0x2c6)]),this[_0x46e271(0x27c)]?(this['_firstFragment']=!0x1,_0x1041fe&&_0x4ad8d9&&_0x4ad8d9['params'][_0x4ad8d9['_isServer']?_0x46e271(0x2be):_0x46e271(0x1ad)]&&(_0x1041fe=_0x2cd790>=_0x4ad8d9[_0x46e271(0x1b3)]),this['_compress']=_0x1041fe):(_0x1041fe=!0x1,_0x29d903=0x0),_0x3f8555['fin']&&(this['_firstFragment']=!0x0);const _0x198a68={[_0x504bf0]:_0x2cd790,'fin':_0x3f8555[_0x46e271(0x2af)],'generateMask':this[_0x46e271(0x29b)],'mask':_0x3f8555[_0x46e271(0x1e6)],'maskBuffer':this['_maskBuffer'],'opcode':_0x29d903,'readOnly':_0xcd5c99,'rsv1':_0x1041fe};_0xd6fba4(_0x2d2036)?this[_0x46e271(0x2a5)]!==_0x17453b?this[_0x46e271(0x25a)]([this[_0x46e271(0x26b)],_0x2d2036,this[_0x46e271(0x2b1)],_0x198a68,_0x281c24]):this['getBlobData'](_0x2d2036,this['_compress'],_0x198a68,_0x281c24):this[_0x46e271(0x2a5)]!==_0x17453b?this['enqueue']([this[_0x46e271(0x291)],_0x2d2036,this[_0x46e271(0x2b1)],_0x198a68,_0x281c24]):this[_0x46e271(0x291)](_0x2d2036,this[_0x46e271(0x2b1)],_0x198a68,_0x281c24);}[_0x25a91b(0x26b)](_0x46ae76,_0x2f9448,_0x52dc80,_0x5b562a){const _0x4c0a4e=_0x25a91b;this[_0x4c0a4e(0x2ba)]+=_0x52dc80[_0x504bf0],this[_0x4c0a4e(0x2a5)]=_0x18ff12,_0x46ae76['arrayBuffer']()[_0x4c0a4e(0x2b9)](_0x46fc1c=>{const _0x50aa9d=_0x4c0a4e;if(this['_socket'][_0x50aa9d(0x1aa)]){const _0x4f4a64=new Error(_0x50aa9d(0x1b2));process[_0x50aa9d(0x2bf)](_0x2fbd20,this,_0x4f4a64,_0x5b562a);return;}this[_0x50aa9d(0x2ba)]-=_0x52dc80[_0x504bf0];const _0xf348db=_0x45fe62(_0x46fc1c);_0x2f9448?this[_0x50aa9d(0x291)](_0xf348db,_0x2f9448,_0x52dc80,_0x5b562a):(this['_state']=_0x17453b,this[_0x50aa9d(0x15b)](_0x1effab['frame'](_0xf348db,_0x52dc80),_0x5b562a),this[_0x50aa9d(0x145)]());})[_0x4c0a4e(0x216)](_0x246669=>{const _0x249b45=_0x4c0a4e;process[_0x249b45(0x2bf)](_0x369939,this,_0x246669,_0x5b562a);});}['dispatch'](_0x1f701f,_0x214ef1,_0x284811,_0x42c2f6){const _0x3683d7=_0x25a91b;if(!_0x214ef1){this['sendFrame'](_0x1effab['frame'](_0x1f701f,_0x284811),_0x42c2f6);return;}const _0x19fa6c=this[_0x3683d7(0x167)][_0x29e561[_0x3683d7(0x2b6)]];this[_0x3683d7(0x2ba)]+=_0x284811[_0x504bf0],this[_0x3683d7(0x2a5)]=_0x17076c,_0x19fa6c[_0x3683d7(0x1ef)](_0x1f701f,_0x284811[_0x3683d7(0x2af)],(_0x52d6a4,_0x1eaf41)=>{const _0x1ea37d=_0x3683d7;if(this[_0x1ea37d(0x138)]['destroyed']){const _0x477361=new Error(_0x1ea37d(0x280));_0x2fbd20(this,_0x477361,_0x42c2f6);return;}this[_0x1ea37d(0x2ba)]-=_0x284811[_0x504bf0],this[_0x1ea37d(0x2a5)]=_0x17453b,_0x284811[_0x1ea37d(0x2c6)]=!0x1,this[_0x1ea37d(0x15b)](_0x1effab[_0x1ea37d(0x24c)](_0x1eaf41,_0x284811),_0x42c2f6),this['dequeue']();});}[_0x25a91b(0x145)](){const _0x57dd7f=_0x25a91b;for(;this[_0x57dd7f(0x2a5)]===_0x17453b&&this['_queue'][_0x57dd7f(0x1ee)];){const _0x1ccd05=this[_0x57dd7f(0x221)][_0x57dd7f(0x209)]();this[_0x57dd7f(0x2ba)]-=_0x1ccd05[0x3][_0x504bf0],Reflect[_0x57dd7f(0x144)](_0x1ccd05[0x0],this,_0x1ccd05['slice'](0x1));}}[_0x25a91b(0x25a)](_0x5f574b){const _0xbdf61c=_0x25a91b;this[_0xbdf61c(0x2ba)]+=_0x5f574b[0x3][_0x504bf0],this[_0xbdf61c(0x221)][_0xbdf61c(0x1b4)](_0x5f574b);}['sendFrame'](_0x3d6d4c,_0x23f72b){const _0x153efa=_0x25a91b;_0x3d6d4c[_0x153efa(0x1ee)]===0x2?(this[_0x153efa(0x138)][_0x153efa(0x1b6)](),this[_0x153efa(0x138)]['write'](_0x3d6d4c[0x0]),this['_socket'][_0x153efa(0x21e)](_0x3d6d4c[0x1],_0x23f72b),this[_0x153efa(0x138)][_0x153efa(0x27e)]()):this['_socket']['write'](_0x3d6d4c[0x0],_0x23f72b);}}Ee=_0x1effab;function _0x2fbd20(_0x17ae1f,_0x2974ce,_0x150a27){const _0x1ca7c5=_0x25a91b;typeof _0x150a27=='function'&&_0x150a27(_0x2974ce);for(let _0x25df15=0x0;_0x25df15<_0x17ae1f[_0x1ca7c5(0x221)][_0x1ca7c5(0x1ee)];_0x25df15++){const _0x377922=_0x17ae1f[_0x1ca7c5(0x221)][_0x25df15],_0x5e7dc2=_0x377922[_0x377922[_0x1ca7c5(0x1ee)]-0x1];typeof _0x5e7dc2==_0x1ca7c5(0x2a4)&&_0x5e7dc2(_0x2974ce);}}function _0x369939(_0x3fd58b,_0x960619,_0x247cf9){const _0x3d9b2c=_0x25a91b;_0x2fbd20(_0x3fd58b,_0x960619,_0x247cf9),_0x3fd58b[_0x3d9b2c(0x28f)](_0x960619);}return Ee;}var xe,tt;function Kt(){const _0x5ba5b6=_0x4102fe;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x1bae1e,kListener:_0xc23375}=V(),_0x2b8292=Symbol('kCode'),_0x36ef6a=Symbol(_0x5ba5b6(0x235)),_0x149df7=Symbol(_0x5ba5b6(0x184)),_0x267583=Symbol(_0x5ba5b6(0x137)),_0x48e781=Symbol(_0x5ba5b6(0x12a)),_0x2901ee=Symbol(_0x5ba5b6(0x254)),_0x2dd5fa=Symbol(_0x5ba5b6(0x1d9)),_0x32835d=Symbol('kWasClean');class _0x6696a7{constructor(_0x1bb5c1){this[_0x2901ee]=null,this[_0x2dd5fa]=_0x1bb5c1;}get['target'](){return this[_0x2901ee];}get[_0x5ba5b6(0x201)](){return this[_0x2dd5fa];}}Object[_0x5ba5b6(0x135)](_0x6696a7[_0x5ba5b6(0x13f)],'target',{'enumerable':!0x0}),Object[_0x5ba5b6(0x135)](_0x6696a7['prototype'],'type',{'enumerable':!0x0});class _0x11b27e extends _0x6696a7{constructor(_0x318c46,_0x351ce3={}){const _0xc1026d=_0x5ba5b6;super(_0x318c46),this[_0x2b8292]=_0x351ce3[_0xc1026d(0x14c)]===void 0x0?0x0:_0x351ce3[_0xc1026d(0x14c)],this[_0x48e781]=_0x351ce3[_0xc1026d(0x146)]===void 0x0?'':_0x351ce3[_0xc1026d(0x146)],this[_0x32835d]=_0x351ce3['wasClean']===void 0x0?!0x1:_0x351ce3[_0xc1026d(0x1a3)];}get[_0x5ba5b6(0x14c)](){return this[_0x2b8292];}get[_0x5ba5b6(0x146)](){return this[_0x48e781];}get[_0x5ba5b6(0x1a3)](){return this[_0x32835d];}}Object[_0x5ba5b6(0x135)](_0x11b27e[_0x5ba5b6(0x13f)],_0x5ba5b6(0x14c),{'enumerable':!0x0}),Object[_0x5ba5b6(0x135)](_0x11b27e[_0x5ba5b6(0x13f)],_0x5ba5b6(0x146),{'enumerable':!0x0}),Object['defineProperty'](_0x11b27e[_0x5ba5b6(0x13f)],_0x5ba5b6(0x1a3),{'enumerable':!0x0});class _0x43200a extends _0x6696a7{constructor(_0x11f13c,_0x2c600b={}){const _0x37e664=_0x5ba5b6;super(_0x11f13c),this[_0x149df7]=_0x2c600b[_0x37e664(0x189)]===void 0x0?null:_0x2c600b[_0x37e664(0x189)],this[_0x267583]=_0x2c600b['message']===void 0x0?'':_0x2c600b[_0x37e664(0x1bc)];}get[_0x5ba5b6(0x189)](){return this[_0x149df7];}get[_0x5ba5b6(0x1bc)](){return this[_0x267583];}}Object[_0x5ba5b6(0x135)](_0x43200a['prototype'],_0x5ba5b6(0x189),{'enumerable':!0x0}),Object[_0x5ba5b6(0x135)](_0x43200a[_0x5ba5b6(0x13f)],'message',{'enumerable':!0x0});class _0x13cf0b extends _0x6696a7{constructor(_0x531c82,_0x54c501={}){const _0x141baf=_0x5ba5b6;super(_0x531c82),this[_0x36ef6a]=_0x54c501[_0x141baf(0x2ca)]===void 0x0?null:_0x54c501[_0x141baf(0x2ca)];}get[_0x5ba5b6(0x2ca)](){return this[_0x36ef6a];}}Object[_0x5ba5b6(0x135)](_0x13cf0b[_0x5ba5b6(0x13f)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x11b27e,'ErrorEvent':_0x43200a,'Event':_0x6696a7,'EventTarget':{'addEventListener'(_0xad6fea,_0x35f224,_0x5617d3={}){const _0x4ff664=_0x5ba5b6;for(const _0x24539c of this[_0x4ff664(0x1a7)](_0xad6fea))if(!_0x5617d3[_0x1bae1e]&&_0x24539c[_0xc23375]===_0x35f224&&!_0x24539c[_0x1bae1e])return;let _0x1cd21f;if(_0xad6fea===_0x4ff664(0x1bc))_0x1cd21f=function(_0x218a59,_0x1b27f2){const _0x255e67=_0x4ff664,_0x359b0d=new _0x13cf0b(_0x255e67(0x1bc),{'data':_0x1b27f2?_0x218a59:_0x218a59[_0x255e67(0x26d)]()});_0x359b0d[_0x2901ee]=this,_0x123481(_0x35f224,this,_0x359b0d);};else{if(_0xad6fea===_0x4ff664(0x27f))_0x1cd21f=function(_0x483a62,_0x9d9fd6){const _0x3b0457=_0x4ff664,_0x43e36b=new _0x11b27e('close',{'code':_0x483a62,'reason':_0x9d9fd6[_0x3b0457(0x26d)](),'wasClean':this['_closeFrameReceived']&&this[_0x3b0457(0x255)]});_0x43e36b[_0x2901ee]=this,_0x123481(_0x35f224,this,_0x43e36b);};else{if(_0xad6fea==='error')_0x1cd21f=function(_0x4ce5bf){const _0x25511e=_0x4ff664,_0x22b06b=new _0x43200a(_0x25511e(0x189),{'error':_0x4ce5bf,'message':_0x4ce5bf['message']});_0x22b06b[_0x2901ee]=this,_0x123481(_0x35f224,this,_0x22b06b);};else{if(_0xad6fea==='open')_0x1cd21f=function(){const _0x4441b6=_0x4ff664,_0x151ae5=new _0x6696a7(_0x4441b6(0x2bd));_0x151ae5[_0x2901ee]=this,_0x123481(_0x35f224,this,_0x151ae5);};else return;}}}_0x1cd21f[_0x1bae1e]=!!_0x5617d3[_0x1bae1e],_0x1cd21f[_0xc23375]=_0x35f224,_0x5617d3['once']?this['once'](_0xad6fea,_0x1cd21f):this['on'](_0xad6fea,_0x1cd21f);},'removeEventListener'(_0x43ac4e,_0x320243){const _0x11536a=_0x5ba5b6;for(const _0x1e57a4 of this['listeners'](_0x43ac4e))if(_0x1e57a4[_0xc23375]===_0x320243&&!_0x1e57a4[_0x1bae1e]){this[_0x11536a(0x2cb)](_0x43ac4e,_0x1e57a4);break;}}},'MessageEvent':_0x13cf0b};function _0x123481(_0xb40050,_0x3ac2b6,_0x3d6016){const _0x2b6e6d=_0x5ba5b6;typeof _0xb40050==_0x2b6e6d(0x206)&&_0xb40050['handleEvent']?_0xb40050[_0x2b6e6d(0x204)][_0x2b6e6d(0x151)](_0xb40050,_0x3d6016):_0xb40050[_0x2b6e6d(0x151)](_0x3ac2b6,_0x3d6016);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x187794}=ne();function _0x5ad0d6(_0x15fdc9,_0x50254d,_0x5f3379){const _0x5476f0=_0xecf5;_0x15fdc9[_0x50254d]===void 0x0?_0x15fdc9[_0x50254d]=[_0x5f3379]:_0x15fdc9[_0x50254d][_0x5476f0(0x1b4)](_0x5f3379);}function _0x26398e(_0x4b1c0b){const _0x4da36c=_0xecf5,_0x2cebcf=Object['create'](null);let _0x3ab397=Object['create'](null),_0x245f62=!0x1,_0x2cff45=!0x1,_0x1d134e=!0x1,_0x41c7cb,_0x3b5478,_0x40f11d=-0x1,_0x1938a1=-0x1,_0x17d03e=-0x1,_0x409303=0x0;for(;_0x409303<_0x4b1c0b['length'];_0x409303++)if(_0x1938a1=_0x4b1c0b[_0x4da36c(0x1ff)](_0x409303),_0x41c7cb===void 0x0){if(_0x17d03e===-0x1&&_0x187794[_0x1938a1]===0x1)_0x40f11d===-0x1&&(_0x40f11d=_0x409303);else{if(_0x409303!==0x0&&(_0x1938a1===0x20||_0x1938a1===0x9))_0x17d03e===-0x1&&_0x40f11d!==-0x1&&(_0x17d03e=_0x409303);else{if(_0x1938a1===0x3b||_0x1938a1===0x2c){if(_0x40f11d===-0x1)throw new SyntaxError(_0x4da36c(0x22f)+_0x409303);_0x17d03e===-0x1&&(_0x17d03e=_0x409303);const _0x5e85b2=_0x4b1c0b[_0x4da36c(0x155)](_0x40f11d,_0x17d03e);_0x1938a1===0x2c?(_0x5ad0d6(_0x2cebcf,_0x5e85b2,_0x3ab397),_0x3ab397=Object[_0x4da36c(0x139)](null)):_0x41c7cb=_0x5e85b2,_0x40f11d=_0x17d03e=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x409303);}}}else{if(_0x3b5478===void 0x0){if(_0x17d03e===-0x1&&_0x187794[_0x1938a1]===0x1)_0x40f11d===-0x1&&(_0x40f11d=_0x409303);else{if(_0x1938a1===0x20||_0x1938a1===0x9)_0x17d03e===-0x1&&_0x40f11d!==-0x1&&(_0x17d03e=_0x409303);else{if(_0x1938a1===0x3b||_0x1938a1===0x2c){if(_0x40f11d===-0x1)throw new SyntaxError(_0x4da36c(0x22f)+_0x409303);_0x17d03e===-0x1&&(_0x17d03e=_0x409303),_0x5ad0d6(_0x3ab397,_0x4b1c0b[_0x4da36c(0x155)](_0x40f11d,_0x17d03e),!0x0),_0x1938a1===0x2c&&(_0x5ad0d6(_0x2cebcf,_0x41c7cb,_0x3ab397),_0x3ab397=Object[_0x4da36c(0x139)](null),_0x41c7cb=void 0x0),_0x40f11d=_0x17d03e=-0x1;}else{if(_0x1938a1===0x3d&&_0x40f11d!==-0x1&&_0x17d03e===-0x1)_0x3b5478=_0x4b1c0b['slice'](_0x40f11d,_0x409303),_0x40f11d=_0x17d03e=-0x1;else throw new SyntaxError(_0x4da36c(0x22f)+_0x409303);}}}}else{if(_0x2cff45){if(_0x187794[_0x1938a1]!==0x1)throw new SyntaxError(_0x4da36c(0x22f)+_0x409303);_0x40f11d===-0x1?_0x40f11d=_0x409303:_0x245f62||(_0x245f62=!0x0),_0x2cff45=!0x1;}else{if(_0x1d134e){if(_0x187794[_0x1938a1]===0x1)_0x40f11d===-0x1&&(_0x40f11d=_0x409303);else{if(_0x1938a1===0x22&&_0x40f11d!==-0x1)_0x1d134e=!0x1,_0x17d03e=_0x409303;else{if(_0x1938a1===0x5c)_0x2cff45=!0x0;else throw new SyntaxError(_0x4da36c(0x22f)+_0x409303);}}}else{if(_0x1938a1===0x22&&_0x4b1c0b['charCodeAt'](_0x409303-0x1)===0x3d)_0x1d134e=!0x0;else{if(_0x17d03e===-0x1&&_0x187794[_0x1938a1]===0x1)_0x40f11d===-0x1&&(_0x40f11d=_0x409303);else{if(_0x40f11d!==-0x1&&(_0x1938a1===0x20||_0x1938a1===0x9))_0x17d03e===-0x1&&(_0x17d03e=_0x409303);else{if(_0x1938a1===0x3b||_0x1938a1===0x2c){if(_0x40f11d===-0x1)throw new SyntaxError(_0x4da36c(0x22f)+_0x409303);_0x17d03e===-0x1&&(_0x17d03e=_0x409303);let _0x1c036e=_0x4b1c0b[_0x4da36c(0x155)](_0x40f11d,_0x17d03e);_0x245f62&&(_0x1c036e=_0x1c036e['replace'](/\\/g,''),_0x245f62=!0x1),_0x5ad0d6(_0x3ab397,_0x3b5478,_0x1c036e),_0x1938a1===0x2c&&(_0x5ad0d6(_0x2cebcf,_0x41c7cb,_0x3ab397),_0x3ab397=Object[_0x4da36c(0x139)](null),_0x41c7cb=void 0x0),_0x3b5478=void 0x0,_0x40f11d=_0x17d03e=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x409303);}}}}}}}if(_0x40f11d===-0x1||_0x1d134e||_0x1938a1===0x20||_0x1938a1===0x9)throw new SyntaxError(_0x4da36c(0x27a));_0x17d03e===-0x1&&(_0x17d03e=_0x409303);const _0x28cf6a=_0x4b1c0b[_0x4da36c(0x155)](_0x40f11d,_0x17d03e);return _0x41c7cb===void 0x0?_0x5ad0d6(_0x2cebcf,_0x28cf6a,_0x3ab397):(_0x3b5478===void 0x0?_0x5ad0d6(_0x3ab397,_0x28cf6a,!0x0):_0x245f62?_0x5ad0d6(_0x3ab397,_0x3b5478,_0x28cf6a[_0x4da36c(0x224)](/\\/g,'')):_0x5ad0d6(_0x3ab397,_0x3b5478,_0x28cf6a),_0x5ad0d6(_0x2cebcf,_0x41c7cb,_0x3ab397)),_0x2cebcf;}function _0x11ad3c(_0x439549){const _0x147114=_0xecf5;return Object[_0x147114(0x156)](_0x439549)['map'](_0x42d4f1=>{const _0x43ac49=_0x147114;let _0xc45adf=_0x439549[_0x42d4f1];return Array[_0x43ac49(0x2cd)](_0xc45adf)||(_0xc45adf=[_0xc45adf]),_0xc45adf[_0x43ac49(0x153)](_0x54fd21=>[_0x42d4f1][_0x43ac49(0x2ac)](Object['keys'](_0x54fd21)[_0x43ac49(0x153)](_0x7bfa71=>{const _0x43ac36=_0x43ac49;let _0x1ec036=_0x54fd21[_0x7bfa71];return Array[_0x43ac36(0x2cd)](_0x1ec036)||(_0x1ec036=[_0x1ec036]),_0x1ec036['map'](_0x12ed6d=>_0x12ed6d===!0x0?_0x7bfa71:_0x7bfa71+'='+_0x12ed6d)[_0x43ac36(0x197)](';\x20');}))[_0x43ac49(0x197)](';\x20'))['join'](',\x20');})[_0x147114(0x197)](',\x20');}return be={'format':_0x11ad3c,'parse':_0x26398e},be;}var we,st;function Ie(){const _0x5c4f4c=_0x4102fe;if(st)return we;st=0x1;const _0x211432=_0x5c0bf0,_0x4bdb30=_0x43a0fe,_0x4656b7=_0x58d31b,_0x44063b=_0x103f09,_0x717440=_0x52807b,{randomBytes:_0x5926a7,createHash:_0x161389}=_0x210ea4,{Duplex:_0x2d893c,Readable:_0x1c83ff}=_0x291c6a,{URL:_0x6d3a6f}=_0x3c7b1d,_0x1331a5=he(),_0x25a935=dt(),_0x1d2bbf=_t(),{isBlob:_0x8bba41}=ne(),{BINARY_TYPES:_0x439b51,EMPTY_BUFFER:_0x2f16b1,GUID:_0x128ac6,kForOnEventAttribute:_0xe8f1c8,kListener:_0x57fcd5,kStatusCode:_0x431f04,kWebSocket:_0x56c915,NOOP:_0x4391c5}=V(),{EventTarget:{addEventListener:_0x4046cf,removeEventListener:_0x1560c9}}=Kt(),{format:_0x5bfc9b,parse:_0xf42d42}=pt(),{toBuffer:_0x4d50b7}=ce(),_0x23ae60=0x1e*0x3e8,_0x25fac8=Symbol('kAborted'),_0x27d537=[0x8,0xd],_0x398b7a=['CONNECTING',_0x5c4f4c(0x1e2),_0x5c4f4c(0x2b5),_0x5c4f4c(0x27b)],_0x20b828=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xbab999 extends _0x211432{constructor(_0x41703e,_0x11ff95,_0x446f34){const _0x5debbf=_0x5c4f4c;super(),this[_0x5debbf(0x1c8)]=_0x439b51[0x0],this[_0x5debbf(0x199)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x5debbf(0x255)]=!0x1,this[_0x5debbf(0x125)]=_0x2f16b1,this[_0x5debbf(0x13c)]=null,this[_0x5debbf(0x278)]=!0x1,this[_0x5debbf(0x167)]={},this[_0x5debbf(0x2aa)]=!0x1,this[_0x5debbf(0x219)]='',this[_0x5debbf(0x1d8)]=_0xbab999['CONNECTING'],this[_0x5debbf(0x260)]=null,this[_0x5debbf(0x1dd)]=null,this[_0x5debbf(0x138)]=null,_0x41703e!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this[_0x5debbf(0x248)]=0x0,_0x11ff95===void 0x0?_0x11ff95=[]:Array[_0x5debbf(0x2cd)](_0x11ff95)||(typeof _0x11ff95==_0x5debbf(0x206)&&_0x11ff95!==null?(_0x446f34=_0x11ff95,_0x11ff95=[]):_0x11ff95=[_0x11ff95]),_0x4ad348(this,_0x41703e,_0x11ff95,_0x446f34)):(this[_0x5debbf(0x2b7)]=_0x446f34[_0x5debbf(0x2ae)],this['_isServer']=!0x0);}get[_0x5c4f4c(0x2c3)](){const _0x7e77d=_0x5c4f4c;return this[_0x7e77d(0x1c8)];}set[_0x5c4f4c(0x2c3)](_0x2de3e7){const _0xb22889=_0x5c4f4c;_0x439b51['includes'](_0x2de3e7)&&(this[_0xb22889(0x1c8)]=_0x2de3e7,this[_0xb22889(0x260)]&&(this[_0xb22889(0x260)][_0xb22889(0x1c8)]=_0x2de3e7));}get[_0x5c4f4c(0x1b9)](){const _0x19d49a=_0x5c4f4c;return this[_0x19d49a(0x138)]?this[_0x19d49a(0x138)][_0x19d49a(0x1a0)]['length']+this['_sender'][_0x19d49a(0x2ba)]:this['_bufferedAmount'];}get['extensions'](){const _0x47efdc=_0x5c4f4c;return Object[_0x47efdc(0x156)](this[_0x47efdc(0x167)])[_0x47efdc(0x197)]();}get['isPaused'](){return this['_paused'];}get[_0x5c4f4c(0x17e)](){return null;}get[_0x5c4f4c(0x28f)](){return null;}get[_0x5c4f4c(0x1e9)](){return null;}get[_0x5c4f4c(0x2c5)](){return null;}get['protocol'](){const _0x5bd056=_0x5c4f4c;return this[_0x5bd056(0x219)];}get['readyState'](){const _0x51545a=_0x5c4f4c;return this[_0x51545a(0x1d8)];}get['url'](){return this['_url'];}['setSocket'](_0x58abb6,_0x50a46c,_0x50d3d9){const _0x58028e=_0x5c4f4c,_0x25958e=new _0x25a935({'allowSynchronousEvents':_0x50d3d9[_0x58028e(0x20f)],'binaryType':this[_0x58028e(0x2c3)],'extensions':this['_extensions'],'isServer':this[_0x58028e(0x1ae)],'maxPayload':_0x50d3d9['maxPayload'],'skipUTF8Validation':_0x50d3d9[_0x58028e(0x1b0)]}),_0x3b6088=new _0x1d2bbf(_0x58abb6,this['_extensions'],_0x50d3d9[_0x58028e(0x25d)]);this[_0x58028e(0x260)]=_0x25958e,this[_0x58028e(0x1dd)]=_0x3b6088,this[_0x58028e(0x138)]=_0x58abb6,_0x25958e[_0x56c915]=this,_0x3b6088[_0x56c915]=this,_0x58abb6[_0x56c915]=this,_0x25958e['on'](_0x58028e(0x1ab),_0x144808),_0x25958e['on'](_0x58028e(0x2c0),_0x8e8063),_0x25958e['on'](_0x58028e(0x189),_0x435841),_0x25958e['on']('message',_0x202224),_0x25958e['on'](_0x58028e(0x28b),_0x3197d2),_0x25958e['on'](_0x58028e(0x18a),_0x1cf1be),_0x3b6088[_0x58028e(0x28f)]=_0x2895f9,_0x58abb6['setTimeout']&&_0x58abb6['setTimeout'](0x0),_0x58abb6[_0x58028e(0x1c0)]&&_0x58abb6[_0x58028e(0x1c0)](),_0x50a46c[_0x58028e(0x1ee)]>0x0&&_0x58abb6[_0x58028e(0x1c9)](_0x50a46c),_0x58abb6['on']('close',_0x69d350),_0x58abb6['on'](_0x58028e(0x2ca),_0x20b59c),_0x58abb6['on']('end',_0x2ae53f),_0x58abb6['on'](_0x58028e(0x189),_0xa0c165),this[_0x58028e(0x1d8)]=_0xbab999[_0x58028e(0x1e2)],this[_0x58028e(0x268)](_0x58028e(0x2bd));}[_0x5c4f4c(0x173)](){const _0x3ae25e=_0x5c4f4c;if(!this['_socket']){this[_0x3ae25e(0x1d8)]=_0xbab999['CLOSED'],this[_0x3ae25e(0x268)](_0x3ae25e(0x27f),this[_0x3ae25e(0x199)],this[_0x3ae25e(0x125)]);return;}this['_extensions'][_0x1331a5[_0x3ae25e(0x2b6)]]&&this['_extensions'][_0x1331a5['extensionName']][_0x3ae25e(0x1fa)](),this[_0x3ae25e(0x260)][_0x3ae25e(0x1f3)](),this[_0x3ae25e(0x1d8)]=_0xbab999[_0x3ae25e(0x27b)],this['emit']('close',this[_0x3ae25e(0x199)],this[_0x3ae25e(0x125)]);}[_0x5c4f4c(0x27f)](_0x3cf1dd,_0x51bb3a){const _0x2a997d=_0x5c4f4c;if(this['readyState']!==_0xbab999[_0x2a997d(0x27b)]){if(this['readyState']===_0xbab999[_0x2a997d(0x2a1)]){_0x1921a3(this,this[_0x2a997d(0x123)],_0x2a997d(0x11f));return;}if(this[_0x2a997d(0x215)]===_0xbab999[_0x2a997d(0x2b5)]){this[_0x2a997d(0x255)]&&(this[_0x2a997d(0x21b)]||this[_0x2a997d(0x260)][_0x2a997d(0x1a0)][_0x2a997d(0x15f)])&&this[_0x2a997d(0x138)][_0x2a997d(0x164)]();return;}this[_0x2a997d(0x1d8)]=_0xbab999[_0x2a997d(0x2b5)],this['_sender'][_0x2a997d(0x27f)](_0x3cf1dd,_0x51bb3a,!this[_0x2a997d(0x1ae)],_0x9f92a4=>{const _0x135502=_0x2a997d;_0x9f92a4||(this['_closeFrameSent']=!0x0,(this[_0x135502(0x21b)]||this[_0x135502(0x260)]['_writableState'][_0x135502(0x15f)])&&this[_0x135502(0x138)]['end']());}),_0xbd2d0b(this);}}[_0x5c4f4c(0x1a9)](){const _0x2dcf8a=_0x5c4f4c;this[_0x2dcf8a(0x215)]===_0xbab999[_0x2dcf8a(0x2a1)]||this[_0x2dcf8a(0x215)]===_0xbab999['CLOSED']||(this[_0x2dcf8a(0x2aa)]=!0x0,this[_0x2dcf8a(0x138)][_0x2dcf8a(0x1a9)]());}[_0x5c4f4c(0x28b)](_0x1d03da,_0x5d00aa,_0x12df33){const _0x39f425=_0x5c4f4c;if(this['readyState']===_0xbab999['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x1d03da==_0x39f425(0x2a4)?(_0x12df33=_0x1d03da,_0x1d03da=_0x5d00aa=void 0x0):typeof _0x5d00aa==_0x39f425(0x2a4)&&(_0x12df33=_0x5d00aa,_0x5d00aa=void 0x0),typeof _0x1d03da==_0x39f425(0x2c4)&&(_0x1d03da=_0x1d03da[_0x39f425(0x26d)]()),this[_0x39f425(0x215)]!==_0xbab999['OPEN']){_0xc2bc3a(this,_0x1d03da,_0x12df33);return;}_0x5d00aa===void 0x0&&(_0x5d00aa=!this[_0x39f425(0x1ae)]),this[_0x39f425(0x1dd)][_0x39f425(0x28b)](_0x1d03da||_0x2f16b1,_0x5d00aa,_0x12df33);}[_0x5c4f4c(0x18a)](_0xb6b3be,_0x3c6ae4,_0x54920d){const _0x3517e3=_0x5c4f4c;if(this[_0x3517e3(0x215)]===_0xbab999[_0x3517e3(0x2a1)])throw new Error(_0x3517e3(0x13d));if(typeof _0xb6b3be==_0x3517e3(0x2a4)?(_0x54920d=_0xb6b3be,_0xb6b3be=_0x3c6ae4=void 0x0):typeof _0x3c6ae4==_0x3517e3(0x2a4)&&(_0x54920d=_0x3c6ae4,_0x3c6ae4=void 0x0),typeof _0xb6b3be==_0x3517e3(0x2c4)&&(_0xb6b3be=_0xb6b3be['toString']()),this[_0x3517e3(0x215)]!==_0xbab999[_0x3517e3(0x1e2)]){_0xc2bc3a(this,_0xb6b3be,_0x54920d);return;}_0x3c6ae4===void 0x0&&(_0x3c6ae4=!this[_0x3517e3(0x1ae)]),this['_sender']['pong'](_0xb6b3be||_0x2f16b1,_0x3c6ae4,_0x54920d);}['resume'](){const _0x22b6f9=_0x5c4f4c;this['readyState']===_0xbab999[_0x22b6f9(0x2a1)]||this[_0x22b6f9(0x215)]===_0xbab999['CLOSED']||(this['_paused']=!0x1,this['_receiver'][_0x22b6f9(0x1a0)][_0x22b6f9(0x26c)]||this[_0x22b6f9(0x138)]['resume']());}[_0x5c4f4c(0x19f)](_0x416186,_0x121111,_0x3a2798){const _0x53774f=_0x5c4f4c;if(this[_0x53774f(0x215)]===_0xbab999['CONNECTING'])throw new Error(_0x53774f(0x13d));if(typeof _0x121111=='function'&&(_0x3a2798=_0x121111,_0x121111={}),typeof _0x416186=='number'&&(_0x416186=_0x416186[_0x53774f(0x26d)]()),this[_0x53774f(0x215)]!==_0xbab999[_0x53774f(0x1e2)]){_0xc2bc3a(this,_0x416186,_0x3a2798);return;}const _0x576df9={'binary':typeof _0x416186!='string','mask':!this[_0x53774f(0x1ae)],'compress':!0x0,'fin':!0x0,..._0x121111};this[_0x53774f(0x167)][_0x1331a5[_0x53774f(0x2b6)]]||(_0x576df9[_0x53774f(0x1ef)]=!0x1),this[_0x53774f(0x1dd)][_0x53774f(0x19f)](_0x416186||_0x2f16b1,_0x576df9,_0x3a2798);}[_0x5c4f4c(0x1b8)](){const _0x42b9eb=_0x5c4f4c;if(this[_0x42b9eb(0x215)]!==_0xbab999[_0x42b9eb(0x27b)]){if(this[_0x42b9eb(0x215)]===_0xbab999[_0x42b9eb(0x2a1)]){_0x1921a3(this,this[_0x42b9eb(0x123)],_0x42b9eb(0x11f));return;}this['_socket']&&(this[_0x42b9eb(0x1d8)]=_0xbab999[_0x42b9eb(0x2b5)],this[_0x42b9eb(0x138)][_0x42b9eb(0x205)]());}}}Object['defineProperty'](_0xbab999,_0x5c4f4c(0x2a1),{'enumerable':!0x0,'value':_0x398b7a[_0x5c4f4c(0x217)](_0x5c4f4c(0x2a1))}),Object[_0x5c4f4c(0x135)](_0xbab999[_0x5c4f4c(0x13f)],_0x5c4f4c(0x2a1),{'enumerable':!0x0,'value':_0x398b7a[_0x5c4f4c(0x217)](_0x5c4f4c(0x2a1))}),Object[_0x5c4f4c(0x135)](_0xbab999,'OPEN',{'enumerable':!0x0,'value':_0x398b7a[_0x5c4f4c(0x217)](_0x5c4f4c(0x1e2))}),Object[_0x5c4f4c(0x135)](_0xbab999['prototype'],_0x5c4f4c(0x1e2),{'enumerable':!0x0,'value':_0x398b7a[_0x5c4f4c(0x217)](_0x5c4f4c(0x1e2))}),Object[_0x5c4f4c(0x135)](_0xbab999,_0x5c4f4c(0x2b5),{'enumerable':!0x0,'value':_0x398b7a['indexOf'](_0x5c4f4c(0x2b5))}),Object[_0x5c4f4c(0x135)](_0xbab999['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0x398b7a[_0x5c4f4c(0x217)](_0x5c4f4c(0x2b5))}),Object[_0x5c4f4c(0x135)](_0xbab999,_0x5c4f4c(0x27b),{'enumerable':!0x0,'value':_0x398b7a[_0x5c4f4c(0x217)](_0x5c4f4c(0x27b))}),Object['defineProperty'](_0xbab999[_0x5c4f4c(0x13f)],_0x5c4f4c(0x27b),{'enumerable':!0x0,'value':_0x398b7a[_0x5c4f4c(0x217)](_0x5c4f4c(0x27b))}),[_0x5c4f4c(0x2c3),_0x5c4f4c(0x1b9),_0x5c4f4c(0x16a),_0x5c4f4c(0x130),'protocol',_0x5c4f4c(0x215),'url'][_0x5c4f4c(0x2c1)](_0xbf0543=>{const _0x427b69=_0x5c4f4c;Object['defineProperty'](_0xbab999[_0x427b69(0x13f)],_0xbf0543,{'enumerable':!0x0});}),[_0x5c4f4c(0x2bd),'error',_0x5c4f4c(0x27f),_0x5c4f4c(0x1bc)]['forEach'](_0x2fa2b1=>{const _0x1f1c6a=_0x5c4f4c;Object['defineProperty'](_0xbab999[_0x1f1c6a(0x13f)],'on'+_0x2fa2b1,{'enumerable':!0x0,'get'(){const _0x3855b1=_0x1f1c6a;for(const _0x3a7f1b of this[_0x3855b1(0x1a7)](_0x2fa2b1))if(_0x3a7f1b[_0xe8f1c8])return _0x3a7f1b[_0x57fcd5];return null;},'set'(_0x2528eb){const _0x6ca3cf=_0x1f1c6a;for(const _0x1da5ab of this[_0x6ca3cf(0x1a7)](_0x2fa2b1))if(_0x1da5ab[_0xe8f1c8]){this[_0x6ca3cf(0x2cb)](_0x2fa2b1,_0x1da5ab);break;}typeof _0x2528eb==_0x6ca3cf(0x2a4)&&this['addEventListener'](_0x2fa2b1,_0x2528eb,{[_0xe8f1c8]:!0x0});}});}),_0xbab999[_0x5c4f4c(0x13f)][_0x5c4f4c(0x149)]=_0x4046cf,_0xbab999[_0x5c4f4c(0x13f)]['removeEventListener']=_0x1560c9,we=_0xbab999;function _0x4ad348(_0x2c906b,_0x261f66,_0x780bd5,_0x1a617e){const _0x2520c2=_0x5c4f4c,_0x318402={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x27d537[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1a617e,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x2c906b[_0x2520c2(0x2b7)]=_0x318402[_0x2520c2(0x2ae)],!_0x27d537[_0x2520c2(0x16b)](_0x318402['protocolVersion']))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x318402[_0x2520c2(0x2b3)]+'\x20(supported\x20versions:\x20'+_0x27d537['join'](',\x20')+')');let _0x39ee00;if(_0x261f66 instanceof _0x6d3a6f)_0x39ee00=_0x261f66;else try{_0x39ee00=new _0x6d3a6f(_0x261f66);}catch{throw new SyntaxError(_0x2520c2(0x1ec)+_0x261f66);}_0x39ee00[_0x2520c2(0x194)]===_0x2520c2(0x227)?_0x39ee00[_0x2520c2(0x194)]=_0x2520c2(0x29a):_0x39ee00[_0x2520c2(0x194)]===_0x2520c2(0x168)&&(_0x39ee00['protocol']='wss:'),_0x2c906b[_0x2520c2(0x233)]=_0x39ee00[_0x2520c2(0x2a3)];const _0x6eabcf=_0x39ee00[_0x2520c2(0x194)]===_0x2520c2(0x1cc),_0x312bdf=_0x39ee00[_0x2520c2(0x194)]===_0x2520c2(0x20c);let _0x3fce01;if(_0x39ee00[_0x2520c2(0x194)]!==_0x2520c2(0x29a)&&!_0x6eabcf&&!_0x312bdf?_0x3fce01=_0x2520c2(0x299):_0x312bdf&&!_0x39ee00['pathname']?_0x3fce01=_0x2520c2(0x21a):_0x39ee00['hash']&&(_0x3fce01=_0x2520c2(0x190)),_0x3fce01){const _0x5b59dc=new SyntaxError(_0x3fce01);if(_0x2c906b[_0x2520c2(0x248)]===0x0)throw _0x5b59dc;_0x3e9138(_0x2c906b,_0x5b59dc);return;}const _0x4169dd=_0x6eabcf?0x1bb:0x50,_0x41f377=_0x5926a7(0x10)[_0x2520c2(0x26d)](_0x2520c2(0x1b1)),_0x31d062=_0x6eabcf?_0x4bdb30[_0x2520c2(0x266)]:_0x4656b7[_0x2520c2(0x266)],_0x71d6e2=new Set();let _0x50f8de;if(_0x318402[_0x2520c2(0x152)]=_0x318402[_0x2520c2(0x152)]||(_0x6eabcf?_0x2bcf02:_0x51748c),_0x318402['defaultPort']=_0x318402[_0x2520c2(0x249)]||_0x4169dd,_0x318402[_0x2520c2(0x1d4)]=_0x39ee00['port']||_0x4169dd,_0x318402[_0x2520c2(0x191)]=_0x39ee00['hostname'][_0x2520c2(0x1a6)]('[')?_0x39ee00[_0x2520c2(0x165)][_0x2520c2(0x155)](0x1,-0x1):_0x39ee00[_0x2520c2(0x165)],_0x318402[_0x2520c2(0x1fd)]={..._0x318402[_0x2520c2(0x1fd)],'Sec-WebSocket-Version':_0x318402[_0x2520c2(0x2b3)],'Sec-WebSocket-Key':_0x41f377,'Connection':_0x2520c2(0x213),'Upgrade':'websocket'},_0x318402[_0x2520c2(0x203)]=_0x39ee00[_0x2520c2(0x172)]+_0x39ee00[_0x2520c2(0x17a)],_0x318402[_0x2520c2(0x1ac)]=_0x318402['handshakeTimeout'],_0x318402[_0x2520c2(0x1bf)]&&(_0x50f8de=new _0x1331a5(_0x318402[_0x2520c2(0x1bf)]!==!0x0?_0x318402['perMessageDeflate']:{},!0x1,_0x318402[_0x2520c2(0x2b2)]),_0x318402['headers'][_0x2520c2(0x289)]=_0x5bfc9b({[_0x1331a5[_0x2520c2(0x2b6)]]:_0x50f8de['offer']()})),_0x780bd5[_0x2520c2(0x1ee)]){for(const _0x51963d of _0x780bd5){if(typeof _0x51963d!='string'||!_0x20b828[_0x2520c2(0x252)](_0x51963d)||_0x71d6e2[_0x2520c2(0x14f)](_0x51963d))throw new SyntaxError(_0x2520c2(0x1c7));_0x71d6e2[_0x2520c2(0x1f5)](_0x51963d);}_0x318402[_0x2520c2(0x1fd)][_0x2520c2(0x185)]=_0x780bd5[_0x2520c2(0x197)](',');}if(_0x318402[_0x2520c2(0x1a1)]&&(_0x318402[_0x2520c2(0x2b3)]<0xd?_0x318402[_0x2520c2(0x1fd)][_0x2520c2(0x180)]=_0x318402[_0x2520c2(0x1a1)]:_0x318402[_0x2520c2(0x1fd)]['Origin']=_0x318402[_0x2520c2(0x1a1)]),(_0x39ee00[_0x2520c2(0x20e)]||_0x39ee00[_0x2520c2(0x256)])&&(_0x318402[_0x2520c2(0x207)]=_0x39ee00[_0x2520c2(0x20e)]+':'+_0x39ee00['password']),_0x312bdf){const _0x25828c=_0x318402['path'][_0x2520c2(0x200)](':');_0x318402[_0x2520c2(0x196)]=_0x25828c[0x0],_0x318402['path']=_0x25828c[0x1];}let _0x279009;if(_0x318402[_0x2520c2(0x22a)]){if(_0x2c906b[_0x2520c2(0x248)]===0x0){_0x2c906b['_originalIpc']=_0x312bdf,_0x2c906b['_originalSecure']=_0x6eabcf,_0x2c906b[_0x2520c2(0x17f)]=_0x312bdf?_0x318402[_0x2520c2(0x196)]:_0x39ee00[_0x2520c2(0x191)];const _0x4e0bcf=_0x1a617e&&_0x1a617e[_0x2520c2(0x1fd)];if(_0x1a617e={..._0x1a617e,'headers':{}},_0x4e0bcf){for(const [_0x2f3a34,_0xb7902b]of Object[_0x2520c2(0x21f)](_0x4e0bcf))_0x1a617e[_0x2520c2(0x1fd)][_0x2f3a34[_0x2520c2(0x223)]()]=_0xb7902b;}}else{if(_0x2c906b[_0x2520c2(0x1b7)]('redirect')===0x0){const _0x378743=_0x312bdf?_0x2c906b['_originalIpc']?_0x318402[_0x2520c2(0x196)]===_0x2c906b[_0x2520c2(0x17f)]:!0x1:_0x2c906b['_originalIpc']?!0x1:_0x39ee00[_0x2520c2(0x191)]===_0x2c906b[_0x2520c2(0x17f)];(!_0x378743||_0x2c906b[_0x2520c2(0x245)]&&!_0x6eabcf)&&(delete _0x318402[_0x2520c2(0x1fd)][_0x2520c2(0x2a8)],delete _0x318402[_0x2520c2(0x1fd)][_0x2520c2(0x21d)],_0x378743||delete _0x318402['headers'][_0x2520c2(0x191)],_0x318402['auth']=void 0x0);}}_0x318402[_0x2520c2(0x207)]&&!_0x1a617e['headers'][_0x2520c2(0x2a8)]&&(_0x1a617e[_0x2520c2(0x1fd)][_0x2520c2(0x2a8)]=_0x2520c2(0x243)+Buffer[_0x2520c2(0x270)](_0x318402[_0x2520c2(0x207)])[_0x2520c2(0x26d)](_0x2520c2(0x1b1))),_0x279009=_0x2c906b[_0x2520c2(0x123)]=_0x31d062(_0x318402),_0x2c906b[_0x2520c2(0x248)]&&_0x2c906b['emit'](_0x2520c2(0x1e1),_0x2c906b['url'],_0x279009);}else _0x279009=_0x2c906b[_0x2520c2(0x123)]=_0x31d062(_0x318402);_0x318402[_0x2520c2(0x1ac)]&&_0x279009['on'](_0x2520c2(0x1ac),()=>{const _0x15e1a1=_0x2520c2;_0x1921a3(_0x2c906b,_0x279009,_0x15e1a1(0x218));}),_0x279009['on']('error',_0x26a168=>{const _0x2a3eea=_0x2520c2;_0x279009===null||_0x279009[_0x25fac8]||(_0x279009=_0x2c906b[_0x2a3eea(0x123)]=null,_0x3e9138(_0x2c906b,_0x26a168));}),_0x279009['on'](_0x2520c2(0x24b),_0x44208c=>{const _0x350cd1=_0x2520c2,_0x27b9cc=_0x44208c['headers']['location'],_0x5ddc56=_0x44208c[_0x350cd1(0x2a9)];if(_0x27b9cc&&_0x318402['followRedirects']&&_0x5ddc56>=0x12c&&_0x5ddc56<0x190){if(++_0x2c906b[_0x350cd1(0x248)]>_0x318402[_0x350cd1(0x142)]){_0x1921a3(_0x2c906b,_0x279009,'Maximum\x20redirects\x20exceeded');return;}_0x279009[_0x350cd1(0x124)]();let _0x569caf;try{_0x569caf=new _0x6d3a6f(_0x27b9cc,_0x261f66);}catch{const _0xa5e133=new SyntaxError('Invalid\x20URL:\x20'+_0x27b9cc);_0x3e9138(_0x2c906b,_0xa5e133);return;}_0x4ad348(_0x2c906b,_0x569caf,_0x780bd5,_0x1a617e);}else _0x2c906b[_0x350cd1(0x268)](_0x350cd1(0x295),_0x279009,_0x44208c)||_0x1921a3(_0x2c906b,_0x279009,_0x350cd1(0x239)+_0x44208c[_0x350cd1(0x2a9)]);}),_0x279009['on']('upgrade',(_0x5091ba,_0x8cb720,_0x3cbaa2)=>{const _0x1cfbf2=_0x2520c2;if(_0x2c906b[_0x1cfbf2(0x268)](_0x1cfbf2(0x1fb),_0x5091ba),_0x2c906b[_0x1cfbf2(0x215)]!==_0xbab999['CONNECTING'])return;_0x279009=_0x2c906b[_0x1cfbf2(0x123)]=null;const _0x5ea145=_0x5091ba[_0x1cfbf2(0x1fd)][_0x1cfbf2(0x1fb)];if(_0x5ea145===void 0x0||_0x5ea145['toLowerCase']()!==_0x1cfbf2(0x293)){_0x1921a3(_0x2c906b,_0x8cb720,_0x1cfbf2(0x12c));return;}const _0x4e5afc=_0x161389('sha1')[_0x1cfbf2(0x1c3)](_0x41f377+_0x128ac6)[_0x1cfbf2(0x132)](_0x1cfbf2(0x1b1));if(_0x5091ba['headers'][_0x1cfbf2(0x1e4)]!==_0x4e5afc){_0x1921a3(_0x2c906b,_0x8cb720,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x391a3d=_0x5091ba[_0x1cfbf2(0x1fd)]['sec-websocket-protocol'];let _0x1c0ad6;if(_0x391a3d!==void 0x0?_0x71d6e2[_0x1cfbf2(0x19b)]?_0x71d6e2[_0x1cfbf2(0x14f)](_0x391a3d)||(_0x1c0ad6=_0x1cfbf2(0x171)):_0x1c0ad6=_0x1cfbf2(0x23c):_0x71d6e2[_0x1cfbf2(0x19b)]&&(_0x1c0ad6=_0x1cfbf2(0x19a)),_0x1c0ad6){_0x1921a3(_0x2c906b,_0x8cb720,_0x1c0ad6);return;}_0x391a3d&&(_0x2c906b[_0x1cfbf2(0x219)]=_0x391a3d);const _0x1afa8f=_0x5091ba['headers'][_0x1cfbf2(0x192)];if(_0x1afa8f!==void 0x0){if(!_0x50f8de){_0x1921a3(_0x2c906b,_0x8cb720,_0x1cfbf2(0x1d2));return;}let _0x3363dc;try{_0x3363dc=_0xf42d42(_0x1afa8f);}catch{_0x1921a3(_0x2c906b,_0x8cb720,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x37b90e=Object[_0x1cfbf2(0x156)](_0x3363dc);if(_0x37b90e[_0x1cfbf2(0x1ee)]!==0x1||_0x37b90e[0x0]!==_0x1331a5['extensionName']){_0x1921a3(_0x2c906b,_0x8cb720,_0x1cfbf2(0x24a));return;}try{_0x50f8de[_0x1cfbf2(0x23e)](_0x3363dc[_0x1331a5[_0x1cfbf2(0x2b6)]]);}catch{_0x1921a3(_0x2c906b,_0x8cb720,_0x1cfbf2(0x17c));return;}_0x2c906b['_extensions'][_0x1331a5[_0x1cfbf2(0x2b6)]]=_0x50f8de;}_0x2c906b[_0x1cfbf2(0x1f2)](_0x8cb720,_0x3cbaa2,{'allowSynchronousEvents':_0x318402[_0x1cfbf2(0x20f)],'generateMask':_0x318402[_0x1cfbf2(0x25d)],'maxPayload':_0x318402[_0x1cfbf2(0x2b2)],'skipUTF8Validation':_0x318402[_0x1cfbf2(0x1b0)]});}),_0x318402[_0x2520c2(0x1f4)]?_0x318402['finishRequest'](_0x279009,_0x2c906b):_0x279009['end']();}function _0x3e9138(_0x3d5ba7,_0x3ef214){const _0x1e3f42=_0x5c4f4c;_0x3d5ba7[_0x1e3f42(0x1d8)]=_0xbab999[_0x1e3f42(0x2b5)],_0x3d5ba7[_0x1e3f42(0x278)]=!0x0,_0x3d5ba7[_0x1e3f42(0x268)](_0x1e3f42(0x189),_0x3ef214),_0x3d5ba7[_0x1e3f42(0x173)]();}function _0x51748c(_0x482fb4){const _0x56af3f=_0x5c4f4c;return _0x482fb4[_0x56af3f(0x203)]=_0x482fb4[_0x56af3f(0x196)],_0x44063b['connect'](_0x482fb4);}function _0x2bcf02(_0x4d5ee2){const _0x4e2a5c=_0x5c4f4c;return _0x4d5ee2[_0x4e2a5c(0x203)]=void 0x0,!_0x4d5ee2[_0x4e2a5c(0x1eb)]&&_0x4d5ee2['servername']!==''&&(_0x4d5ee2[_0x4e2a5c(0x1eb)]=_0x44063b[_0x4e2a5c(0x1bd)](_0x4d5ee2['host'])?'':_0x4d5ee2[_0x4e2a5c(0x191)]),_0x717440[_0x4e2a5c(0x2b0)](_0x4d5ee2);}function _0x1921a3(_0x19f89a,_0x43e47c,_0xcc79c7){const _0x3a369f=_0x5c4f4c;_0x19f89a[_0x3a369f(0x1d8)]=_0xbab999[_0x3a369f(0x2b5)];const _0x5b71d0=new Error(_0xcc79c7);Error[_0x3a369f(0x157)](_0x5b71d0,_0x1921a3),_0x43e47c[_0x3a369f(0x136)]?(_0x43e47c[_0x25fac8]=!0x0,_0x43e47c[_0x3a369f(0x124)](),_0x43e47c[_0x3a369f(0x1a8)]&&!_0x43e47c[_0x3a369f(0x1a8)][_0x3a369f(0x1aa)]&&_0x43e47c[_0x3a369f(0x1a8)]['destroy'](),process[_0x3a369f(0x2bf)](_0x3e9138,_0x19f89a,_0x5b71d0)):(_0x43e47c[_0x3a369f(0x205)](_0x5b71d0),_0x43e47c[_0x3a369f(0x122)]('error',_0x19f89a[_0x3a369f(0x268)]['bind'](_0x19f89a,_0x3a369f(0x189))),_0x43e47c[_0x3a369f(0x122)](_0x3a369f(0x27f),_0x19f89a[_0x3a369f(0x173)][_0x3a369f(0x234)](_0x19f89a)));}function _0xc2bc3a(_0x35c133,_0x4c5efc,_0x68d342){const _0x48efd3=_0x5c4f4c;if(_0x4c5efc){const _0x2070c3=_0x8bba41(_0x4c5efc)?_0x4c5efc[_0x48efd3(0x19b)]:_0x4d50b7(_0x4c5efc)['length'];_0x35c133['_socket']?_0x35c133[_0x48efd3(0x1dd)]['_bufferedBytes']+=_0x2070c3:_0x35c133[_0x48efd3(0x17b)]+=_0x2070c3;}if(_0x68d342){const _0x4e147e=new Error(_0x48efd3(0x198)+_0x35c133['readyState']+'\x20('+_0x398b7a[_0x35c133[_0x48efd3(0x215)]]+')');process[_0x48efd3(0x2bf)](_0x68d342,_0x4e147e);}}function _0x144808(_0x13711e,_0x5a73de){const _0x3ddbcc=_0x5c4f4c,_0x179c84=this[_0x56c915];_0x179c84['_closeFrameReceived']=!0x0,_0x179c84['_closeMessage']=_0x5a73de,_0x179c84[_0x3ddbcc(0x199)]=_0x13711e,_0x179c84[_0x3ddbcc(0x138)][_0x56c915]!==void 0x0&&(_0x179c84['_socket'][_0x3ddbcc(0x2cb)](_0x3ddbcc(0x2ca),_0x20b59c),process['nextTick'](_0x474d9a,_0x179c84[_0x3ddbcc(0x138)]),_0x13711e===0x3ed?_0x179c84[_0x3ddbcc(0x27f)]():_0x179c84[_0x3ddbcc(0x27f)](_0x13711e,_0x5a73de));}function _0x8e8063(){const _0x454848=_0x5c4f4c,_0xbf6176=this[_0x56c915];_0xbf6176[_0x454848(0x130)]||_0xbf6176[_0x454848(0x138)][_0x454848(0x284)]();}function _0x435841(_0x44f93f){const _0x4966ec=_0x5c4f4c,_0x5a88e3=this[_0x56c915];_0x5a88e3[_0x4966ec(0x138)][_0x56c915]!==void 0x0&&(_0x5a88e3[_0x4966ec(0x138)]['removeListener']('data',_0x20b59c),process[_0x4966ec(0x2bf)](_0x474d9a,_0x5a88e3[_0x4966ec(0x138)]),_0x5a88e3['close'](_0x44f93f[_0x431f04])),_0x5a88e3[_0x4966ec(0x278)]||(_0x5a88e3['_errorEmitted']=!0x0,_0x5a88e3[_0x4966ec(0x268)]('error',_0x44f93f));}function _0x4aee86(){this[_0x56c915]['emitClose']();}function _0x202224(_0x2abe2b,_0xaf7557){const _0x153cec=_0x5c4f4c;this[_0x56c915][_0x153cec(0x268)](_0x153cec(0x1bc),_0x2abe2b,_0xaf7557);}function _0x3197d2(_0x56ede1){const _0x253157=_0x5c4f4c,_0x5cc49a=this[_0x56c915];_0x5cc49a[_0x253157(0x2b7)]&&_0x5cc49a[_0x253157(0x18a)](_0x56ede1,!this[_0x253157(0x1ae)],_0x4391c5),_0x5cc49a[_0x253157(0x268)](_0x253157(0x28b),_0x56ede1);}function _0x1cf1be(_0x1d86d4){const _0x4e5110=_0x5c4f4c;this[_0x56c915][_0x4e5110(0x268)](_0x4e5110(0x18a),_0x1d86d4);}function _0x474d9a(_0x28d74c){const _0x37415f=_0x5c4f4c;_0x28d74c[_0x37415f(0x284)]();}function _0x2895f9(_0x570afc){const _0x26f164=_0x5c4f4c,_0x494862=this[_0x56c915];_0x494862[_0x26f164(0x215)]!==_0xbab999[_0x26f164(0x27b)]&&(_0x494862[_0x26f164(0x215)]===_0xbab999['OPEN']&&(_0x494862[_0x26f164(0x1d8)]=_0xbab999[_0x26f164(0x2b5)],_0xbd2d0b(_0x494862)),this[_0x26f164(0x138)][_0x26f164(0x164)](),_0x494862[_0x26f164(0x278)]||(_0x494862['_errorEmitted']=!0x0,_0x494862[_0x26f164(0x268)](_0x26f164(0x189),_0x570afc)));}function _0xbd2d0b(_0x2a6a46){const _0x2b6baf=_0x5c4f4c;_0x2a6a46['_closeTimer']=setTimeout(_0x2a6a46[_0x2b6baf(0x138)][_0x2b6baf(0x205)][_0x2b6baf(0x234)](_0x2a6a46[_0x2b6baf(0x138)]),_0x23ae60);}function _0x69d350(){const _0xe97552=_0x5c4f4c,_0x108c2c=this[_0x56c915];this[_0xe97552(0x2cb)](_0xe97552(0x27f),_0x69d350),this[_0xe97552(0x2cb)](_0xe97552(0x2ca),_0x20b59c),this[_0xe97552(0x2cb)](_0xe97552(0x164),_0x2ae53f),_0x108c2c[_0xe97552(0x1d8)]=_0xbab999[_0xe97552(0x2b5)];let _0x16cddd;!this[_0xe97552(0x29c)]['endEmitted']&&!_0x108c2c[_0xe97552(0x21b)]&&!_0x108c2c['_receiver'][_0xe97552(0x1a0)][_0xe97552(0x15f)]&&(_0x16cddd=_0x108c2c[_0xe97552(0x138)][_0xe97552(0x273)]())!==null&&_0x108c2c[_0xe97552(0x260)][_0xe97552(0x21e)](_0x16cddd),_0x108c2c['_receiver'][_0xe97552(0x164)](),this[_0x56c915]=void 0x0,clearTimeout(_0x108c2c['_closeTimer']),_0x108c2c[_0xe97552(0x260)][_0xe97552(0x1a0)]['finished']||_0x108c2c[_0xe97552(0x260)][_0xe97552(0x1a0)][_0xe97552(0x15f)]?_0x108c2c['emitClose']():(_0x108c2c[_0xe97552(0x260)]['on'](_0xe97552(0x189),_0x4aee86),_0x108c2c[_0xe97552(0x260)]['on'](_0xe97552(0x18c),_0x4aee86));}function _0x20b59c(_0x2aa2d0){const _0x2227d9=_0x5c4f4c;this[_0x56c915][_0x2227d9(0x260)][_0x2227d9(0x21e)](_0x2aa2d0)||this[_0x2227d9(0x1a9)]();}function _0x2ae53f(){const _0x10fb2f=_0x5c4f4c,_0x4143cb=this[_0x56c915];_0x4143cb[_0x10fb2f(0x1d8)]=_0xbab999[_0x10fb2f(0x2b5)],_0x4143cb[_0x10fb2f(0x260)]['end'](),this[_0x10fb2f(0x164)]();}function _0xa0c165(){const _0x2ad764=_0x5c4f4c,_0xd36a14=this[_0x56c915];this['removeListener'](_0x2ad764(0x189),_0xa0c165),this['on']('error',_0x4391c5),_0xd36a14&&(_0xd36a14[_0x2ad764(0x1d8)]=_0xbab999[_0x2ad764(0x2b5)],this[_0x2ad764(0x205)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x29e5af}=_0x291c6a;function _0x3e3ba7(_0x107b75){const _0x5193fe=_0xecf5;_0x107b75[_0x5193fe(0x268)](_0x5193fe(0x27f));}function _0x305b01(){const _0x22c898=_0xecf5;!this[_0x22c898(0x1aa)]&&this[_0x22c898(0x1a0)][_0x22c898(0x1e5)]&&this[_0x22c898(0x205)]();}function _0x901dec(_0x379cf3){const _0x17e327=_0xecf5;this[_0x17e327(0x2cb)](_0x17e327(0x189),_0x901dec),this[_0x17e327(0x205)](),this[_0x17e327(0x1b7)](_0x17e327(0x189))===0x0&&this[_0x17e327(0x268)]('error',_0x379cf3);}function _0xf68012(_0x567609,_0x36584a){const _0x46d6f6=_0xecf5;let _0x3cb693=!0x0;const _0x5bdb28=new _0x29e5af({..._0x36584a,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x567609['on'](_0x46d6f6(0x1bc),function(_0x3286fc,_0x15c4c8){const _0x37e539=_0x46d6f6,_0x4a4de0=!_0x15c4c8&&_0x5bdb28['_readableState'][_0x37e539(0x267)]?_0x3286fc[_0x37e539(0x26d)]():_0x3286fc;_0x5bdb28[_0x37e539(0x1b4)](_0x4a4de0)||_0x567609[_0x37e539(0x1a9)]();}),_0x567609[_0x46d6f6(0x122)](_0x46d6f6(0x189),function(_0x46d7b3){const _0x289216=_0x46d6f6;_0x5bdb28[_0x289216(0x1aa)]||(_0x3cb693=!0x1,_0x5bdb28['destroy'](_0x46d7b3));}),_0x567609[_0x46d6f6(0x122)](_0x46d6f6(0x27f),function(){const _0x2a2517=_0x46d6f6;_0x5bdb28[_0x2a2517(0x1aa)]||_0x5bdb28['push'](null);}),_0x5bdb28[_0x46d6f6(0x193)]=function(_0x322a17,_0x3b8fc7){const _0xe56af1=_0x46d6f6;if(_0x567609[_0xe56af1(0x215)]===_0x567609[_0xe56af1(0x27b)]){_0x3b8fc7(_0x322a17),process[_0xe56af1(0x2bf)](_0x3e3ba7,_0x5bdb28);return;}let _0x3d905d=!0x1;_0x567609['once']('error',function(_0x511928){_0x3d905d=!0x0,_0x3b8fc7(_0x511928);}),_0x567609[_0xe56af1(0x122)]('close',function(){const _0x3a2538=_0xe56af1;_0x3d905d||_0x3b8fc7(_0x322a17),process[_0x3a2538(0x2bf)](_0x3e3ba7,_0x5bdb28);}),_0x3cb693&&_0x567609[_0xe56af1(0x1b8)]();},_0x5bdb28[_0x46d6f6(0x158)]=function(_0x150de0){const _0x390c70=_0x46d6f6;if(_0x567609[_0x390c70(0x215)]===_0x567609['CONNECTING']){_0x567609[_0x390c70(0x122)]('open',function(){const _0x45bc7c=_0x390c70;_0x5bdb28[_0x45bc7c(0x158)](_0x150de0);});return;}_0x567609[_0x390c70(0x138)]!==null&&(_0x567609['_socket'][_0x390c70(0x1a0)][_0x390c70(0x1e5)]?(_0x150de0(),_0x5bdb28[_0x390c70(0x29c)][_0x390c70(0x14b)]&&_0x5bdb28[_0x390c70(0x205)]()):(_0x567609[_0x390c70(0x138)][_0x390c70(0x122)](_0x390c70(0x18c),function(){_0x150de0();}),_0x567609[_0x390c70(0x27f)]()));},_0x5bdb28[_0x46d6f6(0x259)]=function(){const _0x15a842=_0x46d6f6;_0x567609[_0x15a842(0x130)]&&_0x567609['resume']();},_0x5bdb28['_write']=function(_0x46fe70,_0x3060d1,_0x3c67ab){const _0x1bd407=_0x46d6f6;if(_0x567609[_0x1bd407(0x215)]===_0x567609[_0x1bd407(0x2a1)]){_0x567609[_0x1bd407(0x122)](_0x1bd407(0x2bd),function(){const _0x460285=_0x1bd407;_0x5bdb28[_0x460285(0x1db)](_0x46fe70,_0x3060d1,_0x3c67ab);});return;}_0x567609['send'](_0x46fe70,_0x3c67ab);},_0x5bdb28['on'](_0x46d6f6(0x164),_0x305b01),_0x5bdb28['on']('error',_0x901dec),_0x5bdb28;}return Oe=_0xf68012,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x4286d5}=ne();function _0x4fcdd4(_0x2d0269){const _0x37cb56=_0xecf5,_0x29d6f3=new Set();let _0x4b32bc=-0x1,_0x325ed7=-0x1,_0x1fb750=0x0;for(_0x1fb750;_0x1fb750<_0x2d0269[_0x37cb56(0x1ee)];_0x1fb750++){const _0x179634=_0x2d0269[_0x37cb56(0x1ff)](_0x1fb750);if(_0x325ed7===-0x1&&_0x4286d5[_0x179634]===0x1)_0x4b32bc===-0x1&&(_0x4b32bc=_0x1fb750);else{if(_0x1fb750!==0x0&&(_0x179634===0x20||_0x179634===0x9))_0x325ed7===-0x1&&_0x4b32bc!==-0x1&&(_0x325ed7=_0x1fb750);else{if(_0x179634===0x2c){if(_0x4b32bc===-0x1)throw new SyntaxError(_0x37cb56(0x22f)+_0x1fb750);_0x325ed7===-0x1&&(_0x325ed7=_0x1fb750);const _0x25d48d=_0x2d0269[_0x37cb56(0x155)](_0x4b32bc,_0x325ed7);if(_0x29d6f3[_0x37cb56(0x14f)](_0x25d48d))throw new SyntaxError('The\x20\x22'+_0x25d48d+_0x37cb56(0x21c));_0x29d6f3['add'](_0x25d48d),_0x4b32bc=_0x325ed7=-0x1;}else throw new SyntaxError(_0x37cb56(0x22f)+_0x1fb750);}}}if(_0x4b32bc===-0x1||_0x325ed7!==-0x1)throw new SyntaxError(_0x37cb56(0x27a));const _0x6af62=_0x2d0269['slice'](_0x4b32bc,_0x1fb750);if(_0x29d6f3[_0x37cb56(0x14f)](_0x6af62))throw new SyntaxError(_0x37cb56(0x175)+_0x6af62+_0x37cb56(0x21c));return _0x29d6f3[_0x37cb56(0x1f5)](_0x6af62),_0x29d6f3;}return Ce={'parse':_0x4fcdd4},Ce;}var Te,ot;function er(){const _0x5f350b=_0x4102fe;if(ot)return Te;ot=0x1;const _0x507fb5=_0x5c0bf0,_0x26a5fc=_0x58d31b,{Duplex:_0x28fb6a}=_0x291c6a,{createHash:_0x2bc7c4}=_0x210ea4,_0x2c5e93=pt(),_0x3662f8=he(),_0x4aae83=Jt(),_0x896a40=Ie(),{GUID:_0x1d97a9,kWebSocket:_0x1ee391}=V(),_0x36dbd9=/^[+/0-9A-Za-z]{22}==$/,_0x8c67aa=0x0,_0x2e9e06=0x1,_0x13faa1=0x2;class _0x462cfc extends _0x507fb5{constructor(_0x53c161,_0x4ccf65){const _0x55c244=_0xecf5;if(super(),_0x53c161={'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':_0x896a40,..._0x53c161},_0x53c161[_0x55c244(0x1d4)]==null&&!_0x53c161[_0x55c244(0x262)]&&!_0x53c161[_0x55c244(0x166)]||_0x53c161[_0x55c244(0x1d4)]!=null&&(_0x53c161[_0x55c244(0x262)]||_0x53c161[_0x55c244(0x166)])||_0x53c161[_0x55c244(0x262)]&&_0x53c161['noServer'])throw new TypeError(_0x55c244(0x15e));if(_0x53c161[_0x55c244(0x1d4)]!=null?(this[_0x55c244(0x202)]=_0x26a5fc[_0x55c244(0x16d)]((_0x5e9e0b,_0x4bdd0b)=>{const _0x387a89=_0x55c244,_0x318579=_0x26a5fc[_0x387a89(0x195)][0x1aa];_0x4bdd0b['writeHead'](0x1aa,{'Content-Length':_0x318579[_0x387a89(0x1ee)],'Content-Type':_0x387a89(0x28d)}),_0x4bdd0b[_0x387a89(0x164)](_0x318579);}),this[_0x55c244(0x202)]['listen'](_0x53c161[_0x55c244(0x1d4)],_0x53c161['host'],_0x53c161[_0x55c244(0x143)],_0x4ccf65)):_0x53c161[_0x55c244(0x262)]&&(this[_0x55c244(0x202)]=_0x53c161[_0x55c244(0x262)]),this[_0x55c244(0x202)]){const _0x5e3632=this[_0x55c244(0x268)][_0x55c244(0x234)](this,_0x55c244(0x2ab));this[_0x55c244(0x1fc)]=_0x38b6d5(this[_0x55c244(0x202)],{'listening':this[_0x55c244(0x268)]['bind'](this,'listening'),'error':this['emit'][_0x55c244(0x234)](this,_0x55c244(0x189)),'upgrade':(_0x9df4f3,_0x3a2b7b,_0x530af2)=>{const _0x11dca9=_0x55c244;this[_0x11dca9(0x1f6)](_0x9df4f3,_0x3a2b7b,_0x530af2,_0x5e3632);}});}_0x53c161['perMessageDeflate']===!0x0&&(_0x53c161['perMessageDeflate']={}),_0x53c161[_0x55c244(0x1e0)]&&(this[_0x55c244(0x12d)]=new Set(),this[_0x55c244(0x22d)]=!0x1),this[_0x55c244(0x18b)]=_0x53c161,this['_state']=_0x8c67aa;}[_0x5f350b(0x29f)](){const _0x175fe6=_0x5f350b;if(this['options'][_0x175fe6(0x166)])throw new Error(_0x175fe6(0x11e));return this[_0x175fe6(0x202)]?this[_0x175fe6(0x202)]['address']():null;}['close'](_0x43e639){const _0x2b5f36=_0x5f350b;if(this[_0x2b5f36(0x2a5)]===_0x13faa1){_0x43e639&&this[_0x2b5f36(0x122)](_0x2b5f36(0x27f),()=>{_0x43e639(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x2b5f36(0x2bf)](_0x521fe6,this);return;}if(_0x43e639&&this['once'](_0x2b5f36(0x27f),_0x43e639),this['_state']!==_0x2e9e06){if(this[_0x2b5f36(0x2a5)]=_0x2e9e06,this[_0x2b5f36(0x18b)][_0x2b5f36(0x166)]||this[_0x2b5f36(0x18b)][_0x2b5f36(0x262)])this['_server']&&(this['_removeListeners'](),this[_0x2b5f36(0x1fc)]=this['_server']=null),this['clients']?this['clients'][_0x2b5f36(0x19b)]?this[_0x2b5f36(0x22d)]=!0x0:process[_0x2b5f36(0x2bf)](_0x521fe6,this):process[_0x2b5f36(0x2bf)](_0x521fe6,this);else{const _0x3e9af5=this['_server'];this[_0x2b5f36(0x1fc)](),this[_0x2b5f36(0x1fc)]=this[_0x2b5f36(0x202)]=null,_0x3e9af5['close'](()=>{_0x521fe6(this);});}}}['shouldHandle'](_0xe27f1){const _0x4f4c89=_0x5f350b;if(this[_0x4f4c89(0x18b)][_0x4f4c89(0x203)]){const _0x5daef7=_0xe27f1[_0x4f4c89(0x14a)][_0x4f4c89(0x217)]('?');if((_0x5daef7!==-0x1?_0xe27f1[_0x4f4c89(0x14a)]['slice'](0x0,_0x5daef7):_0xe27f1['url'])!==this[_0x4f4c89(0x18b)][_0x4f4c89(0x203)])return!0x1;}return!0x0;}['handleUpgrade'](_0x2af911,_0x4bebe7,_0xda0b28,_0x77b0e6){const _0x12f7fa=_0x5f350b;_0x4bebe7['on'](_0x12f7fa(0x189),_0x56ffaf);const _0x5456d2=_0x2af911['headers'][_0x12f7fa(0x210)],_0x15e1a3=_0x2af911['headers'][_0x12f7fa(0x1fb)],_0x4089bf=+_0x2af911[_0x12f7fa(0x1fd)][_0x12f7fa(0x159)];if(_0x2af911[_0x12f7fa(0x1c2)]!==_0x12f7fa(0x127)){_0x53bd9c(this,_0x2af911,_0x4bebe7,0x195,_0x12f7fa(0x11d));return;}if(_0x15e1a3===void 0x0||_0x15e1a3[_0x12f7fa(0x223)]()!==_0x12f7fa(0x293)){_0x53bd9c(this,_0x2af911,_0x4bebe7,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x5456d2===void 0x0||!_0x36dbd9['test'](_0x5456d2)){_0x53bd9c(this,_0x2af911,_0x4bebe7,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x4089bf!==0x8&&_0x4089bf!==0xd){_0x53bd9c(this,_0x2af911,_0x4bebe7,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x12f7fa(0x18e)](_0x2af911)){_0x3bd4d4(_0x4bebe7,0x190);return;}const _0x3cfd63=_0x2af911['headers']['sec-websocket-protocol'];let _0x351224=new Set();if(_0x3cfd63!==void 0x0)try{_0x351224=_0x4aae83['parse'](_0x3cfd63);}catch{_0x53bd9c(this,_0x2af911,_0x4bebe7,0x190,_0x12f7fa(0x2a6));return;}const _0x5374fd=_0x2af911['headers'][_0x12f7fa(0x192)],_0x30a384={};if(this[_0x12f7fa(0x18b)][_0x12f7fa(0x1bf)]&&_0x5374fd!==void 0x0){const _0x10e8d6=new _0x3662f8(this['options'][_0x12f7fa(0x1bf)],!0x0,this[_0x12f7fa(0x18b)][_0x12f7fa(0x2b2)]);try{const _0x17935b=_0x2c5e93[_0x12f7fa(0x292)](_0x5374fd);_0x17935b[_0x3662f8[_0x12f7fa(0x2b6)]]&&(_0x10e8d6['accept'](_0x17935b[_0x3662f8['extensionName']]),_0x30a384[_0x3662f8[_0x12f7fa(0x2b6)]]=_0x10e8d6);}catch{_0x53bd9c(this,_0x2af911,_0x4bebe7,0x190,_0x12f7fa(0x265));return;}}if(this[_0x12f7fa(0x18b)][_0x12f7fa(0x269)]){const _0xe6e7d3={'origin':_0x2af911[_0x12f7fa(0x1fd)][''+(_0x4089bf===0x8?_0x12f7fa(0x294):_0x12f7fa(0x1a1))],'secure':!!(_0x2af911['socket'][_0x12f7fa(0x161)]||_0x2af911[_0x12f7fa(0x1a8)][_0x12f7fa(0x1df)]),'req':_0x2af911};if(this[_0x12f7fa(0x18b)][_0x12f7fa(0x269)][_0x12f7fa(0x1ee)]===0x2){this[_0x12f7fa(0x18b)][_0x12f7fa(0x269)](_0xe6e7d3,(_0x3b25ca,_0x16ae8f,_0xb7058e,_0x3bc47a)=>{const _0x43d8ac=_0x12f7fa;if(!_0x3b25ca)return _0x3bd4d4(_0x4bebe7,_0x16ae8f||0x191,_0xb7058e,_0x3bc47a);this[_0x43d8ac(0x181)](_0x30a384,_0x5456d2,_0x351224,_0x2af911,_0x4bebe7,_0xda0b28,_0x77b0e6);});return;}if(!this[_0x12f7fa(0x18b)][_0x12f7fa(0x269)](_0xe6e7d3))return _0x3bd4d4(_0x4bebe7,0x191);}this[_0x12f7fa(0x181)](_0x30a384,_0x5456d2,_0x351224,_0x2af911,_0x4bebe7,_0xda0b28,_0x77b0e6);}[_0x5f350b(0x181)](_0x3c7efd,_0x512ba4,_0x10b04c,_0x1eb20e,_0x4b8f57,_0x19d52b,_0x494be8){const _0x53dcff=_0x5f350b;if(!_0x4b8f57[_0x53dcff(0x230)]||!_0x4b8f57['writable'])return _0x4b8f57[_0x53dcff(0x205)]();if(_0x4b8f57[_0x1ee391])throw new Error(_0x53dcff(0x281));if(this[_0x53dcff(0x2a5)]>_0x8c67aa)return _0x3bd4d4(_0x4b8f57,0x1f7);const _0xa0088e=[_0x53dcff(0x182),_0x53dcff(0x176),_0x53dcff(0x2c7),'Sec-WebSocket-Accept:\x20'+_0x2bc7c4(_0x53dcff(0x279))[_0x53dcff(0x1c3)](_0x512ba4+_0x1d97a9)[_0x53dcff(0x132)](_0x53dcff(0x1b1))],_0x404d55=new this[(_0x53dcff(0x18b))][(_0x53dcff(0x283))](null,void 0x0,this[_0x53dcff(0x18b)]);if(_0x10b04c[_0x53dcff(0x19b)]){const _0x551ade=this[_0x53dcff(0x18b)][_0x53dcff(0x1e8)]?this[_0x53dcff(0x18b)][_0x53dcff(0x1e8)](_0x10b04c,_0x1eb20e):_0x10b04c[_0x53dcff(0x19e)]()[_0x53dcff(0x2bc)]()[_0x53dcff(0x287)];_0x551ade&&(_0xa0088e[_0x53dcff(0x1b4)]('Sec-WebSocket-Protocol:\x20'+_0x551ade),_0x404d55['_protocol']=_0x551ade);}if(_0x3c7efd[_0x3662f8['extensionName']]){const _0x513056=_0x3c7efd[_0x3662f8[_0x53dcff(0x2b6)]][_0x53dcff(0x26e)],_0x47ed55=_0x2c5e93[_0x53dcff(0x134)]({[_0x3662f8[_0x53dcff(0x2b6)]]:[_0x513056]});_0xa0088e[_0x53dcff(0x1b4)](_0x53dcff(0x15a)+_0x47ed55),_0x404d55['_extensions']=_0x3c7efd;}this[_0x53dcff(0x268)](_0x53dcff(0x1fd),_0xa0088e,_0x1eb20e),_0x4b8f57[_0x53dcff(0x21e)](_0xa0088e[_0x53dcff(0x2ac)]('\x0d\x0a')[_0x53dcff(0x197)]('\x0d\x0a')),_0x4b8f57[_0x53dcff(0x2cb)](_0x53dcff(0x189),_0x56ffaf),_0x404d55[_0x53dcff(0x1f2)](_0x4b8f57,_0x19d52b,{'allowSynchronousEvents':this[_0x53dcff(0x18b)][_0x53dcff(0x20f)],'maxPayload':this[_0x53dcff(0x18b)]['maxPayload'],'skipUTF8Validation':this[_0x53dcff(0x18b)]['skipUTF8Validation']}),this[_0x53dcff(0x12d)]&&(this[_0x53dcff(0x12d)][_0x53dcff(0x1f5)](_0x404d55),_0x404d55['on'](_0x53dcff(0x27f),()=>{const _0x28263a=_0x53dcff;this[_0x28263a(0x12d)][_0x28263a(0x1cd)](_0x404d55),this[_0x28263a(0x22d)]&&!this[_0x28263a(0x12d)][_0x28263a(0x19b)]&&process[_0x28263a(0x2bf)](_0x521fe6,this);})),_0x494be8(_0x404d55,_0x1eb20e);}}Te=_0x462cfc;function _0x38b6d5(_0x4418b6,_0x50a23b){const _0x4dc4d9=_0x5f350b;for(const _0x2bc314 of Object[_0x4dc4d9(0x156)](_0x50a23b))_0x4418b6['on'](_0x2bc314,_0x50a23b[_0x2bc314]);return function(){const _0xdd9374=_0x4dc4d9;for(const _0x1502fe of Object[_0xdd9374(0x156)](_0x50a23b))_0x4418b6[_0xdd9374(0x2cb)](_0x1502fe,_0x50a23b[_0x1502fe]);};}function _0x521fe6(_0x54c9f1){const _0x1db83b=_0x5f350b;_0x54c9f1[_0x1db83b(0x2a5)]=_0x13faa1,_0x54c9f1[_0x1db83b(0x268)](_0x1db83b(0x27f));}function _0x56ffaf(){this['destroy']();}function _0x3bd4d4(_0x3b45b0,_0x4ebfb7,_0x5c619c,_0x5b7dc8){const _0x1649eb=_0x5f350b;_0x5c619c=_0x5c619c||_0x26a5fc['STATUS_CODES'][_0x4ebfb7],_0x5b7dc8={'Connection':_0x1649eb(0x27f),'Content-Type':'text/html','Content-Length':Buffer[_0x1649eb(0x226)](_0x5c619c),..._0x5b7dc8},_0x3b45b0['once'](_0x1649eb(0x18c),_0x3b45b0['destroy']),_0x3b45b0[_0x1649eb(0x164)]('HTTP/1.1\x20'+_0x4ebfb7+'\x20'+_0x26a5fc[_0x1649eb(0x195)][_0x4ebfb7]+'\x0d\x0a'+Object[_0x1649eb(0x156)](_0x5b7dc8)[_0x1649eb(0x153)](_0x49fea5=>_0x49fea5+':\x20'+_0x5b7dc8[_0x49fea5])[_0x1649eb(0x197)]('\x0d\x0a')+_0x1649eb(0x28c)+_0x5c619c);}function _0x53bd9c(_0x3d89ec,_0x19c27a,_0x47ac9d,_0x10c35e,_0x55a6cc){const _0x1256ef=_0x5f350b;if(_0x3d89ec['listenerCount']('wsClientError')){const _0x5914da=new Error(_0x55a6cc);Error['captureStackTrace'](_0x5914da,_0x53bd9c),_0x3d89ec[_0x1256ef(0x268)](_0x1256ef(0x27d),_0x5914da,_0x47ac9d,_0x19c27a);}else _0x3bd4d4(_0x47ac9d,_0x10c35e,_0x55a6cc);}return Te;}er();var tr=Object[_0x4102fe(0x1f9)],rr=(_0x3c33a0,_0x2df6ea,_0x5e031a,_0x15153b)=>{for(var _0x4bcde=_0x15153b>0x1?void 0x0:_0x15153b?tr(_0x2df6ea,_0x5e031a):_0x2df6ea,_0x5c84f5=_0x3c33a0['length']-0x1,_0x62763d;_0x5c84f5>=0x0;_0x5c84f5--)(_0x62763d=_0x3c33a0[_0x5c84f5])&&(_0x4bcde=_0x62763d(_0x4bcde)||_0x4bcde);return _0x4bcde;},sr=(_0x333eaf,_0xf92af1)=>(_0x367b40,_0x191b9c)=>_0xf92af1(_0x367b40,_0x191b9c,_0x333eaf);let Ne=class extends _0x405503{constructor(_0xb48ab3){const _0x208518=_0x4102fe;super(),this[_0x208518(0x2bb)]=_0xb48ab3;}['createSocket'](_0x4c94ab){const _0x5f241e=_0x4102fe;var _0x3d94ef;const _0x441085=(_0x3d94ef=this[_0x5f241e(0x2bb)][_0x5f241e(0x1ce)](Be))==null?void 0x0:_0x3d94ef[_0x5f241e(0x16c)];try{const _0x3007f6=new Qt(_0x4c94ab,{'headers':{..._0x441085}}),_0x451c7c=new _0x106b4d();return{'URL':_0x4c94ab,'close':(_0x22f6cb,_0x569561)=>{const _0x3c9415=_0x5f241e;_0x3007f6[_0x3c9415(0x27f)](_0x22f6cb,_0x569561),_0x451c7c[_0x3c9415(0x1c4)]();},'send':_0x3ce52b=>{const _0x24bb32=_0x5f241e;_0x3007f6[_0x24bb32(0x19f)](_0x3ce52b);},'open$':new _0x2ea919(_0x2dde06=>{const _0x1da251=_0x5f241e,_0x3e5cc7=_0x52d926=>_0x2dde06[_0x1da251(0x2bc)](_0x52d926);_0x3007f6['addEventListener'](_0x1da251(0x2bd),_0x3e5cc7),_0x451c7c['add'](_0x2884c4(()=>_0x3007f6[_0x1da251(0x2cc)](_0x1da251(0x2bd),_0x3e5cc7)));})[_0x5f241e(0x170)](_0x3c604e()),'close$':new _0x2ea919(_0x24938a=>{const _0x3b59ff=_0x5f241e,_0xf5211a=_0x47a1eb=>_0x24938a[_0x3b59ff(0x2bc)](_0x47a1eb);_0x3007f6['addEventListener'](_0x3b59ff(0x27f),_0xf5211a),_0x451c7c['add'](_0x2884c4(()=>_0x3007f6['removeEventListener'](_0x3b59ff(0x27f),_0xf5211a)));})[_0x5f241e(0x170)](_0x3c604e()),'error$':new _0x2ea919(_0x2ef074=>{const _0x405846=_0x5f241e,_0x4c0919=_0x6d48f8=>_0x2ef074[_0x405846(0x2bc)](_0x6d48f8);_0x3007f6[_0x405846(0x149)](_0x405846(0x189),_0x4c0919),_0x451c7c[_0x405846(0x1f5)](_0x2884c4(()=>_0x3007f6[_0x405846(0x2cc)](_0x405846(0x189),_0x4c0919)));})[_0x5f241e(0x170)](_0x3c604e()),'message$':new _0x2ea919(_0x29bb42=>{const _0x459e58=_0x5f241e,_0x4389e8=_0x9dedea=>_0x29bb42[_0x459e58(0x2bc)](_0x9dedea);_0x3007f6[_0x459e58(0x149)]('message',_0x4389e8),_0x451c7c[_0x459e58(0x1f5)](_0x2884c4(()=>_0x3007f6[_0x459e58(0x2cc)](_0x459e58(0x1bc),_0x4389e8)));})['pipe'](_0x3c604e())};}catch(_0x16c5b6){return console[_0x5f241e(0x189)](_0x16c5b6),null;}}};Ne=rr([sr(0x0,_0x177565)],Ne);var ir=Object[_0x4102fe(0x135)],nr=Object[_0x4102fe(0x1f9)],or=(_0xb7adfc,_0x62c85a,_0x5e22f1)=>_0x62c85a in _0xb7adfc?ir(_0xb7adfc,_0x62c85a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e22f1}):_0xb7adfc[_0x62c85a]=_0x5e22f1,ar=(_0x12fad4,_0x3aa699,_0x43f512,_0x401af6)=>{const _0x32f349=_0x4102fe;for(var _0x507a98=_0x401af6>0x1?void 0x0:_0x401af6?nr(_0x3aa699,_0x43f512):_0x3aa699,_0x28a9b7=_0x12fad4[_0x32f349(0x1ee)]-0x1,_0x3bee00;_0x28a9b7>=0x0;_0x28a9b7--)(_0x3bee00=_0x12fad4[_0x28a9b7])&&(_0x507a98=_0x3bee00(_0x507a98)||_0x507a98);return _0x507a98;},ke=(_0x3a08f7,_0xd9672b)=>(_0x3fce6b,_0x1c69b7)=>_0xd9672b(_0x3fce6b,_0x1c69b7,_0x3a08f7),lr=(_0x5c6d17,_0x45fe20,_0x5a8cdd)=>or(_0x5c6d17,_0x45fe20+'',_0x5a8cdd);let Pe=class extends _0x2bea9c{constructor(_0x512c32=Ft,_0x1783e4,_0x243739,_0x3da1b0){const _0x6f411c=_0x4102fe;_0x512c32[_0x6f411c(0x16c)]||_0x1783e4['warn'](_0x6f411c(0x1c1)),super(),this[_0x6f411c(0x2bb)]=_0x243739,this[_0x6f411c(0x22e)]=_0x3da1b0,this[_0x6f411c(0x2bb)][_0x6f411c(0x2c8)](Be,_0x512c32);}['onStarting'](){const _0x22a51a=_0x4102fe;this[_0x22a51a(0x16f)]();}[_0x4102fe(0x16f)](){_0x2f41d8(this['_injector'],[[_0x4346df,{'useClass':Ne}]]);}};function _0xecf5(_0x27fda6,_0x12295c){const _0x324f7f=_0x324f();return _0xecf5=function(_0xecf5cb,_0x3065a0){_0xecf5cb=_0xecf5cb-0x11d;let _0x570934=_0x324f7f[_0xecf5cb];return _0x570934;},_0xecf5(_0x27fda6,_0x12295c);}lr(Pe,_0x4102fe(0x1a2),_0x4102fe(0x222)),Pe=ar([_0x24e9b5(_0x1a5ae2),ke(0x1,_0x19dc62),ke(0x2,_0x177565),ke(0x3,_0x1b0e25(_0x165a7c))],Pe);var fr=Object[_0x4102fe(0x1f9)],cr=(_0x28e8c8,_0x2820c4,_0x5a8b22,_0x3c2109)=>{for(var _0x56c911=_0x3c2109>0x1?void 0x0:_0x3c2109?fr(_0x2820c4,_0x5a8b22):_0x2820c4,_0x3f40bc=_0x28e8c8['length']-0x1,_0x502fde;_0x3f40bc>=0x0;_0x3f40bc--)(_0x502fde=_0x28e8c8[_0x3f40bc])&&(_0x56c911=_0x502fde(_0x56c911)||_0x56c911);return _0x56c911;},se=(_0x20fd3e,_0x5222e5)=>(_0x1c9b9e,_0x1040fd)=>_0x5222e5(_0x1c9b9e,_0x1040fd,_0x20fd3e);let at=class extends _0x1d9e3c{constructor(_0x49b441,_0x137524,_0xbbc69d,_0x1c1722,_0x2ff00d){const _0x405f36=_0x4102fe;super(_0x49b441,_0x137524,_0xbbc69d,_0x1c1722,_0x2ff00d);const _0x5e4cc6=this[_0x405f36(0x2bb)][_0x405f36(0x1ce)](Be);this['_httpService'][_0x405f36(0x2a7)]({'interceptor':(_0x574b8e,_0x2d1a4b)=>{const _0x1d1490=_0x405f36;var _0xb4285;const _0xe6ca64=_0x574b8e[_0x1d1490(0x1fd)];return(_0xb4285=_0x5e4cc6==null?void 0x0:_0x5e4cc6['customHeaders'])!=null&&_0xb4285[_0x1d1490(0x21d)]&&_0xe6ca64['set']('Cookie',_0x5e4cc6['customHeaders']['cookie']),_0x2d1a4b(_0x574b8e);}});}async[_0x4102fe(0x1d7)](_0xd2b2f1){const _0x31de8c=_0x4102fe;return this[_0x31de8c(0x140)](_0xd2b2f1);}};at=cr([se(0x0,_0x1b0e25(_0x165a7c)),se(0x1,_0x1b0e25(_0x329854)),se(0x2,_0x177565),se(0x3,_0x19dc62),se(0x4,_0x1d6bc8)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x35420b=_0x5f07;function _0x1d68(){const _0x4adf50=['toString','_socket','apply','kAborted','skipUTF8Validation','defineProperty','request','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','accept','WS_NO_UTF_8_VALIDATE','Invalid\x20Sec-WebSocket-Extensions\x20header','sec-websocket-version','_writableState','\x0d\x0a\x0d\x0a','Basic\x20','\x22\x20must\x20have\x20only\x20a\x20single\x20value','finishRequest','from','blob','unexpected-response','_receiver','_autoPong','5837100CYMDlR','protocol','acceptAsServer','setHeader','extensions','buffer','_originalHostOrSocketPath','toStringTag','text/html','sec-websocket-protocol','flush','Unexpected\x20character\x20at\x20index\x20','FIN\x20must\x20be\x20set','decompress','byteLength','clients','_masked','_server','isInteger','_closeFrameReceived','finished','shouldHandle','_protocol','message','nextTick','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','consume','WS_ERR_INVALID_OPCODE','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','split','type','errorEmitted','dispatch','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','unshift','_state','protocolVersion','Server\x20sent\x20an\x20invalid\x20subprotocol','_write','url','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','Upgrade','normalizeParams','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','join','format','1613226vZJfGL','mask','statusCode','_binaryType','_no_context_takeover','generateMask','push','_fragments','bufferedAmount','_configService','_httpService','_closeFrameSent','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','2011080EvBmaH','arraybuffer','_maxPayload','completeUpgrade','kCode','warn','Sec-WebSocket-Extensions:\x20','writeUInt16BE','function','listenerCount','getOwnPropertyDescriptor','noServer','getMask','_originalSecure','Opening\x20handshake\x20has\x20timed\x20out','_messageLength','_paused','isServer','entries','Module','serverMaxWindowBits','_firstFragment','isBuffer','maxRedirects','kListener','slice','createDeflateRaw','MASK\x20must\x20be\x20set','RSV1\x20must\x20be\x20clear','Z_SYNC_FLUSH','websocket','once','addEventListener','_closeTimer','options','handleEvent','The\x20server\x20is\x20not\x20running','WS_ERR_INVALID_CLOSE_CODE','_maskBuffer','password','readable','invalid\x20opcode\x20','exports','readyState','_removeListeners','toLowerCase','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','writeUIntBE','listening','WS_ERR_UNEXPECTED_RSV_1','alloc','The\x20\x22','kType','length','createSocket','_inflate','isPaused','_queue','get','destroyed','WS_ERR_INVALID_UTF8','concurrency','_allowSynchronousEvents','error','read','response','captureStackTrace','Z_DEFAULT_WINDOWBITS','number','fin','CLOSING','writeHead','unmask','_generateMask','WS_ERR_EXPECTED_MASK','threshold','concurrencyLimit','_doCreateSocket','allocUnsafe','autoPong','_bufferedAmount','Invalid\x20WebSocket\x20frame:\x20','haveLength','end','dequeue','kRun','2Jwfoja','_fin','20336103rIoDUL','target','followRedirects','removeAllListeners','kByteLength','Connection:\x20Upgrade','createError','_read','base64','HTTP/1.1\x20101\x20Switching\x20Protocols','Sec-WebSocket-Extensions','pending','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','cookie','_decompress','onmessage','File','pow','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','binary','binaryType','_compress','digest','includes','setConfig','handshakeTimeout','stream','connection','terminate','_extensions','object','isIP','serverNoContextTakeover','readUInt16BE','replace','getInfo','keys','allowSynchronousEvents','_final','pong','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','default','finish','Unknown\x20parameter\x20\x22','onopen','hasOwnProperty','freeze','backlog','ws:','pathname','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Maximum\x20redirects\x20exceeded','_shouldEmitClose','_isServer','The\x20URL\x27s\x20pathname\x20is\x20empty','kIsForOnEventAttribute','size','MASK\x20must\x20be\x20clear','username','kTarget','test','charCodeAt','kMessage','invalid\x20opcode\x200','kWasClean','map','redirect','enqueue','_closeMessage','_totalPayloadLength','env','callback','207948zszavc','total-length','Invalid\x20Sec-WebSocket-Accept\x20header','port','pause','https:','Origin','destroy','socket','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','cleanup','catch','bind','emitClose','Sec-WebSocket-Protocol:\x20','verifyClient','prototype','sec-websocket-key','nodebuffer','href','dataMessage','byteOffset','Unexpected\x20server\x20response:\x20','registerHTTPInterceptor','kError','invalid\x20status\x20code\x20','permessage-deflate','status-code','_injector','_readableState','hostname','value','origin','dispose','client_no_context_takeover','Invalid\x20value\x20for\x20parameter\x20\x22','writable','drain','close','HTTP/1.1\x20','path','setSocket','WebSocket','_errored','emit','extensionName','removeEventListener','wasClean','call','_mask','Unsupported\x20protocol\x20version:\x20','then','send','reason','_options','_buffers','constructor','kReason','_closeCode','string','offer','_opcode','abort','Invalid\x20HTTP\x20method','_registerDependencies','has','maxPayload','_sender','invalid\x20payload\x20length\x20','sha1','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','auth','__esModule','conclude','resume','readUInt32BE','sendFrame','listen','_originalIpc','_payloadLength','forEach','isArray','client','setNoDelay','_errorEmitted','_compressed','connect','1862408QxaGbL','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_deflate','opcode','encrypted','headers','server_max_window_bits','clientTracking','server','CLOSED','open','zlibDeflateOptions','4489716fSkzzl','_skipUTF8Validation','arrayBuffer','listeners','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','getPayloadLength64','_readyState','\x22:\x20','onerror','\x22\x20subprotocol\x20is\x20duplicated','removeListener','address','server_no_context_takeover','Sec-WebSocket-Origin','_max_window_bits','clientNoContextTakeover','_req','perMessageDeflate','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','reset','controlMessage','upgrade','getConfig','startLoop','code','set','next','Invalid\x20Upgrade\x20header','timeout','species','client_max_window_bits','_loop','getPayloadLength16','The\x20URL\x20contains\x20a\x20fragment\x20identifier','socketPath','update','frame','_threshold','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','OPEN','setTimeout','indexOf','Parameter\x20\x22','Unexpected\x20end\x20of\x20input','49HMUPGC','startsWith','values','WS_NO_BUFFER_UTIL','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','customHeaders','params','handleProtocols','CONNECTING','Max\x20payload\x20size\x20exceeded','createServer','sec-websocket-extensions','isValidUTF8','rsv1','getBlobData','Cookie','getData','add','servername','Upgrade:\x20websocket','shift','_fragmented','create','endEmitted','readOnly','objectMode','concat','STATUS_CODES','location','host','authorization','clientMaxWindowBits','_bufferedBytes','parse','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_redirects','invalid\x20UTF-8\x20sequence','data','compress','onclose','jobs','Sec-WebSocket-Accept:\x20','wss:','\x20(supported\x20versions:\x20','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','onStarting','write','createConnection','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','ping'];_0x1d68=function(){return _0x4adf50;};return _0x1d68();}(function(_0x260bf1,_0x4a5d62){const _0x1c238b=_0x5f07,_0x515f01=_0x260bf1();while(!![]){try{const _0x32dcbb=parseInt(_0x1c238b(0x13d))/0x1*(-parseInt(_0x1c238b(0x24e))/0x2)+parseInt(_0x1c238b(0x149))/0x3+parseInt(_0x1c238b(0x298))/0x4+parseInt(_0x1c238b(0x1bd))/0x5+-parseInt(_0x1c238b(0x1eb))/0x6*(parseInt(_0x1c238b(0x175))/0x7)+-parseInt(_0x1c238b(0x1f8))/0x8+parseInt(_0x1c238b(0x250))/0x9;if(_0x32dcbb===_0x4a5d62)break;else _0x515f01['push'](_0x515f01['shift']());}catch(_0x5ce238){_0x515f01['push'](_0x515f01['shift']());}}}(_0x1d68,0xef2c8));import{UniverCollaborationClientPlugin as _0x44eecd,CollaborationSocketService as _0x1170dd}from'@univerjs-pro/collaboration-client';import{Disposable as _0x5ea5cc,DisposableCollection as _0x4b6ccf,toDisposable as _0x406fb7,IConfigService as _0x2905c3,DependentOn as _0xbf5bb6,ILogService as _0x1facdc,Inject as _0x3e39f7,Injector as _0x2a7371,Plugin as _0x4cc62b,registerDependencies as _0x44dc59}from'@univerjs/core';import{ISocketService as _0x2e8ef2,HTTPService as _0xe6f676}from'@univerjs/network';import{Observable as _0x29e1d9,share as _0x448d37}from'rxjs';import _0x344e36 from'events';import _0x337fbf from'https';import _0x47066c from'http';import _0x319788 from'net';function _0x5f07(_0x4e1a70,_0x2ad316){const _0x1d68c1=_0x1d68();return _0x5f07=function(_0x5f072b,_0x392b7d){_0x5f072b=_0x5f072b-0x109;let _0x1e5941=_0x1d68c1[_0x5f072b];return _0x1e5941;},_0x5f07(_0x4e1a70,_0x2ad316);}import _0x4384db from'tls';import _0x163c13 from'crypto';import _0xed2e2c from'stream';import _0x2f30f2 from'url';import _0x418031 from'zlib';import _0x585356 from'buffer';import{ISnapshotServerService as _0x81118a}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function jt(_0x36dfc0){const _0x68a554=_0x5f07;return _0x36dfc0&&_0x36dfc0[_0x68a554(0x12e)]&&Object[_0x68a554(0x2a8)][_0x68a554(0x27d)][_0x68a554(0x116)](_0x36dfc0,_0x68a554(0x279))?_0x36dfc0['default']:_0x36dfc0;}function ut(_0x2e282d){const _0x30b7eb=_0x5f07;if(Object['prototype'][_0x30b7eb(0x27d)]['call'](_0x2e282d,_0x30b7eb(0x12e)))return _0x2e282d;var _0x11864b=_0x2e282d[_0x30b7eb(0x279)];if(typeof _0x11864b==_0x30b7eb(0x200)){var _0x2ddbe4=function _0x4c2a6e(){const _0xb93319=_0x30b7eb;return this instanceof _0x4c2a6e?Reflect['construct'](_0x11864b,arguments,this[_0xb93319(0x11e)]):_0x11864b[_0xb93319(0x1a9)](this,arguments);};_0x2ddbe4[_0x30b7eb(0x2a8)]=_0x11864b[_0x30b7eb(0x2a8)];}else _0x2ddbe4={};return Object[_0x30b7eb(0x1ac)](_0x2ddbe4,_0x30b7eb(0x12e),{'value':!0x0}),Object[_0x30b7eb(0x274)](_0x2e282d)[_0x30b7eb(0x136)](function(_0x4c0523){const _0x2d5d06=_0x30b7eb;var _0x1913d2=Object[_0x2d5d06(0x202)](_0x2e282d,_0x4c0523);Object[_0x2d5d06(0x1ac)](_0x2ddbe4,_0x4c0523,_0x1913d2[_0x2d5d06(0x232)]?_0x1913d2:{'enumerable':!0x0,'get':function(){return _0x2e282d[_0x4c0523];}});}),_0x2ddbe4;}var te={'exports':{}},ge,Ye;function V(){const _0x25d9b7=_0x5f07;if(Ye)return ge;Ye=0x1;const _0x315ec9=[_0x25d9b7(0x2aa),_0x25d9b7(0x1f9),'fragments'],_0x30b645=typeof Blob<'u';return _0x30b645&&_0x315ec9[_0x25d9b7(0x1f1)](_0x25d9b7(0x1b9)),ge={'BINARY_TYPES':_0x315ec9,'EMPTY_BUFFER':Buffer[_0x25d9b7(0x22a)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x30b645,'kForOnEventAttribute':Symbol(_0x25d9b7(0x287)),'kListener':Symbol(_0x25d9b7(0x210)),'kStatusCode':Symbol(_0x25d9b7(0x2b3)),'kWebSocket':Symbol(_0x25d9b7(0x216)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object['freeze'](Object[_0x35420b(0x1ac)]({'__proto__':null,'default':Wt},Symbol['toStringTag'],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x45c4aa=_0x35420b;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x200160}=V(),_0x4d96a6=Buffer[Symbol['species']];function _0x452c1e(_0x1f1fad,_0x3a8cf1){const _0x22d41b=_0x5f07;if(_0x1f1fad[_0x22d41b(0x22d)]===0x0)return _0x200160;if(_0x1f1fad['length']===0x1)return _0x1f1fad[0x0];const _0x3c2b3f=Buffer[_0x22d41b(0x246)](_0x3a8cf1);let _0x4d4e4b=0x0;for(let _0x486d87=0x0;_0x486d87<_0x1f1fad['length'];_0x486d87++){const _0x524df4=_0x1f1fad[_0x486d87];_0x3c2b3f[_0x22d41b(0x162)](_0x524df4,_0x4d4e4b),_0x4d4e4b+=_0x524df4[_0x22d41b(0x22d)];}return _0x4d4e4b<_0x3a8cf1?new _0x4d96a6(_0x3c2b3f[_0x22d41b(0x1c2)],_0x3c2b3f[_0x22d41b(0x2ad)],_0x4d4e4b):_0x3c2b3f;}function _0x4ca822(_0x562998,_0x248450,_0x230911,_0x22d0d0,_0x398726){for(let _0x5d8daa=0x0;_0x5d8daa<_0x398726;_0x5d8daa++)_0x230911[_0x22d0d0+_0x5d8daa]=_0x562998[_0x5d8daa]^_0x248450[_0x5d8daa&0x3];}function _0x287e52(_0x527ef8,_0x485c81){const _0x2fea8c=_0x5f07;for(let _0x40a082=0x0;_0x40a082<_0x527ef8[_0x2fea8c(0x22d)];_0x40a082++)_0x527ef8[_0x40a082]^=_0x485c81[_0x40a082&0x3];}function _0x58fb6b(_0x27abff){const _0x10b369=_0x5f07;return _0x27abff[_0x10b369(0x22d)]===_0x27abff[_0x10b369(0x1c2)]['byteLength']?_0x27abff[_0x10b369(0x1c2)]:_0x27abff[_0x10b369(0x1c2)][_0x10b369(0x211)](_0x27abff['byteOffset'],_0x27abff[_0x10b369(0x2ad)]+_0x27abff[_0x10b369(0x22d)]);}function _0x1e9151(_0x141c63){const _0x523c40=_0x5f07;if(_0x1e9151['readOnly']=!0x0,Buffer[_0x523c40(0x20e)](_0x141c63))return _0x141c63;let _0x5c4d92;return _0x141c63 instanceof ArrayBuffer?_0x5c4d92=new _0x4d96a6(_0x141c63):ArrayBuffer['isView'](_0x141c63)?_0x5c4d92=new _0x4d96a6(_0x141c63[_0x523c40(0x1c2)],_0x141c63['byteOffset'],_0x141c63[_0x523c40(0x1cb)]):(_0x5c4d92=Buffer['from'](_0x141c63),_0x1e9151[_0x523c40(0x18d)]=!0x1),_0x5c4d92;}if(te[_0x45c4aa(0x222)]={'concat':_0x452c1e,'mask':_0x4ca822,'toArrayBuffer':_0x58fb6b,'toBuffer':_0x1e9151,'unmask':_0x287e52},!process[_0x45c4aa(0x296)][_0x45c4aa(0x178)])try{const _0x5b1468=Vt;te[_0x45c4aa(0x222)][_0x45c4aa(0x1ec)]=function(_0x4d67dd,_0x2108d1,_0x259d6f,_0x3084a5,_0x4b3072){_0x4b3072<0x30?_0x4ca822(_0x4d67dd,_0x2108d1,_0x259d6f,_0x3084a5,_0x4b3072):_0x5b1468['mask'](_0x4d67dd,_0x2108d1,_0x259d6f,_0x3084a5,_0x4b3072);},te[_0x45c4aa(0x222)][_0x45c4aa(0x240)]=function(_0xfbc7a5,_0x3555f5){const _0x24f8f0=_0x45c4aa;_0xfbc7a5[_0x24f8f0(0x22d)]<0x20?_0x287e52(_0xfbc7a5,_0x3555f5):_0x5b1468[_0x24f8f0(0x240)](_0xfbc7a5,_0x3555f5);};}catch{}return te[_0x45c4aa(0x222)];}var ye,Xe;function qt(){const _0x360921=_0x35420b;if(Xe)return ye;Xe=0x1;const _0x2b6f3d=Symbol('kDone'),_0x2bfdd3=Symbol(_0x360921(0x24d));class _0x3d643c{constructor(_0x267239){const _0x1daedf=_0x360921;this[_0x2b6f3d]=()=>{const _0x258c5a=_0x5f07;this[_0x258c5a(0x25b)]--,this[_0x2bfdd3]();},this[_0x1daedf(0x235)]=_0x267239||0x1/0x0,this[_0x1daedf(0x19d)]=[],this[_0x1daedf(0x25b)]=0x0;}[_0x360921(0x186)](_0x5d7fb4){const _0x4f512e=_0x360921;this['jobs'][_0x4f512e(0x1f1)](_0x5d7fb4),this[_0x2bfdd3]();}[_0x2bfdd3](){const _0x7becf3=_0x360921;if(this[_0x7becf3(0x25b)]!==this['concurrency']&&this[_0x7becf3(0x19d)][_0x7becf3(0x22d)]){const _0x2b60ae=this[_0x7becf3(0x19d)][_0x7becf3(0x189)]();this[_0x7becf3(0x25b)]++,_0x2b60ae(this[_0x2b6f3d]);}}}return ye=_0x3d643c,ye;}var ve,Ze;function he(){const _0x317790=_0x35420b;if(Ze)return ve;Ze=0x1;const _0x42b359=_0x418031,_0x13da54=ce(),_0x4cf89b=qt(),{kStatusCode:_0x2b8fdb}=V(),_0x83291c=Buffer[Symbol['species']],_0x1e063f=Buffer[_0x317790(0x1b8)]([0x0,0x0,0xff,0xff]),_0x5d5825=Symbol('permessage-deflate'),_0x190624=Symbol(_0x317790(0x299)),_0x344d5c=Symbol(_0x317790(0x297)),_0x5d6f55=Symbol('buffers'),_0x3c6036=Symbol(_0x317790(0x237));let _0x73c9c0;class _0x32204b{constructor(_0xea2058,_0x36529b,_0x373018){const _0x12163d=_0x317790;if(this[_0x12163d(0x1fa)]=_0x373018|0x0,this['_options']=_0xea2058||{},this[_0x12163d(0x16e)]=this[_0x12163d(0x11c)][_0x12163d(0x243)]!==void 0x0?this[_0x12163d(0x11c)][_0x12163d(0x243)]:0x400,this[_0x12163d(0x285)]=!!_0x36529b,this[_0x12163d(0x13f)]=null,this[_0x12163d(0x22f)]=null,this[_0x12163d(0x17b)]=null,!_0x73c9c0){const _0x1960c6=this[_0x12163d(0x11c)][_0x12163d(0x244)]!==void 0x0?this[_0x12163d(0x11c)]['concurrencyLimit']:0xa;_0x73c9c0=new _0x4cf89b(_0x1960c6);}}static get[_0x317790(0x113)](){const _0x753733=_0x317790;return _0x753733(0x2b2);}[_0x317790(0x122)](){const _0x52fdd6=_0x317790,_0x48a46e={};return this[_0x52fdd6(0x11c)][_0x52fdd6(0x270)]&&(_0x48a46e[_0x52fdd6(0x155)]=!0x0),this[_0x52fdd6(0x11c)][_0x52fdd6(0x158)]&&(_0x48a46e['client_no_context_takeover']=!0x0),this[_0x52fdd6(0x11c)][_0x52fdd6(0x20c)]&&(_0x48a46e[_0x52fdd6(0x143)]=this[_0x52fdd6(0x11c)][_0x52fdd6(0x20c)]),this[_0x52fdd6(0x11c)][_0x52fdd6(0x194)]?_0x48a46e[_0x52fdd6(0x167)]=this[_0x52fdd6(0x11c)][_0x52fdd6(0x194)]:this[_0x52fdd6(0x11c)][_0x52fdd6(0x194)]==null&&(_0x48a46e[_0x52fdd6(0x167)]=!0x0),_0x48a46e;}[_0x317790(0x1af)](_0x53b851){const _0x5c6e44=_0x317790;return _0x53b851=this[_0x5c6e44(0x1e7)](_0x53b851),this[_0x5c6e44(0x17b)]=this['_isServer']?this[_0x5c6e44(0x1bf)](_0x53b851):this['acceptAsClient'](_0x53b851),this[_0x5c6e44(0x17b)];}[_0x317790(0x2a2)](){const _0xd4b157=_0x317790;if(this[_0xd4b157(0x22f)]&&(this[_0xd4b157(0x22f)][_0xd4b157(0x10c)](),this[_0xd4b157(0x22f)]=null),this['_deflate']){const _0x489b5c=this[_0xd4b157(0x13f)][_0x344d5c];this[_0xd4b157(0x13f)][_0xd4b157(0x10c)](),this['_deflate']=null,_0x489b5c&&_0x489b5c(new Error(_0xd4b157(0x1d6)));}}['acceptAsServer'](_0x5c8b7c){const _0x30177f=_0x317790,_0x41f443=this[_0x30177f(0x11c)],_0x5941e7=_0x5c8b7c['find'](_0x6a0e03=>!(_0x41f443[_0x30177f(0x270)]===!0x1&&_0x6a0e03[_0x30177f(0x155)]||_0x6a0e03[_0x30177f(0x143)]&&(_0x41f443['serverMaxWindowBits']===!0x1||typeof _0x41f443[_0x30177f(0x20c)]==_0x30177f(0x23c)&&_0x41f443['serverMaxWindowBits']>_0x6a0e03['server_max_window_bits'])||typeof _0x41f443[_0x30177f(0x194)]==_0x30177f(0x23c)&&!_0x6a0e03[_0x30177f(0x167)]));if(!_0x5941e7)throw new Error(_0x30177f(0x1f7));return _0x41f443[_0x30177f(0x270)]&&(_0x5941e7['server_no_context_takeover']=!0x0),_0x41f443[_0x30177f(0x158)]&&(_0x5941e7[_0x30177f(0x2ba)]=!0x0),typeof _0x41f443[_0x30177f(0x20c)]==_0x30177f(0x23c)&&(_0x5941e7['server_max_window_bits']=_0x41f443[_0x30177f(0x20c)]),typeof _0x41f443[_0x30177f(0x194)]==_0x30177f(0x23c)?_0x5941e7['client_max_window_bits']=_0x41f443[_0x30177f(0x194)]:(_0x5941e7[_0x30177f(0x167)]===!0x0||_0x41f443[_0x30177f(0x194)]===!0x1)&&delete _0x5941e7[_0x30177f(0x167)],_0x5941e7;}['acceptAsClient'](_0x47d2dc){const _0x2d64b7=_0x317790,_0xc2c44a=_0x47d2dc[0x0];if(this['_options'][_0x2d64b7(0x158)]===!0x1&&_0xc2c44a[_0x2d64b7(0x2ba)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0xc2c44a[_0x2d64b7(0x167)])typeof this[_0x2d64b7(0x11c)][_0x2d64b7(0x194)]=='number'&&(_0xc2c44a['client_max_window_bits']=this[_0x2d64b7(0x11c)][_0x2d64b7(0x194)]);else{if(this[_0x2d64b7(0x11c)]['clientMaxWindowBits']===!0x1||typeof this[_0x2d64b7(0x11c)]['clientMaxWindowBits']==_0x2d64b7(0x23c)&&_0xc2c44a[_0x2d64b7(0x167)]>this[_0x2d64b7(0x11c)][_0x2d64b7(0x194)])throw new Error(_0x2d64b7(0x1e8));}return _0xc2c44a;}[_0x317790(0x1e7)](_0x25a8e){const _0x2aedc6=_0x317790;return _0x25a8e[_0x2aedc6(0x136)](_0x35fc8a=>{const _0x11ac5b=_0x2aedc6;Object['keys'](_0x35fc8a)[_0x11ac5b(0x136)](_0x582eaa=>{const _0x1a6a9f=_0x11ac5b;let _0x4151b8=_0x35fc8a[_0x582eaa];if(_0x4151b8['length']>0x1)throw new Error(_0x1a6a9f(0x173)+_0x582eaa+_0x1a6a9f(0x1b6));if(_0x4151b8=_0x4151b8[0x0],_0x582eaa===_0x1a6a9f(0x167)){if(_0x4151b8!==!0x0){const _0xb12f4b=+_0x4151b8;if(!Number[_0x1a6a9f(0x1cf)](_0xb12f4b)||_0xb12f4b<0x8||_0xb12f4b>0xf)throw new TypeError(_0x1a6a9f(0x109)+_0x582eaa+_0x1a6a9f(0x150)+_0x4151b8);_0x4151b8=_0xb12f4b;}else{if(!this[_0x1a6a9f(0x285)])throw new TypeError(_0x1a6a9f(0x109)+_0x582eaa+'\x22:\x20'+_0x4151b8);}}else{if(_0x582eaa===_0x1a6a9f(0x143)){const _0x5c557b=+_0x4151b8;if(!Number[_0x1a6a9f(0x1cf)](_0x5c557b)||_0x5c557b<0x8||_0x5c557b>0xf)throw new TypeError(_0x1a6a9f(0x109)+_0x582eaa+'\x22:\x20'+_0x4151b8);_0x4151b8=_0x5c557b;}else{if(_0x582eaa===_0x1a6a9f(0x2ba)||_0x582eaa===_0x1a6a9f(0x155)){if(_0x4151b8!==!0x0)throw new TypeError(_0x1a6a9f(0x109)+_0x582eaa+_0x1a6a9f(0x150)+_0x4151b8);}else throw new Error(_0x1a6a9f(0x27b)+_0x582eaa+'\x22');}}_0x35fc8a[_0x582eaa]=_0x4151b8;});}),_0x25a8e;}[_0x317790(0x1ca)](_0x4d2159,_0x3e6042,_0x4c01a7){_0x73c9c0['add'](_0x5d402e=>{const _0xeb665=_0x5f07;this[_0xeb665(0x25e)](_0x4d2159,_0x3e6042,(_0x460b01,_0x1dc536)=>{_0x5d402e(),_0x4c01a7(_0x460b01,_0x1dc536);});});}[_0x317790(0x19b)](_0x4e8cf0,_0x29faba,_0x5e0903){const _0x2cb7a6=_0x317790;_0x73c9c0[_0x2cb7a6(0x186)](_0x3b17f2=>{this['_compress'](_0x4e8cf0,_0x29faba,(_0xa5b062,_0x4c3401)=>{_0x3b17f2(),_0x5e0903(_0xa5b062,_0x4c3401);});});}[_0x317790(0x25e)](_0x14ad88,_0x547c74,_0x1ffb2f){const _0x3ebadb=_0x317790,_0x5bd036=this[_0x3ebadb(0x285)]?_0x3ebadb(0x138):_0x3ebadb(0x145);if(!this[_0x3ebadb(0x22f)]){const _0x43dcae=_0x5bd036+_0x3ebadb(0x157),_0x5b74b0=typeof this[_0x3ebadb(0x17b)][_0x43dcae]!=_0x3ebadb(0x23c)?_0x42b359[_0x3ebadb(0x23b)]:this['params'][_0x43dcae];this['_inflate']=_0x42b359['createInflateRaw']({...this[_0x3ebadb(0x11c)]['zlibInflateOptions'],'windowBits':_0x5b74b0}),this[_0x3ebadb(0x22f)][_0x5d5825]=this,this[_0x3ebadb(0x22f)][_0x190624]=0x0,this[_0x3ebadb(0x22f)][_0x5d6f55]=[],this['_inflate']['on'](_0x3ebadb(0x237),_0x21f165),this['_inflate']['on'](_0x3ebadb(0x19a),_0x5779a1);}this['_inflate'][_0x344d5c]=_0x1ffb2f,this['_inflate'][_0x3ebadb(0x1a3)](_0x14ad88),_0x547c74&&this[_0x3ebadb(0x22f)]['write'](_0x1e063f),this[_0x3ebadb(0x22f)][_0x3ebadb(0x1c7)](()=>{const _0x3699ac=_0x3ebadb,_0x1e403b=this['_inflate'][_0x3c6036];if(_0x1e403b){this['_inflate']['close'](),this[_0x3699ac(0x22f)]=null,_0x1ffb2f(_0x1e403b);return;}const _0x12c7e7=_0x13da54[_0x3699ac(0x18f)](this[_0x3699ac(0x22f)][_0x5d6f55],this[_0x3699ac(0x22f)][_0x190624]);this[_0x3699ac(0x22f)][_0x3699ac(0x2b5)][_0x3699ac(0x18c)]?(this['_inflate'][_0x3699ac(0x10c)](),this[_0x3699ac(0x22f)]=null):(this[_0x3699ac(0x22f)][_0x190624]=0x0,this['_inflate'][_0x5d6f55]=[],_0x547c74&&this['params'][_0x5bd036+_0x3699ac(0x1ef)]&&this[_0x3699ac(0x22f)]['reset']()),_0x1ffb2f(null,_0x12c7e7);});}['_compress'](_0x1155a6,_0x4f20fe,_0x115366){const _0x29b0b5=_0x317790,_0x9e9736=this[_0x29b0b5(0x285)]?_0x29b0b5(0x145):_0x29b0b5(0x138);if(!this[_0x29b0b5(0x13f)]){const _0x3d21b6=_0x9e9736+'_max_window_bits',_0x44adfb=typeof this[_0x29b0b5(0x17b)][_0x3d21b6]!=_0x29b0b5(0x23c)?_0x42b359['Z_DEFAULT_WINDOWBITS']:this[_0x29b0b5(0x17b)][_0x3d21b6];this[_0x29b0b5(0x13f)]=_0x42b359[_0x29b0b5(0x212)]({...this[_0x29b0b5(0x11c)][_0x29b0b5(0x148)],'windowBits':_0x44adfb}),this[_0x29b0b5(0x13f)][_0x190624]=0x0,this[_0x29b0b5(0x13f)][_0x5d6f55]=[],this[_0x29b0b5(0x13f)]['on'](_0x29b0b5(0x19a),_0x3a8c78);}this[_0x29b0b5(0x13f)][_0x344d5c]=_0x115366,this[_0x29b0b5(0x13f)][_0x29b0b5(0x1a3)](_0x1155a6),this['_deflate']['flush'](_0x42b359[_0x29b0b5(0x215)],()=>{const _0x4b2894=_0x29b0b5;if(!this[_0x4b2894(0x13f)])return;let _0x307319=_0x13da54[_0x4b2894(0x18f)](this[_0x4b2894(0x13f)][_0x5d6f55],this[_0x4b2894(0x13f)][_0x190624]);_0x4f20fe&&(_0x307319=new _0x83291c(_0x307319['buffer'],_0x307319[_0x4b2894(0x2ad)],_0x307319[_0x4b2894(0x22d)]-0x4)),this[_0x4b2894(0x13f)][_0x344d5c]=null,this['_deflate'][_0x190624]=0x0,this[_0x4b2894(0x13f)][_0x5d6f55]=[],_0x4f20fe&&this['params'][_0x9e9736+_0x4b2894(0x1ef)]&&this[_0x4b2894(0x13f)][_0x4b2894(0x15c)](),_0x115366(null,_0x307319);});}}ve=_0x32204b;function _0x3a8c78(_0x50aaa4){const _0x25fb30=_0x317790;this[_0x5d6f55][_0x25fb30(0x1f1)](_0x50aaa4),this[_0x190624]+=_0x50aaa4['length'];}function _0x5779a1(_0x451f54){const _0xfa7805=_0x317790;if(this[_0x190624]+=_0x451f54[_0xfa7805(0x22d)],this[_0x5d5825][_0xfa7805(0x1fa)]<0x1||this[_0x190624]<=this[_0x5d5825][_0xfa7805(0x1fa)]){this[_0x5d6f55][_0xfa7805(0x1f1)](_0x451f54);return;}this[_0x3c6036]=new RangeError(_0xfa7805(0x17e)),this[_0x3c6036]['code']=_0xfa7805(0x15b),this[_0x3c6036][_0x2b8fdb]=0x3f1,this['removeListener']('data',_0x5779a1),this[_0xfa7805(0x15c)]();}function _0x21f165(_0x2af429){const _0x2a8df7=_0x317790;if(this[_0x5d5825][_0x2a8df7(0x22f)]=null,this[_0x3c6036]){this[_0x344d5c](this[_0x3c6036]);return;}_0x2af429[_0x2b8fdb]=0x3ef,this[_0x344d5c](_0x2af429);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x35420b(0x27e)](Object[_0x35420b(0x1ac)]({'__proto__':null,'default':Ht},Symbol[_0x35420b(0x1c4)],{'value':_0x35420b(0x20b)})),Yt=ut(zt);var Qe;function ne(){const _0x1dbd6f=_0x35420b;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x3e7119}=_0x585356,{hasBlob:_0x91421d}=V(),_0x4b398c=[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 _0x267733(_0x58b222){return _0x58b222>=0x3e8&&_0x58b222<=0x3f6&&_0x58b222!==0x3ec&&_0x58b222!==0x3ed&&_0x58b222!==0x3ee||_0x58b222>=0xbb8&&_0x58b222<=0x1387;}function _0x28e6c7(_0x1a00f9){const _0x37f4ad=_0x1a00f9['length'];let _0x55f13f=0x0;for(;_0x55f13f<_0x37f4ad;)if((_0x1a00f9[_0x55f13f]&0x80)===0x0)_0x55f13f++;else{if((_0x1a00f9[_0x55f13f]&0xe0)===0xc0){if(_0x55f13f+0x1===_0x37f4ad||(_0x1a00f9[_0x55f13f+0x1]&0xc0)!==0x80||(_0x1a00f9[_0x55f13f]&0xfe)===0xc0)return!0x1;_0x55f13f+=0x2;}else{if((_0x1a00f9[_0x55f13f]&0xf0)===0xe0){if(_0x55f13f+0x2>=_0x37f4ad||(_0x1a00f9[_0x55f13f+0x1]&0xc0)!==0x80||(_0x1a00f9[_0x55f13f+0x2]&0xc0)!==0x80||_0x1a00f9[_0x55f13f]===0xe0&&(_0x1a00f9[_0x55f13f+0x1]&0xe0)===0x80||_0x1a00f9[_0x55f13f]===0xed&&(_0x1a00f9[_0x55f13f+0x1]&0xe0)===0xa0)return!0x1;_0x55f13f+=0x3;}else{if((_0x1a00f9[_0x55f13f]&0xf8)===0xf0){if(_0x55f13f+0x3>=_0x37f4ad||(_0x1a00f9[_0x55f13f+0x1]&0xc0)!==0x80||(_0x1a00f9[_0x55f13f+0x2]&0xc0)!==0x80||(_0x1a00f9[_0x55f13f+0x3]&0xc0)!==0x80||_0x1a00f9[_0x55f13f]===0xf0&&(_0x1a00f9[_0x55f13f+0x1]&0xf0)===0x80||_0x1a00f9[_0x55f13f]===0xf4&&_0x1a00f9[_0x55f13f+0x1]>0x8f||_0x1a00f9[_0x55f13f]>0xf4)return!0x1;_0x55f13f+=0x4;}else return!0x1;}}}return!0x0;}function _0x12c4a4(_0x34590b){const _0x7b24f7=_0x5f07;return _0x91421d&&typeof _0x34590b==_0x7b24f7(0x26e)&&typeof _0x34590b[_0x7b24f7(0x14b)]==_0x7b24f7(0x200)&&typeof _0x34590b[_0x7b24f7(0x1db)]==_0x7b24f7(0x121)&&typeof _0x34590b[_0x7b24f7(0x26a)]=='function'&&(_0x34590b[Symbol[_0x7b24f7(0x1c4)]]==='Blob'||_0x34590b[Symbol[_0x7b24f7(0x1c4)]]===_0x7b24f7(0x260));}if(re[_0x1dbd6f(0x222)]={'isBlob':_0x12c4a4,'isValidStatusCode':_0x267733,'isValidUTF8':_0x28e6c7,'tokenChars':_0x4b398c},_0x3e7119)re[_0x1dbd6f(0x222)][_0x1dbd6f(0x181)]=function(_0x4b1b4c){const _0x3caf19=_0x1dbd6f;return _0x4b1b4c[_0x3caf19(0x22d)]<0x18?_0x28e6c7(_0x4b1b4c):_0x3e7119(_0x4b1b4c);};else{if(!process['env'][_0x1dbd6f(0x1b0)])try{const _0x4d8e07=Yt;re[_0x1dbd6f(0x222)][_0x1dbd6f(0x181)]=function(_0x57c0ab){const _0x3a4a35=_0x1dbd6f;return _0x57c0ab[_0x3a4a35(0x22d)]<0x20?_0x28e6c7(_0x57c0ab):_0x4d8e07(_0x57c0ab);};}catch{}}return re[_0x1dbd6f(0x222)];}var Se,Je;function dt(){const _0x2185bd=_0x35420b;if(Je)return Se;Je=0x1;const {Writable:_0x382fef}=_0xed2e2c,_0x481047=he(),{BINARY_TYPES:_0x16f322,EMPTY_BUFFER:_0x370b25,kStatusCode:_0x544c83,kWebSocket:_0x15bfe0}=V(),{concat:_0x5dc00b,toArrayBuffer:_0x106387,unmask:_0x5dc182}=ce(),{isValidStatusCode:_0x490042,isValidUTF8:_0x1b18a4}=ne(),_0x2e327e=Buffer[Symbol[_0x2185bd(0x166)]],_0x6ef141=0x0,_0x306ee4=0x1,_0x579373=0x2,_0x434862=0x3,_0x356b25=0x4,_0x288972=0x5,_0x25804d=0x6;class _0x369ec5 extends _0x382fef{constructor(_0xed8c0={}){const _0x554603=_0x2185bd;super(),this[_0x554603(0x236)]=_0xed8c0[_0x554603(0x275)]!==void 0x0?_0xed8c0[_0x554603(0x275)]:!0x0,this[_0x554603(0x1ee)]=_0xed8c0['binaryType']||_0x16f322[0x0],this['_extensions']=_0xed8c0[_0x554603(0x1c1)]||{},this[_0x554603(0x285)]=!!_0xed8c0[_0x554603(0x209)],this['_maxPayload']=_0xed8c0[_0x554603(0x128)]|0x0,this[_0x554603(0x14a)]=!!_0xed8c0[_0x554603(0x1ab)],this[_0x15bfe0]=void 0x0,this[_0x554603(0x195)]=0x0,this[_0x554603(0x11d)]=[],this[_0x554603(0x13b)]=!0x1,this[_0x554603(0x135)]=0x0,this[_0x554603(0x117)]=void 0x0,this[_0x554603(0x18a)]=0x0,this[_0x554603(0x1cd)]=!0x1,this[_0x554603(0x24f)]=!0x1,this[_0x554603(0x123)]=0x0,this['_totalPayloadLength']=0x0,this[_0x554603(0x207)]=0x0,this[_0x554603(0x1f2)]=[],this['_errored']=!0x1,this[_0x554603(0x168)]=!0x1,this[_0x554603(0x1e0)]=_0x6ef141;}[_0x2185bd(0x1e3)](_0x18fe4e,_0x4e077a,_0x23f140){const _0x4ad04d=_0x2185bd;if(this[_0x4ad04d(0x123)]===0x8&&this[_0x4ad04d(0x1e0)]==_0x6ef141)return _0x23f140();this[_0x4ad04d(0x195)]+=_0x18fe4e[_0x4ad04d(0x22d)],this[_0x4ad04d(0x11d)][_0x4ad04d(0x1f1)](_0x18fe4e),this['startLoop'](_0x23f140);}[_0x2185bd(0x1d7)](_0x4efe61){const _0x370950=_0x2185bd;if(this['_bufferedBytes']-=_0x4efe61,_0x4efe61===this[_0x370950(0x11d)][0x0]['length'])return this[_0x370950(0x11d)][_0x370950(0x189)]();if(_0x4efe61<this[_0x370950(0x11d)][0x0][_0x370950(0x22d)]){const _0x520353=this[_0x370950(0x11d)][0x0];return this['_buffers'][0x0]=new _0x2e327e(_0x520353['buffer'],_0x520353[_0x370950(0x2ad)]+_0x4efe61,_0x520353[_0x370950(0x22d)]-_0x4efe61),new _0x2e327e(_0x520353[_0x370950(0x1c2)],_0x520353[_0x370950(0x2ad)],_0x4efe61);}const _0x488a77=Buffer[_0x370950(0x246)](_0x4efe61);do{const _0x37ba4d=this[_0x370950(0x11d)][0x0],_0x3b1eb6=_0x488a77[_0x370950(0x22d)]-_0x4efe61;_0x4efe61>=_0x37ba4d[_0x370950(0x22d)]?_0x488a77[_0x370950(0x162)](this[_0x370950(0x11d)][_0x370950(0x189)](),_0x3b1eb6):(_0x488a77[_0x370950(0x162)](new Uint8Array(_0x37ba4d[_0x370950(0x1c2)],_0x37ba4d[_0x370950(0x2ad)],_0x4efe61),_0x3b1eb6),this[_0x370950(0x11d)][0x0]=new _0x2e327e(_0x37ba4d[_0x370950(0x1c2)],_0x37ba4d['byteOffset']+_0x4efe61,_0x37ba4d['length']-_0x4efe61)),_0x4efe61-=_0x37ba4d['length'];}while(_0x4efe61>0x0);return _0x488a77;}[_0x2185bd(0x160)](_0x55d6e8){const _0x2c7101=_0x2185bd;this[_0x2c7101(0x168)]=!0x0;do switch(this['_state']){case _0x6ef141:this[_0x2c7101(0x273)](_0x55d6e8);break;case _0x306ee4:this[_0x2c7101(0x169)](_0x55d6e8);break;case _0x579373:this[_0x2c7101(0x14e)](_0x55d6e8);break;case _0x434862:this[_0x2c7101(0x204)]();break;case _0x356b25:this[_0x2c7101(0x185)](_0x55d6e8);break;case _0x288972:case _0x25804d:this[_0x2c7101(0x168)]=!0x1;return;}while(this[_0x2c7101(0x168)]);this['_errored']||_0x55d6e8();}[_0x2185bd(0x273)](_0x5d3e78){const _0x2e95fe=_0x2185bd;if(this[_0x2e95fe(0x195)]<0x2){this['_loop']=!0x1;return;}const _0x1e49d0=this['consume'](0x2);if((_0x1e49d0[0x0]&0x30)!==0x0){const _0x134f24=this[_0x2e95fe(0x256)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x5d3e78(_0x134f24);return;}const _0x4fa0ea=(_0x1e49d0[0x0]&0x40)===0x40;if(_0x4fa0ea&&!this[_0x2e95fe(0x26d)][_0x481047[_0x2e95fe(0x113)]]){const _0x25894c=this[_0x2e95fe(0x256)](RangeError,_0x2e95fe(0x214),!0x0,0x3ea,_0x2e95fe(0x229));_0x5d3e78(_0x25894c);return;}if(this[_0x2e95fe(0x24f)]=(_0x1e49d0[0x0]&0x80)===0x80,this[_0x2e95fe(0x123)]=_0x1e49d0[0x0]&0xf,this[_0x2e95fe(0x135)]=_0x1e49d0[0x1]&0x7f,this[_0x2e95fe(0x123)]===0x0){if(_0x4fa0ea){const _0x1c623b=this[_0x2e95fe(0x256)](RangeError,_0x2e95fe(0x214),!0x0,0x3ea,_0x2e95fe(0x229));_0x5d3e78(_0x1c623b);return;}if(!this[_0x2e95fe(0x18a)]){const _0x3c6869=this[_0x2e95fe(0x256)](RangeError,_0x2e95fe(0x28f),!0x0,0x3ea,_0x2e95fe(0x1d8));_0x5d3e78(_0x3c6869);return;}this[_0x2e95fe(0x123)]=this[_0x2e95fe(0x18a)];}else{if(this[_0x2e95fe(0x123)]===0x1||this[_0x2e95fe(0x123)]===0x2){if(this[_0x2e95fe(0x18a)]){const _0x24980e=this[_0x2e95fe(0x256)](RangeError,_0x2e95fe(0x221)+this[_0x2e95fe(0x123)],!0x0,0x3ea,_0x2e95fe(0x1d8));_0x5d3e78(_0x24980e);return;}this[_0x2e95fe(0x13b)]=_0x4fa0ea;}else{if(this[_0x2e95fe(0x123)]>0x7&&this['_opcode']<0xb){if(!this[_0x2e95fe(0x24f)]){const _0x2970ff=this['createError'](RangeError,_0x2e95fe(0x1c9),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x5d3e78(_0x2970ff);return;}if(_0x4fa0ea){const _0x14d34f=this[_0x2e95fe(0x256)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x5d3e78(_0x14d34f);return;}if(this[_0x2e95fe(0x135)]>0x7d||this[_0x2e95fe(0x123)]===0x8&&this[_0x2e95fe(0x135)]===0x1){const _0x161424=this[_0x2e95fe(0x256)](RangeError,_0x2e95fe(0x12a)+this[_0x2e95fe(0x135)],!0x0,0x3ea,_0x2e95fe(0x1e5));_0x5d3e78(_0x161424);return;}}else{const _0x193547=this[_0x2e95fe(0x256)](RangeError,_0x2e95fe(0x221)+this[_0x2e95fe(0x123)],!0x0,0x3ea,_0x2e95fe(0x1d8));_0x5d3e78(_0x193547);return;}}}if(!this[_0x2e95fe(0x24f)]&&!this[_0x2e95fe(0x18a)]&&(this['_fragmented']=this[_0x2e95fe(0x123)]),this[_0x2e95fe(0x1cd)]=(_0x1e49d0[0x1]&0x80)===0x80,this[_0x2e95fe(0x285)]){if(!this[_0x2e95fe(0x1cd)]){const _0x8262bd=this[_0x2e95fe(0x256)](RangeError,_0x2e95fe(0x213),!0x0,0x3ea,_0x2e95fe(0x242));_0x5d3e78(_0x8262bd);return;}}else{if(this[_0x2e95fe(0x1cd)]){const _0xf47fd3=this[_0x2e95fe(0x256)](RangeError,_0x2e95fe(0x289),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x5d3e78(_0xf47fd3);return;}}this[_0x2e95fe(0x135)]===0x7e?this[_0x2e95fe(0x1e0)]=_0x306ee4:this[_0x2e95fe(0x135)]===0x7f?this[_0x2e95fe(0x1e0)]=_0x579373:this[_0x2e95fe(0x24a)](_0x5d3e78);}[_0x2185bd(0x169)](_0x433041){const _0x44b2ec=_0x2185bd;if(this[_0x44b2ec(0x195)]<0x2){this[_0x44b2ec(0x168)]=!0x1;return;}this[_0x44b2ec(0x135)]=this[_0x44b2ec(0x1d7)](0x2)[_0x44b2ec(0x271)](0x0),this[_0x44b2ec(0x24a)](_0x433041);}['getPayloadLength64'](_0xe9b556){const _0x216e3f=_0x2185bd;if(this[_0x216e3f(0x195)]<0x8){this['_loop']=!0x1;return;}const _0x1d0d3c=this[_0x216e3f(0x1d7)](0x8),_0xa9f13a=_0x1d0d3c[_0x216e3f(0x131)](0x0);if(_0xa9f13a>Math[_0x216e3f(0x261)](0x2,0x15)-0x1){const _0x365fb5=this[_0x216e3f(0x256)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x216e3f(0x179));_0xe9b556(_0x365fb5);return;}this[_0x216e3f(0x135)]=_0xa9f13a*Math[_0x216e3f(0x261)](0x2,0x20)+_0x1d0d3c[_0x216e3f(0x131)](0x4),this[_0x216e3f(0x24a)](_0xe9b556);}[_0x2185bd(0x24a)](_0x329146){const _0x11fb48=_0x2185bd;if(this[_0x11fb48(0x135)]&&this[_0x11fb48(0x123)]<0x8&&(this['_totalPayloadLength']+=this[_0x11fb48(0x135)],this[_0x11fb48(0x295)]>this[_0x11fb48(0x1fa)]&&this['_maxPayload']>0x0)){const _0x52b3bb=this[_0x11fb48(0x256)](RangeError,_0x11fb48(0x17e),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x329146(_0x52b3bb);return;}this[_0x11fb48(0x1cd)]?this[_0x11fb48(0x1e0)]=_0x434862:this[_0x11fb48(0x1e0)]=_0x356b25;}['getMask'](){const _0x2850a7=_0x2185bd;if(this[_0x2850a7(0x195)]<0x4){this[_0x2850a7(0x168)]=!0x1;return;}this[_0x2850a7(0x117)]=this[_0x2850a7(0x1d7)](0x4),this['_state']=_0x356b25;}[_0x2185bd(0x185)](_0xe6730){const _0x5e92f1=_0x2185bd;let _0x517364=_0x370b25;if(this[_0x5e92f1(0x135)]){if(this['_bufferedBytes']<this[_0x5e92f1(0x135)]){this[_0x5e92f1(0x168)]=!0x1;return;}_0x517364=this['consume'](this[_0x5e92f1(0x135)]),this[_0x5e92f1(0x1cd)]&&(this[_0x5e92f1(0x117)][0x0]|this[_0x5e92f1(0x117)][0x1]|this[_0x5e92f1(0x117)][0x2]|this[_0x5e92f1(0x117)][0x3])!==0x0&&_0x5dc182(_0x517364,this[_0x5e92f1(0x117)]);}if(this[_0x5e92f1(0x123)]>0x7){this[_0x5e92f1(0x15d)](_0x517364,_0xe6730);return;}if(this[_0x5e92f1(0x13b)]){this[_0x5e92f1(0x1e0)]=_0x288972,this['decompress'](_0x517364,_0xe6730);return;}_0x517364['length']&&(this[_0x5e92f1(0x207)]=this['_totalPayloadLength'],this['_fragments']['push'](_0x517364)),this[_0x5e92f1(0x2ac)](_0xe6730);}[_0x2185bd(0x1ca)](_0x13a55c,_0x272189){const _0x5bda61=_0x2185bd;this[_0x5bda61(0x26d)][_0x481047[_0x5bda61(0x113)]][_0x5bda61(0x1ca)](_0x13a55c,this[_0x5bda61(0x24f)],(_0x44f982,_0x5cf285)=>{const _0x17b06c=_0x5bda61;if(_0x44f982)return _0x272189(_0x44f982);if(_0x5cf285[_0x17b06c(0x22d)]){if(this['_messageLength']+=_0x5cf285[_0x17b06c(0x22d)],this[_0x17b06c(0x207)]>this['_maxPayload']&&this[_0x17b06c(0x1fa)]>0x0){const _0x5937a9=this['createError'](RangeError,_0x17b06c(0x17e),!0x1,0x3f1,_0x17b06c(0x15b));_0x272189(_0x5937a9);return;}this[_0x17b06c(0x1f2)]['push'](_0x5cf285);}this[_0x17b06c(0x2ac)](_0x272189),this[_0x17b06c(0x1e0)]===_0x6ef141&&this[_0x17b06c(0x160)](_0x272189);});}[_0x2185bd(0x2ac)](_0x2cfaaa){const _0x2f6eb8=_0x2185bd;if(!this[_0x2f6eb8(0x24f)]){this[_0x2f6eb8(0x1e0)]=_0x6ef141;return;}const _0x1d1476=this[_0x2f6eb8(0x207)],_0x5dcfe3=this['_fragments'];if(this[_0x2f6eb8(0x295)]=0x0,this[_0x2f6eb8(0x207)]=0x0,this['_fragmented']=0x0,this['_fragments']=[],this[_0x2f6eb8(0x123)]===0x2){let _0x17439a;this[_0x2f6eb8(0x1ee)]===_0x2f6eb8(0x2aa)?_0x17439a=_0x5dc00b(_0x5dcfe3,_0x1d1476):this['_binaryType']===_0x2f6eb8(0x1f9)?_0x17439a=_0x106387(_0x5dc00b(_0x5dcfe3,_0x1d1476)):this['_binaryType']==='blob'?_0x17439a=new Blob(_0x5dcfe3):_0x17439a=_0x5dcfe3,this[_0x2f6eb8(0x236)]?(this[_0x2f6eb8(0x112)]('message',_0x17439a,!0x0),this['_state']=_0x6ef141):(this['_state']=_0x25804d,setImmediate(()=>{const _0x28f856=_0x2f6eb8;this[_0x28f856(0x112)]('message',_0x17439a,!0x0),this[_0x28f856(0x1e0)]=_0x6ef141,this[_0x28f856(0x160)](_0x2cfaaa);}));}else{const _0x14688d=_0x5dc00b(_0x5dcfe3,_0x1d1476);if(!this['_skipUTF8Validation']&&!_0x1b18a4(_0x14688d)){const _0x5c3608=this[_0x2f6eb8(0x256)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x2cfaaa(_0x5c3608);return;}this[_0x2f6eb8(0x1e0)]===_0x288972||this[_0x2f6eb8(0x236)]?(this[_0x2f6eb8(0x112)]('message',_0x14688d,!0x1),this[_0x2f6eb8(0x1e0)]=_0x6ef141):(this[_0x2f6eb8(0x1e0)]=_0x25804d,setImmediate(()=>{const _0x5c17e4=_0x2f6eb8;this[_0x5c17e4(0x112)](_0x5c17e4(0x1d4),_0x14688d,!0x1),this[_0x5c17e4(0x1e0)]=_0x6ef141,this[_0x5c17e4(0x160)](_0x2cfaaa);}));}}[_0x2185bd(0x15d)](_0x5734c9,_0x3c3ffa){const _0x509442=_0x2185bd;if(this[_0x509442(0x123)]===0x8){if(_0x5734c9[_0x509442(0x22d)]===0x0)this[_0x509442(0x168)]=!0x1,this[_0x509442(0x112)](_0x509442(0x12f),0x3ed,_0x370b25),this['end']();else{const _0x2dd023=_0x5734c9[_0x509442(0x271)](0x0);if(!_0x490042(_0x2dd023)){const _0x526e0c=this[_0x509442(0x256)](RangeError,_0x509442(0x2b1)+_0x2dd023,!0x0,0x3ea,_0x509442(0x21d));_0x3c3ffa(_0x526e0c);return;}const _0x1bca37=new _0x2e327e(_0x5734c9[_0x509442(0x1c2)],_0x5734c9[_0x509442(0x2ad)]+0x2,_0x5734c9['length']-0x2);if(!this[_0x509442(0x14a)]&&!_0x1b18a4(_0x1bca37)){const _0x418e0f=this[_0x509442(0x256)](Error,_0x509442(0x199),!0x0,0x3ef,_0x509442(0x234));_0x3c3ffa(_0x418e0f);return;}this[_0x509442(0x168)]=!0x1,this[_0x509442(0x112)](_0x509442(0x12f),_0x2dd023,_0x1bca37),this[_0x509442(0x24b)]();}this[_0x509442(0x1e0)]=_0x6ef141;return;}this[_0x509442(0x236)]?(this['emit'](this[_0x509442(0x123)]===0x9?_0x509442(0x1a6):'pong',_0x5734c9),this['_state']=_0x6ef141):(this[_0x509442(0x1e0)]=_0x25804d,setImmediate(()=>{const _0x472902=_0x509442;this[_0x472902(0x112)](this['_opcode']===0x9?_0x472902(0x1a6):_0x472902(0x277),_0x5734c9),this['_state']=_0x6ef141,this[_0x472902(0x160)](_0x3c3ffa);}));}[_0x2185bd(0x256)](_0x2cd21b,_0x1fb36e,_0x23d3ae,_0x4f368a,_0x1e2d85){const _0x58834c=_0x2185bd;this[_0x58834c(0x168)]=!0x1,this[_0x58834c(0x111)]=!0x0;const _0x409a2b=new _0x2cd21b(_0x23d3ae?_0x58834c(0x249)+_0x1fb36e:_0x1fb36e);return Error[_0x58834c(0x23a)](_0x409a2b,this[_0x58834c(0x256)]),_0x409a2b[_0x58834c(0x161)]=_0x1e2d85,_0x409a2b[_0x544c83]=_0x4f368a,_0x409a2b;}}return Se=_0x369ec5,Se;}var Ee,et;function _t(){const _0x1be56d=_0x35420b;if(et)return Ee;et=0x1;const {Duplex:_0x6fba9}=_0xed2e2c,{randomFillSync:_0x4c6f95}=_0x163c13,_0x333781=he(),{EMPTY_BUFFER:_0x3e6914,kWebSocket:_0xde96a3,NOOP:_0x3c2b04}=V(),{isBlob:_0x1d4917,isValidStatusCode:_0x21780f}=ne(),{mask:_0x5b1f0a,toBuffer:_0xe260be}=ce(),_0x5259fe=Symbol(_0x1be56d(0x254)),_0x3bf013=Buffer[_0x1be56d(0x22a)](0x4),_0x3577dc=0x8*0x400;let _0x28f8cf,_0x1b167c=_0x3577dc;const _0x22c921=0x0,_0x59c54c=0x1,_0x3b6ca8=0x2;class _0x588667{constructor(_0x3cc50a,_0x24aec2,_0x1c2baa){const _0x2fcea3=_0x1be56d;this[_0x2fcea3(0x26d)]=_0x24aec2||{},_0x1c2baa&&(this['_generateMask']=_0x1c2baa,this[_0x2fcea3(0x21e)]=Buffer[_0x2fcea3(0x22a)](0x4)),this[_0x2fcea3(0x1a8)]=_0x3cc50a,this[_0x2fcea3(0x20d)]=!0x0,this[_0x2fcea3(0x265)]=!0x1,this[_0x2fcea3(0x195)]=0x0,this[_0x2fcea3(0x231)]=[],this[_0x2fcea3(0x1e0)]=_0x22c921,this[_0x2fcea3(0x151)]=_0x3c2b04,this[_0xde96a3]=void 0x0;}static[_0x1be56d(0x16d)](_0x17aedd,_0x4690d6){const _0x4473c4=_0x1be56d;let _0x246ab5,_0x42ce28=!0x1,_0x19c1b1=0x2,_0x4eb67a=!0x1;_0x4690d6[_0x4473c4(0x1ec)]&&(_0x246ab5=_0x4690d6['maskBuffer']||_0x3bf013,_0x4690d6[_0x4473c4(0x1f0)]?_0x4690d6[_0x4473c4(0x1f0)](_0x246ab5):(_0x1b167c===_0x3577dc&&(_0x28f8cf===void 0x0&&(_0x28f8cf=Buffer[_0x4473c4(0x22a)](_0x3577dc)),_0x4c6f95(_0x28f8cf,0x0,_0x3577dc),_0x1b167c=0x0),_0x246ab5[0x0]=_0x28f8cf[_0x1b167c++],_0x246ab5[0x1]=_0x28f8cf[_0x1b167c++],_0x246ab5[0x2]=_0x28f8cf[_0x1b167c++],_0x246ab5[0x3]=_0x28f8cf[_0x1b167c++]),_0x4eb67a=(_0x246ab5[0x0]|_0x246ab5[0x1]|_0x246ab5[0x2]|_0x246ab5[0x3])===0x0,_0x19c1b1=0x6);let _0x51712a;typeof _0x17aedd=='string'?(!_0x4690d6[_0x4473c4(0x1ec)]||_0x4eb67a)&&_0x4690d6[_0x5259fe]!==void 0x0?_0x51712a=_0x4690d6[_0x5259fe]:(_0x17aedd=Buffer[_0x4473c4(0x1b8)](_0x17aedd),_0x51712a=_0x17aedd[_0x4473c4(0x22d)]):(_0x51712a=_0x17aedd['length'],_0x42ce28=_0x4690d6[_0x4473c4(0x1ec)]&&_0x4690d6[_0x4473c4(0x18d)]&&!_0x4eb67a);let _0x3d4042=_0x51712a;_0x51712a>=0x10000?(_0x19c1b1+=0x8,_0x3d4042=0x7f):_0x51712a>0x7d&&(_0x19c1b1+=0x2,_0x3d4042=0x7e);const _0x361706=Buffer[_0x4473c4(0x246)](_0x42ce28?_0x51712a+_0x19c1b1:_0x19c1b1);return _0x361706[0x0]=_0x4690d6[_0x4473c4(0x23d)]?_0x4690d6[_0x4473c4(0x140)]|0x80:_0x4690d6[_0x4473c4(0x140)],_0x4690d6[_0x4473c4(0x182)]&&(_0x361706[0x0]|=0x40),_0x361706[0x1]=_0x3d4042,_0x3d4042===0x7e?_0x361706['writeUInt16BE'](_0x51712a,0x2):_0x3d4042===0x7f&&(_0x361706[0x2]=_0x361706[0x3]=0x0,_0x361706[_0x4473c4(0x227)](_0x51712a,0x4,0x6)),_0x4690d6[_0x4473c4(0x1ec)]?(_0x361706[0x1]|=0x80,_0x361706[_0x19c1b1-0x4]=_0x246ab5[0x0],_0x361706[_0x19c1b1-0x3]=_0x246ab5[0x1],_0x361706[_0x19c1b1-0x2]=_0x246ab5[0x2],_0x361706[_0x19c1b1-0x1]=_0x246ab5[0x3],_0x4eb67a?[_0x361706,_0x17aedd]:_0x42ce28?(_0x5b1f0a(_0x17aedd,_0x246ab5,_0x361706,_0x19c1b1,_0x51712a),[_0x361706]):(_0x5b1f0a(_0x17aedd,_0x246ab5,_0x17aedd,0x0,_0x51712a),[_0x361706,_0x17aedd])):[_0x361706,_0x17aedd];}[_0x1be56d(0x10c)](_0x4efc50,_0xa6501b,_0x20464c,_0x174d8d){const _0xccafd=_0x1be56d;let _0x3bc825;if(_0x4efc50===void 0x0)_0x3bc825=_0x3e6914;else{if(typeof _0x4efc50!='number'||!_0x21780f(_0x4efc50))throw new TypeError(_0xccafd(0x1de));if(_0xa6501b===void 0x0||!_0xa6501b['length'])_0x3bc825=Buffer['allocUnsafe'](0x2),_0x3bc825[_0xccafd(0x1ff)](_0x4efc50,0x0);else{const _0x1850a6=Buffer[_0xccafd(0x1cb)](_0xa6501b);if(_0x1850a6>0x7b)throw new RangeError(_0xccafd(0x2a1));_0x3bc825=Buffer['allocUnsafe'](0x2+_0x1850a6),_0x3bc825[_0xccafd(0x1ff)](_0x4efc50,0x0),typeof _0xa6501b==_0xccafd(0x121)?_0x3bc825[_0xccafd(0x1a3)](_0xa6501b,0x2):_0x3bc825['set'](_0xa6501b,0x2);}}const _0x446b43={[_0x5259fe]:_0x3bc825['length'],'fin':!0x0,'generateMask':this[_0xccafd(0x241)],'mask':_0x20464c,'maskBuffer':this[_0xccafd(0x21e)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0xccafd(0x1e0)]!==_0x22c921?this[_0xccafd(0x293)]([this['dispatch'],_0x3bc825,!0x1,_0x446b43,_0x174d8d]):this[_0xccafd(0x132)](_0x588667[_0xccafd(0x16d)](_0x3bc825,_0x446b43),_0x174d8d);}[_0x1be56d(0x1a6)](_0x36b9db,_0x2cf00b,_0x14c3b9){const _0x40a762=_0x1be56d;let _0x284d76,_0x5e21a3;if(typeof _0x36b9db=='string'?(_0x284d76=Buffer[_0x40a762(0x1cb)](_0x36b9db),_0x5e21a3=!0x1):_0x1d4917(_0x36b9db)?(_0x284d76=_0x36b9db['size'],_0x5e21a3=!0x1):(_0x36b9db=_0xe260be(_0x36b9db),_0x284d76=_0x36b9db[_0x40a762(0x22d)],_0x5e21a3=_0xe260be['readOnly']),_0x284d76>0x7d)throw new RangeError(_0x40a762(0x262));const _0x242c5d={[_0x5259fe]:_0x284d76,'fin':!0x0,'generateMask':this[_0x40a762(0x241)],'mask':_0x2cf00b,'maskBuffer':this[_0x40a762(0x21e)],'opcode':0x9,'readOnly':_0x5e21a3,'rsv1':!0x1};_0x1d4917(_0x36b9db)?this['_state']!==_0x22c921?this[_0x40a762(0x293)]([this[_0x40a762(0x183)],_0x36b9db,!0x1,_0x242c5d,_0x14c3b9]):this[_0x40a762(0x183)](_0x36b9db,!0x1,_0x242c5d,_0x14c3b9):this[_0x40a762(0x1e0)]!==_0x22c921?this[_0x40a762(0x293)]([this['dispatch'],_0x36b9db,!0x1,_0x242c5d,_0x14c3b9]):this[_0x40a762(0x132)](_0x588667['frame'](_0x36b9db,_0x242c5d),_0x14c3b9);}[_0x1be56d(0x277)](_0x25f0a7,_0x410b2f,_0x2dcc12){const _0x18fc8c=_0x1be56d;let _0x392b5e,_0x51a87f;if(typeof _0x25f0a7==_0x18fc8c(0x121)?(_0x392b5e=Buffer[_0x18fc8c(0x1cb)](_0x25f0a7),_0x51a87f=!0x1):_0x1d4917(_0x25f0a7)?(_0x392b5e=_0x25f0a7[_0x18fc8c(0x288)],_0x51a87f=!0x1):(_0x25f0a7=_0xe260be(_0x25f0a7),_0x392b5e=_0x25f0a7[_0x18fc8c(0x22d)],_0x51a87f=_0xe260be[_0x18fc8c(0x18d)]),_0x392b5e>0x7d)throw new RangeError(_0x18fc8c(0x262));const _0x3853f5={[_0x5259fe]:_0x392b5e,'fin':!0x0,'generateMask':this[_0x18fc8c(0x241)],'mask':_0x410b2f,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x51a87f,'rsv1':!0x1};_0x1d4917(_0x25f0a7)?this[_0x18fc8c(0x1e0)]!==_0x22c921?this['enqueue']([this[_0x18fc8c(0x183)],_0x25f0a7,!0x1,_0x3853f5,_0x2dcc12]):this[_0x18fc8c(0x183)](_0x25f0a7,!0x1,_0x3853f5,_0x2dcc12):this[_0x18fc8c(0x1e0)]!==_0x22c921?this[_0x18fc8c(0x293)]([this['dispatch'],_0x25f0a7,!0x1,_0x3853f5,_0x2dcc12]):this[_0x18fc8c(0x132)](_0x588667[_0x18fc8c(0x16d)](_0x25f0a7,_0x3853f5),_0x2dcc12);}[_0x1be56d(0x11a)](_0x37e5f3,_0x472e20,_0x33ccca){const _0x44521c=_0x1be56d,_0x85a504=this['_extensions'][_0x333781[_0x44521c(0x113)]];let _0x2f77b0=_0x472e20[_0x44521c(0x263)]?0x2:0x1,_0x21120c=_0x472e20[_0x44521c(0x19b)],_0x200494,_0x36c9d8;typeof _0x37e5f3==_0x44521c(0x121)?(_0x200494=Buffer[_0x44521c(0x1cb)](_0x37e5f3),_0x36c9d8=!0x1):_0x1d4917(_0x37e5f3)?(_0x200494=_0x37e5f3[_0x44521c(0x288)],_0x36c9d8=!0x1):(_0x37e5f3=_0xe260be(_0x37e5f3),_0x200494=_0x37e5f3[_0x44521c(0x22d)],_0x36c9d8=_0xe260be['readOnly']),this[_0x44521c(0x20d)]?(this[_0x44521c(0x20d)]=!0x1,_0x21120c&&_0x85a504&&_0x85a504[_0x44521c(0x17b)][_0x85a504[_0x44521c(0x285)]?_0x44521c(0x155):_0x44521c(0x2ba)]&&(_0x21120c=_0x200494>=_0x85a504[_0x44521c(0x16e)]),this[_0x44521c(0x265)]=_0x21120c):(_0x21120c=!0x1,_0x2f77b0=0x0),_0x472e20[_0x44521c(0x23d)]&&(this[_0x44521c(0x20d)]=!0x0);const _0x1b89cc={[_0x5259fe]:_0x200494,'fin':_0x472e20[_0x44521c(0x23d)],'generateMask':this[_0x44521c(0x241)],'mask':_0x472e20[_0x44521c(0x1ec)],'maskBuffer':this['_maskBuffer'],'opcode':_0x2f77b0,'readOnly':_0x36c9d8,'rsv1':_0x21120c};_0x1d4917(_0x37e5f3)?this[_0x44521c(0x1e0)]!==_0x22c921?this[_0x44521c(0x293)]([this['getBlobData'],_0x37e5f3,this[_0x44521c(0x265)],_0x1b89cc,_0x33ccca]):this[_0x44521c(0x183)](_0x37e5f3,this[_0x44521c(0x265)],_0x1b89cc,_0x33ccca):this[_0x44521c(0x1e0)]!==_0x22c921?this[_0x44521c(0x293)]([this[_0x44521c(0x1dd)],_0x37e5f3,this[_0x44521c(0x265)],_0x1b89cc,_0x33ccca]):this['dispatch'](_0x37e5f3,this[_0x44521c(0x265)],_0x1b89cc,_0x33ccca);}[_0x1be56d(0x183)](_0x126ec1,_0x5ccde6,_0x2ae45,_0x384f80){const _0xdd69f6=_0x1be56d;this[_0xdd69f6(0x195)]+=_0x2ae45[_0x5259fe],this[_0xdd69f6(0x1e0)]=_0x3b6ca8,_0x126ec1[_0xdd69f6(0x14b)]()[_0xdd69f6(0x119)](_0x4061c5=>{const _0x24dc30=_0xdd69f6;if(this[_0x24dc30(0x1a8)][_0x24dc30(0x233)]){const _0x20a4bf=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x24dc30(0x1d5)](_0x302ce2,this,_0x20a4bf,_0x384f80);return;}this['_bufferedBytes']-=_0x2ae45[_0x5259fe];const _0x2c7bfc=_0xe260be(_0x4061c5);_0x5ccde6?this[_0x24dc30(0x1dd)](_0x2c7bfc,_0x5ccde6,_0x2ae45,_0x384f80):(this[_0x24dc30(0x1e0)]=_0x22c921,this[_0x24dc30(0x132)](_0x588667[_0x24dc30(0x16d)](_0x2c7bfc,_0x2ae45),_0x384f80),this['dequeue']());})[_0xdd69f6(0x2a3)](_0x244564=>{process['nextTick'](_0x46448e,this,_0x244564,_0x384f80);});}[_0x1be56d(0x1dd)](_0x5acd8a,_0x13a7a,_0x17e123,_0x5d1b3a){const _0x5d0cf7=_0x1be56d;if(!_0x13a7a){this[_0x5d0cf7(0x132)](_0x588667[_0x5d0cf7(0x16d)](_0x5acd8a,_0x17e123),_0x5d1b3a);return;}const _0x52e6ed=this[_0x5d0cf7(0x26d)][_0x333781[_0x5d0cf7(0x113)]];this['_bufferedBytes']+=_0x17e123[_0x5259fe],this[_0x5d0cf7(0x1e0)]=_0x59c54c,_0x52e6ed[_0x5d0cf7(0x19b)](_0x5acd8a,_0x17e123[_0x5d0cf7(0x23d)],(_0x5cd362,_0x4e974b)=>{const _0x4f419b=_0x5d0cf7;if(this[_0x4f419b(0x1a8)][_0x4f419b(0x233)]){const _0x5758ae=new Error(_0x4f419b(0x1a5));_0x302ce2(this,_0x5758ae,_0x5d1b3a);return;}this[_0x4f419b(0x195)]-=_0x17e123[_0x5259fe],this[_0x4f419b(0x1e0)]=_0x22c921,_0x17e123[_0x4f419b(0x18d)]=!0x1,this[_0x4f419b(0x132)](_0x588667[_0x4f419b(0x16d)](_0x4e974b,_0x17e123),_0x5d1b3a),this[_0x4f419b(0x24c)]();});}[_0x1be56d(0x24c)](){const _0x586150=_0x1be56d;for(;this[_0x586150(0x1e0)]===_0x22c921&&this[_0x586150(0x231)][_0x586150(0x22d)];){const _0x38eeba=this[_0x586150(0x231)][_0x586150(0x189)]();this[_0x586150(0x195)]-=_0x38eeba[0x3][_0x5259fe],Reflect['apply'](_0x38eeba[0x0],this,_0x38eeba[_0x586150(0x211)](0x1));}}[_0x1be56d(0x293)](_0x44da27){const _0x543597=_0x1be56d;this[_0x543597(0x195)]+=_0x44da27[0x3][_0x5259fe],this[_0x543597(0x231)][_0x543597(0x1f1)](_0x44da27);}[_0x1be56d(0x132)](_0x2c1fd0,_0x25b222){const _0x1f8b7d=_0x1be56d;_0x2c1fd0[_0x1f8b7d(0x22d)]===0x2?(this[_0x1f8b7d(0x1a8)]['cork'](),this[_0x1f8b7d(0x1a8)]['write'](_0x2c1fd0[0x0]),this['_socket'][_0x1f8b7d(0x1a3)](_0x2c1fd0[0x1],_0x25b222),this[_0x1f8b7d(0x1a8)]['uncork']()):this[_0x1f8b7d(0x1a8)][_0x1f8b7d(0x1a3)](_0x2c1fd0[0x0],_0x25b222);}}Ee=_0x588667;function _0x302ce2(_0xe9e4b0,_0x115894,_0x176c4c){const _0xafbf4a=_0x1be56d;typeof _0x176c4c==_0xafbf4a(0x200)&&_0x176c4c(_0x115894);for(let _0x79a9ba=0x0;_0x79a9ba<_0xe9e4b0[_0xafbf4a(0x231)]['length'];_0x79a9ba++){const _0x1f9362=_0xe9e4b0[_0xafbf4a(0x231)][_0x79a9ba],_0x3413f7=_0x1f9362[_0x1f9362[_0xafbf4a(0x22d)]-0x1];typeof _0x3413f7==_0xafbf4a(0x200)&&_0x3413f7(_0x115894);}}function _0x46448e(_0x455d47,_0x5d1103,_0x3dfc8d){_0x302ce2(_0x455d47,_0x5d1103,_0x3dfc8d),_0x455d47['onerror'](_0x5d1103);}return Ee;}var xe,tt;function Kt(){const _0x32c817=_0x35420b;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0xc564fa,kListener:_0x578371}=V(),_0x53bf74=Symbol(_0x32c817(0x1fc)),_0x3ed0bb=Symbol('kData'),_0x3a5c49=Symbol(_0x32c817(0x2b0)),_0x24c72b=Symbol(_0x32c817(0x28e)),_0x355d38=Symbol(_0x32c817(0x11f)),_0x47075e=Symbol(_0x32c817(0x28b)),_0x9e00c1=Symbol(_0x32c817(0x22c)),_0x57706a=Symbol(_0x32c817(0x290));class _0x504421{constructor(_0x1df7a4){this[_0x47075e]=null,this[_0x9e00c1]=_0x1df7a4;}get[_0x32c817(0x251)](){return this[_0x47075e];}get[_0x32c817(0x1db)](){return this[_0x9e00c1];}}Object['defineProperty'](_0x504421['prototype'],_0x32c817(0x251),{'enumerable':!0x0}),Object[_0x32c817(0x1ac)](_0x504421['prototype'],'type',{'enumerable':!0x0});class _0x18bcda extends _0x504421{constructor(_0x30839e,_0x180582={}){const _0x18a7f1=_0x32c817;super(_0x30839e),this[_0x53bf74]=_0x180582['code']===void 0x0?0x0:_0x180582[_0x18a7f1(0x161)],this[_0x355d38]=_0x180582[_0x18a7f1(0x11b)]===void 0x0?'':_0x180582[_0x18a7f1(0x11b)],this[_0x57706a]=_0x180582[_0x18a7f1(0x115)]===void 0x0?!0x1:_0x180582[_0x18a7f1(0x115)];}get[_0x32c817(0x161)](){return this[_0x53bf74];}get[_0x32c817(0x11b)](){return this[_0x355d38];}get[_0x32c817(0x115)](){return this[_0x57706a];}}Object[_0x32c817(0x1ac)](_0x18bcda[_0x32c817(0x2a8)],'code',{'enumerable':!0x0}),Object[_0x32c817(0x1ac)](_0x18bcda['prototype'],_0x32c817(0x11b),{'enumerable':!0x0}),Object[_0x32c817(0x1ac)](_0x18bcda[_0x32c817(0x2a8)],'wasClean',{'enumerable':!0x0});class _0x44a82d extends _0x504421{constructor(_0x5cdbc3,_0x185228={}){const _0x44b042=_0x32c817;super(_0x5cdbc3),this[_0x3a5c49]=_0x185228[_0x44b042(0x237)]===void 0x0?null:_0x185228['error'],this[_0x24c72b]=_0x185228['message']===void 0x0?'':_0x185228['message'];}get[_0x32c817(0x237)](){return this[_0x3a5c49];}get['message'](){return this[_0x24c72b];}}Object['defineProperty'](_0x44a82d[_0x32c817(0x2a8)],_0x32c817(0x237),{'enumerable':!0x0}),Object[_0x32c817(0x1ac)](_0x44a82d[_0x32c817(0x2a8)],_0x32c817(0x1d4),{'enumerable':!0x0});class _0x37e761 extends _0x504421{constructor(_0x41b1ef,_0x91f879={}){const _0x39e3b7=_0x32c817;super(_0x41b1ef),this[_0x3ed0bb]=_0x91f879[_0x39e3b7(0x19a)]===void 0x0?null:_0x91f879['data'];}get[_0x32c817(0x19a)](){return this[_0x3ed0bb];}}Object[_0x32c817(0x1ac)](_0x37e761[_0x32c817(0x2a8)],_0x32c817(0x19a),{'enumerable':!0x0}),xe={'CloseEvent':_0x18bcda,'ErrorEvent':_0x44a82d,'Event':_0x504421,'EventTarget':{'addEventListener'(_0x1eaee7,_0x18eeae,_0x133814={}){const _0x16c1b3=_0x32c817;for(const _0x239f2f of this[_0x16c1b3(0x14c)](_0x1eaee7))if(!_0x133814[_0xc564fa]&&_0x239f2f[_0x578371]===_0x18eeae&&!_0x239f2f[_0xc564fa])return;let _0x5f4a10;if(_0x1eaee7===_0x16c1b3(0x1d4))_0x5f4a10=function(_0x29624b,_0x47a122){const _0x5cbd2f=_0x16c1b3,_0x240a2b=new _0x37e761(_0x5cbd2f(0x1d4),{'data':_0x47a122?_0x29624b:_0x29624b[_0x5cbd2f(0x1a7)]()});_0x240a2b[_0x47075e]=this,_0x54c578(_0x18eeae,this,_0x240a2b);};else{if(_0x1eaee7===_0x16c1b3(0x10c))_0x5f4a10=function(_0x12de20,_0x36d9c7){const _0x1d2dc2=_0x16c1b3,_0xa955e4=new _0x18bcda(_0x1d2dc2(0x10c),{'code':_0x12de20,'reason':_0x36d9c7[_0x1d2dc2(0x1a7)](),'wasClean':this[_0x1d2dc2(0x1d0)]&&this[_0x1d2dc2(0x1f6)]});_0xa955e4[_0x47075e]=this,_0x54c578(_0x18eeae,this,_0xa955e4);};else{if(_0x1eaee7===_0x16c1b3(0x237))_0x5f4a10=function(_0x35cd78){const _0x2b274c=_0x16c1b3,_0x5e143b=new _0x44a82d(_0x2b274c(0x237),{'error':_0x35cd78,'message':_0x35cd78[_0x2b274c(0x1d4)]});_0x5e143b[_0x47075e]=this,_0x54c578(_0x18eeae,this,_0x5e143b);};else{if(_0x1eaee7===_0x16c1b3(0x147))_0x5f4a10=function(){const _0x1ea477=_0x16c1b3,_0x208ed=new _0x504421(_0x1ea477(0x147));_0x208ed[_0x47075e]=this,_0x54c578(_0x18eeae,this,_0x208ed);};else return;}}}_0x5f4a10[_0xc564fa]=!!_0x133814[_0xc564fa],_0x5f4a10[_0x578371]=_0x18eeae,_0x133814[_0x16c1b3(0x217)]?this['once'](_0x1eaee7,_0x5f4a10):this['on'](_0x1eaee7,_0x5f4a10);},'removeEventListener'(_0x1ecc4a,_0x3bec1f){const _0x4187e8=_0x32c817;for(const _0x371828 of this[_0x4187e8(0x14c)](_0x1ecc4a))if(_0x371828[_0x578371]===_0x3bec1f&&!_0x371828[_0xc564fa]){this[_0x4187e8(0x153)](_0x1ecc4a,_0x371828);break;}}},'MessageEvent':_0x37e761};function _0x54c578(_0x58a24a,_0x5ce100,_0x5f859){const _0x2a3a57=_0x32c817;typeof _0x58a24a==_0x2a3a57(0x26e)&&_0x58a24a[_0x2a3a57(0x21b)]?_0x58a24a[_0x2a3a57(0x21b)][_0x2a3a57(0x116)](_0x58a24a,_0x5f859):_0x58a24a[_0x2a3a57(0x116)](_0x5ce100,_0x5f859);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x199d3e}=ne();function _0x35a069(_0x5e5e89,_0x3df9de,_0x368def){const _0x150a67=_0x5f07;_0x5e5e89[_0x3df9de]===void 0x0?_0x5e5e89[_0x3df9de]=[_0x368def]:_0x5e5e89[_0x3df9de][_0x150a67(0x1f1)](_0x368def);}function _0x42ba9b(_0xa69d6d){const _0x252dfb=_0x5f07,_0x2bad42=Object[_0x252dfb(0x18b)](null);let _0x31ceed=Object[_0x252dfb(0x18b)](null),_0x376886=!0x1,_0x3449f4=!0x1,_0x5a964b=!0x1,_0x47814a,_0x302f9c,_0x78dd06=-0x1,_0x288622=-0x1,_0x3b2b27=-0x1,_0x4139c2=0x0;for(;_0x4139c2<_0xa69d6d['length'];_0x4139c2++)if(_0x288622=_0xa69d6d[_0x252dfb(0x28d)](_0x4139c2),_0x47814a===void 0x0){if(_0x3b2b27===-0x1&&_0x199d3e[_0x288622]===0x1)_0x78dd06===-0x1&&(_0x78dd06=_0x4139c2);else{if(_0x4139c2!==0x0&&(_0x288622===0x20||_0x288622===0x9))_0x3b2b27===-0x1&&_0x78dd06!==-0x1&&(_0x3b2b27=_0x4139c2);else{if(_0x288622===0x3b||_0x288622===0x2c){if(_0x78dd06===-0x1)throw new SyntaxError(_0x252dfb(0x1c8)+_0x4139c2);_0x3b2b27===-0x1&&(_0x3b2b27=_0x4139c2);const _0x1832fd=_0xa69d6d[_0x252dfb(0x211)](_0x78dd06,_0x3b2b27);_0x288622===0x2c?(_0x35a069(_0x2bad42,_0x1832fd,_0x31ceed),_0x31ceed=Object[_0x252dfb(0x18b)](null)):_0x47814a=_0x1832fd,_0x78dd06=_0x3b2b27=-0x1;}else throw new SyntaxError(_0x252dfb(0x1c8)+_0x4139c2);}}}else{if(_0x302f9c===void 0x0){if(_0x3b2b27===-0x1&&_0x199d3e[_0x288622]===0x1)_0x78dd06===-0x1&&(_0x78dd06=_0x4139c2);else{if(_0x288622===0x20||_0x288622===0x9)_0x3b2b27===-0x1&&_0x78dd06!==-0x1&&(_0x3b2b27=_0x4139c2);else{if(_0x288622===0x3b||_0x288622===0x2c){if(_0x78dd06===-0x1)throw new SyntaxError(_0x252dfb(0x1c8)+_0x4139c2);_0x3b2b27===-0x1&&(_0x3b2b27=_0x4139c2),_0x35a069(_0x31ceed,_0xa69d6d['slice'](_0x78dd06,_0x3b2b27),!0x0),_0x288622===0x2c&&(_0x35a069(_0x2bad42,_0x47814a,_0x31ceed),_0x31ceed=Object['create'](null),_0x47814a=void 0x0),_0x78dd06=_0x3b2b27=-0x1;}else{if(_0x288622===0x3d&&_0x78dd06!==-0x1&&_0x3b2b27===-0x1)_0x302f9c=_0xa69d6d[_0x252dfb(0x211)](_0x78dd06,_0x4139c2),_0x78dd06=_0x3b2b27=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4139c2);}}}}else{if(_0x3449f4){if(_0x199d3e[_0x288622]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4139c2);_0x78dd06===-0x1?_0x78dd06=_0x4139c2:_0x376886||(_0x376886=!0x0),_0x3449f4=!0x1;}else{if(_0x5a964b){if(_0x199d3e[_0x288622]===0x1)_0x78dd06===-0x1&&(_0x78dd06=_0x4139c2);else{if(_0x288622===0x22&&_0x78dd06!==-0x1)_0x5a964b=!0x1,_0x3b2b27=_0x4139c2;else{if(_0x288622===0x5c)_0x3449f4=!0x0;else throw new SyntaxError(_0x252dfb(0x1c8)+_0x4139c2);}}}else{if(_0x288622===0x22&&_0xa69d6d['charCodeAt'](_0x4139c2-0x1)===0x3d)_0x5a964b=!0x0;else{if(_0x3b2b27===-0x1&&_0x199d3e[_0x288622]===0x1)_0x78dd06===-0x1&&(_0x78dd06=_0x4139c2);else{if(_0x78dd06!==-0x1&&(_0x288622===0x20||_0x288622===0x9))_0x3b2b27===-0x1&&(_0x3b2b27=_0x4139c2);else{if(_0x288622===0x3b||_0x288622===0x2c){if(_0x78dd06===-0x1)throw new SyntaxError(_0x252dfb(0x1c8)+_0x4139c2);_0x3b2b27===-0x1&&(_0x3b2b27=_0x4139c2);let _0x4192d1=_0xa69d6d['slice'](_0x78dd06,_0x3b2b27);_0x376886&&(_0x4192d1=_0x4192d1[_0x252dfb(0x272)](/\\/g,''),_0x376886=!0x1),_0x35a069(_0x31ceed,_0x302f9c,_0x4192d1),_0x288622===0x2c&&(_0x35a069(_0x2bad42,_0x47814a,_0x31ceed),_0x31ceed=Object[_0x252dfb(0x18b)](null),_0x47814a=void 0x0),_0x302f9c=void 0x0,_0x78dd06=_0x3b2b27=-0x1;}else throw new SyntaxError(_0x252dfb(0x1c8)+_0x4139c2);}}}}}}}if(_0x78dd06===-0x1||_0x5a964b||_0x288622===0x20||_0x288622===0x9)throw new SyntaxError(_0x252dfb(0x174));_0x3b2b27===-0x1&&(_0x3b2b27=_0x4139c2);const _0x5c8a1d=_0xa69d6d[_0x252dfb(0x211)](_0x78dd06,_0x3b2b27);return _0x47814a===void 0x0?_0x35a069(_0x2bad42,_0x5c8a1d,_0x31ceed):(_0x302f9c===void 0x0?_0x35a069(_0x31ceed,_0x5c8a1d,!0x0):_0x376886?_0x35a069(_0x31ceed,_0x302f9c,_0x5c8a1d[_0x252dfb(0x272)](/\\/g,'')):_0x35a069(_0x31ceed,_0x302f9c,_0x5c8a1d),_0x35a069(_0x2bad42,_0x47814a,_0x31ceed)),_0x2bad42;}function _0x42ff9e(_0x3158ca){const _0x5e2bb4=_0x5f07;return Object['keys'](_0x3158ca)[_0x5e2bb4(0x291)](_0x495f43=>{const _0x4a8ffb=_0x5e2bb4;let _0x1b3441=_0x3158ca[_0x495f43];return Array[_0x4a8ffb(0x137)](_0x1b3441)||(_0x1b3441=[_0x1b3441]),_0x1b3441[_0x4a8ffb(0x291)](_0x2bd0fb=>[_0x495f43]['concat'](Object['keys'](_0x2bd0fb)[_0x4a8ffb(0x291)](_0x336f3d=>{const _0x5a1bb5=_0x4a8ffb;let _0x3f9f11=_0x2bd0fb[_0x336f3d];return Array[_0x5a1bb5(0x137)](_0x3f9f11)||(_0x3f9f11=[_0x3f9f11]),_0x3f9f11[_0x5a1bb5(0x291)](_0x2dff21=>_0x2dff21===!0x0?_0x336f3d:_0x336f3d+'='+_0x2dff21)[_0x5a1bb5(0x1e9)](';\x20');}))['join'](';\x20'))[_0x4a8ffb(0x1e9)](',\x20');})[_0x5e2bb4(0x1e9)](',\x20');}return be={'format':_0x42ff9e,'parse':_0x42ba9b},be;}var we,st;function Ie(){const _0x157d4b=_0x35420b;if(st)return we;st=0x1;const _0x2d8183=_0x344e36,_0x5ead85=_0x337fbf,_0x49b39f=_0x47066c,_0x10443c=_0x319788,_0x44b086=_0x4384db,{randomBytes:_0x2f7f7f,createHash:_0x26b7e0}=_0x163c13,{Duplex:_0x525d8a,Readable:_0x490db2}=_0xed2e2c,{URL:_0x491123}=_0x2f30f2,_0x6558e6=he(),_0xf58d16=dt(),_0x74b7e2=_t(),{isBlob:_0x341336}=ne(),{BINARY_TYPES:_0x5e1cec,EMPTY_BUFFER:_0x430671,GUID:_0xd13cd2,kForOnEventAttribute:_0x1e11ae,kListener:_0x181a6d,kStatusCode:_0x1345e2,kWebSocket:_0xe5c837,NOOP:_0x2aa442}=V(),{EventTarget:{addEventListener:_0xf57452,removeEventListener:_0xc61a4c}}=Kt(),{format:_0x1bcaec,parse:_0x1fb7ed}=pt(),{toBuffer:_0x3238b6}=ce(),_0x362fe6=0x1e*0x3e8,_0x27bc10=Symbol(_0x157d4b(0x1aa)),_0x534327=[0x8,0xd],_0x4dc497=[_0x157d4b(0x17d),_0x157d4b(0x170),_0x157d4b(0x23e),_0x157d4b(0x146)],_0x1ce9db=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x82c444 extends _0x2d8183{constructor(_0x42d819,_0x3b845c,_0x21962c){const _0x1c0521=_0x157d4b;super(),this[_0x1c0521(0x1ee)]=_0x5e1cec[0x0],this['_closeCode']=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x1c0521(0x1f6)]=!0x1,this[_0x1c0521(0x294)]=_0x430671,this[_0x1c0521(0x219)]=null,this['_errorEmitted']=!0x1,this[_0x1c0521(0x26d)]={},this[_0x1c0521(0x208)]=!0x1,this[_0x1c0521(0x1d3)]='',this[_0x1c0521(0x14f)]=_0x82c444[_0x1c0521(0x17d)],this[_0x1c0521(0x1bb)]=null,this[_0x1c0521(0x129)]=null,this[_0x1c0521(0x1a8)]=null,_0x42d819!==null?(this[_0x1c0521(0x248)]=0x0,this['_isServer']=!0x1,this[_0x1c0521(0x198)]=0x0,_0x3b845c===void 0x0?_0x3b845c=[]:Array[_0x1c0521(0x137)](_0x3b845c)||(typeof _0x3b845c==_0x1c0521(0x26e)&&_0x3b845c!==null?(_0x21962c=_0x3b845c,_0x3b845c=[]):_0x3b845c=[_0x3b845c]),_0x2b10dc(this,_0x42d819,_0x3b845c,_0x21962c)):(this[_0x1c0521(0x1bc)]=_0x21962c['autoPong'],this[_0x1c0521(0x285)]=!0x0);}get[_0x157d4b(0x264)](){const _0x57851d=_0x157d4b;return this[_0x57851d(0x1ee)];}set['binaryType'](_0x3ee71a){const _0xb30f45=_0x157d4b;_0x5e1cec[_0xb30f45(0x267)](_0x3ee71a)&&(this[_0xb30f45(0x1ee)]=_0x3ee71a,this[_0xb30f45(0x1bb)]&&(this[_0xb30f45(0x1bb)]['_binaryType']=_0x3ee71a));}get[_0x157d4b(0x1f3)](){const _0x24dd85=_0x157d4b;return this[_0x24dd85(0x1a8)]?this[_0x24dd85(0x1a8)][_0x24dd85(0x1b3)][_0x24dd85(0x22d)]+this[_0x24dd85(0x129)][_0x24dd85(0x195)]:this[_0x24dd85(0x248)];}get[_0x157d4b(0x1c1)](){const _0x470bc4=_0x157d4b;return Object[_0x470bc4(0x274)](this[_0x470bc4(0x26d)])[_0x470bc4(0x1e9)]();}get[_0x157d4b(0x230)](){const _0x1274bd=_0x157d4b;return this[_0x1274bd(0x208)];}get[_0x157d4b(0x19c)](){return null;}get[_0x157d4b(0x151)](){return null;}get[_0x157d4b(0x27c)](){return null;}get[_0x157d4b(0x25f)](){return null;}get[_0x157d4b(0x1be)](){return this['_protocol'];}get[_0x157d4b(0x223)](){const _0x1ec3f9=_0x157d4b;return this[_0x1ec3f9(0x14f)];}get[_0x157d4b(0x1e4)](){return this['_url'];}[_0x157d4b(0x10f)](_0xe96266,_0x1e4288,_0xbe0e3f){const _0x5b094f=_0x157d4b,_0x58c195=new _0xf58d16({'allowSynchronousEvents':_0xbe0e3f[_0x5b094f(0x275)],'binaryType':this['binaryType'],'extensions':this[_0x5b094f(0x26d)],'isServer':this['_isServer'],'maxPayload':_0xbe0e3f[_0x5b094f(0x128)],'skipUTF8Validation':_0xbe0e3f[_0x5b094f(0x1ab)]}),_0x354102=new _0x74b7e2(_0xe96266,this['_extensions'],_0xbe0e3f[_0x5b094f(0x1f0)]);this['_receiver']=_0x58c195,this[_0x5b094f(0x129)]=_0x354102,this[_0x5b094f(0x1a8)]=_0xe96266,_0x58c195[_0xe5c837]=this,_0x354102[_0xe5c837]=this,_0xe96266[_0xe5c837]=this,_0x58c195['on'](_0x5b094f(0x12f),_0x13f832),_0x58c195['on'](_0x5b094f(0x10b),_0x4d4014),_0x58c195['on']('error',_0x5a62c0),_0x58c195['on'](_0x5b094f(0x1d4),_0x2505ee),_0x58c195['on'](_0x5b094f(0x1a6),_0x137be4),_0x58c195['on'](_0x5b094f(0x277),_0x89e49e),_0x354102[_0x5b094f(0x151)]=_0x31118e,_0xe96266['setTimeout']&&_0xe96266[_0x5b094f(0x171)](0x0),_0xe96266[_0x5b094f(0x139)]&&_0xe96266['setNoDelay'](),_0x1e4288[_0x5b094f(0x22d)]>0x0&&_0xe96266[_0x5b094f(0x1df)](_0x1e4288),_0xe96266['on']('close',_0x25fb98),_0xe96266['on'](_0x5b094f(0x19a),_0x5a0409),_0xe96266['on'](_0x5b094f(0x24b),_0x243cf2),_0xe96266['on'](_0x5b094f(0x237),_0x2b45a0),this[_0x5b094f(0x14f)]=_0x82c444[_0x5b094f(0x170)],this[_0x5b094f(0x112)](_0x5b094f(0x147));}['emitClose'](){const _0x27f7fa=_0x157d4b;if(!this[_0x27f7fa(0x1a8)]){this[_0x27f7fa(0x14f)]=_0x82c444[_0x27f7fa(0x146)],this[_0x27f7fa(0x112)](_0x27f7fa(0x10c),this[_0x27f7fa(0x120)],this[_0x27f7fa(0x294)]);return;}this[_0x27f7fa(0x26d)][_0x6558e6[_0x27f7fa(0x113)]]&&this[_0x27f7fa(0x26d)][_0x6558e6[_0x27f7fa(0x113)]][_0x27f7fa(0x2a2)](),this[_0x27f7fa(0x1bb)][_0x27f7fa(0x253)](),this['_readyState']=_0x82c444[_0x27f7fa(0x146)],this['emit'](_0x27f7fa(0x10c),this[_0x27f7fa(0x120)],this[_0x27f7fa(0x294)]);}['close'](_0x173c07,_0xc54ac6){const _0x2315b1=_0x157d4b;if(this['readyState']!==_0x82c444[_0x2315b1(0x146)]){if(this['readyState']===_0x82c444[_0x2315b1(0x17d)]){_0x2e766a(this,this['_req'],_0x2315b1(0x13e));return;}if(this[_0x2315b1(0x223)]===_0x82c444[_0x2315b1(0x23e)]){this[_0x2315b1(0x1f6)]&&(this['_closeFrameReceived']||this[_0x2315b1(0x1bb)]['_writableState'][_0x2315b1(0x1dc)])&&this['_socket'][_0x2315b1(0x24b)]();return;}this[_0x2315b1(0x14f)]=_0x82c444[_0x2315b1(0x23e)],this[_0x2315b1(0x129)][_0x2315b1(0x10c)](_0x173c07,_0xc54ac6,!this['_isServer'],_0x3c6cc9=>{const _0x21274b=_0x2315b1;_0x3c6cc9||(this[_0x21274b(0x1f6)]=!0x0,(this['_closeFrameReceived']||this['_receiver']['_writableState'][_0x21274b(0x1dc)])&&this['_socket'][_0x21274b(0x24b)]());}),_0x36884f(this);}}[_0x157d4b(0x29c)](){const _0x465383=_0x157d4b;this[_0x465383(0x223)]===_0x82c444[_0x465383(0x17d)]||this[_0x465383(0x223)]===_0x82c444[_0x465383(0x146)]||(this['_paused']=!0x0,this['_socket']['pause']());}[_0x157d4b(0x1a6)](_0x3eb83d,_0x3b7bd1,_0x34ddf3){const _0x35222d=_0x157d4b;if(this[_0x35222d(0x223)]===_0x82c444[_0x35222d(0x17d)])throw new Error(_0x35222d(0x1d9));if(typeof _0x3eb83d=='function'?(_0x34ddf3=_0x3eb83d,_0x3eb83d=_0x3b7bd1=void 0x0):typeof _0x3b7bd1==_0x35222d(0x200)&&(_0x34ddf3=_0x3b7bd1,_0x3b7bd1=void 0x0),typeof _0x3eb83d==_0x35222d(0x23c)&&(_0x3eb83d=_0x3eb83d[_0x35222d(0x1a7)]()),this[_0x35222d(0x223)]!==_0x82c444[_0x35222d(0x170)]){_0xf658df(this,_0x3eb83d,_0x34ddf3);return;}_0x3b7bd1===void 0x0&&(_0x3b7bd1=!this[_0x35222d(0x285)]),this['_sender'][_0x35222d(0x1a6)](_0x3eb83d||_0x430671,_0x3b7bd1,_0x34ddf3);}[_0x157d4b(0x277)](_0x53837c,_0x43ee3e,_0x36cdeb){const _0x3f6ecc=_0x157d4b;if(this['readyState']===_0x82c444[_0x3f6ecc(0x17d)])throw new Error(_0x3f6ecc(0x1d9));if(typeof _0x53837c==_0x3f6ecc(0x200)?(_0x36cdeb=_0x53837c,_0x53837c=_0x43ee3e=void 0x0):typeof _0x43ee3e==_0x3f6ecc(0x200)&&(_0x36cdeb=_0x43ee3e,_0x43ee3e=void 0x0),typeof _0x53837c==_0x3f6ecc(0x23c)&&(_0x53837c=_0x53837c[_0x3f6ecc(0x1a7)]()),this['readyState']!==_0x82c444[_0x3f6ecc(0x170)]){_0xf658df(this,_0x53837c,_0x36cdeb);return;}_0x43ee3e===void 0x0&&(_0x43ee3e=!this[_0x3f6ecc(0x285)]),this[_0x3f6ecc(0x129)][_0x3f6ecc(0x277)](_0x53837c||_0x430671,_0x43ee3e,_0x36cdeb);}[_0x157d4b(0x130)](){const _0x45dc3d=_0x157d4b;this[_0x45dc3d(0x223)]===_0x82c444[_0x45dc3d(0x17d)]||this[_0x45dc3d(0x223)]===_0x82c444['CLOSED']||(this[_0x45dc3d(0x208)]=!0x1,this[_0x45dc3d(0x1bb)][_0x45dc3d(0x1b3)]['needDrain']||this[_0x45dc3d(0x1a8)][_0x45dc3d(0x130)]());}['send'](_0x2d460a,_0x142bde,_0x1b7ae0){const _0x288871=_0x157d4b;if(this[_0x288871(0x223)]===_0x82c444['CONNECTING'])throw new Error(_0x288871(0x1d9));if(typeof _0x142bde==_0x288871(0x200)&&(_0x1b7ae0=_0x142bde,_0x142bde={}),typeof _0x2d460a==_0x288871(0x23c)&&(_0x2d460a=_0x2d460a[_0x288871(0x1a7)]()),this['readyState']!==_0x82c444[_0x288871(0x170)]){_0xf658df(this,_0x2d460a,_0x1b7ae0);return;}const _0x504af5={'binary':typeof _0x2d460a!=_0x288871(0x121),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x142bde};this[_0x288871(0x26d)][_0x6558e6[_0x288871(0x113)]]||(_0x504af5[_0x288871(0x19b)]=!0x1),this[_0x288871(0x129)][_0x288871(0x11a)](_0x2d460a||_0x430671,_0x504af5,_0x1b7ae0);}[_0x157d4b(0x26c)](){const _0x3c303a=_0x157d4b;if(this['readyState']!==_0x82c444[_0x3c303a(0x146)]){if(this[_0x3c303a(0x223)]===_0x82c444['CONNECTING']){_0x2e766a(this,this[_0x3c303a(0x159)],_0x3c303a(0x13e));return;}this[_0x3c303a(0x1a8)]&&(this[_0x3c303a(0x14f)]=_0x82c444[_0x3c303a(0x23e)],this['_socket']['destroy']());}}}Object['defineProperty'](_0x82c444,_0x157d4b(0x17d),{'enumerable':!0x0,'value':_0x4dc497[_0x157d4b(0x172)](_0x157d4b(0x17d))}),Object[_0x157d4b(0x1ac)](_0x82c444[_0x157d4b(0x2a8)],_0x157d4b(0x17d),{'enumerable':!0x0,'value':_0x4dc497[_0x157d4b(0x172)](_0x157d4b(0x17d))}),Object[_0x157d4b(0x1ac)](_0x82c444,_0x157d4b(0x170),{'enumerable':!0x0,'value':_0x4dc497[_0x157d4b(0x172)]('OPEN')}),Object[_0x157d4b(0x1ac)](_0x82c444[_0x157d4b(0x2a8)],_0x157d4b(0x170),{'enumerable':!0x0,'value':_0x4dc497[_0x157d4b(0x172)](_0x157d4b(0x170))}),Object[_0x157d4b(0x1ac)](_0x82c444,_0x157d4b(0x23e),{'enumerable':!0x0,'value':_0x4dc497[_0x157d4b(0x172)](_0x157d4b(0x23e))}),Object[_0x157d4b(0x1ac)](_0x82c444['prototype'],_0x157d4b(0x23e),{'enumerable':!0x0,'value':_0x4dc497[_0x157d4b(0x172)](_0x157d4b(0x23e))}),Object[_0x157d4b(0x1ac)](_0x82c444,_0x157d4b(0x146),{'enumerable':!0x0,'value':_0x4dc497[_0x157d4b(0x172)](_0x157d4b(0x146))}),Object[_0x157d4b(0x1ac)](_0x82c444[_0x157d4b(0x2a8)],_0x157d4b(0x146),{'enumerable':!0x0,'value':_0x4dc497[_0x157d4b(0x172)](_0x157d4b(0x146))}),['binaryType','bufferedAmount',_0x157d4b(0x1c1),_0x157d4b(0x230),_0x157d4b(0x1be),_0x157d4b(0x223),_0x157d4b(0x1e4)][_0x157d4b(0x136)](_0x4209f9=>{Object['defineProperty'](_0x82c444['prototype'],_0x4209f9,{'enumerable':!0x0});}),[_0x157d4b(0x147),'error',_0x157d4b(0x10c),_0x157d4b(0x1d4)][_0x157d4b(0x136)](_0x391f67=>{const _0x3eaba8=_0x157d4b;Object[_0x3eaba8(0x1ac)](_0x82c444[_0x3eaba8(0x2a8)],'on'+_0x391f67,{'enumerable':!0x0,'get'(){const _0x283ef7=_0x3eaba8;for(const _0x3ed6f6 of this[_0x283ef7(0x14c)](_0x391f67))if(_0x3ed6f6[_0x1e11ae])return _0x3ed6f6[_0x181a6d];return null;},'set'(_0x2a7c71){const _0x467590=_0x3eaba8;for(const _0x1d1f97 of this[_0x467590(0x14c)](_0x391f67))if(_0x1d1f97[_0x1e11ae]){this[_0x467590(0x153)](_0x391f67,_0x1d1f97);break;}typeof _0x2a7c71=='function'&&this[_0x467590(0x218)](_0x391f67,_0x2a7c71,{[_0x1e11ae]:!0x0});}});}),_0x82c444[_0x157d4b(0x2a8)]['addEventListener']=_0xf57452,_0x82c444[_0x157d4b(0x2a8)][_0x157d4b(0x114)]=_0xc61a4c,we=_0x82c444;function _0x2b10dc(_0x75f0d5,_0x5cba96,_0x4ff840,_0x48d93f){const _0x5095b0=_0x157d4b,_0x4372cc={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x534327[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x48d93f,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x75f0d5[_0x5095b0(0x1bc)]=_0x4372cc[_0x5095b0(0x247)],!_0x534327['includes'](_0x4372cc[_0x5095b0(0x1e1)]))throw new RangeError(_0x5095b0(0x118)+_0x4372cc[_0x5095b0(0x1e1)]+_0x5095b0(0x1a0)+_0x534327['join'](',\x20')+')');let _0xf1aa77;if(_0x5cba96 instanceof _0x491123)_0xf1aa77=_0x5cba96;else try{_0xf1aa77=new _0x491123(_0x5cba96);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x5cba96);}_0xf1aa77[_0x5095b0(0x1be)]==='http:'?_0xf1aa77[_0x5095b0(0x1be)]=_0x5095b0(0x280):_0xf1aa77[_0x5095b0(0x1be)]===_0x5095b0(0x29d)&&(_0xf1aa77[_0x5095b0(0x1be)]=_0x5095b0(0x19f)),_0x75f0d5['_url']=_0xf1aa77[_0x5095b0(0x2ab)];const _0x2c05c3=_0xf1aa77[_0x5095b0(0x1be)]===_0x5095b0(0x19f),_0x5c2c8e=_0xf1aa77[_0x5095b0(0x1be)]==='ws+unix:';let _0x2379b7;if(_0xf1aa77[_0x5095b0(0x1be)]!=='ws:'&&!_0x2c05c3&&!_0x5c2c8e?_0x2379b7=_0x5095b0(0x226):_0x5c2c8e&&!_0xf1aa77[_0x5095b0(0x281)]?_0x2379b7=_0x5095b0(0x286):_0xf1aa77['hash']&&(_0x2379b7=_0x5095b0(0x16a)),_0x2379b7){const _0x54fe50=new SyntaxError(_0x2379b7);if(_0x75f0d5['_redirects']===0x0)throw _0x54fe50;_0x22107a(_0x75f0d5,_0x54fe50);return;}const _0x1fa8c3=_0x2c05c3?0x1bb:0x50,_0x17ec3a=_0x2f7f7f(0x10)['toString'](_0x5095b0(0x258)),_0x21a3a7=_0x2c05c3?_0x5ead85['request']:_0x49b39f[_0x5095b0(0x1ad)],_0x5f585d=new Set();let _0x54b654;if(_0x4372cc['createConnection']=_0x4372cc[_0x5095b0(0x1a4)]||(_0x2c05c3?_0x6dd4c0:_0x204eab),_0x4372cc['defaultPort']=_0x4372cc['defaultPort']||_0x1fa8c3,_0x4372cc[_0x5095b0(0x29b)]=_0xf1aa77[_0x5095b0(0x29b)]||_0x1fa8c3,_0x4372cc[_0x5095b0(0x192)]=_0xf1aa77[_0x5095b0(0x2b6)][_0x5095b0(0x176)]('[')?_0xf1aa77[_0x5095b0(0x2b6)][_0x5095b0(0x211)](0x1,-0x1):_0xf1aa77[_0x5095b0(0x2b6)],_0x4372cc['headers']={..._0x4372cc[_0x5095b0(0x142)],'Sec-WebSocket-Version':_0x4372cc[_0x5095b0(0x1e1)],'Sec-WebSocket-Key':_0x17ec3a,'Connection':_0x5095b0(0x1e6),'Upgrade':_0x5095b0(0x216)},_0x4372cc[_0x5095b0(0x10e)]=_0xf1aa77[_0x5095b0(0x281)]+_0xf1aa77['search'],_0x4372cc[_0x5095b0(0x165)]=_0x4372cc[_0x5095b0(0x269)],_0x4372cc[_0x5095b0(0x15a)]&&(_0x54b654=new _0x6558e6(_0x4372cc[_0x5095b0(0x15a)]!==!0x0?_0x4372cc[_0x5095b0(0x15a)]:{},!0x1,_0x4372cc[_0x5095b0(0x128)]),_0x4372cc[_0x5095b0(0x142)][_0x5095b0(0x25a)]=_0x1bcaec({[_0x6558e6[_0x5095b0(0x113)]]:_0x54b654[_0x5095b0(0x122)]()})),_0x4ff840[_0x5095b0(0x22d)]){for(const _0x4a540c of _0x4ff840){if(typeof _0x4a540c!=_0x5095b0(0x121)||!_0x1ce9db[_0x5095b0(0x28c)](_0x4a540c)||_0x5f585d[_0x5095b0(0x127)](_0x4a540c))throw new SyntaxError(_0x5095b0(0x1a1));_0x5f585d[_0x5095b0(0x186)](_0x4a540c);}_0x4372cc[_0x5095b0(0x142)]['Sec-WebSocket-Protocol']=_0x4ff840[_0x5095b0(0x1e9)](',');}if(_0x4372cc['origin']&&(_0x4372cc[_0x5095b0(0x1e1)]<0xd?_0x4372cc[_0x5095b0(0x142)][_0x5095b0(0x156)]=_0x4372cc['origin']:_0x4372cc['headers'][_0x5095b0(0x29e)]=_0x4372cc['origin']),(_0xf1aa77[_0x5095b0(0x28a)]||_0xf1aa77[_0x5095b0(0x21f)])&&(_0x4372cc['auth']=_0xf1aa77[_0x5095b0(0x28a)]+':'+_0xf1aa77[_0x5095b0(0x21f)]),_0x5c2c8e){const _0x3fb4c3=_0x4372cc[_0x5095b0(0x10e)][_0x5095b0(0x1da)](':');_0x4372cc['socketPath']=_0x3fb4c3[0x0],_0x4372cc[_0x5095b0(0x10e)]=_0x3fb4c3[0x1];}let _0x479c08;if(_0x4372cc[_0x5095b0(0x252)]){if(_0x75f0d5[_0x5095b0(0x198)]===0x0){_0x75f0d5[_0x5095b0(0x134)]=_0x5c2c8e,_0x75f0d5[_0x5095b0(0x205)]=_0x2c05c3,_0x75f0d5[_0x5095b0(0x1c3)]=_0x5c2c8e?_0x4372cc[_0x5095b0(0x16b)]:_0xf1aa77[_0x5095b0(0x192)];const _0x5883b3=_0x48d93f&&_0x48d93f[_0x5095b0(0x142)];if(_0x48d93f={..._0x48d93f,'headers':{}},_0x5883b3){for(const [_0x5dd56d,_0x41cf0d]of Object[_0x5095b0(0x20a)](_0x5883b3))_0x48d93f[_0x5095b0(0x142)][_0x5dd56d[_0x5095b0(0x225)]()]=_0x41cf0d;}}else{if(_0x75f0d5[_0x5095b0(0x201)](_0x5095b0(0x292))===0x0){const _0x48b0e7=_0x5c2c8e?_0x75f0d5[_0x5095b0(0x134)]?_0x4372cc[_0x5095b0(0x16b)]===_0x75f0d5[_0x5095b0(0x1c3)]:!0x1:_0x75f0d5[_0x5095b0(0x134)]?!0x1:_0xf1aa77['host']===_0x75f0d5[_0x5095b0(0x1c3)];(!_0x48b0e7||_0x75f0d5[_0x5095b0(0x205)]&&!_0x2c05c3)&&(delete _0x4372cc[_0x5095b0(0x142)][_0x5095b0(0x193)],delete _0x4372cc['headers'][_0x5095b0(0x25d)],_0x48b0e7||delete _0x4372cc['headers']['host'],_0x4372cc[_0x5095b0(0x12d)]=void 0x0);}}_0x4372cc[_0x5095b0(0x12d)]&&!_0x48d93f[_0x5095b0(0x142)][_0x5095b0(0x193)]&&(_0x48d93f[_0x5095b0(0x142)]['authorization']=_0x5095b0(0x1b5)+Buffer[_0x5095b0(0x1b8)](_0x4372cc[_0x5095b0(0x12d)])[_0x5095b0(0x1a7)]('base64')),_0x479c08=_0x75f0d5[_0x5095b0(0x159)]=_0x21a3a7(_0x4372cc),_0x75f0d5[_0x5095b0(0x198)]&&_0x75f0d5[_0x5095b0(0x112)]('redirect',_0x75f0d5['url'],_0x479c08);}else _0x479c08=_0x75f0d5['_req']=_0x21a3a7(_0x4372cc);_0x4372cc[_0x5095b0(0x165)]&&_0x479c08['on'](_0x5095b0(0x165),()=>{const _0x4e0f5a=_0x5095b0;_0x2e766a(_0x75f0d5,_0x479c08,_0x4e0f5a(0x206));}),_0x479c08['on'](_0x5095b0(0x237),_0x1aa894=>{const _0x105ae6=_0x5095b0;_0x479c08===null||_0x479c08[_0x27bc10]||(_0x479c08=_0x75f0d5[_0x105ae6(0x159)]=null,_0x22107a(_0x75f0d5,_0x1aa894));}),_0x479c08['on'](_0x5095b0(0x239),_0x1842ec=>{const _0xea7d99=_0x5095b0,_0x43bb6a=_0x1842ec[_0xea7d99(0x142)][_0xea7d99(0x191)],_0x377a9a=_0x1842ec[_0xea7d99(0x1ed)];if(_0x43bb6a&&_0x4372cc[_0xea7d99(0x252)]&&_0x377a9a>=0x12c&&_0x377a9a<0x190){if(++_0x75f0d5[_0xea7d99(0x198)]>_0x4372cc[_0xea7d99(0x20f)]){_0x2e766a(_0x75f0d5,_0x479c08,_0xea7d99(0x283));return;}_0x479c08[_0xea7d99(0x124)]();let _0x32f6e3;try{_0x32f6e3=new _0x491123(_0x43bb6a,_0x5cba96);}catch{const _0x38fad4=new SyntaxError('Invalid\x20URL:\x20'+_0x43bb6a);_0x22107a(_0x75f0d5,_0x38fad4);return;}_0x2b10dc(_0x75f0d5,_0x32f6e3,_0x4ff840,_0x48d93f);}else _0x75f0d5['emit'](_0xea7d99(0x1ba),_0x479c08,_0x1842ec)||_0x2e766a(_0x75f0d5,_0x479c08,_0xea7d99(0x2ae)+_0x1842ec[_0xea7d99(0x1ed)]);}),_0x479c08['on'](_0x5095b0(0x15e),(_0x50a97b,_0x553698,_0x5e8c65)=>{const _0x1d2a3c=_0x5095b0;if(_0x75f0d5[_0x1d2a3c(0x112)]('upgrade',_0x50a97b),_0x75f0d5[_0x1d2a3c(0x223)]!==_0x82c444[_0x1d2a3c(0x17d)])return;_0x479c08=_0x75f0d5[_0x1d2a3c(0x159)]=null;const _0x5ce348=_0x50a97b[_0x1d2a3c(0x142)][_0x1d2a3c(0x15e)];if(_0x5ce348===void 0x0||_0x5ce348[_0x1d2a3c(0x225)]()!==_0x1d2a3c(0x216)){_0x2e766a(_0x75f0d5,_0x553698,_0x1d2a3c(0x164));return;}const _0x191428=_0x26b7e0(_0x1d2a3c(0x12b))[_0x1d2a3c(0x16c)](_0x17ec3a+_0xd13cd2)[_0x1d2a3c(0x266)]('base64');if(_0x50a97b['headers']['sec-websocket-accept']!==_0x191428){_0x2e766a(_0x75f0d5,_0x553698,_0x1d2a3c(0x29a));return;}const _0x402b32=_0x50a97b[_0x1d2a3c(0x142)][_0x1d2a3c(0x1c6)];let _0x42891a;if(_0x402b32!==void 0x0?_0x5f585d['size']?_0x5f585d[_0x1d2a3c(0x127)](_0x402b32)||(_0x42891a=_0x1d2a3c(0x1e2)):_0x42891a='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x5f585d['size']&&(_0x42891a='Server\x20sent\x20no\x20subprotocol'),_0x42891a){_0x2e766a(_0x75f0d5,_0x553698,_0x42891a);return;}_0x402b32&&(_0x75f0d5[_0x1d2a3c(0x1d3)]=_0x402b32);const _0x39734f=_0x50a97b['headers'][_0x1d2a3c(0x180)];if(_0x39734f!==void 0x0){if(!_0x54b654){_0x2e766a(_0x75f0d5,_0x553698,_0x1d2a3c(0x16f));return;}let _0x20a7a2;try{_0x20a7a2=_0x1fb7ed(_0x39734f);}catch{_0x2e766a(_0x75f0d5,_0x553698,_0x1d2a3c(0x1b1));return;}const _0x554679=Object[_0x1d2a3c(0x274)](_0x20a7a2);if(_0x554679[_0x1d2a3c(0x22d)]!==0x1||_0x554679[0x0]!==_0x6558e6['extensionName']){_0x2e766a(_0x75f0d5,_0x553698,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x54b654[_0x1d2a3c(0x1af)](_0x20a7a2[_0x6558e6['extensionName']]);}catch{_0x2e766a(_0x75f0d5,_0x553698,_0x1d2a3c(0x1b1));return;}_0x75f0d5[_0x1d2a3c(0x26d)][_0x6558e6[_0x1d2a3c(0x113)]]=_0x54b654;}_0x75f0d5[_0x1d2a3c(0x10f)](_0x553698,_0x5e8c65,{'allowSynchronousEvents':_0x4372cc[_0x1d2a3c(0x275)],'generateMask':_0x4372cc[_0x1d2a3c(0x1f0)],'maxPayload':_0x4372cc[_0x1d2a3c(0x128)],'skipUTF8Validation':_0x4372cc[_0x1d2a3c(0x1ab)]});}),_0x4372cc[_0x5095b0(0x1b7)]?_0x4372cc['finishRequest'](_0x479c08,_0x75f0d5):_0x479c08[_0x5095b0(0x24b)]();}function _0x22107a(_0x38a369,_0x57946e){const _0x165419=_0x157d4b;_0x38a369[_0x165419(0x14f)]=_0x82c444['CLOSING'],_0x38a369[_0x165419(0x13a)]=!0x0,_0x38a369[_0x165419(0x112)]('error',_0x57946e),_0x38a369[_0x165419(0x2a5)]();}function _0x204eab(_0x4a4f57){const _0x335044=_0x157d4b;return _0x4a4f57['path']=_0x4a4f57[_0x335044(0x16b)],_0x10443c[_0x335044(0x13c)](_0x4a4f57);}function _0x6dd4c0(_0x47daaa){const _0x534e2c=_0x157d4b;return _0x47daaa[_0x534e2c(0x10e)]=void 0x0,!_0x47daaa['servername']&&_0x47daaa[_0x534e2c(0x187)]!==''&&(_0x47daaa[_0x534e2c(0x187)]=_0x10443c[_0x534e2c(0x26f)](_0x47daaa[_0x534e2c(0x192)])?'':_0x47daaa[_0x534e2c(0x192)]),_0x44b086['connect'](_0x47daaa);}function _0x2e766a(_0x143d03,_0xc65914,_0x13ebd8){const _0x13fa7a=_0x157d4b;_0x143d03['_readyState']=_0x82c444['CLOSING'];const _0x298bc9=new Error(_0x13ebd8);Error[_0x13fa7a(0x23a)](_0x298bc9,_0x2e766a),_0xc65914[_0x13fa7a(0x1c0)]?(_0xc65914[_0x27bc10]=!0x0,_0xc65914[_0x13fa7a(0x124)](),_0xc65914[_0x13fa7a(0x2a0)]&&!_0xc65914[_0x13fa7a(0x2a0)][_0x13fa7a(0x233)]&&_0xc65914[_0x13fa7a(0x2a0)][_0x13fa7a(0x29f)](),process[_0x13fa7a(0x1d5)](_0x22107a,_0x143d03,_0x298bc9)):(_0xc65914[_0x13fa7a(0x29f)](_0x298bc9),_0xc65914[_0x13fa7a(0x217)](_0x13fa7a(0x237),_0x143d03[_0x13fa7a(0x112)][_0x13fa7a(0x2a4)](_0x143d03,_0x13fa7a(0x237))),_0xc65914[_0x13fa7a(0x217)]('close',_0x143d03['emitClose'][_0x13fa7a(0x2a4)](_0x143d03)));}function _0xf658df(_0x20a111,_0xb341e6,_0xcbbf02){const _0x389686=_0x157d4b;if(_0xb341e6){const _0x232a26=_0x341336(_0xb341e6)?_0xb341e6[_0x389686(0x288)]:_0x3238b6(_0xb341e6)[_0x389686(0x22d)];_0x20a111[_0x389686(0x1a8)]?_0x20a111[_0x389686(0x129)][_0x389686(0x195)]+=_0x232a26:_0x20a111[_0x389686(0x248)]+=_0x232a26;}if(_0xcbbf02){const _0x4a40f9=new Error(_0x389686(0x282)+_0x20a111[_0x389686(0x223)]+'\x20('+_0x4dc497[_0x20a111[_0x389686(0x223)]]+')');process[_0x389686(0x1d5)](_0xcbbf02,_0x4a40f9);}}function _0x13f832(_0x3e21ee,_0x48d1f5){const _0x2417d2=_0x157d4b,_0x273b3c=this[_0xe5c837];_0x273b3c[_0x2417d2(0x1d0)]=!0x0,_0x273b3c['_closeMessage']=_0x48d1f5,_0x273b3c[_0x2417d2(0x120)]=_0x3e21ee,_0x273b3c['_socket'][_0xe5c837]!==void 0x0&&(_0x273b3c[_0x2417d2(0x1a8)][_0x2417d2(0x153)](_0x2417d2(0x19a),_0x5a0409),process['nextTick'](_0x148c8d,_0x273b3c[_0x2417d2(0x1a8)]),_0x3e21ee===0x3ed?_0x273b3c[_0x2417d2(0x10c)]():_0x273b3c[_0x2417d2(0x10c)](_0x3e21ee,_0x48d1f5));}function _0x4d4014(){const _0x41e468=_0x157d4b,_0x512b24=this[_0xe5c837];_0x512b24[_0x41e468(0x230)]||_0x512b24[_0x41e468(0x1a8)][_0x41e468(0x130)]();}function _0x5a62c0(_0x4b161f){const _0x554885=_0x157d4b,_0x3cf85a=this[_0xe5c837];_0x3cf85a[_0x554885(0x1a8)][_0xe5c837]!==void 0x0&&(_0x3cf85a[_0x554885(0x1a8)][_0x554885(0x153)](_0x554885(0x19a),_0x5a0409),process['nextTick'](_0x148c8d,_0x3cf85a['_socket']),_0x3cf85a[_0x554885(0x10c)](_0x4b161f[_0x1345e2])),_0x3cf85a[_0x554885(0x13a)]||(_0x3cf85a[_0x554885(0x13a)]=!0x0,_0x3cf85a[_0x554885(0x112)](_0x554885(0x237),_0x4b161f));}function _0x5a94bd(){const _0x26002a=_0x157d4b;this[_0xe5c837][_0x26002a(0x2a5)]();}function _0x2505ee(_0x1bbff2,_0x22768e){const _0x44cef7=_0x157d4b;this[_0xe5c837][_0x44cef7(0x112)](_0x44cef7(0x1d4),_0x1bbff2,_0x22768e);}function _0x137be4(_0x59e561){const _0x4e0dd5=_0x157d4b,_0x268f6d=this[_0xe5c837];_0x268f6d[_0x4e0dd5(0x1bc)]&&_0x268f6d[_0x4e0dd5(0x277)](_0x59e561,!this[_0x4e0dd5(0x285)],_0x2aa442),_0x268f6d[_0x4e0dd5(0x112)](_0x4e0dd5(0x1a6),_0x59e561);}function _0x89e49e(_0x5582b9){const _0x30fa63=_0x157d4b;this[_0xe5c837][_0x30fa63(0x112)](_0x30fa63(0x277),_0x5582b9);}function _0x148c8d(_0x39489f){const _0x419290=_0x157d4b;_0x39489f[_0x419290(0x130)]();}function _0x31118e(_0x46d2fb){const _0x1c909e=_0x157d4b,_0x379998=this[_0xe5c837];_0x379998[_0x1c909e(0x223)]!==_0x82c444[_0x1c909e(0x146)]&&(_0x379998[_0x1c909e(0x223)]===_0x82c444['OPEN']&&(_0x379998['_readyState']=_0x82c444[_0x1c909e(0x23e)],_0x36884f(_0x379998)),this['_socket']['end'](),_0x379998[_0x1c909e(0x13a)]||(_0x379998[_0x1c909e(0x13a)]=!0x0,_0x379998[_0x1c909e(0x112)](_0x1c909e(0x237),_0x46d2fb)));}function _0x36884f(_0x4910f9){const _0x53018e=_0x157d4b;_0x4910f9[_0x53018e(0x219)]=setTimeout(_0x4910f9[_0x53018e(0x1a8)]['destroy']['bind'](_0x4910f9[_0x53018e(0x1a8)]),_0x362fe6);}function _0x25fb98(){const _0x21ee1a=_0x157d4b,_0x254361=this[_0xe5c837];this[_0x21ee1a(0x153)](_0x21ee1a(0x10c),_0x25fb98),this[_0x21ee1a(0x153)](_0x21ee1a(0x19a),_0x5a0409),this[_0x21ee1a(0x153)](_0x21ee1a(0x24b),_0x243cf2),_0x254361[_0x21ee1a(0x14f)]=_0x82c444[_0x21ee1a(0x23e)];let _0x350b07;!this['_readableState'][_0x21ee1a(0x18c)]&&!_0x254361['_closeFrameReceived']&&!_0x254361[_0x21ee1a(0x1bb)][_0x21ee1a(0x1b3)][_0x21ee1a(0x1dc)]&&(_0x350b07=_0x254361[_0x21ee1a(0x1a8)][_0x21ee1a(0x238)]())!==null&&_0x254361[_0x21ee1a(0x1bb)][_0x21ee1a(0x1a3)](_0x350b07),_0x254361[_0x21ee1a(0x1bb)][_0x21ee1a(0x24b)](),this[_0xe5c837]=void 0x0,clearTimeout(_0x254361[_0x21ee1a(0x219)]),_0x254361[_0x21ee1a(0x1bb)]['_writableState']['finished']||_0x254361[_0x21ee1a(0x1bb)]['_writableState'][_0x21ee1a(0x1dc)]?_0x254361[_0x21ee1a(0x2a5)]():(_0x254361[_0x21ee1a(0x1bb)]['on']('error',_0x5a94bd),_0x254361[_0x21ee1a(0x1bb)]['on']('finish',_0x5a94bd));}function _0x5a0409(_0x907a97){const _0x2fd9ed=_0x157d4b;this[_0xe5c837][_0x2fd9ed(0x1bb)][_0x2fd9ed(0x1a3)](_0x907a97)||this[_0x2fd9ed(0x29c)]();}function _0x243cf2(){const _0x5eb539=_0x157d4b,_0xf1d378=this[_0xe5c837];_0xf1d378[_0x5eb539(0x14f)]=_0x82c444[_0x5eb539(0x23e)],_0xf1d378[_0x5eb539(0x1bb)][_0x5eb539(0x24b)](),this[_0x5eb539(0x24b)]();}function _0x2b45a0(){const _0x19ebf1=_0x157d4b,_0x1ceed7=this[_0xe5c837];this[_0x19ebf1(0x153)]('error',_0x2b45a0),this['on'](_0x19ebf1(0x237),_0x2aa442),_0x1ceed7&&(_0x1ceed7[_0x19ebf1(0x14f)]=_0x82c444[_0x19ebf1(0x23e)],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x44d43f}=_0xed2e2c;function _0x35a048(_0x2ce301){const _0x3a4cb2=_0x5f07;_0x2ce301['emit'](_0x3a4cb2(0x10c));}function _0x22d4c9(){const _0x58eaf2=_0x5f07;!this[_0x58eaf2(0x233)]&&this[_0x58eaf2(0x1b3)][_0x58eaf2(0x1d1)]&&this[_0x58eaf2(0x29f)]();}function _0x384d8d(_0x4d8ef5){const _0x240792=_0x5f07;this[_0x240792(0x153)](_0x240792(0x237),_0x384d8d),this[_0x240792(0x29f)](),this[_0x240792(0x201)](_0x240792(0x237))===0x0&&this[_0x240792(0x112)](_0x240792(0x237),_0x4d8ef5);}function _0x2ce01d(_0x46cdc5,_0xb32528){const _0x2007f3=_0x5f07;let _0x476b4e=!0x0;const _0x31f717=new _0x44d43f({..._0xb32528,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x46cdc5['on'](_0x2007f3(0x1d4),function(_0xbea8f4,_0xc28bbb){const _0x20cd44=_0x2007f3,_0x26cb92=!_0xc28bbb&&_0x31f717[_0x20cd44(0x2b5)][_0x20cd44(0x18e)]?_0xbea8f4[_0x20cd44(0x1a7)]():_0xbea8f4;_0x31f717[_0x20cd44(0x1f1)](_0x26cb92)||_0x46cdc5[_0x20cd44(0x29c)]();}),_0x46cdc5[_0x2007f3(0x217)](_0x2007f3(0x237),function(_0x3fba1b){const _0x1be197=_0x2007f3;_0x31f717[_0x1be197(0x233)]||(_0x476b4e=!0x1,_0x31f717[_0x1be197(0x29f)](_0x3fba1b));}),_0x46cdc5['once'](_0x2007f3(0x10c),function(){const _0x28c767=_0x2007f3;_0x31f717[_0x28c767(0x233)]||_0x31f717[_0x28c767(0x1f1)](null);}),_0x31f717['_destroy']=function(_0x1c264f,_0x36510d){const _0x10189e=_0x2007f3;if(_0x46cdc5[_0x10189e(0x223)]===_0x46cdc5['CLOSED']){_0x36510d(_0x1c264f),process['nextTick'](_0x35a048,_0x31f717);return;}let _0x568482=!0x1;_0x46cdc5['once'](_0x10189e(0x237),function(_0xa49356){_0x568482=!0x0,_0x36510d(_0xa49356);}),_0x46cdc5['once'](_0x10189e(0x10c),function(){_0x568482||_0x36510d(_0x1c264f),process['nextTick'](_0x35a048,_0x31f717);}),_0x476b4e&&_0x46cdc5['terminate']();},_0x31f717[_0x2007f3(0x276)]=function(_0x5d49d0){const _0x7c32cd=_0x2007f3;if(_0x46cdc5[_0x7c32cd(0x223)]===_0x46cdc5[_0x7c32cd(0x17d)]){_0x46cdc5['once'](_0x7c32cd(0x147),function(){_0x31f717['_final'](_0x5d49d0);});return;}_0x46cdc5[_0x7c32cd(0x1a8)]!==null&&(_0x46cdc5['_socket'][_0x7c32cd(0x1b3)][_0x7c32cd(0x1d1)]?(_0x5d49d0(),_0x31f717['_readableState'][_0x7c32cd(0x18c)]&&_0x31f717[_0x7c32cd(0x29f)]()):(_0x46cdc5[_0x7c32cd(0x1a8)][_0x7c32cd(0x217)](_0x7c32cd(0x27a),function(){_0x5d49d0();}),_0x46cdc5['close']()));},_0x31f717[_0x2007f3(0x257)]=function(){const _0x475f20=_0x2007f3;_0x46cdc5[_0x475f20(0x230)]&&_0x46cdc5['resume']();},_0x31f717[_0x2007f3(0x1e3)]=function(_0x3145c0,_0x4bb916,_0x18421a){const _0x5d0824=_0x2007f3;if(_0x46cdc5[_0x5d0824(0x223)]===_0x46cdc5[_0x5d0824(0x17d)]){_0x46cdc5['once']('open',function(){const _0x3c71d9=_0x5d0824;_0x31f717[_0x3c71d9(0x1e3)](_0x3145c0,_0x4bb916,_0x18421a);});return;}_0x46cdc5[_0x5d0824(0x11a)](_0x3145c0,_0x18421a);},_0x31f717['on'](_0x2007f3(0x24b),_0x22d4c9),_0x31f717['on'](_0x2007f3(0x237),_0x384d8d),_0x31f717;}return Oe=_0x2ce01d,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x17a9d5}=ne();function _0x36604b(_0x433fb2){const _0xb56caa=_0x5f07,_0x23f61b=new Set();let _0x2a5917=-0x1,_0x3fd3f0=-0x1,_0x1f74c4=0x0;for(_0x1f74c4;_0x1f74c4<_0x433fb2[_0xb56caa(0x22d)];_0x1f74c4++){const _0x383d6e=_0x433fb2[_0xb56caa(0x28d)](_0x1f74c4);if(_0x3fd3f0===-0x1&&_0x17a9d5[_0x383d6e]===0x1)_0x2a5917===-0x1&&(_0x2a5917=_0x1f74c4);else{if(_0x1f74c4!==0x0&&(_0x383d6e===0x20||_0x383d6e===0x9))_0x3fd3f0===-0x1&&_0x2a5917!==-0x1&&(_0x3fd3f0=_0x1f74c4);else{if(_0x383d6e===0x2c){if(_0x2a5917===-0x1)throw new SyntaxError(_0xb56caa(0x1c8)+_0x1f74c4);_0x3fd3f0===-0x1&&(_0x3fd3f0=_0x1f74c4);const _0x2f1cac=_0x433fb2[_0xb56caa(0x211)](_0x2a5917,_0x3fd3f0);if(_0x23f61b[_0xb56caa(0x127)](_0x2f1cac))throw new SyntaxError(_0xb56caa(0x22b)+_0x2f1cac+_0xb56caa(0x152));_0x23f61b[_0xb56caa(0x186)](_0x2f1cac),_0x2a5917=_0x3fd3f0=-0x1;}else throw new SyntaxError(_0xb56caa(0x1c8)+_0x1f74c4);}}}if(_0x2a5917===-0x1||_0x3fd3f0!==-0x1)throw new SyntaxError(_0xb56caa(0x174));const _0x5a6515=_0x433fb2[_0xb56caa(0x211)](_0x2a5917,_0x1f74c4);if(_0x23f61b[_0xb56caa(0x127)](_0x5a6515))throw new SyntaxError(_0xb56caa(0x22b)+_0x5a6515+_0xb56caa(0x152));return _0x23f61b[_0xb56caa(0x186)](_0x5a6515),_0x23f61b;}return Ce={'parse':_0x36604b},Ce;}var Te,ot;function er(){const _0x79634d=_0x35420b;if(ot)return Te;ot=0x1;const _0x3c0452=_0x344e36,_0x2d587a=_0x47066c,{Duplex:_0x520a97}=_0xed2e2c,{createHash:_0x1e21a0}=_0x163c13,_0x5a6a48=pt(),_0x328833=he(),_0x42ea69=Jt(),_0x298218=Ie(),{GUID:_0x4a7a03,kWebSocket:_0x5e79ac}=V(),_0x144db5=/^[+/0-9A-Za-z]{22}==$/,_0x2d1c09=0x0,_0x5c0d6f=0x1,_0x2bfb64=0x2;class _0x495ce4 extends _0x3c0452{constructor(_0x42c386,_0x56232e){const _0x1c0079=_0x5f07;if(super(),_0x42c386={'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':_0x298218,..._0x42c386},_0x42c386['port']==null&&!_0x42c386[_0x1c0079(0x145)]&&!_0x42c386[_0x1c0079(0x203)]||_0x42c386[_0x1c0079(0x29b)]!=null&&(_0x42c386[_0x1c0079(0x145)]||_0x42c386['noServer'])||_0x42c386['server']&&_0x42c386['noServer'])throw new TypeError(_0x1c0079(0x1ae));if(_0x42c386[_0x1c0079(0x29b)]!=null?(this[_0x1c0079(0x1ce)]=_0x2d587a[_0x1c0079(0x17f)]((_0x1b305e,_0x56042c)=>{const _0x317c2a=_0x1c0079,_0x5c9b5d=_0x2d587a['STATUS_CODES'][0x1aa];_0x56042c[_0x317c2a(0x23f)](0x1aa,{'Content-Length':_0x5c9b5d[_0x317c2a(0x22d)],'Content-Type':'text/plain'}),_0x56042c[_0x317c2a(0x24b)](_0x5c9b5d);}),this['_server'][_0x1c0079(0x133)](_0x42c386[_0x1c0079(0x29b)],_0x42c386['host'],_0x42c386[_0x1c0079(0x27f)],_0x56232e)):_0x42c386[_0x1c0079(0x145)]&&(this['_server']=_0x42c386[_0x1c0079(0x145)]),this['_server']){const _0x4486b1=this[_0x1c0079(0x112)][_0x1c0079(0x2a4)](this,_0x1c0079(0x26b));this[_0x1c0079(0x224)]=_0x3eefd5(this['_server'],{'listening':this[_0x1c0079(0x112)][_0x1c0079(0x2a4)](this,_0x1c0079(0x228)),'error':this[_0x1c0079(0x112)]['bind'](this,'error'),'upgrade':(_0x49307d,_0x4b5122,_0x57788d)=>{this['handleUpgrade'](_0x49307d,_0x4b5122,_0x57788d,_0x4486b1);}});}_0x42c386['perMessageDeflate']===!0x0&&(_0x42c386[_0x1c0079(0x15a)]={}),_0x42c386[_0x1c0079(0x144)]&&(this['clients']=new Set(),this[_0x1c0079(0x284)]=!0x1),this[_0x1c0079(0x21a)]=_0x42c386,this[_0x1c0079(0x1e0)]=_0x2d1c09;}['address'](){const _0x5b4d8a=_0x5f07;if(this[_0x5b4d8a(0x21a)][_0x5b4d8a(0x203)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x5b4d8a(0x1ce)]?this[_0x5b4d8a(0x1ce)][_0x5b4d8a(0x154)]():null;}[_0x79634d(0x10c)](_0x30a5f2){const _0x49b6af=_0x79634d;if(this['_state']===_0x2bfb64){_0x30a5f2&&this[_0x49b6af(0x217)](_0x49b6af(0x10c),()=>{const _0x1b4385=_0x49b6af;_0x30a5f2(new Error(_0x1b4385(0x21c)));}),process[_0x49b6af(0x1d5)](_0x5f08c1,this);return;}if(_0x30a5f2&&this[_0x49b6af(0x217)](_0x49b6af(0x10c),_0x30a5f2),this[_0x49b6af(0x1e0)]!==_0x5c0d6f){if(this['_state']=_0x5c0d6f,this['options']['noServer']||this[_0x49b6af(0x21a)][_0x49b6af(0x145)])this[_0x49b6af(0x1ce)]&&(this['_removeListeners'](),this['_removeListeners']=this[_0x49b6af(0x1ce)]=null),this[_0x49b6af(0x1cc)]?this['clients'][_0x49b6af(0x288)]?this[_0x49b6af(0x284)]=!0x0:process[_0x49b6af(0x1d5)](_0x5f08c1,this):process[_0x49b6af(0x1d5)](_0x5f08c1,this);else{const _0x2ec9a5=this[_0x49b6af(0x1ce)];this[_0x49b6af(0x224)](),this['_removeListeners']=this['_server']=null,_0x2ec9a5[_0x49b6af(0x10c)](()=>{_0x5f08c1(this);});}}}[_0x79634d(0x1d2)](_0x47ee10){const _0x11f937=_0x79634d;if(this[_0x11f937(0x21a)][_0x11f937(0x10e)]){const _0x2cc3da=_0x47ee10[_0x11f937(0x1e4)][_0x11f937(0x172)]('?');if((_0x2cc3da!==-0x1?_0x47ee10['url'][_0x11f937(0x211)](0x0,_0x2cc3da):_0x47ee10['url'])!==this['options'][_0x11f937(0x10e)])return!0x1;}return!0x0;}['handleUpgrade'](_0xab32e6,_0x25d2e6,_0x3a5f43,_0x17efa5){const _0x271f7f=_0x79634d;_0x25d2e6['on'](_0x271f7f(0x237),_0x5cb9e3);const _0x4ca62a=_0xab32e6[_0x271f7f(0x142)][_0x271f7f(0x2a9)],_0x462548=_0xab32e6[_0x271f7f(0x142)][_0x271f7f(0x15e)],_0x286e26=+_0xab32e6[_0x271f7f(0x142)][_0x271f7f(0x1b2)];if(_0xab32e6['method']!=='GET'){_0xfdf584(this,_0xab32e6,_0x25d2e6,0x195,_0x271f7f(0x125));return;}if(_0x462548===void 0x0||_0x462548[_0x271f7f(0x225)]()!==_0x271f7f(0x216)){_0xfdf584(this,_0xab32e6,_0x25d2e6,0x190,_0x271f7f(0x164));return;}if(_0x4ca62a===void 0x0||!_0x144db5[_0x271f7f(0x28c)](_0x4ca62a)){_0xfdf584(this,_0xab32e6,_0x25d2e6,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x286e26!==0x8&&_0x286e26!==0xd){_0xfdf584(this,_0xab32e6,_0x25d2e6,0x190,_0x271f7f(0x278));return;}if(!this['shouldHandle'](_0xab32e6)){_0x240201(_0x25d2e6,0x190);return;}const _0x676fc4=_0xab32e6['headers'][_0x271f7f(0x1c6)];let _0x1c7854=new Set();if(_0x676fc4!==void 0x0)try{_0x1c7854=_0x42ea69['parse'](_0x676fc4);}catch{_0xfdf584(this,_0xab32e6,_0x25d2e6,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x5c21da=_0xab32e6[_0x271f7f(0x142)][_0x271f7f(0x180)],_0x5322c2={};if(this[_0x271f7f(0x21a)]['perMessageDeflate']&&_0x5c21da!==void 0x0){const _0xd396d3=new _0x328833(this[_0x271f7f(0x21a)][_0x271f7f(0x15a)],!0x0,this[_0x271f7f(0x21a)]['maxPayload']);try{const _0x32aae6=_0x5a6a48[_0x271f7f(0x196)](_0x5c21da);_0x32aae6[_0x328833[_0x271f7f(0x113)]]&&(_0xd396d3[_0x271f7f(0x1af)](_0x32aae6[_0x328833[_0x271f7f(0x113)]]),_0x5322c2[_0x328833['extensionName']]=_0xd396d3);}catch{_0xfdf584(this,_0xab32e6,_0x25d2e6,0x190,_0x271f7f(0x12c));return;}}if(this[_0x271f7f(0x21a)][_0x271f7f(0x2a7)]){const _0x175b5b={'origin':_0xab32e6[_0x271f7f(0x142)][''+(_0x286e26===0x8?'sec-websocket-origin':_0x271f7f(0x2b8))],'secure':!!(_0xab32e6[_0x271f7f(0x2a0)]['authorized']||_0xab32e6['socket'][_0x271f7f(0x141)]),'req':_0xab32e6};if(this[_0x271f7f(0x21a)][_0x271f7f(0x2a7)]['length']===0x2){this[_0x271f7f(0x21a)][_0x271f7f(0x2a7)](_0x175b5b,(_0x3cfd81,_0x3a6240,_0x402fee,_0x1ed36f)=>{const _0x141a7b=_0x271f7f;if(!_0x3cfd81)return _0x240201(_0x25d2e6,_0x3a6240||0x191,_0x402fee,_0x1ed36f);this[_0x141a7b(0x1fb)](_0x5322c2,_0x4ca62a,_0x1c7854,_0xab32e6,_0x25d2e6,_0x3a5f43,_0x17efa5);});return;}if(!this[_0x271f7f(0x21a)][_0x271f7f(0x2a7)](_0x175b5b))return _0x240201(_0x25d2e6,0x191);}this[_0x271f7f(0x1fb)](_0x5322c2,_0x4ca62a,_0x1c7854,_0xab32e6,_0x25d2e6,_0x3a5f43,_0x17efa5);}[_0x79634d(0x1fb)](_0x36ad65,_0x4564e0,_0x48b09b,_0x50ac78,_0x42954f,_0x47934a,_0x361c5a){const _0x5c532c=_0x79634d;if(!_0x42954f[_0x5c532c(0x220)]||!_0x42954f[_0x5c532c(0x10a)])return _0x42954f[_0x5c532c(0x29f)]();if(_0x42954f[_0x5e79ac])throw new Error(_0x5c532c(0x25c));if(this['_state']>_0x2d1c09)return _0x240201(_0x42954f,0x1f7);const _0x2eda41=[_0x5c532c(0x259),_0x5c532c(0x188),_0x5c532c(0x255),_0x5c532c(0x19e)+_0x1e21a0(_0x5c532c(0x12b))[_0x5c532c(0x16c)](_0x4564e0+_0x4a7a03)[_0x5c532c(0x266)]('base64')],_0x417487=new this[(_0x5c532c(0x21a))][(_0x5c532c(0x110))](null,void 0x0,this['options']);if(_0x48b09b[_0x5c532c(0x288)]){const _0x273032=this[_0x5c532c(0x21a)][_0x5c532c(0x17c)]?this['options'][_0x5c532c(0x17c)](_0x48b09b,_0x50ac78):_0x48b09b[_0x5c532c(0x177)]()['next']()[_0x5c532c(0x2b7)];_0x273032&&(_0x2eda41[_0x5c532c(0x1f1)](_0x5c532c(0x2a6)+_0x273032),_0x417487[_0x5c532c(0x1d3)]=_0x273032);}if(_0x36ad65[_0x328833[_0x5c532c(0x113)]]){const _0x215b45=_0x36ad65[_0x328833['extensionName']]['params'],_0x12a79a=_0x5a6a48[_0x5c532c(0x1ea)]({[_0x328833['extensionName']]:[_0x215b45]});_0x2eda41[_0x5c532c(0x1f1)](_0x5c532c(0x1fe)+_0x12a79a),_0x417487[_0x5c532c(0x26d)]=_0x36ad65;}this['emit']('headers',_0x2eda41,_0x50ac78),_0x42954f[_0x5c532c(0x1a3)](_0x2eda41[_0x5c532c(0x18f)]('\x0d\x0a')['join']('\x0d\x0a')),_0x42954f[_0x5c532c(0x153)](_0x5c532c(0x237),_0x5cb9e3),_0x417487[_0x5c532c(0x10f)](_0x42954f,_0x47934a,{'allowSynchronousEvents':this[_0x5c532c(0x21a)]['allowSynchronousEvents'],'maxPayload':this[_0x5c532c(0x21a)][_0x5c532c(0x128)],'skipUTF8Validation':this['options'][_0x5c532c(0x1ab)]}),this['clients']&&(this[_0x5c532c(0x1cc)][_0x5c532c(0x186)](_0x417487),_0x417487['on']('close',()=>{const _0x36e5a7=_0x5c532c;this['clients']['delete'](_0x417487),this[_0x36e5a7(0x284)]&&!this[_0x36e5a7(0x1cc)][_0x36e5a7(0x288)]&&process[_0x36e5a7(0x1d5)](_0x5f08c1,this);})),_0x361c5a(_0x417487,_0x50ac78);}}Te=_0x495ce4;function _0x3eefd5(_0x2aa84d,_0x64486){const _0x33a22a=_0x79634d;for(const _0x234f4d of Object[_0x33a22a(0x274)](_0x64486))_0x2aa84d['on'](_0x234f4d,_0x64486[_0x234f4d]);return function(){const _0x56968f=_0x33a22a;for(const _0x5813f7 of Object['keys'](_0x64486))_0x2aa84d[_0x56968f(0x153)](_0x5813f7,_0x64486[_0x5813f7]);};}function _0x5f08c1(_0x356428){const _0x25c89e=_0x79634d;_0x356428[_0x25c89e(0x1e0)]=_0x2bfb64,_0x356428[_0x25c89e(0x112)](_0x25c89e(0x10c));}function _0x5cb9e3(){const _0x259730=_0x79634d;this[_0x259730(0x29f)]();}function _0x240201(_0x2de661,_0x32bbf0,_0xf98d67,_0x5a98a9){const _0x15b047=_0x79634d;_0xf98d67=_0xf98d67||_0x2d587a[_0x15b047(0x190)][_0x32bbf0],_0x5a98a9={'Connection':_0x15b047(0x10c),'Content-Type':_0x15b047(0x1c5),'Content-Length':Buffer[_0x15b047(0x1cb)](_0xf98d67),..._0x5a98a9},_0x2de661['once'](_0x15b047(0x27a),_0x2de661['destroy']),_0x2de661[_0x15b047(0x24b)](_0x15b047(0x10d)+_0x32bbf0+'\x20'+_0x2d587a[_0x15b047(0x190)][_0x32bbf0]+'\x0d\x0a'+Object[_0x15b047(0x274)](_0x5a98a9)[_0x15b047(0x291)](_0x8d7d56=>_0x8d7d56+':\x20'+_0x5a98a9[_0x8d7d56])[_0x15b047(0x1e9)]('\x0d\x0a')+_0x15b047(0x1b4)+_0xf98d67);}function _0xfdf584(_0xec159e,_0x38a9d8,_0x421e76,_0x4a9eb8,_0x33f944){const _0x439ccb=_0x79634d;if(_0xec159e[_0x439ccb(0x201)]('wsClientError')){const _0x530a5b=new Error(_0x33f944);Error[_0x439ccb(0x23a)](_0x530a5b,_0xfdf584),_0xec159e[_0x439ccb(0x112)]('wsClientError',_0x530a5b,_0x421e76,_0x38a9d8);}else _0x240201(_0x421e76,_0x4a9eb8,_0x33f944);}return Te;}er();var tr=Object[_0x35420b(0x202)],rr=(_0x2f8710,_0xf93098,_0x51ea13,_0x12bf12)=>{const _0x56ad46=_0x35420b;for(var _0x15c546=_0x12bf12>0x1?void 0x0:_0x12bf12?tr(_0xf93098,_0x51ea13):_0xf93098,_0x52359e=_0x2f8710[_0x56ad46(0x22d)]-0x1,_0x116568;_0x52359e>=0x0;_0x52359e--)(_0x116568=_0x2f8710[_0x52359e])&&(_0x15c546=_0x116568(_0x15c546)||_0x15c546);return _0x15c546;},sr=(_0x3325ee,_0x54537f)=>(_0x5bbdf6,_0xa3d6e7)=>_0x54537f(_0x5bbdf6,_0xa3d6e7,_0x3325ee);let Ne=class extends _0x5ea5cc{constructor(_0x4bcb52){const _0x3fc3b1=_0x35420b;super(),this[_0x3fc3b1(0x1f4)]=_0x4bcb52;}[_0x35420b(0x22e)](_0x3cff69){const _0x5f1ca0=_0x35420b;var _0x1cc417;const _0x50981e=(_0x1cc417=this[_0x5f1ca0(0x1f4)]['getConfig'](Be))==null?void 0x0:_0x1cc417[_0x5f1ca0(0x17a)];try{const _0x99f437=new Qt(_0x3cff69,{'headers':{..._0x50981e}}),_0x57f697=new _0x4b6ccf();return{'URL':_0x3cff69,'close':(_0x133a22,_0x549804)=>{const _0x51720e=_0x5f1ca0;_0x99f437[_0x51720e(0x10c)](_0x133a22,_0x549804),_0x57f697[_0x51720e(0x2b9)]();},'send':_0x1b548c=>{const _0x453f3f=_0x5f1ca0;_0x99f437[_0x453f3f(0x11a)](_0x1b548c);},'open$':new _0x29e1d9(_0x182baf=>{const _0x17f519=_0x5f1ca0,_0x22f8b6=_0x1d54d5=>_0x182baf[_0x17f519(0x163)](_0x1d54d5);_0x99f437[_0x17f519(0x218)](_0x17f519(0x147),_0x22f8b6),_0x57f697[_0x17f519(0x186)](_0x406fb7(()=>_0x99f437[_0x17f519(0x114)](_0x17f519(0x147),_0x22f8b6)));})['pipe'](_0x448d37()),'close$':new _0x29e1d9(_0x23bd84=>{const _0x922ba2=_0x5f1ca0,_0x8e80d3=_0x421f6b=>_0x23bd84[_0x922ba2(0x163)](_0x421f6b);_0x99f437['addEventListener'](_0x922ba2(0x10c),_0x8e80d3),_0x57f697['add'](_0x406fb7(()=>_0x99f437[_0x922ba2(0x114)]('close',_0x8e80d3)));})['pipe'](_0x448d37()),'error$':new _0x29e1d9(_0x1ac44c=>{const _0xbb2085=_0x5f1ca0,_0x3a5fc7=_0x3f3520=>_0x1ac44c[_0xbb2085(0x163)](_0x3f3520);_0x99f437[_0xbb2085(0x218)]('error',_0x3a5fc7),_0x57f697[_0xbb2085(0x186)](_0x406fb7(()=>_0x99f437[_0xbb2085(0x114)](_0xbb2085(0x237),_0x3a5fc7)));})['pipe'](_0x448d37()),'message$':new _0x29e1d9(_0x5bee28=>{const _0xfa6aa0=_0x5f1ca0,_0x17dfc0=_0x1e964c=>_0x5bee28[_0xfa6aa0(0x163)](_0x1e964c);_0x99f437[_0xfa6aa0(0x218)](_0xfa6aa0(0x1d4),_0x17dfc0),_0x57f697['add'](_0x406fb7(()=>_0x99f437['removeEventListener'](_0xfa6aa0(0x1d4),_0x17dfc0)));})['pipe'](_0x448d37())};}catch(_0x59e2ad){return console[_0x5f1ca0(0x237)](_0x59e2ad),null;}}};Ne=rr([sr(0x0,_0x2905c3)],Ne);var ir=Object[_0x35420b(0x1ac)],nr=Object['getOwnPropertyDescriptor'],or=(_0x50c4fb,_0x2dfc56,_0x2c26f6)=>_0x2dfc56 in _0x50c4fb?ir(_0x50c4fb,_0x2dfc56,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c26f6}):_0x50c4fb[_0x2dfc56]=_0x2c26f6,ar=(_0x11caf1,_0x540b59,_0x262096,_0x58bc8b)=>{const _0x3ab07c=_0x35420b;for(var _0x16d454=_0x58bc8b>0x1?void 0x0:_0x58bc8b?nr(_0x540b59,_0x262096):_0x540b59,_0x2e0ec4=_0x11caf1[_0x3ab07c(0x22d)]-0x1,_0x35155b;_0x2e0ec4>=0x0;_0x2e0ec4--)(_0x35155b=_0x11caf1[_0x2e0ec4])&&(_0x16d454=_0x35155b(_0x16d454)||_0x16d454);return _0x16d454;},ke=(_0x3957ec,_0x4ad521)=>(_0x1e6fd,_0x4b774f)=>_0x4ad521(_0x1e6fd,_0x4b774f,_0x3957ec),lr=(_0x3282a9,_0x3e7b8d,_0x5d8633)=>or(_0x3282a9,_0x3e7b8d+'',_0x5d8633);let Pe=class extends _0x4cc62b{constructor(_0xbb5830=Ft,_0x3394e0,_0x2f0a07,_0x454f45){const _0x2d406f=_0x35420b;_0xbb5830[_0x2d406f(0x17a)]||_0x3394e0[_0x2d406f(0x1fd)](_0x2d406f(0x197)),super(),this[_0x2d406f(0x1f4)]=_0x2f0a07,this[_0x2d406f(0x2b4)]=_0x454f45,this[_0x2d406f(0x1f4)][_0x2d406f(0x268)](Be,_0xbb5830);}[_0x35420b(0x1a2)](){const _0x162343=_0x35420b;this[_0x162343(0x126)]();}[_0x35420b(0x126)](){const _0x41b35a=_0x35420b;_0x44dc59(this[_0x41b35a(0x2b4)],[[_0x2e8ef2,{'useClass':Ne}]]);}};lr(Pe,'pluginName',_0x35420b(0x14d)),Pe=ar([_0xbf5bb6(_0x44eecd),ke(0x1,_0x1facdc),ke(0x2,_0x2905c3),ke(0x3,_0x3e39f7(_0x2a7371))],Pe);var fr=Object[_0x35420b(0x202)],cr=(_0x4ce182,_0xa90a5d,_0x596bb1,_0x4fbedc)=>{for(var _0x37ed05=_0x4fbedc>0x1?void 0x0:_0x4fbedc?fr(_0xa90a5d,_0x596bb1):_0xa90a5d,_0x4f5627=_0x4ce182['length']-0x1,_0x1899ea;_0x4f5627>=0x0;_0x4f5627--)(_0x1899ea=_0x4ce182[_0x4f5627])&&(_0x37ed05=_0x1899ea(_0x37ed05)||_0x37ed05);return _0x37ed05;},se=(_0x45095c,_0x55b939)=>(_0xc7bde,_0x44d7aa)=>_0x55b939(_0xc7bde,_0x44d7aa,_0x45095c);let at=class extends _0x1170dd{constructor(_0x1cf73b,_0x334a31,_0x4a3251,_0x159869,_0x5adfc3){const _0x159371=_0x35420b;super(_0x1cf73b,_0x334a31,_0x4a3251,_0x159869,_0x5adfc3);const _0x5549cc=this['_configService'][_0x159371(0x15f)](Be);this[_0x159371(0x1f5)][_0x159371(0x2af)]({'interceptor':(_0x2f63f2,_0x44f516)=>{const _0x1be014=_0x159371;var _0x69f5ed;const _0x280bd1=_0x2f63f2[_0x1be014(0x142)];return(_0x69f5ed=_0x5549cc==null?void 0x0:_0x5549cc[_0x1be014(0x17a)])!=null&&_0x69f5ed[_0x1be014(0x25d)]&&_0x280bd1[_0x1be014(0x162)](_0x1be014(0x184),_0x5549cc['customHeaders'][_0x1be014(0x25d)]),_0x44f516(_0x2f63f2);}});}async[_0x35420b(0x22e)](_0x3be328){const _0x30129f=_0x35420b;return this[_0x30129f(0x245)](_0x3be328);}};at=cr([se(0x0,_0x3e39f7(_0x2a7371)),se(0x1,_0x3e39f7(_0xe6f676)),se(0x2,_0x2905c3),se(0x3,_0x1facdc),se(0x4,_0x81118a)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|