@univerjs-pro/collaboration-client-node 0.6.9-nightly.202504031606 → 0.6.9-nightly.202504051606
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 +6 -6
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x15e6da=_0xced4;(function(_0xea5f98,_0x74d747){const _0x1c5fc3=_0xced4,_0x4b2bd1=_0xea5f98();while(!![]){try{const _0x421811=parseInt(_0x1c5fc3(0x1d1))/0x1+-parseInt(_0x1c5fc3(0xd5))/0x2*(-parseInt(_0x1c5fc3(0x1a3))/0x3)+-parseInt(_0x1c5fc3(0xd3))/0x4+parseInt(_0x1c5fc3(0x25b))/0x5*(parseInt(_0x1c5fc3(0x12d))/0x6)+parseInt(_0x1c5fc3(0x1e6))/0x7+-parseInt(_0x1c5fc3(0x1f4))/0x8*(parseInt(_0x1c5fc3(0x92))/0x9)+-parseInt(_0x1c5fc3(0x1da))/0xa;if(_0x421811===_0x74d747)break;else _0x4b2bd1['push'](_0x4b2bd1['shift']());}catch(_0x16d924){_0x4b2bd1['push'](_0x4b2bd1['shift']());}}}(_0x45fb,0xeeda7));Object[_0x15e6da(0x15e)](exports,Symbol[_0x15e6da(0x18e)],{'value':_0x15e6da(0x1d8)});const st=require('@univerjs-pro/collaboration-client'),A=require(_0x15e6da(0x10b)),it=require('@univerjs/network'),V=require(_0x15e6da(0x196)),nt=require(_0x15e6da(0x220)),vt=require(_0x15e6da(0x108)),ot=require(_0x15e6da(0xea)),St=require(_0x15e6da(0x1b5)),Et=require(_0x15e6da(0x94)),Le=require(_0x15e6da(0x1ce)),oe=require(_0x15e6da(0x199)),xt=require('url'),bt=require(_0x15e6da(0x1c0)),wt=require(_0x15e6da(0x21d)),Ot=require(_0x15e6da(0x161)),fe=_0x15e6da(0x243),Ct={'customHeaders':{}};function Tt(_0x12b117){const _0x238c03=_0x15e6da;return _0x12b117&&_0x12b117['__esModule']&&Object[_0x238c03(0x1ae)][_0x238c03(0xc8)][_0x238c03(0x10a)](_0x12b117,_0x238c03(0x9a))?_0x12b117[_0x238c03(0x9a)]:_0x12b117;}function at(_0x3c0fd5){const _0x20bcdc=_0x15e6da;if(Object[_0x20bcdc(0x1ae)]['hasOwnProperty'][_0x20bcdc(0x10a)](_0x3c0fd5,_0x20bcdc(0x168)))return _0x3c0fd5;var _0x3fd584=_0x3c0fd5['default'];if(typeof _0x3fd584==_0x20bcdc(0x23f)){var _0x7dce6e=function _0x411ae3(){const _0x7f4035=_0x20bcdc;return this instanceof _0x411ae3?Reflect[_0x7f4035(0x1f8)](_0x3fd584,arguments,this[_0x7f4035(0x106)]):_0x3fd584[_0x7f4035(0xcb)](this,arguments);};_0x7dce6e['prototype']=_0x3fd584['prototype'];}else _0x7dce6e={};return Object['defineProperty'](_0x7dce6e,_0x20bcdc(0x168),{'value':!0x0}),Object[_0x20bcdc(0x165)](_0x3c0fd5)[_0x20bcdc(0x13e)](function(_0x4ba217){const _0x36aed1=_0x20bcdc;var _0x16503b=Object[_0x36aed1(0x18a)](_0x3c0fd5,_0x4ba217);Object[_0x36aed1(0x15e)](_0x7dce6e,_0x4ba217,_0x16503b[_0x36aed1(0x24c)]?_0x16503b:{'enumerable':!0x0,'get':function(){return _0x3c0fd5[_0x4ba217];}});}),_0x7dce6e;}var se={'exports':{}},ge,Ge;function H(){const _0x1b98fa=_0x15e6da;if(Ge)return ge;Ge=0x1;const _0x5cc934=[_0x1b98fa(0x239),'arraybuffer','fragments'],_0x3b8a45=typeof Blob<'u';return _0x3b8a45&&_0x5cc934[_0x1b98fa(0x258)](_0x1b98fa(0xda)),ge={'BINARY_TYPES':_0x5cc934,'EMPTY_BUFFER':Buffer[_0x1b98fa(0x99)](0x0),'GUID':_0x1b98fa(0x24d),'hasBlob':_0x3b8a45,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x1b98fa(0x1f1)),'kStatusCode':Symbol(_0x1b98fa(0x1a7)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x15e6da(0x163)](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol[_0x15e6da(0x18e)],{'value':_0x15e6da(0x1d8)})),Lt=at(kt);var Ve;function ce(){const _0x5e99f5=_0x15e6da;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0xcaab75}=H(),_0x293aff=Buffer[Symbol[_0x5e99f5(0x262)]];function _0x3c2d5a(_0x253cf6,_0x1caeea){const _0x287dd4=_0x5e99f5;if(_0x253cf6[_0x287dd4(0x237)]===0x0)return _0xcaab75;if(_0x253cf6[_0x287dd4(0x237)]===0x1)return _0x253cf6[0x0];const _0x5e176d=Buffer[_0x287dd4(0xd8)](_0x1caeea);let _0x261e09=0x0;for(let _0x36df24=0x0;_0x36df24<_0x253cf6[_0x287dd4(0x237)];_0x36df24++){const _0x4b8677=_0x253cf6[_0x36df24];_0x5e176d[_0x287dd4(0x145)](_0x4b8677,_0x261e09),_0x261e09+=_0x4b8677[_0x287dd4(0x237)];}return _0x261e09<_0x1caeea?new _0x293aff(_0x5e176d[_0x287dd4(0x21d)],_0x5e176d[_0x287dd4(0x232)],_0x261e09):_0x5e176d;}function _0x4780c9(_0x15ee7d,_0x58c877,_0x131ee3,_0x6274b3,_0xa27833){for(let _0x354cc6=0x0;_0x354cc6<_0xa27833;_0x354cc6++)_0x131ee3[_0x6274b3+_0x354cc6]=_0x15ee7d[_0x354cc6]^_0x58c877[_0x354cc6&0x3];}function _0x4651b6(_0x22bb87,_0x384d04){const _0xc92372=_0x5e99f5;for(let _0x25e76c=0x0;_0x25e76c<_0x22bb87[_0xc92372(0x237)];_0x25e76c++)_0x22bb87[_0x25e76c]^=_0x384d04[_0x25e76c&0x3];}function _0x106607(_0x154e1f){const _0x265d67=_0x5e99f5;return _0x154e1f[_0x265d67(0x237)]===_0x154e1f['buffer'][_0x265d67(0x217)]?_0x154e1f[_0x265d67(0x21d)]:_0x154e1f['buffer'][_0x265d67(0xa9)](_0x154e1f[_0x265d67(0x232)],_0x154e1f['byteOffset']+_0x154e1f['length']);}function _0x48139f(_0x50a075){const _0x8d76bc=_0x5e99f5;if(_0x48139f['readOnly']=!0x0,Buffer[_0x8d76bc(0x139)](_0x50a075))return _0x50a075;let _0xe6817f;return _0x50a075 instanceof ArrayBuffer?_0xe6817f=new _0x293aff(_0x50a075):ArrayBuffer[_0x8d76bc(0x225)](_0x50a075)?_0xe6817f=new _0x293aff(_0x50a075[_0x8d76bc(0x21d)],_0x50a075[_0x8d76bc(0x232)],_0x50a075[_0x8d76bc(0x217)]):(_0xe6817f=Buffer['from'](_0x50a075),_0x48139f[_0x8d76bc(0xcc)]=!0x1),_0xe6817f;}if(se[_0x5e99f5(0x209)]={'concat':_0x3c2d5a,'mask':_0x4780c9,'toArrayBuffer':_0x106607,'toBuffer':_0x48139f,'unmask':_0x4651b6},!process[_0x5e99f5(0x10f)][_0x5e99f5(0x25e)])try{const _0x15d625=Lt;se['exports'][_0x5e99f5(0x211)]=function(_0x465376,_0x53aa13,_0x3936c8,_0x23383b,_0xb7a179){const _0x450f61=_0x5e99f5;_0xb7a179<0x30?_0x4780c9(_0x465376,_0x53aa13,_0x3936c8,_0x23383b,_0xb7a179):_0x15d625[_0x450f61(0x211)](_0x465376,_0x53aa13,_0x3936c8,_0x23383b,_0xb7a179);},se[_0x5e99f5(0x209)][_0x5e99f5(0x1a8)]=function(_0x13a6c0,_0x29c56f){const _0x104449=_0x5e99f5;_0x13a6c0[_0x104449(0x237)]<0x20?_0x4651b6(_0x13a6c0,_0x29c56f):_0x15d625[_0x104449(0x1a8)](_0x13a6c0,_0x29c56f);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x3ba622=_0x15e6da;if(He)return ye;He=0x1;const _0x4fc1a8=Symbol('kDone'),_0x343bfd=Symbol(_0x3ba622(0x1af));class _0x3b2474{constructor(_0x1246ab){const _0x46c462=_0x3ba622;this[_0x4fc1a8]=()=>{const _0x5efbbb=_0xced4;this[_0x5efbbb(0xe0)]--,this[_0x343bfd]();},this[_0x46c462(0x19e)]=_0x1246ab||0x1/0x0,this[_0x46c462(0x1f9)]=[],this[_0x46c462(0xe0)]=0x0;}[_0x3ba622(0x153)](_0x4cc3bf){const _0x4e243b=_0x3ba622;this[_0x4e243b(0x1f9)][_0x4e243b(0x258)](_0x4cc3bf),this[_0x343bfd]();}[_0x343bfd](){const _0x7c2aca=_0x3ba622;if(this[_0x7c2aca(0xe0)]!==this['concurrency']&&this[_0x7c2aca(0x1f9)][_0x7c2aca(0x237)]){const _0xb97c0f=this[_0x7c2aca(0x1f9)][_0x7c2aca(0x192)]();this['pending']++,_0xb97c0f(this[_0x4fc1a8]);}}}return ye=_0x3b2474,ye;}var ve,ze;function he(){const _0x52ba1c=_0x15e6da;if(ze)return ve;ze=0x1;const _0x4f965b=bt,_0x48215b=ce(),_0x41d4f0=Pt(),{kStatusCode:_0x1150bf}=H(),_0x3fd2cf=Buffer[Symbol[_0x52ba1c(0x262)]],_0x499d8d=Buffer[_0x52ba1c(0x260)]([0x0,0x0,0xff,0xff]),_0x16fb9b=Symbol(_0x52ba1c(0x132)),_0x19eb8b=Symbol(_0x52ba1c(0x146)),_0x126d67=Symbol('callback'),_0x5296d6=Symbol(_0x52ba1c(0xd4)),_0x44f719=Symbol(_0x52ba1c(0x20a));let _0x3a1e34;class _0x5b4d1b{constructor(_0x3a625f,_0xc6131f,_0x35a90f){const _0x2b316e=_0x52ba1c;if(this[_0x2b316e(0x1dd)]=_0x35a90f|0x0,this[_0x2b316e(0xdb)]=_0x3a625f||{},this[_0x2b316e(0x167)]=this[_0x2b316e(0xdb)]['threshold']!==void 0x0?this[_0x2b316e(0xdb)][_0x2b316e(0xeb)]:0x400,this[_0x2b316e(0x91)]=!!_0xc6131f,this[_0x2b316e(0x141)]=null,this[_0x2b316e(0x1d0)]=null,this[_0x2b316e(0x130)]=null,!_0x3a1e34){const _0x39d25d=this['_options'][_0x2b316e(0x109)]!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x3a1e34=new _0x41d4f0(_0x39d25d);}}static get[_0x52ba1c(0x1db)](){const _0x7cf44b=_0x52ba1c;return _0x7cf44b(0x132);}[_0x52ba1c(0x119)](){const _0x1e7881=_0x52ba1c,_0x221001={};return this[_0x1e7881(0xdb)][_0x1e7881(0xf2)]&&(_0x221001[_0x1e7881(0x20d)]=!0x0),this[_0x1e7881(0xdb)]['clientNoContextTakeover']&&(_0x221001[_0x1e7881(0x185)]=!0x0),this[_0x1e7881(0xdb)][_0x1e7881(0xc7)]&&(_0x221001[_0x1e7881(0x100)]=this[_0x1e7881(0xdb)][_0x1e7881(0xc7)]),this[_0x1e7881(0xdb)][_0x1e7881(0x143)]?_0x221001[_0x1e7881(0x1a0)]=this['_options'][_0x1e7881(0x143)]:this[_0x1e7881(0xdb)][_0x1e7881(0x143)]==null&&(_0x221001[_0x1e7881(0x1a0)]=!0x0),_0x221001;}[_0x52ba1c(0xf9)](_0xa74dfc){const _0x27bc04=_0x52ba1c;return _0xa74dfc=this['normalizeParams'](_0xa74dfc),this[_0x27bc04(0x130)]=this[_0x27bc04(0x91)]?this[_0x27bc04(0x162)](_0xa74dfc):this['acceptAsClient'](_0xa74dfc),this[_0x27bc04(0x130)];}[_0x52ba1c(0x142)](){const _0x1e1657=_0x52ba1c;if(this[_0x1e1657(0x1d0)]&&(this[_0x1e1657(0x1d0)][_0x1e1657(0xfc)](),this[_0x1e1657(0x1d0)]=null),this[_0x1e1657(0x141)]){const _0x2b32bc=this['_deflate'][_0x126d67];this[_0x1e1657(0x141)][_0x1e1657(0xfc)](),this['_deflate']=null,_0x2b32bc&&_0x2b32bc(new Error(_0x1e1657(0x129)));}}[_0x52ba1c(0x162)](_0x4f5382){const _0x5823e8=_0x52ba1c,_0x4be792=this[_0x5823e8(0xdb)],_0x4721c7=_0x4f5382[_0x5823e8(0x1bd)](_0x2ace38=>!(_0x4be792[_0x5823e8(0xf2)]===!0x1&&_0x2ace38[_0x5823e8(0x20d)]||_0x2ace38[_0x5823e8(0x100)]&&(_0x4be792['serverMaxWindowBits']===!0x1||typeof _0x4be792[_0x5823e8(0xc7)]==_0x5823e8(0x138)&&_0x4be792[_0x5823e8(0xc7)]>_0x2ace38[_0x5823e8(0x100)])||typeof _0x4be792[_0x5823e8(0x143)]==_0x5823e8(0x138)&&!_0x2ace38[_0x5823e8(0x1a0)]));if(!_0x4721c7)throw new Error(_0x5823e8(0xbd));return _0x4be792['serverNoContextTakeover']&&(_0x4721c7[_0x5823e8(0x20d)]=!0x0),_0x4be792[_0x5823e8(0x18c)]&&(_0x4721c7[_0x5823e8(0x185)]=!0x0),typeof _0x4be792['serverMaxWindowBits']=='number'&&(_0x4721c7[_0x5823e8(0x100)]=_0x4be792['serverMaxWindowBits']),typeof _0x4be792[_0x5823e8(0x143)]==_0x5823e8(0x138)?_0x4721c7[_0x5823e8(0x1a0)]=_0x4be792['clientMaxWindowBits']:(_0x4721c7[_0x5823e8(0x1a0)]===!0x0||_0x4be792[_0x5823e8(0x143)]===!0x1)&&delete _0x4721c7['client_max_window_bits'],_0x4721c7;}[_0x52ba1c(0x172)](_0x397af6){const _0x4a61c6=_0x52ba1c,_0x5e44dd=_0x397af6[0x0];if(this[_0x4a61c6(0xdb)][_0x4a61c6(0x18c)]===!0x1&&_0x5e44dd[_0x4a61c6(0x185)])throw new Error(_0x4a61c6(0x218));if(!_0x5e44dd['client_max_window_bits'])typeof this[_0x4a61c6(0xdb)][_0x4a61c6(0x143)]==_0x4a61c6(0x138)&&(_0x5e44dd[_0x4a61c6(0x1a0)]=this[_0x4a61c6(0xdb)][_0x4a61c6(0x143)]);else{if(this[_0x4a61c6(0xdb)][_0x4a61c6(0x143)]===!0x1||typeof this[_0x4a61c6(0xdb)]['clientMaxWindowBits']==_0x4a61c6(0x138)&&_0x5e44dd[_0x4a61c6(0x1a0)]>this[_0x4a61c6(0xdb)]['clientMaxWindowBits'])throw new Error(_0x4a61c6(0x189));}return _0x5e44dd;}['normalizeParams'](_0xbdf0d9){const _0x1556fa=_0x52ba1c;return _0xbdf0d9[_0x1556fa(0x13e)](_0x411737=>{const _0x1f24cd=_0x1556fa;Object[_0x1f24cd(0x165)](_0x411737)[_0x1f24cd(0x13e)](_0x468554=>{const _0x16734f=_0x1f24cd;let _0x1a2d5e=_0x411737[_0x468554];if(_0x1a2d5e[_0x16734f(0x237)]>0x1)throw new Error('Parameter\x20\x22'+_0x468554+_0x16734f(0x1df));if(_0x1a2d5e=_0x1a2d5e[0x0],_0x468554===_0x16734f(0x1a0)){if(_0x1a2d5e!==!0x0){const _0x38849a=+_0x1a2d5e;if(!Number[_0x16734f(0xc0)](_0x38849a)||_0x38849a<0x8||_0x38849a>0xf)throw new TypeError(_0x16734f(0x115)+_0x468554+_0x16734f(0x216)+_0x1a2d5e);_0x1a2d5e=_0x38849a;}else{if(!this[_0x16734f(0x91)])throw new TypeError(_0x16734f(0x115)+_0x468554+_0x16734f(0x216)+_0x1a2d5e);}}else{if(_0x468554==='server_max_window_bits'){const _0x5ed8f2=+_0x1a2d5e;if(!Number[_0x16734f(0xc0)](_0x5ed8f2)||_0x5ed8f2<0x8||_0x5ed8f2>0xf)throw new TypeError(_0x16734f(0x115)+_0x468554+_0x16734f(0x216)+_0x1a2d5e);_0x1a2d5e=_0x5ed8f2;}else{if(_0x468554==='client_no_context_takeover'||_0x468554===_0x16734f(0x20d)){if(_0x1a2d5e!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x468554+_0x16734f(0x216)+_0x1a2d5e);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x468554+'\x22');}}_0x411737[_0x468554]=_0x1a2d5e;});}),_0xbdf0d9;}[_0x52ba1c(0x1ac)](_0xf4310e,_0x41d795,_0x556bea){const _0x68ad07=_0x52ba1c;_0x3a1e34[_0x68ad07(0x153)](_0x2bec1e=>{const _0x1e1895=_0x68ad07;this[_0x1e1895(0xd6)](_0xf4310e,_0x41d795,(_0x3f3311,_0x1746df)=>{_0x2bec1e(),_0x556bea(_0x3f3311,_0x1746df);});});}[_0x52ba1c(0x18b)](_0x353dd9,_0x55c0aa,_0x3b76f1){_0x3a1e34['add'](_0x1dc932=>{const _0x4c5649=_0xced4;this[_0x4c5649(0x112)](_0x353dd9,_0x55c0aa,(_0x583dba,_0x15f421)=>{_0x1dc932(),_0x3b76f1(_0x583dba,_0x15f421);});});}[_0x52ba1c(0xd6)](_0x17f8f6,_0x2108d7,_0x2b0d00){const _0x3861f4=_0x52ba1c,_0x29f199=this[_0x3861f4(0x91)]?_0x3861f4(0x22c):_0x3861f4(0x11f);if(!this['_inflate']){const _0x2dd210=_0x29f199+_0x3861f4(0xfe),_0x5f1e99=typeof this[_0x3861f4(0x130)][_0x2dd210]!=_0x3861f4(0x138)?_0x4f965b[_0x3861f4(0xfb)]:this[_0x3861f4(0x130)][_0x2dd210];this[_0x3861f4(0x1d0)]=_0x4f965b[_0x3861f4(0x24e)]({...this[_0x3861f4(0xdb)][_0x3861f4(0x1bf)],'windowBits':_0x5f1e99}),this['_inflate'][_0x16fb9b]=this,this[_0x3861f4(0x1d0)][_0x19eb8b]=0x0,this[_0x3861f4(0x1d0)][_0x5296d6]=[],this[_0x3861f4(0x1d0)]['on'](_0x3861f4(0x20a),_0x3f8ba7),this[_0x3861f4(0x1d0)]['on'](_0x3861f4(0x128),_0x3c4d52);}this[_0x3861f4(0x1d0)][_0x126d67]=_0x2b0d00,this['_inflate'][_0x3861f4(0x137)](_0x17f8f6),_0x2108d7&&this['_inflate'][_0x3861f4(0x137)](_0x499d8d),this[_0x3861f4(0x1d0)][_0x3861f4(0x13a)](()=>{const _0x12234d=_0x3861f4,_0x2786d4=this[_0x12234d(0x1d0)][_0x44f719];if(_0x2786d4){this[_0x12234d(0x1d0)][_0x12234d(0xfc)](),this[_0x12234d(0x1d0)]=null,_0x2b0d00(_0x2786d4);return;}const _0x85da8a=_0x48215b[_0x12234d(0x1c6)](this[_0x12234d(0x1d0)][_0x5296d6],this[_0x12234d(0x1d0)][_0x19eb8b]);this[_0x12234d(0x1d0)][_0x12234d(0xb5)]['endEmitted']?(this[_0x12234d(0x1d0)][_0x12234d(0xfc)](),this['_inflate']=null):(this[_0x12234d(0x1d0)][_0x19eb8b]=0x0,this[_0x12234d(0x1d0)][_0x5296d6]=[],_0x2108d7&&this[_0x12234d(0x130)][_0x29f199+_0x12234d(0x20f)]&&this[_0x12234d(0x1d0)][_0x12234d(0x16a)]()),_0x2b0d00(null,_0x85da8a);});}[_0x52ba1c(0x112)](_0x506c2d,_0x3b911b,_0x16d72d){const _0x1b4a46=_0x52ba1c,_0x4ca9ee=this['_isServer']?'server':_0x1b4a46(0x22c);if(!this[_0x1b4a46(0x141)]){const _0x4f0197=_0x4ca9ee+'_max_window_bits',_0x9510b4=typeof this[_0x1b4a46(0x130)][_0x4f0197]!='number'?_0x4f965b[_0x1b4a46(0xfb)]:this['params'][_0x4f0197];this[_0x1b4a46(0x141)]=_0x4f965b[_0x1b4a46(0xc1)]({...this[_0x1b4a46(0xdb)][_0x1b4a46(0x1b1)],'windowBits':_0x9510b4}),this[_0x1b4a46(0x141)][_0x19eb8b]=0x0,this[_0x1b4a46(0x141)][_0x5296d6]=[],this[_0x1b4a46(0x141)]['on']('data',_0x20c96c);}this[_0x1b4a46(0x141)][_0x126d67]=_0x16d72d,this[_0x1b4a46(0x141)]['write'](_0x506c2d),this['_deflate'][_0x1b4a46(0x13a)](_0x4f965b[_0x1b4a46(0x178)],()=>{const _0x1fe947=_0x1b4a46;if(!this[_0x1fe947(0x141)])return;let _0x3deb6c=_0x48215b[_0x1fe947(0x1c6)](this['_deflate'][_0x5296d6],this[_0x1fe947(0x141)][_0x19eb8b]);_0x3b911b&&(_0x3deb6c=new _0x3fd2cf(_0x3deb6c[_0x1fe947(0x21d)],_0x3deb6c[_0x1fe947(0x232)],_0x3deb6c[_0x1fe947(0x237)]-0x4)),this[_0x1fe947(0x141)][_0x126d67]=null,this[_0x1fe947(0x141)][_0x19eb8b]=0x0,this[_0x1fe947(0x141)][_0x5296d6]=[],_0x3b911b&&this[_0x1fe947(0x130)][_0x4ca9ee+_0x1fe947(0x20f)]&&this[_0x1fe947(0x141)][_0x1fe947(0x16a)](),_0x16d72d(null,_0x3deb6c);});}}ve=_0x5b4d1b;function _0x20c96c(_0x27a741){const _0x20b09d=_0x52ba1c;this[_0x5296d6][_0x20b09d(0x258)](_0x27a741),this[_0x19eb8b]+=_0x27a741['length'];}function _0x3c4d52(_0x45579f){const _0x323d9b=_0x52ba1c;if(this[_0x19eb8b]+=_0x45579f['length'],this[_0x16fb9b][_0x323d9b(0x1dd)]<0x1||this[_0x19eb8b]<=this[_0x16fb9b][_0x323d9b(0x1dd)]){this[_0x5296d6][_0x323d9b(0x258)](_0x45579f);return;}this[_0x44f719]=new RangeError(_0x323d9b(0x1ca)),this[_0x44f719][_0x323d9b(0x241)]=_0x323d9b(0x21e),this[_0x44f719][_0x1150bf]=0x3f1,this[_0x323d9b(0x25d)](_0x323d9b(0x128),_0x3c4d52),this[_0x323d9b(0x16a)]();}function _0x3f8ba7(_0x2f3462){const _0x624d51=_0x52ba1c;this[_0x16fb9b][_0x624d51(0x1d0)]=null,_0x2f3462[_0x1150bf]=0x3ef,this[_0x126d67](_0x2f3462);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x15e6da(0x163)](Object[_0x15e6da(0x15e)]({'__proto__':null,'default':Dt},Symbol[_0x15e6da(0x18e)],{'value':_0x15e6da(0x1d8)})),Bt=at(Rt);var Ye;function ae(){const _0x315522=_0x15e6da;if(Ye)return ie[_0x315522(0x209)];Ye=0x1;const {isUtf8:_0x103ec0}=wt,{hasBlob:_0x70cdcc}=H(),_0xa37ee3=[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 _0x578e5a(_0x30bd30){return _0x30bd30>=0x3e8&&_0x30bd30<=0x3f6&&_0x30bd30!==0x3ec&&_0x30bd30!==0x3ed&&_0x30bd30!==0x3ee||_0x30bd30>=0xbb8&&_0x30bd30<=0x1387;}function _0x5852a4(_0x211004){const _0x11ef0b=_0x315522,_0x90925f=_0x211004[_0x11ef0b(0x237)];let _0x4e4b8d=0x0;for(;_0x4e4b8d<_0x90925f;)if((_0x211004[_0x4e4b8d]&0x80)===0x0)_0x4e4b8d++;else{if((_0x211004[_0x4e4b8d]&0xe0)===0xc0){if(_0x4e4b8d+0x1===_0x90925f||(_0x211004[_0x4e4b8d+0x1]&0xc0)!==0x80||(_0x211004[_0x4e4b8d]&0xfe)===0xc0)return!0x1;_0x4e4b8d+=0x2;}else{if((_0x211004[_0x4e4b8d]&0xf0)===0xe0){if(_0x4e4b8d+0x2>=_0x90925f||(_0x211004[_0x4e4b8d+0x1]&0xc0)!==0x80||(_0x211004[_0x4e4b8d+0x2]&0xc0)!==0x80||_0x211004[_0x4e4b8d]===0xe0&&(_0x211004[_0x4e4b8d+0x1]&0xe0)===0x80||_0x211004[_0x4e4b8d]===0xed&&(_0x211004[_0x4e4b8d+0x1]&0xe0)===0xa0)return!0x1;_0x4e4b8d+=0x3;}else{if((_0x211004[_0x4e4b8d]&0xf8)===0xf0){if(_0x4e4b8d+0x3>=_0x90925f||(_0x211004[_0x4e4b8d+0x1]&0xc0)!==0x80||(_0x211004[_0x4e4b8d+0x2]&0xc0)!==0x80||(_0x211004[_0x4e4b8d+0x3]&0xc0)!==0x80||_0x211004[_0x4e4b8d]===0xf0&&(_0x211004[_0x4e4b8d+0x1]&0xf0)===0x80||_0x211004[_0x4e4b8d]===0xf4&&_0x211004[_0x4e4b8d+0x1]>0x8f||_0x211004[_0x4e4b8d]>0xf4)return!0x1;_0x4e4b8d+=0x4;}else return!0x1;}}}return!0x0;}function _0x4602b2(_0x404232){const _0x926c3f=_0x315522;return _0x70cdcc&&typeof _0x404232==_0x926c3f(0x175)&&typeof _0x404232[_0x926c3f(0x13c)]==_0x926c3f(0x23f)&&typeof _0x404232[_0x926c3f(0x102)]==_0x926c3f(0x193)&&typeof _0x404232[_0x926c3f(0x199)]==_0x926c3f(0x23f)&&(_0x404232[Symbol[_0x926c3f(0x18e)]]==='Blob'||_0x404232[Symbol[_0x926c3f(0x18e)]]===_0x926c3f(0x157));}if(ie[_0x315522(0x209)]={'isBlob':_0x4602b2,'isValidStatusCode':_0x578e5a,'isValidUTF8':_0x5852a4,'tokenChars':_0xa37ee3},_0x103ec0)ie['exports']['isValidUTF8']=function(_0x5958df){const _0x27316d=_0x315522;return _0x5958df[_0x27316d(0x237)]<0x18?_0x5852a4(_0x5958df):_0x103ec0(_0x5958df);};else{if(!process[_0x315522(0x10f)][_0x315522(0xe5)])try{const _0x28e769=Bt;ie[_0x315522(0x209)][_0x315522(0x12e)]=function(_0x89d92e){return _0x89d92e['length']<0x20?_0x5852a4(_0x89d92e):_0x28e769(_0x89d92e);};}catch{}}return ie[_0x315522(0x209)];}var Se,Ke;function lt(){const _0x681be2=_0x15e6da;if(Ke)return Se;Ke=0x1;const {Writable:_0x5bd97b}=oe,_0x3bdec1=he(),{BINARY_TYPES:_0x5e7ead,EMPTY_BUFFER:_0x113776,kStatusCode:_0x40c80d,kWebSocket:_0x522000}=H(),{concat:_0x5abd5b,toArrayBuffer:_0x5ab50d,unmask:_0xef91a3}=ce(),{isValidStatusCode:_0x57c1d5,isValidUTF8:_0x385559}=ae(),_0x3152fa=Buffer[Symbol['species']],_0x46a1b3=0x0,_0x2b20a2=0x1,_0x215ee5=0x2,_0x325aad=0x3,_0x37f910=0x4,_0x17fdad=0x5,_0x37682d=0x6;class _0x2a0cfc extends _0x5bd97b{constructor(_0x21faed={}){const _0x39e4f4=_0xced4;super(),this[_0x39e4f4(0x259)]=_0x21faed[_0x39e4f4(0xe3)]!==void 0x0?_0x21faed[_0x39e4f4(0xe3)]:!0x0,this[_0x39e4f4(0xcf)]=_0x21faed[_0x39e4f4(0x24a)]||_0x5e7ead[0x0],this[_0x39e4f4(0x1e1)]=_0x21faed[_0x39e4f4(0x1b8)]||{},this[_0x39e4f4(0x91)]=!!_0x21faed[_0x39e4f4(0xa7)],this['_maxPayload']=_0x21faed[_0x39e4f4(0x134)]|0x0,this['_skipUTF8Validation']=!!_0x21faed[_0x39e4f4(0x20c)],this[_0x522000]=void 0x0,this[_0x39e4f4(0xde)]=0x0,this[_0x39e4f4(0x120)]=[],this[_0x39e4f4(0x1c1)]=!0x1,this[_0x39e4f4(0x1dc)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this[_0x39e4f4(0x159)]=!0x1,this[_0x39e4f4(0x24f)]=!0x1,this[_0x39e4f4(0x240)]=0x0,this['_totalPayloadLength']=0x0,this[_0x39e4f4(0x1e5)]=0x0,this[_0x39e4f4(0x17e)]=[],this[_0x39e4f4(0xb7)]=!0x1,this['_loop']=!0x1,this[_0x39e4f4(0x1c7)]=_0x46a1b3;}[_0x681be2(0x15b)](_0x2d8775,_0x15c374,_0x213294){const _0x329db4=_0x681be2;if(this[_0x329db4(0x240)]===0x8&&this[_0x329db4(0x1c7)]==_0x46a1b3)return _0x213294();this[_0x329db4(0xde)]+=_0x2d8775[_0x329db4(0x237)],this[_0x329db4(0x120)][_0x329db4(0x258)](_0x2d8775),this['startLoop'](_0x213294);}[_0x681be2(0x195)](_0x4db201){const _0x2afec2=_0x681be2;if(this[_0x2afec2(0xde)]-=_0x4db201,_0x4db201===this[_0x2afec2(0x120)][0x0]['length'])return this[_0x2afec2(0x120)][_0x2afec2(0x192)]();if(_0x4db201<this[_0x2afec2(0x120)][0x0]['length']){const _0x56d095=this['_buffers'][0x0];return this[_0x2afec2(0x120)][0x0]=new _0x3152fa(_0x56d095[_0x2afec2(0x21d)],_0x56d095[_0x2afec2(0x232)]+_0x4db201,_0x56d095['length']-_0x4db201),new _0x3152fa(_0x56d095[_0x2afec2(0x21d)],_0x56d095[_0x2afec2(0x232)],_0x4db201);}const _0x22026d=Buffer[_0x2afec2(0xd8)](_0x4db201);do{const _0x508ab9=this['_buffers'][0x0],_0x10b07e=_0x22026d[_0x2afec2(0x237)]-_0x4db201;_0x4db201>=_0x508ab9['length']?_0x22026d[_0x2afec2(0x145)](this[_0x2afec2(0x120)][_0x2afec2(0x192)](),_0x10b07e):(_0x22026d['set'](new Uint8Array(_0x508ab9[_0x2afec2(0x21d)],_0x508ab9[_0x2afec2(0x232)],_0x4db201),_0x10b07e),this[_0x2afec2(0x120)][0x0]=new _0x3152fa(_0x508ab9[_0x2afec2(0x21d)],_0x508ab9['byteOffset']+_0x4db201,_0x508ab9[_0x2afec2(0x237)]-_0x4db201)),_0x4db201-=_0x508ab9[_0x2afec2(0x237)];}while(_0x4db201>0x0);return _0x22026d;}[_0x681be2(0x246)](_0x4df080){const _0x16bbe3=_0x681be2;this[_0x16bbe3(0x14b)]=!0x0;do switch(this[_0x16bbe3(0x1c7)]){case _0x46a1b3:this[_0x16bbe3(0xef)](_0x4df080);break;case _0x2b20a2:this[_0x16bbe3(0xfd)](_0x4df080);break;case _0x215ee5:this[_0x16bbe3(0x254)](_0x4df080);break;case _0x325aad:this[_0x16bbe3(0x8e)]();break;case _0x37f910:this[_0x16bbe3(0x1b7)](_0x4df080);break;case _0x17fdad:case _0x37682d:this[_0x16bbe3(0x14b)]=!0x1;return;}while(this['_loop']);this['_errored']||_0x4df080();}[_0x681be2(0xef)](_0x5cf4c6){const _0xb3f1a9=_0x681be2;if(this['_bufferedBytes']<0x2){this[_0xb3f1a9(0x14b)]=!0x1;return;}const _0x12456a=this[_0xb3f1a9(0x195)](0x2);if((_0x12456a[0x0]&0x30)!==0x0){const _0x2ff895=this[_0xb3f1a9(0x208)](RangeError,_0xb3f1a9(0xc3),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x5cf4c6(_0x2ff895);return;}const _0x4363cf=(_0x12456a[0x0]&0x40)===0x40;if(_0x4363cf&&!this[_0xb3f1a9(0x1e1)][_0x3bdec1['extensionName']]){const _0xf53c06=this[_0xb3f1a9(0x208)](RangeError,_0xb3f1a9(0x1f7),!0x0,0x3ea,_0xb3f1a9(0xd2));_0x5cf4c6(_0xf53c06);return;}if(this[_0xb3f1a9(0x24f)]=(_0x12456a[0x0]&0x80)===0x80,this[_0xb3f1a9(0x240)]=_0x12456a[0x0]&0xf,this[_0xb3f1a9(0x1dc)]=_0x12456a[0x1]&0x7f,this['_opcode']===0x0){if(_0x4363cf){const _0x3c08e9=this[_0xb3f1a9(0x208)](RangeError,_0xb3f1a9(0x1f7),!0x0,0x3ea,_0xb3f1a9(0xd2));_0x5cf4c6(_0x3c08e9);return;}if(!this[_0xb3f1a9(0x183)]){const _0x414208=this[_0xb3f1a9(0x208)](RangeError,_0xb3f1a9(0x13f),!0x0,0x3ea,_0xb3f1a9(0x222));_0x5cf4c6(_0x414208);return;}this['_opcode']=this[_0xb3f1a9(0x183)];}else{if(this['_opcode']===0x1||this['_opcode']===0x2){if(this[_0xb3f1a9(0x183)]){const _0x549ae7=this[_0xb3f1a9(0x208)](RangeError,'invalid\x20opcode\x20'+this[_0xb3f1a9(0x240)],!0x0,0x3ea,_0xb3f1a9(0x222));_0x5cf4c6(_0x549ae7);return;}this[_0xb3f1a9(0x1c1)]=_0x4363cf;}else{if(this['_opcode']>0x7&&this[_0xb3f1a9(0x240)]<0xb){if(!this[_0xb3f1a9(0x24f)]){const _0x568209=this['createError'](RangeError,_0xb3f1a9(0x12b),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x5cf4c6(_0x568209);return;}if(_0x4363cf){const _0x4c4a94=this[_0xb3f1a9(0x208)](RangeError,_0xb3f1a9(0x1f7),!0x0,0x3ea,_0xb3f1a9(0xd2));_0x5cf4c6(_0x4c4a94);return;}if(this['_payloadLength']>0x7d||this[_0xb3f1a9(0x240)]===0x8&&this[_0xb3f1a9(0x1dc)]===0x1){const _0x55c42b=this[_0xb3f1a9(0x208)](RangeError,_0xb3f1a9(0x198)+this[_0xb3f1a9(0x1dc)],!0x0,0x3ea,_0xb3f1a9(0x1ba));_0x5cf4c6(_0x55c42b);return;}}else{const _0x4650d8=this['createError'](RangeError,_0xb3f1a9(0xe6)+this['_opcode'],!0x0,0x3ea,_0xb3f1a9(0x222));_0x5cf4c6(_0x4650d8);return;}}}if(!this[_0xb3f1a9(0x24f)]&&!this[_0xb3f1a9(0x183)]&&(this[_0xb3f1a9(0x183)]=this[_0xb3f1a9(0x240)]),this[_0xb3f1a9(0x159)]=(_0x12456a[0x1]&0x80)===0x80,this[_0xb3f1a9(0x91)]){if(!this[_0xb3f1a9(0x159)]){const _0x270ff1=this[_0xb3f1a9(0x208)](RangeError,_0xb3f1a9(0x16e),!0x0,0x3ea,_0xb3f1a9(0x247));_0x5cf4c6(_0x270ff1);return;}}else{if(this[_0xb3f1a9(0x159)]){const _0x5f2ac9=this[_0xb3f1a9(0x208)](RangeError,_0xb3f1a9(0x1cd),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x5cf4c6(_0x5f2ac9);return;}}this[_0xb3f1a9(0x1dc)]===0x7e?this[_0xb3f1a9(0x1c7)]=_0x2b20a2:this['_payloadLength']===0x7f?this['_state']=_0x215ee5:this['haveLength'](_0x5cf4c6);}['getPayloadLength16'](_0x1906bc){const _0x146577=_0x681be2;if(this[_0x146577(0xde)]<0x2){this[_0x146577(0x14b)]=!0x1;return;}this['_payloadLength']=this[_0x146577(0x195)](0x2)[_0x146577(0x16f)](0x0),this[_0x146577(0x126)](_0x1906bc);}[_0x681be2(0x254)](_0x12d1d6){const _0xd43ba1=_0x681be2;if(this[_0xd43ba1(0xde)]<0x8){this[_0xd43ba1(0x14b)]=!0x1;return;}const _0xb42450=this[_0xd43ba1(0x195)](0x8),_0x4f302c=_0xb42450[_0xd43ba1(0xee)](0x0);if(_0x4f302c>Math['pow'](0x2,0x15)-0x1){const _0x27289b=this[_0xd43ba1(0x208)](RangeError,_0xd43ba1(0x253),!0x1,0x3f1,_0xd43ba1(0x180));_0x12d1d6(_0x27289b);return;}this[_0xd43ba1(0x1dc)]=_0x4f302c*Math[_0xd43ba1(0xb3)](0x2,0x20)+_0xb42450['readUInt32BE'](0x4),this[_0xd43ba1(0x126)](_0x12d1d6);}[_0x681be2(0x126)](_0x4e30db){const _0x4ee21b=_0x681be2;if(this[_0x4ee21b(0x1dc)]&&this[_0x4ee21b(0x240)]<0x8&&(this[_0x4ee21b(0x188)]+=this[_0x4ee21b(0x1dc)],this[_0x4ee21b(0x188)]>this[_0x4ee21b(0x1dd)]&&this[_0x4ee21b(0x1dd)]>0x0)){const _0x39a57c=this[_0x4ee21b(0x208)](RangeError,_0x4ee21b(0x1ca),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x4e30db(_0x39a57c);return;}this[_0x4ee21b(0x159)]?this[_0x4ee21b(0x1c7)]=_0x325aad:this[_0x4ee21b(0x1c7)]=_0x37f910;}[_0x681be2(0x8e)](){const _0x481074=_0x681be2;if(this[_0x481074(0xde)]<0x4){this[_0x481074(0x14b)]=!0x1;return;}this[_0x481074(0x250)]=this[_0x481074(0x195)](0x4),this[_0x481074(0x1c7)]=_0x37f910;}[_0x681be2(0x1b7)](_0x19b1c7){const _0x4ede9c=_0x681be2;let _0x5b774a=_0x113776;if(this[_0x4ede9c(0x1dc)]){if(this['_bufferedBytes']<this[_0x4ede9c(0x1dc)]){this[_0x4ede9c(0x14b)]=!0x1;return;}_0x5b774a=this[_0x4ede9c(0x195)](this['_payloadLength']),this['_masked']&&(this[_0x4ede9c(0x250)][0x0]|this['_mask'][0x1]|this[_0x4ede9c(0x250)][0x2]|this[_0x4ede9c(0x250)][0x3])!==0x0&&_0xef91a3(_0x5b774a,this['_mask']);}if(this[_0x4ede9c(0x240)]>0x7){this[_0x4ede9c(0x256)](_0x5b774a,_0x19b1c7);return;}if(this['_compressed']){this[_0x4ede9c(0x1c7)]=_0x17fdad,this[_0x4ede9c(0x1ac)](_0x5b774a,_0x19b1c7);return;}_0x5b774a['length']&&(this[_0x4ede9c(0x1e5)]=this[_0x4ede9c(0x188)],this[_0x4ede9c(0x17e)]['push'](_0x5b774a)),this['dataMessage'](_0x19b1c7);}[_0x681be2(0x1ac)](_0x21e080,_0x59241e){const _0x8f7ce7=_0x681be2;this[_0x8f7ce7(0x1e1)][_0x3bdec1[_0x8f7ce7(0x1db)]][_0x8f7ce7(0x1ac)](_0x21e080,this[_0x8f7ce7(0x24f)],(_0x384f95,_0x40a890)=>{const _0x4c12b5=_0x8f7ce7;if(_0x384f95)return _0x59241e(_0x384f95);if(_0x40a890[_0x4c12b5(0x237)]){if(this['_messageLength']+=_0x40a890['length'],this['_messageLength']>this[_0x4c12b5(0x1dd)]&&this['_maxPayload']>0x0){const _0x112bb8=this[_0x4c12b5(0x208)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x4c12b5(0x21e));_0x59241e(_0x112bb8);return;}this[_0x4c12b5(0x17e)][_0x4c12b5(0x258)](_0x40a890);}this[_0x4c12b5(0x107)](_0x59241e),this[_0x4c12b5(0x1c7)]===_0x46a1b3&&this[_0x4c12b5(0x246)](_0x59241e);});}[_0x681be2(0x107)](_0x4d9655){const _0x29a95c=_0x681be2;if(!this[_0x29a95c(0x24f)]){this[_0x29a95c(0x1c7)]=_0x46a1b3;return;}const _0x1c1551=this['_messageLength'],_0xf63a41=this['_fragments'];if(this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this[_0x29a95c(0x183)]=0x0,this[_0x29a95c(0x17e)]=[],this[_0x29a95c(0x240)]===0x2){let _0x51bfe5;this[_0x29a95c(0xcf)]===_0x29a95c(0x239)?_0x51bfe5=_0x5abd5b(_0xf63a41,_0x1c1551):this[_0x29a95c(0xcf)]===_0x29a95c(0x16b)?_0x51bfe5=_0x5ab50d(_0x5abd5b(_0xf63a41,_0x1c1551)):this[_0x29a95c(0xcf)]==='blob'?_0x51bfe5=new Blob(_0xf63a41):_0x51bfe5=_0xf63a41,this[_0x29a95c(0x259)]?(this['emit'](_0x29a95c(0x1a2),_0x51bfe5,!0x0),this[_0x29a95c(0x1c7)]=_0x46a1b3):(this[_0x29a95c(0x1c7)]=_0x37682d,setImmediate(()=>{const _0x1b4856=_0x29a95c;this['emit'](_0x1b4856(0x1a2),_0x51bfe5,!0x0),this[_0x1b4856(0x1c7)]=_0x46a1b3,this[_0x1b4856(0x246)](_0x4d9655);}));}else{const _0x31f310=_0x5abd5b(_0xf63a41,_0x1c1551);if(!this['_skipUTF8Validation']&&!_0x385559(_0x31f310)){const _0x5bcad4=this[_0x29a95c(0x208)](Error,_0x29a95c(0x1f0),!0x0,0x3ef,_0x29a95c(0x15f));_0x4d9655(_0x5bcad4);return;}this[_0x29a95c(0x1c7)]===_0x17fdad||this[_0x29a95c(0x259)]?(this[_0x29a95c(0x263)](_0x29a95c(0x1a2),_0x31f310,!0x1),this['_state']=_0x46a1b3):(this[_0x29a95c(0x1c7)]=_0x37682d,setImmediate(()=>{const _0x2900ee=_0x29a95c;this[_0x2900ee(0x263)](_0x2900ee(0x1a2),_0x31f310,!0x1),this[_0x2900ee(0x1c7)]=_0x46a1b3,this[_0x2900ee(0x246)](_0x4d9655);}));}}[_0x681be2(0x256)](_0x5a3b1b,_0x56ea3a){const _0x5aec97=_0x681be2;if(this['_opcode']===0x8){if(_0x5a3b1b['length']===0x0)this[_0x5aec97(0x14b)]=!0x1,this['emit']('conclude',0x3ed,_0x113776),this['end']();else{const _0x49d1b6=_0x5a3b1b[_0x5aec97(0x16f)](0x0);if(!_0x57c1d5(_0x49d1b6)){const _0x126d34=this['createError'](RangeError,_0x5aec97(0x93)+_0x49d1b6,!0x0,0x3ea,_0x5aec97(0xdd));_0x56ea3a(_0x126d34);return;}const _0x382f57=new _0x3152fa(_0x5a3b1b[_0x5aec97(0x21d)],_0x5a3b1b[_0x5aec97(0x232)]+0x2,_0x5a3b1b[_0x5aec97(0x237)]-0x2);if(!this[_0x5aec97(0x229)]&&!_0x385559(_0x382f57)){const _0x2290c5=this[_0x5aec97(0x208)](Error,_0x5aec97(0x1f0),!0x0,0x3ef,_0x5aec97(0x15f));_0x56ea3a(_0x2290c5);return;}this[_0x5aec97(0x14b)]=!0x1,this[_0x5aec97(0x263)]('conclude',_0x49d1b6,_0x382f57),this['end']();}this['_state']=_0x46a1b3;return;}this['_allowSynchronousEvents']?(this[_0x5aec97(0x263)](this['_opcode']===0x9?_0x5aec97(0x90):_0x5aec97(0xb0),_0x5a3b1b),this['_state']=_0x46a1b3):(this[_0x5aec97(0x1c7)]=_0x37682d,setImmediate(()=>{const _0x134c29=_0x5aec97;this[_0x134c29(0x263)](this[_0x134c29(0x240)]===0x9?_0x134c29(0x90):_0x134c29(0xb0),_0x5a3b1b),this['_state']=_0x46a1b3,this[_0x134c29(0x246)](_0x56ea3a);}));}[_0x681be2(0x208)](_0x56f6a1,_0x415c90,_0x21655f,_0x583f46,_0x158771){const _0x277eeb=_0x681be2;this[_0x277eeb(0x14b)]=!0x1,this['_errored']=!0x0;const _0x1f9853=new _0x56f6a1(_0x21655f?_0x277eeb(0x1c5)+_0x415c90:_0x415c90);return Error[_0x277eeb(0x1fa)](_0x1f9853,this[_0x277eeb(0x208)]),_0x1f9853['code']=_0x158771,_0x1f9853[_0x40c80d]=_0x583f46,_0x1f9853;}}return Se=_0x2a0cfc,Se;}var Ee,Xe;function ft(){const _0x44a903=_0x15e6da;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x46dc06}=oe,{randomFillSync:_0x1c1e5e}=Le,_0x58b8d7=he(),{EMPTY_BUFFER:_0x4706c7,kWebSocket:_0x3668f6,NOOP:_0xcee137}=H(),{isBlob:_0xb04306,isValidStatusCode:_0x3c9f9f}=ae(),{mask:_0x2c35ad,toBuffer:_0x19a5fd}=ce(),_0x20e0c8=Symbol(_0x44a903(0x127)),_0x498b7e=Buffer[_0x44a903(0x99)](0x4),_0x1d403e=0x8*0x400;let _0x3d8481,_0x4a2536=_0x1d403e;const _0x1bf35e=0x0,_0x807cf8=0x1,_0x4a9b57=0x2;class _0x5e2422{constructor(_0x1414a0,_0x5cc7e3,_0xbf23d1){const _0x14edf1=_0x44a903;this[_0x14edf1(0x1e1)]=_0x5cc7e3||{},_0xbf23d1&&(this['_generateMask']=_0xbf23d1,this[_0x14edf1(0x15d)]=Buffer['alloc'](0x4)),this[_0x14edf1(0x207)]=_0x1414a0,this[_0x14edf1(0x1a4)]=!0x0,this[_0x14edf1(0x112)]=!0x1,this[_0x14edf1(0xde)]=0x0,this['_queue']=[],this[_0x14edf1(0x1c7)]=_0x1bf35e,this[_0x14edf1(0x103)]=_0xcee137,this[_0x3668f6]=void 0x0;}static[_0x44a903(0x9f)](_0x45bd58,_0x406bab){const _0x6d3c20=_0x44a903;let _0x4fe179,_0x5648d6=!0x1,_0x47a015=0x2,_0x51b428=!0x1;_0x406bab[_0x6d3c20(0x211)]&&(_0x4fe179=_0x406bab['maskBuffer']||_0x498b7e,_0x406bab[_0x6d3c20(0x19f)]?_0x406bab[_0x6d3c20(0x19f)](_0x4fe179):(_0x4a2536===_0x1d403e&&(_0x3d8481===void 0x0&&(_0x3d8481=Buffer['alloc'](_0x1d403e)),_0x1c1e5e(_0x3d8481,0x0,_0x1d403e),_0x4a2536=0x0),_0x4fe179[0x0]=_0x3d8481[_0x4a2536++],_0x4fe179[0x1]=_0x3d8481[_0x4a2536++],_0x4fe179[0x2]=_0x3d8481[_0x4a2536++],_0x4fe179[0x3]=_0x3d8481[_0x4a2536++]),_0x51b428=(_0x4fe179[0x0]|_0x4fe179[0x1]|_0x4fe179[0x2]|_0x4fe179[0x3])===0x0,_0x47a015=0x6);let _0x9cf22e;typeof _0x45bd58=='string'?(!_0x406bab['mask']||_0x51b428)&&_0x406bab[_0x20e0c8]!==void 0x0?_0x9cf22e=_0x406bab[_0x20e0c8]:(_0x45bd58=Buffer[_0x6d3c20(0x260)](_0x45bd58),_0x9cf22e=_0x45bd58[_0x6d3c20(0x237)]):(_0x9cf22e=_0x45bd58[_0x6d3c20(0x237)],_0x5648d6=_0x406bab['mask']&&_0x406bab['readOnly']&&!_0x51b428);let _0x5243e8=_0x9cf22e;_0x9cf22e>=0x10000?(_0x47a015+=0x8,_0x5243e8=0x7f):_0x9cf22e>0x7d&&(_0x47a015+=0x2,_0x5243e8=0x7e);const _0xc25282=Buffer[_0x6d3c20(0xd8)](_0x5648d6?_0x9cf22e+_0x47a015:_0x47a015);return _0xc25282[0x0]=_0x406bab['fin']?_0x406bab[_0x6d3c20(0xd1)]|0x80:_0x406bab['opcode'],_0x406bab[_0x6d3c20(0x135)]&&(_0xc25282[0x0]|=0x40),_0xc25282[0x1]=_0x5243e8,_0x5243e8===0x7e?_0xc25282['writeUInt16BE'](_0x9cf22e,0x2):_0x5243e8===0x7f&&(_0xc25282[0x2]=_0xc25282[0x3]=0x0,_0xc25282[_0x6d3c20(0x1de)](_0x9cf22e,0x4,0x6)),_0x406bab[_0x6d3c20(0x211)]?(_0xc25282[0x1]|=0x80,_0xc25282[_0x47a015-0x4]=_0x4fe179[0x0],_0xc25282[_0x47a015-0x3]=_0x4fe179[0x1],_0xc25282[_0x47a015-0x2]=_0x4fe179[0x2],_0xc25282[_0x47a015-0x1]=_0x4fe179[0x3],_0x51b428?[_0xc25282,_0x45bd58]:_0x5648d6?(_0x2c35ad(_0x45bd58,_0x4fe179,_0xc25282,_0x47a015,_0x9cf22e),[_0xc25282]):(_0x2c35ad(_0x45bd58,_0x4fe179,_0x45bd58,0x0,_0x9cf22e),[_0xc25282,_0x45bd58])):[_0xc25282,_0x45bd58];}[_0x44a903(0xfc)](_0x260cec,_0x12c9ce,_0x511ae9,_0x591d72){const _0x543474=_0x44a903;let _0x4d2b6f;if(_0x260cec===void 0x0)_0x4d2b6f=_0x4706c7;else{if(typeof _0x260cec!=_0x543474(0x138)||!_0x3c9f9f(_0x260cec))throw new TypeError(_0x543474(0x18f));if(_0x12c9ce===void 0x0||!_0x12c9ce['length'])_0x4d2b6f=Buffer[_0x543474(0xd8)](0x2),_0x4d2b6f[_0x543474(0x154)](_0x260cec,0x0);else{const _0x5057fe=Buffer[_0x543474(0x217)](_0x12c9ce);if(_0x5057fe>0x7b)throw new RangeError(_0x543474(0x150));_0x4d2b6f=Buffer[_0x543474(0xd8)](0x2+_0x5057fe),_0x4d2b6f['writeUInt16BE'](_0x260cec,0x0),typeof _0x12c9ce==_0x543474(0x193)?_0x4d2b6f[_0x543474(0x137)](_0x12c9ce,0x2):_0x4d2b6f[_0x543474(0x145)](_0x12c9ce,0x2);}}const _0x1dc156={[_0x20e0c8]:_0x4d2b6f[_0x543474(0x237)],'fin':!0x0,'generateMask':this[_0x543474(0x155)],'mask':_0x511ae9,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x543474(0x1c7)]!==_0x1bf35e?this['enqueue']([this[_0x543474(0x181)],_0x4d2b6f,!0x1,_0x1dc156,_0x591d72]):this['sendFrame'](_0x5e2422['frame'](_0x4d2b6f,_0x1dc156),_0x591d72);}[_0x44a903(0x90)](_0x4532b5,_0x3e0b9b,_0x4843db){const _0x4ec6d5=_0x44a903;let _0x34da0f,_0x2af90a;if(typeof _0x4532b5=='string'?(_0x34da0f=Buffer['byteLength'](_0x4532b5),_0x2af90a=!0x1):_0xb04306(_0x4532b5)?(_0x34da0f=_0x4532b5['size'],_0x2af90a=!0x1):(_0x4532b5=_0x19a5fd(_0x4532b5),_0x34da0f=_0x4532b5[_0x4ec6d5(0x237)],_0x2af90a=_0x19a5fd[_0x4ec6d5(0xcc)]),_0x34da0f>0x7d)throw new RangeError(_0x4ec6d5(0x204));const _0x3d02ae={[_0x20e0c8]:_0x34da0f,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x3e0b9b,'maskBuffer':this[_0x4ec6d5(0x15d)],'opcode':0x9,'readOnly':_0x2af90a,'rsv1':!0x1};_0xb04306(_0x4532b5)?this['_state']!==_0x1bf35e?this[_0x4ec6d5(0xf3)]([this[_0x4ec6d5(0x201)],_0x4532b5,!0x1,_0x3d02ae,_0x4843db]):this[_0x4ec6d5(0x201)](_0x4532b5,!0x1,_0x3d02ae,_0x4843db):this['_state']!==_0x1bf35e?this[_0x4ec6d5(0xf3)]([this[_0x4ec6d5(0x181)],_0x4532b5,!0x1,_0x3d02ae,_0x4843db]):this[_0x4ec6d5(0x1c9)](_0x5e2422['frame'](_0x4532b5,_0x3d02ae),_0x4843db);}[_0x44a903(0xb0)](_0x340fe5,_0x3f11e2,_0x392c17){const _0x4292ed=_0x44a903;let _0x523f14,_0x45230d;if(typeof _0x340fe5==_0x4292ed(0x193)?(_0x523f14=Buffer['byteLength'](_0x340fe5),_0x45230d=!0x1):_0xb04306(_0x340fe5)?(_0x523f14=_0x340fe5[_0x4292ed(0x118)],_0x45230d=!0x1):(_0x340fe5=_0x19a5fd(_0x340fe5),_0x523f14=_0x340fe5[_0x4292ed(0x237)],_0x45230d=_0x19a5fd[_0x4292ed(0xcc)]),_0x523f14>0x7d)throw new RangeError(_0x4292ed(0x204));const _0x144f01={[_0x20e0c8]:_0x523f14,'fin':!0x0,'generateMask':this[_0x4292ed(0x155)],'mask':_0x3f11e2,'maskBuffer':this[_0x4292ed(0x15d)],'opcode':0xa,'readOnly':_0x45230d,'rsv1':!0x1};_0xb04306(_0x340fe5)?this[_0x4292ed(0x1c7)]!==_0x1bf35e?this[_0x4292ed(0xf3)]([this[_0x4292ed(0x201)],_0x340fe5,!0x1,_0x144f01,_0x392c17]):this[_0x4292ed(0x201)](_0x340fe5,!0x1,_0x144f01,_0x392c17):this[_0x4292ed(0x1c7)]!==_0x1bf35e?this[_0x4292ed(0xf3)]([this[_0x4292ed(0x181)],_0x340fe5,!0x1,_0x144f01,_0x392c17]):this[_0x4292ed(0x1c9)](_0x5e2422[_0x4292ed(0x9f)](_0x340fe5,_0x144f01),_0x392c17);}['send'](_0x573dcb,_0x221d81,_0x244e37){const _0x1b037f=_0x44a903,_0x4589e4=this['_extensions'][_0x58b8d7[_0x1b037f(0x1db)]];let _0x29bb72=_0x221d81[_0x1b037f(0x9e)]?0x2:0x1,_0xc6d398=_0x221d81[_0x1b037f(0x18b)],_0x333caa,_0x3dbf94;typeof _0x573dcb==_0x1b037f(0x193)?(_0x333caa=Buffer[_0x1b037f(0x217)](_0x573dcb),_0x3dbf94=!0x1):_0xb04306(_0x573dcb)?(_0x333caa=_0x573dcb[_0x1b037f(0x118)],_0x3dbf94=!0x1):(_0x573dcb=_0x19a5fd(_0x573dcb),_0x333caa=_0x573dcb[_0x1b037f(0x237)],_0x3dbf94=_0x19a5fd['readOnly']),this[_0x1b037f(0x1a4)]?(this[_0x1b037f(0x1a4)]=!0x1,_0xc6d398&&_0x4589e4&&_0x4589e4['params'][_0x4589e4[_0x1b037f(0x91)]?'server_no_context_takeover':_0x1b037f(0x185)]&&(_0xc6d398=_0x333caa>=_0x4589e4[_0x1b037f(0x167)]),this[_0x1b037f(0x112)]=_0xc6d398):(_0xc6d398=!0x1,_0x29bb72=0x0),_0x221d81[_0x1b037f(0x1d2)]&&(this[_0x1b037f(0x1a4)]=!0x0);const _0x35c1d3={[_0x20e0c8]:_0x333caa,'fin':_0x221d81[_0x1b037f(0x1d2)],'generateMask':this[_0x1b037f(0x155)],'mask':_0x221d81[_0x1b037f(0x211)],'maskBuffer':this[_0x1b037f(0x15d)],'opcode':_0x29bb72,'readOnly':_0x3dbf94,'rsv1':_0xc6d398};_0xb04306(_0x573dcb)?this[_0x1b037f(0x1c7)]!==_0x1bf35e?this[_0x1b037f(0xf3)]([this['getBlobData'],_0x573dcb,this[_0x1b037f(0x112)],_0x35c1d3,_0x244e37]):this['getBlobData'](_0x573dcb,this[_0x1b037f(0x112)],_0x35c1d3,_0x244e37):this[_0x1b037f(0x1c7)]!==_0x1bf35e?this[_0x1b037f(0xf3)]([this[_0x1b037f(0x181)],_0x573dcb,this['_compress'],_0x35c1d3,_0x244e37]):this[_0x1b037f(0x181)](_0x573dcb,this[_0x1b037f(0x112)],_0x35c1d3,_0x244e37);}[_0x44a903(0x201)](_0x22f8f4,_0x1aa988,_0x739055,_0x24ef36){const _0x407028=_0x44a903;this[_0x407028(0xde)]+=_0x739055[_0x20e0c8],this[_0x407028(0x1c7)]=_0x4a9b57,_0x22f8f4[_0x407028(0x13c)]()[_0x407028(0x148)](_0x2b5f82=>{const _0x188372=_0x407028;if(this[_0x188372(0x207)][_0x188372(0x194)]){const _0x5c006c=new Error(_0x188372(0x182));process[_0x188372(0x176)](_0x5f0ddb,this,_0x5c006c,_0x24ef36);return;}this[_0x188372(0xde)]-=_0x739055[_0x20e0c8];const _0xde36b=_0x19a5fd(_0x2b5f82);_0x1aa988?this[_0x188372(0x181)](_0xde36b,_0x1aa988,_0x739055,_0x24ef36):(this[_0x188372(0x1c7)]=_0x1bf35e,this['sendFrame'](_0x5e2422[_0x188372(0x9f)](_0xde36b,_0x739055),_0x24ef36),this[_0x188372(0x144)]());})[_0x407028(0x149)](_0x734695=>{process['nextTick'](_0x5975c5,this,_0x734695,_0x24ef36);});}[_0x44a903(0x181)](_0x1a72d0,_0x3e8d48,_0x2d5535,_0x246fd0){const _0xc290db=_0x44a903;if(!_0x3e8d48){this['sendFrame'](_0x5e2422['frame'](_0x1a72d0,_0x2d5535),_0x246fd0);return;}const _0x4eb164=this[_0xc290db(0x1e1)][_0x58b8d7['extensionName']];this[_0xc290db(0xde)]+=_0x2d5535[_0x20e0c8],this[_0xc290db(0x1c7)]=_0x807cf8,_0x4eb164[_0xc290db(0x18b)](_0x1a72d0,_0x2d5535[_0xc290db(0x1d2)],(_0x1873af,_0xaa67b5)=>{const _0x36f41c=_0xc290db;if(this[_0x36f41c(0x207)]['destroyed']){const _0x1d89f3=new Error(_0x36f41c(0xe2));_0x5f0ddb(this,_0x1d89f3,_0x246fd0);return;}this['_bufferedBytes']-=_0x2d5535[_0x20e0c8],this['_state']=_0x1bf35e,_0x2d5535[_0x36f41c(0xcc)]=!0x1,this[_0x36f41c(0x1c9)](_0x5e2422[_0x36f41c(0x9f)](_0xaa67b5,_0x2d5535),_0x246fd0),this['dequeue']();});}[_0x44a903(0x144)](){const _0xacfadf=_0x44a903;for(;this[_0xacfadf(0x1c7)]===_0x1bf35e&&this[_0xacfadf(0x21c)][_0xacfadf(0x237)];){const _0x2f138d=this[_0xacfadf(0x21c)][_0xacfadf(0x192)]();this[_0xacfadf(0xde)]-=_0x2f138d[0x3][_0x20e0c8],Reflect[_0xacfadf(0xcb)](_0x2f138d[0x0],this,_0x2f138d[_0xacfadf(0xa9)](0x1));}}['enqueue'](_0x3e8c6e){const _0xe5f839=_0x44a903;this[_0xe5f839(0xde)]+=_0x3e8c6e[0x3][_0x20e0c8],this[_0xe5f839(0x21c)][_0xe5f839(0x258)](_0x3e8c6e);}[_0x44a903(0x1c9)](_0x4cb43e,_0x3cca1c){const _0x217b45=_0x44a903;_0x4cb43e['length']===0x2?(this[_0x217b45(0x207)][_0x217b45(0x158)](),this['_socket'][_0x217b45(0x137)](_0x4cb43e[0x0]),this['_socket']['write'](_0x4cb43e[0x1],_0x3cca1c),this[_0x217b45(0x207)][_0x217b45(0xb2)]()):this[_0x217b45(0x207)]['write'](_0x4cb43e[0x0],_0x3cca1c);}}Ee=_0x5e2422;function _0x5f0ddb(_0x421993,_0x3d4256,_0x5ce824){const _0x17499d=_0x44a903;typeof _0x5ce824==_0x17499d(0x23f)&&_0x5ce824(_0x3d4256);for(let _0x520a2b=0x0;_0x520a2b<_0x421993['_queue'][_0x17499d(0x237)];_0x520a2b++){const _0x16708a=_0x421993[_0x17499d(0x21c)][_0x520a2b],_0x54ac79=_0x16708a[_0x16708a['length']-0x1];typeof _0x54ac79==_0x17499d(0x23f)&&_0x54ac79(_0x3d4256);}}function _0x5975c5(_0x2b8e29,_0x41ff9e,_0x2c1048){_0x5f0ddb(_0x2b8e29,_0x41ff9e,_0x2c1048),_0x2b8e29['onerror'](_0x41ff9e);}return Ee;}var xe,Ze;function It(){const _0x188373=_0x15e6da;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x2d56cf,kListener:_0x914c7d}=H(),_0x178fb0=Symbol(_0x188373(0x1d3)),_0x56b8f5=Symbol(_0x188373(0x1c8)),_0x20597b=Symbol(_0x188373(0x19c)),_0x3ae1f1=Symbol('kMessage'),_0x286657=Symbol(_0x188373(0x1cc)),_0x5907a3=Symbol(_0x188373(0x95)),_0x4e2d22=Symbol(_0x188373(0x104)),_0x49aa1a=Symbol(_0x188373(0x227));class _0x4c5ddd{constructor(_0xd773fc){this[_0x5907a3]=null,this[_0x4e2d22]=_0xd773fc;}get[_0x188373(0xe1)](){return this[_0x5907a3];}get[_0x188373(0x102)](){return this[_0x4e2d22];}}Object[_0x188373(0x15e)](_0x4c5ddd[_0x188373(0x1ae)],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x4c5ddd['prototype'],_0x188373(0x102),{'enumerable':!0x0});class _0x55cd61 extends _0x4c5ddd{constructor(_0x3c2d88,_0x45bcee={}){const _0x344f22=_0x188373;super(_0x3c2d88),this[_0x178fb0]=_0x45bcee[_0x344f22(0x241)]===void 0x0?0x0:_0x45bcee[_0x344f22(0x241)],this[_0x286657]=_0x45bcee[_0x344f22(0x1ec)]===void 0x0?'':_0x45bcee[_0x344f22(0x1ec)],this[_0x49aa1a]=_0x45bcee[_0x344f22(0x1cf)]===void 0x0?!0x1:_0x45bcee[_0x344f22(0x1cf)];}get[_0x188373(0x241)](){return this[_0x178fb0];}get[_0x188373(0x1ec)](){return this[_0x286657];}get[_0x188373(0x1cf)](){return this[_0x49aa1a];}}Object['defineProperty'](_0x55cd61[_0x188373(0x1ae)],'code',{'enumerable':!0x0}),Object[_0x188373(0x15e)](_0x55cd61['prototype'],_0x188373(0x1ec),{'enumerable':!0x0}),Object['defineProperty'](_0x55cd61[_0x188373(0x1ae)],_0x188373(0x1cf),{'enumerable':!0x0});class _0x3965ec extends _0x4c5ddd{constructor(_0x20a80d,_0x20b974={}){const _0x6773af=_0x188373;super(_0x20a80d),this[_0x20597b]=_0x20b974[_0x6773af(0x20a)]===void 0x0?null:_0x20b974['error'],this[_0x3ae1f1]=_0x20b974[_0x6773af(0x1a2)]===void 0x0?'':_0x20b974[_0x6773af(0x1a2)];}get['error'](){return this[_0x20597b];}get[_0x188373(0x1a2)](){return this[_0x3ae1f1];}}Object[_0x188373(0x15e)](_0x3965ec[_0x188373(0x1ae)],_0x188373(0x20a),{'enumerable':!0x0}),Object[_0x188373(0x15e)](_0x3965ec[_0x188373(0x1ae)],_0x188373(0x1a2),{'enumerable':!0x0});class _0x489c49 extends _0x4c5ddd{constructor(_0x3c8d64,_0x583bda={}){const _0x51471b=_0x188373;super(_0x3c8d64),this[_0x56b8f5]=_0x583bda[_0x51471b(0x128)]===void 0x0?null:_0x583bda[_0x51471b(0x128)];}get[_0x188373(0x128)](){return this[_0x56b8f5];}}Object[_0x188373(0x15e)](_0x489c49['prototype'],_0x188373(0x128),{'enumerable':!0x0}),xe={'CloseEvent':_0x55cd61,'ErrorEvent':_0x3965ec,'Event':_0x4c5ddd,'EventTarget':{'addEventListener'(_0x15a4c3,_0x19da1e,_0x32b9d2={}){const _0x331509=_0x188373;for(const _0x248248 of this[_0x331509(0x1ad)](_0x15a4c3))if(!_0x32b9d2[_0x2d56cf]&&_0x248248[_0x914c7d]===_0x19da1e&&!_0x248248[_0x2d56cf])return;let _0x9f84d7;if(_0x15a4c3===_0x331509(0x1a2))_0x9f84d7=function(_0x1eaf5c,_0x5a26c3){const _0x4e7694=_0x331509,_0x489c3e=new _0x489c49(_0x4e7694(0x1a2),{'data':_0x5a26c3?_0x1eaf5c:_0x1eaf5c[_0x4e7694(0xa3)]()});_0x489c3e[_0x5907a3]=this,_0x419a7b(_0x19da1e,this,_0x489c3e);};else{if(_0x15a4c3===_0x331509(0xfc))_0x9f84d7=function(_0xa8f827,_0x4f24d9){const _0x2a9d1f=_0x331509,_0x598f6e=new _0x55cd61(_0x2a9d1f(0xfc),{'code':_0xa8f827,'reason':_0x4f24d9[_0x2a9d1f(0xa3)](),'wasClean':this[_0x2a9d1f(0x223)]&&this[_0x2a9d1f(0x22d)]});_0x598f6e[_0x5907a3]=this,_0x419a7b(_0x19da1e,this,_0x598f6e);};else{if(_0x15a4c3===_0x331509(0x20a))_0x9f84d7=function(_0xde99a6){const _0x1d9d37=_0x331509,_0xb1237c=new _0x3965ec(_0x1d9d37(0x20a),{'error':_0xde99a6,'message':_0xde99a6[_0x1d9d37(0x1a2)]});_0xb1237c[_0x5907a3]=this,_0x419a7b(_0x19da1e,this,_0xb1237c);};else{if(_0x15a4c3===_0x331509(0x25f))_0x9f84d7=function(){const _0x30301a=_0x331509,_0x2d01ba=new _0x4c5ddd(_0x30301a(0x25f));_0x2d01ba[_0x5907a3]=this,_0x419a7b(_0x19da1e,this,_0x2d01ba);};else return;}}}_0x9f84d7[_0x2d56cf]=!!_0x32b9d2[_0x2d56cf],_0x9f84d7[_0x914c7d]=_0x19da1e,_0x32b9d2[_0x331509(0xb8)]?this[_0x331509(0xb8)](_0x15a4c3,_0x9f84d7):this['on'](_0x15a4c3,_0x9f84d7);},'removeEventListener'(_0x52d263,_0x37ae30){const _0x3fe08a=_0x188373;for(const _0x4a415a of this[_0x3fe08a(0x1ad)](_0x52d263))if(_0x4a415a[_0x914c7d]===_0x37ae30&&!_0x4a415a[_0x2d56cf]){this[_0x3fe08a(0x25d)](_0x52d263,_0x4a415a);break;}}},'MessageEvent':_0x489c49};function _0x419a7b(_0x27f778,_0x4929b9,_0x215e99){const _0x4c5854=_0x188373;typeof _0x27f778==_0x4c5854(0x175)&&_0x27f778[_0x4c5854(0x213)]?_0x27f778['handleEvent']['call'](_0x27f778,_0x215e99):_0x27f778[_0x4c5854(0x10a)](_0x4929b9,_0x215e99);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x3dd58c}=ae();function _0x1d8492(_0x215eaa,_0x1ef1bc,_0x47c86f){_0x215eaa[_0x1ef1bc]===void 0x0?_0x215eaa[_0x1ef1bc]=[_0x47c86f]:_0x215eaa[_0x1ef1bc]['push'](_0x47c86f);}function _0x16906d(_0x3ab38a){const _0x1ad712=_0xced4,_0x558ee9=Object[_0x1ad712(0xf5)](null);let _0x35a295=Object[_0x1ad712(0xf5)](null),_0x14cadb=!0x1,_0x280a80=!0x1,_0x4ab425=!0x1,_0x3c526e,_0x3c3b7e,_0x47d767=-0x1,_0x3b0ea1=-0x1,_0x10fdfb=-0x1,_0x1655c6=0x0;for(;_0x1655c6<_0x3ab38a[_0x1ad712(0x237)];_0x1655c6++)if(_0x3b0ea1=_0x3ab38a[_0x1ad712(0x1fe)](_0x1655c6),_0x3c526e===void 0x0){if(_0x10fdfb===-0x1&&_0x3dd58c[_0x3b0ea1]===0x1)_0x47d767===-0x1&&(_0x47d767=_0x1655c6);else{if(_0x1655c6!==0x0&&(_0x3b0ea1===0x20||_0x3b0ea1===0x9))_0x10fdfb===-0x1&&_0x47d767!==-0x1&&(_0x10fdfb=_0x1655c6);else{if(_0x3b0ea1===0x3b||_0x3b0ea1===0x2c){if(_0x47d767===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1655c6);_0x10fdfb===-0x1&&(_0x10fdfb=_0x1655c6);const _0x3031ce=_0x3ab38a[_0x1ad712(0xa9)](_0x47d767,_0x10fdfb);_0x3b0ea1===0x2c?(_0x1d8492(_0x558ee9,_0x3031ce,_0x35a295),_0x35a295=Object[_0x1ad712(0xf5)](null)):_0x3c526e=_0x3031ce,_0x47d767=_0x10fdfb=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1655c6);}}}else{if(_0x3c3b7e===void 0x0){if(_0x10fdfb===-0x1&&_0x3dd58c[_0x3b0ea1]===0x1)_0x47d767===-0x1&&(_0x47d767=_0x1655c6);else{if(_0x3b0ea1===0x20||_0x3b0ea1===0x9)_0x10fdfb===-0x1&&_0x47d767!==-0x1&&(_0x10fdfb=_0x1655c6);else{if(_0x3b0ea1===0x3b||_0x3b0ea1===0x2c){if(_0x47d767===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1655c6);_0x10fdfb===-0x1&&(_0x10fdfb=_0x1655c6),_0x1d8492(_0x35a295,_0x3ab38a[_0x1ad712(0xa9)](_0x47d767,_0x10fdfb),!0x0),_0x3b0ea1===0x2c&&(_0x1d8492(_0x558ee9,_0x3c526e,_0x35a295),_0x35a295=Object[_0x1ad712(0xf5)](null),_0x3c526e=void 0x0),_0x47d767=_0x10fdfb=-0x1;}else{if(_0x3b0ea1===0x3d&&_0x47d767!==-0x1&&_0x10fdfb===-0x1)_0x3c3b7e=_0x3ab38a['slice'](_0x47d767,_0x1655c6),_0x47d767=_0x10fdfb=-0x1;else throw new SyntaxError(_0x1ad712(0x234)+_0x1655c6);}}}}else{if(_0x280a80){if(_0x3dd58c[_0x3b0ea1]!==0x1)throw new SyntaxError(_0x1ad712(0x234)+_0x1655c6);_0x47d767===-0x1?_0x47d767=_0x1655c6:_0x14cadb||(_0x14cadb=!0x0),_0x280a80=!0x1;}else{if(_0x4ab425){if(_0x3dd58c[_0x3b0ea1]===0x1)_0x47d767===-0x1&&(_0x47d767=_0x1655c6);else{if(_0x3b0ea1===0x22&&_0x47d767!==-0x1)_0x4ab425=!0x1,_0x10fdfb=_0x1655c6;else{if(_0x3b0ea1===0x5c)_0x280a80=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1655c6);}}}else{if(_0x3b0ea1===0x22&&_0x3ab38a[_0x1ad712(0x1fe)](_0x1655c6-0x1)===0x3d)_0x4ab425=!0x0;else{if(_0x10fdfb===-0x1&&_0x3dd58c[_0x3b0ea1]===0x1)_0x47d767===-0x1&&(_0x47d767=_0x1655c6);else{if(_0x47d767!==-0x1&&(_0x3b0ea1===0x20||_0x3b0ea1===0x9))_0x10fdfb===-0x1&&(_0x10fdfb=_0x1655c6);else{if(_0x3b0ea1===0x3b||_0x3b0ea1===0x2c){if(_0x47d767===-0x1)throw new SyntaxError(_0x1ad712(0x234)+_0x1655c6);_0x10fdfb===-0x1&&(_0x10fdfb=_0x1655c6);let _0x5764ec=_0x3ab38a[_0x1ad712(0xa9)](_0x47d767,_0x10fdfb);_0x14cadb&&(_0x5764ec=_0x5764ec[_0x1ad712(0x111)](/\\/g,''),_0x14cadb=!0x1),_0x1d8492(_0x35a295,_0x3c3b7e,_0x5764ec),_0x3b0ea1===0x2c&&(_0x1d8492(_0x558ee9,_0x3c526e,_0x35a295),_0x35a295=Object['create'](null),_0x3c526e=void 0x0),_0x3c3b7e=void 0x0,_0x47d767=_0x10fdfb=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1655c6);}}}}}}}if(_0x47d767===-0x1||_0x4ab425||_0x3b0ea1===0x20||_0x3b0ea1===0x9)throw new SyntaxError(_0x1ad712(0x11e));_0x10fdfb===-0x1&&(_0x10fdfb=_0x1655c6);const _0xa8ae25=_0x3ab38a[_0x1ad712(0xa9)](_0x47d767,_0x10fdfb);return _0x3c526e===void 0x0?_0x1d8492(_0x558ee9,_0xa8ae25,_0x35a295):(_0x3c3b7e===void 0x0?_0x1d8492(_0x35a295,_0xa8ae25,!0x0):_0x14cadb?_0x1d8492(_0x35a295,_0x3c3b7e,_0xa8ae25[_0x1ad712(0x111)](/\\/g,'')):_0x1d8492(_0x35a295,_0x3c3b7e,_0xa8ae25),_0x1d8492(_0x558ee9,_0x3c526e,_0x35a295)),_0x558ee9;}function _0x4126e3(_0x230ae2){const _0x59c63a=_0xced4;return Object[_0x59c63a(0x165)](_0x230ae2)[_0x59c63a(0x23e)](_0x526e6d=>{const _0x14f6b3=_0x59c63a;let _0x4c2179=_0x230ae2[_0x526e6d];return Array[_0x14f6b3(0xa0)](_0x4c2179)||(_0x4c2179=[_0x4c2179]),_0x4c2179[_0x14f6b3(0x23e)](_0x2e3c59=>[_0x526e6d][_0x14f6b3(0x1c6)](Object[_0x14f6b3(0x165)](_0x2e3c59)[_0x14f6b3(0x23e)](_0x2a0fa3=>{const _0x293894=_0x14f6b3;let _0x29acb1=_0x2e3c59[_0x2a0fa3];return Array[_0x293894(0xa0)](_0x29acb1)||(_0x29acb1=[_0x29acb1]),_0x29acb1['map'](_0xf5c7d6=>_0xf5c7d6===!0x0?_0x2a0fa3:_0x2a0fa3+'='+_0xf5c7d6)[_0x293894(0x14a)](';\x20');}))['join'](';\x20'))[_0x14f6b3(0x14a)](',\x20');})[_0x59c63a(0x14a)](',\x20');}return be={'format':_0x4126e3,'parse':_0x16906d},be;}var we,Je;function Pe(){const _0x33dceb=_0x15e6da;if(Je)return we;Je=0x1;const _0x1d69a8=nt,_0x62cf2a=vt,_0x424ca4=ot,_0x4750af=St,_0x49098a=Et,{randomBytes:_0x56a542,createHash:_0x120d9d}=Le,{Duplex:_0x5a411b,Readable:_0x30e628}=oe,{URL:_0x46286d}=xt,_0x34f496=he(),_0x31d009=lt(),_0x233a41=ft(),{isBlob:_0x4850c7}=ae(),{BINARY_TYPES:_0x46ebe9,EMPTY_BUFFER:_0x32e69c,GUID:_0x968f4d,kForOnEventAttribute:_0x1f5440,kListener:_0x86306f,kStatusCode:_0x427d6b,kWebSocket:_0x481aad,NOOP:_0x10698b}=H(),{EventTarget:{addEventListener:_0x18f74d,removeEventListener:_0x134f07}}=It(),{format:_0x12e94c,parse:_0x13081a}=ct(),{toBuffer:_0x45b470}=ce(),_0x1b3374=0x1e*0x3e8,_0x5b5d60=Symbol('kAborted'),_0x5a6734=[0x8,0xd],_0x2d00de=[_0x33dceb(0x98),_0x33dceb(0x23a),_0x33dceb(0x166),'CLOSED'],_0x31b407=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1029f2 extends _0x1d69a8{constructor(_0x5c88d2,_0x129f67,_0x418b70){const _0x3305ff=_0x33dceb;super(),this['_binaryType']=_0x46ebe9[0x0],this['_closeCode']=0x3ee,this[_0x3305ff(0x223)]=!0x1,this[_0x3305ff(0x22d)]=!0x1,this['_closeMessage']=_0x32e69c,this[_0x3305ff(0x25c)]=null,this[_0x3305ff(0x1eb)]=!0x1,this[_0x3305ff(0x1e1)]={},this['_paused']=!0x1,this[_0x3305ff(0x210)]='',this[_0x3305ff(0x13b)]=_0x1029f2[_0x3305ff(0x98)],this[_0x3305ff(0x1c3)]=null,this[_0x3305ff(0xf1)]=null,this['_socket']=null,_0x5c88d2!==null?(this[_0x3305ff(0xdf)]=0x0,this[_0x3305ff(0x91)]=!0x1,this['_redirects']=0x0,_0x129f67===void 0x0?_0x129f67=[]:Array[_0x3305ff(0xa0)](_0x129f67)||(typeof _0x129f67==_0x3305ff(0x175)&&_0x129f67!==null?(_0x418b70=_0x129f67,_0x129f67=[]):_0x129f67=[_0x129f67]),_0x162fd4(this,_0x5c88d2,_0x129f67,_0x418b70)):(this[_0x3305ff(0xb9)]=_0x418b70[_0x3305ff(0xba)],this[_0x3305ff(0x91)]=!0x0);}get[_0x33dceb(0x24a)](){const _0x180271=_0x33dceb;return this[_0x180271(0xcf)];}set[_0x33dceb(0x24a)](_0x582f68){const _0x4de729=_0x33dceb;_0x46ebe9[_0x4de729(0x179)](_0x582f68)&&(this[_0x4de729(0xcf)]=_0x582f68,this[_0x4de729(0x1c3)]&&(this[_0x4de729(0x1c3)][_0x4de729(0xcf)]=_0x582f68));}get[_0x33dceb(0x1a6)](){const _0x2a3b57=_0x33dceb;return this['_socket']?this[_0x2a3b57(0x207)][_0x2a3b57(0x136)][_0x2a3b57(0x237)]+this[_0x2a3b57(0xf1)][_0x2a3b57(0xde)]:this['_bufferedAmount'];}get['extensions'](){const _0x1218df=_0x33dceb;return Object[_0x1218df(0x165)](this[_0x1218df(0x1e1)])[_0x1218df(0x14a)]();}get[_0x33dceb(0x18d)](){const _0x1cdd3c=_0x33dceb;return this[_0x1cdd3c(0x1e4)];}get[_0x33dceb(0x1e2)](){return null;}get[_0x33dceb(0x103)](){return null;}get['onopen'](){return null;}get[_0x33dceb(0x121)](){return null;}get[_0x33dceb(0x224)](){return this['_protocol'];}get[_0x33dceb(0x151)](){return this['_readyState'];}get[_0x33dceb(0x1ef)](){const _0x395d2d=_0x33dceb;return this[_0x395d2d(0xed)];}['setSocket'](_0x42fcae,_0x4da0dc,_0x38e5f9){const _0x3daa47=_0x33dceb,_0x2ba5a8=new _0x31d009({'allowSynchronousEvents':_0x38e5f9[_0x3daa47(0xe3)],'binaryType':this[_0x3daa47(0x24a)],'extensions':this[_0x3daa47(0x1e1)],'isServer':this['_isServer'],'maxPayload':_0x38e5f9[_0x3daa47(0x134)],'skipUTF8Validation':_0x38e5f9[_0x3daa47(0x20c)]}),_0x21a3cf=new _0x233a41(_0x42fcae,this[_0x3daa47(0x1e1)],_0x38e5f9[_0x3daa47(0x19f)]);this[_0x3daa47(0x1c3)]=_0x2ba5a8,this[_0x3daa47(0xf1)]=_0x21a3cf,this[_0x3daa47(0x207)]=_0x42fcae,_0x2ba5a8[_0x481aad]=this,_0x21a3cf[_0x481aad]=this,_0x42fcae[_0x481aad]=this,_0x2ba5a8['on'](_0x3daa47(0x19a),_0x3439b1),_0x2ba5a8['on'](_0x3daa47(0x242),_0x562827),_0x2ba5a8['on'](_0x3daa47(0x20a),_0x122674),_0x2ba5a8['on']('message',_0x132fd1),_0x2ba5a8['on'](_0x3daa47(0x90),_0x42b89a),_0x2ba5a8['on'](_0x3daa47(0xb0),_0x21f271),_0x21a3cf[_0x3daa47(0x103)]=_0x1c012b,_0x42fcae[_0x3daa47(0x252)]&&_0x42fcae[_0x3daa47(0x252)](0x0),_0x42fcae[_0x3daa47(0x17d)]&&_0x42fcae[_0x3daa47(0x17d)](),_0x4da0dc[_0x3daa47(0x237)]>0x0&&_0x42fcae['unshift'](_0x4da0dc),_0x42fcae['on']('close',_0x27dee8),_0x42fcae['on'](_0x3daa47(0x128),_0x23ded5),_0x42fcae['on'](_0x3daa47(0x97),_0x1df3f3),_0x42fcae['on']('error',_0x5df93e),this[_0x3daa47(0x13b)]=_0x1029f2['OPEN'],this[_0x3daa47(0x263)](_0x3daa47(0x25f));}[_0x33dceb(0x14f)](){const _0x2296cf=_0x33dceb;if(!this[_0x2296cf(0x207)]){this[_0x2296cf(0x13b)]=_0x1029f2[_0x2296cf(0xbf)],this['emit'](_0x2296cf(0xfc),this[_0x2296cf(0x124)],this[_0x2296cf(0x190)]);return;}this['_extensions'][_0x34f496[_0x2296cf(0x1db)]]&&this[_0x2296cf(0x1e1)][_0x34f496[_0x2296cf(0x1db)]][_0x2296cf(0x142)](),this[_0x2296cf(0x1c3)][_0x2296cf(0x255)](),this[_0x2296cf(0x13b)]=_0x1029f2[_0x2296cf(0xbf)],this[_0x2296cf(0x263)](_0x2296cf(0xfc),this[_0x2296cf(0x124)],this[_0x2296cf(0x190)]);}[_0x33dceb(0xfc)](_0x3a251b,_0x51389){const _0x46d8af=_0x33dceb;if(this[_0x46d8af(0x151)]!==_0x1029f2[_0x46d8af(0xbf)]){if(this[_0x46d8af(0x151)]===_0x1029f2[_0x46d8af(0x98)]){_0x38bd61(this,this[_0x46d8af(0x248)],_0x46d8af(0x9d));return;}if(this[_0x46d8af(0x151)]===_0x1029f2[_0x46d8af(0x166)]){this['_closeFrameSent']&&(this[_0x46d8af(0x223)]||this['_receiver'][_0x46d8af(0x136)][_0x46d8af(0x1f3)])&&this['_socket']['end']();return;}this[_0x46d8af(0x13b)]=_0x1029f2[_0x46d8af(0x166)],this['_sender'][_0x46d8af(0xfc)](_0x3a251b,_0x51389,!this['_isServer'],_0x14009c=>{const _0x438255=_0x46d8af;_0x14009c||(this['_closeFrameSent']=!0x0,(this[_0x438255(0x223)]||this[_0x438255(0x1c3)][_0x438255(0x136)]['errorEmitted'])&&this[_0x438255(0x207)]['end']());}),_0x145bc5(this);}}['pause'](){const _0x5dc887=_0x33dceb;this[_0x5dc887(0x151)]===_0x1029f2[_0x5dc887(0x98)]||this[_0x5dc887(0x151)]===_0x1029f2['CLOSED']||(this['_paused']=!0x0,this[_0x5dc887(0x207)]['pause']());}['ping'](_0x84f492,_0x1970fb,_0x32ace2){const _0x6b756d=_0x33dceb;if(this['readyState']===_0x1029f2[_0x6b756d(0x98)])throw new Error(_0x6b756d(0x11a));if(typeof _0x84f492==_0x6b756d(0x23f)?(_0x32ace2=_0x84f492,_0x84f492=_0x1970fb=void 0x0):typeof _0x1970fb==_0x6b756d(0x23f)&&(_0x32ace2=_0x1970fb,_0x1970fb=void 0x0),typeof _0x84f492==_0x6b756d(0x138)&&(_0x84f492=_0x84f492['toString']()),this[_0x6b756d(0x151)]!==_0x1029f2['OPEN']){_0x52c17b(this,_0x84f492,_0x32ace2);return;}_0x1970fb===void 0x0&&(_0x1970fb=!this['_isServer']),this[_0x6b756d(0xf1)][_0x6b756d(0x90)](_0x84f492||_0x32e69c,_0x1970fb,_0x32ace2);}['pong'](_0xff2fb3,_0x346dab,_0x203c65){const _0xa31d2f=_0x33dceb;if(this['readyState']===_0x1029f2[_0xa31d2f(0x98)])throw new Error(_0xa31d2f(0x11a));if(typeof _0xff2fb3==_0xa31d2f(0x23f)?(_0x203c65=_0xff2fb3,_0xff2fb3=_0x346dab=void 0x0):typeof _0x346dab==_0xa31d2f(0x23f)&&(_0x203c65=_0x346dab,_0x346dab=void 0x0),typeof _0xff2fb3=='number'&&(_0xff2fb3=_0xff2fb3['toString']()),this['readyState']!==_0x1029f2[_0xa31d2f(0x23a)]){_0x52c17b(this,_0xff2fb3,_0x203c65);return;}_0x346dab===void 0x0&&(_0x346dab=!this['_isServer']),this[_0xa31d2f(0xf1)][_0xa31d2f(0xb0)](_0xff2fb3||_0x32e69c,_0x346dab,_0x203c65);}[_0x33dceb(0x228)](){const _0x130cfe=_0x33dceb;this['readyState']===_0x1029f2[_0x130cfe(0x98)]||this['readyState']===_0x1029f2[_0x130cfe(0xbf)]||(this[_0x130cfe(0x1e4)]=!0x1,this['_receiver']['_writableState'][_0x130cfe(0xa2)]||this[_0x130cfe(0x207)][_0x130cfe(0x228)]());}['send'](_0x239b5d,_0x4fc95c,_0x48b441){const _0x1e6533=_0x33dceb;if(this[_0x1e6533(0x151)]===_0x1029f2[_0x1e6533(0x98)])throw new Error(_0x1e6533(0x11a));if(typeof _0x4fc95c==_0x1e6533(0x23f)&&(_0x48b441=_0x4fc95c,_0x4fc95c={}),typeof _0x239b5d=='number'&&(_0x239b5d=_0x239b5d['toString']()),this['readyState']!==_0x1029f2['OPEN']){_0x52c17b(this,_0x239b5d,_0x48b441);return;}const _0x4754c0={'binary':typeof _0x239b5d!='string','mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x4fc95c};this[_0x1e6533(0x1e1)][_0x34f496[_0x1e6533(0x1db)]]||(_0x4754c0['compress']=!0x1),this[_0x1e6533(0xf1)][_0x1e6533(0xbb)](_0x239b5d||_0x32e69c,_0x4754c0,_0x48b441);}['terminate'](){const _0x5064f3=_0x33dceb;if(this[_0x5064f3(0x151)]!==_0x1029f2[_0x5064f3(0xbf)]){if(this[_0x5064f3(0x151)]===_0x1029f2[_0x5064f3(0x98)]){_0x38bd61(this,this['_req'],_0x5064f3(0x9d));return;}this[_0x5064f3(0x207)]&&(this[_0x5064f3(0x13b)]=_0x1029f2[_0x5064f3(0x166)],this[_0x5064f3(0x207)][_0x5064f3(0xc9)]());}}}Object[_0x33dceb(0x15e)](_0x1029f2,'CONNECTING',{'enumerable':!0x0,'value':_0x2d00de[_0x33dceb(0xa1)]('CONNECTING')}),Object[_0x33dceb(0x15e)](_0x1029f2[_0x33dceb(0x1ae)],_0x33dceb(0x98),{'enumerable':!0x0,'value':_0x2d00de['indexOf'](_0x33dceb(0x98))}),Object[_0x33dceb(0x15e)](_0x1029f2,_0x33dceb(0x23a),{'enumerable':!0x0,'value':_0x2d00de[_0x33dceb(0xa1)](_0x33dceb(0x23a))}),Object[_0x33dceb(0x15e)](_0x1029f2['prototype'],_0x33dceb(0x23a),{'enumerable':!0x0,'value':_0x2d00de[_0x33dceb(0xa1)]('OPEN')}),Object[_0x33dceb(0x15e)](_0x1029f2,_0x33dceb(0x166),{'enumerable':!0x0,'value':_0x2d00de[_0x33dceb(0xa1)](_0x33dceb(0x166))}),Object[_0x33dceb(0x15e)](_0x1029f2[_0x33dceb(0x1ae)],'CLOSING',{'enumerable':!0x0,'value':_0x2d00de[_0x33dceb(0xa1)](_0x33dceb(0x166))}),Object[_0x33dceb(0x15e)](_0x1029f2,_0x33dceb(0xbf),{'enumerable':!0x0,'value':_0x2d00de[_0x33dceb(0xa1)]('CLOSED')}),Object[_0x33dceb(0x15e)](_0x1029f2['prototype'],_0x33dceb(0xbf),{'enumerable':!0x0,'value':_0x2d00de[_0x33dceb(0xa1)](_0x33dceb(0xbf))}),[_0x33dceb(0x24a),'bufferedAmount',_0x33dceb(0x1b8),_0x33dceb(0x18d),'protocol',_0x33dceb(0x151),'url'][_0x33dceb(0x13e)](_0x305143=>{const _0x36a748=_0x33dceb;Object[_0x36a748(0x15e)](_0x1029f2[_0x36a748(0x1ae)],_0x305143,{'enumerable':!0x0});}),[_0x33dceb(0x25f),_0x33dceb(0x20a),'close','message'][_0x33dceb(0x13e)](_0xc06d29=>{const _0x2c5393=_0x33dceb;Object[_0x2c5393(0x15e)](_0x1029f2[_0x2c5393(0x1ae)],'on'+_0xc06d29,{'enumerable':!0x0,'get'(){for(const _0x222900 of this['listeners'](_0xc06d29))if(_0x222900[_0x1f5440])return _0x222900[_0x86306f];return null;},'set'(_0x2796a2){const _0xa127a5=_0x2c5393;for(const _0x3a30c5 of this[_0xa127a5(0x1ad)](_0xc06d29))if(_0x3a30c5[_0x1f5440]){this[_0xa127a5(0x25d)](_0xc06d29,_0x3a30c5);break;}typeof _0x2796a2=='function'&&this[_0xa127a5(0x10c)](_0xc06d29,_0x2796a2,{[_0x1f5440]:!0x0});}});}),_0x1029f2[_0x33dceb(0x1ae)][_0x33dceb(0x10c)]=_0x18f74d,_0x1029f2[_0x33dceb(0x1ae)][_0x33dceb(0x1f5)]=_0x134f07,we=_0x1029f2;function _0x162fd4(_0x8acb58,_0x10e0e0,_0x564636,_0x5d97bd){const _0x159751=_0x33dceb,_0x5349d4={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x5a6734[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5d97bd,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x159751(0x1fc),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x8acb58[_0x159751(0xb9)]=_0x5349d4['autoPong'],!_0x5a6734[_0x159751(0x179)](_0x5349d4[_0x159751(0x215)]))throw new RangeError(_0x159751(0xff)+_0x5349d4['protocolVersion']+_0x159751(0x133)+_0x5a6734[_0x159751(0x14a)](',\x20')+')');let _0x55c28b;if(_0x10e0e0 instanceof _0x46286d)_0x55c28b=_0x10e0e0;else try{_0x55c28b=new _0x46286d(_0x10e0e0);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x10e0e0);}_0x55c28b['protocol']==='http:'?_0x55c28b['protocol']=_0x159751(0x164):_0x55c28b[_0x159751(0x224)]===_0x159751(0x200)&&(_0x55c28b['protocol']='wss:'),_0x8acb58['_url']=_0x55c28b[_0x159751(0x8f)];const _0x2214a8=_0x55c28b[_0x159751(0x224)]===_0x159751(0xe7),_0x430340=_0x55c28b[_0x159751(0x224)]===_0x159751(0xce);let _0x55bd09;if(_0x55c28b[_0x159751(0x224)]!==_0x159751(0x164)&&!_0x2214a8&&!_0x430340?_0x55bd09=_0x159751(0x11c):_0x430340&&!_0x55c28b['pathname']?_0x55bd09=_0x159751(0x238):_0x55c28b[_0x159751(0x1cb)]&&(_0x55bd09=_0x159751(0xab)),_0x55bd09){const _0x51537b=new SyntaxError(_0x55bd09);if(_0x8acb58[_0x159751(0x171)]===0x0)throw _0x51537b;_0xaf43e2(_0x8acb58,_0x51537b);return;}const _0x3876cb=_0x2214a8?0x1bb:0x50,_0x302dd9=_0x56a542(0x10)[_0x159751(0xa3)](_0x159751(0x212)),_0x44454c=_0x2214a8?_0x62cf2a[_0x159751(0x1e0)]:_0x424ca4['request'],_0x4ad76f=new Set();let _0x368dc9;if(_0x5349d4[_0x159751(0x10e)]=_0x5349d4[_0x159751(0x10e)]||(_0x2214a8?_0x24cfd4:_0x450546),_0x5349d4[_0x159751(0xe4)]=_0x5349d4[_0x159751(0xe4)]||_0x3876cb,_0x5349d4['port']=_0x55c28b[_0x159751(0xbe)]||_0x3876cb,_0x5349d4[_0x159751(0x1e8)]=_0x55c28b[_0x159751(0x1e3)][_0x159751(0x203)]('[')?_0x55c28b[_0x159751(0x1e3)][_0x159751(0xa9)](0x1,-0x1):_0x55c28b[_0x159751(0x1e3)],_0x5349d4[_0x159751(0x233)]={..._0x5349d4[_0x159751(0x233)],'Sec-WebSocket-Version':_0x5349d4[_0x159751(0x215)],'Sec-WebSocket-Key':_0x302dd9,'Connection':_0x159751(0x1b6),'Upgrade':'websocket'},_0x5349d4['path']=_0x55c28b[_0x159751(0xaa)]+_0x55c28b[_0x159751(0x19b)],_0x5349d4[_0x159751(0x113)]=_0x5349d4[_0x159751(0x170)],_0x5349d4['perMessageDeflate']&&(_0x368dc9=new _0x34f496(_0x5349d4['perMessageDeflate']!==!0x0?_0x5349d4[_0x159751(0x221)]:{},!0x1,_0x5349d4['maxPayload']),_0x5349d4[_0x159751(0x233)][_0x159751(0x9b)]=_0x12e94c({[_0x34f496[_0x159751(0x1db)]]:_0x368dc9[_0x159751(0x119)]()})),_0x564636['length']){for(const _0x307b6d of _0x564636){if(typeof _0x307b6d!=_0x159751(0x193)||!_0x31b407[_0x159751(0xaf)](_0x307b6d)||_0x4ad76f[_0x159751(0xca)](_0x307b6d))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x4ad76f[_0x159751(0x153)](_0x307b6d);}_0x5349d4[_0x159751(0x233)][_0x159751(0x160)]=_0x564636['join'](',');}if(_0x5349d4[_0x159751(0x14d)]&&(_0x5349d4[_0x159751(0x215)]<0xd?_0x5349d4[_0x159751(0x233)][_0x159751(0xf7)]=_0x5349d4[_0x159751(0x14d)]:_0x5349d4[_0x159751(0x233)][_0x159751(0xec)]=_0x5349d4[_0x159751(0x14d)]),(_0x55c28b[_0x159751(0x231)]||_0x55c28b[_0x159751(0x1be)])&&(_0x5349d4[_0x159751(0x1a9)]=_0x55c28b[_0x159751(0x231)]+':'+_0x55c28b[_0x159751(0x1be)]),_0x430340){const _0x1bf9b4=_0x5349d4[_0x159751(0x105)]['split'](':');_0x5349d4[_0x159751(0x14e)]=_0x1bf9b4[0x0],_0x5349d4[_0x159751(0x105)]=_0x1bf9b4[0x1];}let _0x17d9e0;if(_0x5349d4[_0x159751(0x15c)]){if(_0x8acb58[_0x159751(0x171)]===0x0){_0x8acb58[_0x159751(0x1bc)]=_0x430340,_0x8acb58[_0x159751(0x214)]=_0x2214a8,_0x8acb58['_originalHostOrSocketPath']=_0x430340?_0x5349d4[_0x159751(0x14e)]:_0x55c28b['host'];const _0x17d988=_0x5d97bd&&_0x5d97bd[_0x159751(0x233)];if(_0x5d97bd={..._0x5d97bd,'headers':{}},_0x17d988){for(const [_0x363810,_0x9bfbbe]of Object[_0x159751(0x13d)](_0x17d988))_0x5d97bd[_0x159751(0x233)][_0x363810['toLowerCase']()]=_0x9bfbbe;}}else{if(_0x8acb58['listenerCount'](_0x159751(0x20b))===0x0){const _0x3db7a3=_0x430340?_0x8acb58[_0x159751(0x1bc)]?_0x5349d4[_0x159751(0x14e)]===_0x8acb58[_0x159751(0x230)]:!0x1:_0x8acb58['_originalIpc']?!0x1:_0x55c28b[_0x159751(0x1e8)]===_0x8acb58[_0x159751(0x230)];(!_0x3db7a3||_0x8acb58[_0x159751(0x214)]&&!_0x2214a8)&&(delete _0x5349d4[_0x159751(0x233)][_0x159751(0x17c)],delete _0x5349d4['headers'][_0x159751(0x174)],_0x3db7a3||delete _0x5349d4[_0x159751(0x233)][_0x159751(0x1e8)],_0x5349d4[_0x159751(0x1a9)]=void 0x0);}}_0x5349d4['auth']&&!_0x5d97bd[_0x159751(0x233)]['authorization']&&(_0x5d97bd[_0x159751(0x233)][_0x159751(0x17c)]=_0x159751(0x1ab)+Buffer[_0x159751(0x260)](_0x5349d4[_0x159751(0x1a9)])['toString'](_0x159751(0x212))),_0x17d9e0=_0x8acb58[_0x159751(0x248)]=_0x44454c(_0x5349d4),_0x8acb58[_0x159751(0x171)]&&_0x8acb58[_0x159751(0x263)](_0x159751(0x20b),_0x8acb58[_0x159751(0x1ef)],_0x17d9e0);}else _0x17d9e0=_0x8acb58[_0x159751(0x248)]=_0x44454c(_0x5349d4);_0x5349d4[_0x159751(0x113)]&&_0x17d9e0['on']('timeout',()=>{const _0xc8568e=_0x159751;_0x38bd61(_0x8acb58,_0x17d9e0,_0xc8568e(0x236));}),_0x17d9e0['on'](_0x159751(0x20a),_0x36607a=>{const _0x1fc0fe=_0x159751;_0x17d9e0===null||_0x17d9e0[_0x5b5d60]||(_0x17d9e0=_0x8acb58[_0x1fc0fe(0x248)]=null,_0xaf43e2(_0x8acb58,_0x36607a));}),_0x17d9e0['on'](_0x159751(0x17b),_0x5f2427=>{const _0x30662e=_0x159751,_0x4fc013=_0x5f2427[_0x30662e(0x233)]['location'],_0xe12e8b=_0x5f2427[_0x30662e(0xac)];if(_0x4fc013&&_0x5349d4['followRedirects']&&_0xe12e8b>=0x12c&&_0xe12e8b<0x190){if(++_0x8acb58[_0x30662e(0x171)]>_0x5349d4['maxRedirects']){_0x38bd61(_0x8acb58,_0x17d9e0,_0x30662e(0x1bb));return;}_0x17d9e0['abort']();let _0x221da7;try{_0x221da7=new _0x46286d(_0x4fc013,_0x10e0e0);}catch{const _0x32a091=new SyntaxError('Invalid\x20URL:\x20'+_0x4fc013);_0xaf43e2(_0x8acb58,_0x32a091);return;}_0x162fd4(_0x8acb58,_0x221da7,_0x564636,_0x5d97bd);}else _0x8acb58[_0x30662e(0x263)]('unexpected-response',_0x17d9e0,_0x5f2427)||_0x38bd61(_0x8acb58,_0x17d9e0,_0x30662e(0xd7)+_0x5f2427[_0x30662e(0xac)]);}),_0x17d9e0['on'](_0x159751(0x226),(_0x265833,_0xf97537,_0x510d04)=>{const _0x22b947=_0x159751;if(_0x8acb58[_0x22b947(0x263)](_0x22b947(0x226),_0x265833),_0x8acb58['readyState']!==_0x1029f2[_0x22b947(0x98)])return;_0x17d9e0=_0x8acb58[_0x22b947(0x248)]=null;const _0x23a138=_0x265833[_0x22b947(0x233)][_0x22b947(0x226)];if(_0x23a138===void 0x0||_0x23a138['toLowerCase']()!=='websocket'){_0x38bd61(_0x8acb58,_0xf97537,_0x22b947(0x1d5));return;}const _0x5d5144=_0x120d9d(_0x22b947(0x114))[_0x22b947(0xa6)](_0x302dd9+_0x968f4d)['digest'](_0x22b947(0x212));if(_0x265833[_0x22b947(0x233)][_0x22b947(0x173)]!==_0x5d5144){_0x38bd61(_0x8acb58,_0xf97537,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x11e9a7=_0x265833[_0x22b947(0x233)][_0x22b947(0x206)];let _0x2de653;if(_0x11e9a7!==void 0x0?_0x4ad76f[_0x22b947(0x118)]?_0x4ad76f[_0x22b947(0xca)](_0x11e9a7)||(_0x2de653=_0x22b947(0x1d9)):_0x2de653='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x4ad76f[_0x22b947(0x118)]&&(_0x2de653=_0x22b947(0x187)),_0x2de653){_0x38bd61(_0x8acb58,_0xf97537,_0x2de653);return;}_0x11e9a7&&(_0x8acb58['_protocol']=_0x11e9a7);const _0x25b276=_0x265833[_0x22b947(0x233)][_0x22b947(0x197)];if(_0x25b276!==void 0x0){if(!_0x368dc9){_0x38bd61(_0x8acb58,_0xf97537,_0x22b947(0x21b));return;}let _0x322bae;try{_0x322bae=_0x13081a(_0x25b276);}catch{_0x38bd61(_0x8acb58,_0xf97537,_0x22b947(0xa5));return;}const _0x55708c=Object[_0x22b947(0x165)](_0x322bae);if(_0x55708c[_0x22b947(0x237)]!==0x1||_0x55708c[0x0]!==_0x34f496[_0x22b947(0x1db)]){_0x38bd61(_0x8acb58,_0xf97537,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x368dc9[_0x22b947(0xf9)](_0x322bae[_0x34f496[_0x22b947(0x1db)]]);}catch{_0x38bd61(_0x8acb58,_0xf97537,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x8acb58['_extensions'][_0x34f496[_0x22b947(0x1db)]]=_0x368dc9;}_0x8acb58['setSocket'](_0xf97537,_0x510d04,{'allowSynchronousEvents':_0x5349d4[_0x22b947(0xe3)],'generateMask':_0x5349d4['generateMask'],'maxPayload':_0x5349d4['maxPayload'],'skipUTF8Validation':_0x5349d4['skipUTF8Validation']});}),_0x5349d4[_0x159751(0x23b)]?_0x5349d4[_0x159751(0x23b)](_0x17d9e0,_0x8acb58):_0x17d9e0['end']();}function _0xaf43e2(_0x513626,_0x1f2949){const _0x56b9d6=_0x33dceb;_0x513626[_0x56b9d6(0x13b)]=_0x1029f2['CLOSING'],_0x513626[_0x56b9d6(0x1eb)]=!0x0,_0x513626[_0x56b9d6(0x263)](_0x56b9d6(0x20a),_0x1f2949),_0x513626['emitClose']();}function _0x450546(_0x46c1e1){const _0x47417e=_0x33dceb;return _0x46c1e1[_0x47417e(0x105)]=_0x46c1e1[_0x47417e(0x14e)],_0x4750af[_0x47417e(0x22e)](_0x46c1e1);}function _0x24cfd4(_0xbba543){const _0x31b920=_0x33dceb;return _0xbba543[_0x31b920(0x105)]=void 0x0,!_0xbba543[_0x31b920(0x12f)]&&_0xbba543[_0x31b920(0x12f)]!==''&&(_0xbba543['servername']=_0x4750af['isIP'](_0xbba543[_0x31b920(0x1e8)])?'':_0xbba543[_0x31b920(0x1e8)]),_0x49098a[_0x31b920(0x22e)](_0xbba543);}function _0x38bd61(_0x53283e,_0x18d2f1,_0x2b9cca){const _0x22b764=_0x33dceb;_0x53283e[_0x22b764(0x13b)]=_0x1029f2[_0x22b764(0x166)];const _0x2ad5b8=new Error(_0x2b9cca);Error[_0x22b764(0x1fa)](_0x2ad5b8,_0x38bd61),_0x18d2f1[_0x22b764(0x19d)]?(_0x18d2f1[_0x5b5d60]=!0x0,_0x18d2f1[_0x22b764(0x117)](),_0x18d2f1[_0x22b764(0x191)]&&!_0x18d2f1[_0x22b764(0x191)][_0x22b764(0x194)]&&_0x18d2f1[_0x22b764(0x191)]['destroy'](),process[_0x22b764(0x176)](_0xaf43e2,_0x53283e,_0x2ad5b8)):(_0x18d2f1[_0x22b764(0xc9)](_0x2ad5b8),_0x18d2f1[_0x22b764(0xb8)](_0x22b764(0x20a),_0x53283e[_0x22b764(0x263)][_0x22b764(0xc5)](_0x53283e,_0x22b764(0x20a))),_0x18d2f1[_0x22b764(0xb8)](_0x22b764(0xfc),_0x53283e[_0x22b764(0x14f)][_0x22b764(0xc5)](_0x53283e)));}function _0x52c17b(_0x319592,_0xd123c0,_0x808092){const _0x2c5e76=_0x33dceb;if(_0xd123c0){const _0x2fee00=_0x4850c7(_0xd123c0)?_0xd123c0[_0x2c5e76(0x118)]:_0x45b470(_0xd123c0)[_0x2c5e76(0x237)];_0x319592[_0x2c5e76(0x207)]?_0x319592[_0x2c5e76(0xf1)]['_bufferedBytes']+=_0x2fee00:_0x319592[_0x2c5e76(0xdf)]+=_0x2fee00;}if(_0x808092){const _0x5deb39=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x319592[_0x2c5e76(0x151)]+'\x20('+_0x2d00de[_0x319592[_0x2c5e76(0x151)]]+')');process[_0x2c5e76(0x176)](_0x808092,_0x5deb39);}}function _0x3439b1(_0x4586bd,_0x320f18){const _0xbd7d3f=_0x33dceb,_0x552bd8=this[_0x481aad];_0x552bd8[_0xbd7d3f(0x223)]=!0x0,_0x552bd8['_closeMessage']=_0x320f18,_0x552bd8[_0xbd7d3f(0x124)]=_0x4586bd,_0x552bd8[_0xbd7d3f(0x207)][_0x481aad]!==void 0x0&&(_0x552bd8[_0xbd7d3f(0x207)]['removeListener'](_0xbd7d3f(0x128),_0x23ded5),process[_0xbd7d3f(0x176)](_0x19b454,_0x552bd8[_0xbd7d3f(0x207)]),_0x4586bd===0x3ed?_0x552bd8['close']():_0x552bd8[_0xbd7d3f(0xfc)](_0x4586bd,_0x320f18));}function _0x562827(){const _0x3275a3=_0x33dceb,_0x1eb4ef=this[_0x481aad];_0x1eb4ef[_0x3275a3(0x18d)]||_0x1eb4ef[_0x3275a3(0x207)][_0x3275a3(0x228)]();}function _0x122674(_0x110011){const _0x4c3760=_0x33dceb,_0x42fb4a=this[_0x481aad];_0x42fb4a[_0x4c3760(0x207)][_0x481aad]!==void 0x0&&(_0x42fb4a[_0x4c3760(0x207)]['removeListener'](_0x4c3760(0x128),_0x23ded5),process['nextTick'](_0x19b454,_0x42fb4a[_0x4c3760(0x207)]),_0x42fb4a[_0x4c3760(0xfc)](_0x110011[_0x427d6b])),_0x42fb4a[_0x4c3760(0x1eb)]||(_0x42fb4a['_errorEmitted']=!0x0,_0x42fb4a['emit'](_0x4c3760(0x20a),_0x110011));}function _0x48541a(){const _0xdb2418=_0x33dceb;this[_0x481aad][_0xdb2418(0x14f)]();}function _0x132fd1(_0x37c880,_0x781c0e){const _0x40b634=_0x33dceb;this[_0x481aad][_0x40b634(0x263)](_0x40b634(0x1a2),_0x37c880,_0x781c0e);}function _0x42b89a(_0x7fc54c){const _0x6e14f4=_0x33dceb,_0x3acb85=this[_0x481aad];_0x3acb85[_0x6e14f4(0xb9)]&&_0x3acb85[_0x6e14f4(0xb0)](_0x7fc54c,!this[_0x6e14f4(0x91)],_0x10698b),_0x3acb85[_0x6e14f4(0x263)](_0x6e14f4(0x90),_0x7fc54c);}function _0x21f271(_0x3d5eaf){const _0x259273=_0x33dceb;this[_0x481aad][_0x259273(0x263)](_0x259273(0xb0),_0x3d5eaf);}function _0x19b454(_0x4155bd){const _0x548a2d=_0x33dceb;_0x4155bd[_0x548a2d(0x228)]();}function _0x1c012b(_0x3e18d4){const _0x394500=_0x33dceb,_0x77868=this[_0x481aad];_0x77868['readyState']!==_0x1029f2[_0x394500(0xbf)]&&(_0x77868[_0x394500(0x151)]===_0x1029f2[_0x394500(0x23a)]&&(_0x77868[_0x394500(0x13b)]=_0x1029f2[_0x394500(0x166)],_0x145bc5(_0x77868)),this['_socket'][_0x394500(0x97)](),_0x77868['_errorEmitted']||(_0x77868[_0x394500(0x1eb)]=!0x0,_0x77868['emit'](_0x394500(0x20a),_0x3e18d4)));}function _0x145bc5(_0x1037f7){const _0x517c23=_0x33dceb;_0x1037f7[_0x517c23(0x25c)]=setTimeout(_0x1037f7['_socket'][_0x517c23(0xc9)][_0x517c23(0xc5)](_0x1037f7[_0x517c23(0x207)]),_0x1b3374);}function _0x27dee8(){const _0x406a0d=_0x33dceb,_0x2eda1e=this[_0x481aad];this[_0x406a0d(0x25d)](_0x406a0d(0xfc),_0x27dee8),this[_0x406a0d(0x25d)](_0x406a0d(0x128),_0x23ded5),this['removeListener']('end',_0x1df3f3),_0x2eda1e[_0x406a0d(0x13b)]=_0x1029f2[_0x406a0d(0x166)];let _0x460c00;!this[_0x406a0d(0xb5)]['endEmitted']&&!_0x2eda1e[_0x406a0d(0x223)]&&!_0x2eda1e[_0x406a0d(0x1c3)]['_writableState'][_0x406a0d(0x1f3)]&&(_0x460c00=_0x2eda1e['_socket'][_0x406a0d(0x22f)]())!==null&&_0x2eda1e[_0x406a0d(0x1c3)][_0x406a0d(0x137)](_0x460c00),_0x2eda1e[_0x406a0d(0x1c3)][_0x406a0d(0x97)](),this[_0x481aad]=void 0x0,clearTimeout(_0x2eda1e[_0x406a0d(0x25c)]),_0x2eda1e['_receiver'][_0x406a0d(0x136)][_0x406a0d(0xc4)]||_0x2eda1e[_0x406a0d(0x1c3)][_0x406a0d(0x136)][_0x406a0d(0x1f3)]?_0x2eda1e[_0x406a0d(0x14f)]():(_0x2eda1e[_0x406a0d(0x1c3)]['on'](_0x406a0d(0x20a),_0x48541a),_0x2eda1e['_receiver']['on']('finish',_0x48541a));}function _0x23ded5(_0x521c54){const _0x4bf12a=_0x33dceb;this[_0x481aad][_0x4bf12a(0x1c3)][_0x4bf12a(0x137)](_0x521c54)||this[_0x4bf12a(0x140)]();}function _0x1df3f3(){const _0x4cc22c=_0x33dceb,_0x2d443c=this[_0x481aad];_0x2d443c[_0x4cc22c(0x13b)]=_0x1029f2['CLOSING'],_0x2d443c[_0x4cc22c(0x1c3)][_0x4cc22c(0x97)](),this[_0x4cc22c(0x97)]();}function _0x5df93e(){const _0x1a21a8=_0x33dceb,_0x2539ff=this[_0x481aad];this[_0x1a21a8(0x25d)](_0x1a21a8(0x20a),_0x5df93e),this['on'](_0x1a21a8(0x20a),_0x10698b),_0x2539ff&&(_0x2539ff[_0x1a21a8(0x13b)]=_0x1029f2['CLOSING'],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1f8ecf}=oe;function _0x2301cb(_0x5da930){const _0x12da97=_0xced4;_0x5da930[_0x12da97(0x263)](_0x12da97(0xfc));}function _0x53e8b1(){const _0x27e5cf=_0xced4;!this[_0x27e5cf(0x194)]&&this[_0x27e5cf(0x136)]['finished']&&this[_0x27e5cf(0xc9)]();}function _0x30fe94(_0x4ba7eb){const _0x2336fd=_0xced4;this['removeListener']('error',_0x30fe94),this[_0x2336fd(0xc9)](),this[_0x2336fd(0x1a5)](_0x2336fd(0x20a))===0x0&&this['emit'](_0x2336fd(0x20a),_0x4ba7eb);}function _0xcfa5fc(_0x36539e,_0x4c7b17){const _0x375fb5=_0xced4;let _0x3ad695=!0x0;const _0x253e74=new _0x1f8ecf({..._0x4c7b17,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x36539e['on'](_0x375fb5(0x1a2),function(_0x427e93,_0x21137f){const _0x44e636=_0x375fb5,_0x512ad6=!_0x21137f&&_0x253e74[_0x44e636(0xb5)][_0x44e636(0x1e7)]?_0x427e93[_0x44e636(0xa3)]():_0x427e93;_0x253e74[_0x44e636(0x258)](_0x512ad6)||_0x36539e[_0x44e636(0x140)]();}),_0x36539e['once'](_0x375fb5(0x20a),function(_0x5f4247){const _0x3b2b53=_0x375fb5;_0x253e74[_0x3b2b53(0x194)]||(_0x3ad695=!0x1,_0x253e74[_0x3b2b53(0xc9)](_0x5f4247));}),_0x36539e[_0x375fb5(0xb8)](_0x375fb5(0xfc),function(){const _0x4f5f56=_0x375fb5;_0x253e74[_0x4f5f56(0x194)]||_0x253e74['push'](null);}),_0x253e74[_0x375fb5(0xad)]=function(_0x8fe711,_0x1d26fb){const _0x4879ad=_0x375fb5;if(_0x36539e[_0x4879ad(0x151)]===_0x36539e[_0x4879ad(0xbf)]){_0x1d26fb(_0x8fe711),process[_0x4879ad(0x176)](_0x2301cb,_0x253e74);return;}let _0x859ff3=!0x1;_0x36539e['once']('error',function(_0x13fd08){_0x859ff3=!0x0,_0x1d26fb(_0x13fd08);}),_0x36539e[_0x4879ad(0xb8)]('close',function(){const _0x3d5e9b=_0x4879ad;_0x859ff3||_0x1d26fb(_0x8fe711),process[_0x3d5e9b(0x176)](_0x2301cb,_0x253e74);}),_0x3ad695&&_0x36539e['terminate']();},_0x253e74[_0x375fb5(0x205)]=function(_0x910dec){const _0x48d1b9=_0x375fb5;if(_0x36539e[_0x48d1b9(0x151)]===_0x36539e['CONNECTING']){_0x36539e[_0x48d1b9(0xb8)](_0x48d1b9(0x25f),function(){const _0x3dbdd4=_0x48d1b9;_0x253e74[_0x3dbdd4(0x205)](_0x910dec);});return;}_0x36539e['_socket']!==null&&(_0x36539e[_0x48d1b9(0x207)][_0x48d1b9(0x136)][_0x48d1b9(0xc4)]?(_0x910dec(),_0x253e74[_0x48d1b9(0xb5)]['endEmitted']&&_0x253e74[_0x48d1b9(0xc9)]()):(_0x36539e[_0x48d1b9(0x207)]['once'](_0x48d1b9(0x21a),function(){_0x910dec();}),_0x36539e[_0x48d1b9(0xfc)]()));},_0x253e74[_0x375fb5(0x219)]=function(){const _0x4a2fd6=_0x375fb5;_0x36539e[_0x4a2fd6(0x18d)]&&_0x36539e[_0x4a2fd6(0x228)]();},_0x253e74[_0x375fb5(0x15b)]=function(_0x4e4439,_0x548172,_0x4f31b2){const _0x1d4b5c=_0x375fb5;if(_0x36539e[_0x1d4b5c(0x151)]===_0x36539e['CONNECTING']){_0x36539e[_0x1d4b5c(0xb8)]('open',function(){_0x253e74['_write'](_0x4e4439,_0x548172,_0x4f31b2);});return;}_0x36539e[_0x1d4b5c(0xbb)](_0x4e4439,_0x4f31b2);},_0x253e74['on']('end',_0x53e8b1),_0x253e74['on']('error',_0x30fe94),_0x253e74;}return Oe=_0xcfa5fc,Oe;}Ut(),lt(),ft();function _0xced4(_0x1f06ea,_0x3e6412){const _0x45fb15=_0x45fb();return _0xced4=function(_0xced4ff,_0x568a16){_0xced4ff=_0xced4ff-0x8e;let _0x1b3a0d=_0x45fb15[_0xced4ff];return _0x1b3a0d;},_0xced4(_0x1f06ea,_0x3e6412);}var Mt=Pe();function _0x45fb(){const _0x1a36ee=['Z_DEFAULT_WINDOWBITS','close','getPayloadLength16','_max_window_bits','Unsupported\x20protocol\x20version:\x20','server_max_window_bits','completeUpgrade','type','onerror','kType','path','constructor','dataMessage','https','concurrencyLimit','call','@univerjs/core','addEventListener','ISocketService','createConnection','env','STATUS_CODES','replace','_compress','timeout','sha1','Invalid\x20value\x20for\x20parameter\x20\x22','_registerDependencies','abort','size','offer','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','writable','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','_server','Unexpected\x20end\x20of\x20input','server','_buffers','onmessage','_shouldEmitClose','setSocket','_closeCode','UniverCollaborationClientPlugin','haveLength','kByteLength','data','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','pluginName','FIN\x20must\x20be\x20set','options','255576ZInwbr','isValidUTF8','servername','params','clientTracking','permessage-deflate','\x20(supported\x20versions:\x20','maxPayload','rsv1','_writableState','write','number','isBuffer','flush','_readyState','arrayBuffer','entries','forEach','invalid\x20opcode\x200','pause','_deflate','cleanup','clientMaxWindowBits','dequeue','set','total-length','Injector','then','catch','join','_loop','handleProtocols','origin','socketPath','emitClose','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','readyState','warn','add','writeUInt16BE','_generateMask','value','File','cork','_masked','encrypted','_write','followRedirects','_maskBuffer','defineProperty','WS_ERR_INVALID_UTF8','Sec-WebSocket-Protocol','@univerjs-pro/collaboration','acceptAsServer','freeze','ws:','keys','CLOSING','_threshold','__esModule','_doCreateSocket','reset','arraybuffer','next','writeHead','MASK\x20must\x20be\x20set','readUInt16BE','handshakeTimeout','_redirects','acceptAsClient','sec-websocket-accept','cookie','object','nextTick','readable','Z_SYNC_FLUSH','includes','websocket','response','authorization','setNoDelay','_fragments','HTTP/1.1\x20','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','dispatch','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_fragmented','Connection:\x20Upgrade','client_no_context_takeover','NodeCollaborationSocketService','Server\x20sent\x20no\x20subprotocol','_totalPayloadLength','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','getOwnPropertyDescriptor','compress','clientNoContextTakeover','isPaused','toStringTag','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_closeMessage','socket','shift','string','destroyed','consume','rxjs','sec-websocket-extensions','invalid\x20payload\x20length\x20','stream','conclude','search','kError','setHeader','concurrency','generateMask','client_max_window_bits','WebSocket','message','2253yvzHOS','_firstFragment','listenerCount','bufferedAmount','status-code','unmask','auth','dispose','Basic\x20','decompress','listeners','prototype','kRun','Invalid\x20Sec-WebSocket-Protocol\x20header','zlibDeflateOptions','share','parse','method','net','Upgrade','getData','extensions','Cookie','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','Maximum\x20redirects\x20exceeded','_originalIpc','find','password','zlibInflateOptions','zlib','_compressed','Plugin','_receiver','\x0d\x0a\x0d\x0a','Invalid\x20WebSocket\x20frame:\x20','concat','_state','kData','sendFrame','Max\x20payload\x20size\x20exceeded','hash','kReason','MASK\x20must\x20be\x20clear','crypto','wasClean','_inflate','929868CoGTGU','fin','kCode','clients','Invalid\x20Upgrade\x20header','createSocket','COLLABORATION_CLIENT_NODE_CONFIG_KEY','Module','Server\x20sent\x20an\x20invalid\x20subprotocol','4319000vFLJcX','extensionName','_payloadLength','_maxPayload','writeUIntBE','\x22\x20must\x20have\x20only\x20a\x20single\x20value','request','_extensions','onclose','hostname','_paused','_messageLength','12614966xPjZwQ','objectMode','host','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','onStarting','_errorEmitted','reason','format','_removeListeners','url','invalid\x20UTF-8\x20sequence','kListener','ISnapshotServerService','errorEmitted','752OXDBlg','removeEventListener','toDisposable','RSV1\x20must\x20be\x20clear','construct','jobs','captureStackTrace','registerHTTPInterceptor','GET','customHeaders','charCodeAt','getConfig','https:','getBlobData','handleUpgrade','startsWith','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_final','sec-websocket-protocol','_socket','createError','exports','error','redirect','skipUTF8Validation','server_no_context_takeover','_configService','_no_context_takeover','_protocol','mask','base64','handleEvent','_originalSecure','protocolVersion','\x22:\x20','byteLength','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_read','finish','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_queue','buffer','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','toLowerCase','events','perMessageDeflate','WS_ERR_INVALID_OPCODE','_closeFrameReceived','protocol','isView','upgrade','kWasClean','resume','_skipUTF8Validation','Inject','pipe','client','_closeFrameSent','connect','read','_originalHostOrSocketPath','username','byteOffset','headers','Unexpected\x20character\x20at\x20index\x20','Observable','Opening\x20handshake\x20has\x20timed\x20out','length','The\x20URL\x27s\x20pathname\x20is\x20empty','nodebuffer','OPEN','finishRequest','wsClientError','Upgrade:\x20websocket','map','function','_opcode','code','drain','collaboration-client-node.config','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','Sec-WebSocket-Accept:\x20','startLoop','WS_ERR_EXPECTED_MASK','_req','Invalid\x20HTTP\x20method','binaryType','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','get','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','createInflateRaw','_fin','_mask','\x22\x20subprotocol\x20is\x20duplicated','setTimeout','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','getPayloadLength64','removeAllListeners','controlMessage','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','push','_allowSynchronousEvents','listen','205luJBNV','_closeTimer','removeListener','WS_NO_BUFFER_UTIL','open','from','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','species','emit','getMask','href','ping','_isServer','149679IGClhn','invalid\x20status\x20code\x20','tls','kTarget','values','end','CONNECTING','alloc','default','Sec-WebSocket-Extensions','The\x20\x22','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','binary','frame','isArray','indexOf','needDrain','toString','DisposableCollection','Invalid\x20Sec-WebSocket-Extensions\x20header','update','isServer','Disposable','slice','pathname','The\x20URL\x20contains\x20a\x20fragment\x20identifier','statusCode','_destroy','digest','test','pong','backlog','uncork','pow','IConfigService','_readableState','authorized','_errored','once','_autoPong','autoPong','send','_injector','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','port','CLOSED','isInteger','createDeflateRaw','createServer','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','finished','bind','delete','serverMaxWindowBits','hasOwnProperty','destroy','has','apply','readOnly','_httpService','ws+unix:','_binaryType','text/html','opcode','WS_ERR_UNEXPECTED_RSV_1','6175748NVlMWw','buffers','104oteufH','_decompress','Unexpected\x20server\x20response:\x20','allocUnsafe','verifyClient','blob','_options','HTTP/1.1\x20101\x20Switching\x20Protocols','WS_ERR_INVALID_CLOSE_CODE','_bufferedBytes','_bufferedAmount','pending','target','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','allowSynchronousEvents','defaultPort','WS_NO_UTF_8_VALIDATE','invalid\x20opcode\x20','wss:','UniverCollaborationClientNodePlugin','setConfig','http','threshold','Origin','_url','readUInt32BE','getInfo','noServer','_sender','serverNoContextTakeover','enqueue','ILogService','create','HTTPService','Sec-WebSocket-Origin','shouldHandle','accept','listening'];_0x45fb=function(){return _0x1a36ee;};return _0x45fb();}const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x2e6370}=ae();function _0x50bc62(_0x3f8841){const _0xb66042=_0xced4,_0x2909af=new Set();let _0x3b366d=-0x1,_0x1aea10=-0x1,_0x3349cc=0x0;for(_0x3349cc;_0x3349cc<_0x3f8841[_0xb66042(0x237)];_0x3349cc++){const _0x416cfb=_0x3f8841[_0xb66042(0x1fe)](_0x3349cc);if(_0x1aea10===-0x1&&_0x2e6370[_0x416cfb]===0x1)_0x3b366d===-0x1&&(_0x3b366d=_0x3349cc);else{if(_0x3349cc!==0x0&&(_0x416cfb===0x20||_0x416cfb===0x9))_0x1aea10===-0x1&&_0x3b366d!==-0x1&&(_0x1aea10=_0x3349cc);else{if(_0x416cfb===0x2c){if(_0x3b366d===-0x1)throw new SyntaxError(_0xb66042(0x234)+_0x3349cc);_0x1aea10===-0x1&&(_0x1aea10=_0x3349cc);const _0x5980f0=_0x3f8841[_0xb66042(0xa9)](_0x3b366d,_0x1aea10);if(_0x2909af[_0xb66042(0xca)](_0x5980f0))throw new SyntaxError(_0xb66042(0x9c)+_0x5980f0+_0xb66042(0x251));_0x2909af[_0xb66042(0x153)](_0x5980f0),_0x3b366d=_0x1aea10=-0x1;}else throw new SyntaxError(_0xb66042(0x234)+_0x3349cc);}}}if(_0x3b366d===-0x1||_0x1aea10!==-0x1)throw new SyntaxError(_0xb66042(0x11e));const _0x12ff5c=_0x3f8841[_0xb66042(0xa9)](_0x3b366d,_0x3349cc);if(_0x2909af['has'](_0x12ff5c))throw new SyntaxError(_0xb66042(0x9c)+_0x12ff5c+_0xb66042(0x251));return _0x2909af[_0xb66042(0x153)](_0x12ff5c),_0x2909af;}return Ce={'parse':_0x50bc62},Ce;}var Te,rt;function Ft(){const _0x3681f1=_0x15e6da;if(rt)return Te;rt=0x1;const _0x55f4ed=nt,_0x13a71e=ot,{Duplex:_0x15c162}=oe,{createHash:_0x16c4cf}=Le,_0x473822=ct(),_0x35aabc=he(),_0x1a5855=At(),_0x99bb73=Pe(),{GUID:_0x25c78d,kWebSocket:_0x302ff6}=H(),_0x28eef7=/^[+/0-9A-Za-z]{22}==$/,_0x24107d=0x0,_0x5247e3=0x1,_0x167531=0x2;class _0x290f03 extends _0x55f4ed{constructor(_0x20bf6e,_0x5ea60d){const _0x1dff6f=_0xced4;if(super(),_0x20bf6e={'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':_0x99bb73,..._0x20bf6e},_0x20bf6e['port']==null&&!_0x20bf6e[_0x1dff6f(0x11f)]&&!_0x20bf6e[_0x1dff6f(0xf0)]||_0x20bf6e['port']!=null&&(_0x20bf6e[_0x1dff6f(0x11f)]||_0x20bf6e['noServer'])||_0x20bf6e['server']&&_0x20bf6e['noServer'])throw new TypeError(_0x1dff6f(0x261));if(_0x20bf6e['port']!=null?(this[_0x1dff6f(0x11d)]=_0x13a71e[_0x1dff6f(0xc2)]((_0x2f8b59,_0x159451)=>{const _0x3d6557=_0x1dff6f,_0x58cad6=_0x13a71e['STATUS_CODES'][0x1aa];_0x159451[_0x3d6557(0x16d)](0x1aa,{'Content-Length':_0x58cad6[_0x3d6557(0x237)],'Content-Type':'text/plain'}),_0x159451[_0x3d6557(0x97)](_0x58cad6);}),this[_0x1dff6f(0x11d)][_0x1dff6f(0x25a)](_0x20bf6e[_0x1dff6f(0xbe)],_0x20bf6e[_0x1dff6f(0x1e8)],_0x20bf6e[_0x1dff6f(0xb1)],_0x5ea60d)):_0x20bf6e[_0x1dff6f(0x11f)]&&(this[_0x1dff6f(0x11d)]=_0x20bf6e['server']),this['_server']){const _0x522b96=this[_0x1dff6f(0x263)][_0x1dff6f(0xc5)](this,'connection');this[_0x1dff6f(0x1ee)]=_0x42eeba(this['_server'],{'listening':this[_0x1dff6f(0x263)]['bind'](this,_0x1dff6f(0xfa)),'error':this[_0x1dff6f(0x263)]['bind'](this,_0x1dff6f(0x20a)),'upgrade':(_0x424ae6,_0x1d03a4,_0x376e06)=>{const _0x462b2d=_0x1dff6f;this[_0x462b2d(0x202)](_0x424ae6,_0x1d03a4,_0x376e06,_0x522b96);}});}_0x20bf6e[_0x1dff6f(0x221)]===!0x0&&(_0x20bf6e[_0x1dff6f(0x221)]={}),_0x20bf6e[_0x1dff6f(0x131)]&&(this['clients']=new Set(),this[_0x1dff6f(0x122)]=!0x1),this['options']=_0x20bf6e,this[_0x1dff6f(0x1c7)]=_0x24107d;}['address'](){const _0x5ec62f=_0xced4;if(this[_0x5ec62f(0x12c)][_0x5ec62f(0xf0)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this['_server']?this[_0x5ec62f(0x11d)]['address']():null;}[_0x3681f1(0xfc)](_0x30099b){const _0x3b3718=_0x3681f1;if(this[_0x3b3718(0x1c7)]===_0x167531){_0x30099b&&this[_0x3b3718(0xb8)](_0x3b3718(0xfc),()=>{_0x30099b(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x3b3718(0x176)](_0x1ae690,this);return;}if(_0x30099b&&this['once'](_0x3b3718(0xfc),_0x30099b),this[_0x3b3718(0x1c7)]!==_0x5247e3){if(this[_0x3b3718(0x1c7)]=_0x5247e3,this[_0x3b3718(0x12c)][_0x3b3718(0xf0)]||this[_0x3b3718(0x12c)][_0x3b3718(0x11f)])this['_server']&&(this[_0x3b3718(0x1ee)](),this[_0x3b3718(0x1ee)]=this[_0x3b3718(0x11d)]=null),this['clients']?this[_0x3b3718(0x1d4)][_0x3b3718(0x118)]?this[_0x3b3718(0x122)]=!0x0:process['nextTick'](_0x1ae690,this):process[_0x3b3718(0x176)](_0x1ae690,this);else{const _0x5ac1d8=this[_0x3b3718(0x11d)];this[_0x3b3718(0x1ee)](),this['_removeListeners']=this[_0x3b3718(0x11d)]=null,_0x5ac1d8[_0x3b3718(0xfc)](()=>{_0x1ae690(this);});}}}[_0x3681f1(0xf8)](_0x441056){const _0x3e5808=_0x3681f1;if(this[_0x3e5808(0x12c)][_0x3e5808(0x105)]){const _0x241cc1=_0x441056[_0x3e5808(0x1ef)]['indexOf']('?');if((_0x241cc1!==-0x1?_0x441056[_0x3e5808(0x1ef)][_0x3e5808(0xa9)](0x0,_0x241cc1):_0x441056['url'])!==this[_0x3e5808(0x12c)][_0x3e5808(0x105)])return!0x1;}return!0x0;}['handleUpgrade'](_0x419c53,_0x174593,_0x7d2f9,_0x96ac97){const _0x3dcc62=_0x3681f1;_0x174593['on']('error',_0x1453df);const _0x504703=_0x419c53['headers']['sec-websocket-key'],_0x920916=_0x419c53[_0x3dcc62(0x233)][_0x3dcc62(0x226)],_0x2ac107=+_0x419c53[_0x3dcc62(0x233)]['sec-websocket-version'];if(_0x419c53[_0x3dcc62(0x1b4)]!==_0x3dcc62(0x1fc)){_0x59a061(this,_0x419c53,_0x174593,0x195,_0x3dcc62(0x249));return;}if(_0x920916===void 0x0||_0x920916[_0x3dcc62(0x21f)]()!==_0x3dcc62(0x17a)){_0x59a061(this,_0x419c53,_0x174593,0x190,_0x3dcc62(0x1d5));return;}if(_0x504703===void 0x0||!_0x28eef7[_0x3dcc62(0xaf)](_0x504703)){_0x59a061(this,_0x419c53,_0x174593,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x2ac107!==0x8&&_0x2ac107!==0xd){_0x59a061(this,_0x419c53,_0x174593,0x190,_0x3dcc62(0x257));return;}if(!this[_0x3dcc62(0xf8)](_0x419c53)){_0x20d665(_0x174593,0x190);return;}const _0x338608=_0x419c53[_0x3dcc62(0x233)][_0x3dcc62(0x206)];let _0x11c3ac=new Set();if(_0x338608!==void 0x0)try{_0x11c3ac=_0x1a5855['parse'](_0x338608);}catch{_0x59a061(this,_0x419c53,_0x174593,0x190,_0x3dcc62(0x1b0));return;}const _0x4ea1ef=_0x419c53['headers'][_0x3dcc62(0x197)],_0x42ab59={};if(this['options']['perMessageDeflate']&&_0x4ea1ef!==void 0x0){const _0x2ac5e8=new _0x35aabc(this[_0x3dcc62(0x12c)][_0x3dcc62(0x221)],!0x0,this[_0x3dcc62(0x12c)]['maxPayload']);try{const _0x169899=_0x473822[_0x3dcc62(0x1b3)](_0x4ea1ef);_0x169899[_0x35aabc[_0x3dcc62(0x1db)]]&&(_0x2ac5e8[_0x3dcc62(0xf9)](_0x169899[_0x35aabc['extensionName']]),_0x42ab59[_0x35aabc[_0x3dcc62(0x1db)]]=_0x2ac5e8);}catch{_0x59a061(this,_0x419c53,_0x174593,0x190,_0x3dcc62(0x244));return;}}if(this[_0x3dcc62(0x12c)][_0x3dcc62(0xd9)]){const _0x56394b={'origin':_0x419c53[_0x3dcc62(0x233)][''+(_0x2ac107===0x8?'sec-websocket-origin':'origin')],'secure':!!(_0x419c53['socket'][_0x3dcc62(0xb6)]||_0x419c53[_0x3dcc62(0x191)][_0x3dcc62(0x15a)]),'req':_0x419c53};if(this[_0x3dcc62(0x12c)][_0x3dcc62(0xd9)][_0x3dcc62(0x237)]===0x2){this[_0x3dcc62(0x12c)][_0x3dcc62(0xd9)](_0x56394b,(_0x286c41,_0x1db8d4,_0x747f3d,_0x1bdc49)=>{const _0x1ecf64=_0x3dcc62;if(!_0x286c41)return _0x20d665(_0x174593,_0x1db8d4||0x191,_0x747f3d,_0x1bdc49);this[_0x1ecf64(0x101)](_0x42ab59,_0x504703,_0x11c3ac,_0x419c53,_0x174593,_0x7d2f9,_0x96ac97);});return;}if(!this[_0x3dcc62(0x12c)][_0x3dcc62(0xd9)](_0x56394b))return _0x20d665(_0x174593,0x191);}this[_0x3dcc62(0x101)](_0x42ab59,_0x504703,_0x11c3ac,_0x419c53,_0x174593,_0x7d2f9,_0x96ac97);}['completeUpgrade'](_0x42e6d7,_0x572590,_0x1ec090,_0x33aa45,_0x323bdb,_0x145f3f,_0x1a433b){const _0x1c87ec=_0x3681f1;if(!_0x323bdb[_0x1c87ec(0x177)]||!_0x323bdb[_0x1c87ec(0x11b)])return _0x323bdb[_0x1c87ec(0xc9)]();if(_0x323bdb[_0x302ff6])throw new Error(_0x1c87ec(0x24b));if(this['_state']>_0x24107d)return _0x20d665(_0x323bdb,0x1f7);const _0x5444ef=[_0x1c87ec(0xdc),_0x1c87ec(0x23d),_0x1c87ec(0x184),_0x1c87ec(0x245)+_0x16c4cf(_0x1c87ec(0x114))[_0x1c87ec(0xa6)](_0x572590+_0x25c78d)[_0x1c87ec(0xae)]('base64')],_0xecc152=new this[(_0x1c87ec(0x12c))][(_0x1c87ec(0x1a1))](null,void 0x0,this['options']);if(_0x1ec090[_0x1c87ec(0x118)]){const _0x40b8a=this['options'][_0x1c87ec(0x14c)]?this[_0x1c87ec(0x12c)]['handleProtocols'](_0x1ec090,_0x33aa45):_0x1ec090[_0x1c87ec(0x96)]()[_0x1c87ec(0x16c)]()[_0x1c87ec(0x156)];_0x40b8a&&(_0x5444ef[_0x1c87ec(0x258)]('Sec-WebSocket-Protocol:\x20'+_0x40b8a),_0xecc152[_0x1c87ec(0x210)]=_0x40b8a);}if(_0x42e6d7[_0x35aabc[_0x1c87ec(0x1db)]]){const _0x32ed50=_0x42e6d7[_0x35aabc[_0x1c87ec(0x1db)]][_0x1c87ec(0x130)],_0x409e17=_0x473822[_0x1c87ec(0x1ed)]({[_0x35aabc[_0x1c87ec(0x1db)]]:[_0x32ed50]});_0x5444ef['push']('Sec-WebSocket-Extensions:\x20'+_0x409e17),_0xecc152[_0x1c87ec(0x1e1)]=_0x42e6d7;}this[_0x1c87ec(0x263)](_0x1c87ec(0x233),_0x5444ef,_0x33aa45),_0x323bdb['write'](_0x5444ef[_0x1c87ec(0x1c6)]('\x0d\x0a')['join']('\x0d\x0a')),_0x323bdb[_0x1c87ec(0x25d)](_0x1c87ec(0x20a),_0x1453df),_0xecc152[_0x1c87ec(0x123)](_0x323bdb,_0x145f3f,{'allowSynchronousEvents':this[_0x1c87ec(0x12c)][_0x1c87ec(0xe3)],'maxPayload':this[_0x1c87ec(0x12c)][_0x1c87ec(0x134)],'skipUTF8Validation':this[_0x1c87ec(0x12c)][_0x1c87ec(0x20c)]}),this[_0x1c87ec(0x1d4)]&&(this['clients'][_0x1c87ec(0x153)](_0xecc152),_0xecc152['on'](_0x1c87ec(0xfc),()=>{const _0x53586e=_0x1c87ec;this['clients'][_0x53586e(0xc6)](_0xecc152),this[_0x53586e(0x122)]&&!this[_0x53586e(0x1d4)][_0x53586e(0x118)]&&process['nextTick'](_0x1ae690,this);})),_0x1a433b(_0xecc152,_0x33aa45);}}Te=_0x290f03;function _0x42eeba(_0x37dcd9,_0x339049){const _0x1ad41c=_0x3681f1;for(const _0x5d4b8e of Object[_0x1ad41c(0x165)](_0x339049))_0x37dcd9['on'](_0x5d4b8e,_0x339049[_0x5d4b8e]);return function(){const _0x14a667=_0x1ad41c;for(const _0x5cbacf of Object[_0x14a667(0x165)](_0x339049))_0x37dcd9[_0x14a667(0x25d)](_0x5cbacf,_0x339049[_0x5cbacf]);};}function _0x1ae690(_0x580aee){const _0x21e351=_0x3681f1;_0x580aee['_state']=_0x167531,_0x580aee[_0x21e351(0x263)](_0x21e351(0xfc));}function _0x1453df(){const _0x4f62b7=_0x3681f1;this[_0x4f62b7(0xc9)]();}function _0x20d665(_0x351316,_0x2172a8,_0x36326d,_0x16ced0){const _0x4c0617=_0x3681f1;_0x36326d=_0x36326d||_0x13a71e[_0x4c0617(0x110)][_0x2172a8],_0x16ced0={'Connection':_0x4c0617(0xfc),'Content-Type':_0x4c0617(0xd0),'Content-Length':Buffer[_0x4c0617(0x217)](_0x36326d),..._0x16ced0},_0x351316['once']('finish',_0x351316[_0x4c0617(0xc9)]),_0x351316[_0x4c0617(0x97)](_0x4c0617(0x17f)+_0x2172a8+'\x20'+_0x13a71e[_0x4c0617(0x110)][_0x2172a8]+'\x0d\x0a'+Object[_0x4c0617(0x165)](_0x16ced0)[_0x4c0617(0x23e)](_0x33e1a6=>_0x33e1a6+':\x20'+_0x16ced0[_0x33e1a6])[_0x4c0617(0x14a)]('\x0d\x0a')+_0x4c0617(0x1c4)+_0x36326d);}function _0x59a061(_0x23f235,_0x5e2442,_0x1e32b5,_0x2d97d0,_0x3801f3){const _0x26b468=_0x3681f1;if(_0x23f235[_0x26b468(0x1a5)](_0x26b468(0x23c))){const _0x2c760e=new Error(_0x3801f3);Error[_0x26b468(0x1fa)](_0x2c760e,_0x59a061),_0x23f235[_0x26b468(0x263)](_0x26b468(0x23c),_0x2c760e,_0x1e32b5,_0x5e2442);}else _0x20d665(_0x1e32b5,_0x2d97d0,_0x3801f3);}return Te;}Ft();var jt=Object[_0x15e6da(0x18a)],Wt=(_0x3364c0,_0x3ce301,_0x8efb37,_0xe98053)=>{const _0xc3f300=_0x15e6da;for(var _0x32c782=_0xe98053>0x1?void 0x0:_0xe98053?jt(_0x3ce301,_0x8efb37):_0x3ce301,_0x5b8ee8=_0x3364c0[_0xc3f300(0x237)]-0x1,_0x5f1bac;_0x5b8ee8>=0x0;_0x5b8ee8--)(_0x5f1bac=_0x3364c0[_0x5b8ee8])&&(_0x32c782=_0x5f1bac(_0x32c782)||_0x32c782);return _0x32c782;},qt=(_0x1e0add,_0x33c4b0)=>(_0x44a529,_0x15717e)=>_0x33c4b0(_0x44a529,_0x15717e,_0x1e0add);let ke=class extends A[_0x15e6da(0xa8)]{constructor(_0x3bc862){super(),this['_configService']=_0x3bc862;}[_0x15e6da(0x1d6)](_0x3a1c85){const _0x20745e=_0x15e6da;var _0x558ca9;const _0x8c6d9e=(_0x558ca9=this[_0x20745e(0x20e)][_0x20745e(0x1ff)](fe))==null?void 0x0:_0x558ca9['customHeaders'];try{const _0x6474d9=new $t(_0x3a1c85,{'headers':{..._0x8c6d9e}}),_0x5aa3d0=new A[(_0x20745e(0xa4))]();return{'URL':_0x3a1c85,'close':(_0x1240b6,_0x2eb6e4)=>{const _0x525864=_0x20745e;_0x6474d9[_0x525864(0xfc)](_0x1240b6,_0x2eb6e4),_0x5aa3d0[_0x525864(0x1aa)]();},'send':_0x5a50bb=>{const _0xc70c18=_0x20745e;_0x6474d9[_0xc70c18(0xbb)](_0x5a50bb);},'open$':new V['Observable'](_0x531fa1=>{const _0x329b70=_0x20745e,_0x209cb8=_0x1438e5=>_0x531fa1[_0x329b70(0x16c)](_0x1438e5);_0x6474d9[_0x329b70(0x10c)]('open',_0x209cb8),_0x5aa3d0[_0x329b70(0x153)](A[_0x329b70(0x1f6)](()=>_0x6474d9['removeEventListener'](_0x329b70(0x25f),_0x209cb8)));})[_0x20745e(0x22b)](V[_0x20745e(0x1b2)]()),'close$':new V[(_0x20745e(0x235))](_0x2a5c38=>{const _0x8efd02=_0x20745e,_0x574acc=_0x5e4527=>_0x2a5c38[_0x8efd02(0x16c)](_0x5e4527);_0x6474d9[_0x8efd02(0x10c)]('close',_0x574acc),_0x5aa3d0[_0x8efd02(0x153)](A[_0x8efd02(0x1f6)](()=>_0x6474d9[_0x8efd02(0x1f5)]('close',_0x574acc)));})['pipe'](V[_0x20745e(0x1b2)]()),'error$':new V[(_0x20745e(0x235))](_0xc1906b=>{const _0xab4f61=_0x20745e,_0x5c0aad=_0x4e2475=>_0xc1906b[_0xab4f61(0x16c)](_0x4e2475);_0x6474d9[_0xab4f61(0x10c)](_0xab4f61(0x20a),_0x5c0aad),_0x5aa3d0[_0xab4f61(0x153)](A[_0xab4f61(0x1f6)](()=>_0x6474d9[_0xab4f61(0x1f5)]('error',_0x5c0aad)));})['pipe'](V['share']()),'message$':new V['Observable'](_0x1a1afc=>{const _0xaad5f5=_0x20745e,_0x4366b7=_0x2cb1db=>_0x1a1afc[_0xaad5f5(0x16c)](_0x2cb1db);_0x6474d9['addEventListener'](_0xaad5f5(0x1a2),_0x4366b7),_0x5aa3d0[_0xaad5f5(0x153)](A['toDisposable'](()=>_0x6474d9[_0xaad5f5(0x1f5)](_0xaad5f5(0x1a2),_0x4366b7)));})[_0x20745e(0x22b)](V[_0x20745e(0x1b2)]())};}catch(_0x2fc9be){return console['error'](_0x2fc9be),null;}}};ke=Wt([qt(0x0,A[_0x15e6da(0xb4)])],ke);var Gt=Object[_0x15e6da(0x15e)],Vt=Object[_0x15e6da(0x18a)],Ht=(_0x450380,_0x5eaf86,_0x5f2d1d)=>_0x5eaf86 in _0x450380?Gt(_0x450380,_0x5eaf86,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5f2d1d}):_0x450380[_0x5eaf86]=_0x5f2d1d,zt=(_0x44ffa4,_0x13a742,_0x1e86cd,_0x2fc9ea)=>{const _0xb632a0=_0x15e6da;for(var _0x57c6cb=_0x2fc9ea>0x1?void 0x0:_0x2fc9ea?Vt(_0x13a742,_0x1e86cd):_0x13a742,_0x15238e=_0x44ffa4[_0xb632a0(0x237)]-0x1,_0x4e19dd;_0x15238e>=0x0;_0x15238e--)(_0x4e19dd=_0x44ffa4[_0x15238e])&&(_0x57c6cb=_0x4e19dd(_0x57c6cb)||_0x57c6cb);return _0x57c6cb;},Ne=(_0x15735f,_0x5f2176)=>(_0xf553f5,_0x5203b4)=>_0x5f2176(_0xf553f5,_0x5203b4,_0x15735f),Yt=(_0x4343d4,_0x1dc995,_0x112048)=>Ht(_0x4343d4,_0x1dc995+'',_0x112048);exports[_0x15e6da(0xe8)]=class extends A[_0x15e6da(0x1c2)]{constructor(_0x2d925f=Ct,_0x394d21,_0x1c0278,_0x1e8d15){const _0x14f7e2=_0x15e6da;_0x2d925f['customHeaders']||_0x394d21[_0x14f7e2(0x152)](_0x14f7e2(0x1e9)),super(),this[_0x14f7e2(0x20e)]=_0x1c0278,this[_0x14f7e2(0xbc)]=_0x1e8d15,this[_0x14f7e2(0x20e)][_0x14f7e2(0xe9)](fe,_0x2d925f);}[_0x15e6da(0x1ea)](){const _0x401300=_0x15e6da;this[_0x401300(0x116)]();}[_0x15e6da(0x116)](){const _0x28ca29=_0x15e6da;A['registerDependencies'](this[_0x28ca29(0xbc)],[[it[_0x28ca29(0x10d)],{'useClass':ke}]]);}},Yt(exports[_0x15e6da(0xe8)],_0x15e6da(0x12a),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x15e6da(0xe8)]=zt([A['DependentOn'](st[_0x15e6da(0x125)]),Ne(0x1,A[_0x15e6da(0xf4)]),Ne(0x2,A[_0x15e6da(0xb4)]),Ne(0x3,A[_0x15e6da(0x22a)](A[_0x15e6da(0x147)]))],exports[_0x15e6da(0xe8)]);var Kt=Object[_0x15e6da(0x18a)],Xt=(_0x407a1c,_0xad850e,_0xeefea4,_0x36c121)=>{const _0x1fcbf7=_0x15e6da;for(var _0x1fbc26=_0x36c121>0x1?void 0x0:_0x36c121?Kt(_0xad850e,_0xeefea4):_0xad850e,_0x200719=_0x407a1c[_0x1fcbf7(0x237)]-0x1,_0x1cf0be;_0x200719>=0x0;_0x200719--)(_0x1cf0be=_0x407a1c[_0x200719])&&(_0x1fbc26=_0x1cf0be(_0x1fbc26)||_0x1fbc26);return _0x1fbc26;},ne=(_0x580fc1,_0x124a77)=>(_0x47d6b8,_0x1d9758)=>_0x124a77(_0x47d6b8,_0x1d9758,_0x580fc1);exports[_0x15e6da(0x186)]=class extends st['CollaborationSocketService']{constructor(_0x21e60d,_0xe396f9,_0x394e6f,_0x1f5f00,_0x5a43cc){const _0x336203=_0x15e6da;super(_0x21e60d,_0xe396f9,_0x394e6f,_0x1f5f00,_0x5a43cc);const _0x367f76=this['_configService']['getConfig'](fe);this[_0x336203(0xcd)][_0x336203(0x1fb)]({'interceptor':(_0x4668c1,_0xf8ccf9)=>{const _0x24a298=_0x336203;var _0x305db3;const _0x5725b2=_0x4668c1[_0x24a298(0x233)];return(_0x305db3=_0x367f76==null?void 0x0:_0x367f76[_0x24a298(0x1fd)])!=null&&_0x305db3[_0x24a298(0x174)]&&_0x5725b2['set'](_0x24a298(0x1b9),_0x367f76[_0x24a298(0x1fd)][_0x24a298(0x174)]),_0xf8ccf9(_0x4668c1);}});}async[_0x15e6da(0x1d6)](_0x24a17f){const _0x1871ee=_0x15e6da;return this[_0x1871ee(0x169)](_0x24a17f);}},exports[_0x15e6da(0x186)]=Xt([ne(0x0,A[_0x15e6da(0x22a)](A['Injector'])),ne(0x1,A[_0x15e6da(0x22a)](it[_0x15e6da(0xf6)])),ne(0x2,A[_0x15e6da(0xb4)]),ne(0x3,A[_0x15e6da(0xf4)]),ne(0x4,Ot[_0x15e6da(0x1f2)])],exports[_0x15e6da(0x186)]),exports[_0x15e6da(0x1d7)]=fe;
|
|
1
|
+
'use strict';const _0xc2e6c0=_0x1197;(function(_0x59ecd0,_0x428c66){const _0xf74e9f=_0x1197,_0xafe542=_0x59ecd0();while(!![]){try{const _0x4ce9c1=parseInt(_0xf74e9f(0x20e))/0x1*(parseInt(_0xf74e9f(0x212))/0x2)+parseInt(_0xf74e9f(0x1a8))/0x3*(parseInt(_0xf74e9f(0x14f))/0x4)+-parseInt(_0xf74e9f(0x292))/0x5+parseInt(_0xf74e9f(0x2ea))/0x6+-parseInt(_0xf74e9f(0x2b8))/0x7*(parseInt(_0xf74e9f(0x2c7))/0x8)+-parseInt(_0xf74e9f(0x2e6))/0x9+-parseInt(_0xf74e9f(0x2b0))/0xa;if(_0x4ce9c1===_0x428c66)break;else _0xafe542['push'](_0xafe542['shift']());}catch(_0x51cf12){_0xafe542['push'](_0xafe542['shift']());}}}(_0x111c,0x2feaa));Object[_0xc2e6c0(0x259)](exports,Symbol[_0xc2e6c0(0x2c4)],{'value':_0xc2e6c0(0x29c)});const st=require(_0xc2e6c0(0x28c)),A=require(_0xc2e6c0(0x2a5)),it=require('@univerjs/network'),V=require(_0xc2e6c0(0x22e)),nt=require(_0xc2e6c0(0x239)),vt=require(_0xc2e6c0(0x160)),ot=require('http'),St=require(_0xc2e6c0(0x194)),Et=require('tls'),Le=require(_0xc2e6c0(0x1f2)),oe=require('stream'),xt=require(_0xc2e6c0(0x229)),bt=require(_0xc2e6c0(0x286)),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0xc2e6c0(0x2e1),Ct={'customHeaders':{}};function Tt(_0xcfb4d3){const _0x210760=_0xc2e6c0;return _0xcfb4d3&&_0xcfb4d3[_0x210760(0x1db)]&&Object[_0x210760(0x2c9)][_0x210760(0x1e2)][_0x210760(0x233)](_0xcfb4d3,_0x210760(0x1cc))?_0xcfb4d3[_0x210760(0x1cc)]:_0xcfb4d3;}function at(_0x280a3e){const _0xb567b7=_0xc2e6c0;if(Object[_0xb567b7(0x2c9)]['hasOwnProperty']['call'](_0x280a3e,_0xb567b7(0x1db)))return _0x280a3e;var _0x1c64e4=_0x280a3e['default'];if(typeof _0x1c64e4==_0xb567b7(0x301)){var _0x2e007c=function _0x5e3707(){const _0x2ac883=_0xb567b7;return this instanceof _0x5e3707?Reflect[_0x2ac883(0x1a1)](_0x1c64e4,arguments,this[_0x2ac883(0x1b1)]):_0x1c64e4[_0x2ac883(0x2d7)](this,arguments);};_0x2e007c[_0xb567b7(0x2c9)]=_0x1c64e4[_0xb567b7(0x2c9)];}else _0x2e007c={};return Object[_0xb567b7(0x259)](_0x2e007c,_0xb567b7(0x1db),{'value':!0x0}),Object[_0xb567b7(0x1f6)](_0x280a3e)['forEach'](function(_0xef04f0){const _0x210f14=_0xb567b7;var _0x54bd6e=Object[_0x210f14(0x17f)](_0x280a3e,_0xef04f0);Object['defineProperty'](_0x2e007c,_0xef04f0,_0x54bd6e[_0x210f14(0x217)]?_0x54bd6e:{'enumerable':!0x0,'get':function(){return _0x280a3e[_0xef04f0];}});}),_0x2e007c;}var se={'exports':{}},ge,Ge;function _0x111c(){const _0xed90e7=['UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','upgrade','_writableState','generateMask','pipe','Invalid\x20Sec-WebSocket-Extensions\x20header','_mask','connect','parse','abort','Invalid\x20HTTP\x20method','base64','auth','binaryType','concurrency','_bufferedBytes','_doCreateSocket','find','allowSynchronousEvents','Basic\x20','1seKdSP','getConfig','ping','mask','625354SQloZY','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Server\x20sent\x20an\x20invalid\x20subprotocol','verifyClient','unmask','get','_queue','invalid\x20UTF-8\x20sequence','Observable','_req','concat','error','fragments','species','_final','allocUnsafe','isValidUTF8','_configService','objectMode','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_allowSynchronousEvents','total-length','status-code','url','Invalid\x20Upgrade\x20header','_fin','noServer','Server\x20sent\x20no\x20subprotocol','rxjs','_max_window_bits','_httpService','next','client_no_context_takeover','call','kCode','startsWith','handleProtocols','onmessage','clientTracking','events','setSocket','toLowerCase','concurrencyLimit','WS_ERR_UNEXPECTED_RSV_1','Invalid\x20value\x20for\x20parameter\x20\x22','once','length','WS_NO_UTF_8_VALIDATE','http:','The\x20URL\x20contains\x20a\x20fragment\x20identifier','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','perMessageDeflate','reason','The\x20URL\x27s\x20pathname\x20is\x20empty','client','_originalSecure','nodebuffer','_loop','Z_SYNC_FLUSH','Maximum\x20redirects\x20exceeded','Z_DEFAULT_WINDOWBITS','alloc','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','Invalid\x20URL:\x20','listenerCount','request','Upgrade:\x20websocket','skipUTF8Validation','dataMessage','_deflate','finishRequest','defineProperty','indexOf','createInflateRaw','clients','getBlobData','handleUpgrade','ISocketService','servername','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','RSV1\x20must\x20be\x20clear','CLOSING','_registerDependencies','zlibDeflateOptions','charCodeAt','object','destroyed','serverNoContextTakeover','byteOffset','_buffers','The\x20\x22','emit','conclude','drain','_injector','frame','decompress','kByteLength','Connection:\x20Upgrade','finish','_messageLength','params','cork','_paused','_maskBuffer','_removeListeners','ws+unix:','STATUS_CODES','sec-websocket-origin','getMask','opcode','Max\x20payload\x20size\x20exceeded','_fragmented','serverMaxWindowBits','_isServer','haveLength','zlib','address','customHeaders','string','dispose','text/html','@univerjs-pro/collaboration-client','_errored','CONNECTING','kMessage','reset','code','343645MkVsKO','protocolVersion','_no_context_takeover','destroy','join','WS_ERR_INVALID_UTF8','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','buffer','MASK\x20must\x20be\x20clear','ISnapshotServerService','Module','has','pluginName','getPayloadLength16','createDeflateRaw','host','completeUpgrade','dispatch','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','@univerjs/core','HTTPService','removeAllListeners','\x22:\x20','sec-websocket-accept','HTTP/1.1\x20101\x20Switching\x20Protocols','uncork','toDisposable','followRedirects','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','UniverCollaborationClientNodePlugin','2937000gRowMV','sec-websocket-version','Sec-WebSocket-Extensions','extensionName','Cookie','Disposable','arrayBuffer','captureStackTrace','1827HJVkVH','removeListener','_fragments','_destroy','forEach','unexpected-response','_originalHostOrSocketPath','WS_NO_BUFFER_UTIL','createError','_bufferedAmount','IConfigService','Unexpected\x20server\x20response:\x20','toStringTag','GET','slice','2376MxnUAS','\x22\x20must\x20have\x20only\x20a\x20single\x20value','prototype','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','size','_state','_errorEmitted','Upgrade','errorEmitted','listeners','backlog','readUInt32BE','onStarting','includes','_write','Blob','apply','add','wasClean','isView','readyState','Opening\x20handshake\x20has\x20timed\x20out','authorization','Origin','redirect','getInfo','collaboration-client-node.config','_firstFragment','isPaused','File','close','2652354lQDbAG','maxPayload','_readableState','env','2044002TVMeOW','Invalid\x20Sec-WebSocket-Accept\x20header','readOnly','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','statusCode','_compressed','clientMaxWindowBits','from','hash','entries','_skipUTF8Validation','href','socket','_closeMessage','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','end','extensions','callback','kError','jobs','Unexpected\x20character\x20at\x20index\x20','write','maxRedirects','function','_autoPong','_closeFrameReceived','bind','controlMessage','type','password','DependentOn','dequeue','finished','server_no_context_takeover','update','Inject','pow','binary','_protocol','_sender','setConfig','acceptAsServer','CLOSED','createSocket','timeout','emitClose','148brArNx','setTimeout','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','server','_extensions','isBuffer','Plugin','kReason','location','readable','onerror','open','Sec-WebSocket-Protocol:\x20','_options','digest','options','acceptAsClient','https','send','pause','Unknown\x20parameter\x20\x22','test','consume','rsv1','_maxPayload','cookie','websocket','toString','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_compress','_redirects','set','handshakeTimeout','kRun','port','WS_ERR_INVALID_CLOSE_CODE','connection','message','Sec-WebSocket-Protocol','addEventListener','blob','setNoDelay','socketPath','accept','autoPong','isArray','clientNoContextTakeover','warn','getOwnPropertyDescriptor','_shouldEmitClose','_closeTimer','handleEvent','kTarget','_threshold','resume','\x0d\x0a\x0d\x0a','The\x20server\x20is\x20not\x20running','_url','_inflate','arraybuffer','https:','\x22\x20subprotocol\x20is\x20duplicated','OPEN','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','DisposableCollection','fin','_totalPayloadLength','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','WebSocket','net','Sec-WebSocket-Accept:\x20','normalizeParams','byteLength','_receiver','pong','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_payloadLength','startLoop','data','WS_ERR_UNEXPECTED_RSV_2_3','getData','Unexpected\x20end\x20of\x20input','construct','pathname','protocol','Parameter\x20\x22','exports','freeze','_closeCode','22506MwCtjQ','stream','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_masked','threshold','server_max_window_bits','create','_closeFrameSent','constructor','WS_ERR_EXPECTED_MASK','_readyState','kData','CollaborationSocketService','read','push','buffers','WS_ERR_INVALID_OPCODE','WS_ERR_EXPECTED_FIN','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','registerHTTPInterceptor','nextTick','FIN\x20must\x20be\x20set','UniverCollaborationClientPlugin','sec-websocket-protocol','shift','_originalIpc','_binaryType','kAborted','endEmitted','method','pending','isServer','isInteger','hostname','permessage-deflate','default','_generateMask','headers','_socket','setHeader','sendFrame','client_max_window_bits','wss:','Invalid\x20Sec-WebSocket-Protocol\x20header','enqueue','NodeCollaborationSocketService','shouldHandle','replace','_opcode','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','__esModule','onclose','Injector','sha1','_server','origin','flush','hasOwnProperty','wsClientError','number','_read','ws:','path','kListener','kDone','search','removeEventListener','getPayloadLength64','cleanup','bufferedAmount','share','offer','writeUInt16BE','crypto','defaultPort','compress','invalid\x20opcode\x20','keys','response','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','sec-websocket-key'];_0x111c=function(){return _0xed90e7;};return _0x111c();}function H(){const _0x553e4c=_0xc2e6c0;if(Ge)return ge;Ge=0x1;const _0x372b34=[_0x553e4c(0x24a),_0x553e4c(0x18a),_0x553e4c(0x21e)],_0x5e3729=typeof Blob<'u';return _0x5e3729&&_0x372b34['push'](_0x553e4c(0x177)),ge={'BINARY_TYPES':_0x372b34,'EMPTY_BUFFER':Buffer[_0x553e4c(0x24f)](0x0),'GUID':_0x553e4c(0x250),'hasBlob':_0x5e3729,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x553e4c(0x1e8)),'kStatusCode':Symbol(_0x553e4c(0x228)),'kWebSocket':Symbol(_0x553e4c(0x169)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0xc2e6c0(0x1a6)](Object[_0xc2e6c0(0x259)]({'__proto__':null,'default':Nt},Symbol[_0xc2e6c0(0x2c4)],{'value':_0xc2e6c0(0x29c)})),Lt=at(kt);var Ve;function ce(){const _0x3c1ddd=_0xc2e6c0;if(Ve)return se[_0x3c1ddd(0x1a5)];Ve=0x1;const {EMPTY_BUFFER:_0x56c912}=H(),_0x4622fc=Buffer[Symbol[_0x3c1ddd(0x21f)]];function _0x4581ef(_0x3f1fbf,_0x1f35e3){const _0x1fe580=_0x3c1ddd;if(_0x3f1fbf[_0x1fe580(0x240)]===0x0)return _0x56c912;if(_0x3f1fbf['length']===0x1)return _0x3f1fbf[0x0];const _0x7d7378=Buffer['allocUnsafe'](_0x1f35e3);let _0x222be1=0x0;for(let _0x2aee6b=0x0;_0x2aee6b<_0x3f1fbf[_0x1fe580(0x240)];_0x2aee6b++){const _0x3849c1=_0x3f1fbf[_0x2aee6b];_0x7d7378[_0x1fe580(0x16e)](_0x3849c1,_0x222be1),_0x222be1+=_0x3849c1['length'];}return _0x222be1<_0x1f35e3?new _0x4622fc(_0x7d7378[_0x1fe580(0x299)],_0x7d7378[_0x1fe580(0x26a)],_0x222be1):_0x7d7378;}function _0x3999da(_0x4f3b87,_0x243817,_0xdb64a5,_0x3ea89f,_0x2a460b){for(let _0x5b2694=0x0;_0x5b2694<_0x2a460b;_0x5b2694++)_0xdb64a5[_0x3ea89f+_0x5b2694]=_0x4f3b87[_0x5b2694]^_0x243817[_0x5b2694&0x3];}function _0x12f94d(_0x1eb9e5,_0x4b7e6b){for(let _0x2e93dd=0x0;_0x2e93dd<_0x1eb9e5['length'];_0x2e93dd++)_0x1eb9e5[_0x2e93dd]^=_0x4b7e6b[_0x2e93dd&0x3];}function _0x28797a(_0x59aee8){const _0x206aab=_0x3c1ddd;return _0x59aee8[_0x206aab(0x240)]===_0x59aee8[_0x206aab(0x299)][_0x206aab(0x197)]?_0x59aee8[_0x206aab(0x299)]:_0x59aee8[_0x206aab(0x299)][_0x206aab(0x2c6)](_0x59aee8['byteOffset'],_0x59aee8[_0x206aab(0x26a)]+_0x59aee8[_0x206aab(0x240)]);}function _0x2e7bab(_0xcfc3a4){const _0xae391=_0x3c1ddd;if(_0x2e7bab[_0xae391(0x2ec)]=!0x0,Buffer[_0xae391(0x154)](_0xcfc3a4))return _0xcfc3a4;let _0x410cba;return _0xcfc3a4 instanceof ArrayBuffer?_0x410cba=new _0x4622fc(_0xcfc3a4):ArrayBuffer[_0xae391(0x2da)](_0xcfc3a4)?_0x410cba=new _0x4622fc(_0xcfc3a4['buffer'],_0xcfc3a4[_0xae391(0x26a)],_0xcfc3a4[_0xae391(0x197)]):(_0x410cba=Buffer[_0xae391(0x2f1)](_0xcfc3a4),_0x2e7bab[_0xae391(0x2ec)]=!0x1),_0x410cba;}if(se['exports']={'concat':_0x4581ef,'mask':_0x3999da,'toArrayBuffer':_0x28797a,'toBuffer':_0x2e7bab,'unmask':_0x12f94d},!process[_0x3c1ddd(0x2e9)][_0x3c1ddd(0x2bf)])try{const _0x5d0e61=Lt;se[_0x3c1ddd(0x1a5)][_0x3c1ddd(0x211)]=function(_0x4e26c0,_0x43c3b1,_0x471574,_0x41cf46,_0x6b7ba5){const _0x21c9bf=_0x3c1ddd;_0x6b7ba5<0x30?_0x3999da(_0x4e26c0,_0x43c3b1,_0x471574,_0x41cf46,_0x6b7ba5):_0x5d0e61[_0x21c9bf(0x211)](_0x4e26c0,_0x43c3b1,_0x471574,_0x41cf46,_0x6b7ba5);},se[_0x3c1ddd(0x1a5)][_0x3c1ddd(0x216)]=function(_0x3f7830,_0x4b3624){const _0x231727=_0x3c1ddd;_0x3f7830[_0x231727(0x240)]<0x20?_0x12f94d(_0x3f7830,_0x4b3624):_0x5d0e61[_0x231727(0x216)](_0x3f7830,_0x4b3624);};}catch{}return se[_0x3c1ddd(0x1a5)];}var ye,He;function Pt(){const _0xcd7932=_0xc2e6c0;if(He)return ye;He=0x1;const _0x19279c=Symbol(_0xcd7932(0x1e9)),_0x148e05=Symbol(_0xcd7932(0x170));class _0x438afc{constructor(_0x4b84df){const _0x25fd36=_0xcd7932;this[_0x19279c]=()=>{const _0x422617=_0x1197;this[_0x422617(0x1c7)]--,this[_0x148e05]();},this['concurrency']=_0x4b84df||0x1/0x0,this[_0x25fd36(0x2fd)]=[],this[_0x25fd36(0x1c7)]=0x0;}['add'](_0x419a87){const _0x8656cb=_0xcd7932;this[_0x8656cb(0x2fd)]['push'](_0x419a87),this[_0x148e05]();}[_0x148e05](){const _0x576cc6=_0xcd7932;if(this['pending']!==this[_0x576cc6(0x208)]&&this['jobs'][_0x576cc6(0x240)]){const _0x1b75c6=this[_0x576cc6(0x2fd)][_0x576cc6(0x1c1)]();this[_0x576cc6(0x1c7)]++,_0x1b75c6(this[_0x19279c]);}}}return ye=_0x438afc,ye;}var ve,ze;function he(){const _0x121705=_0xc2e6c0;if(ze)return ve;ze=0x1;const _0x495d1d=bt,_0x316cfb=ce(),_0x2f05ac=Pt(),{kStatusCode:_0x5b37ba}=H(),_0x56a786=Buffer[Symbol[_0x121705(0x21f)]],_0x4c1b26=Buffer['from']([0x0,0x0,0xff,0xff]),_0x37b7a6=Symbol(_0x121705(0x1cb)),_0x37fbc2=Symbol(_0x121705(0x227)),_0xf8fa64=Symbol(_0x121705(0x2fb)),_0x4e86b5=Symbol(_0x121705(0x1b8)),_0x48d316=Symbol('error');let _0x2a50ef;class _0x274b1f{constructor(_0x369bca,_0x3e0fac,_0x492337){const _0x3cbe67=_0x121705;if(this[_0x3cbe67(0x167)]=_0x492337|0x0,this[_0x3cbe67(0x15c)]=_0x369bca||{},this[_0x3cbe67(0x184)]=this[_0x3cbe67(0x15c)][_0x3cbe67(0x1ad)]!==void 0x0?this[_0x3cbe67(0x15c)]['threshold']:0x400,this[_0x3cbe67(0x284)]=!!_0x3e0fac,this[_0x3cbe67(0x257)]=null,this[_0x3cbe67(0x189)]=null,this['params']=null,!_0x2a50ef){const _0x263d97=this[_0x3cbe67(0x15c)][_0x3cbe67(0x23c)]!==void 0x0?this[_0x3cbe67(0x15c)][_0x3cbe67(0x23c)]:0xa;_0x2a50ef=new _0x2f05ac(_0x263d97);}}static get[_0x121705(0x2b3)](){const _0x177d55=_0x121705;return _0x177d55(0x1cb);}[_0x121705(0x1f0)](){const _0x3482e8=_0x121705,_0x58d5b9={};return this[_0x3482e8(0x15c)]['serverNoContextTakeover']&&(_0x58d5b9['server_no_context_takeover']=!0x0),this[_0x3482e8(0x15c)][_0x3482e8(0x17d)]&&(_0x58d5b9['client_no_context_takeover']=!0x0),this[_0x3482e8(0x15c)][_0x3482e8(0x283)]&&(_0x58d5b9[_0x3482e8(0x1ae)]=this[_0x3482e8(0x15c)][_0x3482e8(0x283)]),this[_0x3482e8(0x15c)][_0x3482e8(0x2f0)]?_0x58d5b9[_0x3482e8(0x1d2)]=this[_0x3482e8(0x15c)][_0x3482e8(0x2f0)]:this[_0x3482e8(0x15c)][_0x3482e8(0x2f0)]==null&&(_0x58d5b9[_0x3482e8(0x1d2)]=!0x0),_0x58d5b9;}[_0x121705(0x17a)](_0x158495){const _0x3d23b8=_0x121705;return _0x158495=this[_0x3d23b8(0x196)](_0x158495),this[_0x3d23b8(0x277)]=this[_0x3d23b8(0x284)]?this[_0x3d23b8(0x313)](_0x158495):this[_0x3d23b8(0x15f)](_0x158495),this[_0x3d23b8(0x277)];}[_0x121705(0x1ed)](){const _0x23b872=_0x121705;if(this[_0x23b872(0x189)]&&(this[_0x23b872(0x189)][_0x23b872(0x2e5)](),this[_0x23b872(0x189)]=null),this[_0x23b872(0x257)]){const _0x420edb=this['_deflate'][_0xf8fa64];this[_0x23b872(0x257)][_0x23b872(0x2e5)](),this['_deflate']=null,_0x420edb&&_0x420edb(new Error(_0x23b872(0x244)));}}[_0x121705(0x313)](_0x1d7b90){const _0xa753f8=_0x121705,_0x482207=this['_options'],_0x53f42b=_0x1d7b90[_0xa753f8(0x20b)](_0x1dc234=>!(_0x482207['serverNoContextTakeover']===!0x1&&_0x1dc234['server_no_context_takeover']||_0x1dc234[_0xa753f8(0x1ae)]&&(_0x482207['serverMaxWindowBits']===!0x1||typeof _0x482207[_0xa753f8(0x283)]==_0xa753f8(0x1e4)&&_0x482207['serverMaxWindowBits']>_0x1dc234[_0xa753f8(0x1ae)])||typeof _0x482207['clientMaxWindowBits']=='number'&&!_0x1dc234['client_max_window_bits']));if(!_0x53f42b)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x482207[_0xa753f8(0x269)]&&(_0x53f42b[_0xa753f8(0x30b)]=!0x0),_0x482207[_0xa753f8(0x17d)]&&(_0x53f42b[_0xa753f8(0x232)]=!0x0),typeof _0x482207[_0xa753f8(0x283)]==_0xa753f8(0x1e4)&&(_0x53f42b[_0xa753f8(0x1ae)]=_0x482207['serverMaxWindowBits']),typeof _0x482207[_0xa753f8(0x2f0)]==_0xa753f8(0x1e4)?_0x53f42b[_0xa753f8(0x1d2)]=_0x482207[_0xa753f8(0x2f0)]:(_0x53f42b['client_max_window_bits']===!0x0||_0x482207[_0xa753f8(0x2f0)]===!0x1)&&delete _0x53f42b[_0xa753f8(0x1d2)],_0x53f42b;}[_0x121705(0x15f)](_0x49fbab){const _0x413cb3=_0x121705,_0x3ee37c=_0x49fbab[0x0];if(this[_0x413cb3(0x15c)]['clientNoContextTakeover']===!0x1&&_0x3ee37c[_0x413cb3(0x232)])throw new Error(_0x413cb3(0x2a4));if(!_0x3ee37c[_0x413cb3(0x1d2)])typeof this[_0x413cb3(0x15c)][_0x413cb3(0x2f0)]==_0x413cb3(0x1e4)&&(_0x3ee37c[_0x413cb3(0x1d2)]=this['_options']['clientMaxWindowBits']);else{if(this['_options']['clientMaxWindowBits']===!0x1||typeof this[_0x413cb3(0x15c)][_0x413cb3(0x2f0)]==_0x413cb3(0x1e4)&&_0x3ee37c[_0x413cb3(0x1d2)]>this[_0x413cb3(0x15c)][_0x413cb3(0x2f0)])throw new Error(_0x413cb3(0x2ae));}return _0x3ee37c;}[_0x121705(0x196)](_0x582709){return _0x582709['forEach'](_0x37f0c2=>{Object['keys'](_0x37f0c2)['forEach'](_0x2c894f=>{const _0x1a7936=_0x1197;let _0x10f29b=_0x37f0c2[_0x2c894f];if(_0x10f29b[_0x1a7936(0x240)]>0x1)throw new Error(_0x1a7936(0x1a4)+_0x2c894f+_0x1a7936(0x2c8));if(_0x10f29b=_0x10f29b[0x0],_0x2c894f===_0x1a7936(0x1d2)){if(_0x10f29b!==!0x0){const _0x28ae44=+_0x10f29b;if(!Number[_0x1a7936(0x1c9)](_0x28ae44)||_0x28ae44<0x8||_0x28ae44>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2c894f+'\x22:\x20'+_0x10f29b);_0x10f29b=_0x28ae44;}else{if(!this[_0x1a7936(0x284)])throw new TypeError(_0x1a7936(0x23e)+_0x2c894f+'\x22:\x20'+_0x10f29b);}}else{if(_0x2c894f==='server_max_window_bits'){const _0x4c2c69=+_0x10f29b;if(!Number[_0x1a7936(0x1c9)](_0x4c2c69)||_0x4c2c69<0x8||_0x4c2c69>0xf)throw new TypeError(_0x1a7936(0x23e)+_0x2c894f+_0x1a7936(0x2a8)+_0x10f29b);_0x10f29b=_0x4c2c69;}else{if(_0x2c894f===_0x1a7936(0x232)||_0x2c894f===_0x1a7936(0x30b)){if(_0x10f29b!==!0x0)throw new TypeError(_0x1a7936(0x23e)+_0x2c894f+'\x22:\x20'+_0x10f29b);}else throw new Error(_0x1a7936(0x163)+_0x2c894f+'\x22');}}_0x37f0c2[_0x2c894f]=_0x10f29b;});}),_0x582709;}['decompress'](_0x55c85b,_0x529ee0,_0x3f9fff){const _0x698ad0=_0x121705;_0x2a50ef[_0x698ad0(0x2d8)](_0x38d208=>{this['_decompress'](_0x55c85b,_0x529ee0,(_0x5d4581,_0xd18738)=>{_0x38d208(),_0x3f9fff(_0x5d4581,_0xd18738);});});}[_0x121705(0x1f4)](_0x2182e8,_0x172c04,_0x4b1bce){const _0x27e39c=_0x121705;_0x2a50ef[_0x27e39c(0x2d8)](_0x390af4=>{this['_compress'](_0x2182e8,_0x172c04,(_0x5233cd,_0x3814b6)=>{_0x390af4(),_0x4b1bce(_0x5233cd,_0x3814b6);});});}['_decompress'](_0x2da7d0,_0x287900,_0x3da2f4){const _0x58c31a=_0x121705,_0x22fdb6=this[_0x58c31a(0x284)]?_0x58c31a(0x248):_0x58c31a(0x152);if(!this[_0x58c31a(0x189)]){const _0x5983fc=_0x22fdb6+_0x58c31a(0x22f),_0x526a8b=typeof this[_0x58c31a(0x277)][_0x5983fc]!=_0x58c31a(0x1e4)?_0x495d1d[_0x58c31a(0x24e)]:this[_0x58c31a(0x277)][_0x5983fc];this[_0x58c31a(0x189)]=_0x495d1d[_0x58c31a(0x25b)]({...this[_0x58c31a(0x15c)]['zlibInflateOptions'],'windowBits':_0x526a8b}),this[_0x58c31a(0x189)][_0x37b7a6]=this,this['_inflate'][_0x37fbc2]=0x0,this[_0x58c31a(0x189)][_0x4e86b5]=[],this[_0x58c31a(0x189)]['on'](_0x58c31a(0x21d),_0x9ed58f),this[_0x58c31a(0x189)]['on']('data',_0x91a400);}this[_0x58c31a(0x189)][_0xf8fa64]=_0x3da2f4,this[_0x58c31a(0x189)][_0x58c31a(0x2ff)](_0x2da7d0),_0x287900&&this[_0x58c31a(0x189)][_0x58c31a(0x2ff)](_0x4c1b26),this[_0x58c31a(0x189)]['flush'](()=>{const _0x1f5d28=_0x58c31a,_0x2fe798=this[_0x1f5d28(0x189)][_0x48d316];if(_0x2fe798){this['_inflate'][_0x1f5d28(0x2e5)](),this['_inflate']=null,_0x3da2f4(_0x2fe798);return;}const _0x4ae137=_0x316cfb[_0x1f5d28(0x21c)](this[_0x1f5d28(0x189)][_0x4e86b5],this[_0x1f5d28(0x189)][_0x37fbc2]);this[_0x1f5d28(0x189)][_0x1f5d28(0x2e8)][_0x1f5d28(0x1c5)]?(this[_0x1f5d28(0x189)][_0x1f5d28(0x2e5)](),this['_inflate']=null):(this[_0x1f5d28(0x189)][_0x37fbc2]=0x0,this[_0x1f5d28(0x189)][_0x4e86b5]=[],_0x287900&&this[_0x1f5d28(0x277)][_0x22fdb6+_0x1f5d28(0x294)]&&this[_0x1f5d28(0x189)][_0x1f5d28(0x290)]()),_0x3da2f4(null,_0x4ae137);});}[_0x121705(0x16c)](_0xb4673e,_0x926896,_0x390628){const _0x31db0d=_0x121705,_0x3c6eeb=this[_0x31db0d(0x284)]?_0x31db0d(0x152):_0x31db0d(0x248);if(!this[_0x31db0d(0x257)]){const _0x316724=_0x3c6eeb+_0x31db0d(0x22f),_0x398b60=typeof this[_0x31db0d(0x277)][_0x316724]!=_0x31db0d(0x1e4)?_0x495d1d[_0x31db0d(0x24e)]:this['params'][_0x316724];this['_deflate']=_0x495d1d[_0x31db0d(0x2a0)]({...this[_0x31db0d(0x15c)][_0x31db0d(0x265)],'windowBits':_0x398b60}),this[_0x31db0d(0x257)][_0x37fbc2]=0x0,this[_0x31db0d(0x257)][_0x4e86b5]=[],this[_0x31db0d(0x257)]['on'](_0x31db0d(0x19d),_0x3a6aa5);}this['_deflate'][_0xf8fa64]=_0x390628,this[_0x31db0d(0x257)]['write'](_0xb4673e),this[_0x31db0d(0x257)][_0x31db0d(0x1e1)](_0x495d1d[_0x31db0d(0x24c)],()=>{const _0x738721=_0x31db0d;if(!this['_deflate'])return;let _0x5ef4a6=_0x316cfb['concat'](this['_deflate'][_0x4e86b5],this[_0x738721(0x257)][_0x37fbc2]);_0x926896&&(_0x5ef4a6=new _0x56a786(_0x5ef4a6[_0x738721(0x299)],_0x5ef4a6[_0x738721(0x26a)],_0x5ef4a6[_0x738721(0x240)]-0x4)),this['_deflate'][_0xf8fa64]=null,this[_0x738721(0x257)][_0x37fbc2]=0x0,this[_0x738721(0x257)][_0x4e86b5]=[],_0x926896&&this['params'][_0x3c6eeb+_0x738721(0x294)]&&this['_deflate'][_0x738721(0x290)](),_0x390628(null,_0x5ef4a6);});}}ve=_0x274b1f;function _0x3a6aa5(_0x6c0225){const _0xaaa9b8=_0x121705;this[_0x4e86b5]['push'](_0x6c0225),this[_0x37fbc2]+=_0x6c0225[_0xaaa9b8(0x240)];}function _0x91a400(_0x43191){const _0xac0682=_0x121705;if(this[_0x37fbc2]+=_0x43191[_0xac0682(0x240)],this[_0x37b7a6][_0xac0682(0x167)]<0x1||this[_0x37fbc2]<=this[_0x37b7a6][_0xac0682(0x167)]){this[_0x4e86b5][_0xac0682(0x1b7)](_0x43191);return;}this[_0x48d316]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x48d316][_0xac0682(0x291)]=_0xac0682(0x1ab),this[_0x48d316][_0x5b37ba]=0x3f1,this[_0xac0682(0x2b9)](_0xac0682(0x19d),_0x91a400),this[_0xac0682(0x290)]();}function _0x9ed58f(_0x5270c2){this[_0x37b7a6]['_inflate']=null,_0x5270c2[_0x5b37ba]=0x3ef,this[_0xf8fa64](_0x5270c2);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0xc2e6c0(0x259)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0xc2e6c0(0x29c)})),Bt=at(Rt);var Ye;function ae(){const _0x3961bb=_0xc2e6c0;if(Ye)return ie[_0x3961bb(0x1a5)];Ye=0x1;const {isUtf8:_0x443b40}=wt,{hasBlob:_0x73def}=H(),_0x1f3f66=[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 _0x98a69a(_0x21ce33){return _0x21ce33>=0x3e8&&_0x21ce33<=0x3f6&&_0x21ce33!==0x3ec&&_0x21ce33!==0x3ed&&_0x21ce33!==0x3ee||_0x21ce33>=0xbb8&&_0x21ce33<=0x1387;}function _0x9c1427(_0x557b7c){const _0x33dd29=_0x3961bb,_0x5c2a05=_0x557b7c[_0x33dd29(0x240)];let _0x48223e=0x0;for(;_0x48223e<_0x5c2a05;)if((_0x557b7c[_0x48223e]&0x80)===0x0)_0x48223e++;else{if((_0x557b7c[_0x48223e]&0xe0)===0xc0){if(_0x48223e+0x1===_0x5c2a05||(_0x557b7c[_0x48223e+0x1]&0xc0)!==0x80||(_0x557b7c[_0x48223e]&0xfe)===0xc0)return!0x1;_0x48223e+=0x2;}else{if((_0x557b7c[_0x48223e]&0xf0)===0xe0){if(_0x48223e+0x2>=_0x5c2a05||(_0x557b7c[_0x48223e+0x1]&0xc0)!==0x80||(_0x557b7c[_0x48223e+0x2]&0xc0)!==0x80||_0x557b7c[_0x48223e]===0xe0&&(_0x557b7c[_0x48223e+0x1]&0xe0)===0x80||_0x557b7c[_0x48223e]===0xed&&(_0x557b7c[_0x48223e+0x1]&0xe0)===0xa0)return!0x1;_0x48223e+=0x3;}else{if((_0x557b7c[_0x48223e]&0xf8)===0xf0){if(_0x48223e+0x3>=_0x5c2a05||(_0x557b7c[_0x48223e+0x1]&0xc0)!==0x80||(_0x557b7c[_0x48223e+0x2]&0xc0)!==0x80||(_0x557b7c[_0x48223e+0x3]&0xc0)!==0x80||_0x557b7c[_0x48223e]===0xf0&&(_0x557b7c[_0x48223e+0x1]&0xf0)===0x80||_0x557b7c[_0x48223e]===0xf4&&_0x557b7c[_0x48223e+0x1]>0x8f||_0x557b7c[_0x48223e]>0xf4)return!0x1;_0x48223e+=0x4;}else return!0x1;}}}return!0x0;}function _0x21fd52(_0x17b5b3){const _0x39654b=_0x3961bb;return _0x73def&&typeof _0x17b5b3==_0x39654b(0x267)&&typeof _0x17b5b3['arrayBuffer']==_0x39654b(0x301)&&typeof _0x17b5b3[_0x39654b(0x306)]==_0x39654b(0x289)&&typeof _0x17b5b3[_0x39654b(0x1a9)]==_0x39654b(0x301)&&(_0x17b5b3[Symbol['toStringTag']]===_0x39654b(0x2d6)||_0x17b5b3[Symbol[_0x39654b(0x2c4)]]===_0x39654b(0x2e4));}if(ie[_0x3961bb(0x1a5)]={'isBlob':_0x21fd52,'isValidStatusCode':_0x98a69a,'isValidUTF8':_0x9c1427,'tokenChars':_0x1f3f66},_0x443b40)ie[_0x3961bb(0x1a5)][_0x3961bb(0x222)]=function(_0x6e6cf9){return _0x6e6cf9['length']<0x18?_0x9c1427(_0x6e6cf9):_0x443b40(_0x6e6cf9);};else{if(!process[_0x3961bb(0x2e9)][_0x3961bb(0x241)])try{const _0x34fc1a=Bt;ie[_0x3961bb(0x1a5)]['isValidUTF8']=function(_0x2a8be9){return _0x2a8be9['length']<0x20?_0x9c1427(_0x2a8be9):_0x34fc1a(_0x2a8be9);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x5f160b=_0xc2e6c0;if(Ke)return Se;Ke=0x1;const {Writable:_0x19f892}=oe,_0x49cf5e=he(),{BINARY_TYPES:_0x1c53a8,EMPTY_BUFFER:_0x384def,kStatusCode:_0x5f2b81,kWebSocket:_0x9d6798}=H(),{concat:_0x458394,toArrayBuffer:_0x276078,unmask:_0x593fa6}=ce(),{isValidStatusCode:_0x4376b8,isValidUTF8:_0x53c6a4}=ae(),_0x18d842=Buffer[Symbol['species']],_0x12080a=0x0,_0x559752=0x1,_0x276ec2=0x2,_0x39752d=0x3,_0x4d352d=0x4,_0x447588=0x5,_0x1fcb93=0x6;class _0x2ff00c extends _0x19f892{constructor(_0x171e68={}){const _0x19ed9c=_0x1197;super(),this['_allowSynchronousEvents']=_0x171e68[_0x19ed9c(0x20c)]!==void 0x0?_0x171e68['allowSynchronousEvents']:!0x0,this[_0x19ed9c(0x1c3)]=_0x171e68['binaryType']||_0x1c53a8[0x0],this['_extensions']=_0x171e68['extensions']||{},this[_0x19ed9c(0x284)]=!!_0x171e68[_0x19ed9c(0x1c8)],this[_0x19ed9c(0x167)]=_0x171e68['maxPayload']|0x0,this[_0x19ed9c(0x2f4)]=!!_0x171e68[_0x19ed9c(0x255)],this[_0x9d6798]=void 0x0,this[_0x19ed9c(0x209)]=0x0,this['_buffers']=[],this[_0x19ed9c(0x2ef)]=!0x1,this[_0x19ed9c(0x19b)]=0x0,this[_0x19ed9c(0x200)]=void 0x0,this[_0x19ed9c(0x282)]=0x0,this['_masked']=!0x1,this['_fin']=!0x1,this[_0x19ed9c(0x1d9)]=0x0,this[_0x19ed9c(0x191)]=0x0,this[_0x19ed9c(0x276)]=0x0,this[_0x19ed9c(0x2ba)]=[],this[_0x19ed9c(0x28d)]=!0x1,this['_loop']=!0x1,this[_0x19ed9c(0x2cc)]=_0x12080a;}[_0x5f160b(0x2d5)](_0x482f6b,_0x2150eb,_0x1aca3b){const _0x32c479=_0x5f160b;if(this[_0x32c479(0x1d9)]===0x8&&this[_0x32c479(0x2cc)]==_0x12080a)return _0x1aca3b();this['_bufferedBytes']+=_0x482f6b['length'],this[_0x32c479(0x26b)][_0x32c479(0x1b7)](_0x482f6b),this[_0x32c479(0x19c)](_0x1aca3b);}[_0x5f160b(0x165)](_0x32103a){const _0x20c4bb=_0x5f160b;if(this[_0x20c4bb(0x209)]-=_0x32103a,_0x32103a===this[_0x20c4bb(0x26b)][0x0][_0x20c4bb(0x240)])return this[_0x20c4bb(0x26b)][_0x20c4bb(0x1c1)]();if(_0x32103a<this[_0x20c4bb(0x26b)][0x0][_0x20c4bb(0x240)]){const _0x350b90=this[_0x20c4bb(0x26b)][0x0];return this['_buffers'][0x0]=new _0x18d842(_0x350b90[_0x20c4bb(0x299)],_0x350b90[_0x20c4bb(0x26a)]+_0x32103a,_0x350b90[_0x20c4bb(0x240)]-_0x32103a),new _0x18d842(_0x350b90[_0x20c4bb(0x299)],_0x350b90['byteOffset'],_0x32103a);}const _0x49e72a=Buffer[_0x20c4bb(0x221)](_0x32103a);do{const _0x474fc5=this[_0x20c4bb(0x26b)][0x0],_0x172668=_0x49e72a[_0x20c4bb(0x240)]-_0x32103a;_0x32103a>=_0x474fc5['length']?_0x49e72a[_0x20c4bb(0x16e)](this[_0x20c4bb(0x26b)][_0x20c4bb(0x1c1)](),_0x172668):(_0x49e72a['set'](new Uint8Array(_0x474fc5['buffer'],_0x474fc5[_0x20c4bb(0x26a)],_0x32103a),_0x172668),this[_0x20c4bb(0x26b)][0x0]=new _0x18d842(_0x474fc5[_0x20c4bb(0x299)],_0x474fc5['byteOffset']+_0x32103a,_0x474fc5[_0x20c4bb(0x240)]-_0x32103a)),_0x32103a-=_0x474fc5[_0x20c4bb(0x240)];}while(_0x32103a>0x0);return _0x49e72a;}['startLoop'](_0x3c68c8){const _0x4b2354=_0x5f160b;this['_loop']=!0x0;do switch(this[_0x4b2354(0x2cc)]){case _0x12080a:this[_0x4b2354(0x2e0)](_0x3c68c8);break;case _0x559752:this['getPayloadLength16'](_0x3c68c8);break;case _0x276ec2:this[_0x4b2354(0x1ec)](_0x3c68c8);break;case _0x39752d:this['getMask']();break;case _0x4d352d:this['getData'](_0x3c68c8);break;case _0x447588:case _0x1fcb93:this[_0x4b2354(0x24b)]=!0x1;return;}while(this[_0x4b2354(0x24b)]);this[_0x4b2354(0x28d)]||_0x3c68c8();}[_0x5f160b(0x2e0)](_0x363bc6){const _0x416d50=_0x5f160b;if(this[_0x416d50(0x209)]<0x2){this[_0x416d50(0x24b)]=!0x1;return;}const _0x272a9e=this[_0x416d50(0x165)](0x2);if((_0x272a9e[0x0]&0x30)!==0x0){const _0x1ac3bd=this['createError'](RangeError,_0x416d50(0x1f8),!0x0,0x3ea,_0x416d50(0x19e));_0x363bc6(_0x1ac3bd);return;}const _0x4b4832=(_0x272a9e[0x0]&0x40)===0x40;if(_0x4b4832&&!this['_extensions'][_0x49cf5e[_0x416d50(0x2b3)]]){const _0x1f114b=this[_0x416d50(0x2c0)](RangeError,_0x416d50(0x262),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x363bc6(_0x1f114b);return;}if(this[_0x416d50(0x22b)]=(_0x272a9e[0x0]&0x80)===0x80,this[_0x416d50(0x1d9)]=_0x272a9e[0x0]&0xf,this['_payloadLength']=_0x272a9e[0x1]&0x7f,this[_0x416d50(0x1d9)]===0x0){if(_0x4b4832){const _0x203a49=this[_0x416d50(0x2c0)](RangeError,_0x416d50(0x262),!0x0,0x3ea,_0x416d50(0x23d));_0x363bc6(_0x203a49);return;}if(!this[_0x416d50(0x282)]){const _0x36b024=this['createError'](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x416d50(0x1b9));_0x363bc6(_0x36b024);return;}this[_0x416d50(0x1d9)]=this['_fragmented'];}else{if(this['_opcode']===0x1||this['_opcode']===0x2){if(this[_0x416d50(0x282)]){const _0x559a00=this[_0x416d50(0x2c0)](RangeError,_0x416d50(0x1f5)+this['_opcode'],!0x0,0x3ea,_0x416d50(0x1b9));_0x363bc6(_0x559a00);return;}this[_0x416d50(0x2ef)]=_0x4b4832;}else{if(this[_0x416d50(0x1d9)]>0x7&&this[_0x416d50(0x1d9)]<0xb){if(!this[_0x416d50(0x22b)]){const _0x73e7cd=this['createError'](RangeError,_0x416d50(0x1be),!0x0,0x3ea,_0x416d50(0x1ba));_0x363bc6(_0x73e7cd);return;}if(_0x4b4832){const _0xc12a5d=this['createError'](RangeError,_0x416d50(0x262),!0x0,0x3ea,_0x416d50(0x23d));_0x363bc6(_0xc12a5d);return;}if(this[_0x416d50(0x19b)]>0x7d||this[_0x416d50(0x1d9)]===0x8&&this[_0x416d50(0x19b)]===0x1){const _0x60d0a5=this[_0x416d50(0x2c0)](RangeError,'invalid\x20payload\x20length\x20'+this['_payloadLength'],!0x0,0x3ea,_0x416d50(0x225));_0x363bc6(_0x60d0a5);return;}}else{const _0x187e2b=this[_0x416d50(0x2c0)](RangeError,_0x416d50(0x1f5)+this[_0x416d50(0x1d9)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x363bc6(_0x187e2b);return;}}}if(!this[_0x416d50(0x22b)]&&!this[_0x416d50(0x282)]&&(this[_0x416d50(0x282)]=this[_0x416d50(0x1d9)]),this[_0x416d50(0x1ac)]=(_0x272a9e[0x1]&0x80)===0x80,this[_0x416d50(0x284)]){if(!this[_0x416d50(0x1ac)]){const _0x52005e=this['createError'](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x416d50(0x1b2));_0x363bc6(_0x52005e);return;}}else{if(this[_0x416d50(0x1ac)]){const _0x5a708d=this[_0x416d50(0x2c0)](RangeError,_0x416d50(0x29a),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x363bc6(_0x5a708d);return;}}this[_0x416d50(0x19b)]===0x7e?this[_0x416d50(0x2cc)]=_0x559752:this[_0x416d50(0x19b)]===0x7f?this[_0x416d50(0x2cc)]=_0x276ec2:this['haveLength'](_0x363bc6);}[_0x5f160b(0x29f)](_0x4bf335){const _0x45ad4d=_0x5f160b;if(this[_0x45ad4d(0x209)]<0x2){this[_0x45ad4d(0x24b)]=!0x1;return;}this[_0x45ad4d(0x19b)]=this[_0x45ad4d(0x165)](0x2)['readUInt16BE'](0x0),this['haveLength'](_0x4bf335);}[_0x5f160b(0x1ec)](_0x455a6b){const _0x337ede=_0x5f160b;if(this[_0x337ede(0x209)]<0x8){this[_0x337ede(0x24b)]=!0x1;return;}const _0x41cb7a=this[_0x337ede(0x165)](0x8),_0x437916=_0x41cb7a[_0x337ede(0x2d2)](0x0);if(_0x437916>Math[_0x337ede(0x30e)](0x2,0x15)-0x1){const _0x34ceb5=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x337ede(0x2ed));_0x455a6b(_0x34ceb5);return;}this[_0x337ede(0x19b)]=_0x437916*Math[_0x337ede(0x30e)](0x2,0x20)+_0x41cb7a[_0x337ede(0x2d2)](0x4),this[_0x337ede(0x285)](_0x455a6b);}['haveLength'](_0x263a8e){const _0x36a0eb=_0x5f160b;if(this[_0x36a0eb(0x19b)]&&this['_opcode']<0x8&&(this[_0x36a0eb(0x191)]+=this[_0x36a0eb(0x19b)],this['_totalPayloadLength']>this[_0x36a0eb(0x167)]&&this['_maxPayload']>0x0)){const _0x5626f2=this['createError'](RangeError,_0x36a0eb(0x281),!0x1,0x3f1,_0x36a0eb(0x1ab));_0x263a8e(_0x5626f2);return;}this[_0x36a0eb(0x1ac)]?this[_0x36a0eb(0x2cc)]=_0x39752d:this[_0x36a0eb(0x2cc)]=_0x4d352d;}[_0x5f160b(0x27f)](){const _0xeea6a5=_0x5f160b;if(this[_0xeea6a5(0x209)]<0x4){this['_loop']=!0x1;return;}this[_0xeea6a5(0x200)]=this[_0xeea6a5(0x165)](0x4),this[_0xeea6a5(0x2cc)]=_0x4d352d;}[_0x5f160b(0x19f)](_0x163c1a){const _0x5a9b91=_0x5f160b;let _0x2c1948=_0x384def;if(this[_0x5a9b91(0x19b)]){if(this[_0x5a9b91(0x209)]<this[_0x5a9b91(0x19b)]){this['_loop']=!0x1;return;}_0x2c1948=this['consume'](this[_0x5a9b91(0x19b)]),this[_0x5a9b91(0x1ac)]&&(this['_mask'][0x0]|this['_mask'][0x1]|this[_0x5a9b91(0x200)][0x2]|this[_0x5a9b91(0x200)][0x3])!==0x0&&_0x593fa6(_0x2c1948,this['_mask']);}if(this[_0x5a9b91(0x1d9)]>0x7){this[_0x5a9b91(0x305)](_0x2c1948,_0x163c1a);return;}if(this[_0x5a9b91(0x2ef)]){this[_0x5a9b91(0x2cc)]=_0x447588,this[_0x5a9b91(0x272)](_0x2c1948,_0x163c1a);return;}_0x2c1948[_0x5a9b91(0x240)]&&(this[_0x5a9b91(0x276)]=this[_0x5a9b91(0x191)],this[_0x5a9b91(0x2ba)]['push'](_0x2c1948)),this['dataMessage'](_0x163c1a);}[_0x5f160b(0x272)](_0x469573,_0x18642e){const _0x3b0fbd=_0x5f160b;this['_extensions'][_0x49cf5e[_0x3b0fbd(0x2b3)]][_0x3b0fbd(0x272)](_0x469573,this[_0x3b0fbd(0x22b)],(_0x14e4ca,_0x84808)=>{const _0x28fa72=_0x3b0fbd;if(_0x14e4ca)return _0x18642e(_0x14e4ca);if(_0x84808[_0x28fa72(0x240)]){if(this[_0x28fa72(0x276)]+=_0x84808[_0x28fa72(0x240)],this['_messageLength']>this[_0x28fa72(0x167)]&&this[_0x28fa72(0x167)]>0x0){const _0x5bc722=this[_0x28fa72(0x2c0)](RangeError,_0x28fa72(0x281),!0x1,0x3f1,_0x28fa72(0x1ab));_0x18642e(_0x5bc722);return;}this[_0x28fa72(0x2ba)][_0x28fa72(0x1b7)](_0x84808);}this[_0x28fa72(0x256)](_0x18642e),this[_0x28fa72(0x2cc)]===_0x12080a&&this[_0x28fa72(0x19c)](_0x18642e);});}[_0x5f160b(0x256)](_0x437a8b){const _0x2696b4=_0x5f160b;if(!this['_fin']){this[_0x2696b4(0x2cc)]=_0x12080a;return;}const _0x35b54b=this[_0x2696b4(0x276)],_0x12f443=this[_0x2696b4(0x2ba)];if(this[_0x2696b4(0x191)]=0x0,this[_0x2696b4(0x276)]=0x0,this[_0x2696b4(0x282)]=0x0,this[_0x2696b4(0x2ba)]=[],this[_0x2696b4(0x1d9)]===0x2){let _0x526d55;this[_0x2696b4(0x1c3)]===_0x2696b4(0x24a)?_0x526d55=_0x458394(_0x12f443,_0x35b54b):this[_0x2696b4(0x1c3)]===_0x2696b4(0x18a)?_0x526d55=_0x276078(_0x458394(_0x12f443,_0x35b54b)):this['_binaryType']===_0x2696b4(0x177)?_0x526d55=new Blob(_0x12f443):_0x526d55=_0x12f443,this[_0x2696b4(0x226)]?(this[_0x2696b4(0x26d)]('message',_0x526d55,!0x0),this[_0x2696b4(0x2cc)]=_0x12080a):(this[_0x2696b4(0x2cc)]=_0x1fcb93,setImmediate(()=>{const _0x1f8947=_0x2696b4;this['emit'](_0x1f8947(0x174),_0x526d55,!0x0),this[_0x1f8947(0x2cc)]=_0x12080a,this[_0x1f8947(0x19c)](_0x437a8b);}));}else{const _0x3d4d8b=_0x458394(_0x12f443,_0x35b54b);if(!this[_0x2696b4(0x2f4)]&&!_0x53c6a4(_0x3d4d8b)){const _0x1f5710=this['createError'](Error,_0x2696b4(0x219),!0x0,0x3ef,_0x2696b4(0x297));_0x437a8b(_0x1f5710);return;}this[_0x2696b4(0x2cc)]===_0x447588||this[_0x2696b4(0x226)]?(this['emit'](_0x2696b4(0x174),_0x3d4d8b,!0x1),this['_state']=_0x12080a):(this['_state']=_0x1fcb93,setImmediate(()=>{const _0x1931b0=_0x2696b4;this['emit'](_0x1931b0(0x174),_0x3d4d8b,!0x1),this['_state']=_0x12080a,this['startLoop'](_0x437a8b);}));}}[_0x5f160b(0x305)](_0x126af0,_0x546df6){const _0xc2d89c=_0x5f160b;if(this['_opcode']===0x8){if(_0x126af0[_0xc2d89c(0x240)]===0x0)this[_0xc2d89c(0x24b)]=!0x1,this[_0xc2d89c(0x26d)](_0xc2d89c(0x26e),0x3ed,_0x384def),this[_0xc2d89c(0x2f9)]();else{const _0x269955=_0x126af0['readUInt16BE'](0x0);if(!_0x4376b8(_0x269955)){const _0xcc2024=this[_0xc2d89c(0x2c0)](RangeError,'invalid\x20status\x20code\x20'+_0x269955,!0x0,0x3ea,_0xc2d89c(0x172));_0x546df6(_0xcc2024);return;}const _0x36674f=new _0x18d842(_0x126af0[_0xc2d89c(0x299)],_0x126af0['byteOffset']+0x2,_0x126af0['length']-0x2);if(!this[_0xc2d89c(0x2f4)]&&!_0x53c6a4(_0x36674f)){const _0x316da8=this[_0xc2d89c(0x2c0)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0xc2d89c(0x297));_0x546df6(_0x316da8);return;}this['_loop']=!0x1,this[_0xc2d89c(0x26d)]('conclude',_0x269955,_0x36674f),this[_0xc2d89c(0x2f9)]();}this[_0xc2d89c(0x2cc)]=_0x12080a;return;}this[_0xc2d89c(0x226)]?(this[_0xc2d89c(0x26d)](this[_0xc2d89c(0x1d9)]===0x9?_0xc2d89c(0x210):_0xc2d89c(0x199),_0x126af0),this[_0xc2d89c(0x2cc)]=_0x12080a):(this['_state']=_0x1fcb93,setImmediate(()=>{const _0x69df9f=_0xc2d89c;this[_0x69df9f(0x26d)](this[_0x69df9f(0x1d9)]===0x9?_0x69df9f(0x210):_0x69df9f(0x199),_0x126af0),this['_state']=_0x12080a,this['startLoop'](_0x546df6);}));}[_0x5f160b(0x2c0)](_0x2d3d7e,_0x5bb104,_0x4e1897,_0x2583b8,_0x5a9364){const _0x577fd5=_0x5f160b;this[_0x577fd5(0x24b)]=!0x1,this['_errored']=!0x0;const _0x57072c=new _0x2d3d7e(_0x4e1897?'Invalid\x20WebSocket\x20frame:\x20'+_0x5bb104:_0x5bb104);return Error[_0x577fd5(0x2b7)](_0x57072c,this[_0x577fd5(0x2c0)]),_0x57072c[_0x577fd5(0x291)]=_0x5a9364,_0x57072c[_0x5f2b81]=_0x2583b8,_0x57072c;}}return Se=_0x2ff00c,Se;}var Ee,Xe;function ft(){const _0x494d26=_0xc2e6c0;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x25623b}=oe,{randomFillSync:_0x227a78}=Le,_0x15d027=he(),{EMPTY_BUFFER:_0x4240bb,kWebSocket:_0x32d7c9,NOOP:_0x1996fa}=H(),{isBlob:_0x567fd6,isValidStatusCode:_0x137e4d}=ae(),{mask:_0x1a3036,toBuffer:_0x7932a5}=ce(),_0x1c60ce=Symbol(_0x494d26(0x273)),_0x33c8b4=Buffer[_0x494d26(0x24f)](0x4),_0x3be782=0x8*0x400;let _0x40602a,_0x5d2324=_0x3be782;const _0x6b6c02=0x0,_0x4b4078=0x1,_0x16e9d7=0x2;class _0x2cba68{constructor(_0x9f79b8,_0xd99a86,_0x4b903b){const _0x16618f=_0x494d26;this[_0x16618f(0x153)]=_0xd99a86||{},_0x4b903b&&(this[_0x16618f(0x1cd)]=_0x4b903b,this[_0x16618f(0x27a)]=Buffer[_0x16618f(0x24f)](0x4)),this[_0x16618f(0x1cf)]=_0x9f79b8,this[_0x16618f(0x2e2)]=!0x0,this[_0x16618f(0x16c)]=!0x1,this['_bufferedBytes']=0x0,this[_0x16618f(0x218)]=[],this[_0x16618f(0x2cc)]=_0x6b6c02,this['onerror']=_0x1996fa,this[_0x32d7c9]=void 0x0;}static[_0x494d26(0x271)](_0xadf2e6,_0x1ad223){const _0x344d65=_0x494d26;let _0x18dde6,_0x4da721=!0x1,_0xcc85c=0x2,_0x44c3e0=!0x1;_0x1ad223[_0x344d65(0x211)]&&(_0x18dde6=_0x1ad223['maskBuffer']||_0x33c8b4,_0x1ad223['generateMask']?_0x1ad223[_0x344d65(0x1fd)](_0x18dde6):(_0x5d2324===_0x3be782&&(_0x40602a===void 0x0&&(_0x40602a=Buffer['alloc'](_0x3be782)),_0x227a78(_0x40602a,0x0,_0x3be782),_0x5d2324=0x0),_0x18dde6[0x0]=_0x40602a[_0x5d2324++],_0x18dde6[0x1]=_0x40602a[_0x5d2324++],_0x18dde6[0x2]=_0x40602a[_0x5d2324++],_0x18dde6[0x3]=_0x40602a[_0x5d2324++]),_0x44c3e0=(_0x18dde6[0x0]|_0x18dde6[0x1]|_0x18dde6[0x2]|_0x18dde6[0x3])===0x0,_0xcc85c=0x6);let _0x57a8f6;typeof _0xadf2e6==_0x344d65(0x289)?(!_0x1ad223[_0x344d65(0x211)]||_0x44c3e0)&&_0x1ad223[_0x1c60ce]!==void 0x0?_0x57a8f6=_0x1ad223[_0x1c60ce]:(_0xadf2e6=Buffer[_0x344d65(0x2f1)](_0xadf2e6),_0x57a8f6=_0xadf2e6[_0x344d65(0x240)]):(_0x57a8f6=_0xadf2e6[_0x344d65(0x240)],_0x4da721=_0x1ad223[_0x344d65(0x211)]&&_0x1ad223['readOnly']&&!_0x44c3e0);let _0x393bf1=_0x57a8f6;_0x57a8f6>=0x10000?(_0xcc85c+=0x8,_0x393bf1=0x7f):_0x57a8f6>0x7d&&(_0xcc85c+=0x2,_0x393bf1=0x7e);const _0x4b050b=Buffer[_0x344d65(0x221)](_0x4da721?_0x57a8f6+_0xcc85c:_0xcc85c);return _0x4b050b[0x0]=_0x1ad223[_0x344d65(0x190)]?_0x1ad223['opcode']|0x80:_0x1ad223[_0x344d65(0x280)],_0x1ad223[_0x344d65(0x166)]&&(_0x4b050b[0x0]|=0x40),_0x4b050b[0x1]=_0x393bf1,_0x393bf1===0x7e?_0x4b050b[_0x344d65(0x1f1)](_0x57a8f6,0x2):_0x393bf1===0x7f&&(_0x4b050b[0x2]=_0x4b050b[0x3]=0x0,_0x4b050b['writeUIntBE'](_0x57a8f6,0x4,0x6)),_0x1ad223[_0x344d65(0x211)]?(_0x4b050b[0x1]|=0x80,_0x4b050b[_0xcc85c-0x4]=_0x18dde6[0x0],_0x4b050b[_0xcc85c-0x3]=_0x18dde6[0x1],_0x4b050b[_0xcc85c-0x2]=_0x18dde6[0x2],_0x4b050b[_0xcc85c-0x1]=_0x18dde6[0x3],_0x44c3e0?[_0x4b050b,_0xadf2e6]:_0x4da721?(_0x1a3036(_0xadf2e6,_0x18dde6,_0x4b050b,_0xcc85c,_0x57a8f6),[_0x4b050b]):(_0x1a3036(_0xadf2e6,_0x18dde6,_0xadf2e6,0x0,_0x57a8f6),[_0x4b050b,_0xadf2e6])):[_0x4b050b,_0xadf2e6];}[_0x494d26(0x2e5)](_0x5f4801,_0x104559,_0x5e26a3,_0x151407){const _0x36b49d=_0x494d26;let _0x316988;if(_0x5f4801===void 0x0)_0x316988=_0x4240bb;else{if(typeof _0x5f4801!=_0x36b49d(0x1e4)||!_0x137e4d(_0x5f4801))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x104559===void 0x0||!_0x104559[_0x36b49d(0x240)])_0x316988=Buffer['allocUnsafe'](0x2),_0x316988['writeUInt16BE'](_0x5f4801,0x0);else{const _0x3e7aa6=Buffer['byteLength'](_0x104559);if(_0x3e7aa6>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x316988=Buffer[_0x36b49d(0x221)](0x2+_0x3e7aa6),_0x316988[_0x36b49d(0x1f1)](_0x5f4801,0x0),typeof _0x104559==_0x36b49d(0x289)?_0x316988['write'](_0x104559,0x2):_0x316988[_0x36b49d(0x16e)](_0x104559,0x2);}}const _0x1537d8={[_0x1c60ce]:_0x316988[_0x36b49d(0x240)],'fin':!0x0,'generateMask':this[_0x36b49d(0x1cd)],'mask':_0x5e26a3,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x6b6c02?this['enqueue']([this[_0x36b49d(0x2a3)],_0x316988,!0x1,_0x1537d8,_0x151407]):this[_0x36b49d(0x1d1)](_0x2cba68[_0x36b49d(0x271)](_0x316988,_0x1537d8),_0x151407);}['ping'](_0x10c1cc,_0x81eb84,_0xd877e7){const _0x30c102=_0x494d26;let _0x57f000,_0x49d7c5;if(typeof _0x10c1cc=='string'?(_0x57f000=Buffer[_0x30c102(0x197)](_0x10c1cc),_0x49d7c5=!0x1):_0x567fd6(_0x10c1cc)?(_0x57f000=_0x10c1cc['size'],_0x49d7c5=!0x1):(_0x10c1cc=_0x7932a5(_0x10c1cc),_0x57f000=_0x10c1cc[_0x30c102(0x240)],_0x49d7c5=_0x7932a5[_0x30c102(0x2ec)]),_0x57f000>0x7d)throw new RangeError(_0x30c102(0x151));const _0x160be9={[_0x1c60ce]:_0x57f000,'fin':!0x0,'generateMask':this[_0x30c102(0x1cd)],'mask':_0x81eb84,'maskBuffer':this[_0x30c102(0x27a)],'opcode':0x9,'readOnly':_0x49d7c5,'rsv1':!0x1};_0x567fd6(_0x10c1cc)?this[_0x30c102(0x2cc)]!==_0x6b6c02?this[_0x30c102(0x1d5)]([this[_0x30c102(0x25d)],_0x10c1cc,!0x1,_0x160be9,_0xd877e7]):this[_0x30c102(0x25d)](_0x10c1cc,!0x1,_0x160be9,_0xd877e7):this['_state']!==_0x6b6c02?this[_0x30c102(0x1d5)]([this['dispatch'],_0x10c1cc,!0x1,_0x160be9,_0xd877e7]):this[_0x30c102(0x1d1)](_0x2cba68[_0x30c102(0x271)](_0x10c1cc,_0x160be9),_0xd877e7);}[_0x494d26(0x199)](_0x26e3bd,_0x42630f,_0x1e92d2){const _0xf5cf6c=_0x494d26;let _0x225c1c,_0x1efe0b;if(typeof _0x26e3bd==_0xf5cf6c(0x289)?(_0x225c1c=Buffer['byteLength'](_0x26e3bd),_0x1efe0b=!0x1):_0x567fd6(_0x26e3bd)?(_0x225c1c=_0x26e3bd[_0xf5cf6c(0x2cb)],_0x1efe0b=!0x1):(_0x26e3bd=_0x7932a5(_0x26e3bd),_0x225c1c=_0x26e3bd[_0xf5cf6c(0x240)],_0x1efe0b=_0x7932a5['readOnly']),_0x225c1c>0x7d)throw new RangeError(_0xf5cf6c(0x151));const _0x3a6c64={[_0x1c60ce]:_0x225c1c,'fin':!0x0,'generateMask':this[_0xf5cf6c(0x1cd)],'mask':_0x42630f,'maskBuffer':this[_0xf5cf6c(0x27a)],'opcode':0xa,'readOnly':_0x1efe0b,'rsv1':!0x1};_0x567fd6(_0x26e3bd)?this[_0xf5cf6c(0x2cc)]!==_0x6b6c02?this['enqueue']([this[_0xf5cf6c(0x25d)],_0x26e3bd,!0x1,_0x3a6c64,_0x1e92d2]):this[_0xf5cf6c(0x25d)](_0x26e3bd,!0x1,_0x3a6c64,_0x1e92d2):this[_0xf5cf6c(0x2cc)]!==_0x6b6c02?this[_0xf5cf6c(0x1d5)]([this['dispatch'],_0x26e3bd,!0x1,_0x3a6c64,_0x1e92d2]):this[_0xf5cf6c(0x1d1)](_0x2cba68[_0xf5cf6c(0x271)](_0x26e3bd,_0x3a6c64),_0x1e92d2);}[_0x494d26(0x161)](_0x3582b3,_0x568d73,_0x5b150d){const _0x131f56=_0x494d26,_0x4ef845=this[_0x131f56(0x153)][_0x15d027[_0x131f56(0x2b3)]];let _0xc19c77=_0x568d73[_0x131f56(0x30f)]?0x2:0x1,_0xfafc98=_0x568d73[_0x131f56(0x1f4)],_0x3a061b,_0x2eefdc;typeof _0x3582b3==_0x131f56(0x289)?(_0x3a061b=Buffer['byteLength'](_0x3582b3),_0x2eefdc=!0x1):_0x567fd6(_0x3582b3)?(_0x3a061b=_0x3582b3[_0x131f56(0x2cb)],_0x2eefdc=!0x1):(_0x3582b3=_0x7932a5(_0x3582b3),_0x3a061b=_0x3582b3[_0x131f56(0x240)],_0x2eefdc=_0x7932a5[_0x131f56(0x2ec)]),this['_firstFragment']?(this[_0x131f56(0x2e2)]=!0x1,_0xfafc98&&_0x4ef845&&_0x4ef845['params'][_0x4ef845[_0x131f56(0x284)]?_0x131f56(0x30b):'client_no_context_takeover']&&(_0xfafc98=_0x3a061b>=_0x4ef845[_0x131f56(0x184)]),this[_0x131f56(0x16c)]=_0xfafc98):(_0xfafc98=!0x1,_0xc19c77=0x0),_0x568d73[_0x131f56(0x190)]&&(this[_0x131f56(0x2e2)]=!0x0);const _0x3f9ae2={[_0x1c60ce]:_0x3a061b,'fin':_0x568d73[_0x131f56(0x190)],'generateMask':this[_0x131f56(0x1cd)],'mask':_0x568d73[_0x131f56(0x211)],'maskBuffer':this['_maskBuffer'],'opcode':_0xc19c77,'readOnly':_0x2eefdc,'rsv1':_0xfafc98};_0x567fd6(_0x3582b3)?this[_0x131f56(0x2cc)]!==_0x6b6c02?this[_0x131f56(0x1d5)]([this[_0x131f56(0x25d)],_0x3582b3,this[_0x131f56(0x16c)],_0x3f9ae2,_0x5b150d]):this['getBlobData'](_0x3582b3,this['_compress'],_0x3f9ae2,_0x5b150d):this[_0x131f56(0x2cc)]!==_0x6b6c02?this[_0x131f56(0x1d5)]([this['dispatch'],_0x3582b3,this['_compress'],_0x3f9ae2,_0x5b150d]):this[_0x131f56(0x2a3)](_0x3582b3,this[_0x131f56(0x16c)],_0x3f9ae2,_0x5b150d);}[_0x494d26(0x25d)](_0x425741,_0x408a9d,_0x201877,_0x2d5f50){const _0x11805f=_0x494d26;this['_bufferedBytes']+=_0x201877[_0x1c60ce],this[_0x11805f(0x2cc)]=_0x16e9d7,_0x425741[_0x11805f(0x2b6)]()['then'](_0x5d4bf5=>{const _0x165c37=_0x11805f;if(this[_0x165c37(0x1cf)][_0x165c37(0x268)]){const _0x2597b9=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x165c37(0x1bd)](_0x521160,this,_0x2597b9,_0x2d5f50);return;}this[_0x165c37(0x209)]-=_0x201877[_0x1c60ce];const _0x477888=_0x7932a5(_0x5d4bf5);_0x408a9d?this[_0x165c37(0x2a3)](_0x477888,_0x408a9d,_0x201877,_0x2d5f50):(this['_state']=_0x6b6c02,this['sendFrame'](_0x2cba68['frame'](_0x477888,_0x201877),_0x2d5f50),this['dequeue']());})['catch'](_0x70c37f=>{const _0x1a49d9=_0x11805f;process[_0x1a49d9(0x1bd)](_0x57d53a,this,_0x70c37f,_0x2d5f50);});}[_0x494d26(0x2a3)](_0x49cd5c,_0x20238f,_0x2e0bcd,_0x245dbc){const _0x7469ad=_0x494d26;if(!_0x20238f){this[_0x7469ad(0x1d1)](_0x2cba68[_0x7469ad(0x271)](_0x49cd5c,_0x2e0bcd),_0x245dbc);return;}const _0x1d7f5f=this['_extensions'][_0x15d027['extensionName']];this['_bufferedBytes']+=_0x2e0bcd[_0x1c60ce],this[_0x7469ad(0x2cc)]=_0x4b4078,_0x1d7f5f[_0x7469ad(0x1f4)](_0x49cd5c,_0x2e0bcd[_0x7469ad(0x190)],(_0x43a4c3,_0x13c43c)=>{const _0x4a727c=_0x7469ad;if(this['_socket']['destroyed']){const _0x560db5=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x521160(this,_0x560db5,_0x245dbc);return;}this[_0x4a727c(0x209)]-=_0x2e0bcd[_0x1c60ce],this[_0x4a727c(0x2cc)]=_0x6b6c02,_0x2e0bcd[_0x4a727c(0x2ec)]=!0x1,this[_0x4a727c(0x1d1)](_0x2cba68[_0x4a727c(0x271)](_0x13c43c,_0x2e0bcd),_0x245dbc),this[_0x4a727c(0x309)]();});}[_0x494d26(0x309)](){const _0x2dbd34=_0x494d26;for(;this[_0x2dbd34(0x2cc)]===_0x6b6c02&&this[_0x2dbd34(0x218)][_0x2dbd34(0x240)];){const _0x465614=this[_0x2dbd34(0x218)]['shift']();this[_0x2dbd34(0x209)]-=_0x465614[0x3][_0x1c60ce],Reflect[_0x2dbd34(0x2d7)](_0x465614[0x0],this,_0x465614['slice'](0x1));}}[_0x494d26(0x1d5)](_0x348526){const _0x48c2d1=_0x494d26;this[_0x48c2d1(0x209)]+=_0x348526[0x3][_0x1c60ce],this[_0x48c2d1(0x218)][_0x48c2d1(0x1b7)](_0x348526);}[_0x494d26(0x1d1)](_0x5134e4,_0x4270e9){const _0x44ea9c=_0x494d26;_0x5134e4['length']===0x2?(this[_0x44ea9c(0x1cf)][_0x44ea9c(0x278)](),this[_0x44ea9c(0x1cf)][_0x44ea9c(0x2ff)](_0x5134e4[0x0]),this['_socket']['write'](_0x5134e4[0x1],_0x4270e9),this[_0x44ea9c(0x1cf)][_0x44ea9c(0x2ab)]()):this[_0x44ea9c(0x1cf)][_0x44ea9c(0x2ff)](_0x5134e4[0x0],_0x4270e9);}}Ee=_0x2cba68;function _0x521160(_0x194cdd,_0x3a6161,_0x4260fd){const _0x43af7c=_0x494d26;typeof _0x4260fd==_0x43af7c(0x301)&&_0x4260fd(_0x3a6161);for(let _0x327b2c=0x0;_0x327b2c<_0x194cdd[_0x43af7c(0x218)][_0x43af7c(0x240)];_0x327b2c++){const _0x12011e=_0x194cdd['_queue'][_0x327b2c],_0x6c8bd5=_0x12011e[_0x12011e[_0x43af7c(0x240)]-0x1];typeof _0x6c8bd5==_0x43af7c(0x301)&&_0x6c8bd5(_0x3a6161);}}function _0x57d53a(_0x451528,_0xf09238,_0x4d848e){const _0x5ed73b=_0x494d26;_0x521160(_0x451528,_0xf09238,_0x4d848e),_0x451528[_0x5ed73b(0x159)](_0xf09238);}return Ee;}var xe,Ze;function It(){const _0x3a4a01=_0xc2e6c0;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x4f878f,kListener:_0x3c1364}=H(),_0x4725b6=Symbol(_0x3a4a01(0x234)),_0x2cc7e2=Symbol(_0x3a4a01(0x1b4)),_0x32b5e7=Symbol(_0x3a4a01(0x2fc)),_0x316bbc=Symbol(_0x3a4a01(0x28f)),_0x5851a5=Symbol(_0x3a4a01(0x156)),_0x593130=Symbol(_0x3a4a01(0x183)),_0x3ed053=Symbol('kType'),_0x3a032c=Symbol('kWasClean');class _0x3ef573{constructor(_0x42d77e){this[_0x593130]=null,this[_0x3ed053]=_0x42d77e;}get['target'](){return this[_0x593130];}get[_0x3a4a01(0x306)](){return this[_0x3ed053];}}Object[_0x3a4a01(0x259)](_0x3ef573['prototype'],'target',{'enumerable':!0x0}),Object[_0x3a4a01(0x259)](_0x3ef573[_0x3a4a01(0x2c9)],'type',{'enumerable':!0x0});class _0x91b01a extends _0x3ef573{constructor(_0x551db4,_0x303b6e={}){const _0x308129=_0x3a4a01;super(_0x551db4),this[_0x4725b6]=_0x303b6e[_0x308129(0x291)]===void 0x0?0x0:_0x303b6e[_0x308129(0x291)],this[_0x5851a5]=_0x303b6e[_0x308129(0x246)]===void 0x0?'':_0x303b6e[_0x308129(0x246)],this[_0x3a032c]=_0x303b6e[_0x308129(0x2d9)]===void 0x0?!0x1:_0x303b6e[_0x308129(0x2d9)];}get[_0x3a4a01(0x291)](){return this[_0x4725b6];}get[_0x3a4a01(0x246)](){return this[_0x5851a5];}get[_0x3a4a01(0x2d9)](){return this[_0x3a032c];}}Object[_0x3a4a01(0x259)](_0x91b01a[_0x3a4a01(0x2c9)],_0x3a4a01(0x291),{'enumerable':!0x0}),Object[_0x3a4a01(0x259)](_0x91b01a[_0x3a4a01(0x2c9)],'reason',{'enumerable':!0x0}),Object['defineProperty'](_0x91b01a[_0x3a4a01(0x2c9)],_0x3a4a01(0x2d9),{'enumerable':!0x0});class _0x20b08f extends _0x3ef573{constructor(_0x5776b3,_0x3d89b8={}){const _0x4baa90=_0x3a4a01;super(_0x5776b3),this[_0x32b5e7]=_0x3d89b8[_0x4baa90(0x21d)]===void 0x0?null:_0x3d89b8[_0x4baa90(0x21d)],this[_0x316bbc]=_0x3d89b8[_0x4baa90(0x174)]===void 0x0?'':_0x3d89b8['message'];}get[_0x3a4a01(0x21d)](){return this[_0x32b5e7];}get['message'](){return this[_0x316bbc];}}Object['defineProperty'](_0x20b08f['prototype'],_0x3a4a01(0x21d),{'enumerable':!0x0}),Object[_0x3a4a01(0x259)](_0x20b08f[_0x3a4a01(0x2c9)],_0x3a4a01(0x174),{'enumerable':!0x0});class _0x5411ba extends _0x3ef573{constructor(_0x5e4142,_0x520957={}){const _0x484362=_0x3a4a01;super(_0x5e4142),this[_0x2cc7e2]=_0x520957['data']===void 0x0?null:_0x520957[_0x484362(0x19d)];}get[_0x3a4a01(0x19d)](){return this[_0x2cc7e2];}}Object[_0x3a4a01(0x259)](_0x5411ba[_0x3a4a01(0x2c9)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x91b01a,'ErrorEvent':_0x20b08f,'Event':_0x3ef573,'EventTarget':{'addEventListener'(_0x42ee03,_0x2f9937,_0x1ae001={}){const _0x537b91=_0x3a4a01;for(const _0x3f49a0 of this[_0x537b91(0x2d0)](_0x42ee03))if(!_0x1ae001[_0x4f878f]&&_0x3f49a0[_0x3c1364]===_0x2f9937&&!_0x3f49a0[_0x4f878f])return;let _0x49f2d1;if(_0x42ee03===_0x537b91(0x174))_0x49f2d1=function(_0x113e94,_0x493685){const _0x2d1164=_0x537b91,_0x2b4b1a=new _0x5411ba(_0x2d1164(0x174),{'data':_0x493685?_0x113e94:_0x113e94[_0x2d1164(0x16a)]()});_0x2b4b1a[_0x593130]=this,_0x25239b(_0x2f9937,this,_0x2b4b1a);};else{if(_0x42ee03==='close')_0x49f2d1=function(_0x5a20c5,_0x343f4c){const _0x1f49b8=_0x537b91,_0x4cb375=new _0x91b01a(_0x1f49b8(0x2e5),{'code':_0x5a20c5,'reason':_0x343f4c['toString'](),'wasClean':this[_0x1f49b8(0x303)]&&this[_0x1f49b8(0x1b0)]});_0x4cb375[_0x593130]=this,_0x25239b(_0x2f9937,this,_0x4cb375);};else{if(_0x42ee03==='error')_0x49f2d1=function(_0x104598){const _0xd67527=_0x537b91,_0xc31ffc=new _0x20b08f(_0xd67527(0x21d),{'error':_0x104598,'message':_0x104598['message']});_0xc31ffc[_0x593130]=this,_0x25239b(_0x2f9937,this,_0xc31ffc);};else{if(_0x42ee03===_0x537b91(0x15a))_0x49f2d1=function(){const _0x341c7b=_0x537b91,_0x427280=new _0x3ef573(_0x341c7b(0x15a));_0x427280[_0x593130]=this,_0x25239b(_0x2f9937,this,_0x427280);};else return;}}}_0x49f2d1[_0x4f878f]=!!_0x1ae001[_0x4f878f],_0x49f2d1[_0x3c1364]=_0x2f9937,_0x1ae001[_0x537b91(0x23f)]?this['once'](_0x42ee03,_0x49f2d1):this['on'](_0x42ee03,_0x49f2d1);},'removeEventListener'(_0x357429,_0x3ac0ae){const _0x3fcfb9=_0x3a4a01;for(const _0x5aaddf of this[_0x3fcfb9(0x2d0)](_0x357429))if(_0x5aaddf[_0x3c1364]===_0x3ac0ae&&!_0x5aaddf[_0x4f878f]){this[_0x3fcfb9(0x2b9)](_0x357429,_0x5aaddf);break;}}},'MessageEvent':_0x5411ba};function _0x25239b(_0x3dcd00,_0x1cc01a,_0x2011d6){const _0x5b3dbe=_0x3a4a01;typeof _0x3dcd00==_0x5b3dbe(0x267)&&_0x3dcd00['handleEvent']?_0x3dcd00[_0x5b3dbe(0x182)][_0x5b3dbe(0x233)](_0x3dcd00,_0x2011d6):_0x3dcd00['call'](_0x1cc01a,_0x2011d6);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x2c332c}=ae();function _0x31742e(_0x43c1ef,_0x9dc37e,_0x558e94){const _0x51d0ce=_0x1197;_0x43c1ef[_0x9dc37e]===void 0x0?_0x43c1ef[_0x9dc37e]=[_0x558e94]:_0x43c1ef[_0x9dc37e][_0x51d0ce(0x1b7)](_0x558e94);}function _0x4e8288(_0x1ca982){const _0x5809f8=_0x1197,_0x37a893=Object['create'](null);let _0x527dbc=Object['create'](null),_0x324510=!0x1,_0x2cbd64=!0x1,_0x192b19=!0x1,_0x3d193c,_0x5737ca,_0x509611=-0x1,_0x3757c1=-0x1,_0xd596c6=-0x1,_0x4226d5=0x0;for(;_0x4226d5<_0x1ca982['length'];_0x4226d5++)if(_0x3757c1=_0x1ca982['charCodeAt'](_0x4226d5),_0x3d193c===void 0x0){if(_0xd596c6===-0x1&&_0x2c332c[_0x3757c1]===0x1)_0x509611===-0x1&&(_0x509611=_0x4226d5);else{if(_0x4226d5!==0x0&&(_0x3757c1===0x20||_0x3757c1===0x9))_0xd596c6===-0x1&&_0x509611!==-0x1&&(_0xd596c6=_0x4226d5);else{if(_0x3757c1===0x3b||_0x3757c1===0x2c){if(_0x509611===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4226d5);_0xd596c6===-0x1&&(_0xd596c6=_0x4226d5);const _0x4fd522=_0x1ca982[_0x5809f8(0x2c6)](_0x509611,_0xd596c6);_0x3757c1===0x2c?(_0x31742e(_0x37a893,_0x4fd522,_0x527dbc),_0x527dbc=Object[_0x5809f8(0x1af)](null)):_0x3d193c=_0x4fd522,_0x509611=_0xd596c6=-0x1;}else throw new SyntaxError(_0x5809f8(0x2fe)+_0x4226d5);}}}else{if(_0x5737ca===void 0x0){if(_0xd596c6===-0x1&&_0x2c332c[_0x3757c1]===0x1)_0x509611===-0x1&&(_0x509611=_0x4226d5);else{if(_0x3757c1===0x20||_0x3757c1===0x9)_0xd596c6===-0x1&&_0x509611!==-0x1&&(_0xd596c6=_0x4226d5);else{if(_0x3757c1===0x3b||_0x3757c1===0x2c){if(_0x509611===-0x1)throw new SyntaxError(_0x5809f8(0x2fe)+_0x4226d5);_0xd596c6===-0x1&&(_0xd596c6=_0x4226d5),_0x31742e(_0x527dbc,_0x1ca982['slice'](_0x509611,_0xd596c6),!0x0),_0x3757c1===0x2c&&(_0x31742e(_0x37a893,_0x3d193c,_0x527dbc),_0x527dbc=Object[_0x5809f8(0x1af)](null),_0x3d193c=void 0x0),_0x509611=_0xd596c6=-0x1;}else{if(_0x3757c1===0x3d&&_0x509611!==-0x1&&_0xd596c6===-0x1)_0x5737ca=_0x1ca982[_0x5809f8(0x2c6)](_0x509611,_0x4226d5),_0x509611=_0xd596c6=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4226d5);}}}}else{if(_0x2cbd64){if(_0x2c332c[_0x3757c1]!==0x1)throw new SyntaxError(_0x5809f8(0x2fe)+_0x4226d5);_0x509611===-0x1?_0x509611=_0x4226d5:_0x324510||(_0x324510=!0x0),_0x2cbd64=!0x1;}else{if(_0x192b19){if(_0x2c332c[_0x3757c1]===0x1)_0x509611===-0x1&&(_0x509611=_0x4226d5);else{if(_0x3757c1===0x22&&_0x509611!==-0x1)_0x192b19=!0x1,_0xd596c6=_0x4226d5;else{if(_0x3757c1===0x5c)_0x2cbd64=!0x0;else throw new SyntaxError(_0x5809f8(0x2fe)+_0x4226d5);}}}else{if(_0x3757c1===0x22&&_0x1ca982[_0x5809f8(0x266)](_0x4226d5-0x1)===0x3d)_0x192b19=!0x0;else{if(_0xd596c6===-0x1&&_0x2c332c[_0x3757c1]===0x1)_0x509611===-0x1&&(_0x509611=_0x4226d5);else{if(_0x509611!==-0x1&&(_0x3757c1===0x20||_0x3757c1===0x9))_0xd596c6===-0x1&&(_0xd596c6=_0x4226d5);else{if(_0x3757c1===0x3b||_0x3757c1===0x2c){if(_0x509611===-0x1)throw new SyntaxError(_0x5809f8(0x2fe)+_0x4226d5);_0xd596c6===-0x1&&(_0xd596c6=_0x4226d5);let _0x77e73b=_0x1ca982[_0x5809f8(0x2c6)](_0x509611,_0xd596c6);_0x324510&&(_0x77e73b=_0x77e73b[_0x5809f8(0x1d8)](/\\/g,''),_0x324510=!0x1),_0x31742e(_0x527dbc,_0x5737ca,_0x77e73b),_0x3757c1===0x2c&&(_0x31742e(_0x37a893,_0x3d193c,_0x527dbc),_0x527dbc=Object['create'](null),_0x3d193c=void 0x0),_0x5737ca=void 0x0,_0x509611=_0xd596c6=-0x1;}else throw new SyntaxError(_0x5809f8(0x2fe)+_0x4226d5);}}}}}}}if(_0x509611===-0x1||_0x192b19||_0x3757c1===0x20||_0x3757c1===0x9)throw new SyntaxError(_0x5809f8(0x1a0));_0xd596c6===-0x1&&(_0xd596c6=_0x4226d5);const _0x283490=_0x1ca982[_0x5809f8(0x2c6)](_0x509611,_0xd596c6);return _0x3d193c===void 0x0?_0x31742e(_0x37a893,_0x283490,_0x527dbc):(_0x5737ca===void 0x0?_0x31742e(_0x527dbc,_0x283490,!0x0):_0x324510?_0x31742e(_0x527dbc,_0x5737ca,_0x283490[_0x5809f8(0x1d8)](/\\/g,'')):_0x31742e(_0x527dbc,_0x5737ca,_0x283490),_0x31742e(_0x37a893,_0x3d193c,_0x527dbc)),_0x37a893;}function _0x4a964a(_0x381bf3){const _0x15e23f=_0x1197;return Object[_0x15e23f(0x1f6)](_0x381bf3)['map'](_0x40fbfe=>{const _0x4270e0=_0x15e23f;let _0x386a68=_0x381bf3[_0x40fbfe];return Array[_0x4270e0(0x17c)](_0x386a68)||(_0x386a68=[_0x386a68]),_0x386a68['map'](_0x1e9fa0=>[_0x40fbfe][_0x4270e0(0x21c)](Object[_0x4270e0(0x1f6)](_0x1e9fa0)['map'](_0x36f1f6=>{const _0xf4e998=_0x4270e0;let _0x4a5e0f=_0x1e9fa0[_0x36f1f6];return Array[_0xf4e998(0x17c)](_0x4a5e0f)||(_0x4a5e0f=[_0x4a5e0f]),_0x4a5e0f['map'](_0xb527c6=>_0xb527c6===!0x0?_0x36f1f6:_0x36f1f6+'='+_0xb527c6)['join'](';\x20');}))[_0x4270e0(0x296)](';\x20'))[_0x4270e0(0x296)](',\x20');})[_0x15e23f(0x296)](',\x20');}return be={'format':_0x4a964a,'parse':_0x4e8288},be;}var we,Je;function Pe(){const _0x4c5778=_0xc2e6c0;if(Je)return we;Je=0x1;const _0x455e14=nt,_0x1b017c=vt,_0x4e6846=ot,_0x123879=St,_0x426bbe=Et,{randomBytes:_0x2f90ec,createHash:_0x5306c5}=Le,{Duplex:_0x817017,Readable:_0x250e55}=oe,{URL:_0x425c00}=xt,_0x4ccfe7=he(),_0x47f800=lt(),_0x1e65e0=ft(),{isBlob:_0x2b096d}=ae(),{BINARY_TYPES:_0x1e7bcc,EMPTY_BUFFER:_0xcb49b,GUID:_0x355381,kForOnEventAttribute:_0x5e57f5,kListener:_0x3f580a,kStatusCode:_0x5b0bf8,kWebSocket:_0x56b6f5,NOOP:_0x3b1cd1}=H(),{EventTarget:{addEventListener:_0x2163a1,removeEventListener:_0x5cd920}}=It(),{format:_0x4ee188,parse:_0x42874b}=ct(),{toBuffer:_0x26a713}=ce(),_0x468018=0x1e*0x3e8,_0x198927=Symbol(_0x4c5778(0x1c4)),_0x112f38=[0x8,0xd],_0xec37d9=[_0x4c5778(0x28e),'OPEN','CLOSING',_0x4c5778(0x314)],_0x156194=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5772ec extends _0x455e14{constructor(_0x4dcb1a,_0x153802,_0x2a7937){const _0x2e3031=_0x4c5778;super(),this[_0x2e3031(0x1c3)]=_0x1e7bcc[0x0],this[_0x2e3031(0x1a7)]=0x3ee,this[_0x2e3031(0x303)]=!0x1,this[_0x2e3031(0x1b0)]=!0x1,this[_0x2e3031(0x2f7)]=_0xcb49b,this[_0x2e3031(0x181)]=null,this[_0x2e3031(0x2cd)]=!0x1,this['_extensions']={},this['_paused']=!0x1,this[_0x2e3031(0x310)]='',this[_0x2e3031(0x1b3)]=_0x5772ec[_0x2e3031(0x28e)],this[_0x2e3031(0x198)]=null,this['_sender']=null,this['_socket']=null,_0x4dcb1a!==null?(this[_0x2e3031(0x2c1)]=0x0,this[_0x2e3031(0x284)]=!0x1,this[_0x2e3031(0x16d)]=0x0,_0x153802===void 0x0?_0x153802=[]:Array['isArray'](_0x153802)||(typeof _0x153802==_0x2e3031(0x267)&&_0x153802!==null?(_0x2a7937=_0x153802,_0x153802=[]):_0x153802=[_0x153802]),_0x80554b(this,_0x4dcb1a,_0x153802,_0x2a7937)):(this[_0x2e3031(0x302)]=_0x2a7937[_0x2e3031(0x17b)],this['_isServer']=!0x0);}get[_0x4c5778(0x207)](){const _0xcf109b=_0x4c5778;return this[_0xcf109b(0x1c3)];}set[_0x4c5778(0x207)](_0xe29a00){const _0x37140d=_0x4c5778;_0x1e7bcc[_0x37140d(0x2d4)](_0xe29a00)&&(this[_0x37140d(0x1c3)]=_0xe29a00,this['_receiver']&&(this[_0x37140d(0x198)]['_binaryType']=_0xe29a00));}get['bufferedAmount'](){const _0x2674d5=_0x4c5778;return this[_0x2674d5(0x1cf)]?this[_0x2674d5(0x1cf)][_0x2674d5(0x1fc)][_0x2674d5(0x240)]+this[_0x2674d5(0x311)][_0x2674d5(0x209)]:this[_0x2674d5(0x2c1)];}get[_0x4c5778(0x2fa)](){const _0x44fce4=_0x4c5778;return Object['keys'](this[_0x44fce4(0x153)])[_0x44fce4(0x296)]();}get[_0x4c5778(0x2e3)](){const _0x52f140=_0x4c5778;return this[_0x52f140(0x279)];}get[_0x4c5778(0x1dc)](){return null;}get[_0x4c5778(0x159)](){return null;}get['onopen'](){return null;}get[_0x4c5778(0x237)](){return null;}get[_0x4c5778(0x1a3)](){const _0x2d5010=_0x4c5778;return this[_0x2d5010(0x310)];}get[_0x4c5778(0x2db)](){const _0x115e05=_0x4c5778;return this[_0x115e05(0x1b3)];}get[_0x4c5778(0x229)](){const _0x2712cb=_0x4c5778;return this[_0x2712cb(0x188)];}['setSocket'](_0x2008aa,_0x48fc4b,_0x4ab572){const _0x2bbae8=_0x4c5778,_0x13c63d=new _0x47f800({'allowSynchronousEvents':_0x4ab572[_0x2bbae8(0x20c)],'binaryType':this['binaryType'],'extensions':this[_0x2bbae8(0x153)],'isServer':this[_0x2bbae8(0x284)],'maxPayload':_0x4ab572[_0x2bbae8(0x2e7)],'skipUTF8Validation':_0x4ab572['skipUTF8Validation']}),_0x48864=new _0x1e65e0(_0x2008aa,this[_0x2bbae8(0x153)],_0x4ab572[_0x2bbae8(0x1fd)]);this[_0x2bbae8(0x198)]=_0x13c63d,this[_0x2bbae8(0x311)]=_0x48864,this[_0x2bbae8(0x1cf)]=_0x2008aa,_0x13c63d[_0x56b6f5]=this,_0x48864[_0x56b6f5]=this,_0x2008aa[_0x56b6f5]=this,_0x13c63d['on']('conclude',_0x135424),_0x13c63d['on'](_0x2bbae8(0x26f),_0x7d9133),_0x13c63d['on'](_0x2bbae8(0x21d),_0x3fdbf8),_0x13c63d['on'](_0x2bbae8(0x174),_0x228db3),_0x13c63d['on'](_0x2bbae8(0x210),_0x30e19b),_0x13c63d['on'](_0x2bbae8(0x199),_0x4e9fbc),_0x48864[_0x2bbae8(0x159)]=_0x9746a4,_0x2008aa[_0x2bbae8(0x150)]&&_0x2008aa[_0x2bbae8(0x150)](0x0),_0x2008aa[_0x2bbae8(0x178)]&&_0x2008aa[_0x2bbae8(0x178)](),_0x48fc4b[_0x2bbae8(0x240)]>0x0&&_0x2008aa['unshift'](_0x48fc4b),_0x2008aa['on'](_0x2bbae8(0x2e5),_0x10cc28),_0x2008aa['on']('data',_0x331aaa),_0x2008aa['on'](_0x2bbae8(0x2f9),_0xe4632b),_0x2008aa['on'](_0x2bbae8(0x21d),_0x16c733),this['_readyState']=_0x5772ec['OPEN'],this[_0x2bbae8(0x26d)](_0x2bbae8(0x15a));}[_0x4c5778(0x14e)](){const _0x23b020=_0x4c5778;if(!this[_0x23b020(0x1cf)]){this[_0x23b020(0x1b3)]=_0x5772ec['CLOSED'],this[_0x23b020(0x26d)](_0x23b020(0x2e5),this[_0x23b020(0x1a7)],this['_closeMessage']);return;}this[_0x23b020(0x153)][_0x4ccfe7[_0x23b020(0x2b3)]]&&this[_0x23b020(0x153)][_0x4ccfe7[_0x23b020(0x2b3)]][_0x23b020(0x1ed)](),this[_0x23b020(0x198)][_0x23b020(0x2a7)](),this['_readyState']=_0x5772ec[_0x23b020(0x314)],this[_0x23b020(0x26d)](_0x23b020(0x2e5),this[_0x23b020(0x1a7)],this[_0x23b020(0x2f7)]);}[_0x4c5778(0x2e5)](_0x3a6b31,_0x30b564){const _0x2d7ceb=_0x4c5778;if(this[_0x2d7ceb(0x2db)]!==_0x5772ec[_0x2d7ceb(0x314)]){if(this['readyState']===_0x5772ec['CONNECTING']){_0x177641(this,this[_0x2d7ceb(0x21b)],_0x2d7ceb(0x192));return;}if(this[_0x2d7ceb(0x2db)]===_0x5772ec['CLOSING']){this[_0x2d7ceb(0x1b0)]&&(this[_0x2d7ceb(0x303)]||this[_0x2d7ceb(0x198)][_0x2d7ceb(0x1fc)]['errorEmitted'])&&this[_0x2d7ceb(0x1cf)][_0x2d7ceb(0x2f9)]();return;}this[_0x2d7ceb(0x1b3)]=_0x5772ec[_0x2d7ceb(0x263)],this['_sender'][_0x2d7ceb(0x2e5)](_0x3a6b31,_0x30b564,!this[_0x2d7ceb(0x284)],_0x55ff0d=>{const _0x147c2a=_0x2d7ceb;_0x55ff0d||(this['_closeFrameSent']=!0x0,(this[_0x147c2a(0x303)]||this[_0x147c2a(0x198)]['_writableState'][_0x147c2a(0x2cf)])&&this[_0x147c2a(0x1cf)][_0x147c2a(0x2f9)]());}),_0x8adc6e(this);}}[_0x4c5778(0x162)](){const _0x3daf07=_0x4c5778;this[_0x3daf07(0x2db)]===_0x5772ec['CONNECTING']||this[_0x3daf07(0x2db)]===_0x5772ec['CLOSED']||(this['_paused']=!0x0,this[_0x3daf07(0x1cf)][_0x3daf07(0x162)]());}[_0x4c5778(0x210)](_0x114f88,_0x424e4c,_0x4203c6){const _0x20a55f=_0x4c5778;if(this[_0x20a55f(0x2db)]===_0x5772ec[_0x20a55f(0x28e)])throw new Error(_0x20a55f(0x261));if(typeof _0x114f88==_0x20a55f(0x301)?(_0x4203c6=_0x114f88,_0x114f88=_0x424e4c=void 0x0):typeof _0x424e4c==_0x20a55f(0x301)&&(_0x4203c6=_0x424e4c,_0x424e4c=void 0x0),typeof _0x114f88==_0x20a55f(0x1e4)&&(_0x114f88=_0x114f88[_0x20a55f(0x16a)]()),this[_0x20a55f(0x2db)]!==_0x5772ec['OPEN']){_0x33b24a(this,_0x114f88,_0x4203c6);return;}_0x424e4c===void 0x0&&(_0x424e4c=!this[_0x20a55f(0x284)]),this['_sender'][_0x20a55f(0x210)](_0x114f88||_0xcb49b,_0x424e4c,_0x4203c6);}[_0x4c5778(0x199)](_0x22c831,_0x55b838,_0x47a2d8){const _0x172905=_0x4c5778;if(this[_0x172905(0x2db)]===_0x5772ec[_0x172905(0x28e)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x22c831==_0x172905(0x301)?(_0x47a2d8=_0x22c831,_0x22c831=_0x55b838=void 0x0):typeof _0x55b838==_0x172905(0x301)&&(_0x47a2d8=_0x55b838,_0x55b838=void 0x0),typeof _0x22c831==_0x172905(0x1e4)&&(_0x22c831=_0x22c831[_0x172905(0x16a)]()),this[_0x172905(0x2db)]!==_0x5772ec[_0x172905(0x18d)]){_0x33b24a(this,_0x22c831,_0x47a2d8);return;}_0x55b838===void 0x0&&(_0x55b838=!this[_0x172905(0x284)]),this[_0x172905(0x311)][_0x172905(0x199)](_0x22c831||_0xcb49b,_0x55b838,_0x47a2d8);}[_0x4c5778(0x185)](){const _0x22d356=_0x4c5778;this[_0x22d356(0x2db)]===_0x5772ec[_0x22d356(0x28e)]||this[_0x22d356(0x2db)]===_0x5772ec['CLOSED']||(this[_0x22d356(0x279)]=!0x1,this[_0x22d356(0x198)][_0x22d356(0x1fc)]['needDrain']||this[_0x22d356(0x1cf)][_0x22d356(0x185)]());}[_0x4c5778(0x161)](_0x323213,_0x2d4a9a,_0x4c18a8){const _0x38608b=_0x4c5778;if(this['readyState']===_0x5772ec[_0x38608b(0x28e)])throw new Error(_0x38608b(0x261));if(typeof _0x2d4a9a==_0x38608b(0x301)&&(_0x4c18a8=_0x2d4a9a,_0x2d4a9a={}),typeof _0x323213=='number'&&(_0x323213=_0x323213['toString']()),this['readyState']!==_0x5772ec[_0x38608b(0x18d)]){_0x33b24a(this,_0x323213,_0x4c18a8);return;}const _0x4f37c6={'binary':typeof _0x323213!=_0x38608b(0x289),'mask':!this[_0x38608b(0x284)],'compress':!0x0,'fin':!0x0,..._0x2d4a9a};this[_0x38608b(0x153)][_0x4ccfe7[_0x38608b(0x2b3)]]||(_0x4f37c6[_0x38608b(0x1f4)]=!0x1),this[_0x38608b(0x311)][_0x38608b(0x161)](_0x323213||_0xcb49b,_0x4f37c6,_0x4c18a8);}['terminate'](){const _0x2b79c6=_0x4c5778;if(this[_0x2b79c6(0x2db)]!==_0x5772ec['CLOSED']){if(this[_0x2b79c6(0x2db)]===_0x5772ec['CONNECTING']){_0x177641(this,this[_0x2b79c6(0x21b)],_0x2b79c6(0x192));return;}this[_0x2b79c6(0x1cf)]&&(this['_readyState']=_0x5772ec[_0x2b79c6(0x263)],this[_0x2b79c6(0x1cf)]['destroy']());}}}Object[_0x4c5778(0x259)](_0x5772ec,_0x4c5778(0x28e),{'enumerable':!0x0,'value':_0xec37d9[_0x4c5778(0x25a)]('CONNECTING')}),Object[_0x4c5778(0x259)](_0x5772ec[_0x4c5778(0x2c9)],'CONNECTING',{'enumerable':!0x0,'value':_0xec37d9['indexOf'](_0x4c5778(0x28e))}),Object[_0x4c5778(0x259)](_0x5772ec,_0x4c5778(0x18d),{'enumerable':!0x0,'value':_0xec37d9[_0x4c5778(0x25a)](_0x4c5778(0x18d))}),Object['defineProperty'](_0x5772ec[_0x4c5778(0x2c9)],'OPEN',{'enumerable':!0x0,'value':_0xec37d9[_0x4c5778(0x25a)](_0x4c5778(0x18d))}),Object['defineProperty'](_0x5772ec,'CLOSING',{'enumerable':!0x0,'value':_0xec37d9[_0x4c5778(0x25a)](_0x4c5778(0x263))}),Object[_0x4c5778(0x259)](_0x5772ec[_0x4c5778(0x2c9)],'CLOSING',{'enumerable':!0x0,'value':_0xec37d9[_0x4c5778(0x25a)](_0x4c5778(0x263))}),Object[_0x4c5778(0x259)](_0x5772ec,_0x4c5778(0x314),{'enumerable':!0x0,'value':_0xec37d9[_0x4c5778(0x25a)](_0x4c5778(0x314))}),Object[_0x4c5778(0x259)](_0x5772ec[_0x4c5778(0x2c9)],_0x4c5778(0x314),{'enumerable':!0x0,'value':_0xec37d9['indexOf']('CLOSED')}),[_0x4c5778(0x207),_0x4c5778(0x1ee),'extensions',_0x4c5778(0x2e3),'protocol',_0x4c5778(0x2db),_0x4c5778(0x229)][_0x4c5778(0x2bc)](_0x4db04b=>{const _0x4a19a4=_0x4c5778;Object[_0x4a19a4(0x259)](_0x5772ec[_0x4a19a4(0x2c9)],_0x4db04b,{'enumerable':!0x0});}),[_0x4c5778(0x15a),_0x4c5778(0x21d),_0x4c5778(0x2e5),_0x4c5778(0x174)][_0x4c5778(0x2bc)](_0xd73d22=>{const _0x44588d=_0x4c5778;Object[_0x44588d(0x259)](_0x5772ec[_0x44588d(0x2c9)],'on'+_0xd73d22,{'enumerable':!0x0,'get'(){for(const _0x469550 of this['listeners'](_0xd73d22))if(_0x469550[_0x5e57f5])return _0x469550[_0x3f580a];return null;},'set'(_0x2dec06){const _0x3b8f3a=_0x44588d;for(const _0x3d15ac of this[_0x3b8f3a(0x2d0)](_0xd73d22))if(_0x3d15ac[_0x5e57f5]){this[_0x3b8f3a(0x2b9)](_0xd73d22,_0x3d15ac);break;}typeof _0x2dec06==_0x3b8f3a(0x301)&&this[_0x3b8f3a(0x176)](_0xd73d22,_0x2dec06,{[_0x5e57f5]:!0x0});}});}),_0x5772ec[_0x4c5778(0x2c9)]['addEventListener']=_0x2163a1,_0x5772ec['prototype']['removeEventListener']=_0x5cd920,we=_0x5772ec;function _0x80554b(_0x123cb4,_0x526532,_0x32443d,_0x5f37b9){const _0x21540e=_0x4c5778,_0x47ef33={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x112f38[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5f37b9,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x123cb4[_0x21540e(0x302)]=_0x47ef33['autoPong'],!_0x112f38['includes'](_0x47ef33[_0x21540e(0x293)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x47ef33['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x112f38[_0x21540e(0x296)](',\x20')+')');let _0x32df00;if(_0x526532 instanceof _0x425c00)_0x32df00=_0x526532;else try{_0x32df00=new _0x425c00(_0x526532);}catch{throw new SyntaxError(_0x21540e(0x251)+_0x526532);}_0x32df00['protocol']===_0x21540e(0x242)?_0x32df00[_0x21540e(0x1a3)]='ws:':_0x32df00['protocol']===_0x21540e(0x18b)&&(_0x32df00[_0x21540e(0x1a3)]=_0x21540e(0x1d3)),_0x123cb4['_url']=_0x32df00[_0x21540e(0x2f5)];const _0x44b10d=_0x32df00['protocol']==='wss:',_0x16fc5d=_0x32df00[_0x21540e(0x1a3)]===_0x21540e(0x27c);let _0x54b2cb;if(_0x32df00[_0x21540e(0x1a3)]!==_0x21540e(0x1e6)&&!_0x44b10d&&!_0x16fc5d?_0x54b2cb=_0x21540e(0x2ca):_0x16fc5d&&!_0x32df00[_0x21540e(0x1a2)]?_0x54b2cb=_0x21540e(0x247):_0x32df00[_0x21540e(0x2f2)]&&(_0x54b2cb=_0x21540e(0x243)),_0x54b2cb){const _0x101cd1=new SyntaxError(_0x54b2cb);if(_0x123cb4[_0x21540e(0x16d)]===0x0)throw _0x101cd1;_0x150f69(_0x123cb4,_0x101cd1);return;}const _0x69cec4=_0x44b10d?0x1bb:0x50,_0x31eb7a=_0x2f90ec(0x10)[_0x21540e(0x16a)]('base64'),_0x4b96b2=_0x44b10d?_0x1b017c[_0x21540e(0x253)]:_0x4e6846[_0x21540e(0x253)],_0x3c5b04=new Set();let _0x4fbf83;if(_0x47ef33['createConnection']=_0x47ef33['createConnection']||(_0x44b10d?_0x4e7bdd:_0xaf2298),_0x47ef33['defaultPort']=_0x47ef33[_0x21540e(0x1f3)]||_0x69cec4,_0x47ef33[_0x21540e(0x171)]=_0x32df00['port']||_0x69cec4,_0x47ef33[_0x21540e(0x2a1)]=_0x32df00[_0x21540e(0x1ca)][_0x21540e(0x235)]('[')?_0x32df00[_0x21540e(0x1ca)][_0x21540e(0x2c6)](0x1,-0x1):_0x32df00[_0x21540e(0x1ca)],_0x47ef33[_0x21540e(0x1ce)]={..._0x47ef33[_0x21540e(0x1ce)],'Sec-WebSocket-Version':_0x47ef33[_0x21540e(0x293)],'Sec-WebSocket-Key':_0x31eb7a,'Connection':_0x21540e(0x2ce),'Upgrade':_0x21540e(0x169)},_0x47ef33[_0x21540e(0x1e7)]=_0x32df00[_0x21540e(0x1a2)]+_0x32df00[_0x21540e(0x1ea)],_0x47ef33[_0x21540e(0x316)]=_0x47ef33[_0x21540e(0x16f)],_0x47ef33[_0x21540e(0x245)]&&(_0x4fbf83=new _0x4ccfe7(_0x47ef33[_0x21540e(0x245)]!==!0x0?_0x47ef33[_0x21540e(0x245)]:{},!0x1,_0x47ef33['maxPayload']),_0x47ef33[_0x21540e(0x1ce)][_0x21540e(0x2b2)]=_0x4ee188({[_0x4ccfe7[_0x21540e(0x2b3)]]:_0x4fbf83[_0x21540e(0x1f0)]()})),_0x32443d[_0x21540e(0x240)]){for(const _0x41a00f of _0x32443d){if(typeof _0x41a00f!='string'||!_0x156194[_0x21540e(0x164)](_0x41a00f)||_0x3c5b04['has'](_0x41a00f))throw new SyntaxError(_0x21540e(0x1da));_0x3c5b04['add'](_0x41a00f);}_0x47ef33[_0x21540e(0x1ce)][_0x21540e(0x175)]=_0x32443d['join'](',');}if(_0x47ef33[_0x21540e(0x1e0)]&&(_0x47ef33['protocolVersion']<0xd?_0x47ef33[_0x21540e(0x1ce)]['Sec-WebSocket-Origin']=_0x47ef33[_0x21540e(0x1e0)]:_0x47ef33['headers'][_0x21540e(0x2de)]=_0x47ef33[_0x21540e(0x1e0)]),(_0x32df00['username']||_0x32df00[_0x21540e(0x307)])&&(_0x47ef33[_0x21540e(0x206)]=_0x32df00['username']+':'+_0x32df00[_0x21540e(0x307)]),_0x16fc5d){const _0x400c56=_0x47ef33[_0x21540e(0x1e7)]['split'](':');_0x47ef33[_0x21540e(0x179)]=_0x400c56[0x0],_0x47ef33['path']=_0x400c56[0x1];}let _0x4fb785;if(_0x47ef33['followRedirects']){if(_0x123cb4[_0x21540e(0x16d)]===0x0){_0x123cb4['_originalIpc']=_0x16fc5d,_0x123cb4[_0x21540e(0x249)]=_0x44b10d,_0x123cb4['_originalHostOrSocketPath']=_0x16fc5d?_0x47ef33[_0x21540e(0x179)]:_0x32df00['host'];const _0x1ef60b=_0x5f37b9&&_0x5f37b9[_0x21540e(0x1ce)];if(_0x5f37b9={..._0x5f37b9,'headers':{}},_0x1ef60b){for(const [_0x580ae0,_0x4724c4]of Object[_0x21540e(0x2f3)](_0x1ef60b))_0x5f37b9[_0x21540e(0x1ce)][_0x580ae0['toLowerCase']()]=_0x4724c4;}}else{if(_0x123cb4[_0x21540e(0x252)](_0x21540e(0x2df))===0x0){const _0x38cf7f=_0x16fc5d?_0x123cb4[_0x21540e(0x1c2)]?_0x47ef33[_0x21540e(0x179)]===_0x123cb4[_0x21540e(0x2be)]:!0x1:_0x123cb4[_0x21540e(0x1c2)]?!0x1:_0x32df00[_0x21540e(0x2a1)]===_0x123cb4[_0x21540e(0x2be)];(!_0x38cf7f||_0x123cb4[_0x21540e(0x249)]&&!_0x44b10d)&&(delete _0x47ef33['headers']['authorization'],delete _0x47ef33[_0x21540e(0x1ce)][_0x21540e(0x168)],_0x38cf7f||delete _0x47ef33[_0x21540e(0x1ce)][_0x21540e(0x2a1)],_0x47ef33[_0x21540e(0x206)]=void 0x0);}}_0x47ef33[_0x21540e(0x206)]&&!_0x5f37b9['headers'][_0x21540e(0x2dd)]&&(_0x5f37b9[_0x21540e(0x1ce)]['authorization']=_0x21540e(0x20d)+Buffer[_0x21540e(0x2f1)](_0x47ef33[_0x21540e(0x206)])[_0x21540e(0x16a)](_0x21540e(0x205))),_0x4fb785=_0x123cb4[_0x21540e(0x21b)]=_0x4b96b2(_0x47ef33),_0x123cb4[_0x21540e(0x16d)]&&_0x123cb4[_0x21540e(0x26d)]('redirect',_0x123cb4[_0x21540e(0x229)],_0x4fb785);}else _0x4fb785=_0x123cb4[_0x21540e(0x21b)]=_0x4b96b2(_0x47ef33);_0x47ef33[_0x21540e(0x316)]&&_0x4fb785['on'](_0x21540e(0x316),()=>{const _0x4f1b90=_0x21540e;_0x177641(_0x123cb4,_0x4fb785,_0x4f1b90(0x2dc));}),_0x4fb785['on'](_0x21540e(0x21d),_0x5456fc=>{const _0x280cfb=_0x21540e;_0x4fb785===null||_0x4fb785[_0x198927]||(_0x4fb785=_0x123cb4[_0x280cfb(0x21b)]=null,_0x150f69(_0x123cb4,_0x5456fc));}),_0x4fb785['on'](_0x21540e(0x1f7),_0x1e378b=>{const _0x4d5697=_0x21540e,_0x2b5717=_0x1e378b[_0x4d5697(0x1ce)][_0x4d5697(0x157)],_0xf6dba9=_0x1e378b[_0x4d5697(0x2ee)];if(_0x2b5717&&_0x47ef33[_0x4d5697(0x2ad)]&&_0xf6dba9>=0x12c&&_0xf6dba9<0x190){if(++_0x123cb4[_0x4d5697(0x16d)]>_0x47ef33[_0x4d5697(0x300)]){_0x177641(_0x123cb4,_0x4fb785,_0x4d5697(0x24d));return;}_0x4fb785['abort']();let _0x41d8d5;try{_0x41d8d5=new _0x425c00(_0x2b5717,_0x526532);}catch{const _0x4b9c25=new SyntaxError(_0x4d5697(0x251)+_0x2b5717);_0x150f69(_0x123cb4,_0x4b9c25);return;}_0x80554b(_0x123cb4,_0x41d8d5,_0x32443d,_0x5f37b9);}else _0x123cb4[_0x4d5697(0x26d)](_0x4d5697(0x2bd),_0x4fb785,_0x1e378b)||_0x177641(_0x123cb4,_0x4fb785,_0x4d5697(0x2c3)+_0x1e378b[_0x4d5697(0x2ee)]);}),_0x4fb785['on'](_0x21540e(0x1fb),(_0x4739de,_0x3217a1,_0x444016)=>{const _0x171244=_0x21540e;if(_0x123cb4[_0x171244(0x26d)](_0x171244(0x1fb),_0x4739de),_0x123cb4['readyState']!==_0x5772ec[_0x171244(0x28e)])return;_0x4fb785=_0x123cb4['_req']=null;const _0x488aef=_0x4739de[_0x171244(0x1ce)][_0x171244(0x1fb)];if(_0x488aef===void 0x0||_0x488aef[_0x171244(0x23b)]()!==_0x171244(0x169)){_0x177641(_0x123cb4,_0x3217a1,_0x171244(0x22a));return;}const _0x5d462b=_0x5306c5('sha1')[_0x171244(0x30c)](_0x31eb7a+_0x355381)[_0x171244(0x15d)]('base64');if(_0x4739de[_0x171244(0x1ce)][_0x171244(0x2a9)]!==_0x5d462b){_0x177641(_0x123cb4,_0x3217a1,_0x171244(0x2eb));return;}const _0x3d02e9=_0x4739de[_0x171244(0x1ce)][_0x171244(0x1c0)];let _0x2cf649;if(_0x3d02e9!==void 0x0?_0x3c5b04[_0x171244(0x2cb)]?_0x3c5b04[_0x171244(0x29d)](_0x3d02e9)||(_0x2cf649=_0x171244(0x214)):_0x2cf649=_0x171244(0x18e):_0x3c5b04['size']&&(_0x2cf649=_0x171244(0x22d)),_0x2cf649){_0x177641(_0x123cb4,_0x3217a1,_0x2cf649);return;}_0x3d02e9&&(_0x123cb4[_0x171244(0x310)]=_0x3d02e9);const _0x2d0def=_0x4739de[_0x171244(0x1ce)]['sec-websocket-extensions'];if(_0x2d0def!==void 0x0){if(!_0x4fbf83){_0x177641(_0x123cb4,_0x3217a1,_0x171244(0x298));return;}let _0x50d7b6;try{_0x50d7b6=_0x42874b(_0x2d0def);}catch{_0x177641(_0x123cb4,_0x3217a1,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x5cfd93=Object[_0x171244(0x1f6)](_0x50d7b6);if(_0x5cfd93[_0x171244(0x240)]!==0x1||_0x5cfd93[0x0]!==_0x4ccfe7[_0x171244(0x2b3)]){_0x177641(_0x123cb4,_0x3217a1,_0x171244(0x1aa));return;}try{_0x4fbf83[_0x171244(0x17a)](_0x50d7b6[_0x4ccfe7[_0x171244(0x2b3)]]);}catch{_0x177641(_0x123cb4,_0x3217a1,_0x171244(0x1ff));return;}_0x123cb4[_0x171244(0x153)][_0x4ccfe7[_0x171244(0x2b3)]]=_0x4fbf83;}_0x123cb4['setSocket'](_0x3217a1,_0x444016,{'allowSynchronousEvents':_0x47ef33[_0x171244(0x20c)],'generateMask':_0x47ef33[_0x171244(0x1fd)],'maxPayload':_0x47ef33[_0x171244(0x2e7)],'skipUTF8Validation':_0x47ef33[_0x171244(0x255)]});}),_0x47ef33[_0x21540e(0x258)]?_0x47ef33[_0x21540e(0x258)](_0x4fb785,_0x123cb4):_0x4fb785['end']();}function _0x150f69(_0xa7847e,_0x38154a){const _0x5f3b5a=_0x4c5778;_0xa7847e[_0x5f3b5a(0x1b3)]=_0x5772ec[_0x5f3b5a(0x263)],_0xa7847e['_errorEmitted']=!0x0,_0xa7847e['emit'](_0x5f3b5a(0x21d),_0x38154a),_0xa7847e[_0x5f3b5a(0x14e)]();}function _0xaf2298(_0x127761){const _0x302787=_0x4c5778;return _0x127761[_0x302787(0x1e7)]=_0x127761[_0x302787(0x179)],_0x123879[_0x302787(0x201)](_0x127761);}function _0x4e7bdd(_0x3484db){const _0xb27e43=_0x4c5778;return _0x3484db['path']=void 0x0,!_0x3484db[_0xb27e43(0x260)]&&_0x3484db[_0xb27e43(0x260)]!==''&&(_0x3484db[_0xb27e43(0x260)]=_0x123879['isIP'](_0x3484db['host'])?'':_0x3484db[_0xb27e43(0x2a1)]),_0x426bbe[_0xb27e43(0x201)](_0x3484db);}function _0x177641(_0x5b1c23,_0x22b09c,_0x156a5c){const _0x1ee2d3=_0x4c5778;_0x5b1c23[_0x1ee2d3(0x1b3)]=_0x5772ec[_0x1ee2d3(0x263)];const _0x1e3cde=new Error(_0x156a5c);Error[_0x1ee2d3(0x2b7)](_0x1e3cde,_0x177641),_0x22b09c[_0x1ee2d3(0x1d0)]?(_0x22b09c[_0x198927]=!0x0,_0x22b09c[_0x1ee2d3(0x203)](),_0x22b09c[_0x1ee2d3(0x2f6)]&&!_0x22b09c[_0x1ee2d3(0x2f6)]['destroyed']&&_0x22b09c[_0x1ee2d3(0x2f6)][_0x1ee2d3(0x295)](),process['nextTick'](_0x150f69,_0x5b1c23,_0x1e3cde)):(_0x22b09c['destroy'](_0x1e3cde),_0x22b09c[_0x1ee2d3(0x23f)](_0x1ee2d3(0x21d),_0x5b1c23[_0x1ee2d3(0x26d)][_0x1ee2d3(0x304)](_0x5b1c23,_0x1ee2d3(0x21d))),_0x22b09c[_0x1ee2d3(0x23f)](_0x1ee2d3(0x2e5),_0x5b1c23[_0x1ee2d3(0x14e)][_0x1ee2d3(0x304)](_0x5b1c23)));}function _0x33b24a(_0x29f229,_0xeb05e8,_0x5b9db7){const _0x378720=_0x4c5778;if(_0xeb05e8){const _0xcb17a6=_0x2b096d(_0xeb05e8)?_0xeb05e8[_0x378720(0x2cb)]:_0x26a713(_0xeb05e8)[_0x378720(0x240)];_0x29f229[_0x378720(0x1cf)]?_0x29f229[_0x378720(0x311)][_0x378720(0x209)]+=_0xcb17a6:_0x29f229[_0x378720(0x2c1)]+=_0xcb17a6;}if(_0x5b9db7){const _0x424f2f=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x29f229['readyState']+'\x20('+_0xec37d9[_0x29f229[_0x378720(0x2db)]]+')');process[_0x378720(0x1bd)](_0x5b9db7,_0x424f2f);}}function _0x135424(_0x55b43f,_0x1771dc){const _0x1f1d47=_0x4c5778,_0x22454f=this[_0x56b6f5];_0x22454f['_closeFrameReceived']=!0x0,_0x22454f[_0x1f1d47(0x2f7)]=_0x1771dc,_0x22454f[_0x1f1d47(0x1a7)]=_0x55b43f,_0x22454f[_0x1f1d47(0x1cf)][_0x56b6f5]!==void 0x0&&(_0x22454f[_0x1f1d47(0x1cf)][_0x1f1d47(0x2b9)](_0x1f1d47(0x19d),_0x331aaa),process[_0x1f1d47(0x1bd)](_0x242556,_0x22454f[_0x1f1d47(0x1cf)]),_0x55b43f===0x3ed?_0x22454f[_0x1f1d47(0x2e5)]():_0x22454f[_0x1f1d47(0x2e5)](_0x55b43f,_0x1771dc));}function _0x7d9133(){const _0x39e08c=_0x4c5778,_0x294a12=this[_0x56b6f5];_0x294a12[_0x39e08c(0x2e3)]||_0x294a12['_socket'][_0x39e08c(0x185)]();}function _0x3fdbf8(_0x430a97){const _0x573c9d=_0x4c5778,_0x5f3cee=this[_0x56b6f5];_0x5f3cee[_0x573c9d(0x1cf)][_0x56b6f5]!==void 0x0&&(_0x5f3cee[_0x573c9d(0x1cf)][_0x573c9d(0x2b9)](_0x573c9d(0x19d),_0x331aaa),process[_0x573c9d(0x1bd)](_0x242556,_0x5f3cee[_0x573c9d(0x1cf)]),_0x5f3cee[_0x573c9d(0x2e5)](_0x430a97[_0x5b0bf8])),_0x5f3cee[_0x573c9d(0x2cd)]||(_0x5f3cee['_errorEmitted']=!0x0,_0x5f3cee[_0x573c9d(0x26d)]('error',_0x430a97));}function _0x58cbc1(){const _0x3dff4b=_0x4c5778;this[_0x56b6f5][_0x3dff4b(0x14e)]();}function _0x228db3(_0x55e1fe,_0x35b8b4){const _0x29969b=_0x4c5778;this[_0x56b6f5][_0x29969b(0x26d)](_0x29969b(0x174),_0x55e1fe,_0x35b8b4);}function _0x30e19b(_0x575d90){const _0x35633f=_0x4c5778,_0x1d6090=this[_0x56b6f5];_0x1d6090[_0x35633f(0x302)]&&_0x1d6090[_0x35633f(0x199)](_0x575d90,!this['_isServer'],_0x3b1cd1),_0x1d6090[_0x35633f(0x26d)]('ping',_0x575d90);}function _0x4e9fbc(_0x2be796){const _0x226659=_0x4c5778;this[_0x56b6f5][_0x226659(0x26d)](_0x226659(0x199),_0x2be796);}function _0x242556(_0x4d9425){const _0x1515bc=_0x4c5778;_0x4d9425[_0x1515bc(0x185)]();}function _0x9746a4(_0x431eb2){const _0x2848a5=_0x4c5778,_0x46a56b=this[_0x56b6f5];_0x46a56b[_0x2848a5(0x2db)]!==_0x5772ec[_0x2848a5(0x314)]&&(_0x46a56b['readyState']===_0x5772ec['OPEN']&&(_0x46a56b[_0x2848a5(0x1b3)]=_0x5772ec['CLOSING'],_0x8adc6e(_0x46a56b)),this[_0x2848a5(0x1cf)][_0x2848a5(0x2f9)](),_0x46a56b[_0x2848a5(0x2cd)]||(_0x46a56b['_errorEmitted']=!0x0,_0x46a56b[_0x2848a5(0x26d)](_0x2848a5(0x21d),_0x431eb2)));}function _0x8adc6e(_0x328173){const _0x59449c=_0x4c5778;_0x328173['_closeTimer']=setTimeout(_0x328173[_0x59449c(0x1cf)][_0x59449c(0x295)]['bind'](_0x328173[_0x59449c(0x1cf)]),_0x468018);}function _0x10cc28(){const _0x2c15d0=_0x4c5778,_0x5cab39=this[_0x56b6f5];this['removeListener'](_0x2c15d0(0x2e5),_0x10cc28),this[_0x2c15d0(0x2b9)](_0x2c15d0(0x19d),_0x331aaa),this[_0x2c15d0(0x2b9)]('end',_0xe4632b),_0x5cab39['_readyState']=_0x5772ec[_0x2c15d0(0x263)];let _0x5c0154;!this['_readableState'][_0x2c15d0(0x1c5)]&&!_0x5cab39['_closeFrameReceived']&&!_0x5cab39[_0x2c15d0(0x198)][_0x2c15d0(0x1fc)][_0x2c15d0(0x2cf)]&&(_0x5c0154=_0x5cab39['_socket'][_0x2c15d0(0x1b6)]())!==null&&_0x5cab39[_0x2c15d0(0x198)]['write'](_0x5c0154),_0x5cab39[_0x2c15d0(0x198)][_0x2c15d0(0x2f9)](),this[_0x56b6f5]=void 0x0,clearTimeout(_0x5cab39[_0x2c15d0(0x181)]),_0x5cab39[_0x2c15d0(0x198)][_0x2c15d0(0x1fc)][_0x2c15d0(0x30a)]||_0x5cab39['_receiver'][_0x2c15d0(0x1fc)][_0x2c15d0(0x2cf)]?_0x5cab39[_0x2c15d0(0x14e)]():(_0x5cab39['_receiver']['on'](_0x2c15d0(0x21d),_0x58cbc1),_0x5cab39[_0x2c15d0(0x198)]['on']('finish',_0x58cbc1));}function _0x331aaa(_0x5037e2){const _0x2923b9=_0x4c5778;this[_0x56b6f5]['_receiver'][_0x2923b9(0x2ff)](_0x5037e2)||this['pause']();}function _0xe4632b(){const _0x332ddb=_0x4c5778,_0x217360=this[_0x56b6f5];_0x217360[_0x332ddb(0x1b3)]=_0x5772ec[_0x332ddb(0x263)],_0x217360[_0x332ddb(0x198)][_0x332ddb(0x2f9)](),this[_0x332ddb(0x2f9)]();}function _0x16c733(){const _0x107c74=_0x4c5778,_0x318445=this[_0x56b6f5];this[_0x107c74(0x2b9)](_0x107c74(0x21d),_0x16c733),this['on']('error',_0x3b1cd1),_0x318445&&(_0x318445[_0x107c74(0x1b3)]=_0x5772ec[_0x107c74(0x263)],this[_0x107c74(0x295)]());}return we;}var Oe,et;function _0x1197(_0x2fa1fd,_0x2e75b3){const _0x111c6e=_0x111c();return _0x1197=function(_0x1197f6,_0x325de2){_0x1197f6=_0x1197f6-0x14e;let _0x539f1b=_0x111c6e[_0x1197f6];return _0x539f1b;},_0x1197(_0x2fa1fd,_0x2e75b3);}function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x12c198}=oe;function _0x1e3d9c(_0x3a78c0){_0x3a78c0['emit']('close');}function _0x47931a(){const _0x569da2=_0x1197;!this[_0x569da2(0x268)]&&this[_0x569da2(0x1fc)][_0x569da2(0x30a)]&&this[_0x569da2(0x295)]();}function _0xb6ad4b(_0x51d5a8){const _0x751fb9=_0x1197;this[_0x751fb9(0x2b9)](_0x751fb9(0x21d),_0xb6ad4b),this['destroy'](),this[_0x751fb9(0x252)](_0x751fb9(0x21d))===0x0&&this[_0x751fb9(0x26d)](_0x751fb9(0x21d),_0x51d5a8);}function _0x2ff873(_0x48c648,_0x1718be){const _0x11cd18=_0x1197;let _0x59fdff=!0x0;const _0x303f5a=new _0x12c198({..._0x1718be,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x48c648['on'](_0x11cd18(0x174),function(_0x4ed253,_0x3a4a47){const _0x131801=_0x11cd18,_0x322c24=!_0x3a4a47&&_0x303f5a[_0x131801(0x2e8)][_0x131801(0x224)]?_0x4ed253['toString']():_0x4ed253;_0x303f5a[_0x131801(0x1b7)](_0x322c24)||_0x48c648[_0x131801(0x162)]();}),_0x48c648[_0x11cd18(0x23f)](_0x11cd18(0x21d),function(_0x1caea2){const _0x230cb4=_0x11cd18;_0x303f5a[_0x230cb4(0x268)]||(_0x59fdff=!0x1,_0x303f5a[_0x230cb4(0x295)](_0x1caea2));}),_0x48c648[_0x11cd18(0x23f)](_0x11cd18(0x2e5),function(){const _0xd2921e=_0x11cd18;_0x303f5a[_0xd2921e(0x268)]||_0x303f5a[_0xd2921e(0x1b7)](null);}),_0x303f5a[_0x11cd18(0x2bb)]=function(_0x1c5a36,_0x5746a3){const _0x4f28bd=_0x11cd18;if(_0x48c648[_0x4f28bd(0x2db)]===_0x48c648[_0x4f28bd(0x314)]){_0x5746a3(_0x1c5a36),process[_0x4f28bd(0x1bd)](_0x1e3d9c,_0x303f5a);return;}let _0x96d196=!0x1;_0x48c648[_0x4f28bd(0x23f)](_0x4f28bd(0x21d),function(_0x10749f){_0x96d196=!0x0,_0x5746a3(_0x10749f);}),_0x48c648[_0x4f28bd(0x23f)](_0x4f28bd(0x2e5),function(){const _0x11aa6b=_0x4f28bd;_0x96d196||_0x5746a3(_0x1c5a36),process[_0x11aa6b(0x1bd)](_0x1e3d9c,_0x303f5a);}),_0x59fdff&&_0x48c648['terminate']();},_0x303f5a[_0x11cd18(0x220)]=function(_0x184081){const _0x1c3b08=_0x11cd18;if(_0x48c648[_0x1c3b08(0x2db)]===_0x48c648[_0x1c3b08(0x28e)]){_0x48c648[_0x1c3b08(0x23f)](_0x1c3b08(0x15a),function(){const _0xfa49bd=_0x1c3b08;_0x303f5a[_0xfa49bd(0x220)](_0x184081);});return;}_0x48c648[_0x1c3b08(0x1cf)]!==null&&(_0x48c648[_0x1c3b08(0x1cf)][_0x1c3b08(0x1fc)][_0x1c3b08(0x30a)]?(_0x184081(),_0x303f5a[_0x1c3b08(0x2e8)]['endEmitted']&&_0x303f5a[_0x1c3b08(0x295)]()):(_0x48c648[_0x1c3b08(0x1cf)]['once'](_0x1c3b08(0x275),function(){_0x184081();}),_0x48c648[_0x1c3b08(0x2e5)]()));},_0x303f5a[_0x11cd18(0x1e5)]=function(){const _0x3e36a9=_0x11cd18;_0x48c648[_0x3e36a9(0x2e3)]&&_0x48c648[_0x3e36a9(0x185)]();},_0x303f5a[_0x11cd18(0x2d5)]=function(_0x327510,_0x21a0e7,_0x18754b){const _0x2b4955=_0x11cd18;if(_0x48c648[_0x2b4955(0x2db)]===_0x48c648[_0x2b4955(0x28e)]){_0x48c648[_0x2b4955(0x23f)](_0x2b4955(0x15a),function(){const _0x1a5d4c=_0x2b4955;_0x303f5a[_0x1a5d4c(0x2d5)](_0x327510,_0x21a0e7,_0x18754b);});return;}_0x48c648['send'](_0x327510,_0x18754b);},_0x303f5a['on'](_0x11cd18(0x2f9),_0x47931a),_0x303f5a['on']('error',_0xb6ad4b),_0x303f5a;}return Oe=_0x2ff873,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x175d7f}=ae();function _0x35749a(_0x42e107){const _0x23cce0=_0x1197,_0x92c178=new Set();let _0x38ff81=-0x1,_0x59f76c=-0x1,_0x45087c=0x0;for(_0x45087c;_0x45087c<_0x42e107['length'];_0x45087c++){const _0x28037d=_0x42e107[_0x23cce0(0x266)](_0x45087c);if(_0x59f76c===-0x1&&_0x175d7f[_0x28037d]===0x1)_0x38ff81===-0x1&&(_0x38ff81=_0x45087c);else{if(_0x45087c!==0x0&&(_0x28037d===0x20||_0x28037d===0x9))_0x59f76c===-0x1&&_0x38ff81!==-0x1&&(_0x59f76c=_0x45087c);else{if(_0x28037d===0x2c){if(_0x38ff81===-0x1)throw new SyntaxError(_0x23cce0(0x2fe)+_0x45087c);_0x59f76c===-0x1&&(_0x59f76c=_0x45087c);const _0x392fd0=_0x42e107['slice'](_0x38ff81,_0x59f76c);if(_0x92c178[_0x23cce0(0x29d)](_0x392fd0))throw new SyntaxError('The\x20\x22'+_0x392fd0+_0x23cce0(0x18c));_0x92c178['add'](_0x392fd0),_0x38ff81=_0x59f76c=-0x1;}else throw new SyntaxError(_0x23cce0(0x2fe)+_0x45087c);}}}if(_0x38ff81===-0x1||_0x59f76c!==-0x1)throw new SyntaxError(_0x23cce0(0x1a0));const _0x1aa42e=_0x42e107['slice'](_0x38ff81,_0x45087c);if(_0x92c178[_0x23cce0(0x29d)](_0x1aa42e))throw new SyntaxError(_0x23cce0(0x26c)+_0x1aa42e+_0x23cce0(0x18c));return _0x92c178['add'](_0x1aa42e),_0x92c178;}return Ce={'parse':_0x35749a},Ce;}var Te,rt;function Ft(){const _0x50abbb=_0xc2e6c0;if(rt)return Te;rt=0x1;const _0x57a59f=nt,_0x3e3785=ot,{Duplex:_0x29e76c}=oe,{createHash:_0x2e979d}=Le,_0x3bfc0e=ct(),_0x12918e=he(),_0x3d2367=At(),_0x5bb236=Pe(),{GUID:_0x1fa6b0,kWebSocket:_0x5501a4}=H(),_0x236212=/^[+/0-9A-Za-z]{22}==$/,_0x44169c=0x0,_0x1ea365=0x1,_0x36fee1=0x2;class _0x2a520d extends _0x57a59f{constructor(_0x4a3699,_0x3f36cc){const _0x5b202e=_0x1197;if(super(),_0x4a3699={'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':_0x5bb236,..._0x4a3699},_0x4a3699[_0x5b202e(0x171)]==null&&!_0x4a3699[_0x5b202e(0x152)]&&!_0x4a3699[_0x5b202e(0x22c)]||_0x4a3699['port']!=null&&(_0x4a3699[_0x5b202e(0x152)]||_0x4a3699[_0x5b202e(0x22c)])||_0x4a3699[_0x5b202e(0x152)]&&_0x4a3699[_0x5b202e(0x22c)])throw new TypeError(_0x5b202e(0x1bb));if(_0x4a3699[_0x5b202e(0x171)]!=null?(this['_server']=_0x3e3785['createServer']((_0x1e846f,_0x334fbd)=>{const _0x18ed69=_0x5b202e,_0x142ed3=_0x3e3785['STATUS_CODES'][0x1aa];_0x334fbd['writeHead'](0x1aa,{'Content-Length':_0x142ed3[_0x18ed69(0x240)],'Content-Type':'text/plain'}),_0x334fbd['end'](_0x142ed3);}),this[_0x5b202e(0x1df)]['listen'](_0x4a3699[_0x5b202e(0x171)],_0x4a3699[_0x5b202e(0x2a1)],_0x4a3699[_0x5b202e(0x2d1)],_0x3f36cc)):_0x4a3699['server']&&(this[_0x5b202e(0x1df)]=_0x4a3699['server']),this['_server']){const _0x2e48a0=this[_0x5b202e(0x26d)][_0x5b202e(0x304)](this,_0x5b202e(0x173));this[_0x5b202e(0x27b)]=_0x81a5c7(this[_0x5b202e(0x1df)],{'listening':this['emit'][_0x5b202e(0x304)](this,'listening'),'error':this[_0x5b202e(0x26d)][_0x5b202e(0x304)](this,_0x5b202e(0x21d)),'upgrade':(_0x55b8f4,_0x148b99,_0x450a52)=>{const _0x4fc9bd=_0x5b202e;this[_0x4fc9bd(0x25e)](_0x55b8f4,_0x148b99,_0x450a52,_0x2e48a0);}});}_0x4a3699[_0x5b202e(0x245)]===!0x0&&(_0x4a3699[_0x5b202e(0x245)]={}),_0x4a3699[_0x5b202e(0x238)]&&(this['clients']=new Set(),this[_0x5b202e(0x180)]=!0x1),this[_0x5b202e(0x15e)]=_0x4a3699,this[_0x5b202e(0x2cc)]=_0x44169c;}[_0x50abbb(0x287)](){const _0x2a8160=_0x50abbb;if(this[_0x2a8160(0x15e)][_0x2a8160(0x22c)])throw new Error(_0x2a8160(0x213));return this[_0x2a8160(0x1df)]?this[_0x2a8160(0x1df)][_0x2a8160(0x287)]():null;}[_0x50abbb(0x2e5)](_0x141248){const _0x488260=_0x50abbb;if(this['_state']===_0x36fee1){_0x141248&&this[_0x488260(0x23f)](_0x488260(0x2e5),()=>{const _0x12a785=_0x488260;_0x141248(new Error(_0x12a785(0x187)));}),process[_0x488260(0x1bd)](_0x59298d,this);return;}if(_0x141248&&this['once'](_0x488260(0x2e5),_0x141248),this[_0x488260(0x2cc)]!==_0x1ea365){if(this[_0x488260(0x2cc)]=_0x1ea365,this[_0x488260(0x15e)][_0x488260(0x22c)]||this['options'][_0x488260(0x152)])this['_server']&&(this['_removeListeners'](),this[_0x488260(0x27b)]=this[_0x488260(0x1df)]=null),this[_0x488260(0x25c)]?this[_0x488260(0x25c)][_0x488260(0x2cb)]?this[_0x488260(0x180)]=!0x0:process[_0x488260(0x1bd)](_0x59298d,this):process[_0x488260(0x1bd)](_0x59298d,this);else{const _0x2be124=this[_0x488260(0x1df)];this['_removeListeners'](),this[_0x488260(0x27b)]=this[_0x488260(0x1df)]=null,_0x2be124[_0x488260(0x2e5)](()=>{_0x59298d(this);});}}}[_0x50abbb(0x1d7)](_0x423a8c){const _0x255b2b=_0x50abbb;if(this[_0x255b2b(0x15e)][_0x255b2b(0x1e7)]){const _0x14c032=_0x423a8c[_0x255b2b(0x229)][_0x255b2b(0x25a)]('?');if((_0x14c032!==-0x1?_0x423a8c[_0x255b2b(0x229)][_0x255b2b(0x2c6)](0x0,_0x14c032):_0x423a8c['url'])!==this['options'][_0x255b2b(0x1e7)])return!0x1;}return!0x0;}[_0x50abbb(0x25e)](_0x59585e,_0xb678d2,_0x2d0c14,_0x30bc6a){const _0x266967=_0x50abbb;_0xb678d2['on'](_0x266967(0x21d),_0x5dabcb);const _0x56adb8=_0x59585e['headers'][_0x266967(0x1f9)],_0x10de2d=_0x59585e[_0x266967(0x1ce)]['upgrade'],_0x4497ba=+_0x59585e[_0x266967(0x1ce)][_0x266967(0x2b1)];if(_0x59585e[_0x266967(0x1c6)]!==_0x266967(0x2c5)){_0x388056(this,_0x59585e,_0xb678d2,0x195,_0x266967(0x204));return;}if(_0x10de2d===void 0x0||_0x10de2d['toLowerCase']()!=='websocket'){_0x388056(this,_0x59585e,_0xb678d2,0x190,_0x266967(0x22a));return;}if(_0x56adb8===void 0x0||!_0x236212[_0x266967(0x164)](_0x56adb8)){_0x388056(this,_0x59585e,_0xb678d2,0x190,_0x266967(0x19a));return;}if(_0x4497ba!==0x8&&_0x4497ba!==0xd){_0x388056(this,_0x59585e,_0xb678d2,0x190,_0x266967(0x2f8));return;}if(!this[_0x266967(0x1d7)](_0x59585e)){_0x5966c6(_0xb678d2,0x190);return;}const _0x232615=_0x59585e[_0x266967(0x1ce)][_0x266967(0x1c0)];let _0x3359bb=new Set();if(_0x232615!==void 0x0)try{_0x3359bb=_0x3d2367[_0x266967(0x202)](_0x232615);}catch{_0x388056(this,_0x59585e,_0xb678d2,0x190,_0x266967(0x1d4));return;}const _0x496e56=_0x59585e['headers']['sec-websocket-extensions'],_0x4aa17a={};if(this[_0x266967(0x15e)][_0x266967(0x245)]&&_0x496e56!==void 0x0){const _0xe9121f=new _0x12918e(this[_0x266967(0x15e)]['perMessageDeflate'],!0x0,this[_0x266967(0x15e)][_0x266967(0x2e7)]);try{const _0x324bbd=_0x3bfc0e['parse'](_0x496e56);_0x324bbd[_0x12918e['extensionName']]&&(_0xe9121f[_0x266967(0x17a)](_0x324bbd[_0x12918e[_0x266967(0x2b3)]]),_0x4aa17a[_0x12918e[_0x266967(0x2b3)]]=_0xe9121f);}catch{_0x388056(this,_0x59585e,_0xb678d2,0x190,_0x266967(0x16b));return;}}if(this[_0x266967(0x15e)][_0x266967(0x215)]){const _0x2a6b43={'origin':_0x59585e[_0x266967(0x1ce)][''+(_0x4497ba===0x8?_0x266967(0x27e):_0x266967(0x1e0))],'secure':!!(_0x59585e[_0x266967(0x2f6)]['authorized']||_0x59585e['socket']['encrypted']),'req':_0x59585e};if(this[_0x266967(0x15e)][_0x266967(0x215)][_0x266967(0x240)]===0x2){this[_0x266967(0x15e)][_0x266967(0x215)](_0x2a6b43,(_0x390485,_0x49237c,_0xa63b9b,_0xb28808)=>{if(!_0x390485)return _0x5966c6(_0xb678d2,_0x49237c||0x191,_0xa63b9b,_0xb28808);this['completeUpgrade'](_0x4aa17a,_0x56adb8,_0x3359bb,_0x59585e,_0xb678d2,_0x2d0c14,_0x30bc6a);});return;}if(!this[_0x266967(0x15e)][_0x266967(0x215)](_0x2a6b43))return _0x5966c6(_0xb678d2,0x191);}this['completeUpgrade'](_0x4aa17a,_0x56adb8,_0x3359bb,_0x59585e,_0xb678d2,_0x2d0c14,_0x30bc6a);}[_0x50abbb(0x2a2)](_0x29f143,_0x19e30e,_0x58a249,_0x3ff103,_0x162a86,_0x261744,_0x52109a){const _0x46aaaa=_0x50abbb;if(!_0x162a86[_0x46aaaa(0x158)]||!_0x162a86['writable'])return _0x162a86['destroy']();if(_0x162a86[_0x5501a4])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this['_state']>_0x44169c)return _0x5966c6(_0x162a86,0x1f7);const _0x4f990f=[_0x46aaaa(0x2aa),_0x46aaaa(0x254),_0x46aaaa(0x274),_0x46aaaa(0x195)+_0x2e979d(_0x46aaaa(0x1de))[_0x46aaaa(0x30c)](_0x19e30e+_0x1fa6b0)[_0x46aaaa(0x15d)]('base64')],_0x13d326=new this[(_0x46aaaa(0x15e))][(_0x46aaaa(0x193))](null,void 0x0,this['options']);if(_0x58a249['size']){const _0x2c078b=this[_0x46aaaa(0x15e)][_0x46aaaa(0x236)]?this['options'][_0x46aaaa(0x236)](_0x58a249,_0x3ff103):_0x58a249['values']()[_0x46aaaa(0x231)]()['value'];_0x2c078b&&(_0x4f990f[_0x46aaaa(0x1b7)](_0x46aaaa(0x15b)+_0x2c078b),_0x13d326[_0x46aaaa(0x310)]=_0x2c078b);}if(_0x29f143[_0x12918e['extensionName']]){const _0x2b9cb3=_0x29f143[_0x12918e[_0x46aaaa(0x2b3)]][_0x46aaaa(0x277)],_0x1024f2=_0x3bfc0e['format']({[_0x12918e['extensionName']]:[_0x2b9cb3]});_0x4f990f['push']('Sec-WebSocket-Extensions:\x20'+_0x1024f2),_0x13d326[_0x46aaaa(0x153)]=_0x29f143;}this[_0x46aaaa(0x26d)]('headers',_0x4f990f,_0x3ff103),_0x162a86[_0x46aaaa(0x2ff)](_0x4f990f[_0x46aaaa(0x21c)]('\x0d\x0a')[_0x46aaaa(0x296)]('\x0d\x0a')),_0x162a86[_0x46aaaa(0x2b9)](_0x46aaaa(0x21d),_0x5dabcb),_0x13d326[_0x46aaaa(0x23a)](_0x162a86,_0x261744,{'allowSynchronousEvents':this['options'][_0x46aaaa(0x20c)],'maxPayload':this[_0x46aaaa(0x15e)][_0x46aaaa(0x2e7)],'skipUTF8Validation':this[_0x46aaaa(0x15e)][_0x46aaaa(0x255)]}),this[_0x46aaaa(0x25c)]&&(this[_0x46aaaa(0x25c)][_0x46aaaa(0x2d8)](_0x13d326),_0x13d326['on'](_0x46aaaa(0x2e5),()=>{const _0x1e239b=_0x46aaaa;this[_0x1e239b(0x25c)]['delete'](_0x13d326),this[_0x1e239b(0x180)]&&!this['clients'][_0x1e239b(0x2cb)]&&process[_0x1e239b(0x1bd)](_0x59298d,this);})),_0x52109a(_0x13d326,_0x3ff103);}}Te=_0x2a520d;function _0x81a5c7(_0x470dc7,_0x254cf3){const _0x275ed6=_0x50abbb;for(const _0xed1cb5 of Object[_0x275ed6(0x1f6)](_0x254cf3))_0x470dc7['on'](_0xed1cb5,_0x254cf3[_0xed1cb5]);return function(){const _0xb64fb1=_0x275ed6;for(const _0x3e5af6 of Object[_0xb64fb1(0x1f6)](_0x254cf3))_0x470dc7[_0xb64fb1(0x2b9)](_0x3e5af6,_0x254cf3[_0x3e5af6]);};}function _0x59298d(_0x12c085){const _0x3a9e07=_0x50abbb;_0x12c085[_0x3a9e07(0x2cc)]=_0x36fee1,_0x12c085['emit'](_0x3a9e07(0x2e5));}function _0x5dabcb(){const _0x26d0c1=_0x50abbb;this[_0x26d0c1(0x295)]();}function _0x5966c6(_0x2fb0a3,_0x34278e,_0x367e1c,_0x2ce6a9){const _0x5324dd=_0x50abbb;_0x367e1c=_0x367e1c||_0x3e3785[_0x5324dd(0x27d)][_0x34278e],_0x2ce6a9={'Connection':'close','Content-Type':_0x5324dd(0x28b),'Content-Length':Buffer['byteLength'](_0x367e1c),..._0x2ce6a9},_0x2fb0a3[_0x5324dd(0x23f)](_0x5324dd(0x275),_0x2fb0a3['destroy']),_0x2fb0a3['end']('HTTP/1.1\x20'+_0x34278e+'\x20'+_0x3e3785[_0x5324dd(0x27d)][_0x34278e]+'\x0d\x0a'+Object[_0x5324dd(0x1f6)](_0x2ce6a9)['map'](_0x463d5a=>_0x463d5a+':\x20'+_0x2ce6a9[_0x463d5a])[_0x5324dd(0x296)]('\x0d\x0a')+_0x5324dd(0x186)+_0x367e1c);}function _0x388056(_0x5b0b95,_0x38c09f,_0x108cbb,_0x45c15f,_0x37a71a){const _0x4b0c82=_0x50abbb;if(_0x5b0b95[_0x4b0c82(0x252)]('wsClientError')){const _0x414389=new Error(_0x37a71a);Error['captureStackTrace'](_0x414389,_0x388056),_0x5b0b95[_0x4b0c82(0x26d)](_0x4b0c82(0x1e3),_0x414389,_0x108cbb,_0x38c09f);}else _0x5966c6(_0x108cbb,_0x45c15f,_0x37a71a);}return Te;}Ft();var jt=Object[_0xc2e6c0(0x17f)],Wt=(_0x344cc3,_0x14e9c8,_0x586135,_0x53b73b)=>{const _0x37b8d6=_0xc2e6c0;for(var _0x568da0=_0x53b73b>0x1?void 0x0:_0x53b73b?jt(_0x14e9c8,_0x586135):_0x14e9c8,_0x49a937=_0x344cc3[_0x37b8d6(0x240)]-0x1,_0x17ad2c;_0x49a937>=0x0;_0x49a937--)(_0x17ad2c=_0x344cc3[_0x49a937])&&(_0x568da0=_0x17ad2c(_0x568da0)||_0x568da0);return _0x568da0;},qt=(_0x549952,_0x538b72)=>(_0x3403f1,_0xfa6e37)=>_0x538b72(_0x3403f1,_0xfa6e37,_0x549952);let ke=class extends A[_0xc2e6c0(0x2b5)]{constructor(_0x265c0a){const _0x207525=_0xc2e6c0;super(),this[_0x207525(0x223)]=_0x265c0a;}[_0xc2e6c0(0x315)](_0x324e41){const _0x2559cb=_0xc2e6c0;var _0x25727f;const _0x440e9d=(_0x25727f=this[_0x2559cb(0x223)]['getConfig'](fe))==null?void 0x0:_0x25727f[_0x2559cb(0x288)];try{const _0x2ea754=new $t(_0x324e41,{'headers':{..._0x440e9d}}),_0x597981=new A[(_0x2559cb(0x18f))]();return{'URL':_0x324e41,'close':(_0x2f202f,_0x48e14c)=>{const _0x13a5ed=_0x2559cb;_0x2ea754[_0x13a5ed(0x2e5)](_0x2f202f,_0x48e14c),_0x597981[_0x13a5ed(0x28a)]();},'send':_0x410a56=>{const _0x76276f=_0x2559cb;_0x2ea754[_0x76276f(0x161)](_0x410a56);},'open$':new V[(_0x2559cb(0x21a))](_0xd29593=>{const _0x4481f3=_0x2559cb,_0x28e4e5=_0x1e0437=>_0xd29593[_0x4481f3(0x231)](_0x1e0437);_0x2ea754[_0x4481f3(0x176)](_0x4481f3(0x15a),_0x28e4e5),_0x597981[_0x4481f3(0x2d8)](A[_0x4481f3(0x2ac)](()=>_0x2ea754['removeEventListener']('open',_0x28e4e5)));})[_0x2559cb(0x1fe)](V[_0x2559cb(0x1ef)]()),'close$':new V['Observable'](_0x7189a0=>{const _0x4327e5=_0x2559cb,_0xd8fa25=_0x1c9ba2=>_0x7189a0['next'](_0x1c9ba2);_0x2ea754[_0x4327e5(0x176)](_0x4327e5(0x2e5),_0xd8fa25),_0x597981[_0x4327e5(0x2d8)](A[_0x4327e5(0x2ac)](()=>_0x2ea754[_0x4327e5(0x1eb)](_0x4327e5(0x2e5),_0xd8fa25)));})['pipe'](V['share']()),'error$':new V[(_0x2559cb(0x21a))](_0x356afa=>{const _0x63b837=_0x2559cb,_0x4da4e7=_0x42ed1d=>_0x356afa[_0x63b837(0x231)](_0x42ed1d);_0x2ea754[_0x63b837(0x176)]('error',_0x4da4e7),_0x597981[_0x63b837(0x2d8)](A[_0x63b837(0x2ac)](()=>_0x2ea754['removeEventListener'](_0x63b837(0x21d),_0x4da4e7)));})[_0x2559cb(0x1fe)](V[_0x2559cb(0x1ef)]()),'message$':new V[(_0x2559cb(0x21a))](_0x44b970=>{const _0x36f0c1=_0x2559cb,_0x577697=_0x243858=>_0x44b970[_0x36f0c1(0x231)](_0x243858);_0x2ea754[_0x36f0c1(0x176)](_0x36f0c1(0x174),_0x577697),_0x597981[_0x36f0c1(0x2d8)](A['toDisposable'](()=>_0x2ea754[_0x36f0c1(0x1eb)]('message',_0x577697)));})[_0x2559cb(0x1fe)](V[_0x2559cb(0x1ef)]())};}catch(_0x3d9749){return console[_0x2559cb(0x21d)](_0x3d9749),null;}}};ke=Wt([qt(0x0,A[_0xc2e6c0(0x2c2)])],ke);var Gt=Object[_0xc2e6c0(0x259)],Vt=Object[_0xc2e6c0(0x17f)],Ht=(_0x21bb74,_0x15e107,_0x431793)=>_0x15e107 in _0x21bb74?Gt(_0x21bb74,_0x15e107,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x431793}):_0x21bb74[_0x15e107]=_0x431793,zt=(_0x1d0ee5,_0x2ba0c0,_0x33ffab,_0x4fbbc4)=>{for(var _0x21d39b=_0x4fbbc4>0x1?void 0x0:_0x4fbbc4?Vt(_0x2ba0c0,_0x33ffab):_0x2ba0c0,_0x488edc=_0x1d0ee5['length']-0x1,_0x5f1cd6;_0x488edc>=0x0;_0x488edc--)(_0x5f1cd6=_0x1d0ee5[_0x488edc])&&(_0x21d39b=_0x5f1cd6(_0x21d39b)||_0x21d39b);return _0x21d39b;},Ne=(_0x58f105,_0x12cc71)=>(_0x45fce0,_0x491f4e)=>_0x12cc71(_0x45fce0,_0x491f4e,_0x58f105),Yt=(_0x292049,_0x1044e1,_0x462b09)=>Ht(_0x292049,_0x1044e1+'',_0x462b09);exports['UniverCollaborationClientNodePlugin']=class extends A[_0xc2e6c0(0x155)]{constructor(_0x1d2687=Ct,_0x3940d8,_0x59ebdf,_0x408ba0){const _0x2a6e54=_0xc2e6c0;_0x1d2687[_0x2a6e54(0x288)]||_0x3940d8[_0x2a6e54(0x17e)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x2a6e54(0x223)]=_0x59ebdf,this[_0x2a6e54(0x270)]=_0x408ba0,this['_configService'][_0x2a6e54(0x312)](fe,_0x1d2687);}[_0xc2e6c0(0x2d3)](){const _0x594553=_0xc2e6c0;this[_0x594553(0x264)]();}[_0xc2e6c0(0x264)](){const _0x48ae5e=_0xc2e6c0;A['registerDependencies'](this[_0x48ae5e(0x270)],[[it[_0x48ae5e(0x25f)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0xc2e6c0(0x29e),_0xc2e6c0(0x1fa)),exports[_0xc2e6c0(0x2af)]=zt([A[_0xc2e6c0(0x308)](st[_0xc2e6c0(0x1bf)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0xc2e6c0(0x2c2)]),Ne(0x3,A[_0xc2e6c0(0x30d)](A[_0xc2e6c0(0x1dd)]))],exports[_0xc2e6c0(0x2af)]);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x2e41ea,_0x3ca9f5,_0x4ddbc9,_0x41256e)=>{const _0x3be124=_0xc2e6c0;for(var _0x922a33=_0x41256e>0x1?void 0x0:_0x41256e?Kt(_0x3ca9f5,_0x4ddbc9):_0x3ca9f5,_0x2bd096=_0x2e41ea[_0x3be124(0x240)]-0x1,_0x3ad33a;_0x2bd096>=0x0;_0x2bd096--)(_0x3ad33a=_0x2e41ea[_0x2bd096])&&(_0x922a33=_0x3ad33a(_0x922a33)||_0x922a33);return _0x922a33;},ne=(_0x186ead,_0x3ed868)=>(_0x4949bf,_0x2a3fc8)=>_0x3ed868(_0x4949bf,_0x2a3fc8,_0x186ead);exports[_0xc2e6c0(0x1d6)]=class extends st[_0xc2e6c0(0x1b5)]{constructor(_0x3b6a93,_0x3ea08d,_0x4954d8,_0x1e0eb6,_0x37f6ad){const _0x92c866=_0xc2e6c0;super(_0x3b6a93,_0x3ea08d,_0x4954d8,_0x1e0eb6,_0x37f6ad);const _0x2d133d=this[_0x92c866(0x223)][_0x92c866(0x20f)](fe);this[_0x92c866(0x230)][_0x92c866(0x1bc)]({'interceptor':(_0x58c3fb,_0x360d56)=>{const _0x3c83ca=_0x92c866;var _0x2cf15f;const _0x30ad70=_0x58c3fb[_0x3c83ca(0x1ce)];return(_0x2cf15f=_0x2d133d==null?void 0x0:_0x2d133d[_0x3c83ca(0x288)])!=null&&_0x2cf15f[_0x3c83ca(0x168)]&&_0x30ad70['set'](_0x3c83ca(0x2b4),_0x2d133d['customHeaders'][_0x3c83ca(0x168)]),_0x360d56(_0x58c3fb);}});}async[_0xc2e6c0(0x315)](_0xeb4ccc){const _0x5930f0=_0xc2e6c0;return this[_0x5930f0(0x20a)](_0xeb4ccc);}},exports[_0xc2e6c0(0x1d6)]=Xt([ne(0x0,A[_0xc2e6c0(0x30d)](A[_0xc2e6c0(0x1dd)])),ne(0x1,A[_0xc2e6c0(0x30d)](it[_0xc2e6c0(0x2a6)])),ne(0x2,A[_0xc2e6c0(0x2c2)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0xc2e6c0(0x29b)])],exports[_0xc2e6c0(0x1d6)]),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
|