@univerjs-pro/collaboration-client-node 0.6.10-nightly.202504111607 → 0.6.10-nightly.202504121606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x22c973=_0x4113;(function(_0xa234f3,_0x44ebdb){const _0x3d869a=_0x4113,_0x5e27d8=_0xa234f3();while(!![]){try{const _0x408ad6=parseInt(_0x3d869a(0x213))/0x1+-parseInt(_0x3d869a(0x1ed))/0x2*(-parseInt(_0x3d869a(0xcc))/0x3)+-parseInt(_0x3d869a(0x275))/0x4*(parseInt(_0x3d869a(0x212))/0x5)+-parseInt(_0x3d869a(0xff))/0x6+parseInt(_0x3d869a(0xec))/0x7+parseInt(_0x3d869a(0x1cb))/0x8*(parseInt(_0x3d869a(0x112))/0x9)+parseInt(_0x3d869a(0x1aa))/0xa;if(_0x408ad6===_0x44ebdb)break;else _0x5e27d8['push'](_0x5e27d8['shift']());}catch(_0x1126d0){_0x5e27d8['push'](_0x5e27d8['shift']());}}}(_0x4992,0x826b8));Object[_0x22c973(0x276)](exports,Symbol[_0x22c973(0x167)],{'value':'Module'});const st=require(_0x22c973(0x152)),A=require(_0x22c973(0x207)),it=require(_0x22c973(0x1a0)),V=require('rxjs'),nt=require(_0x22c973(0x255)),vt=require(_0x22c973(0x149)),ot=require('http'),St=require(_0x22c973(0x15e)),Et=require(_0x22c973(0x237)),Le=require(_0x22c973(0x287)),oe=require(_0x22c973(0x1ec)),xt=require(_0x22c973(0x225)),bt=require('zlib'),wt=require(_0x22c973(0x143)),Ot=require(_0x22c973(0x269)),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x1f2de3){const _0x2531f1=_0x22c973;return _0x1f2de3&&_0x1f2de3[_0x2531f1(0x1b7)]&&Object[_0x2531f1(0xf8)][_0x2531f1(0x244)]['call'](_0x1f2de3,_0x2531f1(0x156))?_0x1f2de3[_0x2531f1(0x156)]:_0x1f2de3;}function at(_0x51c8a7){const _0x288014=_0x22c973;if(Object[_0x288014(0xf8)][_0x288014(0x244)][_0x288014(0x27e)](_0x51c8a7,_0x288014(0x1b7)))return _0x51c8a7;var _0x5315fc=_0x51c8a7[_0x288014(0x156)];if(typeof _0x5315fc==_0x288014(0x259)){var _0x4045dc=function _0x20df3a(){const _0x10fabc=_0x288014;return this instanceof _0x20df3a?Reflect[_0x10fabc(0x1d0)](_0x5315fc,arguments,this[_0x10fabc(0xd1)]):_0x5315fc['apply'](this,arguments);};_0x4045dc[_0x288014(0xf8)]=_0x5315fc['prototype'];}else _0x4045dc={};return Object[_0x288014(0x276)](_0x4045dc,_0x288014(0x1b7),{'value':!0x0}),Object[_0x288014(0x16e)](_0x51c8a7)['forEach'](function(_0x5a5aac){const _0x3cd18b=_0x288014;var _0x4511cb=Object[_0x3cd18b(0x188)](_0x51c8a7,_0x5a5aac);Object[_0x3cd18b(0x276)](_0x4045dc,_0x5a5aac,_0x4511cb[_0x3cd18b(0xe7)]?_0x4511cb:{'enumerable':!0x0,'get':function(){return _0x51c8a7[_0x5a5aac];}});}),_0x4045dc;}var se={'exports':{}},ge,Ge;function H(){const _0x41f2d4=_0x22c973;if(Ge)return ge;Ge=0x1;const _0x535083=[_0x41f2d4(0x11f),_0x41f2d4(0x1b6),_0x41f2d4(0x25e)],_0x2f9735=typeof Blob<'u';return _0x2f9735&&_0x535083[_0x41f2d4(0x24e)](_0x41f2d4(0x20c)),ge={'BINARY_TYPES':_0x535083,'EMPTY_BUFFER':Buffer[_0x41f2d4(0x14a)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x2f9735,'kForOnEventAttribute':Symbol(_0x41f2d4(0x137)),'kListener':Symbol(_0x41f2d4(0x288)),'kStatusCode':Symbol(_0x41f2d4(0x1ba)),'kWebSocket':Symbol(_0x41f2d4(0x223)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x22c973(0x10f)})),Lt=at(kt);var Ve;function _0x4113(_0x3e99f6,_0x28815f){const _0x499214=_0x4992();return _0x4113=function(_0x411361,_0x3d19c1){_0x411361=_0x411361-0xcc;let _0x286d03=_0x499214[_0x411361];return _0x286d03;},_0x4113(_0x3e99f6,_0x28815f);}function ce(){const _0x2f803a=_0x22c973;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x2cd99f}=H(),_0x3da00b=Buffer[Symbol[_0x2f803a(0x251)]];function _0x512c21(_0x559aa0,_0x3e7850){const _0x24df5b=_0x2f803a;if(_0x559aa0['length']===0x0)return _0x2cd99f;if(_0x559aa0[_0x24df5b(0x13f)]===0x1)return _0x559aa0[0x0];const _0x380a4c=Buffer[_0x24df5b(0x1d2)](_0x3e7850);let _0x307ff4=0x0;for(let _0x516887=0x0;_0x516887<_0x559aa0[_0x24df5b(0x13f)];_0x516887++){const _0x1cc53d=_0x559aa0[_0x516887];_0x380a4c[_0x24df5b(0x178)](_0x1cc53d,_0x307ff4),_0x307ff4+=_0x1cc53d[_0x24df5b(0x13f)];}return _0x307ff4<_0x3e7850?new _0x3da00b(_0x380a4c[_0x24df5b(0x143)],_0x380a4c[_0x24df5b(0x193)],_0x307ff4):_0x380a4c;}function _0x2cc391(_0x39da58,_0x407e68,_0x47d66d,_0x1a8edc,_0x5234a8){for(let _0x32daff=0x0;_0x32daff<_0x5234a8;_0x32daff++)_0x47d66d[_0x1a8edc+_0x32daff]=_0x39da58[_0x32daff]^_0x407e68[_0x32daff&0x3];}function _0x567ea9(_0x3a6fdf,_0x47e99b){const _0x138003=_0x2f803a;for(let _0x1c53d3=0x0;_0x1c53d3<_0x3a6fdf[_0x138003(0x13f)];_0x1c53d3++)_0x3a6fdf[_0x1c53d3]^=_0x47e99b[_0x1c53d3&0x3];}function _0x342ed4(_0x3f6b8c){const _0x1b68a3=_0x2f803a;return _0x3f6b8c['length']===_0x3f6b8c[_0x1b68a3(0x143)][_0x1b68a3(0x10b)]?_0x3f6b8c[_0x1b68a3(0x143)]:_0x3f6b8c[_0x1b68a3(0x143)]['slice'](_0x3f6b8c['byteOffset'],_0x3f6b8c[_0x1b68a3(0x193)]+_0x3f6b8c[_0x1b68a3(0x13f)]);}function _0xbe811e(_0x50536c){const _0x54289f=_0x2f803a;if(_0xbe811e[_0x54289f(0x23c)]=!0x0,Buffer[_0x54289f(0x113)](_0x50536c))return _0x50536c;let _0xcc90a8;return _0x50536c instanceof ArrayBuffer?_0xcc90a8=new _0x3da00b(_0x50536c):ArrayBuffer['isView'](_0x50536c)?_0xcc90a8=new _0x3da00b(_0x50536c[_0x54289f(0x143)],_0x50536c[_0x54289f(0x193)],_0x50536c[_0x54289f(0x10b)]):(_0xcc90a8=Buffer[_0x54289f(0x222)](_0x50536c),_0xbe811e[_0x54289f(0x23c)]=!0x1),_0xcc90a8;}if(se[_0x2f803a(0x16b)]={'concat':_0x512c21,'mask':_0x2cc391,'toArrayBuffer':_0x342ed4,'toBuffer':_0xbe811e,'unmask':_0x567ea9},!process[_0x2f803a(0x1fe)][_0x2f803a(0xd2)])try{const _0x1f0198=Lt;se[_0x2f803a(0x16b)][_0x2f803a(0x177)]=function(_0x1f3509,_0x22a4d9,_0x1c557f,_0x1a9741,_0x269a48){const _0x5ad0f4=_0x2f803a;_0x269a48<0x30?_0x2cc391(_0x1f3509,_0x22a4d9,_0x1c557f,_0x1a9741,_0x269a48):_0x1f0198[_0x5ad0f4(0x177)](_0x1f3509,_0x22a4d9,_0x1c557f,_0x1a9741,_0x269a48);},se[_0x2f803a(0x16b)][_0x2f803a(0x273)]=function(_0x3a0d0e,_0x288501){const _0x5a6133=_0x2f803a;_0x3a0d0e[_0x5a6133(0x13f)]<0x20?_0x567ea9(_0x3a0d0e,_0x288501):_0x1f0198[_0x5a6133(0x273)](_0x3a0d0e,_0x288501);};}catch{}return se[_0x2f803a(0x16b)];}var ye,He;function Pt(){const _0x4208f2=_0x22c973;if(He)return ye;He=0x1;const _0xa4d0fd=Symbol(_0x4208f2(0x1bf)),_0x1f2205=Symbol('kRun');class _0x2abe5e{constructor(_0x8e3d83){const _0x5a1d50=_0x4208f2;this[_0xa4d0fd]=()=>{this['pending']--,this[_0x1f2205]();},this[_0x5a1d50(0x106)]=_0x8e3d83||0x1/0x0,this[_0x5a1d50(0x294)]=[],this[_0x5a1d50(0x247)]=0x0;}['add'](_0x2a829c){const _0x58368e=_0x4208f2;this['jobs'][_0x58368e(0x24e)](_0x2a829c),this[_0x1f2205]();}[_0x1f2205](){const _0xa83d3b=_0x4208f2;if(this['pending']!==this[_0xa83d3b(0x106)]&&this[_0xa83d3b(0x294)][_0xa83d3b(0x13f)]){const _0x3e9a34=this[_0xa83d3b(0x294)][_0xa83d3b(0x170)]();this[_0xa83d3b(0x247)]++,_0x3e9a34(this[_0xa4d0fd]);}}}return ye=_0x2abe5e,ye;}var ve,ze;function he(){const _0x489425=_0x22c973;if(ze)return ve;ze=0x1;const _0x4b5340=bt,_0x1e21c8=ce(),_0x56e1ae=Pt(),{kStatusCode:_0x53a3ec}=H(),_0xfd44c5=Buffer[Symbol[_0x489425(0x251)]],_0x193899=Buffer[_0x489425(0x222)]([0x0,0x0,0xff,0xff]),_0x57c2a2=Symbol('permessage-deflate'),_0x41f474=Symbol(_0x489425(0x27a)),_0x22e2e0=Symbol('callback'),_0x4df8f4=Symbol('buffers'),_0x23804f=Symbol(_0x489425(0x1f0));let _0x4aaf00;class _0x17277f{constructor(_0x8f6cc5,_0x2fdf36,_0x181018){const _0x59429c=_0x489425;if(this[_0x59429c(0x28f)]=_0x181018|0x0,this[_0x59429c(0xfa)]=_0x8f6cc5||{},this[_0x59429c(0x1a6)]=this[_0x59429c(0xfa)]['threshold']!==void 0x0?this[_0x59429c(0xfa)][_0x59429c(0x246)]:0x400,this[_0x59429c(0x100)]=!!_0x2fdf36,this['_deflate']=null,this['_inflate']=null,this[_0x59429c(0x1eb)]=null,!_0x4aaf00){const _0x1d2390=this[_0x59429c(0xfa)][_0x59429c(0x166)]!==void 0x0?this[_0x59429c(0xfa)][_0x59429c(0x166)]:0xa;_0x4aaf00=new _0x56e1ae(_0x1d2390);}}static get['extensionName'](){const _0x1087a8=_0x489425;return _0x1087a8(0x111);}[_0x489425(0x1df)](){const _0x4fd841=_0x489425,_0x3dece2={};return this[_0x4fd841(0xfa)][_0x4fd841(0x191)]&&(_0x3dece2['server_no_context_takeover']=!0x0),this['_options'][_0x4fd841(0x1e5)]&&(_0x3dece2[_0x4fd841(0x186)]=!0x0),this[_0x4fd841(0xfa)][_0x4fd841(0x1c0)]&&(_0x3dece2['server_max_window_bits']=this[_0x4fd841(0xfa)]['serverMaxWindowBits']),this[_0x4fd841(0xfa)]['clientMaxWindowBits']?_0x3dece2[_0x4fd841(0x131)]=this[_0x4fd841(0xfa)]['clientMaxWindowBits']:this[_0x4fd841(0xfa)][_0x4fd841(0x239)]==null&&(_0x3dece2['client_max_window_bits']=!0x0),_0x3dece2;}[_0x489425(0x297)](_0x3b4af1){const _0x6ac39c=_0x489425;return _0x3b4af1=this[_0x6ac39c(0x280)](_0x3b4af1),this[_0x6ac39c(0x1eb)]=this[_0x6ac39c(0x100)]?this[_0x6ac39c(0x1ff)](_0x3b4af1):this[_0x6ac39c(0x136)](_0x3b4af1),this[_0x6ac39c(0x1eb)];}[_0x489425(0x25d)](){const _0x161b8c=_0x489425;if(this['_inflate']&&(this[_0x161b8c(0x129)][_0x161b8c(0x19d)](),this['_inflate']=null),this['_deflate']){const _0x54bcac=this[_0x161b8c(0x169)][_0x22e2e0];this['_deflate'][_0x161b8c(0x19d)](),this[_0x161b8c(0x169)]=null,_0x54bcac&&_0x54bcac(new Error(_0x161b8c(0x17a)));}}[_0x489425(0x1ff)](_0x8651f0){const _0x273693=_0x489425,_0x407ddc=this[_0x273693(0xfa)],_0x1e5c08=_0x8651f0['find'](_0x543dae=>!(_0x407ddc[_0x273693(0x191)]===!0x1&&_0x543dae[_0x273693(0x17d)]||_0x543dae[_0x273693(0x134)]&&(_0x407ddc[_0x273693(0x1c0)]===!0x1||typeof _0x407ddc[_0x273693(0x1c0)]=='number'&&_0x407ddc['serverMaxWindowBits']>_0x543dae[_0x273693(0x134)])||typeof _0x407ddc['clientMaxWindowBits']==_0x273693(0x15a)&&!_0x543dae[_0x273693(0x131)]));if(!_0x1e5c08)throw new Error(_0x273693(0x23b));return _0x407ddc[_0x273693(0x191)]&&(_0x1e5c08['server_no_context_takeover']=!0x0),_0x407ddc[_0x273693(0x1e5)]&&(_0x1e5c08[_0x273693(0x186)]=!0x0),typeof _0x407ddc[_0x273693(0x1c0)]==_0x273693(0x15a)&&(_0x1e5c08[_0x273693(0x134)]=_0x407ddc[_0x273693(0x1c0)]),typeof _0x407ddc[_0x273693(0x239)]==_0x273693(0x15a)?_0x1e5c08['client_max_window_bits']=_0x407ddc[_0x273693(0x239)]:(_0x1e5c08[_0x273693(0x131)]===!0x0||_0x407ddc[_0x273693(0x239)]===!0x1)&&delete _0x1e5c08[_0x273693(0x131)],_0x1e5c08;}[_0x489425(0x136)](_0x1d830f){const _0x5986eb=_0x489425,_0x488829=_0x1d830f[0x0];if(this[_0x5986eb(0xfa)]['clientNoContextTakeover']===!0x1&&_0x488829[_0x5986eb(0x186)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x488829[_0x5986eb(0x131)])typeof this['_options'][_0x5986eb(0x239)]==_0x5986eb(0x15a)&&(_0x488829[_0x5986eb(0x131)]=this[_0x5986eb(0xfa)][_0x5986eb(0x239)]);else{if(this['_options']['clientMaxWindowBits']===!0x1||typeof this[_0x5986eb(0xfa)]['clientMaxWindowBits']==_0x5986eb(0x15a)&&_0x488829[_0x5986eb(0x131)]>this[_0x5986eb(0xfa)][_0x5986eb(0x239)])throw new Error(_0x5986eb(0x125));}return _0x488829;}[_0x489425(0x280)](_0x3b32f2){const _0x1c442a=_0x489425;return _0x3b32f2[_0x1c442a(0x1ad)](_0x253397=>{const _0x7a27cb=_0x1c442a;Object[_0x7a27cb(0x16e)](_0x253397)['forEach'](_0x517530=>{const _0x583fc9=_0x7a27cb;let _0x22b6c8=_0x253397[_0x517530];if(_0x22b6c8[_0x583fc9(0x13f)]>0x1)throw new Error(_0x583fc9(0x27d)+_0x517530+_0x583fc9(0x28b));if(_0x22b6c8=_0x22b6c8[0x0],_0x517530===_0x583fc9(0x131)){if(_0x22b6c8!==!0x0){const _0x4a1ccd=+_0x22b6c8;if(!Number[_0x583fc9(0x17e)](_0x4a1ccd)||_0x4a1ccd<0x8||_0x4a1ccd>0xf)throw new TypeError(_0x583fc9(0x28e)+_0x517530+'\x22:\x20'+_0x22b6c8);_0x22b6c8=_0x4a1ccd;}else{if(!this[_0x583fc9(0x100)])throw new TypeError(_0x583fc9(0x28e)+_0x517530+_0x583fc9(0x19f)+_0x22b6c8);}}else{if(_0x517530===_0x583fc9(0x134)){const _0x1dea44=+_0x22b6c8;if(!Number[_0x583fc9(0x17e)](_0x1dea44)||_0x1dea44<0x8||_0x1dea44>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x517530+_0x583fc9(0x19f)+_0x22b6c8);_0x22b6c8=_0x1dea44;}else{if(_0x517530===_0x583fc9(0x186)||_0x517530==='server_no_context_takeover'){if(_0x22b6c8!==!0x0)throw new TypeError(_0x583fc9(0x28e)+_0x517530+_0x583fc9(0x19f)+_0x22b6c8);}else throw new Error(_0x583fc9(0x1d4)+_0x517530+'\x22');}}_0x253397[_0x517530]=_0x22b6c8;});}),_0x3b32f2;}[_0x489425(0x1b3)](_0x4a22e1,_0x481f7c,_0x34a55d){const _0x551ec8=_0x489425;_0x4aaf00[_0x551ec8(0x1f7)](_0x4ecd3a=>{const _0xcbd09a=_0x551ec8;this[_0xcbd09a(0x15d)](_0x4a22e1,_0x481f7c,(_0x2320ef,_0x55ae0d)=>{_0x4ecd3a(),_0x34a55d(_0x2320ef,_0x55ae0d);});});}[_0x489425(0xd9)](_0x60ba0a,_0xf47dbb,_0x3937a6){const _0x5ae31e=_0x489425;_0x4aaf00[_0x5ae31e(0x1f7)](_0x4c1ec1=>{const _0x516b87=_0x5ae31e;this[_0x516b87(0x205)](_0x60ba0a,_0xf47dbb,(_0x189f20,_0x4a9480)=>{_0x4c1ec1(),_0x3937a6(_0x189f20,_0x4a9480);});});}['_decompress'](_0x3e0f74,_0x2acc36,_0x3b0be5){const _0x40ac08=_0x489425,_0xf5186f=this[_0x40ac08(0x100)]?_0x40ac08(0x28a):_0x40ac08(0x1fa);if(!this[_0x40ac08(0x129)]){const _0x42eb42=_0xf5186f+_0x40ac08(0xfd),_0xd5e321=typeof this[_0x40ac08(0x1eb)][_0x42eb42]!=_0x40ac08(0x15a)?_0x4b5340[_0x40ac08(0x164)]:this['params'][_0x42eb42];this[_0x40ac08(0x129)]=_0x4b5340[_0x40ac08(0x16f)]({...this[_0x40ac08(0xfa)][_0x40ac08(0x1f4)],'windowBits':_0xd5e321}),this[_0x40ac08(0x129)][_0x57c2a2]=this,this['_inflate'][_0x41f474]=0x0,this['_inflate'][_0x4df8f4]=[],this[_0x40ac08(0x129)]['on']('error',_0x40510a),this['_inflate']['on'](_0x40ac08(0x1d1),_0x175504);}this[_0x40ac08(0x129)][_0x22e2e0]=_0x3b0be5,this[_0x40ac08(0x129)][_0x40ac08(0x22b)](_0x3e0f74),_0x2acc36&&this[_0x40ac08(0x129)]['write'](_0x193899),this[_0x40ac08(0x129)]['flush'](()=>{const _0x346bd3=_0x40ac08,_0x511b46=this[_0x346bd3(0x129)][_0x23804f];if(_0x511b46){this[_0x346bd3(0x129)][_0x346bd3(0x19d)](),this['_inflate']=null,_0x3b0be5(_0x511b46);return;}const _0xb4f684=_0x1e21c8[_0x346bd3(0x103)](this['_inflate'][_0x4df8f4],this[_0x346bd3(0x129)][_0x41f474]);this[_0x346bd3(0x129)][_0x346bd3(0x21e)][_0x346bd3(0x214)]?(this[_0x346bd3(0x129)][_0x346bd3(0x19d)](),this[_0x346bd3(0x129)]=null):(this['_inflate'][_0x41f474]=0x0,this[_0x346bd3(0x129)][_0x4df8f4]=[],_0x2acc36&&this[_0x346bd3(0x1eb)][_0xf5186f+_0x346bd3(0x28c)]&&this[_0x346bd3(0x129)]['reset']()),_0x3b0be5(null,_0xb4f684);});}[_0x489425(0x205)](_0x26f26c,_0x25f5c7,_0x2f7dff){const _0x7d0296=_0x489425,_0x2932c5=this['_isServer']?_0x7d0296(0x1fa):_0x7d0296(0x28a);if(!this[_0x7d0296(0x169)]){const _0x406c6a=_0x2932c5+_0x7d0296(0xfd),_0x4047ea=typeof this[_0x7d0296(0x1eb)][_0x406c6a]!=_0x7d0296(0x15a)?_0x4b5340[_0x7d0296(0x164)]:this[_0x7d0296(0x1eb)][_0x406c6a];this[_0x7d0296(0x169)]=_0x4b5340[_0x7d0296(0x230)]({...this[_0x7d0296(0xfa)][_0x7d0296(0x18e)],'windowBits':_0x4047ea}),this['_deflate'][_0x41f474]=0x0,this[_0x7d0296(0x169)][_0x4df8f4]=[],this[_0x7d0296(0x169)]['on'](_0x7d0296(0x1d1),_0x19947e);}this[_0x7d0296(0x169)][_0x22e2e0]=_0x2f7dff,this[_0x7d0296(0x169)][_0x7d0296(0x22b)](_0x26f26c),this[_0x7d0296(0x169)]['flush'](_0x4b5340[_0x7d0296(0xf1)],()=>{const _0x35e755=_0x7d0296;if(!this[_0x35e755(0x169)])return;let _0x1b46b0=_0x1e21c8[_0x35e755(0x103)](this[_0x35e755(0x169)][_0x4df8f4],this[_0x35e755(0x169)][_0x41f474]);_0x25f5c7&&(_0x1b46b0=new _0xfd44c5(_0x1b46b0[_0x35e755(0x143)],_0x1b46b0[_0x35e755(0x193)],_0x1b46b0[_0x35e755(0x13f)]-0x4)),this[_0x35e755(0x169)][_0x22e2e0]=null,this[_0x35e755(0x169)][_0x41f474]=0x0,this[_0x35e755(0x169)][_0x4df8f4]=[],_0x25f5c7&&this[_0x35e755(0x1eb)][_0x2932c5+_0x35e755(0x28c)]&&this[_0x35e755(0x169)]['reset'](),_0x2f7dff(null,_0x1b46b0);});}}ve=_0x17277f;function _0x19947e(_0x366892){const _0x1aee75=_0x489425;this[_0x4df8f4][_0x1aee75(0x24e)](_0x366892),this[_0x41f474]+=_0x366892['length'];}function _0x175504(_0x229637){const _0x5cf42b=_0x489425;if(this[_0x41f474]+=_0x229637[_0x5cf42b(0x13f)],this[_0x57c2a2][_0x5cf42b(0x28f)]<0x1||this[_0x41f474]<=this[_0x57c2a2]['_maxPayload']){this[_0x4df8f4][_0x5cf42b(0x24e)](_0x229637);return;}this[_0x23804f]=new RangeError(_0x5cf42b(0x120)),this[_0x23804f][_0x5cf42b(0x1ea)]=_0x5cf42b(0x1ce),this[_0x23804f][_0x53a3ec]=0x3f1,this[_0x5cf42b(0x201)](_0x5cf42b(0x1d1),_0x175504),this[_0x5cf42b(0x1e6)]();}function _0x40510a(_0x575a9d){const _0x3c9f49=_0x489425;this[_0x57c2a2][_0x3c9f49(0x129)]=null,_0x575a9d[_0x53a3ec]=0x3ef,this[_0x22e2e0](_0x575a9d);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x22c973(0x249)](Object[_0x22c973(0x276)]({'__proto__':null,'default':Dt},Symbol[_0x22c973(0x167)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x3cc20d=_0x22c973;if(Ye)return ie[_0x3cc20d(0x16b)];Ye=0x1;const {isUtf8:_0x2f4b42}=wt,{hasBlob:_0x2f021a}=H(),_0x50f634=[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 _0x2d836d(_0x103937){return _0x103937>=0x3e8&&_0x103937<=0x3f6&&_0x103937!==0x3ec&&_0x103937!==0x3ed&&_0x103937!==0x3ee||_0x103937>=0xbb8&&_0x103937<=0x1387;}function _0x120e49(_0x5b394d){const _0x5d45f9=_0x3cc20d,_0x1d8d3f=_0x5b394d[_0x5d45f9(0x13f)];let _0x5b8538=0x0;for(;_0x5b8538<_0x1d8d3f;)if((_0x5b394d[_0x5b8538]&0x80)===0x0)_0x5b8538++;else{if((_0x5b394d[_0x5b8538]&0xe0)===0xc0){if(_0x5b8538+0x1===_0x1d8d3f||(_0x5b394d[_0x5b8538+0x1]&0xc0)!==0x80||(_0x5b394d[_0x5b8538]&0xfe)===0xc0)return!0x1;_0x5b8538+=0x2;}else{if((_0x5b394d[_0x5b8538]&0xf0)===0xe0){if(_0x5b8538+0x2>=_0x1d8d3f||(_0x5b394d[_0x5b8538+0x1]&0xc0)!==0x80||(_0x5b394d[_0x5b8538+0x2]&0xc0)!==0x80||_0x5b394d[_0x5b8538]===0xe0&&(_0x5b394d[_0x5b8538+0x1]&0xe0)===0x80||_0x5b394d[_0x5b8538]===0xed&&(_0x5b394d[_0x5b8538+0x1]&0xe0)===0xa0)return!0x1;_0x5b8538+=0x3;}else{if((_0x5b394d[_0x5b8538]&0xf8)===0xf0){if(_0x5b8538+0x3>=_0x1d8d3f||(_0x5b394d[_0x5b8538+0x1]&0xc0)!==0x80||(_0x5b394d[_0x5b8538+0x2]&0xc0)!==0x80||(_0x5b394d[_0x5b8538+0x3]&0xc0)!==0x80||_0x5b394d[_0x5b8538]===0xf0&&(_0x5b394d[_0x5b8538+0x1]&0xf0)===0x80||_0x5b394d[_0x5b8538]===0xf4&&_0x5b394d[_0x5b8538+0x1]>0x8f||_0x5b394d[_0x5b8538]>0xf4)return!0x1;_0x5b8538+=0x4;}else return!0x1;}}}return!0x0;}function _0x98727(_0x516d0f){const _0x3a20bb=_0x3cc20d;return _0x2f021a&&typeof _0x516d0f==_0x3a20bb(0x1b9)&&typeof _0x516d0f[_0x3a20bb(0x1e7)]=='function'&&typeof _0x516d0f[_0x3a20bb(0x126)]==_0x3a20bb(0xe6)&&typeof _0x516d0f[_0x3a20bb(0x1ec)]==_0x3a20bb(0x259)&&(_0x516d0f[Symbol[_0x3a20bb(0x167)]]===_0x3a20bb(0x115)||_0x516d0f[Symbol['toStringTag']]===_0x3a20bb(0x258));}if(ie[_0x3cc20d(0x16b)]={'isBlob':_0x98727,'isValidStatusCode':_0x2d836d,'isValidUTF8':_0x120e49,'tokenChars':_0x50f634},_0x2f4b42)ie[_0x3cc20d(0x16b)]['isValidUTF8']=function(_0x2adee4){return _0x2adee4['length']<0x18?_0x120e49(_0x2adee4):_0x2f4b42(_0x2adee4);};else{if(!process[_0x3cc20d(0x1fe)][_0x3cc20d(0x171)])try{const _0x322cde=Bt;ie['exports'][_0x3cc20d(0x1e3)]=function(_0x2f86a4){const _0x1f374f=_0x3cc20d;return _0x2f86a4[_0x1f374f(0x13f)]<0x20?_0x120e49(_0x2f86a4):_0x322cde(_0x2f86a4);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x5a60e7=_0x22c973;if(Ke)return Se;Ke=0x1;const {Writable:_0x23413b}=oe,_0x50d429=he(),{BINARY_TYPES:_0x2f787a,EMPTY_BUFFER:_0x329918,kStatusCode:_0x3d1816,kWebSocket:_0x41227d}=H(),{concat:_0x47a542,toArrayBuffer:_0x28f1cb,unmask:_0xbf0520}=ce(),{isValidStatusCode:_0x124254,isValidUTF8:_0x5f9ef0}=ae(),_0x22afcb=Buffer[Symbol[_0x5a60e7(0x251)]],_0x279b82=0x0,_0x20abd2=0x1,_0x3955c5=0x2,_0x3394b2=0x3,_0x4cac83=0x4,_0x5bb5bd=0x5,_0x2f1afd=0x6;class _0x3a0e63 extends _0x23413b{constructor(_0xeb19ae={}){const _0x5c2c63=_0x5a60e7;super(),this[_0x5c2c63(0x176)]=_0xeb19ae[_0x5c2c63(0x10e)]!==void 0x0?_0xeb19ae['allowSynchronousEvents']:!0x0,this['_binaryType']=_0xeb19ae[_0x5c2c63(0x253)]||_0x2f787a[0x0],this[_0x5c2c63(0x202)]=_0xeb19ae[_0x5c2c63(0x295)]||{},this['_isServer']=!!_0xeb19ae[_0x5c2c63(0x147)],this['_maxPayload']=_0xeb19ae[_0x5c2c63(0xf4)]|0x0,this[_0x5c2c63(0x24b)]=!!_0xeb19ae[_0x5c2c63(0x104)],this[_0x41227d]=void 0x0,this['_bufferedBytes']=0x0,this[_0x5c2c63(0x21c)]=[],this[_0x5c2c63(0x1e8)]=!0x1,this[_0x5c2c63(0x298)]=0x0,this[_0x5c2c63(0x238)]=void 0x0,this['_fragmented']=0x0,this[_0x5c2c63(0x25f)]=!0x1,this[_0x5c2c63(0x158)]=!0x1,this[_0x5c2c63(0x1ee)]=0x0,this['_totalPayloadLength']=0x0,this[_0x5c2c63(0x1ca)]=0x0,this['_fragments']=[],this['_errored']=!0x1,this[_0x5c2c63(0x15f)]=!0x1,this[_0x5c2c63(0x216)]=_0x279b82;}[_0x5a60e7(0x162)](_0x2296ab,_0x56cee6,_0x1408a4){const _0x4ffc87=_0x5a60e7;if(this[_0x4ffc87(0x1ee)]===0x8&&this['_state']==_0x279b82)return _0x1408a4();this[_0x4ffc87(0x1e0)]+=_0x2296ab[_0x4ffc87(0x13f)],this[_0x4ffc87(0x21c)][_0x4ffc87(0x24e)](_0x2296ab),this[_0x4ffc87(0x24c)](_0x1408a4);}[_0x5a60e7(0x118)](_0x3bb27b){const _0x5cd648=_0x5a60e7;if(this['_bufferedBytes']-=_0x3bb27b,_0x3bb27b===this[_0x5cd648(0x21c)][0x0][_0x5cd648(0x13f)])return this[_0x5cd648(0x21c)][_0x5cd648(0x170)]();if(_0x3bb27b<this[_0x5cd648(0x21c)][0x0][_0x5cd648(0x13f)]){const _0x241995=this[_0x5cd648(0x21c)][0x0];return this['_buffers'][0x0]=new _0x22afcb(_0x241995[_0x5cd648(0x143)],_0x241995[_0x5cd648(0x193)]+_0x3bb27b,_0x241995[_0x5cd648(0x13f)]-_0x3bb27b),new _0x22afcb(_0x241995[_0x5cd648(0x143)],_0x241995[_0x5cd648(0x193)],_0x3bb27b);}const _0x356b4e=Buffer[_0x5cd648(0x1d2)](_0x3bb27b);do{const _0x49b2f3=this['_buffers'][0x0],_0x3d700d=_0x356b4e[_0x5cd648(0x13f)]-_0x3bb27b;_0x3bb27b>=_0x49b2f3[_0x5cd648(0x13f)]?_0x356b4e[_0x5cd648(0x178)](this[_0x5cd648(0x21c)][_0x5cd648(0x170)](),_0x3d700d):(_0x356b4e['set'](new Uint8Array(_0x49b2f3[_0x5cd648(0x143)],_0x49b2f3[_0x5cd648(0x193)],_0x3bb27b),_0x3d700d),this[_0x5cd648(0x21c)][0x0]=new _0x22afcb(_0x49b2f3['buffer'],_0x49b2f3[_0x5cd648(0x193)]+_0x3bb27b,_0x49b2f3[_0x5cd648(0x13f)]-_0x3bb27b)),_0x3bb27b-=_0x49b2f3[_0x5cd648(0x13f)];}while(_0x3bb27b>0x0);return _0x356b4e;}[_0x5a60e7(0x24c)](_0x4631b1){const _0x2733d9=_0x5a60e7;this['_loop']=!0x0;do switch(this[_0x2733d9(0x216)]){case _0x279b82:this[_0x2733d9(0x1ae)](_0x4631b1);break;case _0x20abd2:this[_0x2733d9(0x227)](_0x4631b1);break;case _0x3955c5:this[_0x2733d9(0x1a4)](_0x4631b1);break;case _0x3394b2:this[_0x2733d9(0x14c)]();break;case _0x4cac83:this[_0x2733d9(0x278)](_0x4631b1);break;case _0x5bb5bd:case _0x2f1afd:this[_0x2733d9(0x15f)]=!0x1;return;}while(this[_0x2733d9(0x15f)]);this[_0x2733d9(0x21a)]||_0x4631b1();}[_0x5a60e7(0x1ae)](_0xba589){const _0x514677=_0x5a60e7;if(this[_0x514677(0x1e0)]<0x2){this['_loop']=!0x1;return;}const _0x2d4bd1=this['consume'](0x2);if((_0x2d4bd1[0x0]&0x30)!==0x0){const _0x4fe62c=this[_0x514677(0x1e1)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x514677(0x138));_0xba589(_0x4fe62c);return;}const _0x479d45=(_0x2d4bd1[0x0]&0x40)===0x40;if(_0x479d45&&!this[_0x514677(0x202)][_0x50d429['extensionName']]){const _0x1048a=this[_0x514677(0x1e1)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x514677(0xda));_0xba589(_0x1048a);return;}if(this['_fin']=(_0x2d4bd1[0x0]&0x80)===0x80,this['_opcode']=_0x2d4bd1[0x0]&0xf,this[_0x514677(0x298)]=_0x2d4bd1[0x1]&0x7f,this['_opcode']===0x0){if(_0x479d45){const _0x3e38a4=this[_0x514677(0x1e1)](RangeError,_0x514677(0x29e),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xba589(_0x3e38a4);return;}if(!this[_0x514677(0x17b)]){const _0x15a57e=this[_0x514677(0x1e1)](RangeError,_0x514677(0x179),!0x0,0x3ea,_0x514677(0x13c));_0xba589(_0x15a57e);return;}this[_0x514677(0x1ee)]=this['_fragmented'];}else{if(this[_0x514677(0x1ee)]===0x1||this[_0x514677(0x1ee)]===0x2){if(this[_0x514677(0x17b)]){const _0x19cd4a=this[_0x514677(0x1e1)](RangeError,_0x514677(0x140)+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0xba589(_0x19cd4a);return;}this[_0x514677(0x1e8)]=_0x479d45;}else{if(this[_0x514677(0x1ee)]>0x7&&this[_0x514677(0x1ee)]<0xb){if(!this[_0x514677(0x158)]){const _0x506fad=this['createError'](RangeError,_0x514677(0x27b),!0x0,0x3ea,_0x514677(0x16a));_0xba589(_0x506fad);return;}if(_0x479d45){const _0x64cb6b=this[_0x514677(0x1e1)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x514677(0xda));_0xba589(_0x64cb6b);return;}if(this[_0x514677(0x298)]>0x7d||this['_opcode']===0x8&&this[_0x514677(0x298)]===0x1){const _0x33f071=this[_0x514677(0x1e1)](RangeError,_0x514677(0x163)+this[_0x514677(0x298)],!0x0,0x3ea,_0x514677(0x110));_0xba589(_0x33f071);return;}}else{const _0x35abb7=this[_0x514677(0x1e1)](RangeError,_0x514677(0x140)+this[_0x514677(0x1ee)],!0x0,0x3ea,_0x514677(0x13c));_0xba589(_0x35abb7);return;}}}if(!this[_0x514677(0x158)]&&!this[_0x514677(0x17b)]&&(this[_0x514677(0x17b)]=this[_0x514677(0x1ee)]),this[_0x514677(0x25f)]=(_0x2d4bd1[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x514677(0x25f)]){const _0x132f13=this['createError'](RangeError,_0x514677(0x198),!0x0,0x3ea,_0x514677(0x17c));_0xba589(_0x132f13);return;}}else{if(this[_0x514677(0x25f)]){const _0x158039=this[_0x514677(0x1e1)](RangeError,_0x514677(0x283),!0x0,0x3ea,_0x514677(0x1dc));_0xba589(_0x158039);return;}}this[_0x514677(0x298)]===0x7e?this['_state']=_0x20abd2:this[_0x514677(0x298)]===0x7f?this[_0x514677(0x216)]=_0x3955c5:this[_0x514677(0x1a1)](_0xba589);}[_0x5a60e7(0x227)](_0x36878b){const _0x592802=_0x5a60e7;if(this[_0x592802(0x1e0)]<0x2){this[_0x592802(0x15f)]=!0x1;return;}this['_payloadLength']=this[_0x592802(0x118)](0x2)[_0x592802(0xd7)](0x0),this[_0x592802(0x1a1)](_0x36878b);}[_0x5a60e7(0x1a4)](_0x5977f2){const _0x4327f6=_0x5a60e7;if(this[_0x4327f6(0x1e0)]<0x8){this[_0x4327f6(0x15f)]=!0x1;return;}const _0x460088=this[_0x4327f6(0x118)](0x8),_0x229db7=_0x460088[_0x4327f6(0x1c4)](0x0);if(_0x229db7>Math['pow'](0x2,0x15)-0x1){const _0x5a76e9=this[_0x4327f6(0x1e1)](RangeError,_0x4327f6(0x1e4),!0x1,0x3f1,_0x4327f6(0x101));_0x5977f2(_0x5a76e9);return;}this[_0x4327f6(0x298)]=_0x229db7*Math[_0x4327f6(0x291)](0x2,0x20)+_0x460088[_0x4327f6(0x1c4)](0x4),this[_0x4327f6(0x1a1)](_0x5977f2);}['haveLength'](_0x5b3f83){const _0x3f6996=_0x5a60e7;if(this[_0x3f6996(0x298)]&&this[_0x3f6996(0x1ee)]<0x8&&(this['_totalPayloadLength']+=this[_0x3f6996(0x298)],this['_totalPayloadLength']>this[_0x3f6996(0x28f)]&&this[_0x3f6996(0x28f)]>0x0)){const _0x5187f3=this[_0x3f6996(0x1e1)](RangeError,_0x3f6996(0x120),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x5b3f83(_0x5187f3);return;}this['_masked']?this[_0x3f6996(0x216)]=_0x3394b2:this['_state']=_0x4cac83;}['getMask'](){const _0x28fd6b=_0x5a60e7;if(this[_0x28fd6b(0x1e0)]<0x4){this[_0x28fd6b(0x15f)]=!0x1;return;}this[_0x28fd6b(0x238)]=this['consume'](0x4),this['_state']=_0x4cac83;}['getData'](_0x38fe46){const _0x22cbcd=_0x5a60e7;let _0xa530b2=_0x329918;if(this[_0x22cbcd(0x298)]){if(this['_bufferedBytes']<this['_payloadLength']){this[_0x22cbcd(0x15f)]=!0x1;return;}_0xa530b2=this[_0x22cbcd(0x118)](this[_0x22cbcd(0x298)]),this[_0x22cbcd(0x25f)]&&(this[_0x22cbcd(0x238)][0x0]|this[_0x22cbcd(0x238)][0x1]|this[_0x22cbcd(0x238)][0x2]|this[_0x22cbcd(0x238)][0x3])!==0x0&&_0xbf0520(_0xa530b2,this[_0x22cbcd(0x238)]);}if(this[_0x22cbcd(0x1ee)]>0x7){this[_0x22cbcd(0xe0)](_0xa530b2,_0x38fe46);return;}if(this[_0x22cbcd(0x1e8)]){this[_0x22cbcd(0x216)]=_0x5bb5bd,this[_0x22cbcd(0x1b3)](_0xa530b2,_0x38fe46);return;}_0xa530b2[_0x22cbcd(0x13f)]&&(this[_0x22cbcd(0x1ca)]=this[_0x22cbcd(0xea)],this[_0x22cbcd(0x277)][_0x22cbcd(0x24e)](_0xa530b2)),this[_0x22cbcd(0x26e)](_0x38fe46);}[_0x5a60e7(0x1b3)](_0x17deb0,_0x1119dd){const _0x1d5f3b=_0x5a60e7;this[_0x1d5f3b(0x202)][_0x50d429[_0x1d5f3b(0x210)]][_0x1d5f3b(0x1b3)](_0x17deb0,this['_fin'],(_0x4e00a3,_0x3327af)=>{const _0x5741a4=_0x1d5f3b;if(_0x4e00a3)return _0x1119dd(_0x4e00a3);if(_0x3327af[_0x5741a4(0x13f)]){if(this['_messageLength']+=_0x3327af[_0x5741a4(0x13f)],this[_0x5741a4(0x1ca)]>this[_0x5741a4(0x28f)]&&this[_0x5741a4(0x28f)]>0x0){const _0xdb5030=this[_0x5741a4(0x1e1)](RangeError,_0x5741a4(0x120),!0x1,0x3f1,_0x5741a4(0x1ce));_0x1119dd(_0xdb5030);return;}this['_fragments']['push'](_0x3327af);}this['dataMessage'](_0x1119dd),this['_state']===_0x279b82&&this[_0x5741a4(0x24c)](_0x1119dd);});}['dataMessage'](_0x135d70){const _0x233c69=_0x5a60e7;if(!this[_0x233c69(0x158)]){this[_0x233c69(0x216)]=_0x279b82;return;}const _0x3680a7=this[_0x233c69(0x1ca)],_0x2c414e=this[_0x233c69(0x277)];if(this[_0x233c69(0xea)]=0x0,this[_0x233c69(0x1ca)]=0x0,this[_0x233c69(0x17b)]=0x0,this[_0x233c69(0x277)]=[],this['_opcode']===0x2){let _0x39dd93;this['_binaryType']===_0x233c69(0x11f)?_0x39dd93=_0x47a542(_0x2c414e,_0x3680a7):this['_binaryType']==='arraybuffer'?_0x39dd93=_0x28f1cb(_0x47a542(_0x2c414e,_0x3680a7)):this[_0x233c69(0xd5)]===_0x233c69(0x20c)?_0x39dd93=new Blob(_0x2c414e):_0x39dd93=_0x2c414e,this[_0x233c69(0x176)]?(this[_0x233c69(0x261)](_0x233c69(0x1de),_0x39dd93,!0x0),this[_0x233c69(0x216)]=_0x279b82):(this['_state']=_0x2f1afd,setImmediate(()=>{const _0x521f40=_0x233c69;this[_0x521f40(0x261)](_0x521f40(0x1de),_0x39dd93,!0x0),this[_0x521f40(0x216)]=_0x279b82,this[_0x521f40(0x24c)](_0x135d70);}));}else{const _0x16438e=_0x47a542(_0x2c414e,_0x3680a7);if(!this['_skipUTF8Validation']&&!_0x5f9ef0(_0x16438e)){const _0x4ecfa0=this[_0x233c69(0x1e1)](Error,_0x233c69(0xee),!0x0,0x3ef,_0x233c69(0x130));_0x135d70(_0x4ecfa0);return;}this[_0x233c69(0x216)]===_0x5bb5bd||this[_0x233c69(0x176)]?(this[_0x233c69(0x261)](_0x233c69(0x1de),_0x16438e,!0x1),this['_state']=_0x279b82):(this[_0x233c69(0x216)]=_0x2f1afd,setImmediate(()=>{const _0x59ef2d=_0x233c69;this[_0x59ef2d(0x261)]('message',_0x16438e,!0x1),this[_0x59ef2d(0x216)]=_0x279b82,this[_0x59ef2d(0x24c)](_0x135d70);}));}}[_0x5a60e7(0xe0)](_0x23211a,_0x1c144b){const _0x545a50=_0x5a60e7;if(this['_opcode']===0x8){if(_0x23211a[_0x545a50(0x13f)]===0x0)this[_0x545a50(0x15f)]=!0x1,this[_0x545a50(0x261)](_0x545a50(0x168),0x3ed,_0x329918),this[_0x545a50(0x21b)]();else{const _0x1a65e4=_0x23211a[_0x545a50(0xd7)](0x0);if(!_0x124254(_0x1a65e4)){const _0x41478f=this['createError'](RangeError,_0x545a50(0x180)+_0x1a65e4,!0x0,0x3ea,_0x545a50(0xd8));_0x1c144b(_0x41478f);return;}const _0x4eba43=new _0x22afcb(_0x23211a[_0x545a50(0x143)],_0x23211a['byteOffset']+0x2,_0x23211a[_0x545a50(0x13f)]-0x2);if(!this[_0x545a50(0x24b)]&&!_0x5f9ef0(_0x4eba43)){const _0x5ae058=this['createError'](Error,_0x545a50(0xee),!0x0,0x3ef,_0x545a50(0x130));_0x1c144b(_0x5ae058);return;}this['_loop']=!0x1,this['emit'](_0x545a50(0x168),_0x1a65e4,_0x4eba43),this[_0x545a50(0x21b)]();}this[_0x545a50(0x216)]=_0x279b82;return;}this[_0x545a50(0x176)]?(this[_0x545a50(0x261)](this['_opcode']===0x9?_0x545a50(0x1c6):'pong',_0x23211a),this[_0x545a50(0x216)]=_0x279b82):(this[_0x545a50(0x216)]=_0x2f1afd,setImmediate(()=>{const _0x513c77=_0x545a50;this[_0x513c77(0x261)](this[_0x513c77(0x1ee)]===0x9?'ping':_0x513c77(0xe1),_0x23211a),this[_0x513c77(0x216)]=_0x279b82,this[_0x513c77(0x24c)](_0x1c144b);}));}['createError'](_0x811493,_0x278da9,_0x4b0763,_0x209f81,_0x4c40df){const _0x15ea67=_0x5a60e7;this[_0x15ea67(0x15f)]=!0x1,this[_0x15ea67(0x21a)]=!0x0;const _0x5c3a74=new _0x811493(_0x4b0763?_0x15ea67(0x102)+_0x278da9:_0x278da9);return Error['captureStackTrace'](_0x5c3a74,this[_0x15ea67(0x1e1)]),_0x5c3a74['code']=_0x4c40df,_0x5c3a74[_0x3d1816]=_0x209f81,_0x5c3a74;}}return Se=_0x3a0e63,Se;}var Ee,Xe;function ft(){const _0x132d46=_0x22c973;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x4b1199}=oe,{randomFillSync:_0x3c04f0}=Le,_0x59fcc2=he(),{EMPTY_BUFFER:_0x3b1bb1,kWebSocket:_0x27e6c0,NOOP:_0x3e1bfb}=H(),{isBlob:_0x45c3fd,isValidStatusCode:_0x297d39}=ae(),{mask:_0x1a706d,toBuffer:_0x2301fc}=ce(),_0x44c47f=Symbol(_0x132d46(0x1dd)),_0x42d239=Buffer['alloc'](0x4),_0xc08b29=0x8*0x400;let _0x441af7,_0x6dca80=_0xc08b29;const _0x537dec=0x0,_0x5a1da7=0x1,_0x4556d9=0x2;class _0x20c98a{constructor(_0x8c2257,_0x5a05ea,_0x3267f7){const _0x442c88=_0x132d46;this[_0x442c88(0x202)]=_0x5a05ea||{},_0x3267f7&&(this['_generateMask']=_0x3267f7,this[_0x442c88(0xf3)]=Buffer['alloc'](0x4)),this[_0x442c88(0x1ef)]=_0x8c2257,this[_0x442c88(0x200)]=!0x0,this[_0x442c88(0x205)]=!0x1,this['_bufferedBytes']=0x0,this[_0x442c88(0x1f1)]=[],this[_0x442c88(0x216)]=_0x537dec,this[_0x442c88(0x209)]=_0x3e1bfb,this[_0x27e6c0]=void 0x0;}static[_0x132d46(0x1b5)](_0x190a23,_0x431a2b){const _0x196924=_0x132d46;let _0x2ef115,_0x51c5e7=!0x1,_0x30d4ec=0x2,_0x17a85d=!0x1;_0x431a2b[_0x196924(0x177)]&&(_0x2ef115=_0x431a2b[_0x196924(0x28d)]||_0x42d239,_0x431a2b[_0x196924(0xe4)]?_0x431a2b[_0x196924(0xe4)](_0x2ef115):(_0x6dca80===_0xc08b29&&(_0x441af7===void 0x0&&(_0x441af7=Buffer[_0x196924(0x14a)](_0xc08b29)),_0x3c04f0(_0x441af7,0x0,_0xc08b29),_0x6dca80=0x0),_0x2ef115[0x0]=_0x441af7[_0x6dca80++],_0x2ef115[0x1]=_0x441af7[_0x6dca80++],_0x2ef115[0x2]=_0x441af7[_0x6dca80++],_0x2ef115[0x3]=_0x441af7[_0x6dca80++]),_0x17a85d=(_0x2ef115[0x0]|_0x2ef115[0x1]|_0x2ef115[0x2]|_0x2ef115[0x3])===0x0,_0x30d4ec=0x6);let _0x134045;typeof _0x190a23==_0x196924(0xe6)?(!_0x431a2b[_0x196924(0x177)]||_0x17a85d)&&_0x431a2b[_0x44c47f]!==void 0x0?_0x134045=_0x431a2b[_0x44c47f]:(_0x190a23=Buffer['from'](_0x190a23),_0x134045=_0x190a23[_0x196924(0x13f)]):(_0x134045=_0x190a23[_0x196924(0x13f)],_0x51c5e7=_0x431a2b[_0x196924(0x177)]&&_0x431a2b[_0x196924(0x23c)]&&!_0x17a85d);let _0x45cf25=_0x134045;_0x134045>=0x10000?(_0x30d4ec+=0x8,_0x45cf25=0x7f):_0x134045>0x7d&&(_0x30d4ec+=0x2,_0x45cf25=0x7e);const _0x4ea0b7=Buffer[_0x196924(0x1d2)](_0x51c5e7?_0x134045+_0x30d4ec:_0x30d4ec);return _0x4ea0b7[0x0]=_0x431a2b[_0x196924(0x124)]?_0x431a2b[_0x196924(0xf5)]|0x80:_0x431a2b['opcode'],_0x431a2b['rsv1']&&(_0x4ea0b7[0x0]|=0x40),_0x4ea0b7[0x1]=_0x45cf25,_0x45cf25===0x7e?_0x4ea0b7[_0x196924(0x14e)](_0x134045,0x2):_0x45cf25===0x7f&&(_0x4ea0b7[0x2]=_0x4ea0b7[0x3]=0x0,_0x4ea0b7[_0x196924(0x1a9)](_0x134045,0x4,0x6)),_0x431a2b['mask']?(_0x4ea0b7[0x1]|=0x80,_0x4ea0b7[_0x30d4ec-0x4]=_0x2ef115[0x0],_0x4ea0b7[_0x30d4ec-0x3]=_0x2ef115[0x1],_0x4ea0b7[_0x30d4ec-0x2]=_0x2ef115[0x2],_0x4ea0b7[_0x30d4ec-0x1]=_0x2ef115[0x3],_0x17a85d?[_0x4ea0b7,_0x190a23]:_0x51c5e7?(_0x1a706d(_0x190a23,_0x2ef115,_0x4ea0b7,_0x30d4ec,_0x134045),[_0x4ea0b7]):(_0x1a706d(_0x190a23,_0x2ef115,_0x190a23,0x0,_0x134045),[_0x4ea0b7,_0x190a23])):[_0x4ea0b7,_0x190a23];}[_0x132d46(0x19d)](_0x117c42,_0x462b10,_0x1d2d11,_0x394784){const _0x3c4fbb=_0x132d46;let _0x4d3c37;if(_0x117c42===void 0x0)_0x4d3c37=_0x3b1bb1;else{if(typeof _0x117c42!=_0x3c4fbb(0x15a)||!_0x297d39(_0x117c42))throw new TypeError(_0x3c4fbb(0x13a));if(_0x462b10===void 0x0||!_0x462b10[_0x3c4fbb(0x13f)])_0x4d3c37=Buffer[_0x3c4fbb(0x1d2)](0x2),_0x4d3c37[_0x3c4fbb(0x14e)](_0x117c42,0x0);else{const _0x18c011=Buffer[_0x3c4fbb(0x10b)](_0x462b10);if(_0x18c011>0x7b)throw new RangeError(_0x3c4fbb(0x29a));_0x4d3c37=Buffer['allocUnsafe'](0x2+_0x18c011),_0x4d3c37[_0x3c4fbb(0x14e)](_0x117c42,0x0),typeof _0x462b10==_0x3c4fbb(0xe6)?_0x4d3c37[_0x3c4fbb(0x22b)](_0x462b10,0x2):_0x4d3c37[_0x3c4fbb(0x178)](_0x462b10,0x2);}}const _0xb92e33={[_0x44c47f]:_0x4d3c37[_0x3c4fbb(0x13f)],'fin':!0x0,'generateMask':this[_0x3c4fbb(0x281)],'mask':_0x1d2d11,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x3c4fbb(0x216)]!==_0x537dec?this[_0x3c4fbb(0x1f9)]([this[_0x3c4fbb(0xf6)],_0x4d3c37,!0x1,_0xb92e33,_0x394784]):this['sendFrame'](_0x20c98a[_0x3c4fbb(0x1b5)](_0x4d3c37,_0xb92e33),_0x394784);}[_0x132d46(0x1c6)](_0x5cf418,_0x3bcf6a,_0xbc8a3b){const _0x41b819=_0x132d46;let _0x2bc665,_0x1235e9;if(typeof _0x5cf418=='string'?(_0x2bc665=Buffer[_0x41b819(0x10b)](_0x5cf418),_0x1235e9=!0x1):_0x45c3fd(_0x5cf418)?(_0x2bc665=_0x5cf418[_0x41b819(0x105)],_0x1235e9=!0x1):(_0x5cf418=_0x2301fc(_0x5cf418),_0x2bc665=_0x5cf418[_0x41b819(0x13f)],_0x1235e9=_0x2301fc[_0x41b819(0x23c)]),_0x2bc665>0x7d)throw new RangeError(_0x41b819(0x139));const _0x3613ae={[_0x44c47f]:_0x2bc665,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x3bcf6a,'maskBuffer':this[_0x41b819(0xf3)],'opcode':0x9,'readOnly':_0x1235e9,'rsv1':!0x1};_0x45c3fd(_0x5cf418)?this[_0x41b819(0x216)]!==_0x537dec?this[_0x41b819(0x1f9)]([this[_0x41b819(0x1d7)],_0x5cf418,!0x1,_0x3613ae,_0xbc8a3b]):this[_0x41b819(0x1d7)](_0x5cf418,!0x1,_0x3613ae,_0xbc8a3b):this[_0x41b819(0x216)]!==_0x537dec?this[_0x41b819(0x1f9)]([this[_0x41b819(0xf6)],_0x5cf418,!0x1,_0x3613ae,_0xbc8a3b]):this[_0x41b819(0xfb)](_0x20c98a[_0x41b819(0x1b5)](_0x5cf418,_0x3613ae),_0xbc8a3b);}[_0x132d46(0xe1)](_0x107e2f,_0x7eaab4,_0x48f625){const _0x20502b=_0x132d46;let _0x41ffdc,_0x465481;if(typeof _0x107e2f=='string'?(_0x41ffdc=Buffer['byteLength'](_0x107e2f),_0x465481=!0x1):_0x45c3fd(_0x107e2f)?(_0x41ffdc=_0x107e2f['size'],_0x465481=!0x1):(_0x107e2f=_0x2301fc(_0x107e2f),_0x41ffdc=_0x107e2f[_0x20502b(0x13f)],_0x465481=_0x2301fc['readOnly']),_0x41ffdc>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x19680e={[_0x44c47f]:_0x41ffdc,'fin':!0x0,'generateMask':this[_0x20502b(0x281)],'mask':_0x7eaab4,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x465481,'rsv1':!0x1};_0x45c3fd(_0x107e2f)?this[_0x20502b(0x216)]!==_0x537dec?this['enqueue']([this['getBlobData'],_0x107e2f,!0x1,_0x19680e,_0x48f625]):this['getBlobData'](_0x107e2f,!0x1,_0x19680e,_0x48f625):this[_0x20502b(0x216)]!==_0x537dec?this[_0x20502b(0x1f9)]([this['dispatch'],_0x107e2f,!0x1,_0x19680e,_0x48f625]):this[_0x20502b(0xfb)](_0x20c98a['frame'](_0x107e2f,_0x19680e),_0x48f625);}['send'](_0x3af4cb,_0x1c067b,_0x7ff304){const _0x418ef1=_0x132d46,_0x55dc9e=this[_0x418ef1(0x202)][_0x59fcc2[_0x418ef1(0x210)]];let _0x3c4ebd=_0x1c067b[_0x418ef1(0x22e)]?0x2:0x1,_0x5c9bb4=_0x1c067b[_0x418ef1(0xd9)],_0x46525f,_0x564de8;typeof _0x3af4cb==_0x418ef1(0xe6)?(_0x46525f=Buffer[_0x418ef1(0x10b)](_0x3af4cb),_0x564de8=!0x1):_0x45c3fd(_0x3af4cb)?(_0x46525f=_0x3af4cb[_0x418ef1(0x105)],_0x564de8=!0x1):(_0x3af4cb=_0x2301fc(_0x3af4cb),_0x46525f=_0x3af4cb[_0x418ef1(0x13f)],_0x564de8=_0x2301fc['readOnly']),this[_0x418ef1(0x200)]?(this[_0x418ef1(0x200)]=!0x1,_0x5c9bb4&&_0x55dc9e&&_0x55dc9e[_0x418ef1(0x1eb)][_0x55dc9e[_0x418ef1(0x100)]?_0x418ef1(0x17d):'client_no_context_takeover']&&(_0x5c9bb4=_0x46525f>=_0x55dc9e[_0x418ef1(0x1a6)]),this[_0x418ef1(0x205)]=_0x5c9bb4):(_0x5c9bb4=!0x1,_0x3c4ebd=0x0),_0x1c067b[_0x418ef1(0x124)]&&(this[_0x418ef1(0x200)]=!0x0);const _0x492e88={[_0x44c47f]:_0x46525f,'fin':_0x1c067b[_0x418ef1(0x124)],'generateMask':this[_0x418ef1(0x281)],'mask':_0x1c067b[_0x418ef1(0x177)],'maskBuffer':this[_0x418ef1(0xf3)],'opcode':_0x3c4ebd,'readOnly':_0x564de8,'rsv1':_0x5c9bb4};_0x45c3fd(_0x3af4cb)?this['_state']!==_0x537dec?this[_0x418ef1(0x1f9)]([this[_0x418ef1(0x1d7)],_0x3af4cb,this[_0x418ef1(0x205)],_0x492e88,_0x7ff304]):this[_0x418ef1(0x1d7)](_0x3af4cb,this[_0x418ef1(0x205)],_0x492e88,_0x7ff304):this[_0x418ef1(0x216)]!==_0x537dec?this[_0x418ef1(0x1f9)]([this[_0x418ef1(0xf6)],_0x3af4cb,this['_compress'],_0x492e88,_0x7ff304]):this[_0x418ef1(0xf6)](_0x3af4cb,this[_0x418ef1(0x205)],_0x492e88,_0x7ff304);}[_0x132d46(0x1d7)](_0x54f643,_0xf22ced,_0x392120,_0x1ac3db){const _0x1f3ba5=_0x132d46;this[_0x1f3ba5(0x1e0)]+=_0x392120[_0x44c47f],this[_0x1f3ba5(0x216)]=_0x4556d9,_0x54f643['arrayBuffer']()[_0x1f3ba5(0x195)](_0x56096e=>{const _0x5ca182=_0x1f3ba5;if(this[_0x5ca182(0x1ef)][_0x5ca182(0xfc)]){const _0x3ee4fd=new Error(_0x5ca182(0x254));process[_0x5ca182(0x1fb)](_0x5e7274,this,_0x3ee4fd,_0x1ac3db);return;}this['_bufferedBytes']-=_0x392120[_0x44c47f];const _0x4f3fb5=_0x2301fc(_0x56096e);_0xf22ced?this[_0x5ca182(0xf6)](_0x4f3fb5,_0xf22ced,_0x392120,_0x1ac3db):(this[_0x5ca182(0x216)]=_0x537dec,this[_0x5ca182(0xfb)](_0x20c98a['frame'](_0x4f3fb5,_0x392120),_0x1ac3db),this[_0x5ca182(0x10a)]());})[_0x1f3ba5(0x13d)](_0x453162=>{process['nextTick'](_0x34036e,this,_0x453162,_0x1ac3db);});}['dispatch'](_0x3d2693,_0x2c3139,_0xfb9c88,_0x38bee0){const _0x3e3b0f=_0x132d46;if(!_0x2c3139){this[_0x3e3b0f(0xfb)](_0x20c98a[_0x3e3b0f(0x1b5)](_0x3d2693,_0xfb9c88),_0x38bee0);return;}const _0x275598=this[_0x3e3b0f(0x202)][_0x59fcc2[_0x3e3b0f(0x210)]];this[_0x3e3b0f(0x1e0)]+=_0xfb9c88[_0x44c47f],this['_state']=_0x5a1da7,_0x275598[_0x3e3b0f(0xd9)](_0x3d2693,_0xfb9c88[_0x3e3b0f(0x124)],(_0x18700a,_0x22113c)=>{const _0x46e7e8=_0x3e3b0f;if(this['_socket'][_0x46e7e8(0xfc)]){const _0x56f212=new Error(_0x46e7e8(0x196));_0x5e7274(this,_0x56f212,_0x38bee0);return;}this[_0x46e7e8(0x1e0)]-=_0xfb9c88[_0x44c47f],this[_0x46e7e8(0x216)]=_0x537dec,_0xfb9c88[_0x46e7e8(0x23c)]=!0x1,this[_0x46e7e8(0xfb)](_0x20c98a[_0x46e7e8(0x1b5)](_0x22113c,_0xfb9c88),_0x38bee0),this[_0x46e7e8(0x10a)]();});}[_0x132d46(0x10a)](){const _0x338eec=_0x132d46;for(;this[_0x338eec(0x216)]===_0x537dec&&this[_0x338eec(0x1f1)][_0x338eec(0x13f)];){const _0x31ac42=this[_0x338eec(0x1f1)][_0x338eec(0x170)]();this[_0x338eec(0x1e0)]-=_0x31ac42[0x3][_0x44c47f],Reflect[_0x338eec(0x27f)](_0x31ac42[0x0],this,_0x31ac42[_0x338eec(0x22f)](0x1));}}['enqueue'](_0xee04d9){const _0xffcf8e=_0x132d46;this[_0xffcf8e(0x1e0)]+=_0xee04d9[0x3][_0x44c47f],this[_0xffcf8e(0x1f1)][_0xffcf8e(0x24e)](_0xee04d9);}['sendFrame'](_0xd34bbb,_0x26e743){const _0x445dbc=_0x132d46;_0xd34bbb['length']===0x2?(this[_0x445dbc(0x1ef)][_0x445dbc(0xdf)](),this['_socket'][_0x445dbc(0x22b)](_0xd34bbb[0x0]),this[_0x445dbc(0x1ef)][_0x445dbc(0x22b)](_0xd34bbb[0x1],_0x26e743),this[_0x445dbc(0x1ef)][_0x445dbc(0x20d)]()):this['_socket'][_0x445dbc(0x22b)](_0xd34bbb[0x0],_0x26e743);}}Ee=_0x20c98a;function _0x5e7274(_0x5dc69f,_0x34d3af,_0xb9e4e8){const _0x191526=_0x132d46;typeof _0xb9e4e8==_0x191526(0x259)&&_0xb9e4e8(_0x34d3af);for(let _0x360c16=0x0;_0x360c16<_0x5dc69f[_0x191526(0x1f1)][_0x191526(0x13f)];_0x360c16++){const _0x5a16fc=_0x5dc69f[_0x191526(0x1f1)][_0x360c16],_0x5328ff=_0x5a16fc[_0x5a16fc[_0x191526(0x13f)]-0x1];typeof _0x5328ff==_0x191526(0x259)&&_0x5328ff(_0x34d3af);}}function _0x34036e(_0x645fc3,_0x364e77,_0x1cd266){const _0x4a1064=_0x132d46;_0x5e7274(_0x645fc3,_0x364e77,_0x1cd266),_0x645fc3[_0x4a1064(0x209)](_0x364e77);}return Ee;}var xe,Ze;function It(){const _0x1abfb1=_0x22c973;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x288fc8,kListener:_0x2304b0}=H(),_0xc6f0a1=Symbol(_0x1abfb1(0x21f)),_0x169529=Symbol(_0x1abfb1(0x1d5)),_0x40b2c7=Symbol(_0x1abfb1(0x1cc)),_0x3a864f=Symbol('kMessage'),_0x3971ed=Symbol(_0x1abfb1(0x220)),_0xcf6408=Symbol('kTarget'),_0x599dda=Symbol(_0x1abfb1(0x1af)),_0x372a6a=Symbol('kWasClean');class _0xf05d1a{constructor(_0x3372a4){this[_0xcf6408]=null,this[_0x599dda]=_0x3372a4;}get[_0x1abfb1(0x19a)](){return this[_0xcf6408];}get[_0x1abfb1(0x126)](){return this[_0x599dda];}}Object[_0x1abfb1(0x276)](_0xf05d1a['prototype'],_0x1abfb1(0x19a),{'enumerable':!0x0}),Object[_0x1abfb1(0x276)](_0xf05d1a['prototype'],_0x1abfb1(0x126),{'enumerable':!0x0});class _0x3809d1 extends _0xf05d1a{constructor(_0x467e25,_0x3c2a63={}){const _0x23843f=_0x1abfb1;super(_0x467e25),this[_0xc6f0a1]=_0x3c2a63['code']===void 0x0?0x0:_0x3c2a63[_0x23843f(0x1ea)],this[_0x3971ed]=_0x3c2a63[_0x23843f(0x206)]===void 0x0?'':_0x3c2a63[_0x23843f(0x206)],this[_0x372a6a]=_0x3c2a63[_0x23843f(0x1b4)]===void 0x0?!0x1:_0x3c2a63['wasClean'];}get[_0x1abfb1(0x1ea)](){return this[_0xc6f0a1];}get['reason'](){return this[_0x3971ed];}get[_0x1abfb1(0x1b4)](){return this[_0x372a6a];}}Object[_0x1abfb1(0x276)](_0x3809d1[_0x1abfb1(0xf8)],_0x1abfb1(0x1ea),{'enumerable':!0x0}),Object[_0x1abfb1(0x276)](_0x3809d1[_0x1abfb1(0xf8)],_0x1abfb1(0x206),{'enumerable':!0x0}),Object['defineProperty'](_0x3809d1['prototype'],'wasClean',{'enumerable':!0x0});class _0x28d487 extends _0xf05d1a{constructor(_0x560a0f,_0x35b1b={}){const _0x1b91d8=_0x1abfb1;super(_0x560a0f),this[_0x40b2c7]=_0x35b1b['error']===void 0x0?null:_0x35b1b[_0x1b91d8(0x1f0)],this[_0x3a864f]=_0x35b1b[_0x1b91d8(0x1de)]===void 0x0?'':_0x35b1b[_0x1b91d8(0x1de)];}get[_0x1abfb1(0x1f0)](){return this[_0x40b2c7];}get[_0x1abfb1(0x1de)](){return this[_0x3a864f];}}Object['defineProperty'](_0x28d487['prototype'],_0x1abfb1(0x1f0),{'enumerable':!0x0}),Object[_0x1abfb1(0x276)](_0x28d487[_0x1abfb1(0xf8)],_0x1abfb1(0x1de),{'enumerable':!0x0});class _0x1b720c extends _0xf05d1a{constructor(_0x1d8afb,_0x1d95dc={}){super(_0x1d8afb),this[_0x169529]=_0x1d95dc['data']===void 0x0?null:_0x1d95dc['data'];}get[_0x1abfb1(0x1d1)](){return this[_0x169529];}}Object['defineProperty'](_0x1b720c[_0x1abfb1(0xf8)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x3809d1,'ErrorEvent':_0x28d487,'Event':_0xf05d1a,'EventTarget':{'addEventListener'(_0x36c93e,_0x1eb270,_0x1595c3={}){const _0x412dd8=_0x1abfb1;for(const _0x105d45 of this[_0x412dd8(0x1f6)](_0x36c93e))if(!_0x1595c3[_0x288fc8]&&_0x105d45[_0x2304b0]===_0x1eb270&&!_0x105d45[_0x288fc8])return;let _0x21121e;if(_0x36c93e===_0x412dd8(0x1de))_0x21121e=function(_0x1b6a0a,_0x494ae6){const _0x18ab83=_0x412dd8,_0x385e7f=new _0x1b720c(_0x18ab83(0x1de),{'data':_0x494ae6?_0x1b6a0a:_0x1b6a0a[_0x18ab83(0x22d)]()});_0x385e7f[_0xcf6408]=this,_0x5a4868(_0x1eb270,this,_0x385e7f);};else{if(_0x36c93e==='close')_0x21121e=function(_0x31dcf9,_0x7c97cb){const _0x36fae4=_0x412dd8,_0x2618e0=new _0x3809d1('close',{'code':_0x31dcf9,'reason':_0x7c97cb[_0x36fae4(0x22d)](),'wasClean':this[_0x36fae4(0x11c)]&&this[_0x36fae4(0x146)]});_0x2618e0[_0xcf6408]=this,_0x5a4868(_0x1eb270,this,_0x2618e0);};else{if(_0x36c93e==='error')_0x21121e=function(_0x4c518b){const _0x163011=_0x412dd8,_0x5a84a3=new _0x28d487(_0x163011(0x1f0),{'error':_0x4c518b,'message':_0x4c518b[_0x163011(0x1de)]});_0x5a84a3[_0xcf6408]=this,_0x5a4868(_0x1eb270,this,_0x5a84a3);};else{if(_0x36c93e===_0x412dd8(0x12c))_0x21121e=function(){const _0x2d1c2b=new _0xf05d1a('open');_0x2d1c2b[_0xcf6408]=this,_0x5a4868(_0x1eb270,this,_0x2d1c2b);};else return;}}}_0x21121e[_0x288fc8]=!!_0x1595c3[_0x288fc8],_0x21121e[_0x2304b0]=_0x1eb270,_0x1595c3[_0x412dd8(0x1be)]?this['once'](_0x36c93e,_0x21121e):this['on'](_0x36c93e,_0x21121e);},'removeEventListener'(_0x4ff829,_0x3aaaa5){const _0x240c47=_0x1abfb1;for(const _0x287d30 of this[_0x240c47(0x1f6)](_0x4ff829))if(_0x287d30[_0x2304b0]===_0x3aaaa5&&!_0x287d30[_0x288fc8]){this[_0x240c47(0x201)](_0x4ff829,_0x287d30);break;}}},'MessageEvent':_0x1b720c};function _0x5a4868(_0xe4ab10,_0x3f8982,_0x361291){const _0x58d63d=_0x1abfb1;typeof _0xe4ab10==_0x58d63d(0x1b9)&&_0xe4ab10['handleEvent']?_0xe4ab10[_0x58d63d(0x1da)][_0x58d63d(0x27e)](_0xe4ab10,_0x361291):_0xe4ab10[_0x58d63d(0x27e)](_0x3f8982,_0x361291);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x3e2e60}=ae();function _0xc10b81(_0xdd1087,_0xe5e4ad,_0x506790){const _0x4a3b91=_0x4113;_0xdd1087[_0xe5e4ad]===void 0x0?_0xdd1087[_0xe5e4ad]=[_0x506790]:_0xdd1087[_0xe5e4ad][_0x4a3b91(0x24e)](_0x506790);}function _0x40ddcb(_0x413c88){const _0x4e871e=_0x4113,_0x20b01a=Object[_0x4e871e(0x119)](null);let _0x4736a5=Object['create'](null),_0x8a7ad9=!0x1,_0x37f22f=!0x1,_0x19de6f=!0x1,_0x57b79f,_0x42b31c,_0x21c47d=-0x1,_0x393aed=-0x1,_0x24669e=-0x1,_0x3a10ed=0x0;for(;_0x3a10ed<_0x413c88[_0x4e871e(0x13f)];_0x3a10ed++)if(_0x393aed=_0x413c88['charCodeAt'](_0x3a10ed),_0x57b79f===void 0x0){if(_0x24669e===-0x1&&_0x3e2e60[_0x393aed]===0x1)_0x21c47d===-0x1&&(_0x21c47d=_0x3a10ed);else{if(_0x3a10ed!==0x0&&(_0x393aed===0x20||_0x393aed===0x9))_0x24669e===-0x1&&_0x21c47d!==-0x1&&(_0x24669e=_0x3a10ed);else{if(_0x393aed===0x3b||_0x393aed===0x2c){if(_0x21c47d===-0x1)throw new SyntaxError(_0x4e871e(0x231)+_0x3a10ed);_0x24669e===-0x1&&(_0x24669e=_0x3a10ed);const _0x3a7f3d=_0x413c88[_0x4e871e(0x22f)](_0x21c47d,_0x24669e);_0x393aed===0x2c?(_0xc10b81(_0x20b01a,_0x3a7f3d,_0x4736a5),_0x4736a5=Object[_0x4e871e(0x119)](null)):_0x57b79f=_0x3a7f3d,_0x21c47d=_0x24669e=-0x1;}else throw new SyntaxError(_0x4e871e(0x231)+_0x3a10ed);}}}else{if(_0x42b31c===void 0x0){if(_0x24669e===-0x1&&_0x3e2e60[_0x393aed]===0x1)_0x21c47d===-0x1&&(_0x21c47d=_0x3a10ed);else{if(_0x393aed===0x20||_0x393aed===0x9)_0x24669e===-0x1&&_0x21c47d!==-0x1&&(_0x24669e=_0x3a10ed);else{if(_0x393aed===0x3b||_0x393aed===0x2c){if(_0x21c47d===-0x1)throw new SyntaxError(_0x4e871e(0x231)+_0x3a10ed);_0x24669e===-0x1&&(_0x24669e=_0x3a10ed),_0xc10b81(_0x4736a5,_0x413c88[_0x4e871e(0x22f)](_0x21c47d,_0x24669e),!0x0),_0x393aed===0x2c&&(_0xc10b81(_0x20b01a,_0x57b79f,_0x4736a5),_0x4736a5=Object[_0x4e871e(0x119)](null),_0x57b79f=void 0x0),_0x21c47d=_0x24669e=-0x1;}else{if(_0x393aed===0x3d&&_0x21c47d!==-0x1&&_0x24669e===-0x1)_0x42b31c=_0x413c88[_0x4e871e(0x22f)](_0x21c47d,_0x3a10ed),_0x21c47d=_0x24669e=-0x1;else throw new SyntaxError(_0x4e871e(0x231)+_0x3a10ed);}}}}else{if(_0x37f22f){if(_0x3e2e60[_0x393aed]!==0x1)throw new SyntaxError(_0x4e871e(0x231)+_0x3a10ed);_0x21c47d===-0x1?_0x21c47d=_0x3a10ed:_0x8a7ad9||(_0x8a7ad9=!0x0),_0x37f22f=!0x1;}else{if(_0x19de6f){if(_0x3e2e60[_0x393aed]===0x1)_0x21c47d===-0x1&&(_0x21c47d=_0x3a10ed);else{if(_0x393aed===0x22&&_0x21c47d!==-0x1)_0x19de6f=!0x1,_0x24669e=_0x3a10ed;else{if(_0x393aed===0x5c)_0x37f22f=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3a10ed);}}}else{if(_0x393aed===0x22&&_0x413c88[_0x4e871e(0x15b)](_0x3a10ed-0x1)===0x3d)_0x19de6f=!0x0;else{if(_0x24669e===-0x1&&_0x3e2e60[_0x393aed]===0x1)_0x21c47d===-0x1&&(_0x21c47d=_0x3a10ed);else{if(_0x21c47d!==-0x1&&(_0x393aed===0x20||_0x393aed===0x9))_0x24669e===-0x1&&(_0x24669e=_0x3a10ed);else{if(_0x393aed===0x3b||_0x393aed===0x2c){if(_0x21c47d===-0x1)throw new SyntaxError(_0x4e871e(0x231)+_0x3a10ed);_0x24669e===-0x1&&(_0x24669e=_0x3a10ed);let _0x35d59c=_0x413c88['slice'](_0x21c47d,_0x24669e);_0x8a7ad9&&(_0x35d59c=_0x35d59c[_0x4e871e(0x26d)](/\\/g,''),_0x8a7ad9=!0x1),_0xc10b81(_0x4736a5,_0x42b31c,_0x35d59c),_0x393aed===0x2c&&(_0xc10b81(_0x20b01a,_0x57b79f,_0x4736a5),_0x4736a5=Object[_0x4e871e(0x119)](null),_0x57b79f=void 0x0),_0x42b31c=void 0x0,_0x21c47d=_0x24669e=-0x1;}else throw new SyntaxError(_0x4e871e(0x231)+_0x3a10ed);}}}}}}}if(_0x21c47d===-0x1||_0x19de6f||_0x393aed===0x20||_0x393aed===0x9)throw new SyntaxError(_0x4e871e(0x1a8));_0x24669e===-0x1&&(_0x24669e=_0x3a10ed);const _0x449fb8=_0x413c88[_0x4e871e(0x22f)](_0x21c47d,_0x24669e);return _0x57b79f===void 0x0?_0xc10b81(_0x20b01a,_0x449fb8,_0x4736a5):(_0x42b31c===void 0x0?_0xc10b81(_0x4736a5,_0x449fb8,!0x0):_0x8a7ad9?_0xc10b81(_0x4736a5,_0x42b31c,_0x449fb8[_0x4e871e(0x26d)](/\\/g,'')):_0xc10b81(_0x4736a5,_0x42b31c,_0x449fb8),_0xc10b81(_0x20b01a,_0x57b79f,_0x4736a5)),_0x20b01a;}function _0x409eac(_0x332aa0){const _0x450c21=_0x4113;return Object['keys'](_0x332aa0)[_0x450c21(0xeb)](_0x1cee42=>{const _0x1640cc=_0x450c21;let _0x1f5c81=_0x332aa0[_0x1cee42];return Array[_0x1640cc(0xef)](_0x1f5c81)||(_0x1f5c81=[_0x1f5c81]),_0x1f5c81[_0x1640cc(0xeb)](_0x51f4a4=>[_0x1cee42][_0x1640cc(0x103)](Object[_0x1640cc(0x16e)](_0x51f4a4)[_0x1640cc(0xeb)](_0x34c561=>{const _0x2b20d4=_0x1640cc;let _0x558179=_0x51f4a4[_0x34c561];return Array['isArray'](_0x558179)||(_0x558179=[_0x558179]),_0x558179[_0x2b20d4(0xeb)](_0x91c83c=>_0x91c83c===!0x0?_0x34c561:_0x34c561+'='+_0x91c83c)[_0x2b20d4(0x29c)](';\x20');}))[_0x1640cc(0x29c)](';\x20'))['join'](',\x20');})[_0x450c21(0x29c)](',\x20');}return be={'format':_0x409eac,'parse':_0x40ddcb},be;}var we,Je;function Pe(){const _0x346a8e=_0x22c973;if(Je)return we;Je=0x1;const _0x36f321=nt,_0x5510db=vt,_0x2d76ae=ot,_0x496dfb=St,_0x136764=Et,{randomBytes:_0x4556e1,createHash:_0x40300d}=Le,{Duplex:_0xea680d,Readable:_0x32a1c5}=oe,{URL:_0x2d0c34}=xt,_0x49fcb8=he(),_0x9ab32=lt(),_0xba497f=ft(),{isBlob:_0x722c4}=ae(),{BINARY_TYPES:_0x32aa5a,EMPTY_BUFFER:_0x26a849,GUID:_0x5b02f6,kForOnEventAttribute:_0x566857,kListener:_0x55db7f,kStatusCode:_0x5e5104,kWebSocket:_0x4f2552,NOOP:_0x32fc1e}=H(),{EventTarget:{addEventListener:_0x5a7386,removeEventListener:_0x643484}}=It(),{format:_0x42e806,parse:_0x6d3239}=ct(),{toBuffer:_0x4be92a}=ce(),_0x1a4ad1=0x1e*0x3e8,_0x11eedf=Symbol(_0x346a8e(0x203)),_0x494cc5=[0x8,0xd],_0x4041e5=[_0x346a8e(0x184),'OPEN',_0x346a8e(0x18c),_0x346a8e(0x211)],_0x40d44c=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2bae45 extends _0x36f321{constructor(_0x1ef89c,_0x24fadc,_0x310a64){const _0xe3b72e=_0x346a8e;super(),this['_binaryType']=_0x32aa5a[0x0],this[_0xe3b72e(0x1d9)]=0x3ee,this[_0xe3b72e(0x11c)]=!0x1,this[_0xe3b72e(0x146)]=!0x1,this[_0xe3b72e(0x272)]=_0x26a849,this['_closeTimer']=null,this['_errorEmitted']=!0x1,this[_0xe3b72e(0x202)]={},this[_0xe3b72e(0x108)]=!0x1,this[_0xe3b72e(0xed)]='',this['_readyState']=_0x2bae45[_0xe3b72e(0x184)],this[_0xe3b72e(0x175)]=null,this[_0xe3b72e(0x1b0)]=null,this[_0xe3b72e(0x1ef)]=null,_0x1ef89c!==null?(this[_0xe3b72e(0x248)]=0x0,this[_0xe3b72e(0x100)]=!0x1,this[_0xe3b72e(0x266)]=0x0,_0x24fadc===void 0x0?_0x24fadc=[]:Array[_0xe3b72e(0xef)](_0x24fadc)||(typeof _0x24fadc=='object'&&_0x24fadc!==null?(_0x310a64=_0x24fadc,_0x24fadc=[]):_0x24fadc=[_0x24fadc]),_0x177a0d(this,_0x1ef89c,_0x24fadc,_0x310a64)):(this[_0xe3b72e(0xdd)]=_0x310a64[_0xe3b72e(0x173)],this[_0xe3b72e(0x100)]=!0x0);}get[_0x346a8e(0x253)](){const _0x5a23cd=_0x346a8e;return this[_0x5a23cd(0xd5)];}set[_0x346a8e(0x253)](_0x491faf){const _0x562ca1=_0x346a8e;_0x32aa5a[_0x562ca1(0x11d)](_0x491faf)&&(this[_0x562ca1(0xd5)]=_0x491faf,this[_0x562ca1(0x175)]&&(this[_0x562ca1(0x175)][_0x562ca1(0xd5)]=_0x491faf));}get['bufferedAmount'](){const _0x4b1dd8=_0x346a8e;return this[_0x4b1dd8(0x1ef)]?this[_0x4b1dd8(0x1ef)][_0x4b1dd8(0x159)]['length']+this[_0x4b1dd8(0x1b0)][_0x4b1dd8(0x1e0)]:this['_bufferedAmount'];}get['extensions'](){const _0x664016=_0x346a8e;return Object['keys'](this['_extensions'])[_0x664016(0x29c)]();}get[_0x346a8e(0x1b1)](){const _0x426d97=_0x346a8e;return this[_0x426d97(0x108)];}get[_0x346a8e(0x229)](){return null;}get[_0x346a8e(0x209)](){return null;}get['onopen'](){return null;}get['onmessage'](){return null;}get[_0x346a8e(0x123)](){const _0x5b70db=_0x346a8e;return this[_0x5b70db(0xed)];}get[_0x346a8e(0x12a)](){return this['_readyState'];}get['url'](){const _0x37356b=_0x346a8e;return this[_0x37356b(0x141)];}[_0x346a8e(0x18f)](_0x20d21a,_0x3fc60b,_0x2a15da){const _0xa63525=_0x346a8e,_0x4617da=new _0x9ab32({'allowSynchronousEvents':_0x2a15da[_0xa63525(0x10e)],'binaryType':this[_0xa63525(0x253)],'extensions':this['_extensions'],'isServer':this[_0xa63525(0x100)],'maxPayload':_0x2a15da['maxPayload'],'skipUTF8Validation':_0x2a15da[_0xa63525(0x104)]}),_0x3bedb1=new _0xba497f(_0x20d21a,this['_extensions'],_0x2a15da[_0xa63525(0xe4)]);this[_0xa63525(0x175)]=_0x4617da,this[_0xa63525(0x1b0)]=_0x3bedb1,this[_0xa63525(0x1ef)]=_0x20d21a,_0x4617da[_0x4f2552]=this,_0x3bedb1[_0x4f2552]=this,_0x20d21a[_0x4f2552]=this,_0x4617da['on'](_0xa63525(0x168),_0x59f1da),_0x4617da['on'](_0xa63525(0x218),_0x243222),_0x4617da['on'](_0xa63525(0x1f0),_0x4bffca),_0x4617da['on'](_0xa63525(0x1de),_0xc57b5a),_0x4617da['on']('ping',_0x3e8332),_0x4617da['on'](_0xa63525(0xe1),_0x56995d),_0x3bedb1['onerror']=_0x57ca50,_0x20d21a['setTimeout']&&_0x20d21a[_0xa63525(0x226)](0x0),_0x20d21a[_0xa63525(0x192)]&&_0x20d21a[_0xa63525(0x192)](),_0x3fc60b['length']>0x0&&_0x20d21a['unshift'](_0x3fc60b),_0x20d21a['on']('close',_0x438688),_0x20d21a['on'](_0xa63525(0x1d1),_0x574a23),_0x20d21a['on'](_0xa63525(0x21b),_0x52f328),_0x20d21a['on'](_0xa63525(0x1f0),_0x5ab3fb),this[_0xa63525(0x1b2)]=_0x2bae45[_0xa63525(0x1fd)],this[_0xa63525(0x261)](_0xa63525(0x12c));}[_0x346a8e(0x1c3)](){const _0x4c005b=_0x346a8e;if(!this[_0x4c005b(0x1ef)]){this[_0x4c005b(0x1b2)]=_0x2bae45['CLOSED'],this[_0x4c005b(0x261)](_0x4c005b(0x19d),this[_0x4c005b(0x1d9)],this[_0x4c005b(0x272)]);return;}this['_extensions'][_0x49fcb8[_0x4c005b(0x210)]]&&this[_0x4c005b(0x202)][_0x49fcb8[_0x4c005b(0x210)]][_0x4c005b(0x25d)](),this[_0x4c005b(0x175)]['removeAllListeners'](),this[_0x4c005b(0x1b2)]=_0x2bae45[_0x4c005b(0x211)],this[_0x4c005b(0x261)](_0x4c005b(0x19d),this[_0x4c005b(0x1d9)],this[_0x4c005b(0x272)]);}['close'](_0x121f39,_0x5b2284){const _0x2e0cbe=_0x346a8e;if(this[_0x2e0cbe(0x12a)]!==_0x2bae45[_0x2e0cbe(0x211)]){if(this[_0x2e0cbe(0x12a)]===_0x2bae45[_0x2e0cbe(0x184)]){_0x18ca30(this,this['_req'],_0x2e0cbe(0x181));return;}if(this[_0x2e0cbe(0x12a)]===_0x2bae45[_0x2e0cbe(0x18c)]){this[_0x2e0cbe(0x146)]&&(this[_0x2e0cbe(0x11c)]||this['_receiver'][_0x2e0cbe(0x159)][_0x2e0cbe(0x292)])&&this[_0x2e0cbe(0x1ef)][_0x2e0cbe(0x21b)]();return;}this[_0x2e0cbe(0x1b2)]=_0x2bae45['CLOSING'],this['_sender'][_0x2e0cbe(0x19d)](_0x121f39,_0x5b2284,!this[_0x2e0cbe(0x100)],_0x117778=>{const _0x352ede=_0x2e0cbe;_0x117778||(this[_0x352ede(0x146)]=!0x0,(this['_closeFrameReceived']||this[_0x352ede(0x175)]['_writableState'][_0x352ede(0x292)])&&this['_socket'][_0x352ede(0x21b)]());}),_0x13ddf1(this);}}[_0x346a8e(0xde)](){const _0x13858b=_0x346a8e;this[_0x13858b(0x12a)]===_0x2bae45['CONNECTING']||this['readyState']===_0x2bae45[_0x13858b(0x211)]||(this['_paused']=!0x0,this[_0x13858b(0x1ef)][_0x13858b(0xde)]());}[_0x346a8e(0x1c6)](_0x4c46b8,_0x8b9a1d,_0x16eeeb){const _0x31c74d=_0x346a8e;if(this[_0x31c74d(0x12a)]===_0x2bae45[_0x31c74d(0x184)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x4c46b8=='function'?(_0x16eeeb=_0x4c46b8,_0x4c46b8=_0x8b9a1d=void 0x0):typeof _0x8b9a1d==_0x31c74d(0x259)&&(_0x16eeeb=_0x8b9a1d,_0x8b9a1d=void 0x0),typeof _0x4c46b8==_0x31c74d(0x15a)&&(_0x4c46b8=_0x4c46b8[_0x31c74d(0x22d)]()),this['readyState']!==_0x2bae45[_0x31c74d(0x1fd)]){_0x59dfff(this,_0x4c46b8,_0x16eeeb);return;}_0x8b9a1d===void 0x0&&(_0x8b9a1d=!this[_0x31c74d(0x100)]),this[_0x31c74d(0x1b0)][_0x31c74d(0x1c6)](_0x4c46b8||_0x26a849,_0x8b9a1d,_0x16eeeb);}['pong'](_0x4e3f31,_0x466f2e,_0x259ca8){const _0x4f8f3b=_0x346a8e;if(this['readyState']===_0x2bae45[_0x4f8f3b(0x184)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x4e3f31=='function'?(_0x259ca8=_0x4e3f31,_0x4e3f31=_0x466f2e=void 0x0):typeof _0x466f2e==_0x4f8f3b(0x259)&&(_0x259ca8=_0x466f2e,_0x466f2e=void 0x0),typeof _0x4e3f31=='number'&&(_0x4e3f31=_0x4e3f31['toString']()),this['readyState']!==_0x2bae45[_0x4f8f3b(0x1fd)]){_0x59dfff(this,_0x4e3f31,_0x259ca8);return;}_0x466f2e===void 0x0&&(_0x466f2e=!this['_isServer']),this[_0x4f8f3b(0x1b0)][_0x4f8f3b(0xe1)](_0x4e3f31||_0x26a849,_0x466f2e,_0x259ca8);}[_0x346a8e(0x286)](){const _0x544956=_0x346a8e;this['readyState']===_0x2bae45['CONNECTING']||this['readyState']===_0x2bae45[_0x544956(0x211)]||(this[_0x544956(0x108)]=!0x1,this['_receiver']['_writableState'][_0x544956(0x293)]||this[_0x544956(0x1ef)][_0x544956(0x286)]());}[_0x346a8e(0x1a2)](_0x5c0697,_0x33e2ac,_0x2219ee){const _0x76d77f=_0x346a8e;if(this[_0x76d77f(0x12a)]===_0x2bae45[_0x76d77f(0x184)])throw new Error(_0x76d77f(0x233));if(typeof _0x33e2ac==_0x76d77f(0x259)&&(_0x2219ee=_0x33e2ac,_0x33e2ac={}),typeof _0x5c0697==_0x76d77f(0x15a)&&(_0x5c0697=_0x5c0697[_0x76d77f(0x22d)]()),this[_0x76d77f(0x12a)]!==_0x2bae45['OPEN']){_0x59dfff(this,_0x5c0697,_0x2219ee);return;}const _0x5955ed={'binary':typeof _0x5c0697!=_0x76d77f(0xe6),'mask':!this[_0x76d77f(0x100)],'compress':!0x0,'fin':!0x0,..._0x33e2ac};this[_0x76d77f(0x202)][_0x49fcb8[_0x76d77f(0x210)]]||(_0x5955ed['compress']=!0x1),this['_sender'][_0x76d77f(0x1a2)](_0x5c0697||_0x26a849,_0x5955ed,_0x2219ee);}[_0x346a8e(0x282)](){const _0x2e9adc=_0x346a8e;if(this[_0x2e9adc(0x12a)]!==_0x2bae45['CLOSED']){if(this['readyState']===_0x2bae45[_0x2e9adc(0x184)]){_0x18ca30(this,this[_0x2e9adc(0x252)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x2e9adc(0x1ef)]&&(this[_0x2e9adc(0x1b2)]=_0x2bae45[_0x2e9adc(0x18c)],this[_0x2e9adc(0x1ef)]['destroy']());}}}Object[_0x346a8e(0x276)](_0x2bae45,_0x346a8e(0x184),{'enumerable':!0x0,'value':_0x4041e5[_0x346a8e(0x135)](_0x346a8e(0x184))}),Object[_0x346a8e(0x276)](_0x2bae45[_0x346a8e(0xf8)],_0x346a8e(0x184),{'enumerable':!0x0,'value':_0x4041e5[_0x346a8e(0x135)](_0x346a8e(0x184))}),Object['defineProperty'](_0x2bae45,_0x346a8e(0x1fd),{'enumerable':!0x0,'value':_0x4041e5['indexOf']('OPEN')}),Object[_0x346a8e(0x276)](_0x2bae45['prototype'],_0x346a8e(0x1fd),{'enumerable':!0x0,'value':_0x4041e5[_0x346a8e(0x135)](_0x346a8e(0x1fd))}),Object[_0x346a8e(0x276)](_0x2bae45,_0x346a8e(0x18c),{'enumerable':!0x0,'value':_0x4041e5[_0x346a8e(0x135)]('CLOSING')}),Object['defineProperty'](_0x2bae45[_0x346a8e(0xf8)],'CLOSING',{'enumerable':!0x0,'value':_0x4041e5['indexOf'](_0x346a8e(0x18c))}),Object[_0x346a8e(0x276)](_0x2bae45,_0x346a8e(0x211),{'enumerable':!0x0,'value':_0x4041e5[_0x346a8e(0x135)](_0x346a8e(0x211))}),Object[_0x346a8e(0x276)](_0x2bae45[_0x346a8e(0xf8)],_0x346a8e(0x211),{'enumerable':!0x0,'value':_0x4041e5['indexOf'](_0x346a8e(0x211))}),[_0x346a8e(0x253),'bufferedAmount',_0x346a8e(0x295),_0x346a8e(0x1b1),_0x346a8e(0x123),'readyState',_0x346a8e(0x225)][_0x346a8e(0x1ad)](_0x17aa71=>{const _0xf98170=_0x346a8e;Object[_0xf98170(0x276)](_0x2bae45[_0xf98170(0xf8)],_0x17aa71,{'enumerable':!0x0});}),[_0x346a8e(0x12c),_0x346a8e(0x1f0),'close',_0x346a8e(0x1de)][_0x346a8e(0x1ad)](_0x1e64ed=>{Object['defineProperty'](_0x2bae45['prototype'],'on'+_0x1e64ed,{'enumerable':!0x0,'get'(){const _0x1f1c3c=_0x4113;for(const _0x59700a of this[_0x1f1c3c(0x1f6)](_0x1e64ed))if(_0x59700a[_0x566857])return _0x59700a[_0x55db7f];return null;},'set'(_0x4e5c24){const _0x26a7ee=_0x4113;for(const _0x309807 of this[_0x26a7ee(0x1f6)](_0x1e64ed))if(_0x309807[_0x566857]){this[_0x26a7ee(0x201)](_0x1e64ed,_0x309807);break;}typeof _0x4e5c24=='function'&&this['addEventListener'](_0x1e64ed,_0x4e5c24,{[_0x566857]:!0x0});}});}),_0x2bae45[_0x346a8e(0xf8)][_0x346a8e(0xe8)]=_0x5a7386,_0x2bae45[_0x346a8e(0xf8)][_0x346a8e(0x1f5)]=_0x643484,we=_0x2bae45;function _0x177a0d(_0x4051f6,_0x34e5a0,_0x1a9fda,_0x3dea5d){const _0x504bbd=_0x346a8e,_0xab9707={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x494cc5[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3dea5d,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x504bbd(0x1e9),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4051f6['_autoPong']=_0xab9707[_0x504bbd(0x173)],!_0x494cc5[_0x504bbd(0x11d)](_0xab9707[_0x504bbd(0x165)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0xab9707['protocolVersion']+_0x504bbd(0x263)+_0x494cc5[_0x504bbd(0x29c)](',\x20')+')');let _0x4d10a6;if(_0x34e5a0 instanceof _0x2d0c34)_0x4d10a6=_0x34e5a0;else try{_0x4d10a6=new _0x2d0c34(_0x34e5a0);}catch{throw new SyntaxError(_0x504bbd(0xdb)+_0x34e5a0);}_0x4d10a6[_0x504bbd(0x123)]==='http:'?_0x4d10a6[_0x504bbd(0x123)]=_0x504bbd(0x183):_0x4d10a6[_0x504bbd(0x123)]===_0x504bbd(0x19c)&&(_0x4d10a6[_0x504bbd(0x123)]='wss:'),_0x4051f6[_0x504bbd(0x141)]=_0x4d10a6[_0x504bbd(0xfe)];const _0x4b1771=_0x4d10a6[_0x504bbd(0x123)]===_0x504bbd(0x161),_0x1a4c5a=_0x4d10a6[_0x504bbd(0x123)]===_0x504bbd(0x1ac);let _0x3a776a;if(_0x4d10a6[_0x504bbd(0x123)]!==_0x504bbd(0x183)&&!_0x4b1771&&!_0x1a4c5a?_0x3a776a=_0x504bbd(0x26a):_0x1a4c5a&&!_0x4d10a6[_0x504bbd(0x13e)]?_0x3a776a=_0x504bbd(0x29d):_0x4d10a6[_0x504bbd(0x1c9)]&&(_0x3a776a='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x3a776a){const _0x474d72=new SyntaxError(_0x3a776a);if(_0x4051f6[_0x504bbd(0x266)]===0x0)throw _0x474d72;_0xe8e4a0(_0x4051f6,_0x474d72);return;}const _0x5c3cc7=_0x4b1771?0x1bb:0x50,_0x1a9bf3=_0x4556e1(0x10)['toString'](_0x504bbd(0x290)),_0x2bd3bf=_0x4b1771?_0x5510db[_0x504bbd(0x153)]:_0x2d76ae[_0x504bbd(0x153)],_0x81d978=new Set();let _0x52d8e0;if(_0xab9707[_0x504bbd(0x219)]=_0xab9707['createConnection']||(_0x4b1771?_0x538679:_0x5a2d28),_0xab9707[_0x504bbd(0x1cf)]=_0xab9707[_0x504bbd(0x1cf)]||_0x5c3cc7,_0xab9707[_0x504bbd(0x243)]=_0x4d10a6[_0x504bbd(0x243)]||_0x5c3cc7,_0xab9707[_0x504bbd(0x1b8)]=_0x4d10a6[_0x504bbd(0x1fc)][_0x504bbd(0x13b)]('[')?_0x4d10a6[_0x504bbd(0x1fc)][_0x504bbd(0x22f)](0x1,-0x1):_0x4d10a6[_0x504bbd(0x1fc)],_0xab9707[_0x504bbd(0x279)]={..._0xab9707[_0x504bbd(0x279)],'Sec-WebSocket-Version':_0xab9707['protocolVersion'],'Sec-WebSocket-Key':_0x1a9bf3,'Connection':'Upgrade','Upgrade':_0x504bbd(0x223)},_0xab9707[_0x504bbd(0x224)]=_0x4d10a6['pathname']+_0x4d10a6[_0x504bbd(0x1db)],_0xab9707[_0x504bbd(0x1c2)]=_0xab9707[_0x504bbd(0x14f)],_0xab9707[_0x504bbd(0x145)]&&(_0x52d8e0=new _0x49fcb8(_0xab9707[_0x504bbd(0x145)]!==!0x0?_0xab9707[_0x504bbd(0x145)]:{},!0x1,_0xab9707['maxPayload']),_0xab9707['headers'][_0x504bbd(0x142)]=_0x42e806({[_0x49fcb8[_0x504bbd(0x210)]]:_0x52d8e0[_0x504bbd(0x1df)]()})),_0x1a9fda['length']){for(const _0x58b990 of _0x1a9fda){if(typeof _0x58b990!='string'||!_0x40d44c['test'](_0x58b990)||_0x81d978['has'](_0x58b990))throw new SyntaxError(_0x504bbd(0x19b));_0x81d978[_0x504bbd(0x1f7)](_0x58b990);}_0xab9707[_0x504bbd(0x279)]['Sec-WebSocket-Protocol']=_0x1a9fda[_0x504bbd(0x29c)](',');}if(_0xab9707[_0x504bbd(0x19e)]&&(_0xab9707[_0x504bbd(0x165)]<0xd?_0xab9707[_0x504bbd(0x279)]['Sec-WebSocket-Origin']=_0xab9707['origin']:_0xab9707['headers']['Origin']=_0xab9707['origin']),(_0x4d10a6[_0x504bbd(0x1d3)]||_0x4d10a6[_0x504bbd(0x23a)])&&(_0xab9707['auth']=_0x4d10a6[_0x504bbd(0x1d3)]+':'+_0x4d10a6[_0x504bbd(0x23a)]),_0x1a4c5a){const _0x1cdfe3=_0xab9707[_0x504bbd(0x224)][_0x504bbd(0x18b)](':');_0xab9707[_0x504bbd(0x234)]=_0x1cdfe3[0x0],_0xab9707[_0x504bbd(0x224)]=_0x1cdfe3[0x1];}let _0x462ed0;if(_0xab9707[_0x504bbd(0x182)]){if(_0x4051f6[_0x504bbd(0x266)]===0x0){_0x4051f6[_0x504bbd(0x284)]=_0x1a4c5a,_0x4051f6[_0x504bbd(0x155)]=_0x4b1771,_0x4051f6[_0x504bbd(0x24a)]=_0x1a4c5a?_0xab9707[_0x504bbd(0x234)]:_0x4d10a6[_0x504bbd(0x1b8)];const _0x20a2dd=_0x3dea5d&&_0x3dea5d[_0x504bbd(0x279)];if(_0x3dea5d={..._0x3dea5d,'headers':{}},_0x20a2dd){for(const [_0x107c96,_0x550ff0]of Object[_0x504bbd(0x296)](_0x20a2dd))_0x3dea5d['headers'][_0x107c96[_0x504bbd(0x11a)]()]=_0x550ff0;}}else{if(_0x4051f6['listenerCount'](_0x504bbd(0xe5))===0x0){const _0x18532e=_0x1a4c5a?_0x4051f6['_originalIpc']?_0xab9707[_0x504bbd(0x234)]===_0x4051f6[_0x504bbd(0x24a)]:!0x1:_0x4051f6[_0x504bbd(0x284)]?!0x1:_0x4d10a6['host']===_0x4051f6[_0x504bbd(0x24a)];(!_0x18532e||_0x4051f6[_0x504bbd(0x155)]&&!_0x4b1771)&&(delete _0xab9707[_0x504bbd(0x279)][_0x504bbd(0x174)],delete _0xab9707['headers'][_0x504bbd(0x25c)],_0x18532e||delete _0xab9707[_0x504bbd(0x279)][_0x504bbd(0x1b8)],_0xab9707['auth']=void 0x0);}}_0xab9707[_0x504bbd(0x228)]&&!_0x3dea5d[_0x504bbd(0x279)]['authorization']&&(_0x3dea5d[_0x504bbd(0x279)][_0x504bbd(0x174)]=_0x504bbd(0x116)+Buffer[_0x504bbd(0x222)](_0xab9707[_0x504bbd(0x228)])[_0x504bbd(0x22d)](_0x504bbd(0x290))),_0x462ed0=_0x4051f6[_0x504bbd(0x252)]=_0x2bd3bf(_0xab9707),_0x4051f6[_0x504bbd(0x266)]&&_0x4051f6[_0x504bbd(0x261)]('redirect',_0x4051f6['url'],_0x462ed0);}else _0x462ed0=_0x4051f6[_0x504bbd(0x252)]=_0x2bd3bf(_0xab9707);_0xab9707[_0x504bbd(0x1c2)]&&_0x462ed0['on'](_0x504bbd(0x1c2),()=>{_0x18ca30(_0x4051f6,_0x462ed0,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x462ed0['on'](_0x504bbd(0x1f0),_0x399a1e=>{const _0x32b75d=_0x504bbd;_0x462ed0===null||_0x462ed0[_0x11eedf]||(_0x462ed0=_0x4051f6[_0x32b75d(0x252)]=null,_0xe8e4a0(_0x4051f6,_0x399a1e));}),_0x462ed0['on'](_0x504bbd(0x285),_0x311941=>{const _0x17e91c=_0x504bbd,_0xb66078=_0x311941[_0x17e91c(0x279)][_0x17e91c(0xd0)],_0x1e03a2=_0x311941[_0x17e91c(0x27c)];if(_0xb66078&&_0xab9707[_0x17e91c(0x182)]&&_0x1e03a2>=0x12c&&_0x1e03a2<0x190){if(++_0x4051f6[_0x17e91c(0x266)]>_0xab9707[_0x17e91c(0x132)]){_0x18ca30(_0x4051f6,_0x462ed0,_0x17e91c(0x194));return;}_0x462ed0[_0x17e91c(0x1f3)]();let _0x2668a7;try{_0x2668a7=new _0x2d0c34(_0xb66078,_0x34e5a0);}catch{const _0x3cc2cf=new SyntaxError(_0x17e91c(0xdb)+_0xb66078);_0xe8e4a0(_0x4051f6,_0x3cc2cf);return;}_0x177a0d(_0x4051f6,_0x2668a7,_0x1a9fda,_0x3dea5d);}else _0x4051f6[_0x17e91c(0x261)](_0x17e91c(0x157),_0x462ed0,_0x311941)||_0x18ca30(_0x4051f6,_0x462ed0,_0x17e91c(0x12b)+_0x311941[_0x17e91c(0x27c)]);}),_0x462ed0['on']('upgrade',(_0x769cd4,_0x53d611,_0x38128f)=>{const _0x212595=_0x504bbd;if(_0x4051f6[_0x212595(0x261)](_0x212595(0x23d),_0x769cd4),_0x4051f6[_0x212595(0x12a)]!==_0x2bae45[_0x212595(0x184)])return;_0x462ed0=_0x4051f6[_0x212595(0x252)]=null;const _0x16ec50=_0x769cd4[_0x212595(0x279)][_0x212595(0x23d)];if(_0x16ec50===void 0x0||_0x16ec50['toLowerCase']()!==_0x212595(0x223)){_0x18ca30(_0x4051f6,_0x53d611,_0x212595(0xe2));return;}const _0x2f23fd=_0x40300d(_0x212595(0xd4))[_0x212595(0x1bc)](_0x1a9bf3+_0x5b02f6)[_0x212595(0x1e2)]('base64');if(_0x769cd4[_0x212595(0x279)]['sec-websocket-accept']!==_0x2f23fd){_0x18ca30(_0x4051f6,_0x53d611,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x3705cc=_0x769cd4[_0x212595(0x279)][_0x212595(0x26f)];let _0x2c4806;if(_0x3705cc!==void 0x0?_0x81d978[_0x212595(0x105)]?_0x81d978[_0x212595(0xf9)](_0x3705cc)||(_0x2c4806=_0x212595(0x1cd)):_0x2c4806=_0x212595(0x122):_0x81d978[_0x212595(0x105)]&&(_0x2c4806='Server\x20sent\x20no\x20subprotocol'),_0x2c4806){_0x18ca30(_0x4051f6,_0x53d611,_0x2c4806);return;}_0x3705cc&&(_0x4051f6['_protocol']=_0x3705cc);const _0x50eadc=_0x769cd4[_0x212595(0x279)][_0x212595(0x1bb)];if(_0x50eadc!==void 0x0){if(!_0x52d8e0){_0x18ca30(_0x4051f6,_0x53d611,_0x212595(0x144));return;}let _0x274a73;try{_0x274a73=_0x6d3239(_0x50eadc);}catch{_0x18ca30(_0x4051f6,_0x53d611,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x266c02=Object['keys'](_0x274a73);if(_0x266c02[_0x212595(0x13f)]!==0x1||_0x266c02[0x0]!==_0x49fcb8[_0x212595(0x210)]){_0x18ca30(_0x4051f6,_0x53d611,_0x212595(0x18a));return;}try{_0x52d8e0[_0x212595(0x297)](_0x274a73[_0x49fcb8['extensionName']]);}catch{_0x18ca30(_0x4051f6,_0x53d611,_0x212595(0x241));return;}_0x4051f6[_0x212595(0x202)][_0x49fcb8[_0x212595(0x210)]]=_0x52d8e0;}_0x4051f6[_0x212595(0x18f)](_0x53d611,_0x38128f,{'allowSynchronousEvents':_0xab9707[_0x212595(0x10e)],'generateMask':_0xab9707['generateMask'],'maxPayload':_0xab9707['maxPayload'],'skipUTF8Validation':_0xab9707[_0x212595(0x104)]});}),_0xab9707[_0x504bbd(0x23e)]?_0xab9707['finishRequest'](_0x462ed0,_0x4051f6):_0x462ed0[_0x504bbd(0x21b)]();}function _0xe8e4a0(_0x4263b5,_0x1dae3c){const _0x3181fa=_0x346a8e;_0x4263b5[_0x3181fa(0x1b2)]=_0x2bae45[_0x3181fa(0x18c)],_0x4263b5['_errorEmitted']=!0x0,_0x4263b5[_0x3181fa(0x261)](_0x3181fa(0x1f0),_0x1dae3c),_0x4263b5[_0x3181fa(0x1c3)]();}function _0x5a2d28(_0x2c7d0f){const _0x198225=_0x346a8e;return _0x2c7d0f[_0x198225(0x224)]=_0x2c7d0f['socketPath'],_0x496dfb[_0x198225(0x15c)](_0x2c7d0f);}function _0x538679(_0x3b56bc){const _0x5c0718=_0x346a8e;return _0x3b56bc[_0x5c0718(0x224)]=void 0x0,!_0x3b56bc[_0x5c0718(0x256)]&&_0x3b56bc[_0x5c0718(0x256)]!==''&&(_0x3b56bc['servername']=_0x496dfb['isIP'](_0x3b56bc[_0x5c0718(0x1b8)])?'':_0x3b56bc[_0x5c0718(0x1b8)]),_0x136764['connect'](_0x3b56bc);}function _0x18ca30(_0x2369d4,_0x1b831e,_0x1a53a2){const _0x207094=_0x346a8e;_0x2369d4[_0x207094(0x1b2)]=_0x2bae45[_0x207094(0x18c)];const _0x91e2bf=new Error(_0x1a53a2);Error[_0x207094(0x265)](_0x91e2bf,_0x18ca30),_0x1b831e[_0x207094(0x117)]?(_0x1b831e[_0x11eedf]=!0x0,_0x1b831e[_0x207094(0x1f3)](),_0x1b831e['socket']&&!_0x1b831e[_0x207094(0x160)][_0x207094(0xfc)]&&_0x1b831e['socket'][_0x207094(0x264)](),process['nextTick'](_0xe8e4a0,_0x2369d4,_0x91e2bf)):(_0x1b831e['destroy'](_0x91e2bf),_0x1b831e[_0x207094(0x1be)](_0x207094(0x1f0),_0x2369d4[_0x207094(0x261)][_0x207094(0x271)](_0x2369d4,_0x207094(0x1f0))),_0x1b831e['once'](_0x207094(0x19d),_0x2369d4[_0x207094(0x1c3)][_0x207094(0x271)](_0x2369d4)));}function _0x59dfff(_0x399057,_0xd7b5de,_0x3fe851){const _0x1d2952=_0x346a8e;if(_0xd7b5de){const _0x46b98d=_0x722c4(_0xd7b5de)?_0xd7b5de[_0x1d2952(0x105)]:_0x4be92a(_0xd7b5de)[_0x1d2952(0x13f)];_0x399057[_0x1d2952(0x1ef)]?_0x399057[_0x1d2952(0x1b0)][_0x1d2952(0x1e0)]+=_0x46b98d:_0x399057['_bufferedAmount']+=_0x46b98d;}if(_0x3fe851){const _0x2bf4a4=new Error(_0x1d2952(0x14b)+_0x399057[_0x1d2952(0x12a)]+'\x20('+_0x4041e5[_0x399057[_0x1d2952(0x12a)]]+')');process[_0x1d2952(0x1fb)](_0x3fe851,_0x2bf4a4);}}function _0x59f1da(_0x517650,_0x4e7ec3){const _0x80cbe2=_0x346a8e,_0x3a6581=this[_0x4f2552];_0x3a6581[_0x80cbe2(0x11c)]=!0x0,_0x3a6581['_closeMessage']=_0x4e7ec3,_0x3a6581[_0x80cbe2(0x1d9)]=_0x517650,_0x3a6581['_socket'][_0x4f2552]!==void 0x0&&(_0x3a6581[_0x80cbe2(0x1ef)][_0x80cbe2(0x201)](_0x80cbe2(0x1d1),_0x574a23),process[_0x80cbe2(0x1fb)](_0x584897,_0x3a6581['_socket']),_0x517650===0x3ed?_0x3a6581['close']():_0x3a6581[_0x80cbe2(0x19d)](_0x517650,_0x4e7ec3));}function _0x243222(){const _0x1504ed=_0x346a8e,_0x5c2bcb=this[_0x4f2552];_0x5c2bcb[_0x1504ed(0x1b1)]||_0x5c2bcb[_0x1504ed(0x1ef)]['resume']();}function _0x4bffca(_0x3acef3){const _0x5e54a9=_0x346a8e,_0xc4041=this[_0x4f2552];_0xc4041[_0x5e54a9(0x1ef)][_0x4f2552]!==void 0x0&&(_0xc4041[_0x5e54a9(0x1ef)][_0x5e54a9(0x201)](_0x5e54a9(0x1d1),_0x574a23),process[_0x5e54a9(0x1fb)](_0x584897,_0xc4041[_0x5e54a9(0x1ef)]),_0xc4041[_0x5e54a9(0x19d)](_0x3acef3[_0x5e5104])),_0xc4041['_errorEmitted']||(_0xc4041[_0x5e54a9(0x235)]=!0x0,_0xc4041[_0x5e54a9(0x261)](_0x5e54a9(0x1f0),_0x3acef3));}function _0x50f5dd(){const _0x27f6af=_0x346a8e;this[_0x4f2552][_0x27f6af(0x1c3)]();}function _0xc57b5a(_0x38621b,_0x46fcc1){const _0x2de137=_0x346a8e;this[_0x4f2552][_0x2de137(0x261)]('message',_0x38621b,_0x46fcc1);}function _0x3e8332(_0x44646c){const _0x5b8cf2=_0x346a8e,_0x38e703=this[_0x4f2552];_0x38e703[_0x5b8cf2(0xdd)]&&_0x38e703['pong'](_0x44646c,!this[_0x5b8cf2(0x100)],_0x32fc1e),_0x38e703['emit']('ping',_0x44646c);}function _0x56995d(_0xc3ae12){const _0x37e054=_0x346a8e;this[_0x4f2552]['emit'](_0x37e054(0xe1),_0xc3ae12);}function _0x584897(_0x5a36ea){const _0x2de751=_0x346a8e;_0x5a36ea[_0x2de751(0x286)]();}function _0x57ca50(_0x125008){const _0x4e8399=_0x346a8e,_0x46744d=this[_0x4f2552];_0x46744d['readyState']!==_0x2bae45['CLOSED']&&(_0x46744d[_0x4e8399(0x12a)]===_0x2bae45[_0x4e8399(0x1fd)]&&(_0x46744d[_0x4e8399(0x1b2)]=_0x2bae45[_0x4e8399(0x18c)],_0x13ddf1(_0x46744d)),this[_0x4e8399(0x1ef)][_0x4e8399(0x21b)](),_0x46744d['_errorEmitted']||(_0x46744d[_0x4e8399(0x235)]=!0x0,_0x46744d['emit'](_0x4e8399(0x1f0),_0x125008)));}function _0x13ddf1(_0x4b0321){const _0x492aa0=_0x346a8e;_0x4b0321[_0x492aa0(0x1a7)]=setTimeout(_0x4b0321[_0x492aa0(0x1ef)]['destroy']['bind'](_0x4b0321['_socket']),_0x1a4ad1);}function _0x438688(){const _0x56c88d=_0x346a8e,_0xe4ae4b=this[_0x4f2552];this[_0x56c88d(0x201)](_0x56c88d(0x19d),_0x438688),this[_0x56c88d(0x201)]('data',_0x574a23),this[_0x56c88d(0x201)](_0x56c88d(0x21b),_0x52f328),_0xe4ae4b[_0x56c88d(0x1b2)]=_0x2bae45[_0x56c88d(0x18c)];let _0x2dbed5;!this[_0x56c88d(0x21e)][_0x56c88d(0x214)]&&!_0xe4ae4b[_0x56c88d(0x11c)]&&!_0xe4ae4b['_receiver'][_0x56c88d(0x159)][_0x56c88d(0x292)]&&(_0x2dbed5=_0xe4ae4b[_0x56c88d(0x1ef)]['read']())!==null&&_0xe4ae4b[_0x56c88d(0x175)][_0x56c88d(0x22b)](_0x2dbed5),_0xe4ae4b[_0x56c88d(0x175)]['end'](),this[_0x4f2552]=void 0x0,clearTimeout(_0xe4ae4b[_0x56c88d(0x1a7)]),_0xe4ae4b['_receiver']['_writableState'][_0x56c88d(0x20b)]||_0xe4ae4b[_0x56c88d(0x175)][_0x56c88d(0x159)][_0x56c88d(0x292)]?_0xe4ae4b['emitClose']():(_0xe4ae4b[_0x56c88d(0x175)]['on'](_0x56c88d(0x1f0),_0x50f5dd),_0xe4ae4b[_0x56c88d(0x175)]['on']('finish',_0x50f5dd));}function _0x574a23(_0x15ca4f){const _0xcec9e5=_0x346a8e;this[_0x4f2552]['_receiver'][_0xcec9e5(0x22b)](_0x15ca4f)||this[_0xcec9e5(0xde)]();}function _0x52f328(){const _0x5e658d=_0x346a8e,_0x58a1ff=this[_0x4f2552];_0x58a1ff[_0x5e658d(0x1b2)]=_0x2bae45[_0x5e658d(0x18c)],_0x58a1ff[_0x5e658d(0x175)][_0x5e658d(0x21b)](),this[_0x5e658d(0x21b)]();}function _0x5ab3fb(){const _0x669804=_0x346a8e,_0x1fa592=this[_0x4f2552];this[_0x669804(0x201)](_0x669804(0x1f0),_0x5ab3fb),this['on'](_0x669804(0x1f0),_0x32fc1e),_0x1fa592&&(_0x1fa592[_0x669804(0x1b2)]=_0x2bae45[_0x669804(0x18c)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x212682}=oe;function _0x377b27(_0x1555f3){const _0x24553b=_0x4113;_0x1555f3[_0x24553b(0x261)](_0x24553b(0x19d));}function _0x17377e(){const _0x79c3a9=_0x4113;!this[_0x79c3a9(0xfc)]&&this[_0x79c3a9(0x159)][_0x79c3a9(0x20b)]&&this[_0x79c3a9(0x264)]();}function _0x482983(_0x2968d8){const _0x29c5b3=_0x4113;this[_0x29c5b3(0x201)](_0x29c5b3(0x1f0),_0x482983),this[_0x29c5b3(0x264)](),this[_0x29c5b3(0x289)](_0x29c5b3(0x1f0))===0x0&&this[_0x29c5b3(0x261)](_0x29c5b3(0x1f0),_0x2968d8);}function _0x3b476d(_0xb0cc75,_0x8d20cb){const _0x53dcc0=_0x4113;let _0x388dc8=!0x0;const _0xa5e9a1=new _0x212682({..._0x8d20cb,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xb0cc75['on'](_0x53dcc0(0x1de),function(_0x50d5f0,_0x4631cb){const _0x407931=_0x53dcc0,_0x5e5743=!_0x4631cb&&_0xa5e9a1['_readableState'][_0x407931(0x221)]?_0x50d5f0['toString']():_0x50d5f0;_0xa5e9a1[_0x407931(0x24e)](_0x5e5743)||_0xb0cc75[_0x407931(0xde)]();}),_0xb0cc75[_0x53dcc0(0x1be)](_0x53dcc0(0x1f0),function(_0x2c7aed){const _0x3bae5a=_0x53dcc0;_0xa5e9a1[_0x3bae5a(0xfc)]||(_0x388dc8=!0x1,_0xa5e9a1[_0x3bae5a(0x264)](_0x2c7aed));}),_0xb0cc75[_0x53dcc0(0x1be)]('close',function(){const _0x447e21=_0x53dcc0;_0xa5e9a1[_0x447e21(0xfc)]||_0xa5e9a1[_0x447e21(0x24e)](null);}),_0xa5e9a1[_0x53dcc0(0xdc)]=function(_0x55cf5f,_0x3d7d2d){const _0xa65b4a=_0x53dcc0;if(_0xb0cc75[_0xa65b4a(0x12a)]===_0xb0cc75[_0xa65b4a(0x211)]){_0x3d7d2d(_0x55cf5f),process[_0xa65b4a(0x1fb)](_0x377b27,_0xa5e9a1);return;}let _0x40a5ec=!0x1;_0xb0cc75[_0xa65b4a(0x1be)](_0xa65b4a(0x1f0),function(_0x427523){_0x40a5ec=!0x0,_0x3d7d2d(_0x427523);}),_0xb0cc75[_0xa65b4a(0x1be)](_0xa65b4a(0x19d),function(){const _0x568f0a=_0xa65b4a;_0x40a5ec||_0x3d7d2d(_0x55cf5f),process[_0x568f0a(0x1fb)](_0x377b27,_0xa5e9a1);}),_0x388dc8&&_0xb0cc75[_0xa65b4a(0x282)]();},_0xa5e9a1[_0x53dcc0(0x25a)]=function(_0x1026a2){const _0xe7e0fd=_0x53dcc0;if(_0xb0cc75[_0xe7e0fd(0x12a)]===_0xb0cc75[_0xe7e0fd(0x184)]){_0xb0cc75[_0xe7e0fd(0x1be)]('open',function(){_0xa5e9a1['_final'](_0x1026a2);});return;}_0xb0cc75[_0xe7e0fd(0x1ef)]!==null&&(_0xb0cc75['_socket']['_writableState']['finished']?(_0x1026a2(),_0xa5e9a1[_0xe7e0fd(0x21e)]['endEmitted']&&_0xa5e9a1[_0xe7e0fd(0x264)]()):(_0xb0cc75[_0xe7e0fd(0x1ef)]['once'](_0xe7e0fd(0x172),function(){_0x1026a2();}),_0xb0cc75[_0xe7e0fd(0x19d)]()));},_0xa5e9a1['_read']=function(){const _0xe8e367=_0x53dcc0;_0xb0cc75['isPaused']&&_0xb0cc75[_0xe8e367(0x286)]();},_0xa5e9a1[_0x53dcc0(0x162)]=function(_0x17b814,_0x3a99d4,_0x13e31b){const _0x1e0f5a=_0x53dcc0;if(_0xb0cc75[_0x1e0f5a(0x12a)]===_0xb0cc75['CONNECTING']){_0xb0cc75[_0x1e0f5a(0x1be)](_0x1e0f5a(0x12c),function(){const _0x3f5800=_0x1e0f5a;_0xa5e9a1[_0x3f5800(0x162)](_0x17b814,_0x3a99d4,_0x13e31b);});return;}_0xb0cc75['send'](_0x17b814,_0x13e31b);},_0xa5e9a1['on'](_0x53dcc0(0x21b),_0x17377e),_0xa5e9a1['on'](_0x53dcc0(0x1f0),_0x482983),_0xa5e9a1;}return Oe=_0x3b476d,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0xf0ca53}=ae();function _0x3c5940(_0x1cb95c){const _0x3c021c=_0x4113,_0x5391d3=new Set();let _0x26cf30=-0x1,_0x478605=-0x1,_0x48df04=0x0;for(_0x48df04;_0x48df04<_0x1cb95c[_0x3c021c(0x13f)];_0x48df04++){const _0x28f78a=_0x1cb95c[_0x3c021c(0x15b)](_0x48df04);if(_0x478605===-0x1&&_0xf0ca53[_0x28f78a]===0x1)_0x26cf30===-0x1&&(_0x26cf30=_0x48df04);else{if(_0x48df04!==0x0&&(_0x28f78a===0x20||_0x28f78a===0x9))_0x478605===-0x1&&_0x26cf30!==-0x1&&(_0x478605=_0x48df04);else{if(_0x28f78a===0x2c){if(_0x26cf30===-0x1)throw new SyntaxError(_0x3c021c(0x231)+_0x48df04);_0x478605===-0x1&&(_0x478605=_0x48df04);const _0xb8339d=_0x1cb95c['slice'](_0x26cf30,_0x478605);if(_0x5391d3[_0x3c021c(0xf9)](_0xb8339d))throw new SyntaxError(_0x3c021c(0xf2)+_0xb8339d+'\x22\x20subprotocol\x20is\x20duplicated');_0x5391d3[_0x3c021c(0x1f7)](_0xb8339d),_0x26cf30=_0x478605=-0x1;}else throw new SyntaxError(_0x3c021c(0x231)+_0x48df04);}}}if(_0x26cf30===-0x1||_0x478605!==-0x1)throw new SyntaxError(_0x3c021c(0x1a8));const _0x4bb97b=_0x1cb95c[_0x3c021c(0x22f)](_0x26cf30,_0x48df04);if(_0x5391d3[_0x3c021c(0xf9)](_0x4bb97b))throw new SyntaxError('The\x20\x22'+_0x4bb97b+'\x22\x20subprotocol\x20is\x20duplicated');return _0x5391d3[_0x3c021c(0x1f7)](_0x4bb97b),_0x5391d3;}return Ce={'parse':_0x3c5940},Ce;}var Te,rt;function Ft(){const _0x4bd5b7=_0x22c973;if(rt)return Te;rt=0x1;const _0x5ad056=nt,_0x100774=ot,{Duplex:_0x16e13f}=oe,{createHash:_0x1dd8c9}=Le,_0x544b1c=ct(),_0x1e4562=he(),_0x4f2ed3=At(),_0x4bac48=Pe(),{GUID:_0x20e6de,kWebSocket:_0x344231}=H(),_0x276202=/^[+/0-9A-Za-z]{22}==$/,_0x29588b=0x0,_0xec1715=0x1,_0x2bd6a0=0x2;class _0x4fcadb extends _0x5ad056{constructor(_0x20755e,_0x5a2d62){const _0x10f44f=_0x4113;if(super(),_0x20755e={'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':_0x4bac48,..._0x20755e},_0x20755e['port']==null&&!_0x20755e['server']&&!_0x20755e['noServer']||_0x20755e['port']!=null&&(_0x20755e[_0x10f44f(0x1fa)]||_0x20755e[_0x10f44f(0x11e)])||_0x20755e[_0x10f44f(0x1fa)]&&_0x20755e['noServer'])throw new TypeError(_0x10f44f(0x270));if(_0x20755e[_0x10f44f(0x243)]!=null?(this[_0x10f44f(0x199)]=_0x100774[_0x10f44f(0x299)]((_0x1463a5,_0x239997)=>{const _0x4e3e8d=_0x10f44f,_0x2e03b1=_0x100774[_0x4e3e8d(0xe3)][0x1aa];_0x239997['writeHead'](0x1aa,{'Content-Length':_0x2e03b1['length'],'Content-Type':_0x4e3e8d(0x1bd)}),_0x239997[_0x4e3e8d(0x21b)](_0x2e03b1);}),this[_0x10f44f(0x199)][_0x10f44f(0x128)](_0x20755e['port'],_0x20755e['host'],_0x20755e['backlog'],_0x5a2d62)):_0x20755e['server']&&(this[_0x10f44f(0x199)]=_0x20755e[_0x10f44f(0x1fa)]),this[_0x10f44f(0x199)]){const _0x124302=this[_0x10f44f(0x261)]['bind'](this,_0x10f44f(0x257));this['_removeListeners']=_0x586f03(this[_0x10f44f(0x199)],{'listening':this['emit']['bind'](this,_0x10f44f(0x1f2)),'error':this['emit'][_0x10f44f(0x271)](this,'error'),'upgrade':(_0x574634,_0xbb8d3a,_0x38f10e)=>{const _0x541212=_0x10f44f;this[_0x541212(0xcd)](_0x574634,_0xbb8d3a,_0x38f10e,_0x124302);}});}_0x20755e[_0x10f44f(0x145)]===!0x0&&(_0x20755e[_0x10f44f(0x145)]={}),_0x20755e[_0x10f44f(0x232)]&&(this['clients']=new Set(),this[_0x10f44f(0x24f)]=!0x1),this[_0x10f44f(0x151)]=_0x20755e,this[_0x10f44f(0x216)]=_0x29588b;}[_0x4bd5b7(0x150)](){const _0x559307=_0x4bd5b7;if(this[_0x559307(0x151)][_0x559307(0x11e)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x559307(0x199)]?this[_0x559307(0x199)]['address']():null;}[_0x4bd5b7(0x19d)](_0x257095){const _0x4125ab=_0x4bd5b7;if(this[_0x4125ab(0x216)]===_0x2bd6a0){_0x257095&&this[_0x4125ab(0x1be)](_0x4125ab(0x19d),()=>{_0x257095(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x4125ab(0x1fb)](_0x5d71dd,this);return;}if(_0x257095&&this[_0x4125ab(0x1be)](_0x4125ab(0x19d),_0x257095),this['_state']!==_0xec1715){if(this[_0x4125ab(0x216)]=_0xec1715,this[_0x4125ab(0x151)][_0x4125ab(0x11e)]||this[_0x4125ab(0x151)][_0x4125ab(0x1fa)])this['_server']&&(this[_0x4125ab(0x204)](),this[_0x4125ab(0x204)]=this[_0x4125ab(0x199)]=null),this[_0x4125ab(0x29b)]?this[_0x4125ab(0x29b)]['size']?this[_0x4125ab(0x24f)]=!0x0:process[_0x4125ab(0x1fb)](_0x5d71dd,this):process['nextTick'](_0x5d71dd,this);else{const _0x48342d=this[_0x4125ab(0x199)];this['_removeListeners'](),this['_removeListeners']=this['_server']=null,_0x48342d['close'](()=>{_0x5d71dd(this);});}}}[_0x4bd5b7(0x16c)](_0x1de3ec){const _0x429d8e=_0x4bd5b7;if(this[_0x429d8e(0x151)]['path']){const _0x41b9ed=_0x1de3ec[_0x429d8e(0x225)][_0x429d8e(0x135)]('?');if((_0x41b9ed!==-0x1?_0x1de3ec['url'][_0x429d8e(0x22f)](0x0,_0x41b9ed):_0x1de3ec[_0x429d8e(0x225)])!==this[_0x429d8e(0x151)][_0x429d8e(0x224)])return!0x1;}return!0x0;}[_0x4bd5b7(0xcd)](_0x5270cf,_0x579344,_0x4a0825,_0x59c833){const _0x15dbdb=_0x4bd5b7;_0x579344['on']('error',_0x3d73ac);const _0x14f31f=_0x5270cf[_0x15dbdb(0x279)][_0x15dbdb(0x14d)],_0x5b32bb=_0x5270cf['headers'][_0x15dbdb(0x23d)],_0x3e53bf=+_0x5270cf['headers'][_0x15dbdb(0x190)];if(_0x5270cf[_0x15dbdb(0x1d8)]!==_0x15dbdb(0x1e9)){_0x3c1595(this,_0x5270cf,_0x579344,0x195,_0x15dbdb(0x250));return;}if(_0x5b32bb===void 0x0||_0x5b32bb['toLowerCase']()!==_0x15dbdb(0x223)){_0x3c1595(this,_0x5270cf,_0x579344,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x14f31f===void 0x0||!_0x276202['test'](_0x14f31f)){_0x3c1595(this,_0x5270cf,_0x579344,0x190,_0x15dbdb(0x18d));return;}if(_0x3e53bf!==0x8&&_0x3e53bf!==0xd){_0x3c1595(this,_0x5270cf,_0x579344,0x190,_0x15dbdb(0x23f));return;}if(!this[_0x15dbdb(0x16c)](_0x5270cf)){_0x1f737b(_0x579344,0x190);return;}const _0x192809=_0x5270cf['headers']['sec-websocket-protocol'];let _0x39cc98=new Set();if(_0x192809!==void 0x0)try{_0x39cc98=_0x4f2ed3[_0x15dbdb(0x127)](_0x192809);}catch{_0x3c1595(this,_0x5270cf,_0x579344,0x190,_0x15dbdb(0x267));return;}const _0x29301e=_0x5270cf['headers'][_0x15dbdb(0x1bb)],_0x1c52f2={};if(this[_0x15dbdb(0x151)]['perMessageDeflate']&&_0x29301e!==void 0x0){const _0x26878c=new _0x1e4562(this['options'][_0x15dbdb(0x145)],!0x0,this[_0x15dbdb(0x151)]['maxPayload']);try{const _0x5374f4=_0x544b1c['parse'](_0x29301e);_0x5374f4[_0x1e4562[_0x15dbdb(0x210)]]&&(_0x26878c[_0x15dbdb(0x297)](_0x5374f4[_0x1e4562['extensionName']]),_0x1c52f2[_0x1e4562[_0x15dbdb(0x210)]]=_0x26878c);}catch{_0x3c1595(this,_0x5270cf,_0x579344,0x190,_0x15dbdb(0x109));return;}}if(this['options'][_0x15dbdb(0x217)]){const _0x279840={'origin':_0x5270cf[_0x15dbdb(0x279)][''+(_0x3e53bf===0x8?_0x15dbdb(0x12f):_0x15dbdb(0x19e))],'secure':!!(_0x5270cf[_0x15dbdb(0x160)][_0x15dbdb(0x24d)]||_0x5270cf[_0x15dbdb(0x160)][_0x15dbdb(0x107)]),'req':_0x5270cf};if(this[_0x15dbdb(0x151)][_0x15dbdb(0x217)][_0x15dbdb(0x13f)]===0x2){this[_0x15dbdb(0x151)][_0x15dbdb(0x217)](_0x279840,(_0xadde06,_0x512e9f,_0x2feca6,_0x1426df)=>{const _0x51c74a=_0x15dbdb;if(!_0xadde06)return _0x1f737b(_0x579344,_0x512e9f||0x191,_0x2feca6,_0x1426df);this[_0x51c74a(0x185)](_0x1c52f2,_0x14f31f,_0x39cc98,_0x5270cf,_0x579344,_0x4a0825,_0x59c833);});return;}if(!this[_0x15dbdb(0x151)]['verifyClient'](_0x279840))return _0x1f737b(_0x579344,0x191);}this[_0x15dbdb(0x185)](_0x1c52f2,_0x14f31f,_0x39cc98,_0x5270cf,_0x579344,_0x4a0825,_0x59c833);}[_0x4bd5b7(0x185)](_0x193f9d,_0x3b1344,_0x504494,_0x1aab17,_0x41aa5c,_0x2af6b8,_0x2ba6ec){const _0x729a56=_0x4bd5b7;if(!_0x41aa5c[_0x729a56(0x187)]||!_0x41aa5c[_0x729a56(0x148)])return _0x41aa5c[_0x729a56(0x264)]();if(_0x41aa5c[_0x344231])throw new Error(_0x729a56(0x121));if(this['_state']>_0x29588b)return _0x1f737b(_0x41aa5c,0x1f7);const _0x4ec3c8=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x729a56(0x1c8),_0x729a56(0x21d),'Sec-WebSocket-Accept:\x20'+_0x1dd8c9(_0x729a56(0xd4))[_0x729a56(0x1bc)](_0x3b1344+_0x20e6de)[_0x729a56(0x1e2)](_0x729a56(0x290))],_0x268deb=new this['options'][(_0x729a56(0x215))](null,void 0x0,this['options']);if(_0x504494['size']){const _0x3d7a5d=this['options']['handleProtocols']?this[_0x729a56(0x151)][_0x729a56(0x1f8)](_0x504494,_0x1aab17):_0x504494['values']()[_0x729a56(0x1a3)]()[_0x729a56(0x154)];_0x3d7a5d&&(_0x4ec3c8['push'](_0x729a56(0x242)+_0x3d7a5d),_0x268deb[_0x729a56(0xed)]=_0x3d7a5d);}if(_0x193f9d[_0x1e4562[_0x729a56(0x210)]]){const _0x3eeae9=_0x193f9d[_0x1e4562[_0x729a56(0x210)]][_0x729a56(0x1eb)],_0x13d502=_0x544b1c['format']({[_0x1e4562[_0x729a56(0x210)]]:[_0x3eeae9]});_0x4ec3c8['push'](_0x729a56(0xf0)+_0x13d502),_0x268deb[_0x729a56(0x202)]=_0x193f9d;}this[_0x729a56(0x261)](_0x729a56(0x279),_0x4ec3c8,_0x1aab17),_0x41aa5c[_0x729a56(0x22b)](_0x4ec3c8[_0x729a56(0x103)]('\x0d\x0a')[_0x729a56(0x29c)]('\x0d\x0a')),_0x41aa5c[_0x729a56(0x201)]('error',_0x3d73ac),_0x268deb[_0x729a56(0x18f)](_0x41aa5c,_0x2af6b8,{'allowSynchronousEvents':this[_0x729a56(0x151)][_0x729a56(0x10e)],'maxPayload':this[_0x729a56(0x151)]['maxPayload'],'skipUTF8Validation':this[_0x729a56(0x151)][_0x729a56(0x104)]}),this[_0x729a56(0x29b)]&&(this[_0x729a56(0x29b)]['add'](_0x268deb),_0x268deb['on'](_0x729a56(0x19d),()=>{const _0x381e29=_0x729a56;this[_0x381e29(0x29b)][_0x381e29(0x274)](_0x268deb),this[_0x381e29(0x24f)]&&!this[_0x381e29(0x29b)][_0x381e29(0x105)]&&process['nextTick'](_0x5d71dd,this);})),_0x2ba6ec(_0x268deb,_0x1aab17);}}Te=_0x4fcadb;function _0x586f03(_0x1ca3aa,_0x2b7d9f){const _0x1f96d0=_0x4bd5b7;for(const _0x501c2e of Object[_0x1f96d0(0x16e)](_0x2b7d9f))_0x1ca3aa['on'](_0x501c2e,_0x2b7d9f[_0x501c2e]);return function(){const _0x1b0dca=_0x1f96d0;for(const _0xbfc113 of Object[_0x1b0dca(0x16e)](_0x2b7d9f))_0x1ca3aa[_0x1b0dca(0x201)](_0xbfc113,_0x2b7d9f[_0xbfc113]);};}function _0x5d71dd(_0x1d1bda){const _0x246dd2=_0x4bd5b7;_0x1d1bda[_0x246dd2(0x216)]=_0x2bd6a0,_0x1d1bda[_0x246dd2(0x261)]('close');}function _0x3d73ac(){const _0x22377b=_0x4bd5b7;this[_0x22377b(0x264)]();}function _0x1f737b(_0x1643a8,_0x41569c,_0x21eef9,_0x4efc8d){const _0x12fd00=_0x4bd5b7;_0x21eef9=_0x21eef9||_0x100774[_0x12fd00(0xe3)][_0x41569c],_0x4efc8d={'Connection':_0x12fd00(0x19d),'Content-Type':_0x12fd00(0x26c),'Content-Length':Buffer['byteLength'](_0x21eef9),..._0x4efc8d},_0x1643a8[_0x12fd00(0x1be)](_0x12fd00(0x172),_0x1643a8[_0x12fd00(0x264)]),_0x1643a8[_0x12fd00(0x21b)](_0x12fd00(0x114)+_0x41569c+'\x20'+_0x100774[_0x12fd00(0xe3)][_0x41569c]+'\x0d\x0a'+Object[_0x12fd00(0x16e)](_0x4efc8d)[_0x12fd00(0xeb)](_0x3e071c=>_0x3e071c+':\x20'+_0x4efc8d[_0x3e071c])[_0x12fd00(0x29c)]('\x0d\x0a')+_0x12fd00(0x1c5)+_0x21eef9);}function _0x3c1595(_0x366ead,_0x3851f2,_0x1f0a8c,_0x37bf80,_0x292815){const _0x2566a6=_0x4bd5b7;if(_0x366ead[_0x2566a6(0x289)]('wsClientError')){const _0x2404e3=new Error(_0x292815);Error[_0x2566a6(0x265)](_0x2404e3,_0x3c1595),_0x366ead[_0x2566a6(0x261)](_0x2566a6(0x208),_0x2404e3,_0x1f0a8c,_0x3851f2);}else _0x1f737b(_0x1f0a8c,_0x37bf80,_0x292815);}return Te;}Ft();var jt=Object[_0x22c973(0x188)],Wt=(_0x24d2ec,_0x2a474b,_0x3d6385,_0x16cdd6)=>{const _0x11c30c=_0x22c973;for(var _0x3f69cd=_0x16cdd6>0x1?void 0x0:_0x16cdd6?jt(_0x2a474b,_0x3d6385):_0x2a474b,_0x5bca94=_0x24d2ec[_0x11c30c(0x13f)]-0x1,_0x47dbb8;_0x5bca94>=0x0;_0x5bca94--)(_0x47dbb8=_0x24d2ec[_0x5bca94])&&(_0x3f69cd=_0x47dbb8(_0x3f69cd)||_0x3f69cd);return _0x3f69cd;},qt=(_0x1c6b97,_0x3015ac)=>(_0x4b5848,_0x22361b)=>_0x3015ac(_0x4b5848,_0x22361b,_0x1c6b97);let ke=class extends A[_0x22c973(0x12e)]{constructor(_0x1448f6){const _0x44ed6e=_0x22c973;super(),this[_0x44ed6e(0x1c1)]=_0x1448f6;}[_0x22c973(0xd3)](_0x5d2893){const _0x2b3497=_0x22c973;var _0x592a21;const _0x5e3c7e=(_0x592a21=this[_0x2b3497(0x1c1)][_0x2b3497(0x17f)](fe))==null?void 0x0:_0x592a21[_0x2b3497(0xf7)];try{const _0x4676a6=new $t(_0x5d2893,{'headers':{..._0x5e3c7e}}),_0x739c90=new A[(_0x2b3497(0x268))]();return{'URL':_0x5d2893,'close':(_0x51c2bb,_0x413aae)=>{_0x4676a6['close'](_0x51c2bb,_0x413aae),_0x739c90['dispose']();},'send':_0x5b2660=>{const _0x335164=_0x2b3497;_0x4676a6[_0x335164(0x1a2)](_0x5b2660);},'open$':new V[(_0x2b3497(0x16d))](_0x4a060e=>{const _0x41b004=_0x2b3497,_0x24c2be=_0xda2c4d=>_0x4a060e[_0x41b004(0x1a3)](_0xda2c4d);_0x4676a6[_0x41b004(0xe8)](_0x41b004(0x12c),_0x24c2be),_0x739c90['add'](A['toDisposable'](()=>_0x4676a6[_0x41b004(0x1f5)](_0x41b004(0x12c),_0x24c2be)));})[_0x2b3497(0xe9)](V['share']()),'close$':new V[(_0x2b3497(0x16d))](_0x3db560=>{const _0x1cb2df=_0x2b3497,_0x506a5c=_0x45cc5f=>_0x3db560['next'](_0x45cc5f);_0x4676a6[_0x1cb2df(0xe8)](_0x1cb2df(0x19d),_0x506a5c),_0x739c90[_0x1cb2df(0x1f7)](A[_0x1cb2df(0x20f)](()=>_0x4676a6[_0x1cb2df(0x1f5)](_0x1cb2df(0x19d),_0x506a5c)));})['pipe'](V[_0x2b3497(0x260)]()),'error$':new V[(_0x2b3497(0x16d))](_0x4df674=>{const _0x4a7790=_0x2b3497,_0x1c4775=_0x47169b=>_0x4df674[_0x4a7790(0x1a3)](_0x47169b);_0x4676a6[_0x4a7790(0xe8)](_0x4a7790(0x1f0),_0x1c4775),_0x739c90[_0x4a7790(0x1f7)](A[_0x4a7790(0x20f)](()=>_0x4676a6[_0x4a7790(0x1f5)]('error',_0x1c4775)));})['pipe'](V[_0x2b3497(0x260)]()),'message$':new V[(_0x2b3497(0x16d))](_0x2a032a=>{const _0x56e720=_0x2b3497,_0x1cb50a=_0x3b5c02=>_0x2a032a[_0x56e720(0x1a3)](_0x3b5c02);_0x4676a6[_0x56e720(0xe8)](_0x56e720(0x1de),_0x1cb50a),_0x739c90[_0x56e720(0x1f7)](A[_0x56e720(0x20f)](()=>_0x4676a6[_0x56e720(0x1f5)](_0x56e720(0x1de),_0x1cb50a)));})[_0x2b3497(0xe9)](V[_0x2b3497(0x260)]())};}catch(_0x21bff9){return console['error'](_0x21bff9),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x22c973(0x276)],Vt=Object[_0x22c973(0x188)],Ht=(_0x4f4134,_0x1bac3e,_0x2f2e24)=>_0x1bac3e in _0x4f4134?Gt(_0x4f4134,_0x1bac3e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f2e24}):_0x4f4134[_0x1bac3e]=_0x2f2e24,zt=(_0x18cc70,_0x4a1356,_0x1ca81e,_0x54ffc5)=>{for(var _0x56908d=_0x54ffc5>0x1?void 0x0:_0x54ffc5?Vt(_0x4a1356,_0x1ca81e):_0x4a1356,_0x2e229=_0x18cc70['length']-0x1,_0x2f6918;_0x2e229>=0x0;_0x2e229--)(_0x2f6918=_0x18cc70[_0x2e229])&&(_0x56908d=_0x2f6918(_0x56908d)||_0x56908d);return _0x56908d;},Ne=(_0x348d14,_0x16625e)=>(_0x5e02bf,_0x4db4df)=>_0x16625e(_0x5e02bf,_0x4db4df,_0x348d14),Yt=(_0x44e68c,_0x168553,_0x485632)=>Ht(_0x44e68c,_0x168553+'',_0x485632);exports[_0x22c973(0xce)]=class extends A[_0x22c973(0x1c7)]{constructor(_0x4aa032=Ct,_0x531dea,_0x426fb8,_0x54a239){const _0x1c4f1d=_0x22c973;_0x4aa032[_0x1c4f1d(0xf7)]||_0x531dea[_0x1c4f1d(0x1d6)](_0x1c4f1d(0x20e)),super(),this[_0x1c4f1d(0x1c1)]=_0x426fb8,this[_0x1c4f1d(0x240)]=_0x54a239,this['_configService'][_0x1c4f1d(0x26b)](fe,_0x4aa032);}[_0x22c973(0x22c)](){const _0xa19485=_0x22c973;this[_0xa19485(0x236)]();}[_0x22c973(0x236)](){const _0x1d041b=_0x22c973;A[_0x1d041b(0x245)](this[_0x1d041b(0x240)],[[it[_0x1d041b(0x10d)],{'useClass':ke}]]);}},Yt(exports[_0x22c973(0xce)],_0x22c973(0x133),_0x22c973(0x189)),exports[_0x22c973(0xce)]=zt([A['DependentOn'](st[_0x22c973(0x22a)]),Ne(0x1,A[_0x22c973(0x262)]),Ne(0x2,A[_0x22c973(0x20a)]),Ne(0x3,A[_0x22c973(0x25b)](A[_0x22c973(0x11b)]))],exports[_0x22c973(0xce)]);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x199cff,_0x59e622,_0x2f5b48,_0x37247f)=>{const _0x5c0f00=_0x22c973;for(var _0x5f0aee=_0x37247f>0x1?void 0x0:_0x37247f?Kt(_0x59e622,_0x2f5b48):_0x59e622,_0x300c74=_0x199cff[_0x5c0f00(0x13f)]-0x1,_0x5f294d;_0x300c74>=0x0;_0x300c74--)(_0x5f294d=_0x199cff[_0x300c74])&&(_0x5f0aee=_0x5f294d(_0x5f0aee)||_0x5f0aee);return _0x5f0aee;},ne=(_0x1144a5,_0x2cb55d)=>(_0xd40917,_0x31ef5e)=>_0x2cb55d(_0xd40917,_0x31ef5e,_0x1144a5);function _0x4992(){const _0x552280=['_max_window_bits','href','3449082bchBKl','_isServer','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','Invalid\x20WebSocket\x20frame:\x20','concat','skipUTF8Validation','size','concurrency','encrypted','_paused','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','dequeue','byteLength','COLLABORATION_CLIENT_NODE_CONFIG_KEY','ISocketService','allowSynchronousEvents','Module','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','permessage-deflate','8433QrUthc','isBuffer','HTTP/1.1\x20','Blob','Basic\x20','setHeader','consume','create','toLowerCase','Injector','_closeFrameReceived','includes','noServer','nodebuffer','Max\x20payload\x20size\x20exceeded','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','protocol','fin','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','type','parse','listen','_inflate','readyState','Unexpected\x20server\x20response:\x20','open','_doCreateSocket','Disposable','sec-websocket-origin','WS_ERR_INVALID_UTF8','client_max_window_bits','maxRedirects','pluginName','server_max_window_bits','indexOf','acceptAsClient','kIsForOnEventAttribute','WS_ERR_UNEXPECTED_RSV_2_3','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','startsWith','WS_ERR_INVALID_OPCODE','catch','pathname','length','invalid\x20opcode\x20','_url','Sec-WebSocket-Extensions','buffer','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','perMessageDeflate','_closeFrameSent','isServer','writable','https','alloc','WebSocket\x20is\x20not\x20open:\x20readyState\x20','getMask','sec-websocket-key','writeUInt16BE','handshakeTimeout','address','options','@univerjs-pro/collaboration-client','request','value','_originalSecure','default','unexpected-response','_fin','_writableState','number','charCodeAt','connect','_decompress','net','_loop','socket','wss:','_write','invalid\x20payload\x20length\x20','Z_DEFAULT_WINDOWBITS','protocolVersion','concurrencyLimit','toStringTag','conclude','_deflate','WS_ERR_EXPECTED_FIN','exports','shouldHandle','Observable','keys','createInflateRaw','shift','WS_NO_UTF_8_VALIDATE','finish','autoPong','authorization','_receiver','_allowSynchronousEvents','mask','set','invalid\x20opcode\x200','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_fragmented','WS_ERR_EXPECTED_MASK','server_no_context_takeover','isInteger','getConfig','invalid\x20status\x20code\x20','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','followRedirects','ws:','CONNECTING','completeUpgrade','client_no_context_takeover','readable','getOwnPropertyDescriptor','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','split','CLOSING','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','zlibDeflateOptions','setSocket','sec-websocket-version','serverNoContextTakeover','setNoDelay','byteOffset','Maximum\x20redirects\x20exceeded','then','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','ISnapshotServerService','MASK\x20must\x20be\x20set','_server','target','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','https:','close','origin','\x22:\x20','@univerjs/network','haveLength','send','next','getPayloadLength64','NodeCollaborationSocketService','_threshold','_closeTimer','Unexpected\x20end\x20of\x20input','writeUIntBE','519310dLtbJY','HTTPService','ws+unix:','forEach','getInfo','kType','_sender','isPaused','_readyState','decompress','wasClean','frame','arraybuffer','__esModule','host','object','status-code','sec-websocket-extensions','update','text/plain','once','kDone','serverMaxWindowBits','_configService','timeout','emitClose','readUInt32BE','\x0d\x0a\x0d\x0a','ping','Plugin','Upgrade:\x20websocket','hash','_messageLength','6736NToPbp','kError','Server\x20sent\x20an\x20invalid\x20subprotocol','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','defaultPort','construct','data','allocUnsafe','username','Unknown\x20parameter\x20\x22','kData','warn','getBlobData','method','_closeCode','handleEvent','search','WS_ERR_UNEXPECTED_MASK','kByteLength','message','offer','_bufferedBytes','createError','digest','isValidUTF8','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','clientNoContextTakeover','reset','arrayBuffer','_compressed','GET','code','params','stream','22372xUcdvH','_opcode','_socket','error','_queue','listening','abort','zlibInflateOptions','removeEventListener','listeners','add','handleProtocols','enqueue','server','nextTick','hostname','OPEN','env','acceptAsServer','_firstFragment','removeListener','_extensions','kAborted','_removeListeners','_compress','reason','@univerjs/core','wsClientError','onerror','IConfigService','finished','blob','uncork','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','toDisposable','extensionName','CLOSED','4456035bjyFqQ','27468iVAwAr','endEmitted','WebSocket','_state','verifyClient','drain','createConnection','_errored','end','_buffers','Connection:\x20Upgrade','_readableState','kCode','kReason','objectMode','from','websocket','path','url','setTimeout','getPayloadLength16','auth','onclose','UniverCollaborationClientPlugin','write','onStarting','toString','binary','slice','createDeflateRaw','Unexpected\x20character\x20at\x20index\x20','clientTracking','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','socketPath','_errorEmitted','_registerDependencies','tls','_mask','clientMaxWindowBits','password','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','readOnly','upgrade','finishRequest','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_injector','Invalid\x20Sec-WebSocket-Extensions\x20header','Sec-WebSocket-Protocol:\x20','port','hasOwnProperty','registerDependencies','threshold','pending','_bufferedAmount','freeze','_originalHostOrSocketPath','_skipUTF8Validation','startLoop','authorized','push','_shouldEmitClose','Invalid\x20HTTP\x20method','species','_req','binaryType','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','events','servername','connection','File','function','_final','Inject','cookie','cleanup','fragments','_masked','share','emit','ILogService','\x20(supported\x20versions:\x20','destroy','captureStackTrace','_redirects','Invalid\x20Sec-WebSocket-Protocol\x20header','DisposableCollection','@univerjs-pro/collaboration','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','setConfig','text/html','replace','dataMessage','sec-websocket-protocol','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','bind','_closeMessage','unmask','delete','4raAbnR','defineProperty','_fragments','getData','headers','total-length','FIN\x20must\x20be\x20set','statusCode','Parameter\x20\x22','call','apply','normalizeParams','_generateMask','terminate','MASK\x20must\x20be\x20clear','_originalIpc','response','resume','crypto','kListener','listenerCount','client','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_no_context_takeover','maskBuffer','Invalid\x20value\x20for\x20parameter\x20\x22','_maxPayload','base64','pow','errorEmitted','needDrain','jobs','extensions','entries','accept','_payloadLength','createServer','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','clients','join','The\x20URL\x27s\x20pathname\x20is\x20empty','RSV1\x20must\x20be\x20clear','168EqyEsw','handleUpgrade','UniverCollaborationClientNodePlugin','Cookie','location','constructor','WS_NO_BUFFER_UTIL','createSocket','sha1','_binaryType','registerHTTPInterceptor','readUInt16BE','WS_ERR_INVALID_CLOSE_CODE','compress','WS_ERR_UNEXPECTED_RSV_1','Invalid\x20URL:\x20','_destroy','_autoPong','pause','cork','controlMessage','pong','Invalid\x20Upgrade\x20header','STATUS_CODES','generateMask','redirect','string','get','addEventListener','pipe','_totalPayloadLength','map','3538395IWaHyo','_protocol','invalid\x20UTF-8\x20sequence','isArray','Sec-WebSocket-Extensions:\x20','Z_SYNC_FLUSH','The\x20\x22','_maskBuffer','maxPayload','opcode','dispatch','customHeaders','prototype','has','_options','sendFrame','destroyed'];_0x4992=function(){return _0x552280;};return _0x4992();}exports[_0x22c973(0x1a5)]=class extends st['CollaborationSocketService']{constructor(_0x36ed9d,_0x7f4e71,_0x56e688,_0x3dcc35,_0x31f137){const _0x12adb0=_0x22c973;super(_0x36ed9d,_0x7f4e71,_0x56e688,_0x3dcc35,_0x31f137);const _0x22ab2d=this[_0x12adb0(0x1c1)][_0x12adb0(0x17f)](fe);this['_httpService'][_0x12adb0(0xd6)]({'interceptor':(_0x37722c,_0x43abe8)=>{const _0x4f9c15=_0x12adb0;var _0x199b16;const _0x5d833a=_0x37722c['headers'];return(_0x199b16=_0x22ab2d==null?void 0x0:_0x22ab2d['customHeaders'])!=null&&_0x199b16[_0x4f9c15(0x25c)]&&_0x5d833a[_0x4f9c15(0x178)](_0x4f9c15(0xcf),_0x22ab2d[_0x4f9c15(0xf7)][_0x4f9c15(0x25c)]),_0x43abe8(_0x37722c);}});}async[_0x22c973(0xd3)](_0x26aa61){const _0x133d52=_0x22c973;return this[_0x133d52(0x12d)](_0x26aa61);}},exports[_0x22c973(0x1a5)]=Xt([ne(0x0,A['Inject'](A[_0x22c973(0x11b)])),ne(0x1,A['Inject'](it[_0x22c973(0x1ab)])),ne(0x2,A['IConfigService']),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x22c973(0x197)])],exports[_0x22c973(0x1a5)]),exports[_0x22c973(0x10c)]=fe;
|
|
1
|
+
'use strict';const _0x3db353=_0x3dfb;(function(_0x2afd2e,_0x393413){const _0x1c9f83=_0x3dfb,_0x1a51c1=_0x2afd2e();while(!![]){try{const _0x23ddb3=parseInt(_0x1c9f83(0x2a1))/0x1+parseInt(_0x1c9f83(0x21e))/0x2+parseInt(_0x1c9f83(0x175))/0x3+parseInt(_0x1c9f83(0x323))/0x4*(-parseInt(_0x1c9f83(0x29e))/0x5)+parseInt(_0x1c9f83(0x2e1))/0x6*(-parseInt(_0x1c9f83(0x264))/0x7)+parseInt(_0x1c9f83(0x19c))/0x8+-parseInt(_0x1c9f83(0x288))/0x9;if(_0x23ddb3===_0x393413)break;else _0x1a51c1['push'](_0x1a51c1['shift']());}catch(_0x57fbb7){_0x1a51c1['push'](_0x1a51c1['shift']());}}}(_0x2956,0x25bd5));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x3db353(0x19d)});const st=require(_0x3db353(0x2dc)),A=require(_0x3db353(0x275)),it=require('@univerjs/network'),V=require(_0x3db353(0x2b1)),nt=require(_0x3db353(0x1fa)),vt=require(_0x3db353(0x1a1)),ot=require('http'),St=require('net'),Et=require(_0x3db353(0x2a6)),Le=require('crypto'),oe=require('stream'),xt=require(_0x3db353(0x1a5)),bt=require(_0x3db353(0x274)),wt=require(_0x3db353(0x216)),Ot=require(_0x3db353(0x233)),fe=_0x3db353(0x2b8),Ct={'customHeaders':{}};function Tt(_0x38b0c2){const _0x12020a=_0x3db353;return _0x38b0c2&&_0x38b0c2[_0x12020a(0x21d)]&&Object[_0x12020a(0x1f7)][_0x12020a(0x279)][_0x12020a(0x1ae)](_0x38b0c2,'default')?_0x38b0c2['default']:_0x38b0c2;}function at(_0xaa880a){const _0x3af2dd=_0x3db353;if(Object[_0x3af2dd(0x1f7)][_0x3af2dd(0x279)][_0x3af2dd(0x1ae)](_0xaa880a,_0x3af2dd(0x21d)))return _0xaa880a;var _0x258d7c=_0xaa880a[_0x3af2dd(0x180)];if(typeof _0x258d7c==_0x3af2dd(0x2de)){var _0x528780=function _0x24e88e(){const _0x479bc0=_0x3af2dd;return this instanceof _0x24e88e?Reflect[_0x479bc0(0x197)](_0x258d7c,arguments,this[_0x479bc0(0x207)]):_0x258d7c[_0x479bc0(0x228)](this,arguments);};_0x528780[_0x3af2dd(0x1f7)]=_0x258d7c['prototype'];}else _0x528780={};return Object['defineProperty'](_0x528780,_0x3af2dd(0x21d),{'value':!0x0}),Object[_0x3af2dd(0x17c)](_0xaa880a)['forEach'](function(_0x237371){const _0x2d6f60=_0x3af2dd;var _0x1a4a56=Object[_0x2d6f60(0x1f9)](_0xaa880a,_0x237371);Object[_0x2d6f60(0x22c)](_0x528780,_0x237371,_0x1a4a56[_0x2d6f60(0x2c9)]?_0x1a4a56:{'enumerable':!0x0,'get':function(){return _0xaa880a[_0x237371];}});}),_0x528780;}var se={'exports':{}},ge,Ge;function H(){const _0x5f3386=_0x3db353;if(Ge)return ge;Ge=0x1;const _0x959110=[_0x5f3386(0x277),_0x5f3386(0x2ea),_0x5f3386(0x333)],_0x1751a0=typeof Blob<'u';return _0x1751a0&&_0x959110['push']('blob'),ge={'BINARY_TYPES':_0x959110,'EMPTY_BUFFER':Buffer[_0x5f3386(0x29f)](0x0),'GUID':_0x5f3386(0x290),'hasBlob':_0x1751a0,'kForOnEventAttribute':Symbol(_0x5f3386(0x310)),'kListener':Symbol(_0x5f3386(0x222)),'kStatusCode':Symbol(_0x5f3386(0x1d2)),'kWebSocket':Symbol(_0x5f3386(0x2b7)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x3db353(0x32c)](Object[_0x3db353(0x22c)]({'__proto__':null,'default':Nt},Symbol[_0x3db353(0x1d8)],{'value':_0x3db353(0x19d)})),Lt=at(kt);var Ve;function _0x3dfb(_0x9fecba,_0x5d5b78){const _0x295648=_0x2956();return _0x3dfb=function(_0x3dfbf9,_0x7a9ea7){_0x3dfbf9=_0x3dfbf9-0x174;let _0x32f80d=_0x295648[_0x3dfbf9];return _0x32f80d;},_0x3dfb(_0x9fecba,_0x5d5b78);}function ce(){const _0x46d0de=_0x3db353;if(Ve)return se[_0x46d0de(0x24c)];Ve=0x1;const {EMPTY_BUFFER:_0x169b01}=H(),_0x2b7a7f=Buffer[Symbol[_0x46d0de(0x1bf)]];function _0x414d57(_0x5c038d,_0x5d238b){const _0x540835=_0x46d0de;if(_0x5c038d[_0x540835(0x1c7)]===0x0)return _0x169b01;if(_0x5c038d[_0x540835(0x1c7)]===0x1)return _0x5c038d[0x0];const _0x3bca24=Buffer[_0x540835(0x2e7)](_0x5d238b);let _0xc0f860=0x0;for(let _0x2ee57c=0x0;_0x2ee57c<_0x5c038d[_0x540835(0x1c7)];_0x2ee57c++){const _0x296f0d=_0x5c038d[_0x2ee57c];_0x3bca24[_0x540835(0x1cd)](_0x296f0d,_0xc0f860),_0xc0f860+=_0x296f0d['length'];}return _0xc0f860<_0x5d238b?new _0x2b7a7f(_0x3bca24[_0x540835(0x216)],_0x3bca24['byteOffset'],_0xc0f860):_0x3bca24;}function _0x805844(_0x31aef1,_0x2b28be,_0x222217,_0x41ed78,_0x42f778){for(let _0x1f8957=0x0;_0x1f8957<_0x42f778;_0x1f8957++)_0x222217[_0x41ed78+_0x1f8957]=_0x31aef1[_0x1f8957]^_0x2b28be[_0x1f8957&0x3];}function _0x492740(_0x52c265,_0x53e215){const _0x2fc4f7=_0x46d0de;for(let _0x5532c7=0x0;_0x5532c7<_0x52c265[_0x2fc4f7(0x1c7)];_0x5532c7++)_0x52c265[_0x5532c7]^=_0x53e215[_0x5532c7&0x3];}function _0x15cf3d(_0x3e4313){const _0x180470=_0x46d0de;return _0x3e4313[_0x180470(0x1c7)]===_0x3e4313['buffer'][_0x180470(0x2df)]?_0x3e4313[_0x180470(0x216)]:_0x3e4313['buffer']['slice'](_0x3e4313['byteOffset'],_0x3e4313[_0x180470(0x2ca)]+_0x3e4313[_0x180470(0x1c7)]);}function _0x293dd3(_0x5b9eee){const _0x22fcc4=_0x46d0de;if(_0x293dd3['readOnly']=!0x0,Buffer[_0x22fcc4(0x1c6)](_0x5b9eee))return _0x5b9eee;let _0x5743f5;return _0x5b9eee instanceof ArrayBuffer?_0x5743f5=new _0x2b7a7f(_0x5b9eee):ArrayBuffer['isView'](_0x5b9eee)?_0x5743f5=new _0x2b7a7f(_0x5b9eee['buffer'],_0x5b9eee[_0x22fcc4(0x2ca)],_0x5b9eee[_0x22fcc4(0x2df)]):(_0x5743f5=Buffer[_0x22fcc4(0x2a9)](_0x5b9eee),_0x293dd3[_0x22fcc4(0x28d)]=!0x1),_0x5743f5;}if(se[_0x46d0de(0x24c)]={'concat':_0x414d57,'mask':_0x805844,'toArrayBuffer':_0x15cf3d,'toBuffer':_0x293dd3,'unmask':_0x492740},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x1ef7ce=Lt;se[_0x46d0de(0x24c)][_0x46d0de(0x226)]=function(_0x511df7,_0x44a373,_0x513f8a,_0x2272de,_0x472f88){const _0x55728b=_0x46d0de;_0x472f88<0x30?_0x805844(_0x511df7,_0x44a373,_0x513f8a,_0x2272de,_0x472f88):_0x1ef7ce[_0x55728b(0x226)](_0x511df7,_0x44a373,_0x513f8a,_0x2272de,_0x472f88);},se[_0x46d0de(0x24c)][_0x46d0de(0x251)]=function(_0x142343,_0x57cd5e){const _0x336857=_0x46d0de;_0x142343['length']<0x20?_0x492740(_0x142343,_0x57cd5e):_0x1ef7ce[_0x336857(0x251)](_0x142343,_0x57cd5e);};}catch{}return se[_0x46d0de(0x24c)];}var ye,He;function Pt(){const _0x44221d=_0x3db353;if(He)return ye;He=0x1;const _0x1ee4f5=Symbol(_0x44221d(0x27a)),_0xcd6210=Symbol('kRun');class _0x5edc0d{constructor(_0x4aa0b2){const _0x278786=_0x44221d;this[_0x1ee4f5]=()=>{const _0x243d0b=_0x3dfb;this[_0x243d0b(0x32b)]--,this[_0xcd6210]();},this[_0x278786(0x195)]=_0x4aa0b2||0x1/0x0,this['jobs']=[],this[_0x278786(0x32b)]=0x0;}['add'](_0x141e75){const _0x37a583=_0x44221d;this[_0x37a583(0x263)][_0x37a583(0x25b)](_0x141e75),this[_0xcd6210]();}[_0xcd6210](){const _0x594382=_0x44221d;if(this[_0x594382(0x32b)]!==this['concurrency']&&this[_0x594382(0x263)][_0x594382(0x1c7)]){const _0x3c08d3=this['jobs']['shift']();this['pending']++,_0x3c08d3(this[_0x1ee4f5]);}}}return ye=_0x5edc0d,ye;}function _0x2956(){const _0x1fbfee=['sec-websocket-protocol','addEventListener','controlMessage','handshakeTimeout','abort','perMessageDeflate','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','push','_sender','format','setHeader','endEmitted','decompress','generateMask','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','jobs','1013593IUaCdW','serverMaxWindowBits','_buffers','CollaborationSocketService','offer','_receiver','_decompress','getMask','ping','Unknown\x20parameter\x20\x22','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','Blob','DependentOn','Sec-WebSocket-Extensions:\x20','then','Unexpected\x20end\x20of\x20input','zlib','@univerjs/core','resume','nodebuffer','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','hasOwnProperty','kDone','size','kTarget','enqueue','end','Invalid\x20Sec-WebSocket-Accept\x20header','completeUpgrade','base64','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_write','invalid\x20opcode\x20','readUInt16BE','errorEmitted','2970531okuBIl','finishRequest','values','onclose','customHeaders','readOnly','bufferedAmount','entries','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_errored','cleanup','_removeListeners','parse','_extensions','Invalid\x20WebSocket\x20frame:\x20','defaultPort','pause','replace','unexpected-response','text/plain','Maximum\x20redirects\x20exceeded','_binaryType','5VRZUXW','alloc','authorized','240882trEerk','Opening\x20handshake\x20has\x20timed\x20out','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','ILogService','_masked','tls','writeUIntBE','isPaused','from','headers','readUInt32BE','HTTPService','hash','invalid\x20opcode\x200','kType','CONNECTING','rxjs','consume','Sec-WebSocket-Accept:\x20','WS_ERR_EXPECTED_FIN','bind','indexOf','websocket','collaboration-client-node.config','_messageLength','slice','setConfig','add','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','pathname','_fin','_isServer','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','Sec-WebSocket-Protocol','GET','_closeFrameReceived','sec-websocket-key','_configService','_maskBuffer','_final','get','byteOffset','params','_bufferedBytes','zlibInflateOptions','concurrencyLimit','_closeTimer','handleEvent','socketPath','blob','_deflate','RSV1\x20must\x20be\x20clear','https:','shift','WS_ERR_INVALID_OPCODE','getBlobData','join','createInflateRaw','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','@univerjs-pro/collaboration-client','verifyClient','function','byteLength','data','12TfkeOU','includes','send','catch','_no_context_takeover','_closeCode','allocUnsafe','WS_ERR_INVALID_UTF8','onStarting','arraybuffer','redirect','opcode','username','create','setSocket','_shouldEmitClose','method','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_originalIpc','_loop','maskBuffer','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','next','location','callback','\x22\x20subprotocol\x20is\x20duplicated','socket','type','host','href','value','clientMaxWindowBits','acceptAsClient','\x0d\x0a\x0d\x0a','write','_autoPong','upgrade','frame','Invalid\x20URL:\x20','string','_inflate','noServer','zlibDeflateOptions','dispatch','_fragmented','binaryType','writeUInt16BE','kIsForOnEventAttribute','permessage-deflate','maxPayload','UniverCollaborationClientNodePlugin','protocolVersion','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','registerHTTPInterceptor','Z_SYNC_FLUSH','charCodeAt','accept','share','startLoop','Origin','connect','toString','isIP','destroy','path','backlog','298396ZTKKnR','Invalid\x20HTTP\x20method','needDrain','\x22:\x20','_generateMask','Disposable','The\x20\x22','CLOSED','pending','freeze','finish','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_opcode','WS_ERR_UNEXPECTED_MASK','response','_allowSynchronousEvents','fragments','uncork','_writableState','_max_window_bits','toLowerCase','Injector','HTTP/1.1\x20','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','emitClose','protocol','_registerDependencies','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','once','\x22\x20must\x20have\x20only\x20a\x20single\x20value','747612sUIvUr','getPayloadLength64','haveLength','Unsupported\x20protocol\x20version:\x20','_doCreateSocket','maxRedirects','Parameter\x20\x22','keys','Plugin','client_no_context_takeover','fin','default','finished','shouldHandle','allowSynchronousEvents','UniverCollaborationClientPlugin','COLLABORATION_CLIENT_NODE_CONFIG_KEY','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','WS_ERR_UNEXPECTED_RSV_1','createSocket','kError','createServer','object','has','pluginName','readyState','isInteger','_options','timeout','_totalPayloadLength','Upgrade:\x20websocket','stream','concurrency','normalizeParams','construct','_injector','handleProtocols','pipe','listening','2017328IqbHxd','Module','_paused','origin','read','https','options','listen','Invalid\x20value\x20for\x20parameter\x20\x22','url','extensions','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','total-length','_compress','search','cookie','HTTP/1.1\x20101\x20Switching\x20Protocols','sec-websocket-accept','call','hostname','forEach','_redirects','wsClientError','client','_maxPayload','onmessage','servername','invalid\x20payload\x20length\x20','sha1','Inject','wss:','acceptAsServer','onerror','ISnapshotServerService','Connection:\x20Upgrade','species','encrypted','code','dispose','onopen','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','update','isBuffer','length','CLOSING','listeners','STATUS_CODES','Server\x20sent\x20an\x20invalid\x20subprotocol','_destroy','set','_originalHostOrSocketPath','kWasClean','extensionName','Basic\x20','status-code','address','_skipUTF8Validation','server_max_window_bits','_firstFragment','clients','toStringTag','_server','Cookie','The\x20server\x20is\x20not\x20running','_socket','statusCode','_req','toDisposable','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_bufferedAmount','writeHead','kByteLength','_protocol','threshold','startsWith','pong','_url','authorization','dataMessage','number','Invalid\x20Sec-WebSocket-Extensions\x20header','isValidUTF8','arrayBuffer','\x20(supported\x20versions:\x20','skipUTF8Validation','delete','wasClean','request','flush','getData','Observable','prototype','autoPong','getOwnPropertyDescriptor','events','target','_readyState','_closeMessage','getInfo','removeAllListeners','open','Upgrade','_fragments','listenerCount','FIN\x20must\x20be\x20set','_originalSecure','map','constructor','server_no_context_takeover','nextTick','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','isServer','destroyed','OPEN','NodeCollaborationSocketService','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','message','createError','_mask','error','setNoDelay','removeEventListener','buffer','pow','File','Unexpected\x20character\x20at\x20index\x20','emit','_payloadLength','_read','__esModule','213170wSpWXj','writable','getConfig','reset','kListener','_readableState','WS_ERR_EXPECTED_MASK','removeListener','mask','createConnection','apply','concat','dequeue','Z_DEFAULT_WINDOWBITS','defineProperty','port','setTimeout','find','compress','close','Max\x20payload\x20size\x20exceeded','@univerjs-pro/collaboration','_queue','_compressed','server','auth','WebSocket','handleUpgrade','_errorEmitted','terminate','serverNoContextTakeover','invalid\x20UTF-8\x20sequence','client_max_window_bits','conclude','sendFrame','_threshold','WS_NO_UTF_8_VALIDATE','IConfigService','isArray','text/html','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Unexpected\x20server\x20response:\x20','Invalid\x20Upgrade\x20header','_state','digest','_closeFrameSent','exports','clientNoContextTakeover','ws:','captureStackTrace','ws+unix:','unmask','reason','Invalid\x20Sec-WebSocket-Protocol\x20header'];_0x2956=function(){return _0x1fbfee;};return _0x2956();}var ve,ze;function he(){const _0x4c034f=_0x3db353;if(ze)return ve;ze=0x1;const _0x5b11ec=bt,_0x1b2ab4=ce(),_0x4d44fc=Pt(),{kStatusCode:_0x2324b1}=H(),_0x3e345f=Buffer[Symbol[_0x4c034f(0x1bf)]],_0x17e6fa=Buffer[_0x4c034f(0x2a9)]([0x0,0x0,0xff,0xff]),_0x39f324=Symbol('permessage-deflate'),_0x3064cf=Symbol(_0x4c034f(0x1a8)),_0x2afeb3=Symbol(_0x4c034f(0x2f9)),_0x2f430c=Symbol('buffers'),_0x1eca8f=Symbol(_0x4c034f(0x213));let _0x46dfe4;class _0x5aec34{constructor(_0x4c29c0,_0x2f782b,_0x1e2002){const _0x31817f=_0x4c034f;if(this[_0x31817f(0x1b4)]=_0x1e2002|0x0,this['_options']=_0x4c29c0||{},this[_0x31817f(0x241)]=this[_0x31817f(0x190)]['threshold']!==void 0x0?this[_0x31817f(0x190)][_0x31817f(0x1e5)]:0x400,this[_0x31817f(0x2c0)]=!!_0x2f782b,this[_0x31817f(0x2d3)]=null,this[_0x31817f(0x309)]=null,this[_0x31817f(0x2cb)]=null,!_0x46dfe4){const _0x3f2f57=this[_0x31817f(0x190)][_0x31817f(0x2ce)]!==void 0x0?this[_0x31817f(0x190)][_0x31817f(0x2ce)]:0xa;_0x46dfe4=new _0x4d44fc(_0x3f2f57);}}static get[_0x4c034f(0x1d0)](){const _0x46c0f6=_0x4c034f;return _0x46c0f6(0x311);}[_0x4c034f(0x268)](){const _0x493c3f=_0x4c034f,_0x395906={};return this[_0x493c3f(0x190)][_0x493c3f(0x23c)]&&(_0x395906['server_no_context_takeover']=!0x0),this[_0x493c3f(0x190)]['clientNoContextTakeover']&&(_0x395906['client_no_context_takeover']=!0x0),this[_0x493c3f(0x190)][_0x493c3f(0x265)]&&(_0x395906[_0x493c3f(0x1d5)]=this['_options'][_0x493c3f(0x265)]),this[_0x493c3f(0x190)]['clientMaxWindowBits']?_0x395906[_0x493c3f(0x23e)]=this[_0x493c3f(0x190)][_0x493c3f(0x300)]:this[_0x493c3f(0x190)][_0x493c3f(0x300)]==null&&(_0x395906[_0x493c3f(0x23e)]=!0x0),_0x395906;}[_0x4c034f(0x319)](_0x3c9a36){const _0x5d7d41=_0x4c034f;return _0x3c9a36=this[_0x5d7d41(0x196)](_0x3c9a36),this['params']=this[_0x5d7d41(0x2c0)]?this[_0x5d7d41(0x1bb)](_0x3c9a36):this[_0x5d7d41(0x301)](_0x3c9a36),this['params'];}['cleanup'](){const _0x189ed4=_0x4c034f;if(this['_inflate']&&(this[_0x189ed4(0x309)][_0x189ed4(0x231)](),this[_0x189ed4(0x309)]=null),this['_deflate']){const _0x5c0a9f=this[_0x189ed4(0x2d3)][_0x2afeb3];this['_deflate']['close'](),this[_0x189ed4(0x2d3)]=null,_0x5c0a9f&&_0x5c0a9f(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x4c034f(0x1bb)](_0x55f10d){const _0x482b15=_0x4c034f,_0x14aba3=this[_0x482b15(0x190)],_0x57cff1=_0x55f10d[_0x482b15(0x22f)](_0x206641=>!(_0x14aba3['serverNoContextTakeover']===!0x1&&_0x206641[_0x482b15(0x208)]||_0x206641[_0x482b15(0x1d5)]&&(_0x14aba3[_0x482b15(0x265)]===!0x1||typeof _0x14aba3[_0x482b15(0x265)]==_0x482b15(0x1eb)&&_0x14aba3['serverMaxWindowBits']>_0x206641[_0x482b15(0x1d5)])||typeof _0x14aba3[_0x482b15(0x300)]==_0x482b15(0x1eb)&&!_0x206641[_0x482b15(0x23e)]));if(!_0x57cff1)throw new Error(_0x482b15(0x25a));return _0x14aba3[_0x482b15(0x23c)]&&(_0x57cff1[_0x482b15(0x208)]=!0x0),_0x14aba3[_0x482b15(0x24d)]&&(_0x57cff1[_0x482b15(0x17e)]=!0x0),typeof _0x14aba3[_0x482b15(0x265)]==_0x482b15(0x1eb)&&(_0x57cff1[_0x482b15(0x1d5)]=_0x14aba3[_0x482b15(0x265)]),typeof _0x14aba3[_0x482b15(0x300)]==_0x482b15(0x1eb)?_0x57cff1[_0x482b15(0x23e)]=_0x14aba3[_0x482b15(0x300)]:(_0x57cff1[_0x482b15(0x23e)]===!0x0||_0x14aba3[_0x482b15(0x300)]===!0x1)&&delete _0x57cff1[_0x482b15(0x23e)],_0x57cff1;}[_0x4c034f(0x301)](_0x42927e){const _0x3696cc=_0x4c034f,_0x40aaa2=_0x42927e[0x0];if(this[_0x3696cc(0x190)][_0x3696cc(0x24d)]===!0x1&&_0x40aaa2['client_no_context_takeover'])throw new Error(_0x3696cc(0x2c1));if(!_0x40aaa2[_0x3696cc(0x23e)])typeof this['_options'][_0x3696cc(0x300)]==_0x3696cc(0x1eb)&&(_0x40aaa2['client_max_window_bits']=this[_0x3696cc(0x190)][_0x3696cc(0x300)]);else{if(this['_options'][_0x3696cc(0x300)]===!0x1||typeof this['_options'][_0x3696cc(0x300)]==_0x3696cc(0x1eb)&&_0x40aaa2[_0x3696cc(0x23e)]>this[_0x3696cc(0x190)]['clientMaxWindowBits'])throw new Error(_0x3696cc(0x33e));}return _0x40aaa2;}['normalizeParams'](_0x48278d){const _0x41b930=_0x4c034f;return _0x48278d[_0x41b930(0x1b0)](_0x3d343c=>{const _0xf6336c=_0x41b930;Object[_0xf6336c(0x17c)](_0x3d343c)[_0xf6336c(0x1b0)](_0x1fb136=>{const _0x4f26ba=_0xf6336c;let _0x756129=_0x3d343c[_0x1fb136];if(_0x756129['length']>0x1)throw new Error(_0x4f26ba(0x17b)+_0x1fb136+_0x4f26ba(0x174));if(_0x756129=_0x756129[0x0],_0x1fb136==='client_max_window_bits'){if(_0x756129!==!0x0){const _0x5f108c=+_0x756129;if(!Number['isInteger'](_0x5f108c)||_0x5f108c<0x8||_0x5f108c>0xf)throw new TypeError(_0x4f26ba(0x1a4)+_0x1fb136+_0x4f26ba(0x326)+_0x756129);_0x756129=_0x5f108c;}else{if(!this[_0x4f26ba(0x2c0)])throw new TypeError(_0x4f26ba(0x1a4)+_0x1fb136+_0x4f26ba(0x326)+_0x756129);}}else{if(_0x1fb136===_0x4f26ba(0x1d5)){const _0x1c1570=+_0x756129;if(!Number[_0x4f26ba(0x18f)](_0x1c1570)||_0x1c1570<0x8||_0x1c1570>0xf)throw new TypeError(_0x4f26ba(0x1a4)+_0x1fb136+_0x4f26ba(0x326)+_0x756129);_0x756129=_0x1c1570;}else{if(_0x1fb136==='client_no_context_takeover'||_0x1fb136===_0x4f26ba(0x208)){if(_0x756129!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1fb136+_0x4f26ba(0x326)+_0x756129);}else throw new Error(_0x4f26ba(0x26d)+_0x1fb136+'\x22');}}_0x3d343c[_0x1fb136]=_0x756129;});}),_0x48278d;}[_0x4c034f(0x260)](_0x9623e4,_0x1fa1e4,_0x256173){const _0x561f63=_0x4c034f;_0x46dfe4[_0x561f63(0x2bc)](_0x310f17=>{const _0x4173d7=_0x561f63;this[_0x4173d7(0x26a)](_0x9623e4,_0x1fa1e4,(_0x2e32ab,_0x2728ce)=>{_0x310f17(),_0x256173(_0x2e32ab,_0x2728ce);});});}[_0x4c034f(0x230)](_0x7144e5,_0x1bc7fb,_0x2dca88){const _0x15a7ce=_0x4c034f;_0x46dfe4[_0x15a7ce(0x2bc)](_0x130961=>{const _0x101e1b=_0x15a7ce;this[_0x101e1b(0x1a9)](_0x7144e5,_0x1bc7fb,(_0x199815,_0x46eb39)=>{_0x130961(),_0x2dca88(_0x199815,_0x46eb39);});});}[_0x4c034f(0x26a)](_0x1a64e8,_0x4d9921,_0x7c72c2){const _0x21bad6=_0x4c034f,_0x33feea=this[_0x21bad6(0x2c0)]?_0x21bad6(0x1b3):_0x21bad6(0x236);if(!this['_inflate']){const _0x52902e=_0x33feea+_0x21bad6(0x336),_0x2413bf=typeof this[_0x21bad6(0x2cb)][_0x52902e]!=_0x21bad6(0x1eb)?_0x5b11ec[_0x21bad6(0x22b)]:this[_0x21bad6(0x2cb)][_0x52902e];this[_0x21bad6(0x309)]=_0x5b11ec[_0x21bad6(0x2da)]({...this[_0x21bad6(0x190)][_0x21bad6(0x2cd)],'windowBits':_0x2413bf}),this['_inflate'][_0x39f324]=this,this['_inflate'][_0x3064cf]=0x0,this[_0x21bad6(0x309)][_0x2f430c]=[],this[_0x21bad6(0x309)]['on'](_0x21bad6(0x213),_0x59f1ff),this[_0x21bad6(0x309)]['on'](_0x21bad6(0x2e0),_0x147194);}this[_0x21bad6(0x309)][_0x2afeb3]=_0x7c72c2,this[_0x21bad6(0x309)][_0x21bad6(0x303)](_0x1a64e8),_0x4d9921&&this[_0x21bad6(0x309)][_0x21bad6(0x303)](_0x17e6fa),this[_0x21bad6(0x309)][_0x21bad6(0x1f4)](()=>{const _0x42fb2b=_0x21bad6,_0x239f49=this[_0x42fb2b(0x309)][_0x1eca8f];if(_0x239f49){this[_0x42fb2b(0x309)][_0x42fb2b(0x231)](),this[_0x42fb2b(0x309)]=null,_0x7c72c2(_0x239f49);return;}const _0xfd6680=_0x1b2ab4[_0x42fb2b(0x229)](this[_0x42fb2b(0x309)][_0x2f430c],this[_0x42fb2b(0x309)][_0x3064cf]);this[_0x42fb2b(0x309)][_0x42fb2b(0x223)]['endEmitted']?(this[_0x42fb2b(0x309)][_0x42fb2b(0x231)](),this['_inflate']=null):(this['_inflate'][_0x3064cf]=0x0,this[_0x42fb2b(0x309)][_0x2f430c]=[],_0x4d9921&&this['params'][_0x33feea+_0x42fb2b(0x2e5)]&&this[_0x42fb2b(0x309)][_0x42fb2b(0x221)]()),_0x7c72c2(null,_0xfd6680);});}[_0x4c034f(0x1a9)](_0x26dc85,_0x1b1b4c,_0x125ba4){const _0x120537=_0x4c034f,_0x320e33=this['_isServer']?_0x120537(0x236):_0x120537(0x1b3);if(!this[_0x120537(0x2d3)]){const _0x41c49d=_0x320e33+_0x120537(0x336),_0x4d1f95=typeof this[_0x120537(0x2cb)][_0x41c49d]!=_0x120537(0x1eb)?_0x5b11ec[_0x120537(0x22b)]:this[_0x120537(0x2cb)][_0x41c49d];this['_deflate']=_0x5b11ec['createDeflateRaw']({...this[_0x120537(0x190)][_0x120537(0x30b)],'windowBits':_0x4d1f95}),this['_deflate'][_0x3064cf]=0x0,this[_0x120537(0x2d3)][_0x2f430c]=[],this[_0x120537(0x2d3)]['on'](_0x120537(0x2e0),_0x47c971);}this['_deflate'][_0x2afeb3]=_0x125ba4,this[_0x120537(0x2d3)][_0x120537(0x303)](_0x26dc85),this[_0x120537(0x2d3)][_0x120537(0x1f4)](_0x5b11ec[_0x120537(0x317)],()=>{const _0x4d918f=_0x120537;if(!this[_0x4d918f(0x2d3)])return;let _0xaec015=_0x1b2ab4[_0x4d918f(0x229)](this['_deflate'][_0x2f430c],this[_0x4d918f(0x2d3)][_0x3064cf]);_0x1b1b4c&&(_0xaec015=new _0x3e345f(_0xaec015[_0x4d918f(0x216)],_0xaec015[_0x4d918f(0x2ca)],_0xaec015[_0x4d918f(0x1c7)]-0x4)),this['_deflate'][_0x2afeb3]=null,this[_0x4d918f(0x2d3)][_0x3064cf]=0x0,this[_0x4d918f(0x2d3)][_0x2f430c]=[],_0x1b1b4c&&this['params'][_0x320e33+'_no_context_takeover']&&this[_0x4d918f(0x2d3)][_0x4d918f(0x221)](),_0x125ba4(null,_0xaec015);});}}ve=_0x5aec34;function _0x47c971(_0x32563c){const _0x5a4173=_0x4c034f;this[_0x2f430c][_0x5a4173(0x25b)](_0x32563c),this[_0x3064cf]+=_0x32563c[_0x5a4173(0x1c7)];}function _0x147194(_0x1f1030){const _0x262f4a=_0x4c034f;if(this[_0x3064cf]+=_0x1f1030[_0x262f4a(0x1c7)],this[_0x39f324]['_maxPayload']<0x1||this[_0x3064cf]<=this[_0x39f324][_0x262f4a(0x1b4)]){this[_0x2f430c][_0x262f4a(0x25b)](_0x1f1030);return;}this[_0x1eca8f]=new RangeError(_0x262f4a(0x232)),this[_0x1eca8f]['code']='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x1eca8f][_0x2324b1]=0x3f1,this[_0x262f4a(0x225)](_0x262f4a(0x2e0),_0x147194),this[_0x262f4a(0x221)]();}function _0x59f1ff(_0x329c38){const _0x12d5a6=_0x4c034f;this[_0x39f324][_0x12d5a6(0x309)]=null,_0x329c38[_0x2324b1]=0x3ef,this[_0x2afeb3](_0x329c38);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x3db353(0x32c)](Object[_0x3db353(0x22c)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x3db353(0x19d)})),Bt=at(Rt);var Ye;function ae(){const _0x5727a5=_0x3db353;if(Ye)return ie[_0x5727a5(0x24c)];Ye=0x1;const {isUtf8:_0x36d4b5}=wt,{hasBlob:_0x4ed6c4}=H(),_0x44c8e7=[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 _0x502d9e(_0x23bc5a){return _0x23bc5a>=0x3e8&&_0x23bc5a<=0x3f6&&_0x23bc5a!==0x3ec&&_0x23bc5a!==0x3ed&&_0x23bc5a!==0x3ee||_0x23bc5a>=0xbb8&&_0x23bc5a<=0x1387;}function _0x196b25(_0x404257){const _0x441624=_0x5727a5,_0x5a668e=_0x404257[_0x441624(0x1c7)];let _0x9d5044=0x0;for(;_0x9d5044<_0x5a668e;)if((_0x404257[_0x9d5044]&0x80)===0x0)_0x9d5044++;else{if((_0x404257[_0x9d5044]&0xe0)===0xc0){if(_0x9d5044+0x1===_0x5a668e||(_0x404257[_0x9d5044+0x1]&0xc0)!==0x80||(_0x404257[_0x9d5044]&0xfe)===0xc0)return!0x1;_0x9d5044+=0x2;}else{if((_0x404257[_0x9d5044]&0xf0)===0xe0){if(_0x9d5044+0x2>=_0x5a668e||(_0x404257[_0x9d5044+0x1]&0xc0)!==0x80||(_0x404257[_0x9d5044+0x2]&0xc0)!==0x80||_0x404257[_0x9d5044]===0xe0&&(_0x404257[_0x9d5044+0x1]&0xe0)===0x80||_0x404257[_0x9d5044]===0xed&&(_0x404257[_0x9d5044+0x1]&0xe0)===0xa0)return!0x1;_0x9d5044+=0x3;}else{if((_0x404257[_0x9d5044]&0xf8)===0xf0){if(_0x9d5044+0x3>=_0x5a668e||(_0x404257[_0x9d5044+0x1]&0xc0)!==0x80||(_0x404257[_0x9d5044+0x2]&0xc0)!==0x80||(_0x404257[_0x9d5044+0x3]&0xc0)!==0x80||_0x404257[_0x9d5044]===0xf0&&(_0x404257[_0x9d5044+0x1]&0xf0)===0x80||_0x404257[_0x9d5044]===0xf4&&_0x404257[_0x9d5044+0x1]>0x8f||_0x404257[_0x9d5044]>0xf4)return!0x1;_0x9d5044+=0x4;}else return!0x1;}}}return!0x0;}function _0x561698(_0x4480ba){const _0x121d53=_0x5727a5;return _0x4ed6c4&&typeof _0x4480ba==_0x121d53(0x18b)&&typeof _0x4480ba['arrayBuffer']==_0x121d53(0x2de)&&typeof _0x4480ba[_0x121d53(0x2fc)]=='string'&&typeof _0x4480ba[_0x121d53(0x194)]==_0x121d53(0x2de)&&(_0x4480ba[Symbol[_0x121d53(0x1d8)]]===_0x121d53(0x26f)||_0x4480ba[Symbol['toStringTag']]===_0x121d53(0x218));}if(ie['exports']={'isBlob':_0x561698,'isValidStatusCode':_0x502d9e,'isValidUTF8':_0x196b25,'tokenChars':_0x44c8e7},_0x36d4b5)ie[_0x5727a5(0x24c)]['isValidUTF8']=function(_0x177583){const _0x1435f9=_0x5727a5;return _0x177583[_0x1435f9(0x1c7)]<0x18?_0x196b25(_0x177583):_0x36d4b5(_0x177583);};else{if(!process['env'][_0x5727a5(0x242)])try{const _0x4c8a05=Bt;ie['exports'][_0x5727a5(0x1ed)]=function(_0x1efd41){return _0x1efd41['length']<0x20?_0x196b25(_0x1efd41):_0x4c8a05(_0x1efd41);};}catch{}}return ie[_0x5727a5(0x24c)];}var Se,Ke;function lt(){const _0x14c367=_0x3db353;if(Ke)return Se;Ke=0x1;const {Writable:_0x4b1017}=oe,_0x291577=he(),{BINARY_TYPES:_0x4c3436,EMPTY_BUFFER:_0xa30e0b,kStatusCode:_0x5403bf,kWebSocket:_0x374014}=H(),{concat:_0x293d69,toArrayBuffer:_0x44aebd,unmask:_0x1c18f3}=ce(),{isValidStatusCode:_0x49feb9,isValidUTF8:_0xb3bc77}=ae(),_0x3f548c=Buffer[Symbol[_0x14c367(0x1bf)]],_0x167eb3=0x0,_0x3ff57b=0x1,_0x56ad47=0x2,_0x5d2a4a=0x3,_0x1ec9cc=0x4,_0x497459=0x5,_0x5e42f6=0x6;class _0x44682d extends _0x4b1017{constructor(_0x2ea078={}){const _0x45f145=_0x14c367;super(),this[_0x45f145(0x332)]=_0x2ea078[_0x45f145(0x183)]!==void 0x0?_0x2ea078[_0x45f145(0x183)]:!0x0,this[_0x45f145(0x29d)]=_0x2ea078[_0x45f145(0x30e)]||_0x4c3436[0x0],this[_0x45f145(0x295)]=_0x2ea078[_0x45f145(0x1a6)]||{},this[_0x45f145(0x2c0)]=!!_0x2ea078[_0x45f145(0x20b)],this[_0x45f145(0x1b4)]=_0x2ea078[_0x45f145(0x312)]|0x0,this[_0x45f145(0x1d4)]=!!_0x2ea078[_0x45f145(0x1f0)],this[_0x374014]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this[_0x45f145(0x235)]=!0x1,this['_payloadLength']=0x0,this[_0x45f145(0x212)]=void 0x0,this[_0x45f145(0x30d)]=0x0,this['_masked']=!0x1,this[_0x45f145(0x2bf)]=!0x1,this[_0x45f145(0x32f)]=0x0,this[_0x45f145(0x192)]=0x0,this[_0x45f145(0x2b9)]=0x0,this[_0x45f145(0x202)]=[],this[_0x45f145(0x291)]=!0x1,this[_0x45f145(0x2f4)]=!0x1,this[_0x45f145(0x249)]=_0x167eb3;}[_0x14c367(0x284)](_0x1ddfed,_0x4f3406,_0x302158){const _0x33f856=_0x14c367;if(this[_0x33f856(0x32f)]===0x8&&this['_state']==_0x167eb3)return _0x302158();this[_0x33f856(0x2cc)]+=_0x1ddfed[_0x33f856(0x1c7)],this[_0x33f856(0x266)][_0x33f856(0x25b)](_0x1ddfed),this['startLoop'](_0x302158);}[_0x14c367(0x2b2)](_0x160d64){const _0x374ac1=_0x14c367;if(this['_bufferedBytes']-=_0x160d64,_0x160d64===this[_0x374ac1(0x266)][0x0][_0x374ac1(0x1c7)])return this[_0x374ac1(0x266)][_0x374ac1(0x2d6)]();if(_0x160d64<this[_0x374ac1(0x266)][0x0][_0x374ac1(0x1c7)]){const _0x3b1fd0=this[_0x374ac1(0x266)][0x0];return this[_0x374ac1(0x266)][0x0]=new _0x3f548c(_0x3b1fd0['buffer'],_0x3b1fd0[_0x374ac1(0x2ca)]+_0x160d64,_0x3b1fd0[_0x374ac1(0x1c7)]-_0x160d64),new _0x3f548c(_0x3b1fd0[_0x374ac1(0x216)],_0x3b1fd0['byteOffset'],_0x160d64);}const _0x4ead7a=Buffer[_0x374ac1(0x2e7)](_0x160d64);do{const _0x33d194=this[_0x374ac1(0x266)][0x0],_0x533be9=_0x4ead7a[_0x374ac1(0x1c7)]-_0x160d64;_0x160d64>=_0x33d194[_0x374ac1(0x1c7)]?_0x4ead7a[_0x374ac1(0x1cd)](this[_0x374ac1(0x266)][_0x374ac1(0x2d6)](),_0x533be9):(_0x4ead7a[_0x374ac1(0x1cd)](new Uint8Array(_0x33d194[_0x374ac1(0x216)],_0x33d194[_0x374ac1(0x2ca)],_0x160d64),_0x533be9),this[_0x374ac1(0x266)][0x0]=new _0x3f548c(_0x33d194[_0x374ac1(0x216)],_0x33d194['byteOffset']+_0x160d64,_0x33d194[_0x374ac1(0x1c7)]-_0x160d64)),_0x160d64-=_0x33d194[_0x374ac1(0x1c7)];}while(_0x160d64>0x0);return _0x4ead7a;}['startLoop'](_0x31a01e){const _0x3a1b83=_0x14c367;this[_0x3a1b83(0x2f4)]=!0x0;do switch(this['_state']){case _0x167eb3:this[_0x3a1b83(0x1fe)](_0x31a01e);break;case _0x3ff57b:this['getPayloadLength16'](_0x31a01e);break;case _0x56ad47:this[_0x3a1b83(0x176)](_0x31a01e);break;case _0x5d2a4a:this[_0x3a1b83(0x26b)]();break;case _0x1ec9cc:this[_0x3a1b83(0x1f5)](_0x31a01e);break;case _0x497459:case _0x5e42f6:this[_0x3a1b83(0x2f4)]=!0x1;return;}while(this[_0x3a1b83(0x2f4)]);this[_0x3a1b83(0x291)]||_0x31a01e();}['getInfo'](_0x2b3b08){const _0xdeee0=_0x14c367;if(this[_0xdeee0(0x2cc)]<0x2){this['_loop']=!0x1;return;}const _0x1d330b=this[_0xdeee0(0x2b2)](0x2);if((_0x1d330b[0x0]&0x30)!==0x0){const _0x28f0dc=this['createError'](RangeError,_0xdeee0(0x2f2),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x2b3b08(_0x28f0dc);return;}const _0x4f0a73=(_0x1d330b[0x0]&0x40)===0x40;if(_0x4f0a73&&!this[_0xdeee0(0x295)][_0x291577[_0xdeee0(0x1d0)]]){const _0x194ad7=this[_0xdeee0(0x211)](RangeError,_0xdeee0(0x2d4),!0x0,0x3ea,_0xdeee0(0x187));_0x2b3b08(_0x194ad7);return;}if(this['_fin']=(_0x1d330b[0x0]&0x80)===0x80,this[_0xdeee0(0x32f)]=_0x1d330b[0x0]&0xf,this[_0xdeee0(0x21b)]=_0x1d330b[0x1]&0x7f,this[_0xdeee0(0x32f)]===0x0){if(_0x4f0a73){const _0x32a287=this[_0xdeee0(0x211)](RangeError,_0xdeee0(0x2d4),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x2b3b08(_0x32a287);return;}if(!this[_0xdeee0(0x30d)]){const _0x4547dc=this['createError'](RangeError,_0xdeee0(0x2ae),!0x0,0x3ea,_0xdeee0(0x2d7));_0x2b3b08(_0x4547dc);return;}this[_0xdeee0(0x32f)]=this[_0xdeee0(0x30d)];}else{if(this[_0xdeee0(0x32f)]===0x1||this[_0xdeee0(0x32f)]===0x2){if(this[_0xdeee0(0x30d)]){const _0x286e32=this[_0xdeee0(0x211)](RangeError,_0xdeee0(0x285)+this[_0xdeee0(0x32f)],!0x0,0x3ea,_0xdeee0(0x2d7));_0x2b3b08(_0x286e32);return;}this['_compressed']=_0x4f0a73;}else{if(this[_0xdeee0(0x32f)]>0x7&&this['_opcode']<0xb){if(!this[_0xdeee0(0x2bf)]){const _0x23ed26=this[_0xdeee0(0x211)](RangeError,_0xdeee0(0x204),!0x0,0x3ea,_0xdeee0(0x2b4));_0x2b3b08(_0x23ed26);return;}if(_0x4f0a73){const _0x408308=this[_0xdeee0(0x211)](RangeError,_0xdeee0(0x2d4),!0x0,0x3ea,_0xdeee0(0x187));_0x2b3b08(_0x408308);return;}if(this[_0xdeee0(0x21b)]>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x5b771d=this[_0xdeee0(0x211)](RangeError,_0xdeee0(0x1b7)+this[_0xdeee0(0x21b)],!0x0,0x3ea,_0xdeee0(0x20a));_0x2b3b08(_0x5b771d);return;}}else{const _0x7bb544=this[_0xdeee0(0x211)](RangeError,_0xdeee0(0x285)+this[_0xdeee0(0x32f)],!0x0,0x3ea,_0xdeee0(0x2d7));_0x2b3b08(_0x7bb544);return;}}}if(!this[_0xdeee0(0x2bf)]&&!this[_0xdeee0(0x30d)]&&(this[_0xdeee0(0x30d)]=this[_0xdeee0(0x32f)]),this[_0xdeee0(0x2a5)]=(_0x1d330b[0x1]&0x80)===0x80,this[_0xdeee0(0x2c0)]){if(!this[_0xdeee0(0x2a5)]){const _0xbd80e2=this[_0xdeee0(0x211)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0xdeee0(0x224));_0x2b3b08(_0xbd80e2);return;}}else{if(this[_0xdeee0(0x2a5)]){const _0x605932=this[_0xdeee0(0x211)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0xdeee0(0x330));_0x2b3b08(_0x605932);return;}}this[_0xdeee0(0x21b)]===0x7e?this[_0xdeee0(0x249)]=_0x3ff57b:this[_0xdeee0(0x21b)]===0x7f?this[_0xdeee0(0x249)]=_0x56ad47:this[_0xdeee0(0x177)](_0x2b3b08);}['getPayloadLength16'](_0x90ff4){const _0x1f165c=_0x14c367;if(this[_0x1f165c(0x2cc)]<0x2){this[_0x1f165c(0x2f4)]=!0x1;return;}this[_0x1f165c(0x21b)]=this[_0x1f165c(0x2b2)](0x2)[_0x1f165c(0x286)](0x0),this[_0x1f165c(0x177)](_0x90ff4);}[_0x14c367(0x176)](_0x4edd56){const _0x23cf3b=_0x14c367;if(this['_bufferedBytes']<0x8){this[_0x23cf3b(0x2f4)]=!0x1;return;}const _0x5d9290=this[_0x23cf3b(0x2b2)](0x8),_0x39d18f=_0x5d9290[_0x23cf3b(0x2ab)](0x0);if(_0x39d18f>Math[_0x23cf3b(0x217)](0x2,0x15)-0x1){const _0x525f0f=this[_0x23cf3b(0x211)](RangeError,_0x23cf3b(0x33a),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x4edd56(_0x525f0f);return;}this['_payloadLength']=_0x39d18f*Math[_0x23cf3b(0x217)](0x2,0x20)+_0x5d9290[_0x23cf3b(0x2ab)](0x4),this[_0x23cf3b(0x177)](_0x4edd56);}['haveLength'](_0x57fe47){const _0x4cd9bf=_0x14c367;if(this['_payloadLength']&&this[_0x4cd9bf(0x32f)]<0x8&&(this['_totalPayloadLength']+=this['_payloadLength'],this[_0x4cd9bf(0x192)]>this[_0x4cd9bf(0x1b4)]&&this[_0x4cd9bf(0x1b4)]>0x0)){const _0x4eedc2=this[_0x4cd9bf(0x211)](RangeError,_0x4cd9bf(0x232),!0x1,0x3f1,_0x4cd9bf(0x1c4));_0x57fe47(_0x4eedc2);return;}this[_0x4cd9bf(0x2a5)]?this[_0x4cd9bf(0x249)]=_0x5d2a4a:this['_state']=_0x1ec9cc;}['getMask'](){const _0x29d10d=_0x14c367;if(this[_0x29d10d(0x2cc)]<0x4){this[_0x29d10d(0x2f4)]=!0x1;return;}this[_0x29d10d(0x212)]=this['consume'](0x4),this[_0x29d10d(0x249)]=_0x1ec9cc;}[_0x14c367(0x1f5)](_0x4de035){const _0x326621=_0x14c367;let _0xea1d78=_0xa30e0b;if(this[_0x326621(0x21b)]){if(this['_bufferedBytes']<this['_payloadLength']){this[_0x326621(0x2f4)]=!0x1;return;}_0xea1d78=this[_0x326621(0x2b2)](this['_payloadLength']),this[_0x326621(0x2a5)]&&(this[_0x326621(0x212)][0x0]|this[_0x326621(0x212)][0x1]|this[_0x326621(0x212)][0x2]|this[_0x326621(0x212)][0x3])!==0x0&&_0x1c18f3(_0xea1d78,this[_0x326621(0x212)]);}if(this[_0x326621(0x32f)]>0x7){this[_0x326621(0x256)](_0xea1d78,_0x4de035);return;}if(this['_compressed']){this['_state']=_0x497459,this[_0x326621(0x260)](_0xea1d78,_0x4de035);return;}_0xea1d78[_0x326621(0x1c7)]&&(this['_messageLength']=this[_0x326621(0x192)],this['_fragments']['push'](_0xea1d78)),this['dataMessage'](_0x4de035);}[_0x14c367(0x260)](_0x4c29f,_0x58d31d){const _0x35a768=_0x14c367;this['_extensions'][_0x291577[_0x35a768(0x1d0)]][_0x35a768(0x260)](_0x4c29f,this[_0x35a768(0x2bf)],(_0x36db6e,_0x18cf37)=>{const _0x28d6ef=_0x35a768;if(_0x36db6e)return _0x58d31d(_0x36db6e);if(_0x18cf37['length']){if(this[_0x28d6ef(0x2b9)]+=_0x18cf37[_0x28d6ef(0x1c7)],this[_0x28d6ef(0x2b9)]>this[_0x28d6ef(0x1b4)]&&this['_maxPayload']>0x0){const _0x113ffd=this[_0x28d6ef(0x211)](RangeError,_0x28d6ef(0x232),!0x1,0x3f1,_0x28d6ef(0x1c4));_0x58d31d(_0x113ffd);return;}this[_0x28d6ef(0x202)][_0x28d6ef(0x25b)](_0x18cf37);}this[_0x28d6ef(0x1ea)](_0x58d31d),this[_0x28d6ef(0x249)]===_0x167eb3&&this[_0x28d6ef(0x31b)](_0x58d31d);});}[_0x14c367(0x1ea)](_0x27dede){const _0x4262bf=_0x14c367;if(!this['_fin']){this[_0x4262bf(0x249)]=_0x167eb3;return;}const _0x4e8a03=this['_messageLength'],_0x567441=this['_fragments'];if(this[_0x4262bf(0x192)]=0x0,this[_0x4262bf(0x2b9)]=0x0,this[_0x4262bf(0x30d)]=0x0,this[_0x4262bf(0x202)]=[],this[_0x4262bf(0x32f)]===0x2){let _0x2f3501;this[_0x4262bf(0x29d)]===_0x4262bf(0x277)?_0x2f3501=_0x293d69(_0x567441,_0x4e8a03):this['_binaryType']===_0x4262bf(0x2ea)?_0x2f3501=_0x44aebd(_0x293d69(_0x567441,_0x4e8a03)):this['_binaryType']===_0x4262bf(0x2d2)?_0x2f3501=new Blob(_0x567441):_0x2f3501=_0x567441,this['_allowSynchronousEvents']?(this['emit'](_0x4262bf(0x210),_0x2f3501,!0x0),this[_0x4262bf(0x249)]=_0x167eb3):(this[_0x4262bf(0x249)]=_0x5e42f6,setImmediate(()=>{const _0x5c8b29=_0x4262bf;this[_0x5c8b29(0x21a)](_0x5c8b29(0x210),_0x2f3501,!0x0),this[_0x5c8b29(0x249)]=_0x167eb3,this['startLoop'](_0x27dede);}));}else{const _0x3e312d=_0x293d69(_0x567441,_0x4e8a03);if(!this[_0x4262bf(0x1d4)]&&!_0xb3bc77(_0x3e312d)){const _0x20be37=this[_0x4262bf(0x211)](Error,_0x4262bf(0x23d),!0x0,0x3ef,_0x4262bf(0x2e8));_0x27dede(_0x20be37);return;}this[_0x4262bf(0x249)]===_0x497459||this[_0x4262bf(0x332)]?(this[_0x4262bf(0x21a)](_0x4262bf(0x210),_0x3e312d,!0x1),this[_0x4262bf(0x249)]=_0x167eb3):(this['_state']=_0x5e42f6,setImmediate(()=>{const _0x3740ca=_0x4262bf;this[_0x3740ca(0x21a)]('message',_0x3e312d,!0x1),this['_state']=_0x167eb3,this[_0x3740ca(0x31b)](_0x27dede);}));}}[_0x14c367(0x256)](_0x541d37,_0x2eaaa6){const _0x1bd122=_0x14c367;if(this[_0x1bd122(0x32f)]===0x8){if(_0x541d37[_0x1bd122(0x1c7)]===0x0)this['_loop']=!0x1,this[_0x1bd122(0x21a)](_0x1bd122(0x23f),0x3ed,_0xa30e0b),this[_0x1bd122(0x27e)]();else{const _0x334587=_0x541d37['readUInt16BE'](0x0);if(!_0x49feb9(_0x334587)){const _0x23dfaa=this[_0x1bd122(0x211)](RangeError,'invalid\x20status\x20code\x20'+_0x334587,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x2eaaa6(_0x23dfaa);return;}const _0x36f589=new _0x3f548c(_0x541d37[_0x1bd122(0x216)],_0x541d37[_0x1bd122(0x2ca)]+0x2,_0x541d37[_0x1bd122(0x1c7)]-0x2);if(!this[_0x1bd122(0x1d4)]&&!_0xb3bc77(_0x36f589)){const _0xeeeec4=this['createError'](Error,_0x1bd122(0x23d),!0x0,0x3ef,_0x1bd122(0x2e8));_0x2eaaa6(_0xeeeec4);return;}this['_loop']=!0x1,this[_0x1bd122(0x21a)](_0x1bd122(0x23f),_0x334587,_0x36f589),this[_0x1bd122(0x27e)]();}this[_0x1bd122(0x249)]=_0x167eb3;return;}this[_0x1bd122(0x332)]?(this[_0x1bd122(0x21a)](this[_0x1bd122(0x32f)]===0x9?_0x1bd122(0x26c):'pong',_0x541d37),this[_0x1bd122(0x249)]=_0x167eb3):(this['_state']=_0x5e42f6,setImmediate(()=>{const _0x1795bd=_0x1bd122;this[_0x1795bd(0x21a)](this[_0x1795bd(0x32f)]===0x9?_0x1795bd(0x26c):_0x1795bd(0x1e7),_0x541d37),this[_0x1795bd(0x249)]=_0x167eb3,this['startLoop'](_0x2eaaa6);}));}[_0x14c367(0x211)](_0x33a9dd,_0x5ec73a,_0x2492c1,_0xb6f272,_0x211dd3){const _0x2005c6=_0x14c367;this[_0x2005c6(0x2f4)]=!0x1,this[_0x2005c6(0x291)]=!0x0;const _0x1542c0=new _0x33a9dd(_0x2492c1?_0x2005c6(0x296)+_0x5ec73a:_0x5ec73a);return Error[_0x2005c6(0x24f)](_0x1542c0,this[_0x2005c6(0x211)]),_0x1542c0[_0x2005c6(0x1c1)]=_0x211dd3,_0x1542c0[_0x5403bf]=_0xb6f272,_0x1542c0;}}return Se=_0x44682d,Se;}var Ee,Xe;function ft(){const _0x4516fb=_0x3db353;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x1b93d4}=oe,{randomFillSync:_0x243537}=Le,_0x35f9fd=he(),{EMPTY_BUFFER:_0x5e210b,kWebSocket:_0x12cab3,NOOP:_0x22a03d}=H(),{isBlob:_0x443b9e,isValidStatusCode:_0x379d89}=ae(),{mask:_0xcf52da,toBuffer:_0x4ecd06}=ce(),_0x5cac95=Symbol(_0x4516fb(0x1e3)),_0x35c48b=Buffer[_0x4516fb(0x29f)](0x4),_0x337211=0x8*0x400;let _0x2474d2,_0x1355ff=_0x337211;const _0x2e53c9=0x0,_0xb07db7=0x1,_0x4b8338=0x2;class _0x134cbe{constructor(_0x3d6f71,_0x1340db,_0x5b4b72){const _0x24dfcf=_0x4516fb;this['_extensions']=_0x1340db||{},_0x5b4b72&&(this[_0x24dfcf(0x327)]=_0x5b4b72,this['_maskBuffer']=Buffer[_0x24dfcf(0x29f)](0x4)),this[_0x24dfcf(0x1dc)]=_0x3d6f71,this[_0x24dfcf(0x1d6)]=!0x0,this['_compress']=!0x1,this[_0x24dfcf(0x2cc)]=0x0,this['_queue']=[],this['_state']=_0x2e53c9,this[_0x24dfcf(0x1bc)]=_0x22a03d,this[_0x12cab3]=void 0x0;}static[_0x4516fb(0x306)](_0x474538,_0x380eec){const _0x58afce=_0x4516fb;let _0x465da4,_0x51b0f6=!0x1,_0x1ca44b=0x2,_0x3eea26=!0x1;_0x380eec[_0x58afce(0x226)]&&(_0x465da4=_0x380eec[_0x58afce(0x2f5)]||_0x35c48b,_0x380eec[_0x58afce(0x261)]?_0x380eec[_0x58afce(0x261)](_0x465da4):(_0x1355ff===_0x337211&&(_0x2474d2===void 0x0&&(_0x2474d2=Buffer['alloc'](_0x337211)),_0x243537(_0x2474d2,0x0,_0x337211),_0x1355ff=0x0),_0x465da4[0x0]=_0x2474d2[_0x1355ff++],_0x465da4[0x1]=_0x2474d2[_0x1355ff++],_0x465da4[0x2]=_0x2474d2[_0x1355ff++],_0x465da4[0x3]=_0x2474d2[_0x1355ff++]),_0x3eea26=(_0x465da4[0x0]|_0x465da4[0x1]|_0x465da4[0x2]|_0x465da4[0x3])===0x0,_0x1ca44b=0x6);let _0x12cdad;typeof _0x474538==_0x58afce(0x308)?(!_0x380eec[_0x58afce(0x226)]||_0x3eea26)&&_0x380eec[_0x5cac95]!==void 0x0?_0x12cdad=_0x380eec[_0x5cac95]:(_0x474538=Buffer[_0x58afce(0x2a9)](_0x474538),_0x12cdad=_0x474538['length']):(_0x12cdad=_0x474538['length'],_0x51b0f6=_0x380eec[_0x58afce(0x226)]&&_0x380eec[_0x58afce(0x28d)]&&!_0x3eea26);let _0x26503b=_0x12cdad;_0x12cdad>=0x10000?(_0x1ca44b+=0x8,_0x26503b=0x7f):_0x12cdad>0x7d&&(_0x1ca44b+=0x2,_0x26503b=0x7e);const _0x1a93c6=Buffer[_0x58afce(0x2e7)](_0x51b0f6?_0x12cdad+_0x1ca44b:_0x1ca44b);return _0x1a93c6[0x0]=_0x380eec[_0x58afce(0x17f)]?_0x380eec['opcode']|0x80:_0x380eec[_0x58afce(0x2ec)],_0x380eec['rsv1']&&(_0x1a93c6[0x0]|=0x40),_0x1a93c6[0x1]=_0x26503b,_0x26503b===0x7e?_0x1a93c6['writeUInt16BE'](_0x12cdad,0x2):_0x26503b===0x7f&&(_0x1a93c6[0x2]=_0x1a93c6[0x3]=0x0,_0x1a93c6[_0x58afce(0x2a7)](_0x12cdad,0x4,0x6)),_0x380eec['mask']?(_0x1a93c6[0x1]|=0x80,_0x1a93c6[_0x1ca44b-0x4]=_0x465da4[0x0],_0x1a93c6[_0x1ca44b-0x3]=_0x465da4[0x1],_0x1a93c6[_0x1ca44b-0x2]=_0x465da4[0x2],_0x1a93c6[_0x1ca44b-0x1]=_0x465da4[0x3],_0x3eea26?[_0x1a93c6,_0x474538]:_0x51b0f6?(_0xcf52da(_0x474538,_0x465da4,_0x1a93c6,_0x1ca44b,_0x12cdad),[_0x1a93c6]):(_0xcf52da(_0x474538,_0x465da4,_0x474538,0x0,_0x12cdad),[_0x1a93c6,_0x474538])):[_0x1a93c6,_0x474538];}['close'](_0x575ef3,_0x5bc672,_0x20daa3,_0x319054){const _0x36ba4b=_0x4516fb;let _0x56eb1a;if(_0x575ef3===void 0x0)_0x56eb1a=_0x5e210b;else{if(typeof _0x575ef3!=_0x36ba4b(0x1eb)||!_0x379d89(_0x575ef3))throw new TypeError(_0x36ba4b(0x262));if(_0x5bc672===void 0x0||!_0x5bc672['length'])_0x56eb1a=Buffer[_0x36ba4b(0x2e7)](0x2),_0x56eb1a[_0x36ba4b(0x30f)](_0x575ef3,0x0);else{const _0x4dfef8=Buffer[_0x36ba4b(0x2df)](_0x5bc672);if(_0x4dfef8>0x7b)throw new RangeError(_0x36ba4b(0x315));_0x56eb1a=Buffer['allocUnsafe'](0x2+_0x4dfef8),_0x56eb1a[_0x36ba4b(0x30f)](_0x575ef3,0x0),typeof _0x5bc672=='string'?_0x56eb1a['write'](_0x5bc672,0x2):_0x56eb1a[_0x36ba4b(0x1cd)](_0x5bc672,0x2);}}const _0x59eae7={[_0x5cac95]:_0x56eb1a[_0x36ba4b(0x1c7)],'fin':!0x0,'generateMask':this[_0x36ba4b(0x327)],'mask':_0x20daa3,'maskBuffer':this[_0x36ba4b(0x2c7)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x36ba4b(0x249)]!==_0x2e53c9?this['enqueue']([this['dispatch'],_0x56eb1a,!0x1,_0x59eae7,_0x319054]):this[_0x36ba4b(0x240)](_0x134cbe[_0x36ba4b(0x306)](_0x56eb1a,_0x59eae7),_0x319054);}[_0x4516fb(0x26c)](_0x16547b,_0x41de02,_0x178b38){const _0x3b895e=_0x4516fb;let _0x7d1744,_0x3a5f62;if(typeof _0x16547b==_0x3b895e(0x308)?(_0x7d1744=Buffer[_0x3b895e(0x2df)](_0x16547b),_0x3a5f62=!0x1):_0x443b9e(_0x16547b)?(_0x7d1744=_0x16547b[_0x3b895e(0x27b)],_0x3a5f62=!0x1):(_0x16547b=_0x4ecd06(_0x16547b),_0x7d1744=_0x16547b[_0x3b895e(0x1c7)],_0x3a5f62=_0x4ecd06[_0x3b895e(0x28d)]),_0x7d1744>0x7d)throw new RangeError(_0x3b895e(0x282));const _0x1b6c0d={[_0x5cac95]:_0x7d1744,'fin':!0x0,'generateMask':this[_0x3b895e(0x327)],'mask':_0x41de02,'maskBuffer':this[_0x3b895e(0x2c7)],'opcode':0x9,'readOnly':_0x3a5f62,'rsv1':!0x1};_0x443b9e(_0x16547b)?this[_0x3b895e(0x249)]!==_0x2e53c9?this[_0x3b895e(0x27d)]([this[_0x3b895e(0x2d8)],_0x16547b,!0x1,_0x1b6c0d,_0x178b38]):this[_0x3b895e(0x2d8)](_0x16547b,!0x1,_0x1b6c0d,_0x178b38):this['_state']!==_0x2e53c9?this[_0x3b895e(0x27d)]([this[_0x3b895e(0x30c)],_0x16547b,!0x1,_0x1b6c0d,_0x178b38]):this[_0x3b895e(0x240)](_0x134cbe['frame'](_0x16547b,_0x1b6c0d),_0x178b38);}[_0x4516fb(0x1e7)](_0x21e1b0,_0x4810b4,_0x10b12d){const _0x3212bc=_0x4516fb;let _0x3966fc,_0x90437d;if(typeof _0x21e1b0==_0x3212bc(0x308)?(_0x3966fc=Buffer['byteLength'](_0x21e1b0),_0x90437d=!0x1):_0x443b9e(_0x21e1b0)?(_0x3966fc=_0x21e1b0[_0x3212bc(0x27b)],_0x90437d=!0x1):(_0x21e1b0=_0x4ecd06(_0x21e1b0),_0x3966fc=_0x21e1b0[_0x3212bc(0x1c7)],_0x90437d=_0x4ecd06[_0x3212bc(0x28d)]),_0x3966fc>0x7d)throw new RangeError(_0x3212bc(0x282));const _0x112736={[_0x5cac95]:_0x3966fc,'fin':!0x0,'generateMask':this[_0x3212bc(0x327)],'mask':_0x4810b4,'maskBuffer':this[_0x3212bc(0x2c7)],'opcode':0xa,'readOnly':_0x90437d,'rsv1':!0x1};_0x443b9e(_0x21e1b0)?this[_0x3212bc(0x249)]!==_0x2e53c9?this[_0x3212bc(0x27d)]([this[_0x3212bc(0x2d8)],_0x21e1b0,!0x1,_0x112736,_0x10b12d]):this['getBlobData'](_0x21e1b0,!0x1,_0x112736,_0x10b12d):this['_state']!==_0x2e53c9?this[_0x3212bc(0x27d)]([this[_0x3212bc(0x30c)],_0x21e1b0,!0x1,_0x112736,_0x10b12d]):this['sendFrame'](_0x134cbe[_0x3212bc(0x306)](_0x21e1b0,_0x112736),_0x10b12d);}[_0x4516fb(0x2e3)](_0x1d386e,_0x49bb85,_0x146218){const _0x2b246b=_0x4516fb,_0x1b3c79=this[_0x2b246b(0x295)][_0x35f9fd[_0x2b246b(0x1d0)]];let _0x2dab33=_0x49bb85['binary']?0x2:0x1,_0x29db0f=_0x49bb85[_0x2b246b(0x230)],_0x40bbec,_0x4f4738;typeof _0x1d386e==_0x2b246b(0x308)?(_0x40bbec=Buffer[_0x2b246b(0x2df)](_0x1d386e),_0x4f4738=!0x1):_0x443b9e(_0x1d386e)?(_0x40bbec=_0x1d386e['size'],_0x4f4738=!0x1):(_0x1d386e=_0x4ecd06(_0x1d386e),_0x40bbec=_0x1d386e[_0x2b246b(0x1c7)],_0x4f4738=_0x4ecd06[_0x2b246b(0x28d)]),this[_0x2b246b(0x1d6)]?(this['_firstFragment']=!0x1,_0x29db0f&&_0x1b3c79&&_0x1b3c79[_0x2b246b(0x2cb)][_0x1b3c79[_0x2b246b(0x2c0)]?'server_no_context_takeover':_0x2b246b(0x17e)]&&(_0x29db0f=_0x40bbec>=_0x1b3c79[_0x2b246b(0x241)]),this[_0x2b246b(0x1a9)]=_0x29db0f):(_0x29db0f=!0x1,_0x2dab33=0x0),_0x49bb85[_0x2b246b(0x17f)]&&(this[_0x2b246b(0x1d6)]=!0x0);const _0x2f554c={[_0x5cac95]:_0x40bbec,'fin':_0x49bb85[_0x2b246b(0x17f)],'generateMask':this[_0x2b246b(0x327)],'mask':_0x49bb85[_0x2b246b(0x226)],'maskBuffer':this[_0x2b246b(0x2c7)],'opcode':_0x2dab33,'readOnly':_0x4f4738,'rsv1':_0x29db0f};_0x443b9e(_0x1d386e)?this[_0x2b246b(0x249)]!==_0x2e53c9?this[_0x2b246b(0x27d)]([this[_0x2b246b(0x2d8)],_0x1d386e,this[_0x2b246b(0x1a9)],_0x2f554c,_0x146218]):this['getBlobData'](_0x1d386e,this['_compress'],_0x2f554c,_0x146218):this[_0x2b246b(0x249)]!==_0x2e53c9?this[_0x2b246b(0x27d)]([this[_0x2b246b(0x30c)],_0x1d386e,this['_compress'],_0x2f554c,_0x146218]):this['dispatch'](_0x1d386e,this[_0x2b246b(0x1a9)],_0x2f554c,_0x146218);}[_0x4516fb(0x2d8)](_0x4e9612,_0x1e7e21,_0x532bfb,_0x5e6f00){const _0x269237=_0x4516fb;this['_bufferedBytes']+=_0x532bfb[_0x5cac95],this[_0x269237(0x249)]=_0x4b8338,_0x4e9612[_0x269237(0x1ee)]()[_0x269237(0x272)](_0x548755=>{const _0x330f1e=_0x269237;if(this[_0x330f1e(0x1dc)][_0x330f1e(0x20c)]){const _0x412c82=new Error(_0x330f1e(0x2db));process['nextTick'](_0x595640,this,_0x412c82,_0x5e6f00);return;}this[_0x330f1e(0x2cc)]-=_0x532bfb[_0x5cac95];const _0x46829e=_0x4ecd06(_0x548755);_0x1e7e21?this[_0x330f1e(0x30c)](_0x46829e,_0x1e7e21,_0x532bfb,_0x5e6f00):(this[_0x330f1e(0x249)]=_0x2e53c9,this[_0x330f1e(0x240)](_0x134cbe[_0x330f1e(0x306)](_0x46829e,_0x532bfb),_0x5e6f00),this[_0x330f1e(0x22a)]());})[_0x269237(0x2e4)](_0x468407=>{const _0x5b6323=_0x269237;process[_0x5b6323(0x209)](_0xfe867f,this,_0x468407,_0x5e6f00);});}[_0x4516fb(0x30c)](_0xfc240b,_0x32eb92,_0x1e205e,_0x31cfc8){const _0x2fff90=_0x4516fb;if(!_0x32eb92){this[_0x2fff90(0x240)](_0x134cbe[_0x2fff90(0x306)](_0xfc240b,_0x1e205e),_0x31cfc8);return;}const _0x34b0c7=this[_0x2fff90(0x295)][_0x35f9fd[_0x2fff90(0x1d0)]];this[_0x2fff90(0x2cc)]+=_0x1e205e[_0x5cac95],this['_state']=_0xb07db7,_0x34b0c7['compress'](_0xfc240b,_0x1e205e['fin'],(_0x1343e6,_0x4b8bd7)=>{const _0x44114b=_0x2fff90;if(this[_0x44114b(0x1dc)][_0x44114b(0x20c)]){const _0x26a1d0=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x595640(this,_0x26a1d0,_0x31cfc8);return;}this['_bufferedBytes']-=_0x1e205e[_0x5cac95],this[_0x44114b(0x249)]=_0x2e53c9,_0x1e205e[_0x44114b(0x28d)]=!0x1,this[_0x44114b(0x240)](_0x134cbe[_0x44114b(0x306)](_0x4b8bd7,_0x1e205e),_0x31cfc8),this['dequeue']();});}['dequeue'](){const _0x48d933=_0x4516fb;for(;this[_0x48d933(0x249)]===_0x2e53c9&&this['_queue'][_0x48d933(0x1c7)];){const _0x2c497f=this[_0x48d933(0x234)][_0x48d933(0x2d6)]();this['_bufferedBytes']-=_0x2c497f[0x3][_0x5cac95],Reflect['apply'](_0x2c497f[0x0],this,_0x2c497f[_0x48d933(0x2ba)](0x1));}}[_0x4516fb(0x27d)](_0x21c2d7){const _0x16b6ea=_0x4516fb;this['_bufferedBytes']+=_0x21c2d7[0x3][_0x5cac95],this[_0x16b6ea(0x234)][_0x16b6ea(0x25b)](_0x21c2d7);}[_0x4516fb(0x240)](_0x524e3c,_0x23aaa8){const _0x2a5f69=_0x4516fb;_0x524e3c[_0x2a5f69(0x1c7)]===0x2?(this[_0x2a5f69(0x1dc)]['cork'](),this[_0x2a5f69(0x1dc)][_0x2a5f69(0x303)](_0x524e3c[0x0]),this[_0x2a5f69(0x1dc)][_0x2a5f69(0x303)](_0x524e3c[0x1],_0x23aaa8),this[_0x2a5f69(0x1dc)][_0x2a5f69(0x334)]()):this[_0x2a5f69(0x1dc)]['write'](_0x524e3c[0x0],_0x23aaa8);}}Ee=_0x134cbe;function _0x595640(_0xc7d458,_0x53d44c,_0x48e732){const _0x58c705=_0x4516fb;typeof _0x48e732==_0x58c705(0x2de)&&_0x48e732(_0x53d44c);for(let _0x52bc68=0x0;_0x52bc68<_0xc7d458[_0x58c705(0x234)][_0x58c705(0x1c7)];_0x52bc68++){const _0x28a5eb=_0xc7d458[_0x58c705(0x234)][_0x52bc68],_0x47fb95=_0x28a5eb[_0x28a5eb['length']-0x1];typeof _0x47fb95=='function'&&_0x47fb95(_0x53d44c);}}function _0xfe867f(_0x49ee92,_0x1c295b,_0x329af5){const _0x30e442=_0x4516fb;_0x595640(_0x49ee92,_0x1c295b,_0x329af5),_0x49ee92[_0x30e442(0x1bc)](_0x1c295b);}return Ee;}var xe,Ze;function It(){const _0x2f7027=_0x3db353;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0xb01308,kListener:_0x2c8587}=H(),_0x7ffc98=Symbol('kCode'),_0x3dd6eb=Symbol('kData'),_0x451b1d=Symbol(_0x2f7027(0x189)),_0x20ff2a=Symbol('kMessage'),_0x540bd8=Symbol('kReason'),_0x1ddeaa=Symbol(_0x2f7027(0x27c)),_0x5b89e2=Symbol(_0x2f7027(0x2af)),_0x4df52d=Symbol(_0x2f7027(0x1cf));class _0x90f544{constructor(_0x56bc4f){this[_0x1ddeaa]=null,this[_0x5b89e2]=_0x56bc4f;}get[_0x2f7027(0x1fb)](){return this[_0x1ddeaa];}get[_0x2f7027(0x2fc)](){return this[_0x5b89e2];}}Object[_0x2f7027(0x22c)](_0x90f544[_0x2f7027(0x1f7)],_0x2f7027(0x1fb),{'enumerable':!0x0}),Object[_0x2f7027(0x22c)](_0x90f544['prototype'],_0x2f7027(0x2fc),{'enumerable':!0x0});class _0x12d229 extends _0x90f544{constructor(_0x15b445,_0x45b8a6={}){const _0x12e086=_0x2f7027;super(_0x15b445),this[_0x7ffc98]=_0x45b8a6[_0x12e086(0x1c1)]===void 0x0?0x0:_0x45b8a6[_0x12e086(0x1c1)],this[_0x540bd8]=_0x45b8a6[_0x12e086(0x252)]===void 0x0?'':_0x45b8a6[_0x12e086(0x252)],this[_0x4df52d]=_0x45b8a6['wasClean']===void 0x0?!0x1:_0x45b8a6[_0x12e086(0x1f2)];}get[_0x2f7027(0x1c1)](){return this[_0x7ffc98];}get[_0x2f7027(0x252)](){return this[_0x540bd8];}get[_0x2f7027(0x1f2)](){return this[_0x4df52d];}}Object['defineProperty'](_0x12d229[_0x2f7027(0x1f7)],_0x2f7027(0x1c1),{'enumerable':!0x0}),Object['defineProperty'](_0x12d229['prototype'],'reason',{'enumerable':!0x0}),Object[_0x2f7027(0x22c)](_0x12d229[_0x2f7027(0x1f7)],_0x2f7027(0x1f2),{'enumerable':!0x0});class _0x4bb516 extends _0x90f544{constructor(_0x4f7212,_0x5d7b77={}){const _0x2e33f5=_0x2f7027;super(_0x4f7212),this[_0x451b1d]=_0x5d7b77['error']===void 0x0?null:_0x5d7b77[_0x2e33f5(0x213)],this[_0x20ff2a]=_0x5d7b77[_0x2e33f5(0x210)]===void 0x0?'':_0x5d7b77[_0x2e33f5(0x210)];}get['error'](){return this[_0x451b1d];}get[_0x2f7027(0x210)](){return this[_0x20ff2a];}}Object[_0x2f7027(0x22c)](_0x4bb516[_0x2f7027(0x1f7)],_0x2f7027(0x213),{'enumerable':!0x0}),Object['defineProperty'](_0x4bb516['prototype'],_0x2f7027(0x210),{'enumerable':!0x0});class _0x49ace8 extends _0x90f544{constructor(_0x466f66,_0x402f34={}){const _0xf1475=_0x2f7027;super(_0x466f66),this[_0x3dd6eb]=_0x402f34['data']===void 0x0?null:_0x402f34[_0xf1475(0x2e0)];}get[_0x2f7027(0x2e0)](){return this[_0x3dd6eb];}}Object[_0x2f7027(0x22c)](_0x49ace8['prototype'],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x12d229,'ErrorEvent':_0x4bb516,'Event':_0x90f544,'EventTarget':{'addEventListener'(_0x539107,_0x5a4984,_0x1cec1e={}){const _0x107ec6=_0x2f7027;for(const _0xa9215b of this['listeners'](_0x539107))if(!_0x1cec1e[_0xb01308]&&_0xa9215b[_0x2c8587]===_0x5a4984&&!_0xa9215b[_0xb01308])return;let _0x1ca28d;if(_0x539107==='message')_0x1ca28d=function(_0x1a6ab7,_0x43013a){const _0x291eb3=_0x3dfb,_0x1153ae=new _0x49ace8(_0x291eb3(0x210),{'data':_0x43013a?_0x1a6ab7:_0x1a6ab7[_0x291eb3(0x31e)]()});_0x1153ae[_0x1ddeaa]=this,_0x10fdd0(_0x5a4984,this,_0x1153ae);};else{if(_0x539107==='close')_0x1ca28d=function(_0x3e2b92,_0x139851){const _0x408e90=_0x3dfb,_0x1a5a44=new _0x12d229(_0x408e90(0x231),{'code':_0x3e2b92,'reason':_0x139851[_0x408e90(0x31e)](),'wasClean':this['_closeFrameReceived']&&this[_0x408e90(0x24b)]});_0x1a5a44[_0x1ddeaa]=this,_0x10fdd0(_0x5a4984,this,_0x1a5a44);};else{if(_0x539107===_0x107ec6(0x213))_0x1ca28d=function(_0x30babd){const _0x59a899=_0x107ec6,_0x11430c=new _0x4bb516(_0x59a899(0x213),{'error':_0x30babd,'message':_0x30babd['message']});_0x11430c[_0x1ddeaa]=this,_0x10fdd0(_0x5a4984,this,_0x11430c);};else{if(_0x539107===_0x107ec6(0x200))_0x1ca28d=function(){const _0x53954e=_0x107ec6,_0x55e9cb=new _0x90f544(_0x53954e(0x200));_0x55e9cb[_0x1ddeaa]=this,_0x10fdd0(_0x5a4984,this,_0x55e9cb);};else return;}}}_0x1ca28d[_0xb01308]=!!_0x1cec1e[_0xb01308],_0x1ca28d[_0x2c8587]=_0x5a4984,_0x1cec1e['once']?this[_0x107ec6(0x33f)](_0x539107,_0x1ca28d):this['on'](_0x539107,_0x1ca28d);},'removeEventListener'(_0xd23190,_0x2a91b9){const _0x2260b9=_0x2f7027;for(const _0x21ef2c of this['listeners'](_0xd23190))if(_0x21ef2c[_0x2c8587]===_0x2a91b9&&!_0x21ef2c[_0xb01308]){this[_0x2260b9(0x225)](_0xd23190,_0x21ef2c);break;}}},'MessageEvent':_0x49ace8};function _0x10fdd0(_0xdd9da4,_0x1d11d4,_0x33aa9f){const _0x272dd4=_0x2f7027;typeof _0xdd9da4=='object'&&_0xdd9da4[_0x272dd4(0x2d0)]?_0xdd9da4[_0x272dd4(0x2d0)]['call'](_0xdd9da4,_0x33aa9f):_0xdd9da4[_0x272dd4(0x1ae)](_0x1d11d4,_0x33aa9f);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x2e0635}=ae();function _0x30a197(_0x502475,_0x3c3a36,_0x4bc154){const _0x1fc626=_0x3dfb;_0x502475[_0x3c3a36]===void 0x0?_0x502475[_0x3c3a36]=[_0x4bc154]:_0x502475[_0x3c3a36][_0x1fc626(0x25b)](_0x4bc154);}function _0x20eea0(_0x204f28){const _0x2e1f8e=_0x3dfb,_0x38cde3=Object[_0x2e1f8e(0x2ee)](null);let _0x444867=Object['create'](null),_0x15e46e=!0x1,_0x3b7bbb=!0x1,_0x3c7b26=!0x1,_0x55ad05,_0x26ab58,_0x261397=-0x1,_0x45081e=-0x1,_0x2c0733=-0x1,_0x294328=0x0;for(;_0x294328<_0x204f28[_0x2e1f8e(0x1c7)];_0x294328++)if(_0x45081e=_0x204f28[_0x2e1f8e(0x318)](_0x294328),_0x55ad05===void 0x0){if(_0x2c0733===-0x1&&_0x2e0635[_0x45081e]===0x1)_0x261397===-0x1&&(_0x261397=_0x294328);else{if(_0x294328!==0x0&&(_0x45081e===0x20||_0x45081e===0x9))_0x2c0733===-0x1&&_0x261397!==-0x1&&(_0x2c0733=_0x294328);else{if(_0x45081e===0x3b||_0x45081e===0x2c){if(_0x261397===-0x1)throw new SyntaxError(_0x2e1f8e(0x219)+_0x294328);_0x2c0733===-0x1&&(_0x2c0733=_0x294328);const _0x3e4113=_0x204f28['slice'](_0x261397,_0x2c0733);_0x45081e===0x2c?(_0x30a197(_0x38cde3,_0x3e4113,_0x444867),_0x444867=Object[_0x2e1f8e(0x2ee)](null)):_0x55ad05=_0x3e4113,_0x261397=_0x2c0733=-0x1;}else throw new SyntaxError(_0x2e1f8e(0x219)+_0x294328);}}}else{if(_0x26ab58===void 0x0){if(_0x2c0733===-0x1&&_0x2e0635[_0x45081e]===0x1)_0x261397===-0x1&&(_0x261397=_0x294328);else{if(_0x45081e===0x20||_0x45081e===0x9)_0x2c0733===-0x1&&_0x261397!==-0x1&&(_0x2c0733=_0x294328);else{if(_0x45081e===0x3b||_0x45081e===0x2c){if(_0x261397===-0x1)throw new SyntaxError(_0x2e1f8e(0x219)+_0x294328);_0x2c0733===-0x1&&(_0x2c0733=_0x294328),_0x30a197(_0x444867,_0x204f28[_0x2e1f8e(0x2ba)](_0x261397,_0x2c0733),!0x0),_0x45081e===0x2c&&(_0x30a197(_0x38cde3,_0x55ad05,_0x444867),_0x444867=Object[_0x2e1f8e(0x2ee)](null),_0x55ad05=void 0x0),_0x261397=_0x2c0733=-0x1;}else{if(_0x45081e===0x3d&&_0x261397!==-0x1&&_0x2c0733===-0x1)_0x26ab58=_0x204f28['slice'](_0x261397,_0x294328),_0x261397=_0x2c0733=-0x1;else throw new SyntaxError(_0x2e1f8e(0x219)+_0x294328);}}}}else{if(_0x3b7bbb){if(_0x2e0635[_0x45081e]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x294328);_0x261397===-0x1?_0x261397=_0x294328:_0x15e46e||(_0x15e46e=!0x0),_0x3b7bbb=!0x1;}else{if(_0x3c7b26){if(_0x2e0635[_0x45081e]===0x1)_0x261397===-0x1&&(_0x261397=_0x294328);else{if(_0x45081e===0x22&&_0x261397!==-0x1)_0x3c7b26=!0x1,_0x2c0733=_0x294328;else{if(_0x45081e===0x5c)_0x3b7bbb=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x294328);}}}else{if(_0x45081e===0x22&&_0x204f28[_0x2e1f8e(0x318)](_0x294328-0x1)===0x3d)_0x3c7b26=!0x0;else{if(_0x2c0733===-0x1&&_0x2e0635[_0x45081e]===0x1)_0x261397===-0x1&&(_0x261397=_0x294328);else{if(_0x261397!==-0x1&&(_0x45081e===0x20||_0x45081e===0x9))_0x2c0733===-0x1&&(_0x2c0733=_0x294328);else{if(_0x45081e===0x3b||_0x45081e===0x2c){if(_0x261397===-0x1)throw new SyntaxError(_0x2e1f8e(0x219)+_0x294328);_0x2c0733===-0x1&&(_0x2c0733=_0x294328);let _0x25d74d=_0x204f28[_0x2e1f8e(0x2ba)](_0x261397,_0x2c0733);_0x15e46e&&(_0x25d74d=_0x25d74d[_0x2e1f8e(0x299)](/\\/g,''),_0x15e46e=!0x1),_0x30a197(_0x444867,_0x26ab58,_0x25d74d),_0x45081e===0x2c&&(_0x30a197(_0x38cde3,_0x55ad05,_0x444867),_0x444867=Object[_0x2e1f8e(0x2ee)](null),_0x55ad05=void 0x0),_0x26ab58=void 0x0,_0x261397=_0x2c0733=-0x1;}else throw new SyntaxError(_0x2e1f8e(0x219)+_0x294328);}}}}}}}if(_0x261397===-0x1||_0x3c7b26||_0x45081e===0x20||_0x45081e===0x9)throw new SyntaxError(_0x2e1f8e(0x273));_0x2c0733===-0x1&&(_0x2c0733=_0x294328);const _0x59515a=_0x204f28[_0x2e1f8e(0x2ba)](_0x261397,_0x2c0733);return _0x55ad05===void 0x0?_0x30a197(_0x38cde3,_0x59515a,_0x444867):(_0x26ab58===void 0x0?_0x30a197(_0x444867,_0x59515a,!0x0):_0x15e46e?_0x30a197(_0x444867,_0x26ab58,_0x59515a[_0x2e1f8e(0x299)](/\\/g,'')):_0x30a197(_0x444867,_0x26ab58,_0x59515a),_0x30a197(_0x38cde3,_0x55ad05,_0x444867)),_0x38cde3;}function _0x4771c6(_0x537793){const _0x425746=_0x3dfb;return Object[_0x425746(0x17c)](_0x537793)[_0x425746(0x206)](_0x57376f=>{const _0x58f6db=_0x425746;let _0x13ffb8=_0x537793[_0x57376f];return Array[_0x58f6db(0x244)](_0x13ffb8)||(_0x13ffb8=[_0x13ffb8]),_0x13ffb8[_0x58f6db(0x206)](_0x634e90=>[_0x57376f]['concat'](Object[_0x58f6db(0x17c)](_0x634e90)[_0x58f6db(0x206)](_0xcc520d=>{const _0x328f5b=_0x58f6db;let _0x1b4f20=_0x634e90[_0xcc520d];return Array[_0x328f5b(0x244)](_0x1b4f20)||(_0x1b4f20=[_0x1b4f20]),_0x1b4f20[_0x328f5b(0x206)](_0x182b43=>_0x182b43===!0x0?_0xcc520d:_0xcc520d+'='+_0x182b43)[_0x328f5b(0x2d9)](';\x20');}))['join'](';\x20'))[_0x58f6db(0x2d9)](',\x20');})['join'](',\x20');}return be={'format':_0x4771c6,'parse':_0x20eea0},be;}var we,Je;function Pe(){const _0x4b9184=_0x3db353;if(Je)return we;Je=0x1;const _0x22b619=nt,_0x56468c=vt,_0x4f8b5f=ot,_0x5652f1=St,_0x344c17=Et,{randomBytes:_0x9d329,createHash:_0x284bc9}=Le,{Duplex:_0x189fdd,Readable:_0x557e77}=oe,{URL:_0x49e01a}=xt,_0x30a77f=he(),_0x52d86e=lt(),_0x715f0d=ft(),{isBlob:_0x21c308}=ae(),{BINARY_TYPES:_0x100d22,EMPTY_BUFFER:_0x117cf2,GUID:_0x27081e,kForOnEventAttribute:_0x3d28a4,kListener:_0x40ff07,kStatusCode:_0x5184ed,kWebSocket:_0x1246ec,NOOP:_0x216727}=H(),{EventTarget:{addEventListener:_0x4c8da1,removeEventListener:_0x273937}}=It(),{format:_0x3e5081,parse:_0x12e4af}=ct(),{toBuffer:_0x298ad3}=ce(),_0x366604=0x1e*0x3e8,_0x33782c=Symbol('kAborted'),_0x12c8c3=[0x8,0xd],_0x3ec96d=[_0x4b9184(0x2b0),_0x4b9184(0x20d),_0x4b9184(0x1c8),_0x4b9184(0x32a)],_0xfcf21=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x199837 extends _0x22b619{constructor(_0x612ca,_0x254dce,_0x4c44c8){const _0x4081f9=_0x4b9184;super(),this[_0x4081f9(0x29d)]=_0x100d22[0x0],this[_0x4081f9(0x2e6)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x4081f9(0x24b)]=!0x1,this[_0x4081f9(0x1fd)]=_0x117cf2,this['_closeTimer']=null,this['_errorEmitted']=!0x1,this['_extensions']={},this[_0x4081f9(0x19e)]=!0x1,this['_protocol']='',this['_readyState']=_0x199837[_0x4081f9(0x2b0)],this[_0x4081f9(0x269)]=null,this[_0x4081f9(0x25c)]=null,this[_0x4081f9(0x1dc)]=null,_0x612ca!==null?(this[_0x4081f9(0x1e1)]=0x0,this[_0x4081f9(0x2c0)]=!0x1,this['_redirects']=0x0,_0x254dce===void 0x0?_0x254dce=[]:Array[_0x4081f9(0x244)](_0x254dce)||(typeof _0x254dce==_0x4081f9(0x18b)&&_0x254dce!==null?(_0x4c44c8=_0x254dce,_0x254dce=[]):_0x254dce=[_0x254dce]),_0x992c47(this,_0x612ca,_0x254dce,_0x4c44c8)):(this['_autoPong']=_0x4c44c8[_0x4081f9(0x1f8)],this[_0x4081f9(0x2c0)]=!0x0);}get[_0x4b9184(0x30e)](){const _0x53ee0b=_0x4b9184;return this[_0x53ee0b(0x29d)];}set[_0x4b9184(0x30e)](_0x18cb68){const _0x378818=_0x4b9184;_0x100d22['includes'](_0x18cb68)&&(this['_binaryType']=_0x18cb68,this[_0x378818(0x269)]&&(this[_0x378818(0x269)][_0x378818(0x29d)]=_0x18cb68));}get[_0x4b9184(0x28e)](){const _0x34e87d=_0x4b9184;return this['_socket']?this[_0x34e87d(0x1dc)][_0x34e87d(0x335)][_0x34e87d(0x1c7)]+this['_sender'][_0x34e87d(0x2cc)]:this['_bufferedAmount'];}get[_0x4b9184(0x1a6)](){const _0x520c70=_0x4b9184;return Object[_0x520c70(0x17c)](this[_0x520c70(0x295)])['join']();}get[_0x4b9184(0x2a8)](){const _0x1f4a32=_0x4b9184;return this[_0x1f4a32(0x19e)];}get[_0x4b9184(0x28b)](){return null;}get[_0x4b9184(0x1bc)](){return null;}get[_0x4b9184(0x1c3)](){return null;}get[_0x4b9184(0x1b5)](){return null;}get['protocol'](){const _0x2010d3=_0x4b9184;return this[_0x2010d3(0x1e4)];}get['readyState'](){const _0x49f1ab=_0x4b9184;return this[_0x49f1ab(0x1fc)];}get[_0x4b9184(0x1a5)](){return this['_url'];}[_0x4b9184(0x2ef)](_0x32335b,_0x3e1741,_0x57cff3){const _0x27da3f=_0x4b9184,_0x1d6b44=new _0x52d86e({'allowSynchronousEvents':_0x57cff3[_0x27da3f(0x183)],'binaryType':this[_0x27da3f(0x30e)],'extensions':this['_extensions'],'isServer':this[_0x27da3f(0x2c0)],'maxPayload':_0x57cff3['maxPayload'],'skipUTF8Validation':_0x57cff3[_0x27da3f(0x1f0)]}),_0x1ef6ef=new _0x715f0d(_0x32335b,this['_extensions'],_0x57cff3['generateMask']);this[_0x27da3f(0x269)]=_0x1d6b44,this[_0x27da3f(0x25c)]=_0x1ef6ef,this[_0x27da3f(0x1dc)]=_0x32335b,_0x1d6b44[_0x1246ec]=this,_0x1ef6ef[_0x1246ec]=this,_0x32335b[_0x1246ec]=this,_0x1d6b44['on'](_0x27da3f(0x23f),_0x172fb7),_0x1d6b44['on']('drain',_0x1f2ac7),_0x1d6b44['on'](_0x27da3f(0x213),_0x18a2da),_0x1d6b44['on'](_0x27da3f(0x210),_0x5cfd9a),_0x1d6b44['on'](_0x27da3f(0x26c),_0x1386d6),_0x1d6b44['on'](_0x27da3f(0x1e7),_0xf2e38f),_0x1ef6ef[_0x27da3f(0x1bc)]=_0x443dc6,_0x32335b[_0x27da3f(0x22e)]&&_0x32335b[_0x27da3f(0x22e)](0x0),_0x32335b[_0x27da3f(0x214)]&&_0x32335b['setNoDelay'](),_0x3e1741[_0x27da3f(0x1c7)]>0x0&&_0x32335b['unshift'](_0x3e1741),_0x32335b['on'](_0x27da3f(0x231),_0x432460),_0x32335b['on'](_0x27da3f(0x2e0),_0x5e61c3),_0x32335b['on'](_0x27da3f(0x27e),_0x977a33),_0x32335b['on'](_0x27da3f(0x213),_0x1764d1),this[_0x27da3f(0x1fc)]=_0x199837[_0x27da3f(0x20d)],this[_0x27da3f(0x21a)](_0x27da3f(0x200));}[_0x4b9184(0x33b)](){const _0x46ce65=_0x4b9184;if(!this[_0x46ce65(0x1dc)]){this['_readyState']=_0x199837['CLOSED'],this['emit'](_0x46ce65(0x231),this['_closeCode'],this[_0x46ce65(0x1fd)]);return;}this[_0x46ce65(0x295)][_0x30a77f[_0x46ce65(0x1d0)]]&&this['_extensions'][_0x30a77f['extensionName']][_0x46ce65(0x292)](),this[_0x46ce65(0x269)][_0x46ce65(0x1ff)](),this['_readyState']=_0x199837[_0x46ce65(0x32a)],this['emit'](_0x46ce65(0x231),this[_0x46ce65(0x2e6)],this['_closeMessage']);}[_0x4b9184(0x231)](_0x14569d,_0x27b843){const _0x23863f=_0x4b9184;if(this['readyState']!==_0x199837['CLOSED']){if(this[_0x23863f(0x18e)]===_0x199837[_0x23863f(0x2b0)]){_0x85a41(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this['readyState']===_0x199837['CLOSING']){this[_0x23863f(0x24b)]&&(this[_0x23863f(0x2c4)]||this[_0x23863f(0x269)][_0x23863f(0x335)][_0x23863f(0x287)])&&this[_0x23863f(0x1dc)][_0x23863f(0x27e)]();return;}this['_readyState']=_0x199837['CLOSING'],this[_0x23863f(0x25c)]['close'](_0x14569d,_0x27b843,!this[_0x23863f(0x2c0)],_0x45bff3=>{const _0x45ca96=_0x23863f;_0x45bff3||(this[_0x45ca96(0x24b)]=!0x0,(this['_closeFrameReceived']||this[_0x45ca96(0x269)]['_writableState'][_0x45ca96(0x287)])&&this['_socket'][_0x45ca96(0x27e)]());}),_0x535043(this);}}['pause'](){const _0x240bf7=_0x4b9184;this[_0x240bf7(0x18e)]===_0x199837[_0x240bf7(0x2b0)]||this[_0x240bf7(0x18e)]===_0x199837['CLOSED']||(this['_paused']=!0x0,this[_0x240bf7(0x1dc)][_0x240bf7(0x298)]());}['ping'](_0x224b70,_0x395826,_0x3d3c91){const _0x55f91e=_0x4b9184;if(this['readyState']===_0x199837[_0x55f91e(0x2b0)])throw new Error(_0x55f91e(0x2a3));if(typeof _0x224b70==_0x55f91e(0x2de)?(_0x3d3c91=_0x224b70,_0x224b70=_0x395826=void 0x0):typeof _0x395826=='function'&&(_0x3d3c91=_0x395826,_0x395826=void 0x0),typeof _0x224b70=='number'&&(_0x224b70=_0x224b70[_0x55f91e(0x31e)]()),this[_0x55f91e(0x18e)]!==_0x199837[_0x55f91e(0x20d)]){_0x11a393(this,_0x224b70,_0x3d3c91);return;}_0x395826===void 0x0&&(_0x395826=!this[_0x55f91e(0x2c0)]),this[_0x55f91e(0x25c)][_0x55f91e(0x26c)](_0x224b70||_0x117cf2,_0x395826,_0x3d3c91);}[_0x4b9184(0x1e7)](_0x484289,_0x3e0802,_0x54816c){const _0x2715d0=_0x4b9184;if(this[_0x2715d0(0x18e)]===_0x199837[_0x2715d0(0x2b0)])throw new Error(_0x2715d0(0x2a3));if(typeof _0x484289==_0x2715d0(0x2de)?(_0x54816c=_0x484289,_0x484289=_0x3e0802=void 0x0):typeof _0x3e0802==_0x2715d0(0x2de)&&(_0x54816c=_0x3e0802,_0x3e0802=void 0x0),typeof _0x484289==_0x2715d0(0x1eb)&&(_0x484289=_0x484289[_0x2715d0(0x31e)]()),this[_0x2715d0(0x18e)]!==_0x199837[_0x2715d0(0x20d)]){_0x11a393(this,_0x484289,_0x54816c);return;}_0x3e0802===void 0x0&&(_0x3e0802=!this[_0x2715d0(0x2c0)]),this[_0x2715d0(0x25c)][_0x2715d0(0x1e7)](_0x484289||_0x117cf2,_0x3e0802,_0x54816c);}[_0x4b9184(0x276)](){const _0x5a94ad=_0x4b9184;this[_0x5a94ad(0x18e)]===_0x199837[_0x5a94ad(0x2b0)]||this['readyState']===_0x199837[_0x5a94ad(0x32a)]||(this[_0x5a94ad(0x19e)]=!0x1,this['_receiver'][_0x5a94ad(0x335)][_0x5a94ad(0x325)]||this[_0x5a94ad(0x1dc)][_0x5a94ad(0x276)]());}['send'](_0x536aeb,_0x2fbe15,_0x293c1b){const _0x59c4a4=_0x4b9184;if(this['readyState']===_0x199837[_0x59c4a4(0x2b0)])throw new Error(_0x59c4a4(0x2a3));if(typeof _0x2fbe15=='function'&&(_0x293c1b=_0x2fbe15,_0x2fbe15={}),typeof _0x536aeb==_0x59c4a4(0x1eb)&&(_0x536aeb=_0x536aeb[_0x59c4a4(0x31e)]()),this[_0x59c4a4(0x18e)]!==_0x199837[_0x59c4a4(0x20d)]){_0x11a393(this,_0x536aeb,_0x293c1b);return;}const _0x51c3dd={'binary':typeof _0x536aeb!=_0x59c4a4(0x308),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x2fbe15};this[_0x59c4a4(0x295)][_0x30a77f[_0x59c4a4(0x1d0)]]||(_0x51c3dd['compress']=!0x1),this[_0x59c4a4(0x25c)][_0x59c4a4(0x2e3)](_0x536aeb||_0x117cf2,_0x51c3dd,_0x293c1b);}[_0x4b9184(0x23b)](){const _0x11559d=_0x4b9184;if(this[_0x11559d(0x18e)]!==_0x199837[_0x11559d(0x32a)]){if(this[_0x11559d(0x18e)]===_0x199837[_0x11559d(0x2b0)]){_0x85a41(this,this[_0x11559d(0x1de)],_0x11559d(0x1e0));return;}this['_socket']&&(this[_0x11559d(0x1fc)]=_0x199837[_0x11559d(0x1c8)],this['_socket']['destroy']());}}}Object[_0x4b9184(0x22c)](_0x199837,_0x4b9184(0x2b0),{'enumerable':!0x0,'value':_0x3ec96d[_0x4b9184(0x2b6)](_0x4b9184(0x2b0))}),Object['defineProperty'](_0x199837[_0x4b9184(0x1f7)],_0x4b9184(0x2b0),{'enumerable':!0x0,'value':_0x3ec96d[_0x4b9184(0x2b6)](_0x4b9184(0x2b0))}),Object[_0x4b9184(0x22c)](_0x199837,'OPEN',{'enumerable':!0x0,'value':_0x3ec96d[_0x4b9184(0x2b6)]('OPEN')}),Object['defineProperty'](_0x199837[_0x4b9184(0x1f7)],_0x4b9184(0x20d),{'enumerable':!0x0,'value':_0x3ec96d['indexOf'](_0x4b9184(0x20d))}),Object[_0x4b9184(0x22c)](_0x199837,_0x4b9184(0x1c8),{'enumerable':!0x0,'value':_0x3ec96d[_0x4b9184(0x2b6)](_0x4b9184(0x1c8))}),Object[_0x4b9184(0x22c)](_0x199837[_0x4b9184(0x1f7)],_0x4b9184(0x1c8),{'enumerable':!0x0,'value':_0x3ec96d['indexOf'](_0x4b9184(0x1c8))}),Object[_0x4b9184(0x22c)](_0x199837,'CLOSED',{'enumerable':!0x0,'value':_0x3ec96d[_0x4b9184(0x2b6)](_0x4b9184(0x32a))}),Object[_0x4b9184(0x22c)](_0x199837[_0x4b9184(0x1f7)],_0x4b9184(0x32a),{'enumerable':!0x0,'value':_0x3ec96d[_0x4b9184(0x2b6)](_0x4b9184(0x32a))}),['binaryType',_0x4b9184(0x28e),_0x4b9184(0x1a6),_0x4b9184(0x2a8),_0x4b9184(0x33c),_0x4b9184(0x18e),_0x4b9184(0x1a5)]['forEach'](_0x32a087=>{const _0x5b4942=_0x4b9184;Object[_0x5b4942(0x22c)](_0x199837['prototype'],_0x32a087,{'enumerable':!0x0});}),[_0x4b9184(0x200),_0x4b9184(0x213),_0x4b9184(0x231),'message'][_0x4b9184(0x1b0)](_0x10f109=>{const _0xadd44c=_0x4b9184;Object['defineProperty'](_0x199837[_0xadd44c(0x1f7)],'on'+_0x10f109,{'enumerable':!0x0,'get'(){const _0x4a2af6=_0xadd44c;for(const _0x5d8cc5 of this[_0x4a2af6(0x1c9)](_0x10f109))if(_0x5d8cc5[_0x3d28a4])return _0x5d8cc5[_0x40ff07];return null;},'set'(_0x127706){const _0x45de3d=_0xadd44c;for(const _0x5adcfa of this[_0x45de3d(0x1c9)](_0x10f109))if(_0x5adcfa[_0x3d28a4]){this[_0x45de3d(0x225)](_0x10f109,_0x5adcfa);break;}typeof _0x127706==_0x45de3d(0x2de)&&this[_0x45de3d(0x255)](_0x10f109,_0x127706,{[_0x3d28a4]:!0x0});}});}),_0x199837[_0x4b9184(0x1f7)][_0x4b9184(0x255)]=_0x4c8da1,_0x199837[_0x4b9184(0x1f7)][_0x4b9184(0x215)]=_0x273937,we=_0x199837;function _0x992c47(_0x16a11d,_0x139bd1,_0x1e7d23,_0x268c02){const _0x38b6e2=_0x4b9184,_0x5a4b4d={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x12c8c3[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x268c02,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x16a11d['_autoPong']=_0x5a4b4d['autoPong'],!_0x12c8c3[_0x38b6e2(0x2e2)](_0x5a4b4d[_0x38b6e2(0x314)]))throw new RangeError(_0x38b6e2(0x178)+_0x5a4b4d[_0x38b6e2(0x314)]+_0x38b6e2(0x1ef)+_0x12c8c3[_0x38b6e2(0x2d9)](',\x20')+')');let _0x39c886;if(_0x139bd1 instanceof _0x49e01a)_0x39c886=_0x139bd1;else try{_0x39c886=new _0x49e01a(_0x139bd1);}catch{throw new SyntaxError(_0x38b6e2(0x307)+_0x139bd1);}_0x39c886[_0x38b6e2(0x33c)]==='http:'?_0x39c886['protocol']='ws:':_0x39c886[_0x38b6e2(0x33c)]===_0x38b6e2(0x2d5)&&(_0x39c886[_0x38b6e2(0x33c)]=_0x38b6e2(0x1ba)),_0x16a11d[_0x38b6e2(0x1e8)]=_0x39c886[_0x38b6e2(0x2fe)];const _0x327dad=_0x39c886[_0x38b6e2(0x33c)]==='wss:',_0x1bb5b5=_0x39c886[_0x38b6e2(0x33c)]===_0x38b6e2(0x250);let _0x433dfa;if(_0x39c886[_0x38b6e2(0x33c)]!==_0x38b6e2(0x24e)&&!_0x327dad&&!_0x1bb5b5?_0x433dfa=_0x38b6e2(0x2f6):_0x1bb5b5&&!_0x39c886[_0x38b6e2(0x2be)]?_0x433dfa='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x39c886[_0x38b6e2(0x2ad)]&&(_0x433dfa='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x433dfa){const _0x387072=new SyntaxError(_0x433dfa);if(_0x16a11d['_redirects']===0x0)throw _0x387072;_0x19f2e0(_0x16a11d,_0x387072);return;}const _0x7d9d4=_0x327dad?0x1bb:0x50,_0x163912=_0x9d329(0x10)[_0x38b6e2(0x31e)](_0x38b6e2(0x281)),_0x4edf29=_0x327dad?_0x56468c[_0x38b6e2(0x1f3)]:_0x4f8b5f[_0x38b6e2(0x1f3)],_0x369116=new Set();let _0x59068c;if(_0x5a4b4d[_0x38b6e2(0x227)]=_0x5a4b4d['createConnection']||(_0x327dad?_0x28488a:_0x3bbe9b),_0x5a4b4d[_0x38b6e2(0x297)]=_0x5a4b4d[_0x38b6e2(0x297)]||_0x7d9d4,_0x5a4b4d[_0x38b6e2(0x22d)]=_0x39c886[_0x38b6e2(0x22d)]||_0x7d9d4,_0x5a4b4d['host']=_0x39c886['hostname'][_0x38b6e2(0x1e6)]('[')?_0x39c886['hostname']['slice'](0x1,-0x1):_0x39c886[_0x38b6e2(0x1af)],_0x5a4b4d[_0x38b6e2(0x2aa)]={..._0x5a4b4d[_0x38b6e2(0x2aa)],'Sec-WebSocket-Version':_0x5a4b4d[_0x38b6e2(0x314)],'Sec-WebSocket-Key':_0x163912,'Connection':_0x38b6e2(0x201),'Upgrade':'websocket'},_0x5a4b4d['path']=_0x39c886['pathname']+_0x39c886[_0x38b6e2(0x1aa)],_0x5a4b4d[_0x38b6e2(0x191)]=_0x5a4b4d[_0x38b6e2(0x257)],_0x5a4b4d[_0x38b6e2(0x259)]&&(_0x59068c=new _0x30a77f(_0x5a4b4d[_0x38b6e2(0x259)]!==!0x0?_0x5a4b4d[_0x38b6e2(0x259)]:{},!0x1,_0x5a4b4d[_0x38b6e2(0x312)]),_0x5a4b4d[_0x38b6e2(0x2aa)]['Sec-WebSocket-Extensions']=_0x3e5081({[_0x30a77f['extensionName']]:_0x59068c[_0x38b6e2(0x268)]()})),_0x1e7d23[_0x38b6e2(0x1c7)]){for(const _0x5d1c7c of _0x1e7d23){if(typeof _0x5d1c7c!=_0x38b6e2(0x308)||!_0xfcf21['test'](_0x5d1c7c)||_0x369116['has'](_0x5d1c7c))throw new SyntaxError(_0x38b6e2(0x32e));_0x369116[_0x38b6e2(0x2bc)](_0x5d1c7c);}_0x5a4b4d['headers'][_0x38b6e2(0x2c2)]=_0x1e7d23['join'](',');}if(_0x5a4b4d['origin']&&(_0x5a4b4d[_0x38b6e2(0x314)]<0xd?_0x5a4b4d[_0x38b6e2(0x2aa)]['Sec-WebSocket-Origin']=_0x5a4b4d[_0x38b6e2(0x19f)]:_0x5a4b4d[_0x38b6e2(0x2aa)][_0x38b6e2(0x31c)]=_0x5a4b4d[_0x38b6e2(0x19f)]),(_0x39c886[_0x38b6e2(0x2ed)]||_0x39c886['password'])&&(_0x5a4b4d[_0x38b6e2(0x237)]=_0x39c886[_0x38b6e2(0x2ed)]+':'+_0x39c886['password']),_0x1bb5b5){const _0x1a8a3f=_0x5a4b4d[_0x38b6e2(0x321)]['split'](':');_0x5a4b4d[_0x38b6e2(0x2d1)]=_0x1a8a3f[0x0],_0x5a4b4d[_0x38b6e2(0x321)]=_0x1a8a3f[0x1];}let _0x21fbcb;if(_0x5a4b4d['followRedirects']){if(_0x16a11d['_redirects']===0x0){_0x16a11d['_originalIpc']=_0x1bb5b5,_0x16a11d['_originalSecure']=_0x327dad,_0x16a11d['_originalHostOrSocketPath']=_0x1bb5b5?_0x5a4b4d[_0x38b6e2(0x2d1)]:_0x39c886[_0x38b6e2(0x2fd)];const _0x3e5dab=_0x268c02&&_0x268c02[_0x38b6e2(0x2aa)];if(_0x268c02={..._0x268c02,'headers':{}},_0x3e5dab){for(const [_0x42a383,_0x4015c4]of Object[_0x38b6e2(0x28f)](_0x3e5dab))_0x268c02[_0x38b6e2(0x2aa)][_0x42a383[_0x38b6e2(0x337)]()]=_0x4015c4;}}else{if(_0x16a11d[_0x38b6e2(0x203)]('redirect')===0x0){const _0x41381c=_0x1bb5b5?_0x16a11d[_0x38b6e2(0x2f3)]?_0x5a4b4d['socketPath']===_0x16a11d[_0x38b6e2(0x1ce)]:!0x1:_0x16a11d['_originalIpc']?!0x1:_0x39c886[_0x38b6e2(0x2fd)]===_0x16a11d[_0x38b6e2(0x1ce)];(!_0x41381c||_0x16a11d[_0x38b6e2(0x205)]&&!_0x327dad)&&(delete _0x5a4b4d[_0x38b6e2(0x2aa)][_0x38b6e2(0x1e9)],delete _0x5a4b4d[_0x38b6e2(0x2aa)]['cookie'],_0x41381c||delete _0x5a4b4d['headers'][_0x38b6e2(0x2fd)],_0x5a4b4d['auth']=void 0x0);}}_0x5a4b4d['auth']&&!_0x268c02[_0x38b6e2(0x2aa)][_0x38b6e2(0x1e9)]&&(_0x268c02['headers'][_0x38b6e2(0x1e9)]=_0x38b6e2(0x1d1)+Buffer['from'](_0x5a4b4d[_0x38b6e2(0x237)])[_0x38b6e2(0x31e)]('base64')),_0x21fbcb=_0x16a11d['_req']=_0x4edf29(_0x5a4b4d),_0x16a11d['_redirects']&&_0x16a11d[_0x38b6e2(0x21a)](_0x38b6e2(0x2eb),_0x16a11d[_0x38b6e2(0x1a5)],_0x21fbcb);}else _0x21fbcb=_0x16a11d[_0x38b6e2(0x1de)]=_0x4edf29(_0x5a4b4d);_0x5a4b4d[_0x38b6e2(0x191)]&&_0x21fbcb['on']('timeout',()=>{const _0xb36deb=_0x38b6e2;_0x85a41(_0x16a11d,_0x21fbcb,_0xb36deb(0x2a2));}),_0x21fbcb['on'](_0x38b6e2(0x213),_0x369b72=>{const _0xad1ab4=_0x38b6e2;_0x21fbcb===null||_0x21fbcb[_0x33782c]||(_0x21fbcb=_0x16a11d[_0xad1ab4(0x1de)]=null,_0x19f2e0(_0x16a11d,_0x369b72));}),_0x21fbcb['on'](_0x38b6e2(0x331),_0x5bd07e=>{const _0x39ca7b=_0x38b6e2,_0x202806=_0x5bd07e[_0x39ca7b(0x2aa)][_0x39ca7b(0x2f8)],_0x28758a=_0x5bd07e[_0x39ca7b(0x1dd)];if(_0x202806&&_0x5a4b4d['followRedirects']&&_0x28758a>=0x12c&&_0x28758a<0x190){if(++_0x16a11d[_0x39ca7b(0x1b1)]>_0x5a4b4d[_0x39ca7b(0x17a)]){_0x85a41(_0x16a11d,_0x21fbcb,_0x39ca7b(0x29c));return;}_0x21fbcb[_0x39ca7b(0x258)]();let _0x1b167a;try{_0x1b167a=new _0x49e01a(_0x202806,_0x139bd1);}catch{const _0x10ade0=new SyntaxError(_0x39ca7b(0x307)+_0x202806);_0x19f2e0(_0x16a11d,_0x10ade0);return;}_0x992c47(_0x16a11d,_0x1b167a,_0x1e7d23,_0x268c02);}else _0x16a11d[_0x39ca7b(0x21a)](_0x39ca7b(0x29a),_0x21fbcb,_0x5bd07e)||_0x85a41(_0x16a11d,_0x21fbcb,_0x39ca7b(0x247)+_0x5bd07e[_0x39ca7b(0x1dd)]);}),_0x21fbcb['on']('upgrade',(_0x20e28c,_0x511741,_0x1d7438)=>{const _0x35e753=_0x38b6e2;if(_0x16a11d[_0x35e753(0x21a)](_0x35e753(0x305),_0x20e28c),_0x16a11d[_0x35e753(0x18e)]!==_0x199837[_0x35e753(0x2b0)])return;_0x21fbcb=_0x16a11d[_0x35e753(0x1de)]=null;const _0x39d46f=_0x20e28c[_0x35e753(0x2aa)]['upgrade'];if(_0x39d46f===void 0x0||_0x39d46f[_0x35e753(0x337)]()!==_0x35e753(0x2b7)){_0x85a41(_0x16a11d,_0x511741,_0x35e753(0x248));return;}const _0x86a597=_0x284bc9(_0x35e753(0x1b8))[_0x35e753(0x1c5)](_0x163912+_0x27081e)[_0x35e753(0x24a)](_0x35e753(0x281));if(_0x20e28c['headers'][_0x35e753(0x1ad)]!==_0x86a597){_0x85a41(_0x16a11d,_0x511741,_0x35e753(0x27f));return;}const _0x2109fa=_0x20e28c['headers'][_0x35e753(0x254)];let _0x168fc1;if(_0x2109fa!==void 0x0?_0x369116[_0x35e753(0x27b)]?_0x369116[_0x35e753(0x18c)](_0x2109fa)||(_0x168fc1=_0x35e753(0x1cb)):_0x168fc1='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x369116[_0x35e753(0x27b)]&&(_0x168fc1='Server\x20sent\x20no\x20subprotocol'),_0x168fc1){_0x85a41(_0x16a11d,_0x511741,_0x168fc1);return;}_0x2109fa&&(_0x16a11d[_0x35e753(0x1e4)]=_0x2109fa);const _0x2787d8=_0x20e28c[_0x35e753(0x2aa)]['sec-websocket-extensions'];if(_0x2787d8!==void 0x0){if(!_0x59068c){_0x85a41(_0x16a11d,_0x511741,_0x35e753(0x283));return;}let _0x34ffcc;try{_0x34ffcc=_0x12e4af(_0x2787d8);}catch{_0x85a41(_0x16a11d,_0x511741,_0x35e753(0x1ec));return;}const _0x53b095=Object[_0x35e753(0x17c)](_0x34ffcc);if(_0x53b095['length']!==0x1||_0x53b095[0x0]!==_0x30a77f['extensionName']){_0x85a41(_0x16a11d,_0x511741,_0x35e753(0x2bd));return;}try{_0x59068c[_0x35e753(0x319)](_0x34ffcc[_0x30a77f[_0x35e753(0x1d0)]]);}catch{_0x85a41(_0x16a11d,_0x511741,_0x35e753(0x1ec));return;}_0x16a11d[_0x35e753(0x295)][_0x30a77f[_0x35e753(0x1d0)]]=_0x59068c;}_0x16a11d['setSocket'](_0x511741,_0x1d7438,{'allowSynchronousEvents':_0x5a4b4d[_0x35e753(0x183)],'generateMask':_0x5a4b4d['generateMask'],'maxPayload':_0x5a4b4d[_0x35e753(0x312)],'skipUTF8Validation':_0x5a4b4d['skipUTF8Validation']});}),_0x5a4b4d[_0x38b6e2(0x289)]?_0x5a4b4d[_0x38b6e2(0x289)](_0x21fbcb,_0x16a11d):_0x21fbcb[_0x38b6e2(0x27e)]();}function _0x19f2e0(_0x1d88a0,_0x3c4f57){const _0x4768fc=_0x4b9184;_0x1d88a0['_readyState']=_0x199837[_0x4768fc(0x1c8)],_0x1d88a0[_0x4768fc(0x23a)]=!0x0,_0x1d88a0[_0x4768fc(0x21a)](_0x4768fc(0x213),_0x3c4f57),_0x1d88a0[_0x4768fc(0x33b)]();}function _0x3bbe9b(_0x45f62b){const _0x4591fd=_0x4b9184;return _0x45f62b[_0x4591fd(0x321)]=_0x45f62b['socketPath'],_0x5652f1[_0x4591fd(0x31d)](_0x45f62b);}function _0x28488a(_0x2e04b2){const _0x3ac6fe=_0x4b9184;return _0x2e04b2[_0x3ac6fe(0x321)]=void 0x0,!_0x2e04b2['servername']&&_0x2e04b2[_0x3ac6fe(0x1b6)]!==''&&(_0x2e04b2['servername']=_0x5652f1[_0x3ac6fe(0x31f)](_0x2e04b2['host'])?'':_0x2e04b2[_0x3ac6fe(0x2fd)]),_0x344c17[_0x3ac6fe(0x31d)](_0x2e04b2);}function _0x85a41(_0x36a9ec,_0x58086d,_0x58e5de){const _0x574448=_0x4b9184;_0x36a9ec[_0x574448(0x1fc)]=_0x199837[_0x574448(0x1c8)];const _0x455078=new Error(_0x58e5de);Error[_0x574448(0x24f)](_0x455078,_0x85a41),_0x58086d[_0x574448(0x25e)]?(_0x58086d[_0x33782c]=!0x0,_0x58086d['abort'](),_0x58086d[_0x574448(0x2fb)]&&!_0x58086d[_0x574448(0x2fb)][_0x574448(0x20c)]&&_0x58086d[_0x574448(0x2fb)][_0x574448(0x320)](),process[_0x574448(0x209)](_0x19f2e0,_0x36a9ec,_0x455078)):(_0x58086d[_0x574448(0x320)](_0x455078),_0x58086d[_0x574448(0x33f)]('error',_0x36a9ec[_0x574448(0x21a)][_0x574448(0x2b5)](_0x36a9ec,_0x574448(0x213))),_0x58086d[_0x574448(0x33f)]('close',_0x36a9ec[_0x574448(0x33b)][_0x574448(0x2b5)](_0x36a9ec)));}function _0x11a393(_0x4d7152,_0x2bbeac,_0x19bdf2){const _0x5a5f56=_0x4b9184;if(_0x2bbeac){const _0x2aeb8f=_0x21c308(_0x2bbeac)?_0x2bbeac[_0x5a5f56(0x27b)]:_0x298ad3(_0x2bbeac)[_0x5a5f56(0x1c7)];_0x4d7152['_socket']?_0x4d7152[_0x5a5f56(0x25c)][_0x5a5f56(0x2cc)]+=_0x2aeb8f:_0x4d7152[_0x5a5f56(0x1e1)]+=_0x2aeb8f;}if(_0x19bdf2){const _0x549b0b=new Error(_0x5a5f56(0x246)+_0x4d7152[_0x5a5f56(0x18e)]+'\x20('+_0x3ec96d[_0x4d7152[_0x5a5f56(0x18e)]]+')');process[_0x5a5f56(0x209)](_0x19bdf2,_0x549b0b);}}function _0x172fb7(_0x135b34,_0x1557e6){const _0x5625cd=_0x4b9184,_0x49af81=this[_0x1246ec];_0x49af81['_closeFrameReceived']=!0x0,_0x49af81[_0x5625cd(0x1fd)]=_0x1557e6,_0x49af81['_closeCode']=_0x135b34,_0x49af81['_socket'][_0x1246ec]!==void 0x0&&(_0x49af81['_socket']['removeListener'](_0x5625cd(0x2e0),_0x5e61c3),process[_0x5625cd(0x209)](_0x2f486b,_0x49af81['_socket']),_0x135b34===0x3ed?_0x49af81['close']():_0x49af81['close'](_0x135b34,_0x1557e6));}function _0x1f2ac7(){const _0x218d96=_0x4b9184,_0x4038cf=this[_0x1246ec];_0x4038cf[_0x218d96(0x2a8)]||_0x4038cf['_socket'][_0x218d96(0x276)]();}function _0x18a2da(_0x4e68bd){const _0x1e1713=_0x4b9184,_0x335b0d=this[_0x1246ec];_0x335b0d[_0x1e1713(0x1dc)][_0x1246ec]!==void 0x0&&(_0x335b0d[_0x1e1713(0x1dc)][_0x1e1713(0x225)](_0x1e1713(0x2e0),_0x5e61c3),process['nextTick'](_0x2f486b,_0x335b0d['_socket']),_0x335b0d[_0x1e1713(0x231)](_0x4e68bd[_0x5184ed])),_0x335b0d[_0x1e1713(0x23a)]||(_0x335b0d[_0x1e1713(0x23a)]=!0x0,_0x335b0d[_0x1e1713(0x21a)]('error',_0x4e68bd));}function _0x2a9ea7(){const _0x3100d1=_0x4b9184;this[_0x1246ec][_0x3100d1(0x33b)]();}function _0x5cfd9a(_0x393c8b,_0x3e7390){const _0x32b36b=_0x4b9184;this[_0x1246ec][_0x32b36b(0x21a)]('message',_0x393c8b,_0x3e7390);}function _0x1386d6(_0x2152d7){const _0x4b64e3=_0x4b9184,_0x1bc887=this[_0x1246ec];_0x1bc887[_0x4b64e3(0x304)]&&_0x1bc887['pong'](_0x2152d7,!this[_0x4b64e3(0x2c0)],_0x216727),_0x1bc887[_0x4b64e3(0x21a)](_0x4b64e3(0x26c),_0x2152d7);}function _0xf2e38f(_0x405952){const _0x50027a=_0x4b9184;this[_0x1246ec][_0x50027a(0x21a)](_0x50027a(0x1e7),_0x405952);}function _0x2f486b(_0x5f3c4d){_0x5f3c4d['resume']();}function _0x443dc6(_0x31fcd3){const _0x5cc9fd=_0x4b9184,_0x9eb97c=this[_0x1246ec];_0x9eb97c[_0x5cc9fd(0x18e)]!==_0x199837['CLOSED']&&(_0x9eb97c[_0x5cc9fd(0x18e)]===_0x199837['OPEN']&&(_0x9eb97c[_0x5cc9fd(0x1fc)]=_0x199837[_0x5cc9fd(0x1c8)],_0x535043(_0x9eb97c)),this[_0x5cc9fd(0x1dc)][_0x5cc9fd(0x27e)](),_0x9eb97c[_0x5cc9fd(0x23a)]||(_0x9eb97c[_0x5cc9fd(0x23a)]=!0x0,_0x9eb97c[_0x5cc9fd(0x21a)](_0x5cc9fd(0x213),_0x31fcd3)));}function _0x535043(_0x3bf67e){const _0x1ffaa9=_0x4b9184;_0x3bf67e[_0x1ffaa9(0x2cf)]=setTimeout(_0x3bf67e[_0x1ffaa9(0x1dc)][_0x1ffaa9(0x320)][_0x1ffaa9(0x2b5)](_0x3bf67e[_0x1ffaa9(0x1dc)]),_0x366604);}function _0x432460(){const _0x39b19d=_0x4b9184,_0x1c71bf=this[_0x1246ec];this['removeListener'](_0x39b19d(0x231),_0x432460),this['removeListener'](_0x39b19d(0x2e0),_0x5e61c3),this[_0x39b19d(0x225)]('end',_0x977a33),_0x1c71bf[_0x39b19d(0x1fc)]=_0x199837[_0x39b19d(0x1c8)];let _0x4adba1;!this[_0x39b19d(0x223)][_0x39b19d(0x25f)]&&!_0x1c71bf['_closeFrameReceived']&&!_0x1c71bf[_0x39b19d(0x269)][_0x39b19d(0x335)][_0x39b19d(0x287)]&&(_0x4adba1=_0x1c71bf['_socket'][_0x39b19d(0x1a0)]())!==null&&_0x1c71bf[_0x39b19d(0x269)][_0x39b19d(0x303)](_0x4adba1),_0x1c71bf[_0x39b19d(0x269)][_0x39b19d(0x27e)](),this[_0x1246ec]=void 0x0,clearTimeout(_0x1c71bf[_0x39b19d(0x2cf)]),_0x1c71bf[_0x39b19d(0x269)][_0x39b19d(0x335)][_0x39b19d(0x181)]||_0x1c71bf[_0x39b19d(0x269)][_0x39b19d(0x335)]['errorEmitted']?_0x1c71bf[_0x39b19d(0x33b)]():(_0x1c71bf[_0x39b19d(0x269)]['on'](_0x39b19d(0x213),_0x2a9ea7),_0x1c71bf[_0x39b19d(0x269)]['on'](_0x39b19d(0x32d),_0x2a9ea7));}function _0x5e61c3(_0x35ed84){const _0x2b3926=_0x4b9184;this[_0x1246ec][_0x2b3926(0x269)][_0x2b3926(0x303)](_0x35ed84)||this['pause']();}function _0x977a33(){const _0x210144=_0x4b9184,_0x510944=this[_0x1246ec];_0x510944['_readyState']=_0x199837[_0x210144(0x1c8)],_0x510944[_0x210144(0x269)][_0x210144(0x27e)](),this[_0x210144(0x27e)]();}function _0x1764d1(){const _0x4dd798=_0x4b9184,_0x363ff6=this[_0x1246ec];this[_0x4dd798(0x225)](_0x4dd798(0x213),_0x1764d1),this['on'](_0x4dd798(0x213),_0x216727),_0x363ff6&&(_0x363ff6[_0x4dd798(0x1fc)]=_0x199837[_0x4dd798(0x1c8)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x6bd779}=oe;function _0x342e2a(_0x3a07cf){const _0x1c15a5=_0x3dfb;_0x3a07cf[_0x1c15a5(0x21a)]('close');}function _0x52f19a(){const _0x18bb02=_0x3dfb;!this['destroyed']&&this[_0x18bb02(0x335)][_0x18bb02(0x181)]&&this['destroy']();}function _0x302d67(_0x37e7e0){const _0x33b9a8=_0x3dfb;this['removeListener'](_0x33b9a8(0x213),_0x302d67),this[_0x33b9a8(0x320)](),this[_0x33b9a8(0x203)](_0x33b9a8(0x213))===0x0&&this[_0x33b9a8(0x21a)](_0x33b9a8(0x213),_0x37e7e0);}function _0x35f86c(_0x5b82ed,_0xa154c3){const _0x1dbfa7=_0x3dfb;let _0x378851=!0x0;const _0x5078ef=new _0x6bd779({..._0xa154c3,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5b82ed['on'](_0x1dbfa7(0x210),function(_0x4461cd,_0x4deaf6){const _0x4041d0=_0x1dbfa7,_0x78db65=!_0x4deaf6&&_0x5078ef['_readableState']['objectMode']?_0x4461cd[_0x4041d0(0x31e)]():_0x4461cd;_0x5078ef['push'](_0x78db65)||_0x5b82ed[_0x4041d0(0x298)]();}),_0x5b82ed[_0x1dbfa7(0x33f)](_0x1dbfa7(0x213),function(_0x590fe4){const _0x505096=_0x1dbfa7;_0x5078ef[_0x505096(0x20c)]||(_0x378851=!0x1,_0x5078ef[_0x505096(0x320)](_0x590fe4));}),_0x5b82ed[_0x1dbfa7(0x33f)](_0x1dbfa7(0x231),function(){const _0x456ec5=_0x1dbfa7;_0x5078ef[_0x456ec5(0x20c)]||_0x5078ef['push'](null);}),_0x5078ef[_0x1dbfa7(0x1cc)]=function(_0x4c706c,_0x1881c5){const _0x44ac1c=_0x1dbfa7;if(_0x5b82ed['readyState']===_0x5b82ed[_0x44ac1c(0x32a)]){_0x1881c5(_0x4c706c),process[_0x44ac1c(0x209)](_0x342e2a,_0x5078ef);return;}let _0xa215f0=!0x1;_0x5b82ed[_0x44ac1c(0x33f)](_0x44ac1c(0x213),function(_0x8fed79){_0xa215f0=!0x0,_0x1881c5(_0x8fed79);}),_0x5b82ed[_0x44ac1c(0x33f)](_0x44ac1c(0x231),function(){const _0x40a30b=_0x44ac1c;_0xa215f0||_0x1881c5(_0x4c706c),process[_0x40a30b(0x209)](_0x342e2a,_0x5078ef);}),_0x378851&&_0x5b82ed[_0x44ac1c(0x23b)]();},_0x5078ef[_0x1dbfa7(0x2c8)]=function(_0x978c02){const _0x43e180=_0x1dbfa7;if(_0x5b82ed[_0x43e180(0x18e)]===_0x5b82ed['CONNECTING']){_0x5b82ed[_0x43e180(0x33f)](_0x43e180(0x200),function(){const _0x13d929=_0x43e180;_0x5078ef[_0x13d929(0x2c8)](_0x978c02);});return;}_0x5b82ed[_0x43e180(0x1dc)]!==null&&(_0x5b82ed[_0x43e180(0x1dc)]['_writableState']['finished']?(_0x978c02(),_0x5078ef[_0x43e180(0x223)][_0x43e180(0x25f)]&&_0x5078ef['destroy']()):(_0x5b82ed['_socket'][_0x43e180(0x33f)]('finish',function(){_0x978c02();}),_0x5b82ed[_0x43e180(0x231)]()));},_0x5078ef[_0x1dbfa7(0x21c)]=function(){const _0x3b1f3d=_0x1dbfa7;_0x5b82ed['isPaused']&&_0x5b82ed[_0x3b1f3d(0x276)]();},_0x5078ef[_0x1dbfa7(0x284)]=function(_0x24d143,_0xc25ef2,_0x3c4720){const _0x5c24e7=_0x1dbfa7;if(_0x5b82ed[_0x5c24e7(0x18e)]===_0x5b82ed[_0x5c24e7(0x2b0)]){_0x5b82ed[_0x5c24e7(0x33f)](_0x5c24e7(0x200),function(){_0x5078ef['_write'](_0x24d143,_0xc25ef2,_0x3c4720);});return;}_0x5b82ed[_0x5c24e7(0x2e3)](_0x24d143,_0x3c4720);},_0x5078ef['on']('end',_0x52f19a),_0x5078ef['on'](_0x1dbfa7(0x213),_0x302d67),_0x5078ef;}return Oe=_0x35f86c,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x2faf88}=ae();function _0x264aae(_0x111a3b){const _0x461fe6=_0x3dfb,_0x4e4fe8=new Set();let _0x22a394=-0x1,_0x5c7c2b=-0x1,_0x235f94=0x0;for(_0x235f94;_0x235f94<_0x111a3b[_0x461fe6(0x1c7)];_0x235f94++){const _0x57a7a9=_0x111a3b[_0x461fe6(0x318)](_0x235f94);if(_0x5c7c2b===-0x1&&_0x2faf88[_0x57a7a9]===0x1)_0x22a394===-0x1&&(_0x22a394=_0x235f94);else{if(_0x235f94!==0x0&&(_0x57a7a9===0x20||_0x57a7a9===0x9))_0x5c7c2b===-0x1&&_0x22a394!==-0x1&&(_0x5c7c2b=_0x235f94);else{if(_0x57a7a9===0x2c){if(_0x22a394===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x235f94);_0x5c7c2b===-0x1&&(_0x5c7c2b=_0x235f94);const _0xcbf657=_0x111a3b[_0x461fe6(0x2ba)](_0x22a394,_0x5c7c2b);if(_0x4e4fe8[_0x461fe6(0x18c)](_0xcbf657))throw new SyntaxError(_0x461fe6(0x329)+_0xcbf657+_0x461fe6(0x2fa));_0x4e4fe8[_0x461fe6(0x2bc)](_0xcbf657),_0x22a394=_0x5c7c2b=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x235f94);}}}if(_0x22a394===-0x1||_0x5c7c2b!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x1a382e=_0x111a3b[_0x461fe6(0x2ba)](_0x22a394,_0x235f94);if(_0x4e4fe8[_0x461fe6(0x18c)](_0x1a382e))throw new SyntaxError(_0x461fe6(0x329)+_0x1a382e+_0x461fe6(0x2fa));return _0x4e4fe8[_0x461fe6(0x2bc)](_0x1a382e),_0x4e4fe8;}return Ce={'parse':_0x264aae},Ce;}var Te,rt;function Ft(){const _0x5475fe=_0x3db353;if(rt)return Te;rt=0x1;const _0x277782=nt,_0x42988c=ot,{Duplex:_0x15acf5}=oe,{createHash:_0x5226fd}=Le,_0x33ac21=ct(),_0x5d67f9=he(),_0x2527d5=At(),_0x225934=Pe(),{GUID:_0x131de4,kWebSocket:_0x3fbbe0}=H(),_0x49b559=/^[+/0-9A-Za-z]{22}==$/,_0x1dd139=0x0,_0x1b36e2=0x1,_0x37a178=0x2;class _0xe00a1c extends _0x277782{constructor(_0x5e6f17,_0x407e75){const _0x2f6d0a=_0x3dfb;if(super(),_0x5e6f17={'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':_0x225934,..._0x5e6f17},_0x5e6f17[_0x2f6d0a(0x22d)]==null&&!_0x5e6f17['server']&&!_0x5e6f17[_0x2f6d0a(0x30a)]||_0x5e6f17[_0x2f6d0a(0x22d)]!=null&&(_0x5e6f17[_0x2f6d0a(0x236)]||_0x5e6f17['noServer'])||_0x5e6f17[_0x2f6d0a(0x236)]&&_0x5e6f17['noServer'])throw new TypeError(_0x2f6d0a(0x186));if(_0x5e6f17[_0x2f6d0a(0x22d)]!=null?(this[_0x2f6d0a(0x1d9)]=_0x42988c[_0x2f6d0a(0x18a)]((_0x567d90,_0x1414e8)=>{const _0xdbcf45=_0x2f6d0a,_0x50328e=_0x42988c[_0xdbcf45(0x1ca)][0x1aa];_0x1414e8[_0xdbcf45(0x1e2)](0x1aa,{'Content-Length':_0x50328e[_0xdbcf45(0x1c7)],'Content-Type':_0xdbcf45(0x29b)}),_0x1414e8['end'](_0x50328e);}),this[_0x2f6d0a(0x1d9)][_0x2f6d0a(0x1a3)](_0x5e6f17['port'],_0x5e6f17[_0x2f6d0a(0x2fd)],_0x5e6f17[_0x2f6d0a(0x322)],_0x407e75)):_0x5e6f17['server']&&(this[_0x2f6d0a(0x1d9)]=_0x5e6f17['server']),this[_0x2f6d0a(0x1d9)]){const _0x6ae2e5=this[_0x2f6d0a(0x21a)][_0x2f6d0a(0x2b5)](this,'connection');this[_0x2f6d0a(0x293)]=_0x3a21bf(this['_server'],{'listening':this[_0x2f6d0a(0x21a)][_0x2f6d0a(0x2b5)](this,_0x2f6d0a(0x19b)),'error':this[_0x2f6d0a(0x21a)][_0x2f6d0a(0x2b5)](this,_0x2f6d0a(0x213)),'upgrade':(_0x46b0d,_0x7e691d,_0x16621d)=>{const _0x1d70b0=_0x2f6d0a;this[_0x1d70b0(0x239)](_0x46b0d,_0x7e691d,_0x16621d,_0x6ae2e5);}});}_0x5e6f17[_0x2f6d0a(0x259)]===!0x0&&(_0x5e6f17['perMessageDeflate']={}),_0x5e6f17['clientTracking']&&(this['clients']=new Set(),this[_0x2f6d0a(0x2f0)]=!0x1),this[_0x2f6d0a(0x1a2)]=_0x5e6f17,this[_0x2f6d0a(0x249)]=_0x1dd139;}[_0x5475fe(0x1d3)](){const _0x22b76d=_0x5475fe;if(this[_0x22b76d(0x1a2)][_0x22b76d(0x30a)])throw new Error(_0x22b76d(0x20f));return this[_0x22b76d(0x1d9)]?this['_server'][_0x22b76d(0x1d3)]():null;}[_0x5475fe(0x231)](_0x3c8398){const _0x3c7b30=_0x5475fe;if(this[_0x3c7b30(0x249)]===_0x37a178){_0x3c8398&&this[_0x3c7b30(0x33f)](_0x3c7b30(0x231),()=>{const _0x5e77b9=_0x3c7b30;_0x3c8398(new Error(_0x5e77b9(0x1db)));}),process[_0x3c7b30(0x209)](_0x2a9adc,this);return;}if(_0x3c8398&&this[_0x3c7b30(0x33f)]('close',_0x3c8398),this[_0x3c7b30(0x249)]!==_0x1b36e2){if(this[_0x3c7b30(0x249)]=_0x1b36e2,this['options'][_0x3c7b30(0x30a)]||this['options'][_0x3c7b30(0x236)])this['_server']&&(this[_0x3c7b30(0x293)](),this[_0x3c7b30(0x293)]=this['_server']=null),this['clients']?this[_0x3c7b30(0x1d7)][_0x3c7b30(0x27b)]?this[_0x3c7b30(0x2f0)]=!0x0:process[_0x3c7b30(0x209)](_0x2a9adc,this):process[_0x3c7b30(0x209)](_0x2a9adc,this);else{const _0x268036=this[_0x3c7b30(0x1d9)];this[_0x3c7b30(0x293)](),this[_0x3c7b30(0x293)]=this[_0x3c7b30(0x1d9)]=null,_0x268036[_0x3c7b30(0x231)](()=>{_0x2a9adc(this);});}}}[_0x5475fe(0x182)](_0x492d4e){const _0xc7a665=_0x5475fe;if(this[_0xc7a665(0x1a2)][_0xc7a665(0x321)]){const _0x197842=_0x492d4e[_0xc7a665(0x1a5)]['indexOf']('?');if((_0x197842!==-0x1?_0x492d4e[_0xc7a665(0x1a5)][_0xc7a665(0x2ba)](0x0,_0x197842):_0x492d4e[_0xc7a665(0x1a5)])!==this['options'][_0xc7a665(0x321)])return!0x1;}return!0x0;}[_0x5475fe(0x239)](_0x5afdb0,_0x163f12,_0x421ff6,_0x55d1c6){const _0x320126=_0x5475fe;_0x163f12['on'](_0x320126(0x213),_0x1dabe1);const _0x5c38e4=_0x5afdb0[_0x320126(0x2aa)][_0x320126(0x2c5)],_0x3c99da=_0x5afdb0['headers']['upgrade'],_0x457e1e=+_0x5afdb0['headers']['sec-websocket-version'];if(_0x5afdb0[_0x320126(0x2f1)]!==_0x320126(0x2c3)){_0x30b20c(this,_0x5afdb0,_0x163f12,0x195,_0x320126(0x324));return;}if(_0x3c99da===void 0x0||_0x3c99da['toLowerCase']()!==_0x320126(0x2b7)){_0x30b20c(this,_0x5afdb0,_0x163f12,0x190,_0x320126(0x248));return;}if(_0x5c38e4===void 0x0||!_0x49b559['test'](_0x5c38e4)){_0x30b20c(this,_0x5afdb0,_0x163f12,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x457e1e!==0x8&&_0x457e1e!==0xd){_0x30b20c(this,_0x5afdb0,_0x163f12,0x190,_0x320126(0x1a7));return;}if(!this[_0x320126(0x182)](_0x5afdb0)){_0x2f0745(_0x163f12,0x190);return;}const _0x5099d8=_0x5afdb0[_0x320126(0x2aa)]['sec-websocket-protocol'];let _0x2a7e14=new Set();if(_0x5099d8!==void 0x0)try{_0x2a7e14=_0x2527d5[_0x320126(0x294)](_0x5099d8);}catch{_0x30b20c(this,_0x5afdb0,_0x163f12,0x190,_0x320126(0x253));return;}const _0x3e226c=_0x5afdb0[_0x320126(0x2aa)]['sec-websocket-extensions'],_0x44c9f9={};if(this[_0x320126(0x1a2)][_0x320126(0x259)]&&_0x3e226c!==void 0x0){const _0x428ce3=new _0x5d67f9(this['options'][_0x320126(0x259)],!0x0,this['options'][_0x320126(0x312)]);try{const _0x4bb2f8=_0x33ac21[_0x320126(0x294)](_0x3e226c);_0x4bb2f8[_0x5d67f9[_0x320126(0x1d0)]]&&(_0x428ce3[_0x320126(0x319)](_0x4bb2f8[_0x5d67f9[_0x320126(0x1d0)]]),_0x44c9f9[_0x5d67f9[_0x320126(0x1d0)]]=_0x428ce3);}catch{_0x30b20c(this,_0x5afdb0,_0x163f12,0x190,_0x320126(0x26e));return;}}if(this[_0x320126(0x1a2)][_0x320126(0x2dd)]){const _0x2a1497={'origin':_0x5afdb0[_0x320126(0x2aa)][''+(_0x457e1e===0x8?'sec-websocket-origin':_0x320126(0x19f))],'secure':!!(_0x5afdb0[_0x320126(0x2fb)][_0x320126(0x2a0)]||_0x5afdb0[_0x320126(0x2fb)][_0x320126(0x1c0)]),'req':_0x5afdb0};if(this[_0x320126(0x1a2)][_0x320126(0x2dd)]['length']===0x2){this['options'][_0x320126(0x2dd)](_0x2a1497,(_0x31aec9,_0x294ab8,_0x5a9eb8,_0x5501f0)=>{const _0x1488f4=_0x320126;if(!_0x31aec9)return _0x2f0745(_0x163f12,_0x294ab8||0x191,_0x5a9eb8,_0x5501f0);this[_0x1488f4(0x280)](_0x44c9f9,_0x5c38e4,_0x2a7e14,_0x5afdb0,_0x163f12,_0x421ff6,_0x55d1c6);});return;}if(!this[_0x320126(0x1a2)][_0x320126(0x2dd)](_0x2a1497))return _0x2f0745(_0x163f12,0x191);}this[_0x320126(0x280)](_0x44c9f9,_0x5c38e4,_0x2a7e14,_0x5afdb0,_0x163f12,_0x421ff6,_0x55d1c6);}[_0x5475fe(0x280)](_0xbebad4,_0x20630e,_0x2cf214,_0x4d4e62,_0x5ea3d4,_0x461b8d,_0x251edf){const _0x12e4a3=_0x5475fe;if(!_0x5ea3d4['readable']||!_0x5ea3d4[_0x12e4a3(0x21f)])return _0x5ea3d4[_0x12e4a3(0x320)]();if(_0x5ea3d4[_0x3fbbe0])throw new Error(_0x12e4a3(0x278));if(this[_0x12e4a3(0x249)]>_0x1dd139)return _0x2f0745(_0x5ea3d4,0x1f7);const _0x5a82ee=[_0x12e4a3(0x1ac),_0x12e4a3(0x193),_0x12e4a3(0x1be),_0x12e4a3(0x2b3)+_0x5226fd('sha1')[_0x12e4a3(0x1c5)](_0x20630e+_0x131de4)[_0x12e4a3(0x24a)](_0x12e4a3(0x281))],_0x5638a8=new this['options'][(_0x12e4a3(0x238))](null,void 0x0,this['options']);if(_0x2cf214['size']){const _0x5f31f8=this['options'][_0x12e4a3(0x199)]?this[_0x12e4a3(0x1a2)][_0x12e4a3(0x199)](_0x2cf214,_0x4d4e62):_0x2cf214[_0x12e4a3(0x28a)]()[_0x12e4a3(0x2f7)]()[_0x12e4a3(0x2ff)];_0x5f31f8&&(_0x5a82ee[_0x12e4a3(0x25b)]('Sec-WebSocket-Protocol:\x20'+_0x5f31f8),_0x5638a8[_0x12e4a3(0x1e4)]=_0x5f31f8);}if(_0xbebad4[_0x5d67f9['extensionName']]){const _0x36ba12=_0xbebad4[_0x5d67f9[_0x12e4a3(0x1d0)]][_0x12e4a3(0x2cb)],_0x22375e=_0x33ac21[_0x12e4a3(0x25d)]({[_0x5d67f9[_0x12e4a3(0x1d0)]]:[_0x36ba12]});_0x5a82ee[_0x12e4a3(0x25b)](_0x12e4a3(0x271)+_0x22375e),_0x5638a8[_0x12e4a3(0x295)]=_0xbebad4;}this[_0x12e4a3(0x21a)](_0x12e4a3(0x2aa),_0x5a82ee,_0x4d4e62),_0x5ea3d4['write'](_0x5a82ee[_0x12e4a3(0x229)]('\x0d\x0a')[_0x12e4a3(0x2d9)]('\x0d\x0a')),_0x5ea3d4[_0x12e4a3(0x225)](_0x12e4a3(0x213),_0x1dabe1),_0x5638a8[_0x12e4a3(0x2ef)](_0x5ea3d4,_0x461b8d,{'allowSynchronousEvents':this[_0x12e4a3(0x1a2)]['allowSynchronousEvents'],'maxPayload':this[_0x12e4a3(0x1a2)]['maxPayload'],'skipUTF8Validation':this[_0x12e4a3(0x1a2)][_0x12e4a3(0x1f0)]}),this[_0x12e4a3(0x1d7)]&&(this['clients'][_0x12e4a3(0x2bc)](_0x5638a8),_0x5638a8['on'](_0x12e4a3(0x231),()=>{const _0x3ccdc9=_0x12e4a3;this[_0x3ccdc9(0x1d7)][_0x3ccdc9(0x1f1)](_0x5638a8),this[_0x3ccdc9(0x2f0)]&&!this[_0x3ccdc9(0x1d7)][_0x3ccdc9(0x27b)]&&process[_0x3ccdc9(0x209)](_0x2a9adc,this);})),_0x251edf(_0x5638a8,_0x4d4e62);}}Te=_0xe00a1c;function _0x3a21bf(_0x58d847,_0x344f51){const _0x41dcda=_0x5475fe;for(const _0x1d4f44 of Object[_0x41dcda(0x17c)](_0x344f51))_0x58d847['on'](_0x1d4f44,_0x344f51[_0x1d4f44]);return function(){const _0xe36ec3=_0x41dcda;for(const _0x38651a of Object[_0xe36ec3(0x17c)](_0x344f51))_0x58d847[_0xe36ec3(0x225)](_0x38651a,_0x344f51[_0x38651a]);};}function _0x2a9adc(_0x35cf04){const _0xff94c0=_0x5475fe;_0x35cf04[_0xff94c0(0x249)]=_0x37a178,_0x35cf04[_0xff94c0(0x21a)]('close');}function _0x1dabe1(){const _0xb32a62=_0x5475fe;this[_0xb32a62(0x320)]();}function _0x2f0745(_0x5d8eff,_0x39d916,_0x266eab,_0x5063d3){const _0x273b1c=_0x5475fe;_0x266eab=_0x266eab||_0x42988c['STATUS_CODES'][_0x39d916],_0x5063d3={'Connection':'close','Content-Type':_0x273b1c(0x245),'Content-Length':Buffer[_0x273b1c(0x2df)](_0x266eab),..._0x5063d3},_0x5d8eff['once'](_0x273b1c(0x32d),_0x5d8eff[_0x273b1c(0x320)]),_0x5d8eff['end'](_0x273b1c(0x339)+_0x39d916+'\x20'+_0x42988c[_0x273b1c(0x1ca)][_0x39d916]+'\x0d\x0a'+Object[_0x273b1c(0x17c)](_0x5063d3)[_0x273b1c(0x206)](_0x207519=>_0x207519+':\x20'+_0x5063d3[_0x207519])[_0x273b1c(0x2d9)]('\x0d\x0a')+_0x273b1c(0x302)+_0x266eab);}function _0x30b20c(_0x503448,_0x25fedf,_0x388eaf,_0xeb5fe6,_0x522e23){const _0x763bcc=_0x5475fe;if(_0x503448[_0x763bcc(0x203)](_0x763bcc(0x1b2))){const _0x1b7b2a=new Error(_0x522e23);Error[_0x763bcc(0x24f)](_0x1b7b2a,_0x30b20c),_0x503448[_0x763bcc(0x21a)](_0x763bcc(0x1b2),_0x1b7b2a,_0x388eaf,_0x25fedf);}else _0x2f0745(_0x388eaf,_0xeb5fe6,_0x522e23);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x11a357,_0x1b85ef,_0x1a7149,_0x4cbf44)=>{const _0xd5d92d=_0x3db353;for(var _0x4f65b7=_0x4cbf44>0x1?void 0x0:_0x4cbf44?jt(_0x1b85ef,_0x1a7149):_0x1b85ef,_0x4c62ab=_0x11a357[_0xd5d92d(0x1c7)]-0x1,_0x35a7b3;_0x4c62ab>=0x0;_0x4c62ab--)(_0x35a7b3=_0x11a357[_0x4c62ab])&&(_0x4f65b7=_0x35a7b3(_0x4f65b7)||_0x4f65b7);return _0x4f65b7;},qt=(_0x5361ce,_0x39fac5)=>(_0x43a947,_0x1cf4c0)=>_0x39fac5(_0x43a947,_0x1cf4c0,_0x5361ce);let ke=class extends A[_0x3db353(0x328)]{constructor(_0x128750){const _0xf39443=_0x3db353;super(),this[_0xf39443(0x2c6)]=_0x128750;}[_0x3db353(0x188)](_0x33fea8){const _0x5595d2=_0x3db353;var _0x8cbade;const _0x32870a=(_0x8cbade=this[_0x5595d2(0x2c6)][_0x5595d2(0x220)](fe))==null?void 0x0:_0x8cbade[_0x5595d2(0x28c)];try{const _0x47d2b9=new $t(_0x33fea8,{'headers':{..._0x32870a}}),_0x30ae92=new A['DisposableCollection']();return{'URL':_0x33fea8,'close':(_0x327ff0,_0x40d3ae)=>{const _0x1a32f8=_0x5595d2;_0x47d2b9['close'](_0x327ff0,_0x40d3ae),_0x30ae92[_0x1a32f8(0x1c2)]();},'send':_0xdf5e96=>{const _0x4c46a3=_0x5595d2;_0x47d2b9[_0x4c46a3(0x2e3)](_0xdf5e96);},'open$':new V[(_0x5595d2(0x1f6))](_0x52b78c=>{const _0x5e7b4a=_0x5595d2,_0x300841=_0xa1a83=>_0x52b78c[_0x5e7b4a(0x2f7)](_0xa1a83);_0x47d2b9['addEventListener']('open',_0x300841),_0x30ae92[_0x5e7b4a(0x2bc)](A[_0x5e7b4a(0x1df)](()=>_0x47d2b9[_0x5e7b4a(0x215)](_0x5e7b4a(0x200),_0x300841)));})['pipe'](V[_0x5595d2(0x31a)]()),'close$':new V['Observable'](_0x3ea05d=>{const _0x10a683=_0x5595d2,_0x454ca9=_0x480ae5=>_0x3ea05d['next'](_0x480ae5);_0x47d2b9[_0x10a683(0x255)]('close',_0x454ca9),_0x30ae92[_0x10a683(0x2bc)](A[_0x10a683(0x1df)](()=>_0x47d2b9[_0x10a683(0x215)]('close',_0x454ca9)));})['pipe'](V[_0x5595d2(0x31a)]()),'error$':new V[(_0x5595d2(0x1f6))](_0x2b0bbb=>{const _0x5f294a=_0x5595d2,_0x16094f=_0x857d2=>_0x2b0bbb[_0x5f294a(0x2f7)](_0x857d2);_0x47d2b9[_0x5f294a(0x255)]('error',_0x16094f),_0x30ae92['add'](A[_0x5f294a(0x1df)](()=>_0x47d2b9['removeEventListener'](_0x5f294a(0x213),_0x16094f)));})[_0x5595d2(0x19a)](V[_0x5595d2(0x31a)]()),'message$':new V[(_0x5595d2(0x1f6))](_0x30b881=>{const _0x523b9c=_0x5595d2,_0x3fa5a9=_0x45e22c=>_0x30b881[_0x523b9c(0x2f7)](_0x45e22c);_0x47d2b9[_0x523b9c(0x255)](_0x523b9c(0x210),_0x3fa5a9),_0x30ae92[_0x523b9c(0x2bc)](A[_0x523b9c(0x1df)](()=>_0x47d2b9['removeEventListener'](_0x523b9c(0x210),_0x3fa5a9)));})[_0x5595d2(0x19a)](V[_0x5595d2(0x31a)]())};}catch(_0x252107){return console[_0x5595d2(0x213)](_0x252107),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x3db353(0x22c)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0xfe8b6f,_0x43c9e8,_0x7b4c13)=>_0x43c9e8 in _0xfe8b6f?Gt(_0xfe8b6f,_0x43c9e8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x7b4c13}):_0xfe8b6f[_0x43c9e8]=_0x7b4c13,zt=(_0x176e35,_0x5f5591,_0x507461,_0x25723f)=>{const _0x166ade=_0x3db353;for(var _0x44ad3a=_0x25723f>0x1?void 0x0:_0x25723f?Vt(_0x5f5591,_0x507461):_0x5f5591,_0x7cb379=_0x176e35[_0x166ade(0x1c7)]-0x1,_0xc613f9;_0x7cb379>=0x0;_0x7cb379--)(_0xc613f9=_0x176e35[_0x7cb379])&&(_0x44ad3a=_0xc613f9(_0x44ad3a)||_0x44ad3a);return _0x44ad3a;},Ne=(_0xb9677e,_0x2a4e66)=>(_0x11f641,_0x1a8825)=>_0x2a4e66(_0x11f641,_0x1a8825,_0xb9677e),Yt=(_0x2f1d05,_0x6468b,_0x8bdb63)=>Ht(_0x2f1d05,_0x6468b+'',_0x8bdb63);exports[_0x3db353(0x313)]=class extends A[_0x3db353(0x17d)]{constructor(_0x761b4c=Ct,_0x62038d,_0x58ff7b,_0x398e80){const _0x5d1019=_0x3db353;_0x761b4c['customHeaders']||_0x62038d['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x5d1019(0x2c6)]=_0x58ff7b,this[_0x5d1019(0x198)]=_0x398e80,this['_configService'][_0x5d1019(0x2bb)](fe,_0x761b4c);}[_0x3db353(0x2e9)](){const _0x5f44a9=_0x3db353;this[_0x5f44a9(0x33d)]();}[_0x3db353(0x33d)](){const _0x58091c=_0x3db353;A['registerDependencies'](this[_0x58091c(0x198)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x3db353(0x313)],_0x3db353(0x18d),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x3db353(0x313)]=zt([A[_0x3db353(0x270)](st[_0x3db353(0x184)]),Ne(0x1,A[_0x3db353(0x2a4)]),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x3db353(0x1b9)](A[_0x3db353(0x338)]))],exports[_0x3db353(0x313)]);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x188fc6,_0x39c2c0,_0x1b11cd,_0x18dcd5)=>{for(var _0x4f6142=_0x18dcd5>0x1?void 0x0:_0x18dcd5?Kt(_0x39c2c0,_0x1b11cd):_0x39c2c0,_0x331a91=_0x188fc6['length']-0x1,_0x3d16d2;_0x331a91>=0x0;_0x331a91--)(_0x3d16d2=_0x188fc6[_0x331a91])&&(_0x4f6142=_0x3d16d2(_0x4f6142)||_0x4f6142);return _0x4f6142;},ne=(_0x59bb5c,_0x4ec97e)=>(_0x52c925,_0x1c87d6)=>_0x4ec97e(_0x52c925,_0x1c87d6,_0x59bb5c);exports[_0x3db353(0x20e)]=class extends st[_0x3db353(0x267)]{constructor(_0x171ab3,_0x5c161d,_0x7f3db0,_0x5e47cc,_0x5eddfc){const _0x38e870=_0x3db353;super(_0x171ab3,_0x5c161d,_0x7f3db0,_0x5e47cc,_0x5eddfc);const _0x3c3af8=this[_0x38e870(0x2c6)][_0x38e870(0x220)](fe);this['_httpService'][_0x38e870(0x316)]({'interceptor':(_0x22a21c,_0x414a36)=>{const _0x918826=_0x38e870;var _0x5bc952;const _0x10d9b5=_0x22a21c[_0x918826(0x2aa)];return(_0x5bc952=_0x3c3af8==null?void 0x0:_0x3c3af8['customHeaders'])!=null&&_0x5bc952['cookie']&&_0x10d9b5[_0x918826(0x1cd)](_0x918826(0x1da),_0x3c3af8['customHeaders'][_0x918826(0x1ab)]),_0x414a36(_0x22a21c);}});}async[_0x3db353(0x188)](_0x436c84){const _0x357e4c=_0x3db353;return this[_0x357e4c(0x179)](_0x436c84);}},exports[_0x3db353(0x20e)]=Xt([ne(0x0,A['Inject'](A[_0x3db353(0x338)])),ne(0x1,A['Inject'](it[_0x3db353(0x2ac)])),ne(0x2,A[_0x3db353(0x243)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x3db353(0x1bd)])],exports[_0x3db353(0x20e)]),exports[_0x3db353(0x185)]=fe;
|