@univerjs-pro/collaboration-client-node 0.8.2-nightly.202506221606 → 0.8.2-nightly.202506241607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x142a78=_0x22e7;(function(_0x4f554e,_0x550168){const _0x523d08=_0x22e7,_0x3f945a=_0x4f554e();while(!![]){try{const _0x825389=parseInt(_0x523d08(0x249))/0x1+parseInt(_0x523d08(0x141))/0x2*(-parseInt(_0x523d08(0x1d4))/0x3)+parseInt(_0x523d08(0xc4))/0x4+-parseInt(_0x523d08(0x1c1))/0x5*(parseInt(_0x523d08(0x19c))/0x6)+parseInt(_0x523d08(0x23f))/0x7*(-parseInt(_0x523d08(0xdc))/0x8)+-parseInt(_0x523d08(0xff))/0x9+parseInt(_0x523d08(0x16a))/0xa;if(_0x825389===_0x550168)break;else _0x3f945a['push'](_0x3f945a['shift']());}catch(_0x2bb581){_0x3f945a['push'](_0x3f945a['shift']());}}}(_0x2c3e,0x727c4));import{UniverCollaborationClientPlugin as _0x194563,CollaborationSocketService as _0x7c7160}from'@univerjs-pro/collaboration-client';import{Disposable as _0x57e76e,DisposableCollection as _0x245e6b,toDisposable as _0x32342a,IConfigService as _0x580e3d,DependentOn as _0xcc7d7c,ILogService as _0x206aee,Inject as _0x5c2868,Injector as _0x42eaa1,Plugin as _0x3f2ec7,registerDependencies as _0xf507c1}from'@univerjs/core';import{ISocketService as _0xe0bdf5,HTTPService as _0x1e8940}from'@univerjs/network';import{Observable as _0x2fa323,share as _0x27440d}from'rxjs';import _0xa42f3d from'events';import _0x30a230 from'https';import _0x412828 from'http';import _0x14b0dc from'net';import _0x3474ae from'tls';import _0x79c0dc from'crypto';import _0x32aa0b from'stream';import _0x22cb54 from'url';import _0x3ee5dc from'zlib';import _0x1514a6 from'buffer';import{ISnapshotServerService as _0x1f08f9}from'@univerjs-pro/collaboration';const Be=_0x142a78(0x16c),Ft={'customHeaders':{}};function jt(_0x2efec5){const _0x574f98=_0x142a78;return _0x2efec5&&_0x2efec5[_0x574f98(0x11f)]&&Object['prototype'][_0x574f98(0x18c)][_0x574f98(0x18f)](_0x2efec5,_0x574f98(0x177))?_0x2efec5[_0x574f98(0x177)]:_0x2efec5;}function _0x22e7(_0x3d26c0,_0x376db5){const _0x2c3e2d=_0x2c3e();return _0x22e7=function(_0x22e72a,_0x288a94){_0x22e72a=_0x22e72a-0x95;let _0x1e8efe=_0x2c3e2d[_0x22e72a];return _0x1e8efe;},_0x22e7(_0x3d26c0,_0x376db5);}function ut(_0x25e011){const _0x51e84a=_0x142a78;if(Object['prototype'][_0x51e84a(0x18c)][_0x51e84a(0x18f)](_0x25e011,'__esModule'))return _0x25e011;var _0xaba164=_0x25e011['default'];if(typeof _0xaba164==_0x51e84a(0x1c2)){var _0x41007b=function _0x4d10a2(){const _0x2f6162=_0x51e84a;return this instanceof _0x4d10a2?Reflect['construct'](_0xaba164,arguments,this[_0x2f6162(0xdf)]):_0xaba164[_0x2f6162(0xcb)](this,arguments);};_0x41007b[_0x51e84a(0x184)]=_0xaba164['prototype'];}else _0x41007b={};return Object[_0x51e84a(0x209)](_0x41007b,'__esModule',{'value':!0x0}),Object[_0x51e84a(0x1c5)](_0x25e011)['forEach'](function(_0x503c57){const _0x2a74d3=_0x51e84a;var _0x2bb687=Object[_0x2a74d3(0xe7)](_0x25e011,_0x503c57);Object[_0x2a74d3(0x209)](_0x41007b,_0x503c57,_0x2bb687[_0x2a74d3(0x1b5)]?_0x2bb687:{'enumerable':!0x0,'get':function(){return _0x25e011[_0x503c57];}});}),_0x41007b;}var te={'exports':{}},ge,Ye;function V(){const _0x27e710=_0x142a78;if(Ye)return ge;Ye=0x1;const _0x3db9c3=[_0x27e710(0x215),_0x27e710(0x1f0),_0x27e710(0x147)],_0x5cccd1=typeof Blob<'u';return _0x5cccd1&&_0x3db9c3[_0x27e710(0x198)](_0x27e710(0x224)),ge={'BINARY_TYPES':_0x3db9c3,'EMPTY_BUFFER':Buffer[_0x27e710(0xfa)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x5cccd1,'kForOnEventAttribute':Symbol(_0x27e710(0xdd)),'kListener':Symbol(_0x27e710(0xa0)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x27e710(0x1d5)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x142a78(0x13e)](Object[_0x142a78(0x209)]({'__proto__':null,'default':Wt},Symbol[_0x142a78(0x13a)],{'value':_0x142a78(0x1fb)})),Vt=ut(Gt);var Ke;function ce(){const _0x1cd653=_0x142a78;if(Ke)return te[_0x1cd653(0x136)];Ke=0x1;const {EMPTY_BUFFER:_0x3a8ded}=V(),_0x5d2480=Buffer[Symbol[_0x1cd653(0x123)]];function _0x370da4(_0x4baddb,_0x34efe7){const _0x5580b2=_0x1cd653;if(_0x4baddb[_0x5580b2(0x12a)]===0x0)return _0x3a8ded;if(_0x4baddb['length']===0x1)return _0x4baddb[0x0];const _0x58116a=Buffer['allocUnsafe'](_0x34efe7);let _0x2cc8d5=0x0;for(let _0x25bcb4=0x0;_0x25bcb4<_0x4baddb[_0x5580b2(0x12a)];_0x25bcb4++){const _0x6608e5=_0x4baddb[_0x25bcb4];_0x58116a[_0x5580b2(0x158)](_0x6608e5,_0x2cc8d5),_0x2cc8d5+=_0x6608e5[_0x5580b2(0x12a)];}return _0x2cc8d5<_0x34efe7?new _0x5d2480(_0x58116a[_0x5580b2(0xf3)],_0x58116a[_0x5580b2(0x10e)],_0x2cc8d5):_0x58116a;}function _0x3ccbd0(_0x330026,_0x37a13f,_0x4a4410,_0x12914a,_0x20b66e){for(let _0x562d66=0x0;_0x562d66<_0x20b66e;_0x562d66++)_0x4a4410[_0x12914a+_0x562d66]=_0x330026[_0x562d66]^_0x37a13f[_0x562d66&0x3];}function _0x97f7cb(_0x1c6601,_0x34959f){const _0xd836ef=_0x1cd653;for(let _0x339c78=0x0;_0x339c78<_0x1c6601[_0xd836ef(0x12a)];_0x339c78++)_0x1c6601[_0x339c78]^=_0x34959f[_0x339c78&0x3];}function _0x49dc0f(_0x54201c){const _0x357185=_0x1cd653;return _0x54201c[_0x357185(0x12a)]===_0x54201c['buffer']['byteLength']?_0x54201c[_0x357185(0xf3)]:_0x54201c[_0x357185(0xf3)][_0x357185(0xa5)](_0x54201c[_0x357185(0x10e)],_0x54201c[_0x357185(0x10e)]+_0x54201c[_0x357185(0x12a)]);}function _0x27b984(_0x5407f5){const _0x401fd4=_0x1cd653;if(_0x27b984[_0x401fd4(0x1ab)]=!0x0,Buffer[_0x401fd4(0x1a5)](_0x5407f5))return _0x5407f5;let _0x1fcd74;return _0x5407f5 instanceof ArrayBuffer?_0x1fcd74=new _0x5d2480(_0x5407f5):ArrayBuffer[_0x401fd4(0x119)](_0x5407f5)?_0x1fcd74=new _0x5d2480(_0x5407f5[_0x401fd4(0xf3)],_0x5407f5[_0x401fd4(0x10e)],_0x5407f5['byteLength']):(_0x1fcd74=Buffer[_0x401fd4(0x20e)](_0x5407f5),_0x27b984[_0x401fd4(0x1ab)]=!0x1),_0x1fcd74;}if(te[_0x1cd653(0x136)]={'concat':_0x370da4,'mask':_0x3ccbd0,'toArrayBuffer':_0x49dc0f,'toBuffer':_0x27b984,'unmask':_0x97f7cb},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x26e04f=Vt;te[_0x1cd653(0x136)][_0x1cd653(0x1f1)]=function(_0x56b19f,_0xf47ad0,_0x3dcfb4,_0xf40f25,_0x5f51bc){const _0x263937=_0x1cd653;_0x5f51bc<0x30?_0x3ccbd0(_0x56b19f,_0xf47ad0,_0x3dcfb4,_0xf40f25,_0x5f51bc):_0x26e04f[_0x263937(0x1f1)](_0x56b19f,_0xf47ad0,_0x3dcfb4,_0xf40f25,_0x5f51bc);},te[_0x1cd653(0x136)][_0x1cd653(0x22e)]=function(_0x24c0df,_0x562317){const _0x32f788=_0x1cd653;_0x24c0df[_0x32f788(0x12a)]<0x20?_0x97f7cb(_0x24c0df,_0x562317):_0x26e04f['unmask'](_0x24c0df,_0x562317);};}catch{}return te[_0x1cd653(0x136)];}var ye,Xe;function qt(){const _0x1e0566=_0x142a78;if(Xe)return ye;Xe=0x1;const _0x191575=Symbol(_0x1e0566(0x109)),_0x292ed3=Symbol(_0x1e0566(0x239));class _0xfdb223{constructor(_0x1500bd){const _0x58322f=_0x1e0566;this[_0x191575]=()=>{const _0x37e73d=_0x22e7;this[_0x37e73d(0x9c)]--,this[_0x292ed3]();},this['concurrency']=_0x1500bd||0x1/0x0,this[_0x58322f(0xe9)]=[],this[_0x58322f(0x9c)]=0x0;}[_0x1e0566(0x1d8)](_0x4ebb73){const _0x57a03e=_0x1e0566;this[_0x57a03e(0xe9)][_0x57a03e(0x198)](_0x4ebb73),this[_0x292ed3]();}[_0x292ed3](){const _0x25c58d=_0x1e0566;if(this[_0x25c58d(0x9c)]!==this[_0x25c58d(0x11b)]&&this[_0x25c58d(0xe9)][_0x25c58d(0x12a)]){const _0x4ba441=this['jobs'][_0x25c58d(0xbd)]();this[_0x25c58d(0x9c)]++,_0x4ba441(this[_0x191575]);}}}return ye=_0xfdb223,ye;}var ve,Ze;function he(){const _0x2d4eb4=_0x142a78;if(Ze)return ve;Ze=0x1;const _0x32723b=_0x3ee5dc,_0x23ccd4=ce(),_0x5bd681=qt(),{kStatusCode:_0xf32b3c}=V(),_0x5020ea=Buffer[Symbol[_0x2d4eb4(0x123)]],_0x1ec2cf=Buffer[_0x2d4eb4(0x20e)]([0x0,0x0,0xff,0xff]),_0x4301c6=Symbol(_0x2d4eb4(0x21c)),_0x10ae0e=Symbol(_0x2d4eb4(0x163)),_0xe04ed=Symbol('callback'),_0xa91449=Symbol(_0x2d4eb4(0x23c)),_0x17e558=Symbol(_0x2d4eb4(0x12f));let _0x314f4f;class _0x90b985{constructor(_0x1cb9a1,_0x365afe,_0x10cd40){const _0x4cf10a=_0x2d4eb4;if(this['_maxPayload']=_0x10cd40|0x0,this[_0x4cf10a(0x14e)]=_0x1cb9a1||{},this['_threshold']=this['_options'][_0x4cf10a(0x1b6)]!==void 0x0?this[_0x4cf10a(0x14e)][_0x4cf10a(0x1b6)]:0x400,this[_0x4cf10a(0x1f9)]=!!_0x365afe,this['_deflate']=null,this[_0x4cf10a(0xfd)]=null,this[_0x4cf10a(0x146)]=null,!_0x314f4f){const _0x3e4cb6=this['_options'][_0x4cf10a(0xc8)]!==void 0x0?this[_0x4cf10a(0x14e)][_0x4cf10a(0xc8)]:0xa;_0x314f4f=new _0x5bd681(_0x3e4cb6);}}static get[_0x2d4eb4(0x115)](){const _0x497465=_0x2d4eb4;return _0x497465(0x21c);}[_0x2d4eb4(0x1a0)](){const _0xecb7a9=_0x2d4eb4,_0x43ded6={};return this[_0xecb7a9(0x14e)][_0xecb7a9(0x157)]&&(_0x43ded6[_0xecb7a9(0x125)]=!0x0),this[_0xecb7a9(0x14e)][_0xecb7a9(0x218)]&&(_0x43ded6[_0xecb7a9(0x118)]=!0x0),this['_options'][_0xecb7a9(0x230)]&&(_0x43ded6['server_max_window_bits']=this['_options'][_0xecb7a9(0x230)]),this[_0xecb7a9(0x14e)]['clientMaxWindowBits']?_0x43ded6[_0xecb7a9(0x96)]=this['_options']['clientMaxWindowBits']:this[_0xecb7a9(0x14e)][_0xecb7a9(0x160)]==null&&(_0x43ded6['client_max_window_bits']=!0x0),_0x43ded6;}[_0x2d4eb4(0xf7)](_0x596932){const _0x5d213e=_0x2d4eb4;return _0x596932=this[_0x5d213e(0x22b)](_0x596932),this['params']=this['_isServer']?this['acceptAsServer'](_0x596932):this[_0x5d213e(0x101)](_0x596932),this[_0x5d213e(0x146)];}[_0x2d4eb4(0x229)](){const _0x4e2618=_0x2d4eb4;if(this[_0x4e2618(0xfd)]&&(this[_0x4e2618(0xfd)][_0x4e2618(0x238)](),this[_0x4e2618(0xfd)]=null),this[_0x4e2618(0x1de)]){const _0x45a52e=this[_0x4e2618(0x1de)][_0xe04ed];this['_deflate']['close'](),this['_deflate']=null,_0x45a52e&&_0x45a52e(new Error(_0x4e2618(0x225)));}}[_0x2d4eb4(0x1fa)](_0x19bd0e){const _0x2a9320=_0x2d4eb4,_0x2f4842=this[_0x2a9320(0x14e)],_0x122c25=_0x19bd0e[_0x2a9320(0x173)](_0x1d9e89=>!(_0x2f4842[_0x2a9320(0x157)]===!0x1&&_0x1d9e89['server_no_context_takeover']||_0x1d9e89['server_max_window_bits']&&(_0x2f4842[_0x2a9320(0x230)]===!0x1||typeof _0x2f4842[_0x2a9320(0x230)]==_0x2a9320(0xd7)&&_0x2f4842['serverMaxWindowBits']>_0x1d9e89[_0x2a9320(0x1c6)])||typeof _0x2f4842[_0x2a9320(0x160)]==_0x2a9320(0xd7)&&!_0x1d9e89[_0x2a9320(0x96)]));if(!_0x122c25)throw new Error(_0x2a9320(0x219));return _0x2f4842[_0x2a9320(0x157)]&&(_0x122c25[_0x2a9320(0x125)]=!0x0),_0x2f4842[_0x2a9320(0x218)]&&(_0x122c25[_0x2a9320(0x118)]=!0x0),typeof _0x2f4842[_0x2a9320(0x230)]==_0x2a9320(0xd7)&&(_0x122c25[_0x2a9320(0x1c6)]=_0x2f4842[_0x2a9320(0x230)]),typeof _0x2f4842[_0x2a9320(0x160)]=='number'?_0x122c25['client_max_window_bits']=_0x2f4842[_0x2a9320(0x160)]:(_0x122c25['client_max_window_bits']===!0x0||_0x2f4842[_0x2a9320(0x160)]===!0x1)&&delete _0x122c25[_0x2a9320(0x96)],_0x122c25;}[_0x2d4eb4(0x101)](_0x7ee217){const _0x1cbbec=_0x2d4eb4,_0x5286e7=_0x7ee217[0x0];if(this[_0x1cbbec(0x14e)][_0x1cbbec(0x218)]===!0x1&&_0x5286e7['client_no_context_takeover'])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x5286e7[_0x1cbbec(0x96)])typeof this[_0x1cbbec(0x14e)][_0x1cbbec(0x160)]==_0x1cbbec(0xd7)&&(_0x5286e7[_0x1cbbec(0x96)]=this['_options'][_0x1cbbec(0x160)]);else{if(this['_options'][_0x1cbbec(0x160)]===!0x1||typeof this['_options'][_0x1cbbec(0x160)]=='number'&&_0x5286e7[_0x1cbbec(0x96)]>this['_options'][_0x1cbbec(0x160)])throw new Error(_0x1cbbec(0x14f));}return _0x5286e7;}['normalizeParams'](_0x234074){const _0x31e545=_0x2d4eb4;return _0x234074[_0x31e545(0xc6)](_0x12047a=>{const _0x57b0a5=_0x31e545;Object[_0x57b0a5(0x1c5)](_0x12047a)['forEach'](_0x5a48ff=>{const _0x496a03=_0x57b0a5;let _0xafd971=_0x12047a[_0x5a48ff];if(_0xafd971['length']>0x1)throw new Error(_0x496a03(0x132)+_0x5a48ff+_0x496a03(0xd6));if(_0xafd971=_0xafd971[0x0],_0x5a48ff===_0x496a03(0x96)){if(_0xafd971!==!0x0){const _0x13ea71=+_0xafd971;if(!Number['isInteger'](_0x13ea71)||_0x13ea71<0x8||_0x13ea71>0xf)throw new TypeError(_0x496a03(0x1e3)+_0x5a48ff+'\x22:\x20'+_0xafd971);_0xafd971=_0x13ea71;}else{if(!this['_isServer'])throw new TypeError(_0x496a03(0x1e3)+_0x5a48ff+_0x496a03(0x24d)+_0xafd971);}}else{if(_0x5a48ff==='server_max_window_bits'){const _0x2848c2=+_0xafd971;if(!Number[_0x496a03(0x252)](_0x2848c2)||_0x2848c2<0x8||_0x2848c2>0xf)throw new TypeError(_0x496a03(0x1e3)+_0x5a48ff+_0x496a03(0x24d)+_0xafd971);_0xafd971=_0x2848c2;}else{if(_0x5a48ff===_0x496a03(0x118)||_0x5a48ff===_0x496a03(0x125)){if(_0xafd971!==!0x0)throw new TypeError(_0x496a03(0x1e3)+_0x5a48ff+_0x496a03(0x24d)+_0xafd971);}else throw new Error(_0x496a03(0x10d)+_0x5a48ff+'\x22');}}_0x12047a[_0x5a48ff]=_0xafd971;});}),_0x234074;}['decompress'](_0x32bd02,_0x1e2a4d,_0x2cb2b9){const _0x48e0f4=_0x2d4eb4;_0x314f4f[_0x48e0f4(0x1d8)](_0x28d185=>{const _0x59cfe4=_0x48e0f4;this[_0x59cfe4(0x114)](_0x32bd02,_0x1e2a4d,(_0x540c29,_0x4b6b70)=>{_0x28d185(),_0x2cb2b9(_0x540c29,_0x4b6b70);});});}[_0x2d4eb4(0xc7)](_0x399ac1,_0x3c7557,_0x53f731){const _0x49c136=_0x2d4eb4;_0x314f4f[_0x49c136(0x1d8)](_0x1e40ba=>{this['_compress'](_0x399ac1,_0x3c7557,(_0xd15bb1,_0x10af0c)=>{_0x1e40ba(),_0x53f731(_0xd15bb1,_0x10af0c);});});}[_0x2d4eb4(0x114)](_0xd95933,_0x42531e,_0x2e346b){const _0x59a546=_0x2d4eb4,_0x5ceae8=this['_isServer']?_0x59a546(0x1f4):_0x59a546(0x20c);if(!this['_inflate']){const _0x28f299=_0x5ceae8+_0x59a546(0xe3),_0x217638=typeof this['params'][_0x28f299]!=_0x59a546(0xd7)?_0x32723b[_0x59a546(0x1fe)]:this[_0x59a546(0x146)][_0x28f299];this['_inflate']=_0x32723b[_0x59a546(0x19d)]({...this[_0x59a546(0x14e)][_0x59a546(0x235)],'windowBits':_0x217638}),this['_inflate'][_0x4301c6]=this,this[_0x59a546(0xfd)][_0x10ae0e]=0x0,this[_0x59a546(0xfd)][_0xa91449]=[],this['_inflate']['on'](_0x59a546(0x12f),_0x431fc6),this[_0x59a546(0xfd)]['on'](_0x59a546(0x126),_0x3353d5);}this[_0x59a546(0xfd)][_0xe04ed]=_0x2e346b,this[_0x59a546(0xfd)]['write'](_0xd95933),_0x42531e&&this[_0x59a546(0xfd)][_0x59a546(0x1aa)](_0x1ec2cf),this['_inflate']['flush'](()=>{const _0x202695=_0x59a546,_0x2a25be=this[_0x202695(0xfd)][_0x17e558];if(_0x2a25be){this['_inflate']['close'](),this[_0x202695(0xfd)]=null,_0x2e346b(_0x2a25be);return;}const _0x2bbbdd=_0x23ccd4['concat'](this[_0x202695(0xfd)][_0xa91449],this[_0x202695(0xfd)][_0x10ae0e]);this['_inflate'][_0x202695(0x231)][_0x202695(0x9e)]?(this['_inflate']['close'](),this[_0x202695(0xfd)]=null):(this['_inflate'][_0x10ae0e]=0x0,this[_0x202695(0xfd)][_0xa91449]=[],_0x42531e&&this[_0x202695(0x146)][_0x5ceae8+'_no_context_takeover']&&this[_0x202695(0xfd)]['reset']()),_0x2e346b(null,_0x2bbbdd);});}[_0x2d4eb4(0x187)](_0x2d916d,_0x183990,_0xaa4fe7){const _0x337546=_0x2d4eb4,_0x5b1099=this[_0x337546(0x1f9)]?'server':_0x337546(0x1f4);if(!this[_0x337546(0x1de)]){const _0x193785=_0x5b1099+_0x337546(0xe3),_0x1d13e8=typeof this[_0x337546(0x146)][_0x193785]!=_0x337546(0xd7)?_0x32723b[_0x337546(0x1fe)]:this[_0x337546(0x146)][_0x193785];this[_0x337546(0x1de)]=_0x32723b[_0x337546(0xe5)]({...this['_options'][_0x337546(0x1db)],'windowBits':_0x1d13e8}),this['_deflate'][_0x10ae0e]=0x0,this[_0x337546(0x1de)][_0xa91449]=[],this[_0x337546(0x1de)]['on'](_0x337546(0x126),_0x129f3f);}this['_deflate'][_0xe04ed]=_0xaa4fe7,this[_0x337546(0x1de)][_0x337546(0x1aa)](_0x2d916d),this[_0x337546(0x1de)][_0x337546(0x1e7)](_0x32723b[_0x337546(0xee)],()=>{const _0xe97e65=_0x337546;if(!this[_0xe97e65(0x1de)])return;let _0x272ff3=_0x23ccd4[_0xe97e65(0xef)](this[_0xe97e65(0x1de)][_0xa91449],this[_0xe97e65(0x1de)][_0x10ae0e]);_0x183990&&(_0x272ff3=new _0x5020ea(_0x272ff3[_0xe97e65(0xf3)],_0x272ff3[_0xe97e65(0x10e)],_0x272ff3[_0xe97e65(0x12a)]-0x4)),this[_0xe97e65(0x1de)][_0xe04ed]=null,this['_deflate'][_0x10ae0e]=0x0,this[_0xe97e65(0x1de)][_0xa91449]=[],_0x183990&&this[_0xe97e65(0x146)][_0x5b1099+_0xe97e65(0x1dc)]&&this['_deflate'][_0xe97e65(0xf2)](),_0xaa4fe7(null,_0x272ff3);});}}ve=_0x90b985;function _0x129f3f(_0x40e993){const _0xcddd79=_0x2d4eb4;this[_0xa91449][_0xcddd79(0x198)](_0x40e993),this[_0x10ae0e]+=_0x40e993['length'];}function _0x3353d5(_0x25be4e){const _0x57362c=_0x2d4eb4;if(this[_0x10ae0e]+=_0x25be4e[_0x57362c(0x12a)],this[_0x4301c6][_0x57362c(0x15b)]<0x1||this[_0x10ae0e]<=this[_0x4301c6]['_maxPayload']){this[_0xa91449][_0x57362c(0x198)](_0x25be4e);return;}this[_0x17e558]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x17e558]['code']='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x17e558][_0xf32b3c]=0x3f1,this[_0x57362c(0x241)](_0x57362c(0x126),_0x3353d5),this[_0x57362c(0xf2)]();}function _0x431fc6(_0x47168b){const _0x2c0b91=_0x2d4eb4;if(this[_0x4301c6][_0x2c0b91(0xfd)]=null,this[_0x17e558]){this[_0xe04ed](this[_0x17e558]);return;}_0x47168b[_0xf32b3c]=0x3ef,this[_0xe04ed](_0x47168b);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x142a78(0x13e)](Object[_0x142a78(0x209)]({'__proto__':null,'default':Ht},Symbol[_0x142a78(0x13a)],{'value':_0x142a78(0x1fb)})),Yt=ut(zt);var Qe;function ne(){const _0x445bac=_0x142a78;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x57a0be}=_0x1514a6,{hasBlob:_0x3c575d}=V(),_0x466fa4=[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 _0x7dbdf5(_0x3dfa3c){return _0x3dfa3c>=0x3e8&&_0x3dfa3c<=0x3f6&&_0x3dfa3c!==0x3ec&&_0x3dfa3c!==0x3ed&&_0x3dfa3c!==0x3ee||_0x3dfa3c>=0xbb8&&_0x3dfa3c<=0x1387;}function _0x50831b(_0x443b1a){const _0x31060a=_0x22e7,_0x593740=_0x443b1a[_0x31060a(0x12a)];let _0x28ad85=0x0;for(;_0x28ad85<_0x593740;)if((_0x443b1a[_0x28ad85]&0x80)===0x0)_0x28ad85++;else{if((_0x443b1a[_0x28ad85]&0xe0)===0xc0){if(_0x28ad85+0x1===_0x593740||(_0x443b1a[_0x28ad85+0x1]&0xc0)!==0x80||(_0x443b1a[_0x28ad85]&0xfe)===0xc0)return!0x1;_0x28ad85+=0x2;}else{if((_0x443b1a[_0x28ad85]&0xf0)===0xe0){if(_0x28ad85+0x2>=_0x593740||(_0x443b1a[_0x28ad85+0x1]&0xc0)!==0x80||(_0x443b1a[_0x28ad85+0x2]&0xc0)!==0x80||_0x443b1a[_0x28ad85]===0xe0&&(_0x443b1a[_0x28ad85+0x1]&0xe0)===0x80||_0x443b1a[_0x28ad85]===0xed&&(_0x443b1a[_0x28ad85+0x1]&0xe0)===0xa0)return!0x1;_0x28ad85+=0x3;}else{if((_0x443b1a[_0x28ad85]&0xf8)===0xf0){if(_0x28ad85+0x3>=_0x593740||(_0x443b1a[_0x28ad85+0x1]&0xc0)!==0x80||(_0x443b1a[_0x28ad85+0x2]&0xc0)!==0x80||(_0x443b1a[_0x28ad85+0x3]&0xc0)!==0x80||_0x443b1a[_0x28ad85]===0xf0&&(_0x443b1a[_0x28ad85+0x1]&0xf0)===0x80||_0x443b1a[_0x28ad85]===0xf4&&_0x443b1a[_0x28ad85+0x1]>0x8f||_0x443b1a[_0x28ad85]>0xf4)return!0x1;_0x28ad85+=0x4;}else return!0x1;}}}return!0x0;}function _0x142ce9(_0x4142fb){const _0x1b0a05=_0x22e7;return _0x3c575d&&typeof _0x4142fb==_0x1b0a05(0x138)&&typeof _0x4142fb[_0x1b0a05(0x152)]==_0x1b0a05(0x1c2)&&typeof _0x4142fb['type']==_0x1b0a05(0x20a)&&typeof _0x4142fb[_0x1b0a05(0xa7)]==_0x1b0a05(0x1c2)&&(_0x4142fb[Symbol[_0x1b0a05(0x13a)]]===_0x1b0a05(0x16d)||_0x4142fb[Symbol['toStringTag']]===_0x1b0a05(0x10b));}if(re[_0x445bac(0x136)]={'isBlob':_0x142ce9,'isValidStatusCode':_0x7dbdf5,'isValidUTF8':_0x50831b,'tokenChars':_0x466fa4},_0x57a0be)re['exports']['isValidUTF8']=function(_0x314991){const _0x1db4c3=_0x445bac;return _0x314991[_0x1db4c3(0x12a)]<0x18?_0x50831b(_0x314991):_0x57a0be(_0x314991);};else{if(!process[_0x445bac(0x120)][_0x445bac(0xec)])try{const _0x46d937=Yt;re[_0x445bac(0x136)]['isValidUTF8']=function(_0x4b7ce3){const _0x3f0242=_0x445bac;return _0x4b7ce3[_0x3f0242(0x12a)]<0x20?_0x50831b(_0x4b7ce3):_0x46d937(_0x4b7ce3);};}catch{}}return re[_0x445bac(0x136)];}var Se,Je;function dt(){const _0x194662=_0x142a78;if(Je)return Se;Je=0x1;const {Writable:_0x27bec3}=_0x32aa0b,_0x109d33=he(),{BINARY_TYPES:_0x4f691a,EMPTY_BUFFER:_0x359977,kStatusCode:_0x1b50d0,kWebSocket:_0x3bdb0a}=V(),{concat:_0x4ccf66,toArrayBuffer:_0x864d1b,unmask:_0x2a0d37}=ce(),{isValidStatusCode:_0x383cf3,isValidUTF8:_0xda71ed}=ne(),_0x5cc1f8=Buffer[Symbol[_0x194662(0x123)]],_0x9885a=0x0,_0x3e4fca=0x1,_0x378adf=0x2,_0x152769=0x3,_0x37ec1d=0x4,_0x2c1f3d=0x5,_0x3a1452=0x6;class _0x52aaff extends _0x27bec3{constructor(_0x2c8c8d={}){const _0x338b8f=_0x194662;super(),this['_allowSynchronousEvents']=_0x2c8c8d[_0x338b8f(0xab)]!==void 0x0?_0x2c8c8d['allowSynchronousEvents']:!0x0,this[_0x338b8f(0x1ef)]=_0x2c8c8d[_0x338b8f(0xb0)]||_0x4f691a[0x0],this['_extensions']=_0x2c8c8d[_0x338b8f(0x185)]||{},this[_0x338b8f(0x1f9)]=!!_0x2c8c8d[_0x338b8f(0x1e5)],this[_0x338b8f(0x15b)]=_0x2c8c8d['maxPayload']|0x0,this[_0x338b8f(0x19a)]=!!_0x2c8c8d['skipUTF8Validation'],this[_0x3bdb0a]=void 0x0,this[_0x338b8f(0x179)]=0x0,this[_0x338b8f(0x195)]=[],this[_0x338b8f(0xaf)]=!0x1,this['_payloadLength']=0x0,this[_0x338b8f(0x20f)]=void 0x0,this[_0x338b8f(0xf8)]=0x0,this['_masked']=!0x1,this['_fin']=!0x1,this[_0x338b8f(0x13f)]=0x0,this[_0x338b8f(0x9b)]=0x0,this[_0x338b8f(0xe4)]=0x0,this[_0x338b8f(0xc0)]=[],this[_0x338b8f(0x1fd)]=!0x1,this[_0x338b8f(0x21f)]=!0x1,this['_state']=_0x9885a;}[_0x194662(0xe6)](_0x291a06,_0x526dd5,_0x127d1d){const _0x24b8fb=_0x194662;if(this['_opcode']===0x8&&this[_0x24b8fb(0xb3)]==_0x9885a)return _0x127d1d();this[_0x24b8fb(0x179)]+=_0x291a06[_0x24b8fb(0x12a)],this[_0x24b8fb(0x195)][_0x24b8fb(0x198)](_0x291a06),this[_0x24b8fb(0x1c8)](_0x127d1d);}[_0x194662(0x23a)](_0x401a8e){const _0x13b0eb=_0x194662;if(this[_0x13b0eb(0x179)]-=_0x401a8e,_0x401a8e===this[_0x13b0eb(0x195)][0x0][_0x13b0eb(0x12a)])return this[_0x13b0eb(0x195)]['shift']();if(_0x401a8e<this[_0x13b0eb(0x195)][0x0][_0x13b0eb(0x12a)]){const _0x39ff3f=this['_buffers'][0x0];return this[_0x13b0eb(0x195)][0x0]=new _0x5cc1f8(_0x39ff3f['buffer'],_0x39ff3f[_0x13b0eb(0x10e)]+_0x401a8e,_0x39ff3f[_0x13b0eb(0x12a)]-_0x401a8e),new _0x5cc1f8(_0x39ff3f[_0x13b0eb(0xf3)],_0x39ff3f['byteOffset'],_0x401a8e);}const _0x53376a=Buffer[_0x13b0eb(0x19e)](_0x401a8e);do{const _0x392815=this[_0x13b0eb(0x195)][0x0],_0x4f6b1c=_0x53376a[_0x13b0eb(0x12a)]-_0x401a8e;_0x401a8e>=_0x392815[_0x13b0eb(0x12a)]?_0x53376a[_0x13b0eb(0x158)](this[_0x13b0eb(0x195)]['shift'](),_0x4f6b1c):(_0x53376a[_0x13b0eb(0x158)](new Uint8Array(_0x392815[_0x13b0eb(0xf3)],_0x392815[_0x13b0eb(0x10e)],_0x401a8e),_0x4f6b1c),this[_0x13b0eb(0x195)][0x0]=new _0x5cc1f8(_0x392815[_0x13b0eb(0xf3)],_0x392815['byteOffset']+_0x401a8e,_0x392815[_0x13b0eb(0x12a)]-_0x401a8e)),_0x401a8e-=_0x392815[_0x13b0eb(0x12a)];}while(_0x401a8e>0x0);return _0x53376a;}['startLoop'](_0x5394e4){const _0x36ecd9=_0x194662;this[_0x36ecd9(0x21f)]=!0x0;do switch(this[_0x36ecd9(0xb3)]){case _0x9885a:this['getInfo'](_0x5394e4);break;case _0x3e4fca:this[_0x36ecd9(0x248)](_0x5394e4);break;case _0x378adf:this[_0x36ecd9(0x24e)](_0x5394e4);break;case _0x152769:this[_0x36ecd9(0x172)]();break;case _0x37ec1d:this[_0x36ecd9(0xaa)](_0x5394e4);break;case _0x2c1f3d:case _0x3a1452:this['_loop']=!0x1;return;}while(this[_0x36ecd9(0x21f)]);this[_0x36ecd9(0x1fd)]||_0x5394e4();}[_0x194662(0xc1)](_0x1e84d6){const _0x54d202=_0x194662;if(this[_0x54d202(0x179)]<0x2){this[_0x54d202(0x21f)]=!0x1;return;}const _0x9763a2=this[_0x54d202(0x23a)](0x2);if((_0x9763a2[0x0]&0x30)!==0x0){const _0x4cd573=this[_0x54d202(0x223)](RangeError,_0x54d202(0x15e),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x1e84d6(_0x4cd573);return;}const _0x12172d=(_0x9763a2[0x0]&0x40)===0x40;if(_0x12172d&&!this[_0x54d202(0xcf)][_0x109d33[_0x54d202(0x115)]]){const _0x59b8fd=this[_0x54d202(0x223)](RangeError,_0x54d202(0xdb),!0x0,0x3ea,_0x54d202(0xfe));_0x1e84d6(_0x59b8fd);return;}if(this[_0x54d202(0x190)]=(_0x9763a2[0x0]&0x80)===0x80,this[_0x54d202(0x13f)]=_0x9763a2[0x0]&0xf,this['_payloadLength']=_0x9763a2[0x1]&0x7f,this['_opcode']===0x0){if(_0x12172d){const _0x1ff20b=this[_0x54d202(0x223)](RangeError,_0x54d202(0xdb),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1e84d6(_0x1ff20b);return;}if(!this[_0x54d202(0xf8)]){const _0x116640=this[_0x54d202(0x223)](RangeError,_0x54d202(0xca),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x1e84d6(_0x116640);return;}this[_0x54d202(0x13f)]=this['_fragmented'];}else{if(this[_0x54d202(0x13f)]===0x1||this['_opcode']===0x2){if(this[_0x54d202(0xf8)]){const _0x5eac8d=this[_0x54d202(0x223)](RangeError,_0x54d202(0x107)+this[_0x54d202(0x13f)],!0x0,0x3ea,_0x54d202(0xb2));_0x1e84d6(_0x5eac8d);return;}this[_0x54d202(0xaf)]=_0x12172d;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this['_fin']){const _0x5737d7=this['createError'](RangeError,_0x54d202(0x1dd),!0x0,0x3ea,_0x54d202(0xc3));_0x1e84d6(_0x5737d7);return;}if(_0x12172d){const _0x435be1=this['createError'](RangeError,_0x54d202(0xdb),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1e84d6(_0x435be1);return;}if(this['_payloadLength']>0x7d||this[_0x54d202(0x13f)]===0x8&&this[_0x54d202(0x1a1)]===0x1){const _0x46fba8=this[_0x54d202(0x223)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x54d202(0x1a1)],!0x0,0x3ea,_0x54d202(0x1eb));_0x1e84d6(_0x46fba8);return;}}else{const _0x4a66f5=this['createError'](RangeError,_0x54d202(0x107)+this[_0x54d202(0x13f)],!0x0,0x3ea,_0x54d202(0xb2));_0x1e84d6(_0x4a66f5);return;}}}if(!this[_0x54d202(0x190)]&&!this[_0x54d202(0xf8)]&&(this[_0x54d202(0xf8)]=this[_0x54d202(0x13f)]),this['_masked']=(_0x9763a2[0x1]&0x80)===0x80,this[_0x54d202(0x1f9)]){if(!this['_masked']){const _0x536b7b=this[_0x54d202(0x223)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x1e84d6(_0x536b7b);return;}}else{if(this[_0x54d202(0x12e)]){const _0x345c60=this[_0x54d202(0x223)](RangeError,_0x54d202(0x194),!0x0,0x3ea,_0x54d202(0x13d));_0x1e84d6(_0x345c60);return;}}this[_0x54d202(0x1a1)]===0x7e?this[_0x54d202(0xb3)]=_0x3e4fca:this[_0x54d202(0x1a1)]===0x7f?this[_0x54d202(0xb3)]=_0x378adf:this['haveLength'](_0x1e84d6);}[_0x194662(0x248)](_0xf6aecb){const _0x177093=_0x194662;if(this[_0x177093(0x179)]<0x2){this[_0x177093(0x21f)]=!0x1;return;}this[_0x177093(0x1a1)]=this[_0x177093(0x23a)](0x2)[_0x177093(0x166)](0x0),this[_0x177093(0x234)](_0xf6aecb);}[_0x194662(0x24e)](_0x52d7ff){const _0x26348f=_0x194662;if(this[_0x26348f(0x179)]<0x8){this[_0x26348f(0x21f)]=!0x1;return;}const _0x146d3d=this[_0x26348f(0x23a)](0x8),_0x399dd6=_0x146d3d[_0x26348f(0x151)](0x0);if(_0x399dd6>Math[_0x26348f(0x1e8)](0x2,0x15)-0x1){const _0x5dfdae=this[_0x26348f(0x223)](RangeError,_0x26348f(0x117),!0x1,0x3f1,_0x26348f(0x206));_0x52d7ff(_0x5dfdae);return;}this['_payloadLength']=_0x399dd6*Math[_0x26348f(0x1e8)](0x2,0x20)+_0x146d3d[_0x26348f(0x151)](0x4),this[_0x26348f(0x234)](_0x52d7ff);}[_0x194662(0x234)](_0x30a131){const _0x262702=_0x194662;if(this[_0x262702(0x1a1)]&&this[_0x262702(0x13f)]<0x8&&(this[_0x262702(0x9b)]+=this[_0x262702(0x1a1)],this[_0x262702(0x9b)]>this[_0x262702(0x15b)]&&this['_maxPayload']>0x0)){const _0x38f2da=this['createError'](RangeError,_0x262702(0x23e),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x30a131(_0x38f2da);return;}this[_0x262702(0x12e)]?this[_0x262702(0xb3)]=_0x152769:this['_state']=_0x37ec1d;}[_0x194662(0x172)](){const _0x3fb164=_0x194662;if(this[_0x3fb164(0x179)]<0x4){this[_0x3fb164(0x21f)]=!0x1;return;}this[_0x3fb164(0x20f)]=this[_0x3fb164(0x23a)](0x4),this['_state']=_0x37ec1d;}['getData'](_0x30aea0){const _0x2036c2=_0x194662;let _0x5de510=_0x359977;if(this[_0x2036c2(0x1a1)]){if(this[_0x2036c2(0x179)]<this['_payloadLength']){this['_loop']=!0x1;return;}_0x5de510=this[_0x2036c2(0x23a)](this[_0x2036c2(0x1a1)]),this[_0x2036c2(0x12e)]&&(this[_0x2036c2(0x20f)][0x0]|this[_0x2036c2(0x20f)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x2a0d37(_0x5de510,this[_0x2036c2(0x20f)]);}if(this['_opcode']>0x7){this[_0x2036c2(0xd2)](_0x5de510,_0x30aea0);return;}if(this[_0x2036c2(0xaf)]){this[_0x2036c2(0xb3)]=_0x2c1f3d,this[_0x2036c2(0xe0)](_0x5de510,_0x30aea0);return;}_0x5de510[_0x2036c2(0x12a)]&&(this[_0x2036c2(0xe4)]=this[_0x2036c2(0x9b)],this[_0x2036c2(0xc0)][_0x2036c2(0x198)](_0x5de510)),this['dataMessage'](_0x30aea0);}[_0x194662(0xe0)](_0x3d6c58,_0x5c0f15){const _0x4d015b=_0x194662;this[_0x4d015b(0xcf)][_0x109d33[_0x4d015b(0x115)]][_0x4d015b(0xe0)](_0x3d6c58,this[_0x4d015b(0x190)],(_0x42ac60,_0x1c36c9)=>{const _0x25cfa0=_0x4d015b;if(_0x42ac60)return _0x5c0f15(_0x42ac60);if(_0x1c36c9[_0x25cfa0(0x12a)]){if(this[_0x25cfa0(0xe4)]+=_0x1c36c9[_0x25cfa0(0x12a)],this['_messageLength']>this[_0x25cfa0(0x15b)]&&this[_0x25cfa0(0x15b)]>0x0){const _0x5a8299=this[_0x25cfa0(0x223)](RangeError,_0x25cfa0(0x23e),!0x1,0x3f1,_0x25cfa0(0xf0));_0x5c0f15(_0x5a8299);return;}this[_0x25cfa0(0xc0)][_0x25cfa0(0x198)](_0x1c36c9);}this[_0x25cfa0(0xbe)](_0x5c0f15),this[_0x25cfa0(0xb3)]===_0x9885a&&this[_0x25cfa0(0x1c8)](_0x5c0f15);});}[_0x194662(0xbe)](_0x37936e){const _0x2e47a1=_0x194662;if(!this['_fin']){this[_0x2e47a1(0xb3)]=_0x9885a;return;}const _0x22fcbc=this[_0x2e47a1(0xe4)],_0x19c9cc=this[_0x2e47a1(0xc0)];if(this[_0x2e47a1(0x9b)]=0x0,this[_0x2e47a1(0xe4)]=0x0,this['_fragmented']=0x0,this[_0x2e47a1(0xc0)]=[],this[_0x2e47a1(0x13f)]===0x2){let _0x344b99;this[_0x2e47a1(0x1ef)]===_0x2e47a1(0x215)?_0x344b99=_0x4ccf66(_0x19c9cc,_0x22fcbc):this[_0x2e47a1(0x1ef)]===_0x2e47a1(0x1f0)?_0x344b99=_0x864d1b(_0x4ccf66(_0x19c9cc,_0x22fcbc)):this['_binaryType']==='blob'?_0x344b99=new Blob(_0x19c9cc):_0x344b99=_0x19c9cc,this[_0x2e47a1(0x22f)]?(this['emit']('message',_0x344b99,!0x0),this[_0x2e47a1(0xb3)]=_0x9885a):(this[_0x2e47a1(0xb3)]=_0x3a1452,setImmediate(()=>{const _0x531cd6=_0x2e47a1;this[_0x531cd6(0xa2)](_0x531cd6(0x1cb),_0x344b99,!0x0),this[_0x531cd6(0xb3)]=_0x9885a,this[_0x531cd6(0x1c8)](_0x37936e);}));}else{const _0x3414a3=_0x4ccf66(_0x19c9cc,_0x22fcbc);if(!this['_skipUTF8Validation']&&!_0xda71ed(_0x3414a3)){const _0x367410=this['createError'](Error,_0x2e47a1(0xce),!0x0,0x3ef,_0x2e47a1(0x1a3));_0x37936e(_0x367410);return;}this[_0x2e47a1(0xb3)]===_0x2c1f3d||this['_allowSynchronousEvents']?(this['emit'](_0x2e47a1(0x1cb),_0x3414a3,!0x1),this[_0x2e47a1(0xb3)]=_0x9885a):(this[_0x2e47a1(0xb3)]=_0x3a1452,setImmediate(()=>{const _0x5f3fef=_0x2e47a1;this[_0x5f3fef(0xa2)](_0x5f3fef(0x1cb),_0x3414a3,!0x1),this[_0x5f3fef(0xb3)]=_0x9885a,this[_0x5f3fef(0x1c8)](_0x37936e);}));}}['controlMessage'](_0x31a9bc,_0x47527a){const _0x259249=_0x194662;if(this[_0x259249(0x13f)]===0x8){if(_0x31a9bc[_0x259249(0x12a)]===0x0)this[_0x259249(0x21f)]=!0x1,this[_0x259249(0xa2)](_0x259249(0x100),0x3ed,_0x359977),this[_0x259249(0x216)]();else{const _0x5034f2=_0x31a9bc[_0x259249(0x166)](0x0);if(!_0x383cf3(_0x5034f2)){const _0x547788=this['createError'](RangeError,_0x259249(0x10a)+_0x5034f2,!0x0,0x3ea,_0x259249(0x14c));_0x47527a(_0x547788);return;}const _0x33aba0=new _0x5cc1f8(_0x31a9bc['buffer'],_0x31a9bc[_0x259249(0x10e)]+0x2,_0x31a9bc[_0x259249(0x12a)]-0x2);if(!this[_0x259249(0x19a)]&&!_0xda71ed(_0x33aba0)){const _0x21da64=this[_0x259249(0x223)](Error,_0x259249(0xce),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x47527a(_0x21da64);return;}this['_loop']=!0x1,this[_0x259249(0xa2)]('conclude',_0x5034f2,_0x33aba0),this[_0x259249(0x216)]();}this[_0x259249(0xb3)]=_0x9885a;return;}this[_0x259249(0x22f)]?(this[_0x259249(0xa2)](this[_0x259249(0x13f)]===0x9?_0x259249(0x1c0):_0x259249(0x17d),_0x31a9bc),this[_0x259249(0xb3)]=_0x9885a):(this[_0x259249(0xb3)]=_0x3a1452,setImmediate(()=>{const _0x439889=_0x259249;this['emit'](this[_0x439889(0x13f)]===0x9?_0x439889(0x1c0):_0x439889(0x17d),_0x31a9bc),this['_state']=_0x9885a,this['startLoop'](_0x47527a);}));}[_0x194662(0x223)](_0x3d5f15,_0x11ed89,_0x47c45d,_0xeb1c68,_0x2c8591){const _0x555d1f=_0x194662;this['_loop']=!0x1,this[_0x555d1f(0x1fd)]=!0x0;const _0x38cdcb=new _0x3d5f15(_0x47c45d?_0x555d1f(0x1d7)+_0x11ed89:_0x11ed89);return Error[_0x555d1f(0x245)](_0x38cdcb,this[_0x555d1f(0x223)]),_0x38cdcb[_0x555d1f(0x140)]=_0x2c8591,_0x38cdcb[_0x1b50d0]=_0xeb1c68,_0x38cdcb;}}return Se=_0x52aaff,Se;}var Ee,et;function _t(){const _0x533c0e=_0x142a78;if(et)return Ee;et=0x1;const {Duplex:_0x245ced}=_0x32aa0b,{randomFillSync:_0x4a2d01}=_0x79c0dc,_0x49e77b=he(),{EMPTY_BUFFER:_0x22cd35,kWebSocket:_0x8ba695,NOOP:_0x2c1ad3}=V(),{isBlob:_0x3015ec,isValidStatusCode:_0x7ba6f2}=ne(),{mask:_0x5eb9e8,toBuffer:_0x2cbbad}=ce(),_0x4c9a38=Symbol(_0x533c0e(0x1ee)),_0x2092d3=Buffer[_0x533c0e(0xfa)](0x4),_0x25709d=0x8*0x400;let _0x5b856f,_0x57ec2c=_0x25709d;const _0x5549bb=0x0,_0x419885=0x1,_0x36f92f=0x2;class _0x42c244{constructor(_0x56f4e4,_0x177a4f,_0x3fbaaf){const _0x54f901=_0x533c0e;this[_0x54f901(0xcf)]=_0x177a4f||{},_0x3fbaaf&&(this[_0x54f901(0x1a8)]=_0x3fbaaf,this[_0x54f901(0x1da)]=Buffer[_0x54f901(0xfa)](0x4)),this[_0x54f901(0x113)]=_0x56f4e4,this[_0x54f901(0x1bc)]=!0x0,this['_compress']=!0x1,this[_0x54f901(0x179)]=0x0,this[_0x54f901(0x22d)]=[],this[_0x54f901(0xb3)]=_0x5549bb,this[_0x54f901(0x193)]=_0x2c1ad3,this[_0x8ba695]=void 0x0;}static['frame'](_0x1d36f5,_0x6fccfc){const _0x27c3e6=_0x533c0e;let _0x56e1cb,_0x1d5d94=!0x1,_0x45a2d4=0x2,_0x295264=!0x1;_0x6fccfc['mask']&&(_0x56e1cb=_0x6fccfc['maskBuffer']||_0x2092d3,_0x6fccfc[_0x27c3e6(0x196)]?_0x6fccfc[_0x27c3e6(0x196)](_0x56e1cb):(_0x57ec2c===_0x25709d&&(_0x5b856f===void 0x0&&(_0x5b856f=Buffer[_0x27c3e6(0xfa)](_0x25709d)),_0x4a2d01(_0x5b856f,0x0,_0x25709d),_0x57ec2c=0x0),_0x56e1cb[0x0]=_0x5b856f[_0x57ec2c++],_0x56e1cb[0x1]=_0x5b856f[_0x57ec2c++],_0x56e1cb[0x2]=_0x5b856f[_0x57ec2c++],_0x56e1cb[0x3]=_0x5b856f[_0x57ec2c++]),_0x295264=(_0x56e1cb[0x0]|_0x56e1cb[0x1]|_0x56e1cb[0x2]|_0x56e1cb[0x3])===0x0,_0x45a2d4=0x6);let _0x476ed4;typeof _0x1d36f5==_0x27c3e6(0x20a)?(!_0x6fccfc[_0x27c3e6(0x1f1)]||_0x295264)&&_0x6fccfc[_0x4c9a38]!==void 0x0?_0x476ed4=_0x6fccfc[_0x4c9a38]:(_0x1d36f5=Buffer[_0x27c3e6(0x20e)](_0x1d36f5),_0x476ed4=_0x1d36f5[_0x27c3e6(0x12a)]):(_0x476ed4=_0x1d36f5[_0x27c3e6(0x12a)],_0x1d5d94=_0x6fccfc['mask']&&_0x6fccfc[_0x27c3e6(0x1ab)]&&!_0x295264);let _0x39f19d=_0x476ed4;_0x476ed4>=0x10000?(_0x45a2d4+=0x8,_0x39f19d=0x7f):_0x476ed4>0x7d&&(_0x45a2d4+=0x2,_0x39f19d=0x7e);const _0x49c3dd=Buffer[_0x27c3e6(0x19e)](_0x1d5d94?_0x476ed4+_0x45a2d4:_0x45a2d4);return _0x49c3dd[0x0]=_0x6fccfc[_0x27c3e6(0x11d)]?_0x6fccfc[_0x27c3e6(0x17f)]|0x80:_0x6fccfc[_0x27c3e6(0x17f)],_0x6fccfc[_0x27c3e6(0x161)]&&(_0x49c3dd[0x0]|=0x40),_0x49c3dd[0x1]=_0x39f19d,_0x39f19d===0x7e?_0x49c3dd['writeUInt16BE'](_0x476ed4,0x2):_0x39f19d===0x7f&&(_0x49c3dd[0x2]=_0x49c3dd[0x3]=0x0,_0x49c3dd[_0x27c3e6(0xb6)](_0x476ed4,0x4,0x6)),_0x6fccfc[_0x27c3e6(0x1f1)]?(_0x49c3dd[0x1]|=0x80,_0x49c3dd[_0x45a2d4-0x4]=_0x56e1cb[0x0],_0x49c3dd[_0x45a2d4-0x3]=_0x56e1cb[0x1],_0x49c3dd[_0x45a2d4-0x2]=_0x56e1cb[0x2],_0x49c3dd[_0x45a2d4-0x1]=_0x56e1cb[0x3],_0x295264?[_0x49c3dd,_0x1d36f5]:_0x1d5d94?(_0x5eb9e8(_0x1d36f5,_0x56e1cb,_0x49c3dd,_0x45a2d4,_0x476ed4),[_0x49c3dd]):(_0x5eb9e8(_0x1d36f5,_0x56e1cb,_0x1d36f5,0x0,_0x476ed4),[_0x49c3dd,_0x1d36f5])):[_0x49c3dd,_0x1d36f5];}[_0x533c0e(0x238)](_0x13bb7c,_0x4deec9,_0x13ed00,_0x4faae0){const _0x43fa4a=_0x533c0e;let _0x4f0b69;if(_0x13bb7c===void 0x0)_0x4f0b69=_0x22cd35;else{if(typeof _0x13bb7c!=_0x43fa4a(0xd7)||!_0x7ba6f2(_0x13bb7c))throw new TypeError(_0x43fa4a(0x95));if(_0x4deec9===void 0x0||!_0x4deec9[_0x43fa4a(0x12a)])_0x4f0b69=Buffer[_0x43fa4a(0x19e)](0x2),_0x4f0b69[_0x43fa4a(0x121)](_0x13bb7c,0x0);else{const _0x2febf6=Buffer[_0x43fa4a(0x16b)](_0x4deec9);if(_0x2febf6>0x7b)throw new RangeError(_0x43fa4a(0x127));_0x4f0b69=Buffer[_0x43fa4a(0x19e)](0x2+_0x2febf6),_0x4f0b69[_0x43fa4a(0x121)](_0x13bb7c,0x0),typeof _0x4deec9==_0x43fa4a(0x20a)?_0x4f0b69[_0x43fa4a(0x1aa)](_0x4deec9,0x2):_0x4f0b69['set'](_0x4deec9,0x2);}}const _0x23c193={[_0x4c9a38]:_0x4f0b69[_0x43fa4a(0x12a)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x13ed00,'maskBuffer':this[_0x43fa4a(0x1da)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x43fa4a(0xb3)]!==_0x5549bb?this[_0x43fa4a(0xf6)]([this['dispatch'],_0x4f0b69,!0x1,_0x23c193,_0x4faae0]):this[_0x43fa4a(0x108)](_0x42c244['frame'](_0x4f0b69,_0x23c193),_0x4faae0);}['ping'](_0x443b4d,_0x4dc1e4,_0x32e8a9){const _0x165f73=_0x533c0e;let _0x5f192a,_0x31e412;if(typeof _0x443b4d=='string'?(_0x5f192a=Buffer['byteLength'](_0x443b4d),_0x31e412=!0x1):_0x3015ec(_0x443b4d)?(_0x5f192a=_0x443b4d[_0x165f73(0x1d0)],_0x31e412=!0x1):(_0x443b4d=_0x2cbbad(_0x443b4d),_0x5f192a=_0x443b4d[_0x165f73(0x12a)],_0x31e412=_0x2cbbad[_0x165f73(0x1ab)]),_0x5f192a>0x7d)throw new RangeError(_0x165f73(0xb1));const _0xa097e6={[_0x4c9a38]:_0x5f192a,'fin':!0x0,'generateMask':this[_0x165f73(0x1a8)],'mask':_0x4dc1e4,'maskBuffer':this[_0x165f73(0x1da)],'opcode':0x9,'readOnly':_0x31e412,'rsv1':!0x1};_0x3015ec(_0x443b4d)?this[_0x165f73(0xb3)]!==_0x5549bb?this[_0x165f73(0xf6)]([this[_0x165f73(0x240)],_0x443b4d,!0x1,_0xa097e6,_0x32e8a9]):this[_0x165f73(0x240)](_0x443b4d,!0x1,_0xa097e6,_0x32e8a9):this['_state']!==_0x5549bb?this[_0x165f73(0xf6)]([this['dispatch'],_0x443b4d,!0x1,_0xa097e6,_0x32e8a9]):this[_0x165f73(0x108)](_0x42c244[_0x165f73(0x1c4)](_0x443b4d,_0xa097e6),_0x32e8a9);}['pong'](_0x158f4f,_0xbc60c0,_0x245d6d){const _0x18dca6=_0x533c0e;let _0x583acf,_0x14a073;if(typeof _0x158f4f==_0x18dca6(0x20a)?(_0x583acf=Buffer[_0x18dca6(0x16b)](_0x158f4f),_0x14a073=!0x1):_0x3015ec(_0x158f4f)?(_0x583acf=_0x158f4f[_0x18dca6(0x1d0)],_0x14a073=!0x1):(_0x158f4f=_0x2cbbad(_0x158f4f),_0x583acf=_0x158f4f[_0x18dca6(0x12a)],_0x14a073=_0x2cbbad[_0x18dca6(0x1ab)]),_0x583acf>0x7d)throw new RangeError(_0x18dca6(0xb1));const _0x3c5c3d={[_0x4c9a38]:_0x583acf,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0xbc60c0,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x14a073,'rsv1':!0x1};_0x3015ec(_0x158f4f)?this[_0x18dca6(0xb3)]!==_0x5549bb?this[_0x18dca6(0xf6)]([this[_0x18dca6(0x240)],_0x158f4f,!0x1,_0x3c5c3d,_0x245d6d]):this[_0x18dca6(0x240)](_0x158f4f,!0x1,_0x3c5c3d,_0x245d6d):this[_0x18dca6(0xb3)]!==_0x5549bb?this[_0x18dca6(0xf6)]([this[_0x18dca6(0xf4)],_0x158f4f,!0x1,_0x3c5c3d,_0x245d6d]):this[_0x18dca6(0x108)](_0x42c244['frame'](_0x158f4f,_0x3c5c3d),_0x245d6d);}[_0x533c0e(0x1d3)](_0x5c3311,_0x135f72,_0x395222){const _0x42be0c=_0x533c0e,_0x1ffeb3=this[_0x42be0c(0xcf)][_0x49e77b[_0x42be0c(0x115)]];let _0x172066=_0x135f72[_0x42be0c(0x226)]?0x2:0x1,_0x394864=_0x135f72['compress'],_0x48626c,_0x3e82f6;typeof _0x5c3311==_0x42be0c(0x20a)?(_0x48626c=Buffer[_0x42be0c(0x16b)](_0x5c3311),_0x3e82f6=!0x1):_0x3015ec(_0x5c3311)?(_0x48626c=_0x5c3311['size'],_0x3e82f6=!0x1):(_0x5c3311=_0x2cbbad(_0x5c3311),_0x48626c=_0x5c3311[_0x42be0c(0x12a)],_0x3e82f6=_0x2cbbad[_0x42be0c(0x1ab)]),this['_firstFragment']?(this[_0x42be0c(0x1bc)]=!0x1,_0x394864&&_0x1ffeb3&&_0x1ffeb3[_0x42be0c(0x146)][_0x1ffeb3['_isServer']?'server_no_context_takeover':_0x42be0c(0x118)]&&(_0x394864=_0x48626c>=_0x1ffeb3[_0x42be0c(0x1b7)]),this['_compress']=_0x394864):(_0x394864=!0x1,_0x172066=0x0),_0x135f72[_0x42be0c(0x11d)]&&(this[_0x42be0c(0x1bc)]=!0x0);const _0x31fddd={[_0x4c9a38]:_0x48626c,'fin':_0x135f72[_0x42be0c(0x11d)],'generateMask':this[_0x42be0c(0x1a8)],'mask':_0x135f72[_0x42be0c(0x1f1)],'maskBuffer':this['_maskBuffer'],'opcode':_0x172066,'readOnly':_0x3e82f6,'rsv1':_0x394864};_0x3015ec(_0x5c3311)?this[_0x42be0c(0xb3)]!==_0x5549bb?this['enqueue']([this[_0x42be0c(0x240)],_0x5c3311,this[_0x42be0c(0x187)],_0x31fddd,_0x395222]):this[_0x42be0c(0x240)](_0x5c3311,this[_0x42be0c(0x187)],_0x31fddd,_0x395222):this[_0x42be0c(0xb3)]!==_0x5549bb?this['enqueue']([this[_0x42be0c(0xf4)],_0x5c3311,this['_compress'],_0x31fddd,_0x395222]):this['dispatch'](_0x5c3311,this['_compress'],_0x31fddd,_0x395222);}[_0x533c0e(0x240)](_0x52f3a8,_0x25d413,_0x2e31ee,_0x295ecd){const _0x181b9e=_0x533c0e;this['_bufferedBytes']+=_0x2e31ee[_0x4c9a38],this['_state']=_0x36f92f,_0x52f3a8[_0x181b9e(0x152)]()[_0x181b9e(0xfc)](_0x120282=>{const _0x427f95=_0x181b9e;if(this['_socket']['destroyed']){const _0x315f3e=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x427f95(0x11a)](_0x24c9fc,this,_0x315f3e,_0x295ecd);return;}this['_bufferedBytes']-=_0x2e31ee[_0x4c9a38];const _0x465f57=_0x2cbbad(_0x120282);_0x25d413?this[_0x427f95(0xf4)](_0x465f57,_0x25d413,_0x2e31ee,_0x295ecd):(this[_0x427f95(0xb3)]=_0x5549bb,this[_0x427f95(0x108)](_0x42c244[_0x427f95(0x1c4)](_0x465f57,_0x2e31ee),_0x295ecd),this[_0x427f95(0x1ea)]());})[_0x181b9e(0x154)](_0x522348=>{const _0x1f3fb8=_0x181b9e;process[_0x1f3fb8(0x11a)](_0x18fe51,this,_0x522348,_0x295ecd);});}[_0x533c0e(0xf4)](_0x5c15b3,_0x524e41,_0x100dbe,_0x378652){const _0x38b9eb=_0x533c0e;if(!_0x524e41){this[_0x38b9eb(0x108)](_0x42c244['frame'](_0x5c15b3,_0x100dbe),_0x378652);return;}const _0x528ab2=this[_0x38b9eb(0xcf)][_0x49e77b[_0x38b9eb(0x115)]];this[_0x38b9eb(0x179)]+=_0x100dbe[_0x4c9a38],this[_0x38b9eb(0xb3)]=_0x419885,_0x528ab2[_0x38b9eb(0xc7)](_0x5c15b3,_0x100dbe[_0x38b9eb(0x11d)],(_0x42123a,_0x5473d8)=>{const _0x3dd685=_0x38b9eb;if(this[_0x3dd685(0x113)][_0x3dd685(0xd0)]){const _0x391637=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x24c9fc(this,_0x391637,_0x378652);return;}this[_0x3dd685(0x179)]-=_0x100dbe[_0x4c9a38],this[_0x3dd685(0xb3)]=_0x5549bb,_0x100dbe[_0x3dd685(0x1ab)]=!0x1,this[_0x3dd685(0x108)](_0x42c244[_0x3dd685(0x1c4)](_0x5473d8,_0x100dbe),_0x378652),this[_0x3dd685(0x1ea)]();});}[_0x533c0e(0x1ea)](){const _0x455eb7=_0x533c0e;for(;this['_state']===_0x5549bb&&this[_0x455eb7(0x22d)][_0x455eb7(0x12a)];){const _0x5b3543=this[_0x455eb7(0x22d)]['shift']();this[_0x455eb7(0x179)]-=_0x5b3543[0x3][_0x4c9a38],Reflect[_0x455eb7(0xcb)](_0x5b3543[0x0],this,_0x5b3543[_0x455eb7(0xa5)](0x1));}}[_0x533c0e(0xf6)](_0x1eb2eb){const _0x359eb6=_0x533c0e;this[_0x359eb6(0x179)]+=_0x1eb2eb[0x3][_0x4c9a38],this['_queue']['push'](_0x1eb2eb);}[_0x533c0e(0x108)](_0x54aa29,_0x1d2255){const _0x5325e7=_0x533c0e;_0x54aa29['length']===0x2?(this[_0x5325e7(0x113)][_0x5325e7(0x102)](),this[_0x5325e7(0x113)]['write'](_0x54aa29[0x0]),this[_0x5325e7(0x113)][_0x5325e7(0x1aa)](_0x54aa29[0x1],_0x1d2255),this[_0x5325e7(0x113)]['uncork']()):this['_socket']['write'](_0x54aa29[0x0],_0x1d2255);}}Ee=_0x42c244;function _0x24c9fc(_0x346bbe,_0x5ddcb3,_0x41e677){const _0x3a5392=_0x533c0e;typeof _0x41e677=='function'&&_0x41e677(_0x5ddcb3);for(let _0x5e96aa=0x0;_0x5e96aa<_0x346bbe['_queue'][_0x3a5392(0x12a)];_0x5e96aa++){const _0x24c8a1=_0x346bbe['_queue'][_0x5e96aa],_0x3ea1c9=_0x24c8a1[_0x24c8a1[_0x3a5392(0x12a)]-0x1];typeof _0x3ea1c9==_0x3a5392(0x1c2)&&_0x3ea1c9(_0x5ddcb3);}}function _0x18fe51(_0x4d82be,_0x18c891,_0x44092c){const _0x3ec630=_0x533c0e;_0x24c9fc(_0x4d82be,_0x18c891,_0x44092c),_0x4d82be[_0x3ec630(0x193)](_0x18c891);}return Ee;}var xe,tt;function Kt(){const _0x4e5a6e=_0x142a78;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x2d9800,kListener:_0x32ae2a}=V(),_0x3abfa8=Symbol('kCode'),_0xa7786a=Symbol('kData'),_0x2dab82=Symbol('kError'),_0x2797c4=Symbol('kMessage'),_0xcbae89=Symbol(_0x4e5a6e(0xac)),_0x18d742=Symbol(_0x4e5a6e(0x211)),_0x24593e=Symbol(_0x4e5a6e(0x1b4)),_0x633582=Symbol(_0x4e5a6e(0x199));class _0x4ea1e8{constructor(_0x178b94){this[_0x18d742]=null,this[_0x24593e]=_0x178b94;}get[_0x4e5a6e(0xbb)](){return this[_0x18d742];}get[_0x4e5a6e(0x250)](){return this[_0x24593e];}}Object[_0x4e5a6e(0x209)](_0x4ea1e8[_0x4e5a6e(0x184)],_0x4e5a6e(0xbb),{'enumerable':!0x0}),Object[_0x4e5a6e(0x209)](_0x4ea1e8[_0x4e5a6e(0x184)],_0x4e5a6e(0x250),{'enumerable':!0x0});class _0x86955b extends _0x4ea1e8{constructor(_0x3ea69b,_0x29343c={}){const _0x4972c2=_0x4e5a6e;super(_0x3ea69b),this[_0x3abfa8]=_0x29343c[_0x4972c2(0x140)]===void 0x0?0x0:_0x29343c[_0x4972c2(0x140)],this[_0xcbae89]=_0x29343c[_0x4972c2(0x143)]===void 0x0?'':_0x29343c['reason'],this[_0x633582]=_0x29343c[_0x4972c2(0x220)]===void 0x0?!0x1:_0x29343c[_0x4972c2(0x220)];}get[_0x4e5a6e(0x140)](){return this[_0x3abfa8];}get[_0x4e5a6e(0x143)](){return this[_0xcbae89];}get[_0x4e5a6e(0x220)](){return this[_0x633582];}}Object[_0x4e5a6e(0x209)](_0x86955b[_0x4e5a6e(0x184)],_0x4e5a6e(0x140),{'enumerable':!0x0}),Object[_0x4e5a6e(0x209)](_0x86955b['prototype'],_0x4e5a6e(0x143),{'enumerable':!0x0}),Object[_0x4e5a6e(0x209)](_0x86955b[_0x4e5a6e(0x184)],'wasClean',{'enumerable':!0x0});class _0x3b54b1 extends _0x4ea1e8{constructor(_0x583930,_0x3c430d={}){const _0x604137=_0x4e5a6e;super(_0x583930),this[_0x2dab82]=_0x3c430d['error']===void 0x0?null:_0x3c430d[_0x604137(0x12f)],this[_0x2797c4]=_0x3c430d['message']===void 0x0?'':_0x3c430d[_0x604137(0x1cb)];}get['error'](){return this[_0x2dab82];}get['message'](){return this[_0x2797c4];}}Object[_0x4e5a6e(0x209)](_0x3b54b1[_0x4e5a6e(0x184)],_0x4e5a6e(0x12f),{'enumerable':!0x0}),Object[_0x4e5a6e(0x209)](_0x3b54b1[_0x4e5a6e(0x184)],_0x4e5a6e(0x1cb),{'enumerable':!0x0});class _0x4a3dca extends _0x4ea1e8{constructor(_0x5bc4a4,_0x301868={}){const _0x1205a3=_0x4e5a6e;super(_0x5bc4a4),this[_0xa7786a]=_0x301868[_0x1205a3(0x126)]===void 0x0?null:_0x301868[_0x1205a3(0x126)];}get[_0x4e5a6e(0x126)](){return this[_0xa7786a];}}Object['defineProperty'](_0x4a3dca['prototype'],_0x4e5a6e(0x126),{'enumerable':!0x0}),xe={'CloseEvent':_0x86955b,'ErrorEvent':_0x3b54b1,'Event':_0x4ea1e8,'EventTarget':{'addEventListener'(_0x52344a,_0xf7c838,_0x2b72c0={}){const _0x3c3958=_0x4e5a6e;for(const _0x41bb7e of this[_0x3c3958(0x1cf)](_0x52344a))if(!_0x2b72c0[_0x2d9800]&&_0x41bb7e[_0x32ae2a]===_0xf7c838&&!_0x41bb7e[_0x2d9800])return;let _0x3e1fc5;if(_0x52344a===_0x3c3958(0x1cb))_0x3e1fc5=function(_0x448728,_0x18ff7c){const _0x2a4c4d=_0x3c3958,_0x2b9aae=new _0x4a3dca(_0x2a4c4d(0x1cb),{'data':_0x18ff7c?_0x448728:_0x448728['toString']()});_0x2b9aae[_0x18d742]=this,_0x240837(_0xf7c838,this,_0x2b9aae);};else{if(_0x52344a===_0x3c3958(0x238))_0x3e1fc5=function(_0xbe00fb,_0xcafa2a){const _0x568106=_0x3c3958,_0x36fa25=new _0x86955b(_0x568106(0x238),{'code':_0xbe00fb,'reason':_0xcafa2a['toString'](),'wasClean':this['_closeFrameReceived']&&this[_0x568106(0x1fc)]});_0x36fa25[_0x18d742]=this,_0x240837(_0xf7c838,this,_0x36fa25);};else{if(_0x52344a===_0x3c3958(0x12f))_0x3e1fc5=function(_0xe443d2){const _0xb1b3ec=_0x3c3958,_0xed1f6c=new _0x3b54b1(_0xb1b3ec(0x12f),{'error':_0xe443d2,'message':_0xe443d2[_0xb1b3ec(0x1cb)]});_0xed1f6c[_0x18d742]=this,_0x240837(_0xf7c838,this,_0xed1f6c);};else{if(_0x52344a===_0x3c3958(0xae))_0x3e1fc5=function(){const _0x56ba12=_0x3c3958,_0x4727ac=new _0x4ea1e8(_0x56ba12(0xae));_0x4727ac[_0x18d742]=this,_0x240837(_0xf7c838,this,_0x4727ac);};else return;}}}_0x3e1fc5[_0x2d9800]=!!_0x2b72c0[_0x2d9800],_0x3e1fc5[_0x32ae2a]=_0xf7c838,_0x2b72c0[_0x3c3958(0xa1)]?this[_0x3c3958(0xa1)](_0x52344a,_0x3e1fc5):this['on'](_0x52344a,_0x3e1fc5);},'removeEventListener'(_0x2397d2,_0xcdaa76){const _0x4b45ab=_0x4e5a6e;for(const _0x2f7b44 of this[_0x4b45ab(0x1cf)](_0x2397d2))if(_0x2f7b44[_0x32ae2a]===_0xcdaa76&&!_0x2f7b44[_0x2d9800]){this[_0x4b45ab(0x241)](_0x2397d2,_0x2f7b44);break;}}},'MessageEvent':_0x4a3dca};function _0x240837(_0x553ec2,_0x39adde,_0x22e78c){const _0x37bf67=_0x4e5a6e;typeof _0x553ec2==_0x37bf67(0x138)&&_0x553ec2[_0x37bf67(0x145)]?_0x553ec2[_0x37bf67(0x145)]['call'](_0x553ec2,_0x22e78c):_0x553ec2[_0x37bf67(0x18f)](_0x39adde,_0x22e78c);}return xe;}function _0x2c3e(){const _0x5a1b14=['includes','Invalid\x20value\x20for\x20parameter\x20\x22','clientTracking','isServer','The\x20server\x20is\x20not\x20running','flush','pow','_originalHostOrSocketPath','dequeue','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_configService','listenerCount','kByteLength','_binaryType','arraybuffer','mask','Cookie','hostname','client','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','toString','pathname','_closeTimer','_isServer','acceptAsServer','Module','_closeFrameSent','_errored','Z_DEFAULT_WINDOWBITS','dispose','response','removeAllListeners','setNoDelay','delete','connection','servername','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','Invalid\x20Sec-WebSocket-Extensions\x20header','maxRedirects','defineProperty','string','followRedirects','server','pipe','from','_mask','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','kTarget','_writableState','HTTP/1.1\x20','_shouldEmitClose','nodebuffer','end','socketPath','clientNoContextTakeover','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','entries','Origin','permessage-deflate','finish','Upgrade','_loop','wasClean','isPaused','warn','createError','blob','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','binary','The\x20URL\x27s\x20pathname\x20is\x20empty','sec-websocket-key','cleanup','_closeFrameReceived','normalizeParams','CONNECTING','_queue','unmask','_allowSynchronousEvents','serverMaxWindowBits','_readableState','skipUTF8Validation','Invalid\x20Sec-WebSocket-Accept\x20header','haveLength','zlibInflateOptions','Sec-WebSocket-Extensions','resume','close','kRun','consume','Invalid\x20Upgrade\x20header','buffers','_registerDependencies','Max\x20payload\x20size\x20exceeded','903YVPrYJ','getBlobData','removeListener','cookie','wss:','upgrade','captureStackTrace','ws+unix:','WebSocket','getPayloadLength16','649556nuOQUm','onclose','Connection:\x20Upgrade','map','\x22:\x20','getPayloadLength64','replace','type','objectMode','isInteger','finishRequest','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','client_max_window_bits','redirect','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','\x0d\x0a\x0d\x0a','clients','_totalPayloadLength','pending','handleProtocols','endEmitted','sec-websocket-extensions','kListener','once','emit','_destroy','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','slice','_originalIpc','stream','join','socket','getData','allowSynchronousEvents','kReason','_paused','open','_compressed','binaryType','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','WS_ERR_INVALID_OPCODE','_state','Unexpected\x20server\x20response:\x20','encrypted','writeUIntBE','Basic\x20','create','protocolVersion','_url','target','format','shift','dataMessage','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_fragments','getInfo','_sender','WS_ERR_EXPECTED_FIN','382596dOqerk','_redirects','forEach','compress','concurrencyLimit','origin','invalid\x20opcode\x200','apply','maxPayload','location','invalid\x20UTF-8\x20sequence','_extensions','destroyed','http:','controlMessage','text/plain','_req','read','\x22\x20must\x20have\x20only\x20a\x20single\x20value','number','unexpected-response','autoPong','_protocol','RSV1\x20must\x20be\x20clear','17848lcodRM','kIsForOnEventAttribute','OPEN','constructor','decompress','bind','_closeCode','_max_window_bits','_messageLength','createDeflateRaw','_write','getOwnPropertyDescriptor','_closeMessage','jobs','noServer','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','WS_NO_UTF_8_VALIDATE','options','Z_SYNC_FLUSH','concat','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','timeout','reset','buffer','dispatch','_bufferedAmount','enqueue','accept','_fragmented','completeUpgrade','alloc','Server\x20sent\x20an\x20invalid\x20subprotocol','then','_inflate','WS_ERR_UNEXPECTED_RSV_1','1682334IKWcSO','conclude','acceptAsClient','cork','emitClose','_removeListeners','request','pluginName','invalid\x20opcode\x20','sendFrame','kDone','invalid\x20status\x20code\x20','File','_errorEmitted','Unknown\x20parameter\x20\x22','byteOffset','Unexpected\x20end\x20of\x20input','addEventListener','next','backlog','_socket','_decompress','extensionName','startsWith','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','client_no_context_takeover','isView','nextTick','concurrency','onmessage','fin','handshakeTimeout','__esModule','env','writeUInt16BE','wsClientError','species','defaultPort','server_no_context_takeover','data','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','toLowerCase','_read','length','setTimeout','hash','password','_masked','error','_receiver','pause','Parameter\x20\x22','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','bufferedAmount','host','exports','onopen','object','onStarting','toStringTag','kAborted','Invalid\x20URL:\x20','WS_ERR_UNEXPECTED_MASK','freeze','_opcode','code','2cVzEfg','Server\x20sent\x20no\x20subprotocol','reason','customHeaders','handleEvent','params','fragments','errorEmitted','Invalid\x20HTTP\x20method','update','indexOf','WS_ERR_INVALID_CLOSE_CODE','ws:','_options','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','removeEventListener','readUInt32BE','arrayBuffer','parse','catch','createServer','_originalSecure','serverNoContextTakeover','set','_readyState','_httpService','_maxPayload','listening','Sec-WebSocket-Protocol:\x20','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','isArray','clientMaxWindowBits','rsv1','sha1','total-length','has','protocol','readUInt16BE','createConnection','base64','_server','9919760oSCpti','byteLength','collaboration-client-node.config','Blob','\x20(supported\x20versions:\x20','charCodeAt','statusCode','\x22\x20subprotocol\x20is\x20duplicated','getMask','find','test','port','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','default','getConfig','_bufferedBytes','value','sec-websocket-protocol','Maximum\x20redirects\x20exceeded','pong','finished','opcode','values','createSocket','handleUpgrade','Unexpected\x20character\x20at\x20index\x20','prototype','extensions','verifyClient','_compress','Sec-WebSocket-Extensions:\x20','CLOSED','_autoPong','_final','hasOwnProperty','path','GET','call','_fin','auth','CLOSING','onerror','MASK\x20must\x20be\x20clear','_buffers','generateMask','digest','push','kWasClean','_skipUTF8Validation','WebSocket\x20is\x20not\x20open:\x20readyState\x20','3462knkGob','createInflateRaw','allocUnsafe','setSocket','offer','_payloadLength','connect','WS_ERR_INVALID_UTF8','terminate','isBuffer','headers','unshift','_generateMask','Sec-WebSocket-Origin','write','readOnly','Invalid\x20Sec-WebSocket-Protocol\x20header','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','HTTP/1.1\x20101\x20Switching\x20Protocols','registerHTTPInterceptor','authorization','sec-websocket-origin','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','setHeader','kType','get','threshold','_threshold','_injector','isIP','address','text/html','_firstFragment','setConfig','readable','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','ping','5815LqLkZF','function','shouldHandle','frame','keys','server_max_window_bits','destroy','startLoop','href','perMessageDeflate','message','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','readyState','STATUS_CODES','listeners','size','Unsupported\x20protocol\x20version:\x20','authorized','send','367419uXegtx','websocket','username','Invalid\x20WebSocket\x20frame:\x20','add','sec-websocket-accept','_maskBuffer','zlibDeflateOptions','_no_context_takeover','FIN\x20must\x20be\x20set','_deflate','The\x20\x22','search','url'];_0x2c3e=function(){return _0x5a1b14;};return _0x2c3e();}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x172dcd}=ne();function _0x2c4917(_0x4947e8,_0x4eb28c,_0x2d31b2){const _0x42db70=_0x22e7;_0x4947e8[_0x4eb28c]===void 0x0?_0x4947e8[_0x4eb28c]=[_0x2d31b2]:_0x4947e8[_0x4eb28c][_0x42db70(0x198)](_0x2d31b2);}function _0x29b389(_0x42e486){const _0x423a7f=_0x22e7,_0x426a1b=Object[_0x423a7f(0xb8)](null);let _0xb50b0e=Object[_0x423a7f(0xb8)](null),_0x7f691b=!0x1,_0x3edd95=!0x1,_0x4002ba=!0x1,_0x7d39eb,_0x6ebfd4,_0x5e2d60=-0x1,_0x53410a=-0x1,_0x49f5eb=-0x1,_0x4c9f7a=0x0;for(;_0x4c9f7a<_0x42e486['length'];_0x4c9f7a++)if(_0x53410a=_0x42e486[_0x423a7f(0x16f)](_0x4c9f7a),_0x7d39eb===void 0x0){if(_0x49f5eb===-0x1&&_0x172dcd[_0x53410a]===0x1)_0x5e2d60===-0x1&&(_0x5e2d60=_0x4c9f7a);else{if(_0x4c9f7a!==0x0&&(_0x53410a===0x20||_0x53410a===0x9))_0x49f5eb===-0x1&&_0x5e2d60!==-0x1&&(_0x49f5eb=_0x4c9f7a);else{if(_0x53410a===0x3b||_0x53410a===0x2c){if(_0x5e2d60===-0x1)throw new SyntaxError(_0x423a7f(0x183)+_0x4c9f7a);_0x49f5eb===-0x1&&(_0x49f5eb=_0x4c9f7a);const _0x27c48a=_0x42e486[_0x423a7f(0xa5)](_0x5e2d60,_0x49f5eb);_0x53410a===0x2c?(_0x2c4917(_0x426a1b,_0x27c48a,_0xb50b0e),_0xb50b0e=Object[_0x423a7f(0xb8)](null)):_0x7d39eb=_0x27c48a,_0x5e2d60=_0x49f5eb=-0x1;}else throw new SyntaxError(_0x423a7f(0x183)+_0x4c9f7a);}}}else{if(_0x6ebfd4===void 0x0){if(_0x49f5eb===-0x1&&_0x172dcd[_0x53410a]===0x1)_0x5e2d60===-0x1&&(_0x5e2d60=_0x4c9f7a);else{if(_0x53410a===0x20||_0x53410a===0x9)_0x49f5eb===-0x1&&_0x5e2d60!==-0x1&&(_0x49f5eb=_0x4c9f7a);else{if(_0x53410a===0x3b||_0x53410a===0x2c){if(_0x5e2d60===-0x1)throw new SyntaxError(_0x423a7f(0x183)+_0x4c9f7a);_0x49f5eb===-0x1&&(_0x49f5eb=_0x4c9f7a),_0x2c4917(_0xb50b0e,_0x42e486[_0x423a7f(0xa5)](_0x5e2d60,_0x49f5eb),!0x0),_0x53410a===0x2c&&(_0x2c4917(_0x426a1b,_0x7d39eb,_0xb50b0e),_0xb50b0e=Object[_0x423a7f(0xb8)](null),_0x7d39eb=void 0x0),_0x5e2d60=_0x49f5eb=-0x1;}else{if(_0x53410a===0x3d&&_0x5e2d60!==-0x1&&_0x49f5eb===-0x1)_0x6ebfd4=_0x42e486['slice'](_0x5e2d60,_0x4c9f7a),_0x5e2d60=_0x49f5eb=-0x1;else throw new SyntaxError(_0x423a7f(0x183)+_0x4c9f7a);}}}}else{if(_0x3edd95){if(_0x172dcd[_0x53410a]!==0x1)throw new SyntaxError(_0x423a7f(0x183)+_0x4c9f7a);_0x5e2d60===-0x1?_0x5e2d60=_0x4c9f7a:_0x7f691b||(_0x7f691b=!0x0),_0x3edd95=!0x1;}else{if(_0x4002ba){if(_0x172dcd[_0x53410a]===0x1)_0x5e2d60===-0x1&&(_0x5e2d60=_0x4c9f7a);else{if(_0x53410a===0x22&&_0x5e2d60!==-0x1)_0x4002ba=!0x1,_0x49f5eb=_0x4c9f7a;else{if(_0x53410a===0x5c)_0x3edd95=!0x0;else throw new SyntaxError(_0x423a7f(0x183)+_0x4c9f7a);}}}else{if(_0x53410a===0x22&&_0x42e486[_0x423a7f(0x16f)](_0x4c9f7a-0x1)===0x3d)_0x4002ba=!0x0;else{if(_0x49f5eb===-0x1&&_0x172dcd[_0x53410a]===0x1)_0x5e2d60===-0x1&&(_0x5e2d60=_0x4c9f7a);else{if(_0x5e2d60!==-0x1&&(_0x53410a===0x20||_0x53410a===0x9))_0x49f5eb===-0x1&&(_0x49f5eb=_0x4c9f7a);else{if(_0x53410a===0x3b||_0x53410a===0x2c){if(_0x5e2d60===-0x1)throw new SyntaxError(_0x423a7f(0x183)+_0x4c9f7a);_0x49f5eb===-0x1&&(_0x49f5eb=_0x4c9f7a);let _0x53fd75=_0x42e486['slice'](_0x5e2d60,_0x49f5eb);_0x7f691b&&(_0x53fd75=_0x53fd75[_0x423a7f(0x24f)](/\\/g,''),_0x7f691b=!0x1),_0x2c4917(_0xb50b0e,_0x6ebfd4,_0x53fd75),_0x53410a===0x2c&&(_0x2c4917(_0x426a1b,_0x7d39eb,_0xb50b0e),_0xb50b0e=Object[_0x423a7f(0xb8)](null),_0x7d39eb=void 0x0),_0x6ebfd4=void 0x0,_0x5e2d60=_0x49f5eb=-0x1;}else throw new SyntaxError(_0x423a7f(0x183)+_0x4c9f7a);}}}}}}}if(_0x5e2d60===-0x1||_0x4002ba||_0x53410a===0x20||_0x53410a===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x49f5eb===-0x1&&(_0x49f5eb=_0x4c9f7a);const _0x165b8c=_0x42e486[_0x423a7f(0xa5)](_0x5e2d60,_0x49f5eb);return _0x7d39eb===void 0x0?_0x2c4917(_0x426a1b,_0x165b8c,_0xb50b0e):(_0x6ebfd4===void 0x0?_0x2c4917(_0xb50b0e,_0x165b8c,!0x0):_0x7f691b?_0x2c4917(_0xb50b0e,_0x6ebfd4,_0x165b8c[_0x423a7f(0x24f)](/\\/g,'')):_0x2c4917(_0xb50b0e,_0x6ebfd4,_0x165b8c),_0x2c4917(_0x426a1b,_0x7d39eb,_0xb50b0e)),_0x426a1b;}function _0x335113(_0x20aca3){const _0x5aaf1c=_0x22e7;return Object[_0x5aaf1c(0x1c5)](_0x20aca3)[_0x5aaf1c(0x24c)](_0x3002c1=>{const _0x3da045=_0x5aaf1c;let _0x10884d=_0x20aca3[_0x3002c1];return Array[_0x3da045(0x15f)](_0x10884d)||(_0x10884d=[_0x10884d]),_0x10884d['map'](_0x3b443e=>[_0x3002c1][_0x3da045(0xef)](Object['keys'](_0x3b443e)[_0x3da045(0x24c)](_0x5df11e=>{const _0x4ed634=_0x3da045;let _0x565b82=_0x3b443e[_0x5df11e];return Array[_0x4ed634(0x15f)](_0x565b82)||(_0x565b82=[_0x565b82]),_0x565b82['map'](_0x47e627=>_0x47e627===!0x0?_0x5df11e:_0x5df11e+'='+_0x47e627)['join'](';\x20');}))['join'](';\x20'))[_0x3da045(0xa8)](',\x20');})[_0x5aaf1c(0xa8)](',\x20');}return be={'format':_0x335113,'parse':_0x29b389},be;}var we,st;function Ie(){const _0x259d6f=_0x142a78;if(st)return we;st=0x1;const _0x18bc53=_0xa42f3d,_0x50f9fb=_0x30a230,_0x43796a=_0x412828,_0x3ee3a4=_0x14b0dc,_0xee70fd=_0x3474ae,{randomBytes:_0x147567,createHash:_0x1cc220}=_0x79c0dc,{Duplex:_0x163288,Readable:_0x596a16}=_0x32aa0b,{URL:_0x3538c2}=_0x22cb54,_0x1c240a=he(),_0x324302=dt(),_0x35dbbd=_t(),{isBlob:_0x2a51be}=ne(),{BINARY_TYPES:_0x37c701,EMPTY_BUFFER:_0x219bd9,GUID:_0x5eb3ac,kForOnEventAttribute:_0x5a9665,kListener:_0xbf3941,kStatusCode:_0x82d7ab,kWebSocket:_0x1da300,NOOP:_0x4e2966}=V(),{EventTarget:{addEventListener:_0x4eedac,removeEventListener:_0x4d5ee6}}=Kt(),{format:_0x131484,parse:_0x37f159}=pt(),{toBuffer:_0x3a69c2}=ce(),_0x206235=0x1e*0x3e8,_0x53747b=Symbol(_0x259d6f(0x13b)),_0x4117f8=[0x8,0xd],_0x1fef4b=[_0x259d6f(0x22c),_0x259d6f(0xde),_0x259d6f(0x192),_0x259d6f(0x189)],_0x315589=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3d8179 extends _0x18bc53{constructor(_0x2226b9,_0x1f8d6d,_0x40dc67){const _0x4259a2=_0x259d6f;super(),this[_0x4259a2(0x1ef)]=_0x37c701[0x0],this[_0x4259a2(0xe2)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x4259a2(0x1fc)]=!0x1,this[_0x4259a2(0xe8)]=_0x219bd9,this[_0x4259a2(0x1f8)]=null,this[_0x4259a2(0x10c)]=!0x1,this[_0x4259a2(0xcf)]={},this[_0x4259a2(0xad)]=!0x1,this[_0x4259a2(0xda)]='',this['_readyState']=_0x3d8179[_0x4259a2(0x22c)],this[_0x4259a2(0x130)]=null,this['_sender']=null,this['_socket']=null,_0x2226b9!==null?(this[_0x4259a2(0xf5)]=0x0,this[_0x4259a2(0x1f9)]=!0x1,this['_redirects']=0x0,_0x1f8d6d===void 0x0?_0x1f8d6d=[]:Array[_0x4259a2(0x15f)](_0x1f8d6d)||(typeof _0x1f8d6d==_0x4259a2(0x138)&&_0x1f8d6d!==null?(_0x40dc67=_0x1f8d6d,_0x1f8d6d=[]):_0x1f8d6d=[_0x1f8d6d]),_0x224767(this,_0x2226b9,_0x1f8d6d,_0x40dc67)):(this['_autoPong']=_0x40dc67[_0x4259a2(0xd9)],this['_isServer']=!0x0);}get[_0x259d6f(0xb0)](){const _0x3ed940=_0x259d6f;return this[_0x3ed940(0x1ef)];}set[_0x259d6f(0xb0)](_0x3c40a5){const _0x5efea4=_0x259d6f;_0x37c701[_0x5efea4(0x1e2)](_0x3c40a5)&&(this[_0x5efea4(0x1ef)]=_0x3c40a5,this['_receiver']&&(this[_0x5efea4(0x130)][_0x5efea4(0x1ef)]=_0x3c40a5));}get[_0x259d6f(0x134)](){const _0x55f5b1=_0x259d6f;return this[_0x55f5b1(0x113)]?this[_0x55f5b1(0x113)][_0x55f5b1(0x212)][_0x55f5b1(0x12a)]+this[_0x55f5b1(0xc2)]['_bufferedBytes']:this[_0x55f5b1(0xf5)];}get[_0x259d6f(0x185)](){const _0x54eb72=_0x259d6f;return Object[_0x54eb72(0x1c5)](this[_0x54eb72(0xcf)])[_0x54eb72(0xa8)]();}get[_0x259d6f(0x221)](){return this['_paused'];}get[_0x259d6f(0x24a)](){return null;}get[_0x259d6f(0x193)](){return null;}get[_0x259d6f(0x137)](){return null;}get[_0x259d6f(0x11c)](){return null;}get[_0x259d6f(0x165)](){const _0x2be2c9=_0x259d6f;return this[_0x2be2c9(0xda)];}get[_0x259d6f(0x1cd)](){return this['_readyState'];}get[_0x259d6f(0x1e1)](){const _0x12dea1=_0x259d6f;return this[_0x12dea1(0xba)];}[_0x259d6f(0x19f)](_0xcbf28a,_0x5d639d,_0x56d313){const _0x1a8205=_0x259d6f,_0x5f1ece=new _0x324302({'allowSynchronousEvents':_0x56d313['allowSynchronousEvents'],'binaryType':this[_0x1a8205(0xb0)],'extensions':this[_0x1a8205(0xcf)],'isServer':this[_0x1a8205(0x1f9)],'maxPayload':_0x56d313[_0x1a8205(0xcc)],'skipUTF8Validation':_0x56d313[_0x1a8205(0x232)]}),_0x8db21d=new _0x35dbbd(_0xcbf28a,this['_extensions'],_0x56d313[_0x1a8205(0x196)]);this[_0x1a8205(0x130)]=_0x5f1ece,this[_0x1a8205(0xc2)]=_0x8db21d,this[_0x1a8205(0x113)]=_0xcbf28a,_0x5f1ece[_0x1da300]=this,_0x8db21d[_0x1da300]=this,_0xcbf28a[_0x1da300]=this,_0x5f1ece['on']('conclude',_0x57ee03),_0x5f1ece['on']('drain',_0xa14c76),_0x5f1ece['on']('error',_0x147d59),_0x5f1ece['on']('message',_0x35c611),_0x5f1ece['on'](_0x1a8205(0x1c0),_0x56ad6c),_0x5f1ece['on']('pong',_0x266193),_0x8db21d[_0x1a8205(0x193)]=_0x5570d0,_0xcbf28a[_0x1a8205(0x12b)]&&_0xcbf28a['setTimeout'](0x0),_0xcbf28a[_0x1a8205(0x202)]&&_0xcbf28a[_0x1a8205(0x202)](),_0x5d639d[_0x1a8205(0x12a)]>0x0&&_0xcbf28a[_0x1a8205(0x1a7)](_0x5d639d),_0xcbf28a['on'](_0x1a8205(0x238),_0x3372a8),_0xcbf28a['on'](_0x1a8205(0x126),_0x387f40),_0xcbf28a['on'](_0x1a8205(0x216),_0x1f3f9d),_0xcbf28a['on'](_0x1a8205(0x12f),_0x141c28),this['_readyState']=_0x3d8179[_0x1a8205(0xde)],this[_0x1a8205(0xa2)](_0x1a8205(0xae));}[_0x259d6f(0x103)](){const _0x145195=_0x259d6f;if(!this[_0x145195(0x113)]){this['_readyState']=_0x3d8179[_0x145195(0x189)],this[_0x145195(0xa2)](_0x145195(0x238),this[_0x145195(0xe2)],this[_0x145195(0xe8)]);return;}this[_0x145195(0xcf)][_0x1c240a[_0x145195(0x115)]]&&this[_0x145195(0xcf)][_0x1c240a[_0x145195(0x115)]][_0x145195(0x229)](),this['_receiver'][_0x145195(0x201)](),this[_0x145195(0x159)]=_0x3d8179['CLOSED'],this['emit'](_0x145195(0x238),this[_0x145195(0xe2)],this[_0x145195(0xe8)]);}[_0x259d6f(0x238)](_0x4f098c,_0x2bdd1e){const _0x48c75a=_0x259d6f;if(this[_0x48c75a(0x1cd)]!==_0x3d8179['CLOSED']){if(this[_0x48c75a(0x1cd)]===_0x3d8179[_0x48c75a(0x22c)]){_0x472fbe(this,this[_0x48c75a(0xd4)],_0x48c75a(0x1b2));return;}if(this[_0x48c75a(0x1cd)]===_0x3d8179[_0x48c75a(0x192)]){this[_0x48c75a(0x1fc)]&&(this[_0x48c75a(0x22a)]||this['_receiver'][_0x48c75a(0x212)]['errorEmitted'])&&this[_0x48c75a(0x113)]['end']();return;}this['_readyState']=_0x3d8179[_0x48c75a(0x192)],this[_0x48c75a(0xc2)][_0x48c75a(0x238)](_0x4f098c,_0x2bdd1e,!this[_0x48c75a(0x1f9)],_0xc0358a=>{const _0x4b58c8=_0x48c75a;_0xc0358a||(this[_0x4b58c8(0x1fc)]=!0x0,(this['_closeFrameReceived']||this[_0x4b58c8(0x130)][_0x4b58c8(0x212)][_0x4b58c8(0x148)])&&this['_socket'][_0x4b58c8(0x216)]());}),_0x321edd(this);}}[_0x259d6f(0x131)](){const _0x83cb22=_0x259d6f;this[_0x83cb22(0x1cd)]===_0x3d8179[_0x83cb22(0x22c)]||this['readyState']===_0x3d8179['CLOSED']||(this[_0x83cb22(0xad)]=!0x0,this['_socket']['pause']());}[_0x259d6f(0x1c0)](_0x58c4eb,_0x35fe91,_0x69f34b){const _0x40201f=_0x259d6f;if(this[_0x40201f(0x1cd)]===_0x3d8179[_0x40201f(0x22c)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x58c4eb=='function'?(_0x69f34b=_0x58c4eb,_0x58c4eb=_0x35fe91=void 0x0):typeof _0x35fe91==_0x40201f(0x1c2)&&(_0x69f34b=_0x35fe91,_0x35fe91=void 0x0),typeof _0x58c4eb==_0x40201f(0xd7)&&(_0x58c4eb=_0x58c4eb[_0x40201f(0x1f6)]()),this['readyState']!==_0x3d8179[_0x40201f(0xde)]){_0x2935e3(this,_0x58c4eb,_0x69f34b);return;}_0x35fe91===void 0x0&&(_0x35fe91=!this[_0x40201f(0x1f9)]),this[_0x40201f(0xc2)][_0x40201f(0x1c0)](_0x58c4eb||_0x219bd9,_0x35fe91,_0x69f34b);}['pong'](_0x6787ac,_0x410fd8,_0x4bca33){const _0x2735bb=_0x259d6f;if(this[_0x2735bb(0x1cd)]===_0x3d8179[_0x2735bb(0x22c)])throw new Error(_0x2735bb(0x1bf));if(typeof _0x6787ac=='function'?(_0x4bca33=_0x6787ac,_0x6787ac=_0x410fd8=void 0x0):typeof _0x410fd8==_0x2735bb(0x1c2)&&(_0x4bca33=_0x410fd8,_0x410fd8=void 0x0),typeof _0x6787ac==_0x2735bb(0xd7)&&(_0x6787ac=_0x6787ac[_0x2735bb(0x1f6)]()),this['readyState']!==_0x3d8179['OPEN']){_0x2935e3(this,_0x6787ac,_0x4bca33);return;}_0x410fd8===void 0x0&&(_0x410fd8=!this[_0x2735bb(0x1f9)]),this[_0x2735bb(0xc2)][_0x2735bb(0x17d)](_0x6787ac||_0x219bd9,_0x410fd8,_0x4bca33);}[_0x259d6f(0x237)](){const _0x135031=_0x259d6f;this['readyState']===_0x3d8179[_0x135031(0x22c)]||this[_0x135031(0x1cd)]===_0x3d8179[_0x135031(0x189)]||(this['_paused']=!0x1,this[_0x135031(0x130)][_0x135031(0x212)]['needDrain']||this[_0x135031(0x113)][_0x135031(0x237)]());}[_0x259d6f(0x1d3)](_0x21a7ea,_0x3c743e,_0x2b87c5){const _0x5ecaa3=_0x259d6f;if(this['readyState']===_0x3d8179['CONNECTING'])throw new Error(_0x5ecaa3(0x1bf));if(typeof _0x3c743e==_0x5ecaa3(0x1c2)&&(_0x2b87c5=_0x3c743e,_0x3c743e={}),typeof _0x21a7ea==_0x5ecaa3(0xd7)&&(_0x21a7ea=_0x21a7ea[_0x5ecaa3(0x1f6)]()),this[_0x5ecaa3(0x1cd)]!==_0x3d8179[_0x5ecaa3(0xde)]){_0x2935e3(this,_0x21a7ea,_0x2b87c5);return;}const _0x1cb672={'binary':typeof _0x21a7ea!=_0x5ecaa3(0x20a),'mask':!this[_0x5ecaa3(0x1f9)],'compress':!0x0,'fin':!0x0,..._0x3c743e};this['_extensions'][_0x1c240a[_0x5ecaa3(0x115)]]||(_0x1cb672[_0x5ecaa3(0xc7)]=!0x1),this[_0x5ecaa3(0xc2)][_0x5ecaa3(0x1d3)](_0x21a7ea||_0x219bd9,_0x1cb672,_0x2b87c5);}[_0x259d6f(0x1a4)](){const _0xe0f596=_0x259d6f;if(this[_0xe0f596(0x1cd)]!==_0x3d8179[_0xe0f596(0x189)]){if(this['readyState']===_0x3d8179[_0xe0f596(0x22c)]){_0x472fbe(this,this[_0xe0f596(0xd4)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this['_socket']&&(this[_0xe0f596(0x159)]=_0x3d8179['CLOSING'],this['_socket'][_0xe0f596(0x1c7)]());}}}Object[_0x259d6f(0x209)](_0x3d8179,'CONNECTING',{'enumerable':!0x0,'value':_0x1fef4b[_0x259d6f(0x14b)](_0x259d6f(0x22c))}),Object[_0x259d6f(0x209)](_0x3d8179[_0x259d6f(0x184)],_0x259d6f(0x22c),{'enumerable':!0x0,'value':_0x1fef4b[_0x259d6f(0x14b)](_0x259d6f(0x22c))}),Object['defineProperty'](_0x3d8179,_0x259d6f(0xde),{'enumerable':!0x0,'value':_0x1fef4b[_0x259d6f(0x14b)]('OPEN')}),Object['defineProperty'](_0x3d8179['prototype'],_0x259d6f(0xde),{'enumerable':!0x0,'value':_0x1fef4b['indexOf']('OPEN')}),Object[_0x259d6f(0x209)](_0x3d8179,_0x259d6f(0x192),{'enumerable':!0x0,'value':_0x1fef4b[_0x259d6f(0x14b)](_0x259d6f(0x192))}),Object[_0x259d6f(0x209)](_0x3d8179[_0x259d6f(0x184)],_0x259d6f(0x192),{'enumerable':!0x0,'value':_0x1fef4b['indexOf'](_0x259d6f(0x192))}),Object[_0x259d6f(0x209)](_0x3d8179,_0x259d6f(0x189),{'enumerable':!0x0,'value':_0x1fef4b[_0x259d6f(0x14b)]('CLOSED')}),Object[_0x259d6f(0x209)](_0x3d8179[_0x259d6f(0x184)],_0x259d6f(0x189),{'enumerable':!0x0,'value':_0x1fef4b['indexOf']('CLOSED')}),[_0x259d6f(0xb0),_0x259d6f(0x134),_0x259d6f(0x185),_0x259d6f(0x221),_0x259d6f(0x165),_0x259d6f(0x1cd),_0x259d6f(0x1e1)]['forEach'](_0x120685=>{const _0x3a5a65=_0x259d6f;Object[_0x3a5a65(0x209)](_0x3d8179['prototype'],_0x120685,{'enumerable':!0x0});}),[_0x259d6f(0xae),'error',_0x259d6f(0x238),'message'][_0x259d6f(0xc6)](_0x13a8be=>{const _0x8da710=_0x259d6f;Object['defineProperty'](_0x3d8179[_0x8da710(0x184)],'on'+_0x13a8be,{'enumerable':!0x0,'get'(){for(const _0x3f03ed of this['listeners'](_0x13a8be))if(_0x3f03ed[_0x5a9665])return _0x3f03ed[_0xbf3941];return null;},'set'(_0x1d2526){const _0x3be26f=_0x8da710;for(const _0x2c787a of this[_0x3be26f(0x1cf)](_0x13a8be))if(_0x2c787a[_0x5a9665]){this[_0x3be26f(0x241)](_0x13a8be,_0x2c787a);break;}typeof _0x1d2526==_0x3be26f(0x1c2)&&this[_0x3be26f(0x110)](_0x13a8be,_0x1d2526,{[_0x5a9665]:!0x0});}});}),_0x3d8179[_0x259d6f(0x184)]['addEventListener']=_0x4eedac,_0x3d8179[_0x259d6f(0x184)][_0x259d6f(0x150)]=_0x4d5ee6,we=_0x3d8179;function _0x224767(_0x30a088,_0x375279,_0x32ab0b,_0x2b5c91){const _0x488bf4=_0x259d6f,_0x1e9001={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4117f8[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2b5c91,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x30a088['_autoPong']=_0x1e9001[_0x488bf4(0xd9)],!_0x4117f8[_0x488bf4(0x1e2)](_0x1e9001[_0x488bf4(0xb9)]))throw new RangeError(_0x488bf4(0x1d1)+_0x1e9001[_0x488bf4(0xb9)]+_0x488bf4(0x16e)+_0x4117f8['join'](',\x20')+')');let _0x18e469;if(_0x375279 instanceof _0x3538c2)_0x18e469=_0x375279;else try{_0x18e469=new _0x3538c2(_0x375279);}catch{throw new SyntaxError(_0x488bf4(0x13c)+_0x375279);}_0x18e469[_0x488bf4(0x165)]===_0x488bf4(0xd1)?_0x18e469['protocol']=_0x488bf4(0x14d):_0x18e469[_0x488bf4(0x165)]==='https:'&&(_0x18e469[_0x488bf4(0x165)]=_0x488bf4(0x243)),_0x30a088[_0x488bf4(0xba)]=_0x18e469[_0x488bf4(0x1c9)];const _0x335bde=_0x18e469['protocol']===_0x488bf4(0x243),_0x1b9ab9=_0x18e469[_0x488bf4(0x165)]===_0x488bf4(0x246);let _0x503e3d;if(_0x18e469[_0x488bf4(0x165)]!==_0x488bf4(0x14d)&&!_0x335bde&&!_0x1b9ab9?_0x503e3d='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':_0x1b9ab9&&!_0x18e469[_0x488bf4(0x1f7)]?_0x503e3d=_0x488bf4(0x227):_0x18e469[_0x488bf4(0x12c)]&&(_0x503e3d='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x503e3d){const _0x21f368=new SyntaxError(_0x503e3d);if(_0x30a088[_0x488bf4(0xc5)]===0x0)throw _0x21f368;_0x583260(_0x30a088,_0x21f368);return;}const _0x5d1c0d=_0x335bde?0x1bb:0x50,_0x292d3c=_0x147567(0x10)[_0x488bf4(0x1f6)](_0x488bf4(0x168)),_0x5aba90=_0x335bde?_0x50f9fb['request']:_0x43796a[_0x488bf4(0x105)],_0x11ecdf=new Set();let _0x13cbfc;if(_0x1e9001[_0x488bf4(0x167)]=_0x1e9001['createConnection']||(_0x335bde?_0x766f3d:_0x4bb8f0),_0x1e9001[_0x488bf4(0x124)]=_0x1e9001['defaultPort']||_0x5d1c0d,_0x1e9001[_0x488bf4(0x175)]=_0x18e469[_0x488bf4(0x175)]||_0x5d1c0d,_0x1e9001['host']=_0x18e469[_0x488bf4(0x1f3)][_0x488bf4(0x116)]('[')?_0x18e469[_0x488bf4(0x1f3)]['slice'](0x1,-0x1):_0x18e469[_0x488bf4(0x1f3)],_0x1e9001[_0x488bf4(0x1a6)]={..._0x1e9001[_0x488bf4(0x1a6)],'Sec-WebSocket-Version':_0x1e9001[_0x488bf4(0xb9)],'Sec-WebSocket-Key':_0x292d3c,'Connection':_0x488bf4(0x21e),'Upgrade':_0x488bf4(0x1d5)},_0x1e9001[_0x488bf4(0x18d)]=_0x18e469[_0x488bf4(0x1f7)]+_0x18e469[_0x488bf4(0x1e0)],_0x1e9001[_0x488bf4(0xf1)]=_0x1e9001[_0x488bf4(0x11e)],_0x1e9001[_0x488bf4(0x1ca)]&&(_0x13cbfc=new _0x1c240a(_0x1e9001[_0x488bf4(0x1ca)]!==!0x0?_0x1e9001[_0x488bf4(0x1ca)]:{},!0x1,_0x1e9001['maxPayload']),_0x1e9001['headers'][_0x488bf4(0x236)]=_0x131484({[_0x1c240a[_0x488bf4(0x115)]]:_0x13cbfc[_0x488bf4(0x1a0)]()})),_0x32ab0b[_0x488bf4(0x12a)]){for(const _0x4fb67a of _0x32ab0b){if(typeof _0x4fb67a!=_0x488bf4(0x20a)||!_0x315589[_0x488bf4(0x174)](_0x4fb67a)||_0x11ecdf['has'](_0x4fb67a))throw new SyntaxError(_0x488bf4(0x210));_0x11ecdf[_0x488bf4(0x1d8)](_0x4fb67a);}_0x1e9001[_0x488bf4(0x1a6)]['Sec-WebSocket-Protocol']=_0x32ab0b[_0x488bf4(0xa8)](',');}if(_0x1e9001['origin']&&(_0x1e9001['protocolVersion']<0xd?_0x1e9001[_0x488bf4(0x1a6)][_0x488bf4(0x1a9)]=_0x1e9001[_0x488bf4(0xc9)]:_0x1e9001['headers'][_0x488bf4(0x21b)]=_0x1e9001[_0x488bf4(0xc9)]),(_0x18e469[_0x488bf4(0x1d6)]||_0x18e469[_0x488bf4(0x12d)])&&(_0x1e9001[_0x488bf4(0x191)]=_0x18e469['username']+':'+_0x18e469[_0x488bf4(0x12d)]),_0x1b9ab9){const _0x2a52e1=_0x1e9001[_0x488bf4(0x18d)]['split'](':');_0x1e9001['socketPath']=_0x2a52e1[0x0],_0x1e9001[_0x488bf4(0x18d)]=_0x2a52e1[0x1];}let _0x352218;if(_0x1e9001[_0x488bf4(0x20b)]){if(_0x30a088[_0x488bf4(0xc5)]===0x0){_0x30a088['_originalIpc']=_0x1b9ab9,_0x30a088['_originalSecure']=_0x335bde,_0x30a088[_0x488bf4(0x1e9)]=_0x1b9ab9?_0x1e9001['socketPath']:_0x18e469['host'];const _0x4342cf=_0x2b5c91&&_0x2b5c91[_0x488bf4(0x1a6)];if(_0x2b5c91={..._0x2b5c91,'headers':{}},_0x4342cf){for(const [_0x10f17f,_0xe3dafe]of Object[_0x488bf4(0x21a)](_0x4342cf))_0x2b5c91['headers'][_0x10f17f['toLowerCase']()]=_0xe3dafe;}}else{if(_0x30a088[_0x488bf4(0x1ed)](_0x488bf4(0x97))===0x0){const _0x484161=_0x1b9ab9?_0x30a088[_0x488bf4(0xa6)]?_0x1e9001[_0x488bf4(0x217)]===_0x30a088[_0x488bf4(0x1e9)]:!0x1:_0x30a088[_0x488bf4(0xa6)]?!0x1:_0x18e469['host']===_0x30a088[_0x488bf4(0x1e9)];(!_0x484161||_0x30a088[_0x488bf4(0x156)]&&!_0x335bde)&&(delete _0x1e9001['headers'][_0x488bf4(0x1b0)],delete _0x1e9001[_0x488bf4(0x1a6)][_0x488bf4(0x242)],_0x484161||delete _0x1e9001[_0x488bf4(0x1a6)]['host'],_0x1e9001[_0x488bf4(0x191)]=void 0x0);}}_0x1e9001['auth']&&!_0x2b5c91[_0x488bf4(0x1a6)]['authorization']&&(_0x2b5c91['headers'][_0x488bf4(0x1b0)]=_0x488bf4(0xb7)+Buffer[_0x488bf4(0x20e)](_0x1e9001['auth'])['toString'](_0x488bf4(0x168))),_0x352218=_0x30a088[_0x488bf4(0xd4)]=_0x5aba90(_0x1e9001),_0x30a088[_0x488bf4(0xc5)]&&_0x30a088[_0x488bf4(0xa2)]('redirect',_0x30a088['url'],_0x352218);}else _0x352218=_0x30a088[_0x488bf4(0xd4)]=_0x5aba90(_0x1e9001);_0x1e9001[_0x488bf4(0xf1)]&&_0x352218['on'](_0x488bf4(0xf1),()=>{_0x472fbe(_0x30a088,_0x352218,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x352218['on'](_0x488bf4(0x12f),_0x21c49a=>{const _0x38e818=_0x488bf4;_0x352218===null||_0x352218[_0x53747b]||(_0x352218=_0x30a088[_0x38e818(0xd4)]=null,_0x583260(_0x30a088,_0x21c49a));}),_0x352218['on'](_0x488bf4(0x200),_0x2e75ea=>{const _0x3ad563=_0x488bf4,_0x4b3442=_0x2e75ea[_0x3ad563(0x1a6)][_0x3ad563(0xcd)],_0x58e9fe=_0x2e75ea[_0x3ad563(0x170)];if(_0x4b3442&&_0x1e9001['followRedirects']&&_0x58e9fe>=0x12c&&_0x58e9fe<0x190){if(++_0x30a088['_redirects']>_0x1e9001[_0x3ad563(0x208)]){_0x472fbe(_0x30a088,_0x352218,_0x3ad563(0x17c));return;}_0x352218['abort']();let _0x1df7a6;try{_0x1df7a6=new _0x3538c2(_0x4b3442,_0x375279);}catch{const _0x589bdc=new SyntaxError(_0x3ad563(0x13c)+_0x4b3442);_0x583260(_0x30a088,_0x589bdc);return;}_0x224767(_0x30a088,_0x1df7a6,_0x32ab0b,_0x2b5c91);}else _0x30a088[_0x3ad563(0xa2)](_0x3ad563(0xd8),_0x352218,_0x2e75ea)||_0x472fbe(_0x30a088,_0x352218,_0x3ad563(0xb4)+_0x2e75ea[_0x3ad563(0x170)]);}),_0x352218['on'](_0x488bf4(0x244),(_0x7c1492,_0x46e8f3,_0x707fb0)=>{const _0x4ecd08=_0x488bf4;if(_0x30a088[_0x4ecd08(0xa2)]('upgrade',_0x7c1492),_0x30a088[_0x4ecd08(0x1cd)]!==_0x3d8179[_0x4ecd08(0x22c)])return;_0x352218=_0x30a088[_0x4ecd08(0xd4)]=null;const _0x7314d1=_0x7c1492[_0x4ecd08(0x1a6)]['upgrade'];if(_0x7314d1===void 0x0||_0x7314d1[_0x4ecd08(0x128)]()!==_0x4ecd08(0x1d5)){_0x472fbe(_0x30a088,_0x46e8f3,'Invalid\x20Upgrade\x20header');return;}const _0x121ec0=_0x1cc220(_0x4ecd08(0x162))[_0x4ecd08(0x14a)](_0x292d3c+_0x5eb3ac)['digest']('base64');if(_0x7c1492[_0x4ecd08(0x1a6)][_0x4ecd08(0x1d9)]!==_0x121ec0){_0x472fbe(_0x30a088,_0x46e8f3,_0x4ecd08(0x233));return;}const _0x3f0936=_0x7c1492[_0x4ecd08(0x1a6)][_0x4ecd08(0x17b)];let _0x6f41ec;if(_0x3f0936!==void 0x0?_0x11ecdf[_0x4ecd08(0x1d0)]?_0x11ecdf[_0x4ecd08(0x164)](_0x3f0936)||(_0x6f41ec=_0x4ecd08(0xfb)):_0x6f41ec='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x11ecdf['size']&&(_0x6f41ec=_0x4ecd08(0x142)),_0x6f41ec){_0x472fbe(_0x30a088,_0x46e8f3,_0x6f41ec);return;}_0x3f0936&&(_0x30a088[_0x4ecd08(0xda)]=_0x3f0936);const _0x2f8220=_0x7c1492[_0x4ecd08(0x1a6)][_0x4ecd08(0x9f)];if(_0x2f8220!==void 0x0){if(!_0x13cbfc){_0x472fbe(_0x30a088,_0x46e8f3,_0x4ecd08(0xa4));return;}let _0x5f0281;try{_0x5f0281=_0x37f159(_0x2f8220);}catch{_0x472fbe(_0x30a088,_0x46e8f3,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x19e99c=Object[_0x4ecd08(0x1c5)](_0x5f0281);if(_0x19e99c[_0x4ecd08(0x12a)]!==0x1||_0x19e99c[0x0]!==_0x1c240a['extensionName']){_0x472fbe(_0x30a088,_0x46e8f3,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x13cbfc[_0x4ecd08(0xf7)](_0x5f0281[_0x1c240a[_0x4ecd08(0x115)]]);}catch{_0x472fbe(_0x30a088,_0x46e8f3,_0x4ecd08(0x207));return;}_0x30a088['_extensions'][_0x1c240a[_0x4ecd08(0x115)]]=_0x13cbfc;}_0x30a088['setSocket'](_0x46e8f3,_0x707fb0,{'allowSynchronousEvents':_0x1e9001[_0x4ecd08(0xab)],'generateMask':_0x1e9001['generateMask'],'maxPayload':_0x1e9001['maxPayload'],'skipUTF8Validation':_0x1e9001[_0x4ecd08(0x232)]});}),_0x1e9001[_0x488bf4(0x253)]?_0x1e9001['finishRequest'](_0x352218,_0x30a088):_0x352218['end']();}function _0x583260(_0x3e7f15,_0x3f2af2){const _0x481231=_0x259d6f;_0x3e7f15[_0x481231(0x159)]=_0x3d8179[_0x481231(0x192)],_0x3e7f15[_0x481231(0x10c)]=!0x0,_0x3e7f15[_0x481231(0xa2)](_0x481231(0x12f),_0x3f2af2),_0x3e7f15['emitClose']();}function _0x4bb8f0(_0x5b21b3){const _0x8a2522=_0x259d6f;return _0x5b21b3['path']=_0x5b21b3[_0x8a2522(0x217)],_0x3ee3a4[_0x8a2522(0x1a2)](_0x5b21b3);}function _0x766f3d(_0x5c2ca4){const _0x378f8e=_0x259d6f;return _0x5c2ca4[_0x378f8e(0x18d)]=void 0x0,!_0x5c2ca4[_0x378f8e(0x205)]&&_0x5c2ca4[_0x378f8e(0x205)]!==''&&(_0x5c2ca4['servername']=_0x3ee3a4[_0x378f8e(0x1b9)](_0x5c2ca4[_0x378f8e(0x135)])?'':_0x5c2ca4[_0x378f8e(0x135)]),_0xee70fd[_0x378f8e(0x1a2)](_0x5c2ca4);}function _0x472fbe(_0x10a6e5,_0x8a6871,_0x303c0e){const _0x31cbd2=_0x259d6f;_0x10a6e5['_readyState']=_0x3d8179[_0x31cbd2(0x192)];const _0x8d2f75=new Error(_0x303c0e);Error[_0x31cbd2(0x245)](_0x8d2f75,_0x472fbe),_0x8a6871[_0x31cbd2(0x1b3)]?(_0x8a6871[_0x53747b]=!0x0,_0x8a6871['abort'](),_0x8a6871[_0x31cbd2(0xa9)]&&!_0x8a6871['socket']['destroyed']&&_0x8a6871[_0x31cbd2(0xa9)][_0x31cbd2(0x1c7)](),process[_0x31cbd2(0x11a)](_0x583260,_0x10a6e5,_0x8d2f75)):(_0x8a6871[_0x31cbd2(0x1c7)](_0x8d2f75),_0x8a6871[_0x31cbd2(0xa1)](_0x31cbd2(0x12f),_0x10a6e5[_0x31cbd2(0xa2)][_0x31cbd2(0xe1)](_0x10a6e5,_0x31cbd2(0x12f))),_0x8a6871[_0x31cbd2(0xa1)](_0x31cbd2(0x238),_0x10a6e5[_0x31cbd2(0x103)][_0x31cbd2(0xe1)](_0x10a6e5)));}function _0x2935e3(_0x3b357d,_0x2ccfaf,_0x462039){const _0x25b4fc=_0x259d6f;if(_0x2ccfaf){const _0x183ee9=_0x2a51be(_0x2ccfaf)?_0x2ccfaf[_0x25b4fc(0x1d0)]:_0x3a69c2(_0x2ccfaf)['length'];_0x3b357d[_0x25b4fc(0x113)]?_0x3b357d[_0x25b4fc(0xc2)][_0x25b4fc(0x179)]+=_0x183ee9:_0x3b357d[_0x25b4fc(0xf5)]+=_0x183ee9;}if(_0x462039){const _0x2a9253=new Error(_0x25b4fc(0x19b)+_0x3b357d[_0x25b4fc(0x1cd)]+'\x20('+_0x1fef4b[_0x3b357d[_0x25b4fc(0x1cd)]]+')');process[_0x25b4fc(0x11a)](_0x462039,_0x2a9253);}}function _0x57ee03(_0x415164,_0x190254){const _0x521dfb=_0x259d6f,_0x28fe4e=this[_0x1da300];_0x28fe4e[_0x521dfb(0x22a)]=!0x0,_0x28fe4e['_closeMessage']=_0x190254,_0x28fe4e['_closeCode']=_0x415164,_0x28fe4e[_0x521dfb(0x113)][_0x1da300]!==void 0x0&&(_0x28fe4e[_0x521dfb(0x113)][_0x521dfb(0x241)](_0x521dfb(0x126),_0x387f40),process[_0x521dfb(0x11a)](_0x6a1ad7,_0x28fe4e[_0x521dfb(0x113)]),_0x415164===0x3ed?_0x28fe4e[_0x521dfb(0x238)]():_0x28fe4e[_0x521dfb(0x238)](_0x415164,_0x190254));}function _0xa14c76(){const _0x36a01a=_0x259d6f,_0x13287f=this[_0x1da300];_0x13287f[_0x36a01a(0x221)]||_0x13287f[_0x36a01a(0x113)][_0x36a01a(0x237)]();}function _0x147d59(_0x17ef4d){const _0x19bef7=_0x259d6f,_0x3614e3=this[_0x1da300];_0x3614e3['_socket'][_0x1da300]!==void 0x0&&(_0x3614e3[_0x19bef7(0x113)][_0x19bef7(0x241)]('data',_0x387f40),process['nextTick'](_0x6a1ad7,_0x3614e3[_0x19bef7(0x113)]),_0x3614e3['close'](_0x17ef4d[_0x82d7ab])),_0x3614e3[_0x19bef7(0x10c)]||(_0x3614e3[_0x19bef7(0x10c)]=!0x0,_0x3614e3[_0x19bef7(0xa2)](_0x19bef7(0x12f),_0x17ef4d));}function _0x59cace(){const _0x17c96f=_0x259d6f;this[_0x1da300][_0x17c96f(0x103)]();}function _0x35c611(_0x4c9930,_0x54f7ae){const _0x1ade46=_0x259d6f;this[_0x1da300][_0x1ade46(0xa2)](_0x1ade46(0x1cb),_0x4c9930,_0x54f7ae);}function _0x56ad6c(_0x1e69f2){const _0x25576d=_0x259d6f,_0x15e040=this[_0x1da300];_0x15e040[_0x25576d(0x18a)]&&_0x15e040['pong'](_0x1e69f2,!this[_0x25576d(0x1f9)],_0x4e2966),_0x15e040['emit']('ping',_0x1e69f2);}function _0x266193(_0xaff655){const _0x2507c8=_0x259d6f;this[_0x1da300][_0x2507c8(0xa2)](_0x2507c8(0x17d),_0xaff655);}function _0x6a1ad7(_0xb6221){const _0x236c6b=_0x259d6f;_0xb6221[_0x236c6b(0x237)]();}function _0x5570d0(_0x67813b){const _0x276a02=_0x259d6f,_0x762fde=this[_0x1da300];_0x762fde[_0x276a02(0x1cd)]!==_0x3d8179[_0x276a02(0x189)]&&(_0x762fde[_0x276a02(0x1cd)]===_0x3d8179[_0x276a02(0xde)]&&(_0x762fde['_readyState']=_0x3d8179['CLOSING'],_0x321edd(_0x762fde)),this[_0x276a02(0x113)][_0x276a02(0x216)](),_0x762fde[_0x276a02(0x10c)]||(_0x762fde[_0x276a02(0x10c)]=!0x0,_0x762fde['emit'](_0x276a02(0x12f),_0x67813b)));}function _0x321edd(_0x400f96){const _0x154104=_0x259d6f;_0x400f96[_0x154104(0x1f8)]=setTimeout(_0x400f96[_0x154104(0x113)][_0x154104(0x1c7)][_0x154104(0xe1)](_0x400f96[_0x154104(0x113)]),_0x206235);}function _0x3372a8(){const _0x1afe3b=_0x259d6f,_0x300c69=this[_0x1da300];this[_0x1afe3b(0x241)](_0x1afe3b(0x238),_0x3372a8),this['removeListener'](_0x1afe3b(0x126),_0x387f40),this[_0x1afe3b(0x241)](_0x1afe3b(0x216),_0x1f3f9d),_0x300c69['_readyState']=_0x3d8179[_0x1afe3b(0x192)];let _0x241243;!this[_0x1afe3b(0x231)]['endEmitted']&&!_0x300c69[_0x1afe3b(0x22a)]&&!_0x300c69[_0x1afe3b(0x130)][_0x1afe3b(0x212)][_0x1afe3b(0x148)]&&(_0x241243=_0x300c69['_socket'][_0x1afe3b(0xd5)]())!==null&&_0x300c69['_receiver'][_0x1afe3b(0x1aa)](_0x241243),_0x300c69[_0x1afe3b(0x130)]['end'](),this[_0x1da300]=void 0x0,clearTimeout(_0x300c69['_closeTimer']),_0x300c69[_0x1afe3b(0x130)][_0x1afe3b(0x212)][_0x1afe3b(0x17e)]||_0x300c69[_0x1afe3b(0x130)]['_writableState'][_0x1afe3b(0x148)]?_0x300c69[_0x1afe3b(0x103)]():(_0x300c69['_receiver']['on'](_0x1afe3b(0x12f),_0x59cace),_0x300c69[_0x1afe3b(0x130)]['on']('finish',_0x59cace));}function _0x387f40(_0x15a580){const _0x57b99b=_0x259d6f;this[_0x1da300]['_receiver'][_0x57b99b(0x1aa)](_0x15a580)||this[_0x57b99b(0x131)]();}function _0x1f3f9d(){const _0x2c20d6=_0x259d6f,_0x52400c=this[_0x1da300];_0x52400c[_0x2c20d6(0x159)]=_0x3d8179[_0x2c20d6(0x192)],_0x52400c[_0x2c20d6(0x130)][_0x2c20d6(0x216)](),this[_0x2c20d6(0x216)]();}function _0x141c28(){const _0x4173ae=_0x259d6f,_0x458ce9=this[_0x1da300];this[_0x4173ae(0x241)]('error',_0x141c28),this['on'](_0x4173ae(0x12f),_0x4e2966),_0x458ce9&&(_0x458ce9['_readyState']=_0x3d8179[_0x4173ae(0x192)],this[_0x4173ae(0x1c7)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0xc58b46}=_0x32aa0b;function _0x2d07d8(_0x296845){const _0x3d0406=_0x22e7;_0x296845[_0x3d0406(0xa2)](_0x3d0406(0x238));}function _0x3d50ba(){const _0x53a5ee=_0x22e7;!this[_0x53a5ee(0xd0)]&&this['_writableState'][_0x53a5ee(0x17e)]&&this['destroy']();}function _0x39762e(_0x1aa3e4){const _0x3f49a3=_0x22e7;this[_0x3f49a3(0x241)](_0x3f49a3(0x12f),_0x39762e),this[_0x3f49a3(0x1c7)](),this[_0x3f49a3(0x1ed)]('error')===0x0&&this[_0x3f49a3(0xa2)]('error',_0x1aa3e4);}function _0x4b503f(_0x19dd4d,_0x485c6a){const _0x555751=_0x22e7;let _0x362b69=!0x0;const _0x6a9802=new _0xc58b46({..._0x485c6a,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x19dd4d['on'](_0x555751(0x1cb),function(_0x4f99ac,_0x535178){const _0x4de84d=_0x555751,_0x4234a6=!_0x535178&&_0x6a9802[_0x4de84d(0x231)][_0x4de84d(0x251)]?_0x4f99ac[_0x4de84d(0x1f6)]():_0x4f99ac;_0x6a9802[_0x4de84d(0x198)](_0x4234a6)||_0x19dd4d[_0x4de84d(0x131)]();}),_0x19dd4d[_0x555751(0xa1)]('error',function(_0xed5a38){const _0x183d16=_0x555751;_0x6a9802[_0x183d16(0xd0)]||(_0x362b69=!0x1,_0x6a9802[_0x183d16(0x1c7)](_0xed5a38));}),_0x19dd4d[_0x555751(0xa1)]('close',function(){const _0x136766=_0x555751;_0x6a9802['destroyed']||_0x6a9802[_0x136766(0x198)](null);}),_0x6a9802[_0x555751(0xa3)]=function(_0x19ecbb,_0x3da792){const _0x35ccca=_0x555751;if(_0x19dd4d['readyState']===_0x19dd4d[_0x35ccca(0x189)]){_0x3da792(_0x19ecbb),process[_0x35ccca(0x11a)](_0x2d07d8,_0x6a9802);return;}let _0xdad7cf=!0x1;_0x19dd4d[_0x35ccca(0xa1)](_0x35ccca(0x12f),function(_0x5785be){_0xdad7cf=!0x0,_0x3da792(_0x5785be);}),_0x19dd4d['once']('close',function(){const _0x3fa8de=_0x35ccca;_0xdad7cf||_0x3da792(_0x19ecbb),process[_0x3fa8de(0x11a)](_0x2d07d8,_0x6a9802);}),_0x362b69&&_0x19dd4d['terminate']();},_0x6a9802[_0x555751(0x18b)]=function(_0xf0d26e){const _0x295720=_0x555751;if(_0x19dd4d[_0x295720(0x1cd)]===_0x19dd4d['CONNECTING']){_0x19dd4d[_0x295720(0xa1)](_0x295720(0xae),function(){const _0x5435b6=_0x295720;_0x6a9802[_0x5435b6(0x18b)](_0xf0d26e);});return;}_0x19dd4d[_0x295720(0x113)]!==null&&(_0x19dd4d[_0x295720(0x113)]['_writableState'][_0x295720(0x17e)]?(_0xf0d26e(),_0x6a9802[_0x295720(0x231)][_0x295720(0x9e)]&&_0x6a9802[_0x295720(0x1c7)]()):(_0x19dd4d['_socket']['once'](_0x295720(0x21d),function(){_0xf0d26e();}),_0x19dd4d['close']()));},_0x6a9802[_0x555751(0x129)]=function(){const _0x5d1980=_0x555751;_0x19dd4d[_0x5d1980(0x221)]&&_0x19dd4d[_0x5d1980(0x237)]();},_0x6a9802[_0x555751(0xe6)]=function(_0x1cecbb,_0x1f6a1d,_0x2aaab1){const _0x41b516=_0x555751;if(_0x19dd4d[_0x41b516(0x1cd)]===_0x19dd4d[_0x41b516(0x22c)]){_0x19dd4d[_0x41b516(0xa1)]('open',function(){const _0x4baf97=_0x41b516;_0x6a9802[_0x4baf97(0xe6)](_0x1cecbb,_0x1f6a1d,_0x2aaab1);});return;}_0x19dd4d[_0x41b516(0x1d3)](_0x1cecbb,_0x2aaab1);},_0x6a9802['on'](_0x555751(0x216),_0x3d50ba),_0x6a9802['on'](_0x555751(0x12f),_0x39762e),_0x6a9802;}return Oe=_0x4b503f,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x2c7cba}=ne();function _0x56615e(_0x3b80b6){const _0x39396f=_0x22e7,_0x4c7dda=new Set();let _0x2b530a=-0x1,_0x5eb842=-0x1,_0x22fc67=0x0;for(_0x22fc67;_0x22fc67<_0x3b80b6[_0x39396f(0x12a)];_0x22fc67++){const _0x4cdfa8=_0x3b80b6['charCodeAt'](_0x22fc67);if(_0x5eb842===-0x1&&_0x2c7cba[_0x4cdfa8]===0x1)_0x2b530a===-0x1&&(_0x2b530a=_0x22fc67);else{if(_0x22fc67!==0x0&&(_0x4cdfa8===0x20||_0x4cdfa8===0x9))_0x5eb842===-0x1&&_0x2b530a!==-0x1&&(_0x5eb842=_0x22fc67);else{if(_0x4cdfa8===0x2c){if(_0x2b530a===-0x1)throw new SyntaxError(_0x39396f(0x183)+_0x22fc67);_0x5eb842===-0x1&&(_0x5eb842=_0x22fc67);const _0x526471=_0x3b80b6[_0x39396f(0xa5)](_0x2b530a,_0x5eb842);if(_0x4c7dda[_0x39396f(0x164)](_0x526471))throw new SyntaxError(_0x39396f(0x1df)+_0x526471+_0x39396f(0x171));_0x4c7dda[_0x39396f(0x1d8)](_0x526471),_0x2b530a=_0x5eb842=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x22fc67);}}}if(_0x2b530a===-0x1||_0x5eb842!==-0x1)throw new SyntaxError(_0x39396f(0x10f));const _0x3df7ce=_0x3b80b6[_0x39396f(0xa5)](_0x2b530a,_0x22fc67);if(_0x4c7dda['has'](_0x3df7ce))throw new SyntaxError(_0x39396f(0x1df)+_0x3df7ce+_0x39396f(0x171));return _0x4c7dda['add'](_0x3df7ce),_0x4c7dda;}return Ce={'parse':_0x56615e},Ce;}var Te,ot;function er(){const _0x351d17=_0x142a78;if(ot)return Te;ot=0x1;const _0x4afbf9=_0xa42f3d,_0x199c0f=_0x412828,{Duplex:_0x3ffb6a}=_0x32aa0b,{createHash:_0x32e044}=_0x79c0dc,_0x25b7fb=pt(),_0x2ef1eb=he(),_0x4c040b=Jt(),_0x16de04=Ie(),{GUID:_0x5f0e03,kWebSocket:_0x4885b8}=V(),_0x2e6d68=/^[+/0-9A-Za-z]{22}==$/,_0x12d005=0x0,_0x1d3a45=0x1,_0x205574=0x2;class _0x5e78f6 extends _0x4afbf9{constructor(_0xa18e69,_0x1fb5b3){const _0x39d378=_0x22e7;if(super(),_0xa18e69={'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':_0x16de04,..._0xa18e69},_0xa18e69['port']==null&&!_0xa18e69[_0x39d378(0x20c)]&&!_0xa18e69[_0x39d378(0xea)]||_0xa18e69[_0x39d378(0x175)]!=null&&(_0xa18e69[_0x39d378(0x20c)]||_0xa18e69[_0x39d378(0xea)])||_0xa18e69[_0x39d378(0x20c)]&&_0xa18e69[_0x39d378(0xea)])throw new TypeError(_0x39d378(0x1ad));if(_0xa18e69[_0x39d378(0x175)]!=null?(this['_server']=_0x199c0f[_0x39d378(0x155)]((_0xc981fd,_0x364480)=>{const _0x1ea9a3=_0x39d378,_0x128715=_0x199c0f[_0x1ea9a3(0x1ce)][0x1aa];_0x364480['writeHead'](0x1aa,{'Content-Length':_0x128715[_0x1ea9a3(0x12a)],'Content-Type':_0x1ea9a3(0xd3)}),_0x364480[_0x1ea9a3(0x216)](_0x128715);}),this[_0x39d378(0x169)]['listen'](_0xa18e69[_0x39d378(0x175)],_0xa18e69[_0x39d378(0x135)],_0xa18e69[_0x39d378(0x112)],_0x1fb5b3)):_0xa18e69[_0x39d378(0x20c)]&&(this[_0x39d378(0x169)]=_0xa18e69['server']),this[_0x39d378(0x169)]){const _0x394c91=this[_0x39d378(0xa2)]['bind'](this,_0x39d378(0x204));this[_0x39d378(0x104)]=_0x3abcbe(this[_0x39d378(0x169)],{'listening':this[_0x39d378(0xa2)][_0x39d378(0xe1)](this,_0x39d378(0x15c)),'error':this[_0x39d378(0xa2)][_0x39d378(0xe1)](this,_0x39d378(0x12f)),'upgrade':(_0x4f4c32,_0x60e88a,_0x550d73)=>{const _0xf73d47=_0x39d378;this[_0xf73d47(0x182)](_0x4f4c32,_0x60e88a,_0x550d73,_0x394c91);}});}_0xa18e69[_0x39d378(0x1ca)]===!0x0&&(_0xa18e69[_0x39d378(0x1ca)]={}),_0xa18e69[_0x39d378(0x1e4)]&&(this[_0x39d378(0x9a)]=new Set(),this[_0x39d378(0x214)]=!0x1),this[_0x39d378(0xed)]=_0xa18e69,this[_0x39d378(0xb3)]=_0x12d005;}[_0x351d17(0x1ba)](){const _0x57a686=_0x351d17;if(this[_0x57a686(0xed)][_0x57a686(0xea)])throw new Error(_0x57a686(0x1cc));return this[_0x57a686(0x169)]?this['_server'][_0x57a686(0x1ba)]():null;}['close'](_0xbedc7d){const _0x207d8e=_0x351d17;if(this['_state']===_0x205574){_0xbedc7d&&this[_0x207d8e(0xa1)]('close',()=>{const _0x16356e=_0x207d8e;_0xbedc7d(new Error(_0x16356e(0x1e6)));}),process[_0x207d8e(0x11a)](_0x2e02dd,this);return;}if(_0xbedc7d&&this[_0x207d8e(0xa1)](_0x207d8e(0x238),_0xbedc7d),this[_0x207d8e(0xb3)]!==_0x1d3a45){if(this['_state']=_0x1d3a45,this[_0x207d8e(0xed)][_0x207d8e(0xea)]||this[_0x207d8e(0xed)][_0x207d8e(0x20c)])this[_0x207d8e(0x169)]&&(this[_0x207d8e(0x104)](),this[_0x207d8e(0x104)]=this[_0x207d8e(0x169)]=null),this[_0x207d8e(0x9a)]?this['clients'][_0x207d8e(0x1d0)]?this[_0x207d8e(0x214)]=!0x0:process[_0x207d8e(0x11a)](_0x2e02dd,this):process[_0x207d8e(0x11a)](_0x2e02dd,this);else{const _0x19f206=this['_server'];this[_0x207d8e(0x104)](),this[_0x207d8e(0x104)]=this[_0x207d8e(0x169)]=null,_0x19f206[_0x207d8e(0x238)](()=>{_0x2e02dd(this);});}}}[_0x351d17(0x1c3)](_0x3eda81){const _0x53fd02=_0x351d17;if(this[_0x53fd02(0xed)][_0x53fd02(0x18d)]){const _0x22965d=_0x3eda81[_0x53fd02(0x1e1)][_0x53fd02(0x14b)]('?');if((_0x22965d!==-0x1?_0x3eda81['url'][_0x53fd02(0xa5)](0x0,_0x22965d):_0x3eda81[_0x53fd02(0x1e1)])!==this['options'][_0x53fd02(0x18d)])return!0x1;}return!0x0;}['handleUpgrade'](_0x3388c7,_0x5ef9aa,_0x3e1e92,_0x2053a8){const _0x4d522a=_0x351d17;_0x5ef9aa['on'](_0x4d522a(0x12f),_0x1e217c);const _0x5d6511=_0x3388c7[_0x4d522a(0x1a6)][_0x4d522a(0x228)],_0x58aac6=_0x3388c7[_0x4d522a(0x1a6)][_0x4d522a(0x244)],_0x456ac4=+_0x3388c7[_0x4d522a(0x1a6)]['sec-websocket-version'];if(_0x3388c7['method']!==_0x4d522a(0x18e)){_0x5a303f(this,_0x3388c7,_0x5ef9aa,0x195,_0x4d522a(0x149));return;}if(_0x58aac6===void 0x0||_0x58aac6[_0x4d522a(0x128)]()!==_0x4d522a(0x1d5)){_0x5a303f(this,_0x3388c7,_0x5ef9aa,0x190,_0x4d522a(0x23b));return;}if(_0x5d6511===void 0x0||!_0x2e6d68[_0x4d522a(0x174)](_0x5d6511)){_0x5a303f(this,_0x3388c7,_0x5ef9aa,0x190,_0x4d522a(0x98));return;}if(_0x456ac4!==0x8&&_0x456ac4!==0xd){_0x5a303f(this,_0x3388c7,_0x5ef9aa,0x190,_0x4d522a(0x133));return;}if(!this[_0x4d522a(0x1c3)](_0x3388c7)){_0x11fc64(_0x5ef9aa,0x190);return;}const _0x4c8246=_0x3388c7[_0x4d522a(0x1a6)][_0x4d522a(0x17b)];let _0x8256d2=new Set();if(_0x4c8246!==void 0x0)try{_0x8256d2=_0x4c040b[_0x4d522a(0x153)](_0x4c8246);}catch{_0x5a303f(this,_0x3388c7,_0x5ef9aa,0x190,_0x4d522a(0x1ac));return;}const _0xb1366c=_0x3388c7['headers'][_0x4d522a(0x9f)],_0x2839bb={};if(this[_0x4d522a(0xed)][_0x4d522a(0x1ca)]&&_0xb1366c!==void 0x0){const _0x20ffd4=new _0x2ef1eb(this[_0x4d522a(0xed)][_0x4d522a(0x1ca)],!0x0,this[_0x4d522a(0xed)][_0x4d522a(0xcc)]);try{const _0x4230d0=_0x25b7fb['parse'](_0xb1366c);_0x4230d0[_0x2ef1eb[_0x4d522a(0x115)]]&&(_0x20ffd4[_0x4d522a(0xf7)](_0x4230d0[_0x2ef1eb['extensionName']]),_0x2839bb[_0x2ef1eb[_0x4d522a(0x115)]]=_0x20ffd4);}catch{_0x5a303f(this,_0x3388c7,_0x5ef9aa,0x190,_0x4d522a(0xeb));return;}}if(this[_0x4d522a(0xed)][_0x4d522a(0x186)]){const _0x138f99={'origin':_0x3388c7[_0x4d522a(0x1a6)][''+(_0x456ac4===0x8?_0x4d522a(0x1b1):'origin')],'secure':!!(_0x3388c7[_0x4d522a(0xa9)][_0x4d522a(0x1d2)]||_0x3388c7[_0x4d522a(0xa9)][_0x4d522a(0xb5)]),'req':_0x3388c7};if(this[_0x4d522a(0xed)][_0x4d522a(0x186)]['length']===0x2){this[_0x4d522a(0xed)]['verifyClient'](_0x138f99,(_0x1850e7,_0x1f06a3,_0x17da21,_0x320d96)=>{const _0x1e1bcd=_0x4d522a;if(!_0x1850e7)return _0x11fc64(_0x5ef9aa,_0x1f06a3||0x191,_0x17da21,_0x320d96);this[_0x1e1bcd(0xf9)](_0x2839bb,_0x5d6511,_0x8256d2,_0x3388c7,_0x5ef9aa,_0x3e1e92,_0x2053a8);});return;}if(!this[_0x4d522a(0xed)][_0x4d522a(0x186)](_0x138f99))return _0x11fc64(_0x5ef9aa,0x191);}this[_0x4d522a(0xf9)](_0x2839bb,_0x5d6511,_0x8256d2,_0x3388c7,_0x5ef9aa,_0x3e1e92,_0x2053a8);}[_0x351d17(0xf9)](_0x4c09f2,_0x56302c,_0x3a5e59,_0x9ac335,_0x4329bb,_0x343e44,_0x120561){const _0x464d44=_0x351d17;if(!_0x4329bb[_0x464d44(0x1be)]||!_0x4329bb['writable'])return _0x4329bb[_0x464d44(0x1c7)]();if(_0x4329bb[_0x4885b8])throw new Error(_0x464d44(0xbf));if(this[_0x464d44(0xb3)]>_0x12d005)return _0x11fc64(_0x4329bb,0x1f7);const _0x2b9b72=[_0x464d44(0x1ae),'Upgrade:\x20websocket',_0x464d44(0x24b),'Sec-WebSocket-Accept:\x20'+_0x32e044(_0x464d44(0x162))['update'](_0x56302c+_0x5f0e03)[_0x464d44(0x197)](_0x464d44(0x168))],_0x483ace=new this[(_0x464d44(0xed))][(_0x464d44(0x247))](null,void 0x0,this['options']);if(_0x3a5e59[_0x464d44(0x1d0)]){const _0x4c2876=this[_0x464d44(0xed)][_0x464d44(0x9d)]?this[_0x464d44(0xed)]['handleProtocols'](_0x3a5e59,_0x9ac335):_0x3a5e59[_0x464d44(0x180)]()['next']()[_0x464d44(0x17a)];_0x4c2876&&(_0x2b9b72[_0x464d44(0x198)](_0x464d44(0x15d)+_0x4c2876),_0x483ace['_protocol']=_0x4c2876);}if(_0x4c09f2[_0x2ef1eb[_0x464d44(0x115)]]){const _0xef2be9=_0x4c09f2[_0x2ef1eb['extensionName']][_0x464d44(0x146)],_0x454c0b=_0x25b7fb[_0x464d44(0xbc)]({[_0x2ef1eb[_0x464d44(0x115)]]:[_0xef2be9]});_0x2b9b72[_0x464d44(0x198)](_0x464d44(0x188)+_0x454c0b),_0x483ace[_0x464d44(0xcf)]=_0x4c09f2;}this[_0x464d44(0xa2)](_0x464d44(0x1a6),_0x2b9b72,_0x9ac335),_0x4329bb[_0x464d44(0x1aa)](_0x2b9b72[_0x464d44(0xef)]('\x0d\x0a')[_0x464d44(0xa8)]('\x0d\x0a')),_0x4329bb[_0x464d44(0x241)](_0x464d44(0x12f),_0x1e217c),_0x483ace[_0x464d44(0x19f)](_0x4329bb,_0x343e44,{'allowSynchronousEvents':this[_0x464d44(0xed)][_0x464d44(0xab)],'maxPayload':this[_0x464d44(0xed)][_0x464d44(0xcc)],'skipUTF8Validation':this[_0x464d44(0xed)][_0x464d44(0x232)]}),this[_0x464d44(0x9a)]&&(this[_0x464d44(0x9a)][_0x464d44(0x1d8)](_0x483ace),_0x483ace['on'](_0x464d44(0x238),()=>{const _0x2a0bca=_0x464d44;this[_0x2a0bca(0x9a)][_0x2a0bca(0x203)](_0x483ace),this[_0x2a0bca(0x214)]&&!this[_0x2a0bca(0x9a)][_0x2a0bca(0x1d0)]&&process[_0x2a0bca(0x11a)](_0x2e02dd,this);})),_0x120561(_0x483ace,_0x9ac335);}}Te=_0x5e78f6;function _0x3abcbe(_0x1d26a2,_0x169e3e){const _0x20044c=_0x351d17;for(const _0x1dd69e of Object[_0x20044c(0x1c5)](_0x169e3e))_0x1d26a2['on'](_0x1dd69e,_0x169e3e[_0x1dd69e]);return function(){const _0x31b38d=_0x20044c;for(const _0x1973ba of Object['keys'](_0x169e3e))_0x1d26a2[_0x31b38d(0x241)](_0x1973ba,_0x169e3e[_0x1973ba]);};}function _0x2e02dd(_0x3e4675){const _0xafed39=_0x351d17;_0x3e4675[_0xafed39(0xb3)]=_0x205574,_0x3e4675[_0xafed39(0xa2)](_0xafed39(0x238));}function _0x1e217c(){const _0x4f3fe1=_0x351d17;this[_0x4f3fe1(0x1c7)]();}function _0x11fc64(_0x1904cb,_0x53e7bd,_0x582f24,_0x26725c){const _0x106bcf=_0x351d17;_0x582f24=_0x582f24||_0x199c0f[_0x106bcf(0x1ce)][_0x53e7bd],_0x26725c={'Connection':'close','Content-Type':_0x106bcf(0x1bb),'Content-Length':Buffer['byteLength'](_0x582f24),..._0x26725c},_0x1904cb[_0x106bcf(0xa1)](_0x106bcf(0x21d),_0x1904cb[_0x106bcf(0x1c7)]),_0x1904cb['end'](_0x106bcf(0x213)+_0x53e7bd+'\x20'+_0x199c0f[_0x106bcf(0x1ce)][_0x53e7bd]+'\x0d\x0a'+Object[_0x106bcf(0x1c5)](_0x26725c)[_0x106bcf(0x24c)](_0x3bd554=>_0x3bd554+':\x20'+_0x26725c[_0x3bd554])['join']('\x0d\x0a')+_0x106bcf(0x99)+_0x582f24);}function _0x5a303f(_0x2d31ea,_0x57f22b,_0x5ebc73,_0x39469e,_0x72f224){const _0x298c0c=_0x351d17;if(_0x2d31ea[_0x298c0c(0x1ed)](_0x298c0c(0x122))){const _0x121f10=new Error(_0x72f224);Error[_0x298c0c(0x245)](_0x121f10,_0x5a303f),_0x2d31ea['emit'](_0x298c0c(0x122),_0x121f10,_0x5ebc73,_0x57f22b);}else _0x11fc64(_0x5ebc73,_0x39469e,_0x72f224);}return Te;}er();var tr=Object[_0x142a78(0xe7)],rr=(_0x4a4c73,_0x4dfdf5,_0x68e5c0,_0x2d59c6)=>{const _0x457499=_0x142a78;for(var _0x3f41bf=_0x2d59c6>0x1?void 0x0:_0x2d59c6?tr(_0x4dfdf5,_0x68e5c0):_0x4dfdf5,_0x36ee89=_0x4a4c73[_0x457499(0x12a)]-0x1,_0x5c066a;_0x36ee89>=0x0;_0x36ee89--)(_0x5c066a=_0x4a4c73[_0x36ee89])&&(_0x3f41bf=_0x5c066a(_0x3f41bf)||_0x3f41bf);return _0x3f41bf;},sr=(_0x235d39,_0x1eaa16)=>(_0x55808e,_0x47d749)=>_0x1eaa16(_0x55808e,_0x47d749,_0x235d39);let Ne=class extends _0x57e76e{constructor(_0xc84868){const _0xfd48e2=_0x142a78;super(),this[_0xfd48e2(0x1ec)]=_0xc84868;}[_0x142a78(0x181)](_0xab965f){const _0xe4cc1e=_0x142a78;var _0x5b4c22;const _0x58c203=(_0x5b4c22=this[_0xe4cc1e(0x1ec)][_0xe4cc1e(0x178)](Be))==null?void 0x0:_0x5b4c22['customHeaders'];try{const _0x52ee1c=new Qt(_0xab965f,{'headers':{..._0x58c203}}),_0x340384=new _0x245e6b();return{'URL':_0xab965f,'close':(_0x221715,_0x302111)=>{const _0x1f5fc5=_0xe4cc1e;_0x52ee1c[_0x1f5fc5(0x238)](_0x221715,_0x302111),_0x340384[_0x1f5fc5(0x1ff)]();},'send':_0x28c99e=>{const _0x458e28=_0xe4cc1e;_0x52ee1c[_0x458e28(0x1d3)](_0x28c99e);},'open$':new _0x2fa323(_0x447d2f=>{const _0x2b7d86=_0xe4cc1e,_0x15624e=_0x241f05=>_0x447d2f[_0x2b7d86(0x111)](_0x241f05);_0x52ee1c[_0x2b7d86(0x110)](_0x2b7d86(0xae),_0x15624e),_0x340384[_0x2b7d86(0x1d8)](_0x32342a(()=>_0x52ee1c[_0x2b7d86(0x150)]('open',_0x15624e)));})[_0xe4cc1e(0x20d)](_0x27440d()),'close$':new _0x2fa323(_0x267733=>{const _0x5600b7=_0xe4cc1e,_0x4de46a=_0x1cd26d=>_0x267733['next'](_0x1cd26d);_0x52ee1c[_0x5600b7(0x110)]('close',_0x4de46a),_0x340384[_0x5600b7(0x1d8)](_0x32342a(()=>_0x52ee1c[_0x5600b7(0x150)](_0x5600b7(0x238),_0x4de46a)));})['pipe'](_0x27440d()),'error$':new _0x2fa323(_0x455ce4=>{const _0x77dc3b=_0xe4cc1e,_0x3b3aeb=_0x3fc688=>_0x455ce4[_0x77dc3b(0x111)](_0x3fc688);_0x52ee1c[_0x77dc3b(0x110)](_0x77dc3b(0x12f),_0x3b3aeb),_0x340384[_0x77dc3b(0x1d8)](_0x32342a(()=>_0x52ee1c['removeEventListener'](_0x77dc3b(0x12f),_0x3b3aeb)));})[_0xe4cc1e(0x20d)](_0x27440d()),'message$':new _0x2fa323(_0x490420=>{const _0x32c92c=_0xe4cc1e,_0x374a49=_0x30553d=>_0x490420[_0x32c92c(0x111)](_0x30553d);_0x52ee1c[_0x32c92c(0x110)](_0x32c92c(0x1cb),_0x374a49),_0x340384['add'](_0x32342a(()=>_0x52ee1c[_0x32c92c(0x150)](_0x32c92c(0x1cb),_0x374a49)));})[_0xe4cc1e(0x20d)](_0x27440d())};}catch(_0x1662f2){return console[_0xe4cc1e(0x12f)](_0x1662f2),null;}}};Ne=rr([sr(0x0,_0x580e3d)],Ne);var ir=Object[_0x142a78(0x209)],nr=Object[_0x142a78(0xe7)],or=(_0x58e47b,_0x5a9bb8,_0x24841b)=>_0x5a9bb8 in _0x58e47b?ir(_0x58e47b,_0x5a9bb8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x24841b}):_0x58e47b[_0x5a9bb8]=_0x24841b,ar=(_0x3d1506,_0x1aa3f2,_0x708a69,_0x2ebd47)=>{const _0x4fe877=_0x142a78;for(var _0x63d734=_0x2ebd47>0x1?void 0x0:_0x2ebd47?nr(_0x1aa3f2,_0x708a69):_0x1aa3f2,_0x232429=_0x3d1506[_0x4fe877(0x12a)]-0x1,_0x4a39d6;_0x232429>=0x0;_0x232429--)(_0x4a39d6=_0x3d1506[_0x232429])&&(_0x63d734=_0x4a39d6(_0x63d734)||_0x63d734);return _0x63d734;},ke=(_0x3b798d,_0x1b14d9)=>(_0x51036a,_0x2449b1)=>_0x1b14d9(_0x51036a,_0x2449b1,_0x3b798d),lr=(_0x1cb3cb,_0x4d9f20,_0x598256)=>or(_0x1cb3cb,_0x4d9f20+'',_0x598256);let Pe=class extends _0x3f2ec7{constructor(_0x298516=Ft,_0x54c54e,_0x48eb6f,_0x45b03f){const _0x535eb2=_0x142a78;_0x298516['customHeaders']||_0x54c54e[_0x535eb2(0x222)](_0x535eb2(0x1f5)),super(),this[_0x535eb2(0x1ec)]=_0x48eb6f,this[_0x535eb2(0x1b8)]=_0x45b03f,this[_0x535eb2(0x1ec)][_0x535eb2(0x1bd)](Be,_0x298516);}[_0x142a78(0x139)](){const _0x19f2a7=_0x142a78;this[_0x19f2a7(0x23d)]();}[_0x142a78(0x23d)](){const _0x39dd09=_0x142a78;_0xf507c1(this[_0x39dd09(0x1b8)],[[_0xe0bdf5,{'useClass':Ne}]]);}};lr(Pe,_0x142a78(0x106),_0x142a78(0x176)),Pe=ar([_0xcc7d7c(_0x194563),ke(0x1,_0x206aee),ke(0x2,_0x580e3d),ke(0x3,_0x5c2868(_0x42eaa1))],Pe);var fr=Object[_0x142a78(0xe7)],cr=(_0x2bf464,_0x2e840c,_0x5eabcf,_0x45acf8)=>{const _0x5981cf=_0x142a78;for(var _0x560ba2=_0x45acf8>0x1?void 0x0:_0x45acf8?fr(_0x2e840c,_0x5eabcf):_0x2e840c,_0x1ed678=_0x2bf464[_0x5981cf(0x12a)]-0x1,_0x263968;_0x1ed678>=0x0;_0x1ed678--)(_0x263968=_0x2bf464[_0x1ed678])&&(_0x560ba2=_0x263968(_0x560ba2)||_0x560ba2);return _0x560ba2;},se=(_0x19fe43,_0x147f87)=>(_0xa5d444,_0x4c9dae)=>_0x147f87(_0xa5d444,_0x4c9dae,_0x19fe43);let at=class extends _0x7c7160{constructor(_0x3eaa43,_0x198671,_0x40cfc3,_0x1cd479,_0x670d3d){const _0x480c3b=_0x142a78;super(_0x3eaa43,_0x198671,_0x40cfc3,_0x1cd479,_0x670d3d);const _0x58a17f=this[_0x480c3b(0x1ec)][_0x480c3b(0x178)](Be);this[_0x480c3b(0x15a)][_0x480c3b(0x1af)]({'interceptor':(_0x19f5aa,_0x226c5a)=>{const _0x5308c8=_0x480c3b;var _0x4404c6;const _0x3d8d7f=_0x19f5aa[_0x5308c8(0x1a6)];return(_0x4404c6=_0x58a17f==null?void 0x0:_0x58a17f[_0x5308c8(0x144)])!=null&&_0x4404c6[_0x5308c8(0x242)]&&_0x3d8d7f['set'](_0x5308c8(0x1f2),_0x58a17f[_0x5308c8(0x144)][_0x5308c8(0x242)]),_0x226c5a(_0x19f5aa);}});}async[_0x142a78(0x181)](_0x4f12e0){return this['_doCreateSocket'](_0x4f12e0);}};at=cr([se(0x0,_0x5c2868(_0x42eaa1)),se(0x1,_0x5c2868(_0x1e8940)),se(0x2,_0x580e3d),se(0x3,_0x206aee),se(0x4,_0x1f08f9)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x493d39=_0x1701;(function(_0x3bd27b,_0x53f346){const _0x4529fd=_0x1701,_0x18e303=_0x3bd27b();while(!![]){try{const _0x5e8603=parseInt(_0x4529fd(0x22b))/0x1*(parseInt(_0x4529fd(0x25b))/0x2)+parseInt(_0x4529fd(0x167))/0x3+parseInt(_0x4529fd(0x212))/0x4*(-parseInt(_0x4529fd(0x194))/0x5)+parseInt(_0x4529fd(0x16a))/0x6*(-parseInt(_0x4529fd(0x147))/0x7)+parseInt(_0x4529fd(0x2b6))/0x8+parseInt(_0x4529fd(0x21c))/0x9*(-parseInt(_0x4529fd(0x2c5))/0xa)+-parseInt(_0x4529fd(0x1d9))/0xb*(-parseInt(_0x4529fd(0x1c9))/0xc);if(_0x5e8603===_0x53f346)break;else _0x18e303['push'](_0x18e303['shift']());}catch(_0x13337a){_0x18e303['push'](_0x18e303['shift']());}}}(_0x3b54,0x2c012));import{UniverCollaborationClientPlugin as _0x3a8443,CollaborationSocketService as _0x4787db}from'@univerjs-pro/collaboration-client';import{Disposable as _0x4366f8,DisposableCollection as _0x51b303,toDisposable as _0x58d495,IConfigService as _0x1e50f9,DependentOn as _0x43002b,ILogService as _0x2c9fba,Inject as _0x2c187e,Injector as _0x2c8b21,Plugin as _0xd4df3f,registerDependencies as _0x2d4403}from'@univerjs/core';import{ISocketService as _0x27abaf,HTTPService as _0x8b7a88}from'@univerjs/network';import{Observable as _0x2c272d,share as _0x214570}from'rxjs';import _0xd5fa55 from'events';import _0x311af8 from'https';import _0x5848fe from'http';import _0x302956 from'net';import _0x454525 from'tls';import _0x383096 from'crypto';import _0x4cd284 from'stream';import _0x4787f6 from'url';import _0x284b3d from'zlib';import _0x2bc92d from'buffer';import{ISnapshotServerService as _0x5b5f6d}from'@univerjs-pro/collaboration';const Be=_0x493d39(0x169),Ft={'customHeaders':{}};function jt(_0x88423){const _0x4cc591=_0x493d39;return _0x88423&&_0x88423[_0x4cc591(0x1da)]&&Object[_0x4cc591(0x25e)][_0x4cc591(0x1a0)]['call'](_0x88423,'default')?_0x88423[_0x4cc591(0x1dd)]:_0x88423;}function ut(_0x5344cf){const _0x584802=_0x493d39;if(Object['prototype'][_0x584802(0x1a0)][_0x584802(0x227)](_0x5344cf,_0x584802(0x1da)))return _0x5344cf;var _0x107db8=_0x5344cf[_0x584802(0x1dd)];if(typeof _0x107db8==_0x584802(0x1ed)){var _0x58adb8=function _0x1e2450(){const _0x546304=_0x584802;return this instanceof _0x1e2450?Reflect[_0x546304(0x22e)](_0x107db8,arguments,this['constructor']):_0x107db8[_0x546304(0x1b2)](this,arguments);};_0x58adb8[_0x584802(0x25e)]=_0x107db8[_0x584802(0x25e)];}else _0x58adb8={};return Object['defineProperty'](_0x58adb8,_0x584802(0x1da),{'value':!0x0}),Object[_0x584802(0x294)](_0x5344cf)['forEach'](function(_0x443559){const _0x3c285e=_0x584802;var _0x33295e=Object[_0x3c285e(0x168)](_0x5344cf,_0x443559);Object[_0x3c285e(0x193)](_0x58adb8,_0x443559,_0x33295e[_0x3c285e(0x196)]?_0x33295e:{'enumerable':!0x0,'get':function(){return _0x5344cf[_0x443559];}});}),_0x58adb8;}var te={'exports':{}},ge,Ye;function V(){const _0x395a20=_0x493d39;if(Ye)return ge;Ye=0x1;const _0x5b6721=['nodebuffer',_0x395a20(0x23d),'fragments'],_0x226307=typeof Blob<'u';return _0x226307&&_0x5b6721['push'](_0x395a20(0x272)),ge={'BINARY_TYPES':_0x5b6721,'EMPTY_BUFFER':Buffer[_0x395a20(0x1b7)](0x0),'GUID':_0x395a20(0x1a6),'hasBlob':_0x226307,'kForOnEventAttribute':Symbol(_0x395a20(0x1ee)),'kListener':Symbol('kListener'),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x395a20(0x198)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x493d39(0x1ea)](Object[_0x493d39(0x193)]({'__proto__':null,'default':Wt},Symbol[_0x493d39(0x1ae)],{'value':_0x493d39(0x2ce)})),Vt=ut(Gt);var Ke;function ce(){const _0xa5343f=_0x493d39;if(Ke)return te[_0xa5343f(0x15a)];Ke=0x1;const {EMPTY_BUFFER:_0x4bc066}=V(),_0x55e826=Buffer[Symbol[_0xa5343f(0x2d1)]];function _0x3b7662(_0x1f96cc,_0x7a6939){const _0x48013c=_0xa5343f;if(_0x1f96cc['length']===0x0)return _0x4bc066;if(_0x1f96cc[_0x48013c(0x2c7)]===0x1)return _0x1f96cc[0x0];const _0x2f6e04=Buffer[_0x48013c(0x152)](_0x7a6939);let _0xce153a=0x0;for(let _0x706f44=0x0;_0x706f44<_0x1f96cc[_0x48013c(0x2c7)];_0x706f44++){const _0xe0970e=_0x1f96cc[_0x706f44];_0x2f6e04[_0x48013c(0x19f)](_0xe0970e,_0xce153a),_0xce153a+=_0xe0970e[_0x48013c(0x2c7)];}return _0xce153a<_0x7a6939?new _0x55e826(_0x2f6e04[_0x48013c(0x18c)],_0x2f6e04[_0x48013c(0x19c)],_0xce153a):_0x2f6e04;}function _0x805178(_0x36bd83,_0x4d4277,_0x4f1f1a,_0xab736,_0x3bb6a5){for(let _0x30a29c=0x0;_0x30a29c<_0x3bb6a5;_0x30a29c++)_0x4f1f1a[_0xab736+_0x30a29c]=_0x36bd83[_0x30a29c]^_0x4d4277[_0x30a29c&0x3];}function _0x456545(_0x3e62b8,_0x426132){const _0x9fe10d=_0xa5343f;for(let _0x3d1902=0x0;_0x3d1902<_0x3e62b8[_0x9fe10d(0x2c7)];_0x3d1902++)_0x3e62b8[_0x3d1902]^=_0x426132[_0x3d1902&0x3];}function _0x16765d(_0x57c2e4){const _0x3f36ed=_0xa5343f;return _0x57c2e4[_0x3f36ed(0x2c7)]===_0x57c2e4[_0x3f36ed(0x18c)][_0x3f36ed(0x176)]?_0x57c2e4[_0x3f36ed(0x18c)]:_0x57c2e4['buffer'][_0x3f36ed(0x263)](_0x57c2e4['byteOffset'],_0x57c2e4[_0x3f36ed(0x19c)]+_0x57c2e4[_0x3f36ed(0x2c7)]);}function _0x521cb7(_0x8d480){const _0x3b24fd=_0xa5343f;if(_0x521cb7[_0x3b24fd(0x1a7)]=!0x0,Buffer[_0x3b24fd(0x1d4)](_0x8d480))return _0x8d480;let _0x3b2ef0;return _0x8d480 instanceof ArrayBuffer?_0x3b2ef0=new _0x55e826(_0x8d480):ArrayBuffer[_0x3b24fd(0x23f)](_0x8d480)?_0x3b2ef0=new _0x55e826(_0x8d480[_0x3b24fd(0x18c)],_0x8d480[_0x3b24fd(0x19c)],_0x8d480[_0x3b24fd(0x176)]):(_0x3b2ef0=Buffer[_0x3b24fd(0x1b1)](_0x8d480),_0x521cb7['readOnly']=!0x1),_0x3b2ef0;}if(te[_0xa5343f(0x15a)]={'concat':_0x3b7662,'mask':_0x805178,'toArrayBuffer':_0x16765d,'toBuffer':_0x521cb7,'unmask':_0x456545},!process[_0xa5343f(0x2b5)][_0xa5343f(0x201)])try{const _0x110961=Vt;te[_0xa5343f(0x15a)][_0xa5343f(0x19d)]=function(_0x352bdb,_0x376627,_0x1fd63b,_0x54e240,_0x5fe4f9){const _0x1788ce=_0xa5343f;_0x5fe4f9<0x30?_0x805178(_0x352bdb,_0x376627,_0x1fd63b,_0x54e240,_0x5fe4f9):_0x110961[_0x1788ce(0x19d)](_0x352bdb,_0x376627,_0x1fd63b,_0x54e240,_0x5fe4f9);},te[_0xa5343f(0x15a)]['unmask']=function(_0x1fbd1c,_0x16a11f){const _0x3db99a=_0xa5343f;_0x1fbd1c[_0x3db99a(0x2c7)]<0x20?_0x456545(_0x1fbd1c,_0x16a11f):_0x110961['unmask'](_0x1fbd1c,_0x16a11f);};}catch{}return te[_0xa5343f(0x15a)];}var ye,Xe;function qt(){const _0x17b88f=_0x493d39;if(Xe)return ye;Xe=0x1;const _0x33d1c7=Symbol('kDone'),_0x42980e=Symbol(_0x17b88f(0x274));class _0x5d4fe1{constructor(_0x59e986){const _0x107e7f=_0x17b88f;this[_0x33d1c7]=()=>{this['pending']--,this[_0x42980e]();},this[_0x107e7f(0x21d)]=_0x59e986||0x1/0x0,this[_0x107e7f(0x1ec)]=[],this['pending']=0x0;}[_0x17b88f(0x286)](_0x305c35){const _0x400f4c=_0x17b88f;this['jobs'][_0x400f4c(0x14d)](_0x305c35),this[_0x42980e]();}[_0x42980e](){const _0x40049f=_0x17b88f;if(this[_0x40049f(0x2ab)]!==this['concurrency']&&this[_0x40049f(0x1ec)][_0x40049f(0x2c7)]){const _0x3eb116=this[_0x40049f(0x1ec)][_0x40049f(0x2e2)]();this[_0x40049f(0x2ab)]++,_0x3eb116(this[_0x33d1c7]);}}}return ye=_0x5d4fe1,ye;}var ve,Ze;function _0x3b54(){const _0xe49c6b=['noServer','blob','_errored','kRun','_server','readUInt16BE','unexpected-response','Invalid\x20URL:\x20','_autoPong','_readableState','_isServer','concurrencyLimit','close','writable','read','cork','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_queue','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','server','password','add','end','acceptAsClient','invalid\x20opcode\x20','addEventListener','once','decompress','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','text/html','number','resume','consume','_injector','reason','keys','perMessageDeflate','_originalIpc','nextTick','emit','_firstFragment','headers','bufferedAmount','kByteLength','redirect','sec-websocket-extensions','backlog','Invalid\x20WebSocket\x20frame:\x20','createInflateRaw','authorization','Opening\x20handshake\x20has\x20timed\x20out','Unexpected\x20server\x20response:\x20','_no_context_takeover','then','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','acceptAsServer','timeout','hash','pending','flush','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','binary','pathname','_readyState','createError','server_max_window_bits','offer','getPayloadLength64','env','156440iVTExd','kReason','handshakeTimeout','_fragmented','createServer','_final','_compress','cookie','allowSynchronousEvents','client','STATUS_CODES','test','_messageLength','handleUpgrade','handleEvent','162780AshjlH','_bufferedAmount','length','_protocol','invalid\x20opcode\x200','request','writeUInt16BE','arrayBuffer','pong','Module','clients','object','species','\x20(supported\x20versions:\x20','_payloadLength','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','replace','serverMaxWindowBits','enqueue','Unexpected\x20character\x20at\x20index\x20','_fin','ws:','skipUTF8Validation','catch','generateMask','_compressed','_req','defaultPort','location','shift','listenerCount','Invalid\x20Upgrade\x20header','dequeue','uncork','string','_masked','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','MASK\x20must\x20be\x20clear','createConnection','servername','total-length','setConfig','emitClose','_originalHostOrSocketPath','createSocket','isArray','_closeMessage','protocolVersion','authorized','7KESJCS','maskBuffer','protocol','_url','ws+unix:','callback','push','path','type','_threshold','onStarting','allocUnsafe','_shouldEmitClose','completeUpgrade','_skipUTF8Validation','digest','WS_ERR_UNEXPECTED_RSV_1','_write','isServer','exports','Unknown\x20parameter\x20\x22','https:','data','kError','target','finished','removeEventListener','Sec-WebSocket-Protocol:\x20','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','split','setSocket','Cookie','861882mwwqOV','getOwnPropertyDescriptor','collaboration-client-node.config','1426188OFheuu','Invalid\x20value\x20for\x20parameter\x20\x22','WS_ERR_EXPECTED_FIN','frame','WS_ERR_EXPECTED_MASK','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','WS_ERR_INVALID_OPCODE','update','removeAllListeners','Server\x20sent\x20an\x20invalid\x20subprotocol','Sec-WebSocket-Extensions','upgrade','byteLength','_max_window_bits','sendFrame','reset','invalid\x20UTF-8\x20sequence','entries','clientNoContextTakeover','The\x20URL\x27s\x20pathname\x20is\x20empty','map','_opcode','_closeTimer','indexOf','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','origin','WS_ERR_INVALID_CLOSE_CODE','has','kCode','getBlobData','The\x20server\x20is\x20not\x20running','pipe','autoPong','_inflate','buffer','_options','search','setHeader','client_no_context_takeover','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','message','defineProperty','10oTXPnn','maxPayload','get','sha1','websocket','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','port','unshift','byteOffset','mask','zlibInflateOptions','set','hasOwnProperty','send','_registerDependencies','socket','\x22:\x20','startLoop','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','readOnly','create','_loop','terminate','extensions','next','OPEN','toStringTag','HTTP/1.1\x20','readable','from','apply','Upgrade','charCodeAt','\x0d\x0a\x0d\x0a','connection','alloc','Server\x20sent\x20no\x20subprotocol','username','invalid\x20payload\x20length\x20','_generateMask','includes','GET','auth','Unsupported\x20protocol\x20version:\x20','cleanup','dataMessage','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','The\x20\x22','endEmitted','_originalSecure','destroy','Unexpected\x20end\x20of\x20input','join','12nhnsYn','pause','sec-websocket-protocol','_buffers','onerror','customHeaders','_deflate','_decompress','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','\x22\x20must\x20have\x20only\x20a\x20single\x20value','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','isBuffer','verifyClient','_closeFrameSent','WS_ERR_INVALID_UTF8','nodebuffer','2044449EFCLwR','__esModule','setNoDelay','_allowSynchronousEvents','default','normalizeParams','_socket','getMask','hostname','dispatch','parse','sec-websocket-origin','Parameter\x20\x22','onclose','\x22\x20subprotocol\x20is\x20duplicated','followRedirects','_receiver','freeze','needDrain','jobs','function','kIsForOnEventAttribute','isInteger','connect','_totalPayloadLength','_sender','toString','startsWith','address','toLowerCase','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','conclude','sec-websocket-accept','_redirects','Z_DEFAULT_WINDOWBITS','readUInt32BE','opcode','serverNoContextTakeover','extensionName','_maxPayload','WS_NO_BUFFER_UTIL','WS_NO_UTF_8_VALIDATE','_extensions','size','_removeListeners','code','_closeCode','wsClientError','getConfig','fin','params','pluginName','shouldHandle','readyState','Sec-WebSocket-Accept:\x20','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_writableState','46072LHLQeb','statusCode','forEach','base64','haveLength','kType','writeHead','options','Connection:\x20Upgrade','error','54DYeEWu','concurrency','host','The\x20URL\x20contains\x20a\x20fragment\x20identifier','kAborted','_fragments','errorEmitted','getPayloadLength16','kWasClean','socketPath','_read','call','_maskBuffer','buffers','_bufferedBytes','58UpOUEq','threshold','clientMaxWindowBits','construct','isPaused','handleProtocols','permessage-deflate','wss:','accept','method','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','CLOSED','destroyed','maxRedirects','_state','listeners','_mask','arraybuffer','pow','isView','Invalid\x20Sec-WebSocket-Extensions\x20header','_errorEmitted','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Origin','getData','format','text/plain','compress','abort','http:','rsv1','createDeflateRaw','url','CONNECTING','Invalid\x20HTTP\x20method','WS_ERR_UNEXPECTED_MASK','finish','RSV1\x20must\x20be\x20clear','Upgrade:\x20websocket','wasClean','File','isValidUTF8','_closeFrameReceived','_httpService','removeListener','CLOSING','listening','1584vfghzZ','server_no_context_takeover','bind','prototype','FIN\x20must\x20be\x20set','drain','kTarget','concat','slice','write','binaryType','getInfo','Blob','href','WS_ERR_UNEXPECTED_RSV_2_3','open','_paused','_binaryType','ping','_configService','finishRequest','client_max_window_bits'];_0x3b54=function(){return _0xe49c6b;};return _0x3b54();}function he(){const _0x180b0f=_0x493d39;if(Ze)return ve;Ze=0x1;const _0x3df79b=_0x284b3d,_0x589529=ce(),_0x2c7acd=qt(),{kStatusCode:_0x1d0277}=V(),_0x5b3ba2=Buffer[Symbol['species']],_0x310653=Buffer[_0x180b0f(0x1b1)]([0x0,0x0,0xff,0xff]),_0x43471b=Symbol('permessage-deflate'),_0x88e868=Symbol(_0x180b0f(0x13e)),_0x18cdd2=Symbol(_0x180b0f(0x14c)),_0x12894d=Symbol(_0x180b0f(0x229)),_0x55fc85=Symbol(_0x180b0f(0x21b));let _0x1d02d7;class _0x54ab0f{constructor(_0x53428d,_0x4de3d1,_0x41db5b){const _0x4f443e=_0x180b0f;if(this[_0x4f443e(0x200)]=_0x41db5b|0x0,this[_0x4f443e(0x18d)]=_0x53428d||{},this[_0x4f443e(0x150)]=this[_0x4f443e(0x18d)]['threshold']!==void 0x0?this['_options'][_0x4f443e(0x22c)]:0x400,this[_0x4f443e(0x27b)]=!!_0x4de3d1,this[_0x4f443e(0x1cf)]=null,this['_inflate']=null,this['params']=null,!_0x1d02d7){const _0x14e604=this[_0x4f443e(0x18d)][_0x4f443e(0x27c)]!==void 0x0?this['_options'][_0x4f443e(0x27c)]:0xa;_0x1d02d7=new _0x2c7acd(_0x14e604);}}static get[_0x180b0f(0x1ff)](){const _0x1503d2=_0x180b0f;return _0x1503d2(0x231);}[_0x180b0f(0x2b3)](){const _0x5d1372=_0x180b0f,_0x43fcce={};return this[_0x5d1372(0x18d)][_0x5d1372(0x1fe)]&&(_0x43fcce['server_no_context_takeover']=!0x0),this[_0x5d1372(0x18d)][_0x5d1372(0x17c)]&&(_0x43fcce[_0x5d1372(0x190)]=!0x0),this[_0x5d1372(0x18d)]['serverMaxWindowBits']&&(_0x43fcce['server_max_window_bits']=this[_0x5d1372(0x18d)][_0x5d1372(0x2d6)]),this['_options'][_0x5d1372(0x22d)]?_0x43fcce['client_max_window_bits']=this[_0x5d1372(0x18d)]['clientMaxWindowBits']:this['_options']['clientMaxWindowBits']==null&&(_0x43fcce[_0x5d1372(0x270)]=!0x0),_0x43fcce;}[_0x180b0f(0x233)](_0x3a70e4){const _0x1e7281=_0x180b0f;return _0x3a70e4=this[_0x1e7281(0x1de)](_0x3a70e4),this[_0x1e7281(0x20b)]=this[_0x1e7281(0x27b)]?this[_0x1e7281(0x2a8)](_0x3a70e4):this[_0x1e7281(0x288)](_0x3a70e4),this['params'];}[_0x180b0f(0x1c0)](){const _0x1ebc2a=_0x180b0f;if(this[_0x1ebc2a(0x18b)]&&(this['_inflate'][_0x1ebc2a(0x27d)](),this[_0x1ebc2a(0x18b)]=null),this[_0x1ebc2a(0x1cf)]){const _0xb9794f=this[_0x1ebc2a(0x1cf)][_0x18cdd2];this[_0x1ebc2a(0x1cf)][_0x1ebc2a(0x27d)](),this[_0x1ebc2a(0x1cf)]=null,_0xb9794f&&_0xb9794f(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}['acceptAsServer'](_0x29cbe8){const _0x797338=_0x180b0f,_0x5cd068=this[_0x797338(0x18d)],_0x29cd0f=_0x29cbe8['find'](_0xdf73=>!(_0x5cd068[_0x797338(0x1fe)]===!0x1&&_0xdf73[_0x797338(0x25c)]||_0xdf73[_0x797338(0x2b2)]&&(_0x5cd068[_0x797338(0x2d6)]===!0x1||typeof _0x5cd068[_0x797338(0x2d6)]=='number'&&_0x5cd068['serverMaxWindowBits']>_0xdf73['server_max_window_bits'])||typeof _0x5cd068[_0x797338(0x22d)]=='number'&&!_0xdf73[_0x797338(0x270)]));if(!_0x29cd0f)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x5cd068[_0x797338(0x1fe)]&&(_0x29cd0f[_0x797338(0x25c)]=!0x0),_0x5cd068[_0x797338(0x17c)]&&(_0x29cd0f[_0x797338(0x190)]=!0x0),typeof _0x5cd068[_0x797338(0x2d6)]==_0x797338(0x28f)&&(_0x29cd0f[_0x797338(0x2b2)]=_0x5cd068[_0x797338(0x2d6)]),typeof _0x5cd068[_0x797338(0x22d)]=='number'?_0x29cd0f[_0x797338(0x270)]=_0x5cd068[_0x797338(0x22d)]:(_0x29cd0f[_0x797338(0x270)]===!0x0||_0x5cd068[_0x797338(0x22d)]===!0x1)&&delete _0x29cd0f['client_max_window_bits'],_0x29cd0f;}[_0x180b0f(0x288)](_0x462736){const _0x3bc7da=_0x180b0f,_0x5e6e96=_0x462736[0x0];if(this[_0x3bc7da(0x18d)][_0x3bc7da(0x17c)]===!0x1&&_0x5e6e96[_0x3bc7da(0x190)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x5e6e96[_0x3bc7da(0x270)])typeof this[_0x3bc7da(0x18d)][_0x3bc7da(0x22d)]=='number'&&(_0x5e6e96[_0x3bc7da(0x270)]=this[_0x3bc7da(0x18d)][_0x3bc7da(0x22d)]);else{if(this[_0x3bc7da(0x18d)][_0x3bc7da(0x22d)]===!0x1||typeof this['_options'][_0x3bc7da(0x22d)]==_0x3bc7da(0x28f)&&_0x5e6e96[_0x3bc7da(0x270)]>this[_0x3bc7da(0x18d)][_0x3bc7da(0x22d)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x5e6e96;}['normalizeParams'](_0x180b35){const _0x4d81b5=_0x180b0f;return _0x180b35[_0x4d81b5(0x214)](_0x3fafb2=>{const _0x14d8f0=_0x4d81b5;Object[_0x14d8f0(0x294)](_0x3fafb2)[_0x14d8f0(0x214)](_0x4e0c55=>{const _0xd7106e=_0x14d8f0;let _0x2597ba=_0x3fafb2[_0x4e0c55];if(_0x2597ba[_0xd7106e(0x2c7)]>0x1)throw new Error(_0xd7106e(0x1e5)+_0x4e0c55+_0xd7106e(0x1d2));if(_0x2597ba=_0x2597ba[0x0],_0x4e0c55===_0xd7106e(0x270)){if(_0x2597ba!==!0x0){const _0x13b240=+_0x2597ba;if(!Number['isInteger'](_0x13b240)||_0x13b240<0x8||_0x13b240>0xf)throw new TypeError(_0xd7106e(0x16b)+_0x4e0c55+_0xd7106e(0x1a4)+_0x2597ba);_0x2597ba=_0x13b240;}else{if(!this[_0xd7106e(0x27b)])throw new TypeError(_0xd7106e(0x16b)+_0x4e0c55+'\x22:\x20'+_0x2597ba);}}else{if(_0x4e0c55==='server_max_window_bits'){const _0x285869=+_0x2597ba;if(!Number[_0xd7106e(0x1ef)](_0x285869)||_0x285869<0x8||_0x285869>0xf)throw new TypeError(_0xd7106e(0x16b)+_0x4e0c55+_0xd7106e(0x1a4)+_0x2597ba);_0x2597ba=_0x285869;}else{if(_0x4e0c55===_0xd7106e(0x190)||_0x4e0c55===_0xd7106e(0x25c)){if(_0x2597ba!==!0x0)throw new TypeError(_0xd7106e(0x16b)+_0x4e0c55+_0xd7106e(0x1a4)+_0x2597ba);}else throw new Error(_0xd7106e(0x15b)+_0x4e0c55+'\x22');}}_0x3fafb2[_0x4e0c55]=_0x2597ba;});}),_0x180b35;}[_0x180b0f(0x28c)](_0x2156e1,_0x2965d3,_0x297e81){_0x1d02d7['add'](_0x29b964=>{const _0x8defab=_0x1701;this[_0x8defab(0x1d0)](_0x2156e1,_0x2965d3,(_0x4e24ce,_0x20333e)=>{_0x29b964(),_0x297e81(_0x4e24ce,_0x20333e);});});}[_0x180b0f(0x247)](_0x2333d1,_0x575a02,_0xc7d3a5){const _0x51211a=_0x180b0f;_0x1d02d7[_0x51211a(0x286)](_0x8c06cf=>{const _0x254a14=_0x51211a;this[_0x254a14(0x2bc)](_0x2333d1,_0x575a02,(_0x307cc8,_0x23d6ad)=>{_0x8c06cf(),_0xc7d3a5(_0x307cc8,_0x23d6ad);});});}[_0x180b0f(0x1d0)](_0x477dad,_0x30ef81,_0x55a1b4){const _0x2a6676=_0x180b0f,_0x17af57=this[_0x2a6676(0x27b)]?_0x2a6676(0x2bf):_0x2a6676(0x284);if(!this[_0x2a6676(0x18b)]){const _0x26d3c6=_0x17af57+_0x2a6676(0x177),_0x5210c7=typeof this['params'][_0x26d3c6]!='number'?_0x3df79b[_0x2a6676(0x1fb)]:this['params'][_0x26d3c6];this[_0x2a6676(0x18b)]=_0x3df79b[_0x2a6676(0x2a1)]({...this[_0x2a6676(0x18d)][_0x2a6676(0x19e)],'windowBits':_0x5210c7}),this['_inflate'][_0x43471b]=this,this[_0x2a6676(0x18b)][_0x88e868]=0x0,this[_0x2a6676(0x18b)][_0x12894d]=[],this[_0x2a6676(0x18b)]['on']('error',_0x381d59),this[_0x2a6676(0x18b)]['on']('data',_0x128f47);}this[_0x2a6676(0x18b)][_0x18cdd2]=_0x55a1b4,this[_0x2a6676(0x18b)][_0x2a6676(0x264)](_0x477dad),_0x30ef81&&this['_inflate']['write'](_0x310653),this[_0x2a6676(0x18b)]['flush'](()=>{const _0x330ddf=_0x2a6676,_0x1098d9=this[_0x330ddf(0x18b)][_0x55fc85];if(_0x1098d9){this['_inflate'][_0x330ddf(0x27d)](),this[_0x330ddf(0x18b)]=null,_0x55a1b4(_0x1098d9);return;}const _0x1580ca=_0x589529['concat'](this['_inflate'][_0x12894d],this['_inflate'][_0x88e868]);this[_0x330ddf(0x18b)]['_readableState'][_0x330ddf(0x1c4)]?(this[_0x330ddf(0x18b)]['close'](),this[_0x330ddf(0x18b)]=null):(this[_0x330ddf(0x18b)][_0x88e868]=0x0,this['_inflate'][_0x12894d]=[],_0x30ef81&&this[_0x330ddf(0x20b)][_0x17af57+'_no_context_takeover']&&this[_0x330ddf(0x18b)][_0x330ddf(0x179)]()),_0x55a1b4(null,_0x1580ca);});}['_compress'](_0x4fb5c3,_0x2a8e05,_0x3f68e9){const _0x387a0c=_0x180b0f,_0x133b62=this[_0x387a0c(0x27b)]?_0x387a0c(0x284):'client';if(!this['_deflate']){const _0x27f738=_0x133b62+_0x387a0c(0x177),_0x11c492=typeof this[_0x387a0c(0x20b)][_0x27f738]!=_0x387a0c(0x28f)?_0x3df79b[_0x387a0c(0x1fb)]:this[_0x387a0c(0x20b)][_0x27f738];this[_0x387a0c(0x1cf)]=_0x3df79b[_0x387a0c(0x24b)]({...this[_0x387a0c(0x18d)]['zlibDeflateOptions'],'windowBits':_0x11c492}),this[_0x387a0c(0x1cf)][_0x88e868]=0x0,this[_0x387a0c(0x1cf)][_0x12894d]=[],this[_0x387a0c(0x1cf)]['on']('data',_0x34ce71);}this[_0x387a0c(0x1cf)][_0x18cdd2]=_0x3f68e9,this[_0x387a0c(0x1cf)][_0x387a0c(0x264)](_0x4fb5c3),this[_0x387a0c(0x1cf)][_0x387a0c(0x2ac)](_0x3df79b['Z_SYNC_FLUSH'],()=>{const _0x546fe9=_0x387a0c;if(!this[_0x546fe9(0x1cf)])return;let _0x446921=_0x589529[_0x546fe9(0x262)](this[_0x546fe9(0x1cf)][_0x12894d],this[_0x546fe9(0x1cf)][_0x88e868]);_0x2a8e05&&(_0x446921=new _0x5b3ba2(_0x446921[_0x546fe9(0x18c)],_0x446921[_0x546fe9(0x19c)],_0x446921[_0x546fe9(0x2c7)]-0x4)),this[_0x546fe9(0x1cf)][_0x18cdd2]=null,this['_deflate'][_0x88e868]=0x0,this['_deflate'][_0x12894d]=[],_0x2a8e05&&this[_0x546fe9(0x20b)][_0x133b62+_0x546fe9(0x2a5)]&&this[_0x546fe9(0x1cf)]['reset'](),_0x3f68e9(null,_0x446921);});}}ve=_0x54ab0f;function _0x34ce71(_0x48a1d3){const _0x2a9343=_0x180b0f;this[_0x12894d][_0x2a9343(0x14d)](_0x48a1d3),this[_0x88e868]+=_0x48a1d3[_0x2a9343(0x2c7)];}function _0x128f47(_0x490cf1){const _0x30d56e=_0x180b0f;if(this[_0x88e868]+=_0x490cf1[_0x30d56e(0x2c7)],this[_0x43471b][_0x30d56e(0x200)]<0x1||this[_0x88e868]<=this[_0x43471b][_0x30d56e(0x200)]){this[_0x12894d]['push'](_0x490cf1);return;}this[_0x55fc85]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x55fc85][_0x30d56e(0x206)]=_0x30d56e(0x1c2),this[_0x55fc85][_0x1d0277]=0x3f1,this[_0x30d56e(0x258)](_0x30d56e(0x15d),_0x128f47),this[_0x30d56e(0x179)]();}function _0x381d59(_0x464f4d){if(this[_0x43471b]['_inflate']=null,this[_0x55fc85]){this[_0x18cdd2](this[_0x55fc85]);return;}_0x464f4d[_0x1d0277]=0x3ef,this[_0x18cdd2](_0x464f4d);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x493d39(0x1ea)](Object[_0x493d39(0x193)]({'__proto__':null,'default':Ht},Symbol[_0x493d39(0x1ae)],{'value':_0x493d39(0x2ce)})),Yt=ut(zt);var Qe;function ne(){const _0x468546=_0x493d39;if(Qe)return re[_0x468546(0x15a)];Qe=0x1;const {isUtf8:_0x2ec6a8}=_0x2bc92d,{hasBlob:_0x1bba55}=V(),_0x270cec=[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 _0x11568b(_0xbee42){return _0xbee42>=0x3e8&&_0xbee42<=0x3f6&&_0xbee42!==0x3ec&&_0xbee42!==0x3ed&&_0xbee42!==0x3ee||_0xbee42>=0xbb8&&_0xbee42<=0x1387;}function _0x4d0c74(_0x5a428d){const _0x2043b1=_0x468546,_0x3efd0c=_0x5a428d[_0x2043b1(0x2c7)];let _0x5f47cb=0x0;for(;_0x5f47cb<_0x3efd0c;)if((_0x5a428d[_0x5f47cb]&0x80)===0x0)_0x5f47cb++;else{if((_0x5a428d[_0x5f47cb]&0xe0)===0xc0){if(_0x5f47cb+0x1===_0x3efd0c||(_0x5a428d[_0x5f47cb+0x1]&0xc0)!==0x80||(_0x5a428d[_0x5f47cb]&0xfe)===0xc0)return!0x1;_0x5f47cb+=0x2;}else{if((_0x5a428d[_0x5f47cb]&0xf0)===0xe0){if(_0x5f47cb+0x2>=_0x3efd0c||(_0x5a428d[_0x5f47cb+0x1]&0xc0)!==0x80||(_0x5a428d[_0x5f47cb+0x2]&0xc0)!==0x80||_0x5a428d[_0x5f47cb]===0xe0&&(_0x5a428d[_0x5f47cb+0x1]&0xe0)===0x80||_0x5a428d[_0x5f47cb]===0xed&&(_0x5a428d[_0x5f47cb+0x1]&0xe0)===0xa0)return!0x1;_0x5f47cb+=0x3;}else{if((_0x5a428d[_0x5f47cb]&0xf8)===0xf0){if(_0x5f47cb+0x3>=_0x3efd0c||(_0x5a428d[_0x5f47cb+0x1]&0xc0)!==0x80||(_0x5a428d[_0x5f47cb+0x2]&0xc0)!==0x80||(_0x5a428d[_0x5f47cb+0x3]&0xc0)!==0x80||_0x5a428d[_0x5f47cb]===0xf0&&(_0x5a428d[_0x5f47cb+0x1]&0xf0)===0x80||_0x5a428d[_0x5f47cb]===0xf4&&_0x5a428d[_0x5f47cb+0x1]>0x8f||_0x5a428d[_0x5f47cb]>0xf4)return!0x1;_0x5f47cb+=0x4;}else return!0x1;}}}return!0x0;}function _0x58818b(_0x2a8f44){const _0x20a790=_0x468546;return _0x1bba55&&typeof _0x2a8f44==_0x20a790(0x2d0)&&typeof _0x2a8f44[_0x20a790(0x2cc)]==_0x20a790(0x1ed)&&typeof _0x2a8f44[_0x20a790(0x14f)]==_0x20a790(0x138)&&typeof _0x2a8f44['stream']=='function'&&(_0x2a8f44[Symbol[_0x20a790(0x1ae)]]===_0x20a790(0x267)||_0x2a8f44[Symbol[_0x20a790(0x1ae)]]===_0x20a790(0x254));}if(re[_0x468546(0x15a)]={'isBlob':_0x58818b,'isValidStatusCode':_0x11568b,'isValidUTF8':_0x4d0c74,'tokenChars':_0x270cec},_0x2ec6a8)re[_0x468546(0x15a)][_0x468546(0x255)]=function(_0x101db2){return _0x101db2['length']<0x18?_0x4d0c74(_0x101db2):_0x2ec6a8(_0x101db2);};else{if(!process[_0x468546(0x2b5)][_0x468546(0x202)])try{const _0x434884=Yt;re[_0x468546(0x15a)][_0x468546(0x255)]=function(_0x36ea25){const _0x24a38b=_0x468546;return _0x36ea25[_0x24a38b(0x2c7)]<0x20?_0x4d0c74(_0x36ea25):_0x434884(_0x36ea25);};}catch{}}return re[_0x468546(0x15a)];}var Se,Je;function dt(){const _0x484567=_0x493d39;if(Je)return Se;Je=0x1;const {Writable:_0x1165ff}=_0x4cd284,_0x2444f0=he(),{BINARY_TYPES:_0x5abc10,EMPTY_BUFFER:_0x58c021,kStatusCode:_0x2dc7db,kWebSocket:_0x3a87d3}=V(),{concat:_0x316c23,toArrayBuffer:_0x2e8b09,unmask:_0x2a852e}=ce(),{isValidStatusCode:_0x488931,isValidUTF8:_0x9d9767}=ne(),_0x2d5116=Buffer[Symbol[_0x484567(0x2d1)]],_0xbc999a=0x0,_0x308e29=0x1,_0x3b4338=0x2,_0x480f21=0x3,_0x390719=0x4,_0x12bb6d=0x5,_0x18a374=0x6;class _0x333439 extends _0x1165ff{constructor(_0x383e23={}){const _0x3c6138=_0x484567;super(),this['_allowSynchronousEvents']=_0x383e23[_0x3c6138(0x2be)]!==void 0x0?_0x383e23[_0x3c6138(0x2be)]:!0x0,this[_0x3c6138(0x26c)]=_0x383e23['binaryType']||_0x5abc10[0x0],this[_0x3c6138(0x203)]=_0x383e23[_0x3c6138(0x1ab)]||{},this[_0x3c6138(0x27b)]=!!_0x383e23[_0x3c6138(0x159)],this[_0x3c6138(0x200)]=_0x383e23[_0x3c6138(0x195)]|0x0,this[_0x3c6138(0x155)]=!!_0x383e23[_0x3c6138(0x2db)],this[_0x3a87d3]=void 0x0,this[_0x3c6138(0x22a)]=0x0,this['_buffers']=[],this[_0x3c6138(0x2de)]=!0x1,this[_0x3c6138(0x2d3)]=0x0,this[_0x3c6138(0x23c)]=void 0x0,this[_0x3c6138(0x2b9)]=0x0,this[_0x3c6138(0x139)]=!0x1,this[_0x3c6138(0x2d9)]=!0x1,this[_0x3c6138(0x17f)]=0x0,this['_totalPayloadLength']=0x0,this[_0x3c6138(0x2c2)]=0x0,this[_0x3c6138(0x221)]=[],this[_0x3c6138(0x273)]=!0x1,this['_loop']=!0x1,this['_state']=_0xbc999a;}[_0x484567(0x158)](_0x30a4a8,_0x446097,_0x3c0b1f){const _0x7b7ec1=_0x484567;if(this[_0x7b7ec1(0x17f)]===0x8&&this[_0x7b7ec1(0x23a)]==_0xbc999a)return _0x3c0b1f();this[_0x7b7ec1(0x22a)]+=_0x30a4a8[_0x7b7ec1(0x2c7)],this[_0x7b7ec1(0x1cc)][_0x7b7ec1(0x14d)](_0x30a4a8),this[_0x7b7ec1(0x1a5)](_0x3c0b1f);}[_0x484567(0x291)](_0x2031fe){const _0x28fd44=_0x484567;if(this[_0x28fd44(0x22a)]-=_0x2031fe,_0x2031fe===this['_buffers'][0x0][_0x28fd44(0x2c7)])return this['_buffers']['shift']();if(_0x2031fe<this[_0x28fd44(0x1cc)][0x0][_0x28fd44(0x2c7)]){const _0x70358=this['_buffers'][0x0];return this[_0x28fd44(0x1cc)][0x0]=new _0x2d5116(_0x70358['buffer'],_0x70358[_0x28fd44(0x19c)]+_0x2031fe,_0x70358[_0x28fd44(0x2c7)]-_0x2031fe),new _0x2d5116(_0x70358[_0x28fd44(0x18c)],_0x70358[_0x28fd44(0x19c)],_0x2031fe);}const _0x3e801a=Buffer[_0x28fd44(0x152)](_0x2031fe);do{const _0x4b845a=this[_0x28fd44(0x1cc)][0x0],_0x21bf9d=_0x3e801a['length']-_0x2031fe;_0x2031fe>=_0x4b845a[_0x28fd44(0x2c7)]?_0x3e801a[_0x28fd44(0x19f)](this[_0x28fd44(0x1cc)][_0x28fd44(0x2e2)](),_0x21bf9d):(_0x3e801a[_0x28fd44(0x19f)](new Uint8Array(_0x4b845a['buffer'],_0x4b845a[_0x28fd44(0x19c)],_0x2031fe),_0x21bf9d),this[_0x28fd44(0x1cc)][0x0]=new _0x2d5116(_0x4b845a['buffer'],_0x4b845a['byteOffset']+_0x2031fe,_0x4b845a[_0x28fd44(0x2c7)]-_0x2031fe)),_0x2031fe-=_0x4b845a['length'];}while(_0x2031fe>0x0);return _0x3e801a;}['startLoop'](_0x88e67d){const _0x5c56a2=_0x484567;this[_0x5c56a2(0x1a9)]=!0x0;do switch(this['_state']){case _0xbc999a:this[_0x5c56a2(0x266)](_0x88e67d);break;case _0x308e29:this['getPayloadLength16'](_0x88e67d);break;case _0x3b4338:this['getPayloadLength64'](_0x88e67d);break;case _0x480f21:this[_0x5c56a2(0x1e0)]();break;case _0x390719:this[_0x5c56a2(0x244)](_0x88e67d);break;case _0x12bb6d:case _0x18a374:this[_0x5c56a2(0x1a9)]=!0x1;return;}while(this['_loop']);this[_0x5c56a2(0x273)]||_0x88e67d();}[_0x484567(0x266)](_0x32be63){const _0x4ddea2=_0x484567;if(this[_0x4ddea2(0x22a)]<0x2){this[_0x4ddea2(0x1a9)]=!0x1;return;}const _0x89512c=this[_0x4ddea2(0x291)](0x2);if((_0x89512c[0x0]&0x30)!==0x0){const _0x5b6617=this[_0x4ddea2(0x2b1)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x4ddea2(0x269));_0x32be63(_0x5b6617);return;}const _0x101ff5=(_0x89512c[0x0]&0x40)===0x40;if(_0x101ff5&&!this['_extensions'][_0x2444f0[_0x4ddea2(0x1ff)]]){const _0x2823b8=this[_0x4ddea2(0x2b1)](RangeError,_0x4ddea2(0x251),!0x0,0x3ea,_0x4ddea2(0x157));_0x32be63(_0x2823b8);return;}if(this[_0x4ddea2(0x2d9)]=(_0x89512c[0x0]&0x80)===0x80,this[_0x4ddea2(0x17f)]=_0x89512c[0x0]&0xf,this[_0x4ddea2(0x2d3)]=_0x89512c[0x1]&0x7f,this[_0x4ddea2(0x17f)]===0x0){if(_0x101ff5){const _0x3a549a=this[_0x4ddea2(0x2b1)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x4ddea2(0x157));_0x32be63(_0x3a549a);return;}if(!this['_fragmented']){const _0x54b72c=this['createError'](RangeError,_0x4ddea2(0x2c9),!0x0,0x3ea,_0x4ddea2(0x170));_0x32be63(_0x54b72c);return;}this[_0x4ddea2(0x17f)]=this[_0x4ddea2(0x2b9)];}else{if(this[_0x4ddea2(0x17f)]===0x1||this[_0x4ddea2(0x17f)]===0x2){if(this['_fragmented']){const _0xffc4b2=this[_0x4ddea2(0x2b1)](RangeError,_0x4ddea2(0x289)+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x32be63(_0xffc4b2);return;}this['_compressed']=_0x101ff5;}else{if(this[_0x4ddea2(0x17f)]>0x7&&this[_0x4ddea2(0x17f)]<0xb){if(!this['_fin']){const _0x347026=this[_0x4ddea2(0x2b1)](RangeError,_0x4ddea2(0x25f),!0x0,0x3ea,_0x4ddea2(0x16c));_0x32be63(_0x347026);return;}if(_0x101ff5){const _0x4a50b6=this[_0x4ddea2(0x2b1)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x32be63(_0x4a50b6);return;}if(this[_0x4ddea2(0x2d3)]>0x7d||this['_opcode']===0x8&&this[_0x4ddea2(0x2d3)]===0x1){const _0x4551cf=this[_0x4ddea2(0x2b1)](RangeError,_0x4ddea2(0x1ba)+this['_payloadLength'],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x32be63(_0x4551cf);return;}}else{const _0x1b8be3=this[_0x4ddea2(0x2b1)](RangeError,_0x4ddea2(0x289)+this[_0x4ddea2(0x17f)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x32be63(_0x1b8be3);return;}}}if(!this['_fin']&&!this[_0x4ddea2(0x2b9)]&&(this[_0x4ddea2(0x2b9)]=this['_opcode']),this['_masked']=(_0x89512c[0x1]&0x80)===0x80,this[_0x4ddea2(0x27b)]){if(!this[_0x4ddea2(0x139)]){const _0x5c16b6=this[_0x4ddea2(0x2b1)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x4ddea2(0x16e));_0x32be63(_0x5c16b6);return;}}else{if(this[_0x4ddea2(0x139)]){const _0x4995e8=this['createError'](RangeError,_0x4ddea2(0x13b),!0x0,0x3ea,_0x4ddea2(0x24f));_0x32be63(_0x4995e8);return;}}this[_0x4ddea2(0x2d3)]===0x7e?this[_0x4ddea2(0x23a)]=_0x308e29:this[_0x4ddea2(0x2d3)]===0x7f?this['_state']=_0x3b4338:this[_0x4ddea2(0x216)](_0x32be63);}[_0x484567(0x223)](_0x55f6bc){const _0x17be8b=_0x484567;if(this[_0x17be8b(0x22a)]<0x2){this['_loop']=!0x1;return;}this[_0x17be8b(0x2d3)]=this['consume'](0x2)['readUInt16BE'](0x0),this[_0x17be8b(0x216)](_0x55f6bc);}[_0x484567(0x2b4)](_0x34c70){const _0x5a0bad=_0x484567;if(this['_bufferedBytes']<0x8){this[_0x5a0bad(0x1a9)]=!0x1;return;}const _0xcc09a=this[_0x5a0bad(0x291)](0x8),_0x53cfca=_0xcc09a['readUInt32BE'](0x0);if(_0x53cfca>Math[_0x5a0bad(0x23e)](0x2,0x15)-0x1){const _0xb204c1=this[_0x5a0bad(0x2b1)](RangeError,_0x5a0bad(0x236),!0x1,0x3f1,_0x5a0bad(0x2a7));_0x34c70(_0xb204c1);return;}this[_0x5a0bad(0x2d3)]=_0x53cfca*Math['pow'](0x2,0x20)+_0xcc09a[_0x5a0bad(0x1fc)](0x4),this[_0x5a0bad(0x216)](_0x34c70);}[_0x484567(0x216)](_0x1f0cf3){const _0x2ec9d3=_0x484567;if(this[_0x2ec9d3(0x2d3)]&&this[_0x2ec9d3(0x17f)]<0x8&&(this[_0x2ec9d3(0x1f1)]+=this['_payloadLength'],this['_totalPayloadLength']>this[_0x2ec9d3(0x200)]&&this['_maxPayload']>0x0)){const _0x365610=this[_0x2ec9d3(0x2b1)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x1f0cf3(_0x365610);return;}this[_0x2ec9d3(0x139)]?this['_state']=_0x480f21:this[_0x2ec9d3(0x23a)]=_0x390719;}[_0x484567(0x1e0)](){const _0x57ed61=_0x484567;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this[_0x57ed61(0x23c)]=this[_0x57ed61(0x291)](0x4),this['_state']=_0x390719;}[_0x484567(0x244)](_0x274a07){const _0x1a6716=_0x484567;let _0xcc0a9d=_0x58c021;if(this[_0x1a6716(0x2d3)]){if(this[_0x1a6716(0x22a)]<this['_payloadLength']){this[_0x1a6716(0x1a9)]=!0x1;return;}_0xcc0a9d=this[_0x1a6716(0x291)](this[_0x1a6716(0x2d3)]),this[_0x1a6716(0x139)]&&(this[_0x1a6716(0x23c)][0x0]|this[_0x1a6716(0x23c)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x2a852e(_0xcc0a9d,this[_0x1a6716(0x23c)]);}if(this[_0x1a6716(0x17f)]>0x7){this['controlMessage'](_0xcc0a9d,_0x274a07);return;}if(this[_0x1a6716(0x2de)]){this[_0x1a6716(0x23a)]=_0x12bb6d,this[_0x1a6716(0x28c)](_0xcc0a9d,_0x274a07);return;}_0xcc0a9d[_0x1a6716(0x2c7)]&&(this[_0x1a6716(0x2c2)]=this[_0x1a6716(0x1f1)],this['_fragments'][_0x1a6716(0x14d)](_0xcc0a9d)),this[_0x1a6716(0x1c1)](_0x274a07);}[_0x484567(0x28c)](_0x4d8f28,_0x360629){const _0x41ac20=_0x484567;this[_0x41ac20(0x203)][_0x2444f0[_0x41ac20(0x1ff)]][_0x41ac20(0x28c)](_0x4d8f28,this[_0x41ac20(0x2d9)],(_0x1e4643,_0x5ce6d1)=>{const _0x48092c=_0x41ac20;if(_0x1e4643)return _0x360629(_0x1e4643);if(_0x5ce6d1[_0x48092c(0x2c7)]){if(this[_0x48092c(0x2c2)]+=_0x5ce6d1[_0x48092c(0x2c7)],this[_0x48092c(0x2c2)]>this['_maxPayload']&&this['_maxPayload']>0x0){const _0x1512c2=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x48092c(0x1c2));_0x360629(_0x1512c2);return;}this[_0x48092c(0x221)][_0x48092c(0x14d)](_0x5ce6d1);}this[_0x48092c(0x1c1)](_0x360629),this['_state']===_0xbc999a&&this[_0x48092c(0x1a5)](_0x360629);});}[_0x484567(0x1c1)](_0x33d91f){const _0x45f984=_0x484567;if(!this[_0x45f984(0x2d9)]){this[_0x45f984(0x23a)]=_0xbc999a;return;}const _0x1bcc4d=this['_messageLength'],_0x25cf29=this[_0x45f984(0x221)];if(this[_0x45f984(0x1f1)]=0x0,this[_0x45f984(0x2c2)]=0x0,this[_0x45f984(0x2b9)]=0x0,this[_0x45f984(0x221)]=[],this[_0x45f984(0x17f)]===0x2){let _0x457c1b;this[_0x45f984(0x26c)]===_0x45f984(0x1d8)?_0x457c1b=_0x316c23(_0x25cf29,_0x1bcc4d):this['_binaryType']===_0x45f984(0x23d)?_0x457c1b=_0x2e8b09(_0x316c23(_0x25cf29,_0x1bcc4d)):this['_binaryType']===_0x45f984(0x272)?_0x457c1b=new Blob(_0x25cf29):_0x457c1b=_0x25cf29,this[_0x45f984(0x1dc)]?(this[_0x45f984(0x298)](_0x45f984(0x192),_0x457c1b,!0x0),this[_0x45f984(0x23a)]=_0xbc999a):(this[_0x45f984(0x23a)]=_0x18a374,setImmediate(()=>{const _0x44274f=_0x45f984;this[_0x44274f(0x298)](_0x44274f(0x192),_0x457c1b,!0x0),this['_state']=_0xbc999a,this[_0x44274f(0x1a5)](_0x33d91f);}));}else{const _0x2695ca=_0x316c23(_0x25cf29,_0x1bcc4d);if(!this[_0x45f984(0x155)]&&!_0x9d9767(_0x2695ca)){const _0x5cd3ec=this['createError'](Error,_0x45f984(0x17a),!0x0,0x3ef,_0x45f984(0x1d7));_0x33d91f(_0x5cd3ec);return;}this['_state']===_0x12bb6d||this[_0x45f984(0x1dc)]?(this[_0x45f984(0x298)](_0x45f984(0x192),_0x2695ca,!0x1),this[_0x45f984(0x23a)]=_0xbc999a):(this[_0x45f984(0x23a)]=_0x18a374,setImmediate(()=>{const _0x353cf4=_0x45f984;this[_0x353cf4(0x298)](_0x353cf4(0x192),_0x2695ca,!0x1),this[_0x353cf4(0x23a)]=_0xbc999a,this[_0x353cf4(0x1a5)](_0x33d91f);}));}}['controlMessage'](_0x324c39,_0x3d6366){const _0x49c5cb=_0x484567;if(this[_0x49c5cb(0x17f)]===0x8){if(_0x324c39[_0x49c5cb(0x2c7)]===0x0)this['_loop']=!0x1,this[_0x49c5cb(0x298)](_0x49c5cb(0x1f8),0x3ed,_0x58c021),this['end']();else{const _0x5083fb=_0x324c39[_0x49c5cb(0x276)](0x0);if(!_0x488931(_0x5083fb)){const _0x178409=this[_0x49c5cb(0x2b1)](RangeError,'invalid\x20status\x20code\x20'+_0x5083fb,!0x0,0x3ea,_0x49c5cb(0x184));_0x3d6366(_0x178409);return;}const _0x5b9839=new _0x2d5116(_0x324c39[_0x49c5cb(0x18c)],_0x324c39['byteOffset']+0x2,_0x324c39[_0x49c5cb(0x2c7)]-0x2);if(!this['_skipUTF8Validation']&&!_0x9d9767(_0x5b9839)){const _0x1cf9db=this['createError'](Error,_0x49c5cb(0x17a),!0x0,0x3ef,_0x49c5cb(0x1d7));_0x3d6366(_0x1cf9db);return;}this['_loop']=!0x1,this[_0x49c5cb(0x298)](_0x49c5cb(0x1f8),_0x5083fb,_0x5b9839),this[_0x49c5cb(0x287)]();}this['_state']=_0xbc999a;return;}this[_0x49c5cb(0x1dc)]?(this['emit'](this['_opcode']===0x9?_0x49c5cb(0x26d):_0x49c5cb(0x2cd),_0x324c39),this[_0x49c5cb(0x23a)]=_0xbc999a):(this[_0x49c5cb(0x23a)]=_0x18a374,setImmediate(()=>{const _0x310b5f=_0x49c5cb;this[_0x310b5f(0x298)](this[_0x310b5f(0x17f)]===0x9?_0x310b5f(0x26d):_0x310b5f(0x2cd),_0x324c39),this['_state']=_0xbc999a,this[_0x310b5f(0x1a5)](_0x3d6366);}));}[_0x484567(0x2b1)](_0x419a10,_0x22d9bb,_0x573f36,_0xac18ce,_0x3b7e8b){const _0x3d036d=_0x484567;this[_0x3d036d(0x1a9)]=!0x1,this['_errored']=!0x0;const _0x385c4e=new _0x419a10(_0x573f36?_0x3d036d(0x2a0)+_0x22d9bb:_0x22d9bb);return Error['captureStackTrace'](_0x385c4e,this[_0x3d036d(0x2b1)]),_0x385c4e[_0x3d036d(0x206)]=_0x3b7e8b,_0x385c4e[_0x2dc7db]=_0xac18ce,_0x385c4e;}}return Se=_0x333439,Se;}var Ee,et;function _t(){const _0xab2bf6=_0x493d39;if(et)return Ee;et=0x1;const {Duplex:_0x1a3aa}=_0x4cd284,{randomFillSync:_0x713c44}=_0x383096,_0xc6af5f=he(),{EMPTY_BUFFER:_0x2e865b,kWebSocket:_0x27b0c1,NOOP:_0x484580}=V(),{isBlob:_0x23c327,isValidStatusCode:_0x14514e}=ne(),{mask:_0x21fdd3,toBuffer:_0x5e63dd}=ce(),_0x1815ce=Symbol(_0xab2bf6(0x29c)),_0x246a51=Buffer[_0xab2bf6(0x1b7)](0x4),_0x25b20b=0x8*0x400;let _0x458c83,_0x180137=_0x25b20b;const _0x20df17=0x0,_0x2d5879=0x1,_0x48547d=0x2;class _0x46ed8b{constructor(_0x2e3c46,_0x13de5e,_0x27e39b){const _0x1ca910=_0xab2bf6;this[_0x1ca910(0x203)]=_0x13de5e||{},_0x27e39b&&(this['_generateMask']=_0x27e39b,this['_maskBuffer']=Buffer[_0x1ca910(0x1b7)](0x4)),this[_0x1ca910(0x1df)]=_0x2e3c46,this[_0x1ca910(0x299)]=!0x0,this[_0x1ca910(0x2bc)]=!0x1,this[_0x1ca910(0x22a)]=0x0,this['_queue']=[],this[_0x1ca910(0x23a)]=_0x20df17,this[_0x1ca910(0x1cd)]=_0x484580,this[_0x27b0c1]=void 0x0;}static['frame'](_0x4500fe,_0x5af958){const _0x12c03b=_0xab2bf6;let _0x4b6ff6,_0x139efd=!0x1,_0x39a839=0x2,_0x2fd65a=!0x1;_0x5af958[_0x12c03b(0x19d)]&&(_0x4b6ff6=_0x5af958[_0x12c03b(0x148)]||_0x246a51,_0x5af958[_0x12c03b(0x2dd)]?_0x5af958['generateMask'](_0x4b6ff6):(_0x180137===_0x25b20b&&(_0x458c83===void 0x0&&(_0x458c83=Buffer['alloc'](_0x25b20b)),_0x713c44(_0x458c83,0x0,_0x25b20b),_0x180137=0x0),_0x4b6ff6[0x0]=_0x458c83[_0x180137++],_0x4b6ff6[0x1]=_0x458c83[_0x180137++],_0x4b6ff6[0x2]=_0x458c83[_0x180137++],_0x4b6ff6[0x3]=_0x458c83[_0x180137++]),_0x2fd65a=(_0x4b6ff6[0x0]|_0x4b6ff6[0x1]|_0x4b6ff6[0x2]|_0x4b6ff6[0x3])===0x0,_0x39a839=0x6);let _0x519e22;typeof _0x4500fe=='string'?(!_0x5af958[_0x12c03b(0x19d)]||_0x2fd65a)&&_0x5af958[_0x1815ce]!==void 0x0?_0x519e22=_0x5af958[_0x1815ce]:(_0x4500fe=Buffer[_0x12c03b(0x1b1)](_0x4500fe),_0x519e22=_0x4500fe['length']):(_0x519e22=_0x4500fe[_0x12c03b(0x2c7)],_0x139efd=_0x5af958[_0x12c03b(0x19d)]&&_0x5af958[_0x12c03b(0x1a7)]&&!_0x2fd65a);let _0x3784c7=_0x519e22;_0x519e22>=0x10000?(_0x39a839+=0x8,_0x3784c7=0x7f):_0x519e22>0x7d&&(_0x39a839+=0x2,_0x3784c7=0x7e);const _0x4043f1=Buffer[_0x12c03b(0x152)](_0x139efd?_0x519e22+_0x39a839:_0x39a839);return _0x4043f1[0x0]=_0x5af958[_0x12c03b(0x20a)]?_0x5af958[_0x12c03b(0x1fd)]|0x80:_0x5af958[_0x12c03b(0x1fd)],_0x5af958[_0x12c03b(0x24a)]&&(_0x4043f1[0x0]|=0x40),_0x4043f1[0x1]=_0x3784c7,_0x3784c7===0x7e?_0x4043f1['writeUInt16BE'](_0x519e22,0x2):_0x3784c7===0x7f&&(_0x4043f1[0x2]=_0x4043f1[0x3]=0x0,_0x4043f1['writeUIntBE'](_0x519e22,0x4,0x6)),_0x5af958[_0x12c03b(0x19d)]?(_0x4043f1[0x1]|=0x80,_0x4043f1[_0x39a839-0x4]=_0x4b6ff6[0x0],_0x4043f1[_0x39a839-0x3]=_0x4b6ff6[0x1],_0x4043f1[_0x39a839-0x2]=_0x4b6ff6[0x2],_0x4043f1[_0x39a839-0x1]=_0x4b6ff6[0x3],_0x2fd65a?[_0x4043f1,_0x4500fe]:_0x139efd?(_0x21fdd3(_0x4500fe,_0x4b6ff6,_0x4043f1,_0x39a839,_0x519e22),[_0x4043f1]):(_0x21fdd3(_0x4500fe,_0x4b6ff6,_0x4500fe,0x0,_0x519e22),[_0x4043f1,_0x4500fe])):[_0x4043f1,_0x4500fe];}[_0xab2bf6(0x27d)](_0x2d6163,_0x5b16e0,_0x39df48,_0x5777dc){const _0x3cd6c9=_0xab2bf6;let _0x1af14b;if(_0x2d6163===void 0x0)_0x1af14b=_0x2e865b;else{if(typeof _0x2d6163!=_0x3cd6c9(0x28f)||!_0x14514e(_0x2d6163))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x5b16e0===void 0x0||!_0x5b16e0[_0x3cd6c9(0x2c7)])_0x1af14b=Buffer[_0x3cd6c9(0x152)](0x2),_0x1af14b[_0x3cd6c9(0x2cb)](_0x2d6163,0x0);else{const _0x246365=Buffer[_0x3cd6c9(0x176)](_0x5b16e0);if(_0x246365>0x7b)throw new RangeError(_0x3cd6c9(0x199));_0x1af14b=Buffer['allocUnsafe'](0x2+_0x246365),_0x1af14b[_0x3cd6c9(0x2cb)](_0x2d6163,0x0),typeof _0x5b16e0==_0x3cd6c9(0x138)?_0x1af14b[_0x3cd6c9(0x264)](_0x5b16e0,0x2):_0x1af14b[_0x3cd6c9(0x19f)](_0x5b16e0,0x2);}}const _0x773b85={[_0x1815ce]:_0x1af14b[_0x3cd6c9(0x2c7)],'fin':!0x0,'generateMask':this[_0x3cd6c9(0x1bb)],'mask':_0x39df48,'maskBuffer':this[_0x3cd6c9(0x228)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x20df17?this[_0x3cd6c9(0x2d7)]([this[_0x3cd6c9(0x1e2)],_0x1af14b,!0x1,_0x773b85,_0x5777dc]):this[_0x3cd6c9(0x178)](_0x46ed8b[_0x3cd6c9(0x16d)](_0x1af14b,_0x773b85),_0x5777dc);}['ping'](_0x516034,_0x39d4f7,_0x35b485){const _0x1c9538=_0xab2bf6;let _0x51fa2e,_0x228295;if(typeof _0x516034==_0x1c9538(0x138)?(_0x51fa2e=Buffer['byteLength'](_0x516034),_0x228295=!0x1):_0x23c327(_0x516034)?(_0x51fa2e=_0x516034['size'],_0x228295=!0x1):(_0x516034=_0x5e63dd(_0x516034),_0x51fa2e=_0x516034['length'],_0x228295=_0x5e63dd[_0x1c9538(0x1a7)]),_0x51fa2e>0x7d)throw new RangeError(_0x1c9538(0x182));const _0x30300d={[_0x1815ce]:_0x51fa2e,'fin':!0x0,'generateMask':this[_0x1c9538(0x1bb)],'mask':_0x39d4f7,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x228295,'rsv1':!0x1};_0x23c327(_0x516034)?this[_0x1c9538(0x23a)]!==_0x20df17?this[_0x1c9538(0x2d7)]([this[_0x1c9538(0x187)],_0x516034,!0x1,_0x30300d,_0x35b485]):this[_0x1c9538(0x187)](_0x516034,!0x1,_0x30300d,_0x35b485):this['_state']!==_0x20df17?this[_0x1c9538(0x2d7)]([this[_0x1c9538(0x1e2)],_0x516034,!0x1,_0x30300d,_0x35b485]):this[_0x1c9538(0x178)](_0x46ed8b[_0x1c9538(0x16d)](_0x516034,_0x30300d),_0x35b485);}[_0xab2bf6(0x2cd)](_0x52ba32,_0x176b29,_0x1cda27){const _0xab895c=_0xab2bf6;let _0x15e96a,_0x48adf3;if(typeof _0x52ba32==_0xab895c(0x138)?(_0x15e96a=Buffer[_0xab895c(0x176)](_0x52ba32),_0x48adf3=!0x1):_0x23c327(_0x52ba32)?(_0x15e96a=_0x52ba32[_0xab895c(0x204)],_0x48adf3=!0x1):(_0x52ba32=_0x5e63dd(_0x52ba32),_0x15e96a=_0x52ba32['length'],_0x48adf3=_0x5e63dd[_0xab895c(0x1a7)]),_0x15e96a>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x57b015={[_0x1815ce]:_0x15e96a,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x176b29,'maskBuffer':this[_0xab895c(0x228)],'opcode':0xa,'readOnly':_0x48adf3,'rsv1':!0x1};_0x23c327(_0x52ba32)?this[_0xab895c(0x23a)]!==_0x20df17?this['enqueue']([this[_0xab895c(0x187)],_0x52ba32,!0x1,_0x57b015,_0x1cda27]):this[_0xab895c(0x187)](_0x52ba32,!0x1,_0x57b015,_0x1cda27):this[_0xab895c(0x23a)]!==_0x20df17?this['enqueue']([this[_0xab895c(0x1e2)],_0x52ba32,!0x1,_0x57b015,_0x1cda27]):this[_0xab895c(0x178)](_0x46ed8b['frame'](_0x52ba32,_0x57b015),_0x1cda27);}[_0xab2bf6(0x1a1)](_0x1ff8da,_0x2f1aca,_0x2aeadc){const _0x29519f=_0xab2bf6,_0x1a7f93=this[_0x29519f(0x203)][_0xc6af5f[_0x29519f(0x1ff)]];let _0x1ceea7=_0x2f1aca[_0x29519f(0x2ae)]?0x2:0x1,_0x5a5424=_0x2f1aca['compress'],_0x503ded,_0x522326;typeof _0x1ff8da==_0x29519f(0x138)?(_0x503ded=Buffer[_0x29519f(0x176)](_0x1ff8da),_0x522326=!0x1):_0x23c327(_0x1ff8da)?(_0x503ded=_0x1ff8da[_0x29519f(0x204)],_0x522326=!0x1):(_0x1ff8da=_0x5e63dd(_0x1ff8da),_0x503ded=_0x1ff8da[_0x29519f(0x2c7)],_0x522326=_0x5e63dd[_0x29519f(0x1a7)]),this[_0x29519f(0x299)]?(this[_0x29519f(0x299)]=!0x1,_0x5a5424&&_0x1a7f93&&_0x1a7f93['params'][_0x1a7f93[_0x29519f(0x27b)]?_0x29519f(0x25c):'client_no_context_takeover']&&(_0x5a5424=_0x503ded>=_0x1a7f93[_0x29519f(0x150)]),this[_0x29519f(0x2bc)]=_0x5a5424):(_0x5a5424=!0x1,_0x1ceea7=0x0),_0x2f1aca[_0x29519f(0x20a)]&&(this[_0x29519f(0x299)]=!0x0);const _0x388e93={[_0x1815ce]:_0x503ded,'fin':_0x2f1aca[_0x29519f(0x20a)],'generateMask':this[_0x29519f(0x1bb)],'mask':_0x2f1aca['mask'],'maskBuffer':this['_maskBuffer'],'opcode':_0x1ceea7,'readOnly':_0x522326,'rsv1':_0x5a5424};_0x23c327(_0x1ff8da)?this[_0x29519f(0x23a)]!==_0x20df17?this[_0x29519f(0x2d7)]([this[_0x29519f(0x187)],_0x1ff8da,this[_0x29519f(0x2bc)],_0x388e93,_0x2aeadc]):this[_0x29519f(0x187)](_0x1ff8da,this[_0x29519f(0x2bc)],_0x388e93,_0x2aeadc):this[_0x29519f(0x23a)]!==_0x20df17?this[_0x29519f(0x2d7)]([this[_0x29519f(0x1e2)],_0x1ff8da,this[_0x29519f(0x2bc)],_0x388e93,_0x2aeadc]):this[_0x29519f(0x1e2)](_0x1ff8da,this[_0x29519f(0x2bc)],_0x388e93,_0x2aeadc);}[_0xab2bf6(0x187)](_0x397d80,_0x3752b1,_0x3d75b8,_0x5add58){const _0x328085=_0xab2bf6;this[_0x328085(0x22a)]+=_0x3d75b8[_0x1815ce],this[_0x328085(0x23a)]=_0x48547d,_0x397d80['arrayBuffer']()[_0x328085(0x2a6)](_0x3076ce=>{const _0x514f43=_0x328085;if(this[_0x514f43(0x1df)]['destroyed']){const _0x48fdeb=new Error(_0x514f43(0x281));process[_0x514f43(0x297)](_0x46af61,this,_0x48fdeb,_0x5add58);return;}this['_bufferedBytes']-=_0x3d75b8[_0x1815ce];const _0x5757fa=_0x5e63dd(_0x3076ce);_0x3752b1?this[_0x514f43(0x1e2)](_0x5757fa,_0x3752b1,_0x3d75b8,_0x5add58):(this[_0x514f43(0x23a)]=_0x20df17,this[_0x514f43(0x178)](_0x46ed8b[_0x514f43(0x16d)](_0x5757fa,_0x3d75b8),_0x5add58),this['dequeue']());})[_0x328085(0x2dc)](_0x3b113c=>{const _0x521c16=_0x328085;process[_0x521c16(0x297)](_0x4f6f1a,this,_0x3b113c,_0x5add58);});}[_0xab2bf6(0x1e2)](_0x235c6f,_0x31e6,_0xaebd7e,_0x3172f5){const _0x2d0487=_0xab2bf6;if(!_0x31e6){this['sendFrame'](_0x46ed8b[_0x2d0487(0x16d)](_0x235c6f,_0xaebd7e),_0x3172f5);return;}const _0x83aa0b=this[_0x2d0487(0x203)][_0xc6af5f[_0x2d0487(0x1ff)]];this['_bufferedBytes']+=_0xaebd7e[_0x1815ce],this[_0x2d0487(0x23a)]=_0x2d5879,_0x83aa0b[_0x2d0487(0x247)](_0x235c6f,_0xaebd7e[_0x2d0487(0x20a)],(_0x26edd2,_0x4cf69c)=>{const _0x5a4a89=_0x2d0487;if(this['_socket'][_0x5a4a89(0x238)]){const _0x1dcd4a=new Error(_0x5a4a89(0x1f7));_0x46af61(this,_0x1dcd4a,_0x3172f5);return;}this[_0x5a4a89(0x22a)]-=_0xaebd7e[_0x1815ce],this[_0x5a4a89(0x23a)]=_0x20df17,_0xaebd7e[_0x5a4a89(0x1a7)]=!0x1,this[_0x5a4a89(0x178)](_0x46ed8b[_0x5a4a89(0x16d)](_0x4cf69c,_0xaebd7e),_0x3172f5),this[_0x5a4a89(0x136)]();});}[_0xab2bf6(0x136)](){const _0x4d7461=_0xab2bf6;for(;this[_0x4d7461(0x23a)]===_0x20df17&&this['_queue'][_0x4d7461(0x2c7)];){const _0x390241=this['_queue'][_0x4d7461(0x2e2)]();this[_0x4d7461(0x22a)]-=_0x390241[0x3][_0x1815ce],Reflect[_0x4d7461(0x1b2)](_0x390241[0x0],this,_0x390241[_0x4d7461(0x263)](0x1));}}[_0xab2bf6(0x2d7)](_0x2c3fd1){const _0x2a5e68=_0xab2bf6;this[_0x2a5e68(0x22a)]+=_0x2c3fd1[0x3][_0x1815ce],this['_queue'][_0x2a5e68(0x14d)](_0x2c3fd1);}[_0xab2bf6(0x178)](_0x491a4f,_0x5b3b5b){const _0xb1b5a5=_0xab2bf6;_0x491a4f[_0xb1b5a5(0x2c7)]===0x2?(this['_socket'][_0xb1b5a5(0x280)](),this['_socket']['write'](_0x491a4f[0x0]),this[_0xb1b5a5(0x1df)][_0xb1b5a5(0x264)](_0x491a4f[0x1],_0x5b3b5b),this[_0xb1b5a5(0x1df)][_0xb1b5a5(0x137)]()):this[_0xb1b5a5(0x1df)][_0xb1b5a5(0x264)](_0x491a4f[0x0],_0x5b3b5b);}}Ee=_0x46ed8b;function _0x46af61(_0x49df0e,_0x8f5c08,_0x478cb0){const _0x41936e=_0xab2bf6;typeof _0x478cb0==_0x41936e(0x1ed)&&_0x478cb0(_0x8f5c08);for(let _0x573f93=0x0;_0x573f93<_0x49df0e[_0x41936e(0x282)][_0x41936e(0x2c7)];_0x573f93++){const _0x510a05=_0x49df0e['_queue'][_0x573f93],_0x1dc2ec=_0x510a05[_0x510a05[_0x41936e(0x2c7)]-0x1];typeof _0x1dc2ec=='function'&&_0x1dc2ec(_0x8f5c08);}}function _0x4f6f1a(_0x1af908,_0x2ef1db,_0x1633e9){_0x46af61(_0x1af908,_0x2ef1db,_0x1633e9),_0x1af908['onerror'](_0x2ef1db);}return Ee;}var xe,tt;function Kt(){const _0x515dd0=_0x493d39;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x517f86,kListener:_0x3a54e5}=V(),_0x51751d=Symbol(_0x515dd0(0x186)),_0x5ca654=Symbol('kData'),_0x36f16c=Symbol(_0x515dd0(0x15e)),_0x2d0a50=Symbol('kMessage'),_0x2beeb6=Symbol(_0x515dd0(0x2b7)),_0x1dbe5c=Symbol(_0x515dd0(0x261)),_0x3f97c9=Symbol(_0x515dd0(0x217)),_0x5dc17f=Symbol(_0x515dd0(0x224));class _0x294f42{constructor(_0x44ea01){this[_0x1dbe5c]=null,this[_0x3f97c9]=_0x44ea01;}get[_0x515dd0(0x15f)](){return this[_0x1dbe5c];}get['type'](){return this[_0x3f97c9];}}Object[_0x515dd0(0x193)](_0x294f42[_0x515dd0(0x25e)],_0x515dd0(0x15f),{'enumerable':!0x0}),Object[_0x515dd0(0x193)](_0x294f42[_0x515dd0(0x25e)],'type',{'enumerable':!0x0});class _0x46c78a extends _0x294f42{constructor(_0xc2e401,_0x322bcc={}){const _0x124704=_0x515dd0;super(_0xc2e401),this[_0x51751d]=_0x322bcc[_0x124704(0x206)]===void 0x0?0x0:_0x322bcc[_0x124704(0x206)],this[_0x2beeb6]=_0x322bcc[_0x124704(0x293)]===void 0x0?'':_0x322bcc['reason'],this[_0x5dc17f]=_0x322bcc['wasClean']===void 0x0?!0x1:_0x322bcc[_0x124704(0x253)];}get[_0x515dd0(0x206)](){return this[_0x51751d];}get[_0x515dd0(0x293)](){return this[_0x2beeb6];}get[_0x515dd0(0x253)](){return this[_0x5dc17f];}}Object[_0x515dd0(0x193)](_0x46c78a[_0x515dd0(0x25e)],'code',{'enumerable':!0x0}),Object[_0x515dd0(0x193)](_0x46c78a[_0x515dd0(0x25e)],'reason',{'enumerable':!0x0}),Object[_0x515dd0(0x193)](_0x46c78a[_0x515dd0(0x25e)],'wasClean',{'enumerable':!0x0});class _0x2edc9e extends _0x294f42{constructor(_0x484045,_0x38ecfb={}){const _0x2f5645=_0x515dd0;super(_0x484045),this[_0x36f16c]=_0x38ecfb[_0x2f5645(0x21b)]===void 0x0?null:_0x38ecfb[_0x2f5645(0x21b)],this[_0x2d0a50]=_0x38ecfb[_0x2f5645(0x192)]===void 0x0?'':_0x38ecfb[_0x2f5645(0x192)];}get[_0x515dd0(0x21b)](){return this[_0x36f16c];}get[_0x515dd0(0x192)](){return this[_0x2d0a50];}}Object[_0x515dd0(0x193)](_0x2edc9e['prototype'],_0x515dd0(0x21b),{'enumerable':!0x0}),Object['defineProperty'](_0x2edc9e[_0x515dd0(0x25e)],_0x515dd0(0x192),{'enumerable':!0x0});class _0x8496de extends _0x294f42{constructor(_0x53e16f,_0xfcc22b={}){const _0x1f0eec=_0x515dd0;super(_0x53e16f),this[_0x5ca654]=_0xfcc22b[_0x1f0eec(0x15d)]===void 0x0?null:_0xfcc22b['data'];}get[_0x515dd0(0x15d)](){return this[_0x5ca654];}}Object[_0x515dd0(0x193)](_0x8496de[_0x515dd0(0x25e)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x46c78a,'ErrorEvent':_0x2edc9e,'Event':_0x294f42,'EventTarget':{'addEventListener'(_0x2eee0c,_0x3c7b37,_0xa80fb3={}){const _0x1ece4b=_0x515dd0;for(const _0x2dc3e3 of this[_0x1ece4b(0x23b)](_0x2eee0c))if(!_0xa80fb3[_0x517f86]&&_0x2dc3e3[_0x3a54e5]===_0x3c7b37&&!_0x2dc3e3[_0x517f86])return;let _0x4ba19d;if(_0x2eee0c===_0x1ece4b(0x192))_0x4ba19d=function(_0x1a13ed,_0x1c1982){const _0x2ad3be=_0x1ece4b,_0x3bdb70=new _0x8496de(_0x2ad3be(0x192),{'data':_0x1c1982?_0x1a13ed:_0x1a13ed['toString']()});_0x3bdb70[_0x1dbe5c]=this,_0x5cea5b(_0x3c7b37,this,_0x3bdb70);};else{if(_0x2eee0c===_0x1ece4b(0x27d))_0x4ba19d=function(_0xd88469,_0x50bb44){const _0x33d330=_0x1ece4b,_0x5e54ac=new _0x46c78a('close',{'code':_0xd88469,'reason':_0x50bb44[_0x33d330(0x1f3)](),'wasClean':this[_0x33d330(0x256)]&&this[_0x33d330(0x1d6)]});_0x5e54ac[_0x1dbe5c]=this,_0x5cea5b(_0x3c7b37,this,_0x5e54ac);};else{if(_0x2eee0c===_0x1ece4b(0x21b))_0x4ba19d=function(_0x88fcf0){const _0x40fb46=_0x1ece4b,_0x481f3f=new _0x2edc9e(_0x40fb46(0x21b),{'error':_0x88fcf0,'message':_0x88fcf0[_0x40fb46(0x192)]});_0x481f3f[_0x1dbe5c]=this,_0x5cea5b(_0x3c7b37,this,_0x481f3f);};else{if(_0x2eee0c===_0x1ece4b(0x26a))_0x4ba19d=function(){const _0x599053=new _0x294f42('open');_0x599053[_0x1dbe5c]=this,_0x5cea5b(_0x3c7b37,this,_0x599053);};else return;}}}_0x4ba19d[_0x517f86]=!!_0xa80fb3[_0x517f86],_0x4ba19d[_0x3a54e5]=_0x3c7b37,_0xa80fb3['once']?this[_0x1ece4b(0x28b)](_0x2eee0c,_0x4ba19d):this['on'](_0x2eee0c,_0x4ba19d);},'removeEventListener'(_0x12413e,_0xc9a73){const _0x2e1aaa=_0x515dd0;for(const _0x613353 of this[_0x2e1aaa(0x23b)](_0x12413e))if(_0x613353[_0x3a54e5]===_0xc9a73&&!_0x613353[_0x517f86]){this[_0x2e1aaa(0x258)](_0x12413e,_0x613353);break;}}},'MessageEvent':_0x8496de};function _0x5cea5b(_0x11a420,_0x13e4a0,_0x3a6571){const _0x4fbcbb=_0x515dd0;typeof _0x11a420==_0x4fbcbb(0x2d0)&&_0x11a420['handleEvent']?_0x11a420[_0x4fbcbb(0x2c4)][_0x4fbcbb(0x227)](_0x11a420,_0x3a6571):_0x11a420[_0x4fbcbb(0x227)](_0x13e4a0,_0x3a6571);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x1dc28c}=ne();function _0x565010(_0x17abbb,_0x6750a8,_0x14e527){const _0xd33119=_0x1701;_0x17abbb[_0x6750a8]===void 0x0?_0x17abbb[_0x6750a8]=[_0x14e527]:_0x17abbb[_0x6750a8][_0xd33119(0x14d)](_0x14e527);}function _0x87c57(_0x1bcd53){const _0x158baf=_0x1701,_0xb96334=Object[_0x158baf(0x1a8)](null);let _0x519c2b=Object['create'](null),_0x446218=!0x1,_0x3fddba=!0x1,_0x10954b=!0x1,_0x121ce9,_0x3bbd7,_0x1b9676=-0x1,_0x426d14=-0x1,_0x5e62b8=-0x1,_0x5a4694=0x0;for(;_0x5a4694<_0x1bcd53['length'];_0x5a4694++)if(_0x426d14=_0x1bcd53['charCodeAt'](_0x5a4694),_0x121ce9===void 0x0){if(_0x5e62b8===-0x1&&_0x1dc28c[_0x426d14]===0x1)_0x1b9676===-0x1&&(_0x1b9676=_0x5a4694);else{if(_0x5a4694!==0x0&&(_0x426d14===0x20||_0x426d14===0x9))_0x5e62b8===-0x1&&_0x1b9676!==-0x1&&(_0x5e62b8=_0x5a4694);else{if(_0x426d14===0x3b||_0x426d14===0x2c){if(_0x1b9676===-0x1)throw new SyntaxError(_0x158baf(0x2d8)+_0x5a4694);_0x5e62b8===-0x1&&(_0x5e62b8=_0x5a4694);const _0x41697f=_0x1bcd53[_0x158baf(0x263)](_0x1b9676,_0x5e62b8);_0x426d14===0x2c?(_0x565010(_0xb96334,_0x41697f,_0x519c2b),_0x519c2b=Object[_0x158baf(0x1a8)](null)):_0x121ce9=_0x41697f,_0x1b9676=_0x5e62b8=-0x1;}else throw new SyntaxError(_0x158baf(0x2d8)+_0x5a4694);}}}else{if(_0x3bbd7===void 0x0){if(_0x5e62b8===-0x1&&_0x1dc28c[_0x426d14]===0x1)_0x1b9676===-0x1&&(_0x1b9676=_0x5a4694);else{if(_0x426d14===0x20||_0x426d14===0x9)_0x5e62b8===-0x1&&_0x1b9676!==-0x1&&(_0x5e62b8=_0x5a4694);else{if(_0x426d14===0x3b||_0x426d14===0x2c){if(_0x1b9676===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5a4694);_0x5e62b8===-0x1&&(_0x5e62b8=_0x5a4694),_0x565010(_0x519c2b,_0x1bcd53['slice'](_0x1b9676,_0x5e62b8),!0x0),_0x426d14===0x2c&&(_0x565010(_0xb96334,_0x121ce9,_0x519c2b),_0x519c2b=Object[_0x158baf(0x1a8)](null),_0x121ce9=void 0x0),_0x1b9676=_0x5e62b8=-0x1;}else{if(_0x426d14===0x3d&&_0x1b9676!==-0x1&&_0x5e62b8===-0x1)_0x3bbd7=_0x1bcd53[_0x158baf(0x263)](_0x1b9676,_0x5a4694),_0x1b9676=_0x5e62b8=-0x1;else throw new SyntaxError(_0x158baf(0x2d8)+_0x5a4694);}}}}else{if(_0x3fddba){if(_0x1dc28c[_0x426d14]!==0x1)throw new SyntaxError(_0x158baf(0x2d8)+_0x5a4694);_0x1b9676===-0x1?_0x1b9676=_0x5a4694:_0x446218||(_0x446218=!0x0),_0x3fddba=!0x1;}else{if(_0x10954b){if(_0x1dc28c[_0x426d14]===0x1)_0x1b9676===-0x1&&(_0x1b9676=_0x5a4694);else{if(_0x426d14===0x22&&_0x1b9676!==-0x1)_0x10954b=!0x1,_0x5e62b8=_0x5a4694;else{if(_0x426d14===0x5c)_0x3fddba=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5a4694);}}}else{if(_0x426d14===0x22&&_0x1bcd53['charCodeAt'](_0x5a4694-0x1)===0x3d)_0x10954b=!0x0;else{if(_0x5e62b8===-0x1&&_0x1dc28c[_0x426d14]===0x1)_0x1b9676===-0x1&&(_0x1b9676=_0x5a4694);else{if(_0x1b9676!==-0x1&&(_0x426d14===0x20||_0x426d14===0x9))_0x5e62b8===-0x1&&(_0x5e62b8=_0x5a4694);else{if(_0x426d14===0x3b||_0x426d14===0x2c){if(_0x1b9676===-0x1)throw new SyntaxError(_0x158baf(0x2d8)+_0x5a4694);_0x5e62b8===-0x1&&(_0x5e62b8=_0x5a4694);let _0x116fbe=_0x1bcd53[_0x158baf(0x263)](_0x1b9676,_0x5e62b8);_0x446218&&(_0x116fbe=_0x116fbe[_0x158baf(0x2d5)](/\\/g,''),_0x446218=!0x1),_0x565010(_0x519c2b,_0x3bbd7,_0x116fbe),_0x426d14===0x2c&&(_0x565010(_0xb96334,_0x121ce9,_0x519c2b),_0x519c2b=Object[_0x158baf(0x1a8)](null),_0x121ce9=void 0x0),_0x3bbd7=void 0x0,_0x1b9676=_0x5e62b8=-0x1;}else throw new SyntaxError(_0x158baf(0x2d8)+_0x5a4694);}}}}}}}if(_0x1b9676===-0x1||_0x10954b||_0x426d14===0x20||_0x426d14===0x9)throw new SyntaxError(_0x158baf(0x1c7));_0x5e62b8===-0x1&&(_0x5e62b8=_0x5a4694);const _0x484938=_0x1bcd53[_0x158baf(0x263)](_0x1b9676,_0x5e62b8);return _0x121ce9===void 0x0?_0x565010(_0xb96334,_0x484938,_0x519c2b):(_0x3bbd7===void 0x0?_0x565010(_0x519c2b,_0x484938,!0x0):_0x446218?_0x565010(_0x519c2b,_0x3bbd7,_0x484938[_0x158baf(0x2d5)](/\\/g,'')):_0x565010(_0x519c2b,_0x3bbd7,_0x484938),_0x565010(_0xb96334,_0x121ce9,_0x519c2b)),_0xb96334;}function _0x56fecf(_0x27b308){const _0x3f2c31=_0x1701;return Object[_0x3f2c31(0x294)](_0x27b308)['map'](_0x5de211=>{const _0x4022d3=_0x3f2c31;let _0x141876=_0x27b308[_0x5de211];return Array['isArray'](_0x141876)||(_0x141876=[_0x141876]),_0x141876[_0x4022d3(0x17e)](_0x2caff8=>[_0x5de211][_0x4022d3(0x262)](Object[_0x4022d3(0x294)](_0x2caff8)[_0x4022d3(0x17e)](_0x5ef4c0=>{const _0x68fccf=_0x4022d3;let _0x3993ad=_0x2caff8[_0x5ef4c0];return Array[_0x68fccf(0x143)](_0x3993ad)||(_0x3993ad=[_0x3993ad]),_0x3993ad[_0x68fccf(0x17e)](_0x1c75f6=>_0x1c75f6===!0x0?_0x5ef4c0:_0x5ef4c0+'='+_0x1c75f6)[_0x68fccf(0x1c8)](';\x20');}))[_0x4022d3(0x1c8)](';\x20'))['join'](',\x20');})['join'](',\x20');}return be={'format':_0x56fecf,'parse':_0x87c57},be;}var we,st;function Ie(){const _0x4230f3=_0x493d39;if(st)return we;st=0x1;const _0x27aa4c=_0xd5fa55,_0x151431=_0x311af8,_0x1c75e9=_0x5848fe,_0x571936=_0x302956,_0x490998=_0x454525,{randomBytes:_0x21c903,createHash:_0x560eca}=_0x383096,{Duplex:_0x469d4b,Readable:_0x3d1613}=_0x4cd284,{URL:_0x1e2b57}=_0x4787f6,_0x5f1c27=he(),_0x1afcec=dt(),_0x46704a=_t(),{isBlob:_0x44e2fe}=ne(),{BINARY_TYPES:_0x384d21,EMPTY_BUFFER:_0x46cf9e,GUID:_0x106b63,kForOnEventAttribute:_0x26dccf,kListener:_0x3c646e,kStatusCode:_0x5ef279,kWebSocket:_0x297f0c,NOOP:_0x4daa15}=V(),{EventTarget:{addEventListener:_0x51f449,removeEventListener:_0x332249}}=Kt(),{format:_0x23afe0,parse:_0x2f35b7}=pt(),{toBuffer:_0xb5a4bf}=ce(),_0x251269=0x1e*0x3e8,_0x46d01e=Symbol(_0x4230f3(0x220)),_0x4a8c08=[0x8,0xd],_0x378780=[_0x4230f3(0x24d),_0x4230f3(0x1ad),_0x4230f3(0x259),'CLOSED'],_0x71df2b=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x4604a0 extends _0x27aa4c{constructor(_0x25ba6b,_0x59e127,_0x458647){const _0x55deef=_0x4230f3;super(),this[_0x55deef(0x26c)]=_0x384d21[0x0],this[_0x55deef(0x207)]=0x3ee,this[_0x55deef(0x256)]=!0x1,this[_0x55deef(0x1d6)]=!0x1,this['_closeMessage']=_0x46cf9e,this['_closeTimer']=null,this[_0x55deef(0x241)]=!0x1,this[_0x55deef(0x203)]={},this[_0x55deef(0x26b)]=!0x1,this[_0x55deef(0x2c8)]='',this[_0x55deef(0x2b0)]=_0x4604a0[_0x55deef(0x24d)],this[_0x55deef(0x1e9)]=null,this['_sender']=null,this[_0x55deef(0x1df)]=null,_0x25ba6b!==null?(this[_0x55deef(0x2c6)]=0x0,this[_0x55deef(0x27b)]=!0x1,this['_redirects']=0x0,_0x59e127===void 0x0?_0x59e127=[]:Array[_0x55deef(0x143)](_0x59e127)||(typeof _0x59e127==_0x55deef(0x2d0)&&_0x59e127!==null?(_0x458647=_0x59e127,_0x59e127=[]):_0x59e127=[_0x59e127]),_0x57e822(this,_0x25ba6b,_0x59e127,_0x458647)):(this[_0x55deef(0x279)]=_0x458647[_0x55deef(0x18a)],this[_0x55deef(0x27b)]=!0x0);}get[_0x4230f3(0x265)](){return this['_binaryType'];}set[_0x4230f3(0x265)](_0x123942){const _0x55f63b=_0x4230f3;_0x384d21[_0x55f63b(0x1bc)](_0x123942)&&(this[_0x55f63b(0x26c)]=_0x123942,this[_0x55f63b(0x1e9)]&&(this[_0x55f63b(0x1e9)][_0x55f63b(0x26c)]=_0x123942));}get[_0x4230f3(0x29b)](){const _0xfb6b24=_0x4230f3;return this[_0xfb6b24(0x1df)]?this[_0xfb6b24(0x1df)][_0xfb6b24(0x211)][_0xfb6b24(0x2c7)]+this['_sender']['_bufferedBytes']:this['_bufferedAmount'];}get['extensions'](){const _0xc2bdc3=_0x4230f3;return Object[_0xc2bdc3(0x294)](this[_0xc2bdc3(0x203)])[_0xc2bdc3(0x1c8)]();}get[_0x4230f3(0x22f)](){const _0x2b8f6c=_0x4230f3;return this[_0x2b8f6c(0x26b)];}get[_0x4230f3(0x1e6)](){return null;}get[_0x4230f3(0x1cd)](){return null;}get['onopen'](){return null;}get['onmessage'](){return null;}get[_0x4230f3(0x149)](){const _0x4feea=_0x4230f3;return this[_0x4feea(0x2c8)];}get[_0x4230f3(0x20e)](){const _0x36cb08=_0x4230f3;return this[_0x36cb08(0x2b0)];}get[_0x4230f3(0x24c)](){return this['_url'];}[_0x4230f3(0x165)](_0x29f1bf,_0x4bc46b,_0x4dbb54){const _0x4f7e48=_0x4230f3,_0x558ca2=new _0x1afcec({'allowSynchronousEvents':_0x4dbb54[_0x4f7e48(0x2be)],'binaryType':this['binaryType'],'extensions':this[_0x4f7e48(0x203)],'isServer':this[_0x4f7e48(0x27b)],'maxPayload':_0x4dbb54[_0x4f7e48(0x195)],'skipUTF8Validation':_0x4dbb54['skipUTF8Validation']}),_0x47cb5c=new _0x46704a(_0x29f1bf,this[_0x4f7e48(0x203)],_0x4dbb54[_0x4f7e48(0x2dd)]);this['_receiver']=_0x558ca2,this[_0x4f7e48(0x1f2)]=_0x47cb5c,this[_0x4f7e48(0x1df)]=_0x29f1bf,_0x558ca2[_0x297f0c]=this,_0x47cb5c[_0x297f0c]=this,_0x29f1bf[_0x297f0c]=this,_0x558ca2['on'](_0x4f7e48(0x1f8),_0x221dd9),_0x558ca2['on'](_0x4f7e48(0x260),_0x372027),_0x558ca2['on']('error',_0x3cbac2),_0x558ca2['on']('message',_0x36c723),_0x558ca2['on'](_0x4f7e48(0x26d),_0x4e4167),_0x558ca2['on'](_0x4f7e48(0x2cd),_0x1c88fc),_0x47cb5c[_0x4f7e48(0x1cd)]=_0x500180,_0x29f1bf['setTimeout']&&_0x29f1bf['setTimeout'](0x0),_0x29f1bf['setNoDelay']&&_0x29f1bf[_0x4f7e48(0x1db)](),_0x4bc46b[_0x4f7e48(0x2c7)]>0x0&&_0x29f1bf[_0x4f7e48(0x19b)](_0x4bc46b),_0x29f1bf['on'](_0x4f7e48(0x27d),_0x23798b),_0x29f1bf['on']('data',_0x58e607),_0x29f1bf['on'](_0x4f7e48(0x287),_0x29b6d9),_0x29f1bf['on'](_0x4f7e48(0x21b),_0x15eee8),this[_0x4f7e48(0x2b0)]=_0x4604a0['OPEN'],this[_0x4f7e48(0x298)](_0x4f7e48(0x26a));}['emitClose'](){const _0x2229b2=_0x4230f3;if(!this[_0x2229b2(0x1df)]){this[_0x2229b2(0x2b0)]=_0x4604a0[_0x2229b2(0x237)],this['emit'](_0x2229b2(0x27d),this['_closeCode'],this[_0x2229b2(0x144)]);return;}this[_0x2229b2(0x203)][_0x5f1c27[_0x2229b2(0x1ff)]]&&this[_0x2229b2(0x203)][_0x5f1c27[_0x2229b2(0x1ff)]][_0x2229b2(0x1c0)](),this[_0x2229b2(0x1e9)][_0x2229b2(0x172)](),this[_0x2229b2(0x2b0)]=_0x4604a0[_0x2229b2(0x237)],this[_0x2229b2(0x298)]('close',this[_0x2229b2(0x207)],this[_0x2229b2(0x144)]);}['close'](_0x3565d9,_0x28c377){const _0x14f395=_0x4230f3;if(this[_0x14f395(0x20e)]!==_0x4604a0[_0x14f395(0x237)]){if(this[_0x14f395(0x20e)]===_0x4604a0[_0x14f395(0x24d)]){_0x1657be(this,this[_0x14f395(0x2df)],_0x14f395(0x242));return;}if(this[_0x14f395(0x20e)]===_0x4604a0[_0x14f395(0x259)]){this[_0x14f395(0x1d6)]&&(this[_0x14f395(0x256)]||this['_receiver']['_writableState']['errorEmitted'])&&this[_0x14f395(0x1df)]['end']();return;}this['_readyState']=_0x4604a0['CLOSING'],this[_0x14f395(0x1f2)][_0x14f395(0x27d)](_0x3565d9,_0x28c377,!this[_0x14f395(0x27b)],_0x2a4c25=>{const _0x182ae1=_0x14f395;_0x2a4c25||(this['_closeFrameSent']=!0x0,(this[_0x182ae1(0x256)]||this[_0x182ae1(0x1e9)][_0x182ae1(0x211)]['errorEmitted'])&&this[_0x182ae1(0x1df)]['end']());}),_0x379226(this);}}[_0x4230f3(0x1ca)](){const _0x1301f6=_0x4230f3;this[_0x1301f6(0x20e)]===_0x4604a0['CONNECTING']||this[_0x1301f6(0x20e)]===_0x4604a0['CLOSED']||(this['_paused']=!0x0,this[_0x1301f6(0x1df)]['pause']());}[_0x4230f3(0x26d)](_0x61cb19,_0x40ff97,_0x2084bf){const _0x5ebe27=_0x4230f3;if(this['readyState']===_0x4604a0['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x61cb19==_0x5ebe27(0x1ed)?(_0x2084bf=_0x61cb19,_0x61cb19=_0x40ff97=void 0x0):typeof _0x40ff97==_0x5ebe27(0x1ed)&&(_0x2084bf=_0x40ff97,_0x40ff97=void 0x0),typeof _0x61cb19==_0x5ebe27(0x28f)&&(_0x61cb19=_0x61cb19[_0x5ebe27(0x1f3)]()),this['readyState']!==_0x4604a0[_0x5ebe27(0x1ad)]){_0x301e6f(this,_0x61cb19,_0x2084bf);return;}_0x40ff97===void 0x0&&(_0x40ff97=!this[_0x5ebe27(0x27b)]),this[_0x5ebe27(0x1f2)][_0x5ebe27(0x26d)](_0x61cb19||_0x46cf9e,_0x40ff97,_0x2084bf);}[_0x4230f3(0x2cd)](_0x290503,_0x392e9c,_0x5e7b20){const _0x4a5625=_0x4230f3;if(this['readyState']===_0x4604a0['CONNECTING'])throw new Error(_0x4a5625(0x283));if(typeof _0x290503=='function'?(_0x5e7b20=_0x290503,_0x290503=_0x392e9c=void 0x0):typeof _0x392e9c==_0x4a5625(0x1ed)&&(_0x5e7b20=_0x392e9c,_0x392e9c=void 0x0),typeof _0x290503==_0x4a5625(0x28f)&&(_0x290503=_0x290503[_0x4a5625(0x1f3)]()),this['readyState']!==_0x4604a0[_0x4a5625(0x1ad)]){_0x301e6f(this,_0x290503,_0x5e7b20);return;}_0x392e9c===void 0x0&&(_0x392e9c=!this['_isServer']),this[_0x4a5625(0x1f2)]['pong'](_0x290503||_0x46cf9e,_0x392e9c,_0x5e7b20);}['resume'](){const _0x6748ea=_0x4230f3;this['readyState']===_0x4604a0[_0x6748ea(0x24d)]||this['readyState']===_0x4604a0['CLOSED']||(this['_paused']=!0x1,this['_receiver'][_0x6748ea(0x211)][_0x6748ea(0x1eb)]||this['_socket']['resume']());}['send'](_0x2ebbfc,_0x357462,_0x3cd8c1){const _0x3a5e58=_0x4230f3;if(this['readyState']===_0x4604a0[_0x3a5e58(0x24d)])throw new Error(_0x3a5e58(0x283));if(typeof _0x357462==_0x3a5e58(0x1ed)&&(_0x3cd8c1=_0x357462,_0x357462={}),typeof _0x2ebbfc==_0x3a5e58(0x28f)&&(_0x2ebbfc=_0x2ebbfc[_0x3a5e58(0x1f3)]()),this[_0x3a5e58(0x20e)]!==_0x4604a0[_0x3a5e58(0x1ad)]){_0x301e6f(this,_0x2ebbfc,_0x3cd8c1);return;}const _0x6deee3={'binary':typeof _0x2ebbfc!=_0x3a5e58(0x138),'mask':!this[_0x3a5e58(0x27b)],'compress':!0x0,'fin':!0x0,..._0x357462};this[_0x3a5e58(0x203)][_0x5f1c27[_0x3a5e58(0x1ff)]]||(_0x6deee3[_0x3a5e58(0x247)]=!0x1),this['_sender'][_0x3a5e58(0x1a1)](_0x2ebbfc||_0x46cf9e,_0x6deee3,_0x3cd8c1);}[_0x4230f3(0x1aa)](){const _0x36b736=_0x4230f3;if(this[_0x36b736(0x20e)]!==_0x4604a0[_0x36b736(0x237)]){if(this['readyState']===_0x4604a0[_0x36b736(0x24d)]){_0x1657be(this,this[_0x36b736(0x2df)],_0x36b736(0x242));return;}this[_0x36b736(0x1df)]&&(this['_readyState']=_0x4604a0[_0x36b736(0x259)],this[_0x36b736(0x1df)][_0x36b736(0x1c6)]());}}}Object[_0x4230f3(0x193)](_0x4604a0,_0x4230f3(0x24d),{'enumerable':!0x0,'value':_0x378780['indexOf'](_0x4230f3(0x24d))}),Object['defineProperty'](_0x4604a0[_0x4230f3(0x25e)],_0x4230f3(0x24d),{'enumerable':!0x0,'value':_0x378780['indexOf']('CONNECTING')}),Object[_0x4230f3(0x193)](_0x4604a0,'OPEN',{'enumerable':!0x0,'value':_0x378780[_0x4230f3(0x181)](_0x4230f3(0x1ad))}),Object['defineProperty'](_0x4604a0[_0x4230f3(0x25e)],_0x4230f3(0x1ad),{'enumerable':!0x0,'value':_0x378780[_0x4230f3(0x181)](_0x4230f3(0x1ad))}),Object[_0x4230f3(0x193)](_0x4604a0,_0x4230f3(0x259),{'enumerable':!0x0,'value':_0x378780['indexOf']('CLOSING')}),Object['defineProperty'](_0x4604a0[_0x4230f3(0x25e)],_0x4230f3(0x259),{'enumerable':!0x0,'value':_0x378780[_0x4230f3(0x181)](_0x4230f3(0x259))}),Object[_0x4230f3(0x193)](_0x4604a0,_0x4230f3(0x237),{'enumerable':!0x0,'value':_0x378780[_0x4230f3(0x181)]('CLOSED')}),Object[_0x4230f3(0x193)](_0x4604a0[_0x4230f3(0x25e)],_0x4230f3(0x237),{'enumerable':!0x0,'value':_0x378780[_0x4230f3(0x181)](_0x4230f3(0x237))}),[_0x4230f3(0x265),'bufferedAmount',_0x4230f3(0x1ab),'isPaused',_0x4230f3(0x149),'readyState',_0x4230f3(0x24c)][_0x4230f3(0x214)](_0x31e6fd=>{const _0x1495c4=_0x4230f3;Object[_0x1495c4(0x193)](_0x4604a0['prototype'],_0x31e6fd,{'enumerable':!0x0});}),[_0x4230f3(0x26a),'error',_0x4230f3(0x27d),_0x4230f3(0x192)][_0x4230f3(0x214)](_0x5ba099=>{const _0x1110ae=_0x4230f3;Object[_0x1110ae(0x193)](_0x4604a0['prototype'],'on'+_0x5ba099,{'enumerable':!0x0,'get'(){const _0x2a452e=_0x1110ae;for(const _0x16b297 of this[_0x2a452e(0x23b)](_0x5ba099))if(_0x16b297[_0x26dccf])return _0x16b297[_0x3c646e];return null;},'set'(_0x19474a){const _0x454ca5=_0x1110ae;for(const _0x2f5627 of this[_0x454ca5(0x23b)](_0x5ba099))if(_0x2f5627[_0x26dccf]){this[_0x454ca5(0x258)](_0x5ba099,_0x2f5627);break;}typeof _0x19474a==_0x454ca5(0x1ed)&&this[_0x454ca5(0x28a)](_0x5ba099,_0x19474a,{[_0x26dccf]:!0x0});}});}),_0x4604a0[_0x4230f3(0x25e)][_0x4230f3(0x28a)]=_0x51f449,_0x4604a0[_0x4230f3(0x25e)][_0x4230f3(0x161)]=_0x332249,we=_0x4604a0;function _0x57e822(_0x3d878c,_0x4391a5,_0x20bcf4,_0x17f6b4){const _0x720d12=_0x4230f3,_0x30a90e={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4a8c08[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x17f6b4,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x720d12(0x1bd),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3d878c[_0x720d12(0x279)]=_0x30a90e[_0x720d12(0x18a)],!_0x4a8c08[_0x720d12(0x1bc)](_0x30a90e[_0x720d12(0x145)]))throw new RangeError(_0x720d12(0x1bf)+_0x30a90e['protocolVersion']+_0x720d12(0x2d2)+_0x4a8c08['join'](',\x20')+')');let _0x2840fc;if(_0x4391a5 instanceof _0x1e2b57)_0x2840fc=_0x4391a5;else try{_0x2840fc=new _0x1e2b57(_0x4391a5);}catch{throw new SyntaxError(_0x720d12(0x278)+_0x4391a5);}_0x2840fc[_0x720d12(0x149)]===_0x720d12(0x249)?_0x2840fc[_0x720d12(0x149)]='ws:':_0x2840fc[_0x720d12(0x149)]===_0x720d12(0x15c)&&(_0x2840fc[_0x720d12(0x149)]=_0x720d12(0x232)),_0x3d878c[_0x720d12(0x14a)]=_0x2840fc[_0x720d12(0x268)];const _0x34f6cb=_0x2840fc['protocol']===_0x720d12(0x232),_0xafcc66=_0x2840fc[_0x720d12(0x149)]===_0x720d12(0x14b);let _0x24f335;if(_0x2840fc[_0x720d12(0x149)]!==_0x720d12(0x2da)&&!_0x34f6cb&&!_0xafcc66?_0x24f335=_0x720d12(0x2ad):_0xafcc66&&!_0x2840fc[_0x720d12(0x2af)]?_0x24f335=_0x720d12(0x17d):_0x2840fc[_0x720d12(0x2aa)]&&(_0x24f335=_0x720d12(0x21f)),_0x24f335){const _0xd948e8=new SyntaxError(_0x24f335);if(_0x3d878c['_redirects']===0x0)throw _0xd948e8;_0x250c63(_0x3d878c,_0xd948e8);return;}const _0x20312a=_0x34f6cb?0x1bb:0x50,_0x1596cf=_0x21c903(0x10)['toString'](_0x720d12(0x215)),_0xac4d7e=_0x34f6cb?_0x151431[_0x720d12(0x2ca)]:_0x1c75e9[_0x720d12(0x2ca)],_0x1c80c6=new Set();let _0x4569d1;if(_0x30a90e[_0x720d12(0x13c)]=_0x30a90e[_0x720d12(0x13c)]||(_0x34f6cb?_0x369aad:_0x2d11c2),_0x30a90e[_0x720d12(0x2e0)]=_0x30a90e[_0x720d12(0x2e0)]||_0x20312a,_0x30a90e[_0x720d12(0x19a)]=_0x2840fc[_0x720d12(0x19a)]||_0x20312a,_0x30a90e['host']=_0x2840fc[_0x720d12(0x1e1)][_0x720d12(0x1f4)]('[')?_0x2840fc[_0x720d12(0x1e1)][_0x720d12(0x263)](0x1,-0x1):_0x2840fc[_0x720d12(0x1e1)],_0x30a90e[_0x720d12(0x29a)]={..._0x30a90e['headers'],'Sec-WebSocket-Version':_0x30a90e[_0x720d12(0x145)],'Sec-WebSocket-Key':_0x1596cf,'Connection':_0x720d12(0x1b3),'Upgrade':'websocket'},_0x30a90e[_0x720d12(0x14e)]=_0x2840fc['pathname']+_0x2840fc[_0x720d12(0x18e)],_0x30a90e[_0x720d12(0x2a9)]=_0x30a90e[_0x720d12(0x2b8)],_0x30a90e[_0x720d12(0x295)]&&(_0x4569d1=new _0x5f1c27(_0x30a90e[_0x720d12(0x295)]!==!0x0?_0x30a90e[_0x720d12(0x295)]:{},!0x1,_0x30a90e[_0x720d12(0x195)]),_0x30a90e[_0x720d12(0x29a)][_0x720d12(0x174)]=_0x23afe0({[_0x5f1c27[_0x720d12(0x1ff)]]:_0x4569d1[_0x720d12(0x2b3)]()})),_0x20bcf4[_0x720d12(0x2c7)]){for(const _0x72bf36 of _0x20bcf4){if(typeof _0x72bf36!='string'||!_0x71df2b[_0x720d12(0x2c1)](_0x72bf36)||_0x1c80c6[_0x720d12(0x185)](_0x72bf36))throw new SyntaxError(_0x720d12(0x191));_0x1c80c6[_0x720d12(0x286)](_0x72bf36);}_0x30a90e['headers']['Sec-WebSocket-Protocol']=_0x20bcf4[_0x720d12(0x1c8)](',');}if(_0x30a90e[_0x720d12(0x183)]&&(_0x30a90e[_0x720d12(0x145)]<0xd?_0x30a90e[_0x720d12(0x29a)]['Sec-WebSocket-Origin']=_0x30a90e[_0x720d12(0x183)]:_0x30a90e[_0x720d12(0x29a)][_0x720d12(0x243)]=_0x30a90e[_0x720d12(0x183)]),(_0x2840fc[_0x720d12(0x1b9)]||_0x2840fc['password'])&&(_0x30a90e[_0x720d12(0x1be)]=_0x2840fc['username']+':'+_0x2840fc[_0x720d12(0x285)]),_0xafcc66){const _0x413299=_0x30a90e['path'][_0x720d12(0x164)](':');_0x30a90e[_0x720d12(0x225)]=_0x413299[0x0],_0x30a90e[_0x720d12(0x14e)]=_0x413299[0x1];}let _0x2153d5;if(_0x30a90e[_0x720d12(0x1e8)]){if(_0x3d878c[_0x720d12(0x1fa)]===0x0){_0x3d878c['_originalIpc']=_0xafcc66,_0x3d878c[_0x720d12(0x1c5)]=_0x34f6cb,_0x3d878c[_0x720d12(0x141)]=_0xafcc66?_0x30a90e[_0x720d12(0x225)]:_0x2840fc[_0x720d12(0x21e)];const _0x2f0d77=_0x17f6b4&&_0x17f6b4[_0x720d12(0x29a)];if(_0x17f6b4={..._0x17f6b4,'headers':{}},_0x2f0d77){for(const [_0x3b9e91,_0x125bd7]of Object[_0x720d12(0x17b)](_0x2f0d77))_0x17f6b4[_0x720d12(0x29a)][_0x3b9e91[_0x720d12(0x1f6)]()]=_0x125bd7;}}else{if(_0x3d878c['listenerCount'](_0x720d12(0x29d))===0x0){const _0x1c5a53=_0xafcc66?_0x3d878c[_0x720d12(0x296)]?_0x30a90e[_0x720d12(0x225)]===_0x3d878c[_0x720d12(0x141)]:!0x1:_0x3d878c[_0x720d12(0x296)]?!0x1:_0x2840fc[_0x720d12(0x21e)]===_0x3d878c[_0x720d12(0x141)];(!_0x1c5a53||_0x3d878c['_originalSecure']&&!_0x34f6cb)&&(delete _0x30a90e['headers'][_0x720d12(0x2a2)],delete _0x30a90e[_0x720d12(0x29a)][_0x720d12(0x2bd)],_0x1c5a53||delete _0x30a90e[_0x720d12(0x29a)]['host'],_0x30a90e['auth']=void 0x0);}}_0x30a90e[_0x720d12(0x1be)]&&!_0x17f6b4[_0x720d12(0x29a)][_0x720d12(0x2a2)]&&(_0x17f6b4[_0x720d12(0x29a)][_0x720d12(0x2a2)]='Basic\x20'+Buffer[_0x720d12(0x1b1)](_0x30a90e[_0x720d12(0x1be)])[_0x720d12(0x1f3)](_0x720d12(0x215))),_0x2153d5=_0x3d878c[_0x720d12(0x2df)]=_0xac4d7e(_0x30a90e),_0x3d878c[_0x720d12(0x1fa)]&&_0x3d878c[_0x720d12(0x298)](_0x720d12(0x29d),_0x3d878c[_0x720d12(0x24c)],_0x2153d5);}else _0x2153d5=_0x3d878c[_0x720d12(0x2df)]=_0xac4d7e(_0x30a90e);_0x30a90e[_0x720d12(0x2a9)]&&_0x2153d5['on'](_0x720d12(0x2a9),()=>{const _0x21dda7=_0x720d12;_0x1657be(_0x3d878c,_0x2153d5,_0x21dda7(0x2a3));}),_0x2153d5['on']('error',_0x225e8e=>{const _0x4c96b0=_0x720d12;_0x2153d5===null||_0x2153d5[_0x46d01e]||(_0x2153d5=_0x3d878c[_0x4c96b0(0x2df)]=null,_0x250c63(_0x3d878c,_0x225e8e));}),_0x2153d5['on']('response',_0x4181f2=>{const _0x1e4844=_0x720d12,_0xf3b2a1=_0x4181f2[_0x1e4844(0x29a)][_0x1e4844(0x2e1)],_0x542e81=_0x4181f2['statusCode'];if(_0xf3b2a1&&_0x30a90e[_0x1e4844(0x1e8)]&&_0x542e81>=0x12c&&_0x542e81<0x190){if(++_0x3d878c['_redirects']>_0x30a90e[_0x1e4844(0x239)]){_0x1657be(_0x3d878c,_0x2153d5,'Maximum\x20redirects\x20exceeded');return;}_0x2153d5[_0x1e4844(0x248)]();let _0x60042c;try{_0x60042c=new _0x1e2b57(_0xf3b2a1,_0x4391a5);}catch{const _0x4af773=new SyntaxError(_0x1e4844(0x278)+_0xf3b2a1);_0x250c63(_0x3d878c,_0x4af773);return;}_0x57e822(_0x3d878c,_0x60042c,_0x20bcf4,_0x17f6b4);}else _0x3d878c[_0x1e4844(0x298)](_0x1e4844(0x277),_0x2153d5,_0x4181f2)||_0x1657be(_0x3d878c,_0x2153d5,_0x1e4844(0x2a4)+_0x4181f2[_0x1e4844(0x213)]);}),_0x2153d5['on'](_0x720d12(0x175),(_0x28cc13,_0x447728,_0x373c40)=>{const _0x4b2854=_0x720d12;if(_0x3d878c['emit'](_0x4b2854(0x175),_0x28cc13),_0x3d878c[_0x4b2854(0x20e)]!==_0x4604a0[_0x4b2854(0x24d)])return;_0x2153d5=_0x3d878c['_req']=null;const _0x483be7=_0x28cc13[_0x4b2854(0x29a)][_0x4b2854(0x175)];if(_0x483be7===void 0x0||_0x483be7['toLowerCase']()!==_0x4b2854(0x198)){_0x1657be(_0x3d878c,_0x447728,_0x4b2854(0x135));return;}const _0x1170ea=_0x560eca(_0x4b2854(0x197))[_0x4b2854(0x171)](_0x1596cf+_0x106b63)['digest'](_0x4b2854(0x215));if(_0x28cc13[_0x4b2854(0x29a)][_0x4b2854(0x1f9)]!==_0x1170ea){_0x1657be(_0x3d878c,_0x447728,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0xa3d6f0=_0x28cc13[_0x4b2854(0x29a)][_0x4b2854(0x1cb)];let _0x2de6e1;if(_0xa3d6f0!==void 0x0?_0x1c80c6[_0x4b2854(0x204)]?_0x1c80c6['has'](_0xa3d6f0)||(_0x2de6e1=_0x4b2854(0x173)):_0x2de6e1=_0x4b2854(0x235):_0x1c80c6[_0x4b2854(0x204)]&&(_0x2de6e1=_0x4b2854(0x1b8)),_0x2de6e1){_0x1657be(_0x3d878c,_0x447728,_0x2de6e1);return;}_0xa3d6f0&&(_0x3d878c[_0x4b2854(0x2c8)]=_0xa3d6f0);const _0x44696c=_0x28cc13['headers'][_0x4b2854(0x29e)];if(_0x44696c!==void 0x0){if(!_0x4569d1){_0x1657be(_0x3d878c,_0x447728,_0x4b2854(0x16f));return;}let _0x3232a7;try{_0x3232a7=_0x2f35b7(_0x44696c);}catch{_0x1657be(_0x3d878c,_0x447728,_0x4b2854(0x240));return;}const _0xcffa1f=Object['keys'](_0x3232a7);if(_0xcffa1f[_0x4b2854(0x2c7)]!==0x1||_0xcffa1f[0x0]!==_0x5f1c27[_0x4b2854(0x1ff)]){_0x1657be(_0x3d878c,_0x447728,_0x4b2854(0x163));return;}try{_0x4569d1[_0x4b2854(0x233)](_0x3232a7[_0x5f1c27[_0x4b2854(0x1ff)]]);}catch{_0x1657be(_0x3d878c,_0x447728,_0x4b2854(0x240));return;}_0x3d878c[_0x4b2854(0x203)][_0x5f1c27[_0x4b2854(0x1ff)]]=_0x4569d1;}_0x3d878c['setSocket'](_0x447728,_0x373c40,{'allowSynchronousEvents':_0x30a90e['allowSynchronousEvents'],'generateMask':_0x30a90e[_0x4b2854(0x2dd)],'maxPayload':_0x30a90e[_0x4b2854(0x195)],'skipUTF8Validation':_0x30a90e['skipUTF8Validation']});}),_0x30a90e['finishRequest']?_0x30a90e[_0x720d12(0x26f)](_0x2153d5,_0x3d878c):_0x2153d5['end']();}function _0x250c63(_0xaf0d26,_0x48b241){const _0x394838=_0x4230f3;_0xaf0d26[_0x394838(0x2b0)]=_0x4604a0[_0x394838(0x259)],_0xaf0d26[_0x394838(0x241)]=!0x0,_0xaf0d26[_0x394838(0x298)](_0x394838(0x21b),_0x48b241),_0xaf0d26[_0x394838(0x140)]();}function _0x2d11c2(_0x2a0ed6){const _0x50004b=_0x4230f3;return _0x2a0ed6[_0x50004b(0x14e)]=_0x2a0ed6[_0x50004b(0x225)],_0x571936[_0x50004b(0x1f0)](_0x2a0ed6);}function _0x369aad(_0x27a44b){const _0x4e761e=_0x4230f3;return _0x27a44b[_0x4e761e(0x14e)]=void 0x0,!_0x27a44b['servername']&&_0x27a44b[_0x4e761e(0x13d)]!==''&&(_0x27a44b[_0x4e761e(0x13d)]=_0x571936['isIP'](_0x27a44b['host'])?'':_0x27a44b[_0x4e761e(0x21e)]),_0x490998['connect'](_0x27a44b);}function _0x1657be(_0x81f28e,_0x232241,_0x203fd3){const _0x1d8c13=_0x4230f3;_0x81f28e['_readyState']=_0x4604a0[_0x1d8c13(0x259)];const _0x5b7526=new Error(_0x203fd3);Error['captureStackTrace'](_0x5b7526,_0x1657be),_0x232241[_0x1d8c13(0x18f)]?(_0x232241[_0x46d01e]=!0x0,_0x232241[_0x1d8c13(0x248)](),_0x232241['socket']&&!_0x232241[_0x1d8c13(0x1a3)]['destroyed']&&_0x232241['socket']['destroy'](),process[_0x1d8c13(0x297)](_0x250c63,_0x81f28e,_0x5b7526)):(_0x232241[_0x1d8c13(0x1c6)](_0x5b7526),_0x232241[_0x1d8c13(0x28b)]('error',_0x81f28e[_0x1d8c13(0x298)][_0x1d8c13(0x25d)](_0x81f28e,'error')),_0x232241['once']('close',_0x81f28e[_0x1d8c13(0x140)]['bind'](_0x81f28e)));}function _0x301e6f(_0x55e9b7,_0x252eb9,_0x4224f8){const _0x291a98=_0x4230f3;if(_0x252eb9){const _0x1ce56e=_0x44e2fe(_0x252eb9)?_0x252eb9[_0x291a98(0x204)]:_0xb5a4bf(_0x252eb9)[_0x291a98(0x2c7)];_0x55e9b7[_0x291a98(0x1df)]?_0x55e9b7[_0x291a98(0x1f2)][_0x291a98(0x22a)]+=_0x1ce56e:_0x55e9b7[_0x291a98(0x2c6)]+=_0x1ce56e;}if(_0x4224f8){const _0xa0d9be=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x55e9b7[_0x291a98(0x20e)]+'\x20('+_0x378780[_0x55e9b7[_0x291a98(0x20e)]]+')');process['nextTick'](_0x4224f8,_0xa0d9be);}}function _0x221dd9(_0x492150,_0x510112){const _0x1296e3=_0x4230f3,_0x3debb9=this[_0x297f0c];_0x3debb9[_0x1296e3(0x256)]=!0x0,_0x3debb9['_closeMessage']=_0x510112,_0x3debb9[_0x1296e3(0x207)]=_0x492150,_0x3debb9[_0x1296e3(0x1df)][_0x297f0c]!==void 0x0&&(_0x3debb9[_0x1296e3(0x1df)]['removeListener'](_0x1296e3(0x15d),_0x58e607),process['nextTick'](_0x2d6d03,_0x3debb9[_0x1296e3(0x1df)]),_0x492150===0x3ed?_0x3debb9['close']():_0x3debb9['close'](_0x492150,_0x510112));}function _0x372027(){const _0x1dff6c=_0x4230f3,_0x56bde6=this[_0x297f0c];_0x56bde6['isPaused']||_0x56bde6[_0x1dff6c(0x1df)][_0x1dff6c(0x290)]();}function _0x3cbac2(_0xe59c6d){const _0x40c457=_0x4230f3,_0x264032=this[_0x297f0c];_0x264032[_0x40c457(0x1df)][_0x297f0c]!==void 0x0&&(_0x264032[_0x40c457(0x1df)][_0x40c457(0x258)](_0x40c457(0x15d),_0x58e607),process[_0x40c457(0x297)](_0x2d6d03,_0x264032['_socket']),_0x264032[_0x40c457(0x27d)](_0xe59c6d[_0x5ef279])),_0x264032[_0x40c457(0x241)]||(_0x264032[_0x40c457(0x241)]=!0x0,_0x264032[_0x40c457(0x298)]('error',_0xe59c6d));}function _0x31a2bf(){const _0x40bfca=_0x4230f3;this[_0x297f0c][_0x40bfca(0x140)]();}function _0x36c723(_0x54578e,_0x379e34){const _0x406872=_0x4230f3;this[_0x297f0c][_0x406872(0x298)](_0x406872(0x192),_0x54578e,_0x379e34);}function _0x4e4167(_0x4fbfb6){const _0x14333e=_0x4230f3,_0xcd5b9c=this[_0x297f0c];_0xcd5b9c[_0x14333e(0x279)]&&_0xcd5b9c[_0x14333e(0x2cd)](_0x4fbfb6,!this[_0x14333e(0x27b)],_0x4daa15),_0xcd5b9c[_0x14333e(0x298)](_0x14333e(0x26d),_0x4fbfb6);}function _0x1c88fc(_0x4d8e4d){const _0x5e636d=_0x4230f3;this[_0x297f0c][_0x5e636d(0x298)](_0x5e636d(0x2cd),_0x4d8e4d);}function _0x2d6d03(_0x9dca81){_0x9dca81['resume']();}function _0x500180(_0x3f1b75){const _0x45ceff=_0x4230f3,_0x32e2df=this[_0x297f0c];_0x32e2df['readyState']!==_0x4604a0[_0x45ceff(0x237)]&&(_0x32e2df[_0x45ceff(0x20e)]===_0x4604a0['OPEN']&&(_0x32e2df[_0x45ceff(0x2b0)]=_0x4604a0[_0x45ceff(0x259)],_0x379226(_0x32e2df)),this[_0x45ceff(0x1df)][_0x45ceff(0x287)](),_0x32e2df[_0x45ceff(0x241)]||(_0x32e2df[_0x45ceff(0x241)]=!0x0,_0x32e2df[_0x45ceff(0x298)](_0x45ceff(0x21b),_0x3f1b75)));}function _0x379226(_0x314292){const _0x275c5f=_0x4230f3;_0x314292[_0x275c5f(0x180)]=setTimeout(_0x314292[_0x275c5f(0x1df)]['destroy'][_0x275c5f(0x25d)](_0x314292['_socket']),_0x251269);}function _0x23798b(){const _0x2d7cde=_0x4230f3,_0x2ba857=this[_0x297f0c];this['removeListener']('close',_0x23798b),this['removeListener']('data',_0x58e607),this[_0x2d7cde(0x258)](_0x2d7cde(0x287),_0x29b6d9),_0x2ba857[_0x2d7cde(0x2b0)]=_0x4604a0['CLOSING'];let _0x30e34f;!this[_0x2d7cde(0x27a)][_0x2d7cde(0x1c4)]&&!_0x2ba857[_0x2d7cde(0x256)]&&!_0x2ba857['_receiver'][_0x2d7cde(0x211)][_0x2d7cde(0x222)]&&(_0x30e34f=_0x2ba857[_0x2d7cde(0x1df)][_0x2d7cde(0x27f)]())!==null&&_0x2ba857[_0x2d7cde(0x1e9)]['write'](_0x30e34f),_0x2ba857['_receiver'][_0x2d7cde(0x287)](),this[_0x297f0c]=void 0x0,clearTimeout(_0x2ba857[_0x2d7cde(0x180)]),_0x2ba857['_receiver'][_0x2d7cde(0x211)][_0x2d7cde(0x160)]||_0x2ba857[_0x2d7cde(0x1e9)]['_writableState'][_0x2d7cde(0x222)]?_0x2ba857[_0x2d7cde(0x140)]():(_0x2ba857[_0x2d7cde(0x1e9)]['on']('error',_0x31a2bf),_0x2ba857[_0x2d7cde(0x1e9)]['on']('finish',_0x31a2bf));}function _0x58e607(_0x3f193f){const _0x1590ef=_0x4230f3;this[_0x297f0c][_0x1590ef(0x1e9)][_0x1590ef(0x264)](_0x3f193f)||this[_0x1590ef(0x1ca)]();}function _0x29b6d9(){const _0xdbd7cb=_0x4230f3,_0x40620f=this[_0x297f0c];_0x40620f[_0xdbd7cb(0x2b0)]=_0x4604a0[_0xdbd7cb(0x259)],_0x40620f[_0xdbd7cb(0x1e9)][_0xdbd7cb(0x287)](),this[_0xdbd7cb(0x287)]();}function _0x15eee8(){const _0x472b5a=_0x4230f3,_0x5b30e3=this[_0x297f0c];this['removeListener']('error',_0x15eee8),this['on'](_0x472b5a(0x21b),_0x4daa15),_0x5b30e3&&(_0x5b30e3[_0x472b5a(0x2b0)]=_0x4604a0[_0x472b5a(0x259)],this[_0x472b5a(0x1c6)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x580afa}=_0x4cd284;function _0xe85e67(_0xf659c9){const _0x42bf39=_0x1701;_0xf659c9[_0x42bf39(0x298)]('close');}function _0x2cc62a(){const _0x2cc2c5=_0x1701;!this[_0x2cc2c5(0x238)]&&this[_0x2cc2c5(0x211)][_0x2cc2c5(0x160)]&&this[_0x2cc2c5(0x1c6)]();}function _0x33fdd2(_0x43b54){const _0x1ef19c=_0x1701;this[_0x1ef19c(0x258)](_0x1ef19c(0x21b),_0x33fdd2),this[_0x1ef19c(0x1c6)](),this['listenerCount'](_0x1ef19c(0x21b))===0x0&&this[_0x1ef19c(0x298)](_0x1ef19c(0x21b),_0x43b54);}function _0x5b67b5(_0x5999f6,_0x717775){const _0x49f4bf=_0x1701;let _0x52ed6f=!0x0;const _0x3cd349=new _0x580afa({..._0x717775,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5999f6['on']('message',function(_0x1cfbbc,_0x5b5593){const _0x322f8a=_0x1701,_0x4c0e69=!_0x5b5593&&_0x3cd349['_readableState']['objectMode']?_0x1cfbbc[_0x322f8a(0x1f3)]():_0x1cfbbc;_0x3cd349[_0x322f8a(0x14d)](_0x4c0e69)||_0x5999f6['pause']();}),_0x5999f6[_0x49f4bf(0x28b)](_0x49f4bf(0x21b),function(_0x2d1123){const _0x46d3b9=_0x49f4bf;_0x3cd349[_0x46d3b9(0x238)]||(_0x52ed6f=!0x1,_0x3cd349[_0x46d3b9(0x1c6)](_0x2d1123));}),_0x5999f6[_0x49f4bf(0x28b)](_0x49f4bf(0x27d),function(){const _0x2f389b=_0x49f4bf;_0x3cd349['destroyed']||_0x3cd349[_0x2f389b(0x14d)](null);}),_0x3cd349['_destroy']=function(_0x443b93,_0x296528){const _0x137c0e=_0x49f4bf;if(_0x5999f6[_0x137c0e(0x20e)]===_0x5999f6[_0x137c0e(0x237)]){_0x296528(_0x443b93),process[_0x137c0e(0x297)](_0xe85e67,_0x3cd349);return;}let _0xb0f6e9=!0x1;_0x5999f6[_0x137c0e(0x28b)](_0x137c0e(0x21b),function(_0x2ddf65){_0xb0f6e9=!0x0,_0x296528(_0x2ddf65);}),_0x5999f6['once'](_0x137c0e(0x27d),function(){const _0x1d6f1b=_0x137c0e;_0xb0f6e9||_0x296528(_0x443b93),process[_0x1d6f1b(0x297)](_0xe85e67,_0x3cd349);}),_0x52ed6f&&_0x5999f6[_0x137c0e(0x1aa)]();},_0x3cd349[_0x49f4bf(0x2bb)]=function(_0x921474){const _0x1b3c05=_0x49f4bf;if(_0x5999f6[_0x1b3c05(0x20e)]===_0x5999f6[_0x1b3c05(0x24d)]){_0x5999f6['once'](_0x1b3c05(0x26a),function(){const _0x1c5413=_0x1b3c05;_0x3cd349[_0x1c5413(0x2bb)](_0x921474);});return;}_0x5999f6[_0x1b3c05(0x1df)]!==null&&(_0x5999f6[_0x1b3c05(0x1df)]['_writableState']['finished']?(_0x921474(),_0x3cd349[_0x1b3c05(0x27a)][_0x1b3c05(0x1c4)]&&_0x3cd349[_0x1b3c05(0x1c6)]()):(_0x5999f6[_0x1b3c05(0x1df)][_0x1b3c05(0x28b)](_0x1b3c05(0x250),function(){_0x921474();}),_0x5999f6['close']()));},_0x3cd349[_0x49f4bf(0x226)]=function(){const _0x1785a0=_0x49f4bf;_0x5999f6[_0x1785a0(0x22f)]&&_0x5999f6[_0x1785a0(0x290)]();},_0x3cd349[_0x49f4bf(0x158)]=function(_0x10d506,_0x29725e,_0x3373d2){const _0x292e4c=_0x49f4bf;if(_0x5999f6[_0x292e4c(0x20e)]===_0x5999f6[_0x292e4c(0x24d)]){_0x5999f6['once']('open',function(){const _0x43c79d=_0x292e4c;_0x3cd349[_0x43c79d(0x158)](_0x10d506,_0x29725e,_0x3373d2);});return;}_0x5999f6[_0x292e4c(0x1a1)](_0x10d506,_0x3373d2);},_0x3cd349['on'](_0x49f4bf(0x287),_0x2cc62a),_0x3cd349['on'](_0x49f4bf(0x21b),_0x33fdd2),_0x3cd349;}return Oe=_0x5b67b5,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function _0x1701(_0x145d32,_0x19281c){const _0x3b54af=_0x3b54();return _0x1701=function(_0x170166,_0x19f541){_0x170166=_0x170166-0x134;let _0x197b89=_0x3b54af[_0x170166];return _0x197b89;},_0x1701(_0x145d32,_0x19281c);}function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0xe84fc}=ne();function _0x1a30b9(_0x3fc9fc){const _0x5bb4e7=_0x1701,_0x4d00ec=new Set();let _0x242be4=-0x1,_0x1d19d8=-0x1,_0x58009d=0x0;for(_0x58009d;_0x58009d<_0x3fc9fc['length'];_0x58009d++){const _0x398815=_0x3fc9fc[_0x5bb4e7(0x1b4)](_0x58009d);if(_0x1d19d8===-0x1&&_0xe84fc[_0x398815]===0x1)_0x242be4===-0x1&&(_0x242be4=_0x58009d);else{if(_0x58009d!==0x0&&(_0x398815===0x20||_0x398815===0x9))_0x1d19d8===-0x1&&_0x242be4!==-0x1&&(_0x1d19d8=_0x58009d);else{if(_0x398815===0x2c){if(_0x242be4===-0x1)throw new SyntaxError(_0x5bb4e7(0x2d8)+_0x58009d);_0x1d19d8===-0x1&&(_0x1d19d8=_0x58009d);const _0x3a6c5f=_0x3fc9fc[_0x5bb4e7(0x263)](_0x242be4,_0x1d19d8);if(_0x4d00ec[_0x5bb4e7(0x185)](_0x3a6c5f))throw new SyntaxError(_0x5bb4e7(0x1c3)+_0x3a6c5f+_0x5bb4e7(0x1e7));_0x4d00ec['add'](_0x3a6c5f),_0x242be4=_0x1d19d8=-0x1;}else throw new SyntaxError(_0x5bb4e7(0x2d8)+_0x58009d);}}}if(_0x242be4===-0x1||_0x1d19d8!==-0x1)throw new SyntaxError(_0x5bb4e7(0x1c7));const _0x5ab8e8=_0x3fc9fc[_0x5bb4e7(0x263)](_0x242be4,_0x58009d);if(_0x4d00ec[_0x5bb4e7(0x185)](_0x5ab8e8))throw new SyntaxError(_0x5bb4e7(0x1c3)+_0x5ab8e8+_0x5bb4e7(0x1e7));return _0x4d00ec[_0x5bb4e7(0x286)](_0x5ab8e8),_0x4d00ec;}return Ce={'parse':_0x1a30b9},Ce;}var Te,ot;function er(){const _0x5e78ca=_0x493d39;if(ot)return Te;ot=0x1;const _0x244b6b=_0xd5fa55,_0x40e632=_0x5848fe,{Duplex:_0xb1e7da}=_0x4cd284,{createHash:_0x4789bc}=_0x383096,_0x115914=pt(),_0x5ff7f6=he(),_0x1d4ac8=Jt(),_0x301d7f=Ie(),{GUID:_0x1fcd7b,kWebSocket:_0x3ef544}=V(),_0x33d287=/^[+/0-9A-Za-z]{22}==$/,_0x78b630=0x0,_0x3383fa=0x1,_0x27b9b8=0x2;class _0x132c0c extends _0x244b6b{constructor(_0x4180fe,_0x22c1eb){const _0x35de00=_0x1701;if(super(),_0x4180fe={'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':_0x301d7f,..._0x4180fe},_0x4180fe[_0x35de00(0x19a)]==null&&!_0x4180fe[_0x35de00(0x284)]&&!_0x4180fe[_0x35de00(0x271)]||_0x4180fe['port']!=null&&(_0x4180fe[_0x35de00(0x284)]||_0x4180fe['noServer'])||_0x4180fe[_0x35de00(0x284)]&&_0x4180fe[_0x35de00(0x271)])throw new TypeError(_0x35de00(0x2d4));if(_0x4180fe['port']!=null?(this['_server']=_0x40e632[_0x35de00(0x2ba)]((_0x2a9324,_0x252c44)=>{const _0x372d7c=_0x35de00,_0x3e38f4=_0x40e632[_0x372d7c(0x2c0)][0x1aa];_0x252c44[_0x372d7c(0x218)](0x1aa,{'Content-Length':_0x3e38f4[_0x372d7c(0x2c7)],'Content-Type':_0x372d7c(0x246)}),_0x252c44['end'](_0x3e38f4);}),this['_server']['listen'](_0x4180fe['port'],_0x4180fe['host'],_0x4180fe[_0x35de00(0x29f)],_0x22c1eb)):_0x4180fe[_0x35de00(0x284)]&&(this[_0x35de00(0x275)]=_0x4180fe[_0x35de00(0x284)]),this[_0x35de00(0x275)]){const _0x2d287c=this[_0x35de00(0x298)][_0x35de00(0x25d)](this,_0x35de00(0x1b6));this[_0x35de00(0x205)]=_0x4e5ef4(this[_0x35de00(0x275)],{'listening':this[_0x35de00(0x298)][_0x35de00(0x25d)](this,_0x35de00(0x25a)),'error':this[_0x35de00(0x298)][_0x35de00(0x25d)](this,_0x35de00(0x21b)),'upgrade':(_0xf21bef,_0x12fbe8,_0x52c873)=>{const _0x4baf78=_0x35de00;this[_0x4baf78(0x2c3)](_0xf21bef,_0x12fbe8,_0x52c873,_0x2d287c);}});}_0x4180fe[_0x35de00(0x295)]===!0x0&&(_0x4180fe[_0x35de00(0x295)]={}),_0x4180fe['clientTracking']&&(this[_0x35de00(0x2cf)]=new Set(),this[_0x35de00(0x153)]=!0x1),this['options']=_0x4180fe,this[_0x35de00(0x23a)]=_0x78b630;}[_0x5e78ca(0x1f5)](){const _0x264b86=_0x5e78ca;if(this[_0x264b86(0x219)][_0x264b86(0x271)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x264b86(0x275)]?this[_0x264b86(0x275)][_0x264b86(0x1f5)]():null;}[_0x5e78ca(0x27d)](_0x1bf081){const _0xe2923e=_0x5e78ca;if(this['_state']===_0x27b9b8){_0x1bf081&&this[_0xe2923e(0x28b)](_0xe2923e(0x27d),()=>{const _0x32eeac=_0xe2923e;_0x1bf081(new Error(_0x32eeac(0x188)));}),process[_0xe2923e(0x297)](_0x27269b,this);return;}if(_0x1bf081&&this['once']('close',_0x1bf081),this[_0xe2923e(0x23a)]!==_0x3383fa){if(this[_0xe2923e(0x23a)]=_0x3383fa,this[_0xe2923e(0x219)][_0xe2923e(0x271)]||this[_0xe2923e(0x219)][_0xe2923e(0x284)])this[_0xe2923e(0x275)]&&(this[_0xe2923e(0x205)](),this[_0xe2923e(0x205)]=this[_0xe2923e(0x275)]=null),this['clients']?this[_0xe2923e(0x2cf)][_0xe2923e(0x204)]?this[_0xe2923e(0x153)]=!0x0:process[_0xe2923e(0x297)](_0x27269b,this):process['nextTick'](_0x27269b,this);else{const _0x56fcdc=this[_0xe2923e(0x275)];this[_0xe2923e(0x205)](),this[_0xe2923e(0x205)]=this['_server']=null,_0x56fcdc[_0xe2923e(0x27d)](()=>{_0x27269b(this);});}}}[_0x5e78ca(0x20d)](_0x5bddc0){const _0x12e291=_0x5e78ca;if(this[_0x12e291(0x219)][_0x12e291(0x14e)]){const _0x2f927e=_0x5bddc0[_0x12e291(0x24c)][_0x12e291(0x181)]('?');if((_0x2f927e!==-0x1?_0x5bddc0['url']['slice'](0x0,_0x2f927e):_0x5bddc0[_0x12e291(0x24c)])!==this[_0x12e291(0x219)][_0x12e291(0x14e)])return!0x1;}return!0x0;}['handleUpgrade'](_0x1b93d9,_0x234a0c,_0x30d154,_0x39c2da){const _0x1c574d=_0x5e78ca;_0x234a0c['on'](_0x1c574d(0x21b),_0x1d9074);const _0x13d411=_0x1b93d9[_0x1c574d(0x29a)]['sec-websocket-key'],_0x37f334=_0x1b93d9[_0x1c574d(0x29a)][_0x1c574d(0x175)],_0x56c875=+_0x1b93d9[_0x1c574d(0x29a)]['sec-websocket-version'];if(_0x1b93d9[_0x1c574d(0x234)]!==_0x1c574d(0x1bd)){_0x1669e1(this,_0x1b93d9,_0x234a0c,0x195,_0x1c574d(0x24e));return;}if(_0x37f334===void 0x0||_0x37f334[_0x1c574d(0x1f6)]()!==_0x1c574d(0x198)){_0x1669e1(this,_0x1b93d9,_0x234a0c,0x190,_0x1c574d(0x135));return;}if(_0x13d411===void 0x0||!_0x33d287[_0x1c574d(0x2c1)](_0x13d411)){_0x1669e1(this,_0x1b93d9,_0x234a0c,0x190,_0x1c574d(0x210));return;}if(_0x56c875!==0x8&&_0x56c875!==0xd){_0x1669e1(this,_0x1b93d9,_0x234a0c,0x190,_0x1c574d(0x1d1));return;}if(!this['shouldHandle'](_0x1b93d9)){_0xcc3ad9(_0x234a0c,0x190);return;}const _0x44d2cf=_0x1b93d9[_0x1c574d(0x29a)][_0x1c574d(0x1cb)];let _0x255570=new Set();if(_0x44d2cf!==void 0x0)try{_0x255570=_0x1d4ac8['parse'](_0x44d2cf);}catch{_0x1669e1(this,_0x1b93d9,_0x234a0c,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x2e8acb=_0x1b93d9[_0x1c574d(0x29a)][_0x1c574d(0x29e)],_0x2a7c57={};if(this[_0x1c574d(0x219)]['perMessageDeflate']&&_0x2e8acb!==void 0x0){const _0x401923=new _0x5ff7f6(this['options'][_0x1c574d(0x295)],!0x0,this[_0x1c574d(0x219)][_0x1c574d(0x195)]);try{const _0x3e3740=_0x115914[_0x1c574d(0x1e3)](_0x2e8acb);_0x3e3740[_0x5ff7f6[_0x1c574d(0x1ff)]]&&(_0x401923[_0x1c574d(0x233)](_0x3e3740[_0x5ff7f6[_0x1c574d(0x1ff)]]),_0x2a7c57[_0x5ff7f6[_0x1c574d(0x1ff)]]=_0x401923);}catch{_0x1669e1(this,_0x1b93d9,_0x234a0c,0x190,_0x1c574d(0x13a));return;}}if(this[_0x1c574d(0x219)]['verifyClient']){const _0x3e05d0={'origin':_0x1b93d9['headers'][''+(_0x56c875===0x8?_0x1c574d(0x1e4):_0x1c574d(0x183))],'secure':!!(_0x1b93d9[_0x1c574d(0x1a3)][_0x1c574d(0x146)]||_0x1b93d9[_0x1c574d(0x1a3)]['encrypted']),'req':_0x1b93d9};if(this[_0x1c574d(0x219)]['verifyClient'][_0x1c574d(0x2c7)]===0x2){this[_0x1c574d(0x219)][_0x1c574d(0x1d5)](_0x3e05d0,(_0x4de652,_0x547091,_0x4ed4ec,_0x324c62)=>{if(!_0x4de652)return _0xcc3ad9(_0x234a0c,_0x547091||0x191,_0x4ed4ec,_0x324c62);this['completeUpgrade'](_0x2a7c57,_0x13d411,_0x255570,_0x1b93d9,_0x234a0c,_0x30d154,_0x39c2da);});return;}if(!this['options'][_0x1c574d(0x1d5)](_0x3e05d0))return _0xcc3ad9(_0x234a0c,0x191);}this[_0x1c574d(0x154)](_0x2a7c57,_0x13d411,_0x255570,_0x1b93d9,_0x234a0c,_0x30d154,_0x39c2da);}['completeUpgrade'](_0x42c48d,_0x502709,_0x1a846c,_0x4808a7,_0x56f554,_0x3f2981,_0x397c97){const _0x4784a1=_0x5e78ca;if(!_0x56f554[_0x4784a1(0x1b0)]||!_0x56f554[_0x4784a1(0x27e)])return _0x56f554[_0x4784a1(0x1c6)]();if(_0x56f554[_0x3ef544])throw new Error(_0x4784a1(0x1d3));if(this[_0x4784a1(0x23a)]>_0x78b630)return _0xcc3ad9(_0x56f554,0x1f7);const _0x5250b7=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x4784a1(0x252),_0x4784a1(0x21a),_0x4784a1(0x20f)+_0x4789bc(_0x4784a1(0x197))[_0x4784a1(0x171)](_0x502709+_0x1fcd7b)[_0x4784a1(0x156)](_0x4784a1(0x215))],_0x1017e5=new this[(_0x4784a1(0x219))]['WebSocket'](null,void 0x0,this[_0x4784a1(0x219)]);if(_0x1a846c[_0x4784a1(0x204)]){const _0x3f0090=this[_0x4784a1(0x219)]['handleProtocols']?this[_0x4784a1(0x219)][_0x4784a1(0x230)](_0x1a846c,_0x4808a7):_0x1a846c['values']()[_0x4784a1(0x1ac)]()['value'];_0x3f0090&&(_0x5250b7[_0x4784a1(0x14d)](_0x4784a1(0x162)+_0x3f0090),_0x1017e5[_0x4784a1(0x2c8)]=_0x3f0090);}if(_0x42c48d[_0x5ff7f6[_0x4784a1(0x1ff)]]){const _0x406aa8=_0x42c48d[_0x5ff7f6[_0x4784a1(0x1ff)]][_0x4784a1(0x20b)],_0x273be0=_0x115914[_0x4784a1(0x245)]({[_0x5ff7f6[_0x4784a1(0x1ff)]]:[_0x406aa8]});_0x5250b7[_0x4784a1(0x14d)]('Sec-WebSocket-Extensions:\x20'+_0x273be0),_0x1017e5[_0x4784a1(0x203)]=_0x42c48d;}this[_0x4784a1(0x298)](_0x4784a1(0x29a),_0x5250b7,_0x4808a7),_0x56f554[_0x4784a1(0x264)](_0x5250b7[_0x4784a1(0x262)]('\x0d\x0a')['join']('\x0d\x0a')),_0x56f554[_0x4784a1(0x258)]('error',_0x1d9074),_0x1017e5[_0x4784a1(0x165)](_0x56f554,_0x3f2981,{'allowSynchronousEvents':this['options'][_0x4784a1(0x2be)],'maxPayload':this['options'][_0x4784a1(0x195)],'skipUTF8Validation':this['options'][_0x4784a1(0x2db)]}),this['clients']&&(this[_0x4784a1(0x2cf)][_0x4784a1(0x286)](_0x1017e5),_0x1017e5['on'](_0x4784a1(0x27d),()=>{const _0xd92969=_0x4784a1;this['clients']['delete'](_0x1017e5),this[_0xd92969(0x153)]&&!this['clients'][_0xd92969(0x204)]&&process[_0xd92969(0x297)](_0x27269b,this);})),_0x397c97(_0x1017e5,_0x4808a7);}}Te=_0x132c0c;function _0x4e5ef4(_0x3ab231,_0x486fdd){const _0x3c3af2=_0x5e78ca;for(const _0x197876 of Object[_0x3c3af2(0x294)](_0x486fdd))_0x3ab231['on'](_0x197876,_0x486fdd[_0x197876]);return function(){const _0x5ce6e2=_0x3c3af2;for(const _0x1363e1 of Object[_0x5ce6e2(0x294)](_0x486fdd))_0x3ab231[_0x5ce6e2(0x258)](_0x1363e1,_0x486fdd[_0x1363e1]);};}function _0x27269b(_0xe657e4){const _0x53efdb=_0x5e78ca;_0xe657e4[_0x53efdb(0x23a)]=_0x27b9b8,_0xe657e4[_0x53efdb(0x298)](_0x53efdb(0x27d));}function _0x1d9074(){const _0x21eeee=_0x5e78ca;this[_0x21eeee(0x1c6)]();}function _0xcc3ad9(_0x2e85bb,_0x544dcf,_0x37ffb9,_0x449b53){const _0x3e1c82=_0x5e78ca;_0x37ffb9=_0x37ffb9||_0x40e632[_0x3e1c82(0x2c0)][_0x544dcf],_0x449b53={'Connection':'close','Content-Type':_0x3e1c82(0x28e),'Content-Length':Buffer[_0x3e1c82(0x176)](_0x37ffb9),..._0x449b53},_0x2e85bb['once'](_0x3e1c82(0x250),_0x2e85bb[_0x3e1c82(0x1c6)]),_0x2e85bb['end'](_0x3e1c82(0x1af)+_0x544dcf+'\x20'+_0x40e632[_0x3e1c82(0x2c0)][_0x544dcf]+'\x0d\x0a'+Object[_0x3e1c82(0x294)](_0x449b53)['map'](_0x3171c1=>_0x3171c1+':\x20'+_0x449b53[_0x3171c1])[_0x3e1c82(0x1c8)]('\x0d\x0a')+_0x3e1c82(0x1b5)+_0x37ffb9);}function _0x1669e1(_0x37e9d0,_0x575463,_0xb6ec7e,_0x45a3f9,_0x4c2b78){const _0x453fa2=_0x5e78ca;if(_0x37e9d0[_0x453fa2(0x134)]('wsClientError')){const _0x70ce87=new Error(_0x4c2b78);Error['captureStackTrace'](_0x70ce87,_0x1669e1),_0x37e9d0[_0x453fa2(0x298)](_0x453fa2(0x208),_0x70ce87,_0xb6ec7e,_0x575463);}else _0xcc3ad9(_0xb6ec7e,_0x45a3f9,_0x4c2b78);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x289fe3,_0x4da1f4,_0x1fc634,_0x260845)=>{const _0x584a44=_0x493d39;for(var _0x13684c=_0x260845>0x1?void 0x0:_0x260845?tr(_0x4da1f4,_0x1fc634):_0x4da1f4,_0x16bc3d=_0x289fe3[_0x584a44(0x2c7)]-0x1,_0xcb4c45;_0x16bc3d>=0x0;_0x16bc3d--)(_0xcb4c45=_0x289fe3[_0x16bc3d])&&(_0x13684c=_0xcb4c45(_0x13684c)||_0x13684c);return _0x13684c;},sr=(_0x4df9dd,_0x9a0427)=>(_0x4a2959,_0x4d2def)=>_0x9a0427(_0x4a2959,_0x4d2def,_0x4df9dd);let Ne=class extends _0x4366f8{constructor(_0x12c17){const _0x1dbd44=_0x493d39;super(),this[_0x1dbd44(0x26e)]=_0x12c17;}['createSocket'](_0x11f2a8){const _0x333ef0=_0x493d39;var _0x28fa03;const _0xd857a=(_0x28fa03=this[_0x333ef0(0x26e)][_0x333ef0(0x209)](Be))==null?void 0x0:_0x28fa03['customHeaders'];try{const _0x8c5869=new Qt(_0x11f2a8,{'headers':{..._0xd857a}}),_0x25db30=new _0x51b303();return{'URL':_0x11f2a8,'close':(_0xdd6ade,_0x43cb76)=>{const _0x167e0f=_0x333ef0;_0x8c5869[_0x167e0f(0x27d)](_0xdd6ade,_0x43cb76),_0x25db30['dispose']();},'send':_0x3cbb0c=>{_0x8c5869['send'](_0x3cbb0c);},'open$':new _0x2c272d(_0x3ea9eb=>{const _0x3a699e=_0x333ef0,_0x514d8a=_0x5f3659=>_0x3ea9eb[_0x3a699e(0x1ac)](_0x5f3659);_0x8c5869['addEventListener']('open',_0x514d8a),_0x25db30[_0x3a699e(0x286)](_0x58d495(()=>_0x8c5869[_0x3a699e(0x161)]('open',_0x514d8a)));})[_0x333ef0(0x189)](_0x214570()),'close$':new _0x2c272d(_0xc74f37=>{const _0x3fd903=_0x333ef0,_0x3c9db0=_0x4768d1=>_0xc74f37[_0x3fd903(0x1ac)](_0x4768d1);_0x8c5869['addEventListener'](_0x3fd903(0x27d),_0x3c9db0),_0x25db30['add'](_0x58d495(()=>_0x8c5869['removeEventListener'](_0x3fd903(0x27d),_0x3c9db0)));})[_0x333ef0(0x189)](_0x214570()),'error$':new _0x2c272d(_0x12dc6a=>{const _0x345637=_0x333ef0,_0x5e9292=_0x1eba15=>_0x12dc6a[_0x345637(0x1ac)](_0x1eba15);_0x8c5869['addEventListener'](_0x345637(0x21b),_0x5e9292),_0x25db30[_0x345637(0x286)](_0x58d495(()=>_0x8c5869[_0x345637(0x161)](_0x345637(0x21b),_0x5e9292)));})[_0x333ef0(0x189)](_0x214570()),'message$':new _0x2c272d(_0x588d4e=>{const _0x28f7de=_0x333ef0,_0xf0353a=_0x1dda58=>_0x588d4e[_0x28f7de(0x1ac)](_0x1dda58);_0x8c5869['addEventListener'](_0x28f7de(0x192),_0xf0353a),_0x25db30[_0x28f7de(0x286)](_0x58d495(()=>_0x8c5869[_0x28f7de(0x161)](_0x28f7de(0x192),_0xf0353a)));})[_0x333ef0(0x189)](_0x214570())};}catch(_0x40d019){return console[_0x333ef0(0x21b)](_0x40d019),null;}}};Ne=rr([sr(0x0,_0x1e50f9)],Ne);var ir=Object['defineProperty'],nr=Object[_0x493d39(0x168)],or=(_0x4311d5,_0xf14171,_0x592ba3)=>_0xf14171 in _0x4311d5?ir(_0x4311d5,_0xf14171,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x592ba3}):_0x4311d5[_0xf14171]=_0x592ba3,ar=(_0xe08471,_0x49daf5,_0x423b36,_0x1f51d6)=>{for(var _0x37d1f5=_0x1f51d6>0x1?void 0x0:_0x1f51d6?nr(_0x49daf5,_0x423b36):_0x49daf5,_0xb828b9=_0xe08471['length']-0x1,_0x1a5b66;_0xb828b9>=0x0;_0xb828b9--)(_0x1a5b66=_0xe08471[_0xb828b9])&&(_0x37d1f5=_0x1a5b66(_0x37d1f5)||_0x37d1f5);return _0x37d1f5;},ke=(_0x5ae628,_0x19ef8b)=>(_0x53353d,_0x4ac3a5)=>_0x19ef8b(_0x53353d,_0x4ac3a5,_0x5ae628),lr=(_0x4006ad,_0xb9d00e,_0x218de2)=>or(_0x4006ad,_0xb9d00e+'',_0x218de2);let Pe=class extends _0xd4df3f{constructor(_0x3a62bb=Ft,_0x4c6dc4,_0x12f2ce,_0x5ce978){const _0x384751=_0x493d39;_0x3a62bb[_0x384751(0x1ce)]||_0x4c6dc4['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x384751(0x26e)]=_0x12f2ce,this[_0x384751(0x292)]=_0x5ce978,this[_0x384751(0x26e)][_0x384751(0x13f)](Be,_0x3a62bb);}[_0x493d39(0x151)](){const _0x10a9c9=_0x493d39;this[_0x10a9c9(0x1a2)]();}[_0x493d39(0x1a2)](){_0x2d4403(this['_injector'],[[_0x27abaf,{'useClass':Ne}]]);}};lr(Pe,_0x493d39(0x20c),_0x493d39(0x28d)),Pe=ar([_0x43002b(_0x3a8443),ke(0x1,_0x2c9fba),ke(0x2,_0x1e50f9),ke(0x3,_0x2c187e(_0x2c8b21))],Pe);var fr=Object[_0x493d39(0x168)],cr=(_0x41bf07,_0x3c0cfc,_0x2e4974,_0x1699c9)=>{const _0x2ce405=_0x493d39;for(var _0x5cd381=_0x1699c9>0x1?void 0x0:_0x1699c9?fr(_0x3c0cfc,_0x2e4974):_0x3c0cfc,_0xca2241=_0x41bf07[_0x2ce405(0x2c7)]-0x1,_0x21c193;_0xca2241>=0x0;_0xca2241--)(_0x21c193=_0x41bf07[_0xca2241])&&(_0x5cd381=_0x21c193(_0x5cd381)||_0x5cd381);return _0x5cd381;},se=(_0x205e16,_0x160e9f)=>(_0x4697b2,_0x11aedd)=>_0x160e9f(_0x4697b2,_0x11aedd,_0x205e16);let at=class extends _0x4787db{constructor(_0x5ef9ac,_0xa28866,_0x26c13f,_0x52d54f,_0x212959){const _0x41fad6=_0x493d39;super(_0x5ef9ac,_0xa28866,_0x26c13f,_0x52d54f,_0x212959);const _0x2c655a=this[_0x41fad6(0x26e)]['getConfig'](Be);this[_0x41fad6(0x257)]['registerHTTPInterceptor']({'interceptor':(_0x277fd,_0x208971)=>{const _0xe00014=_0x41fad6;var _0x47145f;const _0x550853=_0x277fd['headers'];return(_0x47145f=_0x2c655a==null?void 0x0:_0x2c655a[_0xe00014(0x1ce)])!=null&&_0x47145f[_0xe00014(0x2bd)]&&_0x550853[_0xe00014(0x19f)](_0xe00014(0x166),_0x2c655a['customHeaders']['cookie']),_0x208971(_0x277fd);}});}async[_0x493d39(0x142)](_0x5d2c2f){return this['_doCreateSocket'](_0x5d2c2f);}};at=cr([se(0x0,_0x2c187e(_0x2c8b21)),se(0x1,_0x2c187e(_0x8b7a88)),se(0x2,_0x1e50f9),se(0x3,_0x2c9fba),se(0x4,_0x5b5f6d)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|