@univerjs-pro/collaboration-client-node 0.14.0 → 0.15.0-insiders.20251227-453e4ff

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 CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x234bf8=_0x3413;(function(_0x102a4d,_0x1df444){const _0x54d8f3=_0x3413,_0x4ea2e2=_0x102a4d();while(!![]){try{const _0xbef609=parseInt(_0x54d8f3(0x2ab))/0x1+parseInt(_0x54d8f3(0x2e3))/0x2*(parseInt(_0x54d8f3(0x25a))/0x3)+parseInt(_0x54d8f3(0x2b1))/0x4*(parseInt(_0x54d8f3(0x243))/0x5)+parseInt(_0x54d8f3(0x166))/0x6+parseInt(_0x54d8f3(0x2e8))/0x7*(-parseInt(_0x54d8f3(0x253))/0x8)+parseInt(_0x54d8f3(0x214))/0x9*(parseInt(_0x54d8f3(0x300))/0xa)+-parseInt(_0x54d8f3(0x16e))/0xb;if(_0xbef609===_0x1df444)break;else _0x4ea2e2['push'](_0x4ea2e2['shift']());}catch(_0x12d014){_0x4ea2e2['push'](_0x4ea2e2['shift']());}}}(_0x1af8,0xe249f));Object[_0x234bf8(0x1d7)](exports,Symbol[_0x234bf8(0x1d2)],{'value':'Module'});const fe=require('@univerjs-pro/collaboration-client'),F=require('@univerjs/core'),st=require('@univerjs/network'),V=require('rxjs'),it=require('events'),vt=require('https'),nt=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),Ot=require('buffer'),wt=require('@univerjs-pro/collaboration'),ot=_0x234bf8(0x19a),Ct={};function Tt(_0x178e1f){const _0x135757=_0x234bf8;return _0x178e1f&&_0x178e1f[_0x135757(0x312)]&&Object['prototype'][_0x135757(0x27f)]['call'](_0x178e1f,_0x135757(0x306))?_0x178e1f[_0x135757(0x306)]:_0x178e1f;}function at(_0x1fe762){const _0x5391b6=_0x234bf8;if(Object[_0x5391b6(0x30a)][_0x5391b6(0x27f)][_0x5391b6(0x168)](_0x1fe762,_0x5391b6(0x312)))return _0x1fe762;var _0x12699c=_0x1fe762[_0x5391b6(0x306)];if(typeof _0x12699c=='function'){var _0x44e4fb=function _0xf4bc53(){const _0x5a0498=_0x5391b6;var _0x4a6bdf=!0x1;try{_0x4a6bdf=this instanceof _0xf4bc53;}catch{}return _0x4a6bdf?Reflect[_0x5a0498(0x31c)](_0x12699c,arguments,this[_0x5a0498(0x1b3)]):_0x12699c['apply'](this,arguments);};_0x44e4fb[_0x5391b6(0x30a)]=_0x12699c['prototype'];}else _0x44e4fb={};return Object['defineProperty'](_0x44e4fb,_0x5391b6(0x312),{'value':!0x0}),Object[_0x5391b6(0x28c)](_0x1fe762)[_0x5391b6(0x26c)](function(_0x200115){const _0x96af19=_0x5391b6;var _0x2be26c=Object[_0x96af19(0x21f)](_0x1fe762,_0x200115);Object['defineProperty'](_0x44e4fb,_0x200115,_0x2be26c[_0x96af19(0x2d3)]?_0x2be26c:{'enumerable':!0x0,'get':function(){return _0x1fe762[_0x200115];}});}),_0x44e4fb;}var se={'exports':{}},ge,qe;function H(){const _0x209adf=_0x234bf8;if(qe)return ge;qe=0x1;const _0xd8dcf6=[_0x209adf(0x163),'arraybuffer','fragments'],_0x93d0f5=typeof Blob<'u';return _0x93d0f5&&_0xd8dcf6[_0x209adf(0x2fc)](_0x209adf(0x24f)),ge={'BINARY_TYPES':_0xd8dcf6,'EMPTY_BUFFER':Buffer[_0x209adf(0x1d6)](0x0),'GUID':_0x209adf(0x2bd),'hasBlob':_0x93d0f5,'kForOnEventAttribute':Symbol(_0x209adf(0x2e7)),'kListener':Symbol(_0x209adf(0x23d)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x209adf(0x1f2)),'NOOP':()=>{}},ge;}const Nt={},Lt=Object[_0x234bf8(0x223)](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol[_0x234bf8(0x1d2)],{'value':_0x234bf8(0x165)})),kt=at(Lt);function _0x3413(_0x93f7a1,_0x25a205){_0x93f7a1=_0x93f7a1-0x161;const _0x1af8e6=_0x1af8();let _0x34130c=_0x1af8e6[_0x93f7a1];return _0x34130c;}var Ge;function ce(){const _0x448e88=_0x234bf8;if(Ge)return se[_0x448e88(0x1d4)];Ge=0x1;const {EMPTY_BUFFER:_0x4e9919}=H(),_0xb57683=Buffer[Symbol['species']];function _0x45062f(_0x57b5c4,_0x19dd67){const _0x5706f7=_0x448e88;if(_0x57b5c4[_0x5706f7(0x2e2)]===0x0)return _0x4e9919;if(_0x57b5c4[_0x5706f7(0x2e2)]===0x1)return _0x57b5c4[0x0];const _0x51d9df=Buffer[_0x5706f7(0x320)](_0x19dd67);let _0x478ed2=0x0;for(let _0x49f418=0x0;_0x49f418<_0x57b5c4['length'];_0x49f418++){const _0x12b01b=_0x57b5c4[_0x49f418];_0x51d9df[_0x5706f7(0x2e6)](_0x12b01b,_0x478ed2),_0x478ed2+=_0x12b01b[_0x5706f7(0x2e2)];}return _0x478ed2<_0x19dd67?new _0xb57683(_0x51d9df[_0x5706f7(0x2a5)],_0x51d9df[_0x5706f7(0x2dc)],_0x478ed2):_0x51d9df;}function _0x378ac8(_0x1ef6fb,_0x451d56,_0x3278cd,_0x52d20d,_0x1cf667){for(let _0x3ca38f=0x0;_0x3ca38f<_0x1cf667;_0x3ca38f++)_0x3278cd[_0x52d20d+_0x3ca38f]=_0x1ef6fb[_0x3ca38f]^_0x451d56[_0x3ca38f&0x3];}function _0x2f714b(_0x83cb3,_0x4a1893){for(let _0x1fa32b=0x0;_0x1fa32b<_0x83cb3['length'];_0x1fa32b++)_0x83cb3[_0x1fa32b]^=_0x4a1893[_0x1fa32b&0x3];}function _0x4645c1(_0x57ce40){const _0x364c67=_0x448e88;return _0x57ce40[_0x364c67(0x2e2)]===_0x57ce40['buffer'][_0x364c67(0x1df)]?_0x57ce40[_0x364c67(0x2a5)]:_0x57ce40[_0x364c67(0x2a5)]['slice'](_0x57ce40[_0x364c67(0x2dc)],_0x57ce40[_0x364c67(0x2dc)]+_0x57ce40[_0x364c67(0x2e2)]);}function _0x5a6c27(_0x4c6dda){const _0x2f6a53=_0x448e88;if(_0x5a6c27[_0x2f6a53(0x242)]=!0x0,Buffer[_0x2f6a53(0x1c8)](_0x4c6dda))return _0x4c6dda;let _0x490b4c;return _0x4c6dda instanceof ArrayBuffer?_0x490b4c=new _0xb57683(_0x4c6dda):ArrayBuffer[_0x2f6a53(0x1b8)](_0x4c6dda)?_0x490b4c=new _0xb57683(_0x4c6dda[_0x2f6a53(0x2a5)],_0x4c6dda[_0x2f6a53(0x2dc)],_0x4c6dda[_0x2f6a53(0x1df)]):(_0x490b4c=Buffer[_0x2f6a53(0x2c3)](_0x4c6dda),_0x5a6c27[_0x2f6a53(0x242)]=!0x1),_0x490b4c;}if(se[_0x448e88(0x1d4)]={'concat':_0x45062f,'mask':_0x378ac8,'toArrayBuffer':_0x4645c1,'toBuffer':_0x5a6c27,'unmask':_0x2f714b},!process[_0x448e88(0x2fd)]['WS_NO_BUFFER_UTIL'])try{const _0x35b9df=kt;se[_0x448e88(0x1d4)][_0x448e88(0x179)]=function(_0x1072cb,_0x5aab2d,_0xb5ee37,_0x3e0a71,_0x35c605){const _0x1abcd8=_0x448e88;_0x35c605<0x30?_0x378ac8(_0x1072cb,_0x5aab2d,_0xb5ee37,_0x3e0a71,_0x35c605):_0x35b9df[_0x1abcd8(0x179)](_0x1072cb,_0x5aab2d,_0xb5ee37,_0x3e0a71,_0x35c605);},se[_0x448e88(0x1d4)][_0x448e88(0x196)]=function(_0x1232b6,_0x3a6f00){_0x1232b6['length']<0x20?_0x2f714b(_0x1232b6,_0x3a6f00):_0x35b9df['unmask'](_0x1232b6,_0x3a6f00);};}catch{}return se[_0x448e88(0x1d4)];}var ye,Ve;function Pt(){const _0x497a4d=_0x234bf8;if(Ve)return ye;Ve=0x1;const _0x300420=Symbol('kDone'),_0x51d18f=Symbol(_0x497a4d(0x2cd));class _0x33d5b0{constructor(_0x4708d1){const _0x2e01df=_0x497a4d;this[_0x300420]=()=>{this['pending']--,this[_0x51d18f]();},this[_0x2e01df(0x201)]=_0x4708d1||0x1/0x0,this['jobs']=[],this[_0x2e01df(0x252)]=0x0;}[_0x497a4d(0x208)](_0x1167b6){const _0x276584=_0x497a4d;this[_0x276584(0x322)][_0x276584(0x2fc)](_0x1167b6),this[_0x51d18f]();}[_0x51d18f](){const _0x5d3b29=_0x497a4d;if(this[_0x5d3b29(0x252)]!==this[_0x5d3b29(0x201)]&&this[_0x5d3b29(0x322)][_0x5d3b29(0x2e2)]){const _0x38a3da=this[_0x5d3b29(0x322)][_0x5d3b29(0x211)]();this[_0x5d3b29(0x252)]++,_0x38a3da(this[_0x300420]);}}}return ye=_0x33d5b0,ye;}var ve,He;function he(){const _0x5c8b21=_0x234bf8;if(He)return ve;He=0x1;const _0xd7f5c3=bt,_0x3f2dbb=ce(),_0x22898a=Pt(),{kStatusCode:_0x3813b4}=H(),_0x57c5aa=Buffer[Symbol[_0x5c8b21(0x29d)]],_0x322697=Buffer[_0x5c8b21(0x2c3)]([0x0,0x0,0xff,0xff]),_0x2eca50=Symbol(_0x5c8b21(0x239)),_0x3f46b9=Symbol(_0x5c8b21(0x1f3)),_0x4b305b=Symbol(_0x5c8b21(0x20d)),_0x1dea3e=Symbol(_0x5c8b21(0x284)),_0xffaa1f=Symbol('error');let _0x15c293;class _0x106138{constructor(_0x589aca,_0x4d266e,_0x212419){const _0x5dbf1a=_0x5c8b21;if(this[_0x5dbf1a(0x1c9)]=_0x212419|0x0,this[_0x5dbf1a(0x27d)]=_0x589aca||{},this[_0x5dbf1a(0x20f)]=this[_0x5dbf1a(0x27d)]['threshold']!==void 0x0?this[_0x5dbf1a(0x27d)][_0x5dbf1a(0x286)]:0x400,this[_0x5dbf1a(0x238)]=!!_0x4d266e,this['_deflate']=null,this['_inflate']=null,this[_0x5dbf1a(0x2a7)]=null,!_0x15c293){const _0x2f1a66=this[_0x5dbf1a(0x27d)][_0x5dbf1a(0x2cf)]!==void 0x0?this['_options'][_0x5dbf1a(0x2cf)]:0xa;_0x15c293=new _0x22898a(_0x2f1a66);}}static get[_0x5c8b21(0x197)](){return'permessage-deflate';}['offer'](){const _0xc8a0c4=_0x5c8b21,_0x4e7f67={};return this[_0xc8a0c4(0x27d)][_0xc8a0c4(0x1c1)]&&(_0x4e7f67[_0xc8a0c4(0x2c1)]=!0x0),this['_options'][_0xc8a0c4(0x169)]&&(_0x4e7f67[_0xc8a0c4(0x272)]=!0x0),this['_options'][_0xc8a0c4(0x22c)]&&(_0x4e7f67['server_max_window_bits']=this['_options'][_0xc8a0c4(0x22c)]),this[_0xc8a0c4(0x27d)][_0xc8a0c4(0x278)]?_0x4e7f67[_0xc8a0c4(0x2f4)]=this[_0xc8a0c4(0x27d)][_0xc8a0c4(0x278)]:this['_options']['clientMaxWindowBits']==null&&(_0x4e7f67['client_max_window_bits']=!0x0),_0x4e7f67;}['accept'](_0x4fae71){const _0x3ac579=_0x5c8b21;return _0x4fae71=this['normalizeParams'](_0x4fae71),this[_0x3ac579(0x2a7)]=this[_0x3ac579(0x238)]?this[_0x3ac579(0x18b)](_0x4fae71):this[_0x3ac579(0x26d)](_0x4fae71),this['params'];}[_0x5c8b21(0x273)](){const _0x1bca0b=_0x5c8b21;if(this['_inflate']&&(this[_0x1bca0b(0x2a1)]['close'](),this[_0x1bca0b(0x2a1)]=null),this[_0x1bca0b(0x1fa)]){const _0x528a05=this['_deflate'][_0x4b305b];this[_0x1bca0b(0x1fa)]['close'](),this['_deflate']=null,_0x528a05&&_0x528a05(new Error(_0x1bca0b(0x28a)));}}[_0x5c8b21(0x18b)](_0x1e8441){const _0x145867=_0x5c8b21,_0xb7485e=this[_0x145867(0x27d)],_0x3a2417=_0x1e8441[_0x145867(0x287)](_0x562048=>!(_0xb7485e[_0x145867(0x1c1)]===!0x1&&_0x562048[_0x145867(0x2c1)]||_0x562048[_0x145867(0x1d0)]&&(_0xb7485e[_0x145867(0x22c)]===!0x1||typeof _0xb7485e[_0x145867(0x22c)]=='number'&&_0xb7485e[_0x145867(0x22c)]>_0x562048[_0x145867(0x1d0)])||typeof _0xb7485e['clientMaxWindowBits']==_0x145867(0x31a)&&!_0x562048[_0x145867(0x2f4)]));if(!_0x3a2417)throw new Error(_0x145867(0x24a));return _0xb7485e['serverNoContextTakeover']&&(_0x3a2417[_0x145867(0x2c1)]=!0x0),_0xb7485e[_0x145867(0x169)]&&(_0x3a2417['client_no_context_takeover']=!0x0),typeof _0xb7485e['serverMaxWindowBits']==_0x145867(0x31a)&&(_0x3a2417['server_max_window_bits']=_0xb7485e[_0x145867(0x22c)]),typeof _0xb7485e['clientMaxWindowBits']==_0x145867(0x31a)?_0x3a2417[_0x145867(0x2f4)]=_0xb7485e[_0x145867(0x278)]:(_0x3a2417[_0x145867(0x2f4)]===!0x0||_0xb7485e[_0x145867(0x278)]===!0x1)&&delete _0x3a2417[_0x145867(0x2f4)],_0x3a2417;}[_0x5c8b21(0x26d)](_0x36b1a1){const _0x1acad7=_0x5c8b21,_0x2f9f72=_0x36b1a1[0x0];if(this['_options']['clientNoContextTakeover']===!0x1&&_0x2f9f72[_0x1acad7(0x272)])throw new Error(_0x1acad7(0x248));if(!_0x2f9f72[_0x1acad7(0x2f4)])typeof this[_0x1acad7(0x27d)][_0x1acad7(0x278)]=='number'&&(_0x2f9f72[_0x1acad7(0x2f4)]=this[_0x1acad7(0x27d)][_0x1acad7(0x278)]);else{if(this[_0x1acad7(0x27d)]['clientMaxWindowBits']===!0x1||typeof this[_0x1acad7(0x27d)][_0x1acad7(0x278)]==_0x1acad7(0x31a)&&_0x2f9f72[_0x1acad7(0x2f4)]>this[_0x1acad7(0x27d)][_0x1acad7(0x278)])throw new Error(_0x1acad7(0x2d5));}return _0x2f9f72;}[_0x5c8b21(0x1ee)](_0x50cfdd){const _0x34dd75=_0x5c8b21;return _0x50cfdd[_0x34dd75(0x26c)](_0x390c6f=>{const _0x28271c=_0x34dd75;Object[_0x28271c(0x28c)](_0x390c6f)[_0x28271c(0x26c)](_0x39cc9c=>{const _0x141fb3=_0x28271c;let _0x2ec163=_0x390c6f[_0x39cc9c];if(_0x2ec163[_0x141fb3(0x2e2)]>0x1)throw new Error(_0x141fb3(0x276)+_0x39cc9c+_0x141fb3(0x2f5));if(_0x2ec163=_0x2ec163[0x0],_0x39cc9c===_0x141fb3(0x2f4)){if(_0x2ec163!==!0x0){const _0x396fea=+_0x2ec163;if(!Number['isInteger'](_0x396fea)||_0x396fea<0x8||_0x396fea>0xf)throw new TypeError(_0x141fb3(0x1ba)+_0x39cc9c+_0x141fb3(0x282)+_0x2ec163);_0x2ec163=_0x396fea;}else{if(!this[_0x141fb3(0x238)])throw new TypeError(_0x141fb3(0x1ba)+_0x39cc9c+_0x141fb3(0x282)+_0x2ec163);}}else{if(_0x39cc9c==='server_max_window_bits'){const _0x11e560=+_0x2ec163;if(!Number[_0x141fb3(0x1e5)](_0x11e560)||_0x11e560<0x8||_0x11e560>0xf)throw new TypeError(_0x141fb3(0x1ba)+_0x39cc9c+_0x141fb3(0x282)+_0x2ec163);_0x2ec163=_0x11e560;}else{if(_0x39cc9c===_0x141fb3(0x272)||_0x39cc9c==='server_no_context_takeover'){if(_0x2ec163!==!0x0)throw new TypeError(_0x141fb3(0x1ba)+_0x39cc9c+_0x141fb3(0x282)+_0x2ec163);}else throw new Error(_0x141fb3(0x22e)+_0x39cc9c+'\x22');}}_0x390c6f[_0x39cc9c]=_0x2ec163;});}),_0x50cfdd;}[_0x5c8b21(0x291)](_0x22fc5b,_0x47da7a,_0x40768d){const _0x3cf56b=_0x5c8b21;_0x15c293[_0x3cf56b(0x208)](_0x12cfd1=>{const _0x47fe1a=_0x3cf56b;this[_0x47fe1a(0x264)](_0x22fc5b,_0x47da7a,(_0x2b96f4,_0x5d6998)=>{_0x12cfd1(),_0x40768d(_0x2b96f4,_0x5d6998);});});}[_0x5c8b21(0x1c2)](_0x4a0787,_0x34032a,_0x3918fc){const _0x19943f=_0x5c8b21;_0x15c293[_0x19943f(0x208)](_0xd01bde=>{const _0x14294f=_0x19943f;this[_0x14294f(0x2ad)](_0x4a0787,_0x34032a,(_0x52db81,_0x41c99b)=>{_0xd01bde(),_0x3918fc(_0x52db81,_0x41c99b);});});}[_0x5c8b21(0x264)](_0x54ff07,_0x248b03,_0x44ed8f){const _0x48e754=_0x5c8b21,_0x1c1eee=this[_0x48e754(0x238)]?'client':'server';if(!this['_inflate']){const _0x3d4d50=_0x1c1eee+_0x48e754(0x1ec),_0x219b8b=typeof this[_0x48e754(0x2a7)][_0x3d4d50]!=_0x48e754(0x31a)?_0xd7f5c3[_0x48e754(0x2f1)]:this[_0x48e754(0x2a7)][_0x3d4d50];this[_0x48e754(0x2a1)]=_0xd7f5c3[_0x48e754(0x17d)]({...this['_options'][_0x48e754(0x315)],'windowBits':_0x219b8b}),this[_0x48e754(0x2a1)][_0x2eca50]=this,this[_0x48e754(0x2a1)][_0x3f46b9]=0x0,this['_inflate'][_0x1dea3e]=[],this['_inflate']['on'](_0x48e754(0x2da),_0x379ab9),this[_0x48e754(0x2a1)]['on']('data',_0x4db308);}this[_0x48e754(0x2a1)][_0x4b305b]=_0x44ed8f,this[_0x48e754(0x2a1)][_0x48e754(0x216)](_0x54ff07),_0x248b03&&this['_inflate'][_0x48e754(0x216)](_0x322697),this[_0x48e754(0x2a1)]['flush'](()=>{const _0x3d86fe=_0x48e754,_0x185eaf=this[_0x3d86fe(0x2a1)][_0xffaa1f];if(_0x185eaf){this['_inflate'][_0x3d86fe(0x2de)](),this[_0x3d86fe(0x2a1)]=null,_0x44ed8f(_0x185eaf);return;}const _0x145df=_0x3f2dbb[_0x3d86fe(0x22f)](this[_0x3d86fe(0x2a1)][_0x1dea3e],this['_inflate'][_0x3f46b9]);this[_0x3d86fe(0x2a1)]['_readableState'][_0x3d86fe(0x1b6)]?(this[_0x3d86fe(0x2a1)][_0x3d86fe(0x2de)](),this['_inflate']=null):(this['_inflate'][_0x3f46b9]=0x0,this[_0x3d86fe(0x2a1)][_0x1dea3e]=[],_0x248b03&&this['params'][_0x1c1eee+_0x3d86fe(0x2ce)]&&this[_0x3d86fe(0x2a1)][_0x3d86fe(0x2bb)]()),_0x44ed8f(null,_0x145df);});}[_0x5c8b21(0x2ad)](_0x1eb2b0,_0x42b279,_0x119738){const _0x1508d5=_0x5c8b21,_0x1e26a0=this[_0x1508d5(0x238)]?_0x1508d5(0x1c6):_0x1508d5(0x2b9);if(!this['_deflate']){const _0x4b0847=_0x1e26a0+'_max_window_bits',_0x1bab47=typeof this[_0x1508d5(0x2a7)][_0x4b0847]!=_0x1508d5(0x31a)?_0xd7f5c3[_0x1508d5(0x2f1)]:this[_0x1508d5(0x2a7)][_0x4b0847];this[_0x1508d5(0x1fa)]=_0xd7f5c3[_0x1508d5(0x288)]({...this[_0x1508d5(0x27d)]['zlibDeflateOptions'],'windowBits':_0x1bab47}),this[_0x1508d5(0x1fa)][_0x3f46b9]=0x0,this[_0x1508d5(0x1fa)][_0x1dea3e]=[],this[_0x1508d5(0x1fa)]['on']('data',_0x3359c3);}this[_0x1508d5(0x1fa)][_0x4b305b]=_0x119738,this['_deflate']['write'](_0x1eb2b0),this['_deflate'][_0x1508d5(0x19d)](_0xd7f5c3['Z_SYNC_FLUSH'],()=>{const _0x2b0421=_0x1508d5;if(!this[_0x2b0421(0x1fa)])return;let _0x26677e=_0x3f2dbb[_0x2b0421(0x22f)](this[_0x2b0421(0x1fa)][_0x1dea3e],this['_deflate'][_0x3f46b9]);_0x42b279&&(_0x26677e=new _0x57c5aa(_0x26677e[_0x2b0421(0x2a5)],_0x26677e[_0x2b0421(0x2dc)],_0x26677e['length']-0x4)),this[_0x2b0421(0x1fa)][_0x4b305b]=null,this[_0x2b0421(0x1fa)][_0x3f46b9]=0x0,this['_deflate'][_0x1dea3e]=[],_0x42b279&&this['params'][_0x1e26a0+'_no_context_takeover']&&this[_0x2b0421(0x1fa)][_0x2b0421(0x2bb)](),_0x119738(null,_0x26677e);});}}ve=_0x106138;function _0x3359c3(_0x3895d6){const _0xf0086c=_0x5c8b21;this[_0x1dea3e][_0xf0086c(0x2fc)](_0x3895d6),this[_0x3f46b9]+=_0x3895d6[_0xf0086c(0x2e2)];}function _0x4db308(_0x50cf65){const _0x4113c2=_0x5c8b21;if(this[_0x3f46b9]+=_0x50cf65[_0x4113c2(0x2e2)],this[_0x2eca50][_0x4113c2(0x1c9)]<0x1||this[_0x3f46b9]<=this[_0x2eca50]['_maxPayload']){this[_0x1dea3e]['push'](_0x50cf65);return;}this[_0xffaa1f]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0xffaa1f]['code']='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0xffaa1f][_0x3813b4]=0x3f1,this[_0x4113c2(0x21b)](_0x4113c2(0x1d8),_0x4db308),this[_0x4113c2(0x2bb)]();}function _0x379ab9(_0x8d7d1b){const _0x39a5c1=_0x5c8b21;if(this[_0x2eca50][_0x39a5c1(0x2a1)]=null,this[_0xffaa1f]){this[_0x4b305b](this[_0xffaa1f]);return;}_0x8d7d1b[_0x3813b4]=0x3ef,this[_0x4b305b](_0x8d7d1b);}return ve;}var ie={'exports':{}};const It={},Dt=Object[_0x234bf8(0x223)](Object[_0x234bf8(0x1d7)]({'__proto__':null,'default':It},Symbol[_0x234bf8(0x1d2)],{'value':_0x234bf8(0x165)})),Rt=at(Dt);var ze;function ae(){const _0x224ce5=_0x234bf8;if(ze)return ie['exports'];ze=0x1;const {isUtf8:_0x2d4e79}=Ot,{hasBlob:_0x3f164e}=H(),_0x374f72=[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 _0x53848b(_0x250111){return _0x250111>=0x3e8&&_0x250111<=0x3f6&&_0x250111!==0x3ec&&_0x250111!==0x3ed&&_0x250111!==0x3ee||_0x250111>=0xbb8&&_0x250111<=0x1387;}function _0x15a6a2(_0x2bd943){const _0x4ab46d=_0x3413,_0x1d5fc4=_0x2bd943[_0x4ab46d(0x2e2)];let _0x28bb5c=0x0;for(;_0x28bb5c<_0x1d5fc4;)if((_0x2bd943[_0x28bb5c]&0x80)===0x0)_0x28bb5c++;else{if((_0x2bd943[_0x28bb5c]&0xe0)===0xc0){if(_0x28bb5c+0x1===_0x1d5fc4||(_0x2bd943[_0x28bb5c+0x1]&0xc0)!==0x80||(_0x2bd943[_0x28bb5c]&0xfe)===0xc0)return!0x1;_0x28bb5c+=0x2;}else{if((_0x2bd943[_0x28bb5c]&0xf0)===0xe0){if(_0x28bb5c+0x2>=_0x1d5fc4||(_0x2bd943[_0x28bb5c+0x1]&0xc0)!==0x80||(_0x2bd943[_0x28bb5c+0x2]&0xc0)!==0x80||_0x2bd943[_0x28bb5c]===0xe0&&(_0x2bd943[_0x28bb5c+0x1]&0xe0)===0x80||_0x2bd943[_0x28bb5c]===0xed&&(_0x2bd943[_0x28bb5c+0x1]&0xe0)===0xa0)return!0x1;_0x28bb5c+=0x3;}else{if((_0x2bd943[_0x28bb5c]&0xf8)===0xf0){if(_0x28bb5c+0x3>=_0x1d5fc4||(_0x2bd943[_0x28bb5c+0x1]&0xc0)!==0x80||(_0x2bd943[_0x28bb5c+0x2]&0xc0)!==0x80||(_0x2bd943[_0x28bb5c+0x3]&0xc0)!==0x80||_0x2bd943[_0x28bb5c]===0xf0&&(_0x2bd943[_0x28bb5c+0x1]&0xf0)===0x80||_0x2bd943[_0x28bb5c]===0xf4&&_0x2bd943[_0x28bb5c+0x1]>0x8f||_0x2bd943[_0x28bb5c]>0xf4)return!0x1;_0x28bb5c+=0x4;}else return!0x1;}}}return!0x0;}function _0x10cea9(_0x459c38){const _0x4bc446=_0x3413;return _0x3f164e&&typeof _0x459c38==_0x4bc446(0x1dc)&&typeof _0x459c38[_0x4bc446(0x303)]==_0x4bc446(0x2f3)&&typeof _0x459c38[_0x4bc446(0x281)]==_0x4bc446(0x2b3)&&typeof _0x459c38[_0x4bc446(0x2db)]==_0x4bc446(0x2f3)&&(_0x459c38[Symbol['toStringTag']]==='Blob'||_0x459c38[Symbol[_0x4bc446(0x1d2)]]===_0x4bc446(0x17f));}if(ie['exports']={'isBlob':_0x10cea9,'isValidStatusCode':_0x53848b,'isValidUTF8':_0x15a6a2,'tokenChars':_0x374f72},_0x2d4e79)ie[_0x224ce5(0x1d4)][_0x224ce5(0x1ad)]=function(_0x4156d2){return _0x4156d2['length']<0x18?_0x15a6a2(_0x4156d2):_0x2d4e79(_0x4156d2);};else{if(!process[_0x224ce5(0x2fd)]['WS_NO_UTF_8_VALIDATE'])try{const _0x350646=Rt;ie[_0x224ce5(0x1d4)][_0x224ce5(0x1ad)]=function(_0x4d1ab6){const _0x1bf192=_0x224ce5;return _0x4d1ab6[_0x1bf192(0x2e2)]<0x20?_0x15a6a2(_0x4d1ab6):_0x350646(_0x4d1ab6);};}catch{}}return ie[_0x224ce5(0x1d4)];}var Se,Ye;function lt(){const _0x2242d4=_0x234bf8;if(Ye)return Se;Ye=0x1;const {Writable:_0x40aacc}=oe,_0x5a1c57=he(),{BINARY_TYPES:_0x4c5e26,EMPTY_BUFFER:_0x329bd9,kStatusCode:_0x2d2c4e,kWebSocket:_0x41ce58}=H(),{concat:_0x494150,toArrayBuffer:_0x61f843,unmask:_0x3be188}=ce(),{isValidStatusCode:_0xdd4928,isValidUTF8:_0x5b03d7}=ae(),_0x5514fa=Buffer[Symbol[_0x2242d4(0x29d)]],_0x1c9b7a=0x0,_0x188dfa=0x1,_0x5764c4=0x2,_0x4cf291=0x3,_0x39466a=0x4,_0x48781a=0x5,_0x53f247=0x6;class _0x3de04c extends _0x40aacc{constructor(_0x9c764f={}){const _0x53313e=_0x2242d4;super(),this[_0x53313e(0x25e)]=_0x9c764f[_0x53313e(0x1a2)]!==void 0x0?_0x9c764f[_0x53313e(0x1a2)]:!0x0,this[_0x53313e(0x30d)]=_0x9c764f[_0x53313e(0x2a4)]||_0x4c5e26[0x0],this[_0x53313e(0x17a)]=_0x9c764f[_0x53313e(0x21e)]||{},this[_0x53313e(0x238)]=!!_0x9c764f['isServer'],this[_0x53313e(0x1c9)]=_0x9c764f['maxPayload']|0x0,this[_0x53313e(0x228)]=!!_0x9c764f[_0x53313e(0x28e)],this[_0x41ce58]=void 0x0,this[_0x53313e(0x269)]=0x0,this[_0x53313e(0x2c9)]=[],this[_0x53313e(0x29c)]=!0x1,this[_0x53313e(0x2d4)]=0x0,this[_0x53313e(0x212)]=void 0x0,this[_0x53313e(0x18c)]=0x0,this[_0x53313e(0x26a)]=!0x1,this[_0x53313e(0x200)]=!0x1,this[_0x53313e(0x247)]=0x0,this['_totalPayloadLength']=0x0,this[_0x53313e(0x1eb)]=0x0,this['_fragments']=[],this[_0x53313e(0x2e4)]=!0x1,this[_0x53313e(0x321)]=!0x1,this['_state']=_0x1c9b7a;}[_0x2242d4(0x1b2)](_0x4bf948,_0x47e122,_0x15eadb){const _0x3289fd=_0x2242d4;if(this[_0x3289fd(0x247)]===0x8&&this[_0x3289fd(0x23e)]==_0x1c9b7a)return _0x15eadb();this['_bufferedBytes']+=_0x4bf948[_0x3289fd(0x2e2)],this[_0x3289fd(0x2c9)][_0x3289fd(0x2fc)](_0x4bf948),this[_0x3289fd(0x186)](_0x15eadb);}[_0x2242d4(0x175)](_0x17aa7b){const _0x3012db=_0x2242d4;if(this[_0x3012db(0x269)]-=_0x17aa7b,_0x17aa7b===this[_0x3012db(0x2c9)][0x0][_0x3012db(0x2e2)])return this['_buffers'][_0x3012db(0x211)]();if(_0x17aa7b<this['_buffers'][0x0][_0x3012db(0x2e2)]){const _0x5f233a=this[_0x3012db(0x2c9)][0x0];return this[_0x3012db(0x2c9)][0x0]=new _0x5514fa(_0x5f233a[_0x3012db(0x2a5)],_0x5f233a[_0x3012db(0x2dc)]+_0x17aa7b,_0x5f233a[_0x3012db(0x2e2)]-_0x17aa7b),new _0x5514fa(_0x5f233a[_0x3012db(0x2a5)],_0x5f233a[_0x3012db(0x2dc)],_0x17aa7b);}const _0x36ae10=Buffer[_0x3012db(0x320)](_0x17aa7b);do{const _0x308d4d=this[_0x3012db(0x2c9)][0x0],_0x561e7d=_0x36ae10['length']-_0x17aa7b;_0x17aa7b>=_0x308d4d[_0x3012db(0x2e2)]?_0x36ae10['set'](this[_0x3012db(0x2c9)][_0x3012db(0x211)](),_0x561e7d):(_0x36ae10[_0x3012db(0x2e6)](new Uint8Array(_0x308d4d[_0x3012db(0x2a5)],_0x308d4d[_0x3012db(0x2dc)],_0x17aa7b),_0x561e7d),this[_0x3012db(0x2c9)][0x0]=new _0x5514fa(_0x308d4d[_0x3012db(0x2a5)],_0x308d4d[_0x3012db(0x2dc)]+_0x17aa7b,_0x308d4d['length']-_0x17aa7b)),_0x17aa7b-=_0x308d4d[_0x3012db(0x2e2)];}while(_0x17aa7b>0x0);return _0x36ae10;}['startLoop'](_0x3444e4){const _0x44e24e=_0x2242d4;this['_loop']=!0x0;do switch(this['_state']){case _0x1c9b7a:this[_0x44e24e(0x172)](_0x3444e4);break;case _0x188dfa:this[_0x44e24e(0x25c)](_0x3444e4);break;case _0x5764c4:this[_0x44e24e(0x2d7)](_0x3444e4);break;case _0x4cf291:this[_0x44e24e(0x23f)]();break;case _0x39466a:this[_0x44e24e(0x245)](_0x3444e4);break;case _0x48781a:case _0x53f247:this[_0x44e24e(0x321)]=!0x1;return;}while(this[_0x44e24e(0x321)]);this[_0x44e24e(0x2e4)]||_0x3444e4();}[_0x2242d4(0x172)](_0x3800ed){const _0x419c35=_0x2242d4;if(this[_0x419c35(0x269)]<0x2){this['_loop']=!0x1;return;}const _0x452130=this['consume'](0x2);if((_0x452130[0x0]&0x30)!==0x0){const _0x2a3ae5=this[_0x419c35(0x268)](RangeError,_0x419c35(0x1a4),!0x0,0x3ea,_0x419c35(0x319));_0x3800ed(_0x2a3ae5);return;}const _0x5c6765=(_0x452130[0x0]&0x40)===0x40;if(_0x5c6765&&!this['_extensions'][_0x5a1c57[_0x419c35(0x197)]]){const _0x695aeb=this[_0x419c35(0x268)](RangeError,_0x419c35(0x2fa),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x3800ed(_0x695aeb);return;}if(this['_fin']=(_0x452130[0x0]&0x80)===0x80,this[_0x419c35(0x247)]=_0x452130[0x0]&0xf,this['_payloadLength']=_0x452130[0x1]&0x7f,this[_0x419c35(0x247)]===0x0){if(_0x5c6765){const _0x4fc3cd=this[_0x419c35(0x268)](RangeError,_0x419c35(0x2fa),!0x0,0x3ea,_0x419c35(0x1a0));_0x3800ed(_0x4fc3cd);return;}if(!this[_0x419c35(0x18c)]){const _0x3c71df=this[_0x419c35(0x268)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x419c35(0x2f6));_0x3800ed(_0x3c71df);return;}this[_0x419c35(0x247)]=this[_0x419c35(0x18c)];}else{if(this['_opcode']===0x1||this[_0x419c35(0x247)]===0x2){if(this[_0x419c35(0x18c)]){const _0x5836ad=this[_0x419c35(0x268)](RangeError,_0x419c35(0x1ef)+this[_0x419c35(0x247)],!0x0,0x3ea,_0x419c35(0x2f6));_0x3800ed(_0x5836ad);return;}this['_compressed']=_0x5c6765;}else{if(this[_0x419c35(0x247)]>0x7&&this[_0x419c35(0x247)]<0xb){if(!this[_0x419c35(0x200)]){const _0x2b5a47=this[_0x419c35(0x268)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x3800ed(_0x2b5a47);return;}if(_0x5c6765){const _0x27d847=this[_0x419c35(0x268)](RangeError,_0x419c35(0x2fa),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x3800ed(_0x27d847);return;}if(this[_0x419c35(0x2d4)]>0x7d||this[_0x419c35(0x247)]===0x8&&this[_0x419c35(0x2d4)]===0x1){const _0x1ed7a5=this[_0x419c35(0x268)](RangeError,_0x419c35(0x249)+this['_payloadLength'],!0x0,0x3ea,_0x419c35(0x27a));_0x3800ed(_0x1ed7a5);return;}}else{const _0x10a17c=this[_0x419c35(0x268)](RangeError,_0x419c35(0x1ef)+this[_0x419c35(0x247)],!0x0,0x3ea,_0x419c35(0x2f6));_0x3800ed(_0x10a17c);return;}}}if(!this['_fin']&&!this[_0x419c35(0x18c)]&&(this[_0x419c35(0x18c)]=this['_opcode']),this['_masked']=(_0x452130[0x1]&0x80)===0x80,this[_0x419c35(0x238)]){if(!this[_0x419c35(0x26a)]){const _0x57b806=this[_0x419c35(0x268)](RangeError,_0x419c35(0x1a9),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x3800ed(_0x57b806);return;}}else{if(this[_0x419c35(0x26a)]){const _0x3a5d48=this[_0x419c35(0x268)](RangeError,_0x419c35(0x28f),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x3800ed(_0x3a5d48);return;}}this[_0x419c35(0x2d4)]===0x7e?this[_0x419c35(0x23e)]=_0x188dfa:this[_0x419c35(0x2d4)]===0x7f?this['_state']=_0x5764c4:this[_0x419c35(0x1cf)](_0x3800ed);}[_0x2242d4(0x25c)](_0xd49899){const _0x1abea4=_0x2242d4;if(this[_0x1abea4(0x269)]<0x2){this[_0x1abea4(0x321)]=!0x1;return;}this[_0x1abea4(0x2d4)]=this['consume'](0x2)['readUInt16BE'](0x0),this[_0x1abea4(0x1cf)](_0xd49899);}['getPayloadLength64'](_0x164c8d){const _0x3fce26=_0x2242d4;if(this[_0x3fce26(0x269)]<0x8){this[_0x3fce26(0x321)]=!0x1;return;}const _0x4c8752=this[_0x3fce26(0x175)](0x8),_0x3c09aa=_0x4c8752[_0x3fce26(0x29b)](0x0);if(_0x3c09aa>Math[_0x3fce26(0x1e2)](0x2,0x15)-0x1){const _0xc166c9=this[_0x3fce26(0x268)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x3fce26(0x1b5));_0x164c8d(_0xc166c9);return;}this[_0x3fce26(0x2d4)]=_0x3c09aa*Math[_0x3fce26(0x1e2)](0x2,0x20)+_0x4c8752['readUInt32BE'](0x4),this['haveLength'](_0x164c8d);}[_0x2242d4(0x1cf)](_0x37fe5c){const _0x428ea6=_0x2242d4;if(this['_payloadLength']&&this['_opcode']<0x8&&(this['_totalPayloadLength']+=this[_0x428ea6(0x2d4)],this[_0x428ea6(0x2f8)]>this[_0x428ea6(0x1c9)]&&this[_0x428ea6(0x1c9)]>0x0)){const _0xe9cada=this[_0x428ea6(0x268)](RangeError,_0x428ea6(0x30c),!0x1,0x3f1,_0x428ea6(0x222));_0x37fe5c(_0xe9cada);return;}this[_0x428ea6(0x26a)]?this['_state']=_0x4cf291:this[_0x428ea6(0x23e)]=_0x39466a;}[_0x2242d4(0x23f)](){const _0x2ab798=_0x2242d4;if(this['_bufferedBytes']<0x4){this[_0x2ab798(0x321)]=!0x1;return;}this['_mask']=this[_0x2ab798(0x175)](0x4),this['_state']=_0x39466a;}['getData'](_0x364fcf){const _0x59e631=_0x2242d4;let _0x332d09=_0x329bd9;if(this[_0x59e631(0x2d4)]){if(this[_0x59e631(0x269)]<this[_0x59e631(0x2d4)]){this['_loop']=!0x1;return;}_0x332d09=this['consume'](this[_0x59e631(0x2d4)]),this['_masked']&&(this[_0x59e631(0x212)][0x0]|this['_mask'][0x1]|this[_0x59e631(0x212)][0x2]|this[_0x59e631(0x212)][0x3])!==0x0&&_0x3be188(_0x332d09,this[_0x59e631(0x212)]);}if(this['_opcode']>0x7){this[_0x59e631(0x27e)](_0x332d09,_0x364fcf);return;}if(this[_0x59e631(0x29c)]){this[_0x59e631(0x23e)]=_0x48781a,this[_0x59e631(0x291)](_0x332d09,_0x364fcf);return;}_0x332d09[_0x59e631(0x2e2)]&&(this[_0x59e631(0x1eb)]=this['_totalPayloadLength'],this[_0x59e631(0x298)][_0x59e631(0x2fc)](_0x332d09)),this['dataMessage'](_0x364fcf);}[_0x2242d4(0x291)](_0x32fec8,_0x446aa8){const _0x1a0c19=_0x2242d4;this[_0x1a0c19(0x17a)][_0x5a1c57[_0x1a0c19(0x197)]][_0x1a0c19(0x291)](_0x32fec8,this[_0x1a0c19(0x200)],(_0x240c80,_0x50652d)=>{const _0x3bbc8d=_0x1a0c19;if(_0x240c80)return _0x446aa8(_0x240c80);if(_0x50652d[_0x3bbc8d(0x2e2)]){if(this[_0x3bbc8d(0x1eb)]+=_0x50652d['length'],this[_0x3bbc8d(0x1eb)]>this[_0x3bbc8d(0x1c9)]&&this[_0x3bbc8d(0x1c9)]>0x0){const _0x3c9464=this[_0x3bbc8d(0x268)](RangeError,_0x3bbc8d(0x30c),!0x1,0x3f1,_0x3bbc8d(0x222));_0x446aa8(_0x3c9464);return;}this[_0x3bbc8d(0x298)][_0x3bbc8d(0x2fc)](_0x50652d);}this['dataMessage'](_0x446aa8),this[_0x3bbc8d(0x23e)]===_0x1c9b7a&&this[_0x3bbc8d(0x186)](_0x446aa8);});}[_0x2242d4(0x1e9)](_0x1eab28){const _0x4b6349=_0x2242d4;if(!this['_fin']){this[_0x4b6349(0x23e)]=_0x1c9b7a;return;}const _0x2c9543=this[_0x4b6349(0x1eb)],_0x44054a=this[_0x4b6349(0x298)];if(this[_0x4b6349(0x2f8)]=0x0,this['_messageLength']=0x0,this[_0x4b6349(0x18c)]=0x0,this['_fragments']=[],this[_0x4b6349(0x247)]===0x2){let _0x167277;this['_binaryType']==='nodebuffer'?_0x167277=_0x494150(_0x44054a,_0x2c9543):this['_binaryType']===_0x4b6349(0x254)?_0x167277=_0x61f843(_0x494150(_0x44054a,_0x2c9543)):this[_0x4b6349(0x30d)]==='blob'?_0x167277=new Blob(_0x44054a):_0x167277=_0x44054a,this[_0x4b6349(0x25e)]?(this['emit'](_0x4b6349(0x292),_0x167277,!0x0),this['_state']=_0x1c9b7a):(this[_0x4b6349(0x23e)]=_0x53f247,setImmediate(()=>{const _0x498cdc=_0x4b6349;this['emit']('message',_0x167277,!0x0),this['_state']=_0x1c9b7a,this[_0x498cdc(0x186)](_0x1eab28);}));}else{const _0x5b8ce4=_0x494150(_0x44054a,_0x2c9543);if(!this[_0x4b6349(0x228)]&&!_0x5b03d7(_0x5b8ce4)){const _0x7b4764=this[_0x4b6349(0x268)](Error,_0x4b6349(0x1ea),!0x0,0x3ef,_0x4b6349(0x2f9));_0x1eab28(_0x7b4764);return;}this[_0x4b6349(0x23e)]===_0x48781a||this['_allowSynchronousEvents']?(this[_0x4b6349(0x1de)](_0x4b6349(0x292),_0x5b8ce4,!0x1),this[_0x4b6349(0x23e)]=_0x1c9b7a):(this[_0x4b6349(0x23e)]=_0x53f247,setImmediate(()=>{const _0x311148=_0x4b6349;this[_0x311148(0x1de)](_0x311148(0x292),_0x5b8ce4,!0x1),this[_0x311148(0x23e)]=_0x1c9b7a,this[_0x311148(0x186)](_0x1eab28);}));}}[_0x2242d4(0x27e)](_0xbe1f39,_0x400389){const _0x552387=_0x2242d4;if(this[_0x552387(0x247)]===0x8){if(_0xbe1f39[_0x552387(0x2e2)]===0x0)this[_0x552387(0x321)]=!0x1,this[_0x552387(0x1de)]('conclude',0x3ed,_0x329bd9),this[_0x552387(0x2a6)]();else{const _0x28dde0=_0xbe1f39[_0x552387(0x240)](0x0);if(!_0xdd4928(_0x28dde0)){const _0x2fe969=this[_0x552387(0x268)](RangeError,_0x552387(0x205)+_0x28dde0,!0x0,0x3ea,_0x552387(0x1c0));_0x400389(_0x2fe969);return;}const _0x324070=new _0x5514fa(_0xbe1f39[_0x552387(0x2a5)],_0xbe1f39[_0x552387(0x2dc)]+0x2,_0xbe1f39[_0x552387(0x2e2)]-0x2);if(!this[_0x552387(0x228)]&&!_0x5b03d7(_0x324070)){const _0x1bb957=this['createError'](Error,_0x552387(0x1ea),!0x0,0x3ef,_0x552387(0x2f9));_0x400389(_0x1bb957);return;}this[_0x552387(0x321)]=!0x1,this[_0x552387(0x1de)](_0x552387(0x1fe),_0x28dde0,_0x324070),this[_0x552387(0x2a6)]();}this[_0x552387(0x23e)]=_0x1c9b7a;return;}this[_0x552387(0x25e)]?(this['emit'](this[_0x552387(0x247)]===0x9?_0x552387(0x195):'pong',_0xbe1f39),this[_0x552387(0x23e)]=_0x1c9b7a):(this[_0x552387(0x23e)]=_0x53f247,setImmediate(()=>{const _0x1757d3=_0x552387;this[_0x1757d3(0x1de)](this[_0x1757d3(0x247)]===0x9?_0x1757d3(0x195):_0x1757d3(0x309),_0xbe1f39),this[_0x1757d3(0x23e)]=_0x1c9b7a,this['startLoop'](_0x400389);}));}[_0x2242d4(0x268)](_0xc55533,_0x5ef2c4,_0x5dd1c7,_0x395d2d,_0x155124){const _0x2715e0=_0x2242d4;this[_0x2715e0(0x321)]=!0x1,this[_0x2715e0(0x2e4)]=!0x0;const _0x25c7ad=new _0xc55533(_0x5dd1c7?_0x2715e0(0x209)+_0x5ef2c4:_0x5ef2c4);return Error[_0x2715e0(0x2ef)](_0x25c7ad,this[_0x2715e0(0x268)]),_0x25c7ad['code']=_0x155124,_0x25c7ad[_0x2d2c4e]=_0x395d2d,_0x25c7ad;}}return Se=_0x3de04c,Se;}var Ee,Ke;function ft(){const _0x6d0960=_0x234bf8;if(Ke)return Ee;Ke=0x1;const {Duplex:_0x23c26b}=oe,{randomFillSync:_0x59d6dc}=Le,_0xc17487=he(),{EMPTY_BUFFER:_0x2b37a6,kWebSocket:_0x13fd18,NOOP:_0x57a4b6}=H(),{isBlob:_0x4beefb,isValidStatusCode:_0x4f413d}=ae(),{mask:_0x237c35,toBuffer:_0x93cff7}=ce(),_0x25f7ea=Symbol(_0x6d0960(0x218)),_0x24b301=Buffer[_0x6d0960(0x1d6)](0x4),_0x161b85=0x8*0x400;let _0x1e8e0b,_0xb853f2=_0x161b85;const _0x30320c=0x0,_0x21ff5b=0x1,_0x1e7623=0x2;class _0x2ed45e{constructor(_0x59403e,_0x446701,_0x2a4a53){const _0x31286a=_0x6d0960;this[_0x31286a(0x17a)]=_0x446701||{},_0x2a4a53&&(this['_generateMask']=_0x2a4a53,this[_0x31286a(0x1f0)]=Buffer['alloc'](0x4)),this[_0x31286a(0x23b)]=_0x59403e,this['_firstFragment']=!0x0,this['_compress']=!0x1,this[_0x31286a(0x269)]=0x0,this[_0x31286a(0x2d8)]=[],this[_0x31286a(0x23e)]=_0x30320c,this['onerror']=_0x57a4b6,this[_0x13fd18]=void 0x0;}static[_0x6d0960(0x246)](_0x59dd66,_0x4dc757){const _0x989814=_0x6d0960;let _0x6185c7,_0x2d5a70=!0x1,_0x57db8d=0x2,_0x50c2b6=!0x1;_0x4dc757[_0x989814(0x179)]&&(_0x6185c7=_0x4dc757['maskBuffer']||_0x24b301,_0x4dc757[_0x989814(0x293)]?_0x4dc757['generateMask'](_0x6185c7):(_0xb853f2===_0x161b85&&(_0x1e8e0b===void 0x0&&(_0x1e8e0b=Buffer[_0x989814(0x1d6)](_0x161b85)),_0x59d6dc(_0x1e8e0b,0x0,_0x161b85),_0xb853f2=0x0),_0x6185c7[0x0]=_0x1e8e0b[_0xb853f2++],_0x6185c7[0x1]=_0x1e8e0b[_0xb853f2++],_0x6185c7[0x2]=_0x1e8e0b[_0xb853f2++],_0x6185c7[0x3]=_0x1e8e0b[_0xb853f2++]),_0x50c2b6=(_0x6185c7[0x0]|_0x6185c7[0x1]|_0x6185c7[0x2]|_0x6185c7[0x3])===0x0,_0x57db8d=0x6);let _0x3e66c5;typeof _0x59dd66=='string'?(!_0x4dc757[_0x989814(0x179)]||_0x50c2b6)&&_0x4dc757[_0x25f7ea]!==void 0x0?_0x3e66c5=_0x4dc757[_0x25f7ea]:(_0x59dd66=Buffer['from'](_0x59dd66),_0x3e66c5=_0x59dd66[_0x989814(0x2e2)]):(_0x3e66c5=_0x59dd66[_0x989814(0x2e2)],_0x2d5a70=_0x4dc757[_0x989814(0x179)]&&_0x4dc757['readOnly']&&!_0x50c2b6);let _0x94c4db=_0x3e66c5;_0x3e66c5>=0x10000?(_0x57db8d+=0x8,_0x94c4db=0x7f):_0x3e66c5>0x7d&&(_0x57db8d+=0x2,_0x94c4db=0x7e);const _0x3c0094=Buffer['allocUnsafe'](_0x2d5a70?_0x3e66c5+_0x57db8d:_0x57db8d);return _0x3c0094[0x0]=_0x4dc757[_0x989814(0x285)]?_0x4dc757[_0x989814(0x266)]|0x80:_0x4dc757['opcode'],_0x4dc757[_0x989814(0x259)]&&(_0x3c0094[0x0]|=0x40),_0x3c0094[0x1]=_0x94c4db,_0x94c4db===0x7e?_0x3c0094['writeUInt16BE'](_0x3e66c5,0x2):_0x94c4db===0x7f&&(_0x3c0094[0x2]=_0x3c0094[0x3]=0x0,_0x3c0094[_0x989814(0x22b)](_0x3e66c5,0x4,0x6)),_0x4dc757['mask']?(_0x3c0094[0x1]|=0x80,_0x3c0094[_0x57db8d-0x4]=_0x6185c7[0x0],_0x3c0094[_0x57db8d-0x3]=_0x6185c7[0x1],_0x3c0094[_0x57db8d-0x2]=_0x6185c7[0x2],_0x3c0094[_0x57db8d-0x1]=_0x6185c7[0x3],_0x50c2b6?[_0x3c0094,_0x59dd66]:_0x2d5a70?(_0x237c35(_0x59dd66,_0x6185c7,_0x3c0094,_0x57db8d,_0x3e66c5),[_0x3c0094]):(_0x237c35(_0x59dd66,_0x6185c7,_0x59dd66,0x0,_0x3e66c5),[_0x3c0094,_0x59dd66])):[_0x3c0094,_0x59dd66];}[_0x6d0960(0x2de)](_0x43a658,_0x9c1cf8,_0x1a7d7e,_0x490bfa){const _0xdc3d61=_0x6d0960;let _0x1f5cd4;if(_0x43a658===void 0x0)_0x1f5cd4=_0x2b37a6;else{if(typeof _0x43a658!='number'||!_0x4f413d(_0x43a658))throw new TypeError(_0xdc3d61(0x162));if(_0x9c1cf8===void 0x0||!_0x9c1cf8[_0xdc3d61(0x2e2)])_0x1f5cd4=Buffer[_0xdc3d61(0x320)](0x2),_0x1f5cd4[_0xdc3d61(0x28b)](_0x43a658,0x0);else{const _0x1d4c70=Buffer[_0xdc3d61(0x1df)](_0x9c1cf8);if(_0x1d4c70>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x1f5cd4=Buffer[_0xdc3d61(0x320)](0x2+_0x1d4c70),_0x1f5cd4['writeUInt16BE'](_0x43a658,0x0),typeof _0x9c1cf8==_0xdc3d61(0x2b3)?_0x1f5cd4['write'](_0x9c1cf8,0x2):_0x1f5cd4[_0xdc3d61(0x2e6)](_0x9c1cf8,0x2);}}const _0xb75f1={[_0x25f7ea]:_0x1f5cd4[_0xdc3d61(0x2e2)],'fin':!0x0,'generateMask':this[_0xdc3d61(0x31b)],'mask':_0x1a7d7e,'maskBuffer':this[_0xdc3d61(0x1f0)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0xdc3d61(0x23e)]!==_0x30320c?this['enqueue']([this[_0xdc3d61(0x1bb)],_0x1f5cd4,!0x1,_0xb75f1,_0x490bfa]):this['sendFrame'](_0x2ed45e[_0xdc3d61(0x246)](_0x1f5cd4,_0xb75f1),_0x490bfa);}[_0x6d0960(0x195)](_0x19499d,_0x10445f,_0x488108){const _0x31cf48=_0x6d0960;let _0xc8ad6c,_0x21ace6;if(typeof _0x19499d=='string'?(_0xc8ad6c=Buffer[_0x31cf48(0x1df)](_0x19499d),_0x21ace6=!0x1):_0x4beefb(_0x19499d)?(_0xc8ad6c=_0x19499d[_0x31cf48(0x2c7)],_0x21ace6=!0x1):(_0x19499d=_0x93cff7(_0x19499d),_0xc8ad6c=_0x19499d[_0x31cf48(0x2e2)],_0x21ace6=_0x93cff7[_0x31cf48(0x242)]),_0xc8ad6c>0x7d)throw new RangeError(_0x31cf48(0x187));const _0x103b15={[_0x25f7ea]:_0xc8ad6c,'fin':!0x0,'generateMask':this[_0x31cf48(0x31b)],'mask':_0x10445f,'maskBuffer':this[_0x31cf48(0x1f0)],'opcode':0x9,'readOnly':_0x21ace6,'rsv1':!0x1};_0x4beefb(_0x19499d)?this['_state']!==_0x30320c?this[_0x31cf48(0x2b0)]([this[_0x31cf48(0x1d9)],_0x19499d,!0x1,_0x103b15,_0x488108]):this[_0x31cf48(0x1d9)](_0x19499d,!0x1,_0x103b15,_0x488108):this[_0x31cf48(0x23e)]!==_0x30320c?this[_0x31cf48(0x2b0)]([this['dispatch'],_0x19499d,!0x1,_0x103b15,_0x488108]):this[_0x31cf48(0x2fb)](_0x2ed45e[_0x31cf48(0x246)](_0x19499d,_0x103b15),_0x488108);}['pong'](_0x343769,_0x550939,_0x19107b){const _0x5b6b52=_0x6d0960;let _0x51a5a4,_0x6d336a;if(typeof _0x343769==_0x5b6b52(0x2b3)?(_0x51a5a4=Buffer[_0x5b6b52(0x1df)](_0x343769),_0x6d336a=!0x1):_0x4beefb(_0x343769)?(_0x51a5a4=_0x343769[_0x5b6b52(0x2c7)],_0x6d336a=!0x1):(_0x343769=_0x93cff7(_0x343769),_0x51a5a4=_0x343769['length'],_0x6d336a=_0x93cff7[_0x5b6b52(0x242)]),_0x51a5a4>0x7d)throw new RangeError(_0x5b6b52(0x187));const _0x1ec653={[_0x25f7ea]:_0x51a5a4,'fin':!0x0,'generateMask':this[_0x5b6b52(0x31b)],'mask':_0x550939,'maskBuffer':this[_0x5b6b52(0x1f0)],'opcode':0xa,'readOnly':_0x6d336a,'rsv1':!0x1};_0x4beefb(_0x343769)?this[_0x5b6b52(0x23e)]!==_0x30320c?this['enqueue']([this['getBlobData'],_0x343769,!0x1,_0x1ec653,_0x19107b]):this[_0x5b6b52(0x1d9)](_0x343769,!0x1,_0x1ec653,_0x19107b):this[_0x5b6b52(0x23e)]!==_0x30320c?this[_0x5b6b52(0x2b0)]([this[_0x5b6b52(0x1bb)],_0x343769,!0x1,_0x1ec653,_0x19107b]):this['sendFrame'](_0x2ed45e[_0x5b6b52(0x246)](_0x343769,_0x1ec653),_0x19107b);}['send'](_0x74a3eb,_0x2d2ed8,_0x1b7d34){const _0x314fc8=_0x6d0960,_0x56ae6d=this[_0x314fc8(0x17a)][_0xc17487[_0x314fc8(0x197)]];let _0x2b7dac=_0x2d2ed8[_0x314fc8(0x1b4)]?0x2:0x1,_0x39b7e8=_0x2d2ed8[_0x314fc8(0x1c2)],_0xb14582,_0x5778db;typeof _0x74a3eb==_0x314fc8(0x2b3)?(_0xb14582=Buffer['byteLength'](_0x74a3eb),_0x5778db=!0x1):_0x4beefb(_0x74a3eb)?(_0xb14582=_0x74a3eb[_0x314fc8(0x2c7)],_0x5778db=!0x1):(_0x74a3eb=_0x93cff7(_0x74a3eb),_0xb14582=_0x74a3eb['length'],_0x5778db=_0x93cff7[_0x314fc8(0x242)]),this[_0x314fc8(0x2c8)]?(this[_0x314fc8(0x2c8)]=!0x1,_0x39b7e8&&_0x56ae6d&&_0x56ae6d[_0x314fc8(0x2a7)][_0x56ae6d['_isServer']?_0x314fc8(0x2c1):_0x314fc8(0x272)]&&(_0x39b7e8=_0xb14582>=_0x56ae6d[_0x314fc8(0x20f)]),this[_0x314fc8(0x2ad)]=_0x39b7e8):(_0x39b7e8=!0x1,_0x2b7dac=0x0),_0x2d2ed8['fin']&&(this[_0x314fc8(0x2c8)]=!0x0);const _0x2793c8={[_0x25f7ea]:_0xb14582,'fin':_0x2d2ed8['fin'],'generateMask':this[_0x314fc8(0x31b)],'mask':_0x2d2ed8[_0x314fc8(0x179)],'maskBuffer':this['_maskBuffer'],'opcode':_0x2b7dac,'readOnly':_0x5778db,'rsv1':_0x39b7e8};_0x4beefb(_0x74a3eb)?this[_0x314fc8(0x23e)]!==_0x30320c?this[_0x314fc8(0x2b0)]([this[_0x314fc8(0x1d9)],_0x74a3eb,this['_compress'],_0x2793c8,_0x1b7d34]):this['getBlobData'](_0x74a3eb,this[_0x314fc8(0x2ad)],_0x2793c8,_0x1b7d34):this[_0x314fc8(0x23e)]!==_0x30320c?this[_0x314fc8(0x2b0)]([this['dispatch'],_0x74a3eb,this[_0x314fc8(0x2ad)],_0x2793c8,_0x1b7d34]):this[_0x314fc8(0x1bb)](_0x74a3eb,this[_0x314fc8(0x2ad)],_0x2793c8,_0x1b7d34);}[_0x6d0960(0x1d9)](_0x2a2be0,_0x2ddaec,_0xa5e457,_0xa8b8b5){const _0x34fa23=_0x6d0960;this[_0x34fa23(0x269)]+=_0xa5e457[_0x25f7ea],this['_state']=_0x1e7623,_0x2a2be0[_0x34fa23(0x303)]()[_0x34fa23(0x174)](_0x344e7a=>{const _0x33128a=_0x34fa23;if(this[_0x33128a(0x23b)][_0x33128a(0x1cc)]){const _0x3e736c=new Error(_0x33128a(0x30e));process[_0x33128a(0x1a6)](_0x4d037d,this,_0x3e736c,_0xa8b8b5);return;}this['_bufferedBytes']-=_0xa5e457[_0x25f7ea];const _0x25f6fc=_0x93cff7(_0x344e7a);_0x2ddaec?this['dispatch'](_0x25f6fc,_0x2ddaec,_0xa5e457,_0xa8b8b5):(this[_0x33128a(0x23e)]=_0x30320c,this[_0x33128a(0x2fb)](_0x2ed45e['frame'](_0x25f6fc,_0xa5e457),_0xa8b8b5),this[_0x33128a(0x1e1)]());})['catch'](_0x597517=>{process['nextTick'](_0x2cd3eb,this,_0x597517,_0xa8b8b5);});}[_0x6d0960(0x1bb)](_0x4f14d6,_0x271110,_0x5c0d1d,_0x4b2399){const _0xc65197=_0x6d0960;if(!_0x271110){this[_0xc65197(0x2fb)](_0x2ed45e[_0xc65197(0x246)](_0x4f14d6,_0x5c0d1d),_0x4b2399);return;}const _0x46a3ef=this[_0xc65197(0x17a)][_0xc17487[_0xc65197(0x197)]];this[_0xc65197(0x269)]+=_0x5c0d1d[_0x25f7ea],this['_state']=_0x21ff5b,_0x46a3ef['compress'](_0x4f14d6,_0x5c0d1d['fin'],(_0x4df02d,_0x4896de)=>{const _0x5abf76=_0xc65197;if(this[_0x5abf76(0x23b)][_0x5abf76(0x1cc)]){const _0x248510=new Error(_0x5abf76(0x31d));_0x4d037d(this,_0x248510,_0x4b2399);return;}this[_0x5abf76(0x269)]-=_0x5c0d1d[_0x25f7ea],this[_0x5abf76(0x23e)]=_0x30320c,_0x5c0d1d[_0x5abf76(0x242)]=!0x1,this[_0x5abf76(0x2fb)](_0x2ed45e[_0x5abf76(0x246)](_0x4896de,_0x5c0d1d),_0x4b2399),this[_0x5abf76(0x1e1)]();});}[_0x6d0960(0x1e1)](){const _0x41a1e4=_0x6d0960;for(;this[_0x41a1e4(0x23e)]===_0x30320c&&this[_0x41a1e4(0x2d8)][_0x41a1e4(0x2e2)];){const _0x407902=this[_0x41a1e4(0x2d8)]['shift']();this[_0x41a1e4(0x269)]-=_0x407902[0x3][_0x25f7ea],Reflect[_0x41a1e4(0x314)](_0x407902[0x0],this,_0x407902['slice'](0x1));}}[_0x6d0960(0x2b0)](_0xd97d47){const _0x3c86df=_0x6d0960;this['_bufferedBytes']+=_0xd97d47[0x3][_0x25f7ea],this[_0x3c86df(0x2d8)][_0x3c86df(0x2fc)](_0xd97d47);}[_0x6d0960(0x2fb)](_0x9164cc,_0x403338){const _0x3e99d3=_0x6d0960;_0x9164cc[_0x3e99d3(0x2e2)]===0x2?(this[_0x3e99d3(0x23b)][_0x3e99d3(0x2c2)](),this[_0x3e99d3(0x23b)][_0x3e99d3(0x216)](_0x9164cc[0x0]),this[_0x3e99d3(0x23b)][_0x3e99d3(0x216)](_0x9164cc[0x1],_0x403338),this[_0x3e99d3(0x23b)]['uncork']()):this['_socket'][_0x3e99d3(0x216)](_0x9164cc[0x0],_0x403338);}}Ee=_0x2ed45e;function _0x4d037d(_0x429574,_0x5c41c6,_0x40ac92){const _0x4780f9=_0x6d0960;typeof _0x40ac92==_0x4780f9(0x2f3)&&_0x40ac92(_0x5c41c6);for(let _0x40f13b=0x0;_0x40f13b<_0x429574[_0x4780f9(0x2d8)][_0x4780f9(0x2e2)];_0x40f13b++){const _0x236bb7=_0x429574[_0x4780f9(0x2d8)][_0x40f13b],_0x5a91dd=_0x236bb7[_0x236bb7[_0x4780f9(0x2e2)]-0x1];typeof _0x5a91dd==_0x4780f9(0x2f3)&&_0x5a91dd(_0x5c41c6);}}function _0x2cd3eb(_0x2e2dd1,_0x315a31,_0x53c2b3){const _0x5c6bb=_0x6d0960;_0x4d037d(_0x2e2dd1,_0x315a31,_0x53c2b3),_0x2e2dd1[_0x5c6bb(0x31f)](_0x315a31);}return Ee;}var xe,Xe;function Bt(){const _0x2b1c94=_0x234bf8;if(Xe)return xe;Xe=0x1;const {kForOnEventAttribute:_0x574fa7,kListener:_0x5243e8}=H(),_0x42d3f9=Symbol(_0x2b1c94(0x296)),_0x28d848=Symbol(_0x2b1c94(0x2b2)),_0x4f42d3=Symbol('kError'),_0x16bacc=Symbol('kMessage'),_0x599115=Symbol(_0x2b1c94(0x283)),_0x322132=Symbol(_0x2b1c94(0x171)),_0xe56316=Symbol(_0x2b1c94(0x190)),_0x513eb0=Symbol(_0x2b1c94(0x317));class _0x16d66e{constructor(_0x235955){this[_0x322132]=null,this[_0xe56316]=_0x235955;}get['target'](){return this[_0x322132];}get[_0x2b1c94(0x281)](){return this[_0xe56316];}}Object[_0x2b1c94(0x1d7)](_0x16d66e[_0x2b1c94(0x30a)],_0x2b1c94(0x1e4),{'enumerable':!0x0}),Object[_0x2b1c94(0x1d7)](_0x16d66e[_0x2b1c94(0x30a)],'type',{'enumerable':!0x0});class _0x2edf0b extends _0x16d66e{constructor(_0x104d47,_0x5c54fd={}){const _0x26aac1=_0x2b1c94;super(_0x104d47),this[_0x42d3f9]=_0x5c54fd[_0x26aac1(0x1ce)]===void 0x0?0x0:_0x5c54fd['code'],this[_0x599115]=_0x5c54fd[_0x26aac1(0x1bf)]===void 0x0?'':_0x5c54fd[_0x26aac1(0x1bf)],this[_0x513eb0]=_0x5c54fd['wasClean']===void 0x0?!0x1:_0x5c54fd[_0x26aac1(0x2df)];}get[_0x2b1c94(0x1ce)](){return this[_0x42d3f9];}get[_0x2b1c94(0x1bf)](){return this[_0x599115];}get['wasClean'](){return this[_0x513eb0];}}Object['defineProperty'](_0x2edf0b['prototype'],_0x2b1c94(0x1ce),{'enumerable':!0x0}),Object[_0x2b1c94(0x1d7)](_0x2edf0b[_0x2b1c94(0x30a)],_0x2b1c94(0x1bf),{'enumerable':!0x0}),Object[_0x2b1c94(0x1d7)](_0x2edf0b['prototype'],_0x2b1c94(0x2df),{'enumerable':!0x0});class _0x1b4247 extends _0x16d66e{constructor(_0x481a55,_0xeb6eca={}){const _0x55092b=_0x2b1c94;super(_0x481a55),this[_0x4f42d3]=_0xeb6eca[_0x55092b(0x2da)]===void 0x0?null:_0xeb6eca[_0x55092b(0x2da)],this[_0x16bacc]=_0xeb6eca[_0x55092b(0x292)]===void 0x0?'':_0xeb6eca[_0x55092b(0x292)];}get[_0x2b1c94(0x2da)](){return this[_0x4f42d3];}get['message'](){return this[_0x16bacc];}}Object[_0x2b1c94(0x1d7)](_0x1b4247['prototype'],_0x2b1c94(0x2da),{'enumerable':!0x0}),Object[_0x2b1c94(0x1d7)](_0x1b4247[_0x2b1c94(0x30a)],_0x2b1c94(0x292),{'enumerable':!0x0});class _0x3a693d extends _0x16d66e{constructor(_0x5118ae,_0x398cf6={}){const _0x25dcda=_0x2b1c94;super(_0x5118ae),this[_0x28d848]=_0x398cf6['data']===void 0x0?null:_0x398cf6[_0x25dcda(0x1d8)];}get[_0x2b1c94(0x1d8)](){return this[_0x28d848];}}Object[_0x2b1c94(0x1d7)](_0x3a693d[_0x2b1c94(0x30a)],_0x2b1c94(0x1d8),{'enumerable':!0x0}),xe={'CloseEvent':_0x2edf0b,'ErrorEvent':_0x1b4247,'Event':_0x16d66e,'EventTarget':{'addEventListener'(_0x3a3ab1,_0xc3f5e,_0x2c4887={}){const _0x2cbf70=_0x2b1c94;for(const _0x108beb of this[_0x2cbf70(0x170)](_0x3a3ab1))if(!_0x2c4887[_0x574fa7]&&_0x108beb[_0x5243e8]===_0xc3f5e&&!_0x108beb[_0x574fa7])return;let _0x3c5e0e;if(_0x3a3ab1==='message')_0x3c5e0e=function(_0x549178,_0x349f08){const _0x34f859=_0x2cbf70,_0x5b9586=new _0x3a693d(_0x34f859(0x292),{'data':_0x349f08?_0x549178:_0x549178[_0x34f859(0x2d6)]()});_0x5b9586[_0x322132]=this,_0x4bce46(_0xc3f5e,this,_0x5b9586);};else{if(_0x3a3ab1===_0x2cbf70(0x2de))_0x3c5e0e=function(_0x39ab0c,_0xe7abaa){const _0x4d993e=_0x2cbf70,_0x929414=new _0x2edf0b(_0x4d993e(0x2de),{'code':_0x39ab0c,'reason':_0xe7abaa[_0x4d993e(0x2d6)](),'wasClean':this[_0x4d993e(0x1e3)]&&this['_closeFrameSent']});_0x929414[_0x322132]=this,_0x4bce46(_0xc3f5e,this,_0x929414);};else{if(_0x3a3ab1===_0x2cbf70(0x2da))_0x3c5e0e=function(_0x53a95b){const _0xb0dd7c=_0x2cbf70,_0x1b42e2=new _0x1b4247(_0xb0dd7c(0x2da),{'error':_0x53a95b,'message':_0x53a95b[_0xb0dd7c(0x292)]});_0x1b42e2[_0x322132]=this,_0x4bce46(_0xc3f5e,this,_0x1b42e2);};else{if(_0x3a3ab1===_0x2cbf70(0x16b))_0x3c5e0e=function(){const _0x40c13e=new _0x16d66e('open');_0x40c13e[_0x322132]=this,_0x4bce46(_0xc3f5e,this,_0x40c13e);};else return;}}}_0x3c5e0e[_0x574fa7]=!!_0x2c4887[_0x574fa7],_0x3c5e0e[_0x5243e8]=_0xc3f5e,_0x2c4887[_0x2cbf70(0x27b)]?this[_0x2cbf70(0x27b)](_0x3a3ab1,_0x3c5e0e):this['on'](_0x3a3ab1,_0x3c5e0e);},'removeEventListener'(_0x374411,_0x26bbc6){const _0x58de14=_0x2b1c94;for(const _0x141725 of this[_0x58de14(0x170)](_0x374411))if(_0x141725[_0x5243e8]===_0x26bbc6&&!_0x141725[_0x574fa7]){this[_0x58de14(0x21b)](_0x374411,_0x141725);break;}}},'MessageEvent':_0x3a693d};function _0x4bce46(_0x183a45,_0x25663a,_0x24a3f7){const _0x29f7a1=_0x2b1c94;typeof _0x183a45=='object'&&_0x183a45['handleEvent']?_0x183a45[_0x29f7a1(0x215)][_0x29f7a1(0x168)](_0x183a45,_0x24a3f7):_0x183a45[_0x29f7a1(0x168)](_0x25663a,_0x24a3f7);}return xe;}var be,Ze;function ct(){if(Ze)return be;Ze=0x1;const {tokenChars:_0x550131}=ae();function _0x4a731e(_0x568596,_0x20dede,_0x4f3185){const _0x336c34=_0x3413;_0x568596[_0x20dede]===void 0x0?_0x568596[_0x20dede]=[_0x4f3185]:_0x568596[_0x20dede][_0x336c34(0x2fc)](_0x4f3185);}function _0x2f325e(_0x2fd742){const _0x46b7bd=_0x3413,_0x29f9aa=Object['create'](null);let _0x21116f=Object['create'](null),_0x1d47dd=!0x1,_0x9376e6=!0x1,_0x3c801a=!0x1,_0x28b87c,_0x3b330d,_0x3ff3a3=-0x1,_0x23d0e7=-0x1,_0x5df733=-0x1,_0x3f8efe=0x0;for(;_0x3f8efe<_0x2fd742[_0x46b7bd(0x2e2)];_0x3f8efe++)if(_0x23d0e7=_0x2fd742['charCodeAt'](_0x3f8efe),_0x28b87c===void 0x0){if(_0x5df733===-0x1&&_0x550131[_0x23d0e7]===0x1)_0x3ff3a3===-0x1&&(_0x3ff3a3=_0x3f8efe);else{if(_0x3f8efe!==0x0&&(_0x23d0e7===0x20||_0x23d0e7===0x9))_0x5df733===-0x1&&_0x3ff3a3!==-0x1&&(_0x5df733=_0x3f8efe);else{if(_0x23d0e7===0x3b||_0x23d0e7===0x2c){if(_0x3ff3a3===-0x1)throw new SyntaxError(_0x46b7bd(0x26e)+_0x3f8efe);_0x5df733===-0x1&&(_0x5df733=_0x3f8efe);const _0x138ed4=_0x2fd742[_0x46b7bd(0x2ed)](_0x3ff3a3,_0x5df733);_0x23d0e7===0x2c?(_0x4a731e(_0x29f9aa,_0x138ed4,_0x21116f),_0x21116f=Object[_0x46b7bd(0x2e0)](null)):_0x28b87c=_0x138ed4,_0x3ff3a3=_0x5df733=-0x1;}else throw new SyntaxError(_0x46b7bd(0x26e)+_0x3f8efe);}}}else{if(_0x3b330d===void 0x0){if(_0x5df733===-0x1&&_0x550131[_0x23d0e7]===0x1)_0x3ff3a3===-0x1&&(_0x3ff3a3=_0x3f8efe);else{if(_0x23d0e7===0x20||_0x23d0e7===0x9)_0x5df733===-0x1&&_0x3ff3a3!==-0x1&&(_0x5df733=_0x3f8efe);else{if(_0x23d0e7===0x3b||_0x23d0e7===0x2c){if(_0x3ff3a3===-0x1)throw new SyntaxError(_0x46b7bd(0x26e)+_0x3f8efe);_0x5df733===-0x1&&(_0x5df733=_0x3f8efe),_0x4a731e(_0x21116f,_0x2fd742['slice'](_0x3ff3a3,_0x5df733),!0x0),_0x23d0e7===0x2c&&(_0x4a731e(_0x29f9aa,_0x28b87c,_0x21116f),_0x21116f=Object['create'](null),_0x28b87c=void 0x0),_0x3ff3a3=_0x5df733=-0x1;}else{if(_0x23d0e7===0x3d&&_0x3ff3a3!==-0x1&&_0x5df733===-0x1)_0x3b330d=_0x2fd742['slice'](_0x3ff3a3,_0x3f8efe),_0x3ff3a3=_0x5df733=-0x1;else throw new SyntaxError(_0x46b7bd(0x26e)+_0x3f8efe);}}}}else{if(_0x9376e6){if(_0x550131[_0x23d0e7]!==0x1)throw new SyntaxError(_0x46b7bd(0x26e)+_0x3f8efe);_0x3ff3a3===-0x1?_0x3ff3a3=_0x3f8efe:_0x1d47dd||(_0x1d47dd=!0x0),_0x9376e6=!0x1;}else{if(_0x3c801a){if(_0x550131[_0x23d0e7]===0x1)_0x3ff3a3===-0x1&&(_0x3ff3a3=_0x3f8efe);else{if(_0x23d0e7===0x22&&_0x3ff3a3!==-0x1)_0x3c801a=!0x1,_0x5df733=_0x3f8efe;else{if(_0x23d0e7===0x5c)_0x9376e6=!0x0;else throw new SyntaxError(_0x46b7bd(0x26e)+_0x3f8efe);}}}else{if(_0x23d0e7===0x22&&_0x2fd742[_0x46b7bd(0x2f2)](_0x3f8efe-0x1)===0x3d)_0x3c801a=!0x0;else{if(_0x5df733===-0x1&&_0x550131[_0x23d0e7]===0x1)_0x3ff3a3===-0x1&&(_0x3ff3a3=_0x3f8efe);else{if(_0x3ff3a3!==-0x1&&(_0x23d0e7===0x20||_0x23d0e7===0x9))_0x5df733===-0x1&&(_0x5df733=_0x3f8efe);else{if(_0x23d0e7===0x3b||_0x23d0e7===0x2c){if(_0x3ff3a3===-0x1)throw new SyntaxError(_0x46b7bd(0x26e)+_0x3f8efe);_0x5df733===-0x1&&(_0x5df733=_0x3f8efe);let _0x1c9ffd=_0x2fd742[_0x46b7bd(0x2ed)](_0x3ff3a3,_0x5df733);_0x1d47dd&&(_0x1c9ffd=_0x1c9ffd[_0x46b7bd(0x1f8)](/\\/g,''),_0x1d47dd=!0x1),_0x4a731e(_0x21116f,_0x3b330d,_0x1c9ffd),_0x23d0e7===0x2c&&(_0x4a731e(_0x29f9aa,_0x28b87c,_0x21116f),_0x21116f=Object[_0x46b7bd(0x2e0)](null),_0x28b87c=void 0x0),_0x3b330d=void 0x0,_0x3ff3a3=_0x5df733=-0x1;}else throw new SyntaxError(_0x46b7bd(0x26e)+_0x3f8efe);}}}}}}}if(_0x3ff3a3===-0x1||_0x3c801a||_0x23d0e7===0x20||_0x23d0e7===0x9)throw new SyntaxError(_0x46b7bd(0x1f5));_0x5df733===-0x1&&(_0x5df733=_0x3f8efe);const _0x5a7471=_0x2fd742[_0x46b7bd(0x2ed)](_0x3ff3a3,_0x5df733);return _0x28b87c===void 0x0?_0x4a731e(_0x29f9aa,_0x5a7471,_0x21116f):(_0x3b330d===void 0x0?_0x4a731e(_0x21116f,_0x5a7471,!0x0):_0x1d47dd?_0x4a731e(_0x21116f,_0x3b330d,_0x5a7471[_0x46b7bd(0x1f8)](/\\/g,'')):_0x4a731e(_0x21116f,_0x3b330d,_0x5a7471),_0x4a731e(_0x29f9aa,_0x28b87c,_0x21116f)),_0x29f9aa;}function _0x25af0d(_0x5951e9){const _0x29f539=_0x3413;return Object[_0x29f539(0x28c)](_0x5951e9)[_0x29f539(0x231)](_0x5a1d83=>{const _0x145dc0=_0x29f539;let _0x481e24=_0x5951e9[_0x5a1d83];return Array[_0x145dc0(0x182)](_0x481e24)||(_0x481e24=[_0x481e24]),_0x481e24[_0x145dc0(0x231)](_0x26229b=>[_0x5a1d83][_0x145dc0(0x22f)](Object[_0x145dc0(0x28c)](_0x26229b)[_0x145dc0(0x231)](_0x14128a=>{const _0x3b13d5=_0x145dc0;let _0x306ea5=_0x26229b[_0x14128a];return Array['isArray'](_0x306ea5)||(_0x306ea5=[_0x306ea5]),_0x306ea5['map'](_0x23ed49=>_0x23ed49===!0x0?_0x14128a:_0x14128a+'='+_0x23ed49)[_0x3b13d5(0x290)](';\x20');}))[_0x145dc0(0x290)](';\x20'))[_0x145dc0(0x290)](',\x20');})[_0x29f539(0x290)](',\x20');}return be={'format':_0x25af0d,'parse':_0x2f325e},be;}var Oe,Qe;function ke(){const _0x383faf=_0x234bf8;if(Qe)return Oe;Qe=0x1;const _0x2f83b1=it,_0x5e8020=vt,_0x1b2be2=nt,_0x1ef33f=St,_0x2c95db=Et,{randomBytes:_0x1836f0,createHash:_0x290824}=Le,{Duplex:_0x373f4a,Readable:_0x540d90}=oe,{URL:_0x3b7987}=xt,_0x3e431a=he(),_0x4a082e=lt(),_0x173bf0=ft(),{isBlob:_0x1e57c2}=ae(),{BINARY_TYPES:_0x3d4f4c,EMPTY_BUFFER:_0x3c8a79,GUID:_0x72eccd,kForOnEventAttribute:_0x3bef9c,kListener:_0x5ba7b7,kStatusCode:_0x2121a7,kWebSocket:_0x5394f1,NOOP:_0x399c28}=H(),{EventTarget:{addEventListener:_0x13072b,removeEventListener:_0x5af49e}}=Bt(),{format:_0x5bfd06,parse:_0x390fd5}=ct(),{toBuffer:_0x2ed606}=ce(),_0x1863fd=0x1e*0x3e8,_0x140d23=Symbol(_0x383faf(0x189)),_0x3a41f5=[0x8,0xd],_0x457eb0=[_0x383faf(0x307),_0x383faf(0x17c),_0x383faf(0x1a1),_0x383faf(0x2c0)],_0x1d2f62=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2736ab extends _0x2f83b1{constructor(_0x6f1812,_0x1d0ad0,_0xc6767e){const _0x486f55=_0x383faf;super(),this[_0x486f55(0x30d)]=_0x3d4f4c[0x0],this[_0x486f55(0x1e0)]=0x3ee,this[_0x486f55(0x1e3)]=!0x1,this[_0x486f55(0x22a)]=!0x1,this[_0x486f55(0x30b)]=_0x3c8a79,this[_0x486f55(0x178)]=null,this['_errorEmitted']=!0x1,this[_0x486f55(0x17a)]={},this[_0x486f55(0x207)]=!0x1,this[_0x486f55(0x1da)]='',this[_0x486f55(0x274)]=_0x2736ab['CONNECTING'],this[_0x486f55(0x1c3)]=null,this[_0x486f55(0x31e)]=null,this['_socket']=null,_0x6f1812!==null?(this[_0x486f55(0x21c)]=0x0,this[_0x486f55(0x238)]=!0x1,this[_0x486f55(0x2b7)]=0x0,_0x1d0ad0===void 0x0?_0x1d0ad0=[]:Array[_0x486f55(0x182)](_0x1d0ad0)||(typeof _0x1d0ad0==_0x486f55(0x1dc)&&_0x1d0ad0!==null?(_0xc6767e=_0x1d0ad0,_0x1d0ad0=[]):_0x1d0ad0=[_0x1d0ad0]),_0x3b9663(this,_0x6f1812,_0x1d0ad0,_0xc6767e)):(this['_autoPong']=_0xc6767e[_0x486f55(0x299)],this[_0x486f55(0x238)]=!0x0);}get[_0x383faf(0x2a4)](){return this['_binaryType'];}set[_0x383faf(0x2a4)](_0x6c014){const _0x5400d7=_0x383faf;_0x3d4f4c[_0x5400d7(0x213)](_0x6c014)&&(this[_0x5400d7(0x30d)]=_0x6c014,this[_0x5400d7(0x1c3)]&&(this[_0x5400d7(0x1c3)]['_binaryType']=_0x6c014));}get['bufferedAmount'](){const _0x54f241=_0x383faf;return this[_0x54f241(0x23b)]?this['_socket'][_0x54f241(0x234)][_0x54f241(0x2e2)]+this[_0x54f241(0x31e)]['_bufferedBytes']:this[_0x54f241(0x21c)];}get[_0x383faf(0x21e)](){const _0x3fa497=_0x383faf;return Object['keys'](this[_0x3fa497(0x17a)])[_0x3fa497(0x290)]();}get[_0x383faf(0x230)](){const _0x2930b0=_0x383faf;return this[_0x2930b0(0x207)];}get[_0x383faf(0x199)](){return null;}get[_0x383faf(0x31f)](){return null;}get[_0x383faf(0x2e1)](){return null;}get[_0x383faf(0x1b7)](){return null;}get[_0x383faf(0x226)](){return this['_protocol'];}get[_0x383faf(0x29a)](){const _0x370baa=_0x383faf;return this[_0x370baa(0x274)];}get[_0x383faf(0x313)](){const _0x569d67=_0x383faf;return this[_0x569d67(0x235)];}['setSocket'](_0x4e3661,_0x5823d3,_0x44039a){const _0x5624c2=_0x383faf,_0x377624=new _0x4a082e({'allowSynchronousEvents':_0x44039a[_0x5624c2(0x1a2)],'binaryType':this[_0x5624c2(0x2a4)],'extensions':this['_extensions'],'isServer':this[_0x5624c2(0x238)],'maxPayload':_0x44039a['maxPayload'],'skipUTF8Validation':_0x44039a['skipUTF8Validation']}),_0x185e5d=new _0x173bf0(_0x4e3661,this[_0x5624c2(0x17a)],_0x44039a[_0x5624c2(0x293)]);this['_receiver']=_0x377624,this[_0x5624c2(0x31e)]=_0x185e5d,this['_socket']=_0x4e3661,_0x377624[_0x5394f1]=this,_0x185e5d[_0x5394f1]=this,_0x4e3661[_0x5394f1]=this,_0x377624['on'](_0x5624c2(0x1fe),_0x18f438),_0x377624['on'](_0x5624c2(0x24c),_0x49f8f0),_0x377624['on'](_0x5624c2(0x2da),_0x5d2dac),_0x377624['on'](_0x5624c2(0x292),_0x2742b4),_0x377624['on']('ping',_0x26f222),_0x377624['on'](_0x5624c2(0x309),_0x493850),_0x185e5d[_0x5624c2(0x31f)]=_0x34c573,_0x4e3661[_0x5624c2(0x1d3)]&&_0x4e3661['setTimeout'](0x0),_0x4e3661[_0x5624c2(0x2c4)]&&_0x4e3661[_0x5624c2(0x2c4)](),_0x5823d3[_0x5624c2(0x2e2)]>0x0&&_0x4e3661[_0x5624c2(0x1f1)](_0x5823d3),_0x4e3661['on'](_0x5624c2(0x2de),_0xbb8c7e),_0x4e3661['on'](_0x5624c2(0x1d8),_0x5bf149),_0x4e3661['on']('end',_0x226499),_0x4e3661['on'](_0x5624c2(0x2da),_0x2f640e),this[_0x5624c2(0x274)]=_0x2736ab[_0x5624c2(0x17c)],this[_0x5624c2(0x1de)](_0x5624c2(0x16b));}[_0x383faf(0x2f7)](){const _0x46db4a=_0x383faf;if(!this[_0x46db4a(0x23b)]){this[_0x46db4a(0x274)]=_0x2736ab['CLOSED'],this[_0x46db4a(0x1de)]('close',this[_0x46db4a(0x1e0)],this['_closeMessage']);return;}this['_extensions'][_0x3e431a[_0x46db4a(0x197)]]&&this['_extensions'][_0x3e431a[_0x46db4a(0x197)]][_0x46db4a(0x273)](),this[_0x46db4a(0x1c3)][_0x46db4a(0x2d9)](),this[_0x46db4a(0x274)]=_0x2736ab[_0x46db4a(0x2c0)],this['emit'](_0x46db4a(0x2de),this[_0x46db4a(0x1e0)],this['_closeMessage']);}[_0x383faf(0x2de)](_0x31b8c0,_0xcb91dc){const _0x11c37d=_0x383faf;if(this[_0x11c37d(0x29a)]!==_0x2736ab[_0x11c37d(0x2c0)]){if(this[_0x11c37d(0x29a)]===_0x2736ab[_0x11c37d(0x307)]){_0x2a2bd3(this,this[_0x11c37d(0x304)],_0x11c37d(0x203));return;}if(this['readyState']===_0x2736ab[_0x11c37d(0x1a1)]){this[_0x11c37d(0x22a)]&&(this['_closeFrameReceived']||this[_0x11c37d(0x1c3)][_0x11c37d(0x234)][_0x11c37d(0x20e)])&&this['_socket'][_0x11c37d(0x2a6)]();return;}this[_0x11c37d(0x274)]=_0x2736ab[_0x11c37d(0x1a1)],this[_0x11c37d(0x31e)][_0x11c37d(0x2de)](_0x31b8c0,_0xcb91dc,!this[_0x11c37d(0x238)],_0x1fbf70=>{const _0x858fb7=_0x11c37d;_0x1fbf70||(this[_0x858fb7(0x22a)]=!0x0,(this[_0x858fb7(0x1e3)]||this[_0x858fb7(0x1c3)]['_writableState'][_0x858fb7(0x20e)])&&this['_socket']['end']());}),_0x560268(this);}}[_0x383faf(0x25d)](){const _0x4f99af=_0x383faf;this['readyState']===_0x2736ab[_0x4f99af(0x307)]||this[_0x4f99af(0x29a)]===_0x2736ab[_0x4f99af(0x2c0)]||(this[_0x4f99af(0x207)]=!0x0,this['_socket'][_0x4f99af(0x25d)]());}[_0x383faf(0x195)](_0x1e3c5b,_0x11b9d3,_0xb987b3){const _0x5b9658=_0x383faf;if(this[_0x5b9658(0x29a)]===_0x2736ab['CONNECTING'])throw new Error(_0x5b9658(0x255));if(typeof _0x1e3c5b=='function'?(_0xb987b3=_0x1e3c5b,_0x1e3c5b=_0x11b9d3=void 0x0):typeof _0x11b9d3=='function'&&(_0xb987b3=_0x11b9d3,_0x11b9d3=void 0x0),typeof _0x1e3c5b==_0x5b9658(0x31a)&&(_0x1e3c5b=_0x1e3c5b[_0x5b9658(0x2d6)]()),this[_0x5b9658(0x29a)]!==_0x2736ab[_0x5b9658(0x17c)]){_0x5ad6c4(this,_0x1e3c5b,_0xb987b3);return;}_0x11b9d3===void 0x0&&(_0x11b9d3=!this[_0x5b9658(0x238)]),this['_sender']['ping'](_0x1e3c5b||_0x3c8a79,_0x11b9d3,_0xb987b3);}[_0x383faf(0x309)](_0x1d1fbd,_0x5d3697,_0x44e9fc){const _0xee42d8=_0x383faf;if(this[_0xee42d8(0x29a)]===_0x2736ab[_0xee42d8(0x307)])throw new Error(_0xee42d8(0x255));if(typeof _0x1d1fbd==_0xee42d8(0x2f3)?(_0x44e9fc=_0x1d1fbd,_0x1d1fbd=_0x5d3697=void 0x0):typeof _0x5d3697==_0xee42d8(0x2f3)&&(_0x44e9fc=_0x5d3697,_0x5d3697=void 0x0),typeof _0x1d1fbd=='number'&&(_0x1d1fbd=_0x1d1fbd['toString']()),this['readyState']!==_0x2736ab[_0xee42d8(0x17c)]){_0x5ad6c4(this,_0x1d1fbd,_0x44e9fc);return;}_0x5d3697===void 0x0&&(_0x5d3697=!this[_0xee42d8(0x238)]),this[_0xee42d8(0x31e)][_0xee42d8(0x309)](_0x1d1fbd||_0x3c8a79,_0x5d3697,_0x44e9fc);}['resume'](){const _0x36ff08=_0x383faf;this[_0x36ff08(0x29a)]===_0x2736ab[_0x36ff08(0x307)]||this[_0x36ff08(0x29a)]===_0x2736ab[_0x36ff08(0x2c0)]||(this[_0x36ff08(0x207)]=!0x1,this['_receiver'][_0x36ff08(0x234)][_0x36ff08(0x270)]||this[_0x36ff08(0x23b)][_0x36ff08(0x180)]());}[_0x383faf(0x1db)](_0x265ffa,_0x47d234,_0x2ef096){const _0xeebcbf=_0x383faf;if(this['readyState']===_0x2736ab[_0xeebcbf(0x307)])throw new Error(_0xeebcbf(0x255));if(typeof _0x47d234==_0xeebcbf(0x2f3)&&(_0x2ef096=_0x47d234,_0x47d234={}),typeof _0x265ffa==_0xeebcbf(0x31a)&&(_0x265ffa=_0x265ffa['toString']()),this[_0xeebcbf(0x29a)]!==_0x2736ab[_0xeebcbf(0x17c)]){_0x5ad6c4(this,_0x265ffa,_0x2ef096);return;}const _0x266e6e={'binary':typeof _0x265ffa!=_0xeebcbf(0x2b3),'mask':!this[_0xeebcbf(0x238)],'compress':!0x0,'fin':!0x0,..._0x47d234};this[_0xeebcbf(0x17a)][_0x3e431a[_0xeebcbf(0x197)]]||(_0x266e6e[_0xeebcbf(0x1c2)]=!0x1),this[_0xeebcbf(0x31e)][_0xeebcbf(0x1db)](_0x265ffa||_0x3c8a79,_0x266e6e,_0x2ef096);}[_0x383faf(0x18d)](){const _0x2fb97e=_0x383faf;if(this[_0x2fb97e(0x29a)]!==_0x2736ab[_0x2fb97e(0x2c0)]){if(this[_0x2fb97e(0x29a)]===_0x2736ab['CONNECTING']){_0x2a2bd3(this,this[_0x2fb97e(0x304)],_0x2fb97e(0x203));return;}this[_0x2fb97e(0x23b)]&&(this[_0x2fb97e(0x274)]=_0x2736ab[_0x2fb97e(0x1a1)],this[_0x2fb97e(0x23b)][_0x2fb97e(0x188)]());}}}Object[_0x383faf(0x1d7)](_0x2736ab,_0x383faf(0x307),{'enumerable':!0x0,'value':_0x457eb0['indexOf'](_0x383faf(0x307))}),Object[_0x383faf(0x1d7)](_0x2736ab[_0x383faf(0x30a)],'CONNECTING',{'enumerable':!0x0,'value':_0x457eb0[_0x383faf(0x2ea)](_0x383faf(0x307))}),Object[_0x383faf(0x1d7)](_0x2736ab,_0x383faf(0x17c),{'enumerable':!0x0,'value':_0x457eb0['indexOf'](_0x383faf(0x17c))}),Object[_0x383faf(0x1d7)](_0x2736ab[_0x383faf(0x30a)],'OPEN',{'enumerable':!0x0,'value':_0x457eb0[_0x383faf(0x2ea)](_0x383faf(0x17c))}),Object[_0x383faf(0x1d7)](_0x2736ab,_0x383faf(0x1a1),{'enumerable':!0x0,'value':_0x457eb0['indexOf']('CLOSING')}),Object['defineProperty'](_0x2736ab[_0x383faf(0x30a)],_0x383faf(0x1a1),{'enumerable':!0x0,'value':_0x457eb0['indexOf'](_0x383faf(0x1a1))}),Object[_0x383faf(0x1d7)](_0x2736ab,'CLOSED',{'enumerable':!0x0,'value':_0x457eb0[_0x383faf(0x2ea)](_0x383faf(0x2c0))}),Object[_0x383faf(0x1d7)](_0x2736ab[_0x383faf(0x30a)],_0x383faf(0x2c0),{'enumerable':!0x0,'value':_0x457eb0[_0x383faf(0x2ea)]('CLOSED')}),[_0x383faf(0x2a4),_0x383faf(0x1d5),'extensions',_0x383faf(0x230),_0x383faf(0x226),'readyState','url'][_0x383faf(0x26c)](_0x5422db=>{const _0x58a7a1=_0x383faf;Object[_0x58a7a1(0x1d7)](_0x2736ab[_0x58a7a1(0x30a)],_0x5422db,{'enumerable':!0x0});}),['open',_0x383faf(0x2da),_0x383faf(0x2de),_0x383faf(0x292)][_0x383faf(0x26c)](_0x31e6ff=>{Object['defineProperty'](_0x2736ab['prototype'],'on'+_0x31e6ff,{'enumerable':!0x0,'get'(){for(const _0x59de2e of this['listeners'](_0x31e6ff))if(_0x59de2e[_0x3bef9c])return _0x59de2e[_0x5ba7b7];return null;},'set'(_0x1fd7c9){const _0x4d5077=_0x3413;for(const _0x45483d of this[_0x4d5077(0x170)](_0x31e6ff))if(_0x45483d[_0x3bef9c]){this[_0x4d5077(0x21b)](_0x31e6ff,_0x45483d);break;}typeof _0x1fd7c9==_0x4d5077(0x2f3)&&this[_0x4d5077(0x18e)](_0x31e6ff,_0x1fd7c9,{[_0x3bef9c]:!0x0});}});}),_0x2736ab['prototype'][_0x383faf(0x18e)]=_0x13072b,_0x2736ab['prototype'][_0x383faf(0x25b)]=_0x5af49e,Oe=_0x2736ab;function _0x3b9663(_0x403442,_0x29e2cc,_0x27d229,_0x990ea3){const _0x4acad3=_0x383faf,_0x527752={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3a41f5[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x990ea3,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x403442[_0x4acad3(0x1bd)]=_0x527752[_0x4acad3(0x299)],!_0x3a41f5[_0x4acad3(0x213)](_0x527752['protocolVersion']))throw new RangeError(_0x4acad3(0x289)+_0x527752[_0x4acad3(0x229)]+_0x4acad3(0x1f6)+_0x3a41f5[_0x4acad3(0x290)](',\x20')+')');let _0x1babb1;if(_0x29e2cc instanceof _0x3b7987)_0x1babb1=_0x29e2cc;else try{_0x1babb1=new _0x3b7987(_0x29e2cc);}catch{throw new SyntaxError(_0x4acad3(0x295)+_0x29e2cc);}_0x1babb1[_0x4acad3(0x226)]===_0x4acad3(0x2e9)?_0x1babb1[_0x4acad3(0x226)]=_0x4acad3(0x192):_0x1babb1['protocol']===_0x4acad3(0x236)&&(_0x1babb1[_0x4acad3(0x226)]=_0x4acad3(0x2b6)),_0x403442['_url']=_0x1babb1['href'];const _0x5c0239=_0x1babb1[_0x4acad3(0x226)]===_0x4acad3(0x2b6),_0x1ddef1=_0x1babb1[_0x4acad3(0x226)]===_0x4acad3(0x1dd);let _0x6e6ed5;if(_0x1babb1[_0x4acad3(0x226)]!==_0x4acad3(0x192)&&!_0x5c0239&&!_0x1ddef1?_0x6e6ed5=_0x4acad3(0x219):_0x1ddef1&&!_0x1babb1[_0x4acad3(0x2be)]?_0x6e6ed5=_0x4acad3(0x21a):_0x1babb1['hash']&&(_0x6e6ed5=_0x4acad3(0x198)),_0x6e6ed5){const _0x2f8e9e=new SyntaxError(_0x6e6ed5);if(_0x403442[_0x4acad3(0x2b7)]===0x0)throw _0x2f8e9e;_0x1098bb(_0x403442,_0x2f8e9e);return;}const _0x1d7c26=_0x5c0239?0x1bb:0x50,_0x719cd4=_0x1836f0(0x10)[_0x4acad3(0x2d6)](_0x4acad3(0x202)),_0x19f59d=_0x5c0239?_0x5e8020[_0x4acad3(0x20b)]:_0x1b2be2['request'],_0x58f4b3=new Set();let _0x28262e;if(_0x527752['createConnection']=_0x527752[_0x4acad3(0x1ed)]||(_0x5c0239?_0x369a79:_0x1d8b4c),_0x527752[_0x4acad3(0x2ac)]=_0x527752[_0x4acad3(0x2ac)]||_0x1d7c26,_0x527752['port']=_0x1babb1[_0x4acad3(0x1fb)]||_0x1d7c26,_0x527752[_0x4acad3(0x2d1)]=_0x1babb1[_0x4acad3(0x2a3)]['startsWith']('[')?_0x1babb1['hostname']['slice'](0x1,-0x1):_0x1babb1[_0x4acad3(0x2a3)],_0x527752[_0x4acad3(0x237)]={..._0x527752['headers'],'Sec-WebSocket-Version':_0x527752['protocolVersion'],'Sec-WebSocket-Key':_0x719cd4,'Connection':_0x4acad3(0x1be),'Upgrade':_0x4acad3(0x1f2)},_0x527752['path']=_0x1babb1[_0x4acad3(0x2be)]+_0x1babb1[_0x4acad3(0x280)],_0x527752['timeout']=_0x527752[_0x4acad3(0x294)],_0x527752[_0x4acad3(0x2bf)]&&(_0x28262e=new _0x3e431a(_0x527752['perMessageDeflate']!==!0x0?_0x527752[_0x4acad3(0x2bf)]:{},!0x1,_0x527752[_0x4acad3(0x2a2)]),_0x527752[_0x4acad3(0x237)][_0x4acad3(0x275)]=_0x5bfd06({[_0x3e431a[_0x4acad3(0x197)]]:_0x28262e['offer']()})),_0x27d229['length']){for(const _0x3e78f6 of _0x27d229){if(typeof _0x3e78f6!=_0x4acad3(0x2b3)||!_0x1d2f62[_0x4acad3(0x1f9)](_0x3e78f6)||_0x58f4b3[_0x4acad3(0x24e)](_0x3e78f6))throw new SyntaxError(_0x4acad3(0x25f));_0x58f4b3[_0x4acad3(0x208)](_0x3e78f6);}_0x527752['headers'][_0x4acad3(0x1c4)]=_0x27d229['join'](',');}if(_0x527752['origin']&&(_0x527752[_0x4acad3(0x229)]<0xd?_0x527752[_0x4acad3(0x237)][_0x4acad3(0x1cb)]=_0x527752['origin']:_0x527752[_0x4acad3(0x237)][_0x4acad3(0x1f4)]=_0x527752['origin']),(_0x1babb1[_0x4acad3(0x19f)]||_0x1babb1[_0x4acad3(0x19c)])&&(_0x527752[_0x4acad3(0x2ec)]=_0x1babb1['username']+':'+_0x1babb1['password']),_0x1ddef1){const _0x5a26a6=_0x527752[_0x4acad3(0x177)][_0x4acad3(0x183)](':');_0x527752['socketPath']=_0x5a26a6[0x0],_0x527752[_0x4acad3(0x177)]=_0x5a26a6[0x1];}let _0x378f48;if(_0x527752['followRedirects']){if(_0x403442[_0x4acad3(0x2b7)]===0x0){_0x403442[_0x4acad3(0x16a)]=_0x1ddef1,_0x403442[_0x4acad3(0x29f)]=_0x5c0239,_0x403442[_0x4acad3(0x302)]=_0x1ddef1?_0x527752[_0x4acad3(0x250)]:_0x1babb1['host'];const _0x6ed57f=_0x990ea3&&_0x990ea3[_0x4acad3(0x237)];if(_0x990ea3={..._0x990ea3,'headers':{}},_0x6ed57f){for(const [_0x299932,_0x5c6eee]of Object[_0x4acad3(0x23a)](_0x6ed57f))_0x990ea3[_0x4acad3(0x237)][_0x299932[_0x4acad3(0x256)]()]=_0x5c6eee;}}else{if(_0x403442['listenerCount']('redirect')===0x0){const _0x21d13b=_0x1ddef1?_0x403442[_0x4acad3(0x16a)]?_0x527752[_0x4acad3(0x250)]===_0x403442[_0x4acad3(0x302)]:!0x1:_0x403442['_originalIpc']?!0x1:_0x1babb1[_0x4acad3(0x2d1)]===_0x403442['_originalHostOrSocketPath'];(!_0x21d13b||_0x403442[_0x4acad3(0x29f)]&&!_0x5c0239)&&(delete _0x527752['headers'][_0x4acad3(0x310)],delete _0x527752[_0x4acad3(0x237)][_0x4acad3(0x27c)],_0x21d13b||delete _0x527752['headers']['host'],_0x527752['auth']=void 0x0);}}_0x527752[_0x4acad3(0x2ec)]&&!_0x990ea3['headers'][_0x4acad3(0x310)]&&(_0x990ea3[_0x4acad3(0x237)][_0x4acad3(0x310)]='Basic\x20'+Buffer[_0x4acad3(0x2c3)](_0x527752['auth'])[_0x4acad3(0x2d6)](_0x4acad3(0x202))),_0x378f48=_0x403442[_0x4acad3(0x304)]=_0x19f59d(_0x527752),_0x403442[_0x4acad3(0x2b7)]&&_0x403442['emit']('redirect',_0x403442[_0x4acad3(0x313)],_0x378f48);}else _0x378f48=_0x403442[_0x4acad3(0x304)]=_0x19f59d(_0x527752);_0x527752[_0x4acad3(0x1d1)]&&_0x378f48['on']('timeout',()=>{_0x2a2bd3(_0x403442,_0x378f48,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x378f48['on']('error',_0x96fbe3=>{const _0x5422f6=_0x4acad3;_0x378f48===null||_0x378f48[_0x140d23]||(_0x378f48=_0x403442[_0x5422f6(0x304)]=null,_0x1098bb(_0x403442,_0x96fbe3));}),_0x378f48['on'](_0x4acad3(0x2eb),_0x346190=>{const _0xa1ce6d=_0x4acad3,_0x58c0f7=_0x346190[_0xa1ce6d(0x237)]['location'],_0x304531=_0x346190[_0xa1ce6d(0x2ff)];if(_0x58c0f7&&_0x527752['followRedirects']&&_0x304531>=0x12c&&_0x304531<0x190){if(++_0x403442['_redirects']>_0x527752[_0xa1ce6d(0x271)]){_0x2a2bd3(_0x403442,_0x378f48,_0xa1ce6d(0x1a3));return;}_0x378f48[_0xa1ce6d(0x1a5)]();let _0x487ff4;try{_0x487ff4=new _0x3b7987(_0x58c0f7,_0x29e2cc);}catch{const _0x4db8fa=new SyntaxError(_0xa1ce6d(0x295)+_0x58c0f7);_0x1098bb(_0x403442,_0x4db8fa);return;}_0x3b9663(_0x403442,_0x487ff4,_0x27d229,_0x990ea3);}else _0x403442['emit'](_0xa1ce6d(0x17e),_0x378f48,_0x346190)||_0x2a2bd3(_0x403442,_0x378f48,_0xa1ce6d(0x267)+_0x346190[_0xa1ce6d(0x2ff)]);}),_0x378f48['on']('upgrade',(_0x598fc4,_0x35ade6,_0x3357e7)=>{const _0x287cf5=_0x4acad3;if(_0x403442[_0x287cf5(0x1de)](_0x287cf5(0x1c7),_0x598fc4),_0x403442[_0x287cf5(0x29a)]!==_0x2736ab[_0x287cf5(0x307)])return;_0x378f48=_0x403442[_0x287cf5(0x304)]=null;const _0x515473=_0x598fc4['headers'][_0x287cf5(0x1c7)];if(_0x515473===void 0x0||_0x515473[_0x287cf5(0x256)]()!=='websocket'){_0x2a2bd3(_0x403442,_0x35ade6,_0x287cf5(0x2b8));return;}const _0x31c589=_0x290824(_0x287cf5(0x2ba))[_0x287cf5(0x2c5)](_0x719cd4+_0x72eccd)[_0x287cf5(0x217)](_0x287cf5(0x202));if(_0x598fc4['headers'][_0x287cf5(0x24b)]!==_0x31c589){_0x2a2bd3(_0x403442,_0x35ade6,_0x287cf5(0x1ae));return;}const _0x25373f=_0x598fc4[_0x287cf5(0x237)][_0x287cf5(0x262)];let _0xc48a0;if(_0x25373f!==void 0x0?_0x58f4b3['size']?_0x58f4b3[_0x287cf5(0x24e)](_0x25373f)||(_0xc48a0=_0x287cf5(0x19b)):_0xc48a0='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x58f4b3[_0x287cf5(0x2c7)]&&(_0xc48a0=_0x287cf5(0x1b0)),_0xc48a0){_0x2a2bd3(_0x403442,_0x35ade6,_0xc48a0);return;}_0x25373f&&(_0x403442[_0x287cf5(0x1da)]=_0x25373f);const _0x1956f1=_0x598fc4[_0x287cf5(0x237)][_0x287cf5(0x18f)];if(_0x1956f1!==void 0x0){if(!_0x28262e){_0x2a2bd3(_0x403442,_0x35ade6,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x476026;try{_0x476026=_0x390fd5(_0x1956f1);}catch{_0x2a2bd3(_0x403442,_0x35ade6,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x3c98a5=Object['keys'](_0x476026);if(_0x3c98a5[_0x287cf5(0x2e2)]!==0x1||_0x3c98a5[0x0]!==_0x3e431a['extensionName']){_0x2a2bd3(_0x403442,_0x35ade6,_0x287cf5(0x19e));return;}try{_0x28262e[_0x287cf5(0x167)](_0x476026[_0x3e431a[_0x287cf5(0x197)]]);}catch{_0x2a2bd3(_0x403442,_0x35ade6,_0x287cf5(0x161));return;}_0x403442[_0x287cf5(0x17a)][_0x3e431a[_0x287cf5(0x197)]]=_0x28262e;}_0x403442[_0x287cf5(0x2af)](_0x35ade6,_0x3357e7,{'allowSynchronousEvents':_0x527752[_0x287cf5(0x1a2)],'generateMask':_0x527752[_0x287cf5(0x293)],'maxPayload':_0x527752[_0x287cf5(0x2a2)],'skipUTF8Validation':_0x527752[_0x287cf5(0x28e)]});}),_0x527752['finishRequest']?_0x527752[_0x4acad3(0x2c6)](_0x378f48,_0x403442):_0x378f48[_0x4acad3(0x2a6)]();}function _0x1098bb(_0x5a6d83,_0x3f3a70){const _0x578a5a=_0x383faf;_0x5a6d83['_readyState']=_0x2736ab['CLOSING'],_0x5a6d83['_errorEmitted']=!0x0,_0x5a6d83[_0x578a5a(0x1de)](_0x578a5a(0x2da),_0x3f3a70),_0x5a6d83[_0x578a5a(0x2f7)]();}function _0x1d8b4c(_0x283145){const _0x4ac567=_0x383faf;return _0x283145[_0x4ac567(0x177)]=_0x283145['socketPath'],_0x1ef33f['connect'](_0x283145);}function _0x369a79(_0x50094e){const _0x50c68a=_0x383faf;return _0x50094e[_0x50c68a(0x177)]=void 0x0,!_0x50094e['servername']&&_0x50094e[_0x50c68a(0x26b)]!==''&&(_0x50094e[_0x50c68a(0x26b)]=_0x1ef33f['isIP'](_0x50094e[_0x50c68a(0x2d1)])?'':_0x50094e[_0x50c68a(0x2d1)]),_0x2c95db[_0x50c68a(0x2b5)](_0x50094e);}function _0x2a2bd3(_0x30b625,_0x44a11b,_0x4d7225){const _0x3eb299=_0x383faf;_0x30b625[_0x3eb299(0x274)]=_0x2736ab['CLOSING'];const _0x32b442=new Error(_0x4d7225);Error['captureStackTrace'](_0x32b442,_0x2a2bd3),_0x44a11b[_0x3eb299(0x2b4)]?(_0x44a11b[_0x140d23]=!0x0,_0x44a11b['abort'](),_0x44a11b[_0x3eb299(0x17b)]&&!_0x44a11b[_0x3eb299(0x17b)][_0x3eb299(0x1cc)]&&_0x44a11b['socket'][_0x3eb299(0x188)](),process[_0x3eb299(0x1a6)](_0x1098bb,_0x30b625,_0x32b442)):(_0x44a11b[_0x3eb299(0x188)](_0x32b442),_0x44a11b['once']('error',_0x30b625[_0x3eb299(0x1de)]['bind'](_0x30b625,'error')),_0x44a11b[_0x3eb299(0x27b)](_0x3eb299(0x2de),_0x30b625['emitClose'][_0x3eb299(0x265)](_0x30b625)));}function _0x5ad6c4(_0x58bf53,_0x3e1c45,_0x4cf1dd){const _0x42086f=_0x383faf;if(_0x3e1c45){const _0xf80fcd=_0x1e57c2(_0x3e1c45)?_0x3e1c45['size']:_0x2ed606(_0x3e1c45)['length'];_0x58bf53[_0x42086f(0x23b)]?_0x58bf53['_sender'][_0x42086f(0x269)]+=_0xf80fcd:_0x58bf53[_0x42086f(0x21c)]+=_0xf80fcd;}if(_0x4cf1dd){const _0x295ec7=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x58bf53[_0x42086f(0x29a)]+'\x20('+_0x457eb0[_0x58bf53['readyState']]+')');process['nextTick'](_0x4cf1dd,_0x295ec7);}}function _0x18f438(_0x5e445b,_0x4f9fff){const _0x13612f=_0x383faf,_0x3588b8=this[_0x5394f1];_0x3588b8['_closeFrameReceived']=!0x0,_0x3588b8[_0x13612f(0x30b)]=_0x4f9fff,_0x3588b8[_0x13612f(0x1e0)]=_0x5e445b,_0x3588b8['_socket'][_0x5394f1]!==void 0x0&&(_0x3588b8['_socket'][_0x13612f(0x21b)]('data',_0x5bf149),process[_0x13612f(0x1a6)](_0x7b5254,_0x3588b8[_0x13612f(0x23b)]),_0x5e445b===0x3ed?_0x3588b8[_0x13612f(0x2de)]():_0x3588b8[_0x13612f(0x2de)](_0x5e445b,_0x4f9fff));}function _0x49f8f0(){const _0x4d1819=_0x383faf,_0x22c025=this[_0x5394f1];_0x22c025['isPaused']||_0x22c025['_socket'][_0x4d1819(0x180)]();}function _0x5d2dac(_0x4e9bd2){const _0x35af33=_0x383faf,_0x12ddf3=this[_0x5394f1];_0x12ddf3[_0x35af33(0x23b)][_0x5394f1]!==void 0x0&&(_0x12ddf3[_0x35af33(0x23b)]['removeListener'](_0x35af33(0x1d8),_0x5bf149),process[_0x35af33(0x1a6)](_0x7b5254,_0x12ddf3[_0x35af33(0x23b)]),_0x12ddf3[_0x35af33(0x2de)](_0x4e9bd2[_0x2121a7])),_0x12ddf3[_0x35af33(0x2fe)]||(_0x12ddf3[_0x35af33(0x2fe)]=!0x0,_0x12ddf3[_0x35af33(0x1de)](_0x35af33(0x2da),_0x4e9bd2));}function _0x5be42d(){const _0x1fba38=_0x383faf;this[_0x5394f1][_0x1fba38(0x2f7)]();}function _0x2742b4(_0x22373d,_0x3b3452){const _0x2ed8d3=_0x383faf;this[_0x5394f1]['emit'](_0x2ed8d3(0x292),_0x22373d,_0x3b3452);}function _0x26f222(_0x5f35cb){const _0x18fd94=_0x383faf,_0x2f6b0d=this[_0x5394f1];_0x2f6b0d[_0x18fd94(0x1bd)]&&_0x2f6b0d[_0x18fd94(0x309)](_0x5f35cb,!this[_0x18fd94(0x238)],_0x399c28),_0x2f6b0d['emit'](_0x18fd94(0x195),_0x5f35cb);}function _0x493850(_0x5d9bff){const _0x186ee7=_0x383faf;this[_0x5394f1]['emit'](_0x186ee7(0x309),_0x5d9bff);}function _0x7b5254(_0x53f9c2){const _0x54e013=_0x383faf;_0x53f9c2[_0x54e013(0x180)]();}function _0x34c573(_0x285aec){const _0x1c16e6=_0x383faf,_0x297c69=this[_0x5394f1];_0x297c69['readyState']!==_0x2736ab[_0x1c16e6(0x2c0)]&&(_0x297c69[_0x1c16e6(0x29a)]===_0x2736ab[_0x1c16e6(0x17c)]&&(_0x297c69[_0x1c16e6(0x274)]=_0x2736ab[_0x1c16e6(0x1a1)],_0x560268(_0x297c69)),this[_0x1c16e6(0x23b)]['end'](),_0x297c69[_0x1c16e6(0x2fe)]||(_0x297c69['_errorEmitted']=!0x0,_0x297c69[_0x1c16e6(0x1de)](_0x1c16e6(0x2da),_0x285aec)));}function _0x560268(_0x1e32ff){const _0xe5cec9=_0x383faf;_0x1e32ff[_0xe5cec9(0x178)]=setTimeout(_0x1e32ff[_0xe5cec9(0x23b)][_0xe5cec9(0x188)]['bind'](_0x1e32ff[_0xe5cec9(0x23b)]),_0x1863fd);}function _0xbb8c7e(){const _0x33b900=_0x383faf,_0x4e98ed=this[_0x5394f1];this[_0x33b900(0x21b)](_0x33b900(0x2de),_0xbb8c7e),this['removeListener'](_0x33b900(0x1d8),_0x5bf149),this[_0x33b900(0x21b)](_0x33b900(0x2a6),_0x226499),_0x4e98ed[_0x33b900(0x274)]=_0x2736ab[_0x33b900(0x1a1)];let _0x425355;!this[_0x33b900(0x1b1)][_0x33b900(0x1b6)]&&!_0x4e98ed[_0x33b900(0x1e3)]&&!_0x4e98ed[_0x33b900(0x1c3)][_0x33b900(0x234)][_0x33b900(0x20e)]&&(_0x425355=_0x4e98ed[_0x33b900(0x23b)][_0x33b900(0x277)]())!==null&&_0x4e98ed[_0x33b900(0x1c3)][_0x33b900(0x216)](_0x425355),_0x4e98ed[_0x33b900(0x1c3)][_0x33b900(0x2a6)](),this[_0x5394f1]=void 0x0,clearTimeout(_0x4e98ed[_0x33b900(0x178)]),_0x4e98ed[_0x33b900(0x1c3)][_0x33b900(0x234)][_0x33b900(0x244)]||_0x4e98ed[_0x33b900(0x1c3)][_0x33b900(0x234)][_0x33b900(0x20e)]?_0x4e98ed[_0x33b900(0x2f7)]():(_0x4e98ed[_0x33b900(0x1c3)]['on'](_0x33b900(0x2da),_0x5be42d),_0x4e98ed['_receiver']['on'](_0x33b900(0x1ab),_0x5be42d));}function _0x5bf149(_0x374196){const _0x4e4e45=_0x383faf;this[_0x5394f1][_0x4e4e45(0x1c3)][_0x4e4e45(0x216)](_0x374196)||this[_0x4e4e45(0x25d)]();}function _0x226499(){const _0x5a3c70=_0x383faf,_0x2f9a23=this[_0x5394f1];_0x2f9a23[_0x5a3c70(0x274)]=_0x2736ab[_0x5a3c70(0x1a1)],_0x2f9a23[_0x5a3c70(0x1c3)][_0x5a3c70(0x2a6)](),this[_0x5a3c70(0x2a6)]();}function _0x2f640e(){const _0x1b6321=_0x383faf,_0x1715b6=this[_0x5394f1];this['removeListener'](_0x1b6321(0x2da),_0x2f640e),this['on'](_0x1b6321(0x2da),_0x399c28),_0x1715b6&&(_0x1715b6['_readyState']=_0x2736ab[_0x1b6321(0x1a1)],this[_0x1b6321(0x188)]());}return Oe;}var we,Je;function Ut(){if(Je)return we;Je=0x1,ke();const {Duplex:_0x76a6a3}=oe;function _0xc18c1f(_0x1daa64){const _0x4826f4=_0x3413;_0x1daa64[_0x4826f4(0x1de)](_0x4826f4(0x2de));}function _0x13b81f(){const _0x26c22d=_0x3413;!this[_0x26c22d(0x1cc)]&&this[_0x26c22d(0x234)][_0x26c22d(0x244)]&&this[_0x26c22d(0x188)]();}function _0x1036e0(_0x524456){const _0x5784e1=_0x3413;this[_0x5784e1(0x21b)](_0x5784e1(0x2da),_0x1036e0),this['destroy'](),this[_0x5784e1(0x18a)](_0x5784e1(0x2da))===0x0&&this[_0x5784e1(0x1de)](_0x5784e1(0x2da),_0x524456);}function _0x41a159(_0x385005,_0x58db2a){const _0x406d85=_0x3413;let _0x4714c3=!0x0;const _0x35e895=new _0x76a6a3({..._0x58db2a,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x385005['on']('message',function(_0x4b0b3c,_0x110d36){const _0x4b4db8=_0x3413,_0x266cd8=!_0x110d36&&_0x35e895[_0x4b4db8(0x1b1)][_0x4b4db8(0x173)]?_0x4b0b3c[_0x4b4db8(0x2d6)]():_0x4b0b3c;_0x35e895[_0x4b4db8(0x2fc)](_0x266cd8)||_0x385005[_0x4b4db8(0x25d)]();}),_0x385005[_0x406d85(0x27b)](_0x406d85(0x2da),function(_0x43043d){const _0x4f061d=_0x406d85;_0x35e895[_0x4f061d(0x1cc)]||(_0x4714c3=!0x1,_0x35e895['destroy'](_0x43043d));}),_0x385005[_0x406d85(0x27b)]('close',function(){const _0x4fe75d=_0x406d85;_0x35e895[_0x4fe75d(0x1cc)]||_0x35e895['push'](null);}),_0x35e895['_destroy']=function(_0x34c2ac,_0x24d729){const _0x4107de=_0x406d85;if(_0x385005[_0x4107de(0x29a)]===_0x385005['CLOSED']){_0x24d729(_0x34c2ac),process[_0x4107de(0x1a6)](_0xc18c1f,_0x35e895);return;}let _0x86b2f3=!0x1;_0x385005['once'](_0x4107de(0x2da),function(_0xee4a02){_0x86b2f3=!0x0,_0x24d729(_0xee4a02);}),_0x385005['once'](_0x4107de(0x2de),function(){const _0x1200b8=_0x4107de;_0x86b2f3||_0x24d729(_0x34c2ac),process[_0x1200b8(0x1a6)](_0xc18c1f,_0x35e895);}),_0x4714c3&&_0x385005[_0x4107de(0x18d)]();},_0x35e895[_0x406d85(0x2ae)]=function(_0x4fcaa5){const _0x6aa55f=_0x406d85;if(_0x385005['readyState']===_0x385005[_0x6aa55f(0x307)]){_0x385005[_0x6aa55f(0x27b)](_0x6aa55f(0x16b),function(){const _0x37a9a1=_0x6aa55f;_0x35e895[_0x37a9a1(0x2ae)](_0x4fcaa5);});return;}_0x385005[_0x6aa55f(0x23b)]!==null&&(_0x385005[_0x6aa55f(0x23b)][_0x6aa55f(0x234)][_0x6aa55f(0x244)]?(_0x4fcaa5(),_0x35e895[_0x6aa55f(0x1b1)]['endEmitted']&&_0x35e895[_0x6aa55f(0x188)]()):(_0x385005[_0x6aa55f(0x23b)][_0x6aa55f(0x27b)]('finish',function(){_0x4fcaa5();}),_0x385005[_0x6aa55f(0x2de)]()));},_0x35e895[_0x406d85(0x185)]=function(){const _0x32d318=_0x406d85;_0x385005[_0x32d318(0x230)]&&_0x385005['resume']();},_0x35e895['_write']=function(_0x5006d1,_0xa9e8e5,_0x1f1ebe){const _0x58618d=_0x406d85;if(_0x385005[_0x58618d(0x29a)]===_0x385005[_0x58618d(0x307)]){_0x385005[_0x58618d(0x27b)](_0x58618d(0x16b),function(){const _0x116975=_0x58618d;_0x35e895[_0x116975(0x1b2)](_0x5006d1,_0xa9e8e5,_0x1f1ebe);});return;}_0x385005[_0x58618d(0x1db)](_0x5006d1,_0x1f1ebe);},_0x35e895['on']('end',_0x13b81f),_0x35e895['on'](_0x406d85(0x2da),_0x1036e0),_0x35e895;}return we=_0x41a159,we;}Ut(),lt(),ft();var Mt=ke();const At=Tt(Mt);var Ce,et;function $t(){if(et)return Ce;et=0x1;const {tokenChars:_0x2c7d92}=ae();function _0xf298e3(_0x1eb635){const _0x5635e6=_0x3413,_0x393fbd=new Set();let _0x480b02=-0x1,_0xe9f729=-0x1,_0x207958=0x0;for(_0x207958;_0x207958<_0x1eb635[_0x5635e6(0x2e2)];_0x207958++){const _0x5008dc=_0x1eb635['charCodeAt'](_0x207958);if(_0xe9f729===-0x1&&_0x2c7d92[_0x5008dc]===0x1)_0x480b02===-0x1&&(_0x480b02=_0x207958);else{if(_0x207958!==0x0&&(_0x5008dc===0x20||_0x5008dc===0x9))_0xe9f729===-0x1&&_0x480b02!==-0x1&&(_0xe9f729=_0x207958);else{if(_0x5008dc===0x2c){if(_0x480b02===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x207958);_0xe9f729===-0x1&&(_0xe9f729=_0x207958);const _0x41565e=_0x1eb635[_0x5635e6(0x2ed)](_0x480b02,_0xe9f729);if(_0x393fbd[_0x5635e6(0x24e)](_0x41565e))throw new SyntaxError('The\x20\x22'+_0x41565e+'\x22\x20subprotocol\x20is\x20duplicated');_0x393fbd[_0x5635e6(0x208)](_0x41565e),_0x480b02=_0xe9f729=-0x1;}else throw new SyntaxError(_0x5635e6(0x26e)+_0x207958);}}}if(_0x480b02===-0x1||_0xe9f729!==-0x1)throw new SyntaxError(_0x5635e6(0x1f5));const _0xb980f1=_0x1eb635[_0x5635e6(0x2ed)](_0x480b02,_0x207958);if(_0x393fbd['has'](_0xb980f1))throw new SyntaxError(_0x5635e6(0x191)+_0xb980f1+_0x5635e6(0x21d));return _0x393fbd['add'](_0xb980f1),_0x393fbd;}return Ce={'parse':_0xf298e3},Ce;}var Te,tt;function Ft(){const _0x55f9ce=_0x234bf8;if(tt)return Te;tt=0x1;const _0x30a164=it,_0x530871=nt,{Duplex:_0x2a4ba5}=oe,{createHash:_0x59896c}=Le,_0x131386=ct(),_0x120120=he(),_0x12c9c3=$t(),_0x32778c=ke(),{GUID:_0x40cf48,kWebSocket:_0x1b4b73}=H(),_0x9d3430=/^[+/0-9A-Za-z]{22}==$/,_0x35f7c2=0x0,_0xc24fa1=0x1,_0x4086e1=0x2;class _0x260d93 extends _0x30a164{constructor(_0x53e91e,_0x5991a2){const _0x37a400=_0x3413;if(super(),_0x53e91e={'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':_0x32778c,..._0x53e91e},_0x53e91e[_0x37a400(0x1fb)]==null&&!_0x53e91e['server']&&!_0x53e91e[_0x37a400(0x227)]||_0x53e91e[_0x37a400(0x1fb)]!=null&&(_0x53e91e[_0x37a400(0x1c6)]||_0x53e91e[_0x37a400(0x227)])||_0x53e91e[_0x37a400(0x1c6)]&&_0x53e91e[_0x37a400(0x227)])throw new TypeError(_0x37a400(0x16d));if(_0x53e91e['port']!=null?(this['_server']=_0x530871[_0x37a400(0x2ca)]((_0x2d6233,_0x4612ff)=>{const _0xcf8ec2=_0x37a400,_0x384702=_0x530871[_0xcf8ec2(0x29e)][0x1aa];_0x4612ff[_0xcf8ec2(0x2d0)](0x1aa,{'Content-Length':_0x384702[_0xcf8ec2(0x2e2)],'Content-Type':_0xcf8ec2(0x2dd)}),_0x4612ff[_0xcf8ec2(0x2a6)](_0x384702);}),this['_server'][_0x37a400(0x1c5)](_0x53e91e[_0x37a400(0x1fb)],_0x53e91e[_0x37a400(0x2d1)],_0x53e91e['backlog'],_0x5991a2)):_0x53e91e[_0x37a400(0x1c6)]&&(this[_0x37a400(0x241)]=_0x53e91e['server']),this[_0x37a400(0x241)]){const _0x25f2d5=this['emit'][_0x37a400(0x265)](this,_0x37a400(0x20a));this[_0x37a400(0x2bc)]=_0x1f741d(this[_0x37a400(0x241)],{'listening':this['emit'][_0x37a400(0x265)](this,_0x37a400(0x176)),'error':this['emit'][_0x37a400(0x265)](this,_0x37a400(0x2da)),'upgrade':(_0x405d5e,_0x3ca050,_0x276aa7)=>{const _0x4deffd=_0x37a400;this[_0x4deffd(0x2a0)](_0x405d5e,_0x3ca050,_0x276aa7,_0x25f2d5);}});}_0x53e91e[_0x37a400(0x2bf)]===!0x0&&(_0x53e91e[_0x37a400(0x2bf)]={}),_0x53e91e[_0x37a400(0x1e8)]&&(this[_0x37a400(0x1ca)]=new Set(),this[_0x37a400(0x210)]=!0x1),this[_0x37a400(0x1ff)]=_0x53e91e,this['_state']=_0x35f7c2;}['address'](){const _0x4b9910=_0x3413;if(this[_0x4b9910(0x1ff)]['noServer'])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x4b9910(0x241)]?this[_0x4b9910(0x241)][_0x4b9910(0x316)]():null;}[_0x55f9ce(0x2de)](_0x25bb0b){const _0x278c7b=_0x55f9ce;if(this[_0x278c7b(0x23e)]===_0x4086e1){_0x25bb0b&&this[_0x278c7b(0x27b)](_0x278c7b(0x2de),()=>{const _0x2d66c7=_0x278c7b;_0x25bb0b(new Error(_0x2d66c7(0x260)));}),process[_0x278c7b(0x1a6)](_0x2f0515,this);return;}if(_0x25bb0b&&this[_0x278c7b(0x27b)](_0x278c7b(0x2de),_0x25bb0b),this['_state']!==_0xc24fa1){if(this[_0x278c7b(0x23e)]=_0xc24fa1,this[_0x278c7b(0x1ff)][_0x278c7b(0x227)]||this[_0x278c7b(0x1ff)][_0x278c7b(0x1c6)])this['_server']&&(this['_removeListeners'](),this['_removeListeners']=this[_0x278c7b(0x241)]=null),this['clients']?this[_0x278c7b(0x1ca)][_0x278c7b(0x2c7)]?this[_0x278c7b(0x210)]=!0x0:process[_0x278c7b(0x1a6)](_0x2f0515,this):process[_0x278c7b(0x1a6)](_0x2f0515,this);else{const _0xbf9fa4=this['_server'];this[_0x278c7b(0x2bc)](),this[_0x278c7b(0x2bc)]=this[_0x278c7b(0x241)]=null,_0xbf9fa4[_0x278c7b(0x2de)](()=>{_0x2f0515(this);});}}}['shouldHandle'](_0x5ce75d){const _0x14edc2=_0x55f9ce;if(this['options'][_0x14edc2(0x177)]){const _0xb1960f=_0x5ce75d[_0x14edc2(0x313)][_0x14edc2(0x2ea)]('?');if((_0xb1960f!==-0x1?_0x5ce75d[_0x14edc2(0x313)][_0x14edc2(0x2ed)](0x0,_0xb1960f):_0x5ce75d['url'])!==this[_0x14edc2(0x1ff)][_0x14edc2(0x177)])return!0x1;}return!0x0;}['handleUpgrade'](_0x27bfbe,_0x28679c,_0x123196,_0x3db03c){const _0x3acdc4=_0x55f9ce;_0x28679c['on'](_0x3acdc4(0x2da),_0x50db2c);const _0x32a736=_0x27bfbe[_0x3acdc4(0x237)][_0x3acdc4(0x1e6)],_0x1c714f=_0x27bfbe[_0x3acdc4(0x237)][_0x3acdc4(0x1c7)],_0x551900=+_0x27bfbe[_0x3acdc4(0x237)][_0x3acdc4(0x251)];if(_0x27bfbe[_0x3acdc4(0x1a8)]!=='GET'){_0x4e47a3(this,_0x27bfbe,_0x28679c,0x195,_0x3acdc4(0x16c));return;}if(_0x1c714f===void 0x0||_0x1c714f[_0x3acdc4(0x256)]()!==_0x3acdc4(0x1f2)){_0x4e47a3(this,_0x27bfbe,_0x28679c,0x190,_0x3acdc4(0x2b8));return;}if(_0x32a736===void 0x0||!_0x9d3430[_0x3acdc4(0x1f9)](_0x32a736)){_0x4e47a3(this,_0x27bfbe,_0x28679c,0x190,_0x3acdc4(0x221));return;}if(_0x551900!==0xd&&_0x551900!==0x8){_0x4e47a3(this,_0x27bfbe,_0x28679c,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this[_0x3acdc4(0x23c)](_0x27bfbe)){_0xad0c53(_0x28679c,0x190);return;}const _0x46e8e1=_0x27bfbe[_0x3acdc4(0x237)][_0x3acdc4(0x262)];let _0x5600a1=new Set();if(_0x46e8e1!==void 0x0)try{_0x5600a1=_0x12c9c3[_0x3acdc4(0x1bc)](_0x46e8e1);}catch{_0x4e47a3(this,_0x27bfbe,_0x28679c,0x190,_0x3acdc4(0x2f0));return;}const _0x1e4ff6=_0x27bfbe[_0x3acdc4(0x237)]['sec-websocket-extensions'],_0x234ed6={};if(this[_0x3acdc4(0x1ff)][_0x3acdc4(0x2bf)]&&_0x1e4ff6!==void 0x0){const _0x1f6d5d=new _0x120120(this[_0x3acdc4(0x1ff)][_0x3acdc4(0x2bf)],!0x0,this[_0x3acdc4(0x1ff)]['maxPayload']);try{const _0x5cc281=_0x131386[_0x3acdc4(0x1bc)](_0x1e4ff6);_0x5cc281[_0x120120[_0x3acdc4(0x197)]]&&(_0x1f6d5d[_0x3acdc4(0x167)](_0x5cc281[_0x120120['extensionName']]),_0x234ed6[_0x120120['extensionName']]=_0x1f6d5d);}catch{_0x4e47a3(this,_0x27bfbe,_0x28679c,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x3acdc4(0x1ff)][_0x3acdc4(0x305)]){const _0xac7ca9={'origin':_0x27bfbe['headers'][''+(_0x551900===0x8?_0x3acdc4(0x24d):'origin')],'secure':!!(_0x27bfbe[_0x3acdc4(0x17b)]['authorized']||_0x27bfbe[_0x3acdc4(0x17b)][_0x3acdc4(0x22d)]),'req':_0x27bfbe};if(this['options'][_0x3acdc4(0x305)][_0x3acdc4(0x2e2)]===0x2){this['options'][_0x3acdc4(0x305)](_0xac7ca9,(_0x4d7f46,_0x7aae40,_0x27d17d,_0x516080)=>{if(!_0x4d7f46)return _0xad0c53(_0x28679c,_0x7aae40||0x191,_0x27d17d,_0x516080);this['completeUpgrade'](_0x234ed6,_0x32a736,_0x5600a1,_0x27bfbe,_0x28679c,_0x123196,_0x3db03c);});return;}if(!this[_0x3acdc4(0x1ff)][_0x3acdc4(0x305)](_0xac7ca9))return _0xad0c53(_0x28679c,0x191);}this[_0x3acdc4(0x181)](_0x234ed6,_0x32a736,_0x5600a1,_0x27bfbe,_0x28679c,_0x123196,_0x3db03c);}[_0x55f9ce(0x181)](_0x561f08,_0x37d107,_0xe575f9,_0x1dd7b2,_0x2b129a,_0x4c8037,_0x38d237){const _0x1c4277=_0x55f9ce;if(!_0x2b129a[_0x1c4277(0x164)]||!_0x2b129a[_0x1c4277(0x2a9)])return _0x2b129a['destroy']();if(_0x2b129a[_0x1b4b73])throw new Error(_0x1c4277(0x206));if(this[_0x1c4277(0x23e)]>_0x35f7c2)return _0xad0c53(_0x2b129a,0x1f7);const _0x516b01=[_0x1c4277(0x1aa),_0x1c4277(0x16f),'Connection:\x20Upgrade',_0x1c4277(0x30f)+_0x59896c('sha1')[_0x1c4277(0x2c5)](_0x37d107+_0x40cf48)['digest'](_0x1c4277(0x202))],_0xb57781=new this[(_0x1c4277(0x1ff))][(_0x1c4277(0x311))](null,void 0x0,this['options']);if(_0xe575f9[_0x1c4277(0x2c7)]){const _0x21be18=this['options']['handleProtocols']?this[_0x1c4277(0x1ff)]['handleProtocols'](_0xe575f9,_0x1dd7b2):_0xe575f9[_0x1c4277(0x318)]()[_0x1c4277(0x1a7)]()[_0x1c4277(0x1b9)];_0x21be18&&(_0x516b01[_0x1c4277(0x2fc)](_0x1c4277(0x20c)+_0x21be18),_0xb57781[_0x1c4277(0x1da)]=_0x21be18);}if(_0x561f08[_0x120120['extensionName']]){const _0x1b5fdd=_0x561f08[_0x120120[_0x1c4277(0x197)]][_0x1c4277(0x2a7)],_0x103cef=_0x131386['format']({[_0x120120['extensionName']]:[_0x1b5fdd]});_0x516b01[_0x1c4277(0x2fc)]('Sec-WebSocket-Extensions:\x20'+_0x103cef),_0xb57781[_0x1c4277(0x17a)]=_0x561f08;}this['emit']('headers',_0x516b01,_0x1dd7b2),_0x2b129a[_0x1c4277(0x216)](_0x516b01[_0x1c4277(0x22f)]('\x0d\x0a')[_0x1c4277(0x290)]('\x0d\x0a')),_0x2b129a[_0x1c4277(0x21b)](_0x1c4277(0x2da),_0x50db2c),_0xb57781['setSocket'](_0x2b129a,_0x4c8037,{'allowSynchronousEvents':this[_0x1c4277(0x1ff)][_0x1c4277(0x1a2)],'maxPayload':this[_0x1c4277(0x1ff)][_0x1c4277(0x2a2)],'skipUTF8Validation':this[_0x1c4277(0x1ff)]['skipUTF8Validation']}),this[_0x1c4277(0x1ca)]&&(this[_0x1c4277(0x1ca)][_0x1c4277(0x208)](_0xb57781),_0xb57781['on']('close',()=>{const _0x102beb=_0x1c4277;this[_0x102beb(0x1ca)][_0x102beb(0x301)](_0xb57781),this[_0x102beb(0x210)]&&!this[_0x102beb(0x1ca)][_0x102beb(0x2c7)]&&process[_0x102beb(0x1a6)](_0x2f0515,this);})),_0x38d237(_0xb57781,_0x1dd7b2);}}Te=_0x260d93;function _0x1f741d(_0x3bdc98,_0x23ea63){for(const _0x26ad30 of Object['keys'](_0x23ea63))_0x3bdc98['on'](_0x26ad30,_0x23ea63[_0x26ad30]);return function(){const _0x4eb088=_0x3413;for(const _0xa2cdc of Object[_0x4eb088(0x28c)](_0x23ea63))_0x3bdc98[_0x4eb088(0x21b)](_0xa2cdc,_0x23ea63[_0xa2cdc]);};}function _0x2f0515(_0x4c5aa1){const _0x2ab8ef=_0x55f9ce;_0x4c5aa1[_0x2ab8ef(0x23e)]=_0x4086e1,_0x4c5aa1['emit'](_0x2ab8ef(0x2de));}function _0x50db2c(){const _0x9fde01=_0x55f9ce;this[_0x9fde01(0x188)]();}function _0xad0c53(_0x17b70e,_0x1d5c7a,_0x21271f,_0x353014){const _0x49b485=_0x55f9ce;_0x21271f=_0x21271f||_0x530871[_0x49b485(0x29e)][_0x1d5c7a],_0x353014={'Connection':_0x49b485(0x2de),'Content-Type':_0x49b485(0x1f7),'Content-Length':Buffer[_0x49b485(0x1df)](_0x21271f),..._0x353014},_0x17b70e['once'](_0x49b485(0x1ab),_0x17b70e[_0x49b485(0x188)]),_0x17b70e['end']('HTTP/1.1\x20'+_0x1d5c7a+'\x20'+_0x530871[_0x49b485(0x29e)][_0x1d5c7a]+'\x0d\x0a'+Object[_0x49b485(0x28c)](_0x353014)['map'](_0x4e911e=>_0x4e911e+':\x20'+_0x353014[_0x4e911e])['join']('\x0d\x0a')+_0x49b485(0x2ee)+_0x21271f);}function _0x4e47a3(_0x219f50,_0x471d32,_0x5970d6,_0x447a10,_0x2cb44b,_0x232f55){const _0x47542a=_0x55f9ce;if(_0x219f50[_0x47542a(0x18a)](_0x47542a(0x308))){const _0x55b52a=new Error(_0x2cb44b);Error[_0x47542a(0x2ef)](_0x55b52a,_0x4e47a3),_0x219f50[_0x47542a(0x1de)](_0x47542a(0x308),_0x55b52a,_0x5970d6,_0x471d32);}else _0xad0c53(_0x5970d6,_0x447a10,_0x2cb44b,_0x232f55);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x1ce898,_0x53499e,_0x545270,_0x44ee9b)=>{const _0x4677c0=_0x234bf8;for(var _0xf09e52=_0x44ee9b>0x1?void 0x0:_0x44ee9b?jt(_0x53499e,_0x545270):_0x53499e,_0x3124bb=_0x1ce898[_0x4677c0(0x2e2)]-0x1,_0x5b4835;_0x3124bb>=0x0;_0x3124bb--)(_0x5b4835=_0x1ce898[_0x3124bb])&&(_0xf09e52=_0x5b4835(_0xf09e52)||_0xf09e52);return _0xf09e52;},qt=(_0x365b3a,_0x272329)=>(_0x28bf6b,_0x20ee17)=>_0x272329(_0x28bf6b,_0x20ee17,_0x365b3a);let Ne=class extends F[_0x234bf8(0x2a8)]{constructor(_0x48bbfb){const _0xbfc4e5=_0x234bf8;super(),this[_0xbfc4e5(0x2aa)]=_0x48bbfb;}[_0x234bf8(0x258)](_0x5e1bda){const _0x756b16=_0x234bf8;var _0x4e7ed1;const _0x284203=((_0x4e7ed1=this[_0x756b16(0x2aa)][_0x756b16(0x1af)](fe['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x4e7ed1[_0x756b16(0x1e7)])||{};try{const _0x269972=new At(_0x5e1bda,{'headers':{..._0x284203}}),_0x5a0ba1=new F[(_0x756b16(0x1cd))]();return{'URL':_0x5e1bda,'close':(_0x2e59bc,_0x4d97dd)=>{const _0x2671e8=_0x756b16;_0x269972[_0x2671e8(0x2de)](_0x2e59bc,_0x4d97dd),_0x5a0ba1[_0x2671e8(0x297)]();},'send':_0x5aa6c1=>{const _0xe7b76c=_0x756b16;_0x269972[_0xe7b76c(0x1db)](_0x5aa6c1);},'open$':new V[(_0x756b16(0x1fd))](_0x5a0afa=>{const _0x40fa44=_0x756b16,_0x12f479=_0x163660=>_0x5a0afa['next'](_0x163660);_0x269972[_0x40fa44(0x18e)](_0x40fa44(0x16b),_0x12f479),_0x5a0ba1[_0x40fa44(0x208)](F[_0x40fa44(0x1fc)](()=>_0x269972[_0x40fa44(0x25b)](_0x40fa44(0x16b),_0x12f479)));})[_0x756b16(0x28d)](V[_0x756b16(0x224)]()),'close$':new V['Observable'](_0x313fa2=>{const _0x173fb6=_0x756b16,_0x458b12=_0x9e5153=>_0x313fa2[_0x173fb6(0x1a7)](_0x9e5153);_0x269972[_0x173fb6(0x18e)]('close',_0x458b12),_0x5a0ba1['add'](F[_0x173fb6(0x1fc)](()=>_0x269972[_0x173fb6(0x25b)](_0x173fb6(0x2de),_0x458b12)));})['pipe'](V[_0x756b16(0x224)]()),'error$':new V[(_0x756b16(0x1fd))](_0x25f553=>{const _0xce3ba2=_0x756b16,_0x3306a9=_0x2bf7b4=>_0x25f553[_0xce3ba2(0x1a7)](_0x2bf7b4);_0x269972[_0xce3ba2(0x18e)](_0xce3ba2(0x2da),_0x3306a9),_0x5a0ba1[_0xce3ba2(0x208)](F[_0xce3ba2(0x1fc)](()=>_0x269972[_0xce3ba2(0x25b)](_0xce3ba2(0x2da),_0x3306a9)));})['pipe'](V[_0x756b16(0x224)]()),'message$':new V['Observable'](_0x5ec9b8=>{const _0x56514c=_0x756b16,_0x2102e2=_0x4745ae=>_0x5ec9b8['next'](_0x4745ae);_0x269972[_0x56514c(0x18e)](_0x56514c(0x292),_0x2102e2),_0x5a0ba1[_0x56514c(0x208)](F[_0x56514c(0x1fc)](()=>_0x269972[_0x56514c(0x25b)](_0x56514c(0x292),_0x2102e2)));})[_0x756b16(0x28d)](V['share']())};}catch(_0x5a51b5){return console[_0x756b16(0x2da)](_0x5a51b5),null;}}};Ne=Wt([qt(0x0,F['IConfigService'])],Ne);var Gt=Object[_0x234bf8(0x1d7)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x237112,_0x42ca5b,_0x5e96a7)=>_0x42ca5b in _0x237112?Gt(_0x237112,_0x42ca5b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e96a7}):_0x237112[_0x42ca5b]=_0x5e96a7,zt=(_0x1611a4,_0x421a66,_0x5e9dd0,_0x26be45)=>{const _0x4f33d9=_0x234bf8;for(var _0x244e24=_0x26be45>0x1?void 0x0:_0x26be45?Vt(_0x421a66,_0x5e9dd0):_0x421a66,_0x3b4535=_0x1611a4[_0x4f33d9(0x2e2)]-0x1,_0x2d3530;_0x3b4535>=0x0;_0x3b4535--)(_0x2d3530=_0x1611a4[_0x3b4535])&&(_0x244e24=_0x2d3530(_0x244e24)||_0x244e24);return _0x244e24;},rt=(_0x383f74,_0x27edd7)=>(_0x9edd90,_0x2cbee9)=>_0x27edd7(_0x9edd90,_0x2cbee9,_0x383f74),Yt=(_0x454114,_0x5bcf02,_0x2f50e7)=>Ht(_0x454114,_0x5bcf02+'',_0x2f50e7);exports[_0x234bf8(0x2cb)]=class extends F['Plugin']{constructor(_0x10693d=Ct,_0x1e9511,_0x210b0f){const _0x16c8a4=_0x234bf8;super(),this[_0x16c8a4(0x2aa)]=_0x1e9511,this[_0x16c8a4(0x2cc)]=_0x210b0f,this[_0x16c8a4(0x2aa)]['setConfig'](ot,_0x10693d);}[_0x234bf8(0x257)](){this['_registerDependencies']();}[_0x234bf8(0x193)](){const _0x449234=_0x234bf8;F[_0x449234(0x233)](this[_0x449234(0x2cc)],[[st[_0x449234(0x2e5)],{'useClass':Ne}]]);}},Yt(exports[_0x234bf8(0x2cb)],'pluginName',_0x234bf8(0x2d2)),exports['UniverCollaborationClientNodePlugin']=zt([F[_0x234bf8(0x279)](fe[_0x234bf8(0x194)]),rt(0x1,F['IConfigService']),rt(0x2,F['Inject'](F[_0x234bf8(0x261)]))],exports['UniverCollaborationClientNodePlugin']);function _0x1af8(){const _0x1d20cc=['path','_closeTimer','mask','_extensions','socket','OPEN','createInflateRaw','unexpected-response','File','resume','completeUpgrade','isArray','split','Inject','_read','startLoop','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','destroy','kAborted','listenerCount','acceptAsServer','_fragmented','terminate','addEventListener','sec-websocket-extensions','kType','The\x20\x22','ws:','_registerDependencies','UniverCollaborationClientPlugin','ping','unmask','extensionName','The\x20URL\x20contains\x20a\x20fragment\x20identifier','onclose','collaboration-client-node.config','Server\x20sent\x20an\x20invalid\x20subprotocol','password','flush','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','username','WS_ERR_UNEXPECTED_RSV_1','CLOSING','allowSynchronousEvents','Maximum\x20redirects\x20exceeded','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','abort','nextTick','next','method','MASK\x20must\x20be\x20set','HTTP/1.1\x20101\x20Switching\x20Protocols','finish','COLLABORATION_CLIENT_NODE_CONFIG_KEY','isValidUTF8','Invalid\x20Sec-WebSocket-Accept\x20header','getConfig','Server\x20sent\x20no\x20subprotocol','_readableState','_write','constructor','binary','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','endEmitted','onmessage','isView','value','Invalid\x20value\x20for\x20parameter\x20\x22','dispatch','parse','_autoPong','Upgrade','reason','WS_ERR_INVALID_CLOSE_CODE','serverNoContextTakeover','compress','_receiver','Sec-WebSocket-Protocol','listen','server','upgrade','isBuffer','_maxPayload','clients','Sec-WebSocket-Origin','destroyed','DisposableCollection','code','haveLength','server_max_window_bits','timeout','toStringTag','setTimeout','exports','bufferedAmount','alloc','defineProperty','data','getBlobData','_protocol','send','object','ws+unix:','emit','byteLength','_closeCode','dequeue','pow','_closeFrameReceived','target','isInteger','sec-websocket-key','customHeaders','clientTracking','dataMessage','invalid\x20UTF-8\x20sequence','_messageLength','_max_window_bits','createConnection','normalizeParams','invalid\x20opcode\x20','_maskBuffer','unshift','websocket','total-length','Origin','Unexpected\x20end\x20of\x20input','\x20(supported\x20versions:\x20','text/html','replace','test','_deflate','port','toDisposable','Observable','conclude','options','_fin','concurrency','base64','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','NodeCollaborationSocketService','invalid\x20status\x20code\x20','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_paused','add','Invalid\x20WebSocket\x20frame:\x20','connection','request','Sec-WebSocket-Protocol:\x20','callback','errorEmitted','_threshold','_shouldEmitClose','shift','_mask','includes','27rcjEum','handleEvent','write','digest','kByteLength','The\x20URL\x27s\x20protocol\x20must\x20be\x20one\x20of\x20\x22ws:\x22,\x20\x22wss:\x22,\x20\x22http:\x22,\x20\x22https:\x22,\x20or\x20\x22ws+unix:\x22','The\x20URL\x27s\x20pathname\x20is\x20empty','removeListener','_bufferedAmount','\x22\x20subprotocol\x20is\x20duplicated','extensions','getOwnPropertyDescriptor','registerHTTPInterceptor','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','freeze','share','Cookie','protocol','noServer','_skipUTF8Validation','protocolVersion','_closeFrameSent','writeUIntBE','serverMaxWindowBits','encrypted','Unknown\x20parameter\x20\x22','concat','isPaused','map','ILogService','registerDependencies','_writableState','_url','https:','headers','_isServer','permessage-deflate','entries','_socket','shouldHandle','kListener','_state','getMask','readUInt16BE','_server','readOnly','5mwZXoS','finished','getData','frame','_opcode','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','invalid\x20payload\x20length\x20','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','sec-websocket-accept','drain','sec-websocket-origin','has','blob','socketPath','sec-websocket-version','pending','832UjskgN','arraybuffer','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','toLowerCase','onStarting','createSocket','rsv1','6180baqPCc','removeEventListener','getPayloadLength16','pause','_allowSynchronousEvents','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','The\x20server\x20is\x20not\x20running','Injector','sec-websocket-protocol','HTTPService','_decompress','bind','opcode','Unexpected\x20server\x20response:\x20','createError','_bufferedBytes','_masked','servername','forEach','acceptAsClient','Unexpected\x20character\x20at\x20index\x20','_doCreateSocket','needDrain','maxRedirects','client_no_context_takeover','cleanup','_readyState','Sec-WebSocket-Extensions','Parameter\x20\x22','read','clientMaxWindowBits','DependentOn','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','once','cookie','_options','controlMessage','hasOwnProperty','search','type','\x22:\x20','kReason','buffers','fin','threshold','find','createDeflateRaw','Unsupported\x20protocol\x20version:\x20','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','writeUInt16BE','keys','pipe','skipUTF8Validation','MASK\x20must\x20be\x20clear','join','decompress','message','generateMask','handshakeTimeout','Invalid\x20URL:\x20','kCode','dispose','_fragments','autoPong','readyState','readUInt32BE','_compressed','species','STATUS_CODES','_originalSecure','handleUpgrade','_inflate','maxPayload','hostname','binaryType','buffer','end','params','Disposable','writable','_configService','914065ENmdvJ','defaultPort','_compress','_final','setSocket','enqueue','6282964cjkHjb','kData','string','setHeader','connect','wss:','_redirects','Invalid\x20Upgrade\x20header','client','sha1','reset','_removeListeners','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','pathname','perMessageDeflate','CLOSED','server_no_context_takeover','cork','from','setNoDelay','update','finishRequest','size','_firstFragment','_buffers','createServer','UniverCollaborationClientNodePlugin','_injector','kRun','_no_context_takeover','concurrencyLimit','writeHead','host','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','get','_payloadLength','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','toString','getPayloadLength64','_queue','removeAllListeners','error','stream','byteOffset','text/plain','close','wasClean','create','onopen','length','304fKTEXL','_errored','ISocketService','set','kIsForOnEventAttribute','43526MpUmxV','http:','indexOf','response','auth','slice','\x0d\x0a\x0d\x0a','captureStackTrace','Invalid\x20Sec-WebSocket-Protocol\x20header','Z_DEFAULT_WINDOWBITS','charCodeAt','function','client_max_window_bits','\x22\x20must\x20have\x20only\x20a\x20single\x20value','WS_ERR_INVALID_OPCODE','emitClose','_totalPayloadLength','WS_ERR_INVALID_UTF8','RSV1\x20must\x20be\x20clear','sendFrame','push','env','_errorEmitted','statusCode','2333990QHCUKh','delete','_originalHostOrSocketPath','arrayBuffer','_req','verifyClient','default','CONNECTING','wsClientError','pong','prototype','_closeMessage','Max\x20payload\x20size\x20exceeded','_binaryType','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Sec-WebSocket-Accept:\x20','authorization','WebSocket','__esModule','url','apply','zlibInflateOptions','address','kWasClean','values','WS_ERR_UNEXPECTED_RSV_2_3','number','_generateMask','construct','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_sender','onerror','allocUnsafe','_loop','jobs','Invalid\x20Sec-WebSocket-Extensions\x20header','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','nodebuffer','readable','Module','9801228lsYOfP','accept','call','clientNoContextTakeover','_originalIpc','open','Invalid\x20HTTP\x20method','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','39139210ThkFpH','Upgrade:\x20websocket','listeners','kTarget','getInfo','objectMode','then','consume','listening'];_0x1af8=function(){return _0x1d20cc;};return _0x1af8();}var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x2d427d,_0x181633,_0x44e015,_0x2f8120)=>{const _0x3b72a2=_0x234bf8;for(var _0x82bac2=_0x2f8120>0x1?void 0x0:_0x2f8120?Kt(_0x181633,_0x44e015):_0x181633,_0x415e4d=_0x2d427d[_0x3b72a2(0x2e2)]-0x1,_0x5bf699;_0x415e4d>=0x0;_0x415e4d--)(_0x5bf699=_0x2d427d[_0x415e4d])&&(_0x82bac2=_0x5bf699(_0x82bac2)||_0x82bac2);return _0x82bac2;},ne=(_0x262dfb,_0x522aeb)=>(_0x1d8d02,_0x5d51e7)=>_0x522aeb(_0x1d8d02,_0x5d51e7,_0x262dfb);exports[_0x234bf8(0x204)]=class extends fe['CollaborationSocketService']{constructor(_0x186c4a,_0x433786,_0x5bba47,_0xa4a6e7,_0x4cf5de){const _0x172981=_0x234bf8;super(_0x186c4a,_0x433786,_0x5bba47,_0xa4a6e7,_0x4cf5de);const _0x1b1fa1=this[_0x172981(0x2aa)][_0x172981(0x1af)](fe['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']);this['_httpService'][_0x172981(0x220)]({'interceptor':(_0x3434d8,_0x48b9f8)=>{const _0x5dd0c5=_0x172981;var _0x35dbee;const _0x49c11b=_0x3434d8['headers'];return(_0x35dbee=_0x1b1fa1==null?void 0x0:_0x1b1fa1['customHeaders'])!=null&&_0x35dbee[_0x5dd0c5(0x27c)]&&_0x49c11b['set'](_0x5dd0c5(0x225),_0x1b1fa1[_0x5dd0c5(0x1e7)][_0x5dd0c5(0x27c)]),_0x48b9f8(_0x3434d8);}});}async[_0x234bf8(0x258)](_0x1e40d5){const _0x3fb0e5=_0x234bf8;return this[_0x3fb0e5(0x26f)](_0x1e40d5);}},exports[_0x234bf8(0x204)]=Xt([ne(0x0,F[_0x234bf8(0x184)](F['Injector'])),ne(0x1,F[_0x234bf8(0x184)](st[_0x234bf8(0x263)])),ne(0x2,F['IConfigService']),ne(0x3,F[_0x234bf8(0x232)]),ne(0x4,wt['ISnapshotServerService'])],exports[_0x234bf8(0x204)]),exports[_0x234bf8(0x1ac)]=ot;
1
+ 'use strict';const _0x3a33c1=_0x28f8;(function(_0x4b924a,_0x47039d){const _0x471d1a=_0x28f8,_0x103bfa=_0x4b924a();while(!![]){try{const _0x4c3335=parseInt(_0x471d1a(0x339))/0x1*(-parseInt(_0x471d1a(0x202))/0x2)+parseInt(_0x471d1a(0x315))/0x3*(-parseInt(_0x471d1a(0x293))/0x4)+-parseInt(_0x471d1a(0x2a7))/0x5*(-parseInt(_0x471d1a(0x274))/0x6)+parseInt(_0x471d1a(0x34e))/0x7*(parseInt(_0x471d1a(0x29c))/0x8)+-parseInt(_0x471d1a(0x2b6))/0x9+-parseInt(_0x471d1a(0x2cb))/0xa+parseInt(_0x471d1a(0x27e))/0xb*(parseInt(_0x471d1a(0x203))/0xc);if(_0x4c3335===_0x47039d)break;else _0x103bfa['push'](_0x103bfa['shift']());}catch(_0x139a04){_0x103bfa['push'](_0x103bfa['shift']());}}}(_0x3f82,0x9b369));Object[_0x3a33c1(0x378)](exports,Symbol[_0x3a33c1(0x265)],{'value':'Module'});const le=require('@univerjs-pro/collaboration-client'),F=require('@univerjs/core'),st=require('@univerjs/network'),V=require('rxjs'),it=require('events'),yt=require('https'),nt=require('http'),vt=require('net'),St=require('tls'),Le=require('crypto'),ne=require('stream'),Et=require('url'),xt=require('zlib'),bt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),ot=_0x3a33c1(0x3a5),wt={};function Ct(_0x234c40){const _0x50fcfb=_0x3a33c1;return _0x234c40&&_0x234c40[_0x50fcfb(0x248)]&&Object[_0x50fcfb(0x296)]['hasOwnProperty'][_0x50fcfb(0x211)](_0x234c40,_0x50fcfb(0x2f2))?_0x234c40[_0x50fcfb(0x2f2)]:_0x234c40;}function Tt(_0xbb3ec3){const _0x41c673=_0x3a33c1;if(Object[_0x41c673(0x296)][_0x41c673(0x234)][_0x41c673(0x211)](_0xbb3ec3,_0x41c673(0x248)))return _0xbb3ec3;var _0x1261f6=_0xbb3ec3[_0x41c673(0x2f2)];if(typeof _0x1261f6==_0x41c673(0x23c)){var _0x40a043=function _0x2ffc23(){const _0x56e4d6=_0x41c673;var _0x2330e5=!0x1;try{_0x2330e5=this instanceof _0x2ffc23;}catch{}return _0x2330e5?Reflect[_0x56e4d6(0x277)](_0x1261f6,arguments,this[_0x56e4d6(0x286)]):_0x1261f6[_0x56e4d6(0x34c)](this,arguments);};_0x40a043[_0x41c673(0x296)]=_0x1261f6[_0x41c673(0x296)];}else _0x40a043={};return Object[_0x41c673(0x378)](_0x40a043,_0x41c673(0x248),{'value':!0x0}),Object['keys'](_0xbb3ec3)[_0x41c673(0x343)](function(_0x3c062f){const _0x52a19a=_0x41c673;var _0x219027=Object[_0x52a19a(0x352)](_0xbb3ec3,_0x3c062f);Object[_0x52a19a(0x378)](_0x40a043,_0x3c062f,_0x219027[_0x52a19a(0x249)]?_0x219027:{'enumerable':!0x0,'get':function(){return _0xbb3ec3[_0x3c062f];}});}),_0x40a043;}var me,Ge;function H(){const _0x1cf1c7=_0x3a33c1;if(Ge)return me;Ge=0x1;const _0x4f79b8=['nodebuffer','arraybuffer',_0x1cf1c7(0x247)],_0x3f5c34=typeof Blob<'u';return _0x3f5c34&&_0x4f79b8[_0x1cf1c7(0x204)](_0x1cf1c7(0x2e1)),me={'BINARY_TYPES':_0x4f79b8,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x3f5c34,'kForOnEventAttribute':Symbol(_0x1cf1c7(0x36d)),'kListener':Symbol(_0x1cf1c7(0x1ea)),'kStatusCode':Symbol(_0x1cf1c7(0x283)),'kWebSocket':Symbol(_0x1cf1c7(0x37f)),'NOOP':()=>{}},me;}var ge,qe;function fe(){const _0x19d52c=_0x3a33c1;if(qe)return ge;qe=0x1;const {EMPTY_BUFFER:_0x33ced1}=H(),_0x3ba4d3=Buffer[Symbol[_0x19d52c(0x270)]];function _0x2cbfae(_0x3f1b7d,_0x549fcd){const _0x3d7689=_0x19d52c;if(_0x3f1b7d[_0x3d7689(0x363)]===0x0)return _0x33ced1;if(_0x3f1b7d['length']===0x1)return _0x3f1b7d[0x0];const _0x4b9f86=Buffer['allocUnsafe'](_0x549fcd);let _0x469e7d=0x0;for(let _0x311bcd=0x0;_0x311bcd<_0x3f1b7d[_0x3d7689(0x363)];_0x311bcd++){const _0x4a0334=_0x3f1b7d[_0x311bcd];_0x4b9f86[_0x3d7689(0x33a)](_0x4a0334,_0x469e7d),_0x469e7d+=_0x4a0334['length'];}return _0x469e7d<_0x549fcd?new _0x3ba4d3(_0x4b9f86['buffer'],_0x4b9f86[_0x3d7689(0x259)],_0x469e7d):_0x4b9f86;}function _0x158a81(_0x212154,_0x2a76ed,_0x409d1c,_0x14b6c5,_0x26b27a){for(let _0x14c01f=0x0;_0x14c01f<_0x26b27a;_0x14c01f++)_0x409d1c[_0x14b6c5+_0x14c01f]=_0x212154[_0x14c01f]^_0x2a76ed[_0x14c01f&0x3];}function _0x3ffe51(_0x5f3abe,_0x14086b){const _0x467477=_0x19d52c;for(let _0x2bde50=0x0;_0x2bde50<_0x5f3abe[_0x467477(0x363)];_0x2bde50++)_0x5f3abe[_0x2bde50]^=_0x14086b[_0x2bde50&0x3];}function _0x6193dc(_0x4c375d){const _0xb80c87=_0x19d52c;return _0x4c375d[_0xb80c87(0x363)]===_0x4c375d['buffer'][_0xb80c87(0x316)]?_0x4c375d['buffer']:_0x4c375d['buffer'][_0xb80c87(0x336)](_0x4c375d[_0xb80c87(0x259)],_0x4c375d[_0xb80c87(0x259)]+_0x4c375d['length']);}function _0x1a8878(_0x4f76d7){const _0x329e98=_0x19d52c;if(_0x1a8878['readOnly']=!0x0,Buffer[_0x329e98(0x1f0)](_0x4f76d7))return _0x4f76d7;let _0x88c09d;return _0x4f76d7 instanceof ArrayBuffer?_0x88c09d=new _0x3ba4d3(_0x4f76d7):ArrayBuffer[_0x329e98(0x238)](_0x4f76d7)?_0x88c09d=new _0x3ba4d3(_0x4f76d7[_0x329e98(0x2bc)],_0x4f76d7[_0x329e98(0x259)],_0x4f76d7[_0x329e98(0x316)]):(_0x88c09d=Buffer['from'](_0x4f76d7),_0x1a8878[_0x329e98(0x2ac)]=!0x1),_0x88c09d;}return ge={'concat':_0x2cbfae,'mask':_0x158a81,'toArrayBuffer':_0x6193dc,'toBuffer':_0x1a8878,'unmask':_0x3ffe51},ge;}var ye,Ve;function Nt(){const _0xcf5d13=_0x3a33c1;if(Ve)return ye;Ve=0x1;const _0x2c95d6=Symbol('kDone'),_0x885d8=Symbol(_0xcf5d13(0x210));class _0x47a681{constructor(_0x1502a6){const _0xb8e283=_0xcf5d13;this[_0x2c95d6]=()=>{const _0x40c1ab=_0x28f8;this[_0x40c1ab(0x295)]--,this[_0x885d8]();},this[_0xb8e283(0x39f)]=_0x1502a6||0x1/0x0,this[_0xb8e283(0x2d0)]=[],this[_0xb8e283(0x295)]=0x0;}[_0xcf5d13(0x1ee)](_0x37266c){const _0x3c4e34=_0xcf5d13;this[_0x3c4e34(0x2d0)][_0x3c4e34(0x204)](_0x37266c),this[_0x885d8]();}[_0x885d8](){const _0x2c2b8d=_0xcf5d13;if(this[_0x2c2b8d(0x295)]!==this[_0x2c2b8d(0x39f)]&&this[_0x2c2b8d(0x2d0)][_0x2c2b8d(0x363)]){const _0x31ef52=this[_0x2c2b8d(0x2d0)]['shift']();this[_0x2c2b8d(0x295)]++,_0x31ef52(this[_0x2c95d6]);}}}return ye=_0x47a681,ye;}var ve,He;function ce(){const _0x57fc36=_0x3a33c1;if(He)return ve;He=0x1;const _0x32b71b=xt,_0xef77ec=fe(),_0x39caef=Nt(),{kStatusCode:_0x384512}=H(),_0x30c2e2=Buffer[Symbol['species']],_0x401361=Buffer[_0x57fc36(0x2d3)]([0x0,0x0,0xff,0xff]),_0x4bf48f=Symbol(_0x57fc36(0x26a)),_0xd3c220=Symbol(_0x57fc36(0x35a)),_0x53e33b=Symbol(_0x57fc36(0x1f6)),_0x1a3624=Symbol(_0x57fc36(0x271)),_0x23ac30=Symbol(_0x57fc36(0x32a));let _0x19b837;class _0x7d59d{constructor(_0x452a84,_0x350663,_0x188738){const _0x187a3b=_0x57fc36;if(this[_0x187a3b(0x366)]=_0x188738|0x0,this[_0x187a3b(0x1ff)]=_0x452a84||{},this[_0x187a3b(0x2a4)]=this['_options'][_0x187a3b(0x346)]!==void 0x0?this['_options'][_0x187a3b(0x346)]:0x400,this[_0x187a3b(0x235)]=!!_0x350663,this[_0x187a3b(0x24f)]=null,this[_0x187a3b(0x33b)]=null,this[_0x187a3b(0x2e6)]=null,!_0x19b837){const _0x102ad4=this[_0x187a3b(0x1ff)][_0x187a3b(0x285)]!==void 0x0?this['_options'][_0x187a3b(0x285)]:0xa;_0x19b837=new _0x39caef(_0x102ad4);}}static get['extensionName'](){return'permessage-deflate';}[_0x57fc36(0x28c)](){const _0x2ff40c=_0x57fc36,_0x58e1ec={};return this['_options'][_0x2ff40c(0x2e7)]&&(_0x58e1ec[_0x2ff40c(0x28e)]=!0x0),this[_0x2ff40c(0x1ff)]['clientNoContextTakeover']&&(_0x58e1ec['client_no_context_takeover']=!0x0),this[_0x2ff40c(0x1ff)][_0x2ff40c(0x2c0)]&&(_0x58e1ec[_0x2ff40c(0x355)]=this[_0x2ff40c(0x1ff)][_0x2ff40c(0x2c0)]),this[_0x2ff40c(0x1ff)]['clientMaxWindowBits']?_0x58e1ec['client_max_window_bits']=this[_0x2ff40c(0x1ff)][_0x2ff40c(0x350)]:this[_0x2ff40c(0x1ff)][_0x2ff40c(0x350)]==null&&(_0x58e1ec[_0x2ff40c(0x288)]=!0x0),_0x58e1ec;}[_0x57fc36(0x3a9)](_0x3f80a1){const _0x4f34b7=_0x57fc36;return _0x3f80a1=this['normalizeParams'](_0x3f80a1),this[_0x4f34b7(0x2e6)]=this[_0x4f34b7(0x235)]?this[_0x4f34b7(0x394)](_0x3f80a1):this[_0x4f34b7(0x243)](_0x3f80a1),this[_0x4f34b7(0x2e6)];}[_0x57fc36(0x20a)](){const _0xcc5a8a=_0x57fc36;if(this[_0xcc5a8a(0x33b)]&&(this[_0xcc5a8a(0x33b)]['close'](),this[_0xcc5a8a(0x33b)]=null),this[_0xcc5a8a(0x24f)]){const _0xe7a47b=this[_0xcc5a8a(0x24f)][_0x53e33b];this[_0xcc5a8a(0x24f)]['close'](),this[_0xcc5a8a(0x24f)]=null,_0xe7a47b&&_0xe7a47b(new Error(_0xcc5a8a(0x21a)));}}['acceptAsServer'](_0x52d5ba){const _0x382edf=_0x57fc36,_0x35f4d9=this['_options'],_0x2cb3fc=_0x52d5ba[_0x382edf(0x21c)](_0x338240=>!(_0x35f4d9[_0x382edf(0x2e7)]===!0x1&&_0x338240[_0x382edf(0x28e)]||_0x338240[_0x382edf(0x355)]&&(_0x35f4d9[_0x382edf(0x2c0)]===!0x1||typeof _0x35f4d9[_0x382edf(0x2c0)]==_0x382edf(0x206)&&_0x35f4d9[_0x382edf(0x2c0)]>_0x338240['server_max_window_bits'])||typeof _0x35f4d9[_0x382edf(0x350)]==_0x382edf(0x206)&&!_0x338240[_0x382edf(0x288)]));if(!_0x2cb3fc)throw new Error(_0x382edf(0x35e));return _0x35f4d9[_0x382edf(0x2e7)]&&(_0x2cb3fc[_0x382edf(0x28e)]=!0x0),_0x35f4d9[_0x382edf(0x2be)]&&(_0x2cb3fc['client_no_context_takeover']=!0x0),typeof _0x35f4d9[_0x382edf(0x2c0)]==_0x382edf(0x206)&&(_0x2cb3fc[_0x382edf(0x355)]=_0x35f4d9['serverMaxWindowBits']),typeof _0x35f4d9[_0x382edf(0x350)]==_0x382edf(0x206)?_0x2cb3fc[_0x382edf(0x288)]=_0x35f4d9[_0x382edf(0x350)]:(_0x2cb3fc[_0x382edf(0x288)]===!0x0||_0x35f4d9[_0x382edf(0x350)]===!0x1)&&delete _0x2cb3fc['client_max_window_bits'],_0x2cb3fc;}[_0x57fc36(0x243)](_0x43d623){const _0x2d01c0=_0x57fc36,_0x3920b1=_0x43d623[0x0];if(this[_0x2d01c0(0x1ff)]['clientNoContextTakeover']===!0x1&&_0x3920b1[_0x2d01c0(0x256)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x3920b1['client_max_window_bits'])typeof this[_0x2d01c0(0x1ff)][_0x2d01c0(0x350)]=='number'&&(_0x3920b1[_0x2d01c0(0x288)]=this[_0x2d01c0(0x1ff)][_0x2d01c0(0x350)]);else{if(this[_0x2d01c0(0x1ff)]['clientMaxWindowBits']===!0x1||typeof this[_0x2d01c0(0x1ff)][_0x2d01c0(0x350)]=='number'&&_0x3920b1['client_max_window_bits']>this[_0x2d01c0(0x1ff)]['clientMaxWindowBits'])throw new Error(_0x2d01c0(0x308));}return _0x3920b1;}[_0x57fc36(0x2dc)](_0x350d26){const _0x4398ce=_0x57fc36;return _0x350d26[_0x4398ce(0x343)](_0x24ffdc=>{const _0xc3af22=_0x4398ce;Object['keys'](_0x24ffdc)[_0xc3af22(0x343)](_0x1f7c47=>{const _0xc89843=_0xc3af22;let _0x2daaaa=_0x24ffdc[_0x1f7c47];if(_0x2daaaa[_0xc89843(0x363)]>0x1)throw new Error(_0xc89843(0x345)+_0x1f7c47+_0xc89843(0x35d));if(_0x2daaaa=_0x2daaaa[0x0],_0x1f7c47===_0xc89843(0x288)){if(_0x2daaaa!==!0x0){const _0x5e1556=+_0x2daaaa;if(!Number[_0xc89843(0x38e)](_0x5e1556)||_0x5e1556<0x8||_0x5e1556>0xf)throw new TypeError(_0xc89843(0x2d5)+_0x1f7c47+_0xc89843(0x22a)+_0x2daaaa);_0x2daaaa=_0x5e1556;}else{if(!this[_0xc89843(0x235)])throw new TypeError(_0xc89843(0x2d5)+_0x1f7c47+_0xc89843(0x22a)+_0x2daaaa);}}else{if(_0x1f7c47===_0xc89843(0x355)){const _0x4ff89d=+_0x2daaaa;if(!Number[_0xc89843(0x38e)](_0x4ff89d)||_0x4ff89d<0x8||_0x4ff89d>0xf)throw new TypeError(_0xc89843(0x2d5)+_0x1f7c47+_0xc89843(0x22a)+_0x2daaaa);_0x2daaaa=_0x4ff89d;}else{if(_0x1f7c47===_0xc89843(0x256)||_0x1f7c47===_0xc89843(0x28e)){if(_0x2daaaa!==!0x0)throw new TypeError(_0xc89843(0x2d5)+_0x1f7c47+_0xc89843(0x22a)+_0x2daaaa);}else throw new Error(_0xc89843(0x22d)+_0x1f7c47+'\x22');}}_0x24ffdc[_0x1f7c47]=_0x2daaaa;});}),_0x350d26;}['decompress'](_0xbe16bd,_0xc0f054,_0x2f8473){const _0xe2b426=_0x57fc36;_0x19b837[_0xe2b426(0x1ee)](_0x416078=>{const _0x17897c=_0xe2b426;this[_0x17897c(0x304)](_0xbe16bd,_0xc0f054,(_0x11e543,_0xa59e28)=>{_0x416078(),_0x2f8473(_0x11e543,_0xa59e28);});});}[_0x57fc36(0x2ce)](_0x40db65,_0x57dc51,_0x3f7b25){const _0x5b2f1d=_0x57fc36;_0x19b837[_0x5b2f1d(0x1ee)](_0x455644=>{const _0x45af7f=_0x5b2f1d;this[_0x45af7f(0x2f0)](_0x40db65,_0x57dc51,(_0x57d33d,_0x260ff8)=>{_0x455644(),_0x3f7b25(_0x57d33d,_0x260ff8);});});}[_0x57fc36(0x304)](_0x3a5a82,_0x4d1b40,_0x4956f5){const _0x415e65=_0x57fc36,_0x7e8537=this[_0x415e65(0x235)]?_0x415e65(0x383):'server';if(!this[_0x415e65(0x33b)]){const _0x222f71=_0x7e8537+_0x415e65(0x307),_0x582081=typeof this['params'][_0x222f71]!=_0x415e65(0x206)?_0x32b71b[_0x415e65(0x32b)]:this[_0x415e65(0x2e6)][_0x222f71];this[_0x415e65(0x33b)]=_0x32b71b[_0x415e65(0x1f2)]({...this['_options'][_0x415e65(0x27d)],'windowBits':_0x582081}),this[_0x415e65(0x33b)][_0x4bf48f]=this,this['_inflate'][_0xd3c220]=0x0,this[_0x415e65(0x33b)][_0x1a3624]=[],this[_0x415e65(0x33b)]['on']('error',_0x3319a8),this['_inflate']['on'](_0x415e65(0x30c),_0x47c950);}this[_0x415e65(0x33b)][_0x53e33b]=_0x4956f5,this[_0x415e65(0x33b)]['write'](_0x3a5a82),_0x4d1b40&&this[_0x415e65(0x33b)][_0x415e65(0x302)](_0x401361),this[_0x415e65(0x33b)][_0x415e65(0x242)](()=>{const _0x141e29=_0x415e65,_0x216f39=this[_0x141e29(0x33b)][_0x23ac30];if(_0x216f39){this[_0x141e29(0x33b)][_0x141e29(0x31a)](),this[_0x141e29(0x33b)]=null,_0x4956f5(_0x216f39);return;}const _0x597344=_0xef77ec[_0x141e29(0x213)](this[_0x141e29(0x33b)][_0x1a3624],this[_0x141e29(0x33b)][_0xd3c220]);this[_0x141e29(0x33b)]['_readableState']['endEmitted']?(this[_0x141e29(0x33b)]['close'](),this[_0x141e29(0x33b)]=null):(this['_inflate'][_0xd3c220]=0x0,this[_0x141e29(0x33b)][_0x1a3624]=[],_0x4d1b40&&this[_0x141e29(0x2e6)][_0x7e8537+_0x141e29(0x1ec)]&&this[_0x141e29(0x33b)][_0x141e29(0x31e)]()),_0x4956f5(null,_0x597344);});}[_0x57fc36(0x2f0)](_0x355213,_0x378205,_0x5da9e8){const _0x4cdc4b=_0x57fc36,_0x1c3859=this[_0x4cdc4b(0x235)]?'server':_0x4cdc4b(0x383);if(!this['_deflate']){const _0x31d13d=_0x1c3859+'_max_window_bits',_0x99b923=typeof this[_0x4cdc4b(0x2e6)][_0x31d13d]!=_0x4cdc4b(0x206)?_0x32b71b['Z_DEFAULT_WINDOWBITS']:this[_0x4cdc4b(0x2e6)][_0x31d13d];this[_0x4cdc4b(0x24f)]=_0x32b71b[_0x4cdc4b(0x2fc)]({...this['_options'][_0x4cdc4b(0x35b)],'windowBits':_0x99b923}),this[_0x4cdc4b(0x24f)][_0xd3c220]=0x0,this[_0x4cdc4b(0x24f)][_0x1a3624]=[],this[_0x4cdc4b(0x24f)]['on'](_0x4cdc4b(0x30c),_0x50e759);}this['_deflate'][_0x53e33b]=_0x5da9e8,this[_0x4cdc4b(0x24f)][_0x4cdc4b(0x302)](_0x355213),this[_0x4cdc4b(0x24f)][_0x4cdc4b(0x242)](_0x32b71b[_0x4cdc4b(0x21b)],()=>{const _0x3a0692=_0x4cdc4b;if(!this['_deflate'])return;let _0x386631=_0xef77ec['concat'](this[_0x3a0692(0x24f)][_0x1a3624],this[_0x3a0692(0x24f)][_0xd3c220]);_0x378205&&(_0x386631=new _0x30c2e2(_0x386631[_0x3a0692(0x2bc)],_0x386631[_0x3a0692(0x259)],_0x386631['length']-0x4)),this[_0x3a0692(0x24f)][_0x53e33b]=null,this[_0x3a0692(0x24f)][_0xd3c220]=0x0,this['_deflate'][_0x1a3624]=[],_0x378205&&this[_0x3a0692(0x2e6)][_0x1c3859+'_no_context_takeover']&&this[_0x3a0692(0x24f)]['reset'](),_0x5da9e8(null,_0x386631);});}}ve=_0x7d59d;function _0x50e759(_0x511441){const _0x15c2fa=_0x57fc36;this[_0x1a3624]['push'](_0x511441),this[_0xd3c220]+=_0x511441[_0x15c2fa(0x363)];}function _0x47c950(_0x1b4c27){const _0xaa93c5=_0x57fc36;if(this[_0xd3c220]+=_0x1b4c27['length'],this[_0x4bf48f][_0xaa93c5(0x366)]<0x1||this[_0xd3c220]<=this[_0x4bf48f][_0xaa93c5(0x366)]){this[_0x1a3624]['push'](_0x1b4c27);return;}this[_0x23ac30]=new RangeError(_0xaa93c5(0x3a7)),this[_0x23ac30][_0xaa93c5(0x221)]=_0xaa93c5(0x25e),this[_0x23ac30][_0x384512]=0x3f1,this[_0xaa93c5(0x258)](_0xaa93c5(0x30c),_0x47c950),this[_0xaa93c5(0x31e)]();}function _0x3319a8(_0x282780){const _0x3e8459=_0x57fc36;if(this[_0x4bf48f][_0x3e8459(0x33b)]=null,this[_0x23ac30]){this[_0x53e33b](this[_0x23ac30]);return;}_0x282780[_0x384512]=0x3ef,this[_0x53e33b](_0x282780);}return ve;}var se={'exports':{}};const Lt={},kt=Object[_0x3a33c1(0x2b3)](Object[_0x3a33c1(0x378)]({'__proto__':null,'default':Lt},Symbol[_0x3a33c1(0x265)],{'value':'Module'})),Pt=Tt(kt);var ze;function oe(){const _0x4b3272=_0x3a33c1;if(ze)return se['exports'];ze=0x1;const {isUtf8:_0x4eecc8}=bt,{hasBlob:_0x3871a0}=H(),_0x2635aa=[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 _0x48019a(_0x1568eb){return _0x1568eb>=0x3e8&&_0x1568eb<=0x3f6&&_0x1568eb!==0x3ec&&_0x1568eb!==0x3ed&&_0x1568eb!==0x3ee||_0x1568eb>=0xbb8&&_0x1568eb<=0x1387;}function _0x4adccf(_0x573444){const _0x5694d4=_0x28f8,_0x404ad7=_0x573444[_0x5694d4(0x363)];let _0x316e34=0x0;for(;_0x316e34<_0x404ad7;)if((_0x573444[_0x316e34]&0x80)===0x0)_0x316e34++;else{if((_0x573444[_0x316e34]&0xe0)===0xc0){if(_0x316e34+0x1===_0x404ad7||(_0x573444[_0x316e34+0x1]&0xc0)!==0x80||(_0x573444[_0x316e34]&0xfe)===0xc0)return!0x1;_0x316e34+=0x2;}else{if((_0x573444[_0x316e34]&0xf0)===0xe0){if(_0x316e34+0x2>=_0x404ad7||(_0x573444[_0x316e34+0x1]&0xc0)!==0x80||(_0x573444[_0x316e34+0x2]&0xc0)!==0x80||_0x573444[_0x316e34]===0xe0&&(_0x573444[_0x316e34+0x1]&0xe0)===0x80||_0x573444[_0x316e34]===0xed&&(_0x573444[_0x316e34+0x1]&0xe0)===0xa0)return!0x1;_0x316e34+=0x3;}else{if((_0x573444[_0x316e34]&0xf8)===0xf0){if(_0x316e34+0x3>=_0x404ad7||(_0x573444[_0x316e34+0x1]&0xc0)!==0x80||(_0x573444[_0x316e34+0x2]&0xc0)!==0x80||(_0x573444[_0x316e34+0x3]&0xc0)!==0x80||_0x573444[_0x316e34]===0xf0&&(_0x573444[_0x316e34+0x1]&0xf0)===0x80||_0x573444[_0x316e34]===0xf4&&_0x573444[_0x316e34+0x1]>0x8f||_0x573444[_0x316e34]>0xf4)return!0x1;_0x316e34+=0x4;}else return!0x1;}}}return!0x0;}function _0x9dd592(_0x33bc2e){const _0x503202=_0x28f8;return _0x3871a0&&typeof _0x33bc2e==_0x503202(0x303)&&typeof _0x33bc2e[_0x503202(0x20d)]==_0x503202(0x23c)&&typeof _0x33bc2e[_0x503202(0x228)]=='string'&&typeof _0x33bc2e[_0x503202(0x301)]=='function'&&(_0x33bc2e[Symbol['toStringTag']]==='Blob'||_0x33bc2e[Symbol[_0x503202(0x265)]]===_0x503202(0x231));}if(se[_0x4b3272(0x31d)]={'isBlob':_0x9dd592,'isValidStatusCode':_0x48019a,'isValidUTF8':_0x4adccf,'tokenChars':_0x2635aa},_0x4eecc8)se[_0x4b3272(0x31d)][_0x4b3272(0x2b8)]=function(_0x4cf0f8){const _0x1c69ed=_0x4b3272;return _0x4cf0f8[_0x1c69ed(0x363)]<0x18?_0x4adccf(_0x4cf0f8):_0x4eecc8(_0x4cf0f8);};else{if(!process[_0x4b3272(0x298)]['WS_NO_UTF_8_VALIDATE'])try{const _0x161c54=Pt;se['exports']['isValidUTF8']=function(_0x715aae){const _0x12612d=_0x4b3272;return _0x715aae[_0x12612d(0x363)]<0x20?_0x4adccf(_0x715aae):_0x161c54(_0x715aae);};}catch{}}return se[_0x4b3272(0x31d)];}var Se,Ye;function at(){const _0x4758a0=_0x3a33c1;if(Ye)return Se;Ye=0x1;const {Writable:_0x1ae676}=ne,_0x27d3c9=ce(),{BINARY_TYPES:_0x171b6e,EMPTY_BUFFER:_0x13c266,kStatusCode:_0x6a47f2,kWebSocket:_0x5aad16}=H(),{concat:_0xe7e196,toArrayBuffer:_0x1b24b5,unmask:_0x4875e0}=fe(),{isValidStatusCode:_0x1a9596,isValidUTF8:_0x1c79cb}=oe(),_0x4007e7=Buffer[Symbol['species']],_0x3c4b14=0x0,_0x5289e8=0x1,_0x25686d=0x2,_0x460c1c=0x3,_0x39c13a=0x4,_0x1fc91c=0x5,_0xefc69f=0x6;class _0x4b11d9 extends _0x1ae676{constructor(_0x58d8be={}){const _0x1f4e57=_0x28f8;super(),this[_0x1f4e57(0x341)]=_0x58d8be[_0x1f4e57(0x348)]!==void 0x0?_0x58d8be[_0x1f4e57(0x348)]:!0x0,this[_0x1f4e57(0x375)]=_0x58d8be[_0x1f4e57(0x22b)]||_0x171b6e[0x0],this['_extensions']=_0x58d8be['extensions']||{},this[_0x1f4e57(0x235)]=!!_0x58d8be['isServer'],this[_0x1f4e57(0x366)]=_0x58d8be[_0x1f4e57(0x2b0)]|0x0,this[_0x1f4e57(0x200)]=!!_0x58d8be['skipUTF8Validation'],this[_0x5aad16]=void 0x0,this[_0x1f4e57(0x319)]=0x0,this[_0x1f4e57(0x3a6)]=[],this[_0x1f4e57(0x2f1)]=!0x1,this[_0x1f4e57(0x241)]=0x0,this['_mask']=void 0x0,this[_0x1f4e57(0x310)]=0x0,this[_0x1f4e57(0x33e)]=!0x1,this[_0x1f4e57(0x333)]=!0x1,this[_0x1f4e57(0x224)]=0x0,this[_0x1f4e57(0x212)]=0x0,this[_0x1f4e57(0x24d)]=0x0,this[_0x1f4e57(0x219)]=[],this[_0x1f4e57(0x26d)]=!0x1,this['_loop']=!0x1,this[_0x1f4e57(0x2d9)]=_0x3c4b14;}[_0x4758a0(0x209)](_0x735039,_0x314fc3,_0x4be7b6){const _0x5e0770=_0x4758a0;if(this['_opcode']===0x8&&this[_0x5e0770(0x2d9)]==_0x3c4b14)return _0x4be7b6();this['_bufferedBytes']+=_0x735039[_0x5e0770(0x363)],this[_0x5e0770(0x3a6)][_0x5e0770(0x204)](_0x735039),this[_0x5e0770(0x214)](_0x4be7b6);}[_0x4758a0(0x395)](_0x349989){const _0x3cd18b=_0x4758a0;if(this[_0x3cd18b(0x319)]-=_0x349989,_0x349989===this['_buffers'][0x0][_0x3cd18b(0x363)])return this['_buffers'][_0x3cd18b(0x2bf)]();if(_0x349989<this[_0x3cd18b(0x3a6)][0x0][_0x3cd18b(0x363)]){const _0x16c85e=this[_0x3cd18b(0x3a6)][0x0];return this[_0x3cd18b(0x3a6)][0x0]=new _0x4007e7(_0x16c85e[_0x3cd18b(0x2bc)],_0x16c85e['byteOffset']+_0x349989,_0x16c85e[_0x3cd18b(0x363)]-_0x349989),new _0x4007e7(_0x16c85e[_0x3cd18b(0x2bc)],_0x16c85e[_0x3cd18b(0x259)],_0x349989);}const _0x3e8b32=Buffer['allocUnsafe'](_0x349989);do{const _0xaad3e9=this[_0x3cd18b(0x3a6)][0x0],_0x126d05=_0x3e8b32[_0x3cd18b(0x363)]-_0x349989;_0x349989>=_0xaad3e9[_0x3cd18b(0x363)]?_0x3e8b32[_0x3cd18b(0x33a)](this['_buffers']['shift'](),_0x126d05):(_0x3e8b32['set'](new Uint8Array(_0xaad3e9[_0x3cd18b(0x2bc)],_0xaad3e9[_0x3cd18b(0x259)],_0x349989),_0x126d05),this[_0x3cd18b(0x3a6)][0x0]=new _0x4007e7(_0xaad3e9[_0x3cd18b(0x2bc)],_0xaad3e9[_0x3cd18b(0x259)]+_0x349989,_0xaad3e9[_0x3cd18b(0x363)]-_0x349989)),_0x349989-=_0xaad3e9['length'];}while(_0x349989>0x0);return _0x3e8b32;}[_0x4758a0(0x214)](_0x24208b){const _0xc724c8=_0x4758a0;this[_0xc724c8(0x282)]=!0x0;do switch(this['_state']){case _0x3c4b14:this[_0xc724c8(0x29a)](_0x24208b);break;case _0x5289e8:this['getPayloadLength16'](_0x24208b);break;case _0x25686d:this['getPayloadLength64'](_0x24208b);break;case _0x460c1c:this['getMask']();break;case _0x39c13a:this[_0xc724c8(0x27f)](_0x24208b);break;case _0x1fc91c:case _0xefc69f:this[_0xc724c8(0x282)]=!0x1;return;}while(this[_0xc724c8(0x282)]);this[_0xc724c8(0x26d)]||_0x24208b();}[_0x4758a0(0x29a)](_0x113cd8){const _0x5db0c6=_0x4758a0;if(this[_0x5db0c6(0x319)]<0x2){this[_0x5db0c6(0x282)]=!0x1;return;}const _0x347334=this[_0x5db0c6(0x395)](0x2);if((_0x347334[0x0]&0x30)!==0x0){const _0x31d473=this[_0x5db0c6(0x239)](RangeError,_0x5db0c6(0x253),!0x0,0x3ea,_0x5db0c6(0x28f));_0x113cd8(_0x31d473);return;}const _0x143834=(_0x347334[0x0]&0x40)===0x40;if(_0x143834&&!this[_0x5db0c6(0x3a3)][_0x27d3c9[_0x5db0c6(0x36f)]]){const _0x3f82de=this[_0x5db0c6(0x239)](RangeError,_0x5db0c6(0x225),!0x0,0x3ea,_0x5db0c6(0x393));_0x113cd8(_0x3f82de);return;}if(this[_0x5db0c6(0x333)]=(_0x347334[0x0]&0x80)===0x80,this['_opcode']=_0x347334[0x0]&0xf,this[_0x5db0c6(0x241)]=_0x347334[0x1]&0x7f,this[_0x5db0c6(0x224)]===0x0){if(_0x143834){const _0x1c8671=this[_0x5db0c6(0x239)](RangeError,_0x5db0c6(0x225),!0x0,0x3ea,_0x5db0c6(0x393));_0x113cd8(_0x1c8671);return;}if(!this[_0x5db0c6(0x310)]){const _0x479ac2=this[_0x5db0c6(0x239)](RangeError,_0x5db0c6(0x349),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x113cd8(_0x479ac2);return;}this['_opcode']=this[_0x5db0c6(0x310)];}else{if(this[_0x5db0c6(0x224)]===0x1||this[_0x5db0c6(0x224)]===0x2){if(this[_0x5db0c6(0x310)]){const _0xe3a398=this[_0x5db0c6(0x239)](RangeError,_0x5db0c6(0x2c5)+this[_0x5db0c6(0x224)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x113cd8(_0xe3a398);return;}this['_compressed']=_0x143834;}else{if(this[_0x5db0c6(0x224)]>0x7&&this[_0x5db0c6(0x224)]<0xb){if(!this['_fin']){const _0x213bde=this[_0x5db0c6(0x239)](RangeError,_0x5db0c6(0x2ee),!0x0,0x3ea,_0x5db0c6(0x260));_0x113cd8(_0x213bde);return;}if(_0x143834){const _0x5e6d50=this[_0x5db0c6(0x239)](RangeError,_0x5db0c6(0x225),!0x0,0x3ea,_0x5db0c6(0x393));_0x113cd8(_0x5e6d50);return;}if(this[_0x5db0c6(0x241)]>0x7d||this[_0x5db0c6(0x224)]===0x8&&this[_0x5db0c6(0x241)]===0x1){const _0x224d4d=this[_0x5db0c6(0x239)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x5db0c6(0x241)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x113cd8(_0x224d4d);return;}}else{const _0xc347ba=this['createError'](RangeError,_0x5db0c6(0x2c5)+this[_0x5db0c6(0x224)],!0x0,0x3ea,_0x5db0c6(0x2b1));_0x113cd8(_0xc347ba);return;}}}if(!this[_0x5db0c6(0x333)]&&!this[_0x5db0c6(0x310)]&&(this[_0x5db0c6(0x310)]=this['_opcode']),this[_0x5db0c6(0x33e)]=(_0x347334[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x5db0c6(0x33e)]){const _0x2b7d83=this[_0x5db0c6(0x239)](RangeError,_0x5db0c6(0x353),!0x0,0x3ea,_0x5db0c6(0x380));_0x113cd8(_0x2b7d83);return;}}else{if(this[_0x5db0c6(0x33e)]){const _0x333d72=this['createError'](RangeError,_0x5db0c6(0x368),!0x0,0x3ea,_0x5db0c6(0x23f));_0x113cd8(_0x333d72);return;}}this[_0x5db0c6(0x241)]===0x7e?this[_0x5db0c6(0x2d9)]=_0x5289e8:this[_0x5db0c6(0x241)]===0x7f?this[_0x5db0c6(0x2d9)]=_0x25686d:this[_0x5db0c6(0x30e)](_0x113cd8);}[_0x4758a0(0x392)](_0x52f6e4){const _0x101055=_0x4758a0;if(this[_0x101055(0x319)]<0x2){this[_0x101055(0x282)]=!0x1;return;}this['_payloadLength']=this[_0x101055(0x395)](0x2)[_0x101055(0x2c1)](0x0),this['haveLength'](_0x52f6e4);}[_0x4758a0(0x2f9)](_0x2adb00){const _0x1e9b7b=_0x4758a0;if(this['_bufferedBytes']<0x8){this['_loop']=!0x1;return;}const _0x344901=this[_0x1e9b7b(0x395)](0x8),_0x2334be=_0x344901[_0x1e9b7b(0x2af)](0x0);if(_0x2334be>Math[_0x1e9b7b(0x369)](0x2,0x15)-0x1){const _0x30fd1f=this['createError'](RangeError,_0x1e9b7b(0x2fa),!0x1,0x3f1,_0x1e9b7b(0x2aa));_0x2adb00(_0x30fd1f);return;}this['_payloadLength']=_0x2334be*Math[_0x1e9b7b(0x369)](0x2,0x20)+_0x344901[_0x1e9b7b(0x2af)](0x4),this['haveLength'](_0x2adb00);}[_0x4758a0(0x30e)](_0x45ef7e){const _0x494df1=_0x4758a0;if(this[_0x494df1(0x241)]&&this[_0x494df1(0x224)]<0x8&&(this['_totalPayloadLength']+=this[_0x494df1(0x241)],this['_totalPayloadLength']>this[_0x494df1(0x366)]&&this[_0x494df1(0x366)]>0x0)){const _0x26c73d=this['createError'](RangeError,_0x494df1(0x3a7),!0x1,0x3f1,_0x494df1(0x25e));_0x45ef7e(_0x26c73d);return;}this[_0x494df1(0x33e)]?this[_0x494df1(0x2d9)]=_0x460c1c:this['_state']=_0x39c13a;}[_0x4758a0(0x2bd)](){const _0x481ef4=_0x4758a0;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this['_mask']=this['consume'](0x4),this[_0x481ef4(0x2d9)]=_0x39c13a;}['getData'](_0x5ec8de){const _0x1bcf10=_0x4758a0;let _0x34faba=_0x13c266;if(this[_0x1bcf10(0x241)]){if(this[_0x1bcf10(0x319)]<this[_0x1bcf10(0x241)]){this[_0x1bcf10(0x282)]=!0x1;return;}_0x34faba=this['consume'](this[_0x1bcf10(0x241)]),this[_0x1bcf10(0x33e)]&&(this[_0x1bcf10(0x2a1)][0x0]|this[_0x1bcf10(0x2a1)][0x1]|this[_0x1bcf10(0x2a1)][0x2]|this['_mask'][0x3])!==0x0&&_0x4875e0(_0x34faba,this[_0x1bcf10(0x2a1)]);}if(this[_0x1bcf10(0x224)]>0x7){this[_0x1bcf10(0x309)](_0x34faba,_0x5ec8de);return;}if(this[_0x1bcf10(0x2f1)]){this[_0x1bcf10(0x2d9)]=_0x1fc91c,this[_0x1bcf10(0x391)](_0x34faba,_0x5ec8de);return;}_0x34faba[_0x1bcf10(0x363)]&&(this['_messageLength']=this['_totalPayloadLength'],this[_0x1bcf10(0x219)]['push'](_0x34faba)),this[_0x1bcf10(0x25d)](_0x5ec8de);}[_0x4758a0(0x391)](_0x27ad70,_0x5650bd){const _0xb9afbd=_0x4758a0;this[_0xb9afbd(0x3a3)][_0x27d3c9['extensionName']][_0xb9afbd(0x391)](_0x27ad70,this[_0xb9afbd(0x333)],(_0x25cce9,_0x2fe106)=>{const _0x47c5b8=_0xb9afbd;if(_0x25cce9)return _0x5650bd(_0x25cce9);if(_0x2fe106[_0x47c5b8(0x363)]){if(this[_0x47c5b8(0x24d)]+=_0x2fe106[_0x47c5b8(0x363)],this[_0x47c5b8(0x24d)]>this['_maxPayload']&&this[_0x47c5b8(0x366)]>0x0){const _0x3c5f0d=this['createError'](RangeError,_0x47c5b8(0x3a7),!0x1,0x3f1,_0x47c5b8(0x25e));_0x5650bd(_0x3c5f0d);return;}this[_0x47c5b8(0x219)][_0x47c5b8(0x204)](_0x2fe106);}this[_0x47c5b8(0x25d)](_0x5650bd),this['_state']===_0x3c4b14&&this[_0x47c5b8(0x214)](_0x5650bd);});}['dataMessage'](_0x218f81){const _0x375606=_0x4758a0;if(!this[_0x375606(0x333)]){this['_state']=_0x3c4b14;return;}const _0x4154a3=this['_messageLength'],_0x455930=this[_0x375606(0x219)];if(this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this[_0x375606(0x310)]=0x0,this[_0x375606(0x219)]=[],this[_0x375606(0x224)]===0x2){let _0x1c52a7;this[_0x375606(0x375)]===_0x375606(0x30b)?_0x1c52a7=_0xe7e196(_0x455930,_0x4154a3):this['_binaryType']==='arraybuffer'?_0x1c52a7=_0x1b24b5(_0xe7e196(_0x455930,_0x4154a3)):this[_0x375606(0x375)]===_0x375606(0x2e1)?_0x1c52a7=new Blob(_0x455930):_0x1c52a7=_0x455930,this[_0x375606(0x341)]?(this[_0x375606(0x37d)](_0x375606(0x37c),_0x1c52a7,!0x0),this['_state']=_0x3c4b14):(this['_state']=_0xefc69f,setImmediate(()=>{const _0x2f6827=_0x375606;this['emit'](_0x2f6827(0x37c),_0x1c52a7,!0x0),this[_0x2f6827(0x2d9)]=_0x3c4b14,this['startLoop'](_0x218f81);}));}else{const _0x2eff39=_0xe7e196(_0x455930,_0x4154a3);if(!this[_0x375606(0x200)]&&!_0x1c79cb(_0x2eff39)){const _0x4942c4=this['createError'](Error,_0x375606(0x397),!0x0,0x3ef,_0x375606(0x23a));_0x218f81(_0x4942c4);return;}this[_0x375606(0x2d9)]===_0x1fc91c||this[_0x375606(0x341)]?(this[_0x375606(0x37d)](_0x375606(0x37c),_0x2eff39,!0x1),this[_0x375606(0x2d9)]=_0x3c4b14):(this[_0x375606(0x2d9)]=_0xefc69f,setImmediate(()=>{const _0x32706e=_0x375606;this[_0x32706e(0x37d)]('message',_0x2eff39,!0x1),this[_0x32706e(0x2d9)]=_0x3c4b14,this['startLoop'](_0x218f81);}));}}[_0x4758a0(0x309)](_0x531b81,_0x3d30fc){const _0x5ac339=_0x4758a0;if(this[_0x5ac339(0x224)]===0x8){if(_0x531b81[_0x5ac339(0x363)]===0x0)this[_0x5ac339(0x282)]=!0x1,this['emit'](_0x5ac339(0x1f9),0x3ed,_0x13c266),this[_0x5ac339(0x328)]();else{const _0x27c346=_0x531b81[_0x5ac339(0x2c1)](0x0);if(!_0x1a9596(_0x27c346)){const _0x1fb822=this['createError'](RangeError,_0x5ac339(0x25f)+_0x27c346,!0x0,0x3ea,_0x5ac339(0x264));_0x3d30fc(_0x1fb822);return;}const _0x225442=new _0x4007e7(_0x531b81['buffer'],_0x531b81['byteOffset']+0x2,_0x531b81[_0x5ac339(0x363)]-0x2);if(!this[_0x5ac339(0x200)]&&!_0x1c79cb(_0x225442)){const _0x68227c=this[_0x5ac339(0x239)](Error,_0x5ac339(0x397),!0x0,0x3ef,_0x5ac339(0x23a));_0x3d30fc(_0x68227c);return;}this['_loop']=!0x1,this[_0x5ac339(0x37d)](_0x5ac339(0x1f9),_0x27c346,_0x225442),this['end']();}this[_0x5ac339(0x2d9)]=_0x3c4b14;return;}this[_0x5ac339(0x341)]?(this[_0x5ac339(0x37d)](this[_0x5ac339(0x224)]===0x9?_0x5ac339(0x289):'pong',_0x531b81),this[_0x5ac339(0x2d9)]=_0x3c4b14):(this[_0x5ac339(0x2d9)]=_0xefc69f,setImmediate(()=>{const _0x4432f3=_0x5ac339;this[_0x4432f3(0x37d)](this['_opcode']===0x9?_0x4432f3(0x289):'pong',_0x531b81),this[_0x4432f3(0x2d9)]=_0x3c4b14,this[_0x4432f3(0x214)](_0x3d30fc);}));}[_0x4758a0(0x239)](_0x4c56d1,_0x39a5b7,_0x4542fc,_0x522b46,_0xbc7e5a){const _0x53f8b1=_0x4758a0;this[_0x53f8b1(0x282)]=!0x1,this[_0x53f8b1(0x26d)]=!0x0;const _0x892494=new _0x4c56d1(_0x4542fc?_0x53f8b1(0x2df)+_0x39a5b7:_0x39a5b7);return Error['captureStackTrace'](_0x892494,this[_0x53f8b1(0x239)]),_0x892494[_0x53f8b1(0x221)]=_0xbc7e5a,_0x892494[_0x6a47f2]=_0x522b46,_0x892494;}}return Se=_0x4b11d9,Se;}var Ee,Ke;function lt(){const _0x165891=_0x3a33c1;if(Ke)return Ee;Ke=0x1;const {Duplex:_0x24da5f}=ne,{randomFillSync:_0x399c7b}=Le,_0x2c6c6a=ce(),{EMPTY_BUFFER:_0xbb6fe9,kWebSocket:_0x26ad44,NOOP:_0x333134}=H(),{isBlob:_0x4bd1be,isValidStatusCode:_0x1b7e6b}=oe(),{mask:_0x482488,toBuffer:_0x41bd7a}=fe(),_0x2960bc=Symbol(_0x165891(0x2ea)),_0x5ada48=Buffer[_0x165891(0x376)](0x4),_0x4fe0f9=0x8*0x400;let _0x1e4f1a,_0x267f84=_0x4fe0f9;const _0x29cc15=0x0,_0x3f31c6=0x1,_0xaa117a=0x2;class _0x2d074a{constructor(_0xeb0b23,_0x1a02f7,_0x5bb94a){const _0x862aeb=_0x165891;this['_extensions']=_0x1a02f7||{},_0x5bb94a&&(this[_0x862aeb(0x215)]=_0x5bb94a,this[_0x862aeb(0x236)]=Buffer['alloc'](0x4)),this['_socket']=_0xeb0b23,this[_0x862aeb(0x357)]=!0x0,this[_0x862aeb(0x2f0)]=!0x1,this['_bufferedBytes']=0x0,this['_queue']=[],this[_0x862aeb(0x2d9)]=_0x29cc15,this[_0x862aeb(0x334)]=_0x333134,this[_0x26ad44]=void 0x0;}static[_0x165891(0x2e4)](_0x3cba2e,_0x297ea5){const _0x27e101=_0x165891;let _0x4c9bac,_0x128466=!0x1,_0x592077=0x2,_0x4b563b=!0x1;_0x297ea5[_0x27e101(0x226)]&&(_0x4c9bac=_0x297ea5['maskBuffer']||_0x5ada48,_0x297ea5[_0x27e101(0x30d)]?_0x297ea5[_0x27e101(0x30d)](_0x4c9bac):(_0x267f84===_0x4fe0f9&&(_0x1e4f1a===void 0x0&&(_0x1e4f1a=Buffer[_0x27e101(0x376)](_0x4fe0f9)),_0x399c7b(_0x1e4f1a,0x0,_0x4fe0f9),_0x267f84=0x0),_0x4c9bac[0x0]=_0x1e4f1a[_0x267f84++],_0x4c9bac[0x1]=_0x1e4f1a[_0x267f84++],_0x4c9bac[0x2]=_0x1e4f1a[_0x267f84++],_0x4c9bac[0x3]=_0x1e4f1a[_0x267f84++]),_0x4b563b=(_0x4c9bac[0x0]|_0x4c9bac[0x1]|_0x4c9bac[0x2]|_0x4c9bac[0x3])===0x0,_0x592077=0x6);let _0x2eab;typeof _0x3cba2e==_0x27e101(0x399)?(!_0x297ea5['mask']||_0x4b563b)&&_0x297ea5[_0x2960bc]!==void 0x0?_0x2eab=_0x297ea5[_0x2960bc]:(_0x3cba2e=Buffer[_0x27e101(0x2d3)](_0x3cba2e),_0x2eab=_0x3cba2e[_0x27e101(0x363)]):(_0x2eab=_0x3cba2e[_0x27e101(0x363)],_0x128466=_0x297ea5[_0x27e101(0x226)]&&_0x297ea5[_0x27e101(0x2ac)]&&!_0x4b563b);let _0x7d227c=_0x2eab;_0x2eab>=0x10000?(_0x592077+=0x8,_0x7d227c=0x7f):_0x2eab>0x7d&&(_0x592077+=0x2,_0x7d227c=0x7e);const _0x15eb37=Buffer[_0x27e101(0x347)](_0x128466?_0x2eab+_0x592077:_0x592077);return _0x15eb37[0x0]=_0x297ea5[_0x27e101(0x22c)]?_0x297ea5[_0x27e101(0x21d)]|0x80:_0x297ea5[_0x27e101(0x21d)],_0x297ea5[_0x27e101(0x252)]&&(_0x15eb37[0x0]|=0x40),_0x15eb37[0x1]=_0x7d227c,_0x7d227c===0x7e?_0x15eb37['writeUInt16BE'](_0x2eab,0x2):_0x7d227c===0x7f&&(_0x15eb37[0x2]=_0x15eb37[0x3]=0x0,_0x15eb37['writeUIntBE'](_0x2eab,0x4,0x6)),_0x297ea5[_0x27e101(0x226)]?(_0x15eb37[0x1]|=0x80,_0x15eb37[_0x592077-0x4]=_0x4c9bac[0x0],_0x15eb37[_0x592077-0x3]=_0x4c9bac[0x1],_0x15eb37[_0x592077-0x2]=_0x4c9bac[0x2],_0x15eb37[_0x592077-0x1]=_0x4c9bac[0x3],_0x4b563b?[_0x15eb37,_0x3cba2e]:_0x128466?(_0x482488(_0x3cba2e,_0x4c9bac,_0x15eb37,_0x592077,_0x2eab),[_0x15eb37]):(_0x482488(_0x3cba2e,_0x4c9bac,_0x3cba2e,0x0,_0x2eab),[_0x15eb37,_0x3cba2e])):[_0x15eb37,_0x3cba2e];}[_0x165891(0x31a)](_0xef12a1,_0x490920,_0xa3900,_0x5ca564){const _0xdb3b20=_0x165891;let _0xfa6911;if(_0xef12a1===void 0x0)_0xfa6911=_0xbb6fe9;else{if(typeof _0xef12a1!=_0xdb3b20(0x206)||!_0x1b7e6b(_0xef12a1))throw new TypeError(_0xdb3b20(0x294));if(_0x490920===void 0x0||!_0x490920['length'])_0xfa6911=Buffer['allocUnsafe'](0x2),_0xfa6911['writeUInt16BE'](_0xef12a1,0x0);else{const _0x246b6d=Buffer['byteLength'](_0x490920);if(_0x246b6d>0x7b)throw new RangeError(_0xdb3b20(0x331));_0xfa6911=Buffer[_0xdb3b20(0x347)](0x2+_0x246b6d),_0xfa6911[_0xdb3b20(0x230)](_0xef12a1,0x0),typeof _0x490920==_0xdb3b20(0x399)?_0xfa6911[_0xdb3b20(0x302)](_0x490920,0x2):_0xfa6911[_0xdb3b20(0x33a)](_0x490920,0x2);}}const _0x1879e7={[_0x2960bc]:_0xfa6911[_0xdb3b20(0x363)],'fin':!0x0,'generateMask':this[_0xdb3b20(0x215)],'mask':_0xa3900,'maskBuffer':this[_0xdb3b20(0x236)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0xdb3b20(0x2d9)]!==_0x29cc15?this[_0xdb3b20(0x2e2)]([this[_0xdb3b20(0x2fe)],_0xfa6911,!0x1,_0x1879e7,_0x5ca564]):this['sendFrame'](_0x2d074a[_0xdb3b20(0x2e4)](_0xfa6911,_0x1879e7),_0x5ca564);}['ping'](_0xba8ced,_0x1f119a,_0x270649){const _0x22857c=_0x165891;let _0x2befd9,_0x36592e;if(typeof _0xba8ced==_0x22857c(0x399)?(_0x2befd9=Buffer[_0x22857c(0x316)](_0xba8ced),_0x36592e=!0x1):_0x4bd1be(_0xba8ced)?(_0x2befd9=_0xba8ced[_0x22857c(0x201)],_0x36592e=!0x1):(_0xba8ced=_0x41bd7a(_0xba8ced),_0x2befd9=_0xba8ced[_0x22857c(0x363)],_0x36592e=_0x41bd7a[_0x22857c(0x2ac)]),_0x2befd9>0x7d)throw new RangeError(_0x22857c(0x34a));const _0x2044ec={[_0x2960bc]:_0x2befd9,'fin':!0x0,'generateMask':this[_0x22857c(0x215)],'mask':_0x1f119a,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x36592e,'rsv1':!0x1};_0x4bd1be(_0xba8ced)?this[_0x22857c(0x2d9)]!==_0x29cc15?this[_0x22857c(0x2e2)]([this['getBlobData'],_0xba8ced,!0x1,_0x2044ec,_0x270649]):this[_0x22857c(0x39b)](_0xba8ced,!0x1,_0x2044ec,_0x270649):this['_state']!==_0x29cc15?this[_0x22857c(0x2e2)]([this[_0x22857c(0x2fe)],_0xba8ced,!0x1,_0x2044ec,_0x270649]):this[_0x22857c(0x25c)](_0x2d074a[_0x22857c(0x2e4)](_0xba8ced,_0x2044ec),_0x270649);}[_0x165891(0x2d6)](_0x46a924,_0x5843e0,_0x3036f8){const _0xc8011=_0x165891;let _0x40f5d4,_0x1671af;if(typeof _0x46a924=='string'?(_0x40f5d4=Buffer[_0xc8011(0x316)](_0x46a924),_0x1671af=!0x1):_0x4bd1be(_0x46a924)?(_0x40f5d4=_0x46a924['size'],_0x1671af=!0x1):(_0x46a924=_0x41bd7a(_0x46a924),_0x40f5d4=_0x46a924[_0xc8011(0x363)],_0x1671af=_0x41bd7a['readOnly']),_0x40f5d4>0x7d)throw new RangeError(_0xc8011(0x34a));const _0x58c8c6={[_0x2960bc]:_0x40f5d4,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5843e0,'maskBuffer':this[_0xc8011(0x236)],'opcode':0xa,'readOnly':_0x1671af,'rsv1':!0x1};_0x4bd1be(_0x46a924)?this['_state']!==_0x29cc15?this[_0xc8011(0x2e2)]([this[_0xc8011(0x39b)],_0x46a924,!0x1,_0x58c8c6,_0x3036f8]):this['getBlobData'](_0x46a924,!0x1,_0x58c8c6,_0x3036f8):this[_0xc8011(0x2d9)]!==_0x29cc15?this[_0xc8011(0x2e2)]([this['dispatch'],_0x46a924,!0x1,_0x58c8c6,_0x3036f8]):this[_0xc8011(0x25c)](_0x2d074a[_0xc8011(0x2e4)](_0x46a924,_0x58c8c6),_0x3036f8);}[_0x165891(0x313)](_0x34581d,_0x18d384,_0x35a079){const _0x3ac3df=_0x165891,_0x2e1ea6=this[_0x3ac3df(0x3a3)][_0x2c6c6a[_0x3ac3df(0x36f)]];let _0x158c77=_0x18d384['binary']?0x2:0x1,_0x1da051=_0x18d384['compress'],_0x567e19,_0x50a8e9;typeof _0x34581d==_0x3ac3df(0x399)?(_0x567e19=Buffer[_0x3ac3df(0x316)](_0x34581d),_0x50a8e9=!0x1):_0x4bd1be(_0x34581d)?(_0x567e19=_0x34581d[_0x3ac3df(0x201)],_0x50a8e9=!0x1):(_0x34581d=_0x41bd7a(_0x34581d),_0x567e19=_0x34581d[_0x3ac3df(0x363)],_0x50a8e9=_0x41bd7a['readOnly']),this[_0x3ac3df(0x357)]?(this[_0x3ac3df(0x357)]=!0x1,_0x1da051&&_0x2e1ea6&&_0x2e1ea6[_0x3ac3df(0x2e6)][_0x2e1ea6[_0x3ac3df(0x235)]?'server_no_context_takeover':_0x3ac3df(0x256)]&&(_0x1da051=_0x567e19>=_0x2e1ea6['_threshold']),this[_0x3ac3df(0x2f0)]=_0x1da051):(_0x1da051=!0x1,_0x158c77=0x0),_0x18d384[_0x3ac3df(0x22c)]&&(this[_0x3ac3df(0x357)]=!0x0);const _0x2a9b00={[_0x2960bc]:_0x567e19,'fin':_0x18d384[_0x3ac3df(0x22c)],'generateMask':this[_0x3ac3df(0x215)],'mask':_0x18d384[_0x3ac3df(0x226)],'maskBuffer':this['_maskBuffer'],'opcode':_0x158c77,'readOnly':_0x50a8e9,'rsv1':_0x1da051};_0x4bd1be(_0x34581d)?this['_state']!==_0x29cc15?this[_0x3ac3df(0x2e2)]([this['getBlobData'],_0x34581d,this[_0x3ac3df(0x2f0)],_0x2a9b00,_0x35a079]):this['getBlobData'](_0x34581d,this[_0x3ac3df(0x2f0)],_0x2a9b00,_0x35a079):this[_0x3ac3df(0x2d9)]!==_0x29cc15?this['enqueue']([this[_0x3ac3df(0x2fe)],_0x34581d,this['_compress'],_0x2a9b00,_0x35a079]):this[_0x3ac3df(0x2fe)](_0x34581d,this[_0x3ac3df(0x2f0)],_0x2a9b00,_0x35a079);}[_0x165891(0x39b)](_0x143928,_0x5e8895,_0x4d205c,_0x206f86){const _0x870c33=_0x165891;this[_0x870c33(0x319)]+=_0x4d205c[_0x2960bc],this['_state']=_0xaa117a,_0x143928[_0x870c33(0x20d)]()['then'](_0x3384a8=>{const _0xb339ae=_0x870c33;if(this[_0xb339ae(0x33d)][_0xb339ae(0x2ca)]){const _0x818b10=new Error(_0xb339ae(0x1f1));process[_0xb339ae(0x372)](_0x50f016,this,_0x818b10,_0x206f86);return;}this[_0xb339ae(0x319)]-=_0x4d205c[_0x2960bc];const _0x3bcd92=_0x41bd7a(_0x3384a8);_0x5e8895?this['dispatch'](_0x3bcd92,_0x5e8895,_0x4d205c,_0x206f86):(this[_0xb339ae(0x2d9)]=_0x29cc15,this[_0xb339ae(0x25c)](_0x2d074a['frame'](_0x3bcd92,_0x4d205c),_0x206f86),this['dequeue']());})[_0x870c33(0x36b)](_0x374f6f=>{const _0xd85930=_0x870c33;process[_0xd85930(0x372)](_0xc71593,this,_0x374f6f,_0x206f86);});}[_0x165891(0x2fe)](_0xe467e7,_0x58942a,_0x2b1f40,_0x9eb6ed){const _0x2b4696=_0x165891;if(!_0x58942a){this['sendFrame'](_0x2d074a[_0x2b4696(0x2e4)](_0xe467e7,_0x2b1f40),_0x9eb6ed);return;}const _0x2d163c=this[_0x2b4696(0x3a3)][_0x2c6c6a['extensionName']];this[_0x2b4696(0x319)]+=_0x2b1f40[_0x2960bc],this[_0x2b4696(0x2d9)]=_0x3f31c6,_0x2d163c['compress'](_0xe467e7,_0x2b1f40['fin'],(_0x267003,_0x34e5d0)=>{const _0x17c5fa=_0x2b4696;if(this[_0x17c5fa(0x33d)]['destroyed']){const _0x523cb8=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x50f016(this,_0x523cb8,_0x9eb6ed);return;}this[_0x17c5fa(0x319)]-=_0x2b1f40[_0x2960bc],this['_state']=_0x29cc15,_0x2b1f40['readOnly']=!0x1,this[_0x17c5fa(0x25c)](_0x2d074a[_0x17c5fa(0x2e4)](_0x34e5d0,_0x2b1f40),_0x9eb6ed),this[_0x17c5fa(0x2e8)]();});}['dequeue'](){const _0x83d753=_0x165891;for(;this[_0x83d753(0x2d9)]===_0x29cc15&&this[_0x83d753(0x36c)][_0x83d753(0x363)];){const _0x58ef2a=this[_0x83d753(0x36c)][_0x83d753(0x2bf)]();this['_bufferedBytes']-=_0x58ef2a[0x3][_0x2960bc],Reflect['apply'](_0x58ef2a[0x0],this,_0x58ef2a[_0x83d753(0x336)](0x1));}}['enqueue'](_0xab349c){const _0x3843bf=_0x165891;this[_0x3843bf(0x319)]+=_0xab349c[0x3][_0x2960bc],this[_0x3843bf(0x36c)][_0x3843bf(0x204)](_0xab349c);}[_0x165891(0x25c)](_0x506579,_0x394172){const _0x35863d=_0x165891;_0x506579[_0x35863d(0x363)]===0x2?(this[_0x35863d(0x33d)][_0x35863d(0x39a)](),this['_socket']['write'](_0x506579[0x0]),this[_0x35863d(0x33d)][_0x35863d(0x302)](_0x506579[0x1],_0x394172),this[_0x35863d(0x33d)]['uncork']()):this[_0x35863d(0x33d)][_0x35863d(0x302)](_0x506579[0x0],_0x394172);}}Ee=_0x2d074a;function _0x50f016(_0x1f81af,_0x324ad7,_0x497f6a){const _0x310e5=_0x165891;typeof _0x497f6a=='function'&&_0x497f6a(_0x324ad7);for(let _0xd73ee1=0x0;_0xd73ee1<_0x1f81af[_0x310e5(0x36c)][_0x310e5(0x363)];_0xd73ee1++){const _0x20082d=_0x1f81af[_0x310e5(0x36c)][_0xd73ee1],_0x18cd1f=_0x20082d[_0x20082d[_0x310e5(0x363)]-0x1];typeof _0x18cd1f==_0x310e5(0x23c)&&_0x18cd1f(_0x324ad7);}}function _0xc71593(_0x3bae4c,_0x43ca86,_0x195f08){const _0x4690eb=_0x165891;_0x50f016(_0x3bae4c,_0x43ca86,_0x195f08),_0x3bae4c[_0x4690eb(0x334)](_0x43ca86);}return Ee;}function _0x3f82(){const _0x59ff15=['50ypyANm','UniverCollaborationClientPlugin','isPaused','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','auth','readOnly','cookie','finishRequest','readUInt32BE','maxPayload','WS_ERR_INVALID_OPCODE','sec-websocket-extensions','freeze','ILogService','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','9879921GPnPUb','Disposable','isValidUTF8','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_originalHostOrSocketPath','_writableState','buffer','getMask','clientNoContextTakeover','shift','serverMaxWindowBits','readUInt16BE','setConfig','wsClientError','finish','invalid\x20opcode\x20','sec-websocket-version','join','13,\x208','Server\x20sent\x20an\x20invalid\x20subprotocol','destroyed','7224770JkhixW','wasClean','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','compress','_sender','jobs','hash','Sec-WebSocket-Protocol','from','verifyClient','Invalid\x20value\x20for\x20parameter\x20\x22','pong','setTimeout','socketPath','_state','Maximum\x20redirects\x20exceeded','toString','normalizeParams','address','charCodeAt','Invalid\x20WebSocket\x20frame:\x20','_server','blob','enqueue','digest','frame','Unsupported\x20protocol\x20version:\x20','params','serverNoContextTakeover','dequeue','clientTracking','kByteLength','unshift','_paused','map','FIN\x20must\x20be\x20set','Server\x20sent\x20no\x20subprotocol','_compress','_compressed','default','_removeListeners','parse','Invalid\x20Upgrade\x20header','kReason','protocolVersion','OPEN','getPayloadLength64','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','kType','createDeflateRaw','The\x20\x22','dispatch','registerHTTPInterceptor','CollaborationSocketService','stream','write','object','_decompress','captureStackTrace','createSocket','_max_window_bits','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','controlMessage','delete','nodebuffer','data','generateMask','haveLength','_url','_fragmented','Sec-WebSocket-Accept:\x20','ws+unix:','send','Origin','3221994EUIDZQ','byteLength','registerDependencies','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_bufferedBytes','close','_closeCode','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','exports','reset','_readableState','\x0d\x0a\x0d\x0a','createConnection','IConfigService','objectMode','password','statusCode','onmessage','text/plain','end','_destroy','error','Z_DEFAULT_WINDOWBITS','addEventListener','startsWith','Invalid\x20Sec-WebSocket-Protocol\x20header','includes','Unexpected\x20character\x20at\x20index\x20','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','skipUTF8Validation','_fin','onerror','completeUpgrade','slice','pipe','_originalSecure','91262waLuXN','set','_inflate','backlog','_socket','_masked','host','bind','_allowSynchronousEvents','Inject','forEach','handleProtocols','Parameter\x20\x22','threshold','allocUnsafe','allowSynchronousEvents','invalid\x20opcode\x200','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','apply','next','78561OHKGDv','url','clientMaxWindowBits','authorized','getOwnPropertyDescriptor','MASK\x20must\x20be\x20set','listeners','server_max_window_bits','kCode','_firstFragment','WebSocket','_injector','total-length','zlibDeflateOptions','STATUS_CODES','\x22\x20must\x20have\x20only\x20a\x20single\x20value','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','terminate','_read','wss:','response','length','readyState','The\x20URL\x27s\x20pathname\x20is\x20empty','_maxPayload','WebSocket\x20is\x20not\x20open:\x20readyState\x20','MASK\x20must\x20be\x20clear','pow','HTTP/1.1\x20','catch','_queue','kIsForOnEventAttribute','authorization','extensionName','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','\x22\x20subprotocol\x20is\x20duplicated','nextTick','CONNECTING','update','_binaryType','alloc','setNoDelay','defineProperty','defaultPort','DisposableCollection','Observable','message','emit','readable','websocket','WS_ERR_EXPECTED_MASK','errorEmitted','abort','client','Connection:\x20Upgrade','options','removeEventListener','Basic\x20','Invalid\x20HTTP\x20method','indexOf','encrypted','pause','path','headers','isInteger','_req','unexpected-response','decompress','getPayloadLength16','WS_ERR_UNEXPECTED_RSV_1','acceptAsServer','consume','Invalid\x20Sec-WebSocket-Accept\x20header','invalid\x20UTF-8\x20sequence','toLowerCase','string','cork','getBlobData','Unexpected\x20end\x20of\x20input','resume','_closeTimer','concurrency','kMessage','_closeFrameSent','kAborted','_extensions','_shouldEmitClose','collaboration-client-node.config','_buffers','Max\x20payload\x20size\x20exceeded','redirect','accept','connect','kListener','request','_no_context_takeover','clients','add','_closeMessage','isBuffer','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','createInflateRaw','_closeFrameReceived','server','customHeaders','callback','hostname','drain','conclude','HTTP/1.1\x20101\x20Switching\x20Protocols','autoPong','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','reason','destroy','_options','_skipUTF8Validation','size','2GMIWMM','272952EqIsbI','push','UniverCollaborationClientNodePlugin','number','ISocketService','Plugin','_write','cleanup','base64','sec-websocket-accept','arrayBuffer','onopen','finished','kRun','call','_totalPayloadLength','concat','startLoop','_generateMask','upgrade','sec-websocket-origin','values','_fragments','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Z_SYNC_FLUSH','find','opcode','origin','keys','emitClose','code','username','noServer','_opcode','RSV1\x20must\x20be\x20clear','mask','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','type','extensions','\x22:\x20','binaryType','fin','Unknown\x20parameter\x20\x22','kData','create','writeUInt16BE','File','replace','_protocol','hasOwnProperty','_isServer','_maskBuffer','NodeCollaborationSocketService','isView','createError','WS_ERR_INVALID_UTF8','Sec-WebSocket-Extensions','function','needDrain','has','WS_ERR_UNEXPECTED_MASK','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_payloadLength','flush','acceptAsClient','setHeader','onStarting','CLOSING','fragments','__esModule','get','Injector','servername','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_messageLength','listen','_deflate','_readyState','kTarget','rsv1','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','followRedirects','CLOSED','client_no_context_takeover','handleEvent','removeListener','byteOffset','listenerCount','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','sendFrame','dataMessage','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','invalid\x20status\x20code\x20','WS_ERR_EXPECTED_FIN','sha1','_errorEmitted','endEmitted','WS_ERR_INVALID_CLOSE_CODE','toStringTag','_redirects','dispose','_bufferedAmount','toDisposable','permessage-deflate','sec-websocket-protocol','createServer','_errored','isArray','_registerDependencies','species','buffers','open','timeout','112794JlQIDI','_originalIpc','bufferedAmount','construct','read','pathname','removeAllListeners','handleUpgrade','ws:','zlibInflateOptions','1199ZoETUp','getData','share','GET','_loop','status-code','socket','concurrencyLimit','constructor','perMessageDeflate','client_max_window_bits','ping','protocol','setSocket','offer','Sec-WebSocket-Protocol:\x20','server_no_context_takeover','WS_ERR_UNEXPECTED_RSV_2_3','Sec-WebSocket-Origin','entries','once','4JZvZjc','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','pending','prototype','Sec-WebSocket-Extensions:\x20','env','_configService','getInfo','_receiver','680pqVJAl','The\x20URL\x20contains\x20a\x20fragment\x20identifier','getConfig','sec-websocket-key','test','_mask','Invalid\x20Sec-WebSocket-Extensions\x20header','port','_threshold','ISnapshotServerService','method'];_0x3f82=function(){return _0x59ff15;};return _0x3f82();}var xe,Xe;function It(){const _0x294ea6=_0x3a33c1;if(Xe)return xe;Xe=0x1;const {kForOnEventAttribute:_0x18ac9c,kListener:_0x1e1223}=H(),_0x2ccc8d=Symbol(_0x294ea6(0x356)),_0x1bd5c7=Symbol(_0x294ea6(0x22e)),_0x1d5611=Symbol('kError'),_0x1ab825=Symbol(_0x294ea6(0x3a0)),_0x27d725=Symbol(_0x294ea6(0x2f6)),_0x299fe5=Symbol(_0x294ea6(0x251)),_0x445a39=Symbol(_0x294ea6(0x2fb)),_0x58ae88=Symbol('kWasClean');class _0x171d84{constructor(_0x177ecb){this[_0x299fe5]=null,this[_0x445a39]=_0x177ecb;}get['target'](){return this[_0x299fe5];}get[_0x294ea6(0x228)](){return this[_0x445a39];}}Object['defineProperty'](_0x171d84[_0x294ea6(0x296)],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x171d84[_0x294ea6(0x296)],_0x294ea6(0x228),{'enumerable':!0x0});class _0x2a815d extends _0x171d84{constructor(_0x2a8a89,_0x13fb97={}){const _0xa54192=_0x294ea6;super(_0x2a8a89),this[_0x2ccc8d]=_0x13fb97[_0xa54192(0x221)]===void 0x0?0x0:_0x13fb97[_0xa54192(0x221)],this[_0x27d725]=_0x13fb97['reason']===void 0x0?'':_0x13fb97[_0xa54192(0x1fd)],this[_0x58ae88]=_0x13fb97[_0xa54192(0x2cc)]===void 0x0?!0x1:_0x13fb97[_0xa54192(0x2cc)];}get[_0x294ea6(0x221)](){return this[_0x2ccc8d];}get[_0x294ea6(0x1fd)](){return this[_0x27d725];}get['wasClean'](){return this[_0x58ae88];}}Object[_0x294ea6(0x378)](_0x2a815d[_0x294ea6(0x296)],_0x294ea6(0x221),{'enumerable':!0x0}),Object['defineProperty'](_0x2a815d[_0x294ea6(0x296)],'reason',{'enumerable':!0x0}),Object['defineProperty'](_0x2a815d['prototype'],_0x294ea6(0x2cc),{'enumerable':!0x0});class _0x2382e4 extends _0x171d84{constructor(_0x11b36d,_0x53c85d={}){const _0x2cb2a3=_0x294ea6;super(_0x11b36d),this[_0x1d5611]=_0x53c85d[_0x2cb2a3(0x32a)]===void 0x0?null:_0x53c85d[_0x2cb2a3(0x32a)],this[_0x1ab825]=_0x53c85d['message']===void 0x0?'':_0x53c85d[_0x2cb2a3(0x37c)];}get['error'](){return this[_0x1d5611];}get[_0x294ea6(0x37c)](){return this[_0x1ab825];}}Object['defineProperty'](_0x2382e4['prototype'],_0x294ea6(0x32a),{'enumerable':!0x0}),Object['defineProperty'](_0x2382e4[_0x294ea6(0x296)],_0x294ea6(0x37c),{'enumerable':!0x0});class _0x567407 extends _0x171d84{constructor(_0xaa3692,_0x4b3a53={}){const _0x5115a3=_0x294ea6;super(_0xaa3692),this[_0x1bd5c7]=_0x4b3a53['data']===void 0x0?null:_0x4b3a53[_0x5115a3(0x30c)];}get[_0x294ea6(0x30c)](){return this[_0x1bd5c7];}}Object[_0x294ea6(0x378)](_0x567407[_0x294ea6(0x296)],_0x294ea6(0x30c),{'enumerable':!0x0}),xe={'CloseEvent':_0x2a815d,'ErrorEvent':_0x2382e4,'Event':_0x171d84,'EventTarget':{'addEventListener'(_0xa6e2dc,_0x18bd7f,_0x2d662e={}){const _0x2778ad=_0x294ea6;for(const _0x42c8e1 of this['listeners'](_0xa6e2dc))if(!_0x2d662e[_0x18ac9c]&&_0x42c8e1[_0x1e1223]===_0x18bd7f&&!_0x42c8e1[_0x18ac9c])return;let _0x4a258b;if(_0xa6e2dc==='message')_0x4a258b=function(_0x278085,_0x45376f){const _0x4b1dc4=_0x28f8,_0x40b958=new _0x567407(_0x4b1dc4(0x37c),{'data':_0x45376f?_0x278085:_0x278085[_0x4b1dc4(0x2db)]()});_0x40b958[_0x299fe5]=this,_0x48fa1c(_0x18bd7f,this,_0x40b958);};else{if(_0xa6e2dc===_0x2778ad(0x31a))_0x4a258b=function(_0x54b3ef,_0x479247){const _0x4d76fe=_0x2778ad,_0xc9c582=new _0x2a815d('close',{'code':_0x54b3ef,'reason':_0x479247['toString'](),'wasClean':this[_0x4d76fe(0x1f3)]&&this[_0x4d76fe(0x3a1)]});_0xc9c582[_0x299fe5]=this,_0x48fa1c(_0x18bd7f,this,_0xc9c582);};else{if(_0xa6e2dc===_0x2778ad(0x32a))_0x4a258b=function(_0xcb4bd1){const _0xe03cbf=_0x2778ad,_0x1f2a23=new _0x2382e4('error',{'error':_0xcb4bd1,'message':_0xcb4bd1[_0xe03cbf(0x37c)]});_0x1f2a23[_0x299fe5]=this,_0x48fa1c(_0x18bd7f,this,_0x1f2a23);};else{if(_0xa6e2dc===_0x2778ad(0x272))_0x4a258b=function(){const _0x4def5f=new _0x171d84('open');_0x4def5f[_0x299fe5]=this,_0x48fa1c(_0x18bd7f,this,_0x4def5f);};else return;}}}_0x4a258b[_0x18ac9c]=!!_0x2d662e[_0x18ac9c],_0x4a258b[_0x1e1223]=_0x18bd7f,_0x2d662e[_0x2778ad(0x292)]?this['once'](_0xa6e2dc,_0x4a258b):this['on'](_0xa6e2dc,_0x4a258b);},'removeEventListener'(_0x2fb19f,_0x31bfb3){const _0x459158=_0x294ea6;for(const _0x43db6f of this['listeners'](_0x2fb19f))if(_0x43db6f[_0x1e1223]===_0x31bfb3&&!_0x43db6f[_0x18ac9c]){this[_0x459158(0x258)](_0x2fb19f,_0x43db6f);break;}}},'MessageEvent':_0x567407};function _0x48fa1c(_0x3d95b7,_0x2fffee,_0x1ead56){const _0x101bb8=_0x294ea6;typeof _0x3d95b7==_0x101bb8(0x303)&&_0x3d95b7[_0x101bb8(0x257)]?_0x3d95b7['handleEvent'][_0x101bb8(0x211)](_0x3d95b7,_0x1ead56):_0x3d95b7[_0x101bb8(0x211)](_0x2fffee,_0x1ead56);}return xe;}var be,Ze;function ft(){if(Ze)return be;Ze=0x1;const {tokenChars:_0xe0b28d}=oe();function _0x1b1f8e(_0x56e3b8,_0x3bd181,_0x1c0be3){const _0x23ac70=_0x28f8;_0x56e3b8[_0x3bd181]===void 0x0?_0x56e3b8[_0x3bd181]=[_0x1c0be3]:_0x56e3b8[_0x3bd181][_0x23ac70(0x204)](_0x1c0be3);}function _0xf11c34(_0x273f0d){const _0x2bd51e=_0x28f8,_0x54e3bf=Object['create'](null);let _0x5e15b6=Object['create'](null),_0x22c878=!0x1,_0x3cd5fe=!0x1,_0x55f9dd=!0x1,_0x480919,_0x385cdf,_0x4690a9=-0x1,_0x2cebfd=-0x1,_0x369669=-0x1,_0x1b8b57=0x0;for(;_0x1b8b57<_0x273f0d[_0x2bd51e(0x363)];_0x1b8b57++)if(_0x2cebfd=_0x273f0d[_0x2bd51e(0x2de)](_0x1b8b57),_0x480919===void 0x0){if(_0x369669===-0x1&&_0xe0b28d[_0x2cebfd]===0x1)_0x4690a9===-0x1&&(_0x4690a9=_0x1b8b57);else{if(_0x1b8b57!==0x0&&(_0x2cebfd===0x20||_0x2cebfd===0x9))_0x369669===-0x1&&_0x4690a9!==-0x1&&(_0x369669=_0x1b8b57);else{if(_0x2cebfd===0x3b||_0x2cebfd===0x2c){if(_0x4690a9===-0x1)throw new SyntaxError(_0x2bd51e(0x330)+_0x1b8b57);_0x369669===-0x1&&(_0x369669=_0x1b8b57);const _0x425ec3=_0x273f0d[_0x2bd51e(0x336)](_0x4690a9,_0x369669);_0x2cebfd===0x2c?(_0x1b1f8e(_0x54e3bf,_0x425ec3,_0x5e15b6),_0x5e15b6=Object['create'](null)):_0x480919=_0x425ec3,_0x4690a9=_0x369669=-0x1;}else throw new SyntaxError(_0x2bd51e(0x330)+_0x1b8b57);}}}else{if(_0x385cdf===void 0x0){if(_0x369669===-0x1&&_0xe0b28d[_0x2cebfd]===0x1)_0x4690a9===-0x1&&(_0x4690a9=_0x1b8b57);else{if(_0x2cebfd===0x20||_0x2cebfd===0x9)_0x369669===-0x1&&_0x4690a9!==-0x1&&(_0x369669=_0x1b8b57);else{if(_0x2cebfd===0x3b||_0x2cebfd===0x2c){if(_0x4690a9===-0x1)throw new SyntaxError(_0x2bd51e(0x330)+_0x1b8b57);_0x369669===-0x1&&(_0x369669=_0x1b8b57),_0x1b1f8e(_0x5e15b6,_0x273f0d[_0x2bd51e(0x336)](_0x4690a9,_0x369669),!0x0),_0x2cebfd===0x2c&&(_0x1b1f8e(_0x54e3bf,_0x480919,_0x5e15b6),_0x5e15b6=Object['create'](null),_0x480919=void 0x0),_0x4690a9=_0x369669=-0x1;}else{if(_0x2cebfd===0x3d&&_0x4690a9!==-0x1&&_0x369669===-0x1)_0x385cdf=_0x273f0d[_0x2bd51e(0x336)](_0x4690a9,_0x1b8b57),_0x4690a9=_0x369669=-0x1;else throw new SyntaxError(_0x2bd51e(0x330)+_0x1b8b57);}}}}else{if(_0x3cd5fe){if(_0xe0b28d[_0x2cebfd]!==0x1)throw new SyntaxError(_0x2bd51e(0x330)+_0x1b8b57);_0x4690a9===-0x1?_0x4690a9=_0x1b8b57:_0x22c878||(_0x22c878=!0x0),_0x3cd5fe=!0x1;}else{if(_0x55f9dd){if(_0xe0b28d[_0x2cebfd]===0x1)_0x4690a9===-0x1&&(_0x4690a9=_0x1b8b57);else{if(_0x2cebfd===0x22&&_0x4690a9!==-0x1)_0x55f9dd=!0x1,_0x369669=_0x1b8b57;else{if(_0x2cebfd===0x5c)_0x3cd5fe=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1b8b57);}}}else{if(_0x2cebfd===0x22&&_0x273f0d[_0x2bd51e(0x2de)](_0x1b8b57-0x1)===0x3d)_0x55f9dd=!0x0;else{if(_0x369669===-0x1&&_0xe0b28d[_0x2cebfd]===0x1)_0x4690a9===-0x1&&(_0x4690a9=_0x1b8b57);else{if(_0x4690a9!==-0x1&&(_0x2cebfd===0x20||_0x2cebfd===0x9))_0x369669===-0x1&&(_0x369669=_0x1b8b57);else{if(_0x2cebfd===0x3b||_0x2cebfd===0x2c){if(_0x4690a9===-0x1)throw new SyntaxError(_0x2bd51e(0x330)+_0x1b8b57);_0x369669===-0x1&&(_0x369669=_0x1b8b57);let _0xf39caf=_0x273f0d[_0x2bd51e(0x336)](_0x4690a9,_0x369669);_0x22c878&&(_0xf39caf=_0xf39caf['replace'](/\\/g,''),_0x22c878=!0x1),_0x1b1f8e(_0x5e15b6,_0x385cdf,_0xf39caf),_0x2cebfd===0x2c&&(_0x1b1f8e(_0x54e3bf,_0x480919,_0x5e15b6),_0x5e15b6=Object[_0x2bd51e(0x22f)](null),_0x480919=void 0x0),_0x385cdf=void 0x0,_0x4690a9=_0x369669=-0x1;}else throw new SyntaxError(_0x2bd51e(0x330)+_0x1b8b57);}}}}}}}if(_0x4690a9===-0x1||_0x55f9dd||_0x2cebfd===0x20||_0x2cebfd===0x9)throw new SyntaxError(_0x2bd51e(0x39c));_0x369669===-0x1&&(_0x369669=_0x1b8b57);const _0x150b3e=_0x273f0d[_0x2bd51e(0x336)](_0x4690a9,_0x369669);return _0x480919===void 0x0?_0x1b1f8e(_0x54e3bf,_0x150b3e,_0x5e15b6):(_0x385cdf===void 0x0?_0x1b1f8e(_0x5e15b6,_0x150b3e,!0x0):_0x22c878?_0x1b1f8e(_0x5e15b6,_0x385cdf,_0x150b3e[_0x2bd51e(0x232)](/\\/g,'')):_0x1b1f8e(_0x5e15b6,_0x385cdf,_0x150b3e),_0x1b1f8e(_0x54e3bf,_0x480919,_0x5e15b6)),_0x54e3bf;}function _0x14df8a(_0x32b640){const _0x3bbb96=_0x28f8;return Object[_0x3bbb96(0x21f)](_0x32b640)[_0x3bbb96(0x2ed)](_0x1157b4=>{const _0x564f99=_0x3bbb96;let _0x37216c=_0x32b640[_0x1157b4];return Array[_0x564f99(0x26e)](_0x37216c)||(_0x37216c=[_0x37216c]),_0x37216c['map'](_0x1edabb=>[_0x1157b4][_0x564f99(0x213)](Object[_0x564f99(0x21f)](_0x1edabb)[_0x564f99(0x2ed)](_0x107682=>{const _0x47f643=_0x564f99;let _0x35bad4=_0x1edabb[_0x107682];return Array[_0x47f643(0x26e)](_0x35bad4)||(_0x35bad4=[_0x35bad4]),_0x35bad4[_0x47f643(0x2ed)](_0x19c02b=>_0x19c02b===!0x0?_0x107682:_0x107682+'='+_0x19c02b)[_0x47f643(0x2c7)](';\x20');}))['join'](';\x20'))[_0x564f99(0x2c7)](',\x20');})[_0x3bbb96(0x2c7)](',\x20');}return be={'format':_0x14df8a,'parse':_0xf11c34},be;}var Oe,Qe;function ke(){const _0x553aa2=_0x3a33c1;if(Qe)return Oe;Qe=0x1;const _0x588f6d=it,_0x55d0cd=yt,_0x5d0a06=nt,_0x52f7f5=vt,_0x2fe3e6=St,{randomBytes:_0x4e30e8,createHash:_0x1db93f}=Le,{Duplex:_0x275296,Readable:_0x443e59}=ne,{URL:_0x230ae1}=Et,_0x4acd69=ce(),_0x39df89=at(),_0x441e06=lt(),{isBlob:_0x135752}=oe(),{BINARY_TYPES:_0x38c0c9,EMPTY_BUFFER:_0x4f749e,GUID:_0x19c848,kForOnEventAttribute:_0xd6538d,kListener:_0x5db74f,kStatusCode:_0x1def26,kWebSocket:_0x190d78,NOOP:_0xd7c11c}=H(),{EventTarget:{addEventListener:_0x276a7a,removeEventListener:_0x269107}}=It(),{format:_0x1bb6bd,parse:_0x2b0a39}=ft(),{toBuffer:_0x1f519d}=fe(),_0x10ef87=0x1e*0x3e8,_0x13b7fa=Symbol(_0x553aa2(0x3a2)),_0x3fe2de=[0x8,0xd],_0x2c84a1=[_0x553aa2(0x373),_0x553aa2(0x2f8),'CLOSING',_0x553aa2(0x255)],_0x4c3978=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2ebddc extends _0x588f6d{constructor(_0x54ed62,_0x4fedc9,_0xf650d2){const _0x12ac71=_0x553aa2;super(),this[_0x12ac71(0x375)]=_0x38c0c9[0x0],this[_0x12ac71(0x31b)]=0x3ee,this[_0x12ac71(0x1f3)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x12ac71(0x1ef)]=_0x4f749e,this['_closeTimer']=null,this[_0x12ac71(0x262)]=!0x1,this['_extensions']={},this[_0x12ac71(0x2ec)]=!0x1,this['_protocol']='',this[_0x12ac71(0x250)]=_0x2ebddc[_0x12ac71(0x373)],this[_0x12ac71(0x29b)]=null,this[_0x12ac71(0x2cf)]=null,this[_0x12ac71(0x33d)]=null,_0x54ed62!==null?(this[_0x12ac71(0x268)]=0x0,this[_0x12ac71(0x235)]=!0x1,this[_0x12ac71(0x266)]=0x0,_0x4fedc9===void 0x0?_0x4fedc9=[]:Array[_0x12ac71(0x26e)](_0x4fedc9)||(typeof _0x4fedc9==_0x12ac71(0x303)&&_0x4fedc9!==null?(_0xf650d2=_0x4fedc9,_0x4fedc9=[]):_0x4fedc9=[_0x4fedc9]),_0x2ba4c3(this,_0x54ed62,_0x4fedc9,_0xf650d2)):(this['_autoPong']=_0xf650d2[_0x12ac71(0x1fb)],this[_0x12ac71(0x235)]=!0x0);}get[_0x553aa2(0x22b)](){const _0x221170=_0x553aa2;return this[_0x221170(0x375)];}set[_0x553aa2(0x22b)](_0x4a857e){const _0x22bc39=_0x553aa2;_0x38c0c9[_0x22bc39(0x32f)](_0x4a857e)&&(this[_0x22bc39(0x375)]=_0x4a857e,this['_receiver']&&(this[_0x22bc39(0x29b)]['_binaryType']=_0x4a857e));}get[_0x553aa2(0x276)](){const _0xf6ee05=_0x553aa2;return this[_0xf6ee05(0x33d)]?this[_0xf6ee05(0x33d)]['_writableState'][_0xf6ee05(0x363)]+this[_0xf6ee05(0x2cf)][_0xf6ee05(0x319)]:this[_0xf6ee05(0x268)];}get['extensions'](){const _0x39a194=_0x553aa2;return Object[_0x39a194(0x21f)](this['_extensions'])[_0x39a194(0x2c7)]();}get[_0x553aa2(0x2a9)](){const _0x4d31c8=_0x553aa2;return this[_0x4d31c8(0x2ec)];}get['onclose'](){return null;}get['onerror'](){return null;}get[_0x553aa2(0x20e)](){return null;}get[_0x553aa2(0x326)](){return null;}get[_0x553aa2(0x28a)](){return this['_protocol'];}get[_0x553aa2(0x364)](){const _0x476602=_0x553aa2;return this[_0x476602(0x250)];}get[_0x553aa2(0x34f)](){return this['_url'];}[_0x553aa2(0x28b)](_0x307e62,_0x591813,_0x29afca){const _0x35b07b=_0x553aa2,_0x24eebc=new _0x39df89({'allowSynchronousEvents':_0x29afca[_0x35b07b(0x348)],'binaryType':this[_0x35b07b(0x22b)],'extensions':this[_0x35b07b(0x3a3)],'isServer':this[_0x35b07b(0x235)],'maxPayload':_0x29afca[_0x35b07b(0x2b0)],'skipUTF8Validation':_0x29afca[_0x35b07b(0x332)]}),_0x279602=new _0x441e06(_0x307e62,this[_0x35b07b(0x3a3)],_0x29afca[_0x35b07b(0x30d)]);this[_0x35b07b(0x29b)]=_0x24eebc,this['_sender']=_0x279602,this[_0x35b07b(0x33d)]=_0x307e62,_0x24eebc[_0x190d78]=this,_0x279602[_0x190d78]=this,_0x307e62[_0x190d78]=this,_0x24eebc['on']('conclude',_0x9022c3),_0x24eebc['on'](_0x35b07b(0x1f8),_0x3ff4ae),_0x24eebc['on'](_0x35b07b(0x32a),_0x2b0d1d),_0x24eebc['on']('message',_0x3e73b5),_0x24eebc['on']('ping',_0x285e57),_0x24eebc['on'](_0x35b07b(0x2d6),_0x1dde90),_0x279602[_0x35b07b(0x334)]=_0x4fdc3b,_0x307e62['setTimeout']&&_0x307e62[_0x35b07b(0x2d7)](0x0),_0x307e62[_0x35b07b(0x377)]&&_0x307e62[_0x35b07b(0x377)](),_0x591813[_0x35b07b(0x363)]>0x0&&_0x307e62[_0x35b07b(0x2eb)](_0x591813),_0x307e62['on']('close',_0x12832b),_0x307e62['on'](_0x35b07b(0x30c),_0x3baec7),_0x307e62['on'](_0x35b07b(0x328),_0x2b124c),_0x307e62['on'](_0x35b07b(0x32a),_0x41f688),this[_0x35b07b(0x250)]=_0x2ebddc[_0x35b07b(0x2f8)],this[_0x35b07b(0x37d)](_0x35b07b(0x272));}['emitClose'](){const _0x3cfad4=_0x553aa2;if(!this['_socket']){this[_0x3cfad4(0x250)]=_0x2ebddc[_0x3cfad4(0x255)],this[_0x3cfad4(0x37d)]('close',this[_0x3cfad4(0x31b)],this[_0x3cfad4(0x1ef)]);return;}this[_0x3cfad4(0x3a3)][_0x4acd69[_0x3cfad4(0x36f)]]&&this[_0x3cfad4(0x3a3)][_0x4acd69['extensionName']][_0x3cfad4(0x20a)](),this[_0x3cfad4(0x29b)][_0x3cfad4(0x27a)](),this[_0x3cfad4(0x250)]=_0x2ebddc['CLOSED'],this[_0x3cfad4(0x37d)](_0x3cfad4(0x31a),this[_0x3cfad4(0x31b)],this['_closeMessage']);}[_0x553aa2(0x31a)](_0x19323d,_0x420f3b){const _0x43ff8c=_0x553aa2;if(this[_0x43ff8c(0x364)]!==_0x2ebddc[_0x43ff8c(0x255)]){if(this['readyState']===_0x2ebddc[_0x43ff8c(0x373)]){_0x16f057(this,this[_0x43ff8c(0x38f)],_0x43ff8c(0x34b));return;}if(this[_0x43ff8c(0x364)]===_0x2ebddc[_0x43ff8c(0x246)]){this['_closeFrameSent']&&(this[_0x43ff8c(0x1f3)]||this[_0x43ff8c(0x29b)][_0x43ff8c(0x2bb)][_0x43ff8c(0x381)])&&this[_0x43ff8c(0x33d)]['end']();return;}this[_0x43ff8c(0x250)]=_0x2ebddc['CLOSING'],this[_0x43ff8c(0x2cf)]['close'](_0x19323d,_0x420f3b,!this[_0x43ff8c(0x235)],_0x5735b9=>{const _0x7631f2=_0x43ff8c;_0x5735b9||(this[_0x7631f2(0x3a1)]=!0x0,(this[_0x7631f2(0x1f3)]||this['_receiver'][_0x7631f2(0x2bb)]['errorEmitted'])&&this[_0x7631f2(0x33d)][_0x7631f2(0x328)]());}),_0x56b416(this);}}[_0x553aa2(0x38b)](){const _0x4dce8e=_0x553aa2;this[_0x4dce8e(0x364)]===_0x2ebddc[_0x4dce8e(0x373)]||this[_0x4dce8e(0x364)]===_0x2ebddc['CLOSED']||(this[_0x4dce8e(0x2ec)]=!0x0,this['_socket'][_0x4dce8e(0x38b)]());}['ping'](_0x3da3ef,_0x9c4e11,_0x4d1c74){const _0x3fcf16=_0x553aa2;if(this[_0x3fcf16(0x364)]===_0x2ebddc[_0x3fcf16(0x373)])throw new Error(_0x3fcf16(0x227));if(typeof _0x3da3ef==_0x3fcf16(0x23c)?(_0x4d1c74=_0x3da3ef,_0x3da3ef=_0x9c4e11=void 0x0):typeof _0x9c4e11==_0x3fcf16(0x23c)&&(_0x4d1c74=_0x9c4e11,_0x9c4e11=void 0x0),typeof _0x3da3ef==_0x3fcf16(0x206)&&(_0x3da3ef=_0x3da3ef[_0x3fcf16(0x2db)]()),this[_0x3fcf16(0x364)]!==_0x2ebddc[_0x3fcf16(0x2f8)]){_0x63a882(this,_0x3da3ef,_0x4d1c74);return;}_0x9c4e11===void 0x0&&(_0x9c4e11=!this['_isServer']),this[_0x3fcf16(0x2cf)]['ping'](_0x3da3ef||_0x4f749e,_0x9c4e11,_0x4d1c74);}[_0x553aa2(0x2d6)](_0x35fd79,_0x36b2e9,_0x4e5e59){const _0x4f005a=_0x553aa2;if(this['readyState']===_0x2ebddc[_0x4f005a(0x373)])throw new Error(_0x4f005a(0x227));if(typeof _0x35fd79=='function'?(_0x4e5e59=_0x35fd79,_0x35fd79=_0x36b2e9=void 0x0):typeof _0x36b2e9==_0x4f005a(0x23c)&&(_0x4e5e59=_0x36b2e9,_0x36b2e9=void 0x0),typeof _0x35fd79==_0x4f005a(0x206)&&(_0x35fd79=_0x35fd79[_0x4f005a(0x2db)]()),this[_0x4f005a(0x364)]!==_0x2ebddc['OPEN']){_0x63a882(this,_0x35fd79,_0x4e5e59);return;}_0x36b2e9===void 0x0&&(_0x36b2e9=!this['_isServer']),this[_0x4f005a(0x2cf)]['pong'](_0x35fd79||_0x4f749e,_0x36b2e9,_0x4e5e59);}[_0x553aa2(0x39d)](){const _0x1e88a6=_0x553aa2;this[_0x1e88a6(0x364)]===_0x2ebddc['CONNECTING']||this[_0x1e88a6(0x364)]===_0x2ebddc[_0x1e88a6(0x255)]||(this[_0x1e88a6(0x2ec)]=!0x1,this[_0x1e88a6(0x29b)][_0x1e88a6(0x2bb)][_0x1e88a6(0x23d)]||this[_0x1e88a6(0x33d)][_0x1e88a6(0x39d)]());}[_0x553aa2(0x313)](_0x2dc6ce,_0x362ab9,_0x4b1140){const _0x5e17d6=_0x553aa2;if(this['readyState']===_0x2ebddc[_0x5e17d6(0x373)])throw new Error(_0x5e17d6(0x227));if(typeof _0x362ab9==_0x5e17d6(0x23c)&&(_0x4b1140=_0x362ab9,_0x362ab9={}),typeof _0x2dc6ce==_0x5e17d6(0x206)&&(_0x2dc6ce=_0x2dc6ce[_0x5e17d6(0x2db)]()),this[_0x5e17d6(0x364)]!==_0x2ebddc[_0x5e17d6(0x2f8)]){_0x63a882(this,_0x2dc6ce,_0x4b1140);return;}const _0x2a7526={'binary':typeof _0x2dc6ce!=_0x5e17d6(0x399),'mask':!this[_0x5e17d6(0x235)],'compress':!0x0,'fin':!0x0,..._0x362ab9};this['_extensions'][_0x4acd69[_0x5e17d6(0x36f)]]||(_0x2a7526[_0x5e17d6(0x2ce)]=!0x1),this[_0x5e17d6(0x2cf)][_0x5e17d6(0x313)](_0x2dc6ce||_0x4f749e,_0x2a7526,_0x4b1140);}[_0x553aa2(0x35f)](){const _0x199764=_0x553aa2;if(this[_0x199764(0x364)]!==_0x2ebddc[_0x199764(0x255)]){if(this[_0x199764(0x364)]===_0x2ebddc[_0x199764(0x373)]){_0x16f057(this,this[_0x199764(0x38f)],_0x199764(0x34b));return;}this[_0x199764(0x33d)]&&(this['_readyState']=_0x2ebddc[_0x199764(0x246)],this[_0x199764(0x33d)]['destroy']());}}}Object[_0x553aa2(0x378)](_0x2ebddc,_0x553aa2(0x373),{'enumerable':!0x0,'value':_0x2c84a1[_0x553aa2(0x389)]('CONNECTING')}),Object[_0x553aa2(0x378)](_0x2ebddc[_0x553aa2(0x296)],_0x553aa2(0x373),{'enumerable':!0x0,'value':_0x2c84a1[_0x553aa2(0x389)](_0x553aa2(0x373))}),Object[_0x553aa2(0x378)](_0x2ebddc,_0x553aa2(0x2f8),{'enumerable':!0x0,'value':_0x2c84a1['indexOf'](_0x553aa2(0x2f8))}),Object['defineProperty'](_0x2ebddc[_0x553aa2(0x296)],_0x553aa2(0x2f8),{'enumerable':!0x0,'value':_0x2c84a1[_0x553aa2(0x389)](_0x553aa2(0x2f8))}),Object['defineProperty'](_0x2ebddc,'CLOSING',{'enumerable':!0x0,'value':_0x2c84a1[_0x553aa2(0x389)]('CLOSING')}),Object[_0x553aa2(0x378)](_0x2ebddc['prototype'],_0x553aa2(0x246),{'enumerable':!0x0,'value':_0x2c84a1[_0x553aa2(0x389)](_0x553aa2(0x246))}),Object[_0x553aa2(0x378)](_0x2ebddc,_0x553aa2(0x255),{'enumerable':!0x0,'value':_0x2c84a1[_0x553aa2(0x389)](_0x553aa2(0x255))}),Object['defineProperty'](_0x2ebddc[_0x553aa2(0x296)],_0x553aa2(0x255),{'enumerable':!0x0,'value':_0x2c84a1[_0x553aa2(0x389)](_0x553aa2(0x255))}),[_0x553aa2(0x22b),_0x553aa2(0x276),_0x553aa2(0x229),_0x553aa2(0x2a9),_0x553aa2(0x28a),_0x553aa2(0x364),_0x553aa2(0x34f)][_0x553aa2(0x343)](_0xb2f265=>{const _0x45ddcb=_0x553aa2;Object[_0x45ddcb(0x378)](_0x2ebddc['prototype'],_0xb2f265,{'enumerable':!0x0});}),[_0x553aa2(0x272),'error',_0x553aa2(0x31a),_0x553aa2(0x37c)][_0x553aa2(0x343)](_0x33828d=>{const _0x24eb24=_0x553aa2;Object[_0x24eb24(0x378)](_0x2ebddc[_0x24eb24(0x296)],'on'+_0x33828d,{'enumerable':!0x0,'get'(){const _0x5cb805=_0x24eb24;for(const _0x523192 of this[_0x5cb805(0x354)](_0x33828d))if(_0x523192[_0xd6538d])return _0x523192[_0x5db74f];return null;},'set'(_0x3a2474){const _0x17123e=_0x24eb24;for(const _0x328a7b of this['listeners'](_0x33828d))if(_0x328a7b[_0xd6538d]){this[_0x17123e(0x258)](_0x33828d,_0x328a7b);break;}typeof _0x3a2474==_0x17123e(0x23c)&&this['addEventListener'](_0x33828d,_0x3a2474,{[_0xd6538d]:!0x0});}});}),_0x2ebddc[_0x553aa2(0x296)]['addEventListener']=_0x276a7a,_0x2ebddc[_0x553aa2(0x296)][_0x553aa2(0x386)]=_0x269107,Oe=_0x2ebddc;function _0x2ba4c3(_0x34044f,_0x127983,_0x3c22d0,_0x53bc3d){const _0x10110d=_0x553aa2,_0x4ba4aa={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3fe2de[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x53bc3d,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x10110d(0x281),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x34044f['_autoPong']=_0x4ba4aa[_0x10110d(0x1fb)],!_0x3fe2de['includes'](_0x4ba4aa[_0x10110d(0x2f7)]))throw new RangeError(_0x10110d(0x2e5)+_0x4ba4aa[_0x10110d(0x2f7)]+'\x20(supported\x20versions:\x20'+_0x3fe2de[_0x10110d(0x2c7)](',\x20')+')');let _0x3b1caa;if(_0x127983 instanceof _0x230ae1)_0x3b1caa=_0x127983;else try{_0x3b1caa=new _0x230ae1(_0x127983);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x127983);}_0x3b1caa[_0x10110d(0x28a)]==='http:'?_0x3b1caa[_0x10110d(0x28a)]=_0x10110d(0x27c):_0x3b1caa[_0x10110d(0x28a)]==='https:'&&(_0x3b1caa[_0x10110d(0x28a)]=_0x10110d(0x361)),_0x34044f[_0x10110d(0x30f)]=_0x3b1caa['href'];const _0x574154=_0x3b1caa[_0x10110d(0x28a)]===_0x10110d(0x361),_0x2a4e6d=_0x3b1caa['protocol']===_0x10110d(0x312);let _0xad953;if(_0x3b1caa[_0x10110d(0x28a)]!=='ws:'&&!_0x574154&&!_0x2a4e6d?_0xad953='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':_0x2a4e6d&&!_0x3b1caa[_0x10110d(0x279)]?_0xad953=_0x10110d(0x365):_0x3b1caa[_0x10110d(0x2d1)]&&(_0xad953=_0x10110d(0x29d)),_0xad953){const _0x57dbe9=new SyntaxError(_0xad953);if(_0x34044f[_0x10110d(0x266)]===0x0)throw _0x57dbe9;_0x33a18f(_0x34044f,_0x57dbe9);return;}const _0x26af1a=_0x574154?0x1bb:0x50,_0x220ed2=_0x4e30e8(0x10)[_0x10110d(0x2db)](_0x10110d(0x20b)),_0x34fc15=_0x574154?_0x55d0cd[_0x10110d(0x1eb)]:_0x5d0a06[_0x10110d(0x1eb)],_0x47c0b0=new Set();let _0x3aec37;if(_0x4ba4aa[_0x10110d(0x321)]=_0x4ba4aa['createConnection']||(_0x574154?_0x3cb9fd:_0x4bf4b3),_0x4ba4aa[_0x10110d(0x379)]=_0x4ba4aa[_0x10110d(0x379)]||_0x26af1a,_0x4ba4aa[_0x10110d(0x2a3)]=_0x3b1caa[_0x10110d(0x2a3)]||_0x26af1a,_0x4ba4aa[_0x10110d(0x33f)]=_0x3b1caa[_0x10110d(0x1f7)][_0x10110d(0x32d)]('[')?_0x3b1caa['hostname'][_0x10110d(0x336)](0x1,-0x1):_0x3b1caa[_0x10110d(0x1f7)],_0x4ba4aa[_0x10110d(0x38d)]={..._0x4ba4aa[_0x10110d(0x38d)],'Sec-WebSocket-Version':_0x4ba4aa[_0x10110d(0x2f7)],'Sec-WebSocket-Key':_0x220ed2,'Connection':'Upgrade','Upgrade':'websocket'},_0x4ba4aa[_0x10110d(0x38c)]=_0x3b1caa[_0x10110d(0x279)]+_0x3b1caa['search'],_0x4ba4aa['timeout']=_0x4ba4aa['handshakeTimeout'],_0x4ba4aa['perMessageDeflate']&&(_0x3aec37=new _0x4acd69(_0x4ba4aa[_0x10110d(0x287)]!==!0x0?_0x4ba4aa[_0x10110d(0x287)]:{},!0x1,_0x4ba4aa[_0x10110d(0x2b0)]),_0x4ba4aa[_0x10110d(0x38d)][_0x10110d(0x23b)]=_0x1bb6bd({[_0x4acd69[_0x10110d(0x36f)]]:_0x3aec37[_0x10110d(0x28c)]()})),_0x3c22d0[_0x10110d(0x363)]){for(const _0x2279ad of _0x3c22d0){if(typeof _0x2279ad!=_0x10110d(0x399)||!_0x4c3978[_0x10110d(0x2a0)](_0x2279ad)||_0x47c0b0[_0x10110d(0x23e)](_0x2279ad))throw new SyntaxError(_0x10110d(0x25b));_0x47c0b0['add'](_0x2279ad);}_0x4ba4aa[_0x10110d(0x38d)][_0x10110d(0x2d2)]=_0x3c22d0[_0x10110d(0x2c7)](',');}if(_0x4ba4aa[_0x10110d(0x21e)]&&(_0x4ba4aa[_0x10110d(0x2f7)]<0xd?_0x4ba4aa[_0x10110d(0x38d)][_0x10110d(0x290)]=_0x4ba4aa['origin']:_0x4ba4aa['headers'][_0x10110d(0x314)]=_0x4ba4aa[_0x10110d(0x21e)]),(_0x3b1caa[_0x10110d(0x222)]||_0x3b1caa[_0x10110d(0x324)])&&(_0x4ba4aa[_0x10110d(0x2ab)]=_0x3b1caa[_0x10110d(0x222)]+':'+_0x3b1caa[_0x10110d(0x324)]),_0x2a4e6d){const _0xfa488=_0x4ba4aa[_0x10110d(0x38c)]['split'](':');_0x4ba4aa[_0x10110d(0x2d8)]=_0xfa488[0x0],_0x4ba4aa[_0x10110d(0x38c)]=_0xfa488[0x1];}let _0x4e594e;if(_0x4ba4aa['followRedirects']){if(_0x34044f['_redirects']===0x0){_0x34044f[_0x10110d(0x275)]=_0x2a4e6d,_0x34044f[_0x10110d(0x338)]=_0x574154,_0x34044f[_0x10110d(0x2ba)]=_0x2a4e6d?_0x4ba4aa[_0x10110d(0x2d8)]:_0x3b1caa[_0x10110d(0x33f)];const _0x2672eb=_0x53bc3d&&_0x53bc3d[_0x10110d(0x38d)];if(_0x53bc3d={..._0x53bc3d,'headers':{}},_0x2672eb){for(const [_0x1db51e,_0x363d9a]of Object[_0x10110d(0x291)](_0x2672eb))_0x53bc3d['headers'][_0x1db51e[_0x10110d(0x398)]()]=_0x363d9a;}}else{if(_0x34044f[_0x10110d(0x25a)](_0x10110d(0x3a8))===0x0){const _0x300d0c=_0x2a4e6d?_0x34044f[_0x10110d(0x275)]?_0x4ba4aa[_0x10110d(0x2d8)]===_0x34044f[_0x10110d(0x2ba)]:!0x1:_0x34044f[_0x10110d(0x275)]?!0x1:_0x3b1caa[_0x10110d(0x33f)]===_0x34044f[_0x10110d(0x2ba)];(!_0x300d0c||_0x34044f[_0x10110d(0x338)]&&!_0x574154)&&(delete _0x4ba4aa['headers'][_0x10110d(0x36e)],delete _0x4ba4aa['headers'][_0x10110d(0x2ad)],_0x300d0c||delete _0x4ba4aa[_0x10110d(0x38d)][_0x10110d(0x33f)],_0x4ba4aa[_0x10110d(0x2ab)]=void 0x0);}}_0x4ba4aa['auth']&&!_0x53bc3d[_0x10110d(0x38d)]['authorization']&&(_0x53bc3d[_0x10110d(0x38d)][_0x10110d(0x36e)]=_0x10110d(0x387)+Buffer[_0x10110d(0x2d3)](_0x4ba4aa[_0x10110d(0x2ab)])[_0x10110d(0x2db)]('base64')),_0x4e594e=_0x34044f[_0x10110d(0x38f)]=_0x34fc15(_0x4ba4aa),_0x34044f[_0x10110d(0x266)]&&_0x34044f['emit'](_0x10110d(0x3a8),_0x34044f[_0x10110d(0x34f)],_0x4e594e);}else _0x4e594e=_0x34044f['_req']=_0x34fc15(_0x4ba4aa);_0x4ba4aa[_0x10110d(0x273)]&&_0x4e594e['on'](_0x10110d(0x273),()=>{_0x16f057(_0x34044f,_0x4e594e,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x4e594e['on']('error',_0x1356d4=>{const _0x499ccd=_0x10110d;_0x4e594e===null||_0x4e594e[_0x13b7fa]||(_0x4e594e=_0x34044f[_0x499ccd(0x38f)]=null,_0x33a18f(_0x34044f,_0x1356d4));}),_0x4e594e['on'](_0x10110d(0x362),_0x392e8d=>{const _0x12f52b=_0x10110d,_0x44d897=_0x392e8d[_0x12f52b(0x38d)]['location'],_0x168695=_0x392e8d[_0x12f52b(0x325)];if(_0x44d897&&_0x4ba4aa[_0x12f52b(0x254)]&&_0x168695>=0x12c&&_0x168695<0x190){if(++_0x34044f[_0x12f52b(0x266)]>_0x4ba4aa['maxRedirects']){_0x16f057(_0x34044f,_0x4e594e,_0x12f52b(0x2da));return;}_0x4e594e['abort']();let _0xd05c25;try{_0xd05c25=new _0x230ae1(_0x44d897,_0x127983);}catch{const _0xdca95b=new SyntaxError('Invalid\x20URL:\x20'+_0x44d897);_0x33a18f(_0x34044f,_0xdca95b);return;}_0x2ba4c3(_0x34044f,_0xd05c25,_0x3c22d0,_0x53bc3d);}else _0x34044f[_0x12f52b(0x37d)](_0x12f52b(0x390),_0x4e594e,_0x392e8d)||_0x16f057(_0x34044f,_0x4e594e,'Unexpected\x20server\x20response:\x20'+_0x392e8d[_0x12f52b(0x325)]);}),_0x4e594e['on'](_0x10110d(0x216),(_0x50bf9a,_0x654bca,_0x38ed82)=>{const _0x2665ae=_0x10110d;if(_0x34044f[_0x2665ae(0x37d)](_0x2665ae(0x216),_0x50bf9a),_0x34044f[_0x2665ae(0x364)]!==_0x2ebddc[_0x2665ae(0x373)])return;_0x4e594e=_0x34044f['_req']=null;const _0x2fb416=_0x50bf9a[_0x2665ae(0x38d)]['upgrade'];if(_0x2fb416===void 0x0||_0x2fb416['toLowerCase']()!==_0x2665ae(0x37f)){_0x16f057(_0x34044f,_0x654bca,'Invalid\x20Upgrade\x20header');return;}const _0xdf5e43=_0x1db93f(_0x2665ae(0x261))[_0x2665ae(0x374)](_0x220ed2+_0x19c848)['digest'](_0x2665ae(0x20b));if(_0x50bf9a[_0x2665ae(0x38d)][_0x2665ae(0x20c)]!==_0xdf5e43){_0x16f057(_0x34044f,_0x654bca,_0x2665ae(0x396));return;}const _0x378b4b=_0x50bf9a[_0x2665ae(0x38d)][_0x2665ae(0x26b)];let _0xb8a4cd;if(_0x378b4b!==void 0x0?_0x47c0b0['size']?_0x47c0b0[_0x2665ae(0x23e)](_0x378b4b)||(_0xb8a4cd=_0x2665ae(0x2c9)):_0xb8a4cd=_0x2665ae(0x2b5):_0x47c0b0[_0x2665ae(0x201)]&&(_0xb8a4cd=_0x2665ae(0x2ef)),_0xb8a4cd){_0x16f057(_0x34044f,_0x654bca,_0xb8a4cd);return;}_0x378b4b&&(_0x34044f[_0x2665ae(0x233)]=_0x378b4b);const _0x1c97a5=_0x50bf9a['headers'][_0x2665ae(0x2b2)];if(_0x1c97a5!==void 0x0){if(!_0x3aec37){_0x16f057(_0x34044f,_0x654bca,_0x2665ae(0x1fc));return;}let _0x57fbc0;try{_0x57fbc0=_0x2b0a39(_0x1c97a5);}catch{_0x16f057(_0x34044f,_0x654bca,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x136ef6=Object['keys'](_0x57fbc0);if(_0x136ef6[_0x2665ae(0x363)]!==0x1||_0x136ef6[0x0]!==_0x4acd69[_0x2665ae(0x36f)]){_0x16f057(_0x34044f,_0x654bca,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x3aec37[_0x2665ae(0x3a9)](_0x57fbc0[_0x4acd69[_0x2665ae(0x36f)]]);}catch{_0x16f057(_0x34044f,_0x654bca,_0x2665ae(0x2a2));return;}_0x34044f[_0x2665ae(0x3a3)][_0x4acd69[_0x2665ae(0x36f)]]=_0x3aec37;}_0x34044f[_0x2665ae(0x28b)](_0x654bca,_0x38ed82,{'allowSynchronousEvents':_0x4ba4aa[_0x2665ae(0x348)],'generateMask':_0x4ba4aa['generateMask'],'maxPayload':_0x4ba4aa[_0x2665ae(0x2b0)],'skipUTF8Validation':_0x4ba4aa['skipUTF8Validation']});}),_0x4ba4aa[_0x10110d(0x2ae)]?_0x4ba4aa[_0x10110d(0x2ae)](_0x4e594e,_0x34044f):_0x4e594e[_0x10110d(0x328)]();}function _0x33a18f(_0x220f4f,_0x5bab01){const _0x3ad385=_0x553aa2;_0x220f4f['_readyState']=_0x2ebddc[_0x3ad385(0x246)],_0x220f4f['_errorEmitted']=!0x0,_0x220f4f[_0x3ad385(0x37d)](_0x3ad385(0x32a),_0x5bab01),_0x220f4f[_0x3ad385(0x220)]();}function _0x4bf4b3(_0x8c0b5f){const _0x2210f0=_0x553aa2;return _0x8c0b5f[_0x2210f0(0x38c)]=_0x8c0b5f[_0x2210f0(0x2d8)],_0x52f7f5[_0x2210f0(0x1e9)](_0x8c0b5f);}function _0x3cb9fd(_0x6ff4c0){const _0x468681=_0x553aa2;return _0x6ff4c0[_0x468681(0x38c)]=void 0x0,!_0x6ff4c0[_0x468681(0x24b)]&&_0x6ff4c0[_0x468681(0x24b)]!==''&&(_0x6ff4c0[_0x468681(0x24b)]=_0x52f7f5['isIP'](_0x6ff4c0[_0x468681(0x33f)])?'':_0x6ff4c0[_0x468681(0x33f)]),_0x2fe3e6[_0x468681(0x1e9)](_0x6ff4c0);}function _0x16f057(_0x2c7e1b,_0x288a83,_0x26d15e){const _0x4b60fc=_0x553aa2;_0x2c7e1b['_readyState']=_0x2ebddc[_0x4b60fc(0x246)];const _0x43f058=new Error(_0x26d15e);Error[_0x4b60fc(0x305)](_0x43f058,_0x16f057),_0x288a83[_0x4b60fc(0x244)]?(_0x288a83[_0x13b7fa]=!0x0,_0x288a83[_0x4b60fc(0x382)](),_0x288a83[_0x4b60fc(0x284)]&&!_0x288a83[_0x4b60fc(0x284)][_0x4b60fc(0x2ca)]&&_0x288a83['socket']['destroy'](),process[_0x4b60fc(0x372)](_0x33a18f,_0x2c7e1b,_0x43f058)):(_0x288a83['destroy'](_0x43f058),_0x288a83[_0x4b60fc(0x292)]('error',_0x2c7e1b[_0x4b60fc(0x37d)][_0x4b60fc(0x340)](_0x2c7e1b,_0x4b60fc(0x32a))),_0x288a83[_0x4b60fc(0x292)](_0x4b60fc(0x31a),_0x2c7e1b[_0x4b60fc(0x220)]['bind'](_0x2c7e1b)));}function _0x63a882(_0x2f4475,_0x47eb94,_0x2b7c44){const _0xd8f71a=_0x553aa2;if(_0x47eb94){const _0x493d7f=_0x135752(_0x47eb94)?_0x47eb94[_0xd8f71a(0x201)]:_0x1f519d(_0x47eb94)['length'];_0x2f4475[_0xd8f71a(0x33d)]?_0x2f4475[_0xd8f71a(0x2cf)][_0xd8f71a(0x319)]+=_0x493d7f:_0x2f4475[_0xd8f71a(0x268)]+=_0x493d7f;}if(_0x2b7c44){const _0x769351=new Error(_0xd8f71a(0x367)+_0x2f4475[_0xd8f71a(0x364)]+'\x20('+_0x2c84a1[_0x2f4475[_0xd8f71a(0x364)]]+')');process['nextTick'](_0x2b7c44,_0x769351);}}function _0x9022c3(_0x608b2,_0x8b98ee){const _0x5d76f2=_0x553aa2,_0xae7bef=this[_0x190d78];_0xae7bef[_0x5d76f2(0x1f3)]=!0x0,_0xae7bef[_0x5d76f2(0x1ef)]=_0x8b98ee,_0xae7bef[_0x5d76f2(0x31b)]=_0x608b2,_0xae7bef[_0x5d76f2(0x33d)][_0x190d78]!==void 0x0&&(_0xae7bef[_0x5d76f2(0x33d)][_0x5d76f2(0x258)]('data',_0x3baec7),process[_0x5d76f2(0x372)](_0x3acd4b,_0xae7bef[_0x5d76f2(0x33d)]),_0x608b2===0x3ed?_0xae7bef[_0x5d76f2(0x31a)]():_0xae7bef[_0x5d76f2(0x31a)](_0x608b2,_0x8b98ee));}function _0x3ff4ae(){const _0x1655ab=_0x553aa2,_0x5713b4=this[_0x190d78];_0x5713b4[_0x1655ab(0x2a9)]||_0x5713b4['_socket'][_0x1655ab(0x39d)]();}function _0x2b0d1d(_0x3f5482){const _0x21948e=_0x553aa2,_0x513099=this[_0x190d78];_0x513099[_0x21948e(0x33d)][_0x190d78]!==void 0x0&&(_0x513099[_0x21948e(0x33d)]['removeListener']('data',_0x3baec7),process[_0x21948e(0x372)](_0x3acd4b,_0x513099[_0x21948e(0x33d)]),_0x513099['close'](_0x3f5482[_0x1def26])),_0x513099[_0x21948e(0x262)]||(_0x513099[_0x21948e(0x262)]=!0x0,_0x513099[_0x21948e(0x37d)](_0x21948e(0x32a),_0x3f5482));}function _0x21959c(){const _0x3db14d=_0x553aa2;this[_0x190d78][_0x3db14d(0x220)]();}function _0x3e73b5(_0x554f56,_0x1cac99){const _0x36b8c7=_0x553aa2;this[_0x190d78]['emit'](_0x36b8c7(0x37c),_0x554f56,_0x1cac99);}function _0x285e57(_0x52bfb6){const _0x3c2f17=_0x553aa2,_0x7221ea=this[_0x190d78];_0x7221ea['_autoPong']&&_0x7221ea[_0x3c2f17(0x2d6)](_0x52bfb6,!this[_0x3c2f17(0x235)],_0xd7c11c),_0x7221ea[_0x3c2f17(0x37d)](_0x3c2f17(0x289),_0x52bfb6);}function _0x1dde90(_0x3b4cc8){const _0x13fea3=_0x553aa2;this[_0x190d78][_0x13fea3(0x37d)]('pong',_0x3b4cc8);}function _0x3acd4b(_0x588ad5){const _0x34fdb5=_0x553aa2;_0x588ad5[_0x34fdb5(0x39d)]();}function _0x4fdc3b(_0x31aa4b){const _0x3fd550=_0x553aa2,_0x36bd4e=this[_0x190d78];_0x36bd4e[_0x3fd550(0x364)]!==_0x2ebddc[_0x3fd550(0x255)]&&(_0x36bd4e['readyState']===_0x2ebddc[_0x3fd550(0x2f8)]&&(_0x36bd4e[_0x3fd550(0x250)]=_0x2ebddc[_0x3fd550(0x246)],_0x56b416(_0x36bd4e)),this[_0x3fd550(0x33d)][_0x3fd550(0x328)](),_0x36bd4e[_0x3fd550(0x262)]||(_0x36bd4e[_0x3fd550(0x262)]=!0x0,_0x36bd4e[_0x3fd550(0x37d)]('error',_0x31aa4b)));}function _0x56b416(_0x24c25b){const _0x26f535=_0x553aa2;_0x24c25b[_0x26f535(0x39e)]=setTimeout(_0x24c25b[_0x26f535(0x33d)]['destroy'][_0x26f535(0x340)](_0x24c25b[_0x26f535(0x33d)]),_0x10ef87);}function _0x12832b(){const _0x2f1c6e=_0x553aa2,_0x3db095=this[_0x190d78];this[_0x2f1c6e(0x258)](_0x2f1c6e(0x31a),_0x12832b),this['removeListener']('data',_0x3baec7),this[_0x2f1c6e(0x258)](_0x2f1c6e(0x328),_0x2b124c),_0x3db095[_0x2f1c6e(0x250)]=_0x2ebddc[_0x2f1c6e(0x246)];let _0x406668;!this[_0x2f1c6e(0x31f)][_0x2f1c6e(0x263)]&&!_0x3db095[_0x2f1c6e(0x1f3)]&&!_0x3db095[_0x2f1c6e(0x29b)][_0x2f1c6e(0x2bb)][_0x2f1c6e(0x381)]&&(_0x406668=_0x3db095[_0x2f1c6e(0x33d)][_0x2f1c6e(0x278)]())!==null&&_0x3db095['_receiver'][_0x2f1c6e(0x302)](_0x406668),_0x3db095[_0x2f1c6e(0x29b)][_0x2f1c6e(0x328)](),this[_0x190d78]=void 0x0,clearTimeout(_0x3db095['_closeTimer']),_0x3db095[_0x2f1c6e(0x29b)][_0x2f1c6e(0x2bb)][_0x2f1c6e(0x20f)]||_0x3db095[_0x2f1c6e(0x29b)]['_writableState'][_0x2f1c6e(0x381)]?_0x3db095['emitClose']():(_0x3db095[_0x2f1c6e(0x29b)]['on'](_0x2f1c6e(0x32a),_0x21959c),_0x3db095['_receiver']['on'](_0x2f1c6e(0x2c4),_0x21959c));}function _0x3baec7(_0x5031c9){const _0x24b048=_0x553aa2;this[_0x190d78]['_receiver']['write'](_0x5031c9)||this[_0x24b048(0x38b)]();}function _0x2b124c(){const _0x2c28e4=_0x553aa2,_0x1ec980=this[_0x190d78];_0x1ec980[_0x2c28e4(0x250)]=_0x2ebddc['CLOSING'],_0x1ec980[_0x2c28e4(0x29b)][_0x2c28e4(0x328)](),this[_0x2c28e4(0x328)]();}function _0x41f688(){const _0x24f554=_0x553aa2,_0x43bc09=this[_0x190d78];this[_0x24f554(0x258)]('error',_0x41f688),this['on'](_0x24f554(0x32a),_0xd7c11c),_0x43bc09&&(_0x43bc09[_0x24f554(0x250)]=_0x2ebddc[_0x24f554(0x246)],this[_0x24f554(0x1fe)]());}return Oe;}var we,Je;function Dt(){if(Je)return we;Je=0x1,ke();const {Duplex:_0x22ea7a}=ne;function _0x2b24ff(_0x329cce){const _0x3bf825=_0x28f8;_0x329cce[_0x3bf825(0x37d)](_0x3bf825(0x31a));}function _0x373f8e(){const _0x5e2b01=_0x28f8;!this[_0x5e2b01(0x2ca)]&&this[_0x5e2b01(0x2bb)][_0x5e2b01(0x20f)]&&this['destroy']();}function _0x2a2fb4(_0x264c46){const _0x463cd4=_0x28f8;this[_0x463cd4(0x258)](_0x463cd4(0x32a),_0x2a2fb4),this[_0x463cd4(0x1fe)](),this[_0x463cd4(0x25a)](_0x463cd4(0x32a))===0x0&&this[_0x463cd4(0x37d)]('error',_0x264c46);}function _0x59ff2b(_0x51a038,_0x17c116){const _0x241101=_0x28f8;let _0x49a038=!0x0;const _0xcbbcec=new _0x22ea7a({..._0x17c116,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x51a038['on'](_0x241101(0x37c),function(_0x1bfcd8,_0x93869a){const _0x5e069c=_0x241101,_0x592c61=!_0x93869a&&_0xcbbcec['_readableState'][_0x5e069c(0x323)]?_0x1bfcd8['toString']():_0x1bfcd8;_0xcbbcec[_0x5e069c(0x204)](_0x592c61)||_0x51a038['pause']();}),_0x51a038[_0x241101(0x292)](_0x241101(0x32a),function(_0x11e390){const _0x5c043c=_0x241101;_0xcbbcec[_0x5c043c(0x2ca)]||(_0x49a038=!0x1,_0xcbbcec['destroy'](_0x11e390));}),_0x51a038[_0x241101(0x292)](_0x241101(0x31a),function(){const _0x2d63f2=_0x241101;_0xcbbcec[_0x2d63f2(0x2ca)]||_0xcbbcec[_0x2d63f2(0x204)](null);}),_0xcbbcec[_0x241101(0x329)]=function(_0x17857f,_0x361f0b){const _0x3d36dc=_0x241101;if(_0x51a038['readyState']===_0x51a038['CLOSED']){_0x361f0b(_0x17857f),process['nextTick'](_0x2b24ff,_0xcbbcec);return;}let _0x217f19=!0x1;_0x51a038[_0x3d36dc(0x292)](_0x3d36dc(0x32a),function(_0x2ab701){_0x217f19=!0x0,_0x361f0b(_0x2ab701);}),_0x51a038['once']('close',function(){const _0x1faf7a=_0x3d36dc;_0x217f19||_0x361f0b(_0x17857f),process[_0x1faf7a(0x372)](_0x2b24ff,_0xcbbcec);}),_0x49a038&&_0x51a038[_0x3d36dc(0x35f)]();},_0xcbbcec['_final']=function(_0x431623){const _0x266ec5=_0x241101;if(_0x51a038['readyState']===_0x51a038['CONNECTING']){_0x51a038[_0x266ec5(0x292)](_0x266ec5(0x272),function(){_0xcbbcec['_final'](_0x431623);});return;}_0x51a038['_socket']!==null&&(_0x51a038['_socket'][_0x266ec5(0x2bb)][_0x266ec5(0x20f)]?(_0x431623(),_0xcbbcec['_readableState'][_0x266ec5(0x263)]&&_0xcbbcec[_0x266ec5(0x1fe)]()):(_0x51a038['_socket'][_0x266ec5(0x292)](_0x266ec5(0x2c4),function(){_0x431623();}),_0x51a038[_0x266ec5(0x31a)]()));},_0xcbbcec[_0x241101(0x360)]=function(){const _0x7b5b88=_0x241101;_0x51a038[_0x7b5b88(0x2a9)]&&_0x51a038[_0x7b5b88(0x39d)]();},_0xcbbcec[_0x241101(0x209)]=function(_0x32372b,_0x4ab121,_0x2b20c7){const _0x1a6b92=_0x241101;if(_0x51a038['readyState']===_0x51a038[_0x1a6b92(0x373)]){_0x51a038[_0x1a6b92(0x292)](_0x1a6b92(0x272),function(){_0xcbbcec['_write'](_0x32372b,_0x4ab121,_0x2b20c7);});return;}_0x51a038[_0x1a6b92(0x313)](_0x32372b,_0x2b20c7);},_0xcbbcec['on'](_0x241101(0x328),_0x373f8e),_0xcbbcec['on'](_0x241101(0x32a),_0x2a2fb4),_0xcbbcec;}return we=_0x59ff2b,we;}Dt(),at(),lt();var Rt=ke();const Bt=Ct(Rt);function _0x28f8(_0x483c5c,_0x59f3b3){_0x483c5c=_0x483c5c-0x1e9;const _0x3f82fc=_0x3f82();let _0x28f8af=_0x3f82fc[_0x483c5c];return _0x28f8af;}var Ce,et;function Ut(){if(et)return Ce;et=0x1;const {tokenChars:_0x2b7959}=oe();function _0x5351c3(_0x221302){const _0x5569aa=_0x28f8,_0x4e45b0=new Set();let _0x531b19=-0x1,_0xad1a67=-0x1,_0x379171=0x0;for(_0x379171;_0x379171<_0x221302[_0x5569aa(0x363)];_0x379171++){const _0x2eefcc=_0x221302[_0x5569aa(0x2de)](_0x379171);if(_0xad1a67===-0x1&&_0x2b7959[_0x2eefcc]===0x1)_0x531b19===-0x1&&(_0x531b19=_0x379171);else{if(_0x379171!==0x0&&(_0x2eefcc===0x20||_0x2eefcc===0x9))_0xad1a67===-0x1&&_0x531b19!==-0x1&&(_0xad1a67=_0x379171);else{if(_0x2eefcc===0x2c){if(_0x531b19===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x379171);_0xad1a67===-0x1&&(_0xad1a67=_0x379171);const _0x198e83=_0x221302[_0x5569aa(0x336)](_0x531b19,_0xad1a67);if(_0x4e45b0[_0x5569aa(0x23e)](_0x198e83))throw new SyntaxError(_0x5569aa(0x2fd)+_0x198e83+_0x5569aa(0x371));_0x4e45b0[_0x5569aa(0x1ee)](_0x198e83),_0x531b19=_0xad1a67=-0x1;}else throw new SyntaxError(_0x5569aa(0x330)+_0x379171);}}}if(_0x531b19===-0x1||_0xad1a67!==-0x1)throw new SyntaxError(_0x5569aa(0x39c));const _0x2871fc=_0x221302[_0x5569aa(0x336)](_0x531b19,_0x379171);if(_0x4e45b0['has'](_0x2871fc))throw new SyntaxError('The\x20\x22'+_0x2871fc+_0x5569aa(0x371));return _0x4e45b0['add'](_0x2871fc),_0x4e45b0;}return Ce={'parse':_0x5351c3},Ce;}var Te,tt;function Mt(){const _0x30134c=_0x3a33c1;if(tt)return Te;tt=0x1;const _0x2e78f1=it,_0x3361e0=nt,{Duplex:_0x1a1152}=ne,{createHash:_0x51ef13}=Le,_0x11cca9=ft(),_0x11a9ec=ce(),_0x4ce86d=Ut(),_0x1264ab=ke(),{GUID:_0x5997c9,kWebSocket:_0x31b339}=H(),_0x3f5667=/^[+/0-9A-Za-z]{22}==$/,_0x5e6a40=0x0,_0x4272e0=0x1,_0x1718f6=0x2;class _0x552a7f extends _0x2e78f1{constructor(_0x769aae,_0x161170){const _0x355844=_0x28f8;if(super(),_0x769aae={'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':_0x1264ab,..._0x769aae},_0x769aae['port']==null&&!_0x769aae['server']&&!_0x769aae['noServer']||_0x769aae[_0x355844(0x2a3)]!=null&&(_0x769aae[_0x355844(0x1f4)]||_0x769aae[_0x355844(0x223)])||_0x769aae[_0x355844(0x1f4)]&&_0x769aae['noServer'])throw new TypeError(_0x355844(0x318));if(_0x769aae[_0x355844(0x2a3)]!=null?(this[_0x355844(0x2e0)]=_0x3361e0[_0x355844(0x26c)]((_0x2b4f6c,_0x8c01a8)=>{const _0x55cbcf=_0x355844,_0x34048a=_0x3361e0[_0x55cbcf(0x35c)][0x1aa];_0x8c01a8['writeHead'](0x1aa,{'Content-Length':_0x34048a['length'],'Content-Type':_0x55cbcf(0x327)}),_0x8c01a8[_0x55cbcf(0x328)](_0x34048a);}),this[_0x355844(0x2e0)][_0x355844(0x24e)](_0x769aae['port'],_0x769aae[_0x355844(0x33f)],_0x769aae[_0x355844(0x33c)],_0x161170)):_0x769aae[_0x355844(0x1f4)]&&(this[_0x355844(0x2e0)]=_0x769aae[_0x355844(0x1f4)]),this[_0x355844(0x2e0)]){const _0xbf4df7=this[_0x355844(0x37d)][_0x355844(0x340)](this,'connection');this[_0x355844(0x2f3)]=_0x8dd3a5(this[_0x355844(0x2e0)],{'listening':this[_0x355844(0x37d)][_0x355844(0x340)](this,'listening'),'error':this[_0x355844(0x37d)][_0x355844(0x340)](this,'error'),'upgrade':(_0x3c2b1b,_0x5dbc21,_0x52203c)=>{this['handleUpgrade'](_0x3c2b1b,_0x5dbc21,_0x52203c,_0xbf4df7);}});}_0x769aae[_0x355844(0x287)]===!0x0&&(_0x769aae['perMessageDeflate']={}),_0x769aae[_0x355844(0x2e9)]&&(this['clients']=new Set(),this[_0x355844(0x3a4)]=!0x1),this[_0x355844(0x385)]=_0x769aae,this['_state']=_0x5e6a40;}['address'](){const _0xf1a06a=_0x28f8;if(this[_0xf1a06a(0x385)]['noServer'])throw new Error(_0xf1a06a(0x240));return this['_server']?this['_server'][_0xf1a06a(0x2dd)]():null;}[_0x30134c(0x31a)](_0x5d08f5){const _0x3eec00=_0x30134c;if(this[_0x3eec00(0x2d9)]===_0x1718f6){_0x5d08f5&&this['once'](_0x3eec00(0x31a),()=>{_0x5d08f5(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x3eec00(0x372)](_0x590944,this);return;}if(_0x5d08f5&&this[_0x3eec00(0x292)](_0x3eec00(0x31a),_0x5d08f5),this['_state']!==_0x4272e0){if(this[_0x3eec00(0x2d9)]=_0x4272e0,this[_0x3eec00(0x385)][_0x3eec00(0x223)]||this['options'][_0x3eec00(0x1f4)])this[_0x3eec00(0x2e0)]&&(this['_removeListeners'](),this['_removeListeners']=this[_0x3eec00(0x2e0)]=null),this['clients']?this[_0x3eec00(0x1ed)]['size']?this[_0x3eec00(0x3a4)]=!0x0:process[_0x3eec00(0x372)](_0x590944,this):process['nextTick'](_0x590944,this);else{const _0x161799=this[_0x3eec00(0x2e0)];this[_0x3eec00(0x2f3)](),this['_removeListeners']=this['_server']=null,_0x161799['close'](()=>{_0x590944(this);});}}}['shouldHandle'](_0x4b10da){const _0x3f3f5d=_0x30134c;if(this[_0x3f3f5d(0x385)][_0x3f3f5d(0x38c)]){const _0x5304c0=_0x4b10da[_0x3f3f5d(0x34f)]['indexOf']('?');if((_0x5304c0!==-0x1?_0x4b10da[_0x3f3f5d(0x34f)][_0x3f3f5d(0x336)](0x0,_0x5304c0):_0x4b10da[_0x3f3f5d(0x34f)])!==this[_0x3f3f5d(0x385)]['path'])return!0x1;}return!0x0;}[_0x30134c(0x27b)](_0x26ad1f,_0x1d4939,_0x44d204,_0x2f3b8b){const _0x40f78b=_0x30134c;_0x1d4939['on']('error',_0x1575ee);const _0x41f651=_0x26ad1f[_0x40f78b(0x38d)][_0x40f78b(0x29f)],_0x6210e9=_0x26ad1f[_0x40f78b(0x38d)][_0x40f78b(0x216)],_0x5abbb7=+_0x26ad1f['headers'][_0x40f78b(0x2c6)];if(_0x26ad1f[_0x40f78b(0x2a6)]!==_0x40f78b(0x281)){_0x3c75aa(this,_0x26ad1f,_0x1d4939,0x195,_0x40f78b(0x388));return;}if(_0x6210e9===void 0x0||_0x6210e9[_0x40f78b(0x398)]()!==_0x40f78b(0x37f)){_0x3c75aa(this,_0x26ad1f,_0x1d4939,0x190,_0x40f78b(0x2f5));return;}if(_0x41f651===void 0x0||!_0x3f5667[_0x40f78b(0x2a0)](_0x41f651)){_0x3c75aa(this,_0x26ad1f,_0x1d4939,0x190,_0x40f78b(0x31c));return;}if(_0x5abbb7!==0xd&&_0x5abbb7!==0x8){_0x3c75aa(this,_0x26ad1f,_0x1d4939,0x190,_0x40f78b(0x2b9),{'Sec-WebSocket-Version':_0x40f78b(0x2c8)});return;}if(!this['shouldHandle'](_0x26ad1f)){_0xdf18d3(_0x1d4939,0x190);return;}const _0x4c2f8c=_0x26ad1f[_0x40f78b(0x38d)][_0x40f78b(0x26b)];let _0x55f1fc=new Set();if(_0x4c2f8c!==void 0x0)try{_0x55f1fc=_0x4ce86d[_0x40f78b(0x2f4)](_0x4c2f8c);}catch{_0x3c75aa(this,_0x26ad1f,_0x1d4939,0x190,_0x40f78b(0x32e));return;}const _0x47e2dd=_0x26ad1f[_0x40f78b(0x38d)][_0x40f78b(0x2b2)],_0x501653={};if(this[_0x40f78b(0x385)]['perMessageDeflate']&&_0x47e2dd!==void 0x0){const _0x5041ec=new _0x11a9ec(this[_0x40f78b(0x385)][_0x40f78b(0x287)],!0x0,this[_0x40f78b(0x385)]['maxPayload']);try{const _0x43e368=_0x11cca9['parse'](_0x47e2dd);_0x43e368[_0x11a9ec[_0x40f78b(0x36f)]]&&(_0x5041ec['accept'](_0x43e368[_0x11a9ec['extensionName']]),_0x501653[_0x11a9ec['extensionName']]=_0x5041ec);}catch{_0x3c75aa(this,_0x26ad1f,_0x1d4939,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x40f78b(0x385)][_0x40f78b(0x2d4)]){const _0x3258c1={'origin':_0x26ad1f[_0x40f78b(0x38d)][''+(_0x5abbb7===0x8?_0x40f78b(0x217):'origin')],'secure':!!(_0x26ad1f[_0x40f78b(0x284)][_0x40f78b(0x351)]||_0x26ad1f[_0x40f78b(0x284)][_0x40f78b(0x38a)]),'req':_0x26ad1f};if(this[_0x40f78b(0x385)]['verifyClient'][_0x40f78b(0x363)]===0x2){this['options'][_0x40f78b(0x2d4)](_0x3258c1,(_0x5849f9,_0x16c947,_0x8f320a,_0x3ff06f)=>{const _0x548350=_0x40f78b;if(!_0x5849f9)return _0xdf18d3(_0x1d4939,_0x16c947||0x191,_0x8f320a,_0x3ff06f);this[_0x548350(0x335)](_0x501653,_0x41f651,_0x55f1fc,_0x26ad1f,_0x1d4939,_0x44d204,_0x2f3b8b);});return;}if(!this['options']['verifyClient'](_0x3258c1))return _0xdf18d3(_0x1d4939,0x191);}this[_0x40f78b(0x335)](_0x501653,_0x41f651,_0x55f1fc,_0x26ad1f,_0x1d4939,_0x44d204,_0x2f3b8b);}[_0x30134c(0x335)](_0x5fbfe1,_0x4d71c4,_0x21370f,_0x29a92d,_0x56f789,_0xd9b23a,_0x39f351){const _0x3fd13d=_0x30134c;if(!_0x56f789[_0x3fd13d(0x37e)]||!_0x56f789['writable'])return _0x56f789[_0x3fd13d(0x1fe)]();if(_0x56f789[_0x31b339])throw new Error(_0x3fd13d(0x370));if(this[_0x3fd13d(0x2d9)]>_0x5e6a40)return _0xdf18d3(_0x56f789,0x1f7);const _0xf778e1=[_0x3fd13d(0x1fa),'Upgrade:\x20websocket',_0x3fd13d(0x384),_0x3fd13d(0x311)+_0x51ef13(_0x3fd13d(0x261))[_0x3fd13d(0x374)](_0x4d71c4+_0x5997c9)[_0x3fd13d(0x2e3)](_0x3fd13d(0x20b))],_0x5f3120=new this[(_0x3fd13d(0x385))][(_0x3fd13d(0x358))](null,void 0x0,this[_0x3fd13d(0x385)]);if(_0x21370f[_0x3fd13d(0x201)]){const _0x3922aa=this['options'][_0x3fd13d(0x344)]?this[_0x3fd13d(0x385)][_0x3fd13d(0x344)](_0x21370f,_0x29a92d):_0x21370f[_0x3fd13d(0x218)]()['next']()['value'];_0x3922aa&&(_0xf778e1['push'](_0x3fd13d(0x28d)+_0x3922aa),_0x5f3120['_protocol']=_0x3922aa);}if(_0x5fbfe1[_0x11a9ec[_0x3fd13d(0x36f)]]){const _0x339679=_0x5fbfe1[_0x11a9ec[_0x3fd13d(0x36f)]]['params'],_0x14876d=_0x11cca9['format']({[_0x11a9ec[_0x3fd13d(0x36f)]]:[_0x339679]});_0xf778e1[_0x3fd13d(0x204)](_0x3fd13d(0x297)+_0x14876d),_0x5f3120[_0x3fd13d(0x3a3)]=_0x5fbfe1;}this[_0x3fd13d(0x37d)](_0x3fd13d(0x38d),_0xf778e1,_0x29a92d),_0x56f789[_0x3fd13d(0x302)](_0xf778e1[_0x3fd13d(0x213)]('\x0d\x0a')[_0x3fd13d(0x2c7)]('\x0d\x0a')),_0x56f789[_0x3fd13d(0x258)](_0x3fd13d(0x32a),_0x1575ee),_0x5f3120[_0x3fd13d(0x28b)](_0x56f789,_0xd9b23a,{'allowSynchronousEvents':this[_0x3fd13d(0x385)][_0x3fd13d(0x348)],'maxPayload':this[_0x3fd13d(0x385)]['maxPayload'],'skipUTF8Validation':this['options'][_0x3fd13d(0x332)]}),this[_0x3fd13d(0x1ed)]&&(this[_0x3fd13d(0x1ed)]['add'](_0x5f3120),_0x5f3120['on']('close',()=>{const _0x53cbc7=_0x3fd13d;this['clients'][_0x53cbc7(0x30a)](_0x5f3120),this['_shouldEmitClose']&&!this[_0x53cbc7(0x1ed)][_0x53cbc7(0x201)]&&process['nextTick'](_0x590944,this);})),_0x39f351(_0x5f3120,_0x29a92d);}}Te=_0x552a7f;function _0x8dd3a5(_0x5dc469,_0x3b211c){const _0x36974f=_0x30134c;for(const _0x18f17d of Object[_0x36974f(0x21f)](_0x3b211c))_0x5dc469['on'](_0x18f17d,_0x3b211c[_0x18f17d]);return function(){const _0x6bd52e=_0x36974f;for(const _0x401e42 of Object[_0x6bd52e(0x21f)](_0x3b211c))_0x5dc469[_0x6bd52e(0x258)](_0x401e42,_0x3b211c[_0x401e42]);};}function _0x590944(_0xe32b9f){const _0x47d906=_0x30134c;_0xe32b9f[_0x47d906(0x2d9)]=_0x1718f6,_0xe32b9f[_0x47d906(0x37d)](_0x47d906(0x31a));}function _0x1575ee(){const _0x51c840=_0x30134c;this[_0x51c840(0x1fe)]();}function _0xdf18d3(_0x49c22d,_0xd51666,_0x5a4853,_0x420399){const _0x1b61ed=_0x30134c;_0x5a4853=_0x5a4853||_0x3361e0[_0x1b61ed(0x35c)][_0xd51666],_0x420399={'Connection':_0x1b61ed(0x31a),'Content-Type':'text/html','Content-Length':Buffer[_0x1b61ed(0x316)](_0x5a4853),..._0x420399},_0x49c22d['once']('finish',_0x49c22d[_0x1b61ed(0x1fe)]),_0x49c22d['end'](_0x1b61ed(0x36a)+_0xd51666+'\x20'+_0x3361e0['STATUS_CODES'][_0xd51666]+'\x0d\x0a'+Object[_0x1b61ed(0x21f)](_0x420399)['map'](_0x15ae84=>_0x15ae84+':\x20'+_0x420399[_0x15ae84])['join']('\x0d\x0a')+_0x1b61ed(0x320)+_0x5a4853);}function _0x3c75aa(_0x331532,_0x5a70fb,_0x4f27d8,_0x4a3284,_0x53978a,_0x3e2bcd){const _0x5b4689=_0x30134c;if(_0x331532['listenerCount']('wsClientError')){const _0x7d4f74=new Error(_0x53978a);Error[_0x5b4689(0x305)](_0x7d4f74,_0x3c75aa),_0x331532['emit'](_0x5b4689(0x2c3),_0x7d4f74,_0x4f27d8,_0x5a70fb);}else _0xdf18d3(_0x4f27d8,_0x4a3284,_0x53978a,_0x3e2bcd);}return Te;}Mt();var At=Object[_0x3a33c1(0x352)],$t=(_0x2e4772,_0x41ad16,_0x47457d,_0x362d04)=>{for(var _0x47b230=_0x362d04>0x1?void 0x0:_0x362d04?At(_0x41ad16,_0x47457d):_0x41ad16,_0x5f0351=_0x2e4772['length']-0x1,_0x5c1304;_0x5f0351>=0x0;_0x5f0351--)(_0x5c1304=_0x2e4772[_0x5f0351])&&(_0x47b230=_0x5c1304(_0x47b230)||_0x47b230);return _0x47b230;},Ft=(_0x56e3e8,_0x28e04b)=>(_0x461499,_0x2a1575)=>_0x28e04b(_0x461499,_0x2a1575,_0x56e3e8);let Ne=class extends F[_0x3a33c1(0x2b7)]{constructor(_0x413c06){super(),this['_configService']=_0x413c06;}[_0x3a33c1(0x306)](_0xab71df){const _0x40ebaa=_0x3a33c1;var _0xcbcb61;const _0x1a8b8a=((_0xcbcb61=this[_0x40ebaa(0x299)][_0x40ebaa(0x29e)](le[_0x40ebaa(0x24c)]))==null?void 0x0:_0xcbcb61[_0x40ebaa(0x1f5)])||{};try{const _0x9f7bcf=new Bt(_0xab71df,{'headers':{..._0x1a8b8a}}),_0x365503=new F[(_0x40ebaa(0x37a))]();return{'URL':_0xab71df,'close':(_0x823e32,_0xa951c7)=>{const _0x2de18b=_0x40ebaa;_0x9f7bcf[_0x2de18b(0x31a)](_0x823e32,_0xa951c7),_0x365503[_0x2de18b(0x267)]();},'send':_0x373049=>{const _0x2f64ff=_0x40ebaa;_0x9f7bcf[_0x2f64ff(0x313)](_0x373049);},'open$':new V['Observable'](_0x3994f4=>{const _0x1c1dc3=_0x40ebaa,_0x123cfb=_0x34ab08=>_0x3994f4['next'](_0x34ab08);_0x9f7bcf[_0x1c1dc3(0x32c)](_0x1c1dc3(0x272),_0x123cfb),_0x365503[_0x1c1dc3(0x1ee)](F[_0x1c1dc3(0x269)](()=>_0x9f7bcf[_0x1c1dc3(0x386)](_0x1c1dc3(0x272),_0x123cfb)));})[_0x40ebaa(0x337)](V[_0x40ebaa(0x280)]()),'close$':new V['Observable'](_0x3bce45=>{const _0x23b8a9=_0x40ebaa,_0x4413ef=_0x3786c9=>_0x3bce45[_0x23b8a9(0x34d)](_0x3786c9);_0x9f7bcf[_0x23b8a9(0x32c)](_0x23b8a9(0x31a),_0x4413ef),_0x365503[_0x23b8a9(0x1ee)](F[_0x23b8a9(0x269)](()=>_0x9f7bcf[_0x23b8a9(0x386)](_0x23b8a9(0x31a),_0x4413ef)));})['pipe'](V[_0x40ebaa(0x280)]()),'error$':new V[(_0x40ebaa(0x37b))](_0x3ee2a2=>{const _0x177b9c=_0x40ebaa,_0x1dfe28=_0x28a535=>_0x3ee2a2[_0x177b9c(0x34d)](_0x28a535);_0x9f7bcf[_0x177b9c(0x32c)]('error',_0x1dfe28),_0x365503['add'](F[_0x177b9c(0x269)](()=>_0x9f7bcf['removeEventListener'](_0x177b9c(0x32a),_0x1dfe28)));})[_0x40ebaa(0x337)](V[_0x40ebaa(0x280)]()),'message$':new V['Observable'](_0x1bdf11=>{const _0x4ef7ba=_0x40ebaa,_0x20f443=_0x39eb5c=>_0x1bdf11[_0x4ef7ba(0x34d)](_0x39eb5c);_0x9f7bcf['addEventListener'](_0x4ef7ba(0x37c),_0x20f443),_0x365503[_0x4ef7ba(0x1ee)](F[_0x4ef7ba(0x269)](()=>_0x9f7bcf[_0x4ef7ba(0x386)](_0x4ef7ba(0x37c),_0x20f443)));})[_0x40ebaa(0x337)](V['share']())};}catch(_0x5ae68a){return console[_0x40ebaa(0x32a)](_0x5ae68a),null;}}};Ne=$t([Ft(0x0,F[_0x3a33c1(0x322)])],Ne);var jt=Object[_0x3a33c1(0x378)],Wt=Object[_0x3a33c1(0x352)],Gt=(_0x50daed,_0x448f05,_0x1829a3)=>_0x448f05 in _0x50daed?jt(_0x50daed,_0x448f05,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1829a3}):_0x50daed[_0x448f05]=_0x1829a3,qt=(_0x4a4812,_0x39df68,_0x21f782,_0x2b452d)=>{for(var _0x578d96=_0x2b452d>0x1?void 0x0:_0x2b452d?Wt(_0x39df68,_0x21f782):_0x39df68,_0x1e6d13=_0x4a4812['length']-0x1,_0x62327d;_0x1e6d13>=0x0;_0x1e6d13--)(_0x62327d=_0x4a4812[_0x1e6d13])&&(_0x578d96=_0x62327d(_0x578d96)||_0x578d96);return _0x578d96;},rt=(_0x4f65b0,_0x2d9455)=>(_0x3da97d,_0x460d43)=>_0x2d9455(_0x3da97d,_0x460d43,_0x4f65b0),Vt=(_0x41e83c,_0x1a9d95,_0xb7004c)=>Gt(_0x41e83c,_0x1a9d95+'',_0xb7004c);exports['UniverCollaborationClientNodePlugin']=class extends F[_0x3a33c1(0x208)]{constructor(_0x2793d8=wt,_0x26efd9,_0x23ed74){const _0x28fdfa=_0x3a33c1;super(),this['_configService']=_0x26efd9,this[_0x28fdfa(0x359)]=_0x23ed74,this[_0x28fdfa(0x299)][_0x28fdfa(0x2c2)](ot,_0x2793d8);}[_0x3a33c1(0x245)](){const _0x399799=_0x3a33c1;this[_0x399799(0x26f)]();}['_registerDependencies'](){const _0x58c0e9=_0x3a33c1;F[_0x58c0e9(0x317)](this[_0x58c0e9(0x359)],[[st[_0x58c0e9(0x207)],{'useClass':Ne}]]);}},Vt(exports[_0x3a33c1(0x205)],'pluginName',_0x3a33c1(0x2cd)),exports[_0x3a33c1(0x205)]=qt([F['DependentOn'](le[_0x3a33c1(0x2a8)]),rt(0x1,F['IConfigService']),rt(0x2,F['Inject'](F[_0x3a33c1(0x24a)]))],exports[_0x3a33c1(0x205)]);var Ht=Object[_0x3a33c1(0x352)],zt=(_0x16b60d,_0x48751b,_0x4dcf3f,_0x5462c1)=>{const _0x33d26f=_0x3a33c1;for(var _0x3a50dc=_0x5462c1>0x1?void 0x0:_0x5462c1?Ht(_0x48751b,_0x4dcf3f):_0x48751b,_0x3cb3d4=_0x16b60d[_0x33d26f(0x363)]-0x1,_0xe4cb7f;_0x3cb3d4>=0x0;_0x3cb3d4--)(_0xe4cb7f=_0x16b60d[_0x3cb3d4])&&(_0x3a50dc=_0xe4cb7f(_0x3a50dc)||_0x3a50dc);return _0x3a50dc;},ie=(_0x2a5acf,_0xd7ba10)=>(_0x235ae5,_0x1bd02c)=>_0xd7ba10(_0x235ae5,_0x1bd02c,_0x2a5acf);exports[_0x3a33c1(0x237)]=class extends le[_0x3a33c1(0x300)]{constructor(_0x5377c3,_0x2df85a,_0x2f5ad6,_0x398f94,_0x2f073f){const _0x413310=_0x3a33c1;super(_0x5377c3,_0x2df85a,_0x2f5ad6,_0x398f94,_0x2f073f);const _0x54a059=this['_configService'][_0x413310(0x29e)](le['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']);this['_httpService'][_0x413310(0x2ff)]({'interceptor':(_0x15ab4c,_0x1bbfa0)=>{const _0x5e20e=_0x413310;var _0x5bb87d;const _0x20dc4b=_0x15ab4c[_0x5e20e(0x38d)];return(_0x5bb87d=_0x54a059==null?void 0x0:_0x54a059[_0x5e20e(0x1f5)])!=null&&_0x5bb87d['cookie']&&_0x20dc4b['set']('Cookie',_0x54a059[_0x5e20e(0x1f5)][_0x5e20e(0x2ad)]),_0x1bbfa0(_0x15ab4c);}});}async['createSocket'](_0x220b0c){return this['_doCreateSocket'](_0x220b0c);}},exports[_0x3a33c1(0x237)]=zt([ie(0x0,F[_0x3a33c1(0x342)](F[_0x3a33c1(0x24a)])),ie(0x1,F['Inject'](st['HTTPService'])),ie(0x2,F['IConfigService']),ie(0x3,F[_0x3a33c1(0x2b4)]),ie(0x4,Ot[_0x3a33c1(0x2a5)])],exports[_0x3a33c1(0x237)]),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=ot;