@univerjs-pro/collaboration-client-node 0.8.0-nightly.202506041607 → 0.8.0-nightly.202506051607

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/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x32a070=_0x4ae5;(function(_0x1eca6a,_0x3e680a){const _0x1f4c81=_0x4ae5,_0x5b6906=_0x1eca6a();while(!![]){try{const _0x19de8d=parseInt(_0x1f4c81(0x1b0))/0x1*(-parseInt(_0x1f4c81(0x144))/0x2)+-parseInt(_0x1f4c81(0x26d))/0x3*(-parseInt(_0x1f4c81(0x18e))/0x4)+-parseInt(_0x1f4c81(0x266))/0x5+-parseInt(_0x1f4c81(0x2b1))/0x6*(parseInt(_0x1f4c81(0x166))/0x7)+parseInt(_0x1f4c81(0x1c3))/0x8+parseInt(_0x1f4c81(0x294))/0x9+parseInt(_0x1f4c81(0x1d3))/0xa*(-parseInt(_0x1f4c81(0x2c2))/0xb);if(_0x19de8d===_0x3e680a)break;else _0x5b6906['push'](_0x5b6906['shift']());}catch(_0x724691){_0x5b6906['push'](_0x5b6906['shift']());}}}(_0x9601,0x3966d));import{UniverCollaborationClientPlugin as _0x396c83,CollaborationSocketService as _0x390f33}from'@univerjs-pro/collaboration-client';import{Disposable as _0x532dd0,DisposableCollection as _0xbd47f3,toDisposable as _0xc2ed31,IConfigService as _0x1d6a66,DependentOn as _0x2d031b,ILogService as _0x276508,Inject as _0x2c76aa,Injector as _0x2a56eb,Plugin as _0x221e6d,registerDependencies as _0x3d5f49}from'@univerjs/core';import{ISocketService as _0x1f733c,HTTPService as _0x3b09ec}from'@univerjs/network';import{Observable as _0x5c6c0,share as _0x247dcc}from'rxjs';import _0x2b7f63 from'events';import _0xa9f3d9 from'https';import _0x177bde from'http';import _0xfedf7 from'net';import _0x2b9d98 from'tls';import _0x5465c6 from'crypto';import _0x39c306 from'stream';import _0x1b3dab from'url';import _0x541dd0 from'zlib';import _0x5f308c from'buffer';import{ISnapshotServerService as _0x9e3777}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function jt(_0x525944){const _0x4aa15c=_0x4ae5;return _0x525944&&_0x525944[_0x4aa15c(0x14f)]&&Object[_0x4aa15c(0x19c)][_0x4aa15c(0x250)][_0x4aa15c(0x218)](_0x525944,_0x4aa15c(0x1fa))?_0x525944['default']:_0x525944;}function ut(_0x24c717){const _0x23b133=_0x4ae5;if(Object[_0x23b133(0x19c)][_0x23b133(0x250)]['call'](_0x24c717,'__esModule'))return _0x24c717;var _0x3f3311=_0x24c717[_0x23b133(0x1fa)];if(typeof _0x3f3311==_0x23b133(0x1ed)){var _0x26eceb=function _0x268817(){const _0x103203=_0x23b133;return this instanceof _0x268817?Reflect[_0x103203(0x22b)](_0x3f3311,arguments,this[_0x103203(0x28a)]):_0x3f3311[_0x103203(0x1c0)](this,arguments);};_0x26eceb[_0x23b133(0x19c)]=_0x3f3311[_0x23b133(0x19c)];}else _0x26eceb={};return Object[_0x23b133(0x25c)](_0x26eceb,_0x23b133(0x14f),{'value':!0x0}),Object[_0x23b133(0x155)](_0x24c717)[_0x23b133(0x14c)](function(_0x573387){const _0x479534=_0x23b133;var _0x259e14=Object[_0x479534(0x2a5)](_0x24c717,_0x573387);Object['defineProperty'](_0x26eceb,_0x573387,_0x259e14[_0x479534(0x290)]?_0x259e14:{'enumerable':!0x0,'get':function(){return _0x24c717[_0x573387];}});}),_0x26eceb;}var te={'exports':{}},ge,Ye;function V(){const _0x4cf716=_0x4ae5;if(Ye)return ge;Ye=0x1;const _0x3e8280=[_0x4cf716(0x256),_0x4cf716(0x232),'fragments'],_0x633612=typeof Blob<'u';return _0x633612&&_0x3e8280[_0x4cf716(0x1b2)](_0x4cf716(0x27b)),ge={'BINARY_TYPES':_0x3e8280,'EMPTY_BUFFER':Buffer[_0x4cf716(0x156)](0x0),'GUID':_0x4cf716(0x20a),'hasBlob':_0x633612,'kForOnEventAttribute':Symbol(_0x4cf716(0x191)),'kListener':Symbol(_0x4cf716(0x190)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x4cf716(0x278)),'NOOP':()=>{}},ge;}function _0x4ae5(_0x15c3df,_0x309822){const _0x960189=_0x9601();return _0x4ae5=function(_0x4ae5af,_0xa2964e){_0x4ae5af=_0x4ae5af-0x134;let _0x4a1729=_0x960189[_0x4ae5af];return _0x4a1729;},_0x4ae5(_0x15c3df,_0x309822);}const Wt={},Gt=Object[_0x32a070(0x27c)](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol[_0x32a070(0x25e)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x5ac76e=_0x32a070;if(Ke)return te[_0x5ac76e(0x2dc)];Ke=0x1;const {EMPTY_BUFFER:_0x3a2428}=V(),_0x2f909a=Buffer[Symbol[_0x5ac76e(0x253)]];function _0x5ee867(_0x5cb248,_0x43ec7b){const _0x18a97a=_0x5ac76e;if(_0x5cb248['length']===0x0)return _0x3a2428;if(_0x5cb248[_0x18a97a(0x174)]===0x1)return _0x5cb248[0x0];const _0x53cfd5=Buffer['allocUnsafe'](_0x43ec7b);let _0x5bedab=0x0;for(let _0x52e1ef=0x0;_0x52e1ef<_0x5cb248[_0x18a97a(0x174)];_0x52e1ef++){const _0x55fc3e=_0x5cb248[_0x52e1ef];_0x53cfd5['set'](_0x55fc3e,_0x5bedab),_0x5bedab+=_0x55fc3e['length'];}return _0x5bedab<_0x43ec7b?new _0x2f909a(_0x53cfd5[_0x18a97a(0x1d9)],_0x53cfd5[_0x18a97a(0x261)],_0x5bedab):_0x53cfd5;}function _0xf568a9(_0x507662,_0x1925b6,_0x39cb5a,_0x42f5da,_0x4eb12a){for(let _0x149c47=0x0;_0x149c47<_0x4eb12a;_0x149c47++)_0x39cb5a[_0x42f5da+_0x149c47]=_0x507662[_0x149c47]^_0x1925b6[_0x149c47&0x3];}function _0x5ce0c1(_0x590618,_0x5d8057){for(let _0x331387=0x0;_0x331387<_0x590618['length'];_0x331387++)_0x590618[_0x331387]^=_0x5d8057[_0x331387&0x3];}function _0x317a98(_0x16e240){const _0x25f14b=_0x5ac76e;return _0x16e240['length']===_0x16e240['buffer'][_0x25f14b(0x148)]?_0x16e240[_0x25f14b(0x1d9)]:_0x16e240[_0x25f14b(0x1d9)][_0x25f14b(0x223)](_0x16e240[_0x25f14b(0x261)],_0x16e240[_0x25f14b(0x261)]+_0x16e240[_0x25f14b(0x174)]);}function _0x163a96(_0x1d2bce){const _0x552cd3=_0x5ac76e;if(_0x163a96['readOnly']=!0x0,Buffer[_0x552cd3(0x2a7)](_0x1d2bce))return _0x1d2bce;let _0x175ed9;return _0x1d2bce instanceof ArrayBuffer?_0x175ed9=new _0x2f909a(_0x1d2bce):ArrayBuffer['isView'](_0x1d2bce)?_0x175ed9=new _0x2f909a(_0x1d2bce[_0x552cd3(0x1d9)],_0x1d2bce['byteOffset'],_0x1d2bce[_0x552cd3(0x148)]):(_0x175ed9=Buffer[_0x552cd3(0x2c8)](_0x1d2bce),_0x163a96[_0x552cd3(0x2bb)]=!0x1),_0x175ed9;}if(te[_0x5ac76e(0x2dc)]={'concat':_0x5ee867,'mask':_0xf568a9,'toArrayBuffer':_0x317a98,'toBuffer':_0x163a96,'unmask':_0x5ce0c1},!process[_0x5ac76e(0x245)][_0x5ac76e(0x1a3)])try{const _0x32752c=Vt;te[_0x5ac76e(0x2dc)]['mask']=function(_0x348045,_0x49db2e,_0x139036,_0x50e597,_0x18bb54){_0x18bb54<0x30?_0xf568a9(_0x348045,_0x49db2e,_0x139036,_0x50e597,_0x18bb54):_0x32752c['mask'](_0x348045,_0x49db2e,_0x139036,_0x50e597,_0x18bb54);},te[_0x5ac76e(0x2dc)]['unmask']=function(_0x59b2cc,_0x2e0685){const _0x36dd45=_0x5ac76e;_0x59b2cc[_0x36dd45(0x174)]<0x20?_0x5ce0c1(_0x59b2cc,_0x2e0685):_0x32752c[_0x36dd45(0x20c)](_0x59b2cc,_0x2e0685);};}catch{}return te[_0x5ac76e(0x2dc)];}var ye,Xe;function qt(){const _0x3e559d=_0x32a070;if(Xe)return ye;Xe=0x1;const _0x9f18e7=Symbol('kDone'),_0x5326b6=Symbol(_0x3e559d(0x296));class _0x4f3ecb{constructor(_0x1b03a5){const _0x3f168f=_0x3e559d;this[_0x9f18e7]=()=>{const _0x364782=_0x4ae5;this[_0x364782(0x1e4)]--,this[_0x5326b6]();},this[_0x3f168f(0x262)]=_0x1b03a5||0x1/0x0,this[_0x3f168f(0x1d4)]=[],this[_0x3f168f(0x1e4)]=0x0;}[_0x3e559d(0x22a)](_0xdbaa42){const _0x2fc95d=_0x3e559d;this[_0x2fc95d(0x1d4)][_0x2fc95d(0x1b2)](_0xdbaa42),this[_0x5326b6]();}[_0x5326b6](){const _0x19e024=_0x3e559d;if(this['pending']!==this[_0x19e024(0x262)]&&this[_0x19e024(0x1d4)][_0x19e024(0x174)]){const _0x596685=this[_0x19e024(0x1d4)][_0x19e024(0x2b4)]();this['pending']++,_0x596685(this[_0x9f18e7]);}}}return ye=_0x4f3ecb,ye;}var ve,Ze;function he(){const _0x35b9dd=_0x32a070;if(Ze)return ve;Ze=0x1;const _0x4b2ae9=_0x541dd0,_0x380e79=ce(),_0x32cb7c=qt(),{kStatusCode:_0xf520a7}=V(),_0x459da5=Buffer[Symbol[_0x35b9dd(0x253)]],_0x27185d=Buffer[_0x35b9dd(0x2c8)]([0x0,0x0,0xff,0xff]),_0x100b69=Symbol(_0x35b9dd(0x15d)),_0x4304b7=Symbol(_0x35b9dd(0x1ac)),_0xc96b1b=Symbol(_0x35b9dd(0x298)),_0x4907e2=Symbol(_0x35b9dd(0x237)),_0x2f4ffb=Symbol(_0x35b9dd(0x23c));let _0x3c5b4d;class _0x18da6d{constructor(_0x215d00,_0x39e8a1,_0x1af5b0){const _0x48b5e3=_0x35b9dd;if(this[_0x48b5e3(0x173)]=_0x1af5b0|0x0,this[_0x48b5e3(0x16e)]=_0x215d00||{},this[_0x48b5e3(0x165)]=this[_0x48b5e3(0x16e)][_0x48b5e3(0x1f5)]!==void 0x0?this[_0x48b5e3(0x16e)][_0x48b5e3(0x1f5)]:0x400,this[_0x48b5e3(0x145)]=!!_0x39e8a1,this['_deflate']=null,this[_0x48b5e3(0x1ad)]=null,this[_0x48b5e3(0x197)]=null,!_0x3c5b4d){const _0x5b78c9=this[_0x48b5e3(0x16e)][_0x48b5e3(0x21f)]!==void 0x0?this['_options'][_0x48b5e3(0x21f)]:0xa;_0x3c5b4d=new _0x32cb7c(_0x5b78c9);}}static get[_0x35b9dd(0x201)](){return'permessage-deflate';}['offer'](){const _0x1a62fd=_0x35b9dd,_0x5243e8={};return this[_0x1a62fd(0x16e)][_0x1a62fd(0x17a)]&&(_0x5243e8[_0x1a62fd(0x224)]=!0x0),this[_0x1a62fd(0x16e)][_0x1a62fd(0x17f)]&&(_0x5243e8[_0x1a62fd(0x1f7)]=!0x0),this[_0x1a62fd(0x16e)][_0x1a62fd(0x18c)]&&(_0x5243e8[_0x1a62fd(0x136)]=this[_0x1a62fd(0x16e)][_0x1a62fd(0x18c)]),this[_0x1a62fd(0x16e)][_0x1a62fd(0x1d8)]?_0x5243e8[_0x1a62fd(0x1dc)]=this[_0x1a62fd(0x16e)]['clientMaxWindowBits']:this['_options']['clientMaxWindowBits']==null&&(_0x5243e8['client_max_window_bits']=!0x0),_0x5243e8;}[_0x35b9dd(0x1da)](_0x41b71a){const _0x26a053=_0x35b9dd;return _0x41b71a=this[_0x26a053(0x21b)](_0x41b71a),this[_0x26a053(0x197)]=this['_isServer']?this[_0x26a053(0x2ce)](_0x41b71a):this[_0x26a053(0x299)](_0x41b71a),this[_0x26a053(0x197)];}[_0x35b9dd(0x2ba)](){const _0x442197=_0x35b9dd;if(this['_inflate']&&(this['_inflate'][_0x442197(0x203)](),this['_inflate']=null),this['_deflate']){const _0x45f8a2=this['_deflate'][_0xc96b1b];this[_0x442197(0x235)][_0x442197(0x203)](),this[_0x442197(0x235)]=null,_0x45f8a2&&_0x45f8a2(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x35b9dd(0x2ce)](_0xd5f322){const _0x1afe84=_0x35b9dd,_0xabd897=this['_options'],_0x4f3a1c=_0xd5f322[_0x1afe84(0x24f)](_0x4ca009=>!(_0xabd897[_0x1afe84(0x17a)]===!0x1&&_0x4ca009[_0x1afe84(0x224)]||_0x4ca009['server_max_window_bits']&&(_0xabd897[_0x1afe84(0x18c)]===!0x1||typeof _0xabd897[_0x1afe84(0x18c)]==_0x1afe84(0x28e)&&_0xabd897[_0x1afe84(0x18c)]>_0x4ca009[_0x1afe84(0x136)])||typeof _0xabd897[_0x1afe84(0x1d8)]==_0x1afe84(0x28e)&&!_0x4ca009[_0x1afe84(0x1dc)]));if(!_0x4f3a1c)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0xabd897[_0x1afe84(0x17a)]&&(_0x4f3a1c[_0x1afe84(0x224)]=!0x0),_0xabd897[_0x1afe84(0x17f)]&&(_0x4f3a1c[_0x1afe84(0x1f7)]=!0x0),typeof _0xabd897[_0x1afe84(0x18c)]==_0x1afe84(0x28e)&&(_0x4f3a1c[_0x1afe84(0x136)]=_0xabd897[_0x1afe84(0x18c)]),typeof _0xabd897[_0x1afe84(0x1d8)]=='number'?_0x4f3a1c['client_max_window_bits']=_0xabd897['clientMaxWindowBits']:(_0x4f3a1c[_0x1afe84(0x1dc)]===!0x0||_0xabd897[_0x1afe84(0x1d8)]===!0x1)&&delete _0x4f3a1c['client_max_window_bits'],_0x4f3a1c;}[_0x35b9dd(0x299)](_0x5b9860){const _0x2f53b2=_0x35b9dd,_0xc29f75=_0x5b9860[0x0];if(this[_0x2f53b2(0x16e)][_0x2f53b2(0x17f)]===!0x1&&_0xc29f75[_0x2f53b2(0x1f7)])throw new Error(_0x2f53b2(0x1ba));if(!_0xc29f75[_0x2f53b2(0x1dc)])typeof this[_0x2f53b2(0x16e)]['clientMaxWindowBits']==_0x2f53b2(0x28e)&&(_0xc29f75['client_max_window_bits']=this['_options']['clientMaxWindowBits']);else{if(this[_0x2f53b2(0x16e)]['clientMaxWindowBits']===!0x1||typeof this[_0x2f53b2(0x16e)][_0x2f53b2(0x1d8)]==_0x2f53b2(0x28e)&&_0xc29f75[_0x2f53b2(0x1dc)]>this[_0x2f53b2(0x16e)][_0x2f53b2(0x1d8)])throw new Error(_0x2f53b2(0x21d));}return _0xc29f75;}[_0x35b9dd(0x21b)](_0x4fb09f){return _0x4fb09f['forEach'](_0x201bed=>{const _0x4b8761=_0x4ae5;Object['keys'](_0x201bed)[_0x4b8761(0x14c)](_0x1c4c1d=>{const _0x2ed95f=_0x4b8761;let _0x3dab7e=_0x201bed[_0x1c4c1d];if(_0x3dab7e['length']>0x1)throw new Error('Parameter\x20\x22'+_0x1c4c1d+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x3dab7e=_0x3dab7e[0x0],_0x1c4c1d==='client_max_window_bits'){if(_0x3dab7e!==!0x0){const _0x63783=+_0x3dab7e;if(!Number[_0x2ed95f(0x1ee)](_0x63783)||_0x63783<0x8||_0x63783>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1c4c1d+_0x2ed95f(0x147)+_0x3dab7e);_0x3dab7e=_0x63783;}else{if(!this[_0x2ed95f(0x145)])throw new TypeError(_0x2ed95f(0x274)+_0x1c4c1d+_0x2ed95f(0x147)+_0x3dab7e);}}else{if(_0x1c4c1d===_0x2ed95f(0x136)){const _0x189dc7=+_0x3dab7e;if(!Number['isInteger'](_0x189dc7)||_0x189dc7<0x8||_0x189dc7>0xf)throw new TypeError(_0x2ed95f(0x274)+_0x1c4c1d+_0x2ed95f(0x147)+_0x3dab7e);_0x3dab7e=_0x189dc7;}else{if(_0x1c4c1d===_0x2ed95f(0x1f7)||_0x1c4c1d===_0x2ed95f(0x224)){if(_0x3dab7e!==!0x0)throw new TypeError(_0x2ed95f(0x274)+_0x1c4c1d+'\x22:\x20'+_0x3dab7e);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x1c4c1d+'\x22');}}_0x201bed[_0x1c4c1d]=_0x3dab7e;});}),_0x4fb09f;}[_0x35b9dd(0x2bd)](_0x183589,_0x45b2d3,_0x3c22b3){const _0x5f4792=_0x35b9dd;_0x3c5b4d[_0x5f4792(0x22a)](_0x2dbcde=>{const _0x10fba2=_0x5f4792;this[_0x10fba2(0x2b6)](_0x183589,_0x45b2d3,(_0x3e42a8,_0x9c666d)=>{_0x2dbcde(),_0x3c22b3(_0x3e42a8,_0x9c666d);});});}[_0x35b9dd(0x179)](_0x343a27,_0x3727cb,_0x20c36b){const _0x31dca3=_0x35b9dd;_0x3c5b4d[_0x31dca3(0x22a)](_0xa273cb=>{this['_compress'](_0x343a27,_0x3727cb,(_0x1a7fb5,_0x554673)=>{_0xa273cb(),_0x20c36b(_0x1a7fb5,_0x554673);});});}[_0x35b9dd(0x2b6)](_0x2a9252,_0x225683,_0x4c6376){const _0x28874a=_0x35b9dd,_0x3c9292=this[_0x28874a(0x145)]?'client':_0x28874a(0x172);if(!this['_inflate']){const _0x539619=_0x3c9292+_0x28874a(0x228),_0x530ed9=typeof this[_0x28874a(0x197)][_0x539619]!='number'?_0x4b2ae9[_0x28874a(0x2b0)]:this['params'][_0x539619];this['_inflate']=_0x4b2ae9['createInflateRaw']({...this[_0x28874a(0x16e)]['zlibInflateOptions'],'windowBits':_0x530ed9}),this['_inflate'][_0x100b69]=this,this[_0x28874a(0x1ad)][_0x4304b7]=0x0,this[_0x28874a(0x1ad)][_0x4907e2]=[],this[_0x28874a(0x1ad)]['on']('error',_0x2ecc2d),this[_0x28874a(0x1ad)]['on'](_0x28874a(0x27f),_0x3ef5e6);}this['_inflate'][_0xc96b1b]=_0x4c6376,this[_0x28874a(0x1ad)][_0x28874a(0x1ec)](_0x2a9252),_0x225683&&this[_0x28874a(0x1ad)][_0x28874a(0x1ec)](_0x27185d),this['_inflate']['flush'](()=>{const _0x23d344=_0x28874a,_0x1b794c=this[_0x23d344(0x1ad)][_0x2f4ffb];if(_0x1b794c){this[_0x23d344(0x1ad)][_0x23d344(0x203)](),this[_0x23d344(0x1ad)]=null,_0x4c6376(_0x1b794c);return;}const _0x25d4c5=_0x380e79[_0x23d344(0x26f)](this[_0x23d344(0x1ad)][_0x4907e2],this[_0x23d344(0x1ad)][_0x4304b7]);this[_0x23d344(0x1ad)][_0x23d344(0x25b)][_0x23d344(0x26c)]?(this[_0x23d344(0x1ad)]['close'](),this[_0x23d344(0x1ad)]=null):(this[_0x23d344(0x1ad)][_0x4304b7]=0x0,this[_0x23d344(0x1ad)][_0x4907e2]=[],_0x225683&&this[_0x23d344(0x197)][_0x3c9292+_0x23d344(0x214)]&&this[_0x23d344(0x1ad)][_0x23d344(0x157)]()),_0x4c6376(null,_0x25d4c5);});}[_0x35b9dd(0x13d)](_0x44379b,_0x2a2979,_0x51c188){const _0x4359fd=_0x35b9dd,_0xcaeb70=this[_0x4359fd(0x145)]?_0x4359fd(0x172):_0x4359fd(0x2d8);if(!this[_0x4359fd(0x235)]){const _0x51e185=_0xcaeb70+_0x4359fd(0x228),_0x51710e=typeof this[_0x4359fd(0x197)][_0x51e185]!=_0x4359fd(0x28e)?_0x4b2ae9['Z_DEFAULT_WINDOWBITS']:this[_0x4359fd(0x197)][_0x51e185];this[_0x4359fd(0x235)]=_0x4b2ae9['createDeflateRaw']({...this[_0x4359fd(0x16e)]['zlibDeflateOptions'],'windowBits':_0x51710e}),this[_0x4359fd(0x235)][_0x4304b7]=0x0,this[_0x4359fd(0x235)][_0x4907e2]=[],this[_0x4359fd(0x235)]['on'](_0x4359fd(0x27f),_0xd4e40c);}this[_0x4359fd(0x235)][_0xc96b1b]=_0x51c188,this[_0x4359fd(0x235)][_0x4359fd(0x1ec)](_0x44379b),this['_deflate']['flush'](_0x4b2ae9['Z_SYNC_FLUSH'],()=>{const _0x40eda1=_0x4359fd;if(!this[_0x40eda1(0x235)])return;let _0x58b9de=_0x380e79[_0x40eda1(0x26f)](this[_0x40eda1(0x235)][_0x4907e2],this[_0x40eda1(0x235)][_0x4304b7]);_0x2a2979&&(_0x58b9de=new _0x459da5(_0x58b9de[_0x40eda1(0x1d9)],_0x58b9de[_0x40eda1(0x261)],_0x58b9de['length']-0x4)),this[_0x40eda1(0x235)][_0xc96b1b]=null,this[_0x40eda1(0x235)][_0x4304b7]=0x0,this[_0x40eda1(0x235)][_0x4907e2]=[],_0x2a2979&&this['params'][_0xcaeb70+_0x40eda1(0x214)]&&this[_0x40eda1(0x235)][_0x40eda1(0x157)](),_0x51c188(null,_0x58b9de);});}}ve=_0x18da6d;function _0xd4e40c(_0x569eae){const _0x3576eb=_0x35b9dd;this[_0x4907e2]['push'](_0x569eae),this[_0x4304b7]+=_0x569eae[_0x3576eb(0x174)];}function _0x3ef5e6(_0x3d9a0b){const _0x1e40fa=_0x35b9dd;if(this[_0x4304b7]+=_0x3d9a0b[_0x1e40fa(0x174)],this[_0x100b69][_0x1e40fa(0x173)]<0x1||this[_0x4304b7]<=this[_0x100b69][_0x1e40fa(0x173)]){this[_0x4907e2][_0x1e40fa(0x1b2)](_0x3d9a0b);return;}this[_0x2f4ffb]=new RangeError(_0x1e40fa(0x23b)),this[_0x2f4ffb][_0x1e40fa(0x2ac)]=_0x1e40fa(0x194),this[_0x2f4ffb][_0xf520a7]=0x3f1,this[_0x1e40fa(0x160)]('data',_0x3ef5e6),this[_0x1e40fa(0x157)]();}function _0x2ecc2d(_0x1fa375){const _0xabb7bc=_0x35b9dd;if(this[_0x100b69][_0xabb7bc(0x1ad)]=null,this[_0x2f4ffb]){this[_0xc96b1b](this[_0x2f4ffb]);return;}_0x1fa375[_0xf520a7]=0x3ef,this[_0xc96b1b](_0x1fa375);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0x32a070(0x25c)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x32a070(0x13e)})),Yt=ut(zt);var Qe;function ne(){const _0x4e7db7=_0x32a070;if(Qe)return re[_0x4e7db7(0x2dc)];Qe=0x1;const {isUtf8:_0x398d57}=_0x5f308c,{hasBlob:_0x30de16}=V(),_0x5008aa=[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 _0x15890e(_0x231ef7){return _0x231ef7>=0x3e8&&_0x231ef7<=0x3f6&&_0x231ef7!==0x3ec&&_0x231ef7!==0x3ed&&_0x231ef7!==0x3ee||_0x231ef7>=0xbb8&&_0x231ef7<=0x1387;}function _0xf9fa6d(_0x562cbf){const _0x257ce9=_0x4e7db7,_0x23d353=_0x562cbf[_0x257ce9(0x174)];let _0x2d7fbe=0x0;for(;_0x2d7fbe<_0x23d353;)if((_0x562cbf[_0x2d7fbe]&0x80)===0x0)_0x2d7fbe++;else{if((_0x562cbf[_0x2d7fbe]&0xe0)===0xc0){if(_0x2d7fbe+0x1===_0x23d353||(_0x562cbf[_0x2d7fbe+0x1]&0xc0)!==0x80||(_0x562cbf[_0x2d7fbe]&0xfe)===0xc0)return!0x1;_0x2d7fbe+=0x2;}else{if((_0x562cbf[_0x2d7fbe]&0xf0)===0xe0){if(_0x2d7fbe+0x2>=_0x23d353||(_0x562cbf[_0x2d7fbe+0x1]&0xc0)!==0x80||(_0x562cbf[_0x2d7fbe+0x2]&0xc0)!==0x80||_0x562cbf[_0x2d7fbe]===0xe0&&(_0x562cbf[_0x2d7fbe+0x1]&0xe0)===0x80||_0x562cbf[_0x2d7fbe]===0xed&&(_0x562cbf[_0x2d7fbe+0x1]&0xe0)===0xa0)return!0x1;_0x2d7fbe+=0x3;}else{if((_0x562cbf[_0x2d7fbe]&0xf8)===0xf0){if(_0x2d7fbe+0x3>=_0x23d353||(_0x562cbf[_0x2d7fbe+0x1]&0xc0)!==0x80||(_0x562cbf[_0x2d7fbe+0x2]&0xc0)!==0x80||(_0x562cbf[_0x2d7fbe+0x3]&0xc0)!==0x80||_0x562cbf[_0x2d7fbe]===0xf0&&(_0x562cbf[_0x2d7fbe+0x1]&0xf0)===0x80||_0x562cbf[_0x2d7fbe]===0xf4&&_0x562cbf[_0x2d7fbe+0x1]>0x8f||_0x562cbf[_0x2d7fbe]>0xf4)return!0x1;_0x2d7fbe+=0x4;}else return!0x1;}}}return!0x0;}function _0x4d70b9(_0x2697a5){const _0x3924f8=_0x4e7db7;return _0x30de16&&typeof _0x2697a5==_0x3924f8(0x1ab)&&typeof _0x2697a5[_0x3924f8(0x23e)]==_0x3924f8(0x1ed)&&typeof _0x2697a5[_0x3924f8(0x26b)]==_0x3924f8(0x212)&&typeof _0x2697a5[_0x3924f8(0x229)]=='function'&&(_0x2697a5[Symbol['toStringTag']]===_0x3924f8(0x1e2)||_0x2697a5[Symbol[_0x3924f8(0x25e)]]==='File');}if(re[_0x4e7db7(0x2dc)]={'isBlob':_0x4d70b9,'isValidStatusCode':_0x15890e,'isValidUTF8':_0xf9fa6d,'tokenChars':_0x5008aa},_0x398d57)re[_0x4e7db7(0x2dc)][_0x4e7db7(0x200)]=function(_0x5282f9){const _0x1cae35=_0x4e7db7;return _0x5282f9[_0x1cae35(0x174)]<0x18?_0xf9fa6d(_0x5282f9):_0x398d57(_0x5282f9);};else{if(!process[_0x4e7db7(0x245)][_0x4e7db7(0x28b)])try{const _0x503cf6=Yt;re['exports'][_0x4e7db7(0x200)]=function(_0x3e69a2){const _0x332ebb=_0x4e7db7;return _0x3e69a2[_0x332ebb(0x174)]<0x20?_0xf9fa6d(_0x3e69a2):_0x503cf6(_0x3e69a2);};}catch{}}return re[_0x4e7db7(0x2dc)];}var Se,Je;function dt(){const _0x330a5b=_0x32a070;if(Je)return Se;Je=0x1;const {Writable:_0x1f56ff}=_0x39c306,_0x228ee2=he(),{BINARY_TYPES:_0x22d46f,EMPTY_BUFFER:_0x335fc0,kStatusCode:_0x1cc93a,kWebSocket:_0x28257b}=V(),{concat:_0x2b417b,toArrayBuffer:_0x3338ab,unmask:_0x4c2419}=ce(),{isValidStatusCode:_0x2e5159,isValidUTF8:_0x3dc31c}=ne(),_0x1a221e=Buffer[Symbol['species']],_0x3121ac=0x0,_0x28c286=0x1,_0x5c50f2=0x2,_0xd6e93b=0x3,_0x20c976=0x4,_0x3fcafd=0x5,_0xb9ce0=0x6;class _0x3fa365 extends _0x1f56ff{constructor(_0x2a6df6={}){const _0x59c390=_0x4ae5;super(),this[_0x59c390(0x23d)]=_0x2a6df6[_0x59c390(0x1c5)]!==void 0x0?_0x2a6df6['allowSynchronousEvents']:!0x0,this[_0x59c390(0x2d9)]=_0x2a6df6['binaryType']||_0x22d46f[0x0],this[_0x59c390(0x1aa)]=_0x2a6df6[_0x59c390(0x19d)]||{},this[_0x59c390(0x145)]=!!_0x2a6df6[_0x59c390(0x168)],this[_0x59c390(0x173)]=_0x2a6df6['maxPayload']|0x0,this[_0x59c390(0x243)]=!!_0x2a6df6[_0x59c390(0x1de)],this[_0x28257b]=void 0x0,this[_0x59c390(0x252)]=0x0,this[_0x59c390(0x280)]=[],this[_0x59c390(0x1a7)]=!0x1,this['_payloadLength']=0x0,this[_0x59c390(0x2cd)]=void 0x0,this[_0x59c390(0x1c6)]=0x0,this[_0x59c390(0x264)]=!0x1,this[_0x59c390(0x15e)]=!0x1,this[_0x59c390(0x19b)]=0x0,this['_totalPayloadLength']=0x0,this[_0x59c390(0x20f)]=0x0,this[_0x59c390(0x1b7)]=[],this[_0x59c390(0x239)]=!0x1,this[_0x59c390(0x164)]=!0x1,this[_0x59c390(0x1ae)]=_0x3121ac;}[_0x330a5b(0x257)](_0x197fae,_0x199a83,_0x11e32a){const _0x2f626b=_0x330a5b;if(this['_opcode']===0x8&&this[_0x2f626b(0x1ae)]==_0x3121ac)return _0x11e32a();this[_0x2f626b(0x252)]+=_0x197fae[_0x2f626b(0x174)],this[_0x2f626b(0x280)]['push'](_0x197fae),this[_0x2f626b(0x285)](_0x11e32a);}[_0x330a5b(0x18d)](_0x17f3a7){const _0x1213d2=_0x330a5b;if(this[_0x1213d2(0x252)]-=_0x17f3a7,_0x17f3a7===this[_0x1213d2(0x280)][0x0]['length'])return this[_0x1213d2(0x280)][_0x1213d2(0x2b4)]();if(_0x17f3a7<this[_0x1213d2(0x280)][0x0][_0x1213d2(0x174)]){const _0x23fbc6=this[_0x1213d2(0x280)][0x0];return this[_0x1213d2(0x280)][0x0]=new _0x1a221e(_0x23fbc6['buffer'],_0x23fbc6['byteOffset']+_0x17f3a7,_0x23fbc6[_0x1213d2(0x174)]-_0x17f3a7),new _0x1a221e(_0x23fbc6[_0x1213d2(0x1d9)],_0x23fbc6[_0x1213d2(0x261)],_0x17f3a7);}const _0x2ce0bf=Buffer[_0x1213d2(0x2c4)](_0x17f3a7);do{const _0x2f847a=this[_0x1213d2(0x280)][0x0],_0x27fddd=_0x2ce0bf['length']-_0x17f3a7;_0x17f3a7>=_0x2f847a[_0x1213d2(0x174)]?_0x2ce0bf[_0x1213d2(0x2c0)](this[_0x1213d2(0x280)]['shift'](),_0x27fddd):(_0x2ce0bf[_0x1213d2(0x2c0)](new Uint8Array(_0x2f847a[_0x1213d2(0x1d9)],_0x2f847a[_0x1213d2(0x261)],_0x17f3a7),_0x27fddd),this[_0x1213d2(0x280)][0x0]=new _0x1a221e(_0x2f847a['buffer'],_0x2f847a['byteOffset']+_0x17f3a7,_0x2f847a[_0x1213d2(0x174)]-_0x17f3a7)),_0x17f3a7-=_0x2f847a[_0x1213d2(0x174)];}while(_0x17f3a7>0x0);return _0x2ce0bf;}[_0x330a5b(0x285)](_0x40d9fb){const _0x48e443=_0x330a5b;this[_0x48e443(0x164)]=!0x0;do switch(this['_state']){case _0x3121ac:this[_0x48e443(0x1b4)](_0x40d9fb);break;case _0x28c286:this[_0x48e443(0x2a2)](_0x40d9fb);break;case _0x5c50f2:this['getPayloadLength64'](_0x40d9fb);break;case _0xd6e93b:this[_0x48e443(0x14a)]();break;case _0x20c976:this['getData'](_0x40d9fb);break;case _0x3fcafd:case _0xb9ce0:this[_0x48e443(0x164)]=!0x1;return;}while(this[_0x48e443(0x164)]);this[_0x48e443(0x239)]||_0x40d9fb();}[_0x330a5b(0x1b4)](_0x4998f6){const _0x31cc17=_0x330a5b;if(this['_bufferedBytes']<0x2){this[_0x31cc17(0x164)]=!0x1;return;}const _0x4f2ee5=this[_0x31cc17(0x18d)](0x2);if((_0x4f2ee5[0x0]&0x30)!==0x0){const _0x4f8eed=this[_0x31cc17(0x2bc)](RangeError,_0x31cc17(0x25f),!0x0,0x3ea,_0x31cc17(0x163));_0x4998f6(_0x4f8eed);return;}const _0x4aa07f=(_0x4f2ee5[0x0]&0x40)===0x40;if(_0x4aa07f&&!this[_0x31cc17(0x1aa)][_0x228ee2[_0x31cc17(0x201)]]){const _0x37cda8=this[_0x31cc17(0x2bc)](RangeError,_0x31cc17(0x208),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4998f6(_0x37cda8);return;}if(this[_0x31cc17(0x15e)]=(_0x4f2ee5[0x0]&0x80)===0x80,this[_0x31cc17(0x19b)]=_0x4f2ee5[0x0]&0xf,this['_payloadLength']=_0x4f2ee5[0x1]&0x7f,this[_0x31cc17(0x19b)]===0x0){if(_0x4aa07f){const _0x1f899e=this[_0x31cc17(0x2bc)](RangeError,_0x31cc17(0x208),!0x0,0x3ea,_0x31cc17(0x1a2));_0x4998f6(_0x1f899e);return;}if(!this[_0x31cc17(0x1c6)]){const _0x8c9def=this['createError'](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x31cc17(0x1f0));_0x4998f6(_0x8c9def);return;}this['_opcode']=this[_0x31cc17(0x1c6)];}else{if(this[_0x31cc17(0x19b)]===0x1||this[_0x31cc17(0x19b)]===0x2){if(this[_0x31cc17(0x1c6)]){const _0x379078=this[_0x31cc17(0x2bc)](RangeError,_0x31cc17(0x2b8)+this[_0x31cc17(0x19b)],!0x0,0x3ea,_0x31cc17(0x1f0));_0x4998f6(_0x379078);return;}this['_compressed']=_0x4aa07f;}else{if(this['_opcode']>0x7&&this[_0x31cc17(0x19b)]<0xb){if(!this[_0x31cc17(0x15e)]){const _0x142b91=this['createError'](RangeError,_0x31cc17(0x287),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x4998f6(_0x142b91);return;}if(_0x4aa07f){const _0x2e2dd1=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4998f6(_0x2e2dd1);return;}if(this[_0x31cc17(0x210)]>0x7d||this[_0x31cc17(0x19b)]===0x8&&this[_0x31cc17(0x210)]===0x1){const _0x1d04eb=this[_0x31cc17(0x2bc)](RangeError,_0x31cc17(0x1bc)+this[_0x31cc17(0x210)],!0x0,0x3ea,_0x31cc17(0x267));_0x4998f6(_0x1d04eb);return;}}else{const _0x16d4b7=this['createError'](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x31cc17(0x1f0));_0x4998f6(_0x16d4b7);return;}}}if(!this[_0x31cc17(0x15e)]&&!this[_0x31cc17(0x1c6)]&&(this[_0x31cc17(0x1c6)]=this[_0x31cc17(0x19b)]),this[_0x31cc17(0x264)]=(_0x4f2ee5[0x1]&0x80)===0x80,this[_0x31cc17(0x145)]){if(!this[_0x31cc17(0x264)]){const _0x1f698e=this[_0x31cc17(0x2bc)](RangeError,_0x31cc17(0x1bb),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x4998f6(_0x1f698e);return;}}else{if(this[_0x31cc17(0x264)]){const _0x28f074=this[_0x31cc17(0x2bc)](RangeError,_0x31cc17(0x1c2),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x4998f6(_0x28f074);return;}}this[_0x31cc17(0x210)]===0x7e?this[_0x31cc17(0x1ae)]=_0x28c286:this[_0x31cc17(0x210)]===0x7f?this[_0x31cc17(0x1ae)]=_0x5c50f2:this[_0x31cc17(0x231)](_0x4998f6);}[_0x330a5b(0x2a2)](_0xa7676){const _0x359361=_0x330a5b;if(this[_0x359361(0x252)]<0x2){this['_loop']=!0x1;return;}this[_0x359361(0x210)]=this[_0x359361(0x18d)](0x2)[_0x359361(0x24b)](0x0),this[_0x359361(0x231)](_0xa7676);}[_0x330a5b(0x2db)](_0x32cec5){const _0x4a80fc=_0x330a5b;if(this['_bufferedBytes']<0x8){this['_loop']=!0x1;return;}const _0x32e3ee=this[_0x4a80fc(0x18d)](0x8),_0xd480b1=_0x32e3ee[_0x4a80fc(0x2b9)](0x0);if(_0xd480b1>Math[_0x4a80fc(0x258)](0x2,0x15)-0x1){const _0x562b2c=this['createError'](RangeError,_0x4a80fc(0x16c),!0x1,0x3f1,_0x4a80fc(0x1f8));_0x32cec5(_0x562b2c);return;}this['_payloadLength']=_0xd480b1*Math[_0x4a80fc(0x258)](0x2,0x20)+_0x32e3ee[_0x4a80fc(0x2b9)](0x4),this[_0x4a80fc(0x231)](_0x32cec5);}[_0x330a5b(0x231)](_0x3d1bbf){const _0x33fc58=_0x330a5b;if(this[_0x33fc58(0x210)]&&this[_0x33fc58(0x19b)]<0x8&&(this['_totalPayloadLength']+=this[_0x33fc58(0x210)],this[_0x33fc58(0x220)]>this[_0x33fc58(0x173)]&&this[_0x33fc58(0x173)]>0x0)){const _0x2ece64=this['createError'](RangeError,_0x33fc58(0x23b),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x3d1bbf(_0x2ece64);return;}this[_0x33fc58(0x264)]?this[_0x33fc58(0x1ae)]=_0xd6e93b:this[_0x33fc58(0x1ae)]=_0x20c976;}['getMask'](){const _0xaffc9c=_0x330a5b;if(this[_0xaffc9c(0x252)]<0x4){this[_0xaffc9c(0x164)]=!0x1;return;}this['_mask']=this['consume'](0x4),this[_0xaffc9c(0x1ae)]=_0x20c976;}[_0x330a5b(0x2a8)](_0x15a4b3){const _0x2775e2=_0x330a5b;let _0x27a42b=_0x335fc0;if(this['_payloadLength']){if(this[_0x2775e2(0x252)]<this[_0x2775e2(0x210)]){this[_0x2775e2(0x164)]=!0x1;return;}_0x27a42b=this[_0x2775e2(0x18d)](this[_0x2775e2(0x210)]),this[_0x2775e2(0x264)]&&(this[_0x2775e2(0x2cd)][0x0]|this[_0x2775e2(0x2cd)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x4c2419(_0x27a42b,this[_0x2775e2(0x2cd)]);}if(this[_0x2775e2(0x19b)]>0x7){this['controlMessage'](_0x27a42b,_0x15a4b3);return;}if(this[_0x2775e2(0x1a7)]){this[_0x2775e2(0x1ae)]=_0x3fcafd,this[_0x2775e2(0x2bd)](_0x27a42b,_0x15a4b3);return;}_0x27a42b[_0x2775e2(0x174)]&&(this[_0x2775e2(0x20f)]=this[_0x2775e2(0x220)],this['_fragments']['push'](_0x27a42b)),this[_0x2775e2(0x193)](_0x15a4b3);}[_0x330a5b(0x2bd)](_0x1e5f27,_0x2779a8){const _0x136f8b=_0x330a5b;this[_0x136f8b(0x1aa)][_0x228ee2['extensionName']][_0x136f8b(0x2bd)](_0x1e5f27,this[_0x136f8b(0x15e)],(_0xebe3bc,_0x322632)=>{const _0x2776e=_0x136f8b;if(_0xebe3bc)return _0x2779a8(_0xebe3bc);if(_0x322632[_0x2776e(0x174)]){if(this[_0x2776e(0x20f)]+=_0x322632[_0x2776e(0x174)],this[_0x2776e(0x20f)]>this[_0x2776e(0x173)]&&this[_0x2776e(0x173)]>0x0){const _0x189f0e=this[_0x2776e(0x2bc)](RangeError,_0x2776e(0x23b),!0x1,0x3f1,_0x2776e(0x194));_0x2779a8(_0x189f0e);return;}this[_0x2776e(0x1b7)][_0x2776e(0x1b2)](_0x322632);}this['dataMessage'](_0x2779a8),this[_0x2776e(0x1ae)]===_0x3121ac&&this[_0x2776e(0x285)](_0x2779a8);});}['dataMessage'](_0x331a6c){const _0x536fb3=_0x330a5b;if(!this[_0x536fb3(0x15e)]){this['_state']=_0x3121ac;return;}const _0x10e8f8=this[_0x536fb3(0x20f)],_0x2af065=this['_fragments'];if(this[_0x536fb3(0x220)]=0x0,this[_0x536fb3(0x20f)]=0x0,this[_0x536fb3(0x1c6)]=0x0,this[_0x536fb3(0x1b7)]=[],this[_0x536fb3(0x19b)]===0x2){let _0x3e6b5b;this[_0x536fb3(0x2d9)]===_0x536fb3(0x256)?_0x3e6b5b=_0x2b417b(_0x2af065,_0x10e8f8):this[_0x536fb3(0x2d9)]===_0x536fb3(0x232)?_0x3e6b5b=_0x3338ab(_0x2b417b(_0x2af065,_0x10e8f8)):this[_0x536fb3(0x2d9)]===_0x536fb3(0x27b)?_0x3e6b5b=new Blob(_0x2af065):_0x3e6b5b=_0x2af065,this[_0x536fb3(0x23d)]?(this[_0x536fb3(0x1f1)]('message',_0x3e6b5b,!0x0),this[_0x536fb3(0x1ae)]=_0x3121ac):(this[_0x536fb3(0x1ae)]=_0xb9ce0,setImmediate(()=>{const _0x435bb1=_0x536fb3;this[_0x435bb1(0x1f1)](_0x435bb1(0x28c),_0x3e6b5b,!0x0),this[_0x435bb1(0x1ae)]=_0x3121ac,this['startLoop'](_0x331a6c);}));}else{const _0x5b831f=_0x2b417b(_0x2af065,_0x10e8f8);if(!this['_skipUTF8Validation']&&!_0x3dc31c(_0x5b831f)){const _0x532164=this[_0x536fb3(0x2bc)](Error,_0x536fb3(0x137),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x331a6c(_0x532164);return;}this[_0x536fb3(0x1ae)]===_0x3fcafd||this['_allowSynchronousEvents']?(this[_0x536fb3(0x1f1)]('message',_0x5b831f,!0x1),this[_0x536fb3(0x1ae)]=_0x3121ac):(this['_state']=_0xb9ce0,setImmediate(()=>{const _0xb3e63c=_0x536fb3;this['emit'](_0xb3e63c(0x28c),_0x5b831f,!0x1),this[_0xb3e63c(0x1ae)]=_0x3121ac,this[_0xb3e63c(0x285)](_0x331a6c);}));}}[_0x330a5b(0x24c)](_0x3ad51c,_0x2f2443){const _0x7e37a0=_0x330a5b;if(this['_opcode']===0x8){if(_0x3ad51c[_0x7e37a0(0x174)]===0x0)this[_0x7e37a0(0x164)]=!0x1,this[_0x7e37a0(0x1f1)](_0x7e37a0(0x295),0x3ed,_0x335fc0),this['end']();else{const _0x6e9169=_0x3ad51c['readUInt16BE'](0x0);if(!_0x2e5159(_0x6e9169)){const _0x449e05=this[_0x7e37a0(0x2bc)](RangeError,_0x7e37a0(0x138)+_0x6e9169,!0x0,0x3ea,_0x7e37a0(0x209));_0x2f2443(_0x449e05);return;}const _0x40174b=new _0x1a221e(_0x3ad51c[_0x7e37a0(0x1d9)],_0x3ad51c[_0x7e37a0(0x261)]+0x2,_0x3ad51c[_0x7e37a0(0x174)]-0x2);if(!this[_0x7e37a0(0x243)]&&!_0x3dc31c(_0x40174b)){const _0x5a1933=this[_0x7e37a0(0x2bc)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x7e37a0(0x234));_0x2f2443(_0x5a1933);return;}this['_loop']=!0x1,this[_0x7e37a0(0x1f1)](_0x7e37a0(0x295),_0x6e9169,_0x40174b),this['end']();}this[_0x7e37a0(0x1ae)]=_0x3121ac;return;}this['_allowSynchronousEvents']?(this[_0x7e37a0(0x1f1)](this[_0x7e37a0(0x19b)]===0x9?_0x7e37a0(0x1f3):_0x7e37a0(0x199),_0x3ad51c),this[_0x7e37a0(0x1ae)]=_0x3121ac):(this[_0x7e37a0(0x1ae)]=_0xb9ce0,setImmediate(()=>{const _0x40d129=_0x7e37a0;this['emit'](this[_0x40d129(0x19b)]===0x9?_0x40d129(0x1f3):_0x40d129(0x199),_0x3ad51c),this[_0x40d129(0x1ae)]=_0x3121ac,this[_0x40d129(0x285)](_0x2f2443);}));}['createError'](_0x670b53,_0x3df517,_0x2aad00,_0x2cc86d,_0x2976f2){const _0x3f3a4f=_0x330a5b;this['_loop']=!0x1,this[_0x3f3a4f(0x239)]=!0x0;const _0x33a4fc=new _0x670b53(_0x2aad00?_0x3f3a4f(0x1a9)+_0x3df517:_0x3df517);return Error['captureStackTrace'](_0x33a4fc,this[_0x3f3a4f(0x2bc)]),_0x33a4fc[_0x3f3a4f(0x2ac)]=_0x2976f2,_0x33a4fc[_0x1cc93a]=_0x2cc86d,_0x33a4fc;}}return Se=_0x3fa365,Se;}var Ee,et;function _t(){const _0x388310=_0x32a070;if(et)return Ee;et=0x1;const {Duplex:_0x57bc3c}=_0x39c306,{randomFillSync:_0x16a8aa}=_0x5465c6,_0x21b729=he(),{EMPTY_BUFFER:_0x265855,kWebSocket:_0x3af788,NOOP:_0x3897ed}=V(),{isBlob:_0x363b3d,isValidStatusCode:_0x2c8605}=ne(),{mask:_0x228a2d,toBuffer:_0x4c4e31}=ce(),_0x310fcc=Symbol('kByteLength'),_0x52fdeb=Buffer[_0x388310(0x156)](0x4),_0x24cf14=0x8*0x400;let _0x175b1f,_0x5561b4=_0x24cf14;const _0x244653=0x0,_0x33960d=0x1,_0x578de9=0x2;class _0x113032{constructor(_0x44bbe8,_0x32f387,_0x2282c4){const _0x5cb154=_0x388310;this['_extensions']=_0x32f387||{},_0x2282c4&&(this[_0x5cb154(0x150)]=_0x2282c4,this[_0x5cb154(0x1fb)]=Buffer[_0x5cb154(0x156)](0x4)),this[_0x5cb154(0x175)]=_0x44bbe8,this[_0x5cb154(0x2ca)]=!0x0,this[_0x5cb154(0x13d)]=!0x1,this['_bufferedBytes']=0x0,this[_0x5cb154(0x180)]=[],this['_state']=_0x244653,this[_0x5cb154(0x1a0)]=_0x3897ed,this[_0x3af788]=void 0x0;}static['frame'](_0x5b3136,_0x304d3c){const _0x2ba05e=_0x388310;let _0x107fd6,_0x271211=!0x1,_0x7717d=0x2,_0x16fcc9=!0x1;_0x304d3c['mask']&&(_0x107fd6=_0x304d3c['maskBuffer']||_0x52fdeb,_0x304d3c[_0x2ba05e(0x24a)]?_0x304d3c[_0x2ba05e(0x24a)](_0x107fd6):(_0x5561b4===_0x24cf14&&(_0x175b1f===void 0x0&&(_0x175b1f=Buffer[_0x2ba05e(0x156)](_0x24cf14)),_0x16a8aa(_0x175b1f,0x0,_0x24cf14),_0x5561b4=0x0),_0x107fd6[0x0]=_0x175b1f[_0x5561b4++],_0x107fd6[0x1]=_0x175b1f[_0x5561b4++],_0x107fd6[0x2]=_0x175b1f[_0x5561b4++],_0x107fd6[0x3]=_0x175b1f[_0x5561b4++]),_0x16fcc9=(_0x107fd6[0x0]|_0x107fd6[0x1]|_0x107fd6[0x2]|_0x107fd6[0x3])===0x0,_0x7717d=0x6);let _0x376a87;typeof _0x5b3136=='string'?(!_0x304d3c[_0x2ba05e(0x1f6)]||_0x16fcc9)&&_0x304d3c[_0x310fcc]!==void 0x0?_0x376a87=_0x304d3c[_0x310fcc]:(_0x5b3136=Buffer[_0x2ba05e(0x2c8)](_0x5b3136),_0x376a87=_0x5b3136['length']):(_0x376a87=_0x5b3136[_0x2ba05e(0x174)],_0x271211=_0x304d3c[_0x2ba05e(0x1f6)]&&_0x304d3c[_0x2ba05e(0x2bb)]&&!_0x16fcc9);let _0xb28ea2=_0x376a87;_0x376a87>=0x10000?(_0x7717d+=0x8,_0xb28ea2=0x7f):_0x376a87>0x7d&&(_0x7717d+=0x2,_0xb28ea2=0x7e);const _0x16bcc6=Buffer[_0x2ba05e(0x2c4)](_0x271211?_0x376a87+_0x7717d:_0x7717d);return _0x16bcc6[0x0]=_0x304d3c[_0x2ba05e(0x221)]?_0x304d3c[_0x2ba05e(0x17b)]|0x80:_0x304d3c[_0x2ba05e(0x17b)],_0x304d3c[_0x2ba05e(0x2aa)]&&(_0x16bcc6[0x0]|=0x40),_0x16bcc6[0x1]=_0xb28ea2,_0xb28ea2===0x7e?_0x16bcc6[_0x2ba05e(0x27d)](_0x376a87,0x2):_0xb28ea2===0x7f&&(_0x16bcc6[0x2]=_0x16bcc6[0x3]=0x0,_0x16bcc6['writeUIntBE'](_0x376a87,0x4,0x6)),_0x304d3c[_0x2ba05e(0x1f6)]?(_0x16bcc6[0x1]|=0x80,_0x16bcc6[_0x7717d-0x4]=_0x107fd6[0x0],_0x16bcc6[_0x7717d-0x3]=_0x107fd6[0x1],_0x16bcc6[_0x7717d-0x2]=_0x107fd6[0x2],_0x16bcc6[_0x7717d-0x1]=_0x107fd6[0x3],_0x16fcc9?[_0x16bcc6,_0x5b3136]:_0x271211?(_0x228a2d(_0x5b3136,_0x107fd6,_0x16bcc6,_0x7717d,_0x376a87),[_0x16bcc6]):(_0x228a2d(_0x5b3136,_0x107fd6,_0x5b3136,0x0,_0x376a87),[_0x16bcc6,_0x5b3136])):[_0x16bcc6,_0x5b3136];}[_0x388310(0x203)](_0x1e442e,_0x3e792c,_0x54b7de,_0x3aac3f){const _0x4be5fb=_0x388310;let _0x827660;if(_0x1e442e===void 0x0)_0x827660=_0x265855;else{if(typeof _0x1e442e!='number'||!_0x2c8605(_0x1e442e))throw new TypeError(_0x4be5fb(0x2af));if(_0x3e792c===void 0x0||!_0x3e792c[_0x4be5fb(0x174)])_0x827660=Buffer[_0x4be5fb(0x2c4)](0x2),_0x827660[_0x4be5fb(0x27d)](_0x1e442e,0x0);else{const _0x487e23=Buffer[_0x4be5fb(0x148)](_0x3e792c);if(_0x487e23>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x827660=Buffer[_0x4be5fb(0x2c4)](0x2+_0x487e23),_0x827660[_0x4be5fb(0x27d)](_0x1e442e,0x0),typeof _0x3e792c=='string'?_0x827660['write'](_0x3e792c,0x2):_0x827660[_0x4be5fb(0x2c0)](_0x3e792c,0x2);}}const _0x462505={[_0x310fcc]:_0x827660[_0x4be5fb(0x174)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x54b7de,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x4be5fb(0x1ae)]!==_0x244653?this['enqueue']([this[_0x4be5fb(0x2cc)],_0x827660,!0x1,_0x462505,_0x3aac3f]):this[_0x4be5fb(0x27a)](_0x113032[_0x4be5fb(0x142)](_0x827660,_0x462505),_0x3aac3f);}[_0x388310(0x1f3)](_0x541b9a,_0x1b4adc,_0x14b2b4){const _0x486991=_0x388310;let _0x588fef,_0x2a44ec;if(typeof _0x541b9a==_0x486991(0x212)?(_0x588fef=Buffer[_0x486991(0x148)](_0x541b9a),_0x2a44ec=!0x1):_0x363b3d(_0x541b9a)?(_0x588fef=_0x541b9a['size'],_0x2a44ec=!0x1):(_0x541b9a=_0x4c4e31(_0x541b9a),_0x588fef=_0x541b9a[_0x486991(0x174)],_0x2a44ec=_0x4c4e31[_0x486991(0x2bb)]),_0x588fef>0x7d)throw new RangeError(_0x486991(0x242));const _0x360dca={[_0x310fcc]:_0x588fef,'fin':!0x0,'generateMask':this[_0x486991(0x150)],'mask':_0x1b4adc,'maskBuffer':this[_0x486991(0x1fb)],'opcode':0x9,'readOnly':_0x2a44ec,'rsv1':!0x1};_0x363b3d(_0x541b9a)?this[_0x486991(0x1ae)]!==_0x244653?this[_0x486991(0x297)]([this[_0x486991(0x1eb)],_0x541b9a,!0x1,_0x360dca,_0x14b2b4]):this[_0x486991(0x1eb)](_0x541b9a,!0x1,_0x360dca,_0x14b2b4):this[_0x486991(0x1ae)]!==_0x244653?this[_0x486991(0x297)]([this[_0x486991(0x2cc)],_0x541b9a,!0x1,_0x360dca,_0x14b2b4]):this[_0x486991(0x27a)](_0x113032[_0x486991(0x142)](_0x541b9a,_0x360dca),_0x14b2b4);}[_0x388310(0x199)](_0x2822cf,_0xafe2ce,_0x2c3d44){const _0x37cb51=_0x388310;let _0x449672,_0x531779;if(typeof _0x2822cf=='string'?(_0x449672=Buffer[_0x37cb51(0x148)](_0x2822cf),_0x531779=!0x1):_0x363b3d(_0x2822cf)?(_0x449672=_0x2822cf['size'],_0x531779=!0x1):(_0x2822cf=_0x4c4e31(_0x2822cf),_0x449672=_0x2822cf['length'],_0x531779=_0x4c4e31[_0x37cb51(0x2bb)]),_0x449672>0x7d)throw new RangeError(_0x37cb51(0x242));const _0x3e8ac0={[_0x310fcc]:_0x449672,'fin':!0x0,'generateMask':this[_0x37cb51(0x150)],'mask':_0xafe2ce,'maskBuffer':this[_0x37cb51(0x1fb)],'opcode':0xa,'readOnly':_0x531779,'rsv1':!0x1};_0x363b3d(_0x2822cf)?this[_0x37cb51(0x1ae)]!==_0x244653?this[_0x37cb51(0x297)]([this['getBlobData'],_0x2822cf,!0x1,_0x3e8ac0,_0x2c3d44]):this[_0x37cb51(0x1eb)](_0x2822cf,!0x1,_0x3e8ac0,_0x2c3d44):this['_state']!==_0x244653?this['enqueue']([this[_0x37cb51(0x2cc)],_0x2822cf,!0x1,_0x3e8ac0,_0x2c3d44]):this[_0x37cb51(0x27a)](_0x113032[_0x37cb51(0x142)](_0x2822cf,_0x3e8ac0),_0x2c3d44);}[_0x388310(0x2d1)](_0xde395c,_0x2c6edd,_0x21729c){const _0x1ad456=_0x388310,_0x289ba1=this['_extensions'][_0x21b729[_0x1ad456(0x201)]];let _0x42c21e=_0x2c6edd['binary']?0x2:0x1,_0x2c75a6=_0x2c6edd[_0x1ad456(0x179)],_0x36b5d5,_0x391b26;typeof _0xde395c==_0x1ad456(0x212)?(_0x36b5d5=Buffer[_0x1ad456(0x148)](_0xde395c),_0x391b26=!0x1):_0x363b3d(_0xde395c)?(_0x36b5d5=_0xde395c[_0x1ad456(0x15b)],_0x391b26=!0x1):(_0xde395c=_0x4c4e31(_0xde395c),_0x36b5d5=_0xde395c[_0x1ad456(0x174)],_0x391b26=_0x4c4e31['readOnly']),this[_0x1ad456(0x2ca)]?(this[_0x1ad456(0x2ca)]=!0x1,_0x2c75a6&&_0x289ba1&&_0x289ba1[_0x1ad456(0x197)][_0x289ba1[_0x1ad456(0x145)]?'server_no_context_takeover':_0x1ad456(0x1f7)]&&(_0x2c75a6=_0x36b5d5>=_0x289ba1[_0x1ad456(0x165)]),this[_0x1ad456(0x13d)]=_0x2c75a6):(_0x2c75a6=!0x1,_0x42c21e=0x0),_0x2c6edd['fin']&&(this[_0x1ad456(0x2ca)]=!0x0);const _0x8246d={[_0x310fcc]:_0x36b5d5,'fin':_0x2c6edd[_0x1ad456(0x221)],'generateMask':this[_0x1ad456(0x150)],'mask':_0x2c6edd[_0x1ad456(0x1f6)],'maskBuffer':this[_0x1ad456(0x1fb)],'opcode':_0x42c21e,'readOnly':_0x391b26,'rsv1':_0x2c75a6};_0x363b3d(_0xde395c)?this[_0x1ad456(0x1ae)]!==_0x244653?this['enqueue']([this[_0x1ad456(0x1eb)],_0xde395c,this[_0x1ad456(0x13d)],_0x8246d,_0x21729c]):this[_0x1ad456(0x1eb)](_0xde395c,this['_compress'],_0x8246d,_0x21729c):this[_0x1ad456(0x1ae)]!==_0x244653?this[_0x1ad456(0x297)]([this['dispatch'],_0xde395c,this[_0x1ad456(0x13d)],_0x8246d,_0x21729c]):this[_0x1ad456(0x2cc)](_0xde395c,this[_0x1ad456(0x13d)],_0x8246d,_0x21729c);}[_0x388310(0x1eb)](_0x2090b5,_0x2448d4,_0x33a559,_0x50bbf6){const _0x2e1071=_0x388310;this['_bufferedBytes']+=_0x33a559[_0x310fcc],this[_0x2e1071(0x1ae)]=_0x578de9,_0x2090b5[_0x2e1071(0x23e)]()[_0x2e1071(0x273)](_0x2062cc=>{const _0x5bff3a=_0x2e1071;if(this['_socket'][_0x5bff3a(0x196)]){const _0x13ec8f=new Error(_0x5bff3a(0x1cf));process[_0x5bff3a(0x22f)](_0x592f3b,this,_0x13ec8f,_0x50bbf6);return;}this[_0x5bff3a(0x252)]-=_0x33a559[_0x310fcc];const _0x3d8535=_0x4c4e31(_0x2062cc);_0x2448d4?this[_0x5bff3a(0x2cc)](_0x3d8535,_0x2448d4,_0x33a559,_0x50bbf6):(this['_state']=_0x244653,this[_0x5bff3a(0x27a)](_0x113032[_0x5bff3a(0x142)](_0x3d8535,_0x33a559),_0x50bbf6),this[_0x5bff3a(0x187)]());})[_0x2e1071(0x2b3)](_0x3abd32=>{process['nextTick'](_0x244455,this,_0x3abd32,_0x50bbf6);});}['dispatch'](_0x6a9aa6,_0x123cea,_0x2160c2,_0x22c665){const _0x240cdc=_0x388310;if(!_0x123cea){this['sendFrame'](_0x113032[_0x240cdc(0x142)](_0x6a9aa6,_0x2160c2),_0x22c665);return;}const _0x2b5335=this[_0x240cdc(0x1aa)][_0x21b729[_0x240cdc(0x201)]];this[_0x240cdc(0x252)]+=_0x2160c2[_0x310fcc],this[_0x240cdc(0x1ae)]=_0x33960d,_0x2b5335[_0x240cdc(0x179)](_0x6a9aa6,_0x2160c2[_0x240cdc(0x221)],(_0xae69bd,_0x39d3cb)=>{const _0x3ea65c=_0x240cdc;if(this[_0x3ea65c(0x175)][_0x3ea65c(0x196)]){const _0x324139=new Error(_0x3ea65c(0x2a3));_0x592f3b(this,_0x324139,_0x22c665);return;}this[_0x3ea65c(0x252)]-=_0x2160c2[_0x310fcc],this[_0x3ea65c(0x1ae)]=_0x244653,_0x2160c2['readOnly']=!0x1,this['sendFrame'](_0x113032['frame'](_0x39d3cb,_0x2160c2),_0x22c665),this['dequeue']();});}['dequeue'](){const _0xaed17=_0x388310;for(;this[_0xaed17(0x1ae)]===_0x244653&&this[_0xaed17(0x180)]['length'];){const _0x6dd882=this[_0xaed17(0x180)][_0xaed17(0x2b4)]();this['_bufferedBytes']-=_0x6dd882[0x3][_0x310fcc],Reflect[_0xaed17(0x1c0)](_0x6dd882[0x0],this,_0x6dd882['slice'](0x1));}}['enqueue'](_0x509402){const _0x532fe6=_0x388310;this['_bufferedBytes']+=_0x509402[0x3][_0x310fcc],this[_0x532fe6(0x180)][_0x532fe6(0x1b2)](_0x509402);}[_0x388310(0x27a)](_0x110619,_0x13c546){const _0x5dd794=_0x388310;_0x110619[_0x5dd794(0x174)]===0x2?(this[_0x5dd794(0x175)][_0x5dd794(0x153)](),this[_0x5dd794(0x175)][_0x5dd794(0x1ec)](_0x110619[0x0]),this[_0x5dd794(0x175)][_0x5dd794(0x1ec)](_0x110619[0x1],_0x13c546),this[_0x5dd794(0x175)]['uncork']()):this['_socket'][_0x5dd794(0x1ec)](_0x110619[0x0],_0x13c546);}}Ee=_0x113032;function _0x592f3b(_0x235b1b,_0x4d6647,_0xf325c4){const _0x5a4bbd=_0x388310;typeof _0xf325c4==_0x5a4bbd(0x1ed)&&_0xf325c4(_0x4d6647);for(let _0x5b72a9=0x0;_0x5b72a9<_0x235b1b[_0x5a4bbd(0x180)][_0x5a4bbd(0x174)];_0x5b72a9++){const _0x492f55=_0x235b1b[_0x5a4bbd(0x180)][_0x5b72a9],_0x1a65fc=_0x492f55[_0x492f55[_0x5a4bbd(0x174)]-0x1];typeof _0x1a65fc==_0x5a4bbd(0x1ed)&&_0x1a65fc(_0x4d6647);}}function _0x244455(_0x1de703,_0x34e115,_0x262535){const _0xe24d41=_0x388310;_0x592f3b(_0x1de703,_0x34e115,_0x262535),_0x1de703[_0xe24d41(0x1a0)](_0x34e115);}return Ee;}var xe,tt;function Kt(){const _0x7ce700=_0x32a070;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x28fedc,kListener:_0x190082}=V(),_0x154c5d=Symbol(_0x7ce700(0x1b8)),_0x4450a5=Symbol('kData'),_0x49595d=Symbol(_0x7ce700(0x1c9)),_0x3c7ce5=Symbol(_0x7ce700(0x226)),_0x398808=Symbol(_0x7ce700(0x270)),_0x42bc60=Symbol('kTarget'),_0x5d43b1=Symbol(_0x7ce700(0x183)),_0x3b53ef=Symbol(_0x7ce700(0x154));class _0x1def00{constructor(_0x1e9a88){this[_0x42bc60]=null,this[_0x5d43b1]=_0x1e9a88;}get[_0x7ce700(0x255)](){return this[_0x42bc60];}get[_0x7ce700(0x26b)](){return this[_0x5d43b1];}}Object[_0x7ce700(0x25c)](_0x1def00['prototype'],'target',{'enumerable':!0x0}),Object[_0x7ce700(0x25c)](_0x1def00[_0x7ce700(0x19c)],_0x7ce700(0x26b),{'enumerable':!0x0});class _0xdd77ea extends _0x1def00{constructor(_0x29f7a8,_0x2cdf1c={}){const _0x48b818=_0x7ce700;super(_0x29f7a8),this[_0x154c5d]=_0x2cdf1c[_0x48b818(0x2ac)]===void 0x0?0x0:_0x2cdf1c['code'],this[_0x398808]=_0x2cdf1c[_0x48b818(0x248)]===void 0x0?'':_0x2cdf1c['reason'],this[_0x3b53ef]=_0x2cdf1c[_0x48b818(0x276)]===void 0x0?!0x1:_0x2cdf1c[_0x48b818(0x276)];}get[_0x7ce700(0x2ac)](){return this[_0x154c5d];}get[_0x7ce700(0x248)](){return this[_0x398808];}get[_0x7ce700(0x276)](){return this[_0x3b53ef];}}Object[_0x7ce700(0x25c)](_0xdd77ea[_0x7ce700(0x19c)],_0x7ce700(0x2ac),{'enumerable':!0x0}),Object[_0x7ce700(0x25c)](_0xdd77ea[_0x7ce700(0x19c)],_0x7ce700(0x248),{'enumerable':!0x0}),Object[_0x7ce700(0x25c)](_0xdd77ea[_0x7ce700(0x19c)],_0x7ce700(0x276),{'enumerable':!0x0});class _0xf72fe0 extends _0x1def00{constructor(_0x186244,_0x114e9a={}){const _0x534234=_0x7ce700;super(_0x186244),this[_0x49595d]=_0x114e9a['error']===void 0x0?null:_0x114e9a[_0x534234(0x23c)],this[_0x3c7ce5]=_0x114e9a[_0x534234(0x28c)]===void 0x0?'':_0x114e9a[_0x534234(0x28c)];}get['error'](){return this[_0x49595d];}get[_0x7ce700(0x28c)](){return this[_0x3c7ce5];}}Object[_0x7ce700(0x25c)](_0xf72fe0['prototype'],'error',{'enumerable':!0x0}),Object[_0x7ce700(0x25c)](_0xf72fe0[_0x7ce700(0x19c)],'message',{'enumerable':!0x0});class _0x52a15a extends _0x1def00{constructor(_0x3a31e7,_0x526ef7={}){const _0x5d62df=_0x7ce700;super(_0x3a31e7),this[_0x4450a5]=_0x526ef7[_0x5d62df(0x27f)]===void 0x0?null:_0x526ef7[_0x5d62df(0x27f)];}get['data'](){return this[_0x4450a5];}}Object[_0x7ce700(0x25c)](_0x52a15a[_0x7ce700(0x19c)],_0x7ce700(0x27f),{'enumerable':!0x0}),xe={'CloseEvent':_0xdd77ea,'ErrorEvent':_0xf72fe0,'Event':_0x1def00,'EventTarget':{'addEventListener'(_0x2ea1bc,_0x48bdfb,_0x170f81={}){const _0x1293da=_0x7ce700;for(const _0x52b71a of this[_0x1293da(0x2ab)](_0x2ea1bc))if(!_0x170f81[_0x28fedc]&&_0x52b71a[_0x190082]===_0x48bdfb&&!_0x52b71a[_0x28fedc])return;let _0xe260f;if(_0x2ea1bc===_0x1293da(0x28c))_0xe260f=function(_0x7ed059,_0x4f403f){const _0x5710ae=_0x1293da,_0x5dc410=new _0x52a15a(_0x5710ae(0x28c),{'data':_0x4f403f?_0x7ed059:_0x7ed059['toString']()});_0x5dc410[_0x42bc60]=this,_0x24b0f0(_0x48bdfb,this,_0x5dc410);};else{if(_0x2ea1bc===_0x1293da(0x203))_0xe260f=function(_0x249d49,_0x551563){const _0x500cfc=_0x1293da,_0x2872fa=new _0xdd77ea(_0x500cfc(0x203),{'code':_0x249d49,'reason':_0x551563[_0x500cfc(0x152)](),'wasClean':this[_0x500cfc(0x2c1)]&&this[_0x500cfc(0x1b6)]});_0x2872fa[_0x42bc60]=this,_0x24b0f0(_0x48bdfb,this,_0x2872fa);};else{if(_0x2ea1bc===_0x1293da(0x23c))_0xe260f=function(_0x283009){const _0xc84708=_0x1293da,_0x56f703=new _0xf72fe0(_0xc84708(0x23c),{'error':_0x283009,'message':_0x283009['message']});_0x56f703[_0x42bc60]=this,_0x24b0f0(_0x48bdfb,this,_0x56f703);};else{if(_0x2ea1bc==='open')_0xe260f=function(){const _0x57263e=new _0x1def00('open');_0x57263e[_0x42bc60]=this,_0x24b0f0(_0x48bdfb,this,_0x57263e);};else return;}}}_0xe260f[_0x28fedc]=!!_0x170f81[_0x28fedc],_0xe260f[_0x190082]=_0x48bdfb,_0x170f81[_0x1293da(0x238)]?this[_0x1293da(0x238)](_0x2ea1bc,_0xe260f):this['on'](_0x2ea1bc,_0xe260f);},'removeEventListener'(_0x311530,_0x5c284c){const _0x4b946d=_0x7ce700;for(const _0x449219 of this[_0x4b946d(0x2ab)](_0x311530))if(_0x449219[_0x190082]===_0x5c284c&&!_0x449219[_0x28fedc]){this[_0x4b946d(0x160)](_0x311530,_0x449219);break;}}},'MessageEvent':_0x52a15a};function _0x24b0f0(_0x352668,_0x449f5c,_0x32a4e2){const _0x12593f=_0x7ce700;typeof _0x352668==_0x12593f(0x1ab)&&_0x352668['handleEvent']?_0x352668[_0x12593f(0x17e)][_0x12593f(0x218)](_0x352668,_0x32a4e2):_0x352668[_0x12593f(0x218)](_0x449f5c,_0x32a4e2);}return xe;}function _0x9601(){const _0xfd5d86=['server_max_window_bits','invalid\x20UTF-8\x20sequence','invalid\x20status\x20code\x20','defaultPort','CLOSED','connection','abort','_compress','Module','sha1','http:','Invalid\x20Sec-WebSocket-Accept\x20header','frame','auth','20EfqUlG','_isServer','addEventListener','\x22:\x20','byteLength','bind','getMask','CLOSING','forEach','replace','upgrade','__esModule','_generateMask','verifyClient','toString','cork','kWasClean','keys','alloc','reset','socketPath','response','listening','size','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','permessage-deflate','_fin','toLowerCase','removeListener','test','_final','WS_ERR_UNEXPECTED_RSV_2_3','_loop','_threshold','5075pQBOKC','address','isServer','errorEmitted','pluginName','registerHTTPInterceptor','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','parse','_options','hostname','Invalid\x20Sec-WebSocket-Protocol\x20header','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','server','_maxPayload','length','_socket','_doCreateSocket','update','bufferedAmount','compress','serverNoContextTakeover','opcode','pause','unshift','handleEvent','clientNoContextTakeover','_queue','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','connect','kType','Cookie','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','dequeue','CONNECTING','WebSocket','The\x20\x22','encrypted','serverMaxWindowBits','consume','6100suIuUF','_server','kListener','kIsForOnEventAttribute','_sender','dataMessage','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','\x0d\x0a\x0d\x0a','destroyed','params','format','pong','cookie','_opcode','prototype','extensions','Upgrade','request','onerror','kAborted','WS_ERR_UNEXPECTED_RSV_1','WS_NO_BUFFER_UTIL','options','path','setHeader','_compressed','split','Invalid\x20WebSocket\x20frame:\x20','_extensions','object','total-length','_inflate','_state','customHeaders','3647ZGXYGz','Upgrade:\x20websocket','push','charCodeAt','getInfo','end','_closeFrameSent','_fragments','kCode','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','MASK\x20must\x20be\x20set','invalid\x20payload\x20length\x20','sec-websocket-protocol','needDrain','OPEN','apply','map','MASK\x20must\x20be\x20clear','3381064vlnmwi','href','allowSynchronousEvents','_fragmented','socket','_autoPong','kError','origin','backlog','sec-websocket-accept','text/plain','_receiver','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','hash','host','handleUpgrade','80QYEDxN','jobs','removeAllListeners','_closeMessage','_shouldEmitClose','clientMaxWindowBits','buffer','accept','setTimeout','client_max_window_bits','redirect','skipUTF8Validation','create','_readyState','finish','Blob','_writableState','pending','terminate','unexpected-response','GET','authorization','url','createServer','getBlobData','write','function','isInteger','protocolVersion','WS_ERR_INVALID_OPCODE','emit','wsClientError','ping','HTTP/1.1\x20101\x20Switching\x20Protocols','threshold','mask','client_no_context_takeover','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','open','default','_maskBuffer','read','_destroy','sec-websocket-key','search','isValidUTF8','extensionName','has','close','protocol','Sec-WebSocket-Protocol:\x20','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Unsupported\x20protocol\x20version:\x20','RSV1\x20must\x20be\x20clear','WS_ERR_INVALID_CLOSE_CODE','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','pipe','unmask','_protocol','_read','_messageLength','_payloadLength','indexOf','string','readyState','_no_context_takeover','next','Sec-WebSocket-Accept:\x20','autoPong','call','clients','isArray','normalizeParams','handshakeTimeout','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','concurrencyLimit','_totalPayloadLength','fin','maxPayload','slice','server_no_context_takeover','startsWith','kMessage','captureStackTrace','_max_window_bits','stream','add','construct','_closeCode','_configService','Origin','nextTick','setConfig','haveLength','arraybuffer','password','WS_ERR_INVALID_UTF8','_deflate','Unexpected\x20server\x20response:\x20','buffers','once','_errored','The\x20URL\x27s\x20pathname\x20is\x20empty','Max\x20payload\x20size\x20exceeded','error','_allowSynchronousEvents','arrayBuffer','Unexpected\x20end\x20of\x20input','onopen','_injector','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_skipUTF8Validation','_originalHostOrSocketPath','env','\x22\x20subprotocol\x20is\x20duplicated','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','reason','listenerCount','generateMask','readUInt16BE','controlMessage','handleProtocols','completeUpgrade','find','hasOwnProperty','join','_bufferedBytes','species','timeout','target','nodebuffer','_write','pow','_paused','binaryType','_readableState','defineProperty','setSocket','toStringTag','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','removeEventListener','byteOffset','concurrency','Invalid\x20Upgrade\x20header','_masked','Invalid\x20URL:\x20','978615xjYnJA','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','includes','Sec-WebSocket-Protocol','offer','type','endEmitted','435oExOWQ','sec-websocket-origin','concat','kReason','emitClose','ws:','then','Invalid\x20value\x20for\x20parameter\x20\x22','headers','wasClean','perMessageDeflate','websocket','_redirects','sendFrame','blob','freeze','writeUInt16BE','_originalIpc','data','_buffers','pathname','isIP','base64','finished','startLoop','entries','FIN\x20must\x20be\x20set','isPaused','Opening\x20handshake\x20has\x20timed\x20out','constructor','WS_NO_UTF_8_VALIDATE','message','statusCode','number','Server\x20sent\x20an\x20invalid\x20subprotocol','get','STATUS_CODES','_req','listen','3577725eiuWDk','conclude','kRun','enqueue','callback','acceptAsClient','wss:','_url','sec-websocket-extensions','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Maximum\x20redirects\x20exceeded','_registerDependencies','onclose','getPayloadLength16','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_bufferedAmount','getOwnPropertyDescriptor','_closeTimer','isBuffer','getData','HTTP/1.1\x20','rsv1','listeners','code','Sec-WebSocket-Origin','Invalid\x20HTTP\x20method','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','Z_DEFAULT_WINDOWBITS','1974ZXrJwJ','Unexpected\x20character\x20at\x20index\x20','catch','shift','noServer','_decompress','drain','invalid\x20opcode\x20','readUInt32BE','cleanup','readOnly','createError','decompress','https:','digest','set','_closeFrameReceived','461241XybNCk','createConnection','allocUnsafe','getConfig','writable','delete','from','method','_firstFragment','_originalSecure','dispatch','_mask','acceptAsServer','Basic\x20','Invalid\x20Sec-WebSocket-Extensions\x20header','send','followRedirects','servername','destroy','port','values','_errorEmitted','client','_binaryType','_removeListeners','getPayloadLength64','exports','finishRequest','dispose'];_0x9601=function(){return _0xfd5d86;};return _0x9601();}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x55bfaf}=ne();function _0x5a14dd(_0x111398,_0x2f8516,_0x35b1fe){const _0x2427e1=_0x4ae5;_0x111398[_0x2f8516]===void 0x0?_0x111398[_0x2f8516]=[_0x35b1fe]:_0x111398[_0x2f8516][_0x2427e1(0x1b2)](_0x35b1fe);}function _0xdd8d30(_0x41fa9d){const _0x1ee541=_0x4ae5,_0x5cb6d5=Object[_0x1ee541(0x1df)](null);let _0x428eb6=Object[_0x1ee541(0x1df)](null),_0x4e8fab=!0x1,_0x41e671=!0x1,_0x584646=!0x1,_0x1acc4b,_0x416ff4,_0x1abb74=-0x1,_0x40c684=-0x1,_0x44b00e=-0x1,_0x11e5f1=0x0;for(;_0x11e5f1<_0x41fa9d[_0x1ee541(0x174)];_0x11e5f1++)if(_0x40c684=_0x41fa9d[_0x1ee541(0x1b3)](_0x11e5f1),_0x1acc4b===void 0x0){if(_0x44b00e===-0x1&&_0x55bfaf[_0x40c684]===0x1)_0x1abb74===-0x1&&(_0x1abb74=_0x11e5f1);else{if(_0x11e5f1!==0x0&&(_0x40c684===0x20||_0x40c684===0x9))_0x44b00e===-0x1&&_0x1abb74!==-0x1&&(_0x44b00e=_0x11e5f1);else{if(_0x40c684===0x3b||_0x40c684===0x2c){if(_0x1abb74===-0x1)throw new SyntaxError(_0x1ee541(0x2b2)+_0x11e5f1);_0x44b00e===-0x1&&(_0x44b00e=_0x11e5f1);const _0x2c17da=_0x41fa9d[_0x1ee541(0x223)](_0x1abb74,_0x44b00e);_0x40c684===0x2c?(_0x5a14dd(_0x5cb6d5,_0x2c17da,_0x428eb6),_0x428eb6=Object['create'](null)):_0x1acc4b=_0x2c17da,_0x1abb74=_0x44b00e=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x11e5f1);}}}else{if(_0x416ff4===void 0x0){if(_0x44b00e===-0x1&&_0x55bfaf[_0x40c684]===0x1)_0x1abb74===-0x1&&(_0x1abb74=_0x11e5f1);else{if(_0x40c684===0x20||_0x40c684===0x9)_0x44b00e===-0x1&&_0x1abb74!==-0x1&&(_0x44b00e=_0x11e5f1);else{if(_0x40c684===0x3b||_0x40c684===0x2c){if(_0x1abb74===-0x1)throw new SyntaxError(_0x1ee541(0x2b2)+_0x11e5f1);_0x44b00e===-0x1&&(_0x44b00e=_0x11e5f1),_0x5a14dd(_0x428eb6,_0x41fa9d[_0x1ee541(0x223)](_0x1abb74,_0x44b00e),!0x0),_0x40c684===0x2c&&(_0x5a14dd(_0x5cb6d5,_0x1acc4b,_0x428eb6),_0x428eb6=Object[_0x1ee541(0x1df)](null),_0x1acc4b=void 0x0),_0x1abb74=_0x44b00e=-0x1;}else{if(_0x40c684===0x3d&&_0x1abb74!==-0x1&&_0x44b00e===-0x1)_0x416ff4=_0x41fa9d[_0x1ee541(0x223)](_0x1abb74,_0x11e5f1),_0x1abb74=_0x44b00e=-0x1;else throw new SyntaxError(_0x1ee541(0x2b2)+_0x11e5f1);}}}}else{if(_0x41e671){if(_0x55bfaf[_0x40c684]!==0x1)throw new SyntaxError(_0x1ee541(0x2b2)+_0x11e5f1);_0x1abb74===-0x1?_0x1abb74=_0x11e5f1:_0x4e8fab||(_0x4e8fab=!0x0),_0x41e671=!0x1;}else{if(_0x584646){if(_0x55bfaf[_0x40c684]===0x1)_0x1abb74===-0x1&&(_0x1abb74=_0x11e5f1);else{if(_0x40c684===0x22&&_0x1abb74!==-0x1)_0x584646=!0x1,_0x44b00e=_0x11e5f1;else{if(_0x40c684===0x5c)_0x41e671=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x11e5f1);}}}else{if(_0x40c684===0x22&&_0x41fa9d[_0x1ee541(0x1b3)](_0x11e5f1-0x1)===0x3d)_0x584646=!0x0;else{if(_0x44b00e===-0x1&&_0x55bfaf[_0x40c684]===0x1)_0x1abb74===-0x1&&(_0x1abb74=_0x11e5f1);else{if(_0x1abb74!==-0x1&&(_0x40c684===0x20||_0x40c684===0x9))_0x44b00e===-0x1&&(_0x44b00e=_0x11e5f1);else{if(_0x40c684===0x3b||_0x40c684===0x2c){if(_0x1abb74===-0x1)throw new SyntaxError(_0x1ee541(0x2b2)+_0x11e5f1);_0x44b00e===-0x1&&(_0x44b00e=_0x11e5f1);let _0x38fd8c=_0x41fa9d[_0x1ee541(0x223)](_0x1abb74,_0x44b00e);_0x4e8fab&&(_0x38fd8c=_0x38fd8c[_0x1ee541(0x14d)](/\\/g,''),_0x4e8fab=!0x1),_0x5a14dd(_0x428eb6,_0x416ff4,_0x38fd8c),_0x40c684===0x2c&&(_0x5a14dd(_0x5cb6d5,_0x1acc4b,_0x428eb6),_0x428eb6=Object[_0x1ee541(0x1df)](null),_0x1acc4b=void 0x0),_0x416ff4=void 0x0,_0x1abb74=_0x44b00e=-0x1;}else throw new SyntaxError(_0x1ee541(0x2b2)+_0x11e5f1);}}}}}}}if(_0x1abb74===-0x1||_0x584646||_0x40c684===0x20||_0x40c684===0x9)throw new SyntaxError(_0x1ee541(0x23f));_0x44b00e===-0x1&&(_0x44b00e=_0x11e5f1);const _0x4a50d8=_0x41fa9d['slice'](_0x1abb74,_0x44b00e);return _0x1acc4b===void 0x0?_0x5a14dd(_0x5cb6d5,_0x4a50d8,_0x428eb6):(_0x416ff4===void 0x0?_0x5a14dd(_0x428eb6,_0x4a50d8,!0x0):_0x4e8fab?_0x5a14dd(_0x428eb6,_0x416ff4,_0x4a50d8[_0x1ee541(0x14d)](/\\/g,'')):_0x5a14dd(_0x428eb6,_0x416ff4,_0x4a50d8),_0x5a14dd(_0x5cb6d5,_0x1acc4b,_0x428eb6)),_0x5cb6d5;}function _0x713b28(_0x51e513){const _0x3cde41=_0x4ae5;return Object['keys'](_0x51e513)[_0x3cde41(0x1c1)](_0x424aaa=>{const _0x1f9958=_0x3cde41;let _0x900f34=_0x51e513[_0x424aaa];return Array[_0x1f9958(0x21a)](_0x900f34)||(_0x900f34=[_0x900f34]),_0x900f34[_0x1f9958(0x1c1)](_0x2254ca=>[_0x424aaa][_0x1f9958(0x26f)](Object[_0x1f9958(0x155)](_0x2254ca)[_0x1f9958(0x1c1)](_0x30b0b0=>{const _0x10f13c=_0x1f9958;let _0x28be34=_0x2254ca[_0x30b0b0];return Array[_0x10f13c(0x21a)](_0x28be34)||(_0x28be34=[_0x28be34]),_0x28be34[_0x10f13c(0x1c1)](_0x40937e=>_0x40937e===!0x0?_0x30b0b0:_0x30b0b0+'='+_0x40937e)[_0x10f13c(0x251)](';\x20');}))[_0x1f9958(0x251)](';\x20'))['join'](',\x20');})[_0x3cde41(0x251)](',\x20');}return be={'format':_0x713b28,'parse':_0xdd8d30},be;}var we,st;function Ie(){const _0x4f0bb0=_0x32a070;if(st)return we;st=0x1;const _0x567b79=_0x2b7f63,_0x30e2a1=_0xa9f3d9,_0x47b656=_0x177bde,_0x1fd17a=_0xfedf7,_0xc3886d=_0x2b9d98,{randomBytes:_0x31b0bf,createHash:_0x5c81a5}=_0x5465c6,{Duplex:_0x5b6c1d,Readable:_0x5700cb}=_0x39c306,{URL:_0x2c72ec}=_0x1b3dab,_0x5f1d85=he(),_0x17ba40=dt(),_0x510968=_t(),{isBlob:_0x281555}=ne(),{BINARY_TYPES:_0x2b143a,EMPTY_BUFFER:_0x1ec856,GUID:_0xc7c161,kForOnEventAttribute:_0x3256b0,kListener:_0x36481d,kStatusCode:_0x27e211,kWebSocket:_0x416c5a,NOOP:_0x316388}=V(),{EventTarget:{addEventListener:_0x217e92,removeEventListener:_0xb58679}}=Kt(),{format:_0x6f745d,parse:_0x8209b5}=pt(),{toBuffer:_0x4cba02}=ce(),_0x50df1a=0x1e*0x3e8,_0x41e0f8=Symbol(_0x4f0bb0(0x1a1)),_0x4a1c15=[0x8,0xd],_0x4690fe=[_0x4f0bb0(0x188),_0x4f0bb0(0x1bf),_0x4f0bb0(0x14b),_0x4f0bb0(0x13a)],_0x4e3a6f=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5c4603 extends _0x567b79{constructor(_0x26e647,_0x19a45b,_0x530cb2){const _0x4cdc84=_0x4f0bb0;super(),this[_0x4cdc84(0x2d9)]=_0x2b143a[0x0],this[_0x4cdc84(0x22c)]=0x3ee,this[_0x4cdc84(0x2c1)]=!0x1,this[_0x4cdc84(0x1b6)]=!0x1,this[_0x4cdc84(0x1d6)]=_0x1ec856,this['_closeTimer']=null,this[_0x4cdc84(0x2d7)]=!0x1,this[_0x4cdc84(0x1aa)]={},this[_0x4cdc84(0x259)]=!0x1,this[_0x4cdc84(0x20d)]='',this[_0x4cdc84(0x1e0)]=_0x5c4603['CONNECTING'],this['_receiver']=null,this['_sender']=null,this['_socket']=null,_0x26e647!==null?(this[_0x4cdc84(0x2a4)]=0x0,this['_isServer']=!0x1,this[_0x4cdc84(0x279)]=0x0,_0x19a45b===void 0x0?_0x19a45b=[]:Array[_0x4cdc84(0x21a)](_0x19a45b)||(typeof _0x19a45b==_0x4cdc84(0x1ab)&&_0x19a45b!==null?(_0x530cb2=_0x19a45b,_0x19a45b=[]):_0x19a45b=[_0x19a45b]),_0x256f94(this,_0x26e647,_0x19a45b,_0x530cb2)):(this[_0x4cdc84(0x1c8)]=_0x530cb2['autoPong'],this[_0x4cdc84(0x145)]=!0x0);}get['binaryType'](){const _0x419c43=_0x4f0bb0;return this[_0x419c43(0x2d9)];}set[_0x4f0bb0(0x25a)](_0xa8f89c){const _0x14c860=_0x4f0bb0;_0x2b143a[_0x14c860(0x268)](_0xa8f89c)&&(this[_0x14c860(0x2d9)]=_0xa8f89c,this[_0x14c860(0x1ce)]&&(this[_0x14c860(0x1ce)]['_binaryType']=_0xa8f89c));}get[_0x4f0bb0(0x178)](){const _0x2c6dac=_0x4f0bb0;return this['_socket']?this[_0x2c6dac(0x175)][_0x2c6dac(0x1e3)][_0x2c6dac(0x174)]+this[_0x2c6dac(0x192)][_0x2c6dac(0x252)]:this[_0x2c6dac(0x2a4)];}get[_0x4f0bb0(0x19d)](){const _0x54d133=_0x4f0bb0;return Object[_0x54d133(0x155)](this[_0x54d133(0x1aa)])[_0x54d133(0x251)]();}get[_0x4f0bb0(0x288)](){const _0x20e662=_0x4f0bb0;return this[_0x20e662(0x259)];}get[_0x4f0bb0(0x2a1)](){return null;}get[_0x4f0bb0(0x1a0)](){return null;}get[_0x4f0bb0(0x240)](){return null;}get['onmessage'](){return null;}get[_0x4f0bb0(0x204)](){const _0x5471b3=_0x4f0bb0;return this[_0x5471b3(0x20d)];}get['readyState'](){const _0x4b4b5d=_0x4f0bb0;return this[_0x4b4b5d(0x1e0)];}get[_0x4f0bb0(0x1e9)](){const _0x562b08=_0x4f0bb0;return this[_0x562b08(0x29b)];}[_0x4f0bb0(0x25d)](_0x31b147,_0x36c77d,_0x2109f5){const _0x1597ae=_0x4f0bb0,_0x3e66a4=new _0x17ba40({'allowSynchronousEvents':_0x2109f5[_0x1597ae(0x1c5)],'binaryType':this[_0x1597ae(0x25a)],'extensions':this[_0x1597ae(0x1aa)],'isServer':this[_0x1597ae(0x145)],'maxPayload':_0x2109f5[_0x1597ae(0x222)],'skipUTF8Validation':_0x2109f5[_0x1597ae(0x1de)]}),_0x2d9e2f=new _0x510968(_0x31b147,this[_0x1597ae(0x1aa)],_0x2109f5[_0x1597ae(0x24a)]);this['_receiver']=_0x3e66a4,this[_0x1597ae(0x192)]=_0x2d9e2f,this[_0x1597ae(0x175)]=_0x31b147,_0x3e66a4[_0x416c5a]=this,_0x2d9e2f[_0x416c5a]=this,_0x31b147[_0x416c5a]=this,_0x3e66a4['on'](_0x1597ae(0x295),_0x37b016),_0x3e66a4['on'](_0x1597ae(0x2b7),_0x231614),_0x3e66a4['on'](_0x1597ae(0x23c),_0x29ca71),_0x3e66a4['on'](_0x1597ae(0x28c),_0x5e62bd),_0x3e66a4['on'](_0x1597ae(0x1f3),_0x18301a),_0x3e66a4['on'](_0x1597ae(0x199),_0x30d7bc),_0x2d9e2f[_0x1597ae(0x1a0)]=_0x132b1c,_0x31b147[_0x1597ae(0x1db)]&&_0x31b147[_0x1597ae(0x1db)](0x0),_0x31b147['setNoDelay']&&_0x31b147['setNoDelay'](),_0x36c77d[_0x1597ae(0x174)]>0x0&&_0x31b147[_0x1597ae(0x17d)](_0x36c77d),_0x31b147['on'](_0x1597ae(0x203),_0x3f68e0),_0x31b147['on'](_0x1597ae(0x27f),_0x31e0b8),_0x31b147['on'](_0x1597ae(0x1b5),_0x924181),_0x31b147['on'](_0x1597ae(0x23c),_0x5ea609),this['_readyState']=_0x5c4603[_0x1597ae(0x1bf)],this[_0x1597ae(0x1f1)](_0x1597ae(0x1f9));}[_0x4f0bb0(0x271)](){const _0x10123a=_0x4f0bb0;if(!this['_socket']){this[_0x10123a(0x1e0)]=_0x5c4603[_0x10123a(0x13a)],this[_0x10123a(0x1f1)]('close',this[_0x10123a(0x22c)],this[_0x10123a(0x1d6)]);return;}this[_0x10123a(0x1aa)][_0x5f1d85['extensionName']]&&this[_0x10123a(0x1aa)][_0x5f1d85[_0x10123a(0x201)]][_0x10123a(0x2ba)](),this['_receiver'][_0x10123a(0x1d5)](),this['_readyState']=_0x5c4603['CLOSED'],this[_0x10123a(0x1f1)](_0x10123a(0x203),this[_0x10123a(0x22c)],this[_0x10123a(0x1d6)]);}['close'](_0xfb167a,_0x402e07){const _0x38c088=_0x4f0bb0;if(this[_0x38c088(0x213)]!==_0x5c4603[_0x38c088(0x13a)]){if(this[_0x38c088(0x213)]===_0x5c4603[_0x38c088(0x188)]){_0x5c8297(this,this[_0x38c088(0x292)],_0x38c088(0x15c));return;}if(this[_0x38c088(0x213)]===_0x5c4603[_0x38c088(0x14b)]){this['_closeFrameSent']&&(this[_0x38c088(0x2c1)]||this[_0x38c088(0x1ce)][_0x38c088(0x1e3)][_0x38c088(0x169)])&&this[_0x38c088(0x175)]['end']();return;}this[_0x38c088(0x1e0)]=_0x5c4603[_0x38c088(0x14b)],this[_0x38c088(0x192)][_0x38c088(0x203)](_0xfb167a,_0x402e07,!this[_0x38c088(0x145)],_0xa97586=>{const _0x1f6f55=_0x38c088;_0xa97586||(this[_0x1f6f55(0x1b6)]=!0x0,(this[_0x1f6f55(0x2c1)]||this[_0x1f6f55(0x1ce)][_0x1f6f55(0x1e3)]['errorEmitted'])&&this['_socket'][_0x1f6f55(0x1b5)]());}),_0xc04845(this);}}['pause'](){const _0x7d4ccc=_0x4f0bb0;this['readyState']===_0x5c4603['CONNECTING']||this[_0x7d4ccc(0x213)]===_0x5c4603['CLOSED']||(this[_0x7d4ccc(0x259)]=!0x0,this[_0x7d4ccc(0x175)][_0x7d4ccc(0x17c)]());}[_0x4f0bb0(0x1f3)](_0x2e84e5,_0x335178,_0x11e6a3){const _0x879c44=_0x4f0bb0;if(this['readyState']===_0x5c4603[_0x879c44(0x188)])throw new Error(_0x879c44(0x29e));if(typeof _0x2e84e5==_0x879c44(0x1ed)?(_0x11e6a3=_0x2e84e5,_0x2e84e5=_0x335178=void 0x0):typeof _0x335178=='function'&&(_0x11e6a3=_0x335178,_0x335178=void 0x0),typeof _0x2e84e5==_0x879c44(0x28e)&&(_0x2e84e5=_0x2e84e5[_0x879c44(0x152)]()),this[_0x879c44(0x213)]!==_0x5c4603['OPEN']){_0x5a44f9(this,_0x2e84e5,_0x11e6a3);return;}_0x335178===void 0x0&&(_0x335178=!this['_isServer']),this[_0x879c44(0x192)][_0x879c44(0x1f3)](_0x2e84e5||_0x1ec856,_0x335178,_0x11e6a3);}[_0x4f0bb0(0x199)](_0x46b6cd,_0x50268f,_0xf0052d){const _0x3a6a0c=_0x4f0bb0;if(this['readyState']===_0x5c4603['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x46b6cd==_0x3a6a0c(0x1ed)?(_0xf0052d=_0x46b6cd,_0x46b6cd=_0x50268f=void 0x0):typeof _0x50268f==_0x3a6a0c(0x1ed)&&(_0xf0052d=_0x50268f,_0x50268f=void 0x0),typeof _0x46b6cd==_0x3a6a0c(0x28e)&&(_0x46b6cd=_0x46b6cd[_0x3a6a0c(0x152)]()),this['readyState']!==_0x5c4603['OPEN']){_0x5a44f9(this,_0x46b6cd,_0xf0052d);return;}_0x50268f===void 0x0&&(_0x50268f=!this[_0x3a6a0c(0x145)]),this['_sender'][_0x3a6a0c(0x199)](_0x46b6cd||_0x1ec856,_0x50268f,_0xf0052d);}['resume'](){const _0x34835d=_0x4f0bb0;this[_0x34835d(0x213)]===_0x5c4603[_0x34835d(0x188)]||this['readyState']===_0x5c4603[_0x34835d(0x13a)]||(this['_paused']=!0x1,this[_0x34835d(0x1ce)][_0x34835d(0x1e3)][_0x34835d(0x1be)]||this[_0x34835d(0x175)]['resume']());}[_0x4f0bb0(0x2d1)](_0x45f7d2,_0xb00341,_0x12eb6b){const _0x342467=_0x4f0bb0;if(this[_0x342467(0x213)]===_0x5c4603[_0x342467(0x188)])throw new Error(_0x342467(0x29e));if(typeof _0xb00341==_0x342467(0x1ed)&&(_0x12eb6b=_0xb00341,_0xb00341={}),typeof _0x45f7d2==_0x342467(0x28e)&&(_0x45f7d2=_0x45f7d2[_0x342467(0x152)]()),this[_0x342467(0x213)]!==_0x5c4603['OPEN']){_0x5a44f9(this,_0x45f7d2,_0x12eb6b);return;}const _0x582398={'binary':typeof _0x45f7d2!=_0x342467(0x212),'mask':!this[_0x342467(0x145)],'compress':!0x0,'fin':!0x0,..._0xb00341};this[_0x342467(0x1aa)][_0x5f1d85[_0x342467(0x201)]]||(_0x582398['compress']=!0x1),this[_0x342467(0x192)]['send'](_0x45f7d2||_0x1ec856,_0x582398,_0x12eb6b);}[_0x4f0bb0(0x1e5)](){const _0x3470f6=_0x4f0bb0;if(this[_0x3470f6(0x213)]!==_0x5c4603[_0x3470f6(0x13a)]){if(this['readyState']===_0x5c4603['CONNECTING']){_0x5c8297(this,this[_0x3470f6(0x292)],_0x3470f6(0x15c));return;}this[_0x3470f6(0x175)]&&(this[_0x3470f6(0x1e0)]=_0x5c4603[_0x3470f6(0x14b)],this[_0x3470f6(0x175)]['destroy']());}}}Object[_0x4f0bb0(0x25c)](_0x5c4603,_0x4f0bb0(0x188),{'enumerable':!0x0,'value':_0x4690fe['indexOf'](_0x4f0bb0(0x188))}),Object[_0x4f0bb0(0x25c)](_0x5c4603[_0x4f0bb0(0x19c)],'CONNECTING',{'enumerable':!0x0,'value':_0x4690fe[_0x4f0bb0(0x211)](_0x4f0bb0(0x188))}),Object[_0x4f0bb0(0x25c)](_0x5c4603,_0x4f0bb0(0x1bf),{'enumerable':!0x0,'value':_0x4690fe[_0x4f0bb0(0x211)](_0x4f0bb0(0x1bf))}),Object[_0x4f0bb0(0x25c)](_0x5c4603[_0x4f0bb0(0x19c)],_0x4f0bb0(0x1bf),{'enumerable':!0x0,'value':_0x4690fe[_0x4f0bb0(0x211)](_0x4f0bb0(0x1bf))}),Object[_0x4f0bb0(0x25c)](_0x5c4603,_0x4f0bb0(0x14b),{'enumerable':!0x0,'value':_0x4690fe[_0x4f0bb0(0x211)](_0x4f0bb0(0x14b))}),Object['defineProperty'](_0x5c4603[_0x4f0bb0(0x19c)],_0x4f0bb0(0x14b),{'enumerable':!0x0,'value':_0x4690fe[_0x4f0bb0(0x211)]('CLOSING')}),Object[_0x4f0bb0(0x25c)](_0x5c4603,_0x4f0bb0(0x13a),{'enumerable':!0x0,'value':_0x4690fe[_0x4f0bb0(0x211)](_0x4f0bb0(0x13a))}),Object[_0x4f0bb0(0x25c)](_0x5c4603['prototype'],_0x4f0bb0(0x13a),{'enumerable':!0x0,'value':_0x4690fe[_0x4f0bb0(0x211)](_0x4f0bb0(0x13a))}),['binaryType',_0x4f0bb0(0x178),_0x4f0bb0(0x19d),_0x4f0bb0(0x288),_0x4f0bb0(0x204),'readyState',_0x4f0bb0(0x1e9)]['forEach'](_0x6d1430=>{const _0x56ff60=_0x4f0bb0;Object[_0x56ff60(0x25c)](_0x5c4603[_0x56ff60(0x19c)],_0x6d1430,{'enumerable':!0x0});}),[_0x4f0bb0(0x1f9),_0x4f0bb0(0x23c),'close',_0x4f0bb0(0x28c)][_0x4f0bb0(0x14c)](_0x50732a=>{const _0x4abe61=_0x4f0bb0;Object[_0x4abe61(0x25c)](_0x5c4603[_0x4abe61(0x19c)],'on'+_0x50732a,{'enumerable':!0x0,'get'(){const _0x39fd63=_0x4abe61;for(const _0x59f32c of this[_0x39fd63(0x2ab)](_0x50732a))if(_0x59f32c[_0x3256b0])return _0x59f32c[_0x36481d];return null;},'set'(_0x5ea53b){const _0x18d98f=_0x4abe61;for(const _0x443162 of this[_0x18d98f(0x2ab)](_0x50732a))if(_0x443162[_0x3256b0]){this[_0x18d98f(0x160)](_0x50732a,_0x443162);break;}typeof _0x5ea53b==_0x18d98f(0x1ed)&&this[_0x18d98f(0x146)](_0x50732a,_0x5ea53b,{[_0x3256b0]:!0x0});}});}),_0x5c4603['prototype'][_0x4f0bb0(0x146)]=_0x217e92,_0x5c4603[_0x4f0bb0(0x19c)][_0x4f0bb0(0x260)]=_0xb58679,we=_0x5c4603;function _0x256f94(_0x5a523a,_0x46b09e,_0x30c6a1,_0x4dec52){const _0x4e627a=_0x4f0bb0,_0x163f37={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4a1c15[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x4dec52,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x4e627a(0x1e7),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x5a523a[_0x4e627a(0x1c8)]=_0x163f37[_0x4e627a(0x217)],!_0x4a1c15['includes'](_0x163f37[_0x4e627a(0x1ef)]))throw new RangeError(_0x4e627a(0x207)+_0x163f37[_0x4e627a(0x1ef)]+'\x20(supported\x20versions:\x20'+_0x4a1c15[_0x4e627a(0x251)](',\x20')+')');let _0x56b1eb;if(_0x46b09e instanceof _0x2c72ec)_0x56b1eb=_0x46b09e;else try{_0x56b1eb=new _0x2c72ec(_0x46b09e);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x46b09e);}_0x56b1eb[_0x4e627a(0x204)]===_0x4e627a(0x140)?_0x56b1eb[_0x4e627a(0x204)]=_0x4e627a(0x272):_0x56b1eb[_0x4e627a(0x204)]===_0x4e627a(0x2be)&&(_0x56b1eb['protocol']=_0x4e627a(0x29a)),_0x5a523a[_0x4e627a(0x29b)]=_0x56b1eb[_0x4e627a(0x1c4)];const _0x1b1093=_0x56b1eb[_0x4e627a(0x204)]==='wss:',_0x25900b=_0x56b1eb['protocol']==='ws+unix:';let _0x77a993;if(_0x56b1eb[_0x4e627a(0x204)]!==_0x4e627a(0x272)&&!_0x1b1093&&!_0x25900b?_0x77a993='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':_0x25900b&&!_0x56b1eb[_0x4e627a(0x281)]?_0x77a993=_0x4e627a(0x23a):_0x56b1eb[_0x4e627a(0x1d0)]&&(_0x77a993='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x77a993){const _0x5b4f81=new SyntaxError(_0x77a993);if(_0x5a523a[_0x4e627a(0x279)]===0x0)throw _0x5b4f81;_0x5802d8(_0x5a523a,_0x5b4f81);return;}const _0x4a9eb2=_0x1b1093?0x1bb:0x50,_0x25110e=_0x31b0bf(0x10)['toString'](_0x4e627a(0x283)),_0x1f0757=_0x1b1093?_0x30e2a1[_0x4e627a(0x19f)]:_0x47b656['request'],_0x2ec1d5=new Set();let _0x10572d;if(_0x163f37[_0x4e627a(0x2c3)]=_0x163f37['createConnection']||(_0x1b1093?_0x2308f6:_0x58d698),_0x163f37['defaultPort']=_0x163f37[_0x4e627a(0x139)]||_0x4a9eb2,_0x163f37['port']=_0x56b1eb[_0x4e627a(0x2d5)]||_0x4a9eb2,_0x163f37[_0x4e627a(0x1d1)]=_0x56b1eb[_0x4e627a(0x16f)][_0x4e627a(0x225)]('[')?_0x56b1eb[_0x4e627a(0x16f)][_0x4e627a(0x223)](0x1,-0x1):_0x56b1eb[_0x4e627a(0x16f)],_0x163f37[_0x4e627a(0x275)]={..._0x163f37['headers'],'Sec-WebSocket-Version':_0x163f37[_0x4e627a(0x1ef)],'Sec-WebSocket-Key':_0x25110e,'Connection':_0x4e627a(0x19e),'Upgrade':_0x4e627a(0x278)},_0x163f37[_0x4e627a(0x1a5)]=_0x56b1eb[_0x4e627a(0x281)]+_0x56b1eb[_0x4e627a(0x1ff)],_0x163f37['timeout']=_0x163f37[_0x4e627a(0x21c)],_0x163f37[_0x4e627a(0x277)]&&(_0x10572d=new _0x5f1d85(_0x163f37['perMessageDeflate']!==!0x0?_0x163f37[_0x4e627a(0x277)]:{},!0x1,_0x163f37[_0x4e627a(0x222)]),_0x163f37[_0x4e627a(0x275)]['Sec-WebSocket-Extensions']=_0x6f745d({[_0x5f1d85['extensionName']]:_0x10572d[_0x4e627a(0x26a)]()})),_0x30c6a1[_0x4e627a(0x174)]){for(const _0x5d17d3 of _0x30c6a1){if(typeof _0x5d17d3!='string'||!_0x4e3a6f[_0x4e627a(0x161)](_0x5d17d3)||_0x2ec1d5['has'](_0x5d17d3))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x2ec1d5[_0x4e627a(0x22a)](_0x5d17d3);}_0x163f37[_0x4e627a(0x275)][_0x4e627a(0x269)]=_0x30c6a1[_0x4e627a(0x251)](',');}if(_0x163f37[_0x4e627a(0x1ca)]&&(_0x163f37[_0x4e627a(0x1ef)]<0xd?_0x163f37[_0x4e627a(0x275)][_0x4e627a(0x2ad)]=_0x163f37[_0x4e627a(0x1ca)]:_0x163f37[_0x4e627a(0x275)][_0x4e627a(0x22e)]=_0x163f37[_0x4e627a(0x1ca)]),(_0x56b1eb['username']||_0x56b1eb[_0x4e627a(0x233)])&&(_0x163f37[_0x4e627a(0x143)]=_0x56b1eb['username']+':'+_0x56b1eb[_0x4e627a(0x233)]),_0x25900b){const _0x16fd65=_0x163f37[_0x4e627a(0x1a5)][_0x4e627a(0x1a8)](':');_0x163f37[_0x4e627a(0x158)]=_0x16fd65[0x0],_0x163f37[_0x4e627a(0x1a5)]=_0x16fd65[0x1];}let _0x18a01a;if(_0x163f37[_0x4e627a(0x2d2)]){if(_0x5a523a[_0x4e627a(0x279)]===0x0){_0x5a523a[_0x4e627a(0x27e)]=_0x25900b,_0x5a523a['_originalSecure']=_0x1b1093,_0x5a523a['_originalHostOrSocketPath']=_0x25900b?_0x163f37['socketPath']:_0x56b1eb['host'];const _0x5a639e=_0x4dec52&&_0x4dec52[_0x4e627a(0x275)];if(_0x4dec52={..._0x4dec52,'headers':{}},_0x5a639e){for(const [_0x5d3597,_0x6cc779]of Object[_0x4e627a(0x286)](_0x5a639e))_0x4dec52[_0x4e627a(0x275)][_0x5d3597[_0x4e627a(0x15f)]()]=_0x6cc779;}}else{if(_0x5a523a[_0x4e627a(0x249)](_0x4e627a(0x1dd))===0x0){const _0x3180b7=_0x25900b?_0x5a523a[_0x4e627a(0x27e)]?_0x163f37[_0x4e627a(0x158)]===_0x5a523a[_0x4e627a(0x244)]:!0x1:_0x5a523a[_0x4e627a(0x27e)]?!0x1:_0x56b1eb[_0x4e627a(0x1d1)]===_0x5a523a['_originalHostOrSocketPath'];(!_0x3180b7||_0x5a523a[_0x4e627a(0x2cb)]&&!_0x1b1093)&&(delete _0x163f37[_0x4e627a(0x275)][_0x4e627a(0x1e8)],delete _0x163f37[_0x4e627a(0x275)][_0x4e627a(0x19a)],_0x3180b7||delete _0x163f37[_0x4e627a(0x275)][_0x4e627a(0x1d1)],_0x163f37['auth']=void 0x0);}}_0x163f37[_0x4e627a(0x143)]&&!_0x4dec52['headers'][_0x4e627a(0x1e8)]&&(_0x4dec52[_0x4e627a(0x275)]['authorization']=_0x4e627a(0x2cf)+Buffer['from'](_0x163f37[_0x4e627a(0x143)])[_0x4e627a(0x152)](_0x4e627a(0x283))),_0x18a01a=_0x5a523a['_req']=_0x1f0757(_0x163f37),_0x5a523a['_redirects']&&_0x5a523a[_0x4e627a(0x1f1)]('redirect',_0x5a523a[_0x4e627a(0x1e9)],_0x18a01a);}else _0x18a01a=_0x5a523a[_0x4e627a(0x292)]=_0x1f0757(_0x163f37);_0x163f37[_0x4e627a(0x254)]&&_0x18a01a['on'](_0x4e627a(0x254),()=>{const _0x9d3dfe=_0x4e627a;_0x5c8297(_0x5a523a,_0x18a01a,_0x9d3dfe(0x289));}),_0x18a01a['on']('error',_0xf057=>{const _0x4c7ebc=_0x4e627a;_0x18a01a===null||_0x18a01a[_0x41e0f8]||(_0x18a01a=_0x5a523a[_0x4c7ebc(0x292)]=null,_0x5802d8(_0x5a523a,_0xf057));}),_0x18a01a['on'](_0x4e627a(0x159),_0x1f184f=>{const _0x4d2fcc=_0x4e627a,_0x30653d=_0x1f184f[_0x4d2fcc(0x275)]['location'],_0x4d9eec=_0x1f184f[_0x4d2fcc(0x28d)];if(_0x30653d&&_0x163f37[_0x4d2fcc(0x2d2)]&&_0x4d9eec>=0x12c&&_0x4d9eec<0x190){if(++_0x5a523a[_0x4d2fcc(0x279)]>_0x163f37['maxRedirects']){_0x5c8297(_0x5a523a,_0x18a01a,_0x4d2fcc(0x29f));return;}_0x18a01a[_0x4d2fcc(0x13c)]();let _0x44e3ea;try{_0x44e3ea=new _0x2c72ec(_0x30653d,_0x46b09e);}catch{const _0x52ea79=new SyntaxError(_0x4d2fcc(0x265)+_0x30653d);_0x5802d8(_0x5a523a,_0x52ea79);return;}_0x256f94(_0x5a523a,_0x44e3ea,_0x30c6a1,_0x4dec52);}else _0x5a523a['emit'](_0x4d2fcc(0x1e6),_0x18a01a,_0x1f184f)||_0x5c8297(_0x5a523a,_0x18a01a,_0x4d2fcc(0x236)+_0x1f184f['statusCode']);}),_0x18a01a['on'](_0x4e627a(0x14e),(_0x37feac,_0x15f8d5,_0x4fcad0)=>{const _0x179a94=_0x4e627a;if(_0x5a523a[_0x179a94(0x1f1)](_0x179a94(0x14e),_0x37feac),_0x5a523a[_0x179a94(0x213)]!==_0x5c4603[_0x179a94(0x188)])return;_0x18a01a=_0x5a523a[_0x179a94(0x292)]=null;const _0x3fe9c3=_0x37feac[_0x179a94(0x275)][_0x179a94(0x14e)];if(_0x3fe9c3===void 0x0||_0x3fe9c3[_0x179a94(0x15f)]()!==_0x179a94(0x278)){_0x5c8297(_0x5a523a,_0x15f8d5,'Invalid\x20Upgrade\x20header');return;}const _0x517982=_0x5c81a5('sha1')[_0x179a94(0x177)](_0x25110e+_0xc7c161)[_0x179a94(0x2bf)](_0x179a94(0x283));if(_0x37feac[_0x179a94(0x275)][_0x179a94(0x1cc)]!==_0x517982){_0x5c8297(_0x5a523a,_0x15f8d5,_0x179a94(0x141));return;}const _0x257c33=_0x37feac[_0x179a94(0x275)][_0x179a94(0x1bd)];let _0x3d39bb;if(_0x257c33!==void 0x0?_0x2ec1d5['size']?_0x2ec1d5['has'](_0x257c33)||(_0x3d39bb=_0x179a94(0x28f)):_0x3d39bb=_0x179a94(0x186):_0x2ec1d5['size']&&(_0x3d39bb='Server\x20sent\x20no\x20subprotocol'),_0x3d39bb){_0x5c8297(_0x5a523a,_0x15f8d5,_0x3d39bb);return;}_0x257c33&&(_0x5a523a['_protocol']=_0x257c33);const _0x3fbe35=_0x37feac[_0x179a94(0x275)]['sec-websocket-extensions'];if(_0x3fbe35!==void 0x0){if(!_0x10572d){_0x5c8297(_0x5a523a,_0x15f8d5,_0x179a94(0x185));return;}let _0x2e4486;try{_0x2e4486=_0x8209b5(_0x3fbe35);}catch{_0x5c8297(_0x5a523a,_0x15f8d5,_0x179a94(0x2d0));return;}const _0x35cfad=Object[_0x179a94(0x155)](_0x2e4486);if(_0x35cfad[_0x179a94(0x174)]!==0x1||_0x35cfad[0x0]!==_0x5f1d85[_0x179a94(0x201)]){_0x5c8297(_0x5a523a,_0x15f8d5,_0x179a94(0x171));return;}try{_0x10572d['accept'](_0x2e4486[_0x5f1d85[_0x179a94(0x201)]]);}catch{_0x5c8297(_0x5a523a,_0x15f8d5,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x5a523a[_0x179a94(0x1aa)][_0x5f1d85[_0x179a94(0x201)]]=_0x10572d;}_0x5a523a[_0x179a94(0x25d)](_0x15f8d5,_0x4fcad0,{'allowSynchronousEvents':_0x163f37[_0x179a94(0x1c5)],'generateMask':_0x163f37[_0x179a94(0x24a)],'maxPayload':_0x163f37[_0x179a94(0x222)],'skipUTF8Validation':_0x163f37[_0x179a94(0x1de)]});}),_0x163f37['finishRequest']?_0x163f37[_0x4e627a(0x134)](_0x18a01a,_0x5a523a):_0x18a01a[_0x4e627a(0x1b5)]();}function _0x5802d8(_0x1123a7,_0x1b4c3e){const _0x37d48c=_0x4f0bb0;_0x1123a7[_0x37d48c(0x1e0)]=_0x5c4603[_0x37d48c(0x14b)],_0x1123a7['_errorEmitted']=!0x0,_0x1123a7[_0x37d48c(0x1f1)](_0x37d48c(0x23c),_0x1b4c3e),_0x1123a7[_0x37d48c(0x271)]();}function _0x58d698(_0x3ddeca){const _0x49235f=_0x4f0bb0;return _0x3ddeca[_0x49235f(0x1a5)]=_0x3ddeca[_0x49235f(0x158)],_0x1fd17a[_0x49235f(0x182)](_0x3ddeca);}function _0x2308f6(_0x9532a7){const _0x54e493=_0x4f0bb0;return _0x9532a7['path']=void 0x0,!_0x9532a7['servername']&&_0x9532a7[_0x54e493(0x2d3)]!==''&&(_0x9532a7['servername']=_0x1fd17a[_0x54e493(0x282)](_0x9532a7[_0x54e493(0x1d1)])?'':_0x9532a7[_0x54e493(0x1d1)]),_0xc3886d['connect'](_0x9532a7);}function _0x5c8297(_0x3c8b33,_0x29edef,_0x146c37){const _0x4e0ef4=_0x4f0bb0;_0x3c8b33[_0x4e0ef4(0x1e0)]=_0x5c4603[_0x4e0ef4(0x14b)];const _0x1f8b11=new Error(_0x146c37);Error[_0x4e0ef4(0x227)](_0x1f8b11,_0x5c8297),_0x29edef[_0x4e0ef4(0x1a6)]?(_0x29edef[_0x41e0f8]=!0x0,_0x29edef[_0x4e0ef4(0x13c)](),_0x29edef[_0x4e0ef4(0x1c7)]&&!_0x29edef['socket']['destroyed']&&_0x29edef[_0x4e0ef4(0x1c7)][_0x4e0ef4(0x2d4)](),process[_0x4e0ef4(0x22f)](_0x5802d8,_0x3c8b33,_0x1f8b11)):(_0x29edef[_0x4e0ef4(0x2d4)](_0x1f8b11),_0x29edef[_0x4e0ef4(0x238)]('error',_0x3c8b33[_0x4e0ef4(0x1f1)][_0x4e0ef4(0x149)](_0x3c8b33,'error')),_0x29edef[_0x4e0ef4(0x238)]('close',_0x3c8b33[_0x4e0ef4(0x271)]['bind'](_0x3c8b33)));}function _0x5a44f9(_0x3c9325,_0x43a248,_0x185648){const _0x49174f=_0x4f0bb0;if(_0x43a248){const _0x2d74f9=_0x281555(_0x43a248)?_0x43a248[_0x49174f(0x15b)]:_0x4cba02(_0x43a248)['length'];_0x3c9325['_socket']?_0x3c9325['_sender'][_0x49174f(0x252)]+=_0x2d74f9:_0x3c9325[_0x49174f(0x2a4)]+=_0x2d74f9;}if(_0x185648){const _0x25a032=new Error(_0x49174f(0x206)+_0x3c9325[_0x49174f(0x213)]+'\x20('+_0x4690fe[_0x3c9325['readyState']]+')');process[_0x49174f(0x22f)](_0x185648,_0x25a032);}}function _0x37b016(_0x5d6fa0,_0x570588){const _0x16841b=_0x4f0bb0,_0x356d02=this[_0x416c5a];_0x356d02[_0x16841b(0x2c1)]=!0x0,_0x356d02[_0x16841b(0x1d6)]=_0x570588,_0x356d02[_0x16841b(0x22c)]=_0x5d6fa0,_0x356d02[_0x16841b(0x175)][_0x416c5a]!==void 0x0&&(_0x356d02[_0x16841b(0x175)][_0x16841b(0x160)](_0x16841b(0x27f),_0x31e0b8),process['nextTick'](_0x5eb449,_0x356d02[_0x16841b(0x175)]),_0x5d6fa0===0x3ed?_0x356d02['close']():_0x356d02['close'](_0x5d6fa0,_0x570588));}function _0x231614(){const _0x172529=_0x4f0bb0,_0x49a374=this[_0x416c5a];_0x49a374[_0x172529(0x288)]||_0x49a374['_socket']['resume']();}function _0x29ca71(_0x23a2f9){const _0x6bbb25=_0x4f0bb0,_0x4146f3=this[_0x416c5a];_0x4146f3[_0x6bbb25(0x175)][_0x416c5a]!==void 0x0&&(_0x4146f3[_0x6bbb25(0x175)][_0x6bbb25(0x160)](_0x6bbb25(0x27f),_0x31e0b8),process[_0x6bbb25(0x22f)](_0x5eb449,_0x4146f3['_socket']),_0x4146f3[_0x6bbb25(0x203)](_0x23a2f9[_0x27e211])),_0x4146f3['_errorEmitted']||(_0x4146f3[_0x6bbb25(0x2d7)]=!0x0,_0x4146f3[_0x6bbb25(0x1f1)](_0x6bbb25(0x23c),_0x23a2f9));}function _0x5b6fe3(){this[_0x416c5a]['emitClose']();}function _0x5e62bd(_0x20300b,_0x4758f){const _0x38f03b=_0x4f0bb0;this[_0x416c5a][_0x38f03b(0x1f1)](_0x38f03b(0x28c),_0x20300b,_0x4758f);}function _0x18301a(_0x9be97a){const _0x5b9195=_0x4f0bb0,_0x14b799=this[_0x416c5a];_0x14b799[_0x5b9195(0x1c8)]&&_0x14b799[_0x5b9195(0x199)](_0x9be97a,!this[_0x5b9195(0x145)],_0x316388),_0x14b799[_0x5b9195(0x1f1)](_0x5b9195(0x1f3),_0x9be97a);}function _0x30d7bc(_0x254810){const _0x10bf8f=_0x4f0bb0;this[_0x416c5a][_0x10bf8f(0x1f1)](_0x10bf8f(0x199),_0x254810);}function _0x5eb449(_0x5cd4e7){_0x5cd4e7['resume']();}function _0x132b1c(_0x3b214c){const _0xce2a4d=_0x4f0bb0,_0x1721ca=this[_0x416c5a];_0x1721ca[_0xce2a4d(0x213)]!==_0x5c4603[_0xce2a4d(0x13a)]&&(_0x1721ca[_0xce2a4d(0x213)]===_0x5c4603['OPEN']&&(_0x1721ca[_0xce2a4d(0x1e0)]=_0x5c4603['CLOSING'],_0xc04845(_0x1721ca)),this[_0xce2a4d(0x175)][_0xce2a4d(0x1b5)](),_0x1721ca[_0xce2a4d(0x2d7)]||(_0x1721ca[_0xce2a4d(0x2d7)]=!0x0,_0x1721ca['emit'](_0xce2a4d(0x23c),_0x3b214c)));}function _0xc04845(_0x245763){const _0xa5fb16=_0x4f0bb0;_0x245763[_0xa5fb16(0x2a6)]=setTimeout(_0x245763['_socket'][_0xa5fb16(0x2d4)]['bind'](_0x245763[_0xa5fb16(0x175)]),_0x50df1a);}function _0x3f68e0(){const _0x259a68=_0x4f0bb0,_0x5de114=this[_0x416c5a];this['removeListener']('close',_0x3f68e0),this[_0x259a68(0x160)](_0x259a68(0x27f),_0x31e0b8),this[_0x259a68(0x160)](_0x259a68(0x1b5),_0x924181),_0x5de114['_readyState']=_0x5c4603[_0x259a68(0x14b)];let _0x75d247;!this[_0x259a68(0x25b)][_0x259a68(0x26c)]&&!_0x5de114[_0x259a68(0x2c1)]&&!_0x5de114[_0x259a68(0x1ce)]['_writableState'][_0x259a68(0x169)]&&(_0x75d247=_0x5de114['_socket'][_0x259a68(0x1fc)]())!==null&&_0x5de114[_0x259a68(0x1ce)]['write'](_0x75d247),_0x5de114[_0x259a68(0x1ce)][_0x259a68(0x1b5)](),this[_0x416c5a]=void 0x0,clearTimeout(_0x5de114[_0x259a68(0x2a6)]),_0x5de114[_0x259a68(0x1ce)]['_writableState'][_0x259a68(0x284)]||_0x5de114[_0x259a68(0x1ce)][_0x259a68(0x1e3)][_0x259a68(0x169)]?_0x5de114[_0x259a68(0x271)]():(_0x5de114['_receiver']['on'](_0x259a68(0x23c),_0x5b6fe3),_0x5de114['_receiver']['on'](_0x259a68(0x1e1),_0x5b6fe3));}function _0x31e0b8(_0x39dcc9){const _0x18eb12=_0x4f0bb0;this[_0x416c5a][_0x18eb12(0x1ce)][_0x18eb12(0x1ec)](_0x39dcc9)||this[_0x18eb12(0x17c)]();}function _0x924181(){const _0x206ad4=_0x4f0bb0,_0x44bb91=this[_0x416c5a];_0x44bb91[_0x206ad4(0x1e0)]=_0x5c4603[_0x206ad4(0x14b)],_0x44bb91['_receiver'][_0x206ad4(0x1b5)](),this[_0x206ad4(0x1b5)]();}function _0x5ea609(){const _0x370e60=_0x4f0bb0,_0x48a555=this[_0x416c5a];this['removeListener']('error',_0x5ea609),this['on'](_0x370e60(0x23c),_0x316388),_0x48a555&&(_0x48a555[_0x370e60(0x1e0)]=_0x5c4603[_0x370e60(0x14b)],this[_0x370e60(0x2d4)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x232dd1}=_0x39c306;function _0x4a61bc(_0x29418d){const _0x5a832e=_0x4ae5;_0x29418d[_0x5a832e(0x1f1)](_0x5a832e(0x203));}function _0x3118d0(){const _0xfa14b9=_0x4ae5;!this[_0xfa14b9(0x196)]&&this[_0xfa14b9(0x1e3)]['finished']&&this[_0xfa14b9(0x2d4)]();}function _0x524e74(_0x4de023){const _0x4bb055=_0x4ae5;this[_0x4bb055(0x160)](_0x4bb055(0x23c),_0x524e74),this[_0x4bb055(0x2d4)](),this[_0x4bb055(0x249)]('error')===0x0&&this['emit']('error',_0x4de023);}function _0x57e3f5(_0x2b3675,_0x2e62bf){const _0x1065c6=_0x4ae5;let _0x1033e1=!0x0;const _0x5cf6cc=new _0x232dd1({..._0x2e62bf,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x2b3675['on']('message',function(_0x3a7849,_0x208095){const _0x5222cd=_0x4ae5,_0x44c63e=!_0x208095&&_0x5cf6cc[_0x5222cd(0x25b)]['objectMode']?_0x3a7849[_0x5222cd(0x152)]():_0x3a7849;_0x5cf6cc[_0x5222cd(0x1b2)](_0x44c63e)||_0x2b3675[_0x5222cd(0x17c)]();}),_0x2b3675[_0x1065c6(0x238)](_0x1065c6(0x23c),function(_0x199cca){_0x5cf6cc['destroyed']||(_0x1033e1=!0x1,_0x5cf6cc['destroy'](_0x199cca));}),_0x2b3675[_0x1065c6(0x238)](_0x1065c6(0x203),function(){const _0x44d08d=_0x1065c6;_0x5cf6cc[_0x44d08d(0x196)]||_0x5cf6cc['push'](null);}),_0x5cf6cc[_0x1065c6(0x1fd)]=function(_0x1b977b,_0x1c2867){const _0x3f82b2=_0x1065c6;if(_0x2b3675[_0x3f82b2(0x213)]===_0x2b3675[_0x3f82b2(0x13a)]){_0x1c2867(_0x1b977b),process[_0x3f82b2(0x22f)](_0x4a61bc,_0x5cf6cc);return;}let _0x4ec18e=!0x1;_0x2b3675[_0x3f82b2(0x238)](_0x3f82b2(0x23c),function(_0x2a3e47){_0x4ec18e=!0x0,_0x1c2867(_0x2a3e47);}),_0x2b3675['once']('close',function(){const _0x363180=_0x3f82b2;_0x4ec18e||_0x1c2867(_0x1b977b),process[_0x363180(0x22f)](_0x4a61bc,_0x5cf6cc);}),_0x1033e1&&_0x2b3675[_0x3f82b2(0x1e5)]();},_0x5cf6cc[_0x1065c6(0x162)]=function(_0x1779c1){const _0xecb124=_0x1065c6;if(_0x2b3675[_0xecb124(0x213)]===_0x2b3675[_0xecb124(0x188)]){_0x2b3675['once'](_0xecb124(0x1f9),function(){const _0x163520=_0xecb124;_0x5cf6cc[_0x163520(0x162)](_0x1779c1);});return;}_0x2b3675['_socket']!==null&&(_0x2b3675['_socket'][_0xecb124(0x1e3)]['finished']?(_0x1779c1(),_0x5cf6cc['_readableState'][_0xecb124(0x26c)]&&_0x5cf6cc[_0xecb124(0x2d4)]()):(_0x2b3675[_0xecb124(0x175)][_0xecb124(0x238)](_0xecb124(0x1e1),function(){_0x1779c1();}),_0x2b3675[_0xecb124(0x203)]()));},_0x5cf6cc[_0x1065c6(0x20e)]=function(){const _0x2f626f=_0x1065c6;_0x2b3675[_0x2f626f(0x288)]&&_0x2b3675['resume']();},_0x5cf6cc[_0x1065c6(0x257)]=function(_0x2dc626,_0x4fcff5,_0x2aaa22){const _0x683a54=_0x1065c6;if(_0x2b3675[_0x683a54(0x213)]===_0x2b3675[_0x683a54(0x188)]){_0x2b3675['once'](_0x683a54(0x1f9),function(){const _0x45a010=_0x683a54;_0x5cf6cc[_0x45a010(0x257)](_0x2dc626,_0x4fcff5,_0x2aaa22);});return;}_0x2b3675[_0x683a54(0x2d1)](_0x2dc626,_0x2aaa22);},_0x5cf6cc['on'](_0x1065c6(0x1b5),_0x3118d0),_0x5cf6cc['on']('error',_0x524e74),_0x5cf6cc;}return Oe=_0x57e3f5,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0xf4a265}=ne();function _0xdc4acd(_0x1280a8){const _0x222f63=_0x4ae5,_0x2fe24b=new Set();let _0x11939a=-0x1,_0x48bccf=-0x1,_0x24b053=0x0;for(_0x24b053;_0x24b053<_0x1280a8[_0x222f63(0x174)];_0x24b053++){const _0xd59f90=_0x1280a8[_0x222f63(0x1b3)](_0x24b053);if(_0x48bccf===-0x1&&_0xf4a265[_0xd59f90]===0x1)_0x11939a===-0x1&&(_0x11939a=_0x24b053);else{if(_0x24b053!==0x0&&(_0xd59f90===0x20||_0xd59f90===0x9))_0x48bccf===-0x1&&_0x11939a!==-0x1&&(_0x48bccf=_0x24b053);else{if(_0xd59f90===0x2c){if(_0x11939a===-0x1)throw new SyntaxError(_0x222f63(0x2b2)+_0x24b053);_0x48bccf===-0x1&&(_0x48bccf=_0x24b053);const _0x2d3210=_0x1280a8['slice'](_0x11939a,_0x48bccf);if(_0x2fe24b[_0x222f63(0x202)](_0x2d3210))throw new SyntaxError(_0x222f63(0x18a)+_0x2d3210+'\x22\x20subprotocol\x20is\x20duplicated');_0x2fe24b[_0x222f63(0x22a)](_0x2d3210),_0x11939a=_0x48bccf=-0x1;}else throw new SyntaxError(_0x222f63(0x2b2)+_0x24b053);}}}if(_0x11939a===-0x1||_0x48bccf!==-0x1)throw new SyntaxError(_0x222f63(0x23f));const _0xeb80e4=_0x1280a8[_0x222f63(0x223)](_0x11939a,_0x24b053);if(_0x2fe24b[_0x222f63(0x202)](_0xeb80e4))throw new SyntaxError(_0x222f63(0x18a)+_0xeb80e4+_0x222f63(0x246));return _0x2fe24b[_0x222f63(0x22a)](_0xeb80e4),_0x2fe24b;}return Ce={'parse':_0xdc4acd},Ce;}var Te,ot;function er(){const _0x216a9a=_0x32a070;if(ot)return Te;ot=0x1;const _0x33fc89=_0x2b7f63,_0x5cfd15=_0x177bde,{Duplex:_0x31fc89}=_0x39c306,{createHash:_0x17b19e}=_0x5465c6,_0x43e50e=pt(),_0x110521=he(),_0x5d652a=Jt(),_0x3745b1=Ie(),{GUID:_0x4462fa,kWebSocket:_0x2dd5b6}=V(),_0x27282a=/^[+/0-9A-Za-z]{22}==$/,_0x128d32=0x0,_0x233c27=0x1,_0x568719=0x2;class _0x4407f8 extends _0x33fc89{constructor(_0x21a89f,_0x4ac19d){const _0x5cc54f=_0x4ae5;if(super(),_0x21a89f={'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':_0x3745b1,..._0x21a89f},_0x21a89f['port']==null&&!_0x21a89f['server']&&!_0x21a89f[_0x5cc54f(0x2b5)]||_0x21a89f[_0x5cc54f(0x2d5)]!=null&&(_0x21a89f[_0x5cc54f(0x172)]||_0x21a89f['noServer'])||_0x21a89f['server']&&_0x21a89f[_0x5cc54f(0x2b5)])throw new TypeError(_0x5cc54f(0x1b9));if(_0x21a89f[_0x5cc54f(0x2d5)]!=null?(this[_0x5cc54f(0x18f)]=_0x5cfd15[_0x5cc54f(0x1ea)]((_0x5d42e7,_0x4892cf)=>{const _0x5b0f1f=_0x5cc54f,_0x4750e6=_0x5cfd15['STATUS_CODES'][0x1aa];_0x4892cf['writeHead'](0x1aa,{'Content-Length':_0x4750e6[_0x5b0f1f(0x174)],'Content-Type':_0x5b0f1f(0x1cd)}),_0x4892cf['end'](_0x4750e6);}),this['_server'][_0x5cc54f(0x293)](_0x21a89f[_0x5cc54f(0x2d5)],_0x21a89f[_0x5cc54f(0x1d1)],_0x21a89f[_0x5cc54f(0x1cb)],_0x4ac19d)):_0x21a89f[_0x5cc54f(0x172)]&&(this['_server']=_0x21a89f['server']),this[_0x5cc54f(0x18f)]){const _0x300e78=this['emit'][_0x5cc54f(0x149)](this,_0x5cc54f(0x13b));this['_removeListeners']=_0x3d634b(this[_0x5cc54f(0x18f)],{'listening':this[_0x5cc54f(0x1f1)]['bind'](this,_0x5cc54f(0x15a)),'error':this[_0x5cc54f(0x1f1)][_0x5cc54f(0x149)](this,_0x5cc54f(0x23c)),'upgrade':(_0x295e91,_0x976bec,_0x2db826)=>{const _0x4c34ad=_0x5cc54f;this[_0x4c34ad(0x1d2)](_0x295e91,_0x976bec,_0x2db826,_0x300e78);}});}_0x21a89f[_0x5cc54f(0x277)]===!0x0&&(_0x21a89f[_0x5cc54f(0x277)]={}),_0x21a89f['clientTracking']&&(this[_0x5cc54f(0x219)]=new Set(),this[_0x5cc54f(0x1d7)]=!0x1),this[_0x5cc54f(0x1a4)]=_0x21a89f,this[_0x5cc54f(0x1ae)]=_0x128d32;}[_0x216a9a(0x167)](){const _0x17d225=_0x216a9a;if(this[_0x17d225(0x1a4)][_0x17d225(0x2b5)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x17d225(0x18f)]?this[_0x17d225(0x18f)]['address']():null;}[_0x216a9a(0x203)](_0x61e153){const _0x30e767=_0x216a9a;if(this['_state']===_0x568719){_0x61e153&&this['once'](_0x30e767(0x203),()=>{_0x61e153(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x30e767(0x22f)](_0x294372,this);return;}if(_0x61e153&&this[_0x30e767(0x238)](_0x30e767(0x203),_0x61e153),this[_0x30e767(0x1ae)]!==_0x233c27){if(this[_0x30e767(0x1ae)]=_0x233c27,this[_0x30e767(0x1a4)]['noServer']||this[_0x30e767(0x1a4)][_0x30e767(0x172)])this[_0x30e767(0x18f)]&&(this[_0x30e767(0x2da)](),this[_0x30e767(0x2da)]=this[_0x30e767(0x18f)]=null),this[_0x30e767(0x219)]?this[_0x30e767(0x219)][_0x30e767(0x15b)]?this['_shouldEmitClose']=!0x0:process[_0x30e767(0x22f)](_0x294372,this):process[_0x30e767(0x22f)](_0x294372,this);else{const _0x1500f4=this['_server'];this[_0x30e767(0x2da)](),this[_0x30e767(0x2da)]=this[_0x30e767(0x18f)]=null,_0x1500f4[_0x30e767(0x203)](()=>{_0x294372(this);});}}}['shouldHandle'](_0x27d11d){const _0x287bcb=_0x216a9a;if(this[_0x287bcb(0x1a4)][_0x287bcb(0x1a5)]){const _0x102fae=_0x27d11d[_0x287bcb(0x1e9)]['indexOf']('?');if((_0x102fae!==-0x1?_0x27d11d[_0x287bcb(0x1e9)][_0x287bcb(0x223)](0x0,_0x102fae):_0x27d11d[_0x287bcb(0x1e9)])!==this[_0x287bcb(0x1a4)][_0x287bcb(0x1a5)])return!0x1;}return!0x0;}[_0x216a9a(0x1d2)](_0x5b50a9,_0x306a6f,_0x30a665,_0x74236d){const _0x2bc72d=_0x216a9a;_0x306a6f['on'](_0x2bc72d(0x23c),_0x1375cc);const _0xd384c9=_0x5b50a9[_0x2bc72d(0x275)][_0x2bc72d(0x1fe)],_0x2f9c1e=_0x5b50a9[_0x2bc72d(0x275)][_0x2bc72d(0x14e)],_0x4f694b=+_0x5b50a9['headers']['sec-websocket-version'];if(_0x5b50a9[_0x2bc72d(0x2c9)]!==_0x2bc72d(0x1e7)){_0x41afa(this,_0x5b50a9,_0x306a6f,0x195,_0x2bc72d(0x2ae));return;}if(_0x2f9c1e===void 0x0||_0x2f9c1e[_0x2bc72d(0x15f)]()!==_0x2bc72d(0x278)){_0x41afa(this,_0x5b50a9,_0x306a6f,0x190,_0x2bc72d(0x263));return;}if(_0xd384c9===void 0x0||!_0x27282a[_0x2bc72d(0x161)](_0xd384c9)){_0x41afa(this,_0x5b50a9,_0x306a6f,0x190,_0x2bc72d(0x247));return;}if(_0x4f694b!==0x8&&_0x4f694b!==0xd){_0x41afa(this,_0x5b50a9,_0x306a6f,0x190,_0x2bc72d(0x29d));return;}if(!this['shouldHandle'](_0x5b50a9)){_0x3ff1ca(_0x306a6f,0x190);return;}const _0x1a98ff=_0x5b50a9[_0x2bc72d(0x275)][_0x2bc72d(0x1bd)];let _0x28c9ee=new Set();if(_0x1a98ff!==void 0x0)try{_0x28c9ee=_0x5d652a[_0x2bc72d(0x16d)](_0x1a98ff);}catch{_0x41afa(this,_0x5b50a9,_0x306a6f,0x190,_0x2bc72d(0x170));return;}const _0x4b1564=_0x5b50a9[_0x2bc72d(0x275)][_0x2bc72d(0x29c)],_0x4c3196={};if(this[_0x2bc72d(0x1a4)][_0x2bc72d(0x277)]&&_0x4b1564!==void 0x0){const _0x105b01=new _0x110521(this[_0x2bc72d(0x1a4)][_0x2bc72d(0x277)],!0x0,this[_0x2bc72d(0x1a4)][_0x2bc72d(0x222)]);try{const _0x4aa231=_0x43e50e[_0x2bc72d(0x16d)](_0x4b1564);_0x4aa231[_0x110521[_0x2bc72d(0x201)]]&&(_0x105b01[_0x2bc72d(0x1da)](_0x4aa231[_0x110521[_0x2bc72d(0x201)]]),_0x4c3196[_0x110521['extensionName']]=_0x105b01);}catch{_0x41afa(this,_0x5b50a9,_0x306a6f,0x190,_0x2bc72d(0x181));return;}}if(this[_0x2bc72d(0x1a4)][_0x2bc72d(0x151)]){const _0x342e66={'origin':_0x5b50a9[_0x2bc72d(0x275)][''+(_0x4f694b===0x8?_0x2bc72d(0x26e):_0x2bc72d(0x1ca))],'secure':!!(_0x5b50a9[_0x2bc72d(0x1c7)]['authorized']||_0x5b50a9['socket'][_0x2bc72d(0x18b)]),'req':_0x5b50a9};if(this['options'][_0x2bc72d(0x151)]['length']===0x2){this[_0x2bc72d(0x1a4)]['verifyClient'](_0x342e66,(_0x50ecbe,_0x58d31e,_0x2a9cb0,_0x14d553)=>{const _0x3b8ec4=_0x2bc72d;if(!_0x50ecbe)return _0x3ff1ca(_0x306a6f,_0x58d31e||0x191,_0x2a9cb0,_0x14d553);this[_0x3b8ec4(0x24e)](_0x4c3196,_0xd384c9,_0x28c9ee,_0x5b50a9,_0x306a6f,_0x30a665,_0x74236d);});return;}if(!this[_0x2bc72d(0x1a4)][_0x2bc72d(0x151)](_0x342e66))return _0x3ff1ca(_0x306a6f,0x191);}this[_0x2bc72d(0x24e)](_0x4c3196,_0xd384c9,_0x28c9ee,_0x5b50a9,_0x306a6f,_0x30a665,_0x74236d);}[_0x216a9a(0x24e)](_0x24ac87,_0x17b1b4,_0x4b8239,_0x3ea365,_0x122a5a,_0x455002,_0xcc6ba4){const _0x9d6b1c=_0x216a9a;if(!_0x122a5a['readable']||!_0x122a5a[_0x9d6b1c(0x2c6)])return _0x122a5a[_0x9d6b1c(0x2d4)]();if(_0x122a5a[_0x2dd5b6])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x9d6b1c(0x1ae)]>_0x128d32)return _0x3ff1ca(_0x122a5a,0x1f7);const _0x16a90f=[_0x9d6b1c(0x1f4),_0x9d6b1c(0x1b1),'Connection:\x20Upgrade',_0x9d6b1c(0x216)+_0x17b19e(_0x9d6b1c(0x13f))[_0x9d6b1c(0x177)](_0x17b1b4+_0x4462fa)[_0x9d6b1c(0x2bf)](_0x9d6b1c(0x283))],_0x3dfbd4=new this['options'][(_0x9d6b1c(0x189))](null,void 0x0,this[_0x9d6b1c(0x1a4)]);if(_0x4b8239[_0x9d6b1c(0x15b)]){const _0x5ea90a=this[_0x9d6b1c(0x1a4)][_0x9d6b1c(0x24d)]?this[_0x9d6b1c(0x1a4)][_0x9d6b1c(0x24d)](_0x4b8239,_0x3ea365):_0x4b8239[_0x9d6b1c(0x2d6)]()['next']()['value'];_0x5ea90a&&(_0x16a90f['push'](_0x9d6b1c(0x205)+_0x5ea90a),_0x3dfbd4['_protocol']=_0x5ea90a);}if(_0x24ac87[_0x110521[_0x9d6b1c(0x201)]]){const _0x585267=_0x24ac87[_0x110521['extensionName']][_0x9d6b1c(0x197)],_0x3486ef=_0x43e50e[_0x9d6b1c(0x198)]({[_0x110521['extensionName']]:[_0x585267]});_0x16a90f[_0x9d6b1c(0x1b2)]('Sec-WebSocket-Extensions:\x20'+_0x3486ef),_0x3dfbd4[_0x9d6b1c(0x1aa)]=_0x24ac87;}this[_0x9d6b1c(0x1f1)](_0x9d6b1c(0x275),_0x16a90f,_0x3ea365),_0x122a5a[_0x9d6b1c(0x1ec)](_0x16a90f[_0x9d6b1c(0x26f)]('\x0d\x0a')[_0x9d6b1c(0x251)]('\x0d\x0a')),_0x122a5a['removeListener'](_0x9d6b1c(0x23c),_0x1375cc),_0x3dfbd4['setSocket'](_0x122a5a,_0x455002,{'allowSynchronousEvents':this[_0x9d6b1c(0x1a4)][_0x9d6b1c(0x1c5)],'maxPayload':this[_0x9d6b1c(0x1a4)][_0x9d6b1c(0x222)],'skipUTF8Validation':this[_0x9d6b1c(0x1a4)][_0x9d6b1c(0x1de)]}),this[_0x9d6b1c(0x219)]&&(this[_0x9d6b1c(0x219)][_0x9d6b1c(0x22a)](_0x3dfbd4),_0x3dfbd4['on']('close',()=>{const _0x166031=_0x9d6b1c;this[_0x166031(0x219)][_0x166031(0x2c7)](_0x3dfbd4),this[_0x166031(0x1d7)]&&!this['clients'][_0x166031(0x15b)]&&process[_0x166031(0x22f)](_0x294372,this);})),_0xcc6ba4(_0x3dfbd4,_0x3ea365);}}Te=_0x4407f8;function _0x3d634b(_0x48850a,_0x19dd54){const _0x2b1283=_0x216a9a;for(const _0x47721b of Object[_0x2b1283(0x155)](_0x19dd54))_0x48850a['on'](_0x47721b,_0x19dd54[_0x47721b]);return function(){const _0x1c2997=_0x2b1283;for(const _0x457dc9 of Object[_0x1c2997(0x155)](_0x19dd54))_0x48850a[_0x1c2997(0x160)](_0x457dc9,_0x19dd54[_0x457dc9]);};}function _0x294372(_0x8c7e84){const _0xe2a8a=_0x216a9a;_0x8c7e84[_0xe2a8a(0x1ae)]=_0x568719,_0x8c7e84['emit']('close');}function _0x1375cc(){const _0x55484a=_0x216a9a;this[_0x55484a(0x2d4)]();}function _0x3ff1ca(_0x4d1b27,_0x4e9f8a,_0x359327,_0x62a78c){const _0x36dba5=_0x216a9a;_0x359327=_0x359327||_0x5cfd15[_0x36dba5(0x291)][_0x4e9f8a],_0x62a78c={'Connection':_0x36dba5(0x203),'Content-Type':'text/html','Content-Length':Buffer['byteLength'](_0x359327),..._0x62a78c},_0x4d1b27['once'](_0x36dba5(0x1e1),_0x4d1b27[_0x36dba5(0x2d4)]),_0x4d1b27[_0x36dba5(0x1b5)](_0x36dba5(0x2a9)+_0x4e9f8a+'\x20'+_0x5cfd15[_0x36dba5(0x291)][_0x4e9f8a]+'\x0d\x0a'+Object['keys'](_0x62a78c)['map'](_0xb0682e=>_0xb0682e+':\x20'+_0x62a78c[_0xb0682e])[_0x36dba5(0x251)]('\x0d\x0a')+_0x36dba5(0x195)+_0x359327);}function _0x41afa(_0xd130d2,_0x5bb755,_0x3cef70,_0x2b1d7c,_0x4cb3ca){const _0x3f8b0b=_0x216a9a;if(_0xd130d2[_0x3f8b0b(0x249)](_0x3f8b0b(0x1f2))){const _0x2d546d=new Error(_0x4cb3ca);Error[_0x3f8b0b(0x227)](_0x2d546d,_0x41afa),_0xd130d2[_0x3f8b0b(0x1f1)](_0x3f8b0b(0x1f2),_0x2d546d,_0x3cef70,_0x5bb755);}else _0x3ff1ca(_0x3cef70,_0x2b1d7c,_0x4cb3ca);}return Te;}er();var tr=Object[_0x32a070(0x2a5)],rr=(_0x44d3d5,_0xeedc59,_0xfcd00,_0x2008b0)=>{for(var _0x1dbd62=_0x2008b0>0x1?void 0x0:_0x2008b0?tr(_0xeedc59,_0xfcd00):_0xeedc59,_0x52ac1d=_0x44d3d5['length']-0x1,_0x298e67;_0x52ac1d>=0x0;_0x52ac1d--)(_0x298e67=_0x44d3d5[_0x52ac1d])&&(_0x1dbd62=_0x298e67(_0x1dbd62)||_0x1dbd62);return _0x1dbd62;},sr=(_0x4a8081,_0x1a359d)=>(_0x47186f,_0x126c8c)=>_0x1a359d(_0x47186f,_0x126c8c,_0x4a8081);let Ne=class extends _0x532dd0{constructor(_0x2f481f){const _0x1a863d=_0x32a070;super(),this[_0x1a863d(0x22d)]=_0x2f481f;}['createSocket'](_0x274e4b){const _0x20a8b9=_0x32a070;var _0x12a57f;const _0xb85ba2=(_0x12a57f=this[_0x20a8b9(0x22d)][_0x20a8b9(0x2c5)](Be))==null?void 0x0:_0x12a57f[_0x20a8b9(0x1af)];try{const _0x3ff070=new Qt(_0x274e4b,{'headers':{..._0xb85ba2}}),_0x47f603=new _0xbd47f3();return{'URL':_0x274e4b,'close':(_0x3a2ee4,_0x54b857)=>{const _0x36a105=_0x20a8b9;_0x3ff070['close'](_0x3a2ee4,_0x54b857),_0x47f603[_0x36a105(0x135)]();},'send':_0x118523=>{const _0x56d7ba=_0x20a8b9;_0x3ff070[_0x56d7ba(0x2d1)](_0x118523);},'open$':new _0x5c6c0(_0xfdff04=>{const _0x4241b6=_0x20a8b9,_0x7d5995=_0x4ad702=>_0xfdff04['next'](_0x4ad702);_0x3ff070[_0x4241b6(0x146)](_0x4241b6(0x1f9),_0x7d5995),_0x47f603['add'](_0xc2ed31(()=>_0x3ff070[_0x4241b6(0x260)](_0x4241b6(0x1f9),_0x7d5995)));})[_0x20a8b9(0x20b)](_0x247dcc()),'close$':new _0x5c6c0(_0x27b7f8=>{const _0x502f62=_0x20a8b9,_0x2e7951=_0x55b106=>_0x27b7f8[_0x502f62(0x215)](_0x55b106);_0x3ff070[_0x502f62(0x146)](_0x502f62(0x203),_0x2e7951),_0x47f603[_0x502f62(0x22a)](_0xc2ed31(()=>_0x3ff070[_0x502f62(0x260)](_0x502f62(0x203),_0x2e7951)));})[_0x20a8b9(0x20b)](_0x247dcc()),'error$':new _0x5c6c0(_0x17c273=>{const _0x245e76=_0x20a8b9,_0xb94a92=_0x29c408=>_0x17c273[_0x245e76(0x215)](_0x29c408);_0x3ff070[_0x245e76(0x146)](_0x245e76(0x23c),_0xb94a92),_0x47f603[_0x245e76(0x22a)](_0xc2ed31(()=>_0x3ff070[_0x245e76(0x260)]('error',_0xb94a92)));})[_0x20a8b9(0x20b)](_0x247dcc()),'message$':new _0x5c6c0(_0x4beef5=>{const _0x4436bb=_0x20a8b9,_0x33d07a=_0x23d311=>_0x4beef5[_0x4436bb(0x215)](_0x23d311);_0x3ff070[_0x4436bb(0x146)](_0x4436bb(0x28c),_0x33d07a),_0x47f603[_0x4436bb(0x22a)](_0xc2ed31(()=>_0x3ff070[_0x4436bb(0x260)]('message',_0x33d07a)));})[_0x20a8b9(0x20b)](_0x247dcc())};}catch(_0x3691cd){return console[_0x20a8b9(0x23c)](_0x3691cd),null;}}};Ne=rr([sr(0x0,_0x1d6a66)],Ne);var ir=Object[_0x32a070(0x25c)],nr=Object['getOwnPropertyDescriptor'],or=(_0x51b389,_0x587592,_0x2b67cb)=>_0x587592 in _0x51b389?ir(_0x51b389,_0x587592,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b67cb}):_0x51b389[_0x587592]=_0x2b67cb,ar=(_0x52e5c4,_0x2b0fe4,_0x3ad48f,_0x5cf63f)=>{for(var _0xd49cc5=_0x5cf63f>0x1?void 0x0:_0x5cf63f?nr(_0x2b0fe4,_0x3ad48f):_0x2b0fe4,_0x52ec85=_0x52e5c4['length']-0x1,_0x24d995;_0x52ec85>=0x0;_0x52ec85--)(_0x24d995=_0x52e5c4[_0x52ec85])&&(_0xd49cc5=_0x24d995(_0xd49cc5)||_0xd49cc5);return _0xd49cc5;},ke=(_0x176df0,_0x20fc04)=>(_0x2a7709,_0x5a8596)=>_0x20fc04(_0x2a7709,_0x5a8596,_0x176df0),lr=(_0x1b798a,_0x17c906,_0x37323c)=>or(_0x1b798a,_0x17c906+'',_0x37323c);let Pe=class extends _0x221e6d{constructor(_0x2ef92b=Ft,_0x396343,_0x40e799,_0xcc8c5f){const _0x40b081=_0x32a070;_0x2ef92b[_0x40b081(0x1af)]||_0x396343['warn'](_0x40b081(0x21e)),super(),this['_configService']=_0x40e799,this['_injector']=_0xcc8c5f,this[_0x40b081(0x22d)][_0x40b081(0x230)](Be,_0x2ef92b);}['onStarting'](){const _0x5bdf1c=_0x32a070;this[_0x5bdf1c(0x2a0)]();}[_0x32a070(0x2a0)](){const _0x4621a7=_0x32a070;_0x3d5f49(this[_0x4621a7(0x241)],[[_0x1f733c,{'useClass':Ne}]]);}};lr(Pe,_0x32a070(0x16a),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x2d031b(_0x396c83),ke(0x1,_0x276508),ke(0x2,_0x1d6a66),ke(0x3,_0x2c76aa(_0x2a56eb))],Pe);var fr=Object[_0x32a070(0x2a5)],cr=(_0x403fbb,_0x12b468,_0xfded24,_0x41ce7a)=>{const _0x1fe463=_0x32a070;for(var _0x45d6c7=_0x41ce7a>0x1?void 0x0:_0x41ce7a?fr(_0x12b468,_0xfded24):_0x12b468,_0x2c4cad=_0x403fbb[_0x1fe463(0x174)]-0x1,_0xe7c581;_0x2c4cad>=0x0;_0x2c4cad--)(_0xe7c581=_0x403fbb[_0x2c4cad])&&(_0x45d6c7=_0xe7c581(_0x45d6c7)||_0x45d6c7);return _0x45d6c7;},se=(_0x387590,_0x3a1339)=>(_0x2a9e0d,_0x312e3f)=>_0x3a1339(_0x2a9e0d,_0x312e3f,_0x387590);let at=class extends _0x390f33{constructor(_0x119f02,_0x1b9aba,_0x23e487,_0x3765c9,_0x4a3797){const _0x16cdad=_0x32a070;super(_0x119f02,_0x1b9aba,_0x23e487,_0x3765c9,_0x4a3797);const _0xa50b09=this[_0x16cdad(0x22d)][_0x16cdad(0x2c5)](Be);this['_httpService'][_0x16cdad(0x16b)]({'interceptor':(_0x4ae9f0,_0x1810c1)=>{const _0xe405eb=_0x16cdad;var _0x53a3b;const _0x541d6b=_0x4ae9f0[_0xe405eb(0x275)];return(_0x53a3b=_0xa50b09==null?void 0x0:_0xa50b09['customHeaders'])!=null&&_0x53a3b[_0xe405eb(0x19a)]&&_0x541d6b['set'](_0xe405eb(0x184),_0xa50b09[_0xe405eb(0x1af)][_0xe405eb(0x19a)]),_0x1810c1(_0x4ae9f0);}});}async['createSocket'](_0x26c741){const _0x3a79d7=_0x32a070;return this[_0x3a79d7(0x176)](_0x26c741);}};at=cr([se(0x0,_0x2c76aa(_0x2a56eb)),se(0x1,_0x2c76aa(_0x3b09ec)),se(0x2,_0x1d6a66),se(0x3,_0x276508),se(0x4,_0x9e3777)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x2fb0ea=_0x195d;function _0x32e6(){const _0x24d96b=['GET','origin','password','data','Server\x20sent\x20an\x20invalid\x20subprotocol','invalid\x20payload\x20length\x20','exports','removeEventListener','env','MASK\x20must\x20be\x20clear','Invalid\x20value\x20for\x20parameter\x20\x22','_injector','readable','_socket','getOwnPropertyDescriptor','handleProtocols','nextTick','write','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','collaboration-client-node.config','The\x20server\x20is\x20not\x20running','startLoop','test','Invalid\x20WebSocket\x20frame:\x20','send','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','6QaMEdx','_configService','setSocket','_protocol','_generateMask','hasOwnProperty','_paused','freeze','http:','url','concurrencyLimit','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','setHeader','toStringTag','jobs','writeUIntBE','charCodeAt','cork','sec-websocket-key','invalid\x20opcode\x20','upgrade','destroyed','Invalid\x20Sec-WebSocket-Extensions\x20header','\x20(supported\x20versions:\x20','Maximum\x20redirects\x20exceeded','statusCode','prototype','concat','shift','Sec-WebSocket-Protocol','objectMode','getInfo','invalid\x20opcode\x200','STATUS_CODES','_writableState','The\x20URL\x27s\x20pathname\x20is\x20empty','_redirects','Sec-WebSocket-Extensions:\x20','pluginName','client','invalid\x20UTF-8\x20sequence','_threshold','Basic\x20','create','verifyClient','unshift','server_no_context_takeover','string','accept','replace','extensions','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','kWasClean','permessage-deflate','maxRedirects','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','close','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','Invalid\x20Upgrade\x20header','3967119IjmVJD','__esModule','decompress','invalid\x20status\x20code\x20','WS_NO_UTF_8_VALIDATE','rsv1','ws+unix:','_decompress','Unknown\x20parameter\x20\x22','sec-websocket-protocol','endEmitted','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','kAborted','_closeFrameReceived','pause','length','RSV1\x20must\x20be\x20clear','onopen','cleanup','Sec-WebSocket-Origin','digest','kRun','\x22\x20subprotocol\x20is\x20duplicated','kByteLength','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','pathname','_max_window_bits','add','binaryType','hostname','parse','Invalid\x20Sec-WebSocket-Accept\x20header','Upgrade:\x20websocket','method','acceptAsServer','backlog','finishRequest','number','protocolVersion','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','isArray','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','getData','threshold','byteLength','size','WS_ERR_INVALID_CLOSE_CODE','createSocket','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_no_context_takeover','_doCreateSocket','_masked','type','wss:','text/html','getBlobData','open','WS_ERR_INVALID_UTF8','_state','isPaused','headers','websocket','sec-websocket-accept','fin','getConfig','_fin','WS_ERR_EXPECTED_MASK','fragments','_closeCode','getMask','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','zlibDeflateOptions','reset','server_max_window_bits','catch','pending','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_compressed','warn','abort','clients','handleEvent','_fragments','socketPath','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','delete','_maskBuffer','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','connect','includes','Parameter\x20\x22','extensionName','_options','ping','noServer','consume','readOnly','unexpected-response','object','clientTracking','_firstFragment','captureStackTrace','_errorEmitted','createError','_sender','has','_payloadLength','maskBuffer','kMessage','error','_autoPong','end','CLOSED','_binaryType','base64','zlibInflateOptions','wsClientError','code','message','_compress','createInflateRaw','Sec-WebSocket-Protocol:\x20','forEach','finish','isServer','setConfig','_write','generateMask','_loop','writable','path','34568800UpArPT','server','_readableState','bufferedAmount','_isServer','\x22:\x20','getPayloadLength64','removeListener','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_deflate','createServer','blob','sendFrame','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_originalHostOrSocketPath','Unsupported\x20protocol\x20version:\x20','drain','67zSbkjt','defaultPort','_server','acceptAsClient','auth','_totalPayloadLength','sha1','set','next','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Invalid\x20Sec-WebSocket-Protocol\x20header','_shouldEmitClose','_mask','binary','8566411aujAaJ','handshakeTimeout','Origin','host','WS_ERR_UNEXPECTED_RSV_1','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','11293768PiqFXq','clientNoContextTakeover','completeUpgrade','client_no_context_takeover','buffer','construct','arrayBuffer','protocol','port','_messageLength','terminate','kCode','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_allowSynchronousEvents','socket','_skipUTF8Validation','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','sec-websocket-version','split','2581556ApZSWy','dequeue','connection','_errored','handleUpgrade','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','writeUInt16BE','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','emitClose','options','defineProperty','call','Z_DEFAULT_WINDOWBITS','format','serverMaxWindowBits','CLOSING','compress','_url','isView','redirect','OPEN','map','resume','species','controlMessage','once','stream','cookie','authorized','concurrency','mask','normalizeParams','_closeMessage','clientMaxWindowBits','_closeTimer','_inflate','_registerDependencies','Sec-WebSocket-Accept:\x20','flush','_extensions','join','isValidUTF8','from','params','setTimeout','constructor','skipUTF8Validation','get','ws:','frame','destroy','Sec-WebSocket-Extensions','onclose','conclude','Blob','autoPong','CONNECTING','function','FIN\x20must\x20be\x20set','_closeFrameSent','HTTP/1.1\x20','find','createDeflateRaw','username','search','update','listeners','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_receiver','then','unmask','sec-websocket-origin','dataMessage','haveLength','39700ZtPSoK','toString','hash','emit','\x22\x20must\x20have\x20only\x20a\x20single\x20value','getPayloadLength16','needDrain','push','pow','readUInt32BE','servername','_bufferedBytes','The\x20\x22','byteOffset','read','The\x20URL\x20contains\x20a\x20fragment\x20identifier','values','_opcode','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','421225xEonMu','readyState','finished','allowSynchronousEvents','_bufferedAmount','arraybuffer','_readyState','pipe','MASK\x20must\x20be\x20set','_destroy','callback','3SZwCWJ','kData','alloc','allocUnsafe','Module','startsWith','serverNoContextTakeover','encrypted','slice','indexOf','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Unexpected\x20end\x20of\x20input','opcode','listenerCount','customHeaders','response','registerHTTPInterceptor','kError','_removeListeners','perMessageDeflate','enqueue','reason','_maxPayload','setNoDelay','addEventListener','Z_SYNC_FLUSH','pong','onStarting','createConnection','WS_ERR_INVALID_OPCODE','_req','_originalIpc','authorization','shouldHandle','listen','Max\x20payload\x20size\x20exceeded','_queue','apply','keys','nodebuffer','href','Connection:\x20Upgrade','kReason','maxPayload','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','bind','default','dispatch','wasClean','dispose','_fragmented','Unexpected\x20character\x20at\x20index\x20','errorEmitted','_buffers','status-code','target','onerror','client_max_window_bits'];_0x32e6=function(){return _0x24d96b;};return _0x32e6();}(function(_0x5d3d8f,_0xb6fb1c){const _0x23bcd2=_0x195d,_0x3aa90a=_0x5d3d8f();while(!![]){try{const _0x4ede3b=-parseInt(_0x23bcd2(0x157))/0x1*(parseInt(_0x23bcd2(0x1c8))/0x2)+-parseInt(_0x23bcd2(0x1e6))/0x3*(parseInt(_0x23bcd2(0x17e))/0x4)+-parseInt(_0x23bcd2(0x1db))/0x5+-parseInt(_0x23bcd2(0x23a))/0x6*(-parseInt(_0x23bcd2(0x165))/0x7)+-parseInt(_0x23bcd2(0x16b))/0x8+-parseInt(_0x23bcd2(0x275))/0x9+parseInt(_0x23bcd2(0x146))/0xa;if(_0x4ede3b===_0xb6fb1c)break;else _0x3aa90a['push'](_0x3aa90a['shift']());}catch(_0x5e6746){_0x3aa90a['push'](_0x3aa90a['shift']());}}}(_0x32e6,0xbba2d));import{UniverCollaborationClientPlugin as _0x5e8cb7,CollaborationSocketService as _0x32cfa7}from'@univerjs-pro/collaboration-client';import{Disposable as _0xd7a9,DisposableCollection as _0x2062b0,toDisposable as _0x53efd0,IConfigService as _0x59a3b7,DependentOn as _0x25bf57,ILogService as _0x45317b,Inject as _0x2cfe8f,Injector as _0x997068,Plugin as _0x4a947d,registerDependencies as _0x133464}from'@univerjs/core';import{ISocketService as _0x444c8e,HTTPService as _0x25b52f}from'@univerjs/network';import{Observable as _0x38d7ef,share as _0x54b46d}from'rxjs';import _0x5b61b9 from'events';import _0x599092 from'https';import _0x5177dc from'http';import _0x964936 from'net';import _0x187b0d from'tls';import _0x5f1ecc from'crypto';import _0x51faaf from'stream';import _0x403b71 from'url';import _0x399465 from'zlib';import _0x4c3bf6 from'buffer';import{ISnapshotServerService as _0x686d35}from'@univerjs-pro/collaboration';const Be=_0x2fb0ea(0x233),Ft={'customHeaders':{}};function jt(_0x1ac0e9){const _0x9f71b=_0x2fb0ea;return _0x1ac0e9&&_0x1ac0e9[_0x9f71b(0x276)]&&Object[_0x9f71b(0x254)][_0x9f71b(0x23f)][_0x9f71b(0x189)](_0x1ac0e9,_0x9f71b(0x214))?_0x1ac0e9[_0x9f71b(0x214)]:_0x1ac0e9;}function ut(_0xebb93){const _0x283a1a=_0x2fb0ea;if(Object['prototype'][_0x283a1a(0x23f)]['call'](_0xebb93,'__esModule'))return _0xebb93;var _0x28f63f=_0xebb93[_0x283a1a(0x214)];if(typeof _0x28f63f=='function'){var _0x5845f1=function _0x36ca45(){const _0x382653=_0x283a1a;return this instanceof _0x36ca45?Reflect[_0x382653(0x170)](_0x28f63f,arguments,this[_0x382653(0x1ab)]):_0x28f63f[_0x382653(0x20b)](this,arguments);};_0x5845f1[_0x283a1a(0x254)]=_0x28f63f[_0x283a1a(0x254)];}else _0x5845f1={};return Object[_0x283a1a(0x188)](_0x5845f1,_0x283a1a(0x276),{'value':!0x0}),Object[_0x283a1a(0x20c)](_0xebb93)[_0x283a1a(0x13d)](function(_0x2e3871){const _0x5b9b91=_0x283a1a;var _0x19a938=Object[_0x5b9b91(0x22e)](_0xebb93,_0x2e3871);Object['defineProperty'](_0x5845f1,_0x2e3871,_0x19a938[_0x5b9b91(0x1ad)]?_0x19a938:{'enumerable':!0x0,'get':function(){return _0xebb93[_0x2e3871];}});}),_0x5845f1;}var te={'exports':{}},ge,Ye;function V(){const _0xfcc1e2=_0x2fb0ea;if(Ye)return ge;Ye=0x1;const _0x7541f5=[_0xfcc1e2(0x20d),_0xfcc1e2(0x1e0),_0xfcc1e2(0x2b8)],_0x38f7ea=typeof Blob<'u';return _0x38f7ea&&_0x7541f5[_0xfcc1e2(0x1cf)](_0xfcc1e2(0x151)),ge={'BINARY_TYPES':_0x7541f5,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0xfcc1e2(0x26d),'hasBlob':_0x38f7ea,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0xfcc1e2(0x21c)),'kWebSocket':Symbol(_0xfcc1e2(0x2b2)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x2fb0ea(0x241)](Object[_0x2fb0ea(0x188)]({'__proto__':null,'default':Wt},Symbol['toStringTag'],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x3b3f14=_0x2fb0ea;if(Ke)return te[_0x3b3f14(0x226)];Ke=0x1;const {EMPTY_BUFFER:_0xcd209e}=V(),_0x2b035d=Buffer[Symbol[_0x3b3f14(0x195)]];function _0x23572a(_0x535878,_0x48be2e){const _0x25f23d=_0x3b3f14;if(_0x535878[_0x25f23d(0x284)]===0x0)return _0xcd209e;if(_0x535878[_0x25f23d(0x284)]===0x1)return _0x535878[0x0];const _0x5aa7bd=Buffer['allocUnsafe'](_0x48be2e);let _0x22b2c5=0x0;for(let _0xdcd1a2=0x0;_0xdcd1a2<_0x535878[_0x25f23d(0x284)];_0xdcd1a2++){const _0x12c898=_0x535878[_0xdcd1a2];_0x5aa7bd[_0x25f23d(0x15e)](_0x12c898,_0x22b2c5),_0x22b2c5+=_0x12c898[_0x25f23d(0x284)];}return _0x22b2c5<_0x48be2e?new _0x2b035d(_0x5aa7bd[_0x25f23d(0x16f)],_0x5aa7bd[_0x25f23d(0x1d5)],_0x22b2c5):_0x5aa7bd;}function _0x14c0e1(_0x4497b9,_0x40f3e3,_0x5f1c9b,_0x4e81d7,_0x37f017){for(let _0x5b67c9=0x0;_0x5b67c9<_0x37f017;_0x5b67c9++)_0x5f1c9b[_0x4e81d7+_0x5b67c9]=_0x4497b9[_0x5b67c9]^_0x40f3e3[_0x5b67c9&0x3];}function _0x4cc934(_0x5aae63,_0x5a3356){for(let _0x394705=0x0;_0x394705<_0x5aae63['length'];_0x394705++)_0x5aae63[_0x394705]^=_0x5a3356[_0x394705&0x3];}function _0x1c715e(_0x5ad16b){const _0x1810ca=_0x3b3f14;return _0x5ad16b[_0x1810ca(0x284)]===_0x5ad16b[_0x1810ca(0x16f)]['byteLength']?_0x5ad16b[_0x1810ca(0x16f)]:_0x5ad16b[_0x1810ca(0x16f)][_0x1810ca(0x1ee)](_0x5ad16b[_0x1810ca(0x1d5)],_0x5ad16b[_0x1810ca(0x1d5)]+_0x5ad16b[_0x1810ca(0x284)]);}function _0x11255e(_0x4fc09b){const _0x2573c9=_0x3b3f14;if(_0x11255e[_0x2573c9(0x123)]=!0x0,Buffer['isBuffer'](_0x4fc09b))return _0x4fc09b;let _0x479a5b;return _0x4fc09b instanceof ArrayBuffer?_0x479a5b=new _0x2b035d(_0x4fc09b):ArrayBuffer[_0x2573c9(0x190)](_0x4fc09b)?_0x479a5b=new _0x2b035d(_0x4fc09b[_0x2573c9(0x16f)],_0x4fc09b[_0x2573c9(0x1d5)],_0x4fc09b['byteLength']):(_0x479a5b=Buffer['from'](_0x4fc09b),_0x11255e[_0x2573c9(0x123)]=!0x1),_0x479a5b;}if(te['exports']={'concat':_0x23572a,'mask':_0x14c0e1,'toArrayBuffer':_0x1c715e,'toBuffer':_0x11255e,'unmask':_0x4cc934},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x27fdee=Vt;te['exports']['mask']=function(_0x3ef697,_0x4d7014,_0x28bd8f,_0x5ed75d,_0x34114c){const _0x3252ee=_0x3b3f14;_0x34114c<0x30?_0x14c0e1(_0x3ef697,_0x4d7014,_0x28bd8f,_0x5ed75d,_0x34114c):_0x27fdee[_0x3252ee(0x19c)](_0x3ef697,_0x4d7014,_0x28bd8f,_0x5ed75d,_0x34114c);},te[_0x3b3f14(0x226)][_0x3b3f14(0x1c4)]=function(_0x110a30,_0x118fdd){const _0x290530=_0x3b3f14;_0x110a30[_0x290530(0x284)]<0x20?_0x4cc934(_0x110a30,_0x118fdd):_0x27fdee[_0x290530(0x1c4)](_0x110a30,_0x118fdd);};}catch{}return te[_0x3b3f14(0x226)];}var ye,Xe;function qt(){const _0x40c136=_0x2fb0ea;if(Xe)return ye;Xe=0x1;const _0x3770c7=Symbol('kDone'),_0x436157=Symbol(_0x40c136(0x28a));class _0x16816c{constructor(_0x124e68){const _0x46ea1b=_0x40c136;this[_0x3770c7]=()=>{this['pending']--,this[_0x436157]();},this[_0x46ea1b(0x19b)]=_0x124e68||0x1/0x0,this[_0x46ea1b(0x248)]=[],this[_0x46ea1b(0x2c0)]=0x0;}[_0x40c136(0x290)](_0x33ff56){const _0x369100=_0x40c136;this[_0x369100(0x248)]['push'](_0x33ff56),this[_0x436157]();}[_0x436157](){const _0xb4992e=_0x40c136;if(this[_0xb4992e(0x2c0)]!==this[_0xb4992e(0x19b)]&&this[_0xb4992e(0x248)]['length']){const _0x525fb6=this[_0xb4992e(0x248)][_0xb4992e(0x256)]();this[_0xb4992e(0x2c0)]++,_0x525fb6(this[_0x3770c7]);}}}return ye=_0x16816c,ye;}var ve,Ze;function he(){const _0x198d87=_0x2fb0ea;if(Ze)return ve;Ze=0x1;const _0x4d84b6=_0x399465,_0x5bec57=ce(),_0x1ae5d3=qt(),{kStatusCode:_0x5de2a4}=V(),_0x33d706=Buffer[Symbol[_0x198d87(0x195)]],_0x453367=Buffer['from']([0x0,0x0,0xff,0xff]),_0x34bf2a=Symbol(_0x198d87(0x26f)),_0x2daff4=Symbol('total-length'),_0x45cd13=Symbol(_0x198d87(0x1e5)),_0x120c2e=Symbol('buffers'),_0x48ac19=Symbol(_0x198d87(0x130));let _0x350397;class _0x2335e2{constructor(_0x49cff2,_0xf479b7,_0x1fd4f4){const _0x5226a2=_0x198d87;if(this[_0x5226a2(0x1fc)]=_0x1fd4f4|0x0,this[_0x5226a2(0x11f)]=_0x49cff2||{},this['_threshold']=this[_0x5226a2(0x11f)][_0x5226a2(0x2a0)]!==void 0x0?this[_0x5226a2(0x11f)][_0x5226a2(0x2a0)]:0x400,this['_isServer']=!!_0xf479b7,this[_0x5226a2(0x14f)]=null,this[_0x5226a2(0x1a1)]=null,this[_0x5226a2(0x1a9)]=null,!_0x350397){const _0x341fd4=this['_options'][_0x5226a2(0x244)]!==void 0x0?this[_0x5226a2(0x11f)][_0x5226a2(0x244)]:0xa;_0x350397=new _0x1ae5d3(_0x341fd4);}}static get['extensionName'](){const _0x5cdc1f=_0x198d87;return _0x5cdc1f(0x26f);}['offer'](){const _0x1c12d0=_0x198d87,_0x33a72a={};return this[_0x1c12d0(0x11f)][_0x1c12d0(0x1ec)]&&(_0x33a72a[_0x1c12d0(0x268)]=!0x0),this['_options'][_0x1c12d0(0x16c)]&&(_0x33a72a['client_no_context_takeover']=!0x0),this[_0x1c12d0(0x11f)][_0x1c12d0(0x18c)]&&(_0x33a72a[_0x1c12d0(0x2be)]=this[_0x1c12d0(0x11f)][_0x1c12d0(0x18c)]),this['_options'][_0x1c12d0(0x19f)]?_0x33a72a[_0x1c12d0(0x21f)]=this[_0x1c12d0(0x11f)]['clientMaxWindowBits']:this[_0x1c12d0(0x11f)][_0x1c12d0(0x19f)]==null&&(_0x33a72a['client_max_window_bits']=!0x0),_0x33a72a;}[_0x198d87(0x26a)](_0xf93247){const _0x4135d5=_0x198d87;return _0xf93247=this[_0x4135d5(0x19d)](_0xf93247),this[_0x4135d5(0x1a9)]=this[_0x4135d5(0x14a)]?this[_0x4135d5(0x297)](_0xf93247):this[_0x4135d5(0x15a)](_0xf93247),this[_0x4135d5(0x1a9)];}[_0x198d87(0x287)](){const _0x582253=_0x198d87;if(this[_0x582253(0x1a1)]&&(this[_0x582253(0x1a1)][_0x582253(0x272)](),this[_0x582253(0x1a1)]=null),this[_0x582253(0x14f)]){const _0x3a9f8b=this['_deflate'][_0x45cd13];this[_0x582253(0x14f)][_0x582253(0x272)](),this[_0x582253(0x14f)]=null,_0x3a9f8b&&_0x3a9f8b(new Error(_0x582253(0x28d)));}}['acceptAsServer'](_0xd15051){const _0x89beb3=_0x198d87,_0x1cd234=this['_options'],_0x19bd57=_0xd15051[_0x89beb3(0x1bb)](_0x264682=>!(_0x1cd234[_0x89beb3(0x1ec)]===!0x1&&_0x264682[_0x89beb3(0x268)]||_0x264682[_0x89beb3(0x2be)]&&(_0x1cd234[_0x89beb3(0x18c)]===!0x1||typeof _0x1cd234[_0x89beb3(0x18c)]==_0x89beb3(0x29a)&&_0x1cd234[_0x89beb3(0x18c)]>_0x264682[_0x89beb3(0x2be)])||typeof _0x1cd234['clientMaxWindowBits']==_0x89beb3(0x29a)&&!_0x264682[_0x89beb3(0x21f)]));if(!_0x19bd57)throw new Error(_0x89beb3(0x29e));return _0x1cd234['serverNoContextTakeover']&&(_0x19bd57[_0x89beb3(0x268)]=!0x0),_0x1cd234[_0x89beb3(0x16c)]&&(_0x19bd57['client_no_context_takeover']=!0x0),typeof _0x1cd234[_0x89beb3(0x18c)]==_0x89beb3(0x29a)&&(_0x19bd57[_0x89beb3(0x2be)]=_0x1cd234['serverMaxWindowBits']),typeof _0x1cd234[_0x89beb3(0x19f)]=='number'?_0x19bd57[_0x89beb3(0x21f)]=_0x1cd234['clientMaxWindowBits']:(_0x19bd57['client_max_window_bits']===!0x0||_0x1cd234[_0x89beb3(0x19f)]===!0x1)&&delete _0x19bd57[_0x89beb3(0x21f)],_0x19bd57;}['acceptAsClient'](_0x32a532){const _0x15bbd5=_0x198d87,_0xc46228=_0x32a532[0x0];if(this[_0x15bbd5(0x11f)][_0x15bbd5(0x16c)]===!0x1&&_0xc46228['client_no_context_takeover'])throw new Error(_0x15bbd5(0x153));if(!_0xc46228[_0x15bbd5(0x21f)])typeof this[_0x15bbd5(0x11f)]['clientMaxWindowBits']==_0x15bbd5(0x29a)&&(_0xc46228[_0x15bbd5(0x21f)]=this[_0x15bbd5(0x11f)][_0x15bbd5(0x19f)]);else{if(this[_0x15bbd5(0x11f)]['clientMaxWindowBits']===!0x1||typeof this[_0x15bbd5(0x11f)][_0x15bbd5(0x19f)]=='number'&&_0xc46228['client_max_window_bits']>this[_0x15bbd5(0x11f)][_0x15bbd5(0x19f)])throw new Error(_0x15bbd5(0x183));}return _0xc46228;}[_0x198d87(0x19d)](_0x5925e6){const _0x1ba83c=_0x198d87;return _0x5925e6[_0x1ba83c(0x13d)](_0x59f819=>{const _0x143c11=_0x1ba83c;Object[_0x143c11(0x20c)](_0x59f819)[_0x143c11(0x13d)](_0x209a34=>{const _0x48d8d1=_0x143c11;let _0x2e02e6=_0x59f819[_0x209a34];if(_0x2e02e6[_0x48d8d1(0x284)]>0x1)throw new Error(_0x48d8d1(0x11d)+_0x209a34+_0x48d8d1(0x1cc));if(_0x2e02e6=_0x2e02e6[0x0],_0x209a34===_0x48d8d1(0x21f)){if(_0x2e02e6!==!0x0){const _0x131501=+_0x2e02e6;if(!Number['isInteger'](_0x131501)||_0x131501<0x8||_0x131501>0xf)throw new TypeError(_0x48d8d1(0x22a)+_0x209a34+_0x48d8d1(0x14b)+_0x2e02e6);_0x2e02e6=_0x131501;}else{if(!this[_0x48d8d1(0x14a)])throw new TypeError(_0x48d8d1(0x22a)+_0x209a34+_0x48d8d1(0x14b)+_0x2e02e6);}}else{if(_0x209a34==='server_max_window_bits'){const _0x4582bc=+_0x2e02e6;if(!Number['isInteger'](_0x4582bc)||_0x4582bc<0x8||_0x4582bc>0xf)throw new TypeError(_0x48d8d1(0x22a)+_0x209a34+_0x48d8d1(0x14b)+_0x2e02e6);_0x2e02e6=_0x4582bc;}else{if(_0x209a34===_0x48d8d1(0x16e)||_0x209a34===_0x48d8d1(0x268)){if(_0x2e02e6!==!0x0)throw new TypeError(_0x48d8d1(0x22a)+_0x209a34+_0x48d8d1(0x14b)+_0x2e02e6);}else throw new Error(_0x48d8d1(0x27d)+_0x209a34+'\x22');}}_0x59f819[_0x209a34]=_0x2e02e6;});}),_0x5925e6;}[_0x198d87(0x277)](_0x2c8b8c,_0x1ddc0d,_0x4b15a8){const _0x1692bd=_0x198d87;_0x350397[_0x1692bd(0x290)](_0x6bbbe0=>{const _0x1399fe=_0x1692bd;this[_0x1399fe(0x27c)](_0x2c8b8c,_0x1ddc0d,(_0x37c0f3,_0x5229d6)=>{_0x6bbbe0(),_0x4b15a8(_0x37c0f3,_0x5229d6);});});}[_0x198d87(0x18e)](_0x465e3b,_0x38b1db,_0x3f469d){const _0x41c66f=_0x198d87;_0x350397[_0x41c66f(0x290)](_0x199076=>{this['_compress'](_0x465e3b,_0x38b1db,(_0x2172a0,_0x38dde9)=>{_0x199076(),_0x3f469d(_0x2172a0,_0x38dde9);});});}['_decompress'](_0x146fd1,_0x2da7cf,_0xcd9663){const _0x1ae0df=_0x198d87,_0x528421=this[_0x1ae0df(0x14a)]?_0x1ae0df(0x261):_0x1ae0df(0x147);if(!this[_0x1ae0df(0x1a1)]){const _0x24f1b4=_0x528421+'_max_window_bits',_0x57658e=typeof this[_0x1ae0df(0x1a9)][_0x24f1b4]!='number'?_0x4d84b6[_0x1ae0df(0x18a)]:this['params'][_0x24f1b4];this[_0x1ae0df(0x1a1)]=_0x4d84b6[_0x1ae0df(0x13b)]({...this['_options'][_0x1ae0df(0x136)],'windowBits':_0x57658e}),this['_inflate'][_0x34bf2a]=this,this[_0x1ae0df(0x1a1)][_0x2daff4]=0x0,this[_0x1ae0df(0x1a1)][_0x120c2e]=[],this[_0x1ae0df(0x1a1)]['on']('error',_0x341aca),this[_0x1ae0df(0x1a1)]['on'](_0x1ae0df(0x223),_0x5534b5);}this[_0x1ae0df(0x1a1)][_0x45cd13]=_0xcd9663,this[_0x1ae0df(0x1a1)][_0x1ae0df(0x231)](_0x146fd1),_0x2da7cf&&this['_inflate']['write'](_0x453367),this[_0x1ae0df(0x1a1)][_0x1ae0df(0x1a4)](()=>{const _0x4c1332=_0x1ae0df,_0x21e15d=this[_0x4c1332(0x1a1)][_0x48ac19];if(_0x21e15d){this[_0x4c1332(0x1a1)][_0x4c1332(0x272)](),this[_0x4c1332(0x1a1)]=null,_0xcd9663(_0x21e15d);return;}const _0x20e33d=_0x5bec57['concat'](this[_0x4c1332(0x1a1)][_0x120c2e],this[_0x4c1332(0x1a1)][_0x2daff4]);this[_0x4c1332(0x1a1)]['_readableState']['endEmitted']?(this['_inflate']['close'](),this['_inflate']=null):(this['_inflate'][_0x2daff4]=0x0,this[_0x4c1332(0x1a1)][_0x120c2e]=[],_0x2da7cf&&this['params'][_0x528421+'_no_context_takeover']&&this[_0x4c1332(0x1a1)][_0x4c1332(0x2bd)]()),_0xcd9663(null,_0x20e33d);});}['_compress'](_0x113375,_0x5c9afe,_0x29005c){const _0x3c6a6e=_0x198d87,_0x1df0a1=this['_isServer']?_0x3c6a6e(0x147):_0x3c6a6e(0x261);if(!this[_0x3c6a6e(0x14f)]){const _0x307c91=_0x1df0a1+_0x3c6a6e(0x28f),_0xf8c934=typeof this[_0x3c6a6e(0x1a9)][_0x307c91]!='number'?_0x4d84b6['Z_DEFAULT_WINDOWBITS']:this[_0x3c6a6e(0x1a9)][_0x307c91];this[_0x3c6a6e(0x14f)]=_0x4d84b6[_0x3c6a6e(0x1bc)]({...this['_options'][_0x3c6a6e(0x2bc)],'windowBits':_0xf8c934}),this['_deflate'][_0x2daff4]=0x0,this[_0x3c6a6e(0x14f)][_0x120c2e]=[],this[_0x3c6a6e(0x14f)]['on'](_0x3c6a6e(0x223),_0x2fbce0);}this[_0x3c6a6e(0x14f)][_0x45cd13]=_0x29005c,this[_0x3c6a6e(0x14f)][_0x3c6a6e(0x231)](_0x113375),this[_0x3c6a6e(0x14f)]['flush'](_0x4d84b6[_0x3c6a6e(0x1ff)],()=>{const _0x32a33c=_0x3c6a6e;if(!this['_deflate'])return;let _0x40eb1b=_0x5bec57[_0x32a33c(0x255)](this[_0x32a33c(0x14f)][_0x120c2e],this['_deflate'][_0x2daff4]);_0x5c9afe&&(_0x40eb1b=new _0x33d706(_0x40eb1b['buffer'],_0x40eb1b['byteOffset'],_0x40eb1b['length']-0x4)),this['_deflate'][_0x45cd13]=null,this[_0x32a33c(0x14f)][_0x2daff4]=0x0,this[_0x32a33c(0x14f)][_0x120c2e]=[],_0x5c9afe&&this[_0x32a33c(0x1a9)][_0x1df0a1+_0x32a33c(0x2a6)]&&this[_0x32a33c(0x14f)][_0x32a33c(0x2bd)](),_0x29005c(null,_0x40eb1b);});}}ve=_0x2335e2;function _0x2fbce0(_0x22ba0f){const _0x58cbca=_0x198d87;this[_0x120c2e]['push'](_0x22ba0f),this[_0x2daff4]+=_0x22ba0f[_0x58cbca(0x284)];}function _0x5534b5(_0x34533e){const _0x2810bd=_0x198d87;if(this[_0x2daff4]+=_0x34533e[_0x2810bd(0x284)],this[_0x34bf2a][_0x2810bd(0x1fc)]<0x1||this[_0x2daff4]<=this[_0x34bf2a][_0x2810bd(0x1fc)]){this[_0x120c2e][_0x2810bd(0x1cf)](_0x34533e);return;}this[_0x48ac19]=new RangeError(_0x2810bd(0x209)),this[_0x48ac19]['code']=_0x2810bd(0x2a5),this[_0x48ac19][_0x5de2a4]=0x3f1,this['removeListener']('data',_0x5534b5),this[_0x2810bd(0x2bd)]();}function _0x341aca(_0x19169a){const _0x1f7f76=_0x198d87;if(this[_0x34bf2a][_0x1f7f76(0x1a1)]=null,this[_0x48ac19]){this[_0x45cd13](this[_0x48ac19]);return;}_0x19169a[_0x5de2a4]=0x3ef,this[_0x45cd13](_0x19169a);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x2fb0ea(0x241)](Object[_0x2fb0ea(0x188)]({'__proto__':null,'default':Ht},Symbol[_0x2fb0ea(0x247)],{'value':_0x2fb0ea(0x1ea)})),Yt=ut(zt);var Qe;function ne(){const _0x29aabb=_0x2fb0ea;if(Qe)return re[_0x29aabb(0x226)];Qe=0x1;const {isUtf8:_0xb9500a}=_0x4c3bf6,{hasBlob:_0x469e6c}=V(),_0xda352e=[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 _0x291474(_0x9da467){return _0x9da467>=0x3e8&&_0x9da467<=0x3f6&&_0x9da467!==0x3ec&&_0x9da467!==0x3ed&&_0x9da467!==0x3ee||_0x9da467>=0xbb8&&_0x9da467<=0x1387;}function _0xb4507(_0x5d9581){const _0x34d6cd=_0x5d9581['length'];let _0xe8da25=0x0;for(;_0xe8da25<_0x34d6cd;)if((_0x5d9581[_0xe8da25]&0x80)===0x0)_0xe8da25++;else{if((_0x5d9581[_0xe8da25]&0xe0)===0xc0){if(_0xe8da25+0x1===_0x34d6cd||(_0x5d9581[_0xe8da25+0x1]&0xc0)!==0x80||(_0x5d9581[_0xe8da25]&0xfe)===0xc0)return!0x1;_0xe8da25+=0x2;}else{if((_0x5d9581[_0xe8da25]&0xf0)===0xe0){if(_0xe8da25+0x2>=_0x34d6cd||(_0x5d9581[_0xe8da25+0x1]&0xc0)!==0x80||(_0x5d9581[_0xe8da25+0x2]&0xc0)!==0x80||_0x5d9581[_0xe8da25]===0xe0&&(_0x5d9581[_0xe8da25+0x1]&0xe0)===0x80||_0x5d9581[_0xe8da25]===0xed&&(_0x5d9581[_0xe8da25+0x1]&0xe0)===0xa0)return!0x1;_0xe8da25+=0x3;}else{if((_0x5d9581[_0xe8da25]&0xf8)===0xf0){if(_0xe8da25+0x3>=_0x34d6cd||(_0x5d9581[_0xe8da25+0x1]&0xc0)!==0x80||(_0x5d9581[_0xe8da25+0x2]&0xc0)!==0x80||(_0x5d9581[_0xe8da25+0x3]&0xc0)!==0x80||_0x5d9581[_0xe8da25]===0xf0&&(_0x5d9581[_0xe8da25+0x1]&0xf0)===0x80||_0x5d9581[_0xe8da25]===0xf4&&_0x5d9581[_0xe8da25+0x1]>0x8f||_0x5d9581[_0xe8da25]>0xf4)return!0x1;_0xe8da25+=0x4;}else return!0x1;}}}return!0x0;}function _0x3d1092(_0x568584){const _0x2c7145=_0x29aabb;return _0x469e6c&&typeof _0x568584==_0x2c7145(0x125)&&typeof _0x568584[_0x2c7145(0x171)]==_0x2c7145(0x1b7)&&typeof _0x568584[_0x2c7145(0x2a9)]==_0x2c7145(0x269)&&typeof _0x568584[_0x2c7145(0x198)]==_0x2c7145(0x1b7)&&(_0x568584[Symbol[_0x2c7145(0x247)]]===_0x2c7145(0x1b4)||_0x568584[Symbol[_0x2c7145(0x247)]]==='File');}if(re[_0x29aabb(0x226)]={'isBlob':_0x3d1092,'isValidStatusCode':_0x291474,'isValidUTF8':_0xb4507,'tokenChars':_0xda352e},_0xb9500a)re[_0x29aabb(0x226)]['isValidUTF8']=function(_0x452f4a){const _0x28c605=_0x29aabb;return _0x452f4a[_0x28c605(0x284)]<0x18?_0xb4507(_0x452f4a):_0xb9500a(_0x452f4a);};else{if(!process[_0x29aabb(0x228)][_0x29aabb(0x279)])try{const _0xd49760=Yt;re['exports'][_0x29aabb(0x1a7)]=function(_0x146e3d){const _0x3e404a=_0x29aabb;return _0x146e3d[_0x3e404a(0x284)]<0x20?_0xb4507(_0x146e3d):_0xd49760(_0x146e3d);};}catch{}}return re[_0x29aabb(0x226)];}var Se,Je;function dt(){const _0x18fc9c=_0x2fb0ea;if(Je)return Se;Je=0x1;const {Writable:_0x413770}=_0x51faaf,_0xfbfbf4=he(),{BINARY_TYPES:_0x1e81f1,EMPTY_BUFFER:_0x4ad257,kStatusCode:_0x4e3d43,kWebSocket:_0x1e56c6}=V(),{concat:_0x24729d,toArrayBuffer:_0x58bf79,unmask:_0x48d8dd}=ce(),{isValidStatusCode:_0x56f19a,isValidUTF8:_0x25f982}=ne(),_0x54de83=Buffer[Symbol['species']],_0x53e2ea=0x0,_0x2e89ab=0x1,_0x58d584=0x2,_0x59ff53=0x3,_0x20c057=0x4,_0x4a6db5=0x5,_0x23e346=0x6;class _0x5b4734 extends _0x413770{constructor(_0x293187={}){const _0x546fd7=_0x195d;super(),this['_allowSynchronousEvents']=_0x293187['allowSynchronousEvents']!==void 0x0?_0x293187[_0x546fd7(0x1de)]:!0x0,this['_binaryType']=_0x293187[_0x546fd7(0x291)]||_0x1e81f1[0x0],this[_0x546fd7(0x1a5)]=_0x293187[_0x546fd7(0x26c)]||{},this[_0x546fd7(0x14a)]=!!_0x293187[_0x546fd7(0x13f)],this['_maxPayload']=_0x293187[_0x546fd7(0x211)]|0x0,this['_skipUTF8Validation']=!!_0x293187['skipUTF8Validation'],this[_0x1e56c6]=void 0x0,this[_0x546fd7(0x1d3)]=0x0,this['_buffers']=[],this[_0x546fd7(0x2c2)]=!0x1,this[_0x546fd7(0x12d)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this['_masked']=!0x1,this['_fin']=!0x1,this['_opcode']=0x0,this[_0x546fd7(0x15c)]=0x0,this[_0x546fd7(0x174)]=0x0,this[_0x546fd7(0x2c7)]=[],this['_errored']=!0x1,this[_0x546fd7(0x143)]=!0x1,this[_0x546fd7(0x2af)]=_0x53e2ea;}[_0x18fc9c(0x141)](_0x2c9ec9,_0x4f660f,_0x44a9fc){const _0x1a317b=_0x18fc9c;if(this['_opcode']===0x8&&this[_0x1a317b(0x2af)]==_0x53e2ea)return _0x44a9fc();this['_bufferedBytes']+=_0x2c9ec9[_0x1a317b(0x284)],this[_0x1a317b(0x21b)][_0x1a317b(0x1cf)](_0x2c9ec9),this['startLoop'](_0x44a9fc);}[_0x18fc9c(0x122)](_0x55b7e4){const _0xea0737=_0x18fc9c;if(this['_bufferedBytes']-=_0x55b7e4,_0x55b7e4===this[_0xea0737(0x21b)][0x0][_0xea0737(0x284)])return this['_buffers'][_0xea0737(0x256)]();if(_0x55b7e4<this[_0xea0737(0x21b)][0x0][_0xea0737(0x284)]){const _0x4b24ac=this[_0xea0737(0x21b)][0x0];return this[_0xea0737(0x21b)][0x0]=new _0x54de83(_0x4b24ac[_0xea0737(0x16f)],_0x4b24ac[_0xea0737(0x1d5)]+_0x55b7e4,_0x4b24ac['length']-_0x55b7e4),new _0x54de83(_0x4b24ac[_0xea0737(0x16f)],_0x4b24ac[_0xea0737(0x1d5)],_0x55b7e4);}const _0x4119ee=Buffer['allocUnsafe'](_0x55b7e4);do{const _0x48308d=this[_0xea0737(0x21b)][0x0],_0x6fa0a2=_0x4119ee['length']-_0x55b7e4;_0x55b7e4>=_0x48308d[_0xea0737(0x284)]?_0x4119ee[_0xea0737(0x15e)](this[_0xea0737(0x21b)][_0xea0737(0x256)](),_0x6fa0a2):(_0x4119ee[_0xea0737(0x15e)](new Uint8Array(_0x48308d['buffer'],_0x48308d[_0xea0737(0x1d5)],_0x55b7e4),_0x6fa0a2),this['_buffers'][0x0]=new _0x54de83(_0x48308d[_0xea0737(0x16f)],_0x48308d['byteOffset']+_0x55b7e4,_0x48308d[_0xea0737(0x284)]-_0x55b7e4)),_0x55b7e4-=_0x48308d['length'];}while(_0x55b7e4>0x0);return _0x4119ee;}['startLoop'](_0x5b89cd){const _0x91351=_0x18fc9c;this[_0x91351(0x143)]=!0x0;do switch(this[_0x91351(0x2af)]){case _0x53e2ea:this[_0x91351(0x259)](_0x5b89cd);break;case _0x2e89ab:this[_0x91351(0x1cd)](_0x5b89cd);break;case _0x58d584:this[_0x91351(0x14c)](_0x5b89cd);break;case _0x59ff53:this['getMask']();break;case _0x20c057:this[_0x91351(0x29f)](_0x5b89cd);break;case _0x4a6db5:case _0x23e346:this['_loop']=!0x1;return;}while(this[_0x91351(0x143)]);this[_0x91351(0x181)]||_0x5b89cd();}[_0x18fc9c(0x259)](_0x7b1257){const _0x433389=_0x18fc9c;if(this[_0x433389(0x1d3)]<0x2){this[_0x433389(0x143)]=!0x1;return;}const _0x30bf87=this[_0x433389(0x122)](0x2);if((_0x30bf87[0x0]&0x30)!==0x0){const _0x49bbbf=this[_0x433389(0x12a)](RangeError,_0x433389(0x16a),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x7b1257(_0x49bbbf);return;}const _0x7a2f79=(_0x30bf87[0x0]&0x40)===0x40;if(_0x7a2f79&&!this['_extensions'][_0xfbfbf4['extensionName']]){const _0x5944d8=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x7b1257(_0x5944d8);return;}if(this[_0x433389(0x2b6)]=(_0x30bf87[0x0]&0x80)===0x80,this['_opcode']=_0x30bf87[0x0]&0xf,this[_0x433389(0x12d)]=_0x30bf87[0x1]&0x7f,this[_0x433389(0x1d9)]===0x0){if(_0x7a2f79){const _0x15feaf=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x433389(0x169));_0x7b1257(_0x15feaf);return;}if(!this[_0x433389(0x218)]){const _0x37a89c=this['createError'](RangeError,_0x433389(0x25a),!0x0,0x3ea,_0x433389(0x203));_0x7b1257(_0x37a89c);return;}this[_0x433389(0x1d9)]=this['_fragmented'];}else{if(this[_0x433389(0x1d9)]===0x1||this[_0x433389(0x1d9)]===0x2){if(this[_0x433389(0x218)]){const _0x1b66b2=this[_0x433389(0x12a)](RangeError,_0x433389(0x24d)+this[_0x433389(0x1d9)],!0x0,0x3ea,_0x433389(0x203));_0x7b1257(_0x1b66b2);return;}this[_0x433389(0x2c2)]=_0x7a2f79;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this[_0x433389(0x2b6)]){const _0x2aa8ee=this['createError'](RangeError,_0x433389(0x1b8),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x7b1257(_0x2aa8ee);return;}if(_0x7a2f79){const _0x1caecc=this[_0x433389(0x12a)](RangeError,_0x433389(0x285),!0x0,0x3ea,_0x433389(0x169));_0x7b1257(_0x1caecc);return;}if(this[_0x433389(0x12d)]>0x7d||this[_0x433389(0x1d9)]===0x8&&this[_0x433389(0x12d)]===0x1){const _0x1b3f6d=this[_0x433389(0x12a)](RangeError,_0x433389(0x225)+this[_0x433389(0x12d)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x7b1257(_0x1b3f6d);return;}}else{const _0x3529dd=this[_0x433389(0x12a)](RangeError,_0x433389(0x24d)+this[_0x433389(0x1d9)],!0x0,0x3ea,_0x433389(0x203));_0x7b1257(_0x3529dd);return;}}}if(!this[_0x433389(0x2b6)]&&!this[_0x433389(0x218)]&&(this['_fragmented']=this['_opcode']),this['_masked']=(_0x30bf87[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x433389(0x2a8)]){const _0x1b411b=this[_0x433389(0x12a)](RangeError,_0x433389(0x1e3),!0x0,0x3ea,_0x433389(0x2b7));_0x7b1257(_0x1b411b);return;}}else{if(this['_masked']){const _0x4b1788=this[_0x433389(0x12a)](RangeError,_0x433389(0x229),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x7b1257(_0x4b1788);return;}}this[_0x433389(0x12d)]===0x7e?this[_0x433389(0x2af)]=_0x2e89ab:this[_0x433389(0x12d)]===0x7f?this[_0x433389(0x2af)]=_0x58d584:this[_0x433389(0x1c7)](_0x7b1257);}[_0x18fc9c(0x1cd)](_0x47d404){const _0x1be733=_0x18fc9c;if(this['_bufferedBytes']<0x2){this[_0x1be733(0x143)]=!0x1;return;}this[_0x1be733(0x12d)]=this[_0x1be733(0x122)](0x2)['readUInt16BE'](0x0),this[_0x1be733(0x1c7)](_0x47d404);}[_0x18fc9c(0x14c)](_0x4586d){const _0x3fc977=_0x18fc9c;if(this[_0x3fc977(0x1d3)]<0x8){this[_0x3fc977(0x143)]=!0x1;return;}const _0x50154d=this[_0x3fc977(0x122)](0x8),_0x81749c=_0x50154d[_0x3fc977(0x1d1)](0x0);if(_0x81749c>Math[_0x3fc977(0x1d0)](0x2,0x15)-0x1){const _0xfcb007=this[_0x3fc977(0x12a)](RangeError,_0x3fc977(0x273),!0x1,0x3f1,_0x3fc977(0x29c));_0x4586d(_0xfcb007);return;}this[_0x3fc977(0x12d)]=_0x81749c*Math['pow'](0x2,0x20)+_0x50154d['readUInt32BE'](0x4),this[_0x3fc977(0x1c7)](_0x4586d);}[_0x18fc9c(0x1c7)](_0x3085b0){const _0x261931=_0x18fc9c;if(this[_0x261931(0x12d)]&&this[_0x261931(0x1d9)]<0x8&&(this[_0x261931(0x15c)]+=this['_payloadLength'],this[_0x261931(0x15c)]>this[_0x261931(0x1fc)]&&this[_0x261931(0x1fc)]>0x0)){const _0x294719=this[_0x261931(0x12a)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x261931(0x2a5));_0x3085b0(_0x294719);return;}this[_0x261931(0x2a8)]?this['_state']=_0x59ff53:this['_state']=_0x20c057;}[_0x18fc9c(0x2ba)](){const _0x39bf31=_0x18fc9c;if(this[_0x39bf31(0x1d3)]<0x4){this['_loop']=!0x1;return;}this['_mask']=this[_0x39bf31(0x122)](0x4),this[_0x39bf31(0x2af)]=_0x20c057;}['getData'](_0x22972c){const _0x4410c8=_0x18fc9c;let _0x2a59fb=_0x4ad257;if(this[_0x4410c8(0x12d)]){if(this['_bufferedBytes']<this['_payloadLength']){this[_0x4410c8(0x143)]=!0x1;return;}_0x2a59fb=this[_0x4410c8(0x122)](this['_payloadLength']),this['_masked']&&(this[_0x4410c8(0x163)][0x0]|this[_0x4410c8(0x163)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x48d8dd(_0x2a59fb,this['_mask']);}if(this[_0x4410c8(0x1d9)]>0x7){this[_0x4410c8(0x196)](_0x2a59fb,_0x22972c);return;}if(this[_0x4410c8(0x2c2)]){this[_0x4410c8(0x2af)]=_0x4a6db5,this[_0x4410c8(0x277)](_0x2a59fb,_0x22972c);return;}_0x2a59fb[_0x4410c8(0x284)]&&(this[_0x4410c8(0x174)]=this[_0x4410c8(0x15c)],this['_fragments']['push'](_0x2a59fb)),this[_0x4410c8(0x1c6)](_0x22972c);}[_0x18fc9c(0x277)](_0x3cae6d,_0x518b2e){const _0x3bdfbc=_0x18fc9c;this[_0x3bdfbc(0x1a5)][_0xfbfbf4['extensionName']][_0x3bdfbc(0x277)](_0x3cae6d,this[_0x3bdfbc(0x2b6)],(_0x1b6d53,_0x433f74)=>{const _0x6ae54d=_0x3bdfbc;if(_0x1b6d53)return _0x518b2e(_0x1b6d53);if(_0x433f74[_0x6ae54d(0x284)]){if(this['_messageLength']+=_0x433f74['length'],this[_0x6ae54d(0x174)]>this['_maxPayload']&&this[_0x6ae54d(0x1fc)]>0x0){const _0x204a2f=this[_0x6ae54d(0x12a)](RangeError,_0x6ae54d(0x209),!0x1,0x3f1,_0x6ae54d(0x2a5));_0x518b2e(_0x204a2f);return;}this[_0x6ae54d(0x2c7)][_0x6ae54d(0x1cf)](_0x433f74);}this['dataMessage'](_0x518b2e),this[_0x6ae54d(0x2af)]===_0x53e2ea&&this[_0x6ae54d(0x235)](_0x518b2e);});}[_0x18fc9c(0x1c6)](_0x5786e8){const _0x4556c9=_0x18fc9c;if(!this[_0x4556c9(0x2b6)]){this[_0x4556c9(0x2af)]=_0x53e2ea;return;}const _0x5b539e=this['_messageLength'],_0x2973cb=this['_fragments'];if(this[_0x4556c9(0x15c)]=0x0,this[_0x4556c9(0x174)]=0x0,this['_fragmented']=0x0,this['_fragments']=[],this[_0x4556c9(0x1d9)]===0x2){let _0x236f74;this['_binaryType']==='nodebuffer'?_0x236f74=_0x24729d(_0x2973cb,_0x5b539e):this[_0x4556c9(0x134)]===_0x4556c9(0x1e0)?_0x236f74=_0x58bf79(_0x24729d(_0x2973cb,_0x5b539e)):this[_0x4556c9(0x134)]===_0x4556c9(0x151)?_0x236f74=new Blob(_0x2973cb):_0x236f74=_0x2973cb,this[_0x4556c9(0x178)]?(this[_0x4556c9(0x1cb)]('message',_0x236f74,!0x0),this[_0x4556c9(0x2af)]=_0x53e2ea):(this[_0x4556c9(0x2af)]=_0x23e346,setImmediate(()=>{const _0x3fa970=_0x4556c9;this['emit']('message',_0x236f74,!0x0),this[_0x3fa970(0x2af)]=_0x53e2ea,this['startLoop'](_0x5786e8);}));}else{const _0x467568=_0x24729d(_0x2973cb,_0x5b539e);if(!this[_0x4556c9(0x17a)]&&!_0x25f982(_0x467568)){const _0x41930b=this['createError'](Error,_0x4556c9(0x262),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x5786e8(_0x41930b);return;}this[_0x4556c9(0x2af)]===_0x4a6db5||this[_0x4556c9(0x178)]?(this[_0x4556c9(0x1cb)](_0x4556c9(0x139),_0x467568,!0x1),this['_state']=_0x53e2ea):(this[_0x4556c9(0x2af)]=_0x23e346,setImmediate(()=>{const _0x59f3be=_0x4556c9;this[_0x59f3be(0x1cb)]('message',_0x467568,!0x1),this['_state']=_0x53e2ea,this[_0x59f3be(0x235)](_0x5786e8);}));}}[_0x18fc9c(0x196)](_0x3f2be0,_0x18b74a){const _0x5de970=_0x18fc9c;if(this[_0x5de970(0x1d9)]===0x8){if(_0x3f2be0['length']===0x0)this[_0x5de970(0x143)]=!0x1,this[_0x5de970(0x1cb)](_0x5de970(0x1b3),0x3ed,_0x4ad257),this[_0x5de970(0x132)]();else{const _0x27e954=_0x3f2be0['readUInt16BE'](0x0);if(!_0x56f19a(_0x27e954)){const _0xc09beb=this['createError'](RangeError,_0x5de970(0x278)+_0x27e954,!0x0,0x3ea,_0x5de970(0x2a3));_0x18b74a(_0xc09beb);return;}const _0x3a08dd=new _0x54de83(_0x3f2be0[_0x5de970(0x16f)],_0x3f2be0[_0x5de970(0x1d5)]+0x2,_0x3f2be0[_0x5de970(0x284)]-0x2);if(!this[_0x5de970(0x17a)]&&!_0x25f982(_0x3a08dd)){const _0x33b3da=this[_0x5de970(0x12a)](Error,_0x5de970(0x262),!0x0,0x3ef,_0x5de970(0x2ae));_0x18b74a(_0x33b3da);return;}this[_0x5de970(0x143)]=!0x1,this[_0x5de970(0x1cb)](_0x5de970(0x1b3),_0x27e954,_0x3a08dd),this['end']();}this[_0x5de970(0x2af)]=_0x53e2ea;return;}this['_allowSynchronousEvents']?(this['emit'](this[_0x5de970(0x1d9)]===0x9?_0x5de970(0x120):_0x5de970(0x200),_0x3f2be0),this[_0x5de970(0x2af)]=_0x53e2ea):(this[_0x5de970(0x2af)]=_0x23e346,setImmediate(()=>{const _0x5fb557=_0x5de970;this[_0x5fb557(0x1cb)](this[_0x5fb557(0x1d9)]===0x9?_0x5fb557(0x120):_0x5fb557(0x200),_0x3f2be0),this['_state']=_0x53e2ea,this[_0x5fb557(0x235)](_0x18b74a);}));}['createError'](_0x3a832b,_0x383262,_0x500471,_0x19cba4,_0x277cd4){const _0x36794d=_0x18fc9c;this['_loop']=!0x1,this[_0x36794d(0x181)]=!0x0;const _0x1a71b5=new _0x3a832b(_0x500471?_0x36794d(0x237)+_0x383262:_0x383262);return Error[_0x36794d(0x128)](_0x1a71b5,this[_0x36794d(0x12a)]),_0x1a71b5['code']=_0x277cd4,_0x1a71b5[_0x4e3d43]=_0x19cba4,_0x1a71b5;}}return Se=_0x5b4734,Se;}var Ee,et;function _t(){const _0x54e9df=_0x2fb0ea;if(et)return Ee;et=0x1;const {Duplex:_0x314979}=_0x51faaf,{randomFillSync:_0xe0d0da}=_0x5f1ecc,_0x4337a3=he(),{EMPTY_BUFFER:_0x22c92f,kWebSocket:_0x28d87c,NOOP:_0x4e9d7c}=V(),{isBlob:_0x5e681a,isValidStatusCode:_0x5ac740}=ne(),{mask:_0x3333a1,toBuffer:_0x335dfb}=ce(),_0x1acdfb=Symbol(_0x54e9df(0x28c)),_0x132505=Buffer[_0x54e9df(0x1e8)](0x4),_0x1d9146=0x8*0x400;let _0x5bbcac,_0x36c9f4=_0x1d9146;const _0x157fcd=0x0,_0x35e188=0x1,_0x41d502=0x2;class _0xd7db3a{constructor(_0x533d12,_0x2cec68,_0x1ea078){const _0x4c8ba0=_0x54e9df;this[_0x4c8ba0(0x1a5)]=_0x2cec68||{},_0x1ea078&&(this[_0x4c8ba0(0x23e)]=_0x1ea078,this[_0x4c8ba0(0x2cb)]=Buffer['alloc'](0x4)),this[_0x4c8ba0(0x22d)]=_0x533d12,this[_0x4c8ba0(0x127)]=!0x0,this[_0x4c8ba0(0x13a)]=!0x1,this[_0x4c8ba0(0x1d3)]=0x0,this[_0x4c8ba0(0x20a)]=[],this[_0x4c8ba0(0x2af)]=_0x157fcd,this[_0x4c8ba0(0x21e)]=_0x4e9d7c,this[_0x28d87c]=void 0x0;}static[_0x54e9df(0x1af)](_0x1ec07e,_0x34a560){const _0x103fe5=_0x54e9df;let _0x57740d,_0x4d5960=!0x1,_0x2e7235=0x2,_0x45709e=!0x1;_0x34a560[_0x103fe5(0x19c)]&&(_0x57740d=_0x34a560[_0x103fe5(0x12e)]||_0x132505,_0x34a560[_0x103fe5(0x142)]?_0x34a560[_0x103fe5(0x142)](_0x57740d):(_0x36c9f4===_0x1d9146&&(_0x5bbcac===void 0x0&&(_0x5bbcac=Buffer[_0x103fe5(0x1e8)](_0x1d9146)),_0xe0d0da(_0x5bbcac,0x0,_0x1d9146),_0x36c9f4=0x0),_0x57740d[0x0]=_0x5bbcac[_0x36c9f4++],_0x57740d[0x1]=_0x5bbcac[_0x36c9f4++],_0x57740d[0x2]=_0x5bbcac[_0x36c9f4++],_0x57740d[0x3]=_0x5bbcac[_0x36c9f4++]),_0x45709e=(_0x57740d[0x0]|_0x57740d[0x1]|_0x57740d[0x2]|_0x57740d[0x3])===0x0,_0x2e7235=0x6);let _0x1b82bf;typeof _0x1ec07e==_0x103fe5(0x269)?(!_0x34a560[_0x103fe5(0x19c)]||_0x45709e)&&_0x34a560[_0x1acdfb]!==void 0x0?_0x1b82bf=_0x34a560[_0x1acdfb]:(_0x1ec07e=Buffer[_0x103fe5(0x1a8)](_0x1ec07e),_0x1b82bf=_0x1ec07e[_0x103fe5(0x284)]):(_0x1b82bf=_0x1ec07e[_0x103fe5(0x284)],_0x4d5960=_0x34a560[_0x103fe5(0x19c)]&&_0x34a560['readOnly']&&!_0x45709e);let _0x1138a9=_0x1b82bf;_0x1b82bf>=0x10000?(_0x2e7235+=0x8,_0x1138a9=0x7f):_0x1b82bf>0x7d&&(_0x2e7235+=0x2,_0x1138a9=0x7e);const _0x579fa5=Buffer[_0x103fe5(0x1e9)](_0x4d5960?_0x1b82bf+_0x2e7235:_0x2e7235);return _0x579fa5[0x0]=_0x34a560[_0x103fe5(0x2b4)]?_0x34a560[_0x103fe5(0x1f2)]|0x80:_0x34a560['opcode'],_0x34a560[_0x103fe5(0x27a)]&&(_0x579fa5[0x0]|=0x40),_0x579fa5[0x1]=_0x1138a9,_0x1138a9===0x7e?_0x579fa5[_0x103fe5(0x184)](_0x1b82bf,0x2):_0x1138a9===0x7f&&(_0x579fa5[0x2]=_0x579fa5[0x3]=0x0,_0x579fa5[_0x103fe5(0x249)](_0x1b82bf,0x4,0x6)),_0x34a560[_0x103fe5(0x19c)]?(_0x579fa5[0x1]|=0x80,_0x579fa5[_0x2e7235-0x4]=_0x57740d[0x0],_0x579fa5[_0x2e7235-0x3]=_0x57740d[0x1],_0x579fa5[_0x2e7235-0x2]=_0x57740d[0x2],_0x579fa5[_0x2e7235-0x1]=_0x57740d[0x3],_0x45709e?[_0x579fa5,_0x1ec07e]:_0x4d5960?(_0x3333a1(_0x1ec07e,_0x57740d,_0x579fa5,_0x2e7235,_0x1b82bf),[_0x579fa5]):(_0x3333a1(_0x1ec07e,_0x57740d,_0x1ec07e,0x0,_0x1b82bf),[_0x579fa5,_0x1ec07e])):[_0x579fa5,_0x1ec07e];}[_0x54e9df(0x272)](_0x5e1241,_0x21a8f0,_0x103961,_0xff0a6d){const _0x365c3d=_0x54e9df;let _0xa6b1a2;if(_0x5e1241===void 0x0)_0xa6b1a2=_0x22c92f;else{if(typeof _0x5e1241!=_0x365c3d(0x29a)||!_0x5ac740(_0x5e1241))throw new TypeError(_0x365c3d(0x2c1));if(_0x21a8f0===void 0x0||!_0x21a8f0[_0x365c3d(0x284)])_0xa6b1a2=Buffer[_0x365c3d(0x1e9)](0x2),_0xa6b1a2[_0x365c3d(0x184)](_0x5e1241,0x0);else{const _0x4602c6=Buffer['byteLength'](_0x21a8f0);if(_0x4602c6>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0xa6b1a2=Buffer[_0x365c3d(0x1e9)](0x2+_0x4602c6),_0xa6b1a2[_0x365c3d(0x184)](_0x5e1241,0x0),typeof _0x21a8f0=='string'?_0xa6b1a2[_0x365c3d(0x231)](_0x21a8f0,0x2):_0xa6b1a2[_0x365c3d(0x15e)](_0x21a8f0,0x2);}}const _0xcedb6b={[_0x1acdfb]:_0xa6b1a2[_0x365c3d(0x284)],'fin':!0x0,'generateMask':this[_0x365c3d(0x23e)],'mask':_0x103961,'maskBuffer':this[_0x365c3d(0x2cb)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x365c3d(0x2af)]!==_0x157fcd?this[_0x365c3d(0x1fa)]([this['dispatch'],_0xa6b1a2,!0x1,_0xcedb6b,_0xff0a6d]):this['sendFrame'](_0xd7db3a['frame'](_0xa6b1a2,_0xcedb6b),_0xff0a6d);}[_0x54e9df(0x120)](_0x5f1691,_0x2d25fb,_0x1a3a2c){const _0x10d15f=_0x54e9df;let _0x46f372,_0xa68c0e;if(typeof _0x5f1691==_0x10d15f(0x269)?(_0x46f372=Buffer['byteLength'](_0x5f1691),_0xa68c0e=!0x1):_0x5e681a(_0x5f1691)?(_0x46f372=_0x5f1691['size'],_0xa68c0e=!0x1):(_0x5f1691=_0x335dfb(_0x5f1691),_0x46f372=_0x5f1691[_0x10d15f(0x284)],_0xa68c0e=_0x335dfb['readOnly']),_0x46f372>0x7d)throw new RangeError(_0x10d15f(0x280));const _0x56712f={[_0x1acdfb]:_0x46f372,'fin':!0x0,'generateMask':this[_0x10d15f(0x23e)],'mask':_0x2d25fb,'maskBuffer':this[_0x10d15f(0x2cb)],'opcode':0x9,'readOnly':_0xa68c0e,'rsv1':!0x1};_0x5e681a(_0x5f1691)?this[_0x10d15f(0x2af)]!==_0x157fcd?this[_0x10d15f(0x1fa)]([this[_0x10d15f(0x2ac)],_0x5f1691,!0x1,_0x56712f,_0x1a3a2c]):this[_0x10d15f(0x2ac)](_0x5f1691,!0x1,_0x56712f,_0x1a3a2c):this[_0x10d15f(0x2af)]!==_0x157fcd?this[_0x10d15f(0x1fa)]([this[_0x10d15f(0x215)],_0x5f1691,!0x1,_0x56712f,_0x1a3a2c]):this['sendFrame'](_0xd7db3a[_0x10d15f(0x1af)](_0x5f1691,_0x56712f),_0x1a3a2c);}[_0x54e9df(0x200)](_0x2940d0,_0x3b582b,_0x39506d){const _0x2591fa=_0x54e9df;let _0x50f62e,_0x385861;if(typeof _0x2940d0==_0x2591fa(0x269)?(_0x50f62e=Buffer['byteLength'](_0x2940d0),_0x385861=!0x1):_0x5e681a(_0x2940d0)?(_0x50f62e=_0x2940d0['size'],_0x385861=!0x1):(_0x2940d0=_0x335dfb(_0x2940d0),_0x50f62e=_0x2940d0['length'],_0x385861=_0x335dfb['readOnly']),_0x50f62e>0x7d)throw new RangeError(_0x2591fa(0x280));const _0x5d0b1d={[_0x1acdfb]:_0x50f62e,'fin':!0x0,'generateMask':this[_0x2591fa(0x23e)],'mask':_0x3b582b,'maskBuffer':this[_0x2591fa(0x2cb)],'opcode':0xa,'readOnly':_0x385861,'rsv1':!0x1};_0x5e681a(_0x2940d0)?this[_0x2591fa(0x2af)]!==_0x157fcd?this[_0x2591fa(0x1fa)]([this[_0x2591fa(0x2ac)],_0x2940d0,!0x1,_0x5d0b1d,_0x39506d]):this[_0x2591fa(0x2ac)](_0x2940d0,!0x1,_0x5d0b1d,_0x39506d):this['_state']!==_0x157fcd?this[_0x2591fa(0x1fa)]([this[_0x2591fa(0x215)],_0x2940d0,!0x1,_0x5d0b1d,_0x39506d]):this['sendFrame'](_0xd7db3a['frame'](_0x2940d0,_0x5d0b1d),_0x39506d);}['send'](_0x448832,_0x35182f,_0x2dd33b){const _0x154633=_0x54e9df,_0x55dd7e=this[_0x154633(0x1a5)][_0x4337a3[_0x154633(0x11e)]];let _0x44be0a=_0x35182f[_0x154633(0x164)]?0x2:0x1,_0x156e2b=_0x35182f[_0x154633(0x18e)],_0x52904b,_0x5cca6c;typeof _0x448832==_0x154633(0x269)?(_0x52904b=Buffer['byteLength'](_0x448832),_0x5cca6c=!0x1):_0x5e681a(_0x448832)?(_0x52904b=_0x448832['size'],_0x5cca6c=!0x1):(_0x448832=_0x335dfb(_0x448832),_0x52904b=_0x448832[_0x154633(0x284)],_0x5cca6c=_0x335dfb[_0x154633(0x123)]),this[_0x154633(0x127)]?(this[_0x154633(0x127)]=!0x1,_0x156e2b&&_0x55dd7e&&_0x55dd7e[_0x154633(0x1a9)][_0x55dd7e['_isServer']?_0x154633(0x268):_0x154633(0x16e)]&&(_0x156e2b=_0x52904b>=_0x55dd7e[_0x154633(0x263)]),this[_0x154633(0x13a)]=_0x156e2b):(_0x156e2b=!0x1,_0x44be0a=0x0),_0x35182f['fin']&&(this[_0x154633(0x127)]=!0x0);const _0x444baa={[_0x1acdfb]:_0x52904b,'fin':_0x35182f[_0x154633(0x2b4)],'generateMask':this[_0x154633(0x23e)],'mask':_0x35182f[_0x154633(0x19c)],'maskBuffer':this[_0x154633(0x2cb)],'opcode':_0x44be0a,'readOnly':_0x5cca6c,'rsv1':_0x156e2b};_0x5e681a(_0x448832)?this[_0x154633(0x2af)]!==_0x157fcd?this[_0x154633(0x1fa)]([this[_0x154633(0x2ac)],_0x448832,this[_0x154633(0x13a)],_0x444baa,_0x2dd33b]):this[_0x154633(0x2ac)](_0x448832,this['_compress'],_0x444baa,_0x2dd33b):this[_0x154633(0x2af)]!==_0x157fcd?this[_0x154633(0x1fa)]([this[_0x154633(0x215)],_0x448832,this[_0x154633(0x13a)],_0x444baa,_0x2dd33b]):this[_0x154633(0x215)](_0x448832,this[_0x154633(0x13a)],_0x444baa,_0x2dd33b);}[_0x54e9df(0x2ac)](_0x133b21,_0x4f0e9e,_0x1b34ab,_0x1bb19a){const _0x346f19=_0x54e9df;this[_0x346f19(0x1d3)]+=_0x1b34ab[_0x1acdfb],this[_0x346f19(0x2af)]=_0x41d502,_0x133b21['arrayBuffer']()[_0x346f19(0x1c3)](_0x23c5cd=>{const _0x4258ff=_0x346f19;if(this['_socket'][_0x4258ff(0x24f)]){const _0x1ae722=new Error(_0x4258ff(0x11a));process[_0x4258ff(0x230)](_0x2b5a6b,this,_0x1ae722,_0x1bb19a);return;}this[_0x4258ff(0x1d3)]-=_0x1b34ab[_0x1acdfb];const _0x8a3ec8=_0x335dfb(_0x23c5cd);_0x4f0e9e?this[_0x4258ff(0x215)](_0x8a3ec8,_0x4f0e9e,_0x1b34ab,_0x1bb19a):(this[_0x4258ff(0x2af)]=_0x157fcd,this['sendFrame'](_0xd7db3a[_0x4258ff(0x1af)](_0x8a3ec8,_0x1b34ab),_0x1bb19a),this[_0x4258ff(0x17f)]());})[_0x346f19(0x2bf)](_0x33cb10=>{const _0x474948=_0x346f19;process[_0x474948(0x230)](_0x5c4a63,this,_0x33cb10,_0x1bb19a);});}['dispatch'](_0x44d316,_0x1ed317,_0x6b9379,_0x5b5c61){const _0x5a07af=_0x54e9df;if(!_0x1ed317){this[_0x5a07af(0x152)](_0xd7db3a[_0x5a07af(0x1af)](_0x44d316,_0x6b9379),_0x5b5c61);return;}const _0x16042d=this['_extensions'][_0x4337a3[_0x5a07af(0x11e)]];this['_bufferedBytes']+=_0x6b9379[_0x1acdfb],this['_state']=_0x35e188,_0x16042d[_0x5a07af(0x18e)](_0x44d316,_0x6b9379['fin'],(_0x6dc446,_0x302051)=>{const _0x29b692=_0x5a07af;if(this[_0x29b692(0x22d)][_0x29b692(0x24f)]){const _0x3332dc=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x2b5a6b(this,_0x3332dc,_0x5b5c61);return;}this[_0x29b692(0x1d3)]-=_0x6b9379[_0x1acdfb],this[_0x29b692(0x2af)]=_0x157fcd,_0x6b9379[_0x29b692(0x123)]=!0x1,this[_0x29b692(0x152)](_0xd7db3a[_0x29b692(0x1af)](_0x302051,_0x6b9379),_0x5b5c61),this[_0x29b692(0x17f)]();});}[_0x54e9df(0x17f)](){const _0x3aad51=_0x54e9df;for(;this['_state']===_0x157fcd&&this[_0x3aad51(0x20a)]['length'];){const _0x235aa9=this[_0x3aad51(0x20a)]['shift']();this[_0x3aad51(0x1d3)]-=_0x235aa9[0x3][_0x1acdfb],Reflect[_0x3aad51(0x20b)](_0x235aa9[0x0],this,_0x235aa9['slice'](0x1));}}[_0x54e9df(0x1fa)](_0x402f10){const _0x1cfcb1=_0x54e9df;this[_0x1cfcb1(0x1d3)]+=_0x402f10[0x3][_0x1acdfb],this[_0x1cfcb1(0x20a)][_0x1cfcb1(0x1cf)](_0x402f10);}[_0x54e9df(0x152)](_0xb36001,_0x53e67b){const _0x47a0d9=_0x54e9df;_0xb36001['length']===0x2?(this[_0x47a0d9(0x22d)][_0x47a0d9(0x24b)](),this[_0x47a0d9(0x22d)]['write'](_0xb36001[0x0]),this[_0x47a0d9(0x22d)][_0x47a0d9(0x231)](_0xb36001[0x1],_0x53e67b),this[_0x47a0d9(0x22d)]['uncork']()):this[_0x47a0d9(0x22d)][_0x47a0d9(0x231)](_0xb36001[0x0],_0x53e67b);}}Ee=_0xd7db3a;function _0x2b5a6b(_0x114159,_0x192892,_0x4d1c9f){const _0x5f8938=_0x54e9df;typeof _0x4d1c9f==_0x5f8938(0x1b7)&&_0x4d1c9f(_0x192892);for(let _0x46a2a8=0x0;_0x46a2a8<_0x114159['_queue']['length'];_0x46a2a8++){const _0xc48279=_0x114159[_0x5f8938(0x20a)][_0x46a2a8],_0x16033d=_0xc48279[_0xc48279[_0x5f8938(0x284)]-0x1];typeof _0x16033d=='function'&&_0x16033d(_0x192892);}}function _0x5c4a63(_0x5417ea,_0x5e962b,_0x3da6c6){const _0x4fac92=_0x54e9df;_0x2b5a6b(_0x5417ea,_0x5e962b,_0x3da6c6),_0x5417ea[_0x4fac92(0x21e)](_0x5e962b);}return Ee;}var xe,tt;function Kt(){const _0x3c08a1=_0x2fb0ea;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x402844,kListener:_0x5c7511}=V(),_0x57cd4b=Symbol(_0x3c08a1(0x176)),_0x504d2b=Symbol(_0x3c08a1(0x1e7)),_0x43d1e0=Symbol(_0x3c08a1(0x1f7)),_0x9894ff=Symbol(_0x3c08a1(0x12f)),_0x5a8c45=Symbol(_0x3c08a1(0x210)),_0x1f0117=Symbol('kTarget'),_0x397c09=Symbol('kType'),_0x1222a2=Symbol(_0x3c08a1(0x26e));class _0x4271ec{constructor(_0x346792){this[_0x1f0117]=null,this[_0x397c09]=_0x346792;}get[_0x3c08a1(0x21d)](){return this[_0x1f0117];}get['type'](){return this[_0x397c09];}}Object['defineProperty'](_0x4271ec[_0x3c08a1(0x254)],_0x3c08a1(0x21d),{'enumerable':!0x0}),Object[_0x3c08a1(0x188)](_0x4271ec[_0x3c08a1(0x254)],_0x3c08a1(0x2a9),{'enumerable':!0x0});class _0xe8099d extends _0x4271ec{constructor(_0x396172,_0x4cba69={}){const _0x16df5f=_0x3c08a1;super(_0x396172),this[_0x57cd4b]=_0x4cba69[_0x16df5f(0x138)]===void 0x0?0x0:_0x4cba69[_0x16df5f(0x138)],this[_0x5a8c45]=_0x4cba69[_0x16df5f(0x1fb)]===void 0x0?'':_0x4cba69[_0x16df5f(0x1fb)],this[_0x1222a2]=_0x4cba69[_0x16df5f(0x216)]===void 0x0?!0x1:_0x4cba69[_0x16df5f(0x216)];}get[_0x3c08a1(0x138)](){return this[_0x57cd4b];}get[_0x3c08a1(0x1fb)](){return this[_0x5a8c45];}get[_0x3c08a1(0x216)](){return this[_0x1222a2];}}Object['defineProperty'](_0xe8099d[_0x3c08a1(0x254)],_0x3c08a1(0x138),{'enumerable':!0x0}),Object[_0x3c08a1(0x188)](_0xe8099d[_0x3c08a1(0x254)],_0x3c08a1(0x1fb),{'enumerable':!0x0}),Object[_0x3c08a1(0x188)](_0xe8099d['prototype'],'wasClean',{'enumerable':!0x0});class _0x524762 extends _0x4271ec{constructor(_0x5e62b4,_0x1f4352={}){const _0x50b0ca=_0x3c08a1;super(_0x5e62b4),this[_0x43d1e0]=_0x1f4352[_0x50b0ca(0x130)]===void 0x0?null:_0x1f4352[_0x50b0ca(0x130)],this[_0x9894ff]=_0x1f4352['message']===void 0x0?'':_0x1f4352['message'];}get[_0x3c08a1(0x130)](){return this[_0x43d1e0];}get[_0x3c08a1(0x139)](){return this[_0x9894ff];}}Object['defineProperty'](_0x524762[_0x3c08a1(0x254)],_0x3c08a1(0x130),{'enumerable':!0x0}),Object[_0x3c08a1(0x188)](_0x524762[_0x3c08a1(0x254)],_0x3c08a1(0x139),{'enumerable':!0x0});class _0x5d255c extends _0x4271ec{constructor(_0x5dc71b,_0x260337={}){const _0x3e7f2d=_0x3c08a1;super(_0x5dc71b),this[_0x504d2b]=_0x260337[_0x3e7f2d(0x223)]===void 0x0?null:_0x260337['data'];}get[_0x3c08a1(0x223)](){return this[_0x504d2b];}}Object['defineProperty'](_0x5d255c['prototype'],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0xe8099d,'ErrorEvent':_0x524762,'Event':_0x4271ec,'EventTarget':{'addEventListener'(_0x730536,_0x402bbf,_0x29844c={}){const _0xdb2171=_0x3c08a1;for(const _0x4e8cec of this['listeners'](_0x730536))if(!_0x29844c[_0x402844]&&_0x4e8cec[_0x5c7511]===_0x402bbf&&!_0x4e8cec[_0x402844])return;let _0x187f1;if(_0x730536===_0xdb2171(0x139))_0x187f1=function(_0x51eeff,_0x4eb1ad){const _0x4d3c6b=_0xdb2171,_0xdc0ebd=new _0x5d255c(_0x4d3c6b(0x139),{'data':_0x4eb1ad?_0x51eeff:_0x51eeff['toString']()});_0xdc0ebd[_0x1f0117]=this,_0x369a79(_0x402bbf,this,_0xdc0ebd);};else{if(_0x730536==='close')_0x187f1=function(_0x4deb76,_0x2e7ea2){const _0x271a0e=_0xdb2171,_0x323a78=new _0xe8099d('close',{'code':_0x4deb76,'reason':_0x2e7ea2[_0x271a0e(0x1c9)](),'wasClean':this[_0x271a0e(0x282)]&&this[_0x271a0e(0x1b9)]});_0x323a78[_0x1f0117]=this,_0x369a79(_0x402bbf,this,_0x323a78);};else{if(_0x730536===_0xdb2171(0x130))_0x187f1=function(_0x3d6711){const _0x4becc5=_0xdb2171,_0x3254d0=new _0x524762('error',{'error':_0x3d6711,'message':_0x3d6711[_0x4becc5(0x139)]});_0x3254d0[_0x1f0117]=this,_0x369a79(_0x402bbf,this,_0x3254d0);};else{if(_0x730536==='open')_0x187f1=function(){const _0x34d4fd=_0xdb2171,_0x1b5a9d=new _0x4271ec(_0x34d4fd(0x2ad));_0x1b5a9d[_0x1f0117]=this,_0x369a79(_0x402bbf,this,_0x1b5a9d);};else return;}}}_0x187f1[_0x402844]=!!_0x29844c[_0x402844],_0x187f1[_0x5c7511]=_0x402bbf,_0x29844c[_0xdb2171(0x197)]?this[_0xdb2171(0x197)](_0x730536,_0x187f1):this['on'](_0x730536,_0x187f1);},'removeEventListener'(_0x468d52,_0xcd39d7){for(const _0x26f8db of this['listeners'](_0x468d52))if(_0x26f8db[_0x5c7511]===_0xcd39d7&&!_0x26f8db[_0x402844]){this['removeListener'](_0x468d52,_0x26f8db);break;}}},'MessageEvent':_0x5d255c};function _0x369a79(_0x46d70e,_0xb6720c,_0x596117){const _0x1c9d44=_0x3c08a1;typeof _0x46d70e==_0x1c9d44(0x125)&&_0x46d70e[_0x1c9d44(0x2c6)]?_0x46d70e[_0x1c9d44(0x2c6)]['call'](_0x46d70e,_0x596117):_0x46d70e[_0x1c9d44(0x189)](_0xb6720c,_0x596117);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x3aebaa}=ne();function _0x18ff3c(_0x32563c,_0x320e17,_0x315def){_0x32563c[_0x320e17]===void 0x0?_0x32563c[_0x320e17]=[_0x315def]:_0x32563c[_0x320e17]['push'](_0x315def);}function _0x266f05(_0x308ab8){const _0x4a0a30=_0x195d,_0x3639eb=Object[_0x4a0a30(0x265)](null);let _0x5b8072=Object[_0x4a0a30(0x265)](null),_0x3002a9=!0x1,_0x1b1c1b=!0x1,_0x53eac0=!0x1,_0x2c0315,_0x514e33,_0x2cf621=-0x1,_0x54fe52=-0x1,_0x33cccc=-0x1,_0x2c2590=0x0;for(;_0x2c2590<_0x308ab8['length'];_0x2c2590++)if(_0x54fe52=_0x308ab8[_0x4a0a30(0x24a)](_0x2c2590),_0x2c0315===void 0x0){if(_0x33cccc===-0x1&&_0x3aebaa[_0x54fe52]===0x1)_0x2cf621===-0x1&&(_0x2cf621=_0x2c2590);else{if(_0x2c2590!==0x0&&(_0x54fe52===0x20||_0x54fe52===0x9))_0x33cccc===-0x1&&_0x2cf621!==-0x1&&(_0x33cccc=_0x2c2590);else{if(_0x54fe52===0x3b||_0x54fe52===0x2c){if(_0x2cf621===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2c2590);_0x33cccc===-0x1&&(_0x33cccc=_0x2c2590);const _0x3e7537=_0x308ab8[_0x4a0a30(0x1ee)](_0x2cf621,_0x33cccc);_0x54fe52===0x2c?(_0x18ff3c(_0x3639eb,_0x3e7537,_0x5b8072),_0x5b8072=Object[_0x4a0a30(0x265)](null)):_0x2c0315=_0x3e7537,_0x2cf621=_0x33cccc=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2c2590);}}}else{if(_0x514e33===void 0x0){if(_0x33cccc===-0x1&&_0x3aebaa[_0x54fe52]===0x1)_0x2cf621===-0x1&&(_0x2cf621=_0x2c2590);else{if(_0x54fe52===0x20||_0x54fe52===0x9)_0x33cccc===-0x1&&_0x2cf621!==-0x1&&(_0x33cccc=_0x2c2590);else{if(_0x54fe52===0x3b||_0x54fe52===0x2c){if(_0x2cf621===-0x1)throw new SyntaxError(_0x4a0a30(0x219)+_0x2c2590);_0x33cccc===-0x1&&(_0x33cccc=_0x2c2590),_0x18ff3c(_0x5b8072,_0x308ab8['slice'](_0x2cf621,_0x33cccc),!0x0),_0x54fe52===0x2c&&(_0x18ff3c(_0x3639eb,_0x2c0315,_0x5b8072),_0x5b8072=Object['create'](null),_0x2c0315=void 0x0),_0x2cf621=_0x33cccc=-0x1;}else{if(_0x54fe52===0x3d&&_0x2cf621!==-0x1&&_0x33cccc===-0x1)_0x514e33=_0x308ab8[_0x4a0a30(0x1ee)](_0x2cf621,_0x2c2590),_0x2cf621=_0x33cccc=-0x1;else throw new SyntaxError(_0x4a0a30(0x219)+_0x2c2590);}}}}else{if(_0x1b1c1b){if(_0x3aebaa[_0x54fe52]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2c2590);_0x2cf621===-0x1?_0x2cf621=_0x2c2590:_0x3002a9||(_0x3002a9=!0x0),_0x1b1c1b=!0x1;}else{if(_0x53eac0){if(_0x3aebaa[_0x54fe52]===0x1)_0x2cf621===-0x1&&(_0x2cf621=_0x2c2590);else{if(_0x54fe52===0x22&&_0x2cf621!==-0x1)_0x53eac0=!0x1,_0x33cccc=_0x2c2590;else{if(_0x54fe52===0x5c)_0x1b1c1b=!0x0;else throw new SyntaxError(_0x4a0a30(0x219)+_0x2c2590);}}}else{if(_0x54fe52===0x22&&_0x308ab8[_0x4a0a30(0x24a)](_0x2c2590-0x1)===0x3d)_0x53eac0=!0x0;else{if(_0x33cccc===-0x1&&_0x3aebaa[_0x54fe52]===0x1)_0x2cf621===-0x1&&(_0x2cf621=_0x2c2590);else{if(_0x2cf621!==-0x1&&(_0x54fe52===0x20||_0x54fe52===0x9))_0x33cccc===-0x1&&(_0x33cccc=_0x2c2590);else{if(_0x54fe52===0x3b||_0x54fe52===0x2c){if(_0x2cf621===-0x1)throw new SyntaxError(_0x4a0a30(0x219)+_0x2c2590);_0x33cccc===-0x1&&(_0x33cccc=_0x2c2590);let _0x46242c=_0x308ab8[_0x4a0a30(0x1ee)](_0x2cf621,_0x33cccc);_0x3002a9&&(_0x46242c=_0x46242c[_0x4a0a30(0x26b)](/\\/g,''),_0x3002a9=!0x1),_0x18ff3c(_0x5b8072,_0x514e33,_0x46242c),_0x54fe52===0x2c&&(_0x18ff3c(_0x3639eb,_0x2c0315,_0x5b8072),_0x5b8072=Object[_0x4a0a30(0x265)](null),_0x2c0315=void 0x0),_0x514e33=void 0x0,_0x2cf621=_0x33cccc=-0x1;}else throw new SyntaxError(_0x4a0a30(0x219)+_0x2c2590);}}}}}}}if(_0x2cf621===-0x1||_0x53eac0||_0x54fe52===0x20||_0x54fe52===0x9)throw new SyntaxError(_0x4a0a30(0x1f1));_0x33cccc===-0x1&&(_0x33cccc=_0x2c2590);const _0x3ba7cb=_0x308ab8['slice'](_0x2cf621,_0x33cccc);return _0x2c0315===void 0x0?_0x18ff3c(_0x3639eb,_0x3ba7cb,_0x5b8072):(_0x514e33===void 0x0?_0x18ff3c(_0x5b8072,_0x3ba7cb,!0x0):_0x3002a9?_0x18ff3c(_0x5b8072,_0x514e33,_0x3ba7cb[_0x4a0a30(0x26b)](/\\/g,'')):_0x18ff3c(_0x5b8072,_0x514e33,_0x3ba7cb),_0x18ff3c(_0x3639eb,_0x2c0315,_0x5b8072)),_0x3639eb;}function _0x16eb77(_0x584209){const _0x105a55=_0x195d;return Object[_0x105a55(0x20c)](_0x584209)[_0x105a55(0x193)](_0x240c7c=>{const _0x6a4539=_0x105a55;let _0x4ef4a5=_0x584209[_0x240c7c];return Array[_0x6a4539(0x29d)](_0x4ef4a5)||(_0x4ef4a5=[_0x4ef4a5]),_0x4ef4a5[_0x6a4539(0x193)](_0x401670=>[_0x240c7c]['concat'](Object[_0x6a4539(0x20c)](_0x401670)[_0x6a4539(0x193)](_0x5e8b4d=>{const _0x2ba3f7=_0x6a4539;let _0x4da0c0=_0x401670[_0x5e8b4d];return Array['isArray'](_0x4da0c0)||(_0x4da0c0=[_0x4da0c0]),_0x4da0c0[_0x2ba3f7(0x193)](_0x1a7139=>_0x1a7139===!0x0?_0x5e8b4d:_0x5e8b4d+'='+_0x1a7139)[_0x2ba3f7(0x1a6)](';\x20');}))[_0x6a4539(0x1a6)](';\x20'))['join'](',\x20');})['join'](',\x20');}return be={'format':_0x16eb77,'parse':_0x266f05},be;}var we,st;function Ie(){const _0x498d7a=_0x2fb0ea;if(st)return we;st=0x1;const _0x84162d=_0x5b61b9,_0x40d8a6=_0x599092,_0xf9b8cd=_0x5177dc,_0x19ab82=_0x964936,_0x2856fc=_0x187b0d,{randomBytes:_0x30a0b7,createHash:_0x3941f2}=_0x5f1ecc,{Duplex:_0x38d47e,Readable:_0x3e4596}=_0x51faaf,{URL:_0x9239de}=_0x403b71,_0x510a25=he(),_0x4b363b=dt(),_0x1a896e=_t(),{isBlob:_0x3dc98f}=ne(),{BINARY_TYPES:_0x3878ab,EMPTY_BUFFER:_0x265e78,GUID:_0x4fb7e9,kForOnEventAttribute:_0xac7d8a,kListener:_0x4a8f5c,kStatusCode:_0x358f68,kWebSocket:_0x55a45c,NOOP:_0x266916}=V(),{EventTarget:{addEventListener:_0x20b9f2,removeEventListener:_0x535252}}=Kt(),{format:_0x4aba63,parse:_0x3e2afc}=pt(),{toBuffer:_0x260cee}=ce(),_0x5c74de=0x1e*0x3e8,_0x35bb80=Symbol(_0x498d7a(0x281)),_0x56caa2=[0x8,0xd],_0x16385f=[_0x498d7a(0x1b6),_0x498d7a(0x192),_0x498d7a(0x18d),'CLOSED'],_0x3461ac=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x21b2c5 extends _0x84162d{constructor(_0xace0f2,_0xf47e72,_0x51d733){const _0x3c78d8=_0x498d7a;super(),this[_0x3c78d8(0x134)]=_0x3878ab[0x0],this[_0x3c78d8(0x2b9)]=0x3ee,this[_0x3c78d8(0x282)]=!0x1,this['_closeFrameSent']=!0x1,this['_closeMessage']=_0x265e78,this[_0x3c78d8(0x1a0)]=null,this[_0x3c78d8(0x129)]=!0x1,this['_extensions']={},this[_0x3c78d8(0x240)]=!0x1,this[_0x3c78d8(0x23d)]='',this[_0x3c78d8(0x1e1)]=_0x21b2c5['CONNECTING'],this[_0x3c78d8(0x1c2)]=null,this['_sender']=null,this['_socket']=null,_0xace0f2!==null?(this[_0x3c78d8(0x1df)]=0x0,this['_isServer']=!0x1,this[_0x3c78d8(0x25e)]=0x0,_0xf47e72===void 0x0?_0xf47e72=[]:Array[_0x3c78d8(0x29d)](_0xf47e72)||(typeof _0xf47e72=='object'&&_0xf47e72!==null?(_0x51d733=_0xf47e72,_0xf47e72=[]):_0xf47e72=[_0xf47e72]),_0x4eb1b0(this,_0xace0f2,_0xf47e72,_0x51d733)):(this['_autoPong']=_0x51d733[_0x3c78d8(0x1b5)],this[_0x3c78d8(0x14a)]=!0x0);}get[_0x498d7a(0x291)](){return this['_binaryType'];}set[_0x498d7a(0x291)](_0x5edc91){const _0x174951=_0x498d7a;_0x3878ab[_0x174951(0x11c)](_0x5edc91)&&(this[_0x174951(0x134)]=_0x5edc91,this[_0x174951(0x1c2)]&&(this[_0x174951(0x1c2)][_0x174951(0x134)]=_0x5edc91));}get[_0x498d7a(0x149)](){const _0x108dca=_0x498d7a;return this['_socket']?this[_0x108dca(0x22d)][_0x108dca(0x25c)][_0x108dca(0x284)]+this[_0x108dca(0x12b)][_0x108dca(0x1d3)]:this[_0x108dca(0x1df)];}get[_0x498d7a(0x26c)](){const _0x682089=_0x498d7a;return Object[_0x682089(0x20c)](this[_0x682089(0x1a5)])['join']();}get[_0x498d7a(0x2b0)](){const _0x2917fc=_0x498d7a;return this[_0x2917fc(0x240)];}get[_0x498d7a(0x1b2)](){return null;}get[_0x498d7a(0x21e)](){return null;}get[_0x498d7a(0x286)](){return null;}get['onmessage'](){return null;}get['protocol'](){return this['_protocol'];}get[_0x498d7a(0x1dc)](){const _0x301265=_0x498d7a;return this[_0x301265(0x1e1)];}get[_0x498d7a(0x243)](){return this['_url'];}['setSocket'](_0x1f12f8,_0x2ce821,_0x1901c3){const _0x23bdd1=_0x498d7a,_0x25d77e=new _0x4b363b({'allowSynchronousEvents':_0x1901c3[_0x23bdd1(0x1de)],'binaryType':this[_0x23bdd1(0x291)],'extensions':this[_0x23bdd1(0x1a5)],'isServer':this[_0x23bdd1(0x14a)],'maxPayload':_0x1901c3[_0x23bdd1(0x211)],'skipUTF8Validation':_0x1901c3[_0x23bdd1(0x1ac)]}),_0x1aa0db=new _0x1a896e(_0x1f12f8,this[_0x23bdd1(0x1a5)],_0x1901c3[_0x23bdd1(0x142)]);this[_0x23bdd1(0x1c2)]=_0x25d77e,this[_0x23bdd1(0x12b)]=_0x1aa0db,this[_0x23bdd1(0x22d)]=_0x1f12f8,_0x25d77e[_0x55a45c]=this,_0x1aa0db[_0x55a45c]=this,_0x1f12f8[_0x55a45c]=this,_0x25d77e['on'](_0x23bdd1(0x1b3),_0x55dd36),_0x25d77e['on'](_0x23bdd1(0x156),_0x3fe3bf),_0x25d77e['on'](_0x23bdd1(0x130),_0x346554),_0x25d77e['on'](_0x23bdd1(0x139),_0x35bde4),_0x25d77e['on']('ping',_0x204c17),_0x25d77e['on'](_0x23bdd1(0x200),_0x28041b),_0x1aa0db[_0x23bdd1(0x21e)]=_0x52647c,_0x1f12f8['setTimeout']&&_0x1f12f8[_0x23bdd1(0x1aa)](0x0),_0x1f12f8[_0x23bdd1(0x1fd)]&&_0x1f12f8['setNoDelay'](),_0x2ce821[_0x23bdd1(0x284)]>0x0&&_0x1f12f8[_0x23bdd1(0x267)](_0x2ce821),_0x1f12f8['on'](_0x23bdd1(0x272),_0x41237a),_0x1f12f8['on'](_0x23bdd1(0x223),_0x4d208b),_0x1f12f8['on'](_0x23bdd1(0x132),_0x2bd82a),_0x1f12f8['on'](_0x23bdd1(0x130),_0xe09448),this[_0x23bdd1(0x1e1)]=_0x21b2c5[_0x23bdd1(0x192)],this[_0x23bdd1(0x1cb)]('open');}[_0x498d7a(0x186)](){const _0x1cf4e7=_0x498d7a;if(!this[_0x1cf4e7(0x22d)]){this[_0x1cf4e7(0x1e1)]=_0x21b2c5[_0x1cf4e7(0x133)],this[_0x1cf4e7(0x1cb)](_0x1cf4e7(0x272),this[_0x1cf4e7(0x2b9)],this[_0x1cf4e7(0x19e)]);return;}this[_0x1cf4e7(0x1a5)][_0x510a25[_0x1cf4e7(0x11e)]]&&this[_0x1cf4e7(0x1a5)][_0x510a25['extensionName']][_0x1cf4e7(0x287)](),this['_receiver']['removeAllListeners'](),this[_0x1cf4e7(0x1e1)]=_0x21b2c5[_0x1cf4e7(0x133)],this[_0x1cf4e7(0x1cb)](_0x1cf4e7(0x272),this['_closeCode'],this['_closeMessage']);}[_0x498d7a(0x272)](_0x48028f,_0x22c747){const _0x152f58=_0x498d7a;if(this[_0x152f58(0x1dc)]!==_0x21b2c5[_0x152f58(0x133)]){if(this['readyState']===_0x21b2c5['CONNECTING']){_0x136b97(this,this['_req'],_0x152f58(0x1f0));return;}if(this[_0x152f58(0x1dc)]===_0x21b2c5[_0x152f58(0x18d)]){this[_0x152f58(0x1b9)]&&(this[_0x152f58(0x282)]||this[_0x152f58(0x1c2)][_0x152f58(0x25c)]['errorEmitted'])&&this[_0x152f58(0x22d)][_0x152f58(0x132)]();return;}this['_readyState']=_0x21b2c5[_0x152f58(0x18d)],this[_0x152f58(0x12b)]['close'](_0x48028f,_0x22c747,!this['_isServer'],_0x22f01a=>{const _0x476ee3=_0x152f58;_0x22f01a||(this[_0x476ee3(0x1b9)]=!0x0,(this[_0x476ee3(0x282)]||this[_0x476ee3(0x1c2)][_0x476ee3(0x25c)]['errorEmitted'])&&this[_0x476ee3(0x22d)][_0x476ee3(0x132)]());}),_0x1c9d93(this);}}[_0x498d7a(0x283)](){const _0xde2f4a=_0x498d7a;this['readyState']===_0x21b2c5[_0xde2f4a(0x1b6)]||this[_0xde2f4a(0x1dc)]===_0x21b2c5[_0xde2f4a(0x133)]||(this[_0xde2f4a(0x240)]=!0x0,this[_0xde2f4a(0x22d)][_0xde2f4a(0x283)]());}['ping'](_0x3181c3,_0x2ef1b0,_0x2f2aa2){const _0x560cfb=_0x498d7a;if(this['readyState']===_0x21b2c5[_0x560cfb(0x1b6)])throw new Error(_0x560cfb(0x212));if(typeof _0x3181c3==_0x560cfb(0x1b7)?(_0x2f2aa2=_0x3181c3,_0x3181c3=_0x2ef1b0=void 0x0):typeof _0x2ef1b0==_0x560cfb(0x1b7)&&(_0x2f2aa2=_0x2ef1b0,_0x2ef1b0=void 0x0),typeof _0x3181c3==_0x560cfb(0x29a)&&(_0x3181c3=_0x3181c3[_0x560cfb(0x1c9)]()),this['readyState']!==_0x21b2c5[_0x560cfb(0x192)]){_0x41ed22(this,_0x3181c3,_0x2f2aa2);return;}_0x2ef1b0===void 0x0&&(_0x2ef1b0=!this[_0x560cfb(0x14a)]),this[_0x560cfb(0x12b)][_0x560cfb(0x120)](_0x3181c3||_0x265e78,_0x2ef1b0,_0x2f2aa2);}[_0x498d7a(0x200)](_0x3146cf,_0x47b99b,_0xe82919){const _0x3c2efd=_0x498d7a;if(this['readyState']===_0x21b2c5[_0x3c2efd(0x1b6)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3146cf==_0x3c2efd(0x1b7)?(_0xe82919=_0x3146cf,_0x3146cf=_0x47b99b=void 0x0):typeof _0x47b99b==_0x3c2efd(0x1b7)&&(_0xe82919=_0x47b99b,_0x47b99b=void 0x0),typeof _0x3146cf==_0x3c2efd(0x29a)&&(_0x3146cf=_0x3146cf[_0x3c2efd(0x1c9)]()),this[_0x3c2efd(0x1dc)]!==_0x21b2c5['OPEN']){_0x41ed22(this,_0x3146cf,_0xe82919);return;}_0x47b99b===void 0x0&&(_0x47b99b=!this[_0x3c2efd(0x14a)]),this[_0x3c2efd(0x12b)][_0x3c2efd(0x200)](_0x3146cf||_0x265e78,_0x47b99b,_0xe82919);}['resume'](){const _0x471209=_0x498d7a;this['readyState']===_0x21b2c5[_0x471209(0x1b6)]||this['readyState']===_0x21b2c5['CLOSED']||(this[_0x471209(0x240)]=!0x1,this[_0x471209(0x1c2)][_0x471209(0x25c)][_0x471209(0x1ce)]||this[_0x471209(0x22d)][_0x471209(0x194)]());}[_0x498d7a(0x238)](_0x11c915,_0x55aab3,_0x158b7f){const _0x533abf=_0x498d7a;if(this[_0x533abf(0x1dc)]===_0x21b2c5[_0x533abf(0x1b6)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x55aab3==_0x533abf(0x1b7)&&(_0x158b7f=_0x55aab3,_0x55aab3={}),typeof _0x11c915==_0x533abf(0x29a)&&(_0x11c915=_0x11c915[_0x533abf(0x1c9)]()),this[_0x533abf(0x1dc)]!==_0x21b2c5[_0x533abf(0x192)]){_0x41ed22(this,_0x11c915,_0x158b7f);return;}const _0xa07920={'binary':typeof _0x11c915!='string','mask':!this[_0x533abf(0x14a)],'compress':!0x0,'fin':!0x0,..._0x55aab3};this[_0x533abf(0x1a5)][_0x510a25['extensionName']]||(_0xa07920['compress']=!0x1),this[_0x533abf(0x12b)][_0x533abf(0x238)](_0x11c915||_0x265e78,_0xa07920,_0x158b7f);}[_0x498d7a(0x175)](){const _0x220c99=_0x498d7a;if(this[_0x220c99(0x1dc)]!==_0x21b2c5['CLOSED']){if(this[_0x220c99(0x1dc)]===_0x21b2c5[_0x220c99(0x1b6)]){_0x136b97(this,this[_0x220c99(0x204)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x220c99(0x22d)]&&(this[_0x220c99(0x1e1)]=_0x21b2c5['CLOSING'],this[_0x220c99(0x22d)][_0x220c99(0x1b0)]());}}}Object[_0x498d7a(0x188)](_0x21b2c5,_0x498d7a(0x1b6),{'enumerable':!0x0,'value':_0x16385f['indexOf'](_0x498d7a(0x1b6))}),Object[_0x498d7a(0x188)](_0x21b2c5['prototype'],_0x498d7a(0x1b6),{'enumerable':!0x0,'value':_0x16385f[_0x498d7a(0x1ef)](_0x498d7a(0x1b6))}),Object['defineProperty'](_0x21b2c5,_0x498d7a(0x192),{'enumerable':!0x0,'value':_0x16385f['indexOf']('OPEN')}),Object[_0x498d7a(0x188)](_0x21b2c5[_0x498d7a(0x254)],_0x498d7a(0x192),{'enumerable':!0x0,'value':_0x16385f[_0x498d7a(0x1ef)](_0x498d7a(0x192))}),Object['defineProperty'](_0x21b2c5,'CLOSING',{'enumerable':!0x0,'value':_0x16385f[_0x498d7a(0x1ef)](_0x498d7a(0x18d))}),Object[_0x498d7a(0x188)](_0x21b2c5['prototype'],_0x498d7a(0x18d),{'enumerable':!0x0,'value':_0x16385f[_0x498d7a(0x1ef)](_0x498d7a(0x18d))}),Object[_0x498d7a(0x188)](_0x21b2c5,'CLOSED',{'enumerable':!0x0,'value':_0x16385f[_0x498d7a(0x1ef)](_0x498d7a(0x133))}),Object[_0x498d7a(0x188)](_0x21b2c5[_0x498d7a(0x254)],_0x498d7a(0x133),{'enumerable':!0x0,'value':_0x16385f[_0x498d7a(0x1ef)](_0x498d7a(0x133))}),[_0x498d7a(0x291),'bufferedAmount',_0x498d7a(0x26c),'isPaused',_0x498d7a(0x172),_0x498d7a(0x1dc),_0x498d7a(0x243)]['forEach'](_0x23ba97=>{const _0x509a9e=_0x498d7a;Object[_0x509a9e(0x188)](_0x21b2c5[_0x509a9e(0x254)],_0x23ba97,{'enumerable':!0x0});}),[_0x498d7a(0x2ad),'error',_0x498d7a(0x272),_0x498d7a(0x139)][_0x498d7a(0x13d)](_0xd8c526=>{const _0x110ad0=_0x498d7a;Object[_0x110ad0(0x188)](_0x21b2c5[_0x110ad0(0x254)],'on'+_0xd8c526,{'enumerable':!0x0,'get'(){for(const _0x25ec76 of this['listeners'](_0xd8c526))if(_0x25ec76[_0xac7d8a])return _0x25ec76[_0x4a8f5c];return null;},'set'(_0x49fd2b){const _0x2ee586=_0x110ad0;for(const _0xaac611 of this[_0x2ee586(0x1c0)](_0xd8c526))if(_0xaac611[_0xac7d8a]){this[_0x2ee586(0x14d)](_0xd8c526,_0xaac611);break;}typeof _0x49fd2b==_0x2ee586(0x1b7)&&this['addEventListener'](_0xd8c526,_0x49fd2b,{[_0xac7d8a]:!0x0});}});}),_0x21b2c5[_0x498d7a(0x254)][_0x498d7a(0x1fe)]=_0x20b9f2,_0x21b2c5[_0x498d7a(0x254)][_0x498d7a(0x227)]=_0x535252,we=_0x21b2c5;function _0x4eb1b0(_0x76273a,_0x230f7e,_0x522508,_0x37c318){const _0x57f449=_0x498d7a,_0x3bdb3e={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x56caa2[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x37c318,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x57f449(0x220),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x76273a['_autoPong']=_0x3bdb3e[_0x57f449(0x1b5)],!_0x56caa2[_0x57f449(0x11c)](_0x3bdb3e[_0x57f449(0x29b)]))throw new RangeError(_0x57f449(0x155)+_0x3bdb3e['protocolVersion']+_0x57f449(0x251)+_0x56caa2[_0x57f449(0x1a6)](',\x20')+')');let _0x1e40fe;if(_0x230f7e instanceof _0x9239de)_0x1e40fe=_0x230f7e;else try{_0x1e40fe=new _0x9239de(_0x230f7e);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x230f7e);}_0x1e40fe[_0x57f449(0x172)]===_0x57f449(0x242)?_0x1e40fe['protocol']='ws:':_0x1e40fe['protocol']==='https:'&&(_0x1e40fe['protocol']=_0x57f449(0x2aa)),_0x76273a[_0x57f449(0x18f)]=_0x1e40fe[_0x57f449(0x20e)];const _0x330c10=_0x1e40fe['protocol']===_0x57f449(0x2aa),_0x2543ed=_0x1e40fe[_0x57f449(0x172)]===_0x57f449(0x27b);let _0x52d77f;if(_0x1e40fe['protocol']!==_0x57f449(0x1ae)&&!_0x330c10&&!_0x2543ed?_0x52d77f=_0x57f449(0x239):_0x2543ed&&!_0x1e40fe[_0x57f449(0x28e)]?_0x52d77f=_0x57f449(0x25d):_0x1e40fe[_0x57f449(0x1ca)]&&(_0x52d77f=_0x57f449(0x1d7)),_0x52d77f){const _0x126cc3=new SyntaxError(_0x52d77f);if(_0x76273a[_0x57f449(0x25e)]===0x0)throw _0x126cc3;_0x3fede2(_0x76273a,_0x126cc3);return;}const _0xb4d8d3=_0x330c10?0x1bb:0x50,_0x283834=_0x30a0b7(0x10)['toString'](_0x57f449(0x135)),_0x2a3c2b=_0x330c10?_0x40d8a6['request']:_0xf9b8cd['request'],_0x4a470b=new Set();let _0x399cf7;if(_0x3bdb3e[_0x57f449(0x202)]=_0x3bdb3e[_0x57f449(0x202)]||(_0x330c10?_0x39908d:_0x3a2ffd),_0x3bdb3e[_0x57f449(0x158)]=_0x3bdb3e[_0x57f449(0x158)]||_0xb4d8d3,_0x3bdb3e[_0x57f449(0x173)]=_0x1e40fe[_0x57f449(0x173)]||_0xb4d8d3,_0x3bdb3e[_0x57f449(0x168)]=_0x1e40fe[_0x57f449(0x292)][_0x57f449(0x1eb)]('[')?_0x1e40fe[_0x57f449(0x292)]['slice'](0x1,-0x1):_0x1e40fe[_0x57f449(0x292)],_0x3bdb3e[_0x57f449(0x2b1)]={..._0x3bdb3e[_0x57f449(0x2b1)],'Sec-WebSocket-Version':_0x3bdb3e[_0x57f449(0x29b)],'Sec-WebSocket-Key':_0x283834,'Connection':'Upgrade','Upgrade':_0x57f449(0x2b2)},_0x3bdb3e[_0x57f449(0x145)]=_0x1e40fe[_0x57f449(0x28e)]+_0x1e40fe[_0x57f449(0x1be)],_0x3bdb3e['timeout']=_0x3bdb3e[_0x57f449(0x166)],_0x3bdb3e[_0x57f449(0x1f9)]&&(_0x399cf7=new _0x510a25(_0x3bdb3e[_0x57f449(0x1f9)]!==!0x0?_0x3bdb3e[_0x57f449(0x1f9)]:{},!0x1,_0x3bdb3e['maxPayload']),_0x3bdb3e[_0x57f449(0x2b1)][_0x57f449(0x1b1)]=_0x4aba63({[_0x510a25[_0x57f449(0x11e)]]:_0x399cf7['offer']()})),_0x522508[_0x57f449(0x284)]){for(const _0x363ea5 of _0x522508){if(typeof _0x363ea5!='string'||!_0x3461ac[_0x57f449(0x236)](_0x363ea5)||_0x4a470b[_0x57f449(0x12c)](_0x363ea5))throw new SyntaxError(_0x57f449(0x2bb));_0x4a470b[_0x57f449(0x290)](_0x363ea5);}_0x3bdb3e[_0x57f449(0x2b1)][_0x57f449(0x257)]=_0x522508[_0x57f449(0x1a6)](',');}if(_0x3bdb3e['origin']&&(_0x3bdb3e['protocolVersion']<0xd?_0x3bdb3e[_0x57f449(0x2b1)][_0x57f449(0x288)]=_0x3bdb3e[_0x57f449(0x221)]:_0x3bdb3e[_0x57f449(0x2b1)][_0x57f449(0x167)]=_0x3bdb3e[_0x57f449(0x221)]),(_0x1e40fe[_0x57f449(0x1bd)]||_0x1e40fe[_0x57f449(0x222)])&&(_0x3bdb3e[_0x57f449(0x15b)]=_0x1e40fe[_0x57f449(0x1bd)]+':'+_0x1e40fe[_0x57f449(0x222)]),_0x2543ed){const _0x3da022=_0x3bdb3e[_0x57f449(0x145)][_0x57f449(0x17d)](':');_0x3bdb3e['socketPath']=_0x3da022[0x0],_0x3bdb3e['path']=_0x3da022[0x1];}let _0x466fe5;if(_0x3bdb3e['followRedirects']){if(_0x76273a['_redirects']===0x0){_0x76273a[_0x57f449(0x205)]=_0x2543ed,_0x76273a['_originalSecure']=_0x330c10,_0x76273a[_0x57f449(0x154)]=_0x2543ed?_0x3bdb3e[_0x57f449(0x2c8)]:_0x1e40fe[_0x57f449(0x168)];const _0x3109a3=_0x37c318&&_0x37c318[_0x57f449(0x2b1)];if(_0x37c318={..._0x37c318,'headers':{}},_0x3109a3){for(const [_0x540a59,_0x36c84f]of Object['entries'](_0x3109a3))_0x37c318[_0x57f449(0x2b1)][_0x540a59['toLowerCase']()]=_0x36c84f;}}else{if(_0x76273a[_0x57f449(0x1f3)](_0x57f449(0x191))===0x0){const _0x220b58=_0x2543ed?_0x76273a[_0x57f449(0x205)]?_0x3bdb3e[_0x57f449(0x2c8)]===_0x76273a[_0x57f449(0x154)]:!0x1:_0x76273a[_0x57f449(0x205)]?!0x1:_0x1e40fe['host']===_0x76273a[_0x57f449(0x154)];(!_0x220b58||_0x76273a['_originalSecure']&&!_0x330c10)&&(delete _0x3bdb3e[_0x57f449(0x2b1)]['authorization'],delete _0x3bdb3e[_0x57f449(0x2b1)][_0x57f449(0x199)],_0x220b58||delete _0x3bdb3e[_0x57f449(0x2b1)][_0x57f449(0x168)],_0x3bdb3e[_0x57f449(0x15b)]=void 0x0);}}_0x3bdb3e[_0x57f449(0x15b)]&&!_0x37c318[_0x57f449(0x2b1)][_0x57f449(0x206)]&&(_0x37c318['headers'][_0x57f449(0x206)]=_0x57f449(0x264)+Buffer[_0x57f449(0x1a8)](_0x3bdb3e[_0x57f449(0x15b)])['toString'](_0x57f449(0x135))),_0x466fe5=_0x76273a['_req']=_0x2a3c2b(_0x3bdb3e),_0x76273a[_0x57f449(0x25e)]&&_0x76273a[_0x57f449(0x1cb)]('redirect',_0x76273a[_0x57f449(0x243)],_0x466fe5);}else _0x466fe5=_0x76273a[_0x57f449(0x204)]=_0x2a3c2b(_0x3bdb3e);_0x3bdb3e['timeout']&&_0x466fe5['on']('timeout',()=>{_0x136b97(_0x76273a,_0x466fe5,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x466fe5['on'](_0x57f449(0x130),_0xc5e47c=>{const _0x109d0f=_0x57f449;_0x466fe5===null||_0x466fe5[_0x35bb80]||(_0x466fe5=_0x76273a[_0x109d0f(0x204)]=null,_0x3fede2(_0x76273a,_0xc5e47c));}),_0x466fe5['on'](_0x57f449(0x1f5),_0x33551e=>{const _0x2e185a=_0x57f449,_0x591a04=_0x33551e[_0x2e185a(0x2b1)]['location'],_0x2f9404=_0x33551e[_0x2e185a(0x253)];if(_0x591a04&&_0x3bdb3e['followRedirects']&&_0x2f9404>=0x12c&&_0x2f9404<0x190){if(++_0x76273a[_0x2e185a(0x25e)]>_0x3bdb3e[_0x2e185a(0x270)]){_0x136b97(_0x76273a,_0x466fe5,_0x2e185a(0x252));return;}_0x466fe5[_0x2e185a(0x2c4)]();let _0x5f3cda;try{_0x5f3cda=new _0x9239de(_0x591a04,_0x230f7e);}catch{const _0x45ac46=new SyntaxError('Invalid\x20URL:\x20'+_0x591a04);_0x3fede2(_0x76273a,_0x45ac46);return;}_0x4eb1b0(_0x76273a,_0x5f3cda,_0x522508,_0x37c318);}else _0x76273a[_0x2e185a(0x1cb)](_0x2e185a(0x124),_0x466fe5,_0x33551e)||_0x136b97(_0x76273a,_0x466fe5,'Unexpected\x20server\x20response:\x20'+_0x33551e[_0x2e185a(0x253)]);}),_0x466fe5['on'](_0x57f449(0x24e),(_0x8304be,_0x2b9f64,_0x43c27f)=>{const _0x2a9149=_0x57f449;if(_0x76273a['emit'](_0x2a9149(0x24e),_0x8304be),_0x76273a[_0x2a9149(0x1dc)]!==_0x21b2c5[_0x2a9149(0x1b6)])return;_0x466fe5=_0x76273a[_0x2a9149(0x204)]=null;const _0x217345=_0x8304be[_0x2a9149(0x2b1)][_0x2a9149(0x24e)];if(_0x217345===void 0x0||_0x217345['toLowerCase']()!==_0x2a9149(0x2b2)){_0x136b97(_0x76273a,_0x2b9f64,_0x2a9149(0x274));return;}const _0x1b2f07=_0x3941f2(_0x2a9149(0x15d))[_0x2a9149(0x1bf)](_0x283834+_0x4fb7e9)[_0x2a9149(0x289)]('base64');if(_0x8304be[_0x2a9149(0x2b1)][_0x2a9149(0x2b3)]!==_0x1b2f07){_0x136b97(_0x76273a,_0x2b9f64,_0x2a9149(0x294));return;}const _0x3986e4=_0x8304be[_0x2a9149(0x2b1)][_0x2a9149(0x27e)];let _0x40b230;if(_0x3986e4!==void 0x0?_0x4a470b['size']?_0x4a470b['has'](_0x3986e4)||(_0x40b230=_0x2a9149(0x224)):_0x40b230=_0x2a9149(0x177):_0x4a470b[_0x2a9149(0x2a2)]&&(_0x40b230='Server\x20sent\x20no\x20subprotocol'),_0x40b230){_0x136b97(_0x76273a,_0x2b9f64,_0x40b230);return;}_0x3986e4&&(_0x76273a[_0x2a9149(0x23d)]=_0x3986e4);const _0x2b9ed9=_0x8304be[_0x2a9149(0x2b1)]['sec-websocket-extensions'];if(_0x2b9ed9!==void 0x0){if(!_0x399cf7){_0x136b97(_0x76273a,_0x2b9f64,_0x2a9149(0x1c1));return;}let _0x26711d;try{_0x26711d=_0x3e2afc(_0x2b9ed9);}catch{_0x136b97(_0x76273a,_0x2b9f64,_0x2a9149(0x250));return;}const _0x8d7317=Object['keys'](_0x26711d);if(_0x8d7317[_0x2a9149(0x284)]!==0x1||_0x8d7317[0x0]!==_0x510a25[_0x2a9149(0x11e)]){_0x136b97(_0x76273a,_0x2b9f64,_0x2a9149(0x271));return;}try{_0x399cf7[_0x2a9149(0x26a)](_0x26711d[_0x510a25['extensionName']]);}catch{_0x136b97(_0x76273a,_0x2b9f64,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x76273a[_0x2a9149(0x1a5)][_0x510a25[_0x2a9149(0x11e)]]=_0x399cf7;}_0x76273a['setSocket'](_0x2b9f64,_0x43c27f,{'allowSynchronousEvents':_0x3bdb3e[_0x2a9149(0x1de)],'generateMask':_0x3bdb3e[_0x2a9149(0x142)],'maxPayload':_0x3bdb3e['maxPayload'],'skipUTF8Validation':_0x3bdb3e['skipUTF8Validation']});}),_0x3bdb3e[_0x57f449(0x299)]?_0x3bdb3e['finishRequest'](_0x466fe5,_0x76273a):_0x466fe5[_0x57f449(0x132)]();}function _0x3fede2(_0x28b136,_0x4b89a2){const _0x4a6b91=_0x498d7a;_0x28b136['_readyState']=_0x21b2c5[_0x4a6b91(0x18d)],_0x28b136[_0x4a6b91(0x129)]=!0x0,_0x28b136[_0x4a6b91(0x1cb)](_0x4a6b91(0x130),_0x4b89a2),_0x28b136[_0x4a6b91(0x186)]();}function _0x3a2ffd(_0x459386){const _0x7e6369=_0x498d7a;return _0x459386[_0x7e6369(0x145)]=_0x459386[_0x7e6369(0x2c8)],_0x19ab82[_0x7e6369(0x11b)](_0x459386);}function _0x39908d(_0x30583e){const _0x18f7bc=_0x498d7a;return _0x30583e[_0x18f7bc(0x145)]=void 0x0,!_0x30583e[_0x18f7bc(0x1d2)]&&_0x30583e[_0x18f7bc(0x1d2)]!==''&&(_0x30583e[_0x18f7bc(0x1d2)]=_0x19ab82['isIP'](_0x30583e[_0x18f7bc(0x168)])?'':_0x30583e['host']),_0x2856fc['connect'](_0x30583e);}function _0x136b97(_0x142c09,_0x28279c,_0x7108ce){const _0x480fcb=_0x498d7a;_0x142c09[_0x480fcb(0x1e1)]=_0x21b2c5[_0x480fcb(0x18d)];const _0x22c58b=new Error(_0x7108ce);Error[_0x480fcb(0x128)](_0x22c58b,_0x136b97),_0x28279c[_0x480fcb(0x246)]?(_0x28279c[_0x35bb80]=!0x0,_0x28279c[_0x480fcb(0x2c4)](),_0x28279c[_0x480fcb(0x179)]&&!_0x28279c[_0x480fcb(0x179)]['destroyed']&&_0x28279c[_0x480fcb(0x179)]['destroy'](),process['nextTick'](_0x3fede2,_0x142c09,_0x22c58b)):(_0x28279c['destroy'](_0x22c58b),_0x28279c[_0x480fcb(0x197)](_0x480fcb(0x130),_0x142c09[_0x480fcb(0x1cb)][_0x480fcb(0x213)](_0x142c09,_0x480fcb(0x130))),_0x28279c[_0x480fcb(0x197)]('close',_0x142c09['emitClose'][_0x480fcb(0x213)](_0x142c09)));}function _0x41ed22(_0x5e2085,_0x1e9279,_0x5a7552){const _0x49eaa4=_0x498d7a;if(_0x1e9279){const _0xa5d458=_0x3dc98f(_0x1e9279)?_0x1e9279[_0x49eaa4(0x2a2)]:_0x260cee(_0x1e9279)[_0x49eaa4(0x284)];_0x5e2085[_0x49eaa4(0x22d)]?_0x5e2085[_0x49eaa4(0x12b)][_0x49eaa4(0x1d3)]+=_0xa5d458:_0x5e2085[_0x49eaa4(0x1df)]+=_0xa5d458;}if(_0x5a7552){const _0x4793e2=new Error(_0x49eaa4(0x160)+_0x5e2085['readyState']+'\x20('+_0x16385f[_0x5e2085[_0x49eaa4(0x1dc)]]+')');process[_0x49eaa4(0x230)](_0x5a7552,_0x4793e2);}}function _0x55dd36(_0x1bc7af,_0x1f8e86){const _0x538dba=_0x498d7a,_0x4bcf6c=this[_0x55a45c];_0x4bcf6c[_0x538dba(0x282)]=!0x0,_0x4bcf6c['_closeMessage']=_0x1f8e86,_0x4bcf6c[_0x538dba(0x2b9)]=_0x1bc7af,_0x4bcf6c['_socket'][_0x55a45c]!==void 0x0&&(_0x4bcf6c[_0x538dba(0x22d)][_0x538dba(0x14d)](_0x538dba(0x223),_0x4d208b),process[_0x538dba(0x230)](_0x3abe93,_0x4bcf6c[_0x538dba(0x22d)]),_0x1bc7af===0x3ed?_0x4bcf6c[_0x538dba(0x272)]():_0x4bcf6c[_0x538dba(0x272)](_0x1bc7af,_0x1f8e86));}function _0x3fe3bf(){const _0x54e3b2=_0x498d7a,_0x4cff75=this[_0x55a45c];_0x4cff75[_0x54e3b2(0x2b0)]||_0x4cff75[_0x54e3b2(0x22d)][_0x54e3b2(0x194)]();}function _0x346554(_0x517df5){const _0x178dfe=_0x498d7a,_0x7213c6=this[_0x55a45c];_0x7213c6[_0x178dfe(0x22d)][_0x55a45c]!==void 0x0&&(_0x7213c6['_socket'][_0x178dfe(0x14d)](_0x178dfe(0x223),_0x4d208b),process[_0x178dfe(0x230)](_0x3abe93,_0x7213c6[_0x178dfe(0x22d)]),_0x7213c6[_0x178dfe(0x272)](_0x517df5[_0x358f68])),_0x7213c6[_0x178dfe(0x129)]||(_0x7213c6[_0x178dfe(0x129)]=!0x0,_0x7213c6['emit']('error',_0x517df5));}function _0x3de074(){const _0x130e2e=_0x498d7a;this[_0x55a45c][_0x130e2e(0x186)]();}function _0x35bde4(_0x48c598,_0x405ebf){const _0x586fd3=_0x498d7a;this[_0x55a45c][_0x586fd3(0x1cb)](_0x586fd3(0x139),_0x48c598,_0x405ebf);}function _0x204c17(_0x93d260){const _0x26bd1e=_0x498d7a,_0x4f8c3=this[_0x55a45c];_0x4f8c3[_0x26bd1e(0x131)]&&_0x4f8c3['pong'](_0x93d260,!this[_0x26bd1e(0x14a)],_0x266916),_0x4f8c3[_0x26bd1e(0x1cb)](_0x26bd1e(0x120),_0x93d260);}function _0x28041b(_0x1871c6){const _0x1ae7f5=_0x498d7a;this[_0x55a45c]['emit'](_0x1ae7f5(0x200),_0x1871c6);}function _0x3abe93(_0x2df708){const _0x2c9226=_0x498d7a;_0x2df708[_0x2c9226(0x194)]();}function _0x52647c(_0x55e2e2){const _0x4749d9=_0x498d7a,_0x3b5d53=this[_0x55a45c];_0x3b5d53[_0x4749d9(0x1dc)]!==_0x21b2c5[_0x4749d9(0x133)]&&(_0x3b5d53['readyState']===_0x21b2c5[_0x4749d9(0x192)]&&(_0x3b5d53['_readyState']=_0x21b2c5[_0x4749d9(0x18d)],_0x1c9d93(_0x3b5d53)),this[_0x4749d9(0x22d)][_0x4749d9(0x132)](),_0x3b5d53['_errorEmitted']||(_0x3b5d53['_errorEmitted']=!0x0,_0x3b5d53['emit'](_0x4749d9(0x130),_0x55e2e2)));}function _0x1c9d93(_0x341210){const _0xb1f3d4=_0x498d7a;_0x341210[_0xb1f3d4(0x1a0)]=setTimeout(_0x341210['_socket']['destroy'][_0xb1f3d4(0x213)](_0x341210['_socket']),_0x5c74de);}function _0x41237a(){const _0x312d12=_0x498d7a,_0x3fc8a0=this[_0x55a45c];this[_0x312d12(0x14d)]('close',_0x41237a),this[_0x312d12(0x14d)]('data',_0x4d208b),this[_0x312d12(0x14d)]('end',_0x2bd82a),_0x3fc8a0[_0x312d12(0x1e1)]=_0x21b2c5[_0x312d12(0x18d)];let _0x103abd;!this[_0x312d12(0x148)][_0x312d12(0x27f)]&&!_0x3fc8a0[_0x312d12(0x282)]&&!_0x3fc8a0[_0x312d12(0x1c2)][_0x312d12(0x25c)]['errorEmitted']&&(_0x103abd=_0x3fc8a0[_0x312d12(0x22d)][_0x312d12(0x1d6)]())!==null&&_0x3fc8a0[_0x312d12(0x1c2)][_0x312d12(0x231)](_0x103abd),_0x3fc8a0['_receiver']['end'](),this[_0x55a45c]=void 0x0,clearTimeout(_0x3fc8a0[_0x312d12(0x1a0)]),_0x3fc8a0[_0x312d12(0x1c2)][_0x312d12(0x25c)][_0x312d12(0x1dd)]||_0x3fc8a0[_0x312d12(0x1c2)][_0x312d12(0x25c)][_0x312d12(0x21a)]?_0x3fc8a0[_0x312d12(0x186)]():(_0x3fc8a0[_0x312d12(0x1c2)]['on']('error',_0x3de074),_0x3fc8a0[_0x312d12(0x1c2)]['on'](_0x312d12(0x13e),_0x3de074));}function _0x4d208b(_0x2bc88d){const _0x3b46a3=_0x498d7a;this[_0x55a45c][_0x3b46a3(0x1c2)]['write'](_0x2bc88d)||this['pause']();}function _0x2bd82a(){const _0x39a613=_0x498d7a,_0x3814c8=this[_0x55a45c];_0x3814c8['_readyState']=_0x21b2c5[_0x39a613(0x18d)],_0x3814c8[_0x39a613(0x1c2)][_0x39a613(0x132)](),this[_0x39a613(0x132)]();}function _0xe09448(){const _0x905104=_0x498d7a,_0x51537d=this[_0x55a45c];this[_0x905104(0x14d)](_0x905104(0x130),_0xe09448),this['on']('error',_0x266916),_0x51537d&&(_0x51537d[_0x905104(0x1e1)]=_0x21b2c5['CLOSING'],this[_0x905104(0x1b0)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x37f82f}=_0x51faaf;function _0x3d8803(_0x331589){const _0x164417=_0x195d;_0x331589[_0x164417(0x1cb)]('close');}function _0x5e55d9(){const _0x5982b0=_0x195d;!this['destroyed']&&this[_0x5982b0(0x25c)][_0x5982b0(0x1dd)]&&this[_0x5982b0(0x1b0)]();}function _0x159bb1(_0x4b79e4){const _0x1dd2cf=_0x195d;this['removeListener']('error',_0x159bb1),this[_0x1dd2cf(0x1b0)](),this[_0x1dd2cf(0x1f3)]('error')===0x0&&this['emit'](_0x1dd2cf(0x130),_0x4b79e4);}function _0x10722d(_0x6d44eb,_0x5ab9f3){const _0x81a3b6=_0x195d;let _0x192daf=!0x0;const _0x4a2a56=new _0x37f82f({..._0x5ab9f3,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x6d44eb['on'](_0x81a3b6(0x139),function(_0x433f84,_0x38e783){const _0xfb6e7c=_0x81a3b6,_0x34f117=!_0x38e783&&_0x4a2a56[_0xfb6e7c(0x148)][_0xfb6e7c(0x258)]?_0x433f84[_0xfb6e7c(0x1c9)]():_0x433f84;_0x4a2a56[_0xfb6e7c(0x1cf)](_0x34f117)||_0x6d44eb[_0xfb6e7c(0x283)]();}),_0x6d44eb[_0x81a3b6(0x197)]('error',function(_0x405677){_0x4a2a56['destroyed']||(_0x192daf=!0x1,_0x4a2a56['destroy'](_0x405677));}),_0x6d44eb[_0x81a3b6(0x197)]('close',function(){const _0x265896=_0x81a3b6;_0x4a2a56[_0x265896(0x24f)]||_0x4a2a56[_0x265896(0x1cf)](null);}),_0x4a2a56[_0x81a3b6(0x1e4)]=function(_0x4a4a59,_0x4fbb9d){const _0x235281=_0x81a3b6;if(_0x6d44eb[_0x235281(0x1dc)]===_0x6d44eb['CLOSED']){_0x4fbb9d(_0x4a4a59),process[_0x235281(0x230)](_0x3d8803,_0x4a2a56);return;}let _0x4d3fbb=!0x1;_0x6d44eb[_0x235281(0x197)]('error',function(_0x4a8b3a){_0x4d3fbb=!0x0,_0x4fbb9d(_0x4a8b3a);}),_0x6d44eb['once']('close',function(){_0x4d3fbb||_0x4fbb9d(_0x4a4a59),process['nextTick'](_0x3d8803,_0x4a2a56);}),_0x192daf&&_0x6d44eb[_0x235281(0x175)]();},_0x4a2a56['_final']=function(_0x5f55e4){const _0x33fa64=_0x81a3b6;if(_0x6d44eb[_0x33fa64(0x1dc)]===_0x6d44eb['CONNECTING']){_0x6d44eb[_0x33fa64(0x197)](_0x33fa64(0x2ad),function(){_0x4a2a56['_final'](_0x5f55e4);});return;}_0x6d44eb[_0x33fa64(0x22d)]!==null&&(_0x6d44eb['_socket']['_writableState'][_0x33fa64(0x1dd)]?(_0x5f55e4(),_0x4a2a56[_0x33fa64(0x148)][_0x33fa64(0x27f)]&&_0x4a2a56[_0x33fa64(0x1b0)]()):(_0x6d44eb[_0x33fa64(0x22d)][_0x33fa64(0x197)]('finish',function(){_0x5f55e4();}),_0x6d44eb[_0x33fa64(0x272)]()));},_0x4a2a56['_read']=function(){const _0xa3703f=_0x81a3b6;_0x6d44eb[_0xa3703f(0x2b0)]&&_0x6d44eb['resume']();},_0x4a2a56[_0x81a3b6(0x141)]=function(_0x50eda3,_0x19fd17,_0x3485c0){const _0x22457e=_0x81a3b6;if(_0x6d44eb[_0x22457e(0x1dc)]===_0x6d44eb['CONNECTING']){_0x6d44eb[_0x22457e(0x197)](_0x22457e(0x2ad),function(){const _0x240d84=_0x22457e;_0x4a2a56[_0x240d84(0x141)](_0x50eda3,_0x19fd17,_0x3485c0);});return;}_0x6d44eb['send'](_0x50eda3,_0x3485c0);},_0x4a2a56['on']('end',_0x5e55d9),_0x4a2a56['on'](_0x81a3b6(0x130),_0x159bb1),_0x4a2a56;}return Oe=_0x10722d,Oe;}Xt(),dt(),_t();function _0x195d(_0x2904a4,_0x59323c){const _0x32e6a0=_0x32e6();return _0x195d=function(_0x195d54,_0x4d547d){_0x195d54=_0x195d54-0x119;let _0x3f35ec=_0x32e6a0[_0x195d54];return _0x3f35ec;},_0x195d(_0x2904a4,_0x59323c);}var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x413d04}=ne();function _0x36a443(_0x458ef1){const _0x527f0e=_0x195d,_0x54bd18=new Set();let _0x20dd9f=-0x1,_0x243349=-0x1,_0xdb458a=0x0;for(_0xdb458a;_0xdb458a<_0x458ef1['length'];_0xdb458a++){const _0x5015ca=_0x458ef1[_0x527f0e(0x24a)](_0xdb458a);if(_0x243349===-0x1&&_0x413d04[_0x5015ca]===0x1)_0x20dd9f===-0x1&&(_0x20dd9f=_0xdb458a);else{if(_0xdb458a!==0x0&&(_0x5015ca===0x20||_0x5015ca===0x9))_0x243349===-0x1&&_0x20dd9f!==-0x1&&(_0x243349=_0xdb458a);else{if(_0x5015ca===0x2c){if(_0x20dd9f===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xdb458a);_0x243349===-0x1&&(_0x243349=_0xdb458a);const _0x46f121=_0x458ef1['slice'](_0x20dd9f,_0x243349);if(_0x54bd18[_0x527f0e(0x12c)](_0x46f121))throw new SyntaxError(_0x527f0e(0x1d4)+_0x46f121+_0x527f0e(0x28b));_0x54bd18['add'](_0x46f121),_0x20dd9f=_0x243349=-0x1;}else throw new SyntaxError(_0x527f0e(0x219)+_0xdb458a);}}}if(_0x20dd9f===-0x1||_0x243349!==-0x1)throw new SyntaxError(_0x527f0e(0x1f1));const _0x9e17c3=_0x458ef1['slice'](_0x20dd9f,_0xdb458a);if(_0x54bd18[_0x527f0e(0x12c)](_0x9e17c3))throw new SyntaxError(_0x527f0e(0x1d4)+_0x9e17c3+'\x22\x20subprotocol\x20is\x20duplicated');return _0x54bd18[_0x527f0e(0x290)](_0x9e17c3),_0x54bd18;}return Ce={'parse':_0x36a443},Ce;}var Te,ot;function er(){const _0x550cba=_0x2fb0ea;if(ot)return Te;ot=0x1;const _0x301c4d=_0x5b61b9,_0x348701=_0x5177dc,{Duplex:_0x38e064}=_0x51faaf,{createHash:_0x24af70}=_0x5f1ecc,_0x582d62=pt(),_0x41a1ed=he(),_0x3dcd85=Jt(),_0x2e6d2d=Ie(),{GUID:_0x2bcd17,kWebSocket:_0x440f50}=V(),_0xb08b2d=/^[+/0-9A-Za-z]{22}==$/,_0x977791=0x0,_0x31e8f0=0x1,_0x29aa92=0x2;class _0x4c5612 extends _0x301c4d{constructor(_0x4f5dd8,_0x4def36){const _0x2f63ef=_0x195d;if(super(),_0x4f5dd8={'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':_0x2e6d2d,..._0x4f5dd8},_0x4f5dd8['port']==null&&!_0x4f5dd8[_0x2f63ef(0x147)]&&!_0x4f5dd8[_0x2f63ef(0x121)]||_0x4f5dd8[_0x2f63ef(0x173)]!=null&&(_0x4f5dd8[_0x2f63ef(0x147)]||_0x4f5dd8[_0x2f63ef(0x121)])||_0x4f5dd8[_0x2f63ef(0x147)]&&_0x4f5dd8[_0x2f63ef(0x121)])throw new TypeError(_0x2f63ef(0x245));if(_0x4f5dd8[_0x2f63ef(0x173)]!=null?(this[_0x2f63ef(0x159)]=_0x348701[_0x2f63ef(0x150)]((_0x596e1b,_0x1c2e29)=>{const _0x59b92d=_0x2f63ef,_0x30f35f=_0x348701['STATUS_CODES'][0x1aa];_0x1c2e29['writeHead'](0x1aa,{'Content-Length':_0x30f35f['length'],'Content-Type':'text/plain'}),_0x1c2e29[_0x59b92d(0x132)](_0x30f35f);}),this['_server'][_0x2f63ef(0x208)](_0x4f5dd8[_0x2f63ef(0x173)],_0x4f5dd8['host'],_0x4f5dd8[_0x2f63ef(0x298)],_0x4def36)):_0x4f5dd8[_0x2f63ef(0x147)]&&(this[_0x2f63ef(0x159)]=_0x4f5dd8[_0x2f63ef(0x147)]),this[_0x2f63ef(0x159)]){const _0x330efc=this[_0x2f63ef(0x1cb)][_0x2f63ef(0x213)](this,_0x2f63ef(0x180));this[_0x2f63ef(0x1f8)]=_0x1b0b41(this[_0x2f63ef(0x159)],{'listening':this[_0x2f63ef(0x1cb)][_0x2f63ef(0x213)](this,'listening'),'error':this['emit'][_0x2f63ef(0x213)](this,_0x2f63ef(0x130)),'upgrade':(_0x41ef01,_0x4d50be,_0x4f5afb)=>{this['handleUpgrade'](_0x41ef01,_0x4d50be,_0x4f5afb,_0x330efc);}});}_0x4f5dd8[_0x2f63ef(0x1f9)]===!0x0&&(_0x4f5dd8[_0x2f63ef(0x1f9)]={}),_0x4f5dd8[_0x2f63ef(0x126)]&&(this['clients']=new Set(),this[_0x2f63ef(0x162)]=!0x1),this[_0x2f63ef(0x187)]=_0x4f5dd8,this[_0x2f63ef(0x2af)]=_0x977791;}['address'](){const _0x1af107=_0x195d;if(this['options'][_0x1af107(0x121)])throw new Error(_0x1af107(0x232));return this['_server']?this['_server']['address']():null;}[_0x550cba(0x272)](_0x5ee60f){const _0x438bcd=_0x550cba;if(this[_0x438bcd(0x2af)]===_0x29aa92){_0x5ee60f&&this['once'](_0x438bcd(0x272),()=>{const _0x4c78b3=_0x438bcd;_0x5ee60f(new Error(_0x4c78b3(0x234)));}),process[_0x438bcd(0x230)](_0x2ac703,this);return;}if(_0x5ee60f&&this['once'](_0x438bcd(0x272),_0x5ee60f),this[_0x438bcd(0x2af)]!==_0x31e8f0){if(this['_state']=_0x31e8f0,this[_0x438bcd(0x187)][_0x438bcd(0x121)]||this[_0x438bcd(0x187)][_0x438bcd(0x147)])this['_server']&&(this['_removeListeners'](),this['_removeListeners']=this[_0x438bcd(0x159)]=null),this[_0x438bcd(0x2c5)]?this['clients']['size']?this['_shouldEmitClose']=!0x0:process[_0x438bcd(0x230)](_0x2ac703,this):process['nextTick'](_0x2ac703,this);else{const _0x1413d0=this[_0x438bcd(0x159)];this[_0x438bcd(0x1f8)](),this[_0x438bcd(0x1f8)]=this['_server']=null,_0x1413d0[_0x438bcd(0x272)](()=>{_0x2ac703(this);});}}}[_0x550cba(0x207)](_0x2e7bf9){const _0x5ab662=_0x550cba;if(this['options']['path']){const _0x2c644e=_0x2e7bf9[_0x5ab662(0x243)]['indexOf']('?');if((_0x2c644e!==-0x1?_0x2e7bf9[_0x5ab662(0x243)]['slice'](0x0,_0x2c644e):_0x2e7bf9[_0x5ab662(0x243)])!==this['options'][_0x5ab662(0x145)])return!0x1;}return!0x0;}[_0x550cba(0x182)](_0xfac775,_0x201deb,_0x16a5f3,_0x42b0ac){const _0x51a153=_0x550cba;_0x201deb['on'](_0x51a153(0x130),_0xb88580);const _0x44b7c2=_0xfac775[_0x51a153(0x2b1)][_0x51a153(0x24c)],_0x2602d2=_0xfac775[_0x51a153(0x2b1)][_0x51a153(0x24e)],_0x1052e2=+_0xfac775[_0x51a153(0x2b1)][_0x51a153(0x17c)];if(_0xfac775[_0x51a153(0x296)]!==_0x51a153(0x220)){_0x307d31(this,_0xfac775,_0x201deb,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x2602d2===void 0x0||_0x2602d2['toLowerCase']()!==_0x51a153(0x2b2)){_0x307d31(this,_0xfac775,_0x201deb,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x44b7c2===void 0x0||!_0xb08b2d['test'](_0x44b7c2)){_0x307d31(this,_0xfac775,_0x201deb,0x190,_0x51a153(0x14e));return;}if(_0x1052e2!==0x8&&_0x1052e2!==0xd){_0x307d31(this,_0xfac775,_0x201deb,0x190,_0x51a153(0x2c9));return;}if(!this[_0x51a153(0x207)](_0xfac775)){_0x4ca965(_0x201deb,0x190);return;}const _0xb895b9=_0xfac775[_0x51a153(0x2b1)]['sec-websocket-protocol'];let _0x5c4396=new Set();if(_0xb895b9!==void 0x0)try{_0x5c4396=_0x3dcd85[_0x51a153(0x293)](_0xb895b9);}catch{_0x307d31(this,_0xfac775,_0x201deb,0x190,_0x51a153(0x161));return;}const _0x41cd9e=_0xfac775['headers']['sec-websocket-extensions'],_0x2adc91={};if(this['options'][_0x51a153(0x1f9)]&&_0x41cd9e!==void 0x0){const _0xcbaae3=new _0x41a1ed(this[_0x51a153(0x187)][_0x51a153(0x1f9)],!0x0,this[_0x51a153(0x187)]['maxPayload']);try{const _0x36b557=_0x582d62[_0x51a153(0x293)](_0x41cd9e);_0x36b557[_0x41a1ed['extensionName']]&&(_0xcbaae3[_0x51a153(0x26a)](_0x36b557[_0x41a1ed['extensionName']]),_0x2adc91[_0x41a1ed[_0x51a153(0x11e)]]=_0xcbaae3);}catch{_0x307d31(this,_0xfac775,_0x201deb,0x190,_0x51a153(0x185));return;}}if(this[_0x51a153(0x187)][_0x51a153(0x266)]){const _0x1c1ab6={'origin':_0xfac775[_0x51a153(0x2b1)][''+(_0x1052e2===0x8?_0x51a153(0x1c5):_0x51a153(0x221))],'secure':!!(_0xfac775[_0x51a153(0x179)][_0x51a153(0x19a)]||_0xfac775[_0x51a153(0x179)][_0x51a153(0x1ed)]),'req':_0xfac775};if(this[_0x51a153(0x187)][_0x51a153(0x266)]['length']===0x2){this[_0x51a153(0x187)][_0x51a153(0x266)](_0x1c1ab6,(_0x1d6e30,_0x34f8c5,_0x45013a,_0x3905b3)=>{const _0x174d50=_0x51a153;if(!_0x1d6e30)return _0x4ca965(_0x201deb,_0x34f8c5||0x191,_0x45013a,_0x3905b3);this[_0x174d50(0x16d)](_0x2adc91,_0x44b7c2,_0x5c4396,_0xfac775,_0x201deb,_0x16a5f3,_0x42b0ac);});return;}if(!this[_0x51a153(0x187)][_0x51a153(0x266)](_0x1c1ab6))return _0x4ca965(_0x201deb,0x191);}this[_0x51a153(0x16d)](_0x2adc91,_0x44b7c2,_0x5c4396,_0xfac775,_0x201deb,_0x16a5f3,_0x42b0ac);}[_0x550cba(0x16d)](_0x470381,_0x37b3d5,_0x2deafb,_0x330808,_0xce2409,_0x4796de,_0x2c0bad){const _0x3dde84=_0x550cba;if(!_0xce2409[_0x3dde84(0x22c)]||!_0xce2409[_0x3dde84(0x144)])return _0xce2409[_0x3dde84(0x1b0)]();if(_0xce2409[_0x440f50])throw new Error(_0x3dde84(0x1da));if(this[_0x3dde84(0x2af)]>_0x977791)return _0x4ca965(_0xce2409,0x1f7);const _0x2cf1f0=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x3dde84(0x295),_0x3dde84(0x20f),_0x3dde84(0x1a3)+_0x24af70(_0x3dde84(0x15d))['update'](_0x37b3d5+_0x2bcd17)[_0x3dde84(0x289)](_0x3dde84(0x135))],_0x410afb=new this[(_0x3dde84(0x187))]['WebSocket'](null,void 0x0,this['options']);if(_0x2deafb[_0x3dde84(0x2a2)]){const _0x8912ee=this[_0x3dde84(0x187)][_0x3dde84(0x22f)]?this['options'][_0x3dde84(0x22f)](_0x2deafb,_0x330808):_0x2deafb[_0x3dde84(0x1d8)]()[_0x3dde84(0x15f)]()['value'];_0x8912ee&&(_0x2cf1f0[_0x3dde84(0x1cf)](_0x3dde84(0x13c)+_0x8912ee),_0x410afb['_protocol']=_0x8912ee);}if(_0x470381[_0x41a1ed['extensionName']]){const _0x348f22=_0x470381[_0x41a1ed[_0x3dde84(0x11e)]][_0x3dde84(0x1a9)],_0x2b6dbc=_0x582d62[_0x3dde84(0x18b)]({[_0x41a1ed['extensionName']]:[_0x348f22]});_0x2cf1f0[_0x3dde84(0x1cf)](_0x3dde84(0x25f)+_0x2b6dbc),_0x410afb[_0x3dde84(0x1a5)]=_0x470381;}this[_0x3dde84(0x1cb)](_0x3dde84(0x2b1),_0x2cf1f0,_0x330808),_0xce2409[_0x3dde84(0x231)](_0x2cf1f0[_0x3dde84(0x255)]('\x0d\x0a')[_0x3dde84(0x1a6)]('\x0d\x0a')),_0xce2409[_0x3dde84(0x14d)](_0x3dde84(0x130),_0xb88580),_0x410afb[_0x3dde84(0x23c)](_0xce2409,_0x4796de,{'allowSynchronousEvents':this['options'][_0x3dde84(0x1de)],'maxPayload':this[_0x3dde84(0x187)]['maxPayload'],'skipUTF8Validation':this[_0x3dde84(0x187)][_0x3dde84(0x1ac)]}),this[_0x3dde84(0x2c5)]&&(this['clients'][_0x3dde84(0x290)](_0x410afb),_0x410afb['on'](_0x3dde84(0x272),()=>{const _0x5996a2=_0x3dde84;this[_0x5996a2(0x2c5)][_0x5996a2(0x2ca)](_0x410afb),this['_shouldEmitClose']&&!this[_0x5996a2(0x2c5)][_0x5996a2(0x2a2)]&&process[_0x5996a2(0x230)](_0x2ac703,this);})),_0x2c0bad(_0x410afb,_0x330808);}}Te=_0x4c5612;function _0x1b0b41(_0x16ba62,_0x3aa188){const _0x521711=_0x550cba;for(const _0x19dcd9 of Object[_0x521711(0x20c)](_0x3aa188))_0x16ba62['on'](_0x19dcd9,_0x3aa188[_0x19dcd9]);return function(){const _0x387758=_0x521711;for(const _0x198e08 of Object[_0x387758(0x20c)](_0x3aa188))_0x16ba62[_0x387758(0x14d)](_0x198e08,_0x3aa188[_0x198e08]);};}function _0x2ac703(_0x23db53){const _0x510aad=_0x550cba;_0x23db53['_state']=_0x29aa92,_0x23db53[_0x510aad(0x1cb)]('close');}function _0xb88580(){const _0x18526d=_0x550cba;this[_0x18526d(0x1b0)]();}function _0x4ca965(_0x4cd10b,_0x594992,_0x395a01,_0x4bd8e7){const _0x113e6d=_0x550cba;_0x395a01=_0x395a01||_0x348701[_0x113e6d(0x25b)][_0x594992],_0x4bd8e7={'Connection':_0x113e6d(0x272),'Content-Type':_0x113e6d(0x2ab),'Content-Length':Buffer[_0x113e6d(0x2a1)](_0x395a01),..._0x4bd8e7},_0x4cd10b['once'](_0x113e6d(0x13e),_0x4cd10b['destroy']),_0x4cd10b[_0x113e6d(0x132)](_0x113e6d(0x1ba)+_0x594992+'\x20'+_0x348701['STATUS_CODES'][_0x594992]+'\x0d\x0a'+Object[_0x113e6d(0x20c)](_0x4bd8e7)[_0x113e6d(0x193)](_0x8a8ed2=>_0x8a8ed2+':\x20'+_0x4bd8e7[_0x8a8ed2])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x395a01);}function _0x307d31(_0x31fa63,_0x430913,_0x637a84,_0x5a6e8,_0x10992f){const _0x22b720=_0x550cba;if(_0x31fa63[_0x22b720(0x1f3)](_0x22b720(0x137))){const _0x7a8c58=new Error(_0x10992f);Error[_0x22b720(0x128)](_0x7a8c58,_0x307d31),_0x31fa63[_0x22b720(0x1cb)](_0x22b720(0x137),_0x7a8c58,_0x637a84,_0x430913);}else _0x4ca965(_0x637a84,_0x5a6e8,_0x10992f);}return Te;}er();var tr=Object[_0x2fb0ea(0x22e)],rr=(_0x548831,_0x51ee67,_0xdb0c,_0x82bee4)=>{for(var _0x53266f=_0x82bee4>0x1?void 0x0:_0x82bee4?tr(_0x51ee67,_0xdb0c):_0x51ee67,_0x27dcbc=_0x548831['length']-0x1,_0x1340d5;_0x27dcbc>=0x0;_0x27dcbc--)(_0x1340d5=_0x548831[_0x27dcbc])&&(_0x53266f=_0x1340d5(_0x53266f)||_0x53266f);return _0x53266f;},sr=(_0x3d79f2,_0x40d742)=>(_0x4bdceb,_0x1afaf7)=>_0x40d742(_0x4bdceb,_0x1afaf7,_0x3d79f2);let Ne=class extends _0xd7a9{constructor(_0x139d3c){const _0x2b0c45=_0x2fb0ea;super(),this[_0x2b0c45(0x23b)]=_0x139d3c;}[_0x2fb0ea(0x2a4)](_0x8c580a){const _0x2c734a=_0x2fb0ea;var _0x53de06;const _0x361f90=(_0x53de06=this[_0x2c734a(0x23b)][_0x2c734a(0x2b5)](Be))==null?void 0x0:_0x53de06[_0x2c734a(0x1f4)];try{const _0x4327f4=new Qt(_0x8c580a,{'headers':{..._0x361f90}}),_0x34ca54=new _0x2062b0();return{'URL':_0x8c580a,'close':(_0xbb3136,_0xeb8023)=>{const _0x4368dc=_0x2c734a;_0x4327f4[_0x4368dc(0x272)](_0xbb3136,_0xeb8023),_0x34ca54[_0x4368dc(0x217)]();},'send':_0x34f24b=>{const _0x1d351a=_0x2c734a;_0x4327f4[_0x1d351a(0x238)](_0x34f24b);},'open$':new _0x38d7ef(_0x2da9fe=>{const _0x289f08=_0x2c734a,_0x13833a=_0x117482=>_0x2da9fe[_0x289f08(0x15f)](_0x117482);_0x4327f4[_0x289f08(0x1fe)]('open',_0x13833a),_0x34ca54[_0x289f08(0x290)](_0x53efd0(()=>_0x4327f4['removeEventListener'](_0x289f08(0x2ad),_0x13833a)));})[_0x2c734a(0x1e2)](_0x54b46d()),'close$':new _0x38d7ef(_0x1083ed=>{const _0x1cf1b9=_0x2c734a,_0xe3f411=_0x8caaa5=>_0x1083ed[_0x1cf1b9(0x15f)](_0x8caaa5);_0x4327f4[_0x1cf1b9(0x1fe)](_0x1cf1b9(0x272),_0xe3f411),_0x34ca54[_0x1cf1b9(0x290)](_0x53efd0(()=>_0x4327f4['removeEventListener'](_0x1cf1b9(0x272),_0xe3f411)));})[_0x2c734a(0x1e2)](_0x54b46d()),'error$':new _0x38d7ef(_0x33138c=>{const _0x4b5d30=_0x2c734a,_0x2d4310=_0x5ee379=>_0x33138c[_0x4b5d30(0x15f)](_0x5ee379);_0x4327f4[_0x4b5d30(0x1fe)](_0x4b5d30(0x130),_0x2d4310),_0x34ca54['add'](_0x53efd0(()=>_0x4327f4['removeEventListener'](_0x4b5d30(0x130),_0x2d4310)));})[_0x2c734a(0x1e2)](_0x54b46d()),'message$':new _0x38d7ef(_0x208f21=>{const _0x3a3e0b=_0x2c734a,_0x931ed8=_0x207a34=>_0x208f21['next'](_0x207a34);_0x4327f4['addEventListener'](_0x3a3e0b(0x139),_0x931ed8),_0x34ca54[_0x3a3e0b(0x290)](_0x53efd0(()=>_0x4327f4[_0x3a3e0b(0x227)]('message',_0x931ed8)));})[_0x2c734a(0x1e2)](_0x54b46d())};}catch(_0x2418f2){return console[_0x2c734a(0x130)](_0x2418f2),null;}}};Ne=rr([sr(0x0,_0x59a3b7)],Ne);var ir=Object[_0x2fb0ea(0x188)],nr=Object[_0x2fb0ea(0x22e)],or=(_0x54008d,_0x3a84a9,_0x27e0ca)=>_0x3a84a9 in _0x54008d?ir(_0x54008d,_0x3a84a9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x27e0ca}):_0x54008d[_0x3a84a9]=_0x27e0ca,ar=(_0x1b1c63,_0x324e0b,_0xc7bbce,_0x46bdd0)=>{const _0x33c36f=_0x2fb0ea;for(var _0x566dd0=_0x46bdd0>0x1?void 0x0:_0x46bdd0?nr(_0x324e0b,_0xc7bbce):_0x324e0b,_0x133fff=_0x1b1c63[_0x33c36f(0x284)]-0x1,_0x13c69e;_0x133fff>=0x0;_0x133fff--)(_0x13c69e=_0x1b1c63[_0x133fff])&&(_0x566dd0=_0x13c69e(_0x566dd0)||_0x566dd0);return _0x566dd0;},ke=(_0x22fe7a,_0x7e1390)=>(_0x5b9687,_0x4c05b0)=>_0x7e1390(_0x5b9687,_0x4c05b0,_0x22fe7a),lr=(_0x578b6c,_0x1360e6,_0x552003)=>or(_0x578b6c,_0x1360e6+'',_0x552003);let Pe=class extends _0x4a947d{constructor(_0x31074c=Ft,_0x15c415,_0x1296e6,_0x307539){const _0x47bd7e=_0x2fb0ea;_0x31074c['customHeaders']||_0x15c415[_0x47bd7e(0x2c3)](_0x47bd7e(0x119)),super(),this[_0x47bd7e(0x23b)]=_0x1296e6,this[_0x47bd7e(0x22b)]=_0x307539,this['_configService'][_0x47bd7e(0x140)](Be,_0x31074c);}[_0x2fb0ea(0x201)](){const _0x11ddd4=_0x2fb0ea;this[_0x11ddd4(0x1a2)]();}[_0x2fb0ea(0x1a2)](){const _0x3acae2=_0x2fb0ea;_0x133464(this[_0x3acae2(0x22b)],[[_0x444c8e,{'useClass':Ne}]]);}};lr(Pe,_0x2fb0ea(0x260),_0x2fb0ea(0x17b)),Pe=ar([_0x25bf57(_0x5e8cb7),ke(0x1,_0x45317b),ke(0x2,_0x59a3b7),ke(0x3,_0x2cfe8f(_0x997068))],Pe);var fr=Object[_0x2fb0ea(0x22e)],cr=(_0x13b7d6,_0xc3c629,_0x4dee70,_0x54dbbc)=>{const _0x3c2965=_0x2fb0ea;for(var _0x39bdb7=_0x54dbbc>0x1?void 0x0:_0x54dbbc?fr(_0xc3c629,_0x4dee70):_0xc3c629,_0x8df711=_0x13b7d6[_0x3c2965(0x284)]-0x1,_0x545010;_0x8df711>=0x0;_0x8df711--)(_0x545010=_0x13b7d6[_0x8df711])&&(_0x39bdb7=_0x545010(_0x39bdb7)||_0x39bdb7);return _0x39bdb7;},se=(_0x5b708c,_0xfad564)=>(_0x3c812d,_0x4a24ec)=>_0xfad564(_0x3c812d,_0x4a24ec,_0x5b708c);let at=class extends _0x32cfa7{constructor(_0x3bf946,_0x345029,_0x2a487d,_0x5df57c,_0x181d62){const _0x3208d8=_0x2fb0ea;super(_0x3bf946,_0x345029,_0x2a487d,_0x5df57c,_0x181d62);const _0x4c1368=this[_0x3208d8(0x23b)][_0x3208d8(0x2b5)](Be);this['_httpService'][_0x3208d8(0x1f6)]({'interceptor':(_0x4a0a95,_0x9ff525)=>{const _0x3cd887=_0x3208d8;var _0x25412c;const _0xc3b233=_0x4a0a95[_0x3cd887(0x2b1)];return(_0x25412c=_0x4c1368==null?void 0x0:_0x4c1368[_0x3cd887(0x1f4)])!=null&&_0x25412c[_0x3cd887(0x199)]&&_0xc3b233['set']('Cookie',_0x4c1368[_0x3cd887(0x1f4)][_0x3cd887(0x199)]),_0x9ff525(_0x4a0a95);}});}async['createSocket'](_0x299aa5){const _0x21d530=_0x2fb0ea;return this[_0x21d530(0x2a7)](_0x299aa5);}};at=cr([se(0x0,_0x2cfe8f(_0x997068)),se(0x1,_0x2cfe8f(_0x25b52f)),se(0x2,_0x59a3b7),se(0x3,_0x45317b),se(0x4,_0x686d35)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};