@univerjs-pro/collaboration-client-node 0.8.3-nightly.202507021607 → 0.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x32ca07=_0x4d67;(function(_0x577fd5,_0x4b65af){const _0x4ef846=_0x4d67,_0x1f1fc5=_0x577fd5();while(!![]){try{const _0x3fc41e=parseInt(_0x4ef846(0x1d1))/0x1*(-parseInt(_0x4ef846(0x166))/0x2)+parseInt(_0x4ef846(0x2e0))/0x3*(parseInt(_0x4ef846(0x1ab))/0x4)+-parseInt(_0x4ef846(0x194))/0x5+-parseInt(_0x4ef846(0x16d))/0x6*(-parseInt(_0x4ef846(0x1bf))/0x7)+-parseInt(_0x4ef846(0x235))/0x8+parseInt(_0x4ef846(0x13b))/0x9*(-parseInt(_0x4ef846(0x24b))/0xa)+parseInt(_0x4ef846(0x1be))/0xb*(parseInt(_0x4ef846(0x138))/0xc);if(_0x3fc41e===_0x4b65af)break;else _0x1f1fc5['push'](_0x1f1fc5['shift']());}catch(_0x508087){_0x1f1fc5['push'](_0x1f1fc5['shift']());}}}(_0x1760,0x62cf0));Object[_0x32ca07(0x2bc)](exports,Symbol[_0x32ca07(0x2b6)],{'value':_0x32ca07(0x1f7)});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=_0x32ca07(0x13d),Ct={'customHeaders':{}};function Tt(_0x16f7b4){const _0x1b3b6e=_0x32ca07;return _0x16f7b4&&_0x16f7b4[_0x1b3b6e(0x287)]&&Object[_0x1b3b6e(0x1e0)]['hasOwnProperty'][_0x1b3b6e(0x148)](_0x16f7b4,_0x1b3b6e(0x19e))?_0x16f7b4[_0x1b3b6e(0x19e)]:_0x16f7b4;}function at(_0x5b539f){const _0x2509dd=_0x32ca07;if(Object[_0x2509dd(0x1e0)][_0x2509dd(0x266)][_0x2509dd(0x148)](_0x5b539f,'__esModule'))return _0x5b539f;var _0x214c90=_0x5b539f['default'];if(typeof _0x214c90=='function'){var _0x1ecdd0=function _0x80369(){const _0x335f8e=_0x2509dd;return this instanceof _0x80369?Reflect['construct'](_0x214c90,arguments,this[_0x335f8e(0x21b)]):_0x214c90[_0x335f8e(0x1f2)](this,arguments);};_0x1ecdd0[_0x2509dd(0x1e0)]=_0x214c90['prototype'];}else _0x1ecdd0={};return Object['defineProperty'](_0x1ecdd0,'__esModule',{'value':!0x0}),Object[_0x2509dd(0x160)](_0x5b539f)['forEach'](function(_0x13f2ad){const _0x324022=_0x2509dd;var _0x420084=Object[_0x324022(0x2c0)](_0x5b539f,_0x13f2ad);Object[_0x324022(0x2bc)](_0x1ecdd0,_0x13f2ad,_0x420084[_0x324022(0x1ad)]?_0x420084:{'enumerable':!0x0,'get':function(){return _0x5b539f[_0x13f2ad];}});}),_0x1ecdd0;}var se={'exports':{}},ge,Ge;function H(){const _0x3bb088=_0x32ca07;if(Ge)return ge;Ge=0x1;const _0x1eaa72=['nodebuffer',_0x3bb088(0x1de),'fragments'],_0xe4d325=typeof Blob<'u';return _0xe4d325&&_0x1eaa72[_0x3bb088(0x17d)]('blob'),ge={'BINARY_TYPES':_0x1eaa72,'EMPTY_BUFFER':Buffer[_0x3bb088(0x211)](0x0),'GUID':_0x3bb088(0x276),'hasBlob':_0xe4d325,'kForOnEventAttribute':Symbol(_0x3bb088(0x1d6)),'kListener':Symbol(_0x3bb088(0x1bd)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x32ca07(0x26f)](Object[_0x32ca07(0x2bc)]({'__proto__':null,'default':Nt},Symbol[_0x32ca07(0x2b6)],{'value':_0x32ca07(0x1f7)})),Lt=at(kt);var Ve;function ce(){const _0x33e659=_0x32ca07;if(Ve)return se[_0x33e659(0x18d)];Ve=0x1;const {EMPTY_BUFFER:_0x85b40b}=H(),_0x1843b4=Buffer[Symbol[_0x33e659(0x189)]];function _0x492137(_0x1dba81,_0x5ebd3a){const _0xb04579=_0x33e659;if(_0x1dba81['length']===0x0)return _0x85b40b;if(_0x1dba81[_0xb04579(0x16e)]===0x1)return _0x1dba81[0x0];const _0x37be50=Buffer[_0xb04579(0x150)](_0x5ebd3a);let _0x1980d1=0x0;for(let _0x23d6c6=0x0;_0x23d6c6<_0x1dba81[_0xb04579(0x16e)];_0x23d6c6++){const _0x5ebd72=_0x1dba81[_0x23d6c6];_0x37be50[_0xb04579(0x18c)](_0x5ebd72,_0x1980d1),_0x1980d1+=_0x5ebd72['length'];}return _0x1980d1<_0x5ebd3a?new _0x1843b4(_0x37be50[_0xb04579(0x215)],_0x37be50[_0xb04579(0x277)],_0x1980d1):_0x37be50;}function _0x20c500(_0x61c258,_0x4e186e,_0x2be85d,_0xbd0bbf,_0x8077ff){for(let _0x5450a4=0x0;_0x5450a4<_0x8077ff;_0x5450a4++)_0x2be85d[_0xbd0bbf+_0x5450a4]=_0x61c258[_0x5450a4]^_0x4e186e[_0x5450a4&0x3];}function _0x47978a(_0x32d9b7,_0x841d88){const _0x45e1f6=_0x33e659;for(let _0x51a895=0x0;_0x51a895<_0x32d9b7[_0x45e1f6(0x16e)];_0x51a895++)_0x32d9b7[_0x51a895]^=_0x841d88[_0x51a895&0x3];}function _0x2842fb(_0x54b060){const _0x518a4f=_0x33e659;return _0x54b060[_0x518a4f(0x16e)]===_0x54b060[_0x518a4f(0x215)][_0x518a4f(0x158)]?_0x54b060['buffer']:_0x54b060[_0x518a4f(0x215)][_0x518a4f(0x2aa)](_0x54b060[_0x518a4f(0x277)],_0x54b060[_0x518a4f(0x277)]+_0x54b060[_0x518a4f(0x16e)]);}function _0x570b30(_0x13271c){const _0x512d40=_0x33e659;if(_0x570b30[_0x512d40(0x230)]=!0x0,Buffer[_0x512d40(0x2f6)](_0x13271c))return _0x13271c;let _0x1dbb8b;return _0x13271c instanceof ArrayBuffer?_0x1dbb8b=new _0x1843b4(_0x13271c):ArrayBuffer[_0x512d40(0x14c)](_0x13271c)?_0x1dbb8b=new _0x1843b4(_0x13271c[_0x512d40(0x215)],_0x13271c['byteOffset'],_0x13271c[_0x512d40(0x158)]):(_0x1dbb8b=Buffer[_0x512d40(0x19f)](_0x13271c),_0x570b30[_0x512d40(0x230)]=!0x1),_0x1dbb8b;}if(se['exports']={'concat':_0x492137,'mask':_0x20c500,'toArrayBuffer':_0x2842fb,'toBuffer':_0x570b30,'unmask':_0x47978a},!process[_0x33e659(0x1cf)][_0x33e659(0x20d)])try{const _0x10e959=Lt;se[_0x33e659(0x18d)][_0x33e659(0x28e)]=function(_0x44dcc3,_0xf9c441,_0xfba2db,_0x28e4b8,_0x421a9c){const _0x25586b=_0x33e659;_0x421a9c<0x30?_0x20c500(_0x44dcc3,_0xf9c441,_0xfba2db,_0x28e4b8,_0x421a9c):_0x10e959[_0x25586b(0x28e)](_0x44dcc3,_0xf9c441,_0xfba2db,_0x28e4b8,_0x421a9c);},se[_0x33e659(0x18d)][_0x33e659(0x241)]=function(_0x42126d,_0x589c7d){const _0x56968e=_0x33e659;_0x42126d[_0x56968e(0x16e)]<0x20?_0x47978a(_0x42126d,_0x589c7d):_0x10e959[_0x56968e(0x241)](_0x42126d,_0x589c7d);};}catch{}return se[_0x33e659(0x18d)];}var ye,He;function Pt(){const _0x1b62bb=_0x32ca07;if(He)return ye;He=0x1;const _0x108564=Symbol(_0x1b62bb(0x24c)),_0x62ba52=Symbol(_0x1b62bb(0x2ad));class _0xb85c15{constructor(_0x2579c3){const _0x39cdb6=_0x1b62bb;this[_0x108564]=()=>{const _0x3ea241=_0x4d67;this[_0x3ea241(0x239)]--,this[_0x62ba52]();},this[_0x39cdb6(0x1ac)]=_0x2579c3||0x1/0x0,this[_0x39cdb6(0x20b)]=[],this[_0x39cdb6(0x239)]=0x0;}[_0x1b62bb(0x2cd)](_0x28de92){const _0x219ba5=_0x1b62bb;this[_0x219ba5(0x20b)][_0x219ba5(0x17d)](_0x28de92),this[_0x62ba52]();}[_0x62ba52](){const _0x10de7f=_0x1b62bb;if(this[_0x10de7f(0x239)]!==this[_0x10de7f(0x1ac)]&&this['jobs'][_0x10de7f(0x16e)]){const _0x40542f=this[_0x10de7f(0x20b)]['shift']();this['pending']++,_0x40542f(this[_0x108564]);}}}return ye=_0xb85c15,ye;}var ve,ze;function he(){const _0x319248=_0x32ca07;if(ze)return ve;ze=0x1;const _0x16585d=bt,_0xe6e5ed=ce(),_0x45241d=Pt(),{kStatusCode:_0x136f6c}=H(),_0x452705=Buffer[Symbol['species']],_0x34b646=Buffer[_0x319248(0x19f)]([0x0,0x0,0xff,0xff]),_0x40d63b=Symbol(_0x319248(0x285)),_0x5340f6=Symbol('total-length'),_0xb16ea5=Symbol(_0x319248(0x2f0)),_0x435302=Symbol(_0x319248(0x217)),_0x2dac4f=Symbol(_0x319248(0x24f));let _0x20168d;class _0x13b0e0{constructor(_0x5f0067,_0x3b42cf,_0x75eed){const _0x423534=_0x319248;if(this[_0x423534(0x244)]=_0x75eed|0x0,this['_options']=_0x5f0067||{},this[_0x423534(0x1f1)]=this[_0x423534(0x27a)][_0x423534(0x292)]!==void 0x0?this[_0x423534(0x27a)][_0x423534(0x292)]:0x400,this['_isServer']=!!_0x3b42cf,this[_0x423534(0x25e)]=null,this[_0x423534(0x229)]=null,this[_0x423534(0x173)]=null,!_0x20168d){const _0x46dbd1=this[_0x423534(0x27a)][_0x423534(0x141)]!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x20168d=new _0x45241d(_0x46dbd1);}}static get[_0x319248(0x279)](){return'permessage-deflate';}[_0x319248(0x257)](){const _0x229b52=_0x319248,_0x1b9f06={};return this[_0x229b52(0x27a)][_0x229b52(0x232)]&&(_0x1b9f06[_0x229b52(0x29a)]=!0x0),this[_0x229b52(0x27a)]['clientNoContextTakeover']&&(_0x1b9f06['client_no_context_takeover']=!0x0),this[_0x229b52(0x27a)][_0x229b52(0x1c6)]&&(_0x1b9f06[_0x229b52(0x142)]=this[_0x229b52(0x27a)][_0x229b52(0x1c6)]),this[_0x229b52(0x27a)]['clientMaxWindowBits']?_0x1b9f06['client_max_window_bits']=this[_0x229b52(0x27a)][_0x229b52(0x22a)]:this[_0x229b52(0x27a)][_0x229b52(0x22a)]==null&&(_0x1b9f06[_0x229b52(0x249)]=!0x0),_0x1b9f06;}['accept'](_0x32ef7a){const _0x4a539d=_0x319248;return _0x32ef7a=this['normalizeParams'](_0x32ef7a),this[_0x4a539d(0x173)]=this[_0x4a539d(0x18e)]?this[_0x4a539d(0x157)](_0x32ef7a):this[_0x4a539d(0x224)](_0x32ef7a),this[_0x4a539d(0x173)];}[_0x319248(0x290)](){const _0x4d27ed=_0x319248;if(this[_0x4d27ed(0x229)]&&(this[_0x4d27ed(0x229)][_0x4d27ed(0x2a8)](),this[_0x4d27ed(0x229)]=null),this[_0x4d27ed(0x25e)]){const _0x1533fa=this[_0x4d27ed(0x25e)][_0xb16ea5];this[_0x4d27ed(0x25e)][_0x4d27ed(0x2a8)](),this[_0x4d27ed(0x25e)]=null,_0x1533fa&&_0x1533fa(new Error(_0x4d27ed(0x164)));}}[_0x319248(0x157)](_0x11021b){const _0x2ee4f4=_0x319248,_0x539a03=this[_0x2ee4f4(0x27a)],_0x2f2730=_0x11021b[_0x2ee4f4(0x184)](_0x2d7c82=>!(_0x539a03['serverNoContextTakeover']===!0x1&&_0x2d7c82['server_no_context_takeover']||_0x2d7c82['server_max_window_bits']&&(_0x539a03[_0x2ee4f4(0x1c6)]===!0x1||typeof _0x539a03[_0x2ee4f4(0x1c6)]=='number'&&_0x539a03[_0x2ee4f4(0x1c6)]>_0x2d7c82[_0x2ee4f4(0x142)])||typeof _0x539a03[_0x2ee4f4(0x22a)]==_0x2ee4f4(0x271)&&!_0x2d7c82[_0x2ee4f4(0x249)]));if(!_0x2f2730)throw new Error(_0x2ee4f4(0x282));return _0x539a03['serverNoContextTakeover']&&(_0x2f2730[_0x2ee4f4(0x29a)]=!0x0),_0x539a03['clientNoContextTakeover']&&(_0x2f2730[_0x2ee4f4(0x2dc)]=!0x0),typeof _0x539a03[_0x2ee4f4(0x1c6)]==_0x2ee4f4(0x271)&&(_0x2f2730[_0x2ee4f4(0x142)]=_0x539a03[_0x2ee4f4(0x1c6)]),typeof _0x539a03[_0x2ee4f4(0x22a)]==_0x2ee4f4(0x271)?_0x2f2730[_0x2ee4f4(0x249)]=_0x539a03[_0x2ee4f4(0x22a)]:(_0x2f2730[_0x2ee4f4(0x249)]===!0x0||_0x539a03['clientMaxWindowBits']===!0x1)&&delete _0x2f2730['client_max_window_bits'],_0x2f2730;}['acceptAsClient'](_0x23291f){const _0x2c27f3=_0x319248,_0x10b464=_0x23291f[0x0];if(this[_0x2c27f3(0x27a)][_0x2c27f3(0x197)]===!0x1&&_0x10b464[_0x2c27f3(0x2dc)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x10b464['client_max_window_bits'])typeof this[_0x2c27f3(0x27a)][_0x2c27f3(0x22a)]=='number'&&(_0x10b464[_0x2c27f3(0x249)]=this[_0x2c27f3(0x27a)]['clientMaxWindowBits']);else{if(this['_options'][_0x2c27f3(0x22a)]===!0x1||typeof this[_0x2c27f3(0x27a)][_0x2c27f3(0x22a)]==_0x2c27f3(0x271)&&_0x10b464[_0x2c27f3(0x249)]>this[_0x2c27f3(0x27a)][_0x2c27f3(0x22a)])throw new Error(_0x2c27f3(0x1e3));}return _0x10b464;}[_0x319248(0x139)](_0x56e6b4){return _0x56e6b4['forEach'](_0xc1c4f8=>{const _0x24d255=_0x4d67;Object[_0x24d255(0x160)](_0xc1c4f8)[_0x24d255(0x2c6)](_0x18ac4b=>{const _0x5e7618=_0x24d255;let _0x16bc43=_0xc1c4f8[_0x18ac4b];if(_0x16bc43[_0x5e7618(0x16e)]>0x1)throw new Error(_0x5e7618(0x1b0)+_0x18ac4b+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x16bc43=_0x16bc43[0x0],_0x18ac4b==='client_max_window_bits'){if(_0x16bc43!==!0x0){const _0x46c210=+_0x16bc43;if(!Number['isInteger'](_0x46c210)||_0x46c210<0x8||_0x46c210>0xf)throw new TypeError(_0x5e7618(0x2a2)+_0x18ac4b+_0x5e7618(0x1a3)+_0x16bc43);_0x16bc43=_0x46c210;}else{if(!this[_0x5e7618(0x18e)])throw new TypeError(_0x5e7618(0x2a2)+_0x18ac4b+'\x22:\x20'+_0x16bc43);}}else{if(_0x18ac4b==='server_max_window_bits'){const _0x1402e8=+_0x16bc43;if(!Number[_0x5e7618(0x1f0)](_0x1402e8)||_0x1402e8<0x8||_0x1402e8>0xf)throw new TypeError(_0x5e7618(0x2a2)+_0x18ac4b+'\x22:\x20'+_0x16bc43);_0x16bc43=_0x1402e8;}else{if(_0x18ac4b===_0x5e7618(0x2dc)||_0x18ac4b===_0x5e7618(0x29a)){if(_0x16bc43!==!0x0)throw new TypeError(_0x5e7618(0x2a2)+_0x18ac4b+_0x5e7618(0x1a3)+_0x16bc43);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x18ac4b+'\x22');}}_0xc1c4f8[_0x18ac4b]=_0x16bc43;});}),_0x56e6b4;}[_0x319248(0x156)](_0x5ab6f0,_0x5c98db,_0x1c5240){const _0x129690=_0x319248;_0x20168d[_0x129690(0x2cd)](_0x43bea2=>{const _0x48be57=_0x129690;this[_0x48be57(0x2e6)](_0x5ab6f0,_0x5c98db,(_0x30c190,_0x57b8d9)=>{_0x43bea2(),_0x1c5240(_0x30c190,_0x57b8d9);});});}[_0x319248(0x25d)](_0x3a3ecc,_0x1d65b6,_0x43b44a){_0x20168d['add'](_0x350416=>{const _0x357609=_0x4d67;this[_0x357609(0x1ce)](_0x3a3ecc,_0x1d65b6,(_0x3663cb,_0x3fa264)=>{_0x350416(),_0x43b44a(_0x3663cb,_0x3fa264);});});}[_0x319248(0x2e6)](_0x35dd35,_0x3aa5bf,_0x101ce2){const _0x54c276=_0x319248,_0x383ba8=this[_0x54c276(0x18e)]?_0x54c276(0x153):_0x54c276(0x1bc);if(!this['_inflate']){const _0x46dbf5=_0x383ba8+_0x54c276(0x23b),_0x3813ff=typeof this[_0x54c276(0x173)][_0x46dbf5]!=_0x54c276(0x271)?_0x16585d[_0x54c276(0x20c)]:this[_0x54c276(0x173)][_0x46dbf5];this[_0x54c276(0x229)]=_0x16585d[_0x54c276(0x25c)]({...this[_0x54c276(0x27a)][_0x54c276(0x2ec)],'windowBits':_0x3813ff}),this[_0x54c276(0x229)][_0x40d63b]=this,this[_0x54c276(0x229)][_0x5340f6]=0x0,this[_0x54c276(0x229)][_0x435302]=[],this['_inflate']['on'](_0x54c276(0x24f),_0x389484),this[_0x54c276(0x229)]['on'](_0x54c276(0x14b),_0x3e47d0);}this[_0x54c276(0x229)][_0xb16ea5]=_0x101ce2,this[_0x54c276(0x229)]['write'](_0x35dd35),_0x3aa5bf&&this[_0x54c276(0x229)][_0x54c276(0x1dd)](_0x34b646),this[_0x54c276(0x229)]['flush'](()=>{const _0x5cf6b2=_0x54c276,_0x4ec0d4=this[_0x5cf6b2(0x229)][_0x2dac4f];if(_0x4ec0d4){this[_0x5cf6b2(0x229)]['close'](),this[_0x5cf6b2(0x229)]=null,_0x101ce2(_0x4ec0d4);return;}const _0x16d3bb=_0xe6e5ed[_0x5cf6b2(0x1d3)](this[_0x5cf6b2(0x229)][_0x435302],this[_0x5cf6b2(0x229)][_0x5340f6]);this[_0x5cf6b2(0x229)][_0x5cf6b2(0x179)][_0x5cf6b2(0x1a5)]?(this[_0x5cf6b2(0x229)][_0x5cf6b2(0x2a8)](),this[_0x5cf6b2(0x229)]=null):(this[_0x5cf6b2(0x229)][_0x5340f6]=0x0,this[_0x5cf6b2(0x229)][_0x435302]=[],_0x3aa5bf&&this[_0x5cf6b2(0x173)][_0x383ba8+'_no_context_takeover']&&this[_0x5cf6b2(0x229)]['reset']()),_0x101ce2(null,_0x16d3bb);});}[_0x319248(0x1ce)](_0x300e0a,_0x192b69,_0x5a3ff4){const _0x3e94b3=_0x319248,_0x5f200f=this[_0x3e94b3(0x18e)]?'server':_0x3e94b3(0x153);if(!this['_deflate']){const _0x3c904e=_0x5f200f+_0x3e94b3(0x23b),_0x13e66f=typeof this[_0x3e94b3(0x173)][_0x3c904e]!='number'?_0x16585d[_0x3e94b3(0x20c)]:this['params'][_0x3c904e];this[_0x3e94b3(0x25e)]=_0x16585d['createDeflateRaw']({...this['_options'][_0x3e94b3(0x2e9)],'windowBits':_0x13e66f}),this['_deflate'][_0x5340f6]=0x0,this[_0x3e94b3(0x25e)][_0x435302]=[],this['_deflate']['on'](_0x3e94b3(0x14b),_0x5c027c);}this[_0x3e94b3(0x25e)][_0xb16ea5]=_0x5a3ff4,this[_0x3e94b3(0x25e)][_0x3e94b3(0x1dd)](_0x300e0a),this[_0x3e94b3(0x25e)][_0x3e94b3(0x2da)](_0x16585d[_0x3e94b3(0x2ac)],()=>{const _0x396fc7=_0x3e94b3;if(!this['_deflate'])return;let _0x3f3459=_0xe6e5ed[_0x396fc7(0x1d3)](this['_deflate'][_0x435302],this[_0x396fc7(0x25e)][_0x5340f6]);_0x192b69&&(_0x3f3459=new _0x452705(_0x3f3459[_0x396fc7(0x215)],_0x3f3459[_0x396fc7(0x277)],_0x3f3459[_0x396fc7(0x16e)]-0x4)),this['_deflate'][_0xb16ea5]=null,this[_0x396fc7(0x25e)][_0x5340f6]=0x0,this[_0x396fc7(0x25e)][_0x435302]=[],_0x192b69&&this[_0x396fc7(0x173)][_0x5f200f+_0x396fc7(0x2e4)]&&this[_0x396fc7(0x25e)][_0x396fc7(0x275)](),_0x5a3ff4(null,_0x3f3459);});}}ve=_0x13b0e0;function _0x5c027c(_0x5cf761){const _0x794327=_0x319248;this[_0x435302][_0x794327(0x17d)](_0x5cf761),this[_0x5340f6]+=_0x5cf761['length'];}function _0x3e47d0(_0x4b68b0){const _0x1b7d82=_0x319248;if(this[_0x5340f6]+=_0x4b68b0[_0x1b7d82(0x16e)],this[_0x40d63b][_0x1b7d82(0x244)]<0x1||this[_0x5340f6]<=this[_0x40d63b][_0x1b7d82(0x244)]){this[_0x435302][_0x1b7d82(0x17d)](_0x4b68b0);return;}this[_0x2dac4f]=new RangeError(_0x1b7d82(0x2a0)),this[_0x2dac4f]['code']=_0x1b7d82(0x23a),this[_0x2dac4f][_0x136f6c]=0x3f1,this[_0x1b7d82(0x13c)]('data',_0x3e47d0),this['reset']();}function _0x389484(_0x228680){const _0x32b794=_0x319248;if(this[_0x40d63b][_0x32b794(0x229)]=null,this[_0x2dac4f]){this[_0xb16ea5](this[_0x2dac4f]);return;}_0x228680[_0x136f6c]=0x3ef,this[_0xb16ea5](_0x228680);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x32ca07(0x26f)](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0x32ca07(0x2b6)],{'value':_0x32ca07(0x1f7)})),Bt=at(Rt);var Ye;function ae(){const _0xd84c04=_0x32ca07;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x4c3a1c}=wt,{hasBlob:_0x32f36f}=H(),_0x28f8a6=[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 _0x48900e(_0x159b36){return _0x159b36>=0x3e8&&_0x159b36<=0x3f6&&_0x159b36!==0x3ec&&_0x159b36!==0x3ed&&_0x159b36!==0x3ee||_0x159b36>=0xbb8&&_0x159b36<=0x1387;}function _0x335748(_0x1fec35){const _0x3651b1=_0x4d67,_0x3b6ca6=_0x1fec35[_0x3651b1(0x16e)];let _0x3d6b04=0x0;for(;_0x3d6b04<_0x3b6ca6;)if((_0x1fec35[_0x3d6b04]&0x80)===0x0)_0x3d6b04++;else{if((_0x1fec35[_0x3d6b04]&0xe0)===0xc0){if(_0x3d6b04+0x1===_0x3b6ca6||(_0x1fec35[_0x3d6b04+0x1]&0xc0)!==0x80||(_0x1fec35[_0x3d6b04]&0xfe)===0xc0)return!0x1;_0x3d6b04+=0x2;}else{if((_0x1fec35[_0x3d6b04]&0xf0)===0xe0){if(_0x3d6b04+0x2>=_0x3b6ca6||(_0x1fec35[_0x3d6b04+0x1]&0xc0)!==0x80||(_0x1fec35[_0x3d6b04+0x2]&0xc0)!==0x80||_0x1fec35[_0x3d6b04]===0xe0&&(_0x1fec35[_0x3d6b04+0x1]&0xe0)===0x80||_0x1fec35[_0x3d6b04]===0xed&&(_0x1fec35[_0x3d6b04+0x1]&0xe0)===0xa0)return!0x1;_0x3d6b04+=0x3;}else{if((_0x1fec35[_0x3d6b04]&0xf8)===0xf0){if(_0x3d6b04+0x3>=_0x3b6ca6||(_0x1fec35[_0x3d6b04+0x1]&0xc0)!==0x80||(_0x1fec35[_0x3d6b04+0x2]&0xc0)!==0x80||(_0x1fec35[_0x3d6b04+0x3]&0xc0)!==0x80||_0x1fec35[_0x3d6b04]===0xf0&&(_0x1fec35[_0x3d6b04+0x1]&0xf0)===0x80||_0x1fec35[_0x3d6b04]===0xf4&&_0x1fec35[_0x3d6b04+0x1]>0x8f||_0x1fec35[_0x3d6b04]>0xf4)return!0x1;_0x3d6b04+=0x4;}else return!0x1;}}}return!0x0;}function _0x4a82c8(_0x4593e8){const _0x3b0264=_0x4d67;return _0x32f36f&&typeof _0x4593e8==_0x3b0264(0x2d4)&&typeof _0x4593e8[_0x3b0264(0x234)]=='function'&&typeof _0x4593e8[_0x3b0264(0x2df)]=='string'&&typeof _0x4593e8['stream']==_0x3b0264(0x1ff)&&(_0x4593e8[Symbol[_0x3b0264(0x2b6)]]===_0x3b0264(0x28a)||_0x4593e8[Symbol[_0x3b0264(0x2b6)]]===_0x3b0264(0x14d));}if(ie[_0xd84c04(0x18d)]={'isBlob':_0x4a82c8,'isValidStatusCode':_0x48900e,'isValidUTF8':_0x335748,'tokenChars':_0x28f8a6},_0x4c3a1c)ie['exports'][_0xd84c04(0x2f1)]=function(_0xe98158){return _0xe98158['length']<0x18?_0x335748(_0xe98158):_0x4c3a1c(_0xe98158);};else{if(!process[_0xd84c04(0x1cf)][_0xd84c04(0x1ca)])try{const _0x5ca0dd=Bt;ie[_0xd84c04(0x18d)]['isValidUTF8']=function(_0x11974c){const _0x4e2d49=_0xd84c04;return _0x11974c[_0x4e2d49(0x16e)]<0x20?_0x335748(_0x11974c):_0x5ca0dd(_0x11974c);};}catch{}}return ie['exports'];}var Se,Ke;function _0x4d67(_0x25d2f5,_0x5a1733){const _0x176019=_0x1760();return _0x4d67=function(_0x4d6793,_0xa0d25a){_0x4d6793=_0x4d6793-0x138;let _0x511b62=_0x176019[_0x4d6793];return _0x511b62;},_0x4d67(_0x25d2f5,_0x5a1733);}function lt(){const _0x479fff=_0x32ca07;if(Ke)return Se;Ke=0x1;const {Writable:_0x29b288}=oe,_0x8271c9=he(),{BINARY_TYPES:_0x1b86f5,EMPTY_BUFFER:_0x514ace,kStatusCode:_0x5252cc,kWebSocket:_0x37174c}=H(),{concat:_0x3d2577,toArrayBuffer:_0x5c3fdc,unmask:_0x2624a6}=ce(),{isValidStatusCode:_0x46284f,isValidUTF8:_0x459653}=ae(),_0x4dae8c=Buffer[Symbol[_0x479fff(0x189)]],_0x160810=0x0,_0x4b4e3b=0x1,_0x3ab74d=0x2,_0x3e4055=0x3,_0x32f451=0x4,_0x3487a4=0x5,_0x5954aa=0x6;class _0x537448 extends _0x29b288{constructor(_0x37300c={}){const _0x2fa0f5=_0x479fff;super(),this[_0x2fa0f5(0x209)]=_0x37300c['allowSynchronousEvents']!==void 0x0?_0x37300c[_0x2fa0f5(0x267)]:!0x0,this[_0x2fa0f5(0x245)]=_0x37300c[_0x2fa0f5(0x1ee)]||_0x1b86f5[0x0],this[_0x2fa0f5(0x140)]=_0x37300c[_0x2fa0f5(0x2b5)]||{},this['_isServer']=!!_0x37300c[_0x2fa0f5(0x288)],this[_0x2fa0f5(0x244)]=_0x37300c[_0x2fa0f5(0x2ae)]|0x0,this[_0x2fa0f5(0x2e8)]=!!_0x37300c[_0x2fa0f5(0x264)],this[_0x37174c]=void 0x0,this[_0x2fa0f5(0x15a)]=0x0,this['_buffers']=[],this[_0x2fa0f5(0x2c7)]=!0x1,this[_0x2fa0f5(0x1c2)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this['_masked']=!0x1,this['_fin']=!0x1,this[_0x2fa0f5(0x299)]=0x0,this['_totalPayloadLength']=0x0,this[_0x2fa0f5(0x1e2)]=0x0,this[_0x2fa0f5(0x15e)]=[],this[_0x2fa0f5(0x286)]=!0x1,this[_0x2fa0f5(0x2c1)]=!0x1,this['_state']=_0x160810;}[_0x479fff(0x180)](_0x50730b,_0x3edde1,_0x1c9fe8){const _0xb5127a=_0x479fff;if(this['_opcode']===0x8&&this[_0xb5127a(0x283)]==_0x160810)return _0x1c9fe8();this['_bufferedBytes']+=_0x50730b['length'],this[_0xb5127a(0x263)]['push'](_0x50730b),this[_0xb5127a(0x2d6)](_0x1c9fe8);}[_0x479fff(0x182)](_0x92fa35){const _0x312218=_0x479fff;if(this[_0x312218(0x15a)]-=_0x92fa35,_0x92fa35===this['_buffers'][0x0][_0x312218(0x16e)])return this['_buffers'][_0x312218(0x171)]();if(_0x92fa35<this[_0x312218(0x263)][0x0][_0x312218(0x16e)]){const _0x48a876=this[_0x312218(0x263)][0x0];return this[_0x312218(0x263)][0x0]=new _0x4dae8c(_0x48a876[_0x312218(0x215)],_0x48a876[_0x312218(0x277)]+_0x92fa35,_0x48a876[_0x312218(0x16e)]-_0x92fa35),new _0x4dae8c(_0x48a876['buffer'],_0x48a876[_0x312218(0x277)],_0x92fa35);}const _0x188a3e=Buffer[_0x312218(0x150)](_0x92fa35);do{const _0x19b39c=this[_0x312218(0x263)][0x0],_0x56c060=_0x188a3e[_0x312218(0x16e)]-_0x92fa35;_0x92fa35>=_0x19b39c['length']?_0x188a3e['set'](this[_0x312218(0x263)]['shift'](),_0x56c060):(_0x188a3e[_0x312218(0x18c)](new Uint8Array(_0x19b39c[_0x312218(0x215)],_0x19b39c[_0x312218(0x277)],_0x92fa35),_0x56c060),this[_0x312218(0x263)][0x0]=new _0x4dae8c(_0x19b39c[_0x312218(0x215)],_0x19b39c[_0x312218(0x277)]+_0x92fa35,_0x19b39c[_0x312218(0x16e)]-_0x92fa35)),_0x92fa35-=_0x19b39c['length'];}while(_0x92fa35>0x0);return _0x188a3e;}[_0x479fff(0x2d6)](_0x559274){const _0x37c95c=_0x479fff;this['_loop']=!0x0;do switch(this['_state']){case _0x160810:this[_0x37c95c(0x16b)](_0x559274);break;case _0x4b4e3b:this[_0x37c95c(0x272)](_0x559274);break;case _0x3ab74d:this[_0x37c95c(0x1bb)](_0x559274);break;case _0x3e4055:this[_0x37c95c(0x1fe)]();break;case _0x32f451:this['getData'](_0x559274);break;case _0x3487a4:case _0x5954aa:this[_0x37c95c(0x2c1)]=!0x1;return;}while(this[_0x37c95c(0x2c1)]);this[_0x37c95c(0x286)]||_0x559274();}['getInfo'](_0x28f215){const _0x13ceb7=_0x479fff;if(this[_0x13ceb7(0x15a)]<0x2){this[_0x13ceb7(0x2c1)]=!0x1;return;}const _0x2d35c2=this[_0x13ceb7(0x182)](0x2);if((_0x2d35c2[0x0]&0x30)!==0x0){const _0xf21a7c=this['createError'](RangeError,_0x13ceb7(0x1e7),!0x0,0x3ea,_0x13ceb7(0x143));_0x28f215(_0xf21a7c);return;}const _0x39fbbc=(_0x2d35c2[0x0]&0x40)===0x40;if(_0x39fbbc&&!this[_0x13ceb7(0x140)][_0x8271c9[_0x13ceb7(0x279)]]){const _0x2cafdb=this[_0x13ceb7(0x1b3)](RangeError,_0x13ceb7(0x254),!0x0,0x3ea,_0x13ceb7(0x161));_0x28f215(_0x2cafdb);return;}if(this['_fin']=(_0x2d35c2[0x0]&0x80)===0x80,this['_opcode']=_0x2d35c2[0x0]&0xf,this[_0x13ceb7(0x1c2)]=_0x2d35c2[0x1]&0x7f,this[_0x13ceb7(0x299)]===0x0){if(_0x39fbbc){const _0x473afb=this[_0x13ceb7(0x1b3)](RangeError,_0x13ceb7(0x254),!0x0,0x3ea,_0x13ceb7(0x161));_0x28f215(_0x473afb);return;}if(!this[_0x13ceb7(0x1c5)]){const _0x242889=this[_0x13ceb7(0x1b3)](RangeError,_0x13ceb7(0x259),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x28f215(_0x242889);return;}this[_0x13ceb7(0x299)]=this['_fragmented'];}else{if(this[_0x13ceb7(0x299)]===0x1||this[_0x13ceb7(0x299)]===0x2){if(this['_fragmented']){const _0x13111a=this['createError'](RangeError,_0x13ceb7(0x187)+this['_opcode'],!0x0,0x3ea,_0x13ceb7(0x15f));_0x28f215(_0x13111a);return;}this[_0x13ceb7(0x2c7)]=_0x39fbbc;}else{if(this['_opcode']>0x7&&this[_0x13ceb7(0x299)]<0xb){if(!this[_0x13ceb7(0x256)]){const _0x40e385=this['createError'](RangeError,_0x13ceb7(0x248),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x28f215(_0x40e385);return;}if(_0x39fbbc){const _0x3db88e=this[_0x13ceb7(0x1b3)](RangeError,_0x13ceb7(0x254),!0x0,0x3ea,_0x13ceb7(0x161));_0x28f215(_0x3db88e);return;}if(this[_0x13ceb7(0x1c2)]>0x7d||this[_0x13ceb7(0x299)]===0x8&&this[_0x13ceb7(0x1c2)]===0x1){const _0x483648=this[_0x13ceb7(0x1b3)](RangeError,_0x13ceb7(0x1af)+this['_payloadLength'],!0x0,0x3ea,_0x13ceb7(0x24e));_0x28f215(_0x483648);return;}}else{const _0x535e08=this[_0x13ceb7(0x1b3)](RangeError,_0x13ceb7(0x187)+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x28f215(_0x535e08);return;}}}if(!this['_fin']&&!this[_0x13ceb7(0x1c5)]&&(this['_fragmented']=this[_0x13ceb7(0x299)]),this['_masked']=(_0x2d35c2[0x1]&0x80)===0x80,this[_0x13ceb7(0x18e)]){if(!this[_0x13ceb7(0x243)]){const _0x2f10dd=this[_0x13ceb7(0x1b3)](RangeError,_0x13ceb7(0x228),!0x0,0x3ea,_0x13ceb7(0x16a));_0x28f215(_0x2f10dd);return;}}else{if(this[_0x13ceb7(0x243)]){const _0x3ea225=this[_0x13ceb7(0x1b3)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x13ceb7(0x193));_0x28f215(_0x3ea225);return;}}this['_payloadLength']===0x7e?this['_state']=_0x4b4e3b:this[_0x13ceb7(0x1c2)]===0x7f?this[_0x13ceb7(0x283)]=_0x3ab74d:this[_0x13ceb7(0x2e1)](_0x28f215);}[_0x479fff(0x272)](_0x5b1298){const _0x2533b4=_0x479fff;if(this[_0x2533b4(0x15a)]<0x2){this[_0x2533b4(0x2c1)]=!0x1;return;}this['_payloadLength']=this[_0x2533b4(0x182)](0x2)[_0x2533b4(0x2ca)](0x0),this[_0x2533b4(0x2e1)](_0x5b1298);}[_0x479fff(0x1bb)](_0x269573){const _0x367d9d=_0x479fff;if(this[_0x367d9d(0x15a)]<0x8){this[_0x367d9d(0x2c1)]=!0x1;return;}const _0x49b59d=this[_0x367d9d(0x182)](0x8),_0xeaf45e=_0x49b59d['readUInt32BE'](0x0);if(_0xeaf45e>Math[_0x367d9d(0x203)](0x2,0x15)-0x1){const _0x5b1dfa=this[_0x367d9d(0x1b3)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x269573(_0x5b1dfa);return;}this['_payloadLength']=_0xeaf45e*Math[_0x367d9d(0x203)](0x2,0x20)+_0x49b59d[_0x367d9d(0x15c)](0x4),this[_0x367d9d(0x2e1)](_0x269573);}[_0x479fff(0x2e1)](_0xdb6a24){const _0x33672c=_0x479fff;if(this[_0x33672c(0x1c2)]&&this[_0x33672c(0x299)]<0x8&&(this[_0x33672c(0x155)]+=this[_0x33672c(0x1c2)],this['_totalPayloadLength']>this['_maxPayload']&&this['_maxPayload']>0x0)){const _0x507318=this[_0x33672c(0x1b3)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0xdb6a24(_0x507318);return;}this['_masked']?this['_state']=_0x3e4055:this[_0x33672c(0x283)]=_0x32f451;}['getMask'](){const _0x3aedbe=_0x479fff;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this[_0x3aedbe(0x2a7)]=this[_0x3aedbe(0x182)](0x4),this['_state']=_0x32f451;}[_0x479fff(0x273)](_0x566319){const _0x3fb595=_0x479fff;let _0x507bcf=_0x514ace;if(this['_payloadLength']){if(this[_0x3fb595(0x15a)]<this[_0x3fb595(0x1c2)]){this['_loop']=!0x1;return;}_0x507bcf=this[_0x3fb595(0x182)](this['_payloadLength']),this[_0x3fb595(0x243)]&&(this[_0x3fb595(0x2a7)][0x0]|this[_0x3fb595(0x2a7)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x2624a6(_0x507bcf,this['_mask']);}if(this[_0x3fb595(0x299)]>0x7){this[_0x3fb595(0x1a2)](_0x507bcf,_0x566319);return;}if(this[_0x3fb595(0x2c7)]){this[_0x3fb595(0x283)]=_0x3487a4,this[_0x3fb595(0x156)](_0x507bcf,_0x566319);return;}_0x507bcf[_0x3fb595(0x16e)]&&(this[_0x3fb595(0x1e2)]=this[_0x3fb595(0x155)],this[_0x3fb595(0x15e)][_0x3fb595(0x17d)](_0x507bcf)),this['dataMessage'](_0x566319);}[_0x479fff(0x156)](_0x23c18d,_0xc6352c){const _0x21e270=_0x479fff;this[_0x21e270(0x140)][_0x8271c9[_0x21e270(0x279)]]['decompress'](_0x23c18d,this[_0x21e270(0x256)],(_0x325505,_0x42965e)=>{const _0x4491bf=_0x21e270;if(_0x325505)return _0xc6352c(_0x325505);if(_0x42965e[_0x4491bf(0x16e)]){if(this['_messageLength']+=_0x42965e['length'],this['_messageLength']>this[_0x4491bf(0x244)]&&this[_0x4491bf(0x244)]>0x0){const _0x5f3591=this[_0x4491bf(0x1b3)](RangeError,_0x4491bf(0x2a0),!0x1,0x3f1,_0x4491bf(0x23a));_0xc6352c(_0x5f3591);return;}this[_0x4491bf(0x15e)]['push'](_0x42965e);}this[_0x4491bf(0x1f3)](_0xc6352c),this['_state']===_0x160810&&this['startLoop'](_0xc6352c);});}[_0x479fff(0x1f3)](_0x27b886){const _0x4b95b9=_0x479fff;if(!this['_fin']){this[_0x4b95b9(0x283)]=_0x160810;return;}const _0x3cd635=this[_0x4b95b9(0x1e2)],_0x5a59e8=this[_0x4b95b9(0x15e)];if(this['_totalPayloadLength']=0x0,this[_0x4b95b9(0x1e2)]=0x0,this[_0x4b95b9(0x1c5)]=0x0,this[_0x4b95b9(0x15e)]=[],this[_0x4b95b9(0x299)]===0x2){let _0x576456;this[_0x4b95b9(0x245)]===_0x4b95b9(0x15d)?_0x576456=_0x3d2577(_0x5a59e8,_0x3cd635):this['_binaryType']===_0x4b95b9(0x1de)?_0x576456=_0x5c3fdc(_0x3d2577(_0x5a59e8,_0x3cd635)):this[_0x4b95b9(0x245)]==='blob'?_0x576456=new Blob(_0x5a59e8):_0x576456=_0x5a59e8,this['_allowSynchronousEvents']?(this[_0x4b95b9(0x29b)](_0x4b95b9(0x1dc),_0x576456,!0x0),this['_state']=_0x160810):(this[_0x4b95b9(0x283)]=_0x5954aa,setImmediate(()=>{const _0x260913=_0x4b95b9;this['emit'](_0x260913(0x1dc),_0x576456,!0x0),this['_state']=_0x160810,this[_0x260913(0x2d6)](_0x27b886);}));}else{const _0x48b59f=_0x3d2577(_0x5a59e8,_0x3cd635);if(!this[_0x4b95b9(0x2e8)]&&!_0x459653(_0x48b59f)){const _0x23150d=this[_0x4b95b9(0x1b3)](Error,_0x4b95b9(0x2a6),!0x0,0x3ef,_0x4b95b9(0x2c4));_0x27b886(_0x23150d);return;}this['_state']===_0x3487a4||this[_0x4b95b9(0x209)]?(this[_0x4b95b9(0x29b)](_0x4b95b9(0x1dc),_0x48b59f,!0x1),this[_0x4b95b9(0x283)]=_0x160810):(this[_0x4b95b9(0x283)]=_0x5954aa,setImmediate(()=>{const _0x390dde=_0x4b95b9;this[_0x390dde(0x29b)]('message',_0x48b59f,!0x1),this[_0x390dde(0x283)]=_0x160810,this[_0x390dde(0x2d6)](_0x27b886);}));}}[_0x479fff(0x1a2)](_0x141e89,_0x13298b){const _0x4119f1=_0x479fff;if(this[_0x4119f1(0x299)]===0x8){if(_0x141e89[_0x4119f1(0x16e)]===0x0)this[_0x4119f1(0x2c1)]=!0x1,this['emit'](_0x4119f1(0x297),0x3ed,_0x514ace),this['end']();else{const _0x3ba29a=_0x141e89['readUInt16BE'](0x0);if(!_0x46284f(_0x3ba29a)){const _0x423980=this[_0x4119f1(0x1b3)](RangeError,'invalid\x20status\x20code\x20'+_0x3ba29a,!0x0,0x3ea,_0x4119f1(0x2d7));_0x13298b(_0x423980);return;}const _0x1573c0=new _0x4dae8c(_0x141e89['buffer'],_0x141e89[_0x4119f1(0x277)]+0x2,_0x141e89[_0x4119f1(0x16e)]-0x2);if(!this['_skipUTF8Validation']&&!_0x459653(_0x1573c0)){const _0x22fd4c=this[_0x4119f1(0x1b3)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x4119f1(0x2c4));_0x13298b(_0x22fd4c);return;}this[_0x4119f1(0x2c1)]=!0x1,this[_0x4119f1(0x29b)](_0x4119f1(0x297),_0x3ba29a,_0x1573c0),this[_0x4119f1(0x1e6)]();}this[_0x4119f1(0x283)]=_0x160810;return;}this[_0x4119f1(0x209)]?(this[_0x4119f1(0x29b)](this[_0x4119f1(0x299)]===0x9?_0x4119f1(0x174):_0x4119f1(0x1f9),_0x141e89),this[_0x4119f1(0x283)]=_0x160810):(this[_0x4119f1(0x283)]=_0x5954aa,setImmediate(()=>{const _0x1af5c6=_0x4119f1;this[_0x1af5c6(0x29b)](this['_opcode']===0x9?_0x1af5c6(0x174):_0x1af5c6(0x1f9),_0x141e89),this[_0x1af5c6(0x283)]=_0x160810,this['startLoop'](_0x13298b);}));}[_0x479fff(0x1b3)](_0x2cdd4d,_0x4ac1a7,_0x21b7f1,_0x4958c6,_0x80d5aa){const _0xb6e04f=_0x479fff;this[_0xb6e04f(0x2c1)]=!0x1,this[_0xb6e04f(0x286)]=!0x0;const _0x5a4e2c=new _0x2cdd4d(_0x21b7f1?'Invalid\x20WebSocket\x20frame:\x20'+_0x4ac1a7:_0x4ac1a7);return Error['captureStackTrace'](_0x5a4e2c,this[_0xb6e04f(0x1b3)]),_0x5a4e2c[_0xb6e04f(0x1b6)]=_0x80d5aa,_0x5a4e2c[_0x5252cc]=_0x4958c6,_0x5a4e2c;}}return Se=_0x537448,Se;}var Ee,Xe;function ft(){const _0x1b052c=_0x32ca07;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x5746db}=oe,{randomFillSync:_0x1cfad8}=Le,_0x567bde=he(),{EMPTY_BUFFER:_0x37cd6e,kWebSocket:_0x5b331b,NOOP:_0xb870fc}=H(),{isBlob:_0x3ffc37,isValidStatusCode:_0x46a5de}=ae(),{mask:_0x3a9f4e,toBuffer:_0x3de9ae}=ce(),_0x2030c2=Symbol(_0x1b052c(0x2f3)),_0xebbf4f=Buffer['alloc'](0x4),_0x68dcc8=0x8*0x400;let _0x48865c,_0x2c49d2=_0x68dcc8;const _0x16dea6=0x0,_0x2f743d=0x1,_0x5b79b0=0x2;class _0x1bf921{constructor(_0x2b6027,_0x59c985,_0x456c4d){const _0x1a99a0=_0x1b052c;this[_0x1a99a0(0x140)]=_0x59c985||{},_0x456c4d&&(this[_0x1a99a0(0x29d)]=_0x456c4d,this[_0x1a99a0(0x152)]=Buffer['alloc'](0x4)),this[_0x1a99a0(0x265)]=_0x2b6027,this[_0x1a99a0(0x262)]=!0x0,this['_compress']=!0x1,this['_bufferedBytes']=0x0,this[_0x1a99a0(0x198)]=[],this[_0x1a99a0(0x283)]=_0x16dea6,this['onerror']=_0xb870fc,this[_0x5b331b]=void 0x0;}static[_0x1b052c(0x1cd)](_0x59f1a0,_0x4f6b61){const _0x10dc43=_0x1b052c;let _0x4b8aed,_0x17c6c5=!0x1,_0x443120=0x2,_0x3bc677=!0x1;_0x4f6b61[_0x10dc43(0x28e)]&&(_0x4b8aed=_0x4f6b61[_0x10dc43(0x269)]||_0xebbf4f,_0x4f6b61[_0x10dc43(0x2a3)]?_0x4f6b61[_0x10dc43(0x2a3)](_0x4b8aed):(_0x2c49d2===_0x68dcc8&&(_0x48865c===void 0x0&&(_0x48865c=Buffer[_0x10dc43(0x211)](_0x68dcc8)),_0x1cfad8(_0x48865c,0x0,_0x68dcc8),_0x2c49d2=0x0),_0x4b8aed[0x0]=_0x48865c[_0x2c49d2++],_0x4b8aed[0x1]=_0x48865c[_0x2c49d2++],_0x4b8aed[0x2]=_0x48865c[_0x2c49d2++],_0x4b8aed[0x3]=_0x48865c[_0x2c49d2++]),_0x3bc677=(_0x4b8aed[0x0]|_0x4b8aed[0x1]|_0x4b8aed[0x2]|_0x4b8aed[0x3])===0x0,_0x443120=0x6);let _0xfadf41;typeof _0x59f1a0==_0x10dc43(0x284)?(!_0x4f6b61['mask']||_0x3bc677)&&_0x4f6b61[_0x2030c2]!==void 0x0?_0xfadf41=_0x4f6b61[_0x2030c2]:(_0x59f1a0=Buffer[_0x10dc43(0x19f)](_0x59f1a0),_0xfadf41=_0x59f1a0[_0x10dc43(0x16e)]):(_0xfadf41=_0x59f1a0[_0x10dc43(0x16e)],_0x17c6c5=_0x4f6b61['mask']&&_0x4f6b61[_0x10dc43(0x230)]&&!_0x3bc677);let _0x314885=_0xfadf41;_0xfadf41>=0x10000?(_0x443120+=0x8,_0x314885=0x7f):_0xfadf41>0x7d&&(_0x443120+=0x2,_0x314885=0x7e);const _0x5dacde=Buffer[_0x10dc43(0x150)](_0x17c6c5?_0xfadf41+_0x443120:_0x443120);return _0x5dacde[0x0]=_0x4f6b61[_0x10dc43(0x17c)]?_0x4f6b61[_0x10dc43(0x23d)]|0x80:_0x4f6b61[_0x10dc43(0x23d)],_0x4f6b61['rsv1']&&(_0x5dacde[0x0]|=0x40),_0x5dacde[0x1]=_0x314885,_0x314885===0x7e?_0x5dacde[_0x10dc43(0x188)](_0xfadf41,0x2):_0x314885===0x7f&&(_0x5dacde[0x2]=_0x5dacde[0x3]=0x0,_0x5dacde[_0x10dc43(0x2d8)](_0xfadf41,0x4,0x6)),_0x4f6b61[_0x10dc43(0x28e)]?(_0x5dacde[0x1]|=0x80,_0x5dacde[_0x443120-0x4]=_0x4b8aed[0x0],_0x5dacde[_0x443120-0x3]=_0x4b8aed[0x1],_0x5dacde[_0x443120-0x2]=_0x4b8aed[0x2],_0x5dacde[_0x443120-0x1]=_0x4b8aed[0x3],_0x3bc677?[_0x5dacde,_0x59f1a0]:_0x17c6c5?(_0x3a9f4e(_0x59f1a0,_0x4b8aed,_0x5dacde,_0x443120,_0xfadf41),[_0x5dacde]):(_0x3a9f4e(_0x59f1a0,_0x4b8aed,_0x59f1a0,0x0,_0xfadf41),[_0x5dacde,_0x59f1a0])):[_0x5dacde,_0x59f1a0];}[_0x1b052c(0x2a8)](_0x4dbe9a,_0x4ffc45,_0xf3cdce,_0x44806a){const _0x50a092=_0x1b052c;let _0x1db014;if(_0x4dbe9a===void 0x0)_0x1db014=_0x37cd6e;else{if(typeof _0x4dbe9a!=_0x50a092(0x271)||!_0x46a5de(_0x4dbe9a))throw new TypeError(_0x50a092(0x2d9));if(_0x4ffc45===void 0x0||!_0x4ffc45[_0x50a092(0x16e)])_0x1db014=Buffer[_0x50a092(0x150)](0x2),_0x1db014[_0x50a092(0x188)](_0x4dbe9a,0x0);else{const _0x5a5cae=Buffer[_0x50a092(0x158)](_0x4ffc45);if(_0x5a5cae>0x7b)throw new RangeError(_0x50a092(0x2d1));_0x1db014=Buffer[_0x50a092(0x150)](0x2+_0x5a5cae),_0x1db014[_0x50a092(0x188)](_0x4dbe9a,0x0),typeof _0x4ffc45==_0x50a092(0x284)?_0x1db014['write'](_0x4ffc45,0x2):_0x1db014[_0x50a092(0x18c)](_0x4ffc45,0x2);}}const _0x54aad6={[_0x2030c2]:_0x1db014['length'],'fin':!0x0,'generateMask':this[_0x50a092(0x29d)],'mask':_0xf3cdce,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x50a092(0x283)]!==_0x16dea6?this[_0x50a092(0x2cc)]([this[_0x50a092(0x2a1)],_0x1db014,!0x1,_0x54aad6,_0x44806a]):this[_0x50a092(0x1b8)](_0x1bf921['frame'](_0x1db014,_0x54aad6),_0x44806a);}['ping'](_0x3dec79,_0x3938df,_0x39e8c9){const _0x276c5d=_0x1b052c;let _0x3beff3,_0x438d22;if(typeof _0x3dec79==_0x276c5d(0x284)?(_0x3beff3=Buffer[_0x276c5d(0x158)](_0x3dec79),_0x438d22=!0x1):_0x3ffc37(_0x3dec79)?(_0x3beff3=_0x3dec79[_0x276c5d(0x199)],_0x438d22=!0x1):(_0x3dec79=_0x3de9ae(_0x3dec79),_0x3beff3=_0x3dec79['length'],_0x438d22=_0x3de9ae[_0x276c5d(0x230)]),_0x3beff3>0x7d)throw new RangeError(_0x276c5d(0x1c1));const _0x591a54={[_0x2030c2]:_0x3beff3,'fin':!0x0,'generateMask':this[_0x276c5d(0x29d)],'mask':_0x3938df,'maskBuffer':this[_0x276c5d(0x152)],'opcode':0x9,'readOnly':_0x438d22,'rsv1':!0x1};_0x3ffc37(_0x3dec79)?this[_0x276c5d(0x283)]!==_0x16dea6?this[_0x276c5d(0x2cc)]([this[_0x276c5d(0x1d8)],_0x3dec79,!0x1,_0x591a54,_0x39e8c9]):this[_0x276c5d(0x1d8)](_0x3dec79,!0x1,_0x591a54,_0x39e8c9):this['_state']!==_0x16dea6?this[_0x276c5d(0x2cc)]([this['dispatch'],_0x3dec79,!0x1,_0x591a54,_0x39e8c9]):this[_0x276c5d(0x1b8)](_0x1bf921[_0x276c5d(0x1cd)](_0x3dec79,_0x591a54),_0x39e8c9);}[_0x1b052c(0x1f9)](_0x27fec4,_0x442ff0,_0x541486){const _0x590394=_0x1b052c;let _0x24da7c,_0x2ff28d;if(typeof _0x27fec4==_0x590394(0x284)?(_0x24da7c=Buffer[_0x590394(0x158)](_0x27fec4),_0x2ff28d=!0x1):_0x3ffc37(_0x27fec4)?(_0x24da7c=_0x27fec4[_0x590394(0x199)],_0x2ff28d=!0x1):(_0x27fec4=_0x3de9ae(_0x27fec4),_0x24da7c=_0x27fec4[_0x590394(0x16e)],_0x2ff28d=_0x3de9ae[_0x590394(0x230)]),_0x24da7c>0x7d)throw new RangeError(_0x590394(0x1c1));const _0x406faf={[_0x2030c2]:_0x24da7c,'fin':!0x0,'generateMask':this[_0x590394(0x29d)],'mask':_0x442ff0,'maskBuffer':this[_0x590394(0x152)],'opcode':0xa,'readOnly':_0x2ff28d,'rsv1':!0x1};_0x3ffc37(_0x27fec4)?this['_state']!==_0x16dea6?this[_0x590394(0x2cc)]([this[_0x590394(0x1d8)],_0x27fec4,!0x1,_0x406faf,_0x541486]):this['getBlobData'](_0x27fec4,!0x1,_0x406faf,_0x541486):this['_state']!==_0x16dea6?this[_0x590394(0x2cc)]([this[_0x590394(0x2a1)],_0x27fec4,!0x1,_0x406faf,_0x541486]):this['sendFrame'](_0x1bf921[_0x590394(0x1cd)](_0x27fec4,_0x406faf),_0x541486);}['send'](_0x3de3ae,_0x29d28c,_0x532159){const _0x41710a=_0x1b052c,_0x990d66=this[_0x41710a(0x140)][_0x567bde[_0x41710a(0x279)]];let _0x222988=_0x29d28c[_0x41710a(0x270)]?0x2:0x1,_0x40cd3c=_0x29d28c[_0x41710a(0x25d)],_0x20f4fa,_0x4efdca;typeof _0x3de3ae==_0x41710a(0x284)?(_0x20f4fa=Buffer[_0x41710a(0x158)](_0x3de3ae),_0x4efdca=!0x1):_0x3ffc37(_0x3de3ae)?(_0x20f4fa=_0x3de3ae[_0x41710a(0x199)],_0x4efdca=!0x1):(_0x3de3ae=_0x3de9ae(_0x3de3ae),_0x20f4fa=_0x3de3ae[_0x41710a(0x16e)],_0x4efdca=_0x3de9ae[_0x41710a(0x230)]),this[_0x41710a(0x262)]?(this[_0x41710a(0x262)]=!0x1,_0x40cd3c&&_0x990d66&&_0x990d66[_0x41710a(0x173)][_0x990d66['_isServer']?_0x41710a(0x29a):'client_no_context_takeover']&&(_0x40cd3c=_0x20f4fa>=_0x990d66[_0x41710a(0x1f1)]),this[_0x41710a(0x1ce)]=_0x40cd3c):(_0x40cd3c=!0x1,_0x222988=0x0),_0x29d28c[_0x41710a(0x17c)]&&(this[_0x41710a(0x262)]=!0x0);const _0xc3bad2={[_0x2030c2]:_0x20f4fa,'fin':_0x29d28c[_0x41710a(0x17c)],'generateMask':this[_0x41710a(0x29d)],'mask':_0x29d28c[_0x41710a(0x28e)],'maskBuffer':this[_0x41710a(0x152)],'opcode':_0x222988,'readOnly':_0x4efdca,'rsv1':_0x40cd3c};_0x3ffc37(_0x3de3ae)?this[_0x41710a(0x283)]!==_0x16dea6?this[_0x41710a(0x2cc)]([this[_0x41710a(0x1d8)],_0x3de3ae,this[_0x41710a(0x1ce)],_0xc3bad2,_0x532159]):this[_0x41710a(0x1d8)](_0x3de3ae,this[_0x41710a(0x1ce)],_0xc3bad2,_0x532159):this[_0x41710a(0x283)]!==_0x16dea6?this['enqueue']([this['dispatch'],_0x3de3ae,this[_0x41710a(0x1ce)],_0xc3bad2,_0x532159]):this[_0x41710a(0x2a1)](_0x3de3ae,this[_0x41710a(0x1ce)],_0xc3bad2,_0x532159);}[_0x1b052c(0x1d8)](_0x361bc0,_0x37412c,_0x52e5a1,_0x371b70){const _0x2b94da=_0x1b052c;this[_0x2b94da(0x15a)]+=_0x52e5a1[_0x2030c2],this[_0x2b94da(0x283)]=_0x5b79b0,_0x361bc0[_0x2b94da(0x234)]()[_0x2b94da(0x177)](_0x47fdb7=>{const _0x33e468=_0x2b94da;if(this[_0x33e468(0x265)][_0x33e468(0x1e4)]){const _0x4c1a6b=new Error(_0x33e468(0x231));process[_0x33e468(0x1f6)](_0x161727,this,_0x4c1a6b,_0x371b70);return;}this['_bufferedBytes']-=_0x52e5a1[_0x2030c2];const _0xeb07b9=_0x3de9ae(_0x47fdb7);_0x37412c?this['dispatch'](_0xeb07b9,_0x37412c,_0x52e5a1,_0x371b70):(this[_0x33e468(0x283)]=_0x16dea6,this[_0x33e468(0x1b8)](_0x1bf921[_0x33e468(0x1cd)](_0xeb07b9,_0x52e5a1),_0x371b70),this[_0x33e468(0x27c)]());})['catch'](_0x54c89c=>{process['nextTick'](_0x4bb2d9,this,_0x54c89c,_0x371b70);});}[_0x1b052c(0x2a1)](_0x58a163,_0x305e7b,_0x460ebe,_0x832606){const _0x156665=_0x1b052c;if(!_0x305e7b){this[_0x156665(0x1b8)](_0x1bf921[_0x156665(0x1cd)](_0x58a163,_0x460ebe),_0x832606);return;}const _0x23bf62=this[_0x156665(0x140)][_0x567bde[_0x156665(0x279)]];this[_0x156665(0x15a)]+=_0x460ebe[_0x2030c2],this[_0x156665(0x283)]=_0x2f743d,_0x23bf62['compress'](_0x58a163,_0x460ebe[_0x156665(0x17c)],(_0x22c9fe,_0x500677)=>{const _0x169df9=_0x156665;if(this[_0x169df9(0x265)][_0x169df9(0x1e4)]){const _0x2f68f8=new Error(_0x169df9(0x21e));_0x161727(this,_0x2f68f8,_0x832606);return;}this['_bufferedBytes']-=_0x460ebe[_0x2030c2],this[_0x169df9(0x283)]=_0x16dea6,_0x460ebe['readOnly']=!0x1,this[_0x169df9(0x1b8)](_0x1bf921['frame'](_0x500677,_0x460ebe),_0x832606),this['dequeue']();});}[_0x1b052c(0x27c)](){const _0x107521=_0x1b052c;for(;this[_0x107521(0x283)]===_0x16dea6&&this['_queue'][_0x107521(0x16e)];){const _0x53b775=this[_0x107521(0x198)][_0x107521(0x171)]();this['_bufferedBytes']-=_0x53b775[0x3][_0x2030c2],Reflect['apply'](_0x53b775[0x0],this,_0x53b775[_0x107521(0x2aa)](0x1));}}[_0x1b052c(0x2cc)](_0x4623d8){const _0x233561=_0x1b052c;this['_bufferedBytes']+=_0x4623d8[0x3][_0x2030c2],this[_0x233561(0x198)][_0x233561(0x17d)](_0x4623d8);}['sendFrame'](_0x40be71,_0x387bf8){const _0x2af9fe=_0x1b052c;_0x40be71[_0x2af9fe(0x16e)]===0x2?(this[_0x2af9fe(0x265)][_0x2af9fe(0x1a1)](),this[_0x2af9fe(0x265)][_0x2af9fe(0x1dd)](_0x40be71[0x0]),this[_0x2af9fe(0x265)][_0x2af9fe(0x1dd)](_0x40be71[0x1],_0x387bf8),this['_socket'][_0x2af9fe(0x208)]()):this['_socket']['write'](_0x40be71[0x0],_0x387bf8);}}Ee=_0x1bf921;function _0x161727(_0x754bf5,_0x1b5f5f,_0x188fe7){const _0x5bc3a8=_0x1b052c;typeof _0x188fe7==_0x5bc3a8(0x1ff)&&_0x188fe7(_0x1b5f5f);for(let _0x5a5d60=0x0;_0x5a5d60<_0x754bf5['_queue']['length'];_0x5a5d60++){const _0x180de1=_0x754bf5[_0x5bc3a8(0x198)][_0x5a5d60],_0x5ac7b3=_0x180de1[_0x180de1[_0x5bc3a8(0x16e)]-0x1];typeof _0x5ac7b3=='function'&&_0x5ac7b3(_0x1b5f5f);}}function _0x4bb2d9(_0x171556,_0x26a8f2,_0x53eb5c){const _0x295c13=_0x1b052c;_0x161727(_0x171556,_0x26a8f2,_0x53eb5c),_0x171556[_0x295c13(0x2c8)](_0x26a8f2);}return Ee;}var xe,Ze;function It(){const _0xd63936=_0x32ca07;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x1e980c,kListener:_0x210487}=H(),_0x532106=Symbol('kCode'),_0x314a75=Symbol('kData'),_0xa4eb24=Symbol(_0xd63936(0x1fa)),_0x535017=Symbol(_0xd63936(0x1cb)),_0x234aac=Symbol('kReason'),_0x4f59e5=Symbol(_0xd63936(0x178)),_0x281780=Symbol(_0xd63936(0x219)),_0xe60765=Symbol(_0xd63936(0x26e));class _0x657ab1{constructor(_0x90473d){this[_0x4f59e5]=null,this[_0x281780]=_0x90473d;}get[_0xd63936(0x240)](){return this[_0x4f59e5];}get[_0xd63936(0x2df)](){return this[_0x281780];}}Object['defineProperty'](_0x657ab1['prototype'],_0xd63936(0x240),{'enumerable':!0x0}),Object['defineProperty'](_0x657ab1[_0xd63936(0x1e0)],_0xd63936(0x2df),{'enumerable':!0x0});class _0x4dd6c0 extends _0x657ab1{constructor(_0x24b0d0,_0x14949c={}){const _0x3fad8a=_0xd63936;super(_0x24b0d0),this[_0x532106]=_0x14949c['code']===void 0x0?0x0:_0x14949c[_0x3fad8a(0x1b6)],this[_0x234aac]=_0x14949c['reason']===void 0x0?'':_0x14949c['reason'],this[_0xe60765]=_0x14949c[_0x3fad8a(0x1ba)]===void 0x0?!0x1:_0x14949c['wasClean'];}get[_0xd63936(0x1b6)](){return this[_0x532106];}get[_0xd63936(0x1d2)](){return this[_0x234aac];}get[_0xd63936(0x1ba)](){return this[_0xe60765];}}Object[_0xd63936(0x2bc)](_0x4dd6c0['prototype'],_0xd63936(0x1b6),{'enumerable':!0x0}),Object[_0xd63936(0x2bc)](_0x4dd6c0[_0xd63936(0x1e0)],_0xd63936(0x1d2),{'enumerable':!0x0}),Object['defineProperty'](_0x4dd6c0[_0xd63936(0x1e0)],_0xd63936(0x1ba),{'enumerable':!0x0});class _0x2d8670 extends _0x657ab1{constructor(_0x463eaa,_0x470910={}){const _0x24edb3=_0xd63936;super(_0x463eaa),this[_0xa4eb24]=_0x470910[_0x24edb3(0x24f)]===void 0x0?null:_0x470910[_0x24edb3(0x24f)],this[_0x535017]=_0x470910[_0x24edb3(0x1dc)]===void 0x0?'':_0x470910[_0x24edb3(0x1dc)];}get[_0xd63936(0x24f)](){return this[_0xa4eb24];}get[_0xd63936(0x1dc)](){return this[_0x535017];}}Object['defineProperty'](_0x2d8670[_0xd63936(0x1e0)],_0xd63936(0x24f),{'enumerable':!0x0}),Object[_0xd63936(0x2bc)](_0x2d8670['prototype'],_0xd63936(0x1dc),{'enumerable':!0x0});class _0x2b6ab6 extends _0x657ab1{constructor(_0x1edf49,_0x462311={}){const _0x2f5ebd=_0xd63936;super(_0x1edf49),this[_0x314a75]=_0x462311[_0x2f5ebd(0x14b)]===void 0x0?null:_0x462311[_0x2f5ebd(0x14b)];}get[_0xd63936(0x14b)](){return this[_0x314a75];}}Object[_0xd63936(0x2bc)](_0x2b6ab6[_0xd63936(0x1e0)],_0xd63936(0x14b),{'enumerable':!0x0}),xe={'CloseEvent':_0x4dd6c0,'ErrorEvent':_0x2d8670,'Event':_0x657ab1,'EventTarget':{'addEventListener'(_0x22d37d,_0x77f781,_0x21e425={}){const _0xdb19c3=_0xd63936;for(const _0x86ceb1 of this['listeners'](_0x22d37d))if(!_0x21e425[_0x1e980c]&&_0x86ceb1[_0x210487]===_0x77f781&&!_0x86ceb1[_0x1e980c])return;let _0x541282;if(_0x22d37d===_0xdb19c3(0x1dc))_0x541282=function(_0x583a90,_0x550ba3){const _0x148504=_0xdb19c3,_0x4921a5=new _0x2b6ab6(_0x148504(0x1dc),{'data':_0x550ba3?_0x583a90:_0x583a90[_0x148504(0x1da)]()});_0x4921a5[_0x4f59e5]=this,_0x3c5ba3(_0x77f781,this,_0x4921a5);};else{if(_0x22d37d===_0xdb19c3(0x2a8))_0x541282=function(_0xa805fc,_0x2c8061){const _0x10515e=_0xdb19c3,_0x2d353d=new _0x4dd6c0(_0x10515e(0x2a8),{'code':_0xa805fc,'reason':_0x2c8061[_0x10515e(0x1da)](),'wasClean':this[_0x10515e(0x1b4)]&&this['_closeFrameSent']});_0x2d353d[_0x4f59e5]=this,_0x3c5ba3(_0x77f781,this,_0x2d353d);};else{if(_0x22d37d==='error')_0x541282=function(_0xa2696){const _0x4a9778=_0xdb19c3,_0x3eabce=new _0x2d8670('error',{'error':_0xa2696,'message':_0xa2696[_0x4a9778(0x1dc)]});_0x3eabce[_0x4f59e5]=this,_0x3c5ba3(_0x77f781,this,_0x3eabce);};else{if(_0x22d37d===_0xdb19c3(0x13a))_0x541282=function(){const _0x389252=_0xdb19c3,_0x4e5b4b=new _0x657ab1(_0x389252(0x13a));_0x4e5b4b[_0x4f59e5]=this,_0x3c5ba3(_0x77f781,this,_0x4e5b4b);};else return;}}}_0x541282[_0x1e980c]=!!_0x21e425[_0x1e980c],_0x541282[_0x210487]=_0x77f781,_0x21e425['once']?this[_0xdb19c3(0x14f)](_0x22d37d,_0x541282):this['on'](_0x22d37d,_0x541282);},'removeEventListener'(_0x307c87,_0x31c871){const _0x522463=_0xd63936;for(const _0x2f0224 of this[_0x522463(0x2af)](_0x307c87))if(_0x2f0224[_0x210487]===_0x31c871&&!_0x2f0224[_0x1e980c]){this['removeListener'](_0x307c87,_0x2f0224);break;}}},'MessageEvent':_0x2b6ab6};function _0x3c5ba3(_0x30a128,_0xe9cdc9,_0x348c25){const _0x3efc56=_0xd63936;typeof _0x30a128==_0x3efc56(0x2d4)&&_0x30a128[_0x3efc56(0x233)]?_0x30a128[_0x3efc56(0x233)][_0x3efc56(0x148)](_0x30a128,_0x348c25):_0x30a128[_0x3efc56(0x148)](_0xe9cdc9,_0x348c25);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0xd33e7a}=ae();function _0x50abeb(_0x4c4b9d,_0x4efc6e,_0x22896f){const _0x43f604=_0x4d67;_0x4c4b9d[_0x4efc6e]===void 0x0?_0x4c4b9d[_0x4efc6e]=[_0x22896f]:_0x4c4b9d[_0x4efc6e][_0x43f604(0x17d)](_0x22896f);}function _0x388532(_0x5bd37c){const _0x45f000=_0x4d67,_0x3e7e96=Object[_0x45f000(0x236)](null);let _0x5682ba=Object[_0x45f000(0x236)](null),_0x4bfce5=!0x1,_0xebc485=!0x1,_0x1d9109=!0x1,_0x20ab0d,_0x54c6c2,_0x296a02=-0x1,_0x8b33a2=-0x1,_0x2a0358=-0x1,_0x1ff77c=0x0;for(;_0x1ff77c<_0x5bd37c[_0x45f000(0x16e)];_0x1ff77c++)if(_0x8b33a2=_0x5bd37c[_0x45f000(0x2e7)](_0x1ff77c),_0x20ab0d===void 0x0){if(_0x2a0358===-0x1&&_0xd33e7a[_0x8b33a2]===0x1)_0x296a02===-0x1&&(_0x296a02=_0x1ff77c);else{if(_0x1ff77c!==0x0&&(_0x8b33a2===0x20||_0x8b33a2===0x9))_0x2a0358===-0x1&&_0x296a02!==-0x1&&(_0x2a0358=_0x1ff77c);else{if(_0x8b33a2===0x3b||_0x8b33a2===0x2c){if(_0x296a02===-0x1)throw new SyntaxError(_0x45f000(0x19a)+_0x1ff77c);_0x2a0358===-0x1&&(_0x2a0358=_0x1ff77c);const _0x2c8c01=_0x5bd37c['slice'](_0x296a02,_0x2a0358);_0x8b33a2===0x2c?(_0x50abeb(_0x3e7e96,_0x2c8c01,_0x5682ba),_0x5682ba=Object[_0x45f000(0x236)](null)):_0x20ab0d=_0x2c8c01,_0x296a02=_0x2a0358=-0x1;}else throw new SyntaxError(_0x45f000(0x19a)+_0x1ff77c);}}}else{if(_0x54c6c2===void 0x0){if(_0x2a0358===-0x1&&_0xd33e7a[_0x8b33a2]===0x1)_0x296a02===-0x1&&(_0x296a02=_0x1ff77c);else{if(_0x8b33a2===0x20||_0x8b33a2===0x9)_0x2a0358===-0x1&&_0x296a02!==-0x1&&(_0x2a0358=_0x1ff77c);else{if(_0x8b33a2===0x3b||_0x8b33a2===0x2c){if(_0x296a02===-0x1)throw new SyntaxError(_0x45f000(0x19a)+_0x1ff77c);_0x2a0358===-0x1&&(_0x2a0358=_0x1ff77c),_0x50abeb(_0x5682ba,_0x5bd37c['slice'](_0x296a02,_0x2a0358),!0x0),_0x8b33a2===0x2c&&(_0x50abeb(_0x3e7e96,_0x20ab0d,_0x5682ba),_0x5682ba=Object[_0x45f000(0x236)](null),_0x20ab0d=void 0x0),_0x296a02=_0x2a0358=-0x1;}else{if(_0x8b33a2===0x3d&&_0x296a02!==-0x1&&_0x2a0358===-0x1)_0x54c6c2=_0x5bd37c[_0x45f000(0x2aa)](_0x296a02,_0x1ff77c),_0x296a02=_0x2a0358=-0x1;else throw new SyntaxError(_0x45f000(0x19a)+_0x1ff77c);}}}}else{if(_0xebc485){if(_0xd33e7a[_0x8b33a2]!==0x1)throw new SyntaxError(_0x45f000(0x19a)+_0x1ff77c);_0x296a02===-0x1?_0x296a02=_0x1ff77c:_0x4bfce5||(_0x4bfce5=!0x0),_0xebc485=!0x1;}else{if(_0x1d9109){if(_0xd33e7a[_0x8b33a2]===0x1)_0x296a02===-0x1&&(_0x296a02=_0x1ff77c);else{if(_0x8b33a2===0x22&&_0x296a02!==-0x1)_0x1d9109=!0x1,_0x2a0358=_0x1ff77c;else{if(_0x8b33a2===0x5c)_0xebc485=!0x0;else throw new SyntaxError(_0x45f000(0x19a)+_0x1ff77c);}}}else{if(_0x8b33a2===0x22&&_0x5bd37c[_0x45f000(0x2e7)](_0x1ff77c-0x1)===0x3d)_0x1d9109=!0x0;else{if(_0x2a0358===-0x1&&_0xd33e7a[_0x8b33a2]===0x1)_0x296a02===-0x1&&(_0x296a02=_0x1ff77c);else{if(_0x296a02!==-0x1&&(_0x8b33a2===0x20||_0x8b33a2===0x9))_0x2a0358===-0x1&&(_0x2a0358=_0x1ff77c);else{if(_0x8b33a2===0x3b||_0x8b33a2===0x2c){if(_0x296a02===-0x1)throw new SyntaxError(_0x45f000(0x19a)+_0x1ff77c);_0x2a0358===-0x1&&(_0x2a0358=_0x1ff77c);let _0x273a79=_0x5bd37c['slice'](_0x296a02,_0x2a0358);_0x4bfce5&&(_0x273a79=_0x273a79[_0x45f000(0x205)](/\\/g,''),_0x4bfce5=!0x1),_0x50abeb(_0x5682ba,_0x54c6c2,_0x273a79),_0x8b33a2===0x2c&&(_0x50abeb(_0x3e7e96,_0x20ab0d,_0x5682ba),_0x5682ba=Object[_0x45f000(0x236)](null),_0x20ab0d=void 0x0),_0x54c6c2=void 0x0,_0x296a02=_0x2a0358=-0x1;}else throw new SyntaxError(_0x45f000(0x19a)+_0x1ff77c);}}}}}}}if(_0x296a02===-0x1||_0x1d9109||_0x8b33a2===0x20||_0x8b33a2===0x9)throw new SyntaxError(_0x45f000(0x26c));_0x2a0358===-0x1&&(_0x2a0358=_0x1ff77c);const _0x12b531=_0x5bd37c[_0x45f000(0x2aa)](_0x296a02,_0x2a0358);return _0x20ab0d===void 0x0?_0x50abeb(_0x3e7e96,_0x12b531,_0x5682ba):(_0x54c6c2===void 0x0?_0x50abeb(_0x5682ba,_0x12b531,!0x0):_0x4bfce5?_0x50abeb(_0x5682ba,_0x54c6c2,_0x12b531[_0x45f000(0x205)](/\\/g,'')):_0x50abeb(_0x5682ba,_0x54c6c2,_0x12b531),_0x50abeb(_0x3e7e96,_0x20ab0d,_0x5682ba)),_0x3e7e96;}function _0x4566bf(_0x49fb91){const _0x598018=_0x4d67;return Object[_0x598018(0x160)](_0x49fb91)[_0x598018(0x2d3)](_0x259464=>{const _0x33d876=_0x598018;let _0x34842a=_0x49fb91[_0x259464];return Array[_0x33d876(0x2bb)](_0x34842a)||(_0x34842a=[_0x34842a]),_0x34842a[_0x33d876(0x2d3)](_0x5ded10=>[_0x259464][_0x33d876(0x1d3)](Object[_0x33d876(0x160)](_0x5ded10)[_0x33d876(0x2d3)](_0x14c0aa=>{const _0x3bf0f0=_0x33d876;let _0x26f659=_0x5ded10[_0x14c0aa];return Array[_0x3bf0f0(0x2bb)](_0x26f659)||(_0x26f659=[_0x26f659]),_0x26f659['map'](_0x554b53=>_0x554b53===!0x0?_0x14c0aa:_0x14c0aa+'='+_0x554b53)[_0x3bf0f0(0x21a)](';\x20');}))[_0x33d876(0x21a)](';\x20'))[_0x33d876(0x21a)](',\x20');})['join'](',\x20');}return be={'format':_0x4566bf,'parse':_0x388532},be;}var we,Je;function Pe(){const _0x2ed8ad=_0x32ca07;if(Je)return we;Je=0x1;const _0x25ff96=nt,_0x4e644f=vt,_0x448b9a=ot,_0x400194=St,_0x19ffc4=Et,{randomBytes:_0x557c34,createHash:_0x31ef3c}=Le,{Duplex:_0x5df893,Readable:_0x26d3ea}=oe,{URL:_0x483038}=xt,_0x1079a2=he(),_0x40de1f=lt(),_0x2bfc02=ft(),{isBlob:_0x38483c}=ae(),{BINARY_TYPES:_0x3aff0d,EMPTY_BUFFER:_0x2e8ccb,GUID:_0x3b9c57,kForOnEventAttribute:_0x33098c,kListener:_0x350cf8,kStatusCode:_0x477eb9,kWebSocket:_0x58269c,NOOP:_0x5f2191}=H(),{EventTarget:{addEventListener:_0x1002d0,removeEventListener:_0x2d551c}}=It(),{format:_0x41ce64,parse:_0x18e4f2}=ct(),{toBuffer:_0x5b1ba6}=ce(),_0x366d4a=0x1e*0x3e8,_0x2253db=Symbol('kAborted'),_0x21a844=[0x8,0xd],_0x3d606e=['CONNECTING','OPEN','CLOSING',_0x2ed8ad(0x2b0)],_0x196b7d=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3c8787 extends _0x25ff96{constructor(_0x52a562,_0x1b5b7d,_0x202f49){const _0x1ffabf=_0x2ed8ad;super(),this[_0x1ffabf(0x245)]=_0x3aff0d[0x0],this['_closeCode']=0x3ee,this[_0x1ffabf(0x1b4)]=!0x1,this[_0x1ffabf(0x22f)]=!0x1,this[_0x1ffabf(0x1d5)]=_0x2e8ccb,this[_0x1ffabf(0x154)]=null,this[_0x1ffabf(0x196)]=!0x1,this[_0x1ffabf(0x140)]={},this[_0x1ffabf(0x25a)]=!0x1,this[_0x1ffabf(0x146)]='',this[_0x1ffabf(0x2ed)]=_0x3c8787[_0x1ffabf(0x1fc)],this[_0x1ffabf(0x21f)]=null,this[_0x1ffabf(0x242)]=null,this[_0x1ffabf(0x265)]=null,_0x52a562!==null?(this[_0x1ffabf(0x223)]=0x0,this[_0x1ffabf(0x18e)]=!0x1,this['_redirects']=0x0,_0x1b5b7d===void 0x0?_0x1b5b7d=[]:Array['isArray'](_0x1b5b7d)||(typeof _0x1b5b7d==_0x1ffabf(0x2d4)&&_0x1b5b7d!==null?(_0x202f49=_0x1b5b7d,_0x1b5b7d=[]):_0x1b5b7d=[_0x1b5b7d]),_0x2569a3(this,_0x52a562,_0x1b5b7d,_0x202f49)):(this['_autoPong']=_0x202f49[_0x1ffabf(0x185)],this['_isServer']=!0x0);}get['binaryType'](){const _0x4e5660=_0x2ed8ad;return this[_0x4e5660(0x245)];}set[_0x2ed8ad(0x1ee)](_0x513f0a){const _0x56165f=_0x2ed8ad;_0x3aff0d['includes'](_0x513f0a)&&(this['_binaryType']=_0x513f0a,this['_receiver']&&(this['_receiver'][_0x56165f(0x245)]=_0x513f0a));}get[_0x2ed8ad(0x221)](){const _0x4de274=_0x2ed8ad;return this['_socket']?this[_0x4de274(0x265)]['_writableState']['length']+this[_0x4de274(0x242)]['_bufferedBytes']:this[_0x4de274(0x223)];}get[_0x2ed8ad(0x2b5)](){const _0x2f91de=_0x2ed8ad;return Object[_0x2f91de(0x160)](this[_0x2f91de(0x140)])[_0x2f91de(0x21a)]();}get[_0x2ed8ad(0x289)](){const _0x233c68=_0x2ed8ad;return this[_0x233c68(0x25a)];}get[_0x2ed8ad(0x1f8)](){return null;}get['onerror'](){return null;}get[_0x2ed8ad(0x2cf)](){return null;}get[_0x2ed8ad(0x212)](){return null;}get['protocol'](){const _0xff89e9=_0x2ed8ad;return this[_0xff89e9(0x146)];}get['readyState'](){return this['_readyState'];}get[_0x2ed8ad(0x207)](){return this['_url'];}[_0x2ed8ad(0x1a6)](_0x2401f6,_0x444579,_0x57a0b8){const _0x9c04be=_0x2ed8ad,_0x1c559f=new _0x40de1f({'allowSynchronousEvents':_0x57a0b8[_0x9c04be(0x267)],'binaryType':this['binaryType'],'extensions':this[_0x9c04be(0x140)],'isServer':this[_0x9c04be(0x18e)],'maxPayload':_0x57a0b8[_0x9c04be(0x2ae)],'skipUTF8Validation':_0x57a0b8[_0x9c04be(0x264)]}),_0x2af69b=new _0x2bfc02(_0x2401f6,this['_extensions'],_0x57a0b8[_0x9c04be(0x2a3)]);this['_receiver']=_0x1c559f,this[_0x9c04be(0x242)]=_0x2af69b,this['_socket']=_0x2401f6,_0x1c559f[_0x58269c]=this,_0x2af69b[_0x58269c]=this,_0x2401f6[_0x58269c]=this,_0x1c559f['on'](_0x9c04be(0x297),_0x33ae7c),_0x1c559f['on'](_0x9c04be(0x1b5),_0x5b6a6b),_0x1c559f['on'](_0x9c04be(0x24f),_0x4ec8e8),_0x1c559f['on'](_0x9c04be(0x1dc),_0x9772ab),_0x1c559f['on'](_0x9c04be(0x174),_0x224265),_0x1c559f['on'](_0x9c04be(0x1f9),_0x10ed0c),_0x2af69b['onerror']=_0x31c458,_0x2401f6[_0x9c04be(0x200)]&&_0x2401f6[_0x9c04be(0x200)](0x0),_0x2401f6['setNoDelay']&&_0x2401f6[_0x9c04be(0x163)](),_0x444579[_0x9c04be(0x16e)]>0x0&&_0x2401f6[_0x9c04be(0x258)](_0x444579),_0x2401f6['on']('close',_0x68f908),_0x2401f6['on']('data',_0x2fa08a),_0x2401f6['on'](_0x9c04be(0x1e6),_0x5d0bcf),_0x2401f6['on'](_0x9c04be(0x24f),_0x8853a3),this[_0x9c04be(0x2ed)]=_0x3c8787['OPEN'],this[_0x9c04be(0x29b)](_0x9c04be(0x13a));}[_0x2ed8ad(0x1f5)](){const _0x32356c=_0x2ed8ad;if(!this['_socket']){this[_0x32356c(0x2ed)]=_0x3c8787[_0x32356c(0x2b0)],this[_0x32356c(0x29b)](_0x32356c(0x2a8),this[_0x32356c(0x1c9)],this['_closeMessage']);return;}this[_0x32356c(0x140)][_0x1079a2['extensionName']]&&this[_0x32356c(0x140)][_0x1079a2[_0x32356c(0x279)]][_0x32356c(0x290)](),this[_0x32356c(0x21f)][_0x32356c(0x175)](),this[_0x32356c(0x2ed)]=_0x3c8787[_0x32356c(0x2b0)],this['emit'](_0x32356c(0x2a8),this[_0x32356c(0x1c9)],this[_0x32356c(0x1d5)]);}[_0x2ed8ad(0x2a8)](_0x106859,_0x66eaa6){const _0x555f00=_0x2ed8ad;if(this[_0x555f00(0x218)]!==_0x3c8787['CLOSED']){if(this[_0x555f00(0x218)]===_0x3c8787['CONNECTING']){_0x1126de(this,this[_0x555f00(0x22d)],_0x555f00(0x25b));return;}if(this[_0x555f00(0x218)]===_0x3c8787[_0x555f00(0x13f)]){this[_0x555f00(0x22f)]&&(this['_closeFrameReceived']||this[_0x555f00(0x21f)][_0x555f00(0x238)][_0x555f00(0x2f4)])&&this[_0x555f00(0x265)][_0x555f00(0x1e6)]();return;}this[_0x555f00(0x2ed)]=_0x3c8787[_0x555f00(0x13f)],this[_0x555f00(0x242)][_0x555f00(0x2a8)](_0x106859,_0x66eaa6,!this['_isServer'],_0x1769e0=>{const _0x3aada5=_0x555f00;_0x1769e0||(this[_0x3aada5(0x22f)]=!0x0,(this[_0x3aada5(0x1b4)]||this[_0x3aada5(0x21f)][_0x3aada5(0x238)][_0x3aada5(0x2f4)])&&this['_socket'][_0x3aada5(0x1e6)]());}),_0x1c318f(this);}}[_0x2ed8ad(0x1b9)](){const _0x1b461a=_0x2ed8ad;this['readyState']===_0x3c8787[_0x1b461a(0x1fc)]||this[_0x1b461a(0x218)]===_0x3c8787[_0x1b461a(0x2b0)]||(this[_0x1b461a(0x25a)]=!0x0,this[_0x1b461a(0x265)][_0x1b461a(0x1b9)]());}['ping'](_0x188156,_0x187d1d,_0x4b668f){const _0xb1c64a=_0x2ed8ad;if(this['readyState']===_0x3c8787['CONNECTING'])throw new Error(_0xb1c64a(0x2ba));if(typeof _0x188156=='function'?(_0x4b668f=_0x188156,_0x188156=_0x187d1d=void 0x0):typeof _0x187d1d==_0xb1c64a(0x1ff)&&(_0x4b668f=_0x187d1d,_0x187d1d=void 0x0),typeof _0x188156==_0xb1c64a(0x271)&&(_0x188156=_0x188156[_0xb1c64a(0x1da)]()),this['readyState']!==_0x3c8787[_0xb1c64a(0x186)]){_0x15039e(this,_0x188156,_0x4b668f);return;}_0x187d1d===void 0x0&&(_0x187d1d=!this[_0xb1c64a(0x18e)]),this['_sender'][_0xb1c64a(0x174)](_0x188156||_0x2e8ccb,_0x187d1d,_0x4b668f);}[_0x2ed8ad(0x1f9)](_0x6089cb,_0x3712b0,_0x3c80f6){const _0x5ba7c1=_0x2ed8ad;if(this['readyState']===_0x3c8787[_0x5ba7c1(0x1fc)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x6089cb==_0x5ba7c1(0x1ff)?(_0x3c80f6=_0x6089cb,_0x6089cb=_0x3712b0=void 0x0):typeof _0x3712b0=='function'&&(_0x3c80f6=_0x3712b0,_0x3712b0=void 0x0),typeof _0x6089cb=='number'&&(_0x6089cb=_0x6089cb['toString']()),this[_0x5ba7c1(0x218)]!==_0x3c8787[_0x5ba7c1(0x186)]){_0x15039e(this,_0x6089cb,_0x3c80f6);return;}_0x3712b0===void 0x0&&(_0x3712b0=!this[_0x5ba7c1(0x18e)]),this['_sender'][_0x5ba7c1(0x1f9)](_0x6089cb||_0x2e8ccb,_0x3712b0,_0x3c80f6);}[_0x2ed8ad(0x27f)](){const _0x5402b7=_0x2ed8ad;this[_0x5402b7(0x218)]===_0x3c8787[_0x5402b7(0x1fc)]||this['readyState']===_0x3c8787[_0x5402b7(0x2b0)]||(this[_0x5402b7(0x25a)]=!0x1,this[_0x5402b7(0x21f)][_0x5402b7(0x238)][_0x5402b7(0x195)]||this[_0x5402b7(0x265)]['resume']());}[_0x2ed8ad(0x213)](_0xe8dce0,_0x472703,_0x462c37){const _0x26a040=_0x2ed8ad;if(this['readyState']===_0x3c8787[_0x26a040(0x1fc)])throw new Error(_0x26a040(0x2ba));if(typeof _0x472703==_0x26a040(0x1ff)&&(_0x462c37=_0x472703,_0x472703={}),typeof _0xe8dce0==_0x26a040(0x271)&&(_0xe8dce0=_0xe8dce0[_0x26a040(0x1da)]()),this['readyState']!==_0x3c8787[_0x26a040(0x186)]){_0x15039e(this,_0xe8dce0,_0x462c37);return;}const _0x1bfdbb={'binary':typeof _0xe8dce0!=_0x26a040(0x284),'mask':!this[_0x26a040(0x18e)],'compress':!0x0,'fin':!0x0,..._0x472703};this['_extensions'][_0x1079a2[_0x26a040(0x279)]]||(_0x1bfdbb[_0x26a040(0x25d)]=!0x1),this['_sender'][_0x26a040(0x213)](_0xe8dce0||_0x2e8ccb,_0x1bfdbb,_0x462c37);}[_0x2ed8ad(0x27d)](){const _0x35234f=_0x2ed8ad;if(this['readyState']!==_0x3c8787[_0x35234f(0x2b0)]){if(this['readyState']===_0x3c8787['CONNECTING']){_0x1126de(this,this['_req'],_0x35234f(0x25b));return;}this['_socket']&&(this[_0x35234f(0x2ed)]=_0x3c8787['CLOSING'],this[_0x35234f(0x265)]['destroy']());}}}Object[_0x2ed8ad(0x2bc)](_0x3c8787,_0x2ed8ad(0x1fc),{'enumerable':!0x0,'value':_0x3d606e['indexOf'](_0x2ed8ad(0x1fc))}),Object[_0x2ed8ad(0x2bc)](_0x3c8787['prototype'],'CONNECTING',{'enumerable':!0x0,'value':_0x3d606e[_0x2ed8ad(0x2f5)](_0x2ed8ad(0x1fc))}),Object[_0x2ed8ad(0x2bc)](_0x3c8787,_0x2ed8ad(0x186),{'enumerable':!0x0,'value':_0x3d606e['indexOf'](_0x2ed8ad(0x186))}),Object[_0x2ed8ad(0x2bc)](_0x3c8787[_0x2ed8ad(0x1e0)],_0x2ed8ad(0x186),{'enumerable':!0x0,'value':_0x3d606e[_0x2ed8ad(0x2f5)]('OPEN')}),Object['defineProperty'](_0x3c8787,'CLOSING',{'enumerable':!0x0,'value':_0x3d606e[_0x2ed8ad(0x2f5)](_0x2ed8ad(0x13f))}),Object[_0x2ed8ad(0x2bc)](_0x3c8787['prototype'],_0x2ed8ad(0x13f),{'enumerable':!0x0,'value':_0x3d606e[_0x2ed8ad(0x2f5)]('CLOSING')}),Object[_0x2ed8ad(0x2bc)](_0x3c8787,_0x2ed8ad(0x2b0),{'enumerable':!0x0,'value':_0x3d606e[_0x2ed8ad(0x2f5)](_0x2ed8ad(0x2b0))}),Object['defineProperty'](_0x3c8787['prototype'],'CLOSED',{'enumerable':!0x0,'value':_0x3d606e[_0x2ed8ad(0x2f5)](_0x2ed8ad(0x2b0))}),[_0x2ed8ad(0x1ee),_0x2ed8ad(0x221),_0x2ed8ad(0x2b5),_0x2ed8ad(0x289),'protocol','readyState','url'][_0x2ed8ad(0x2c6)](_0x30010d=>{const _0x292a86=_0x2ed8ad;Object[_0x292a86(0x2bc)](_0x3c8787[_0x292a86(0x1e0)],_0x30010d,{'enumerable':!0x0});}),[_0x2ed8ad(0x13a),_0x2ed8ad(0x24f),_0x2ed8ad(0x2a8),_0x2ed8ad(0x1dc)]['forEach'](_0x2df77d=>{const _0xbbb2ed=_0x2ed8ad;Object[_0xbbb2ed(0x2bc)](_0x3c8787[_0xbbb2ed(0x1e0)],'on'+_0x2df77d,{'enumerable':!0x0,'get'(){const _0x2d5119=_0xbbb2ed;for(const _0x5a449e of this[_0x2d5119(0x2af)](_0x2df77d))if(_0x5a449e[_0x33098c])return _0x5a449e[_0x350cf8];return null;},'set'(_0x35e908){const _0x9be58=_0xbbb2ed;for(const _0x2308d3 of this[_0x9be58(0x2af)](_0x2df77d))if(_0x2308d3[_0x33098c]){this[_0x9be58(0x13c)](_0x2df77d,_0x2308d3);break;}typeof _0x35e908==_0x9be58(0x1ff)&&this[_0x9be58(0x1c4)](_0x2df77d,_0x35e908,{[_0x33098c]:!0x0});}});}),_0x3c8787[_0x2ed8ad(0x1e0)]['addEventListener']=_0x1002d0,_0x3c8787[_0x2ed8ad(0x1e0)][_0x2ed8ad(0x2a4)]=_0x2d551c,we=_0x3c8787;function _0x2569a3(_0x2568fc,_0x9af0b2,_0x3609bb,_0x34cbd8){const _0x373261=_0x2ed8ad,_0x41145f={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x21a844[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x34cbd8,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x373261(0x28c),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x2568fc['_autoPong']=_0x41145f[_0x373261(0x185)],!_0x21a844['includes'](_0x41145f[_0x373261(0x260)]))throw new RangeError(_0x373261(0x20f)+_0x41145f[_0x373261(0x260)]+_0x373261(0x1d9)+_0x21a844[_0x373261(0x21a)](',\x20')+')');let _0x107802;if(_0x9af0b2 instanceof _0x483038)_0x107802=_0x9af0b2;else try{_0x107802=new _0x483038(_0x9af0b2);}catch{throw new SyntaxError(_0x373261(0x29c)+_0x9af0b2);}_0x107802[_0x373261(0x149)]===_0x373261(0x165)?_0x107802[_0x373261(0x149)]=_0x373261(0x17a):_0x107802[_0x373261(0x149)]===_0x373261(0x159)&&(_0x107802[_0x373261(0x149)]=_0x373261(0x2c3)),_0x2568fc[_0x373261(0x22b)]=_0x107802[_0x373261(0x1a7)];const _0x5d75a5=_0x107802['protocol']===_0x373261(0x2c3),_0x520daa=_0x107802['protocol']==='ws+unix:';let _0x3398b4;if(_0x107802[_0x373261(0x149)]!==_0x373261(0x17a)&&!_0x5d75a5&&!_0x520daa?_0x3398b4='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':_0x520daa&&!_0x107802[_0x373261(0x2f7)]?_0x3398b4=_0x373261(0x2ee):_0x107802[_0x373261(0x225)]&&(_0x3398b4='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x3398b4){const _0x5d1127=new SyntaxError(_0x3398b4);if(_0x2568fc[_0x373261(0x2ab)]===0x0)throw _0x5d1127;_0x14eb58(_0x2568fc,_0x5d1127);return;}const _0x2fd825=_0x5d75a5?0x1bb:0x50,_0xf75717=_0x557c34(0x10)['toString'](_0x373261(0x1ef)),_0xfb3a9c=_0x5d75a5?_0x4e644f[_0x373261(0x2b2)]:_0x448b9a[_0x373261(0x2b2)],_0x583626=new Set();let _0x4cb68c;if(_0x41145f['createConnection']=_0x41145f['createConnection']||(_0x5d75a5?_0x286b76:_0x527ac4),_0x41145f[_0x373261(0x1b7)]=_0x41145f[_0x373261(0x1b7)]||_0x2fd825,_0x41145f[_0x373261(0x23e)]=_0x107802[_0x373261(0x23e)]||_0x2fd825,_0x41145f[_0x373261(0x1d4)]=_0x107802[_0x373261(0x2d5)]['startsWith']('[')?_0x107802[_0x373261(0x2d5)][_0x373261(0x2aa)](0x1,-0x1):_0x107802[_0x373261(0x2d5)],_0x41145f[_0x373261(0x28d)]={..._0x41145f['headers'],'Sec-WebSocket-Version':_0x41145f[_0x373261(0x260)],'Sec-WebSocket-Key':_0xf75717,'Connection':'Upgrade','Upgrade':'websocket'},_0x41145f[_0x373261(0x15b)]=_0x107802[_0x373261(0x2f7)]+_0x107802['search'],_0x41145f[_0x373261(0x2f8)]=_0x41145f[_0x373261(0x1c0)],_0x41145f[_0x373261(0x202)]&&(_0x4cb68c=new _0x1079a2(_0x41145f['perMessageDeflate']!==!0x0?_0x41145f[_0x373261(0x202)]:{},!0x1,_0x41145f[_0x373261(0x2ae)]),_0x41145f[_0x373261(0x28d)][_0x373261(0x21c)]=_0x41ce64({[_0x1079a2[_0x373261(0x279)]]:_0x4cb68c[_0x373261(0x257)]()})),_0x3609bb[_0x373261(0x16e)]){for(const _0x31df39 of _0x3609bb){if(typeof _0x31df39!='string'||!_0x196b7d[_0x373261(0x294)](_0x31df39)||_0x583626[_0x373261(0x227)](_0x31df39))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x583626[_0x373261(0x2cd)](_0x31df39);}_0x41145f[_0x373261(0x28d)][_0x373261(0x28b)]=_0x3609bb['join'](',');}if(_0x41145f[_0x373261(0x17b)]&&(_0x41145f['protocolVersion']<0xd?_0x41145f[_0x373261(0x28d)]['Sec-WebSocket-Origin']=_0x41145f[_0x373261(0x17b)]:_0x41145f['headers'][_0x373261(0x1f4)]=_0x41145f[_0x373261(0x17b)]),(_0x107802[_0x373261(0x24a)]||_0x107802[_0x373261(0x1eb)])&&(_0x41145f[_0x373261(0x1fb)]=_0x107802[_0x373261(0x24a)]+':'+_0x107802[_0x373261(0x1eb)]),_0x520daa){const _0x4dca46=_0x41145f[_0x373261(0x15b)][_0x373261(0x162)](':');_0x41145f[_0x373261(0x14a)]=_0x4dca46[0x0],_0x41145f['path']=_0x4dca46[0x1];}let _0x22852f;if(_0x41145f[_0x373261(0x1ae)]){if(_0x2568fc[_0x373261(0x2ab)]===0x0){_0x2568fc[_0x373261(0x214)]=_0x520daa,_0x2568fc[_0x373261(0x1e8)]=_0x5d75a5,_0x2568fc['_originalHostOrSocketPath']=_0x520daa?_0x41145f['socketPath']:_0x107802[_0x373261(0x1d4)];const _0x43181b=_0x34cbd8&&_0x34cbd8['headers'];if(_0x34cbd8={..._0x34cbd8,'headers':{}},_0x43181b){for(const [_0x9f14d3,_0x3484ce]of Object[_0x373261(0x2bd)](_0x43181b))_0x34cbd8[_0x373261(0x28d)][_0x9f14d3[_0x373261(0x1aa)]()]=_0x3484ce;}}else{if(_0x2568fc[_0x373261(0x1d7)](_0x373261(0x144))===0x0){const _0x5110ad=_0x520daa?_0x2568fc['_originalIpc']?_0x41145f[_0x373261(0x14a)]===_0x2568fc[_0x373261(0x22e)]:!0x1:_0x2568fc['_originalIpc']?!0x1:_0x107802[_0x373261(0x1d4)]===_0x2568fc[_0x373261(0x22e)];(!_0x5110ad||_0x2568fc[_0x373261(0x1e8)]&&!_0x5d75a5)&&(delete _0x41145f[_0x373261(0x28d)][_0x373261(0x2b8)],delete _0x41145f[_0x373261(0x28d)][_0x373261(0x298)],_0x5110ad||delete _0x41145f[_0x373261(0x28d)][_0x373261(0x1d4)],_0x41145f[_0x373261(0x1fb)]=void 0x0);}}_0x41145f[_0x373261(0x1fb)]&&!_0x34cbd8[_0x373261(0x28d)][_0x373261(0x2b8)]&&(_0x34cbd8['headers'][_0x373261(0x2b8)]=_0x373261(0x295)+Buffer[_0x373261(0x19f)](_0x41145f[_0x373261(0x1fb)])[_0x373261(0x1da)](_0x373261(0x1ef))),_0x22852f=_0x2568fc['_req']=_0xfb3a9c(_0x41145f),_0x2568fc[_0x373261(0x2ab)]&&_0x2568fc[_0x373261(0x29b)](_0x373261(0x144),_0x2568fc[_0x373261(0x207)],_0x22852f);}else _0x22852f=_0x2568fc[_0x373261(0x22d)]=_0xfb3a9c(_0x41145f);_0x41145f[_0x373261(0x2f8)]&&_0x22852f['on'](_0x373261(0x2f8),()=>{const _0x546f8d=_0x373261;_0x1126de(_0x2568fc,_0x22852f,_0x546f8d(0x247));}),_0x22852f['on'](_0x373261(0x24f),_0x23cb14=>{const _0x1f3150=_0x373261;_0x22852f===null||_0x22852f[_0x2253db]||(_0x22852f=_0x2568fc[_0x1f3150(0x22d)]=null,_0x14eb58(_0x2568fc,_0x23cb14));}),_0x22852f['on'](_0x373261(0x168),_0x310eea=>{const _0x1dec82=_0x373261,_0x5738bc=_0x310eea['headers'][_0x1dec82(0x1a0)],_0x26c851=_0x310eea['statusCode'];if(_0x5738bc&&_0x41145f[_0x1dec82(0x1ae)]&&_0x26c851>=0x12c&&_0x26c851<0x190){if(++_0x2568fc[_0x1dec82(0x2ab)]>_0x41145f['maxRedirects']){_0x1126de(_0x2568fc,_0x22852f,_0x1dec82(0x191));return;}_0x22852f['abort']();let _0x512bd0;try{_0x512bd0=new _0x483038(_0x5738bc,_0x9af0b2);}catch{const _0x27b773=new SyntaxError(_0x1dec82(0x29c)+_0x5738bc);_0x14eb58(_0x2568fc,_0x27b773);return;}_0x2569a3(_0x2568fc,_0x512bd0,_0x3609bb,_0x34cbd8);}else _0x2568fc['emit'](_0x1dec82(0x17e),_0x22852f,_0x310eea)||_0x1126de(_0x2568fc,_0x22852f,'Unexpected\x20server\x20response:\x20'+_0x310eea[_0x1dec82(0x2f2)]);}),_0x22852f['on'](_0x373261(0x2b9),(_0x335f33,_0x512c77,_0x597474)=>{const _0x2be4e2=_0x373261;if(_0x2568fc[_0x2be4e2(0x29b)]('upgrade',_0x335f33),_0x2568fc['readyState']!==_0x3c8787[_0x2be4e2(0x1fc)])return;_0x22852f=_0x2568fc[_0x2be4e2(0x22d)]=null;const _0x536d45=_0x335f33['headers'][_0x2be4e2(0x2b9)];if(_0x536d45===void 0x0||_0x536d45[_0x2be4e2(0x1aa)]()!==_0x2be4e2(0x26d)){_0x1126de(_0x2568fc,_0x512c77,_0x2be4e2(0x2db));return;}const _0x10f158=_0x31ef3c(_0x2be4e2(0x26a))[_0x2be4e2(0x1c8)](_0xf75717+_0x3b9c57)['digest']('base64');if(_0x335f33[_0x2be4e2(0x28d)][_0x2be4e2(0x2ce)]!==_0x10f158){_0x1126de(_0x2568fc,_0x512c77,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x215f62=_0x335f33[_0x2be4e2(0x28d)][_0x2be4e2(0x25f)];let _0x4de1e7;if(_0x215f62!==void 0x0?_0x583626[_0x2be4e2(0x199)]?_0x583626[_0x2be4e2(0x227)](_0x215f62)||(_0x4de1e7=_0x2be4e2(0x251)):_0x4de1e7=_0x2be4e2(0x252):_0x583626['size']&&(_0x4de1e7=_0x2be4e2(0x280)),_0x4de1e7){_0x1126de(_0x2568fc,_0x512c77,_0x4de1e7);return;}_0x215f62&&(_0x2568fc[_0x2be4e2(0x146)]=_0x215f62);const _0x5b7407=_0x335f33[_0x2be4e2(0x28d)][_0x2be4e2(0x1ea)];if(_0x5b7407!==void 0x0){if(!_0x4cb68c){_0x1126de(_0x2568fc,_0x512c77,_0x2be4e2(0x18f));return;}let _0x578bd6;try{_0x578bd6=_0x18e4f2(_0x5b7407);}catch{_0x1126de(_0x2568fc,_0x512c77,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x4382c9=Object[_0x2be4e2(0x160)](_0x578bd6);if(_0x4382c9['length']!==0x1||_0x4382c9[0x0]!==_0x1079a2[_0x2be4e2(0x279)]){_0x1126de(_0x2568fc,_0x512c77,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x4cb68c[_0x2be4e2(0x183)](_0x578bd6[_0x1079a2[_0x2be4e2(0x279)]]);}catch{_0x1126de(_0x2568fc,_0x512c77,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x2568fc[_0x2be4e2(0x140)][_0x1079a2['extensionName']]=_0x4cb68c;}_0x2568fc[_0x2be4e2(0x1a6)](_0x512c77,_0x597474,{'allowSynchronousEvents':_0x41145f['allowSynchronousEvents'],'generateMask':_0x41145f[_0x2be4e2(0x2a3)],'maxPayload':_0x41145f[_0x2be4e2(0x2ae)],'skipUTF8Validation':_0x41145f[_0x2be4e2(0x264)]});}),_0x41145f[_0x373261(0x2ea)]?_0x41145f[_0x373261(0x2ea)](_0x22852f,_0x2568fc):_0x22852f[_0x373261(0x1e6)]();}function _0x14eb58(_0x4d0bbc,_0xedca2f){const _0x184a71=_0x2ed8ad;_0x4d0bbc[_0x184a71(0x2ed)]=_0x3c8787[_0x184a71(0x13f)],_0x4d0bbc[_0x184a71(0x196)]=!0x0,_0x4d0bbc[_0x184a71(0x29b)](_0x184a71(0x24f),_0xedca2f),_0x4d0bbc['emitClose']();}function _0x527ac4(_0x5b232){const _0x117cbe=_0x2ed8ad;return _0x5b232[_0x117cbe(0x15b)]=_0x5b232[_0x117cbe(0x14a)],_0x400194[_0x117cbe(0x1cc)](_0x5b232);}function _0x286b76(_0x3ce028){const _0x1b3bcd=_0x2ed8ad;return _0x3ce028[_0x1b3bcd(0x15b)]=void 0x0,!_0x3ce028[_0x1b3bcd(0x2c2)]&&_0x3ce028[_0x1b3bcd(0x2c2)]!==''&&(_0x3ce028['servername']=_0x400194['isIP'](_0x3ce028[_0x1b3bcd(0x1d4)])?'':_0x3ce028['host']),_0x19ffc4['connect'](_0x3ce028);}function _0x1126de(_0x5a96b1,_0x46f9e3,_0x5c39e9){const _0x3db476=_0x2ed8ad;_0x5a96b1['_readyState']=_0x3c8787[_0x3db476(0x13f)];const _0x3b26ef=new Error(_0x5c39e9);Error[_0x3db476(0x201)](_0x3b26ef,_0x1126de),_0x46f9e3[_0x3db476(0x2bf)]?(_0x46f9e3[_0x2253db]=!0x0,_0x46f9e3[_0x3db476(0x226)](),_0x46f9e3['socket']&&!_0x46f9e3['socket'][_0x3db476(0x1e4)]&&_0x46f9e3[_0x3db476(0x2e2)][_0x3db476(0x24d)](),process[_0x3db476(0x1f6)](_0x14eb58,_0x5a96b1,_0x3b26ef)):(_0x46f9e3[_0x3db476(0x24d)](_0x3b26ef),_0x46f9e3[_0x3db476(0x14f)]('error',_0x5a96b1[_0x3db476(0x29b)]['bind'](_0x5a96b1,_0x3db476(0x24f))),_0x46f9e3[_0x3db476(0x14f)](_0x3db476(0x2a8),_0x5a96b1[_0x3db476(0x1f5)][_0x3db476(0x190)](_0x5a96b1)));}function _0x15039e(_0x3dd514,_0x341f85,_0x9b5080){const _0x208319=_0x2ed8ad;if(_0x341f85){const _0x576f12=_0x38483c(_0x341f85)?_0x341f85[_0x208319(0x199)]:_0x5b1ba6(_0x341f85)['length'];_0x3dd514[_0x208319(0x265)]?_0x3dd514['_sender'][_0x208319(0x15a)]+=_0x576f12:_0x3dd514[_0x208319(0x223)]+=_0x576f12;}if(_0x9b5080){const _0x2910bf=new Error(_0x208319(0x192)+_0x3dd514[_0x208319(0x218)]+'\x20('+_0x3d606e[_0x3dd514['readyState']]+')');process['nextTick'](_0x9b5080,_0x2910bf);}}function _0x33ae7c(_0x163483,_0x1eef4a){const _0x437053=_0x2ed8ad,_0x36906b=this[_0x58269c];_0x36906b[_0x437053(0x1b4)]=!0x0,_0x36906b[_0x437053(0x1d5)]=_0x1eef4a,_0x36906b['_closeCode']=_0x163483,_0x36906b[_0x437053(0x265)][_0x58269c]!==void 0x0&&(_0x36906b[_0x437053(0x265)][_0x437053(0x13c)](_0x437053(0x14b),_0x2fa08a),process['nextTick'](_0x2f3577,_0x36906b[_0x437053(0x265)]),_0x163483===0x3ed?_0x36906b[_0x437053(0x2a8)]():_0x36906b['close'](_0x163483,_0x1eef4a));}function _0x5b6a6b(){const _0x4bb7c7=_0x2ed8ad,_0x3efeea=this[_0x58269c];_0x3efeea[_0x4bb7c7(0x289)]||_0x3efeea[_0x4bb7c7(0x265)][_0x4bb7c7(0x27f)]();}function _0x4ec8e8(_0x565469){const _0x6a84fd=_0x2ed8ad,_0x5360bc=this[_0x58269c];_0x5360bc[_0x6a84fd(0x265)][_0x58269c]!==void 0x0&&(_0x5360bc[_0x6a84fd(0x265)][_0x6a84fd(0x13c)](_0x6a84fd(0x14b),_0x2fa08a),process[_0x6a84fd(0x1f6)](_0x2f3577,_0x5360bc[_0x6a84fd(0x265)]),_0x5360bc[_0x6a84fd(0x2a8)](_0x565469[_0x477eb9])),_0x5360bc[_0x6a84fd(0x196)]||(_0x5360bc[_0x6a84fd(0x196)]=!0x0,_0x5360bc[_0x6a84fd(0x29b)](_0x6a84fd(0x24f),_0x565469));}function _0xf46b1d(){this[_0x58269c]['emitClose']();}function _0x9772ab(_0x2791bc,_0x152dd6){const _0x661ab0=_0x2ed8ad;this[_0x58269c][_0x661ab0(0x29b)](_0x661ab0(0x1dc),_0x2791bc,_0x152dd6);}function _0x224265(_0x3caa86){const _0x1eaa0d=_0x2ed8ad,_0x16330c=this[_0x58269c];_0x16330c['_autoPong']&&_0x16330c[_0x1eaa0d(0x1f9)](_0x3caa86,!this[_0x1eaa0d(0x18e)],_0x5f2191),_0x16330c[_0x1eaa0d(0x29b)]('ping',_0x3caa86);}function _0x10ed0c(_0x255355){const _0x53dc5f=_0x2ed8ad;this[_0x58269c][_0x53dc5f(0x29b)](_0x53dc5f(0x1f9),_0x255355);}function _0x2f3577(_0x4d7303){const _0x29d353=_0x2ed8ad;_0x4d7303[_0x29d353(0x27f)]();}function _0x31c458(_0xb59289){const _0x34e88a=_0x2ed8ad,_0x4d2224=this[_0x58269c];_0x4d2224[_0x34e88a(0x218)]!==_0x3c8787['CLOSED']&&(_0x4d2224['readyState']===_0x3c8787[_0x34e88a(0x186)]&&(_0x4d2224[_0x34e88a(0x2ed)]=_0x3c8787['CLOSING'],_0x1c318f(_0x4d2224)),this[_0x34e88a(0x265)][_0x34e88a(0x1e6)](),_0x4d2224[_0x34e88a(0x196)]||(_0x4d2224[_0x34e88a(0x196)]=!0x0,_0x4d2224[_0x34e88a(0x29b)](_0x34e88a(0x24f),_0xb59289)));}function _0x1c318f(_0x3fbf7d){const _0x2fb14c=_0x2ed8ad;_0x3fbf7d[_0x2fb14c(0x154)]=setTimeout(_0x3fbf7d['_socket'][_0x2fb14c(0x24d)][_0x2fb14c(0x190)](_0x3fbf7d[_0x2fb14c(0x265)]),_0x366d4a);}function _0x68f908(){const _0x11165f=_0x2ed8ad,_0x622940=this[_0x58269c];this[_0x11165f(0x13c)](_0x11165f(0x2a8),_0x68f908),this[_0x11165f(0x13c)](_0x11165f(0x14b),_0x2fa08a),this['removeListener'](_0x11165f(0x1e6),_0x5d0bcf),_0x622940[_0x11165f(0x2ed)]=_0x3c8787[_0x11165f(0x13f)];let _0x349b5f;!this[_0x11165f(0x179)][_0x11165f(0x1a5)]&&!_0x622940[_0x11165f(0x1b4)]&&!_0x622940['_receiver'][_0x11165f(0x238)]['errorEmitted']&&(_0x349b5f=_0x622940['_socket']['read']())!==null&&_0x622940['_receiver'][_0x11165f(0x1dd)](_0x349b5f),_0x622940[_0x11165f(0x21f)]['end'](),this[_0x58269c]=void 0x0,clearTimeout(_0x622940[_0x11165f(0x154)]),_0x622940[_0x11165f(0x21f)][_0x11165f(0x238)]['finished']||_0x622940['_receiver']['_writableState']['errorEmitted']?_0x622940[_0x11165f(0x1f5)]():(_0x622940[_0x11165f(0x21f)]['on'](_0x11165f(0x24f),_0xf46b1d),_0x622940['_receiver']['on'](_0x11165f(0x278),_0xf46b1d));}function _0x2fa08a(_0x1146f6){const _0x10aa46=_0x2ed8ad;this[_0x58269c][_0x10aa46(0x21f)][_0x10aa46(0x1dd)](_0x1146f6)||this[_0x10aa46(0x1b9)]();}function _0x5d0bcf(){const _0xf945e=_0x2ed8ad,_0x216d71=this[_0x58269c];_0x216d71[_0xf945e(0x2ed)]=_0x3c8787[_0xf945e(0x13f)],_0x216d71[_0xf945e(0x21f)][_0xf945e(0x1e6)](),this[_0xf945e(0x1e6)]();}function _0x8853a3(){const _0xd94466=_0x2ed8ad,_0xad7997=this[_0x58269c];this[_0xd94466(0x13c)](_0xd94466(0x24f),_0x8853a3),this['on'](_0xd94466(0x24f),_0x5f2191),_0xad7997&&(_0xad7997[_0xd94466(0x2ed)]=_0x3c8787['CLOSING'],this[_0xd94466(0x24d)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x2ff122}=oe;function _0x41f39f(_0x788915){const _0x9784fe=_0x4d67;_0x788915[_0x9784fe(0x29b)](_0x9784fe(0x2a8));}function _0x15ab20(){const _0x17e0b6=_0x4d67;!this[_0x17e0b6(0x1e4)]&&this[_0x17e0b6(0x238)][_0x17e0b6(0x23f)]&&this[_0x17e0b6(0x24d)]();}function _0x4c4294(_0x20df09){const _0x2e03bc=_0x4d67;this[_0x2e03bc(0x13c)](_0x2e03bc(0x24f),_0x4c4294),this['destroy'](),this[_0x2e03bc(0x1d7)](_0x2e03bc(0x24f))===0x0&&this[_0x2e03bc(0x29b)](_0x2e03bc(0x24f),_0x20df09);}function _0x1f5b87(_0xfa5cb2,_0x59d20b){const _0x587534=_0x4d67;let _0x500e70=!0x0;const _0x223efc=new _0x2ff122({..._0x59d20b,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xfa5cb2['on'](_0x587534(0x1dc),function(_0x51367c,_0x4f5f7d){const _0x231512=_0x587534,_0x252893=!_0x4f5f7d&&_0x223efc[_0x231512(0x179)][_0x231512(0x206)]?_0x51367c[_0x231512(0x1da)]():_0x51367c;_0x223efc[_0x231512(0x17d)](_0x252893)||_0xfa5cb2[_0x231512(0x1b9)]();}),_0xfa5cb2[_0x587534(0x14f)](_0x587534(0x24f),function(_0x5daad1){const _0x30c88f=_0x587534;_0x223efc[_0x30c88f(0x1e4)]||(_0x500e70=!0x1,_0x223efc[_0x30c88f(0x24d)](_0x5daad1));}),_0xfa5cb2['once'](_0x587534(0x2a8),function(){const _0x557762=_0x587534;_0x223efc[_0x557762(0x1e4)]||_0x223efc[_0x557762(0x17d)](null);}),_0x223efc['_destroy']=function(_0x38001b,_0x1f2f0c){const _0x10801b=_0x587534;if(_0xfa5cb2[_0x10801b(0x218)]===_0xfa5cb2[_0x10801b(0x2b0)]){_0x1f2f0c(_0x38001b),process[_0x10801b(0x1f6)](_0x41f39f,_0x223efc);return;}let _0x3ea777=!0x1;_0xfa5cb2[_0x10801b(0x14f)]('error',function(_0x40a3b6){_0x3ea777=!0x0,_0x1f2f0c(_0x40a3b6);}),_0xfa5cb2['once']('close',function(){const _0xd477cb=_0x10801b;_0x3ea777||_0x1f2f0c(_0x38001b),process[_0xd477cb(0x1f6)](_0x41f39f,_0x223efc);}),_0x500e70&&_0xfa5cb2[_0x10801b(0x27d)]();},_0x223efc[_0x587534(0x14e)]=function(_0x8775e){const _0x35b631=_0x587534;if(_0xfa5cb2['readyState']===_0xfa5cb2[_0x35b631(0x1fc)]){_0xfa5cb2[_0x35b631(0x14f)](_0x35b631(0x13a),function(){const _0x28f295=_0x35b631;_0x223efc[_0x28f295(0x14e)](_0x8775e);});return;}_0xfa5cb2[_0x35b631(0x265)]!==null&&(_0xfa5cb2['_socket'][_0x35b631(0x238)][_0x35b631(0x23f)]?(_0x8775e(),_0x223efc['_readableState'][_0x35b631(0x1a5)]&&_0x223efc[_0x35b631(0x24d)]()):(_0xfa5cb2[_0x35b631(0x265)][_0x35b631(0x14f)](_0x35b631(0x278),function(){_0x8775e();}),_0xfa5cb2[_0x35b631(0x2a8)]()));},_0x223efc[_0x587534(0x250)]=function(){const _0x77d778=_0x587534;_0xfa5cb2[_0x77d778(0x289)]&&_0xfa5cb2[_0x77d778(0x27f)]();},_0x223efc[_0x587534(0x180)]=function(_0x54f691,_0x5238f1,_0x303456){const _0x19ef0f=_0x587534;if(_0xfa5cb2[_0x19ef0f(0x218)]===_0xfa5cb2[_0x19ef0f(0x1fc)]){_0xfa5cb2[_0x19ef0f(0x14f)](_0x19ef0f(0x13a),function(){const _0x46d112=_0x19ef0f;_0x223efc[_0x46d112(0x180)](_0x54f691,_0x5238f1,_0x303456);});return;}_0xfa5cb2[_0x19ef0f(0x213)](_0x54f691,_0x303456);},_0x223efc['on'](_0x587534(0x1e6),_0x15ab20),_0x223efc['on'](_0x587534(0x24f),_0x4c4294),_0x223efc;}return Oe=_0x1f5b87,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x18955e}=ae();function _0x5aa3bc(_0x228a90){const _0x4106a2=_0x4d67,_0x2ee0f8=new Set();let _0x111e8e=-0x1,_0x1d3424=-0x1,_0x38e745=0x0;for(_0x38e745;_0x38e745<_0x228a90[_0x4106a2(0x16e)];_0x38e745++){const _0x366df5=_0x228a90[_0x4106a2(0x2e7)](_0x38e745);if(_0x1d3424===-0x1&&_0x18955e[_0x366df5]===0x1)_0x111e8e===-0x1&&(_0x111e8e=_0x38e745);else{if(_0x38e745!==0x0&&(_0x366df5===0x20||_0x366df5===0x9))_0x1d3424===-0x1&&_0x111e8e!==-0x1&&(_0x1d3424=_0x38e745);else{if(_0x366df5===0x2c){if(_0x111e8e===-0x1)throw new SyntaxError(_0x4106a2(0x19a)+_0x38e745);_0x1d3424===-0x1&&(_0x1d3424=_0x38e745);const _0x5d4288=_0x228a90[_0x4106a2(0x2aa)](_0x111e8e,_0x1d3424);if(_0x2ee0f8[_0x4106a2(0x227)](_0x5d4288))throw new SyntaxError('The\x20\x22'+_0x5d4288+_0x4106a2(0x170));_0x2ee0f8[_0x4106a2(0x2cd)](_0x5d4288),_0x111e8e=_0x1d3424=-0x1;}else throw new SyntaxError(_0x4106a2(0x19a)+_0x38e745);}}}if(_0x111e8e===-0x1||_0x1d3424!==-0x1)throw new SyntaxError(_0x4106a2(0x26c));const _0x90718d=_0x228a90[_0x4106a2(0x2aa)](_0x111e8e,_0x38e745);if(_0x2ee0f8[_0x4106a2(0x227)](_0x90718d))throw new SyntaxError(_0x4106a2(0x1a4)+_0x90718d+'\x22\x20subprotocol\x20is\x20duplicated');return _0x2ee0f8[_0x4106a2(0x2cd)](_0x90718d),_0x2ee0f8;}return Ce={'parse':_0x5aa3bc},Ce;}var Te,rt;function Ft(){const _0xfdc0d0=_0x32ca07;if(rt)return Te;rt=0x1;const _0x2da189=nt,_0x10a217=ot,{Duplex:_0x502a90}=oe,{createHash:_0x66e3e1}=Le,_0x3d42a6=ct(),_0x3f3e37=he(),_0x291b9d=At(),_0x454412=Pe(),{GUID:_0x24e19d,kWebSocket:_0x280050}=H(),_0x5897d2=/^[+/0-9A-Za-z]{22}==$/,_0x5af39f=0x0,_0x5c1d0b=0x1,_0x139c92=0x2;class _0x4048a3 extends _0x2da189{constructor(_0x438996,_0x67dbc3){const _0x2ff4fb=_0x4d67;if(super(),_0x438996={'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':_0x454412,..._0x438996},_0x438996['port']==null&&!_0x438996['server']&&!_0x438996['noServer']||_0x438996[_0x2ff4fb(0x23e)]!=null&&(_0x438996[_0x2ff4fb(0x1bc)]||_0x438996[_0x2ff4fb(0x2cb)])||_0x438996[_0x2ff4fb(0x1bc)]&&_0x438996[_0x2ff4fb(0x2cb)])throw new TypeError(_0x2ff4fb(0x19d));if(_0x438996[_0x2ff4fb(0x23e)]!=null?(this[_0x2ff4fb(0x210)]=_0x10a217[_0x2ff4fb(0x1e5)]((_0x2b6b77,_0x525f65)=>{const _0x39d0fd=_0x2ff4fb,_0x3fa41e=_0x10a217[_0x39d0fd(0x2de)][0x1aa];_0x525f65[_0x39d0fd(0x216)](0x1aa,{'Content-Length':_0x3fa41e[_0x39d0fd(0x16e)],'Content-Type':_0x39d0fd(0x23c)}),_0x525f65['end'](_0x3fa41e);}),this['_server']['listen'](_0x438996[_0x2ff4fb(0x23e)],_0x438996['host'],_0x438996[_0x2ff4fb(0x2be)],_0x67dbc3)):_0x438996[_0x2ff4fb(0x1bc)]&&(this[_0x2ff4fb(0x210)]=_0x438996['server']),this[_0x2ff4fb(0x210)]){const _0x40bfe7=this[_0x2ff4fb(0x29b)][_0x2ff4fb(0x190)](this,_0x2ff4fb(0x1e9));this[_0x2ff4fb(0x16c)]=_0x3ff595(this[_0x2ff4fb(0x210)],{'listening':this[_0x2ff4fb(0x29b)]['bind'](this,'listening'),'error':this[_0x2ff4fb(0x29b)][_0x2ff4fb(0x190)](this,_0x2ff4fb(0x24f)),'upgrade':(_0x3c0a10,_0x3ec9ff,_0x5e9003)=>{const _0x2ddbde=_0x2ff4fb;this[_0x2ddbde(0x19b)](_0x3c0a10,_0x3ec9ff,_0x5e9003,_0x40bfe7);}});}_0x438996['perMessageDeflate']===!0x0&&(_0x438996['perMessageDeflate']={}),_0x438996[_0x2ff4fb(0x27e)]&&(this[_0x2ff4fb(0x1ec)]=new Set(),this[_0x2ff4fb(0x2e3)]=!0x1),this[_0x2ff4fb(0x246)]=_0x438996,this[_0x2ff4fb(0x283)]=_0x5af39f;}[_0xfdc0d0(0x176)](){const _0x16c605=_0xfdc0d0;if(this[_0x16c605(0x246)][_0x16c605(0x2cb)])throw new Error(_0x16c605(0x1a8));return this[_0x16c605(0x210)]?this[_0x16c605(0x210)][_0x16c605(0x176)]():null;}[_0xfdc0d0(0x2a8)](_0x2a4ad0){const _0x4afe07=_0xfdc0d0;if(this[_0x4afe07(0x283)]===_0x139c92){_0x2a4ad0&&this['once'](_0x4afe07(0x2a8),()=>{const _0x97432e=_0x4afe07;_0x2a4ad0(new Error(_0x97432e(0x1b2)));}),process[_0x4afe07(0x1f6)](_0x165c47,this);return;}if(_0x2a4ad0&&this[_0x4afe07(0x14f)](_0x4afe07(0x2a8),_0x2a4ad0),this[_0x4afe07(0x283)]!==_0x5c1d0b){if(this[_0x4afe07(0x283)]=_0x5c1d0b,this['options'][_0x4afe07(0x2cb)]||this[_0x4afe07(0x246)]['server'])this[_0x4afe07(0x210)]&&(this['_removeListeners'](),this[_0x4afe07(0x16c)]=this[_0x4afe07(0x210)]=null),this[_0x4afe07(0x1ec)]?this[_0x4afe07(0x1ec)][_0x4afe07(0x199)]?this['_shouldEmitClose']=!0x0:process[_0x4afe07(0x1f6)](_0x165c47,this):process[_0x4afe07(0x1f6)](_0x165c47,this);else{const _0x37fe99=this[_0x4afe07(0x210)];this[_0x4afe07(0x16c)](),this[_0x4afe07(0x16c)]=this[_0x4afe07(0x210)]=null,_0x37fe99[_0x4afe07(0x2a8)](()=>{_0x165c47(this);});}}}[_0xfdc0d0(0x268)](_0x5d2240){const _0x4e2bb7=_0xfdc0d0;if(this['options'][_0x4e2bb7(0x15b)]){const _0x48af13=_0x5d2240['url'][_0x4e2bb7(0x2f5)]('?');if((_0x48af13!==-0x1?_0x5d2240['url'][_0x4e2bb7(0x2aa)](0x0,_0x48af13):_0x5d2240[_0x4e2bb7(0x207)])!==this[_0x4e2bb7(0x246)]['path'])return!0x1;}return!0x0;}[_0xfdc0d0(0x19b)](_0x3eb2f0,_0x1a8469,_0x4aaa0c,_0x33a407){const _0x472882=_0xfdc0d0;_0x1a8469['on'](_0x472882(0x24f),_0x33ad1c);const _0x1f3e5c=_0x3eb2f0[_0x472882(0x28d)][_0x472882(0x13e)],_0x1843be=_0x3eb2f0['headers'][_0x472882(0x2b9)],_0x5988d4=+_0x3eb2f0['headers'][_0x472882(0x281)];if(_0x3eb2f0[_0x472882(0x18b)]!==_0x472882(0x28c)){_0x5b8e07(this,_0x3eb2f0,_0x1a8469,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x1843be===void 0x0||_0x1843be[_0x472882(0x1aa)]()!==_0x472882(0x26d)){_0x5b8e07(this,_0x3eb2f0,_0x1a8469,0x190,_0x472882(0x2db));return;}if(_0x1f3e5c===void 0x0||!_0x5897d2[_0x472882(0x294)](_0x1f3e5c)){_0x5b8e07(this,_0x3eb2f0,_0x1a8469,0x190,_0x472882(0x2b7));return;}if(_0x5988d4!==0x8&&_0x5988d4!==0xd){_0x5b8e07(this,_0x3eb2f0,_0x1a8469,0x190,_0x472882(0x16f));return;}if(!this['shouldHandle'](_0x3eb2f0)){_0x30518f(_0x1a8469,0x190);return;}const _0x11f956=_0x3eb2f0[_0x472882(0x28d)][_0x472882(0x25f)];let _0x2ce571=new Set();if(_0x11f956!==void 0x0)try{_0x2ce571=_0x291b9d['parse'](_0x11f956);}catch{_0x5b8e07(this,_0x3eb2f0,_0x1a8469,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x54cc63=_0x3eb2f0[_0x472882(0x28d)]['sec-websocket-extensions'],_0x50e3cc={};if(this[_0x472882(0x246)][_0x472882(0x202)]&&_0x54cc63!==void 0x0){const _0x40b959=new _0x3f3e37(this[_0x472882(0x246)][_0x472882(0x202)],!0x0,this[_0x472882(0x246)][_0x472882(0x2ae)]);try{const _0x2cb755=_0x3d42a6[_0x472882(0x151)](_0x54cc63);_0x2cb755[_0x3f3e37['extensionName']]&&(_0x40b959[_0x472882(0x183)](_0x2cb755[_0x3f3e37['extensionName']]),_0x50e3cc[_0x3f3e37[_0x472882(0x279)]]=_0x40b959);}catch{_0x5b8e07(this,_0x3eb2f0,_0x1a8469,0x190,_0x472882(0x220));return;}}if(this[_0x472882(0x246)][_0x472882(0x293)]){const _0x386c07={'origin':_0x3eb2f0[_0x472882(0x28d)][''+(_0x5988d4===0x8?_0x472882(0x2c5):_0x472882(0x17b))],'secure':!!(_0x3eb2f0[_0x472882(0x2e2)][_0x472882(0x1db)]||_0x3eb2f0['socket'][_0x472882(0x2a9)]),'req':_0x3eb2f0};if(this['options'][_0x472882(0x293)][_0x472882(0x16e)]===0x2){this[_0x472882(0x246)][_0x472882(0x293)](_0x386c07,(_0x538a1a,_0x109828,_0x586fa0,_0x2297ff)=>{const _0x3e234e=_0x472882;if(!_0x538a1a)return _0x30518f(_0x1a8469,_0x109828||0x191,_0x586fa0,_0x2297ff);this[_0x3e234e(0x29e)](_0x50e3cc,_0x1f3e5c,_0x2ce571,_0x3eb2f0,_0x1a8469,_0x4aaa0c,_0x33a407);});return;}if(!this[_0x472882(0x246)]['verifyClient'](_0x386c07))return _0x30518f(_0x1a8469,0x191);}this['completeUpgrade'](_0x50e3cc,_0x1f3e5c,_0x2ce571,_0x3eb2f0,_0x1a8469,_0x4aaa0c,_0x33a407);}[_0xfdc0d0(0x29e)](_0x406826,_0x35d405,_0x1d8b1a,_0x569b8c,_0x1b596e,_0x5b2407,_0x444501){const _0x5f114f=_0xfdc0d0;if(!_0x1b596e[_0x5f114f(0x296)]||!_0x1b596e['writable'])return _0x1b596e['destroy']();if(_0x1b596e[_0x280050])throw new Error(_0x5f114f(0x274));if(this[_0x5f114f(0x283)]>_0x5af39f)return _0x30518f(_0x1b596e,0x1f7);const _0x5daaad=[_0x5f114f(0x2c9),'Upgrade:\x20websocket',_0x5f114f(0x2d2),_0x5f114f(0x17f)+_0x66e3e1(_0x5f114f(0x26a))[_0x5f114f(0x1c8)](_0x35d405+_0x24e19d)[_0x5f114f(0x169)]('base64')],_0x359bfd=new this[(_0x5f114f(0x246))][(_0x5f114f(0x1a9))](null,void 0x0,this[_0x5f114f(0x246)]);if(_0x1d8b1a[_0x5f114f(0x199)]){const _0x57b6a8=this['options']['handleProtocols']?this[_0x5f114f(0x246)][_0x5f114f(0x1df)](_0x1d8b1a,_0x569b8c):_0x1d8b1a[_0x5f114f(0x237)]()[_0x5f114f(0x20a)]()[_0x5f114f(0x2ef)];_0x57b6a8&&(_0x5daaad[_0x5f114f(0x17d)]('Sec-WebSocket-Protocol:\x20'+_0x57b6a8),_0x359bfd[_0x5f114f(0x146)]=_0x57b6a8);}if(_0x406826[_0x3f3e37[_0x5f114f(0x279)]]){const _0x154a49=_0x406826[_0x3f3e37[_0x5f114f(0x279)]]['params'],_0x13aac8=_0x3d42a6['format']({[_0x3f3e37[_0x5f114f(0x279)]]:[_0x154a49]});_0x5daaad['push'](_0x5f114f(0x172)+_0x13aac8),_0x359bfd[_0x5f114f(0x140)]=_0x406826;}this['emit'](_0x5f114f(0x28d),_0x5daaad,_0x569b8c),_0x1b596e[_0x5f114f(0x1dd)](_0x5daaad[_0x5f114f(0x1d3)]('\x0d\x0a')[_0x5f114f(0x21a)]('\x0d\x0a')),_0x1b596e[_0x5f114f(0x13c)]('error',_0x33ad1c),_0x359bfd['setSocket'](_0x1b596e,_0x5b2407,{'allowSynchronousEvents':this['options'][_0x5f114f(0x267)],'maxPayload':this['options'][_0x5f114f(0x2ae)],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this[_0x5f114f(0x1ec)]&&(this[_0x5f114f(0x1ec)][_0x5f114f(0x2cd)](_0x359bfd),_0x359bfd['on'](_0x5f114f(0x2a8),()=>{const _0x1e6c58=_0x5f114f;this[_0x1e6c58(0x1ec)][_0x1e6c58(0x181)](_0x359bfd),this[_0x1e6c58(0x2e3)]&&!this[_0x1e6c58(0x1ec)][_0x1e6c58(0x199)]&&process[_0x1e6c58(0x1f6)](_0x165c47,this);})),_0x444501(_0x359bfd,_0x569b8c);}}Te=_0x4048a3;function _0x3ff595(_0x200566,_0x26a73c){const _0x35247d=_0xfdc0d0;for(const _0x503b8a of Object[_0x35247d(0x160)](_0x26a73c))_0x200566['on'](_0x503b8a,_0x26a73c[_0x503b8a]);return function(){const _0x45692e=_0x35247d;for(const _0x3387ba of Object[_0x45692e(0x160)](_0x26a73c))_0x200566[_0x45692e(0x13c)](_0x3387ba,_0x26a73c[_0x3387ba]);};}function _0x165c47(_0x3c5fda){const _0x2c1e94=_0xfdc0d0;_0x3c5fda[_0x2c1e94(0x283)]=_0x139c92,_0x3c5fda['emit']('close');}function _0x33ad1c(){const _0x328f97=_0xfdc0d0;this[_0x328f97(0x24d)]();}function _0x30518f(_0x2b4121,_0x3e67b1,_0x37b2f7,_0x571266){const _0x58079f=_0xfdc0d0;_0x37b2f7=_0x37b2f7||_0x10a217[_0x58079f(0x2de)][_0x3e67b1],_0x571266={'Connection':_0x58079f(0x2a8),'Content-Type':'text/html','Content-Length':Buffer[_0x58079f(0x158)](_0x37b2f7),..._0x571266},_0x2b4121[_0x58079f(0x14f)](_0x58079f(0x278),_0x2b4121[_0x58079f(0x24d)]),_0x2b4121['end'](_0x58079f(0x204)+_0x3e67b1+'\x20'+_0x10a217[_0x58079f(0x2de)][_0x3e67b1]+'\x0d\x0a'+Object['keys'](_0x571266)['map'](_0x4a47cb=>_0x4a47cb+':\x20'+_0x571266[_0x4a47cb])[_0x58079f(0x21a)]('\x0d\x0a')+_0x58079f(0x1c7)+_0x37b2f7);}function _0x5b8e07(_0x1c7617,_0x475aaf,_0x500503,_0x517e66,_0x5660e5){const _0x5cb1c9=_0xfdc0d0;if(_0x1c7617[_0x5cb1c9(0x1d7)](_0x5cb1c9(0x253))){const _0x1a0050=new Error(_0x5660e5);Error[_0x5cb1c9(0x201)](_0x1a0050,_0x5b8e07),_0x1c7617[_0x5cb1c9(0x29b)](_0x5cb1c9(0x253),_0x1a0050,_0x500503,_0x475aaf);}else _0x30518f(_0x500503,_0x517e66,_0x5660e5);}return Te;}Ft();var jt=Object[_0x32ca07(0x2c0)],Wt=(_0x4bc7b3,_0x16bccb,_0x335cf0,_0x62c6ff)=>{const _0x1967f8=_0x32ca07;for(var _0x2d6ae1=_0x62c6ff>0x1?void 0x0:_0x62c6ff?jt(_0x16bccb,_0x335cf0):_0x16bccb,_0x391bf3=_0x4bc7b3[_0x1967f8(0x16e)]-0x1,_0xe28f67;_0x391bf3>=0x0;_0x391bf3--)(_0xe28f67=_0x4bc7b3[_0x391bf3])&&(_0x2d6ae1=_0xe28f67(_0x2d6ae1)||_0x2d6ae1);return _0x2d6ae1;},qt=(_0x585329,_0x1aa586)=>(_0x5d390e,_0x5968a0)=>_0x1aa586(_0x5d390e,_0x5968a0,_0x585329);function _0x1760(){const _0x1aaa56=['websocket','kWasClean','freeze','binary','number','getPayloadLength16','getData','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','reset','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','byteOffset','finish','extensionName','_options','_injector','dequeue','terminate','clientTracking','resume','Server\x20sent\x20no\x20subprotocol','sec-websocket-version','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_state','string','permessage-deflate','_errored','__esModule','isServer','isPaused','Blob','Sec-WebSocket-Protocol','GET','headers','mask','warn','cleanup','toDisposable','threshold','verifyClient','test','Basic\x20','readable','conclude','cookie','_opcode','server_no_context_takeover','emit','Invalid\x20URL:\x20','_generateMask','completeUpgrade','Observable','Max\x20payload\x20size\x20exceeded','dispatch','Invalid\x20value\x20for\x20parameter\x20\x22','generateMask','removeEventListener','onStarting','invalid\x20UTF-8\x20sequence','_mask','close','encrypted','slice','_redirects','Z_SYNC_FLUSH','kRun','maxPayload','listeners','CLOSED','_configService','request','createSocket','ISocketService','extensions','toStringTag','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','authorization','upgrade','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','isArray','defineProperty','entries','backlog','setHeader','getOwnPropertyDescriptor','_loop','servername','wss:','WS_ERR_INVALID_UTF8','sec-websocket-origin','forEach','_compressed','onerror','HTTP/1.1\x20101\x20Switching\x20Protocols','readUInt16BE','noServer','enqueue','add','sec-websocket-accept','onopen','registerDependencies','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','Connection:\x20Upgrade','map','object','hostname','startLoop','WS_ERR_INVALID_CLOSE_CODE','writeUIntBE','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','flush','Invalid\x20Upgrade\x20header','client_no_context_takeover','Cookie','STATUS_CODES','type','10563LGQGmD','haveLength','socket','_shouldEmitClose','_no_context_takeover','CollaborationSocketService','_decompress','charCodeAt','_skipUTF8Validation','zlibDeflateOptions','finishRequest','Plugin','zlibInflateOptions','_readyState','The\x20URL\x27s\x20pathname\x20is\x20empty','value','callback','isValidUTF8','statusCode','kByteLength','errorEmitted','indexOf','isBuffer','pathname','timeout','1368NBRsuq','normalizeParams','open','275031kmnAfO','removeListener','collaboration-client-node.config','sec-websocket-key','CLOSING','_extensions','concurrencyLimit','server_max_window_bits','WS_ERR_UNEXPECTED_RSV_2_3','redirect','ISnapshotServerService','_protocol','IConfigService','call','protocol','socketPath','data','isView','File','_final','once','allocUnsafe','parse','_maskBuffer','client','_closeTimer','_totalPayloadLength','decompress','acceptAsServer','byteLength','https:','_bufferedBytes','path','readUInt32BE','nodebuffer','_fragments','WS_ERR_INVALID_OPCODE','keys','WS_ERR_UNEXPECTED_RSV_1','split','setNoDelay','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','http:','2nAFyvc','customHeaders','response','digest','WS_ERR_EXPECTED_MASK','getInfo','_removeListeners','6kpxVuJ','length','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','\x22\x20subprotocol\x20is\x20duplicated','shift','Sec-WebSocket-Extensions:\x20','params','ping','removeAllListeners','address','then','kTarget','_readableState','ws:','origin','fin','push','unexpected-response','Sec-WebSocket-Accept:\x20','_write','delete','consume','accept','find','autoPong','OPEN','invalid\x20opcode\x20','writeUInt16BE','species','registerHTTPInterceptor','method','set','exports','_isServer','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','bind','Maximum\x20redirects\x20exceeded','WebSocket\x20is\x20not\x20open:\x20readyState\x20','WS_ERR_UNEXPECTED_MASK','2209270DDVhOT','needDrain','_errorEmitted','clientNoContextTakeover','_queue','size','Unexpected\x20character\x20at\x20index\x20','handleUpgrade','pipe','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','default','from','location','cork','controlMessage','\x22:\x20','The\x20\x22','endEmitted','setSocket','href','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','WebSocket','toLowerCase','424kUiQxu','concurrency','get','followRedirects','invalid\x20payload\x20length\x20','Parameter\x20\x22','ILogService','The\x20server\x20is\x20not\x20running','createError','_closeFrameReceived','drain','code','defaultPort','sendFrame','pause','wasClean','getPayloadLength64','server','kListener','99154iAAxkh','2259761zqhacA','handshakeTimeout','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_payloadLength','dispose','addEventListener','_fragmented','serverMaxWindowBits','\x0d\x0a\x0d\x0a','update','_closeCode','WS_NO_UTF_8_VALIDATE','kMessage','connect','frame','_compress','env','setConfig','133786QShhOL','reason','concat','host','_closeMessage','kIsForOnEventAttribute','listenerCount','getBlobData','\x20(supported\x20versions:\x20','toString','authorized','message','write','arraybuffer','handleProtocols','prototype','_httpService','_messageLength','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','destroyed','createServer','end','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_originalSecure','connection','sec-websocket-extensions','password','clients','share','binaryType','base64','isInteger','_threshold','apply','dataMessage','Origin','emitClose','nextTick','Module','onclose','pong','kError','auth','CONNECTING','HTTPService','getMask','function','setTimeout','captureStackTrace','perMessageDeflate','pow','HTTP/1.1\x20','replace','objectMode','url','uncork','_allowSynchronousEvents','next','jobs','Z_DEFAULT_WINDOWBITS','WS_NO_BUFFER_UTIL','getConfig','Unsupported\x20protocol\x20version:\x20','_server','alloc','onmessage','send','_originalIpc','buffer','writeHead','buffers','readyState','kType','join','constructor','Sec-WebSocket-Extensions','Injector','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_receiver','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','bufferedAmount','UniverCollaborationClientNodePlugin','_bufferedAmount','acceptAsClient','hash','abort','has','MASK\x20must\x20be\x20set','_inflate','clientMaxWindowBits','_url','NodeCollaborationSocketService','_req','_originalHostOrSocketPath','_closeFrameSent','readOnly','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','serverNoContextTakeover','handleEvent','arrayBuffer','5212864ysAWLw','create','values','_writableState','pending','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_max_window_bits','text/plain','opcode','port','finished','target','unmask','_sender','_masked','_maxPayload','_binaryType','options','Opening\x20handshake\x20has\x20timed\x20out','FIN\x20must\x20be\x20set','client_max_window_bits','username','30jJPeGr','kDone','destroy','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','error','_read','Server\x20sent\x20an\x20invalid\x20subprotocol','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','wsClientError','RSV1\x20must\x20be\x20clear','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_fin','offer','unshift','invalid\x20opcode\x200','_paused','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','createInflateRaw','compress','_deflate','sec-websocket-protocol','protocolVersion','Disposable','_firstFragment','_buffers','skipUTF8Validation','_socket','hasOwnProperty','allowSynchronousEvents','shouldHandle','maskBuffer','sha1','Inject','Unexpected\x20end\x20of\x20input'];_0x1760=function(){return _0x1aaa56;};return _0x1760();}let ke=class extends A[_0x32ca07(0x261)]{constructor(_0x3940e2){const _0x21f7d9=_0x32ca07;super(),this[_0x21f7d9(0x2b1)]=_0x3940e2;}[_0x32ca07(0x2b3)](_0x401177){const _0x2f88c4=_0x32ca07;var _0x2c57e3;const _0xe4daea=(_0x2c57e3=this[_0x2f88c4(0x2b1)]['getConfig'](fe))==null?void 0x0:_0x2c57e3[_0x2f88c4(0x167)];try{const _0x5b0c9f=new $t(_0x401177,{'headers':{..._0xe4daea}}),_0x2aaa17=new A['DisposableCollection']();return{'URL':_0x401177,'close':(_0x31da8c,_0x599161)=>{const _0x5a35b5=_0x2f88c4;_0x5b0c9f['close'](_0x31da8c,_0x599161),_0x2aaa17[_0x5a35b5(0x1c3)]();},'send':_0x2112bd=>{const _0x1afdad=_0x2f88c4;_0x5b0c9f[_0x1afdad(0x213)](_0x2112bd);},'open$':new V[(_0x2f88c4(0x29f))](_0x17cc46=>{const _0x3de36d=_0x2f88c4,_0x4e15aa=_0x229396=>_0x17cc46[_0x3de36d(0x20a)](_0x229396);_0x5b0c9f[_0x3de36d(0x1c4)](_0x3de36d(0x13a),_0x4e15aa),_0x2aaa17[_0x3de36d(0x2cd)](A[_0x3de36d(0x291)](()=>_0x5b0c9f[_0x3de36d(0x2a4)]('open',_0x4e15aa)));})[_0x2f88c4(0x19c)](V[_0x2f88c4(0x1ed)]()),'close$':new V['Observable'](_0x1f02b9=>{const _0x5d7229=_0x2f88c4,_0x51890a=_0x2c245d=>_0x1f02b9['next'](_0x2c245d);_0x5b0c9f[_0x5d7229(0x1c4)]('close',_0x51890a),_0x2aaa17['add'](A['toDisposable'](()=>_0x5b0c9f['removeEventListener']('close',_0x51890a)));})[_0x2f88c4(0x19c)](V[_0x2f88c4(0x1ed)]()),'error$':new V[(_0x2f88c4(0x29f))](_0x198191=>{const _0x310a5f=_0x2f88c4,_0x98d8a0=_0x52bd04=>_0x198191[_0x310a5f(0x20a)](_0x52bd04);_0x5b0c9f['addEventListener'](_0x310a5f(0x24f),_0x98d8a0),_0x2aaa17[_0x310a5f(0x2cd)](A[_0x310a5f(0x291)](()=>_0x5b0c9f[_0x310a5f(0x2a4)](_0x310a5f(0x24f),_0x98d8a0)));})[_0x2f88c4(0x19c)](V[_0x2f88c4(0x1ed)]()),'message$':new V['Observable'](_0x5b1f38=>{const _0xee6325=_0x2f88c4,_0x375975=_0x1fe159=>_0x5b1f38['next'](_0x1fe159);_0x5b0c9f[_0xee6325(0x1c4)]('message',_0x375975),_0x2aaa17[_0xee6325(0x2cd)](A['toDisposable'](()=>_0x5b0c9f['removeEventListener'](_0xee6325(0x1dc),_0x375975)));})[_0x2f88c4(0x19c)](V[_0x2f88c4(0x1ed)]())};}catch(_0x152c38){return console[_0x2f88c4(0x24f)](_0x152c38),null;}}};ke=Wt([qt(0x0,A[_0x32ca07(0x147)])],ke);var Gt=Object[_0x32ca07(0x2bc)],Vt=Object[_0x32ca07(0x2c0)],Ht=(_0x57f5de,_0x4c3d98,_0x296cc7)=>_0x4c3d98 in _0x57f5de?Gt(_0x57f5de,_0x4c3d98,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x296cc7}):_0x57f5de[_0x4c3d98]=_0x296cc7,zt=(_0x639ef8,_0x1006e9,_0x2a0e7e,_0x2036ba)=>{for(var _0x2287f7=_0x2036ba>0x1?void 0x0:_0x2036ba?Vt(_0x1006e9,_0x2a0e7e):_0x1006e9,_0x5f2c5c=_0x639ef8['length']-0x1,_0x406f01;_0x5f2c5c>=0x0;_0x5f2c5c--)(_0x406f01=_0x639ef8[_0x5f2c5c])&&(_0x2287f7=_0x406f01(_0x2287f7)||_0x2287f7);return _0x2287f7;},Ne=(_0x50d172,_0x3bce95)=>(_0xbefe5a,_0x466549)=>_0x3bce95(_0xbefe5a,_0x466549,_0x50d172),Yt=(_0x164347,_0x530667,_0x49cf51)=>Ht(_0x164347,_0x530667+'',_0x49cf51);exports[_0x32ca07(0x222)]=class extends A[_0x32ca07(0x2eb)]{constructor(_0x3abbe9=Ct,_0x17516c,_0x52b777,_0x15e174){const _0x32ae45=_0x32ca07;_0x3abbe9[_0x32ae45(0x167)]||_0x17516c[_0x32ae45(0x28f)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x32ae45(0x2b1)]=_0x52b777,this[_0x32ae45(0x27b)]=_0x15e174,this[_0x32ae45(0x2b1)][_0x32ae45(0x1d0)](fe,_0x3abbe9);}[_0x32ca07(0x2a5)](){this['_registerDependencies']();}['_registerDependencies'](){const _0x3d7463=_0x32ca07;A[_0x3d7463(0x2d0)](this['_injector'],[[it[_0x3d7463(0x2b4)],{'useClass':ke}]]);}},Yt(exports[_0x32ca07(0x222)],'pluginName',_0x32ca07(0x255)),exports[_0x32ca07(0x222)]=zt([A['DependentOn'](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x32ca07(0x1b1)]),Ne(0x2,A[_0x32ca07(0x147)]),Ne(0x3,A['Inject'](A[_0x32ca07(0x21d)]))],exports[_0x32ca07(0x222)]);var Kt=Object[_0x32ca07(0x2c0)],Xt=(_0x268aca,_0x2b8c1d,_0x42be70,_0xf0c262)=>{for(var _0x2bc034=_0xf0c262>0x1?void 0x0:_0xf0c262?Kt(_0x2b8c1d,_0x42be70):_0x2b8c1d,_0x546faf=_0x268aca['length']-0x1,_0x479f2f;_0x546faf>=0x0;_0x546faf--)(_0x479f2f=_0x268aca[_0x546faf])&&(_0x2bc034=_0x479f2f(_0x2bc034)||_0x2bc034);return _0x2bc034;},ne=(_0x562955,_0x2384f4)=>(_0x55a55d,_0x34b96e)=>_0x2384f4(_0x55a55d,_0x34b96e,_0x562955);exports[_0x32ca07(0x22c)]=class extends st[_0x32ca07(0x2e5)]{constructor(_0x1631a8,_0x4f7df3,_0x3d1978,_0x5d723a,_0x5186c3){const _0x488d0f=_0x32ca07;super(_0x1631a8,_0x4f7df3,_0x3d1978,_0x5d723a,_0x5186c3);const _0x558ddc=this['_configService'][_0x488d0f(0x20e)](fe);this[_0x488d0f(0x1e1)][_0x488d0f(0x18a)]({'interceptor':(_0xf84756,_0xee9a8)=>{const _0x25d14d=_0x488d0f;var _0x49e5e0;const _0x1bb8be=_0xf84756['headers'];return(_0x49e5e0=_0x558ddc==null?void 0x0:_0x558ddc[_0x25d14d(0x167)])!=null&&_0x49e5e0[_0x25d14d(0x298)]&&_0x1bb8be[_0x25d14d(0x18c)](_0x25d14d(0x2dd),_0x558ddc[_0x25d14d(0x167)]['cookie']),_0xee9a8(_0xf84756);}});}async[_0x32ca07(0x2b3)](_0x179aac){return this['_doCreateSocket'](_0x179aac);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x32ca07(0x26b)](A[_0x32ca07(0x21d)])),ne(0x1,A[_0x32ca07(0x26b)](it[_0x32ca07(0x1fd)])),ne(0x2,A[_0x32ca07(0x147)]),ne(0x3,A[_0x32ca07(0x1b1)]),ne(0x4,Ot[_0x32ca07(0x145)])],exports[_0x32ca07(0x22c)]),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
1
+ 'use strict';const _0x22272f=_0x58d9;(function(_0xa6b6a5,_0x1c04be){const _0x472453=_0x58d9,_0xcb243f=_0xa6b6a5();while(!![]){try{const _0x49a1bb=parseInt(_0x472453(0x1b5))/0x1+parseInt(_0x472453(0x20c))/0x2+parseInt(_0x472453(0x192))/0x3+parseInt(_0x472453(0x157))/0x4*(-parseInt(_0x472453(0x160))/0x5)+-parseInt(_0x472453(0x1e8))/0x6*(-parseInt(_0x472453(0x205))/0x7)+parseInt(_0x472453(0x1e2))/0x8*(-parseInt(_0x472453(0x269))/0x9)+-parseInt(_0x472453(0x226))/0xa;if(_0x49a1bb===_0x1c04be)break;else _0xcb243f['push'](_0xcb243f['shift']());}catch(_0x236541){_0xcb243f['push'](_0xcb243f['shift']());}}}(_0x58bd,0x83aa8));Object[_0x22272f(0x2a1)](exports,Symbol[_0x22272f(0x253)],{'value':'Module'});const st=require('@univerjs-pro/collaboration-client'),A=require(_0x22272f(0x174)),it=require(_0x22272f(0x276)),V=require('rxjs'),nt=require(_0x22272f(0x1ee)),vt=require(_0x22272f(0x1c0)),ot=require(_0x22272f(0x259)),St=require(_0x22272f(0x1d9)),Et=require('tls'),Le=require('crypto'),oe=require(_0x22272f(0x23f)),xt=require(_0x22272f(0x28f)),bt=require('zlib'),wt=require(_0x22272f(0x2ad)),Ot=require(_0x22272f(0x130)),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x4bf0e7){const _0x37350=_0x22272f;return _0x4bf0e7&&_0x4bf0e7[_0x37350(0x256)]&&Object[_0x37350(0x24d)][_0x37350(0x17a)][_0x37350(0x268)](_0x4bf0e7,_0x37350(0x272))?_0x4bf0e7[_0x37350(0x272)]:_0x4bf0e7;}function at(_0x119593){const _0x5d9268=_0x22272f;if(Object['prototype'][_0x5d9268(0x17a)][_0x5d9268(0x268)](_0x119593,'__esModule'))return _0x119593;var _0x309908=_0x119593[_0x5d9268(0x272)];if(typeof _0x309908==_0x5d9268(0x194)){var _0x918c29=function _0x13ccc1(){const _0x51da61=_0x5d9268;return this instanceof _0x13ccc1?Reflect[_0x51da61(0x29a)](_0x309908,arguments,this[_0x51da61(0x13c)]):_0x309908[_0x51da61(0x214)](this,arguments);};_0x918c29[_0x5d9268(0x24d)]=_0x309908[_0x5d9268(0x24d)];}else _0x918c29={};return Object['defineProperty'](_0x918c29,'__esModule',{'value':!0x0}),Object['keys'](_0x119593)[_0x5d9268(0x206)](function(_0x164b39){const _0x322295=_0x5d9268;var _0x178697=Object[_0x322295(0x1aa)](_0x119593,_0x164b39);Object[_0x322295(0x2a1)](_0x918c29,_0x164b39,_0x178697[_0x322295(0x248)]?_0x178697:{'enumerable':!0x0,'get':function(){return _0x119593[_0x164b39];}});}),_0x918c29;}var se={'exports':{}},ge,Ge;function H(){const _0x2d691b=_0x22272f;if(Ge)return ge;Ge=0x1;const _0x111246=['nodebuffer','arraybuffer',_0x2d691b(0x107)],_0x189188=typeof Blob<'u';return _0x189188&&_0x111246['push'](_0x2d691b(0x27d)),ge={'BINARY_TYPES':_0x111246,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x2d691b(0x2a5),'hasBlob':_0x189188,'kForOnEventAttribute':Symbol(_0x2d691b(0x105)),'kListener':Symbol(_0x2d691b(0x11f)),'kStatusCode':Symbol(_0x2d691b(0x1bc)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0x22272f(0x2a1)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x5072d1=_0x22272f;if(Ve)return se[_0x5072d1(0x25a)];Ve=0x1;const {EMPTY_BUFFER:_0xb9e9f1}=H(),_0xac140a=Buffer[Symbol[_0x5072d1(0x28a)]];function _0x4abd2b(_0x3a7c26,_0x5a2803){const _0x1c3acb=_0x5072d1;if(_0x3a7c26[_0x1c3acb(0x1a1)]===0x0)return _0xb9e9f1;if(_0x3a7c26[_0x1c3acb(0x1a1)]===0x1)return _0x3a7c26[0x0];const _0x3875ea=Buffer[_0x1c3acb(0x1d3)](_0x5a2803);let _0x534b71=0x0;for(let _0x65026e=0x0;_0x65026e<_0x3a7c26['length'];_0x65026e++){const _0x347052=_0x3a7c26[_0x65026e];_0x3875ea[_0x1c3acb(0x232)](_0x347052,_0x534b71),_0x534b71+=_0x347052['length'];}return _0x534b71<_0x5a2803?new _0xac140a(_0x3875ea[_0x1c3acb(0x2ad)],_0x3875ea[_0x1c3acb(0x170)],_0x534b71):_0x3875ea;}function _0x149d40(_0x27baa0,_0xe956ba,_0x2b86f1,_0x258fa1,_0x5f56f6){for(let _0x464277=0x0;_0x464277<_0x5f56f6;_0x464277++)_0x2b86f1[_0x258fa1+_0x464277]=_0x27baa0[_0x464277]^_0xe956ba[_0x464277&0x3];}function _0xc76320(_0xbe548,_0x1f7aad){for(let _0x334e8b=0x0;_0x334e8b<_0xbe548['length'];_0x334e8b++)_0xbe548[_0x334e8b]^=_0x1f7aad[_0x334e8b&0x3];}function _0x467a22(_0x40ef61){const _0x493356=_0x5072d1;return _0x40ef61[_0x493356(0x1a1)]===_0x40ef61['buffer'][_0x493356(0x191)]?_0x40ef61['buffer']:_0x40ef61[_0x493356(0x2ad)]['slice'](_0x40ef61[_0x493356(0x170)],_0x40ef61[_0x493356(0x170)]+_0x40ef61['length']);}function _0x13ff63(_0x221640){const _0x49d56c=_0x5072d1;if(_0x13ff63[_0x49d56c(0x284)]=!0x0,Buffer[_0x49d56c(0x1bb)](_0x221640))return _0x221640;let _0x113710;return _0x221640 instanceof ArrayBuffer?_0x113710=new _0xac140a(_0x221640):ArrayBuffer[_0x49d56c(0x2af)](_0x221640)?_0x113710=new _0xac140a(_0x221640[_0x49d56c(0x2ad)],_0x221640['byteOffset'],_0x221640[_0x49d56c(0x191)]):(_0x113710=Buffer[_0x49d56c(0x27e)](_0x221640),_0x13ff63[_0x49d56c(0x284)]=!0x1),_0x113710;}if(se[_0x5072d1(0x25a)]={'concat':_0x4abd2b,'mask':_0x149d40,'toArrayBuffer':_0x467a22,'toBuffer':_0x13ff63,'unmask':_0xc76320},!process[_0x5072d1(0x25b)]['WS_NO_BUFFER_UTIL'])try{const _0x4790ae=Lt;se[_0x5072d1(0x25a)][_0x5072d1(0x136)]=function(_0x50105d,_0x5ccbe2,_0x56534c,_0x50d469,_0x504415){const _0x51127b=_0x5072d1;_0x504415<0x30?_0x149d40(_0x50105d,_0x5ccbe2,_0x56534c,_0x50d469,_0x504415):_0x4790ae[_0x51127b(0x136)](_0x50105d,_0x5ccbe2,_0x56534c,_0x50d469,_0x504415);},se['exports']['unmask']=function(_0x3fecd0,_0x335f00){const _0x251cd6=_0x5072d1;_0x3fecd0[_0x251cd6(0x1a1)]<0x20?_0xc76320(_0x3fecd0,_0x335f00):_0x4790ae['unmask'](_0x3fecd0,_0x335f00);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x69c843=_0x22272f;if(He)return ye;He=0x1;const _0x1cd6fc=Symbol(_0x69c843(0x274)),_0x33bd03=Symbol(_0x69c843(0x133));class _0x1313d8{constructor(_0x422354){const _0x4eab31=_0x69c843;this[_0x1cd6fc]=()=>{const _0x471442=_0x58d9;this[_0x471442(0x24f)]--,this[_0x33bd03]();},this[_0x4eab31(0x299)]=_0x422354||0x1/0x0,this[_0x4eab31(0x2b4)]=[],this[_0x4eab31(0x24f)]=0x0;}['add'](_0x183fe1){const _0x1a2b2d=_0x69c843;this[_0x1a2b2d(0x2b4)][_0x1a2b2d(0x27c)](_0x183fe1),this[_0x33bd03]();}[_0x33bd03](){const _0x1f61ab=_0x69c843;if(this[_0x1f61ab(0x24f)]!==this[_0x1f61ab(0x299)]&&this[_0x1f61ab(0x2b4)][_0x1f61ab(0x1a1)]){const _0x28b7ab=this['jobs']['shift']();this[_0x1f61ab(0x24f)]++,_0x28b7ab(this[_0x1cd6fc]);}}}return ye=_0x1313d8,ye;}var ve,ze;function he(){const _0x31671a=_0x22272f;if(ze)return ve;ze=0x1;const _0x20530c=bt,_0x56a7c7=ce(),_0x16259f=Pt(),{kStatusCode:_0x3fb848}=H(),_0x597f38=Buffer[Symbol['species']],_0x139a57=Buffer[_0x31671a(0x27e)]([0x0,0x0,0xff,0xff]),_0x34be7d=Symbol('permessage-deflate'),_0x10c800=Symbol(_0x31671a(0x250)),_0x3d8bfa=Symbol(_0x31671a(0x193)),_0x5ae09b=Symbol(_0x31671a(0x26c)),_0x5d90a4=Symbol(_0x31671a(0x298));let _0x29b1d1;class _0xf9a770{constructor(_0x1ac865,_0x37d717,_0x534769){const _0xffe261=_0x31671a;if(this['_maxPayload']=_0x534769|0x0,this[_0xffe261(0x2ae)]=_0x1ac865||{},this['_threshold']=this[_0xffe261(0x2ae)][_0xffe261(0x10b)]!==void 0x0?this[_0xffe261(0x2ae)][_0xffe261(0x10b)]:0x400,this['_isServer']=!!_0x37d717,this['_deflate']=null,this[_0xffe261(0x1c8)]=null,this[_0xffe261(0x159)]=null,!_0x29b1d1){const _0x8576a7=this[_0xffe261(0x2ae)][_0xffe261(0x1bf)]!==void 0x0?this[_0xffe261(0x2ae)][_0xffe261(0x1bf)]:0xa;_0x29b1d1=new _0x16259f(_0x8576a7);}}static get[_0x31671a(0x22d)](){const _0x405b6c=_0x31671a;return _0x405b6c(0x16f);}[_0x31671a(0x163)](){const _0x576e97=_0x31671a,_0x827988={};return this[_0x576e97(0x2ae)][_0x576e97(0x1ea)]&&(_0x827988['server_no_context_takeover']=!0x0),this[_0x576e97(0x2ae)][_0x576e97(0x29b)]&&(_0x827988['client_no_context_takeover']=!0x0),this[_0x576e97(0x2ae)][_0x576e97(0x24b)]&&(_0x827988['server_max_window_bits']=this[_0x576e97(0x2ae)]['serverMaxWindowBits']),this['_options']['clientMaxWindowBits']?_0x827988[_0x576e97(0x11d)]=this[_0x576e97(0x2ae)][_0x576e97(0x132)]:this[_0x576e97(0x2ae)]['clientMaxWindowBits']==null&&(_0x827988['client_max_window_bits']=!0x0),_0x827988;}['accept'](_0x5ca489){const _0x1dff08=_0x31671a;return _0x5ca489=this[_0x1dff08(0x1e1)](_0x5ca489),this[_0x1dff08(0x159)]=this[_0x1dff08(0x127)]?this[_0x1dff08(0x23c)](_0x5ca489):this[_0x1dff08(0x14c)](_0x5ca489),this[_0x1dff08(0x159)];}[_0x31671a(0x260)](){const _0x3cafc6=_0x31671a;if(this[_0x3cafc6(0x1c8)]&&(this[_0x3cafc6(0x1c8)]['close'](),this[_0x3cafc6(0x1c8)]=null),this[_0x3cafc6(0x21f)]){const _0x148ae8=this[_0x3cafc6(0x21f)][_0x3d8bfa];this[_0x3cafc6(0x21f)][_0x3cafc6(0x1ae)](),this['_deflate']=null,_0x148ae8&&_0x148ae8(new Error(_0x3cafc6(0x12c)));}}['acceptAsServer'](_0x4a745a){const _0xfdf64f=_0x31671a,_0x1d89b7=this['_options'],_0x21cbdf=_0x4a745a[_0xfdf64f(0x129)](_0x1fbb0c=>!(_0x1d89b7[_0xfdf64f(0x1ea)]===!0x1&&_0x1fbb0c[_0xfdf64f(0x162)]||_0x1fbb0c[_0xfdf64f(0x24c)]&&(_0x1d89b7[_0xfdf64f(0x24b)]===!0x1||typeof _0x1d89b7[_0xfdf64f(0x24b)]==_0xfdf64f(0x20d)&&_0x1d89b7['serverMaxWindowBits']>_0x1fbb0c[_0xfdf64f(0x24c)])||typeof _0x1d89b7['clientMaxWindowBits']=='number'&&!_0x1fbb0c[_0xfdf64f(0x11d)]));if(!_0x21cbdf)throw new Error(_0xfdf64f(0x1f1));return _0x1d89b7[_0xfdf64f(0x1ea)]&&(_0x21cbdf[_0xfdf64f(0x162)]=!0x0),_0x1d89b7[_0xfdf64f(0x29b)]&&(_0x21cbdf[_0xfdf64f(0x1db)]=!0x0),typeof _0x1d89b7[_0xfdf64f(0x24b)]==_0xfdf64f(0x20d)&&(_0x21cbdf[_0xfdf64f(0x24c)]=_0x1d89b7['serverMaxWindowBits']),typeof _0x1d89b7['clientMaxWindowBits']==_0xfdf64f(0x20d)?_0x21cbdf[_0xfdf64f(0x11d)]=_0x1d89b7[_0xfdf64f(0x132)]:(_0x21cbdf[_0xfdf64f(0x11d)]===!0x0||_0x1d89b7[_0xfdf64f(0x132)]===!0x1)&&delete _0x21cbdf[_0xfdf64f(0x11d)],_0x21cbdf;}[_0x31671a(0x14c)](_0x28627f){const _0xaf8fc6=_0x31671a,_0x4e8551=_0x28627f[0x0];if(this['_options']['clientNoContextTakeover']===!0x1&&_0x4e8551[_0xaf8fc6(0x1db)])throw new Error(_0xaf8fc6(0x21c));if(!_0x4e8551[_0xaf8fc6(0x11d)])typeof this[_0xaf8fc6(0x2ae)]['clientMaxWindowBits']==_0xaf8fc6(0x20d)&&(_0x4e8551[_0xaf8fc6(0x11d)]=this['_options'][_0xaf8fc6(0x132)]);else{if(this[_0xaf8fc6(0x2ae)]['clientMaxWindowBits']===!0x1||typeof this['_options']['clientMaxWindowBits']==_0xaf8fc6(0x20d)&&_0x4e8551[_0xaf8fc6(0x11d)]>this[_0xaf8fc6(0x2ae)][_0xaf8fc6(0x132)])throw new Error(_0xaf8fc6(0x18c));}return _0x4e8551;}[_0x31671a(0x1e1)](_0x37f0b0){const _0x54f779=_0x31671a;return _0x37f0b0[_0x54f779(0x206)](_0x1612dc=>{const _0x57fe5f=_0x54f779;Object[_0x57fe5f(0x1ef)](_0x1612dc)[_0x57fe5f(0x206)](_0x14b36a=>{const _0x250e83=_0x57fe5f;let _0x4bf204=_0x1612dc[_0x14b36a];if(_0x4bf204[_0x250e83(0x1a1)]>0x1)throw new Error('Parameter\x20\x22'+_0x14b36a+_0x250e83(0x252));if(_0x4bf204=_0x4bf204[0x0],_0x14b36a==='client_max_window_bits'){if(_0x4bf204!==!0x0){const _0x15e591=+_0x4bf204;if(!Number[_0x250e83(0x1d2)](_0x15e591)||_0x15e591<0x8||_0x15e591>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x14b36a+'\x22:\x20'+_0x4bf204);_0x4bf204=_0x15e591;}else{if(!this[_0x250e83(0x127)])throw new TypeError(_0x250e83(0x12d)+_0x14b36a+_0x250e83(0x211)+_0x4bf204);}}else{if(_0x14b36a===_0x250e83(0x24c)){const _0x172877=+_0x4bf204;if(!Number[_0x250e83(0x1d2)](_0x172877)||_0x172877<0x8||_0x172877>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x14b36a+'\x22:\x20'+_0x4bf204);_0x4bf204=_0x172877;}else{if(_0x14b36a===_0x250e83(0x1db)||_0x14b36a===_0x250e83(0x162)){if(_0x4bf204!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x14b36a+_0x250e83(0x211)+_0x4bf204);}else throw new Error(_0x250e83(0x15c)+_0x14b36a+'\x22');}}_0x1612dc[_0x14b36a]=_0x4bf204;});}),_0x37f0b0;}[_0x31671a(0x1a5)](_0x998e0a,_0x350091,_0x5927ae){const _0x3d467b=_0x31671a;_0x29b1d1[_0x3d467b(0x1e9)](_0x2b0594=>{const _0x144d07=_0x3d467b;this[_0x144d07(0x29c)](_0x998e0a,_0x350091,(_0x214a94,_0x3d54)=>{_0x2b0594(),_0x5927ae(_0x214a94,_0x3d54);});});}[_0x31671a(0x208)](_0x3a7102,_0x14679b,_0x4fff90){const _0x3190d9=_0x31671a;_0x29b1d1[_0x3190d9(0x1e9)](_0x25fe75=>{const _0x2118da=_0x3190d9;this[_0x2118da(0x25f)](_0x3a7102,_0x14679b,(_0x25ee6f,_0x396314)=>{_0x25fe75(),_0x4fff90(_0x25ee6f,_0x396314);});});}['_decompress'](_0x8bbcb7,_0x57ecff,_0x51df68){const _0x8a2d19=_0x31671a,_0x21f0c3=this[_0x8a2d19(0x127)]?_0x8a2d19(0x11c):_0x8a2d19(0x199);if(!this[_0x8a2d19(0x1c8)]){const _0x56e637=_0x21f0c3+'_max_window_bits',_0x26260c=typeof this[_0x8a2d19(0x159)][_0x56e637]!='number'?_0x20530c['Z_DEFAULT_WINDOWBITS']:this[_0x8a2d19(0x159)][_0x56e637];this['_inflate']=_0x20530c[_0x8a2d19(0x264)]({...this['_options'][_0x8a2d19(0x224)],'windowBits':_0x26260c}),this[_0x8a2d19(0x1c8)][_0x34be7d]=this,this[_0x8a2d19(0x1c8)][_0x10c800]=0x0,this['_inflate'][_0x5ae09b]=[],this['_inflate']['on']('error',_0x11ca18),this[_0x8a2d19(0x1c8)]['on'](_0x8a2d19(0x240),_0x50bc9f);}this['_inflate'][_0x3d8bfa]=_0x51df68,this['_inflate'][_0x8a2d19(0x230)](_0x8bbcb7),_0x57ecff&&this[_0x8a2d19(0x1c8)][_0x8a2d19(0x230)](_0x139a57),this[_0x8a2d19(0x1c8)][_0x8a2d19(0x222)](()=>{const _0x3b3f0e=_0x8a2d19,_0x3e9300=this[_0x3b3f0e(0x1c8)][_0x5d90a4];if(_0x3e9300){this['_inflate']['close'](),this[_0x3b3f0e(0x1c8)]=null,_0x51df68(_0x3e9300);return;}const _0xa478c6=_0x56a7c7[_0x3b3f0e(0x234)](this[_0x3b3f0e(0x1c8)][_0x5ae09b],this[_0x3b3f0e(0x1c8)][_0x10c800]);this[_0x3b3f0e(0x1c8)][_0x3b3f0e(0x27a)][_0x3b3f0e(0x169)]?(this[_0x3b3f0e(0x1c8)][_0x3b3f0e(0x1ae)](),this[_0x3b3f0e(0x1c8)]=null):(this[_0x3b3f0e(0x1c8)][_0x10c800]=0x0,this[_0x3b3f0e(0x1c8)][_0x5ae09b]=[],_0x57ecff&&this[_0x3b3f0e(0x159)][_0x21f0c3+'_no_context_takeover']&&this['_inflate'][_0x3b3f0e(0x1c9)]()),_0x51df68(null,_0xa478c6);});}['_compress'](_0x5f4400,_0x3588e8,_0x2793ee){const _0x309e33=_0x31671a,_0x42bcef=this['_isServer']?_0x309e33(0x199):'client';if(!this[_0x309e33(0x21f)]){const _0x5b5843=_0x42bcef+_0x309e33(0x26f),_0x5ce3b7=typeof this[_0x309e33(0x159)][_0x5b5843]!=_0x309e33(0x20d)?_0x20530c['Z_DEFAULT_WINDOWBITS']:this[_0x309e33(0x159)][_0x5b5843];this['_deflate']=_0x20530c[_0x309e33(0x1ed)]({...this['_options'][_0x309e33(0x16c)],'windowBits':_0x5ce3b7}),this['_deflate'][_0x10c800]=0x0,this[_0x309e33(0x21f)][_0x5ae09b]=[],this[_0x309e33(0x21f)]['on'](_0x309e33(0x240),_0x416b9b);}this['_deflate'][_0x3d8bfa]=_0x2793ee,this[_0x309e33(0x21f)][_0x309e33(0x230)](_0x5f4400),this['_deflate'][_0x309e33(0x222)](_0x20530c['Z_SYNC_FLUSH'],()=>{const _0x16d81e=_0x309e33;if(!this[_0x16d81e(0x21f)])return;let _0x552813=_0x56a7c7['concat'](this[_0x16d81e(0x21f)][_0x5ae09b],this['_deflate'][_0x10c800]);_0x3588e8&&(_0x552813=new _0x597f38(_0x552813['buffer'],_0x552813[_0x16d81e(0x170)],_0x552813[_0x16d81e(0x1a1)]-0x4)),this[_0x16d81e(0x21f)][_0x3d8bfa]=null,this[_0x16d81e(0x21f)][_0x10c800]=0x0,this[_0x16d81e(0x21f)][_0x5ae09b]=[],_0x3588e8&&this[_0x16d81e(0x159)][_0x42bcef+_0x16d81e(0x275)]&&this[_0x16d81e(0x21f)][_0x16d81e(0x1c9)](),_0x2793ee(null,_0x552813);});}}ve=_0xf9a770;function _0x416b9b(_0x3b845d){const _0x34de3b=_0x31671a;this[_0x5ae09b][_0x34de3b(0x27c)](_0x3b845d),this[_0x10c800]+=_0x3b845d[_0x34de3b(0x1a1)];}function _0x50bc9f(_0x3bfa4f){const _0x4b1a87=_0x31671a;if(this[_0x10c800]+=_0x3bfa4f['length'],this[_0x34be7d][_0x4b1a87(0x28d)]<0x1||this[_0x10c800]<=this[_0x34be7d][_0x4b1a87(0x28d)]){this[_0x5ae09b]['push'](_0x3bfa4f);return;}this[_0x5d90a4]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x5d90a4][_0x4b1a87(0x167)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x5d90a4][_0x3fb848]=0x3f1,this['removeListener']('data',_0x50bc9f),this[_0x4b1a87(0x1c9)]();}function _0x11ca18(_0x3b08ce){const _0x39ef2e=_0x31671a;if(this[_0x34be7d][_0x39ef2e(0x1c8)]=null,this[_0x5d90a4]){this[_0x3d8bfa](this[_0x5d90a4]);return;}_0x3b08ce[_0x3fb848]=0x3ef,this[_0x3d8bfa](_0x3b08ce);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x22272f(0x13b)](Object[_0x22272f(0x2a1)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x22272f(0x2a6)})),Bt=at(Rt);var Ye;function ae(){const _0x34cbcb=_0x22272f;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x4f4da3}=wt,{hasBlob:_0x25785f}=H(),_0x2c2a14=[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 _0x1fdf40(_0x35a7ec){return _0x35a7ec>=0x3e8&&_0x35a7ec<=0x3f6&&_0x35a7ec!==0x3ec&&_0x35a7ec!==0x3ed&&_0x35a7ec!==0x3ee||_0x35a7ec>=0xbb8&&_0x35a7ec<=0x1387;}function _0x281ca2(_0x3d722c){const _0x1a2149=_0x58d9,_0x37bec3=_0x3d722c[_0x1a2149(0x1a1)];let _0x3c91f8=0x0;for(;_0x3c91f8<_0x37bec3;)if((_0x3d722c[_0x3c91f8]&0x80)===0x0)_0x3c91f8++;else{if((_0x3d722c[_0x3c91f8]&0xe0)===0xc0){if(_0x3c91f8+0x1===_0x37bec3||(_0x3d722c[_0x3c91f8+0x1]&0xc0)!==0x80||(_0x3d722c[_0x3c91f8]&0xfe)===0xc0)return!0x1;_0x3c91f8+=0x2;}else{if((_0x3d722c[_0x3c91f8]&0xf0)===0xe0){if(_0x3c91f8+0x2>=_0x37bec3||(_0x3d722c[_0x3c91f8+0x1]&0xc0)!==0x80||(_0x3d722c[_0x3c91f8+0x2]&0xc0)!==0x80||_0x3d722c[_0x3c91f8]===0xe0&&(_0x3d722c[_0x3c91f8+0x1]&0xe0)===0x80||_0x3d722c[_0x3c91f8]===0xed&&(_0x3d722c[_0x3c91f8+0x1]&0xe0)===0xa0)return!0x1;_0x3c91f8+=0x3;}else{if((_0x3d722c[_0x3c91f8]&0xf8)===0xf0){if(_0x3c91f8+0x3>=_0x37bec3||(_0x3d722c[_0x3c91f8+0x1]&0xc0)!==0x80||(_0x3d722c[_0x3c91f8+0x2]&0xc0)!==0x80||(_0x3d722c[_0x3c91f8+0x3]&0xc0)!==0x80||_0x3d722c[_0x3c91f8]===0xf0&&(_0x3d722c[_0x3c91f8+0x1]&0xf0)===0x80||_0x3d722c[_0x3c91f8]===0xf4&&_0x3d722c[_0x3c91f8+0x1]>0x8f||_0x3d722c[_0x3c91f8]>0xf4)return!0x1;_0x3c91f8+=0x4;}else return!0x1;}}}return!0x0;}function _0x10d961(_0x5a7c68){const _0x515c04=_0x58d9;return _0x25785f&&typeof _0x5a7c68==_0x515c04(0x134)&&typeof _0x5a7c68[_0x515c04(0x1cf)]==_0x515c04(0x194)&&typeof _0x5a7c68[_0x515c04(0x26d)]=='string'&&typeof _0x5a7c68['stream']=='function'&&(_0x5a7c68[Symbol[_0x515c04(0x253)]]==='Blob'||_0x5a7c68[Symbol[_0x515c04(0x253)]]===_0x515c04(0x29d));}if(ie['exports']={'isBlob':_0x10d961,'isValidStatusCode':_0x1fdf40,'isValidUTF8':_0x281ca2,'tokenChars':_0x2c2a14},_0x4f4da3)ie[_0x34cbcb(0x25a)][_0x34cbcb(0x166)]=function(_0x1d7ee7){const _0x50ed31=_0x34cbcb;return _0x1d7ee7[_0x50ed31(0x1a1)]<0x18?_0x281ca2(_0x1d7ee7):_0x4f4da3(_0x1d7ee7);};else{if(!process[_0x34cbcb(0x25b)]['WS_NO_UTF_8_VALIDATE'])try{const _0x26b46c=Bt;ie[_0x34cbcb(0x25a)]['isValidUTF8']=function(_0x21d442){return _0x21d442['length']<0x20?_0x281ca2(_0x21d442):_0x26b46c(_0x21d442);};}catch{}}return ie[_0x34cbcb(0x25a)];}var Se,Ke;function lt(){const _0x1f0861=_0x22272f;if(Ke)return Se;Ke=0x1;const {Writable:_0xb76aab}=oe,_0x4d0417=he(),{BINARY_TYPES:_0x994eb6,EMPTY_BUFFER:_0x3c41d8,kStatusCode:_0x538b2d,kWebSocket:_0x2d12a8}=H(),{concat:_0x26249b,toArrayBuffer:_0x128694,unmask:_0x37baac}=ce(),{isValidStatusCode:_0x2e535f,isValidUTF8:_0x4b9b56}=ae(),_0x482205=Buffer[Symbol[_0x1f0861(0x28a)]],_0x10d4f0=0x0,_0x2b9ab6=0x1,_0x549a5d=0x2,_0x5e783c=0x3,_0x3da35e=0x4,_0x32c8c2=0x5,_0xa10131=0x6;class _0x435498 extends _0xb76aab{constructor(_0x4b831b={}){const _0x2d4788=_0x1f0861;super(),this[_0x2d4788(0xfe)]=_0x4b831b[_0x2d4788(0x176)]!==void 0x0?_0x4b831b['allowSynchronousEvents']:!0x0,this['_binaryType']=_0x4b831b[_0x2d4788(0x27f)]||_0x994eb6[0x0],this[_0x2d4788(0x115)]=_0x4b831b['extensions']||{},this[_0x2d4788(0x127)]=!!_0x4b831b[_0x2d4788(0x241)],this['_maxPayload']=_0x4b831b['maxPayload']|0x0,this[_0x2d4788(0x1a6)]=!!_0x4b831b[_0x2d4788(0x285)],this[_0x2d12a8]=void 0x0,this[_0x2d4788(0x28e)]=0x0,this[_0x2d4788(0x1f8)]=[],this[_0x2d4788(0x1ad)]=!0x1,this[_0x2d4788(0x2c2)]=0x0,this[_0x2d4788(0x218)]=void 0x0,this['_fragmented']=0x0,this['_masked']=!0x1,this[_0x2d4788(0x20e)]=!0x1,this[_0x2d4788(0x1a7)]=0x0,this[_0x2d4788(0x1cc)]=0x0,this[_0x2d4788(0x28c)]=0x0,this['_fragments']=[],this[_0x2d4788(0x255)]=!0x1,this[_0x2d4788(0x13e)]=!0x1,this['_state']=_0x10d4f0;}[_0x1f0861(0x148)](_0x2c672d,_0x55b0d3,_0x3532b4){const _0x3d05e4=_0x1f0861;if(this[_0x3d05e4(0x1a7)]===0x8&&this[_0x3d05e4(0x17f)]==_0x10d4f0)return _0x3532b4();this['_bufferedBytes']+=_0x2c672d[_0x3d05e4(0x1a1)],this['_buffers'][_0x3d05e4(0x27c)](_0x2c672d),this[_0x3d05e4(0x295)](_0x3532b4);}[_0x1f0861(0x104)](_0x215dfd){const _0x21a331=_0x1f0861;if(this['_bufferedBytes']-=_0x215dfd,_0x215dfd===this[_0x21a331(0x1f8)][0x0][_0x21a331(0x1a1)])return this[_0x21a331(0x1f8)][_0x21a331(0x153)]();if(_0x215dfd<this[_0x21a331(0x1f8)][0x0][_0x21a331(0x1a1)]){const _0x3edc6f=this[_0x21a331(0x1f8)][0x0];return this[_0x21a331(0x1f8)][0x0]=new _0x482205(_0x3edc6f[_0x21a331(0x2ad)],_0x3edc6f[_0x21a331(0x170)]+_0x215dfd,_0x3edc6f[_0x21a331(0x1a1)]-_0x215dfd),new _0x482205(_0x3edc6f['buffer'],_0x3edc6f['byteOffset'],_0x215dfd);}const _0x29b757=Buffer[_0x21a331(0x1d3)](_0x215dfd);do{const _0x21f3d1=this[_0x21a331(0x1f8)][0x0],_0x1ff0bc=_0x29b757[_0x21a331(0x1a1)]-_0x215dfd;_0x215dfd>=_0x21f3d1[_0x21a331(0x1a1)]?_0x29b757[_0x21a331(0x232)](this['_buffers'][_0x21a331(0x153)](),_0x1ff0bc):(_0x29b757[_0x21a331(0x232)](new Uint8Array(_0x21f3d1['buffer'],_0x21f3d1[_0x21a331(0x170)],_0x215dfd),_0x1ff0bc),this['_buffers'][0x0]=new _0x482205(_0x21f3d1['buffer'],_0x21f3d1['byteOffset']+_0x215dfd,_0x21f3d1['length']-_0x215dfd)),_0x215dfd-=_0x21f3d1[_0x21a331(0x1a1)];}while(_0x215dfd>0x0);return _0x29b757;}['startLoop'](_0x1e0ed1){const _0x37733f=_0x1f0861;this[_0x37733f(0x13e)]=!0x0;do switch(this[_0x37733f(0x17f)]){case _0x10d4f0:this[_0x37733f(0x2c4)](_0x1e0ed1);break;case _0x2b9ab6:this[_0x37733f(0x1df)](_0x1e0ed1);break;case _0x549a5d:this[_0x37733f(0x17b)](_0x1e0ed1);break;case _0x5e783c:this[_0x37733f(0x1be)]();break;case _0x3da35e:this[_0x37733f(0x13f)](_0x1e0ed1);break;case _0x32c8c2:case _0xa10131:this[_0x37733f(0x13e)]=!0x1;return;}while(this[_0x37733f(0x13e)]);this['_errored']||_0x1e0ed1();}['getInfo'](_0x4a8461){const _0x25d348=_0x1f0861;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}const _0x170f7d=this[_0x25d348(0x104)](0x2);if((_0x170f7d[0x0]&0x30)!==0x0){const _0x45a4ad=this['createError'](RangeError,_0x25d348(0x14a),!0x0,0x3ea,_0x25d348(0x140));_0x4a8461(_0x45a4ad);return;}const _0x4b8b4b=(_0x170f7d[0x0]&0x40)===0x40;if(_0x4b8b4b&&!this['_extensions'][_0x4d0417[_0x25d348(0x22d)]]){const _0x18b82f=this['createError'](RangeError,_0x25d348(0x1a8),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4a8461(_0x18b82f);return;}if(this['_fin']=(_0x170f7d[0x0]&0x80)===0x80,this[_0x25d348(0x1a7)]=_0x170f7d[0x0]&0xf,this[_0x25d348(0x2c2)]=_0x170f7d[0x1]&0x7f,this['_opcode']===0x0){if(_0x4b8b4b){const _0x4d2832=this[_0x25d348(0x12a)](RangeError,_0x25d348(0x1a8),!0x0,0x3ea,_0x25d348(0x142));_0x4a8461(_0x4d2832);return;}if(!this[_0x25d348(0x161)]){const _0x5e6f9a=this[_0x25d348(0x12a)](RangeError,_0x25d348(0x1dc),!0x0,0x3ea,_0x25d348(0x203));_0x4a8461(_0x5e6f9a);return;}this[_0x25d348(0x1a7)]=this[_0x25d348(0x161)];}else{if(this[_0x25d348(0x1a7)]===0x1||this['_opcode']===0x2){if(this['_fragmented']){const _0x53db4e=this[_0x25d348(0x12a)](RangeError,_0x25d348(0x19e)+this[_0x25d348(0x1a7)],!0x0,0x3ea,_0x25d348(0x203));_0x4a8461(_0x53db4e);return;}this['_compressed']=_0x4b8b4b;}else{if(this[_0x25d348(0x1a7)]>0x7&&this[_0x25d348(0x1a7)]<0xb){if(!this[_0x25d348(0x20e)]){const _0x1d1b64=this[_0x25d348(0x12a)](RangeError,_0x25d348(0x283),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x4a8461(_0x1d1b64);return;}if(_0x4b8b4b){const _0x16c82f=this['createError'](RangeError,_0x25d348(0x1a8),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4a8461(_0x16c82f);return;}if(this['_payloadLength']>0x7d||this[_0x25d348(0x1a7)]===0x8&&this[_0x25d348(0x2c2)]===0x1){const _0x1bfa51=this[_0x25d348(0x12a)](RangeError,_0x25d348(0x14d)+this[_0x25d348(0x2c2)],!0x0,0x3ea,_0x25d348(0x238));_0x4a8461(_0x1bfa51);return;}}else{const _0x226d5=this['createError'](RangeError,_0x25d348(0x19e)+this[_0x25d348(0x1a7)],!0x0,0x3ea,_0x25d348(0x203));_0x4a8461(_0x226d5);return;}}}if(!this[_0x25d348(0x20e)]&&!this[_0x25d348(0x161)]&&(this[_0x25d348(0x161)]=this[_0x25d348(0x1a7)]),this['_masked']=(_0x170f7d[0x1]&0x80)===0x80,this[_0x25d348(0x127)]){if(!this['_masked']){const _0x4b9e0f=this[_0x25d348(0x12a)](RangeError,_0x25d348(0x257),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x4a8461(_0x4b9e0f);return;}}else{if(this['_masked']){const _0x4ba160=this[_0x25d348(0x12a)](RangeError,_0x25d348(0x200),!0x0,0x3ea,_0x25d348(0x175));_0x4a8461(_0x4ba160);return;}}this[_0x25d348(0x2c2)]===0x7e?this[_0x25d348(0x17f)]=_0x2b9ab6:this[_0x25d348(0x2c2)]===0x7f?this[_0x25d348(0x17f)]=_0x549a5d:this[_0x25d348(0x249)](_0x4a8461);}[_0x1f0861(0x1df)](_0x5df8d6){const _0x2b9cca=_0x1f0861;if(this['_bufferedBytes']<0x2){this[_0x2b9cca(0x13e)]=!0x1;return;}this[_0x2b9cca(0x2c2)]=this[_0x2b9cca(0x104)](0x2)[_0x2b9cca(0x2a0)](0x0),this['haveLength'](_0x5df8d6);}[_0x1f0861(0x17b)](_0x2aff94){const _0x3ebc9c=_0x1f0861;if(this[_0x3ebc9c(0x28e)]<0x8){this['_loop']=!0x1;return;}const _0x28514d=this[_0x3ebc9c(0x104)](0x8),_0xa8442e=_0x28514d[_0x3ebc9c(0x2be)](0x0);if(_0xa8442e>Math[_0x3ebc9c(0x198)](0x2,0x15)-0x1){const _0xfba216=this[_0x3ebc9c(0x12a)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x3ebc9c(0x1bd));_0x2aff94(_0xfba216);return;}this[_0x3ebc9c(0x2c2)]=_0xa8442e*Math[_0x3ebc9c(0x198)](0x2,0x20)+_0x28514d['readUInt32BE'](0x4),this[_0x3ebc9c(0x249)](_0x2aff94);}[_0x1f0861(0x249)](_0x485dd4){const _0x16fa18=_0x1f0861;if(this[_0x16fa18(0x2c2)]&&this['_opcode']<0x8&&(this[_0x16fa18(0x1cc)]+=this[_0x16fa18(0x2c2)],this[_0x16fa18(0x1cc)]>this[_0x16fa18(0x28d)]&&this[_0x16fa18(0x28d)]>0x0)){const _0x3241e4=this[_0x16fa18(0x12a)](RangeError,_0x16fa18(0x108),!0x1,0x3f1,_0x16fa18(0x145));_0x485dd4(_0x3241e4);return;}this['_masked']?this[_0x16fa18(0x17f)]=_0x5e783c:this[_0x16fa18(0x17f)]=_0x3da35e;}['getMask'](){const _0x3d50b3=_0x1f0861;if(this[_0x3d50b3(0x28e)]<0x4){this[_0x3d50b3(0x13e)]=!0x1;return;}this['_mask']=this['consume'](0x4),this[_0x3d50b3(0x17f)]=_0x3da35e;}['getData'](_0x1fa711){const _0x499719=_0x1f0861;let _0x598674=_0x3c41d8;if(this['_payloadLength']){if(this[_0x499719(0x28e)]<this['_payloadLength']){this[_0x499719(0x13e)]=!0x1;return;}_0x598674=this['consume'](this['_payloadLength']),this['_masked']&&(this[_0x499719(0x218)][0x0]|this[_0x499719(0x218)][0x1]|this[_0x499719(0x218)][0x2]|this['_mask'][0x3])!==0x0&&_0x37baac(_0x598674,this[_0x499719(0x218)]);}if(this[_0x499719(0x1a7)]>0x7){this[_0x499719(0x1fa)](_0x598674,_0x1fa711);return;}if(this[_0x499719(0x1ad)]){this[_0x499719(0x17f)]=_0x32c8c2,this['decompress'](_0x598674,_0x1fa711);return;}_0x598674['length']&&(this['_messageLength']=this['_totalPayloadLength'],this[_0x499719(0x22c)][_0x499719(0x27c)](_0x598674)),this[_0x499719(0x12e)](_0x1fa711);}[_0x1f0861(0x1a5)](_0x696361,_0x220d01){const _0x12fae1=_0x1f0861;this['_extensions'][_0x4d0417[_0x12fae1(0x22d)]][_0x12fae1(0x1a5)](_0x696361,this['_fin'],(_0xd7a9ee,_0x5db28a)=>{const _0x429636=_0x12fae1;if(_0xd7a9ee)return _0x220d01(_0xd7a9ee);if(_0x5db28a['length']){if(this['_messageLength']+=_0x5db28a['length'],this[_0x429636(0x28c)]>this[_0x429636(0x28d)]&&this['_maxPayload']>0x0){const _0x41ea5c=this['createError'](RangeError,_0x429636(0x108),!0x1,0x3f1,_0x429636(0x145));_0x220d01(_0x41ea5c);return;}this[_0x429636(0x22c)]['push'](_0x5db28a);}this['dataMessage'](_0x220d01),this[_0x429636(0x17f)]===_0x10d4f0&&this[_0x429636(0x295)](_0x220d01);});}[_0x1f0861(0x12e)](_0x1a712a){const _0x34c0a3=_0x1f0861;if(!this[_0x34c0a3(0x20e)]){this[_0x34c0a3(0x17f)]=_0x10d4f0;return;}const _0x464fa8=this[_0x34c0a3(0x28c)],_0x25e718=this[_0x34c0a3(0x22c)];if(this['_totalPayloadLength']=0x0,this[_0x34c0a3(0x28c)]=0x0,this[_0x34c0a3(0x161)]=0x0,this['_fragments']=[],this[_0x34c0a3(0x1a7)]===0x2){let _0x5e226b;this['_binaryType']===_0x34c0a3(0x181)?_0x5e226b=_0x26249b(_0x25e718,_0x464fa8):this[_0x34c0a3(0x13a)]===_0x34c0a3(0x1da)?_0x5e226b=_0x128694(_0x26249b(_0x25e718,_0x464fa8)):this[_0x34c0a3(0x13a)]===_0x34c0a3(0x27d)?_0x5e226b=new Blob(_0x25e718):_0x5e226b=_0x25e718,this[_0x34c0a3(0xfe)]?(this[_0x34c0a3(0x2a3)]('message',_0x5e226b,!0x0),this[_0x34c0a3(0x17f)]=_0x10d4f0):(this[_0x34c0a3(0x17f)]=_0xa10131,setImmediate(()=>{const _0x35b347=_0x34c0a3;this[_0x35b347(0x2a3)](_0x35b347(0x101),_0x5e226b,!0x0),this[_0x35b347(0x17f)]=_0x10d4f0,this['startLoop'](_0x1a712a);}));}else{const _0x359615=_0x26249b(_0x25e718,_0x464fa8);if(!this[_0x34c0a3(0x1a6)]&&!_0x4b9b56(_0x359615)){const _0x457f6d=this['createError'](Error,_0x34c0a3(0x23b),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x1a712a(_0x457f6d);return;}this[_0x34c0a3(0x17f)]===_0x32c8c2||this[_0x34c0a3(0xfe)]?(this[_0x34c0a3(0x2a3)](_0x34c0a3(0x101),_0x359615,!0x1),this[_0x34c0a3(0x17f)]=_0x10d4f0):(this['_state']=_0xa10131,setImmediate(()=>{const _0x29bf6b=_0x34c0a3;this[_0x29bf6b(0x2a3)]('message',_0x359615,!0x1),this[_0x29bf6b(0x17f)]=_0x10d4f0,this[_0x29bf6b(0x295)](_0x1a712a);}));}}[_0x1f0861(0x1fa)](_0x571342,_0xc620eb){const _0x57aa5a=_0x1f0861;if(this[_0x57aa5a(0x1a7)]===0x8){if(_0x571342[_0x57aa5a(0x1a1)]===0x0)this['_loop']=!0x1,this[_0x57aa5a(0x2a3)](_0x57aa5a(0x1e3),0x3ed,_0x3c41d8),this[_0x57aa5a(0x19d)]();else{const _0x4198ea=_0x571342[_0x57aa5a(0x2a0)](0x0);if(!_0x2e535f(_0x4198ea)){const _0x250bc5=this[_0x57aa5a(0x12a)](RangeError,_0x57aa5a(0x1f4)+_0x4198ea,!0x0,0x3ea,_0x57aa5a(0x121));_0xc620eb(_0x250bc5);return;}const _0x5d8ccc=new _0x482205(_0x571342[_0x57aa5a(0x2ad)],_0x571342[_0x57aa5a(0x170)]+0x2,_0x571342[_0x57aa5a(0x1a1)]-0x2);if(!this[_0x57aa5a(0x1a6)]&&!_0x4b9b56(_0x5d8ccc)){const _0xb57576=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x57aa5a(0x2bf));_0xc620eb(_0xb57576);return;}this[_0x57aa5a(0x13e)]=!0x1,this[_0x57aa5a(0x2a3)](_0x57aa5a(0x1e3),_0x4198ea,_0x5d8ccc),this[_0x57aa5a(0x19d)]();}this[_0x57aa5a(0x17f)]=_0x10d4f0;return;}this['_allowSynchronousEvents']?(this[_0x57aa5a(0x2a3)](this[_0x57aa5a(0x1a7)]===0x9?_0x57aa5a(0x21d):_0x57aa5a(0x2b6),_0x571342),this[_0x57aa5a(0x17f)]=_0x10d4f0):(this[_0x57aa5a(0x17f)]=_0xa10131,setImmediate(()=>{const _0x573a88=_0x57aa5a;this[_0x573a88(0x2a3)](this[_0x573a88(0x1a7)]===0x9?_0x573a88(0x21d):_0x573a88(0x2b6),_0x571342),this[_0x573a88(0x17f)]=_0x10d4f0,this[_0x573a88(0x295)](_0xc620eb);}));}[_0x1f0861(0x12a)](_0x27eed4,_0x44aa5a,_0x35d9db,_0x3ae109,_0x3bd3f3){const _0x2823f4=_0x1f0861;this[_0x2823f4(0x13e)]=!0x1,this[_0x2823f4(0x255)]=!0x0;const _0x3a1ae3=new _0x27eed4(_0x35d9db?_0x2823f4(0x209)+_0x44aa5a:_0x44aa5a);return Error[_0x2823f4(0x29e)](_0x3a1ae3,this['createError']),_0x3a1ae3[_0x2823f4(0x167)]=_0x3bd3f3,_0x3a1ae3[_0x538b2d]=_0x3ae109,_0x3a1ae3;}}return Se=_0x435498,Se;}var Ee,Xe;function ft(){const _0x593d28=_0x22272f;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x5ca2f7}=oe,{randomFillSync:_0x13fc4c}=Le,_0x1c1e71=he(),{EMPTY_BUFFER:_0x2e6724,kWebSocket:_0x244f9a,NOOP:_0x167c6a}=H(),{isBlob:_0x5818e5,isValidStatusCode:_0x3b1393}=ae(),{mask:_0x18c8f4,toBuffer:_0x342cf7}=ce(),_0x22d8c5=Symbol(_0x593d28(0x13d)),_0x214770=Buffer['alloc'](0x4),_0x39c778=0x8*0x400;let _0x5b8a97,_0x1a57ea=_0x39c778;const _0x43ffe4=0x0,_0x6e5cf0=0x1,_0x23ef9b=0x2;class _0x59b67c{constructor(_0x4d776d,_0x5d00e5,_0x50d16f){const _0x97fc79=_0x593d28;this[_0x97fc79(0x115)]=_0x5d00e5||{},_0x50d16f&&(this[_0x97fc79(0x19f)]=_0x50d16f,this[_0x97fc79(0x2c0)]=Buffer[_0x97fc79(0x280)](0x4)),this[_0x97fc79(0x190)]=_0x4d776d,this[_0x97fc79(0x25e)]=!0x0,this[_0x97fc79(0x25f)]=!0x1,this['_bufferedBytes']=0x0,this[_0x97fc79(0x265)]=[],this[_0x97fc79(0x17f)]=_0x43ffe4,this['onerror']=_0x167c6a,this[_0x244f9a]=void 0x0;}static['frame'](_0x2849e1,_0x4e3fb5){const _0x355c7a=_0x593d28;let _0x4295a9,_0xf15a5f=!0x1,_0x440102=0x2,_0x24afe2=!0x1;_0x4e3fb5[_0x355c7a(0x136)]&&(_0x4295a9=_0x4e3fb5[_0x355c7a(0x27b)]||_0x214770,_0x4e3fb5['generateMask']?_0x4e3fb5[_0x355c7a(0x143)](_0x4295a9):(_0x1a57ea===_0x39c778&&(_0x5b8a97===void 0x0&&(_0x5b8a97=Buffer[_0x355c7a(0x280)](_0x39c778)),_0x13fc4c(_0x5b8a97,0x0,_0x39c778),_0x1a57ea=0x0),_0x4295a9[0x0]=_0x5b8a97[_0x1a57ea++],_0x4295a9[0x1]=_0x5b8a97[_0x1a57ea++],_0x4295a9[0x2]=_0x5b8a97[_0x1a57ea++],_0x4295a9[0x3]=_0x5b8a97[_0x1a57ea++]),_0x24afe2=(_0x4295a9[0x0]|_0x4295a9[0x1]|_0x4295a9[0x2]|_0x4295a9[0x3])===0x0,_0x440102=0x6);let _0x45d79b;typeof _0x2849e1=='string'?(!_0x4e3fb5[_0x355c7a(0x136)]||_0x24afe2)&&_0x4e3fb5[_0x22d8c5]!==void 0x0?_0x45d79b=_0x4e3fb5[_0x22d8c5]:(_0x2849e1=Buffer[_0x355c7a(0x27e)](_0x2849e1),_0x45d79b=_0x2849e1[_0x355c7a(0x1a1)]):(_0x45d79b=_0x2849e1[_0x355c7a(0x1a1)],_0xf15a5f=_0x4e3fb5[_0x355c7a(0x136)]&&_0x4e3fb5[_0x355c7a(0x284)]&&!_0x24afe2);let _0x4c0d10=_0x45d79b;_0x45d79b>=0x10000?(_0x440102+=0x8,_0x4c0d10=0x7f):_0x45d79b>0x7d&&(_0x440102+=0x2,_0x4c0d10=0x7e);const _0x5ecbb7=Buffer['allocUnsafe'](_0xf15a5f?_0x45d79b+_0x440102:_0x440102);return _0x5ecbb7[0x0]=_0x4e3fb5[_0x355c7a(0x20a)]?_0x4e3fb5[_0x355c7a(0x1eb)]|0x80:_0x4e3fb5['opcode'],_0x4e3fb5[_0x355c7a(0xff)]&&(_0x5ecbb7[0x0]|=0x40),_0x5ecbb7[0x1]=_0x4c0d10,_0x4c0d10===0x7e?_0x5ecbb7[_0x355c7a(0x229)](_0x45d79b,0x2):_0x4c0d10===0x7f&&(_0x5ecbb7[0x2]=_0x5ecbb7[0x3]=0x0,_0x5ecbb7[_0x355c7a(0x15e)](_0x45d79b,0x4,0x6)),_0x4e3fb5[_0x355c7a(0x136)]?(_0x5ecbb7[0x1]|=0x80,_0x5ecbb7[_0x440102-0x4]=_0x4295a9[0x0],_0x5ecbb7[_0x440102-0x3]=_0x4295a9[0x1],_0x5ecbb7[_0x440102-0x2]=_0x4295a9[0x2],_0x5ecbb7[_0x440102-0x1]=_0x4295a9[0x3],_0x24afe2?[_0x5ecbb7,_0x2849e1]:_0xf15a5f?(_0x18c8f4(_0x2849e1,_0x4295a9,_0x5ecbb7,_0x440102,_0x45d79b),[_0x5ecbb7]):(_0x18c8f4(_0x2849e1,_0x4295a9,_0x2849e1,0x0,_0x45d79b),[_0x5ecbb7,_0x2849e1])):[_0x5ecbb7,_0x2849e1];}[_0x593d28(0x1ae)](_0x36ae3e,_0x16b306,_0x240b7e,_0x1fed16){const _0x1fe420=_0x593d28;let _0x4e021c;if(_0x36ae3e===void 0x0)_0x4e021c=_0x2e6724;else{if(typeof _0x36ae3e!=_0x1fe420(0x20d)||!_0x3b1393(_0x36ae3e))throw new TypeError(_0x1fe420(0x154));if(_0x16b306===void 0x0||!_0x16b306[_0x1fe420(0x1a1)])_0x4e021c=Buffer[_0x1fe420(0x1d3)](0x2),_0x4e021c[_0x1fe420(0x229)](_0x36ae3e,0x0);else{const _0x46b394=Buffer[_0x1fe420(0x191)](_0x16b306);if(_0x46b394>0x7b)throw new RangeError(_0x1fe420(0x131));_0x4e021c=Buffer[_0x1fe420(0x1d3)](0x2+_0x46b394),_0x4e021c['writeUInt16BE'](_0x36ae3e,0x0),typeof _0x16b306==_0x1fe420(0x126)?_0x4e021c[_0x1fe420(0x230)](_0x16b306,0x2):_0x4e021c[_0x1fe420(0x232)](_0x16b306,0x2);}}const _0x2a72f8={[_0x22d8c5]:_0x4e021c[_0x1fe420(0x1a1)],'fin':!0x0,'generateMask':this[_0x1fe420(0x19f)],'mask':_0x240b7e,'maskBuffer':this[_0x1fe420(0x2c0)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x1fe420(0x17f)]!==_0x43ffe4?this[_0x1fe420(0x1b1)]([this[_0x1fe420(0x273)],_0x4e021c,!0x1,_0x2a72f8,_0x1fed16]):this[_0x1fe420(0x12b)](_0x59b67c[_0x1fe420(0x28b)](_0x4e021c,_0x2a72f8),_0x1fed16);}[_0x593d28(0x21d)](_0x1da6f1,_0x4acc30,_0x13e8d2){const _0x18c1ac=_0x593d28;let _0x7c6a50,_0x4827ec;if(typeof _0x1da6f1=='string'?(_0x7c6a50=Buffer['byteLength'](_0x1da6f1),_0x4827ec=!0x1):_0x5818e5(_0x1da6f1)?(_0x7c6a50=_0x1da6f1[_0x18c1ac(0x19a)],_0x4827ec=!0x1):(_0x1da6f1=_0x342cf7(_0x1da6f1),_0x7c6a50=_0x1da6f1['length'],_0x4827ec=_0x342cf7[_0x18c1ac(0x284)]),_0x7c6a50>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x594f6d={[_0x22d8c5]:_0x7c6a50,'fin':!0x0,'generateMask':this[_0x18c1ac(0x19f)],'mask':_0x4acc30,'maskBuffer':this[_0x18c1ac(0x2c0)],'opcode':0x9,'readOnly':_0x4827ec,'rsv1':!0x1};_0x5818e5(_0x1da6f1)?this[_0x18c1ac(0x17f)]!==_0x43ffe4?this['enqueue']([this[_0x18c1ac(0x2b5)],_0x1da6f1,!0x1,_0x594f6d,_0x13e8d2]):this[_0x18c1ac(0x2b5)](_0x1da6f1,!0x1,_0x594f6d,_0x13e8d2):this['_state']!==_0x43ffe4?this[_0x18c1ac(0x1b1)]([this[_0x18c1ac(0x273)],_0x1da6f1,!0x1,_0x594f6d,_0x13e8d2]):this[_0x18c1ac(0x12b)](_0x59b67c[_0x18c1ac(0x28b)](_0x1da6f1,_0x594f6d),_0x13e8d2);}['pong'](_0x20bbd0,_0x81cf73,_0x262d7e){const _0x175126=_0x593d28;let _0x3dd3ce,_0x30bfae;if(typeof _0x20bbd0==_0x175126(0x126)?(_0x3dd3ce=Buffer[_0x175126(0x191)](_0x20bbd0),_0x30bfae=!0x1):_0x5818e5(_0x20bbd0)?(_0x3dd3ce=_0x20bbd0[_0x175126(0x19a)],_0x30bfae=!0x1):(_0x20bbd0=_0x342cf7(_0x20bbd0),_0x3dd3ce=_0x20bbd0[_0x175126(0x1a1)],_0x30bfae=_0x342cf7['readOnly']),_0x3dd3ce>0x7d)throw new RangeError(_0x175126(0x177));const _0x53cfd7={[_0x22d8c5]:_0x3dd3ce,'fin':!0x0,'generateMask':this[_0x175126(0x19f)],'mask':_0x81cf73,'maskBuffer':this[_0x175126(0x2c0)],'opcode':0xa,'readOnly':_0x30bfae,'rsv1':!0x1};_0x5818e5(_0x20bbd0)?this[_0x175126(0x17f)]!==_0x43ffe4?this['enqueue']([this['getBlobData'],_0x20bbd0,!0x1,_0x53cfd7,_0x262d7e]):this[_0x175126(0x2b5)](_0x20bbd0,!0x1,_0x53cfd7,_0x262d7e):this[_0x175126(0x17f)]!==_0x43ffe4?this['enqueue']([this['dispatch'],_0x20bbd0,!0x1,_0x53cfd7,_0x262d7e]):this[_0x175126(0x12b)](_0x59b67c[_0x175126(0x28b)](_0x20bbd0,_0x53cfd7),_0x262d7e);}[_0x593d28(0x277)](_0x599d3e,_0x17ac55,_0xe87c53){const _0x52580f=_0x593d28,_0x10f7d9=this[_0x52580f(0x115)][_0x1c1e71[_0x52580f(0x22d)]];let _0x2c7a62=_0x17ac55['binary']?0x2:0x1,_0x442264=_0x17ac55[_0x52580f(0x208)],_0x55fdf1,_0x40fe2b;typeof _0x599d3e==_0x52580f(0x126)?(_0x55fdf1=Buffer[_0x52580f(0x191)](_0x599d3e),_0x40fe2b=!0x1):_0x5818e5(_0x599d3e)?(_0x55fdf1=_0x599d3e[_0x52580f(0x19a)],_0x40fe2b=!0x1):(_0x599d3e=_0x342cf7(_0x599d3e),_0x55fdf1=_0x599d3e[_0x52580f(0x1a1)],_0x40fe2b=_0x342cf7[_0x52580f(0x284)]),this[_0x52580f(0x25e)]?(this[_0x52580f(0x25e)]=!0x1,_0x442264&&_0x10f7d9&&_0x10f7d9[_0x52580f(0x159)][_0x10f7d9[_0x52580f(0x127)]?_0x52580f(0x162):_0x52580f(0x1db)]&&(_0x442264=_0x55fdf1>=_0x10f7d9[_0x52580f(0x18b)]),this[_0x52580f(0x25f)]=_0x442264):(_0x442264=!0x1,_0x2c7a62=0x0),_0x17ac55['fin']&&(this[_0x52580f(0x25e)]=!0x0);const _0x514918={[_0x22d8c5]:_0x55fdf1,'fin':_0x17ac55[_0x52580f(0x20a)],'generateMask':this[_0x52580f(0x19f)],'mask':_0x17ac55[_0x52580f(0x136)],'maskBuffer':this[_0x52580f(0x2c0)],'opcode':_0x2c7a62,'readOnly':_0x40fe2b,'rsv1':_0x442264};_0x5818e5(_0x599d3e)?this[_0x52580f(0x17f)]!==_0x43ffe4?this['enqueue']([this[_0x52580f(0x2b5)],_0x599d3e,this[_0x52580f(0x25f)],_0x514918,_0xe87c53]):this[_0x52580f(0x2b5)](_0x599d3e,this[_0x52580f(0x25f)],_0x514918,_0xe87c53):this['_state']!==_0x43ffe4?this['enqueue']([this[_0x52580f(0x273)],_0x599d3e,this[_0x52580f(0x25f)],_0x514918,_0xe87c53]):this[_0x52580f(0x273)](_0x599d3e,this[_0x52580f(0x25f)],_0x514918,_0xe87c53);}['getBlobData'](_0x3f88bf,_0x38fabd,_0x47cbd3,_0x448d5d){const _0x4358b4=_0x593d28;this[_0x4358b4(0x28e)]+=_0x47cbd3[_0x22d8c5],this[_0x4358b4(0x17f)]=_0x23ef9b,_0x3f88bf[_0x4358b4(0x1cf)]()[_0x4358b4(0x195)](_0x50782a=>{const _0x332737=_0x4358b4;if(this['_socket'][_0x332737(0x210)]){const _0x27f0ed=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x332737(0x22e)](_0x62a8a5,this,_0x27f0ed,_0x448d5d);return;}this[_0x332737(0x28e)]-=_0x47cbd3[_0x22d8c5];const _0x99496a=_0x342cf7(_0x50782a);_0x38fabd?this[_0x332737(0x273)](_0x99496a,_0x38fabd,_0x47cbd3,_0x448d5d):(this[_0x332737(0x17f)]=_0x43ffe4,this['sendFrame'](_0x59b67c[_0x332737(0x28b)](_0x99496a,_0x47cbd3),_0x448d5d),this['dequeue']());})['catch'](_0x3c5d5a=>{const _0x200b4a=_0x4358b4;process[_0x200b4a(0x22e)](_0x464009,this,_0x3c5d5a,_0x448d5d);});}['dispatch'](_0x55cce6,_0x5b1ed2,_0x5a4875,_0x4a5bc0){const _0x5a34ea=_0x593d28;if(!_0x5b1ed2){this[_0x5a34ea(0x12b)](_0x59b67c[_0x5a34ea(0x28b)](_0x55cce6,_0x5a4875),_0x4a5bc0);return;}const _0x2b052d=this['_extensions'][_0x1c1e71[_0x5a34ea(0x22d)]];this['_bufferedBytes']+=_0x5a4875[_0x22d8c5],this[_0x5a34ea(0x17f)]=_0x6e5cf0,_0x2b052d[_0x5a34ea(0x208)](_0x55cce6,_0x5a4875['fin'],(_0x48f22b,_0x1ad48c)=>{const _0x1d807f=_0x5a34ea;if(this[_0x1d807f(0x190)][_0x1d807f(0x210)]){const _0x4b2da8=new Error(_0x1d807f(0x158));_0x62a8a5(this,_0x4b2da8,_0x4a5bc0);return;}this[_0x1d807f(0x28e)]-=_0x5a4875[_0x22d8c5],this[_0x1d807f(0x17f)]=_0x43ffe4,_0x5a4875[_0x1d807f(0x284)]=!0x1,this[_0x1d807f(0x12b)](_0x59b67c['frame'](_0x1ad48c,_0x5a4875),_0x4a5bc0),this[_0x1d807f(0x152)]();});}[_0x593d28(0x152)](){const _0x57f4ef=_0x593d28;for(;this[_0x57f4ef(0x17f)]===_0x43ffe4&&this[_0x57f4ef(0x265)][_0x57f4ef(0x1a1)];){const _0x335399=this[_0x57f4ef(0x265)][_0x57f4ef(0x153)]();this['_bufferedBytes']-=_0x335399[0x3][_0x22d8c5],Reflect[_0x57f4ef(0x214)](_0x335399[0x0],this,_0x335399[_0x57f4ef(0x2a2)](0x1));}}[_0x593d28(0x1b1)](_0x77c191){const _0x5892ee=_0x593d28;this[_0x5892ee(0x28e)]+=_0x77c191[0x3][_0x22d8c5],this[_0x5892ee(0x265)][_0x5892ee(0x27c)](_0x77c191);}[_0x593d28(0x12b)](_0x3d2193,_0x55fd81){const _0x3e4a3e=_0x593d28;_0x3d2193['length']===0x2?(this['_socket']['cork'](),this[_0x3e4a3e(0x190)][_0x3e4a3e(0x230)](_0x3d2193[0x0]),this[_0x3e4a3e(0x190)][_0x3e4a3e(0x230)](_0x3d2193[0x1],_0x55fd81),this[_0x3e4a3e(0x190)][_0x3e4a3e(0x2b9)]()):this[_0x3e4a3e(0x190)][_0x3e4a3e(0x230)](_0x3d2193[0x0],_0x55fd81);}}Ee=_0x59b67c;function _0x62a8a5(_0x9c7901,_0x1751a5,_0x2e00ae){const _0x47ed39=_0x593d28;typeof _0x2e00ae==_0x47ed39(0x194)&&_0x2e00ae(_0x1751a5);for(let _0x92dc42=0x0;_0x92dc42<_0x9c7901[_0x47ed39(0x265)][_0x47ed39(0x1a1)];_0x92dc42++){const _0x5e7329=_0x9c7901['_queue'][_0x92dc42],_0x4a3db=_0x5e7329[_0x5e7329[_0x47ed39(0x1a1)]-0x1];typeof _0x4a3db==_0x47ed39(0x194)&&_0x4a3db(_0x1751a5);}}function _0x464009(_0x229a82,_0x569b65,_0x36f194){const _0x46fa24=_0x593d28;_0x62a8a5(_0x229a82,_0x569b65,_0x36f194),_0x229a82[_0x46fa24(0x1b6)](_0x569b65);}return Ee;}var xe,Ze;function _0x58bd(){const _0x5b3c48=['split','map','Unsupported\x20protocol\x20version:\x20','_mask','verifyClient','The\x20\x22','autoPong','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','ping','address','_deflate','digest','WebSocket\x20is\x20not\x20open:\x20readyState\x20','flush','listenerCount','zlibInflateOptions','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','5602970jXlqce','_sender','kCode','writeUInt16BE','CLOSING','_bufferedAmount','_fragments','extensionName','nextTick','websocket','write','NodeCollaborationSocketService','set','_closeFrameReceived','concat','Invalid\x20Sec-WebSocket-Protocol\x20header','sec-websocket-extensions','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','destroy','HTTP/1.1\x20','invalid\x20UTF-8\x20sequence','acceptAsServer','accept','open','stream','data','isServer','shouldHandle','timeout','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','onmessage','Sec-WebSocket-Extensions:\x20','_autoPong','get','haveLength','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','serverMaxWindowBits','server_max_window_bits','prototype','charCodeAt','pending','total-length','redirect','\x22\x20must\x20have\x20only\x20a\x20single\x20value','toStringTag','isArray','_errored','__esModule','MASK\x20must\x20be\x20set','toString','http','exports','env','finishRequest','readable','_firstFragment','_compress','cleanup','pathname','\x20(supported\x20versions:\x20','servername','createInflateRaw','_queue','location','kWasClean','call','770778GEdYNJ','Sec-WebSocket-Extensions','create','buffers','type','socketPath','_max_window_bits','ILogService','maxPayload','default','dispatch','kDone','_no_context_takeover','@univerjs/network','send','_receiver','UniverCollaborationClientNodePlugin','_readableState','maskBuffer','push','blob','from','binaryType','alloc','setConfig','_paused','FIN\x20must\x20be\x20set','readOnly','skipUTF8Validation','errorEmitted','Upgrade:\x20websocket','The\x20server\x20is\x20not\x20running','emitClose','species','frame','_messageLength','_maxPayload','_bufferedBytes','url','customHeaders','onopen','sec-websocket-accept','GET','getConfig','startLoop','The\x20URL\x20contains\x20a\x20fragment\x20identifier','indexOf','error','concurrency','construct','clientNoContextTakeover','_decompress','File','captureStackTrace','Observable','readUInt16BE','defineProperty','slice','emit','hash','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','Module','WebSocket','text/html','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','terminate','wasClean','_originalSecure','buffer','_options','isView','sha1','dispose','bind','bufferedAmount','jobs','getBlobData','pong','wss:','_redirects','uncork','options','_destroy','_configService','_protocol','readUInt32BE','WS_ERR_INVALID_UTF8','_maskBuffer','\x0d\x0a\x0d\x0a','_payloadLength','Invalid\x20Upgrade\x20header','getInfo','_allowSynchronousEvents','rsv1','ws:','message','The\x20URL\x27s\x20pathname\x20is\x20empty','maxRedirects','consume','kIsForOnEventAttribute','_closeTimer','fragments','Max\x20payload\x20size\x20exceeded','_readyState','value','threshold','path','search','Inject','cookie','writable','origin','_doCreateSocket','reason','Injector','_extensions','Sec-WebSocket-Origin','finish','http:','_closeCode','_closeMessage','OPEN','client','client_max_window_bits','Connection:\x20Upgrade','kListener','_closeFrameSent','WS_ERR_INVALID_CLOSE_CODE','_errorEmitted','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','createSocket','headers','string','_isServer','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','find','createError','sendFrame','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Invalid\x20value\x20for\x20parameter\x20\x22','dataMessage','sec-websocket-origin','@univerjs-pro/collaboration','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','clientMaxWindowBits','kRun','object','Unexpected\x20end\x20of\x20input','mask','replace','_shouldEmitClose','registerHTTPInterceptor','_binaryType','freeze','constructor','kByteLength','_loop','getData','WS_ERR_UNEXPECTED_RSV_2_3','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','WS_ERR_UNEXPECTED_RSV_1','generateMask','Upgrade','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','backlog','removeEventListener','_write','isPaused','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','join','acceptAsClient','invalid\x20payload\x20length\x20','createServer','_req','onStarting','pause','dequeue','shift','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','upgrade','text/plain','36uRAdXE','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','params','IConfigService','listeners','Unknown\x20parameter\x20\x22','handleEvent','writeUIntBE','createConnection','276215Aorqbw','_fragmented','server_no_context_takeover','offer','Opening\x20handshake\x20has\x20timed\x20out','Unexpected\x20server\x20response:\x20','isValidUTF8','code','href','endEmitted','socket','format','zlibDeflateOptions','STATUS_CODES','_injector','permessage-deflate','byteOffset','kData','Origin','method','@univerjs/core','WS_ERR_UNEXPECTED_MASK','allowSynchronousEvents','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_removeListeners','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','hasOwnProperty','getPayloadLength64','unexpected-response','listen','onclose','_state','addEventListener','nodebuffer','abort','CLOSED','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','toDisposable','kError','Maximum\x20redirects\x20exceeded','auth','setNoDelay','kAborted','_threshold','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','protocol','handleUpgrade','_url','_socket','byteLength','1166076ImuMBK','callback','function','then','handleProtocols','setSocket','pow','server','size','connection','protocolVersion','end','invalid\x20opcode\x20','_generateMask','statusCode','length','_server','warn','pluginName','decompress','_skipUTF8Validation','_opcode','RSV1\x20must\x20be\x20clear','parse','getOwnPropertyDescriptor','readyState','pipe','_compressed','close','defaultPort','toLowerCase','enqueue','sec-websocket-key','next','_originalIpc','973228LOAwVc','onerror','Server\x20sent\x20no\x20subprotocol','UniverCollaborationClientPlugin','Unexpected\x20character\x20at\x20index\x20','clientTracking','isBuffer','status-code','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','getMask','concurrencyLimit','https','host','hostname','registerDependencies','noServer','share','kTarget','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_inflate','reset','_registerDependencies','read','_totalPayloadLength','sec-websocket-protocol','clients','arrayBuffer','drain','entries','isInteger','allocUnsafe','test','finished','username','delete','needDrain','net','arraybuffer','client_no_context_takeover','invalid\x20opcode\x200','Cookie','setHeader','getPayloadLength16','resume','normalizeParams','56ubWSpw','conclude','base64','wsClientError','Sec-WebSocket-Protocol:\x20','sec-websocket-version','6RCzNuK','add','serverNoContextTakeover','opcode','update','createDeflateRaw','events','keys','_originalHostOrSocketPath','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','has','handshakeTimeout','invalid\x20status\x20code\x20','extensions','Sec-WebSocket-Accept:\x20','once','_buffers','isIP','controlMessage','connect','authorization','ws+unix:','removeListener','_writableState','MASK\x20must\x20be\x20clear','completeUpgrade','target','WS_ERR_INVALID_OPCODE','perMessageDeflate','1350419Umtwsn','forEach','setTimeout','compress','Invalid\x20WebSocket\x20frame:\x20','fin','port','1282890NGKCfj','number','_fin','CONNECTING','destroyed','\x22:\x20','_httpService','response','apply'];_0x58bd=function(){return _0x5b3c48;};return _0x58bd();}function It(){const _0x5e7416=_0x22272f;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0xef9a07,kListener:_0x28f679}=H(),_0x1f5206=Symbol(_0x5e7416(0x228)),_0x599e02=Symbol(_0x5e7416(0x171)),_0x5d82e6=Symbol(_0x5e7416(0x186)),_0x526c03=Symbol('kMessage'),_0x976242=Symbol('kReason'),_0x4f2805=Symbol(_0x5e7416(0x1c6)),_0x455c11=Symbol('kType'),_0x457232=Symbol(_0x5e7416(0x267));class _0x3b8f15{constructor(_0x1c1473){this[_0x4f2805]=null,this[_0x455c11]=_0x1c1473;}get[_0x5e7416(0x202)](){return this[_0x4f2805];}get[_0x5e7416(0x26d)](){return this[_0x455c11];}}Object[_0x5e7416(0x2a1)](_0x3b8f15[_0x5e7416(0x24d)],_0x5e7416(0x202),{'enumerable':!0x0}),Object[_0x5e7416(0x2a1)](_0x3b8f15['prototype'],'type',{'enumerable':!0x0});class _0x532107 extends _0x3b8f15{constructor(_0x47aad6,_0x3fa9b5={}){const _0x29646c=_0x5e7416;super(_0x47aad6),this[_0x1f5206]=_0x3fa9b5[_0x29646c(0x167)]===void 0x0?0x0:_0x3fa9b5[_0x29646c(0x167)],this[_0x976242]=_0x3fa9b5[_0x29646c(0x113)]===void 0x0?'':_0x3fa9b5[_0x29646c(0x113)],this[_0x457232]=_0x3fa9b5[_0x29646c(0x2ab)]===void 0x0?!0x1:_0x3fa9b5['wasClean'];}get['code'](){return this[_0x1f5206];}get[_0x5e7416(0x113)](){return this[_0x976242];}get[_0x5e7416(0x2ab)](){return this[_0x457232];}}Object['defineProperty'](_0x532107[_0x5e7416(0x24d)],'code',{'enumerable':!0x0}),Object[_0x5e7416(0x2a1)](_0x532107[_0x5e7416(0x24d)],_0x5e7416(0x113),{'enumerable':!0x0}),Object['defineProperty'](_0x532107[_0x5e7416(0x24d)],_0x5e7416(0x2ab),{'enumerable':!0x0});class _0x42c20d extends _0x3b8f15{constructor(_0x22228b,_0x5d6ef9={}){const _0xee5c98=_0x5e7416;super(_0x22228b),this[_0x5d82e6]=_0x5d6ef9[_0xee5c98(0x298)]===void 0x0?null:_0x5d6ef9[_0xee5c98(0x298)],this[_0x526c03]=_0x5d6ef9[_0xee5c98(0x101)]===void 0x0?'':_0x5d6ef9['message'];}get[_0x5e7416(0x298)](){return this[_0x5d82e6];}get[_0x5e7416(0x101)](){return this[_0x526c03];}}Object[_0x5e7416(0x2a1)](_0x42c20d[_0x5e7416(0x24d)],_0x5e7416(0x298),{'enumerable':!0x0}),Object[_0x5e7416(0x2a1)](_0x42c20d[_0x5e7416(0x24d)],'message',{'enumerable':!0x0});class _0x4443ef extends _0x3b8f15{constructor(_0x2dd59c,_0x151712={}){const _0x5651d9=_0x5e7416;super(_0x2dd59c),this[_0x599e02]=_0x151712[_0x5651d9(0x240)]===void 0x0?null:_0x151712[_0x5651d9(0x240)];}get[_0x5e7416(0x240)](){return this[_0x599e02];}}Object[_0x5e7416(0x2a1)](_0x4443ef['prototype'],_0x5e7416(0x240),{'enumerable':!0x0}),xe={'CloseEvent':_0x532107,'ErrorEvent':_0x42c20d,'Event':_0x3b8f15,'EventTarget':{'addEventListener'(_0x145516,_0x2c0ee1,_0x30495c={}){const _0x108c90=_0x5e7416;for(const _0x5d0faa of this[_0x108c90(0x15b)](_0x145516))if(!_0x30495c[_0xef9a07]&&_0x5d0faa[_0x28f679]===_0x2c0ee1&&!_0x5d0faa[_0xef9a07])return;let _0x20a0fe;if(_0x145516===_0x108c90(0x101))_0x20a0fe=function(_0xf22d47,_0x385017){const _0x2b74f1=_0x108c90,_0x4e07ed=new _0x4443ef('message',{'data':_0x385017?_0xf22d47:_0xf22d47[_0x2b74f1(0x258)]()});_0x4e07ed[_0x4f2805]=this,_0x96cd86(_0x2c0ee1,this,_0x4e07ed);};else{if(_0x145516===_0x108c90(0x1ae))_0x20a0fe=function(_0x4bb664,_0x27432f){const _0x2634ba=_0x108c90,_0x1b4b03=new _0x532107(_0x2634ba(0x1ae),{'code':_0x4bb664,'reason':_0x27432f[_0x2634ba(0x258)](),'wasClean':this[_0x2634ba(0x233)]&&this[_0x2634ba(0x120)]});_0x1b4b03[_0x4f2805]=this,_0x96cd86(_0x2c0ee1,this,_0x1b4b03);};else{if(_0x145516===_0x108c90(0x298))_0x20a0fe=function(_0x4ab687){const _0x10d1db=_0x108c90,_0x33a0ce=new _0x42c20d('error',{'error':_0x4ab687,'message':_0x4ab687[_0x10d1db(0x101)]});_0x33a0ce[_0x4f2805]=this,_0x96cd86(_0x2c0ee1,this,_0x33a0ce);};else{if(_0x145516===_0x108c90(0x23e))_0x20a0fe=function(){const _0x58303f=_0x108c90,_0x1756a7=new _0x3b8f15(_0x58303f(0x23e));_0x1756a7[_0x4f2805]=this,_0x96cd86(_0x2c0ee1,this,_0x1756a7);};else return;}}}_0x20a0fe[_0xef9a07]=!!_0x30495c[_0xef9a07],_0x20a0fe[_0x28f679]=_0x2c0ee1,_0x30495c[_0x108c90(0x1f7)]?this['once'](_0x145516,_0x20a0fe):this['on'](_0x145516,_0x20a0fe);},'removeEventListener'(_0x3b0bdd,_0xce701d){const _0x162881=_0x5e7416;for(const _0xb7908d of this[_0x162881(0x15b)](_0x3b0bdd))if(_0xb7908d[_0x28f679]===_0xce701d&&!_0xb7908d[_0xef9a07]){this[_0x162881(0x1fe)](_0x3b0bdd,_0xb7908d);break;}}},'MessageEvent':_0x4443ef};function _0x96cd86(_0x8849ae,_0x63e00d,_0x158a23){const _0x4dedc5=_0x5e7416;typeof _0x8849ae=='object'&&_0x8849ae[_0x4dedc5(0x15d)]?_0x8849ae[_0x4dedc5(0x15d)][_0x4dedc5(0x268)](_0x8849ae,_0x158a23):_0x8849ae['call'](_0x63e00d,_0x158a23);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x47a6d1}=ae();function _0x25ddb0(_0x470e6d,_0x3e14dd,_0x16d177){const _0x28caf0=_0x58d9;_0x470e6d[_0x3e14dd]===void 0x0?_0x470e6d[_0x3e14dd]=[_0x16d177]:_0x470e6d[_0x3e14dd][_0x28caf0(0x27c)](_0x16d177);}function _0x4d1448(_0x2d04d4){const _0x2a2207=_0x58d9,_0x36aa7c=Object[_0x2a2207(0x26b)](null);let _0x1a88ac=Object[_0x2a2207(0x26b)](null),_0x349b92=!0x1,_0x28a586=!0x1,_0x116c85=!0x1,_0x5a1c77,_0x2afdf7,_0x4eb501=-0x1,_0x43c90e=-0x1,_0x23752f=-0x1,_0x456092=0x0;for(;_0x456092<_0x2d04d4[_0x2a2207(0x1a1)];_0x456092++)if(_0x43c90e=_0x2d04d4['charCodeAt'](_0x456092),_0x5a1c77===void 0x0){if(_0x23752f===-0x1&&_0x47a6d1[_0x43c90e]===0x1)_0x4eb501===-0x1&&(_0x4eb501=_0x456092);else{if(_0x456092!==0x0&&(_0x43c90e===0x20||_0x43c90e===0x9))_0x23752f===-0x1&&_0x4eb501!==-0x1&&(_0x23752f=_0x456092);else{if(_0x43c90e===0x3b||_0x43c90e===0x2c){if(_0x4eb501===-0x1)throw new SyntaxError(_0x2a2207(0x1b9)+_0x456092);_0x23752f===-0x1&&(_0x23752f=_0x456092);const _0x38c253=_0x2d04d4[_0x2a2207(0x2a2)](_0x4eb501,_0x23752f);_0x43c90e===0x2c?(_0x25ddb0(_0x36aa7c,_0x38c253,_0x1a88ac),_0x1a88ac=Object[_0x2a2207(0x26b)](null)):_0x5a1c77=_0x38c253,_0x4eb501=_0x23752f=-0x1;}else throw new SyntaxError(_0x2a2207(0x1b9)+_0x456092);}}}else{if(_0x2afdf7===void 0x0){if(_0x23752f===-0x1&&_0x47a6d1[_0x43c90e]===0x1)_0x4eb501===-0x1&&(_0x4eb501=_0x456092);else{if(_0x43c90e===0x20||_0x43c90e===0x9)_0x23752f===-0x1&&_0x4eb501!==-0x1&&(_0x23752f=_0x456092);else{if(_0x43c90e===0x3b||_0x43c90e===0x2c){if(_0x4eb501===-0x1)throw new SyntaxError(_0x2a2207(0x1b9)+_0x456092);_0x23752f===-0x1&&(_0x23752f=_0x456092),_0x25ddb0(_0x1a88ac,_0x2d04d4[_0x2a2207(0x2a2)](_0x4eb501,_0x23752f),!0x0),_0x43c90e===0x2c&&(_0x25ddb0(_0x36aa7c,_0x5a1c77,_0x1a88ac),_0x1a88ac=Object[_0x2a2207(0x26b)](null),_0x5a1c77=void 0x0),_0x4eb501=_0x23752f=-0x1;}else{if(_0x43c90e===0x3d&&_0x4eb501!==-0x1&&_0x23752f===-0x1)_0x2afdf7=_0x2d04d4[_0x2a2207(0x2a2)](_0x4eb501,_0x456092),_0x4eb501=_0x23752f=-0x1;else throw new SyntaxError(_0x2a2207(0x1b9)+_0x456092);}}}}else{if(_0x28a586){if(_0x47a6d1[_0x43c90e]!==0x1)throw new SyntaxError(_0x2a2207(0x1b9)+_0x456092);_0x4eb501===-0x1?_0x4eb501=_0x456092:_0x349b92||(_0x349b92=!0x0),_0x28a586=!0x1;}else{if(_0x116c85){if(_0x47a6d1[_0x43c90e]===0x1)_0x4eb501===-0x1&&(_0x4eb501=_0x456092);else{if(_0x43c90e===0x22&&_0x4eb501!==-0x1)_0x116c85=!0x1,_0x23752f=_0x456092;else{if(_0x43c90e===0x5c)_0x28a586=!0x0;else throw new SyntaxError(_0x2a2207(0x1b9)+_0x456092);}}}else{if(_0x43c90e===0x22&&_0x2d04d4['charCodeAt'](_0x456092-0x1)===0x3d)_0x116c85=!0x0;else{if(_0x23752f===-0x1&&_0x47a6d1[_0x43c90e]===0x1)_0x4eb501===-0x1&&(_0x4eb501=_0x456092);else{if(_0x4eb501!==-0x1&&(_0x43c90e===0x20||_0x43c90e===0x9))_0x23752f===-0x1&&(_0x23752f=_0x456092);else{if(_0x43c90e===0x3b||_0x43c90e===0x2c){if(_0x4eb501===-0x1)throw new SyntaxError(_0x2a2207(0x1b9)+_0x456092);_0x23752f===-0x1&&(_0x23752f=_0x456092);let _0x475fd3=_0x2d04d4[_0x2a2207(0x2a2)](_0x4eb501,_0x23752f);_0x349b92&&(_0x475fd3=_0x475fd3[_0x2a2207(0x137)](/\\/g,''),_0x349b92=!0x1),_0x25ddb0(_0x1a88ac,_0x2afdf7,_0x475fd3),_0x43c90e===0x2c&&(_0x25ddb0(_0x36aa7c,_0x5a1c77,_0x1a88ac),_0x1a88ac=Object[_0x2a2207(0x26b)](null),_0x5a1c77=void 0x0),_0x2afdf7=void 0x0,_0x4eb501=_0x23752f=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x456092);}}}}}}}if(_0x4eb501===-0x1||_0x116c85||_0x43c90e===0x20||_0x43c90e===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x23752f===-0x1&&(_0x23752f=_0x456092);const _0x486d8d=_0x2d04d4[_0x2a2207(0x2a2)](_0x4eb501,_0x23752f);return _0x5a1c77===void 0x0?_0x25ddb0(_0x36aa7c,_0x486d8d,_0x1a88ac):(_0x2afdf7===void 0x0?_0x25ddb0(_0x1a88ac,_0x486d8d,!0x0):_0x349b92?_0x25ddb0(_0x1a88ac,_0x2afdf7,_0x486d8d[_0x2a2207(0x137)](/\\/g,'')):_0x25ddb0(_0x1a88ac,_0x2afdf7,_0x486d8d),_0x25ddb0(_0x36aa7c,_0x5a1c77,_0x1a88ac)),_0x36aa7c;}function _0x23bbe1(_0x15c114){const _0x28380a=_0x58d9;return Object[_0x28380a(0x1ef)](_0x15c114)[_0x28380a(0x216)](_0x153dfb=>{const _0x100beb=_0x28380a;let _0x5e57f1=_0x15c114[_0x153dfb];return Array[_0x100beb(0x254)](_0x5e57f1)||(_0x5e57f1=[_0x5e57f1]),_0x5e57f1[_0x100beb(0x216)](_0x5be6c1=>[_0x153dfb][_0x100beb(0x234)](Object[_0x100beb(0x1ef)](_0x5be6c1)[_0x100beb(0x216)](_0x5128fc=>{const _0x95cb58=_0x100beb;let _0x58c816=_0x5be6c1[_0x5128fc];return Array[_0x95cb58(0x254)](_0x58c816)||(_0x58c816=[_0x58c816]),_0x58c816['map'](_0x137177=>_0x137177===!0x0?_0x5128fc:_0x5128fc+'='+_0x137177)[_0x95cb58(0x14b)](';\x20');}))[_0x100beb(0x14b)](';\x20'))[_0x100beb(0x14b)](',\x20');})[_0x28380a(0x14b)](',\x20');}return be={'format':_0x23bbe1,'parse':_0x4d1448},be;}var we,Je;function Pe(){const _0x5d5500=_0x22272f;if(Je)return we;Je=0x1;const _0x588ddc=nt,_0x248734=vt,_0xca2a24=ot,_0x16552a=St,_0x431ab8=Et,{randomBytes:_0x473ae1,createHash:_0x455e1f}=Le,{Duplex:_0x1d15d0,Readable:_0x4a8959}=oe,{URL:_0x51e1db}=xt,_0x4b4efe=he(),_0x97bfe5=lt(),_0x3b8622=ft(),{isBlob:_0x31ddb9}=ae(),{BINARY_TYPES:_0x1c1ca9,EMPTY_BUFFER:_0x20de01,GUID:_0x427f54,kForOnEventAttribute:_0x68e92d,kListener:_0x30e3b9,kStatusCode:_0x5cd8ec,kWebSocket:_0x3c6290,NOOP:_0x498478}=H(),{EventTarget:{addEventListener:_0x11ebf2,removeEventListener:_0x4d69ad}}=It(),{format:_0x1f174c,parse:_0x15c45f}=ct(),{toBuffer:_0x373869}=ce(),_0x52dc38=0x1e*0x3e8,_0x1dd5a8=Symbol(_0x5d5500(0x18a)),_0x4d74d3=[0x8,0xd],_0x857887=[_0x5d5500(0x20f),_0x5d5500(0x11b),_0x5d5500(0x22a),_0x5d5500(0x183)],_0x405672=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x13b8a3 extends _0x588ddc{constructor(_0x1180d4,_0x4c5ff7,_0x3d8f93){const _0x572cdc=_0x5d5500;super(),this[_0x572cdc(0x13a)]=_0x1c1ca9[0x0],this[_0x572cdc(0x119)]=0x3ee,this[_0x572cdc(0x233)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x572cdc(0x11a)]=_0x20de01,this['_closeTimer']=null,this['_errorEmitted']=!0x1,this['_extensions']={},this[_0x572cdc(0x282)]=!0x1,this[_0x572cdc(0x2bd)]='',this[_0x572cdc(0x109)]=_0x13b8a3['CONNECTING'],this[_0x572cdc(0x278)]=null,this['_sender']=null,this[_0x572cdc(0x190)]=null,_0x1180d4!==null?(this[_0x572cdc(0x22b)]=0x0,this[_0x572cdc(0x127)]=!0x1,this['_redirects']=0x0,_0x4c5ff7===void 0x0?_0x4c5ff7=[]:Array[_0x572cdc(0x254)](_0x4c5ff7)||(typeof _0x4c5ff7=='object'&&_0x4c5ff7!==null?(_0x3d8f93=_0x4c5ff7,_0x4c5ff7=[]):_0x4c5ff7=[_0x4c5ff7]),_0x52c4de(this,_0x1180d4,_0x4c5ff7,_0x3d8f93)):(this[_0x572cdc(0x247)]=_0x3d8f93['autoPong'],this['_isServer']=!0x0);}get[_0x5d5500(0x27f)](){const _0x14c491=_0x5d5500;return this[_0x14c491(0x13a)];}set[_0x5d5500(0x27f)](_0x130861){const _0x11cfab=_0x5d5500;_0x1c1ca9['includes'](_0x130861)&&(this[_0x11cfab(0x13a)]=_0x130861,this['_receiver']&&(this[_0x11cfab(0x278)][_0x11cfab(0x13a)]=_0x130861));}get[_0x5d5500(0x2b3)](){const _0x342d56=_0x5d5500;return this[_0x342d56(0x190)]?this['_socket'][_0x342d56(0x1ff)][_0x342d56(0x1a1)]+this['_sender'][_0x342d56(0x28e)]:this['_bufferedAmount'];}get[_0x5d5500(0x1f5)](){const _0x1ae2f1=_0x5d5500;return Object[_0x1ae2f1(0x1ef)](this[_0x1ae2f1(0x115)])[_0x1ae2f1(0x14b)]();}get[_0x5d5500(0x149)](){const _0x5064c6=_0x5d5500;return this[_0x5064c6(0x282)];}get[_0x5d5500(0x17e)](){return null;}get['onerror'](){return null;}get[_0x5d5500(0x291)](){return null;}get[_0x5d5500(0x245)](){return null;}get['protocol'](){const _0x1aaa8a=_0x5d5500;return this[_0x1aaa8a(0x2bd)];}get[_0x5d5500(0x1ab)](){return this['_readyState'];}get['url'](){const _0x415dcb=_0x5d5500;return this[_0x415dcb(0x18f)];}[_0x5d5500(0x197)](_0x29d19f,_0x2b9979,_0x3b309d){const _0x600def=_0x5d5500,_0x1f8c38=new _0x97bfe5({'allowSynchronousEvents':_0x3b309d[_0x600def(0x176)],'binaryType':this[_0x600def(0x27f)],'extensions':this[_0x600def(0x115)],'isServer':this['_isServer'],'maxPayload':_0x3b309d['maxPayload'],'skipUTF8Validation':_0x3b309d[_0x600def(0x285)]}),_0x2a54e8=new _0x3b8622(_0x29d19f,this[_0x600def(0x115)],_0x3b309d[_0x600def(0x143)]);this[_0x600def(0x278)]=_0x1f8c38,this['_sender']=_0x2a54e8,this[_0x600def(0x190)]=_0x29d19f,_0x1f8c38[_0x3c6290]=this,_0x2a54e8[_0x3c6290]=this,_0x29d19f[_0x3c6290]=this,_0x1f8c38['on'](_0x600def(0x1e3),_0x3e7c52),_0x1f8c38['on'](_0x600def(0x1d0),_0x31b0a8),_0x1f8c38['on']('error',_0x36d93c),_0x1f8c38['on'](_0x600def(0x101),_0x4f99e0),_0x1f8c38['on']('ping',_0x1aa6ac),_0x1f8c38['on'](_0x600def(0x2b6),_0x49b50f),_0x2a54e8[_0x600def(0x1b6)]=_0x12f49d,_0x29d19f[_0x600def(0x207)]&&_0x29d19f[_0x600def(0x207)](0x0),_0x29d19f[_0x600def(0x189)]&&_0x29d19f['setNoDelay'](),_0x2b9979[_0x600def(0x1a1)]>0x0&&_0x29d19f['unshift'](_0x2b9979),_0x29d19f['on'](_0x600def(0x1ae),_0x315f56),_0x29d19f['on'](_0x600def(0x240),_0x5678f5),_0x29d19f['on']('end',_0x28cb4b),_0x29d19f['on'](_0x600def(0x298),_0x593d9c),this['_readyState']=_0x13b8a3[_0x600def(0x11b)],this[_0x600def(0x2a3)]('open');}[_0x5d5500(0x289)](){const _0x34be62=_0x5d5500;if(!this['_socket']){this[_0x34be62(0x109)]=_0x13b8a3[_0x34be62(0x183)],this[_0x34be62(0x2a3)]('close',this[_0x34be62(0x119)],this['_closeMessage']);return;}this[_0x34be62(0x115)][_0x4b4efe['extensionName']]&&this['_extensions'][_0x4b4efe['extensionName']][_0x34be62(0x260)](),this['_receiver']['removeAllListeners'](),this[_0x34be62(0x109)]=_0x13b8a3[_0x34be62(0x183)],this[_0x34be62(0x2a3)](_0x34be62(0x1ae),this[_0x34be62(0x119)],this[_0x34be62(0x11a)]);}['close'](_0xff669c,_0x1860cf){const _0x5d396a=_0x5d5500;if(this[_0x5d396a(0x1ab)]!==_0x13b8a3[_0x5d396a(0x183)]){if(this['readyState']===_0x13b8a3[_0x5d396a(0x20f)]){_0x1f449c(this,this[_0x5d396a(0x14f)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x5d396a(0x1ab)]===_0x13b8a3['CLOSING']){this[_0x5d396a(0x120)]&&(this['_closeFrameReceived']||this['_receiver'][_0x5d396a(0x1ff)][_0x5d396a(0x286)])&&this[_0x5d396a(0x190)][_0x5d396a(0x19d)]();return;}this['_readyState']=_0x13b8a3['CLOSING'],this['_sender']['close'](_0xff669c,_0x1860cf,!this[_0x5d396a(0x127)],_0x5b77a8=>{const _0x35ebde=_0x5d396a;_0x5b77a8||(this['_closeFrameSent']=!0x0,(this[_0x35ebde(0x233)]||this[_0x35ebde(0x278)][_0x35ebde(0x1ff)][_0x35ebde(0x286)])&&this[_0x35ebde(0x190)]['end']());}),_0x165cc6(this);}}[_0x5d5500(0x151)](){const _0x24f1ab=_0x5d5500;this[_0x24f1ab(0x1ab)]===_0x13b8a3['CONNECTING']||this[_0x24f1ab(0x1ab)]===_0x13b8a3[_0x24f1ab(0x183)]||(this[_0x24f1ab(0x282)]=!0x0,this[_0x24f1ab(0x190)][_0x24f1ab(0x151)]());}['ping'](_0x2a8201,_0x39b2d7,_0x28489f){const _0x29c180=_0x5d5500;if(this[_0x29c180(0x1ab)]===_0x13b8a3[_0x29c180(0x20f)])throw new Error(_0x29c180(0x179));if(typeof _0x2a8201=='function'?(_0x28489f=_0x2a8201,_0x2a8201=_0x39b2d7=void 0x0):typeof _0x39b2d7==_0x29c180(0x194)&&(_0x28489f=_0x39b2d7,_0x39b2d7=void 0x0),typeof _0x2a8201=='number'&&(_0x2a8201=_0x2a8201[_0x29c180(0x258)]()),this['readyState']!==_0x13b8a3[_0x29c180(0x11b)]){_0x4b577b(this,_0x2a8201,_0x28489f);return;}_0x39b2d7===void 0x0&&(_0x39b2d7=!this[_0x29c180(0x127)]),this[_0x29c180(0x227)][_0x29c180(0x21d)](_0x2a8201||_0x20de01,_0x39b2d7,_0x28489f);}[_0x5d5500(0x2b6)](_0x28f411,_0x1a7c26,_0x18eac2){const _0x249fa1=_0x5d5500;if(this[_0x249fa1(0x1ab)]===_0x13b8a3['CONNECTING'])throw new Error(_0x249fa1(0x179));if(typeof _0x28f411==_0x249fa1(0x194)?(_0x18eac2=_0x28f411,_0x28f411=_0x1a7c26=void 0x0):typeof _0x1a7c26==_0x249fa1(0x194)&&(_0x18eac2=_0x1a7c26,_0x1a7c26=void 0x0),typeof _0x28f411==_0x249fa1(0x20d)&&(_0x28f411=_0x28f411[_0x249fa1(0x258)]()),this[_0x249fa1(0x1ab)]!==_0x13b8a3[_0x249fa1(0x11b)]){_0x4b577b(this,_0x28f411,_0x18eac2);return;}_0x1a7c26===void 0x0&&(_0x1a7c26=!this[_0x249fa1(0x127)]),this['_sender'][_0x249fa1(0x2b6)](_0x28f411||_0x20de01,_0x1a7c26,_0x18eac2);}[_0x5d5500(0x1e0)](){const _0x375f54=_0x5d5500;this[_0x375f54(0x1ab)]===_0x13b8a3[_0x375f54(0x20f)]||this['readyState']===_0x13b8a3['CLOSED']||(this[_0x375f54(0x282)]=!0x1,this[_0x375f54(0x278)][_0x375f54(0x1ff)][_0x375f54(0x1d8)]||this['_socket'][_0x375f54(0x1e0)]());}[_0x5d5500(0x277)](_0x250397,_0x302fdd,_0x475557){const _0x51444e=_0x5d5500;if(this[_0x51444e(0x1ab)]===_0x13b8a3['CONNECTING'])throw new Error(_0x51444e(0x179));if(typeof _0x302fdd==_0x51444e(0x194)&&(_0x475557=_0x302fdd,_0x302fdd={}),typeof _0x250397==_0x51444e(0x20d)&&(_0x250397=_0x250397[_0x51444e(0x258)]()),this[_0x51444e(0x1ab)]!==_0x13b8a3[_0x51444e(0x11b)]){_0x4b577b(this,_0x250397,_0x475557);return;}const _0x3dafba={'binary':typeof _0x250397!='string','mask':!this[_0x51444e(0x127)],'compress':!0x0,'fin':!0x0,..._0x302fdd};this['_extensions'][_0x4b4efe[_0x51444e(0x22d)]]||(_0x3dafba[_0x51444e(0x208)]=!0x1),this[_0x51444e(0x227)][_0x51444e(0x277)](_0x250397||_0x20de01,_0x3dafba,_0x475557);}[_0x5d5500(0x2aa)](){const _0x5993c7=_0x5d5500;if(this['readyState']!==_0x13b8a3[_0x5993c7(0x183)]){if(this[_0x5993c7(0x1ab)]===_0x13b8a3[_0x5993c7(0x20f)]){_0x1f449c(this,this[_0x5993c7(0x14f)],_0x5993c7(0x237));return;}this[_0x5993c7(0x190)]&&(this[_0x5993c7(0x109)]=_0x13b8a3[_0x5993c7(0x22a)],this[_0x5993c7(0x190)][_0x5993c7(0x239)]());}}}Object[_0x5d5500(0x2a1)](_0x13b8a3,_0x5d5500(0x20f),{'enumerable':!0x0,'value':_0x857887[_0x5d5500(0x297)](_0x5d5500(0x20f))}),Object[_0x5d5500(0x2a1)](_0x13b8a3[_0x5d5500(0x24d)],_0x5d5500(0x20f),{'enumerable':!0x0,'value':_0x857887[_0x5d5500(0x297)](_0x5d5500(0x20f))}),Object[_0x5d5500(0x2a1)](_0x13b8a3,_0x5d5500(0x11b),{'enumerable':!0x0,'value':_0x857887[_0x5d5500(0x297)](_0x5d5500(0x11b))}),Object['defineProperty'](_0x13b8a3[_0x5d5500(0x24d)],_0x5d5500(0x11b),{'enumerable':!0x0,'value':_0x857887[_0x5d5500(0x297)]('OPEN')}),Object[_0x5d5500(0x2a1)](_0x13b8a3,_0x5d5500(0x22a),{'enumerable':!0x0,'value':_0x857887['indexOf']('CLOSING')}),Object[_0x5d5500(0x2a1)](_0x13b8a3[_0x5d5500(0x24d)],'CLOSING',{'enumerable':!0x0,'value':_0x857887[_0x5d5500(0x297)](_0x5d5500(0x22a))}),Object[_0x5d5500(0x2a1)](_0x13b8a3,_0x5d5500(0x183),{'enumerable':!0x0,'value':_0x857887[_0x5d5500(0x297)](_0x5d5500(0x183))}),Object[_0x5d5500(0x2a1)](_0x13b8a3['prototype'],_0x5d5500(0x183),{'enumerable':!0x0,'value':_0x857887[_0x5d5500(0x297)](_0x5d5500(0x183))}),[_0x5d5500(0x27f),_0x5d5500(0x2b3),_0x5d5500(0x1f5),_0x5d5500(0x149),'protocol',_0x5d5500(0x1ab),'url']['forEach'](_0x4a0ce6=>{Object['defineProperty'](_0x13b8a3['prototype'],_0x4a0ce6,{'enumerable':!0x0});}),[_0x5d5500(0x23e),_0x5d5500(0x298),_0x5d5500(0x1ae),_0x5d5500(0x101)][_0x5d5500(0x206)](_0x3c43e5=>{const _0x3d1155=_0x5d5500;Object[_0x3d1155(0x2a1)](_0x13b8a3[_0x3d1155(0x24d)],'on'+_0x3c43e5,{'enumerable':!0x0,'get'(){for(const _0x45336f of this['listeners'](_0x3c43e5))if(_0x45336f[_0x68e92d])return _0x45336f[_0x30e3b9];return null;},'set'(_0x235d74){const _0x14609e=_0x3d1155;for(const _0x581d79 of this[_0x14609e(0x15b)](_0x3c43e5))if(_0x581d79[_0x68e92d]){this[_0x14609e(0x1fe)](_0x3c43e5,_0x581d79);break;}typeof _0x235d74==_0x14609e(0x194)&&this[_0x14609e(0x180)](_0x3c43e5,_0x235d74,{[_0x68e92d]:!0x0});}});}),_0x13b8a3['prototype'][_0x5d5500(0x180)]=_0x11ebf2,_0x13b8a3[_0x5d5500(0x24d)][_0x5d5500(0x147)]=_0x4d69ad,we=_0x13b8a3;function _0x52c4de(_0x87a8ab,_0x4c8adc,_0x4fe564,_0x42aff7){const _0x10c775=_0x5d5500,_0x5c48d6={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4d74d3[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x42aff7,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x10c775(0x293),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x87a8ab[_0x10c775(0x247)]=_0x5c48d6[_0x10c775(0x21b)],!_0x4d74d3['includes'](_0x5c48d6[_0x10c775(0x19c)]))throw new RangeError(_0x10c775(0x217)+_0x5c48d6[_0x10c775(0x19c)]+_0x10c775(0x262)+_0x4d74d3['join'](',\x20')+')');let _0x3777a5;if(_0x4c8adc instanceof _0x51e1db)_0x3777a5=_0x4c8adc;else try{_0x3777a5=new _0x51e1db(_0x4c8adc);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x4c8adc);}_0x3777a5[_0x10c775(0x18d)]===_0x10c775(0x118)?_0x3777a5['protocol']=_0x10c775(0x100):_0x3777a5[_0x10c775(0x18d)]==='https:'&&(_0x3777a5[_0x10c775(0x18d)]=_0x10c775(0x2b7)),_0x87a8ab[_0x10c775(0x18f)]=_0x3777a5[_0x10c775(0x168)];const _0x38dce0=_0x3777a5[_0x10c775(0x18d)]===_0x10c775(0x2b7),_0x1aa484=_0x3777a5[_0x10c775(0x18d)]===_0x10c775(0x1fd);let _0x2ce013;if(_0x3777a5[_0x10c775(0x18d)]!==_0x10c775(0x100)&&!_0x38dce0&&!_0x1aa484?_0x2ce013=_0x10c775(0x24a):_0x1aa484&&!_0x3777a5[_0x10c775(0x261)]?_0x2ce013=_0x10c775(0x102):_0x3777a5[_0x10c775(0x2a4)]&&(_0x2ce013=_0x10c775(0x296)),_0x2ce013){const _0xcb9d0c=new SyntaxError(_0x2ce013);if(_0x87a8ab[_0x10c775(0x2b8)]===0x0)throw _0xcb9d0c;_0x3a77de(_0x87a8ab,_0xcb9d0c);return;}const _0x110299=_0x38dce0?0x1bb:0x50,_0x44b6a5=_0x473ae1(0x10)[_0x10c775(0x258)](_0x10c775(0x1e4)),_0x1e767f=_0x38dce0?_0x248734['request']:_0xca2a24['request'],_0x1cfdc9=new Set();let _0x3b38ae;if(_0x5c48d6[_0x10c775(0x15f)]=_0x5c48d6[_0x10c775(0x15f)]||(_0x38dce0?_0xeb30d5:_0x33acaf),_0x5c48d6[_0x10c775(0x1af)]=_0x5c48d6[_0x10c775(0x1af)]||_0x110299,_0x5c48d6[_0x10c775(0x20b)]=_0x3777a5[_0x10c775(0x20b)]||_0x110299,_0x5c48d6[_0x10c775(0x1c1)]=_0x3777a5[_0x10c775(0x1c2)]['startsWith']('[')?_0x3777a5[_0x10c775(0x1c2)][_0x10c775(0x2a2)](0x1,-0x1):_0x3777a5[_0x10c775(0x1c2)],_0x5c48d6['headers']={..._0x5c48d6[_0x10c775(0x125)],'Sec-WebSocket-Version':_0x5c48d6[_0x10c775(0x19c)],'Sec-WebSocket-Key':_0x44b6a5,'Connection':_0x10c775(0x144),'Upgrade':_0x10c775(0x22f)},_0x5c48d6['path']=_0x3777a5[_0x10c775(0x261)]+_0x3777a5[_0x10c775(0x10d)],_0x5c48d6[_0x10c775(0x243)]=_0x5c48d6[_0x10c775(0x1f3)],_0x5c48d6[_0x10c775(0x204)]&&(_0x3b38ae=new _0x4b4efe(_0x5c48d6[_0x10c775(0x204)]!==!0x0?_0x5c48d6[_0x10c775(0x204)]:{},!0x1,_0x5c48d6[_0x10c775(0x271)]),_0x5c48d6[_0x10c775(0x125)][_0x10c775(0x26a)]=_0x1f174c({[_0x4b4efe[_0x10c775(0x22d)]]:_0x3b38ae['offer']()})),_0x4fe564[_0x10c775(0x1a1)]){for(const _0xf27c70 of _0x4fe564){if(typeof _0xf27c70!=_0x10c775(0x126)||!_0x405672[_0x10c775(0x1d4)](_0xf27c70)||_0x1cfdc9[_0x10c775(0x1f2)](_0xf27c70))throw new SyntaxError(_0x10c775(0x128));_0x1cfdc9[_0x10c775(0x1e9)](_0xf27c70);}_0x5c48d6[_0x10c775(0x125)]['Sec-WebSocket-Protocol']=_0x4fe564['join'](',');}if(_0x5c48d6['origin']&&(_0x5c48d6[_0x10c775(0x19c)]<0xd?_0x5c48d6[_0x10c775(0x125)][_0x10c775(0x116)]=_0x5c48d6[_0x10c775(0x111)]:_0x5c48d6['headers'][_0x10c775(0x172)]=_0x5c48d6[_0x10c775(0x111)]),(_0x3777a5[_0x10c775(0x1d6)]||_0x3777a5['password'])&&(_0x5c48d6[_0x10c775(0x188)]=_0x3777a5['username']+':'+_0x3777a5['password']),_0x1aa484){const _0x1d2769=_0x5c48d6[_0x10c775(0x10c)][_0x10c775(0x215)](':');_0x5c48d6[_0x10c775(0x26e)]=_0x1d2769[0x0],_0x5c48d6[_0x10c775(0x10c)]=_0x1d2769[0x1];}let _0x97a68a;if(_0x5c48d6['followRedirects']){if(_0x87a8ab[_0x10c775(0x2b8)]===0x0){_0x87a8ab[_0x10c775(0x1b4)]=_0x1aa484,_0x87a8ab[_0x10c775(0x2ac)]=_0x38dce0,_0x87a8ab[_0x10c775(0x1f0)]=_0x1aa484?_0x5c48d6['socketPath']:_0x3777a5[_0x10c775(0x1c1)];const _0x202cf2=_0x42aff7&&_0x42aff7[_0x10c775(0x125)];if(_0x42aff7={..._0x42aff7,'headers':{}},_0x202cf2){for(const [_0x1855a8,_0x13ccc6]of Object[_0x10c775(0x1d1)](_0x202cf2))_0x42aff7['headers'][_0x1855a8[_0x10c775(0x1b0)]()]=_0x13ccc6;}}else{if(_0x87a8ab[_0x10c775(0x223)](_0x10c775(0x251))===0x0){const _0x531b2f=_0x1aa484?_0x87a8ab[_0x10c775(0x1b4)]?_0x5c48d6['socketPath']===_0x87a8ab[_0x10c775(0x1f0)]:!0x1:_0x87a8ab[_0x10c775(0x1b4)]?!0x1:_0x3777a5['host']===_0x87a8ab['_originalHostOrSocketPath'];(!_0x531b2f||_0x87a8ab[_0x10c775(0x2ac)]&&!_0x38dce0)&&(delete _0x5c48d6[_0x10c775(0x125)][_0x10c775(0x1fc)],delete _0x5c48d6[_0x10c775(0x125)][_0x10c775(0x10f)],_0x531b2f||delete _0x5c48d6[_0x10c775(0x125)][_0x10c775(0x1c1)],_0x5c48d6[_0x10c775(0x188)]=void 0x0);}}_0x5c48d6[_0x10c775(0x188)]&&!_0x42aff7['headers'][_0x10c775(0x1fc)]&&(_0x42aff7[_0x10c775(0x125)]['authorization']='Basic\x20'+Buffer['from'](_0x5c48d6[_0x10c775(0x188)])[_0x10c775(0x258)](_0x10c775(0x1e4))),_0x97a68a=_0x87a8ab[_0x10c775(0x14f)]=_0x1e767f(_0x5c48d6),_0x87a8ab[_0x10c775(0x2b8)]&&_0x87a8ab[_0x10c775(0x2a3)](_0x10c775(0x251),_0x87a8ab[_0x10c775(0x28f)],_0x97a68a);}else _0x97a68a=_0x87a8ab[_0x10c775(0x14f)]=_0x1e767f(_0x5c48d6);_0x5c48d6[_0x10c775(0x243)]&&_0x97a68a['on'](_0x10c775(0x243),()=>{const _0x953006=_0x10c775;_0x1f449c(_0x87a8ab,_0x97a68a,_0x953006(0x164));}),_0x97a68a['on'](_0x10c775(0x298),_0x199450=>{const _0x10471c=_0x10c775;_0x97a68a===null||_0x97a68a[_0x1dd5a8]||(_0x97a68a=_0x87a8ab[_0x10471c(0x14f)]=null,_0x3a77de(_0x87a8ab,_0x199450));}),_0x97a68a['on'](_0x10c775(0x213),_0x5e6abb=>{const _0x5603a1=_0x10c775,_0x1c2dbf=_0x5e6abb[_0x5603a1(0x125)][_0x5603a1(0x266)],_0x1ea26f=_0x5e6abb['statusCode'];if(_0x1c2dbf&&_0x5c48d6['followRedirects']&&_0x1ea26f>=0x12c&&_0x1ea26f<0x190){if(++_0x87a8ab[_0x5603a1(0x2b8)]>_0x5c48d6[_0x5603a1(0x103)]){_0x1f449c(_0x87a8ab,_0x97a68a,_0x5603a1(0x187));return;}_0x97a68a[_0x5603a1(0x182)]();let _0x19a294;try{_0x19a294=new _0x51e1db(_0x1c2dbf,_0x4c8adc);}catch{const _0x7a0dab=new SyntaxError('Invalid\x20URL:\x20'+_0x1c2dbf);_0x3a77de(_0x87a8ab,_0x7a0dab);return;}_0x52c4de(_0x87a8ab,_0x19a294,_0x4fe564,_0x42aff7);}else _0x87a8ab[_0x5603a1(0x2a3)](_0x5603a1(0x17c),_0x97a68a,_0x5e6abb)||_0x1f449c(_0x87a8ab,_0x97a68a,_0x5603a1(0x165)+_0x5e6abb[_0x5603a1(0x1a0)]);}),_0x97a68a['on'](_0x10c775(0x155),(_0x2d6f19,_0x2301c4,_0xe9223e)=>{const _0xcee9dc=_0x10c775;if(_0x87a8ab[_0xcee9dc(0x2a3)](_0xcee9dc(0x155),_0x2d6f19),_0x87a8ab['readyState']!==_0x13b8a3[_0xcee9dc(0x20f)])return;_0x97a68a=_0x87a8ab[_0xcee9dc(0x14f)]=null;const _0x3f3fab=_0x2d6f19[_0xcee9dc(0x125)]['upgrade'];if(_0x3f3fab===void 0x0||_0x3f3fab[_0xcee9dc(0x1b0)]()!==_0xcee9dc(0x22f)){_0x1f449c(_0x87a8ab,_0x2301c4,'Invalid\x20Upgrade\x20header');return;}const _0x161b22=_0x455e1f(_0xcee9dc(0x2b0))[_0xcee9dc(0x1ec)](_0x44b6a5+_0x427f54)[_0xcee9dc(0x220)]('base64');if(_0x2d6f19[_0xcee9dc(0x125)][_0xcee9dc(0x292)]!==_0x161b22){_0x1f449c(_0x87a8ab,_0x2301c4,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x4d0cb1=_0x2d6f19[_0xcee9dc(0x125)][_0xcee9dc(0x1cd)];let _0x5933cd;if(_0x4d0cb1!==void 0x0?_0x1cfdc9['size']?_0x1cfdc9[_0xcee9dc(0x1f2)](_0x4d0cb1)||(_0x5933cd='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x5933cd=_0xcee9dc(0x184):_0x1cfdc9[_0xcee9dc(0x19a)]&&(_0x5933cd=_0xcee9dc(0x1b7)),_0x5933cd){_0x1f449c(_0x87a8ab,_0x2301c4,_0x5933cd);return;}_0x4d0cb1&&(_0x87a8ab[_0xcee9dc(0x2bd)]=_0x4d0cb1);const _0x1fd0c7=_0x2d6f19[_0xcee9dc(0x125)][_0xcee9dc(0x236)];if(_0x1fd0c7!==void 0x0){if(!_0x3b38ae){_0x1f449c(_0x87a8ab,_0x2301c4,_0xcee9dc(0x2a9));return;}let _0x4f3be2;try{_0x4f3be2=_0x15c45f(_0x1fd0c7);}catch{_0x1f449c(_0x87a8ab,_0x2301c4,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0xf71963=Object[_0xcee9dc(0x1ef)](_0x4f3be2);if(_0xf71963[_0xcee9dc(0x1a1)]!==0x1||_0xf71963[0x0]!==_0x4b4efe[_0xcee9dc(0x22d)]){_0x1f449c(_0x87a8ab,_0x2301c4,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x3b38ae[_0xcee9dc(0x23d)](_0x4f3be2[_0x4b4efe[_0xcee9dc(0x22d)]]);}catch{_0x1f449c(_0x87a8ab,_0x2301c4,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x87a8ab[_0xcee9dc(0x115)][_0x4b4efe[_0xcee9dc(0x22d)]]=_0x3b38ae;}_0x87a8ab[_0xcee9dc(0x197)](_0x2301c4,_0xe9223e,{'allowSynchronousEvents':_0x5c48d6[_0xcee9dc(0x176)],'generateMask':_0x5c48d6['generateMask'],'maxPayload':_0x5c48d6[_0xcee9dc(0x271)],'skipUTF8Validation':_0x5c48d6[_0xcee9dc(0x285)]});}),_0x5c48d6[_0x10c775(0x25c)]?_0x5c48d6['finishRequest'](_0x97a68a,_0x87a8ab):_0x97a68a['end']();}function _0x3a77de(_0x3fb2b4,_0x994501){const _0x3b3f8a=_0x5d5500;_0x3fb2b4[_0x3b3f8a(0x109)]=_0x13b8a3[_0x3b3f8a(0x22a)],_0x3fb2b4[_0x3b3f8a(0x122)]=!0x0,_0x3fb2b4[_0x3b3f8a(0x2a3)](_0x3b3f8a(0x298),_0x994501),_0x3fb2b4[_0x3b3f8a(0x289)]();}function _0x33acaf(_0x325702){const _0x36b008=_0x5d5500;return _0x325702[_0x36b008(0x10c)]=_0x325702[_0x36b008(0x26e)],_0x16552a['connect'](_0x325702);}function _0xeb30d5(_0xbcf1ae){const _0x5d9326=_0x5d5500;return _0xbcf1ae[_0x5d9326(0x10c)]=void 0x0,!_0xbcf1ae[_0x5d9326(0x263)]&&_0xbcf1ae[_0x5d9326(0x263)]!==''&&(_0xbcf1ae[_0x5d9326(0x263)]=_0x16552a[_0x5d9326(0x1f9)](_0xbcf1ae[_0x5d9326(0x1c1)])?'':_0xbcf1ae[_0x5d9326(0x1c1)]),_0x431ab8[_0x5d9326(0x1fb)](_0xbcf1ae);}function _0x1f449c(_0x4a8eb6,_0x5911d3,_0x48a695){const _0x1f1565=_0x5d5500;_0x4a8eb6[_0x1f1565(0x109)]=_0x13b8a3[_0x1f1565(0x22a)];const _0x26aeda=new Error(_0x48a695);Error[_0x1f1565(0x29e)](_0x26aeda,_0x1f449c),_0x5911d3[_0x1f1565(0x1de)]?(_0x5911d3[_0x1dd5a8]=!0x0,_0x5911d3[_0x1f1565(0x182)](),_0x5911d3[_0x1f1565(0x16a)]&&!_0x5911d3[_0x1f1565(0x16a)][_0x1f1565(0x210)]&&_0x5911d3[_0x1f1565(0x16a)][_0x1f1565(0x239)](),process[_0x1f1565(0x22e)](_0x3a77de,_0x4a8eb6,_0x26aeda)):(_0x5911d3['destroy'](_0x26aeda),_0x5911d3[_0x1f1565(0x1f7)](_0x1f1565(0x298),_0x4a8eb6[_0x1f1565(0x2a3)][_0x1f1565(0x2b2)](_0x4a8eb6,_0x1f1565(0x298))),_0x5911d3[_0x1f1565(0x1f7)](_0x1f1565(0x1ae),_0x4a8eb6[_0x1f1565(0x289)]['bind'](_0x4a8eb6)));}function _0x4b577b(_0x306bca,_0x1b73fd,_0x35c86a){const _0x4c5863=_0x5d5500;if(_0x1b73fd){const _0x180dec=_0x31ddb9(_0x1b73fd)?_0x1b73fd[_0x4c5863(0x19a)]:_0x373869(_0x1b73fd)['length'];_0x306bca[_0x4c5863(0x190)]?_0x306bca['_sender'][_0x4c5863(0x28e)]+=_0x180dec:_0x306bca[_0x4c5863(0x22b)]+=_0x180dec;}if(_0x35c86a){const _0x51ad57=new Error(_0x4c5863(0x221)+_0x306bca[_0x4c5863(0x1ab)]+'\x20('+_0x857887[_0x306bca[_0x4c5863(0x1ab)]]+')');process[_0x4c5863(0x22e)](_0x35c86a,_0x51ad57);}}function _0x3e7c52(_0xe377d2,_0x45bef1){const _0x278051=_0x5d5500,_0x538001=this[_0x3c6290];_0x538001[_0x278051(0x233)]=!0x0,_0x538001[_0x278051(0x11a)]=_0x45bef1,_0x538001[_0x278051(0x119)]=_0xe377d2,_0x538001['_socket'][_0x3c6290]!==void 0x0&&(_0x538001[_0x278051(0x190)][_0x278051(0x1fe)](_0x278051(0x240),_0x5678f5),process[_0x278051(0x22e)](_0x5b97a0,_0x538001[_0x278051(0x190)]),_0xe377d2===0x3ed?_0x538001[_0x278051(0x1ae)]():_0x538001['close'](_0xe377d2,_0x45bef1));}function _0x31b0a8(){const _0x51a6d7=_0x5d5500,_0x449011=this[_0x3c6290];_0x449011['isPaused']||_0x449011[_0x51a6d7(0x190)][_0x51a6d7(0x1e0)]();}function _0x36d93c(_0x7591f2){const _0x358585=_0x5d5500,_0x1a3110=this[_0x3c6290];_0x1a3110[_0x358585(0x190)][_0x3c6290]!==void 0x0&&(_0x1a3110[_0x358585(0x190)][_0x358585(0x1fe)](_0x358585(0x240),_0x5678f5),process[_0x358585(0x22e)](_0x5b97a0,_0x1a3110[_0x358585(0x190)]),_0x1a3110[_0x358585(0x1ae)](_0x7591f2[_0x5cd8ec])),_0x1a3110[_0x358585(0x122)]||(_0x1a3110[_0x358585(0x122)]=!0x0,_0x1a3110[_0x358585(0x2a3)](_0x358585(0x298),_0x7591f2));}function _0x1a6756(){const _0x139127=_0x5d5500;this[_0x3c6290][_0x139127(0x289)]();}function _0x4f99e0(_0x2cd826,_0x3fd9f2){const _0x557149=_0x5d5500;this[_0x3c6290]['emit'](_0x557149(0x101),_0x2cd826,_0x3fd9f2);}function _0x1aa6ac(_0x208136){const _0x24b321=_0x5d5500,_0x9a555=this[_0x3c6290];_0x9a555[_0x24b321(0x247)]&&_0x9a555[_0x24b321(0x2b6)](_0x208136,!this[_0x24b321(0x127)],_0x498478),_0x9a555[_0x24b321(0x2a3)](_0x24b321(0x21d),_0x208136);}function _0x49b50f(_0x27b48f){const _0xb430db=_0x5d5500;this[_0x3c6290][_0xb430db(0x2a3)](_0xb430db(0x2b6),_0x27b48f);}function _0x5b97a0(_0x43b1b9){const _0x6b0ade=_0x5d5500;_0x43b1b9[_0x6b0ade(0x1e0)]();}function _0x12f49d(_0x47c9f8){const _0x46fd49=_0x5d5500,_0x2ecbb1=this[_0x3c6290];_0x2ecbb1[_0x46fd49(0x1ab)]!==_0x13b8a3[_0x46fd49(0x183)]&&(_0x2ecbb1['readyState']===_0x13b8a3['OPEN']&&(_0x2ecbb1['_readyState']=_0x13b8a3[_0x46fd49(0x22a)],_0x165cc6(_0x2ecbb1)),this[_0x46fd49(0x190)]['end'](),_0x2ecbb1[_0x46fd49(0x122)]||(_0x2ecbb1['_errorEmitted']=!0x0,_0x2ecbb1['emit'](_0x46fd49(0x298),_0x47c9f8)));}function _0x165cc6(_0x46c5d4){const _0x292f0b=_0x5d5500;_0x46c5d4[_0x292f0b(0x106)]=setTimeout(_0x46c5d4['_socket'][_0x292f0b(0x239)][_0x292f0b(0x2b2)](_0x46c5d4[_0x292f0b(0x190)]),_0x52dc38);}function _0x315f56(){const _0x5dbf1d=_0x5d5500,_0xd3212b=this[_0x3c6290];this[_0x5dbf1d(0x1fe)]('close',_0x315f56),this['removeListener'](_0x5dbf1d(0x240),_0x5678f5),this[_0x5dbf1d(0x1fe)](_0x5dbf1d(0x19d),_0x28cb4b),_0xd3212b[_0x5dbf1d(0x109)]=_0x13b8a3[_0x5dbf1d(0x22a)];let _0x346049;!this[_0x5dbf1d(0x27a)][_0x5dbf1d(0x169)]&&!_0xd3212b[_0x5dbf1d(0x233)]&&!_0xd3212b['_receiver'][_0x5dbf1d(0x1ff)][_0x5dbf1d(0x286)]&&(_0x346049=_0xd3212b[_0x5dbf1d(0x190)][_0x5dbf1d(0x1cb)]())!==null&&_0xd3212b[_0x5dbf1d(0x278)][_0x5dbf1d(0x230)](_0x346049),_0xd3212b[_0x5dbf1d(0x278)][_0x5dbf1d(0x19d)](),this[_0x3c6290]=void 0x0,clearTimeout(_0xd3212b[_0x5dbf1d(0x106)]),_0xd3212b[_0x5dbf1d(0x278)]['_writableState']['finished']||_0xd3212b[_0x5dbf1d(0x278)]['_writableState'][_0x5dbf1d(0x286)]?_0xd3212b[_0x5dbf1d(0x289)]():(_0xd3212b['_receiver']['on'](_0x5dbf1d(0x298),_0x1a6756),_0xd3212b[_0x5dbf1d(0x278)]['on'](_0x5dbf1d(0x117),_0x1a6756));}function _0x5678f5(_0x1a53f9){const _0x90d733=_0x5d5500;this[_0x3c6290][_0x90d733(0x278)][_0x90d733(0x230)](_0x1a53f9)||this[_0x90d733(0x151)]();}function _0x28cb4b(){const _0x526f1a=_0x5d5500,_0x5ac11d=this[_0x3c6290];_0x5ac11d[_0x526f1a(0x109)]=_0x13b8a3[_0x526f1a(0x22a)],_0x5ac11d[_0x526f1a(0x278)][_0x526f1a(0x19d)](),this[_0x526f1a(0x19d)]();}function _0x593d9c(){const _0x8827a0=_0x5d5500,_0x12a9c8=this[_0x3c6290];this[_0x8827a0(0x1fe)](_0x8827a0(0x298),_0x593d9c),this['on']('error',_0x498478),_0x12a9c8&&(_0x12a9c8[_0x8827a0(0x109)]=_0x13b8a3[_0x8827a0(0x22a)],this[_0x8827a0(0x239)]());}return we;}function _0x58d9(_0x1f62bd,_0x31cbed){const _0x58bd69=_0x58bd();return _0x58d9=function(_0x58d913,_0x5f2d66){_0x58d913=_0x58d913-0xfe;let _0x25f973=_0x58bd69[_0x58d913];return _0x25f973;},_0x58d9(_0x1f62bd,_0x31cbed);}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x4ac116}=oe;function _0x11ec71(_0x1d6831){const _0x4c7dfa=_0x58d9;_0x1d6831[_0x4c7dfa(0x2a3)](_0x4c7dfa(0x1ae));}function _0x1df602(){const _0x44883c=_0x58d9;!this[_0x44883c(0x210)]&&this[_0x44883c(0x1ff)][_0x44883c(0x1d5)]&&this[_0x44883c(0x239)]();}function _0x55b8d2(_0x18b93e){const _0x58e220=_0x58d9;this[_0x58e220(0x1fe)](_0x58e220(0x298),_0x55b8d2),this[_0x58e220(0x239)](),this[_0x58e220(0x223)](_0x58e220(0x298))===0x0&&this['emit'](_0x58e220(0x298),_0x18b93e);}function _0x2da4f0(_0x112ae5,_0x4a3333){const _0x42a8fd=_0x58d9;let _0x5ef4c4=!0x0;const _0x499483=new _0x4ac116({..._0x4a3333,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x112ae5['on']('message',function(_0xa7ac0e,_0x186d11){const _0x2f8719=_0x58d9,_0x1df24c=!_0x186d11&&_0x499483[_0x2f8719(0x27a)]['objectMode']?_0xa7ac0e[_0x2f8719(0x258)]():_0xa7ac0e;_0x499483[_0x2f8719(0x27c)](_0x1df24c)||_0x112ae5[_0x2f8719(0x151)]();}),_0x112ae5['once'](_0x42a8fd(0x298),function(_0x533963){const _0x15904e=_0x42a8fd;_0x499483[_0x15904e(0x210)]||(_0x5ef4c4=!0x1,_0x499483['destroy'](_0x533963));}),_0x112ae5[_0x42a8fd(0x1f7)](_0x42a8fd(0x1ae),function(){const _0x26ee62=_0x42a8fd;_0x499483[_0x26ee62(0x210)]||_0x499483[_0x26ee62(0x27c)](null);}),_0x499483[_0x42a8fd(0x2bb)]=function(_0x53f234,_0x3bcebc){const _0x4922ef=_0x42a8fd;if(_0x112ae5[_0x4922ef(0x1ab)]===_0x112ae5[_0x4922ef(0x183)]){_0x3bcebc(_0x53f234),process[_0x4922ef(0x22e)](_0x11ec71,_0x499483);return;}let _0x25e973=!0x1;_0x112ae5[_0x4922ef(0x1f7)](_0x4922ef(0x298),function(_0xa5e8d){_0x25e973=!0x0,_0x3bcebc(_0xa5e8d);}),_0x112ae5[_0x4922ef(0x1f7)](_0x4922ef(0x1ae),function(){const _0x2fd0f2=_0x4922ef;_0x25e973||_0x3bcebc(_0x53f234),process[_0x2fd0f2(0x22e)](_0x11ec71,_0x499483);}),_0x5ef4c4&&_0x112ae5[_0x4922ef(0x2aa)]();},_0x499483['_final']=function(_0x3739e0){const _0x5aa17c=_0x42a8fd;if(_0x112ae5[_0x5aa17c(0x1ab)]===_0x112ae5[_0x5aa17c(0x20f)]){_0x112ae5[_0x5aa17c(0x1f7)]('open',function(){_0x499483['_final'](_0x3739e0);});return;}_0x112ae5['_socket']!==null&&(_0x112ae5[_0x5aa17c(0x190)][_0x5aa17c(0x1ff)][_0x5aa17c(0x1d5)]?(_0x3739e0(),_0x499483[_0x5aa17c(0x27a)]['endEmitted']&&_0x499483[_0x5aa17c(0x239)]()):(_0x112ae5[_0x5aa17c(0x190)][_0x5aa17c(0x1f7)](_0x5aa17c(0x117),function(){_0x3739e0();}),_0x112ae5[_0x5aa17c(0x1ae)]()));},_0x499483['_read']=function(){const _0x36da09=_0x42a8fd;_0x112ae5[_0x36da09(0x149)]&&_0x112ae5['resume']();},_0x499483[_0x42a8fd(0x148)]=function(_0x1a3075,_0x136584,_0x4ee9ae){const _0x1964c7=_0x42a8fd;if(_0x112ae5[_0x1964c7(0x1ab)]===_0x112ae5['CONNECTING']){_0x112ae5[_0x1964c7(0x1f7)](_0x1964c7(0x23e),function(){const _0x42b44d=_0x1964c7;_0x499483[_0x42b44d(0x148)](_0x1a3075,_0x136584,_0x4ee9ae);});return;}_0x112ae5[_0x1964c7(0x277)](_0x1a3075,_0x4ee9ae);},_0x499483['on'](_0x42a8fd(0x19d),_0x1df602),_0x499483['on'](_0x42a8fd(0x298),_0x55b8d2),_0x499483;}return Oe=_0x2da4f0,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x1f9772}=ae();function _0x160ce2(_0x5e1b58){const _0xef3577=_0x58d9,_0x952503=new Set();let _0x2e0e37=-0x1,_0x5d8846=-0x1,_0x36efcf=0x0;for(_0x36efcf;_0x36efcf<_0x5e1b58[_0xef3577(0x1a1)];_0x36efcf++){const _0x435a93=_0x5e1b58[_0xef3577(0x24e)](_0x36efcf);if(_0x5d8846===-0x1&&_0x1f9772[_0x435a93]===0x1)_0x2e0e37===-0x1&&(_0x2e0e37=_0x36efcf);else{if(_0x36efcf!==0x0&&(_0x435a93===0x20||_0x435a93===0x9))_0x5d8846===-0x1&&_0x2e0e37!==-0x1&&(_0x5d8846=_0x36efcf);else{if(_0x435a93===0x2c){if(_0x2e0e37===-0x1)throw new SyntaxError(_0xef3577(0x1b9)+_0x36efcf);_0x5d8846===-0x1&&(_0x5d8846=_0x36efcf);const _0x239831=_0x5e1b58[_0xef3577(0x2a2)](_0x2e0e37,_0x5d8846);if(_0x952503['has'](_0x239831))throw new SyntaxError(_0xef3577(0x21a)+_0x239831+'\x22\x20subprotocol\x20is\x20duplicated');_0x952503[_0xef3577(0x1e9)](_0x239831),_0x2e0e37=_0x5d8846=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x36efcf);}}}if(_0x2e0e37===-0x1||_0x5d8846!==-0x1)throw new SyntaxError(_0xef3577(0x135));const _0x18f07f=_0x5e1b58[_0xef3577(0x2a2)](_0x2e0e37,_0x36efcf);if(_0x952503[_0xef3577(0x1f2)](_0x18f07f))throw new SyntaxError('The\x20\x22'+_0x18f07f+'\x22\x20subprotocol\x20is\x20duplicated');return _0x952503[_0xef3577(0x1e9)](_0x18f07f),_0x952503;}return Ce={'parse':_0x160ce2},Ce;}var Te,rt;function Ft(){const _0x144ef7=_0x22272f;if(rt)return Te;rt=0x1;const _0x5caeef=nt,_0x42801a=ot,{Duplex:_0xcf4219}=oe,{createHash:_0x57d394}=Le,_0x2ac483=ct(),_0x4df5a6=he(),_0x5433e4=At(),_0x605a3c=Pe(),{GUID:_0x2a2b29,kWebSocket:_0x2fa166}=H(),_0x3f487c=/^[+/0-9A-Za-z]{22}==$/,_0x419e19=0x0,_0x5017d2=0x1,_0x24abce=0x2;class _0xcde872 extends _0x5caeef{constructor(_0x76fdc7,_0x37e98c){const _0x2b4245=_0x58d9;if(super(),_0x76fdc7={'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':_0x605a3c,..._0x76fdc7},_0x76fdc7['port']==null&&!_0x76fdc7['server']&&!_0x76fdc7[_0x2b4245(0x1c4)]||_0x76fdc7['port']!=null&&(_0x76fdc7[_0x2b4245(0x199)]||_0x76fdc7[_0x2b4245(0x1c4)])||_0x76fdc7[_0x2b4245(0x199)]&&_0x76fdc7['noServer'])throw new TypeError(_0x2b4245(0x141));if(_0x76fdc7[_0x2b4245(0x20b)]!=null?(this[_0x2b4245(0x1a2)]=_0x42801a[_0x2b4245(0x14e)]((_0x192a63,_0x3e34b2)=>{const _0x12ec50=_0x2b4245,_0x526892=_0x42801a[_0x12ec50(0x16d)][0x1aa];_0x3e34b2['writeHead'](0x1aa,{'Content-Length':_0x526892[_0x12ec50(0x1a1)],'Content-Type':_0x12ec50(0x156)}),_0x3e34b2['end'](_0x526892);}),this[_0x2b4245(0x1a2)][_0x2b4245(0x17d)](_0x76fdc7[_0x2b4245(0x20b)],_0x76fdc7[_0x2b4245(0x1c1)],_0x76fdc7[_0x2b4245(0x146)],_0x37e98c)):_0x76fdc7['server']&&(this[_0x2b4245(0x1a2)]=_0x76fdc7[_0x2b4245(0x199)]),this[_0x2b4245(0x1a2)]){const _0x23e761=this[_0x2b4245(0x2a3)][_0x2b4245(0x2b2)](this,_0x2b4245(0x19b));this[_0x2b4245(0x178)]=_0x5a04f0(this['_server'],{'listening':this[_0x2b4245(0x2a3)]['bind'](this,'listening'),'error':this['emit'][_0x2b4245(0x2b2)](this,_0x2b4245(0x298)),'upgrade':(_0x42519f,_0x26279c,_0x23d035)=>{this['handleUpgrade'](_0x42519f,_0x26279c,_0x23d035,_0x23e761);}});}_0x76fdc7[_0x2b4245(0x204)]===!0x0&&(_0x76fdc7['perMessageDeflate']={}),_0x76fdc7[_0x2b4245(0x1ba)]&&(this['clients']=new Set(),this[_0x2b4245(0x138)]=!0x1),this[_0x2b4245(0x2ba)]=_0x76fdc7,this[_0x2b4245(0x17f)]=_0x419e19;}[_0x144ef7(0x21e)](){const _0x57a729=_0x144ef7;if(this['options'][_0x57a729(0x1c4)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x57a729(0x1a2)]?this['_server']['address']():null;}['close'](_0x2cec1a){const _0x6fb802=_0x144ef7;if(this['_state']===_0x24abce){_0x2cec1a&&this[_0x6fb802(0x1f7)](_0x6fb802(0x1ae),()=>{const _0x4e1603=_0x6fb802;_0x2cec1a(new Error(_0x4e1603(0x288)));}),process[_0x6fb802(0x22e)](_0x2b1f9f,this);return;}if(_0x2cec1a&&this['once']('close',_0x2cec1a),this[_0x6fb802(0x17f)]!==_0x5017d2){if(this[_0x6fb802(0x17f)]=_0x5017d2,this[_0x6fb802(0x2ba)]['noServer']||this['options']['server'])this['_server']&&(this[_0x6fb802(0x178)](),this[_0x6fb802(0x178)]=this[_0x6fb802(0x1a2)]=null),this[_0x6fb802(0x1ce)]?this[_0x6fb802(0x1ce)][_0x6fb802(0x19a)]?this[_0x6fb802(0x138)]=!0x0:process[_0x6fb802(0x22e)](_0x2b1f9f,this):process[_0x6fb802(0x22e)](_0x2b1f9f,this);else{const _0x260fcd=this['_server'];this[_0x6fb802(0x178)](),this['_removeListeners']=this[_0x6fb802(0x1a2)]=null,_0x260fcd[_0x6fb802(0x1ae)](()=>{_0x2b1f9f(this);});}}}['shouldHandle'](_0x530468){const _0x2f86cb=_0x144ef7;if(this['options'][_0x2f86cb(0x10c)]){const _0x3864c7=_0x530468['url'][_0x2f86cb(0x297)]('?');if((_0x3864c7!==-0x1?_0x530468[_0x2f86cb(0x28f)][_0x2f86cb(0x2a2)](0x0,_0x3864c7):_0x530468['url'])!==this[_0x2f86cb(0x2ba)][_0x2f86cb(0x10c)])return!0x1;}return!0x0;}[_0x144ef7(0x18e)](_0x5a9f53,_0x1a4c3c,_0xcf70ed,_0x555d5){const _0x20fbcf=_0x144ef7;_0x1a4c3c['on']('error',_0x10e1d9);const _0x5eb8b5=_0x5a9f53[_0x20fbcf(0x125)][_0x20fbcf(0x1b2)],_0x57bd5c=_0x5a9f53[_0x20fbcf(0x125)][_0x20fbcf(0x155)],_0x16c474=+_0x5a9f53['headers'][_0x20fbcf(0x1e7)];if(_0x5a9f53[_0x20fbcf(0x173)]!=='GET'){_0x48ea0c(this,_0x5a9f53,_0x1a4c3c,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x57bd5c===void 0x0||_0x57bd5c[_0x20fbcf(0x1b0)]()!==_0x20fbcf(0x22f)){_0x48ea0c(this,_0x5a9f53,_0x1a4c3c,0x190,_0x20fbcf(0x2c3));return;}if(_0x5eb8b5===void 0x0||!_0x3f487c['test'](_0x5eb8b5)){_0x48ea0c(this,_0x5a9f53,_0x1a4c3c,0x190,_0x20fbcf(0x225));return;}if(_0x16c474!==0x8&&_0x16c474!==0xd){_0x48ea0c(this,_0x5a9f53,_0x1a4c3c,0x190,_0x20fbcf(0x244));return;}if(!this[_0x20fbcf(0x242)](_0x5a9f53)){_0x4e6503(_0x1a4c3c,0x190);return;}const _0x1d1e17=_0x5a9f53[_0x20fbcf(0x125)]['sec-websocket-protocol'];let _0x37cdc5=new Set();if(_0x1d1e17!==void 0x0)try{_0x37cdc5=_0x5433e4[_0x20fbcf(0x1a9)](_0x1d1e17);}catch{_0x48ea0c(this,_0x5a9f53,_0x1a4c3c,0x190,_0x20fbcf(0x235));return;}const _0x268dab=_0x5a9f53[_0x20fbcf(0x125)][_0x20fbcf(0x236)],_0x27b7cc={};if(this[_0x20fbcf(0x2ba)][_0x20fbcf(0x204)]&&_0x268dab!==void 0x0){const _0x48d88b=new _0x4df5a6(this[_0x20fbcf(0x2ba)]['perMessageDeflate'],!0x0,this['options']['maxPayload']);try{const _0x2a3b64=_0x2ac483[_0x20fbcf(0x1a9)](_0x268dab);_0x2a3b64[_0x4df5a6[_0x20fbcf(0x22d)]]&&(_0x48d88b[_0x20fbcf(0x23d)](_0x2a3b64[_0x4df5a6[_0x20fbcf(0x22d)]]),_0x27b7cc[_0x4df5a6[_0x20fbcf(0x22d)]]=_0x48d88b);}catch{_0x48ea0c(this,_0x5a9f53,_0x1a4c3c,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x20fbcf(0x2ba)]['verifyClient']){const _0x2ba008={'origin':_0x5a9f53[_0x20fbcf(0x125)][''+(_0x16c474===0x8?_0x20fbcf(0x12f):'origin')],'secure':!!(_0x5a9f53['socket']['authorized']||_0x5a9f53[_0x20fbcf(0x16a)]['encrypted']),'req':_0x5a9f53};if(this[_0x20fbcf(0x2ba)][_0x20fbcf(0x219)][_0x20fbcf(0x1a1)]===0x2){this[_0x20fbcf(0x2ba)][_0x20fbcf(0x219)](_0x2ba008,(_0x43efd3,_0x5858fc,_0x2e1fda,_0x216545)=>{const _0x67ecbf=_0x20fbcf;if(!_0x43efd3)return _0x4e6503(_0x1a4c3c,_0x5858fc||0x191,_0x2e1fda,_0x216545);this[_0x67ecbf(0x201)](_0x27b7cc,_0x5eb8b5,_0x37cdc5,_0x5a9f53,_0x1a4c3c,_0xcf70ed,_0x555d5);});return;}if(!this[_0x20fbcf(0x2ba)][_0x20fbcf(0x219)](_0x2ba008))return _0x4e6503(_0x1a4c3c,0x191);}this['completeUpgrade'](_0x27b7cc,_0x5eb8b5,_0x37cdc5,_0x5a9f53,_0x1a4c3c,_0xcf70ed,_0x555d5);}['completeUpgrade'](_0x5110b7,_0x4982d6,_0x51576e,_0x135a97,_0xea3939,_0x1a4122,_0x5958e9){const _0xf519c9=_0x144ef7;if(!_0xea3939[_0xf519c9(0x25d)]||!_0xea3939[_0xf519c9(0x110)])return _0xea3939[_0xf519c9(0x239)]();if(_0xea3939[_0x2fa166])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0xf519c9(0x17f)]>_0x419e19)return _0x4e6503(_0xea3939,0x1f7);const _0xe9175b=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0xf519c9(0x287),_0xf519c9(0x11e),_0xf519c9(0x1f6)+_0x57d394(_0xf519c9(0x2b0))[_0xf519c9(0x1ec)](_0x4982d6+_0x2a2b29)[_0xf519c9(0x220)](_0xf519c9(0x1e4))],_0x30552b=new this[(_0xf519c9(0x2ba))][(_0xf519c9(0x2a7))](null,void 0x0,this[_0xf519c9(0x2ba)]);if(_0x51576e[_0xf519c9(0x19a)]){const _0x2aab5b=this[_0xf519c9(0x2ba)][_0xf519c9(0x196)]?this['options']['handleProtocols'](_0x51576e,_0x135a97):_0x51576e['values']()[_0xf519c9(0x1b3)]()[_0xf519c9(0x10a)];_0x2aab5b&&(_0xe9175b[_0xf519c9(0x27c)](_0xf519c9(0x1e6)+_0x2aab5b),_0x30552b[_0xf519c9(0x2bd)]=_0x2aab5b);}if(_0x5110b7[_0x4df5a6['extensionName']]){const _0x29b96c=_0x5110b7[_0x4df5a6[_0xf519c9(0x22d)]][_0xf519c9(0x159)],_0x3178f2=_0x2ac483[_0xf519c9(0x16b)]({[_0x4df5a6[_0xf519c9(0x22d)]]:[_0x29b96c]});_0xe9175b[_0xf519c9(0x27c)](_0xf519c9(0x246)+_0x3178f2),_0x30552b[_0xf519c9(0x115)]=_0x5110b7;}this[_0xf519c9(0x2a3)]('headers',_0xe9175b,_0x135a97),_0xea3939['write'](_0xe9175b[_0xf519c9(0x234)]('\x0d\x0a')['join']('\x0d\x0a')),_0xea3939[_0xf519c9(0x1fe)]('error',_0x10e1d9),_0x30552b['setSocket'](_0xea3939,_0x1a4122,{'allowSynchronousEvents':this['options'][_0xf519c9(0x176)],'maxPayload':this[_0xf519c9(0x2ba)]['maxPayload'],'skipUTF8Validation':this['options'][_0xf519c9(0x285)]}),this[_0xf519c9(0x1ce)]&&(this[_0xf519c9(0x1ce)][_0xf519c9(0x1e9)](_0x30552b),_0x30552b['on'](_0xf519c9(0x1ae),()=>{const _0x36657e=_0xf519c9;this['clients'][_0x36657e(0x1d7)](_0x30552b),this['_shouldEmitClose']&&!this[_0x36657e(0x1ce)][_0x36657e(0x19a)]&&process[_0x36657e(0x22e)](_0x2b1f9f,this);})),_0x5958e9(_0x30552b,_0x135a97);}}Te=_0xcde872;function _0x5a04f0(_0x189233,_0x45a05e){const _0x1f78a2=_0x144ef7;for(const _0x3de55f of Object[_0x1f78a2(0x1ef)](_0x45a05e))_0x189233['on'](_0x3de55f,_0x45a05e[_0x3de55f]);return function(){const _0x17d6ed=_0x1f78a2;for(const _0x201914 of Object[_0x17d6ed(0x1ef)](_0x45a05e))_0x189233[_0x17d6ed(0x1fe)](_0x201914,_0x45a05e[_0x201914]);};}function _0x2b1f9f(_0x46e856){const _0x45ed17=_0x144ef7;_0x46e856[_0x45ed17(0x17f)]=_0x24abce,_0x46e856[_0x45ed17(0x2a3)](_0x45ed17(0x1ae));}function _0x10e1d9(){const _0x2b0987=_0x144ef7;this[_0x2b0987(0x239)]();}function _0x4e6503(_0x28c182,_0x411fc8,_0x5d275e,_0x37683a){const _0x369340=_0x144ef7;_0x5d275e=_0x5d275e||_0x42801a[_0x369340(0x16d)][_0x411fc8],_0x37683a={'Connection':'close','Content-Type':_0x369340(0x2a8),'Content-Length':Buffer[_0x369340(0x191)](_0x5d275e),..._0x37683a},_0x28c182[_0x369340(0x1f7)](_0x369340(0x117),_0x28c182[_0x369340(0x239)]),_0x28c182[_0x369340(0x19d)](_0x369340(0x23a)+_0x411fc8+'\x20'+_0x42801a[_0x369340(0x16d)][_0x411fc8]+'\x0d\x0a'+Object[_0x369340(0x1ef)](_0x37683a)[_0x369340(0x216)](_0xa1514a=>_0xa1514a+':\x20'+_0x37683a[_0xa1514a])[_0x369340(0x14b)]('\x0d\x0a')+_0x369340(0x2c1)+_0x5d275e);}function _0x48ea0c(_0x7d0043,_0x3eeb49,_0x2dfb03,_0x3b277d,_0x2637e7){const _0x23b9f8=_0x144ef7;if(_0x7d0043['listenerCount']('wsClientError')){const _0x2db88b=new Error(_0x2637e7);Error[_0x23b9f8(0x29e)](_0x2db88b,_0x48ea0c),_0x7d0043[_0x23b9f8(0x2a3)](_0x23b9f8(0x1e5),_0x2db88b,_0x2dfb03,_0x3eeb49);}else _0x4e6503(_0x2dfb03,_0x3b277d,_0x2637e7);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x3af752,_0x5628c8,_0x11e57f,_0x369def)=>{for(var _0x46a659=_0x369def>0x1?void 0x0:_0x369def?jt(_0x5628c8,_0x11e57f):_0x5628c8,_0x4c44a7=_0x3af752['length']-0x1,_0x3a25df;_0x4c44a7>=0x0;_0x4c44a7--)(_0x3a25df=_0x3af752[_0x4c44a7])&&(_0x46a659=_0x3a25df(_0x46a659)||_0x46a659);return _0x46a659;},qt=(_0x2894d4,_0x12dfcb)=>(_0x13d92b,_0x258317)=>_0x12dfcb(_0x13d92b,_0x258317,_0x2894d4);let ke=class extends A['Disposable']{constructor(_0x39d610){super(),this['_configService']=_0x39d610;}[_0x22272f(0x124)](_0x256629){const _0xe6fe06=_0x22272f;var _0x170ada;const _0x3199d2=(_0x170ada=this[_0xe6fe06(0x2bc)][_0xe6fe06(0x294)](fe))==null?void 0x0:_0x170ada[_0xe6fe06(0x290)];try{const _0x29dbf7=new $t(_0x256629,{'headers':{..._0x3199d2}}),_0x355619=new A['DisposableCollection']();return{'URL':_0x256629,'close':(_0x25f41d,_0x3d385c)=>{const _0x5ab88c=_0xe6fe06;_0x29dbf7[_0x5ab88c(0x1ae)](_0x25f41d,_0x3d385c),_0x355619[_0x5ab88c(0x2b1)]();},'send':_0x35b3cc=>{_0x29dbf7['send'](_0x35b3cc);},'open$':new V['Observable'](_0x31edd9=>{const _0x3cad67=_0xe6fe06,_0x4321e2=_0x5703db=>_0x31edd9['next'](_0x5703db);_0x29dbf7[_0x3cad67(0x180)](_0x3cad67(0x23e),_0x4321e2),_0x355619[_0x3cad67(0x1e9)](A[_0x3cad67(0x185)](()=>_0x29dbf7[_0x3cad67(0x147)]('open',_0x4321e2)));})[_0xe6fe06(0x1ac)](V[_0xe6fe06(0x1c5)]()),'close$':new V['Observable'](_0x297f06=>{const _0xba923c=_0xe6fe06,_0x40955e=_0x5cfadc=>_0x297f06[_0xba923c(0x1b3)](_0x5cfadc);_0x29dbf7[_0xba923c(0x180)](_0xba923c(0x1ae),_0x40955e),_0x355619['add'](A['toDisposable'](()=>_0x29dbf7['removeEventListener'](_0xba923c(0x1ae),_0x40955e)));})[_0xe6fe06(0x1ac)](V[_0xe6fe06(0x1c5)]()),'error$':new V[(_0xe6fe06(0x29f))](_0x3df90a=>{const _0x252960=_0xe6fe06,_0x30f038=_0x36c5bf=>_0x3df90a['next'](_0x36c5bf);_0x29dbf7['addEventListener']('error',_0x30f038),_0x355619['add'](A[_0x252960(0x185)](()=>_0x29dbf7['removeEventListener'](_0x252960(0x298),_0x30f038)));})[_0xe6fe06(0x1ac)](V[_0xe6fe06(0x1c5)]()),'message$':new V['Observable'](_0x4f2c9e=>{const _0x2d469f=_0xe6fe06,_0x432ed9=_0x33636d=>_0x4f2c9e[_0x2d469f(0x1b3)](_0x33636d);_0x29dbf7[_0x2d469f(0x180)](_0x2d469f(0x101),_0x432ed9),_0x355619[_0x2d469f(0x1e9)](A['toDisposable'](()=>_0x29dbf7['removeEventListener'](_0x2d469f(0x101),_0x432ed9)));})[_0xe6fe06(0x1ac)](V[_0xe6fe06(0x1c5)]())};}catch(_0x29c78c){return console[_0xe6fe06(0x298)](_0x29c78c),null;}}};ke=Wt([qt(0x0,A[_0x22272f(0x15a)])],ke);var Gt=Object[_0x22272f(0x2a1)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x17b676,_0x267110,_0x5b9e32)=>_0x267110 in _0x17b676?Gt(_0x17b676,_0x267110,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b9e32}):_0x17b676[_0x267110]=_0x5b9e32,zt=(_0x397ab6,_0x300c94,_0x4bc29b,_0x5edfc3)=>{const _0x181bbf=_0x22272f;for(var _0x19d4ee=_0x5edfc3>0x1?void 0x0:_0x5edfc3?Vt(_0x300c94,_0x4bc29b):_0x300c94,_0x2cdcdc=_0x397ab6[_0x181bbf(0x1a1)]-0x1,_0x5eb5f0;_0x2cdcdc>=0x0;_0x2cdcdc--)(_0x5eb5f0=_0x397ab6[_0x2cdcdc])&&(_0x19d4ee=_0x5eb5f0(_0x19d4ee)||_0x19d4ee);return _0x19d4ee;},Ne=(_0x20ff44,_0x463557)=>(_0xf6ca61,_0x44876d)=>_0x463557(_0xf6ca61,_0x44876d,_0x20ff44),Yt=(_0x296bba,_0x4b8f8b,_0x32a930)=>Ht(_0x296bba,_0x4b8f8b+'',_0x32a930);exports['UniverCollaborationClientNodePlugin']=class extends A['Plugin']{constructor(_0x3017cc=Ct,_0x19312f,_0x115e25,_0x5c6a55){const _0x49b946=_0x22272f;_0x3017cc[_0x49b946(0x290)]||_0x19312f[_0x49b946(0x1a3)](_0x49b946(0x1c7)),super(),this[_0x49b946(0x2bc)]=_0x115e25,this[_0x49b946(0x16e)]=_0x5c6a55,this['_configService'][_0x49b946(0x281)](fe,_0x3017cc);}[_0x22272f(0x150)](){const _0x56b320=_0x22272f;this[_0x56b320(0x1ca)]();}['_registerDependencies'](){const _0x2e0fa8=_0x22272f;A[_0x2e0fa8(0x1c3)](this[_0x2e0fa8(0x16e)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x22272f(0x1a4),_0x22272f(0x123)),exports[_0x22272f(0x279)]=zt([A['DependentOn'](st[_0x22272f(0x1b8)]),Ne(0x1,A[_0x22272f(0x270)]),Ne(0x2,A[_0x22272f(0x15a)]),Ne(0x3,A[_0x22272f(0x10e)](A['Injector']))],exports[_0x22272f(0x279)]);var Kt=Object[_0x22272f(0x1aa)],Xt=(_0x116ec0,_0x410a7c,_0x2e4eb7,_0x4bb5ec)=>{const _0x5c2e23=_0x22272f;for(var _0x181727=_0x4bb5ec>0x1?void 0x0:_0x4bb5ec?Kt(_0x410a7c,_0x2e4eb7):_0x410a7c,_0x5637ca=_0x116ec0[_0x5c2e23(0x1a1)]-0x1,_0x44f0d5;_0x5637ca>=0x0;_0x5637ca--)(_0x44f0d5=_0x116ec0[_0x5637ca])&&(_0x181727=_0x44f0d5(_0x181727)||_0x181727);return _0x181727;},ne=(_0x5ec6b0,_0xea8610)=>(_0x11ac3a,_0x4731f9)=>_0xea8610(_0x11ac3a,_0x4731f9,_0x5ec6b0);exports[_0x22272f(0x231)]=class extends st['CollaborationSocketService']{constructor(_0x574d1a,_0x2b2b20,_0x47d422,_0x17da81,_0x430d4b){const _0x4561a9=_0x22272f;super(_0x574d1a,_0x2b2b20,_0x47d422,_0x17da81,_0x430d4b);const _0x2c9fa9=this[_0x4561a9(0x2bc)]['getConfig'](fe);this[_0x4561a9(0x212)][_0x4561a9(0x139)]({'interceptor':(_0x52e73a,_0x55d328)=>{const _0x343385=_0x4561a9;var _0x4697e6;const _0x2cb601=_0x52e73a['headers'];return(_0x4697e6=_0x2c9fa9==null?void 0x0:_0x2c9fa9[_0x343385(0x290)])!=null&&_0x4697e6[_0x343385(0x10f)]&&_0x2cb601[_0x343385(0x232)](_0x343385(0x1dd),_0x2c9fa9['customHeaders'][_0x343385(0x10f)]),_0x55d328(_0x52e73a);}});}async[_0x22272f(0x124)](_0x18edc8){const _0x2d7e74=_0x22272f;return this[_0x2d7e74(0x112)](_0x18edc8);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x22272f(0x10e)](A[_0x22272f(0x114)])),ne(0x1,A[_0x22272f(0x10e)](it['HTTPService'])),ne(0x2,A[_0x22272f(0x15a)]),ne(0x3,A[_0x22272f(0x270)]),ne(0x4,Ot['ISnapshotServerService'])],exports['NodeCollaborationSocketService']),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;