@univerjs-pro/collaboration-client-node 0.6.2 → 0.6.3-nightly.202503041606
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/umd/index.js +1 -1
- package/package.json +8 -8
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x3ed807,_0x1bc1ba){const _0x267cf5=_0x39a5,_0xc4f639=_0x3ed807();while(!![]){try{const _0x222492=parseInt(_0x267cf5(0x189))/0x1+-parseInt(_0x267cf5(0x14d))/0x2+-parseInt(_0x267cf5(0x28d))/0x3*(parseInt(_0x267cf5(0x2cd))/0x4)+-parseInt(_0x267cf5(0x1ec))/0x5+-parseInt(_0x267cf5(0x24d))/0x6*(-parseInt(_0x267cf5(0x2da))/0x7)+parseInt(_0x267cf5(0x120))/0x8*(-parseInt(_0x267cf5(0x236))/0x9)+-parseInt(_0x267cf5(0x28a))/0xa*(-parseInt(_0x267cf5(0x23f))/0xb);if(_0x222492===_0x1bc1ba)break;else _0xc4f639['push'](_0xc4f639['shift']());}catch(_0x2da3c3){_0xc4f639['push'](_0xc4f639['shift']());}}}(_0x42d6,0x4fb23),function(_0x5cb9c8,_0x15ab13){const _0x1dfce1=_0x39a5;typeof exports==_0x1dfce1(0x1fb)&&typeof module<'u'?_0x15ab13(exports,require(_0x1dfce1(0x148)),require(_0x1dfce1(0x23d)),require(_0x1dfce1(0x1b5)),require('rxjs'),require(_0x1dfce1(0x233)),require(_0x1dfce1(0x128)),require(_0x1dfce1(0x1bc)),require(_0x1dfce1(0x1e1)),require(_0x1dfce1(0x158)),require(_0x1dfce1(0x1af)),require('stream'),require(_0x1dfce1(0x14b)),require(_0x1dfce1(0x1ce)),require(_0x1dfce1(0x199)),require('@univerjs-pro/collaboration')):typeof define=='function'&&define['amd']?define([_0x1dfce1(0x24b),_0x1dfce1(0x148),_0x1dfce1(0x23d),_0x1dfce1(0x1b5),'rxjs',_0x1dfce1(0x233),_0x1dfce1(0x128),_0x1dfce1(0x1bc),'net',_0x1dfce1(0x158),_0x1dfce1(0x1af),_0x1dfce1(0x16e),_0x1dfce1(0x14b),_0x1dfce1(0x1ce),_0x1dfce1(0x199),'@univerjs-pro/collaboration'],_0x15ab13):(_0x5cb9c8=typeof globalThis<'u'?globalThis:_0x5cb9c8||self,_0x15ab13(_0x5cb9c8[_0x1dfce1(0x275)]={},_0x5cb9c8[_0x1dfce1(0x2e4)],_0x5cb9c8['UniverCore'],_0x5cb9c8[_0x1dfce1(0x231)],_0x5cb9c8[_0x1dfce1(0x2cc)],_0x5cb9c8['require$$0$3'],_0x5cb9c8[_0x1dfce1(0x2d6)],_0x5cb9c8[_0x1dfce1(0x294)],_0x5cb9c8[_0x1dfce1(0x1fd)],_0x5cb9c8[_0x1dfce1(0x134)],_0x5cb9c8[_0x1dfce1(0x210)],_0x5cb9c8['require$$0$2'],_0x5cb9c8['require$$7'],_0x5cb9c8[_0x1dfce1(0x1a7)],_0x5cb9c8[_0x1dfce1(0x213)],_0x5cb9c8[_0x1dfce1(0x242)]));}(this,function(_0x4e2e3c,_0x543172,_0x583a56,_0x53aa53,_0x39e96b,_0x2d0c38,_0x378333,_0x2ef0ff,_0x5dfdb3,_0x42f975,_0x491b7c,_0x4d7920,_0xc90612,_0x1ee00a,_0x3e3679,_0x18fe53){'use strict';const _0x4359a2=_0x39a5;const _0x41ae6d='collaboration-client-node.config',_0x2ca501={'customHeaders':{}};function _0x3e2d83(_0x267191){const _0x178a01=_0x39a5;return _0x267191&&_0x267191[_0x178a01(0x272)]&&Object[_0x178a01(0x170)][_0x178a01(0x126)]['call'](_0x267191,_0x178a01(0x288))?_0x267191[_0x178a01(0x288)]:_0x267191;}function _0x292de9(_0x537dde){const _0x3872ca=_0x39a5;if(_0x537dde[_0x3872ca(0x272)])return _0x537dde;var _0x13c69e=_0x537dde[_0x3872ca(0x288)];if(typeof _0x13c69e==_0x3872ca(0x2dc)){var _0x5c4a7d=function _0x31cc0d(){const _0x41d83c=_0x3872ca;return this instanceof _0x31cc0d?Reflect[_0x41d83c(0x1d9)](_0x13c69e,arguments,this['constructor']):_0x13c69e[_0x41d83c(0x224)](this,arguments);};_0x5c4a7d[_0x3872ca(0x170)]=_0x13c69e[_0x3872ca(0x170)];}else _0x5c4a7d={};return Object[_0x3872ca(0x216)](_0x5c4a7d,_0x3872ca(0x272),{'value':!0x0}),Object[_0x3872ca(0x1d2)](_0x537dde)[_0x3872ca(0x1b2)](function(_0x364430){const _0x180c2e=_0x3872ca;var _0x2dff1d=Object[_0x180c2e(0x26b)](_0x537dde,_0x364430);Object[_0x180c2e(0x216)](_0x5c4a7d,_0x364430,_0x2dff1d[_0x180c2e(0x140)]?_0x2dff1d:{'enumerable':!0x0,'get':function(){return _0x537dde[_0x364430];}});}),_0x5c4a7d;}var _0x56d27a={'exports':{}},_0x1188af,_0x331161;function _0x1193ed(){const _0x1d106a=_0x39a5;if(_0x331161)return _0x1188af;_0x331161=0x1;const _0x39263d=[_0x1d106a(0x1cb),_0x1d106a(0x248),_0x1d106a(0x269)],_0x192a11=typeof Blob<'u';return _0x192a11&&_0x39263d[_0x1d106a(0x26d)](_0x1d106a(0x1a1)),_0x1188af={'BINARY_TYPES':_0x39263d,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x192a11,'kForOnEventAttribute':Symbol(_0x1d106a(0x21c)),'kListener':Symbol(_0x1d106a(0x1ea)),'kStatusCode':Symbol(_0x1d106a(0x18a)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},_0x1188af;}const _0x23c0f3=_0x292de9(Object['freeze'](Object[_0x4359a2(0x216)]({'__proto__':null,'default':{}},Symbol[_0x4359a2(0x234)],{'value':_0x4359a2(0x1c4)})));var _0x46fc75;function _0x58bae3(){const _0x3ff0fb=_0x4359a2;if(_0x46fc75)return _0x56d27a['exports'];_0x46fc75=0x1;const {EMPTY_BUFFER:_0x262fec}=_0x1193ed(),_0x5af09a=Buffer[Symbol[_0x3ff0fb(0x1e8)]];function _0x10d5df(_0x12d15c,_0x5be4a5){const _0x346ec4=_0x3ff0fb;if(_0x12d15c[_0x346ec4(0x25c)]===0x0)return _0x262fec;if(_0x12d15c[_0x346ec4(0x25c)]===0x1)return _0x12d15c[0x0];const _0x27ba0f=Buffer[_0x346ec4(0x227)](_0x5be4a5);let _0x48643e=0x0;for(let _0x328674=0x0;_0x328674<_0x12d15c[_0x346ec4(0x25c)];_0x328674++){const _0x3514f9=_0x12d15c[_0x328674];_0x27ba0f['set'](_0x3514f9,_0x48643e),_0x48643e+=_0x3514f9[_0x346ec4(0x25c)];}return _0x48643e<_0x5be4a5?new _0x5af09a(_0x27ba0f[_0x346ec4(0x199)],_0x27ba0f['byteOffset'],_0x48643e):_0x27ba0f;}function _0x54a8d3(_0x2e8197,_0x160118,_0x166f45,_0x3fc8c7,_0x107784){for(let _0x2722b8=0x0;_0x2722b8<_0x107784;_0x2722b8++)_0x166f45[_0x3fc8c7+_0x2722b8]=_0x2e8197[_0x2722b8]^_0x160118[_0x2722b8&0x3];}function _0x39e9f9(_0x4d95e7,_0x3591c6){const _0x4b3fc8=_0x3ff0fb;for(let _0x397b46=0x0;_0x397b46<_0x4d95e7[_0x4b3fc8(0x25c)];_0x397b46++)_0x4d95e7[_0x397b46]^=_0x3591c6[_0x397b46&0x3];}function _0x280d5a(_0xf511a7){const _0x4b6e56=_0x3ff0fb;return _0xf511a7[_0x4b6e56(0x25c)]===_0xf511a7[_0x4b6e56(0x199)][_0x4b6e56(0x29c)]?_0xf511a7[_0x4b6e56(0x199)]:_0xf511a7[_0x4b6e56(0x199)][_0x4b6e56(0x1fa)](_0xf511a7[_0x4b6e56(0x20c)],_0xf511a7['byteOffset']+_0xf511a7['length']);}function _0x5c99cd(_0x1ee99b){const _0xf0372b=_0x3ff0fb;if(_0x5c99cd[_0xf0372b(0x1d3)]=!0x0,Buffer['isBuffer'](_0x1ee99b))return _0x1ee99b;let _0x179697;return _0x1ee99b instanceof ArrayBuffer?_0x179697=new _0x5af09a(_0x1ee99b):ArrayBuffer[_0xf0372b(0x2a6)](_0x1ee99b)?_0x179697=new _0x5af09a(_0x1ee99b[_0xf0372b(0x199)],_0x1ee99b[_0xf0372b(0x20c)],_0x1ee99b[_0xf0372b(0x29c)]):(_0x179697=Buffer[_0xf0372b(0x1cc)](_0x1ee99b),_0x5c99cd[_0xf0372b(0x1d3)]=!0x1),_0x179697;}if(_0x56d27a[_0x3ff0fb(0x24b)]={'concat':_0x10d5df,'mask':_0x54a8d3,'toArrayBuffer':_0x280d5a,'toBuffer':_0x5c99cd,'unmask':_0x39e9f9},!process['env'][_0x3ff0fb(0x2b3)])try{const _0x5417b9=_0x23c0f3;_0x56d27a[_0x3ff0fb(0x24b)]['mask']=function(_0x560d10,_0x39cc19,_0x319496,_0x56a5c6,_0x3296d3){const _0x2393c1=_0x3ff0fb;_0x3296d3<0x30?_0x54a8d3(_0x560d10,_0x39cc19,_0x319496,_0x56a5c6,_0x3296d3):_0x5417b9[_0x2393c1(0x25d)](_0x560d10,_0x39cc19,_0x319496,_0x56a5c6,_0x3296d3);},_0x56d27a[_0x3ff0fb(0x24b)][_0x3ff0fb(0x1be)]=function(_0x5e6015,_0x38745b){const _0x1459ae=_0x3ff0fb;_0x5e6015['length']<0x20?_0x39e9f9(_0x5e6015,_0x38745b):_0x5417b9[_0x1459ae(0x1be)](_0x5e6015,_0x38745b);};}catch{}return _0x56d27a[_0x3ff0fb(0x24b)];}var _0x45a054,_0x508c0b;function _0x5bd7c8(){const _0x3e3d0a=_0x4359a2;if(_0x508c0b)return _0x45a054;_0x508c0b=0x1;const _0x55e91f=Symbol(_0x3e3d0a(0x198)),_0x437abd=Symbol(_0x3e3d0a(0x2df));class _0x384636{constructor(_0x5ceb30){const _0x2c99fc=_0x3e3d0a;this[_0x55e91f]=()=>{const _0x4853a9=_0x39a5;this[_0x4853a9(0x27c)]--,this[_0x437abd]();},this[_0x2c99fc(0x2b7)]=_0x5ceb30||0x1/0x0,this[_0x2c99fc(0x1e3)]=[],this[_0x2c99fc(0x27c)]=0x0;}[_0x3e3d0a(0x291)](_0xa411cb){const _0x1acb6b=_0x3e3d0a;this[_0x1acb6b(0x1e3)][_0x1acb6b(0x26d)](_0xa411cb),this[_0x437abd]();}[_0x437abd](){const _0x1bf5dc=_0x3e3d0a;if(this[_0x1bf5dc(0x27c)]!==this['concurrency']&&this[_0x1bf5dc(0x1e3)][_0x1bf5dc(0x25c)]){const _0x4a2dac=this[_0x1bf5dc(0x1e3)][_0x1bf5dc(0x290)]();this[_0x1bf5dc(0x27c)]++,_0x4a2dac(this[_0x55e91f]);}}}return _0x45a054=_0x384636,_0x45a054;}var _0x5e79da,_0x6feb19;function _0x520d16(){const _0x52e0b3=_0x4359a2;if(_0x6feb19)return _0x5e79da;_0x6feb19=0x1;const _0x1ecf6d=_0x1ee00a,_0x21f767=_0x58bae3(),_0x28af57=_0x5bd7c8(),{kStatusCode:_0x33c6e1}=_0x1193ed(),_0x2573c7=Buffer[Symbol[_0x52e0b3(0x1e8)]],_0x4ff29d=Buffer[_0x52e0b3(0x1cc)]([0x0,0x0,0xff,0xff]),_0x1e4da3=Symbol('permessage-deflate'),_0x57bbb0=Symbol('total-length'),_0x118fc3=Symbol(_0x52e0b3(0x15f)),_0x37c294=Symbol(_0x52e0b3(0x29f)),_0x586c17=Symbol(_0x52e0b3(0x201));let _0xd400cf;class _0x11d1d3{constructor(_0x44197a,_0x2acb6b,_0x464e05){const _0x5e62a8=_0x52e0b3;if(this[_0x5e62a8(0x219)]=_0x464e05|0x0,this[_0x5e62a8(0x1f6)]=_0x44197a||{},this['_threshold']=this[_0x5e62a8(0x1f6)][_0x5e62a8(0x22f)]!==void 0x0?this[_0x5e62a8(0x1f6)][_0x5e62a8(0x22f)]:0x400,this[_0x5e62a8(0x119)]=!!_0x2acb6b,this[_0x5e62a8(0x2a8)]=null,this[_0x5e62a8(0x16c)]=null,this[_0x5e62a8(0x278)]=null,!_0xd400cf){const _0x5ae537=this[_0x5e62a8(0x1f6)]['concurrencyLimit']!==void 0x0?this[_0x5e62a8(0x1f6)][_0x5e62a8(0x2e7)]:0xa;_0xd400cf=new _0x28af57(_0x5ae537);}}static get[_0x52e0b3(0x2a5)](){const _0x682731=_0x52e0b3;return _0x682731(0x2c8);}['offer'](){const _0x5cdad4=_0x52e0b3,_0x223345={};return this['_options'][_0x5cdad4(0x21d)]&&(_0x223345[_0x5cdad4(0x246)]=!0x0),this[_0x5cdad4(0x1f6)][_0x5cdad4(0x20d)]&&(_0x223345[_0x5cdad4(0x152)]=!0x0),this[_0x5cdad4(0x1f6)][_0x5cdad4(0x24c)]&&(_0x223345['server_max_window_bits']=this[_0x5cdad4(0x1f6)][_0x5cdad4(0x24c)]),this[_0x5cdad4(0x1f6)][_0x5cdad4(0x2d4)]?_0x223345[_0x5cdad4(0x28e)]=this[_0x5cdad4(0x1f6)]['clientMaxWindowBits']:this['_options'][_0x5cdad4(0x2d4)]==null&&(_0x223345[_0x5cdad4(0x28e)]=!0x0),_0x223345;}[_0x52e0b3(0x24e)](_0x43aa1b){const _0x135a2d=_0x52e0b3;return _0x43aa1b=this['normalizeParams'](_0x43aa1b),this[_0x135a2d(0x278)]=this[_0x135a2d(0x119)]?this[_0x135a2d(0x184)](_0x43aa1b):this[_0x135a2d(0x1b9)](_0x43aa1b),this[_0x135a2d(0x278)];}[_0x52e0b3(0x125)](){const _0x596d65=_0x52e0b3;if(this['_inflate']&&(this[_0x596d65(0x16c)][_0x596d65(0x1f7)](),this[_0x596d65(0x16c)]=null),this[_0x596d65(0x2a8)]){const _0x3d79b9=this[_0x596d65(0x2a8)][_0x118fc3];this[_0x596d65(0x2a8)][_0x596d65(0x1f7)](),this[_0x596d65(0x2a8)]=null,_0x3d79b9&&_0x3d79b9(new Error(_0x596d65(0x1b0)));}}[_0x52e0b3(0x184)](_0x2d4729){const _0x438748=_0x52e0b3,_0x4847be=this[_0x438748(0x1f6)],_0x267b6b=_0x2d4729[_0x438748(0x1f3)](_0x41d18f=>!(_0x4847be[_0x438748(0x21d)]===!0x1&&_0x41d18f['server_no_context_takeover']||_0x41d18f[_0x438748(0x1e9)]&&(_0x4847be[_0x438748(0x24c)]===!0x1||typeof _0x4847be[_0x438748(0x24c)]=='number'&&_0x4847be[_0x438748(0x24c)]>_0x41d18f[_0x438748(0x1e9)])||typeof _0x4847be[_0x438748(0x2d4)]=='number'&&!_0x41d18f['client_max_window_bits']));if(!_0x267b6b)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x4847be[_0x438748(0x21d)]&&(_0x267b6b[_0x438748(0x246)]=!0x0),_0x4847be[_0x438748(0x20d)]&&(_0x267b6b[_0x438748(0x152)]=!0x0),typeof _0x4847be[_0x438748(0x24c)]==_0x438748(0x26c)&&(_0x267b6b[_0x438748(0x1e9)]=_0x4847be[_0x438748(0x24c)]),typeof _0x4847be[_0x438748(0x2d4)]=='number'?_0x267b6b[_0x438748(0x28e)]=_0x4847be[_0x438748(0x2d4)]:(_0x267b6b[_0x438748(0x28e)]===!0x0||_0x4847be[_0x438748(0x2d4)]===!0x1)&&delete _0x267b6b['client_max_window_bits'],_0x267b6b;}['acceptAsClient'](_0x25c8e8){const _0x2e72ea=_0x52e0b3,_0x5001e5=_0x25c8e8[0x0];if(this['_options'][_0x2e72ea(0x20d)]===!0x1&&_0x5001e5[_0x2e72ea(0x152)])throw new Error(_0x2e72ea(0x276));if(!_0x5001e5[_0x2e72ea(0x28e)])typeof this[_0x2e72ea(0x1f6)][_0x2e72ea(0x2d4)]=='number'&&(_0x5001e5[_0x2e72ea(0x28e)]=this[_0x2e72ea(0x1f6)][_0x2e72ea(0x2d4)]);else{if(this['_options'][_0x2e72ea(0x2d4)]===!0x1||typeof this[_0x2e72ea(0x1f6)][_0x2e72ea(0x2d4)]=='number'&&_0x5001e5[_0x2e72ea(0x28e)]>this[_0x2e72ea(0x1f6)][_0x2e72ea(0x2d4)])throw new Error(_0x2e72ea(0x14e));}return _0x5001e5;}['normalizeParams'](_0x5c7b90){const _0x564e7e=_0x52e0b3;return _0x5c7b90[_0x564e7e(0x1b2)](_0x16d430=>{const _0x6011ed=_0x564e7e;Object[_0x6011ed(0x1d2)](_0x16d430)['forEach'](_0x31c5a8=>{const _0x1cb798=_0x6011ed;let _0xa7f601=_0x16d430[_0x31c5a8];if(_0xa7f601[_0x1cb798(0x25c)]>0x1)throw new Error(_0x1cb798(0x2d9)+_0x31c5a8+_0x1cb798(0x22b));if(_0xa7f601=_0xa7f601[0x0],_0x31c5a8==='client_max_window_bits'){if(_0xa7f601!==!0x0){const _0x9b085f=+_0xa7f601;if(!Number['isInteger'](_0x9b085f)||_0x9b085f<0x8||_0x9b085f>0xf)throw new TypeError(_0x1cb798(0x273)+_0x31c5a8+_0x1cb798(0x176)+_0xa7f601);_0xa7f601=_0x9b085f;}else{if(!this[_0x1cb798(0x119)])throw new TypeError(_0x1cb798(0x273)+_0x31c5a8+'\x22:\x20'+_0xa7f601);}}else{if(_0x31c5a8==='server_max_window_bits'){const _0x4f3c21=+_0xa7f601;if(!Number[_0x1cb798(0x23e)](_0x4f3c21)||_0x4f3c21<0x8||_0x4f3c21>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x31c5a8+_0x1cb798(0x176)+_0xa7f601);_0xa7f601=_0x4f3c21;}else{if(_0x31c5a8===_0x1cb798(0x152)||_0x31c5a8===_0x1cb798(0x246)){if(_0xa7f601!==!0x0)throw new TypeError(_0x1cb798(0x273)+_0x31c5a8+_0x1cb798(0x176)+_0xa7f601);}else throw new Error(_0x1cb798(0x285)+_0x31c5a8+'\x22');}}_0x16d430[_0x31c5a8]=_0xa7f601;});}),_0x5c7b90;}[_0x52e0b3(0x1bd)](_0x5edda3,_0x297979,_0x3c067c){_0xd400cf['add'](_0x308320=>{this['_decompress'](_0x5edda3,_0x297979,(_0x377d28,_0x2f54a1)=>{_0x308320(),_0x3c067c(_0x377d28,_0x2f54a1);});});}[_0x52e0b3(0x215)](_0x3249bb,_0x336edc,_0x5e1894){const _0x51a9b5=_0x52e0b3;_0xd400cf[_0x51a9b5(0x291)](_0x102ebe=>{const _0x2731d0=_0x51a9b5;this[_0x2731d0(0x1f9)](_0x3249bb,_0x336edc,(_0x302f31,_0x48fb4d)=>{_0x102ebe(),_0x5e1894(_0x302f31,_0x48fb4d);});});}[_0x52e0b3(0x13c)](_0x248f56,_0x4955a7,_0x97233a){const _0x334147=_0x52e0b3,_0x4df085=this['_isServer']?_0x334147(0x1c2):_0x334147(0x2b0);if(!this[_0x334147(0x16c)]){const _0x6ce645=_0x4df085+_0x334147(0x2d2),_0x31dd56=typeof this[_0x334147(0x278)][_0x6ce645]!=_0x334147(0x26c)?_0x1ecf6d['Z_DEFAULT_WINDOWBITS']:this['params'][_0x6ce645];this[_0x334147(0x16c)]=_0x1ecf6d[_0x334147(0x27a)]({...this['_options']['zlibInflateOptions'],'windowBits':_0x31dd56}),this[_0x334147(0x16c)][_0x1e4da3]=this,this[_0x334147(0x16c)][_0x57bbb0]=0x0,this['_inflate'][_0x37c294]=[],this['_inflate']['on'](_0x334147(0x201),_0x5e4119),this['_inflate']['on'](_0x334147(0x2a9),_0x3eba07);}this[_0x334147(0x16c)][_0x118fc3]=_0x97233a,this[_0x334147(0x16c)][_0x334147(0x11e)](_0x248f56),_0x4955a7&&this[_0x334147(0x16c)][_0x334147(0x11e)](_0x4ff29d),this[_0x334147(0x16c)][_0x334147(0x295)](()=>{const _0x1e0cac=_0x334147,_0x3052db=this['_inflate'][_0x586c17];if(_0x3052db){this[_0x1e0cac(0x16c)][_0x1e0cac(0x1f7)](),this[_0x1e0cac(0x16c)]=null,_0x97233a(_0x3052db);return;}const _0x2c14a9=_0x21f767[_0x1e0cac(0x2d5)](this[_0x1e0cac(0x16c)][_0x37c294],this[_0x1e0cac(0x16c)][_0x57bbb0]);this[_0x1e0cac(0x16c)]['_readableState'][_0x1e0cac(0x2a3)]?(this['_inflate'][_0x1e0cac(0x1f7)](),this['_inflate']=null):(this['_inflate'][_0x57bbb0]=0x0,this[_0x1e0cac(0x16c)][_0x37c294]=[],_0x4955a7&&this['params'][_0x4df085+'_no_context_takeover']&&this[_0x1e0cac(0x16c)]['reset']()),_0x97233a(null,_0x2c14a9);});}['_compress'](_0x4706d8,_0x49f33d,_0x56765d){const _0x59f072=_0x52e0b3,_0x344e65=this['_isServer']?_0x59f072(0x2b0):_0x59f072(0x1c2);if(!this[_0x59f072(0x2a8)]){const _0x3cbbb6=_0x344e65+_0x59f072(0x2d2),_0x537958=typeof this[_0x59f072(0x278)][_0x3cbbb6]!=_0x59f072(0x26c)?_0x1ecf6d[_0x59f072(0x186)]:this['params'][_0x3cbbb6];this[_0x59f072(0x2a8)]=_0x1ecf6d['createDeflateRaw']({...this[_0x59f072(0x1f6)][_0x59f072(0x24a)],'windowBits':_0x537958}),this['_deflate'][_0x57bbb0]=0x0,this[_0x59f072(0x2a8)][_0x37c294]=[],this[_0x59f072(0x2a8)]['on'](_0x59f072(0x2a9),_0x1e84d4);}this[_0x59f072(0x2a8)][_0x118fc3]=_0x56765d,this[_0x59f072(0x2a8)]['write'](_0x4706d8),this['_deflate'][_0x59f072(0x295)](_0x1ecf6d['Z_SYNC_FLUSH'],()=>{const _0x544e4b=_0x59f072;if(!this[_0x544e4b(0x2a8)])return;let _0x513127=_0x21f767[_0x544e4b(0x2d5)](this[_0x544e4b(0x2a8)][_0x37c294],this[_0x544e4b(0x2a8)][_0x57bbb0]);_0x49f33d&&(_0x513127=new _0x2573c7(_0x513127[_0x544e4b(0x199)],_0x513127['byteOffset'],_0x513127['length']-0x4)),this['_deflate'][_0x118fc3]=null,this[_0x544e4b(0x2a8)][_0x57bbb0]=0x0,this[_0x544e4b(0x2a8)][_0x37c294]=[],_0x49f33d&&this[_0x544e4b(0x278)][_0x344e65+'_no_context_takeover']&&this[_0x544e4b(0x2a8)][_0x544e4b(0x256)](),_0x56765d(null,_0x513127);});}}_0x5e79da=_0x11d1d3;function _0x1e84d4(_0x147af0){const _0x3a37f1=_0x52e0b3;this[_0x37c294][_0x3a37f1(0x26d)](_0x147af0),this[_0x57bbb0]+=_0x147af0[_0x3a37f1(0x25c)];}function _0x3eba07(_0x772c9e){const _0x3b4928=_0x52e0b3;if(this[_0x57bbb0]+=_0x772c9e[_0x3b4928(0x25c)],this[_0x1e4da3][_0x3b4928(0x219)]<0x1||this[_0x57bbb0]<=this[_0x1e4da3][_0x3b4928(0x219)]){this[_0x37c294]['push'](_0x772c9e);return;}this[_0x586c17]=new RangeError(_0x3b4928(0x240)),this[_0x586c17][_0x3b4928(0x28b)]=_0x3b4928(0x27b),this[_0x586c17][_0x33c6e1]=0x3f1,this[_0x3b4928(0x182)]('data',_0x3eba07),this[_0x3b4928(0x256)]();}function _0x5e4119(_0x463a4c){const _0x31fe0a=_0x52e0b3;this[_0x1e4da3][_0x31fe0a(0x16c)]=null,_0x463a4c[_0x33c6e1]=0x3ef,this[_0x118fc3](_0x463a4c);}return _0x5e79da;}var _0x37cc85={'exports':{}};const _0x378a46=_0x292de9(Object['freeze'](Object[_0x4359a2(0x216)]({'__proto__':null,'default':{}},Symbol[_0x4359a2(0x234)],{'value':_0x4359a2(0x1c4)})));var _0x6eb5bf;function _0x37f5e7(){const _0x4bf76a=_0x4359a2;if(_0x6eb5bf)return _0x37cc85['exports'];_0x6eb5bf=0x1;const {isUtf8:_0x158a53}=_0x3e3679,{hasBlob:_0x580ebf}=_0x1193ed(),_0x4e02e5=[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 _0x412702(_0x5c82a0){return _0x5c82a0>=0x3e8&&_0x5c82a0<=0x3f6&&_0x5c82a0!==0x3ec&&_0x5c82a0!==0x3ed&&_0x5c82a0!==0x3ee||_0x5c82a0>=0xbb8&&_0x5c82a0<=0x1387;}function _0x35a03f(_0x4909e0){const _0x4cc47c=_0x4909e0['length'];let _0x4fcbdf=0x0;for(;_0x4fcbdf<_0x4cc47c;)if((_0x4909e0[_0x4fcbdf]&0x80)===0x0)_0x4fcbdf++;else{if((_0x4909e0[_0x4fcbdf]&0xe0)===0xc0){if(_0x4fcbdf+0x1===_0x4cc47c||(_0x4909e0[_0x4fcbdf+0x1]&0xc0)!==0x80||(_0x4909e0[_0x4fcbdf]&0xfe)===0xc0)return!0x1;_0x4fcbdf+=0x2;}else{if((_0x4909e0[_0x4fcbdf]&0xf0)===0xe0){if(_0x4fcbdf+0x2>=_0x4cc47c||(_0x4909e0[_0x4fcbdf+0x1]&0xc0)!==0x80||(_0x4909e0[_0x4fcbdf+0x2]&0xc0)!==0x80||_0x4909e0[_0x4fcbdf]===0xe0&&(_0x4909e0[_0x4fcbdf+0x1]&0xe0)===0x80||_0x4909e0[_0x4fcbdf]===0xed&&(_0x4909e0[_0x4fcbdf+0x1]&0xe0)===0xa0)return!0x1;_0x4fcbdf+=0x3;}else{if((_0x4909e0[_0x4fcbdf]&0xf8)===0xf0){if(_0x4fcbdf+0x3>=_0x4cc47c||(_0x4909e0[_0x4fcbdf+0x1]&0xc0)!==0x80||(_0x4909e0[_0x4fcbdf+0x2]&0xc0)!==0x80||(_0x4909e0[_0x4fcbdf+0x3]&0xc0)!==0x80||_0x4909e0[_0x4fcbdf]===0xf0&&(_0x4909e0[_0x4fcbdf+0x1]&0xf0)===0x80||_0x4909e0[_0x4fcbdf]===0xf4&&_0x4909e0[_0x4fcbdf+0x1]>0x8f||_0x4909e0[_0x4fcbdf]>0xf4)return!0x1;_0x4fcbdf+=0x4;}else return!0x1;}}}return!0x0;}function _0x3fc3fd(_0x2902dc){const _0x33b502=_0x39a5;return _0x580ebf&&typeof _0x2902dc=='object'&&typeof _0x2902dc[_0x33b502(0x292)]=='function'&&typeof _0x2902dc[_0x33b502(0x211)]=='string'&&typeof _0x2902dc[_0x33b502(0x16e)]=='function'&&(_0x2902dc[Symbol[_0x33b502(0x234)]]==='Blob'||_0x2902dc[Symbol[_0x33b502(0x234)]]==='File');}if(_0x37cc85[_0x4bf76a(0x24b)]={'isBlob':_0x3fc3fd,'isValidStatusCode':_0x412702,'isValidUTF8':_0x35a03f,'tokenChars':_0x4e02e5},_0x158a53)_0x37cc85['exports'][_0x4bf76a(0x2c7)]=function(_0x2db4e9){return _0x2db4e9['length']<0x18?_0x35a03f(_0x2db4e9):_0x158a53(_0x2db4e9);};else{if(!process[_0x4bf76a(0x168)][_0x4bf76a(0x17e)])try{const _0x29038b=_0x378a46;_0x37cc85[_0x4bf76a(0x24b)][_0x4bf76a(0x2c7)]=function(_0xdee497){return _0xdee497['length']<0x20?_0x35a03f(_0xdee497):_0x29038b(_0xdee497);};}catch{}}return _0x37cc85[_0x4bf76a(0x24b)];}var _0x582c63,_0x19abe8;function _0x333a14(){const _0x57e63c=_0x4359a2;if(_0x19abe8)return _0x582c63;_0x19abe8=0x1;const {Writable:_0x3299cc}=_0x4d7920,_0x369748=_0x520d16(),{BINARY_TYPES:_0x35d816,EMPTY_BUFFER:_0xfdd231,kStatusCode:_0xf72cd6,kWebSocket:_0x3e7e41}=_0x1193ed(),{concat:_0x39be8a,toArrayBuffer:_0x1c0f81,unmask:_0x5295f1}=_0x58bae3(),{isValidStatusCode:_0x30a313,isValidUTF8:_0x3ac85d}=_0x37f5e7(),_0x8ba53a=Buffer[Symbol[_0x57e63c(0x1e8)]],_0x469c5b=0x0,_0x104315=0x1,_0x270b34=0x2,_0x570242=0x3,_0x165709=0x4,_0x2e9e12=0x5,_0x4dd6bc=0x6;class _0x524d54 extends _0x3299cc{constructor(_0xb059e2={}){const _0x687b6e=_0x57e63c;super(),this[_0x687b6e(0x2e9)]=_0xb059e2[_0x687b6e(0x153)]!==void 0x0?_0xb059e2[_0x687b6e(0x153)]:!0x0,this[_0x687b6e(0x167)]=_0xb059e2['binaryType']||_0x35d816[0x0],this[_0x687b6e(0x12d)]=_0xb059e2[_0x687b6e(0x1a5)]||{},this[_0x687b6e(0x119)]=!!_0xb059e2[_0x687b6e(0x172)],this['_maxPayload']=_0xb059e2[_0x687b6e(0x208)]|0x0,this[_0x687b6e(0x16d)]=!!_0xb059e2[_0x687b6e(0x1ba)],this[_0x3e7e41]=void 0x0,this['_bufferedBytes']=0x0,this[_0x687b6e(0x1d5)]=[],this[_0x687b6e(0x18c)]=!0x1,this[_0x687b6e(0x1a2)]=0x0,this['_mask']=void 0x0,this[_0x687b6e(0x164)]=0x0,this[_0x687b6e(0x1b7)]=!0x1,this['_fin']=!0x1,this['_opcode']=0x0,this[_0x687b6e(0x1e5)]=0x0,this['_messageLength']=0x0,this[_0x687b6e(0x1ac)]=[],this[_0x687b6e(0x29d)]=!0x1,this[_0x687b6e(0x26a)]=!0x1,this[_0x687b6e(0x18e)]=_0x469c5b;}[_0x57e63c(0x190)](_0x231eb6,_0x3fe62d,_0x34e57b){const _0x454d8a=_0x57e63c;if(this[_0x454d8a(0x28f)]===0x8&&this[_0x454d8a(0x18e)]==_0x469c5b)return _0x34e57b();this[_0x454d8a(0x222)]+=_0x231eb6['length'],this[_0x454d8a(0x1d5)][_0x454d8a(0x26d)](_0x231eb6),this[_0x454d8a(0x2c6)](_0x34e57b);}['consume'](_0x33050c){const _0x59d2ad=_0x57e63c;if(this[_0x59d2ad(0x222)]-=_0x33050c,_0x33050c===this[_0x59d2ad(0x1d5)][0x0][_0x59d2ad(0x25c)])return this['_buffers'][_0x59d2ad(0x290)]();if(_0x33050c<this[_0x59d2ad(0x1d5)][0x0][_0x59d2ad(0x25c)]){const _0x2b21c8=this[_0x59d2ad(0x1d5)][0x0];return this[_0x59d2ad(0x1d5)][0x0]=new _0x8ba53a(_0x2b21c8[_0x59d2ad(0x199)],_0x2b21c8['byteOffset']+_0x33050c,_0x2b21c8[_0x59d2ad(0x25c)]-_0x33050c),new _0x8ba53a(_0x2b21c8[_0x59d2ad(0x199)],_0x2b21c8['byteOffset'],_0x33050c);}const _0x52576f=Buffer[_0x59d2ad(0x227)](_0x33050c);do{const _0x46994d=this[_0x59d2ad(0x1d5)][0x0],_0x9f2a4a=_0x52576f[_0x59d2ad(0x25c)]-_0x33050c;_0x33050c>=_0x46994d[_0x59d2ad(0x25c)]?_0x52576f[_0x59d2ad(0x1e4)](this[_0x59d2ad(0x1d5)]['shift'](),_0x9f2a4a):(_0x52576f[_0x59d2ad(0x1e4)](new Uint8Array(_0x46994d[_0x59d2ad(0x199)],_0x46994d['byteOffset'],_0x33050c),_0x9f2a4a),this[_0x59d2ad(0x1d5)][0x0]=new _0x8ba53a(_0x46994d[_0x59d2ad(0x199)],_0x46994d[_0x59d2ad(0x20c)]+_0x33050c,_0x46994d[_0x59d2ad(0x25c)]-_0x33050c)),_0x33050c-=_0x46994d[_0x59d2ad(0x25c)];}while(_0x33050c>0x0);return _0x52576f;}[_0x57e63c(0x2c6)](_0x4191f9){const _0x5c6eba=_0x57e63c;this[_0x5c6eba(0x26a)]=!0x0;do switch(this['_state']){case _0x469c5b:this[_0x5c6eba(0x1a4)](_0x4191f9);break;case _0x104315:this['getPayloadLength16'](_0x4191f9);break;case _0x270b34:this['getPayloadLength64'](_0x4191f9);break;case _0x570242:this[_0x5c6eba(0x1c5)]();break;case _0x165709:this[_0x5c6eba(0x263)](_0x4191f9);break;case _0x2e9e12:case _0x4dd6bc:this['_loop']=!0x1;return;}while(this[_0x5c6eba(0x26a)]);this[_0x5c6eba(0x29d)]||_0x4191f9();}[_0x57e63c(0x1a4)](_0x4d2e96){const _0x254d85=_0x57e63c;if(this[_0x254d85(0x222)]<0x2){this[_0x254d85(0x26a)]=!0x1;return;}const _0x1a0156=this[_0x254d85(0x174)](0x2);if((_0x1a0156[0x0]&0x30)!==0x0){const _0x124637=this[_0x254d85(0x18d)](RangeError,_0x254d85(0x253),!0x0,0x3ea,_0x254d85(0x12b));_0x4d2e96(_0x124637);return;}const _0x7c26de=(_0x1a0156[0x0]&0x40)===0x40;if(_0x7c26de&&!this[_0x254d85(0x12d)][_0x369748[_0x254d85(0x2a5)]]){const _0x54b210=this['createError'](RangeError,_0x254d85(0x18b),!0x0,0x3ea,_0x254d85(0x1e2));_0x4d2e96(_0x54b210);return;}if(this[_0x254d85(0x214)]=(_0x1a0156[0x0]&0x80)===0x80,this[_0x254d85(0x28f)]=_0x1a0156[0x0]&0xf,this[_0x254d85(0x1a2)]=_0x1a0156[0x1]&0x7f,this[_0x254d85(0x28f)]===0x0){if(_0x7c26de){const _0x50e216=this[_0x254d85(0x18d)](RangeError,_0x254d85(0x18b),!0x0,0x3ea,_0x254d85(0x1e2));_0x4d2e96(_0x50e216);return;}if(!this['_fragmented']){const _0x43dc32=this['createError'](RangeError,_0x254d85(0x175),!0x0,0x3ea,_0x254d85(0x154));_0x4d2e96(_0x43dc32);return;}this[_0x254d85(0x28f)]=this[_0x254d85(0x164)];}else{if(this[_0x254d85(0x28f)]===0x1||this[_0x254d85(0x28f)]===0x2){if(this[_0x254d85(0x164)]){const _0x504bc9=this[_0x254d85(0x18d)](RangeError,_0x254d85(0x2ba)+this[_0x254d85(0x28f)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x4d2e96(_0x504bc9);return;}this[_0x254d85(0x18c)]=_0x7c26de;}else{if(this[_0x254d85(0x28f)]>0x7&&this[_0x254d85(0x28f)]<0xb){if(!this[_0x254d85(0x214)]){const _0x2ca87f=this[_0x254d85(0x18d)](RangeError,_0x254d85(0x252),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x4d2e96(_0x2ca87f);return;}if(_0x7c26de){const _0x3b9bd2=this[_0x254d85(0x18d)](RangeError,_0x254d85(0x18b),!0x0,0x3ea,_0x254d85(0x1e2));_0x4d2e96(_0x3b9bd2);return;}if(this['_payloadLength']>0x7d||this[_0x254d85(0x28f)]===0x8&&this[_0x254d85(0x1a2)]===0x1){const _0x39c60f=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this[_0x254d85(0x1a2)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x4d2e96(_0x39c60f);return;}}else{const _0xadf671=this[_0x254d85(0x18d)](RangeError,_0x254d85(0x2ba)+this['_opcode'],!0x0,0x3ea,_0x254d85(0x154));_0x4d2e96(_0xadf671);return;}}}if(!this[_0x254d85(0x214)]&&!this[_0x254d85(0x164)]&&(this[_0x254d85(0x164)]=this['_opcode']),this[_0x254d85(0x1b7)]=(_0x1a0156[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x254d85(0x1b7)]){const _0x4eac69=this[_0x254d85(0x18d)](RangeError,_0x254d85(0x1ff),!0x0,0x3ea,_0x254d85(0x14f));_0x4d2e96(_0x4eac69);return;}}else{if(this[_0x254d85(0x1b7)]){const _0x504da4=this[_0x254d85(0x18d)](RangeError,_0x254d85(0x2d8),!0x0,0x3ea,_0x254d85(0x196));_0x4d2e96(_0x504da4);return;}}this[_0x254d85(0x1a2)]===0x7e?this[_0x254d85(0x18e)]=_0x104315:this[_0x254d85(0x1a2)]===0x7f?this[_0x254d85(0x18e)]=_0x270b34:this[_0x254d85(0x2e8)](_0x4d2e96);}['getPayloadLength16'](_0x1d5961){const _0x1e753c=_0x57e63c;if(this[_0x1e753c(0x222)]<0x2){this[_0x1e753c(0x26a)]=!0x1;return;}this[_0x1e753c(0x1a2)]=this[_0x1e753c(0x174)](0x2)[_0x1e753c(0x281)](0x0),this['haveLength'](_0x1d5961);}['getPayloadLength64'](_0x526644){const _0x3bf0a7=_0x57e63c;if(this[_0x3bf0a7(0x222)]<0x8){this['_loop']=!0x1;return;}const _0x356785=this[_0x3bf0a7(0x174)](0x8),_0xef6dc1=_0x356785[_0x3bf0a7(0x2c1)](0x0);if(_0xef6dc1>Math[_0x3bf0a7(0x2cf)](0x2,0x15)-0x1){const _0x497757=this[_0x3bf0a7(0x18d)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x3bf0a7(0x16b));_0x526644(_0x497757);return;}this['_payloadLength']=_0xef6dc1*Math['pow'](0x2,0x20)+_0x356785[_0x3bf0a7(0x2c1)](0x4),this[_0x3bf0a7(0x2e8)](_0x526644);}[_0x57e63c(0x2e8)](_0x58c76d){const _0xf17bbe=_0x57e63c;if(this[_0xf17bbe(0x1a2)]&&this['_opcode']<0x8&&(this[_0xf17bbe(0x1e5)]+=this[_0xf17bbe(0x1a2)],this[_0xf17bbe(0x1e5)]>this[_0xf17bbe(0x219)]&&this[_0xf17bbe(0x219)]>0x0)){const _0x72dfdd=this[_0xf17bbe(0x18d)](RangeError,_0xf17bbe(0x240),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x58c76d(_0x72dfdd);return;}this[_0xf17bbe(0x1b7)]?this[_0xf17bbe(0x18e)]=_0x570242:this[_0xf17bbe(0x18e)]=_0x165709;}[_0x57e63c(0x1c5)](){const _0x242efb=_0x57e63c;if(this[_0x242efb(0x222)]<0x4){this['_loop']=!0x1;return;}this['_mask']=this[_0x242efb(0x174)](0x4),this[_0x242efb(0x18e)]=_0x165709;}[_0x57e63c(0x263)](_0x1c5d57){const _0x588272=_0x57e63c;let _0x105d1d=_0xfdd231;if(this[_0x588272(0x1a2)]){if(this[_0x588272(0x222)]<this[_0x588272(0x1a2)]){this[_0x588272(0x26a)]=!0x1;return;}_0x105d1d=this[_0x588272(0x174)](this[_0x588272(0x1a2)]),this['_masked']&&(this[_0x588272(0x11c)][0x0]|this[_0x588272(0x11c)][0x1]|this[_0x588272(0x11c)][0x2]|this[_0x588272(0x11c)][0x3])!==0x0&&_0x5295f1(_0x105d1d,this[_0x588272(0x11c)]);}if(this['_opcode']>0x7){this[_0x588272(0x135)](_0x105d1d,_0x1c5d57);return;}if(this['_compressed']){this['_state']=_0x2e9e12,this['decompress'](_0x105d1d,_0x1c5d57);return;}_0x105d1d[_0x588272(0x25c)]&&(this[_0x588272(0x17a)]=this[_0x588272(0x1e5)],this['_fragments'][_0x588272(0x26d)](_0x105d1d)),this[_0x588272(0x200)](_0x1c5d57);}['decompress'](_0x4cb120,_0x2d4b34){const _0x1b0512=_0x57e63c;this[_0x1b0512(0x12d)][_0x369748[_0x1b0512(0x2a5)]][_0x1b0512(0x1bd)](_0x4cb120,this[_0x1b0512(0x214)],(_0x553d96,_0x4e4475)=>{const _0x28b24f=_0x1b0512;if(_0x553d96)return _0x2d4b34(_0x553d96);if(_0x4e4475[_0x28b24f(0x25c)]){if(this[_0x28b24f(0x17a)]+=_0x4e4475[_0x28b24f(0x25c)],this[_0x28b24f(0x17a)]>this['_maxPayload']&&this[_0x28b24f(0x219)]>0x0){const _0x4d7eb6=this['createError'](RangeError,_0x28b24f(0x240),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x2d4b34(_0x4d7eb6);return;}this['_fragments'][_0x28b24f(0x26d)](_0x4e4475);}this[_0x28b24f(0x200)](_0x2d4b34),this['_state']===_0x469c5b&&this[_0x28b24f(0x2c6)](_0x2d4b34);});}['dataMessage'](_0xec988b){const _0xad0f47=_0x57e63c;if(!this[_0xad0f47(0x214)]){this[_0xad0f47(0x18e)]=_0x469c5b;return;}const _0x1862a9=this[_0xad0f47(0x17a)],_0x2524c6=this[_0xad0f47(0x1ac)];if(this[_0xad0f47(0x1e5)]=0x0,this[_0xad0f47(0x17a)]=0x0,this[_0xad0f47(0x164)]=0x0,this[_0xad0f47(0x1ac)]=[],this[_0xad0f47(0x28f)]===0x2){let _0x423d24;this[_0xad0f47(0x167)]===_0xad0f47(0x1cb)?_0x423d24=_0x39be8a(_0x2524c6,_0x1862a9):this[_0xad0f47(0x167)]===_0xad0f47(0x248)?_0x423d24=_0x1c0f81(_0x39be8a(_0x2524c6,_0x1862a9)):this[_0xad0f47(0x167)]===_0xad0f47(0x1a1)?_0x423d24=new Blob(_0x2524c6):_0x423d24=_0x2524c6,this[_0xad0f47(0x2e9)]?(this[_0xad0f47(0x2bf)](_0xad0f47(0x1c6),_0x423d24,!0x0),this['_state']=_0x469c5b):(this['_state']=_0x4dd6bc,setImmediate(()=>{const _0x3f0a2b=_0xad0f47;this[_0x3f0a2b(0x2bf)](_0x3f0a2b(0x1c6),_0x423d24,!0x0),this[_0x3f0a2b(0x18e)]=_0x469c5b,this[_0x3f0a2b(0x2c6)](_0xec988b);}));}else{const _0x30d0d5=_0x39be8a(_0x2524c6,_0x1862a9);if(!this['_skipUTF8Validation']&&!_0x3ac85d(_0x30d0d5)){const _0x5a07f0=this[_0xad0f47(0x18d)](Error,_0xad0f47(0x1f5),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0xec988b(_0x5a07f0);return;}this[_0xad0f47(0x18e)]===_0x2e9e12||this[_0xad0f47(0x2e9)]?(this[_0xad0f47(0x2bf)](_0xad0f47(0x1c6),_0x30d0d5,!0x1),this[_0xad0f47(0x18e)]=_0x469c5b):(this[_0xad0f47(0x18e)]=_0x4dd6bc,setImmediate(()=>{const _0x5754e9=_0xad0f47;this[_0x5754e9(0x2bf)](_0x5754e9(0x1c6),_0x30d0d5,!0x1),this[_0x5754e9(0x18e)]=_0x469c5b,this['startLoop'](_0xec988b);}));}}[_0x57e63c(0x135)](_0x2ddda6,_0x3d0162){const _0x280d54=_0x57e63c;if(this['_opcode']===0x8){if(_0x2ddda6['length']===0x0)this[_0x280d54(0x26a)]=!0x1,this['emit'](_0x280d54(0x1ca),0x3ed,_0xfdd231),this[_0x280d54(0x129)]();else{const _0x174c3b=_0x2ddda6['readUInt16BE'](0x0);if(!_0x30a313(_0x174c3b)){const _0x1d57fa=this[_0x280d54(0x18d)](RangeError,_0x280d54(0x1f1)+_0x174c3b,!0x0,0x3ea,_0x280d54(0x21e));_0x3d0162(_0x1d57fa);return;}const _0x5e3c16=new _0x8ba53a(_0x2ddda6[_0x280d54(0x199)],_0x2ddda6[_0x280d54(0x20c)]+0x2,_0x2ddda6[_0x280d54(0x25c)]-0x2);if(!this['_skipUTF8Validation']&&!_0x3ac85d(_0x5e3c16)){const _0x51f5e9=this[_0x280d54(0x18d)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x280d54(0x11b));_0x3d0162(_0x51f5e9);return;}this[_0x280d54(0x26a)]=!0x1,this[_0x280d54(0x2bf)](_0x280d54(0x1ca),_0x174c3b,_0x5e3c16),this[_0x280d54(0x129)]();}this[_0x280d54(0x18e)]=_0x469c5b;return;}this['_allowSynchronousEvents']?(this['emit'](this[_0x280d54(0x28f)]===0x9?_0x280d54(0x121):_0x280d54(0x29b),_0x2ddda6),this[_0x280d54(0x18e)]=_0x469c5b):(this[_0x280d54(0x18e)]=_0x4dd6bc,setImmediate(()=>{const _0x5f0aa3=_0x280d54;this[_0x5f0aa3(0x2bf)](this['_opcode']===0x9?_0x5f0aa3(0x121):_0x5f0aa3(0x29b),_0x2ddda6),this[_0x5f0aa3(0x18e)]=_0x469c5b,this[_0x5f0aa3(0x2c6)](_0x3d0162);}));}[_0x57e63c(0x18d)](_0x1ef607,_0x53e22f,_0x36d1aa,_0x247f8d,_0x4b05a6){const _0x34f73d=_0x57e63c;this['_loop']=!0x1,this['_errored']=!0x0;const _0x546d90=new _0x1ef607(_0x36d1aa?_0x34f73d(0x161)+_0x53e22f:_0x53e22f);return Error[_0x34f73d(0x2a4)](_0x546d90,this[_0x34f73d(0x18d)]),_0x546d90[_0x34f73d(0x28b)]=_0x4b05a6,_0x546d90[_0xf72cd6]=_0x247f8d,_0x546d90;}}return _0x582c63=_0x524d54,_0x582c63;}var _0x1ed0c0,_0x2987c1;function _0x16190e(){const _0x351656=_0x4359a2;if(_0x2987c1)return _0x1ed0c0;_0x2987c1=0x1;const {Duplex:_0x158606}=_0x4d7920,{randomFillSync:_0x3704e3}=_0x491b7c,_0x5c29b9=_0x520d16(),{EMPTY_BUFFER:_0x260fbf,kWebSocket:_0x4bf6f0,NOOP:_0xd0ec41}=_0x1193ed(),{isBlob:_0x735e76,isValidStatusCode:_0x549f7f}=_0x37f5e7(),{mask:_0x37177a,toBuffer:_0x3364b2}=_0x58bae3(),_0x33f206=Symbol('kByteLength'),_0x3688d4=Buffer[_0x351656(0x250)](0x4),_0x148dda=0x8*0x400;let _0x37f1af,_0x30d5d7=_0x148dda;const _0x227102=0x0,_0x4a1b7a=0x1,_0x3addd3=0x2;class _0x201ddf{constructor(_0x46c6cc,_0x1a1d5a,_0x31f493){const _0x1aa138=_0x351656;this[_0x1aa138(0x12d)]=_0x1a1d5a||{},_0x31f493&&(this[_0x1aa138(0x14a)]=_0x31f493,this[_0x1aa138(0x1d0)]=Buffer['alloc'](0x4)),this[_0x1aa138(0x241)]=_0x46c6cc,this['_firstFragment']=!0x0,this[_0x1aa138(0x1f9)]=!0x1,this[_0x1aa138(0x222)]=0x0,this['_queue']=[],this['_state']=_0x227102,this['onerror']=_0xd0ec41,this[_0x4bf6f0]=void 0x0;}static[_0x351656(0x122)](_0x1e888a,_0x2c3473){const _0x43900f=_0x351656;let _0x4b6690,_0x40745e=!0x1,_0xebad6a=0x2,_0x110772=!0x1;_0x2c3473[_0x43900f(0x25d)]&&(_0x4b6690=_0x2c3473['maskBuffer']||_0x3688d4,_0x2c3473[_0x43900f(0x1fc)]?_0x2c3473[_0x43900f(0x1fc)](_0x4b6690):(_0x30d5d7===_0x148dda&&(_0x37f1af===void 0x0&&(_0x37f1af=Buffer[_0x43900f(0x250)](_0x148dda)),_0x3704e3(_0x37f1af,0x0,_0x148dda),_0x30d5d7=0x0),_0x4b6690[0x0]=_0x37f1af[_0x30d5d7++],_0x4b6690[0x1]=_0x37f1af[_0x30d5d7++],_0x4b6690[0x2]=_0x37f1af[_0x30d5d7++],_0x4b6690[0x3]=_0x37f1af[_0x30d5d7++]),_0x110772=(_0x4b6690[0x0]|_0x4b6690[0x1]|_0x4b6690[0x2]|_0x4b6690[0x3])===0x0,_0xebad6a=0x6);let _0x165527;typeof _0x1e888a==_0x43900f(0x183)?(!_0x2c3473['mask']||_0x110772)&&_0x2c3473[_0x33f206]!==void 0x0?_0x165527=_0x2c3473[_0x33f206]:(_0x1e888a=Buffer['from'](_0x1e888a),_0x165527=_0x1e888a[_0x43900f(0x25c)]):(_0x165527=_0x1e888a['length'],_0x40745e=_0x2c3473[_0x43900f(0x25d)]&&_0x2c3473[_0x43900f(0x1d3)]&&!_0x110772);let _0x41615b=_0x165527;_0x165527>=0x10000?(_0xebad6a+=0x8,_0x41615b=0x7f):_0x165527>0x7d&&(_0xebad6a+=0x2,_0x41615b=0x7e);const _0xb28ffb=Buffer[_0x43900f(0x227)](_0x40745e?_0x165527+_0xebad6a:_0xebad6a);return _0xb28ffb[0x0]=_0x2c3473[_0x43900f(0x1ab)]?_0x2c3473[_0x43900f(0x237)]|0x80:_0x2c3473[_0x43900f(0x237)],_0x2c3473[_0x43900f(0x271)]&&(_0xb28ffb[0x0]|=0x40),_0xb28ffb[0x1]=_0x41615b,_0x41615b===0x7e?_0xb28ffb[_0x43900f(0x21a)](_0x165527,0x2):_0x41615b===0x7f&&(_0xb28ffb[0x2]=_0xb28ffb[0x3]=0x0,_0xb28ffb['writeUIntBE'](_0x165527,0x4,0x6)),_0x2c3473['mask']?(_0xb28ffb[0x1]|=0x80,_0xb28ffb[_0xebad6a-0x4]=_0x4b6690[0x0],_0xb28ffb[_0xebad6a-0x3]=_0x4b6690[0x1],_0xb28ffb[_0xebad6a-0x2]=_0x4b6690[0x2],_0xb28ffb[_0xebad6a-0x1]=_0x4b6690[0x3],_0x110772?[_0xb28ffb,_0x1e888a]:_0x40745e?(_0x37177a(_0x1e888a,_0x4b6690,_0xb28ffb,_0xebad6a,_0x165527),[_0xb28ffb]):(_0x37177a(_0x1e888a,_0x4b6690,_0x1e888a,0x0,_0x165527),[_0xb28ffb,_0x1e888a])):[_0xb28ffb,_0x1e888a];}['close'](_0x323ef3,_0x53e38c,_0x1b6bab,_0x5e8308){const _0x189c9b=_0x351656;let _0x3c7619;if(_0x323ef3===void 0x0)_0x3c7619=_0x260fbf;else{if(typeof _0x323ef3!=_0x189c9b(0x26c)||!_0x549f7f(_0x323ef3))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x53e38c===void 0x0||!_0x53e38c[_0x189c9b(0x25c)])_0x3c7619=Buffer[_0x189c9b(0x227)](0x2),_0x3c7619[_0x189c9b(0x21a)](_0x323ef3,0x0);else{const _0x30da9d=Buffer['byteLength'](_0x53e38c);if(_0x30da9d>0x7b)throw new RangeError(_0x189c9b(0x1dc));_0x3c7619=Buffer[_0x189c9b(0x227)](0x2+_0x30da9d),_0x3c7619[_0x189c9b(0x21a)](_0x323ef3,0x0),typeof _0x53e38c==_0x189c9b(0x183)?_0x3c7619[_0x189c9b(0x11e)](_0x53e38c,0x2):_0x3c7619[_0x189c9b(0x1e4)](_0x53e38c,0x2);}}const _0x4257ef={[_0x33f206]:_0x3c7619[_0x189c9b(0x25c)],'fin':!0x0,'generateMask':this[_0x189c9b(0x14a)],'mask':_0x1b6bab,'maskBuffer':this[_0x189c9b(0x1d0)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x227102?this[_0x189c9b(0x12c)]([this['dispatch'],_0x3c7619,!0x1,_0x4257ef,_0x5e8308]):this[_0x189c9b(0x1a8)](_0x201ddf['frame'](_0x3c7619,_0x4257ef),_0x5e8308);}['ping'](_0x4826d8,_0x17b3e0,_0x2db621){const _0x1200d3=_0x351656;let _0x12bb3d,_0x12fe4d;if(typeof _0x4826d8==_0x1200d3(0x183)?(_0x12bb3d=Buffer[_0x1200d3(0x29c)](_0x4826d8),_0x12fe4d=!0x1):_0x735e76(_0x4826d8)?(_0x12bb3d=_0x4826d8[_0x1200d3(0x2be)],_0x12fe4d=!0x1):(_0x4826d8=_0x3364b2(_0x4826d8),_0x12bb3d=_0x4826d8[_0x1200d3(0x25c)],_0x12fe4d=_0x3364b2[_0x1200d3(0x1d3)]),_0x12bb3d>0x7d)throw new RangeError(_0x1200d3(0x23a));const _0x3616cb={[_0x33f206]:_0x12bb3d,'fin':!0x0,'generateMask':this[_0x1200d3(0x14a)],'mask':_0x17b3e0,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x12fe4d,'rsv1':!0x1};_0x735e76(_0x4826d8)?this[_0x1200d3(0x18e)]!==_0x227102?this[_0x1200d3(0x12c)]([this[_0x1200d3(0x2a2)],_0x4826d8,!0x1,_0x3616cb,_0x2db621]):this[_0x1200d3(0x2a2)](_0x4826d8,!0x1,_0x3616cb,_0x2db621):this[_0x1200d3(0x18e)]!==_0x227102?this[_0x1200d3(0x12c)]([this[_0x1200d3(0x1f8)],_0x4826d8,!0x1,_0x3616cb,_0x2db621]):this['sendFrame'](_0x201ddf[_0x1200d3(0x122)](_0x4826d8,_0x3616cb),_0x2db621);}[_0x351656(0x29b)](_0x17bd51,_0x1e6471,_0x3c483f){const _0x1954af=_0x351656;let _0x295a48,_0x4ceb25;if(typeof _0x17bd51==_0x1954af(0x183)?(_0x295a48=Buffer['byteLength'](_0x17bd51),_0x4ceb25=!0x1):_0x735e76(_0x17bd51)?(_0x295a48=_0x17bd51['size'],_0x4ceb25=!0x1):(_0x17bd51=_0x3364b2(_0x17bd51),_0x295a48=_0x17bd51[_0x1954af(0x25c)],_0x4ceb25=_0x3364b2[_0x1954af(0x1d3)]),_0x295a48>0x7d)throw new RangeError(_0x1954af(0x23a));const _0x1c1796={[_0x33f206]:_0x295a48,'fin':!0x0,'generateMask':this[_0x1954af(0x14a)],'mask':_0x1e6471,'maskBuffer':this[_0x1954af(0x1d0)],'opcode':0xa,'readOnly':_0x4ceb25,'rsv1':!0x1};_0x735e76(_0x17bd51)?this[_0x1954af(0x18e)]!==_0x227102?this[_0x1954af(0x12c)]([this['getBlobData'],_0x17bd51,!0x1,_0x1c1796,_0x3c483f]):this[_0x1954af(0x2a2)](_0x17bd51,!0x1,_0x1c1796,_0x3c483f):this[_0x1954af(0x18e)]!==_0x227102?this[_0x1954af(0x12c)]([this[_0x1954af(0x1f8)],_0x17bd51,!0x1,_0x1c1796,_0x3c483f]):this[_0x1954af(0x1a8)](_0x201ddf['frame'](_0x17bd51,_0x1c1796),_0x3c483f);}['send'](_0x1049ec,_0x5a1552,_0x3fcee8){const _0x3ff61a=_0x351656,_0x32885a=this['_extensions'][_0x5c29b9[_0x3ff61a(0x2a5)]];let _0x3ea059=_0x5a1552[_0x3ff61a(0x1a6)]?0x2:0x1,_0x1243fc=_0x5a1552['compress'],_0x130804,_0x284440;typeof _0x1049ec=='string'?(_0x130804=Buffer[_0x3ff61a(0x29c)](_0x1049ec),_0x284440=!0x1):_0x735e76(_0x1049ec)?(_0x130804=_0x1049ec['size'],_0x284440=!0x1):(_0x1049ec=_0x3364b2(_0x1049ec),_0x130804=_0x1049ec[_0x3ff61a(0x25c)],_0x284440=_0x3364b2[_0x3ff61a(0x1d3)]),this[_0x3ff61a(0x244)]?(this['_firstFragment']=!0x1,_0x1243fc&&_0x32885a&&_0x32885a[_0x3ff61a(0x278)][_0x32885a['_isServer']?_0x3ff61a(0x246):'client_no_context_takeover']&&(_0x1243fc=_0x130804>=_0x32885a[_0x3ff61a(0x217)]),this[_0x3ff61a(0x1f9)]=_0x1243fc):(_0x1243fc=!0x1,_0x3ea059=0x0),_0x5a1552[_0x3ff61a(0x1ab)]&&(this[_0x3ff61a(0x244)]=!0x0);const _0x58e413={[_0x33f206]:_0x130804,'fin':_0x5a1552[_0x3ff61a(0x1ab)],'generateMask':this[_0x3ff61a(0x14a)],'mask':_0x5a1552['mask'],'maskBuffer':this[_0x3ff61a(0x1d0)],'opcode':_0x3ea059,'readOnly':_0x284440,'rsv1':_0x1243fc};_0x735e76(_0x1049ec)?this[_0x3ff61a(0x18e)]!==_0x227102?this[_0x3ff61a(0x12c)]([this[_0x3ff61a(0x2a2)],_0x1049ec,this[_0x3ff61a(0x1f9)],_0x58e413,_0x3fcee8]):this[_0x3ff61a(0x2a2)](_0x1049ec,this[_0x3ff61a(0x1f9)],_0x58e413,_0x3fcee8):this[_0x3ff61a(0x18e)]!==_0x227102?this[_0x3ff61a(0x12c)]([this[_0x3ff61a(0x1f8)],_0x1049ec,this[_0x3ff61a(0x1f9)],_0x58e413,_0x3fcee8]):this[_0x3ff61a(0x1f8)](_0x1049ec,this[_0x3ff61a(0x1f9)],_0x58e413,_0x3fcee8);}[_0x351656(0x2a2)](_0x98d6d2,_0x39f9e4,_0x4ef820,_0xccf65d){const _0x9649f8=_0x351656;this['_bufferedBytes']+=_0x4ef820[_0x33f206],this['_state']=_0x3addd3,_0x98d6d2[_0x9649f8(0x292)]()['then'](_0x33fc31=>{const _0x4701f7=_0x9649f8;if(this[_0x4701f7(0x241)][_0x4701f7(0x2a7)]){const _0x406f32=new Error(_0x4701f7(0x169));process[_0x4701f7(0x157)](_0x3a357f,this,_0x406f32,_0xccf65d);return;}this[_0x4701f7(0x222)]-=_0x4ef820[_0x33f206];const _0x29d4c6=_0x3364b2(_0x33fc31);_0x39f9e4?this[_0x4701f7(0x1f8)](_0x29d4c6,_0x39f9e4,_0x4ef820,_0xccf65d):(this['_state']=_0x227102,this[_0x4701f7(0x1a8)](_0x201ddf[_0x4701f7(0x122)](_0x29d4c6,_0x4ef820),_0xccf65d),this[_0x4701f7(0x268)]());})[_0x9649f8(0x1c9)](_0x19ec28=>{const _0x2b2699=_0x9649f8;process[_0x2b2699(0x157)](_0x10e449,this,_0x19ec28,_0xccf65d);});}[_0x351656(0x1f8)](_0x592a33,_0x1a8dc3,_0x1c1e0f,_0x5a8a67){const _0xed38eb=_0x351656;if(!_0x1a8dc3){this[_0xed38eb(0x1a8)](_0x201ddf[_0xed38eb(0x122)](_0x592a33,_0x1c1e0f),_0x5a8a67);return;}const _0x357529=this[_0xed38eb(0x12d)][_0x5c29b9[_0xed38eb(0x2a5)]];this[_0xed38eb(0x222)]+=_0x1c1e0f[_0x33f206],this[_0xed38eb(0x18e)]=_0x4a1b7a,_0x357529['compress'](_0x592a33,_0x1c1e0f[_0xed38eb(0x1ab)],(_0x20c7cc,_0x201393)=>{const _0x25b67d=_0xed38eb;if(this[_0x25b67d(0x241)][_0x25b67d(0x2a7)]){const _0xada04d=new Error(_0x25b67d(0x239));_0x3a357f(this,_0xada04d,_0x5a8a67);return;}this['_bufferedBytes']-=_0x1c1e0f[_0x33f206],this['_state']=_0x227102,_0x1c1e0f[_0x25b67d(0x1d3)]=!0x1,this[_0x25b67d(0x1a8)](_0x201ddf[_0x25b67d(0x122)](_0x201393,_0x1c1e0f),_0x5a8a67),this[_0x25b67d(0x268)]();});}[_0x351656(0x268)](){const _0x39fed1=_0x351656;for(;this[_0x39fed1(0x18e)]===_0x227102&&this[_0x39fed1(0x280)][_0x39fed1(0x25c)];){const _0x155870=this[_0x39fed1(0x280)][_0x39fed1(0x290)]();this[_0x39fed1(0x222)]-=_0x155870[0x3][_0x33f206],Reflect[_0x39fed1(0x224)](_0x155870[0x0],this,_0x155870[_0x39fed1(0x1fa)](0x1));}}[_0x351656(0x12c)](_0x40c5b3){const _0x140a40=_0x351656;this[_0x140a40(0x222)]+=_0x40c5b3[0x3][_0x33f206],this[_0x140a40(0x280)]['push'](_0x40c5b3);}[_0x351656(0x1a8)](_0x5385dc,_0x428ae2){const _0x4bd229=_0x351656;_0x5385dc[_0x4bd229(0x25c)]===0x2?(this[_0x4bd229(0x241)]['cork'](),this[_0x4bd229(0x241)][_0x4bd229(0x11e)](_0x5385dc[0x0]),this[_0x4bd229(0x241)][_0x4bd229(0x11e)](_0x5385dc[0x1],_0x428ae2),this[_0x4bd229(0x241)]['uncork']()):this['_socket'][_0x4bd229(0x11e)](_0x5385dc[0x0],_0x428ae2);}}_0x1ed0c0=_0x201ddf;function _0x3a357f(_0x4f3e58,_0x284268,_0x5b4b73){const _0x4ec066=_0x351656;typeof _0x5b4b73==_0x4ec066(0x2dc)&&_0x5b4b73(_0x284268);for(let _0x530769=0x0;_0x530769<_0x4f3e58['_queue'][_0x4ec066(0x25c)];_0x530769++){const _0x27a8af=_0x4f3e58[_0x4ec066(0x280)][_0x530769],_0x241e27=_0x27a8af[_0x27a8af[_0x4ec066(0x25c)]-0x1];typeof _0x241e27=='function'&&_0x241e27(_0x284268);}}function _0x10e449(_0x5ee6d8,_0x45d1b4,_0x448512){const _0x5a24f3=_0x351656;_0x3a357f(_0x5ee6d8,_0x45d1b4,_0x448512),_0x5ee6d8[_0x5a24f3(0x2b6)](_0x45d1b4);}return _0x1ed0c0;}var _0x5d3241,_0x280ad4;function _0x1d5166(){const _0x431d36=_0x4359a2;if(_0x280ad4)return _0x5d3241;_0x280ad4=0x1;const {kForOnEventAttribute:_0x57f1a2,kListener:_0x3fdd3c}=_0x1193ed(),_0x57d9f5=Symbol(_0x431d36(0x2c5)),_0x968604=Symbol(_0x431d36(0x1c3)),_0xbedeeb=Symbol(_0x431d36(0x195)),_0x59f656=Symbol(_0x431d36(0x28c)),_0x28e9d8=Symbol('kReason'),_0x4008a8=Symbol(_0x431d36(0x12f)),_0x539a75=Symbol(_0x431d36(0x1c7)),_0x252a57=Symbol(_0x431d36(0x2e6));class _0x59fb70{constructor(_0x4bc091){this[_0x4008a8]=null,this[_0x539a75]=_0x4bc091;}get[_0x431d36(0x166)](){return this[_0x4008a8];}get[_0x431d36(0x211)](){return this[_0x539a75];}}Object[_0x431d36(0x216)](_0x59fb70[_0x431d36(0x170)],_0x431d36(0x166),{'enumerable':!0x0}),Object[_0x431d36(0x216)](_0x59fb70['prototype'],_0x431d36(0x211),{'enumerable':!0x0});class _0x4f91c9 extends _0x59fb70{constructor(_0x4a135f,_0x2a500b={}){const _0x465e7a=_0x431d36;super(_0x4a135f),this[_0x57d9f5]=_0x2a500b[_0x465e7a(0x28b)]===void 0x0?0x0:_0x2a500b[_0x465e7a(0x28b)],this[_0x28e9d8]=_0x2a500b[_0x465e7a(0x257)]===void 0x0?'':_0x2a500b[_0x465e7a(0x257)],this[_0x252a57]=_0x2a500b[_0x465e7a(0x1ef)]===void 0x0?!0x1:_0x2a500b[_0x465e7a(0x1ef)];}get[_0x431d36(0x28b)](){return this[_0x57d9f5];}get[_0x431d36(0x257)](){return this[_0x28e9d8];}get[_0x431d36(0x1ef)](){return this[_0x252a57];}}Object[_0x431d36(0x216)](_0x4f91c9['prototype'],'code',{'enumerable':!0x0}),Object[_0x431d36(0x216)](_0x4f91c9['prototype'],_0x431d36(0x257),{'enumerable':!0x0}),Object['defineProperty'](_0x4f91c9[_0x431d36(0x170)],'wasClean',{'enumerable':!0x0});class _0x4840cb extends _0x59fb70{constructor(_0x1f0344,_0x5ce394={}){const _0x16b8ad=_0x431d36;super(_0x1f0344),this[_0xbedeeb]=_0x5ce394[_0x16b8ad(0x201)]===void 0x0?null:_0x5ce394[_0x16b8ad(0x201)],this[_0x59f656]=_0x5ce394[_0x16b8ad(0x1c6)]===void 0x0?'':_0x5ce394[_0x16b8ad(0x1c6)];}get['error'](){return this[_0xbedeeb];}get['message'](){return this[_0x59f656];}}Object[_0x431d36(0x216)](_0x4840cb[_0x431d36(0x170)],_0x431d36(0x201),{'enumerable':!0x0}),Object[_0x431d36(0x216)](_0x4840cb[_0x431d36(0x170)],_0x431d36(0x1c6),{'enumerable':!0x0});class _0x46b6a3 extends _0x59fb70{constructor(_0x590987,_0x543edd={}){const _0x5a433b=_0x431d36;super(_0x590987),this[_0x968604]=_0x543edd[_0x5a433b(0x2a9)]===void 0x0?null:_0x543edd[_0x5a433b(0x2a9)];}get['data'](){return this[_0x968604];}}Object[_0x431d36(0x216)](_0x46b6a3['prototype'],_0x431d36(0x2a9),{'enumerable':!0x0}),_0x5d3241={'CloseEvent':_0x4f91c9,'ErrorEvent':_0x4840cb,'Event':_0x59fb70,'EventTarget':{'addEventListener'(_0x1ee983,_0x3d72cf,_0x248480={}){const _0x3c262e=_0x431d36;for(const _0x3dc55e of this[_0x3c262e(0x1eb)](_0x1ee983))if(!_0x248480[_0x57f1a2]&&_0x3dc55e[_0x3fdd3c]===_0x3d72cf&&!_0x3dc55e[_0x57f1a2])return;let _0x3047ee;if(_0x1ee983===_0x3c262e(0x1c6))_0x3047ee=function(_0x517278,_0x526456){const _0x490fc5=_0x3c262e,_0x5d3258=new _0x46b6a3('message',{'data':_0x526456?_0x517278:_0x517278[_0x490fc5(0x202)]()});_0x5d3258[_0x4008a8]=this,_0x1d090a(_0x3d72cf,this,_0x5d3258);};else{if(_0x1ee983===_0x3c262e(0x1f7))_0x3047ee=function(_0x47c63c,_0x5e2eee){const _0x53fd28=_0x3c262e,_0x3ec05d=new _0x4f91c9(_0x53fd28(0x1f7),{'code':_0x47c63c,'reason':_0x5e2eee[_0x53fd28(0x202)](),'wasClean':this[_0x53fd28(0x1a0)]&&this['_closeFrameSent']});_0x3ec05d[_0x4008a8]=this,_0x1d090a(_0x3d72cf,this,_0x3ec05d);};else{if(_0x1ee983===_0x3c262e(0x201))_0x3047ee=function(_0x4d1aef){const _0x35fe34=_0x3c262e,_0x751023=new _0x4840cb(_0x35fe34(0x201),{'error':_0x4d1aef,'message':_0x4d1aef[_0x35fe34(0x1c6)]});_0x751023[_0x4008a8]=this,_0x1d090a(_0x3d72cf,this,_0x751023);};else{if(_0x1ee983===_0x3c262e(0x2bb))_0x3047ee=function(){const _0x1ef99a=new _0x59fb70('open');_0x1ef99a[_0x4008a8]=this,_0x1d090a(_0x3d72cf,this,_0x1ef99a);};else return;}}}_0x3047ee[_0x57f1a2]=!!_0x248480[_0x57f1a2],_0x3047ee[_0x3fdd3c]=_0x3d72cf,_0x248480[_0x3c262e(0x1f2)]?this[_0x3c262e(0x1f2)](_0x1ee983,_0x3047ee):this['on'](_0x1ee983,_0x3047ee);},'removeEventListener'(_0x460f74,_0x4e8c2a){const _0x299443=_0x431d36;for(const _0x2485c5 of this['listeners'](_0x460f74))if(_0x2485c5[_0x3fdd3c]===_0x4e8c2a&&!_0x2485c5[_0x57f1a2]){this[_0x299443(0x182)](_0x460f74,_0x2485c5);break;}}},'MessageEvent':_0x46b6a3};function _0x1d090a(_0x723847,_0x327f16,_0x285de9){const _0x482881=_0x431d36;typeof _0x723847=='object'&&_0x723847[_0x482881(0x25a)]?_0x723847['handleEvent'][_0x482881(0x191)](_0x723847,_0x285de9):_0x723847[_0x482881(0x191)](_0x327f16,_0x285de9);}return _0x5d3241;}var _0x12a2e8,_0x1ae1b2;function _0x52720f(){if(_0x1ae1b2)return _0x12a2e8;_0x1ae1b2=0x1;const {tokenChars:_0x539e71}=_0x37f5e7();function _0x1c9acc(_0x5314ea,_0x3058ed,_0xa0648d){const _0x54fe48=_0x39a5;_0x5314ea[_0x3058ed]===void 0x0?_0x5314ea[_0x3058ed]=[_0xa0648d]:_0x5314ea[_0x3058ed][_0x54fe48(0x26d)](_0xa0648d);}function _0x1116b5(_0x48febb){const _0x5f4174=_0x39a5,_0x47e414=Object[_0x5f4174(0x2e5)](null);let _0x486368=Object[_0x5f4174(0x2e5)](null),_0x18ebbc=!0x1,_0x393805=!0x1,_0x4fbbf5=!0x1,_0x2596d5,_0xbfda35,_0x3e7d3b=-0x1,_0x3f52f4=-0x1,_0x49df4b=-0x1,_0x4f4d6a=0x0;for(;_0x4f4d6a<_0x48febb[_0x5f4174(0x25c)];_0x4f4d6a++)if(_0x3f52f4=_0x48febb[_0x5f4174(0x282)](_0x4f4d6a),_0x2596d5===void 0x0){if(_0x49df4b===-0x1&&_0x539e71[_0x3f52f4]===0x1)_0x3e7d3b===-0x1&&(_0x3e7d3b=_0x4f4d6a);else{if(_0x4f4d6a!==0x0&&(_0x3f52f4===0x20||_0x3f52f4===0x9))_0x49df4b===-0x1&&_0x3e7d3b!==-0x1&&(_0x49df4b=_0x4f4d6a);else{if(_0x3f52f4===0x3b||_0x3f52f4===0x2c){if(_0x3e7d3b===-0x1)throw new SyntaxError(_0x5f4174(0x15a)+_0x4f4d6a);_0x49df4b===-0x1&&(_0x49df4b=_0x4f4d6a);const _0xfc75ef=_0x48febb['slice'](_0x3e7d3b,_0x49df4b);_0x3f52f4===0x2c?(_0x1c9acc(_0x47e414,_0xfc75ef,_0x486368),_0x486368=Object['create'](null)):_0x2596d5=_0xfc75ef,_0x3e7d3b=_0x49df4b=-0x1;}else throw new SyntaxError(_0x5f4174(0x15a)+_0x4f4d6a);}}}else{if(_0xbfda35===void 0x0){if(_0x49df4b===-0x1&&_0x539e71[_0x3f52f4]===0x1)_0x3e7d3b===-0x1&&(_0x3e7d3b=_0x4f4d6a);else{if(_0x3f52f4===0x20||_0x3f52f4===0x9)_0x49df4b===-0x1&&_0x3e7d3b!==-0x1&&(_0x49df4b=_0x4f4d6a);else{if(_0x3f52f4===0x3b||_0x3f52f4===0x2c){if(_0x3e7d3b===-0x1)throw new SyntaxError(_0x5f4174(0x15a)+_0x4f4d6a);_0x49df4b===-0x1&&(_0x49df4b=_0x4f4d6a),_0x1c9acc(_0x486368,_0x48febb[_0x5f4174(0x1fa)](_0x3e7d3b,_0x49df4b),!0x0),_0x3f52f4===0x2c&&(_0x1c9acc(_0x47e414,_0x2596d5,_0x486368),_0x486368=Object[_0x5f4174(0x2e5)](null),_0x2596d5=void 0x0),_0x3e7d3b=_0x49df4b=-0x1;}else{if(_0x3f52f4===0x3d&&_0x3e7d3b!==-0x1&&_0x49df4b===-0x1)_0xbfda35=_0x48febb[_0x5f4174(0x1fa)](_0x3e7d3b,_0x4f4d6a),_0x3e7d3b=_0x49df4b=-0x1;else throw new SyntaxError(_0x5f4174(0x15a)+_0x4f4d6a);}}}}else{if(_0x393805){if(_0x539e71[_0x3f52f4]!==0x1)throw new SyntaxError(_0x5f4174(0x15a)+_0x4f4d6a);_0x3e7d3b===-0x1?_0x3e7d3b=_0x4f4d6a:_0x18ebbc||(_0x18ebbc=!0x0),_0x393805=!0x1;}else{if(_0x4fbbf5){if(_0x539e71[_0x3f52f4]===0x1)_0x3e7d3b===-0x1&&(_0x3e7d3b=_0x4f4d6a);else{if(_0x3f52f4===0x22&&_0x3e7d3b!==-0x1)_0x4fbbf5=!0x1,_0x49df4b=_0x4f4d6a;else{if(_0x3f52f4===0x5c)_0x393805=!0x0;else throw new SyntaxError(_0x5f4174(0x15a)+_0x4f4d6a);}}}else{if(_0x3f52f4===0x22&&_0x48febb[_0x5f4174(0x282)](_0x4f4d6a-0x1)===0x3d)_0x4fbbf5=!0x0;else{if(_0x49df4b===-0x1&&_0x539e71[_0x3f52f4]===0x1)_0x3e7d3b===-0x1&&(_0x3e7d3b=_0x4f4d6a);else{if(_0x3e7d3b!==-0x1&&(_0x3f52f4===0x20||_0x3f52f4===0x9))_0x49df4b===-0x1&&(_0x49df4b=_0x4f4d6a);else{if(_0x3f52f4===0x3b||_0x3f52f4===0x2c){if(_0x3e7d3b===-0x1)throw new SyntaxError(_0x5f4174(0x15a)+_0x4f4d6a);_0x49df4b===-0x1&&(_0x49df4b=_0x4f4d6a);let _0x4bc4cc=_0x48febb[_0x5f4174(0x1fa)](_0x3e7d3b,_0x49df4b);_0x18ebbc&&(_0x4bc4cc=_0x4bc4cc[_0x5f4174(0x2bc)](/\\/g,''),_0x18ebbc=!0x1),_0x1c9acc(_0x486368,_0xbfda35,_0x4bc4cc),_0x3f52f4===0x2c&&(_0x1c9acc(_0x47e414,_0x2596d5,_0x486368),_0x486368=Object['create'](null),_0x2596d5=void 0x0),_0xbfda35=void 0x0,_0x3e7d3b=_0x49df4b=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4f4d6a);}}}}}}}if(_0x3e7d3b===-0x1||_0x4fbbf5||_0x3f52f4===0x20||_0x3f52f4===0x9)throw new SyntaxError(_0x5f4174(0x1d1));_0x49df4b===-0x1&&(_0x49df4b=_0x4f4d6a);const _0x38f9c7=_0x48febb[_0x5f4174(0x1fa)](_0x3e7d3b,_0x49df4b);return _0x2596d5===void 0x0?_0x1c9acc(_0x47e414,_0x38f9c7,_0x486368):(_0xbfda35===void 0x0?_0x1c9acc(_0x486368,_0x38f9c7,!0x0):_0x18ebbc?_0x1c9acc(_0x486368,_0xbfda35,_0x38f9c7[_0x5f4174(0x2bc)](/\\/g,'')):_0x1c9acc(_0x486368,_0xbfda35,_0x38f9c7),_0x1c9acc(_0x47e414,_0x2596d5,_0x486368)),_0x47e414;}function _0x34d4df(_0x3b9871){const _0x474b05=_0x39a5;return Object[_0x474b05(0x1d2)](_0x3b9871)[_0x474b05(0x26f)](_0xda863b=>{const _0x112cb4=_0x474b05;let _0x49f4ca=_0x3b9871[_0xda863b];return Array['isArray'](_0x49f4ca)||(_0x49f4ca=[_0x49f4ca]),_0x49f4ca[_0x112cb4(0x26f)](_0x2eca1d=>[_0xda863b][_0x112cb4(0x2d5)](Object[_0x112cb4(0x1d2)](_0x2eca1d)[_0x112cb4(0x26f)](_0x22f963=>{const _0x4f3e9a=_0x112cb4;let _0x307484=_0x2eca1d[_0x22f963];return Array[_0x4f3e9a(0x143)](_0x307484)||(_0x307484=[_0x307484]),_0x307484[_0x4f3e9a(0x26f)](_0x507332=>_0x507332===!0x0?_0x22f963:_0x22f963+'='+_0x507332)[_0x4f3e9a(0x262)](';\x20');}))[_0x112cb4(0x262)](';\x20'))[_0x112cb4(0x262)](',\x20');})[_0x474b05(0x262)](',\x20');}return _0x12a2e8={'format':_0x34d4df,'parse':_0x1116b5},_0x12a2e8;}var _0x5d738f,_0x37368d;function _0x51ed98(){const _0xaad55f=_0x4359a2;if(_0x37368d)return _0x5d738f;_0x37368d=0x1;const _0x2e0f72=_0x2d0c38,_0x3c404d=_0x378333,_0x12f27d=_0x2ef0ff,_0x348ef=_0x5dfdb3,_0x46085f=_0x42f975,{randomBytes:_0x2c68bb,createHash:_0x1cd925}=_0x491b7c,{Duplex:_0x4acb3a,Readable:_0x2d7e90}=_0x4d7920,{URL:_0x3c1f60}=_0xc90612,_0x42857b=_0x520d16(),_0x605dd6=_0x333a14(),_0x58212f=_0x16190e(),{isBlob:_0x42fa04}=_0x37f5e7(),{BINARY_TYPES:_0x21b954,EMPTY_BUFFER:_0xb3d503,GUID:_0x2d84fe,kForOnEventAttribute:_0x510aa0,kListener:_0x400c71,kStatusCode:_0x2f9f80,kWebSocket:_0x1a1444,NOOP:_0x5bdfa2}=_0x1193ed(),{EventTarget:{addEventListener:_0x4230eb,removeEventListener:_0x1c05ad}}=_0x1d5166(),{format:_0x1c9bd9,parse:_0x21b03a}=_0x52720f(),{toBuffer:_0x3c17ac}=_0x58bae3(),_0x7a0bc8=0x1e*0x3e8,_0x3f828e=Symbol(_0xaad55f(0x12e)),_0x85ec27=[0x8,0xd],_0x4d1b1=[_0xaad55f(0x230),'OPEN',_0xaad55f(0x2b9),_0xaad55f(0x17b)],_0x21fdee=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x597f04 extends _0x2e0f72{constructor(_0x4118d0,_0x37a6ac,_0x2be1e8){const _0x2e5de1=_0xaad55f;super(),this[_0x2e5de1(0x167)]=_0x21b954[0x0],this['_closeCode']=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x2e5de1(0x1bb)]=!0x1,this[_0x2e5de1(0x178)]=_0xb3d503,this['_closeTimer']=null,this[_0x2e5de1(0x1fe)]=!0x1,this[_0x2e5de1(0x12d)]={},this[_0x2e5de1(0x133)]=!0x1,this[_0x2e5de1(0x1d6)]='',this['_readyState']=_0x597f04[_0x2e5de1(0x230)],this[_0x2e5de1(0x162)]=null,this[_0x2e5de1(0x2a0)]=null,this[_0x2e5de1(0x241)]=null,_0x4118d0!==null?(this[_0x2e5de1(0x2ae)]=0x0,this[_0x2e5de1(0x119)]=!0x1,this['_redirects']=0x0,_0x37a6ac===void 0x0?_0x37a6ac=[]:Array['isArray'](_0x37a6ac)||(typeof _0x37a6ac=='object'&&_0x37a6ac!==null?(_0x2be1e8=_0x37a6ac,_0x37a6ac=[]):_0x37a6ac=[_0x37a6ac]),_0xaa1c8e(this,_0x4118d0,_0x37a6ac,_0x2be1e8)):(this['_autoPong']=_0x2be1e8[_0x2e5de1(0x1ad)],this[_0x2e5de1(0x119)]=!0x0);}get[_0xaad55f(0x229)](){const _0x37b865=_0xaad55f;return this[_0x37b865(0x167)];}set[_0xaad55f(0x229)](_0x3fb688){const _0xac82fb=_0xaad55f;_0x21b954[_0xac82fb(0x17f)](_0x3fb688)&&(this[_0xac82fb(0x167)]=_0x3fb688,this[_0xac82fb(0x162)]&&(this[_0xac82fb(0x162)]['_binaryType']=_0x3fb688));}get[_0xaad55f(0x265)](){const _0x33733c=_0xaad55f;return this[_0x33733c(0x241)]?this[_0x33733c(0x241)][_0x33733c(0x1ae)]['length']+this[_0x33733c(0x2a0)]['_bufferedBytes']:this[_0x33733c(0x2ae)];}get['extensions'](){const _0x185b46=_0xaad55f;return Object[_0x185b46(0x1d2)](this['_extensions'])[_0x185b46(0x262)]();}get[_0xaad55f(0x2c2)](){const _0x3dac0a=_0xaad55f;return this[_0x3dac0a(0x133)];}get[_0xaad55f(0x23b)](){return null;}get[_0xaad55f(0x2b6)](){return null;}get['onopen'](){return null;}get[_0xaad55f(0x2d3)](){return null;}get[_0xaad55f(0x19b)](){return this['_protocol'];}get[_0xaad55f(0x274)](){const _0x4a675f=_0xaad55f;return this[_0x4a675f(0x1b8)];}get[_0xaad55f(0x14b)](){return this['_url'];}[_0xaad55f(0x15d)](_0x39b84c,_0x3a9e3e,_0x3f585a){const _0x5890f4=_0xaad55f,_0x48486d=new _0x605dd6({'allowSynchronousEvents':_0x3f585a[_0x5890f4(0x153)],'binaryType':this['binaryType'],'extensions':this['_extensions'],'isServer':this[_0x5890f4(0x119)],'maxPayload':_0x3f585a['maxPayload'],'skipUTF8Validation':_0x3f585a[_0x5890f4(0x1ba)]}),_0x8b5bc9=new _0x58212f(_0x39b84c,this[_0x5890f4(0x12d)],_0x3f585a['generateMask']);this['_receiver']=_0x48486d,this['_sender']=_0x8b5bc9,this['_socket']=_0x39b84c,_0x48486d[_0x1a1444]=this,_0x8b5bc9[_0x1a1444]=this,_0x39b84c[_0x1a1444]=this,_0x48486d['on'](_0x5890f4(0x1ca),_0x574fe0),_0x48486d['on']('drain',_0x5269d4),_0x48486d['on'](_0x5890f4(0x201),_0x158bdb),_0x48486d['on'](_0x5890f4(0x1c6),_0x15a1f4),_0x48486d['on'](_0x5890f4(0x121),_0x2b03a8),_0x48486d['on'](_0x5890f4(0x29b),_0x1fa2f8),_0x8b5bc9['onerror']=_0x54da6e,_0x39b84c['setTimeout']&&_0x39b84c['setTimeout'](0x0),_0x39b84c[_0x5890f4(0x1b3)]&&_0x39b84c[_0x5890f4(0x1b3)](),_0x3a9e3e[_0x5890f4(0x25c)]>0x0&&_0x39b84c['unshift'](_0x3a9e3e),_0x39b84c['on'](_0x5890f4(0x1f7),_0x64ae4a),_0x39b84c['on']('data',_0x34ca9d),_0x39b84c['on'](_0x5890f4(0x129),_0x21f49c),_0x39b84c['on'](_0x5890f4(0x201),_0x1e5431),this[_0x5890f4(0x1b8)]=_0x597f04[_0x5890f4(0x13d)],this[_0x5890f4(0x2bf)]('open');}[_0xaad55f(0x1d4)](){const _0x595600=_0xaad55f;if(!this['_socket']){this[_0x595600(0x1b8)]=_0x597f04['CLOSED'],this['emit']('close',this[_0x595600(0x2a1)],this['_closeMessage']);return;}this[_0x595600(0x12d)][_0x42857b[_0x595600(0x2a5)]]&&this[_0x595600(0x12d)][_0x42857b['extensionName']][_0x595600(0x125)](),this[_0x595600(0x162)][_0x595600(0x1aa)](),this[_0x595600(0x1b8)]=_0x597f04[_0x595600(0x17b)],this[_0x595600(0x2bf)](_0x595600(0x1f7),this[_0x595600(0x2a1)],this[_0x595600(0x178)]);}[_0xaad55f(0x1f7)](_0x28b052,_0x5acacc){const _0x3ede83=_0xaad55f;if(this['readyState']!==_0x597f04[_0x3ede83(0x17b)]){if(this[_0x3ede83(0x274)]===_0x597f04[_0x3ede83(0x230)]){_0x20d841(this,this['_req'],_0x3ede83(0x155));return;}if(this[_0x3ede83(0x274)]===_0x597f04[_0x3ede83(0x2b9)]){this[_0x3ede83(0x1bb)]&&(this[_0x3ede83(0x1a0)]||this[_0x3ede83(0x162)][_0x3ede83(0x1ae)][_0x3ede83(0x235)])&&this['_socket'][_0x3ede83(0x129)]();return;}this[_0x3ede83(0x1b8)]=_0x597f04[_0x3ede83(0x2b9)],this[_0x3ede83(0x2a0)][_0x3ede83(0x1f7)](_0x28b052,_0x5acacc,!this[_0x3ede83(0x119)],_0x44ef44=>{const _0x35c665=_0x3ede83;_0x44ef44||(this[_0x35c665(0x1bb)]=!0x0,(this[_0x35c665(0x1a0)]||this[_0x35c665(0x162)][_0x35c665(0x1ae)][_0x35c665(0x235)])&&this[_0x35c665(0x241)][_0x35c665(0x129)]());}),_0x35d71e(this);}}[_0xaad55f(0x16f)](){const _0x3a1320=_0xaad55f;this[_0x3a1320(0x274)]===_0x597f04['CONNECTING']||this[_0x3a1320(0x274)]===_0x597f04[_0x3a1320(0x17b)]||(this[_0x3a1320(0x133)]=!0x0,this[_0x3a1320(0x241)][_0x3a1320(0x16f)]());}['ping'](_0x150e48,_0x2336bc,_0x345538){const _0x1e33f0=_0xaad55f;if(this[_0x1e33f0(0x274)]===_0x597f04[_0x1e33f0(0x230)])throw new Error(_0x1e33f0(0x137));if(typeof _0x150e48==_0x1e33f0(0x2dc)?(_0x345538=_0x150e48,_0x150e48=_0x2336bc=void 0x0):typeof _0x2336bc==_0x1e33f0(0x2dc)&&(_0x345538=_0x2336bc,_0x2336bc=void 0x0),typeof _0x150e48==_0x1e33f0(0x26c)&&(_0x150e48=_0x150e48[_0x1e33f0(0x202)]()),this[_0x1e33f0(0x274)]!==_0x597f04[_0x1e33f0(0x13d)]){_0x312be5(this,_0x150e48,_0x345538);return;}_0x2336bc===void 0x0&&(_0x2336bc=!this['_isServer']),this[_0x1e33f0(0x2a0)]['ping'](_0x150e48||_0xb3d503,_0x2336bc,_0x345538);}[_0xaad55f(0x29b)](_0x4d1fea,_0x505f7f,_0x40898a){const _0x31ce2c=_0xaad55f;if(this['readyState']===_0x597f04['CONNECTING'])throw new Error(_0x31ce2c(0x137));if(typeof _0x4d1fea=='function'?(_0x40898a=_0x4d1fea,_0x4d1fea=_0x505f7f=void 0x0):typeof _0x505f7f==_0x31ce2c(0x2dc)&&(_0x40898a=_0x505f7f,_0x505f7f=void 0x0),typeof _0x4d1fea=='number'&&(_0x4d1fea=_0x4d1fea['toString']()),this[_0x31ce2c(0x274)]!==_0x597f04[_0x31ce2c(0x13d)]){_0x312be5(this,_0x4d1fea,_0x40898a);return;}_0x505f7f===void 0x0&&(_0x505f7f=!this['_isServer']),this['_sender']['pong'](_0x4d1fea||_0xb3d503,_0x505f7f,_0x40898a);}[_0xaad55f(0x286)](){const _0x4dee56=_0xaad55f;this[_0x4dee56(0x274)]===_0x597f04[_0x4dee56(0x230)]||this[_0x4dee56(0x274)]===_0x597f04[_0x4dee56(0x17b)]||(this[_0x4dee56(0x133)]=!0x1,this[_0x4dee56(0x162)][_0x4dee56(0x1ae)][_0x4dee56(0x19a)]||this['_socket'][_0x4dee56(0x286)]());}[_0xaad55f(0x209)](_0x9137f8,_0x2eff5a,_0x4b2018){const _0x2c0106=_0xaad55f;if(this[_0x2c0106(0x274)]===_0x597f04[_0x2c0106(0x230)])throw new Error(_0x2c0106(0x137));if(typeof _0x2eff5a==_0x2c0106(0x2dc)&&(_0x4b2018=_0x2eff5a,_0x2eff5a={}),typeof _0x9137f8==_0x2c0106(0x26c)&&(_0x9137f8=_0x9137f8[_0x2c0106(0x202)]()),this[_0x2c0106(0x274)]!==_0x597f04[_0x2c0106(0x13d)]){_0x312be5(this,_0x9137f8,_0x4b2018);return;}const _0x1c2437={'binary':typeof _0x9137f8!=_0x2c0106(0x183),'mask':!this[_0x2c0106(0x119)],'compress':!0x0,'fin':!0x0,..._0x2eff5a};this['_extensions'][_0x42857b[_0x2c0106(0x2a5)]]||(_0x1c2437[_0x2c0106(0x215)]=!0x1),this['_sender']['send'](_0x9137f8||_0xb3d503,_0x1c2437,_0x4b2018);}[_0xaad55f(0x296)](){const _0x2e2c19=_0xaad55f;if(this[_0x2e2c19(0x274)]!==_0x597f04[_0x2e2c19(0x17b)]){if(this[_0x2e2c19(0x274)]===_0x597f04[_0x2e2c19(0x230)]){_0x20d841(this,this[_0x2e2c19(0x22c)],_0x2e2c19(0x155));return;}this[_0x2e2c19(0x241)]&&(this['_readyState']=_0x597f04['CLOSING'],this[_0x2e2c19(0x241)][_0x2e2c19(0x2ca)]());}}}Object[_0xaad55f(0x216)](_0x597f04,'CONNECTING',{'enumerable':!0x0,'value':_0x4d1b1[_0xaad55f(0x1c0)](_0xaad55f(0x230))}),Object[_0xaad55f(0x216)](_0x597f04['prototype'],_0xaad55f(0x230),{'enumerable':!0x0,'value':_0x4d1b1['indexOf'](_0xaad55f(0x230))}),Object['defineProperty'](_0x597f04,'OPEN',{'enumerable':!0x0,'value':_0x4d1b1['indexOf'](_0xaad55f(0x13d))}),Object[_0xaad55f(0x216)](_0x597f04[_0xaad55f(0x170)],_0xaad55f(0x13d),{'enumerable':!0x0,'value':_0x4d1b1[_0xaad55f(0x1c0)](_0xaad55f(0x13d))}),Object['defineProperty'](_0x597f04,'CLOSING',{'enumerable':!0x0,'value':_0x4d1b1['indexOf'](_0xaad55f(0x2b9))}),Object[_0xaad55f(0x216)](_0x597f04[_0xaad55f(0x170)],_0xaad55f(0x2b9),{'enumerable':!0x0,'value':_0x4d1b1[_0xaad55f(0x1c0)](_0xaad55f(0x2b9))}),Object[_0xaad55f(0x216)](_0x597f04,_0xaad55f(0x17b),{'enumerable':!0x0,'value':_0x4d1b1['indexOf'](_0xaad55f(0x17b))}),Object[_0xaad55f(0x216)](_0x597f04[_0xaad55f(0x170)],'CLOSED',{'enumerable':!0x0,'value':_0x4d1b1[_0xaad55f(0x1c0)](_0xaad55f(0x17b))}),[_0xaad55f(0x229),'bufferedAmount',_0xaad55f(0x1a5),'isPaused',_0xaad55f(0x19b),_0xaad55f(0x274),'url'][_0xaad55f(0x1b2)](_0x2c7c19=>{const _0x28dfa9=_0xaad55f;Object[_0x28dfa9(0x216)](_0x597f04['prototype'],_0x2c7c19,{'enumerable':!0x0});}),[_0xaad55f(0x2bb),_0xaad55f(0x201),_0xaad55f(0x1f7),_0xaad55f(0x1c6)][_0xaad55f(0x1b2)](_0xee30d9=>{const _0x3a22a7=_0xaad55f;Object[_0x3a22a7(0x216)](_0x597f04[_0x3a22a7(0x170)],'on'+_0xee30d9,{'enumerable':!0x0,'get'(){const _0x23fd8a=_0x3a22a7;for(const _0x274b72 of this[_0x23fd8a(0x1eb)](_0xee30d9))if(_0x274b72[_0x510aa0])return _0x274b72[_0x400c71];return null;},'set'(_0x3c9b3d){const _0x342dda=_0x3a22a7;for(const _0x52844b of this[_0x342dda(0x1eb)](_0xee30d9))if(_0x52844b[_0x510aa0]){this[_0x342dda(0x182)](_0xee30d9,_0x52844b);break;}typeof _0x3c9b3d==_0x342dda(0x2dc)&&this[_0x342dda(0x2e3)](_0xee30d9,_0x3c9b3d,{[_0x510aa0]:!0x0});}});}),_0x597f04['prototype'][_0xaad55f(0x2e3)]=_0x4230eb,_0x597f04['prototype'][_0xaad55f(0x232)]=_0x1c05ad,_0x5d738f=_0x597f04;function _0xaa1c8e(_0x376a41,_0x50c6de,_0x357435,_0x5986aa){const _0x53b8fe=_0xaad55f,_0x1ccc89={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x85ec27[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5986aa,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x376a41[_0x53b8fe(0x21b)]=_0x1ccc89[_0x53b8fe(0x1ad)],!_0x85ec27[_0x53b8fe(0x17f)](_0x1ccc89[_0x53b8fe(0x1f0)]))throw new RangeError(_0x53b8fe(0x193)+_0x1ccc89[_0x53b8fe(0x1f0)]+_0x53b8fe(0x1c8)+_0x85ec27['join'](',\x20')+')');let _0x1afc4e;if(_0x50c6de instanceof _0x3c1f60)_0x1afc4e=_0x50c6de;else try{_0x1afc4e=new _0x3c1f60(_0x50c6de);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x50c6de);}_0x1afc4e['protocol']===_0x53b8fe(0x204)?_0x1afc4e[_0x53b8fe(0x19b)]=_0x53b8fe(0x258):_0x1afc4e[_0x53b8fe(0x19b)]==='https:'&&(_0x1afc4e[_0x53b8fe(0x19b)]=_0x53b8fe(0x1df)),_0x376a41[_0x53b8fe(0x159)]=_0x1afc4e[_0x53b8fe(0x151)];const _0x2864ed=_0x1afc4e['protocol']===_0x53b8fe(0x1df),_0xf25eca=_0x1afc4e['protocol']===_0x53b8fe(0x188);let _0x4de79b;if(_0x1afc4e[_0x53b8fe(0x19b)]!==_0x53b8fe(0x258)&&!_0x2864ed&&!_0xf25eca?_0x4de79b='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':_0xf25eca&&!_0x1afc4e[_0x53b8fe(0x11a)]?_0x4de79b=_0x53b8fe(0x2b8):_0x1afc4e[_0x53b8fe(0x22e)]&&(_0x4de79b=_0x53b8fe(0x27d)),_0x4de79b){const _0x103055=new SyntaxError(_0x4de79b);if(_0x376a41['_redirects']===0x0)throw _0x103055;_0x25ec64(_0x376a41,_0x103055);return;}const _0x2215f7=_0x2864ed?0x1bb:0x50,_0x5b4ca1=_0x2c68bb(0x10)[_0x53b8fe(0x202)](_0x53b8fe(0x1cd)),_0x3bd930=_0x2864ed?_0x3c404d['request']:_0x12f27d[_0x53b8fe(0x1da)],_0x428594=new Set();let _0x4de746;if(_0x1ccc89['createConnection']=_0x1ccc89[_0x53b8fe(0x26e)]||(_0x2864ed?_0x577368:_0x4d1725),_0x1ccc89['defaultPort']=_0x1ccc89['defaultPort']||_0x2215f7,_0x1ccc89[_0x53b8fe(0x218)]=_0x1afc4e['port']||_0x2215f7,_0x1ccc89['host']=_0x1afc4e[_0x53b8fe(0x2c0)][_0x53b8fe(0x19d)]('[')?_0x1afc4e[_0x53b8fe(0x2c0)]['slice'](0x1,-0x1):_0x1afc4e['hostname'],_0x1ccc89[_0x53b8fe(0x2b1)]={..._0x1ccc89[_0x53b8fe(0x2b1)],'Sec-WebSocket-Version':_0x1ccc89[_0x53b8fe(0x1f0)],'Sec-WebSocket-Key':_0x5b4ca1,'Connection':_0x53b8fe(0x225),'Upgrade':_0x53b8fe(0x11d)},_0x1ccc89[_0x53b8fe(0x205)]=_0x1afc4e[_0x53b8fe(0x11a)]+_0x1afc4e[_0x53b8fe(0x22d)],_0x1ccc89['timeout']=_0x1ccc89[_0x53b8fe(0x2b2)],_0x1ccc89[_0x53b8fe(0x136)]&&(_0x4de746=new _0x42857b(_0x1ccc89[_0x53b8fe(0x136)]!==!0x0?_0x1ccc89[_0x53b8fe(0x136)]:{},!0x1,_0x1ccc89[_0x53b8fe(0x208)]),_0x1ccc89[_0x53b8fe(0x2b1)][_0x53b8fe(0x270)]=_0x1c9bd9({[_0x42857b[_0x53b8fe(0x2a5)]]:_0x4de746[_0x53b8fe(0x11f)]()})),_0x357435[_0x53b8fe(0x25c)]){for(const _0x58c900 of _0x357435){if(typeof _0x58c900!=_0x53b8fe(0x183)||!_0x21fdee[_0x53b8fe(0x284)](_0x58c900)||_0x428594[_0x53b8fe(0x245)](_0x58c900))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x428594[_0x53b8fe(0x291)](_0x58c900);}_0x1ccc89[_0x53b8fe(0x2b1)][_0x53b8fe(0x287)]=_0x357435['join'](',');}if(_0x1ccc89[_0x53b8fe(0x15c)]&&(_0x1ccc89['protocolVersion']<0xd?_0x1ccc89[_0x53b8fe(0x2b1)]['Sec-WebSocket-Origin']=_0x1ccc89['origin']:_0x1ccc89[_0x53b8fe(0x2b1)][_0x53b8fe(0x187)]=_0x1ccc89[_0x53b8fe(0x15c)]),(_0x1afc4e['username']||_0x1afc4e[_0x53b8fe(0x2ab)])&&(_0x1ccc89['auth']=_0x1afc4e[_0x53b8fe(0x197)]+':'+_0x1afc4e[_0x53b8fe(0x2ab)]),_0xf25eca){const _0x443ff5=_0x1ccc89[_0x53b8fe(0x205)][_0x53b8fe(0x266)](':');_0x1ccc89[_0x53b8fe(0x123)]=_0x443ff5[0x0],_0x1ccc89[_0x53b8fe(0x205)]=_0x443ff5[0x1];}let _0x587f70;if(_0x1ccc89[_0x53b8fe(0x25e)]){if(_0x376a41[_0x53b8fe(0x173)]===0x0){_0x376a41[_0x53b8fe(0x181)]=_0xf25eca,_0x376a41[_0x53b8fe(0x298)]=_0x2864ed,_0x376a41[_0x53b8fe(0x147)]=_0xf25eca?_0x1ccc89[_0x53b8fe(0x123)]:_0x1afc4e[_0x53b8fe(0x1dd)];const _0x4be013=_0x5986aa&&_0x5986aa[_0x53b8fe(0x2b1)];if(_0x5986aa={..._0x5986aa,'headers':{}},_0x4be013){for(const [_0x17e180,_0x8f97fa]of Object[_0x53b8fe(0x289)](_0x4be013))_0x5986aa['headers'][_0x17e180[_0x53b8fe(0x13e)]()]=_0x8f97fa;}}else{if(_0x376a41[_0x53b8fe(0x13f)](_0x53b8fe(0x2aa))===0x0){const _0x296c25=_0xf25eca?_0x376a41['_originalIpc']?_0x1ccc89[_0x53b8fe(0x123)]===_0x376a41['_originalHostOrSocketPath']:!0x1:_0x376a41[_0x53b8fe(0x181)]?!0x1:_0x1afc4e[_0x53b8fe(0x1dd)]===_0x376a41[_0x53b8fe(0x147)];(!_0x296c25||_0x376a41['_originalSecure']&&!_0x2864ed)&&(delete _0x1ccc89[_0x53b8fe(0x2b1)]['authorization'],delete _0x1ccc89[_0x53b8fe(0x2b1)][_0x53b8fe(0x283)],_0x296c25||delete _0x1ccc89['headers'][_0x53b8fe(0x1dd)],_0x1ccc89[_0x53b8fe(0x142)]=void 0x0);}}_0x1ccc89[_0x53b8fe(0x142)]&&!_0x5986aa[_0x53b8fe(0x2b1)][_0x53b8fe(0x179)]&&(_0x5986aa[_0x53b8fe(0x2b1)]['authorization']=_0x53b8fe(0x29e)+Buffer['from'](_0x1ccc89[_0x53b8fe(0x142)])['toString'](_0x53b8fe(0x1cd))),_0x587f70=_0x376a41[_0x53b8fe(0x22c)]=_0x3bd930(_0x1ccc89),_0x376a41['_redirects']&&_0x376a41[_0x53b8fe(0x2bf)](_0x53b8fe(0x2aa),_0x376a41[_0x53b8fe(0x14b)],_0x587f70);}else _0x587f70=_0x376a41[_0x53b8fe(0x22c)]=_0x3bd930(_0x1ccc89);_0x1ccc89[_0x53b8fe(0x20b)]&&_0x587f70['on'](_0x53b8fe(0x20b),()=>{const _0x2e2e25=_0x53b8fe;_0x20d841(_0x376a41,_0x587f70,_0x2e2e25(0x1f4));}),_0x587f70['on'](_0x53b8fe(0x201),_0x3bb7aa=>{const _0x4c0bc0=_0x53b8fe;_0x587f70===null||_0x587f70[_0x3f828e]||(_0x587f70=_0x376a41[_0x4c0bc0(0x22c)]=null,_0x25ec64(_0x376a41,_0x3bb7aa));}),_0x587f70['on']('response',_0x32f58d=>{const _0x51d139=_0x53b8fe,_0x25e419=_0x32f58d[_0x51d139(0x2b1)][_0x51d139(0x131)],_0xcc1e9c=_0x32f58d[_0x51d139(0x21f)];if(_0x25e419&&_0x1ccc89[_0x51d139(0x25e)]&&_0xcc1e9c>=0x12c&&_0xcc1e9c<0x190){if(++_0x376a41['_redirects']>_0x1ccc89[_0x51d139(0x277)]){_0x20d841(_0x376a41,_0x587f70,'Maximum\x20redirects\x20exceeded');return;}_0x587f70[_0x51d139(0x1cf)]();let _0xdb5d61;try{_0xdb5d61=new _0x3c1f60(_0x25e419,_0x50c6de);}catch{const _0x311c3a=new SyntaxError(_0x51d139(0x15e)+_0x25e419);_0x25ec64(_0x376a41,_0x311c3a);return;}_0xaa1c8e(_0x376a41,_0xdb5d61,_0x357435,_0x5986aa);}else _0x376a41[_0x51d139(0x2bf)](_0x51d139(0x18f),_0x587f70,_0x32f58d)||_0x20d841(_0x376a41,_0x587f70,_0x51d139(0x260)+_0x32f58d['statusCode']);}),_0x587f70['on'](_0x53b8fe(0x13a),(_0x1619e6,_0x1a1d27,_0x4f5a1b)=>{const _0x4bcde0=_0x53b8fe;if(_0x376a41['emit'](_0x4bcde0(0x13a),_0x1619e6),_0x376a41[_0x4bcde0(0x274)]!==_0x597f04[_0x4bcde0(0x230)])return;_0x587f70=_0x376a41[_0x4bcde0(0x22c)]=null;const _0x2db236=_0x1619e6['headers'][_0x4bcde0(0x13a)];if(_0x2db236===void 0x0||_0x2db236['toLowerCase']()!=='websocket'){_0x20d841(_0x376a41,_0x1a1d27,_0x4bcde0(0x146));return;}const _0x323efc=_0x1cd925(_0x4bcde0(0x19f))[_0x4bcde0(0x1b1)](_0x5b4ca1+_0x2d84fe)[_0x4bcde0(0x1e0)](_0x4bcde0(0x1cd));if(_0x1619e6[_0x4bcde0(0x2b1)]['sec-websocket-accept']!==_0x323efc){_0x20d841(_0x376a41,_0x1a1d27,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x57c5d6=_0x1619e6[_0x4bcde0(0x2b1)][_0x4bcde0(0x206)];let _0x5bb263;if(_0x57c5d6!==void 0x0?_0x428594[_0x4bcde0(0x2be)]?_0x428594[_0x4bcde0(0x245)](_0x57c5d6)||(_0x5bb263=_0x4bcde0(0x24f)):_0x5bb263=_0x4bcde0(0x2d0):_0x428594[_0x4bcde0(0x2be)]&&(_0x5bb263=_0x4bcde0(0x141)),_0x5bb263){_0x20d841(_0x376a41,_0x1a1d27,_0x5bb263);return;}_0x57c5d6&&(_0x376a41['_protocol']=_0x57c5d6);const _0x2200ba=_0x1619e6[_0x4bcde0(0x2b1)]['sec-websocket-extensions'];if(_0x2200ba!==void 0x0){if(!_0x4de746){_0x20d841(_0x376a41,_0x1a1d27,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x1692a5;try{_0x1692a5=_0x21b03a(_0x2200ba);}catch{_0x20d841(_0x376a41,_0x1a1d27,_0x4bcde0(0x145));return;}const _0xa6c1fb=Object['keys'](_0x1692a5);if(_0xa6c1fb[_0x4bcde0(0x25c)]!==0x1||_0xa6c1fb[0x0]!==_0x42857b[_0x4bcde0(0x2a5)]){_0x20d841(_0x376a41,_0x1a1d27,_0x4bcde0(0x12a));return;}try{_0x4de746[_0x4bcde0(0x24e)](_0x1692a5[_0x42857b[_0x4bcde0(0x2a5)]]);}catch{_0x20d841(_0x376a41,_0x1a1d27,_0x4bcde0(0x145));return;}_0x376a41['_extensions'][_0x42857b[_0x4bcde0(0x2a5)]]=_0x4de746;}_0x376a41[_0x4bcde0(0x15d)](_0x1a1d27,_0x4f5a1b,{'allowSynchronousEvents':_0x1ccc89['allowSynchronousEvents'],'generateMask':_0x1ccc89[_0x4bcde0(0x1fc)],'maxPayload':_0x1ccc89[_0x4bcde0(0x208)],'skipUTF8Validation':_0x1ccc89[_0x4bcde0(0x1ba)]});}),_0x1ccc89[_0x53b8fe(0x20a)]?_0x1ccc89[_0x53b8fe(0x20a)](_0x587f70,_0x376a41):_0x587f70['end']();}function _0x25ec64(_0x355bfc,_0x5bcb85){const _0x375c9=_0xaad55f;_0x355bfc[_0x375c9(0x1b8)]=_0x597f04[_0x375c9(0x2b9)],_0x355bfc[_0x375c9(0x1fe)]=!0x0,_0x355bfc['emit'](_0x375c9(0x201),_0x5bcb85),_0x355bfc[_0x375c9(0x1d4)]();}function _0x4d1725(_0x1f8476){const _0x539f9a=_0xaad55f;return _0x1f8476[_0x539f9a(0x205)]=_0x1f8476['socketPath'],_0x348ef['connect'](_0x1f8476);}function _0x577368(_0x27443b){const _0x4abf=_0xaad55f;return _0x27443b[_0x4abf(0x205)]=void 0x0,!_0x27443b[_0x4abf(0x177)]&&_0x27443b[_0x4abf(0x177)]!==''&&(_0x27443b[_0x4abf(0x177)]=_0x348ef[_0x4abf(0x132)](_0x27443b[_0x4abf(0x1dd)])?'':_0x27443b[_0x4abf(0x1dd)]),_0x46085f['connect'](_0x27443b);}function _0x20d841(_0x53c70c,_0x330248,_0xa3c11){const _0x123f38=_0xaad55f;_0x53c70c[_0x123f38(0x1b8)]=_0x597f04[_0x123f38(0x2b9)];const _0x8bd820=new Error(_0xa3c11);Error[_0x123f38(0x2a4)](_0x8bd820,_0x20d841),_0x330248[_0x123f38(0x163)]?(_0x330248[_0x3f828e]=!0x0,_0x330248['abort'](),_0x330248[_0x123f38(0x149)]&&!_0x330248['socket']['destroyed']&&_0x330248[_0x123f38(0x149)][_0x123f38(0x2ca)](),process[_0x123f38(0x157)](_0x25ec64,_0x53c70c,_0x8bd820)):(_0x330248[_0x123f38(0x2ca)](_0x8bd820),_0x330248['once'](_0x123f38(0x201),_0x53c70c[_0x123f38(0x2bf)][_0x123f38(0x2e1)](_0x53c70c,_0x123f38(0x201))),_0x330248[_0x123f38(0x1f2)](_0x123f38(0x1f7),_0x53c70c[_0x123f38(0x1d4)][_0x123f38(0x2e1)](_0x53c70c)));}function _0x312be5(_0x3b8f60,_0x1e5996,_0x479801){const _0x167108=_0xaad55f;if(_0x1e5996){const _0x491791=_0x42fa04(_0x1e5996)?_0x1e5996['size']:_0x3c17ac(_0x1e5996)[_0x167108(0x25c)];_0x3b8f60[_0x167108(0x241)]?_0x3b8f60[_0x167108(0x2a0)][_0x167108(0x222)]+=_0x491791:_0x3b8f60[_0x167108(0x2ae)]+=_0x491791;}if(_0x479801){const _0xd22842=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x3b8f60[_0x167108(0x274)]+'\x20('+_0x4d1b1[_0x3b8f60[_0x167108(0x274)]]+')');process[_0x167108(0x157)](_0x479801,_0xd22842);}}function _0x574fe0(_0x28cc06,_0x43ee8a){const _0x5ef312=_0xaad55f,_0x2b3873=this[_0x1a1444];_0x2b3873['_closeFrameReceived']=!0x0,_0x2b3873[_0x5ef312(0x178)]=_0x43ee8a,_0x2b3873['_closeCode']=_0x28cc06,_0x2b3873[_0x5ef312(0x241)][_0x1a1444]!==void 0x0&&(_0x2b3873[_0x5ef312(0x241)][_0x5ef312(0x182)](_0x5ef312(0x2a9),_0x34ca9d),process[_0x5ef312(0x157)](_0x2e76,_0x2b3873[_0x5ef312(0x241)]),_0x28cc06===0x3ed?_0x2b3873[_0x5ef312(0x1f7)]():_0x2b3873[_0x5ef312(0x1f7)](_0x28cc06,_0x43ee8a));}function _0x5269d4(){const _0x57c1f6=_0xaad55f,_0x277e66=this[_0x1a1444];_0x277e66[_0x57c1f6(0x2c2)]||_0x277e66[_0x57c1f6(0x241)][_0x57c1f6(0x286)]();}function _0x158bdb(_0x14ebaf){const _0x2ed93e=_0xaad55f,_0x75904c=this[_0x1a1444];_0x75904c[_0x2ed93e(0x241)][_0x1a1444]!==void 0x0&&(_0x75904c[_0x2ed93e(0x241)][_0x2ed93e(0x182)]('data',_0x34ca9d),process['nextTick'](_0x2e76,_0x75904c[_0x2ed93e(0x241)]),_0x75904c[_0x2ed93e(0x1f7)](_0x14ebaf[_0x2f9f80])),_0x75904c[_0x2ed93e(0x1fe)]||(_0x75904c[_0x2ed93e(0x1fe)]=!0x0,_0x75904c[_0x2ed93e(0x2bf)](_0x2ed93e(0x201),_0x14ebaf));}function _0x50f98a(){const _0x12f09b=_0xaad55f;this[_0x1a1444][_0x12f09b(0x1d4)]();}function _0x15a1f4(_0xf15869,_0x397a8f){const _0x1d6a75=_0xaad55f;this[_0x1a1444][_0x1d6a75(0x2bf)]('message',_0xf15869,_0x397a8f);}function _0x2b03a8(_0x49d471){const _0x305ec0=_0xaad55f,_0x541769=this[_0x1a1444];_0x541769['_autoPong']&&_0x541769['pong'](_0x49d471,!this[_0x305ec0(0x119)],_0x5bdfa2),_0x541769[_0x305ec0(0x2bf)](_0x305ec0(0x121),_0x49d471);}function _0x1fa2f8(_0x5779af){this[_0x1a1444]['emit']('pong',_0x5779af);}function _0x2e76(_0x45c0e4){const _0x47c51a=_0xaad55f;_0x45c0e4[_0x47c51a(0x286)]();}function _0x54da6e(_0x596b8e){const _0xe5aca3=_0xaad55f,_0x3c752c=this[_0x1a1444];_0x3c752c['readyState']!==_0x597f04[_0xe5aca3(0x17b)]&&(_0x3c752c['readyState']===_0x597f04['OPEN']&&(_0x3c752c[_0xe5aca3(0x1b8)]=_0x597f04[_0xe5aca3(0x2b9)],_0x35d71e(_0x3c752c)),this[_0xe5aca3(0x241)]['end'](),_0x3c752c['_errorEmitted']||(_0x3c752c[_0xe5aca3(0x1fe)]=!0x0,_0x3c752c['emit']('error',_0x596b8e)));}function _0x35d71e(_0x31e432){const _0xa5ea48=_0xaad55f;_0x31e432[_0xa5ea48(0x25f)]=setTimeout(_0x31e432[_0xa5ea48(0x241)][_0xa5ea48(0x2ca)][_0xa5ea48(0x2e1)](_0x31e432['_socket']),_0x7a0bc8);}function _0x64ae4a(){const _0x2b5f23=_0xaad55f,_0x57edbf=this[_0x1a1444];this['removeListener'](_0x2b5f23(0x1f7),_0x64ae4a),this[_0x2b5f23(0x182)](_0x2b5f23(0x2a9),_0x34ca9d),this[_0x2b5f23(0x182)](_0x2b5f23(0x129),_0x21f49c),_0x57edbf[_0x2b5f23(0x1b8)]=_0x597f04[_0x2b5f23(0x2b9)];let _0x2cce21;!this['_readableState'][_0x2b5f23(0x2a3)]&&!_0x57edbf[_0x2b5f23(0x1a0)]&&!_0x57edbf[_0x2b5f23(0x162)][_0x2b5f23(0x1ae)][_0x2b5f23(0x235)]&&(_0x2cce21=_0x57edbf['_socket'][_0x2b5f23(0x139)]())!==null&&_0x57edbf['_receiver'][_0x2b5f23(0x11e)](_0x2cce21),_0x57edbf['_receiver']['end'](),this[_0x1a1444]=void 0x0,clearTimeout(_0x57edbf[_0x2b5f23(0x25f)]),_0x57edbf[_0x2b5f23(0x162)][_0x2b5f23(0x1ae)][_0x2b5f23(0x1b4)]||_0x57edbf[_0x2b5f23(0x162)]['_writableState']['errorEmitted']?_0x57edbf['emitClose']():(_0x57edbf[_0x2b5f23(0x162)]['on']('error',_0x50f98a),_0x57edbf[_0x2b5f23(0x162)]['on'](_0x2b5f23(0x1a3),_0x50f98a));}function _0x34ca9d(_0x3382cd){const _0x96372e=_0xaad55f;this[_0x1a1444]['_receiver'][_0x96372e(0x11e)](_0x3382cd)||this[_0x96372e(0x16f)]();}function _0x21f49c(){const _0x23f3a7=_0xaad55f,_0x35adbb=this[_0x1a1444];_0x35adbb['_readyState']=_0x597f04[_0x23f3a7(0x2b9)],_0x35adbb[_0x23f3a7(0x162)][_0x23f3a7(0x129)](),this[_0x23f3a7(0x129)]();}function _0x1e5431(){const _0x1e5925=_0xaad55f,_0x3f0245=this[_0x1a1444];this['removeListener']('error',_0x1e5431),this['on'](_0x1e5925(0x201),_0x5bdfa2),_0x3f0245&&(_0x3f0245['_readyState']=_0x597f04[_0x1e5925(0x2b9)],this[_0x1e5925(0x2ca)]());}return _0x5d738f;}var _0x696633,_0x366e1e;function _0x15c604(){if(_0x366e1e)return _0x696633;_0x366e1e=0x1,_0x51ed98();const {Duplex:_0x567e37}=_0x4d7920;function _0x197719(_0x1da9d8){const _0x52bb48=_0x39a5;_0x1da9d8[_0x52bb48(0x2bf)]('close');}function _0x4ed024(){const _0x3b8c02=_0x39a5;!this[_0x3b8c02(0x2a7)]&&this[_0x3b8c02(0x1ae)][_0x3b8c02(0x1b4)]&&this['destroy']();}function _0x24b9f8(_0x2aad8e){const _0x5564d5=_0x39a5;this['removeListener'](_0x5564d5(0x201),_0x24b9f8),this[_0x5564d5(0x2ca)](),this['listenerCount']('error')===0x0&&this[_0x5564d5(0x2bf)]('error',_0x2aad8e);}function _0x4b7325(_0x2651bf,_0x14f989){const _0x9577a4=_0x39a5;let _0x189c41=!0x0;const _0x3937b5=new _0x567e37({..._0x14f989,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x2651bf['on'](_0x9577a4(0x1c6),function(_0x100845,_0x5af578){const _0x499f71=_0x9577a4,_0x8eada2=!_0x5af578&&_0x3937b5['_readableState']['objectMode']?_0x100845[_0x499f71(0x202)]():_0x100845;_0x3937b5[_0x499f71(0x26d)](_0x8eada2)||_0x2651bf[_0x499f71(0x16f)]();}),_0x2651bf[_0x9577a4(0x1f2)](_0x9577a4(0x201),function(_0x406c18){const _0x9c23b1=_0x9577a4;_0x3937b5[_0x9c23b1(0x2a7)]||(_0x189c41=!0x1,_0x3937b5[_0x9c23b1(0x2ca)](_0x406c18));}),_0x2651bf[_0x9577a4(0x1f2)]('close',function(){const _0xeb657f=_0x9577a4;_0x3937b5['destroyed']||_0x3937b5[_0xeb657f(0x26d)](null);}),_0x3937b5[_0x9577a4(0x20e)]=function(_0x1c90bd,_0x2e5590){const _0x4cfe2d=_0x9577a4;if(_0x2651bf['readyState']===_0x2651bf['CLOSED']){_0x2e5590(_0x1c90bd),process[_0x4cfe2d(0x157)](_0x197719,_0x3937b5);return;}let _0x5e7095=!0x1;_0x2651bf[_0x4cfe2d(0x1f2)]('error',function(_0x44eedb){_0x5e7095=!0x0,_0x2e5590(_0x44eedb);}),_0x2651bf['once'](_0x4cfe2d(0x1f7),function(){const _0x158dcf=_0x4cfe2d;_0x5e7095||_0x2e5590(_0x1c90bd),process[_0x158dcf(0x157)](_0x197719,_0x3937b5);}),_0x189c41&&_0x2651bf[_0x4cfe2d(0x296)]();},_0x3937b5[_0x9577a4(0x160)]=function(_0xff8298){const _0x10e3cc=_0x9577a4;if(_0x2651bf[_0x10e3cc(0x274)]===_0x2651bf[_0x10e3cc(0x230)]){_0x2651bf[_0x10e3cc(0x1f2)](_0x10e3cc(0x2bb),function(){const _0x517200=_0x10e3cc;_0x3937b5[_0x517200(0x160)](_0xff8298);});return;}_0x2651bf[_0x10e3cc(0x241)]!==null&&(_0x2651bf[_0x10e3cc(0x241)][_0x10e3cc(0x1ae)][_0x10e3cc(0x1b4)]?(_0xff8298(),_0x3937b5['_readableState']['endEmitted']&&_0x3937b5[_0x10e3cc(0x2ca)]()):(_0x2651bf[_0x10e3cc(0x241)][_0x10e3cc(0x1f2)](_0x10e3cc(0x1a3),function(){_0xff8298();}),_0x2651bf['close']()));},_0x3937b5[_0x9577a4(0x144)]=function(){const _0x17ca0b=_0x9577a4;_0x2651bf[_0x17ca0b(0x2c2)]&&_0x2651bf['resume']();},_0x3937b5[_0x9577a4(0x190)]=function(_0x3c5633,_0x584c56,_0x597924){const _0x1a067=_0x9577a4;if(_0x2651bf[_0x1a067(0x274)]===_0x2651bf[_0x1a067(0x230)]){_0x2651bf[_0x1a067(0x1f2)](_0x1a067(0x2bb),function(){_0x3937b5['_write'](_0x3c5633,_0x584c56,_0x597924);});return;}_0x2651bf[_0x1a067(0x209)](_0x3c5633,_0x597924);},_0x3937b5['on'](_0x9577a4(0x129),_0x4ed024),_0x3937b5['on'](_0x9577a4(0x201),_0x24b9f8),_0x3937b5;}return _0x696633=_0x4b7325,_0x696633;}_0x15c604(),_0x333a14(),_0x16190e();var _0x32341e=_0x51ed98();const _0x4aa3e0=_0x3e2d83(_0x32341e);var _0x31838a,_0x44e5ef;function _0x502e6f(){if(_0x44e5ef)return _0x31838a;_0x44e5ef=0x1;const {tokenChars:_0x14e6ab}=_0x37f5e7();function _0x1bc4a8(_0xe4fb25){const _0x2ba3ff=_0x39a5,_0x20af4c=new Set();let _0x31b779=-0x1,_0x3940db=-0x1,_0x17bcc7=0x0;for(_0x17bcc7;_0x17bcc7<_0xe4fb25[_0x2ba3ff(0x25c)];_0x17bcc7++){const _0x3b1f8b=_0xe4fb25[_0x2ba3ff(0x282)](_0x17bcc7);if(_0x3940db===-0x1&&_0x14e6ab[_0x3b1f8b]===0x1)_0x31b779===-0x1&&(_0x31b779=_0x17bcc7);else{if(_0x17bcc7!==0x0&&(_0x3b1f8b===0x20||_0x3b1f8b===0x9))_0x3940db===-0x1&&_0x31b779!==-0x1&&(_0x3940db=_0x17bcc7);else{if(_0x3b1f8b===0x2c){if(_0x31b779===-0x1)throw new SyntaxError(_0x2ba3ff(0x15a)+_0x17bcc7);_0x3940db===-0x1&&(_0x3940db=_0x17bcc7);const _0x298b31=_0xe4fb25[_0x2ba3ff(0x1fa)](_0x31b779,_0x3940db);if(_0x20af4c[_0x2ba3ff(0x245)](_0x298b31))throw new SyntaxError(_0x2ba3ff(0x228)+_0x298b31+_0x2ba3ff(0x2db));_0x20af4c[_0x2ba3ff(0x291)](_0x298b31),_0x31b779=_0x3940db=-0x1;}else throw new SyntaxError(_0x2ba3ff(0x15a)+_0x17bcc7);}}}if(_0x31b779===-0x1||_0x3940db!==-0x1)throw new SyntaxError(_0x2ba3ff(0x1d1));const _0x13bdd9=_0xe4fb25[_0x2ba3ff(0x1fa)](_0x31b779,_0x17bcc7);if(_0x20af4c[_0x2ba3ff(0x245)](_0x13bdd9))throw new SyntaxError(_0x2ba3ff(0x228)+_0x13bdd9+_0x2ba3ff(0x2db));return _0x20af4c['add'](_0x13bdd9),_0x20af4c;}return _0x31838a={'parse':_0x1bc4a8},_0x31838a;}var _0x2c701e,_0x261c4b;function _0x491af1(){const _0x3c68c6=_0x4359a2;if(_0x261c4b)return _0x2c701e;_0x261c4b=0x1;const _0x45cead=_0x2d0c38,_0x5c8736=_0x2ef0ff,{Duplex:_0xd2deed}=_0x4d7920,{createHash:_0x255e6d}=_0x491b7c,_0x550e7e=_0x52720f(),_0x5b80d3=_0x520d16(),_0x2615d8=_0x502e6f(),_0x3f9e3b=_0x51ed98(),{GUID:_0x166370,kWebSocket:_0x49ead7}=_0x1193ed(),_0x419302=/^[+/0-9A-Za-z]{22}==$/,_0x2a277a=0x0,_0x5b61da=0x1,_0x32a2b6=0x2;class _0x2bca59 extends _0x45cead{constructor(_0x1f16b5,_0xcf6dcb){const _0x34d262=_0x39a5;if(super(),_0x1f16b5={'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':_0x3f9e3b,..._0x1f16b5},_0x1f16b5['port']==null&&!_0x1f16b5['server']&&!_0x1f16b5[_0x34d262(0x180)]||_0x1f16b5['port']!=null&&(_0x1f16b5[_0x34d262(0x2b0)]||_0x1f16b5[_0x34d262(0x180)])||_0x1f16b5[_0x34d262(0x2b0)]&&_0x1f16b5[_0x34d262(0x180)])throw new TypeError(_0x34d262(0x299));if(_0x1f16b5[_0x34d262(0x218)]!=null?(this['_server']=_0x5c8736[_0x34d262(0x1ed)]((_0x44246f,_0x31afd8)=>{const _0x469cf1=_0x34d262,_0x2cd74e=_0x5c8736[_0x469cf1(0x23c)][0x1aa];_0x31afd8[_0x469cf1(0x2c4)](0x1aa,{'Content-Length':_0x2cd74e[_0x469cf1(0x25c)],'Content-Type':_0x469cf1(0x1d7)}),_0x31afd8[_0x469cf1(0x129)](_0x2cd74e);}),this[_0x34d262(0x27e)][_0x34d262(0x203)](_0x1f16b5[_0x34d262(0x218)],_0x1f16b5['host'],_0x1f16b5[_0x34d262(0x19c)],_0xcf6dcb)):_0x1f16b5[_0x34d262(0x2b0)]&&(this[_0x34d262(0x27e)]=_0x1f16b5[_0x34d262(0x2b0)]),this[_0x34d262(0x27e)]){const _0x1f33a2=this[_0x34d262(0x2bf)][_0x34d262(0x2e1)](this,'connection');this[_0x34d262(0x14c)]=_0x59aafe(this['_server'],{'listening':this[_0x34d262(0x2bf)][_0x34d262(0x2e1)](this,_0x34d262(0x223)),'error':this[_0x34d262(0x2bf)][_0x34d262(0x2e1)](this,_0x34d262(0x201)),'upgrade':(_0x1e430e,_0x2848cb,_0x40398e)=>{this['handleUpgrade'](_0x1e430e,_0x2848cb,_0x40398e,_0x1f33a2);}});}_0x1f16b5[_0x34d262(0x136)]===!0x0&&(_0x1f16b5[_0x34d262(0x136)]={}),_0x1f16b5[_0x34d262(0x2ac)]&&(this[_0x34d262(0x1db)]=new Set(),this[_0x34d262(0x261)]=!0x1),this[_0x34d262(0x279)]=_0x1f16b5,this[_0x34d262(0x18e)]=_0x2a277a;}[_0x3c68c6(0x2ce)](){const _0x583b82=_0x3c68c6;if(this[_0x583b82(0x279)]['noServer'])throw new Error(_0x583b82(0x293));return this[_0x583b82(0x27e)]?this[_0x583b82(0x27e)][_0x583b82(0x2ce)]():null;}[_0x3c68c6(0x1f7)](_0x2aa090){const _0x5246b8=_0x3c68c6;if(this[_0x5246b8(0x18e)]===_0x32a2b6){_0x2aa090&&this[_0x5246b8(0x1f2)](_0x5246b8(0x1f7),()=>{const _0x549ec2=_0x5246b8;_0x2aa090(new Error(_0x549ec2(0x264)));}),process['nextTick'](_0x734c14,this);return;}if(_0x2aa090&&this[_0x5246b8(0x1f2)](_0x5246b8(0x1f7),_0x2aa090),this[_0x5246b8(0x18e)]!==_0x5b61da){if(this[_0x5246b8(0x18e)]=_0x5b61da,this[_0x5246b8(0x279)][_0x5246b8(0x180)]||this[_0x5246b8(0x279)][_0x5246b8(0x2b0)])this[_0x5246b8(0x27e)]&&(this[_0x5246b8(0x14c)](),this['_removeListeners']=this[_0x5246b8(0x27e)]=null),this[_0x5246b8(0x1db)]?this[_0x5246b8(0x1db)]['size']?this[_0x5246b8(0x261)]=!0x0:process['nextTick'](_0x734c14,this):process[_0x5246b8(0x157)](_0x734c14,this);else{const _0x39e625=this[_0x5246b8(0x27e)];this[_0x5246b8(0x14c)](),this[_0x5246b8(0x14c)]=this[_0x5246b8(0x27e)]=null,_0x39e625[_0x5246b8(0x1f7)](()=>{_0x734c14(this);});}}}['shouldHandle'](_0x4ecc13){const _0x397090=_0x3c68c6;if(this[_0x397090(0x279)][_0x397090(0x205)]){const _0x2d6cb9=_0x4ecc13['url'][_0x397090(0x1c0)]('?');if((_0x2d6cb9!==-0x1?_0x4ecc13[_0x397090(0x14b)][_0x397090(0x1fa)](0x0,_0x2d6cb9):_0x4ecc13[_0x397090(0x14b)])!==this['options'][_0x397090(0x205)])return!0x1;}return!0x0;}[_0x3c68c6(0x2c9)](_0xe48c83,_0x1a518a,_0x46a678,_0x1b822a){const _0x4e5f56=_0x3c68c6;_0x1a518a['on'](_0x4e5f56(0x201),_0x7715be);const _0x2d7d87=_0xe48c83[_0x4e5f56(0x2b1)][_0x4e5f56(0x2cb)],_0x4beb05=_0xe48c83[_0x4e5f56(0x2b1)]['upgrade'],_0x11ef63=+_0xe48c83[_0x4e5f56(0x2b1)][_0x4e5f56(0x19e)];if(_0xe48c83['method']!==_0x4e5f56(0x17d)){_0x5a5c0b(this,_0xe48c83,_0x1a518a,0x195,_0x4e5f56(0x1de));return;}if(_0x4beb05===void 0x0||_0x4beb05[_0x4e5f56(0x13e)]()!=='websocket'){_0x5a5c0b(this,_0xe48c83,_0x1a518a,0x190,_0x4e5f56(0x146));return;}if(_0x2d7d87===void 0x0||!_0x419302['test'](_0x2d7d87)){_0x5a5c0b(this,_0xe48c83,_0x1a518a,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x11ef63!==0x8&&_0x11ef63!==0xd){_0x5a5c0b(this,_0xe48c83,_0x1a518a,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x4e5f56(0x207)](_0xe48c83)){_0x12cd07(_0x1a518a,0x190);return;}const _0x3b6f80=_0xe48c83['headers'][_0x4e5f56(0x206)];let _0x14d877=new Set();if(_0x3b6f80!==void 0x0)try{_0x14d877=_0x2615d8[_0x4e5f56(0x192)](_0x3b6f80);}catch{_0x5a5c0b(this,_0xe48c83,_0x1a518a,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0xdf8833=_0xe48c83[_0x4e5f56(0x2b1)][_0x4e5f56(0x2c3)],_0x1b1e57={};if(this[_0x4e5f56(0x279)]['perMessageDeflate']&&_0xdf8833!==void 0x0){const _0x52a01d=new _0x5b80d3(this[_0x4e5f56(0x279)][_0x4e5f56(0x136)],!0x0,this[_0x4e5f56(0x279)]['maxPayload']);try{const _0x3a1050=_0x550e7e['parse'](_0xdf8833);_0x3a1050[_0x5b80d3[_0x4e5f56(0x2a5)]]&&(_0x52a01d[_0x4e5f56(0x24e)](_0x3a1050[_0x5b80d3['extensionName']]),_0x1b1e57[_0x5b80d3['extensionName']]=_0x52a01d);}catch{_0x5a5c0b(this,_0xe48c83,_0x1a518a,0x190,_0x4e5f56(0x221));return;}}if(this[_0x4e5f56(0x279)]['verifyClient']){const _0x45ec2f={'origin':_0xe48c83[_0x4e5f56(0x2b1)][''+(_0x11ef63===0x8?_0x4e5f56(0x2bd):_0x4e5f56(0x15c))],'secure':!!(_0xe48c83[_0x4e5f56(0x149)][_0x4e5f56(0x1bf)]||_0xe48c83['socket'][_0x4e5f56(0x2af)]),'req':_0xe48c83};if(this[_0x4e5f56(0x279)]['verifyClient'][_0x4e5f56(0x25c)]===0x2){this[_0x4e5f56(0x279)][_0x4e5f56(0x1e7)](_0x45ec2f,(_0x312925,_0x4096e3,_0x29fbc3,_0x21b39f)=>{const _0x5128dd=_0x4e5f56;if(!_0x312925)return _0x12cd07(_0x1a518a,_0x4096e3||0x191,_0x29fbc3,_0x21b39f);this[_0x5128dd(0x2ad)](_0x1b1e57,_0x2d7d87,_0x14d877,_0xe48c83,_0x1a518a,_0x46a678,_0x1b822a);});return;}if(!this[_0x4e5f56(0x279)]['verifyClient'](_0x45ec2f))return _0x12cd07(_0x1a518a,0x191);}this[_0x4e5f56(0x2ad)](_0x1b1e57,_0x2d7d87,_0x14d877,_0xe48c83,_0x1a518a,_0x46a678,_0x1b822a);}[_0x3c68c6(0x2ad)](_0x34a832,_0x2b2224,_0x222d2a,_0x30f313,_0x44bab8,_0x5ec802,_0x23d75b){const _0x1b896b=_0x3c68c6;if(!_0x44bab8[_0x1b896b(0x2d1)]||!_0x44bab8['writable'])return _0x44bab8['destroy']();if(_0x44bab8[_0x49ead7])throw new Error(_0x1b896b(0x27f));if(this['_state']>_0x2a277a)return _0x12cd07(_0x44bab8,0x1f7);const _0x2a756e=['HTTP/1.1\x20101\x20Switching\x20Protocols','Upgrade:\x20websocket',_0x1b896b(0x1b6),'Sec-WebSocket-Accept:\x20'+_0x255e6d(_0x1b896b(0x19f))[_0x1b896b(0x1b1)](_0x2b2224+_0x166370)[_0x1b896b(0x1e0)]('base64')],_0x583b9d=new this['options'][(_0x1b896b(0x2e0))](null,void 0x0,this[_0x1b896b(0x279)]);if(_0x222d2a[_0x1b896b(0x2be)]){const _0xfbf6b6=this[_0x1b896b(0x279)][_0x1b896b(0x297)]?this[_0x1b896b(0x279)]['handleProtocols'](_0x222d2a,_0x30f313):_0x222d2a[_0x1b896b(0x16a)]()[_0x1b896b(0x2d7)]()['value'];_0xfbf6b6&&(_0x2a756e[_0x1b896b(0x26d)]('Sec-WebSocket-Protocol:\x20'+_0xfbf6b6),_0x583b9d[_0x1b896b(0x1d6)]=_0xfbf6b6);}if(_0x34a832[_0x5b80d3[_0x1b896b(0x2a5)]]){const _0x27c393=_0x34a832[_0x5b80d3[_0x1b896b(0x2a5)]][_0x1b896b(0x278)],_0x518c5f=_0x550e7e[_0x1b896b(0x185)]({[_0x5b80d3['extensionName']]:[_0x27c393]});_0x2a756e[_0x1b896b(0x26d)]('Sec-WebSocket-Extensions:\x20'+_0x518c5f),_0x583b9d[_0x1b896b(0x12d)]=_0x34a832;}this['emit'](_0x1b896b(0x2b1),_0x2a756e,_0x30f313),_0x44bab8['write'](_0x2a756e['concat']('\x0d\x0a')[_0x1b896b(0x262)]('\x0d\x0a')),_0x44bab8['removeListener'](_0x1b896b(0x201),_0x7715be),_0x583b9d[_0x1b896b(0x15d)](_0x44bab8,_0x5ec802,{'allowSynchronousEvents':this[_0x1b896b(0x279)][_0x1b896b(0x153)],'maxPayload':this[_0x1b896b(0x279)]['maxPayload'],'skipUTF8Validation':this['options'][_0x1b896b(0x1ba)]}),this['clients']&&(this[_0x1b896b(0x1db)][_0x1b896b(0x291)](_0x583b9d),_0x583b9d['on']('close',()=>{const _0x27dd47=_0x1b896b;this['clients'][_0x27dd47(0x2dd)](_0x583b9d),this[_0x27dd47(0x261)]&&!this[_0x27dd47(0x1db)][_0x27dd47(0x2be)]&&process[_0x27dd47(0x157)](_0x734c14,this);})),_0x23d75b(_0x583b9d,_0x30f313);}}_0x2c701e=_0x2bca59;function _0x59aafe(_0x3109a8,_0x195400){const _0x3b29cf=_0x3c68c6;for(const _0x169fba of Object[_0x3b29cf(0x1d2)](_0x195400))_0x3109a8['on'](_0x169fba,_0x195400[_0x169fba]);return function(){const _0x21258f=_0x3b29cf;for(const _0x27a2c9 of Object['keys'](_0x195400))_0x3109a8[_0x21258f(0x182)](_0x27a2c9,_0x195400[_0x27a2c9]);};}function _0x734c14(_0x16ed24){const _0x46e1b2=_0x3c68c6;_0x16ed24['_state']=_0x32a2b6,_0x16ed24['emit'](_0x46e1b2(0x1f7));}function _0x7715be(){this['destroy']();}function _0x12cd07(_0x2426d9,_0x110a61,_0x3f7112,_0x4880aa){const _0x23dcf4=_0x3c68c6;_0x3f7112=_0x3f7112||_0x5c8736[_0x23dcf4(0x23c)][_0x110a61],_0x4880aa={'Connection':'close','Content-Type':'text/html','Content-Length':Buffer[_0x23dcf4(0x29c)](_0x3f7112),..._0x4880aa},_0x2426d9[_0x23dcf4(0x1f2)](_0x23dcf4(0x1a3),_0x2426d9[_0x23dcf4(0x2ca)]),_0x2426d9[_0x23dcf4(0x129)](_0x23dcf4(0x254)+_0x110a61+'\x20'+_0x5c8736[_0x23dcf4(0x23c)][_0x110a61]+'\x0d\x0a'+Object[_0x23dcf4(0x1d2)](_0x4880aa)[_0x23dcf4(0x26f)](_0x58c6ea=>_0x58c6ea+':\x20'+_0x4880aa[_0x58c6ea])[_0x23dcf4(0x262)]('\x0d\x0a')+_0x23dcf4(0x1ee)+_0x3f7112);}function _0x5a5c0b(_0x577a23,_0xe9d68a,_0x5a1a15,_0x400bc3,_0x21bb1b){const _0x5850b6=_0x3c68c6;if(_0x577a23[_0x5850b6(0x13f)](_0x5850b6(0x247))){const _0x3499f0=new Error(_0x21bb1b);Error[_0x5850b6(0x2a4)](_0x3499f0,_0x5a5c0b),_0x577a23['emit'](_0x5850b6(0x247),_0x3499f0,_0x5a1a15,_0xe9d68a);}else _0x12cd07(_0x5a1a15,_0x400bc3,_0x21bb1b);}return _0x2c701e;}_0x491af1();var _0x1da56b=Object[_0x4359a2(0x26b)],_0x2239bc=(_0x4f5976,_0x3f7407,_0xb9dba,_0x1efd09)=>{const _0x4e1261=_0x4359a2;for(var _0x4deafd=_0x1efd09>0x1?void 0x0:_0x1efd09?_0x1da56b(_0x3f7407,_0xb9dba):_0x3f7407,_0x5f5ebe=_0x4f5976[_0x4e1261(0x25c)]-0x1,_0x2542f7;_0x5f5ebe>=0x0;_0x5f5ebe--)(_0x2542f7=_0x4f5976[_0x5f5ebe])&&(_0x4deafd=_0x2542f7(_0x4deafd)||_0x4deafd);return _0x4deafd;},_0x1bd64d=(_0x2394df,_0x24de42)=>(_0x3e4f03,_0x40233b)=>_0x24de42(_0x3e4f03,_0x40233b,_0x2394df);let _0x710596=class extends _0x583a56[_0x4359a2(0x2e2)]{constructor(_0x60e0a0){const _0x2a1077=_0x4359a2;super(),this[_0x2a1077(0x15b)]=_0x60e0a0;}[_0x4359a2(0x22a)](_0x6dfda7){const _0x4002fc=_0x4359a2;var _0x784d39;const _0x5cb476=(_0x784d39=this['_configService'][_0x4002fc(0x124)](_0x41ae6d))==null?void 0x0:_0x784d39[_0x4002fc(0x251)];try{const _0x1c0633=new _0x4aa3e0(_0x6dfda7,{'headers':{..._0x5cb476}}),_0x33b0e6=new _0x583a56[(_0x4002fc(0x17c))]();return{'URL':_0x6dfda7,'close':(_0x3eb8f1,_0x3c44cf)=>{const _0x42c027=_0x4002fc;_0x1c0633[_0x42c027(0x1f7)](_0x3eb8f1,_0x3c44cf),_0x33b0e6[_0x42c027(0x156)]();},'send':_0x2e1bb3=>{const _0x1fbe1b=_0x4002fc;_0x1c0633[_0x1fbe1b(0x209)](_0x2e1bb3);},'open$':new _0x39e96b[(_0x4002fc(0x1a9))](_0x406ecf=>{const _0x5c8c99=_0x4002fc,_0x53cc2d=_0x574e7b=>_0x406ecf['next'](_0x574e7b);_0x1c0633['addEventListener']('open',_0x53cc2d),_0x33b0e6[_0x5c8c99(0x291)](_0x583a56[_0x5c8c99(0x165)](()=>_0x1c0633['removeEventListener'](_0x5c8c99(0x2bb),_0x53cc2d)));})[_0x4002fc(0x2b4)](_0x39e96b[_0x4002fc(0x243)]()),'close$':new _0x39e96b[(_0x4002fc(0x1a9))](_0x2cdfdd=>{const _0x337386=_0x4002fc,_0xcd4c8f=_0x2b28a7=>_0x2cdfdd['next'](_0x2b28a7);_0x1c0633[_0x337386(0x2e3)](_0x337386(0x1f7),_0xcd4c8f),_0x33b0e6[_0x337386(0x291)](_0x583a56['toDisposable'](()=>_0x1c0633[_0x337386(0x232)](_0x337386(0x1f7),_0xcd4c8f)));})[_0x4002fc(0x2b4)](_0x39e96b[_0x4002fc(0x243)]()),'error$':new _0x39e96b['Observable'](_0x2aee80=>{const _0x16cc62=_0x4002fc,_0x350ebc=_0x1dec81=>_0x2aee80[_0x16cc62(0x2d7)](_0x1dec81);_0x1c0633[_0x16cc62(0x2e3)](_0x16cc62(0x201),_0x350ebc),_0x33b0e6[_0x16cc62(0x291)](_0x583a56[_0x16cc62(0x165)](()=>_0x1c0633[_0x16cc62(0x232)](_0x16cc62(0x201),_0x350ebc)));})['pipe'](_0x39e96b[_0x4002fc(0x243)]()),'message$':new _0x39e96b[(_0x4002fc(0x1a9))](_0xc4e097=>{const _0x1eaa55=_0x4002fc,_0x12d860=_0x36b503=>_0xc4e097[_0x1eaa55(0x2d7)](_0x36b503);_0x1c0633[_0x1eaa55(0x2e3)](_0x1eaa55(0x1c6),_0x12d860),_0x33b0e6['add'](_0x583a56[_0x1eaa55(0x165)](()=>_0x1c0633[_0x1eaa55(0x232)](_0x1eaa55(0x1c6),_0x12d860)));})[_0x4002fc(0x2b4)](_0x39e96b[_0x4002fc(0x243)]())};}catch(_0x434ae7){return console['error'](_0x434ae7),null;}}};_0x710596=_0x2239bc([_0x1bd64d(0x0,_0x583a56[_0x4359a2(0x20f)])],_0x710596);var _0x494c7d=Object[_0x4359a2(0x216)],_0x277f09=Object[_0x4359a2(0x26b)],_0xa7dc4d=(_0x2631c3,_0x8ac298,_0x24b8f8)=>_0x8ac298 in _0x2631c3?_0x494c7d(_0x2631c3,_0x8ac298,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x24b8f8}):_0x2631c3[_0x8ac298]=_0x24b8f8,_0xf1c2a9=(_0x45904a,_0x1f5a5f,_0x2121f4,_0x22c907)=>{const _0x197548=_0x4359a2;for(var _0x41d352=_0x22c907>0x1?void 0x0:_0x22c907?_0x277f09(_0x1f5a5f,_0x2121f4):_0x1f5a5f,_0x2ee697=_0x45904a[_0x197548(0x25c)]-0x1,_0x8563ea;_0x2ee697>=0x0;_0x2ee697--)(_0x8563ea=_0x45904a[_0x2ee697])&&(_0x41d352=_0x8563ea(_0x41d352)||_0x41d352);return _0x41d352;},_0x24dfe3=(_0x5a5586,_0x18614a)=>(_0x3aa90b,_0x27b7f5)=>_0x18614a(_0x3aa90b,_0x27b7f5,_0x5a5586),_0x1788a0=(_0xad6dc0,_0x2a5e07,_0xd57938)=>_0xa7dc4d(_0xad6dc0,_0x2a5e07+'',_0xd57938);_0x4e2e3c[_0x4359a2(0x267)]=class extends _0x583a56[_0x4359a2(0x1c1)]{constructor(_0x47b56a=_0x2ca501,_0x316eef,_0x5a5bf6,_0x2cada7){const _0x17850a=_0x4359a2;_0x47b56a[_0x17850a(0x251)]||_0x316eef[_0x17850a(0x194)](_0x17850a(0x255)),super(),this[_0x17850a(0x15b)]=_0x5a5bf6,this[_0x17850a(0x13b)]=_0x2cada7,this[_0x17850a(0x15b)][_0x17850a(0x138)](_0x41ae6d,_0x47b56a);}['onStarting'](){const _0x144734=_0x4359a2;this[_0x144734(0x2b5)]();}[_0x4359a2(0x2b5)](){const _0x32ac90=_0x4359a2;_0x583a56[_0x32ac90(0x226)](this[_0x32ac90(0x13b)],[[_0x53aa53[_0x32ac90(0x2de)],{'useClass':_0x710596}]]);}},_0x1788a0(_0x4e2e3c[_0x4359a2(0x267)],_0x4359a2(0x259),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),_0x4e2e3c['UniverCollaborationClientNodePlugin']=_0xf1c2a9([_0x583a56[_0x4359a2(0x171)](_0x543172['UniverCollaborationClientPlugin']),_0x24dfe3(0x1,_0x583a56[_0x4359a2(0x127)]),_0x24dfe3(0x2,_0x583a56[_0x4359a2(0x20f)]),_0x24dfe3(0x3,_0x583a56[_0x4359a2(0x29a)](_0x583a56[_0x4359a2(0x212)]))],_0x4e2e3c[_0x4359a2(0x267)]);var _0x982e10=Object['getOwnPropertyDescriptor'],_0x365ccf=(_0x1f8150,_0x7ed315,_0x46dfa4,_0x143bde)=>{const _0x25a93c=_0x4359a2;for(var _0x140123=_0x143bde>0x1?void 0x0:_0x143bde?_0x982e10(_0x7ed315,_0x46dfa4):_0x7ed315,_0x439db0=_0x1f8150[_0x25a93c(0x25c)]-0x1,_0x20178b;_0x439db0>=0x0;_0x439db0--)(_0x20178b=_0x1f8150[_0x439db0])&&(_0x140123=_0x20178b(_0x140123)||_0x140123);return _0x140123;},_0x349f25=(_0x38d60d,_0x175796)=>(_0x2486c3,_0x5818e2)=>_0x175796(_0x2486c3,_0x5818e2,_0x38d60d);_0x4e2e3c[_0x4359a2(0x1e6)]=class extends _0x543172[_0x4359a2(0x238)]{constructor(_0x7924e7,_0x4bc376,_0x376809,_0xfed9bf,_0x21ac5c){const _0x5b239f=_0x4359a2;super(_0x7924e7,_0x4bc376,_0x376809,_0xfed9bf,_0x21ac5c);const _0x203723=this[_0x5b239f(0x15b)]['getConfig'](_0x41ae6d);this[_0x5b239f(0x25b)][_0x5b239f(0x1d8)]({'interceptor':(_0x19b2d4,_0x20e79c)=>{const _0xfb4fc8=_0x5b239f;var _0x1dcf0c;const _0x2d97c8=_0x19b2d4[_0xfb4fc8(0x2b1)];return(_0x1dcf0c=_0x203723==null?void 0x0:_0x203723[_0xfb4fc8(0x251)])!=null&&_0x1dcf0c[_0xfb4fc8(0x283)]&&_0x2d97c8[_0xfb4fc8(0x1e4)](_0xfb4fc8(0x130),_0x203723[_0xfb4fc8(0x251)][_0xfb4fc8(0x283)]),_0x20e79c(_0x19b2d4);}});}async[_0x4359a2(0x22a)](_0x396c40){const _0x5e331c=_0x4359a2;return this[_0x5e331c(0x220)](_0x396c40);}},_0x4e2e3c[_0x4359a2(0x1e6)]=_0x365ccf([_0x349f25(0x0,_0x583a56[_0x4359a2(0x29a)](_0x583a56[_0x4359a2(0x212)])),_0x349f25(0x1,_0x583a56[_0x4359a2(0x29a)](_0x53aa53[_0x4359a2(0x150)])),_0x349f25(0x2,_0x583a56[_0x4359a2(0x20f)]),_0x349f25(0x3,_0x583a56[_0x4359a2(0x127)]),_0x349f25(0x4,_0x18fe53['ISnapshotServerService'])],_0x4e2e3c[_0x4359a2(0x1e6)]),_0x4e2e3c[_0x4359a2(0x249)]=_0x41ae6d,Object[_0x4359a2(0x216)](_0x4e2e3c,Symbol['toStringTag'],{'value':_0x4359a2(0x1c4)});}));function _0x39a5(_0xf2c123,_0x41ba14){const _0x42d690=_0x42d6();return _0x39a5=function(_0x39a52b,_0xc5af85){_0x39a52b=_0x39a52b-0x119;let _0x2fde70=_0x42d690[_0x39a52b];return _0x2fde70;},_0x39a5(_0xf2c123,_0x41ba14);}function _0x42d6(){const _0x3b9fce=['number','push','createConnection','map','Sec-WebSocket-Extensions','rsv1','__esModule','Invalid\x20value\x20for\x20parameter\x20\x22','readyState','UniverProCollaborationClientNode','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','maxRedirects','params','options','createInflateRaw','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','pending','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_server','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_queue','readUInt16BE','charCodeAt','cookie','test','Unknown\x20parameter\x20\x22','resume','Sec-WebSocket-Protocol','default','entries','2920pWtVYe','code','kMessage','92241rVVCwF','client_max_window_bits','_opcode','shift','add','arrayBuffer','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','require$$2$1','flush','terminate','handleProtocols','_originalSecure','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','Inject','pong','byteLength','_errored','Basic\x20','buffers','_sender','_closeCode','getBlobData','endEmitted','captureStackTrace','extensionName','isView','destroyed','_deflate','data','redirect','password','clientTracking','completeUpgrade','_bufferedAmount','encrypted','server','headers','handshakeTimeout','WS_NO_BUFFER_UTIL','pipe','_registerDependencies','onerror','concurrency','The\x20URL\x27s\x20pathname\x20is\x20empty','CLOSING','invalid\x20opcode\x20','open','replace','sec-websocket-origin','size','emit','hostname','readUInt32BE','isPaused','sec-websocket-extensions','writeHead','kCode','startLoop','isValidUTF8','permessage-deflate','handleUpgrade','destroy','sec-websocket-key','rxjs','4kAIewP','address','pow','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','readable','_max_window_bits','onmessage','clientMaxWindowBits','concat','require$$1$2','next','MASK\x20must\x20be\x20clear','Parameter\x20\x22','525PfjBkk','\x22\x20subprotocol\x20is\x20duplicated','function','delete','ISocketService','kRun','WebSocket','bind','Disposable','addEventListener','UniverProCollaborationClient','create','kWasClean','concurrencyLimit','haveLength','_allowSynchronousEvents','_isServer','pathname','WS_ERR_INVALID_UTF8','_mask','websocket','write','offer','336qaSpuq','ping','frame','socketPath','getConfig','cleanup','hasOwnProperty','ILogService','https','end','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','WS_ERR_UNEXPECTED_RSV_2_3','enqueue','_extensions','kAborted','kTarget','Cookie','location','isIP','_paused','require$$4','controlMessage','perMessageDeflate','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','setConfig','read','upgrade','_injector','_decompress','OPEN','toLowerCase','listenerCount','get','Server\x20sent\x20no\x20subprotocol','auth','isArray','_read','Invalid\x20Sec-WebSocket-Extensions\x20header','Invalid\x20Upgrade\x20header','_originalHostOrSocketPath','@univerjs-pro/collaboration-client','socket','_generateMask','url','_removeListeners','478608RUfCmm','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','WS_ERR_EXPECTED_MASK','HTTPService','href','client_no_context_takeover','allowSynchronousEvents','WS_ERR_INVALID_OPCODE','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','dispose','nextTick','tls','_url','Unexpected\x20character\x20at\x20index\x20','_configService','origin','setSocket','Invalid\x20URL:\x20','callback','_final','Invalid\x20WebSocket\x20frame:\x20','_receiver','setHeader','_fragmented','toDisposable','target','_binaryType','env','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','values','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','_inflate','_skipUTF8Validation','stream','pause','prototype','DependentOn','isServer','_redirects','consume','invalid\x20opcode\x200','\x22:\x20','servername','_closeMessage','authorization','_messageLength','CLOSED','DisposableCollection','GET','WS_NO_UTF_8_VALIDATE','includes','noServer','_originalIpc','removeListener','string','acceptAsServer','format','Z_DEFAULT_WINDOWBITS','Origin','ws+unix:','318480rlzpML','status-code','RSV1\x20must\x20be\x20clear','_compressed','createError','_state','unexpected-response','_write','call','parse','Unsupported\x20protocol\x20version:\x20','warn','kError','WS_ERR_UNEXPECTED_MASK','username','kDone','buffer','needDrain','protocol','backlog','startsWith','sec-websocket-version','sha1','_closeFrameReceived','blob','_payloadLength','finish','getInfo','extensions','binary','require$$0','sendFrame','Observable','removeAllListeners','fin','_fragments','autoPong','_writableState','crypto','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','update','forEach','setNoDelay','finished','@univerjs/network','Connection:\x20Upgrade','_masked','_readyState','acceptAsClient','skipUTF8Validation','_closeFrameSent','http','decompress','unmask','authorized','indexOf','Plugin','client','kData','Module','getMask','message','kType','\x20(supported\x20versions:\x20','catch','conclude','nodebuffer','from','base64','zlib','abort','_maskBuffer','Unexpected\x20end\x20of\x20input','keys','readOnly','emitClose','_buffers','_protocol','text/plain','registerHTTPInterceptor','construct','request','clients','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','host','Invalid\x20HTTP\x20method','wss:','digest','net','WS_ERR_UNEXPECTED_RSV_1','jobs','set','_totalPayloadLength','NodeCollaborationSocketService','verifyClient','species','server_max_window_bits','kListener','listeners','2298775JILiDx','createServer','\x0d\x0a\x0d\x0a','wasClean','protocolVersion','invalid\x20status\x20code\x20','once','find','Opening\x20handshake\x20has\x20timed\x20out','invalid\x20UTF-8\x20sequence','_options','close','dispatch','_compress','slice','object','generateMask','require$$3','_errorEmitted','MASK\x20must\x20be\x20set','dataMessage','error','toString','listen','http:','path','sec-websocket-protocol','shouldHandle','maxPayload','send','finishRequest','timeout','byteOffset','clientNoContextTakeover','_destroy','IConfigService','require$$1$1','type','Injector','require$$0$1','_fin','compress','defineProperty','_threshold','port','_maxPayload','writeUInt16BE','_autoPong','kIsForOnEventAttribute','serverNoContextTakeover','WS_ERR_INVALID_CLOSE_CODE','statusCode','_doCreateSocket','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_bufferedBytes','listening','apply','Upgrade','registerDependencies','allocUnsafe','The\x20\x22','binaryType','createSocket','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_req','search','hash','threshold','CONNECTING','UniverNetwork','removeEventListener','events','toStringTag','errorEmitted','48915gMIFgn','opcode','CollaborationSocketService','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','onclose','STATUS_CODES','@univerjs/core','isInteger','35123DrXycX','Max\x20payload\x20size\x20exceeded','_socket','UniverProCollaboration','share','_firstFragment','has','server_no_context_takeover','wsClientError','arraybuffer','COLLABORATION_CLIENT_NODE_CONFIG_KEY','zlibDeflateOptions','exports','serverMaxWindowBits','2694hqzWDO','accept','Server\x20sent\x20an\x20invalid\x20subprotocol','alloc','customHeaders','FIN\x20must\x20be\x20set','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','HTTP/1.1\x20','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','reset','reason','ws:','pluginName','handleEvent','_httpService','length','mask','followRedirects','_closeTimer','Unexpected\x20server\x20response:\x20','_shouldEmitClose','join','getData','The\x20server\x20is\x20not\x20running','bufferedAmount','split','UniverCollaborationClientNodePlugin','dequeue','fragments','_loop','getOwnPropertyDescriptor'];_0x42d6=function(){return _0x3b9fce;};return _0x42d6();}
|
|
1
|
+
(function(_0x50db08,_0x969087){const _0x26c059=_0x2816,_0x5a1408=_0x50db08();while(!![]){try{const _0x17bcc4=parseInt(_0x26c059(0x348))/0x1+parseInt(_0x26c059(0x1fc))/0x2+-parseInt(_0x26c059(0x34e))/0x3*(-parseInt(_0x26c059(0x2b8))/0x4)+-parseInt(_0x26c059(0x2d9))/0x5*(parseInt(_0x26c059(0x1de))/0x6)+-parseInt(_0x26c059(0x30c))/0x7*(parseInt(_0x26c059(0x36b))/0x8)+-parseInt(_0x26c059(0x29a))/0x9*(parseInt(_0x26c059(0x225))/0xa)+-parseInt(_0x26c059(0x253))/0xb*(-parseInt(_0x26c059(0x378))/0xc);if(_0x17bcc4===_0x969087)break;else _0x5a1408['push'](_0x5a1408['shift']());}catch(_0x4f6723){_0x5a1408['push'](_0x5a1408['shift']());}}}(_0x50d4,0x88589),function(_0x1e7767,_0x543e08){const _0x2619e2=_0x2816;typeof exports==_0x2619e2(0x25e)&&typeof module<'u'?_0x543e08(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require(_0x2619e2(0x2db)),require(_0x2619e2(0x1db)),require(_0x2619e2(0x1b6)),require('https'),require(_0x2619e2(0x202)),require(_0x2619e2(0x226)),require('tls'),require('crypto'),require(_0x2619e2(0x356)),require(_0x2619e2(0x1aa)),require('zlib'),require(_0x2619e2(0x266)),require(_0x2619e2(0x258))):typeof define=='function'&&define[_0x2619e2(0x1c5)]?define([_0x2619e2(0x2f2),'@univerjs-pro/collaboration-client',_0x2619e2(0x37a),'@univerjs/network',_0x2619e2(0x1db),_0x2619e2(0x1b6),_0x2619e2(0x30e),'http',_0x2619e2(0x226),'tls',_0x2619e2(0x210),_0x2619e2(0x356),_0x2619e2(0x1aa),_0x2619e2(0x250),_0x2619e2(0x266),_0x2619e2(0x258)],_0x543e08):(_0x1e7767=typeof globalThis<'u'?globalThis:_0x1e7767||self,_0x543e08(_0x1e7767['UniverProCollaborationClientNode']={},_0x1e7767[_0x2619e2(0x2d1)],_0x1e7767[_0x2619e2(0x200)],_0x1e7767[_0x2619e2(0x32d)],_0x1e7767['rxjs'],_0x1e7767['require$$0$3'],_0x1e7767[_0x2619e2(0x1c3)],_0x1e7767[_0x2619e2(0x1b1)],_0x1e7767[_0x2619e2(0x351)],_0x1e7767[_0x2619e2(0x22b)],_0x1e7767[_0x2619e2(0x1f6)],_0x1e7767[_0x2619e2(0x32f)],_0x1e7767[_0x2619e2(0x301)],_0x1e7767[_0x2619e2(0x206)],_0x1e7767['require$$0$1'],_0x1e7767[_0x2619e2(0x331)]));}(this,function(_0x19d4bc,_0x499c7c,_0x567aa6,_0x17feb1,_0x1f9930,_0x31e0f3,_0x1de2f0,_0x43406f,_0x584fd2,_0x16744e,_0x950ed8,_0x2c2711,_0x5c0525,_0xec73ed,_0x5ca9d1,_0x3c1ee0){'use strict';const _0x4df616=_0x2816;const _0x5a40b8=_0x4df616(0x29b),_0x17b187={'customHeaders':{}};function _0x55275f(_0xac3529){const _0x157e55=_0x4df616;return _0xac3529&&_0xac3529[_0x157e55(0x281)]&&Object['prototype'][_0x157e55(0x240)][_0x157e55(0x2ac)](_0xac3529,'default')?_0xac3529[_0x157e55(0x280)]:_0xac3529;}function _0x21bef5(_0x182cf6){const _0x4485a5=_0x4df616;if(_0x182cf6[_0x4485a5(0x281)])return _0x182cf6;var _0x4d9596=_0x182cf6[_0x4485a5(0x280)];if(typeof _0x4d9596==_0x4485a5(0x346)){var _0x261a07=function _0x5ebddb(){const _0x27b49e=_0x4485a5;return this instanceof _0x5ebddb?Reflect[_0x27b49e(0x1bf)](_0x4d9596,arguments,this[_0x27b49e(0x1b3)]):_0x4d9596[_0x27b49e(0x332)](this,arguments);};_0x261a07[_0x4485a5(0x272)]=_0x4d9596[_0x4485a5(0x272)];}else _0x261a07={};return Object[_0x4485a5(0x1e5)](_0x261a07,_0x4485a5(0x281),{'value':!0x0}),Object[_0x4485a5(0x2be)](_0x182cf6)[_0x4485a5(0x2e9)](function(_0x59a72e){const _0x1de65a=_0x4485a5;var _0x1a9928=Object[_0x1de65a(0x27f)](_0x182cf6,_0x59a72e);Object[_0x1de65a(0x1e5)](_0x261a07,_0x59a72e,_0x1a9928[_0x1de65a(0x205)]?_0x1a9928:{'enumerable':!0x0,'get':function(){return _0x182cf6[_0x59a72e];}});}),_0x261a07;}var _0x2a2d49={'exports':{}},_0x315b16,_0x4fd4a4;function _0x1b5228(){const _0x17d4d3=_0x4df616;if(_0x4fd4a4)return _0x315b16;_0x4fd4a4=0x1;const _0x52db62=['nodebuffer',_0x17d4d3(0x23f),_0x17d4d3(0x31e)],_0x2fd8a4=typeof Blob<'u';return _0x2fd8a4&&_0x52db62['push']('blob'),_0x315b16={'BINARY_TYPES':_0x52db62,'EMPTY_BUFFER':Buffer[_0x17d4d3(0x217)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x2fd8a4,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x17d4d3(0x276)),'kStatusCode':Symbol(_0x17d4d3(0x375)),'kWebSocket':Symbol(_0x17d4d3(0x363)),'NOOP':()=>{}},_0x315b16;}const _0x2ad06f=_0x21bef5(Object[_0x4df616(0x25d)](Object['defineProperty']({'__proto__':null,'default':{}},Symbol[_0x4df616(0x33b)],{'value':'Module'})));var _0x401d59;function _0x473b7b(){const _0x3e211f=_0x4df616;if(_0x401d59)return _0x2a2d49['exports'];_0x401d59=0x1;const {EMPTY_BUFFER:_0x2bf96d}=_0x1b5228(),_0x47254e=Buffer[Symbol[_0x3e211f(0x2ff)]];function _0x4839bd(_0x112ccf,_0x3b5e70){const _0x17dd6d=_0x3e211f;if(_0x112ccf['length']===0x0)return _0x2bf96d;if(_0x112ccf[_0x17dd6d(0x221)]===0x1)return _0x112ccf[0x0];const _0x13db21=Buffer['allocUnsafe'](_0x3b5e70);let _0x5e526b=0x0;for(let _0x16e59e=0x0;_0x16e59e<_0x112ccf[_0x17dd6d(0x221)];_0x16e59e++){const _0x2ff5b9=_0x112ccf[_0x16e59e];_0x13db21[_0x17dd6d(0x21e)](_0x2ff5b9,_0x5e526b),_0x5e526b+=_0x2ff5b9[_0x17dd6d(0x221)];}return _0x5e526b<_0x3b5e70?new _0x47254e(_0x13db21[_0x17dd6d(0x266)],_0x13db21[_0x17dd6d(0x1f7)],_0x5e526b):_0x13db21;}function _0x112648(_0x1aa56a,_0x421116,_0x44cd7f,_0x12cafc,_0x2e5ef8){for(let _0x49952a=0x0;_0x49952a<_0x2e5ef8;_0x49952a++)_0x44cd7f[_0x12cafc+_0x49952a]=_0x1aa56a[_0x49952a]^_0x421116[_0x49952a&0x3];}function _0x35eb9f(_0x439149,_0x857c09){const _0x3418b3=_0x3e211f;for(let _0x2299a7=0x0;_0x2299a7<_0x439149[_0x3418b3(0x221)];_0x2299a7++)_0x439149[_0x2299a7]^=_0x857c09[_0x2299a7&0x3];}function _0x55ce61(_0x3bb9a0){const _0x4f7b4c=_0x3e211f;return _0x3bb9a0[_0x4f7b4c(0x221)]===_0x3bb9a0[_0x4f7b4c(0x266)][_0x4f7b4c(0x34d)]?_0x3bb9a0[_0x4f7b4c(0x266)]:_0x3bb9a0[_0x4f7b4c(0x266)]['slice'](_0x3bb9a0[_0x4f7b4c(0x1f7)],_0x3bb9a0['byteOffset']+_0x3bb9a0['length']);}function _0x2a4828(_0x343090){const _0x3743d8=_0x3e211f;if(_0x2a4828[_0x3743d8(0x1ea)]=!0x0,Buffer[_0x3743d8(0x229)](_0x343090))return _0x343090;let _0x2e142d;return _0x343090 instanceof ArrayBuffer?_0x2e142d=new _0x47254e(_0x343090):ArrayBuffer[_0x3743d8(0x345)](_0x343090)?_0x2e142d=new _0x47254e(_0x343090['buffer'],_0x343090[_0x3743d8(0x1f7)],_0x343090[_0x3743d8(0x34d)]):(_0x2e142d=Buffer['from'](_0x343090),_0x2a4828[_0x3743d8(0x1ea)]=!0x1),_0x2e142d;}if(_0x2a2d49[_0x3e211f(0x2f2)]={'concat':_0x4839bd,'mask':_0x112648,'toArrayBuffer':_0x55ce61,'toBuffer':_0x2a4828,'unmask':_0x35eb9f},!process[_0x3e211f(0x339)][_0x3e211f(0x31d)])try{const _0x3e3799=_0x2ad06f;_0x2a2d49[_0x3e211f(0x2f2)][_0x3e211f(0x1bd)]=function(_0x5af9b5,_0x5b8727,_0x2dba8d,_0x1bf876,_0x4501dc){const _0x2ab17f=_0x3e211f;_0x4501dc<0x30?_0x112648(_0x5af9b5,_0x5b8727,_0x2dba8d,_0x1bf876,_0x4501dc):_0x3e3799[_0x2ab17f(0x1bd)](_0x5af9b5,_0x5b8727,_0x2dba8d,_0x1bf876,_0x4501dc);},_0x2a2d49[_0x3e211f(0x2f2)][_0x3e211f(0x27b)]=function(_0x2189b6,_0x15051d){const _0x397c54=_0x3e211f;_0x2189b6[_0x397c54(0x221)]<0x20?_0x35eb9f(_0x2189b6,_0x15051d):_0x3e3799[_0x397c54(0x27b)](_0x2189b6,_0x15051d);};}catch{}return _0x2a2d49['exports'];}var _0x27fff2,_0x41a7b9;function _0x224585(){const _0x21c4fe=_0x4df616;if(_0x41a7b9)return _0x27fff2;_0x41a7b9=0x1;const _0x3f0860=Symbol(_0x21c4fe(0x2d2)),_0x571f86=Symbol(_0x21c4fe(0x1e8));class _0x3e6c7d{constructor(_0x5b1980){const _0x436994=_0x21c4fe;this[_0x3f0860]=()=>{this['pending']--,this[_0x571f86]();},this[_0x436994(0x2f6)]=_0x5b1980||0x1/0x0,this['jobs']=[],this[_0x436994(0x1ed)]=0x0;}[_0x21c4fe(0x2e1)](_0x530e0b){const _0x2ab50d=_0x21c4fe;this[_0x2ab50d(0x335)]['push'](_0x530e0b),this[_0x571f86]();}[_0x571f86](){const _0x4db719=_0x21c4fe;if(this[_0x4db719(0x1ed)]!==this[_0x4db719(0x2f6)]&&this[_0x4db719(0x335)][_0x4db719(0x221)]){const _0x318d1f=this[_0x4db719(0x335)][_0x4db719(0x1d0)]();this[_0x4db719(0x1ed)]++,_0x318d1f(this[_0x3f0860]);}}}return _0x27fff2=_0x3e6c7d,_0x27fff2;}var _0x4ec8b5,_0x82baa8;function _0x1aeb37(){const _0x2bd716=_0x4df616;if(_0x82baa8)return _0x4ec8b5;_0x82baa8=0x1;const _0x45bfb3=_0xec73ed,_0x449abd=_0x473b7b(),_0x1da526=_0x224585(),{kStatusCode:_0x23f74e}=_0x1b5228(),_0x517d9a=Buffer[Symbol[_0x2bd716(0x2ff)]],_0x3b6828=Buffer['from']([0x0,0x0,0xff,0xff]),_0x4781fd=Symbol('permessage-deflate'),_0x4a8232=Symbol(_0x2bd716(0x1f3)),_0x2a9dda=Symbol(_0x2bd716(0x267)),_0x32059a=Symbol(_0x2bd716(0x28e)),_0x2f1a3f=Symbol(_0x2bd716(0x20a));let _0x4a1e9e;class _0x22f16d{constructor(_0x44904b,_0x4a7819,_0x40c392){const _0x41584c=_0x2bd716;if(this['_maxPayload']=_0x40c392|0x0,this[_0x41584c(0x2bc)]=_0x44904b||{},this[_0x41584c(0x1ff)]=this[_0x41584c(0x2bc)][_0x41584c(0x215)]!==void 0x0?this[_0x41584c(0x2bc)][_0x41584c(0x215)]:0x400,this['_isServer']=!!_0x4a7819,this['_deflate']=null,this[_0x41584c(0x1a9)]=null,this[_0x41584c(0x20f)]=null,!_0x4a1e9e){const _0x27b7f6=this['_options'][_0x41584c(0x223)]!==void 0x0?this[_0x41584c(0x2bc)][_0x41584c(0x223)]:0xa;_0x4a1e9e=new _0x1da526(_0x27b7f6);}}static get[_0x2bd716(0x271)](){const _0x46cc80=_0x2bd716;return _0x46cc80(0x265);}['offer'](){const _0x4e9e72=_0x2bd716,_0x2c07fb={};return this[_0x4e9e72(0x2bc)][_0x4e9e72(0x376)]&&(_0x2c07fb[_0x4e9e72(0x328)]=!0x0),this[_0x4e9e72(0x2bc)]['clientNoContextTakeover']&&(_0x2c07fb['client_no_context_takeover']=!0x0),this[_0x4e9e72(0x2bc)][_0x4e9e72(0x278)]&&(_0x2c07fb['server_max_window_bits']=this[_0x4e9e72(0x2bc)]['serverMaxWindowBits']),this['_options']['clientMaxWindowBits']?_0x2c07fb['client_max_window_bits']=this['_options'][_0x4e9e72(0x1d3)]:this[_0x4e9e72(0x2bc)][_0x4e9e72(0x1d3)]==null&&(_0x2c07fb[_0x4e9e72(0x318)]=!0x0),_0x2c07fb;}[_0x2bd716(0x1d9)](_0x47ef7c){const _0x142948=_0x2bd716;return _0x47ef7c=this[_0x142948(0x1c7)](_0x47ef7c),this[_0x142948(0x20f)]=this[_0x142948(0x364)]?this[_0x142948(0x2f5)](_0x47ef7c):this[_0x142948(0x372)](_0x47ef7c),this[_0x142948(0x20f)];}['cleanup'](){const _0x2e512e=_0x2bd716;if(this[_0x2e512e(0x1a9)]&&(this['_inflate'][_0x2e512e(0x21a)](),this[_0x2e512e(0x1a9)]=null),this[_0x2e512e(0x245)]){const _0x38d3af=this['_deflate'][_0x2a9dda];this['_deflate'][_0x2e512e(0x21a)](),this[_0x2e512e(0x245)]=null,_0x38d3af&&_0x38d3af(new Error(_0x2e512e(0x33d)));}}['acceptAsServer'](_0x24a0f7){const _0x112349=_0x2bd716,_0x3c0abc=this[_0x112349(0x2bc)],_0x3b7fe9=_0x24a0f7[_0x112349(0x1f5)](_0x518daa=>!(_0x3c0abc[_0x112349(0x376)]===!0x1&&_0x518daa['server_no_context_takeover']||_0x518daa[_0x112349(0x1f9)]&&(_0x3c0abc[_0x112349(0x278)]===!0x1||typeof _0x3c0abc['serverMaxWindowBits']==_0x112349(0x361)&&_0x3c0abc['serverMaxWindowBits']>_0x518daa[_0x112349(0x1f9)])||typeof _0x3c0abc[_0x112349(0x1d3)]==_0x112349(0x361)&&!_0x518daa[_0x112349(0x318)]));if(!_0x3b7fe9)throw new Error(_0x112349(0x316));return _0x3c0abc[_0x112349(0x376)]&&(_0x3b7fe9[_0x112349(0x328)]=!0x0),_0x3c0abc[_0x112349(0x207)]&&(_0x3b7fe9[_0x112349(0x211)]=!0x0),typeof _0x3c0abc[_0x112349(0x278)]==_0x112349(0x361)&&(_0x3b7fe9[_0x112349(0x1f9)]=_0x3c0abc['serverMaxWindowBits']),typeof _0x3c0abc[_0x112349(0x1d3)]=='number'?_0x3b7fe9['client_max_window_bits']=_0x3c0abc[_0x112349(0x1d3)]:(_0x3b7fe9[_0x112349(0x318)]===!0x0||_0x3c0abc[_0x112349(0x1d3)]===!0x1)&&delete _0x3b7fe9['client_max_window_bits'],_0x3b7fe9;}[_0x2bd716(0x372)](_0x8fed85){const _0x55c64e=_0x2bd716,_0x32e269=_0x8fed85[0x0];if(this[_0x55c64e(0x2bc)][_0x55c64e(0x207)]===!0x1&&_0x32e269[_0x55c64e(0x211)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x32e269[_0x55c64e(0x318)])typeof this[_0x55c64e(0x2bc)][_0x55c64e(0x1d3)]==_0x55c64e(0x361)&&(_0x32e269[_0x55c64e(0x318)]=this[_0x55c64e(0x2bc)][_0x55c64e(0x1d3)]);else{if(this[_0x55c64e(0x2bc)][_0x55c64e(0x1d3)]===!0x1||typeof this['_options'][_0x55c64e(0x1d3)]==_0x55c64e(0x361)&&_0x32e269['client_max_window_bits']>this[_0x55c64e(0x2bc)]['clientMaxWindowBits'])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x32e269;}['normalizeParams'](_0x364ab0){const _0x2b6593=_0x2bd716;return _0x364ab0[_0x2b6593(0x2e9)](_0x2529ed=>{const _0x1d5154=_0x2b6593;Object[_0x1d5154(0x2be)](_0x2529ed)['forEach'](_0x2d3349=>{const _0x5b1b74=_0x1d5154;let _0x523636=_0x2529ed[_0x2d3349];if(_0x523636['length']>0x1)throw new Error(_0x5b1b74(0x2a1)+_0x2d3349+_0x5b1b74(0x1c0));if(_0x523636=_0x523636[0x0],_0x2d3349===_0x5b1b74(0x318)){if(_0x523636!==!0x0){const _0xecb4b3=+_0x523636;if(!Number[_0x5b1b74(0x358)](_0xecb4b3)||_0xecb4b3<0x8||_0xecb4b3>0xf)throw new TypeError(_0x5b1b74(0x368)+_0x2d3349+_0x5b1b74(0x307)+_0x523636);_0x523636=_0xecb4b3;}else{if(!this[_0x5b1b74(0x364)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2d3349+_0x5b1b74(0x307)+_0x523636);}}else{if(_0x2d3349==='server_max_window_bits'){const _0x56fc87=+_0x523636;if(!Number[_0x5b1b74(0x358)](_0x56fc87)||_0x56fc87<0x8||_0x56fc87>0xf)throw new TypeError(_0x5b1b74(0x368)+_0x2d3349+_0x5b1b74(0x307)+_0x523636);_0x523636=_0x56fc87;}else{if(_0x2d3349===_0x5b1b74(0x211)||_0x2d3349===_0x5b1b74(0x328)){if(_0x523636!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2d3349+_0x5b1b74(0x307)+_0x523636);}else throw new Error(_0x5b1b74(0x1fa)+_0x2d3349+'\x22');}}_0x2529ed[_0x2d3349]=_0x523636;});}),_0x364ab0;}[_0x2bd716(0x213)](_0x16bf1b,_0x364532,_0x122a3c){const _0x2c11a0=_0x2bd716;_0x4a1e9e[_0x2c11a0(0x2e1)](_0x437342=>{const _0x3c2a0d=_0x2c11a0;this[_0x3c2a0d(0x231)](_0x16bf1b,_0x364532,(_0x116e53,_0x469e08)=>{_0x437342(),_0x122a3c(_0x116e53,_0x469e08);});});}[_0x2bd716(0x204)](_0x304aa6,_0x5c4597,_0x429174){_0x4a1e9e['add'](_0x10cc27=>{const _0x1eaf1d=_0x2816;this[_0x1eaf1d(0x379)](_0x304aa6,_0x5c4597,(_0x4eec68,_0x4d1ad3)=>{_0x10cc27(),_0x429174(_0x4eec68,_0x4d1ad3);});});}['_decompress'](_0x513b85,_0x521509,_0x4aac59){const _0x595b9c=_0x2bd716,_0x5a4f34=this[_0x595b9c(0x364)]?_0x595b9c(0x2b9):_0x595b9c(0x31c);if(!this[_0x595b9c(0x1a9)]){const _0x3bcfe3=_0x5a4f34+_0x595b9c(0x1d1),_0x322d22=typeof this[_0x595b9c(0x20f)][_0x3bcfe3]!=_0x595b9c(0x361)?_0x45bfb3[_0x595b9c(0x25b)]:this[_0x595b9c(0x20f)][_0x3bcfe3];this[_0x595b9c(0x1a9)]=_0x45bfb3[_0x595b9c(0x2f7)]({...this[_0x595b9c(0x2bc)][_0x595b9c(0x2c3)],'windowBits':_0x322d22}),this['_inflate'][_0x4781fd]=this,this['_inflate'][_0x4a8232]=0x0,this['_inflate'][_0x32059a]=[],this[_0x595b9c(0x1a9)]['on'](_0x595b9c(0x20a),_0x5ab916),this[_0x595b9c(0x1a9)]['on'](_0x595b9c(0x1cc),_0x257ba9);}this[_0x595b9c(0x1a9)][_0x2a9dda]=_0x4aac59,this['_inflate'][_0x595b9c(0x1ad)](_0x513b85),_0x521509&&this[_0x595b9c(0x1a9)][_0x595b9c(0x1ad)](_0x3b6828),this[_0x595b9c(0x1a9)][_0x595b9c(0x311)](()=>{const _0x1bc881=_0x595b9c,_0x16c6ce=this[_0x1bc881(0x1a9)][_0x2f1a3f];if(_0x16c6ce){this['_inflate']['close'](),this[_0x1bc881(0x1a9)]=null,_0x4aac59(_0x16c6ce);return;}const _0x23b6c4=_0x449abd[_0x1bc881(0x350)](this['_inflate'][_0x32059a],this[_0x1bc881(0x1a9)][_0x4a8232]);this[_0x1bc881(0x1a9)]['_readableState'][_0x1bc881(0x34b)]?(this[_0x1bc881(0x1a9)][_0x1bc881(0x21a)](),this[_0x1bc881(0x1a9)]=null):(this[_0x1bc881(0x1a9)][_0x4a8232]=0x0,this[_0x1bc881(0x1a9)][_0x32059a]=[],_0x521509&&this[_0x1bc881(0x20f)][_0x5a4f34+_0x1bc881(0x28f)]&&this[_0x1bc881(0x1a9)][_0x1bc881(0x30f)]()),_0x4aac59(null,_0x23b6c4);});}[_0x2bd716(0x379)](_0x27a672,_0x1a894f,_0x5e3624){const _0xd5a5f4=_0x2bd716,_0x35cb88=this['_isServer']?_0xd5a5f4(0x31c):_0xd5a5f4(0x2b9);if(!this[_0xd5a5f4(0x245)]){const _0xcf6ea7=_0x35cb88+_0xd5a5f4(0x1d1),_0x410b41=typeof this[_0xd5a5f4(0x20f)][_0xcf6ea7]!=_0xd5a5f4(0x361)?_0x45bfb3[_0xd5a5f4(0x25b)]:this[_0xd5a5f4(0x20f)][_0xcf6ea7];this[_0xd5a5f4(0x245)]=_0x45bfb3[_0xd5a5f4(0x1ab)]({...this[_0xd5a5f4(0x2bc)][_0xd5a5f4(0x2d7)],'windowBits':_0x410b41}),this[_0xd5a5f4(0x245)][_0x4a8232]=0x0,this[_0xd5a5f4(0x245)][_0x32059a]=[],this[_0xd5a5f4(0x245)]['on'](_0xd5a5f4(0x1cc),_0x347507);}this[_0xd5a5f4(0x245)][_0x2a9dda]=_0x5e3624,this['_deflate']['write'](_0x27a672),this['_deflate']['flush'](_0x45bfb3[_0xd5a5f4(0x2aa)],()=>{const _0x58ca92=_0xd5a5f4;if(!this[_0x58ca92(0x245)])return;let _0x134fe1=_0x449abd['concat'](this[_0x58ca92(0x245)][_0x32059a],this['_deflate'][_0x4a8232]);_0x1a894f&&(_0x134fe1=new _0x517d9a(_0x134fe1[_0x58ca92(0x266)],_0x134fe1[_0x58ca92(0x1f7)],_0x134fe1[_0x58ca92(0x221)]-0x4)),this[_0x58ca92(0x245)][_0x2a9dda]=null,this[_0x58ca92(0x245)][_0x4a8232]=0x0,this[_0x58ca92(0x245)][_0x32059a]=[],_0x1a894f&&this['params'][_0x35cb88+'_no_context_takeover']&&this[_0x58ca92(0x245)][_0x58ca92(0x30f)](),_0x5e3624(null,_0x134fe1);});}}_0x4ec8b5=_0x22f16d;function _0x347507(_0x3e2fb0){const _0x3dcc93=_0x2bd716;this[_0x32059a]['push'](_0x3e2fb0),this[_0x4a8232]+=_0x3e2fb0[_0x3dcc93(0x221)];}function _0x257ba9(_0x1ac15c){const _0x429aaa=_0x2bd716;if(this[_0x4a8232]+=_0x1ac15c[_0x429aaa(0x221)],this[_0x4781fd][_0x429aaa(0x1f1)]<0x1||this[_0x4a8232]<=this[_0x4781fd][_0x429aaa(0x1f1)]){this[_0x32059a][_0x429aaa(0x2c5)](_0x1ac15c);return;}this[_0x2f1a3f]=new RangeError(_0x429aaa(0x22e)),this[_0x2f1a3f]['code']=_0x429aaa(0x310),this[_0x2f1a3f][_0x23f74e]=0x3f1,this[_0x429aaa(0x1c4)]('data',_0x257ba9),this[_0x429aaa(0x30f)]();}function _0x5ab916(_0x2b1af8){this[_0x4781fd]['_inflate']=null,_0x2b1af8[_0x23f74e]=0x3ef,this[_0x2a9dda](_0x2b1af8);}return _0x4ec8b5;}var _0x393ada={'exports':{}};const _0x493fd0=_0x21bef5(Object[_0x4df616(0x25d)](Object[_0x4df616(0x1e5)]({'__proto__':null,'default':{}},Symbol[_0x4df616(0x33b)],{'value':'Module'})));var _0x21990a;function _0x3d12f0(){const _0x394704=_0x4df616;if(_0x21990a)return _0x393ada[_0x394704(0x2f2)];_0x21990a=0x1;const {isUtf8:_0x43d3a2}=_0x5ca9d1,{hasBlob:_0x3ab6e8}=_0x1b5228(),_0x1a2131=[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 _0x4113ee(_0x2e7edb){return _0x2e7edb>=0x3e8&&_0x2e7edb<=0x3f6&&_0x2e7edb!==0x3ec&&_0x2e7edb!==0x3ed&&_0x2e7edb!==0x3ee||_0x2e7edb>=0xbb8&&_0x2e7edb<=0x1387;}function _0x67e7b8(_0x10721a){const _0x5f1178=_0x394704,_0x30ed8d=_0x10721a[_0x5f1178(0x221)];let _0x1481c6=0x0;for(;_0x1481c6<_0x30ed8d;)if((_0x10721a[_0x1481c6]&0x80)===0x0)_0x1481c6++;else{if((_0x10721a[_0x1481c6]&0xe0)===0xc0){if(_0x1481c6+0x1===_0x30ed8d||(_0x10721a[_0x1481c6+0x1]&0xc0)!==0x80||(_0x10721a[_0x1481c6]&0xfe)===0xc0)return!0x1;_0x1481c6+=0x2;}else{if((_0x10721a[_0x1481c6]&0xf0)===0xe0){if(_0x1481c6+0x2>=_0x30ed8d||(_0x10721a[_0x1481c6+0x1]&0xc0)!==0x80||(_0x10721a[_0x1481c6+0x2]&0xc0)!==0x80||_0x10721a[_0x1481c6]===0xe0&&(_0x10721a[_0x1481c6+0x1]&0xe0)===0x80||_0x10721a[_0x1481c6]===0xed&&(_0x10721a[_0x1481c6+0x1]&0xe0)===0xa0)return!0x1;_0x1481c6+=0x3;}else{if((_0x10721a[_0x1481c6]&0xf8)===0xf0){if(_0x1481c6+0x3>=_0x30ed8d||(_0x10721a[_0x1481c6+0x1]&0xc0)!==0x80||(_0x10721a[_0x1481c6+0x2]&0xc0)!==0x80||(_0x10721a[_0x1481c6+0x3]&0xc0)!==0x80||_0x10721a[_0x1481c6]===0xf0&&(_0x10721a[_0x1481c6+0x1]&0xf0)===0x80||_0x10721a[_0x1481c6]===0xf4&&_0x10721a[_0x1481c6+0x1]>0x8f||_0x10721a[_0x1481c6]>0xf4)return!0x1;_0x1481c6+=0x4;}else return!0x1;}}}return!0x0;}function _0x104214(_0x550286){const _0x3da079=_0x394704;return _0x3ab6e8&&typeof _0x550286==_0x3da079(0x25e)&&typeof _0x550286[_0x3da079(0x283)]==_0x3da079(0x346)&&typeof _0x550286['type']==_0x3da079(0x2b2)&&typeof _0x550286['stream']==_0x3da079(0x346)&&(_0x550286[Symbol[_0x3da079(0x33b)]]===_0x3da079(0x367)||_0x550286[Symbol['toStringTag']]===_0x3da079(0x2cc));}if(_0x393ada[_0x394704(0x2f2)]={'isBlob':_0x104214,'isValidStatusCode':_0x4113ee,'isValidUTF8':_0x67e7b8,'tokenChars':_0x1a2131},_0x43d3a2)_0x393ada[_0x394704(0x2f2)]['isValidUTF8']=function(_0x1ab782){const _0x292a7b=_0x394704;return _0x1ab782[_0x292a7b(0x221)]<0x18?_0x67e7b8(_0x1ab782):_0x43d3a2(_0x1ab782);};else{if(!process[_0x394704(0x339)]['WS_NO_UTF_8_VALIDATE'])try{const _0x3e4109=_0x493fd0;_0x393ada[_0x394704(0x2f2)][_0x394704(0x35c)]=function(_0x30bfc6){const _0x4ee36b=_0x394704;return _0x30bfc6[_0x4ee36b(0x221)]<0x20?_0x67e7b8(_0x30bfc6):_0x3e4109(_0x30bfc6);};}catch{}}return _0x393ada[_0x394704(0x2f2)];}var _0x209d47,_0x35226f;function _0x3ede35(){const _0x264871=_0x4df616;if(_0x35226f)return _0x209d47;_0x35226f=0x1;const {Writable:_0x2aaeaf}=_0x2c2711,_0x1b93af=_0x1aeb37(),{BINARY_TYPES:_0x5757ae,EMPTY_BUFFER:_0x2a3995,kStatusCode:_0x29fa2e,kWebSocket:_0x5362f2}=_0x1b5228(),{concat:_0x76d5ac,toArrayBuffer:_0x586b7c,unmask:_0x22d3cb}=_0x473b7b(),{isValidStatusCode:_0x51efe2,isValidUTF8:_0x326299}=_0x3d12f0(),_0x47629b=Buffer[Symbol[_0x264871(0x2ff)]],_0x5f1b77=0x0,_0x186da3=0x1,_0x1b2c59=0x2,_0x39979f=0x3,_0x340fcd=0x4,_0x2fee0f=0x5,_0x3555c6=0x6;class _0x189f9c extends _0x2aaeaf{constructor(_0x268122={}){const _0x5316bc=_0x264871;super(),this[_0x5316bc(0x337)]=_0x268122[_0x5316bc(0x232)]!==void 0x0?_0x268122[_0x5316bc(0x232)]:!0x0,this[_0x5316bc(0x288)]=_0x268122[_0x5316bc(0x309)]||_0x5757ae[0x0],this[_0x5316bc(0x33a)]=_0x268122[_0x5316bc(0x208)]||{},this[_0x5316bc(0x364)]=!!_0x268122[_0x5316bc(0x1b8)],this['_maxPayload']=_0x268122[_0x5316bc(0x37f)]|0x0,this[_0x5316bc(0x248)]=!!_0x268122[_0x5316bc(0x304)],this[_0x5362f2]=void 0x0,this['_bufferedBytes']=0x0,this[_0x5316bc(0x1d7)]=[],this[_0x5316bc(0x2e3)]=!0x1,this[_0x5316bc(0x2da)]=0x0,this['_mask']=void 0x0,this[_0x5316bc(0x1c6)]=0x0,this[_0x5316bc(0x279)]=!0x1,this[_0x5316bc(0x2ca)]=!0x1,this['_opcode']=0x0,this[_0x5316bc(0x1d4)]=0x0,this[_0x5316bc(0x302)]=0x0,this[_0x5316bc(0x31a)]=[],this[_0x5316bc(0x2b6)]=!0x1,this[_0x5316bc(0x1c1)]=!0x1,this[_0x5316bc(0x36c)]=_0x5f1b77;}['_write'](_0xae287f,_0x424284,_0x47a1d9){const _0x54823d=_0x264871;if(this[_0x54823d(0x20b)]===0x8&&this[_0x54823d(0x36c)]==_0x5f1b77)return _0x47a1d9();this[_0x54823d(0x20e)]+=_0xae287f[_0x54823d(0x221)],this[_0x54823d(0x1d7)]['push'](_0xae287f),this[_0x54823d(0x344)](_0x47a1d9);}['consume'](_0x17ed5b){const _0x56f822=_0x264871;if(this[_0x56f822(0x20e)]-=_0x17ed5b,_0x17ed5b===this[_0x56f822(0x1d7)][0x0]['length'])return this['_buffers'][_0x56f822(0x1d0)]();if(_0x17ed5b<this[_0x56f822(0x1d7)][0x0][_0x56f822(0x221)]){const _0x2cf736=this['_buffers'][0x0];return this[_0x56f822(0x1d7)][0x0]=new _0x47629b(_0x2cf736[_0x56f822(0x266)],_0x2cf736['byteOffset']+_0x17ed5b,_0x2cf736[_0x56f822(0x221)]-_0x17ed5b),new _0x47629b(_0x2cf736['buffer'],_0x2cf736['byteOffset'],_0x17ed5b);}const _0x1ccc01=Buffer[_0x56f822(0x290)](_0x17ed5b);do{const _0x37d7b2=this[_0x56f822(0x1d7)][0x0],_0x41a878=_0x1ccc01[_0x56f822(0x221)]-_0x17ed5b;_0x17ed5b>=_0x37d7b2[_0x56f822(0x221)]?_0x1ccc01[_0x56f822(0x21e)](this[_0x56f822(0x1d7)][_0x56f822(0x1d0)](),_0x41a878):(_0x1ccc01[_0x56f822(0x21e)](new Uint8Array(_0x37d7b2[_0x56f822(0x266)],_0x37d7b2[_0x56f822(0x1f7)],_0x17ed5b),_0x41a878),this['_buffers'][0x0]=new _0x47629b(_0x37d7b2['buffer'],_0x37d7b2[_0x56f822(0x1f7)]+_0x17ed5b,_0x37d7b2['length']-_0x17ed5b)),_0x17ed5b-=_0x37d7b2[_0x56f822(0x221)];}while(_0x17ed5b>0x0);return _0x1ccc01;}[_0x264871(0x344)](_0x4ec4c1){const _0x3befa2=_0x264871;this[_0x3befa2(0x1c1)]=!0x0;do switch(this['_state']){case _0x5f1b77:this[_0x3befa2(0x20d)](_0x4ec4c1);break;case _0x186da3:this['getPayloadLength16'](_0x4ec4c1);break;case _0x1b2c59:this['getPayloadLength64'](_0x4ec4c1);break;case _0x39979f:this[_0x3befa2(0x1c8)]();break;case _0x340fcd:this[_0x3befa2(0x2af)](_0x4ec4c1);break;case _0x2fee0f:case _0x3555c6:this['_loop']=!0x1;return;}while(this['_loop']);this['_errored']||_0x4ec4c1();}['getInfo'](_0xba2133){const _0x269678=_0x264871;if(this[_0x269678(0x20e)]<0x2){this[_0x269678(0x1c1)]=!0x1;return;}const _0x176850=this[_0x269678(0x1b9)](0x2);if((_0x176850[0x0]&0x30)!==0x0){const _0x38f07a=this[_0x269678(0x1e6)](RangeError,_0x269678(0x30d),!0x0,0x3ea,_0x269678(0x268));_0xba2133(_0x38f07a);return;}const _0x211834=(_0x176850[0x0]&0x40)===0x40;if(_0x211834&&!this[_0x269678(0x33a)][_0x1b93af[_0x269678(0x271)]]){const _0x3d299f=this[_0x269678(0x1e6)](RangeError,_0x269678(0x1d2),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xba2133(_0x3d299f);return;}if(this['_fin']=(_0x176850[0x0]&0x80)===0x80,this['_opcode']=_0x176850[0x0]&0xf,this[_0x269678(0x2da)]=_0x176850[0x1]&0x7f,this[_0x269678(0x20b)]===0x0){if(_0x211834){const _0x572c58=this['createError'](RangeError,_0x269678(0x1d2),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xba2133(_0x572c58);return;}if(!this[_0x269678(0x1c6)]){const _0x1a549b=this[_0x269678(0x1e6)](RangeError,_0x269678(0x244),!0x0,0x3ea,_0x269678(0x1a8));_0xba2133(_0x1a549b);return;}this[_0x269678(0x20b)]=this[_0x269678(0x1c6)];}else{if(this['_opcode']===0x1||this[_0x269678(0x20b)]===0x2){if(this[_0x269678(0x1c6)]){const _0x5506c3=this[_0x269678(0x1e6)](RangeError,_0x269678(0x299)+this[_0x269678(0x20b)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0xba2133(_0x5506c3);return;}this[_0x269678(0x2e3)]=_0x211834;}else{if(this[_0x269678(0x20b)]>0x7&&this['_opcode']<0xb){if(!this[_0x269678(0x2ca)]){const _0x315626=this['createError'](RangeError,_0x269678(0x2eb),!0x0,0x3ea,_0x269678(0x2b5));_0xba2133(_0x315626);return;}if(_0x211834){const _0xc8709f=this['createError'](RangeError,_0x269678(0x1d2),!0x0,0x3ea,_0x269678(0x330));_0xba2133(_0xc8709f);return;}if(this[_0x269678(0x2da)]>0x7d||this[_0x269678(0x20b)]===0x8&&this[_0x269678(0x2da)]===0x1){const _0x5be929=this[_0x269678(0x1e6)](RangeError,_0x269678(0x1df)+this[_0x269678(0x2da)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0xba2133(_0x5be929);return;}}else{const _0x320028=this[_0x269678(0x1e6)](RangeError,'invalid\x20opcode\x20'+this[_0x269678(0x20b)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0xba2133(_0x320028);return;}}}if(!this[_0x269678(0x2ca)]&&!this[_0x269678(0x1c6)]&&(this[_0x269678(0x1c6)]=this[_0x269678(0x20b)]),this[_0x269678(0x279)]=(_0x176850[0x1]&0x80)===0x80,this[_0x269678(0x364)]){if(!this[_0x269678(0x279)]){const _0x1ec1eb=this['createError'](RangeError,_0x269678(0x2d6),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0xba2133(_0x1ec1eb);return;}}else{if(this[_0x269678(0x279)]){const _0x973ffb=this[_0x269678(0x1e6)](RangeError,_0x269678(0x2f4),!0x0,0x3ea,_0x269678(0x22d));_0xba2133(_0x973ffb);return;}}this[_0x269678(0x2da)]===0x7e?this[_0x269678(0x36c)]=_0x186da3:this[_0x269678(0x2da)]===0x7f?this[_0x269678(0x36c)]=_0x1b2c59:this[_0x269678(0x2a8)](_0xba2133);}[_0x264871(0x32e)](_0x40f765){const _0x4ff421=_0x264871;if(this[_0x4ff421(0x20e)]<0x2){this['_loop']=!0x1;return;}this[_0x4ff421(0x2da)]=this['consume'](0x2)[_0x4ff421(0x1eb)](0x0),this[_0x4ff421(0x2a8)](_0x40f765);}[_0x264871(0x25c)](_0x409b90){const _0x22ab3a=_0x264871;if(this['_bufferedBytes']<0x8){this[_0x22ab3a(0x1c1)]=!0x1;return;}const _0x409ffa=this[_0x22ab3a(0x1b9)](0x8),_0x370046=_0x409ffa[_0x22ab3a(0x21b)](0x0);if(_0x370046>Math[_0x22ab3a(0x274)](0x2,0x15)-0x1){const _0x125d19=this[_0x22ab3a(0x1e6)](RangeError,_0x22ab3a(0x300),!0x1,0x3f1,_0x22ab3a(0x2a3));_0x409b90(_0x125d19);return;}this[_0x22ab3a(0x2da)]=_0x370046*Math['pow'](0x2,0x20)+_0x409ffa[_0x22ab3a(0x21b)](0x4),this[_0x22ab3a(0x2a8)](_0x409b90);}[_0x264871(0x2a8)](_0xffa4cc){const _0xdb26bc=_0x264871;if(this[_0xdb26bc(0x2da)]&&this[_0xdb26bc(0x20b)]<0x8&&(this[_0xdb26bc(0x1d4)]+=this[_0xdb26bc(0x2da)],this[_0xdb26bc(0x1d4)]>this['_maxPayload']&&this['_maxPayload']>0x0)){const _0xd3f538=this['createError'](RangeError,_0xdb26bc(0x22e),!0x1,0x3f1,_0xdb26bc(0x310));_0xffa4cc(_0xd3f538);return;}this[_0xdb26bc(0x279)]?this['_state']=_0x39979f:this[_0xdb26bc(0x36c)]=_0x340fcd;}[_0x264871(0x1c8)](){const _0x49671f=_0x264871;if(this[_0x49671f(0x20e)]<0x4){this[_0x49671f(0x1c1)]=!0x1;return;}this[_0x49671f(0x2df)]=this[_0x49671f(0x1b9)](0x4),this[_0x49671f(0x36c)]=_0x340fcd;}[_0x264871(0x2af)](_0x3a6031){const _0x494ae3=_0x264871;let _0x24e791=_0x2a3995;if(this[_0x494ae3(0x2da)]){if(this[_0x494ae3(0x20e)]<this[_0x494ae3(0x2da)]){this[_0x494ae3(0x1c1)]=!0x1;return;}_0x24e791=this[_0x494ae3(0x1b9)](this[_0x494ae3(0x2da)]),this['_masked']&&(this[_0x494ae3(0x2df)][0x0]|this[_0x494ae3(0x2df)][0x1]|this[_0x494ae3(0x2df)][0x2]|this[_0x494ae3(0x2df)][0x3])!==0x0&&_0x22d3cb(_0x24e791,this['_mask']);}if(this[_0x494ae3(0x20b)]>0x7){this[_0x494ae3(0x203)](_0x24e791,_0x3a6031);return;}if(this[_0x494ae3(0x2e3)]){this[_0x494ae3(0x36c)]=_0x2fee0f,this['decompress'](_0x24e791,_0x3a6031);return;}_0x24e791[_0x494ae3(0x221)]&&(this['_messageLength']=this[_0x494ae3(0x1d4)],this['_fragments'][_0x494ae3(0x2c5)](_0x24e791)),this['dataMessage'](_0x3a6031);}[_0x264871(0x213)](_0x2f3525,_0x77c13b){const _0x2b5fa9=_0x264871;this[_0x2b5fa9(0x33a)][_0x1b93af[_0x2b5fa9(0x271)]][_0x2b5fa9(0x213)](_0x2f3525,this[_0x2b5fa9(0x2ca)],(_0x4086c2,_0x24b6ee)=>{const _0x1c41df=_0x2b5fa9;if(_0x4086c2)return _0x77c13b(_0x4086c2);if(_0x24b6ee['length']){if(this['_messageLength']+=_0x24b6ee[_0x1c41df(0x221)],this[_0x1c41df(0x302)]>this[_0x1c41df(0x1f1)]&&this['_maxPayload']>0x0){const _0x377c25=this[_0x1c41df(0x1e6)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x77c13b(_0x377c25);return;}this['_fragments']['push'](_0x24b6ee);}this[_0x1c41df(0x1f0)](_0x77c13b),this[_0x1c41df(0x36c)]===_0x5f1b77&&this[_0x1c41df(0x344)](_0x77c13b);});}['dataMessage'](_0x177292){const _0x47cb34=_0x264871;if(!this['_fin']){this['_state']=_0x5f1b77;return;}const _0x97fb9f=this[_0x47cb34(0x302)],_0x4f8d03=this[_0x47cb34(0x31a)];if(this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this[_0x47cb34(0x1c6)]=0x0,this[_0x47cb34(0x31a)]=[],this[_0x47cb34(0x20b)]===0x2){let _0x4489d4;this[_0x47cb34(0x288)]==='nodebuffer'?_0x4489d4=_0x76d5ac(_0x4f8d03,_0x97fb9f):this[_0x47cb34(0x288)]==='arraybuffer'?_0x4489d4=_0x586b7c(_0x76d5ac(_0x4f8d03,_0x97fb9f)):this['_binaryType']===_0x47cb34(0x282)?_0x4489d4=new Blob(_0x4f8d03):_0x4489d4=_0x4f8d03,this[_0x47cb34(0x337)]?(this[_0x47cb34(0x352)](_0x47cb34(0x219),_0x4489d4,!0x0),this['_state']=_0x5f1b77):(this[_0x47cb34(0x36c)]=_0x3555c6,setImmediate(()=>{const _0x5af7e0=_0x47cb34;this['emit'](_0x5af7e0(0x219),_0x4489d4,!0x0),this[_0x5af7e0(0x36c)]=_0x5f1b77,this[_0x5af7e0(0x344)](_0x177292);}));}else{const _0x447e40=_0x76d5ac(_0x4f8d03,_0x97fb9f);if(!this['_skipUTF8Validation']&&!_0x326299(_0x447e40)){const _0x14ff19=this['createError'](Error,_0x47cb34(0x2cf),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x177292(_0x14ff19);return;}this[_0x47cb34(0x36c)]===_0x2fee0f||this[_0x47cb34(0x337)]?(this['emit'](_0x47cb34(0x219),_0x447e40,!0x1),this['_state']=_0x5f1b77):(this[_0x47cb34(0x36c)]=_0x3555c6,setImmediate(()=>{const _0x491eaa=_0x47cb34;this[_0x491eaa(0x352)](_0x491eaa(0x219),_0x447e40,!0x1),this['_state']=_0x5f1b77,this[_0x491eaa(0x344)](_0x177292);}));}}[_0x264871(0x203)](_0x1ddf22,_0x5066dd){const _0x29815d=_0x264871;if(this[_0x29815d(0x20b)]===0x8){if(_0x1ddf22['length']===0x0)this['_loop']=!0x1,this['emit'](_0x29815d(0x313),0x3ed,_0x2a3995),this[_0x29815d(0x2fa)]();else{const _0xc59b8b=_0x1ddf22['readUInt16BE'](0x0);if(!_0x51efe2(_0xc59b8b)){const _0x45095c=this[_0x29815d(0x1e6)](RangeError,_0x29815d(0x1ac)+_0xc59b8b,!0x0,0x3ea,_0x29815d(0x233));_0x5066dd(_0x45095c);return;}const _0x5baf40=new _0x47629b(_0x1ddf22['buffer'],_0x1ddf22['byteOffset']+0x2,_0x1ddf22['length']-0x2);if(!this[_0x29815d(0x248)]&&!_0x326299(_0x5baf40)){const _0x17a205=this[_0x29815d(0x1e6)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x29815d(0x1e3));_0x5066dd(_0x17a205);return;}this[_0x29815d(0x1c1)]=!0x1,this[_0x29815d(0x352)](_0x29815d(0x313),_0xc59b8b,_0x5baf40),this[_0x29815d(0x2fa)]();}this[_0x29815d(0x36c)]=_0x5f1b77;return;}this[_0x29815d(0x337)]?(this[_0x29815d(0x352)](this['_opcode']===0x9?'ping':_0x29815d(0x294),_0x1ddf22),this[_0x29815d(0x36c)]=_0x5f1b77):(this['_state']=_0x3555c6,setImmediate(()=>{const _0x5640ac=_0x29815d;this[_0x5640ac(0x352)](this[_0x5640ac(0x20b)]===0x9?'ping':_0x5640ac(0x294),_0x1ddf22),this['_state']=_0x5f1b77,this[_0x5640ac(0x344)](_0x5066dd);}));}['createError'](_0x5a74ed,_0x3fe870,_0x5cb57f,_0x555249,_0x2b5212){const _0x441fca=_0x264871;this[_0x441fca(0x1c1)]=!0x1,this[_0x441fca(0x2b6)]=!0x0;const _0x1a8c6a=new _0x5a74ed(_0x5cb57f?_0x441fca(0x237)+_0x3fe870:_0x3fe870);return Error[_0x441fca(0x37e)](_0x1a8c6a,this['createError']),_0x1a8c6a[_0x441fca(0x2e0)]=_0x2b5212,_0x1a8c6a[_0x29fa2e]=_0x555249,_0x1a8c6a;}}return _0x209d47=_0x189f9c,_0x209d47;}var _0x5ee65d,_0x23602d;function _0x36868f(){const _0x4c1600=_0x4df616;if(_0x23602d)return _0x5ee65d;_0x23602d=0x1;const {Duplex:_0x5ae1d4}=_0x2c2711,{randomFillSync:_0x14a9ab}=_0x950ed8,_0x23251f=_0x1aeb37(),{EMPTY_BUFFER:_0x9999dc,kWebSocket:_0x40c276,NOOP:_0x51abe3}=_0x1b5228(),{isBlob:_0x25d514,isValidStatusCode:_0x336333}=_0x3d12f0(),{mask:_0xa34046,toBuffer:_0x2661aa}=_0x473b7b(),_0x48cd27=Symbol(_0x4c1600(0x1da)),_0x2dfb5f=Buffer[_0x4c1600(0x217)](0x4),_0xb5168=0x8*0x400;let _0x527c43,_0x2d53f8=_0xb5168;const _0x1f6f46=0x0,_0x4c3870=0x1,_0x5e6daa=0x2;class _0x6c653f{constructor(_0x278c90,_0x4c7239,_0x38d7b3){const _0x5e9a6f=_0x4c1600;this[_0x5e9a6f(0x33a)]=_0x4c7239||{},_0x38d7b3&&(this[_0x5e9a6f(0x2f1)]=_0x38d7b3,this['_maskBuffer']=Buffer[_0x5e9a6f(0x217)](0x4)),this[_0x5e9a6f(0x383)]=_0x278c90,this[_0x5e9a6f(0x36e)]=!0x0,this[_0x5e9a6f(0x379)]=!0x1,this[_0x5e9a6f(0x20e)]=0x0,this[_0x5e9a6f(0x27d)]=[],this[_0x5e9a6f(0x36c)]=_0x1f6f46,this[_0x5e9a6f(0x2e4)]=_0x51abe3,this[_0x40c276]=void 0x0;}static['frame'](_0x53dee7,_0xf21b43){const _0x316a3e=_0x4c1600;let _0x571bfb,_0x939b8c=!0x1,_0x2b64a8=0x2,_0x1aa3d4=!0x1;_0xf21b43['mask']&&(_0x571bfb=_0xf21b43[_0x316a3e(0x35e)]||_0x2dfb5f,_0xf21b43[_0x316a3e(0x28d)]?_0xf21b43[_0x316a3e(0x28d)](_0x571bfb):(_0x2d53f8===_0xb5168&&(_0x527c43===void 0x0&&(_0x527c43=Buffer[_0x316a3e(0x217)](_0xb5168)),_0x14a9ab(_0x527c43,0x0,_0xb5168),_0x2d53f8=0x0),_0x571bfb[0x0]=_0x527c43[_0x2d53f8++],_0x571bfb[0x1]=_0x527c43[_0x2d53f8++],_0x571bfb[0x2]=_0x527c43[_0x2d53f8++],_0x571bfb[0x3]=_0x527c43[_0x2d53f8++]),_0x1aa3d4=(_0x571bfb[0x0]|_0x571bfb[0x1]|_0x571bfb[0x2]|_0x571bfb[0x3])===0x0,_0x2b64a8=0x6);let _0x54fd41;typeof _0x53dee7==_0x316a3e(0x2b2)?(!_0xf21b43[_0x316a3e(0x1bd)]||_0x1aa3d4)&&_0xf21b43[_0x48cd27]!==void 0x0?_0x54fd41=_0xf21b43[_0x48cd27]:(_0x53dee7=Buffer[_0x316a3e(0x37b)](_0x53dee7),_0x54fd41=_0x53dee7[_0x316a3e(0x221)]):(_0x54fd41=_0x53dee7[_0x316a3e(0x221)],_0x939b8c=_0xf21b43[_0x316a3e(0x1bd)]&&_0xf21b43[_0x316a3e(0x1ea)]&&!_0x1aa3d4);let _0x24b172=_0x54fd41;_0x54fd41>=0x10000?(_0x2b64a8+=0x8,_0x24b172=0x7f):_0x54fd41>0x7d&&(_0x2b64a8+=0x2,_0x24b172=0x7e);const _0xcc606a=Buffer['allocUnsafe'](_0x939b8c?_0x54fd41+_0x2b64a8:_0x2b64a8);return _0xcc606a[0x0]=_0xf21b43['fin']?_0xf21b43['opcode']|0x80:_0xf21b43[_0x316a3e(0x30a)],_0xf21b43[_0x316a3e(0x2dd)]&&(_0xcc606a[0x0]|=0x40),_0xcc606a[0x1]=_0x24b172,_0x24b172===0x7e?_0xcc606a[_0x316a3e(0x349)](_0x54fd41,0x2):_0x24b172===0x7f&&(_0xcc606a[0x2]=_0xcc606a[0x3]=0x0,_0xcc606a[_0x316a3e(0x306)](_0x54fd41,0x4,0x6)),_0xf21b43['mask']?(_0xcc606a[0x1]|=0x80,_0xcc606a[_0x2b64a8-0x4]=_0x571bfb[0x0],_0xcc606a[_0x2b64a8-0x3]=_0x571bfb[0x1],_0xcc606a[_0x2b64a8-0x2]=_0x571bfb[0x2],_0xcc606a[_0x2b64a8-0x1]=_0x571bfb[0x3],_0x1aa3d4?[_0xcc606a,_0x53dee7]:_0x939b8c?(_0xa34046(_0x53dee7,_0x571bfb,_0xcc606a,_0x2b64a8,_0x54fd41),[_0xcc606a]):(_0xa34046(_0x53dee7,_0x571bfb,_0x53dee7,0x0,_0x54fd41),[_0xcc606a,_0x53dee7])):[_0xcc606a,_0x53dee7];}['close'](_0x1ede00,_0xbf64a5,_0x852678,_0x30d3a9){const _0x928d94=_0x4c1600;let _0x3ac6b7;if(_0x1ede00===void 0x0)_0x3ac6b7=_0x9999dc;else{if(typeof _0x1ede00!=_0x928d94(0x361)||!_0x336333(_0x1ede00))throw new TypeError(_0x928d94(0x2ed));if(_0xbf64a5===void 0x0||!_0xbf64a5[_0x928d94(0x221)])_0x3ac6b7=Buffer[_0x928d94(0x290)](0x2),_0x3ac6b7[_0x928d94(0x349)](_0x1ede00,0x0);else{const _0x33425f=Buffer[_0x928d94(0x34d)](_0xbf64a5);if(_0x33425f>0x7b)throw new RangeError(_0x928d94(0x277));_0x3ac6b7=Buffer[_0x928d94(0x290)](0x2+_0x33425f),_0x3ac6b7[_0x928d94(0x349)](_0x1ede00,0x0),typeof _0xbf64a5=='string'?_0x3ac6b7[_0x928d94(0x1ad)](_0xbf64a5,0x2):_0x3ac6b7['set'](_0xbf64a5,0x2);}}const _0x4cc087={[_0x48cd27]:_0x3ac6b7[_0x928d94(0x221)],'fin':!0x0,'generateMask':this[_0x928d94(0x2f1)],'mask':_0x852678,'maskBuffer':this[_0x928d94(0x325)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x928d94(0x36c)]!==_0x1f6f46?this[_0x928d94(0x23d)]([this[_0x928d94(0x34a)],_0x3ac6b7,!0x1,_0x4cc087,_0x30d3a9]):this[_0x928d94(0x1b5)](_0x6c653f[_0x928d94(0x2e8)](_0x3ac6b7,_0x4cc087),_0x30d3a9);}[_0x4c1600(0x29e)](_0x39026f,_0x218d24,_0x3db33c){const _0x2c984e=_0x4c1600;let _0x2daa15,_0x4c00ad;if(typeof _0x39026f=='string'?(_0x2daa15=Buffer[_0x2c984e(0x34d)](_0x39026f),_0x4c00ad=!0x1):_0x25d514(_0x39026f)?(_0x2daa15=_0x39026f[_0x2c984e(0x384)],_0x4c00ad=!0x1):(_0x39026f=_0x2661aa(_0x39026f),_0x2daa15=_0x39026f[_0x2c984e(0x221)],_0x4c00ad=_0x2661aa[_0x2c984e(0x1ea)]),_0x2daa15>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x96e430={[_0x48cd27]:_0x2daa15,'fin':!0x0,'generateMask':this[_0x2c984e(0x2f1)],'mask':_0x218d24,'maskBuffer':this[_0x2c984e(0x325)],'opcode':0x9,'readOnly':_0x4c00ad,'rsv1':!0x1};_0x25d514(_0x39026f)?this[_0x2c984e(0x36c)]!==_0x1f6f46?this[_0x2c984e(0x23d)]([this[_0x2c984e(0x24b)],_0x39026f,!0x1,_0x96e430,_0x3db33c]):this['getBlobData'](_0x39026f,!0x1,_0x96e430,_0x3db33c):this[_0x2c984e(0x36c)]!==_0x1f6f46?this[_0x2c984e(0x23d)]([this[_0x2c984e(0x34a)],_0x39026f,!0x1,_0x96e430,_0x3db33c]):this[_0x2c984e(0x1b5)](_0x6c653f[_0x2c984e(0x2e8)](_0x39026f,_0x96e430),_0x3db33c);}[_0x4c1600(0x294)](_0x254af1,_0x587356,_0x16ce6b){const _0x544965=_0x4c1600;let _0x1909ed,_0x101a87;if(typeof _0x254af1=='string'?(_0x1909ed=Buffer[_0x544965(0x34d)](_0x254af1),_0x101a87=!0x1):_0x25d514(_0x254af1)?(_0x1909ed=_0x254af1[_0x544965(0x384)],_0x101a87=!0x1):(_0x254af1=_0x2661aa(_0x254af1),_0x1909ed=_0x254af1[_0x544965(0x221)],_0x101a87=_0x2661aa[_0x544965(0x1ea)]),_0x1909ed>0x7d)throw new RangeError(_0x544965(0x27a));const _0x239182={[_0x48cd27]:_0x1909ed,'fin':!0x0,'generateMask':this[_0x544965(0x2f1)],'mask':_0x587356,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x101a87,'rsv1':!0x1};_0x25d514(_0x254af1)?this[_0x544965(0x36c)]!==_0x1f6f46?this[_0x544965(0x23d)]([this[_0x544965(0x24b)],_0x254af1,!0x1,_0x239182,_0x16ce6b]):this[_0x544965(0x24b)](_0x254af1,!0x1,_0x239182,_0x16ce6b):this[_0x544965(0x36c)]!==_0x1f6f46?this[_0x544965(0x23d)]([this['dispatch'],_0x254af1,!0x1,_0x239182,_0x16ce6b]):this[_0x544965(0x1b5)](_0x6c653f['frame'](_0x254af1,_0x239182),_0x16ce6b);}[_0x4c1600(0x303)](_0x1538f6,_0x1f3c21,_0x59754e){const _0x538f9a=_0x4c1600,_0x3516b4=this['_extensions'][_0x23251f[_0x538f9a(0x271)]];let _0x1cd3ab=_0x1f3c21[_0x538f9a(0x30b)]?0x2:0x1,_0x3d17aa=_0x1f3c21[_0x538f9a(0x204)],_0x583143,_0x64ba4e;typeof _0x1538f6=='string'?(_0x583143=Buffer[_0x538f9a(0x34d)](_0x1538f6),_0x64ba4e=!0x1):_0x25d514(_0x1538f6)?(_0x583143=_0x1538f6[_0x538f9a(0x384)],_0x64ba4e=!0x1):(_0x1538f6=_0x2661aa(_0x1538f6),_0x583143=_0x1538f6[_0x538f9a(0x221)],_0x64ba4e=_0x2661aa['readOnly']),this['_firstFragment']?(this[_0x538f9a(0x36e)]=!0x1,_0x3d17aa&&_0x3516b4&&_0x3516b4['params'][_0x3516b4[_0x538f9a(0x364)]?_0x538f9a(0x328):_0x538f9a(0x211)]&&(_0x3d17aa=_0x583143>=_0x3516b4['_threshold']),this[_0x538f9a(0x379)]=_0x3d17aa):(_0x3d17aa=!0x1,_0x1cd3ab=0x0),_0x1f3c21['fin']&&(this[_0x538f9a(0x36e)]=!0x0);const _0x4a29e={[_0x48cd27]:_0x583143,'fin':_0x1f3c21[_0x538f9a(0x228)],'generateMask':this[_0x538f9a(0x2f1)],'mask':_0x1f3c21[_0x538f9a(0x1bd)],'maskBuffer':this[_0x538f9a(0x325)],'opcode':_0x1cd3ab,'readOnly':_0x64ba4e,'rsv1':_0x3d17aa};_0x25d514(_0x1538f6)?this[_0x538f9a(0x36c)]!==_0x1f6f46?this[_0x538f9a(0x23d)]([this[_0x538f9a(0x24b)],_0x1538f6,this[_0x538f9a(0x379)],_0x4a29e,_0x59754e]):this[_0x538f9a(0x24b)](_0x1538f6,this[_0x538f9a(0x379)],_0x4a29e,_0x59754e):this[_0x538f9a(0x36c)]!==_0x1f6f46?this['enqueue']([this[_0x538f9a(0x34a)],_0x1538f6,this[_0x538f9a(0x379)],_0x4a29e,_0x59754e]):this[_0x538f9a(0x34a)](_0x1538f6,this['_compress'],_0x4a29e,_0x59754e);}[_0x4c1600(0x24b)](_0x2379ee,_0x1f4ea1,_0x1a726f,_0xac09b7){const _0x24214b=_0x4c1600;this['_bufferedBytes']+=_0x1a726f[_0x48cd27],this[_0x24214b(0x36c)]=_0x5e6daa,_0x2379ee['arrayBuffer']()[_0x24214b(0x292)](_0x205cd6=>{const _0x3e2ce9=_0x24214b;if(this['_socket']['destroyed']){const _0x436fbe=new Error(_0x3e2ce9(0x2fc));process[_0x3e2ce9(0x2b4)](_0x5099ed,this,_0x436fbe,_0xac09b7);return;}this['_bufferedBytes']-=_0x1a726f[_0x48cd27];const _0x18a2a7=_0x2661aa(_0x205cd6);_0x1f4ea1?this['dispatch'](_0x18a2a7,_0x1f4ea1,_0x1a726f,_0xac09b7):(this[_0x3e2ce9(0x36c)]=_0x1f6f46,this[_0x3e2ce9(0x1b5)](_0x6c653f[_0x3e2ce9(0x2e8)](_0x18a2a7,_0x1a726f),_0xac09b7),this['dequeue']());})['catch'](_0x1806f1=>{const _0x239755=_0x24214b;process[_0x239755(0x2b4)](_0x36ef5b,this,_0x1806f1,_0xac09b7);});}[_0x4c1600(0x34a)](_0x228c8f,_0x327bf1,_0x52dada,_0x3cf4fc){const _0xef4a5=_0x4c1600;if(!_0x327bf1){this[_0xef4a5(0x1b5)](_0x6c653f[_0xef4a5(0x2e8)](_0x228c8f,_0x52dada),_0x3cf4fc);return;}const _0xc4669e=this[_0xef4a5(0x33a)][_0x23251f[_0xef4a5(0x271)]];this[_0xef4a5(0x20e)]+=_0x52dada[_0x48cd27],this[_0xef4a5(0x36c)]=_0x4c3870,_0xc4669e[_0xef4a5(0x204)](_0x228c8f,_0x52dada[_0xef4a5(0x228)],(_0x1c7eb7,_0x39a3e0)=>{const _0x288010=_0xef4a5;if(this['_socket'][_0x288010(0x323)]){const _0x39cbed=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x5099ed(this,_0x39cbed,_0x3cf4fc);return;}this['_bufferedBytes']-=_0x52dada[_0x48cd27],this[_0x288010(0x36c)]=_0x1f6f46,_0x52dada[_0x288010(0x1ea)]=!0x1,this[_0x288010(0x1b5)](_0x6c653f['frame'](_0x39a3e0,_0x52dada),_0x3cf4fc),this[_0x288010(0x21d)]();});}['dequeue'](){const _0x241149=_0x4c1600;for(;this['_state']===_0x1f6f46&&this[_0x241149(0x27d)][_0x241149(0x221)];){const _0x5c1f3b=this[_0x241149(0x27d)]['shift']();this['_bufferedBytes']-=_0x5c1f3b[0x3][_0x48cd27],Reflect[_0x241149(0x332)](_0x5c1f3b[0x0],this,_0x5c1f3b[_0x241149(0x360)](0x1));}}['enqueue'](_0xbf1a7b){const _0x769d2c=_0x4c1600;this[_0x769d2c(0x20e)]+=_0xbf1a7b[0x3][_0x48cd27],this[_0x769d2c(0x27d)][_0x769d2c(0x2c5)](_0xbf1a7b);}[_0x4c1600(0x1b5)](_0x1fbaab,_0x5bd772){const _0x552dcb=_0x4c1600;_0x1fbaab['length']===0x2?(this[_0x552dcb(0x383)]['cork'](),this[_0x552dcb(0x383)][_0x552dcb(0x1ad)](_0x1fbaab[0x0]),this[_0x552dcb(0x383)][_0x552dcb(0x1ad)](_0x1fbaab[0x1],_0x5bd772),this['_socket']['uncork']()):this['_socket'][_0x552dcb(0x1ad)](_0x1fbaab[0x0],_0x5bd772);}}_0x5ee65d=_0x6c653f;function _0x5099ed(_0x57a4e3,_0x15efd9,_0x1e5306){const _0x1f9499=_0x4c1600;typeof _0x1e5306==_0x1f9499(0x346)&&_0x1e5306(_0x15efd9);for(let _0x1e53ae=0x0;_0x1e53ae<_0x57a4e3[_0x1f9499(0x27d)][_0x1f9499(0x221)];_0x1e53ae++){const _0x2ce129=_0x57a4e3['_queue'][_0x1e53ae],_0x4d2b5c=_0x2ce129[_0x2ce129[_0x1f9499(0x221)]-0x1];typeof _0x4d2b5c==_0x1f9499(0x346)&&_0x4d2b5c(_0x15efd9);}}function _0x36ef5b(_0x10cf5f,_0x2f3e9a,_0x24e0f5){const _0x51385f=_0x4c1600;_0x5099ed(_0x10cf5f,_0x2f3e9a,_0x24e0f5),_0x10cf5f[_0x51385f(0x2e4)](_0x2f3e9a);}return _0x5ee65d;}var _0x56936b,_0x27e158;function _0x5dd8ec(){const _0x463cc2=_0x4df616;if(_0x27e158)return _0x56936b;_0x27e158=0x1;const {kForOnEventAttribute:_0x187ea4,kListener:_0x11c684}=_0x1b5228(),_0x34298e=Symbol(_0x463cc2(0x36a)),_0x150613=Symbol(_0x463cc2(0x357)),_0x2109b1=Symbol(_0x463cc2(0x25f)),_0x134f8b=Symbol('kMessage'),_0x1a30a5=Symbol(_0x463cc2(0x322)),_0x4d0bf6=Symbol(_0x463cc2(0x2d0)),_0x1f6f13=Symbol(_0x463cc2(0x321)),_0x5605b9=Symbol(_0x463cc2(0x1cd));class _0x341103{constructor(_0x3c1216){this[_0x4d0bf6]=null,this[_0x1f6f13]=_0x3c1216;}get[_0x463cc2(0x214)](){return this[_0x4d0bf6];}get[_0x463cc2(0x308)](){return this[_0x1f6f13];}}Object[_0x463cc2(0x1e5)](_0x341103[_0x463cc2(0x272)],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x341103[_0x463cc2(0x272)],_0x463cc2(0x308),{'enumerable':!0x0});class _0x2f3737 extends _0x341103{constructor(_0x25abac,_0x2aa8f3={}){const _0x16d0ae=_0x463cc2;super(_0x25abac),this[_0x34298e]=_0x2aa8f3[_0x16d0ae(0x2e0)]===void 0x0?0x0:_0x2aa8f3[_0x16d0ae(0x2e0)],this[_0x1a30a5]=_0x2aa8f3[_0x16d0ae(0x230)]===void 0x0?'':_0x2aa8f3[_0x16d0ae(0x230)],this[_0x5605b9]=_0x2aa8f3[_0x16d0ae(0x2b7)]===void 0x0?!0x1:_0x2aa8f3['wasClean'];}get[_0x463cc2(0x2e0)](){return this[_0x34298e];}get[_0x463cc2(0x230)](){return this[_0x1a30a5];}get['wasClean'](){return this[_0x5605b9];}}Object[_0x463cc2(0x1e5)](_0x2f3737[_0x463cc2(0x272)],'code',{'enumerable':!0x0}),Object[_0x463cc2(0x1e5)](_0x2f3737[_0x463cc2(0x272)],_0x463cc2(0x230),{'enumerable':!0x0}),Object[_0x463cc2(0x1e5)](_0x2f3737[_0x463cc2(0x272)],_0x463cc2(0x2b7),{'enumerable':!0x0});class _0x228cd4 extends _0x341103{constructor(_0x289cea,_0x1d266f={}){const _0x3980a0=_0x463cc2;super(_0x289cea),this[_0x2109b1]=_0x1d266f['error']===void 0x0?null:_0x1d266f[_0x3980a0(0x20a)],this[_0x134f8b]=_0x1d266f[_0x3980a0(0x219)]===void 0x0?'':_0x1d266f['message'];}get['error'](){return this[_0x2109b1];}get['message'](){return this[_0x134f8b];}}Object[_0x463cc2(0x1e5)](_0x228cd4[_0x463cc2(0x272)],_0x463cc2(0x20a),{'enumerable':!0x0}),Object['defineProperty'](_0x228cd4[_0x463cc2(0x272)],_0x463cc2(0x219),{'enumerable':!0x0});class _0x378385 extends _0x341103{constructor(_0x13c3f8,_0x2feae5={}){const _0x4e20c1=_0x463cc2;super(_0x13c3f8),this[_0x150613]=_0x2feae5[_0x4e20c1(0x1cc)]===void 0x0?null:_0x2feae5[_0x4e20c1(0x1cc)];}get[_0x463cc2(0x1cc)](){return this[_0x150613];}}Object[_0x463cc2(0x1e5)](_0x378385[_0x463cc2(0x272)],'data',{'enumerable':!0x0}),_0x56936b={'CloseEvent':_0x2f3737,'ErrorEvent':_0x228cd4,'Event':_0x341103,'EventTarget':{'addEventListener'(_0x1add37,_0x554365,_0x502994={}){const _0x4b5074=_0x463cc2;for(const _0x2f8d87 of this['listeners'](_0x1add37))if(!_0x502994[_0x187ea4]&&_0x2f8d87[_0x11c684]===_0x554365&&!_0x2f8d87[_0x187ea4])return;let _0x4f2995;if(_0x1add37===_0x4b5074(0x219))_0x4f2995=function(_0x3fa223,_0x13ab9e){const _0x4e2329=_0x4b5074,_0x5a08ba=new _0x378385(_0x4e2329(0x219),{'data':_0x13ab9e?_0x3fa223:_0x3fa223['toString']()});_0x5a08ba[_0x4d0bf6]=this,_0x5c8a2c(_0x554365,this,_0x5a08ba);};else{if(_0x1add37===_0x4b5074(0x21a))_0x4f2995=function(_0x295ed0,_0x6a01fc){const _0x353059=_0x4b5074,_0x1f44f1=new _0x2f3737(_0x353059(0x21a),{'code':_0x295ed0,'reason':_0x6a01fc[_0x353059(0x34f)](),'wasClean':this[_0x353059(0x32c)]&&this[_0x353059(0x2d8)]});_0x1f44f1[_0x4d0bf6]=this,_0x5c8a2c(_0x554365,this,_0x1f44f1);};else{if(_0x1add37==='error')_0x4f2995=function(_0x52e0d4){const _0x5209ac=_0x4b5074,_0x272b4d=new _0x228cd4(_0x5209ac(0x20a),{'error':_0x52e0d4,'message':_0x52e0d4['message']});_0x272b4d[_0x4d0bf6]=this,_0x5c8a2c(_0x554365,this,_0x272b4d);};else{if(_0x1add37===_0x4b5074(0x1e7))_0x4f2995=function(){const _0x111419=new _0x341103('open');_0x111419[_0x4d0bf6]=this,_0x5c8a2c(_0x554365,this,_0x111419);};else return;}}}_0x4f2995[_0x187ea4]=!!_0x502994[_0x187ea4],_0x4f2995[_0x11c684]=_0x554365,_0x502994['once']?this[_0x4b5074(0x2f9)](_0x1add37,_0x4f2995):this['on'](_0x1add37,_0x4f2995);},'removeEventListener'(_0x5d6ccc,_0x55a949){const _0xf46d9d=_0x463cc2;for(const _0x57fba2 of this[_0xf46d9d(0x27c)](_0x5d6ccc))if(_0x57fba2[_0x11c684]===_0x55a949&&!_0x57fba2[_0x187ea4]){this['removeListener'](_0x5d6ccc,_0x57fba2);break;}}},'MessageEvent':_0x378385};function _0x5c8a2c(_0xc64276,_0x4693a9,_0x28b826){const _0x4221fb=_0x463cc2;typeof _0xc64276==_0x4221fb(0x25e)&&_0xc64276[_0x4221fb(0x295)]?_0xc64276[_0x4221fb(0x295)][_0x4221fb(0x2ac)](_0xc64276,_0x28b826):_0xc64276[_0x4221fb(0x2ac)](_0x4693a9,_0x28b826);}return _0x56936b;}var _0x3cb266,_0x1aaf0a;function _0x534562(){if(_0x1aaf0a)return _0x3cb266;_0x1aaf0a=0x1;const {tokenChars:_0x5b8a8e}=_0x3d12f0();function _0x18932c(_0x1c12a0,_0x19fc28,_0x448f18){const _0x146be4=_0x2816;_0x1c12a0[_0x19fc28]===void 0x0?_0x1c12a0[_0x19fc28]=[_0x448f18]:_0x1c12a0[_0x19fc28][_0x146be4(0x2c5)](_0x448f18);}function _0x2227cf(_0x26a5ea){const _0x89f914=_0x2816,_0x4b8dd8=Object[_0x89f914(0x2c2)](null);let _0x385acb=Object[_0x89f914(0x2c2)](null),_0x46e172=!0x1,_0x487d03=!0x1,_0x1365c1=!0x1,_0x1ba803,_0x1cbbed,_0x5de253=-0x1,_0x1439f9=-0x1,_0x1c8dd6=-0x1,_0x2f3261=0x0;for(;_0x2f3261<_0x26a5ea[_0x89f914(0x221)];_0x2f3261++)if(_0x1439f9=_0x26a5ea[_0x89f914(0x224)](_0x2f3261),_0x1ba803===void 0x0){if(_0x1c8dd6===-0x1&&_0x5b8a8e[_0x1439f9]===0x1)_0x5de253===-0x1&&(_0x5de253=_0x2f3261);else{if(_0x2f3261!==0x0&&(_0x1439f9===0x20||_0x1439f9===0x9))_0x1c8dd6===-0x1&&_0x5de253!==-0x1&&(_0x1c8dd6=_0x2f3261);else{if(_0x1439f9===0x3b||_0x1439f9===0x2c){if(_0x5de253===-0x1)throw new SyntaxError(_0x89f914(0x297)+_0x2f3261);_0x1c8dd6===-0x1&&(_0x1c8dd6=_0x2f3261);const _0x4e635a=_0x26a5ea[_0x89f914(0x360)](_0x5de253,_0x1c8dd6);_0x1439f9===0x2c?(_0x18932c(_0x4b8dd8,_0x4e635a,_0x385acb),_0x385acb=Object[_0x89f914(0x2c2)](null)):_0x1ba803=_0x4e635a,_0x5de253=_0x1c8dd6=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2f3261);}}}else{if(_0x1cbbed===void 0x0){if(_0x1c8dd6===-0x1&&_0x5b8a8e[_0x1439f9]===0x1)_0x5de253===-0x1&&(_0x5de253=_0x2f3261);else{if(_0x1439f9===0x20||_0x1439f9===0x9)_0x1c8dd6===-0x1&&_0x5de253!==-0x1&&(_0x1c8dd6=_0x2f3261);else{if(_0x1439f9===0x3b||_0x1439f9===0x2c){if(_0x5de253===-0x1)throw new SyntaxError(_0x89f914(0x297)+_0x2f3261);_0x1c8dd6===-0x1&&(_0x1c8dd6=_0x2f3261),_0x18932c(_0x385acb,_0x26a5ea[_0x89f914(0x360)](_0x5de253,_0x1c8dd6),!0x0),_0x1439f9===0x2c&&(_0x18932c(_0x4b8dd8,_0x1ba803,_0x385acb),_0x385acb=Object[_0x89f914(0x2c2)](null),_0x1ba803=void 0x0),_0x5de253=_0x1c8dd6=-0x1;}else{if(_0x1439f9===0x3d&&_0x5de253!==-0x1&&_0x1c8dd6===-0x1)_0x1cbbed=_0x26a5ea[_0x89f914(0x360)](_0x5de253,_0x2f3261),_0x5de253=_0x1c8dd6=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2f3261);}}}}else{if(_0x487d03){if(_0x5b8a8e[_0x1439f9]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2f3261);_0x5de253===-0x1?_0x5de253=_0x2f3261:_0x46e172||(_0x46e172=!0x0),_0x487d03=!0x1;}else{if(_0x1365c1){if(_0x5b8a8e[_0x1439f9]===0x1)_0x5de253===-0x1&&(_0x5de253=_0x2f3261);else{if(_0x1439f9===0x22&&_0x5de253!==-0x1)_0x1365c1=!0x1,_0x1c8dd6=_0x2f3261;else{if(_0x1439f9===0x5c)_0x487d03=!0x0;else throw new SyntaxError(_0x89f914(0x297)+_0x2f3261);}}}else{if(_0x1439f9===0x22&&_0x26a5ea[_0x89f914(0x224)](_0x2f3261-0x1)===0x3d)_0x1365c1=!0x0;else{if(_0x1c8dd6===-0x1&&_0x5b8a8e[_0x1439f9]===0x1)_0x5de253===-0x1&&(_0x5de253=_0x2f3261);else{if(_0x5de253!==-0x1&&(_0x1439f9===0x20||_0x1439f9===0x9))_0x1c8dd6===-0x1&&(_0x1c8dd6=_0x2f3261);else{if(_0x1439f9===0x3b||_0x1439f9===0x2c){if(_0x5de253===-0x1)throw new SyntaxError(_0x89f914(0x297)+_0x2f3261);_0x1c8dd6===-0x1&&(_0x1c8dd6=_0x2f3261);let _0x28ad34=_0x26a5ea[_0x89f914(0x360)](_0x5de253,_0x1c8dd6);_0x46e172&&(_0x28ad34=_0x28ad34['replace'](/\\/g,''),_0x46e172=!0x1),_0x18932c(_0x385acb,_0x1cbbed,_0x28ad34),_0x1439f9===0x2c&&(_0x18932c(_0x4b8dd8,_0x1ba803,_0x385acb),_0x385acb=Object[_0x89f914(0x2c2)](null),_0x1ba803=void 0x0),_0x1cbbed=void 0x0,_0x5de253=_0x1c8dd6=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2f3261);}}}}}}}if(_0x5de253===-0x1||_0x1365c1||_0x1439f9===0x20||_0x1439f9===0x9)throw new SyntaxError(_0x89f914(0x2e2));_0x1c8dd6===-0x1&&(_0x1c8dd6=_0x2f3261);const _0x42d6e1=_0x26a5ea[_0x89f914(0x360)](_0x5de253,_0x1c8dd6);return _0x1ba803===void 0x0?_0x18932c(_0x4b8dd8,_0x42d6e1,_0x385acb):(_0x1cbbed===void 0x0?_0x18932c(_0x385acb,_0x42d6e1,!0x0):_0x46e172?_0x18932c(_0x385acb,_0x1cbbed,_0x42d6e1[_0x89f914(0x2cd)](/\\/g,'')):_0x18932c(_0x385acb,_0x1cbbed,_0x42d6e1),_0x18932c(_0x4b8dd8,_0x1ba803,_0x385acb)),_0x4b8dd8;}function _0x430186(_0x43090d){const _0x3bf12a=_0x2816;return Object[_0x3bf12a(0x2be)](_0x43090d)[_0x3bf12a(0x2ce)](_0x534a9b=>{const _0x406517=_0x3bf12a;let _0x3de073=_0x43090d[_0x534a9b];return Array['isArray'](_0x3de073)||(_0x3de073=[_0x3de073]),_0x3de073[_0x406517(0x2ce)](_0x1a3fa7=>[_0x534a9b]['concat'](Object[_0x406517(0x2be)](_0x1a3fa7)[_0x406517(0x2ce)](_0x509072=>{const _0x4be3cc=_0x406517;let _0x1f14e8=_0x1a3fa7[_0x509072];return Array[_0x4be3cc(0x380)](_0x1f14e8)||(_0x1f14e8=[_0x1f14e8]),_0x1f14e8[_0x4be3cc(0x2ce)](_0x4aa5e0=>_0x4aa5e0===!0x0?_0x509072:_0x509072+'='+_0x4aa5e0)[_0x4be3cc(0x2e7)](';\x20');}))[_0x406517(0x2e7)](';\x20'))['join'](',\x20');})[_0x3bf12a(0x2e7)](',\x20');}return _0x3cb266={'format':_0x430186,'parse':_0x2227cf},_0x3cb266;}var _0x29c504,_0xca6294;function _0x1281c1(){const _0x1cb307=_0x4df616;if(_0xca6294)return _0x29c504;_0xca6294=0x1;const _0x68e955=_0x31e0f3,_0x533831=_0x1de2f0,_0x15ebfe=_0x43406f,_0x456961=_0x584fd2,_0x116239=_0x16744e,{randomBytes:_0x346abc,createHash:_0xe0281a}=_0x950ed8,{Duplex:_0x1e6601,Readable:_0xb36883}=_0x2c2711,{URL:_0x31efd7}=_0x5c0525,_0x4f4932=_0x1aeb37(),_0x5b3739=_0x3ede35(),_0x4119cc=_0x36868f(),{isBlob:_0x473bd3}=_0x3d12f0(),{BINARY_TYPES:_0x30beb9,EMPTY_BUFFER:_0x21bd72,GUID:_0x1c0d49,kForOnEventAttribute:_0x32cc9d,kListener:_0x4ba4ac,kStatusCode:_0x24c525,kWebSocket:_0x4539ee,NOOP:_0x1c872b}=_0x1b5228(),{EventTarget:{addEventListener:_0x12b437,removeEventListener:_0xca6f3e}}=_0x5dd8ec(),{format:_0x5a08f7,parse:_0x3c2d34}=_0x534562(),{toBuffer:_0x5b3f10}=_0x473b7b(),_0x5c9f10=0x1e*0x3e8,_0x5a642a=Symbol(_0x1cb307(0x243)),_0x40971f=[0x8,0xd],_0x1e47ad=[_0x1cb307(0x2d3),'OPEN','CLOSING',_0x1cb307(0x2bf)],_0x115062=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3d664e extends _0x68e955{constructor(_0x45abe0,_0x11eba4,_0x2d52b1){const _0x4da68f=_0x1cb307;super(),this[_0x4da68f(0x288)]=_0x30beb9[0x0],this[_0x4da68f(0x1e1)]=0x3ee,this['_closeFrameReceived']=!0x1,this['_closeFrameSent']=!0x1,this[_0x4da68f(0x24c)]=_0x21bd72,this[_0x4da68f(0x353)]=null,this[_0x4da68f(0x2b3)]=!0x1,this[_0x4da68f(0x33a)]={},this[_0x4da68f(0x24a)]=!0x1,this[_0x4da68f(0x334)]='',this['_readyState']=_0x3d664e[_0x4da68f(0x2d3)],this[_0x4da68f(0x1dd)]=null,this[_0x4da68f(0x1e0)]=null,this[_0x4da68f(0x383)]=null,_0x45abe0!==null?(this[_0x4da68f(0x2bb)]=0x0,this[_0x4da68f(0x364)]=!0x1,this[_0x4da68f(0x1bc)]=0x0,_0x11eba4===void 0x0?_0x11eba4=[]:Array[_0x4da68f(0x380)](_0x11eba4)||(typeof _0x11eba4=='object'&&_0x11eba4!==null?(_0x2d52b1=_0x11eba4,_0x11eba4=[]):_0x11eba4=[_0x11eba4]),_0x19df1c(this,_0x45abe0,_0x11eba4,_0x2d52b1)):(this[_0x4da68f(0x347)]=_0x2d52b1[_0x4da68f(0x366)],this[_0x4da68f(0x364)]=!0x0);}get['binaryType'](){const _0x2c34e2=_0x1cb307;return this[_0x2c34e2(0x288)];}set[_0x1cb307(0x309)](_0xfcac26){const _0x19cb28=_0x1cb307;_0x30beb9['includes'](_0xfcac26)&&(this[_0x19cb28(0x288)]=_0xfcac26,this['_receiver']&&(this['_receiver'][_0x19cb28(0x288)]=_0xfcac26));}get[_0x1cb307(0x1bb)](){const _0x5c77fe=_0x1cb307;return this[_0x5c77fe(0x383)]?this[_0x5c77fe(0x383)][_0x5c77fe(0x26e)][_0x5c77fe(0x221)]+this[_0x5c77fe(0x1e0)]['_bufferedBytes']:this[_0x5c77fe(0x2bb)];}get[_0x1cb307(0x208)](){const _0x246e89=_0x1cb307;return Object['keys'](this[_0x246e89(0x33a)])[_0x246e89(0x2e7)]();}get['isPaused'](){const _0x45903f=_0x1cb307;return this[_0x45903f(0x24a)];}get[_0x1cb307(0x264)](){return null;}get[_0x1cb307(0x2e4)](){return null;}get[_0x1cb307(0x342)](){return null;}get['onmessage'](){return null;}get[_0x1cb307(0x1fd)](){return this['_protocol'];}get[_0x1cb307(0x341)](){return this['_readyState'];}get[_0x1cb307(0x1aa)](){const _0x3e5242=_0x1cb307;return this[_0x3e5242(0x333)];}[_0x1cb307(0x23c)](_0x3e6788,_0x2091df,_0x2ac77f){const _0x584d7b=_0x1cb307,_0x1dceca=new _0x5b3739({'allowSynchronousEvents':_0x2ac77f[_0x584d7b(0x232)],'binaryType':this[_0x584d7b(0x309)],'extensions':this[_0x584d7b(0x33a)],'isServer':this['_isServer'],'maxPayload':_0x2ac77f[_0x584d7b(0x37f)],'skipUTF8Validation':_0x2ac77f[_0x584d7b(0x304)]}),_0x265312=new _0x4119cc(_0x3e6788,this[_0x584d7b(0x33a)],_0x2ac77f[_0x584d7b(0x28d)]);this[_0x584d7b(0x1dd)]=_0x1dceca,this['_sender']=_0x265312,this['_socket']=_0x3e6788,_0x1dceca[_0x4539ee]=this,_0x265312[_0x4539ee]=this,_0x3e6788[_0x4539ee]=this,_0x1dceca['on'](_0x584d7b(0x313),_0x2a5035),_0x1dceca['on'](_0x584d7b(0x220),_0x23499d),_0x1dceca['on'](_0x584d7b(0x20a),_0x129f22),_0x1dceca['on']('message',_0x16588a),_0x1dceca['on'](_0x584d7b(0x29e),_0x4a5193),_0x1dceca['on'](_0x584d7b(0x294),_0x2b51ce),_0x265312['onerror']=_0x522773,_0x3e6788[_0x584d7b(0x20c)]&&_0x3e6788[_0x584d7b(0x20c)](0x0),_0x3e6788['setNoDelay']&&_0x3e6788[_0x584d7b(0x2cb)](),_0x2091df[_0x584d7b(0x221)]>0x0&&_0x3e6788[_0x584d7b(0x286)](_0x2091df),_0x3e6788['on'](_0x584d7b(0x21a),_0x593875),_0x3e6788['on'](_0x584d7b(0x1cc),_0x42d1d2),_0x3e6788['on']('end',_0x3536e5),_0x3e6788['on'](_0x584d7b(0x20a),_0x411e46),this['_readyState']=_0x3d664e[_0x584d7b(0x24f)],this[_0x584d7b(0x352)](_0x584d7b(0x1e7));}['emitClose'](){const _0x10d555=_0x1cb307;if(!this['_socket']){this[_0x10d555(0x1a7)]=_0x3d664e['CLOSED'],this[_0x10d555(0x352)](_0x10d555(0x21a),this[_0x10d555(0x1e1)],this[_0x10d555(0x24c)]);return;}this['_extensions'][_0x4f4932[_0x10d555(0x271)]]&&this[_0x10d555(0x33a)][_0x4f4932[_0x10d555(0x271)]][_0x10d555(0x36d)](),this[_0x10d555(0x1dd)]['removeAllListeners'](),this[_0x10d555(0x1a7)]=_0x3d664e[_0x10d555(0x2bf)],this['emit']('close',this[_0x10d555(0x1e1)],this[_0x10d555(0x24c)]);}[_0x1cb307(0x21a)](_0x5eed49,_0x53cf94){const _0x4f5cdb=_0x1cb307;if(this[_0x4f5cdb(0x341)]!==_0x3d664e['CLOSED']){if(this[_0x4f5cdb(0x341)]===_0x3d664e['CONNECTING']){_0x3c0989(this,this[_0x4f5cdb(0x1ba)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x4f5cdb(0x341)]===_0x3d664e[_0x4f5cdb(0x2ad)]){this[_0x4f5cdb(0x2d8)]&&(this['_closeFrameReceived']||this[_0x4f5cdb(0x1dd)][_0x4f5cdb(0x26e)]['errorEmitted'])&&this['_socket'][_0x4f5cdb(0x2fa)]();return;}this[_0x4f5cdb(0x1a7)]=_0x3d664e[_0x4f5cdb(0x2ad)],this['_sender'][_0x4f5cdb(0x21a)](_0x5eed49,_0x53cf94,!this[_0x4f5cdb(0x364)],_0x2d89d5=>{const _0x281e13=_0x4f5cdb;_0x2d89d5||(this[_0x281e13(0x2d8)]=!0x0,(this[_0x281e13(0x32c)]||this['_receiver'][_0x281e13(0x26e)][_0x281e13(0x33c)])&&this[_0x281e13(0x383)][_0x281e13(0x2fa)]());}),_0x251e8d(this);}}[_0x1cb307(0x2a4)](){const _0x4d6753=_0x1cb307;this['readyState']===_0x3d664e[_0x4d6753(0x2d3)]||this[_0x4d6753(0x341)]===_0x3d664e[_0x4d6753(0x2bf)]||(this[_0x4d6753(0x24a)]=!0x0,this[_0x4d6753(0x383)][_0x4d6753(0x2a4)]());}[_0x1cb307(0x29e)](_0x13b69b,_0x5c7f40,_0x96c5a1){const _0x32179b=_0x1cb307;if(this[_0x32179b(0x341)]===_0x3d664e['CONNECTING'])throw new Error(_0x32179b(0x35d));if(typeof _0x13b69b==_0x32179b(0x346)?(_0x96c5a1=_0x13b69b,_0x13b69b=_0x5c7f40=void 0x0):typeof _0x5c7f40==_0x32179b(0x346)&&(_0x96c5a1=_0x5c7f40,_0x5c7f40=void 0x0),typeof _0x13b69b==_0x32179b(0x361)&&(_0x13b69b=_0x13b69b[_0x32179b(0x34f)]()),this[_0x32179b(0x341)]!==_0x3d664e[_0x32179b(0x24f)]){_0x43350e(this,_0x13b69b,_0x96c5a1);return;}_0x5c7f40===void 0x0&&(_0x5c7f40=!this[_0x32179b(0x364)]),this[_0x32179b(0x1e0)][_0x32179b(0x29e)](_0x13b69b||_0x21bd72,_0x5c7f40,_0x96c5a1);}[_0x1cb307(0x294)](_0x1fe8f1,_0x45153f,_0x5a6592){const _0x484358=_0x1cb307;if(this[_0x484358(0x341)]===_0x3d664e['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x1fe8f1=='function'?(_0x5a6592=_0x1fe8f1,_0x1fe8f1=_0x45153f=void 0x0):typeof _0x45153f==_0x484358(0x346)&&(_0x5a6592=_0x45153f,_0x45153f=void 0x0),typeof _0x1fe8f1==_0x484358(0x361)&&(_0x1fe8f1=_0x1fe8f1[_0x484358(0x34f)]()),this['readyState']!==_0x3d664e['OPEN']){_0x43350e(this,_0x1fe8f1,_0x5a6592);return;}_0x45153f===void 0x0&&(_0x45153f=!this[_0x484358(0x364)]),this[_0x484358(0x1e0)]['pong'](_0x1fe8f1||_0x21bd72,_0x45153f,_0x5a6592);}[_0x1cb307(0x2ab)](){const _0x3bb22c=_0x1cb307;this['readyState']===_0x3d664e[_0x3bb22c(0x2d3)]||this['readyState']===_0x3d664e[_0x3bb22c(0x2bf)]||(this[_0x3bb22c(0x24a)]=!0x1,this['_receiver'][_0x3bb22c(0x26e)]['needDrain']||this[_0x3bb22c(0x383)][_0x3bb22c(0x2ab)]());}['send'](_0x10d003,_0x4b8191,_0xe9f9f7){const _0x91d5fc=_0x1cb307;if(this[_0x91d5fc(0x341)]===_0x3d664e[_0x91d5fc(0x2d3)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x4b8191==_0x91d5fc(0x346)&&(_0xe9f9f7=_0x4b8191,_0x4b8191={}),typeof _0x10d003=='number'&&(_0x10d003=_0x10d003['toString']()),this['readyState']!==_0x3d664e['OPEN']){_0x43350e(this,_0x10d003,_0xe9f9f7);return;}const _0x1bf246={'binary':typeof _0x10d003!='string','mask':!this[_0x91d5fc(0x364)],'compress':!0x0,'fin':!0x0,..._0x4b8191};this[_0x91d5fc(0x33a)][_0x4f4932[_0x91d5fc(0x271)]]||(_0x1bf246[_0x91d5fc(0x204)]=!0x1),this['_sender'][_0x91d5fc(0x303)](_0x10d003||_0x21bd72,_0x1bf246,_0xe9f9f7);}[_0x1cb307(0x29f)](){const _0xf16c24=_0x1cb307;if(this[_0xf16c24(0x341)]!==_0x3d664e[_0xf16c24(0x2bf)]){if(this['readyState']===_0x3d664e['CONNECTING']){_0x3c0989(this,this[_0xf16c24(0x1ba)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0xf16c24(0x383)]&&(this[_0xf16c24(0x1a7)]=_0x3d664e[_0xf16c24(0x2ad)],this[_0xf16c24(0x383)][_0xf16c24(0x270)]());}}}Object['defineProperty'](_0x3d664e,_0x1cb307(0x2d3),{'enumerable':!0x0,'value':_0x1e47ad[_0x1cb307(0x2c0)](_0x1cb307(0x2d3))}),Object[_0x1cb307(0x1e5)](_0x3d664e['prototype'],_0x1cb307(0x2d3),{'enumerable':!0x0,'value':_0x1e47ad['indexOf']('CONNECTING')}),Object[_0x1cb307(0x1e5)](_0x3d664e,'OPEN',{'enumerable':!0x0,'value':_0x1e47ad[_0x1cb307(0x2c0)]('OPEN')}),Object[_0x1cb307(0x1e5)](_0x3d664e[_0x1cb307(0x272)],_0x1cb307(0x24f),{'enumerable':!0x0,'value':_0x1e47ad[_0x1cb307(0x2c0)]('OPEN')}),Object[_0x1cb307(0x1e5)](_0x3d664e,_0x1cb307(0x2ad),{'enumerable':!0x0,'value':_0x1e47ad[_0x1cb307(0x2c0)]('CLOSING')}),Object[_0x1cb307(0x1e5)](_0x3d664e[_0x1cb307(0x272)],_0x1cb307(0x2ad),{'enumerable':!0x0,'value':_0x1e47ad[_0x1cb307(0x2c0)](_0x1cb307(0x2ad))}),Object[_0x1cb307(0x1e5)](_0x3d664e,'CLOSED',{'enumerable':!0x0,'value':_0x1e47ad['indexOf'](_0x1cb307(0x2bf))}),Object['defineProperty'](_0x3d664e[_0x1cb307(0x272)],_0x1cb307(0x2bf),{'enumerable':!0x0,'value':_0x1e47ad[_0x1cb307(0x2c0)]('CLOSED')}),[_0x1cb307(0x309),_0x1cb307(0x1bb),_0x1cb307(0x208),'isPaused',_0x1cb307(0x1fd),_0x1cb307(0x341),_0x1cb307(0x1aa)]['forEach'](_0x54b297=>{const _0x10b310=_0x1cb307;Object[_0x10b310(0x1e5)](_0x3d664e[_0x10b310(0x272)],_0x54b297,{'enumerable':!0x0});}),[_0x1cb307(0x1e7),_0x1cb307(0x20a),'close',_0x1cb307(0x219)][_0x1cb307(0x2e9)](_0x3e5102=>{const _0x5186b1=_0x1cb307;Object[_0x5186b1(0x1e5)](_0x3d664e[_0x5186b1(0x272)],'on'+_0x3e5102,{'enumerable':!0x0,'get'(){for(const _0x3cf473 of this['listeners'](_0x3e5102))if(_0x3cf473[_0x32cc9d])return _0x3cf473[_0x4ba4ac];return null;},'set'(_0x4d3164){const _0x5c35b9=_0x5186b1;for(const _0x21da4b of this[_0x5c35b9(0x27c)](_0x3e5102))if(_0x21da4b[_0x32cc9d]){this[_0x5c35b9(0x1c4)](_0x3e5102,_0x21da4b);break;}typeof _0x4d3164==_0x5c35b9(0x346)&&this['addEventListener'](_0x3e5102,_0x4d3164,{[_0x32cc9d]:!0x0});}});}),_0x3d664e['prototype'][_0x1cb307(0x242)]=_0x12b437,_0x3d664e['prototype'][_0x1cb307(0x1b7)]=_0xca6f3e,_0x29c504=_0x3d664e;function _0x19df1c(_0x1ad052,_0x103eac,_0x2a8dc1,_0x1e9005){const _0x1b543b=_0x1cb307,_0xc7428e={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x40971f[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1e9005,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x1b543b(0x241),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x1ad052[_0x1b543b(0x347)]=_0xc7428e['autoPong'],!_0x40971f[_0x1b543b(0x249)](_0xc7428e[_0x1b543b(0x1af)]))throw new RangeError(_0x1b543b(0x234)+_0xc7428e[_0x1b543b(0x1af)]+'\x20(supported\x20versions:\x20'+_0x40971f['join'](',\x20')+')');let _0x24eee8;if(_0x103eac instanceof _0x31efd7)_0x24eee8=_0x103eac;else try{_0x24eee8=new _0x31efd7(_0x103eac);}catch{throw new SyntaxError(_0x1b543b(0x2c7)+_0x103eac);}_0x24eee8['protocol']===_0x1b543b(0x257)?_0x24eee8[_0x1b543b(0x1fd)]=_0x1b543b(0x354):_0x24eee8[_0x1b543b(0x1fd)]==='https:'&&(_0x24eee8['protocol']='wss:'),_0x1ad052['_url']=_0x24eee8['href'];const _0x2522d1=_0x24eee8[_0x1b543b(0x1fd)]===_0x1b543b(0x2bd),_0x13770b=_0x24eee8[_0x1b543b(0x1fd)]===_0x1b543b(0x314);let _0x219663;if(_0x24eee8['protocol']!==_0x1b543b(0x354)&&!_0x2522d1&&!_0x13770b?_0x219663='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':_0x13770b&&!_0x24eee8[_0x1b543b(0x256)]?_0x219663=_0x1b543b(0x24e):_0x24eee8['hash']&&(_0x219663=_0x1b543b(0x2c9)),_0x219663){const _0x1dc646=new SyntaxError(_0x219663);if(_0x1ad052[_0x1b543b(0x1bc)]===0x0)throw _0x1dc646;_0x56efb3(_0x1ad052,_0x1dc646);return;}const _0x229144=_0x2522d1?0x1bb:0x50,_0x1a358e=_0x346abc(0x10)[_0x1b543b(0x34f)](_0x1b543b(0x238)),_0x34eeca=_0x2522d1?_0x533831[_0x1b543b(0x2d4)]:_0x15ebfe[_0x1b543b(0x2d4)],_0x26eab3=new Set();let _0x2a6460;if(_0xc7428e[_0x1b543b(0x2a6)]=_0xc7428e[_0x1b543b(0x2a6)]||(_0x2522d1?_0x38f678:_0x27a6b3),_0xc7428e[_0x1b543b(0x35f)]=_0xc7428e[_0x1b543b(0x35f)]||_0x229144,_0xc7428e[_0x1b543b(0x261)]=_0x24eee8[_0x1b543b(0x261)]||_0x229144,_0xc7428e[_0x1b543b(0x289)]=_0x24eee8['hostname'][_0x1b543b(0x2a9)]('[')?_0x24eee8[_0x1b543b(0x370)][_0x1b543b(0x360)](0x1,-0x1):_0x24eee8[_0x1b543b(0x370)],_0xc7428e[_0x1b543b(0x260)]={..._0xc7428e[_0x1b543b(0x260)],'Sec-WebSocket-Version':_0xc7428e['protocolVersion'],'Sec-WebSocket-Key':_0x1a358e,'Connection':'Upgrade','Upgrade':_0x1b543b(0x363)},_0xc7428e[_0x1b543b(0x298)]=_0x24eee8[_0x1b543b(0x256)]+_0x24eee8[_0x1b543b(0x2ef)],_0xc7428e['timeout']=_0xc7428e['handshakeTimeout'],_0xc7428e[_0x1b543b(0x218)]&&(_0x2a6460=new _0x4f4932(_0xc7428e[_0x1b543b(0x218)]!==!0x0?_0xc7428e['perMessageDeflate']:{},!0x1,_0xc7428e[_0x1b543b(0x37f)]),_0xc7428e[_0x1b543b(0x260)]['Sec-WebSocket-Extensions']=_0x5a08f7({[_0x4f4932[_0x1b543b(0x271)]]:_0x2a6460[_0x1b543b(0x291)]()})),_0x2a8dc1[_0x1b543b(0x221)]){for(const _0x2f3a25 of _0x2a8dc1){if(typeof _0x2f3a25!='string'||!_0x115062['test'](_0x2f3a25)||_0x26eab3['has'](_0x2f3a25))throw new SyntaxError(_0x1b543b(0x2f3));_0x26eab3[_0x1b543b(0x2e1)](_0x2f3a25);}_0xc7428e[_0x1b543b(0x260)][_0x1b543b(0x254)]=_0x2a8dc1[_0x1b543b(0x2e7)](',');}if(_0xc7428e[_0x1b543b(0x1ae)]&&(_0xc7428e[_0x1b543b(0x1af)]<0xd?_0xc7428e[_0x1b543b(0x260)]['Sec-WebSocket-Origin']=_0xc7428e['origin']:_0xc7428e[_0x1b543b(0x260)][_0x1b543b(0x35a)]=_0xc7428e[_0x1b543b(0x1ae)]),(_0x24eee8['username']||_0x24eee8[_0x1b543b(0x326)])&&(_0xc7428e[_0x1b543b(0x1ee)]=_0x24eee8['username']+':'+_0x24eee8[_0x1b543b(0x326)]),_0x13770b){const _0x1bb257=_0xc7428e['path']['split'](':');_0xc7428e[_0x1b543b(0x37d)]=_0x1bb257[0x0],_0xc7428e[_0x1b543b(0x298)]=_0x1bb257[0x1];}let _0x3dd33f;if(_0xc7428e[_0x1b543b(0x22f)]){if(_0x1ad052[_0x1b543b(0x1bc)]===0x0){_0x1ad052[_0x1b543b(0x312)]=_0x13770b,_0x1ad052['_originalSecure']=_0x2522d1,_0x1ad052[_0x1b543b(0x273)]=_0x13770b?_0xc7428e['socketPath']:_0x24eee8[_0x1b543b(0x289)];const _0x301a39=_0x1e9005&&_0x1e9005[_0x1b543b(0x260)];if(_0x1e9005={..._0x1e9005,'headers':{}},_0x301a39){for(const [_0x178273,_0x5e0d56]of Object['entries'](_0x301a39))_0x1e9005[_0x1b543b(0x260)][_0x178273[_0x1b543b(0x305)]()]=_0x5e0d56;}}else{if(_0x1ad052[_0x1b543b(0x2f8)](_0x1b543b(0x2f0))===0x0){const _0x4f2282=_0x13770b?_0x1ad052[_0x1b543b(0x312)]?_0xc7428e[_0x1b543b(0x37d)]===_0x1ad052[_0x1b543b(0x273)]:!0x1:_0x1ad052[_0x1b543b(0x312)]?!0x1:_0x24eee8['host']===_0x1ad052[_0x1b543b(0x273)];(!_0x4f2282||_0x1ad052[_0x1b543b(0x239)]&&!_0x2522d1)&&(delete _0xc7428e[_0x1b543b(0x260)][_0x1b543b(0x26f)],delete _0xc7428e[_0x1b543b(0x260)][_0x1b543b(0x1e2)],_0x4f2282||delete _0xc7428e['headers'][_0x1b543b(0x289)],_0xc7428e['auth']=void 0x0);}}_0xc7428e[_0x1b543b(0x1ee)]&&!_0x1e9005[_0x1b543b(0x260)][_0x1b543b(0x26f)]&&(_0x1e9005['headers']['authorization']=_0x1b543b(0x2dc)+Buffer['from'](_0xc7428e[_0x1b543b(0x1ee)])[_0x1b543b(0x34f)](_0x1b543b(0x238))),_0x3dd33f=_0x1ad052['_req']=_0x34eeca(_0xc7428e),_0x1ad052[_0x1b543b(0x1bc)]&&_0x1ad052[_0x1b543b(0x352)](_0x1b543b(0x2f0),_0x1ad052[_0x1b543b(0x1aa)],_0x3dd33f);}else _0x3dd33f=_0x1ad052[_0x1b543b(0x1ba)]=_0x34eeca(_0xc7428e);_0xc7428e[_0x1b543b(0x285)]&&_0x3dd33f['on'](_0x1b543b(0x285),()=>{_0x3c0989(_0x1ad052,_0x3dd33f,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x3dd33f['on'](_0x1b543b(0x20a),_0x466d87=>{const _0x37bd16=_0x1b543b;_0x3dd33f===null||_0x3dd33f[_0x5a642a]||(_0x3dd33f=_0x1ad052[_0x37bd16(0x1ba)]=null,_0x56efb3(_0x1ad052,_0x466d87));}),_0x3dd33f['on'](_0x1b543b(0x1ef),_0x3afc45=>{const _0x30f104=_0x1b543b,_0x535514=_0x3afc45[_0x30f104(0x260)][_0x30f104(0x365)],_0x48889d=_0x3afc45[_0x30f104(0x317)];if(_0x535514&&_0xc7428e[_0x30f104(0x22f)]&&_0x48889d>=0x12c&&_0x48889d<0x190){if(++_0x1ad052[_0x30f104(0x1bc)]>_0xc7428e[_0x30f104(0x377)]){_0x3c0989(_0x1ad052,_0x3dd33f,'Maximum\x20redirects\x20exceeded');return;}_0x3dd33f[_0x30f104(0x374)]();let _0x59f3ba;try{_0x59f3ba=new _0x31efd7(_0x535514,_0x103eac);}catch{const _0x252df9=new SyntaxError(_0x30f104(0x2c7)+_0x535514);_0x56efb3(_0x1ad052,_0x252df9);return;}_0x19df1c(_0x1ad052,_0x59f3ba,_0x2a8dc1,_0x1e9005);}else _0x1ad052['emit']('unexpected-response',_0x3dd33f,_0x3afc45)||_0x3c0989(_0x1ad052,_0x3dd33f,_0x30f104(0x236)+_0x3afc45[_0x30f104(0x317)]);}),_0x3dd33f['on'](_0x1b543b(0x246),(_0x10bd06,_0x452c67,_0xd2ce36)=>{const _0x4b59c1=_0x1b543b;if(_0x1ad052['emit'](_0x4b59c1(0x246),_0x10bd06),_0x1ad052['readyState']!==_0x3d664e[_0x4b59c1(0x2d3)])return;_0x3dd33f=_0x1ad052[_0x4b59c1(0x1ba)]=null;const _0x47bdfb=_0x10bd06[_0x4b59c1(0x260)]['upgrade'];if(_0x47bdfb===void 0x0||_0x47bdfb[_0x4b59c1(0x305)]()!==_0x4b59c1(0x363)){_0x3c0989(_0x1ad052,_0x452c67,_0x4b59c1(0x227));return;}const _0x54682f=_0xe0281a('sha1')[_0x4b59c1(0x327)](_0x1a358e+_0x1c0d49)[_0x4b59c1(0x1fe)](_0x4b59c1(0x238));if(_0x10bd06[_0x4b59c1(0x260)]['sec-websocket-accept']!==_0x54682f){_0x3c0989(_0x1ad052,_0x452c67,_0x4b59c1(0x212));return;}const _0x31a741=_0x10bd06['headers'][_0x4b59c1(0x235)];let _0x2fa88d;if(_0x31a741!==void 0x0?_0x26eab3[_0x4b59c1(0x384)]?_0x26eab3[_0x4b59c1(0x29d)](_0x31a741)||(_0x2fa88d='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x2fa88d='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x26eab3[_0x4b59c1(0x384)]&&(_0x2fa88d=_0x4b59c1(0x381)),_0x2fa88d){_0x3c0989(_0x1ad052,_0x452c67,_0x2fa88d);return;}_0x31a741&&(_0x1ad052['_protocol']=_0x31a741);const _0x5b93ce=_0x10bd06[_0x4b59c1(0x260)][_0x4b59c1(0x35b)];if(_0x5b93ce!==void 0x0){if(!_0x2a6460){_0x3c0989(_0x1ad052,_0x452c67,_0x4b59c1(0x340));return;}let _0x1ff251;try{_0x1ff251=_0x3c2d34(_0x5b93ce);}catch{_0x3c0989(_0x1ad052,_0x452c67,_0x4b59c1(0x33e));return;}const _0x38effb=Object[_0x4b59c1(0x2be)](_0x1ff251);if(_0x38effb[_0x4b59c1(0x221)]!==0x1||_0x38effb[0x0]!==_0x4f4932['extensionName']){_0x3c0989(_0x1ad052,_0x452c67,_0x4b59c1(0x338));return;}try{_0x2a6460[_0x4b59c1(0x1d9)](_0x1ff251[_0x4f4932[_0x4b59c1(0x271)]]);}catch{_0x3c0989(_0x1ad052,_0x452c67,_0x4b59c1(0x33e));return;}_0x1ad052[_0x4b59c1(0x33a)][_0x4f4932['extensionName']]=_0x2a6460;}_0x1ad052[_0x4b59c1(0x23c)](_0x452c67,_0xd2ce36,{'allowSynchronousEvents':_0xc7428e['allowSynchronousEvents'],'generateMask':_0xc7428e['generateMask'],'maxPayload':_0xc7428e['maxPayload'],'skipUTF8Validation':_0xc7428e['skipUTF8Validation']});}),_0xc7428e[_0x1b543b(0x2b1)]?_0xc7428e[_0x1b543b(0x2b1)](_0x3dd33f,_0x1ad052):_0x3dd33f['end']();}function _0x56efb3(_0x38ed37,_0x2ad176){const _0x4dc550=_0x1cb307;_0x38ed37[_0x4dc550(0x1a7)]=_0x3d664e['CLOSING'],_0x38ed37[_0x4dc550(0x2b3)]=!0x0,_0x38ed37[_0x4dc550(0x352)](_0x4dc550(0x20a),_0x2ad176),_0x38ed37[_0x4dc550(0x21c)]();}function _0x27a6b3(_0xf3fdc0){const _0x71ba47=_0x1cb307;return _0xf3fdc0['path']=_0xf3fdc0[_0x71ba47(0x37d)],_0x456961[_0x71ba47(0x293)](_0xf3fdc0);}function _0x38f678(_0x5832d5){const _0x590059=_0x1cb307;return _0x5832d5[_0x590059(0x298)]=void 0x0,!_0x5832d5[_0x590059(0x382)]&&_0x5832d5[_0x590059(0x382)]!==''&&(_0x5832d5['servername']=_0x456961[_0x590059(0x2ee)](_0x5832d5[_0x590059(0x289)])?'':_0x5832d5[_0x590059(0x289)]),_0x116239['connect'](_0x5832d5);}function _0x3c0989(_0x1dc57a,_0x1e8b10,_0x4a6559){const _0x25b2cb=_0x1cb307;_0x1dc57a[_0x25b2cb(0x1a7)]=_0x3d664e[_0x25b2cb(0x2ad)];const _0x3fe6d0=new Error(_0x4a6559);Error[_0x25b2cb(0x37e)](_0x3fe6d0,_0x3c0989),_0x1e8b10[_0x25b2cb(0x343)]?(_0x1e8b10[_0x5a642a]=!0x0,_0x1e8b10[_0x25b2cb(0x374)](),_0x1e8b10[_0x25b2cb(0x2fb)]&&!_0x1e8b10['socket'][_0x25b2cb(0x323)]&&_0x1e8b10[_0x25b2cb(0x2fb)][_0x25b2cb(0x270)](),process[_0x25b2cb(0x2b4)](_0x56efb3,_0x1dc57a,_0x3fe6d0)):(_0x1e8b10[_0x25b2cb(0x270)](_0x3fe6d0),_0x1e8b10[_0x25b2cb(0x2f9)](_0x25b2cb(0x20a),_0x1dc57a[_0x25b2cb(0x352)][_0x25b2cb(0x23a)](_0x1dc57a,_0x25b2cb(0x20a))),_0x1e8b10[_0x25b2cb(0x2f9)](_0x25b2cb(0x21a),_0x1dc57a[_0x25b2cb(0x21c)][_0x25b2cb(0x23a)](_0x1dc57a)));}function _0x43350e(_0x138a98,_0x250889,_0x19fd30){const _0x2685c0=_0x1cb307;if(_0x250889){const _0x2240f7=_0x473bd3(_0x250889)?_0x250889['size']:_0x5b3f10(_0x250889)[_0x2685c0(0x221)];_0x138a98[_0x2685c0(0x383)]?_0x138a98[_0x2685c0(0x1e0)][_0x2685c0(0x20e)]+=_0x2240f7:_0x138a98['_bufferedAmount']+=_0x2240f7;}if(_0x19fd30){const _0xb1f52f=new Error(_0x2685c0(0x209)+_0x138a98[_0x2685c0(0x341)]+'\x20('+_0x1e47ad[_0x138a98[_0x2685c0(0x341)]]+')');process[_0x2685c0(0x2b4)](_0x19fd30,_0xb1f52f);}}function _0x2a5035(_0x2cdddb,_0xd179e4){const _0x56457b=_0x1cb307,_0x597bc2=this[_0x4539ee];_0x597bc2[_0x56457b(0x32c)]=!0x0,_0x597bc2[_0x56457b(0x24c)]=_0xd179e4,_0x597bc2[_0x56457b(0x1e1)]=_0x2cdddb,_0x597bc2[_0x56457b(0x383)][_0x4539ee]!==void 0x0&&(_0x597bc2[_0x56457b(0x383)]['removeListener'](_0x56457b(0x1cc),_0x42d1d2),process[_0x56457b(0x2b4)](_0x29d243,_0x597bc2['_socket']),_0x2cdddb===0x3ed?_0x597bc2[_0x56457b(0x21a)]():_0x597bc2[_0x56457b(0x21a)](_0x2cdddb,_0xd179e4));}function _0x23499d(){const _0x29c5e7=_0x1cb307,_0x565be9=this[_0x4539ee];_0x565be9[_0x29c5e7(0x28b)]||_0x565be9['_socket'][_0x29c5e7(0x2ab)]();}function _0x129f22(_0x1e9d13){const _0x4f0ad6=_0x1cb307,_0x51cb72=this[_0x4539ee];_0x51cb72[_0x4f0ad6(0x383)][_0x4539ee]!==void 0x0&&(_0x51cb72[_0x4f0ad6(0x383)][_0x4f0ad6(0x1c4)](_0x4f0ad6(0x1cc),_0x42d1d2),process[_0x4f0ad6(0x2b4)](_0x29d243,_0x51cb72['_socket']),_0x51cb72['close'](_0x1e9d13[_0x24c525])),_0x51cb72[_0x4f0ad6(0x2b3)]||(_0x51cb72['_errorEmitted']=!0x0,_0x51cb72[_0x4f0ad6(0x352)](_0x4f0ad6(0x20a),_0x1e9d13));}function _0x5d0d91(){this[_0x4539ee]['emitClose']();}function _0x16588a(_0x2c7824,_0x1713d5){const _0x578b7c=_0x1cb307;this[_0x4539ee][_0x578b7c(0x352)](_0x578b7c(0x219),_0x2c7824,_0x1713d5);}function _0x4a5193(_0x94813e){const _0x226c1a=_0x1cb307,_0x5825e3=this[_0x4539ee];_0x5825e3[_0x226c1a(0x347)]&&_0x5825e3[_0x226c1a(0x294)](_0x94813e,!this[_0x226c1a(0x364)],_0x1c872b),_0x5825e3[_0x226c1a(0x352)](_0x226c1a(0x29e),_0x94813e);}function _0x2b51ce(_0xd037b1){const _0x2590ca=_0x1cb307;this[_0x4539ee][_0x2590ca(0x352)](_0x2590ca(0x294),_0xd037b1);}function _0x29d243(_0x4dbb5b){const _0x44d369=_0x1cb307;_0x4dbb5b[_0x44d369(0x2ab)]();}function _0x522773(_0xd3ba93){const _0x3b0e6a=_0x1cb307,_0xe4932c=this[_0x4539ee];_0xe4932c[_0x3b0e6a(0x341)]!==_0x3d664e[_0x3b0e6a(0x2bf)]&&(_0xe4932c['readyState']===_0x3d664e[_0x3b0e6a(0x24f)]&&(_0xe4932c['_readyState']=_0x3d664e[_0x3b0e6a(0x2ad)],_0x251e8d(_0xe4932c)),this[_0x3b0e6a(0x383)][_0x3b0e6a(0x2fa)](),_0xe4932c['_errorEmitted']||(_0xe4932c['_errorEmitted']=!0x0,_0xe4932c[_0x3b0e6a(0x352)](_0x3b0e6a(0x20a),_0xd3ba93)));}function _0x251e8d(_0x714b7d){const _0x1cb3da=_0x1cb307;_0x714b7d[_0x1cb3da(0x353)]=setTimeout(_0x714b7d[_0x1cb3da(0x383)][_0x1cb3da(0x270)]['bind'](_0x714b7d['_socket']),_0x5c9f10);}function _0x593875(){const _0x408360=_0x1cb307,_0x323679=this[_0x4539ee];this['removeListener'](_0x408360(0x21a),_0x593875),this[_0x408360(0x1c4)](_0x408360(0x1cc),_0x42d1d2),this[_0x408360(0x1c4)](_0x408360(0x2fa),_0x3536e5),_0x323679['_readyState']=_0x3d664e['CLOSING'];let _0x2c60b3;!this[_0x408360(0x22c)]['endEmitted']&&!_0x323679[_0x408360(0x32c)]&&!_0x323679['_receiver']['_writableState'][_0x408360(0x33c)]&&(_0x2c60b3=_0x323679[_0x408360(0x383)][_0x408360(0x287)]())!==null&&_0x323679[_0x408360(0x1dd)][_0x408360(0x1ad)](_0x2c60b3),_0x323679[_0x408360(0x1dd)][_0x408360(0x2fa)](),this[_0x4539ee]=void 0x0,clearTimeout(_0x323679[_0x408360(0x353)]),_0x323679[_0x408360(0x1dd)][_0x408360(0x26e)][_0x408360(0x2a5)]||_0x323679[_0x408360(0x1dd)][_0x408360(0x26e)][_0x408360(0x33c)]?_0x323679['emitClose']():(_0x323679['_receiver']['on']('error',_0x5d0d91),_0x323679[_0x408360(0x1dd)]['on'](_0x408360(0x222),_0x5d0d91));}function _0x42d1d2(_0x4b234f){const _0x35b36b=_0x1cb307;this[_0x4539ee][_0x35b36b(0x1dd)][_0x35b36b(0x1ad)](_0x4b234f)||this[_0x35b36b(0x2a4)]();}function _0x3536e5(){const _0x3107cd=_0x1cb307,_0x5dd258=this[_0x4539ee];_0x5dd258[_0x3107cd(0x1a7)]=_0x3d664e[_0x3107cd(0x2ad)],_0x5dd258[_0x3107cd(0x1dd)]['end'](),this['end']();}function _0x411e46(){const _0x1b16f2=_0x1cb307,_0x7611ee=this[_0x4539ee];this[_0x1b16f2(0x1c4)]('error',_0x411e46),this['on'](_0x1b16f2(0x20a),_0x1c872b),_0x7611ee&&(_0x7611ee[_0x1b16f2(0x1a7)]=_0x3d664e['CLOSING'],this[_0x1b16f2(0x270)]());}return _0x29c504;}var _0x56e82d,_0x1083e1;function _0x21de6b(){if(_0x1083e1)return _0x56e82d;_0x1083e1=0x1,_0x1281c1();const {Duplex:_0x1bd9ea}=_0x2c2711;function _0x2135ec(_0x3062b8){const _0x250f25=_0x2816;_0x3062b8[_0x250f25(0x352)](_0x250f25(0x21a));}function _0x59d368(){const _0x3cdf68=_0x2816;!this[_0x3cdf68(0x323)]&&this[_0x3cdf68(0x26e)][_0x3cdf68(0x2a5)]&&this[_0x3cdf68(0x270)]();}function _0x446e05(_0x1a8501){const _0x3f03d5=_0x2816;this['removeListener'](_0x3f03d5(0x20a),_0x446e05),this[_0x3f03d5(0x270)](),this[_0x3f03d5(0x2f8)](_0x3f03d5(0x20a))===0x0&&this[_0x3f03d5(0x352)](_0x3f03d5(0x20a),_0x1a8501);}function _0x2416ae(_0x28bcb1,_0x1d259f){const _0x4063b2=_0x2816;let _0x34f1b4=!0x0;const _0x5d54f9=new _0x1bd9ea({..._0x1d259f,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x28bcb1['on'](_0x4063b2(0x219),function(_0x44380b,_0x361777){const _0x198d50=_0x4063b2,_0x4bb7d8=!_0x361777&&_0x5d54f9[_0x198d50(0x22c)]['objectMode']?_0x44380b[_0x198d50(0x34f)]():_0x44380b;_0x5d54f9[_0x198d50(0x2c5)](_0x4bb7d8)||_0x28bcb1[_0x198d50(0x2a4)]();}),_0x28bcb1[_0x4063b2(0x2f9)]('error',function(_0x15d87d){const _0x4e1939=_0x4063b2;_0x5d54f9[_0x4e1939(0x323)]||(_0x34f1b4=!0x1,_0x5d54f9['destroy'](_0x15d87d));}),_0x28bcb1['once']('close',function(){const _0x2889fd=_0x4063b2;_0x5d54f9[_0x2889fd(0x323)]||_0x5d54f9['push'](null);}),_0x5d54f9[_0x4063b2(0x329)]=function(_0x2513a9,_0x161e85){const _0x12cebe=_0x4063b2;if(_0x28bcb1[_0x12cebe(0x341)]===_0x28bcb1[_0x12cebe(0x2bf)]){_0x161e85(_0x2513a9),process[_0x12cebe(0x2b4)](_0x2135ec,_0x5d54f9);return;}let _0x5e997f=!0x1;_0x28bcb1['once'](_0x12cebe(0x20a),function(_0x3a3291){_0x5e997f=!0x0,_0x161e85(_0x3a3291);}),_0x28bcb1['once'](_0x12cebe(0x21a),function(){const _0x34b087=_0x12cebe;_0x5e997f||_0x161e85(_0x2513a9),process[_0x34b087(0x2b4)](_0x2135ec,_0x5d54f9);}),_0x34f1b4&&_0x28bcb1[_0x12cebe(0x29f)]();},_0x5d54f9[_0x4063b2(0x371)]=function(_0x3ec38e){const _0x1f21fa=_0x4063b2;if(_0x28bcb1[_0x1f21fa(0x341)]===_0x28bcb1['CONNECTING']){_0x28bcb1[_0x1f21fa(0x2f9)](_0x1f21fa(0x1e7),function(){_0x5d54f9['_final'](_0x3ec38e);});return;}_0x28bcb1[_0x1f21fa(0x383)]!==null&&(_0x28bcb1[_0x1f21fa(0x383)][_0x1f21fa(0x26e)][_0x1f21fa(0x2a5)]?(_0x3ec38e(),_0x5d54f9[_0x1f21fa(0x22c)][_0x1f21fa(0x34b)]&&_0x5d54f9[_0x1f21fa(0x270)]()):(_0x28bcb1[_0x1f21fa(0x383)]['once'](_0x1f21fa(0x222),function(){_0x3ec38e();}),_0x28bcb1[_0x1f21fa(0x21a)]()));},_0x5d54f9['_read']=function(){const _0x769b1=_0x4063b2;_0x28bcb1[_0x769b1(0x28b)]&&_0x28bcb1[_0x769b1(0x2ab)]();},_0x5d54f9['_write']=function(_0x381414,_0xf30a2,_0x430764){const _0x520ac2=_0x4063b2;if(_0x28bcb1['readyState']===_0x28bcb1[_0x520ac2(0x2d3)]){_0x28bcb1[_0x520ac2(0x2f9)]('open',function(){const _0xcc89d1=_0x520ac2;_0x5d54f9[_0xcc89d1(0x36f)](_0x381414,_0xf30a2,_0x430764);});return;}_0x28bcb1[_0x520ac2(0x303)](_0x381414,_0x430764);},_0x5d54f9['on'](_0x4063b2(0x2fa),_0x59d368),_0x5d54f9['on']('error',_0x446e05),_0x5d54f9;}return _0x56e82d=_0x2416ae,_0x56e82d;}_0x21de6b(),_0x3ede35(),_0x36868f();var _0x1882f6=_0x1281c1();const _0x1a521d=_0x55275f(_0x1882f6);var _0x59c5a8,_0x3d9459;function _0x4c512d(){if(_0x3d9459)return _0x59c5a8;_0x3d9459=0x1;const {tokenChars:_0xc28f55}=_0x3d12f0();function _0x53e857(_0x539c2c){const _0x27d296=_0x2816,_0x37f0bc=new Set();let _0xf4dcad=-0x1,_0xf5a29a=-0x1,_0x5e6f06=0x0;for(_0x5e6f06;_0x5e6f06<_0x539c2c[_0x27d296(0x221)];_0x5e6f06++){const _0x41846f=_0x539c2c[_0x27d296(0x224)](_0x5e6f06);if(_0xf5a29a===-0x1&&_0xc28f55[_0x41846f]===0x1)_0xf4dcad===-0x1&&(_0xf4dcad=_0x5e6f06);else{if(_0x5e6f06!==0x0&&(_0x41846f===0x20||_0x41846f===0x9))_0xf5a29a===-0x1&&_0xf4dcad!==-0x1&&(_0xf5a29a=_0x5e6f06);else{if(_0x41846f===0x2c){if(_0xf4dcad===-0x1)throw new SyntaxError(_0x27d296(0x297)+_0x5e6f06);_0xf5a29a===-0x1&&(_0xf5a29a=_0x5e6f06);const _0x1f0cc9=_0x539c2c[_0x27d296(0x360)](_0xf4dcad,_0xf5a29a);if(_0x37f0bc[_0x27d296(0x29d)](_0x1f0cc9))throw new SyntaxError(_0x27d296(0x269)+_0x1f0cc9+_0x27d296(0x1dc));_0x37f0bc[_0x27d296(0x2e1)](_0x1f0cc9),_0xf4dcad=_0xf5a29a=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5e6f06);}}}if(_0xf4dcad===-0x1||_0xf5a29a!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x3b129e=_0x539c2c[_0x27d296(0x360)](_0xf4dcad,_0x5e6f06);if(_0x37f0bc['has'](_0x3b129e))throw new SyntaxError(_0x27d296(0x269)+_0x3b129e+_0x27d296(0x1dc));return _0x37f0bc['add'](_0x3b129e),_0x37f0bc;}return _0x59c5a8={'parse':_0x53e857},_0x59c5a8;}var _0x20149e,_0x55f6c9;function _0x142056(){const _0x53f58=_0x4df616;if(_0x55f6c9)return _0x20149e;_0x55f6c9=0x1;const _0x1f7595=_0x31e0f3,_0x4bad3e=_0x43406f,{Duplex:_0x43d488}=_0x2c2711,{createHash:_0x173136}=_0x950ed8,_0x56dff1=_0x534562(),_0x5b05d2=_0x1aeb37(),_0x5df782=_0x4c512d(),_0x14b13e=_0x1281c1(),{GUID:_0xbf208b,kWebSocket:_0x2e6c4e}=_0x1b5228(),_0x5c55bf=/^[+/0-9A-Za-z]{22}==$/,_0x443e94=0x0,_0x48b481=0x1,_0x41367a=0x2;class _0x2f68dc extends _0x1f7595{constructor(_0x5622b3,_0x5c463b){const _0x40ea71=_0x2816;if(super(),_0x5622b3={'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':_0x14b13e,..._0x5622b3},_0x5622b3[_0x40ea71(0x261)]==null&&!_0x5622b3[_0x40ea71(0x31c)]&&!_0x5622b3[_0x40ea71(0x1f2)]||_0x5622b3[_0x40ea71(0x261)]!=null&&(_0x5622b3[_0x40ea71(0x31c)]||_0x5622b3[_0x40ea71(0x1f2)])||_0x5622b3[_0x40ea71(0x31c)]&&_0x5622b3[_0x40ea71(0x1f2)])throw new TypeError(_0x40ea71(0x2e5));if(_0x5622b3[_0x40ea71(0x261)]!=null?(this[_0x40ea71(0x1be)]=_0x4bad3e[_0x40ea71(0x336)]((_0x3daf50,_0x3b9a7d)=>{const _0xa36c71=_0x40ea71,_0x41366b=_0x4bad3e[_0xa36c71(0x1c2)][0x1aa];_0x3b9a7d[_0xa36c71(0x28a)](0x1aa,{'Content-Length':_0x41366b[_0xa36c71(0x221)],'Content-Type':_0xa36c71(0x1cf)}),_0x3b9a7d[_0xa36c71(0x2fa)](_0x41366b);}),this[_0x40ea71(0x1be)][_0x40ea71(0x216)](_0x5622b3[_0x40ea71(0x261)],_0x5622b3['host'],_0x5622b3[_0x40ea71(0x22a)],_0x5c463b)):_0x5622b3[_0x40ea71(0x31c)]&&(this[_0x40ea71(0x1be)]=_0x5622b3['server']),this[_0x40ea71(0x1be)]){const _0x2188d0=this['emit']['bind'](this,_0x40ea71(0x319));this['_removeListeners']=_0x4a4d99(this[_0x40ea71(0x1be)],{'listening':this[_0x40ea71(0x352)][_0x40ea71(0x23a)](this,_0x40ea71(0x2c8)),'error':this[_0x40ea71(0x352)][_0x40ea71(0x23a)](this,'error'),'upgrade':(_0x46b31a,_0x2763cc,_0x4deda6)=>{const _0x1fade4=_0x40ea71;this[_0x1fade4(0x1e4)](_0x46b31a,_0x2763cc,_0x4deda6,_0x2188d0);}});}_0x5622b3[_0x40ea71(0x218)]===!0x0&&(_0x5622b3[_0x40ea71(0x218)]={}),_0x5622b3[_0x40ea71(0x296)]&&(this[_0x40ea71(0x255)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x40ea71(0x1e9)]=_0x5622b3,this[_0x40ea71(0x36c)]=_0x443e94;}[_0x53f58(0x24d)](){const _0x228a20=_0x53f58;if(this[_0x228a20(0x1e9)][_0x228a20(0x1f2)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x228a20(0x1be)]?this[_0x228a20(0x1be)]['address']():null;}['close'](_0x53a100){const _0x395cb8=_0x53f58;if(this[_0x395cb8(0x36c)]===_0x41367a){_0x53a100&&this['once']('close',()=>{const _0x9a86ec=_0x395cb8;_0x53a100(new Error(_0x9a86ec(0x259)));}),process[_0x395cb8(0x2b4)](_0x2f6dcc,this);return;}if(_0x53a100&&this[_0x395cb8(0x2f9)]('close',_0x53a100),this[_0x395cb8(0x36c)]!==_0x48b481){if(this[_0x395cb8(0x36c)]=_0x48b481,this[_0x395cb8(0x1e9)][_0x395cb8(0x1f2)]||this[_0x395cb8(0x1e9)][_0x395cb8(0x31c)])this[_0x395cb8(0x1be)]&&(this[_0x395cb8(0x26b)](),this['_removeListeners']=this[_0x395cb8(0x1be)]=null),this[_0x395cb8(0x255)]?this['clients']['size']?this[_0x395cb8(0x251)]=!0x0:process[_0x395cb8(0x2b4)](_0x2f6dcc,this):process[_0x395cb8(0x2b4)](_0x2f6dcc,this);else{const _0x3e5d24=this[_0x395cb8(0x1be)];this[_0x395cb8(0x26b)](),this[_0x395cb8(0x26b)]=this[_0x395cb8(0x1be)]=null,_0x3e5d24[_0x395cb8(0x21a)](()=>{_0x2f6dcc(this);});}}}[_0x53f58(0x26a)](_0x54a8de){const _0x1f1574=_0x53f58;if(this[_0x1f1574(0x1e9)][_0x1f1574(0x298)]){const _0xab5e1c=_0x54a8de[_0x1f1574(0x1aa)][_0x1f1574(0x2c0)]('?');if((_0xab5e1c!==-0x1?_0x54a8de['url'][_0x1f1574(0x360)](0x0,_0xab5e1c):_0x54a8de[_0x1f1574(0x1aa)])!==this['options'][_0x1f1574(0x298)])return!0x1;}return!0x0;}[_0x53f58(0x1e4)](_0x4d2bd1,_0x2d8145,_0x3c316c,_0x12167f){const _0x42c82c=_0x53f58;_0x2d8145['on'](_0x42c82c(0x20a),_0x478dc5);const _0xf97d45=_0x4d2bd1['headers'][_0x42c82c(0x1b2)],_0x5bd816=_0x4d2bd1[_0x42c82c(0x260)]['upgrade'],_0x1fe07c=+_0x4d2bd1[_0x42c82c(0x260)][_0x42c82c(0x324)];if(_0x4d2bd1['method']!==_0x42c82c(0x241)){_0x250214(this,_0x4d2bd1,_0x2d8145,0x195,_0x42c82c(0x373));return;}if(_0x5bd816===void 0x0||_0x5bd816['toLowerCase']()!=='websocket'){_0x250214(this,_0x4d2bd1,_0x2d8145,0x190,_0x42c82c(0x227));return;}if(_0xf97d45===void 0x0||!_0x5c55bf[_0x42c82c(0x33f)](_0xf97d45)){_0x250214(this,_0x4d2bd1,_0x2d8145,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x1fe07c!==0x8&&_0x1fe07c!==0xd){_0x250214(this,_0x4d2bd1,_0x2d8145,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x42c82c(0x26a)](_0x4d2bd1)){_0x1e5610(_0x2d8145,0x190);return;}const _0xca2a70=_0x4d2bd1[_0x42c82c(0x260)][_0x42c82c(0x235)];let _0x4980c8=new Set();if(_0xca2a70!==void 0x0)try{_0x4980c8=_0x5df782[_0x42c82c(0x2d5)](_0xca2a70);}catch{_0x250214(this,_0x4d2bd1,_0x2d8145,0x190,_0x42c82c(0x315));return;}const _0x15cae8=_0x4d2bd1['headers']['sec-websocket-extensions'],_0x135d32={};if(this[_0x42c82c(0x1e9)][_0x42c82c(0x218)]&&_0x15cae8!==void 0x0){const _0x1d1abc=new _0x5b05d2(this['options'][_0x42c82c(0x218)],!0x0,this[_0x42c82c(0x1e9)][_0x42c82c(0x37f)]);try{const _0xe96e27=_0x56dff1[_0x42c82c(0x2d5)](_0x15cae8);_0xe96e27[_0x5b05d2[_0x42c82c(0x271)]]&&(_0x1d1abc[_0x42c82c(0x1d9)](_0xe96e27[_0x5b05d2[_0x42c82c(0x271)]]),_0x135d32[_0x5b05d2[_0x42c82c(0x271)]]=_0x1d1abc);}catch{_0x250214(this,_0x4d2bd1,_0x2d8145,0x190,_0x42c82c(0x1ec));return;}}if(this['options'][_0x42c82c(0x2de)]){const _0x57e959={'origin':_0x4d2bd1[_0x42c82c(0x260)][''+(_0x1fe07c===0x8?_0x42c82c(0x26d):_0x42c82c(0x1ae))],'secure':!!(_0x4d2bd1['socket']['authorized']||_0x4d2bd1[_0x42c82c(0x2fb)][_0x42c82c(0x29c)]),'req':_0x4d2bd1};if(this[_0x42c82c(0x1e9)]['verifyClient'][_0x42c82c(0x221)]===0x2){this[_0x42c82c(0x1e9)][_0x42c82c(0x2de)](_0x57e959,(_0x38059,_0x3286f6,_0x257573,_0x44b452)=>{if(!_0x38059)return _0x1e5610(_0x2d8145,_0x3286f6||0x191,_0x257573,_0x44b452);this['completeUpgrade'](_0x135d32,_0xf97d45,_0x4980c8,_0x4d2bd1,_0x2d8145,_0x3c316c,_0x12167f);});return;}if(!this[_0x42c82c(0x1e9)][_0x42c82c(0x2de)](_0x57e959))return _0x1e5610(_0x2d8145,0x191);}this['completeUpgrade'](_0x135d32,_0xf97d45,_0x4980c8,_0x4d2bd1,_0x2d8145,_0x3c316c,_0x12167f);}[_0x53f58(0x275)](_0x2c31fc,_0x2fe1c6,_0x29979a,_0x49f833,_0x4f0df5,_0x432d81,_0x2801e9){const _0x1dfedc=_0x53f58;if(!_0x4f0df5[_0x1dfedc(0x23e)]||!_0x4f0df5[_0x1dfedc(0x21f)])return _0x4f0df5[_0x1dfedc(0x270)]();if(_0x4f0df5[_0x2e6c4e])throw new Error(_0x1dfedc(0x362));if(this['_state']>_0x443e94)return _0x1e5610(_0x4f0df5,0x1f7);const _0x5d54d9=[_0x1dfedc(0x37c),_0x1dfedc(0x27e),_0x1dfedc(0x31b),'Sec-WebSocket-Accept:\x20'+_0x173136(_0x1dfedc(0x263))['update'](_0x2fe1c6+_0xbf208b)[_0x1dfedc(0x1fe)](_0x1dfedc(0x238))],_0x491064=new this[(_0x1dfedc(0x1e9))][(_0x1dfedc(0x262))](null,void 0x0,this[_0x1dfedc(0x1e9)]);if(_0x29979a[_0x1dfedc(0x384)]){const _0x37acef=this[_0x1dfedc(0x1e9)][_0x1dfedc(0x2c4)]?this[_0x1dfedc(0x1e9)]['handleProtocols'](_0x29979a,_0x49f833):_0x29979a['values']()[_0x1dfedc(0x2ba)]()[_0x1dfedc(0x26c)];_0x37acef&&(_0x5d54d9[_0x1dfedc(0x2c5)](_0x1dfedc(0x1cb)+_0x37acef),_0x491064[_0x1dfedc(0x334)]=_0x37acef);}if(_0x2c31fc[_0x5b05d2[_0x1dfedc(0x271)]]){const _0x52c4f7=_0x2c31fc[_0x5b05d2['extensionName']]['params'],_0x469883=_0x56dff1[_0x1dfedc(0x369)]({[_0x5b05d2[_0x1dfedc(0x271)]]:[_0x52c4f7]});_0x5d54d9[_0x1dfedc(0x2c5)]('Sec-WebSocket-Extensions:\x20'+_0x469883),_0x491064[_0x1dfedc(0x33a)]=_0x2c31fc;}this[_0x1dfedc(0x352)](_0x1dfedc(0x260),_0x5d54d9,_0x49f833),_0x4f0df5[_0x1dfedc(0x1ad)](_0x5d54d9[_0x1dfedc(0x350)]('\x0d\x0a')['join']('\x0d\x0a')),_0x4f0df5[_0x1dfedc(0x1c4)](_0x1dfedc(0x20a),_0x478dc5),_0x491064[_0x1dfedc(0x23c)](_0x4f0df5,_0x432d81,{'allowSynchronousEvents':this[_0x1dfedc(0x1e9)]['allowSynchronousEvents'],'maxPayload':this[_0x1dfedc(0x1e9)][_0x1dfedc(0x37f)],'skipUTF8Validation':this[_0x1dfedc(0x1e9)][_0x1dfedc(0x304)]}),this[_0x1dfedc(0x255)]&&(this['clients'][_0x1dfedc(0x2e1)](_0x491064),_0x491064['on'](_0x1dfedc(0x21a),()=>{const _0x5dd21e=_0x1dfedc;this[_0x5dd21e(0x255)]['delete'](_0x491064),this[_0x5dd21e(0x251)]&&!this[_0x5dd21e(0x255)][_0x5dd21e(0x384)]&&process[_0x5dd21e(0x2b4)](_0x2f6dcc,this);})),_0x2801e9(_0x491064,_0x49f833);}}_0x20149e=_0x2f68dc;function _0x4a4d99(_0x43b127,_0x4dfc91){const _0x3859a1=_0x53f58;for(const _0x222739 of Object[_0x3859a1(0x2be)](_0x4dfc91))_0x43b127['on'](_0x222739,_0x4dfc91[_0x222739]);return function(){const _0x2f12ea=_0x3859a1;for(const _0x166e34 of Object[_0x2f12ea(0x2be)](_0x4dfc91))_0x43b127[_0x2f12ea(0x1c4)](_0x166e34,_0x4dfc91[_0x166e34]);};}function _0x2f6dcc(_0x13efa7){const _0x3f7596=_0x53f58;_0x13efa7['_state']=_0x41367a,_0x13efa7[_0x3f7596(0x352)](_0x3f7596(0x21a));}function _0x478dc5(){this['destroy']();}function _0x1e5610(_0x4953cc,_0x25af2a,_0x5ca449,_0x1020ad){const _0x179044=_0x53f58;_0x5ca449=_0x5ca449||_0x4bad3e[_0x179044(0x1c2)][_0x25af2a],_0x1020ad={'Connection':_0x179044(0x21a),'Content-Type':'text/html','Content-Length':Buffer['byteLength'](_0x5ca449),..._0x1020ad},_0x4953cc[_0x179044(0x2f9)]('finish',_0x4953cc[_0x179044(0x270)]),_0x4953cc[_0x179044(0x2fa)](_0x179044(0x28c)+_0x25af2a+'\x20'+_0x4bad3e['STATUS_CODES'][_0x25af2a]+'\x0d\x0a'+Object[_0x179044(0x2be)](_0x1020ad)[_0x179044(0x2ce)](_0x514540=>_0x514540+':\x20'+_0x1020ad[_0x514540])[_0x179044(0x2e7)]('\x0d\x0a')+_0x179044(0x1ca)+_0x5ca449);}function _0x250214(_0x3d59b7,_0x4af30f,_0x4e3ebc,_0x55317a,_0x3491ac){const _0x54a8bc=_0x53f58;if(_0x3d59b7['listenerCount']('wsClientError')){const _0x23591b=new Error(_0x3491ac);Error['captureStackTrace'](_0x23591b,_0x250214),_0x3d59b7[_0x54a8bc(0x352)](_0x54a8bc(0x2ec),_0x23591b,_0x4e3ebc,_0x4af30f);}else _0x1e5610(_0x4e3ebc,_0x55317a,_0x3491ac);}return _0x20149e;}_0x142056();var _0x33efe1=Object[_0x4df616(0x27f)],_0x1bdc8e=(_0x3126c0,_0x38dd38,_0x3d10b7,_0x2756ea)=>{const _0x108445=_0x4df616;for(var _0x529e6d=_0x2756ea>0x1?void 0x0:_0x2756ea?_0x33efe1(_0x38dd38,_0x3d10b7):_0x38dd38,_0x2cccc0=_0x3126c0[_0x108445(0x221)]-0x1,_0x20f940;_0x2cccc0>=0x0;_0x2cccc0--)(_0x20f940=_0x3126c0[_0x2cccc0])&&(_0x529e6d=_0x20f940(_0x529e6d)||_0x529e6d);return _0x529e6d;},_0x49e600=(_0x46d792,_0x21f47e)=>(_0x217c25,_0xa6811f)=>_0x21f47e(_0x217c25,_0xa6811f,_0x46d792);let _0x376ddf=class extends _0x567aa6[_0x4df616(0x1d8)]{constructor(_0x5bd872){const _0x53e939=_0x4df616;super(),this[_0x53e939(0x2fd)]=_0x5bd872;}[_0x4df616(0x1f4)](_0x49ad7f){const _0x822ae=_0x4df616;var _0x5426fd;const _0x1823d9=(_0x5426fd=this[_0x822ae(0x2fd)][_0x822ae(0x1c9)](_0x5a40b8))==null?void 0x0:_0x5426fd[_0x822ae(0x1b4)];try{const _0x342803=new _0x1a521d(_0x49ad7f,{'headers':{..._0x1823d9}}),_0x5d3322=new _0x567aa6['DisposableCollection']();return{'URL':_0x49ad7f,'close':(_0x106fea,_0x6cb911)=>{const _0x97a439=_0x822ae;_0x342803[_0x97a439(0x21a)](_0x106fea,_0x6cb911),_0x5d3322[_0x97a439(0x2fe)]();},'send':_0x1a1f34=>{const _0x2cc8b8=_0x822ae;_0x342803[_0x2cc8b8(0x303)](_0x1a1f34);},'open$':new _0x1f9930['Observable'](_0x32a24e=>{const _0x1ab35f=_0x822ae,_0x5b7b37=_0x51b7b2=>_0x32a24e[_0x1ab35f(0x2ba)](_0x51b7b2);_0x342803['addEventListener'](_0x1ab35f(0x1e7),_0x5b7b37),_0x5d3322[_0x1ab35f(0x2e1)](_0x567aa6[_0x1ab35f(0x284)](()=>_0x342803[_0x1ab35f(0x1b7)](_0x1ab35f(0x1e7),_0x5b7b37)));})[_0x822ae(0x2a2)](_0x1f9930[_0x822ae(0x31f)]()),'close$':new _0x1f9930[(_0x822ae(0x23b))](_0x545b22=>{const _0x492e99=_0x822ae,_0x135f57=_0x54e795=>_0x545b22['next'](_0x54e795);_0x342803[_0x492e99(0x242)](_0x492e99(0x21a),_0x135f57),_0x5d3322[_0x492e99(0x2e1)](_0x567aa6[_0x492e99(0x284)](()=>_0x342803[_0x492e99(0x1b7)](_0x492e99(0x21a),_0x135f57)));})[_0x822ae(0x2a2)](_0x1f9930[_0x822ae(0x31f)]()),'error$':new _0x1f9930[(_0x822ae(0x23b))](_0x166aa7=>{const _0x4c6875=_0x822ae,_0x1a5949=_0x225100=>_0x166aa7[_0x4c6875(0x2ba)](_0x225100);_0x342803[_0x4c6875(0x242)](_0x4c6875(0x20a),_0x1a5949),_0x5d3322[_0x4c6875(0x2e1)](_0x567aa6[_0x4c6875(0x284)](()=>_0x342803['removeEventListener'](_0x4c6875(0x20a),_0x1a5949)));})[_0x822ae(0x2a2)](_0x1f9930['share']()),'message$':new _0x1f9930[(_0x822ae(0x23b))](_0x1b9042=>{const _0x47fc7f=_0x822ae,_0x2b9151=_0x430c9d=>_0x1b9042[_0x47fc7f(0x2ba)](_0x430c9d);_0x342803[_0x47fc7f(0x242)](_0x47fc7f(0x219),_0x2b9151),_0x5d3322[_0x47fc7f(0x2e1)](_0x567aa6[_0x47fc7f(0x284)](()=>_0x342803[_0x47fc7f(0x1b7)](_0x47fc7f(0x219),_0x2b9151)));})[_0x822ae(0x2a2)](_0x1f9930[_0x822ae(0x31f)]())};}catch(_0x8cebcc){return console['error'](_0x8cebcc),null;}}};_0x376ddf=_0x1bdc8e([_0x49e600(0x0,_0x567aa6[_0x4df616(0x2ae)])],_0x376ddf);var _0x2bca68=Object['defineProperty'],_0x85c742=Object[_0x4df616(0x27f)],_0x188699=(_0x371818,_0x3ca8a5,_0x471130)=>_0x3ca8a5 in _0x371818?_0x2bca68(_0x371818,_0x3ca8a5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x471130}):_0x371818[_0x3ca8a5]=_0x471130,_0x265190=(_0x429391,_0xd57c96,_0x91082f,_0x280b5c)=>{const _0x344f45=_0x4df616;for(var _0x2f0c52=_0x280b5c>0x1?void 0x0:_0x280b5c?_0x85c742(_0xd57c96,_0x91082f):_0xd57c96,_0x2438e0=_0x429391[_0x344f45(0x221)]-0x1,_0x1a5ac7;_0x2438e0>=0x0;_0x2438e0--)(_0x1a5ac7=_0x429391[_0x2438e0])&&(_0x2f0c52=_0x1a5ac7(_0x2f0c52)||_0x2f0c52);return _0x2f0c52;},_0x48d901=(_0x4fc024,_0x220395)=>(_0x344f96,_0x541a69)=>_0x220395(_0x344f96,_0x541a69,_0x4fc024),_0x5dc0f8=(_0x5d14f1,_0x446429,_0x9f5789)=>_0x188699(_0x5d14f1,_0x446429+'',_0x9f5789);_0x19d4bc[_0x4df616(0x1f8)]=class extends _0x567aa6[_0x4df616(0x1fb)]{constructor(_0x5b3f63=_0x17b187,_0x389c45,_0x41b087,_0x24d9b3){const _0x443a25=_0x4df616;_0x5b3f63['customHeaders']||_0x389c45[_0x443a25(0x34c)](_0x443a25(0x355)),super(),this['_configService']=_0x41b087,this[_0x443a25(0x359)]=_0x24d9b3,this[_0x443a25(0x2fd)][_0x443a25(0x2b0)](_0x5a40b8,_0x5b3f63);}[_0x4df616(0x1b0)](){const _0x2fbc26=_0x4df616;this[_0x2fbc26(0x2c1)]();}['_registerDependencies'](){const _0x5d6e89=_0x4df616;_0x567aa6[_0x5d6e89(0x2a7)](this['_injector'],[[_0x17feb1[_0x5d6e89(0x247)],{'useClass':_0x376ddf}]]);}},_0x5dc0f8(_0x19d4bc[_0x4df616(0x1f8)],_0x4df616(0x25a),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),_0x19d4bc[_0x4df616(0x1f8)]=_0x265190([_0x567aa6[_0x4df616(0x2c6)](_0x499c7c[_0x4df616(0x1d5)]),_0x48d901(0x1,_0x567aa6[_0x4df616(0x32b)]),_0x48d901(0x2,_0x567aa6[_0x4df616(0x2ae)]),_0x48d901(0x3,_0x567aa6['Inject'](_0x567aa6[_0x4df616(0x201)]))],_0x19d4bc['UniverCollaborationClientNodePlugin']);var _0x4ceb58=Object[_0x4df616(0x27f)],_0x29e73d=(_0xd6e865,_0x2f89e7,_0x4f6378,_0x5e4698)=>{const _0x3150f4=_0x4df616;for(var _0x1c753a=_0x5e4698>0x1?void 0x0:_0x5e4698?_0x4ceb58(_0x2f89e7,_0x4f6378):_0x2f89e7,_0x2ba83c=_0xd6e865[_0x3150f4(0x221)]-0x1,_0x450949;_0x2ba83c>=0x0;_0x2ba83c--)(_0x450949=_0xd6e865[_0x2ba83c])&&(_0x1c753a=_0x450949(_0x1c753a)||_0x1c753a);return _0x1c753a;},_0x2c9366=(_0x2ce17a,_0xbbca3d)=>(_0x3df5b6,_0xba01b9)=>_0xbbca3d(_0x3df5b6,_0xba01b9,_0x2ce17a);_0x19d4bc[_0x4df616(0x32a)]=class extends _0x499c7c[_0x4df616(0x2a0)]{constructor(_0x29f788,_0x2a9ec7,_0x4dd239,_0x3eb782,_0x54907a){const _0x1a0bac=_0x4df616;super(_0x29f788,_0x2a9ec7,_0x4dd239,_0x3eb782,_0x54907a);const _0x1da26a=this[_0x1a0bac(0x2fd)]['getConfig'](_0x5a40b8);this['_httpService'][_0x1a0bac(0x320)]({'interceptor':(_0x33915d,_0x37c52a)=>{const _0xb0cb25=_0x1a0bac;var _0x17bc41;const _0x372665=_0x33915d[_0xb0cb25(0x260)];return(_0x17bc41=_0x1da26a==null?void 0x0:_0x1da26a[_0xb0cb25(0x1b4)])!=null&&_0x17bc41[_0xb0cb25(0x1e2)]&&_0x372665[_0xb0cb25(0x21e)]('Cookie',_0x1da26a[_0xb0cb25(0x1b4)][_0xb0cb25(0x1e2)]),_0x37c52a(_0x33915d);}});}async[_0x4df616(0x1f4)](_0xc23ae7){const _0x5e892c=_0x4df616;return this[_0x5e892c(0x2ea)](_0xc23ae7);}},_0x19d4bc['NodeCollaborationSocketService']=_0x29e73d([_0x2c9366(0x0,_0x567aa6[_0x4df616(0x2e6)](_0x567aa6[_0x4df616(0x201)])),_0x2c9366(0x1,_0x567aa6[_0x4df616(0x2e6)](_0x17feb1[_0x4df616(0x1d6)])),_0x2c9366(0x2,_0x567aa6[_0x4df616(0x2ae)]),_0x2c9366(0x3,_0x567aa6[_0x4df616(0x32b)]),_0x2c9366(0x4,_0x3c1ee0['ISnapshotServerService'])],_0x19d4bc[_0x4df616(0x32a)]),_0x19d4bc[_0x4df616(0x252)]=_0x5a40b8,Object[_0x4df616(0x1e5)](_0x19d4bc,Symbol['toStringTag'],{'value':_0x4df616(0x1ce)});}));function _0x2816(_0x553962,_0x181e19){const _0x50d4f2=_0x50d4();return _0x2816=function(_0x2816ea,_0x5a62dd){_0x2816ea=_0x2816ea-0x1a7;let _0x5686ba=_0x50d4f2[_0x2816ea];return _0x5686ba;},_0x2816(_0x553962,_0x181e19);}function _0x50d4(){const _0x8168e=['data','kWasClean','Module','text/plain','shift','_max_window_bits','RSV1\x20must\x20be\x20clear','clientMaxWindowBits','_totalPayloadLength','UniverCollaborationClientPlugin','HTTPService','_buffers','Disposable','accept','kByteLength','rxjs','\x22\x20subprotocol\x20is\x20duplicated','_receiver','4433466gvpwDF','invalid\x20payload\x20length\x20','_sender','_closeCode','cookie','WS_ERR_INVALID_UTF8','handleUpgrade','defineProperty','createError','open','kRun','options','readOnly','readUInt16BE','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','pending','auth','response','dataMessage','_maxPayload','noServer','total-length','createSocket','find','require$$1$1','byteOffset','UniverCollaborationClientNodePlugin','server_max_window_bits','Unknown\x20parameter\x20\x22','Plugin','160304GuvYmp','protocol','digest','_threshold','UniverCore','Injector','http','controlMessage','compress','get','require$$0','clientNoContextTakeover','extensions','WebSocket\x20is\x20not\x20open:\x20readyState\x20','error','_opcode','setTimeout','getInfo','_bufferedBytes','params','crypto','client_no_context_takeover','Invalid\x20Sec-WebSocket-Accept\x20header','decompress','target','threshold','listen','alloc','perMessageDeflate','message','close','readUInt32BE','emitClose','dequeue','set','writable','drain','length','finish','concurrencyLimit','charCodeAt','70bvRxRF','net','Invalid\x20Upgrade\x20header','fin','isBuffer','backlog','require$$4','_readableState','WS_ERR_UNEXPECTED_MASK','Max\x20payload\x20size\x20exceeded','followRedirects','reason','_decompress','allowSynchronousEvents','WS_ERR_INVALID_CLOSE_CODE','Unsupported\x20protocol\x20version:\x20','sec-websocket-protocol','Unexpected\x20server\x20response:\x20','Invalid\x20WebSocket\x20frame:\x20','base64','_originalSecure','bind','Observable','setSocket','enqueue','readable','arraybuffer','hasOwnProperty','GET','addEventListener','kAborted','invalid\x20opcode\x200','_deflate','upgrade','ISocketService','_skipUTF8Validation','includes','_paused','getBlobData','_closeMessage','address','The\x20URL\x27s\x20pathname\x20is\x20empty','OPEN','zlib','_shouldEmitClose','COLLABORATION_CLIENT_NODE_CONFIG_KEY','6228057ftehIU','Sec-WebSocket-Protocol','clients','pathname','http:','@univerjs-pro/collaboration','The\x20server\x20is\x20not\x20running','pluginName','Z_DEFAULT_WINDOWBITS','getPayloadLength64','freeze','object','kError','headers','port','WebSocket','sha1','onclose','permessage-deflate','buffer','callback','WS_ERR_UNEXPECTED_RSV_2_3','The\x20\x22','shouldHandle','_removeListeners','value','sec-websocket-origin','_writableState','authorization','destroy','extensionName','prototype','_originalHostOrSocketPath','pow','completeUpgrade','kListener','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','serverMaxWindowBits','_masked','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','unmask','listeners','_queue','Upgrade:\x20websocket','getOwnPropertyDescriptor','default','__esModule','blob','arrayBuffer','toDisposable','timeout','unshift','read','_binaryType','host','writeHead','isPaused','HTTP/1.1\x20','generateMask','buffers','_no_context_takeover','allocUnsafe','offer','then','connect','pong','handleEvent','clientTracking','Unexpected\x20character\x20at\x20index\x20','path','invalid\x20opcode\x20','241542QKoXpQ','collaboration-client-node.config','encrypted','has','ping','terminate','CollaborationSocketService','Parameter\x20\x22','pipe','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','pause','finished','createConnection','registerDependencies','haveLength','startsWith','Z_SYNC_FLUSH','resume','call','CLOSING','IConfigService','getData','setConfig','finishRequest','string','_errorEmitted','nextTick','WS_ERR_EXPECTED_FIN','_errored','wasClean','12836sccFis','client','next','_bufferedAmount','_options','wss:','keys','CLOSED','indexOf','_registerDependencies','create','zlibInflateOptions','handleProtocols','push','DependentOn','Invalid\x20URL:\x20','listening','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_fin','setNoDelay','File','replace','map','invalid\x20UTF-8\x20sequence','kTarget','UniverProCollaborationClient','kDone','CONNECTING','request','parse','MASK\x20must\x20be\x20set','zlibDeflateOptions','_closeFrameSent','5HEfJAl','_payloadLength','@univerjs/network','Basic\x20','rsv1','verifyClient','_mask','code','add','Unexpected\x20end\x20of\x20input','_compressed','onerror','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','Inject','join','frame','forEach','_doCreateSocket','FIN\x20must\x20be\x20set','wsClientError','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','isIP','search','redirect','_generateMask','exports','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','MASK\x20must\x20be\x20clear','acceptAsServer','concurrency','createInflateRaw','listenerCount','once','end','socket','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_configService','dispose','species','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','require$$7','_messageLength','send','skipUTF8Validation','toLowerCase','writeUIntBE','\x22:\x20','type','binaryType','opcode','binary','2161355UTOHRb','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','https','reset','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','flush','_originalIpc','conclude','ws+unix:','Invalid\x20Sec-WebSocket-Protocol\x20header','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','statusCode','client_max_window_bits','connection','_fragments','Connection:\x20Upgrade','server','WS_NO_BUFFER_UTIL','fragments','share','registerHTTPInterceptor','kType','kReason','destroyed','sec-websocket-version','_maskBuffer','password','update','server_no_context_takeover','_destroy','NodeCollaborationSocketService','ILogService','_closeFrameReceived','UniverNetwork','getPayloadLength16','require$$0$2','WS_ERR_UNEXPECTED_RSV_1','UniverProCollaboration','apply','_url','_protocol','jobs','createServer','_allowSynchronousEvents','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','env','_extensions','toStringTag','errorEmitted','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Invalid\x20Sec-WebSocket-Extensions\x20header','test','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','readyState','onopen','setHeader','startLoop','isView','function','_autoPong','161110liRsOI','writeUInt16BE','dispatch','endEmitted','warn','byteLength','393alBcrR','toString','concat','require$$3','emit','_closeTimer','ws:','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','stream','kData','isInteger','_injector','Origin','sec-websocket-extensions','isValidUTF8','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','maskBuffer','defaultPort','slice','number','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','websocket','_isServer','location','autoPong','Blob','Invalid\x20value\x20for\x20parameter\x20\x22','format','kCode','8UVofIG','_state','cleanup','_firstFragment','_write','hostname','_final','acceptAsClient','Invalid\x20HTTP\x20method','abort','status-code','serverNoContextTakeover','maxRedirects','24QQHhAJ','_compress','@univerjs/core','from','HTTP/1.1\x20101\x20Switching\x20Protocols','socketPath','captureStackTrace','maxPayload','isArray','Server\x20sent\x20no\x20subprotocol','servername','_socket','size','_readyState','WS_ERR_INVALID_OPCODE','_inflate','url','createDeflateRaw','invalid\x20status\x20code\x20','write','origin','protocolVersion','onStarting','require$$2$1','sec-websocket-key','constructor','customHeaders','sendFrame','events','removeEventListener','isServer','consume','_req','bufferedAmount','_redirects','mask','_server','construct','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_loop','STATUS_CODES','require$$1$2','removeListener','amd','_fragmented','normalizeParams','getMask','getConfig','\x0d\x0a\x0d\x0a','Sec-WebSocket-Protocol:\x20'];_0x50d4=function(){return _0x8168e;};return _0x50d4();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/collaboration-client-node",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3-nightly.202503041606",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -48,19 +48,19 @@
|
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"ws": "8.18.1",
|
|
51
|
-
"@univerjs-pro/collaboration": "0.6.
|
|
52
|
-
"@univerjs/
|
|
53
|
-
"@univerjs/
|
|
54
|
-
"@univerjs
|
|
51
|
+
"@univerjs-pro/collaboration": "0.6.3-nightly.202503041606",
|
|
52
|
+
"@univerjs-pro/collaboration-client": "0.6.3-nightly.202503041606",
|
|
53
|
+
"@univerjs/network": "0.6.3-nightly.202503041606",
|
|
54
|
+
"@univerjs/core": "0.6.3-nightly.202503041606"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@types/ws": "8.5.14",
|
|
58
58
|
"rxjs": "^7.8.1",
|
|
59
|
-
"typescript": "^5.
|
|
59
|
+
"typescript": "^5.8.2",
|
|
60
60
|
"vite": "^6.2.0",
|
|
61
61
|
"vitest": "^3.0.7",
|
|
62
|
-
"@univerjs-infra/shared": "0.6.
|
|
63
|
-
"@univerjs/core": "0.6.
|
|
62
|
+
"@univerjs-infra/shared": "0.6.3",
|
|
63
|
+
"@univerjs/core": "0.6.3-nightly.202503041606"
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
66
|
"test": "vitest run",
|