@univerjs-pro/collaboration-client-node 0.6.9-experimental.20250409-7c82795 → 0.6.9-experimental.20250410-23c9a18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0xe858cf=_0x37a8;(function(_0x16c331,_0x400c06){const _0x477d16=_0x37a8,_0x3f6656=_0x16c331();while(!![]){try{const _0x5d50f9=parseInt(_0x477d16(0x1e2))/0x1+-parseInt(_0x477d16(0xb6))/0x2*(-parseInt(_0x477d16(0x146))/0x3)+parseInt(_0x477d16(0xb0))/0x4+-parseInt(_0x477d16(0xe7))/0x5+-parseInt(_0x477d16(0x21b))/0x6+parseInt(_0x477d16(0xf6))/0x7+parseInt(_0x477d16(0x137))/0x8*(-parseInt(_0x477d16(0x194))/0x9);if(_0x5d50f9===_0x400c06)break;else _0x3f6656['push'](_0x3f6656['shift']());}catch(_0x54829c){_0x3f6656['push'](_0x3f6656['shift']());}}}(_0x22b7,0xea902));Object[_0xe858cf(0x24c)](exports,Symbol['toStringTag'],{'value':'Module'});const st=require(_0xe858cf(0xf0)),A=require(_0xe858cf(0x147)),it=require(_0xe858cf(0x196)),V=require('rxjs'),nt=require(_0xe858cf(0x25a)),vt=require('https'),ot=require(_0xe858cf(0x11b)),St=require(_0xe858cf(0x23c)),Et=require('tls'),Le=require(_0xe858cf(0x211)),oe=require('stream'),xt=require(_0xe858cf(0x1de)),bt=require(_0xe858cf(0x133)),wt=require(_0xe858cf(0x11d)),Ot=require(_0xe858cf(0x14c)),fe=_0xe858cf(0x1ca),Ct={'customHeaders':{}};function Tt(_0x5deeb4){const _0x3294bb=_0xe858cf;return _0x5deeb4&&_0x5deeb4[_0x3294bb(0x11a)]&&Object[_0x3294bb(0x1ea)]['hasOwnProperty'][_0x3294bb(0x178)](_0x5deeb4,_0x3294bb(0x18b))?_0x5deeb4[_0x3294bb(0x18b)]:_0x5deeb4;}function at(_0x5d085c){const _0x1c7c15=_0xe858cf;if(Object[_0x1c7c15(0x1ea)][_0x1c7c15(0x216)][_0x1c7c15(0x178)](_0x5d085c,_0x1c7c15(0x11a)))return _0x5d085c;var _0x2eb60a=_0x5d085c[_0x1c7c15(0x18b)];if(typeof _0x2eb60a==_0x1c7c15(0x152)){var _0x2bbaf1=function _0x45f7ad(){const _0x34fc25=_0x1c7c15;return this instanceof _0x45f7ad?Reflect[_0x34fc25(0x1e0)](_0x2eb60a,arguments,this[_0x34fc25(0xe4)]):_0x2eb60a[_0x34fc25(0x223)](this,arguments);};_0x2bbaf1[_0x1c7c15(0x1ea)]=_0x2eb60a[_0x1c7c15(0x1ea)];}else _0x2bbaf1={};return Object[_0x1c7c15(0x24c)](_0x2bbaf1,_0x1c7c15(0x11a),{'value':!0x0}),Object[_0x1c7c15(0x1e1)](_0x5d085c)[_0x1c7c15(0x162)](function(_0xf5ab){var _0x459452=Object['getOwnPropertyDescriptor'](_0x5d085c,_0xf5ab);Object['defineProperty'](_0x2bbaf1,_0xf5ab,_0x459452['get']?_0x459452:{'enumerable':!0x0,'get':function(){return _0x5d085c[_0xf5ab];}});}),_0x2bbaf1;}var se={'exports':{}},ge,Ge;function H(){const _0xba3194=_0xe858cf;if(Ge)return ge;Ge=0x1;const _0xc72297=[_0xba3194(0x1e5),'arraybuffer',_0xba3194(0x184)],_0x4a50da=typeof Blob<'u';return _0x4a50da&&_0xc72297['push'](_0xba3194(0xbd)),ge={'BINARY_TYPES':_0xc72297,'EMPTY_BUFFER':Buffer[_0xba3194(0x124)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x4a50da,'kForOnEventAttribute':Symbol(_0xba3194(0x14f)),'kListener':Symbol(_0xba3194(0x21d)),'kStatusCode':Symbol(_0xba3194(0x213)),'kWebSocket':Symbol(_0xba3194(0x172)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0xe858cf(0x171)](Object[_0xe858cf(0x24c)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0xe858cf(0x13a)})),Lt=at(kt);var Ve;function ce(){const _0x35311f=_0xe858cf;if(Ve)return se[_0x35311f(0x13d)];Ve=0x1;const {EMPTY_BUFFER:_0xa72144}=H(),_0x4b1c27=Buffer[Symbol[_0x35311f(0x103)]];function _0x3699e6(_0xd711ae,_0x8ba167){const _0x1701ff=_0x35311f;if(_0xd711ae[_0x1701ff(0x248)]===0x0)return _0xa72144;if(_0xd711ae[_0x1701ff(0x248)]===0x1)return _0xd711ae[0x0];const _0x17d228=Buffer[_0x1701ff(0x118)](_0x8ba167);let _0x4d30b1=0x0;for(let _0x25fc83=0x0;_0x25fc83<_0xd711ae[_0x1701ff(0x248)];_0x25fc83++){const _0x2382e6=_0xd711ae[_0x25fc83];_0x17d228[_0x1701ff(0x166)](_0x2382e6,_0x4d30b1),_0x4d30b1+=_0x2382e6[_0x1701ff(0x248)];}return _0x4d30b1<_0x8ba167?new _0x4b1c27(_0x17d228[_0x1701ff(0x11d)],_0x17d228['byteOffset'],_0x4d30b1):_0x17d228;}function _0x15669b(_0x229224,_0x3eb12c,_0x385580,_0x4957a3,_0x4ea86d){for(let _0x45468b=0x0;_0x45468b<_0x4ea86d;_0x45468b++)_0x385580[_0x4957a3+_0x45468b]=_0x229224[_0x45468b]^_0x3eb12c[_0x45468b&0x3];}function _0x194279(_0x70b018,_0x7446a0){const _0x4fbdef=_0x35311f;for(let _0x274616=0x0;_0x274616<_0x70b018[_0x4fbdef(0x248)];_0x274616++)_0x70b018[_0x274616]^=_0x7446a0[_0x274616&0x3];}function _0x2d6ffc(_0x4ca883){const _0x4531d4=_0x35311f;return _0x4ca883[_0x4531d4(0x248)]===_0x4ca883[_0x4531d4(0x11d)][_0x4531d4(0xbe)]?_0x4ca883[_0x4531d4(0x11d)]:_0x4ca883[_0x4531d4(0x11d)][_0x4531d4(0xc3)](_0x4ca883[_0x4531d4(0x204)],_0x4ca883[_0x4531d4(0x204)]+_0x4ca883['length']);}function _0x1ed445(_0x107174){const _0x1da984=_0x35311f;if(_0x1ed445[_0x1da984(0x111)]=!0x0,Buffer['isBuffer'](_0x107174))return _0x107174;let _0x2baa74;return _0x107174 instanceof ArrayBuffer?_0x2baa74=new _0x4b1c27(_0x107174):ArrayBuffer['isView'](_0x107174)?_0x2baa74=new _0x4b1c27(_0x107174[_0x1da984(0x11d)],_0x107174[_0x1da984(0x204)],_0x107174[_0x1da984(0xbe)]):(_0x2baa74=Buffer[_0x1da984(0x1cf)](_0x107174),_0x1ed445[_0x1da984(0x111)]=!0x1),_0x2baa74;}if(se[_0x35311f(0x13d)]={'concat':_0x3699e6,'mask':_0x15669b,'toArrayBuffer':_0x2d6ffc,'toBuffer':_0x1ed445,'unmask':_0x194279},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x116d07=Lt;se[_0x35311f(0x13d)]['mask']=function(_0xec62eb,_0x10c962,_0x1e8dae,_0x477e30,_0xff575e){const _0x2defff=_0x35311f;_0xff575e<0x30?_0x15669b(_0xec62eb,_0x10c962,_0x1e8dae,_0x477e30,_0xff575e):_0x116d07[_0x2defff(0x192)](_0xec62eb,_0x10c962,_0x1e8dae,_0x477e30,_0xff575e);},se[_0x35311f(0x13d)][_0x35311f(0x106)]=function(_0x246d54,_0x3c4709){const _0xf884e7=_0x35311f;_0x246d54[_0xf884e7(0x248)]<0x20?_0x194279(_0x246d54,_0x3c4709):_0x116d07[_0xf884e7(0x106)](_0x246d54,_0x3c4709);};}catch{}return se[_0x35311f(0x13d)];}var ye,He;function Pt(){const _0x176161=_0xe858cf;if(He)return ye;He=0x1;const _0x1b9f87=Symbol(_0x176161(0x214)),_0x50f76e=Symbol('kRun');class _0x40a9a2{constructor(_0x2f6521){const _0x200575=_0x176161;this[_0x1b9f87]=()=>{const _0x4c1af7=_0x37a8;this[_0x4c1af7(0xcd)]--,this[_0x50f76e]();},this[_0x200575(0x217)]=_0x2f6521||0x1/0x0,this[_0x200575(0x139)]=[],this[_0x200575(0xcd)]=0x0;}['add'](_0x3f25ff){const _0x103fe4=_0x176161;this[_0x103fe4(0x139)][_0x103fe4(0x14a)](_0x3f25ff),this[_0x50f76e]();}[_0x50f76e](){const _0x583420=_0x176161;if(this[_0x583420(0xcd)]!==this[_0x583420(0x217)]&&this[_0x583420(0x139)][_0x583420(0x248)]){const _0x40d791=this[_0x583420(0x139)][_0x583420(0x1f8)]();this[_0x583420(0xcd)]++,_0x40d791(this[_0x1b9f87]);}}}return ye=_0x40a9a2,ye;}var ve,ze;function he(){const _0x1291a6=_0xe858cf;if(ze)return ve;ze=0x1;const _0x3cf884=bt,_0x20baf4=ce(),_0x4fd09f=Pt(),{kStatusCode:_0x254ff7}=H(),_0x387a60=Buffer[Symbol['species']],_0x187308=Buffer[_0x1291a6(0x1cf)]([0x0,0x0,0xff,0xff]),_0x2a0f1b=Symbol(_0x1291a6(0x1c6)),_0x3a47c2=Symbol('total-length'),_0x3d1aed=Symbol(_0x1291a6(0xa6)),_0x56022a=Symbol(_0x1291a6(0x21a)),_0x197551=Symbol('error');let _0x3dcbbb;class _0x1a868d{constructor(_0x15e742,_0x5c6b75,_0x485c91){const _0x475b9c=_0x1291a6;if(this[_0x475b9c(0x14b)]=_0x485c91|0x0,this[_0x475b9c(0x20e)]=_0x15e742||{},this[_0x475b9c(0x191)]=this[_0x475b9c(0x20e)][_0x475b9c(0xf8)]!==void 0x0?this['_options'][_0x475b9c(0xf8)]:0x400,this['_isServer']=!!_0x5c6b75,this[_0x475b9c(0x238)]=null,this[_0x475b9c(0x236)]=null,this[_0x475b9c(0x149)]=null,!_0x3dcbbb){const _0x3763c4=this[_0x475b9c(0x20e)][_0x475b9c(0x246)]!==void 0x0?this[_0x475b9c(0x20e)][_0x475b9c(0x246)]:0xa;_0x3dcbbb=new _0x4fd09f(_0x3763c4);}}static get[_0x1291a6(0x104)](){const _0x42628e=_0x1291a6;return _0x42628e(0x1c6);}['offer'](){const _0x378b49=_0x1291a6,_0x31c729={};return this[_0x378b49(0x20e)][_0x378b49(0xbc)]&&(_0x31c729[_0x378b49(0xa5)]=!0x0),this[_0x378b49(0x20e)][_0x378b49(0x1da)]&&(_0x31c729[_0x378b49(0x244)]=!0x0),this[_0x378b49(0x20e)]['serverMaxWindowBits']&&(_0x31c729['server_max_window_bits']=this['_options'][_0x378b49(0x16a)]),this[_0x378b49(0x20e)][_0x378b49(0xb9)]?_0x31c729[_0x378b49(0xa2)]=this[_0x378b49(0x20e)][_0x378b49(0xb9)]:this[_0x378b49(0x20e)][_0x378b49(0xb9)]==null&&(_0x31c729[_0x378b49(0xa2)]=!0x0),_0x31c729;}[_0x1291a6(0x177)](_0x251770){const _0x2a2172=_0x1291a6;return _0x251770=this['normalizeParams'](_0x251770),this[_0x2a2172(0x149)]=this[_0x2a2172(0x1cb)]?this[_0x2a2172(0x1bb)](_0x251770):this['acceptAsClient'](_0x251770),this[_0x2a2172(0x149)];}[_0x1291a6(0xe1)](){const _0x4426c3=_0x1291a6;if(this[_0x4426c3(0x236)]&&(this[_0x4426c3(0x236)]['close'](),this[_0x4426c3(0x236)]=null),this[_0x4426c3(0x238)]){const _0x4d8875=this[_0x4426c3(0x238)][_0x3d1aed];this[_0x4426c3(0x238)]['close'](),this[_0x4426c3(0x238)]=null,_0x4d8875&&_0x4d8875(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x1291a6(0x1bb)](_0x5e48ef){const _0x52d955=_0x1291a6,_0x1529aa=this[_0x52d955(0x20e)],_0x11bcb3=_0x5e48ef[_0x52d955(0x1b1)](_0x34c4ae=>!(_0x1529aa[_0x52d955(0xbc)]===!0x1&&_0x34c4ae[_0x52d955(0xa5)]||_0x34c4ae[_0x52d955(0x141)]&&(_0x1529aa[_0x52d955(0x16a)]===!0x1||typeof _0x1529aa[_0x52d955(0x16a)]=='number'&&_0x1529aa['serverMaxWindowBits']>_0x34c4ae[_0x52d955(0x141)])||typeof _0x1529aa[_0x52d955(0xb9)]==_0x52d955(0x10d)&&!_0x34c4ae[_0x52d955(0xa2)]));if(!_0x11bcb3)throw new Error(_0x52d955(0x25d));return _0x1529aa['serverNoContextTakeover']&&(_0x11bcb3[_0x52d955(0xa5)]=!0x0),_0x1529aa[_0x52d955(0x1da)]&&(_0x11bcb3[_0x52d955(0x244)]=!0x0),typeof _0x1529aa[_0x52d955(0x16a)]==_0x52d955(0x10d)&&(_0x11bcb3[_0x52d955(0x141)]=_0x1529aa['serverMaxWindowBits']),typeof _0x1529aa[_0x52d955(0xb9)]=='number'?_0x11bcb3['client_max_window_bits']=_0x1529aa[_0x52d955(0xb9)]:(_0x11bcb3[_0x52d955(0xa2)]===!0x0||_0x1529aa[_0x52d955(0xb9)]===!0x1)&&delete _0x11bcb3[_0x52d955(0xa2)],_0x11bcb3;}[_0x1291a6(0x256)](_0x4b76f3){const _0x13d7bf=_0x1291a6,_0xdaf36b=_0x4b76f3[0x0];if(this[_0x13d7bf(0x20e)][_0x13d7bf(0x1da)]===!0x1&&_0xdaf36b[_0x13d7bf(0x244)])throw new Error(_0x13d7bf(0x1ff));if(!_0xdaf36b[_0x13d7bf(0xa2)])typeof this[_0x13d7bf(0x20e)][_0x13d7bf(0xb9)]==_0x13d7bf(0x10d)&&(_0xdaf36b[_0x13d7bf(0xa2)]=this[_0x13d7bf(0x20e)][_0x13d7bf(0xb9)]);else{if(this[_0x13d7bf(0x20e)][_0x13d7bf(0xb9)]===!0x1||typeof this['_options'][_0x13d7bf(0xb9)]=='number'&&_0xdaf36b[_0x13d7bf(0xa2)]>this[_0x13d7bf(0x20e)][_0x13d7bf(0xb9)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0xdaf36b;}[_0x1291a6(0x23b)](_0x4acf6a){const _0x1881e1=_0x1291a6;return _0x4acf6a[_0x1881e1(0x162)](_0x48dee=>{const _0x36b528=_0x1881e1;Object[_0x36b528(0x1e1)](_0x48dee)['forEach'](_0x1a3fca=>{const _0x54dd38=_0x36b528;let _0x372479=_0x48dee[_0x1a3fca];if(_0x372479[_0x54dd38(0x248)]>0x1)throw new Error(_0x54dd38(0x18e)+_0x1a3fca+_0x54dd38(0xd8));if(_0x372479=_0x372479[0x0],_0x1a3fca===_0x54dd38(0xa2)){if(_0x372479!==!0x0){const _0x31da95=+_0x372479;if(!Number[_0x54dd38(0x108)](_0x31da95)||_0x31da95<0x8||_0x31da95>0xf)throw new TypeError(_0x54dd38(0x1d6)+_0x1a3fca+_0x54dd38(0x252)+_0x372479);_0x372479=_0x31da95;}else{if(!this[_0x54dd38(0x1cb)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1a3fca+_0x54dd38(0x252)+_0x372479);}}else{if(_0x1a3fca===_0x54dd38(0x141)){const _0x13a05c=+_0x372479;if(!Number[_0x54dd38(0x108)](_0x13a05c)||_0x13a05c<0x8||_0x13a05c>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1a3fca+_0x54dd38(0x252)+_0x372479);_0x372479=_0x13a05c;}else{if(_0x1a3fca===_0x54dd38(0x244)||_0x1a3fca===_0x54dd38(0xa5)){if(_0x372479!==!0x0)throw new TypeError(_0x54dd38(0x1d6)+_0x1a3fca+'\x22:\x20'+_0x372479);}else throw new Error(_0x54dd38(0x21f)+_0x1a3fca+'\x22');}}_0x48dee[_0x1a3fca]=_0x372479;});}),_0x4acf6a;}[_0x1291a6(0x12d)](_0x1e10b5,_0x28d326,_0xd7312d){const _0x5ed26a=_0x1291a6;_0x3dcbbb[_0x5ed26a(0x22b)](_0x43ad30=>{const _0x5329c7=_0x5ed26a;this[_0x5329c7(0x16e)](_0x1e10b5,_0x28d326,(_0x494b,_0x54171a)=>{_0x43ad30(),_0xd7312d(_0x494b,_0x54171a);});});}[_0x1291a6(0x1f3)](_0x147090,_0x4df897,_0xfd3f0){const _0x141cf3=_0x1291a6;_0x3dcbbb[_0x141cf3(0x22b)](_0x2020c5=>{const _0x1772c0=_0x141cf3;this[_0x1772c0(0x195)](_0x147090,_0x4df897,(_0x310de2,_0x11d865)=>{_0x2020c5(),_0xfd3f0(_0x310de2,_0x11d865);});});}[_0x1291a6(0x16e)](_0x21035d,_0x569d37,_0x553a62){const _0x3e7b2c=_0x1291a6,_0x30db6c=this[_0x3e7b2c(0x1cb)]?'client':_0x3e7b2c(0xee);if(!this[_0x3e7b2c(0x236)]){const _0x25f519=_0x30db6c+_0x3e7b2c(0x210),_0xa09f7c=typeof this[_0x3e7b2c(0x149)][_0x25f519]!=_0x3e7b2c(0x10d)?_0x3cf884[_0x3e7b2c(0xdb)]:this[_0x3e7b2c(0x149)][_0x25f519];this['_inflate']=_0x3cf884['createInflateRaw']({...this[_0x3e7b2c(0x20e)][_0x3e7b2c(0x160)],'windowBits':_0xa09f7c}),this[_0x3e7b2c(0x236)][_0x2a0f1b]=this,this['_inflate'][_0x3a47c2]=0x0,this[_0x3e7b2c(0x236)][_0x56022a]=[],this[_0x3e7b2c(0x236)]['on'](_0x3e7b2c(0xca),_0x26fa9e),this[_0x3e7b2c(0x236)]['on'](_0x3e7b2c(0x215),_0xa48211);}this[_0x3e7b2c(0x236)][_0x3d1aed]=_0x553a62,this[_0x3e7b2c(0x236)][_0x3e7b2c(0x228)](_0x21035d),_0x569d37&&this[_0x3e7b2c(0x236)][_0x3e7b2c(0x228)](_0x187308),this[_0x3e7b2c(0x236)][_0x3e7b2c(0x1fa)](()=>{const _0x4b31dc=_0x3e7b2c,_0x230600=this['_inflate'][_0x197551];if(_0x230600){this['_inflate'][_0x4b31dc(0xcf)](),this[_0x4b31dc(0x236)]=null,_0x553a62(_0x230600);return;}const _0x4da099=_0x20baf4[_0x4b31dc(0x259)](this['_inflate'][_0x56022a],this[_0x4b31dc(0x236)][_0x3a47c2]);this[_0x4b31dc(0x236)][_0x4b31dc(0xda)][_0x4b31dc(0x185)]?(this['_inflate'][_0x4b31dc(0xcf)](),this[_0x4b31dc(0x236)]=null):(this[_0x4b31dc(0x236)][_0x3a47c2]=0x0,this[_0x4b31dc(0x236)][_0x56022a]=[],_0x569d37&&this['params'][_0x30db6c+'_no_context_takeover']&&this[_0x4b31dc(0x236)][_0x4b31dc(0x1ef)]()),_0x553a62(null,_0x4da099);});}[_0x1291a6(0x195)](_0x556473,_0xb152e3,_0x3d9a43){const _0x27f163=_0x1291a6,_0x5bae17=this[_0x27f163(0x1cb)]?_0x27f163(0xee):_0x27f163(0x138);if(!this[_0x27f163(0x238)]){const _0x40b74e=_0x5bae17+'_max_window_bits',_0x10acd0=typeof this[_0x27f163(0x149)][_0x40b74e]!=_0x27f163(0x10d)?_0x3cf884[_0x27f163(0xdb)]:this[_0x27f163(0x149)][_0x40b74e];this[_0x27f163(0x238)]=_0x3cf884[_0x27f163(0x234)]({...this['_options'][_0x27f163(0x117)],'windowBits':_0x10acd0}),this['_deflate'][_0x3a47c2]=0x0,this[_0x27f163(0x238)][_0x56022a]=[],this[_0x27f163(0x238)]['on'](_0x27f163(0x215),_0x2914f4);}this['_deflate'][_0x3d1aed]=_0x3d9a43,this[_0x27f163(0x238)][_0x27f163(0x228)](_0x556473),this[_0x27f163(0x238)]['flush'](_0x3cf884[_0x27f163(0x1b4)],()=>{const _0x222ef8=_0x27f163;if(!this[_0x222ef8(0x238)])return;let _0x755852=_0x20baf4[_0x222ef8(0x259)](this['_deflate'][_0x56022a],this['_deflate'][_0x3a47c2]);_0xb152e3&&(_0x755852=new _0x387a60(_0x755852[_0x222ef8(0x11d)],_0x755852['byteOffset'],_0x755852[_0x222ef8(0x248)]-0x4)),this['_deflate'][_0x3d1aed]=null,this[_0x222ef8(0x238)][_0x3a47c2]=0x0,this[_0x222ef8(0x238)][_0x56022a]=[],_0xb152e3&&this[_0x222ef8(0x149)][_0x5bae17+'_no_context_takeover']&&this[_0x222ef8(0x238)][_0x222ef8(0x1ef)](),_0x3d9a43(null,_0x755852);});}}ve=_0x1a868d;function _0x2914f4(_0x1a2282){const _0xfcd781=_0x1291a6;this[_0x56022a]['push'](_0x1a2282),this[_0x3a47c2]+=_0x1a2282[_0xfcd781(0x248)];}function _0xa48211(_0x421bca){const _0x4ea50a=_0x1291a6;if(this[_0x3a47c2]+=_0x421bca['length'],this[_0x2a0f1b][_0x4ea50a(0x14b)]<0x1||this[_0x3a47c2]<=this[_0x2a0f1b][_0x4ea50a(0x14b)]){this[_0x56022a][_0x4ea50a(0x14a)](_0x421bca);return;}this[_0x197551]=new RangeError(_0x4ea50a(0x20d)),this[_0x197551][_0x4ea50a(0x11e)]=_0x4ea50a(0x1ab),this[_0x197551][_0x254ff7]=0x3f1,this[_0x4ea50a(0x22f)]('data',_0xa48211),this[_0x4ea50a(0x1ef)]();}function _0x26fa9e(_0x56c95a){this[_0x2a0f1b]['_inflate']=null,_0x56c95a[_0x254ff7]=0x3ef,this[_0x3d1aed](_0x56c95a);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0xe858cf(0x24c)]({'__proto__':null,'default':Dt},Symbol[_0xe858cf(0x107)],{'value':_0xe858cf(0x13a)})),Bt=at(Rt);var Ye;function ae(){const _0x1d69af=_0xe858cf;if(Ye)return ie[_0x1d69af(0x13d)];Ye=0x1;const {isUtf8:_0x15f1c6}=wt,{hasBlob:_0x2eaf7b}=H(),_0x132b46=[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 _0x2b7cfd(_0x309da5){return _0x309da5>=0x3e8&&_0x309da5<=0x3f6&&_0x309da5!==0x3ec&&_0x309da5!==0x3ed&&_0x309da5!==0x3ee||_0x309da5>=0xbb8&&_0x309da5<=0x1387;}function _0x2d4720(_0x94461b){const _0x196061=_0x1d69af,_0x121dd0=_0x94461b[_0x196061(0x248)];let _0x46d518=0x0;for(;_0x46d518<_0x121dd0;)if((_0x94461b[_0x46d518]&0x80)===0x0)_0x46d518++;else{if((_0x94461b[_0x46d518]&0xe0)===0xc0){if(_0x46d518+0x1===_0x121dd0||(_0x94461b[_0x46d518+0x1]&0xc0)!==0x80||(_0x94461b[_0x46d518]&0xfe)===0xc0)return!0x1;_0x46d518+=0x2;}else{if((_0x94461b[_0x46d518]&0xf0)===0xe0){if(_0x46d518+0x2>=_0x121dd0||(_0x94461b[_0x46d518+0x1]&0xc0)!==0x80||(_0x94461b[_0x46d518+0x2]&0xc0)!==0x80||_0x94461b[_0x46d518]===0xe0&&(_0x94461b[_0x46d518+0x1]&0xe0)===0x80||_0x94461b[_0x46d518]===0xed&&(_0x94461b[_0x46d518+0x1]&0xe0)===0xa0)return!0x1;_0x46d518+=0x3;}else{if((_0x94461b[_0x46d518]&0xf8)===0xf0){if(_0x46d518+0x3>=_0x121dd0||(_0x94461b[_0x46d518+0x1]&0xc0)!==0x80||(_0x94461b[_0x46d518+0x2]&0xc0)!==0x80||(_0x94461b[_0x46d518+0x3]&0xc0)!==0x80||_0x94461b[_0x46d518]===0xf0&&(_0x94461b[_0x46d518+0x1]&0xf0)===0x80||_0x94461b[_0x46d518]===0xf4&&_0x94461b[_0x46d518+0x1]>0x8f||_0x94461b[_0x46d518]>0xf4)return!0x1;_0x46d518+=0x4;}else return!0x1;}}}return!0x0;}function _0x120466(_0x4448d9){const _0x2cf122=_0x1d69af;return _0x2eaf7b&&typeof _0x4448d9==_0x2cf122(0x14d)&&typeof _0x4448d9[_0x2cf122(0xe5)]==_0x2cf122(0x152)&&typeof _0x4448d9[_0x2cf122(0x17e)]==_0x2cf122(0x200)&&typeof _0x4448d9[_0x2cf122(0x242)]==_0x2cf122(0x152)&&(_0x4448d9[Symbol[_0x2cf122(0x107)]]===_0x2cf122(0x1a1)||_0x4448d9[Symbol[_0x2cf122(0x107)]]===_0x2cf122(0x101));}if(ie[_0x1d69af(0x13d)]={'isBlob':_0x120466,'isValidStatusCode':_0x2b7cfd,'isValidUTF8':_0x2d4720,'tokenChars':_0x132b46},_0x15f1c6)ie[_0x1d69af(0x13d)]['isValidUTF8']=function(_0x5b01d4){return _0x5b01d4['length']<0x18?_0x2d4720(_0x5b01d4):_0x15f1c6(_0x5b01d4);};else{if(!process['env'][_0x1d69af(0xf9)])try{const _0x2526bb=Bt;ie[_0x1d69af(0x13d)][_0x1d69af(0x22c)]=function(_0x450a9f){const _0x435e2c=_0x1d69af;return _0x450a9f[_0x435e2c(0x248)]<0x20?_0x2d4720(_0x450a9f):_0x2526bb(_0x450a9f);};}catch{}}return ie[_0x1d69af(0x13d)];}var Se,Ke;function lt(){const _0x498f61=_0xe858cf;if(Ke)return Se;Ke=0x1;const {Writable:_0x4a6024}=oe,_0x1a9143=he(),{BINARY_TYPES:_0x64140c,EMPTY_BUFFER:_0x1b1fdb,kStatusCode:_0x47c4f2,kWebSocket:_0x467e2b}=H(),{concat:_0x255b2e,toArrayBuffer:_0x7be0a6,unmask:_0x36ead1}=ce(),{isValidStatusCode:_0x310ca1,isValidUTF8:_0x778d7}=ae(),_0x2bc9e1=Buffer[Symbol[_0x498f61(0x103)]],_0x225b8e=0x0,_0x2e45ac=0x1,_0x487cd7=0x2,_0x84c2=0x3,_0x5c4a00=0x4,_0x2ad279=0x5,_0x2d4fc3=0x6;class _0xc83f37 extends _0x4a6024{constructor(_0x248080={}){const _0x44abd1=_0x498f61;super(),this[_0x44abd1(0x180)]=_0x248080[_0x44abd1(0x19d)]!==void 0x0?_0x248080[_0x44abd1(0x19d)]:!0x0,this['_binaryType']=_0x248080[_0x44abd1(0x13c)]||_0x64140c[0x0],this[_0x44abd1(0x218)]=_0x248080['extensions']||{},this[_0x44abd1(0x1cb)]=!!_0x248080[_0x44abd1(0x1c9)],this[_0x44abd1(0x14b)]=_0x248080[_0x44abd1(0x99)]|0x0,this[_0x44abd1(0x182)]=!!_0x248080[_0x44abd1(0x183)],this[_0x467e2b]=void 0x0,this[_0x44abd1(0x201)]=0x0,this[_0x44abd1(0x21c)]=[],this[_0x44abd1(0x14e)]=!0x1,this['_payloadLength']=0x0,this[_0x44abd1(0x1c3)]=void 0x0,this[_0x44abd1(0x24b)]=0x0,this[_0x44abd1(0x1e3)]=!0x1,this[_0x44abd1(0xfa)]=!0x1,this[_0x44abd1(0x257)]=0x0,this[_0x44abd1(0x23d)]=0x0,this[_0x44abd1(0xb2)]=0x0,this[_0x44abd1(0x116)]=[],this[_0x44abd1(0x110)]=!0x1,this[_0x44abd1(0x1d0)]=!0x1,this[_0x44abd1(0x1a2)]=_0x225b8e;}['_write'](_0x85ff1e,_0x4c0ca0,_0x3fd88c){const _0x2fd3b1=_0x498f61;if(this[_0x2fd3b1(0x257)]===0x8&&this[_0x2fd3b1(0x1a2)]==_0x225b8e)return _0x3fd88c();this[_0x2fd3b1(0x201)]+=_0x85ff1e[_0x2fd3b1(0x248)],this[_0x2fd3b1(0x21c)][_0x2fd3b1(0x14a)](_0x85ff1e),this['startLoop'](_0x3fd88c);}['consume'](_0xf8088f){const _0x3e9194=_0x498f61;if(this[_0x3e9194(0x201)]-=_0xf8088f,_0xf8088f===this[_0x3e9194(0x21c)][0x0]['length'])return this['_buffers']['shift']();if(_0xf8088f<this[_0x3e9194(0x21c)][0x0][_0x3e9194(0x248)]){const _0x403d4d=this[_0x3e9194(0x21c)][0x0];return this[_0x3e9194(0x21c)][0x0]=new _0x2bc9e1(_0x403d4d[_0x3e9194(0x11d)],_0x403d4d['byteOffset']+_0xf8088f,_0x403d4d[_0x3e9194(0x248)]-_0xf8088f),new _0x2bc9e1(_0x403d4d[_0x3e9194(0x11d)],_0x403d4d[_0x3e9194(0x204)],_0xf8088f);}const _0x24850a=Buffer[_0x3e9194(0x118)](_0xf8088f);do{const _0x29f281=this[_0x3e9194(0x21c)][0x0],_0x433350=_0x24850a['length']-_0xf8088f;_0xf8088f>=_0x29f281[_0x3e9194(0x248)]?_0x24850a['set'](this[_0x3e9194(0x21c)][_0x3e9194(0x1f8)](),_0x433350):(_0x24850a[_0x3e9194(0x166)](new Uint8Array(_0x29f281[_0x3e9194(0x11d)],_0x29f281[_0x3e9194(0x204)],_0xf8088f),_0x433350),this[_0x3e9194(0x21c)][0x0]=new _0x2bc9e1(_0x29f281['buffer'],_0x29f281[_0x3e9194(0x204)]+_0xf8088f,_0x29f281[_0x3e9194(0x248)]-_0xf8088f)),_0xf8088f-=_0x29f281[_0x3e9194(0x248)];}while(_0xf8088f>0x0);return _0x24850a;}['startLoop'](_0x3d0321){const _0x450c0a=_0x498f61;this[_0x450c0a(0x1d0)]=!0x0;do switch(this[_0x450c0a(0x1a2)]){case _0x225b8e:this[_0x450c0a(0x250)](_0x3d0321);break;case _0x2e45ac:this['getPayloadLength16'](_0x3d0321);break;case _0x487cd7:this[_0x450c0a(0xd5)](_0x3d0321);break;case _0x84c2:this['getMask']();break;case _0x5c4a00:this[_0x450c0a(0x154)](_0x3d0321);break;case _0x2ad279:case _0x2d4fc3:this[_0x450c0a(0x1d0)]=!0x1;return;}while(this[_0x450c0a(0x1d0)]);this['_errored']||_0x3d0321();}[_0x498f61(0x250)](_0x328807){const _0x6ae09d=_0x498f61;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}const _0x1021ee=this[_0x6ae09d(0x1b9)](0x2);if((_0x1021ee[0x0]&0x30)!==0x0){const _0x279f0f=this[_0x6ae09d(0x1c0)](RangeError,_0x6ae09d(0x9b),!0x0,0x3ea,_0x6ae09d(0x1f6));_0x328807(_0x279f0f);return;}const _0x569717=(_0x1021ee[0x0]&0x40)===0x40;if(_0x569717&&!this[_0x6ae09d(0x218)][_0x1a9143[_0x6ae09d(0x104)]]){const _0x177560=this[_0x6ae09d(0x1c0)](RangeError,_0x6ae09d(0x173),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x328807(_0x177560);return;}if(this[_0x6ae09d(0xfa)]=(_0x1021ee[0x0]&0x80)===0x80,this[_0x6ae09d(0x257)]=_0x1021ee[0x0]&0xf,this[_0x6ae09d(0x253)]=_0x1021ee[0x1]&0x7f,this[_0x6ae09d(0x257)]===0x0){if(_0x569717){const _0x505845=this['createError'](RangeError,_0x6ae09d(0x173),!0x0,0x3ea,_0x6ae09d(0x143));_0x328807(_0x505845);return;}if(!this[_0x6ae09d(0x24b)]){const _0x115972=this[_0x6ae09d(0x1c0)](RangeError,_0x6ae09d(0xe9),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x328807(_0x115972);return;}this[_0x6ae09d(0x257)]=this[_0x6ae09d(0x24b)];}else{if(this[_0x6ae09d(0x257)]===0x1||this[_0x6ae09d(0x257)]===0x2){if(this[_0x6ae09d(0x24b)]){const _0x1fb154=this[_0x6ae09d(0x1c0)](RangeError,'invalid\x20opcode\x20'+this[_0x6ae09d(0x257)],!0x0,0x3ea,_0x6ae09d(0x1fb));_0x328807(_0x1fb154);return;}this['_compressed']=_0x569717;}else{if(this[_0x6ae09d(0x257)]>0x7&&this[_0x6ae09d(0x257)]<0xb){if(!this[_0x6ae09d(0xfa)]){const _0x2bed1e=this['createError'](RangeError,_0x6ae09d(0x19f),!0x0,0x3ea,_0x6ae09d(0x19b));_0x328807(_0x2bed1e);return;}if(_0x569717){const _0x55646c=this[_0x6ae09d(0x1c0)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x6ae09d(0x143));_0x328807(_0x55646c);return;}if(this[_0x6ae09d(0x253)]>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x40bff8=this[_0x6ae09d(0x1c0)](RangeError,_0x6ae09d(0xb4)+this[_0x6ae09d(0x253)],!0x0,0x3ea,_0x6ae09d(0x1bf));_0x328807(_0x40bff8);return;}}else{const _0x4b2f30=this[_0x6ae09d(0x1c0)](RangeError,_0x6ae09d(0x98)+this[_0x6ae09d(0x257)],!0x0,0x3ea,_0x6ae09d(0x1fb));_0x328807(_0x4b2f30);return;}}}if(!this[_0x6ae09d(0xfa)]&&!this[_0x6ae09d(0x24b)]&&(this[_0x6ae09d(0x24b)]=this['_opcode']),this[_0x6ae09d(0x1e3)]=(_0x1021ee[0x1]&0x80)===0x80,this[_0x6ae09d(0x1cb)]){if(!this['_masked']){const _0x413fb6=this['createError'](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x6ae09d(0x174));_0x328807(_0x413fb6);return;}}else{if(this[_0x6ae09d(0x1e3)]){const _0x4b0844=this[_0x6ae09d(0x1c0)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x6ae09d(0x1df));_0x328807(_0x4b0844);return;}}this[_0x6ae09d(0x253)]===0x7e?this[_0x6ae09d(0x1a2)]=_0x2e45ac:this[_0x6ae09d(0x253)]===0x7f?this[_0x6ae09d(0x1a2)]=_0x487cd7:this[_0x6ae09d(0x226)](_0x328807);}['getPayloadLength16'](_0x6ca7e){const _0x1e9b8c=_0x498f61;if(this[_0x1e9b8c(0x201)]<0x2){this[_0x1e9b8c(0x1d0)]=!0x1;return;}this[_0x1e9b8c(0x253)]=this['consume'](0x2)['readUInt16BE'](0x0),this[_0x1e9b8c(0x226)](_0x6ca7e);}['getPayloadLength64'](_0x3747c9){const _0x44372d=_0x498f61;if(this['_bufferedBytes']<0x8){this[_0x44372d(0x1d0)]=!0x1;return;}const _0x8a54e7=this[_0x44372d(0x1b9)](0x8),_0x26071b=_0x8a54e7[_0x44372d(0x17f)](0x0);if(_0x26071b>Math[_0x44372d(0x15b)](0x2,0x15)-0x1){const _0x865b70=this['createError'](RangeError,_0x44372d(0xaf),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x3747c9(_0x865b70);return;}this['_payloadLength']=_0x26071b*Math['pow'](0x2,0x20)+_0x8a54e7['readUInt32BE'](0x4),this[_0x44372d(0x226)](_0x3747c9);}[_0x498f61(0x226)](_0x25b89e){const _0x1434f9=_0x498f61;if(this[_0x1434f9(0x253)]&&this[_0x1434f9(0x257)]<0x8&&(this[_0x1434f9(0x23d)]+=this[_0x1434f9(0x253)],this[_0x1434f9(0x23d)]>this[_0x1434f9(0x14b)]&&this[_0x1434f9(0x14b)]>0x0)){const _0x8cd73b=this[_0x1434f9(0x1c0)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x25b89e(_0x8cd73b);return;}this[_0x1434f9(0x1e3)]?this[_0x1434f9(0x1a2)]=_0x84c2:this[_0x1434f9(0x1a2)]=_0x5c4a00;}[_0x498f61(0x1a5)](){const _0x450794=_0x498f61;if(this[_0x450794(0x201)]<0x4){this[_0x450794(0x1d0)]=!0x1;return;}this[_0x450794(0x1c3)]=this[_0x450794(0x1b9)](0x4),this[_0x450794(0x1a2)]=_0x5c4a00;}[_0x498f61(0x154)](_0x9e8562){const _0x1250e0=_0x498f61;let _0xc50a5=_0x1b1fdb;if(this['_payloadLength']){if(this[_0x1250e0(0x201)]<this[_0x1250e0(0x253)]){this[_0x1250e0(0x1d0)]=!0x1;return;}_0xc50a5=this[_0x1250e0(0x1b9)](this[_0x1250e0(0x253)]),this['_masked']&&(this[_0x1250e0(0x1c3)][0x0]|this[_0x1250e0(0x1c3)][0x1]|this[_0x1250e0(0x1c3)][0x2]|this[_0x1250e0(0x1c3)][0x3])!==0x0&&_0x36ead1(_0xc50a5,this[_0x1250e0(0x1c3)]);}if(this[_0x1250e0(0x257)]>0x7){this[_0x1250e0(0x113)](_0xc50a5,_0x9e8562);return;}if(this[_0x1250e0(0x14e)]){this[_0x1250e0(0x1a2)]=_0x2ad279,this['decompress'](_0xc50a5,_0x9e8562);return;}_0xc50a5['length']&&(this[_0x1250e0(0xb2)]=this['_totalPayloadLength'],this[_0x1250e0(0x116)][_0x1250e0(0x14a)](_0xc50a5)),this[_0x1250e0(0xeb)](_0x9e8562);}[_0x498f61(0x12d)](_0x5408c3,_0x523749){const _0x4a38cd=_0x498f61;this[_0x4a38cd(0x218)][_0x1a9143[_0x4a38cd(0x104)]][_0x4a38cd(0x12d)](_0x5408c3,this[_0x4a38cd(0xfa)],(_0x4cc74b,_0x1bb050)=>{const _0x3ce24d=_0x4a38cd;if(_0x4cc74b)return _0x523749(_0x4cc74b);if(_0x1bb050[_0x3ce24d(0x248)]){if(this[_0x3ce24d(0xb2)]+=_0x1bb050[_0x3ce24d(0x248)],this['_messageLength']>this['_maxPayload']&&this[_0x3ce24d(0x14b)]>0x0){const _0x356d96=this['createError'](RangeError,_0x3ce24d(0x20d),!0x1,0x3f1,_0x3ce24d(0x1ab));_0x523749(_0x356d96);return;}this[_0x3ce24d(0x116)]['push'](_0x1bb050);}this['dataMessage'](_0x523749),this['_state']===_0x225b8e&&this[_0x3ce24d(0x209)](_0x523749);});}[_0x498f61(0xeb)](_0x580041){const _0x1e720a=_0x498f61;if(!this[_0x1e720a(0xfa)]){this[_0x1e720a(0x1a2)]=_0x225b8e;return;}const _0x2b177a=this[_0x1e720a(0xb2)],_0x5eb0ef=this[_0x1e720a(0x116)];if(this[_0x1e720a(0x23d)]=0x0,this[_0x1e720a(0xb2)]=0x0,this[_0x1e720a(0x24b)]=0x0,this[_0x1e720a(0x116)]=[],this[_0x1e720a(0x257)]===0x2){let _0x50ef20;this['_binaryType']===_0x1e720a(0x1e5)?_0x50ef20=_0x255b2e(_0x5eb0ef,_0x2b177a):this[_0x1e720a(0x115)]===_0x1e720a(0xd9)?_0x50ef20=_0x7be0a6(_0x255b2e(_0x5eb0ef,_0x2b177a)):this[_0x1e720a(0x115)]===_0x1e720a(0xbd)?_0x50ef20=new Blob(_0x5eb0ef):_0x50ef20=_0x5eb0ef,this[_0x1e720a(0x180)]?(this[_0x1e720a(0x10f)](_0x1e720a(0xaa),_0x50ef20,!0x0),this['_state']=_0x225b8e):(this['_state']=_0x2d4fc3,setImmediate(()=>{const _0xbb9ee7=_0x1e720a;this[_0xbb9ee7(0x10f)]('message',_0x50ef20,!0x0),this[_0xbb9ee7(0x1a2)]=_0x225b8e,this[_0xbb9ee7(0x209)](_0x580041);}));}else{const _0x5c6d17=_0x255b2e(_0x5eb0ef,_0x2b177a);if(!this[_0x1e720a(0x182)]&&!_0x778d7(_0x5c6d17)){const _0x22c2db=this[_0x1e720a(0x1c0)](Error,_0x1e720a(0xd7),!0x0,0x3ef,_0x1e720a(0x131));_0x580041(_0x22c2db);return;}this[_0x1e720a(0x1a2)]===_0x2ad279||this[_0x1e720a(0x180)]?(this[_0x1e720a(0x10f)](_0x1e720a(0xaa),_0x5c6d17,!0x1),this[_0x1e720a(0x1a2)]=_0x225b8e):(this[_0x1e720a(0x1a2)]=_0x2d4fc3,setImmediate(()=>{const _0x46f6a0=_0x1e720a;this[_0x46f6a0(0x10f)]('message',_0x5c6d17,!0x1),this[_0x46f6a0(0x1a2)]=_0x225b8e,this[_0x46f6a0(0x209)](_0x580041);}));}}[_0x498f61(0x113)](_0xd98d58,_0xaf7860){const _0x5d3c97=_0x498f61;if(this['_opcode']===0x8){if(_0xd98d58[_0x5d3c97(0x248)]===0x0)this['_loop']=!0x1,this['emit'](_0x5d3c97(0x1dd),0x3ed,_0x1b1fdb),this[_0x5d3c97(0xdc)]();else{const _0x48330e=_0xd98d58[_0x5d3c97(0x13f)](0x0);if(!_0x310ca1(_0x48330e)){const _0x19c943=this[_0x5d3c97(0x1c0)](RangeError,_0x5d3c97(0x240)+_0x48330e,!0x0,0x3ea,_0x5d3c97(0x17a));_0xaf7860(_0x19c943);return;}const _0x3dce68=new _0x2bc9e1(_0xd98d58['buffer'],_0xd98d58[_0x5d3c97(0x204)]+0x2,_0xd98d58[_0x5d3c97(0x248)]-0x2);if(!this[_0x5d3c97(0x182)]&&!_0x778d7(_0x3dce68)){const _0x4ceff6=this[_0x5d3c97(0x1c0)](Error,_0x5d3c97(0xd7),!0x0,0x3ef,_0x5d3c97(0x131));_0xaf7860(_0x4ceff6);return;}this['_loop']=!0x1,this[_0x5d3c97(0x10f)](_0x5d3c97(0x1dd),_0x48330e,_0x3dce68),this[_0x5d3c97(0xdc)]();}this['_state']=_0x225b8e;return;}this[_0x5d3c97(0x180)]?(this['emit'](this[_0x5d3c97(0x257)]===0x9?'ping':_0x5d3c97(0x127),_0xd98d58),this[_0x5d3c97(0x1a2)]=_0x225b8e):(this[_0x5d3c97(0x1a2)]=_0x2d4fc3,setImmediate(()=>{const _0x5a9d55=_0x5d3c97;this[_0x5a9d55(0x10f)](this[_0x5a9d55(0x257)]===0x9?'ping':_0x5a9d55(0x127),_0xd98d58),this[_0x5a9d55(0x1a2)]=_0x225b8e,this[_0x5a9d55(0x209)](_0xaf7860);}));}[_0x498f61(0x1c0)](_0x5ad6d2,_0x386b69,_0x342e60,_0x146ca5,_0x1c873f){const _0x47f3fc=_0x498f61;this[_0x47f3fc(0x1d0)]=!0x1,this[_0x47f3fc(0x110)]=!0x0;const _0x38e045=new _0x5ad6d2(_0x342e60?'Invalid\x20WebSocket\x20frame:\x20'+_0x386b69:_0x386b69);return Error[_0x47f3fc(0x1bd)](_0x38e045,this[_0x47f3fc(0x1c0)]),_0x38e045[_0x47f3fc(0x11e)]=_0x1c873f,_0x38e045[_0x47c4f2]=_0x146ca5,_0x38e045;}}return Se=_0xc83f37,Se;}var Ee,Xe;function ft(){const _0x553f61=_0xe858cf;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x52c2a4}=oe,{randomFillSync:_0x296e41}=Le,_0x34cfee=he(),{EMPTY_BUFFER:_0x54d949,kWebSocket:_0x8f3b61,NOOP:_0x2bfebc}=H(),{isBlob:_0x3ff77b,isValidStatusCode:_0x45d58c}=ae(),{mask:_0xb212d8,toBuffer:_0x3672c1}=ce(),_0x356bef=Symbol(_0x553f61(0xa7)),_0x254e98=Buffer[_0x553f61(0x124)](0x4),_0x2f7c2d=0x8*0x400;let _0x4d8dff,_0x44a9f7=_0x2f7c2d;const _0x5f522f=0x0,_0x177c17=0x1,_0xe5f5d=0x2;class _0x14fcd5{constructor(_0x488ae5,_0x49d64b,_0x1e0dc0){const _0x3b2bfe=_0x553f61;this[_0x3b2bfe(0x218)]=_0x49d64b||{},_0x1e0dc0&&(this[_0x3b2bfe(0x1b8)]=_0x1e0dc0,this['_maskBuffer']=Buffer[_0x3b2bfe(0x124)](0x4)),this[_0x3b2bfe(0x125)]=_0x488ae5,this[_0x3b2bfe(0x135)]=!0x0,this['_compress']=!0x1,this[_0x3b2bfe(0x201)]=0x0,this['_queue']=[],this['_state']=_0x5f522f,this[_0x3b2bfe(0x20a)]=_0x2bfebc,this[_0x8f3b61]=void 0x0;}static[_0x553f61(0xd6)](_0x4bcfd1,_0x314acd){const _0x58a801=_0x553f61;let _0x48f5f0,_0x20a1e9=!0x1,_0x5a226e=0x2,_0x52f26c=!0x1;_0x314acd[_0x58a801(0x192)]&&(_0x48f5f0=_0x314acd[_0x58a801(0x9e)]||_0x254e98,_0x314acd['generateMask']?_0x314acd[_0x58a801(0xa1)](_0x48f5f0):(_0x44a9f7===_0x2f7c2d&&(_0x4d8dff===void 0x0&&(_0x4d8dff=Buffer[_0x58a801(0x124)](_0x2f7c2d)),_0x296e41(_0x4d8dff,0x0,_0x2f7c2d),_0x44a9f7=0x0),_0x48f5f0[0x0]=_0x4d8dff[_0x44a9f7++],_0x48f5f0[0x1]=_0x4d8dff[_0x44a9f7++],_0x48f5f0[0x2]=_0x4d8dff[_0x44a9f7++],_0x48f5f0[0x3]=_0x4d8dff[_0x44a9f7++]),_0x52f26c=(_0x48f5f0[0x0]|_0x48f5f0[0x1]|_0x48f5f0[0x2]|_0x48f5f0[0x3])===0x0,_0x5a226e=0x6);let _0x3fa933;typeof _0x4bcfd1==_0x58a801(0x200)?(!_0x314acd[_0x58a801(0x192)]||_0x52f26c)&&_0x314acd[_0x356bef]!==void 0x0?_0x3fa933=_0x314acd[_0x356bef]:(_0x4bcfd1=Buffer[_0x58a801(0x1cf)](_0x4bcfd1),_0x3fa933=_0x4bcfd1[_0x58a801(0x248)]):(_0x3fa933=_0x4bcfd1['length'],_0x20a1e9=_0x314acd[_0x58a801(0x192)]&&_0x314acd[_0x58a801(0x111)]&&!_0x52f26c);let _0x6455f4=_0x3fa933;_0x3fa933>=0x10000?(_0x5a226e+=0x8,_0x6455f4=0x7f):_0x3fa933>0x7d&&(_0x5a226e+=0x2,_0x6455f4=0x7e);const _0xe091d8=Buffer[_0x58a801(0x118)](_0x20a1e9?_0x3fa933+_0x5a226e:_0x5a226e);return _0xe091d8[0x0]=_0x314acd[_0x58a801(0x1a9)]?_0x314acd[_0x58a801(0x145)]|0x80:_0x314acd[_0x58a801(0x145)],_0x314acd[_0x58a801(0x22d)]&&(_0xe091d8[0x0]|=0x40),_0xe091d8[0x1]=_0x6455f4,_0x6455f4===0x7e?_0xe091d8['writeUInt16BE'](_0x3fa933,0x2):_0x6455f4===0x7f&&(_0xe091d8[0x2]=_0xe091d8[0x3]=0x0,_0xe091d8['writeUIntBE'](_0x3fa933,0x4,0x6)),_0x314acd[_0x58a801(0x192)]?(_0xe091d8[0x1]|=0x80,_0xe091d8[_0x5a226e-0x4]=_0x48f5f0[0x0],_0xe091d8[_0x5a226e-0x3]=_0x48f5f0[0x1],_0xe091d8[_0x5a226e-0x2]=_0x48f5f0[0x2],_0xe091d8[_0x5a226e-0x1]=_0x48f5f0[0x3],_0x52f26c?[_0xe091d8,_0x4bcfd1]:_0x20a1e9?(_0xb212d8(_0x4bcfd1,_0x48f5f0,_0xe091d8,_0x5a226e,_0x3fa933),[_0xe091d8]):(_0xb212d8(_0x4bcfd1,_0x48f5f0,_0x4bcfd1,0x0,_0x3fa933),[_0xe091d8,_0x4bcfd1])):[_0xe091d8,_0x4bcfd1];}[_0x553f61(0xcf)](_0x5ab007,_0x1dbe04,_0xa1995d,_0x279def){const _0x2b162d=_0x553f61;let _0x110cbb;if(_0x5ab007===void 0x0)_0x110cbb=_0x54d949;else{if(typeof _0x5ab007!=_0x2b162d(0x10d)||!_0x45d58c(_0x5ab007))throw new TypeError(_0x2b162d(0x1a4));if(_0x1dbe04===void 0x0||!_0x1dbe04[_0x2b162d(0x248)])_0x110cbb=Buffer[_0x2b162d(0x118)](0x2),_0x110cbb[_0x2b162d(0x1c2)](_0x5ab007,0x0);else{const _0x6514fa=Buffer[_0x2b162d(0xbe)](_0x1dbe04);if(_0x6514fa>0x7b)throw new RangeError(_0x2b162d(0x164));_0x110cbb=Buffer['allocUnsafe'](0x2+_0x6514fa),_0x110cbb[_0x2b162d(0x1c2)](_0x5ab007,0x0),typeof _0x1dbe04==_0x2b162d(0x200)?_0x110cbb[_0x2b162d(0x228)](_0x1dbe04,0x2):_0x110cbb[_0x2b162d(0x166)](_0x1dbe04,0x2);}}const _0x5f496c={[_0x356bef]:_0x110cbb[_0x2b162d(0x248)],'fin':!0x0,'generateMask':this[_0x2b162d(0x1b8)],'mask':_0xa1995d,'maskBuffer':this[_0x2b162d(0x1cc)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2b162d(0x1a2)]!==_0x5f522f?this['enqueue']([this[_0x2b162d(0x188)],_0x110cbb,!0x1,_0x5f496c,_0x279def]):this['sendFrame'](_0x14fcd5[_0x2b162d(0xd6)](_0x110cbb,_0x5f496c),_0x279def);}['ping'](_0xedc420,_0x1df380,_0x53a9fa){const _0x22ae33=_0x553f61;let _0x1bbf43,_0x185a67;if(typeof _0xedc420=='string'?(_0x1bbf43=Buffer[_0x22ae33(0xbe)](_0xedc420),_0x185a67=!0x1):_0x3ff77b(_0xedc420)?(_0x1bbf43=_0xedc420[_0x22ae33(0xe6)],_0x185a67=!0x1):(_0xedc420=_0x3672c1(_0xedc420),_0x1bbf43=_0xedc420[_0x22ae33(0x248)],_0x185a67=_0x3672c1[_0x22ae33(0x111)]),_0x1bbf43>0x7d)throw new RangeError(_0x22ae33(0x241));const _0x190779={[_0x356bef]:_0x1bbf43,'fin':!0x0,'generateMask':this[_0x22ae33(0x1b8)],'mask':_0x1df380,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x185a67,'rsv1':!0x1};_0x3ff77b(_0xedc420)?this[_0x22ae33(0x1a2)]!==_0x5f522f?this[_0x22ae33(0x168)]([this[_0x22ae33(0x129)],_0xedc420,!0x1,_0x190779,_0x53a9fa]):this[_0x22ae33(0x129)](_0xedc420,!0x1,_0x190779,_0x53a9fa):this['_state']!==_0x5f522f?this[_0x22ae33(0x168)]([this[_0x22ae33(0x188)],_0xedc420,!0x1,_0x190779,_0x53a9fa]):this[_0x22ae33(0xa3)](_0x14fcd5[_0x22ae33(0xd6)](_0xedc420,_0x190779),_0x53a9fa);}[_0x553f61(0x127)](_0x533eab,_0x22cc04,_0x33022b){const _0x3e2c3d=_0x553f61;let _0x2de51c,_0x1077a3;if(typeof _0x533eab==_0x3e2c3d(0x200)?(_0x2de51c=Buffer[_0x3e2c3d(0xbe)](_0x533eab),_0x1077a3=!0x1):_0x3ff77b(_0x533eab)?(_0x2de51c=_0x533eab[_0x3e2c3d(0xe6)],_0x1077a3=!0x1):(_0x533eab=_0x3672c1(_0x533eab),_0x2de51c=_0x533eab[_0x3e2c3d(0x248)],_0x1077a3=_0x3672c1['readOnly']),_0x2de51c>0x7d)throw new RangeError(_0x3e2c3d(0x241));const _0x13369c={[_0x356bef]:_0x2de51c,'fin':!0x0,'generateMask':this[_0x3e2c3d(0x1b8)],'mask':_0x22cc04,'maskBuffer':this[_0x3e2c3d(0x1cc)],'opcode':0xa,'readOnly':_0x1077a3,'rsv1':!0x1};_0x3ff77b(_0x533eab)?this[_0x3e2c3d(0x1a2)]!==_0x5f522f?this[_0x3e2c3d(0x168)]([this[_0x3e2c3d(0x129)],_0x533eab,!0x1,_0x13369c,_0x33022b]):this[_0x3e2c3d(0x129)](_0x533eab,!0x1,_0x13369c,_0x33022b):this['_state']!==_0x5f522f?this['enqueue']([this[_0x3e2c3d(0x188)],_0x533eab,!0x1,_0x13369c,_0x33022b]):this[_0x3e2c3d(0xa3)](_0x14fcd5[_0x3e2c3d(0xd6)](_0x533eab,_0x13369c),_0x33022b);}[_0x553f61(0x15f)](_0x57f0dc,_0x4d01ca,_0x1be9b5){const _0xe2b24a=_0x553f61,_0x298316=this[_0xe2b24a(0x218)][_0x34cfee[_0xe2b24a(0x104)]];let _0x11fad3=_0x4d01ca[_0xe2b24a(0x187)]?0x2:0x1,_0x5d8c11=_0x4d01ca['compress'],_0x1e00e1,_0x5a1bac;typeof _0x57f0dc==_0xe2b24a(0x200)?(_0x1e00e1=Buffer[_0xe2b24a(0xbe)](_0x57f0dc),_0x5a1bac=!0x1):_0x3ff77b(_0x57f0dc)?(_0x1e00e1=_0x57f0dc[_0xe2b24a(0xe6)],_0x5a1bac=!0x1):(_0x57f0dc=_0x3672c1(_0x57f0dc),_0x1e00e1=_0x57f0dc[_0xe2b24a(0x248)],_0x5a1bac=_0x3672c1['readOnly']),this[_0xe2b24a(0x135)]?(this['_firstFragment']=!0x1,_0x5d8c11&&_0x298316&&_0x298316[_0xe2b24a(0x149)][_0x298316[_0xe2b24a(0x1cb)]?'server_no_context_takeover':'client_no_context_takeover']&&(_0x5d8c11=_0x1e00e1>=_0x298316[_0xe2b24a(0x191)]),this[_0xe2b24a(0x195)]=_0x5d8c11):(_0x5d8c11=!0x1,_0x11fad3=0x0),_0x4d01ca[_0xe2b24a(0x1a9)]&&(this['_firstFragment']=!0x0);const _0x2f4ded={[_0x356bef]:_0x1e00e1,'fin':_0x4d01ca[_0xe2b24a(0x1a9)],'generateMask':this[_0xe2b24a(0x1b8)],'mask':_0x4d01ca[_0xe2b24a(0x192)],'maskBuffer':this[_0xe2b24a(0x1cc)],'opcode':_0x11fad3,'readOnly':_0x5a1bac,'rsv1':_0x5d8c11};_0x3ff77b(_0x57f0dc)?this[_0xe2b24a(0x1a2)]!==_0x5f522f?this['enqueue']([this[_0xe2b24a(0x129)],_0x57f0dc,this['_compress'],_0x2f4ded,_0x1be9b5]):this['getBlobData'](_0x57f0dc,this[_0xe2b24a(0x195)],_0x2f4ded,_0x1be9b5):this[_0xe2b24a(0x1a2)]!==_0x5f522f?this[_0xe2b24a(0x168)]([this['dispatch'],_0x57f0dc,this[_0xe2b24a(0x195)],_0x2f4ded,_0x1be9b5]):this[_0xe2b24a(0x188)](_0x57f0dc,this[_0xe2b24a(0x195)],_0x2f4ded,_0x1be9b5);}[_0x553f61(0x129)](_0x4fc96c,_0x3af121,_0x12c1c5,_0x37e6fc){const _0x1aebc0=_0x553f61;this['_bufferedBytes']+=_0x12c1c5[_0x356bef],this[_0x1aebc0(0x1a2)]=_0xe5f5d,_0x4fc96c[_0x1aebc0(0xe5)]()[_0x1aebc0(0x189)](_0x5d8302=>{const _0x50d148=_0x1aebc0;if(this['_socket'][_0x50d148(0x219)]){const _0x1d7c54=new Error(_0x50d148(0x1f7));process[_0x50d148(0x1f5)](_0x2a7c18,this,_0x1d7c54,_0x37e6fc);return;}this['_bufferedBytes']-=_0x12c1c5[_0x356bef];const _0x5b44b3=_0x3672c1(_0x5d8302);_0x3af121?this[_0x50d148(0x188)](_0x5b44b3,_0x3af121,_0x12c1c5,_0x37e6fc):(this['_state']=_0x5f522f,this[_0x50d148(0xa3)](_0x14fcd5[_0x50d148(0xd6)](_0x5b44b3,_0x12c1c5),_0x37e6fc),this[_0x50d148(0x212)]());})[_0x1aebc0(0x230)](_0x252de3=>{const _0x6bcba9=_0x1aebc0;process[_0x6bcba9(0x1f5)](_0x52c7da,this,_0x252de3,_0x37e6fc);});}[_0x553f61(0x188)](_0x56bd34,_0x4aa9eb,_0xfa5a5b,_0x19a10b){const _0x51b722=_0x553f61;if(!_0x4aa9eb){this[_0x51b722(0xa3)](_0x14fcd5[_0x51b722(0xd6)](_0x56bd34,_0xfa5a5b),_0x19a10b);return;}const _0x1342a9=this['_extensions'][_0x34cfee[_0x51b722(0x104)]];this[_0x51b722(0x201)]+=_0xfa5a5b[_0x356bef],this[_0x51b722(0x1a2)]=_0x177c17,_0x1342a9[_0x51b722(0x1f3)](_0x56bd34,_0xfa5a5b[_0x51b722(0x1a9)],(_0x1b76a0,_0x4cd3b7)=>{const _0x2d34e5=_0x51b722;if(this['_socket'][_0x2d34e5(0x219)]){const _0x4c76c9=new Error(_0x2d34e5(0x12b));_0x2a7c18(this,_0x4c76c9,_0x19a10b);return;}this['_bufferedBytes']-=_0xfa5a5b[_0x356bef],this['_state']=_0x5f522f,_0xfa5a5b['readOnly']=!0x1,this[_0x2d34e5(0xa3)](_0x14fcd5[_0x2d34e5(0xd6)](_0x4cd3b7,_0xfa5a5b),_0x19a10b),this[_0x2d34e5(0x212)]();});}[_0x553f61(0x212)](){const _0x280a14=_0x553f61;for(;this[_0x280a14(0x1a2)]===_0x5f522f&&this[_0x280a14(0x10a)][_0x280a14(0x248)];){const _0x153a5a=this['_queue'][_0x280a14(0x1f8)]();this[_0x280a14(0x201)]-=_0x153a5a[0x3][_0x356bef],Reflect[_0x280a14(0x223)](_0x153a5a[0x0],this,_0x153a5a[_0x280a14(0xc3)](0x1));}}[_0x553f61(0x168)](_0x3368c4){const _0x32833a=_0x553f61;this[_0x32833a(0x201)]+=_0x3368c4[0x3][_0x356bef],this[_0x32833a(0x10a)]['push'](_0x3368c4);}[_0x553f61(0xa3)](_0x451242,_0x4f5676){const _0x4212ff=_0x553f61;_0x451242[_0x4212ff(0x248)]===0x2?(this[_0x4212ff(0x125)][_0x4212ff(0x20c)](),this['_socket'][_0x4212ff(0x228)](_0x451242[0x0]),this['_socket'][_0x4212ff(0x228)](_0x451242[0x1],_0x4f5676),this['_socket'][_0x4212ff(0x105)]()):this[_0x4212ff(0x125)]['write'](_0x451242[0x0],_0x4f5676);}}Ee=_0x14fcd5;function _0x2a7c18(_0x4e9594,_0x3425f7,_0x187190){const _0x4bfadd=_0x553f61;typeof _0x187190==_0x4bfadd(0x152)&&_0x187190(_0x3425f7);for(let _0x3e754d=0x0;_0x3e754d<_0x4e9594[_0x4bfadd(0x10a)][_0x4bfadd(0x248)];_0x3e754d++){const _0x4c4152=_0x4e9594[_0x4bfadd(0x10a)][_0x3e754d],_0x365388=_0x4c4152[_0x4c4152[_0x4bfadd(0x248)]-0x1];typeof _0x365388==_0x4bfadd(0x152)&&_0x365388(_0x3425f7);}}function _0x52c7da(_0x15d9fc,_0xb4b94c,_0x30208f){const _0xa0f006=_0x553f61;_0x2a7c18(_0x15d9fc,_0xb4b94c,_0x30208f),_0x15d9fc[_0xa0f006(0x20a)](_0xb4b94c);}return Ee;}var xe,Ze;function It(){const _0x1504ad=_0xe858cf;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0xabbf65,kListener:_0x598306}=H(),_0x292454=Symbol(_0x1504ad(0x1f1)),_0x47359=Symbol(_0x1504ad(0x9c)),_0x21c388=Symbol(_0x1504ad(0x167)),_0x2b8a5f=Symbol('kMessage'),_0xc045a0=Symbol(_0x1504ad(0xac)),_0x4b8c3d=Symbol('kTarget'),_0x437083=Symbol(_0x1504ad(0xc5)),_0x30730d=Symbol(_0x1504ad(0xd4));class _0x440431{constructor(_0x4b35a3){this[_0x4b8c3d]=null,this[_0x437083]=_0x4b35a3;}get[_0x1504ad(0x193)](){return this[_0x4b8c3d];}get[_0x1504ad(0x17e)](){return this[_0x437083];}}Object[_0x1504ad(0x24c)](_0x440431[_0x1504ad(0x1ea)],'target',{'enumerable':!0x0}),Object[_0x1504ad(0x24c)](_0x440431[_0x1504ad(0x1ea)],_0x1504ad(0x17e),{'enumerable':!0x0});class _0x5682c7 extends _0x440431{constructor(_0x14bb57,_0x69b743={}){const _0x1ef378=_0x1504ad;super(_0x14bb57),this[_0x292454]=_0x69b743[_0x1ef378(0x11e)]===void 0x0?0x0:_0x69b743['code'],this[_0xc045a0]=_0x69b743['reason']===void 0x0?'':_0x69b743[_0x1ef378(0x18d)],this[_0x30730d]=_0x69b743[_0x1ef378(0x233)]===void 0x0?!0x1:_0x69b743[_0x1ef378(0x233)];}get[_0x1504ad(0x11e)](){return this[_0x292454];}get['reason'](){return this[_0xc045a0];}get[_0x1504ad(0x233)](){return this[_0x30730d];}}Object[_0x1504ad(0x24c)](_0x5682c7[_0x1504ad(0x1ea)],'code',{'enumerable':!0x0}),Object['defineProperty'](_0x5682c7[_0x1504ad(0x1ea)],'reason',{'enumerable':!0x0}),Object[_0x1504ad(0x24c)](_0x5682c7[_0x1504ad(0x1ea)],_0x1504ad(0x233),{'enumerable':!0x0});class _0x6a9883 extends _0x440431{constructor(_0x57f91e,_0x30c02a={}){const _0x626e89=_0x1504ad;super(_0x57f91e),this[_0x21c388]=_0x30c02a['error']===void 0x0?null:_0x30c02a[_0x626e89(0xca)],this[_0x2b8a5f]=_0x30c02a[_0x626e89(0xaa)]===void 0x0?'':_0x30c02a[_0x626e89(0xaa)];}get[_0x1504ad(0xca)](){return this[_0x21c388];}get['message'](){return this[_0x2b8a5f];}}Object[_0x1504ad(0x24c)](_0x6a9883[_0x1504ad(0x1ea)],_0x1504ad(0xca),{'enumerable':!0x0}),Object[_0x1504ad(0x24c)](_0x6a9883['prototype'],_0x1504ad(0xaa),{'enumerable':!0x0});class _0x66eb75 extends _0x440431{constructor(_0x5dbfd6,_0x440d11={}){const _0x5987f5=_0x1504ad;super(_0x5dbfd6),this[_0x47359]=_0x440d11['data']===void 0x0?null:_0x440d11[_0x5987f5(0x215)];}get[_0x1504ad(0x215)](){return this[_0x47359];}}Object[_0x1504ad(0x24c)](_0x66eb75[_0x1504ad(0x1ea)],_0x1504ad(0x215),{'enumerable':!0x0}),xe={'CloseEvent':_0x5682c7,'ErrorEvent':_0x6a9883,'Event':_0x440431,'EventTarget':{'addEventListener'(_0x276735,_0xfc7b9c,_0x498cf8={}){const _0x55f138=_0x1504ad;for(const _0x26157c of this[_0x55f138(0x203)](_0x276735))if(!_0x498cf8[_0xabbf65]&&_0x26157c[_0x598306]===_0xfc7b9c&&!_0x26157c[_0xabbf65])return;let _0x41c98d;if(_0x276735===_0x55f138(0xaa))_0x41c98d=function(_0x57c380,_0x5454b5){const _0x110f09=_0x55f138,_0x5f89fd=new _0x66eb75(_0x110f09(0xaa),{'data':_0x5454b5?_0x57c380:_0x57c380[_0x110f09(0x126)]()});_0x5f89fd[_0x4b8c3d]=this,_0x77911(_0xfc7b9c,this,_0x5f89fd);};else{if(_0x276735==='close')_0x41c98d=function(_0x4aefce,_0x116f9d){const _0x449748=_0x55f138,_0x3d72fa=new _0x5682c7(_0x449748(0xcf),{'code':_0x4aefce,'reason':_0x116f9d[_0x449748(0x126)](),'wasClean':this['_closeFrameReceived']&&this[_0x449748(0xe0)]});_0x3d72fa[_0x4b8c3d]=this,_0x77911(_0xfc7b9c,this,_0x3d72fa);};else{if(_0x276735===_0x55f138(0xca))_0x41c98d=function(_0x2746ac){const _0x468afe=_0x55f138,_0x3f292d=new _0x6a9883(_0x468afe(0xca),{'error':_0x2746ac,'message':_0x2746ac[_0x468afe(0xaa)]});_0x3f292d[_0x4b8c3d]=this,_0x77911(_0xfc7b9c,this,_0x3f292d);};else{if(_0x276735===_0x55f138(0x1a6))_0x41c98d=function(){const _0x5d13bc=_0x55f138,_0x19c086=new _0x440431(_0x5d13bc(0x1a6));_0x19c086[_0x4b8c3d]=this,_0x77911(_0xfc7b9c,this,_0x19c086);};else return;}}}_0x41c98d[_0xabbf65]=!!_0x498cf8[_0xabbf65],_0x41c98d[_0x598306]=_0xfc7b9c,_0x498cf8[_0x55f138(0x1e4)]?this[_0x55f138(0x1e4)](_0x276735,_0x41c98d):this['on'](_0x276735,_0x41c98d);},'removeEventListener'(_0x3bfc0d,_0x4441a0){const _0x42aa73=_0x1504ad;for(const _0x3f9740 of this['listeners'](_0x3bfc0d))if(_0x3f9740[_0x598306]===_0x4441a0&&!_0x3f9740[_0xabbf65]){this[_0x42aa73(0x22f)](_0x3bfc0d,_0x3f9740);break;}}},'MessageEvent':_0x66eb75};function _0x77911(_0x3457ec,_0x32ed47,_0x2af01f){const _0x2971ea=_0x1504ad;typeof _0x3457ec==_0x2971ea(0x14d)&&_0x3457ec[_0x2971ea(0x102)]?_0x3457ec[_0x2971ea(0x102)][_0x2971ea(0x178)](_0x3457ec,_0x2af01f):_0x3457ec['call'](_0x32ed47,_0x2af01f);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x5b604e}=ae();function _0x33f440(_0x2121f5,_0xaaf451,_0x323502){_0x2121f5[_0xaaf451]===void 0x0?_0x2121f5[_0xaaf451]=[_0x323502]:_0x2121f5[_0xaaf451]['push'](_0x323502);}function _0x49c172(_0x176e1f){const _0x1517c2=_0x37a8,_0x13ecdf=Object[_0x1517c2(0x1c4)](null);let _0xb9571b=Object[_0x1517c2(0x1c4)](null),_0x214041=!0x1,_0x1fef5b=!0x1,_0x44b03f=!0x1,_0x58c7b8,_0x12dfea,_0x49d378=-0x1,_0x31a1b9=-0x1,_0x81ad42=-0x1,_0x13916f=0x0;for(;_0x13916f<_0x176e1f[_0x1517c2(0x248)];_0x13916f++)if(_0x31a1b9=_0x176e1f[_0x1517c2(0x224)](_0x13916f),_0x58c7b8===void 0x0){if(_0x81ad42===-0x1&&_0x5b604e[_0x31a1b9]===0x1)_0x49d378===-0x1&&(_0x49d378=_0x13916f);else{if(_0x13916f!==0x0&&(_0x31a1b9===0x20||_0x31a1b9===0x9))_0x81ad42===-0x1&&_0x49d378!==-0x1&&(_0x81ad42=_0x13916f);else{if(_0x31a1b9===0x3b||_0x31a1b9===0x2c){if(_0x49d378===-0x1)throw new SyntaxError(_0x1517c2(0x1ba)+_0x13916f);_0x81ad42===-0x1&&(_0x81ad42=_0x13916f);const _0x3dc419=_0x176e1f[_0x1517c2(0xc3)](_0x49d378,_0x81ad42);_0x31a1b9===0x2c?(_0x33f440(_0x13ecdf,_0x3dc419,_0xb9571b),_0xb9571b=Object[_0x1517c2(0x1c4)](null)):_0x58c7b8=_0x3dc419,_0x49d378=_0x81ad42=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x13916f);}}}else{if(_0x12dfea===void 0x0){if(_0x81ad42===-0x1&&_0x5b604e[_0x31a1b9]===0x1)_0x49d378===-0x1&&(_0x49d378=_0x13916f);else{if(_0x31a1b9===0x20||_0x31a1b9===0x9)_0x81ad42===-0x1&&_0x49d378!==-0x1&&(_0x81ad42=_0x13916f);else{if(_0x31a1b9===0x3b||_0x31a1b9===0x2c){if(_0x49d378===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x13916f);_0x81ad42===-0x1&&(_0x81ad42=_0x13916f),_0x33f440(_0xb9571b,_0x176e1f[_0x1517c2(0xc3)](_0x49d378,_0x81ad42),!0x0),_0x31a1b9===0x2c&&(_0x33f440(_0x13ecdf,_0x58c7b8,_0xb9571b),_0xb9571b=Object[_0x1517c2(0x1c4)](null),_0x58c7b8=void 0x0),_0x49d378=_0x81ad42=-0x1;}else{if(_0x31a1b9===0x3d&&_0x49d378!==-0x1&&_0x81ad42===-0x1)_0x12dfea=_0x176e1f[_0x1517c2(0xc3)](_0x49d378,_0x13916f),_0x49d378=_0x81ad42=-0x1;else throw new SyntaxError(_0x1517c2(0x1ba)+_0x13916f);}}}}else{if(_0x1fef5b){if(_0x5b604e[_0x31a1b9]!==0x1)throw new SyntaxError(_0x1517c2(0x1ba)+_0x13916f);_0x49d378===-0x1?_0x49d378=_0x13916f:_0x214041||(_0x214041=!0x0),_0x1fef5b=!0x1;}else{if(_0x44b03f){if(_0x5b604e[_0x31a1b9]===0x1)_0x49d378===-0x1&&(_0x49d378=_0x13916f);else{if(_0x31a1b9===0x22&&_0x49d378!==-0x1)_0x44b03f=!0x1,_0x81ad42=_0x13916f;else{if(_0x31a1b9===0x5c)_0x1fef5b=!0x0;else throw new SyntaxError(_0x1517c2(0x1ba)+_0x13916f);}}}else{if(_0x31a1b9===0x22&&_0x176e1f[_0x1517c2(0x224)](_0x13916f-0x1)===0x3d)_0x44b03f=!0x0;else{if(_0x81ad42===-0x1&&_0x5b604e[_0x31a1b9]===0x1)_0x49d378===-0x1&&(_0x49d378=_0x13916f);else{if(_0x49d378!==-0x1&&(_0x31a1b9===0x20||_0x31a1b9===0x9))_0x81ad42===-0x1&&(_0x81ad42=_0x13916f);else{if(_0x31a1b9===0x3b||_0x31a1b9===0x2c){if(_0x49d378===-0x1)throw new SyntaxError(_0x1517c2(0x1ba)+_0x13916f);_0x81ad42===-0x1&&(_0x81ad42=_0x13916f);let _0xec391d=_0x176e1f[_0x1517c2(0xc3)](_0x49d378,_0x81ad42);_0x214041&&(_0xec391d=_0xec391d[_0x1517c2(0x140)](/\\/g,''),_0x214041=!0x1),_0x33f440(_0xb9571b,_0x12dfea,_0xec391d),_0x31a1b9===0x2c&&(_0x33f440(_0x13ecdf,_0x58c7b8,_0xb9571b),_0xb9571b=Object[_0x1517c2(0x1c4)](null),_0x58c7b8=void 0x0),_0x12dfea=void 0x0,_0x49d378=_0x81ad42=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x13916f);}}}}}}}if(_0x49d378===-0x1||_0x44b03f||_0x31a1b9===0x20||_0x31a1b9===0x9)throw new SyntaxError(_0x1517c2(0x109));_0x81ad42===-0x1&&(_0x81ad42=_0x13916f);const _0x54044a=_0x176e1f[_0x1517c2(0xc3)](_0x49d378,_0x81ad42);return _0x58c7b8===void 0x0?_0x33f440(_0x13ecdf,_0x54044a,_0xb9571b):(_0x12dfea===void 0x0?_0x33f440(_0xb9571b,_0x54044a,!0x0):_0x214041?_0x33f440(_0xb9571b,_0x12dfea,_0x54044a[_0x1517c2(0x140)](/\\/g,'')):_0x33f440(_0xb9571b,_0x12dfea,_0x54044a),_0x33f440(_0x13ecdf,_0x58c7b8,_0xb9571b)),_0x13ecdf;}function _0x3c04f1(_0x29c58c){const _0x40f535=_0x37a8;return Object['keys'](_0x29c58c)['map'](_0x4cf5f8=>{const _0x836ca=_0x37a8;let _0x2f0a8d=_0x29c58c[_0x4cf5f8];return Array[_0x836ca(0x16c)](_0x2f0a8d)||(_0x2f0a8d=[_0x2f0a8d]),_0x2f0a8d[_0x836ca(0x15a)](_0x20e116=>[_0x4cf5f8][_0x836ca(0x259)](Object[_0x836ca(0x1e1)](_0x20e116)[_0x836ca(0x15a)](_0x3d887e=>{const _0x26ec1b=_0x836ca;let _0x211afb=_0x20e116[_0x3d887e];return Array[_0x26ec1b(0x16c)](_0x211afb)||(_0x211afb=[_0x211afb]),_0x211afb['map'](_0x55d6a4=>_0x55d6a4===!0x0?_0x3d887e:_0x3d887e+'='+_0x55d6a4)[_0x26ec1b(0x175)](';\x20');}))['join'](';\x20'))[_0x836ca(0x175)](',\x20');})[_0x40f535(0x175)](',\x20');}return be={'format':_0x3c04f1,'parse':_0x49c172},be;}var we,Je;function Pe(){const _0x3cb110=_0xe858cf;if(Je)return we;Je=0x1;const _0x3e7ebc=nt,_0x6e7043=vt,_0x5431bf=ot,_0x24a74b=St,_0x129803=Et,{randomBytes:_0x3d5d4b,createHash:_0x1dd88d}=Le,{Duplex:_0x5ac3b9,Readable:_0x21808c}=oe,{URL:_0x18a277}=xt,_0x2e722c=he(),_0x260384=lt(),_0x8cbedf=ft(),{isBlob:_0x4a38ce}=ae(),{BINARY_TYPES:_0x82742,EMPTY_BUFFER:_0x248151,GUID:_0xbb9c7e,kForOnEventAttribute:_0x102c9d,kListener:_0x1d6210,kStatusCode:_0x5dba44,kWebSocket:_0x3dfc4e,NOOP:_0x82ef22}=H(),{EventTarget:{addEventListener:_0x2d9c06,removeEventListener:_0xa3128f}}=It(),{format:_0x3e3220,parse:_0x175b24}=ct(),{toBuffer:_0x58bee9}=ce(),_0x4fd5ae=0x1e*0x3e8,_0x4522c9=Symbol(_0x3cb110(0x19e)),_0x45c5c9=[0x8,0xd],_0x3926b1=[_0x3cb110(0x1a3),_0x3cb110(0x9f),_0x3cb110(0xc1),'CLOSED'],_0x52efeb=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x23ce78 extends _0x3e7ebc{constructor(_0x2c45ff,_0x2d1f1a,_0xad1c80){const _0x3f0e32=_0x3cb110;super(),this['_binaryType']=_0x82742[0x0],this[_0x3f0e32(0x205)]=0x3ee,this[_0x3f0e32(0x208)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x3f0e32(0x1c7)]=_0x248151,this['_closeTimer']=null,this[_0x3f0e32(0x136)]=!0x1,this[_0x3f0e32(0x218)]={},this[_0x3f0e32(0x155)]=!0x1,this['_protocol']='',this[_0x3f0e32(0x12c)]=_0x23ce78[_0x3f0e32(0x1a3)],this[_0x3f0e32(0x121)]=null,this['_sender']=null,this[_0x3f0e32(0x125)]=null,_0x2c45ff!==null?(this[_0x3f0e32(0x24d)]=0x0,this['_isServer']=!0x1,this['_redirects']=0x0,_0x2d1f1a===void 0x0?_0x2d1f1a=[]:Array[_0x3f0e32(0x16c)](_0x2d1f1a)||(typeof _0x2d1f1a=='object'&&_0x2d1f1a!==null?(_0xad1c80=_0x2d1f1a,_0x2d1f1a=[]):_0x2d1f1a=[_0x2d1f1a]),_0x10e467(this,_0x2c45ff,_0x2d1f1a,_0xad1c80)):(this['_autoPong']=_0xad1c80[_0x3f0e32(0xd2)],this[_0x3f0e32(0x1cb)]=!0x0);}get[_0x3cb110(0x13c)](){return this['_binaryType'];}set[_0x3cb110(0x13c)](_0x3dcb86){const _0x5dbf6f=_0x3cb110;_0x82742['includes'](_0x3dcb86)&&(this['_binaryType']=_0x3dcb86,this['_receiver']&&(this[_0x5dbf6f(0x121)][_0x5dbf6f(0x115)]=_0x3dcb86));}get[_0x3cb110(0x123)](){const _0x529715=_0x3cb110;return this[_0x529715(0x125)]?this[_0x529715(0x125)][_0x529715(0x11c)][_0x529715(0x248)]+this[_0x529715(0xc9)]['_bufferedBytes']:this[_0x529715(0x24d)];}get['extensions'](){const _0x4ba3c1=_0x3cb110;return Object['keys'](this[_0x4ba3c1(0x218)])[_0x4ba3c1(0x175)]();}get['isPaused'](){return this['_paused'];}get['onclose'](){return null;}get[_0x3cb110(0x20a)](){return null;}get[_0x3cb110(0x130)](){return null;}get['onmessage'](){return null;}get[_0x3cb110(0x1e9)](){return this['_protocol'];}get[_0x3cb110(0xf7)](){const _0x459668=_0x3cb110;return this[_0x459668(0x12c)];}get[_0x3cb110(0x1de)](){const _0x4a68ea=_0x3cb110;return this[_0x4a68ea(0xe8)];}['setSocket'](_0x3a4620,_0x43d04d,_0x39ada7){const _0x1f2296=_0x3cb110,_0x17587a=new _0x260384({'allowSynchronousEvents':_0x39ada7[_0x1f2296(0x19d)],'binaryType':this[_0x1f2296(0x13c)],'extensions':this[_0x1f2296(0x218)],'isServer':this[_0x1f2296(0x1cb)],'maxPayload':_0x39ada7[_0x1f2296(0x99)],'skipUTF8Validation':_0x39ada7[_0x1f2296(0x183)]}),_0x483053=new _0x8cbedf(_0x3a4620,this[_0x1f2296(0x218)],_0x39ada7[_0x1f2296(0xa1)]);this[_0x1f2296(0x121)]=_0x17587a,this[_0x1f2296(0xc9)]=_0x483053,this['_socket']=_0x3a4620,_0x17587a[_0x3dfc4e]=this,_0x483053[_0x3dfc4e]=this,_0x3a4620[_0x3dfc4e]=this,_0x17587a['on']('conclude',_0x3bad7b),_0x17587a['on'](_0x1f2296(0x222),_0x2ff5dc),_0x17587a['on'](_0x1f2296(0xca),_0x4e04a4),_0x17587a['on']('message',_0xc521fd),_0x17587a['on'](_0x1f2296(0x12a),_0x18d159),_0x17587a['on'](_0x1f2296(0x127),_0x3738f4),_0x483053[_0x1f2296(0x20a)]=_0x5ac75e,_0x3a4620[_0x1f2296(0x156)]&&_0x3a4620[_0x1f2296(0x156)](0x0),_0x3a4620[_0x1f2296(0x1ad)]&&_0x3a4620[_0x1f2296(0x1ad)](),_0x43d04d[_0x1f2296(0x248)]>0x0&&_0x3a4620['unshift'](_0x43d04d),_0x3a4620['on'](_0x1f2296(0xcf),_0x2f26d3),_0x3a4620['on'](_0x1f2296(0x215),_0x9a35d),_0x3a4620['on']('end',_0x56ce13),_0x3a4620['on'](_0x1f2296(0xca),_0x25bd7e),this[_0x1f2296(0x12c)]=_0x23ce78['OPEN'],this[_0x1f2296(0x10f)](_0x1f2296(0x1a6));}[_0x3cb110(0x23a)](){const _0x47149d=_0x3cb110;if(!this['_socket']){this['_readyState']=_0x23ce78['CLOSED'],this[_0x47149d(0x10f)](_0x47149d(0xcf),this[_0x47149d(0x205)],this['_closeMessage']);return;}this[_0x47149d(0x218)][_0x2e722c[_0x47149d(0x104)]]&&this['_extensions'][_0x2e722c[_0x47149d(0x104)]][_0x47149d(0xe1)](),this['_receiver'][_0x47149d(0xc2)](),this[_0x47149d(0x12c)]=_0x23ce78[_0x47149d(0x1a7)],this[_0x47149d(0x10f)](_0x47149d(0xcf),this['_closeCode'],this[_0x47149d(0x1c7)]);}[_0x3cb110(0xcf)](_0x50a499,_0x4b03bd){const _0x463614=_0x3cb110;if(this[_0x463614(0xf7)]!==_0x23ce78['CLOSED']){if(this[_0x463614(0xf7)]===_0x23ce78['CONNECTING']){_0x42b908(this,this[_0x463614(0xe3)],_0x463614(0x1b0));return;}if(this[_0x463614(0xf7)]===_0x23ce78[_0x463614(0xc1)]){this[_0x463614(0xe0)]&&(this['_closeFrameReceived']||this[_0x463614(0x121)][_0x463614(0x11c)][_0x463614(0x1eb)])&&this[_0x463614(0x125)][_0x463614(0xdc)]();return;}this[_0x463614(0x12c)]=_0x23ce78['CLOSING'],this[_0x463614(0xc9)][_0x463614(0xcf)](_0x50a499,_0x4b03bd,!this[_0x463614(0x1cb)],_0x41cb49=>{const _0x313b31=_0x463614;_0x41cb49||(this['_closeFrameSent']=!0x0,(this[_0x313b31(0x208)]||this[_0x313b31(0x121)][_0x313b31(0x11c)][_0x313b31(0x1eb)])&&this[_0x313b31(0x125)]['end']());}),_0x46015c(this);}}[_0x3cb110(0x1be)](){const _0x39be07=_0x3cb110;this[_0x39be07(0xf7)]===_0x23ce78[_0x39be07(0x1a3)]||this['readyState']===_0x23ce78[_0x39be07(0x1a7)]||(this[_0x39be07(0x155)]=!0x0,this[_0x39be07(0x125)]['pause']());}[_0x3cb110(0x12a)](_0x1debb4,_0x37d040,_0x1c3ffa){const _0x2407d3=_0x3cb110;if(this[_0x2407d3(0xf7)]===_0x23ce78[_0x2407d3(0x1a3)])throw new Error(_0x2407d3(0x1d9));if(typeof _0x1debb4==_0x2407d3(0x152)?(_0x1c3ffa=_0x1debb4,_0x1debb4=_0x37d040=void 0x0):typeof _0x37d040==_0x2407d3(0x152)&&(_0x1c3ffa=_0x37d040,_0x37d040=void 0x0),typeof _0x1debb4==_0x2407d3(0x10d)&&(_0x1debb4=_0x1debb4[_0x2407d3(0x126)]()),this[_0x2407d3(0xf7)]!==_0x23ce78[_0x2407d3(0x9f)]){_0xdc97d8(this,_0x1debb4,_0x1c3ffa);return;}_0x37d040===void 0x0&&(_0x37d040=!this['_isServer']),this[_0x2407d3(0xc9)][_0x2407d3(0x12a)](_0x1debb4||_0x248151,_0x37d040,_0x1c3ffa);}[_0x3cb110(0x127)](_0x5a8170,_0x1fc318,_0x5556c4){const _0x161825=_0x3cb110;if(this[_0x161825(0xf7)]===_0x23ce78[_0x161825(0x1a3)])throw new Error(_0x161825(0x1d9));if(typeof _0x5a8170==_0x161825(0x152)?(_0x5556c4=_0x5a8170,_0x5a8170=_0x1fc318=void 0x0):typeof _0x1fc318==_0x161825(0x152)&&(_0x5556c4=_0x1fc318,_0x1fc318=void 0x0),typeof _0x5a8170==_0x161825(0x10d)&&(_0x5a8170=_0x5a8170[_0x161825(0x126)]()),this[_0x161825(0xf7)]!==_0x23ce78['OPEN']){_0xdc97d8(this,_0x5a8170,_0x5556c4);return;}_0x1fc318===void 0x0&&(_0x1fc318=!this[_0x161825(0x1cb)]),this[_0x161825(0xc9)]['pong'](_0x5a8170||_0x248151,_0x1fc318,_0x5556c4);}['resume'](){const _0x3b2712=_0x3cb110;this['readyState']===_0x23ce78[_0x3b2712(0x1a3)]||this[_0x3b2712(0xf7)]===_0x23ce78['CLOSED']||(this[_0x3b2712(0x155)]=!0x1,this[_0x3b2712(0x121)][_0x3b2712(0x11c)][_0x3b2712(0xfc)]||this[_0x3b2712(0x125)][_0x3b2712(0x18c)]());}['send'](_0xfcf191,_0x1a7396,_0x5270be){const _0x1b140e=_0x3cb110;if(this[_0x1b140e(0xf7)]===_0x23ce78[_0x1b140e(0x1a3)])throw new Error(_0x1b140e(0x1d9));if(typeof _0x1a7396==_0x1b140e(0x152)&&(_0x5270be=_0x1a7396,_0x1a7396={}),typeof _0xfcf191=='number'&&(_0xfcf191=_0xfcf191[_0x1b140e(0x126)]()),this[_0x1b140e(0xf7)]!==_0x23ce78[_0x1b140e(0x9f)]){_0xdc97d8(this,_0xfcf191,_0x5270be);return;}const _0x6bd9cf={'binary':typeof _0xfcf191!=_0x1b140e(0x200),'mask':!this[_0x1b140e(0x1cb)],'compress':!0x0,'fin':!0x0,..._0x1a7396};this[_0x1b140e(0x218)][_0x2e722c['extensionName']]||(_0x6bd9cf['compress']=!0x1),this[_0x1b140e(0xc9)][_0x1b140e(0x15f)](_0xfcf191||_0x248151,_0x6bd9cf,_0x5270be);}[_0x3cb110(0x150)](){const _0x2b68f6=_0x3cb110;if(this[_0x2b68f6(0xf7)]!==_0x23ce78[_0x2b68f6(0x1a7)]){if(this['readyState']===_0x23ce78['CONNECTING']){_0x42b908(this,this[_0x2b68f6(0xe3)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x2b68f6(0x125)]&&(this[_0x2b68f6(0x12c)]=_0x23ce78[_0x2b68f6(0xc1)],this[_0x2b68f6(0x125)]['destroy']());}}}Object['defineProperty'](_0x23ce78,'CONNECTING',{'enumerable':!0x0,'value':_0x3926b1[_0x3cb110(0xb8)](_0x3cb110(0x1a3))}),Object[_0x3cb110(0x24c)](_0x23ce78[_0x3cb110(0x1ea)],_0x3cb110(0x1a3),{'enumerable':!0x0,'value':_0x3926b1[_0x3cb110(0xb8)]('CONNECTING')}),Object[_0x3cb110(0x24c)](_0x23ce78,_0x3cb110(0x9f),{'enumerable':!0x0,'value':_0x3926b1[_0x3cb110(0xb8)](_0x3cb110(0x9f))}),Object['defineProperty'](_0x23ce78['prototype'],_0x3cb110(0x9f),{'enumerable':!0x0,'value':_0x3926b1[_0x3cb110(0xb8)](_0x3cb110(0x9f))}),Object['defineProperty'](_0x23ce78,_0x3cb110(0xc1),{'enumerable':!0x0,'value':_0x3926b1[_0x3cb110(0xb8)]('CLOSING')}),Object[_0x3cb110(0x24c)](_0x23ce78[_0x3cb110(0x1ea)],'CLOSING',{'enumerable':!0x0,'value':_0x3926b1[_0x3cb110(0xb8)](_0x3cb110(0xc1))}),Object[_0x3cb110(0x24c)](_0x23ce78,_0x3cb110(0x1a7),{'enumerable':!0x0,'value':_0x3926b1[_0x3cb110(0xb8)](_0x3cb110(0x1a7))}),Object[_0x3cb110(0x24c)](_0x23ce78['prototype'],_0x3cb110(0x1a7),{'enumerable':!0x0,'value':_0x3926b1[_0x3cb110(0xb8)](_0x3cb110(0x1a7))}),[_0x3cb110(0x13c),_0x3cb110(0x123),_0x3cb110(0xbb),_0x3cb110(0x15d),_0x3cb110(0x1e9),_0x3cb110(0xf7),_0x3cb110(0x1de)][_0x3cb110(0x162)](_0x7bf1c0=>{const _0x9f5285=_0x3cb110;Object[_0x9f5285(0x24c)](_0x23ce78[_0x9f5285(0x1ea)],_0x7bf1c0,{'enumerable':!0x0});}),[_0x3cb110(0x1a6),_0x3cb110(0xca),'close',_0x3cb110(0xaa)][_0x3cb110(0x162)](_0x357fa8=>{const _0x35bc9e=_0x3cb110;Object[_0x35bc9e(0x24c)](_0x23ce78['prototype'],'on'+_0x357fa8,{'enumerable':!0x0,'get'(){const _0x2254cf=_0x35bc9e;for(const _0x4ec8bd of this[_0x2254cf(0x203)](_0x357fa8))if(_0x4ec8bd[_0x102c9d])return _0x4ec8bd[_0x1d6210];return null;},'set'(_0x2c96ec){const _0x44d9bb=_0x35bc9e;for(const _0x1f11b0 of this['listeners'](_0x357fa8))if(_0x1f11b0[_0x102c9d]){this[_0x44d9bb(0x22f)](_0x357fa8,_0x1f11b0);break;}typeof _0x2c96ec==_0x44d9bb(0x152)&&this[_0x44d9bb(0xba)](_0x357fa8,_0x2c96ec,{[_0x102c9d]:!0x0});}});}),_0x23ce78[_0x3cb110(0x1ea)][_0x3cb110(0xba)]=_0x2d9c06,_0x23ce78[_0x3cb110(0x1ea)]['removeEventListener']=_0xa3128f,we=_0x23ce78;function _0x10e467(_0x269c4d,_0x36d067,_0x4f6e5f,_0x1edf87){const _0x5eed45=_0x3cb110,_0x232fca={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x45c5c9[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1edf87,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x5eed45(0x197),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x269c4d[_0x5eed45(0xdf)]=_0x232fca[_0x5eed45(0xd2)],!_0x45c5c9['includes'](_0x232fca[_0x5eed45(0x17b)]))throw new RangeError(_0x5eed45(0x112)+_0x232fca[_0x5eed45(0x17b)]+_0x5eed45(0x97)+_0x45c5c9[_0x5eed45(0x175)](',\x20')+')');let _0x32c74f;if(_0x36d067 instanceof _0x18a277)_0x32c74f=_0x36d067;else try{_0x32c74f=new _0x18a277(_0x36d067);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x36d067);}_0x32c74f[_0x5eed45(0x1e9)]===_0x5eed45(0x1a8)?_0x32c74f['protocol']=_0x5eed45(0x134):_0x32c74f['protocol']===_0x5eed45(0x243)&&(_0x32c74f['protocol']=_0x5eed45(0x1d3)),_0x269c4d[_0x5eed45(0xe8)]=_0x32c74f['href'];const _0xb70c2=_0x32c74f['protocol']===_0x5eed45(0x1d3),_0x3d281d=_0x32c74f[_0x5eed45(0x1e9)]===_0x5eed45(0x1c5);let _0x3ac903;if(_0x32c74f[_0x5eed45(0x1e9)]!==_0x5eed45(0x134)&&!_0xb70c2&&!_0x3d281d?_0x3ac903='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':_0x3d281d&&!_0x32c74f[_0x5eed45(0xc4)]?_0x3ac903='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x32c74f['hash']&&(_0x3ac903=_0x5eed45(0xa8)),_0x3ac903){const _0x4e54c7=new SyntaxError(_0x3ac903);if(_0x269c4d[_0x5eed45(0x9d)]===0x0)throw _0x4e54c7;_0x5e40ac(_0x269c4d,_0x4e54c7);return;}const _0x43be39=_0xb70c2?0x1bb:0x50,_0x555704=_0x3d5d4b(0x10)[_0x5eed45(0x126)](_0x5eed45(0x1e6)),_0x3d64e2=_0xb70c2?_0x6e7043[_0x5eed45(0xc7)]:_0x5431bf[_0x5eed45(0xc7)],_0x4c14c8=new Set();let _0x3cafbf;if(_0x232fca['createConnection']=_0x232fca[_0x5eed45(0x207)]||(_0xb70c2?_0x3a2e6a:_0xc43948),_0x232fca[_0x5eed45(0x179)]=_0x232fca[_0x5eed45(0x179)]||_0x43be39,_0x232fca[_0x5eed45(0xf3)]=_0x32c74f['port']||_0x43be39,_0x232fca[_0x5eed45(0xfb)]=_0x32c74f[_0x5eed45(0x23e)][_0x5eed45(0x22a)]('[')?_0x32c74f[_0x5eed45(0x23e)][_0x5eed45(0xc3)](0x1,-0x1):_0x32c74f['hostname'],_0x232fca[_0x5eed45(0x227)]={..._0x232fca['headers'],'Sec-WebSocket-Version':_0x232fca['protocolVersion'],'Sec-WebSocket-Key':_0x555704,'Connection':_0x5eed45(0xed),'Upgrade':_0x5eed45(0x172)},_0x232fca[_0x5eed45(0x254)]=_0x32c74f['pathname']+_0x32c74f[_0x5eed45(0xa9)],_0x232fca['timeout']=_0x232fca[_0x5eed45(0x122)],_0x232fca[_0x5eed45(0x24f)]&&(_0x3cafbf=new _0x2e722c(_0x232fca[_0x5eed45(0x24f)]!==!0x0?_0x232fca[_0x5eed45(0x24f)]:{},!0x1,_0x232fca[_0x5eed45(0x99)]),_0x232fca['headers'][_0x5eed45(0x1db)]=_0x3e3220({[_0x2e722c[_0x5eed45(0x104)]]:_0x3cafbf['offer']()})),_0x4f6e5f[_0x5eed45(0x248)]){for(const _0x535ecc of _0x4f6e5f){if(typeof _0x535ecc!='string'||!_0x52efeb['test'](_0x535ecc)||_0x4c14c8[_0x5eed45(0x229)](_0x535ecc))throw new SyntaxError(_0x5eed45(0x16b));_0x4c14c8['add'](_0x535ecc);}_0x232fca[_0x5eed45(0x227)]['Sec-WebSocket-Protocol']=_0x4f6e5f[_0x5eed45(0x175)](',');}if(_0x232fca['origin']&&(_0x232fca[_0x5eed45(0x17b)]<0xd?_0x232fca['headers'][_0x5eed45(0xcc)]=_0x232fca[_0x5eed45(0xc6)]:_0x232fca[_0x5eed45(0x227)][_0x5eed45(0x1b7)]=_0x232fca[_0x5eed45(0xc6)]),(_0x32c74f[_0x5eed45(0x1aa)]||_0x32c74f['password'])&&(_0x232fca[_0x5eed45(0xff)]=_0x32c74f[_0x5eed45(0x1aa)]+':'+_0x32c74f[_0x5eed45(0x247)]),_0x3d281d){const _0x143e7a=_0x232fca[_0x5eed45(0x254)][_0x5eed45(0x169)](':');_0x232fca[_0x5eed45(0x1ee)]=_0x143e7a[0x0],_0x232fca[_0x5eed45(0x254)]=_0x143e7a[0x1];}let _0x46bd35;if(_0x232fca[_0x5eed45(0x16d)]){if(_0x269c4d['_redirects']===0x0){_0x269c4d['_originalIpc']=_0x3d281d,_0x269c4d[_0x5eed45(0x1af)]=_0xb70c2,_0x269c4d[_0x5eed45(0x235)]=_0x3d281d?_0x232fca[_0x5eed45(0x1ee)]:_0x32c74f[_0x5eed45(0xfb)];const _0x73d88b=_0x1edf87&&_0x1edf87[_0x5eed45(0x227)];if(_0x1edf87={..._0x1edf87,'headers':{}},_0x73d88b){for(const [_0x18260d,_0xc445f2]of Object[_0x5eed45(0x20f)](_0x73d88b))_0x1edf87['headers'][_0x18260d[_0x5eed45(0x11f)]()]=_0xc445f2;}}else{if(_0x269c4d[_0x5eed45(0xb3)](_0x5eed45(0x12f))===0x0){const _0x2c813a=_0x3d281d?_0x269c4d[_0x5eed45(0x1b5)]?_0x232fca[_0x5eed45(0x1ee)]===_0x269c4d[_0x5eed45(0x235)]:!0x1:_0x269c4d[_0x5eed45(0x1b5)]?!0x1:_0x32c74f[_0x5eed45(0xfb)]===_0x269c4d['_originalHostOrSocketPath'];(!_0x2c813a||_0x269c4d['_originalSecure']&&!_0xb70c2)&&(delete _0x232fca[_0x5eed45(0x227)][_0x5eed45(0x1c8)],delete _0x232fca[_0x5eed45(0x227)][_0x5eed45(0x181)],_0x2c813a||delete _0x232fca[_0x5eed45(0x227)]['host'],_0x232fca[_0x5eed45(0xff)]=void 0x0);}}_0x232fca[_0x5eed45(0xff)]&&!_0x1edf87[_0x5eed45(0x227)][_0x5eed45(0x1c8)]&&(_0x1edf87[_0x5eed45(0x227)][_0x5eed45(0x1c8)]=_0x5eed45(0xd0)+Buffer[_0x5eed45(0x1cf)](_0x232fca[_0x5eed45(0xff)])['toString'](_0x5eed45(0x1e6))),_0x46bd35=_0x269c4d[_0x5eed45(0xe3)]=_0x3d64e2(_0x232fca),_0x269c4d[_0x5eed45(0x9d)]&&_0x269c4d[_0x5eed45(0x10f)](_0x5eed45(0x12f),_0x269c4d[_0x5eed45(0x1de)],_0x46bd35);}else _0x46bd35=_0x269c4d['_req']=_0x3d64e2(_0x232fca);_0x232fca[_0x5eed45(0x159)]&&_0x46bd35['on'](_0x5eed45(0x159),()=>{const _0x556829=_0x5eed45;_0x42b908(_0x269c4d,_0x46bd35,_0x556829(0x1d1));}),_0x46bd35['on'](_0x5eed45(0xca),_0x25104b=>{const _0x77ddf1=_0x5eed45;_0x46bd35===null||_0x46bd35[_0x4522c9]||(_0x46bd35=_0x269c4d[_0x77ddf1(0xe3)]=null,_0x5e40ac(_0x269c4d,_0x25104b));}),_0x46bd35['on'](_0x5eed45(0x231),_0x512f2a=>{const _0x2e1ccf=_0x5eed45,_0x31e29a=_0x512f2a[_0x2e1ccf(0x227)]['location'],_0x2a8f64=_0x512f2a[_0x2e1ccf(0x163)];if(_0x31e29a&&_0x232fca[_0x2e1ccf(0x16d)]&&_0x2a8f64>=0x12c&&_0x2a8f64<0x190){if(++_0x269c4d['_redirects']>_0x232fca['maxRedirects']){_0x42b908(_0x269c4d,_0x46bd35,_0x2e1ccf(0x199));return;}_0x46bd35[_0x2e1ccf(0x1f0)]();let _0x48b9f6;try{_0x48b9f6=new _0x18a277(_0x31e29a,_0x36d067);}catch{const _0xa66e5=new SyntaxError(_0x2e1ccf(0x239)+_0x31e29a);_0x5e40ac(_0x269c4d,_0xa66e5);return;}_0x10e467(_0x269c4d,_0x48b9f6,_0x4f6e5f,_0x1edf87);}else _0x269c4d[_0x2e1ccf(0x10f)](_0x2e1ccf(0x1f9),_0x46bd35,_0x512f2a)||_0x42b908(_0x269c4d,_0x46bd35,_0x2e1ccf(0x1bc)+_0x512f2a[_0x2e1ccf(0x163)]);}),_0x46bd35['on'](_0x5eed45(0xea),(_0x1cb1c2,_0x5b6d6c,_0x12c0a4)=>{const _0x487d8b=_0x5eed45;if(_0x269c4d[_0x487d8b(0x10f)](_0x487d8b(0xea),_0x1cb1c2),_0x269c4d[_0x487d8b(0xf7)]!==_0x23ce78[_0x487d8b(0x1a3)])return;_0x46bd35=_0x269c4d[_0x487d8b(0xe3)]=null;const _0x2d85f4=_0x1cb1c2['headers']['upgrade'];if(_0x2d85f4===void 0x0||_0x2d85f4['toLowerCase']()!==_0x487d8b(0x172)){_0x42b908(_0x269c4d,_0x5b6d6c,'Invalid\x20Upgrade\x20header');return;}const _0x33a38b=_0x1dd88d('sha1')[_0x487d8b(0x225)](_0x555704+_0xbb9c7e)[_0x487d8b(0x251)](_0x487d8b(0x1e6));if(_0x1cb1c2[_0x487d8b(0x227)]['sec-websocket-accept']!==_0x33a38b){_0x42b908(_0x269c4d,_0x5b6d6c,_0x487d8b(0x1d2));return;}const _0x447487=_0x1cb1c2[_0x487d8b(0x227)][_0x487d8b(0xde)];let _0x514c7e;if(_0x447487!==void 0x0?_0x4c14c8[_0x487d8b(0xe6)]?_0x4c14c8[_0x487d8b(0x229)](_0x447487)||(_0x514c7e=_0x487d8b(0x232)):_0x514c7e=_0x487d8b(0xf2):_0x4c14c8[_0x487d8b(0xe6)]&&(_0x514c7e=_0x487d8b(0xf1)),_0x514c7e){_0x42b908(_0x269c4d,_0x5b6d6c,_0x514c7e);return;}_0x447487&&(_0x269c4d[_0x487d8b(0xce)]=_0x447487);const _0x4ea707=_0x1cb1c2['headers'][_0x487d8b(0x119)];if(_0x4ea707!==void 0x0){if(!_0x3cafbf){_0x42b908(_0x269c4d,_0x5b6d6c,_0x487d8b(0xa0));return;}let _0x2eec6c;try{_0x2eec6c=_0x175b24(_0x4ea707);}catch{_0x42b908(_0x269c4d,_0x5b6d6c,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x51acf0=Object[_0x487d8b(0x1e1)](_0x2eec6c);if(_0x51acf0[_0x487d8b(0x248)]!==0x1||_0x51acf0[0x0]!==_0x2e722c[_0x487d8b(0x104)]){_0x42b908(_0x269c4d,_0x5b6d6c,_0x487d8b(0x25b));return;}try{_0x3cafbf[_0x487d8b(0x177)](_0x2eec6c[_0x2e722c[_0x487d8b(0x104)]]);}catch{_0x42b908(_0x269c4d,_0x5b6d6c,_0x487d8b(0x1b6));return;}_0x269c4d[_0x487d8b(0x218)][_0x2e722c[_0x487d8b(0x104)]]=_0x3cafbf;}_0x269c4d['setSocket'](_0x5b6d6c,_0x12c0a4,{'allowSynchronousEvents':_0x232fca['allowSynchronousEvents'],'generateMask':_0x232fca[_0x487d8b(0xa1)],'maxPayload':_0x232fca['maxPayload'],'skipUTF8Validation':_0x232fca[_0x487d8b(0x183)]});}),_0x232fca[_0x5eed45(0xfd)]?_0x232fca[_0x5eed45(0xfd)](_0x46bd35,_0x269c4d):_0x46bd35[_0x5eed45(0xdc)]();}function _0x5e40ac(_0x4c1aaa,_0x251a03){const _0xeb5b73=_0x3cb110;_0x4c1aaa['_readyState']=_0x23ce78['CLOSING'],_0x4c1aaa[_0xeb5b73(0x136)]=!0x0,_0x4c1aaa['emit'](_0xeb5b73(0xca),_0x251a03),_0x4c1aaa[_0xeb5b73(0x23a)]();}function _0xc43948(_0x1430aa){const _0x20136d=_0x3cb110;return _0x1430aa[_0x20136d(0x254)]=_0x1430aa[_0x20136d(0x1ee)],_0x24a74b[_0x20136d(0x1dc)](_0x1430aa);}function _0x3a2e6a(_0x5172b6){const _0x383b95=_0x3cb110;return _0x5172b6['path']=void 0x0,!_0x5172b6[_0x383b95(0x255)]&&_0x5172b6[_0x383b95(0x255)]!==''&&(_0x5172b6[_0x383b95(0x255)]=_0x24a74b[_0x383b95(0x9a)](_0x5172b6[_0x383b95(0xfb)])?'':_0x5172b6['host']),_0x129803[_0x383b95(0x1dc)](_0x5172b6);}function _0x42b908(_0x24be9a,_0x147cb7,_0x29e603){const _0x5b4423=_0x3cb110;_0x24be9a[_0x5b4423(0x12c)]=_0x23ce78[_0x5b4423(0xc1)];const _0x2eda03=new Error(_0x29e603);Error[_0x5b4423(0x1bd)](_0x2eda03,_0x42b908),_0x147cb7['setHeader']?(_0x147cb7[_0x4522c9]=!0x0,_0x147cb7[_0x5b4423(0x1f0)](),_0x147cb7[_0x5b4423(0xec)]&&!_0x147cb7['socket'][_0x5b4423(0x219)]&&_0x147cb7[_0x5b4423(0xec)][_0x5b4423(0x13e)](),process[_0x5b4423(0x1f5)](_0x5e40ac,_0x24be9a,_0x2eda03)):(_0x147cb7[_0x5b4423(0x13e)](_0x2eda03),_0x147cb7['once']('error',_0x24be9a[_0x5b4423(0x10f)][_0x5b4423(0x202)](_0x24be9a,_0x5b4423(0xca))),_0x147cb7[_0x5b4423(0x1e4)](_0x5b4423(0xcf),_0x24be9a[_0x5b4423(0x23a)][_0x5b4423(0x202)](_0x24be9a)));}function _0xdc97d8(_0x2d31ed,_0x2c329b,_0x468156){const _0x2a4b5f=_0x3cb110;if(_0x2c329b){const _0x58af59=_0x4a38ce(_0x2c329b)?_0x2c329b[_0x2a4b5f(0xe6)]:_0x58bee9(_0x2c329b)[_0x2a4b5f(0x248)];_0x2d31ed[_0x2a4b5f(0x125)]?_0x2d31ed[_0x2a4b5f(0xc9)][_0x2a4b5f(0x201)]+=_0x58af59:_0x2d31ed[_0x2a4b5f(0x24d)]+=_0x58af59;}if(_0x468156){const _0x4378a1=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x2d31ed[_0x2a4b5f(0xf7)]+'\x20('+_0x3926b1[_0x2d31ed[_0x2a4b5f(0xf7)]]+')');process[_0x2a4b5f(0x1f5)](_0x468156,_0x4378a1);}}function _0x3bad7b(_0x14095e,_0xe35e10){const _0x2fb81f=_0x3cb110,_0x23a2b7=this[_0x3dfc4e];_0x23a2b7[_0x2fb81f(0x208)]=!0x0,_0x23a2b7[_0x2fb81f(0x1c7)]=_0xe35e10,_0x23a2b7[_0x2fb81f(0x205)]=_0x14095e,_0x23a2b7[_0x2fb81f(0x125)][_0x3dfc4e]!==void 0x0&&(_0x23a2b7[_0x2fb81f(0x125)]['removeListener'](_0x2fb81f(0x215),_0x9a35d),process[_0x2fb81f(0x1f5)](_0x3b3f80,_0x23a2b7[_0x2fb81f(0x125)]),_0x14095e===0x3ed?_0x23a2b7[_0x2fb81f(0xcf)]():_0x23a2b7[_0x2fb81f(0xcf)](_0x14095e,_0xe35e10));}function _0x2ff5dc(){const _0x474d50=_0x3cb110,_0x2d9dee=this[_0x3dfc4e];_0x2d9dee[_0x474d50(0x15d)]||_0x2d9dee[_0x474d50(0x125)]['resume']();}function _0x4e04a4(_0x91368d){const _0x46e423=_0x3cb110,_0x1d3abe=this[_0x3dfc4e];_0x1d3abe[_0x46e423(0x125)][_0x3dfc4e]!==void 0x0&&(_0x1d3abe[_0x46e423(0x125)]['removeListener'](_0x46e423(0x215),_0x9a35d),process[_0x46e423(0x1f5)](_0x3b3f80,_0x1d3abe[_0x46e423(0x125)]),_0x1d3abe[_0x46e423(0xcf)](_0x91368d[_0x5dba44])),_0x1d3abe[_0x46e423(0x136)]||(_0x1d3abe['_errorEmitted']=!0x0,_0x1d3abe[_0x46e423(0x10f)]('error',_0x91368d));}function _0x340891(){const _0x231195=_0x3cb110;this[_0x3dfc4e][_0x231195(0x23a)]();}function _0xc521fd(_0x1bb316,_0x3048ff){const _0x59c8c6=_0x3cb110;this[_0x3dfc4e][_0x59c8c6(0x10f)](_0x59c8c6(0xaa),_0x1bb316,_0x3048ff);}function _0x18d159(_0x23ee5e){const _0x403cdd=_0x3cb110,_0x1fe5f0=this[_0x3dfc4e];_0x1fe5f0[_0x403cdd(0xdf)]&&_0x1fe5f0['pong'](_0x23ee5e,!this['_isServer'],_0x82ef22),_0x1fe5f0[_0x403cdd(0x10f)](_0x403cdd(0x12a),_0x23ee5e);}function _0x3738f4(_0x13b1ed){const _0x422a31=_0x3cb110;this[_0x3dfc4e][_0x422a31(0x10f)](_0x422a31(0x127),_0x13b1ed);}function _0x3b3f80(_0x3095be){const _0x5313d2=_0x3cb110;_0x3095be[_0x5313d2(0x18c)]();}function _0x5ac75e(_0x200739){const _0x56f9fd=_0x3cb110,_0x998522=this[_0x3dfc4e];_0x998522[_0x56f9fd(0xf7)]!==_0x23ce78[_0x56f9fd(0x1a7)]&&(_0x998522[_0x56f9fd(0xf7)]===_0x23ce78['OPEN']&&(_0x998522[_0x56f9fd(0x12c)]=_0x23ce78[_0x56f9fd(0xc1)],_0x46015c(_0x998522)),this[_0x56f9fd(0x125)][_0x56f9fd(0xdc)](),_0x998522[_0x56f9fd(0x136)]||(_0x998522[_0x56f9fd(0x136)]=!0x0,_0x998522[_0x56f9fd(0x10f)](_0x56f9fd(0xca),_0x200739)));}function _0x46015c(_0x1d1890){const _0x545890=_0x3cb110;_0x1d1890[_0x545890(0x245)]=setTimeout(_0x1d1890[_0x545890(0x125)][_0x545890(0x13e)][_0x545890(0x202)](_0x1d1890['_socket']),_0x4fd5ae);}function _0x2f26d3(){const _0x493cc6=_0x3cb110,_0x502356=this[_0x3dfc4e];this[_0x493cc6(0x22f)]('close',_0x2f26d3),this[_0x493cc6(0x22f)](_0x493cc6(0x215),_0x9a35d),this[_0x493cc6(0x22f)]('end',_0x56ce13),_0x502356[_0x493cc6(0x12c)]=_0x23ce78['CLOSING'];let _0x2a18fb;!this[_0x493cc6(0xda)][_0x493cc6(0x185)]&&!_0x502356[_0x493cc6(0x208)]&&!_0x502356['_receiver'][_0x493cc6(0x11c)][_0x493cc6(0x1eb)]&&(_0x2a18fb=_0x502356[_0x493cc6(0x125)][_0x493cc6(0x1fd)]())!==null&&_0x502356[_0x493cc6(0x121)][_0x493cc6(0x228)](_0x2a18fb),_0x502356[_0x493cc6(0x121)][_0x493cc6(0xdc)](),this[_0x3dfc4e]=void 0x0,clearTimeout(_0x502356[_0x493cc6(0x245)]),_0x502356[_0x493cc6(0x121)][_0x493cc6(0x11c)][_0x493cc6(0xa4)]||_0x502356[_0x493cc6(0x121)]['_writableState'][_0x493cc6(0x1eb)]?_0x502356[_0x493cc6(0x23a)]():(_0x502356[_0x493cc6(0x121)]['on'](_0x493cc6(0xca),_0x340891),_0x502356['_receiver']['on'](_0x493cc6(0xcb),_0x340891));}function _0x9a35d(_0x2b7a70){const _0x1847af=_0x3cb110;this[_0x3dfc4e][_0x1847af(0x121)][_0x1847af(0x228)](_0x2b7a70)||this[_0x1847af(0x1be)]();}function _0x56ce13(){const _0x5cf073=_0x3cb110,_0x246a8a=this[_0x3dfc4e];_0x246a8a[_0x5cf073(0x12c)]=_0x23ce78['CLOSING'],_0x246a8a[_0x5cf073(0x121)][_0x5cf073(0xdc)](),this[_0x5cf073(0xdc)]();}function _0x25bd7e(){const _0xd64ff0=_0x3cb110,_0x227754=this[_0x3dfc4e];this[_0xd64ff0(0x22f)](_0xd64ff0(0xca),_0x25bd7e),this['on'](_0xd64ff0(0xca),_0x82ef22),_0x227754&&(_0x227754[_0xd64ff0(0x12c)]=_0x23ce78['CLOSING'],this[_0xd64ff0(0x13e)]());}return we;}function _0x37a8(_0x57355f,_0x170160){const _0x22b741=_0x22b7();return _0x37a8=function(_0x37a88f,_0x3d6252){_0x37a88f=_0x37a88f-0x96;let _0x52261e=_0x22b741[_0x37a88f];return _0x52261e;},_0x37a8(_0x57355f,_0x170160);}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x38027a}=oe;function _0x528f33(_0x257b04){const _0x8cea1e=_0x37a8;_0x257b04[_0x8cea1e(0x10f)](_0x8cea1e(0xcf));}function _0x130285(){const _0x2f1c2e=_0x37a8;!this[_0x2f1c2e(0x219)]&&this[_0x2f1c2e(0x11c)]['finished']&&this['destroy']();}function _0x15a6e1(_0x57564b){const _0x4ecfbf=_0x37a8;this[_0x4ecfbf(0x22f)](_0x4ecfbf(0xca),_0x15a6e1),this[_0x4ecfbf(0x13e)](),this[_0x4ecfbf(0xb3)](_0x4ecfbf(0xca))===0x0&&this[_0x4ecfbf(0x10f)](_0x4ecfbf(0xca),_0x57564b);}function _0x5e1c0d(_0x5f5592,_0x313e9c){const _0x3f2f73=_0x37a8;let _0x561ecc=!0x0;const _0x57e08c=new _0x38027a({..._0x313e9c,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5f5592['on']('message',function(_0x3dc485,_0x396a85){const _0x3b4054=_0x37a8,_0xb2bd86=!_0x396a85&&_0x57e08c['_readableState'][_0x3b4054(0x1b3)]?_0x3dc485[_0x3b4054(0x126)]():_0x3dc485;_0x57e08c[_0x3b4054(0x14a)](_0xb2bd86)||_0x5f5592['pause']();}),_0x5f5592[_0x3f2f73(0x1e4)]('error',function(_0x403440){const _0x47ad7f=_0x3f2f73;_0x57e08c[_0x47ad7f(0x219)]||(_0x561ecc=!0x1,_0x57e08c['destroy'](_0x403440));}),_0x5f5592[_0x3f2f73(0x1e4)]('close',function(){const _0x315c0e=_0x3f2f73;_0x57e08c[_0x315c0e(0x219)]||_0x57e08c['push'](null);}),_0x57e08c['_destroy']=function(_0x329849,_0x25e6fe){const _0x4bead2=_0x3f2f73;if(_0x5f5592[_0x4bead2(0xf7)]===_0x5f5592['CLOSED']){_0x25e6fe(_0x329849),process[_0x4bead2(0x1f5)](_0x528f33,_0x57e08c);return;}let _0x5d3e54=!0x1;_0x5f5592[_0x4bead2(0x1e4)](_0x4bead2(0xca),function(_0x2f957a){_0x5d3e54=!0x0,_0x25e6fe(_0x2f957a);}),_0x5f5592['once'](_0x4bead2(0xcf),function(){_0x5d3e54||_0x25e6fe(_0x329849),process['nextTick'](_0x528f33,_0x57e08c);}),_0x561ecc&&_0x5f5592[_0x4bead2(0x150)]();},_0x57e08c[_0x3f2f73(0xbf)]=function(_0x190806){const _0x2ff61d=_0x3f2f73;if(_0x5f5592[_0x2ff61d(0xf7)]===_0x5f5592[_0x2ff61d(0x1a3)]){_0x5f5592['once'](_0x2ff61d(0x1a6),function(){const _0x3974e3=_0x2ff61d;_0x57e08c[_0x3974e3(0xbf)](_0x190806);});return;}_0x5f5592[_0x2ff61d(0x125)]!==null&&(_0x5f5592[_0x2ff61d(0x125)]['_writableState'][_0x2ff61d(0xa4)]?(_0x190806(),_0x57e08c[_0x2ff61d(0xda)][_0x2ff61d(0x185)]&&_0x57e08c[_0x2ff61d(0x13e)]()):(_0x5f5592['_socket'][_0x2ff61d(0x1e4)](_0x2ff61d(0xcb),function(){_0x190806();}),_0x5f5592[_0x2ff61d(0xcf)]()));},_0x57e08c[_0x3f2f73(0x1d7)]=function(){const _0x4f6a16=_0x3f2f73;_0x5f5592[_0x4f6a16(0x15d)]&&_0x5f5592[_0x4f6a16(0x18c)]();},_0x57e08c['_write']=function(_0xfca5d6,_0x4fd534,_0x38c779){const _0x512455=_0x3f2f73;if(_0x5f5592[_0x512455(0xf7)]===_0x5f5592[_0x512455(0x1a3)]){_0x5f5592['once'](_0x512455(0x1a6),function(){const _0x31cd6f=_0x512455;_0x57e08c[_0x31cd6f(0x258)](_0xfca5d6,_0x4fd534,_0x38c779);});return;}_0x5f5592[_0x512455(0x15f)](_0xfca5d6,_0x38c779);},_0x57e08c['on'](_0x3f2f73(0xdc),_0x130285),_0x57e08c['on'](_0x3f2f73(0xca),_0x15a6e1),_0x57e08c;}return Oe=_0x5e1c0d,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x312b81}=ae();function _0x5f525d(_0x54bee6){const _0x3732ef=_0x37a8,_0x4ebcd2=new Set();let _0x2bed78=-0x1,_0x13aaea=-0x1,_0x25ec7b=0x0;for(_0x25ec7b;_0x25ec7b<_0x54bee6[_0x3732ef(0x248)];_0x25ec7b++){const _0xc33b9d=_0x54bee6[_0x3732ef(0x224)](_0x25ec7b);if(_0x13aaea===-0x1&&_0x312b81[_0xc33b9d]===0x1)_0x2bed78===-0x1&&(_0x2bed78=_0x25ec7b);else{if(_0x25ec7b!==0x0&&(_0xc33b9d===0x20||_0xc33b9d===0x9))_0x13aaea===-0x1&&_0x2bed78!==-0x1&&(_0x13aaea=_0x25ec7b);else{if(_0xc33b9d===0x2c){if(_0x2bed78===-0x1)throw new SyntaxError(_0x3732ef(0x1ba)+_0x25ec7b);_0x13aaea===-0x1&&(_0x13aaea=_0x25ec7b);const _0x2d9c87=_0x54bee6[_0x3732ef(0xc3)](_0x2bed78,_0x13aaea);if(_0x4ebcd2['has'](_0x2d9c87))throw new SyntaxError(_0x3732ef(0xd3)+_0x2d9c87+_0x3732ef(0x151));_0x4ebcd2[_0x3732ef(0x22b)](_0x2d9c87),_0x2bed78=_0x13aaea=-0x1;}else throw new SyntaxError(_0x3732ef(0x1ba)+_0x25ec7b);}}}if(_0x2bed78===-0x1||_0x13aaea!==-0x1)throw new SyntaxError(_0x3732ef(0x109));const _0x12cf02=_0x54bee6[_0x3732ef(0xc3)](_0x2bed78,_0x25ec7b);if(_0x4ebcd2[_0x3732ef(0x229)](_0x12cf02))throw new SyntaxError(_0x3732ef(0xd3)+_0x12cf02+'\x22\x20subprotocol\x20is\x20duplicated');return _0x4ebcd2[_0x3732ef(0x22b)](_0x12cf02),_0x4ebcd2;}return Ce={'parse':_0x5f525d},Ce;}var Te,rt;function Ft(){const _0x3b33f7=_0xe858cf;if(rt)return Te;rt=0x1;const _0x54f572=nt,_0x116916=ot,{Duplex:_0xb9304}=oe,{createHash:_0x1ac8e4}=Le,_0x3d5883=ct(),_0x1a84d5=he(),_0x1e4ed2=At(),_0x5410a6=Pe(),{GUID:_0x1eb07a,kWebSocket:_0x34566a}=H(),_0x4c5296=/^[+/0-9A-Za-z]{22}==$/,_0x2d3d96=0x0,_0x4d0de3=0x1,_0x5f08c6=0x2;class _0x3e6104 extends _0x54f572{constructor(_0x539b12,_0x581fbf){const _0x5c960d=_0x37a8;if(super(),_0x539b12={'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':_0x5410a6,..._0x539b12},_0x539b12[_0x5c960d(0xf3)]==null&&!_0x539b12[_0x5c960d(0xee)]&&!_0x539b12[_0x5c960d(0x1f2)]||_0x539b12[_0x5c960d(0xf3)]!=null&&(_0x539b12['server']||_0x539b12[_0x5c960d(0x1f2)])||_0x539b12['server']&&_0x539b12['noServer'])throw new TypeError(_0x5c960d(0xfe));if(_0x539b12[_0x5c960d(0xf3)]!=null?(this['_server']=_0x116916['createServer']((_0x138e6c,_0xf57494)=>{const _0x3b3061=_0x5c960d,_0x2207e7=_0x116916[_0x3b3061(0xf5)][0x1aa];_0xf57494[_0x3b3061(0x1f4)](0x1aa,{'Content-Length':_0x2207e7[_0x3b3061(0x248)],'Content-Type':_0x3b3061(0x1a0)}),_0xf57494[_0x3b3061(0xdc)](_0x2207e7);}),this[_0x5c960d(0x1b2)]['listen'](_0x539b12[_0x5c960d(0xf3)],_0x539b12[_0x5c960d(0xfb)],_0x539b12['backlog'],_0x581fbf)):_0x539b12['server']&&(this['_server']=_0x539b12['server']),this[_0x5c960d(0x1b2)]){const _0x2a5808=this[_0x5c960d(0x10f)][_0x5c960d(0x202)](this,_0x5c960d(0x114));this[_0x5c960d(0xb1)]=_0x3b1c31(this['_server'],{'listening':this[_0x5c960d(0x10f)][_0x5c960d(0x202)](this,_0x5c960d(0x176)),'error':this[_0x5c960d(0x10f)]['bind'](this,_0x5c960d(0xca)),'upgrade':(_0x439606,_0x39700f,_0x3f291b)=>{const _0xf483d9=_0x5c960d;this[_0xf483d9(0x10e)](_0x439606,_0x39700f,_0x3f291b,_0x2a5808);}});}_0x539b12[_0x5c960d(0x24f)]===!0x0&&(_0x539b12[_0x5c960d(0x24f)]={}),_0x539b12[_0x5c960d(0x18a)]&&(this['clients']=new Set(),this[_0x5c960d(0x1d5)]=!0x1),this[_0x5c960d(0x25c)]=_0x539b12,this[_0x5c960d(0x1a2)]=_0x2d3d96;}[_0x3b33f7(0x17c)](){const _0x157a9c=_0x3b33f7;if(this['options']['noServer'])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x157a9c(0x1b2)]?this[_0x157a9c(0x1b2)]['address']():null;}[_0x3b33f7(0xcf)](_0x8994c1){const _0x3b3a9d=_0x3b33f7;if(this[_0x3b3a9d(0x1a2)]===_0x5f08c6){_0x8994c1&&this['once'](_0x3b3a9d(0xcf),()=>{const _0x3891a9=_0x3b3a9d;_0x8994c1(new Error(_0x3891a9(0x19c)));}),process[_0x3b3a9d(0x1f5)](_0x434f29,this);return;}if(_0x8994c1&&this[_0x3b3a9d(0x1e4)](_0x3b3a9d(0xcf),_0x8994c1),this[_0x3b3a9d(0x1a2)]!==_0x4d0de3){if(this[_0x3b3a9d(0x1a2)]=_0x4d0de3,this[_0x3b3a9d(0x25c)]['noServer']||this['options'][_0x3b3a9d(0xee)])this[_0x3b3a9d(0x1b2)]&&(this[_0x3b3a9d(0xb1)](),this[_0x3b3a9d(0xb1)]=this['_server']=null),this[_0x3b3a9d(0xae)]?this[_0x3b3a9d(0xae)][_0x3b3a9d(0xe6)]?this[_0x3b3a9d(0x1d5)]=!0x0:process[_0x3b3a9d(0x1f5)](_0x434f29,this):process[_0x3b3a9d(0x1f5)](_0x434f29,this);else{const _0x16ec6b=this[_0x3b3a9d(0x1b2)];this[_0x3b3a9d(0xb1)](),this[_0x3b3a9d(0xb1)]=this['_server']=null,_0x16ec6b['close'](()=>{_0x434f29(this);});}}}[_0x3b33f7(0x24e)](_0x569ef4){const _0x235b35=_0x3b33f7;if(this[_0x235b35(0x25c)][_0x235b35(0x254)]){const _0x4da1eb=_0x569ef4['url'][_0x235b35(0xb8)]('?');if((_0x4da1eb!==-0x1?_0x569ef4[_0x235b35(0x1de)][_0x235b35(0xc3)](0x0,_0x4da1eb):_0x569ef4['url'])!==this['options'][_0x235b35(0x254)])return!0x1;}return!0x0;}[_0x3b33f7(0x10e)](_0x48c5eb,_0x2e583d,_0x2241d7,_0xa07ec3){const _0x2873b1=_0x3b33f7;_0x2e583d['on']('error',_0x5ab33b);const _0x201cf2=_0x48c5eb[_0x2873b1(0x227)][_0x2873b1(0x198)],_0x1378cf=_0x48c5eb[_0x2873b1(0x227)][_0x2873b1(0xea)],_0x1355fd=+_0x48c5eb['headers'][_0x2873b1(0x18f)];if(_0x48c5eb['method']!==_0x2873b1(0x197)){_0x227272(this,_0x48c5eb,_0x2e583d,0x195,_0x2873b1(0x1cd));return;}if(_0x1378cf===void 0x0||_0x1378cf[_0x2873b1(0x11f)]()!=='websocket'){_0x227272(this,_0x48c5eb,_0x2e583d,0x190,_0x2873b1(0x1ed));return;}if(_0x201cf2===void 0x0||!_0x4c5296[_0x2873b1(0x249)](_0x201cf2)){_0x227272(this,_0x48c5eb,_0x2e583d,0x190,_0x2873b1(0x142));return;}if(_0x1355fd!==0x8&&_0x1355fd!==0xd){_0x227272(this,_0x48c5eb,_0x2e583d,0x190,_0x2873b1(0x1d4));return;}if(!this[_0x2873b1(0x24e)](_0x48c5eb)){_0x45a077(_0x2e583d,0x190);return;}const _0x2dd27e=_0x48c5eb[_0x2873b1(0x227)][_0x2873b1(0xde)];let _0x4c7037=new Set();if(_0x2dd27e!==void 0x0)try{_0x4c7037=_0x1e4ed2[_0x2873b1(0x157)](_0x2dd27e);}catch{_0x227272(this,_0x48c5eb,_0x2e583d,0x190,_0x2873b1(0xdd));return;}const _0x2f8c5e=_0x48c5eb[_0x2873b1(0x227)]['sec-websocket-extensions'],_0x4e856a={};if(this['options'][_0x2873b1(0x24f)]&&_0x2f8c5e!==void 0x0){const _0x1bc275=new _0x1a84d5(this['options'][_0x2873b1(0x24f)],!0x0,this[_0x2873b1(0x25c)][_0x2873b1(0x99)]);try{const _0x112cde=_0x3d5883['parse'](_0x2f8c5e);_0x112cde[_0x1a84d5['extensionName']]&&(_0x1bc275[_0x2873b1(0x177)](_0x112cde[_0x1a84d5[_0x2873b1(0x104)]]),_0x4e856a[_0x1a84d5[_0x2873b1(0x104)]]=_0x1bc275);}catch{_0x227272(this,_0x48c5eb,_0x2e583d,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x2873b1(0x25c)]['verifyClient']){const _0x5affd4={'origin':_0x48c5eb['headers'][''+(_0x1355fd===0x8?_0x2873b1(0x24a):_0x2873b1(0xc6))],'secure':!!(_0x48c5eb['socket'][_0x2873b1(0xb5)]||_0x48c5eb['socket'][_0x2873b1(0x1ac)]),'req':_0x48c5eb};if(this[_0x2873b1(0x25c)][_0x2873b1(0xe2)][_0x2873b1(0x248)]===0x2){this[_0x2873b1(0x25c)][_0x2873b1(0xe2)](_0x5affd4,(_0x2e5191,_0x1b7311,_0x4e71f6,_0x2fa1b8)=>{if(!_0x2e5191)return _0x45a077(_0x2e583d,_0x1b7311||0x191,_0x4e71f6,_0x2fa1b8);this['completeUpgrade'](_0x4e856a,_0x201cf2,_0x4c7037,_0x48c5eb,_0x2e583d,_0x2241d7,_0xa07ec3);});return;}if(!this[_0x2873b1(0x25c)][_0x2873b1(0xe2)](_0x5affd4))return _0x45a077(_0x2e583d,0x191);}this[_0x2873b1(0x15c)](_0x4e856a,_0x201cf2,_0x4c7037,_0x48c5eb,_0x2e583d,_0x2241d7,_0xa07ec3);}[_0x3b33f7(0x15c)](_0x594b93,_0x38fe49,_0x2619e9,_0x148324,_0xa0b7ac,_0x3356b9,_0x19e42e){const _0x5f44a5=_0x3b33f7;if(!_0xa0b7ac['readable']||!_0xa0b7ac[_0x5f44a5(0x220)])return _0xa0b7ac['destroy']();if(_0xa0b7ac[_0x34566a])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x5f44a5(0x1a2)]>_0x2d3d96)return _0x45a077(_0xa0b7ac,0x1f7);const _0x50b336=['HTTP/1.1\x20101\x20Switching\x20Protocols','Upgrade:\x20websocket',_0x5f44a5(0x1ce),_0x5f44a5(0x158)+_0x1ac8e4(_0x5f44a5(0xc8))[_0x5f44a5(0x225)](_0x38fe49+_0x1eb07a)[_0x5f44a5(0x251)](_0x5f44a5(0x1e6))],_0x1ac430=new this[(_0x5f44a5(0x25c))][(_0x5f44a5(0x21e))](null,void 0x0,this[_0x5f44a5(0x25c)]);if(_0x2619e9[_0x5f44a5(0xe6)]){const _0x1b2939=this[_0x5f44a5(0x25c)][_0x5f44a5(0xad)]?this[_0x5f44a5(0x25c)][_0x5f44a5(0xad)](_0x2619e9,_0x148324):_0x2619e9[_0x5f44a5(0x23f)]()[_0x5f44a5(0x1ae)]()[_0x5f44a5(0x1e7)];_0x1b2939&&(_0x50b336['push'](_0x5f44a5(0x17d)+_0x1b2939),_0x1ac430[_0x5f44a5(0xce)]=_0x1b2939);}if(_0x594b93[_0x1a84d5[_0x5f44a5(0x104)]]){const _0x338895=_0x594b93[_0x1a84d5[_0x5f44a5(0x104)]][_0x5f44a5(0x149)],_0x42a918=_0x3d5883['format']({[_0x1a84d5[_0x5f44a5(0x104)]]:[_0x338895]});_0x50b336[_0x5f44a5(0x14a)]('Sec-WebSocket-Extensions:\x20'+_0x42a918),_0x1ac430[_0x5f44a5(0x218)]=_0x594b93;}this['emit'](_0x5f44a5(0x227),_0x50b336,_0x148324),_0xa0b7ac[_0x5f44a5(0x228)](_0x50b336[_0x5f44a5(0x259)]('\x0d\x0a')['join']('\x0d\x0a')),_0xa0b7ac['removeListener'](_0x5f44a5(0xca),_0x5ab33b),_0x1ac430[_0x5f44a5(0xf4)](_0xa0b7ac,_0x3356b9,{'allowSynchronousEvents':this['options'][_0x5f44a5(0x19d)],'maxPayload':this[_0x5f44a5(0x25c)][_0x5f44a5(0x99)],'skipUTF8Validation':this[_0x5f44a5(0x25c)][_0x5f44a5(0x183)]}),this[_0x5f44a5(0xae)]&&(this[_0x5f44a5(0xae)]['add'](_0x1ac430),_0x1ac430['on']('close',()=>{const _0x508bd5=_0x5f44a5;this[_0x508bd5(0xae)][_0x508bd5(0x1fc)](_0x1ac430),this[_0x508bd5(0x1d5)]&&!this[_0x508bd5(0xae)][_0x508bd5(0xe6)]&&process[_0x508bd5(0x1f5)](_0x434f29,this);})),_0x19e42e(_0x1ac430,_0x148324);}}Te=_0x3e6104;function _0x3b1c31(_0xc56894,_0xde0e4){const _0x166f82=_0x3b33f7;for(const _0x1dcf0c of Object[_0x166f82(0x1e1)](_0xde0e4))_0xc56894['on'](_0x1dcf0c,_0xde0e4[_0x1dcf0c]);return function(){const _0x1f4764=_0x166f82;for(const _0x4a4ca9 of Object[_0x1f4764(0x1e1)](_0xde0e4))_0xc56894[_0x1f4764(0x22f)](_0x4a4ca9,_0xde0e4[_0x4a4ca9]);};}function _0x434f29(_0x2ac5d3){const _0x44ed9d=_0x3b33f7;_0x2ac5d3[_0x44ed9d(0x1a2)]=_0x5f08c6,_0x2ac5d3[_0x44ed9d(0x10f)](_0x44ed9d(0xcf));}function _0x5ab33b(){const _0xfd89af=_0x3b33f7;this[_0xfd89af(0x13e)]();}function _0x45a077(_0x49fc14,_0x2f4c20,_0x44111b,_0x53b60a){const _0x1057f5=_0x3b33f7;_0x44111b=_0x44111b||_0x116916[_0x1057f5(0xf5)][_0x2f4c20],_0x53b60a={'Connection':'close','Content-Type':_0x1057f5(0x120),'Content-Length':Buffer[_0x1057f5(0xbe)](_0x44111b),..._0x53b60a},_0x49fc14[_0x1057f5(0x1e4)]('finish',_0x49fc14[_0x1057f5(0x13e)]),_0x49fc14['end']('HTTP/1.1\x20'+_0x2f4c20+'\x20'+_0x116916[_0x1057f5(0xf5)][_0x2f4c20]+'\x0d\x0a'+Object['keys'](_0x53b60a)[_0x1057f5(0x15a)](_0x168163=>_0x168163+':\x20'+_0x53b60a[_0x168163])[_0x1057f5(0x175)]('\x0d\x0a')+_0x1057f5(0x96)+_0x44111b);}function _0x227272(_0x4cda69,_0x3f929e,_0x2c3d0b,_0x44869a,_0x4d92a9){const _0x4a8f7d=_0x3b33f7;if(_0x4cda69[_0x4a8f7d(0xb3)](_0x4a8f7d(0xab))){const _0x1acace=new Error(_0x4d92a9);Error[_0x4a8f7d(0x1bd)](_0x1acace,_0x227272),_0x4cda69[_0x4a8f7d(0x10f)]('wsClientError',_0x1acace,_0x2c3d0b,_0x3f929e);}else _0x45a077(_0x2c3d0b,_0x44869a,_0x4d92a9);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x69155a,_0x28ef73,_0x1d7f7c,_0x4b9e29)=>{const _0x5bd8f9=_0xe858cf;for(var _0x2cd4fb=_0x4b9e29>0x1?void 0x0:_0x4b9e29?jt(_0x28ef73,_0x1d7f7c):_0x28ef73,_0x4d3344=_0x69155a[_0x5bd8f9(0x248)]-0x1,_0x57b1e4;_0x4d3344>=0x0;_0x4d3344--)(_0x57b1e4=_0x69155a[_0x4d3344])&&(_0x2cd4fb=_0x57b1e4(_0x2cd4fb)||_0x2cd4fb);return _0x2cd4fb;},qt=(_0x57c562,_0xcaf3c6)=>(_0x5c4e1f,_0x55bf02)=>_0xcaf3c6(_0x5c4e1f,_0x55bf02,_0x57c562);function _0x22b7(){const _0x2f064a=['pow','completeUpgrade','isPaused','pipe','send','zlibInflateOptions','registerHTTPInterceptor','forEach','statusCode','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_registerDependencies','set','kError','enqueue','split','serverMaxWindowBits','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','isArray','followRedirects','_decompress','getOwnPropertyDescriptor','dispose','freeze','websocket','RSV1\x20must\x20be\x20clear','WS_ERR_EXPECTED_MASK','join','listening','accept','call','defaultPort','WS_ERR_INVALID_CLOSE_CODE','protocolVersion','address','Sec-WebSocket-Protocol:\x20','type','readUInt32BE','_allowSynchronousEvents','cookie','_skipUTF8Validation','skipUTF8Validation','fragments','endEmitted','_httpService','binary','dispatch','then','clientTracking','default','resume','reason','Parameter\x20\x22','sec-websocket-version','_injector','_threshold','mask','target','1381266xzgAsS','_compress','@univerjs/network','GET','sec-websocket-key','Maximum\x20redirects\x20exceeded','Injector','WS_ERR_EXPECTED_FIN','The\x20server\x20is\x20not\x20running','allowSynchronousEvents','kAborted','FIN\x20must\x20be\x20set','text/plain','Blob','_state','CONNECTING','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','getMask','open','CLOSED','http:','fin','username','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','encrypted','setNoDelay','next','_originalSecure','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','find','_server','objectMode','Z_SYNC_FLUSH','_originalIpc','Invalid\x20Sec-WebSocket-Extensions\x20header','Origin','_generateMask','consume','Unexpected\x20character\x20at\x20index\x20','acceptAsServer','Unexpected\x20server\x20response:\x20','captureStackTrace','pause','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','createError','customHeaders','writeUInt16BE','_mask','create','ws+unix:','permessage-deflate','_closeMessage','authorization','isServer','collaboration-client-node.config','_isServer','_maskBuffer','Invalid\x20HTTP\x20method','Connection:\x20Upgrade','from','_loop','Opening\x20handshake\x20has\x20timed\x20out','Invalid\x20Sec-WebSocket-Accept\x20header','wss:','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_shouldEmitClose','Invalid\x20value\x20for\x20parameter\x20\x22','_read','getConfig','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','clientNoContextTakeover','Sec-WebSocket-Extensions','connect','conclude','url','WS_ERR_UNEXPECTED_MASK','construct','keys','140938swZwsN','_masked','once','nodebuffer','base64','value','ISnapshotServerService','protocol','prototype','errorEmitted','Cookie','Invalid\x20Upgrade\x20header','socketPath','reset','abort','kCode','noServer','compress','writeHead','nextTick','WS_ERR_UNEXPECTED_RSV_2_3','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','shift','unexpected-response','flush','WS_ERR_INVALID_OPCODE','delete','read','NodeCollaborationSocketService','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','string','_bufferedBytes','bind','listeners','byteOffset','_closeCode','_doCreateSocket','createConnection','_closeFrameReceived','startLoop','onerror','UniverCollaborationClientNodePlugin','cork','Max\x20payload\x20size\x20exceeded','_options','entries','_max_window_bits','crypto','dequeue','status-code','kDone','data','hasOwnProperty','concurrency','_extensions','destroyed','buffers','8002320yifUoT','_buffers','kListener','WebSocket','Unknown\x20parameter\x20\x22','writable','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','drain','apply','charCodeAt','update','haveLength','headers','write','has','startsWith','add','isValidUTF8','rsv1','removeEventListener','removeListener','catch','response','Server\x20sent\x20an\x20invalid\x20subprotocol','wasClean','createDeflateRaw','_originalHostOrSocketPath','_inflate','setConfig','_deflate','Invalid\x20URL:\x20','emitClose','normalizeParams','net','_totalPayloadLength','hostname','values','invalid\x20status\x20code\x20','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','stream','https:','client_no_context_takeover','_closeTimer','concurrencyLimit','password','length','test','sec-websocket-origin','_fragmented','defineProperty','_bufferedAmount','shouldHandle','perMessageDeflate','getInfo','digest','\x22:\x20','_payloadLength','path','servername','acceptAsClient','_opcode','_write','concat','events','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','options','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','\x0d\x0a\x0d\x0a','\x20(supported\x20versions:\x20','invalid\x20opcode\x20','maxPayload','isIP','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','kData','_redirects','maskBuffer','OPEN','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','generateMask','client_max_window_bits','sendFrame','finished','server_no_context_takeover','callback','kByteLength','The\x20URL\x20contains\x20a\x20fragment\x20identifier','search','message','wsClientError','kReason','handleProtocols','clients','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','7579292PEQFYg','_removeListeners','_messageLength','listenerCount','invalid\x20payload\x20length\x20','authorized','72zEKcNm','createSocket','indexOf','clientMaxWindowBits','addEventListener','extensions','serverNoContextTakeover','blob','byteLength','_final','onStarting','CLOSING','removeAllListeners','slice','pathname','kType','origin','request','sha1','_sender','error','finish','Sec-WebSocket-Origin','pending','_protocol','close','Basic\x20','share','autoPong','The\x20\x22','kWasClean','getPayloadLength64','frame','invalid\x20UTF-8\x20sequence','\x22\x20must\x20have\x20only\x20a\x20single\x20value','arraybuffer','_readableState','Z_DEFAULT_WINDOWBITS','end','Invalid\x20Sec-WebSocket-Protocol\x20header','sec-websocket-protocol','_autoPong','_closeFrameSent','cleanup','verifyClient','_req','constructor','arrayBuffer','size','2148605xEfZqX','_url','invalid\x20opcode\x200','upgrade','dataMessage','socket','Upgrade','server','UniverCollaborationClientPlugin','@univerjs-pro/collaboration-client','Server\x20sent\x20no\x20subprotocol','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','port','setSocket','STATUS_CODES','2691388gfEyMJ','readyState','threshold','WS_NO_UTF_8_VALIDATE','_fin','host','needDrain','finishRequest','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','auth','ILogService','File','handleEvent','species','extensionName','uncork','unmask','toStringTag','isInteger','Unexpected\x20end\x20of\x20input','_queue','toDisposable','pluginName','number','handleUpgrade','emit','_errored','readOnly','Unsupported\x20protocol\x20version:\x20','controlMessage','connection','_binaryType','_fragments','zlibDeflateOptions','allocUnsafe','sec-websocket-extensions','__esModule','http','_writableState','buffer','code','toLowerCase','text/html','_receiver','handshakeTimeout','bufferedAmount','alloc','_socket','toString','pong','registerDependencies','getBlobData','ping','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_readyState','decompress','warn','redirect','onopen','WS_ERR_INVALID_UTF8','Inject','zlib','ws:','_firstFragment','_errorEmitted','24yVNRey','client','jobs','Module','Observable','binaryType','exports','destroy','readUInt16BE','replace','server_max_window_bits','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','WS_ERR_UNEXPECTED_RSV_1','IConfigService','opcode','63699TfpGzO','@univerjs/core','_configService','params','push','_maxPayload','@univerjs-pro/collaboration','object','_compressed','kIsForOnEventAttribute','terminate','\x22\x20subprotocol\x20is\x20duplicated','function','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','getData','_paused','setTimeout','parse','Sec-WebSocket-Accept:\x20','timeout','map'];_0x22b7=function(){return _0x2f064a;};return _0x22b7();}let ke=class extends A['Disposable']{constructor(_0x159a6d){super(),this['_configService']=_0x159a6d;}[_0xe858cf(0xb7)](_0x4aa2e0){const _0x23ebaa=_0xe858cf;var _0x42e25b;const _0x48a605=(_0x42e25b=this[_0x23ebaa(0x148)][_0x23ebaa(0x1d8)](fe))==null?void 0x0:_0x42e25b['customHeaders'];try{const _0x25ec86=new $t(_0x4aa2e0,{'headers':{..._0x48a605}}),_0x193648=new A['DisposableCollection']();return{'URL':_0x4aa2e0,'close':(_0x559044,_0x167c05)=>{const _0x912f95=_0x23ebaa;_0x25ec86['close'](_0x559044,_0x167c05),_0x193648[_0x912f95(0x170)]();},'send':_0x3f923e=>{_0x25ec86['send'](_0x3f923e);},'open$':new V[(_0x23ebaa(0x13b))](_0x95db7f=>{const _0x117301=_0x23ebaa,_0x5c674f=_0x15c133=>_0x95db7f[_0x117301(0x1ae)](_0x15c133);_0x25ec86[_0x117301(0xba)](_0x117301(0x1a6),_0x5c674f),_0x193648[_0x117301(0x22b)](A[_0x117301(0x10b)](()=>_0x25ec86[_0x117301(0x22e)](_0x117301(0x1a6),_0x5c674f)));})[_0x23ebaa(0x15e)](V[_0x23ebaa(0xd1)]()),'close$':new V[(_0x23ebaa(0x13b))](_0x1644fd=>{const _0x12eccf=_0x23ebaa,_0x4f1825=_0x181485=>_0x1644fd[_0x12eccf(0x1ae)](_0x181485);_0x25ec86['addEventListener']('close',_0x4f1825),_0x193648[_0x12eccf(0x22b)](A[_0x12eccf(0x10b)](()=>_0x25ec86['removeEventListener'](_0x12eccf(0xcf),_0x4f1825)));})[_0x23ebaa(0x15e)](V[_0x23ebaa(0xd1)]()),'error$':new V['Observable'](_0x25e752=>{const _0x3560ed=_0x23ebaa,_0xe4eaf6=_0x341033=>_0x25e752[_0x3560ed(0x1ae)](_0x341033);_0x25ec86[_0x3560ed(0xba)](_0x3560ed(0xca),_0xe4eaf6),_0x193648[_0x3560ed(0x22b)](A[_0x3560ed(0x10b)](()=>_0x25ec86[_0x3560ed(0x22e)](_0x3560ed(0xca),_0xe4eaf6)));})[_0x23ebaa(0x15e)](V[_0x23ebaa(0xd1)]()),'message$':new V[(_0x23ebaa(0x13b))](_0x2efd33=>{const _0x133e6f=_0x23ebaa,_0x3ed61d=_0x2999df=>_0x2efd33[_0x133e6f(0x1ae)](_0x2999df);_0x25ec86[_0x133e6f(0xba)](_0x133e6f(0xaa),_0x3ed61d),_0x193648[_0x133e6f(0x22b)](A['toDisposable'](()=>_0x25ec86[_0x133e6f(0x22e)](_0x133e6f(0xaa),_0x3ed61d)));})[_0x23ebaa(0x15e)](V[_0x23ebaa(0xd1)]())};}catch(_0x5f03a0){return console[_0x23ebaa(0xca)](_0x5f03a0),null;}}};ke=Wt([qt(0x0,A[_0xe858cf(0x144)])],ke);var Gt=Object[_0xe858cf(0x24c)],Vt=Object[_0xe858cf(0x16f)],Ht=(_0x4f5efb,_0x482f23,_0x8cf50a)=>_0x482f23 in _0x4f5efb?Gt(_0x4f5efb,_0x482f23,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8cf50a}):_0x4f5efb[_0x482f23]=_0x8cf50a,zt=(_0x216cb2,_0x2a4588,_0x593423,_0x459bdd)=>{const _0x1a81fa=_0xe858cf;for(var _0xa36527=_0x459bdd>0x1?void 0x0:_0x459bdd?Vt(_0x2a4588,_0x593423):_0x2a4588,_0x39cc38=_0x216cb2[_0x1a81fa(0x248)]-0x1,_0x3a1701;_0x39cc38>=0x0;_0x39cc38--)(_0x3a1701=_0x216cb2[_0x39cc38])&&(_0xa36527=_0x3a1701(_0xa36527)||_0xa36527);return _0xa36527;},Ne=(_0x5884e5,_0x1d7c2a)=>(_0x42f12b,_0x518895)=>_0x1d7c2a(_0x42f12b,_0x518895,_0x5884e5),Yt=(_0x27b87f,_0x332de3,_0x3a474a)=>Ht(_0x27b87f,_0x332de3+'',_0x3a474a);exports[_0xe858cf(0x20b)]=class extends A['Plugin']{constructor(_0x3483a8=Ct,_0x2a2a3b,_0x508083,_0x104c6d){const _0x3cb316=_0xe858cf;_0x3483a8[_0x3cb316(0x1c1)]||_0x2a2a3b[_0x3cb316(0x12e)](_0x3cb316(0x153)),super(),this[_0x3cb316(0x148)]=_0x508083,this[_0x3cb316(0x190)]=_0x104c6d,this[_0x3cb316(0x148)][_0x3cb316(0x237)](fe,_0x3483a8);}[_0xe858cf(0xc0)](){const _0x4e21ed=_0xe858cf;this[_0x4e21ed(0x165)]();}[_0xe858cf(0x165)](){const _0x9ebde0=_0xe858cf;A[_0x9ebde0(0x128)](this[_0x9ebde0(0x190)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0xe858cf(0x20b)],_0xe858cf(0x10c),_0xe858cf(0x221)),exports['UniverCollaborationClientNodePlugin']=zt([A['DependentOn'](st[_0xe858cf(0xef)]),Ne(0x1,A[_0xe858cf(0x100)]),Ne(0x2,A[_0xe858cf(0x144)]),Ne(0x3,A[_0xe858cf(0x132)](A[_0xe858cf(0x19a)]))],exports[_0xe858cf(0x20b)]);var Kt=Object[_0xe858cf(0x16f)],Xt=(_0x547073,_0xbd4635,_0x1ff7f9,_0x123e55)=>{const _0x33a8ae=_0xe858cf;for(var _0x72b748=_0x123e55>0x1?void 0x0:_0x123e55?Kt(_0xbd4635,_0x1ff7f9):_0xbd4635,_0x4afadc=_0x547073[_0x33a8ae(0x248)]-0x1,_0x26692e;_0x4afadc>=0x0;_0x4afadc--)(_0x26692e=_0x547073[_0x4afadc])&&(_0x72b748=_0x26692e(_0x72b748)||_0x72b748);return _0x72b748;},ne=(_0x3a3ead,_0xcaa5c)=>(_0x5e6246,_0x5d8117)=>_0xcaa5c(_0x5e6246,_0x5d8117,_0x3a3ead);exports['NodeCollaborationSocketService']=class extends st['CollaborationSocketService']{constructor(_0x29763d,_0x2a4549,_0xc61eb7,_0x287682,_0x2c64c8){const _0x5199b3=_0xe858cf;super(_0x29763d,_0x2a4549,_0xc61eb7,_0x287682,_0x2c64c8);const _0x1cc5ef=this['_configService'][_0x5199b3(0x1d8)](fe);this[_0x5199b3(0x186)][_0x5199b3(0x161)]({'interceptor':(_0x2f8efa,_0x5a8e8d)=>{const _0x18bf00=_0x5199b3;var _0x360428;const _0x547a70=_0x2f8efa[_0x18bf00(0x227)];return(_0x360428=_0x1cc5ef==null?void 0x0:_0x1cc5ef[_0x18bf00(0x1c1)])!=null&&_0x360428[_0x18bf00(0x181)]&&_0x547a70[_0x18bf00(0x166)](_0x18bf00(0x1ec),_0x1cc5ef[_0x18bf00(0x1c1)][_0x18bf00(0x181)]),_0x5a8e8d(_0x2f8efa);}});}async[_0xe858cf(0xb7)](_0x43eb7c){const _0x2d23c5=_0xe858cf;return this[_0x2d23c5(0x206)](_0x43eb7c);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0xe858cf(0x132)](A[_0xe858cf(0x19a)])),ne(0x1,A[_0xe858cf(0x132)](it['HTTPService'])),ne(0x2,A[_0xe858cf(0x144)]),ne(0x3,A[_0xe858cf(0x100)]),ne(0x4,Ot[_0xe858cf(0x1e8)])],exports[_0xe858cf(0x1fe)]),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
|
|
1
|
+
'use strict';function _0x39eb(){const _0x584d97=['reset','isValidUTF8','allocUnsafe','WS_ERR_EXPECTED_MASK','sec-websocket-extensions','startLoop','WS_ERR_UNEXPECTED_MASK','ws+unix:','createServer','createDeflateRaw','entries','address','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','handleEvent','wss:','params','uncork','IConfigService','cookie','clientTracking','hostname','_autoPong','callback','Server\x20sent\x20an\x20invalid\x20subprotocol','onopen','CONNECTING','Maximum\x20redirects\x20exceeded','COLLABORATION_CLIENT_NODE_CONFIG_KEY','Sec-WebSocket-Origin','end','getInfo','bufferedAmount','getPayloadLength64','handleUpgrade','readyState','function','_isServer','_decompress','_threshold','getMask','maskBuffer','frame','server','wsClientError','autoPong','Sec-WebSocket-Accept:\x20','isArray','encrypted','isView','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','setHeader','_loop','stream','pong','update','_opcode','_protocol','env','_extensions','redirect','RSV1\x20must\x20be\x20clear','toString','extensionName','WebSocket','indexOf','response','readable','timeout','sec-websocket-key','kError','NodeCollaborationSocketService','clientNoContextTakeover','2425170lwnTeb','servername','DisposableCollection','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','finish','MASK\x20must\x20be\x20set','byteLength','clientMaxWindowBits','handshakeTimeout','protocol','type','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','nextTick','backlog','then','\x22\x20subprotocol\x20is\x20duplicated','HTTP/1.1\x20','createSocket','registerHTTPInterceptor','controlMessage','CLOSING','socketPath','_fragmented','kTarget','byteOffset','writeUIntBE','host','_writableState','listening','parse','constructor','_totalPayloadLength','kMessage','kListener','_write','dequeue','_paused','from','acceptAsClient','client_max_window_bits','pow','arrayBuffer','writeUInt16BE','has','binaryType','buffers','isPaused','getData','options','readOnly','createError','fin','number','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','listeners','open','_allowSynchronousEvents','includes','error','prototype','shouldHandle','_server','split','_bufferedBytes','captureStackTrace','enqueue','_compressed','_maskBuffer','share','Cookie','reason','dispose','username','@univerjs-pro/collaboration-client','events','base64','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','once','UniverCollaborationClientPlugin','_originalSecure','_readableState','getConfig','2487renXEH','Unknown\x20parameter\x20\x22','jobs','listenerCount','Observable','location','authorized','perMessageDeflate','sha1','sendFrame','OPEN','kCode','rsv1','toLowerCase','string','objectMode','normalizeParams','\x0d\x0a\x0d\x0a','clients','isBuffer','_httpService','pathname','Basic\x20','_closeTimer','origin','ws:','invalid\x20UTF-8\x20sequence','getPayloadLength16','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','offer','defineProperty','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','close','concat','test','_closeFrameSent','_shouldEmitClose','customHeaders','Invalid\x20WebSocket\x20frame:\x20','Unsupported\x20protocol\x20version:\x20','concurrency','Plugin','serverNoContextTakeover','addEventListener','9Pgzpqj','consume','WebSocket\x20is\x20not\x20open:\x20readyState\x20','__esModule','opcode','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','\x22\x20must\x20have\x20only\x20a\x20single\x20value','HTTPService','kType','_destroy','path','flush','text/html','kByteLength','WS_ERR_UNEXPECTED_RSV_2_3','species','isInteger','http:','@univerjs/network','errorEmitted','auth','replace','Server\x20sent\x20no\x20subprotocol','_doCreateSocket','Upgrade:\x20websocket','Upgrade','create','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','Unexpected\x20server\x20response:\x20','_url','buffer','search','request','completeUpgrade','_queue','_socket','charCodeAt','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','needDrain','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','@univerjs/core','size','_receiver','extensions','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','threshold','rxjs','The\x20\x22','_sender','_bufferedAmount','allowSynchronousEvents','send','createConnection','protocolVersion','unmask','Unexpected\x20end\x20of\x20input','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','server_no_context_takeover','destroyed','Invalid\x20Upgrade\x20header','setNoDelay','zlibDeflateOptions','values','net','set','crypto','kAborted','wasClean','url','authorization','hasOwnProperty','835222hjmmZE','total-length','code','length','digest','createInflateRaw','websocket','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','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','serverMaxWindowBits','_mask','cork','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','decompress','HTTP/1.1\x20101\x20Switching\x20Protocols','apply','GET','headers','Z_DEFAULT_WINDOWBITS','_buffers','terminate','blob','Inject','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','isServer','pending','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_generateMask','toStringTag','File','_firstFragment','getBlobData','_inflate','removeEventListener','finished','Disposable','Sec-WebSocket-Extensions:\x20','fragments','http','cleanup','WS_ERR_INVALID_OPCODE','readUInt16BE','exports','Unexpected\x20character\x20at\x20index\x20','bind','data','upgrade','connect','password','_removeListeners','Invalid\x20URL:\x20','Blob','object','setSocket','_readyState','maxRedirects','Invalid\x20value\x20for\x20parameter\x20\x22','endEmitted','emit','kReason','_closeFrameReceived','binary','call','Invalid\x20HTTP\x20method','UniverCollaborationClientNodePlugin','destroy','map','getOwnPropertyDescriptor','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','arraybuffer','message','2988710YOZbbp','_redirects','The\x20server\x20is\x20not\x20running','href','_payloadLength','accept','STATUS_CODES','The\x20URL\x27s\x20pathname\x20is\x20empty','Module','\x22:\x20','emitClose','isIP','Invalid\x20Sec-WebSocket-Accept\x20header','ILogService','forEach','_originalHostOrSocketPath','WS_ERR_UNEXPECTED_RSV_1','_injector','handleProtocols','11899321OURWbi','pipe','ping','default','readUInt32BE','_fin','_req','permessage-deflate','_messageLength','abort','_closeCode','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','keys','compress','removeListener','generateMask','pluginName','dispatch','setTimeout','conclude','_maxPayload','join','_options','_deflate','next','WS_NO_BUFFER_UTIL','method','port','_configService','push','skipUTF8Validation','onerror','6025440jIxEjg','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_masked','client_no_context_takeover','WS_ERR_INVALID_UTF8','kData','FIN\x20must\x20be\x20set','onclose','invalid\x20opcode\x200','resume','shift','drain','_originalIpc','verifyClient','mask','_errorEmitted','status-code','alloc','nodebuffer','client','Parameter\x20\x22','kIsForOnEventAttribute','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','slice','_errored','Connection:\x20Upgrade','Sec-WebSocket-Extensions','concurrencyLimit','zlib','Max\x20payload\x20size\x20exceeded','_closeMessage','invalid\x20status\x20code\x20','pause','setConfig','socket','CLOSED','haveLength','maxPayload','statusCode','Injector','writeHead','toDisposable','acceptAsServer','connection','_state','Invalid\x20Sec-WebSocket-Protocol\x20header','dataMessage','\x20(supported\x20versions:\x20','@univerjs-pro/collaboration','https','write','invalid\x20opcode\x20','_no_context_takeover','_binaryType','_fragments','noServer','3464LJWKMF','add','_final','2947528cIDWSw','sec-websocket-protocol','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_compress','freeze','_max_window_bits','Origin','_skipUTF8Validation','WS_NO_UTF_8_VALIDATE','sec-websocket-accept','defaultPort','kRun','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','server_max_window_bits'];_0x39eb=function(){return _0x584d97;};return _0x39eb();}const _0x5beffb=_0x3013;(function(_0x318825,_0x15aa96){const _0x553042=_0x3013,_0x21f54f=_0x318825();while(!![]){try{const _0x289e0f=-parseInt(_0x553042(0x357))/0x1+parseInt(_0x553042(0x39f))/0x2+parseInt(_0x553042(0x2e4))/0x3*(parseInt(_0x553042(0x239))/0x4)+parseInt(_0x553042(0x201))/0x5+parseInt(_0x553042(0x292))/0x6+-parseInt(_0x553042(0x1e1))/0x7+parseInt(_0x553042(0x23c))/0x8*(-parseInt(_0x553042(0x310))/0x9);if(_0x289e0f===_0x15aa96)break;else _0x21f54f['push'](_0x21f54f['shift']());}catch(_0x2c941d){_0x21f54f['push'](_0x21f54f['shift']());}}}(_0x39eb,0xe01e2));Object['defineProperty'](exports,Symbol[_0x5beffb(0x374)],{'value':_0x5beffb(0x3a7)});const st=require(_0x5beffb(0x2db)),A=require(_0x5beffb(0x338)),it=require(_0x5beffb(0x322)),V=require(_0x5beffb(0x33e)),nt=require(_0x5beffb(0x2dc)),vt=require(_0x5beffb(0x232)),ot=require(_0x5beffb(0x37e)),St=require(_0x5beffb(0x34f)),Et=require('tls'),Le=require(_0x5beffb(0x351)),oe=require(_0x5beffb(0x27e)),xt=require('url'),bt=require(_0x5beffb(0x21d)),wt=require(_0x5beffb(0x32e)),Ot=require(_0x5beffb(0x231)),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x4abcff){const _0x5a5328=_0x5beffb;return _0x4abcff&&_0x4abcff[_0x5a5328(0x313)]&&Object[_0x5a5328(0x2cd)][_0x5a5328(0x356)]['call'](_0x4abcff,_0x5a5328(0x1e4))?_0x4abcff['default']:_0x4abcff;}function at(_0xc5e176){const _0x3f7cc0=_0x5beffb;if(Object[_0x3f7cc0(0x2cd)]['hasOwnProperty']['call'](_0xc5e176,_0x3f7cc0(0x313)))return _0xc5e176;var _0x32e40e=_0xc5e176['default'];if(typeof _0x32e40e=='function'){var _0x36d05e=function _0x3e6675(){const _0x2bea5c=_0x3f7cc0;return this instanceof _0x3e6675?Reflect['construct'](_0x32e40e,arguments,this[_0x2bea5c(0x2b0)]):_0x32e40e[_0x2bea5c(0x366)](this,arguments);};_0x36d05e[_0x3f7cc0(0x2cd)]=_0x32e40e[_0x3f7cc0(0x2cd)];}else _0x36d05e={};return Object['defineProperty'](_0x36d05e,_0x3f7cc0(0x313),{'value':!0x0}),Object[_0x3f7cc0(0x1ed)](_0xc5e176)[_0x3f7cc0(0x1dc)](function(_0x523200){const _0x58c760=_0x3f7cc0;var _0x206913=Object[_0x58c760(0x39b)](_0xc5e176,_0x523200);Object[_0x58c760(0x302)](_0x36d05e,_0x523200,_0x206913['get']?_0x206913:{'enumerable':!0x0,'get':function(){return _0xc5e176[_0x523200];}});}),_0x36d05e;}var se={'exports':{}},ge,Ge;function H(){const _0x4689b1=_0x5beffb;if(Ge)return ge;Ge=0x1;const _0x1457cc=[_0x4689b1(0x213),_0x4689b1(0x39d),_0x4689b1(0x37d)],_0x436e14=typeof Blob<'u';return _0x436e14&&_0x1457cc[_0x4689b1(0x1fe)](_0x4689b1(0x36c)),ge={'BINARY_TYPES':_0x1457cc,'EMPTY_BUFFER':Buffer[_0x4689b1(0x212)](0x0),'GUID':_0x4689b1(0x32b),'hasBlob':_0x436e14,'kForOnEventAttribute':Symbol(_0x4689b1(0x216)),'kListener':Symbol(_0x4689b1(0x2b3)),'kStatusCode':Symbol(_0x4689b1(0x211)),'kWebSocket':Symbol(_0x4689b1(0x35d)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x5beffb(0x240)](Object[_0x5beffb(0x302)]({'__proto__':null,'default':Nt},Symbol[_0x5beffb(0x374)],{'value':_0x5beffb(0x3a7)})),Lt=at(kt);var Ve;function ce(){const _0x3c0b21=_0x5beffb;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x3c6b00}=H(),_0x1c62a6=Buffer[Symbol[_0x3c0b21(0x31f)]];function _0x98d49d(_0x1bbce2,_0xf229a7){const _0x383844=_0x3c0b21;if(_0x1bbce2[_0x383844(0x35a)]===0x0)return _0x3c6b00;if(_0x1bbce2['length']===0x1)return _0x1bbce2[0x0];const _0x20526f=Buffer[_0x383844(0x24c)](_0xf229a7);let _0x415ad2=0x0;for(let _0x4ff75d=0x0;_0x4ff75d<_0x1bbce2[_0x383844(0x35a)];_0x4ff75d++){const _0x2b63b5=_0x1bbce2[_0x4ff75d];_0x20526f[_0x383844(0x350)](_0x2b63b5,_0x415ad2),_0x415ad2+=_0x2b63b5[_0x383844(0x35a)];}return _0x415ad2<_0xf229a7?new _0x1c62a6(_0x20526f[_0x383844(0x32e)],_0x20526f['byteOffset'],_0x415ad2):_0x20526f;}function _0x34347a(_0x2e0dc3,_0x3b99ad,_0x4f8552,_0x36d607,_0x16a87b){for(let _0x2b465e=0x0;_0x2b465e<_0x16a87b;_0x2b465e++)_0x4f8552[_0x36d607+_0x2b465e]=_0x2e0dc3[_0x2b465e]^_0x3b99ad[_0x2b465e&0x3];}function _0x2ccb2c(_0x15fc3a,_0x5e5ef1){for(let _0x3b2a30=0x0;_0x3b2a30<_0x15fc3a['length'];_0x3b2a30++)_0x15fc3a[_0x3b2a30]^=_0x5e5ef1[_0x3b2a30&0x3];}function _0xe7be1e(_0x3ccd6c){const _0x4c2b93=_0x3c0b21;return _0x3ccd6c[_0x4c2b93(0x35a)]===_0x3ccd6c[_0x4c2b93(0x32e)][_0x4c2b93(0x298)]?_0x3ccd6c['buffer']:_0x3ccd6c['buffer'][_0x4c2b93(0x218)](_0x3ccd6c[_0x4c2b93(0x2aa)],_0x3ccd6c[_0x4c2b93(0x2aa)]+_0x3ccd6c[_0x4c2b93(0x35a)]);}function _0x307f90(_0x55126c){const _0xfbbdfd=_0x3c0b21;if(_0x307f90['readOnly']=!0x0,Buffer[_0xfbbdfd(0x2f7)](_0x55126c))return _0x55126c;let _0x288cac;return _0x55126c instanceof ArrayBuffer?_0x288cac=new _0x1c62a6(_0x55126c):ArrayBuffer[_0xfbbdfd(0x27a)](_0x55126c)?_0x288cac=new _0x1c62a6(_0x55126c[_0xfbbdfd(0x32e)],_0x55126c[_0xfbbdfd(0x2aa)],_0x55126c[_0xfbbdfd(0x298)]):(_0x288cac=Buffer[_0xfbbdfd(0x2b7)](_0x55126c),_0x307f90[_0xfbbdfd(0x2c3)]=!0x1),_0x288cac;}if(se['exports']={'concat':_0x98d49d,'mask':_0x34347a,'toArrayBuffer':_0xe7be1e,'toBuffer':_0x307f90,'unmask':_0x2ccb2c},!process[_0x3c0b21(0x283)][_0x3c0b21(0x1fa)])try{const _0x5b291c=Lt;se[_0x3c0b21(0x382)][_0x3c0b21(0x20f)]=function(_0xbba1e2,_0x40c6d7,_0x47464a,_0x21059c,_0x1bd018){const _0x40c4e9=_0x3c0b21;_0x1bd018<0x30?_0x34347a(_0xbba1e2,_0x40c6d7,_0x47464a,_0x21059c,_0x1bd018):_0x5b291c[_0x40c4e9(0x20f)](_0xbba1e2,_0x40c6d7,_0x47464a,_0x21059c,_0x1bd018);},se[_0x3c0b21(0x382)][_0x3c0b21(0x346)]=function(_0x22d527,_0x2417ee){const _0x1e0a2b=_0x3c0b21;_0x22d527[_0x1e0a2b(0x35a)]<0x20?_0x2ccb2c(_0x22d527,_0x2417ee):_0x5b291c['unmask'](_0x22d527,_0x2417ee);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x2b9b8f=_0x5beffb;if(He)return ye;He=0x1;const _0x55b5c3=Symbol('kDone'),_0x443d81=Symbol(_0x2b9b8f(0x247));class _0x2bc205{constructor(_0x56e66){const _0x1d4dd5=_0x2b9b8f;this[_0x55b5c3]=()=>{const _0x2d0fee=_0x3013;this[_0x2d0fee(0x370)]--,this[_0x443d81]();},this[_0x1d4dd5(0x30c)]=_0x56e66||0x1/0x0,this[_0x1d4dd5(0x2e6)]=[],this[_0x1d4dd5(0x370)]=0x0;}[_0x2b9b8f(0x23a)](_0x5a2686){const _0x21708d=_0x2b9b8f;this[_0x21708d(0x2e6)]['push'](_0x5a2686),this[_0x443d81]();}[_0x443d81](){const _0x7e5e43=_0x2b9b8f;if(this['pending']!==this['concurrency']&&this['jobs'][_0x7e5e43(0x35a)]){const _0x4f9a05=this[_0x7e5e43(0x2e6)]['shift']();this[_0x7e5e43(0x370)]++,_0x4f9a05(this[_0x55b5c3]);}}}return ye=_0x2bc205,ye;}var ve,ze;function he(){const _0x8986ca=_0x5beffb;if(ze)return ve;ze=0x1;const _0x2c6620=bt,_0x47d445=ce(),_0x52750c=Pt(),{kStatusCode:_0x5f4ae4}=H(),_0x5a3699=Buffer[Symbol[_0x8986ca(0x31f)]],_0x821b3b=Buffer[_0x8986ca(0x2b7)]([0x0,0x0,0xff,0xff]),_0x1de7b5=Symbol(_0x8986ca(0x1e8)),_0x4616d8=Symbol(_0x8986ca(0x358)),_0x5dc48f=Symbol(_0x8986ca(0x260)),_0x40693f=Symbol(_0x8986ca(0x2bf)),_0x544592=Symbol(_0x8986ca(0x2cc));let _0x466769;class _0x220cdb{constructor(_0x5df980,_0x54162d,_0x37228d){const _0x37e5b9=_0x8986ca;if(this['_maxPayload']=_0x37228d|0x0,this[_0x37e5b9(0x1f7)]=_0x5df980||{},this[_0x37e5b9(0x270)]=this[_0x37e5b9(0x1f7)][_0x37e5b9(0x33d)]!==void 0x0?this['_options'][_0x37e5b9(0x33d)]:0x400,this[_0x37e5b9(0x26e)]=!!_0x54162d,this['_deflate']=null,this[_0x37e5b9(0x378)]=null,this[_0x37e5b9(0x259)]=null,!_0x466769){const _0x33eb74=this[_0x37e5b9(0x1f7)][_0x37e5b9(0x21c)]!==void 0x0?this['_options'][_0x37e5b9(0x21c)]:0xa;_0x466769=new _0x52750c(_0x33eb74);}}static get[_0x8986ca(0x288)](){return'permessage-deflate';}[_0x8986ca(0x301)](){const _0x1ed69d=_0x8986ca,_0x32f5b3={};return this['_options'][_0x1ed69d(0x30e)]&&(_0x32f5b3[_0x1ed69d(0x349)]=!0x0),this[_0x1ed69d(0x1f7)][_0x1ed69d(0x291)]&&(_0x32f5b3[_0x1ed69d(0x204)]=!0x0),this[_0x1ed69d(0x1f7)][_0x1ed69d(0x360)]&&(_0x32f5b3['server_max_window_bits']=this['_options'][_0x1ed69d(0x360)]),this[_0x1ed69d(0x1f7)][_0x1ed69d(0x299)]?_0x32f5b3[_0x1ed69d(0x2b9)]=this[_0x1ed69d(0x1f7)][_0x1ed69d(0x299)]:this[_0x1ed69d(0x1f7)]['clientMaxWindowBits']==null&&(_0x32f5b3['client_max_window_bits']=!0x0),_0x32f5b3;}[_0x8986ca(0x3a4)](_0x17904f){const _0x1829d2=_0x8986ca;return _0x17904f=this[_0x1829d2(0x2f4)](_0x17904f),this[_0x1829d2(0x259)]=this[_0x1829d2(0x26e)]?this[_0x1829d2(0x22b)](_0x17904f):this[_0x1829d2(0x2b8)](_0x17904f),this[_0x1829d2(0x259)];}[_0x8986ca(0x37f)](){const _0x16f2da=_0x8986ca;if(this[_0x16f2da(0x378)]&&(this[_0x16f2da(0x378)]['close'](),this[_0x16f2da(0x378)]=null),this['_deflate']){const _0xfc6aa9=this[_0x16f2da(0x1f8)][_0x5dc48f];this[_0x16f2da(0x1f8)]['close'](),this[_0x16f2da(0x1f8)]=null,_0xfc6aa9&&_0xfc6aa9(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}['acceptAsServer'](_0x19b194){const _0x2cb802=_0x8986ca,_0x8b3994=this[_0x2cb802(0x1f7)],_0x282dd7=_0x19b194['find'](_0x12fd97=>!(_0x8b3994[_0x2cb802(0x30e)]===!0x1&&_0x12fd97[_0x2cb802(0x349)]||_0x12fd97[_0x2cb802(0x249)]&&(_0x8b3994[_0x2cb802(0x360)]===!0x1||typeof _0x8b3994['serverMaxWindowBits']==_0x2cb802(0x2c6)&&_0x8b3994['serverMaxWindowBits']>_0x12fd97['server_max_window_bits'])||typeof _0x8b3994[_0x2cb802(0x299)]==_0x2cb802(0x2c6)&&!_0x12fd97[_0x2cb802(0x2b9)]));if(!_0x282dd7)throw new Error(_0x2cb802(0x39c));return _0x8b3994[_0x2cb802(0x30e)]&&(_0x282dd7[_0x2cb802(0x349)]=!0x0),_0x8b3994[_0x2cb802(0x291)]&&(_0x282dd7[_0x2cb802(0x204)]=!0x0),typeof _0x8b3994['serverMaxWindowBits']==_0x2cb802(0x2c6)&&(_0x282dd7[_0x2cb802(0x249)]=_0x8b3994[_0x2cb802(0x360)]),typeof _0x8b3994['clientMaxWindowBits']=='number'?_0x282dd7['client_max_window_bits']=_0x8b3994[_0x2cb802(0x299)]:(_0x282dd7['client_max_window_bits']===!0x0||_0x8b3994[_0x2cb802(0x299)]===!0x1)&&delete _0x282dd7[_0x2cb802(0x2b9)],_0x282dd7;}[_0x8986ca(0x2b8)](_0x1c5b8a){const _0x242c65=_0x8986ca,_0x306285=_0x1c5b8a[0x0];if(this[_0x242c65(0x1f7)]['clientNoContextTakeover']===!0x1&&_0x306285[_0x242c65(0x204)])throw new Error(_0x242c65(0x23e));if(!_0x306285[_0x242c65(0x2b9)])typeof this[_0x242c65(0x1f7)][_0x242c65(0x299)]==_0x242c65(0x2c6)&&(_0x306285[_0x242c65(0x2b9)]=this[_0x242c65(0x1f7)][_0x242c65(0x299)]);else{if(this[_0x242c65(0x1f7)]['clientMaxWindowBits']===!0x1||typeof this[_0x242c65(0x1f7)]['clientMaxWindowBits']=='number'&&_0x306285['client_max_window_bits']>this[_0x242c65(0x1f7)][_0x242c65(0x299)])throw new Error(_0x242c65(0x337));}return _0x306285;}['normalizeParams'](_0x558b7a){return _0x558b7a['forEach'](_0x2e3729=>{const _0x470484=_0x3013;Object[_0x470484(0x1ed)](_0x2e3729)[_0x470484(0x1dc)](_0x249d02=>{const _0x332229=_0x470484;let _0x1603dd=_0x2e3729[_0x249d02];if(_0x1603dd[_0x332229(0x35a)]>0x1)throw new Error(_0x332229(0x215)+_0x249d02+_0x332229(0x316));if(_0x1603dd=_0x1603dd[0x0],_0x249d02==='client_max_window_bits'){if(_0x1603dd!==!0x0){const _0x2d5e14=+_0x1603dd;if(!Number[_0x332229(0x320)](_0x2d5e14)||_0x2d5e14<0x8||_0x2d5e14>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x249d02+'\x22:\x20'+_0x1603dd);_0x1603dd=_0x2d5e14;}else{if(!this[_0x332229(0x26e)])throw new TypeError(_0x332229(0x390)+_0x249d02+_0x332229(0x3a8)+_0x1603dd);}}else{if(_0x249d02===_0x332229(0x249)){const _0x4e5781=+_0x1603dd;if(!Number[_0x332229(0x320)](_0x4e5781)||_0x4e5781<0x8||_0x4e5781>0xf)throw new TypeError(_0x332229(0x390)+_0x249d02+_0x332229(0x3a8)+_0x1603dd);_0x1603dd=_0x4e5781;}else{if(_0x249d02===_0x332229(0x204)||_0x249d02===_0x332229(0x349)){if(_0x1603dd!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x249d02+_0x332229(0x3a8)+_0x1603dd);}else throw new Error(_0x332229(0x2e5)+_0x249d02+'\x22');}}_0x2e3729[_0x249d02]=_0x1603dd;});}),_0x558b7a;}['decompress'](_0x451595,_0x14c09a,_0x62ba3a){const _0x2b5fb9=_0x8986ca;_0x466769[_0x2b5fb9(0x23a)](_0x4c8a1e=>{const _0x3cbf42=_0x2b5fb9;this[_0x3cbf42(0x26f)](_0x451595,_0x14c09a,(_0x2604ab,_0x13ca1f)=>{_0x4c8a1e(),_0x62ba3a(_0x2604ab,_0x13ca1f);});});}[_0x8986ca(0x1ee)](_0x5cd56c,_0x26a7d5,_0x21c0a4){const _0x580388=_0x8986ca;_0x466769[_0x580388(0x23a)](_0x1ee41f=>{const _0x21b53c=_0x580388;this[_0x21b53c(0x23f)](_0x5cd56c,_0x26a7d5,(_0x12d02b,_0x1582fe)=>{_0x1ee41f(),_0x21c0a4(_0x12d02b,_0x1582fe);});});}[_0x8986ca(0x26f)](_0x3c11a7,_0x4456bb,_0x29b718){const _0x1b4985=_0x8986ca,_0x519ceb=this[_0x1b4985(0x26e)]?_0x1b4985(0x214):_0x1b4985(0x274);if(!this['_inflate']){const _0x222d01=_0x519ceb+_0x1b4985(0x241),_0x5cca4e=typeof this[_0x1b4985(0x259)][_0x222d01]!=_0x1b4985(0x2c6)?_0x2c6620[_0x1b4985(0x369)]:this[_0x1b4985(0x259)][_0x222d01];this[_0x1b4985(0x378)]=_0x2c6620[_0x1b4985(0x35c)]({...this[_0x1b4985(0x1f7)]['zlibInflateOptions'],'windowBits':_0x5cca4e}),this[_0x1b4985(0x378)][_0x1de7b5]=this,this['_inflate'][_0x4616d8]=0x0,this[_0x1b4985(0x378)][_0x40693f]=[],this[_0x1b4985(0x378)]['on']('error',_0xccc267),this[_0x1b4985(0x378)]['on'](_0x1b4985(0x385),_0x4896ff);}this['_inflate'][_0x5dc48f]=_0x29b718,this[_0x1b4985(0x378)][_0x1b4985(0x233)](_0x3c11a7),_0x4456bb&&this[_0x1b4985(0x378)]['write'](_0x821b3b),this[_0x1b4985(0x378)][_0x1b4985(0x31b)](()=>{const _0x1b0c45=_0x1b4985,_0x541aa4=this[_0x1b0c45(0x378)][_0x544592];if(_0x541aa4){this['_inflate']['close'](),this[_0x1b0c45(0x378)]=null,_0x29b718(_0x541aa4);return;}const _0x3bb9aa=_0x47d445[_0x1b0c45(0x305)](this['_inflate'][_0x40693f],this[_0x1b0c45(0x378)][_0x4616d8]);this[_0x1b0c45(0x378)][_0x1b0c45(0x2e2)][_0x1b0c45(0x391)]?(this[_0x1b0c45(0x378)]['close'](),this[_0x1b0c45(0x378)]=null):(this[_0x1b0c45(0x378)][_0x4616d8]=0x0,this[_0x1b0c45(0x378)][_0x40693f]=[],_0x4456bb&&this[_0x1b0c45(0x259)][_0x519ceb+_0x1b0c45(0x235)]&&this[_0x1b0c45(0x378)]['reset']()),_0x29b718(null,_0x3bb9aa);});}[_0x8986ca(0x23f)](_0x20fc33,_0x56a941,_0x5ab9ff){const _0x3b1bcd=_0x8986ca,_0x12f172=this[_0x3b1bcd(0x26e)]?_0x3b1bcd(0x274):_0x3b1bcd(0x214);if(!this[_0x3b1bcd(0x1f8)]){const _0x59c69c=_0x12f172+_0x3b1bcd(0x241),_0x53e0a1=typeof this[_0x3b1bcd(0x259)][_0x59c69c]!='number'?_0x2c6620[_0x3b1bcd(0x369)]:this[_0x3b1bcd(0x259)][_0x59c69c];this['_deflate']=_0x2c6620[_0x3b1bcd(0x253)]({...this[_0x3b1bcd(0x1f7)][_0x3b1bcd(0x34d)],'windowBits':_0x53e0a1}),this[_0x3b1bcd(0x1f8)][_0x4616d8]=0x0,this[_0x3b1bcd(0x1f8)][_0x40693f]=[],this['_deflate']['on'](_0x3b1bcd(0x385),_0x140852);}this[_0x3b1bcd(0x1f8)][_0x5dc48f]=_0x5ab9ff,this[_0x3b1bcd(0x1f8)][_0x3b1bcd(0x233)](_0x20fc33),this[_0x3b1bcd(0x1f8)]['flush'](_0x2c6620['Z_SYNC_FLUSH'],()=>{const _0x531e88=_0x3b1bcd;if(!this[_0x531e88(0x1f8)])return;let _0x1fdfdb=_0x47d445[_0x531e88(0x305)](this[_0x531e88(0x1f8)][_0x40693f],this[_0x531e88(0x1f8)][_0x4616d8]);_0x56a941&&(_0x1fdfdb=new _0x5a3699(_0x1fdfdb[_0x531e88(0x32e)],_0x1fdfdb['byteOffset'],_0x1fdfdb[_0x531e88(0x35a)]-0x4)),this['_deflate'][_0x5dc48f]=null,this[_0x531e88(0x1f8)][_0x4616d8]=0x0,this[_0x531e88(0x1f8)][_0x40693f]=[],_0x56a941&&this[_0x531e88(0x259)][_0x12f172+_0x531e88(0x235)]&&this[_0x531e88(0x1f8)][_0x531e88(0x24a)](),_0x5ab9ff(null,_0x1fdfdb);});}}ve=_0x220cdb;function _0x140852(_0x1a5c63){this[_0x40693f]['push'](_0x1a5c63),this[_0x4616d8]+=_0x1a5c63['length'];}function _0x4896ff(_0x82ec6c){const _0x53927b=_0x8986ca;if(this[_0x4616d8]+=_0x82ec6c[_0x53927b(0x35a)],this[_0x1de7b5][_0x53927b(0x1f5)]<0x1||this[_0x4616d8]<=this[_0x1de7b5][_0x53927b(0x1f5)]){this[_0x40693f]['push'](_0x82ec6c);return;}this[_0x544592]=new RangeError(_0x53927b(0x21e)),this[_0x544592][_0x53927b(0x359)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x544592][_0x5f4ae4]=0x3f1,this[_0x53927b(0x1ef)]('data',_0x4896ff),this[_0x53927b(0x24a)]();}function _0xccc267(_0x469685){const _0x47bdec=_0x8986ca;this[_0x1de7b5][_0x47bdec(0x378)]=null,_0x469685[_0x5f4ae4]=0x3ef,this[_0x5dc48f](_0x469685);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x5beffb(0x240)](Object[_0x5beffb(0x302)]({'__proto__':null,'default':Dt},Symbol[_0x5beffb(0x374)],{'value':_0x5beffb(0x3a7)})),Bt=at(Rt);var Ye;function ae(){const _0x59d066=_0x5beffb;if(Ye)return ie[_0x59d066(0x382)];Ye=0x1;const {isUtf8:_0xbb16ae}=wt,{hasBlob:_0x3f26a4}=H(),_0x54b3f8=[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 _0x4fae68(_0x3ec378){return _0x3ec378>=0x3e8&&_0x3ec378<=0x3f6&&_0x3ec378!==0x3ec&&_0x3ec378!==0x3ed&&_0x3ec378!==0x3ee||_0x3ec378>=0xbb8&&_0x3ec378<=0x1387;}function _0x475154(_0x53dc74){const _0x47e195=_0x59d066,_0x1fcccb=_0x53dc74[_0x47e195(0x35a)];let _0xeb5c51=0x0;for(;_0xeb5c51<_0x1fcccb;)if((_0x53dc74[_0xeb5c51]&0x80)===0x0)_0xeb5c51++;else{if((_0x53dc74[_0xeb5c51]&0xe0)===0xc0){if(_0xeb5c51+0x1===_0x1fcccb||(_0x53dc74[_0xeb5c51+0x1]&0xc0)!==0x80||(_0x53dc74[_0xeb5c51]&0xfe)===0xc0)return!0x1;_0xeb5c51+=0x2;}else{if((_0x53dc74[_0xeb5c51]&0xf0)===0xe0){if(_0xeb5c51+0x2>=_0x1fcccb||(_0x53dc74[_0xeb5c51+0x1]&0xc0)!==0x80||(_0x53dc74[_0xeb5c51+0x2]&0xc0)!==0x80||_0x53dc74[_0xeb5c51]===0xe0&&(_0x53dc74[_0xeb5c51+0x1]&0xe0)===0x80||_0x53dc74[_0xeb5c51]===0xed&&(_0x53dc74[_0xeb5c51+0x1]&0xe0)===0xa0)return!0x1;_0xeb5c51+=0x3;}else{if((_0x53dc74[_0xeb5c51]&0xf8)===0xf0){if(_0xeb5c51+0x3>=_0x1fcccb||(_0x53dc74[_0xeb5c51+0x1]&0xc0)!==0x80||(_0x53dc74[_0xeb5c51+0x2]&0xc0)!==0x80||(_0x53dc74[_0xeb5c51+0x3]&0xc0)!==0x80||_0x53dc74[_0xeb5c51]===0xf0&&(_0x53dc74[_0xeb5c51+0x1]&0xf0)===0x80||_0x53dc74[_0xeb5c51]===0xf4&&_0x53dc74[_0xeb5c51+0x1]>0x8f||_0x53dc74[_0xeb5c51]>0xf4)return!0x1;_0xeb5c51+=0x4;}else return!0x1;}}}return!0x0;}function _0x5e9ade(_0x408235){const _0x4b1d04=_0x59d066;return _0x3f26a4&&typeof _0x408235==_0x4b1d04(0x38c)&&typeof _0x408235[_0x4b1d04(0x2bb)]==_0x4b1d04(0x26d)&&typeof _0x408235[_0x4b1d04(0x29c)]==_0x4b1d04(0x2f2)&&typeof _0x408235['stream']=='function'&&(_0x408235[Symbol['toStringTag']]===_0x4b1d04(0x38b)||_0x408235[Symbol[_0x4b1d04(0x374)]]===_0x4b1d04(0x375));}if(ie['exports']={'isBlob':_0x5e9ade,'isValidStatusCode':_0x4fae68,'isValidUTF8':_0x475154,'tokenChars':_0x54b3f8},_0xbb16ae)ie[_0x59d066(0x382)][_0x59d066(0x24b)]=function(_0x455a4d){const _0x4eac28=_0x59d066;return _0x455a4d[_0x4eac28(0x35a)]<0x18?_0x475154(_0x455a4d):_0xbb16ae(_0x455a4d);};else{if(!process[_0x59d066(0x283)][_0x59d066(0x244)])try{const _0x120126=Bt;ie[_0x59d066(0x382)][_0x59d066(0x24b)]=function(_0x124ee3){const _0x5ce0e9=_0x59d066;return _0x124ee3[_0x5ce0e9(0x35a)]<0x20?_0x475154(_0x124ee3):_0x120126(_0x124ee3);};}catch{}}return ie[_0x59d066(0x382)];}var Se,Ke;function lt(){const _0x2fda73=_0x5beffb;if(Ke)return Se;Ke=0x1;const {Writable:_0x43bccf}=oe,_0x4950fb=he(),{BINARY_TYPES:_0x2a8c77,EMPTY_BUFFER:_0x16c86e,kStatusCode:_0x6a7982,kWebSocket:_0x3f3eb2}=H(),{concat:_0x120a7f,toArrayBuffer:_0x30d3d6,unmask:_0x3f6cc5}=ce(),{isValidStatusCode:_0x3fe136,isValidUTF8:_0x1d5c5e}=ae(),_0x10d0cd=Buffer[Symbol[_0x2fda73(0x31f)]],_0x2fb706=0x0,_0x2048fa=0x1,_0x37e486=0x2,_0x125108=0x3,_0x1181ef=0x4,_0x189710=0x5,_0x3c217e=0x6;class _0x38cd7e extends _0x43bccf{constructor(_0x42ff5f={}){const _0x1e3a39=_0x2fda73;super(),this[_0x1e3a39(0x2ca)]=_0x42ff5f[_0x1e3a39(0x342)]!==void 0x0?_0x42ff5f[_0x1e3a39(0x342)]:!0x0,this[_0x1e3a39(0x236)]=_0x42ff5f['binaryType']||_0x2a8c77[0x0],this[_0x1e3a39(0x284)]=_0x42ff5f['extensions']||{},this['_isServer']=!!_0x42ff5f[_0x1e3a39(0x36f)],this[_0x1e3a39(0x1f5)]=_0x42ff5f['maxPayload']|0x0,this[_0x1e3a39(0x243)]=!!_0x42ff5f[_0x1e3a39(0x1ff)],this[_0x3f3eb2]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this[_0x1e3a39(0x2d4)]=!0x1,this['_payloadLength']=0x0,this[_0x1e3a39(0x361)]=void 0x0,this[_0x1e3a39(0x2a8)]=0x0,this['_masked']=!0x1,this[_0x1e3a39(0x1e6)]=!0x1,this['_opcode']=0x0,this[_0x1e3a39(0x2b1)]=0x0,this[_0x1e3a39(0x1e9)]=0x0,this[_0x1e3a39(0x237)]=[],this[_0x1e3a39(0x219)]=!0x1,this['_loop']=!0x1,this[_0x1e3a39(0x22d)]=_0x2fb706;}[_0x2fda73(0x2b4)](_0x3453dc,_0x4eef26,_0x54210e){const _0x42bbe3=_0x2fda73;if(this[_0x42bbe3(0x281)]===0x8&&this['_state']==_0x2fb706)return _0x54210e();this[_0x42bbe3(0x2d1)]+=_0x3453dc[_0x42bbe3(0x35a)],this['_buffers'][_0x42bbe3(0x1fe)](_0x3453dc),this[_0x42bbe3(0x24f)](_0x54210e);}[_0x2fda73(0x311)](_0x17573d){const _0x5c47f8=_0x2fda73;if(this[_0x5c47f8(0x2d1)]-=_0x17573d,_0x17573d===this['_buffers'][0x0][_0x5c47f8(0x35a)])return this['_buffers'][_0x5c47f8(0x20b)]();if(_0x17573d<this['_buffers'][0x0]['length']){const _0xb19319=this['_buffers'][0x0];return this[_0x5c47f8(0x36a)][0x0]=new _0x10d0cd(_0xb19319[_0x5c47f8(0x32e)],_0xb19319['byteOffset']+_0x17573d,_0xb19319[_0x5c47f8(0x35a)]-_0x17573d),new _0x10d0cd(_0xb19319[_0x5c47f8(0x32e)],_0xb19319[_0x5c47f8(0x2aa)],_0x17573d);}const _0x36f874=Buffer[_0x5c47f8(0x24c)](_0x17573d);do{const _0x34f4c6=this[_0x5c47f8(0x36a)][0x0],_0x3a0443=_0x36f874[_0x5c47f8(0x35a)]-_0x17573d;_0x17573d>=_0x34f4c6[_0x5c47f8(0x35a)]?_0x36f874[_0x5c47f8(0x350)](this[_0x5c47f8(0x36a)][_0x5c47f8(0x20b)](),_0x3a0443):(_0x36f874[_0x5c47f8(0x350)](new Uint8Array(_0x34f4c6[_0x5c47f8(0x32e)],_0x34f4c6[_0x5c47f8(0x2aa)],_0x17573d),_0x3a0443),this[_0x5c47f8(0x36a)][0x0]=new _0x10d0cd(_0x34f4c6[_0x5c47f8(0x32e)],_0x34f4c6[_0x5c47f8(0x2aa)]+_0x17573d,_0x34f4c6[_0x5c47f8(0x35a)]-_0x17573d)),_0x17573d-=_0x34f4c6[_0x5c47f8(0x35a)];}while(_0x17573d>0x0);return _0x36f874;}[_0x2fda73(0x24f)](_0x45539f){const _0x7a9b17=_0x2fda73;this['_loop']=!0x0;do switch(this[_0x7a9b17(0x22d)]){case _0x2fb706:this[_0x7a9b17(0x268)](_0x45539f);break;case _0x2048fa:this[_0x7a9b17(0x2ff)](_0x45539f);break;case _0x37e486:this[_0x7a9b17(0x26a)](_0x45539f);break;case _0x125108:this[_0x7a9b17(0x271)]();break;case _0x1181ef:this[_0x7a9b17(0x2c1)](_0x45539f);break;case _0x189710:case _0x3c217e:this[_0x7a9b17(0x27d)]=!0x1;return;}while(this[_0x7a9b17(0x27d)]);this[_0x7a9b17(0x219)]||_0x45539f();}[_0x2fda73(0x268)](_0x18fd0c){const _0x47595c=_0x2fda73;if(this[_0x47595c(0x2d1)]<0x2){this['_loop']=!0x1;return;}const _0x126f17=this['consume'](0x2);if((_0x126f17[0x0]&0x30)!==0x0){const _0x47430f=this['createError'](RangeError,_0x47595c(0x29d),!0x0,0x3ea,_0x47595c(0x31e));_0x18fd0c(_0x47430f);return;}const _0x541ff1=(_0x126f17[0x0]&0x40)===0x40;if(_0x541ff1&&!this[_0x47595c(0x284)][_0x4950fb[_0x47595c(0x288)]]){const _0x342d89=this[_0x47595c(0x2c4)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x18fd0c(_0x342d89);return;}if(this[_0x47595c(0x1e6)]=(_0x126f17[0x0]&0x80)===0x80,this['_opcode']=_0x126f17[0x0]&0xf,this['_payloadLength']=_0x126f17[0x1]&0x7f,this[_0x47595c(0x281)]===0x0){if(_0x541ff1){const _0x46b8bc=this[_0x47595c(0x2c4)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x47595c(0x1de));_0x18fd0c(_0x46b8bc);return;}if(!this[_0x47595c(0x2a8)]){const _0x1a39be=this[_0x47595c(0x2c4)](RangeError,_0x47595c(0x209),!0x0,0x3ea,_0x47595c(0x380));_0x18fd0c(_0x1a39be);return;}this['_opcode']=this['_fragmented'];}else{if(this['_opcode']===0x1||this[_0x47595c(0x281)]===0x2){if(this['_fragmented']){const _0x467a6a=this[_0x47595c(0x2c4)](RangeError,_0x47595c(0x234)+this['_opcode'],!0x0,0x3ea,_0x47595c(0x380));_0x18fd0c(_0x467a6a);return;}this[_0x47595c(0x2d4)]=_0x541ff1;}else{if(this[_0x47595c(0x281)]>0x7&&this['_opcode']<0xb){if(!this['_fin']){const _0x323853=this[_0x47595c(0x2c4)](RangeError,_0x47595c(0x207),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x18fd0c(_0x323853);return;}if(_0x541ff1){const _0x55eaf9=this['createError'](RangeError,_0x47595c(0x286),!0x0,0x3ea,_0x47595c(0x1de));_0x18fd0c(_0x55eaf9);return;}if(this[_0x47595c(0x3a3)]>0x7d||this[_0x47595c(0x281)]===0x8&&this[_0x47595c(0x3a3)]===0x1){const _0x4a98f0=this[_0x47595c(0x2c4)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x47595c(0x3a3)],!0x0,0x3ea,_0x47595c(0x248));_0x18fd0c(_0x4a98f0);return;}}else{const _0x5a7b99=this['createError'](RangeError,_0x47595c(0x234)+this['_opcode'],!0x0,0x3ea,_0x47595c(0x380));_0x18fd0c(_0x5a7b99);return;}}}if(!this[_0x47595c(0x1e6)]&&!this['_fragmented']&&(this['_fragmented']=this[_0x47595c(0x281)]),this[_0x47595c(0x203)]=(_0x126f17[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x47595c(0x203)]){const _0x1d3b00=this['createError'](RangeError,_0x47595c(0x297),!0x0,0x3ea,_0x47595c(0x24d));_0x18fd0c(_0x1d3b00);return;}}else{if(this[_0x47595c(0x203)]){const _0x6e7c76=this[_0x47595c(0x2c4)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x47595c(0x250));_0x18fd0c(_0x6e7c76);return;}}this[_0x47595c(0x3a3)]===0x7e?this[_0x47595c(0x22d)]=_0x2048fa:this['_payloadLength']===0x7f?this[_0x47595c(0x22d)]=_0x37e486:this[_0x47595c(0x225)](_0x18fd0c);}[_0x2fda73(0x2ff)](_0x4fd6bc){const _0x736598=_0x2fda73;if(this[_0x736598(0x2d1)]<0x2){this[_0x736598(0x27d)]=!0x1;return;}this['_payloadLength']=this[_0x736598(0x311)](0x2)[_0x736598(0x381)](0x0),this[_0x736598(0x225)](_0x4fd6bc);}[_0x2fda73(0x26a)](_0x3f8178){const _0x42bb81=_0x2fda73;if(this[_0x42bb81(0x2d1)]<0x8){this['_loop']=!0x1;return;}const _0x2b97cd=this[_0x42bb81(0x311)](0x8),_0x4d1f29=_0x2b97cd['readUInt32BE'](0x0);if(_0x4d1f29>Math[_0x42bb81(0x2ba)](0x2,0x15)-0x1){const _0xf24afe=this[_0x42bb81(0x2c4)](RangeError,_0x42bb81(0x348),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x3f8178(_0xf24afe);return;}this[_0x42bb81(0x3a3)]=_0x4d1f29*Math[_0x42bb81(0x2ba)](0x2,0x20)+_0x2b97cd[_0x42bb81(0x1e5)](0x4),this[_0x42bb81(0x225)](_0x3f8178);}['haveLength'](_0x4eaea3){const _0x23bcfc=_0x2fda73;if(this[_0x23bcfc(0x3a3)]&&this[_0x23bcfc(0x281)]<0x8&&(this[_0x23bcfc(0x2b1)]+=this[_0x23bcfc(0x3a3)],this[_0x23bcfc(0x2b1)]>this[_0x23bcfc(0x1f5)]&&this[_0x23bcfc(0x1f5)]>0x0)){const _0x203ace=this[_0x23bcfc(0x2c4)](RangeError,_0x23bcfc(0x21e),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x4eaea3(_0x203ace);return;}this[_0x23bcfc(0x203)]?this['_state']=_0x125108:this['_state']=_0x1181ef;}[_0x2fda73(0x271)](){const _0x59b5f4=_0x2fda73;if(this[_0x59b5f4(0x2d1)]<0x4){this[_0x59b5f4(0x27d)]=!0x1;return;}this[_0x59b5f4(0x361)]=this[_0x59b5f4(0x311)](0x4),this[_0x59b5f4(0x22d)]=_0x1181ef;}['getData'](_0x2aacff){const _0x25a58e=_0x2fda73;let _0x35e2a6=_0x16c86e;if(this['_payloadLength']){if(this['_bufferedBytes']<this[_0x25a58e(0x3a3)]){this[_0x25a58e(0x27d)]=!0x1;return;}_0x35e2a6=this[_0x25a58e(0x311)](this[_0x25a58e(0x3a3)]),this[_0x25a58e(0x203)]&&(this['_mask'][0x0]|this[_0x25a58e(0x361)][0x1]|this[_0x25a58e(0x361)][0x2]|this[_0x25a58e(0x361)][0x3])!==0x0&&_0x3f6cc5(_0x35e2a6,this[_0x25a58e(0x361)]);}if(this['_opcode']>0x7){this['controlMessage'](_0x35e2a6,_0x2aacff);return;}if(this[_0x25a58e(0x2d4)]){this['_state']=_0x189710,this[_0x25a58e(0x364)](_0x35e2a6,_0x2aacff);return;}_0x35e2a6['length']&&(this[_0x25a58e(0x1e9)]=this[_0x25a58e(0x2b1)],this['_fragments'][_0x25a58e(0x1fe)](_0x35e2a6)),this[_0x25a58e(0x22f)](_0x2aacff);}[_0x2fda73(0x364)](_0x3ae09b,_0x22e5b8){const _0x2a9fe7=_0x2fda73;this[_0x2a9fe7(0x284)][_0x4950fb[_0x2a9fe7(0x288)]][_0x2a9fe7(0x364)](_0x3ae09b,this['_fin'],(_0x2dac6c,_0x31e71c)=>{const _0x1b2000=_0x2a9fe7;if(_0x2dac6c)return _0x22e5b8(_0x2dac6c);if(_0x31e71c[_0x1b2000(0x35a)]){if(this[_0x1b2000(0x1e9)]+=_0x31e71c['length'],this['_messageLength']>this[_0x1b2000(0x1f5)]&&this[_0x1b2000(0x1f5)]>0x0){const _0x5ca6af=this[_0x1b2000(0x2c4)](RangeError,_0x1b2000(0x21e),!0x1,0x3f1,_0x1b2000(0x295));_0x22e5b8(_0x5ca6af);return;}this[_0x1b2000(0x237)]['push'](_0x31e71c);}this[_0x1b2000(0x22f)](_0x22e5b8),this[_0x1b2000(0x22d)]===_0x2fb706&&this['startLoop'](_0x22e5b8);});}['dataMessage'](_0x2ad4f4){const _0x5d1a36=_0x2fda73;if(!this[_0x5d1a36(0x1e6)]){this[_0x5d1a36(0x22d)]=_0x2fb706;return;}const _0x5c5d67=this[_0x5d1a36(0x1e9)],_0x22fe5d=this['_fragments'];if(this[_0x5d1a36(0x2b1)]=0x0,this[_0x5d1a36(0x1e9)]=0x0,this[_0x5d1a36(0x2a8)]=0x0,this[_0x5d1a36(0x237)]=[],this[_0x5d1a36(0x281)]===0x2){let _0x3ecd5b;this[_0x5d1a36(0x236)]===_0x5d1a36(0x213)?_0x3ecd5b=_0x120a7f(_0x22fe5d,_0x5c5d67):this['_binaryType']===_0x5d1a36(0x39d)?_0x3ecd5b=_0x30d3d6(_0x120a7f(_0x22fe5d,_0x5c5d67)):this[_0x5d1a36(0x236)]==='blob'?_0x3ecd5b=new Blob(_0x22fe5d):_0x3ecd5b=_0x22fe5d,this[_0x5d1a36(0x2ca)]?(this[_0x5d1a36(0x392)](_0x5d1a36(0x39e),_0x3ecd5b,!0x0),this[_0x5d1a36(0x22d)]=_0x2fb706):(this['_state']=_0x3c217e,setImmediate(()=>{const _0x51ce23=_0x5d1a36;this[_0x51ce23(0x392)](_0x51ce23(0x39e),_0x3ecd5b,!0x0),this[_0x51ce23(0x22d)]=_0x2fb706,this[_0x51ce23(0x24f)](_0x2ad4f4);}));}else{const _0x5b67a5=_0x120a7f(_0x22fe5d,_0x5c5d67);if(!this[_0x5d1a36(0x243)]&&!_0x1d5c5e(_0x5b67a5)){const _0x5c8040=this[_0x5d1a36(0x2c4)](Error,_0x5d1a36(0x2fe),!0x0,0x3ef,_0x5d1a36(0x205));_0x2ad4f4(_0x5c8040);return;}this[_0x5d1a36(0x22d)]===_0x189710||this[_0x5d1a36(0x2ca)]?(this[_0x5d1a36(0x392)]('message',_0x5b67a5,!0x1),this[_0x5d1a36(0x22d)]=_0x2fb706):(this[_0x5d1a36(0x22d)]=_0x3c217e,setImmediate(()=>{const _0x3f135e=_0x5d1a36;this[_0x3f135e(0x392)]('message',_0x5b67a5,!0x1),this['_state']=_0x2fb706,this['startLoop'](_0x2ad4f4);}));}}[_0x2fda73(0x2a5)](_0x554f9a,_0x2cd9a3){const _0x2ec953=_0x2fda73;if(this[_0x2ec953(0x281)]===0x8){if(_0x554f9a['length']===0x0)this[_0x2ec953(0x27d)]=!0x1,this['emit'](_0x2ec953(0x1f4),0x3ed,_0x16c86e),this[_0x2ec953(0x267)]();else{const _0x4bcc72=_0x554f9a['readUInt16BE'](0x0);if(!_0x3fe136(_0x4bcc72)){const _0x3821f4=this[_0x2ec953(0x2c4)](RangeError,_0x2ec953(0x220)+_0x4bcc72,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x2cd9a3(_0x3821f4);return;}const _0x1c5326=new _0x10d0cd(_0x554f9a[_0x2ec953(0x32e)],_0x554f9a[_0x2ec953(0x2aa)]+0x2,_0x554f9a['length']-0x2);if(!this[_0x2ec953(0x243)]&&!_0x1d5c5e(_0x1c5326)){const _0x4ce036=this[_0x2ec953(0x2c4)](Error,_0x2ec953(0x2fe),!0x0,0x3ef,_0x2ec953(0x205));_0x2cd9a3(_0x4ce036);return;}this[_0x2ec953(0x27d)]=!0x1,this[_0x2ec953(0x392)](_0x2ec953(0x1f4),_0x4bcc72,_0x1c5326),this['end']();}this['_state']=_0x2fb706;return;}this[_0x2ec953(0x2ca)]?(this[_0x2ec953(0x392)](this[_0x2ec953(0x281)]===0x9?'ping':_0x2ec953(0x27f),_0x554f9a),this[_0x2ec953(0x22d)]=_0x2fb706):(this[_0x2ec953(0x22d)]=_0x3c217e,setImmediate(()=>{const _0x402666=_0x2ec953;this[_0x402666(0x392)](this['_opcode']===0x9?_0x402666(0x1e3):'pong',_0x554f9a),this['_state']=_0x2fb706,this[_0x402666(0x24f)](_0x2cd9a3);}));}[_0x2fda73(0x2c4)](_0x6a20e,_0x201cd8,_0x34d139,_0x45f22d,_0xfb02c6){const _0x4b3ebb=_0x2fda73;this[_0x4b3ebb(0x27d)]=!0x1,this[_0x4b3ebb(0x219)]=!0x0;const _0x36dd4b=new _0x6a20e(_0x34d139?_0x4b3ebb(0x30a)+_0x201cd8:_0x201cd8);return Error['captureStackTrace'](_0x36dd4b,this[_0x4b3ebb(0x2c4)]),_0x36dd4b[_0x4b3ebb(0x359)]=_0xfb02c6,_0x36dd4b[_0x6a7982]=_0x45f22d,_0x36dd4b;}}return Se=_0x38cd7e,Se;}var Ee,Xe;function ft(){const _0x475c56=_0x5beffb;if(Xe)return Ee;Xe=0x1;const {Duplex:_0xf8e642}=oe,{randomFillSync:_0x553a0c}=Le,_0x39b754=he(),{EMPTY_BUFFER:_0x27d015,kWebSocket:_0x1ca7ad,NOOP:_0x444a50}=H(),{isBlob:_0x1461a9,isValidStatusCode:_0x324ab3}=ae(),{mask:_0x28d5cb,toBuffer:_0x52fb97}=ce(),_0xf7b681=Symbol(_0x475c56(0x31d)),_0x408085=Buffer[_0x475c56(0x212)](0x4),_0x7e44cd=0x8*0x400;let _0x42265c,_0x246345=_0x7e44cd;const _0x30ddaf=0x0,_0x2bcfe7=0x1,_0x483c90=0x2;class _0xed8c6b{constructor(_0x6b817a,_0x53c2be,_0x55e242){const _0x57d57d=_0x475c56;this[_0x57d57d(0x284)]=_0x53c2be||{},_0x55e242&&(this[_0x57d57d(0x373)]=_0x55e242,this[_0x57d57d(0x2d5)]=Buffer['alloc'](0x4)),this[_0x57d57d(0x333)]=_0x6b817a,this[_0x57d57d(0x376)]=!0x0,this[_0x57d57d(0x23f)]=!0x1,this['_bufferedBytes']=0x0,this[_0x57d57d(0x332)]=[],this[_0x57d57d(0x22d)]=_0x30ddaf,this[_0x57d57d(0x200)]=_0x444a50,this[_0x1ca7ad]=void 0x0;}static['frame'](_0x21bd82,_0x2f5d5c){const _0x2d013f=_0x475c56;let _0x36212a,_0x4ef7d7=!0x1,_0x967dc3=0x2,_0x381af3=!0x1;_0x2f5d5c['mask']&&(_0x36212a=_0x2f5d5c[_0x2d013f(0x272)]||_0x408085,_0x2f5d5c['generateMask']?_0x2f5d5c['generateMask'](_0x36212a):(_0x246345===_0x7e44cd&&(_0x42265c===void 0x0&&(_0x42265c=Buffer[_0x2d013f(0x212)](_0x7e44cd)),_0x553a0c(_0x42265c,0x0,_0x7e44cd),_0x246345=0x0),_0x36212a[0x0]=_0x42265c[_0x246345++],_0x36212a[0x1]=_0x42265c[_0x246345++],_0x36212a[0x2]=_0x42265c[_0x246345++],_0x36212a[0x3]=_0x42265c[_0x246345++]),_0x381af3=(_0x36212a[0x0]|_0x36212a[0x1]|_0x36212a[0x2]|_0x36212a[0x3])===0x0,_0x967dc3=0x6);let _0x356f90;typeof _0x21bd82=='string'?(!_0x2f5d5c[_0x2d013f(0x20f)]||_0x381af3)&&_0x2f5d5c[_0xf7b681]!==void 0x0?_0x356f90=_0x2f5d5c[_0xf7b681]:(_0x21bd82=Buffer['from'](_0x21bd82),_0x356f90=_0x21bd82[_0x2d013f(0x35a)]):(_0x356f90=_0x21bd82[_0x2d013f(0x35a)],_0x4ef7d7=_0x2f5d5c['mask']&&_0x2f5d5c[_0x2d013f(0x2c3)]&&!_0x381af3);let _0x462f56=_0x356f90;_0x356f90>=0x10000?(_0x967dc3+=0x8,_0x462f56=0x7f):_0x356f90>0x7d&&(_0x967dc3+=0x2,_0x462f56=0x7e);const _0x885987=Buffer[_0x2d013f(0x24c)](_0x4ef7d7?_0x356f90+_0x967dc3:_0x967dc3);return _0x885987[0x0]=_0x2f5d5c['fin']?_0x2f5d5c[_0x2d013f(0x314)]|0x80:_0x2f5d5c['opcode'],_0x2f5d5c[_0x2d013f(0x2f0)]&&(_0x885987[0x0]|=0x40),_0x885987[0x1]=_0x462f56,_0x462f56===0x7e?_0x885987[_0x2d013f(0x2bc)](_0x356f90,0x2):_0x462f56===0x7f&&(_0x885987[0x2]=_0x885987[0x3]=0x0,_0x885987[_0x2d013f(0x2ab)](_0x356f90,0x4,0x6)),_0x2f5d5c[_0x2d013f(0x20f)]?(_0x885987[0x1]|=0x80,_0x885987[_0x967dc3-0x4]=_0x36212a[0x0],_0x885987[_0x967dc3-0x3]=_0x36212a[0x1],_0x885987[_0x967dc3-0x2]=_0x36212a[0x2],_0x885987[_0x967dc3-0x1]=_0x36212a[0x3],_0x381af3?[_0x885987,_0x21bd82]:_0x4ef7d7?(_0x28d5cb(_0x21bd82,_0x36212a,_0x885987,_0x967dc3,_0x356f90),[_0x885987]):(_0x28d5cb(_0x21bd82,_0x36212a,_0x21bd82,0x0,_0x356f90),[_0x885987,_0x21bd82])):[_0x885987,_0x21bd82];}['close'](_0x4272ce,_0x1e15e9,_0x200606,_0x33c5c1){const _0x4a1ab2=_0x475c56;let _0x249e35;if(_0x4272ce===void 0x0)_0x249e35=_0x27d015;else{if(typeof _0x4272ce!=_0x4a1ab2(0x2c6)||!_0x324ab3(_0x4272ce))throw new TypeError(_0x4a1ab2(0x256));if(_0x1e15e9===void 0x0||!_0x1e15e9[_0x4a1ab2(0x35a)])_0x249e35=Buffer[_0x4a1ab2(0x24c)](0x2),_0x249e35[_0x4a1ab2(0x2bc)](_0x4272ce,0x0);else{const _0x1f9138=Buffer[_0x4a1ab2(0x298)](_0x1e15e9);if(_0x1f9138>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x249e35=Buffer[_0x4a1ab2(0x24c)](0x2+_0x1f9138),_0x249e35[_0x4a1ab2(0x2bc)](_0x4272ce,0x0),typeof _0x1e15e9=='string'?_0x249e35[_0x4a1ab2(0x233)](_0x1e15e9,0x2):_0x249e35['set'](_0x1e15e9,0x2);}}const _0x24ab8d={[_0xf7b681]:_0x249e35[_0x4a1ab2(0x35a)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x200606,'maskBuffer':this[_0x4a1ab2(0x2d5)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x4a1ab2(0x22d)]!==_0x30ddaf?this['enqueue']([this[_0x4a1ab2(0x1f2)],_0x249e35,!0x1,_0x24ab8d,_0x33c5c1]):this[_0x4a1ab2(0x2ed)](_0xed8c6b['frame'](_0x249e35,_0x24ab8d),_0x33c5c1);}[_0x475c56(0x1e3)](_0x76824a,_0x5485b4,_0x55a653){const _0x3adbba=_0x475c56;let _0x5cbb47,_0x896f73;if(typeof _0x76824a=='string'?(_0x5cbb47=Buffer[_0x3adbba(0x298)](_0x76824a),_0x896f73=!0x1):_0x1461a9(_0x76824a)?(_0x5cbb47=_0x76824a['size'],_0x896f73=!0x1):(_0x76824a=_0x52fb97(_0x76824a),_0x5cbb47=_0x76824a[_0x3adbba(0x35a)],_0x896f73=_0x52fb97[_0x3adbba(0x2c3)]),_0x5cbb47>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x178f9a={[_0xf7b681]:_0x5cbb47,'fin':!0x0,'generateMask':this[_0x3adbba(0x373)],'mask':_0x5485b4,'maskBuffer':this[_0x3adbba(0x2d5)],'opcode':0x9,'readOnly':_0x896f73,'rsv1':!0x1};_0x1461a9(_0x76824a)?this[_0x3adbba(0x22d)]!==_0x30ddaf?this[_0x3adbba(0x2d3)]([this[_0x3adbba(0x377)],_0x76824a,!0x1,_0x178f9a,_0x55a653]):this[_0x3adbba(0x377)](_0x76824a,!0x1,_0x178f9a,_0x55a653):this['_state']!==_0x30ddaf?this['enqueue']([this[_0x3adbba(0x1f2)],_0x76824a,!0x1,_0x178f9a,_0x55a653]):this[_0x3adbba(0x2ed)](_0xed8c6b[_0x3adbba(0x273)](_0x76824a,_0x178f9a),_0x55a653);}[_0x475c56(0x27f)](_0x1907f7,_0x30821a,_0x535fea){const _0x31c60c=_0x475c56;let _0x1b75c8,_0x419898;if(typeof _0x1907f7==_0x31c60c(0x2f2)?(_0x1b75c8=Buffer[_0x31c60c(0x298)](_0x1907f7),_0x419898=!0x1):_0x1461a9(_0x1907f7)?(_0x1b75c8=_0x1907f7[_0x31c60c(0x339)],_0x419898=!0x1):(_0x1907f7=_0x52fb97(_0x1907f7),_0x1b75c8=_0x1907f7[_0x31c60c(0x35a)],_0x419898=_0x52fb97[_0x31c60c(0x2c3)]),_0x1b75c8>0x7d)throw new RangeError(_0x31c60c(0x35f));const _0x274196={[_0xf7b681]:_0x1b75c8,'fin':!0x0,'generateMask':this[_0x31c60c(0x373)],'mask':_0x30821a,'maskBuffer':this[_0x31c60c(0x2d5)],'opcode':0xa,'readOnly':_0x419898,'rsv1':!0x1};_0x1461a9(_0x1907f7)?this[_0x31c60c(0x22d)]!==_0x30ddaf?this[_0x31c60c(0x2d3)]([this[_0x31c60c(0x377)],_0x1907f7,!0x1,_0x274196,_0x535fea]):this[_0x31c60c(0x377)](_0x1907f7,!0x1,_0x274196,_0x535fea):this[_0x31c60c(0x22d)]!==_0x30ddaf?this['enqueue']([this[_0x31c60c(0x1f2)],_0x1907f7,!0x1,_0x274196,_0x535fea]):this['sendFrame'](_0xed8c6b[_0x31c60c(0x273)](_0x1907f7,_0x274196),_0x535fea);}['send'](_0x2ec795,_0x2fb2b7,_0xceff24){const _0x171aa6=_0x475c56,_0x3509d2=this['_extensions'][_0x39b754['extensionName']];let _0x4802d9=_0x2fb2b7[_0x171aa6(0x395)]?0x2:0x1,_0x5be72c=_0x2fb2b7['compress'],_0x274534,_0x5d79e0;typeof _0x2ec795==_0x171aa6(0x2f2)?(_0x274534=Buffer['byteLength'](_0x2ec795),_0x5d79e0=!0x1):_0x1461a9(_0x2ec795)?(_0x274534=_0x2ec795[_0x171aa6(0x339)],_0x5d79e0=!0x1):(_0x2ec795=_0x52fb97(_0x2ec795),_0x274534=_0x2ec795[_0x171aa6(0x35a)],_0x5d79e0=_0x52fb97['readOnly']),this[_0x171aa6(0x376)]?(this[_0x171aa6(0x376)]=!0x1,_0x5be72c&&_0x3509d2&&_0x3509d2['params'][_0x3509d2[_0x171aa6(0x26e)]?_0x171aa6(0x349):_0x171aa6(0x204)]&&(_0x5be72c=_0x274534>=_0x3509d2[_0x171aa6(0x270)]),this[_0x171aa6(0x23f)]=_0x5be72c):(_0x5be72c=!0x1,_0x4802d9=0x0),_0x2fb2b7[_0x171aa6(0x2c5)]&&(this[_0x171aa6(0x376)]=!0x0);const _0x172612={[_0xf7b681]:_0x274534,'fin':_0x2fb2b7['fin'],'generateMask':this['_generateMask'],'mask':_0x2fb2b7[_0x171aa6(0x20f)],'maskBuffer':this[_0x171aa6(0x2d5)],'opcode':_0x4802d9,'readOnly':_0x5d79e0,'rsv1':_0x5be72c};_0x1461a9(_0x2ec795)?this[_0x171aa6(0x22d)]!==_0x30ddaf?this[_0x171aa6(0x2d3)]([this[_0x171aa6(0x377)],_0x2ec795,this[_0x171aa6(0x23f)],_0x172612,_0xceff24]):this[_0x171aa6(0x377)](_0x2ec795,this[_0x171aa6(0x23f)],_0x172612,_0xceff24):this[_0x171aa6(0x22d)]!==_0x30ddaf?this[_0x171aa6(0x2d3)]([this[_0x171aa6(0x1f2)],_0x2ec795,this[_0x171aa6(0x23f)],_0x172612,_0xceff24]):this[_0x171aa6(0x1f2)](_0x2ec795,this['_compress'],_0x172612,_0xceff24);}[_0x475c56(0x377)](_0x4342c0,_0x41c27b,_0xfeacab,_0x4fb2d1){const _0xcfe073=_0x475c56;this[_0xcfe073(0x2d1)]+=_0xfeacab[_0xf7b681],this['_state']=_0x483c90,_0x4342c0[_0xcfe073(0x2bb)]()[_0xcfe073(0x2a0)](_0x547284=>{const _0x3dca9f=_0xcfe073;if(this[_0x3dca9f(0x333)][_0x3dca9f(0x34a)]){const _0x399896=new Error(_0x3dca9f(0x371));process[_0x3dca9f(0x29e)](_0xe33cbc,this,_0x399896,_0x4fb2d1);return;}this[_0x3dca9f(0x2d1)]-=_0xfeacab[_0xf7b681];const _0x3fd757=_0x52fb97(_0x547284);_0x41c27b?this[_0x3dca9f(0x1f2)](_0x3fd757,_0x41c27b,_0xfeacab,_0x4fb2d1):(this[_0x3dca9f(0x22d)]=_0x30ddaf,this[_0x3dca9f(0x2ed)](_0xed8c6b[_0x3dca9f(0x273)](_0x3fd757,_0xfeacab),_0x4fb2d1),this[_0x3dca9f(0x2b5)]());})['catch'](_0x1694ab=>{const _0x2de860=_0xcfe073;process[_0x2de860(0x29e)](_0x2f1fdf,this,_0x1694ab,_0x4fb2d1);});}['dispatch'](_0x372953,_0x5e5383,_0x417e37,_0x5f17dc){const _0x436728=_0x475c56;if(!_0x5e5383){this['sendFrame'](_0xed8c6b[_0x436728(0x273)](_0x372953,_0x417e37),_0x5f17dc);return;}const _0x1c494c=this[_0x436728(0x284)][_0x39b754[_0x436728(0x288)]];this[_0x436728(0x2d1)]+=_0x417e37[_0xf7b681],this[_0x436728(0x22d)]=_0x2bcfe7,_0x1c494c['compress'](_0x372953,_0x417e37[_0x436728(0x2c5)],(_0x244ad7,_0x126abe)=>{const _0x48840c=_0x436728;if(this[_0x48840c(0x333)][_0x48840c(0x34a)]){const _0x29bf16=new Error(_0x48840c(0x2c7));_0xe33cbc(this,_0x29bf16,_0x5f17dc);return;}this[_0x48840c(0x2d1)]-=_0x417e37[_0xf7b681],this[_0x48840c(0x22d)]=_0x30ddaf,_0x417e37[_0x48840c(0x2c3)]=!0x1,this['sendFrame'](_0xed8c6b[_0x48840c(0x273)](_0x126abe,_0x417e37),_0x5f17dc),this[_0x48840c(0x2b5)]();});}['dequeue'](){const _0x59a1a1=_0x475c56;for(;this['_state']===_0x30ddaf&&this['_queue']['length'];){const _0x16e314=this['_queue'][_0x59a1a1(0x20b)]();this[_0x59a1a1(0x2d1)]-=_0x16e314[0x3][_0xf7b681],Reflect[_0x59a1a1(0x366)](_0x16e314[0x0],this,_0x16e314[_0x59a1a1(0x218)](0x1));}}['enqueue'](_0x5a5c0b){const _0x2b7ff7=_0x475c56;this[_0x2b7ff7(0x2d1)]+=_0x5a5c0b[0x3][_0xf7b681],this[_0x2b7ff7(0x332)][_0x2b7ff7(0x1fe)](_0x5a5c0b);}[_0x475c56(0x2ed)](_0x1f50d0,_0x457f7e){const _0x40774a=_0x475c56;_0x1f50d0[_0x40774a(0x35a)]===0x2?(this['_socket'][_0x40774a(0x362)](),this[_0x40774a(0x333)]['write'](_0x1f50d0[0x0]),this['_socket']['write'](_0x1f50d0[0x1],_0x457f7e),this[_0x40774a(0x333)][_0x40774a(0x25a)]()):this[_0x40774a(0x333)][_0x40774a(0x233)](_0x1f50d0[0x0],_0x457f7e);}}Ee=_0xed8c6b;function _0xe33cbc(_0x37c0af,_0x136c0c,_0x35ec62){const _0x1428b8=_0x475c56;typeof _0x35ec62==_0x1428b8(0x26d)&&_0x35ec62(_0x136c0c);for(let _0x12a8c4=0x0;_0x12a8c4<_0x37c0af[_0x1428b8(0x332)][_0x1428b8(0x35a)];_0x12a8c4++){const _0x9bb6f9=_0x37c0af[_0x1428b8(0x332)][_0x12a8c4],_0xacf53d=_0x9bb6f9[_0x9bb6f9[_0x1428b8(0x35a)]-0x1];typeof _0xacf53d==_0x1428b8(0x26d)&&_0xacf53d(_0x136c0c);}}function _0x2f1fdf(_0x24648b,_0x446efb,_0x1c62d1){const _0x5f20f4=_0x475c56;_0xe33cbc(_0x24648b,_0x446efb,_0x1c62d1),_0x24648b[_0x5f20f4(0x200)](_0x446efb);}return Ee;}var xe,Ze;function It(){const _0xada408=_0x5beffb;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x333dc0,kListener:_0x53aa1b}=H(),_0x3ea0eb=Symbol(_0xada408(0x2ef)),_0x34e5ef=Symbol(_0xada408(0x206)),_0x711529=Symbol(_0xada408(0x28f)),_0x5bc4b6=Symbol(_0xada408(0x2b2)),_0x4dcf34=Symbol(_0xada408(0x393)),_0x3f3c31=Symbol(_0xada408(0x2a9)),_0xb6ee9c=Symbol(_0xada408(0x318)),_0x238b91=Symbol('kWasClean');class _0x33f8aa{constructor(_0x4b5a0d){this[_0x3f3c31]=null,this[_0xb6ee9c]=_0x4b5a0d;}get['target'](){return this[_0x3f3c31];}get[_0xada408(0x29c)](){return this[_0xb6ee9c];}}Object[_0xada408(0x302)](_0x33f8aa[_0xada408(0x2cd)],'target',{'enumerable':!0x0}),Object[_0xada408(0x302)](_0x33f8aa['prototype'],_0xada408(0x29c),{'enumerable':!0x0});class _0x25e0fe extends _0x33f8aa{constructor(_0x28a156,_0x12dc3c={}){const _0x4f3c77=_0xada408;super(_0x28a156),this[_0x3ea0eb]=_0x12dc3c[_0x4f3c77(0x359)]===void 0x0?0x0:_0x12dc3c['code'],this[_0x4dcf34]=_0x12dc3c[_0x4f3c77(0x2d8)]===void 0x0?'':_0x12dc3c['reason'],this[_0x238b91]=_0x12dc3c[_0x4f3c77(0x353)]===void 0x0?!0x1:_0x12dc3c[_0x4f3c77(0x353)];}get[_0xada408(0x359)](){return this[_0x3ea0eb];}get[_0xada408(0x2d8)](){return this[_0x4dcf34];}get[_0xada408(0x353)](){return this[_0x238b91];}}Object[_0xada408(0x302)](_0x25e0fe[_0xada408(0x2cd)],'code',{'enumerable':!0x0}),Object[_0xada408(0x302)](_0x25e0fe[_0xada408(0x2cd)],_0xada408(0x2d8),{'enumerable':!0x0}),Object['defineProperty'](_0x25e0fe[_0xada408(0x2cd)],_0xada408(0x353),{'enumerable':!0x0});class _0x4a9606 extends _0x33f8aa{constructor(_0x376419,_0x5aadfd={}){const _0x3a571e=_0xada408;super(_0x376419),this[_0x711529]=_0x5aadfd[_0x3a571e(0x2cc)]===void 0x0?null:_0x5aadfd['error'],this[_0x5bc4b6]=_0x5aadfd[_0x3a571e(0x39e)]===void 0x0?'':_0x5aadfd[_0x3a571e(0x39e)];}get[_0xada408(0x2cc)](){return this[_0x711529];}get[_0xada408(0x39e)](){return this[_0x5bc4b6];}}Object['defineProperty'](_0x4a9606[_0xada408(0x2cd)],_0xada408(0x2cc),{'enumerable':!0x0}),Object[_0xada408(0x302)](_0x4a9606[_0xada408(0x2cd)],_0xada408(0x39e),{'enumerable':!0x0});class _0x37084c extends _0x33f8aa{constructor(_0x1c2d46,_0x3450d3={}){const _0x1b5cde=_0xada408;super(_0x1c2d46),this[_0x34e5ef]=_0x3450d3[_0x1b5cde(0x385)]===void 0x0?null:_0x3450d3[_0x1b5cde(0x385)];}get[_0xada408(0x385)](){return this[_0x34e5ef];}}Object[_0xada408(0x302)](_0x37084c[_0xada408(0x2cd)],_0xada408(0x385),{'enumerable':!0x0}),xe={'CloseEvent':_0x25e0fe,'ErrorEvent':_0x4a9606,'Event':_0x33f8aa,'EventTarget':{'addEventListener'(_0xbf673c,_0x3cd0ab,_0x441f54={}){const _0x288c40=_0xada408;for(const _0x16b4b6 of this[_0x288c40(0x2c8)](_0xbf673c))if(!_0x441f54[_0x333dc0]&&_0x16b4b6[_0x53aa1b]===_0x3cd0ab&&!_0x16b4b6[_0x333dc0])return;let _0x1ec631;if(_0xbf673c==='message')_0x1ec631=function(_0x30765d,_0x3d7cfb){const _0x4e9960=_0x288c40,_0x522c98=new _0x37084c(_0x4e9960(0x39e),{'data':_0x3d7cfb?_0x30765d:_0x30765d[_0x4e9960(0x287)]()});_0x522c98[_0x3f3c31]=this,_0x283696(_0x3cd0ab,this,_0x522c98);};else{if(_0xbf673c===_0x288c40(0x304))_0x1ec631=function(_0x23c3c7,_0x59adbf){const _0x22b551=_0x288c40,_0x37265b=new _0x25e0fe('close',{'code':_0x23c3c7,'reason':_0x59adbf[_0x22b551(0x287)](),'wasClean':this['_closeFrameReceived']&&this['_closeFrameSent']});_0x37265b[_0x3f3c31]=this,_0x283696(_0x3cd0ab,this,_0x37265b);};else{if(_0xbf673c===_0x288c40(0x2cc))_0x1ec631=function(_0x39cbbb){const _0x542d5b=_0x288c40,_0x5e01ce=new _0x4a9606(_0x542d5b(0x2cc),{'error':_0x39cbbb,'message':_0x39cbbb[_0x542d5b(0x39e)]});_0x5e01ce[_0x3f3c31]=this,_0x283696(_0x3cd0ab,this,_0x5e01ce);};else{if(_0xbf673c===_0x288c40(0x2c9))_0x1ec631=function(){const _0x4caa09=_0x288c40,_0x1acbbc=new _0x33f8aa(_0x4caa09(0x2c9));_0x1acbbc[_0x3f3c31]=this,_0x283696(_0x3cd0ab,this,_0x1acbbc);};else return;}}}_0x1ec631[_0x333dc0]=!!_0x441f54[_0x333dc0],_0x1ec631[_0x53aa1b]=_0x3cd0ab,_0x441f54[_0x288c40(0x2df)]?this[_0x288c40(0x2df)](_0xbf673c,_0x1ec631):this['on'](_0xbf673c,_0x1ec631);},'removeEventListener'(_0x203ca0,_0xfaa9ae){const _0x18abc0=_0xada408;for(const _0xb1b01a of this[_0x18abc0(0x2c8)](_0x203ca0))if(_0xb1b01a[_0x53aa1b]===_0xfaa9ae&&!_0xb1b01a[_0x333dc0]){this[_0x18abc0(0x1ef)](_0x203ca0,_0xb1b01a);break;}}},'MessageEvent':_0x37084c};function _0x283696(_0xa73afc,_0xd340be,_0x54bc1e){const _0x5121ae=_0xada408;typeof _0xa73afc=='object'&&_0xa73afc[_0x5121ae(0x257)]?_0xa73afc[_0x5121ae(0x257)][_0x5121ae(0x396)](_0xa73afc,_0x54bc1e):_0xa73afc[_0x5121ae(0x396)](_0xd340be,_0x54bc1e);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x1a7f7d}=ae();function _0x413c1d(_0x1a4a6d,_0x4cbb91,_0x6f49cd){_0x1a4a6d[_0x4cbb91]===void 0x0?_0x1a4a6d[_0x4cbb91]=[_0x6f49cd]:_0x1a4a6d[_0x4cbb91]['push'](_0x6f49cd);}function _0x8bf6b3(_0x21dae8){const _0x311df2=_0x3013,_0x107cf4=Object[_0x311df2(0x32a)](null);let _0x3fd36b=Object[_0x311df2(0x32a)](null),_0xa608e2=!0x1,_0x9f2077=!0x1,_0x2ed2fb=!0x1,_0x112156,_0xcf41b5,_0x692c52=-0x1,_0x22f528=-0x1,_0xc022f=-0x1,_0x1b11cd=0x0;for(;_0x1b11cd<_0x21dae8[_0x311df2(0x35a)];_0x1b11cd++)if(_0x22f528=_0x21dae8[_0x311df2(0x334)](_0x1b11cd),_0x112156===void 0x0){if(_0xc022f===-0x1&&_0x1a7f7d[_0x22f528]===0x1)_0x692c52===-0x1&&(_0x692c52=_0x1b11cd);else{if(_0x1b11cd!==0x0&&(_0x22f528===0x20||_0x22f528===0x9))_0xc022f===-0x1&&_0x692c52!==-0x1&&(_0xc022f=_0x1b11cd);else{if(_0x22f528===0x3b||_0x22f528===0x2c){if(_0x692c52===-0x1)throw new SyntaxError(_0x311df2(0x383)+_0x1b11cd);_0xc022f===-0x1&&(_0xc022f=_0x1b11cd);const _0x19b632=_0x21dae8[_0x311df2(0x218)](_0x692c52,_0xc022f);_0x22f528===0x2c?(_0x413c1d(_0x107cf4,_0x19b632,_0x3fd36b),_0x3fd36b=Object[_0x311df2(0x32a)](null)):_0x112156=_0x19b632,_0x692c52=_0xc022f=-0x1;}else throw new SyntaxError(_0x311df2(0x383)+_0x1b11cd);}}}else{if(_0xcf41b5===void 0x0){if(_0xc022f===-0x1&&_0x1a7f7d[_0x22f528]===0x1)_0x692c52===-0x1&&(_0x692c52=_0x1b11cd);else{if(_0x22f528===0x20||_0x22f528===0x9)_0xc022f===-0x1&&_0x692c52!==-0x1&&(_0xc022f=_0x1b11cd);else{if(_0x22f528===0x3b||_0x22f528===0x2c){if(_0x692c52===-0x1)throw new SyntaxError(_0x311df2(0x383)+_0x1b11cd);_0xc022f===-0x1&&(_0xc022f=_0x1b11cd),_0x413c1d(_0x3fd36b,_0x21dae8['slice'](_0x692c52,_0xc022f),!0x0),_0x22f528===0x2c&&(_0x413c1d(_0x107cf4,_0x112156,_0x3fd36b),_0x3fd36b=Object[_0x311df2(0x32a)](null),_0x112156=void 0x0),_0x692c52=_0xc022f=-0x1;}else{if(_0x22f528===0x3d&&_0x692c52!==-0x1&&_0xc022f===-0x1)_0xcf41b5=_0x21dae8[_0x311df2(0x218)](_0x692c52,_0x1b11cd),_0x692c52=_0xc022f=-0x1;else throw new SyntaxError(_0x311df2(0x383)+_0x1b11cd);}}}}else{if(_0x9f2077){if(_0x1a7f7d[_0x22f528]!==0x1)throw new SyntaxError(_0x311df2(0x383)+_0x1b11cd);_0x692c52===-0x1?_0x692c52=_0x1b11cd:_0xa608e2||(_0xa608e2=!0x0),_0x9f2077=!0x1;}else{if(_0x2ed2fb){if(_0x1a7f7d[_0x22f528]===0x1)_0x692c52===-0x1&&(_0x692c52=_0x1b11cd);else{if(_0x22f528===0x22&&_0x692c52!==-0x1)_0x2ed2fb=!0x1,_0xc022f=_0x1b11cd;else{if(_0x22f528===0x5c)_0x9f2077=!0x0;else throw new SyntaxError(_0x311df2(0x383)+_0x1b11cd);}}}else{if(_0x22f528===0x22&&_0x21dae8[_0x311df2(0x334)](_0x1b11cd-0x1)===0x3d)_0x2ed2fb=!0x0;else{if(_0xc022f===-0x1&&_0x1a7f7d[_0x22f528]===0x1)_0x692c52===-0x1&&(_0x692c52=_0x1b11cd);else{if(_0x692c52!==-0x1&&(_0x22f528===0x20||_0x22f528===0x9))_0xc022f===-0x1&&(_0xc022f=_0x1b11cd);else{if(_0x22f528===0x3b||_0x22f528===0x2c){if(_0x692c52===-0x1)throw new SyntaxError(_0x311df2(0x383)+_0x1b11cd);_0xc022f===-0x1&&(_0xc022f=_0x1b11cd);let _0x395946=_0x21dae8['slice'](_0x692c52,_0xc022f);_0xa608e2&&(_0x395946=_0x395946[_0x311df2(0x325)](/\\/g,''),_0xa608e2=!0x1),_0x413c1d(_0x3fd36b,_0xcf41b5,_0x395946),_0x22f528===0x2c&&(_0x413c1d(_0x107cf4,_0x112156,_0x3fd36b),_0x3fd36b=Object[_0x311df2(0x32a)](null),_0x112156=void 0x0),_0xcf41b5=void 0x0,_0x692c52=_0xc022f=-0x1;}else throw new SyntaxError(_0x311df2(0x383)+_0x1b11cd);}}}}}}}if(_0x692c52===-0x1||_0x2ed2fb||_0x22f528===0x20||_0x22f528===0x9)throw new SyntaxError(_0x311df2(0x347));_0xc022f===-0x1&&(_0xc022f=_0x1b11cd);const _0x495500=_0x21dae8[_0x311df2(0x218)](_0x692c52,_0xc022f);return _0x112156===void 0x0?_0x413c1d(_0x107cf4,_0x495500,_0x3fd36b):(_0xcf41b5===void 0x0?_0x413c1d(_0x3fd36b,_0x495500,!0x0):_0xa608e2?_0x413c1d(_0x3fd36b,_0xcf41b5,_0x495500[_0x311df2(0x325)](/\\/g,'')):_0x413c1d(_0x3fd36b,_0xcf41b5,_0x495500),_0x413c1d(_0x107cf4,_0x112156,_0x3fd36b)),_0x107cf4;}function _0x20d8b8(_0x17e419){const _0x4f551b=_0x3013;return Object[_0x4f551b(0x1ed)](_0x17e419)[_0x4f551b(0x39a)](_0x19a70c=>{const _0x1c3062=_0x4f551b;let _0x3dba60=_0x17e419[_0x19a70c];return Array[_0x1c3062(0x278)](_0x3dba60)||(_0x3dba60=[_0x3dba60]),_0x3dba60['map'](_0x375dc0=>[_0x19a70c]['concat'](Object[_0x1c3062(0x1ed)](_0x375dc0)['map'](_0x4432bc=>{const _0x10049d=_0x1c3062;let _0x154ab3=_0x375dc0[_0x4432bc];return Array[_0x10049d(0x278)](_0x154ab3)||(_0x154ab3=[_0x154ab3]),_0x154ab3[_0x10049d(0x39a)](_0x4e98de=>_0x4e98de===!0x0?_0x4432bc:_0x4432bc+'='+_0x4e98de)[_0x10049d(0x1f6)](';\x20');}))['join'](';\x20'))['join'](',\x20');})[_0x4f551b(0x1f6)](',\x20');}return be={'format':_0x20d8b8,'parse':_0x8bf6b3},be;}var we,Je;function Pe(){const _0x37a8ae=_0x5beffb;if(Je)return we;Je=0x1;const _0x3987d1=nt,_0xb2e735=vt,_0x3966ee=ot,_0x24d413=St,_0x2bc716=Et,{randomBytes:_0x3488a2,createHash:_0x321552}=Le,{Duplex:_0x4ffda6,Readable:_0x18fc05}=oe,{URL:_0x2ba6a5}=xt,_0x89ed0f=he(),_0xbbebf1=lt(),_0x20c64f=ft(),{isBlob:_0x2f2897}=ae(),{BINARY_TYPES:_0xda1db4,EMPTY_BUFFER:_0x1d9e41,GUID:_0x123903,kForOnEventAttribute:_0x562084,kListener:_0x27ecee,kStatusCode:_0x593d54,kWebSocket:_0x5db769,NOOP:_0x46b379}=H(),{EventTarget:{addEventListener:_0x181630,removeEventListener:_0x5b4b05}}=It(),{format:_0x47acc9,parse:_0x92cb85}=ct(),{toBuffer:_0x84c26e}=ce(),_0x4609f1=0x1e*0x3e8,_0x2c8b8a=Symbol(_0x37a8ae(0x352)),_0x54fedd=[0x8,0xd],_0xf86332=[_0x37a8ae(0x263),_0x37a8ae(0x2ee),_0x37a8ae(0x2a6),_0x37a8ae(0x224)],_0x190353=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x637591 extends _0x3987d1{constructor(_0x1d4bc8,_0x4dbd4a,_0x577cce){const _0x33a96a=_0x37a8ae;super(),this['_binaryType']=_0xda1db4[0x0],this[_0x33a96a(0x1eb)]=0x3ee,this[_0x33a96a(0x394)]=!0x1,this[_0x33a96a(0x307)]=!0x1,this[_0x33a96a(0x21f)]=_0x1d9e41,this['_closeTimer']=null,this[_0x33a96a(0x210)]=!0x1,this[_0x33a96a(0x284)]={},this[_0x33a96a(0x2b6)]=!0x1,this['_protocol']='',this[_0x33a96a(0x38e)]=_0x637591[_0x33a96a(0x263)],this['_receiver']=null,this[_0x33a96a(0x340)]=null,this[_0x33a96a(0x333)]=null,_0x1d4bc8!==null?(this[_0x33a96a(0x341)]=0x0,this['_isServer']=!0x1,this[_0x33a96a(0x3a0)]=0x0,_0x4dbd4a===void 0x0?_0x4dbd4a=[]:Array[_0x33a96a(0x278)](_0x4dbd4a)||(typeof _0x4dbd4a==_0x33a96a(0x38c)&&_0x4dbd4a!==null?(_0x577cce=_0x4dbd4a,_0x4dbd4a=[]):_0x4dbd4a=[_0x4dbd4a]),_0x302f45(this,_0x1d4bc8,_0x4dbd4a,_0x577cce)):(this[_0x33a96a(0x25f)]=_0x577cce['autoPong'],this[_0x33a96a(0x26e)]=!0x0);}get[_0x37a8ae(0x2be)](){const _0x155cbe=_0x37a8ae;return this[_0x155cbe(0x236)];}set[_0x37a8ae(0x2be)](_0x5ea620){const _0x32098d=_0x37a8ae;_0xda1db4['includes'](_0x5ea620)&&(this['_binaryType']=_0x5ea620,this[_0x32098d(0x33a)]&&(this[_0x32098d(0x33a)][_0x32098d(0x236)]=_0x5ea620));}get[_0x37a8ae(0x269)](){const _0x320b5d=_0x37a8ae;return this[_0x320b5d(0x333)]?this[_0x320b5d(0x333)][_0x320b5d(0x2ad)]['length']+this[_0x320b5d(0x340)][_0x320b5d(0x2d1)]:this[_0x320b5d(0x341)];}get[_0x37a8ae(0x33b)](){const _0x2abe6b=_0x37a8ae;return Object['keys'](this[_0x2abe6b(0x284)])[_0x2abe6b(0x1f6)]();}get['isPaused'](){return this['_paused'];}get[_0x37a8ae(0x208)](){return null;}get[_0x37a8ae(0x200)](){return null;}get[_0x37a8ae(0x262)](){return null;}get['onmessage'](){return null;}get[_0x37a8ae(0x29b)](){const _0x42bd81=_0x37a8ae;return this[_0x42bd81(0x282)];}get['readyState'](){const _0x2a14d2=_0x37a8ae;return this[_0x2a14d2(0x38e)];}get[_0x37a8ae(0x354)](){return this['_url'];}[_0x37a8ae(0x38d)](_0x527759,_0x2cc9d7,_0x2f1920){const _0x910710=_0x37a8ae,_0x67ebf2=new _0xbbebf1({'allowSynchronousEvents':_0x2f1920['allowSynchronousEvents'],'binaryType':this[_0x910710(0x2be)],'extensions':this[_0x910710(0x284)],'isServer':this['_isServer'],'maxPayload':_0x2f1920[_0x910710(0x226)],'skipUTF8Validation':_0x2f1920[_0x910710(0x1ff)]}),_0x108320=new _0x20c64f(_0x527759,this[_0x910710(0x284)],_0x2f1920[_0x910710(0x1f0)]);this[_0x910710(0x33a)]=_0x67ebf2,this[_0x910710(0x340)]=_0x108320,this[_0x910710(0x333)]=_0x527759,_0x67ebf2[_0x5db769]=this,_0x108320[_0x5db769]=this,_0x527759[_0x5db769]=this,_0x67ebf2['on'](_0x910710(0x1f4),_0x5851ca),_0x67ebf2['on'](_0x910710(0x20c),_0x1128e6),_0x67ebf2['on'](_0x910710(0x2cc),_0x3df432),_0x67ebf2['on'](_0x910710(0x39e),_0x40fa54),_0x67ebf2['on'](_0x910710(0x1e3),_0x1a0db4),_0x67ebf2['on'](_0x910710(0x27f),_0x48a7d9),_0x108320[_0x910710(0x200)]=_0x581f49,_0x527759['setTimeout']&&_0x527759[_0x910710(0x1f3)](0x0),_0x527759[_0x910710(0x34c)]&&_0x527759['setNoDelay'](),_0x2cc9d7[_0x910710(0x35a)]>0x0&&_0x527759['unshift'](_0x2cc9d7),_0x527759['on']('close',_0x512943),_0x527759['on'](_0x910710(0x385),_0x4bef7b),_0x527759['on']('end',_0x2eea67),_0x527759['on'](_0x910710(0x2cc),_0x556f12),this[_0x910710(0x38e)]=_0x637591['OPEN'],this[_0x910710(0x392)]('open');}[_0x37a8ae(0x3a9)](){const _0x2b21bb=_0x37a8ae;if(!this[_0x2b21bb(0x333)]){this[_0x2b21bb(0x38e)]=_0x637591[_0x2b21bb(0x224)],this[_0x2b21bb(0x392)](_0x2b21bb(0x304),this[_0x2b21bb(0x1eb)],this[_0x2b21bb(0x21f)]);return;}this[_0x2b21bb(0x284)][_0x89ed0f[_0x2b21bb(0x288)]]&&this[_0x2b21bb(0x284)][_0x89ed0f[_0x2b21bb(0x288)]][_0x2b21bb(0x37f)](),this[_0x2b21bb(0x33a)]['removeAllListeners'](),this[_0x2b21bb(0x38e)]=_0x637591['CLOSED'],this[_0x2b21bb(0x392)](_0x2b21bb(0x304),this[_0x2b21bb(0x1eb)],this[_0x2b21bb(0x21f)]);}[_0x37a8ae(0x304)](_0x25bb5e,_0xc788f7){const _0x2e1d10=_0x37a8ae;if(this[_0x2e1d10(0x26c)]!==_0x637591['CLOSED']){if(this[_0x2e1d10(0x26c)]===_0x637591['CONNECTING']){_0x22357c(this,this[_0x2e1d10(0x1e7)],_0x2e1d10(0x2de));return;}if(this[_0x2e1d10(0x26c)]===_0x637591[_0x2e1d10(0x2a6)]){this[_0x2e1d10(0x307)]&&(this[_0x2e1d10(0x394)]||this[_0x2e1d10(0x33a)][_0x2e1d10(0x2ad)][_0x2e1d10(0x323)])&&this[_0x2e1d10(0x333)]['end']();return;}this['_readyState']=_0x637591['CLOSING'],this['_sender']['close'](_0x25bb5e,_0xc788f7,!this[_0x2e1d10(0x26e)],_0x15292d=>{const _0x5dac00=_0x2e1d10;_0x15292d||(this[_0x5dac00(0x307)]=!0x0,(this['_closeFrameReceived']||this['_receiver'][_0x5dac00(0x2ad)]['errorEmitted'])&&this[_0x5dac00(0x333)]['end']());}),_0x15560b(this);}}[_0x37a8ae(0x221)](){const _0x27b95c=_0x37a8ae;this[_0x27b95c(0x26c)]===_0x637591[_0x27b95c(0x263)]||this[_0x27b95c(0x26c)]===_0x637591[_0x27b95c(0x224)]||(this[_0x27b95c(0x2b6)]=!0x0,this['_socket']['pause']());}[_0x37a8ae(0x1e3)](_0x7cf970,_0x212bcc,_0xd62eea){const _0x2084a1=_0x37a8ae;if(this[_0x2084a1(0x26c)]===_0x637591[_0x2084a1(0x263)])throw new Error(_0x2084a1(0x36e));if(typeof _0x7cf970==_0x2084a1(0x26d)?(_0xd62eea=_0x7cf970,_0x7cf970=_0x212bcc=void 0x0):typeof _0x212bcc==_0x2084a1(0x26d)&&(_0xd62eea=_0x212bcc,_0x212bcc=void 0x0),typeof _0x7cf970==_0x2084a1(0x2c6)&&(_0x7cf970=_0x7cf970[_0x2084a1(0x287)]()),this[_0x2084a1(0x26c)]!==_0x637591[_0x2084a1(0x2ee)]){_0x541883(this,_0x7cf970,_0xd62eea);return;}_0x212bcc===void 0x0&&(_0x212bcc=!this['_isServer']),this[_0x2084a1(0x340)][_0x2084a1(0x1e3)](_0x7cf970||_0x1d9e41,_0x212bcc,_0xd62eea);}[_0x37a8ae(0x27f)](_0x16d95d,_0x2cf274,_0x45ffda){const _0x3bc3df=_0x37a8ae;if(this['readyState']===_0x637591[_0x3bc3df(0x263)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x16d95d==_0x3bc3df(0x26d)?(_0x45ffda=_0x16d95d,_0x16d95d=_0x2cf274=void 0x0):typeof _0x2cf274==_0x3bc3df(0x26d)&&(_0x45ffda=_0x2cf274,_0x2cf274=void 0x0),typeof _0x16d95d==_0x3bc3df(0x2c6)&&(_0x16d95d=_0x16d95d[_0x3bc3df(0x287)]()),this[_0x3bc3df(0x26c)]!==_0x637591[_0x3bc3df(0x2ee)]){_0x541883(this,_0x16d95d,_0x45ffda);return;}_0x2cf274===void 0x0&&(_0x2cf274=!this[_0x3bc3df(0x26e)]),this[_0x3bc3df(0x340)]['pong'](_0x16d95d||_0x1d9e41,_0x2cf274,_0x45ffda);}[_0x37a8ae(0x20a)](){const _0x2ced46=_0x37a8ae;this[_0x2ced46(0x26c)]===_0x637591[_0x2ced46(0x263)]||this[_0x2ced46(0x26c)]===_0x637591['CLOSED']||(this['_paused']=!0x1,this[_0x2ced46(0x33a)][_0x2ced46(0x2ad)][_0x2ced46(0x336)]||this[_0x2ced46(0x333)][_0x2ced46(0x20a)]());}['send'](_0x246eb5,_0x4bba81,_0x29ebd9){const _0x20f6f5=_0x37a8ae;if(this[_0x20f6f5(0x26c)]===_0x637591[_0x20f6f5(0x263)])throw new Error(_0x20f6f5(0x36e));if(typeof _0x4bba81==_0x20f6f5(0x26d)&&(_0x29ebd9=_0x4bba81,_0x4bba81={}),typeof _0x246eb5==_0x20f6f5(0x2c6)&&(_0x246eb5=_0x246eb5[_0x20f6f5(0x287)]()),this[_0x20f6f5(0x26c)]!==_0x637591['OPEN']){_0x541883(this,_0x246eb5,_0x29ebd9);return;}const _0x549fb4={'binary':typeof _0x246eb5!=_0x20f6f5(0x2f2),'mask':!this[_0x20f6f5(0x26e)],'compress':!0x0,'fin':!0x0,..._0x4bba81};this[_0x20f6f5(0x284)][_0x89ed0f[_0x20f6f5(0x288)]]||(_0x549fb4[_0x20f6f5(0x1ee)]=!0x1),this[_0x20f6f5(0x340)][_0x20f6f5(0x343)](_0x246eb5||_0x1d9e41,_0x549fb4,_0x29ebd9);}[_0x37a8ae(0x36b)](){const _0x180b63=_0x37a8ae;if(this[_0x180b63(0x26c)]!==_0x637591[_0x180b63(0x224)]){if(this['readyState']===_0x637591[_0x180b63(0x263)]){_0x22357c(this,this['_req'],_0x180b63(0x2de));return;}this['_socket']&&(this[_0x180b63(0x38e)]=_0x637591['CLOSING'],this[_0x180b63(0x333)]['destroy']());}}}Object[_0x37a8ae(0x302)](_0x637591,_0x37a8ae(0x263),{'enumerable':!0x0,'value':_0xf86332[_0x37a8ae(0x28a)](_0x37a8ae(0x263))}),Object[_0x37a8ae(0x302)](_0x637591[_0x37a8ae(0x2cd)],'CONNECTING',{'enumerable':!0x0,'value':_0xf86332[_0x37a8ae(0x28a)](_0x37a8ae(0x263))}),Object['defineProperty'](_0x637591,'OPEN',{'enumerable':!0x0,'value':_0xf86332[_0x37a8ae(0x28a)](_0x37a8ae(0x2ee))}),Object[_0x37a8ae(0x302)](_0x637591[_0x37a8ae(0x2cd)],_0x37a8ae(0x2ee),{'enumerable':!0x0,'value':_0xf86332[_0x37a8ae(0x28a)]('OPEN')}),Object[_0x37a8ae(0x302)](_0x637591,_0x37a8ae(0x2a6),{'enumerable':!0x0,'value':_0xf86332[_0x37a8ae(0x28a)](_0x37a8ae(0x2a6))}),Object[_0x37a8ae(0x302)](_0x637591[_0x37a8ae(0x2cd)],_0x37a8ae(0x2a6),{'enumerable':!0x0,'value':_0xf86332[_0x37a8ae(0x28a)]('CLOSING')}),Object[_0x37a8ae(0x302)](_0x637591,_0x37a8ae(0x224),{'enumerable':!0x0,'value':_0xf86332['indexOf'](_0x37a8ae(0x224))}),Object[_0x37a8ae(0x302)](_0x637591[_0x37a8ae(0x2cd)],_0x37a8ae(0x224),{'enumerable':!0x0,'value':_0xf86332['indexOf']('CLOSED')}),[_0x37a8ae(0x2be),_0x37a8ae(0x269),'extensions',_0x37a8ae(0x2c0),_0x37a8ae(0x29b),_0x37a8ae(0x26c),_0x37a8ae(0x354)][_0x37a8ae(0x1dc)](_0x1aedd6=>{const _0x457f2a=_0x37a8ae;Object[_0x457f2a(0x302)](_0x637591[_0x457f2a(0x2cd)],_0x1aedd6,{'enumerable':!0x0});}),[_0x37a8ae(0x2c9),_0x37a8ae(0x2cc),_0x37a8ae(0x304),_0x37a8ae(0x39e)][_0x37a8ae(0x1dc)](_0x5e4d67=>{const _0x7b754=_0x37a8ae;Object[_0x7b754(0x302)](_0x637591[_0x7b754(0x2cd)],'on'+_0x5e4d67,{'enumerable':!0x0,'get'(){for(const _0x3e27a5 of this['listeners'](_0x5e4d67))if(_0x3e27a5[_0x562084])return _0x3e27a5[_0x27ecee];return null;},'set'(_0x4e77ec){const _0x5884d2=_0x7b754;for(const _0x1151a6 of this[_0x5884d2(0x2c8)](_0x5e4d67))if(_0x1151a6[_0x562084]){this[_0x5884d2(0x1ef)](_0x5e4d67,_0x1151a6);break;}typeof _0x4e77ec==_0x5884d2(0x26d)&&this[_0x5884d2(0x30f)](_0x5e4d67,_0x4e77ec,{[_0x562084]:!0x0});}});}),_0x637591[_0x37a8ae(0x2cd)]['addEventListener']=_0x181630,_0x637591[_0x37a8ae(0x2cd)][_0x37a8ae(0x379)]=_0x5b4b05,we=_0x637591;function _0x302f45(_0x4fe1ca,_0x2e71f2,_0x98340,_0x37913d){const _0x44e9d3=_0x37a8ae,_0x25c3ba={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x54fedd[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x37913d,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x44e9d3(0x367),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4fe1ca[_0x44e9d3(0x25f)]=_0x25c3ba[_0x44e9d3(0x276)],!_0x54fedd[_0x44e9d3(0x2cb)](_0x25c3ba['protocolVersion']))throw new RangeError(_0x44e9d3(0x30b)+_0x25c3ba[_0x44e9d3(0x345)]+_0x44e9d3(0x230)+_0x54fedd['join'](',\x20')+')');let _0x31def8;if(_0x2e71f2 instanceof _0x2ba6a5)_0x31def8=_0x2e71f2;else try{_0x31def8=new _0x2ba6a5(_0x2e71f2);}catch{throw new SyntaxError(_0x44e9d3(0x38a)+_0x2e71f2);}_0x31def8[_0x44e9d3(0x29b)]===_0x44e9d3(0x321)?_0x31def8[_0x44e9d3(0x29b)]='ws:':_0x31def8[_0x44e9d3(0x29b)]==='https:'&&(_0x31def8['protocol']=_0x44e9d3(0x258)),_0x4fe1ca[_0x44e9d3(0x32d)]=_0x31def8[_0x44e9d3(0x3a2)];const _0x417dd1=_0x31def8[_0x44e9d3(0x29b)]===_0x44e9d3(0x258),_0x39cdcc=_0x31def8[_0x44e9d3(0x29b)]===_0x44e9d3(0x251);let _0x36f0a1;if(_0x31def8['protocol']!==_0x44e9d3(0x2fd)&&!_0x417dd1&&!_0x39cdcc?_0x36f0a1=_0x44e9d3(0x35e):_0x39cdcc&&!_0x31def8[_0x44e9d3(0x2f9)]?_0x36f0a1=_0x44e9d3(0x3a6):_0x31def8['hash']&&(_0x36f0a1='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x36f0a1){const _0x2ebc2a=new SyntaxError(_0x36f0a1);if(_0x4fe1ca[_0x44e9d3(0x3a0)]===0x0)throw _0x2ebc2a;_0x11c916(_0x4fe1ca,_0x2ebc2a);return;}const _0x67fbfe=_0x417dd1?0x1bb:0x50,_0x4be2e5=_0x3488a2(0x10)[_0x44e9d3(0x287)](_0x44e9d3(0x2dd)),_0x3532af=_0x417dd1?_0xb2e735['request']:_0x3966ee[_0x44e9d3(0x330)],_0x3eab15=new Set();let _0x3b26d2;if(_0x25c3ba['createConnection']=_0x25c3ba[_0x44e9d3(0x344)]||(_0x417dd1?_0x555945:_0x26c9bb),_0x25c3ba[_0x44e9d3(0x246)]=_0x25c3ba[_0x44e9d3(0x246)]||_0x67fbfe,_0x25c3ba[_0x44e9d3(0x1fc)]=_0x31def8['port']||_0x67fbfe,_0x25c3ba[_0x44e9d3(0x2ac)]=_0x31def8[_0x44e9d3(0x25e)]['startsWith']('[')?_0x31def8[_0x44e9d3(0x25e)]['slice'](0x1,-0x1):_0x31def8[_0x44e9d3(0x25e)],_0x25c3ba[_0x44e9d3(0x368)]={..._0x25c3ba['headers'],'Sec-WebSocket-Version':_0x25c3ba[_0x44e9d3(0x345)],'Sec-WebSocket-Key':_0x4be2e5,'Connection':_0x44e9d3(0x329),'Upgrade':_0x44e9d3(0x35d)},_0x25c3ba[_0x44e9d3(0x31a)]=_0x31def8[_0x44e9d3(0x2f9)]+_0x31def8[_0x44e9d3(0x32f)],_0x25c3ba['timeout']=_0x25c3ba[_0x44e9d3(0x29a)],_0x25c3ba['perMessageDeflate']&&(_0x3b26d2=new _0x89ed0f(_0x25c3ba[_0x44e9d3(0x2eb)]!==!0x0?_0x25c3ba[_0x44e9d3(0x2eb)]:{},!0x1,_0x25c3ba[_0x44e9d3(0x226)]),_0x25c3ba[_0x44e9d3(0x368)][_0x44e9d3(0x21b)]=_0x47acc9({[_0x89ed0f[_0x44e9d3(0x288)]]:_0x3b26d2[_0x44e9d3(0x301)]()})),_0x98340[_0x44e9d3(0x35a)]){for(const _0x25649a of _0x98340){if(typeof _0x25649a!='string'||!_0x190353[_0x44e9d3(0x306)](_0x25649a)||_0x3eab15[_0x44e9d3(0x2bd)](_0x25649a))throw new SyntaxError(_0x44e9d3(0x372));_0x3eab15['add'](_0x25649a);}_0x25c3ba[_0x44e9d3(0x368)]['Sec-WebSocket-Protocol']=_0x98340[_0x44e9d3(0x1f6)](',');}if(_0x25c3ba[_0x44e9d3(0x2fc)]&&(_0x25c3ba[_0x44e9d3(0x345)]<0xd?_0x25c3ba['headers'][_0x44e9d3(0x266)]=_0x25c3ba[_0x44e9d3(0x2fc)]:_0x25c3ba[_0x44e9d3(0x368)][_0x44e9d3(0x242)]=_0x25c3ba[_0x44e9d3(0x2fc)]),(_0x31def8['username']||_0x31def8[_0x44e9d3(0x388)])&&(_0x25c3ba[_0x44e9d3(0x324)]=_0x31def8[_0x44e9d3(0x2da)]+':'+_0x31def8[_0x44e9d3(0x388)]),_0x39cdcc){const _0x1647cd=_0x25c3ba[_0x44e9d3(0x31a)][_0x44e9d3(0x2d0)](':');_0x25c3ba['socketPath']=_0x1647cd[0x0],_0x25c3ba['path']=_0x1647cd[0x1];}let _0x11e468;if(_0x25c3ba['followRedirects']){if(_0x4fe1ca[_0x44e9d3(0x3a0)]===0x0){_0x4fe1ca['_originalIpc']=_0x39cdcc,_0x4fe1ca[_0x44e9d3(0x2e1)]=_0x417dd1,_0x4fe1ca[_0x44e9d3(0x1dd)]=_0x39cdcc?_0x25c3ba['socketPath']:_0x31def8[_0x44e9d3(0x2ac)];const _0xe2e894=_0x37913d&&_0x37913d[_0x44e9d3(0x368)];if(_0x37913d={..._0x37913d,'headers':{}},_0xe2e894){for(const [_0x42515b,_0x2f782d]of Object[_0x44e9d3(0x254)](_0xe2e894))_0x37913d['headers'][_0x42515b['toLowerCase']()]=_0x2f782d;}}else{if(_0x4fe1ca[_0x44e9d3(0x2e7)](_0x44e9d3(0x285))===0x0){const _0x4257c0=_0x39cdcc?_0x4fe1ca[_0x44e9d3(0x20d)]?_0x25c3ba['socketPath']===_0x4fe1ca[_0x44e9d3(0x1dd)]:!0x1:_0x4fe1ca[_0x44e9d3(0x20d)]?!0x1:_0x31def8[_0x44e9d3(0x2ac)]===_0x4fe1ca['_originalHostOrSocketPath'];(!_0x4257c0||_0x4fe1ca[_0x44e9d3(0x2e1)]&&!_0x417dd1)&&(delete _0x25c3ba['headers'][_0x44e9d3(0x355)],delete _0x25c3ba[_0x44e9d3(0x368)]['cookie'],_0x4257c0||delete _0x25c3ba[_0x44e9d3(0x368)][_0x44e9d3(0x2ac)],_0x25c3ba[_0x44e9d3(0x324)]=void 0x0);}}_0x25c3ba[_0x44e9d3(0x324)]&&!_0x37913d[_0x44e9d3(0x368)][_0x44e9d3(0x355)]&&(_0x37913d['headers'][_0x44e9d3(0x355)]=_0x44e9d3(0x2fa)+Buffer[_0x44e9d3(0x2b7)](_0x25c3ba[_0x44e9d3(0x324)])[_0x44e9d3(0x287)]('base64')),_0x11e468=_0x4fe1ca[_0x44e9d3(0x1e7)]=_0x3532af(_0x25c3ba),_0x4fe1ca[_0x44e9d3(0x3a0)]&&_0x4fe1ca[_0x44e9d3(0x392)]('redirect',_0x4fe1ca[_0x44e9d3(0x354)],_0x11e468);}else _0x11e468=_0x4fe1ca[_0x44e9d3(0x1e7)]=_0x3532af(_0x25c3ba);_0x25c3ba[_0x44e9d3(0x28d)]&&_0x11e468['on'](_0x44e9d3(0x28d),()=>{_0x22357c(_0x4fe1ca,_0x11e468,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x11e468['on'](_0x44e9d3(0x2cc),_0x25d38b=>{const _0x41717c=_0x44e9d3;_0x11e468===null||_0x11e468[_0x2c8b8a]||(_0x11e468=_0x4fe1ca[_0x41717c(0x1e7)]=null,_0x11c916(_0x4fe1ca,_0x25d38b));}),_0x11e468['on'](_0x44e9d3(0x28b),_0x300b23=>{const _0x5ccfba=_0x44e9d3,_0xa5cda8=_0x300b23[_0x5ccfba(0x368)][_0x5ccfba(0x2e9)],_0x4a24cb=_0x300b23[_0x5ccfba(0x227)];if(_0xa5cda8&&_0x25c3ba['followRedirects']&&_0x4a24cb>=0x12c&&_0x4a24cb<0x190){if(++_0x4fe1ca['_redirects']>_0x25c3ba[_0x5ccfba(0x38f)]){_0x22357c(_0x4fe1ca,_0x11e468,_0x5ccfba(0x264));return;}_0x11e468[_0x5ccfba(0x1ea)]();let _0x7ffa91;try{_0x7ffa91=new _0x2ba6a5(_0xa5cda8,_0x2e71f2);}catch{const _0x5927f4=new SyntaxError(_0x5ccfba(0x38a)+_0xa5cda8);_0x11c916(_0x4fe1ca,_0x5927f4);return;}_0x302f45(_0x4fe1ca,_0x7ffa91,_0x98340,_0x37913d);}else _0x4fe1ca[_0x5ccfba(0x392)]('unexpected-response',_0x11e468,_0x300b23)||_0x22357c(_0x4fe1ca,_0x11e468,_0x5ccfba(0x32c)+_0x300b23[_0x5ccfba(0x227)]);}),_0x11e468['on']('upgrade',(_0x2a605a,_0x321ed3,_0x132352)=>{const _0x70903b=_0x44e9d3;if(_0x4fe1ca['emit'](_0x70903b(0x386),_0x2a605a),_0x4fe1ca[_0x70903b(0x26c)]!==_0x637591[_0x70903b(0x263)])return;_0x11e468=_0x4fe1ca[_0x70903b(0x1e7)]=null;const _0x38a270=_0x2a605a['headers']['upgrade'];if(_0x38a270===void 0x0||_0x38a270['toLowerCase']()!==_0x70903b(0x35d)){_0x22357c(_0x4fe1ca,_0x321ed3,_0x70903b(0x34b));return;}const _0x55c9c4=_0x321552(_0x70903b(0x2ec))[_0x70903b(0x280)](_0x4be2e5+_0x123903)[_0x70903b(0x35b)](_0x70903b(0x2dd));if(_0x2a605a[_0x70903b(0x368)][_0x70903b(0x245)]!==_0x55c9c4){_0x22357c(_0x4fe1ca,_0x321ed3,_0x70903b(0x3ab));return;}const _0x3fddbf=_0x2a605a['headers'][_0x70903b(0x23d)];let _0x36d9be;if(_0x3fddbf!==void 0x0?_0x3eab15['size']?_0x3eab15[_0x70903b(0x2bd)](_0x3fddbf)||(_0x36d9be=_0x70903b(0x261)):_0x36d9be=_0x70903b(0x300):_0x3eab15[_0x70903b(0x339)]&&(_0x36d9be=_0x70903b(0x326)),_0x36d9be){_0x22357c(_0x4fe1ca,_0x321ed3,_0x36d9be);return;}_0x3fddbf&&(_0x4fe1ca['_protocol']=_0x3fddbf);const _0xa642db=_0x2a605a['headers'][_0x70903b(0x24e)];if(_0xa642db!==void 0x0){if(!_0x3b26d2){_0x22357c(_0x4fe1ca,_0x321ed3,_0x70903b(0x33c));return;}let _0x4261e9;try{_0x4261e9=_0x92cb85(_0xa642db);}catch{_0x22357c(_0x4fe1ca,_0x321ed3,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0xfd132a=Object[_0x70903b(0x1ed)](_0x4261e9);if(_0xfd132a['length']!==0x1||_0xfd132a[0x0]!==_0x89ed0f[_0x70903b(0x288)]){_0x22357c(_0x4fe1ca,_0x321ed3,_0x70903b(0x363));return;}try{_0x3b26d2['accept'](_0x4261e9[_0x89ed0f['extensionName']]);}catch{_0x22357c(_0x4fe1ca,_0x321ed3,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x4fe1ca[_0x70903b(0x284)][_0x89ed0f['extensionName']]=_0x3b26d2;}_0x4fe1ca['setSocket'](_0x321ed3,_0x132352,{'allowSynchronousEvents':_0x25c3ba['allowSynchronousEvents'],'generateMask':_0x25c3ba['generateMask'],'maxPayload':_0x25c3ba[_0x70903b(0x226)],'skipUTF8Validation':_0x25c3ba[_0x70903b(0x1ff)]});}),_0x25c3ba['finishRequest']?_0x25c3ba['finishRequest'](_0x11e468,_0x4fe1ca):_0x11e468[_0x44e9d3(0x267)]();}function _0x11c916(_0x155a96,_0x36d123){const _0x722eda=_0x37a8ae;_0x155a96[_0x722eda(0x38e)]=_0x637591['CLOSING'],_0x155a96['_errorEmitted']=!0x0,_0x155a96[_0x722eda(0x392)](_0x722eda(0x2cc),_0x36d123),_0x155a96[_0x722eda(0x3a9)]();}function _0x26c9bb(_0x41fa87){const _0x54a7b5=_0x37a8ae;return _0x41fa87[_0x54a7b5(0x31a)]=_0x41fa87[_0x54a7b5(0x2a7)],_0x24d413[_0x54a7b5(0x387)](_0x41fa87);}function _0x555945(_0x3fe1ca){const _0x592e16=_0x37a8ae;return _0x3fe1ca['path']=void 0x0,!_0x3fe1ca[_0x592e16(0x293)]&&_0x3fe1ca[_0x592e16(0x293)]!==''&&(_0x3fe1ca[_0x592e16(0x293)]=_0x24d413[_0x592e16(0x3aa)](_0x3fe1ca[_0x592e16(0x2ac)])?'':_0x3fe1ca[_0x592e16(0x2ac)]),_0x2bc716[_0x592e16(0x387)](_0x3fe1ca);}function _0x22357c(_0x2a7e10,_0x51d34a,_0x53af08){const _0x45dba9=_0x37a8ae;_0x2a7e10['_readyState']=_0x637591[_0x45dba9(0x2a6)];const _0x35416f=new Error(_0x53af08);Error[_0x45dba9(0x2d2)](_0x35416f,_0x22357c),_0x51d34a[_0x45dba9(0x27c)]?(_0x51d34a[_0x2c8b8a]=!0x0,_0x51d34a[_0x45dba9(0x1ea)](),_0x51d34a[_0x45dba9(0x223)]&&!_0x51d34a[_0x45dba9(0x223)][_0x45dba9(0x34a)]&&_0x51d34a['socket'][_0x45dba9(0x399)](),process['nextTick'](_0x11c916,_0x2a7e10,_0x35416f)):(_0x51d34a[_0x45dba9(0x399)](_0x35416f),_0x51d34a['once'](_0x45dba9(0x2cc),_0x2a7e10[_0x45dba9(0x392)]['bind'](_0x2a7e10,'error')),_0x51d34a[_0x45dba9(0x2df)](_0x45dba9(0x304),_0x2a7e10[_0x45dba9(0x3a9)]['bind'](_0x2a7e10)));}function _0x541883(_0x213ebe,_0x2fcc10,_0x5af15d){const _0x12dc09=_0x37a8ae;if(_0x2fcc10){const _0x256d9f=_0x2f2897(_0x2fcc10)?_0x2fcc10[_0x12dc09(0x339)]:_0x84c26e(_0x2fcc10)[_0x12dc09(0x35a)];_0x213ebe[_0x12dc09(0x333)]?_0x213ebe[_0x12dc09(0x340)][_0x12dc09(0x2d1)]+=_0x256d9f:_0x213ebe['_bufferedAmount']+=_0x256d9f;}if(_0x5af15d){const _0x5ad286=new Error(_0x12dc09(0x312)+_0x213ebe['readyState']+'\x20('+_0xf86332[_0x213ebe['readyState']]+')');process['nextTick'](_0x5af15d,_0x5ad286);}}function _0x5851ca(_0x557128,_0x3882cd){const _0x4e0da4=_0x37a8ae,_0x22d79e=this[_0x5db769];_0x22d79e[_0x4e0da4(0x394)]=!0x0,_0x22d79e['_closeMessage']=_0x3882cd,_0x22d79e[_0x4e0da4(0x1eb)]=_0x557128,_0x22d79e[_0x4e0da4(0x333)][_0x5db769]!==void 0x0&&(_0x22d79e[_0x4e0da4(0x333)][_0x4e0da4(0x1ef)]('data',_0x4bef7b),process[_0x4e0da4(0x29e)](_0x46132b,_0x22d79e[_0x4e0da4(0x333)]),_0x557128===0x3ed?_0x22d79e['close']():_0x22d79e[_0x4e0da4(0x304)](_0x557128,_0x3882cd));}function _0x1128e6(){const _0x565f87=_0x37a8ae,_0x30e521=this[_0x5db769];_0x30e521[_0x565f87(0x2c0)]||_0x30e521[_0x565f87(0x333)][_0x565f87(0x20a)]();}function _0x3df432(_0x15387b){const _0x92a3f4=_0x37a8ae,_0x2ab35e=this[_0x5db769];_0x2ab35e[_0x92a3f4(0x333)][_0x5db769]!==void 0x0&&(_0x2ab35e[_0x92a3f4(0x333)][_0x92a3f4(0x1ef)](_0x92a3f4(0x385),_0x4bef7b),process[_0x92a3f4(0x29e)](_0x46132b,_0x2ab35e[_0x92a3f4(0x333)]),_0x2ab35e['close'](_0x15387b[_0x593d54])),_0x2ab35e[_0x92a3f4(0x210)]||(_0x2ab35e[_0x92a3f4(0x210)]=!0x0,_0x2ab35e[_0x92a3f4(0x392)](_0x92a3f4(0x2cc),_0x15387b));}function _0x1476a6(){const _0x5d3fed=_0x37a8ae;this[_0x5db769][_0x5d3fed(0x3a9)]();}function _0x40fa54(_0x59f1b1,_0x23172a){const _0x72c60e=_0x37a8ae;this[_0x5db769][_0x72c60e(0x392)]('message',_0x59f1b1,_0x23172a);}function _0x1a0db4(_0x302372){const _0x5b2a13=_0x37a8ae,_0x2c9898=this[_0x5db769];_0x2c9898[_0x5b2a13(0x25f)]&&_0x2c9898[_0x5b2a13(0x27f)](_0x302372,!this[_0x5b2a13(0x26e)],_0x46b379),_0x2c9898[_0x5b2a13(0x392)](_0x5b2a13(0x1e3),_0x302372);}function _0x48a7d9(_0x7d7b30){const _0x4ed8b5=_0x37a8ae;this[_0x5db769][_0x4ed8b5(0x392)](_0x4ed8b5(0x27f),_0x7d7b30);}function _0x46132b(_0x30819b){const _0x398855=_0x37a8ae;_0x30819b[_0x398855(0x20a)]();}function _0x581f49(_0x3131cf){const _0x346bfe=_0x37a8ae,_0x33ec0d=this[_0x5db769];_0x33ec0d[_0x346bfe(0x26c)]!==_0x637591['CLOSED']&&(_0x33ec0d[_0x346bfe(0x26c)]===_0x637591['OPEN']&&(_0x33ec0d[_0x346bfe(0x38e)]=_0x637591[_0x346bfe(0x2a6)],_0x15560b(_0x33ec0d)),this[_0x346bfe(0x333)][_0x346bfe(0x267)](),_0x33ec0d[_0x346bfe(0x210)]||(_0x33ec0d[_0x346bfe(0x210)]=!0x0,_0x33ec0d[_0x346bfe(0x392)](_0x346bfe(0x2cc),_0x3131cf)));}function _0x15560b(_0x586300){const _0xd1ac39=_0x37a8ae;_0x586300[_0xd1ac39(0x2fb)]=setTimeout(_0x586300[_0xd1ac39(0x333)]['destroy'][_0xd1ac39(0x384)](_0x586300[_0xd1ac39(0x333)]),_0x4609f1);}function _0x512943(){const _0x482e4d=_0x37a8ae,_0x105fab=this[_0x5db769];this[_0x482e4d(0x1ef)](_0x482e4d(0x304),_0x512943),this['removeListener']('data',_0x4bef7b),this[_0x482e4d(0x1ef)](_0x482e4d(0x267),_0x2eea67),_0x105fab[_0x482e4d(0x38e)]=_0x637591[_0x482e4d(0x2a6)];let _0x1e750a;!this['_readableState'][_0x482e4d(0x391)]&&!_0x105fab[_0x482e4d(0x394)]&&!_0x105fab[_0x482e4d(0x33a)][_0x482e4d(0x2ad)][_0x482e4d(0x323)]&&(_0x1e750a=_0x105fab[_0x482e4d(0x333)]['read']())!==null&&_0x105fab['_receiver']['write'](_0x1e750a),_0x105fab[_0x482e4d(0x33a)]['end'](),this[_0x5db769]=void 0x0,clearTimeout(_0x105fab['_closeTimer']),_0x105fab[_0x482e4d(0x33a)]['_writableState'][_0x482e4d(0x37a)]||_0x105fab['_receiver'][_0x482e4d(0x2ad)]['errorEmitted']?_0x105fab[_0x482e4d(0x3a9)]():(_0x105fab['_receiver']['on'](_0x482e4d(0x2cc),_0x1476a6),_0x105fab[_0x482e4d(0x33a)]['on'](_0x482e4d(0x296),_0x1476a6));}function _0x4bef7b(_0x572af0){const _0x4c32a3=_0x37a8ae;this[_0x5db769][_0x4c32a3(0x33a)]['write'](_0x572af0)||this['pause']();}function _0x2eea67(){const _0x2b49da=_0x37a8ae,_0x49b7a5=this[_0x5db769];_0x49b7a5[_0x2b49da(0x38e)]=_0x637591[_0x2b49da(0x2a6)],_0x49b7a5[_0x2b49da(0x33a)]['end'](),this[_0x2b49da(0x267)]();}function _0x556f12(){const _0x20747e=_0x37a8ae,_0x39974c=this[_0x5db769];this[_0x20747e(0x1ef)](_0x20747e(0x2cc),_0x556f12),this['on'](_0x20747e(0x2cc),_0x46b379),_0x39974c&&(_0x39974c[_0x20747e(0x38e)]=_0x637591[_0x20747e(0x2a6)],this[_0x20747e(0x399)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x5f57a2}=oe;function _0x511bd0(_0x1b13f3){const _0x5152d9=_0x3013;_0x1b13f3[_0x5152d9(0x392)](_0x5152d9(0x304));}function _0xda33d7(){const _0x561525=_0x3013;!this['destroyed']&&this['_writableState']['finished']&&this[_0x561525(0x399)]();}function _0x338c2d(_0x5de54f){const _0x4b3f7c=_0x3013;this[_0x4b3f7c(0x1ef)](_0x4b3f7c(0x2cc),_0x338c2d),this[_0x4b3f7c(0x399)](),this['listenerCount'](_0x4b3f7c(0x2cc))===0x0&&this['emit'](_0x4b3f7c(0x2cc),_0x5de54f);}function _0x5778bb(_0x53f697,_0x253b62){const _0x553b79=_0x3013;let _0xffe257=!0x0;const _0x43858b=new _0x5f57a2({..._0x253b62,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x53f697['on']('message',function(_0x49ca31,_0x467b75){const _0x1321df=_0x3013,_0x140995=!_0x467b75&&_0x43858b[_0x1321df(0x2e2)][_0x1321df(0x2f3)]?_0x49ca31[_0x1321df(0x287)]():_0x49ca31;_0x43858b[_0x1321df(0x1fe)](_0x140995)||_0x53f697[_0x1321df(0x221)]();}),_0x53f697[_0x553b79(0x2df)]('error',function(_0x1596e2){const _0x32e517=_0x553b79;_0x43858b[_0x32e517(0x34a)]||(_0xffe257=!0x1,_0x43858b[_0x32e517(0x399)](_0x1596e2));}),_0x53f697[_0x553b79(0x2df)](_0x553b79(0x304),function(){const _0x10aa29=_0x553b79;_0x43858b[_0x10aa29(0x34a)]||_0x43858b[_0x10aa29(0x1fe)](null);}),_0x43858b[_0x553b79(0x319)]=function(_0x4519aa,_0x5bf150){const _0x2a4f14=_0x553b79;if(_0x53f697['readyState']===_0x53f697['CLOSED']){_0x5bf150(_0x4519aa),process[_0x2a4f14(0x29e)](_0x511bd0,_0x43858b);return;}let _0x298e3b=!0x1;_0x53f697[_0x2a4f14(0x2df)](_0x2a4f14(0x2cc),function(_0x1a13d3){_0x298e3b=!0x0,_0x5bf150(_0x1a13d3);}),_0x53f697['once']('close',function(){const _0x260a7c=_0x2a4f14;_0x298e3b||_0x5bf150(_0x4519aa),process[_0x260a7c(0x29e)](_0x511bd0,_0x43858b);}),_0xffe257&&_0x53f697[_0x2a4f14(0x36b)]();},_0x43858b[_0x553b79(0x23b)]=function(_0x5d6547){const _0x4d7a81=_0x553b79;if(_0x53f697[_0x4d7a81(0x26c)]===_0x53f697['CONNECTING']){_0x53f697[_0x4d7a81(0x2df)](_0x4d7a81(0x2c9),function(){const _0x3a3cee=_0x4d7a81;_0x43858b[_0x3a3cee(0x23b)](_0x5d6547);});return;}_0x53f697[_0x4d7a81(0x333)]!==null&&(_0x53f697[_0x4d7a81(0x333)][_0x4d7a81(0x2ad)][_0x4d7a81(0x37a)]?(_0x5d6547(),_0x43858b[_0x4d7a81(0x2e2)][_0x4d7a81(0x391)]&&_0x43858b[_0x4d7a81(0x399)]()):(_0x53f697[_0x4d7a81(0x333)][_0x4d7a81(0x2df)](_0x4d7a81(0x296),function(){_0x5d6547();}),_0x53f697[_0x4d7a81(0x304)]()));},_0x43858b['_read']=function(){const _0x1c24fb=_0x553b79;_0x53f697[_0x1c24fb(0x2c0)]&&_0x53f697['resume']();},_0x43858b[_0x553b79(0x2b4)]=function(_0xe3487a,_0x28f0ac,_0x1da5c4){const _0x3a120d=_0x553b79;if(_0x53f697['readyState']===_0x53f697[_0x3a120d(0x263)]){_0x53f697[_0x3a120d(0x2df)]('open',function(){_0x43858b['_write'](_0xe3487a,_0x28f0ac,_0x1da5c4);});return;}_0x53f697[_0x3a120d(0x343)](_0xe3487a,_0x1da5c4);},_0x43858b['on'](_0x553b79(0x267),_0xda33d7),_0x43858b['on']('error',_0x338c2d),_0x43858b;}return Oe=_0x5778bb,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x554534}=ae();function _0x200a15(_0x524d13){const _0xb8df3f=_0x3013,_0x3be0d3=new Set();let _0x4aebae=-0x1,_0x444017=-0x1,_0x152572=0x0;for(_0x152572;_0x152572<_0x524d13[_0xb8df3f(0x35a)];_0x152572++){const _0x1c3cda=_0x524d13[_0xb8df3f(0x334)](_0x152572);if(_0x444017===-0x1&&_0x554534[_0x1c3cda]===0x1)_0x4aebae===-0x1&&(_0x4aebae=_0x152572);else{if(_0x152572!==0x0&&(_0x1c3cda===0x20||_0x1c3cda===0x9))_0x444017===-0x1&&_0x4aebae!==-0x1&&(_0x444017=_0x152572);else{if(_0x1c3cda===0x2c){if(_0x4aebae===-0x1)throw new SyntaxError(_0xb8df3f(0x383)+_0x152572);_0x444017===-0x1&&(_0x444017=_0x152572);const _0x159f7b=_0x524d13[_0xb8df3f(0x218)](_0x4aebae,_0x444017);if(_0x3be0d3[_0xb8df3f(0x2bd)](_0x159f7b))throw new SyntaxError('The\x20\x22'+_0x159f7b+_0xb8df3f(0x2a1));_0x3be0d3[_0xb8df3f(0x23a)](_0x159f7b),_0x4aebae=_0x444017=-0x1;}else throw new SyntaxError(_0xb8df3f(0x383)+_0x152572);}}}if(_0x4aebae===-0x1||_0x444017!==-0x1)throw new SyntaxError(_0xb8df3f(0x347));const _0x1d9437=_0x524d13[_0xb8df3f(0x218)](_0x4aebae,_0x152572);if(_0x3be0d3[_0xb8df3f(0x2bd)](_0x1d9437))throw new SyntaxError(_0xb8df3f(0x33f)+_0x1d9437+_0xb8df3f(0x2a1));return _0x3be0d3['add'](_0x1d9437),_0x3be0d3;}return Ce={'parse':_0x200a15},Ce;}var Te,rt;function Ft(){const _0x29d444=_0x5beffb;if(rt)return Te;rt=0x1;const _0x20658=nt,_0x530d64=ot,{Duplex:_0x370dcd}=oe,{createHash:_0x176b3a}=Le,_0x31a1df=ct(),_0x58e862=he(),_0x4f5ac2=At(),_0x3bd35c=Pe(),{GUID:_0x2dccea,kWebSocket:_0x2c1af1}=H(),_0x2c1315=/^[+/0-9A-Za-z]{22}==$/,_0x49f9f6=0x0,_0x1b42d4=0x1,_0x4b145d=0x2;class _0x2b081b extends _0x20658{constructor(_0x4b909c,_0x201755){const _0x15749f=_0x3013;if(super(),_0x4b909c={'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':_0x3bd35c,..._0x4b909c},_0x4b909c['port']==null&&!_0x4b909c['server']&&!_0x4b909c[_0x15749f(0x238)]||_0x4b909c[_0x15749f(0x1fc)]!=null&&(_0x4b909c['server']||_0x4b909c[_0x15749f(0x238)])||_0x4b909c[_0x15749f(0x274)]&&_0x4b909c[_0x15749f(0x238)])throw new TypeError(_0x15749f(0x202));if(_0x4b909c[_0x15749f(0x1fc)]!=null?(this[_0x15749f(0x2cf)]=_0x530d64[_0x15749f(0x252)]((_0xfc66,_0x27dade)=>{const _0x388077=_0x15749f,_0x22c99e=_0x530d64[_0x388077(0x3a5)][0x1aa];_0x27dade[_0x388077(0x229)](0x1aa,{'Content-Length':_0x22c99e[_0x388077(0x35a)],'Content-Type':'text/plain'}),_0x27dade['end'](_0x22c99e);}),this['_server']['listen'](_0x4b909c[_0x15749f(0x1fc)],_0x4b909c[_0x15749f(0x2ac)],_0x4b909c[_0x15749f(0x29f)],_0x201755)):_0x4b909c[_0x15749f(0x274)]&&(this['_server']=_0x4b909c['server']),this[_0x15749f(0x2cf)]){const _0x10a597=this[_0x15749f(0x392)][_0x15749f(0x384)](this,_0x15749f(0x22c));this[_0x15749f(0x389)]=_0x4ebc16(this[_0x15749f(0x2cf)],{'listening':this[_0x15749f(0x392)][_0x15749f(0x384)](this,_0x15749f(0x2ae)),'error':this[_0x15749f(0x392)][_0x15749f(0x384)](this,_0x15749f(0x2cc)),'upgrade':(_0x1a0e0f,_0x4e8bd8,_0x1305b9)=>{this['handleUpgrade'](_0x1a0e0f,_0x4e8bd8,_0x1305b9,_0x10a597);}});}_0x4b909c[_0x15749f(0x2eb)]===!0x0&&(_0x4b909c[_0x15749f(0x2eb)]={}),_0x4b909c[_0x15749f(0x25d)]&&(this['clients']=new Set(),this[_0x15749f(0x308)]=!0x1),this['options']=_0x4b909c,this[_0x15749f(0x22d)]=_0x49f9f6;}[_0x29d444(0x255)](){const _0x6958e8=_0x29d444;if(this[_0x6958e8(0x2c2)][_0x6958e8(0x238)])throw new Error(_0x6958e8(0x217));return this[_0x6958e8(0x2cf)]?this[_0x6958e8(0x2cf)][_0x6958e8(0x255)]():null;}[_0x29d444(0x304)](_0xbc1e03){const _0xc9f422=_0x29d444;if(this[_0xc9f422(0x22d)]===_0x4b145d){_0xbc1e03&&this[_0xc9f422(0x2df)](_0xc9f422(0x304),()=>{const _0x41cff2=_0xc9f422;_0xbc1e03(new Error(_0x41cff2(0x3a1)));}),process[_0xc9f422(0x29e)](_0x327577,this);return;}if(_0xbc1e03&&this[_0xc9f422(0x2df)]('close',_0xbc1e03),this[_0xc9f422(0x22d)]!==_0x1b42d4){if(this[_0xc9f422(0x22d)]=_0x1b42d4,this[_0xc9f422(0x2c2)][_0xc9f422(0x238)]||this[_0xc9f422(0x2c2)][_0xc9f422(0x274)])this[_0xc9f422(0x2cf)]&&(this[_0xc9f422(0x389)](),this['_removeListeners']=this[_0xc9f422(0x2cf)]=null),this[_0xc9f422(0x2f6)]?this[_0xc9f422(0x2f6)][_0xc9f422(0x339)]?this[_0xc9f422(0x308)]=!0x0:process[_0xc9f422(0x29e)](_0x327577,this):process[_0xc9f422(0x29e)](_0x327577,this);else{const _0x1cdd8=this['_server'];this['_removeListeners'](),this['_removeListeners']=this[_0xc9f422(0x2cf)]=null,_0x1cdd8[_0xc9f422(0x304)](()=>{_0x327577(this);});}}}[_0x29d444(0x2ce)](_0xa425ab){const _0x5bbfc1=_0x29d444;if(this[_0x5bbfc1(0x2c2)]['path']){const _0x3dca76=_0xa425ab['url']['indexOf']('?');if((_0x3dca76!==-0x1?_0xa425ab[_0x5bbfc1(0x354)][_0x5bbfc1(0x218)](0x0,_0x3dca76):_0xa425ab[_0x5bbfc1(0x354)])!==this[_0x5bbfc1(0x2c2)]['path'])return!0x1;}return!0x0;}[_0x29d444(0x26b)](_0x202113,_0x86b3ec,_0x5c0e94,_0x7b9458){const _0x25ab5f=_0x29d444;_0x86b3ec['on'](_0x25ab5f(0x2cc),_0x2da4b7);const _0x3f13ce=_0x202113[_0x25ab5f(0x368)][_0x25ab5f(0x28e)],_0x537112=_0x202113[_0x25ab5f(0x368)][_0x25ab5f(0x386)],_0x2b727c=+_0x202113[_0x25ab5f(0x368)]['sec-websocket-version'];if(_0x202113[_0x25ab5f(0x1fb)]!==_0x25ab5f(0x367)){_0x5a7876(this,_0x202113,_0x86b3ec,0x195,_0x25ab5f(0x397));return;}if(_0x537112===void 0x0||_0x537112[_0x25ab5f(0x2f1)]()!=='websocket'){_0x5a7876(this,_0x202113,_0x86b3ec,0x190,_0x25ab5f(0x34b));return;}if(_0x3f13ce===void 0x0||!_0x2c1315[_0x25ab5f(0x306)](_0x3f13ce)){_0x5a7876(this,_0x202113,_0x86b3ec,0x190,_0x25ab5f(0x303));return;}if(_0x2b727c!==0x8&&_0x2b727c!==0xd){_0x5a7876(this,_0x202113,_0x86b3ec,0x190,_0x25ab5f(0x27b));return;}if(!this[_0x25ab5f(0x2ce)](_0x202113)){_0x148ad6(_0x86b3ec,0x190);return;}const _0x4b8c93=_0x202113[_0x25ab5f(0x368)][_0x25ab5f(0x23d)];let _0x3f9bc9=new Set();if(_0x4b8c93!==void 0x0)try{_0x3f9bc9=_0x4f5ac2[_0x25ab5f(0x2af)](_0x4b8c93);}catch{_0x5a7876(this,_0x202113,_0x86b3ec,0x190,_0x25ab5f(0x22e));return;}const _0x406b31=_0x202113[_0x25ab5f(0x368)]['sec-websocket-extensions'],_0x2edc77={};if(this[_0x25ab5f(0x2c2)][_0x25ab5f(0x2eb)]&&_0x406b31!==void 0x0){const _0x44b382=new _0x58e862(this[_0x25ab5f(0x2c2)][_0x25ab5f(0x2eb)],!0x0,this[_0x25ab5f(0x2c2)][_0x25ab5f(0x226)]);try{const _0x2c3707=_0x31a1df['parse'](_0x406b31);_0x2c3707[_0x58e862[_0x25ab5f(0x288)]]&&(_0x44b382['accept'](_0x2c3707[_0x58e862[_0x25ab5f(0x288)]]),_0x2edc77[_0x58e862[_0x25ab5f(0x288)]]=_0x44b382);}catch{_0x5a7876(this,_0x202113,_0x86b3ec,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x25ab5f(0x2c2)][_0x25ab5f(0x20e)]){const _0x104018={'origin':_0x202113[_0x25ab5f(0x368)][''+(_0x2b727c===0x8?'sec-websocket-origin':_0x25ab5f(0x2fc))],'secure':!!(_0x202113[_0x25ab5f(0x223)][_0x25ab5f(0x2ea)]||_0x202113['socket'][_0x25ab5f(0x279)]),'req':_0x202113};if(this[_0x25ab5f(0x2c2)][_0x25ab5f(0x20e)][_0x25ab5f(0x35a)]===0x2){this[_0x25ab5f(0x2c2)][_0x25ab5f(0x20e)](_0x104018,(_0x1f4ec2,_0x20a743,_0x120e08,_0x1c01e0)=>{if(!_0x1f4ec2)return _0x148ad6(_0x86b3ec,_0x20a743||0x191,_0x120e08,_0x1c01e0);this['completeUpgrade'](_0x2edc77,_0x3f13ce,_0x3f9bc9,_0x202113,_0x86b3ec,_0x5c0e94,_0x7b9458);});return;}if(!this[_0x25ab5f(0x2c2)][_0x25ab5f(0x20e)](_0x104018))return _0x148ad6(_0x86b3ec,0x191);}this['completeUpgrade'](_0x2edc77,_0x3f13ce,_0x3f9bc9,_0x202113,_0x86b3ec,_0x5c0e94,_0x7b9458);}[_0x29d444(0x331)](_0xd9b546,_0x34702f,_0x35c948,_0x47f69b,_0x31ee8b,_0x183010,_0x4206e0){const _0x2d4918=_0x29d444;if(!_0x31ee8b[_0x2d4918(0x28c)]||!_0x31ee8b['writable'])return _0x31ee8b[_0x2d4918(0x399)]();if(_0x31ee8b[_0x2c1af1])throw new Error(_0x2d4918(0x315));if(this[_0x2d4918(0x22d)]>_0x49f9f6)return _0x148ad6(_0x31ee8b,0x1f7);const _0x288f7c=[_0x2d4918(0x365),_0x2d4918(0x328),_0x2d4918(0x21a),_0x2d4918(0x277)+_0x176b3a(_0x2d4918(0x2ec))[_0x2d4918(0x280)](_0x34702f+_0x2dccea)[_0x2d4918(0x35b)]('base64')],_0xa1cdb1=new this[(_0x2d4918(0x2c2))][(_0x2d4918(0x289))](null,void 0x0,this[_0x2d4918(0x2c2)]);if(_0x35c948['size']){const _0x35542e=this['options']['handleProtocols']?this['options'][_0x2d4918(0x1e0)](_0x35c948,_0x47f69b):_0x35c948[_0x2d4918(0x34e)]()[_0x2d4918(0x1f9)]()['value'];_0x35542e&&(_0x288f7c[_0x2d4918(0x1fe)]('Sec-WebSocket-Protocol:\x20'+_0x35542e),_0xa1cdb1[_0x2d4918(0x282)]=_0x35542e);}if(_0xd9b546[_0x58e862[_0x2d4918(0x288)]]){const _0x2aa731=_0xd9b546[_0x58e862[_0x2d4918(0x288)]][_0x2d4918(0x259)],_0xd1eade=_0x31a1df['format']({[_0x58e862[_0x2d4918(0x288)]]:[_0x2aa731]});_0x288f7c['push'](_0x2d4918(0x37c)+_0xd1eade),_0xa1cdb1[_0x2d4918(0x284)]=_0xd9b546;}this['emit'](_0x2d4918(0x368),_0x288f7c,_0x47f69b),_0x31ee8b[_0x2d4918(0x233)](_0x288f7c[_0x2d4918(0x305)]('\x0d\x0a')[_0x2d4918(0x1f6)]('\x0d\x0a')),_0x31ee8b['removeListener']('error',_0x2da4b7),_0xa1cdb1['setSocket'](_0x31ee8b,_0x183010,{'allowSynchronousEvents':this[_0x2d4918(0x2c2)][_0x2d4918(0x342)],'maxPayload':this[_0x2d4918(0x2c2)][_0x2d4918(0x226)],'skipUTF8Validation':this[_0x2d4918(0x2c2)]['skipUTF8Validation']}),this['clients']&&(this[_0x2d4918(0x2f6)][_0x2d4918(0x23a)](_0xa1cdb1),_0xa1cdb1['on'](_0x2d4918(0x304),()=>{const _0x13aa12=_0x2d4918;this[_0x13aa12(0x2f6)]['delete'](_0xa1cdb1),this['_shouldEmitClose']&&!this[_0x13aa12(0x2f6)][_0x13aa12(0x339)]&&process[_0x13aa12(0x29e)](_0x327577,this);})),_0x4206e0(_0xa1cdb1,_0x47f69b);}}Te=_0x2b081b;function _0x4ebc16(_0x419aa0,_0x44b375){const _0x18a6e8=_0x29d444;for(const _0x11347d of Object[_0x18a6e8(0x1ed)](_0x44b375))_0x419aa0['on'](_0x11347d,_0x44b375[_0x11347d]);return function(){const _0x5a76df=_0x18a6e8;for(const _0x2e4292 of Object[_0x5a76df(0x1ed)](_0x44b375))_0x419aa0['removeListener'](_0x2e4292,_0x44b375[_0x2e4292]);};}function _0x327577(_0x37d124){const _0x2add0f=_0x29d444;_0x37d124[_0x2add0f(0x22d)]=_0x4b145d,_0x37d124[_0x2add0f(0x392)](_0x2add0f(0x304));}function _0x2da4b7(){const _0x3cc648=_0x29d444;this[_0x3cc648(0x399)]();}function _0x148ad6(_0x58d05f,_0xa44df6,_0x33e1ce,_0x2beace){const _0x2cc6f0=_0x29d444;_0x33e1ce=_0x33e1ce||_0x530d64[_0x2cc6f0(0x3a5)][_0xa44df6],_0x2beace={'Connection':_0x2cc6f0(0x304),'Content-Type':_0x2cc6f0(0x31c),'Content-Length':Buffer['byteLength'](_0x33e1ce),..._0x2beace},_0x58d05f['once'](_0x2cc6f0(0x296),_0x58d05f[_0x2cc6f0(0x399)]),_0x58d05f[_0x2cc6f0(0x267)](_0x2cc6f0(0x2a2)+_0xa44df6+'\x20'+_0x530d64[_0x2cc6f0(0x3a5)][_0xa44df6]+'\x0d\x0a'+Object[_0x2cc6f0(0x1ed)](_0x2beace)[_0x2cc6f0(0x39a)](_0xc506ea=>_0xc506ea+':\x20'+_0x2beace[_0xc506ea])[_0x2cc6f0(0x1f6)]('\x0d\x0a')+_0x2cc6f0(0x2f5)+_0x33e1ce);}function _0x5a7876(_0xa0f529,_0x325f07,_0x383d92,_0x5a5d11,_0x2646cc){const _0x4a3b72=_0x29d444;if(_0xa0f529[_0x4a3b72(0x2e7)](_0x4a3b72(0x275))){const _0x59be3e=new Error(_0x2646cc);Error[_0x4a3b72(0x2d2)](_0x59be3e,_0x5a7876),_0xa0f529['emit'](_0x4a3b72(0x275),_0x59be3e,_0x383d92,_0x325f07);}else _0x148ad6(_0x383d92,_0x5a5d11,_0x2646cc);}return Te;}Ft();function _0x3013(_0x4b4ccd,_0x5de12){const _0x39eb84=_0x39eb();return _0x3013=function(_0x301308,_0x168d9c){_0x301308=_0x301308-0x1dc;let _0xcf0aa6=_0x39eb84[_0x301308];return _0xcf0aa6;},_0x3013(_0x4b4ccd,_0x5de12);}var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x1da329,_0x47e20a,_0x22a74d,_0x5c15cd)=>{const _0x3daaf4=_0x5beffb;for(var _0x208368=_0x5c15cd>0x1?void 0x0:_0x5c15cd?jt(_0x47e20a,_0x22a74d):_0x47e20a,_0x1bd286=_0x1da329[_0x3daaf4(0x35a)]-0x1,_0xc8aef1;_0x1bd286>=0x0;_0x1bd286--)(_0xc8aef1=_0x1da329[_0x1bd286])&&(_0x208368=_0xc8aef1(_0x208368)||_0x208368);return _0x208368;},qt=(_0x21aa94,_0x4cb6b9)=>(_0x200b96,_0x5b146c)=>_0x4cb6b9(_0x200b96,_0x5b146c,_0x21aa94);let ke=class extends A[_0x5beffb(0x37b)]{constructor(_0x289dbb){super(),this['_configService']=_0x289dbb;}['createSocket'](_0xabd48a){const _0x4b81e4=_0x5beffb;var _0x506e45;const _0x1315b3=(_0x506e45=this[_0x4b81e4(0x1fd)][_0x4b81e4(0x2e3)](fe))==null?void 0x0:_0x506e45[_0x4b81e4(0x309)];try{const _0x468d54=new $t(_0xabd48a,{'headers':{..._0x1315b3}}),_0x29b367=new A[(_0x4b81e4(0x294))]();return{'URL':_0xabd48a,'close':(_0x1a095d,_0x25e569)=>{const _0x4f591a=_0x4b81e4;_0x468d54['close'](_0x1a095d,_0x25e569),_0x29b367[_0x4f591a(0x2d9)]();},'send':_0x42e35a=>{const _0x400e31=_0x4b81e4;_0x468d54[_0x400e31(0x343)](_0x42e35a);},'open$':new V[(_0x4b81e4(0x2e8))](_0x42d65b=>{const _0x5235b0=_0x4b81e4,_0x16b563=_0xb9d89e=>_0x42d65b[_0x5235b0(0x1f9)](_0xb9d89e);_0x468d54[_0x5235b0(0x30f)](_0x5235b0(0x2c9),_0x16b563),_0x29b367[_0x5235b0(0x23a)](A[_0x5235b0(0x22a)](()=>_0x468d54[_0x5235b0(0x379)](_0x5235b0(0x2c9),_0x16b563)));})[_0x4b81e4(0x1e2)](V[_0x4b81e4(0x2d6)]()),'close$':new V[(_0x4b81e4(0x2e8))](_0x3a76f0=>{const _0x1e9f5a=_0x4b81e4,_0x112667=_0x49d896=>_0x3a76f0[_0x1e9f5a(0x1f9)](_0x49d896);_0x468d54[_0x1e9f5a(0x30f)](_0x1e9f5a(0x304),_0x112667),_0x29b367[_0x1e9f5a(0x23a)](A['toDisposable'](()=>_0x468d54[_0x1e9f5a(0x379)](_0x1e9f5a(0x304),_0x112667)));})[_0x4b81e4(0x1e2)](V[_0x4b81e4(0x2d6)]()),'error$':new V[(_0x4b81e4(0x2e8))](_0x55cb1d=>{const _0x5610e6=_0x4b81e4,_0x4712a6=_0x1fa805=>_0x55cb1d[_0x5610e6(0x1f9)](_0x1fa805);_0x468d54[_0x5610e6(0x30f)](_0x5610e6(0x2cc),_0x4712a6),_0x29b367['add'](A['toDisposable'](()=>_0x468d54['removeEventListener'](_0x5610e6(0x2cc),_0x4712a6)));})[_0x4b81e4(0x1e2)](V[_0x4b81e4(0x2d6)]()),'message$':new V[(_0x4b81e4(0x2e8))](_0x498efc=>{const _0x2df21b=_0x4b81e4,_0x5b772b=_0x1127a=>_0x498efc['next'](_0x1127a);_0x468d54[_0x2df21b(0x30f)]('message',_0x5b772b),_0x29b367[_0x2df21b(0x23a)](A['toDisposable'](()=>_0x468d54[_0x2df21b(0x379)](_0x2df21b(0x39e),_0x5b772b)));})[_0x4b81e4(0x1e2)](V[_0x4b81e4(0x2d6)]())};}catch(_0x2abff9){return console[_0x4b81e4(0x2cc)](_0x2abff9),null;}}};ke=Wt([qt(0x0,A[_0x5beffb(0x25b)])],ke);var Gt=Object[_0x5beffb(0x302)],Vt=Object[_0x5beffb(0x39b)],Ht=(_0x492db1,_0x3a79b2,_0x274440)=>_0x3a79b2 in _0x492db1?Gt(_0x492db1,_0x3a79b2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x274440}):_0x492db1[_0x3a79b2]=_0x274440,zt=(_0x423b84,_0x4e2f1c,_0x7579b7,_0x529cfd)=>{const _0x2defa1=_0x5beffb;for(var _0x4e9929=_0x529cfd>0x1?void 0x0:_0x529cfd?Vt(_0x4e2f1c,_0x7579b7):_0x4e2f1c,_0x111120=_0x423b84[_0x2defa1(0x35a)]-0x1,_0xb16226;_0x111120>=0x0;_0x111120--)(_0xb16226=_0x423b84[_0x111120])&&(_0x4e9929=_0xb16226(_0x4e9929)||_0x4e9929);return _0x4e9929;},Ne=(_0x24fa3b,_0x1b651f)=>(_0x905f1f,_0x2c8a0c)=>_0x1b651f(_0x905f1f,_0x2c8a0c,_0x24fa3b),Yt=(_0xefed03,_0x549352,_0x3a6054)=>Ht(_0xefed03,_0x549352+'',_0x3a6054);exports[_0x5beffb(0x398)]=class extends A[_0x5beffb(0x30d)]{constructor(_0x1d30e2=Ct,_0x550abe,_0x14e48b,_0x357206){const _0x1b6f0b=_0x5beffb;_0x1d30e2[_0x1b6f0b(0x309)]||_0x550abe['warn'](_0x1b6f0b(0x1ec)),super(),this[_0x1b6f0b(0x1fd)]=_0x14e48b,this[_0x1b6f0b(0x1df)]=_0x357206,this[_0x1b6f0b(0x1fd)][_0x1b6f0b(0x222)](fe,_0x1d30e2);}['onStarting'](){this['_registerDependencies']();}['_registerDependencies'](){const _0x40cc89=_0x5beffb;A['registerDependencies'](this[_0x40cc89(0x1df)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x5beffb(0x398)],_0x5beffb(0x1f1),_0x5beffb(0x335)),exports['UniverCollaborationClientNodePlugin']=zt([A['DependentOn'](st[_0x5beffb(0x2e0)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x5beffb(0x25b)]),Ne(0x3,A['Inject'](A[_0x5beffb(0x228)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x5beffb(0x39b)],Xt=(_0x2807f6,_0x1fb250,_0x31a097,_0x320b29)=>{for(var _0x1ceadb=_0x320b29>0x1?void 0x0:_0x320b29?Kt(_0x1fb250,_0x31a097):_0x1fb250,_0x32fef0=_0x2807f6['length']-0x1,_0x10c8d6;_0x32fef0>=0x0;_0x32fef0--)(_0x10c8d6=_0x2807f6[_0x32fef0])&&(_0x1ceadb=_0x10c8d6(_0x1ceadb)||_0x1ceadb);return _0x1ceadb;},ne=(_0x1c8108,_0x3d6f7b)=>(_0x178029,_0x4299e4)=>_0x3d6f7b(_0x178029,_0x4299e4,_0x1c8108);exports[_0x5beffb(0x290)]=class extends st['CollaborationSocketService']{constructor(_0x3f5ecd,_0x19f7bb,_0x1cbe29,_0x24680e,_0x1e71cb){const _0x17b16c=_0x5beffb;super(_0x3f5ecd,_0x19f7bb,_0x1cbe29,_0x24680e,_0x1e71cb);const _0x4093aa=this[_0x17b16c(0x1fd)][_0x17b16c(0x2e3)](fe);this[_0x17b16c(0x2f8)][_0x17b16c(0x2a4)]({'interceptor':(_0x18351c,_0x68a449)=>{const _0x3b9f0c=_0x17b16c;var _0x3c38ad;const _0x1f7b1e=_0x18351c[_0x3b9f0c(0x368)];return(_0x3c38ad=_0x4093aa==null?void 0x0:_0x4093aa['customHeaders'])!=null&&_0x3c38ad['cookie']&&_0x1f7b1e[_0x3b9f0c(0x350)](_0x3b9f0c(0x2d7),_0x4093aa[_0x3b9f0c(0x309)][_0x3b9f0c(0x25c)]),_0x68a449(_0x18351c);}});}async[_0x5beffb(0x2a3)](_0x4e9ac7){const _0x35b2e9=_0x5beffb;return this[_0x35b2e9(0x327)](_0x4e9ac7);}},exports[_0x5beffb(0x290)]=Xt([ne(0x0,A[_0x5beffb(0x36d)](A['Injector'])),ne(0x1,A[_0x5beffb(0x36d)](it[_0x5beffb(0x317)])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x5beffb(0x3ac)]),ne(0x4,Ot['ISnapshotServerService'])],exports[_0x5beffb(0x290)]),exports[_0x5beffb(0x265)]=fe;
|