@univerjs-pro/collaboration-client-node 0.12.2-nightly.202511290905 → 0.12.3-experimental.20251204-1549a8e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +9 -9
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0xe46d0c=_0x3b23;(function(_0x53d99a,_0x5adf86){const _0x267679=_0x3b23,_0x509fd5=_0x53d99a();while(!![]){try{const _0x45397c=-parseInt(_0x267679(0x24c))/0x1*(-parseInt(_0x267679(0x2a4))/0x2)+parseInt(_0x267679(0x1ba))/0x3*(parseInt(_0x267679(0x1f2))/0x4)+parseInt(_0x267679(0x195))/0x5*(parseInt(_0x267679(0x295))/0x6)+-parseInt(_0x267679(0x1bf))/0x7+-parseInt(_0x267679(0x20a))/0x8*(-parseInt(_0x267679(0x27c))/0x9)+-parseInt(_0x267679(0x157))/0xa*(-parseInt(_0x267679(0x1bb))/0xb)+-parseInt(_0x267679(0x2bb))/0xc;if(_0x45397c===_0x5adf86)break;else _0x509fd5['push'](_0x509fd5['shift']());}catch(_0x1f4f5e){_0x509fd5['push'](_0x509fd5['shift']());}}}(_0x1740,0x55ed1));Object[_0xe46d0c(0x163)](exports,Symbol[_0xe46d0c(0x24f)],{'value':_0xe46d0c(0x15c)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0xe46d0c(0x234),Ct={'customHeaders':{}};function Tt(_0x3ff568){const _0x51ab4d=_0xe46d0c;return _0x3ff568&&_0x3ff568['__esModule']&&Object[_0x51ab4d(0x16a)][_0x51ab4d(0x19f)][_0x51ab4d(0x1b2)](_0x3ff568,'default')?_0x3ff568['default']:_0x3ff568;}function at(_0x3cdbdb){const _0x3f8667=_0xe46d0c;if(Object[_0x3f8667(0x16a)][_0x3f8667(0x19f)][_0x3f8667(0x1b2)](_0x3cdbdb,_0x3f8667(0x1c4)))return _0x3cdbdb;var _0x1534c4=_0x3cdbdb['default'];if(typeof _0x1534c4=='function'){var _0xb31522=function _0x2a4411(){const _0x470ef3=_0x3f8667;var _0x2ba05d=!0x1;try{_0x2ba05d=this instanceof _0x2a4411;}catch{}return _0x2ba05d?Reflect[_0x470ef3(0x1d9)](_0x1534c4,arguments,this['constructor']):_0x1534c4[_0x470ef3(0x1f4)](this,arguments);};_0xb31522[_0x3f8667(0x16a)]=_0x1534c4[_0x3f8667(0x16a)];}else _0xb31522={};return Object[_0x3f8667(0x163)](_0xb31522,'__esModule',{'value':!0x0}),Object[_0x3f8667(0x1cd)](_0x3cdbdb)[_0x3f8667(0x170)](function(_0x5eb77d){const _0x52264a=_0x3f8667;var _0xf0de9=Object[_0x52264a(0x1fb)](_0x3cdbdb,_0x5eb77d);Object[_0x52264a(0x163)](_0xb31522,_0x5eb77d,_0xf0de9['get']?_0xf0de9:{'enumerable':!0x0,'get':function(){return _0x3cdbdb[_0x5eb77d];}});}),_0xb31522;}var se={'exports':{}},ge,Ge;function H(){const _0x1e53a1=_0xe46d0c;if(Ge)return ge;Ge=0x1;const _0x36ecc4=[_0x1e53a1(0x188),'arraybuffer','fragments'],_0x5d4a=typeof Blob<'u';return _0x5d4a&&_0x36ecc4[_0x1e53a1(0x21d)]('blob'),ge={'BINARY_TYPES':_0x36ecc4,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x1e53a1(0x18f),'hasBlob':_0x5d4a,'kForOnEventAttribute':Symbol(_0x1e53a1(0x136)),'kListener':Symbol(_0x1e53a1(0x257)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0xe46d0c(0x163)]({'__proto__':null,'default':Nt},Symbol[_0xe46d0c(0x24f)],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x43d512=_0xe46d0c;if(Ve)return se[_0x43d512(0x244)];Ve=0x1;const {EMPTY_BUFFER:_0x4a11bf}=H(),_0x3ede5e=Buffer[Symbol[_0x43d512(0x1c5)]];function _0x51d09e(_0x1234f8,_0x2e2b00){const _0x28506e=_0x43d512;if(_0x1234f8[_0x28506e(0x292)]===0x0)return _0x4a11bf;if(_0x1234f8[_0x28506e(0x292)]===0x1)return _0x1234f8[0x0];const _0x389266=Buffer[_0x28506e(0x1e7)](_0x2e2b00);let _0x11db5c=0x0;for(let _0xa4aa97=0x0;_0xa4aa97<_0x1234f8['length'];_0xa4aa97++){const _0x1b05a5=_0x1234f8[_0xa4aa97];_0x389266[_0x28506e(0x2b1)](_0x1b05a5,_0x11db5c),_0x11db5c+=_0x1b05a5[_0x28506e(0x292)];}return _0x11db5c<_0x2e2b00?new _0x3ede5e(_0x389266[_0x28506e(0x201)],_0x389266[_0x28506e(0x206)],_0x11db5c):_0x389266;}function _0x304d39(_0x30ae6f,_0x1b1aab,_0x28773e,_0x1ed2cb,_0x2fe4fc){for(let _0x269442=0x0;_0x269442<_0x2fe4fc;_0x269442++)_0x28773e[_0x1ed2cb+_0x269442]=_0x30ae6f[_0x269442]^_0x1b1aab[_0x269442&0x3];}function _0x2099d5(_0x5ea316,_0x367ead){const _0x5e7a0c=_0x43d512;for(let _0x1d2eb4=0x0;_0x1d2eb4<_0x5ea316[_0x5e7a0c(0x292)];_0x1d2eb4++)_0x5ea316[_0x1d2eb4]^=_0x367ead[_0x1d2eb4&0x3];}function _0x527a97(_0x52d0a3){const _0x27c7f3=_0x43d512;return _0x52d0a3[_0x27c7f3(0x292)]===_0x52d0a3[_0x27c7f3(0x201)][_0x27c7f3(0x25a)]?_0x52d0a3['buffer']:_0x52d0a3[_0x27c7f3(0x201)]['slice'](_0x52d0a3[_0x27c7f3(0x206)],_0x52d0a3['byteOffset']+_0x52d0a3[_0x27c7f3(0x292)]);}function _0x4044af(_0x122598){const _0x435a36=_0x43d512;if(_0x4044af[_0x435a36(0x168)]=!0x0,Buffer[_0x435a36(0x2ad)](_0x122598))return _0x122598;let _0x4a3ea5;return _0x122598 instanceof ArrayBuffer?_0x4a3ea5=new _0x3ede5e(_0x122598):ArrayBuffer[_0x435a36(0x1d1)](_0x122598)?_0x4a3ea5=new _0x3ede5e(_0x122598[_0x435a36(0x201)],_0x122598[_0x435a36(0x206)],_0x122598[_0x435a36(0x25a)]):(_0x4a3ea5=Buffer[_0x435a36(0x200)](_0x122598),_0x4044af[_0x435a36(0x168)]=!0x1),_0x4a3ea5;}if(se['exports']={'concat':_0x51d09e,'mask':_0x304d39,'toArrayBuffer':_0x527a97,'toBuffer':_0x4044af,'unmask':_0x2099d5},!process[_0x43d512(0x1d2)][_0x43d512(0x183)])try{const _0x1edea3=Lt;se[_0x43d512(0x244)][_0x43d512(0x1c1)]=function(_0xcde4d9,_0x5833ab,_0x38fb4a,_0x57ccd0,_0x5a9c43){const _0x540269=_0x43d512;_0x5a9c43<0x30?_0x304d39(_0xcde4d9,_0x5833ab,_0x38fb4a,_0x57ccd0,_0x5a9c43):_0x1edea3[_0x540269(0x1c1)](_0xcde4d9,_0x5833ab,_0x38fb4a,_0x57ccd0,_0x5a9c43);},se[_0x43d512(0x244)][_0x43d512(0x225)]=function(_0x340c83,_0x544b2a){const _0x341bee=_0x43d512;_0x340c83[_0x341bee(0x292)]<0x20?_0x2099d5(_0x340c83,_0x544b2a):_0x1edea3['unmask'](_0x340c83,_0x544b2a);};}catch{}return se[_0x43d512(0x244)];}var ye,He;function Pt(){const _0x243863=_0xe46d0c;if(He)return ye;He=0x1;const _0x3e6890=Symbol(_0x243863(0x161)),_0x590f51=Symbol('kRun');class _0x2d5e8e{constructor(_0x284c03){const _0x51c835=_0x243863;this[_0x3e6890]=()=>{const _0x4dabcd=_0x3b23;this[_0x4dabcd(0x145)]--,this[_0x590f51]();},this[_0x51c835(0x1ac)]=_0x284c03||0x1/0x0,this[_0x51c835(0x255)]=[],this['pending']=0x0;}['add'](_0x424efe){const _0x44aacb=_0x243863;this[_0x44aacb(0x255)][_0x44aacb(0x21d)](_0x424efe),this[_0x590f51]();}[_0x590f51](){const _0x3d0c97=_0x243863;if(this['pending']!==this['concurrency']&&this[_0x3d0c97(0x255)][_0x3d0c97(0x292)]){const _0x142c92=this['jobs']['shift']();this['pending']++,_0x142c92(this[_0x3e6890]);}}}return ye=_0x2d5e8e,ye;}var ve,ze;function he(){const _0x2d6b52=_0xe46d0c;if(ze)return ve;ze=0x1;const _0x35a042=bt,_0x33e92d=ce(),_0xfa0923=Pt(),{kStatusCode:_0x2d30a3}=H(),_0x2e5df5=Buffer[Symbol[_0x2d6b52(0x1c5)]],_0x3f8899=Buffer[_0x2d6b52(0x200)]([0x0,0x0,0xff,0xff]),_0x3fb2e6=Symbol('permessage-deflate'),_0x46d7e8=Symbol(_0x2d6b52(0x140)),_0x3c10ff=Symbol(_0x2d6b52(0x22a)),_0x305a62=Symbol('buffers'),_0x18bc6a=Symbol(_0x2d6b52(0x172));let _0x49a2c1;class _0x333dc3{constructor(_0x18f141,_0x18ca76,_0x1ec2c4){const _0x15c8c7=_0x2d6b52;if(this[_0x15c8c7(0x1c2)]=_0x1ec2c4|0x0,this[_0x15c8c7(0x1b1)]=_0x18f141||{},this[_0x15c8c7(0x2b0)]=this['_options'][_0x15c8c7(0x25d)]!==void 0x0?this['_options'][_0x15c8c7(0x25d)]:0x400,this['_isServer']=!!_0x18ca76,this[_0x15c8c7(0x26e)]=null,this['_inflate']=null,this['params']=null,!_0x49a2c1){const _0x548b26=this['_options'][_0x15c8c7(0x2a1)]!==void 0x0?this[_0x15c8c7(0x1b1)][_0x15c8c7(0x2a1)]:0xa;_0x49a2c1=new _0xfa0923(_0x548b26);}}static get[_0x2d6b52(0x117)](){const _0x4f455c=_0x2d6b52;return _0x4f455c(0x181);}[_0x2d6b52(0x132)](){const _0x2c8376=_0x2d6b52,_0x10c931={};return this[_0x2c8376(0x1b1)][_0x2c8376(0x273)]&&(_0x10c931[_0x2c8376(0x2c7)]=!0x0),this[_0x2c8376(0x1b1)][_0x2c8376(0x2bd)]&&(_0x10c931['client_no_context_takeover']=!0x0),this[_0x2c8376(0x1b1)][_0x2c8376(0x216)]&&(_0x10c931['server_max_window_bits']=this[_0x2c8376(0x1b1)][_0x2c8376(0x216)]),this[_0x2c8376(0x1b1)]['clientMaxWindowBits']?_0x10c931[_0x2c8376(0x1bd)]=this['_options']['clientMaxWindowBits']:this['_options']['clientMaxWindowBits']==null&&(_0x10c931[_0x2c8376(0x1bd)]=!0x0),_0x10c931;}['accept'](_0x58c3ca){const _0x71849a=_0x2d6b52;return _0x58c3ca=this[_0x71849a(0x2ab)](_0x58c3ca),this['params']=this[_0x71849a(0x20f)]?this[_0x71849a(0x2bc)](_0x58c3ca):this[_0x71849a(0x29d)](_0x58c3ca),this['params'];}[_0x2d6b52(0x15a)](){const _0x5cc96f=_0x2d6b52;if(this[_0x5cc96f(0x2ce)]&&(this[_0x5cc96f(0x2ce)][_0x5cc96f(0x16c)](),this[_0x5cc96f(0x2ce)]=null),this[_0x5cc96f(0x26e)]){const _0x372da0=this['_deflate'][_0x3c10ff];this[_0x5cc96f(0x26e)][_0x5cc96f(0x16c)](),this[_0x5cc96f(0x26e)]=null,_0x372da0&&_0x372da0(new Error(_0x5cc96f(0x291)));}}['acceptAsServer'](_0xf93c8c){const _0x1ac92b=_0x2d6b52,_0x59ad7d=this[_0x1ac92b(0x1b1)],_0x45121e=_0xf93c8c[_0x1ac92b(0x10c)](_0x1cece9=>!(_0x59ad7d['serverNoContextTakeover']===!0x1&&_0x1cece9['server_no_context_takeover']||_0x1cece9[_0x1ac92b(0x1ff)]&&(_0x59ad7d['serverMaxWindowBits']===!0x1||typeof _0x59ad7d[_0x1ac92b(0x216)]==_0x1ac92b(0x1d5)&&_0x59ad7d[_0x1ac92b(0x216)]>_0x1cece9[_0x1ac92b(0x1ff)])||typeof _0x59ad7d[_0x1ac92b(0x1b9)]==_0x1ac92b(0x1d5)&&!_0x1cece9[_0x1ac92b(0x1bd)]));if(!_0x45121e)throw new Error(_0x1ac92b(0x24a));return _0x59ad7d[_0x1ac92b(0x273)]&&(_0x45121e['server_no_context_takeover']=!0x0),_0x59ad7d[_0x1ac92b(0x2bd)]&&(_0x45121e[_0x1ac92b(0x2b6)]=!0x0),typeof _0x59ad7d[_0x1ac92b(0x216)]==_0x1ac92b(0x1d5)&&(_0x45121e['server_max_window_bits']=_0x59ad7d[_0x1ac92b(0x216)]),typeof _0x59ad7d[_0x1ac92b(0x1b9)]==_0x1ac92b(0x1d5)?_0x45121e['client_max_window_bits']=_0x59ad7d[_0x1ac92b(0x1b9)]:(_0x45121e[_0x1ac92b(0x1bd)]===!0x0||_0x59ad7d[_0x1ac92b(0x1b9)]===!0x1)&&delete _0x45121e[_0x1ac92b(0x1bd)],_0x45121e;}[_0x2d6b52(0x29d)](_0x156333){const _0x19ddb6=_0x2d6b52,_0x3bae4e=_0x156333[0x0];if(this[_0x19ddb6(0x1b1)][_0x19ddb6(0x2bd)]===!0x1&&_0x3bae4e[_0x19ddb6(0x2b6)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x3bae4e['client_max_window_bits'])typeof this[_0x19ddb6(0x1b1)][_0x19ddb6(0x1b9)]==_0x19ddb6(0x1d5)&&(_0x3bae4e['client_max_window_bits']=this[_0x19ddb6(0x1b1)]['clientMaxWindowBits']);else{if(this[_0x19ddb6(0x1b1)][_0x19ddb6(0x1b9)]===!0x1||typeof this['_options'][_0x19ddb6(0x1b9)]==_0x19ddb6(0x1d5)&&_0x3bae4e[_0x19ddb6(0x1bd)]>this[_0x19ddb6(0x1b1)]['clientMaxWindowBits'])throw new Error(_0x19ddb6(0x1a1));}return _0x3bae4e;}['normalizeParams'](_0x26d58f){const _0x59a12d=_0x2d6b52;return _0x26d58f[_0x59a12d(0x170)](_0x58973d=>{const _0xc5e05c=_0x59a12d;Object[_0xc5e05c(0x1cd)](_0x58973d)[_0xc5e05c(0x170)](_0x1142a0=>{const _0x5b8f52=_0xc5e05c;let _0x1589b6=_0x58973d[_0x1142a0];if(_0x1589b6['length']>0x1)throw new Error(_0x5b8f52(0x226)+_0x1142a0+_0x5b8f52(0x150));if(_0x1589b6=_0x1589b6[0x0],_0x1142a0===_0x5b8f52(0x1bd)){if(_0x1589b6!==!0x0){const _0x361f69=+_0x1589b6;if(!Number[_0x5b8f52(0x1f0)](_0x361f69)||_0x361f69<0x8||_0x361f69>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1142a0+_0x5b8f52(0x2ac)+_0x1589b6);_0x1589b6=_0x361f69;}else{if(!this['_isServer'])throw new TypeError(_0x5b8f52(0x15e)+_0x1142a0+_0x5b8f52(0x2ac)+_0x1589b6);}}else{if(_0x1142a0==='server_max_window_bits'){const _0x26cc79=+_0x1589b6;if(!Number[_0x5b8f52(0x1f0)](_0x26cc79)||_0x26cc79<0x8||_0x26cc79>0xf)throw new TypeError(_0x5b8f52(0x15e)+_0x1142a0+'\x22:\x20'+_0x1589b6);_0x1589b6=_0x26cc79;}else{if(_0x1142a0==='client_no_context_takeover'||_0x1142a0===_0x5b8f52(0x2c7)){if(_0x1589b6!==!0x0)throw new TypeError(_0x5b8f52(0x15e)+_0x1142a0+_0x5b8f52(0x2ac)+_0x1589b6);}else throw new Error(_0x5b8f52(0x10e)+_0x1142a0+'\x22');}}_0x58973d[_0x1142a0]=_0x1589b6;});}),_0x26d58f;}[_0x2d6b52(0x23a)](_0x4ad038,_0x121b6a,_0x149418){const _0x22d309=_0x2d6b52;_0x49a2c1[_0x22d309(0x16b)](_0x22f3ea=>{const _0x544ac0=_0x22d309;this[_0x544ac0(0x1f7)](_0x4ad038,_0x121b6a,(_0x3a3b3a,_0x1bc883)=>{_0x22f3ea(),_0x149418(_0x3a3b3a,_0x1bc883);});});}[_0x2d6b52(0x22d)](_0x1873d3,_0x4ce690,_0x4f6db8){const _0x1faed0=_0x2d6b52;_0x49a2c1[_0x1faed0(0x16b)](_0x2156db=>{const _0x3b5fa4=_0x1faed0;this[_0x3b5fa4(0x165)](_0x1873d3,_0x4ce690,(_0x5a743c,_0x4b87d0)=>{_0x2156db(),_0x4f6db8(_0x5a743c,_0x4b87d0);});});}[_0x2d6b52(0x1f7)](_0x2ec57b,_0x3c6d72,_0x4bc723){const _0x13d2ca=_0x2d6b52,_0x56cac1=this[_0x13d2ca(0x20f)]?_0x13d2ca(0x1b5):_0x13d2ca(0x1b6);if(!this['_inflate']){const _0x578497=_0x56cac1+_0x13d2ca(0x134),_0x3a42ae=typeof this['params'][_0x578497]!='number'?_0x35a042['Z_DEFAULT_WINDOWBITS']:this['params'][_0x578497];this['_inflate']=_0x35a042[_0x13d2ca(0x217)]({...this['_options'][_0x13d2ca(0x2c0)],'windowBits':_0x3a42ae}),this['_inflate'][_0x3fb2e6]=this,this[_0x13d2ca(0x2ce)][_0x46d7e8]=0x0,this[_0x13d2ca(0x2ce)][_0x305a62]=[],this[_0x13d2ca(0x2ce)]['on'](_0x13d2ca(0x172),_0x54ccbb),this[_0x13d2ca(0x2ce)]['on'](_0x13d2ca(0x28b),_0x16b5db);}this[_0x13d2ca(0x2ce)][_0x3c10ff]=_0x4bc723,this[_0x13d2ca(0x2ce)][_0x13d2ca(0x194)](_0x2ec57b),_0x3c6d72&&this[_0x13d2ca(0x2ce)]['write'](_0x3f8899),this['_inflate'][_0x13d2ca(0x282)](()=>{const _0x2ca4d9=_0x13d2ca,_0xa7deb1=this[_0x2ca4d9(0x2ce)][_0x18bc6a];if(_0xa7deb1){this[_0x2ca4d9(0x2ce)][_0x2ca4d9(0x16c)](),this[_0x2ca4d9(0x2ce)]=null,_0x4bc723(_0xa7deb1);return;}const _0x173e45=_0x33e92d['concat'](this[_0x2ca4d9(0x2ce)][_0x305a62],this[_0x2ca4d9(0x2ce)][_0x46d7e8]);this[_0x2ca4d9(0x2ce)][_0x2ca4d9(0x251)]['endEmitted']?(this[_0x2ca4d9(0x2ce)][_0x2ca4d9(0x16c)](),this['_inflate']=null):(this['_inflate'][_0x46d7e8]=0x0,this[_0x2ca4d9(0x2ce)][_0x305a62]=[],_0x3c6d72&&this['params'][_0x56cac1+_0x2ca4d9(0x1ab)]&&this[_0x2ca4d9(0x2ce)][_0x2ca4d9(0x250)]()),_0x4bc723(null,_0x173e45);});}['_compress'](_0x21ffa5,_0xe489bb,_0x496346){const _0x47710c=_0x2d6b52,_0x15a0f8=this[_0x47710c(0x20f)]?_0x47710c(0x1b6):_0x47710c(0x1b5);if(!this['_deflate']){const _0x3c8d36=_0x15a0f8+'_max_window_bits',_0x309b84=typeof this['params'][_0x3c8d36]!=_0x47710c(0x1d5)?_0x35a042[_0x47710c(0x1c3)]:this[_0x47710c(0x152)][_0x3c8d36];this[_0x47710c(0x26e)]=_0x35a042[_0x47710c(0x28e)]({...this[_0x47710c(0x1b1)][_0x47710c(0x296)],'windowBits':_0x309b84}),this[_0x47710c(0x26e)][_0x46d7e8]=0x0,this['_deflate'][_0x305a62]=[],this[_0x47710c(0x26e)]['on'](_0x47710c(0x28b),_0x9396cc);}this['_deflate'][_0x3c10ff]=_0x496346,this[_0x47710c(0x26e)][_0x47710c(0x194)](_0x21ffa5),this[_0x47710c(0x26e)][_0x47710c(0x282)](_0x35a042[_0x47710c(0x1a4)],()=>{const _0x53d6e5=_0x47710c;if(!this[_0x53d6e5(0x26e)])return;let _0x565d1a=_0x33e92d[_0x53d6e5(0x12e)](this[_0x53d6e5(0x26e)][_0x305a62],this[_0x53d6e5(0x26e)][_0x46d7e8]);_0xe489bb&&(_0x565d1a=new _0x2e5df5(_0x565d1a['buffer'],_0x565d1a[_0x53d6e5(0x206)],_0x565d1a['length']-0x4)),this[_0x53d6e5(0x26e)][_0x3c10ff]=null,this[_0x53d6e5(0x26e)][_0x46d7e8]=0x0,this[_0x53d6e5(0x26e)][_0x305a62]=[],_0xe489bb&&this[_0x53d6e5(0x152)][_0x15a0f8+'_no_context_takeover']&&this[_0x53d6e5(0x26e)][_0x53d6e5(0x250)](),_0x496346(null,_0x565d1a);});}}ve=_0x333dc3;function _0x9396cc(_0x135cb4){const _0x188dbc=_0x2d6b52;this[_0x305a62][_0x188dbc(0x21d)](_0x135cb4),this[_0x46d7e8]+=_0x135cb4[_0x188dbc(0x292)];}function _0x16b5db(_0x10ff1c){const _0x5e326a=_0x2d6b52;if(this[_0x46d7e8]+=_0x10ff1c[_0x5e326a(0x292)],this[_0x3fb2e6]['_maxPayload']<0x1||this[_0x46d7e8]<=this[_0x3fb2e6][_0x5e326a(0x1c2)]){this[_0x305a62][_0x5e326a(0x21d)](_0x10ff1c);return;}this[_0x18bc6a]=new RangeError(_0x5e326a(0x2c6)),this[_0x18bc6a][_0x5e326a(0x29a)]=_0x5e326a(0x261),this[_0x18bc6a][_0x2d30a3]=0x3f1,this[_0x5e326a(0x228)](_0x5e326a(0x28b),_0x16b5db),this[_0x5e326a(0x250)]();}function _0x54ccbb(_0x2caa93){const _0x8ffcbb=_0x2d6b52;if(this[_0x3fb2e6][_0x8ffcbb(0x2ce)]=null,this[_0x18bc6a]){this[_0x3c10ff](this[_0x18bc6a]);return;}_0x2caa93[_0x2d30a3]=0x3ef,this[_0x3c10ff](_0x2caa93);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0xe46d0c(0x24f)],{'value':_0xe46d0c(0x15c)})),Bt=at(Rt);var Ye;function ae(){const _0x4132e6=_0xe46d0c;if(Ye)return ie[_0x4132e6(0x244)];Ye=0x1;const {isUtf8:_0x2ee12c}=wt,{hasBlob:_0x279cc1}=H(),_0x3653f3=[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 _0x3130b5(_0x1bb00e){return _0x1bb00e>=0x3e8&&_0x1bb00e<=0x3f6&&_0x1bb00e!==0x3ec&&_0x1bb00e!==0x3ed&&_0x1bb00e!==0x3ee||_0x1bb00e>=0xbb8&&_0x1bb00e<=0x1387;}function _0x417c38(_0x2a30a9){const _0x43f7be=_0x4132e6,_0x383c9e=_0x2a30a9[_0x43f7be(0x292)];let _0x4c406d=0x0;for(;_0x4c406d<_0x383c9e;)if((_0x2a30a9[_0x4c406d]&0x80)===0x0)_0x4c406d++;else{if((_0x2a30a9[_0x4c406d]&0xe0)===0xc0){if(_0x4c406d+0x1===_0x383c9e||(_0x2a30a9[_0x4c406d+0x1]&0xc0)!==0x80||(_0x2a30a9[_0x4c406d]&0xfe)===0xc0)return!0x1;_0x4c406d+=0x2;}else{if((_0x2a30a9[_0x4c406d]&0xf0)===0xe0){if(_0x4c406d+0x2>=_0x383c9e||(_0x2a30a9[_0x4c406d+0x1]&0xc0)!==0x80||(_0x2a30a9[_0x4c406d+0x2]&0xc0)!==0x80||_0x2a30a9[_0x4c406d]===0xe0&&(_0x2a30a9[_0x4c406d+0x1]&0xe0)===0x80||_0x2a30a9[_0x4c406d]===0xed&&(_0x2a30a9[_0x4c406d+0x1]&0xe0)===0xa0)return!0x1;_0x4c406d+=0x3;}else{if((_0x2a30a9[_0x4c406d]&0xf8)===0xf0){if(_0x4c406d+0x3>=_0x383c9e||(_0x2a30a9[_0x4c406d+0x1]&0xc0)!==0x80||(_0x2a30a9[_0x4c406d+0x2]&0xc0)!==0x80||(_0x2a30a9[_0x4c406d+0x3]&0xc0)!==0x80||_0x2a30a9[_0x4c406d]===0xf0&&(_0x2a30a9[_0x4c406d+0x1]&0xf0)===0x80||_0x2a30a9[_0x4c406d]===0xf4&&_0x2a30a9[_0x4c406d+0x1]>0x8f||_0x2a30a9[_0x4c406d]>0xf4)return!0x1;_0x4c406d+=0x4;}else return!0x1;}}}return!0x0;}function _0x1b92ee(_0xd9e7e2){const _0x2a5a76=_0x4132e6;return _0x279cc1&&typeof _0xd9e7e2=='object'&&typeof _0xd9e7e2[_0x2a5a76(0x196)]==_0x2a5a76(0x1a2)&&typeof _0xd9e7e2['type']==_0x2a5a76(0x22c)&&typeof _0xd9e7e2['stream']=='function'&&(_0xd9e7e2[Symbol[_0x2a5a76(0x24f)]]===_0x2a5a76(0x277)||_0xd9e7e2[Symbol[_0x2a5a76(0x24f)]]===_0x2a5a76(0x202));}if(ie[_0x4132e6(0x244)]={'isBlob':_0x1b92ee,'isValidStatusCode':_0x3130b5,'isValidUTF8':_0x417c38,'tokenChars':_0x3653f3},_0x2ee12c)ie[_0x4132e6(0x244)][_0x4132e6(0x1b3)]=function(_0x256978){return _0x256978['length']<0x18?_0x417c38(_0x256978):_0x2ee12c(_0x256978);};else{if(!process[_0x4132e6(0x1d2)][_0x4132e6(0x21b)])try{const _0x21ab95=Bt;ie[_0x4132e6(0x244)][_0x4132e6(0x1b3)]=function(_0x1d74f8){return _0x1d74f8['length']<0x20?_0x417c38(_0x1d74f8):_0x21ab95(_0x1d74f8);};}catch{}}return ie[_0x4132e6(0x244)];}var Se,Ke;function lt(){const _0x23a2c3=_0xe46d0c;if(Ke)return Se;Ke=0x1;const {Writable:_0x3817d9}=oe,_0x4ed83a=he(),{BINARY_TYPES:_0x1bd82e,EMPTY_BUFFER:_0x514737,kStatusCode:_0x294f93,kWebSocket:_0x53b259}=H(),{concat:_0x1903b7,toArrayBuffer:_0x59f82b,unmask:_0x1fd868}=ce(),{isValidStatusCode:_0x59e8e3,isValidUTF8:_0x316964}=ae(),_0x229159=Buffer[Symbol['species']],_0xc6e641=0x0,_0xa392c3=0x1,_0x36d5d5=0x2,_0x543f0f=0x3,_0x42c1d9=0x4,_0x3a3e0f=0x5,_0x167a5a=0x6;class _0x1d6410 extends _0x3817d9{constructor(_0x5019d9={}){const _0x2b24ff=_0x3b23;super(),this[_0x2b24ff(0x1fe)]=_0x5019d9[_0x2b24ff(0x276)]!==void 0x0?_0x5019d9[_0x2b24ff(0x276)]:!0x0,this['_binaryType']=_0x5019d9[_0x2b24ff(0x1f5)]||_0x1bd82e[0x0],this[_0x2b24ff(0x1ce)]=_0x5019d9[_0x2b24ff(0x2ba)]||{},this[_0x2b24ff(0x20f)]=!!_0x5019d9['isServer'],this[_0x2b24ff(0x1c2)]=_0x5019d9[_0x2b24ff(0x237)]|0x0,this[_0x2b24ff(0x293)]=!!_0x5019d9[_0x2b24ff(0x115)],this[_0x53b259]=void 0x0,this[_0x2b24ff(0x26b)]=0x0,this[_0x2b24ff(0x1a9)]=[],this[_0x2b24ff(0x1e8)]=!0x1,this[_0x2b24ff(0x2a5)]=0x0,this[_0x2b24ff(0x14d)]=void 0x0,this['_fragmented']=0x0,this[_0x2b24ff(0x20c)]=!0x1,this[_0x2b24ff(0x1ee)]=!0x1,this['_opcode']=0x0,this[_0x2b24ff(0x221)]=0x0,this[_0x2b24ff(0x236)]=0x0,this[_0x2b24ff(0x1db)]=[],this[_0x2b24ff(0x17b)]=!0x1,this[_0x2b24ff(0x290)]=!0x1,this[_0x2b24ff(0x2c1)]=_0xc6e641;}[_0x23a2c3(0x1a6)](_0x332d49,_0x116d96,_0x1ff537){const _0x3660ff=_0x23a2c3;if(this['_opcode']===0x8&&this[_0x3660ff(0x2c1)]==_0xc6e641)return _0x1ff537();this['_bufferedBytes']+=_0x332d49[_0x3660ff(0x292)],this[_0x3660ff(0x1a9)][_0x3660ff(0x21d)](_0x332d49),this[_0x3660ff(0x270)](_0x1ff537);}[_0x23a2c3(0x19e)](_0x1451eb){const _0x4b32b8=_0x23a2c3;if(this[_0x4b32b8(0x26b)]-=_0x1451eb,_0x1451eb===this[_0x4b32b8(0x1a9)][0x0][_0x4b32b8(0x292)])return this[_0x4b32b8(0x1a9)]['shift']();if(_0x1451eb<this[_0x4b32b8(0x1a9)][0x0][_0x4b32b8(0x292)]){const _0x45f2ba=this['_buffers'][0x0];return this[_0x4b32b8(0x1a9)][0x0]=new _0x229159(_0x45f2ba['buffer'],_0x45f2ba['byteOffset']+_0x1451eb,_0x45f2ba['length']-_0x1451eb),new _0x229159(_0x45f2ba[_0x4b32b8(0x201)],_0x45f2ba[_0x4b32b8(0x206)],_0x1451eb);}const _0x56bfee=Buffer[_0x4b32b8(0x1e7)](_0x1451eb);do{const _0xf29f93=this['_buffers'][0x0],_0x290ba5=_0x56bfee[_0x4b32b8(0x292)]-_0x1451eb;_0x1451eb>=_0xf29f93[_0x4b32b8(0x292)]?_0x56bfee['set'](this[_0x4b32b8(0x1a9)][_0x4b32b8(0x266)](),_0x290ba5):(_0x56bfee[_0x4b32b8(0x2b1)](new Uint8Array(_0xf29f93[_0x4b32b8(0x201)],_0xf29f93[_0x4b32b8(0x206)],_0x1451eb),_0x290ba5),this[_0x4b32b8(0x1a9)][0x0]=new _0x229159(_0xf29f93['buffer'],_0xf29f93[_0x4b32b8(0x206)]+_0x1451eb,_0xf29f93[_0x4b32b8(0x292)]-_0x1451eb)),_0x1451eb-=_0xf29f93[_0x4b32b8(0x292)];}while(_0x1451eb>0x0);return _0x56bfee;}[_0x23a2c3(0x270)](_0x286f1e){const _0x1f01a7=_0x23a2c3;this[_0x1f01a7(0x290)]=!0x0;do switch(this[_0x1f01a7(0x2c1)]){case _0xc6e641:this['getInfo'](_0x286f1e);break;case _0xa392c3:this[_0x1f01a7(0x169)](_0x286f1e);break;case _0x36d5d5:this[_0x1f01a7(0x167)](_0x286f1e);break;case _0x543f0f:this[_0x1f01a7(0x27d)]();break;case _0x42c1d9:this[_0x1f01a7(0x159)](_0x286f1e);break;case _0x3a3e0f:case _0x167a5a:this['_loop']=!0x1;return;}while(this['_loop']);this[_0x1f01a7(0x17b)]||_0x286f1e();}['getInfo'](_0x5c2473){const _0x30d3a1=_0x23a2c3;if(this[_0x30d3a1(0x26b)]<0x2){this[_0x30d3a1(0x290)]=!0x1;return;}const _0x504db5=this[_0x30d3a1(0x19e)](0x2);if((_0x504db5[0x0]&0x30)!==0x0){const _0x3b7ab6=this['createError'](RangeError,_0x30d3a1(0x11a),!0x0,0x3ea,_0x30d3a1(0x1cf));_0x5c2473(_0x3b7ab6);return;}const _0x28ef15=(_0x504db5[0x0]&0x40)===0x40;if(_0x28ef15&&!this[_0x30d3a1(0x1ce)][_0x4ed83a[_0x30d3a1(0x117)]]){const _0x5044e9=this[_0x30d3a1(0x14e)](RangeError,_0x30d3a1(0x297),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x5c2473(_0x5044e9);return;}if(this['_fin']=(_0x504db5[0x0]&0x80)===0x80,this[_0x30d3a1(0x1a5)]=_0x504db5[0x0]&0xf,this['_payloadLength']=_0x504db5[0x1]&0x7f,this[_0x30d3a1(0x1a5)]===0x0){if(_0x28ef15){const _0x3a8885=this[_0x30d3a1(0x14e)](RangeError,_0x30d3a1(0x297),!0x0,0x3ea,_0x30d3a1(0x263));_0x5c2473(_0x3a8885);return;}if(!this[_0x30d3a1(0x294)]){const _0x2a6112=this[_0x30d3a1(0x14e)](RangeError,_0x30d3a1(0x2cc),!0x0,0x3ea,_0x30d3a1(0x231));_0x5c2473(_0x2a6112);return;}this['_opcode']=this[_0x30d3a1(0x294)];}else{if(this[_0x30d3a1(0x1a5)]===0x1||this[_0x30d3a1(0x1a5)]===0x2){if(this['_fragmented']){const _0x2b9460=this[_0x30d3a1(0x14e)](RangeError,_0x30d3a1(0x26c)+this[_0x30d3a1(0x1a5)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x5c2473(_0x2b9460);return;}this[_0x30d3a1(0x1e8)]=_0x28ef15;}else{if(this[_0x30d3a1(0x1a5)]>0x7&&this[_0x30d3a1(0x1a5)]<0xb){if(!this[_0x30d3a1(0x1ee)]){const _0x5b2e0c=this[_0x30d3a1(0x14e)](RangeError,_0x30d3a1(0x20d),!0x0,0x3ea,_0x30d3a1(0x1df));_0x5c2473(_0x5b2e0c);return;}if(_0x28ef15){const _0x3ada2e=this[_0x30d3a1(0x14e)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x30d3a1(0x263));_0x5c2473(_0x3ada2e);return;}if(this[_0x30d3a1(0x2a5)]>0x7d||this['_opcode']===0x8&&this[_0x30d3a1(0x2a5)]===0x1){const _0x2a47ee=this[_0x30d3a1(0x14e)](RangeError,_0x30d3a1(0x2ca)+this[_0x30d3a1(0x2a5)],!0x0,0x3ea,_0x30d3a1(0x15d));_0x5c2473(_0x2a47ee);return;}}else{const _0x4a99c6=this[_0x30d3a1(0x14e)](RangeError,_0x30d3a1(0x26c)+this[_0x30d3a1(0x1a5)],!0x0,0x3ea,_0x30d3a1(0x231));_0x5c2473(_0x4a99c6);return;}}}if(!this[_0x30d3a1(0x1ee)]&&!this[_0x30d3a1(0x294)]&&(this[_0x30d3a1(0x294)]=this[_0x30d3a1(0x1a5)]),this[_0x30d3a1(0x20c)]=(_0x504db5[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x30d3a1(0x20c)]){const _0x403ca4=this[_0x30d3a1(0x14e)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x30d3a1(0x10b));_0x5c2473(_0x403ca4);return;}}else{if(this[_0x30d3a1(0x20c)]){const _0x553461=this[_0x30d3a1(0x14e)](RangeError,_0x30d3a1(0x180),!0x0,0x3ea,_0x30d3a1(0x219));_0x5c2473(_0x553461);return;}}this[_0x30d3a1(0x2a5)]===0x7e?this[_0x30d3a1(0x2c1)]=_0xa392c3:this[_0x30d3a1(0x2a5)]===0x7f?this[_0x30d3a1(0x2c1)]=_0x36d5d5:this['haveLength'](_0x5c2473);}[_0x23a2c3(0x169)](_0x39f881){const _0x45a75c=_0x23a2c3;if(this[_0x45a75c(0x26b)]<0x2){this['_loop']=!0x1;return;}this['_payloadLength']=this[_0x45a75c(0x19e)](0x2)[_0x45a75c(0x210)](0x0),this[_0x45a75c(0x13e)](_0x39f881);}['getPayloadLength64'](_0x1c338d){const _0x5321ad=_0x23a2c3;if(this[_0x5321ad(0x26b)]<0x8){this['_loop']=!0x1;return;}const _0x280dab=this[_0x5321ad(0x19e)](0x8),_0x22c461=_0x280dab[_0x5321ad(0x1ea)](0x0);if(_0x22c461>Math[_0x5321ad(0x215)](0x2,0x15)-0x1){const _0x2e20ad=this[_0x5321ad(0x14e)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x1c338d(_0x2e20ad);return;}this[_0x5321ad(0x2a5)]=_0x22c461*Math[_0x5321ad(0x215)](0x2,0x20)+_0x280dab[_0x5321ad(0x1ea)](0x4),this['haveLength'](_0x1c338d);}['haveLength'](_0x4c8db9){const _0x5cf2a2=_0x23a2c3;if(this[_0x5cf2a2(0x2a5)]&&this[_0x5cf2a2(0x1a5)]<0x8&&(this[_0x5cf2a2(0x221)]+=this[_0x5cf2a2(0x2a5)],this['_totalPayloadLength']>this['_maxPayload']&&this[_0x5cf2a2(0x1c2)]>0x0)){const _0xd9f931=this[_0x5cf2a2(0x14e)](RangeError,_0x5cf2a2(0x2c6),!0x1,0x3f1,_0x5cf2a2(0x261));_0x4c8db9(_0xd9f931);return;}this[_0x5cf2a2(0x20c)]?this[_0x5cf2a2(0x2c1)]=_0x543f0f:this[_0x5cf2a2(0x2c1)]=_0x42c1d9;}[_0x23a2c3(0x27d)](){const _0x13e920=_0x23a2c3;if(this[_0x13e920(0x26b)]<0x4){this['_loop']=!0x1;return;}this[_0x13e920(0x14d)]=this[_0x13e920(0x19e)](0x4),this[_0x13e920(0x2c1)]=_0x42c1d9;}['getData'](_0x4034c0){const _0x51dc46=_0x23a2c3;let _0x237598=_0x514737;if(this['_payloadLength']){if(this[_0x51dc46(0x26b)]<this[_0x51dc46(0x2a5)]){this['_loop']=!0x1;return;}_0x237598=this[_0x51dc46(0x19e)](this[_0x51dc46(0x2a5)]),this[_0x51dc46(0x20c)]&&(this[_0x51dc46(0x14d)][0x0]|this['_mask'][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x1fd868(_0x237598,this['_mask']);}if(this['_opcode']>0x7){this[_0x51dc46(0x211)](_0x237598,_0x4034c0);return;}if(this[_0x51dc46(0x1e8)]){this[_0x51dc46(0x2c1)]=_0x3a3e0f,this['decompress'](_0x237598,_0x4034c0);return;}_0x237598[_0x51dc46(0x292)]&&(this[_0x51dc46(0x236)]=this[_0x51dc46(0x221)],this[_0x51dc46(0x1db)][_0x51dc46(0x21d)](_0x237598)),this[_0x51dc46(0x240)](_0x4034c0);}[_0x23a2c3(0x23a)](_0x2f3e81,_0x143e2c){const _0xb4c892=_0x23a2c3;this[_0xb4c892(0x1ce)][_0x4ed83a['extensionName']][_0xb4c892(0x23a)](_0x2f3e81,this[_0xb4c892(0x1ee)],(_0x1b1beb,_0x53ccfd)=>{const _0xeb209d=_0xb4c892;if(_0x1b1beb)return _0x143e2c(_0x1b1beb);if(_0x53ccfd['length']){if(this[_0xeb209d(0x236)]+=_0x53ccfd[_0xeb209d(0x292)],this['_messageLength']>this[_0xeb209d(0x1c2)]&&this[_0xeb209d(0x1c2)]>0x0){const _0x3399c8=this['createError'](RangeError,_0xeb209d(0x2c6),!0x1,0x3f1,_0xeb209d(0x261));_0x143e2c(_0x3399c8);return;}this[_0xeb209d(0x1db)][_0xeb209d(0x21d)](_0x53ccfd);}this[_0xeb209d(0x240)](_0x143e2c),this[_0xeb209d(0x2c1)]===_0xc6e641&&this[_0xeb209d(0x270)](_0x143e2c);});}[_0x23a2c3(0x240)](_0x2ffd48){const _0x2d060a=_0x23a2c3;if(!this[_0x2d060a(0x1ee)]){this[_0x2d060a(0x2c1)]=_0xc6e641;return;}const _0x10e4bb=this['_messageLength'],_0x266ed3=this['_fragments'];if(this[_0x2d060a(0x221)]=0x0,this[_0x2d060a(0x236)]=0x0,this[_0x2d060a(0x294)]=0x0,this[_0x2d060a(0x1db)]=[],this[_0x2d060a(0x1a5)]===0x2){let _0xab2850;this[_0x2d060a(0x184)]==='nodebuffer'?_0xab2850=_0x1903b7(_0x266ed3,_0x10e4bb):this['_binaryType']===_0x2d060a(0x119)?_0xab2850=_0x59f82b(_0x1903b7(_0x266ed3,_0x10e4bb)):this[_0x2d060a(0x184)]===_0x2d060a(0x141)?_0xab2850=new Blob(_0x266ed3):_0xab2850=_0x266ed3,this[_0x2d060a(0x1fe)]?(this['emit'](_0x2d060a(0x23b),_0xab2850,!0x0),this[_0x2d060a(0x2c1)]=_0xc6e641):(this[_0x2d060a(0x2c1)]=_0x167a5a,setImmediate(()=>{const _0x46388f=_0x2d060a;this[_0x46388f(0x1f3)](_0x46388f(0x23b),_0xab2850,!0x0),this['_state']=_0xc6e641,this[_0x46388f(0x270)](_0x2ffd48);}));}else{const _0x54158d=_0x1903b7(_0x266ed3,_0x10e4bb);if(!this[_0x2d060a(0x293)]&&!_0x316964(_0x54158d)){const _0x2dd731=this[_0x2d060a(0x14e)](Error,_0x2d060a(0x241),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x2ffd48(_0x2dd731);return;}this[_0x2d060a(0x2c1)]===_0x3a3e0f||this['_allowSynchronousEvents']?(this[_0x2d060a(0x1f3)]('message',_0x54158d,!0x1),this[_0x2d060a(0x2c1)]=_0xc6e641):(this[_0x2d060a(0x2c1)]=_0x167a5a,setImmediate(()=>{const _0x3e2b2c=_0x2d060a;this['emit']('message',_0x54158d,!0x1),this[_0x3e2b2c(0x2c1)]=_0xc6e641,this['startLoop'](_0x2ffd48);}));}}[_0x23a2c3(0x211)](_0x1b08a4,_0x343412){const _0x20a9e0=_0x23a2c3;if(this[_0x20a9e0(0x1a5)]===0x8){if(_0x1b08a4[_0x20a9e0(0x292)]===0x0)this[_0x20a9e0(0x290)]=!0x1,this[_0x20a9e0(0x1f3)](_0x20a9e0(0x208),0x3ed,_0x514737),this['end']();else{const _0x2a184c=_0x1b08a4[_0x20a9e0(0x210)](0x0);if(!_0x59e8e3(_0x2a184c)){const _0x516328=this[_0x20a9e0(0x14e)](RangeError,'invalid\x20status\x20code\x20'+_0x2a184c,!0x0,0x3ea,_0x20a9e0(0x10a));_0x343412(_0x516328);return;}const _0x39feb1=new _0x229159(_0x1b08a4[_0x20a9e0(0x201)],_0x1b08a4[_0x20a9e0(0x206)]+0x2,_0x1b08a4[_0x20a9e0(0x292)]-0x2);if(!this['_skipUTF8Validation']&&!_0x316964(_0x39feb1)){const _0x14178d=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x20a9e0(0x289));_0x343412(_0x14178d);return;}this[_0x20a9e0(0x290)]=!0x1,this[_0x20a9e0(0x1f3)]('conclude',_0x2a184c,_0x39feb1),this[_0x20a9e0(0x17c)]();}this[_0x20a9e0(0x2c1)]=_0xc6e641;return;}this[_0x20a9e0(0x1fe)]?(this['emit'](this[_0x20a9e0(0x1a5)]===0x9?_0x20a9e0(0x22e):'pong',_0x1b08a4),this[_0x20a9e0(0x2c1)]=_0xc6e641):(this['_state']=_0x167a5a,setImmediate(()=>{const _0x21d15e=_0x20a9e0;this[_0x21d15e(0x1f3)](this['_opcode']===0x9?_0x21d15e(0x22e):_0x21d15e(0x2b9),_0x1b08a4),this[_0x21d15e(0x2c1)]=_0xc6e641,this[_0x21d15e(0x270)](_0x343412);}));}[_0x23a2c3(0x14e)](_0x1e22d3,_0x2eaa44,_0x56eddd,_0x382d51,_0x2ba921){const _0x263d27=_0x23a2c3;this['_loop']=!0x1,this[_0x263d27(0x17b)]=!0x0;const _0x313d58=new _0x1e22d3(_0x56eddd?_0x263d27(0x1a8)+_0x2eaa44:_0x2eaa44);return Error[_0x263d27(0x13a)](_0x313d58,this[_0x263d27(0x14e)]),_0x313d58[_0x263d27(0x29a)]=_0x2ba921,_0x313d58[_0x294f93]=_0x382d51,_0x313d58;}}return Se=_0x1d6410,Se;}function _0x1740(){const _0x44c305=['callback','_originalSecure','string','compress','ping','startsWith','UniverCollaborationClientNodePlugin','WS_ERR_INVALID_OPCODE','toLowerCase','host','collaboration-client-node.config','setConfig','_messageLength','maxPayload','destroyed','\x20(supported\x20versions:\x20','decompress','message','text/plain','Cookie','Sec-WebSocket-Extensions','sha1','dataMessage','invalid\x20UTF-8\x20sequence','encrypted','autoPong','exports','toString','wss:','_autoPong','_sender','endEmitted','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','alloc','91054JJtCFx','abort','sec-websocket-protocol','toStringTag','reset','_readableState','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','options','_paused','jobs','kCode','kListener','OPEN','frame','byteLength','enqueue','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','threshold','Invalid\x20Upgrade\x20header','warn','isIP','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','writeUIntBE','WS_ERR_UNEXPECTED_RSV_1','fin','origin','shift','errorEmitted','kMessage','DisposableCollection','\x0d\x0a\x0d\x0a','_bufferedBytes','invalid\x20opcode\x20','_url','_deflate','port','startLoop','update','map','serverNoContextTakeover','Observable','wasClean','allowSynchronousEvents','Blob','target','socket','join','wsClientError','50670UCFdcT','getMask','Connection:\x20Upgrade','generateMask','authorized','_shouldEmitClose','flush','setNoDelay','_req','response','needDrain','_registerDependencies','replace','WS_ERR_INVALID_UTF8','username','data','HTTPService','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','createDeflateRaw','clients','_loop','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','length','_skipUTF8Validation','_fragmented','222NeATtf','zlibDeflateOptions','RSV1\x20must\x20be\x20clear','WebSocket\x20is\x20not\x20open:\x20readyState\x20','kByteLength','code','Basic\x20','auth','acceptAsClient','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','setHeader','_protocol','concurrencyLimit','dispatch','writeUInt16BE','4uVGKJV','_payloadLength','onclose','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Unexpected\x20character\x20at\x20index\x20','connection','Server\x20sent\x20an\x20invalid\x20subprotocol','normalizeParams','\x22:\x20','isBuffer','nextTick','pipe','_threshold','set','request','CLOSING','method','readyState','client_no_context_takeover','_closeMessage','perMessageDeflate','pong','extensions','11696376YWEyCb','acceptAsServer','clientNoContextTakeover','_destroy','base64','zlibInflateOptions','_state','_receiver','onerror','finished','listening','Max\x20payload\x20size\x20exceeded','server_no_context_takeover','Sec-WebSocket-Protocol','bind','invalid\x20payload\x20length\x20','GET','invalid\x20opcode\x200','Maximum\x20redirects\x20exceeded','_inflate','backlog','WS_ERR_INVALID_CLOSE_CODE','WS_ERR_EXPECTED_MASK','find','password','Unknown\x20parameter\x20\x22','createSocket','once','Injector','hash','shouldHandle','sec-websocket-origin','skipUTF8Validation','handleUpgrade','extensionName','headers','arraybuffer','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','addEventListener','address','_injector','registerHTTPInterceptor','search','_redirects','_queue','reason','includes','cookie','handleEvent','uncork','The\x20server\x20is\x20not\x20running','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','indexOf','resume','registerDependencies','create','_server','concat','Unexpected\x20server\x20response:\x20','kWasClean','has','offer','ISnapshotServerService','_max_window_bits','isPaused','kIsForOnEventAttribute','Invalid\x20HTTP\x20method','dispose','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','captureStackTrace','timeout','bufferedAmount','Origin','haveLength','setSocket','total-length','blob','_bufferedAmount','upgrade','defaultPort','pending','completeUpgrade','redirect','Invalid\x20Sec-WebSocket-Extensions\x20header','13,\x208','url','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','onopen','_mask','createError','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','\x22\x20must\x20have\x20only\x20a\x20single\x20value','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','params','_final','finish','pause','size','130tgHOqY','Unexpected\x20end\x20of\x20input','getData','cleanup','websocket','Module','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','Invalid\x20value\x20for\x20parameter\x20\x22','listeners','sec-websocket-key','kDone','_originalIpc','defineProperty','_closeCode','_compress','maskBuffer','getPayloadLength64','readOnly','getPayloadLength16','prototype','add','close','getBlobData','charCodeAt','CONNECTING','forEach','CLOSED','error','opcode','share','The\x20\x22','Inject','Disposable','\x22\x20subprotocol\x20is\x20duplicated','_readyState','kTarget','_errored','end','HTTP/1.1\x20','https:','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','MASK\x20must\x20be\x20clear','permessage-deflate','removeEventListener','WS_NO_BUFFER_UTIL','_binaryType','listenerCount','kReason','type','nodebuffer','parse','sendFrame','destroy','servername','_httpService','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','kData','_removeListeners','_firstFragment','kType','write','76255MbmTUD','arrayBuffer','protocolVersion','handleProtocols','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_closeFrameSent','digest','_closeTimer','consume','hasOwnProperty','UniverCollaborationClientPlugin','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','function','terminate','Z_SYNC_FLUSH','_opcode','_write','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','Invalid\x20WebSocket\x20frame:\x20','_buffers','cork','_no_context_takeover','concurrency','Upgrade','ws+unix:','Opening\x20handshake\x20has\x20timed\x20out','onmessage','_options','call','isValidUTF8','pathname','client','server','location','noServer','clientMaxWindowBits','505302GMjwCe','40678SuOczp','test','client_max_window_bits','setTimeout','3322592KhUZMK','followRedirects','mask','_maxPayload','Z_DEFAULT_WINDOWBITS','__esModule','species','send','accept','delete','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','entries','_closeFrameReceived','format','keys','_extensions','WS_ERR_UNEXPECTED_RSV_2_3','split','isView','env','unshift','dequeue','number','emitClose','STATUS_CODES','NodeCollaborationSocketService','construct','socketPath','_fragments','unexpected-response','text/html','connect','WS_ERR_EXPECTED_FIN','customHeaders','listen','path','_configService','next','getConfig','maxRedirects','allocUnsafe','_compressed','_maskBuffer','readUInt32BE','_writableState','ILogService','DependentOn','_fin','writable','isInteger','_socket','8fFkFAF','emit','apply','binaryType','toDisposable','_decompress','Plugin','createServer','Sec-WebSocket-Origin','getOwnPropertyDescriptor','_originalHostOrSocketPath','ws:','_allowSynchronousEvents','server_max_window_bits','from','buffer','File','createConnection','IConfigService','verifyClient','byteOffset','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','conclude','readable','952GNaGua','Invalid\x20URL:\x20','_masked','FIN\x20must\x20be\x20set','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_isServer','readUInt16BE','controlMessage','_doCreateSocket','protocol','isArray','pow','serverMaxWindowBits','createInflateRaw','kError','WS_ERR_UNEXPECTED_MASK','_generateMask','WS_NO_UTF_8_VALIDATE','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','push','slice','_errorEmitted','ISocketService','_totalPayloadLength','objectMode','open','authorization','unmask','Parameter\x20\x22','hostname','removeListener','COLLABORATION_CLIENT_NODE_CONFIG_KEY'];_0x1740=function(){return _0x44c305;};return _0x1740();}var Ee,Xe;function ft(){const _0x4d1f8e=_0xe46d0c;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x1d7774}=oe,{randomFillSync:_0x2517c3}=Le,_0x2cab5a=he(),{EMPTY_BUFFER:_0x515c0a,kWebSocket:_0x276e24,NOOP:_0x1ba05e}=H(),{isBlob:_0x222593,isValidStatusCode:_0x313127}=ae(),{mask:_0x23fab7,toBuffer:_0x5a8902}=ce(),_0x1269b5=Symbol(_0x4d1f8e(0x299)),_0x2e2045=Buffer[_0x4d1f8e(0x24b)](0x4),_0x37268a=0x8*0x400;let _0x2aa80e,_0x2896cb=_0x37268a;const _0x5b3a77=0x0,_0x68cc38=0x1,_0x40f40b=0x2;class _0x234d02{constructor(_0x266e0e,_0x466bfc,_0x4a2057){const _0x13cda8=_0x4d1f8e;this[_0x13cda8(0x1ce)]=_0x466bfc||{},_0x4a2057&&(this[_0x13cda8(0x21a)]=_0x4a2057,this[_0x13cda8(0x1e9)]=Buffer[_0x13cda8(0x24b)](0x4)),this[_0x13cda8(0x1f1)]=_0x266e0e,this[_0x13cda8(0x192)]=!0x0,this[_0x13cda8(0x165)]=!0x1,this['_bufferedBytes']=0x0,this[_0x13cda8(0x121)]=[],this[_0x13cda8(0x2c1)]=_0x5b3a77,this[_0x13cda8(0x2c3)]=_0x1ba05e,this[_0x276e24]=void 0x0;}static[_0x4d1f8e(0x259)](_0x44d1cf,_0x57d8e8){const _0x33a67f=_0x4d1f8e;let _0x417d3b,_0x60468d=!0x1,_0x102229=0x2,_0x3612a4=!0x1;_0x57d8e8[_0x33a67f(0x1c1)]&&(_0x417d3b=_0x57d8e8[_0x33a67f(0x166)]||_0x2e2045,_0x57d8e8[_0x33a67f(0x27f)]?_0x57d8e8[_0x33a67f(0x27f)](_0x417d3b):(_0x2896cb===_0x37268a&&(_0x2aa80e===void 0x0&&(_0x2aa80e=Buffer[_0x33a67f(0x24b)](_0x37268a)),_0x2517c3(_0x2aa80e,0x0,_0x37268a),_0x2896cb=0x0),_0x417d3b[0x0]=_0x2aa80e[_0x2896cb++],_0x417d3b[0x1]=_0x2aa80e[_0x2896cb++],_0x417d3b[0x2]=_0x2aa80e[_0x2896cb++],_0x417d3b[0x3]=_0x2aa80e[_0x2896cb++]),_0x3612a4=(_0x417d3b[0x0]|_0x417d3b[0x1]|_0x417d3b[0x2]|_0x417d3b[0x3])===0x0,_0x102229=0x6);let _0x1c4a22;typeof _0x44d1cf=='string'?(!_0x57d8e8[_0x33a67f(0x1c1)]||_0x3612a4)&&_0x57d8e8[_0x1269b5]!==void 0x0?_0x1c4a22=_0x57d8e8[_0x1269b5]:(_0x44d1cf=Buffer['from'](_0x44d1cf),_0x1c4a22=_0x44d1cf[_0x33a67f(0x292)]):(_0x1c4a22=_0x44d1cf['length'],_0x60468d=_0x57d8e8[_0x33a67f(0x1c1)]&&_0x57d8e8[_0x33a67f(0x168)]&&!_0x3612a4);let _0x3a6121=_0x1c4a22;_0x1c4a22>=0x10000?(_0x102229+=0x8,_0x3a6121=0x7f):_0x1c4a22>0x7d&&(_0x102229+=0x2,_0x3a6121=0x7e);const _0x346fcc=Buffer[_0x33a67f(0x1e7)](_0x60468d?_0x1c4a22+_0x102229:_0x102229);return _0x346fcc[0x0]=_0x57d8e8[_0x33a67f(0x264)]?_0x57d8e8['opcode']|0x80:_0x57d8e8[_0x33a67f(0x173)],_0x57d8e8['rsv1']&&(_0x346fcc[0x0]|=0x40),_0x346fcc[0x1]=_0x3a6121,_0x3a6121===0x7e?_0x346fcc[_0x33a67f(0x2a3)](_0x1c4a22,0x2):_0x3a6121===0x7f&&(_0x346fcc[0x2]=_0x346fcc[0x3]=0x0,_0x346fcc[_0x33a67f(0x262)](_0x1c4a22,0x4,0x6)),_0x57d8e8['mask']?(_0x346fcc[0x1]|=0x80,_0x346fcc[_0x102229-0x4]=_0x417d3b[0x0],_0x346fcc[_0x102229-0x3]=_0x417d3b[0x1],_0x346fcc[_0x102229-0x2]=_0x417d3b[0x2],_0x346fcc[_0x102229-0x1]=_0x417d3b[0x3],_0x3612a4?[_0x346fcc,_0x44d1cf]:_0x60468d?(_0x23fab7(_0x44d1cf,_0x417d3b,_0x346fcc,_0x102229,_0x1c4a22),[_0x346fcc]):(_0x23fab7(_0x44d1cf,_0x417d3b,_0x44d1cf,0x0,_0x1c4a22),[_0x346fcc,_0x44d1cf])):[_0x346fcc,_0x44d1cf];}['close'](_0x2056cb,_0x2055e0,_0x43be6a,_0x21d757){const _0x3e97fc=_0x4d1f8e;let _0xca0641;if(_0x2056cb===void 0x0)_0xca0641=_0x515c0a;else{if(typeof _0x2056cb!=_0x3e97fc(0x1d5)||!_0x313127(_0x2056cb))throw new TypeError(_0x3e97fc(0x19a));if(_0x2055e0===void 0x0||!_0x2055e0[_0x3e97fc(0x292)])_0xca0641=Buffer['allocUnsafe'](0x2),_0xca0641[_0x3e97fc(0x2a3)](_0x2056cb,0x0);else{const _0x2e7cd2=Buffer[_0x3e97fc(0x25a)](_0x2055e0);if(_0x2e7cd2>0x7b)throw new RangeError(_0x3e97fc(0x28d));_0xca0641=Buffer[_0x3e97fc(0x1e7)](0x2+_0x2e7cd2),_0xca0641[_0x3e97fc(0x2a3)](_0x2056cb,0x0),typeof _0x2055e0=='string'?_0xca0641[_0x3e97fc(0x194)](_0x2055e0,0x2):_0xca0641['set'](_0x2055e0,0x2);}}const _0x33a0b4={[_0x1269b5]:_0xca0641[_0x3e97fc(0x292)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x43be6a,'maskBuffer':this[_0x3e97fc(0x1e9)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x3e97fc(0x2c1)]!==_0x5b3a77?this[_0x3e97fc(0x25b)]([this['dispatch'],_0xca0641,!0x1,_0x33a0b4,_0x21d757]):this[_0x3e97fc(0x18a)](_0x234d02[_0x3e97fc(0x259)](_0xca0641,_0x33a0b4),_0x21d757);}[_0x4d1f8e(0x22e)](_0x194d24,_0x46a841,_0x788054){const _0x119d81=_0x4d1f8e;let _0x443c61,_0x399c11;if(typeof _0x194d24=='string'?(_0x443c61=Buffer[_0x119d81(0x25a)](_0x194d24),_0x399c11=!0x1):_0x222593(_0x194d24)?(_0x443c61=_0x194d24[_0x119d81(0x156)],_0x399c11=!0x1):(_0x194d24=_0x5a8902(_0x194d24),_0x443c61=_0x194d24[_0x119d81(0x292)],_0x399c11=_0x5a8902['readOnly']),_0x443c61>0x7d)throw new RangeError(_0x119d81(0x25c));const _0x453735={[_0x1269b5]:_0x443c61,'fin':!0x0,'generateMask':this[_0x119d81(0x21a)],'mask':_0x46a841,'maskBuffer':this[_0x119d81(0x1e9)],'opcode':0x9,'readOnly':_0x399c11,'rsv1':!0x1};_0x222593(_0x194d24)?this[_0x119d81(0x2c1)]!==_0x5b3a77?this[_0x119d81(0x25b)]([this[_0x119d81(0x16d)],_0x194d24,!0x1,_0x453735,_0x788054]):this[_0x119d81(0x16d)](_0x194d24,!0x1,_0x453735,_0x788054):this['_state']!==_0x5b3a77?this[_0x119d81(0x25b)]([this[_0x119d81(0x2a2)],_0x194d24,!0x1,_0x453735,_0x788054]):this[_0x119d81(0x18a)](_0x234d02[_0x119d81(0x259)](_0x194d24,_0x453735),_0x788054);}[_0x4d1f8e(0x2b9)](_0x4e9254,_0x2aa9dc,_0x4782c8){const _0x281200=_0x4d1f8e;let _0x264abf,_0x1f42fd;if(typeof _0x4e9254==_0x281200(0x22c)?(_0x264abf=Buffer[_0x281200(0x25a)](_0x4e9254),_0x1f42fd=!0x1):_0x222593(_0x4e9254)?(_0x264abf=_0x4e9254[_0x281200(0x156)],_0x1f42fd=!0x1):(_0x4e9254=_0x5a8902(_0x4e9254),_0x264abf=_0x4e9254[_0x281200(0x292)],_0x1f42fd=_0x5a8902[_0x281200(0x168)]),_0x264abf>0x7d)throw new RangeError(_0x281200(0x25c));const _0x2edf27={[_0x1269b5]:_0x264abf,'fin':!0x0,'generateMask':this[_0x281200(0x21a)],'mask':_0x2aa9dc,'maskBuffer':this[_0x281200(0x1e9)],'opcode':0xa,'readOnly':_0x1f42fd,'rsv1':!0x1};_0x222593(_0x4e9254)?this[_0x281200(0x2c1)]!==_0x5b3a77?this[_0x281200(0x25b)]([this[_0x281200(0x16d)],_0x4e9254,!0x1,_0x2edf27,_0x4782c8]):this[_0x281200(0x16d)](_0x4e9254,!0x1,_0x2edf27,_0x4782c8):this[_0x281200(0x2c1)]!==_0x5b3a77?this['enqueue']([this[_0x281200(0x2a2)],_0x4e9254,!0x1,_0x2edf27,_0x4782c8]):this['sendFrame'](_0x234d02[_0x281200(0x259)](_0x4e9254,_0x2edf27),_0x4782c8);}[_0x4d1f8e(0x1c6)](_0x3804e8,_0x2d95c4,_0x20a94f){const _0x11fcd0=_0x4d1f8e,_0x2748f7=this[_0x11fcd0(0x1ce)][_0x2cab5a[_0x11fcd0(0x117)]];let _0x4dd490=_0x2d95c4['binary']?0x2:0x1,_0xcfab49=_0x2d95c4['compress'],_0x5b31aa,_0x43b747;typeof _0x3804e8==_0x11fcd0(0x22c)?(_0x5b31aa=Buffer[_0x11fcd0(0x25a)](_0x3804e8),_0x43b747=!0x1):_0x222593(_0x3804e8)?(_0x5b31aa=_0x3804e8[_0x11fcd0(0x156)],_0x43b747=!0x1):(_0x3804e8=_0x5a8902(_0x3804e8),_0x5b31aa=_0x3804e8[_0x11fcd0(0x292)],_0x43b747=_0x5a8902[_0x11fcd0(0x168)]),this[_0x11fcd0(0x192)]?(this['_firstFragment']=!0x1,_0xcfab49&&_0x2748f7&&_0x2748f7[_0x11fcd0(0x152)][_0x2748f7[_0x11fcd0(0x20f)]?'server_no_context_takeover':_0x11fcd0(0x2b6)]&&(_0xcfab49=_0x5b31aa>=_0x2748f7['_threshold']),this[_0x11fcd0(0x165)]=_0xcfab49):(_0xcfab49=!0x1,_0x4dd490=0x0),_0x2d95c4['fin']&&(this[_0x11fcd0(0x192)]=!0x0);const _0x49b2dc={[_0x1269b5]:_0x5b31aa,'fin':_0x2d95c4['fin'],'generateMask':this[_0x11fcd0(0x21a)],'mask':_0x2d95c4[_0x11fcd0(0x1c1)],'maskBuffer':this[_0x11fcd0(0x1e9)],'opcode':_0x4dd490,'readOnly':_0x43b747,'rsv1':_0xcfab49};_0x222593(_0x3804e8)?this[_0x11fcd0(0x2c1)]!==_0x5b3a77?this[_0x11fcd0(0x25b)]([this['getBlobData'],_0x3804e8,this['_compress'],_0x49b2dc,_0x20a94f]):this[_0x11fcd0(0x16d)](_0x3804e8,this[_0x11fcd0(0x165)],_0x49b2dc,_0x20a94f):this[_0x11fcd0(0x2c1)]!==_0x5b3a77?this[_0x11fcd0(0x25b)]([this[_0x11fcd0(0x2a2)],_0x3804e8,this['_compress'],_0x49b2dc,_0x20a94f]):this['dispatch'](_0x3804e8,this['_compress'],_0x49b2dc,_0x20a94f);}[_0x4d1f8e(0x16d)](_0x2311d9,_0x2fa74f,_0x10ec7c,_0x570e07){const _0xcdb160=_0x4d1f8e;this[_0xcdb160(0x26b)]+=_0x10ec7c[_0x1269b5],this[_0xcdb160(0x2c1)]=_0x40f40b,_0x2311d9[_0xcdb160(0x196)]()['then'](_0x244d80=>{const _0x548b8e=_0xcdb160;if(this[_0x548b8e(0x1f1)]['destroyed']){const _0x1bdbfe=new Error(_0x548b8e(0x18e));process['nextTick'](_0x206204,this,_0x1bdbfe,_0x570e07);return;}this[_0x548b8e(0x26b)]-=_0x10ec7c[_0x1269b5];const _0x5ae41f=_0x5a8902(_0x244d80);_0x2fa74f?this[_0x548b8e(0x2a2)](_0x5ae41f,_0x2fa74f,_0x10ec7c,_0x570e07):(this[_0x548b8e(0x2c1)]=_0x5b3a77,this['sendFrame'](_0x234d02[_0x548b8e(0x259)](_0x5ae41f,_0x10ec7c),_0x570e07),this[_0x548b8e(0x1d4)]());})['catch'](_0x3c9a79=>{const _0x2493bc=_0xcdb160;process[_0x2493bc(0x2ae)](_0x3b5cda,this,_0x3c9a79,_0x570e07);});}[_0x4d1f8e(0x2a2)](_0x56ae83,_0xc3307e,_0x5ae65e,_0x165772){const _0x29cb60=_0x4d1f8e;if(!_0xc3307e){this['sendFrame'](_0x234d02[_0x29cb60(0x259)](_0x56ae83,_0x5ae65e),_0x165772);return;}const _0x187917=this[_0x29cb60(0x1ce)][_0x2cab5a[_0x29cb60(0x117)]];this[_0x29cb60(0x26b)]+=_0x5ae65e[_0x1269b5],this[_0x29cb60(0x2c1)]=_0x68cc38,_0x187917[_0x29cb60(0x22d)](_0x56ae83,_0x5ae65e[_0x29cb60(0x264)],(_0x2e356d,_0x253558)=>{const _0x478ddb=_0x29cb60;if(this[_0x478ddb(0x1f1)][_0x478ddb(0x238)]){const _0x588fcb=new Error(_0x478ddb(0x1c9));_0x206204(this,_0x588fcb,_0x165772);return;}this['_bufferedBytes']-=_0x5ae65e[_0x1269b5],this['_state']=_0x5b3a77,_0x5ae65e[_0x478ddb(0x168)]=!0x1,this['sendFrame'](_0x234d02[_0x478ddb(0x259)](_0x253558,_0x5ae65e),_0x165772),this[_0x478ddb(0x1d4)]();});}['dequeue'](){const _0x2e5a7a=_0x4d1f8e;for(;this[_0x2e5a7a(0x2c1)]===_0x5b3a77&&this[_0x2e5a7a(0x121)]['length'];){const _0x582001=this[_0x2e5a7a(0x121)][_0x2e5a7a(0x266)]();this[_0x2e5a7a(0x26b)]-=_0x582001[0x3][_0x1269b5],Reflect[_0x2e5a7a(0x1f4)](_0x582001[0x0],this,_0x582001[_0x2e5a7a(0x21e)](0x1));}}[_0x4d1f8e(0x25b)](_0x31e6c8){const _0x5cbe6e=_0x4d1f8e;this[_0x5cbe6e(0x26b)]+=_0x31e6c8[0x3][_0x1269b5],this[_0x5cbe6e(0x121)][_0x5cbe6e(0x21d)](_0x31e6c8);}[_0x4d1f8e(0x18a)](_0x27b951,_0x3f4bc6){const _0x22ca8d=_0x4d1f8e;_0x27b951['length']===0x2?(this[_0x22ca8d(0x1f1)][_0x22ca8d(0x1aa)](),this[_0x22ca8d(0x1f1)][_0x22ca8d(0x194)](_0x27b951[0x0]),this[_0x22ca8d(0x1f1)][_0x22ca8d(0x194)](_0x27b951[0x1],_0x3f4bc6),this[_0x22ca8d(0x1f1)][_0x22ca8d(0x126)]()):this[_0x22ca8d(0x1f1)][_0x22ca8d(0x194)](_0x27b951[0x0],_0x3f4bc6);}}Ee=_0x234d02;function _0x206204(_0x377ef2,_0x1e35d3,_0x3ce972){const _0x33198b=_0x4d1f8e;typeof _0x3ce972==_0x33198b(0x1a2)&&_0x3ce972(_0x1e35d3);for(let _0x7380a9=0x0;_0x7380a9<_0x377ef2[_0x33198b(0x121)][_0x33198b(0x292)];_0x7380a9++){const _0x2de8dd=_0x377ef2[_0x33198b(0x121)][_0x7380a9],_0xee9450=_0x2de8dd[_0x2de8dd[_0x33198b(0x292)]-0x1];typeof _0xee9450==_0x33198b(0x1a2)&&_0xee9450(_0x1e35d3);}}function _0x3b5cda(_0x1e3778,_0x3f565d,_0x37746d){const _0x42006a=_0x4d1f8e;_0x206204(_0x1e3778,_0x3f565d,_0x37746d),_0x1e3778[_0x42006a(0x2c3)](_0x3f565d);}return Ee;}var xe,Ze;function It(){const _0x261653=_0xe46d0c;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x2272e8,kListener:_0x393268}=H(),_0x247cb1=Symbol(_0x261653(0x256)),_0x2f6a62=Symbol(_0x261653(0x190)),_0x5c209d=Symbol(_0x261653(0x218)),_0x16d437=Symbol(_0x261653(0x268)),_0x2bccde=Symbol(_0x261653(0x186)),_0x16f6ce=Symbol(_0x261653(0x17a)),_0x5a675f=Symbol(_0x261653(0x193)),_0x21f283=Symbol(_0x261653(0x130));class _0x58cc23{constructor(_0x5c3aea){this[_0x16f6ce]=null,this[_0x5a675f]=_0x5c3aea;}get[_0x261653(0x278)](){return this[_0x16f6ce];}get[_0x261653(0x187)](){return this[_0x5a675f];}}Object[_0x261653(0x163)](_0x58cc23[_0x261653(0x16a)],_0x261653(0x278),{'enumerable':!0x0}),Object['defineProperty'](_0x58cc23[_0x261653(0x16a)],_0x261653(0x187),{'enumerable':!0x0});class _0x3dd0db extends _0x58cc23{constructor(_0x138fc2,_0x683786={}){const _0x23b891=_0x261653;super(_0x138fc2),this[_0x247cb1]=_0x683786[_0x23b891(0x29a)]===void 0x0?0x0:_0x683786[_0x23b891(0x29a)],this[_0x2bccde]=_0x683786[_0x23b891(0x122)]===void 0x0?'':_0x683786[_0x23b891(0x122)],this[_0x21f283]=_0x683786[_0x23b891(0x275)]===void 0x0?!0x1:_0x683786[_0x23b891(0x275)];}get[_0x261653(0x29a)](){return this[_0x247cb1];}get['reason'](){return this[_0x2bccde];}get[_0x261653(0x275)](){return this[_0x21f283];}}Object[_0x261653(0x163)](_0x3dd0db[_0x261653(0x16a)],'code',{'enumerable':!0x0}),Object[_0x261653(0x163)](_0x3dd0db[_0x261653(0x16a)],_0x261653(0x122),{'enumerable':!0x0}),Object[_0x261653(0x163)](_0x3dd0db['prototype'],'wasClean',{'enumerable':!0x0});class _0x48e056 extends _0x58cc23{constructor(_0x26dcd1,_0x2d7529={}){const _0x3061f2=_0x261653;super(_0x26dcd1),this[_0x5c209d]=_0x2d7529[_0x3061f2(0x172)]===void 0x0?null:_0x2d7529[_0x3061f2(0x172)],this[_0x16d437]=_0x2d7529['message']===void 0x0?'':_0x2d7529['message'];}get[_0x261653(0x172)](){return this[_0x5c209d];}get[_0x261653(0x23b)](){return this[_0x16d437];}}Object[_0x261653(0x163)](_0x48e056[_0x261653(0x16a)],_0x261653(0x172),{'enumerable':!0x0}),Object[_0x261653(0x163)](_0x48e056[_0x261653(0x16a)],'message',{'enumerable':!0x0});class _0x456b89 extends _0x58cc23{constructor(_0x5e645f,_0x4392b2={}){super(_0x5e645f),this[_0x2f6a62]=_0x4392b2['data']===void 0x0?null:_0x4392b2['data'];}get[_0x261653(0x28b)](){return this[_0x2f6a62];}}Object[_0x261653(0x163)](_0x456b89[_0x261653(0x16a)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x3dd0db,'ErrorEvent':_0x48e056,'Event':_0x58cc23,'EventTarget':{'addEventListener'(_0x356098,_0x59d12f,_0xba024d={}){const _0x514775=_0x261653;for(const _0x85097d of this['listeners'](_0x356098))if(!_0xba024d[_0x2272e8]&&_0x85097d[_0x393268]===_0x59d12f&&!_0x85097d[_0x2272e8])return;let _0x15455d;if(_0x356098===_0x514775(0x23b))_0x15455d=function(_0x21b2f4,_0x1e6163){const _0x15887a=_0x514775,_0x342e1b=new _0x456b89(_0x15887a(0x23b),{'data':_0x1e6163?_0x21b2f4:_0x21b2f4[_0x15887a(0x245)]()});_0x342e1b[_0x16f6ce]=this,_0x465b11(_0x59d12f,this,_0x342e1b);};else{if(_0x356098==='close')_0x15455d=function(_0x161873,_0x591959){const _0x25b22c=_0x514775,_0x512cda=new _0x3dd0db('close',{'code':_0x161873,'reason':_0x591959[_0x25b22c(0x245)](),'wasClean':this[_0x25b22c(0x1cb)]&&this[_0x25b22c(0x19b)]});_0x512cda[_0x16f6ce]=this,_0x465b11(_0x59d12f,this,_0x512cda);};else{if(_0x356098===_0x514775(0x172))_0x15455d=function(_0x395417){const _0x472be6=_0x514775,_0x9f1c4a=new _0x48e056(_0x472be6(0x172),{'error':_0x395417,'message':_0x395417[_0x472be6(0x23b)]});_0x9f1c4a[_0x16f6ce]=this,_0x465b11(_0x59d12f,this,_0x9f1c4a);};else{if(_0x356098===_0x514775(0x223))_0x15455d=function(){const _0x565ec9=new _0x58cc23('open');_0x565ec9[_0x16f6ce]=this,_0x465b11(_0x59d12f,this,_0x565ec9);};else return;}}}_0x15455d[_0x2272e8]=!!_0xba024d[_0x2272e8],_0x15455d[_0x393268]=_0x59d12f,_0xba024d['once']?this[_0x514775(0x110)](_0x356098,_0x15455d):this['on'](_0x356098,_0x15455d);},'removeEventListener'(_0x1e108f,_0x2266db){const _0x4b045b=_0x261653;for(const _0x4a591c of this[_0x4b045b(0x15f)](_0x1e108f))if(_0x4a591c[_0x393268]===_0x2266db&&!_0x4a591c[_0x2272e8]){this[_0x4b045b(0x228)](_0x1e108f,_0x4a591c);break;}}},'MessageEvent':_0x456b89};function _0x465b11(_0x3ee866,_0x5e168e,_0x3a51a9){const _0x3cef01=_0x261653;typeof _0x3ee866=='object'&&_0x3ee866[_0x3cef01(0x125)]?_0x3ee866['handleEvent']['call'](_0x3ee866,_0x3a51a9):_0x3ee866['call'](_0x5e168e,_0x3a51a9);}return xe;}var be,Qe;function _0x3b23(_0x16eb1b,_0x5bc0fc){const _0x1740c5=_0x1740();return _0x3b23=function(_0x3b2378,_0x39f539){_0x3b2378=_0x3b2378-0x10a;let _0x4c0495=_0x1740c5[_0x3b2378];return _0x4c0495;},_0x3b23(_0x16eb1b,_0x5bc0fc);}function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x41b681}=ae();function _0x3df350(_0xbf9b78,_0x106358,_0x2a4626){_0xbf9b78[_0x106358]===void 0x0?_0xbf9b78[_0x106358]=[_0x2a4626]:_0xbf9b78[_0x106358]['push'](_0x2a4626);}function _0x30b8d8(_0x426189){const _0x4a7b84=_0x3b23,_0x1d23c6=Object[_0x4a7b84(0x12c)](null);let _0x2b9689=Object['create'](null),_0x56e7b2=!0x1,_0x51b925=!0x1,_0x313813=!0x1,_0x105303,_0xd186c2,_0x1dffc0=-0x1,_0x2a0d55=-0x1,_0x2cf940=-0x1,_0x30943a=0x0;for(;_0x30943a<_0x426189[_0x4a7b84(0x292)];_0x30943a++)if(_0x2a0d55=_0x426189[_0x4a7b84(0x16e)](_0x30943a),_0x105303===void 0x0){if(_0x2cf940===-0x1&&_0x41b681[_0x2a0d55]===0x1)_0x1dffc0===-0x1&&(_0x1dffc0=_0x30943a);else{if(_0x30943a!==0x0&&(_0x2a0d55===0x20||_0x2a0d55===0x9))_0x2cf940===-0x1&&_0x1dffc0!==-0x1&&(_0x2cf940=_0x30943a);else{if(_0x2a0d55===0x3b||_0x2a0d55===0x2c){if(_0x1dffc0===-0x1)throw new SyntaxError(_0x4a7b84(0x2a8)+_0x30943a);_0x2cf940===-0x1&&(_0x2cf940=_0x30943a);const _0x4f5d8f=_0x426189[_0x4a7b84(0x21e)](_0x1dffc0,_0x2cf940);_0x2a0d55===0x2c?(_0x3df350(_0x1d23c6,_0x4f5d8f,_0x2b9689),_0x2b9689=Object[_0x4a7b84(0x12c)](null)):_0x105303=_0x4f5d8f,_0x1dffc0=_0x2cf940=-0x1;}else throw new SyntaxError(_0x4a7b84(0x2a8)+_0x30943a);}}}else{if(_0xd186c2===void 0x0){if(_0x2cf940===-0x1&&_0x41b681[_0x2a0d55]===0x1)_0x1dffc0===-0x1&&(_0x1dffc0=_0x30943a);else{if(_0x2a0d55===0x20||_0x2a0d55===0x9)_0x2cf940===-0x1&&_0x1dffc0!==-0x1&&(_0x2cf940=_0x30943a);else{if(_0x2a0d55===0x3b||_0x2a0d55===0x2c){if(_0x1dffc0===-0x1)throw new SyntaxError(_0x4a7b84(0x2a8)+_0x30943a);_0x2cf940===-0x1&&(_0x2cf940=_0x30943a),_0x3df350(_0x2b9689,_0x426189[_0x4a7b84(0x21e)](_0x1dffc0,_0x2cf940),!0x0),_0x2a0d55===0x2c&&(_0x3df350(_0x1d23c6,_0x105303,_0x2b9689),_0x2b9689=Object[_0x4a7b84(0x12c)](null),_0x105303=void 0x0),_0x1dffc0=_0x2cf940=-0x1;}else{if(_0x2a0d55===0x3d&&_0x1dffc0!==-0x1&&_0x2cf940===-0x1)_0xd186c2=_0x426189['slice'](_0x1dffc0,_0x30943a),_0x1dffc0=_0x2cf940=-0x1;else throw new SyntaxError(_0x4a7b84(0x2a8)+_0x30943a);}}}}else{if(_0x51b925){if(_0x41b681[_0x2a0d55]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x30943a);_0x1dffc0===-0x1?_0x1dffc0=_0x30943a:_0x56e7b2||(_0x56e7b2=!0x0),_0x51b925=!0x1;}else{if(_0x313813){if(_0x41b681[_0x2a0d55]===0x1)_0x1dffc0===-0x1&&(_0x1dffc0=_0x30943a);else{if(_0x2a0d55===0x22&&_0x1dffc0!==-0x1)_0x313813=!0x1,_0x2cf940=_0x30943a;else{if(_0x2a0d55===0x5c)_0x51b925=!0x0;else throw new SyntaxError(_0x4a7b84(0x2a8)+_0x30943a);}}}else{if(_0x2a0d55===0x22&&_0x426189['charCodeAt'](_0x30943a-0x1)===0x3d)_0x313813=!0x0;else{if(_0x2cf940===-0x1&&_0x41b681[_0x2a0d55]===0x1)_0x1dffc0===-0x1&&(_0x1dffc0=_0x30943a);else{if(_0x1dffc0!==-0x1&&(_0x2a0d55===0x20||_0x2a0d55===0x9))_0x2cf940===-0x1&&(_0x2cf940=_0x30943a);else{if(_0x2a0d55===0x3b||_0x2a0d55===0x2c){if(_0x1dffc0===-0x1)throw new SyntaxError(_0x4a7b84(0x2a8)+_0x30943a);_0x2cf940===-0x1&&(_0x2cf940=_0x30943a);let _0x42f458=_0x426189['slice'](_0x1dffc0,_0x2cf940);_0x56e7b2&&(_0x42f458=_0x42f458['replace'](/\\/g,''),_0x56e7b2=!0x1),_0x3df350(_0x2b9689,_0xd186c2,_0x42f458),_0x2a0d55===0x2c&&(_0x3df350(_0x1d23c6,_0x105303,_0x2b9689),_0x2b9689=Object[_0x4a7b84(0x12c)](null),_0x105303=void 0x0),_0xd186c2=void 0x0,_0x1dffc0=_0x2cf940=-0x1;}else throw new SyntaxError(_0x4a7b84(0x2a8)+_0x30943a);}}}}}}}if(_0x1dffc0===-0x1||_0x313813||_0x2a0d55===0x20||_0x2a0d55===0x9)throw new SyntaxError(_0x4a7b84(0x158));_0x2cf940===-0x1&&(_0x2cf940=_0x30943a);const _0x4be904=_0x426189['slice'](_0x1dffc0,_0x2cf940);return _0x105303===void 0x0?_0x3df350(_0x1d23c6,_0x4be904,_0x2b9689):(_0xd186c2===void 0x0?_0x3df350(_0x2b9689,_0x4be904,!0x0):_0x56e7b2?_0x3df350(_0x2b9689,_0xd186c2,_0x4be904[_0x4a7b84(0x288)](/\\/g,'')):_0x3df350(_0x2b9689,_0xd186c2,_0x4be904),_0x3df350(_0x1d23c6,_0x105303,_0x2b9689)),_0x1d23c6;}function _0x5836e0(_0x5dca7d){const _0x12c971=_0x3b23;return Object[_0x12c971(0x1cd)](_0x5dca7d)[_0x12c971(0x272)](_0x46c9d9=>{const _0x56e9aa=_0x12c971;let _0x345b63=_0x5dca7d[_0x46c9d9];return Array[_0x56e9aa(0x214)](_0x345b63)||(_0x345b63=[_0x345b63]),_0x345b63[_0x56e9aa(0x272)](_0x1881f1=>[_0x46c9d9][_0x56e9aa(0x12e)](Object[_0x56e9aa(0x1cd)](_0x1881f1)[_0x56e9aa(0x272)](_0x97248a=>{const _0xe6a6a3=_0x56e9aa;let _0x3c3632=_0x1881f1[_0x97248a];return Array[_0xe6a6a3(0x214)](_0x3c3632)||(_0x3c3632=[_0x3c3632]),_0x3c3632[_0xe6a6a3(0x272)](_0x44da06=>_0x44da06===!0x0?_0x97248a:_0x97248a+'='+_0x44da06)[_0xe6a6a3(0x27a)](';\x20');}))[_0x56e9aa(0x27a)](';\x20'))['join'](',\x20');})[_0x12c971(0x27a)](',\x20');}return be={'format':_0x5836e0,'parse':_0x30b8d8},be;}var we,Je;function Pe(){const _0x497ac8=_0xe46d0c;if(Je)return we;Je=0x1;const _0x525017=nt,_0x2f5d8d=vt,_0x5c2ec2=ot,_0x385614=St,_0x396b54=Et,{randomBytes:_0x20a169,createHash:_0x3e5b0e}=Le,{Duplex:_0x242ee6,Readable:_0x12a6a1}=oe,{URL:_0x71d5ec}=xt,_0x2de5f7=he(),_0x28651a=lt(),_0x53ad82=ft(),{isBlob:_0x24cc36}=ae(),{BINARY_TYPES:_0x129104,EMPTY_BUFFER:_0x598f64,GUID:_0xd1e2b4,kForOnEventAttribute:_0x177fc6,kListener:_0x366103,kStatusCode:_0x2d224f,kWebSocket:_0x4670c5,NOOP:_0x42671d}=H(),{EventTarget:{addEventListener:_0x52e67a,removeEventListener:_0x16ee1b}}=It(),{format:_0x42a764,parse:_0x53e813}=ct(),{toBuffer:_0x20b587}=ce(),_0x1b11f5=0x1e*0x3e8,_0x35d985=Symbol('kAborted'),_0x4f51fa=[0x8,0xd],_0x5a268b=[_0x497ac8(0x16f),_0x497ac8(0x258),'CLOSING','CLOSED'],_0x21a7c9=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x112abb extends _0x525017{constructor(_0x6b82f9,_0x5ca67,_0x1e34db){const _0x4372bd=_0x497ac8;super(),this[_0x4372bd(0x184)]=_0x129104[0x0],this['_closeCode']=0x3ee,this['_closeFrameReceived']=!0x1,this['_closeFrameSent']=!0x1,this[_0x4372bd(0x2b7)]=_0x598f64,this[_0x4372bd(0x19d)]=null,this[_0x4372bd(0x21f)]=!0x1,this[_0x4372bd(0x1ce)]={},this[_0x4372bd(0x254)]=!0x1,this['_protocol']='',this['_readyState']=_0x112abb[_0x4372bd(0x16f)],this[_0x4372bd(0x2c2)]=null,this[_0x4372bd(0x248)]=null,this[_0x4372bd(0x1f1)]=null,_0x6b82f9!==null?(this[_0x4372bd(0x142)]=0x0,this['_isServer']=!0x1,this[_0x4372bd(0x120)]=0x0,_0x5ca67===void 0x0?_0x5ca67=[]:Array[_0x4372bd(0x214)](_0x5ca67)||(typeof _0x5ca67=='object'&&_0x5ca67!==null?(_0x1e34db=_0x5ca67,_0x5ca67=[]):_0x5ca67=[_0x5ca67]),_0x4ea6e7(this,_0x6b82f9,_0x5ca67,_0x1e34db)):(this['_autoPong']=_0x1e34db[_0x4372bd(0x243)],this['_isServer']=!0x0);}get[_0x497ac8(0x1f5)](){const _0x220318=_0x497ac8;return this[_0x220318(0x184)];}set[_0x497ac8(0x1f5)](_0x38bbd9){const _0x4303d7=_0x497ac8;_0x129104[_0x4303d7(0x123)](_0x38bbd9)&&(this[_0x4303d7(0x184)]=_0x38bbd9,this[_0x4303d7(0x2c2)]&&(this[_0x4303d7(0x2c2)][_0x4303d7(0x184)]=_0x38bbd9));}get[_0x497ac8(0x13c)](){const _0x12d30b=_0x497ac8;return this['_socket']?this['_socket'][_0x12d30b(0x1eb)]['length']+this[_0x12d30b(0x248)][_0x12d30b(0x26b)]:this[_0x12d30b(0x142)];}get['extensions'](){const _0x3badf1=_0x497ac8;return Object[_0x3badf1(0x1cd)](this[_0x3badf1(0x1ce)])[_0x3badf1(0x27a)]();}get[_0x497ac8(0x135)](){const _0x56d5eb=_0x497ac8;return this[_0x56d5eb(0x254)];}get[_0x497ac8(0x2a6)](){return null;}get[_0x497ac8(0x2c3)](){return null;}get[_0x497ac8(0x14c)](){return null;}get[_0x497ac8(0x1b0)](){return null;}get['protocol'](){const _0x4240c1=_0x497ac8;return this[_0x4240c1(0x2a0)];}get[_0x497ac8(0x2b5)](){const _0x3558f9=_0x497ac8;return this[_0x3558f9(0x179)];}get[_0x497ac8(0x14a)](){const _0x20f3aa=_0x497ac8;return this[_0x20f3aa(0x26d)];}[_0x497ac8(0x13f)](_0x295145,_0x140f4f,_0x7d7638){const _0x57b386=_0x497ac8,_0x42a7bf=new _0x28651a({'allowSynchronousEvents':_0x7d7638[_0x57b386(0x276)],'binaryType':this['binaryType'],'extensions':this[_0x57b386(0x1ce)],'isServer':this[_0x57b386(0x20f)],'maxPayload':_0x7d7638[_0x57b386(0x237)],'skipUTF8Validation':_0x7d7638['skipUTF8Validation']}),_0x129604=new _0x53ad82(_0x295145,this[_0x57b386(0x1ce)],_0x7d7638[_0x57b386(0x27f)]);this[_0x57b386(0x2c2)]=_0x42a7bf,this[_0x57b386(0x248)]=_0x129604,this[_0x57b386(0x1f1)]=_0x295145,_0x42a7bf[_0x4670c5]=this,_0x129604[_0x4670c5]=this,_0x295145[_0x4670c5]=this,_0x42a7bf['on']('conclude',_0x24faee),_0x42a7bf['on']('drain',_0x14ed5b),_0x42a7bf['on'](_0x57b386(0x172),_0x5e70db),_0x42a7bf['on'](_0x57b386(0x23b),_0x3439c4),_0x42a7bf['on']('ping',_0x138b0d),_0x42a7bf['on']('pong',_0x106132),_0x129604[_0x57b386(0x2c3)]=_0x2aaaa6,_0x295145[_0x57b386(0x1be)]&&_0x295145[_0x57b386(0x1be)](0x0),_0x295145[_0x57b386(0x283)]&&_0x295145[_0x57b386(0x283)](),_0x140f4f['length']>0x0&&_0x295145[_0x57b386(0x1d3)](_0x140f4f),_0x295145['on'](_0x57b386(0x16c),_0xb46163),_0x295145['on'](_0x57b386(0x28b),_0x27f243),_0x295145['on'](_0x57b386(0x17c),_0x456691),_0x295145['on'](_0x57b386(0x172),_0x5e2824),this[_0x57b386(0x179)]=_0x112abb[_0x57b386(0x258)],this[_0x57b386(0x1f3)]('open');}[_0x497ac8(0x1d6)](){const _0x32c076=_0x497ac8;if(!this[_0x32c076(0x1f1)]){this[_0x32c076(0x179)]=_0x112abb[_0x32c076(0x171)],this[_0x32c076(0x1f3)](_0x32c076(0x16c),this[_0x32c076(0x164)],this[_0x32c076(0x2b7)]);return;}this[_0x32c076(0x1ce)][_0x2de5f7[_0x32c076(0x117)]]&&this[_0x32c076(0x1ce)][_0x2de5f7['extensionName']]['cleanup'](),this[_0x32c076(0x2c2)]['removeAllListeners'](),this[_0x32c076(0x179)]=_0x112abb[_0x32c076(0x171)],this['emit'](_0x32c076(0x16c),this[_0x32c076(0x164)],this[_0x32c076(0x2b7)]);}[_0x497ac8(0x16c)](_0x541cff,_0x41b7f3){const _0x2a348d=_0x497ac8;if(this['readyState']!==_0x112abb[_0x2a348d(0x171)]){if(this[_0x2a348d(0x2b5)]===_0x112abb[_0x2a348d(0x16f)]){_0x903c1f(this,this[_0x2a348d(0x284)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x2a348d(0x2b5)]===_0x112abb['CLOSING']){this[_0x2a348d(0x19b)]&&(this['_closeFrameReceived']||this[_0x2a348d(0x2c2)]['_writableState'][_0x2a348d(0x267)])&&this[_0x2a348d(0x1f1)][_0x2a348d(0x17c)]();return;}this['_readyState']=_0x112abb['CLOSING'],this[_0x2a348d(0x248)][_0x2a348d(0x16c)](_0x541cff,_0x41b7f3,!this[_0x2a348d(0x20f)],_0x5c4f35=>{const _0x763d3e=_0x2a348d;_0x5c4f35||(this[_0x763d3e(0x19b)]=!0x0,(this[_0x763d3e(0x1cb)]||this[_0x763d3e(0x2c2)]['_writableState'][_0x763d3e(0x267)])&&this[_0x763d3e(0x1f1)][_0x763d3e(0x17c)]());}),_0x4a0a80(this);}}[_0x497ac8(0x155)](){const _0x5c3264=_0x497ac8;this['readyState']===_0x112abb[_0x5c3264(0x16f)]||this[_0x5c3264(0x2b5)]===_0x112abb[_0x5c3264(0x171)]||(this[_0x5c3264(0x254)]=!0x0,this[_0x5c3264(0x1f1)]['pause']());}[_0x497ac8(0x22e)](_0x771e20,_0x2d1b59,_0x5cb24d){const _0x41e11a=_0x497ac8;if(this[_0x41e11a(0x2b5)]===_0x112abb[_0x41e11a(0x16f)])throw new Error(_0x41e11a(0x29e));if(typeof _0x771e20==_0x41e11a(0x1a2)?(_0x5cb24d=_0x771e20,_0x771e20=_0x2d1b59=void 0x0):typeof _0x2d1b59==_0x41e11a(0x1a2)&&(_0x5cb24d=_0x2d1b59,_0x2d1b59=void 0x0),typeof _0x771e20==_0x41e11a(0x1d5)&&(_0x771e20=_0x771e20[_0x41e11a(0x245)]()),this[_0x41e11a(0x2b5)]!==_0x112abb[_0x41e11a(0x258)]){_0x9ead93(this,_0x771e20,_0x5cb24d);return;}_0x2d1b59===void 0x0&&(_0x2d1b59=!this[_0x41e11a(0x20f)]),this[_0x41e11a(0x248)][_0x41e11a(0x22e)](_0x771e20||_0x598f64,_0x2d1b59,_0x5cb24d);}[_0x497ac8(0x2b9)](_0x1a8b76,_0x4eb090,_0x488651){const _0xeaa64a=_0x497ac8;if(this[_0xeaa64a(0x2b5)]===_0x112abb[_0xeaa64a(0x16f)])throw new Error(_0xeaa64a(0x29e));if(typeof _0x1a8b76==_0xeaa64a(0x1a2)?(_0x488651=_0x1a8b76,_0x1a8b76=_0x4eb090=void 0x0):typeof _0x4eb090==_0xeaa64a(0x1a2)&&(_0x488651=_0x4eb090,_0x4eb090=void 0x0),typeof _0x1a8b76=='number'&&(_0x1a8b76=_0x1a8b76[_0xeaa64a(0x245)]()),this[_0xeaa64a(0x2b5)]!==_0x112abb[_0xeaa64a(0x258)]){_0x9ead93(this,_0x1a8b76,_0x488651);return;}_0x4eb090===void 0x0&&(_0x4eb090=!this[_0xeaa64a(0x20f)]),this[_0xeaa64a(0x248)][_0xeaa64a(0x2b9)](_0x1a8b76||_0x598f64,_0x4eb090,_0x488651);}[_0x497ac8(0x12a)](){const _0xea17e=_0x497ac8;this[_0xea17e(0x2b5)]===_0x112abb[_0xea17e(0x16f)]||this[_0xea17e(0x2b5)]===_0x112abb[_0xea17e(0x171)]||(this[_0xea17e(0x254)]=!0x1,this[_0xea17e(0x2c2)]['_writableState'][_0xea17e(0x286)]||this[_0xea17e(0x1f1)]['resume']());}[_0x497ac8(0x1c6)](_0x58773b,_0x4691b9,_0x42ac85){const _0x2e8383=_0x497ac8;if(this[_0x2e8383(0x2b5)]===_0x112abb['CONNECTING'])throw new Error(_0x2e8383(0x29e));if(typeof _0x4691b9==_0x2e8383(0x1a2)&&(_0x42ac85=_0x4691b9,_0x4691b9={}),typeof _0x58773b=='number'&&(_0x58773b=_0x58773b[_0x2e8383(0x245)]()),this[_0x2e8383(0x2b5)]!==_0x112abb[_0x2e8383(0x258)]){_0x9ead93(this,_0x58773b,_0x42ac85);return;}const _0x4927ad={'binary':typeof _0x58773b!=_0x2e8383(0x22c),'mask':!this[_0x2e8383(0x20f)],'compress':!0x0,'fin':!0x0,..._0x4691b9};this['_extensions'][_0x2de5f7[_0x2e8383(0x117)]]||(_0x4927ad[_0x2e8383(0x22d)]=!0x1),this[_0x2e8383(0x248)][_0x2e8383(0x1c6)](_0x58773b||_0x598f64,_0x4927ad,_0x42ac85);}[_0x497ac8(0x1a3)](){const _0xe54732=_0x497ac8;if(this[_0xe54732(0x2b5)]!==_0x112abb['CLOSED']){if(this['readyState']===_0x112abb[_0xe54732(0x16f)]){_0x903c1f(this,this[_0xe54732(0x284)],_0xe54732(0x2a7));return;}this[_0xe54732(0x1f1)]&&(this[_0xe54732(0x179)]=_0x112abb[_0xe54732(0x2b3)],this[_0xe54732(0x1f1)]['destroy']());}}}Object[_0x497ac8(0x163)](_0x112abb,_0x497ac8(0x16f),{'enumerable':!0x0,'value':_0x5a268b['indexOf']('CONNECTING')}),Object[_0x497ac8(0x163)](_0x112abb[_0x497ac8(0x16a)],_0x497ac8(0x16f),{'enumerable':!0x0,'value':_0x5a268b[_0x497ac8(0x129)](_0x497ac8(0x16f))}),Object[_0x497ac8(0x163)](_0x112abb,_0x497ac8(0x258),{'enumerable':!0x0,'value':_0x5a268b[_0x497ac8(0x129)]('OPEN')}),Object[_0x497ac8(0x163)](_0x112abb[_0x497ac8(0x16a)],'OPEN',{'enumerable':!0x0,'value':_0x5a268b[_0x497ac8(0x129)]('OPEN')}),Object[_0x497ac8(0x163)](_0x112abb,'CLOSING',{'enumerable':!0x0,'value':_0x5a268b[_0x497ac8(0x129)](_0x497ac8(0x2b3))}),Object[_0x497ac8(0x163)](_0x112abb[_0x497ac8(0x16a)],'CLOSING',{'enumerable':!0x0,'value':_0x5a268b['indexOf'](_0x497ac8(0x2b3))}),Object['defineProperty'](_0x112abb,_0x497ac8(0x171),{'enumerable':!0x0,'value':_0x5a268b[_0x497ac8(0x129)](_0x497ac8(0x171))}),Object[_0x497ac8(0x163)](_0x112abb[_0x497ac8(0x16a)],_0x497ac8(0x171),{'enumerable':!0x0,'value':_0x5a268b[_0x497ac8(0x129)]('CLOSED')}),[_0x497ac8(0x1f5),_0x497ac8(0x13c),_0x497ac8(0x2ba),_0x497ac8(0x135),'protocol',_0x497ac8(0x2b5),_0x497ac8(0x14a)][_0x497ac8(0x170)](_0x476195=>{const _0x2ca552=_0x497ac8;Object[_0x2ca552(0x163)](_0x112abb[_0x2ca552(0x16a)],_0x476195,{'enumerable':!0x0});}),[_0x497ac8(0x223),'error',_0x497ac8(0x16c),_0x497ac8(0x23b)][_0x497ac8(0x170)](_0xdb96d7=>{const _0x44e5bd=_0x497ac8;Object[_0x44e5bd(0x163)](_0x112abb['prototype'],'on'+_0xdb96d7,{'enumerable':!0x0,'get'(){const _0x53280c=_0x44e5bd;for(const _0x2087aa of this[_0x53280c(0x15f)](_0xdb96d7))if(_0x2087aa[_0x177fc6])return _0x2087aa[_0x366103];return null;},'set'(_0x47435b){const _0xbc18dc=_0x44e5bd;for(const _0x31ce85 of this['listeners'](_0xdb96d7))if(_0x31ce85[_0x177fc6]){this[_0xbc18dc(0x228)](_0xdb96d7,_0x31ce85);break;}typeof _0x47435b==_0xbc18dc(0x1a2)&&this['addEventListener'](_0xdb96d7,_0x47435b,{[_0x177fc6]:!0x0});}});}),_0x112abb[_0x497ac8(0x16a)][_0x497ac8(0x11b)]=_0x52e67a,_0x112abb['prototype'][_0x497ac8(0x182)]=_0x16ee1b,we=_0x112abb;function _0x4ea6e7(_0x53f78b,_0x1848cc,_0x5d50b0,_0x52cd6a){const _0x4e3590=_0x497ac8,_0x340ee7={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4f51fa[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x52cd6a,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x4e3590(0x2cb),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x53f78b[_0x4e3590(0x247)]=_0x340ee7['autoPong'],!_0x4f51fa['includes'](_0x340ee7[_0x4e3590(0x197)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x340ee7[_0x4e3590(0x197)]+_0x4e3590(0x239)+_0x4f51fa['join'](',\x20')+')');let _0x2b80de;if(_0x1848cc instanceof _0x71d5ec)_0x2b80de=_0x1848cc;else try{_0x2b80de=new _0x71d5ec(_0x1848cc);}catch{throw new SyntaxError(_0x4e3590(0x20b)+_0x1848cc);}_0x2b80de['protocol']==='http:'?_0x2b80de[_0x4e3590(0x213)]=_0x4e3590(0x1fd):_0x2b80de[_0x4e3590(0x213)]===_0x4e3590(0x17e)&&(_0x2b80de[_0x4e3590(0x213)]=_0x4e3590(0x246)),_0x53f78b[_0x4e3590(0x26d)]=_0x2b80de['href'];const _0xd64d67=_0x2b80de[_0x4e3590(0x213)]===_0x4e3590(0x246),_0x25c654=_0x2b80de[_0x4e3590(0x213)]===_0x4e3590(0x1ae);let _0x31187b;if(_0x2b80de[_0x4e3590(0x213)]!==_0x4e3590(0x1fd)&&!_0xd64d67&&!_0x25c654?_0x31187b=_0x4e3590(0x207):_0x25c654&&!_0x2b80de['pathname']?_0x31187b='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x2b80de[_0x4e3590(0x112)]&&(_0x31187b=_0x4e3590(0x20e)),_0x31187b){const _0x636294=new SyntaxError(_0x31187b);if(_0x53f78b['_redirects']===0x0)throw _0x636294;_0x3c90a0(_0x53f78b,_0x636294);return;}const _0x150f33=_0xd64d67?0x1bb:0x50,_0x2f17e6=_0x20a169(0x10)[_0x4e3590(0x245)]('base64'),_0x146ac7=_0xd64d67?_0x2f5d8d[_0x4e3590(0x2b2)]:_0x5c2ec2['request'],_0x368b9f=new Set();let _0x56f025;if(_0x340ee7[_0x4e3590(0x203)]=_0x340ee7[_0x4e3590(0x203)]||(_0xd64d67?_0x563a43:_0x34bef5),_0x340ee7[_0x4e3590(0x144)]=_0x340ee7['defaultPort']||_0x150f33,_0x340ee7[_0x4e3590(0x26f)]=_0x2b80de[_0x4e3590(0x26f)]||_0x150f33,_0x340ee7[_0x4e3590(0x233)]=_0x2b80de[_0x4e3590(0x227)][_0x4e3590(0x22f)]('[')?_0x2b80de[_0x4e3590(0x227)][_0x4e3590(0x21e)](0x1,-0x1):_0x2b80de['hostname'],_0x340ee7[_0x4e3590(0x118)]={..._0x340ee7['headers'],'Sec-WebSocket-Version':_0x340ee7['protocolVersion'],'Sec-WebSocket-Key':_0x2f17e6,'Connection':_0x4e3590(0x1ad),'Upgrade':_0x4e3590(0x15b)},_0x340ee7[_0x4e3590(0x1e2)]=_0x2b80de[_0x4e3590(0x1b4)]+_0x2b80de[_0x4e3590(0x11f)],_0x340ee7[_0x4e3590(0x13b)]=_0x340ee7['handshakeTimeout'],_0x340ee7[_0x4e3590(0x2b8)]&&(_0x56f025=new _0x2de5f7(_0x340ee7[_0x4e3590(0x2b8)]!==!0x0?_0x340ee7[_0x4e3590(0x2b8)]:{},!0x1,_0x340ee7[_0x4e3590(0x237)]),_0x340ee7[_0x4e3590(0x118)][_0x4e3590(0x23e)]=_0x42a764({[_0x2de5f7[_0x4e3590(0x117)]]:_0x56f025['offer']()})),_0x5d50b0[_0x4e3590(0x292)]){for(const _0x33f1c4 of _0x5d50b0){if(typeof _0x33f1c4!='string'||!_0x21a7c9[_0x4e3590(0x1bc)](_0x33f1c4)||_0x368b9f[_0x4e3590(0x131)](_0x33f1c4))throw new SyntaxError(_0x4e3590(0x128));_0x368b9f['add'](_0x33f1c4);}_0x340ee7[_0x4e3590(0x118)][_0x4e3590(0x2c8)]=_0x5d50b0[_0x4e3590(0x27a)](',');}if(_0x340ee7[_0x4e3590(0x265)]&&(_0x340ee7[_0x4e3590(0x197)]<0xd?_0x340ee7[_0x4e3590(0x118)][_0x4e3590(0x1fa)]=_0x340ee7[_0x4e3590(0x265)]:_0x340ee7[_0x4e3590(0x118)][_0x4e3590(0x13d)]=_0x340ee7[_0x4e3590(0x265)]),(_0x2b80de[_0x4e3590(0x28a)]||_0x2b80de[_0x4e3590(0x10d)])&&(_0x340ee7['auth']=_0x2b80de['username']+':'+_0x2b80de['password']),_0x25c654){const _0x35dce5=_0x340ee7[_0x4e3590(0x1e2)][_0x4e3590(0x1d0)](':');_0x340ee7['socketPath']=_0x35dce5[0x0],_0x340ee7[_0x4e3590(0x1e2)]=_0x35dce5[0x1];}let _0x52f154;if(_0x340ee7[_0x4e3590(0x1c0)]){if(_0x53f78b['_redirects']===0x0){_0x53f78b[_0x4e3590(0x162)]=_0x25c654,_0x53f78b['_originalSecure']=_0xd64d67,_0x53f78b[_0x4e3590(0x1fc)]=_0x25c654?_0x340ee7[_0x4e3590(0x1da)]:_0x2b80de['host'];const _0x56e00e=_0x52cd6a&&_0x52cd6a[_0x4e3590(0x118)];if(_0x52cd6a={..._0x52cd6a,'headers':{}},_0x56e00e){for(const [_0x58b39f,_0x37739a]of Object[_0x4e3590(0x1ca)](_0x56e00e))_0x52cd6a[_0x4e3590(0x118)][_0x58b39f[_0x4e3590(0x232)]()]=_0x37739a;}}else{if(_0x53f78b['listenerCount']('redirect')===0x0){const _0x59b7ae=_0x25c654?_0x53f78b[_0x4e3590(0x162)]?_0x340ee7['socketPath']===_0x53f78b[_0x4e3590(0x1fc)]:!0x1:_0x53f78b[_0x4e3590(0x162)]?!0x1:_0x2b80de['host']===_0x53f78b[_0x4e3590(0x1fc)];(!_0x59b7ae||_0x53f78b[_0x4e3590(0x22b)]&&!_0xd64d67)&&(delete _0x340ee7[_0x4e3590(0x118)][_0x4e3590(0x224)],delete _0x340ee7['headers'][_0x4e3590(0x124)],_0x59b7ae||delete _0x340ee7[_0x4e3590(0x118)]['host'],_0x340ee7['auth']=void 0x0);}}_0x340ee7['auth']&&!_0x52cd6a[_0x4e3590(0x118)][_0x4e3590(0x224)]&&(_0x52cd6a[_0x4e3590(0x118)][_0x4e3590(0x224)]=_0x4e3590(0x29b)+Buffer[_0x4e3590(0x200)](_0x340ee7[_0x4e3590(0x29c)])[_0x4e3590(0x245)]('base64')),_0x52f154=_0x53f78b[_0x4e3590(0x284)]=_0x146ac7(_0x340ee7),_0x53f78b[_0x4e3590(0x120)]&&_0x53f78b[_0x4e3590(0x1f3)](_0x4e3590(0x147),_0x53f78b['url'],_0x52f154);}else _0x52f154=_0x53f78b[_0x4e3590(0x284)]=_0x146ac7(_0x340ee7);_0x340ee7[_0x4e3590(0x13b)]&&_0x52f154['on'](_0x4e3590(0x13b),()=>{const _0x4f60f9=_0x4e3590;_0x903c1f(_0x53f78b,_0x52f154,_0x4f60f9(0x1af));}),_0x52f154['on'](_0x4e3590(0x172),_0x1a99c7=>{const _0x50ec36=_0x4e3590;_0x52f154===null||_0x52f154[_0x35d985]||(_0x52f154=_0x53f78b[_0x50ec36(0x284)]=null,_0x3c90a0(_0x53f78b,_0x1a99c7));}),_0x52f154['on'](_0x4e3590(0x285),_0xe9b175=>{const _0x5b525f=_0x4e3590,_0x19c3ea=_0xe9b175[_0x5b525f(0x118)][_0x5b525f(0x1b7)],_0x413d5c=_0xe9b175['statusCode'];if(_0x19c3ea&&_0x340ee7[_0x5b525f(0x1c0)]&&_0x413d5c>=0x12c&&_0x413d5c<0x190){if(++_0x53f78b['_redirects']>_0x340ee7[_0x5b525f(0x1e6)]){_0x903c1f(_0x53f78b,_0x52f154,_0x5b525f(0x2cd));return;}_0x52f154[_0x5b525f(0x24d)]();let _0x3bfc52;try{_0x3bfc52=new _0x71d5ec(_0x19c3ea,_0x1848cc);}catch{const _0x5787c9=new SyntaxError(_0x5b525f(0x20b)+_0x19c3ea);_0x3c90a0(_0x53f78b,_0x5787c9);return;}_0x4ea6e7(_0x53f78b,_0x3bfc52,_0x5d50b0,_0x52cd6a);}else _0x53f78b['emit'](_0x5b525f(0x1dc),_0x52f154,_0xe9b175)||_0x903c1f(_0x53f78b,_0x52f154,_0x5b525f(0x12f)+_0xe9b175['statusCode']);}),_0x52f154['on']('upgrade',(_0x341759,_0x411d5e,_0x4f31c0)=>{const _0x4993ee=_0x4e3590;if(_0x53f78b[_0x4993ee(0x1f3)](_0x4993ee(0x143),_0x341759),_0x53f78b[_0x4993ee(0x2b5)]!==_0x112abb[_0x4993ee(0x16f)])return;_0x52f154=_0x53f78b[_0x4993ee(0x284)]=null;const _0x8cfc1b=_0x341759['headers']['upgrade'];if(_0x8cfc1b===void 0x0||_0x8cfc1b[_0x4993ee(0x232)]()!==_0x4993ee(0x15b)){_0x903c1f(_0x53f78b,_0x411d5e,_0x4993ee(0x25e));return;}const _0x31e8bc=_0x3e5b0e(_0x4993ee(0x23f))[_0x4993ee(0x271)](_0x2f17e6+_0xd1e2b4)[_0x4993ee(0x19c)](_0x4993ee(0x2bf));if(_0x341759[_0x4993ee(0x118)]['sec-websocket-accept']!==_0x31e8bc){_0x903c1f(_0x53f78b,_0x411d5e,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x3a3567=_0x341759[_0x4993ee(0x118)][_0x4993ee(0x24e)];let _0x3acfd7;if(_0x3a3567!==void 0x0?_0x368b9f['size']?_0x368b9f[_0x4993ee(0x131)](_0x3a3567)||(_0x3acfd7=_0x4993ee(0x2aa)):_0x3acfd7='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x368b9f[_0x4993ee(0x156)]&&(_0x3acfd7='Server\x20sent\x20no\x20subprotocol'),_0x3acfd7){_0x903c1f(_0x53f78b,_0x411d5e,_0x3acfd7);return;}_0x3a3567&&(_0x53f78b[_0x4993ee(0x2a0)]=_0x3a3567);const _0x8e8344=_0x341759['headers']['sec-websocket-extensions'];if(_0x8e8344!==void 0x0){if(!_0x56f025){_0x903c1f(_0x53f78b,_0x411d5e,_0x4993ee(0x1a7));return;}let _0x203d76;try{_0x203d76=_0x53e813(_0x8e8344);}catch{_0x903c1f(_0x53f78b,_0x411d5e,_0x4993ee(0x148));return;}const _0x196a53=Object['keys'](_0x203d76);if(_0x196a53[_0x4993ee(0x292)]!==0x1||_0x196a53[0x0]!==_0x2de5f7[_0x4993ee(0x117)]){_0x903c1f(_0x53f78b,_0x411d5e,_0x4993ee(0x17f));return;}try{_0x56f025[_0x4993ee(0x1c7)](_0x203d76[_0x2de5f7[_0x4993ee(0x117)]]);}catch{_0x903c1f(_0x53f78b,_0x411d5e,_0x4993ee(0x148));return;}_0x53f78b[_0x4993ee(0x1ce)][_0x2de5f7[_0x4993ee(0x117)]]=_0x56f025;}_0x53f78b['setSocket'](_0x411d5e,_0x4f31c0,{'allowSynchronousEvents':_0x340ee7['allowSynchronousEvents'],'generateMask':_0x340ee7[_0x4993ee(0x27f)],'maxPayload':_0x340ee7[_0x4993ee(0x237)],'skipUTF8Validation':_0x340ee7[_0x4993ee(0x115)]});}),_0x340ee7['finishRequest']?_0x340ee7['finishRequest'](_0x52f154,_0x53f78b):_0x52f154['end']();}function _0x3c90a0(_0x19d4c4,_0x5445c3){const _0x17da60=_0x497ac8;_0x19d4c4[_0x17da60(0x179)]=_0x112abb[_0x17da60(0x2b3)],_0x19d4c4['_errorEmitted']=!0x0,_0x19d4c4[_0x17da60(0x1f3)](_0x17da60(0x172),_0x5445c3),_0x19d4c4[_0x17da60(0x1d6)]();}function _0x34bef5(_0x1fb096){const _0x15b2fb=_0x497ac8;return _0x1fb096[_0x15b2fb(0x1e2)]=_0x1fb096[_0x15b2fb(0x1da)],_0x385614[_0x15b2fb(0x1de)](_0x1fb096);}function _0x563a43(_0x5956db){const _0x27a4ab=_0x497ac8;return _0x5956db[_0x27a4ab(0x1e2)]=void 0x0,!_0x5956db[_0x27a4ab(0x18c)]&&_0x5956db[_0x27a4ab(0x18c)]!==''&&(_0x5956db[_0x27a4ab(0x18c)]=_0x385614[_0x27a4ab(0x260)](_0x5956db[_0x27a4ab(0x233)])?'':_0x5956db[_0x27a4ab(0x233)]),_0x396b54[_0x27a4ab(0x1de)](_0x5956db);}function _0x903c1f(_0x1d46d3,_0x38d2b8,_0x3551bd){const _0x4343df=_0x497ac8;_0x1d46d3[_0x4343df(0x179)]=_0x112abb[_0x4343df(0x2b3)];const _0x65296f=new Error(_0x3551bd);Error[_0x4343df(0x13a)](_0x65296f,_0x903c1f),_0x38d2b8[_0x4343df(0x29f)]?(_0x38d2b8[_0x35d985]=!0x0,_0x38d2b8[_0x4343df(0x24d)](),_0x38d2b8['socket']&&!_0x38d2b8[_0x4343df(0x279)][_0x4343df(0x238)]&&_0x38d2b8[_0x4343df(0x279)][_0x4343df(0x18b)](),process[_0x4343df(0x2ae)](_0x3c90a0,_0x1d46d3,_0x65296f)):(_0x38d2b8[_0x4343df(0x18b)](_0x65296f),_0x38d2b8['once']('error',_0x1d46d3[_0x4343df(0x1f3)][_0x4343df(0x2c9)](_0x1d46d3,'error')),_0x38d2b8[_0x4343df(0x110)](_0x4343df(0x16c),_0x1d46d3[_0x4343df(0x1d6)][_0x4343df(0x2c9)](_0x1d46d3)));}function _0x9ead93(_0x4229b5,_0x5165a7,_0x435ea8){const _0x25bb70=_0x497ac8;if(_0x5165a7){const _0x5776f6=_0x24cc36(_0x5165a7)?_0x5165a7[_0x25bb70(0x156)]:_0x20b587(_0x5165a7)[_0x25bb70(0x292)];_0x4229b5[_0x25bb70(0x1f1)]?_0x4229b5[_0x25bb70(0x248)]['_bufferedBytes']+=_0x5776f6:_0x4229b5[_0x25bb70(0x142)]+=_0x5776f6;}if(_0x435ea8){const _0x4639ca=new Error(_0x25bb70(0x298)+_0x4229b5[_0x25bb70(0x2b5)]+'\x20('+_0x5a268b[_0x4229b5['readyState']]+')');process[_0x25bb70(0x2ae)](_0x435ea8,_0x4639ca);}}function _0x24faee(_0x23e351,_0x51196e){const _0x1fafdb=_0x497ac8,_0x1a6d80=this[_0x4670c5];_0x1a6d80[_0x1fafdb(0x1cb)]=!0x0,_0x1a6d80[_0x1fafdb(0x2b7)]=_0x51196e,_0x1a6d80[_0x1fafdb(0x164)]=_0x23e351,_0x1a6d80[_0x1fafdb(0x1f1)][_0x4670c5]!==void 0x0&&(_0x1a6d80[_0x1fafdb(0x1f1)][_0x1fafdb(0x228)](_0x1fafdb(0x28b),_0x27f243),process[_0x1fafdb(0x2ae)](_0xbd746e,_0x1a6d80[_0x1fafdb(0x1f1)]),_0x23e351===0x3ed?_0x1a6d80[_0x1fafdb(0x16c)]():_0x1a6d80[_0x1fafdb(0x16c)](_0x23e351,_0x51196e));}function _0x14ed5b(){const _0x45074e=_0x497ac8,_0xfdc2f=this[_0x4670c5];_0xfdc2f[_0x45074e(0x135)]||_0xfdc2f[_0x45074e(0x1f1)]['resume']();}function _0x5e70db(_0x13ec2b){const _0xee5b37=_0x497ac8,_0x2e6ffb=this[_0x4670c5];_0x2e6ffb[_0xee5b37(0x1f1)][_0x4670c5]!==void 0x0&&(_0x2e6ffb[_0xee5b37(0x1f1)][_0xee5b37(0x228)]('data',_0x27f243),process[_0xee5b37(0x2ae)](_0xbd746e,_0x2e6ffb[_0xee5b37(0x1f1)]),_0x2e6ffb[_0xee5b37(0x16c)](_0x13ec2b[_0x2d224f])),_0x2e6ffb['_errorEmitted']||(_0x2e6ffb[_0xee5b37(0x21f)]=!0x0,_0x2e6ffb[_0xee5b37(0x1f3)](_0xee5b37(0x172),_0x13ec2b));}function _0x2b6ca7(){const _0x145cde=_0x497ac8;this[_0x4670c5][_0x145cde(0x1d6)]();}function _0x3439c4(_0x3e6e25,_0x16c81d){const _0x4218bc=_0x497ac8;this[_0x4670c5][_0x4218bc(0x1f3)](_0x4218bc(0x23b),_0x3e6e25,_0x16c81d);}function _0x138b0d(_0x45a75e){const _0x56c688=_0x497ac8,_0xe59ab4=this[_0x4670c5];_0xe59ab4[_0x56c688(0x247)]&&_0xe59ab4['pong'](_0x45a75e,!this[_0x56c688(0x20f)],_0x42671d),_0xe59ab4['emit'](_0x56c688(0x22e),_0x45a75e);}function _0x106132(_0x587eab){const _0x5e4ace=_0x497ac8;this[_0x4670c5][_0x5e4ace(0x1f3)](_0x5e4ace(0x2b9),_0x587eab);}function _0xbd746e(_0x44a993){const _0x5411f0=_0x497ac8;_0x44a993[_0x5411f0(0x12a)]();}function _0x2aaaa6(_0x145248){const _0x302b6f=_0x497ac8,_0x4371dc=this[_0x4670c5];_0x4371dc[_0x302b6f(0x2b5)]!==_0x112abb[_0x302b6f(0x171)]&&(_0x4371dc['readyState']===_0x112abb[_0x302b6f(0x258)]&&(_0x4371dc[_0x302b6f(0x179)]=_0x112abb[_0x302b6f(0x2b3)],_0x4a0a80(_0x4371dc)),this[_0x302b6f(0x1f1)]['end'](),_0x4371dc[_0x302b6f(0x21f)]||(_0x4371dc['_errorEmitted']=!0x0,_0x4371dc[_0x302b6f(0x1f3)](_0x302b6f(0x172),_0x145248)));}function _0x4a0a80(_0x33182d){const _0x3e7ad6=_0x497ac8;_0x33182d[_0x3e7ad6(0x19d)]=setTimeout(_0x33182d[_0x3e7ad6(0x1f1)][_0x3e7ad6(0x18b)][_0x3e7ad6(0x2c9)](_0x33182d[_0x3e7ad6(0x1f1)]),_0x1b11f5);}function _0xb46163(){const _0x135963=_0x497ac8,_0x2af461=this[_0x4670c5];this['removeListener']('close',_0xb46163),this[_0x135963(0x228)](_0x135963(0x28b),_0x27f243),this[_0x135963(0x228)]('end',_0x456691),_0x2af461[_0x135963(0x179)]=_0x112abb['CLOSING'];let _0x28747d;!this[_0x135963(0x251)]['endEmitted']&&!_0x2af461[_0x135963(0x1cb)]&&!_0x2af461['_receiver'][_0x135963(0x1eb)][_0x135963(0x267)]&&(_0x28747d=_0x2af461['_socket']['read']())!==null&&_0x2af461[_0x135963(0x2c2)][_0x135963(0x194)](_0x28747d),_0x2af461['_receiver']['end'](),this[_0x4670c5]=void 0x0,clearTimeout(_0x2af461[_0x135963(0x19d)]),_0x2af461[_0x135963(0x2c2)][_0x135963(0x1eb)][_0x135963(0x2c4)]||_0x2af461[_0x135963(0x2c2)]['_writableState'][_0x135963(0x267)]?_0x2af461[_0x135963(0x1d6)]():(_0x2af461[_0x135963(0x2c2)]['on'](_0x135963(0x172),_0x2b6ca7),_0x2af461[_0x135963(0x2c2)]['on'](_0x135963(0x154),_0x2b6ca7));}function _0x27f243(_0x5f07d2){const _0x5a08e0=_0x497ac8;this[_0x4670c5][_0x5a08e0(0x2c2)][_0x5a08e0(0x194)](_0x5f07d2)||this[_0x5a08e0(0x155)]();}function _0x456691(){const _0x58ffad=_0x497ac8,_0x5a0907=this[_0x4670c5];_0x5a0907[_0x58ffad(0x179)]=_0x112abb[_0x58ffad(0x2b3)],_0x5a0907['_receiver'][_0x58ffad(0x17c)](),this['end']();}function _0x5e2824(){const _0x41e824=_0x497ac8,_0x1a63e4=this[_0x4670c5];this[_0x41e824(0x228)]('error',_0x5e2824),this['on'](_0x41e824(0x172),_0x42671d),_0x1a63e4&&(_0x1a63e4[_0x41e824(0x179)]=_0x112abb[_0x41e824(0x2b3)],this[_0x41e824(0x18b)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x431b01}=oe;function _0x25437e(_0x4203a7){const _0x4a9290=_0x3b23;_0x4203a7[_0x4a9290(0x1f3)](_0x4a9290(0x16c));}function _0x4c6187(){const _0x53a226=_0x3b23;!this[_0x53a226(0x238)]&&this[_0x53a226(0x1eb)][_0x53a226(0x2c4)]&&this[_0x53a226(0x18b)]();}function _0x2184db(_0x29f6ef){const _0x858300=_0x3b23;this['removeListener']('error',_0x2184db),this[_0x858300(0x18b)](),this[_0x858300(0x185)](_0x858300(0x172))===0x0&&this['emit'](_0x858300(0x172),_0x29f6ef);}function _0x272cf1(_0x190d6a,_0x20e757){const _0x72520f=_0x3b23;let _0x17f522=!0x0;const _0x3fcc2b=new _0x431b01({..._0x20e757,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x190d6a['on'](_0x72520f(0x23b),function(_0x12259c,_0x26bd4a){const _0x17f13a=_0x72520f,_0x1192aa=!_0x26bd4a&&_0x3fcc2b[_0x17f13a(0x251)][_0x17f13a(0x222)]?_0x12259c['toString']():_0x12259c;_0x3fcc2b[_0x17f13a(0x21d)](_0x1192aa)||_0x190d6a[_0x17f13a(0x155)]();}),_0x190d6a[_0x72520f(0x110)](_0x72520f(0x172),function(_0x1fd620){_0x3fcc2b['destroyed']||(_0x17f522=!0x1,_0x3fcc2b['destroy'](_0x1fd620));}),_0x190d6a['once'](_0x72520f(0x16c),function(){const _0x132637=_0x72520f;_0x3fcc2b[_0x132637(0x238)]||_0x3fcc2b[_0x132637(0x21d)](null);}),_0x3fcc2b[_0x72520f(0x2be)]=function(_0x5c31bf,_0x126640){const _0x1142a5=_0x72520f;if(_0x190d6a[_0x1142a5(0x2b5)]===_0x190d6a[_0x1142a5(0x171)]){_0x126640(_0x5c31bf),process['nextTick'](_0x25437e,_0x3fcc2b);return;}let _0x1f1213=!0x1;_0x190d6a[_0x1142a5(0x110)]('error',function(_0x430b6a){_0x1f1213=!0x0,_0x126640(_0x430b6a);}),_0x190d6a[_0x1142a5(0x110)](_0x1142a5(0x16c),function(){const _0x2da787=_0x1142a5;_0x1f1213||_0x126640(_0x5c31bf),process[_0x2da787(0x2ae)](_0x25437e,_0x3fcc2b);}),_0x17f522&&_0x190d6a[_0x1142a5(0x1a3)]();},_0x3fcc2b[_0x72520f(0x153)]=function(_0x4a17ef){const _0x39c5c4=_0x72520f;if(_0x190d6a[_0x39c5c4(0x2b5)]===_0x190d6a['CONNECTING']){_0x190d6a[_0x39c5c4(0x110)]('open',function(){const _0x5149c5=_0x39c5c4;_0x3fcc2b[_0x5149c5(0x153)](_0x4a17ef);});return;}_0x190d6a[_0x39c5c4(0x1f1)]!==null&&(_0x190d6a[_0x39c5c4(0x1f1)][_0x39c5c4(0x1eb)]['finished']?(_0x4a17ef(),_0x3fcc2b[_0x39c5c4(0x251)][_0x39c5c4(0x249)]&&_0x3fcc2b[_0x39c5c4(0x18b)]()):(_0x190d6a[_0x39c5c4(0x1f1)][_0x39c5c4(0x110)](_0x39c5c4(0x154),function(){_0x4a17ef();}),_0x190d6a[_0x39c5c4(0x16c)]()));},_0x3fcc2b['_read']=function(){const _0x259e12=_0x72520f;_0x190d6a['isPaused']&&_0x190d6a[_0x259e12(0x12a)]();},_0x3fcc2b['_write']=function(_0x18f574,_0x117223,_0x1c27e2){const _0x2e6a0f=_0x72520f;if(_0x190d6a[_0x2e6a0f(0x2b5)]===_0x190d6a[_0x2e6a0f(0x16f)]){_0x190d6a[_0x2e6a0f(0x110)]('open',function(){const _0x155da1=_0x2e6a0f;_0x3fcc2b[_0x155da1(0x1a6)](_0x18f574,_0x117223,_0x1c27e2);});return;}_0x190d6a[_0x2e6a0f(0x1c6)](_0x18f574,_0x1c27e2);},_0x3fcc2b['on'](_0x72520f(0x17c),_0x4c6187),_0x3fcc2b['on'](_0x72520f(0x172),_0x2184db),_0x3fcc2b;}return Oe=_0x272cf1,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0xd70f50}=ae();function _0x425586(_0x12114f){const _0x316276=_0x3b23,_0x287949=new Set();let _0x1e4204=-0x1,_0xa2f5a7=-0x1,_0xdc3eff=0x0;for(_0xdc3eff;_0xdc3eff<_0x12114f[_0x316276(0x292)];_0xdc3eff++){const _0x29f8f7=_0x12114f[_0x316276(0x16e)](_0xdc3eff);if(_0xa2f5a7===-0x1&&_0xd70f50[_0x29f8f7]===0x1)_0x1e4204===-0x1&&(_0x1e4204=_0xdc3eff);else{if(_0xdc3eff!==0x0&&(_0x29f8f7===0x20||_0x29f8f7===0x9))_0xa2f5a7===-0x1&&_0x1e4204!==-0x1&&(_0xa2f5a7=_0xdc3eff);else{if(_0x29f8f7===0x2c){if(_0x1e4204===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xdc3eff);_0xa2f5a7===-0x1&&(_0xa2f5a7=_0xdc3eff);const _0x5d2317=_0x12114f[_0x316276(0x21e)](_0x1e4204,_0xa2f5a7);if(_0x287949['has'](_0x5d2317))throw new SyntaxError(_0x316276(0x175)+_0x5d2317+_0x316276(0x178));_0x287949[_0x316276(0x16b)](_0x5d2317),_0x1e4204=_0xa2f5a7=-0x1;}else throw new SyntaxError(_0x316276(0x2a8)+_0xdc3eff);}}}if(_0x1e4204===-0x1||_0xa2f5a7!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x20880a=_0x12114f[_0x316276(0x21e)](_0x1e4204,_0xdc3eff);if(_0x287949['has'](_0x20880a))throw new SyntaxError('The\x20\x22'+_0x20880a+_0x316276(0x178));return _0x287949[_0x316276(0x16b)](_0x20880a),_0x287949;}return Ce={'parse':_0x425586},Ce;}var Te,rt;function Ft(){const _0x228526=_0xe46d0c;if(rt)return Te;rt=0x1;const _0x5a9387=nt,_0x442d63=ot,{Duplex:_0xb2e49e}=oe,{createHash:_0x1cb938}=Le,_0x4af6ff=ct(),_0x343a4a=he(),_0x230b50=At(),_0x5b8a6c=Pe(),{GUID:_0x1bb40f,kWebSocket:_0x4770a7}=H(),_0x67f81c=/^[+/0-9A-Za-z]{22}==$/,_0x1b66fb=0x0,_0x373470=0x1,_0x1da3b9=0x2;class _0x221447 extends _0x5a9387{constructor(_0x87c592,_0x1648d2){const _0x2ea538=_0x3b23;if(super(),_0x87c592={'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':_0x5b8a6c,..._0x87c592},_0x87c592[_0x2ea538(0x26f)]==null&&!_0x87c592[_0x2ea538(0x1b6)]&&!_0x87c592['noServer']||_0x87c592[_0x2ea538(0x26f)]!=null&&(_0x87c592['server']||_0x87c592[_0x2ea538(0x1b8)])||_0x87c592['server']&&_0x87c592['noServer'])throw new TypeError(_0x2ea538(0x14f));if(_0x87c592[_0x2ea538(0x26f)]!=null?(this['_server']=_0x442d63[_0x2ea538(0x1f9)]((_0x585a95,_0xcf0cce)=>{const _0x19e29f=_0x2ea538,_0x78bc35=_0x442d63[_0x19e29f(0x1d7)][0x1aa];_0xcf0cce['writeHead'](0x1aa,{'Content-Length':_0x78bc35[_0x19e29f(0x292)],'Content-Type':_0x19e29f(0x23c)}),_0xcf0cce['end'](_0x78bc35);}),this['_server'][_0x2ea538(0x1e1)](_0x87c592[_0x2ea538(0x26f)],_0x87c592[_0x2ea538(0x233)],_0x87c592[_0x2ea538(0x2cf)],_0x1648d2)):_0x87c592[_0x2ea538(0x1b6)]&&(this[_0x2ea538(0x12d)]=_0x87c592['server']),this[_0x2ea538(0x12d)]){const _0x180096=this[_0x2ea538(0x1f3)][_0x2ea538(0x2c9)](this,_0x2ea538(0x2a9));this[_0x2ea538(0x191)]=_0x13effb(this[_0x2ea538(0x12d)],{'listening':this[_0x2ea538(0x1f3)]['bind'](this,_0x2ea538(0x2c5)),'error':this[_0x2ea538(0x1f3)]['bind'](this,_0x2ea538(0x172)),'upgrade':(_0x3155cc,_0x3c7b32,_0x5a3708)=>{const _0x99c9a9=_0x2ea538;this[_0x99c9a9(0x116)](_0x3155cc,_0x3c7b32,_0x5a3708,_0x180096);}});}_0x87c592[_0x2ea538(0x2b8)]===!0x0&&(_0x87c592[_0x2ea538(0x2b8)]={}),_0x87c592['clientTracking']&&(this[_0x2ea538(0x28f)]=new Set(),this[_0x2ea538(0x281)]=!0x1),this[_0x2ea538(0x253)]=_0x87c592,this[_0x2ea538(0x2c1)]=_0x1b66fb;}[_0x228526(0x11c)](){const _0x2dd6e9=_0x228526;if(this[_0x2dd6e9(0x253)][_0x2dd6e9(0x1b8)])throw new Error(_0x2dd6e9(0x151));return this['_server']?this[_0x2dd6e9(0x12d)][_0x2dd6e9(0x11c)]():null;}[_0x228526(0x16c)](_0x202351){const _0x1eeab=_0x228526;if(this[_0x1eeab(0x2c1)]===_0x1da3b9){_0x202351&&this['once'](_0x1eeab(0x16c),()=>{const _0x553291=_0x1eeab;_0x202351(new Error(_0x553291(0x127)));}),process[_0x1eeab(0x2ae)](_0x24388e,this);return;}if(_0x202351&&this[_0x1eeab(0x110)](_0x1eeab(0x16c),_0x202351),this[_0x1eeab(0x2c1)]!==_0x373470){if(this[_0x1eeab(0x2c1)]=_0x373470,this[_0x1eeab(0x253)][_0x1eeab(0x1b8)]||this[_0x1eeab(0x253)][_0x1eeab(0x1b6)])this[_0x1eeab(0x12d)]&&(this[_0x1eeab(0x191)](),this[_0x1eeab(0x191)]=this[_0x1eeab(0x12d)]=null),this[_0x1eeab(0x28f)]?this[_0x1eeab(0x28f)]['size']?this[_0x1eeab(0x281)]=!0x0:process[_0x1eeab(0x2ae)](_0x24388e,this):process[_0x1eeab(0x2ae)](_0x24388e,this);else{const _0x63cb1a=this[_0x1eeab(0x12d)];this['_removeListeners'](),this['_removeListeners']=this['_server']=null,_0x63cb1a[_0x1eeab(0x16c)](()=>{_0x24388e(this);});}}}[_0x228526(0x113)](_0x48c6f9){const _0x30366d=_0x228526;if(this[_0x30366d(0x253)][_0x30366d(0x1e2)]){const _0x579262=_0x48c6f9[_0x30366d(0x14a)][_0x30366d(0x129)]('?');if((_0x579262!==-0x1?_0x48c6f9[_0x30366d(0x14a)][_0x30366d(0x21e)](0x0,_0x579262):_0x48c6f9['url'])!==this['options'][_0x30366d(0x1e2)])return!0x1;}return!0x0;}[_0x228526(0x116)](_0x165db2,_0x56b41a,_0xe4981e,_0x36319c){const _0x3d58ca=_0x228526;_0x56b41a['on'](_0x3d58ca(0x172),_0x5733d4);const _0x17daf2=_0x165db2[_0x3d58ca(0x118)][_0x3d58ca(0x160)],_0x2b2360=_0x165db2[_0x3d58ca(0x118)]['upgrade'],_0x4cdddc=+_0x165db2['headers']['sec-websocket-version'];if(_0x165db2[_0x3d58ca(0x2b4)]!==_0x3d58ca(0x2cb)){_0x4b470c(this,_0x165db2,_0x56b41a,0x195,_0x3d58ca(0x137));return;}if(_0x2b2360===void 0x0||_0x2b2360['toLowerCase']()!==_0x3d58ca(0x15b)){_0x4b470c(this,_0x165db2,_0x56b41a,0x190,_0x3d58ca(0x25e));return;}if(_0x17daf2===void 0x0||!_0x67f81c[_0x3d58ca(0x1bc)](_0x17daf2)){_0x4b470c(this,_0x165db2,_0x56b41a,0x190,_0x3d58ca(0x139));return;}if(_0x4cdddc!==0xd&&_0x4cdddc!==0x8){_0x4b470c(this,_0x165db2,_0x56b41a,0x190,_0x3d58ca(0x21c),{'Sec-WebSocket-Version':_0x3d58ca(0x149)});return;}if(!this[_0x3d58ca(0x113)](_0x165db2)){_0x1b29e8(_0x56b41a,0x190);return;}const _0x493598=_0x165db2[_0x3d58ca(0x118)][_0x3d58ca(0x24e)];let _0x57d4f9=new Set();if(_0x493598!==void 0x0)try{_0x57d4f9=_0x230b50['parse'](_0x493598);}catch{_0x4b470c(this,_0x165db2,_0x56b41a,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x28ed87=_0x165db2[_0x3d58ca(0x118)]['sec-websocket-extensions'],_0x3d00e6={};if(this[_0x3d58ca(0x253)][_0x3d58ca(0x2b8)]&&_0x28ed87!==void 0x0){const _0x26b8a2=new _0x343a4a(this[_0x3d58ca(0x253)][_0x3d58ca(0x2b8)],!0x0,this['options'][_0x3d58ca(0x237)]);try{const _0x20e42d=_0x4af6ff[_0x3d58ca(0x189)](_0x28ed87);_0x20e42d[_0x343a4a[_0x3d58ca(0x117)]]&&(_0x26b8a2['accept'](_0x20e42d[_0x343a4a[_0x3d58ca(0x117)]]),_0x3d00e6[_0x343a4a['extensionName']]=_0x26b8a2);}catch{_0x4b470c(this,_0x165db2,_0x56b41a,0x190,_0x3d58ca(0x14b));return;}}if(this['options'][_0x3d58ca(0x205)]){const _0x14f547={'origin':_0x165db2['headers'][''+(_0x4cdddc===0x8?_0x3d58ca(0x114):_0x3d58ca(0x265))],'secure':!!(_0x165db2[_0x3d58ca(0x279)][_0x3d58ca(0x280)]||_0x165db2[_0x3d58ca(0x279)][_0x3d58ca(0x242)]),'req':_0x165db2};if(this[_0x3d58ca(0x253)]['verifyClient'][_0x3d58ca(0x292)]===0x2){this['options'][_0x3d58ca(0x205)](_0x14f547,(_0x32cf04,_0x16aefc,_0x12dcf5,_0x215b4c)=>{if(!_0x32cf04)return _0x1b29e8(_0x56b41a,_0x16aefc||0x191,_0x12dcf5,_0x215b4c);this['completeUpgrade'](_0x3d00e6,_0x17daf2,_0x57d4f9,_0x165db2,_0x56b41a,_0xe4981e,_0x36319c);});return;}if(!this[_0x3d58ca(0x253)][_0x3d58ca(0x205)](_0x14f547))return _0x1b29e8(_0x56b41a,0x191);}this[_0x3d58ca(0x146)](_0x3d00e6,_0x17daf2,_0x57d4f9,_0x165db2,_0x56b41a,_0xe4981e,_0x36319c);}[_0x228526(0x146)](_0x43837a,_0x514c7d,_0x2da53f,_0x40c153,_0x5b8750,_0x5f14ee,_0x37e2eb){const _0x328840=_0x228526;if(!_0x5b8750[_0x328840(0x209)]||!_0x5b8750[_0x328840(0x1ef)])return _0x5b8750['destroy']();if(_0x5b8750[_0x4770a7])throw new Error(_0x328840(0x199));if(this[_0x328840(0x2c1)]>_0x1b66fb)return _0x1b29e8(_0x5b8750,0x1f7);const _0xdf461c=['HTTP/1.1\x20101\x20Switching\x20Protocols','Upgrade:\x20websocket',_0x328840(0x27e),'Sec-WebSocket-Accept:\x20'+_0x1cb938(_0x328840(0x23f))[_0x328840(0x271)](_0x514c7d+_0x1bb40f)[_0x328840(0x19c)](_0x328840(0x2bf))],_0x4463f0=new this[(_0x328840(0x253))]['WebSocket'](null,void 0x0,this['options']);if(_0x2da53f[_0x328840(0x156)]){const _0x38d923=this[_0x328840(0x253)][_0x328840(0x198)]?this[_0x328840(0x253)][_0x328840(0x198)](_0x2da53f,_0x40c153):_0x2da53f['values']()['next']()['value'];_0x38d923&&(_0xdf461c[_0x328840(0x21d)]('Sec-WebSocket-Protocol:\x20'+_0x38d923),_0x4463f0[_0x328840(0x2a0)]=_0x38d923);}if(_0x43837a[_0x343a4a[_0x328840(0x117)]]){const _0x34ec47=_0x43837a[_0x343a4a[_0x328840(0x117)]][_0x328840(0x152)],_0x124574=_0x4af6ff[_0x328840(0x1cc)]({[_0x343a4a[_0x328840(0x117)]]:[_0x34ec47]});_0xdf461c[_0x328840(0x21d)]('Sec-WebSocket-Extensions:\x20'+_0x124574),_0x4463f0[_0x328840(0x1ce)]=_0x43837a;}this[_0x328840(0x1f3)](_0x328840(0x118),_0xdf461c,_0x40c153),_0x5b8750[_0x328840(0x194)](_0xdf461c[_0x328840(0x12e)]('\x0d\x0a')['join']('\x0d\x0a')),_0x5b8750['removeListener'](_0x328840(0x172),_0x5733d4),_0x4463f0[_0x328840(0x13f)](_0x5b8750,_0x5f14ee,{'allowSynchronousEvents':this[_0x328840(0x253)]['allowSynchronousEvents'],'maxPayload':this[_0x328840(0x253)][_0x328840(0x237)],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this['clients']&&(this[_0x328840(0x28f)][_0x328840(0x16b)](_0x4463f0),_0x4463f0['on'](_0x328840(0x16c),()=>{const _0x298dbe=_0x328840;this[_0x298dbe(0x28f)][_0x298dbe(0x1c8)](_0x4463f0),this[_0x298dbe(0x281)]&&!this[_0x298dbe(0x28f)]['size']&&process[_0x298dbe(0x2ae)](_0x24388e,this);})),_0x37e2eb(_0x4463f0,_0x40c153);}}Te=_0x221447;function _0x13effb(_0x3cdfb2,_0x19048d){const _0x4bcd1e=_0x228526;for(const _0x2655bc of Object[_0x4bcd1e(0x1cd)](_0x19048d))_0x3cdfb2['on'](_0x2655bc,_0x19048d[_0x2655bc]);return function(){const _0xfdd1e9=_0x4bcd1e;for(const _0xb83f94 of Object[_0xfdd1e9(0x1cd)](_0x19048d))_0x3cdfb2['removeListener'](_0xb83f94,_0x19048d[_0xb83f94]);};}function _0x24388e(_0x33fb67){const _0x4fcd7c=_0x228526;_0x33fb67[_0x4fcd7c(0x2c1)]=_0x1da3b9,_0x33fb67[_0x4fcd7c(0x1f3)](_0x4fcd7c(0x16c));}function _0x5733d4(){this['destroy']();}function _0x1b29e8(_0x80465f,_0x44fe09,_0x345aae,_0x531eaf){const _0x1e56d8=_0x228526;_0x345aae=_0x345aae||_0x442d63['STATUS_CODES'][_0x44fe09],_0x531eaf={'Connection':_0x1e56d8(0x16c),'Content-Type':_0x1e56d8(0x1dd),'Content-Length':Buffer['byteLength'](_0x345aae),..._0x531eaf},_0x80465f[_0x1e56d8(0x110)](_0x1e56d8(0x154),_0x80465f[_0x1e56d8(0x18b)]),_0x80465f[_0x1e56d8(0x17c)](_0x1e56d8(0x17d)+_0x44fe09+'\x20'+_0x442d63[_0x1e56d8(0x1d7)][_0x44fe09]+'\x0d\x0a'+Object[_0x1e56d8(0x1cd)](_0x531eaf)[_0x1e56d8(0x272)](_0x3fab98=>_0x3fab98+':\x20'+_0x531eaf[_0x3fab98])[_0x1e56d8(0x27a)]('\x0d\x0a')+_0x1e56d8(0x26a)+_0x345aae);}function _0x4b470c(_0x340589,_0x10d630,_0x54338f,_0x7b7e45,_0xb2404e,_0x54756d){const _0x47a575=_0x228526;if(_0x340589['listenerCount'](_0x47a575(0x27b))){const _0x455b89=new Error(_0xb2404e);Error[_0x47a575(0x13a)](_0x455b89,_0x4b470c),_0x340589[_0x47a575(0x1f3)](_0x47a575(0x27b),_0x455b89,_0x54338f,_0x10d630);}else _0x1b29e8(_0x54338f,_0x7b7e45,_0xb2404e,_0x54756d);}return Te;}Ft();var jt=Object[_0xe46d0c(0x1fb)],Wt=(_0x4b7856,_0x297ed3,_0x32877d,_0x27ddb6)=>{const _0x57f1a4=_0xe46d0c;for(var _0x4d8ff9=_0x27ddb6>0x1?void 0x0:_0x27ddb6?jt(_0x297ed3,_0x32877d):_0x297ed3,_0x130b40=_0x4b7856[_0x57f1a4(0x292)]-0x1,_0x1ccdc3;_0x130b40>=0x0;_0x130b40--)(_0x1ccdc3=_0x4b7856[_0x130b40])&&(_0x4d8ff9=_0x1ccdc3(_0x4d8ff9)||_0x4d8ff9);return _0x4d8ff9;},qt=(_0x19d079,_0x427b71)=>(_0x80b5c6,_0x1d268e)=>_0x427b71(_0x80b5c6,_0x1d268e,_0x19d079);let ke=class extends A[_0xe46d0c(0x177)]{constructor(_0x5a9476){const _0x402ccd=_0xe46d0c;super(),this[_0x402ccd(0x1e3)]=_0x5a9476;}[_0xe46d0c(0x10f)](_0x54790e){const _0x30576e=_0xe46d0c;var _0x4e0b4b;const _0x5c41b7=(_0x4e0b4b=this[_0x30576e(0x1e3)][_0x30576e(0x1e5)](fe))==null?void 0x0:_0x4e0b4b[_0x30576e(0x1e0)];try{const _0x2a440b=new $t(_0x54790e,{'headers':{..._0x5c41b7}}),_0x1a3077=new A[(_0x30576e(0x269))]();return{'URL':_0x54790e,'close':(_0x1de21c,_0x4af379)=>{const _0x1a9295=_0x30576e;_0x2a440b[_0x1a9295(0x16c)](_0x1de21c,_0x4af379),_0x1a3077[_0x1a9295(0x138)]();},'send':_0x1c0118=>{_0x2a440b['send'](_0x1c0118);},'open$':new V[(_0x30576e(0x274))](_0x3e229d=>{const _0x21e7e4=_0x30576e,_0x2cb14b=_0x18ce64=>_0x3e229d['next'](_0x18ce64);_0x2a440b[_0x21e7e4(0x11b)]('open',_0x2cb14b),_0x1a3077[_0x21e7e4(0x16b)](A[_0x21e7e4(0x1f6)](()=>_0x2a440b[_0x21e7e4(0x182)]('open',_0x2cb14b)));})[_0x30576e(0x2af)](V[_0x30576e(0x174)]()),'close$':new V[(_0x30576e(0x274))](_0x4e5927=>{const _0x1f9fc5=_0x30576e,_0x432565=_0x4faca5=>_0x4e5927[_0x1f9fc5(0x1e4)](_0x4faca5);_0x2a440b[_0x1f9fc5(0x11b)](_0x1f9fc5(0x16c),_0x432565),_0x1a3077['add'](A['toDisposable'](()=>_0x2a440b['removeEventListener']('close',_0x432565)));})[_0x30576e(0x2af)](V[_0x30576e(0x174)]()),'error$':new V[(_0x30576e(0x274))](_0x5dcdac=>{const _0x50c6d4=_0x30576e,_0x54004e=_0x934923=>_0x5dcdac[_0x50c6d4(0x1e4)](_0x934923);_0x2a440b[_0x50c6d4(0x11b)](_0x50c6d4(0x172),_0x54004e),_0x1a3077[_0x50c6d4(0x16b)](A[_0x50c6d4(0x1f6)](()=>_0x2a440b[_0x50c6d4(0x182)](_0x50c6d4(0x172),_0x54004e)));})['pipe'](V[_0x30576e(0x174)]()),'message$':new V[(_0x30576e(0x274))](_0x113c2c=>{const _0x27d615=_0x30576e,_0xf84bee=_0x19f7e1=>_0x113c2c['next'](_0x19f7e1);_0x2a440b['addEventListener'](_0x27d615(0x23b),_0xf84bee),_0x1a3077[_0x27d615(0x16b)](A['toDisposable'](()=>_0x2a440b[_0x27d615(0x182)](_0x27d615(0x23b),_0xf84bee)));})[_0x30576e(0x2af)](V[_0x30576e(0x174)]())};}catch(_0x46a8ce){return console['error'](_0x46a8ce),null;}}};ke=Wt([qt(0x0,A[_0xe46d0c(0x204)])],ke);var Gt=Object[_0xe46d0c(0x163)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x5293d7,_0x2f8eca,_0x1a0c99)=>_0x2f8eca in _0x5293d7?Gt(_0x5293d7,_0x2f8eca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a0c99}):_0x5293d7[_0x2f8eca]=_0x1a0c99,zt=(_0x796011,_0xf91a99,_0x232a1b,_0x2f27e8)=>{const _0x2a9a67=_0xe46d0c;for(var _0x116b93=_0x2f27e8>0x1?void 0x0:_0x2f27e8?Vt(_0xf91a99,_0x232a1b):_0xf91a99,_0x410dce=_0x796011[_0x2a9a67(0x292)]-0x1,_0x262c66;_0x410dce>=0x0;_0x410dce--)(_0x262c66=_0x796011[_0x410dce])&&(_0x116b93=_0x262c66(_0x116b93)||_0x116b93);return _0x116b93;},Ne=(_0x410299,_0x2d216c)=>(_0x4544b2,_0x379900)=>_0x2d216c(_0x4544b2,_0x379900,_0x410299),Yt=(_0x25d5da,_0x482ff1,_0x1773d8)=>Ht(_0x25d5da,_0x482ff1+'',_0x1773d8);exports[_0xe46d0c(0x230)]=class extends A[_0xe46d0c(0x1f8)]{constructor(_0x251405=Ct,_0x2a96e7,_0x533a5a,_0x3f8396){const _0x53405f=_0xe46d0c;_0x251405[_0x53405f(0x1e0)]||_0x2a96e7[_0x53405f(0x25f)](_0x53405f(0x252)),super(),this[_0x53405f(0x1e3)]=_0x533a5a,this[_0x53405f(0x11d)]=_0x3f8396,this[_0x53405f(0x1e3)][_0x53405f(0x235)](fe,_0x251405);}['onStarting'](){const _0x146d03=_0xe46d0c;this[_0x146d03(0x287)]();}[_0xe46d0c(0x287)](){const _0x353877=_0xe46d0c;A[_0x353877(0x12b)](this[_0x353877(0x11d)],[[it[_0x353877(0x220)],{'useClass':ke}]]);}},Yt(exports[_0xe46d0c(0x230)],'pluginName','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0xe46d0c(0x230)]=zt([A[_0xe46d0c(0x1ed)](st[_0xe46d0c(0x1a0)]),Ne(0x1,A[_0xe46d0c(0x1ec)]),Ne(0x2,A[_0xe46d0c(0x204)]),Ne(0x3,A['Inject'](A[_0xe46d0c(0x111)]))],exports[_0xe46d0c(0x230)]);var Kt=Object[_0xe46d0c(0x1fb)],Xt=(_0x394cc6,_0x3b62b5,_0x95f681,_0x16467a)=>{const _0x5a022c=_0xe46d0c;for(var _0x48d90c=_0x16467a>0x1?void 0x0:_0x16467a?Kt(_0x3b62b5,_0x95f681):_0x3b62b5,_0x4b3482=_0x394cc6[_0x5a022c(0x292)]-0x1,_0x594b05;_0x4b3482>=0x0;_0x4b3482--)(_0x594b05=_0x394cc6[_0x4b3482])&&(_0x48d90c=_0x594b05(_0x48d90c)||_0x48d90c);return _0x48d90c;},ne=(_0x4285c1,_0x225643)=>(_0x222f94,_0x776030)=>_0x225643(_0x222f94,_0x776030,_0x4285c1);exports[_0xe46d0c(0x1d8)]=class extends st['CollaborationSocketService']{constructor(_0x1e4a67,_0x34c4ab,_0x3932d2,_0x49031f,_0x198182){const _0x584956=_0xe46d0c;super(_0x1e4a67,_0x34c4ab,_0x3932d2,_0x49031f,_0x198182);const _0x47f83c=this[_0x584956(0x1e3)][_0x584956(0x1e5)](fe);this[_0x584956(0x18d)][_0x584956(0x11e)]({'interceptor':(_0x58e96c,_0x5f48af)=>{const _0x7e3dc0=_0x584956;var _0x4a6258;const _0x851937=_0x58e96c['headers'];return(_0x4a6258=_0x47f83c==null?void 0x0:_0x47f83c[_0x7e3dc0(0x1e0)])!=null&&_0x4a6258['cookie']&&_0x851937[_0x7e3dc0(0x2b1)](_0x7e3dc0(0x23d),_0x47f83c[_0x7e3dc0(0x1e0)][_0x7e3dc0(0x124)]),_0x5f48af(_0x58e96c);}});}async['createSocket'](_0x51a148){const _0x4c307b=_0xe46d0c;return this[_0x4c307b(0x212)](_0x51a148);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0xe46d0c(0x176)](A[_0xe46d0c(0x111)])),ne(0x1,A[_0xe46d0c(0x176)](it[_0xe46d0c(0x28c)])),ne(0x2,A[_0xe46d0c(0x204)]),ne(0x3,A[_0xe46d0c(0x1ec)]),ne(0x4,Ot[_0xe46d0c(0x133)])],exports[_0xe46d0c(0x1d8)]),exports[_0xe46d0c(0x229)]=fe;
|
|
1
|
+
'use strict';const _0x4ec5cf=_0x4bf3;(function(_0xd524a2,_0x109e80){const _0x44fedd=_0x4bf3,_0x18162c=_0xd524a2();while(!![]){try{const _0x11fd69=-parseInt(_0x44fedd(0x181))/0x1*(-parseInt(_0x44fedd(0x319))/0x2)+-parseInt(_0x44fedd(0x2d7))/0x3*(-parseInt(_0x44fedd(0x1d4))/0x4)+-parseInt(_0x44fedd(0x1b6))/0x5+-parseInt(_0x44fedd(0x1a3))/0x6*(parseInt(_0x44fedd(0x26a))/0x7)+-parseInt(_0x44fedd(0x29c))/0x8+-parseInt(_0x44fedd(0x2cf))/0x9+parseInt(_0x44fedd(0x2cd))/0xa*(parseInt(_0x44fedd(0x29b))/0xb);if(_0x11fd69===_0x109e80)break;else _0x18162c['push'](_0x18162c['shift']());}catch(_0x290ab0){_0x18162c['push'](_0x18162c['shift']());}}}(_0x17e8,0x9a153));function _0x17e8(){const _0x1f4c63=['nodebuffer','Invalid\x20URL:\x20','sec-websocket-accept','ISocketService','open','binary','CLOSING','destroyed','skipUTF8Validation','MASK\x20must\x20be\x20clear','_closeCode','_maskBuffer','__esModule','finishRequest','handshakeTimeout','test','WebSocket\x20is\x20not\x20open:\x20readyState\x20','update','sendFrame','_fragmented','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_protocol','kByteLength','destroy','dequeue','options','has','_configService','_readableState','startLoop','Origin','maxRedirects','concurrencyLimit','client_no_context_takeover','delete','Injector','sec-websocket-protocol','finish','_originalHostOrSocketPath','listenerCount','readOnly','resume','Unknown\x20parameter\x20\x22','number','_bufferedBytes','entries','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','ILogService','RSV1\x20must\x20be\x20clear','WS_ERR_EXPECTED_FIN','_closeTimer','arrayBuffer','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','kIsForOnEventAttribute','warn','406kyTDVh','WS_ERR_UNEXPECTED_RSV_1','Parameter\x20\x22','writeHead','autoPong','protocolVersion','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','kTarget','reset','push','object','listen','_doCreateSocket','pending','next','concurrency','generateMask','isIP','error','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','share','compress','defaultPort','size','writeUInt16BE','_final','env','_extensions','shouldHandle','toDisposable','_options','registerDependencies','connection','getPayloadLength64','createInflateRaw','verifyClient','includes','close','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','cleanup','data','_payloadLength','followRedirects','headers','_injector','Plugin','sec-websocket-key','readyState','acceptAsClient','55nMgxHT','2021080ZsdKte','pause','_originalIpc','getBlobData','_closeMessage','ws:','_socket','onStarting','path','controlMessage','params','The\x20\x22','_firstFragment','The\x20server\x20is\x20not\x20running','toLowerCase','arraybuffer','_state','statusCode','backlog','writable','_max_window_bits','species','removeEventListener','_messageLength','values','invalid\x20opcode\x20','kListener','opcode','_closeFrameSent','WS_ERR_INVALID_UTF8','slice','conclude','\x20(supported\x20versions:\x20','_masked','Module','Invalid\x20Upgrade\x20header','port','get','blob','Sec-WebSocket-Extensions','ws+unix:','server','handleUpgrade','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Cookie','handleEvent','reason','createError','Invalid\x20WebSocket\x20frame:\x20','2914070YUfher','Blob','605331jxkcuU','kError','find','prototype','isPaused','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','customHeaders','HTTP/1.1\x20101\x20Switching\x20Protocols','361137tjbcIr','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_readyState','base64','sha1','normalizeParams','accept','invalid\x20payload\x20length\x20','wasClean','protocol','_inflate','onerror','wsClientError','from','Opening\x20handshake\x20has\x20timed\x20out','_queue','_isServer','clientTracking','write','total-length','\x22\x20subprotocol\x20is\x20duplicated','WS_ERR_UNEXPECTED_MASK','byteLength','Max\x20payload\x20size\x20exceeded','createServer','constructor','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','readUInt16BE','extensions','username','pong','host','ISnapshotServerService','_fin','then','websocket','Disposable','dataMessage','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_threshold','defineProperty','Upgrade:\x20websocket','startsWith','value','unshift','byteOffset','_write','dispatch','allowSynchronousEvents','Unexpected\x20end\x20of\x20input','Observable','\x0d\x0a\x0d\x0a','CONNECTING','Sec-WebSocket-Protocol','clientNoContextTakeover','GET','_generateMask','IConfigService','_skipUTF8Validation','DisposableCollection','redirect','Unsupported\x20protocol\x20version:\x20','serverMaxWindowBits','exports','maxPayload','toString','28JNHGMV','addEventListener','_maxPayload','text/html','stream','drain','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','response','call','_removeListeners','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','Upgrade','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','invalid\x20UTF-8\x20sequence','Unexpected\x20server\x20response:\x20','fin','setConfig','client_max_window_bits','isBuffer','jobs','allocUnsafe','cookie','WS_NO_UTF_8_VALIDATE','address','Sec-WebSocket-Extensions:\x20','NodeCollaborationSocketService','hostname','errorEmitted','encrypted','setTimeout','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','freeze','Invalid\x20value\x20for\x20parameter\x20\x22','createSocket','hasOwnProperty','catch','socketPath','completeUpgrade','getConfig','apply','auth','isArray','length','_originalSecure','getOwnPropertyDescriptor','isServer','_url','decompress','90023MSAjLj','Server\x20sent\x20no\x20subprotocol','Unexpected\x20character\x20at\x20index\x20','abort','onclose','pow','Connection:\x20Upgrade','listeners','createConnection','\x22:\x20','string','kRun','forEach','offer','_allowSynchronousEvents','alloc','STATUS_CODES','OPEN','kWasClean','endEmitted','_shouldEmitClose','buffer','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','isInteger','password','_errorEmitted','_writableState','toStringTag','create','search','perMessageDeflate','getMask','method','createDeflateRaw','93468WMwnaC','removeListener','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','threshold','url','shift','end','ping','getInfo','_fragments','clientMaxWindowBits','haveLength','writeUIntBE','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','setNoDelay','extensionName','hash','_sender','upgrade','5517870FzGepm','concat','origin','setHeader','_deflate','serverNoContextTakeover','digest','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','fragments','status-code','Sec-WebSocket-Accept:\x20','send','CollaborationSocketService','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','HTTPService','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','needDrain','Z_DEFAULT_WINDOWBITS','_closeFrameReceived','_errored','server_no_context_takeover','registerHTTPInterceptor','_binaryType','kAborted','binaryType','sec-websocket-extensions','socket','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','maskBuffer','getPayloadLength16','8pGaMiW','read','_autoPong','charCodeAt','_redirects','pipe','rsv1','kDone','onopen','_opcode','wss:','13,\x208','setSocket','_receiver','_registerDependencies','bind','set','_loop','sec-websocket-version','getData','consume','FIN\x20must\x20be\x20set','_bufferedAmount','construct','_compress','type','noServer','pathname','Invalid\x20Sec-WebSocket-Protocol\x20header','code','mask','kType','COLLABORATION_CLIENT_NODE_CONFIG_KEY','readUInt32BE','_req','function','buffers','Sec-WebSocket-Protocol:\x20','kCode','default','unmask','acceptAsServer','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','nextTick','_buffers','servername','Inject','permessage-deflate','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','captureStackTrace','isValidUTF8','WS_ERR_INVALID_CLOSE_CODE','request','emit','frame','_compressed','sec-websocket-origin','MASK\x20must\x20be\x20set','client','WS_ERR_EXPECTED_MASK','clients','add','cork','timeout','message','_totalPayloadLength','join','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','Server\x20sent\x20an\x20invalid\x20subprotocol','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','WS_ERR_INVALID_OPCODE','unexpected-response','server_max_window_bits','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_server','enqueue','CLOSED','indexOf','Invalid\x20Sec-WebSocket-Extensions\x20header','invalid\x20status\x20code\x20','map','https:','UniverCollaborationClientNodePlugin','keys','authorized','_mask','finished','emitClose','_decompress','_paused','objectMode','terminate','flush','once'];_0x17e8=function(){return _0x1f4c63;};return _0x17e8();}Object[_0x4ec5cf(0x2ff)](exports,Symbol[_0x4ec5cf(0x19c)],{'value':_0x4ec5cf(0x2be)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x2bf697){const _0x59ee2f=_0x4ec5cf;return _0x2bf697&&_0x2bf697[_0x59ee2f(0x23f)]&&Object['prototype']['hasOwnProperty'][_0x59ee2f(0x321)](_0x2bf697,_0x59ee2f(0x1fb))?_0x2bf697[_0x59ee2f(0x1fb)]:_0x2bf697;}function at(_0x2f86ee){const _0x547fe7=_0x4ec5cf;if(Object[_0x547fe7(0x2d2)][_0x547fe7(0x33b)]['call'](_0x2f86ee,_0x547fe7(0x23f)))return _0x2f86ee;var _0x415236=_0x2f86ee[_0x547fe7(0x1fb)];if(typeof _0x415236==_0x547fe7(0x1f7)){var _0x82614f=function _0xeed1f2(){const _0xa779df=_0x547fe7;var _0x549e54=!0x1;try{_0x549e54=this instanceof _0xeed1f2;}catch{}return _0x549e54?Reflect[_0xa779df(0x1eb)](_0x415236,arguments,this[_0xa779df(0x2f0)]):_0x415236[_0xa779df(0x340)](this,arguments);};_0x82614f[_0x547fe7(0x2d2)]=_0x415236[_0x547fe7(0x2d2)];}else _0x82614f={};return Object['defineProperty'](_0x82614f,_0x547fe7(0x23f),{'value':!0x0}),Object['keys'](_0x2f86ee)['forEach'](function(_0x10196d){const _0x404356=_0x547fe7;var _0x158539=Object['getOwnPropertyDescriptor'](_0x2f86ee,_0x10196d);Object['defineProperty'](_0x82614f,_0x10196d,_0x158539[_0x404356(0x2c1)]?_0x158539:{'enumerable':!0x0,'get':function(){return _0x2f86ee[_0x10196d];}});}),_0x82614f;}var se={'exports':{}},ge,Ge;function H(){const _0x3b46ce=_0x4ec5cf;if(Ge)return ge;Ge=0x1;const _0x125932=[_0x3b46ce(0x233),_0x3b46ce(0x2ab),_0x3b46ce(0x1be)],_0x46a96e=typeof Blob<'u';return _0x46a96e&&_0x125932[_0x3b46ce(0x273)](_0x3b46ce(0x2c2)),ge={'BINARY_TYPES':_0x125932,'EMPTY_BUFFER':Buffer[_0x3b46ce(0x190)](0x0),'GUID':_0x3b46ce(0x1c5),'hasBlob':_0x46a96e,'kForOnEventAttribute':Symbol(_0x3b46ce(0x268)),'kListener':Symbol(_0x3b46ce(0x2b6)),'kStatusCode':Symbol(_0x3b46ce(0x1bf)),'kWebSocket':Symbol(_0x3b46ce(0x2fa)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x4ec5cf(0x338)](Object[_0x4ec5cf(0x2ff)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x4ec5cf(0x2be)})),Lt=at(kt);var Ve;function ce(){const _0x4b2ca0=_0x4ec5cf;if(Ve)return se[_0x4b2ca0(0x316)];Ve=0x1;const {EMPTY_BUFFER:_0x404d8e}=H(),_0x8908f5=Buffer[Symbol[_0x4b2ca0(0x2b1)]];function _0x48ad4e(_0x50310f,_0x54eb24){const _0x1b3f5e=_0x4b2ca0;if(_0x50310f[_0x1b3f5e(0x17b)]===0x0)return _0x404d8e;if(_0x50310f['length']===0x1)return _0x50310f[0x0];const _0x52fb7c=Buffer[_0x1b3f5e(0x32d)](_0x54eb24);let _0x2a7c4f=0x0;for(let _0x28b93b=0x0;_0x28b93b<_0x50310f[_0x1b3f5e(0x17b)];_0x28b93b++){const _0x52abad=_0x50310f[_0x28b93b];_0x52fb7c['set'](_0x52abad,_0x2a7c4f),_0x2a7c4f+=_0x52abad['length'];}return _0x2a7c4f<_0x54eb24?new _0x8908f5(_0x52fb7c[_0x1b3f5e(0x196)],_0x52fb7c[_0x1b3f5e(0x304)],_0x2a7c4f):_0x52fb7c;}function _0x29f988(_0x183bc8,_0x365bef,_0x55d7b1,_0x32fceb,_0x3935da){for(let _0x2cb526=0x0;_0x2cb526<_0x3935da;_0x2cb526++)_0x55d7b1[_0x32fceb+_0x2cb526]=_0x183bc8[_0x2cb526]^_0x365bef[_0x2cb526&0x3];}function _0x7a5b(_0x3a6cfe,_0x5338cc){const _0x39ab4b=_0x4b2ca0;for(let _0x11d9f8=0x0;_0x11d9f8<_0x3a6cfe[_0x39ab4b(0x17b)];_0x11d9f8++)_0x3a6cfe[_0x11d9f8]^=_0x5338cc[_0x11d9f8&0x3];}function _0x36e6f7(_0x2c95e9){const _0x3ec3d0=_0x4b2ca0;return _0x2c95e9[_0x3ec3d0(0x17b)]===_0x2c95e9[_0x3ec3d0(0x196)][_0x3ec3d0(0x2ed)]?_0x2c95e9[_0x3ec3d0(0x196)]:_0x2c95e9[_0x3ec3d0(0x196)]['slice'](_0x2c95e9['byteOffset'],_0x2c95e9[_0x3ec3d0(0x304)]+_0x2c95e9[_0x3ec3d0(0x17b)]);}function _0x594ac4(_0x238a08){const _0x1155da=_0x4b2ca0;if(_0x594ac4[_0x1155da(0x25b)]=!0x0,Buffer[_0x1155da(0x32b)](_0x238a08))return _0x238a08;let _0x1e9c25;return _0x238a08 instanceof ArrayBuffer?_0x1e9c25=new _0x8908f5(_0x238a08):ArrayBuffer['isView'](_0x238a08)?_0x1e9c25=new _0x8908f5(_0x238a08[_0x1155da(0x196)],_0x238a08[_0x1155da(0x304)],_0x238a08[_0x1155da(0x2ed)]):(_0x1e9c25=Buffer['from'](_0x238a08),_0x594ac4[_0x1155da(0x25b)]=!0x1),_0x1e9c25;}if(se['exports']={'concat':_0x48ad4e,'mask':_0x29f988,'toArrayBuffer':_0x36e6f7,'toBuffer':_0x594ac4,'unmask':_0x7a5b},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x2481f8=Lt;se['exports'][_0x4b2ca0(0x1f2)]=function(_0x24f6a0,_0x57086e,_0x37f41b,_0x56d3d1,_0x270bbe){const _0x31d7a1=_0x4b2ca0;_0x270bbe<0x30?_0x29f988(_0x24f6a0,_0x57086e,_0x37f41b,_0x56d3d1,_0x270bbe):_0x2481f8[_0x31d7a1(0x1f2)](_0x24f6a0,_0x57086e,_0x37f41b,_0x56d3d1,_0x270bbe);},se[_0x4b2ca0(0x316)][_0x4b2ca0(0x1fc)]=function(_0x3d5fd1,_0x3da969){_0x3d5fd1['length']<0x20?_0x7a5b(_0x3d5fd1,_0x3da969):_0x2481f8['unmask'](_0x3d5fd1,_0x3da969);};}catch{}return se[_0x4b2ca0(0x316)];}var ye,He;function Pt(){const _0x3528b0=_0x4ec5cf;if(He)return ye;He=0x1;const _0x5967bc=Symbol(_0x3528b0(0x1db)),_0x2e73fc=Symbol(_0x3528b0(0x18c));class _0x1f993f{constructor(_0x4e28b2){const _0x512f6c=_0x3528b0;this[_0x5967bc]=()=>{const _0x2dda11=_0x4bf3;this[_0x2dda11(0x277)]--,this[_0x2e73fc]();},this[_0x512f6c(0x279)]=_0x4e28b2||0x1/0x0,this['jobs']=[],this['pending']=0x0;}[_0x3528b0(0x211)](_0x2ef250){const _0xa20458=_0x3528b0;this[_0xa20458(0x32c)]['push'](_0x2ef250),this[_0x2e73fc]();}[_0x2e73fc](){const _0x2f1eca=_0x3528b0;if(this['pending']!==this[_0x2f1eca(0x279)]&&this[_0x2f1eca(0x32c)]['length']){const _0x18466e=this['jobs']['shift']();this[_0x2f1eca(0x277)]++,_0x18466e(this[_0x5967bc]);}}}return ye=_0x1f993f,ye;}var ve,ze;function he(){const _0x24ad05=_0x4ec5cf;if(ze)return ve;ze=0x1;const _0x41b10f=bt,_0x128253=ce(),_0x339ee3=Pt(),{kStatusCode:_0x460a4d}=H(),_0x398fe6=Buffer[Symbol[_0x24ad05(0x2b1)]],_0x34ce31=Buffer[_0x24ad05(0x2e4)]([0x0,0x0,0xff,0xff]),_0x7ce484=Symbol(_0x24ad05(0x203)),_0x1191e1=Symbol(_0x24ad05(0x2ea)),_0x5ee044=Symbol('callback'),_0x300c20=Symbol(_0x24ad05(0x1f8)),_0x3fd3cc=Symbol(_0x24ad05(0x27c));let _0x135f65;class _0x4ebf78{constructor(_0x300988,_0x4d2a3a,_0x53fc70){const _0x42e14f=_0x24ad05;if(this['_maxPayload']=_0x53fc70|0x0,this[_0x42e14f(0x288)]=_0x300988||{},this[_0x42e14f(0x2fe)]=this[_0x42e14f(0x288)]['threshold']!==void 0x0?this[_0x42e14f(0x288)][_0x42e14f(0x1a6)]:0x400,this['_isServer']=!!_0x4d2a3a,this[_0x42e14f(0x1ba)]=null,this[_0x42e14f(0x2e1)]=null,this['params']=null,!_0x135f65){const _0x14a9b0=this[_0x42e14f(0x288)][_0x42e14f(0x253)]!==void 0x0?this[_0x42e14f(0x288)][_0x42e14f(0x253)]:0xa;_0x135f65=new _0x339ee3(_0x14a9b0);}}static get[_0x24ad05(0x1b2)](){const _0x1212dc=_0x24ad05;return _0x1212dc(0x203);}[_0x24ad05(0x18e)](){const _0x1debab=_0x24ad05,_0x27dddf={};return this['_options'][_0x1debab(0x1bb)]&&(_0x27dddf[_0x1debab(0x1ca)]=!0x0),this[_0x1debab(0x288)][_0x1debab(0x30d)]&&(_0x27dddf[_0x1debab(0x254)]=!0x0),this[_0x1debab(0x288)][_0x1debab(0x315)]&&(_0x27dddf['server_max_window_bits']=this[_0x1debab(0x288)][_0x1debab(0x315)]),this[_0x1debab(0x288)][_0x1debab(0x1ad)]?_0x27dddf[_0x1debab(0x32a)]=this['_options'][_0x1debab(0x1ad)]:this['_options'][_0x1debab(0x1ad)]==null&&(_0x27dddf['client_max_window_bits']=!0x0),_0x27dddf;}[_0x24ad05(0x2dd)](_0x2538e0){const _0x108c29=_0x24ad05;return _0x2538e0=this['normalizeParams'](_0x2538e0),this[_0x108c29(0x2a6)]=this[_0x108c29(0x2e7)]?this[_0x108c29(0x1fd)](_0x2538e0):this[_0x108c29(0x29a)](_0x2538e0),this['params'];}[_0x24ad05(0x291)](){const _0x3bf6f0=_0x24ad05;if(this[_0x3bf6f0(0x2e1)]&&(this[_0x3bf6f0(0x2e1)][_0x3bf6f0(0x28f)](),this[_0x3bf6f0(0x2e1)]=null),this[_0x3bf6f0(0x1ba)]){const _0x579325=this[_0x3bf6f0(0x1ba)][_0x5ee044];this[_0x3bf6f0(0x1ba)][_0x3bf6f0(0x28f)](),this[_0x3bf6f0(0x1ba)]=null,_0x579325&&_0x579325(new Error(_0x3bf6f0(0x2c7)));}}['acceptAsServer'](_0x2097e2){const _0x181836=_0x24ad05,_0xb01bf=this[_0x181836(0x288)],_0x20b5ad=_0x2097e2[_0x181836(0x2d1)](_0x2c0b1c=>!(_0xb01bf[_0x181836(0x1bb)]===!0x1&&_0x2c0b1c['server_no_context_takeover']||_0x2c0b1c[_0x181836(0x21c)]&&(_0xb01bf[_0x181836(0x315)]===!0x1||typeof _0xb01bf['serverMaxWindowBits']==_0x181836(0x25e)&&_0xb01bf['serverMaxWindowBits']>_0x2c0b1c[_0x181836(0x21c)])||typeof _0xb01bf[_0x181836(0x1ad)]=='number'&&!_0x2c0b1c[_0x181836(0x32a)]));if(!_0x20b5ad)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0xb01bf['serverNoContextTakeover']&&(_0x20b5ad[_0x181836(0x1ca)]=!0x0),_0xb01bf['clientNoContextTakeover']&&(_0x20b5ad[_0x181836(0x254)]=!0x0),typeof _0xb01bf['serverMaxWindowBits']==_0x181836(0x25e)&&(_0x20b5ad['server_max_window_bits']=_0xb01bf['serverMaxWindowBits']),typeof _0xb01bf[_0x181836(0x1ad)]==_0x181836(0x25e)?_0x20b5ad[_0x181836(0x32a)]=_0xb01bf[_0x181836(0x1ad)]:(_0x20b5ad[_0x181836(0x32a)]===!0x0||_0xb01bf[_0x181836(0x1ad)]===!0x1)&&delete _0x20b5ad['client_max_window_bits'],_0x20b5ad;}['acceptAsClient'](_0x47fbfc){const _0x2bcde1=_0x24ad05,_0x2ecb5c=_0x47fbfc[0x0];if(this[_0x2bcde1(0x288)]['clientNoContextTakeover']===!0x1&&_0x2ecb5c['client_no_context_takeover'])throw new Error(_0x2bcde1(0x323));if(!_0x2ecb5c[_0x2bcde1(0x32a)])typeof this[_0x2bcde1(0x288)][_0x2bcde1(0x1ad)]==_0x2bcde1(0x25e)&&(_0x2ecb5c[_0x2bcde1(0x32a)]=this['_options'][_0x2bcde1(0x1ad)]);else{if(this[_0x2bcde1(0x288)][_0x2bcde1(0x1ad)]===!0x1||typeof this[_0x2bcde1(0x288)][_0x2bcde1(0x1ad)]==_0x2bcde1(0x25e)&&_0x2ecb5c[_0x2bcde1(0x32a)]>this[_0x2bcde1(0x288)][_0x2bcde1(0x1ad)])throw new Error(_0x2bcde1(0x1fe));}return _0x2ecb5c;}[_0x24ad05(0x2dc)](_0x4e347d){return _0x4e347d['forEach'](_0x1a111e=>{const _0x490b02=_0x4bf3;Object['keys'](_0x1a111e)[_0x490b02(0x18d)](_0x560850=>{const _0x62af1b=_0x490b02;let _0x15e32b=_0x1a111e[_0x560850];if(_0x15e32b['length']>0x1)throw new Error(_0x62af1b(0x26c)+_0x560850+_0x62af1b(0x2d8));if(_0x15e32b=_0x15e32b[0x0],_0x560850===_0x62af1b(0x32a)){if(_0x15e32b!==!0x0){const _0x37c4bd=+_0x15e32b;if(!Number[_0x62af1b(0x198)](_0x37c4bd)||_0x37c4bd<0x8||_0x37c4bd>0xf)throw new TypeError(_0x62af1b(0x339)+_0x560850+_0x62af1b(0x18a)+_0x15e32b);_0x15e32b=_0x37c4bd;}else{if(!this[_0x62af1b(0x2e7)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x560850+'\x22:\x20'+_0x15e32b);}}else{if(_0x560850===_0x62af1b(0x21c)){const _0x1c249e=+_0x15e32b;if(!Number[_0x62af1b(0x198)](_0x1c249e)||_0x1c249e<0x8||_0x1c249e>0xf)throw new TypeError(_0x62af1b(0x339)+_0x560850+_0x62af1b(0x18a)+_0x15e32b);_0x15e32b=_0x1c249e;}else{if(_0x560850===_0x62af1b(0x254)||_0x560850===_0x62af1b(0x1ca)){if(_0x15e32b!==!0x0)throw new TypeError(_0x62af1b(0x339)+_0x560850+'\x22:\x20'+_0x15e32b);}else throw new Error(_0x62af1b(0x25d)+_0x560850+'\x22');}}_0x1a111e[_0x560850]=_0x15e32b;});}),_0x4e347d;}['decompress'](_0x114b2a,_0x43090c,_0x7d6c19){_0x135f65['add'](_0x578350=>{this['_decompress'](_0x114b2a,_0x43090c,(_0x5be3b6,_0x2e01f4)=>{_0x578350(),_0x7d6c19(_0x5be3b6,_0x2e01f4);});});}[_0x24ad05(0x27f)](_0x30c0cb,_0x32825c,_0xea5be){const _0x5abf52=_0x24ad05;_0x135f65[_0x5abf52(0x211)](_0x54c51e=>{const _0x32113a=_0x5abf52;this[_0x32113a(0x1ec)](_0x30c0cb,_0x32825c,(_0x55b860,_0x5a3df3)=>{_0x54c51e(),_0xea5be(_0x55b860,_0x5a3df3);});});}[_0x24ad05(0x22d)](_0x353c4c,_0x5c0ba4,_0x5e39ef){const _0x20eed7=_0x24ad05,_0x239336=this[_0x20eed7(0x2e7)]?'client':_0x20eed7(0x2c5);if(!this[_0x20eed7(0x2e1)]){const _0x589161=_0x239336+_0x20eed7(0x2b0),_0x4fb62e=typeof this[_0x20eed7(0x2a6)][_0x589161]!=_0x20eed7(0x25e)?_0x41b10f['Z_DEFAULT_WINDOWBITS']:this['params'][_0x589161];this[_0x20eed7(0x2e1)]=_0x41b10f[_0x20eed7(0x28c)]({...this[_0x20eed7(0x288)]['zlibInflateOptions'],'windowBits':_0x4fb62e}),this[_0x20eed7(0x2e1)][_0x7ce484]=this,this['_inflate'][_0x1191e1]=0x0,this[_0x20eed7(0x2e1)][_0x300c20]=[],this[_0x20eed7(0x2e1)]['on']('error',_0x401ec6),this['_inflate']['on'](_0x20eed7(0x292),_0x9bcbd1);}this[_0x20eed7(0x2e1)][_0x5ee044]=_0x5e39ef,this[_0x20eed7(0x2e1)][_0x20eed7(0x2e9)](_0x353c4c),_0x5c0ba4&&this['_inflate']['write'](_0x34ce31),this[_0x20eed7(0x2e1)][_0x20eed7(0x231)](()=>{const _0x6e65c6=_0x20eed7,_0x508c5f=this[_0x6e65c6(0x2e1)][_0x3fd3cc];if(_0x508c5f){this[_0x6e65c6(0x2e1)][_0x6e65c6(0x28f)](),this[_0x6e65c6(0x2e1)]=null,_0x5e39ef(_0x508c5f);return;}const _0x55d49b=_0x128253[_0x6e65c6(0x1b7)](this[_0x6e65c6(0x2e1)][_0x300c20],this[_0x6e65c6(0x2e1)][_0x1191e1]);this[_0x6e65c6(0x2e1)][_0x6e65c6(0x24f)][_0x6e65c6(0x194)]?(this['_inflate'][_0x6e65c6(0x28f)](),this[_0x6e65c6(0x2e1)]=null):(this[_0x6e65c6(0x2e1)][_0x1191e1]=0x0,this[_0x6e65c6(0x2e1)][_0x300c20]=[],_0x5c0ba4&&this['params'][_0x239336+'_no_context_takeover']&&this[_0x6e65c6(0x2e1)]['reset']()),_0x5e39ef(null,_0x55d49b);});}[_0x24ad05(0x1ec)](_0x15c8d5,_0x32c6a3,_0xc6db35){const _0x52a46e=_0x24ad05,_0x5fd13d=this[_0x52a46e(0x2e7)]?_0x52a46e(0x2c5):_0x52a46e(0x20e);if(!this[_0x52a46e(0x1ba)]){const _0x6b54b7=_0x5fd13d+_0x52a46e(0x2b0),_0x3820ec=typeof this[_0x52a46e(0x2a6)][_0x6b54b7]!='number'?_0x41b10f[_0x52a46e(0x1c7)]:this['params'][_0x6b54b7];this[_0x52a46e(0x1ba)]=_0x41b10f[_0x52a46e(0x1a2)]({...this['_options']['zlibDeflateOptions'],'windowBits':_0x3820ec}),this['_deflate'][_0x1191e1]=0x0,this['_deflate'][_0x300c20]=[],this[_0x52a46e(0x1ba)]['on'](_0x52a46e(0x292),_0xba2245);}this[_0x52a46e(0x1ba)][_0x5ee044]=_0xc6db35,this[_0x52a46e(0x1ba)]['write'](_0x15c8d5),this[_0x52a46e(0x1ba)][_0x52a46e(0x231)](_0x41b10f['Z_SYNC_FLUSH'],()=>{const _0x209a00=_0x52a46e;if(!this[_0x209a00(0x1ba)])return;let _0x118f43=_0x128253[_0x209a00(0x1b7)](this['_deflate'][_0x300c20],this['_deflate'][_0x1191e1]);_0x32c6a3&&(_0x118f43=new _0x398fe6(_0x118f43[_0x209a00(0x196)],_0x118f43[_0x209a00(0x304)],_0x118f43[_0x209a00(0x17b)]-0x4)),this[_0x209a00(0x1ba)][_0x5ee044]=null,this[_0x209a00(0x1ba)][_0x1191e1]=0x0,this[_0x209a00(0x1ba)][_0x300c20]=[],_0x32c6a3&&this['params'][_0x5fd13d+'_no_context_takeover']&&this[_0x209a00(0x1ba)][_0x209a00(0x272)](),_0xc6db35(null,_0x118f43);});}}ve=_0x4ebf78;function _0xba2245(_0x406c20){const _0x31d6cf=_0x24ad05;this[_0x300c20]['push'](_0x406c20),this[_0x1191e1]+=_0x406c20[_0x31d6cf(0x17b)];}function _0x9bcbd1(_0x165561){const _0x30cfba=_0x24ad05;if(this[_0x1191e1]+=_0x165561[_0x30cfba(0x17b)],this[_0x7ce484][_0x30cfba(0x31b)]<0x1||this[_0x1191e1]<=this[_0x7ce484]['_maxPayload']){this[_0x300c20]['push'](_0x165561);return;}this[_0x3fd3cc]=new RangeError(_0x30cfba(0x2ee)),this[_0x3fd3cc]['code']=_0x30cfba(0x1d1),this[_0x3fd3cc][_0x460a4d]=0x3f1,this[_0x30cfba(0x1a4)]('data',_0x9bcbd1),this[_0x30cfba(0x272)]();}function _0x401ec6(_0x278c11){const _0x412086=_0x24ad05;if(this[_0x7ce484][_0x412086(0x2e1)]=null,this[_0x3fd3cc]){this[_0x5ee044](this[_0x3fd3cc]);return;}_0x278c11[_0x460a4d]=0x3ef,this[_0x5ee044](_0x278c11);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x4ec5cf(0x338)](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0x4ec5cf(0x19c)],{'value':_0x4ec5cf(0x2be)})),Bt=at(Rt);var Ye;function ae(){const _0xb8ed7b=_0x4ec5cf;if(Ye)return ie[_0xb8ed7b(0x316)];Ye=0x1;const {isUtf8:_0x5cbf17}=wt,{hasBlob:_0x143791}=H(),_0x5b80c6=[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 _0x414fdb(_0x1531ef){return _0x1531ef>=0x3e8&&_0x1531ef<=0x3f6&&_0x1531ef!==0x3ec&&_0x1531ef!==0x3ed&&_0x1531ef!==0x3ee||_0x1531ef>=0xbb8&&_0x1531ef<=0x1387;}function _0x21eca8(_0xbc0aa0){const _0xadd374=_0xb8ed7b,_0x3a909d=_0xbc0aa0[_0xadd374(0x17b)];let _0x1af65c=0x0;for(;_0x1af65c<_0x3a909d;)if((_0xbc0aa0[_0x1af65c]&0x80)===0x0)_0x1af65c++;else{if((_0xbc0aa0[_0x1af65c]&0xe0)===0xc0){if(_0x1af65c+0x1===_0x3a909d||(_0xbc0aa0[_0x1af65c+0x1]&0xc0)!==0x80||(_0xbc0aa0[_0x1af65c]&0xfe)===0xc0)return!0x1;_0x1af65c+=0x2;}else{if((_0xbc0aa0[_0x1af65c]&0xf0)===0xe0){if(_0x1af65c+0x2>=_0x3a909d||(_0xbc0aa0[_0x1af65c+0x1]&0xc0)!==0x80||(_0xbc0aa0[_0x1af65c+0x2]&0xc0)!==0x80||_0xbc0aa0[_0x1af65c]===0xe0&&(_0xbc0aa0[_0x1af65c+0x1]&0xe0)===0x80||_0xbc0aa0[_0x1af65c]===0xed&&(_0xbc0aa0[_0x1af65c+0x1]&0xe0)===0xa0)return!0x1;_0x1af65c+=0x3;}else{if((_0xbc0aa0[_0x1af65c]&0xf8)===0xf0){if(_0x1af65c+0x3>=_0x3a909d||(_0xbc0aa0[_0x1af65c+0x1]&0xc0)!==0x80||(_0xbc0aa0[_0x1af65c+0x2]&0xc0)!==0x80||(_0xbc0aa0[_0x1af65c+0x3]&0xc0)!==0x80||_0xbc0aa0[_0x1af65c]===0xf0&&(_0xbc0aa0[_0x1af65c+0x1]&0xf0)===0x80||_0xbc0aa0[_0x1af65c]===0xf4&&_0xbc0aa0[_0x1af65c+0x1]>0x8f||_0xbc0aa0[_0x1af65c]>0xf4)return!0x1;_0x1af65c+=0x4;}else return!0x1;}}}return!0x0;}function _0x341323(_0x58eee0){const _0x1d457a=_0xb8ed7b;return _0x143791&&typeof _0x58eee0==_0x1d457a(0x274)&&typeof _0x58eee0['arrayBuffer']==_0x1d457a(0x1f7)&&typeof _0x58eee0['type']==_0x1d457a(0x18b)&&typeof _0x58eee0[_0x1d457a(0x31d)]==_0x1d457a(0x1f7)&&(_0x58eee0[Symbol[_0x1d457a(0x19c)]]===_0x1d457a(0x2ce)||_0x58eee0[Symbol['toStringTag']]==='File');}if(ie[_0xb8ed7b(0x316)]={'isBlob':_0x341323,'isValidStatusCode':_0x414fdb,'isValidUTF8':_0x21eca8,'tokenChars':_0x5b80c6},_0x5cbf17)ie[_0xb8ed7b(0x316)][_0xb8ed7b(0x206)]=function(_0x18cf2a){const _0x4a29b1=_0xb8ed7b;return _0x18cf2a[_0x4a29b1(0x17b)]<0x18?_0x21eca8(_0x18cf2a):_0x5cbf17(_0x18cf2a);};else{if(!process[_0xb8ed7b(0x284)][_0xb8ed7b(0x32f)])try{const _0x155e30=Bt;ie[_0xb8ed7b(0x316)]['isValidUTF8']=function(_0x2399db){const _0x2d47c4=_0xb8ed7b;return _0x2399db[_0x2d47c4(0x17b)]<0x20?_0x21eca8(_0x2399db):_0x155e30(_0x2399db);};}catch{}}return ie[_0xb8ed7b(0x316)];}var Se,Ke;function lt(){const _0x59a4d1=_0x4ec5cf;if(Ke)return Se;Ke=0x1;const {Writable:_0x1393ca}=oe,_0x3faae9=he(),{BINARY_TYPES:_0x3edcd4,EMPTY_BUFFER:_0x571b00,kStatusCode:_0x139c76,kWebSocket:_0x3713b2}=H(),{concat:_0x17d806,toArrayBuffer:_0x2cea17,unmask:_0x1898ab}=ce(),{isValidStatusCode:_0x432e71,isValidUTF8:_0x33f3d7}=ae(),_0x383c0d=Buffer[Symbol[_0x59a4d1(0x2b1)]],_0x57d6b2=0x0,_0x522b84=0x1,_0x39e1b3=0x2,_0x327406=0x3,_0xde80ab=0x4,_0xa3b2cc=0x5,_0x57962c=0x6;class _0x3b6958 extends _0x1393ca{constructor(_0x2dbc08={}){const _0xbd4cfc=_0x59a4d1;super(),this[_0xbd4cfc(0x18f)]=_0x2dbc08[_0xbd4cfc(0x307)]!==void 0x0?_0x2dbc08[_0xbd4cfc(0x307)]:!0x0,this[_0xbd4cfc(0x1cc)]=_0x2dbc08[_0xbd4cfc(0x1ce)]||_0x3edcd4[0x0],this[_0xbd4cfc(0x285)]=_0x2dbc08[_0xbd4cfc(0x2f3)]||{},this[_0xbd4cfc(0x2e7)]=!!_0x2dbc08[_0xbd4cfc(0x17e)],this[_0xbd4cfc(0x31b)]=_0x2dbc08[_0xbd4cfc(0x317)]|0x0,this[_0xbd4cfc(0x311)]=!!_0x2dbc08[_0xbd4cfc(0x23b)],this[_0x3713b2]=void 0x0,this[_0xbd4cfc(0x25f)]=0x0,this[_0xbd4cfc(0x200)]=[],this[_0xbd4cfc(0x20b)]=!0x1,this[_0xbd4cfc(0x293)]=0x0,this['_mask']=void 0x0,this[_0xbd4cfc(0x246)]=0x0,this[_0xbd4cfc(0x2bd)]=!0x1,this[_0xbd4cfc(0x2f8)]=!0x1,this['_opcode']=0x0,this[_0xbd4cfc(0x215)]=0x0,this['_messageLength']=0x0,this[_0xbd4cfc(0x1ac)]=[],this[_0xbd4cfc(0x1c9)]=!0x1,this[_0xbd4cfc(0x1e5)]=!0x1,this[_0xbd4cfc(0x2ac)]=_0x57d6b2;}[_0x59a4d1(0x305)](_0x2ed59e,_0x2a0b2f,_0x5d62b8){const _0x505a77=_0x59a4d1;if(this['_opcode']===0x8&&this['_state']==_0x57d6b2)return _0x5d62b8();this[_0x505a77(0x25f)]+=_0x2ed59e['length'],this[_0x505a77(0x200)][_0x505a77(0x273)](_0x2ed59e),this['startLoop'](_0x5d62b8);}['consume'](_0x1b38a6){const _0x330a05=_0x59a4d1;if(this[_0x330a05(0x25f)]-=_0x1b38a6,_0x1b38a6===this[_0x330a05(0x200)][0x0][_0x330a05(0x17b)])return this[_0x330a05(0x200)][_0x330a05(0x1a8)]();if(_0x1b38a6<this['_buffers'][0x0][_0x330a05(0x17b)]){const _0xd8205=this[_0x330a05(0x200)][0x0];return this[_0x330a05(0x200)][0x0]=new _0x383c0d(_0xd8205[_0x330a05(0x196)],_0xd8205[_0x330a05(0x304)]+_0x1b38a6,_0xd8205[_0x330a05(0x17b)]-_0x1b38a6),new _0x383c0d(_0xd8205[_0x330a05(0x196)],_0xd8205[_0x330a05(0x304)],_0x1b38a6);}const _0x45874b=Buffer[_0x330a05(0x32d)](_0x1b38a6);do{const _0x1f88ab=this[_0x330a05(0x200)][0x0],_0x4d8ad3=_0x45874b[_0x330a05(0x17b)]-_0x1b38a6;_0x1b38a6>=_0x1f88ab['length']?_0x45874b[_0x330a05(0x1e4)](this[_0x330a05(0x200)][_0x330a05(0x1a8)](),_0x4d8ad3):(_0x45874b[_0x330a05(0x1e4)](new Uint8Array(_0x1f88ab['buffer'],_0x1f88ab[_0x330a05(0x304)],_0x1b38a6),_0x4d8ad3),this['_buffers'][0x0]=new _0x383c0d(_0x1f88ab[_0x330a05(0x196)],_0x1f88ab[_0x330a05(0x304)]+_0x1b38a6,_0x1f88ab['length']-_0x1b38a6)),_0x1b38a6-=_0x1f88ab[_0x330a05(0x17b)];}while(_0x1b38a6>0x0);return _0x45874b;}[_0x59a4d1(0x250)](_0x6fef90){const _0x3910af=_0x59a4d1;this['_loop']=!0x0;do switch(this[_0x3910af(0x2ac)]){case _0x57d6b2:this[_0x3910af(0x1ab)](_0x6fef90);break;case _0x522b84:this[_0x3910af(0x1d3)](_0x6fef90);break;case _0x39e1b3:this[_0x3910af(0x28b)](_0x6fef90);break;case _0x327406:this[_0x3910af(0x1a0)]();break;case _0xde80ab:this[_0x3910af(0x1e7)](_0x6fef90);break;case _0xa3b2cc:case _0x57962c:this[_0x3910af(0x1e5)]=!0x1;return;}while(this[_0x3910af(0x1e5)]);this[_0x3910af(0x1c9)]||_0x6fef90();}[_0x59a4d1(0x1ab)](_0xc4d1c9){const _0x4860bf=_0x59a4d1;if(this[_0x4860bf(0x25f)]<0x2){this[_0x4860bf(0x1e5)]=!0x1;return;}const _0x3bfefe=this['consume'](0x2);if((_0x3bfefe[0x0]&0x30)!==0x0){const _0x457c5c=this['createError'](RangeError,_0x4860bf(0x1c3),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0xc4d1c9(_0x457c5c);return;}const _0x39c32b=(_0x3bfefe[0x0]&0x40)===0x40;if(_0x39c32b&&!this[_0x4860bf(0x285)][_0x3faae9['extensionName']]){const _0x3ee9db=this[_0x4860bf(0x2cb)](RangeError,_0x4860bf(0x263),!0x0,0x3ea,_0x4860bf(0x26b));_0xc4d1c9(_0x3ee9db);return;}if(this[_0x4860bf(0x2f8)]=(_0x3bfefe[0x0]&0x80)===0x80,this['_opcode']=_0x3bfefe[0x0]&0xf,this[_0x4860bf(0x293)]=_0x3bfefe[0x1]&0x7f,this[_0x4860bf(0x1dd)]===0x0){if(_0x39c32b){const _0x561658=this[_0x4860bf(0x2cb)](RangeError,_0x4860bf(0x263),!0x0,0x3ea,_0x4860bf(0x26b));_0xc4d1c9(_0x561658);return;}if(!this[_0x4860bf(0x246)]){const _0x125ca8=this['createError'](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x4860bf(0x21a));_0xc4d1c9(_0x125ca8);return;}this[_0x4860bf(0x1dd)]=this[_0x4860bf(0x246)];}else{if(this[_0x4860bf(0x1dd)]===0x1||this[_0x4860bf(0x1dd)]===0x2){if(this[_0x4860bf(0x246)]){const _0x27e4f7=this[_0x4860bf(0x2cb)](RangeError,_0x4860bf(0x2b5)+this[_0x4860bf(0x1dd)],!0x0,0x3ea,_0x4860bf(0x21a));_0xc4d1c9(_0x27e4f7);return;}this[_0x4860bf(0x20b)]=_0x39c32b;}else{if(this[_0x4860bf(0x1dd)]>0x7&&this[_0x4860bf(0x1dd)]<0xb){if(!this[_0x4860bf(0x2f8)]){const _0x56a2ad=this['createError'](RangeError,_0x4860bf(0x1e9),!0x0,0x3ea,_0x4860bf(0x264));_0xc4d1c9(_0x56a2ad);return;}if(_0x39c32b){const _0x3c047b=this['createError'](RangeError,_0x4860bf(0x263),!0x0,0x3ea,_0x4860bf(0x26b));_0xc4d1c9(_0x3c047b);return;}if(this[_0x4860bf(0x293)]>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x1dda78=this[_0x4860bf(0x2cb)](RangeError,_0x4860bf(0x2de)+this['_payloadLength'],!0x0,0x3ea,_0x4860bf(0x337));_0xc4d1c9(_0x1dda78);return;}}else{const _0x26ba25=this['createError'](RangeError,_0x4860bf(0x2b5)+this[_0x4860bf(0x1dd)],!0x0,0x3ea,_0x4860bf(0x21a));_0xc4d1c9(_0x26ba25);return;}}}if(!this[_0x4860bf(0x2f8)]&&!this['_fragmented']&&(this[_0x4860bf(0x246)]=this['_opcode']),this[_0x4860bf(0x2bd)]=(_0x3bfefe[0x1]&0x80)===0x80,this[_0x4860bf(0x2e7)]){if(!this[_0x4860bf(0x2bd)]){const _0x40f900=this[_0x4860bf(0x2cb)](RangeError,_0x4860bf(0x20d),!0x0,0x3ea,_0x4860bf(0x20f));_0xc4d1c9(_0x40f900);return;}}else{if(this['_masked']){const _0x78850=this[_0x4860bf(0x2cb)](RangeError,_0x4860bf(0x23c),!0x0,0x3ea,_0x4860bf(0x2ec));_0xc4d1c9(_0x78850);return;}}this[_0x4860bf(0x293)]===0x7e?this[_0x4860bf(0x2ac)]=_0x522b84:this[_0x4860bf(0x293)]===0x7f?this[_0x4860bf(0x2ac)]=_0x39e1b3:this[_0x4860bf(0x1ae)](_0xc4d1c9);}[_0x59a4d1(0x1d3)](_0x36f6c7){const _0x4b82c1=_0x59a4d1;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}this[_0x4b82c1(0x293)]=this[_0x4b82c1(0x1e8)](0x2)[_0x4b82c1(0x2f2)](0x0),this[_0x4b82c1(0x1ae)](_0x36f6c7);}[_0x59a4d1(0x28b)](_0x45c3ad){const _0x276e30=_0x59a4d1;if(this[_0x276e30(0x25f)]<0x8){this['_loop']=!0x1;return;}const _0x54c6fe=this[_0x276e30(0x1e8)](0x8),_0x3ee95b=_0x54c6fe[_0x276e30(0x1f5)](0x0);if(_0x3ee95b>Math[_0x276e30(0x186)](0x2,0x15)-0x1){const _0x5ecc5f=this[_0x276e30(0x2cb)](RangeError,_0x276e30(0x21d),!0x1,0x3f1,_0x276e30(0x1a5));_0x45c3ad(_0x5ecc5f);return;}this[_0x276e30(0x293)]=_0x3ee95b*Math[_0x276e30(0x186)](0x2,0x20)+_0x54c6fe[_0x276e30(0x1f5)](0x4),this[_0x276e30(0x1ae)](_0x45c3ad);}[_0x59a4d1(0x1ae)](_0x3166e1){const _0x2582f5=_0x59a4d1;if(this[_0x2582f5(0x293)]&&this[_0x2582f5(0x1dd)]<0x8&&(this[_0x2582f5(0x215)]+=this['_payloadLength'],this[_0x2582f5(0x215)]>this[_0x2582f5(0x31b)]&&this[_0x2582f5(0x31b)]>0x0)){const _0x484973=this[_0x2582f5(0x2cb)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x3166e1(_0x484973);return;}this[_0x2582f5(0x2bd)]?this[_0x2582f5(0x2ac)]=_0x327406:this[_0x2582f5(0x2ac)]=_0xde80ab;}[_0x59a4d1(0x1a0)](){const _0x49d5d4=_0x59a4d1;if(this[_0x49d5d4(0x25f)]<0x4){this[_0x49d5d4(0x1e5)]=!0x1;return;}this[_0x49d5d4(0x22a)]=this[_0x49d5d4(0x1e8)](0x4),this['_state']=_0xde80ab;}['getData'](_0x3339da){const _0x1811b5=_0x59a4d1;let _0x2fe556=_0x571b00;if(this[_0x1811b5(0x293)]){if(this[_0x1811b5(0x25f)]<this['_payloadLength']){this[_0x1811b5(0x1e5)]=!0x1;return;}_0x2fe556=this[_0x1811b5(0x1e8)](this[_0x1811b5(0x293)]),this[_0x1811b5(0x2bd)]&&(this[_0x1811b5(0x22a)][0x0]|this['_mask'][0x1]|this['_mask'][0x2]|this[_0x1811b5(0x22a)][0x3])!==0x0&&_0x1898ab(_0x2fe556,this[_0x1811b5(0x22a)]);}if(this['_opcode']>0x7){this[_0x1811b5(0x2a5)](_0x2fe556,_0x3339da);return;}if(this['_compressed']){this['_state']=_0xa3b2cc,this[_0x1811b5(0x180)](_0x2fe556,_0x3339da);return;}_0x2fe556[_0x1811b5(0x17b)]&&(this[_0x1811b5(0x2b3)]=this['_totalPayloadLength'],this['_fragments'][_0x1811b5(0x273)](_0x2fe556)),this['dataMessage'](_0x3339da);}['decompress'](_0x1cb01e,_0x1c41f2){const _0x364ccf=_0x59a4d1;this[_0x364ccf(0x285)][_0x3faae9['extensionName']]['decompress'](_0x1cb01e,this[_0x364ccf(0x2f8)],(_0x4ce5ac,_0x711628)=>{const _0x2c52fa=_0x364ccf;if(_0x4ce5ac)return _0x1c41f2(_0x4ce5ac);if(_0x711628[_0x2c52fa(0x17b)]){if(this['_messageLength']+=_0x711628[_0x2c52fa(0x17b)],this[_0x2c52fa(0x2b3)]>this['_maxPayload']&&this['_maxPayload']>0x0){const _0x2fe348=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x2c52fa(0x1d1));_0x1c41f2(_0x2fe348);return;}this['_fragments'][_0x2c52fa(0x273)](_0x711628);}this[_0x2c52fa(0x2fc)](_0x1c41f2),this[_0x2c52fa(0x2ac)]===_0x57d6b2&&this[_0x2c52fa(0x250)](_0x1c41f2);});}[_0x59a4d1(0x2fc)](_0x3230e7){const _0x572b7f=_0x59a4d1;if(!this[_0x572b7f(0x2f8)]){this[_0x572b7f(0x2ac)]=_0x57d6b2;return;}const _0x19c182=this[_0x572b7f(0x2b3)],_0x37169a=this[_0x572b7f(0x1ac)];if(this[_0x572b7f(0x215)]=0x0,this[_0x572b7f(0x2b3)]=0x0,this[_0x572b7f(0x246)]=0x0,this[_0x572b7f(0x1ac)]=[],this[_0x572b7f(0x1dd)]===0x2){let _0x398c7b;this[_0x572b7f(0x1cc)]===_0x572b7f(0x233)?_0x398c7b=_0x17d806(_0x37169a,_0x19c182):this[_0x572b7f(0x1cc)]===_0x572b7f(0x2ab)?_0x398c7b=_0x2cea17(_0x17d806(_0x37169a,_0x19c182)):this[_0x572b7f(0x1cc)]===_0x572b7f(0x2c2)?_0x398c7b=new Blob(_0x37169a):_0x398c7b=_0x37169a,this['_allowSynchronousEvents']?(this[_0x572b7f(0x209)](_0x572b7f(0x214),_0x398c7b,!0x0),this['_state']=_0x57d6b2):(this[_0x572b7f(0x2ac)]=_0x57962c,setImmediate(()=>{const _0x5cb855=_0x572b7f;this[_0x5cb855(0x209)](_0x5cb855(0x214),_0x398c7b,!0x0),this['_state']=_0x57d6b2,this[_0x5cb855(0x250)](_0x3230e7);}));}else{const _0x4058bb=_0x17d806(_0x37169a,_0x19c182);if(!this[_0x572b7f(0x311)]&&!_0x33f3d7(_0x4058bb)){const _0x4eb8d4=this[_0x572b7f(0x2cb)](Error,_0x572b7f(0x326),!0x0,0x3ef,_0x572b7f(0x2b9));_0x3230e7(_0x4eb8d4);return;}this[_0x572b7f(0x2ac)]===_0xa3b2cc||this[_0x572b7f(0x18f)]?(this[_0x572b7f(0x209)](_0x572b7f(0x214),_0x4058bb,!0x1),this[_0x572b7f(0x2ac)]=_0x57d6b2):(this['_state']=_0x57962c,setImmediate(()=>{const _0xea7e78=_0x572b7f;this[_0xea7e78(0x209)]('message',_0x4058bb,!0x1),this[_0xea7e78(0x2ac)]=_0x57d6b2,this['startLoop'](_0x3230e7);}));}}['controlMessage'](_0xe13069,_0x564321){const _0xa70d7d=_0x59a4d1;if(this[_0xa70d7d(0x1dd)]===0x8){if(_0xe13069[_0xa70d7d(0x17b)]===0x0)this['_loop']=!0x1,this[_0xa70d7d(0x209)]('conclude',0x3ed,_0x571b00),this[_0xa70d7d(0x1a9)]();else{const _0x3fa006=_0xe13069[_0xa70d7d(0x2f2)](0x0);if(!_0x432e71(_0x3fa006)){const _0x133e50=this[_0xa70d7d(0x2cb)](RangeError,_0xa70d7d(0x224)+_0x3fa006,!0x0,0x3ea,_0xa70d7d(0x207));_0x564321(_0x133e50);return;}const _0x419a4e=new _0x383c0d(_0xe13069[_0xa70d7d(0x196)],_0xe13069[_0xa70d7d(0x304)]+0x2,_0xe13069['length']-0x2);if(!this[_0xa70d7d(0x311)]&&!_0x33f3d7(_0x419a4e)){const _0x1f0d6b=this[_0xa70d7d(0x2cb)](Error,_0xa70d7d(0x326),!0x0,0x3ef,_0xa70d7d(0x2b9));_0x564321(_0x1f0d6b);return;}this[_0xa70d7d(0x1e5)]=!0x1,this['emit'](_0xa70d7d(0x2bb),_0x3fa006,_0x419a4e),this[_0xa70d7d(0x1a9)]();}this['_state']=_0x57d6b2;return;}this[_0xa70d7d(0x18f)]?(this[_0xa70d7d(0x209)](this['_opcode']===0x9?_0xa70d7d(0x1aa):_0xa70d7d(0x2f5),_0xe13069),this['_state']=_0x57d6b2):(this[_0xa70d7d(0x2ac)]=_0x57962c,setImmediate(()=>{const _0xa7227e=_0xa70d7d;this[_0xa7227e(0x209)](this[_0xa7227e(0x1dd)]===0x9?_0xa7227e(0x1aa):_0xa7227e(0x2f5),_0xe13069),this[_0xa7227e(0x2ac)]=_0x57d6b2,this[_0xa7227e(0x250)](_0x564321);}));}[_0x59a4d1(0x2cb)](_0x2da89b,_0x5bc668,_0x16f5fb,_0x4391ad,_0x4283f4){const _0x4a7600=_0x59a4d1;this[_0x4a7600(0x1e5)]=!0x1,this[_0x4a7600(0x1c9)]=!0x0;const _0x403976=new _0x2da89b(_0x16f5fb?_0x4a7600(0x2cc)+_0x5bc668:_0x5bc668);return Error[_0x4a7600(0x205)](_0x403976,this[_0x4a7600(0x2cb)]),_0x403976['code']=_0x4283f4,_0x403976[_0x139c76]=_0x4391ad,_0x403976;}}return Se=_0x3b6958,Se;}var Ee,Xe;function ft(){const _0x4e70d1=_0x4ec5cf;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x19ca63}=oe,{randomFillSync:_0x1b00c2}=Le,_0x27fb46=he(),{EMPTY_BUFFER:_0x401403,kWebSocket:_0x4cf7f4,NOOP:_0x4a1204}=H(),{isBlob:_0x5d0e44,isValidStatusCode:_0x1f995f}=ae(),{mask:_0x293962,toBuffer:_0xf1b6b}=ce(),_0x5dd839=Symbol(_0x4e70d1(0x249)),_0x353d3b=Buffer['alloc'](0x4),_0x4e5dbb=0x8*0x400;let _0x182110,_0x57fe16=_0x4e5dbb;const _0x371db3=0x0,_0x11b3a4=0x1,_0x2b7496=0x2;class _0x4f576b{constructor(_0x528794,_0x2aabb5,_0x2635c1){const _0x46abe1=_0x4e70d1;this['_extensions']=_0x2aabb5||{},_0x2635c1&&(this[_0x46abe1(0x30f)]=_0x2635c1,this['_maskBuffer']=Buffer[_0x46abe1(0x190)](0x4)),this[_0x46abe1(0x2a2)]=_0x528794,this[_0x46abe1(0x2a8)]=!0x0,this[_0x46abe1(0x1ec)]=!0x1,this[_0x46abe1(0x25f)]=0x0,this['_queue']=[],this['_state']=_0x371db3,this['onerror']=_0x4a1204,this[_0x4cf7f4]=void 0x0;}static[_0x4e70d1(0x20a)](_0x36b4bd,_0x58e942){const _0x4e10d4=_0x4e70d1;let _0x1000b7,_0x325158=!0x1,_0x1d1f0c=0x2,_0x1135e6=!0x1;_0x58e942[_0x4e10d4(0x1f2)]&&(_0x1000b7=_0x58e942[_0x4e10d4(0x1d2)]||_0x353d3b,_0x58e942[_0x4e10d4(0x27a)]?_0x58e942[_0x4e10d4(0x27a)](_0x1000b7):(_0x57fe16===_0x4e5dbb&&(_0x182110===void 0x0&&(_0x182110=Buffer[_0x4e10d4(0x190)](_0x4e5dbb)),_0x1b00c2(_0x182110,0x0,_0x4e5dbb),_0x57fe16=0x0),_0x1000b7[0x0]=_0x182110[_0x57fe16++],_0x1000b7[0x1]=_0x182110[_0x57fe16++],_0x1000b7[0x2]=_0x182110[_0x57fe16++],_0x1000b7[0x3]=_0x182110[_0x57fe16++]),_0x1135e6=(_0x1000b7[0x0]|_0x1000b7[0x1]|_0x1000b7[0x2]|_0x1000b7[0x3])===0x0,_0x1d1f0c=0x6);let _0x326a78;typeof _0x36b4bd=='string'?(!_0x58e942[_0x4e10d4(0x1f2)]||_0x1135e6)&&_0x58e942[_0x5dd839]!==void 0x0?_0x326a78=_0x58e942[_0x5dd839]:(_0x36b4bd=Buffer[_0x4e10d4(0x2e4)](_0x36b4bd),_0x326a78=_0x36b4bd['length']):(_0x326a78=_0x36b4bd[_0x4e10d4(0x17b)],_0x325158=_0x58e942['mask']&&_0x58e942[_0x4e10d4(0x25b)]&&!_0x1135e6);let _0x477414=_0x326a78;_0x326a78>=0x10000?(_0x1d1f0c+=0x8,_0x477414=0x7f):_0x326a78>0x7d&&(_0x1d1f0c+=0x2,_0x477414=0x7e);const _0x31b9af=Buffer[_0x4e10d4(0x32d)](_0x325158?_0x326a78+_0x1d1f0c:_0x1d1f0c);return _0x31b9af[0x0]=_0x58e942[_0x4e10d4(0x328)]?_0x58e942[_0x4e10d4(0x2b7)]|0x80:_0x58e942['opcode'],_0x58e942[_0x4e10d4(0x1da)]&&(_0x31b9af[0x0]|=0x40),_0x31b9af[0x1]=_0x477414,_0x477414===0x7e?_0x31b9af['writeUInt16BE'](_0x326a78,0x2):_0x477414===0x7f&&(_0x31b9af[0x2]=_0x31b9af[0x3]=0x0,_0x31b9af[_0x4e10d4(0x1af)](_0x326a78,0x4,0x6)),_0x58e942[_0x4e10d4(0x1f2)]?(_0x31b9af[0x1]|=0x80,_0x31b9af[_0x1d1f0c-0x4]=_0x1000b7[0x0],_0x31b9af[_0x1d1f0c-0x3]=_0x1000b7[0x1],_0x31b9af[_0x1d1f0c-0x2]=_0x1000b7[0x2],_0x31b9af[_0x1d1f0c-0x1]=_0x1000b7[0x3],_0x1135e6?[_0x31b9af,_0x36b4bd]:_0x325158?(_0x293962(_0x36b4bd,_0x1000b7,_0x31b9af,_0x1d1f0c,_0x326a78),[_0x31b9af]):(_0x293962(_0x36b4bd,_0x1000b7,_0x36b4bd,0x0,_0x326a78),[_0x31b9af,_0x36b4bd])):[_0x31b9af,_0x36b4bd];}[_0x4e70d1(0x28f)](_0x158593,_0x5426bd,_0x316d30,_0x36f2fc){const _0x2f62c5=_0x4e70d1;let _0x17a414;if(_0x158593===void 0x0)_0x17a414=_0x401403;else{if(typeof _0x158593!=_0x2f62c5(0x25e)||!_0x1f995f(_0x158593))throw new TypeError(_0x2f62c5(0x2d4));if(_0x5426bd===void 0x0||!_0x5426bd[_0x2f62c5(0x17b)])_0x17a414=Buffer[_0x2f62c5(0x32d)](0x2),_0x17a414[_0x2f62c5(0x282)](_0x158593,0x0);else{const _0x206b5b=Buffer['byteLength'](_0x5426bd);if(_0x206b5b>0x7b)throw new RangeError(_0x2f62c5(0x21e));_0x17a414=Buffer[_0x2f62c5(0x32d)](0x2+_0x206b5b),_0x17a414['writeUInt16BE'](_0x158593,0x0),typeof _0x5426bd==_0x2f62c5(0x18b)?_0x17a414['write'](_0x5426bd,0x2):_0x17a414[_0x2f62c5(0x1e4)](_0x5426bd,0x2);}}const _0x15e8b2={[_0x5dd839]:_0x17a414[_0x2f62c5(0x17b)],'fin':!0x0,'generateMask':this[_0x2f62c5(0x30f)],'mask':_0x316d30,'maskBuffer':this[_0x2f62c5(0x23e)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x371db3?this['enqueue']([this['dispatch'],_0x17a414,!0x1,_0x15e8b2,_0x36f2fc]):this['sendFrame'](_0x4f576b[_0x2f62c5(0x20a)](_0x17a414,_0x15e8b2),_0x36f2fc);}[_0x4e70d1(0x1aa)](_0x6341c2,_0x1a27c2,_0x1db0bd){const _0xb96b01=_0x4e70d1;let _0x1ff12d,_0x33e4fd;if(typeof _0x6341c2==_0xb96b01(0x18b)?(_0x1ff12d=Buffer[_0xb96b01(0x2ed)](_0x6341c2),_0x33e4fd=!0x1):_0x5d0e44(_0x6341c2)?(_0x1ff12d=_0x6341c2[_0xb96b01(0x281)],_0x33e4fd=!0x1):(_0x6341c2=_0xf1b6b(_0x6341c2),_0x1ff12d=_0x6341c2[_0xb96b01(0x17b)],_0x33e4fd=_0xf1b6b['readOnly']),_0x1ff12d>0x7d)throw new RangeError(_0xb96b01(0x1bd));const _0x1f7c15={[_0x5dd839]:_0x1ff12d,'fin':!0x0,'generateMask':this[_0xb96b01(0x30f)],'mask':_0x1a27c2,'maskBuffer':this[_0xb96b01(0x23e)],'opcode':0x9,'readOnly':_0x33e4fd,'rsv1':!0x1};_0x5d0e44(_0x6341c2)?this[_0xb96b01(0x2ac)]!==_0x371db3?this['enqueue']([this[_0xb96b01(0x29f)],_0x6341c2,!0x1,_0x1f7c15,_0x1db0bd]):this[_0xb96b01(0x29f)](_0x6341c2,!0x1,_0x1f7c15,_0x1db0bd):this[_0xb96b01(0x2ac)]!==_0x371db3?this['enqueue']([this['dispatch'],_0x6341c2,!0x1,_0x1f7c15,_0x1db0bd]):this[_0xb96b01(0x245)](_0x4f576b['frame'](_0x6341c2,_0x1f7c15),_0x1db0bd);}[_0x4e70d1(0x2f5)](_0x32698f,_0x45ffdd,_0x4ece30){const _0x1bc1b9=_0x4e70d1;let _0x3ecd29,_0x2b713d;if(typeof _0x32698f=='string'?(_0x3ecd29=Buffer[_0x1bc1b9(0x2ed)](_0x32698f),_0x2b713d=!0x1):_0x5d0e44(_0x32698f)?(_0x3ecd29=_0x32698f['size'],_0x2b713d=!0x1):(_0x32698f=_0xf1b6b(_0x32698f),_0x3ecd29=_0x32698f[_0x1bc1b9(0x17b)],_0x2b713d=_0xf1b6b[_0x1bc1b9(0x25b)]),_0x3ecd29>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x259ac0={[_0x5dd839]:_0x3ecd29,'fin':!0x0,'generateMask':this[_0x1bc1b9(0x30f)],'mask':_0x45ffdd,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x2b713d,'rsv1':!0x1};_0x5d0e44(_0x32698f)?this[_0x1bc1b9(0x2ac)]!==_0x371db3?this[_0x1bc1b9(0x220)]([this[_0x1bc1b9(0x29f)],_0x32698f,!0x1,_0x259ac0,_0x4ece30]):this[_0x1bc1b9(0x29f)](_0x32698f,!0x1,_0x259ac0,_0x4ece30):this[_0x1bc1b9(0x2ac)]!==_0x371db3?this[_0x1bc1b9(0x220)]([this[_0x1bc1b9(0x306)],_0x32698f,!0x1,_0x259ac0,_0x4ece30]):this['sendFrame'](_0x4f576b[_0x1bc1b9(0x20a)](_0x32698f,_0x259ac0),_0x4ece30);}[_0x4e70d1(0x1c1)](_0x43009a,_0x1c361f,_0x3c9169){const _0x49314d=_0x4e70d1,_0x5d0fc8=this[_0x49314d(0x285)][_0x27fb46[_0x49314d(0x1b2)]];let _0x4179d5=_0x1c361f[_0x49314d(0x238)]?0x2:0x1,_0xfc0348=_0x1c361f[_0x49314d(0x27f)],_0x2b033d,_0x464028;typeof _0x43009a==_0x49314d(0x18b)?(_0x2b033d=Buffer[_0x49314d(0x2ed)](_0x43009a),_0x464028=!0x1):_0x5d0e44(_0x43009a)?(_0x2b033d=_0x43009a['size'],_0x464028=!0x1):(_0x43009a=_0xf1b6b(_0x43009a),_0x2b033d=_0x43009a[_0x49314d(0x17b)],_0x464028=_0xf1b6b[_0x49314d(0x25b)]),this['_firstFragment']?(this['_firstFragment']=!0x1,_0xfc0348&&_0x5d0fc8&&_0x5d0fc8[_0x49314d(0x2a6)][_0x5d0fc8[_0x49314d(0x2e7)]?_0x49314d(0x1ca):_0x49314d(0x254)]&&(_0xfc0348=_0x2b033d>=_0x5d0fc8[_0x49314d(0x2fe)]),this[_0x49314d(0x1ec)]=_0xfc0348):(_0xfc0348=!0x1,_0x4179d5=0x0),_0x1c361f[_0x49314d(0x328)]&&(this[_0x49314d(0x2a8)]=!0x0);const _0x2ed9b6={[_0x5dd839]:_0x2b033d,'fin':_0x1c361f[_0x49314d(0x328)],'generateMask':this[_0x49314d(0x30f)],'mask':_0x1c361f['mask'],'maskBuffer':this[_0x49314d(0x23e)],'opcode':_0x4179d5,'readOnly':_0x464028,'rsv1':_0xfc0348};_0x5d0e44(_0x43009a)?this[_0x49314d(0x2ac)]!==_0x371db3?this['enqueue']([this[_0x49314d(0x29f)],_0x43009a,this[_0x49314d(0x1ec)],_0x2ed9b6,_0x3c9169]):this[_0x49314d(0x29f)](_0x43009a,this[_0x49314d(0x1ec)],_0x2ed9b6,_0x3c9169):this[_0x49314d(0x2ac)]!==_0x371db3?this[_0x49314d(0x220)]([this['dispatch'],_0x43009a,this[_0x49314d(0x1ec)],_0x2ed9b6,_0x3c9169]):this['dispatch'](_0x43009a,this['_compress'],_0x2ed9b6,_0x3c9169);}[_0x4e70d1(0x29f)](_0x46d8f9,_0x1f6a53,_0x5bbf37,_0x20c468){const _0x185609=_0x4e70d1;this[_0x185609(0x25f)]+=_0x5bbf37[_0x5dd839],this[_0x185609(0x2ac)]=_0x2b7496,_0x46d8f9[_0x185609(0x266)]()[_0x185609(0x2f9)](_0x456de9=>{const _0x3b32bc=_0x185609;if(this['_socket']['destroyed']){const _0x4603df=new Error(_0x3b32bc(0x270));process[_0x3b32bc(0x1ff)](_0x59d0f1,this,_0x4603df,_0x20c468);return;}this[_0x3b32bc(0x25f)]-=_0x5bbf37[_0x5dd839];const _0x2faeda=_0xf1b6b(_0x456de9);_0x1f6a53?this[_0x3b32bc(0x306)](_0x2faeda,_0x1f6a53,_0x5bbf37,_0x20c468):(this[_0x3b32bc(0x2ac)]=_0x371db3,this[_0x3b32bc(0x245)](_0x4f576b[_0x3b32bc(0x20a)](_0x2faeda,_0x5bbf37),_0x20c468),this[_0x3b32bc(0x24b)]());})[_0x185609(0x33c)](_0x2c4033=>{const _0x52ac81=_0x185609;process[_0x52ac81(0x1ff)](_0x3302a2,this,_0x2c4033,_0x20c468);});}[_0x4e70d1(0x306)](_0x10a200,_0x256312,_0x20a9b0,_0x309e48){const _0x52015c=_0x4e70d1;if(!_0x256312){this[_0x52015c(0x245)](_0x4f576b[_0x52015c(0x20a)](_0x10a200,_0x20a9b0),_0x309e48);return;}const _0x1e96db=this[_0x52015c(0x285)][_0x27fb46[_0x52015c(0x1b2)]];this[_0x52015c(0x25f)]+=_0x20a9b0[_0x5dd839],this[_0x52015c(0x2ac)]=_0x11b3a4,_0x1e96db[_0x52015c(0x27f)](_0x10a200,_0x20a9b0[_0x52015c(0x328)],(_0xdffa9c,_0x2bd239)=>{const _0x4fc5e7=_0x52015c;if(this['_socket'][_0x4fc5e7(0x23a)]){const _0x45a83f=new Error(_0x4fc5e7(0x1b0));_0x59d0f1(this,_0x45a83f,_0x309e48);return;}this[_0x4fc5e7(0x25f)]-=_0x20a9b0[_0x5dd839],this[_0x4fc5e7(0x2ac)]=_0x371db3,_0x20a9b0[_0x4fc5e7(0x25b)]=!0x1,this[_0x4fc5e7(0x245)](_0x4f576b[_0x4fc5e7(0x20a)](_0x2bd239,_0x20a9b0),_0x309e48),this[_0x4fc5e7(0x24b)]();});}[_0x4e70d1(0x24b)](){const _0x125ce1=_0x4e70d1;for(;this[_0x125ce1(0x2ac)]===_0x371db3&&this['_queue'][_0x125ce1(0x17b)];){const _0x3ecf20=this[_0x125ce1(0x2e6)][_0x125ce1(0x1a8)]();this[_0x125ce1(0x25f)]-=_0x3ecf20[0x3][_0x5dd839],Reflect['apply'](_0x3ecf20[0x0],this,_0x3ecf20[_0x125ce1(0x2ba)](0x1));}}[_0x4e70d1(0x220)](_0x1b63ad){const _0x4d73ca=_0x4e70d1;this[_0x4d73ca(0x25f)]+=_0x1b63ad[0x3][_0x5dd839],this[_0x4d73ca(0x2e6)][_0x4d73ca(0x273)](_0x1b63ad);}['sendFrame'](_0x5c9007,_0x48de28){const _0x55e407=_0x4e70d1;_0x5c9007[_0x55e407(0x17b)]===0x2?(this[_0x55e407(0x2a2)][_0x55e407(0x212)](),this[_0x55e407(0x2a2)][_0x55e407(0x2e9)](_0x5c9007[0x0]),this[_0x55e407(0x2a2)][_0x55e407(0x2e9)](_0x5c9007[0x1],_0x48de28),this[_0x55e407(0x2a2)]['uncork']()):this[_0x55e407(0x2a2)]['write'](_0x5c9007[0x0],_0x48de28);}}Ee=_0x4f576b;function _0x59d0f1(_0x3b87aa,_0x184a27,_0x3600b9){const _0x4918ce=_0x4e70d1;typeof _0x3600b9==_0x4918ce(0x1f7)&&_0x3600b9(_0x184a27);for(let _0x2e7989=0x0;_0x2e7989<_0x3b87aa[_0x4918ce(0x2e6)][_0x4918ce(0x17b)];_0x2e7989++){const _0x5c351d=_0x3b87aa['_queue'][_0x2e7989],_0x514422=_0x5c351d[_0x5c351d[_0x4918ce(0x17b)]-0x1];typeof _0x514422==_0x4918ce(0x1f7)&&_0x514422(_0x184a27);}}function _0x3302a2(_0xc7974a,_0x4f145f,_0x445602){const _0x1b1ff8=_0x4e70d1;_0x59d0f1(_0xc7974a,_0x4f145f,_0x445602),_0xc7974a[_0x1b1ff8(0x2e2)](_0x4f145f);}return Ee;}var xe,Ze;function It(){const _0x8dcba6=_0x4ec5cf;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x22d1e0,kListener:_0x9fa05d}=H(),_0x488edb=Symbol(_0x8dcba6(0x1fa)),_0x43807a=Symbol('kData'),_0x3e5b3e=Symbol(_0x8dcba6(0x2d0)),_0x2ef1ee=Symbol('kMessage'),_0x1f6ae7=Symbol('kReason'),_0x45b3be=Symbol(_0x8dcba6(0x271)),_0x5ab046=Symbol(_0x8dcba6(0x1f3)),_0x591dc7=Symbol(_0x8dcba6(0x193));class _0x249788{constructor(_0x5679fa){this[_0x45b3be]=null,this[_0x5ab046]=_0x5679fa;}get['target'](){return this[_0x45b3be];}get[_0x8dcba6(0x1ed)](){return this[_0x5ab046];}}Object[_0x8dcba6(0x2ff)](_0x249788[_0x8dcba6(0x2d2)],'target',{'enumerable':!0x0}),Object[_0x8dcba6(0x2ff)](_0x249788[_0x8dcba6(0x2d2)],_0x8dcba6(0x1ed),{'enumerable':!0x0});class _0x55f85e extends _0x249788{constructor(_0x2598c1,_0x13c65c={}){const _0x210561=_0x8dcba6;super(_0x2598c1),this[_0x488edb]=_0x13c65c[_0x210561(0x1f1)]===void 0x0?0x0:_0x13c65c[_0x210561(0x1f1)],this[_0x1f6ae7]=_0x13c65c['reason']===void 0x0?'':_0x13c65c[_0x210561(0x2ca)],this[_0x591dc7]=_0x13c65c['wasClean']===void 0x0?!0x1:_0x13c65c[_0x210561(0x2df)];}get[_0x8dcba6(0x1f1)](){return this[_0x488edb];}get['reason'](){return this[_0x1f6ae7];}get[_0x8dcba6(0x2df)](){return this[_0x591dc7];}}Object[_0x8dcba6(0x2ff)](_0x55f85e[_0x8dcba6(0x2d2)],_0x8dcba6(0x1f1),{'enumerable':!0x0}),Object[_0x8dcba6(0x2ff)](_0x55f85e[_0x8dcba6(0x2d2)],_0x8dcba6(0x2ca),{'enumerable':!0x0}),Object[_0x8dcba6(0x2ff)](_0x55f85e[_0x8dcba6(0x2d2)],_0x8dcba6(0x2df),{'enumerable':!0x0});class _0x494bda extends _0x249788{constructor(_0x377f28,_0x42b37d={}){const _0x5b833e=_0x8dcba6;super(_0x377f28),this[_0x3e5b3e]=_0x42b37d[_0x5b833e(0x27c)]===void 0x0?null:_0x42b37d[_0x5b833e(0x27c)],this[_0x2ef1ee]=_0x42b37d[_0x5b833e(0x214)]===void 0x0?'':_0x42b37d[_0x5b833e(0x214)];}get[_0x8dcba6(0x27c)](){return this[_0x3e5b3e];}get[_0x8dcba6(0x214)](){return this[_0x2ef1ee];}}Object['defineProperty'](_0x494bda[_0x8dcba6(0x2d2)],_0x8dcba6(0x27c),{'enumerable':!0x0}),Object[_0x8dcba6(0x2ff)](_0x494bda[_0x8dcba6(0x2d2)],_0x8dcba6(0x214),{'enumerable':!0x0});class _0x1865f4 extends _0x249788{constructor(_0x3234b9,_0x515191={}){const _0x2abf57=_0x8dcba6;super(_0x3234b9),this[_0x43807a]=_0x515191[_0x2abf57(0x292)]===void 0x0?null:_0x515191[_0x2abf57(0x292)];}get[_0x8dcba6(0x292)](){return this[_0x43807a];}}Object[_0x8dcba6(0x2ff)](_0x1865f4['prototype'],_0x8dcba6(0x292),{'enumerable':!0x0}),xe={'CloseEvent':_0x55f85e,'ErrorEvent':_0x494bda,'Event':_0x249788,'EventTarget':{'addEventListener'(_0x42f4f3,_0x4048bf,_0x4cb5d8={}){const _0x54e5e8=_0x8dcba6;for(const _0x29ef1c of this[_0x54e5e8(0x188)](_0x42f4f3))if(!_0x4cb5d8[_0x22d1e0]&&_0x29ef1c[_0x9fa05d]===_0x4048bf&&!_0x29ef1c[_0x22d1e0])return;let _0x265bc6;if(_0x42f4f3===_0x54e5e8(0x214))_0x265bc6=function(_0xed36a4,_0x566a5b){const _0x2b5ddb=new _0x1865f4('message',{'data':_0x566a5b?_0xed36a4:_0xed36a4['toString']()});_0x2b5ddb[_0x45b3be]=this,_0x230a2d(_0x4048bf,this,_0x2b5ddb);};else{if(_0x42f4f3===_0x54e5e8(0x28f))_0x265bc6=function(_0x4e0645,_0x548f82){const _0x132536=_0x54e5e8,_0x17fd17=new _0x55f85e(_0x132536(0x28f),{'code':_0x4e0645,'reason':_0x548f82[_0x132536(0x318)](),'wasClean':this['_closeFrameReceived']&&this[_0x132536(0x2b8)]});_0x17fd17[_0x45b3be]=this,_0x230a2d(_0x4048bf,this,_0x17fd17);};else{if(_0x42f4f3===_0x54e5e8(0x27c))_0x265bc6=function(_0x4750a4){const _0x1d3ceb=_0x54e5e8,_0x18de45=new _0x494bda(_0x1d3ceb(0x27c),{'error':_0x4750a4,'message':_0x4750a4['message']});_0x18de45[_0x45b3be]=this,_0x230a2d(_0x4048bf,this,_0x18de45);};else{if(_0x42f4f3===_0x54e5e8(0x237))_0x265bc6=function(){const _0x2f2d63=_0x54e5e8,_0x175456=new _0x249788(_0x2f2d63(0x237));_0x175456[_0x45b3be]=this,_0x230a2d(_0x4048bf,this,_0x175456);};else return;}}}_0x265bc6[_0x22d1e0]=!!_0x4cb5d8[_0x22d1e0],_0x265bc6[_0x9fa05d]=_0x4048bf,_0x4cb5d8['once']?this[_0x54e5e8(0x232)](_0x42f4f3,_0x265bc6):this['on'](_0x42f4f3,_0x265bc6);},'removeEventListener'(_0x3b96c3,_0x2dad98){const _0x18882a=_0x8dcba6;for(const _0x138751 of this[_0x18882a(0x188)](_0x3b96c3))if(_0x138751[_0x9fa05d]===_0x2dad98&&!_0x138751[_0x22d1e0]){this[_0x18882a(0x1a4)](_0x3b96c3,_0x138751);break;}}},'MessageEvent':_0x1865f4};function _0x230a2d(_0x32c243,_0x4602fb,_0x33e6ac){const _0x39b978=_0x8dcba6;typeof _0x32c243==_0x39b978(0x274)&&_0x32c243[_0x39b978(0x2c9)]?_0x32c243[_0x39b978(0x2c9)]['call'](_0x32c243,_0x33e6ac):_0x32c243[_0x39b978(0x321)](_0x4602fb,_0x33e6ac);}return xe;}var be,Qe;function _0x4bf3(_0x473031,_0x2f1e24){_0x473031=_0x473031-0x17a;const _0x17e86d=_0x17e8();let _0x4bf363=_0x17e86d[_0x473031];return _0x4bf363;}function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x36b648}=ae();function _0x5c1743(_0x578c52,_0x5c0d68,_0xfe40b2){const _0x32aff9=_0x4bf3;_0x578c52[_0x5c0d68]===void 0x0?_0x578c52[_0x5c0d68]=[_0xfe40b2]:_0x578c52[_0x5c0d68][_0x32aff9(0x273)](_0xfe40b2);}function _0x22aef0(_0x589b0){const _0xfcb35f=_0x4bf3,_0x272c41=Object[_0xfcb35f(0x19d)](null);let _0x863ca2=Object[_0xfcb35f(0x19d)](null),_0x10fb98=!0x1,_0x4bc75c=!0x1,_0x1d2f4c=!0x1,_0x51452b,_0x394335,_0x48bd98=-0x1,_0x26f200=-0x1,_0x22b7ca=-0x1,_0x21a0d4=0x0;for(;_0x21a0d4<_0x589b0[_0xfcb35f(0x17b)];_0x21a0d4++)if(_0x26f200=_0x589b0[_0xfcb35f(0x1d7)](_0x21a0d4),_0x51452b===void 0x0){if(_0x22b7ca===-0x1&&_0x36b648[_0x26f200]===0x1)_0x48bd98===-0x1&&(_0x48bd98=_0x21a0d4);else{if(_0x21a0d4!==0x0&&(_0x26f200===0x20||_0x26f200===0x9))_0x22b7ca===-0x1&&_0x48bd98!==-0x1&&(_0x22b7ca=_0x21a0d4);else{if(_0x26f200===0x3b||_0x26f200===0x2c){if(_0x48bd98===-0x1)throw new SyntaxError(_0xfcb35f(0x183)+_0x21a0d4);_0x22b7ca===-0x1&&(_0x22b7ca=_0x21a0d4);const _0x1cf925=_0x589b0[_0xfcb35f(0x2ba)](_0x48bd98,_0x22b7ca);_0x26f200===0x2c?(_0x5c1743(_0x272c41,_0x1cf925,_0x863ca2),_0x863ca2=Object[_0xfcb35f(0x19d)](null)):_0x51452b=_0x1cf925,_0x48bd98=_0x22b7ca=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x21a0d4);}}}else{if(_0x394335===void 0x0){if(_0x22b7ca===-0x1&&_0x36b648[_0x26f200]===0x1)_0x48bd98===-0x1&&(_0x48bd98=_0x21a0d4);else{if(_0x26f200===0x20||_0x26f200===0x9)_0x22b7ca===-0x1&&_0x48bd98!==-0x1&&(_0x22b7ca=_0x21a0d4);else{if(_0x26f200===0x3b||_0x26f200===0x2c){if(_0x48bd98===-0x1)throw new SyntaxError(_0xfcb35f(0x183)+_0x21a0d4);_0x22b7ca===-0x1&&(_0x22b7ca=_0x21a0d4),_0x5c1743(_0x863ca2,_0x589b0[_0xfcb35f(0x2ba)](_0x48bd98,_0x22b7ca),!0x0),_0x26f200===0x2c&&(_0x5c1743(_0x272c41,_0x51452b,_0x863ca2),_0x863ca2=Object[_0xfcb35f(0x19d)](null),_0x51452b=void 0x0),_0x48bd98=_0x22b7ca=-0x1;}else{if(_0x26f200===0x3d&&_0x48bd98!==-0x1&&_0x22b7ca===-0x1)_0x394335=_0x589b0[_0xfcb35f(0x2ba)](_0x48bd98,_0x21a0d4),_0x48bd98=_0x22b7ca=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x21a0d4);}}}}else{if(_0x4bc75c){if(_0x36b648[_0x26f200]!==0x1)throw new SyntaxError(_0xfcb35f(0x183)+_0x21a0d4);_0x48bd98===-0x1?_0x48bd98=_0x21a0d4:_0x10fb98||(_0x10fb98=!0x0),_0x4bc75c=!0x1;}else{if(_0x1d2f4c){if(_0x36b648[_0x26f200]===0x1)_0x48bd98===-0x1&&(_0x48bd98=_0x21a0d4);else{if(_0x26f200===0x22&&_0x48bd98!==-0x1)_0x1d2f4c=!0x1,_0x22b7ca=_0x21a0d4;else{if(_0x26f200===0x5c)_0x4bc75c=!0x0;else throw new SyntaxError(_0xfcb35f(0x183)+_0x21a0d4);}}}else{if(_0x26f200===0x22&&_0x589b0[_0xfcb35f(0x1d7)](_0x21a0d4-0x1)===0x3d)_0x1d2f4c=!0x0;else{if(_0x22b7ca===-0x1&&_0x36b648[_0x26f200]===0x1)_0x48bd98===-0x1&&(_0x48bd98=_0x21a0d4);else{if(_0x48bd98!==-0x1&&(_0x26f200===0x20||_0x26f200===0x9))_0x22b7ca===-0x1&&(_0x22b7ca=_0x21a0d4);else{if(_0x26f200===0x3b||_0x26f200===0x2c){if(_0x48bd98===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x21a0d4);_0x22b7ca===-0x1&&(_0x22b7ca=_0x21a0d4);let _0x1b8db6=_0x589b0[_0xfcb35f(0x2ba)](_0x48bd98,_0x22b7ca);_0x10fb98&&(_0x1b8db6=_0x1b8db6['replace'](/\\/g,''),_0x10fb98=!0x1),_0x5c1743(_0x863ca2,_0x394335,_0x1b8db6),_0x26f200===0x2c&&(_0x5c1743(_0x272c41,_0x51452b,_0x863ca2),_0x863ca2=Object['create'](null),_0x51452b=void 0x0),_0x394335=void 0x0,_0x48bd98=_0x22b7ca=-0x1;}else throw new SyntaxError(_0xfcb35f(0x183)+_0x21a0d4);}}}}}}}if(_0x48bd98===-0x1||_0x1d2f4c||_0x26f200===0x20||_0x26f200===0x9)throw new SyntaxError(_0xfcb35f(0x308));_0x22b7ca===-0x1&&(_0x22b7ca=_0x21a0d4);const _0x28bfc7=_0x589b0[_0xfcb35f(0x2ba)](_0x48bd98,_0x22b7ca);return _0x51452b===void 0x0?_0x5c1743(_0x272c41,_0x28bfc7,_0x863ca2):(_0x394335===void 0x0?_0x5c1743(_0x863ca2,_0x28bfc7,!0x0):_0x10fb98?_0x5c1743(_0x863ca2,_0x394335,_0x28bfc7['replace'](/\\/g,'')):_0x5c1743(_0x863ca2,_0x394335,_0x28bfc7),_0x5c1743(_0x272c41,_0x51452b,_0x863ca2)),_0x272c41;}function _0x1ded33(_0x39ccb5){const _0x4ece17=_0x4bf3;return Object[_0x4ece17(0x228)](_0x39ccb5)[_0x4ece17(0x225)](_0x195643=>{const _0x3295b0=_0x4ece17;let _0x3fee52=_0x39ccb5[_0x195643];return Array[_0x3295b0(0x17a)](_0x3fee52)||(_0x3fee52=[_0x3fee52]),_0x3fee52[_0x3295b0(0x225)](_0x30f9f6=>[_0x195643][_0x3295b0(0x1b7)](Object[_0x3295b0(0x228)](_0x30f9f6)[_0x3295b0(0x225)](_0x6dad06=>{const _0x2ba400=_0x3295b0;let _0x304e1b=_0x30f9f6[_0x6dad06];return Array[_0x2ba400(0x17a)](_0x304e1b)||(_0x304e1b=[_0x304e1b]),_0x304e1b[_0x2ba400(0x225)](_0x5af5f3=>_0x5af5f3===!0x0?_0x6dad06:_0x6dad06+'='+_0x5af5f3)[_0x2ba400(0x216)](';\x20');}))['join'](';\x20'))[_0x3295b0(0x216)](',\x20');})[_0x4ece17(0x216)](',\x20');}return be={'format':_0x1ded33,'parse':_0x22aef0},be;}var we,Je;function Pe(){const _0x5aa809=_0x4ec5cf;if(Je)return we;Je=0x1;const _0xe24f04=nt,_0x50666c=vt,_0x36013b=ot,_0x5e9abf=St,_0x485167=Et,{randomBytes:_0x3362d3,createHash:_0x405429}=Le,{Duplex:_0x11ff49,Readable:_0x26e446}=oe,{URL:_0x3f6b1f}=xt,_0x3be390=he(),_0x368c2b=lt(),_0x13c69f=ft(),{isBlob:_0x3c57b7}=ae(),{BINARY_TYPES:_0x56a006,EMPTY_BUFFER:_0xe0c0d6,GUID:_0x394d9b,kForOnEventAttribute:_0x1ade3c,kListener:_0x36c63e,kStatusCode:_0x5c7d09,kWebSocket:_0x23e9f8,NOOP:_0x2bc9ce}=H(),{EventTarget:{addEventListener:_0x17b7d2,removeEventListener:_0x16c075}}=It(),{format:_0xe1969f,parse:_0x227e6f}=ct(),{toBuffer:_0x63ebb3}=ce(),_0x27a3dd=0x1e*0x3e8,_0x22d3a3=Symbol(_0x5aa809(0x1cd)),_0x3fa99b=[0x8,0xd],_0x4507ef=['CONNECTING',_0x5aa809(0x192),_0x5aa809(0x239),'CLOSED'],_0x2a60d8=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x45a605 extends _0xe24f04{constructor(_0x4971f7,_0x306b3a,_0xb49d38){const _0x193eec=_0x5aa809;super(),this[_0x193eec(0x1cc)]=_0x56a006[0x0],this['_closeCode']=0x3ee,this[_0x193eec(0x1c8)]=!0x1,this[_0x193eec(0x2b8)]=!0x1,this[_0x193eec(0x2a0)]=_0xe0c0d6,this['_closeTimer']=null,this['_errorEmitted']=!0x1,this[_0x193eec(0x285)]={},this[_0x193eec(0x22e)]=!0x1,this[_0x193eec(0x248)]='',this[_0x193eec(0x2d9)]=_0x45a605[_0x193eec(0x30b)],this[_0x193eec(0x1e1)]=null,this[_0x193eec(0x1b4)]=null,this[_0x193eec(0x2a2)]=null,_0x4971f7!==null?(this[_0x193eec(0x1ea)]=0x0,this[_0x193eec(0x2e7)]=!0x1,this[_0x193eec(0x1d8)]=0x0,_0x306b3a===void 0x0?_0x306b3a=[]:Array[_0x193eec(0x17a)](_0x306b3a)||(typeof _0x306b3a==_0x193eec(0x274)&&_0x306b3a!==null?(_0xb49d38=_0x306b3a,_0x306b3a=[]):_0x306b3a=[_0x306b3a]),_0x9fecf3(this,_0x4971f7,_0x306b3a,_0xb49d38)):(this[_0x193eec(0x1d6)]=_0xb49d38[_0x193eec(0x26e)],this[_0x193eec(0x2e7)]=!0x0);}get[_0x5aa809(0x1ce)](){const _0x1373a1=_0x5aa809;return this[_0x1373a1(0x1cc)];}set[_0x5aa809(0x1ce)](_0x2bb18f){const _0x224e5d=_0x5aa809;_0x56a006[_0x224e5d(0x28e)](_0x2bb18f)&&(this[_0x224e5d(0x1cc)]=_0x2bb18f,this['_receiver']&&(this['_receiver'][_0x224e5d(0x1cc)]=_0x2bb18f));}get['bufferedAmount'](){const _0x123ef6=_0x5aa809;return this[_0x123ef6(0x2a2)]?this['_socket']['_writableState']['length']+this[_0x123ef6(0x1b4)][_0x123ef6(0x25f)]:this[_0x123ef6(0x1ea)];}get[_0x5aa809(0x2f3)](){const _0xbd1a02=_0x5aa809;return Object[_0xbd1a02(0x228)](this[_0xbd1a02(0x285)])[_0xbd1a02(0x216)]();}get['isPaused'](){const _0x3589f7=_0x5aa809;return this[_0x3589f7(0x22e)];}get[_0x5aa809(0x185)](){return null;}get[_0x5aa809(0x2e2)](){return null;}get[_0x5aa809(0x1dc)](){return null;}get['onmessage'](){return null;}get[_0x5aa809(0x2e0)](){return this['_protocol'];}get[_0x5aa809(0x299)](){return this['_readyState'];}get[_0x5aa809(0x1a7)](){const _0x1682f9=_0x5aa809;return this[_0x1682f9(0x17f)];}['setSocket'](_0x59f180,_0x47deb3,_0x20da2c){const _0x2233cf=_0x5aa809,_0x460246=new _0x368c2b({'allowSynchronousEvents':_0x20da2c[_0x2233cf(0x307)],'binaryType':this[_0x2233cf(0x1ce)],'extensions':this[_0x2233cf(0x285)],'isServer':this[_0x2233cf(0x2e7)],'maxPayload':_0x20da2c[_0x2233cf(0x317)],'skipUTF8Validation':_0x20da2c[_0x2233cf(0x23b)]}),_0x726951=new _0x13c69f(_0x59f180,this[_0x2233cf(0x285)],_0x20da2c['generateMask']);this[_0x2233cf(0x1e1)]=_0x460246,this[_0x2233cf(0x1b4)]=_0x726951,this[_0x2233cf(0x2a2)]=_0x59f180,_0x460246[_0x23e9f8]=this,_0x726951[_0x23e9f8]=this,_0x59f180[_0x23e9f8]=this,_0x460246['on']('conclude',_0x44a1ce),_0x460246['on'](_0x2233cf(0x31e),_0x5cda9b),_0x460246['on'](_0x2233cf(0x27c),_0x54d609),_0x460246['on'](_0x2233cf(0x214),_0x3e9bdf),_0x460246['on'](_0x2233cf(0x1aa),_0x53a8b6),_0x460246['on'](_0x2233cf(0x2f5),_0x270f1d),_0x726951[_0x2233cf(0x2e2)]=_0x4abb30,_0x59f180[_0x2233cf(0x336)]&&_0x59f180[_0x2233cf(0x336)](0x0),_0x59f180[_0x2233cf(0x1b1)]&&_0x59f180[_0x2233cf(0x1b1)](),_0x47deb3[_0x2233cf(0x17b)]>0x0&&_0x59f180[_0x2233cf(0x303)](_0x47deb3),_0x59f180['on'](_0x2233cf(0x28f),_0x4f5fa4),_0x59f180['on'](_0x2233cf(0x292),_0xf69320),_0x59f180['on'](_0x2233cf(0x1a9),_0xf2ba17),_0x59f180['on']('error',_0x299268),this[_0x2233cf(0x2d9)]=_0x45a605['OPEN'],this[_0x2233cf(0x209)](_0x2233cf(0x237));}[_0x5aa809(0x22c)](){const _0xcedc44=_0x5aa809;if(!this['_socket']){this['_readyState']=_0x45a605['CLOSED'],this[_0xcedc44(0x209)]('close',this[_0xcedc44(0x23d)],this[_0xcedc44(0x2a0)]);return;}this[_0xcedc44(0x285)][_0x3be390['extensionName']]&&this[_0xcedc44(0x285)][_0x3be390[_0xcedc44(0x1b2)]]['cleanup'](),this[_0xcedc44(0x1e1)]['removeAllListeners'](),this['_readyState']=_0x45a605[_0xcedc44(0x221)],this['emit'](_0xcedc44(0x28f),this[_0xcedc44(0x23d)],this[_0xcedc44(0x2a0)]);}[_0x5aa809(0x28f)](_0x2b359a,_0x34a618){const _0x3b64bd=_0x5aa809;if(this[_0x3b64bd(0x299)]!==_0x45a605[_0x3b64bd(0x221)]){if(this[_0x3b64bd(0x299)]===_0x45a605[_0x3b64bd(0x30b)]){_0x1bfe3a(this,this['_req'],_0x3b64bd(0x290));return;}if(this[_0x3b64bd(0x299)]===_0x45a605[_0x3b64bd(0x239)]){this['_closeFrameSent']&&(this['_closeFrameReceived']||this[_0x3b64bd(0x1e1)]['_writableState'][_0x3b64bd(0x334)])&&this[_0x3b64bd(0x2a2)][_0x3b64bd(0x1a9)]();return;}this['_readyState']=_0x45a605[_0x3b64bd(0x239)],this['_sender'][_0x3b64bd(0x28f)](_0x2b359a,_0x34a618,!this[_0x3b64bd(0x2e7)],_0x4e325e=>{const _0x4a8739=_0x3b64bd;_0x4e325e||(this[_0x4a8739(0x2b8)]=!0x0,(this['_closeFrameReceived']||this[_0x4a8739(0x1e1)]['_writableState'][_0x4a8739(0x334)])&&this['_socket'][_0x4a8739(0x1a9)]());}),_0x1d2345(this);}}[_0x5aa809(0x29d)](){const _0x47976c=_0x5aa809;this[_0x47976c(0x299)]===_0x45a605['CONNECTING']||this[_0x47976c(0x299)]===_0x45a605[_0x47976c(0x221)]||(this[_0x47976c(0x22e)]=!0x0,this['_socket'][_0x47976c(0x29d)]());}['ping'](_0x174cda,_0xb50b50,_0x589522){const _0x19fbf4=_0x5aa809;if(this['readyState']===_0x45a605[_0x19fbf4(0x30b)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x174cda=='function'?(_0x589522=_0x174cda,_0x174cda=_0xb50b50=void 0x0):typeof _0xb50b50==_0x19fbf4(0x1f7)&&(_0x589522=_0xb50b50,_0xb50b50=void 0x0),typeof _0x174cda=='number'&&(_0x174cda=_0x174cda['toString']()),this[_0x19fbf4(0x299)]!==_0x45a605['OPEN']){_0x508639(this,_0x174cda,_0x589522);return;}_0xb50b50===void 0x0&&(_0xb50b50=!this[_0x19fbf4(0x2e7)]),this[_0x19fbf4(0x1b4)]['ping'](_0x174cda||_0xe0c0d6,_0xb50b50,_0x589522);}[_0x5aa809(0x2f5)](_0x32106f,_0x13b9e2,_0x42b25a){const _0x150bdc=_0x5aa809;if(this['readyState']===_0x45a605[_0x150bdc(0x30b)])throw new Error(_0x150bdc(0x2fd));if(typeof _0x32106f==_0x150bdc(0x1f7)?(_0x42b25a=_0x32106f,_0x32106f=_0x13b9e2=void 0x0):typeof _0x13b9e2==_0x150bdc(0x1f7)&&(_0x42b25a=_0x13b9e2,_0x13b9e2=void 0x0),typeof _0x32106f==_0x150bdc(0x25e)&&(_0x32106f=_0x32106f[_0x150bdc(0x318)]()),this[_0x150bdc(0x299)]!==_0x45a605[_0x150bdc(0x192)]){_0x508639(this,_0x32106f,_0x42b25a);return;}_0x13b9e2===void 0x0&&(_0x13b9e2=!this[_0x150bdc(0x2e7)]),this[_0x150bdc(0x1b4)][_0x150bdc(0x2f5)](_0x32106f||_0xe0c0d6,_0x13b9e2,_0x42b25a);}['resume'](){const _0x2b9672=_0x5aa809;this[_0x2b9672(0x299)]===_0x45a605[_0x2b9672(0x30b)]||this[_0x2b9672(0x299)]===_0x45a605['CLOSED']||(this[_0x2b9672(0x22e)]=!0x1,this[_0x2b9672(0x1e1)][_0x2b9672(0x19b)][_0x2b9672(0x1c6)]||this['_socket']['resume']());}[_0x5aa809(0x1c1)](_0x16b19c,_0x5903ed,_0xf4b969){const _0x42bb46=_0x5aa809;if(this['readyState']===_0x45a605[_0x42bb46(0x30b)])throw new Error(_0x42bb46(0x2fd));if(typeof _0x5903ed==_0x42bb46(0x1f7)&&(_0xf4b969=_0x5903ed,_0x5903ed={}),typeof _0x16b19c==_0x42bb46(0x25e)&&(_0x16b19c=_0x16b19c['toString']()),this[_0x42bb46(0x299)]!==_0x45a605[_0x42bb46(0x192)]){_0x508639(this,_0x16b19c,_0xf4b969);return;}const _0x4c387c={'binary':typeof _0x16b19c!=_0x42bb46(0x18b),'mask':!this[_0x42bb46(0x2e7)],'compress':!0x0,'fin':!0x0,..._0x5903ed};this['_extensions'][_0x3be390[_0x42bb46(0x1b2)]]||(_0x4c387c['compress']=!0x1),this[_0x42bb46(0x1b4)][_0x42bb46(0x1c1)](_0x16b19c||_0xe0c0d6,_0x4c387c,_0xf4b969);}['terminate'](){const _0x13ade1=_0x5aa809;if(this[_0x13ade1(0x299)]!==_0x45a605[_0x13ade1(0x221)]){if(this['readyState']===_0x45a605[_0x13ade1(0x30b)]){_0x1bfe3a(this,this[_0x13ade1(0x1f6)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x13ade1(0x2a2)]&&(this[_0x13ade1(0x2d9)]=_0x45a605['CLOSING'],this[_0x13ade1(0x2a2)][_0x13ade1(0x24a)]());}}}Object[_0x5aa809(0x2ff)](_0x45a605,_0x5aa809(0x30b),{'enumerable':!0x0,'value':_0x4507ef[_0x5aa809(0x222)](_0x5aa809(0x30b))}),Object['defineProperty'](_0x45a605['prototype'],_0x5aa809(0x30b),{'enumerable':!0x0,'value':_0x4507ef[_0x5aa809(0x222)](_0x5aa809(0x30b))}),Object[_0x5aa809(0x2ff)](_0x45a605,'OPEN',{'enumerable':!0x0,'value':_0x4507ef['indexOf']('OPEN')}),Object[_0x5aa809(0x2ff)](_0x45a605['prototype'],_0x5aa809(0x192),{'enumerable':!0x0,'value':_0x4507ef[_0x5aa809(0x222)]('OPEN')}),Object[_0x5aa809(0x2ff)](_0x45a605,'CLOSING',{'enumerable':!0x0,'value':_0x4507ef['indexOf'](_0x5aa809(0x239))}),Object['defineProperty'](_0x45a605[_0x5aa809(0x2d2)],_0x5aa809(0x239),{'enumerable':!0x0,'value':_0x4507ef[_0x5aa809(0x222)]('CLOSING')}),Object[_0x5aa809(0x2ff)](_0x45a605,_0x5aa809(0x221),{'enumerable':!0x0,'value':_0x4507ef[_0x5aa809(0x222)](_0x5aa809(0x221))}),Object[_0x5aa809(0x2ff)](_0x45a605['prototype'],_0x5aa809(0x221),{'enumerable':!0x0,'value':_0x4507ef[_0x5aa809(0x222)](_0x5aa809(0x221))}),['binaryType','bufferedAmount',_0x5aa809(0x2f3),_0x5aa809(0x2d3),'protocol',_0x5aa809(0x299),_0x5aa809(0x1a7)]['forEach'](_0x473812=>{const _0x115dbe=_0x5aa809;Object[_0x115dbe(0x2ff)](_0x45a605[_0x115dbe(0x2d2)],_0x473812,{'enumerable':!0x0});}),[_0x5aa809(0x237),_0x5aa809(0x27c),_0x5aa809(0x28f),_0x5aa809(0x214)]['forEach'](_0x4ed536=>{const _0x29622e=_0x5aa809;Object[_0x29622e(0x2ff)](_0x45a605[_0x29622e(0x2d2)],'on'+_0x4ed536,{'enumerable':!0x0,'get'(){const _0x2721d3=_0x29622e;for(const _0x180c23 of this[_0x2721d3(0x188)](_0x4ed536))if(_0x180c23[_0x1ade3c])return _0x180c23[_0x36c63e];return null;},'set'(_0x1e1e01){const _0x1a00d=_0x29622e;for(const _0x1ef370 of this[_0x1a00d(0x188)](_0x4ed536))if(_0x1ef370[_0x1ade3c]){this[_0x1a00d(0x1a4)](_0x4ed536,_0x1ef370);break;}typeof _0x1e1e01=='function'&&this[_0x1a00d(0x31a)](_0x4ed536,_0x1e1e01,{[_0x1ade3c]:!0x0});}});}),_0x45a605[_0x5aa809(0x2d2)][_0x5aa809(0x31a)]=_0x17b7d2,_0x45a605['prototype']['removeEventListener']=_0x16c075,we=_0x45a605;function _0x9fecf3(_0x570740,_0x5114eb,_0x3a8909,_0x33bc1b){const _0x1d65d6=_0x5aa809,_0x5f1424={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3fa99b[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x33bc1b,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x1d65d6(0x30e),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x570740[_0x1d65d6(0x1d6)]=_0x5f1424['autoPong'],!_0x3fa99b[_0x1d65d6(0x28e)](_0x5f1424[_0x1d65d6(0x26f)]))throw new RangeError(_0x1d65d6(0x314)+_0x5f1424[_0x1d65d6(0x26f)]+_0x1d65d6(0x2bc)+_0x3fa99b['join'](',\x20')+')');let _0x20566d;if(_0x5114eb instanceof _0x3f6b1f)_0x20566d=_0x5114eb;else try{_0x20566d=new _0x3f6b1f(_0x5114eb);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x5114eb);}_0x20566d[_0x1d65d6(0x2e0)]==='http:'?_0x20566d[_0x1d65d6(0x2e0)]=_0x1d65d6(0x2a1):_0x20566d['protocol']===_0x1d65d6(0x226)&&(_0x20566d['protocol']='wss:'),_0x570740[_0x1d65d6(0x17f)]=_0x20566d['href'];const _0x381c23=_0x20566d['protocol']===_0x1d65d6(0x1de),_0x22428a=_0x20566d['protocol']===_0x1d65d6(0x2c4);let _0x52993a;if(_0x20566d[_0x1d65d6(0x2e0)]!==_0x1d65d6(0x2a1)&&!_0x381c23&&!_0x22428a?_0x52993a=_0x1d65d6(0x31f):_0x22428a&&!_0x20566d[_0x1d65d6(0x1ef)]?_0x52993a='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x20566d[_0x1d65d6(0x1b3)]&&(_0x52993a='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x52993a){const _0x8c62e0=new SyntaxError(_0x52993a);if(_0x570740[_0x1d65d6(0x1d8)]===0x0)throw _0x8c62e0;_0x55754d(_0x570740,_0x8c62e0);return;}const _0x31f8b0=_0x381c23?0x1bb:0x50,_0x4697cb=_0x3362d3(0x10)[_0x1d65d6(0x318)](_0x1d65d6(0x2da)),_0x4712f4=_0x381c23?_0x50666c[_0x1d65d6(0x208)]:_0x36013b[_0x1d65d6(0x208)],_0x825a70=new Set();let _0x590b92;if(_0x5f1424[_0x1d65d6(0x189)]=_0x5f1424['createConnection']||(_0x381c23?_0x47f4a6:_0x45eee9),_0x5f1424[_0x1d65d6(0x280)]=_0x5f1424[_0x1d65d6(0x280)]||_0x31f8b0,_0x5f1424['port']=_0x20566d[_0x1d65d6(0x2c0)]||_0x31f8b0,_0x5f1424[_0x1d65d6(0x2f6)]=_0x20566d[_0x1d65d6(0x333)][_0x1d65d6(0x301)]('[')?_0x20566d[_0x1d65d6(0x333)][_0x1d65d6(0x2ba)](0x1,-0x1):_0x20566d['hostname'],_0x5f1424[_0x1d65d6(0x295)]={..._0x5f1424['headers'],'Sec-WebSocket-Version':_0x5f1424[_0x1d65d6(0x26f)],'Sec-WebSocket-Key':_0x4697cb,'Connection':_0x1d65d6(0x324),'Upgrade':_0x1d65d6(0x2fa)},_0x5f1424[_0x1d65d6(0x2a4)]=_0x20566d[_0x1d65d6(0x1ef)]+_0x20566d[_0x1d65d6(0x19e)],_0x5f1424[_0x1d65d6(0x213)]=_0x5f1424[_0x1d65d6(0x241)],_0x5f1424[_0x1d65d6(0x19f)]&&(_0x590b92=new _0x3be390(_0x5f1424[_0x1d65d6(0x19f)]!==!0x0?_0x5f1424[_0x1d65d6(0x19f)]:{},!0x1,_0x5f1424[_0x1d65d6(0x317)]),_0x5f1424[_0x1d65d6(0x295)][_0x1d65d6(0x2c3)]=_0xe1969f({[_0x3be390[_0x1d65d6(0x1b2)]]:_0x590b92[_0x1d65d6(0x18e)]()})),_0x3a8909[_0x1d65d6(0x17b)]){for(const _0x1d0f82 of _0x3a8909){if(typeof _0x1d0f82!=_0x1d65d6(0x18b)||!_0x2a60d8[_0x1d65d6(0x242)](_0x1d0f82)||_0x825a70[_0x1d65d6(0x24d)](_0x1d0f82))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x825a70[_0x1d65d6(0x211)](_0x1d0f82);}_0x5f1424['headers'][_0x1d65d6(0x30c)]=_0x3a8909[_0x1d65d6(0x216)](',');}if(_0x5f1424[_0x1d65d6(0x1b8)]&&(_0x5f1424[_0x1d65d6(0x26f)]<0xd?_0x5f1424['headers']['Sec-WebSocket-Origin']=_0x5f1424[_0x1d65d6(0x1b8)]:_0x5f1424[_0x1d65d6(0x295)][_0x1d65d6(0x251)]=_0x5f1424['origin']),(_0x20566d['username']||_0x20566d[_0x1d65d6(0x199)])&&(_0x5f1424[_0x1d65d6(0x341)]=_0x20566d[_0x1d65d6(0x2f4)]+':'+_0x20566d[_0x1d65d6(0x199)]),_0x22428a){const _0x350a59=_0x5f1424[_0x1d65d6(0x2a4)]['split'](':');_0x5f1424[_0x1d65d6(0x33d)]=_0x350a59[0x0],_0x5f1424[_0x1d65d6(0x2a4)]=_0x350a59[0x1];}let _0x1f2059;if(_0x5f1424[_0x1d65d6(0x294)]){if(_0x570740[_0x1d65d6(0x1d8)]===0x0){_0x570740[_0x1d65d6(0x29e)]=_0x22428a,_0x570740[_0x1d65d6(0x17c)]=_0x381c23,_0x570740[_0x1d65d6(0x259)]=_0x22428a?_0x5f1424[_0x1d65d6(0x33d)]:_0x20566d[_0x1d65d6(0x2f6)];const _0xd6981=_0x33bc1b&&_0x33bc1b[_0x1d65d6(0x295)];if(_0x33bc1b={..._0x33bc1b,'headers':{}},_0xd6981){for(const [_0x160754,_0x506718]of Object[_0x1d65d6(0x260)](_0xd6981))_0x33bc1b[_0x1d65d6(0x295)][_0x160754[_0x1d65d6(0x2aa)]()]=_0x506718;}}else{if(_0x570740[_0x1d65d6(0x25a)](_0x1d65d6(0x313))===0x0){const _0x3fa50b=_0x22428a?_0x570740[_0x1d65d6(0x29e)]?_0x5f1424[_0x1d65d6(0x33d)]===_0x570740['_originalHostOrSocketPath']:!0x1:_0x570740['_originalIpc']?!0x1:_0x20566d['host']===_0x570740[_0x1d65d6(0x259)];(!_0x3fa50b||_0x570740[_0x1d65d6(0x17c)]&&!_0x381c23)&&(delete _0x5f1424[_0x1d65d6(0x295)]['authorization'],delete _0x5f1424[_0x1d65d6(0x295)][_0x1d65d6(0x32e)],_0x3fa50b||delete _0x5f1424['headers'][_0x1d65d6(0x2f6)],_0x5f1424[_0x1d65d6(0x341)]=void 0x0);}}_0x5f1424[_0x1d65d6(0x341)]&&!_0x33bc1b[_0x1d65d6(0x295)]['authorization']&&(_0x33bc1b['headers']['authorization']='Basic\x20'+Buffer['from'](_0x5f1424['auth'])[_0x1d65d6(0x318)](_0x1d65d6(0x2da))),_0x1f2059=_0x570740[_0x1d65d6(0x1f6)]=_0x4712f4(_0x5f1424),_0x570740[_0x1d65d6(0x1d8)]&&_0x570740[_0x1d65d6(0x209)](_0x1d65d6(0x313),_0x570740[_0x1d65d6(0x1a7)],_0x1f2059);}else _0x1f2059=_0x570740[_0x1d65d6(0x1f6)]=_0x4712f4(_0x5f1424);_0x5f1424[_0x1d65d6(0x213)]&&_0x1f2059['on'](_0x1d65d6(0x213),()=>{const _0x3f171a=_0x1d65d6;_0x1bfe3a(_0x570740,_0x1f2059,_0x3f171a(0x2e5));}),_0x1f2059['on'](_0x1d65d6(0x27c),_0x5e7141=>{const _0x401c7e=_0x1d65d6;_0x1f2059===null||_0x1f2059[_0x22d3a3]||(_0x1f2059=_0x570740[_0x401c7e(0x1f6)]=null,_0x55754d(_0x570740,_0x5e7141));}),_0x1f2059['on'](_0x1d65d6(0x320),_0x5735dc=>{const _0x2e8f70=_0x1d65d6,_0x268046=_0x5735dc[_0x2e8f70(0x295)]['location'],_0x5c69a5=_0x5735dc[_0x2e8f70(0x2ad)];if(_0x268046&&_0x5f1424[_0x2e8f70(0x294)]&&_0x5c69a5>=0x12c&&_0x5c69a5<0x190){if(++_0x570740[_0x2e8f70(0x1d8)]>_0x5f1424[_0x2e8f70(0x252)]){_0x1bfe3a(_0x570740,_0x1f2059,'Maximum\x20redirects\x20exceeded');return;}_0x1f2059[_0x2e8f70(0x184)]();let _0x4e4b3a;try{_0x4e4b3a=new _0x3f6b1f(_0x268046,_0x5114eb);}catch{const _0x4c5eef=new SyntaxError(_0x2e8f70(0x234)+_0x268046);_0x55754d(_0x570740,_0x4c5eef);return;}_0x9fecf3(_0x570740,_0x4e4b3a,_0x3a8909,_0x33bc1b);}else _0x570740[_0x2e8f70(0x209)](_0x2e8f70(0x21b),_0x1f2059,_0x5735dc)||_0x1bfe3a(_0x570740,_0x1f2059,_0x2e8f70(0x327)+_0x5735dc[_0x2e8f70(0x2ad)]);}),_0x1f2059['on'](_0x1d65d6(0x1b5),(_0x1df648,_0x3e0eae,_0x5397dd)=>{const _0x2cee6c=_0x1d65d6;if(_0x570740[_0x2cee6c(0x209)](_0x2cee6c(0x1b5),_0x1df648),_0x570740[_0x2cee6c(0x299)]!==_0x45a605[_0x2cee6c(0x30b)])return;_0x1f2059=_0x570740[_0x2cee6c(0x1f6)]=null;const _0x22edf3=_0x1df648[_0x2cee6c(0x295)][_0x2cee6c(0x1b5)];if(_0x22edf3===void 0x0||_0x22edf3[_0x2cee6c(0x2aa)]()!=='websocket'){_0x1bfe3a(_0x570740,_0x3e0eae,_0x2cee6c(0x2bf));return;}const _0x345d4e=_0x405429(_0x2cee6c(0x2db))[_0x2cee6c(0x244)](_0x4697cb+_0x394d9b)[_0x2cee6c(0x1bc)]('base64');if(_0x1df648[_0x2cee6c(0x295)][_0x2cee6c(0x235)]!==_0x345d4e){_0x1bfe3a(_0x570740,_0x3e0eae,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x56d6b0=_0x1df648[_0x2cee6c(0x295)][_0x2cee6c(0x257)];let _0x54acc9;if(_0x56d6b0!==void 0x0?_0x825a70[_0x2cee6c(0x281)]?_0x825a70['has'](_0x56d6b0)||(_0x54acc9=_0x2cee6c(0x218)):_0x54acc9=_0x2cee6c(0x27d):_0x825a70['size']&&(_0x54acc9=_0x2cee6c(0x182)),_0x54acc9){_0x1bfe3a(_0x570740,_0x3e0eae,_0x54acc9);return;}_0x56d6b0&&(_0x570740[_0x2cee6c(0x248)]=_0x56d6b0);const _0x525fb9=_0x1df648[_0x2cee6c(0x295)]['sec-websocket-extensions'];if(_0x525fb9!==void 0x0){if(!_0x590b92){_0x1bfe3a(_0x570740,_0x3e0eae,_0x2cee6c(0x325));return;}let _0x34a663;try{_0x34a663=_0x227e6f(_0x525fb9);}catch{_0x1bfe3a(_0x570740,_0x3e0eae,_0x2cee6c(0x223));return;}const _0xdebb72=Object[_0x2cee6c(0x228)](_0x34a663);if(_0xdebb72['length']!==0x1||_0xdebb72[0x0]!==_0x3be390[_0x2cee6c(0x1b2)]){_0x1bfe3a(_0x570740,_0x3e0eae,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x590b92[_0x2cee6c(0x2dd)](_0x34a663[_0x3be390[_0x2cee6c(0x1b2)]]);}catch{_0x1bfe3a(_0x570740,_0x3e0eae,_0x2cee6c(0x223));return;}_0x570740['_extensions'][_0x3be390['extensionName']]=_0x590b92;}_0x570740[_0x2cee6c(0x1e0)](_0x3e0eae,_0x5397dd,{'allowSynchronousEvents':_0x5f1424['allowSynchronousEvents'],'generateMask':_0x5f1424[_0x2cee6c(0x27a)],'maxPayload':_0x5f1424['maxPayload'],'skipUTF8Validation':_0x5f1424['skipUTF8Validation']});}),_0x5f1424[_0x1d65d6(0x240)]?_0x5f1424['finishRequest'](_0x1f2059,_0x570740):_0x1f2059[_0x1d65d6(0x1a9)]();}function _0x55754d(_0x6dd66a,_0x3e4ceb){const _0x52edc7=_0x5aa809;_0x6dd66a[_0x52edc7(0x2d9)]=_0x45a605[_0x52edc7(0x239)],_0x6dd66a[_0x52edc7(0x19a)]=!0x0,_0x6dd66a[_0x52edc7(0x209)](_0x52edc7(0x27c),_0x3e4ceb),_0x6dd66a[_0x52edc7(0x22c)]();}function _0x45eee9(_0x3a4f85){const _0x4807ec=_0x5aa809;return _0x3a4f85[_0x4807ec(0x2a4)]=_0x3a4f85[_0x4807ec(0x33d)],_0x5e9abf['connect'](_0x3a4f85);}function _0x47f4a6(_0x27a9ca){const _0x12af6=_0x5aa809;return _0x27a9ca[_0x12af6(0x2a4)]=void 0x0,!_0x27a9ca[_0x12af6(0x201)]&&_0x27a9ca[_0x12af6(0x201)]!==''&&(_0x27a9ca[_0x12af6(0x201)]=_0x5e9abf[_0x12af6(0x27b)](_0x27a9ca[_0x12af6(0x2f6)])?'':_0x27a9ca['host']),_0x485167['connect'](_0x27a9ca);}function _0x1bfe3a(_0x527186,_0x38f61d,_0x4f5901){const _0x390e3d=_0x5aa809;_0x527186[_0x390e3d(0x2d9)]=_0x45a605[_0x390e3d(0x239)];const _0x3d1fa0=new Error(_0x4f5901);Error[_0x390e3d(0x205)](_0x3d1fa0,_0x1bfe3a),_0x38f61d[_0x390e3d(0x1b9)]?(_0x38f61d[_0x22d3a3]=!0x0,_0x38f61d['abort'](),_0x38f61d['socket']&&!_0x38f61d[_0x390e3d(0x1d0)]['destroyed']&&_0x38f61d[_0x390e3d(0x1d0)][_0x390e3d(0x24a)](),process[_0x390e3d(0x1ff)](_0x55754d,_0x527186,_0x3d1fa0)):(_0x38f61d[_0x390e3d(0x24a)](_0x3d1fa0),_0x38f61d[_0x390e3d(0x232)](_0x390e3d(0x27c),_0x527186[_0x390e3d(0x209)][_0x390e3d(0x1e3)](_0x527186,_0x390e3d(0x27c))),_0x38f61d['once'](_0x390e3d(0x28f),_0x527186['emitClose'][_0x390e3d(0x1e3)](_0x527186)));}function _0x508639(_0x449cae,_0x2d46cd,_0x257cd8){const _0x4bcaa6=_0x5aa809;if(_0x2d46cd){const _0x4d31f4=_0x3c57b7(_0x2d46cd)?_0x2d46cd[_0x4bcaa6(0x281)]:_0x63ebb3(_0x2d46cd)[_0x4bcaa6(0x17b)];_0x449cae[_0x4bcaa6(0x2a2)]?_0x449cae[_0x4bcaa6(0x1b4)][_0x4bcaa6(0x25f)]+=_0x4d31f4:_0x449cae[_0x4bcaa6(0x1ea)]+=_0x4d31f4;}if(_0x257cd8){const _0x53351a=new Error(_0x4bcaa6(0x243)+_0x449cae[_0x4bcaa6(0x299)]+'\x20('+_0x4507ef[_0x449cae[_0x4bcaa6(0x299)]]+')');process[_0x4bcaa6(0x1ff)](_0x257cd8,_0x53351a);}}function _0x44a1ce(_0x533ca3,_0x5450f7){const _0x10c081=_0x5aa809,_0x120845=this[_0x23e9f8];_0x120845[_0x10c081(0x1c8)]=!0x0,_0x120845[_0x10c081(0x2a0)]=_0x5450f7,_0x120845['_closeCode']=_0x533ca3,_0x120845[_0x10c081(0x2a2)][_0x23e9f8]!==void 0x0&&(_0x120845['_socket'][_0x10c081(0x1a4)](_0x10c081(0x292),_0xf69320),process[_0x10c081(0x1ff)](_0x527006,_0x120845['_socket']),_0x533ca3===0x3ed?_0x120845['close']():_0x120845[_0x10c081(0x28f)](_0x533ca3,_0x5450f7));}function _0x5cda9b(){const _0x10f2d5=_0x5aa809,_0x23c898=this[_0x23e9f8];_0x23c898[_0x10f2d5(0x2d3)]||_0x23c898[_0x10f2d5(0x2a2)][_0x10f2d5(0x25c)]();}function _0x54d609(_0x2b54a3){const _0x125020=_0x5aa809,_0x5a5140=this[_0x23e9f8];_0x5a5140['_socket'][_0x23e9f8]!==void 0x0&&(_0x5a5140['_socket'][_0x125020(0x1a4)](_0x125020(0x292),_0xf69320),process[_0x125020(0x1ff)](_0x527006,_0x5a5140[_0x125020(0x2a2)]),_0x5a5140[_0x125020(0x28f)](_0x2b54a3[_0x5c7d09])),_0x5a5140[_0x125020(0x19a)]||(_0x5a5140['_errorEmitted']=!0x0,_0x5a5140[_0x125020(0x209)]('error',_0x2b54a3));}function _0x3774f9(){this[_0x23e9f8]['emitClose']();}function _0x3e9bdf(_0xdd23e0,_0x33edec){const _0x5d4472=_0x5aa809;this[_0x23e9f8][_0x5d4472(0x209)](_0x5d4472(0x214),_0xdd23e0,_0x33edec);}function _0x53a8b6(_0x2d8e30){const _0x4a9dd5=_0x5aa809,_0xe4eddd=this[_0x23e9f8];_0xe4eddd[_0x4a9dd5(0x1d6)]&&_0xe4eddd[_0x4a9dd5(0x2f5)](_0x2d8e30,!this[_0x4a9dd5(0x2e7)],_0x2bc9ce),_0xe4eddd[_0x4a9dd5(0x209)](_0x4a9dd5(0x1aa),_0x2d8e30);}function _0x270f1d(_0x291524){const _0x38988b=_0x5aa809;this[_0x23e9f8][_0x38988b(0x209)](_0x38988b(0x2f5),_0x291524);}function _0x527006(_0x98bd1e){const _0x44f848=_0x5aa809;_0x98bd1e[_0x44f848(0x25c)]();}function _0x4abb30(_0x18c2c3){const _0x572ac5=_0x5aa809,_0x2de664=this[_0x23e9f8];_0x2de664['readyState']!==_0x45a605[_0x572ac5(0x221)]&&(_0x2de664[_0x572ac5(0x299)]===_0x45a605[_0x572ac5(0x192)]&&(_0x2de664[_0x572ac5(0x2d9)]=_0x45a605[_0x572ac5(0x239)],_0x1d2345(_0x2de664)),this[_0x572ac5(0x2a2)][_0x572ac5(0x1a9)](),_0x2de664[_0x572ac5(0x19a)]||(_0x2de664['_errorEmitted']=!0x0,_0x2de664[_0x572ac5(0x209)]('error',_0x18c2c3)));}function _0x1d2345(_0x7ef2ba){const _0xa58395=_0x5aa809;_0x7ef2ba[_0xa58395(0x265)]=setTimeout(_0x7ef2ba[_0xa58395(0x2a2)]['destroy'][_0xa58395(0x1e3)](_0x7ef2ba[_0xa58395(0x2a2)]),_0x27a3dd);}function _0x4f5fa4(){const _0xd52dde=_0x5aa809,_0x1ec5a8=this[_0x23e9f8];this[_0xd52dde(0x1a4)](_0xd52dde(0x28f),_0x4f5fa4),this[_0xd52dde(0x1a4)](_0xd52dde(0x292),_0xf69320),this['removeListener'](_0xd52dde(0x1a9),_0xf2ba17),_0x1ec5a8[_0xd52dde(0x2d9)]=_0x45a605[_0xd52dde(0x239)];let _0x4e4d3d;!this[_0xd52dde(0x24f)]['endEmitted']&&!_0x1ec5a8[_0xd52dde(0x1c8)]&&!_0x1ec5a8['_receiver'][_0xd52dde(0x19b)][_0xd52dde(0x334)]&&(_0x4e4d3d=_0x1ec5a8[_0xd52dde(0x2a2)][_0xd52dde(0x1d5)]())!==null&&_0x1ec5a8[_0xd52dde(0x1e1)][_0xd52dde(0x2e9)](_0x4e4d3d),_0x1ec5a8[_0xd52dde(0x1e1)]['end'](),this[_0x23e9f8]=void 0x0,clearTimeout(_0x1ec5a8[_0xd52dde(0x265)]),_0x1ec5a8['_receiver']['_writableState'][_0xd52dde(0x22b)]||_0x1ec5a8[_0xd52dde(0x1e1)][_0xd52dde(0x19b)]['errorEmitted']?_0x1ec5a8[_0xd52dde(0x22c)]():(_0x1ec5a8['_receiver']['on']('error',_0x3774f9),_0x1ec5a8[_0xd52dde(0x1e1)]['on'](_0xd52dde(0x258),_0x3774f9));}function _0xf69320(_0x8ae247){const _0x5aa735=_0x5aa809;this[_0x23e9f8][_0x5aa735(0x1e1)][_0x5aa735(0x2e9)](_0x8ae247)||this[_0x5aa735(0x29d)]();}function _0xf2ba17(){const _0x3e7948=_0x5aa809,_0x5a6a4c=this[_0x23e9f8];_0x5a6a4c[_0x3e7948(0x2d9)]=_0x45a605[_0x3e7948(0x239)],_0x5a6a4c[_0x3e7948(0x1e1)][_0x3e7948(0x1a9)](),this[_0x3e7948(0x1a9)]();}function _0x299268(){const _0x43fa70=_0x5aa809,_0x3a9d4c=this[_0x23e9f8];this[_0x43fa70(0x1a4)]('error',_0x299268),this['on'](_0x43fa70(0x27c),_0x2bc9ce),_0x3a9d4c&&(_0x3a9d4c[_0x43fa70(0x2d9)]=_0x45a605['CLOSING'],this[_0x43fa70(0x24a)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x4a45b6}=oe;function _0x76de28(_0x24fbc8){const _0xd4b151=_0x4bf3;_0x24fbc8[_0xd4b151(0x209)](_0xd4b151(0x28f));}function _0x32d7ee(){const _0x4a36ae=_0x4bf3;!this[_0x4a36ae(0x23a)]&&this[_0x4a36ae(0x19b)]['finished']&&this[_0x4a36ae(0x24a)]();}function _0x1c112c(_0x2039dc){const _0x27618e=_0x4bf3;this[_0x27618e(0x1a4)](_0x27618e(0x27c),_0x1c112c),this[_0x27618e(0x24a)](),this['listenerCount'](_0x27618e(0x27c))===0x0&&this[_0x27618e(0x209)]('error',_0x2039dc);}function _0x41d215(_0x28b930,_0x8ff53a){const _0x1b6118=_0x4bf3;let _0x1292a3=!0x0;const _0x5eed65=new _0x4a45b6({..._0x8ff53a,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x28b930['on'](_0x1b6118(0x214),function(_0x5f30df,_0x4a34c4){const _0x42afaf=_0x1b6118,_0x34483e=!_0x4a34c4&&_0x5eed65['_readableState'][_0x42afaf(0x22f)]?_0x5f30df[_0x42afaf(0x318)]():_0x5f30df;_0x5eed65[_0x42afaf(0x273)](_0x34483e)||_0x28b930[_0x42afaf(0x29d)]();}),_0x28b930['once']('error',function(_0x5e3f77){const _0x3ce2ac=_0x1b6118;_0x5eed65['destroyed']||(_0x1292a3=!0x1,_0x5eed65[_0x3ce2ac(0x24a)](_0x5e3f77));}),_0x28b930[_0x1b6118(0x232)](_0x1b6118(0x28f),function(){const _0x2a96a6=_0x1b6118;_0x5eed65[_0x2a96a6(0x23a)]||_0x5eed65['push'](null);}),_0x5eed65['_destroy']=function(_0x20e33b,_0x116fd5){const _0x5ab3f8=_0x1b6118;if(_0x28b930[_0x5ab3f8(0x299)]===_0x28b930[_0x5ab3f8(0x221)]){_0x116fd5(_0x20e33b),process['nextTick'](_0x76de28,_0x5eed65);return;}let _0x43fac7=!0x1;_0x28b930[_0x5ab3f8(0x232)](_0x5ab3f8(0x27c),function(_0x1a0157){_0x43fac7=!0x0,_0x116fd5(_0x1a0157);}),_0x28b930[_0x5ab3f8(0x232)](_0x5ab3f8(0x28f),function(){const _0x56bb89=_0x5ab3f8;_0x43fac7||_0x116fd5(_0x20e33b),process[_0x56bb89(0x1ff)](_0x76de28,_0x5eed65);}),_0x1292a3&&_0x28b930[_0x5ab3f8(0x230)]();},_0x5eed65['_final']=function(_0x51cd49){const _0x135f6f=_0x1b6118;if(_0x28b930[_0x135f6f(0x299)]===_0x28b930[_0x135f6f(0x30b)]){_0x28b930[_0x135f6f(0x232)](_0x135f6f(0x237),function(){const _0x2b0d0f=_0x135f6f;_0x5eed65[_0x2b0d0f(0x283)](_0x51cd49);});return;}_0x28b930[_0x135f6f(0x2a2)]!==null&&(_0x28b930['_socket'][_0x135f6f(0x19b)][_0x135f6f(0x22b)]?(_0x51cd49(),_0x5eed65['_readableState'][_0x135f6f(0x194)]&&_0x5eed65[_0x135f6f(0x24a)]()):(_0x28b930[_0x135f6f(0x2a2)][_0x135f6f(0x232)]('finish',function(){_0x51cd49();}),_0x28b930[_0x135f6f(0x28f)]()));},_0x5eed65['_read']=function(){const _0x24a95f=_0x1b6118;_0x28b930[_0x24a95f(0x2d3)]&&_0x28b930[_0x24a95f(0x25c)]();},_0x5eed65[_0x1b6118(0x305)]=function(_0x399805,_0x4b254e,_0x19b31f){const _0x43b836=_0x1b6118;if(_0x28b930[_0x43b836(0x299)]===_0x28b930['CONNECTING']){_0x28b930[_0x43b836(0x232)]('open',function(){const _0x3a3c81=_0x43b836;_0x5eed65[_0x3a3c81(0x305)](_0x399805,_0x4b254e,_0x19b31f);});return;}_0x28b930[_0x43b836(0x1c1)](_0x399805,_0x19b31f);},_0x5eed65['on'](_0x1b6118(0x1a9),_0x32d7ee),_0x5eed65['on']('error',_0x1c112c),_0x5eed65;}return Oe=_0x41d215,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0xd8039d}=ae();function _0x339abe(_0x44f81a){const _0x5644fc=_0x4bf3,_0x6e805c=new Set();let _0x6f5129=-0x1,_0x3f8e8a=-0x1,_0x3fcc9e=0x0;for(_0x3fcc9e;_0x3fcc9e<_0x44f81a[_0x5644fc(0x17b)];_0x3fcc9e++){const _0x53c2d8=_0x44f81a[_0x5644fc(0x1d7)](_0x3fcc9e);if(_0x3f8e8a===-0x1&&_0xd8039d[_0x53c2d8]===0x1)_0x6f5129===-0x1&&(_0x6f5129=_0x3fcc9e);else{if(_0x3fcc9e!==0x0&&(_0x53c2d8===0x20||_0x53c2d8===0x9))_0x3f8e8a===-0x1&&_0x6f5129!==-0x1&&(_0x3f8e8a=_0x3fcc9e);else{if(_0x53c2d8===0x2c){if(_0x6f5129===-0x1)throw new SyntaxError(_0x5644fc(0x183)+_0x3fcc9e);_0x3f8e8a===-0x1&&(_0x3f8e8a=_0x3fcc9e);const _0x5aae4c=_0x44f81a[_0x5644fc(0x2ba)](_0x6f5129,_0x3f8e8a);if(_0x6e805c['has'](_0x5aae4c))throw new SyntaxError(_0x5644fc(0x2a7)+_0x5aae4c+_0x5644fc(0x2eb));_0x6e805c[_0x5644fc(0x211)](_0x5aae4c),_0x6f5129=_0x3f8e8a=-0x1;}else throw new SyntaxError(_0x5644fc(0x183)+_0x3fcc9e);}}}if(_0x6f5129===-0x1||_0x3f8e8a!==-0x1)throw new SyntaxError(_0x5644fc(0x308));const _0x212e42=_0x44f81a[_0x5644fc(0x2ba)](_0x6f5129,_0x3fcc9e);if(_0x6e805c['has'](_0x212e42))throw new SyntaxError('The\x20\x22'+_0x212e42+_0x5644fc(0x2eb));return _0x6e805c[_0x5644fc(0x211)](_0x212e42),_0x6e805c;}return Ce={'parse':_0x339abe},Ce;}var Te,rt;function Ft(){const _0x3bd09c=_0x4ec5cf;if(rt)return Te;rt=0x1;const _0x2bd3b3=nt,_0x896355=ot,{Duplex:_0x56cc05}=oe,{createHash:_0xea5c6d}=Le,_0x3c58c7=ct(),_0x9f02fe=he(),_0xcc5e6e=At(),_0x12e525=Pe(),{GUID:_0x3deb41,kWebSocket:_0x1d17b7}=H(),_0xb9a1e=/^[+/0-9A-Za-z]{22}==$/,_0x111e12=0x0,_0x50c397=0x1,_0x458304=0x2;class _0x2b0d2d extends _0x2bd3b3{constructor(_0x4a827c,_0x3da931){const _0x35531c=_0x4bf3;if(super(),_0x4a827c={'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':_0x12e525,..._0x4a827c},_0x4a827c[_0x35531c(0x2c0)]==null&&!_0x4a827c[_0x35531c(0x2c5)]&&!_0x4a827c['noServer']||_0x4a827c[_0x35531c(0x2c0)]!=null&&(_0x4a827c[_0x35531c(0x2c5)]||_0x4a827c[_0x35531c(0x1ee)])||_0x4a827c[_0x35531c(0x2c5)]&&_0x4a827c[_0x35531c(0x1ee)])throw new TypeError(_0x35531c(0x2f1));if(_0x4a827c[_0x35531c(0x2c0)]!=null?(this[_0x35531c(0x21f)]=_0x896355[_0x35531c(0x2ef)]((_0x1d779c,_0x10af9b)=>{const _0x581de6=_0x35531c,_0x2c2682=_0x896355['STATUS_CODES'][0x1aa];_0x10af9b[_0x581de6(0x26d)](0x1aa,{'Content-Length':_0x2c2682[_0x581de6(0x17b)],'Content-Type':'text/plain'}),_0x10af9b[_0x581de6(0x1a9)](_0x2c2682);}),this['_server'][_0x35531c(0x275)](_0x4a827c[_0x35531c(0x2c0)],_0x4a827c[_0x35531c(0x2f6)],_0x4a827c[_0x35531c(0x2ae)],_0x3da931)):_0x4a827c[_0x35531c(0x2c5)]&&(this['_server']=_0x4a827c[_0x35531c(0x2c5)]),this[_0x35531c(0x21f)]){const _0x46cceb=this[_0x35531c(0x209)][_0x35531c(0x1e3)](this,_0x35531c(0x28a));this[_0x35531c(0x322)]=_0x40b70e(this['_server'],{'listening':this[_0x35531c(0x209)][_0x35531c(0x1e3)](this,'listening'),'error':this[_0x35531c(0x209)][_0x35531c(0x1e3)](this,_0x35531c(0x27c)),'upgrade':(_0x68ad51,_0x486d69,_0x21a64d)=>{const _0x743504=_0x35531c;this[_0x743504(0x2c6)](_0x68ad51,_0x486d69,_0x21a64d,_0x46cceb);}});}_0x4a827c['perMessageDeflate']===!0x0&&(_0x4a827c['perMessageDeflate']={}),_0x4a827c[_0x35531c(0x2e8)]&&(this['clients']=new Set(),this[_0x35531c(0x195)]=!0x1),this[_0x35531c(0x24c)]=_0x4a827c,this[_0x35531c(0x2ac)]=_0x111e12;}[_0x3bd09c(0x330)](){const _0x217c27=_0x3bd09c;if(this[_0x217c27(0x24c)]['noServer'])throw new Error(_0x217c27(0x197));return this[_0x217c27(0x21f)]?this[_0x217c27(0x21f)][_0x217c27(0x330)]():null;}[_0x3bd09c(0x28f)](_0x4b1ad3){const _0xf30650=_0x3bd09c;if(this[_0xf30650(0x2ac)]===_0x458304){_0x4b1ad3&&this[_0xf30650(0x232)](_0xf30650(0x28f),()=>{const _0x5715fb=_0xf30650;_0x4b1ad3(new Error(_0x5715fb(0x2a9)));}),process[_0xf30650(0x1ff)](_0xf7ed69,this);return;}if(_0x4b1ad3&&this[_0xf30650(0x232)](_0xf30650(0x28f),_0x4b1ad3),this[_0xf30650(0x2ac)]!==_0x50c397){if(this[_0xf30650(0x2ac)]=_0x50c397,this[_0xf30650(0x24c)][_0xf30650(0x1ee)]||this[_0xf30650(0x24c)][_0xf30650(0x2c5)])this[_0xf30650(0x21f)]&&(this[_0xf30650(0x322)](),this[_0xf30650(0x322)]=this['_server']=null),this[_0xf30650(0x210)]?this[_0xf30650(0x210)][_0xf30650(0x281)]?this[_0xf30650(0x195)]=!0x0:process[_0xf30650(0x1ff)](_0xf7ed69,this):process[_0xf30650(0x1ff)](_0xf7ed69,this);else{const _0x1db0b2=this[_0xf30650(0x21f)];this[_0xf30650(0x322)](),this['_removeListeners']=this[_0xf30650(0x21f)]=null,_0x1db0b2[_0xf30650(0x28f)](()=>{_0xf7ed69(this);});}}}[_0x3bd09c(0x286)](_0x58becc){const _0x234d5e=_0x3bd09c;if(this[_0x234d5e(0x24c)]['path']){const _0xc2be27=_0x58becc[_0x234d5e(0x1a7)]['indexOf']('?');if((_0xc2be27!==-0x1?_0x58becc['url'][_0x234d5e(0x2ba)](0x0,_0xc2be27):_0x58becc[_0x234d5e(0x1a7)])!==this[_0x234d5e(0x24c)][_0x234d5e(0x2a4)])return!0x1;}return!0x0;}[_0x3bd09c(0x2c6)](_0x47a99d,_0x1cde57,_0x332f70,_0x345aaa){const _0x33709c=_0x3bd09c;_0x1cde57['on'](_0x33709c(0x27c),_0x36c043);const _0x18535e=_0x47a99d[_0x33709c(0x295)][_0x33709c(0x298)],_0x41cfbe=_0x47a99d[_0x33709c(0x295)][_0x33709c(0x1b5)],_0x36e8e2=+_0x47a99d[_0x33709c(0x295)][_0x33709c(0x1e6)];if(_0x47a99d[_0x33709c(0x1a1)]!==_0x33709c(0x30e)){_0x7a6b41(this,_0x47a99d,_0x1cde57,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x41cfbe===void 0x0||_0x41cfbe[_0x33709c(0x2aa)]()!=='websocket'){_0x7a6b41(this,_0x47a99d,_0x1cde57,0x190,_0x33709c(0x2bf));return;}if(_0x18535e===void 0x0||!_0xb9a1e[_0x33709c(0x242)](_0x18535e)){_0x7a6b41(this,_0x47a99d,_0x1cde57,0x190,_0x33709c(0x261));return;}if(_0x36e8e2!==0xd&&_0x36e8e2!==0x8){_0x7a6b41(this,_0x47a99d,_0x1cde57,0x190,_0x33709c(0x219),{'Sec-WebSocket-Version':_0x33709c(0x1df)});return;}if(!this['shouldHandle'](_0x47a99d)){_0x3cee69(_0x1cde57,0x190);return;}const _0xa83922=_0x47a99d[_0x33709c(0x295)][_0x33709c(0x257)];let _0x837adb=new Set();if(_0xa83922!==void 0x0)try{_0x837adb=_0xcc5e6e['parse'](_0xa83922);}catch{_0x7a6b41(this,_0x47a99d,_0x1cde57,0x190,_0x33709c(0x1f0));return;}const _0x19a751=_0x47a99d[_0x33709c(0x295)][_0x33709c(0x1cf)],_0x3f4cc1={};if(this[_0x33709c(0x24c)][_0x33709c(0x19f)]&&_0x19a751!==void 0x0){const _0x5ab5ea=new _0x9f02fe(this[_0x33709c(0x24c)]['perMessageDeflate'],!0x0,this['options'][_0x33709c(0x317)]);try{const _0x48cc09=_0x3c58c7['parse'](_0x19a751);_0x48cc09[_0x9f02fe[_0x33709c(0x1b2)]]&&(_0x5ab5ea[_0x33709c(0x2dd)](_0x48cc09[_0x9f02fe[_0x33709c(0x1b2)]]),_0x3f4cc1[_0x9f02fe[_0x33709c(0x1b2)]]=_0x5ab5ea);}catch{_0x7a6b41(this,_0x47a99d,_0x1cde57,0x190,_0x33709c(0x217));return;}}if(this[_0x33709c(0x24c)]['verifyClient']){const _0x1a62bd={'origin':_0x47a99d[_0x33709c(0x295)][''+(_0x36e8e2===0x8?_0x33709c(0x20c):_0x33709c(0x1b8))],'secure':!!(_0x47a99d[_0x33709c(0x1d0)][_0x33709c(0x229)]||_0x47a99d['socket'][_0x33709c(0x335)]),'req':_0x47a99d};if(this[_0x33709c(0x24c)][_0x33709c(0x28d)]['length']===0x2){this['options'][_0x33709c(0x28d)](_0x1a62bd,(_0x4ed101,_0x125353,_0x30f74d,_0x440737)=>{const _0x3774d7=_0x33709c;if(!_0x4ed101)return _0x3cee69(_0x1cde57,_0x125353||0x191,_0x30f74d,_0x440737);this[_0x3774d7(0x33e)](_0x3f4cc1,_0x18535e,_0x837adb,_0x47a99d,_0x1cde57,_0x332f70,_0x345aaa);});return;}if(!this[_0x33709c(0x24c)][_0x33709c(0x28d)](_0x1a62bd))return _0x3cee69(_0x1cde57,0x191);}this[_0x33709c(0x33e)](_0x3f4cc1,_0x18535e,_0x837adb,_0x47a99d,_0x1cde57,_0x332f70,_0x345aaa);}[_0x3bd09c(0x33e)](_0x473d8e,_0xb3e070,_0xc4603c,_0x592410,_0x1d3e33,_0x5b9286,_0x10dd4f){const _0x4210e1=_0x3bd09c;if(!_0x1d3e33['readable']||!_0x1d3e33[_0x4210e1(0x2af)])return _0x1d3e33[_0x4210e1(0x24a)]();if(_0x1d3e33[_0x1d17b7])throw new Error(_0x4210e1(0x267));if(this['_state']>_0x111e12)return _0x3cee69(_0x1d3e33,0x1f7);const _0x1f3891=[_0x4210e1(0x2d6),_0x4210e1(0x300),_0x4210e1(0x187),_0x4210e1(0x1c0)+_0xea5c6d(_0x4210e1(0x2db))[_0x4210e1(0x244)](_0xb3e070+_0x3deb41)[_0x4210e1(0x1bc)](_0x4210e1(0x2da))],_0x588049=new this['options']['WebSocket'](null,void 0x0,this[_0x4210e1(0x24c)]);if(_0xc4603c[_0x4210e1(0x281)]){const _0x394975=this[_0x4210e1(0x24c)]['handleProtocols']?this['options']['handleProtocols'](_0xc4603c,_0x592410):_0xc4603c[_0x4210e1(0x2b4)]()[_0x4210e1(0x278)]()[_0x4210e1(0x302)];_0x394975&&(_0x1f3891[_0x4210e1(0x273)](_0x4210e1(0x1f9)+_0x394975),_0x588049['_protocol']=_0x394975);}if(_0x473d8e[_0x9f02fe['extensionName']]){const _0x24689a=_0x473d8e[_0x9f02fe[_0x4210e1(0x1b2)]]['params'],_0x52621a=_0x3c58c7['format']({[_0x9f02fe[_0x4210e1(0x1b2)]]:[_0x24689a]});_0x1f3891['push'](_0x4210e1(0x331)+_0x52621a),_0x588049[_0x4210e1(0x285)]=_0x473d8e;}this['emit']('headers',_0x1f3891,_0x592410),_0x1d3e33[_0x4210e1(0x2e9)](_0x1f3891[_0x4210e1(0x1b7)]('\x0d\x0a')[_0x4210e1(0x216)]('\x0d\x0a')),_0x1d3e33['removeListener'](_0x4210e1(0x27c),_0x36c043),_0x588049[_0x4210e1(0x1e0)](_0x1d3e33,_0x5b9286,{'allowSynchronousEvents':this[_0x4210e1(0x24c)][_0x4210e1(0x307)],'maxPayload':this['options'][_0x4210e1(0x317)],'skipUTF8Validation':this[_0x4210e1(0x24c)][_0x4210e1(0x23b)]}),this[_0x4210e1(0x210)]&&(this[_0x4210e1(0x210)]['add'](_0x588049),_0x588049['on'](_0x4210e1(0x28f),()=>{const _0x37b0eb=_0x4210e1;this['clients'][_0x37b0eb(0x255)](_0x588049),this[_0x37b0eb(0x195)]&&!this[_0x37b0eb(0x210)][_0x37b0eb(0x281)]&&process[_0x37b0eb(0x1ff)](_0xf7ed69,this);})),_0x10dd4f(_0x588049,_0x592410);}}Te=_0x2b0d2d;function _0x40b70e(_0x16411f,_0x562852){for(const _0x124574 of Object['keys'](_0x562852))_0x16411f['on'](_0x124574,_0x562852[_0x124574]);return function(){const _0x8eeca6=_0x4bf3;for(const _0x3372b1 of Object[_0x8eeca6(0x228)](_0x562852))_0x16411f['removeListener'](_0x3372b1,_0x562852[_0x3372b1]);};}function _0xf7ed69(_0x7a4409){const _0x55d07a=_0x3bd09c;_0x7a4409[_0x55d07a(0x2ac)]=_0x458304,_0x7a4409['emit'](_0x55d07a(0x28f));}function _0x36c043(){const _0x3f17e6=_0x3bd09c;this[_0x3f17e6(0x24a)]();}function _0x3cee69(_0x4e3037,_0x3a0071,_0xa5ab55,_0x30eb2e){const _0x28c91=_0x3bd09c;_0xa5ab55=_0xa5ab55||_0x896355[_0x28c91(0x191)][_0x3a0071],_0x30eb2e={'Connection':_0x28c91(0x28f),'Content-Type':_0x28c91(0x31c),'Content-Length':Buffer[_0x28c91(0x2ed)](_0xa5ab55),..._0x30eb2e},_0x4e3037[_0x28c91(0x232)](_0x28c91(0x258),_0x4e3037[_0x28c91(0x24a)]),_0x4e3037[_0x28c91(0x1a9)]('HTTP/1.1\x20'+_0x3a0071+'\x20'+_0x896355[_0x28c91(0x191)][_0x3a0071]+'\x0d\x0a'+Object[_0x28c91(0x228)](_0x30eb2e)[_0x28c91(0x225)](_0x41c0b3=>_0x41c0b3+':\x20'+_0x30eb2e[_0x41c0b3])[_0x28c91(0x216)]('\x0d\x0a')+_0x28c91(0x30a)+_0xa5ab55);}function _0x7a6b41(_0x51d2d0,_0x2bc2bf,_0x1fb1bd,_0x34c3cc,_0x326b57,_0x4fc7ca){const _0x5985fd=_0x3bd09c;if(_0x51d2d0[_0x5985fd(0x25a)](_0x5985fd(0x2e3))){const _0xbf1fed=new Error(_0x326b57);Error[_0x5985fd(0x205)](_0xbf1fed,_0x7a6b41),_0x51d2d0['emit'](_0x5985fd(0x2e3),_0xbf1fed,_0x1fb1bd,_0x2bc2bf);}else _0x3cee69(_0x1fb1bd,_0x34c3cc,_0x326b57,_0x4fc7ca);}return Te;}Ft();var jt=Object[_0x4ec5cf(0x17d)],Wt=(_0x258bdd,_0x4772fa,_0xcf1671,_0x20520a)=>{const _0x59fed6=_0x4ec5cf;for(var _0x5be309=_0x20520a>0x1?void 0x0:_0x20520a?jt(_0x4772fa,_0xcf1671):_0x4772fa,_0x2d9df7=_0x258bdd[_0x59fed6(0x17b)]-0x1,_0x11234f;_0x2d9df7>=0x0;_0x2d9df7--)(_0x11234f=_0x258bdd[_0x2d9df7])&&(_0x5be309=_0x11234f(_0x5be309)||_0x5be309);return _0x5be309;},qt=(_0xc94610,_0x2b59ef)=>(_0x1533e9,_0x2e0293)=>_0x2b59ef(_0x1533e9,_0x2e0293,_0xc94610);let ke=class extends A[_0x4ec5cf(0x2fb)]{constructor(_0x23ac49){super(),this['_configService']=_0x23ac49;}[_0x4ec5cf(0x33a)](_0xe222aa){const _0x197b9a=_0x4ec5cf;var _0x11614a;const _0x53fc2d=(_0x11614a=this[_0x197b9a(0x24e)]['getConfig'](fe))==null?void 0x0:_0x11614a['customHeaders'];try{const _0x48a76b=new $t(_0xe222aa,{'headers':{..._0x53fc2d}}),_0x326d7d=new A[(_0x197b9a(0x312))]();return{'URL':_0xe222aa,'close':(_0x55a894,_0x1192ea)=>{const _0x592ca7=_0x197b9a;_0x48a76b[_0x592ca7(0x28f)](_0x55a894,_0x1192ea),_0x326d7d['dispose']();},'send':_0x15e4e5=>{const _0x961cad=_0x197b9a;_0x48a76b[_0x961cad(0x1c1)](_0x15e4e5);},'open$':new V[(_0x197b9a(0x309))](_0x3856bc=>{const _0x103985=_0x197b9a,_0x10fff9=_0x1bb0d4=>_0x3856bc[_0x103985(0x278)](_0x1bb0d4);_0x48a76b['addEventListener'](_0x103985(0x237),_0x10fff9),_0x326d7d[_0x103985(0x211)](A[_0x103985(0x287)](()=>_0x48a76b[_0x103985(0x2b2)](_0x103985(0x237),_0x10fff9)));})['pipe'](V[_0x197b9a(0x27e)]()),'close$':new V['Observable'](_0x200285=>{const _0x5805d4=_0x197b9a,_0x5d7827=_0x867b65=>_0x200285['next'](_0x867b65);_0x48a76b['addEventListener'](_0x5805d4(0x28f),_0x5d7827),_0x326d7d['add'](A[_0x5805d4(0x287)](()=>_0x48a76b[_0x5805d4(0x2b2)](_0x5805d4(0x28f),_0x5d7827)));})[_0x197b9a(0x1d9)](V[_0x197b9a(0x27e)]()),'error$':new V[(_0x197b9a(0x309))](_0x195399=>{const _0xafd6ff=_0x197b9a,_0x519188=_0x5e5051=>_0x195399[_0xafd6ff(0x278)](_0x5e5051);_0x48a76b[_0xafd6ff(0x31a)](_0xafd6ff(0x27c),_0x519188),_0x326d7d[_0xafd6ff(0x211)](A[_0xafd6ff(0x287)](()=>_0x48a76b['removeEventListener'](_0xafd6ff(0x27c),_0x519188)));})['pipe'](V[_0x197b9a(0x27e)]()),'message$':new V['Observable'](_0x3e1570=>{const _0x5b1bad=_0x197b9a,_0xd20ca2=_0x19c580=>_0x3e1570[_0x5b1bad(0x278)](_0x19c580);_0x48a76b[_0x5b1bad(0x31a)]('message',_0xd20ca2),_0x326d7d[_0x5b1bad(0x211)](A['toDisposable'](()=>_0x48a76b[_0x5b1bad(0x2b2)](_0x5b1bad(0x214),_0xd20ca2)));})[_0x197b9a(0x1d9)](V[_0x197b9a(0x27e)]())};}catch(_0x176920){return console[_0x197b9a(0x27c)](_0x176920),null;}}};ke=Wt([qt(0x0,A[_0x4ec5cf(0x310)])],ke);var Gt=Object[_0x4ec5cf(0x2ff)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x1b33dc,_0x47c262,_0x2d76c0)=>_0x47c262 in _0x1b33dc?Gt(_0x1b33dc,_0x47c262,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d76c0}):_0x1b33dc[_0x47c262]=_0x2d76c0,zt=(_0x348ac8,_0x58b7f0,_0x1d0428,_0x27a7df)=>{const _0x346ac2=_0x4ec5cf;for(var _0x65a599=_0x27a7df>0x1?void 0x0:_0x27a7df?Vt(_0x58b7f0,_0x1d0428):_0x58b7f0,_0x50e9ef=_0x348ac8[_0x346ac2(0x17b)]-0x1,_0x53451e;_0x50e9ef>=0x0;_0x50e9ef--)(_0x53451e=_0x348ac8[_0x50e9ef])&&(_0x65a599=_0x53451e(_0x65a599)||_0x65a599);return _0x65a599;},Ne=(_0x49a6ed,_0x36753d)=>(_0x566124,_0x47815f)=>_0x36753d(_0x566124,_0x47815f,_0x49a6ed),Yt=(_0x470341,_0x5df80b,_0x31c6d8)=>Ht(_0x470341,_0x5df80b+'',_0x31c6d8);exports[_0x4ec5cf(0x227)]=class extends A[_0x4ec5cf(0x297)]{constructor(_0x2c2c33=Ct,_0x100603,_0x2ecee3,_0xdc64ad){const _0x4828d0=_0x4ec5cf;_0x2c2c33[_0x4828d0(0x2d5)]||_0x100603[_0x4828d0(0x269)](_0x4828d0(0x204)),super(),this['_configService']=_0x2ecee3,this[_0x4828d0(0x296)]=_0xdc64ad,this[_0x4828d0(0x24e)][_0x4828d0(0x329)](fe,_0x2c2c33);}[_0x4ec5cf(0x2a3)](){this['_registerDependencies']();}[_0x4ec5cf(0x1e2)](){const _0x382d0f=_0x4ec5cf;A[_0x382d0f(0x289)](this[_0x382d0f(0x296)],[[it[_0x382d0f(0x236)],{'useClass':ke}]]);}},Yt(exports[_0x4ec5cf(0x227)],'pluginName',_0x4ec5cf(0x247)),exports['UniverCollaborationClientNodePlugin']=zt([A['DependentOn'](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x4ec5cf(0x262)]),Ne(0x2,A[_0x4ec5cf(0x310)]),Ne(0x3,A[_0x4ec5cf(0x202)](A[_0x4ec5cf(0x256)]))],exports[_0x4ec5cf(0x227)]);var Kt=Object[_0x4ec5cf(0x17d)],Xt=(_0x483a97,_0x4ba6ef,_0xd2dea0,_0x16d810)=>{const _0x4587cd=_0x4ec5cf;for(var _0xb2b0a2=_0x16d810>0x1?void 0x0:_0x16d810?Kt(_0x4ba6ef,_0xd2dea0):_0x4ba6ef,_0x4968e5=_0x483a97[_0x4587cd(0x17b)]-0x1,_0x318a06;_0x4968e5>=0x0;_0x4968e5--)(_0x318a06=_0x483a97[_0x4968e5])&&(_0xb2b0a2=_0x318a06(_0xb2b0a2)||_0xb2b0a2);return _0xb2b0a2;},ne=(_0xdc04fa,_0x32d8d6)=>(_0x360983,_0x4174c3)=>_0x32d8d6(_0x360983,_0x4174c3,_0xdc04fa);exports['NodeCollaborationSocketService']=class extends st[_0x4ec5cf(0x1c2)]{constructor(_0x3c0879,_0x4fcf46,_0x463f7c,_0x5baa9a,_0x4aa266){const _0x17b644=_0x4ec5cf;super(_0x3c0879,_0x4fcf46,_0x463f7c,_0x5baa9a,_0x4aa266);const _0x25aba8=this[_0x17b644(0x24e)][_0x17b644(0x33f)](fe);this['_httpService'][_0x17b644(0x1cb)]({'interceptor':(_0x19821c,_0x3de18a)=>{const _0x3f6b18=_0x17b644;var _0xe60f92;const _0x48ef14=_0x19821c[_0x3f6b18(0x295)];return(_0xe60f92=_0x25aba8==null?void 0x0:_0x25aba8[_0x3f6b18(0x2d5)])!=null&&_0xe60f92['cookie']&&_0x48ef14[_0x3f6b18(0x1e4)](_0x3f6b18(0x2c8),_0x25aba8['customHeaders']['cookie']),_0x3de18a(_0x19821c);}});}async['createSocket'](_0x423586){const _0x117e06=_0x4ec5cf;return this[_0x117e06(0x276)](_0x423586);}},exports[_0x4ec5cf(0x332)]=Xt([ne(0x0,A[_0x4ec5cf(0x202)](A[_0x4ec5cf(0x256)])),ne(0x1,A[_0x4ec5cf(0x202)](it[_0x4ec5cf(0x1c4)])),ne(0x2,A[_0x4ec5cf(0x310)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x4ec5cf(0x2f7)])],exports['NodeCollaborationSocketService']),exports[_0x4ec5cf(0x1f4)]=fe;
|