@univerjs-pro/collaboration-client-node 0.9.1-nightly.202507101607 → 0.9.2-nightly.202507111607

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/index.js CHANGED
@@ -1 +1 @@
1
- const _0x1b9afc=_0x5965;(function(_0x7e692d,_0x1bdaac){const _0x276f91=_0x5965,_0x50009c=_0x7e692d();while(!![]){try{const _0x2c23db=-parseInt(_0x276f91(0x131))/0x1+parseInt(_0x276f91(0x19f))/0x2+parseInt(_0x276f91(0x121))/0x3+parseInt(_0x276f91(0xeb))/0x4*(-parseInt(_0x276f91(0xf8))/0x5)+-parseInt(_0x276f91(0x1a1))/0x6+parseInt(_0x276f91(0xe5))/0x7+-parseInt(_0x276f91(0x13d))/0x8*(-parseInt(_0x276f91(0x180))/0x9);if(_0x2c23db===_0x1bdaac)break;else _0x50009c['push'](_0x50009c['shift']());}catch(_0x11c3ac){_0x50009c['push'](_0x50009c['shift']());}}}(_0x4b78,0xba399));import{UniverCollaborationClientPlugin as _0x5b23c0,CollaborationSocketService as _0x588327}from'@univerjs-pro/collaboration-client';import{Disposable as _0x2bb6e2,DisposableCollection as _0x334e7e,toDisposable as _0x5f1f34,IConfigService as _0x30de9c,DependentOn as _0x9b58d2,ILogService as _0x3c7fc4,Inject as _0x5b4b2d,Injector as _0x890e54,Plugin as _0x593395,registerDependencies as _0x261ac4}from'@univerjs/core';import{ISocketService as _0x245106,HTTPService as _0x4b6e03}from'@univerjs/network';import{Observable as _0xd47e38,share as _0x454795}from'rxjs';import _0x1e7093 from'events';import _0x41926f from'https';import _0x41c2aa from'http';import _0x4fabe2 from'net';import _0x369c01 from'tls';import _0x1337dd from'crypto';import _0x751d88 from'stream';import _0x725d3b from'url';import _0x13053a from'zlib';import _0x404368 from'buffer';import{ISnapshotServerService as _0x301f15}from'@univerjs-pro/collaboration';const Be=_0x1b9afc(0x1f1),Ft={'customHeaders':{}};function jt(_0x391530){const _0x202cfc=_0x1b9afc;return _0x391530&&_0x391530['__esModule']&&Object[_0x202cfc(0x1e6)][_0x202cfc(0x13f)][_0x202cfc(0x15d)](_0x391530,_0x202cfc(0x1db))?_0x391530[_0x202cfc(0x1db)]:_0x391530;}function ut(_0x5afc51){const _0x19cd84=_0x1b9afc;if(Object['prototype'][_0x19cd84(0x13f)][_0x19cd84(0x15d)](_0x5afc51,_0x19cd84(0x1eb)))return _0x5afc51;var _0x79d994=_0x5afc51[_0x19cd84(0x1db)];if(typeof _0x79d994=='function'){var _0x19d3eb=function _0x18ca1c(){const _0x5f2d92=_0x19cd84;return this instanceof _0x18ca1c?Reflect[_0x5f2d92(0xc0)](_0x79d994,arguments,this[_0x5f2d92(0x254)]):_0x79d994[_0x5f2d92(0xcd)](this,arguments);};_0x19d3eb[_0x19cd84(0x1e6)]=_0x79d994[_0x19cd84(0x1e6)];}else _0x19d3eb={};return Object['defineProperty'](_0x19d3eb,_0x19cd84(0x1eb),{'value':!0x0}),Object[_0x19cd84(0x18a)](_0x5afc51)['forEach'](function(_0x45b307){const _0x679ee3=_0x19cd84;var _0x54c5d7=Object[_0x679ee3(0x235)](_0x5afc51,_0x45b307);Object[_0x679ee3(0x161)](_0x19d3eb,_0x45b307,_0x54c5d7[_0x679ee3(0x15e)]?_0x54c5d7:{'enumerable':!0x0,'get':function(){return _0x5afc51[_0x45b307];}});}),_0x19d3eb;}var te={'exports':{}},ge,Ye;function V(){const _0x47e958=_0x1b9afc;if(Ye)return ge;Ye=0x1;const _0xc5021e=[_0x47e958(0x1a4),_0x47e958(0xfc),_0x47e958(0xef)],_0x7303e4=typeof Blob<'u';return _0x7303e4&&_0xc5021e[_0x47e958(0x23f)]('blob'),ge={'BINARY_TYPES':_0xc5021e,'EMPTY_BUFFER':Buffer[_0x47e958(0x1df)](0x0),'GUID':_0x47e958(0x115),'hasBlob':_0x7303e4,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x47e958(0x149)),'kWebSocket':Symbol(_0x47e958(0x16a)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object['freeze'](Object[_0x1b9afc(0x161)]({'__proto__':null,'default':Wt},Symbol[_0x1b9afc(0x253)],{'value':_0x1b9afc(0x1b8)})),Vt=ut(Gt);var Ke;function ce(){const _0x529410=_0x1b9afc;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x2faeb3}=V(),_0xb256ff=Buffer[Symbol[_0x529410(0x22e)]];function _0x120ea8(_0x584b62,_0x163834){const _0x37b462=_0x529410;if(_0x584b62[_0x37b462(0xdf)]===0x0)return _0x2faeb3;if(_0x584b62[_0x37b462(0xdf)]===0x1)return _0x584b62[0x0];const _0x45b1aa=Buffer[_0x37b462(0x152)](_0x163834);let _0x3e27c1=0x0;for(let _0x166939=0x0;_0x166939<_0x584b62['length'];_0x166939++){const _0x2731f8=_0x584b62[_0x166939];_0x45b1aa[_0x37b462(0x1f0)](_0x2731f8,_0x3e27c1),_0x3e27c1+=_0x2731f8[_0x37b462(0xdf)];}return _0x3e27c1<_0x163834?new _0xb256ff(_0x45b1aa[_0x37b462(0x124)],_0x45b1aa[_0x37b462(0x122)],_0x3e27c1):_0x45b1aa;}function _0x1fd1dc(_0xa60668,_0x5372cc,_0x3f9e19,_0x1a6f16,_0x131d56){for(let _0x2c924c=0x0;_0x2c924c<_0x131d56;_0x2c924c++)_0x3f9e19[_0x1a6f16+_0x2c924c]=_0xa60668[_0x2c924c]^_0x5372cc[_0x2c924c&0x3];}function _0x309bd9(_0x49687e,_0x1e2879){for(let _0x1b48fa=0x0;_0x1b48fa<_0x49687e['length'];_0x1b48fa++)_0x49687e[_0x1b48fa]^=_0x1e2879[_0x1b48fa&0x3];}function _0x22376a(_0x1bc08e){const _0x3ade34=_0x529410;return _0x1bc08e[_0x3ade34(0xdf)]===_0x1bc08e[_0x3ade34(0x124)][_0x3ade34(0x228)]?_0x1bc08e['buffer']:_0x1bc08e[_0x3ade34(0x124)][_0x3ade34(0x249)](_0x1bc08e[_0x3ade34(0x122)],_0x1bc08e[_0x3ade34(0x122)]+_0x1bc08e[_0x3ade34(0xdf)]);}function _0x17f583(_0x4196f0){const _0x58059a=_0x529410;if(_0x17f583['readOnly']=!0x0,Buffer[_0x58059a(0x133)](_0x4196f0))return _0x4196f0;let _0xbda784;return _0x4196f0 instanceof ArrayBuffer?_0xbda784=new _0xb256ff(_0x4196f0):ArrayBuffer[_0x58059a(0x148)](_0x4196f0)?_0xbda784=new _0xb256ff(_0x4196f0[_0x58059a(0x124)],_0x4196f0[_0x58059a(0x122)],_0x4196f0[_0x58059a(0x228)]):(_0xbda784=Buffer[_0x58059a(0x1cc)](_0x4196f0),_0x17f583[_0x58059a(0x12a)]=!0x1),_0xbda784;}if(te[_0x529410(0x1ba)]={'concat':_0x120ea8,'mask':_0x1fd1dc,'toArrayBuffer':_0x22376a,'toBuffer':_0x17f583,'unmask':_0x309bd9},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x45aa92=Vt;te[_0x529410(0x1ba)]['mask']=function(_0x16d8c1,_0x59557d,_0x175c3f,_0x3531f2,_0x38435c){const _0x17fa66=_0x529410;_0x38435c<0x30?_0x1fd1dc(_0x16d8c1,_0x59557d,_0x175c3f,_0x3531f2,_0x38435c):_0x45aa92[_0x17fa66(0x1a0)](_0x16d8c1,_0x59557d,_0x175c3f,_0x3531f2,_0x38435c);},te[_0x529410(0x1ba)][_0x529410(0x155)]=function(_0x2f095e,_0x52a005){const _0x51405a=_0x529410;_0x2f095e[_0x51405a(0xdf)]<0x20?_0x309bd9(_0x2f095e,_0x52a005):_0x45aa92[_0x51405a(0x155)](_0x2f095e,_0x52a005);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0xa8a5c8=_0x1b9afc;if(Xe)return ye;Xe=0x1;const _0x2b4866=Symbol('kDone'),_0x230392=Symbol(_0xa8a5c8(0x1fe));class _0x41db7a{constructor(_0x5827e5){const _0x46caa5=_0xa8a5c8;this[_0x2b4866]=()=>{this['pending']--,this[_0x230392]();},this[_0x46caa5(0x181)]=_0x5827e5||0x1/0x0,this[_0x46caa5(0x1c8)]=[],this[_0x46caa5(0x213)]=0x0;}['add'](_0x4c0bcd){const _0x58c1ff=_0xa8a5c8;this[_0x58c1ff(0x1c8)][_0x58c1ff(0x23f)](_0x4c0bcd),this[_0x230392]();}[_0x230392](){const _0x493a7b=_0xa8a5c8;if(this[_0x493a7b(0x213)]!==this[_0x493a7b(0x181)]&&this[_0x493a7b(0x1c8)][_0x493a7b(0xdf)]){const _0x19efb6=this[_0x493a7b(0x1c8)]['shift']();this[_0x493a7b(0x213)]++,_0x19efb6(this[_0x2b4866]);}}}return ye=_0x41db7a,ye;}var ve,Ze;function he(){const _0x4928d7=_0x1b9afc;if(Ze)return ve;Ze=0x1;const _0xad2ece=_0x13053a,_0x18c845=ce(),_0x2ebe0a=qt(),{kStatusCode:_0x3c6eb1}=V(),_0x3de161=Buffer[Symbol[_0x4928d7(0x22e)]],_0x5bf86c=Buffer[_0x4928d7(0x1cc)]([0x0,0x0,0xff,0xff]),_0x492951=Symbol('permessage-deflate'),_0x28cabc=Symbol(_0x4928d7(0xf5)),_0x487274=Symbol(_0x4928d7(0x179)),_0x1b0f9c=Symbol('buffers'),_0x5b2324=Symbol('error');let _0x193a82;class _0x2ff456{constructor(_0x54da4f,_0x21b8d9,_0x7883ee){const _0x292595=_0x4928d7;if(this['_maxPayload']=_0x7883ee|0x0,this[_0x292595(0x242)]=_0x54da4f||{},this[_0x292595(0x1d8)]=this[_0x292595(0x242)]['threshold']!==void 0x0?this[_0x292595(0x242)][_0x292595(0x195)]:0x400,this['_isServer']=!!_0x21b8d9,this['_deflate']=null,this[_0x292595(0x145)]=null,this[_0x292595(0x1fa)]=null,!_0x193a82){const _0x14a6d9=this['_options'][_0x292595(0x250)]!==void 0x0?this['_options'][_0x292595(0x250)]:0xa;_0x193a82=new _0x2ebe0a(_0x14a6d9);}}static get[_0x4928d7(0x21b)](){const _0x512361=_0x4928d7;return _0x512361(0x1a3);}['offer'](){const _0x11e5c9=_0x4928d7,_0x1951b8={};return this[_0x11e5c9(0x242)][_0x11e5c9(0xff)]&&(_0x1951b8[_0x11e5c9(0x14a)]=!0x0),this[_0x11e5c9(0x242)][_0x11e5c9(0x1f9)]&&(_0x1951b8[_0x11e5c9(0x1f6)]=!0x0),this[_0x11e5c9(0x242)][_0x11e5c9(0x208)]&&(_0x1951b8[_0x11e5c9(0x202)]=this[_0x11e5c9(0x242)][_0x11e5c9(0x208)]),this[_0x11e5c9(0x242)][_0x11e5c9(0xca)]?_0x1951b8['client_max_window_bits']=this['_options'][_0x11e5c9(0xca)]:this[_0x11e5c9(0x242)][_0x11e5c9(0xca)]==null&&(_0x1951b8[_0x11e5c9(0x1e0)]=!0x0),_0x1951b8;}['accept'](_0x13945a){const _0x31c8a9=_0x4928d7;return _0x13945a=this[_0x31c8a9(0x176)](_0x13945a),this[_0x31c8a9(0x1fa)]=this[_0x31c8a9(0xf1)]?this[_0x31c8a9(0x18c)](_0x13945a):this['acceptAsClient'](_0x13945a),this[_0x31c8a9(0x1fa)];}[_0x4928d7(0x1c0)](){const _0x93bf1b=_0x4928d7;if(this['_inflate']&&(this[_0x93bf1b(0x145)][_0x93bf1b(0x1f4)](),this[_0x93bf1b(0x145)]=null),this[_0x93bf1b(0x209)]){const _0x1732a1=this[_0x93bf1b(0x209)][_0x487274];this[_0x93bf1b(0x209)][_0x93bf1b(0x1f4)](),this[_0x93bf1b(0x209)]=null,_0x1732a1&&_0x1732a1(new Error(_0x93bf1b(0x14c)));}}[_0x4928d7(0x18c)](_0x17cad2){const _0x5d98fa=_0x4928d7,_0x1bdd3b=this[_0x5d98fa(0x242)],_0x57cd70=_0x17cad2[_0x5d98fa(0x1dc)](_0x4f925c=>!(_0x1bdd3b[_0x5d98fa(0xff)]===!0x1&&_0x4f925c[_0x5d98fa(0x14a)]||_0x4f925c[_0x5d98fa(0x202)]&&(_0x1bdd3b[_0x5d98fa(0x208)]===!0x1||typeof _0x1bdd3b[_0x5d98fa(0x208)]==_0x5d98fa(0xc8)&&_0x1bdd3b[_0x5d98fa(0x208)]>_0x4f925c[_0x5d98fa(0x202)])||typeof _0x1bdd3b[_0x5d98fa(0xca)]==_0x5d98fa(0xc8)&&!_0x4f925c['client_max_window_bits']));if(!_0x57cd70)throw new Error(_0x5d98fa(0x1f5));return _0x1bdd3b[_0x5d98fa(0xff)]&&(_0x57cd70[_0x5d98fa(0x14a)]=!0x0),_0x1bdd3b[_0x5d98fa(0x1f9)]&&(_0x57cd70[_0x5d98fa(0x1f6)]=!0x0),typeof _0x1bdd3b[_0x5d98fa(0x208)]==_0x5d98fa(0xc8)&&(_0x57cd70[_0x5d98fa(0x202)]=_0x1bdd3b[_0x5d98fa(0x208)]),typeof _0x1bdd3b[_0x5d98fa(0xca)]==_0x5d98fa(0xc8)?_0x57cd70[_0x5d98fa(0x1e0)]=_0x1bdd3b['clientMaxWindowBits']:(_0x57cd70[_0x5d98fa(0x1e0)]===!0x0||_0x1bdd3b[_0x5d98fa(0xca)]===!0x1)&&delete _0x57cd70[_0x5d98fa(0x1e0)],_0x57cd70;}[_0x4928d7(0x126)](_0x48cf88){const _0x3f7de0=_0x4928d7,_0x506f8f=_0x48cf88[0x0];if(this['_options'][_0x3f7de0(0x1f9)]===!0x1&&_0x506f8f['client_no_context_takeover'])throw new Error(_0x3f7de0(0xbd));if(!_0x506f8f[_0x3f7de0(0x1e0)])typeof this[_0x3f7de0(0x242)][_0x3f7de0(0xca)]==_0x3f7de0(0xc8)&&(_0x506f8f['client_max_window_bits']=this[_0x3f7de0(0x242)][_0x3f7de0(0xca)]);else{if(this[_0x3f7de0(0x242)][_0x3f7de0(0xca)]===!0x1||typeof this[_0x3f7de0(0x242)][_0x3f7de0(0xca)]==_0x3f7de0(0xc8)&&_0x506f8f[_0x3f7de0(0x1e0)]>this[_0x3f7de0(0x242)][_0x3f7de0(0xca)])throw new Error(_0x3f7de0(0x255));}return _0x506f8f;}[_0x4928d7(0x176)](_0x5c776a){const _0x2e2a90=_0x4928d7;return _0x5c776a[_0x2e2a90(0x1be)](_0x300296=>{const _0x1f1849=_0x2e2a90;Object[_0x1f1849(0x18a)](_0x300296)['forEach'](_0x207e35=>{const _0xef1385=_0x1f1849;let _0x1c9972=_0x300296[_0x207e35];if(_0x1c9972['length']>0x1)throw new Error(_0xef1385(0xc9)+_0x207e35+_0xef1385(0xb3));if(_0x1c9972=_0x1c9972[0x0],_0x207e35===_0xef1385(0x1e0)){if(_0x1c9972!==!0x0){const _0x1852e1=+_0x1c9972;if(!Number['isInteger'](_0x1852e1)||_0x1852e1<0x8||_0x1852e1>0xf)throw new TypeError(_0xef1385(0x151)+_0x207e35+'\x22:\x20'+_0x1c9972);_0x1c9972=_0x1852e1;}else{if(!this[_0xef1385(0xf1)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x207e35+_0xef1385(0x257)+_0x1c9972);}}else{if(_0x207e35===_0xef1385(0x202)){const _0x35f013=+_0x1c9972;if(!Number[_0xef1385(0xb1)](_0x35f013)||_0x35f013<0x8||_0x35f013>0xf)throw new TypeError(_0xef1385(0x151)+_0x207e35+_0xef1385(0x257)+_0x1c9972);_0x1c9972=_0x35f013;}else{if(_0x207e35===_0xef1385(0x1f6)||_0x207e35===_0xef1385(0x14a)){if(_0x1c9972!==!0x0)throw new TypeError(_0xef1385(0x151)+_0x207e35+_0xef1385(0x257)+_0x1c9972);}else throw new Error(_0xef1385(0xfa)+_0x207e35+'\x22');}}_0x300296[_0x207e35]=_0x1c9972;});}),_0x5c776a;}[_0x4928d7(0xbc)](_0x330270,_0x29867d,_0x24d1a8){_0x193a82['add'](_0x2f174b=>{const _0x47ac60=_0x5965;this[_0x47ac60(0xfb)](_0x330270,_0x29867d,(_0x3fd902,_0x253373)=>{_0x2f174b(),_0x24d1a8(_0x3fd902,_0x253373);});});}[_0x4928d7(0x219)](_0x39510a,_0x2b316c,_0x4b198c){const _0x1052ad=_0x4928d7;_0x193a82[_0x1052ad(0x247)](_0xfe7718=>{const _0x69e30c=_0x1052ad;this[_0x69e30c(0x14f)](_0x39510a,_0x2b316c,(_0x4d1c76,_0x125762)=>{_0xfe7718(),_0x4b198c(_0x4d1c76,_0x125762);});});}[_0x4928d7(0xfb)](_0x312c4a,_0x1f7480,_0x1e4c46){const _0x2ce196=_0x4928d7,_0x33dca0=this[_0x2ce196(0xf1)]?_0x2ce196(0x216):_0x2ce196(0x107);if(!this[_0x2ce196(0x145)]){const _0x5f5c5c=_0x33dca0+_0x2ce196(0x238),_0x34f05d=typeof this[_0x2ce196(0x1fa)][_0x5f5c5c]!=_0x2ce196(0xc8)?_0xad2ece[_0x2ce196(0x117)]:this['params'][_0x5f5c5c];this['_inflate']=_0xad2ece[_0x2ce196(0x19e)]({...this[_0x2ce196(0x242)][_0x2ce196(0x1bd)],'windowBits':_0x34f05d}),this[_0x2ce196(0x145)][_0x492951]=this,this[_0x2ce196(0x145)][_0x28cabc]=0x0,this[_0x2ce196(0x145)][_0x1b0f9c]=[],this['_inflate']['on']('error',_0xb89054),this['_inflate']['on'](_0x2ce196(0x212),_0x58a2e6);}this[_0x2ce196(0x145)][_0x487274]=_0x1e4c46,this[_0x2ce196(0x145)]['write'](_0x312c4a),_0x1f7480&&this[_0x2ce196(0x145)][_0x2ce196(0x1e2)](_0x5bf86c),this[_0x2ce196(0x145)][_0x2ce196(0xbb)](()=>{const _0x419360=_0x2ce196,_0x3b512b=this[_0x419360(0x145)][_0x5b2324];if(_0x3b512b){this['_inflate'][_0x419360(0x1f4)](),this[_0x419360(0x145)]=null,_0x1e4c46(_0x3b512b);return;}const _0xe62f63=_0x18c845[_0x419360(0x24b)](this[_0x419360(0x145)][_0x1b0f9c],this['_inflate'][_0x28cabc]);this[_0x419360(0x145)][_0x419360(0x147)][_0x419360(0xe3)]?(this[_0x419360(0x145)][_0x419360(0x1f4)](),this[_0x419360(0x145)]=null):(this['_inflate'][_0x28cabc]=0x0,this[_0x419360(0x145)][_0x1b0f9c]=[],_0x1f7480&&this[_0x419360(0x1fa)][_0x33dca0+_0x419360(0xa9)]&&this[_0x419360(0x145)]['reset']()),_0x1e4c46(null,_0xe62f63);});}[_0x4928d7(0x14f)](_0x58e298,_0x1469b1,_0x74b218){const _0x111884=_0x4928d7,_0x5dc058=this[_0x111884(0xf1)]?'server':'client';if(!this[_0x111884(0x209)]){const _0x44c865=_0x5dc058+_0x111884(0x238),_0xeea1ed=typeof this['params'][_0x44c865]!=_0x111884(0xc8)?_0xad2ece[_0x111884(0x117)]:this[_0x111884(0x1fa)][_0x44c865];this[_0x111884(0x209)]=_0xad2ece[_0x111884(0x1ce)]({...this['_options'][_0x111884(0x252)],'windowBits':_0xeea1ed}),this[_0x111884(0x209)][_0x28cabc]=0x0,this['_deflate'][_0x1b0f9c]=[],this[_0x111884(0x209)]['on'](_0x111884(0x212),_0x25652e);}this[_0x111884(0x209)][_0x487274]=_0x74b218,this[_0x111884(0x209)][_0x111884(0x1e2)](_0x58e298),this[_0x111884(0x209)][_0x111884(0xbb)](_0xad2ece[_0x111884(0x203)],()=>{const _0x27528f=_0x111884;if(!this[_0x27528f(0x209)])return;let _0x541938=_0x18c845[_0x27528f(0x24b)](this[_0x27528f(0x209)][_0x1b0f9c],this[_0x27528f(0x209)][_0x28cabc]);_0x1469b1&&(_0x541938=new _0x3de161(_0x541938[_0x27528f(0x124)],_0x541938[_0x27528f(0x122)],_0x541938[_0x27528f(0xdf)]-0x4)),this['_deflate'][_0x487274]=null,this[_0x27528f(0x209)][_0x28cabc]=0x0,this[_0x27528f(0x209)][_0x1b0f9c]=[],_0x1469b1&&this[_0x27528f(0x1fa)][_0x5dc058+'_no_context_takeover']&&this['_deflate'][_0x27528f(0x184)](),_0x74b218(null,_0x541938);});}}ve=_0x2ff456;function _0x25652e(_0x1367e6){this[_0x1b0f9c]['push'](_0x1367e6),this[_0x28cabc]+=_0x1367e6['length'];}function _0x58a2e6(_0x40df52){const _0x2fb4c7=_0x4928d7;if(this[_0x28cabc]+=_0x40df52[_0x2fb4c7(0xdf)],this[_0x492951][_0x2fb4c7(0x1a9)]<0x1||this[_0x28cabc]<=this[_0x492951][_0x2fb4c7(0x1a9)]){this[_0x1b0f9c][_0x2fb4c7(0x23f)](_0x40df52);return;}this[_0x5b2324]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x5b2324][_0x2fb4c7(0x1af)]=_0x2fb4c7(0x201),this[_0x5b2324][_0x3c6eb1]=0x3f1,this[_0x2fb4c7(0x118)](_0x2fb4c7(0x212),_0x58a2e6),this[_0x2fb4c7(0x184)]();}function _0xb89054(_0x2c0953){const _0x23daa2=_0x4928d7;if(this[_0x492951][_0x23daa2(0x145)]=null,this[_0x5b2324]){this[_0x487274](this[_0x5b2324]);return;}_0x2c0953[_0x3c6eb1]=0x3ef,this[_0x487274](_0x2c0953);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x1b9afc(0x187)](Object[_0x1b9afc(0x161)]({'__proto__':null,'default':Ht},Symbol[_0x1b9afc(0x253)],{'value':_0x1b9afc(0x1b8)})),Yt=ut(zt);var Qe;function _0x5965(_0x37c0f2,_0x13fa6c){const _0x4b788a=_0x4b78();return _0x5965=function(_0x5965c1,_0x2f26e3){_0x5965c1=_0x5965c1-0xa1;let _0x4c0b75=_0x4b788a[_0x5965c1];return _0x4c0b75;},_0x5965(_0x37c0f2,_0x13fa6c);}function ne(){const _0x4ee52a=_0x1b9afc;if(Qe)return re[_0x4ee52a(0x1ba)];Qe=0x1;const {isUtf8:_0x12898b}=_0x404368,{hasBlob:_0x43ba02}=V(),_0x228cfd=[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 _0x2d5c92(_0x46dd2a){return _0x46dd2a>=0x3e8&&_0x46dd2a<=0x3f6&&_0x46dd2a!==0x3ec&&_0x46dd2a!==0x3ed&&_0x46dd2a!==0x3ee||_0x46dd2a>=0xbb8&&_0x46dd2a<=0x1387;}function _0x597d8d(_0x27d37a){const _0x5ce1b8=_0x4ee52a,_0x321bd6=_0x27d37a[_0x5ce1b8(0xdf)];let _0x19441e=0x0;for(;_0x19441e<_0x321bd6;)if((_0x27d37a[_0x19441e]&0x80)===0x0)_0x19441e++;else{if((_0x27d37a[_0x19441e]&0xe0)===0xc0){if(_0x19441e+0x1===_0x321bd6||(_0x27d37a[_0x19441e+0x1]&0xc0)!==0x80||(_0x27d37a[_0x19441e]&0xfe)===0xc0)return!0x1;_0x19441e+=0x2;}else{if((_0x27d37a[_0x19441e]&0xf0)===0xe0){if(_0x19441e+0x2>=_0x321bd6||(_0x27d37a[_0x19441e+0x1]&0xc0)!==0x80||(_0x27d37a[_0x19441e+0x2]&0xc0)!==0x80||_0x27d37a[_0x19441e]===0xe0&&(_0x27d37a[_0x19441e+0x1]&0xe0)===0x80||_0x27d37a[_0x19441e]===0xed&&(_0x27d37a[_0x19441e+0x1]&0xe0)===0xa0)return!0x1;_0x19441e+=0x3;}else{if((_0x27d37a[_0x19441e]&0xf8)===0xf0){if(_0x19441e+0x3>=_0x321bd6||(_0x27d37a[_0x19441e+0x1]&0xc0)!==0x80||(_0x27d37a[_0x19441e+0x2]&0xc0)!==0x80||(_0x27d37a[_0x19441e+0x3]&0xc0)!==0x80||_0x27d37a[_0x19441e]===0xf0&&(_0x27d37a[_0x19441e+0x1]&0xf0)===0x80||_0x27d37a[_0x19441e]===0xf4&&_0x27d37a[_0x19441e+0x1]>0x8f||_0x27d37a[_0x19441e]>0xf4)return!0x1;_0x19441e+=0x4;}else return!0x1;}}}return!0x0;}function _0x25926e(_0x509ecf){const _0x5e041a=_0x4ee52a;return _0x43ba02&&typeof _0x509ecf==_0x5e041a(0x101)&&typeof _0x509ecf[_0x5e041a(0x103)]==_0x5e041a(0x20a)&&typeof _0x509ecf[_0x5e041a(0x1dd)]==_0x5e041a(0x17c)&&typeof _0x509ecf[_0x5e041a(0xcf)]=='function'&&(_0x509ecf[Symbol[_0x5e041a(0x253)]]==='Blob'||_0x509ecf[Symbol[_0x5e041a(0x253)]]===_0x5e041a(0xd4));}if(re[_0x4ee52a(0x1ba)]={'isBlob':_0x25926e,'isValidStatusCode':_0x2d5c92,'isValidUTF8':_0x597d8d,'tokenChars':_0x228cfd},_0x12898b)re['exports'][_0x4ee52a(0x223)]=function(_0x339d66){return _0x339d66['length']<0x18?_0x597d8d(_0x339d66):_0x12898b(_0x339d66);};else{if(!process[_0x4ee52a(0x19d)][_0x4ee52a(0x1ed)])try{const _0x3c5612=Yt;re[_0x4ee52a(0x1ba)][_0x4ee52a(0x223)]=function(_0x44c624){const _0x1bca36=_0x4ee52a;return _0x44c624[_0x1bca36(0xdf)]<0x20?_0x597d8d(_0x44c624):_0x3c5612(_0x44c624);};}catch{}}return re[_0x4ee52a(0x1ba)];}var Se,Je;function dt(){const _0x210dd4=_0x1b9afc;if(Je)return Se;Je=0x1;const {Writable:_0x4147d1}=_0x751d88,_0x382ad0=he(),{BINARY_TYPES:_0x175470,EMPTY_BUFFER:_0x448632,kStatusCode:_0x3e8f5e,kWebSocket:_0x2b7460}=V(),{concat:_0x46ab72,toArrayBuffer:_0x5bd534,unmask:_0x85d4b4}=ce(),{isValidStatusCode:_0x15f105,isValidUTF8:_0x4cde86}=ne(),_0x5a845d=Buffer[Symbol[_0x210dd4(0x22e)]],_0x59e418=0x0,_0x51a47a=0x1,_0x320034=0x2,_0x53013a=0x3,_0x355efc=0x4,_0x4ddac1=0x5,_0x25a691=0x6;class _0x5143c1 extends _0x4147d1{constructor(_0x2fdcf9={}){const _0x43d90c=_0x210dd4;super(),this[_0x43d90c(0x244)]=_0x2fdcf9[_0x43d90c(0x141)]!==void 0x0?_0x2fdcf9[_0x43d90c(0x141)]:!0x0,this[_0x43d90c(0x1d2)]=_0x2fdcf9['binaryType']||_0x175470[0x0],this[_0x43d90c(0x15a)]=_0x2fdcf9[_0x43d90c(0x166)]||{},this[_0x43d90c(0xf1)]=!!_0x2fdcf9[_0x43d90c(0x123)],this[_0x43d90c(0x1a9)]=_0x2fdcf9[_0x43d90c(0xb8)]|0x0,this[_0x43d90c(0x11e)]=!!_0x2fdcf9[_0x43d90c(0x258)],this[_0x2b7460]=void 0x0,this[_0x43d90c(0xc1)]=0x0,this[_0x43d90c(0x199)]=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this['_mask']=void 0x0,this[_0x43d90c(0x1b9)]=0x0,this[_0x43d90c(0x1a2)]=!0x1,this['_fin']=!0x1,this[_0x43d90c(0x205)]=0x0,this[_0x43d90c(0x1d9)]=0x0,this['_messageLength']=0x0,this[_0x43d90c(0xd3)]=[],this[_0x43d90c(0x1b1)]=!0x1,this[_0x43d90c(0x168)]=!0x1,this[_0x43d90c(0x150)]=_0x59e418;}[_0x210dd4(0x1c9)](_0x4d1e2a,_0x392758,_0x37adf3){const _0x1532b8=_0x210dd4;if(this[_0x1532b8(0x205)]===0x8&&this[_0x1532b8(0x150)]==_0x59e418)return _0x37adf3();this[_0x1532b8(0xc1)]+=_0x4d1e2a['length'],this[_0x1532b8(0x199)][_0x1532b8(0x23f)](_0x4d1e2a),this[_0x1532b8(0x22c)](_0x37adf3);}[_0x210dd4(0x1da)](_0x2e21f2){const _0xbabd77=_0x210dd4;if(this[_0xbabd77(0xc1)]-=_0x2e21f2,_0x2e21f2===this[_0xbabd77(0x199)][0x0]['length'])return this[_0xbabd77(0x199)][_0xbabd77(0x160)]();if(_0x2e21f2<this[_0xbabd77(0x199)][0x0][_0xbabd77(0xdf)]){const _0x26eef1=this[_0xbabd77(0x199)][0x0];return this[_0xbabd77(0x199)][0x0]=new _0x5a845d(_0x26eef1['buffer'],_0x26eef1[_0xbabd77(0x122)]+_0x2e21f2,_0x26eef1[_0xbabd77(0xdf)]-_0x2e21f2),new _0x5a845d(_0x26eef1[_0xbabd77(0x124)],_0x26eef1[_0xbabd77(0x122)],_0x2e21f2);}const _0x464edc=Buffer['allocUnsafe'](_0x2e21f2);do{const _0x40b0cf=this['_buffers'][0x0],_0x424497=_0x464edc[_0xbabd77(0xdf)]-_0x2e21f2;_0x2e21f2>=_0x40b0cf[_0xbabd77(0xdf)]?_0x464edc[_0xbabd77(0x1f0)](this['_buffers'][_0xbabd77(0x160)](),_0x424497):(_0x464edc[_0xbabd77(0x1f0)](new Uint8Array(_0x40b0cf['buffer'],_0x40b0cf[_0xbabd77(0x122)],_0x2e21f2),_0x424497),this[_0xbabd77(0x199)][0x0]=new _0x5a845d(_0x40b0cf[_0xbabd77(0x124)],_0x40b0cf[_0xbabd77(0x122)]+_0x2e21f2,_0x40b0cf[_0xbabd77(0xdf)]-_0x2e21f2)),_0x2e21f2-=_0x40b0cf[_0xbabd77(0xdf)];}while(_0x2e21f2>0x0);return _0x464edc;}[_0x210dd4(0x22c)](_0xc3e304){const _0x3326a2=_0x210dd4;this['_loop']=!0x0;do switch(this[_0x3326a2(0x150)]){case _0x59e418:this[_0x3326a2(0xaf)](_0xc3e304);break;case _0x51a47a:this[_0x3326a2(0x167)](_0xc3e304);break;case _0x320034:this['getPayloadLength64'](_0xc3e304);break;case _0x53013a:this[_0x3326a2(0x139)]();break;case _0x355efc:this[_0x3326a2(0xc5)](_0xc3e304);break;case _0x4ddac1:case _0x25a691:this[_0x3326a2(0x168)]=!0x1;return;}while(this[_0x3326a2(0x168)]);this[_0x3326a2(0x1b1)]||_0xc3e304();}[_0x210dd4(0xaf)](_0x591739){const _0x401f67=_0x210dd4;if(this[_0x401f67(0xc1)]<0x2){this[_0x401f67(0x168)]=!0x1;return;}const _0x4de531=this[_0x401f67(0x1da)](0x2);if((_0x4de531[0x0]&0x30)!==0x0){const _0x1c2bf8=this['createError'](RangeError,_0x401f67(0x1a8),!0x0,0x3ea,_0x401f67(0xad));_0x591739(_0x1c2bf8);return;}const _0xb83a8f=(_0x4de531[0x0]&0x40)===0x40;if(_0xb83a8f&&!this[_0x401f67(0x15a)][_0x382ad0[_0x401f67(0x21b)]]){const _0x575da9=this['createError'](RangeError,_0x401f67(0x18d),!0x0,0x3ea,_0x401f67(0xa2));_0x591739(_0x575da9);return;}if(this[_0x401f67(0x153)]=(_0x4de531[0x0]&0x80)===0x80,this[_0x401f67(0x205)]=_0x4de531[0x0]&0xf,this[_0x401f67(0x17a)]=_0x4de531[0x1]&0x7f,this[_0x401f67(0x205)]===0x0){if(_0xb83a8f){const _0xc6c4b6=this[_0x401f67(0x20d)](RangeError,_0x401f67(0x18d),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x591739(_0xc6c4b6);return;}if(!this[_0x401f67(0x1b9)]){const _0x4b6d0e=this[_0x401f67(0x20d)](RangeError,_0x401f67(0x18b),!0x0,0x3ea,_0x401f67(0xa3));_0x591739(_0x4b6d0e);return;}this[_0x401f67(0x205)]=this['_fragmented'];}else{if(this['_opcode']===0x1||this[_0x401f67(0x205)]===0x2){if(this[_0x401f67(0x1b9)]){const _0x5aeb13=this['createError'](RangeError,_0x401f67(0xb0)+this[_0x401f67(0x205)],!0x0,0x3ea,_0x401f67(0xa3));_0x591739(_0x5aeb13);return;}this[_0x401f67(0x13a)]=_0xb83a8f;}else{if(this[_0x401f67(0x205)]>0x7&&this[_0x401f67(0x205)]<0xb){if(!this[_0x401f67(0x153)]){const _0x394864=this[_0x401f67(0x20d)](RangeError,_0x401f67(0xd9),!0x0,0x3ea,_0x401f67(0x143));_0x591739(_0x394864);return;}if(_0xb83a8f){const _0x22fed9=this[_0x401f67(0x20d)](RangeError,_0x401f67(0x18d),!0x0,0x3ea,_0x401f67(0xa2));_0x591739(_0x22fed9);return;}if(this[_0x401f67(0x17a)]>0x7d||this[_0x401f67(0x205)]===0x8&&this[_0x401f67(0x17a)]===0x1){const _0x445bd9=this[_0x401f67(0x20d)](RangeError,_0x401f67(0x192)+this[_0x401f67(0x17a)],!0x0,0x3ea,_0x401f67(0xa8));_0x591739(_0x445bd9);return;}}else{const _0x23872e=this[_0x401f67(0x20d)](RangeError,_0x401f67(0xb0)+this['_opcode'],!0x0,0x3ea,_0x401f67(0xa3));_0x591739(_0x23872e);return;}}}if(!this[_0x401f67(0x153)]&&!this[_0x401f67(0x1b9)]&&(this[_0x401f67(0x1b9)]=this[_0x401f67(0x205)]),this[_0x401f67(0x1a2)]=(_0x4de531[0x1]&0x80)===0x80,this[_0x401f67(0xf1)]){if(!this[_0x401f67(0x1a2)]){const _0x1d8349=this[_0x401f67(0x20d)](RangeError,_0x401f67(0xb2),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x591739(_0x1d8349);return;}}else{if(this[_0x401f67(0x1a2)]){const _0x1444b5=this[_0x401f67(0x20d)](RangeError,_0x401f67(0x20f),!0x0,0x3ea,_0x401f67(0x218));_0x591739(_0x1444b5);return;}}this[_0x401f67(0x17a)]===0x7e?this[_0x401f67(0x150)]=_0x51a47a:this[_0x401f67(0x17a)]===0x7f?this[_0x401f67(0x150)]=_0x320034:this[_0x401f67(0x1ac)](_0x591739);}[_0x210dd4(0x167)](_0x5bb2af){const _0x5b3963=_0x210dd4;if(this[_0x5b3963(0xc1)]<0x2){this[_0x5b3963(0x168)]=!0x1;return;}this[_0x5b3963(0x17a)]=this[_0x5b3963(0x1da)](0x2)[_0x5b3963(0xa5)](0x0),this[_0x5b3963(0x1ac)](_0x5bb2af);}[_0x210dd4(0x20c)](_0x495931){const _0x4e0725=_0x210dd4;if(this[_0x4e0725(0xc1)]<0x8){this[_0x4e0725(0x168)]=!0x1;return;}const _0x233d2e=this[_0x4e0725(0x1da)](0x8),_0x52bd5c=_0x233d2e[_0x4e0725(0x164)](0x0);if(_0x52bd5c>Math[_0x4e0725(0x182)](0x2,0x15)-0x1){const _0x3eccce=this[_0x4e0725(0x20d)](RangeError,_0x4e0725(0x196),!0x1,0x3f1,_0x4e0725(0x129));_0x495931(_0x3eccce);return;}this[_0x4e0725(0x17a)]=_0x52bd5c*Math['pow'](0x2,0x20)+_0x233d2e['readUInt32BE'](0x4),this[_0x4e0725(0x1ac)](_0x495931);}[_0x210dd4(0x1ac)](_0x470ff1){const _0x943e8e=_0x210dd4;if(this[_0x943e8e(0x17a)]&&this[_0x943e8e(0x205)]<0x8&&(this['_totalPayloadLength']+=this[_0x943e8e(0x17a)],this[_0x943e8e(0x1d9)]>this[_0x943e8e(0x1a9)]&&this[_0x943e8e(0x1a9)]>0x0)){const _0x45c676=this[_0x943e8e(0x20d)](RangeError,_0x943e8e(0x108),!0x1,0x3f1,_0x943e8e(0x201));_0x470ff1(_0x45c676);return;}this[_0x943e8e(0x1a2)]?this['_state']=_0x53013a:this[_0x943e8e(0x150)]=_0x355efc;}[_0x210dd4(0x139)](){const _0x4261a1=_0x210dd4;if(this[_0x4261a1(0xc1)]<0x4){this['_loop']=!0x1;return;}this[_0x4261a1(0xf7)]=this[_0x4261a1(0x1da)](0x4),this['_state']=_0x355efc;}[_0x210dd4(0xc5)](_0x12c58a){const _0xec0f1b=_0x210dd4;let _0xbb1acd=_0x448632;if(this[_0xec0f1b(0x17a)]){if(this[_0xec0f1b(0xc1)]<this[_0xec0f1b(0x17a)]){this[_0xec0f1b(0x168)]=!0x1;return;}_0xbb1acd=this[_0xec0f1b(0x1da)](this['_payloadLength']),this['_masked']&&(this[_0xec0f1b(0xf7)][0x0]|this[_0xec0f1b(0xf7)][0x1]|this[_0xec0f1b(0xf7)][0x2]|this[_0xec0f1b(0xf7)][0x3])!==0x0&&_0x85d4b4(_0xbb1acd,this[_0xec0f1b(0xf7)]);}if(this[_0xec0f1b(0x205)]>0x7){this[_0xec0f1b(0x12d)](_0xbb1acd,_0x12c58a);return;}if(this['_compressed']){this[_0xec0f1b(0x150)]=_0x4ddac1,this[_0xec0f1b(0xbc)](_0xbb1acd,_0x12c58a);return;}_0xbb1acd['length']&&(this[_0xec0f1b(0xa7)]=this['_totalPayloadLength'],this[_0xec0f1b(0xd3)][_0xec0f1b(0x23f)](_0xbb1acd)),this[_0xec0f1b(0x1d7)](_0x12c58a);}['decompress'](_0x402bec,_0x36a2fc){const _0x24b7ab=_0x210dd4;this[_0x24b7ab(0x15a)][_0x382ad0[_0x24b7ab(0x21b)]][_0x24b7ab(0xbc)](_0x402bec,this[_0x24b7ab(0x153)],(_0x5df3f5,_0x3f705d)=>{const _0x211112=_0x24b7ab;if(_0x5df3f5)return _0x36a2fc(_0x5df3f5);if(_0x3f705d['length']){if(this[_0x211112(0xa7)]+=_0x3f705d['length'],this[_0x211112(0xa7)]>this[_0x211112(0x1a9)]&&this[_0x211112(0x1a9)]>0x0){const _0x451420=this[_0x211112(0x20d)](RangeError,_0x211112(0x108),!0x1,0x3f1,_0x211112(0x201));_0x36a2fc(_0x451420);return;}this[_0x211112(0xd3)][_0x211112(0x23f)](_0x3f705d);}this[_0x211112(0x1d7)](_0x36a2fc),this[_0x211112(0x150)]===_0x59e418&&this[_0x211112(0x22c)](_0x36a2fc);});}[_0x210dd4(0x1d7)](_0x45637f){const _0x4d5918=_0x210dd4;if(!this[_0x4d5918(0x153)]){this[_0x4d5918(0x150)]=_0x59e418;return;}const _0x5d7316=this[_0x4d5918(0xa7)],_0x2abab8=this['_fragments'];if(this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this[_0x4d5918(0x1b9)]=0x0,this[_0x4d5918(0xd3)]=[],this['_opcode']===0x2){let _0xc0041a;this[_0x4d5918(0x1d2)]===_0x4d5918(0x1a4)?_0xc0041a=_0x46ab72(_0x2abab8,_0x5d7316):this[_0x4d5918(0x1d2)]===_0x4d5918(0xfc)?_0xc0041a=_0x5bd534(_0x46ab72(_0x2abab8,_0x5d7316)):this['_binaryType']===_0x4d5918(0x1ca)?_0xc0041a=new Blob(_0x2abab8):_0xc0041a=_0x2abab8,this['_allowSynchronousEvents']?(this[_0x4d5918(0x159)](_0x4d5918(0x22f),_0xc0041a,!0x0),this['_state']=_0x59e418):(this['_state']=_0x25a691,setImmediate(()=>{const _0x36948d=_0x4d5918;this['emit'](_0x36948d(0x22f),_0xc0041a,!0x0),this['_state']=_0x59e418,this['startLoop'](_0x45637f);}));}else{const _0x270b18=_0x46ab72(_0x2abab8,_0x5d7316);if(!this[_0x4d5918(0x11e)]&&!_0x4cde86(_0x270b18)){const _0x18016b=this[_0x4d5918(0x20d)](Error,_0x4d5918(0x21d),!0x0,0x3ef,_0x4d5918(0x16f));_0x45637f(_0x18016b);return;}this['_state']===_0x4ddac1||this[_0x4d5918(0x244)]?(this['emit'](_0x4d5918(0x22f),_0x270b18,!0x1),this[_0x4d5918(0x150)]=_0x59e418):(this[_0x4d5918(0x150)]=_0x25a691,setImmediate(()=>{const _0x15c86e=_0x4d5918;this['emit'](_0x15c86e(0x22f),_0x270b18,!0x1),this[_0x15c86e(0x150)]=_0x59e418,this[_0x15c86e(0x22c)](_0x45637f);}));}}[_0x210dd4(0x12d)](_0xd237d9,_0x2b1c96){const _0xd2c55=_0x210dd4;if(this[_0xd2c55(0x205)]===0x8){if(_0xd237d9[_0xd2c55(0xdf)]===0x0)this[_0xd2c55(0x168)]=!0x1,this[_0xd2c55(0x159)](_0xd2c55(0x132),0x3ed,_0x448632),this[_0xd2c55(0x106)]();else{const _0x3db742=_0xd237d9[_0xd2c55(0xa5)](0x0);if(!_0x15f105(_0x3db742)){const _0x103adb=this[_0xd2c55(0x20d)](RangeError,_0xd2c55(0x224)+_0x3db742,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x2b1c96(_0x103adb);return;}const _0x2295cf=new _0x5a845d(_0xd237d9[_0xd2c55(0x124)],_0xd237d9['byteOffset']+0x2,_0xd237d9[_0xd2c55(0xdf)]-0x2);if(!this['_skipUTF8Validation']&&!_0x4cde86(_0x2295cf)){const _0x35d452=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0xd2c55(0x16f));_0x2b1c96(_0x35d452);return;}this['_loop']=!0x1,this[_0xd2c55(0x159)](_0xd2c55(0x132),_0x3db742,_0x2295cf),this[_0xd2c55(0x106)]();}this[_0xd2c55(0x150)]=_0x59e418;return;}this[_0xd2c55(0x244)]?(this[_0xd2c55(0x159)](this[_0xd2c55(0x205)]===0x9?_0xd2c55(0x1d4):'pong',_0xd237d9),this[_0xd2c55(0x150)]=_0x59e418):(this['_state']=_0x25a691,setImmediate(()=>{const _0x1e0ced=_0xd2c55;this[_0x1e0ced(0x159)](this[_0x1e0ced(0x205)]===0x9?'ping':_0x1e0ced(0xe6),_0xd237d9),this[_0x1e0ced(0x150)]=_0x59e418,this[_0x1e0ced(0x22c)](_0x2b1c96);}));}[_0x210dd4(0x20d)](_0x3d0310,_0x420da1,_0x5d7619,_0x4a7bab,_0x549086){const _0x54b7b4=_0x210dd4;this['_loop']=!0x1,this[_0x54b7b4(0x1b1)]=!0x0;const _0x5b3561=new _0x3d0310(_0x5d7619?'Invalid\x20WebSocket\x20frame:\x20'+_0x420da1:_0x420da1);return Error[_0x54b7b4(0x1ec)](_0x5b3561,this[_0x54b7b4(0x20d)]),_0x5b3561[_0x54b7b4(0x1af)]=_0x549086,_0x5b3561[_0x3e8f5e]=_0x4a7bab,_0x5b3561;}}return Se=_0x5143c1,Se;}var Ee,et;function _t(){const _0x2dc5c6=_0x1b9afc;if(et)return Ee;et=0x1;const {Duplex:_0x9e8988}=_0x751d88,{randomFillSync:_0xe6e4b7}=_0x1337dd,_0x96bae2=he(),{EMPTY_BUFFER:_0x1fe6a4,kWebSocket:_0x5159a9,NOOP:_0x1b2195}=V(),{isBlob:_0x4b73a0,isValidStatusCode:_0x46818d}=ne(),{mask:_0xf82c97,toBuffer:_0x1ff81c}=ce(),_0x210268=Symbol(_0x2dc5c6(0x21a)),_0x186809=Buffer[_0x2dc5c6(0x1df)](0x4),_0x20fdb2=0x8*0x400;let _0x5421a6,_0x3701dd=_0x20fdb2;const _0x5100e5=0x0,_0x144c1a=0x1,_0xfe4eab=0x2;class _0x45999a{constructor(_0x2fad66,_0x3a03fc,_0x55d1b1){const _0x5a36fe=_0x2dc5c6;this['_extensions']=_0x3a03fc||{},_0x55d1b1&&(this[_0x5a36fe(0xbf)]=_0x55d1b1,this[_0x5a36fe(0x156)]=Buffer[_0x5a36fe(0x1df)](0x4)),this['_socket']=_0x2fad66,this[_0x5a36fe(0x256)]=!0x0,this['_compress']=!0x1,this['_bufferedBytes']=0x0,this[_0x5a36fe(0x172)]=[],this['_state']=_0x5100e5,this[_0x5a36fe(0x1f2)]=_0x1b2195,this[_0x5159a9]=void 0x0;}static[_0x2dc5c6(0x246)](_0x296231,_0x178179){const _0x103a51=_0x2dc5c6;let _0x1afc6e,_0x3dcf2d=!0x1,_0x3ca950=0x2,_0x551993=!0x1;_0x178179[_0x103a51(0x1a0)]&&(_0x1afc6e=_0x178179['maskBuffer']||_0x186809,_0x178179[_0x103a51(0xb7)]?_0x178179[_0x103a51(0xb7)](_0x1afc6e):(_0x3701dd===_0x20fdb2&&(_0x5421a6===void 0x0&&(_0x5421a6=Buffer[_0x103a51(0x1df)](_0x20fdb2)),_0xe6e4b7(_0x5421a6,0x0,_0x20fdb2),_0x3701dd=0x0),_0x1afc6e[0x0]=_0x5421a6[_0x3701dd++],_0x1afc6e[0x1]=_0x5421a6[_0x3701dd++],_0x1afc6e[0x2]=_0x5421a6[_0x3701dd++],_0x1afc6e[0x3]=_0x5421a6[_0x3701dd++]),_0x551993=(_0x1afc6e[0x0]|_0x1afc6e[0x1]|_0x1afc6e[0x2]|_0x1afc6e[0x3])===0x0,_0x3ca950=0x6);let _0x3de96f;typeof _0x296231==_0x103a51(0x17c)?(!_0x178179[_0x103a51(0x1a0)]||_0x551993)&&_0x178179[_0x210268]!==void 0x0?_0x3de96f=_0x178179[_0x210268]:(_0x296231=Buffer[_0x103a51(0x1cc)](_0x296231),_0x3de96f=_0x296231[_0x103a51(0xdf)]):(_0x3de96f=_0x296231['length'],_0x3dcf2d=_0x178179['mask']&&_0x178179['readOnly']&&!_0x551993);let _0x28b2b8=_0x3de96f;_0x3de96f>=0x10000?(_0x3ca950+=0x8,_0x28b2b8=0x7f):_0x3de96f>0x7d&&(_0x3ca950+=0x2,_0x28b2b8=0x7e);const _0x537cd4=Buffer[_0x103a51(0x152)](_0x3dcf2d?_0x3de96f+_0x3ca950:_0x3ca950);return _0x537cd4[0x0]=_0x178179[_0x103a51(0x234)]?_0x178179[_0x103a51(0x104)]|0x80:_0x178179[_0x103a51(0x104)],_0x178179['rsv1']&&(_0x537cd4[0x0]|=0x40),_0x537cd4[0x1]=_0x28b2b8,_0x28b2b8===0x7e?_0x537cd4[_0x103a51(0x1f3)](_0x3de96f,0x2):_0x28b2b8===0x7f&&(_0x537cd4[0x2]=_0x537cd4[0x3]=0x0,_0x537cd4[_0x103a51(0xb9)](_0x3de96f,0x4,0x6)),_0x178179['mask']?(_0x537cd4[0x1]|=0x80,_0x537cd4[_0x3ca950-0x4]=_0x1afc6e[0x0],_0x537cd4[_0x3ca950-0x3]=_0x1afc6e[0x1],_0x537cd4[_0x3ca950-0x2]=_0x1afc6e[0x2],_0x537cd4[_0x3ca950-0x1]=_0x1afc6e[0x3],_0x551993?[_0x537cd4,_0x296231]:_0x3dcf2d?(_0xf82c97(_0x296231,_0x1afc6e,_0x537cd4,_0x3ca950,_0x3de96f),[_0x537cd4]):(_0xf82c97(_0x296231,_0x1afc6e,_0x296231,0x0,_0x3de96f),[_0x537cd4,_0x296231])):[_0x537cd4,_0x296231];}[_0x2dc5c6(0x1f4)](_0x4efc97,_0xc3e24,_0x5cba0d,_0x3e3b38){const _0x449eb3=_0x2dc5c6;let _0x9e6977;if(_0x4efc97===void 0x0)_0x9e6977=_0x1fe6a4;else{if(typeof _0x4efc97!=_0x449eb3(0xc8)||!_0x46818d(_0x4efc97))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0xc3e24===void 0x0||!_0xc3e24[_0x449eb3(0xdf)])_0x9e6977=Buffer[_0x449eb3(0x152)](0x2),_0x9e6977[_0x449eb3(0x1f3)](_0x4efc97,0x0);else{const _0x424c5f=Buffer[_0x449eb3(0x228)](_0xc3e24);if(_0x424c5f>0x7b)throw new RangeError(_0x449eb3(0x193));_0x9e6977=Buffer[_0x449eb3(0x152)](0x2+_0x424c5f),_0x9e6977[_0x449eb3(0x1f3)](_0x4efc97,0x0),typeof _0xc3e24==_0x449eb3(0x17c)?_0x9e6977[_0x449eb3(0x1e2)](_0xc3e24,0x2):_0x9e6977[_0x449eb3(0x1f0)](_0xc3e24,0x2);}}const _0x3b9381={[_0x210268]:_0x9e6977['length'],'fin':!0x0,'generateMask':this[_0x449eb3(0xbf)],'mask':_0x5cba0d,'maskBuffer':this[_0x449eb3(0x156)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x449eb3(0x150)]!==_0x5100e5?this[_0x449eb3(0x19b)]([this[_0x449eb3(0x1fc)],_0x9e6977,!0x1,_0x3b9381,_0x3e3b38]):this['sendFrame'](_0x45999a['frame'](_0x9e6977,_0x3b9381),_0x3e3b38);}[_0x2dc5c6(0x1d4)](_0x5c3eba,_0x598cc7,_0x2a47a2){const _0x37e94e=_0x2dc5c6;let _0x282d4f,_0x2bb78c;if(typeof _0x5c3eba==_0x37e94e(0x17c)?(_0x282d4f=Buffer[_0x37e94e(0x228)](_0x5c3eba),_0x2bb78c=!0x1):_0x4b73a0(_0x5c3eba)?(_0x282d4f=_0x5c3eba[_0x37e94e(0x24f)],_0x2bb78c=!0x1):(_0x5c3eba=_0x1ff81c(_0x5c3eba),_0x282d4f=_0x5c3eba[_0x37e94e(0xdf)],_0x2bb78c=_0x1ff81c[_0x37e94e(0x12a)]),_0x282d4f>0x7d)throw new RangeError(_0x37e94e(0xcb));const _0x3adae1={[_0x210268]:_0x282d4f,'fin':!0x0,'generateMask':this[_0x37e94e(0xbf)],'mask':_0x598cc7,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x2bb78c,'rsv1':!0x1};_0x4b73a0(_0x5c3eba)?this[_0x37e94e(0x150)]!==_0x5100e5?this[_0x37e94e(0x19b)]([this[_0x37e94e(0xcc)],_0x5c3eba,!0x1,_0x3adae1,_0x2a47a2]):this[_0x37e94e(0xcc)](_0x5c3eba,!0x1,_0x3adae1,_0x2a47a2):this[_0x37e94e(0x150)]!==_0x5100e5?this[_0x37e94e(0x19b)]([this[_0x37e94e(0x1fc)],_0x5c3eba,!0x1,_0x3adae1,_0x2a47a2]):this['sendFrame'](_0x45999a[_0x37e94e(0x246)](_0x5c3eba,_0x3adae1),_0x2a47a2);}['pong'](_0xdd151c,_0x46804b,_0x4c83db){const _0x38dc61=_0x2dc5c6;let _0xf2cbd,_0x4ff033;if(typeof _0xdd151c==_0x38dc61(0x17c)?(_0xf2cbd=Buffer[_0x38dc61(0x228)](_0xdd151c),_0x4ff033=!0x1):_0x4b73a0(_0xdd151c)?(_0xf2cbd=_0xdd151c['size'],_0x4ff033=!0x1):(_0xdd151c=_0x1ff81c(_0xdd151c),_0xf2cbd=_0xdd151c[_0x38dc61(0xdf)],_0x4ff033=_0x1ff81c['readOnly']),_0xf2cbd>0x7d)throw new RangeError(_0x38dc61(0xcb));const _0xc0a00c={[_0x210268]:_0xf2cbd,'fin':!0x0,'generateMask':this[_0x38dc61(0xbf)],'mask':_0x46804b,'maskBuffer':this[_0x38dc61(0x156)],'opcode':0xa,'readOnly':_0x4ff033,'rsv1':!0x1};_0x4b73a0(_0xdd151c)?this[_0x38dc61(0x150)]!==_0x5100e5?this[_0x38dc61(0x19b)]([this['getBlobData'],_0xdd151c,!0x1,_0xc0a00c,_0x4c83db]):this[_0x38dc61(0xcc)](_0xdd151c,!0x1,_0xc0a00c,_0x4c83db):this[_0x38dc61(0x150)]!==_0x5100e5?this[_0x38dc61(0x19b)]([this[_0x38dc61(0x1fc)],_0xdd151c,!0x1,_0xc0a00c,_0x4c83db]):this[_0x38dc61(0x200)](_0x45999a[_0x38dc61(0x246)](_0xdd151c,_0xc0a00c),_0x4c83db);}[_0x2dc5c6(0x120)](_0x50db3d,_0x53fb76,_0x1ca429){const _0x5e9948=_0x2dc5c6,_0x2cb801=this[_0x5e9948(0x15a)][_0x96bae2[_0x5e9948(0x21b)]];let _0x2c9140=_0x53fb76[_0x5e9948(0xc2)]?0x2:0x1,_0x599943=_0x53fb76[_0x5e9948(0x219)],_0x481d05,_0xda5a7e;typeof _0x50db3d==_0x5e9948(0x17c)?(_0x481d05=Buffer[_0x5e9948(0x228)](_0x50db3d),_0xda5a7e=!0x1):_0x4b73a0(_0x50db3d)?(_0x481d05=_0x50db3d[_0x5e9948(0x24f)],_0xda5a7e=!0x1):(_0x50db3d=_0x1ff81c(_0x50db3d),_0x481d05=_0x50db3d[_0x5e9948(0xdf)],_0xda5a7e=_0x1ff81c['readOnly']),this[_0x5e9948(0x256)]?(this[_0x5e9948(0x256)]=!0x1,_0x599943&&_0x2cb801&&_0x2cb801[_0x5e9948(0x1fa)][_0x2cb801['_isServer']?'server_no_context_takeover':_0x5e9948(0x1f6)]&&(_0x599943=_0x481d05>=_0x2cb801['_threshold']),this[_0x5e9948(0x14f)]=_0x599943):(_0x599943=!0x1,_0x2c9140=0x0),_0x53fb76[_0x5e9948(0x234)]&&(this[_0x5e9948(0x256)]=!0x0);const _0x3e7834={[_0x210268]:_0x481d05,'fin':_0x53fb76[_0x5e9948(0x234)],'generateMask':this[_0x5e9948(0xbf)],'mask':_0x53fb76['mask'],'maskBuffer':this[_0x5e9948(0x156)],'opcode':_0x2c9140,'readOnly':_0xda5a7e,'rsv1':_0x599943};_0x4b73a0(_0x50db3d)?this[_0x5e9948(0x150)]!==_0x5100e5?this[_0x5e9948(0x19b)]([this[_0x5e9948(0xcc)],_0x50db3d,this[_0x5e9948(0x14f)],_0x3e7834,_0x1ca429]):this['getBlobData'](_0x50db3d,this[_0x5e9948(0x14f)],_0x3e7834,_0x1ca429):this[_0x5e9948(0x150)]!==_0x5100e5?this[_0x5e9948(0x19b)]([this['dispatch'],_0x50db3d,this[_0x5e9948(0x14f)],_0x3e7834,_0x1ca429]):this[_0x5e9948(0x1fc)](_0x50db3d,this[_0x5e9948(0x14f)],_0x3e7834,_0x1ca429);}[_0x2dc5c6(0xcc)](_0x697abc,_0x432674,_0x5b7fc0,_0x296903){const _0x3ed540=_0x2dc5c6;this['_bufferedBytes']+=_0x5b7fc0[_0x210268],this[_0x3ed540(0x150)]=_0xfe4eab,_0x697abc[_0x3ed540(0x103)]()[_0x3ed540(0x116)](_0x57f18f=>{const _0xc75ff4=_0x3ed540;if(this[_0xc75ff4(0x125)]['destroyed']){const _0x298d3d=new Error(_0xc75ff4(0xee));process[_0xc75ff4(0x1bb)](_0x3f718b,this,_0x298d3d,_0x296903);return;}this[_0xc75ff4(0xc1)]-=_0x5b7fc0[_0x210268];const _0x3ca5ee=_0x1ff81c(_0x57f18f);_0x432674?this[_0xc75ff4(0x1fc)](_0x3ca5ee,_0x432674,_0x5b7fc0,_0x296903):(this[_0xc75ff4(0x150)]=_0x5100e5,this[_0xc75ff4(0x200)](_0x45999a[_0xc75ff4(0x246)](_0x3ca5ee,_0x5b7fc0),_0x296903),this[_0xc75ff4(0x157)]());})[_0x3ed540(0xda)](_0x25943f=>{const _0x1c30fd=_0x3ed540;process[_0x1c30fd(0x1bb)](_0x155fd6,this,_0x25943f,_0x296903);});}['dispatch'](_0x4c0fa3,_0x34dae3,_0xa593e4,_0x4eb9a5){const _0x1e2b3c=_0x2dc5c6;if(!_0x34dae3){this[_0x1e2b3c(0x200)](_0x45999a[_0x1e2b3c(0x246)](_0x4c0fa3,_0xa593e4),_0x4eb9a5);return;}const _0x253ad6=this[_0x1e2b3c(0x15a)][_0x96bae2[_0x1e2b3c(0x21b)]];this['_bufferedBytes']+=_0xa593e4[_0x210268],this[_0x1e2b3c(0x150)]=_0x144c1a,_0x253ad6[_0x1e2b3c(0x219)](_0x4c0fa3,_0xa593e4[_0x1e2b3c(0x234)],(_0x232af6,_0x5d9d29)=>{const _0x88289d=_0x1e2b3c;if(this[_0x88289d(0x125)][_0x88289d(0xe1)]){const _0x51d5df=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x3f718b(this,_0x51d5df,_0x4eb9a5);return;}this[_0x88289d(0xc1)]-=_0xa593e4[_0x210268],this['_state']=_0x5100e5,_0xa593e4[_0x88289d(0x12a)]=!0x1,this[_0x88289d(0x200)](_0x45999a[_0x88289d(0x246)](_0x5d9d29,_0xa593e4),_0x4eb9a5),this[_0x88289d(0x157)]();});}[_0x2dc5c6(0x157)](){const _0xe034d0=_0x2dc5c6;for(;this['_state']===_0x5100e5&&this[_0xe034d0(0x172)][_0xe034d0(0xdf)];){const _0x5d8e83=this[_0xe034d0(0x172)]['shift']();this['_bufferedBytes']-=_0x5d8e83[0x3][_0x210268],Reflect[_0xe034d0(0xcd)](_0x5d8e83[0x0],this,_0x5d8e83[_0xe034d0(0x249)](0x1));}}[_0x2dc5c6(0x19b)](_0x535a00){const _0x68991=_0x2dc5c6;this[_0x68991(0xc1)]+=_0x535a00[0x3][_0x210268],this[_0x68991(0x172)][_0x68991(0x23f)](_0x535a00);}[_0x2dc5c6(0x200)](_0x1e83a3,_0x400bb4){const _0x130488=_0x2dc5c6;_0x1e83a3['length']===0x2?(this[_0x130488(0x125)][_0x130488(0xf6)](),this['_socket'][_0x130488(0x1e2)](_0x1e83a3[0x0]),this[_0x130488(0x125)][_0x130488(0x1e2)](_0x1e83a3[0x1],_0x400bb4),this[_0x130488(0x125)][_0x130488(0x1e1)]()):this[_0x130488(0x125)][_0x130488(0x1e2)](_0x1e83a3[0x0],_0x400bb4);}}Ee=_0x45999a;function _0x3f718b(_0x2c62e6,_0x1382fd,_0xffc115){const _0x202851=_0x2dc5c6;typeof _0xffc115==_0x202851(0x20a)&&_0xffc115(_0x1382fd);for(let _0x4c6145=0x0;_0x4c6145<_0x2c62e6[_0x202851(0x172)]['length'];_0x4c6145++){const _0x359d35=_0x2c62e6[_0x202851(0x172)][_0x4c6145],_0x27a639=_0x359d35[_0x359d35[_0x202851(0xdf)]-0x1];typeof _0x27a639==_0x202851(0x20a)&&_0x27a639(_0x1382fd);}}function _0x155fd6(_0x17170b,_0x5cebf3,_0x10afc2){const _0x24399f=_0x2dc5c6;_0x3f718b(_0x17170b,_0x5cebf3,_0x10afc2),_0x17170b[_0x24399f(0x1f2)](_0x5cebf3);}return Ee;}var xe,tt;function Kt(){const _0x69f402=_0x1b9afc;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x1a68c7,kListener:_0x30d000}=V(),_0x286176=Symbol(_0x69f402(0x233)),_0x149543=Symbol(_0x69f402(0xe2)),_0xc2048d=Symbol('kError'),_0x2383d5=Symbol(_0x69f402(0x1ad)),_0x1acfc1=Symbol(_0x69f402(0x237)),_0x5c51de=Symbol(_0x69f402(0x136)),_0x210f39=Symbol('kType'),_0x20a41a=Symbol(_0x69f402(0xc6));class _0x3689c4{constructor(_0x894827){this[_0x5c51de]=null,this[_0x210f39]=_0x894827;}get['target'](){return this[_0x5c51de];}get[_0x69f402(0x1dd)](){return this[_0x210f39];}}Object[_0x69f402(0x161)](_0x3689c4[_0x69f402(0x1e6)],_0x69f402(0x1aa),{'enumerable':!0x0}),Object[_0x69f402(0x161)](_0x3689c4['prototype'],_0x69f402(0x1dd),{'enumerable':!0x0});class _0x2b6bac extends _0x3689c4{constructor(_0x5cf6d9,_0x2ae82b={}){const _0x58ca65=_0x69f402;super(_0x5cf6d9),this[_0x286176]=_0x2ae82b[_0x58ca65(0x1af)]===void 0x0?0x0:_0x2ae82b['code'],this[_0x1acfc1]=_0x2ae82b[_0x58ca65(0x1c6)]===void 0x0?'':_0x2ae82b[_0x58ca65(0x1c6)],this[_0x20a41a]=_0x2ae82b[_0x58ca65(0x248)]===void 0x0?!0x1:_0x2ae82b[_0x58ca65(0x248)];}get['code'](){return this[_0x286176];}get[_0x69f402(0x1c6)](){return this[_0x1acfc1];}get['wasClean'](){return this[_0x20a41a];}}Object[_0x69f402(0x161)](_0x2b6bac[_0x69f402(0x1e6)],_0x69f402(0x1af),{'enumerable':!0x0}),Object[_0x69f402(0x161)](_0x2b6bac[_0x69f402(0x1e6)],_0x69f402(0x1c6),{'enumerable':!0x0}),Object[_0x69f402(0x161)](_0x2b6bac[_0x69f402(0x1e6)],_0x69f402(0x248),{'enumerable':!0x0});class _0x59c1cb extends _0x3689c4{constructor(_0x225cb9,_0x22073b={}){const _0x1509e0=_0x69f402;super(_0x225cb9),this[_0xc2048d]=_0x22073b[_0x1509e0(0xf3)]===void 0x0?null:_0x22073b['error'],this[_0x2383d5]=_0x22073b['message']===void 0x0?'':_0x22073b['message'];}get['error'](){return this[_0xc2048d];}get[_0x69f402(0x22f)](){return this[_0x2383d5];}}Object[_0x69f402(0x161)](_0x59c1cb[_0x69f402(0x1e6)],_0x69f402(0xf3),{'enumerable':!0x0}),Object[_0x69f402(0x161)](_0x59c1cb[_0x69f402(0x1e6)],_0x69f402(0x22f),{'enumerable':!0x0});class _0x3b52dd extends _0x3689c4{constructor(_0x405373,_0x4b94ec={}){const _0x1a9ea0=_0x69f402;super(_0x405373),this[_0x149543]=_0x4b94ec['data']===void 0x0?null:_0x4b94ec[_0x1a9ea0(0x212)];}get['data'](){return this[_0x149543];}}Object['defineProperty'](_0x3b52dd[_0x69f402(0x1e6)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x2b6bac,'ErrorEvent':_0x59c1cb,'Event':_0x3689c4,'EventTarget':{'addEventListener'(_0x57fb15,_0x415487,_0x1f1adc={}){const _0x279b24=_0x69f402;for(const _0x2f2ec6 of this['listeners'](_0x57fb15))if(!_0x1f1adc[_0x1a68c7]&&_0x2f2ec6[_0x30d000]===_0x415487&&!_0x2f2ec6[_0x1a68c7])return;let _0x414dc5;if(_0x57fb15==='message')_0x414dc5=function(_0x5b6037,_0x1cb34c){const _0x7b6a77=_0x5965,_0xbc7076=new _0x3b52dd(_0x7b6a77(0x22f),{'data':_0x1cb34c?_0x5b6037:_0x5b6037[_0x7b6a77(0x19a)]()});_0xbc7076[_0x5c51de]=this,_0x401744(_0x415487,this,_0xbc7076);};else{if(_0x57fb15===_0x279b24(0x1f4))_0x414dc5=function(_0x3eb9ea,_0x3bd336){const _0x513d36=_0x279b24,_0x6251af=new _0x2b6bac('close',{'code':_0x3eb9ea,'reason':_0x3bd336[_0x513d36(0x19a)](),'wasClean':this[_0x513d36(0xae)]&&this[_0x513d36(0x239)]});_0x6251af[_0x5c51de]=this,_0x401744(_0x415487,this,_0x6251af);};else{if(_0x57fb15==='error')_0x414dc5=function(_0x18032a){const _0x27ec8b=_0x279b24,_0x245479=new _0x59c1cb(_0x27ec8b(0xf3),{'error':_0x18032a,'message':_0x18032a[_0x27ec8b(0x22f)]});_0x245479[_0x5c51de]=this,_0x401744(_0x415487,this,_0x245479);};else{if(_0x57fb15==='open')_0x414dc5=function(){const _0xbfc6cf=_0x279b24,_0x306b38=new _0x3689c4(_0xbfc6cf(0x17b));_0x306b38[_0x5c51de]=this,_0x401744(_0x415487,this,_0x306b38);};else return;}}}_0x414dc5[_0x1a68c7]=!!_0x1f1adc[_0x1a68c7],_0x414dc5[_0x30d000]=_0x415487,_0x1f1adc[_0x279b24(0x100)]?this['once'](_0x57fb15,_0x414dc5):this['on'](_0x57fb15,_0x414dc5);},'removeEventListener'(_0x3325c1,_0xd58061){const _0x32cf16=_0x69f402;for(const _0x4625eb of this[_0x32cf16(0xa6)](_0x3325c1))if(_0x4625eb[_0x30d000]===_0xd58061&&!_0x4625eb[_0x1a68c7]){this[_0x32cf16(0x118)](_0x3325c1,_0x4625eb);break;}}},'MessageEvent':_0x3b52dd};function _0x401744(_0x1f01cd,_0x1991e9,_0x442e4f){const _0x412350=_0x69f402;typeof _0x1f01cd==_0x412350(0x101)&&_0x1f01cd['handleEvent']?_0x1f01cd[_0x412350(0x185)][_0x412350(0x15d)](_0x1f01cd,_0x442e4f):_0x1f01cd[_0x412350(0x15d)](_0x1991e9,_0x442e4f);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x60e156}=ne();function _0x68f5e5(_0x4fda16,_0x2ab1bb,_0x26eb03){const _0x3d0c45=_0x5965;_0x4fda16[_0x2ab1bb]===void 0x0?_0x4fda16[_0x2ab1bb]=[_0x26eb03]:_0x4fda16[_0x2ab1bb][_0x3d0c45(0x23f)](_0x26eb03);}function _0x10c8a3(_0x2834ae){const _0x17425c=_0x5965,_0x486cc8=Object['create'](null);let _0x106376=Object['create'](null),_0x3e55ff=!0x1,_0x4eea95=!0x1,_0x1f9e32=!0x1,_0x59d3e5,_0x32e867,_0x438d59=-0x1,_0x1dde65=-0x1,_0x4257f9=-0x1,_0x57f87c=0x0;for(;_0x57f87c<_0x2834ae[_0x17425c(0xdf)];_0x57f87c++)if(_0x1dde65=_0x2834ae[_0x17425c(0x113)](_0x57f87c),_0x59d3e5===void 0x0){if(_0x4257f9===-0x1&&_0x60e156[_0x1dde65]===0x1)_0x438d59===-0x1&&(_0x438d59=_0x57f87c);else{if(_0x57f87c!==0x0&&(_0x1dde65===0x20||_0x1dde65===0x9))_0x4257f9===-0x1&&_0x438d59!==-0x1&&(_0x4257f9=_0x57f87c);else{if(_0x1dde65===0x3b||_0x1dde65===0x2c){if(_0x438d59===-0x1)throw new SyntaxError(_0x17425c(0x230)+_0x57f87c);_0x4257f9===-0x1&&(_0x4257f9=_0x57f87c);const _0x41aa04=_0x2834ae[_0x17425c(0x249)](_0x438d59,_0x4257f9);_0x1dde65===0x2c?(_0x68f5e5(_0x486cc8,_0x41aa04,_0x106376),_0x106376=Object[_0x17425c(0x135)](null)):_0x59d3e5=_0x41aa04,_0x438d59=_0x4257f9=-0x1;}else throw new SyntaxError(_0x17425c(0x230)+_0x57f87c);}}}else{if(_0x32e867===void 0x0){if(_0x4257f9===-0x1&&_0x60e156[_0x1dde65]===0x1)_0x438d59===-0x1&&(_0x438d59=_0x57f87c);else{if(_0x1dde65===0x20||_0x1dde65===0x9)_0x4257f9===-0x1&&_0x438d59!==-0x1&&(_0x4257f9=_0x57f87c);else{if(_0x1dde65===0x3b||_0x1dde65===0x2c){if(_0x438d59===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x57f87c);_0x4257f9===-0x1&&(_0x4257f9=_0x57f87c),_0x68f5e5(_0x106376,_0x2834ae['slice'](_0x438d59,_0x4257f9),!0x0),_0x1dde65===0x2c&&(_0x68f5e5(_0x486cc8,_0x59d3e5,_0x106376),_0x106376=Object[_0x17425c(0x135)](null),_0x59d3e5=void 0x0),_0x438d59=_0x4257f9=-0x1;}else{if(_0x1dde65===0x3d&&_0x438d59!==-0x1&&_0x4257f9===-0x1)_0x32e867=_0x2834ae[_0x17425c(0x249)](_0x438d59,_0x57f87c),_0x438d59=_0x4257f9=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x57f87c);}}}}else{if(_0x4eea95){if(_0x60e156[_0x1dde65]!==0x1)throw new SyntaxError(_0x17425c(0x230)+_0x57f87c);_0x438d59===-0x1?_0x438d59=_0x57f87c:_0x3e55ff||(_0x3e55ff=!0x0),_0x4eea95=!0x1;}else{if(_0x1f9e32){if(_0x60e156[_0x1dde65]===0x1)_0x438d59===-0x1&&(_0x438d59=_0x57f87c);else{if(_0x1dde65===0x22&&_0x438d59!==-0x1)_0x1f9e32=!0x1,_0x4257f9=_0x57f87c;else{if(_0x1dde65===0x5c)_0x4eea95=!0x0;else throw new SyntaxError(_0x17425c(0x230)+_0x57f87c);}}}else{if(_0x1dde65===0x22&&_0x2834ae[_0x17425c(0x113)](_0x57f87c-0x1)===0x3d)_0x1f9e32=!0x0;else{if(_0x4257f9===-0x1&&_0x60e156[_0x1dde65]===0x1)_0x438d59===-0x1&&(_0x438d59=_0x57f87c);else{if(_0x438d59!==-0x1&&(_0x1dde65===0x20||_0x1dde65===0x9))_0x4257f9===-0x1&&(_0x4257f9=_0x57f87c);else{if(_0x1dde65===0x3b||_0x1dde65===0x2c){if(_0x438d59===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x57f87c);_0x4257f9===-0x1&&(_0x4257f9=_0x57f87c);let _0x142234=_0x2834ae[_0x17425c(0x249)](_0x438d59,_0x4257f9);_0x3e55ff&&(_0x142234=_0x142234[_0x17425c(0x21e)](/\\/g,''),_0x3e55ff=!0x1),_0x68f5e5(_0x106376,_0x32e867,_0x142234),_0x1dde65===0x2c&&(_0x68f5e5(_0x486cc8,_0x59d3e5,_0x106376),_0x106376=Object[_0x17425c(0x135)](null),_0x59d3e5=void 0x0),_0x32e867=void 0x0,_0x438d59=_0x4257f9=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x57f87c);}}}}}}}if(_0x438d59===-0x1||_0x1f9e32||_0x1dde65===0x20||_0x1dde65===0x9)throw new SyntaxError(_0x17425c(0x1c4));_0x4257f9===-0x1&&(_0x4257f9=_0x57f87c);const _0xc51a15=_0x2834ae['slice'](_0x438d59,_0x4257f9);return _0x59d3e5===void 0x0?_0x68f5e5(_0x486cc8,_0xc51a15,_0x106376):(_0x32e867===void 0x0?_0x68f5e5(_0x106376,_0xc51a15,!0x0):_0x3e55ff?_0x68f5e5(_0x106376,_0x32e867,_0xc51a15['replace'](/\\/g,'')):_0x68f5e5(_0x106376,_0x32e867,_0xc51a15),_0x68f5e5(_0x486cc8,_0x59d3e5,_0x106376)),_0x486cc8;}function _0xd88013(_0x4f890f){const _0xa64bc2=_0x5965;return Object[_0xa64bc2(0x18a)](_0x4f890f)['map'](_0x34f546=>{const _0x372f46=_0xa64bc2;let _0x5f4c16=_0x4f890f[_0x34f546];return Array[_0x372f46(0x178)](_0x5f4c16)||(_0x5f4c16=[_0x5f4c16]),_0x5f4c16[_0x372f46(0x1ae)](_0x224a73=>[_0x34f546][_0x372f46(0x24b)](Object[_0x372f46(0x18a)](_0x224a73)['map'](_0x9fd980=>{const _0x5825f7=_0x372f46;let _0x204d72=_0x224a73[_0x9fd980];return Array[_0x5825f7(0x178)](_0x204d72)||(_0x204d72=[_0x204d72]),_0x204d72[_0x5825f7(0x1ae)](_0x48399c=>_0x48399c===!0x0?_0x9fd980:_0x9fd980+'='+_0x48399c)[_0x5825f7(0x21f)](';\x20');}))[_0x372f46(0x21f)](';\x20'))['join'](',\x20');})['join'](',\x20');}return be={'format':_0xd88013,'parse':_0x10c8a3},be;}var we,st;function Ie(){const _0x53bc89=_0x1b9afc;if(st)return we;st=0x1;const _0x3fd4c0=_0x1e7093,_0x25b180=_0x41926f,_0x4451ab=_0x41c2aa,_0x1a50dd=_0x4fabe2,_0x2daf26=_0x369c01,{randomBytes:_0x39e37c,createHash:_0x5ce09f}=_0x1337dd,{Duplex:_0x337257,Readable:_0x16bd6a}=_0x751d88,{URL:_0x352b1e}=_0x725d3b,_0x4c5bd2=he(),_0x3348d6=dt(),_0xf7bdc8=_t(),{isBlob:_0x5ba89c}=ne(),{BINARY_TYPES:_0x2aa838,EMPTY_BUFFER:_0x4c0622,GUID:_0x28a04c,kForOnEventAttribute:_0x5ed8db,kListener:_0x1cf6ac,kStatusCode:_0x226f72,kWebSocket:_0x1780c9,NOOP:_0x1da228}=V(),{EventTarget:{addEventListener:_0x89a5a5,removeEventListener:_0x41afe6}}=Kt(),{format:_0x52576a,parse:_0x3b5cf7}=pt(),{toBuffer:_0x26a976}=ce(),_0x491707=0x1e*0x3e8,_0x2c3e59=Symbol(_0x53bc89(0x110)),_0x418400=[0x8,0xd],_0x239e4c=[_0x53bc89(0x17f),_0x53bc89(0x142),_0x53bc89(0x173),_0x53bc89(0x119)],_0x3e744c=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3a5f6c extends _0x3fd4c0{constructor(_0xbbddba,_0x5ac34f,_0x28079){const _0x5e342b=_0x53bc89;super(),this[_0x5e342b(0x1d2)]=_0x2aa838[0x0],this['_closeCode']=0x3ee,this[_0x5e342b(0xae)]=!0x1,this[_0x5e342b(0x239)]=!0x1,this[_0x5e342b(0x162)]=_0x4c0622,this[_0x5e342b(0x16c)]=null,this[_0x5e342b(0x220)]=!0x1,this['_extensions']={},this['_paused']=!0x1,this[_0x5e342b(0x1b0)]='',this[_0x5e342b(0x137)]=_0x3a5f6c['CONNECTING'],this[_0x5e342b(0x188)]=null,this[_0x5e342b(0x11c)]=null,this['_socket']=null,_0xbbddba!==null?(this[_0x5e342b(0xed)]=0x0,this[_0x5e342b(0xf1)]=!0x1,this[_0x5e342b(0x229)]=0x0,_0x5ac34f===void 0x0?_0x5ac34f=[]:Array[_0x5e342b(0x178)](_0x5ac34f)||(typeof _0x5ac34f==_0x5e342b(0x101)&&_0x5ac34f!==null?(_0x28079=_0x5ac34f,_0x5ac34f=[]):_0x5ac34f=[_0x5ac34f]),_0x19b43d(this,_0xbbddba,_0x5ac34f,_0x28079)):(this[_0x5e342b(0x1e3)]=_0x28079[_0x5e342b(0xe8)],this['_isServer']=!0x0);}get['binaryType'](){const _0x349b92=_0x53bc89;return this[_0x349b92(0x1d2)];}set[_0x53bc89(0xd6)](_0x38a6da){const _0xee4d08=_0x53bc89;_0x2aa838[_0xee4d08(0x138)](_0x38a6da)&&(this[_0xee4d08(0x1d2)]=_0x38a6da,this[_0xee4d08(0x188)]&&(this[_0xee4d08(0x188)][_0xee4d08(0x1d2)]=_0x38a6da));}get[_0x53bc89(0x22b)](){const _0x13dff3=_0x53bc89;return this[_0x13dff3(0x125)]?this['_socket'][_0x13dff3(0x1ff)]['length']+this[_0x13dff3(0x11c)]['_bufferedBytes']:this[_0x13dff3(0xed)];}get[_0x53bc89(0x166)](){const _0x18a1ce=_0x53bc89;return Object[_0x18a1ce(0x18a)](this[_0x18a1ce(0x15a)])[_0x18a1ce(0x21f)]();}get[_0x53bc89(0x23b)](){const _0x42bd2c=_0x53bc89;return this[_0x42bd2c(0xba)];}get[_0x53bc89(0x14d)](){return null;}get[_0x53bc89(0x1f2)](){return null;}get[_0x53bc89(0x1d1)](){return null;}get['onmessage'](){return null;}get[_0x53bc89(0x1b6)](){const _0x2c207a=_0x53bc89;return this[_0x2c207a(0x1b0)];}get['readyState'](){const _0x458226=_0x53bc89;return this[_0x458226(0x137)];}get['url'](){const _0x17b6b0=_0x53bc89;return this[_0x17b6b0(0xa1)];}['setSocket'](_0x4f91d8,_0x107e38,_0xcd08e1){const _0x982200=_0x53bc89,_0x4a1a4a=new _0x3348d6({'allowSynchronousEvents':_0xcd08e1[_0x982200(0x141)],'binaryType':this[_0x982200(0xd6)],'extensions':this[_0x982200(0x15a)],'isServer':this[_0x982200(0xf1)],'maxPayload':_0xcd08e1[_0x982200(0xb8)],'skipUTF8Validation':_0xcd08e1[_0x982200(0x258)]}),_0x53914c=new _0xf7bdc8(_0x4f91d8,this[_0x982200(0x15a)],_0xcd08e1['generateMask']);this[_0x982200(0x188)]=_0x4a1a4a,this[_0x982200(0x11c)]=_0x53914c,this[_0x982200(0x125)]=_0x4f91d8,_0x4a1a4a[_0x1780c9]=this,_0x53914c[_0x1780c9]=this,_0x4f91d8[_0x1780c9]=this,_0x4a1a4a['on'](_0x982200(0x132),_0x16d0a5),_0x4a1a4a['on']('drain',_0x5634f1),_0x4a1a4a['on'](_0x982200(0xf3),_0x216250),_0x4a1a4a['on'](_0x982200(0x22f),_0x9c13ae),_0x4a1a4a['on'](_0x982200(0x1d4),_0x216c90),_0x4a1a4a['on']('pong',_0x151843),_0x53914c[_0x982200(0x1f2)]=_0x46c005,_0x4f91d8['setTimeout']&&_0x4f91d8[_0x982200(0x23c)](0x0),_0x4f91d8['setNoDelay']&&_0x4f91d8[_0x982200(0x15c)](),_0x107e38['length']>0x0&&_0x4f91d8[_0x982200(0x243)](_0x107e38),_0x4f91d8['on']('close',_0xe7cba),_0x4f91d8['on'](_0x982200(0x212),_0x55db8c),_0x4f91d8['on']('end',_0x246de1),_0x4f91d8['on'](_0x982200(0xf3),_0x7d519f),this[_0x982200(0x137)]=_0x3a5f6c['OPEN'],this[_0x982200(0x159)](_0x982200(0x17b));}['emitClose'](){const _0x1d214c=_0x53bc89;if(!this[_0x1d214c(0x125)]){this['_readyState']=_0x3a5f6c[_0x1d214c(0x119)],this['emit'](_0x1d214c(0x1f4),this[_0x1d214c(0x1fb)],this[_0x1d214c(0x162)]);return;}this[_0x1d214c(0x15a)][_0x4c5bd2[_0x1d214c(0x21b)]]&&this[_0x1d214c(0x15a)][_0x4c5bd2['extensionName']]['cleanup'](),this[_0x1d214c(0x188)][_0x1d214c(0x1c7)](),this[_0x1d214c(0x137)]=_0x3a5f6c['CLOSED'],this[_0x1d214c(0x159)]('close',this['_closeCode'],this['_closeMessage']);}[_0x53bc89(0x1f4)](_0x1df84f,_0x8e5b39){const _0x4f1d95=_0x53bc89;if(this[_0x4f1d95(0x24a)]!==_0x3a5f6c['CLOSED']){if(this[_0x4f1d95(0x24a)]===_0x3a5f6c[_0x4f1d95(0x17f)]){_0x11433f(this,this[_0x4f1d95(0x13e)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x4f1d95(0x24a)]===_0x3a5f6c['CLOSING']){this[_0x4f1d95(0x239)]&&(this['_closeFrameReceived']||this[_0x4f1d95(0x188)][_0x4f1d95(0x1ff)]['errorEmitted'])&&this[_0x4f1d95(0x125)]['end']();return;}this[_0x4f1d95(0x137)]=_0x3a5f6c[_0x4f1d95(0x173)],this[_0x4f1d95(0x11c)][_0x4f1d95(0x1f4)](_0x1df84f,_0x8e5b39,!this[_0x4f1d95(0xf1)],_0x5dc446=>{const _0x34ba9f=_0x4f1d95;_0x5dc446||(this[_0x34ba9f(0x239)]=!0x0,(this[_0x34ba9f(0xae)]||this['_receiver'][_0x34ba9f(0x1ff)][_0x34ba9f(0x24e)])&&this[_0x34ba9f(0x125)][_0x34ba9f(0x106)]());}),_0x56b5cd(this);}}[_0x53bc89(0xbe)](){const _0x415709=_0x53bc89;this['readyState']===_0x3a5f6c[_0x415709(0x17f)]||this[_0x415709(0x24a)]===_0x3a5f6c[_0x415709(0x119)]||(this[_0x415709(0xba)]=!0x0,this[_0x415709(0x125)]['pause']());}[_0x53bc89(0x1d4)](_0xece84f,_0x2f62a7,_0x6497f2){const _0x460503=_0x53bc89;if(this[_0x460503(0x24a)]===_0x3a5f6c['CONNECTING'])throw new Error(_0x460503(0x105));if(typeof _0xece84f==_0x460503(0x20a)?(_0x6497f2=_0xece84f,_0xece84f=_0x2f62a7=void 0x0):typeof _0x2f62a7=='function'&&(_0x6497f2=_0x2f62a7,_0x2f62a7=void 0x0),typeof _0xece84f==_0x460503(0xc8)&&(_0xece84f=_0xece84f[_0x460503(0x19a)]()),this[_0x460503(0x24a)]!==_0x3a5f6c['OPEN']){_0x239c5f(this,_0xece84f,_0x6497f2);return;}_0x2f62a7===void 0x0&&(_0x2f62a7=!this[_0x460503(0xf1)]),this[_0x460503(0x11c)][_0x460503(0x1d4)](_0xece84f||_0x4c0622,_0x2f62a7,_0x6497f2);}[_0x53bc89(0xe6)](_0x29e200,_0x588efc,_0x300471){const _0xb03a30=_0x53bc89;if(this[_0xb03a30(0x24a)]===_0x3a5f6c['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x29e200==_0xb03a30(0x20a)?(_0x300471=_0x29e200,_0x29e200=_0x588efc=void 0x0):typeof _0x588efc==_0xb03a30(0x20a)&&(_0x300471=_0x588efc,_0x588efc=void 0x0),typeof _0x29e200=='number'&&(_0x29e200=_0x29e200['toString']()),this[_0xb03a30(0x24a)]!==_0x3a5f6c['OPEN']){_0x239c5f(this,_0x29e200,_0x300471);return;}_0x588efc===void 0x0&&(_0x588efc=!this[_0xb03a30(0xf1)]),this[_0xb03a30(0x11c)]['pong'](_0x29e200||_0x4c0622,_0x588efc,_0x300471);}[_0x53bc89(0x130)](){const _0x98b6d3=_0x53bc89;this[_0x98b6d3(0x24a)]===_0x3a5f6c[_0x98b6d3(0x17f)]||this[_0x98b6d3(0x24a)]===_0x3a5f6c[_0x98b6d3(0x119)]||(this[_0x98b6d3(0xba)]=!0x1,this[_0x98b6d3(0x188)][_0x98b6d3(0x1ff)][_0x98b6d3(0xec)]||this[_0x98b6d3(0x125)]['resume']());}[_0x53bc89(0x120)](_0x386e78,_0x4dc50a,_0x3e473f){const _0x1b141b=_0x53bc89;if(this[_0x1b141b(0x24a)]===_0x3a5f6c[_0x1b141b(0x17f)])throw new Error(_0x1b141b(0x105));if(typeof _0x4dc50a==_0x1b141b(0x20a)&&(_0x3e473f=_0x4dc50a,_0x4dc50a={}),typeof _0x386e78==_0x1b141b(0xc8)&&(_0x386e78=_0x386e78[_0x1b141b(0x19a)]()),this[_0x1b141b(0x24a)]!==_0x3a5f6c[_0x1b141b(0x142)]){_0x239c5f(this,_0x386e78,_0x3e473f);return;}const _0x5ada3b={'binary':typeof _0x386e78!='string','mask':!this[_0x1b141b(0xf1)],'compress':!0x0,'fin':!0x0,..._0x4dc50a};this[_0x1b141b(0x15a)][_0x4c5bd2[_0x1b141b(0x21b)]]||(_0x5ada3b[_0x1b141b(0x219)]=!0x1),this['_sender'][_0x1b141b(0x120)](_0x386e78||_0x4c0622,_0x5ada3b,_0x3e473f);}[_0x53bc89(0x18f)](){const _0x3bc0df=_0x53bc89;if(this[_0x3bc0df(0x24a)]!==_0x3a5f6c[_0x3bc0df(0x119)]){if(this[_0x3bc0df(0x24a)]===_0x3a5f6c[_0x3bc0df(0x17f)]){_0x11433f(this,this[_0x3bc0df(0x13e)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x3bc0df(0x125)]&&(this['_readyState']=_0x3a5f6c['CLOSING'],this['_socket'][_0x3bc0df(0xdd)]());}}}Object[_0x53bc89(0x161)](_0x3a5f6c,_0x53bc89(0x17f),{'enumerable':!0x0,'value':_0x239e4c[_0x53bc89(0x1ee)](_0x53bc89(0x17f))}),Object[_0x53bc89(0x161)](_0x3a5f6c['prototype'],'CONNECTING',{'enumerable':!0x0,'value':_0x239e4c['indexOf'](_0x53bc89(0x17f))}),Object[_0x53bc89(0x161)](_0x3a5f6c,_0x53bc89(0x142),{'enumerable':!0x0,'value':_0x239e4c[_0x53bc89(0x1ee)](_0x53bc89(0x142))}),Object[_0x53bc89(0x161)](_0x3a5f6c[_0x53bc89(0x1e6)],_0x53bc89(0x142),{'enumerable':!0x0,'value':_0x239e4c[_0x53bc89(0x1ee)]('OPEN')}),Object[_0x53bc89(0x161)](_0x3a5f6c,_0x53bc89(0x173),{'enumerable':!0x0,'value':_0x239e4c[_0x53bc89(0x1ee)](_0x53bc89(0x173))}),Object[_0x53bc89(0x161)](_0x3a5f6c[_0x53bc89(0x1e6)],_0x53bc89(0x173),{'enumerable':!0x0,'value':_0x239e4c[_0x53bc89(0x1ee)](_0x53bc89(0x173))}),Object[_0x53bc89(0x161)](_0x3a5f6c,'CLOSED',{'enumerable':!0x0,'value':_0x239e4c[_0x53bc89(0x1ee)]('CLOSED')}),Object['defineProperty'](_0x3a5f6c['prototype'],_0x53bc89(0x119),{'enumerable':!0x0,'value':_0x239e4c[_0x53bc89(0x1ee)](_0x53bc89(0x119))}),[_0x53bc89(0xd6),'bufferedAmount',_0x53bc89(0x166),'isPaused',_0x53bc89(0x1b6),_0x53bc89(0x24a),_0x53bc89(0x14b)][_0x53bc89(0x1be)](_0x46aa22=>{const _0x5fca9b=_0x53bc89;Object[_0x5fca9b(0x161)](_0x3a5f6c['prototype'],_0x46aa22,{'enumerable':!0x0});}),[_0x53bc89(0x17b),_0x53bc89(0xf3),'close',_0x53bc89(0x22f)][_0x53bc89(0x1be)](_0x5ced78=>{const _0x183488=_0x53bc89;Object[_0x183488(0x161)](_0x3a5f6c['prototype'],'on'+_0x5ced78,{'enumerable':!0x0,'get'(){const _0x36e09e=_0x183488;for(const _0x178f8f of this[_0x36e09e(0xa6)](_0x5ced78))if(_0x178f8f[_0x5ed8db])return _0x178f8f[_0x1cf6ac];return null;},'set'(_0x34a7dc){const _0x27ab55=_0x183488;for(const _0x64baab of this[_0x27ab55(0xa6)](_0x5ced78))if(_0x64baab[_0x5ed8db]){this['removeListener'](_0x5ced78,_0x64baab);break;}typeof _0x34a7dc==_0x27ab55(0x20a)&&this[_0x27ab55(0x221)](_0x5ced78,_0x34a7dc,{[_0x5ed8db]:!0x0});}});}),_0x3a5f6c[_0x53bc89(0x1e6)][_0x53bc89(0x221)]=_0x89a5a5,_0x3a5f6c[_0x53bc89(0x1e6)][_0x53bc89(0x197)]=_0x41afe6,we=_0x3a5f6c;function _0x19b43d(_0x3a0a37,_0x1aa198,_0x5dd5b5,_0x2dca99){const _0x29a7eb=_0x53bc89,_0x1fc176={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x418400[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2dca99,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x29a7eb(0x20b),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3a0a37[_0x29a7eb(0x1e3)]=_0x1fc176[_0x29a7eb(0xe8)],!_0x418400[_0x29a7eb(0x138)](_0x1fc176[_0x29a7eb(0x169)]))throw new RangeError(_0x29a7eb(0x158)+_0x1fc176[_0x29a7eb(0x169)]+_0x29a7eb(0xd1)+_0x418400[_0x29a7eb(0x21f)](',\x20')+')');let _0x50d2b4;if(_0x1aa198 instanceof _0x352b1e)_0x50d2b4=_0x1aa198;else try{_0x50d2b4=new _0x352b1e(_0x1aa198);}catch{throw new SyntaxError(_0x29a7eb(0x1c5)+_0x1aa198);}_0x50d2b4['protocol']==='http:'?_0x50d2b4[_0x29a7eb(0x1b6)]='ws:':_0x50d2b4[_0x29a7eb(0x1b6)]===_0x29a7eb(0x206)&&(_0x50d2b4[_0x29a7eb(0x1b6)]=_0x29a7eb(0x10a)),_0x3a0a37['_url']=_0x50d2b4[_0x29a7eb(0x23d)];const _0x25a061=_0x50d2b4[_0x29a7eb(0x1b6)]===_0x29a7eb(0x10a),_0x167c9d=_0x50d2b4[_0x29a7eb(0x1b6)]==='ws+unix:';let _0x5294c1;if(_0x50d2b4[_0x29a7eb(0x1b6)]!=='ws:'&&!_0x25a061&&!_0x167c9d?_0x5294c1='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':_0x167c9d&&!_0x50d2b4['pathname']?_0x5294c1=_0x29a7eb(0xd0):_0x50d2b4['hash']&&(_0x5294c1=_0x29a7eb(0x127)),_0x5294c1){const _0xab3288=new SyntaxError(_0x5294c1);if(_0x3a0a37['_redirects']===0x0)throw _0xab3288;_0x3b0fb4(_0x3a0a37,_0xab3288);return;}const _0x48f14f=_0x25a061?0x1bb:0x50,_0x34ac21=_0x39e37c(0x10)[_0x29a7eb(0x19a)](_0x29a7eb(0x1d3)),_0x1a27eb=_0x25a061?_0x25b180[_0x29a7eb(0x11a)]:_0x4451ab[_0x29a7eb(0x11a)],_0x539db4=new Set();let _0xe43895;if(_0x1fc176[_0x29a7eb(0x12b)]=_0x1fc176[_0x29a7eb(0x12b)]||(_0x25a061?_0x46fc30:_0xec323e),_0x1fc176[_0x29a7eb(0xde)]=_0x1fc176['defaultPort']||_0x48f14f,_0x1fc176[_0x29a7eb(0x215)]=_0x50d2b4[_0x29a7eb(0x215)]||_0x48f14f,_0x1fc176[_0x29a7eb(0x22d)]=_0x50d2b4[_0x29a7eb(0x211)][_0x29a7eb(0x1b3)]('[')?_0x50d2b4[_0x29a7eb(0x211)]['slice'](0x1,-0x1):_0x50d2b4[_0x29a7eb(0x211)],_0x1fc176[_0x29a7eb(0x227)]={..._0x1fc176[_0x29a7eb(0x227)],'Sec-WebSocket-Version':_0x1fc176['protocolVersion'],'Sec-WebSocket-Key':_0x34ac21,'Connection':_0x29a7eb(0xe4),'Upgrade':_0x29a7eb(0x16a)},_0x1fc176['path']=_0x50d2b4[_0x29a7eb(0xc7)]+_0x50d2b4[_0x29a7eb(0x1f7)],_0x1fc176[_0x29a7eb(0xea)]=_0x1fc176[_0x29a7eb(0x1e7)],_0x1fc176['perMessageDeflate']&&(_0xe43895=new _0x4c5bd2(_0x1fc176[_0x29a7eb(0x1d6)]!==!0x0?_0x1fc176['perMessageDeflate']:{},!0x1,_0x1fc176[_0x29a7eb(0xb8)]),_0x1fc176['headers'][_0x29a7eb(0x15f)]=_0x52576a({[_0x4c5bd2['extensionName']]:_0xe43895[_0x29a7eb(0x226)]()})),_0x5dd5b5[_0x29a7eb(0xdf)]){for(const _0x4268ad of _0x5dd5b5){if(typeof _0x4268ad!='string'||!_0x3e744c[_0x29a7eb(0x1c3)](_0x4268ad)||_0x539db4[_0x29a7eb(0x1b7)](_0x4268ad))throw new SyntaxError(_0x29a7eb(0xaa));_0x539db4[_0x29a7eb(0x247)](_0x4268ad);}_0x1fc176['headers'][_0x29a7eb(0x165)]=_0x5dd5b5[_0x29a7eb(0x21f)](',');}if(_0x1fc176['origin']&&(_0x1fc176[_0x29a7eb(0x169)]<0xd?_0x1fc176[_0x29a7eb(0x227)][_0x29a7eb(0x1ef)]=_0x1fc176[_0x29a7eb(0x144)]:_0x1fc176[_0x29a7eb(0x227)][_0x29a7eb(0x12c)]=_0x1fc176[_0x29a7eb(0x144)]),(_0x50d2b4[_0x29a7eb(0x10e)]||_0x50d2b4[_0x29a7eb(0x1e9)])&&(_0x1fc176['auth']=_0x50d2b4[_0x29a7eb(0x10e)]+':'+_0x50d2b4[_0x29a7eb(0x1e9)]),_0x167c9d){const _0x4820d0=_0x1fc176[_0x29a7eb(0x1a5)][_0x29a7eb(0x207)](':');_0x1fc176[_0x29a7eb(0x22a)]=_0x4820d0[0x0],_0x1fc176[_0x29a7eb(0x1a5)]=_0x4820d0[0x1];}let _0x138d50;if(_0x1fc176[_0x29a7eb(0x1a6)]){if(_0x3a0a37[_0x29a7eb(0x229)]===0x0){_0x3a0a37[_0x29a7eb(0x1e4)]=_0x167c9d,_0x3a0a37[_0x29a7eb(0x19c)]=_0x25a061,_0x3a0a37[_0x29a7eb(0xab)]=_0x167c9d?_0x1fc176[_0x29a7eb(0x22a)]:_0x50d2b4[_0x29a7eb(0x22d)];const _0x432f3c=_0x2dca99&&_0x2dca99['headers'];if(_0x2dca99={..._0x2dca99,'headers':{}},_0x432f3c){for(const [_0x293290,_0x531f7c]of Object[_0x29a7eb(0x170)](_0x432f3c))_0x2dca99[_0x29a7eb(0x227)][_0x293290['toLowerCase']()]=_0x531f7c;}}else{if(_0x3a0a37[_0x29a7eb(0xd8)]('redirect')===0x0){const _0x5d573c=_0x167c9d?_0x3a0a37['_originalIpc']?_0x1fc176[_0x29a7eb(0x22a)]===_0x3a0a37[_0x29a7eb(0xab)]:!0x1:_0x3a0a37['_originalIpc']?!0x1:_0x50d2b4[_0x29a7eb(0x22d)]===_0x3a0a37[_0x29a7eb(0xab)];(!_0x5d573c||_0x3a0a37[_0x29a7eb(0x19c)]&&!_0x25a061)&&(delete _0x1fc176[_0x29a7eb(0x227)]['authorization'],delete _0x1fc176[_0x29a7eb(0x227)][_0x29a7eb(0x111)],_0x5d573c||delete _0x1fc176[_0x29a7eb(0x227)][_0x29a7eb(0x22d)],_0x1fc176[_0x29a7eb(0xd5)]=void 0x0);}}_0x1fc176[_0x29a7eb(0xd5)]&&!_0x2dca99[_0x29a7eb(0x227)]['authorization']&&(_0x2dca99[_0x29a7eb(0x227)][_0x29a7eb(0xac)]=_0x29a7eb(0x17d)+Buffer[_0x29a7eb(0x1cc)](_0x1fc176['auth'])[_0x29a7eb(0x19a)]('base64')),_0x138d50=_0x3a0a37[_0x29a7eb(0x13e)]=_0x1a27eb(_0x1fc176),_0x3a0a37[_0x29a7eb(0x229)]&&_0x3a0a37[_0x29a7eb(0x159)](_0x29a7eb(0x1b2),_0x3a0a37[_0x29a7eb(0x14b)],_0x138d50);}else _0x138d50=_0x3a0a37['_req']=_0x1a27eb(_0x1fc176);_0x1fc176[_0x29a7eb(0xea)]&&_0x138d50['on'](_0x29a7eb(0xea),()=>{const _0x1c4ae9=_0x29a7eb;_0x11433f(_0x3a0a37,_0x138d50,_0x1c4ae9(0x189));}),_0x138d50['on'](_0x29a7eb(0xf3),_0x28fc2e=>{const _0x48490a=_0x29a7eb;_0x138d50===null||_0x138d50[_0x2c3e59]||(_0x138d50=_0x3a0a37[_0x48490a(0x13e)]=null,_0x3b0fb4(_0x3a0a37,_0x28fc2e));}),_0x138d50['on']('response',_0x1f4640=>{const _0x413a1f=_0x29a7eb,_0x2f7196=_0x1f4640['headers'][_0x413a1f(0x10b)],_0x283080=_0x1f4640['statusCode'];if(_0x2f7196&&_0x1fc176[_0x413a1f(0x1a6)]&&_0x283080>=0x12c&&_0x283080<0x190){if(++_0x3a0a37[_0x413a1f(0x229)]>_0x1fc176[_0x413a1f(0x140)]){_0x11433f(_0x3a0a37,_0x138d50,_0x413a1f(0x1c1));return;}_0x138d50['abort']();let _0x369894;try{_0x369894=new _0x352b1e(_0x2f7196,_0x1aa198);}catch{const _0x2df376=new SyntaxError(_0x413a1f(0x1c5)+_0x2f7196);_0x3b0fb4(_0x3a0a37,_0x2df376);return;}_0x19b43d(_0x3a0a37,_0x369894,_0x5dd5b5,_0x2dca99);}else _0x3a0a37[_0x413a1f(0x159)](_0x413a1f(0x1cd),_0x138d50,_0x1f4640)||_0x11433f(_0x3a0a37,_0x138d50,_0x413a1f(0x14e)+_0x1f4640['statusCode']);}),_0x138d50['on']('upgrade',(_0x3752b0,_0x1112c8,_0xe40188)=>{const _0x5d65ed=_0x29a7eb;if(_0x3a0a37[_0x5d65ed(0x159)](_0x5d65ed(0xc3),_0x3752b0),_0x3a0a37[_0x5d65ed(0x24a)]!==_0x3a5f6c[_0x5d65ed(0x17f)])return;_0x138d50=_0x3a0a37[_0x5d65ed(0x13e)]=null;const _0x46ec4c=_0x3752b0[_0x5d65ed(0x227)]['upgrade'];if(_0x46ec4c===void 0x0||_0x46ec4c[_0x5d65ed(0x114)]()!==_0x5d65ed(0x16a)){_0x11433f(_0x3a0a37,_0x1112c8,_0x5d65ed(0x177));return;}const _0x4a617d=_0x5ce09f('sha1')['update'](_0x34ac21+_0x28a04c)[_0x5d65ed(0x11b)]('base64');if(_0x3752b0[_0x5d65ed(0x227)][_0x5d65ed(0xdb)]!==_0x4a617d){_0x11433f(_0x3a0a37,_0x1112c8,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0xe89b2a=_0x3752b0[_0x5d65ed(0x227)]['sec-websocket-protocol'];let _0xdb097b;if(_0xe89b2a!==void 0x0?_0x539db4[_0x5d65ed(0x24f)]?_0x539db4[_0x5d65ed(0x1b7)](_0xe89b2a)||(_0xdb097b=_0x5d65ed(0x214)):_0xdb097b='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x539db4['size']&&(_0xdb097b=_0x5d65ed(0xd2)),_0xdb097b){_0x11433f(_0x3a0a37,_0x1112c8,_0xdb097b);return;}_0xe89b2a&&(_0x3a0a37[_0x5d65ed(0x1b0)]=_0xe89b2a);const _0x3b95d3=_0x3752b0[_0x5d65ed(0x227)][_0x5d65ed(0x16d)];if(_0x3b95d3!==void 0x0){if(!_0xe43895){_0x11433f(_0x3a0a37,_0x1112c8,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x5b4be1;try{_0x5b4be1=_0x3b5cf7(_0x3b95d3);}catch{_0x11433f(_0x3a0a37,_0x1112c8,_0x5d65ed(0x231));return;}const _0x250429=Object[_0x5d65ed(0x18a)](_0x5b4be1);if(_0x250429['length']!==0x1||_0x250429[0x0]!==_0x4c5bd2[_0x5d65ed(0x21b)]){_0x11433f(_0x3a0a37,_0x1112c8,_0x5d65ed(0x236));return;}try{_0xe43895['accept'](_0x5b4be1[_0x4c5bd2[_0x5d65ed(0x21b)]]);}catch{_0x11433f(_0x3a0a37,_0x1112c8,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x3a0a37['_extensions'][_0x4c5bd2['extensionName']]=_0xe43895;}_0x3a0a37['setSocket'](_0x1112c8,_0xe40188,{'allowSynchronousEvents':_0x1fc176[_0x5d65ed(0x141)],'generateMask':_0x1fc176['generateMask'],'maxPayload':_0x1fc176[_0x5d65ed(0xb8)],'skipUTF8Validation':_0x1fc176[_0x5d65ed(0x258)]});}),_0x1fc176[_0x29a7eb(0x1cf)]?_0x1fc176[_0x29a7eb(0x1cf)](_0x138d50,_0x3a0a37):_0x138d50[_0x29a7eb(0x106)]();}function _0x3b0fb4(_0x51d2f8,_0x1283d4){const _0x577576=_0x53bc89;_0x51d2f8[_0x577576(0x137)]=_0x3a5f6c['CLOSING'],_0x51d2f8[_0x577576(0x220)]=!0x0,_0x51d2f8['emit'](_0x577576(0xf3),_0x1283d4),_0x51d2f8[_0x577576(0x112)]();}function _0xec323e(_0x39e33b){const _0x2a4b55=_0x53bc89;return _0x39e33b[_0x2a4b55(0x1a5)]=_0x39e33b[_0x2a4b55(0x22a)],_0x1a50dd[_0x2a4b55(0x225)](_0x39e33b);}function _0x46fc30(_0x45d6a8){const _0x5067b3=_0x53bc89;return _0x45d6a8[_0x5067b3(0x1a5)]=void 0x0,!_0x45d6a8[_0x5067b3(0xfd)]&&_0x45d6a8[_0x5067b3(0xfd)]!==''&&(_0x45d6a8['servername']=_0x1a50dd[_0x5067b3(0x1b4)](_0x45d6a8['host'])?'':_0x45d6a8['host']),_0x2daf26['connect'](_0x45d6a8);}function _0x11433f(_0x2590b4,_0x2c474d,_0x2e05ec){const _0x28b2e5=_0x53bc89;_0x2590b4[_0x28b2e5(0x137)]=_0x3a5f6c[_0x28b2e5(0x173)];const _0x2d1969=new Error(_0x2e05ec);Error['captureStackTrace'](_0x2d1969,_0x11433f),_0x2c474d['setHeader']?(_0x2c474d[_0x2c3e59]=!0x0,_0x2c474d[_0x28b2e5(0x210)](),_0x2c474d[_0x28b2e5(0x163)]&&!_0x2c474d[_0x28b2e5(0x163)][_0x28b2e5(0xe1)]&&_0x2c474d[_0x28b2e5(0x163)][_0x28b2e5(0xdd)](),process['nextTick'](_0x3b0fb4,_0x2590b4,_0x2d1969)):(_0x2c474d[_0x28b2e5(0xdd)](_0x2d1969),_0x2c474d[_0x28b2e5(0x100)](_0x28b2e5(0xf3),_0x2590b4[_0x28b2e5(0x159)][_0x28b2e5(0x109)](_0x2590b4,_0x28b2e5(0xf3))),_0x2c474d[_0x28b2e5(0x100)](_0x28b2e5(0x1f4),_0x2590b4[_0x28b2e5(0x112)][_0x28b2e5(0x109)](_0x2590b4)));}function _0x239c5f(_0x24e916,_0x7b90ec,_0xd7d0d3){const _0x2feb07=_0x53bc89;if(_0x7b90ec){const _0x39a06f=_0x5ba89c(_0x7b90ec)?_0x7b90ec[_0x2feb07(0x24f)]:_0x26a976(_0x7b90ec)[_0x2feb07(0xdf)];_0x24e916[_0x2feb07(0x125)]?_0x24e916[_0x2feb07(0x11c)]['_bufferedBytes']+=_0x39a06f:_0x24e916['_bufferedAmount']+=_0x39a06f;}if(_0xd7d0d3){const _0x4a9b1e=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x24e916['readyState']+'\x20('+_0x239e4c[_0x24e916[_0x2feb07(0x24a)]]+')');process['nextTick'](_0xd7d0d3,_0x4a9b1e);}}function _0x16d0a5(_0x1b9391,_0x2fc15d){const _0x5c6d29=_0x53bc89,_0xadfe2e=this[_0x1780c9];_0xadfe2e[_0x5c6d29(0xae)]=!0x0,_0xadfe2e[_0x5c6d29(0x162)]=_0x2fc15d,_0xadfe2e[_0x5c6d29(0x1fb)]=_0x1b9391,_0xadfe2e['_socket'][_0x1780c9]!==void 0x0&&(_0xadfe2e[_0x5c6d29(0x125)][_0x5c6d29(0x118)](_0x5c6d29(0x212),_0x55db8c),process[_0x5c6d29(0x1bb)](_0x41f983,_0xadfe2e['_socket']),_0x1b9391===0x3ed?_0xadfe2e['close']():_0xadfe2e[_0x5c6d29(0x1f4)](_0x1b9391,_0x2fc15d));}function _0x5634f1(){const _0x3707f0=_0x53bc89,_0x52c94b=this[_0x1780c9];_0x52c94b['isPaused']||_0x52c94b[_0x3707f0(0x125)]['resume']();}function _0x216250(_0x517d89){const _0x35c398=_0x53bc89,_0x779122=this[_0x1780c9];_0x779122[_0x35c398(0x125)][_0x1780c9]!==void 0x0&&(_0x779122[_0x35c398(0x125)]['removeListener']('data',_0x55db8c),process[_0x35c398(0x1bb)](_0x41f983,_0x779122[_0x35c398(0x125)]),_0x779122[_0x35c398(0x1f4)](_0x517d89[_0x226f72])),_0x779122[_0x35c398(0x220)]||(_0x779122[_0x35c398(0x220)]=!0x0,_0x779122['emit'](_0x35c398(0xf3),_0x517d89));}function _0x3f65c7(){const _0x1daadf=_0x53bc89;this[_0x1780c9][_0x1daadf(0x112)]();}function _0x9c13ae(_0x360cbf,_0x46581b){const _0x67292a=_0x53bc89;this[_0x1780c9][_0x67292a(0x159)](_0x67292a(0x22f),_0x360cbf,_0x46581b);}function _0x216c90(_0x24e8fb){const _0x1d0d4b=_0x53bc89,_0x39249c=this[_0x1780c9];_0x39249c['_autoPong']&&_0x39249c[_0x1d0d4b(0xe6)](_0x24e8fb,!this['_isServer'],_0x1da228),_0x39249c['emit'](_0x1d0d4b(0x1d4),_0x24e8fb);}function _0x151843(_0x7bc20a){const _0x323b58=_0x53bc89;this[_0x1780c9]['emit'](_0x323b58(0xe6),_0x7bc20a);}function _0x41f983(_0x54e8d5){_0x54e8d5['resume']();}function _0x46c005(_0x58f69b){const _0x8b7285=_0x53bc89,_0x14ec68=this[_0x1780c9];_0x14ec68[_0x8b7285(0x24a)]!==_0x3a5f6c[_0x8b7285(0x119)]&&(_0x14ec68[_0x8b7285(0x24a)]===_0x3a5f6c[_0x8b7285(0x142)]&&(_0x14ec68[_0x8b7285(0x137)]=_0x3a5f6c[_0x8b7285(0x173)],_0x56b5cd(_0x14ec68)),this[_0x8b7285(0x125)][_0x8b7285(0x106)](),_0x14ec68[_0x8b7285(0x220)]||(_0x14ec68[_0x8b7285(0x220)]=!0x0,_0x14ec68[_0x8b7285(0x159)](_0x8b7285(0xf3),_0x58f69b)));}function _0x56b5cd(_0x1f9607){const _0x40ff9b=_0x53bc89;_0x1f9607[_0x40ff9b(0x16c)]=setTimeout(_0x1f9607[_0x40ff9b(0x125)]['destroy'][_0x40ff9b(0x109)](_0x1f9607[_0x40ff9b(0x125)]),_0x491707);}function _0xe7cba(){const _0x237b5e=_0x53bc89,_0x594d18=this[_0x1780c9];this[_0x237b5e(0x118)](_0x237b5e(0x1f4),_0xe7cba),this[_0x237b5e(0x118)]('data',_0x55db8c),this[_0x237b5e(0x118)]('end',_0x246de1),_0x594d18[_0x237b5e(0x137)]=_0x3a5f6c[_0x237b5e(0x173)];let _0x52dcfb;!this['_readableState'][_0x237b5e(0xe3)]&&!_0x594d18[_0x237b5e(0xae)]&&!_0x594d18[_0x237b5e(0x188)][_0x237b5e(0x1ff)][_0x237b5e(0x24e)]&&(_0x52dcfb=_0x594d18[_0x237b5e(0x125)][_0x237b5e(0x17e)]())!==null&&_0x594d18[_0x237b5e(0x188)][_0x237b5e(0x1e2)](_0x52dcfb),_0x594d18[_0x237b5e(0x188)]['end'](),this[_0x1780c9]=void 0x0,clearTimeout(_0x594d18[_0x237b5e(0x16c)]),_0x594d18[_0x237b5e(0x188)][_0x237b5e(0x1ff)][_0x237b5e(0x1e8)]||_0x594d18[_0x237b5e(0x188)]['_writableState'][_0x237b5e(0x24e)]?_0x594d18[_0x237b5e(0x112)]():(_0x594d18[_0x237b5e(0x188)]['on']('error',_0x3f65c7),_0x594d18[_0x237b5e(0x188)]['on'](_0x237b5e(0x1fd),_0x3f65c7));}function _0x55db8c(_0x1e97a3){const _0x33ff07=_0x53bc89;this[_0x1780c9][_0x33ff07(0x188)][_0x33ff07(0x1e2)](_0x1e97a3)||this[_0x33ff07(0xbe)]();}function _0x246de1(){const _0x342729=_0x53bc89,_0x4368ae=this[_0x1780c9];_0x4368ae[_0x342729(0x137)]=_0x3a5f6c[_0x342729(0x173)],_0x4368ae[_0x342729(0x188)]['end'](),this[_0x342729(0x106)]();}function _0x7d519f(){const _0x1cc0d7=_0x53bc89,_0x4a1d27=this[_0x1780c9];this[_0x1cc0d7(0x118)]('error',_0x7d519f),this['on'](_0x1cc0d7(0xf3),_0x1da228),_0x4a1d27&&(_0x4a1d27[_0x1cc0d7(0x137)]=_0x3a5f6c[_0x1cc0d7(0x173)],this[_0x1cc0d7(0xdd)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x364ed4}=_0x751d88;function _0x48e196(_0x49a689){const _0x1ba354=_0x5965;_0x49a689[_0x1ba354(0x159)]('close');}function _0x9d2c1a(){const _0x5ef763=_0x5965;!this[_0x5ef763(0xe1)]&&this[_0x5ef763(0x1ff)][_0x5ef763(0x1e8)]&&this[_0x5ef763(0xdd)]();}function _0xd0674a(_0x4146ba){const _0x5d2adc=_0x5965;this[_0x5d2adc(0x118)](_0x5d2adc(0xf3),_0xd0674a),this['destroy'](),this[_0x5d2adc(0xd8)](_0x5d2adc(0xf3))===0x0&&this[_0x5d2adc(0x159)](_0x5d2adc(0xf3),_0x4146ba);}function _0x49a2b0(_0x518e98,_0x2bdb95){const _0x230c2f=_0x5965;let _0x1c1acf=!0x0;const _0x10f03f=new _0x364ed4({..._0x2bdb95,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x518e98['on'](_0x230c2f(0x22f),function(_0xa107bd,_0x2782b3){const _0x4c7f3a=_0x230c2f,_0x5a6e8e=!_0x2782b3&&_0x10f03f['_readableState'][_0x4c7f3a(0x1e5)]?_0xa107bd[_0x4c7f3a(0x19a)]():_0xa107bd;_0x10f03f[_0x4c7f3a(0x23f)](_0x5a6e8e)||_0x518e98[_0x4c7f3a(0xbe)]();}),_0x518e98[_0x230c2f(0x100)](_0x230c2f(0xf3),function(_0x3e43b5){const _0x5a537d=_0x230c2f;_0x10f03f[_0x5a537d(0xe1)]||(_0x1c1acf=!0x1,_0x10f03f[_0x5a537d(0xdd)](_0x3e43b5));}),_0x518e98[_0x230c2f(0x100)](_0x230c2f(0x1f4),function(){const _0x3c779d=_0x230c2f;_0x10f03f[_0x3c779d(0xe1)]||_0x10f03f[_0x3c779d(0x23f)](null);}),_0x10f03f['_destroy']=function(_0x2600e8,_0x28136a){const _0x86c1de=_0x230c2f;if(_0x518e98['readyState']===_0x518e98['CLOSED']){_0x28136a(_0x2600e8),process['nextTick'](_0x48e196,_0x10f03f);return;}let _0x37e376=!0x1;_0x518e98[_0x86c1de(0x100)](_0x86c1de(0xf3),function(_0x489f0b){_0x37e376=!0x0,_0x28136a(_0x489f0b);}),_0x518e98['once'](_0x86c1de(0x1f4),function(){const _0x181774=_0x86c1de;_0x37e376||_0x28136a(_0x2600e8),process[_0x181774(0x1bb)](_0x48e196,_0x10f03f);}),_0x1c1acf&&_0x518e98['terminate']();},_0x10f03f[_0x230c2f(0x1f8)]=function(_0x475fdf){const _0x348a68=_0x230c2f;if(_0x518e98[_0x348a68(0x24a)]===_0x518e98[_0x348a68(0x17f)]){_0x518e98[_0x348a68(0x100)]('open',function(){const _0x49ee54=_0x348a68;_0x10f03f[_0x49ee54(0x1f8)](_0x475fdf);});return;}_0x518e98['_socket']!==null&&(_0x518e98[_0x348a68(0x125)]['_writableState'][_0x348a68(0x1e8)]?(_0x475fdf(),_0x10f03f[_0x348a68(0x147)][_0x348a68(0xe3)]&&_0x10f03f[_0x348a68(0xdd)]()):(_0x518e98['_socket']['once'](_0x348a68(0x1fd),function(){_0x475fdf();}),_0x518e98[_0x348a68(0x1f4)]()));},_0x10f03f[_0x230c2f(0x175)]=function(){const _0x47c5b4=_0x230c2f;_0x518e98[_0x47c5b4(0x23b)]&&_0x518e98[_0x47c5b4(0x130)]();},_0x10f03f['_write']=function(_0x1750dc,_0x2b658a,_0x2f9602){const _0x4fcb86=_0x230c2f;if(_0x518e98[_0x4fcb86(0x24a)]===_0x518e98['CONNECTING']){_0x518e98[_0x4fcb86(0x100)](_0x4fcb86(0x17b),function(){_0x10f03f['_write'](_0x1750dc,_0x2b658a,_0x2f9602);});return;}_0x518e98['send'](_0x1750dc,_0x2f9602);},_0x10f03f['on'](_0x230c2f(0x106),_0x9d2c1a),_0x10f03f['on'](_0x230c2f(0xf3),_0xd0674a),_0x10f03f;}return Oe=_0x49a2b0,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x58da43}=ne();function _0x36f274(_0x516280){const _0x44df48=_0x5965,_0x2326a6=new Set();let _0x20ded7=-0x1,_0x9b1012=-0x1,_0xd319f=0x0;for(_0xd319f;_0xd319f<_0x516280['length'];_0xd319f++){const _0x3fbb91=_0x516280[_0x44df48(0x113)](_0xd319f);if(_0x9b1012===-0x1&&_0x58da43[_0x3fbb91]===0x1)_0x20ded7===-0x1&&(_0x20ded7=_0xd319f);else{if(_0xd319f!==0x0&&(_0x3fbb91===0x20||_0x3fbb91===0x9))_0x9b1012===-0x1&&_0x20ded7!==-0x1&&(_0x9b1012=_0xd319f);else{if(_0x3fbb91===0x2c){if(_0x20ded7===-0x1)throw new SyntaxError(_0x44df48(0x230)+_0xd319f);_0x9b1012===-0x1&&(_0x9b1012=_0xd319f);const _0x1967a0=_0x516280[_0x44df48(0x249)](_0x20ded7,_0x9b1012);if(_0x2326a6[_0x44df48(0x1b7)](_0x1967a0))throw new SyntaxError(_0x44df48(0xdc)+_0x1967a0+'\x22\x20subprotocol\x20is\x20duplicated');_0x2326a6[_0x44df48(0x247)](_0x1967a0),_0x20ded7=_0x9b1012=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xd319f);}}}if(_0x20ded7===-0x1||_0x9b1012!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x3fd090=_0x516280[_0x44df48(0x249)](_0x20ded7,_0xd319f);if(_0x2326a6[_0x44df48(0x1b7)](_0x3fd090))throw new SyntaxError('The\x20\x22'+_0x3fd090+_0x44df48(0xc4));return _0x2326a6[_0x44df48(0x247)](_0x3fd090),_0x2326a6;}return Ce={'parse':_0x36f274},Ce;}var Te,ot;function er(){const _0x2ddbd4=_0x1b9afc;if(ot)return Te;ot=0x1;const _0x2274f9=_0x1e7093,_0x2cd980=_0x41c2aa,{Duplex:_0x34ff90}=_0x751d88,{createHash:_0x1728bc}=_0x1337dd,_0xf145f0=pt(),_0x510947=he(),_0x3b7d69=Jt(),_0x3b624c=Ie(),{GUID:_0x420494,kWebSocket:_0x1d5d4f}=V(),_0x1836ca=/^[+/0-9A-Za-z]{22}==$/,_0x385aa3=0x0,_0x3ed0ac=0x1,_0x111b4b=0x2;class _0x51adcf extends _0x2274f9{constructor(_0x5082b7,_0x3454b5){const _0x558687=_0x5965;if(super(),_0x5082b7={'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':_0x3b624c,..._0x5082b7},_0x5082b7[_0x558687(0x215)]==null&&!_0x5082b7[_0x558687(0x107)]&&!_0x5082b7[_0x558687(0x245)]||_0x5082b7[_0x558687(0x215)]!=null&&(_0x5082b7[_0x558687(0x107)]||_0x5082b7[_0x558687(0x245)])||_0x5082b7['server']&&_0x5082b7[_0x558687(0x245)])throw new TypeError(_0x558687(0x217));if(_0x5082b7[_0x558687(0x215)]!=null?(this[_0x558687(0x251)]=_0x2cd980['createServer']((_0x476474,_0x14a602)=>{const _0x1adc05=_0x558687,_0x51abe1=_0x2cd980[_0x1adc05(0x174)][0x1aa];_0x14a602['writeHead'](0x1aa,{'Content-Length':_0x51abe1[_0x1adc05(0xdf)],'Content-Type':_0x1adc05(0x232)}),_0x14a602[_0x1adc05(0x106)](_0x51abe1);}),this[_0x558687(0x251)][_0x558687(0x15b)](_0x5082b7[_0x558687(0x215)],_0x5082b7[_0x558687(0x22d)],_0x5082b7[_0x558687(0x13b)],_0x3454b5)):_0x5082b7[_0x558687(0x107)]&&(this[_0x558687(0x251)]=_0x5082b7[_0x558687(0x107)]),this['_server']){const _0x19a111=this[_0x558687(0x159)][_0x558687(0x109)](this,_0x558687(0x13c));this[_0x558687(0x1cb)]=_0x5f22bb(this[_0x558687(0x251)],{'listening':this[_0x558687(0x159)][_0x558687(0x109)](this,_0x558687(0x102)),'error':this[_0x558687(0x159)]['bind'](this,_0x558687(0xf3)),'upgrade':(_0x2f07fd,_0x4856c3,_0x365a2e)=>{const _0x161c8e=_0x558687;this[_0x161c8e(0x16b)](_0x2f07fd,_0x4856c3,_0x365a2e,_0x19a111);}});}_0x5082b7['perMessageDeflate']===!0x0&&(_0x5082b7[_0x558687(0x1d6)]={}),_0x5082b7[_0x558687(0xb5)]&&(this[_0x558687(0x16e)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x558687(0x10c)]=_0x5082b7,this['_state']=_0x385aa3;}[_0x2ddbd4(0x1c2)](){const _0x2e0315=_0x2ddbd4;if(this[_0x2e0315(0x10c)][_0x2e0315(0x245)])throw new Error(_0x2e0315(0x1ea));return this['_server']?this[_0x2e0315(0x251)][_0x2e0315(0x1c2)]():null;}['close'](_0x38492d){const _0xdca4a2=_0x2ddbd4;if(this[_0xdca4a2(0x150)]===_0x111b4b){_0x38492d&&this[_0xdca4a2(0x100)]('close',()=>{_0x38492d(new Error('The\x20server\x20is\x20not\x20running'));}),process['nextTick'](_0x32e4d2,this);return;}if(_0x38492d&&this[_0xdca4a2(0x100)](_0xdca4a2(0x1f4),_0x38492d),this[_0xdca4a2(0x150)]!==_0x3ed0ac){if(this[_0xdca4a2(0x150)]=_0x3ed0ac,this['options'][_0xdca4a2(0x245)]||this['options'][_0xdca4a2(0x107)])this[_0xdca4a2(0x251)]&&(this[_0xdca4a2(0x1cb)](),this[_0xdca4a2(0x1cb)]=this[_0xdca4a2(0x251)]=null),this[_0xdca4a2(0x16e)]?this['clients']['size']?this[_0xdca4a2(0x24d)]=!0x0:process['nextTick'](_0x32e4d2,this):process[_0xdca4a2(0x1bb)](_0x32e4d2,this);else{const _0x4d206e=this[_0xdca4a2(0x251)];this[_0xdca4a2(0x1cb)](),this[_0xdca4a2(0x1cb)]=this[_0xdca4a2(0x251)]=null,_0x4d206e[_0xdca4a2(0x1f4)](()=>{_0x32e4d2(this);});}}}['shouldHandle'](_0xdc9d7){const _0x25cb38=_0x2ddbd4;if(this[_0x25cb38(0x10c)]['path']){const _0x363cee=_0xdc9d7[_0x25cb38(0x14b)]['indexOf']('?');if((_0x363cee!==-0x1?_0xdc9d7[_0x25cb38(0x14b)][_0x25cb38(0x249)](0x0,_0x363cee):_0xdc9d7[_0x25cb38(0x14b)])!==this[_0x25cb38(0x10c)][_0x25cb38(0x1a5)])return!0x1;}return!0x0;}[_0x2ddbd4(0x16b)](_0x21a167,_0x37631e,_0x1f9083,_0x1c2bae){const _0x47d78e=_0x2ddbd4;_0x37631e['on'](_0x47d78e(0xf3),_0x2a24fc);const _0x32e107=_0x21a167['headers'][_0x47d78e(0x241)],_0x4c08c7=_0x21a167['headers'][_0x47d78e(0xc3)],_0x41d13f=+_0x21a167['headers'][_0x47d78e(0x12f)];if(_0x21a167[_0x47d78e(0x20e)]!==_0x47d78e(0x20b)){_0x10aed7(this,_0x21a167,_0x37631e,0x195,_0x47d78e(0x12e));return;}if(_0x4c08c7===void 0x0||_0x4c08c7[_0x47d78e(0x114)]()!==_0x47d78e(0x16a)){_0x10aed7(this,_0x21a167,_0x37631e,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x32e107===void 0x0||!_0x1836ca['test'](_0x32e107)){_0x10aed7(this,_0x21a167,_0x37631e,0x190,_0x47d78e(0x11f));return;}if(_0x41d13f!==0x8&&_0x41d13f!==0xd){_0x10aed7(this,_0x21a167,_0x37631e,0x190,_0x47d78e(0x11d));return;}if(!this[_0x47d78e(0x23a)](_0x21a167)){_0xe75640(_0x37631e,0x190);return;}const _0x15d302=_0x21a167['headers']['sec-websocket-protocol'];let _0x43cee0=new Set();if(_0x15d302!==void 0x0)try{_0x43cee0=_0x3b7d69[_0x47d78e(0x222)](_0x15d302);}catch{_0x10aed7(this,_0x21a167,_0x37631e,0x190,_0x47d78e(0x1b5));return;}const _0x548179=_0x21a167[_0x47d78e(0x227)][_0x47d78e(0x16d)],_0x559213={};if(this[_0x47d78e(0x10c)]['perMessageDeflate']&&_0x548179!==void 0x0){const _0x50ca54=new _0x510947(this[_0x47d78e(0x10c)][_0x47d78e(0x1d6)],!0x0,this[_0x47d78e(0x10c)][_0x47d78e(0xb8)]);try{const _0x26160a=_0xf145f0[_0x47d78e(0x222)](_0x548179);_0x26160a[_0x510947[_0x47d78e(0x21b)]]&&(_0x50ca54[_0x47d78e(0x171)](_0x26160a[_0x510947[_0x47d78e(0x21b)]]),_0x559213[_0x510947['extensionName']]=_0x50ca54);}catch{_0x10aed7(this,_0x21a167,_0x37631e,0x190,_0x47d78e(0x186));return;}}if(this[_0x47d78e(0x10c)][_0x47d78e(0xf4)]){const _0x21274a={'origin':_0x21a167['headers'][''+(_0x41d13f===0x8?_0x47d78e(0x190):_0x47d78e(0x144))],'secure':!!(_0x21a167[_0x47d78e(0x163)]['authorized']||_0x21a167[_0x47d78e(0x163)][_0x47d78e(0xb4)]),'req':_0x21a167};if(this['options']['verifyClient'][_0x47d78e(0xdf)]===0x2){this[_0x47d78e(0x10c)]['verifyClient'](_0x21274a,(_0x4f8e75,_0x40f7dd,_0x5bbb95,_0x2d6038)=>{const _0x25e87a=_0x47d78e;if(!_0x4f8e75)return _0xe75640(_0x37631e,_0x40f7dd||0x191,_0x5bbb95,_0x2d6038);this[_0x25e87a(0xe0)](_0x559213,_0x32e107,_0x43cee0,_0x21a167,_0x37631e,_0x1f9083,_0x1c2bae);});return;}if(!this['options']['verifyClient'](_0x21274a))return _0xe75640(_0x37631e,0x191);}this[_0x47d78e(0xe0)](_0x559213,_0x32e107,_0x43cee0,_0x21a167,_0x37631e,_0x1f9083,_0x1c2bae);}['completeUpgrade'](_0x3ff583,_0x566283,_0x1844dc,_0x5e20e4,_0x20e3bb,_0x32584e,_0x311a28){const _0x18ec89=_0x2ddbd4;if(!_0x20e3bb[_0x18ec89(0x10d)]||!_0x20e3bb[_0x18ec89(0xce)])return _0x20e3bb[_0x18ec89(0xdd)]();if(_0x20e3bb[_0x1d5d4f])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this['_state']>_0x385aa3)return _0xe75640(_0x20e3bb,0x1f7);const _0x23b7f5=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x18ec89(0x204),'Connection:\x20Upgrade',_0x18ec89(0x194)+_0x1728bc(_0x18ec89(0x1d5))['update'](_0x566283+_0x420494)[_0x18ec89(0x11b)](_0x18ec89(0x1d3))],_0x1500ae=new this[(_0x18ec89(0x10c))]['WebSocket'](null,void 0x0,this[_0x18ec89(0x10c)]);if(_0x1844dc[_0x18ec89(0x24f)]){const _0x262c3e=this['options'][_0x18ec89(0x146)]?this[_0x18ec89(0x10c)][_0x18ec89(0x146)](_0x1844dc,_0x5e20e4):_0x1844dc[_0x18ec89(0x240)]()['next']()[_0x18ec89(0xf9)];_0x262c3e&&(_0x23b7f5['push']('Sec-WebSocket-Protocol:\x20'+_0x262c3e),_0x1500ae[_0x18ec89(0x1b0)]=_0x262c3e);}if(_0x3ff583[_0x510947[_0x18ec89(0x21b)]]){const _0x30801d=_0x3ff583[_0x510947[_0x18ec89(0x21b)]]['params'],_0x122f7e=_0xf145f0[_0x18ec89(0xb6)]({[_0x510947['extensionName']]:[_0x30801d]});_0x23b7f5[_0x18ec89(0x23f)](_0x18ec89(0x154)+_0x122f7e),_0x1500ae['_extensions']=_0x3ff583;}this['emit']('headers',_0x23b7f5,_0x5e20e4),_0x20e3bb[_0x18ec89(0x1e2)](_0x23b7f5['concat']('\x0d\x0a')[_0x18ec89(0x21f)]('\x0d\x0a')),_0x20e3bb[_0x18ec89(0x118)](_0x18ec89(0xf3),_0x2a24fc),_0x1500ae[_0x18ec89(0x183)](_0x20e3bb,_0x32584e,{'allowSynchronousEvents':this[_0x18ec89(0x10c)][_0x18ec89(0x141)],'maxPayload':this[_0x18ec89(0x10c)][_0x18ec89(0xb8)],'skipUTF8Validation':this[_0x18ec89(0x10c)]['skipUTF8Validation']}),this['clients']&&(this[_0x18ec89(0x16e)][_0x18ec89(0x247)](_0x1500ae),_0x1500ae['on']('close',()=>{const _0x5be99f=_0x18ec89;this['clients']['delete'](_0x1500ae),this[_0x5be99f(0x24d)]&&!this[_0x5be99f(0x16e)][_0x5be99f(0x24f)]&&process[_0x5be99f(0x1bb)](_0x32e4d2,this);})),_0x311a28(_0x1500ae,_0x5e20e4);}}Te=_0x51adcf;function _0x5f22bb(_0x5ec517,_0x2c74d3){for(const _0x40ccb6 of Object['keys'](_0x2c74d3))_0x5ec517['on'](_0x40ccb6,_0x2c74d3[_0x40ccb6]);return function(){const _0x56a905=_0x5965;for(const _0x539647 of Object['keys'](_0x2c74d3))_0x5ec517[_0x56a905(0x118)](_0x539647,_0x2c74d3[_0x539647]);};}function _0x32e4d2(_0x3fdfa9){_0x3fdfa9['_state']=_0x111b4b,_0x3fdfa9['emit']('close');}function _0x2a24fc(){this['destroy']();}function _0xe75640(_0x19d54a,_0xa3b6a6,_0x58ff38,_0x54c29f){const _0x37b17b=_0x2ddbd4;_0x58ff38=_0x58ff38||_0x2cd980['STATUS_CODES'][_0xa3b6a6],_0x54c29f={'Connection':_0x37b17b(0x1f4),'Content-Type':_0x37b17b(0xa4),'Content-Length':Buffer[_0x37b17b(0x228)](_0x58ff38),..._0x54c29f},_0x19d54a['once'](_0x37b17b(0x1fd),_0x19d54a['destroy']),_0x19d54a[_0x37b17b(0x106)](_0x37b17b(0x191)+_0xa3b6a6+'\x20'+_0x2cd980[_0x37b17b(0x174)][_0xa3b6a6]+'\x0d\x0a'+Object[_0x37b17b(0x18a)](_0x54c29f)[_0x37b17b(0x1ae)](_0x312504=>_0x312504+':\x20'+_0x54c29f[_0x312504])[_0x37b17b(0x21f)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x58ff38);}function _0x10aed7(_0x1a2944,_0x3eefd6,_0x13728d,_0x3011ff,_0x162b11){const _0x556f13=_0x2ddbd4;if(_0x1a2944[_0x556f13(0xd8)](_0x556f13(0x128))){const _0x5483e7=new Error(_0x162b11);Error[_0x556f13(0x1ec)](_0x5483e7,_0x10aed7),_0x1a2944['emit'](_0x556f13(0x128),_0x5483e7,_0x13728d,_0x3eefd6);}else _0xe75640(_0x13728d,_0x3011ff,_0x162b11);}return Te;}er();var tr=Object[_0x1b9afc(0x235)],rr=(_0x2c1e5c,_0x47bb63,_0x4f2a44,_0x5268f5)=>{for(var _0x1337b3=_0x5268f5>0x1?void 0x0:_0x5268f5?tr(_0x47bb63,_0x4f2a44):_0x47bb63,_0x445212=_0x2c1e5c['length']-0x1,_0x50e73c;_0x445212>=0x0;_0x445212--)(_0x50e73c=_0x2c1e5c[_0x445212])&&(_0x1337b3=_0x50e73c(_0x1337b3)||_0x1337b3);return _0x1337b3;},sr=(_0x49744f,_0x13805b)=>(_0x3416cc,_0x2161d8)=>_0x13805b(_0x3416cc,_0x2161d8,_0x49744f);let Ne=class extends _0x2bb6e2{constructor(_0x11b5f4){const _0x27636b=_0x1b9afc;super(),this[_0x27636b(0x134)]=_0x11b5f4;}[_0x1b9afc(0x21c)](_0x5d5ad4){const _0x38028f=_0x1b9afc;var _0xad57b4;const _0x10f6d4=(_0xad57b4=this[_0x38028f(0x134)][_0x38028f(0x1de)](Be))==null?void 0x0:_0xad57b4[_0x38028f(0x23e)];try{const _0x521b1d=new Qt(_0x5d5ad4,{'headers':{..._0x10f6d4}}),_0x217a65=new _0x334e7e();return{'URL':_0x5d5ad4,'close':(_0x1f92b9,_0x5e88d8)=>{const _0x477b23=_0x38028f;_0x521b1d[_0x477b23(0x1f4)](_0x1f92b9,_0x5e88d8),_0x217a65[_0x477b23(0xd7)]();},'send':_0x418470=>{const _0x57e170=_0x38028f;_0x521b1d[_0x57e170(0x120)](_0x418470);},'open$':new _0xd47e38(_0x59783c=>{const _0x6fd3ea=_0x38028f,_0x210fe8=_0x25147d=>_0x59783c[_0x6fd3ea(0x1d0)](_0x25147d);_0x521b1d[_0x6fd3ea(0x221)](_0x6fd3ea(0x17b),_0x210fe8),_0x217a65[_0x6fd3ea(0x247)](_0x5f1f34(()=>_0x521b1d['removeEventListener'](_0x6fd3ea(0x17b),_0x210fe8)));})[_0x38028f(0x1ab)](_0x454795()),'close$':new _0xd47e38(_0x53df23=>{const _0x1a5a90=_0x38028f,_0x205f74=_0x3831d0=>_0x53df23[_0x1a5a90(0x1d0)](_0x3831d0);_0x521b1d['addEventListener'](_0x1a5a90(0x1f4),_0x205f74),_0x217a65['add'](_0x5f1f34(()=>_0x521b1d['removeEventListener'](_0x1a5a90(0x1f4),_0x205f74)));})[_0x38028f(0x1ab)](_0x454795()),'error$':new _0xd47e38(_0x9c7a8a=>{const _0x5647c4=_0x38028f,_0x1858d8=_0x2684ab=>_0x9c7a8a[_0x5647c4(0x1d0)](_0x2684ab);_0x521b1d[_0x5647c4(0x221)](_0x5647c4(0xf3),_0x1858d8),_0x217a65[_0x5647c4(0x247)](_0x5f1f34(()=>_0x521b1d[_0x5647c4(0x197)](_0x5647c4(0xf3),_0x1858d8)));})[_0x38028f(0x1ab)](_0x454795()),'message$':new _0xd47e38(_0x54a8da=>{const _0x20f88=_0x38028f,_0x276aca=_0x292891=>_0x54a8da[_0x20f88(0x1d0)](_0x292891);_0x521b1d[_0x20f88(0x221)](_0x20f88(0x22f),_0x276aca),_0x217a65[_0x20f88(0x247)](_0x5f1f34(()=>_0x521b1d[_0x20f88(0x197)](_0x20f88(0x22f),_0x276aca)));})[_0x38028f(0x1ab)](_0x454795())};}catch(_0xeb409b){return console[_0x38028f(0xf3)](_0xeb409b),null;}}};Ne=rr([sr(0x0,_0x30de9c)],Ne);function _0x4b78(){const _0x4ce30a=['WS_ERR_EXPECTED_FIN','origin','_inflate','handleProtocols','_readableState','isView','status-code','server_no_context_takeover','url','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','onclose','Unexpected\x20server\x20response:\x20','_compress','_state','Invalid\x20value\x20for\x20parameter\x20\x22','allocUnsafe','_fin','Sec-WebSocket-Extensions:\x20','unmask','_maskBuffer','dequeue','Unsupported\x20protocol\x20version:\x20','emit','_extensions','listen','setNoDelay','call','get','Sec-WebSocket-Extensions','shift','defineProperty','_closeMessage','socket','readUInt32BE','Sec-WebSocket-Protocol','extensions','getPayloadLength16','_loop','protocolVersion','websocket','handleUpgrade','_closeTimer','sec-websocket-extensions','clients','WS_ERR_INVALID_UTF8','entries','accept','_queue','CLOSING','STATUS_CODES','_read','normalizeParams','Invalid\x20Upgrade\x20header','isArray','callback','_payloadLength','open','string','Basic\x20','read','CONNECTING','82233EYMTLq','concurrency','pow','setSocket','reset','handleEvent','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','freeze','_receiver','Opening\x20handshake\x20has\x20timed\x20out','keys','invalid\x20opcode\x200','acceptAsServer','RSV1\x20must\x20be\x20clear','onStarting','terminate','sec-websocket-origin','HTTP/1.1\x20','invalid\x20payload\x20length\x20','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','Sec-WebSocket-Accept:\x20','threshold','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','removeEventListener','_injector','_buffers','toString','enqueue','_originalSecure','env','createInflateRaw','1922430AKzABe','mask','1842282YXwFVs','_masked','permessage-deflate','nodebuffer','path','followRedirects','pluginName','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_maxPayload','target','pipe','haveLength','kMessage','map','code','_protocol','_errored','redirect','startsWith','isIP','Invalid\x20Sec-WebSocket-Protocol\x20header','protocol','has','Module','_fragmented','exports','nextTick','warn','zlibInflateOptions','forEach','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','cleanup','Maximum\x20redirects\x20exceeded','address','test','Unexpected\x20end\x20of\x20input','Invalid\x20URL:\x20','reason','removeAllListeners','jobs','_write','blob','_removeListeners','from','unexpected-response','createDeflateRaw','finishRequest','next','onopen','_binaryType','base64','ping','sha1','perMessageDeflate','dataMessage','_threshold','_totalPayloadLength','consume','default','find','type','getConfig','alloc','client_max_window_bits','uncork','write','_autoPong','_originalIpc','objectMode','prototype','handshakeTimeout','finished','password','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','__esModule','captureStackTrace','WS_NO_UTF_8_VALIDATE','indexOf','Sec-WebSocket-Origin','set','collaboration-client-node.config','onerror','writeUInt16BE','close','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','client_no_context_takeover','search','_final','clientNoContextTakeover','params','_closeCode','dispatch','finish','kRun','_writableState','sendFrame','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','server_max_window_bits','Z_SYNC_FLUSH','Upgrade:\x20websocket','_opcode','https:','split','serverMaxWindowBits','_deflate','function','GET','getPayloadLength64','createError','method','MASK\x20must\x20be\x20clear','abort','hostname','data','pending','Server\x20sent\x20an\x20invalid\x20subprotocol','port','client','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','WS_ERR_UNEXPECTED_MASK','compress','kByteLength','extensionName','createSocket','invalid\x20UTF-8\x20sequence','replace','join','_errorEmitted','addEventListener','parse','isValidUTF8','invalid\x20status\x20code\x20','connect','offer','headers','byteLength','_redirects','socketPath','bufferedAmount','startLoop','host','species','message','Unexpected\x20character\x20at\x20index\x20','Invalid\x20Sec-WebSocket-Extensions\x20header','text/plain','kCode','fin','getOwnPropertyDescriptor','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','kReason','_max_window_bits','_closeFrameSent','shouldHandle','isPaused','setTimeout','href','customHeaders','push','values','sec-websocket-key','_options','unshift','_allowSynchronousEvents','noServer','frame','add','wasClean','slice','readyState','concat','Cookie','_shouldEmitClose','errorEmitted','size','concurrencyLimit','_server','zlibDeflateOptions','toStringTag','constructor','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_firstFragment','\x22:\x20','skipUTF8Validation','_url','WS_ERR_UNEXPECTED_RSV_1','WS_ERR_INVALID_OPCODE','text/html','readUInt16BE','listeners','_messageLength','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_no_context_takeover','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_originalHostOrSocketPath','authorization','WS_ERR_UNEXPECTED_RSV_2_3','_closeFrameReceived','getInfo','invalid\x20opcode\x20','isInteger','MASK\x20must\x20be\x20set','\x22\x20must\x20have\x20only\x20a\x20single\x20value','encrypted','clientTracking','format','generateMask','maxPayload','writeUIntBE','_paused','flush','decompress','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','pause','_generateMask','construct','_bufferedBytes','binary','upgrade','\x22\x20subprotocol\x20is\x20duplicated','getData','kWasClean','pathname','number','Parameter\x20\x22','clientMaxWindowBits','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','getBlobData','apply','writable','stream','The\x20URL\x27s\x20pathname\x20is\x20empty','\x20(supported\x20versions:\x20','Server\x20sent\x20no\x20subprotocol','_fragments','File','auth','binaryType','dispose','listenerCount','FIN\x20must\x20be\x20set','catch','sec-websocket-accept','The\x20\x22','destroy','defaultPort','length','completeUpgrade','destroyed','kData','endEmitted','Upgrade','10292079zCowKA','pong','setConfig','autoPong','_doCreateSocket','timeout','352bEhkuR','needDrain','_bufferedAmount','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','fragments','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_isServer','registerHTTPInterceptor','error','verifyClient','total-length','cork','_mask','75905AGxvxw','value','Unknown\x20parameter\x20\x22','_decompress','arraybuffer','servername','_httpService','serverNoContextTakeover','once','object','listening','arrayBuffer','opcode','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','end','server','Max\x20payload\x20size\x20exceeded','bind','wss:','location','options','readable','username','_registerDependencies','kAborted','cookie','emitClose','charCodeAt','toLowerCase','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','then','Z_DEFAULT_WINDOWBITS','removeListener','CLOSED','request','digest','_sender','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_skipUTF8Validation','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','send','811425UeiXYY','byteOffset','isServer','buffer','_socket','acceptAsClient','The\x20URL\x20contains\x20a\x20fragment\x20identifier','wsClientError','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','readOnly','createConnection','Origin','controlMessage','Invalid\x20HTTP\x20method','sec-websocket-version','resume','917551eJTvOe','conclude','isBuffer','_configService','create','kTarget','_readyState','includes','getMask','_compressed','backlog','connection','544nkPqcH','_req','hasOwnProperty','maxRedirects','allowSynchronousEvents','OPEN'];_0x4b78=function(){return _0x4ce30a;};return _0x4b78();}var ir=Object[_0x1b9afc(0x161)],nr=Object[_0x1b9afc(0x235)],or=(_0x3b5dc3,_0x2c741b,_0x5d83bc)=>_0x2c741b in _0x3b5dc3?ir(_0x3b5dc3,_0x2c741b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5d83bc}):_0x3b5dc3[_0x2c741b]=_0x5d83bc,ar=(_0x2ebb0b,_0x48e775,_0x2f000a,_0x40c47e)=>{const _0x323737=_0x1b9afc;for(var _0x4404d9=_0x40c47e>0x1?void 0x0:_0x40c47e?nr(_0x48e775,_0x2f000a):_0x48e775,_0x45aecb=_0x2ebb0b[_0x323737(0xdf)]-0x1,_0x1a7d11;_0x45aecb>=0x0;_0x45aecb--)(_0x1a7d11=_0x2ebb0b[_0x45aecb])&&(_0x4404d9=_0x1a7d11(_0x4404d9)||_0x4404d9);return _0x4404d9;},ke=(_0x352346,_0x2f5d98)=>(_0x4b039a,_0x171e67)=>_0x2f5d98(_0x4b039a,_0x171e67,_0x352346),lr=(_0x2c0a7b,_0x114277,_0x2310a5)=>or(_0x2c0a7b,_0x114277+'',_0x2310a5);let Pe=class extends _0x593395{constructor(_0x17046f=Ft,_0x1d3025,_0x509e44,_0x442a63){const _0x2007af=_0x1b9afc;_0x17046f[_0x2007af(0x23e)]||_0x1d3025[_0x2007af(0x1bc)](_0x2007af(0xf0)),super(),this[_0x2007af(0x134)]=_0x509e44,this[_0x2007af(0x198)]=_0x442a63,this[_0x2007af(0x134)][_0x2007af(0xe7)](Be,_0x17046f);}[_0x1b9afc(0x18e)](){const _0x273a43=_0x1b9afc;this[_0x273a43(0x10f)]();}[_0x1b9afc(0x10f)](){const _0x25565b=_0x1b9afc;_0x261ac4(this[_0x25565b(0x198)],[[_0x245106,{'useClass':Ne}]]);}};lr(Pe,_0x1b9afc(0x1a7),_0x1b9afc(0x1bf)),Pe=ar([_0x9b58d2(_0x5b23c0),ke(0x1,_0x3c7fc4),ke(0x2,_0x30de9c),ke(0x3,_0x5b4b2d(_0x890e54))],Pe);var fr=Object[_0x1b9afc(0x235)],cr=(_0x104dd0,_0x2e27d4,_0x5eccf2,_0x2c181b)=>{const _0x4c9508=_0x1b9afc;for(var _0x49603a=_0x2c181b>0x1?void 0x0:_0x2c181b?fr(_0x2e27d4,_0x5eccf2):_0x2e27d4,_0x3f0977=_0x104dd0[_0x4c9508(0xdf)]-0x1,_0x7ff521;_0x3f0977>=0x0;_0x3f0977--)(_0x7ff521=_0x104dd0[_0x3f0977])&&(_0x49603a=_0x7ff521(_0x49603a)||_0x49603a);return _0x49603a;},se=(_0x1d2dc0,_0x193988)=>(_0x2e5042,_0x90ec9b)=>_0x193988(_0x2e5042,_0x90ec9b,_0x1d2dc0);let at=class extends _0x588327{constructor(_0x2df7c4,_0x1706c1,_0x1a47cb,_0x4bafb2,_0x1afc9c){const _0x46e99f=_0x1b9afc;super(_0x2df7c4,_0x1706c1,_0x1a47cb,_0x4bafb2,_0x1afc9c);const _0x1925a0=this['_configService'][_0x46e99f(0x1de)](Be);this[_0x46e99f(0xfe)][_0x46e99f(0xf2)]({'interceptor':(_0x525bce,_0x27d7e8)=>{const _0x5e47e1=_0x46e99f;var _0x4e8c59;const _0x4b5822=_0x525bce[_0x5e47e1(0x227)];return(_0x4e8c59=_0x1925a0==null?void 0x0:_0x1925a0[_0x5e47e1(0x23e)])!=null&&_0x4e8c59[_0x5e47e1(0x111)]&&_0x4b5822['set'](_0x5e47e1(0x24c),_0x1925a0[_0x5e47e1(0x23e)][_0x5e47e1(0x111)]),_0x27d7e8(_0x525bce);}});}async[_0x1b9afc(0x21c)](_0xf2e949){const _0x223634=_0x1b9afc;return this[_0x223634(0xe9)](_0xf2e949);}};at=cr([se(0x0,_0x5b4b2d(_0x890e54)),se(0x1,_0x5b4b2d(_0x4b6e03)),se(0x2,_0x30de9c),se(0x3,_0x3c7fc4),se(0x4,_0x301f15)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x31bee7=_0x3451;(function(_0x35706b,_0x4d3053){const _0x4a7c18=_0x3451,_0x435186=_0x35706b();while(!![]){try{const _0xb88b3=parseInt(_0x4a7c18(0x2b9))/0x1*(-parseInt(_0x4a7c18(0x193))/0x2)+parseInt(_0x4a7c18(0x18d))/0x3+parseInt(_0x4a7c18(0x1b6))/0x4*(-parseInt(_0x4a7c18(0x316))/0x5)+parseInt(_0x4a7c18(0x1b8))/0x6*(-parseInt(_0x4a7c18(0x255))/0x7)+parseInt(_0x4a7c18(0x252))/0x8+parseInt(_0x4a7c18(0x1ce))/0x9*(-parseInt(_0x4a7c18(0x264))/0xa)+parseInt(_0x4a7c18(0x2a0))/0xb;if(_0xb88b3===_0x4d3053)break;else _0x435186['push'](_0x435186['shift']());}catch(_0x5a192e){_0x435186['push'](_0x435186['shift']());}}}(_0x59e8,0x680b5));import{UniverCollaborationClientPlugin as _0x294796,CollaborationSocketService as _0x16186b}from'@univerjs-pro/collaboration-client';import{Disposable as _0x52fbe3,DisposableCollection as _0x586f16,toDisposable as _0x1e807f,IConfigService as _0x2714a6,DependentOn as _0x48a438,ILogService as _0x3c8b13,Inject as _0x1bb158,Injector as _0xd31389,Plugin as _0x3cdaeb,registerDependencies as _0x113d6c}from'@univerjs/core';import{ISocketService as _0xd2721f,HTTPService as _0x36543f}from'@univerjs/network';import{Observable as _0x19f30e,share as _0x24ef87}from'rxjs';import _0x5aeecf from'events';import _0x3fad5d from'https';import _0x2829c5 from'http';import _0x5884ef from'net';import _0x163b7a from'tls';import _0x26090d from'crypto';import _0x28ad72 from'stream';import _0x7231d9 from'url';import _0x4a6219 from'zlib';import _0x84570b from'buffer';import{ISnapshotServerService as _0x3cf720}from'@univerjs-pro/collaboration';const Be=_0x31bee7(0x17f),Ft={'customHeaders':{}};function jt(_0x23a22e){const _0x3f9d65=_0x31bee7;return _0x23a22e&&_0x23a22e['__esModule']&&Object[_0x3f9d65(0x187)][_0x3f9d65(0x305)][_0x3f9d65(0x177)](_0x23a22e,_0x3f9d65(0x254))?_0x23a22e['default']:_0x23a22e;}function ut(_0x259601){const _0x3fc6da=_0x31bee7;if(Object[_0x3fc6da(0x187)][_0x3fc6da(0x305)][_0x3fc6da(0x177)](_0x259601,_0x3fc6da(0x296)))return _0x259601;var _0x555a03=_0x259601[_0x3fc6da(0x254)];if(typeof _0x555a03==_0x3fc6da(0x23b)){var _0x1568f0=function _0x1af7ab(){const _0x295afe=_0x3fc6da;return this instanceof _0x1af7ab?Reflect['construct'](_0x555a03,arguments,this[_0x295afe(0x212)]):_0x555a03[_0x295afe(0x260)](this,arguments);};_0x1568f0[_0x3fc6da(0x187)]=_0x555a03[_0x3fc6da(0x187)];}else _0x1568f0={};return Object[_0x3fc6da(0x2a6)](_0x1568f0,_0x3fc6da(0x296),{'value':!0x0}),Object[_0x3fc6da(0x29e)](_0x259601)[_0x3fc6da(0x18a)](function(_0x2ae388){const _0x38f010=_0x3fc6da;var _0x2f4b70=Object[_0x38f010(0x307)](_0x259601,_0x2ae388);Object[_0x38f010(0x2a6)](_0x1568f0,_0x2ae388,_0x2f4b70[_0x38f010(0x315)]?_0x2f4b70:{'enumerable':!0x0,'get':function(){return _0x259601[_0x2ae388];}});}),_0x1568f0;}var te={'exports':{}},ge,Ye;function V(){const _0x1a6352=_0x31bee7;if(Ye)return ge;Ye=0x1;const _0x458e33=['nodebuffer',_0x1a6352(0x2f0),'fragments'],_0x4f1805=typeof Blob<'u';return _0x4f1805&&_0x458e33[_0x1a6352(0x1b3)](_0x1a6352(0x2be)),ge={'BINARY_TYPES':_0x458e33,'EMPTY_BUFFER':Buffer[_0x1a6352(0x213)](0x0),'GUID':_0x1a6352(0x1ba),'hasBlob':_0x4f1805,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x1a6352(0x2d7)),'kStatusCode':Symbol(_0x1a6352(0x198)),'kWebSocket':Symbol(_0x1a6352(0x263)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x31bee7(0x1a3)](Object[_0x31bee7(0x2a6)]({'__proto__':null,'default':Wt},Symbol['toStringTag'],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x508767=_0x31bee7;if(Ke)return te[_0x508767(0x1f6)];Ke=0x1;const {EMPTY_BUFFER:_0x10db7c}=V(),_0x3ae48e=Buffer[Symbol[_0x508767(0x22e)]];function _0x478102(_0x1ae2a3,_0x2dc3d6){const _0x27ba33=_0x508767;if(_0x1ae2a3[_0x27ba33(0x1ef)]===0x0)return _0x10db7c;if(_0x1ae2a3[_0x27ba33(0x1ef)]===0x1)return _0x1ae2a3[0x0];const _0xbfd4bd=Buffer[_0x27ba33(0x17e)](_0x2dc3d6);let _0x1bb2eb=0x0;for(let _0x42638a=0x0;_0x42638a<_0x1ae2a3[_0x27ba33(0x1ef)];_0x42638a++){const _0x176ca0=_0x1ae2a3[_0x42638a];_0xbfd4bd[_0x27ba33(0x28c)](_0x176ca0,_0x1bb2eb),_0x1bb2eb+=_0x176ca0[_0x27ba33(0x1ef)];}return _0x1bb2eb<_0x2dc3d6?new _0x3ae48e(_0xbfd4bd['buffer'],_0xbfd4bd[_0x27ba33(0x1e6)],_0x1bb2eb):_0xbfd4bd;}function _0x5489e0(_0x8d25f2,_0x22ef85,_0x3edc23,_0x25d96b,_0x474a3e){for(let _0x4ceecb=0x0;_0x4ceecb<_0x474a3e;_0x4ceecb++)_0x3edc23[_0x25d96b+_0x4ceecb]=_0x8d25f2[_0x4ceecb]^_0x22ef85[_0x4ceecb&0x3];}function _0x29aa82(_0x53d137,_0x44cd5f){const _0x7e7912=_0x508767;for(let _0x2fedda=0x0;_0x2fedda<_0x53d137[_0x7e7912(0x1ef)];_0x2fedda++)_0x53d137[_0x2fedda]^=_0x44cd5f[_0x2fedda&0x3];}function _0x132f9e(_0x5d9edb){const _0x374072=_0x508767;return _0x5d9edb[_0x374072(0x1ef)]===_0x5d9edb['buffer'][_0x374072(0x26c)]?_0x5d9edb['buffer']:_0x5d9edb[_0x374072(0x2fe)][_0x374072(0x20b)](_0x5d9edb[_0x374072(0x1e6)],_0x5d9edb[_0x374072(0x1e6)]+_0x5d9edb[_0x374072(0x1ef)]);}function _0x3358a2(_0xd7ad2e){const _0x575a0d=_0x508767;if(_0x3358a2[_0x575a0d(0x225)]=!0x0,Buffer['isBuffer'](_0xd7ad2e))return _0xd7ad2e;let _0x7243fd;return _0xd7ad2e instanceof ArrayBuffer?_0x7243fd=new _0x3ae48e(_0xd7ad2e):ArrayBuffer[_0x575a0d(0x312)](_0xd7ad2e)?_0x7243fd=new _0x3ae48e(_0xd7ad2e[_0x575a0d(0x2fe)],_0xd7ad2e[_0x575a0d(0x1e6)],_0xd7ad2e[_0x575a0d(0x26c)]):(_0x7243fd=Buffer['from'](_0xd7ad2e),_0x3358a2[_0x575a0d(0x225)]=!0x1),_0x7243fd;}if(te[_0x508767(0x1f6)]={'concat':_0x478102,'mask':_0x5489e0,'toArrayBuffer':_0x132f9e,'toBuffer':_0x3358a2,'unmask':_0x29aa82},!process[_0x508767(0x16a)]['WS_NO_BUFFER_UTIL'])try{const _0x3e69d1=Vt;te[_0x508767(0x1f6)][_0x508767(0x2ed)]=function(_0x29ef7e,_0x184db9,_0x54bc02,_0xbe368d,_0x3a4b4f){_0x3a4b4f<0x30?_0x5489e0(_0x29ef7e,_0x184db9,_0x54bc02,_0xbe368d,_0x3a4b4f):_0x3e69d1['mask'](_0x29ef7e,_0x184db9,_0x54bc02,_0xbe368d,_0x3a4b4f);},te[_0x508767(0x1f6)]['unmask']=function(_0xc2f628,_0x190ced){const _0x2636b0=_0x508767;_0xc2f628[_0x2636b0(0x1ef)]<0x20?_0x29aa82(_0xc2f628,_0x190ced):_0x3e69d1['unmask'](_0xc2f628,_0x190ced);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x17e064=_0x31bee7;if(Xe)return ye;Xe=0x1;const _0x580e38=Symbol(_0x17e064(0x223)),_0x3cbee5=Symbol('kRun');class _0x1a27aa{constructor(_0x1ae381){const _0x1dd328=_0x17e064;this[_0x580e38]=()=>{const _0x27f9a4=_0x3451;this[_0x27f9a4(0x318)]--,this[_0x3cbee5]();},this['concurrency']=_0x1ae381||0x1/0x0,this[_0x1dd328(0x256)]=[],this[_0x1dd328(0x318)]=0x0;}[_0x17e064(0x16c)](_0x544988){const _0x1cacfb=_0x17e064;this[_0x1cacfb(0x256)][_0x1cacfb(0x1b3)](_0x544988),this[_0x3cbee5]();}[_0x3cbee5](){const _0x330c05=_0x17e064;if(this['pending']!==this[_0x330c05(0x230)]&&this[_0x330c05(0x256)][_0x330c05(0x1ef)]){const _0x6a3159=this[_0x330c05(0x256)]['shift']();this[_0x330c05(0x318)]++,_0x6a3159(this[_0x580e38]);}}}return ye=_0x1a27aa,ye;}var ve,Ze;function he(){const _0x127d88=_0x31bee7;if(Ze)return ve;Ze=0x1;const _0x4c49a0=_0x4a6219,_0xdc866e=ce(),_0x424b0c=qt(),{kStatusCode:_0x51a676}=V(),_0x21ae4a=Buffer[Symbol[_0x127d88(0x22e)]],_0x4613cb=Buffer[_0x127d88(0x1d4)]([0x0,0x0,0xff,0xff]),_0x46517e=Symbol(_0x127d88(0x28b)),_0x58f121=Symbol(_0x127d88(0x2ea)),_0x59f400=Symbol(_0x127d88(0x2e2)),_0x3eaaf9=Symbol(_0x127d88(0x2b7)),_0x313f4b=Symbol('error');let _0xac42fa;class _0x3fd312{constructor(_0x16689d,_0x570982,_0x24ae94){const _0x6c6d64=_0x127d88;if(this['_maxPayload']=_0x24ae94|0x0,this['_options']=_0x16689d||{},this[_0x6c6d64(0x1a0)]=this['_options'][_0x6c6d64(0x302)]!==void 0x0?this['_options'][_0x6c6d64(0x302)]:0x400,this[_0x6c6d64(0x1d2)]=!!_0x570982,this['_deflate']=null,this[_0x6c6d64(0x2ad)]=null,this['params']=null,!_0xac42fa){const _0x59c949=this[_0x6c6d64(0x197)][_0x6c6d64(0x1f4)]!==void 0x0?this[_0x6c6d64(0x197)][_0x6c6d64(0x1f4)]:0xa;_0xac42fa=new _0x424b0c(_0x59c949);}}static get['extensionName'](){const _0x476866=_0x127d88;return _0x476866(0x28b);}[_0x127d88(0x269)](){const _0x218826=_0x127d88,_0x5c466d={};return this['_options']['serverNoContextTakeover']&&(_0x5c466d[_0x218826(0x211)]=!0x0),this[_0x218826(0x197)][_0x218826(0x2c9)]&&(_0x5c466d[_0x218826(0x1fd)]=!0x0),this[_0x218826(0x197)]['serverMaxWindowBits']&&(_0x5c466d[_0x218826(0x1ac)]=this[_0x218826(0x197)][_0x218826(0x2f4)]),this[_0x218826(0x197)][_0x218826(0x24e)]?_0x5c466d[_0x218826(0x27a)]=this[_0x218826(0x197)][_0x218826(0x24e)]:this[_0x218826(0x197)][_0x218826(0x24e)]==null&&(_0x5c466d[_0x218826(0x27a)]=!0x0),_0x5c466d;}[_0x127d88(0x1c2)](_0x5a99d0){const _0x876832=_0x127d88;return _0x5a99d0=this[_0x876832(0x2dd)](_0x5a99d0),this[_0x876832(0x235)]=this[_0x876832(0x1d2)]?this['acceptAsServer'](_0x5a99d0):this[_0x876832(0x297)](_0x5a99d0),this[_0x876832(0x235)];}['cleanup'](){const _0x5a9669=_0x127d88;if(this['_inflate']&&(this[_0x5a9669(0x2ad)][_0x5a9669(0x1e1)](),this[_0x5a9669(0x2ad)]=null),this['_deflate']){const _0x5a62a0=this[_0x5a9669(0x1cb)][_0x59f400];this[_0x5a9669(0x1cb)]['close'](),this[_0x5a9669(0x1cb)]=null,_0x5a62a0&&_0x5a62a0(new Error(_0x5a9669(0x22a)));}}[_0x127d88(0x190)](_0x46be98){const _0x7b0fc7=_0x127d88,_0x298f23=this[_0x7b0fc7(0x197)],_0x4a6635=_0x46be98[_0x7b0fc7(0x1d3)](_0x80cab9=>!(_0x298f23[_0x7b0fc7(0x1cc)]===!0x1&&_0x80cab9[_0x7b0fc7(0x211)]||_0x80cab9[_0x7b0fc7(0x1ac)]&&(_0x298f23[_0x7b0fc7(0x2f4)]===!0x1||typeof _0x298f23[_0x7b0fc7(0x2f4)]==_0x7b0fc7(0x1d6)&&_0x298f23[_0x7b0fc7(0x2f4)]>_0x80cab9[_0x7b0fc7(0x1ac)])||typeof _0x298f23[_0x7b0fc7(0x24e)]=='number'&&!_0x80cab9[_0x7b0fc7(0x27a)]));if(!_0x4a6635)throw new Error(_0x7b0fc7(0x22f));return _0x298f23[_0x7b0fc7(0x1cc)]&&(_0x4a6635[_0x7b0fc7(0x211)]=!0x0),_0x298f23[_0x7b0fc7(0x2c9)]&&(_0x4a6635[_0x7b0fc7(0x1fd)]=!0x0),typeof _0x298f23[_0x7b0fc7(0x2f4)]==_0x7b0fc7(0x1d6)&&(_0x4a6635[_0x7b0fc7(0x1ac)]=_0x298f23[_0x7b0fc7(0x2f4)]),typeof _0x298f23['clientMaxWindowBits']==_0x7b0fc7(0x1d6)?_0x4a6635['client_max_window_bits']=_0x298f23[_0x7b0fc7(0x24e)]:(_0x4a6635[_0x7b0fc7(0x27a)]===!0x0||_0x298f23[_0x7b0fc7(0x24e)]===!0x1)&&delete _0x4a6635[_0x7b0fc7(0x27a)],_0x4a6635;}[_0x127d88(0x297)](_0x22f833){const _0x42e44d=_0x127d88,_0xf95149=_0x22f833[0x0];if(this[_0x42e44d(0x197)][_0x42e44d(0x2c9)]===!0x1&&_0xf95149[_0x42e44d(0x1fd)])throw new Error(_0x42e44d(0x192));if(!_0xf95149[_0x42e44d(0x27a)])typeof this[_0x42e44d(0x197)][_0x42e44d(0x24e)]==_0x42e44d(0x1d6)&&(_0xf95149[_0x42e44d(0x27a)]=this['_options'][_0x42e44d(0x24e)]);else{if(this[_0x42e44d(0x197)][_0x42e44d(0x24e)]===!0x1||typeof this[_0x42e44d(0x197)][_0x42e44d(0x24e)]=='number'&&_0xf95149[_0x42e44d(0x27a)]>this[_0x42e44d(0x197)]['clientMaxWindowBits'])throw new Error(_0x42e44d(0x2e9));}return _0xf95149;}[_0x127d88(0x2dd)](_0x5f24e6){const _0x4e44c6=_0x127d88;return _0x5f24e6[_0x4e44c6(0x18a)](_0x4eb994=>{Object['keys'](_0x4eb994)['forEach'](_0x27ebfb=>{const _0x1e504f=_0x3451;let _0x2ab8be=_0x4eb994[_0x27ebfb];if(_0x2ab8be[_0x1e504f(0x1ef)]>0x1)throw new Error(_0x1e504f(0x257)+_0x27ebfb+_0x1e504f(0x178));if(_0x2ab8be=_0x2ab8be[0x0],_0x27ebfb==='client_max_window_bits'){if(_0x2ab8be!==!0x0){const _0x598c2=+_0x2ab8be;if(!Number[_0x1e504f(0x278)](_0x598c2)||_0x598c2<0x8||_0x598c2>0xf)throw new TypeError(_0x1e504f(0x1bc)+_0x27ebfb+'\x22:\x20'+_0x2ab8be);_0x2ab8be=_0x598c2;}else{if(!this[_0x1e504f(0x1d2)])throw new TypeError(_0x1e504f(0x1bc)+_0x27ebfb+_0x1e504f(0x1ab)+_0x2ab8be);}}else{if(_0x27ebfb===_0x1e504f(0x1ac)){const _0x38aedc=+_0x2ab8be;if(!Number[_0x1e504f(0x278)](_0x38aedc)||_0x38aedc<0x8||_0x38aedc>0xf)throw new TypeError(_0x1e504f(0x1bc)+_0x27ebfb+'\x22:\x20'+_0x2ab8be);_0x2ab8be=_0x38aedc;}else{if(_0x27ebfb==='client_no_context_takeover'||_0x27ebfb===_0x1e504f(0x211)){if(_0x2ab8be!==!0x0)throw new TypeError(_0x1e504f(0x1bc)+_0x27ebfb+'\x22:\x20'+_0x2ab8be);}else throw new Error(_0x1e504f(0x2dc)+_0x27ebfb+'\x22');}}_0x4eb994[_0x27ebfb]=_0x2ab8be;});}),_0x5f24e6;}[_0x127d88(0x16d)](_0x656007,_0xd3d9a9,_0x20c0a1){const _0x412160=_0x127d88;_0xac42fa[_0x412160(0x16c)](_0x22281a=>{const _0x134304=_0x412160;this[_0x134304(0x2ee)](_0x656007,_0xd3d9a9,(_0x4f6f8d,_0x461205)=>{_0x22281a(),_0x20c0a1(_0x4f6f8d,_0x461205);});});}['compress'](_0x350332,_0x233301,_0x1059d9){const _0x42e743=_0x127d88;_0xac42fa[_0x42e743(0x16c)](_0x5ebb7a=>{const _0x27a77f=_0x42e743;this[_0x27a77f(0x2eb)](_0x350332,_0x233301,(_0x18a856,_0x4de320)=>{_0x5ebb7a(),_0x1059d9(_0x18a856,_0x4de320);});});}['_decompress'](_0x3bf223,_0x4c5202,_0x568e81){const _0x5233cb=_0x127d88,_0x519f68=this[_0x5233cb(0x1d2)]?_0x5233cb(0x30a):_0x5233cb(0x216);if(!this[_0x5233cb(0x2ad)]){const _0x5e6947=_0x519f68+'_max_window_bits',_0x567b7a=typeof this[_0x5233cb(0x235)][_0x5e6947]!=_0x5233cb(0x1d6)?_0x4c49a0[_0x5233cb(0x25b)]:this[_0x5233cb(0x235)][_0x5e6947];this[_0x5233cb(0x2ad)]=_0x4c49a0[_0x5233cb(0x2b0)]({...this[_0x5233cb(0x197)]['zlibInflateOptions'],'windowBits':_0x567b7a}),this[_0x5233cb(0x2ad)][_0x46517e]=this,this[_0x5233cb(0x2ad)][_0x58f121]=0x0,this[_0x5233cb(0x2ad)][_0x3eaaf9]=[],this[_0x5233cb(0x2ad)]['on'](_0x5233cb(0x2cf),_0x2ab5a4),this[_0x5233cb(0x2ad)]['on'](_0x5233cb(0x267),_0x13632d);}this['_inflate'][_0x59f400]=_0x568e81,this[_0x5233cb(0x2ad)]['write'](_0x3bf223),_0x4c5202&&this[_0x5233cb(0x2ad)]['write'](_0x4613cb),this[_0x5233cb(0x2ad)]['flush'](()=>{const _0xbc0334=_0x5233cb,_0xaad45f=this['_inflate'][_0x313f4b];if(_0xaad45f){this['_inflate']['close'](),this[_0xbc0334(0x2ad)]=null,_0x568e81(_0xaad45f);return;}const _0x7e5798=_0xdc866e[_0xbc0334(0x184)](this[_0xbc0334(0x2ad)][_0x3eaaf9],this[_0xbc0334(0x2ad)][_0x58f121]);this['_inflate']['_readableState'][_0xbc0334(0x18b)]?(this['_inflate']['close'](),this[_0xbc0334(0x2ad)]=null):(this['_inflate'][_0x58f121]=0x0,this[_0xbc0334(0x2ad)][_0x3eaaf9]=[],_0x4c5202&&this[_0xbc0334(0x235)][_0x519f68+_0xbc0334(0x2b6)]&&this[_0xbc0334(0x2ad)][_0xbc0334(0x1c6)]()),_0x568e81(null,_0x7e5798);});}[_0x127d88(0x2eb)](_0x297b48,_0x282384,_0xcacbca){const _0x53b5e3=_0x127d88,_0x2d3a5f=this[_0x53b5e3(0x1d2)]?'server':_0x53b5e3(0x30a);if(!this[_0x53b5e3(0x1cb)]){const _0x1f7787=_0x2d3a5f+'_max_window_bits',_0x2420e9=typeof this[_0x53b5e3(0x235)][_0x1f7787]!=_0x53b5e3(0x1d6)?_0x4c49a0[_0x53b5e3(0x25b)]:this['params'][_0x1f7787];this[_0x53b5e3(0x1cb)]=_0x4c49a0['createDeflateRaw']({...this['_options'][_0x53b5e3(0x311)],'windowBits':_0x2420e9}),this[_0x53b5e3(0x1cb)][_0x58f121]=0x0,this[_0x53b5e3(0x1cb)][_0x3eaaf9]=[],this[_0x53b5e3(0x1cb)]['on'](_0x53b5e3(0x267),_0x75341f);}this[_0x53b5e3(0x1cb)][_0x59f400]=_0xcacbca,this['_deflate'][_0x53b5e3(0x2ab)](_0x297b48),this[_0x53b5e3(0x1cb)][_0x53b5e3(0x268)](_0x4c49a0[_0x53b5e3(0x26e)],()=>{const _0x4950c6=_0x53b5e3;if(!this['_deflate'])return;let _0x19b506=_0xdc866e[_0x4950c6(0x184)](this[_0x4950c6(0x1cb)][_0x3eaaf9],this[_0x4950c6(0x1cb)][_0x58f121]);_0x282384&&(_0x19b506=new _0x21ae4a(_0x19b506[_0x4950c6(0x2fe)],_0x19b506[_0x4950c6(0x1e6)],_0x19b506[_0x4950c6(0x1ef)]-0x4)),this[_0x4950c6(0x1cb)][_0x59f400]=null,this[_0x4950c6(0x1cb)][_0x58f121]=0x0,this[_0x4950c6(0x1cb)][_0x3eaaf9]=[],_0x282384&&this[_0x4950c6(0x235)][_0x2d3a5f+_0x4950c6(0x2b6)]&&this['_deflate'][_0x4950c6(0x1c6)](),_0xcacbca(null,_0x19b506);});}}ve=_0x3fd312;function _0x75341f(_0x1486b7){this[_0x3eaaf9]['push'](_0x1486b7),this[_0x58f121]+=_0x1486b7['length'];}function _0x13632d(_0x2029e0){const _0x3ebd83=_0x127d88;if(this[_0x58f121]+=_0x2029e0['length'],this[_0x46517e][_0x3ebd83(0x20a)]<0x1||this[_0x58f121]<=this[_0x46517e]['_maxPayload']){this[_0x3eaaf9]['push'](_0x2029e0);return;}this[_0x313f4b]=new RangeError(_0x3ebd83(0x289)),this[_0x313f4b][_0x3ebd83(0x251)]=_0x3ebd83(0x236),this[_0x313f4b][_0x51a676]=0x3f1,this[_0x3ebd83(0x2a3)](_0x3ebd83(0x267),_0x13632d),this['reset']();}function _0x2ab5a4(_0x56c00d){const _0x19b3af=_0x127d88;if(this[_0x46517e][_0x19b3af(0x2ad)]=null,this[_0x313f4b]){this[_0x59f400](this[_0x313f4b]);return;}_0x56c00d[_0x51a676]=0x3ef,this[_0x59f400](_0x56c00d);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0x31bee7(0x2a6)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x148468=_0x31bee7;if(Qe)return re[_0x148468(0x1f6)];Qe=0x1;const {isUtf8:_0x580065}=_0x84570b,{hasBlob:_0xf6aceb}=V(),_0x29ab8c=[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 _0x53e199(_0x351238){return _0x351238>=0x3e8&&_0x351238<=0x3f6&&_0x351238!==0x3ec&&_0x351238!==0x3ed&&_0x351238!==0x3ee||_0x351238>=0xbb8&&_0x351238<=0x1387;}function _0x579509(_0xa683cc){const _0x14731f=_0xa683cc['length'];let _0x258d9b=0x0;for(;_0x258d9b<_0x14731f;)if((_0xa683cc[_0x258d9b]&0x80)===0x0)_0x258d9b++;else{if((_0xa683cc[_0x258d9b]&0xe0)===0xc0){if(_0x258d9b+0x1===_0x14731f||(_0xa683cc[_0x258d9b+0x1]&0xc0)!==0x80||(_0xa683cc[_0x258d9b]&0xfe)===0xc0)return!0x1;_0x258d9b+=0x2;}else{if((_0xa683cc[_0x258d9b]&0xf0)===0xe0){if(_0x258d9b+0x2>=_0x14731f||(_0xa683cc[_0x258d9b+0x1]&0xc0)!==0x80||(_0xa683cc[_0x258d9b+0x2]&0xc0)!==0x80||_0xa683cc[_0x258d9b]===0xe0&&(_0xa683cc[_0x258d9b+0x1]&0xe0)===0x80||_0xa683cc[_0x258d9b]===0xed&&(_0xa683cc[_0x258d9b+0x1]&0xe0)===0xa0)return!0x1;_0x258d9b+=0x3;}else{if((_0xa683cc[_0x258d9b]&0xf8)===0xf0){if(_0x258d9b+0x3>=_0x14731f||(_0xa683cc[_0x258d9b+0x1]&0xc0)!==0x80||(_0xa683cc[_0x258d9b+0x2]&0xc0)!==0x80||(_0xa683cc[_0x258d9b+0x3]&0xc0)!==0x80||_0xa683cc[_0x258d9b]===0xf0&&(_0xa683cc[_0x258d9b+0x1]&0xf0)===0x80||_0xa683cc[_0x258d9b]===0xf4&&_0xa683cc[_0x258d9b+0x1]>0x8f||_0xa683cc[_0x258d9b]>0xf4)return!0x1;_0x258d9b+=0x4;}else return!0x1;}}}return!0x0;}function _0x1327d4(_0x2d039e){const _0x124f02=_0x148468;return _0xf6aceb&&typeof _0x2d039e==_0x124f02(0x245)&&typeof _0x2d039e[_0x124f02(0x26f)]=='function'&&typeof _0x2d039e[_0x124f02(0x191)]=='string'&&typeof _0x2d039e[_0x124f02(0x27f)]=='function'&&(_0x2d039e[Symbol[_0x124f02(0x2b8)]]===_0x124f02(0x232)||_0x2d039e[Symbol[_0x124f02(0x2b8)]]===_0x124f02(0x27c));}if(re['exports']={'isBlob':_0x1327d4,'isValidStatusCode':_0x53e199,'isValidUTF8':_0x579509,'tokenChars':_0x29ab8c},_0x580065)re[_0x148468(0x1f6)]['isValidUTF8']=function(_0x10e05a){const _0x77423=_0x148468;return _0x10e05a[_0x77423(0x1ef)]<0x18?_0x579509(_0x10e05a):_0x580065(_0x10e05a);};else{if(!process[_0x148468(0x16a)]['WS_NO_UTF_8_VALIDATE'])try{const _0xc1cf0=Yt;re[_0x148468(0x1f6)]['isValidUTF8']=function(_0x682a8b){const _0x1a2872=_0x148468;return _0x682a8b[_0x1a2872(0x1ef)]<0x20?_0x579509(_0x682a8b):_0xc1cf0(_0x682a8b);};}catch{}}return re[_0x148468(0x1f6)];}var Se,Je;function _0x59e8(){const _0x3c4f71=['GET','_shouldEmitClose','test','_injector','consume','headers','zlibDeflateOptions','isView','_destroy','handleEvent','get','12860kshIxo','CLOSING','pending','_read','_extensions','nodebuffer','socketPath','sha1','env','readUInt32BE','add','decompress','wasClean','writeUIntBE','HTTP/1.1\x20','cleanup','_closeCode','extensionName','maxPayload','Sec-WebSocket-Accept:\x20','_autoPong','call','\x22\x20must\x20have\x20only\x20a\x20single\x20value','writable','ws+unix:','drain','HTTP/1.1\x20101\x20Switching\x20Protocols','pow','allocUnsafe','collaboration-client-node.config','_readableState','cookie','conclude','isPaused','concat','size','_write','prototype','toString','href','forEach','endEmitted','connection','1005519DjYvzA','sendFrame','method','acceptAsServer','type','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','178JwzDpa','Invalid\x20URL:\x20','wss:','values','_options','status-code','finish','Unexpected\x20character\x20at\x20index\x20','options','handleUpgrade','\x0d\x0a\x0d\x0a','Origin','_final','_threshold','shouldHandle','cork','freeze','listen','WS_ERR_INVALID_CLOSE_CODE','upgrade','sec-websocket-origin','terminate','_state','listeners','\x22:\x20','server_max_window_bits','Sec-WebSocket-Protocol','_req','protocol','enqueue','_originalIpc','compress','push','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','_bufferedAmount','976fDAVjh','host','257652QGepIj','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','setConfig','Invalid\x20value\x20for\x20parameter\x20\x22','Sec-WebSocket-Protocol:\x20','uncork','hostname','onclose','_writableState','accept','_originalSecure','registerHTTPInterceptor','frame','reset','update','binary','delete','then','_deflate','serverNoContextTakeover','_receiver','1747179lGjNnb','_payloadLength','pong','emitClose','_isServer','find','from','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','number','username','dispatch','writeHead','_httpService','Invalid\x20Sec-WebSocket-Extensions\x20header','_buffers','pause','next','send','kAborted','close','haveLength','message','followRedirects','Server\x20sent\x20an\x20invalid\x20subprotocol','byteOffset','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','WS_ERR_EXPECTED_FIN','isArray','kType','WebSocket','startsWith','kWasClean','path','length','includes','origin','string','format','concurrencyLimit','WebSocket\x20is\x20not\x20open:\x20readyState\x20','exports','RSV1\x20must\x20be\x20clear','parse','clients','_firstFragment','generateMask','http:','client_no_context_takeover','addEventListener','Connection:\x20Upgrade','opcode','CONNECTING','errorEmitted','kReason','_opcode','Unsupported\x20protocol\x20version:\x20','The\x20URL\x27s\x20pathname\x20is\x20empty','defaultPort','kByteLength','allowSynchronousEvents','_maxPayload','slice','unshift','_maskBuffer','_queue','maskBuffer','_fin','server_no_context_takeover','constructor','alloc','OPEN','onerror','server','response','isServer','base64','Maximum\x20redirects\x20exceeded','_allowSynchronousEvents','_errorEmitted','bind','destroyed','_paused','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','target','shift','kDone','resume','readOnly','objectMode','WS_ERR_INVALID_UTF8','port','socket','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_messageLength','verifyClient','invalid\x20opcode\x20','species','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','concurrency','handleProtocols','Blob','\x22\x20subprotocol\x20is\x20duplicated','noServer','params','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_binaryType','The\x20\x22','The\x20server\x20is\x20not\x20running','replace','function','protocolVersion','_fragmented','abort','readable','toLowerCase','controlMessage','The\x20URL\x20contains\x20a\x20fragment\x20identifier','customHeaders','entries','object','getBlobData','pathname','kCode','Server\x20sent\x20no\x20subprotocol','bufferedAmount','_configService','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','WS_ERR_UNEXPECTED_RSV_1','clientMaxWindowBits','sec-websocket-extensions','handshakeTimeout','code','2520968dBbbVB','Unexpected\x20end\x20of\x20input','default','98FrXGqI','jobs','Parameter\x20\x22','readyState','reason','autoPong','Z_DEFAULT_WINDOWBITS','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','clientTracking','pipe','_url','apply','charCodeAt','onStarting','websocket','40tUDtvO','_readyState','_server','data','flush','offer','auth','statusCode','byteLength','Upgrade','Z_SYNC_FLUSH','arrayBuffer','CLOSED','wsClientError','_errored','digest','redirect','Invalid\x20Sec-WebSocket-Accept\x20header','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','create','isInteger','startLoop','client_max_window_bits','_compressed','File','_skipUTF8Validation','_closeFrameReceived','stream','perMessageDeflate','captureStackTrace','_sender','Unexpected\x20server\x20response:\x20','_removeListeners','createServer','_protocol','writeUInt16BE','onmessage','Max\x20payload\x20size\x20exceeded','_registerDependencies','permessage-deflate','set','url','join','dispose','_totalPayloadLength','setNoDelay','getData','getInfo','Sec-WebSocket-Extensions','_generateMask','__esModule','acceptAsClient','createSocket','Invalid\x20HTTP\x20method','address','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_mask','_closeFrameSent','keys','MASK\x20must\x20be\x20set','21250108XHCoew','removeAllListeners','_loop','removeListener','once','extensions','defineProperty','servername','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_bufferedBytes','warn','write','getConfig','_inflate','WS_ERR_UNEXPECTED_MASK','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','createInflateRaw','_socket','fin','removeEventListener','ws:','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_no_context_takeover','buffers','toStringTag','1693qECiQv','needDrain','authorized','finished','_closeMessage','blob','pluginName','password','destroy','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','binaryType','WS_ERR_EXPECTED_MASK','readUInt16BE','listening','WS_ERR_UNEXPECTED_RSV_2_3','catch','clientNoContextTakeover','open','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','Invalid\x20Sec-WebSocket-Protocol\x20header','ping','kMessage','error','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','completeUpgrade','WS_ERR_INVALID_OPCODE','has','MASK\x20must\x20be\x20clear','Basic\x20','FIN\x20must\x20be\x20set','kListener','rsv1','_originalHostOrSocketPath','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','emit','Unknown\x20parameter\x20\x22','normalizeParams','encrypted','invalid\x20status\x20code\x20','Invalid\x20Upgrade\x20header','listenerCount','callback','setSocket','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','dataMessage','finishRequest','indexOf','_redirects','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','total-length','_compress','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','mask','_decompress','request','arraybuffer','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','createConnection','serverMaxWindowBits','maxRedirects','_masked','createError','map','_closeTimer','skipUTF8Validation','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','setTimeout','sec-websocket-accept','buffer','authorization','backlog','end','threshold','dequeue','nextTick','hasOwnProperty','Invalid\x20WebSocket\x20frame:\x20','getOwnPropertyDescriptor','sec-websocket-protocol','timeout','client'];_0x59e8=function(){return _0x3c4f71;};return _0x59e8();}function dt(){const _0x55d103=_0x31bee7;if(Je)return Se;Je=0x1;const {Writable:_0x1cd584}=_0x28ad72,_0x29fe24=he(),{BINARY_TYPES:_0x2c8955,EMPTY_BUFFER:_0x3e77f6,kStatusCode:_0x52609f,kWebSocket:_0x5115fd}=V(),{concat:_0x2f9916,toArrayBuffer:_0x353c37,unmask:_0x4b57a6}=ce(),{isValidStatusCode:_0x9237cb,isValidUTF8:_0x47cea5}=ne(),_0x38d04b=Buffer[Symbol[_0x55d103(0x22e)]],_0x5f12d5=0x0,_0x24a383=0x1,_0x4459fc=0x2,_0x4a8b77=0x3,_0x41e85e=0x4,_0x524800=0x5,_0x4822ac=0x6;class _0x1ceb34 extends _0x1cd584{constructor(_0x2e6eee={}){const _0x4e6534=_0x55d103;super(),this[_0x4e6534(0x21b)]=_0x2e6eee[_0x4e6534(0x209)]!==void 0x0?_0x2e6eee['allowSynchronousEvents']:!0x0,this['_binaryType']=_0x2e6eee['binaryType']||_0x2c8955[0x0],this[_0x4e6534(0x166)]=_0x2e6eee[_0x4e6534(0x2a5)]||{},this[_0x4e6534(0x1d2)]=!!_0x2e6eee[_0x4e6534(0x218)],this[_0x4e6534(0x20a)]=_0x2e6eee[_0x4e6534(0x174)]|0x0,this['_skipUTF8Validation']=!!_0x2e6eee[_0x4e6534(0x2fa)],this[_0x5115fd]=void 0x0,this[_0x4e6534(0x2a9)]=0x0,this[_0x4e6534(0x1dc)]=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this['_mask']=void 0x0,this[_0x4e6534(0x23d)]=0x0,this[_0x4e6534(0x2f6)]=!0x1,this[_0x4e6534(0x210)]=!0x1,this[_0x4e6534(0x204)]=0x0,this[_0x4e6534(0x290)]=0x0,this[_0x4e6534(0x22b)]=0x0,this['_fragments']=[],this[_0x4e6534(0x272)]=!0x1,this[_0x4e6534(0x2a2)]=!0x1,this[_0x4e6534(0x1a9)]=_0x5f12d5;}[_0x55d103(0x186)](_0x1198d5,_0x489961,_0x1c070c){const _0x331447=_0x55d103;if(this[_0x331447(0x204)]===0x8&&this[_0x331447(0x1a9)]==_0x5f12d5)return _0x1c070c();this['_bufferedBytes']+=_0x1198d5[_0x331447(0x1ef)],this[_0x331447(0x1dc)]['push'](_0x1198d5),this[_0x331447(0x279)](_0x1c070c);}[_0x55d103(0x30f)](_0x13cf07){const _0xabd1af=_0x55d103;if(this['_bufferedBytes']-=_0x13cf07,_0x13cf07===this[_0xabd1af(0x1dc)][0x0][_0xabd1af(0x1ef)])return this['_buffers'][_0xabd1af(0x222)]();if(_0x13cf07<this['_buffers'][0x0][_0xabd1af(0x1ef)]){const _0x48cfd2=this[_0xabd1af(0x1dc)][0x0];return this[_0xabd1af(0x1dc)][0x0]=new _0x38d04b(_0x48cfd2['buffer'],_0x48cfd2['byteOffset']+_0x13cf07,_0x48cfd2[_0xabd1af(0x1ef)]-_0x13cf07),new _0x38d04b(_0x48cfd2[_0xabd1af(0x2fe)],_0x48cfd2[_0xabd1af(0x1e6)],_0x13cf07);}const _0x1c4a9d=Buffer[_0xabd1af(0x17e)](_0x13cf07);do{const _0x477360=this[_0xabd1af(0x1dc)][0x0],_0x55beb9=_0x1c4a9d['length']-_0x13cf07;_0x13cf07>=_0x477360[_0xabd1af(0x1ef)]?_0x1c4a9d[_0xabd1af(0x28c)](this[_0xabd1af(0x1dc)][_0xabd1af(0x222)](),_0x55beb9):(_0x1c4a9d[_0xabd1af(0x28c)](new Uint8Array(_0x477360['buffer'],_0x477360[_0xabd1af(0x1e6)],_0x13cf07),_0x55beb9),this[_0xabd1af(0x1dc)][0x0]=new _0x38d04b(_0x477360[_0xabd1af(0x2fe)],_0x477360[_0xabd1af(0x1e6)]+_0x13cf07,_0x477360[_0xabd1af(0x1ef)]-_0x13cf07)),_0x13cf07-=_0x477360[_0xabd1af(0x1ef)];}while(_0x13cf07>0x0);return _0x1c4a9d;}[_0x55d103(0x279)](_0x1d9aac){const _0x2ce9c4=_0x55d103;this[_0x2ce9c4(0x2a2)]=!0x0;do switch(this['_state']){case _0x5f12d5:this[_0x2ce9c4(0x293)](_0x1d9aac);break;case _0x24a383:this['getPayloadLength16'](_0x1d9aac);break;case _0x4459fc:this['getPayloadLength64'](_0x1d9aac);break;case _0x4a8b77:this['getMask']();break;case _0x41e85e:this[_0x2ce9c4(0x292)](_0x1d9aac);break;case _0x524800:case _0x4822ac:this[_0x2ce9c4(0x2a2)]=!0x1;return;}while(this['_loop']);this[_0x2ce9c4(0x272)]||_0x1d9aac();}[_0x55d103(0x293)](_0xd2d69){const _0x10a28f=_0x55d103;if(this[_0x10a28f(0x2a9)]<0x2){this['_loop']=!0x1;return;}const _0x277b3c=this[_0x10a28f(0x30f)](0x2);if((_0x277b3c[0x0]&0x30)!==0x0){const _0x537c88=this[_0x10a28f(0x2f7)](RangeError,_0x10a28f(0x2a8),!0x0,0x3ea,_0x10a28f(0x2c7));_0xd2d69(_0x537c88);return;}const _0x4e83f7=(_0x277b3c[0x0]&0x40)===0x40;if(_0x4e83f7&&!this['_extensions'][_0x29fe24[_0x10a28f(0x173)]]){const _0x5b4495=this[_0x10a28f(0x2f7)](RangeError,_0x10a28f(0x1f7),!0x0,0x3ea,_0x10a28f(0x24d));_0xd2d69(_0x5b4495);return;}if(this[_0x10a28f(0x210)]=(_0x277b3c[0x0]&0x80)===0x80,this['_opcode']=_0x277b3c[0x0]&0xf,this[_0x10a28f(0x1cf)]=_0x277b3c[0x1]&0x7f,this[_0x10a28f(0x204)]===0x0){if(_0x4e83f7){const _0x37eaf8=this[_0x10a28f(0x2f7)](RangeError,_0x10a28f(0x1f7),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xd2d69(_0x37eaf8);return;}if(!this[_0x10a28f(0x23d)]){const _0x3799d8=this['createError'](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x10a28f(0x2d2));_0xd2d69(_0x3799d8);return;}this['_opcode']=this['_fragmented'];}else{if(this['_opcode']===0x1||this[_0x10a28f(0x204)]===0x2){if(this[_0x10a28f(0x23d)]){const _0x1298d6=this[_0x10a28f(0x2f7)](RangeError,'invalid\x20opcode\x20'+this[_0x10a28f(0x204)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0xd2d69(_0x1298d6);return;}this[_0x10a28f(0x27b)]=_0x4e83f7;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this[_0x10a28f(0x210)]){const _0x499c7d=this[_0x10a28f(0x2f7)](RangeError,_0x10a28f(0x2d6),!0x0,0x3ea,_0x10a28f(0x1e8));_0xd2d69(_0x499c7d);return;}if(_0x4e83f7){const _0x254ed4=this['createError'](RangeError,_0x10a28f(0x1f7),!0x0,0x3ea,_0x10a28f(0x24d));_0xd2d69(_0x254ed4);return;}if(this[_0x10a28f(0x1cf)]>0x7d||this[_0x10a28f(0x204)]===0x8&&this[_0x10a28f(0x1cf)]===0x1){const _0x3de1fc=this[_0x10a28f(0x2f7)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x10a28f(0x1cf)],!0x0,0x3ea,_0x10a28f(0x2af));_0xd2d69(_0x3de1fc);return;}}else{const _0x38f9f4=this['createError'](RangeError,_0x10a28f(0x22d)+this[_0x10a28f(0x204)],!0x0,0x3ea,_0x10a28f(0x2d2));_0xd2d69(_0x38f9f4);return;}}}if(!this[_0x10a28f(0x210)]&&!this[_0x10a28f(0x23d)]&&(this[_0x10a28f(0x23d)]=this[_0x10a28f(0x204)]),this[_0x10a28f(0x2f6)]=(_0x277b3c[0x1]&0x80)===0x80,this[_0x10a28f(0x1d2)]){if(!this[_0x10a28f(0x2f6)]){const _0x342323=this[_0x10a28f(0x2f7)](RangeError,_0x10a28f(0x29f),!0x0,0x3ea,_0x10a28f(0x2c4));_0xd2d69(_0x342323);return;}}else{if(this[_0x10a28f(0x2f6)]){const _0xc87dd5=this[_0x10a28f(0x2f7)](RangeError,_0x10a28f(0x2d4),!0x0,0x3ea,_0x10a28f(0x2ae));_0xd2d69(_0xc87dd5);return;}}this[_0x10a28f(0x1cf)]===0x7e?this[_0x10a28f(0x1a9)]=_0x24a383:this[_0x10a28f(0x1cf)]===0x7f?this['_state']=_0x4459fc:this[_0x10a28f(0x1e2)](_0xd2d69);}['getPayloadLength16'](_0x42aa7e){const _0x32e7bc=_0x55d103;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}this[_0x32e7bc(0x1cf)]=this[_0x32e7bc(0x30f)](0x2)[_0x32e7bc(0x2c5)](0x0),this[_0x32e7bc(0x1e2)](_0x42aa7e);}['getPayloadLength64'](_0x4f4bd3){const _0x28fafa=_0x55d103;if(this[_0x28fafa(0x2a9)]<0x8){this[_0x28fafa(0x2a2)]=!0x1;return;}const _0x14d7b3=this['consume'](0x8),_0x105f6b=_0x14d7b3[_0x28fafa(0x16b)](0x0);if(_0x105f6b>Math[_0x28fafa(0x17d)](0x2,0x15)-0x1){const _0xc3cda=this[_0x28fafa(0x2f7)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x28fafa(0x1e7));_0x4f4bd3(_0xc3cda);return;}this[_0x28fafa(0x1cf)]=_0x105f6b*Math[_0x28fafa(0x17d)](0x2,0x20)+_0x14d7b3[_0x28fafa(0x16b)](0x4),this[_0x28fafa(0x1e2)](_0x4f4bd3);}['haveLength'](_0x7d2d0b){const _0x410c38=_0x55d103;if(this[_0x410c38(0x1cf)]&&this['_opcode']<0x8&&(this['_totalPayloadLength']+=this[_0x410c38(0x1cf)],this[_0x410c38(0x290)]>this[_0x410c38(0x20a)]&&this[_0x410c38(0x20a)]>0x0)){const _0x13a737=this[_0x410c38(0x2f7)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x410c38(0x236));_0x7d2d0b(_0x13a737);return;}this[_0x410c38(0x2f6)]?this[_0x410c38(0x1a9)]=_0x4a8b77:this[_0x410c38(0x1a9)]=_0x41e85e;}['getMask'](){const _0x166e74=_0x55d103;if(this[_0x166e74(0x2a9)]<0x4){this['_loop']=!0x1;return;}this[_0x166e74(0x29c)]=this[_0x166e74(0x30f)](0x4),this[_0x166e74(0x1a9)]=_0x41e85e;}[_0x55d103(0x292)](_0x19a362){const _0x3b5984=_0x55d103;let _0x15c52d=_0x3e77f6;if(this[_0x3b5984(0x1cf)]){if(this['_bufferedBytes']<this[_0x3b5984(0x1cf)]){this[_0x3b5984(0x2a2)]=!0x1;return;}_0x15c52d=this['consume'](this[_0x3b5984(0x1cf)]),this[_0x3b5984(0x2f6)]&&(this['_mask'][0x0]|this[_0x3b5984(0x29c)][0x1]|this[_0x3b5984(0x29c)][0x2]|this['_mask'][0x3])!==0x0&&_0x4b57a6(_0x15c52d,this[_0x3b5984(0x29c)]);}if(this[_0x3b5984(0x204)]>0x7){this[_0x3b5984(0x241)](_0x15c52d,_0x19a362);return;}if(this[_0x3b5984(0x27b)]){this[_0x3b5984(0x1a9)]=_0x524800,this[_0x3b5984(0x16d)](_0x15c52d,_0x19a362);return;}_0x15c52d[_0x3b5984(0x1ef)]&&(this['_messageLength']=this['_totalPayloadLength'],this['_fragments'][_0x3b5984(0x1b3)](_0x15c52d)),this[_0x3b5984(0x2e5)](_0x19a362);}[_0x55d103(0x16d)](_0x50c13a,_0x22abb2){const _0x1056d2=_0x55d103;this[_0x1056d2(0x166)][_0x29fe24[_0x1056d2(0x173)]][_0x1056d2(0x16d)](_0x50c13a,this[_0x1056d2(0x210)],(_0x268a4e,_0x42463d)=>{const _0x392ffe=_0x1056d2;if(_0x268a4e)return _0x22abb2(_0x268a4e);if(_0x42463d['length']){if(this[_0x392ffe(0x22b)]+=_0x42463d[_0x392ffe(0x1ef)],this[_0x392ffe(0x22b)]>this['_maxPayload']&&this[_0x392ffe(0x20a)]>0x0){const _0x4025f1=this[_0x392ffe(0x2f7)](RangeError,_0x392ffe(0x289),!0x1,0x3f1,_0x392ffe(0x236));_0x22abb2(_0x4025f1);return;}this['_fragments']['push'](_0x42463d);}this[_0x392ffe(0x2e5)](_0x22abb2),this[_0x392ffe(0x1a9)]===_0x5f12d5&&this[_0x392ffe(0x279)](_0x22abb2);});}[_0x55d103(0x2e5)](_0x44baa1){const _0x34cd6b=_0x55d103;if(!this['_fin']){this[_0x34cd6b(0x1a9)]=_0x5f12d5;return;}const _0x3baec9=this[_0x34cd6b(0x22b)],_0x55aed1=this['_fragments'];if(this[_0x34cd6b(0x290)]=0x0,this[_0x34cd6b(0x22b)]=0x0,this[_0x34cd6b(0x23d)]=0x0,this['_fragments']=[],this['_opcode']===0x2){let _0xa20dbf;this[_0x34cd6b(0x237)]===_0x34cd6b(0x167)?_0xa20dbf=_0x2f9916(_0x55aed1,_0x3baec9):this[_0x34cd6b(0x237)]===_0x34cd6b(0x2f0)?_0xa20dbf=_0x353c37(_0x2f9916(_0x55aed1,_0x3baec9)):this['_binaryType']===_0x34cd6b(0x2be)?_0xa20dbf=new Blob(_0x55aed1):_0xa20dbf=_0x55aed1,this[_0x34cd6b(0x21b)]?(this[_0x34cd6b(0x2db)]('message',_0xa20dbf,!0x0),this[_0x34cd6b(0x1a9)]=_0x5f12d5):(this[_0x34cd6b(0x1a9)]=_0x4822ac,setImmediate(()=>{const _0x55eefe=_0x34cd6b;this[_0x55eefe(0x2db)](_0x55eefe(0x1e3),_0xa20dbf,!0x0),this[_0x55eefe(0x1a9)]=_0x5f12d5,this[_0x55eefe(0x279)](_0x44baa1);}));}else{const _0x3a5667=_0x2f9916(_0x55aed1,_0x3baec9);if(!this[_0x34cd6b(0x27d)]&&!_0x47cea5(_0x3a5667)){const _0x33834d=this[_0x34cd6b(0x2f7)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x34cd6b(0x227));_0x44baa1(_0x33834d);return;}this['_state']===_0x524800||this[_0x34cd6b(0x21b)]?(this[_0x34cd6b(0x2db)](_0x34cd6b(0x1e3),_0x3a5667,!0x1),this[_0x34cd6b(0x1a9)]=_0x5f12d5):(this[_0x34cd6b(0x1a9)]=_0x4822ac,setImmediate(()=>{const _0x319620=_0x34cd6b;this[_0x319620(0x2db)](_0x319620(0x1e3),_0x3a5667,!0x1),this[_0x319620(0x1a9)]=_0x5f12d5,this['startLoop'](_0x44baa1);}));}}[_0x55d103(0x241)](_0x37c840,_0x567a4b){const _0x3ee945=_0x55d103;if(this[_0x3ee945(0x204)]===0x8){if(_0x37c840[_0x3ee945(0x1ef)]===0x0)this[_0x3ee945(0x2a2)]=!0x1,this[_0x3ee945(0x2db)](_0x3ee945(0x182),0x3ed,_0x3e77f6),this[_0x3ee945(0x301)]();else{const _0x4684ab=_0x37c840[_0x3ee945(0x2c5)](0x0);if(!_0x9237cb(_0x4684ab)){const _0x278c52=this[_0x3ee945(0x2f7)](RangeError,_0x3ee945(0x2df)+_0x4684ab,!0x0,0x3ea,_0x3ee945(0x1a5));_0x567a4b(_0x278c52);return;}const _0xca782a=new _0x38d04b(_0x37c840[_0x3ee945(0x2fe)],_0x37c840[_0x3ee945(0x1e6)]+0x2,_0x37c840[_0x3ee945(0x1ef)]-0x2);if(!this[_0x3ee945(0x27d)]&&!_0x47cea5(_0xca782a)){const _0x4ca18d=this[_0x3ee945(0x2f7)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x3ee945(0x227));_0x567a4b(_0x4ca18d);return;}this[_0x3ee945(0x2a2)]=!0x1,this[_0x3ee945(0x2db)](_0x3ee945(0x182),_0x4684ab,_0xca782a),this[_0x3ee945(0x301)]();}this[_0x3ee945(0x1a9)]=_0x5f12d5;return;}this['_allowSynchronousEvents']?(this[_0x3ee945(0x2db)](this[_0x3ee945(0x204)]===0x9?_0x3ee945(0x2cd):'pong',_0x37c840),this['_state']=_0x5f12d5):(this['_state']=_0x4822ac,setImmediate(()=>{const _0x37e564=_0x3ee945;this[_0x37e564(0x2db)](this[_0x37e564(0x204)]===0x9?_0x37e564(0x2cd):_0x37e564(0x1d0),_0x37c840),this[_0x37e564(0x1a9)]=_0x5f12d5,this[_0x37e564(0x279)](_0x567a4b);}));}[_0x55d103(0x2f7)](_0x39e7e2,_0x3b0bf8,_0x4c0594,_0x43a9f0,_0x477e3d){const _0x21d0ad=_0x55d103;this['_loop']=!0x1,this[_0x21d0ad(0x272)]=!0x0;const _0x46da61=new _0x39e7e2(_0x4c0594?_0x21d0ad(0x306)+_0x3b0bf8:_0x3b0bf8);return Error[_0x21d0ad(0x281)](_0x46da61,this[_0x21d0ad(0x2f7)]),_0x46da61['code']=_0x477e3d,_0x46da61[_0x52609f]=_0x43a9f0,_0x46da61;}}return Se=_0x1ceb34,Se;}var Ee,et;function _t(){const _0x223b4d=_0x31bee7;if(et)return Ee;et=0x1;const {Duplex:_0x19f161}=_0x28ad72,{randomFillSync:_0x4b13dd}=_0x26090d,_0x3c4c51=he(),{EMPTY_BUFFER:_0x40ebf4,kWebSocket:_0x467fa8,NOOP:_0x58b12b}=V(),{isBlob:_0x3bf8f5,isValidStatusCode:_0xc894dc}=ne(),{mask:_0xb91c18,toBuffer:_0x525b9f}=ce(),_0x5e5f56=Symbol(_0x223b4d(0x208)),_0x499a52=Buffer[_0x223b4d(0x213)](0x4),_0x77c9c8=0x8*0x400;let _0x12c05a,_0x6119a6=_0x77c9c8;const _0x12f927=0x0,_0x79f9f3=0x1,_0x437036=0x2;class _0x2ed91a{constructor(_0x59590b,_0x9479a1,_0x4081c2){const _0x40d302=_0x223b4d;this[_0x40d302(0x166)]=_0x9479a1||{},_0x4081c2&&(this[_0x40d302(0x295)]=_0x4081c2,this['_maskBuffer']=Buffer[_0x40d302(0x213)](0x4)),this['_socket']=_0x59590b,this[_0x40d302(0x1fa)]=!0x0,this['_compress']=!0x1,this[_0x40d302(0x2a9)]=0x0,this[_0x40d302(0x20e)]=[],this[_0x40d302(0x1a9)]=_0x12f927,this[_0x40d302(0x215)]=_0x58b12b,this[_0x467fa8]=void 0x0;}static[_0x223b4d(0x1c5)](_0x35113a,_0x1cc66e){const _0x34ffca=_0x223b4d;let _0xa08f00,_0x5df5a4=!0x1,_0x12c15e=0x2,_0xd4b651=!0x1;_0x1cc66e[_0x34ffca(0x2ed)]&&(_0xa08f00=_0x1cc66e[_0x34ffca(0x20f)]||_0x499a52,_0x1cc66e[_0x34ffca(0x1fb)]?_0x1cc66e[_0x34ffca(0x1fb)](_0xa08f00):(_0x6119a6===_0x77c9c8&&(_0x12c05a===void 0x0&&(_0x12c05a=Buffer['alloc'](_0x77c9c8)),_0x4b13dd(_0x12c05a,0x0,_0x77c9c8),_0x6119a6=0x0),_0xa08f00[0x0]=_0x12c05a[_0x6119a6++],_0xa08f00[0x1]=_0x12c05a[_0x6119a6++],_0xa08f00[0x2]=_0x12c05a[_0x6119a6++],_0xa08f00[0x3]=_0x12c05a[_0x6119a6++]),_0xd4b651=(_0xa08f00[0x0]|_0xa08f00[0x1]|_0xa08f00[0x2]|_0xa08f00[0x3])===0x0,_0x12c15e=0x6);let _0x50789a;typeof _0x35113a==_0x34ffca(0x1f2)?(!_0x1cc66e[_0x34ffca(0x2ed)]||_0xd4b651)&&_0x1cc66e[_0x5e5f56]!==void 0x0?_0x50789a=_0x1cc66e[_0x5e5f56]:(_0x35113a=Buffer[_0x34ffca(0x1d4)](_0x35113a),_0x50789a=_0x35113a['length']):(_0x50789a=_0x35113a[_0x34ffca(0x1ef)],_0x5df5a4=_0x1cc66e['mask']&&_0x1cc66e['readOnly']&&!_0xd4b651);let _0x40627b=_0x50789a;_0x50789a>=0x10000?(_0x12c15e+=0x8,_0x40627b=0x7f):_0x50789a>0x7d&&(_0x12c15e+=0x2,_0x40627b=0x7e);const _0x12f6a2=Buffer[_0x34ffca(0x17e)](_0x5df5a4?_0x50789a+_0x12c15e:_0x12c15e);return _0x12f6a2[0x0]=_0x1cc66e[_0x34ffca(0x2b2)]?_0x1cc66e[_0x34ffca(0x200)]|0x80:_0x1cc66e['opcode'],_0x1cc66e[_0x34ffca(0x2d8)]&&(_0x12f6a2[0x0]|=0x40),_0x12f6a2[0x1]=_0x40627b,_0x40627b===0x7e?_0x12f6a2[_0x34ffca(0x287)](_0x50789a,0x2):_0x40627b===0x7f&&(_0x12f6a2[0x2]=_0x12f6a2[0x3]=0x0,_0x12f6a2[_0x34ffca(0x16f)](_0x50789a,0x4,0x6)),_0x1cc66e[_0x34ffca(0x2ed)]?(_0x12f6a2[0x1]|=0x80,_0x12f6a2[_0x12c15e-0x4]=_0xa08f00[0x0],_0x12f6a2[_0x12c15e-0x3]=_0xa08f00[0x1],_0x12f6a2[_0x12c15e-0x2]=_0xa08f00[0x2],_0x12f6a2[_0x12c15e-0x1]=_0xa08f00[0x3],_0xd4b651?[_0x12f6a2,_0x35113a]:_0x5df5a4?(_0xb91c18(_0x35113a,_0xa08f00,_0x12f6a2,_0x12c15e,_0x50789a),[_0x12f6a2]):(_0xb91c18(_0x35113a,_0xa08f00,_0x35113a,0x0,_0x50789a),[_0x12f6a2,_0x35113a])):[_0x12f6a2,_0x35113a];}[_0x223b4d(0x1e1)](_0x3d6a33,_0x5d617d,_0x409698,_0x38ab04){const _0x328d8f=_0x223b4d;let _0xbe2404;if(_0x3d6a33===void 0x0)_0xbe2404=_0x40ebf4;else{if(typeof _0x3d6a33!=_0x328d8f(0x1d6)||!_0xc894dc(_0x3d6a33))throw new TypeError(_0x328d8f(0x2d0));if(_0x5d617d===void 0x0||!_0x5d617d[_0x328d8f(0x1ef)])_0xbe2404=Buffer['allocUnsafe'](0x2),_0xbe2404[_0x328d8f(0x287)](_0x3d6a33,0x0);else{const _0x51c456=Buffer[_0x328d8f(0x26c)](_0x5d617d);if(_0x51c456>0x7b)throw new RangeError(_0x328d8f(0x1b9));_0xbe2404=Buffer[_0x328d8f(0x17e)](0x2+_0x51c456),_0xbe2404['writeUInt16BE'](_0x3d6a33,0x0),typeof _0x5d617d=='string'?_0xbe2404['write'](_0x5d617d,0x2):_0xbe2404['set'](_0x5d617d,0x2);}}const _0x4186db={[_0x5e5f56]:_0xbe2404[_0x328d8f(0x1ef)],'fin':!0x0,'generateMask':this[_0x328d8f(0x295)],'mask':_0x409698,'maskBuffer':this[_0x328d8f(0x20d)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x12f927?this[_0x328d8f(0x1b0)]([this[_0x328d8f(0x1d8)],_0xbe2404,!0x1,_0x4186db,_0x38ab04]):this[_0x328d8f(0x18e)](_0x2ed91a[_0x328d8f(0x1c5)](_0xbe2404,_0x4186db),_0x38ab04);}['ping'](_0x44dba1,_0x443bed,_0x30234d){const _0x3da9e3=_0x223b4d;let _0x4ecb86,_0x4da82f;if(typeof _0x44dba1=='string'?(_0x4ecb86=Buffer['byteLength'](_0x44dba1),_0x4da82f=!0x1):_0x3bf8f5(_0x44dba1)?(_0x4ecb86=_0x44dba1['size'],_0x4da82f=!0x1):(_0x44dba1=_0x525b9f(_0x44dba1),_0x4ecb86=_0x44dba1['length'],_0x4da82f=_0x525b9f[_0x3da9e3(0x225)]),_0x4ecb86>0x7d)throw new RangeError(_0x3da9e3(0x2e4));const _0x44a4f3={[_0x5e5f56]:_0x4ecb86,'fin':!0x0,'generateMask':this[_0x3da9e3(0x295)],'mask':_0x443bed,'maskBuffer':this[_0x3da9e3(0x20d)],'opcode':0x9,'readOnly':_0x4da82f,'rsv1':!0x1};_0x3bf8f5(_0x44dba1)?this[_0x3da9e3(0x1a9)]!==_0x12f927?this[_0x3da9e3(0x1b0)]([this['getBlobData'],_0x44dba1,!0x1,_0x44a4f3,_0x30234d]):this['getBlobData'](_0x44dba1,!0x1,_0x44a4f3,_0x30234d):this[_0x3da9e3(0x1a9)]!==_0x12f927?this[_0x3da9e3(0x1b0)]([this[_0x3da9e3(0x1d8)],_0x44dba1,!0x1,_0x44a4f3,_0x30234d]):this['sendFrame'](_0x2ed91a[_0x3da9e3(0x1c5)](_0x44dba1,_0x44a4f3),_0x30234d);}[_0x223b4d(0x1d0)](_0x160bb5,_0x1c2f54,_0x453440){const _0x5b91b9=_0x223b4d;let _0x349641,_0x3697e0;if(typeof _0x160bb5==_0x5b91b9(0x1f2)?(_0x349641=Buffer[_0x5b91b9(0x26c)](_0x160bb5),_0x3697e0=!0x1):_0x3bf8f5(_0x160bb5)?(_0x349641=_0x160bb5['size'],_0x3697e0=!0x1):(_0x160bb5=_0x525b9f(_0x160bb5),_0x349641=_0x160bb5['length'],_0x3697e0=_0x525b9f[_0x5b91b9(0x225)]),_0x349641>0x7d)throw new RangeError(_0x5b91b9(0x2e4));const _0x3fe38a={[_0x5e5f56]:_0x349641,'fin':!0x0,'generateMask':this[_0x5b91b9(0x295)],'mask':_0x1c2f54,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x3697e0,'rsv1':!0x1};_0x3bf8f5(_0x160bb5)?this[_0x5b91b9(0x1a9)]!==_0x12f927?this[_0x5b91b9(0x1b0)]([this[_0x5b91b9(0x246)],_0x160bb5,!0x1,_0x3fe38a,_0x453440]):this[_0x5b91b9(0x246)](_0x160bb5,!0x1,_0x3fe38a,_0x453440):this[_0x5b91b9(0x1a9)]!==_0x12f927?this[_0x5b91b9(0x1b0)]([this[_0x5b91b9(0x1d8)],_0x160bb5,!0x1,_0x3fe38a,_0x453440]):this[_0x5b91b9(0x18e)](_0x2ed91a[_0x5b91b9(0x1c5)](_0x160bb5,_0x3fe38a),_0x453440);}[_0x223b4d(0x1df)](_0x301f3c,_0xe101ab,_0xc48295){const _0xa5de0b=_0x223b4d,_0x225932=this[_0xa5de0b(0x166)][_0x3c4c51[_0xa5de0b(0x173)]];let _0x28dc97=_0xe101ab[_0xa5de0b(0x1c8)]?0x2:0x1,_0x164bed=_0xe101ab[_0xa5de0b(0x1b2)],_0x20f1ea,_0x4f7a7b;typeof _0x301f3c==_0xa5de0b(0x1f2)?(_0x20f1ea=Buffer[_0xa5de0b(0x26c)](_0x301f3c),_0x4f7a7b=!0x1):_0x3bf8f5(_0x301f3c)?(_0x20f1ea=_0x301f3c[_0xa5de0b(0x185)],_0x4f7a7b=!0x1):(_0x301f3c=_0x525b9f(_0x301f3c),_0x20f1ea=_0x301f3c[_0xa5de0b(0x1ef)],_0x4f7a7b=_0x525b9f['readOnly']),this[_0xa5de0b(0x1fa)]?(this[_0xa5de0b(0x1fa)]=!0x1,_0x164bed&&_0x225932&&_0x225932['params'][_0x225932[_0xa5de0b(0x1d2)]?'server_no_context_takeover':'client_no_context_takeover']&&(_0x164bed=_0x20f1ea>=_0x225932[_0xa5de0b(0x1a0)]),this[_0xa5de0b(0x2eb)]=_0x164bed):(_0x164bed=!0x1,_0x28dc97=0x0),_0xe101ab[_0xa5de0b(0x2b2)]&&(this[_0xa5de0b(0x1fa)]=!0x0);const _0x2cd272={[_0x5e5f56]:_0x20f1ea,'fin':_0xe101ab[_0xa5de0b(0x2b2)],'generateMask':this[_0xa5de0b(0x295)],'mask':_0xe101ab[_0xa5de0b(0x2ed)],'maskBuffer':this['_maskBuffer'],'opcode':_0x28dc97,'readOnly':_0x4f7a7b,'rsv1':_0x164bed};_0x3bf8f5(_0x301f3c)?this[_0xa5de0b(0x1a9)]!==_0x12f927?this[_0xa5de0b(0x1b0)]([this['getBlobData'],_0x301f3c,this[_0xa5de0b(0x2eb)],_0x2cd272,_0xc48295]):this[_0xa5de0b(0x246)](_0x301f3c,this[_0xa5de0b(0x2eb)],_0x2cd272,_0xc48295):this[_0xa5de0b(0x1a9)]!==_0x12f927?this['enqueue']([this['dispatch'],_0x301f3c,this[_0xa5de0b(0x2eb)],_0x2cd272,_0xc48295]):this['dispatch'](_0x301f3c,this[_0xa5de0b(0x2eb)],_0x2cd272,_0xc48295);}['getBlobData'](_0x947a8a,_0x45bd91,_0x55a96c,_0x2a4a5c){const _0x3eda2f=_0x223b4d;this[_0x3eda2f(0x2a9)]+=_0x55a96c[_0x5e5f56],this[_0x3eda2f(0x1a9)]=_0x437036,_0x947a8a['arrayBuffer']()[_0x3eda2f(0x1ca)](_0x48976e=>{const _0x5dd6fb=_0x3eda2f;if(this[_0x5dd6fb(0x2b1)][_0x5dd6fb(0x21e)]){const _0x257b1e=new Error(_0x5dd6fb(0x2ec));process[_0x5dd6fb(0x304)](_0x881644,this,_0x257b1e,_0x2a4a5c);return;}this[_0x5dd6fb(0x2a9)]-=_0x55a96c[_0x5e5f56];const _0x289c1f=_0x525b9f(_0x48976e);_0x45bd91?this['dispatch'](_0x289c1f,_0x45bd91,_0x55a96c,_0x2a4a5c):(this[_0x5dd6fb(0x1a9)]=_0x12f927,this['sendFrame'](_0x2ed91a[_0x5dd6fb(0x1c5)](_0x289c1f,_0x55a96c),_0x2a4a5c),this[_0x5dd6fb(0x303)]());})[_0x3eda2f(0x2c8)](_0x258753=>{const _0x50d331=_0x3eda2f;process[_0x50d331(0x304)](_0x53c6fa,this,_0x258753,_0x2a4a5c);});}[_0x223b4d(0x1d8)](_0x1ba156,_0x4e5b5c,_0x472a9e,_0x197184){const _0x563dd3=_0x223b4d;if(!_0x4e5b5c){this[_0x563dd3(0x18e)](_0x2ed91a['frame'](_0x1ba156,_0x472a9e),_0x197184);return;}const _0x3140e7=this[_0x563dd3(0x166)][_0x3c4c51[_0x563dd3(0x173)]];this[_0x563dd3(0x2a9)]+=_0x472a9e[_0x5e5f56],this[_0x563dd3(0x1a9)]=_0x79f9f3,_0x3140e7[_0x563dd3(0x1b2)](_0x1ba156,_0x472a9e[_0x563dd3(0x2b2)],(_0x4f6697,_0x2f7471)=>{const _0x4c9e14=_0x563dd3;if(this[_0x4c9e14(0x2b1)]['destroyed']){const _0x3b8505=new Error(_0x4c9e14(0x24c));_0x881644(this,_0x3b8505,_0x197184);return;}this['_bufferedBytes']-=_0x472a9e[_0x5e5f56],this[_0x4c9e14(0x1a9)]=_0x12f927,_0x472a9e[_0x4c9e14(0x225)]=!0x1,this[_0x4c9e14(0x18e)](_0x2ed91a['frame'](_0x2f7471,_0x472a9e),_0x197184),this[_0x4c9e14(0x303)]();});}[_0x223b4d(0x303)](){const _0x37447d=_0x223b4d;for(;this[_0x37447d(0x1a9)]===_0x12f927&&this[_0x37447d(0x20e)][_0x37447d(0x1ef)];){const _0x10b9b6=this[_0x37447d(0x20e)]['shift']();this[_0x37447d(0x2a9)]-=_0x10b9b6[0x3][_0x5e5f56],Reflect[_0x37447d(0x260)](_0x10b9b6[0x0],this,_0x10b9b6['slice'](0x1));}}[_0x223b4d(0x1b0)](_0x2f7255){const _0x490606=_0x223b4d;this[_0x490606(0x2a9)]+=_0x2f7255[0x3][_0x5e5f56],this[_0x490606(0x20e)][_0x490606(0x1b3)](_0x2f7255);}[_0x223b4d(0x18e)](_0x5ce470,_0x58e3c4){const _0x406dfc=_0x223b4d;_0x5ce470[_0x406dfc(0x1ef)]===0x2?(this['_socket'][_0x406dfc(0x1a2)](),this[_0x406dfc(0x2b1)][_0x406dfc(0x2ab)](_0x5ce470[0x0]),this['_socket'][_0x406dfc(0x2ab)](_0x5ce470[0x1],_0x58e3c4),this[_0x406dfc(0x2b1)][_0x406dfc(0x1be)]()):this[_0x406dfc(0x2b1)]['write'](_0x5ce470[0x0],_0x58e3c4);}}Ee=_0x2ed91a;function _0x881644(_0x55b4b6,_0x18edd,_0x3a1b56){const _0x7095cd=_0x223b4d;typeof _0x3a1b56==_0x7095cd(0x23b)&&_0x3a1b56(_0x18edd);for(let _0x351ad0=0x0;_0x351ad0<_0x55b4b6[_0x7095cd(0x20e)][_0x7095cd(0x1ef)];_0x351ad0++){const _0xa571e0=_0x55b4b6[_0x7095cd(0x20e)][_0x351ad0],_0x229cdc=_0xa571e0[_0xa571e0['length']-0x1];typeof _0x229cdc=='function'&&_0x229cdc(_0x18edd);}}function _0x53c6fa(_0x260190,_0x209711,_0x370c5c){_0x881644(_0x260190,_0x209711,_0x370c5c),_0x260190['onerror'](_0x209711);}return Ee;}var xe,tt;function Kt(){const _0x20eb09=_0x31bee7;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x5d986f,kListener:_0x41aa89}=V(),_0x2a9df1=Symbol(_0x20eb09(0x248)),_0x3dea55=Symbol('kData'),_0x533559=Symbol('kError'),_0x4f189d=Symbol(_0x20eb09(0x2ce)),_0x3fe740=Symbol(_0x20eb09(0x203)),_0x4c563f=Symbol('kTarget'),_0x3239eb=Symbol(_0x20eb09(0x1ea)),_0x2fb9ca=Symbol(_0x20eb09(0x1ed));class _0x2724ba{constructor(_0x185460){this[_0x4c563f]=null,this[_0x3239eb]=_0x185460;}get[_0x20eb09(0x221)](){return this[_0x4c563f];}get[_0x20eb09(0x191)](){return this[_0x3239eb];}}Object['defineProperty'](_0x2724ba[_0x20eb09(0x187)],'target',{'enumerable':!0x0}),Object[_0x20eb09(0x2a6)](_0x2724ba[_0x20eb09(0x187)],_0x20eb09(0x191),{'enumerable':!0x0});class _0x5313a4 extends _0x2724ba{constructor(_0x272f66,_0x430f9c={}){const _0x31fa2b=_0x20eb09;super(_0x272f66),this[_0x2a9df1]=_0x430f9c[_0x31fa2b(0x251)]===void 0x0?0x0:_0x430f9c[_0x31fa2b(0x251)],this[_0x3fe740]=_0x430f9c[_0x31fa2b(0x259)]===void 0x0?'':_0x430f9c[_0x31fa2b(0x259)],this[_0x2fb9ca]=_0x430f9c[_0x31fa2b(0x16e)]===void 0x0?!0x1:_0x430f9c[_0x31fa2b(0x16e)];}get[_0x20eb09(0x251)](){return this[_0x2a9df1];}get[_0x20eb09(0x259)](){return this[_0x3fe740];}get['wasClean'](){return this[_0x2fb9ca];}}Object[_0x20eb09(0x2a6)](_0x5313a4[_0x20eb09(0x187)],_0x20eb09(0x251),{'enumerable':!0x0}),Object['defineProperty'](_0x5313a4[_0x20eb09(0x187)],_0x20eb09(0x259),{'enumerable':!0x0}),Object[_0x20eb09(0x2a6)](_0x5313a4['prototype'],_0x20eb09(0x16e),{'enumerable':!0x0});class _0xc6ddf0 extends _0x2724ba{constructor(_0x2dde16,_0x38f81f={}){const _0xf4f310=_0x20eb09;super(_0x2dde16),this[_0x533559]=_0x38f81f[_0xf4f310(0x2cf)]===void 0x0?null:_0x38f81f[_0xf4f310(0x2cf)],this[_0x4f189d]=_0x38f81f[_0xf4f310(0x1e3)]===void 0x0?'':_0x38f81f[_0xf4f310(0x1e3)];}get[_0x20eb09(0x2cf)](){return this[_0x533559];}get[_0x20eb09(0x1e3)](){return this[_0x4f189d];}}Object[_0x20eb09(0x2a6)](_0xc6ddf0[_0x20eb09(0x187)],_0x20eb09(0x2cf),{'enumerable':!0x0}),Object[_0x20eb09(0x2a6)](_0xc6ddf0[_0x20eb09(0x187)],_0x20eb09(0x1e3),{'enumerable':!0x0});class _0x3c3025 extends _0x2724ba{constructor(_0x3adc2f,_0x5f5b36={}){const _0x115a5f=_0x20eb09;super(_0x3adc2f),this[_0x3dea55]=_0x5f5b36[_0x115a5f(0x267)]===void 0x0?null:_0x5f5b36[_0x115a5f(0x267)];}get[_0x20eb09(0x267)](){return this[_0x3dea55];}}Object['defineProperty'](_0x3c3025[_0x20eb09(0x187)],_0x20eb09(0x267),{'enumerable':!0x0}),xe={'CloseEvent':_0x5313a4,'ErrorEvent':_0xc6ddf0,'Event':_0x2724ba,'EventTarget':{'addEventListener'(_0x2d4d7f,_0x255870,_0x58d40d={}){const _0x26763d=_0x20eb09;for(const _0x948ef9 of this[_0x26763d(0x1aa)](_0x2d4d7f))if(!_0x58d40d[_0x5d986f]&&_0x948ef9[_0x41aa89]===_0x255870&&!_0x948ef9[_0x5d986f])return;let _0x1a495e;if(_0x2d4d7f===_0x26763d(0x1e3))_0x1a495e=function(_0x40bf48,_0x59dc78){const _0x303cc1=new _0x3c3025('message',{'data':_0x59dc78?_0x40bf48:_0x40bf48['toString']()});_0x303cc1[_0x4c563f]=this,_0x35436d(_0x255870,this,_0x303cc1);};else{if(_0x2d4d7f===_0x26763d(0x1e1))_0x1a495e=function(_0x13087f,_0x48ca39){const _0x4373db=_0x26763d,_0x2086c7=new _0x5313a4(_0x4373db(0x1e1),{'code':_0x13087f,'reason':_0x48ca39['toString'](),'wasClean':this[_0x4373db(0x27e)]&&this['_closeFrameSent']});_0x2086c7[_0x4c563f]=this,_0x35436d(_0x255870,this,_0x2086c7);};else{if(_0x2d4d7f==='error')_0x1a495e=function(_0x2dd17b){const _0x382f70=_0x26763d,_0x1ad35e=new _0xc6ddf0(_0x382f70(0x2cf),{'error':_0x2dd17b,'message':_0x2dd17b[_0x382f70(0x1e3)]});_0x1ad35e[_0x4c563f]=this,_0x35436d(_0x255870,this,_0x1ad35e);};else{if(_0x2d4d7f===_0x26763d(0x2ca))_0x1a495e=function(){const _0x8aabab=_0x26763d,_0x22019f=new _0x2724ba(_0x8aabab(0x2ca));_0x22019f[_0x4c563f]=this,_0x35436d(_0x255870,this,_0x22019f);};else return;}}}_0x1a495e[_0x5d986f]=!!_0x58d40d[_0x5d986f],_0x1a495e[_0x41aa89]=_0x255870,_0x58d40d['once']?this[_0x26763d(0x2a4)](_0x2d4d7f,_0x1a495e):this['on'](_0x2d4d7f,_0x1a495e);},'removeEventListener'(_0x5c0711,_0x4d00d8){const _0x40e5f4=_0x20eb09;for(const _0x351631 of this[_0x40e5f4(0x1aa)](_0x5c0711))if(_0x351631[_0x41aa89]===_0x4d00d8&&!_0x351631[_0x5d986f]){this[_0x40e5f4(0x2a3)](_0x5c0711,_0x351631);break;}}},'MessageEvent':_0x3c3025};function _0x35436d(_0x4e5dca,_0x465c83,_0x2ffc57){const _0x261080=_0x20eb09;typeof _0x4e5dca==_0x261080(0x245)&&_0x4e5dca[_0x261080(0x314)]?_0x4e5dca[_0x261080(0x314)]['call'](_0x4e5dca,_0x2ffc57):_0x4e5dca['call'](_0x465c83,_0x2ffc57);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x1ff223}=ne();function _0x5aba8c(_0x3e2ae1,_0x2c2985,_0x299660){const _0x4f27e9=_0x3451;_0x3e2ae1[_0x2c2985]===void 0x0?_0x3e2ae1[_0x2c2985]=[_0x299660]:_0x3e2ae1[_0x2c2985][_0x4f27e9(0x1b3)](_0x299660);}function _0x57edd7(_0x3dfb0f){const _0x2e6b95=_0x3451,_0x1f244a=Object['create'](null);let _0x372fa0=Object[_0x2e6b95(0x277)](null),_0x3ef3bb=!0x1,_0x2ac70d=!0x1,_0x58a6e3=!0x1,_0x1fe3f3,_0x2484a0,_0x272f79=-0x1,_0x4502f8=-0x1,_0x29abfc=-0x1,_0x529d73=0x0;for(;_0x529d73<_0x3dfb0f[_0x2e6b95(0x1ef)];_0x529d73++)if(_0x4502f8=_0x3dfb0f[_0x2e6b95(0x261)](_0x529d73),_0x1fe3f3===void 0x0){if(_0x29abfc===-0x1&&_0x1ff223[_0x4502f8]===0x1)_0x272f79===-0x1&&(_0x272f79=_0x529d73);else{if(_0x529d73!==0x0&&(_0x4502f8===0x20||_0x4502f8===0x9))_0x29abfc===-0x1&&_0x272f79!==-0x1&&(_0x29abfc=_0x529d73);else{if(_0x4502f8===0x3b||_0x4502f8===0x2c){if(_0x272f79===-0x1)throw new SyntaxError(_0x2e6b95(0x19a)+_0x529d73);_0x29abfc===-0x1&&(_0x29abfc=_0x529d73);const _0x452684=_0x3dfb0f[_0x2e6b95(0x20b)](_0x272f79,_0x29abfc);_0x4502f8===0x2c?(_0x5aba8c(_0x1f244a,_0x452684,_0x372fa0),_0x372fa0=Object[_0x2e6b95(0x277)](null)):_0x1fe3f3=_0x452684,_0x272f79=_0x29abfc=-0x1;}else throw new SyntaxError(_0x2e6b95(0x19a)+_0x529d73);}}}else{if(_0x2484a0===void 0x0){if(_0x29abfc===-0x1&&_0x1ff223[_0x4502f8]===0x1)_0x272f79===-0x1&&(_0x272f79=_0x529d73);else{if(_0x4502f8===0x20||_0x4502f8===0x9)_0x29abfc===-0x1&&_0x272f79!==-0x1&&(_0x29abfc=_0x529d73);else{if(_0x4502f8===0x3b||_0x4502f8===0x2c){if(_0x272f79===-0x1)throw new SyntaxError(_0x2e6b95(0x19a)+_0x529d73);_0x29abfc===-0x1&&(_0x29abfc=_0x529d73),_0x5aba8c(_0x372fa0,_0x3dfb0f[_0x2e6b95(0x20b)](_0x272f79,_0x29abfc),!0x0),_0x4502f8===0x2c&&(_0x5aba8c(_0x1f244a,_0x1fe3f3,_0x372fa0),_0x372fa0=Object[_0x2e6b95(0x277)](null),_0x1fe3f3=void 0x0),_0x272f79=_0x29abfc=-0x1;}else{if(_0x4502f8===0x3d&&_0x272f79!==-0x1&&_0x29abfc===-0x1)_0x2484a0=_0x3dfb0f['slice'](_0x272f79,_0x529d73),_0x272f79=_0x29abfc=-0x1;else throw new SyntaxError(_0x2e6b95(0x19a)+_0x529d73);}}}}else{if(_0x2ac70d){if(_0x1ff223[_0x4502f8]!==0x1)throw new SyntaxError(_0x2e6b95(0x19a)+_0x529d73);_0x272f79===-0x1?_0x272f79=_0x529d73:_0x3ef3bb||(_0x3ef3bb=!0x0),_0x2ac70d=!0x1;}else{if(_0x58a6e3){if(_0x1ff223[_0x4502f8]===0x1)_0x272f79===-0x1&&(_0x272f79=_0x529d73);else{if(_0x4502f8===0x22&&_0x272f79!==-0x1)_0x58a6e3=!0x1,_0x29abfc=_0x529d73;else{if(_0x4502f8===0x5c)_0x2ac70d=!0x0;else throw new SyntaxError(_0x2e6b95(0x19a)+_0x529d73);}}}else{if(_0x4502f8===0x22&&_0x3dfb0f['charCodeAt'](_0x529d73-0x1)===0x3d)_0x58a6e3=!0x0;else{if(_0x29abfc===-0x1&&_0x1ff223[_0x4502f8]===0x1)_0x272f79===-0x1&&(_0x272f79=_0x529d73);else{if(_0x272f79!==-0x1&&(_0x4502f8===0x20||_0x4502f8===0x9))_0x29abfc===-0x1&&(_0x29abfc=_0x529d73);else{if(_0x4502f8===0x3b||_0x4502f8===0x2c){if(_0x272f79===-0x1)throw new SyntaxError(_0x2e6b95(0x19a)+_0x529d73);_0x29abfc===-0x1&&(_0x29abfc=_0x529d73);let _0x2399cf=_0x3dfb0f[_0x2e6b95(0x20b)](_0x272f79,_0x29abfc);_0x3ef3bb&&(_0x2399cf=_0x2399cf[_0x2e6b95(0x23a)](/\\/g,''),_0x3ef3bb=!0x1),_0x5aba8c(_0x372fa0,_0x2484a0,_0x2399cf),_0x4502f8===0x2c&&(_0x5aba8c(_0x1f244a,_0x1fe3f3,_0x372fa0),_0x372fa0=Object[_0x2e6b95(0x277)](null),_0x1fe3f3=void 0x0),_0x2484a0=void 0x0,_0x272f79=_0x29abfc=-0x1;}else throw new SyntaxError(_0x2e6b95(0x19a)+_0x529d73);}}}}}}}if(_0x272f79===-0x1||_0x58a6e3||_0x4502f8===0x20||_0x4502f8===0x9)throw new SyntaxError(_0x2e6b95(0x253));_0x29abfc===-0x1&&(_0x29abfc=_0x529d73);const _0x3020b7=_0x3dfb0f[_0x2e6b95(0x20b)](_0x272f79,_0x29abfc);return _0x1fe3f3===void 0x0?_0x5aba8c(_0x1f244a,_0x3020b7,_0x372fa0):(_0x2484a0===void 0x0?_0x5aba8c(_0x372fa0,_0x3020b7,!0x0):_0x3ef3bb?_0x5aba8c(_0x372fa0,_0x2484a0,_0x3020b7[_0x2e6b95(0x23a)](/\\/g,'')):_0x5aba8c(_0x372fa0,_0x2484a0,_0x3020b7),_0x5aba8c(_0x1f244a,_0x1fe3f3,_0x372fa0)),_0x1f244a;}function _0x520b0a(_0x1e0160){const _0x550414=_0x3451;return Object[_0x550414(0x29e)](_0x1e0160)['map'](_0x24ef9b=>{const _0x1a033b=_0x550414;let _0x1b2410=_0x1e0160[_0x24ef9b];return Array[_0x1a033b(0x1e9)](_0x1b2410)||(_0x1b2410=[_0x1b2410]),_0x1b2410[_0x1a033b(0x2f8)](_0x3c90b5=>[_0x24ef9b]['concat'](Object['keys'](_0x3c90b5)[_0x1a033b(0x2f8)](_0x329671=>{const _0x9204d0=_0x1a033b;let _0x302f9f=_0x3c90b5[_0x329671];return Array[_0x9204d0(0x1e9)](_0x302f9f)||(_0x302f9f=[_0x302f9f]),_0x302f9f['map'](_0x586105=>_0x586105===!0x0?_0x329671:_0x329671+'='+_0x586105)['join'](';\x20');}))[_0x1a033b(0x28e)](';\x20'))[_0x1a033b(0x28e)](',\x20');})[_0x550414(0x28e)](',\x20');}return be={'format':_0x520b0a,'parse':_0x57edd7},be;}var we,st;function Ie(){const _0xba72d0=_0x31bee7;if(st)return we;st=0x1;const _0x5d72d1=_0x5aeecf,_0xbdebee=_0x3fad5d,_0x58f1f4=_0x2829c5,_0x19e583=_0x5884ef,_0x2d6ea9=_0x163b7a,{randomBytes:_0x13fe2e,createHash:_0x4573df}=_0x26090d,{Duplex:_0x417cf9,Readable:_0x4e5f68}=_0x28ad72,{URL:_0x3689af}=_0x7231d9,_0x400429=he(),_0x221d0b=dt(),_0x37592b=_t(),{isBlob:_0x468bc4}=ne(),{BINARY_TYPES:_0x3592c6,EMPTY_BUFFER:_0x135680,GUID:_0x1e6e0d,kForOnEventAttribute:_0x3b0da8,kListener:_0x15b0d6,kStatusCode:_0x2ba0a4,kWebSocket:_0x550ba6,NOOP:_0x2e849b}=V(),{EventTarget:{addEventListener:_0x5b52b8,removeEventListener:_0x12e237}}=Kt(),{format:_0x2e34b3,parse:_0x261a2e}=pt(),{toBuffer:_0x1dc370}=ce(),_0x2566a8=0x1e*0x3e8,_0x2ed743=Symbol(_0xba72d0(0x1e0)),_0x31dae4=[0x8,0xd],_0x405491=[_0xba72d0(0x201),_0xba72d0(0x214),'CLOSING','CLOSED'],_0x182c3a=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x485c3f extends _0x5d72d1{constructor(_0x5f34fd,_0x43b023,_0x35db63){const _0x57412d=_0xba72d0;super(),this[_0x57412d(0x237)]=_0x3592c6[0x0],this[_0x57412d(0x172)]=0x3ee,this[_0x57412d(0x27e)]=!0x1,this[_0x57412d(0x29d)]=!0x1,this['_closeMessage']=_0x135680,this[_0x57412d(0x2f9)]=null,this['_errorEmitted']=!0x1,this[_0x57412d(0x166)]={},this[_0x57412d(0x21f)]=!0x1,this[_0x57412d(0x286)]='',this[_0x57412d(0x265)]=_0x485c3f[_0x57412d(0x201)],this[_0x57412d(0x1cd)]=null,this['_sender']=null,this[_0x57412d(0x2b1)]=null,_0x5f34fd!==null?(this[_0x57412d(0x1b5)]=0x0,this[_0x57412d(0x1d2)]=!0x1,this['_redirects']=0x0,_0x43b023===void 0x0?_0x43b023=[]:Array[_0x57412d(0x1e9)](_0x43b023)||(typeof _0x43b023==_0x57412d(0x245)&&_0x43b023!==null?(_0x35db63=_0x43b023,_0x43b023=[]):_0x43b023=[_0x43b023]),_0x5a1c15(this,_0x5f34fd,_0x43b023,_0x35db63)):(this[_0x57412d(0x176)]=_0x35db63[_0x57412d(0x25a)],this[_0x57412d(0x1d2)]=!0x0);}get[_0xba72d0(0x2c3)](){const _0x5501b0=_0xba72d0;return this[_0x5501b0(0x237)];}set['binaryType'](_0x5e9d83){const _0x52e52b=_0xba72d0;_0x3592c6['includes'](_0x5e9d83)&&(this[_0x52e52b(0x237)]=_0x5e9d83,this['_receiver']&&(this[_0x52e52b(0x1cd)][_0x52e52b(0x237)]=_0x5e9d83));}get[_0xba72d0(0x24a)](){const _0x3114e7=_0xba72d0;return this[_0x3114e7(0x2b1)]?this['_socket'][_0x3114e7(0x1c1)]['length']+this['_sender']['_bufferedBytes']:this['_bufferedAmount'];}get['extensions'](){const _0x4eca28=_0xba72d0;return Object[_0x4eca28(0x29e)](this['_extensions'])['join']();}get[_0xba72d0(0x183)](){return this['_paused'];}get[_0xba72d0(0x1c0)](){return null;}get[_0xba72d0(0x215)](){return null;}get['onopen'](){return null;}get[_0xba72d0(0x288)](){return null;}get[_0xba72d0(0x1af)](){const _0x1cb03d=_0xba72d0;return this[_0x1cb03d(0x286)];}get[_0xba72d0(0x258)](){return this['_readyState'];}get['url'](){const _0x3f5754=_0xba72d0;return this[_0x3f5754(0x25f)];}[_0xba72d0(0x2e3)](_0x1be23b,_0x182537,_0x1ea769){const _0x486b0b=_0xba72d0,_0x2dce6=new _0x221d0b({'allowSynchronousEvents':_0x1ea769['allowSynchronousEvents'],'binaryType':this[_0x486b0b(0x2c3)],'extensions':this[_0x486b0b(0x166)],'isServer':this[_0x486b0b(0x1d2)],'maxPayload':_0x1ea769[_0x486b0b(0x174)],'skipUTF8Validation':_0x1ea769['skipUTF8Validation']}),_0x1e1b33=new _0x37592b(_0x1be23b,this[_0x486b0b(0x166)],_0x1ea769[_0x486b0b(0x1fb)]);this['_receiver']=_0x2dce6,this[_0x486b0b(0x282)]=_0x1e1b33,this[_0x486b0b(0x2b1)]=_0x1be23b,_0x2dce6[_0x550ba6]=this,_0x1e1b33[_0x550ba6]=this,_0x1be23b[_0x550ba6]=this,_0x2dce6['on'](_0x486b0b(0x182),_0x71d0fb),_0x2dce6['on'](_0x486b0b(0x17b),_0x4210f7),_0x2dce6['on'](_0x486b0b(0x2cf),_0x2e6ef7),_0x2dce6['on']('message',_0x23e6d9),_0x2dce6['on'](_0x486b0b(0x2cd),_0x5ac2bb),_0x2dce6['on'](_0x486b0b(0x1d0),_0x22ba5c),_0x1e1b33[_0x486b0b(0x215)]=_0x440b03,_0x1be23b['setTimeout']&&_0x1be23b[_0x486b0b(0x2fc)](0x0),_0x1be23b[_0x486b0b(0x291)]&&_0x1be23b['setNoDelay'](),_0x182537['length']>0x0&&_0x1be23b[_0x486b0b(0x20c)](_0x182537),_0x1be23b['on'](_0x486b0b(0x1e1),_0x47242e),_0x1be23b['on'](_0x486b0b(0x267),_0xbb6bb5),_0x1be23b['on'](_0x486b0b(0x301),_0x13824c),_0x1be23b['on']('error',_0x1824dc),this[_0x486b0b(0x265)]=_0x485c3f[_0x486b0b(0x214)],this[_0x486b0b(0x2db)]('open');}['emitClose'](){const _0x33d694=_0xba72d0;if(!this['_socket']){this[_0x33d694(0x265)]=_0x485c3f[_0x33d694(0x270)],this[_0x33d694(0x2db)](_0x33d694(0x1e1),this[_0x33d694(0x172)],this[_0x33d694(0x2bd)]);return;}this[_0x33d694(0x166)][_0x400429['extensionName']]&&this[_0x33d694(0x166)][_0x400429[_0x33d694(0x173)]][_0x33d694(0x171)](),this[_0x33d694(0x1cd)][_0x33d694(0x2a1)](),this[_0x33d694(0x265)]=_0x485c3f[_0x33d694(0x270)],this['emit'](_0x33d694(0x1e1),this[_0x33d694(0x172)],this[_0x33d694(0x2bd)]);}['close'](_0x23b4ae,_0x29d414){const _0x5fb427=_0xba72d0;if(this[_0x5fb427(0x258)]!==_0x485c3f[_0x5fb427(0x270)]){if(this[_0x5fb427(0x258)]===_0x485c3f[_0x5fb427(0x201)]){_0x4bbce8(this,this[_0x5fb427(0x1ae)],_0x5fb427(0x29b));return;}if(this[_0x5fb427(0x258)]===_0x485c3f[_0x5fb427(0x317)]){this[_0x5fb427(0x29d)]&&(this[_0x5fb427(0x27e)]||this['_receiver']['_writableState'][_0x5fb427(0x202)])&&this[_0x5fb427(0x2b1)]['end']();return;}this[_0x5fb427(0x265)]=_0x485c3f[_0x5fb427(0x317)],this[_0x5fb427(0x282)][_0x5fb427(0x1e1)](_0x23b4ae,_0x29d414,!this[_0x5fb427(0x1d2)],_0x13411a=>{const _0x5f1be1=_0x5fb427;_0x13411a||(this[_0x5f1be1(0x29d)]=!0x0,(this[_0x5f1be1(0x27e)]||this['_receiver'][_0x5f1be1(0x1c1)][_0x5f1be1(0x202)])&&this[_0x5f1be1(0x2b1)][_0x5f1be1(0x301)]());}),_0x14bce6(this);}}[_0xba72d0(0x1dd)](){const _0x51a1fc=_0xba72d0;this[_0x51a1fc(0x258)]===_0x485c3f[_0x51a1fc(0x201)]||this['readyState']===_0x485c3f[_0x51a1fc(0x270)]||(this['_paused']=!0x0,this[_0x51a1fc(0x2b1)]['pause']());}[_0xba72d0(0x2cd)](_0x54fd8c,_0x41e0c9,_0xe753d1){const _0x2eb147=_0xba72d0;if(this[_0x2eb147(0x258)]===_0x485c3f[_0x2eb147(0x201)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x54fd8c==_0x2eb147(0x23b)?(_0xe753d1=_0x54fd8c,_0x54fd8c=_0x41e0c9=void 0x0):typeof _0x41e0c9==_0x2eb147(0x23b)&&(_0xe753d1=_0x41e0c9,_0x41e0c9=void 0x0),typeof _0x54fd8c==_0x2eb147(0x1d6)&&(_0x54fd8c=_0x54fd8c[_0x2eb147(0x188)]()),this[_0x2eb147(0x258)]!==_0x485c3f[_0x2eb147(0x214)]){_0x14a7fd(this,_0x54fd8c,_0xe753d1);return;}_0x41e0c9===void 0x0&&(_0x41e0c9=!this[_0x2eb147(0x1d2)]),this[_0x2eb147(0x282)][_0x2eb147(0x2cd)](_0x54fd8c||_0x135680,_0x41e0c9,_0xe753d1);}[_0xba72d0(0x1d0)](_0x5eaaa0,_0x45c215,_0xabb911){const _0x3efb99=_0xba72d0;if(this['readyState']===_0x485c3f['CONNECTING'])throw new Error(_0x3efb99(0x2c2));if(typeof _0x5eaaa0==_0x3efb99(0x23b)?(_0xabb911=_0x5eaaa0,_0x5eaaa0=_0x45c215=void 0x0):typeof _0x45c215==_0x3efb99(0x23b)&&(_0xabb911=_0x45c215,_0x45c215=void 0x0),typeof _0x5eaaa0=='number'&&(_0x5eaaa0=_0x5eaaa0[_0x3efb99(0x188)]()),this[_0x3efb99(0x258)]!==_0x485c3f[_0x3efb99(0x214)]){_0x14a7fd(this,_0x5eaaa0,_0xabb911);return;}_0x45c215===void 0x0&&(_0x45c215=!this[_0x3efb99(0x1d2)]),this[_0x3efb99(0x282)]['pong'](_0x5eaaa0||_0x135680,_0x45c215,_0xabb911);}['resume'](){const _0x54423f=_0xba72d0;this[_0x54423f(0x258)]===_0x485c3f[_0x54423f(0x201)]||this[_0x54423f(0x258)]===_0x485c3f[_0x54423f(0x270)]||(this[_0x54423f(0x21f)]=!0x1,this[_0x54423f(0x1cd)][_0x54423f(0x1c1)][_0x54423f(0x2ba)]||this['_socket'][_0x54423f(0x224)]());}['send'](_0x3048e0,_0xdd5e21,_0x4bfca6){const _0x56894d=_0xba72d0;if(this[_0x56894d(0x258)]===_0x485c3f[_0x56894d(0x201)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0xdd5e21==_0x56894d(0x23b)&&(_0x4bfca6=_0xdd5e21,_0xdd5e21={}),typeof _0x3048e0==_0x56894d(0x1d6)&&(_0x3048e0=_0x3048e0[_0x56894d(0x188)]()),this[_0x56894d(0x258)]!==_0x485c3f[_0x56894d(0x214)]){_0x14a7fd(this,_0x3048e0,_0x4bfca6);return;}const _0x1a655f={'binary':typeof _0x3048e0!=_0x56894d(0x1f2),'mask':!this[_0x56894d(0x1d2)],'compress':!0x0,'fin':!0x0,..._0xdd5e21};this[_0x56894d(0x166)][_0x400429[_0x56894d(0x173)]]||(_0x1a655f[_0x56894d(0x1b2)]=!0x1),this[_0x56894d(0x282)][_0x56894d(0x1df)](_0x3048e0||_0x135680,_0x1a655f,_0x4bfca6);}[_0xba72d0(0x1a8)](){const _0x3cc437=_0xba72d0;if(this['readyState']!==_0x485c3f[_0x3cc437(0x270)]){if(this[_0x3cc437(0x258)]===_0x485c3f[_0x3cc437(0x201)]){_0x4bbce8(this,this[_0x3cc437(0x1ae)],_0x3cc437(0x29b));return;}this['_socket']&&(this['_readyState']=_0x485c3f[_0x3cc437(0x317)],this[_0x3cc437(0x2b1)][_0x3cc437(0x2c1)]());}}}Object['defineProperty'](_0x485c3f,_0xba72d0(0x201),{'enumerable':!0x0,'value':_0x405491[_0xba72d0(0x2e7)](_0xba72d0(0x201))}),Object[_0xba72d0(0x2a6)](_0x485c3f['prototype'],_0xba72d0(0x201),{'enumerable':!0x0,'value':_0x405491['indexOf'](_0xba72d0(0x201))}),Object[_0xba72d0(0x2a6)](_0x485c3f,_0xba72d0(0x214),{'enumerable':!0x0,'value':_0x405491['indexOf'](_0xba72d0(0x214))}),Object[_0xba72d0(0x2a6)](_0x485c3f[_0xba72d0(0x187)],'OPEN',{'enumerable':!0x0,'value':_0x405491[_0xba72d0(0x2e7)]('OPEN')}),Object[_0xba72d0(0x2a6)](_0x485c3f,_0xba72d0(0x317),{'enumerable':!0x0,'value':_0x405491[_0xba72d0(0x2e7)]('CLOSING')}),Object[_0xba72d0(0x2a6)](_0x485c3f['prototype'],_0xba72d0(0x317),{'enumerable':!0x0,'value':_0x405491[_0xba72d0(0x2e7)](_0xba72d0(0x317))}),Object[_0xba72d0(0x2a6)](_0x485c3f,_0xba72d0(0x270),{'enumerable':!0x0,'value':_0x405491[_0xba72d0(0x2e7)](_0xba72d0(0x270))}),Object[_0xba72d0(0x2a6)](_0x485c3f[_0xba72d0(0x187)],_0xba72d0(0x270),{'enumerable':!0x0,'value':_0x405491[_0xba72d0(0x2e7)](_0xba72d0(0x270))}),[_0xba72d0(0x2c3),_0xba72d0(0x24a),_0xba72d0(0x2a5),'isPaused',_0xba72d0(0x1af),_0xba72d0(0x258),_0xba72d0(0x28d)][_0xba72d0(0x18a)](_0x404ef7=>{const _0x3a56b2=_0xba72d0;Object[_0x3a56b2(0x2a6)](_0x485c3f['prototype'],_0x404ef7,{'enumerable':!0x0});}),[_0xba72d0(0x2ca),_0xba72d0(0x2cf),_0xba72d0(0x1e1),_0xba72d0(0x1e3)]['forEach'](_0x11698f=>{const _0x4254bd=_0xba72d0;Object[_0x4254bd(0x2a6)](_0x485c3f[_0x4254bd(0x187)],'on'+_0x11698f,{'enumerable':!0x0,'get'(){const _0x368b23=_0x4254bd;for(const _0x35482d of this[_0x368b23(0x1aa)](_0x11698f))if(_0x35482d[_0x3b0da8])return _0x35482d[_0x15b0d6];return null;},'set'(_0x4baa59){const _0x234765=_0x4254bd;for(const _0x296f81 of this['listeners'](_0x11698f))if(_0x296f81[_0x3b0da8]){this[_0x234765(0x2a3)](_0x11698f,_0x296f81);break;}typeof _0x4baa59==_0x234765(0x23b)&&this[_0x234765(0x1fe)](_0x11698f,_0x4baa59,{[_0x3b0da8]:!0x0});}});}),_0x485c3f['prototype'][_0xba72d0(0x1fe)]=_0x5b52b8,_0x485c3f['prototype']['removeEventListener']=_0x12e237,we=_0x485c3f;function _0x5a1c15(_0x306119,_0x54b454,_0x519e03,_0x30ee70){const _0x3be606=_0xba72d0,_0x210c85={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x31dae4[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x30ee70,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x3be606(0x30b),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x306119[_0x3be606(0x176)]=_0x210c85[_0x3be606(0x25a)],!_0x31dae4[_0x3be606(0x1f0)](_0x210c85['protocolVersion']))throw new RangeError(_0x3be606(0x205)+_0x210c85[_0x3be606(0x23c)]+'\x20(supported\x20versions:\x20'+_0x31dae4[_0x3be606(0x28e)](',\x20')+')');let _0x3c3470;if(_0x54b454 instanceof _0x3689af)_0x3c3470=_0x54b454;else try{_0x3c3470=new _0x3689af(_0x54b454);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x54b454);}_0x3c3470[_0x3be606(0x1af)]===_0x3be606(0x1fc)?_0x3c3470['protocol']=_0x3be606(0x2b4):_0x3c3470[_0x3be606(0x1af)]==='https:'&&(_0x3c3470['protocol']='wss:'),_0x306119[_0x3be606(0x25f)]=_0x3c3470[_0x3be606(0x189)];const _0x33b1b3=_0x3c3470['protocol']===_0x3be606(0x195),_0x489783=_0x3c3470[_0x3be606(0x1af)]===_0x3be606(0x17a);let _0x2cce32;if(_0x3c3470[_0x3be606(0x1af)]!==_0x3be606(0x2b4)&&!_0x33b1b3&&!_0x489783?_0x2cce32=_0x3be606(0x1b4):_0x489783&&!_0x3c3470['pathname']?_0x2cce32=_0x3be606(0x206):_0x3c3470['hash']&&(_0x2cce32=_0x3be606(0x242)),_0x2cce32){const _0x448577=new SyntaxError(_0x2cce32);if(_0x306119[_0x3be606(0x2e8)]===0x0)throw _0x448577;_0xfa402d(_0x306119,_0x448577);return;}const _0x185921=_0x33b1b3?0x1bb:0x50,_0x1e7864=_0x13fe2e(0x10)['toString'](_0x3be606(0x219)),_0x3bc981=_0x33b1b3?_0xbdebee[_0x3be606(0x2ef)]:_0x58f1f4['request'],_0x504fc3=new Set();let _0x96c709;if(_0x210c85[_0x3be606(0x2f3)]=_0x210c85['createConnection']||(_0x33b1b3?_0x2635d9:_0x3b1fcd),_0x210c85[_0x3be606(0x207)]=_0x210c85[_0x3be606(0x207)]||_0x185921,_0x210c85[_0x3be606(0x228)]=_0x3c3470['port']||_0x185921,_0x210c85[_0x3be606(0x1b7)]=_0x3c3470[_0x3be606(0x1bf)][_0x3be606(0x1ec)]('[')?_0x3c3470[_0x3be606(0x1bf)]['slice'](0x1,-0x1):_0x3c3470[_0x3be606(0x1bf)],_0x210c85[_0x3be606(0x310)]={..._0x210c85[_0x3be606(0x310)],'Sec-WebSocket-Version':_0x210c85[_0x3be606(0x23c)],'Sec-WebSocket-Key':_0x1e7864,'Connection':_0x3be606(0x26d),'Upgrade':_0x3be606(0x263)},_0x210c85[_0x3be606(0x1ee)]=_0x3c3470[_0x3be606(0x247)]+_0x3c3470['search'],_0x210c85[_0x3be606(0x309)]=_0x210c85[_0x3be606(0x250)],_0x210c85[_0x3be606(0x280)]&&(_0x96c709=new _0x400429(_0x210c85[_0x3be606(0x280)]!==!0x0?_0x210c85[_0x3be606(0x280)]:{},!0x1,_0x210c85[_0x3be606(0x174)]),_0x210c85[_0x3be606(0x310)][_0x3be606(0x294)]=_0x2e34b3({[_0x400429[_0x3be606(0x173)]]:_0x96c709[_0x3be606(0x269)]()})),_0x519e03[_0x3be606(0x1ef)]){for(const _0x5ef455 of _0x519e03){if(typeof _0x5ef455!=_0x3be606(0x1f2)||!_0x182c3a['test'](_0x5ef455)||_0x504fc3[_0x3be606(0x2d3)](_0x5ef455))throw new SyntaxError(_0x3be606(0x2f1));_0x504fc3[_0x3be606(0x16c)](_0x5ef455);}_0x210c85['headers'][_0x3be606(0x1ad)]=_0x519e03[_0x3be606(0x28e)](',');}if(_0x210c85[_0x3be606(0x1f1)]&&(_0x210c85[_0x3be606(0x23c)]<0xd?_0x210c85[_0x3be606(0x310)]['Sec-WebSocket-Origin']=_0x210c85[_0x3be606(0x1f1)]:_0x210c85[_0x3be606(0x310)][_0x3be606(0x19e)]=_0x210c85[_0x3be606(0x1f1)]),(_0x3c3470[_0x3be606(0x1d7)]||_0x3c3470[_0x3be606(0x2c0)])&&(_0x210c85[_0x3be606(0x26a)]=_0x3c3470['username']+':'+_0x3c3470[_0x3be606(0x2c0)]),_0x489783){const _0x3549e9=_0x210c85[_0x3be606(0x1ee)]['split'](':');_0x210c85[_0x3be606(0x168)]=_0x3549e9[0x0],_0x210c85[_0x3be606(0x1ee)]=_0x3549e9[0x1];}let _0xdb9df;if(_0x210c85[_0x3be606(0x1e4)]){if(_0x306119['_redirects']===0x0){_0x306119[_0x3be606(0x1b1)]=_0x489783,_0x306119[_0x3be606(0x1c3)]=_0x33b1b3,_0x306119['_originalHostOrSocketPath']=_0x489783?_0x210c85[_0x3be606(0x168)]:_0x3c3470[_0x3be606(0x1b7)];const _0x5a3472=_0x30ee70&&_0x30ee70['headers'];if(_0x30ee70={..._0x30ee70,'headers':{}},_0x5a3472){for(const [_0x739525,_0xa52c7f]of Object[_0x3be606(0x244)](_0x5a3472))_0x30ee70[_0x3be606(0x310)][_0x739525[_0x3be606(0x240)]()]=_0xa52c7f;}}else{if(_0x306119[_0x3be606(0x2e1)](_0x3be606(0x274))===0x0){const _0x37d58e=_0x489783?_0x306119['_originalIpc']?_0x210c85[_0x3be606(0x168)]===_0x306119['_originalHostOrSocketPath']:!0x1:_0x306119['_originalIpc']?!0x1:_0x3c3470[_0x3be606(0x1b7)]===_0x306119[_0x3be606(0x2d9)];(!_0x37d58e||_0x306119[_0x3be606(0x1c3)]&&!_0x33b1b3)&&(delete _0x210c85['headers'][_0x3be606(0x2ff)],delete _0x210c85[_0x3be606(0x310)][_0x3be606(0x181)],_0x37d58e||delete _0x210c85[_0x3be606(0x310)]['host'],_0x210c85[_0x3be606(0x26a)]=void 0x0);}}_0x210c85[_0x3be606(0x26a)]&&!_0x30ee70[_0x3be606(0x310)]['authorization']&&(_0x30ee70[_0x3be606(0x310)][_0x3be606(0x2ff)]=_0x3be606(0x2d5)+Buffer[_0x3be606(0x1d4)](_0x210c85['auth'])[_0x3be606(0x188)](_0x3be606(0x219))),_0xdb9df=_0x306119[_0x3be606(0x1ae)]=_0x3bc981(_0x210c85),_0x306119[_0x3be606(0x2e8)]&&_0x306119['emit'](_0x3be606(0x274),_0x306119[_0x3be606(0x28d)],_0xdb9df);}else _0xdb9df=_0x306119['_req']=_0x3bc981(_0x210c85);_0x210c85[_0x3be606(0x309)]&&_0xdb9df['on'](_0x3be606(0x309),()=>{_0x4bbce8(_0x306119,_0xdb9df,'Opening\x20handshake\x20has\x20timed\x20out');}),_0xdb9df['on']('error',_0x39a49c=>{const _0xe8502b=_0x3be606;_0xdb9df===null||_0xdb9df[_0x2ed743]||(_0xdb9df=_0x306119[_0xe8502b(0x1ae)]=null,_0xfa402d(_0x306119,_0x39a49c));}),_0xdb9df['on'](_0x3be606(0x217),_0x274e87=>{const _0x3243a8=_0x3be606,_0x4e23c3=_0x274e87[_0x3243a8(0x310)]['location'],_0x1a948d=_0x274e87[_0x3243a8(0x26b)];if(_0x4e23c3&&_0x210c85['followRedirects']&&_0x1a948d>=0x12c&&_0x1a948d<0x190){if(++_0x306119[_0x3243a8(0x2e8)]>_0x210c85[_0x3243a8(0x2f5)]){_0x4bbce8(_0x306119,_0xdb9df,_0x3243a8(0x21a));return;}_0xdb9df[_0x3243a8(0x23e)]();let _0x44be9f;try{_0x44be9f=new _0x3689af(_0x4e23c3,_0x54b454);}catch{const _0x5601b3=new SyntaxError(_0x3243a8(0x194)+_0x4e23c3);_0xfa402d(_0x306119,_0x5601b3);return;}_0x5a1c15(_0x306119,_0x44be9f,_0x519e03,_0x30ee70);}else _0x306119[_0x3243a8(0x2db)]('unexpected-response',_0xdb9df,_0x274e87)||_0x4bbce8(_0x306119,_0xdb9df,_0x3243a8(0x283)+_0x274e87['statusCode']);}),_0xdb9df['on'](_0x3be606(0x1a6),(_0x4413f0,_0x565f94,_0x2591ad)=>{const _0x134eb8=_0x3be606;if(_0x306119[_0x134eb8(0x2db)](_0x134eb8(0x1a6),_0x4413f0),_0x306119['readyState']!==_0x485c3f[_0x134eb8(0x201)])return;_0xdb9df=_0x306119[_0x134eb8(0x1ae)]=null;const _0x479547=_0x4413f0[_0x134eb8(0x310)][_0x134eb8(0x1a6)];if(_0x479547===void 0x0||_0x479547[_0x134eb8(0x240)]()!==_0x134eb8(0x263)){_0x4bbce8(_0x306119,_0x565f94,_0x134eb8(0x2e0));return;}const _0x3953ce=_0x4573df(_0x134eb8(0x169))[_0x134eb8(0x1c7)](_0x1e7864+_0x1e6e0d)[_0x134eb8(0x273)]('base64');if(_0x4413f0[_0x134eb8(0x310)][_0x134eb8(0x2fd)]!==_0x3953ce){_0x4bbce8(_0x306119,_0x565f94,_0x134eb8(0x275));return;}const _0x5ab07f=_0x4413f0['headers'][_0x134eb8(0x308)];let _0x5d4b4a;if(_0x5ab07f!==void 0x0?_0x504fc3['size']?_0x504fc3[_0x134eb8(0x2d3)](_0x5ab07f)||(_0x5d4b4a=_0x134eb8(0x1e5)):_0x5d4b4a=_0x134eb8(0x2f2):_0x504fc3[_0x134eb8(0x185)]&&(_0x5d4b4a=_0x134eb8(0x249)),_0x5d4b4a){_0x4bbce8(_0x306119,_0x565f94,_0x5d4b4a);return;}_0x5ab07f&&(_0x306119[_0x134eb8(0x286)]=_0x5ab07f);const _0x4b8143=_0x4413f0[_0x134eb8(0x310)][_0x134eb8(0x24f)];if(_0x4b8143!==void 0x0){if(!_0x96c709){_0x4bbce8(_0x306119,_0x565f94,_0x134eb8(0x276));return;}let _0x2134d2;try{_0x2134d2=_0x261a2e(_0x4b8143);}catch{_0x4bbce8(_0x306119,_0x565f94,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x221eae=Object[_0x134eb8(0x29e)](_0x2134d2);if(_0x221eae[_0x134eb8(0x1ef)]!==0x1||_0x221eae[0x0]!==_0x400429['extensionName']){_0x4bbce8(_0x306119,_0x565f94,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x96c709[_0x134eb8(0x1c2)](_0x2134d2[_0x400429['extensionName']]);}catch{_0x4bbce8(_0x306119,_0x565f94,_0x134eb8(0x1db));return;}_0x306119[_0x134eb8(0x166)][_0x400429['extensionName']]=_0x96c709;}_0x306119[_0x134eb8(0x2e3)](_0x565f94,_0x2591ad,{'allowSynchronousEvents':_0x210c85[_0x134eb8(0x209)],'generateMask':_0x210c85[_0x134eb8(0x1fb)],'maxPayload':_0x210c85[_0x134eb8(0x174)],'skipUTF8Validation':_0x210c85[_0x134eb8(0x2fa)]});}),_0x210c85[_0x3be606(0x2e6)]?_0x210c85['finishRequest'](_0xdb9df,_0x306119):_0xdb9df[_0x3be606(0x301)]();}function _0xfa402d(_0x5d5982,_0x4f2c6d){const _0x3b2dab=_0xba72d0;_0x5d5982[_0x3b2dab(0x265)]=_0x485c3f[_0x3b2dab(0x317)],_0x5d5982[_0x3b2dab(0x21c)]=!0x0,_0x5d5982[_0x3b2dab(0x2db)](_0x3b2dab(0x2cf),_0x4f2c6d),_0x5d5982[_0x3b2dab(0x1d1)]();}function _0x3b1fcd(_0x367f7e){const _0x33e9a3=_0xba72d0;return _0x367f7e[_0x33e9a3(0x1ee)]=_0x367f7e['socketPath'],_0x19e583['connect'](_0x367f7e);}function _0x2635d9(_0xa355a2){const _0x371c7c=_0xba72d0;return _0xa355a2[_0x371c7c(0x1ee)]=void 0x0,!_0xa355a2['servername']&&_0xa355a2[_0x371c7c(0x2a7)]!==''&&(_0xa355a2[_0x371c7c(0x2a7)]=_0x19e583['isIP'](_0xa355a2[_0x371c7c(0x1b7)])?'':_0xa355a2[_0x371c7c(0x1b7)]),_0x2d6ea9['connect'](_0xa355a2);}function _0x4bbce8(_0x4f9860,_0x285b7c,_0xe28551){const _0x48979e=_0xba72d0;_0x4f9860[_0x48979e(0x265)]=_0x485c3f['CLOSING'];const _0x3d079f=new Error(_0xe28551);Error[_0x48979e(0x281)](_0x3d079f,_0x4bbce8),_0x285b7c['setHeader']?(_0x285b7c[_0x2ed743]=!0x0,_0x285b7c[_0x48979e(0x23e)](),_0x285b7c[_0x48979e(0x229)]&&!_0x285b7c[_0x48979e(0x229)]['destroyed']&&_0x285b7c['socket'][_0x48979e(0x2c1)](),process[_0x48979e(0x304)](_0xfa402d,_0x4f9860,_0x3d079f)):(_0x285b7c[_0x48979e(0x2c1)](_0x3d079f),_0x285b7c[_0x48979e(0x2a4)]('error',_0x4f9860['emit'][_0x48979e(0x21d)](_0x4f9860,_0x48979e(0x2cf))),_0x285b7c['once'](_0x48979e(0x1e1),_0x4f9860['emitClose'][_0x48979e(0x21d)](_0x4f9860)));}function _0x14a7fd(_0xaf180b,_0x3c3073,_0xe5f9a8){const _0x2fc064=_0xba72d0;if(_0x3c3073){const _0x383757=_0x468bc4(_0x3c3073)?_0x3c3073[_0x2fc064(0x185)]:_0x1dc370(_0x3c3073)[_0x2fc064(0x1ef)];_0xaf180b[_0x2fc064(0x2b1)]?_0xaf180b[_0x2fc064(0x282)][_0x2fc064(0x2a9)]+=_0x383757:_0xaf180b[_0x2fc064(0x1b5)]+=_0x383757;}if(_0xe5f9a8){const _0x32563d=new Error(_0x2fc064(0x1f5)+_0xaf180b[_0x2fc064(0x258)]+'\x20('+_0x405491[_0xaf180b[_0x2fc064(0x258)]]+')');process[_0x2fc064(0x304)](_0xe5f9a8,_0x32563d);}}function _0x71d0fb(_0x49df58,_0x2c1887){const _0x902c29=_0xba72d0,_0x2a782a=this[_0x550ba6];_0x2a782a[_0x902c29(0x27e)]=!0x0,_0x2a782a['_closeMessage']=_0x2c1887,_0x2a782a['_closeCode']=_0x49df58,_0x2a782a[_0x902c29(0x2b1)][_0x550ba6]!==void 0x0&&(_0x2a782a[_0x902c29(0x2b1)][_0x902c29(0x2a3)](_0x902c29(0x267),_0xbb6bb5),process['nextTick'](_0x185422,_0x2a782a['_socket']),_0x49df58===0x3ed?_0x2a782a[_0x902c29(0x1e1)]():_0x2a782a[_0x902c29(0x1e1)](_0x49df58,_0x2c1887));}function _0x4210f7(){const _0x3498b2=_0xba72d0,_0x9a04de=this[_0x550ba6];_0x9a04de[_0x3498b2(0x183)]||_0x9a04de[_0x3498b2(0x2b1)][_0x3498b2(0x224)]();}function _0x2e6ef7(_0x1d911a){const _0x61ce52=_0xba72d0,_0x2eae33=this[_0x550ba6];_0x2eae33[_0x61ce52(0x2b1)][_0x550ba6]!==void 0x0&&(_0x2eae33[_0x61ce52(0x2b1)]['removeListener'](_0x61ce52(0x267),_0xbb6bb5),process['nextTick'](_0x185422,_0x2eae33[_0x61ce52(0x2b1)]),_0x2eae33[_0x61ce52(0x1e1)](_0x1d911a[_0x2ba0a4])),_0x2eae33[_0x61ce52(0x21c)]||(_0x2eae33[_0x61ce52(0x21c)]=!0x0,_0x2eae33['emit']('error',_0x1d911a));}function _0xeeb40f(){this[_0x550ba6]['emitClose']();}function _0x23e6d9(_0x2b121c,_0xe4363e){const _0x2e7a27=_0xba72d0;this[_0x550ba6]['emit'](_0x2e7a27(0x1e3),_0x2b121c,_0xe4363e);}function _0x5ac2bb(_0x8e136b){const _0xd0c836=_0xba72d0,_0x27011b=this[_0x550ba6];_0x27011b[_0xd0c836(0x176)]&&_0x27011b[_0xd0c836(0x1d0)](_0x8e136b,!this[_0xd0c836(0x1d2)],_0x2e849b),_0x27011b[_0xd0c836(0x2db)](_0xd0c836(0x2cd),_0x8e136b);}function _0x22ba5c(_0x21a0f8){const _0x23bc29=_0xba72d0;this[_0x550ba6]['emit'](_0x23bc29(0x1d0),_0x21a0f8);}function _0x185422(_0xe74fcd){const _0x58a4c7=_0xba72d0;_0xe74fcd[_0x58a4c7(0x224)]();}function _0x440b03(_0x2c323d){const _0x544efb=_0xba72d0,_0x32a746=this[_0x550ba6];_0x32a746[_0x544efb(0x258)]!==_0x485c3f[_0x544efb(0x270)]&&(_0x32a746['readyState']===_0x485c3f['OPEN']&&(_0x32a746[_0x544efb(0x265)]=_0x485c3f[_0x544efb(0x317)],_0x14bce6(_0x32a746)),this['_socket']['end'](),_0x32a746['_errorEmitted']||(_0x32a746[_0x544efb(0x21c)]=!0x0,_0x32a746[_0x544efb(0x2db)]('error',_0x2c323d)));}function _0x14bce6(_0x445c2e){const _0x1dc4ad=_0xba72d0;_0x445c2e['_closeTimer']=setTimeout(_0x445c2e[_0x1dc4ad(0x2b1)]['destroy'][_0x1dc4ad(0x21d)](_0x445c2e['_socket']),_0x2566a8);}function _0x47242e(){const _0xc2e3b8=_0xba72d0,_0xb33481=this[_0x550ba6];this['removeListener'](_0xc2e3b8(0x1e1),_0x47242e),this[_0xc2e3b8(0x2a3)](_0xc2e3b8(0x267),_0xbb6bb5),this[_0xc2e3b8(0x2a3)]('end',_0x13824c),_0xb33481['_readyState']=_0x485c3f[_0xc2e3b8(0x317)];let _0x55d413;!this[_0xc2e3b8(0x180)][_0xc2e3b8(0x18b)]&&!_0xb33481[_0xc2e3b8(0x27e)]&&!_0xb33481['_receiver'][_0xc2e3b8(0x1c1)]['errorEmitted']&&(_0x55d413=_0xb33481['_socket']['read']())!==null&&_0xb33481[_0xc2e3b8(0x1cd)]['write'](_0x55d413),_0xb33481[_0xc2e3b8(0x1cd)][_0xc2e3b8(0x301)](),this[_0x550ba6]=void 0x0,clearTimeout(_0xb33481[_0xc2e3b8(0x2f9)]),_0xb33481[_0xc2e3b8(0x1cd)][_0xc2e3b8(0x1c1)][_0xc2e3b8(0x2bc)]||_0xb33481[_0xc2e3b8(0x1cd)][_0xc2e3b8(0x1c1)][_0xc2e3b8(0x202)]?_0xb33481['emitClose']():(_0xb33481[_0xc2e3b8(0x1cd)]['on']('error',_0xeeb40f),_0xb33481[_0xc2e3b8(0x1cd)]['on'](_0xc2e3b8(0x199),_0xeeb40f));}function _0xbb6bb5(_0x2d3372){const _0x38fe01=_0xba72d0;this[_0x550ba6][_0x38fe01(0x1cd)]['write'](_0x2d3372)||this['pause']();}function _0x13824c(){const _0x534f77=_0xba72d0,_0x5dfbaf=this[_0x550ba6];_0x5dfbaf[_0x534f77(0x265)]=_0x485c3f[_0x534f77(0x317)],_0x5dfbaf[_0x534f77(0x1cd)]['end'](),this['end']();}function _0x1824dc(){const _0x1136bd=_0xba72d0,_0x1bfb32=this[_0x550ba6];this['removeListener'](_0x1136bd(0x2cf),_0x1824dc),this['on']('error',_0x2e849b),_0x1bfb32&&(_0x1bfb32[_0x1136bd(0x265)]=_0x485c3f[_0x1136bd(0x317)],this[_0x1136bd(0x2c1)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x18ace9}=_0x28ad72;function _0x51d704(_0x3f3736){_0x3f3736['emit']('close');}function _0x4fa104(){const _0x5c5ff5=_0x3451;!this['destroyed']&&this[_0x5c5ff5(0x1c1)][_0x5c5ff5(0x2bc)]&&this['destroy']();}function _0x18ae24(_0x17ee2c){const _0x5215b0=_0x3451;this[_0x5215b0(0x2a3)]('error',_0x18ae24),this[_0x5215b0(0x2c1)](),this[_0x5215b0(0x2e1)](_0x5215b0(0x2cf))===0x0&&this[_0x5215b0(0x2db)](_0x5215b0(0x2cf),_0x17ee2c);}function _0x678890(_0x43622a,_0x984ea3){const _0x5567a5=_0x3451;let _0x3c2827=!0x0;const _0x4799d8=new _0x18ace9({..._0x984ea3,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x43622a['on'](_0x5567a5(0x1e3),function(_0x1f7307,_0x3a5156){const _0x1448fa=_0x5567a5,_0x291b91=!_0x3a5156&&_0x4799d8[_0x1448fa(0x180)][_0x1448fa(0x226)]?_0x1f7307[_0x1448fa(0x188)]():_0x1f7307;_0x4799d8[_0x1448fa(0x1b3)](_0x291b91)||_0x43622a[_0x1448fa(0x1dd)]();}),_0x43622a[_0x5567a5(0x2a4)](_0x5567a5(0x2cf),function(_0x23bb9e){const _0x156efe=_0x5567a5;_0x4799d8[_0x156efe(0x21e)]||(_0x3c2827=!0x1,_0x4799d8[_0x156efe(0x2c1)](_0x23bb9e));}),_0x43622a[_0x5567a5(0x2a4)]('close',function(){const _0x40e4ad=_0x5567a5;_0x4799d8['destroyed']||_0x4799d8[_0x40e4ad(0x1b3)](null);}),_0x4799d8[_0x5567a5(0x313)]=function(_0x5751e5,_0x12ad6d){const _0x51af8d=_0x5567a5;if(_0x43622a['readyState']===_0x43622a[_0x51af8d(0x270)]){_0x12ad6d(_0x5751e5),process[_0x51af8d(0x304)](_0x51d704,_0x4799d8);return;}let _0x350200=!0x1;_0x43622a[_0x51af8d(0x2a4)](_0x51af8d(0x2cf),function(_0x1e78ed){_0x350200=!0x0,_0x12ad6d(_0x1e78ed);}),_0x43622a[_0x51af8d(0x2a4)](_0x51af8d(0x1e1),function(){_0x350200||_0x12ad6d(_0x5751e5),process['nextTick'](_0x51d704,_0x4799d8);}),_0x3c2827&&_0x43622a[_0x51af8d(0x1a8)]();},_0x4799d8[_0x5567a5(0x19f)]=function(_0x3b2cfa){const _0x497f7a=_0x5567a5;if(_0x43622a[_0x497f7a(0x258)]===_0x43622a['CONNECTING']){_0x43622a['once']('open',function(){_0x4799d8['_final'](_0x3b2cfa);});return;}_0x43622a[_0x497f7a(0x2b1)]!==null&&(_0x43622a['_socket'][_0x497f7a(0x1c1)][_0x497f7a(0x2bc)]?(_0x3b2cfa(),_0x4799d8[_0x497f7a(0x180)][_0x497f7a(0x18b)]&&_0x4799d8['destroy']()):(_0x43622a[_0x497f7a(0x2b1)]['once'](_0x497f7a(0x199),function(){_0x3b2cfa();}),_0x43622a[_0x497f7a(0x1e1)]()));},_0x4799d8[_0x5567a5(0x165)]=function(){const _0x52cf06=_0x5567a5;_0x43622a['isPaused']&&_0x43622a[_0x52cf06(0x224)]();},_0x4799d8[_0x5567a5(0x186)]=function(_0x448403,_0x164f47,_0x226e9e){const _0x185545=_0x5567a5;if(_0x43622a['readyState']===_0x43622a[_0x185545(0x201)]){_0x43622a[_0x185545(0x2a4)](_0x185545(0x2ca),function(){_0x4799d8['_write'](_0x448403,_0x164f47,_0x226e9e);});return;}_0x43622a['send'](_0x448403,_0x226e9e);},_0x4799d8['on']('end',_0x4fa104),_0x4799d8['on'](_0x5567a5(0x2cf),_0x18ae24),_0x4799d8;}return Oe=_0x678890,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x1ea788}=ne();function _0x25e262(_0x2b4778){const _0x2787df=_0x3451,_0x203bd0=new Set();let _0x411ac2=-0x1,_0x4ef2ac=-0x1,_0x5cd7d6=0x0;for(_0x5cd7d6;_0x5cd7d6<_0x2b4778['length'];_0x5cd7d6++){const _0xf6cf87=_0x2b4778['charCodeAt'](_0x5cd7d6);if(_0x4ef2ac===-0x1&&_0x1ea788[_0xf6cf87]===0x1)_0x411ac2===-0x1&&(_0x411ac2=_0x5cd7d6);else{if(_0x5cd7d6!==0x0&&(_0xf6cf87===0x20||_0xf6cf87===0x9))_0x4ef2ac===-0x1&&_0x411ac2!==-0x1&&(_0x4ef2ac=_0x5cd7d6);else{if(_0xf6cf87===0x2c){if(_0x411ac2===-0x1)throw new SyntaxError(_0x2787df(0x19a)+_0x5cd7d6);_0x4ef2ac===-0x1&&(_0x4ef2ac=_0x5cd7d6);const _0x19a921=_0x2b4778['slice'](_0x411ac2,_0x4ef2ac);if(_0x203bd0[_0x2787df(0x2d3)](_0x19a921))throw new SyntaxError(_0x2787df(0x238)+_0x19a921+_0x2787df(0x233));_0x203bd0['add'](_0x19a921),_0x411ac2=_0x4ef2ac=-0x1;}else throw new SyntaxError(_0x2787df(0x19a)+_0x5cd7d6);}}}if(_0x411ac2===-0x1||_0x4ef2ac!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x20cae5=_0x2b4778['slice'](_0x411ac2,_0x5cd7d6);if(_0x203bd0[_0x2787df(0x2d3)](_0x20cae5))throw new SyntaxError(_0x2787df(0x238)+_0x20cae5+'\x22\x20subprotocol\x20is\x20duplicated');return _0x203bd0[_0x2787df(0x16c)](_0x20cae5),_0x203bd0;}return Ce={'parse':_0x25e262},Ce;}var Te,ot;function er(){const _0x573837=_0x31bee7;if(ot)return Te;ot=0x1;const _0x225ca7=_0x5aeecf,_0x452077=_0x2829c5,{Duplex:_0xb04ba6}=_0x28ad72,{createHash:_0x113b64}=_0x26090d,_0x2db800=pt(),_0x348dc6=he(),_0x48e30a=Jt(),_0xa28ba3=Ie(),{GUID:_0x39d339,kWebSocket:_0x4f650e}=V(),_0x5621fe=/^[+/0-9A-Za-z]{22}==$/,_0x2a812e=0x0,_0x2a7100=0x1,_0x1aac21=0x2;class _0x59982b extends _0x225ca7{constructor(_0x715d3d,_0x57fa1f){const _0x37a264=_0x3451;if(super(),_0x715d3d={'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':_0xa28ba3,..._0x715d3d},_0x715d3d[_0x37a264(0x228)]==null&&!_0x715d3d['server']&&!_0x715d3d[_0x37a264(0x234)]||_0x715d3d[_0x37a264(0x228)]!=null&&(_0x715d3d[_0x37a264(0x216)]||_0x715d3d['noServer'])||_0x715d3d[_0x37a264(0x216)]&&_0x715d3d[_0x37a264(0x234)])throw new TypeError(_0x37a264(0x2da));if(_0x715d3d[_0x37a264(0x228)]!=null?(this[_0x37a264(0x266)]=_0x452077[_0x37a264(0x285)]((_0xa9c366,_0x4c6073)=>{const _0x3f472a=_0x37a264,_0x19d58b=_0x452077['STATUS_CODES'][0x1aa];_0x4c6073[_0x3f472a(0x1d9)](0x1aa,{'Content-Length':_0x19d58b[_0x3f472a(0x1ef)],'Content-Type':'text/plain'}),_0x4c6073[_0x3f472a(0x301)](_0x19d58b);}),this[_0x37a264(0x266)][_0x37a264(0x1a4)](_0x715d3d[_0x37a264(0x228)],_0x715d3d[_0x37a264(0x1b7)],_0x715d3d[_0x37a264(0x300)],_0x57fa1f)):_0x715d3d[_0x37a264(0x216)]&&(this['_server']=_0x715d3d[_0x37a264(0x216)]),this[_0x37a264(0x266)]){const _0x26dd1b=this['emit'][_0x37a264(0x21d)](this,_0x37a264(0x18c));this[_0x37a264(0x284)]=_0x39f53c(this['_server'],{'listening':this['emit'][_0x37a264(0x21d)](this,_0x37a264(0x2c6)),'error':this[_0x37a264(0x2db)][_0x37a264(0x21d)](this,'error'),'upgrade':(_0x34131e,_0x3d165b,_0x49a5d2)=>{this['handleUpgrade'](_0x34131e,_0x3d165b,_0x49a5d2,_0x26dd1b);}});}_0x715d3d[_0x37a264(0x280)]===!0x0&&(_0x715d3d[_0x37a264(0x280)]={}),_0x715d3d[_0x37a264(0x25d)]&&(this['clients']=new Set(),this[_0x37a264(0x30c)]=!0x1),this[_0x37a264(0x19b)]=_0x715d3d,this['_state']=_0x2a812e;}[_0x573837(0x29a)](){const _0x4994dc=_0x573837;if(this['options']['noServer'])throw new Error(_0x4994dc(0x220));return this[_0x4994dc(0x266)]?this['_server']['address']():null;}[_0x573837(0x1e1)](_0x3d56fd){const _0x313fa5=_0x573837;if(this['_state']===_0x1aac21){_0x3d56fd&&this[_0x313fa5(0x2a4)](_0x313fa5(0x1e1),()=>{const _0x14f092=_0x313fa5;_0x3d56fd(new Error(_0x14f092(0x239)));}),process[_0x313fa5(0x304)](_0x4a6eed,this);return;}if(_0x3d56fd&&this[_0x313fa5(0x2a4)](_0x313fa5(0x1e1),_0x3d56fd),this[_0x313fa5(0x1a9)]!==_0x2a7100){if(this['_state']=_0x2a7100,this[_0x313fa5(0x19b)][_0x313fa5(0x234)]||this[_0x313fa5(0x19b)]['server'])this[_0x313fa5(0x266)]&&(this['_removeListeners'](),this[_0x313fa5(0x284)]=this[_0x313fa5(0x266)]=null),this[_0x313fa5(0x1f9)]?this[_0x313fa5(0x1f9)][_0x313fa5(0x185)]?this['_shouldEmitClose']=!0x0:process[_0x313fa5(0x304)](_0x4a6eed,this):process[_0x313fa5(0x304)](_0x4a6eed,this);else{const _0x26b428=this[_0x313fa5(0x266)];this['_removeListeners'](),this[_0x313fa5(0x284)]=this[_0x313fa5(0x266)]=null,_0x26b428[_0x313fa5(0x1e1)](()=>{_0x4a6eed(this);});}}}[_0x573837(0x1a1)](_0x2a3c2a){const _0x4fd13f=_0x573837;if(this[_0x4fd13f(0x19b)]['path']){const _0x4d3122=_0x2a3c2a['url']['indexOf']('?');if((_0x4d3122!==-0x1?_0x2a3c2a[_0x4fd13f(0x28d)][_0x4fd13f(0x20b)](0x0,_0x4d3122):_0x2a3c2a[_0x4fd13f(0x28d)])!==this[_0x4fd13f(0x19b)][_0x4fd13f(0x1ee)])return!0x1;}return!0x0;}[_0x573837(0x19c)](_0x24d1dd,_0x3dfcbf,_0x195f17,_0x2ffb0b){const _0x2f8870=_0x573837;_0x3dfcbf['on'](_0x2f8870(0x2cf),_0x2498bb);const _0x177fe8=_0x24d1dd[_0x2f8870(0x310)]['sec-websocket-key'],_0x4cb32f=_0x24d1dd['headers'][_0x2f8870(0x1a6)],_0x7b76ba=+_0x24d1dd[_0x2f8870(0x310)]['sec-websocket-version'];if(_0x24d1dd[_0x2f8870(0x18f)]!==_0x2f8870(0x30b)){_0x2834b1(this,_0x24d1dd,_0x3dfcbf,0x195,_0x2f8870(0x299));return;}if(_0x4cb32f===void 0x0||_0x4cb32f[_0x2f8870(0x240)]()!==_0x2f8870(0x263)){_0x2834b1(this,_0x24d1dd,_0x3dfcbf,0x190,_0x2f8870(0x2e0));return;}if(_0x177fe8===void 0x0||!_0x5621fe[_0x2f8870(0x30d)](_0x177fe8)){_0x2834b1(this,_0x24d1dd,_0x3dfcbf,0x190,_0x2f8870(0x2fb));return;}if(_0x7b76ba!==0x8&&_0x7b76ba!==0xd){_0x2834b1(this,_0x24d1dd,_0x3dfcbf,0x190,_0x2f8870(0x1d5));return;}if(!this[_0x2f8870(0x1a1)](_0x24d1dd)){_0x4134e7(_0x3dfcbf,0x190);return;}const _0x548528=_0x24d1dd[_0x2f8870(0x310)]['sec-websocket-protocol'];let _0x4aefaa=new Set();if(_0x548528!==void 0x0)try{_0x4aefaa=_0x48e30a[_0x2f8870(0x1f8)](_0x548528);}catch{_0x2834b1(this,_0x24d1dd,_0x3dfcbf,0x190,_0x2f8870(0x2cc));return;}const _0x2fb070=_0x24d1dd[_0x2f8870(0x310)]['sec-websocket-extensions'],_0x10e164={};if(this[_0x2f8870(0x19b)][_0x2f8870(0x280)]&&_0x2fb070!==void 0x0){const _0x4e1113=new _0x348dc6(this[_0x2f8870(0x19b)][_0x2f8870(0x280)],!0x0,this[_0x2f8870(0x19b)][_0x2f8870(0x174)]);try{const _0x42f975=_0x2db800[_0x2f8870(0x1f8)](_0x2fb070);_0x42f975[_0x348dc6[_0x2f8870(0x173)]]&&(_0x4e1113[_0x2f8870(0x1c2)](_0x42f975[_0x348dc6[_0x2f8870(0x173)]]),_0x10e164[_0x348dc6['extensionName']]=_0x4e1113);}catch{_0x2834b1(this,_0x24d1dd,_0x3dfcbf,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x2f8870(0x19b)]['verifyClient']){const _0x423f40={'origin':_0x24d1dd['headers'][''+(_0x7b76ba===0x8?_0x2f8870(0x1a7):'origin')],'secure':!!(_0x24d1dd['socket'][_0x2f8870(0x2bb)]||_0x24d1dd[_0x2f8870(0x229)][_0x2f8870(0x2de)]),'req':_0x24d1dd};if(this[_0x2f8870(0x19b)][_0x2f8870(0x22c)][_0x2f8870(0x1ef)]===0x2){this['options']['verifyClient'](_0x423f40,(_0x26f085,_0x99e593,_0x90fe91,_0x2e58bb)=>{const _0x36d7bf=_0x2f8870;if(!_0x26f085)return _0x4134e7(_0x3dfcbf,_0x99e593||0x191,_0x90fe91,_0x2e58bb);this[_0x36d7bf(0x2d1)](_0x10e164,_0x177fe8,_0x4aefaa,_0x24d1dd,_0x3dfcbf,_0x195f17,_0x2ffb0b);});return;}if(!this[_0x2f8870(0x19b)][_0x2f8870(0x22c)](_0x423f40))return _0x4134e7(_0x3dfcbf,0x191);}this[_0x2f8870(0x2d1)](_0x10e164,_0x177fe8,_0x4aefaa,_0x24d1dd,_0x3dfcbf,_0x195f17,_0x2ffb0b);}['completeUpgrade'](_0x2c5c75,_0x2e6488,_0x221ae2,_0x114ab5,_0x269050,_0x54b3ea,_0x32d55e){const _0x4ddb37=_0x573837;if(!_0x269050[_0x4ddb37(0x23f)]||!_0x269050[_0x4ddb37(0x179)])return _0x269050[_0x4ddb37(0x2c1)]();if(_0x269050[_0x4f650e])throw new Error(_0x4ddb37(0x2b5));if(this[_0x4ddb37(0x1a9)]>_0x2a812e)return _0x4134e7(_0x269050,0x1f7);const _0x476869=[_0x4ddb37(0x17c),'Upgrade:\x20websocket',_0x4ddb37(0x1ff),_0x4ddb37(0x175)+_0x113b64(_0x4ddb37(0x169))[_0x4ddb37(0x1c7)](_0x2e6488+_0x39d339)[_0x4ddb37(0x273)](_0x4ddb37(0x219))],_0x488a6e=new this[(_0x4ddb37(0x19b))][(_0x4ddb37(0x1eb))](null,void 0x0,this[_0x4ddb37(0x19b)]);if(_0x221ae2[_0x4ddb37(0x185)]){const _0x5a386e=this[_0x4ddb37(0x19b)][_0x4ddb37(0x231)]?this['options'][_0x4ddb37(0x231)](_0x221ae2,_0x114ab5):_0x221ae2[_0x4ddb37(0x196)]()[_0x4ddb37(0x1de)]()['value'];_0x5a386e&&(_0x476869[_0x4ddb37(0x1b3)](_0x4ddb37(0x1bd)+_0x5a386e),_0x488a6e[_0x4ddb37(0x286)]=_0x5a386e);}if(_0x2c5c75[_0x348dc6[_0x4ddb37(0x173)]]){const _0x2d5cff=_0x2c5c75[_0x348dc6[_0x4ddb37(0x173)]]['params'],_0x48c591=_0x2db800[_0x4ddb37(0x1f3)]({[_0x348dc6[_0x4ddb37(0x173)]]:[_0x2d5cff]});_0x476869[_0x4ddb37(0x1b3)]('Sec-WebSocket-Extensions:\x20'+_0x48c591),_0x488a6e['_extensions']=_0x2c5c75;}this[_0x4ddb37(0x2db)](_0x4ddb37(0x310),_0x476869,_0x114ab5),_0x269050[_0x4ddb37(0x2ab)](_0x476869[_0x4ddb37(0x184)]('\x0d\x0a')['join']('\x0d\x0a')),_0x269050[_0x4ddb37(0x2a3)]('error',_0x2498bb),_0x488a6e[_0x4ddb37(0x2e3)](_0x269050,_0x54b3ea,{'allowSynchronousEvents':this['options'][_0x4ddb37(0x209)],'maxPayload':this[_0x4ddb37(0x19b)]['maxPayload'],'skipUTF8Validation':this[_0x4ddb37(0x19b)][_0x4ddb37(0x2fa)]}),this[_0x4ddb37(0x1f9)]&&(this[_0x4ddb37(0x1f9)]['add'](_0x488a6e),_0x488a6e['on'](_0x4ddb37(0x1e1),()=>{const _0x2a14e4=_0x4ddb37;this['clients'][_0x2a14e4(0x1c9)](_0x488a6e),this['_shouldEmitClose']&&!this[_0x2a14e4(0x1f9)][_0x2a14e4(0x185)]&&process[_0x2a14e4(0x304)](_0x4a6eed,this);})),_0x32d55e(_0x488a6e,_0x114ab5);}}Te=_0x59982b;function _0x39f53c(_0x59f054,_0x58098f){for(const _0x3365f2 of Object['keys'](_0x58098f))_0x59f054['on'](_0x3365f2,_0x58098f[_0x3365f2]);return function(){const _0x100ac5=_0x3451;for(const _0x2170cb of Object['keys'](_0x58098f))_0x59f054[_0x100ac5(0x2a3)](_0x2170cb,_0x58098f[_0x2170cb]);};}function _0x4a6eed(_0x58d34c){const _0x29cc77=_0x573837;_0x58d34c[_0x29cc77(0x1a9)]=_0x1aac21,_0x58d34c[_0x29cc77(0x2db)](_0x29cc77(0x1e1));}function _0x2498bb(){const _0x16ffca=_0x573837;this[_0x16ffca(0x2c1)]();}function _0x4134e7(_0x26fca1,_0x3afa5b,_0x37f98a,_0x38190a){const _0x2ff3f6=_0x573837;_0x37f98a=_0x37f98a||_0x452077['STATUS_CODES'][_0x3afa5b],_0x38190a={'Connection':'close','Content-Type':'text/html','Content-Length':Buffer[_0x2ff3f6(0x26c)](_0x37f98a),..._0x38190a},_0x26fca1['once']('finish',_0x26fca1[_0x2ff3f6(0x2c1)]),_0x26fca1[_0x2ff3f6(0x301)](_0x2ff3f6(0x170)+_0x3afa5b+'\x20'+_0x452077['STATUS_CODES'][_0x3afa5b]+'\x0d\x0a'+Object[_0x2ff3f6(0x29e)](_0x38190a)[_0x2ff3f6(0x2f8)](_0x16edd9=>_0x16edd9+':\x20'+_0x38190a[_0x16edd9])[_0x2ff3f6(0x28e)]('\x0d\x0a')+_0x2ff3f6(0x19d)+_0x37f98a);}function _0x2834b1(_0x50a5be,_0x58512e,_0x5a8b12,_0x151876,_0x157f36){const _0x40bd3a=_0x573837;if(_0x50a5be['listenerCount']('wsClientError')){const _0xf1d9ad=new Error(_0x157f36);Error[_0x40bd3a(0x281)](_0xf1d9ad,_0x2834b1),_0x50a5be[_0x40bd3a(0x2db)](_0x40bd3a(0x271),_0xf1d9ad,_0x5a8b12,_0x58512e);}else _0x4134e7(_0x5a8b12,_0x151876,_0x157f36);}return Te;}er();var tr=Object[_0x31bee7(0x307)],rr=(_0x20419b,_0x3f6c21,_0x1bb59d,_0x54b59d)=>{const _0x1ac42f=_0x31bee7;for(var _0x313941=_0x54b59d>0x1?void 0x0:_0x54b59d?tr(_0x3f6c21,_0x1bb59d):_0x3f6c21,_0x1a7147=_0x20419b[_0x1ac42f(0x1ef)]-0x1,_0x210f65;_0x1a7147>=0x0;_0x1a7147--)(_0x210f65=_0x20419b[_0x1a7147])&&(_0x313941=_0x210f65(_0x313941)||_0x313941);return _0x313941;},sr=(_0x24fc8e,_0x51d0a3)=>(_0x5c8f6a,_0x26ddfc)=>_0x51d0a3(_0x5c8f6a,_0x26ddfc,_0x24fc8e);let Ne=class extends _0x52fbe3{constructor(_0x504df6){super(),this['_configService']=_0x504df6;}[_0x31bee7(0x298)](_0x1482d9){const _0x38f229=_0x31bee7;var _0x614965;const _0x2a26f1=(_0x614965=this['_configService']['getConfig'](Be))==null?void 0x0:_0x614965[_0x38f229(0x243)];try{const _0x4893c1=new Qt(_0x1482d9,{'headers':{..._0x2a26f1}}),_0x1729af=new _0x586f16();return{'URL':_0x1482d9,'close':(_0x511dd8,_0x153d98)=>{const _0x1bf4a1=_0x38f229;_0x4893c1['close'](_0x511dd8,_0x153d98),_0x1729af[_0x1bf4a1(0x28f)]();},'send':_0x7f8041=>{const _0xd71cf6=_0x38f229;_0x4893c1[_0xd71cf6(0x1df)](_0x7f8041);},'open$':new _0x19f30e(_0x1735fa=>{const _0x1a46b4=_0x38f229,_0x833db8=_0x2091f7=>_0x1735fa[_0x1a46b4(0x1de)](_0x2091f7);_0x4893c1[_0x1a46b4(0x1fe)](_0x1a46b4(0x2ca),_0x833db8),_0x1729af[_0x1a46b4(0x16c)](_0x1e807f(()=>_0x4893c1[_0x1a46b4(0x2b3)](_0x1a46b4(0x2ca),_0x833db8)));})[_0x38f229(0x25e)](_0x24ef87()),'close$':new _0x19f30e(_0x109eac=>{const _0x4da34a=_0x38f229,_0x3cf5cc=_0x22ff9b=>_0x109eac[_0x4da34a(0x1de)](_0x22ff9b);_0x4893c1[_0x4da34a(0x1fe)](_0x4da34a(0x1e1),_0x3cf5cc),_0x1729af[_0x4da34a(0x16c)](_0x1e807f(()=>_0x4893c1[_0x4da34a(0x2b3)](_0x4da34a(0x1e1),_0x3cf5cc)));})[_0x38f229(0x25e)](_0x24ef87()),'error$':new _0x19f30e(_0x13e00f=>{const _0xd366d0=_0x38f229,_0x43647b=_0x1f56f2=>_0x13e00f[_0xd366d0(0x1de)](_0x1f56f2);_0x4893c1['addEventListener'](_0xd366d0(0x2cf),_0x43647b),_0x1729af[_0xd366d0(0x16c)](_0x1e807f(()=>_0x4893c1[_0xd366d0(0x2b3)](_0xd366d0(0x2cf),_0x43647b)));})[_0x38f229(0x25e)](_0x24ef87()),'message$':new _0x19f30e(_0x3ea7bc=>{const _0x5d21b0=_0x38f229,_0xae7bd0=_0x1d865f=>_0x3ea7bc['next'](_0x1d865f);_0x4893c1[_0x5d21b0(0x1fe)](_0x5d21b0(0x1e3),_0xae7bd0),_0x1729af[_0x5d21b0(0x16c)](_0x1e807f(()=>_0x4893c1['removeEventListener'](_0x5d21b0(0x1e3),_0xae7bd0)));})[_0x38f229(0x25e)](_0x24ef87())};}catch(_0x45adee){return console[_0x38f229(0x2cf)](_0x45adee),null;}}};Ne=rr([sr(0x0,_0x2714a6)],Ne);var ir=Object['defineProperty'],nr=Object[_0x31bee7(0x307)],or=(_0x416a3e,_0xe1f3de,_0x475505)=>_0xe1f3de in _0x416a3e?ir(_0x416a3e,_0xe1f3de,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x475505}):_0x416a3e[_0xe1f3de]=_0x475505,ar=(_0x1082a4,_0x126e18,_0x2b7552,_0x30278b)=>{for(var _0x2c3f71=_0x30278b>0x1?void 0x0:_0x30278b?nr(_0x126e18,_0x2b7552):_0x126e18,_0x5ed740=_0x1082a4['length']-0x1,_0x245ce7;_0x5ed740>=0x0;_0x5ed740--)(_0x245ce7=_0x1082a4[_0x5ed740])&&(_0x2c3f71=_0x245ce7(_0x2c3f71)||_0x2c3f71);return _0x2c3f71;},ke=(_0x15b8be,_0x2b179a)=>(_0x28ac93,_0x4fdade)=>_0x2b179a(_0x28ac93,_0x4fdade,_0x15b8be),lr=(_0x4f91f4,_0x539e93,_0x264e72)=>or(_0x4f91f4,_0x539e93+'',_0x264e72);let Pe=class extends _0x3cdaeb{constructor(_0x4121fb=Ft,_0x41b285,_0x2e65df,_0x47a902){const _0x34b2b6=_0x31bee7;_0x4121fb['customHeaders']||_0x41b285[_0x34b2b6(0x2aa)](_0x34b2b6(0x2cb)),super(),this['_configService']=_0x2e65df,this[_0x34b2b6(0x30e)]=_0x47a902,this[_0x34b2b6(0x24b)][_0x34b2b6(0x1bb)](Be,_0x4121fb);}[_0x31bee7(0x262)](){this['_registerDependencies']();}[_0x31bee7(0x28a)](){const _0x3fa2a3=_0x31bee7;_0x113d6c(this[_0x3fa2a3(0x30e)],[[_0xd2721f,{'useClass':Ne}]]);}};lr(Pe,_0x31bee7(0x2bf),_0x31bee7(0x25c)),Pe=ar([_0x48a438(_0x294796),ke(0x1,_0x3c8b13),ke(0x2,_0x2714a6),ke(0x3,_0x1bb158(_0xd31389))],Pe);var fr=Object[_0x31bee7(0x307)],cr=(_0x28daf0,_0x1a2453,_0x1a03f5,_0x583c13)=>{const _0xd97e63=_0x31bee7;for(var _0x2c233e=_0x583c13>0x1?void 0x0:_0x583c13?fr(_0x1a2453,_0x1a03f5):_0x1a2453,_0x2c9b6b=_0x28daf0[_0xd97e63(0x1ef)]-0x1,_0xc17a34;_0x2c9b6b>=0x0;_0x2c9b6b--)(_0xc17a34=_0x28daf0[_0x2c9b6b])&&(_0x2c233e=_0xc17a34(_0x2c233e)||_0x2c233e);return _0x2c233e;},se=(_0x51fc8d,_0x47ae87)=>(_0x751450,_0xea5fbc)=>_0x47ae87(_0x751450,_0xea5fbc,_0x51fc8d);let at=class extends _0x16186b{constructor(_0x187a16,_0x2910e0,_0x1fbd1c,_0x4c7e20,_0x346e24){const _0x17b137=_0x31bee7;super(_0x187a16,_0x2910e0,_0x1fbd1c,_0x4c7e20,_0x346e24);const _0x504a5b=this['_configService'][_0x17b137(0x2ac)](Be);this[_0x17b137(0x1da)][_0x17b137(0x1c4)]({'interceptor':(_0x3cd8b6,_0xef635a)=>{const _0x135305=_0x17b137;var _0x3907dc;const _0x22c116=_0x3cd8b6[_0x135305(0x310)];return(_0x3907dc=_0x504a5b==null?void 0x0:_0x504a5b[_0x135305(0x243)])!=null&&_0x3907dc[_0x135305(0x181)]&&_0x22c116['set']('Cookie',_0x504a5b[_0x135305(0x243)][_0x135305(0x181)]),_0xef635a(_0x3cd8b6);}});}async[_0x31bee7(0x298)](_0x1b554f){return this['_doCreateSocket'](_0x1b554f);}};at=cr([se(0x0,_0x1bb158(_0xd31389)),se(0x1,_0x1bb158(_0x36543f)),se(0x2,_0x2714a6),se(0x3,_0x3c8b13),se(0x4,_0x3cf720)],at);function _0x3451(_0x4c26aa,_0x5a8be6){const _0x59e825=_0x59e8();return _0x3451=function(_0x34519b,_0xad492f){_0x34519b=_0x34519b-0x165;let _0x540b74=_0x59e825[_0x34519b];return _0x540b74;},_0x3451(_0x4c26aa,_0x5a8be6);}export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};