@univerjs-pro/collaboration-client-node 0.6.10-nightly.202504161609 → 0.6.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x25de60=_0x5b32;(function(_0x508f22,_0x134c4f){const _0x57f822=_0x5b32,_0x22afe2=_0x508f22();while(!![]){try{const _0x51066e=parseInt(_0x57f822(0x32c))/0x1+-parseInt(_0x57f822(0x2bc))/0x2*(-parseInt(_0x57f822(0x323))/0x3)+parseInt(_0x57f822(0x1df))/0x4*(-parseInt(_0x57f822(0x2d8))/0x5)+-parseInt(_0x57f822(0x32d))/0x6*(parseInt(_0x57f822(0x247))/0x7)+parseInt(_0x57f822(0x332))/0x8*(parseInt(_0x57f822(0x226))/0x9)+parseInt(_0x57f822(0x1c5))/0xa*(parseInt(_0x57f822(0x307))/0xb)+-parseInt(_0x57f822(0x23a))/0xc;if(_0x51066e===_0x134c4f)break;else _0x22afe2['push'](_0x22afe2['shift']());}catch(_0x1d41c8){_0x22afe2['push'](_0x22afe2['shift']());}}}(_0x480b,0x318fe));import{UniverCollaborationClientPlugin as _0x9a76bf,CollaborationSocketService as _0x5cbbac}from'@univerjs-pro/collaboration-client';import{Disposable as _0x4e681f,DisposableCollection as _0x26232c,toDisposable as _0x106ade,IConfigService as _0x56545c,DependentOn as _0xae7ce8,ILogService as _0x4df8af,Inject as _0x34d6ee,Injector as _0x3f9b16,Plugin as _0x126c96,registerDependencies as _0x3d392c}from'@univerjs/core';import{ISocketService as _0x12465f,HTTPService as _0x1fb41d}from'@univerjs/network';import{Observable as _0x2e254b,share as _0x22d3c8}from'rxjs';import _0x72dd84 from'events';import _0x5086af from'https';import _0x57d2ad from'http';import _0x347dd8 from'net';import _0x2ef957 from'tls';import _0x2cbaf3 from'crypto';import _0x3fec88 from'stream';import _0x18ef3a from'url';import _0xd892bb from'zlib';import _0x31f18e from'buffer';import{ISnapshotServerService as _0x2d2be2}from'@univerjs-pro/collaboration';const Be=_0x25de60(0x343),Ft={'customHeaders':{}};function jt(_0x40fcc9){const _0x298cb3=_0x25de60;return _0x40fcc9&&_0x40fcc9['__esModule']&&Object[_0x298cb3(0x2ba)]['hasOwnProperty'][_0x298cb3(0x282)](_0x40fcc9,_0x298cb3(0x240))?_0x40fcc9[_0x298cb3(0x240)]:_0x40fcc9;}function ut(_0x174fb3){const _0x2ba746=_0x25de60;if(Object[_0x2ba746(0x2ba)][_0x2ba746(0x1b8)]['call'](_0x174fb3,_0x2ba746(0x2b6)))return _0x174fb3;var _0x46a79f=_0x174fb3['default'];if(typeof _0x46a79f=='function'){var _0x3f6547=function _0xb4e85b(){const _0x10cf40=_0x2ba746;return this instanceof _0xb4e85b?Reflect['construct'](_0x46a79f,arguments,this[_0x10cf40(0x345)]):_0x46a79f['apply'](this,arguments);};_0x3f6547['prototype']=_0x46a79f['prototype'];}else _0x3f6547={};return Object[_0x2ba746(0x222)](_0x3f6547,_0x2ba746(0x2b6),{'value':!0x0}),Object[_0x2ba746(0x245)](_0x174fb3)[_0x2ba746(0x229)](function(_0x46d796){const _0x29c69f=_0x2ba746;var _0x473fe3=Object[_0x29c69f(0x2f9)](_0x174fb3,_0x46d796);Object[_0x29c69f(0x222)](_0x3f6547,_0x46d796,_0x473fe3[_0x29c69f(0x1d7)]?_0x473fe3:{'enumerable':!0x0,'get':function(){return _0x174fb3[_0x46d796];}});}),_0x3f6547;}var te={'exports':{}},ge,Ye;function V(){const _0x59c7e8=_0x25de60;if(Ye)return ge;Ye=0x1;const _0x3f1057=[_0x59c7e8(0x1fd),_0x59c7e8(0x231),_0x59c7e8(0x273)],_0x2ece5e=typeof Blob<'u';return _0x2ece5e&&_0x3f1057[_0x59c7e8(0x1f0)](_0x59c7e8(0x2e4)),ge={'BINARY_TYPES':_0x3f1057,'EMPTY_BUFFER':Buffer[_0x59c7e8(0x2da)](0x0),'GUID':_0x59c7e8(0x337),'hasBlob':_0x2ece5e,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x59c7e8(0x2f7)),'kWebSocket':Symbol(_0x59c7e8(0x24a)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x25de60(0x1ea)](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol['toStringTag'],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x4019eb=_0x25de60;if(Ke)return te[_0x4019eb(0x2f2)];Ke=0x1;const {EMPTY_BUFFER:_0xa7d48a}=V(),_0x5916d9=Buffer[Symbol[_0x4019eb(0x278)]];function _0x9e3220(_0x4ac84b,_0x13f15d){const _0x20260e=_0x4019eb;if(_0x4ac84b[_0x20260e(0x1eb)]===0x0)return _0xa7d48a;if(_0x4ac84b[_0x20260e(0x1eb)]===0x1)return _0x4ac84b[0x0];const _0x14d620=Buffer[_0x20260e(0x2d3)](_0x13f15d);let _0x89546=0x0;for(let _0x573296=0x0;_0x573296<_0x4ac84b[_0x20260e(0x1eb)];_0x573296++){const _0x2afe1c=_0x4ac84b[_0x573296];_0x14d620[_0x20260e(0x352)](_0x2afe1c,_0x89546),_0x89546+=_0x2afe1c['length'];}return _0x89546<_0x13f15d?new _0x5916d9(_0x14d620[_0x20260e(0x1cb)],_0x14d620[_0x20260e(0x32b)],_0x89546):_0x14d620;}function _0x27f8bd(_0x53d4df,_0x176d1c,_0x2a9d8c,_0x2604b2,_0x198345){for(let _0x4cd3a6=0x0;_0x4cd3a6<_0x198345;_0x4cd3a6++)_0x2a9d8c[_0x2604b2+_0x4cd3a6]=_0x53d4df[_0x4cd3a6]^_0x176d1c[_0x4cd3a6&0x3];}function _0x44c403(_0x24b6f8,_0x356d0e){const _0x2ebe40=_0x4019eb;for(let _0x565096=0x0;_0x565096<_0x24b6f8[_0x2ebe40(0x1eb)];_0x565096++)_0x24b6f8[_0x565096]^=_0x356d0e[_0x565096&0x3];}function _0x22ae9b(_0x17ced1){const _0x2786c5=_0x4019eb;return _0x17ced1[_0x2786c5(0x1eb)]===_0x17ced1[_0x2786c5(0x1cb)][_0x2786c5(0x2ef)]?_0x17ced1[_0x2786c5(0x1cb)]:_0x17ced1[_0x2786c5(0x1cb)][_0x2786c5(0x249)](_0x17ced1['byteOffset'],_0x17ced1['byteOffset']+_0x17ced1[_0x2786c5(0x1eb)]);}function _0x1153d9(_0x4ebe9b){const _0x2181cf=_0x4019eb;if(_0x1153d9[_0x2181cf(0x29a)]=!0x0,Buffer[_0x2181cf(0x29d)](_0x4ebe9b))return _0x4ebe9b;let _0x5921c2;return _0x4ebe9b instanceof ArrayBuffer?_0x5921c2=new _0x5916d9(_0x4ebe9b):ArrayBuffer[_0x2181cf(0x318)](_0x4ebe9b)?_0x5921c2=new _0x5916d9(_0x4ebe9b['buffer'],_0x4ebe9b[_0x2181cf(0x32b)],_0x4ebe9b['byteLength']):(_0x5921c2=Buffer[_0x2181cf(0x1c6)](_0x4ebe9b),_0x1153d9[_0x2181cf(0x29a)]=!0x1),_0x5921c2;}if(te[_0x4019eb(0x2f2)]={'concat':_0x9e3220,'mask':_0x27f8bd,'toArrayBuffer':_0x22ae9b,'toBuffer':_0x1153d9,'unmask':_0x44c403},!process[_0x4019eb(0x1dd)][_0x4019eb(0x353)])try{const _0x5275ec=Vt;te[_0x4019eb(0x2f2)]['mask']=function(_0xb1dae6,_0x2b3d8e,_0x105958,_0xa7ea3b,_0xbb10eb){const _0x58328f=_0x4019eb;_0xbb10eb<0x30?_0x27f8bd(_0xb1dae6,_0x2b3d8e,_0x105958,_0xa7ea3b,_0xbb10eb):_0x5275ec[_0x58328f(0x2cf)](_0xb1dae6,_0x2b3d8e,_0x105958,_0xa7ea3b,_0xbb10eb);},te[_0x4019eb(0x2f2)]['unmask']=function(_0x45f64b,_0x1ffc78){const _0x4cdf65=_0x4019eb;_0x45f64b[_0x4cdf65(0x1eb)]<0x20?_0x44c403(_0x45f64b,_0x1ffc78):_0x5275ec[_0x4cdf65(0x28b)](_0x45f64b,_0x1ffc78);};}catch{}return te[_0x4019eb(0x2f2)];}var ye,Xe;function qt(){const _0x3df9f9=_0x25de60;if(Xe)return ye;Xe=0x1;const _0x2a0a7e=Symbol(_0x3df9f9(0x2a5)),_0x11d462=Symbol(_0x3df9f9(0x1b5));class _0x28f533{constructor(_0x484279){const _0x5aa40d=_0x3df9f9;this[_0x2a0a7e]=()=>{const _0x5f46c0=_0x5b32;this[_0x5f46c0(0x24f)]--,this[_0x11d462]();},this[_0x5aa40d(0x2ed)]=_0x484279||0x1/0x0,this[_0x5aa40d(0x26a)]=[],this[_0x5aa40d(0x24f)]=0x0;}[_0x3df9f9(0x2df)](_0x2dcce9){const _0x32845d=_0x3df9f9;this[_0x32845d(0x26a)][_0x32845d(0x1f0)](_0x2dcce9),this[_0x11d462]();}[_0x11d462](){const _0x39e0a8=_0x3df9f9;if(this[_0x39e0a8(0x24f)]!==this[_0x39e0a8(0x2ed)]&&this[_0x39e0a8(0x26a)][_0x39e0a8(0x1eb)]){const _0x2d5b16=this[_0x39e0a8(0x26a)][_0x39e0a8(0x2c6)]();this[_0x39e0a8(0x24f)]++,_0x2d5b16(this[_0x2a0a7e]);}}}return ye=_0x28f533,ye;}var ve,Ze;function he(){const _0xe4513a=_0x25de60;if(Ze)return ve;Ze=0x1;const _0x104f37=_0xd892bb,_0x33e06b=ce(),_0x4d7558=qt(),{kStatusCode:_0x91b9ef}=V(),_0x46cbed=Buffer[Symbol[_0xe4513a(0x278)]],_0x12cd06=Buffer[_0xe4513a(0x1c6)]([0x0,0x0,0xff,0xff]),_0x90ecf=Symbol(_0xe4513a(0x31e)),_0x1adbea=Symbol(_0xe4513a(0x221)),_0x2db442=Symbol('callback'),_0x4928e7=Symbol(_0xe4513a(0x346)),_0x688e70=Symbol(_0xe4513a(0x34f));let _0x9383bf;class _0x259800{constructor(_0x2de10d,_0x10e735,_0x1f8c03){const _0x4e09d7=_0xe4513a;if(this[_0x4e09d7(0x2c5)]=_0x1f8c03|0x0,this[_0x4e09d7(0x2b5)]=_0x2de10d||{},this[_0x4e09d7(0x339)]=this[_0x4e09d7(0x2b5)]['threshold']!==void 0x0?this[_0x4e09d7(0x2b5)][_0x4e09d7(0x25e)]:0x400,this[_0x4e09d7(0x294)]=!!_0x10e735,this[_0x4e09d7(0x29e)]=null,this[_0x4e09d7(0x234)]=null,this[_0x4e09d7(0x23b)]=null,!_0x9383bf){const _0x1c602a=this['_options'][_0x4e09d7(0x1f2)]!==void 0x0?this['_options'][_0x4e09d7(0x1f2)]:0xa;_0x9383bf=new _0x4d7558(_0x1c602a);}}static get['extensionName'](){return'permessage-deflate';}[_0xe4513a(0x1ed)](){const _0x540f5b=_0xe4513a,_0x1327ae={};return this[_0x540f5b(0x2b5)][_0x540f5b(0x31c)]&&(_0x1327ae[_0x540f5b(0x258)]=!0x0),this[_0x540f5b(0x2b5)]['clientNoContextTakeover']&&(_0x1327ae[_0x540f5b(0x23d)]=!0x0),this['_options'][_0x540f5b(0x280)]&&(_0x1327ae['server_max_window_bits']=this[_0x540f5b(0x2b5)][_0x540f5b(0x280)]),this[_0x540f5b(0x2b5)][_0x540f5b(0x1af)]?_0x1327ae[_0x540f5b(0x33d)]=this[_0x540f5b(0x2b5)][_0x540f5b(0x1af)]:this[_0x540f5b(0x2b5)]['clientMaxWindowBits']==null&&(_0x1327ae[_0x540f5b(0x33d)]=!0x0),_0x1327ae;}[_0xe4513a(0x27f)](_0x1c2c80){const _0x3357c3=_0xe4513a;return _0x1c2c80=this[_0x3357c3(0x2d5)](_0x1c2c80),this[_0x3357c3(0x23b)]=this['_isServer']?this[_0x3357c3(0x295)](_0x1c2c80):this['acceptAsClient'](_0x1c2c80),this[_0x3357c3(0x23b)];}['cleanup'](){const _0x1bfff0=_0xe4513a;if(this['_inflate']&&(this[_0x1bfff0(0x234)][_0x1bfff0(0x235)](),this['_inflate']=null),this['_deflate']){const _0x1f32fd=this[_0x1bfff0(0x29e)][_0x2db442];this[_0x1bfff0(0x29e)]['close'](),this[_0x1bfff0(0x29e)]=null,_0x1f32fd&&_0x1f32fd(new Error(_0x1bfff0(0x1e1)));}}[_0xe4513a(0x295)](_0x3ff7ff){const _0x35a671=_0xe4513a,_0x195119=this['_options'],_0x51ab55=_0x3ff7ff[_0x35a671(0x33e)](_0x4ef25b=>!(_0x195119[_0x35a671(0x31c)]===!0x1&&_0x4ef25b[_0x35a671(0x258)]||_0x4ef25b['server_max_window_bits']&&(_0x195119[_0x35a671(0x280)]===!0x1||typeof _0x195119[_0x35a671(0x280)]==_0x35a671(0x2b2)&&_0x195119[_0x35a671(0x280)]>_0x4ef25b['server_max_window_bits'])||typeof _0x195119[_0x35a671(0x1af)]=='number'&&!_0x4ef25b[_0x35a671(0x33d)]));if(!_0x51ab55)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x195119[_0x35a671(0x31c)]&&(_0x51ab55[_0x35a671(0x258)]=!0x0),_0x195119[_0x35a671(0x2ab)]&&(_0x51ab55[_0x35a671(0x23d)]=!0x0),typeof _0x195119[_0x35a671(0x280)]==_0x35a671(0x2b2)&&(_0x51ab55['server_max_window_bits']=_0x195119[_0x35a671(0x280)]),typeof _0x195119[_0x35a671(0x1af)]=='number'?_0x51ab55[_0x35a671(0x33d)]=_0x195119[_0x35a671(0x1af)]:(_0x51ab55[_0x35a671(0x33d)]===!0x0||_0x195119[_0x35a671(0x1af)]===!0x1)&&delete _0x51ab55[_0x35a671(0x33d)],_0x51ab55;}['acceptAsClient'](_0x10c720){const _0x18a6d0=_0xe4513a,_0x273295=_0x10c720[0x0];if(this[_0x18a6d0(0x2b5)]['clientNoContextTakeover']===!0x1&&_0x273295[_0x18a6d0(0x23d)])throw new Error(_0x18a6d0(0x32f));if(!_0x273295[_0x18a6d0(0x33d)])typeof this[_0x18a6d0(0x2b5)][_0x18a6d0(0x1af)]==_0x18a6d0(0x2b2)&&(_0x273295[_0x18a6d0(0x33d)]=this[_0x18a6d0(0x2b5)][_0x18a6d0(0x1af)]);else{if(this[_0x18a6d0(0x2b5)][_0x18a6d0(0x1af)]===!0x1||typeof this[_0x18a6d0(0x2b5)][_0x18a6d0(0x1af)]==_0x18a6d0(0x2b2)&&_0x273295[_0x18a6d0(0x33d)]>this[_0x18a6d0(0x2b5)][_0x18a6d0(0x1af)])throw new Error(_0x18a6d0(0x22c));}return _0x273295;}['normalizeParams'](_0x382e81){const _0x1b0824=_0xe4513a;return _0x382e81[_0x1b0824(0x229)](_0x3df5ed=>{const _0x55409b=_0x1b0824;Object[_0x55409b(0x245)](_0x3df5ed)[_0x55409b(0x229)](_0x5dd008=>{const _0x4b6548=_0x55409b;let _0x1f5516=_0x3df5ed[_0x5dd008];if(_0x1f5516[_0x4b6548(0x1eb)]>0x1)throw new Error(_0x4b6548(0x2a7)+_0x5dd008+_0x4b6548(0x311));if(_0x1f5516=_0x1f5516[0x0],_0x5dd008===_0x4b6548(0x33d)){if(_0x1f5516!==!0x0){const _0x3badd8=+_0x1f5516;if(!Number[_0x4b6548(0x301)](_0x3badd8)||_0x3badd8<0x8||_0x3badd8>0xf)throw new TypeError(_0x4b6548(0x1fb)+_0x5dd008+'\x22:\x20'+_0x1f5516);_0x1f5516=_0x3badd8;}else{if(!this[_0x4b6548(0x294)])throw new TypeError(_0x4b6548(0x1fb)+_0x5dd008+'\x22:\x20'+_0x1f5516);}}else{if(_0x5dd008==='server_max_window_bits'){const _0x3bc565=+_0x1f5516;if(!Number['isInteger'](_0x3bc565)||_0x3bc565<0x8||_0x3bc565>0xf)throw new TypeError(_0x4b6548(0x1fb)+_0x5dd008+'\x22:\x20'+_0x1f5516);_0x1f5516=_0x3bc565;}else{if(_0x5dd008==='client_no_context_takeover'||_0x5dd008===_0x4b6548(0x258)){if(_0x1f5516!==!0x0)throw new TypeError(_0x4b6548(0x1fb)+_0x5dd008+_0x4b6548(0x2ce)+_0x1f5516);}else throw new Error(_0x4b6548(0x26d)+_0x5dd008+'\x22');}}_0x3df5ed[_0x5dd008]=_0x1f5516;});}),_0x382e81;}['decompress'](_0x2e8275,_0x573e57,_0x1cb268){const _0x11fa98=_0xe4513a;_0x9383bf[_0x11fa98(0x2df)](_0x21f787=>{const _0x101d23=_0x11fa98;this[_0x101d23(0x246)](_0x2e8275,_0x573e57,(_0x5b2c54,_0x626c4e)=>{_0x21f787(),_0x1cb268(_0x5b2c54,_0x626c4e);});});}[_0xe4513a(0x1ae)](_0x14a158,_0x5dec2f,_0x3301bb){_0x9383bf['add'](_0x1848c3=>{this['_compress'](_0x14a158,_0x5dec2f,(_0x39c626,_0x32905a)=>{_0x1848c3(),_0x3301bb(_0x39c626,_0x32905a);});});}[_0xe4513a(0x246)](_0x5c28cb,_0x4bf9e6,_0x49b0af){const _0xf844ce=_0xe4513a,_0x390c8c=this[_0xf844ce(0x294)]?_0xf844ce(0x243):_0xf844ce(0x204);if(!this['_inflate']){const _0x3deeab=_0x390c8c+'_max_window_bits',_0x2a8e91=typeof this[_0xf844ce(0x23b)][_0x3deeab]!=_0xf844ce(0x2b2)?_0x104f37[_0xf844ce(0x215)]:this[_0xf844ce(0x23b)][_0x3deeab];this[_0xf844ce(0x234)]=_0x104f37[_0xf844ce(0x2de)]({...this[_0xf844ce(0x2b5)][_0xf844ce(0x303)],'windowBits':_0x2a8e91}),this['_inflate'][_0x90ecf]=this,this['_inflate'][_0x1adbea]=0x0,this[_0xf844ce(0x234)][_0x4928e7]=[],this[_0xf844ce(0x234)]['on']('error',_0x1a0d73),this[_0xf844ce(0x234)]['on']('data',_0x4829e3);}this[_0xf844ce(0x234)][_0x2db442]=_0x49b0af,this[_0xf844ce(0x234)][_0xf844ce(0x1ca)](_0x5c28cb),_0x4bf9e6&&this[_0xf844ce(0x234)][_0xf844ce(0x1ca)](_0x12cd06),this[_0xf844ce(0x234)][_0xf844ce(0x1d9)](()=>{const _0x130b2b=_0xf844ce,_0x34bf5a=this['_inflate'][_0x688e70];if(_0x34bf5a){this[_0x130b2b(0x234)][_0x130b2b(0x235)](),this[_0x130b2b(0x234)]=null,_0x49b0af(_0x34bf5a);return;}const _0x2044fd=_0x33e06b[_0x130b2b(0x334)](this[_0x130b2b(0x234)][_0x4928e7],this[_0x130b2b(0x234)][_0x1adbea]);this[_0x130b2b(0x234)]['_readableState'][_0x130b2b(0x21a)]?(this['_inflate']['close'](),this[_0x130b2b(0x234)]=null):(this[_0x130b2b(0x234)][_0x1adbea]=0x0,this[_0x130b2b(0x234)][_0x4928e7]=[],_0x4bf9e6&&this['params'][_0x390c8c+_0x130b2b(0x292)]&&this['_inflate'][_0x130b2b(0x223)]()),_0x49b0af(null,_0x2044fd);});}['_compress'](_0x463950,_0x545b56,_0x36a4c3){const _0x14f293=_0xe4513a,_0x195a66=this[_0x14f293(0x294)]?_0x14f293(0x204):_0x14f293(0x243);if(!this[_0x14f293(0x29e)]){const _0x2d44b5=_0x195a66+_0x14f293(0x329),_0x4f2302=typeof this[_0x14f293(0x23b)][_0x2d44b5]!=_0x14f293(0x2b2)?_0x104f37[_0x14f293(0x215)]:this['params'][_0x2d44b5];this[_0x14f293(0x29e)]=_0x104f37[_0x14f293(0x256)]({...this['_options'][_0x14f293(0x2d1)],'windowBits':_0x4f2302}),this[_0x14f293(0x29e)][_0x1adbea]=0x0,this[_0x14f293(0x29e)][_0x4928e7]=[],this[_0x14f293(0x29e)]['on'](_0x14f293(0x302),_0x2e12c9);}this['_deflate'][_0x2db442]=_0x36a4c3,this[_0x14f293(0x29e)][_0x14f293(0x1ca)](_0x463950),this[_0x14f293(0x29e)][_0x14f293(0x1d9)](_0x104f37[_0x14f293(0x260)],()=>{const _0x94f54a=_0x14f293;if(!this[_0x94f54a(0x29e)])return;let _0x46d8e7=_0x33e06b['concat'](this[_0x94f54a(0x29e)][_0x4928e7],this[_0x94f54a(0x29e)][_0x1adbea]);_0x545b56&&(_0x46d8e7=new _0x46cbed(_0x46d8e7['buffer'],_0x46d8e7[_0x94f54a(0x32b)],_0x46d8e7[_0x94f54a(0x1eb)]-0x4)),this[_0x94f54a(0x29e)][_0x2db442]=null,this[_0x94f54a(0x29e)][_0x1adbea]=0x0,this[_0x94f54a(0x29e)][_0x4928e7]=[],_0x545b56&&this[_0x94f54a(0x23b)][_0x195a66+_0x94f54a(0x292)]&&this[_0x94f54a(0x29e)]['reset'](),_0x36a4c3(null,_0x46d8e7);});}}ve=_0x259800;function _0x2e12c9(_0x10cb06){this[_0x4928e7]['push'](_0x10cb06),this[_0x1adbea]+=_0x10cb06['length'];}function _0x4829e3(_0x39a868){const _0xe7fe82=_0xe4513a;if(this[_0x1adbea]+=_0x39a868[_0xe7fe82(0x1eb)],this[_0x90ecf]['_maxPayload']<0x1||this[_0x1adbea]<=this[_0x90ecf][_0xe7fe82(0x2c5)]){this[_0x4928e7]['push'](_0x39a868);return;}this[_0x688e70]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x688e70]['code']=_0xe7fe82(0x2dd),this[_0x688e70][_0x91b9ef]=0x3f1,this[_0xe7fe82(0x1fe)](_0xe7fe82(0x302),_0x4829e3),this[_0xe7fe82(0x223)]();}function _0x1a0d73(_0x50e6f8){this[_0x90ecf]['_inflate']=null,_0x50e6f8[_0x91b9ef]=0x3ef,this[_0x2db442](_0x50e6f8);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x25de60(0x1ea)](Object[_0x25de60(0x222)]({'__proto__':null,'default':Ht},Symbol[_0x25de60(0x298)],{'value':_0x25de60(0x2c7)})),Yt=ut(zt);var Qe;function ne(){const _0x17c361=_0x25de60;if(Qe)return re[_0x17c361(0x2f2)];Qe=0x1;const {isUtf8:_0x346c22}=_0x31f18e,{hasBlob:_0x3b40ac}=V(),_0x411346=[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 _0xe7b19d(_0x1d4018){return _0x1d4018>=0x3e8&&_0x1d4018<=0x3f6&&_0x1d4018!==0x3ec&&_0x1d4018!==0x3ed&&_0x1d4018!==0x3ee||_0x1d4018>=0xbb8&&_0x1d4018<=0x1387;}function _0x166ce2(_0x594907){const _0x27f484=_0x17c361,_0x5df681=_0x594907[_0x27f484(0x1eb)];let _0x291bcb=0x0;for(;_0x291bcb<_0x5df681;)if((_0x594907[_0x291bcb]&0x80)===0x0)_0x291bcb++;else{if((_0x594907[_0x291bcb]&0xe0)===0xc0){if(_0x291bcb+0x1===_0x5df681||(_0x594907[_0x291bcb+0x1]&0xc0)!==0x80||(_0x594907[_0x291bcb]&0xfe)===0xc0)return!0x1;_0x291bcb+=0x2;}else{if((_0x594907[_0x291bcb]&0xf0)===0xe0){if(_0x291bcb+0x2>=_0x5df681||(_0x594907[_0x291bcb+0x1]&0xc0)!==0x80||(_0x594907[_0x291bcb+0x2]&0xc0)!==0x80||_0x594907[_0x291bcb]===0xe0&&(_0x594907[_0x291bcb+0x1]&0xe0)===0x80||_0x594907[_0x291bcb]===0xed&&(_0x594907[_0x291bcb+0x1]&0xe0)===0xa0)return!0x1;_0x291bcb+=0x3;}else{if((_0x594907[_0x291bcb]&0xf8)===0xf0){if(_0x291bcb+0x3>=_0x5df681||(_0x594907[_0x291bcb+0x1]&0xc0)!==0x80||(_0x594907[_0x291bcb+0x2]&0xc0)!==0x80||(_0x594907[_0x291bcb+0x3]&0xc0)!==0x80||_0x594907[_0x291bcb]===0xf0&&(_0x594907[_0x291bcb+0x1]&0xf0)===0x80||_0x594907[_0x291bcb]===0xf4&&_0x594907[_0x291bcb+0x1]>0x8f||_0x594907[_0x291bcb]>0xf4)return!0x1;_0x291bcb+=0x4;}else return!0x1;}}}return!0x0;}function _0x355c11(_0x90b154){const _0x50e419=_0x17c361;return _0x3b40ac&&typeof _0x90b154==_0x50e419(0x25b)&&typeof _0x90b154[_0x50e419(0x33a)]=='function'&&typeof _0x90b154[_0x50e419(0x22a)]=='string'&&typeof _0x90b154[_0x50e419(0x270)]==_0x50e419(0x309)&&(_0x90b154[Symbol[_0x50e419(0x298)]]===_0x50e419(0x2a6)||_0x90b154[Symbol[_0x50e419(0x298)]]===_0x50e419(0x2bd));}if(re[_0x17c361(0x2f2)]={'isBlob':_0x355c11,'isValidStatusCode':_0xe7b19d,'isValidUTF8':_0x166ce2,'tokenChars':_0x411346},_0x346c22)re[_0x17c361(0x2f2)][_0x17c361(0x2c1)]=function(_0xcd2ca5){return _0xcd2ca5['length']<0x18?_0x166ce2(_0xcd2ca5):_0x346c22(_0xcd2ca5);};else{if(!process[_0x17c361(0x1dd)][_0x17c361(0x308)])try{const _0xa69e71=Yt;re[_0x17c361(0x2f2)][_0x17c361(0x2c1)]=function(_0x5c9d46){const _0x5c1362=_0x17c361;return _0x5c9d46[_0x5c1362(0x1eb)]<0x20?_0x166ce2(_0x5c9d46):_0xa69e71(_0x5c9d46);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x1bf337=_0x25de60;if(Je)return Se;Je=0x1;const {Writable:_0x37fff2}=_0x3fec88,_0xc8b5aa=he(),{BINARY_TYPES:_0x9967d4,EMPTY_BUFFER:_0x1a18ab,kStatusCode:_0x37d914,kWebSocket:_0x1d938e}=V(),{concat:_0x4a2617,toArrayBuffer:_0xeabf62,unmask:_0x3acd37}=ce(),{isValidStatusCode:_0xca9fa5,isValidUTF8:_0x10aef8}=ne(),_0x370f55=Buffer[Symbol[_0x1bf337(0x278)]],_0x555b3d=0x0,_0x5c4b32=0x1,_0x1486f1=0x2,_0x4792e3=0x3,_0x63266b=0x4,_0x3ab3f5=0x5,_0x2dbf73=0x6;class _0x2c3a15 extends _0x37fff2{constructor(_0x34dd71={}){const _0x150e31=_0x1bf337;super(),this['_allowSynchronousEvents']=_0x34dd71[_0x150e31(0x34e)]!==void 0x0?_0x34dd71[_0x150e31(0x34e)]:!0x0,this[_0x150e31(0x348)]=_0x34dd71[_0x150e31(0x216)]||_0x9967d4[0x0],this[_0x150e31(0x1b4)]=_0x34dd71[_0x150e31(0x227)]||{},this['_isServer']=!!_0x34dd71[_0x150e31(0x2f5)],this[_0x150e31(0x2c5)]=_0x34dd71[_0x150e31(0x1ef)]|0x0,this[_0x150e31(0x2bf)]=!!_0x34dd71[_0x150e31(0x26e)],this[_0x1d938e]=void 0x0,this[_0x150e31(0x321)]=0x0,this['_buffers']=[],this[_0x150e31(0x244)]=!0x1,this[_0x150e31(0x206)]=0x0,this[_0x150e31(0x31b)]=void 0x0,this['_fragmented']=0x0,this[_0x150e31(0x2b1)]=!0x1,this['_fin']=!0x1,this[_0x150e31(0x2e5)]=0x0,this[_0x150e31(0x22e)]=0x0,this['_messageLength']=0x0,this['_fragments']=[],this[_0x150e31(0x324)]=!0x1,this['_loop']=!0x1,this[_0x150e31(0x25d)]=_0x555b3d;}[_0x1bf337(0x1fc)](_0x33c378,_0x38b90d,_0x2009db){const _0x2c769e=_0x1bf337;if(this[_0x2c769e(0x2e5)]===0x8&&this[_0x2c769e(0x25d)]==_0x555b3d)return _0x2009db();this['_bufferedBytes']+=_0x33c378['length'],this[_0x2c769e(0x1d8)][_0x2c769e(0x1f0)](_0x33c378),this[_0x2c769e(0x2f1)](_0x2009db);}[_0x1bf337(0x306)](_0x5d2836){const _0x43eb22=_0x1bf337;if(this['_bufferedBytes']-=_0x5d2836,_0x5d2836===this[_0x43eb22(0x1d8)][0x0][_0x43eb22(0x1eb)])return this['_buffers'][_0x43eb22(0x2c6)]();if(_0x5d2836<this[_0x43eb22(0x1d8)][0x0][_0x43eb22(0x1eb)]){const _0x200a23=this[_0x43eb22(0x1d8)][0x0];return this[_0x43eb22(0x1d8)][0x0]=new _0x370f55(_0x200a23[_0x43eb22(0x1cb)],_0x200a23['byteOffset']+_0x5d2836,_0x200a23[_0x43eb22(0x1eb)]-_0x5d2836),new _0x370f55(_0x200a23[_0x43eb22(0x1cb)],_0x200a23[_0x43eb22(0x32b)],_0x5d2836);}const _0x5f0d43=Buffer[_0x43eb22(0x2d3)](_0x5d2836);do{const _0x3ec051=this[_0x43eb22(0x1d8)][0x0],_0x543a02=_0x5f0d43['length']-_0x5d2836;_0x5d2836>=_0x3ec051[_0x43eb22(0x1eb)]?_0x5f0d43[_0x43eb22(0x352)](this['_buffers']['shift'](),_0x543a02):(_0x5f0d43['set'](new Uint8Array(_0x3ec051['buffer'],_0x3ec051[_0x43eb22(0x32b)],_0x5d2836),_0x543a02),this['_buffers'][0x0]=new _0x370f55(_0x3ec051[_0x43eb22(0x1cb)],_0x3ec051[_0x43eb22(0x32b)]+_0x5d2836,_0x3ec051[_0x43eb22(0x1eb)]-_0x5d2836)),_0x5d2836-=_0x3ec051[_0x43eb22(0x1eb)];}while(_0x5d2836>0x0);return _0x5f0d43;}[_0x1bf337(0x2f1)](_0x5c1db5){const _0x2455fa=_0x1bf337;this[_0x2455fa(0x2a9)]=!0x0;do switch(this[_0x2455fa(0x25d)]){case _0x555b3d:this[_0x2455fa(0x1b7)](_0x5c1db5);break;case _0x5c4b32:this[_0x2455fa(0x214)](_0x5c1db5);break;case _0x1486f1:this[_0x2455fa(0x267)](_0x5c1db5);break;case _0x4792e3:this[_0x2455fa(0x1ce)]();break;case _0x63266b:this['getData'](_0x5c1db5);break;case _0x3ab3f5:case _0x2dbf73:this[_0x2455fa(0x2a9)]=!0x1;return;}while(this[_0x2455fa(0x2a9)]);this[_0x2455fa(0x324)]||_0x5c1db5();}['getInfo'](_0x2e067f){const _0x6a5119=_0x1bf337;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}const _0x5f32c2=this[_0x6a5119(0x306)](0x2);if((_0x5f32c2[0x0]&0x30)!==0x0){const _0x43ef58=this[_0x6a5119(0x336)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x6a5119(0x285));_0x2e067f(_0x43ef58);return;}const _0x442a7b=(_0x5f32c2[0x0]&0x40)===0x40;if(_0x442a7b&&!this[_0x6a5119(0x1b4)][_0xc8b5aa[_0x6a5119(0x2d7)]]){const _0x1d2d66=this['createError'](RangeError,_0x6a5119(0x22f),!0x0,0x3ea,_0x6a5119(0x1cf));_0x2e067f(_0x1d2d66);return;}if(this[_0x6a5119(0x272)]=(_0x5f32c2[0x0]&0x80)===0x80,this[_0x6a5119(0x2e5)]=_0x5f32c2[0x0]&0xf,this[_0x6a5119(0x206)]=_0x5f32c2[0x1]&0x7f,this[_0x6a5119(0x2e5)]===0x0){if(_0x442a7b){const _0xf31fe3=this[_0x6a5119(0x336)](RangeError,_0x6a5119(0x22f),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x2e067f(_0xf31fe3);return;}if(!this[_0x6a5119(0x2c0)]){const _0x4991c2=this[_0x6a5119(0x336)](RangeError,_0x6a5119(0x328),!0x0,0x3ea,_0x6a5119(0x2cb));_0x2e067f(_0x4991c2);return;}this[_0x6a5119(0x2e5)]=this[_0x6a5119(0x2c0)];}else{if(this[_0x6a5119(0x2e5)]===0x1||this[_0x6a5119(0x2e5)]===0x2){if(this[_0x6a5119(0x2c0)]){const _0x53cac3=this[_0x6a5119(0x336)](RangeError,_0x6a5119(0x291)+this[_0x6a5119(0x2e5)],!0x0,0x3ea,_0x6a5119(0x2cb));_0x2e067f(_0x53cac3);return;}this[_0x6a5119(0x244)]=_0x442a7b;}else{if(this['_opcode']>0x7&&this[_0x6a5119(0x2e5)]<0xb){if(!this[_0x6a5119(0x272)]){const _0x59fc84=this[_0x6a5119(0x336)](RangeError,_0x6a5119(0x1f6),!0x0,0x3ea,_0x6a5119(0x22b));_0x2e067f(_0x59fc84);return;}if(_0x442a7b){const _0x12517e=this['createError'](RangeError,_0x6a5119(0x22f),!0x0,0x3ea,_0x6a5119(0x1cf));_0x2e067f(_0x12517e);return;}if(this[_0x6a5119(0x206)]>0x7d||this['_opcode']===0x8&&this[_0x6a5119(0x206)]===0x1){const _0x5b62da=this[_0x6a5119(0x336)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x6a5119(0x206)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x2e067f(_0x5b62da);return;}}else{const _0x5dd64e=this['createError'](RangeError,_0x6a5119(0x291)+this[_0x6a5119(0x2e5)],!0x0,0x3ea,_0x6a5119(0x2cb));_0x2e067f(_0x5dd64e);return;}}}if(!this[_0x6a5119(0x272)]&&!this[_0x6a5119(0x2c0)]&&(this[_0x6a5119(0x2c0)]=this[_0x6a5119(0x2e5)]),this[_0x6a5119(0x2b1)]=(_0x5f32c2[0x1]&0x80)===0x80,this[_0x6a5119(0x294)]){if(!this[_0x6a5119(0x2b1)]){const _0x7761ba=this[_0x6a5119(0x336)](RangeError,_0x6a5119(0x296),!0x0,0x3ea,_0x6a5119(0x24b));_0x2e067f(_0x7761ba);return;}}else{if(this[_0x6a5119(0x2b1)]){const _0x490a0e=this['createError'](RangeError,_0x6a5119(0x30b),!0x0,0x3ea,_0x6a5119(0x1d0));_0x2e067f(_0x490a0e);return;}}this[_0x6a5119(0x206)]===0x7e?this[_0x6a5119(0x25d)]=_0x5c4b32:this['_payloadLength']===0x7f?this['_state']=_0x1486f1:this[_0x6a5119(0x289)](_0x2e067f);}[_0x1bf337(0x214)](_0x52e353){const _0x4f8c01=_0x1bf337;if(this['_bufferedBytes']<0x2){this[_0x4f8c01(0x2a9)]=!0x1;return;}this['_payloadLength']=this['consume'](0x2)[_0x4f8c01(0x357)](0x0),this[_0x4f8c01(0x289)](_0x52e353);}[_0x1bf337(0x267)](_0xfe3f8c){const _0x11e9f7=_0x1bf337;if(this[_0x11e9f7(0x321)]<0x8){this['_loop']=!0x1;return;}const _0x252ee3=this[_0x11e9f7(0x306)](0x8),_0x17a22f=_0x252ee3[_0x11e9f7(0x325)](0x0);if(_0x17a22f>Math[_0x11e9f7(0x201)](0x2,0x15)-0x1){const _0x5bb9d9=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x11e9f7(0x2b3));_0xfe3f8c(_0x5bb9d9);return;}this[_0x11e9f7(0x206)]=_0x17a22f*Math[_0x11e9f7(0x201)](0x2,0x20)+_0x252ee3[_0x11e9f7(0x325)](0x4),this['haveLength'](_0xfe3f8c);}[_0x1bf337(0x289)](_0x267225){const _0x4f7e56=_0x1bf337;if(this[_0x4f7e56(0x206)]&&this['_opcode']<0x8&&(this[_0x4f7e56(0x22e)]+=this[_0x4f7e56(0x206)],this[_0x4f7e56(0x22e)]>this[_0x4f7e56(0x2c5)]&&this[_0x4f7e56(0x2c5)]>0x0)){const _0x41595e=this[_0x4f7e56(0x336)](RangeError,_0x4f7e56(0x2e3),!0x1,0x3f1,_0x4f7e56(0x2dd));_0x267225(_0x41595e);return;}this[_0x4f7e56(0x2b1)]?this[_0x4f7e56(0x25d)]=_0x4792e3:this[_0x4f7e56(0x25d)]=_0x63266b;}['getMask'](){const _0x683ab7=_0x1bf337;if(this[_0x683ab7(0x321)]<0x4){this[_0x683ab7(0x2a9)]=!0x1;return;}this[_0x683ab7(0x31b)]=this[_0x683ab7(0x306)](0x4),this[_0x683ab7(0x25d)]=_0x63266b;}[_0x1bf337(0x2ee)](_0x43ae35){const _0x257f99=_0x1bf337;let _0x2de685=_0x1a18ab;if(this[_0x257f99(0x206)]){if(this[_0x257f99(0x321)]<this['_payloadLength']){this[_0x257f99(0x2a9)]=!0x1;return;}_0x2de685=this['consume'](this[_0x257f99(0x206)]),this[_0x257f99(0x2b1)]&&(this['_mask'][0x0]|this[_0x257f99(0x31b)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x3acd37(_0x2de685,this[_0x257f99(0x31b)]);}if(this[_0x257f99(0x2e5)]>0x7){this[_0x257f99(0x20c)](_0x2de685,_0x43ae35);return;}if(this[_0x257f99(0x244)]){this['_state']=_0x3ab3f5,this[_0x257f99(0x2be)](_0x2de685,_0x43ae35);return;}_0x2de685[_0x257f99(0x1eb)]&&(this[_0x257f99(0x1f7)]=this[_0x257f99(0x22e)],this[_0x257f99(0x1be)][_0x257f99(0x1f0)](_0x2de685)),this['dataMessage'](_0x43ae35);}['decompress'](_0x2bb5bc,_0x252848){const _0x537589=_0x1bf337;this['_extensions'][_0xc8b5aa[_0x537589(0x2d7)]][_0x537589(0x2be)](_0x2bb5bc,this[_0x537589(0x272)],(_0x56da23,_0xb17d29)=>{const _0x53f0b4=_0x537589;if(_0x56da23)return _0x252848(_0x56da23);if(_0xb17d29[_0x53f0b4(0x1eb)]){if(this[_0x53f0b4(0x1f7)]+=_0xb17d29[_0x53f0b4(0x1eb)],this[_0x53f0b4(0x1f7)]>this[_0x53f0b4(0x2c5)]&&this['_maxPayload']>0x0){const _0x120db3=this[_0x53f0b4(0x336)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x252848(_0x120db3);return;}this['_fragments'][_0x53f0b4(0x1f0)](_0xb17d29);}this[_0x53f0b4(0x2f6)](_0x252848),this['_state']===_0x555b3d&&this[_0x53f0b4(0x2f1)](_0x252848);});}[_0x1bf337(0x2f6)](_0x49bb8f){const _0x24994b=_0x1bf337;if(!this[_0x24994b(0x272)]){this['_state']=_0x555b3d;return;}const _0x1b0570=this[_0x24994b(0x1f7)],_0x3542d2=this[_0x24994b(0x1be)];if(this['_totalPayloadLength']=0x0,this[_0x24994b(0x1f7)]=0x0,this[_0x24994b(0x2c0)]=0x0,this[_0x24994b(0x1be)]=[],this['_opcode']===0x2){let _0x4bcb5a;this[_0x24994b(0x348)]===_0x24994b(0x1fd)?_0x4bcb5a=_0x4a2617(_0x3542d2,_0x1b0570):this[_0x24994b(0x348)]==='arraybuffer'?_0x4bcb5a=_0xeabf62(_0x4a2617(_0x3542d2,_0x1b0570)):this[_0x24994b(0x348)]===_0x24994b(0x2e4)?_0x4bcb5a=new Blob(_0x3542d2):_0x4bcb5a=_0x3542d2,this['_allowSynchronousEvents']?(this[_0x24994b(0x2d6)](_0x24994b(0x20e),_0x4bcb5a,!0x0),this[_0x24994b(0x25d)]=_0x555b3d):(this[_0x24994b(0x25d)]=_0x2dbf73,setImmediate(()=>{const _0x21878b=_0x24994b;this['emit']('message',_0x4bcb5a,!0x0),this[_0x21878b(0x25d)]=_0x555b3d,this[_0x21878b(0x2f1)](_0x49bb8f);}));}else{const _0x195fe5=_0x4a2617(_0x3542d2,_0x1b0570);if(!this['_skipUTF8Validation']&&!_0x10aef8(_0x195fe5)){const _0x533c10=this[_0x24994b(0x336)](Error,_0x24994b(0x30d),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x49bb8f(_0x533c10);return;}this[_0x24994b(0x25d)]===_0x3ab3f5||this[_0x24994b(0x2f8)]?(this['emit'](_0x24994b(0x20e),_0x195fe5,!0x1),this['_state']=_0x555b3d):(this[_0x24994b(0x25d)]=_0x2dbf73,setImmediate(()=>{const _0x21bf33=_0x24994b;this[_0x21bf33(0x2d6)](_0x21bf33(0x20e),_0x195fe5,!0x1),this[_0x21bf33(0x25d)]=_0x555b3d,this[_0x21bf33(0x2f1)](_0x49bb8f);}));}}['controlMessage'](_0x42c142,_0x2d83e8){const _0x50f9d9=_0x1bf337;if(this['_opcode']===0x8){if(_0x42c142[_0x50f9d9(0x1eb)]===0x0)this['_loop']=!0x1,this[_0x50f9d9(0x2d6)](_0x50f9d9(0x25f),0x3ed,_0x1a18ab),this[_0x50f9d9(0x30f)]();else{const _0x12113c=_0x42c142['readUInt16BE'](0x0);if(!_0xca9fa5(_0x12113c)){const _0x392245=this[_0x50f9d9(0x336)](RangeError,_0x50f9d9(0x21d)+_0x12113c,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x2d83e8(_0x392245);return;}const _0x416715=new _0x370f55(_0x42c142[_0x50f9d9(0x1cb)],_0x42c142[_0x50f9d9(0x32b)]+0x2,_0x42c142['length']-0x2);if(!this[_0x50f9d9(0x2bf)]&&!_0x10aef8(_0x416715)){const _0x41b041=this['createError'](Error,_0x50f9d9(0x30d),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x2d83e8(_0x41b041);return;}this[_0x50f9d9(0x2a9)]=!0x1,this[_0x50f9d9(0x2d6)](_0x50f9d9(0x25f),_0x12113c,_0x416715),this[_0x50f9d9(0x30f)]();}this[_0x50f9d9(0x25d)]=_0x555b3d;return;}this[_0x50f9d9(0x2f8)]?(this[_0x50f9d9(0x2d6)](this[_0x50f9d9(0x2e5)]===0x9?_0x50f9d9(0x1b3):_0x50f9d9(0x225),_0x42c142),this[_0x50f9d9(0x25d)]=_0x555b3d):(this[_0x50f9d9(0x25d)]=_0x2dbf73,setImmediate(()=>{const _0x617a77=_0x50f9d9;this['emit'](this[_0x617a77(0x2e5)]===0x9?_0x617a77(0x1b3):_0x617a77(0x225),_0x42c142),this[_0x617a77(0x25d)]=_0x555b3d,this[_0x617a77(0x2f1)](_0x2d83e8);}));}[_0x1bf337(0x336)](_0x42bba0,_0x13f495,_0x5320e9,_0x11d70e,_0x456065){const _0x1ab381=_0x1bf337;this[_0x1ab381(0x2a9)]=!0x1,this['_errored']=!0x0;const _0x35de11=new _0x42bba0(_0x5320e9?_0x1ab381(0x333)+_0x13f495:_0x13f495);return Error[_0x1ab381(0x2d4)](_0x35de11,this[_0x1ab381(0x336)]),_0x35de11['code']=_0x456065,_0x35de11[_0x37d914]=_0x11d70e,_0x35de11;}}return Se=_0x2c3a15,Se;}var Ee,et;function _t(){const _0x196934=_0x25de60;if(et)return Ee;et=0x1;const {Duplex:_0x4bb454}=_0x3fec88,{randomFillSync:_0xc774e8}=_0x2cbaf3,_0x2ac994=he(),{EMPTY_BUFFER:_0x409d15,kWebSocket:_0x3efc64,NOOP:_0x330587}=V(),{isBlob:_0x8e691b,isValidStatusCode:_0x5b1de7}=ne(),{mask:_0x1727aa,toBuffer:_0x418115}=ce(),_0x3b6b9b=Symbol(_0x196934(0x27e)),_0x2cc256=Buffer[_0x196934(0x2da)](0x4),_0x56ebd8=0x8*0x400;let _0x1b4c34,_0x37edf3=_0x56ebd8;const _0x55136c=0x0,_0xcbcae5=0x1,_0x9ea39=0x2;class _0x170b81{constructor(_0x411d3b,_0x4fff71,_0x11d5f4){const _0x4272ed=_0x196934;this[_0x4272ed(0x1b4)]=_0x4fff71||{},_0x11d5f4&&(this[_0x4272ed(0x2b4)]=_0x11d5f4,this[_0x4272ed(0x21c)]=Buffer[_0x4272ed(0x2da)](0x4)),this['_socket']=_0x411d3b,this[_0x4272ed(0x2e9)]=!0x0,this['_compress']=!0x1,this[_0x4272ed(0x321)]=0x0,this['_queue']=[],this[_0x4272ed(0x25d)]=_0x55136c,this[_0x4272ed(0x1bc)]=_0x330587,this[_0x3efc64]=void 0x0;}static[_0x196934(0x300)](_0x348520,_0x30c848){const _0x6e238=_0x196934;let _0x5b7bbe,_0x56a957=!0x1,_0x5a66e1=0x2,_0x26b590=!0x1;_0x30c848['mask']&&(_0x5b7bbe=_0x30c848[_0x6e238(0x1e8)]||_0x2cc256,_0x30c848[_0x6e238(0x320)]?_0x30c848['generateMask'](_0x5b7bbe):(_0x37edf3===_0x56ebd8&&(_0x1b4c34===void 0x0&&(_0x1b4c34=Buffer[_0x6e238(0x2da)](_0x56ebd8)),_0xc774e8(_0x1b4c34,0x0,_0x56ebd8),_0x37edf3=0x0),_0x5b7bbe[0x0]=_0x1b4c34[_0x37edf3++],_0x5b7bbe[0x1]=_0x1b4c34[_0x37edf3++],_0x5b7bbe[0x2]=_0x1b4c34[_0x37edf3++],_0x5b7bbe[0x3]=_0x1b4c34[_0x37edf3++]),_0x26b590=(_0x5b7bbe[0x0]|_0x5b7bbe[0x1]|_0x5b7bbe[0x2]|_0x5b7bbe[0x3])===0x0,_0x5a66e1=0x6);let _0x38e33f;typeof _0x348520==_0x6e238(0x1e2)?(!_0x30c848[_0x6e238(0x2cf)]||_0x26b590)&&_0x30c848[_0x3b6b9b]!==void 0x0?_0x38e33f=_0x30c848[_0x3b6b9b]:(_0x348520=Buffer[_0x6e238(0x1c6)](_0x348520),_0x38e33f=_0x348520['length']):(_0x38e33f=_0x348520['length'],_0x56a957=_0x30c848['mask']&&_0x30c848['readOnly']&&!_0x26b590);let _0x463ee8=_0x38e33f;_0x38e33f>=0x10000?(_0x5a66e1+=0x8,_0x463ee8=0x7f):_0x38e33f>0x7d&&(_0x5a66e1+=0x2,_0x463ee8=0x7e);const _0xcdd483=Buffer[_0x6e238(0x2d3)](_0x56a957?_0x38e33f+_0x5a66e1:_0x5a66e1);return _0xcdd483[0x0]=_0x30c848[_0x6e238(0x269)]?_0x30c848['opcode']|0x80:_0x30c848[_0x6e238(0x2e2)],_0x30c848[_0x6e238(0x34b)]&&(_0xcdd483[0x0]|=0x40),_0xcdd483[0x1]=_0x463ee8,_0x463ee8===0x7e?_0xcdd483[_0x6e238(0x322)](_0x38e33f,0x2):_0x463ee8===0x7f&&(_0xcdd483[0x2]=_0xcdd483[0x3]=0x0,_0xcdd483['writeUIntBE'](_0x38e33f,0x4,0x6)),_0x30c848['mask']?(_0xcdd483[0x1]|=0x80,_0xcdd483[_0x5a66e1-0x4]=_0x5b7bbe[0x0],_0xcdd483[_0x5a66e1-0x3]=_0x5b7bbe[0x1],_0xcdd483[_0x5a66e1-0x2]=_0x5b7bbe[0x2],_0xcdd483[_0x5a66e1-0x1]=_0x5b7bbe[0x3],_0x26b590?[_0xcdd483,_0x348520]:_0x56a957?(_0x1727aa(_0x348520,_0x5b7bbe,_0xcdd483,_0x5a66e1,_0x38e33f),[_0xcdd483]):(_0x1727aa(_0x348520,_0x5b7bbe,_0x348520,0x0,_0x38e33f),[_0xcdd483,_0x348520])):[_0xcdd483,_0x348520];}[_0x196934(0x235)](_0x532992,_0x46e793,_0x18dc08,_0x44647c){const _0x360eab=_0x196934;let _0x1e5a23;if(_0x532992===void 0x0)_0x1e5a23=_0x409d15;else{if(typeof _0x532992!=_0x360eab(0x2b2)||!_0x5b1de7(_0x532992))throw new TypeError(_0x360eab(0x1e9));if(_0x46e793===void 0x0||!_0x46e793[_0x360eab(0x1eb)])_0x1e5a23=Buffer[_0x360eab(0x2d3)](0x2),_0x1e5a23[_0x360eab(0x322)](_0x532992,0x0);else{const _0x1715f6=Buffer[_0x360eab(0x2ef)](_0x46e793);if(_0x1715f6>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x1e5a23=Buffer[_0x360eab(0x2d3)](0x2+_0x1715f6),_0x1e5a23[_0x360eab(0x322)](_0x532992,0x0),typeof _0x46e793=='string'?_0x1e5a23['write'](_0x46e793,0x2):_0x1e5a23[_0x360eab(0x352)](_0x46e793,0x2);}}const _0x2c66ba={[_0x3b6b9b]:_0x1e5a23[_0x360eab(0x1eb)],'fin':!0x0,'generateMask':this[_0x360eab(0x2b4)],'mask':_0x18dc08,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x55136c?this['enqueue']([this['dispatch'],_0x1e5a23,!0x1,_0x2c66ba,_0x44647c]):this[_0x360eab(0x1c0)](_0x170b81[_0x360eab(0x300)](_0x1e5a23,_0x2c66ba),_0x44647c);}['ping'](_0x1b159b,_0x4658ef,_0x29520b){const _0x313a90=_0x196934;let _0x546525,_0x8968fc;if(typeof _0x1b159b=='string'?(_0x546525=Buffer['byteLength'](_0x1b159b),_0x8968fc=!0x1):_0x8e691b(_0x1b159b)?(_0x546525=_0x1b159b['size'],_0x8968fc=!0x1):(_0x1b159b=_0x418115(_0x1b159b),_0x546525=_0x1b159b[_0x313a90(0x1eb)],_0x8968fc=_0x418115['readOnly']),_0x546525>0x7d)throw new RangeError(_0x313a90(0x341));const _0x4968dc={[_0x3b6b9b]:_0x546525,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x4658ef,'maskBuffer':this[_0x313a90(0x21c)],'opcode':0x9,'readOnly':_0x8968fc,'rsv1':!0x1};_0x8e691b(_0x1b159b)?this[_0x313a90(0x25d)]!==_0x55136c?this[_0x313a90(0x1cc)]([this['getBlobData'],_0x1b159b,!0x1,_0x4968dc,_0x29520b]):this[_0x313a90(0x350)](_0x1b159b,!0x1,_0x4968dc,_0x29520b):this[_0x313a90(0x25d)]!==_0x55136c?this[_0x313a90(0x1cc)]([this[_0x313a90(0x2cd)],_0x1b159b,!0x1,_0x4968dc,_0x29520b]):this['sendFrame'](_0x170b81[_0x313a90(0x300)](_0x1b159b,_0x4968dc),_0x29520b);}[_0x196934(0x225)](_0x26eb18,_0x59a687,_0x34b7c4){const _0x3a38c1=_0x196934;let _0x11d6f8,_0x1bfb33;if(typeof _0x26eb18==_0x3a38c1(0x1e2)?(_0x11d6f8=Buffer[_0x3a38c1(0x2ef)](_0x26eb18),_0x1bfb33=!0x1):_0x8e691b(_0x26eb18)?(_0x11d6f8=_0x26eb18[_0x3a38c1(0x1fa)],_0x1bfb33=!0x1):(_0x26eb18=_0x418115(_0x26eb18),_0x11d6f8=_0x26eb18[_0x3a38c1(0x1eb)],_0x1bfb33=_0x418115[_0x3a38c1(0x29a)]),_0x11d6f8>0x7d)throw new RangeError(_0x3a38c1(0x341));const _0x32e0ac={[_0x3b6b9b]:_0x11d6f8,'fin':!0x0,'generateMask':this[_0x3a38c1(0x2b4)],'mask':_0x59a687,'maskBuffer':this[_0x3a38c1(0x21c)],'opcode':0xa,'readOnly':_0x1bfb33,'rsv1':!0x1};_0x8e691b(_0x26eb18)?this[_0x3a38c1(0x25d)]!==_0x55136c?this['enqueue']([this[_0x3a38c1(0x350)],_0x26eb18,!0x1,_0x32e0ac,_0x34b7c4]):this[_0x3a38c1(0x350)](_0x26eb18,!0x1,_0x32e0ac,_0x34b7c4):this[_0x3a38c1(0x25d)]!==_0x55136c?this[_0x3a38c1(0x1cc)]([this[_0x3a38c1(0x2cd)],_0x26eb18,!0x1,_0x32e0ac,_0x34b7c4]):this[_0x3a38c1(0x1c0)](_0x170b81[_0x3a38c1(0x300)](_0x26eb18,_0x32e0ac),_0x34b7c4);}[_0x196934(0x2c8)](_0x5b83e0,_0x360f21,_0x3b6c81){const _0x2bd12a=_0x196934,_0x2b9061=this['_extensions'][_0x2ac994[_0x2bd12a(0x2d7)]];let _0x33e7b0=_0x360f21[_0x2bd12a(0x331)]?0x2:0x1,_0x5ce24a=_0x360f21[_0x2bd12a(0x1ae)],_0xae68c7,_0x1940df;typeof _0x5b83e0==_0x2bd12a(0x1e2)?(_0xae68c7=Buffer['byteLength'](_0x5b83e0),_0x1940df=!0x1):_0x8e691b(_0x5b83e0)?(_0xae68c7=_0x5b83e0['size'],_0x1940df=!0x1):(_0x5b83e0=_0x418115(_0x5b83e0),_0xae68c7=_0x5b83e0['length'],_0x1940df=_0x418115['readOnly']),this['_firstFragment']?(this[_0x2bd12a(0x2e9)]=!0x1,_0x5ce24a&&_0x2b9061&&_0x2b9061[_0x2bd12a(0x23b)][_0x2b9061['_isServer']?'server_no_context_takeover':_0x2bd12a(0x23d)]&&(_0x5ce24a=_0xae68c7>=_0x2b9061[_0x2bd12a(0x339)]),this[_0x2bd12a(0x1e4)]=_0x5ce24a):(_0x5ce24a=!0x1,_0x33e7b0=0x0),_0x360f21[_0x2bd12a(0x269)]&&(this[_0x2bd12a(0x2e9)]=!0x0);const _0x6e795e={[_0x3b6b9b]:_0xae68c7,'fin':_0x360f21[_0x2bd12a(0x269)],'generateMask':this[_0x2bd12a(0x2b4)],'mask':_0x360f21[_0x2bd12a(0x2cf)],'maskBuffer':this['_maskBuffer'],'opcode':_0x33e7b0,'readOnly':_0x1940df,'rsv1':_0x5ce24a};_0x8e691b(_0x5b83e0)?this[_0x2bd12a(0x25d)]!==_0x55136c?this[_0x2bd12a(0x1cc)]([this['getBlobData'],_0x5b83e0,this[_0x2bd12a(0x1e4)],_0x6e795e,_0x3b6c81]):this[_0x2bd12a(0x350)](_0x5b83e0,this[_0x2bd12a(0x1e4)],_0x6e795e,_0x3b6c81):this['_state']!==_0x55136c?this['enqueue']([this[_0x2bd12a(0x2cd)],_0x5b83e0,this[_0x2bd12a(0x1e4)],_0x6e795e,_0x3b6c81]):this[_0x2bd12a(0x2cd)](_0x5b83e0,this[_0x2bd12a(0x1e4)],_0x6e795e,_0x3b6c81);}[_0x196934(0x350)](_0x107d8f,_0x578811,_0x17fc0f,_0x215cf0){const _0x5123bc=_0x196934;this[_0x5123bc(0x321)]+=_0x17fc0f[_0x3b6b9b],this[_0x5123bc(0x25d)]=_0x9ea39,_0x107d8f['arrayBuffer']()['then'](_0x4a9dfb=>{const _0xdfc0be=_0x5123bc;if(this[_0xdfc0be(0x288)]['destroyed']){const _0x1162d8=new Error(_0xdfc0be(0x2db));process[_0xdfc0be(0x21f)](_0x144657,this,_0x1162d8,_0x215cf0);return;}this[_0xdfc0be(0x321)]-=_0x17fc0f[_0x3b6b9b];const _0x58bf16=_0x418115(_0x4a9dfb);_0x578811?this[_0xdfc0be(0x2cd)](_0x58bf16,_0x578811,_0x17fc0f,_0x215cf0):(this[_0xdfc0be(0x25d)]=_0x55136c,this[_0xdfc0be(0x1c0)](_0x170b81[_0xdfc0be(0x300)](_0x58bf16,_0x17fc0f),_0x215cf0),this[_0xdfc0be(0x252)]());})[_0x5123bc(0x28d)](_0x3806c7=>{process['nextTick'](_0x5e3114,this,_0x3806c7,_0x215cf0);});}['dispatch'](_0x45f7ff,_0x23d8bd,_0x3a0ab6,_0x3d4b71){const _0xe103d5=_0x196934;if(!_0x23d8bd){this[_0xe103d5(0x1c0)](_0x170b81[_0xe103d5(0x300)](_0x45f7ff,_0x3a0ab6),_0x3d4b71);return;}const _0x4b54bb=this[_0xe103d5(0x1b4)][_0x2ac994[_0xe103d5(0x2d7)]];this[_0xe103d5(0x321)]+=_0x3a0ab6[_0x3b6b9b],this[_0xe103d5(0x25d)]=_0xcbcae5,_0x4b54bb['compress'](_0x45f7ff,_0x3a0ab6[_0xe103d5(0x269)],(_0x557160,_0x3dbc93)=>{const _0x3c24f6=_0xe103d5;if(this[_0x3c24f6(0x288)][_0x3c24f6(0x257)]){const _0x4cfbf5=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x144657(this,_0x4cfbf5,_0x3d4b71);return;}this['_bufferedBytes']-=_0x3a0ab6[_0x3b6b9b],this[_0x3c24f6(0x25d)]=_0x55136c,_0x3a0ab6['readOnly']=!0x1,this['sendFrame'](_0x170b81[_0x3c24f6(0x300)](_0x3dbc93,_0x3a0ab6),_0x3d4b71),this['dequeue']();});}[_0x196934(0x252)](){const _0x1b811a=_0x196934;for(;this[_0x1b811a(0x25d)]===_0x55136c&&this[_0x1b811a(0x1b6)]['length'];){const _0x19b5fc=this[_0x1b811a(0x1b6)][_0x1b811a(0x2c6)]();this['_bufferedBytes']-=_0x19b5fc[0x3][_0x3b6b9b],Reflect[_0x1b811a(0x1f4)](_0x19b5fc[0x0],this,_0x19b5fc['slice'](0x1));}}[_0x196934(0x1cc)](_0x4e3cc2){const _0xc31250=_0x196934;this[_0xc31250(0x321)]+=_0x4e3cc2[0x3][_0x3b6b9b],this[_0xc31250(0x1b6)]['push'](_0x4e3cc2);}['sendFrame'](_0x2bc03d,_0x25d5d2){const _0x57423b=_0x196934;_0x2bc03d[_0x57423b(0x1eb)]===0x2?(this[_0x57423b(0x288)]['cork'](),this[_0x57423b(0x288)][_0x57423b(0x1ca)](_0x2bc03d[0x0]),this['_socket'][_0x57423b(0x1ca)](_0x2bc03d[0x1],_0x25d5d2),this[_0x57423b(0x288)][_0x57423b(0x255)]()):this[_0x57423b(0x288)][_0x57423b(0x1ca)](_0x2bc03d[0x0],_0x25d5d2);}}Ee=_0x170b81;function _0x144657(_0x3ef172,_0x42e63a,_0x29201f){const _0x17455d=_0x196934;typeof _0x29201f==_0x17455d(0x309)&&_0x29201f(_0x42e63a);for(let _0x42b7cd=0x0;_0x42b7cd<_0x3ef172[_0x17455d(0x1b6)][_0x17455d(0x1eb)];_0x42b7cd++){const _0x5d8db1=_0x3ef172['_queue'][_0x42b7cd],_0x55acdc=_0x5d8db1[_0x5d8db1[_0x17455d(0x1eb)]-0x1];typeof _0x55acdc=='function'&&_0x55acdc(_0x42e63a);}}function _0x5e3114(_0x4bec3d,_0x2d5c74,_0x5cbccb){const _0x4c3062=_0x196934;_0x144657(_0x4bec3d,_0x2d5c74,_0x5cbccb),_0x4bec3d[_0x4c3062(0x1bc)](_0x2d5c74);}return Ee;}var xe,tt;function Kt(){const _0x44b65e=_0x25de60;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x1d116e,kListener:_0x5aaa15}=V(),_0x3b3dc2=Symbol(_0x44b65e(0x28c)),_0x3ee29c=Symbol('kData'),_0x54259e=Symbol(_0x44b65e(0x2f4)),_0x379afd=Symbol(_0x44b65e(0x277)),_0x1f5fa8=Symbol(_0x44b65e(0x286)),_0x5e3a61=Symbol('kTarget'),_0x397ce9=Symbol(_0x44b65e(0x2aa)),_0x3a3c34=Symbol('kWasClean');class _0x157d58{constructor(_0x22a459){this[_0x5e3a61]=null,this[_0x397ce9]=_0x22a459;}get[_0x44b65e(0x230)](){return this[_0x5e3a61];}get[_0x44b65e(0x22a)](){return this[_0x397ce9];}}Object[_0x44b65e(0x222)](_0x157d58[_0x44b65e(0x2ba)],_0x44b65e(0x230),{'enumerable':!0x0}),Object[_0x44b65e(0x222)](_0x157d58[_0x44b65e(0x2ba)],_0x44b65e(0x22a),{'enumerable':!0x0});class _0x398326 extends _0x157d58{constructor(_0x227777,_0x43f7c2={}){const _0x29aac9=_0x44b65e;super(_0x227777),this[_0x3b3dc2]=_0x43f7c2[_0x29aac9(0x1cd)]===void 0x0?0x0:_0x43f7c2[_0x29aac9(0x1cd)],this[_0x1f5fa8]=_0x43f7c2[_0x29aac9(0x20b)]===void 0x0?'':_0x43f7c2['reason'],this[_0x3a3c34]=_0x43f7c2[_0x29aac9(0x2bb)]===void 0x0?!0x1:_0x43f7c2['wasClean'];}get[_0x44b65e(0x1cd)](){return this[_0x3b3dc2];}get[_0x44b65e(0x20b)](){return this[_0x1f5fa8];}get[_0x44b65e(0x2bb)](){return this[_0x3a3c34];}}Object[_0x44b65e(0x222)](_0x398326[_0x44b65e(0x2ba)],_0x44b65e(0x1cd),{'enumerable':!0x0}),Object[_0x44b65e(0x222)](_0x398326[_0x44b65e(0x2ba)],'reason',{'enumerable':!0x0}),Object[_0x44b65e(0x222)](_0x398326[_0x44b65e(0x2ba)],_0x44b65e(0x2bb),{'enumerable':!0x0});class _0x206459 extends _0x157d58{constructor(_0x5d2c97,_0x4aa65b={}){const _0x2f18db=_0x44b65e;super(_0x5d2c97),this[_0x54259e]=_0x4aa65b['error']===void 0x0?null:_0x4aa65b[_0x2f18db(0x34f)],this[_0x379afd]=_0x4aa65b['message']===void 0x0?'':_0x4aa65b[_0x2f18db(0x20e)];}get[_0x44b65e(0x34f)](){return this[_0x54259e];}get['message'](){return this[_0x379afd];}}Object[_0x44b65e(0x222)](_0x206459[_0x44b65e(0x2ba)],_0x44b65e(0x34f),{'enumerable':!0x0}),Object[_0x44b65e(0x222)](_0x206459[_0x44b65e(0x2ba)],_0x44b65e(0x20e),{'enumerable':!0x0});class _0x557d56 extends _0x157d58{constructor(_0x572118,_0x22ba9e={}){const _0x14db24=_0x44b65e;super(_0x572118),this[_0x3ee29c]=_0x22ba9e[_0x14db24(0x302)]===void 0x0?null:_0x22ba9e[_0x14db24(0x302)];}get[_0x44b65e(0x302)](){return this[_0x3ee29c];}}Object[_0x44b65e(0x222)](_0x557d56['prototype'],_0x44b65e(0x302),{'enumerable':!0x0}),xe={'CloseEvent':_0x398326,'ErrorEvent':_0x206459,'Event':_0x157d58,'EventTarget':{'addEventListener'(_0x2db52a,_0x40cb65,_0x2f90a6={}){const _0x411010=_0x44b65e;for(const _0x9d9da of this[_0x411010(0x1ff)](_0x2db52a))if(!_0x2f90a6[_0x1d116e]&&_0x9d9da[_0x5aaa15]===_0x40cb65&&!_0x9d9da[_0x1d116e])return;let _0x5d8d2e;if(_0x2db52a===_0x411010(0x20e))_0x5d8d2e=function(_0x1ed1f5,_0x2f831e){const _0x4e7a99=_0x411010,_0x3c5b51=new _0x557d56(_0x4e7a99(0x20e),{'data':_0x2f831e?_0x1ed1f5:_0x1ed1f5[_0x4e7a99(0x25c)]()});_0x3c5b51[_0x5e3a61]=this,_0x38e78a(_0x40cb65,this,_0x3c5b51);};else{if(_0x2db52a===_0x411010(0x235))_0x5d8d2e=function(_0x1f727b,_0x17fa6d){const _0x26e027=_0x411010,_0x562176=new _0x398326(_0x26e027(0x235),{'code':_0x1f727b,'reason':_0x17fa6d[_0x26e027(0x25c)](),'wasClean':this[_0x26e027(0x27a)]&&this['_closeFrameSent']});_0x562176[_0x5e3a61]=this,_0x38e78a(_0x40cb65,this,_0x562176);};else{if(_0x2db52a==='error')_0x5d8d2e=function(_0x1b3855){const _0x43e3ab=_0x411010,_0x203fb6=new _0x206459('error',{'error':_0x1b3855,'message':_0x1b3855[_0x43e3ab(0x20e)]});_0x203fb6[_0x5e3a61]=this,_0x38e78a(_0x40cb65,this,_0x203fb6);};else{if(_0x2db52a===_0x411010(0x1dc))_0x5d8d2e=function(){const _0x124caf=_0x411010,_0x36031a=new _0x157d58(_0x124caf(0x1dc));_0x36031a[_0x5e3a61]=this,_0x38e78a(_0x40cb65,this,_0x36031a);};else return;}}}_0x5d8d2e[_0x1d116e]=!!_0x2f90a6[_0x1d116e],_0x5d8d2e[_0x5aaa15]=_0x40cb65,_0x2f90a6[_0x411010(0x335)]?this[_0x411010(0x335)](_0x2db52a,_0x5d8d2e):this['on'](_0x2db52a,_0x5d8d2e);},'removeEventListener'(_0x1051c2,_0x3a8764){const _0x2dec4d=_0x44b65e;for(const _0x402df3 of this[_0x2dec4d(0x1ff)](_0x1051c2))if(_0x402df3[_0x5aaa15]===_0x3a8764&&!_0x402df3[_0x1d116e]){this[_0x2dec4d(0x1fe)](_0x1051c2,_0x402df3);break;}}},'MessageEvent':_0x557d56};function _0x38e78a(_0x2c4055,_0x2ff707,_0x4a64f2){const _0x276c36=_0x44b65e;typeof _0x2c4055==_0x276c36(0x25b)&&_0x2c4055['handleEvent']?_0x2c4055['handleEvent']['call'](_0x2c4055,_0x4a64f2):_0x2c4055[_0x276c36(0x282)](_0x2ff707,_0x4a64f2);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x428b49}=ne();function _0x354110(_0x46516d,_0x23d3af,_0x14c3b4){const _0x26e38b=_0x5b32;_0x46516d[_0x23d3af]===void 0x0?_0x46516d[_0x23d3af]=[_0x14c3b4]:_0x46516d[_0x23d3af][_0x26e38b(0x1f0)](_0x14c3b4);}function _0x26ba3f(_0x28986f){const _0xb1e221=_0x5b32,_0x56a5f7=Object['create'](null);let _0x5a3963=Object[_0xb1e221(0x1f9)](null),_0xf9cefa=!0x1,_0x45b0fc=!0x1,_0x12bbd9=!0x1,_0x2fd0fd,_0x301260,_0xcbf7e5=-0x1,_0x591028=-0x1,_0x265f64=-0x1,_0x554ef3=0x0;for(;_0x554ef3<_0x28986f['length'];_0x554ef3++)if(_0x591028=_0x28986f['charCodeAt'](_0x554ef3),_0x2fd0fd===void 0x0){if(_0x265f64===-0x1&&_0x428b49[_0x591028]===0x1)_0xcbf7e5===-0x1&&(_0xcbf7e5=_0x554ef3);else{if(_0x554ef3!==0x0&&(_0x591028===0x20||_0x591028===0x9))_0x265f64===-0x1&&_0xcbf7e5!==-0x1&&(_0x265f64=_0x554ef3);else{if(_0x591028===0x3b||_0x591028===0x2c){if(_0xcbf7e5===-0x1)throw new SyntaxError(_0xb1e221(0x20f)+_0x554ef3);_0x265f64===-0x1&&(_0x265f64=_0x554ef3);const _0x392786=_0x28986f[_0xb1e221(0x249)](_0xcbf7e5,_0x265f64);_0x591028===0x2c?(_0x354110(_0x56a5f7,_0x392786,_0x5a3963),_0x5a3963=Object[_0xb1e221(0x1f9)](null)):_0x2fd0fd=_0x392786,_0xcbf7e5=_0x265f64=-0x1;}else throw new SyntaxError(_0xb1e221(0x20f)+_0x554ef3);}}}else{if(_0x301260===void 0x0){if(_0x265f64===-0x1&&_0x428b49[_0x591028]===0x1)_0xcbf7e5===-0x1&&(_0xcbf7e5=_0x554ef3);else{if(_0x591028===0x20||_0x591028===0x9)_0x265f64===-0x1&&_0xcbf7e5!==-0x1&&(_0x265f64=_0x554ef3);else{if(_0x591028===0x3b||_0x591028===0x2c){if(_0xcbf7e5===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x554ef3);_0x265f64===-0x1&&(_0x265f64=_0x554ef3),_0x354110(_0x5a3963,_0x28986f[_0xb1e221(0x249)](_0xcbf7e5,_0x265f64),!0x0),_0x591028===0x2c&&(_0x354110(_0x56a5f7,_0x2fd0fd,_0x5a3963),_0x5a3963=Object[_0xb1e221(0x1f9)](null),_0x2fd0fd=void 0x0),_0xcbf7e5=_0x265f64=-0x1;}else{if(_0x591028===0x3d&&_0xcbf7e5!==-0x1&&_0x265f64===-0x1)_0x301260=_0x28986f[_0xb1e221(0x249)](_0xcbf7e5,_0x554ef3),_0xcbf7e5=_0x265f64=-0x1;else throw new SyntaxError(_0xb1e221(0x20f)+_0x554ef3);}}}}else{if(_0x45b0fc){if(_0x428b49[_0x591028]!==0x1)throw new SyntaxError(_0xb1e221(0x20f)+_0x554ef3);_0xcbf7e5===-0x1?_0xcbf7e5=_0x554ef3:_0xf9cefa||(_0xf9cefa=!0x0),_0x45b0fc=!0x1;}else{if(_0x12bbd9){if(_0x428b49[_0x591028]===0x1)_0xcbf7e5===-0x1&&(_0xcbf7e5=_0x554ef3);else{if(_0x591028===0x22&&_0xcbf7e5!==-0x1)_0x12bbd9=!0x1,_0x265f64=_0x554ef3;else{if(_0x591028===0x5c)_0x45b0fc=!0x0;else throw new SyntaxError(_0xb1e221(0x20f)+_0x554ef3);}}}else{if(_0x591028===0x22&&_0x28986f[_0xb1e221(0x1de)](_0x554ef3-0x1)===0x3d)_0x12bbd9=!0x0;else{if(_0x265f64===-0x1&&_0x428b49[_0x591028]===0x1)_0xcbf7e5===-0x1&&(_0xcbf7e5=_0x554ef3);else{if(_0xcbf7e5!==-0x1&&(_0x591028===0x20||_0x591028===0x9))_0x265f64===-0x1&&(_0x265f64=_0x554ef3);else{if(_0x591028===0x3b||_0x591028===0x2c){if(_0xcbf7e5===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x554ef3);_0x265f64===-0x1&&(_0x265f64=_0x554ef3);let _0x44c828=_0x28986f[_0xb1e221(0x249)](_0xcbf7e5,_0x265f64);_0xf9cefa&&(_0x44c828=_0x44c828[_0xb1e221(0x28a)](/\\/g,''),_0xf9cefa=!0x1),_0x354110(_0x5a3963,_0x301260,_0x44c828),_0x591028===0x2c&&(_0x354110(_0x56a5f7,_0x2fd0fd,_0x5a3963),_0x5a3963=Object[_0xb1e221(0x1f9)](null),_0x2fd0fd=void 0x0),_0x301260=void 0x0,_0xcbf7e5=_0x265f64=-0x1;}else throw new SyntaxError(_0xb1e221(0x20f)+_0x554ef3);}}}}}}}if(_0xcbf7e5===-0x1||_0x12bbd9||_0x591028===0x20||_0x591028===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x265f64===-0x1&&(_0x265f64=_0x554ef3);const _0x562f59=_0x28986f[_0xb1e221(0x249)](_0xcbf7e5,_0x265f64);return _0x2fd0fd===void 0x0?_0x354110(_0x56a5f7,_0x562f59,_0x5a3963):(_0x301260===void 0x0?_0x354110(_0x5a3963,_0x562f59,!0x0):_0xf9cefa?_0x354110(_0x5a3963,_0x301260,_0x562f59[_0xb1e221(0x28a)](/\\/g,'')):_0x354110(_0x5a3963,_0x301260,_0x562f59),_0x354110(_0x56a5f7,_0x2fd0fd,_0x5a3963)),_0x56a5f7;}function _0x3e32f0(_0x5a7e81){const _0x5431a3=_0x5b32;return Object[_0x5431a3(0x245)](_0x5a7e81)[_0x5431a3(0x2e1)](_0x47ce16=>{const _0x57c18c=_0x5431a3;let _0x22a586=_0x5a7e81[_0x47ce16];return Array['isArray'](_0x22a586)||(_0x22a586=[_0x22a586]),_0x22a586['map'](_0x7e6642=>[_0x47ce16][_0x57c18c(0x334)](Object[_0x57c18c(0x245)](_0x7e6642)[_0x57c18c(0x2e1)](_0x20cc0d=>{const _0x47f222=_0x57c18c;let _0x1e5416=_0x7e6642[_0x20cc0d];return Array[_0x47f222(0x208)](_0x1e5416)||(_0x1e5416=[_0x1e5416]),_0x1e5416[_0x47f222(0x2e1)](_0x131aee=>_0x131aee===!0x0?_0x20cc0d:_0x20cc0d+'='+_0x131aee)[_0x47f222(0x22d)](';\x20');}))[_0x57c18c(0x22d)](';\x20'))[_0x57c18c(0x22d)](',\x20');})[_0x5431a3(0x22d)](',\x20');}return be={'format':_0x3e32f0,'parse':_0x26ba3f},be;}var we,st;function _0x5b32(_0x7f36d9,_0x30993d){const _0x480b11=_0x480b();return _0x5b32=function(_0x5b3208,_0x4b0130){_0x5b3208=_0x5b3208-0x1a8;let _0x50465b=_0x480b11[_0x5b3208];return _0x50465b;},_0x5b32(_0x7f36d9,_0x30993d);}function Ie(){const _0x2c47a0=_0x25de60;if(st)return we;st=0x1;const _0x1e53b1=_0x72dd84,_0x577eb0=_0x5086af,_0x37f9ac=_0x57d2ad,_0x3ac6b8=_0x347dd8,_0x3a9fdf=_0x2ef957,{randomBytes:_0x58a261,createHash:_0x492320}=_0x2cbaf3,{Duplex:_0xe33f47,Readable:_0x84856d}=_0x3fec88,{URL:_0x4dec82}=_0x18ef3a,_0x3b35a9=he(),_0x210358=dt(),_0x3b40d5=_t(),{isBlob:_0x2cb602}=ne(),{BINARY_TYPES:_0x8c68bb,EMPTY_BUFFER:_0x3acae5,GUID:_0x423828,kForOnEventAttribute:_0xc3da69,kListener:_0x127f16,kStatusCode:_0x3c06d6,kWebSocket:_0x336a9c,NOOP:_0x403e00}=V(),{EventTarget:{addEventListener:_0x27bffa,removeEventListener:_0x31ac85}}=Kt(),{format:_0x25c9d2,parse:_0xb213ac}=pt(),{toBuffer:_0x215f57}=ce(),_0x25eef5=0x1e*0x3e8,_0x469a38=Symbol('kAborted'),_0x247d79=[0x8,0xd],_0x1254b5=[_0x2c47a0(0x1ad),_0x2c47a0(0x1a8),_0x2c47a0(0x207),_0x2c47a0(0x1e3)],_0x37b5ff=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x206237 extends _0x1e53b1{constructor(_0x347055,_0x3f58a8,_0x9b9258){const _0x58ee78=_0x2c47a0;super(),this[_0x58ee78(0x348)]=_0x8c68bb[0x0],this['_closeCode']=0x3ee,this[_0x58ee78(0x27a)]=!0x1,this['_closeFrameSent']=!0x1,this['_closeMessage']=_0x3acae5,this[_0x58ee78(0x1e7)]=null,this[_0x58ee78(0x236)]=!0x1,this[_0x58ee78(0x1b4)]={},this[_0x58ee78(0x210)]=!0x1,this[_0x58ee78(0x24c)]='',this['_readyState']=_0x206237[_0x58ee78(0x1ad)],this['_receiver']=null,this[_0x58ee78(0x312)]=null,this[_0x58ee78(0x288)]=null,_0x347055!==null?(this[_0x58ee78(0x274)]=0x0,this['_isServer']=!0x1,this[_0x58ee78(0x265)]=0x0,_0x3f58a8===void 0x0?_0x3f58a8=[]:Array[_0x58ee78(0x208)](_0x3f58a8)||(typeof _0x3f58a8==_0x58ee78(0x25b)&&_0x3f58a8!==null?(_0x9b9258=_0x3f58a8,_0x3f58a8=[]):_0x3f58a8=[_0x3f58a8]),_0x1d36c8(this,_0x347055,_0x3f58a8,_0x9b9258)):(this[_0x58ee78(0x2f3)]=_0x9b9258[_0x58ee78(0x1c9)],this[_0x58ee78(0x294)]=!0x0);}get[_0x2c47a0(0x216)](){const _0x5f325b=_0x2c47a0;return this[_0x5f325b(0x348)];}set['binaryType'](_0x53d325){const _0x12e2e1=_0x2c47a0;_0x8c68bb[_0x12e2e1(0x1b1)](_0x53d325)&&(this[_0x12e2e1(0x348)]=_0x53d325,this['_receiver']&&(this[_0x12e2e1(0x344)][_0x12e2e1(0x348)]=_0x53d325));}get['bufferedAmount'](){const _0xeb0a76=_0x2c47a0;return this[_0xeb0a76(0x288)]?this[_0xeb0a76(0x288)][_0xeb0a76(0x266)][_0xeb0a76(0x1eb)]+this['_sender'][_0xeb0a76(0x321)]:this[_0xeb0a76(0x274)];}get[_0x2c47a0(0x227)](){const _0x45edb3=_0x2c47a0;return Object[_0x45edb3(0x245)](this[_0x45edb3(0x1b4)])[_0x45edb3(0x22d)]();}get[_0x2c47a0(0x1b9)](){const _0x22acdc=_0x2c47a0;return this[_0x22acdc(0x210)];}get['onclose'](){return null;}get['onerror'](){return null;}get['onopen'](){return null;}get[_0x2c47a0(0x26b)](){return null;}get[_0x2c47a0(0x2ea)](){const _0x2adf63=_0x2c47a0;return this[_0x2adf63(0x24c)];}get['readyState'](){const _0x37d697=_0x2c47a0;return this[_0x37d697(0x342)];}get['url'](){const _0x4bc154=_0x2c47a0;return this[_0x4bc154(0x2ac)];}[_0x2c47a0(0x32e)](_0x35d49f,_0x5185d1,_0x594267){const _0x575a60=_0x2c47a0,_0x2134bc=new _0x210358({'allowSynchronousEvents':_0x594267[_0x575a60(0x34e)],'binaryType':this[_0x575a60(0x216)],'extensions':this[_0x575a60(0x1b4)],'isServer':this[_0x575a60(0x294)],'maxPayload':_0x594267[_0x575a60(0x1ef)],'skipUTF8Validation':_0x594267['skipUTF8Validation']}),_0x5dc268=new _0x3b40d5(_0x35d49f,this[_0x575a60(0x1b4)],_0x594267[_0x575a60(0x320)]);this[_0x575a60(0x344)]=_0x2134bc,this[_0x575a60(0x312)]=_0x5dc268,this[_0x575a60(0x288)]=_0x35d49f,_0x2134bc[_0x336a9c]=this,_0x5dc268[_0x336a9c]=this,_0x35d49f[_0x336a9c]=this,_0x2134bc['on'](_0x575a60(0x25f),_0x43447a),_0x2134bc['on'](_0x575a60(0x1ab),_0x5ab58b),_0x2134bc['on'](_0x575a60(0x34f),_0x10f67d),_0x2134bc['on'](_0x575a60(0x20e),_0x4e9de5),_0x2134bc['on'](_0x575a60(0x1b3),_0x14d8e0),_0x2134bc['on'](_0x575a60(0x225),_0x5a6029),_0x5dc268[_0x575a60(0x1bc)]=_0x5c838c,_0x35d49f['setTimeout']&&_0x35d49f[_0x575a60(0x30c)](0x0),_0x35d49f['setNoDelay']&&_0x35d49f[_0x575a60(0x33f)](),_0x5185d1[_0x575a60(0x1eb)]>0x0&&_0x35d49f[_0x575a60(0x228)](_0x5185d1),_0x35d49f['on'](_0x575a60(0x235),_0x2f829c),_0x35d49f['on'](_0x575a60(0x302),_0x3437f1),_0x35d49f['on'](_0x575a60(0x30f),_0x38c772),_0x35d49f['on'](_0x575a60(0x34f),_0x39439e),this[_0x575a60(0x342)]=_0x206237[_0x575a60(0x1a8)],this[_0x575a60(0x2d6)](_0x575a60(0x1dc));}['emitClose'](){const _0x15acc3=_0x2c47a0;if(!this[_0x15acc3(0x288)]){this[_0x15acc3(0x342)]=_0x206237[_0x15acc3(0x1e3)],this['emit'](_0x15acc3(0x235),this['_closeCode'],this[_0x15acc3(0x287)]);return;}this[_0x15acc3(0x1b4)][_0x3b35a9[_0x15acc3(0x2d7)]]&&this['_extensions'][_0x3b35a9[_0x15acc3(0x2d7)]][_0x15acc3(0x1aa)](),this[_0x15acc3(0x344)][_0x15acc3(0x2a2)](),this['_readyState']=_0x206237[_0x15acc3(0x1e3)],this[_0x15acc3(0x2d6)]('close',this[_0x15acc3(0x293)],this[_0x15acc3(0x287)]);}[_0x2c47a0(0x235)](_0x209bde,_0x41b399){const _0x542eb3=_0x2c47a0;if(this[_0x542eb3(0x2c2)]!==_0x206237[_0x542eb3(0x1e3)]){if(this[_0x542eb3(0x2c2)]===_0x206237[_0x542eb3(0x1ad)]){_0x5d3b25(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x542eb3(0x2c2)]===_0x206237[_0x542eb3(0x207)]){this[_0x542eb3(0x23e)]&&(this[_0x542eb3(0x27a)]||this[_0x542eb3(0x344)][_0x542eb3(0x266)][_0x542eb3(0x1e6)])&&this['_socket'][_0x542eb3(0x30f)]();return;}this['_readyState']=_0x206237[_0x542eb3(0x207)],this['_sender']['close'](_0x209bde,_0x41b399,!this[_0x542eb3(0x294)],_0x26315b=>{const _0x5a59f9=_0x542eb3;_0x26315b||(this['_closeFrameSent']=!0x0,(this['_closeFrameReceived']||this[_0x5a59f9(0x344)][_0x5a59f9(0x266)][_0x5a59f9(0x1e6)])&&this['_socket']['end']());}),_0x5e791d(this);}}[_0x2c47a0(0x217)](){const _0xe7e00a=_0x2c47a0;this[_0xe7e00a(0x2c2)]===_0x206237[_0xe7e00a(0x1ad)]||this[_0xe7e00a(0x2c2)]===_0x206237[_0xe7e00a(0x1e3)]||(this[_0xe7e00a(0x210)]=!0x0,this[_0xe7e00a(0x288)][_0xe7e00a(0x217)]());}[_0x2c47a0(0x1b3)](_0x11a011,_0x1cc318,_0x1f33f5){const _0x1d0353=_0x2c47a0;if(this[_0x1d0353(0x2c2)]===_0x206237['CONNECTING'])throw new Error(_0x1d0353(0x2ad));if(typeof _0x11a011==_0x1d0353(0x309)?(_0x1f33f5=_0x11a011,_0x11a011=_0x1cc318=void 0x0):typeof _0x1cc318==_0x1d0353(0x309)&&(_0x1f33f5=_0x1cc318,_0x1cc318=void 0x0),typeof _0x11a011==_0x1d0353(0x2b2)&&(_0x11a011=_0x11a011[_0x1d0353(0x25c)]()),this[_0x1d0353(0x2c2)]!==_0x206237['OPEN']){_0x5bd255(this,_0x11a011,_0x1f33f5);return;}_0x1cc318===void 0x0&&(_0x1cc318=!this[_0x1d0353(0x294)]),this[_0x1d0353(0x312)]['ping'](_0x11a011||_0x3acae5,_0x1cc318,_0x1f33f5);}[_0x2c47a0(0x225)](_0x4f9b46,_0x27c80f,_0x38fcb0){const _0x5f4009=_0x2c47a0;if(this[_0x5f4009(0x2c2)]===_0x206237[_0x5f4009(0x1ad)])throw new Error(_0x5f4009(0x2ad));if(typeof _0x4f9b46==_0x5f4009(0x309)?(_0x38fcb0=_0x4f9b46,_0x4f9b46=_0x27c80f=void 0x0):typeof _0x27c80f==_0x5f4009(0x309)&&(_0x38fcb0=_0x27c80f,_0x27c80f=void 0x0),typeof _0x4f9b46==_0x5f4009(0x2b2)&&(_0x4f9b46=_0x4f9b46['toString']()),this[_0x5f4009(0x2c2)]!==_0x206237[_0x5f4009(0x1a8)]){_0x5bd255(this,_0x4f9b46,_0x38fcb0);return;}_0x27c80f===void 0x0&&(_0x27c80f=!this[_0x5f4009(0x294)]),this[_0x5f4009(0x312)]['pong'](_0x4f9b46||_0x3acae5,_0x27c80f,_0x38fcb0);}[_0x2c47a0(0x297)](){const _0x1f266c=_0x2c47a0;this[_0x1f266c(0x2c2)]===_0x206237['CONNECTING']||this[_0x1f266c(0x2c2)]===_0x206237[_0x1f266c(0x1e3)]||(this[_0x1f266c(0x210)]=!0x1,this[_0x1f266c(0x344)]['_writableState'][_0x1f266c(0x2fb)]||this['_socket'][_0x1f266c(0x297)]());}[_0x2c47a0(0x2c8)](_0x803dcf,_0x5eb84d,_0xc9b075){const _0x185ad6=_0x2c47a0;if(this[_0x185ad6(0x2c2)]===_0x206237['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5eb84d=='function'&&(_0xc9b075=_0x5eb84d,_0x5eb84d={}),typeof _0x803dcf==_0x185ad6(0x2b2)&&(_0x803dcf=_0x803dcf[_0x185ad6(0x25c)]()),this[_0x185ad6(0x2c2)]!==_0x206237[_0x185ad6(0x1a8)]){_0x5bd255(this,_0x803dcf,_0xc9b075);return;}const _0x19a5bb={'binary':typeof _0x803dcf!=_0x185ad6(0x1e2),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x5eb84d};this[_0x185ad6(0x1b4)][_0x3b35a9[_0x185ad6(0x2d7)]]||(_0x19a5bb['compress']=!0x1),this[_0x185ad6(0x312)][_0x185ad6(0x2c8)](_0x803dcf||_0x3acae5,_0x19a5bb,_0xc9b075);}['terminate'](){const _0x2210b1=_0x2c47a0;if(this[_0x2210b1(0x2c2)]!==_0x206237['CLOSED']){if(this[_0x2210b1(0x2c2)]===_0x206237[_0x2210b1(0x1ad)]){_0x5d3b25(this,this[_0x2210b1(0x259)],_0x2210b1(0x23c));return;}this[_0x2210b1(0x288)]&&(this[_0x2210b1(0x342)]=_0x206237['CLOSING'],this['_socket']['destroy']());}}}Object[_0x2c47a0(0x222)](_0x206237,_0x2c47a0(0x1ad),{'enumerable':!0x0,'value':_0x1254b5[_0x2c47a0(0x200)]('CONNECTING')}),Object[_0x2c47a0(0x222)](_0x206237[_0x2c47a0(0x2ba)],_0x2c47a0(0x1ad),{'enumerable':!0x0,'value':_0x1254b5[_0x2c47a0(0x200)](_0x2c47a0(0x1ad))}),Object[_0x2c47a0(0x222)](_0x206237,_0x2c47a0(0x1a8),{'enumerable':!0x0,'value':_0x1254b5[_0x2c47a0(0x200)](_0x2c47a0(0x1a8))}),Object[_0x2c47a0(0x222)](_0x206237[_0x2c47a0(0x2ba)],_0x2c47a0(0x1a8),{'enumerable':!0x0,'value':_0x1254b5['indexOf'](_0x2c47a0(0x1a8))}),Object[_0x2c47a0(0x222)](_0x206237,_0x2c47a0(0x207),{'enumerable':!0x0,'value':_0x1254b5[_0x2c47a0(0x200)](_0x2c47a0(0x207))}),Object['defineProperty'](_0x206237[_0x2c47a0(0x2ba)],_0x2c47a0(0x207),{'enumerable':!0x0,'value':_0x1254b5[_0x2c47a0(0x200)](_0x2c47a0(0x207))}),Object[_0x2c47a0(0x222)](_0x206237,'CLOSED',{'enumerable':!0x0,'value':_0x1254b5[_0x2c47a0(0x200)](_0x2c47a0(0x1e3))}),Object['defineProperty'](_0x206237[_0x2c47a0(0x2ba)],_0x2c47a0(0x1e3),{'enumerable':!0x0,'value':_0x1254b5[_0x2c47a0(0x200)](_0x2c47a0(0x1e3))}),['binaryType',_0x2c47a0(0x2e7),_0x2c47a0(0x227),_0x2c47a0(0x1b9),_0x2c47a0(0x2ea),_0x2c47a0(0x2c2),_0x2c47a0(0x340)][_0x2c47a0(0x229)](_0x3dd741=>{const _0x1cdfc4=_0x2c47a0;Object[_0x1cdfc4(0x222)](_0x206237[_0x1cdfc4(0x2ba)],_0x3dd741,{'enumerable':!0x0});}),[_0x2c47a0(0x1dc),_0x2c47a0(0x34f),_0x2c47a0(0x235),'message'][_0x2c47a0(0x229)](_0x2f69f6=>{const _0x1540d3=_0x2c47a0;Object[_0x1540d3(0x222)](_0x206237[_0x1540d3(0x2ba)],'on'+_0x2f69f6,{'enumerable':!0x0,'get'(){const _0xe391a9=_0x1540d3;for(const _0x7a800c of this[_0xe391a9(0x1ff)](_0x2f69f6))if(_0x7a800c[_0xc3da69])return _0x7a800c[_0x127f16];return null;},'set'(_0x5cd208){const _0x27ca74=_0x1540d3;for(const _0x589f10 of this[_0x27ca74(0x1ff)](_0x2f69f6))if(_0x589f10[_0xc3da69]){this[_0x27ca74(0x1fe)](_0x2f69f6,_0x589f10);break;}typeof _0x5cd208==_0x27ca74(0x309)&&this[_0x27ca74(0x2b9)](_0x2f69f6,_0x5cd208,{[_0xc3da69]:!0x0});}});}),_0x206237[_0x2c47a0(0x2ba)][_0x2c47a0(0x2b9)]=_0x27bffa,_0x206237[_0x2c47a0(0x2ba)][_0x2c47a0(0x203)]=_0x31ac85,we=_0x206237;function _0x1d36c8(_0x39e82d,_0x1c9021,_0x146390,_0x733248){const _0x3cc0ed=_0x2c47a0,_0xe2549a={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x247d79[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x733248,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x3cc0ed(0x1ee),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x39e82d[_0x3cc0ed(0x2f3)]=_0xe2549a[_0x3cc0ed(0x1c9)],!_0x247d79[_0x3cc0ed(0x1b1)](_0xe2549a[_0x3cc0ed(0x356)]))throw new RangeError(_0x3cc0ed(0x224)+_0xe2549a[_0x3cc0ed(0x356)]+_0x3cc0ed(0x1e5)+_0x247d79[_0x3cc0ed(0x22d)](',\x20')+')');let _0x3bf446;if(_0x1c9021 instanceof _0x4dec82)_0x3bf446=_0x1c9021;else try{_0x3bf446=new _0x4dec82(_0x1c9021);}catch{throw new SyntaxError(_0x3cc0ed(0x2eb)+_0x1c9021);}_0x3bf446[_0x3cc0ed(0x2ea)]===_0x3cc0ed(0x1c2)?_0x3bf446[_0x3cc0ed(0x2ea)]=_0x3cc0ed(0x31d):_0x3bf446[_0x3cc0ed(0x2ea)]===_0x3cc0ed(0x34a)&&(_0x3bf446[_0x3cc0ed(0x2ea)]=_0x3cc0ed(0x213)),_0x39e82d[_0x3cc0ed(0x2ac)]=_0x3bf446[_0x3cc0ed(0x1da)];const _0x29143b=_0x3bf446['protocol']===_0x3cc0ed(0x213),_0x71b6e7=_0x3bf446['protocol']===_0x3cc0ed(0x20d);let _0x59d07c;if(_0x3bf446[_0x3cc0ed(0x2ea)]!=='ws:'&&!_0x29143b&&!_0x71b6e7?_0x59d07c=_0x3cc0ed(0x241):_0x71b6e7&&!_0x3bf446[_0x3cc0ed(0x319)]?_0x59d07c=_0x3cc0ed(0x1c7):_0x3bf446[_0x3cc0ed(0x248)]&&(_0x59d07c=_0x3cc0ed(0x1bb)),_0x59d07c){const _0x1d58a4=new SyntaxError(_0x59d07c);if(_0x39e82d[_0x3cc0ed(0x265)]===0x0)throw _0x1d58a4;_0x3ec47e(_0x39e82d,_0x1d58a4);return;}const _0x31dc7d=_0x29143b?0x1bb:0x50,_0x43942a=_0x58a261(0x10)[_0x3cc0ed(0x25c)](_0x3cc0ed(0x32a)),_0x5656d2=_0x29143b?_0x577eb0['request']:_0x37f9ac[_0x3cc0ed(0x2fe)],_0x416ebf=new Set();let _0x34adfb;if(_0xe2549a[_0x3cc0ed(0x1c3)]=_0xe2549a[_0x3cc0ed(0x1c3)]||(_0x29143b?_0x32bac8:_0x484b89),_0xe2549a[_0x3cc0ed(0x2ec)]=_0xe2549a[_0x3cc0ed(0x2ec)]||_0x31dc7d,_0xe2549a[_0x3cc0ed(0x275)]=_0x3bf446[_0x3cc0ed(0x275)]||_0x31dc7d,_0xe2549a[_0x3cc0ed(0x2e0)]=_0x3bf446['hostname']['startsWith']('[')?_0x3bf446[_0x3cc0ed(0x26c)]['slice'](0x1,-0x1):_0x3bf446['hostname'],_0xe2549a[_0x3cc0ed(0x1bd)]={..._0xe2549a[_0x3cc0ed(0x1bd)],'Sec-WebSocket-Version':_0xe2549a['protocolVersion'],'Sec-WebSocket-Key':_0x43942a,'Connection':_0x3cc0ed(0x261),'Upgrade':'websocket'},_0xe2549a['path']=_0x3bf446[_0x3cc0ed(0x319)]+_0x3bf446[_0x3cc0ed(0x2b7)],_0xe2549a[_0x3cc0ed(0x1b2)]=_0xe2549a['handshakeTimeout'],_0xe2549a[_0x3cc0ed(0x23f)]&&(_0x34adfb=new _0x3b35a9(_0xe2549a[_0x3cc0ed(0x23f)]!==!0x0?_0xe2549a[_0x3cc0ed(0x23f)]:{},!0x1,_0xe2549a[_0x3cc0ed(0x1ef)]),_0xe2549a[_0x3cc0ed(0x1bd)]['Sec-WebSocket-Extensions']=_0x25c9d2({[_0x3b35a9[_0x3cc0ed(0x2d7)]]:_0x34adfb['offer']()})),_0x146390[_0x3cc0ed(0x1eb)]){for(const _0x18ec89 of _0x146390){if(typeof _0x18ec89!=_0x3cc0ed(0x1e2)||!_0x37b5ff[_0x3cc0ed(0x349)](_0x18ec89)||_0x416ebf[_0x3cc0ed(0x1db)](_0x18ec89))throw new SyntaxError(_0x3cc0ed(0x327));_0x416ebf['add'](_0x18ec89);}_0xe2549a['headers']['Sec-WebSocket-Protocol']=_0x146390['join'](',');}if(_0xe2549a[_0x3cc0ed(0x313)]&&(_0xe2549a[_0x3cc0ed(0x356)]<0xd?_0xe2549a['headers'][_0x3cc0ed(0x26f)]=_0xe2549a[_0x3cc0ed(0x313)]:_0xe2549a[_0x3cc0ed(0x1bd)][_0x3cc0ed(0x283)]=_0xe2549a[_0x3cc0ed(0x313)]),(_0x3bf446['username']||_0x3bf446[_0x3cc0ed(0x2a8)])&&(_0xe2549a['auth']=_0x3bf446[_0x3cc0ed(0x1d1)]+':'+_0x3bf446[_0x3cc0ed(0x2a8)]),_0x71b6e7){const _0x152a73=_0xe2549a[_0x3cc0ed(0x1d2)][_0x3cc0ed(0x31a)](':');_0xe2549a[_0x3cc0ed(0x220)]=_0x152a73[0x0],_0xe2549a['path']=_0x152a73[0x1];}let _0x10fac6;if(_0xe2549a[_0x3cc0ed(0x239)]){if(_0x39e82d['_redirects']===0x0){_0x39e82d['_originalIpc']=_0x71b6e7,_0x39e82d[_0x3cc0ed(0x1ba)]=_0x29143b,_0x39e82d[_0x3cc0ed(0x27d)]=_0x71b6e7?_0xe2549a[_0x3cc0ed(0x220)]:_0x3bf446[_0x3cc0ed(0x2e0)];const _0x41e9a8=_0x733248&&_0x733248['headers'];if(_0x733248={..._0x733248,'headers':{}},_0x41e9a8){for(const [_0xef494,_0xc3cfda]of Object['entries'](_0x41e9a8))_0x733248[_0x3cc0ed(0x1bd)][_0xef494[_0x3cc0ed(0x232)]()]=_0xc3cfda;}}else{if(_0x39e82d['listenerCount'](_0x3cc0ed(0x250))===0x0){const _0x1ea94a=_0x71b6e7?_0x39e82d['_originalIpc']?_0xe2549a[_0x3cc0ed(0x220)]===_0x39e82d[_0x3cc0ed(0x27d)]:!0x1:_0x39e82d[_0x3cc0ed(0x305)]?!0x1:_0x3bf446['host']===_0x39e82d[_0x3cc0ed(0x27d)];(!_0x1ea94a||_0x39e82d['_originalSecure']&&!_0x29143b)&&(delete _0xe2549a[_0x3cc0ed(0x1bd)][_0x3cc0ed(0x1d5)],delete _0xe2549a[_0x3cc0ed(0x1bd)][_0x3cc0ed(0x351)],_0x1ea94a||delete _0xe2549a[_0x3cc0ed(0x1bd)]['host'],_0xe2549a['auth']=void 0x0);}}_0xe2549a['auth']&&!_0x733248[_0x3cc0ed(0x1bd)][_0x3cc0ed(0x1d5)]&&(_0x733248[_0x3cc0ed(0x1bd)]['authorization']='Basic\x20'+Buffer[_0x3cc0ed(0x1c6)](_0xe2549a[_0x3cc0ed(0x2e6)])[_0x3cc0ed(0x25c)](_0x3cc0ed(0x32a))),_0x10fac6=_0x39e82d[_0x3cc0ed(0x259)]=_0x5656d2(_0xe2549a),_0x39e82d[_0x3cc0ed(0x265)]&&_0x39e82d['emit'](_0x3cc0ed(0x250),_0x39e82d[_0x3cc0ed(0x340)],_0x10fac6);}else _0x10fac6=_0x39e82d[_0x3cc0ed(0x259)]=_0x5656d2(_0xe2549a);_0xe2549a[_0x3cc0ed(0x1b2)]&&_0x10fac6['on'](_0x3cc0ed(0x1b2),()=>{const _0x48f612=_0x3cc0ed;_0x5d3b25(_0x39e82d,_0x10fac6,_0x48f612(0x2c3));}),_0x10fac6['on'](_0x3cc0ed(0x34f),_0x1086d4=>{const _0x5cc671=_0x3cc0ed;_0x10fac6===null||_0x10fac6[_0x469a38]||(_0x10fac6=_0x39e82d[_0x5cc671(0x259)]=null,_0x3ec47e(_0x39e82d,_0x1086d4));}),_0x10fac6['on'](_0x3cc0ed(0x2fc),_0x585a49=>{const _0x333fe9=_0x3cc0ed,_0x5b7821=_0x585a49[_0x333fe9(0x1bd)]['location'],_0x54e697=_0x585a49[_0x333fe9(0x264)];if(_0x5b7821&&_0xe2549a['followRedirects']&&_0x54e697>=0x12c&&_0x54e697<0x190){if(++_0x39e82d[_0x333fe9(0x265)]>_0xe2549a[_0x333fe9(0x310)]){_0x5d3b25(_0x39e82d,_0x10fac6,_0x333fe9(0x2ae));return;}_0x10fac6[_0x333fe9(0x268)]();let _0x113b02;try{_0x113b02=new _0x4dec82(_0x5b7821,_0x1c9021);}catch{const _0x4d2e27=new SyntaxError(_0x333fe9(0x2eb)+_0x5b7821);_0x3ec47e(_0x39e82d,_0x4d2e27);return;}_0x1d36c8(_0x39e82d,_0x113b02,_0x146390,_0x733248);}else _0x39e82d['emit']('unexpected-response',_0x10fac6,_0x585a49)||_0x5d3b25(_0x39e82d,_0x10fac6,'Unexpected\x20server\x20response:\x20'+_0x585a49[_0x333fe9(0x264)]);}),_0x10fac6['on'](_0x3cc0ed(0x205),(_0x85cfb,_0x36be7a,_0x5ea779)=>{const _0x5c452e=_0x3cc0ed;if(_0x39e82d['emit'](_0x5c452e(0x205),_0x85cfb),_0x39e82d[_0x5c452e(0x2c2)]!==_0x206237[_0x5c452e(0x1ad)])return;_0x10fac6=_0x39e82d[_0x5c452e(0x259)]=null;const _0xd0f774=_0x85cfb[_0x5c452e(0x1bd)][_0x5c452e(0x205)];if(_0xd0f774===void 0x0||_0xd0f774[_0x5c452e(0x232)]()!==_0x5c452e(0x24a)){_0x5d3b25(_0x39e82d,_0x36be7a,'Invalid\x20Upgrade\x20header');return;}const _0x2b88c9=_0x492320(_0x5c452e(0x2c9))[_0x5c452e(0x1d6)](_0x43942a+_0x423828)[_0x5c452e(0x1a9)]('base64');if(_0x85cfb['headers']['sec-websocket-accept']!==_0x2b88c9){_0x5d3b25(_0x39e82d,_0x36be7a,_0x5c452e(0x2a3));return;}const _0x264285=_0x85cfb[_0x5c452e(0x1bd)][_0x5c452e(0x242)];let _0x47ba06;if(_0x264285!==void 0x0?_0x416ebf[_0x5c452e(0x1fa)]?_0x416ebf['has'](_0x264285)||(_0x47ba06='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x47ba06='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x416ebf['size']&&(_0x47ba06=_0x5c452e(0x354)),_0x47ba06){_0x5d3b25(_0x39e82d,_0x36be7a,_0x47ba06);return;}_0x264285&&(_0x39e82d[_0x5c452e(0x24c)]=_0x264285);const _0x2f4799=_0x85cfb['headers'][_0x5c452e(0x2c4)];if(_0x2f4799!==void 0x0){if(!_0x34adfb){_0x5d3b25(_0x39e82d,_0x36be7a,_0x5c452e(0x209));return;}let _0x44c65d;try{_0x44c65d=_0xb213ac(_0x2f4799);}catch{_0x5d3b25(_0x39e82d,_0x36be7a,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x3cc029=Object[_0x5c452e(0x245)](_0x44c65d);if(_0x3cc029[_0x5c452e(0x1eb)]!==0x1||_0x3cc029[0x0]!==_0x3b35a9[_0x5c452e(0x2d7)]){_0x5d3b25(_0x39e82d,_0x36be7a,_0x5c452e(0x2a4));return;}try{_0x34adfb[_0x5c452e(0x27f)](_0x44c65d[_0x3b35a9['extensionName']]);}catch{_0x5d3b25(_0x39e82d,_0x36be7a,_0x5c452e(0x262));return;}_0x39e82d[_0x5c452e(0x1b4)][_0x3b35a9[_0x5c452e(0x2d7)]]=_0x34adfb;}_0x39e82d[_0x5c452e(0x32e)](_0x36be7a,_0x5ea779,{'allowSynchronousEvents':_0xe2549a[_0x5c452e(0x34e)],'generateMask':_0xe2549a[_0x5c452e(0x320)],'maxPayload':_0xe2549a[_0x5c452e(0x1ef)],'skipUTF8Validation':_0xe2549a['skipUTF8Validation']});}),_0xe2549a[_0x3cc0ed(0x1ec)]?_0xe2549a['finishRequest'](_0x10fac6,_0x39e82d):_0x10fac6[_0x3cc0ed(0x30f)]();}function _0x3ec47e(_0x5e4a45,_0x4ddc00){const _0x2abab8=_0x2c47a0;_0x5e4a45[_0x2abab8(0x342)]=_0x206237[_0x2abab8(0x207)],_0x5e4a45[_0x2abab8(0x236)]=!0x0,_0x5e4a45[_0x2abab8(0x2d6)](_0x2abab8(0x34f),_0x4ddc00),_0x5e4a45[_0x2abab8(0x2d9)]();}function _0x484b89(_0x51264e){const _0x30d286=_0x2c47a0;return _0x51264e[_0x30d286(0x1d2)]=_0x51264e[_0x30d286(0x220)],_0x3ac6b8[_0x30d286(0x1ac)](_0x51264e);}function _0x32bac8(_0x57f881){const _0x49af46=_0x2c47a0;return _0x57f881['path']=void 0x0,!_0x57f881[_0x49af46(0x28f)]&&_0x57f881[_0x49af46(0x28f)]!==''&&(_0x57f881[_0x49af46(0x28f)]=_0x3ac6b8[_0x49af46(0x2ff)](_0x57f881[_0x49af46(0x2e0)])?'':_0x57f881[_0x49af46(0x2e0)]),_0x3a9fdf['connect'](_0x57f881);}function _0x5d3b25(_0x5c979d,_0x4e3847,_0x5340dc){const _0x7ed29e=_0x2c47a0;_0x5c979d[_0x7ed29e(0x342)]=_0x206237[_0x7ed29e(0x207)];const _0x59d3a9=new Error(_0x5340dc);Error['captureStackTrace'](_0x59d3a9,_0x5d3b25),_0x4e3847[_0x7ed29e(0x2ca)]?(_0x4e3847[_0x469a38]=!0x0,_0x4e3847[_0x7ed29e(0x268)](),_0x4e3847[_0x7ed29e(0x212)]&&!_0x4e3847[_0x7ed29e(0x212)]['destroyed']&&_0x4e3847[_0x7ed29e(0x212)][_0x7ed29e(0x1bf)](),process[_0x7ed29e(0x21f)](_0x3ec47e,_0x5c979d,_0x59d3a9)):(_0x4e3847[_0x7ed29e(0x1bf)](_0x59d3a9),_0x4e3847[_0x7ed29e(0x335)](_0x7ed29e(0x34f),_0x5c979d['emit'][_0x7ed29e(0x347)](_0x5c979d,_0x7ed29e(0x34f))),_0x4e3847[_0x7ed29e(0x335)](_0x7ed29e(0x235),_0x5c979d['emitClose'][_0x7ed29e(0x347)](_0x5c979d)));}function _0x5bd255(_0x24c389,_0x4b3bd7,_0x3e429c){const _0x30fd37=_0x2c47a0;if(_0x4b3bd7){const _0x32ec17=_0x2cb602(_0x4b3bd7)?_0x4b3bd7['size']:_0x215f57(_0x4b3bd7)[_0x30fd37(0x1eb)];_0x24c389[_0x30fd37(0x288)]?_0x24c389['_sender'][_0x30fd37(0x321)]+=_0x32ec17:_0x24c389['_bufferedAmount']+=_0x32ec17;}if(_0x3e429c){const _0x57ba88=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x24c389[_0x30fd37(0x2c2)]+'\x20('+_0x1254b5[_0x24c389[_0x30fd37(0x2c2)]]+')');process[_0x30fd37(0x21f)](_0x3e429c,_0x57ba88);}}function _0x43447a(_0x8c5f4b,_0x458345){const _0x5ef33b=_0x2c47a0,_0x2bef8c=this[_0x336a9c];_0x2bef8c['_closeFrameReceived']=!0x0,_0x2bef8c[_0x5ef33b(0x287)]=_0x458345,_0x2bef8c[_0x5ef33b(0x293)]=_0x8c5f4b,_0x2bef8c['_socket'][_0x336a9c]!==void 0x0&&(_0x2bef8c['_socket'][_0x5ef33b(0x1fe)]('data',_0x3437f1),process[_0x5ef33b(0x21f)](_0x39add5,_0x2bef8c[_0x5ef33b(0x288)]),_0x8c5f4b===0x3ed?_0x2bef8c[_0x5ef33b(0x235)]():_0x2bef8c[_0x5ef33b(0x235)](_0x8c5f4b,_0x458345));}function _0x5ab58b(){const _0xda688b=_0x2c47a0,_0x691290=this[_0x336a9c];_0x691290[_0xda688b(0x1b9)]||_0x691290[_0xda688b(0x288)][_0xda688b(0x297)]();}function _0x10f67d(_0xa0934f){const _0x4aadc7=_0x2c47a0,_0x4688d1=this[_0x336a9c];_0x4688d1[_0x4aadc7(0x288)][_0x336a9c]!==void 0x0&&(_0x4688d1[_0x4aadc7(0x288)][_0x4aadc7(0x1fe)]('data',_0x3437f1),process['nextTick'](_0x39add5,_0x4688d1['_socket']),_0x4688d1[_0x4aadc7(0x235)](_0xa0934f[_0x3c06d6])),_0x4688d1['_errorEmitted']||(_0x4688d1[_0x4aadc7(0x236)]=!0x0,_0x4688d1[_0x4aadc7(0x2d6)](_0x4aadc7(0x34f),_0xa0934f));}function _0x49dd4d(){this[_0x336a9c]['emitClose']();}function _0x4e9de5(_0x2f2ac9,_0x630880){const _0x17f3c4=_0x2c47a0;this[_0x336a9c][_0x17f3c4(0x2d6)](_0x17f3c4(0x20e),_0x2f2ac9,_0x630880);}function _0x14d8e0(_0x52eca1){const _0x2270a0=_0x2c47a0,_0xc77dab=this[_0x336a9c];_0xc77dab[_0x2270a0(0x2f3)]&&_0xc77dab[_0x2270a0(0x225)](_0x52eca1,!this[_0x2270a0(0x294)],_0x403e00),_0xc77dab[_0x2270a0(0x2d6)]('ping',_0x52eca1);}function _0x5a6029(_0x191251){const _0xb97713=_0x2c47a0;this[_0x336a9c][_0xb97713(0x2d6)](_0xb97713(0x225),_0x191251);}function _0x39add5(_0x465597){const _0x3e65e5=_0x2c47a0;_0x465597[_0x3e65e5(0x297)]();}function _0x5c838c(_0x4b4511){const _0x1cd4e1=_0x2c47a0,_0x6e9e11=this[_0x336a9c];_0x6e9e11[_0x1cd4e1(0x2c2)]!==_0x206237[_0x1cd4e1(0x1e3)]&&(_0x6e9e11[_0x1cd4e1(0x2c2)]===_0x206237[_0x1cd4e1(0x1a8)]&&(_0x6e9e11[_0x1cd4e1(0x342)]=_0x206237[_0x1cd4e1(0x207)],_0x5e791d(_0x6e9e11)),this[_0x1cd4e1(0x288)][_0x1cd4e1(0x30f)](),_0x6e9e11[_0x1cd4e1(0x236)]||(_0x6e9e11[_0x1cd4e1(0x236)]=!0x0,_0x6e9e11[_0x1cd4e1(0x2d6)](_0x1cd4e1(0x34f),_0x4b4511)));}function _0x5e791d(_0x2b9ca0){const _0x35280e=_0x2c47a0;_0x2b9ca0['_closeTimer']=setTimeout(_0x2b9ca0[_0x35280e(0x288)][_0x35280e(0x1bf)][_0x35280e(0x347)](_0x2b9ca0[_0x35280e(0x288)]),_0x25eef5);}function _0x2f829c(){const _0x5c7a69=_0x2c47a0,_0x98861f=this[_0x336a9c];this['removeListener'](_0x5c7a69(0x235),_0x2f829c),this['removeListener'](_0x5c7a69(0x302),_0x3437f1),this[_0x5c7a69(0x1fe)](_0x5c7a69(0x30f),_0x38c772),_0x98861f[_0x5c7a69(0x342)]=_0x206237[_0x5c7a69(0x207)];let _0x491c02;!this[_0x5c7a69(0x238)]['endEmitted']&&!_0x98861f[_0x5c7a69(0x27a)]&&!_0x98861f[_0x5c7a69(0x344)][_0x5c7a69(0x266)][_0x5c7a69(0x1e6)]&&(_0x491c02=_0x98861f['_socket'][_0x5c7a69(0x1f8)]())!==null&&_0x98861f[_0x5c7a69(0x344)][_0x5c7a69(0x1ca)](_0x491c02),_0x98861f[_0x5c7a69(0x344)]['end'](),this[_0x336a9c]=void 0x0,clearTimeout(_0x98861f['_closeTimer']),_0x98861f[_0x5c7a69(0x344)][_0x5c7a69(0x266)][_0x5c7a69(0x21b)]||_0x98861f['_receiver'][_0x5c7a69(0x266)][_0x5c7a69(0x1e6)]?_0x98861f['emitClose']():(_0x98861f[_0x5c7a69(0x344)]['on'](_0x5c7a69(0x34f),_0x49dd4d),_0x98861f[_0x5c7a69(0x344)]['on'](_0x5c7a69(0x33b),_0x49dd4d));}function _0x3437f1(_0x336db6){const _0x284b8a=_0x2c47a0;this[_0x336a9c]['_receiver'][_0x284b8a(0x1ca)](_0x336db6)||this[_0x284b8a(0x217)]();}function _0x38c772(){const _0x259a81=_0x2c47a0,_0xea8d83=this[_0x336a9c];_0xea8d83['_readyState']=_0x206237[_0x259a81(0x207)],_0xea8d83[_0x259a81(0x344)][_0x259a81(0x30f)](),this[_0x259a81(0x30f)]();}function _0x39439e(){const _0x4aeaf7=_0x2c47a0,_0x4d6a50=this[_0x336a9c];this[_0x4aeaf7(0x1fe)]('error',_0x39439e),this['on']('error',_0x403e00),_0x4d6a50&&(_0x4d6a50[_0x4aeaf7(0x342)]=_0x206237[_0x4aeaf7(0x207)],this[_0x4aeaf7(0x1bf)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x16f62c}=_0x3fec88;function _0x27ca3b(_0x4a6b8f){const _0x1e317f=_0x5b32;_0x4a6b8f[_0x1e317f(0x2d6)](_0x1e317f(0x235));}function _0x1fb2c9(){const _0x35e3eb=_0x5b32;!this[_0x35e3eb(0x257)]&&this[_0x35e3eb(0x266)][_0x35e3eb(0x21b)]&&this[_0x35e3eb(0x1bf)]();}function _0x4c4334(_0xb1e172){const _0x286f95=_0x5b32;this[_0x286f95(0x1fe)](_0x286f95(0x34f),_0x4c4334),this['destroy'](),this[_0x286f95(0x2b8)](_0x286f95(0x34f))===0x0&&this['emit'](_0x286f95(0x34f),_0xb1e172);}function _0x40a4c6(_0x1fac78,_0x16478f){const _0x5195e3=_0x5b32;let _0x31e405=!0x0;const _0xd5b3cf=new _0x16f62c({..._0x16478f,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x1fac78['on'](_0x5195e3(0x20e),function(_0xb60f7b,_0x295fb2){const _0x196807=_0x5195e3,_0x4e91b0=!_0x295fb2&&_0xd5b3cf[_0x196807(0x238)][_0x196807(0x2b0)]?_0xb60f7b[_0x196807(0x25c)]():_0xb60f7b;_0xd5b3cf[_0x196807(0x1f0)](_0x4e91b0)||_0x1fac78[_0x196807(0x217)]();}),_0x1fac78[_0x5195e3(0x335)](_0x5195e3(0x34f),function(_0x39f168){const _0x117b29=_0x5195e3;_0xd5b3cf[_0x117b29(0x257)]||(_0x31e405=!0x1,_0xd5b3cf[_0x117b29(0x1bf)](_0x39f168));}),_0x1fac78[_0x5195e3(0x335)](_0x5195e3(0x235),function(){const _0x55db06=_0x5195e3;_0xd5b3cf[_0x55db06(0x257)]||_0xd5b3cf['push'](null);}),_0xd5b3cf['_destroy']=function(_0x395194,_0x2f90ec){const _0x48f3ef=_0x5195e3;if(_0x1fac78[_0x48f3ef(0x2c2)]===_0x1fac78[_0x48f3ef(0x1e3)]){_0x2f90ec(_0x395194),process[_0x48f3ef(0x21f)](_0x27ca3b,_0xd5b3cf);return;}let _0x14f370=!0x1;_0x1fac78[_0x48f3ef(0x335)]('error',function(_0x3b5f86){_0x14f370=!0x0,_0x2f90ec(_0x3b5f86);}),_0x1fac78[_0x48f3ef(0x335)](_0x48f3ef(0x235),function(){_0x14f370||_0x2f90ec(_0x395194),process['nextTick'](_0x27ca3b,_0xd5b3cf);}),_0x31e405&&_0x1fac78['terminate']();},_0xd5b3cf[_0x5195e3(0x237)]=function(_0x847728){const _0x56447a=_0x5195e3;if(_0x1fac78[_0x56447a(0x2c2)]===_0x1fac78[_0x56447a(0x1ad)]){_0x1fac78[_0x56447a(0x335)](_0x56447a(0x1dc),function(){const _0x1b2977=_0x56447a;_0xd5b3cf[_0x1b2977(0x237)](_0x847728);});return;}_0x1fac78[_0x56447a(0x288)]!==null&&(_0x1fac78[_0x56447a(0x288)]['_writableState'][_0x56447a(0x21b)]?(_0x847728(),_0xd5b3cf[_0x56447a(0x238)][_0x56447a(0x21a)]&&_0xd5b3cf[_0x56447a(0x1bf)]()):(_0x1fac78[_0x56447a(0x288)]['once'](_0x56447a(0x33b),function(){_0x847728();}),_0x1fac78[_0x56447a(0x235)]()));},_0xd5b3cf[_0x5195e3(0x28e)]=function(){_0x1fac78['isPaused']&&_0x1fac78['resume']();},_0xd5b3cf[_0x5195e3(0x1fc)]=function(_0x7b0d20,_0x1ae471,_0x42e2ed){const _0x509a40=_0x5195e3;if(_0x1fac78[_0x509a40(0x2c2)]===_0x1fac78[_0x509a40(0x1ad)]){_0x1fac78['once'](_0x509a40(0x1dc),function(){const _0x19d8c2=_0x509a40;_0xd5b3cf[_0x19d8c2(0x1fc)](_0x7b0d20,_0x1ae471,_0x42e2ed);});return;}_0x1fac78[_0x509a40(0x2c8)](_0x7b0d20,_0x42e2ed);},_0xd5b3cf['on'](_0x5195e3(0x30f),_0x1fb2c9),_0xd5b3cf['on'](_0x5195e3(0x34f),_0x4c4334),_0xd5b3cf;}return Oe=_0x40a4c6,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x1a07df}=ne();function _0x5b590d(_0x4e8e79){const _0x1868ee=_0x5b32,_0x2bb7d1=new Set();let _0x3c1703=-0x1,_0x359c4b=-0x1,_0x465e92=0x0;for(_0x465e92;_0x465e92<_0x4e8e79[_0x1868ee(0x1eb)];_0x465e92++){const _0x231788=_0x4e8e79[_0x1868ee(0x1de)](_0x465e92);if(_0x359c4b===-0x1&&_0x1a07df[_0x231788]===0x1)_0x3c1703===-0x1&&(_0x3c1703=_0x465e92);else{if(_0x465e92!==0x0&&(_0x231788===0x20||_0x231788===0x9))_0x359c4b===-0x1&&_0x3c1703!==-0x1&&(_0x359c4b=_0x465e92);else{if(_0x231788===0x2c){if(_0x3c1703===-0x1)throw new SyntaxError(_0x1868ee(0x20f)+_0x465e92);_0x359c4b===-0x1&&(_0x359c4b=_0x465e92);const _0x3be429=_0x4e8e79[_0x1868ee(0x249)](_0x3c1703,_0x359c4b);if(_0x2bb7d1['has'](_0x3be429))throw new SyntaxError(_0x1868ee(0x2d0)+_0x3be429+_0x1868ee(0x2e8));_0x2bb7d1[_0x1868ee(0x2df)](_0x3be429),_0x3c1703=_0x359c4b=-0x1;}else throw new SyntaxError(_0x1868ee(0x20f)+_0x465e92);}}}if(_0x3c1703===-0x1||_0x359c4b!==-0x1)throw new SyntaxError(_0x1868ee(0x24e));const _0xe74aa3=_0x4e8e79[_0x1868ee(0x249)](_0x3c1703,_0x465e92);if(_0x2bb7d1[_0x1868ee(0x1db)](_0xe74aa3))throw new SyntaxError(_0x1868ee(0x2d0)+_0xe74aa3+_0x1868ee(0x2e8));return _0x2bb7d1[_0x1868ee(0x2df)](_0xe74aa3),_0x2bb7d1;}return Ce={'parse':_0x5b590d},Ce;}var Te,ot;function er(){const _0x28aaf3=_0x25de60;if(ot)return Te;ot=0x1;const _0x32cec8=_0x72dd84,_0x432759=_0x57d2ad,{Duplex:_0x3f9982}=_0x3fec88,{createHash:_0xaab2ce}=_0x2cbaf3,_0x5cd3f4=pt(),_0x2eb8fe=he(),_0x3b49bf=Jt(),_0x1fc2a4=Ie(),{GUID:_0x382677,kWebSocket:_0x44ba15}=V(),_0xe63921=/^[+/0-9A-Za-z]{22}==$/,_0x3e2acc=0x0,_0x39a568=0x1,_0x4a1c56=0x2;class _0x4b57e3 extends _0x32cec8{constructor(_0x49b0ec,_0x5c6ce8){const _0x5d3fe9=_0x5b32;if(super(),_0x49b0ec={'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':_0x1fc2a4,..._0x49b0ec},_0x49b0ec[_0x5d3fe9(0x275)]==null&&!_0x49b0ec['server']&&!_0x49b0ec['noServer']||_0x49b0ec[_0x5d3fe9(0x275)]!=null&&(_0x49b0ec[_0x5d3fe9(0x204)]||_0x49b0ec['noServer'])||_0x49b0ec[_0x5d3fe9(0x204)]&&_0x49b0ec[_0x5d3fe9(0x24d)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x49b0ec[_0x5d3fe9(0x275)]!=null?(this['_server']=_0x432759[_0x5d3fe9(0x314)]((_0x2982eb,_0x1f0616)=>{const _0x2868e2=_0x5d3fe9,_0x2ad4f6=_0x432759[_0x2868e2(0x2fd)][0x1aa];_0x1f0616[_0x2868e2(0x233)](0x1aa,{'Content-Length':_0x2ad4f6['length'],'Content-Type':_0x2868e2(0x25a)}),_0x1f0616[_0x2868e2(0x30f)](_0x2ad4f6);}),this['_server'][_0x5d3fe9(0x271)](_0x49b0ec[_0x5d3fe9(0x275)],_0x49b0ec[_0x5d3fe9(0x2e0)],_0x49b0ec['backlog'],_0x5c6ce8)):_0x49b0ec[_0x5d3fe9(0x204)]&&(this[_0x5d3fe9(0x1b0)]=_0x49b0ec['server']),this[_0x5d3fe9(0x1b0)]){const _0x23adc7=this[_0x5d3fe9(0x2d6)][_0x5d3fe9(0x347)](this,_0x5d3fe9(0x315));this[_0x5d3fe9(0x2fa)]=_0x5bf9e5(this[_0x5d3fe9(0x1b0)],{'listening':this['emit'][_0x5d3fe9(0x347)](this,_0x5d3fe9(0x2f0)),'error':this[_0x5d3fe9(0x2d6)][_0x5d3fe9(0x347)](this,'error'),'upgrade':(_0x5cfce4,_0x7b5b6c,_0x30c4ea)=>{const _0x4490f4=_0x5d3fe9;this[_0x4490f4(0x211)](_0x5cfce4,_0x7b5b6c,_0x30c4ea,_0x23adc7);}});}_0x49b0ec[_0x5d3fe9(0x23f)]===!0x0&&(_0x49b0ec['perMessageDeflate']={}),_0x49b0ec[_0x5d3fe9(0x253)]&&(this['clients']=new Set(),this['_shouldEmitClose']=!0x1),this[_0x5d3fe9(0x20a)]=_0x49b0ec,this[_0x5d3fe9(0x25d)]=_0x3e2acc;}[_0x28aaf3(0x21e)](){const _0x2114e7=_0x28aaf3;if(this[_0x2114e7(0x20a)][_0x2114e7(0x24d)])throw new Error(_0x2114e7(0x27c));return this[_0x2114e7(0x1b0)]?this[_0x2114e7(0x1b0)][_0x2114e7(0x21e)]():null;}['close'](_0x1e5017){const _0x3e38e5=_0x28aaf3;if(this[_0x3e38e5(0x25d)]===_0x4a1c56){_0x1e5017&&this[_0x3e38e5(0x335)](_0x3e38e5(0x235),()=>{const _0x114339=_0x3e38e5;_0x1e5017(new Error(_0x114339(0x254)));}),process[_0x3e38e5(0x21f)](_0x43b628,this);return;}if(_0x1e5017&&this[_0x3e38e5(0x335)](_0x3e38e5(0x235),_0x1e5017),this['_state']!==_0x39a568){if(this[_0x3e38e5(0x25d)]=_0x39a568,this['options'][_0x3e38e5(0x24d)]||this['options'][_0x3e38e5(0x204)])this[_0x3e38e5(0x1b0)]&&(this['_removeListeners'](),this['_removeListeners']=this[_0x3e38e5(0x1b0)]=null),this[_0x3e38e5(0x1f3)]?this['clients']['size']?this[_0x3e38e5(0x316)]=!0x0:process[_0x3e38e5(0x21f)](_0x43b628,this):process[_0x3e38e5(0x21f)](_0x43b628,this);else{const _0x3eefdf=this[_0x3e38e5(0x1b0)];this[_0x3e38e5(0x2fa)](),this[_0x3e38e5(0x2fa)]=this[_0x3e38e5(0x1b0)]=null,_0x3eefdf[_0x3e38e5(0x235)](()=>{_0x43b628(this);});}}}[_0x28aaf3(0x290)](_0x2b0723){const _0x51a671=_0x28aaf3;if(this[_0x51a671(0x20a)][_0x51a671(0x1d2)]){const _0x468091=_0x2b0723[_0x51a671(0x340)]['indexOf']('?');if((_0x468091!==-0x1?_0x2b0723[_0x51a671(0x340)][_0x51a671(0x249)](0x0,_0x468091):_0x2b0723[_0x51a671(0x340)])!==this[_0x51a671(0x20a)][_0x51a671(0x1d2)])return!0x1;}return!0x0;}[_0x28aaf3(0x211)](_0xc82f2c,_0x4e70de,_0x3fc84,_0x23cb72){const _0x551702=_0x28aaf3;_0x4e70de['on']('error',_0x331fa8);const _0x47b822=_0xc82f2c[_0x551702(0x1bd)][_0x551702(0x29c)],_0x595d23=_0xc82f2c['headers']['upgrade'],_0x27e9b4=+_0xc82f2c[_0x551702(0x1bd)][_0x551702(0x1e0)];if(_0xc82f2c[_0x551702(0x355)]!==_0x551702(0x1ee)){_0x97893c(this,_0xc82f2c,_0x4e70de,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x595d23===void 0x0||_0x595d23[_0x551702(0x232)]()!=='websocket'){_0x97893c(this,_0xc82f2c,_0x4e70de,0x190,_0x551702(0x218));return;}if(_0x47b822===void 0x0||!_0xe63921['test'](_0x47b822)){_0x97893c(this,_0xc82f2c,_0x4e70de,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x27e9b4!==0x8&&_0x27e9b4!==0xd){_0x97893c(this,_0xc82f2c,_0x4e70de,0x190,_0x551702(0x2dc));return;}if(!this[_0x551702(0x290)](_0xc82f2c)){_0x3b5f9d(_0x4e70de,0x190);return;}const _0x16fc8a=_0xc82f2c[_0x551702(0x1bd)]['sec-websocket-protocol'];let _0x5d5c62=new Set();if(_0x16fc8a!==void 0x0)try{_0x5d5c62=_0x3b49bf['parse'](_0x16fc8a);}catch{_0x97893c(this,_0xc82f2c,_0x4e70de,0x190,_0x551702(0x1d3));return;}const _0x1ac0f5=_0xc82f2c['headers']['sec-websocket-extensions'],_0x167bce={};if(this[_0x551702(0x20a)][_0x551702(0x23f)]&&_0x1ac0f5!==void 0x0){const _0x41c7eb=new _0x2eb8fe(this[_0x551702(0x20a)][_0x551702(0x23f)],!0x0,this['options'][_0x551702(0x1ef)]);try{const _0x1d9f14=_0x5cd3f4[_0x551702(0x1c4)](_0x1ac0f5);_0x1d9f14[_0x2eb8fe[_0x551702(0x2d7)]]&&(_0x41c7eb[_0x551702(0x27f)](_0x1d9f14[_0x2eb8fe[_0x551702(0x2d7)]]),_0x167bce[_0x2eb8fe[_0x551702(0x2d7)]]=_0x41c7eb);}catch{_0x97893c(this,_0xc82f2c,_0x4e70de,0x190,_0x551702(0x281));return;}}if(this['options']['verifyClient']){const _0x3ac60e={'origin':_0xc82f2c['headers'][''+(_0x27e9b4===0x8?_0x551702(0x29b):'origin')],'secure':!!(_0xc82f2c[_0x551702(0x212)][_0x551702(0x279)]||_0xc82f2c[_0x551702(0x212)][_0x551702(0x1f5)]),'req':_0xc82f2c};if(this[_0x551702(0x20a)][_0x551702(0x317)][_0x551702(0x1eb)]===0x2){this[_0x551702(0x20a)][_0x551702(0x317)](_0x3ac60e,(_0x37bfa2,_0x5685ef,_0x3eecd1,_0x2e6bdc)=>{const _0x26fabc=_0x551702;if(!_0x37bfa2)return _0x3b5f9d(_0x4e70de,_0x5685ef||0x191,_0x3eecd1,_0x2e6bdc);this[_0x26fabc(0x219)](_0x167bce,_0x47b822,_0x5d5c62,_0xc82f2c,_0x4e70de,_0x3fc84,_0x23cb72);});return;}if(!this[_0x551702(0x20a)][_0x551702(0x317)](_0x3ac60e))return _0x3b5f9d(_0x4e70de,0x191);}this[_0x551702(0x219)](_0x167bce,_0x47b822,_0x5d5c62,_0xc82f2c,_0x4e70de,_0x3fc84,_0x23cb72);}[_0x28aaf3(0x219)](_0x2e203f,_0x24db19,_0x586308,_0x58cd2b,_0x2530c4,_0x1df416,_0x334524){const _0x2fae3a=_0x28aaf3;if(!_0x2530c4['readable']||!_0x2530c4[_0x2fae3a(0x1d4)])return _0x2530c4['destroy']();if(_0x2530c4[_0x44ba15])throw new Error(_0x2fae3a(0x31f));if(this[_0x2fae3a(0x25d)]>_0x3e2acc)return _0x3b5f9d(_0x2530c4,0x1f7);const _0x36451e=[_0x2fae3a(0x263),_0x2fae3a(0x338),_0x2fae3a(0x2a0),_0x2fae3a(0x34d)+_0xaab2ce(_0x2fae3a(0x2c9))[_0x2fae3a(0x1d6)](_0x24db19+_0x382677)[_0x2fae3a(0x1a9)](_0x2fae3a(0x32a))],_0x1fcf39=new this[(_0x2fae3a(0x20a))][(_0x2fae3a(0x2af))](null,void 0x0,this['options']);if(_0x586308[_0x2fae3a(0x1fa)]){const _0x3da511=this[_0x2fae3a(0x20a)][_0x2fae3a(0x2cc)]?this[_0x2fae3a(0x20a)][_0x2fae3a(0x2cc)](_0x586308,_0x58cd2b):_0x586308[_0x2fae3a(0x284)]()[_0x2fae3a(0x2a1)]()[_0x2fae3a(0x1c1)];_0x3da511&&(_0x36451e[_0x2fae3a(0x1f0)](_0x2fae3a(0x30a)+_0x3da511),_0x1fcf39[_0x2fae3a(0x24c)]=_0x3da511);}if(_0x2e203f[_0x2eb8fe[_0x2fae3a(0x2d7)]]){const _0x9b8c26=_0x2e203f[_0x2eb8fe['extensionName']][_0x2fae3a(0x23b)],_0x5a168e=_0x5cd3f4['format']({[_0x2eb8fe[_0x2fae3a(0x2d7)]]:[_0x9b8c26]});_0x36451e[_0x2fae3a(0x1f0)]('Sec-WebSocket-Extensions:\x20'+_0x5a168e),_0x1fcf39['_extensions']=_0x2e203f;}this['emit'](_0x2fae3a(0x1bd),_0x36451e,_0x58cd2b),_0x2530c4[_0x2fae3a(0x1ca)](_0x36451e[_0x2fae3a(0x334)]('\x0d\x0a')[_0x2fae3a(0x22d)]('\x0d\x0a')),_0x2530c4[_0x2fae3a(0x1fe)]('error',_0x331fa8),_0x1fcf39[_0x2fae3a(0x32e)](_0x2530c4,_0x1df416,{'allowSynchronousEvents':this[_0x2fae3a(0x20a)][_0x2fae3a(0x34e)],'maxPayload':this[_0x2fae3a(0x20a)][_0x2fae3a(0x1ef)],'skipUTF8Validation':this['options'][_0x2fae3a(0x26e)]}),this[_0x2fae3a(0x1f3)]&&(this[_0x2fae3a(0x1f3)][_0x2fae3a(0x2df)](_0x1fcf39),_0x1fcf39['on'](_0x2fae3a(0x235),()=>{const _0x7bb8c9=_0x2fae3a;this[_0x7bb8c9(0x1f3)][_0x7bb8c9(0x27b)](_0x1fcf39),this['_shouldEmitClose']&&!this[_0x7bb8c9(0x1f3)]['size']&&process[_0x7bb8c9(0x21f)](_0x43b628,this);})),_0x334524(_0x1fcf39,_0x58cd2b);}}Te=_0x4b57e3;function _0x5bf9e5(_0xbf005c,_0x26b944){const _0x598a58=_0x28aaf3;for(const _0x41cae3 of Object[_0x598a58(0x245)](_0x26b944))_0xbf005c['on'](_0x41cae3,_0x26b944[_0x41cae3]);return function(){const _0x29249e=_0x598a58;for(const _0x5d23b1 of Object[_0x29249e(0x245)](_0x26b944))_0xbf005c[_0x29249e(0x1fe)](_0x5d23b1,_0x26b944[_0x5d23b1]);};}function _0x43b628(_0x26d09b){const _0x16457e=_0x28aaf3;_0x26d09b[_0x16457e(0x25d)]=_0x4a1c56,_0x26d09b[_0x16457e(0x2d6)]('close');}function _0x331fa8(){const _0x14a898=_0x28aaf3;this[_0x14a898(0x1bf)]();}function _0x3b5f9d(_0x2205de,_0x32c538,_0x126347,_0x468359){const _0x4baf81=_0x28aaf3;_0x126347=_0x126347||_0x432759['STATUS_CODES'][_0x32c538],_0x468359={'Connection':_0x4baf81(0x235),'Content-Type':'text/html','Content-Length':Buffer[_0x4baf81(0x2ef)](_0x126347),..._0x468359},_0x2205de[_0x4baf81(0x335)](_0x4baf81(0x33b),_0x2205de[_0x4baf81(0x1bf)]),_0x2205de[_0x4baf81(0x30f)](_0x4baf81(0x299)+_0x32c538+'\x20'+_0x432759[_0x4baf81(0x2fd)][_0x32c538]+'\x0d\x0a'+Object[_0x4baf81(0x245)](_0x468359)[_0x4baf81(0x2e1)](_0x577f92=>_0x577f92+':\x20'+_0x468359[_0x577f92])[_0x4baf81(0x22d)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x126347);}function _0x97893c(_0x4cb457,_0x5420c5,_0xaa5b08,_0x5cfb57,_0x4359c7){const _0x27b72c=_0x28aaf3;if(_0x4cb457[_0x27b72c(0x2b8)](_0x27b72c(0x330))){const _0x31c931=new Error(_0x4359c7);Error[_0x27b72c(0x2d4)](_0x31c931,_0x97893c),_0x4cb457['emit'](_0x27b72c(0x330),_0x31c931,_0xaa5b08,_0x5420c5);}else _0x3b5f9d(_0xaa5b08,_0x5cfb57,_0x4359c7);}return Te;}er();var tr=Object[_0x25de60(0x2f9)],rr=(_0x20eac1,_0x3a3d73,_0x4af25c,_0x443110)=>{for(var _0x3c0de1=_0x443110>0x1?void 0x0:_0x443110?tr(_0x3a3d73,_0x4af25c):_0x3a3d73,_0x20c7ee=_0x20eac1['length']-0x1,_0x3c572f;_0x20c7ee>=0x0;_0x20c7ee--)(_0x3c572f=_0x20eac1[_0x20c7ee])&&(_0x3c0de1=_0x3c572f(_0x3c0de1)||_0x3c0de1);return _0x3c0de1;},sr=(_0x53ea2d,_0x289bbd)=>(_0x1000d3,_0x3c45ff)=>_0x289bbd(_0x1000d3,_0x3c45ff,_0x53ea2d);let Ne=class extends _0x4e681f{constructor(_0x128489){super(),this['_configService']=_0x128489;}[_0x25de60(0x34c)](_0x533266){const _0xb3f3b6=_0x25de60;var _0x58909f;const _0x45272d=(_0x58909f=this['_configService'][_0xb3f3b6(0x1f1)](Be))==null?void 0x0:_0x58909f[_0xb3f3b6(0x30e)];try{const _0x5c8d45=new Qt(_0x533266,{'headers':{..._0x45272d}}),_0x14b54a=new _0x26232c();return{'URL':_0x533266,'close':(_0x169270,_0x48e426)=>{const _0x47702b=_0xb3f3b6;_0x5c8d45['close'](_0x169270,_0x48e426),_0x14b54a[_0x47702b(0x276)]();},'send':_0x3e5d75=>{const _0xa1baa4=_0xb3f3b6;_0x5c8d45[_0xa1baa4(0x2c8)](_0x3e5d75);},'open$':new _0x2e254b(_0x5ce996=>{const _0xf86114=_0xb3f3b6,_0x172b95=_0x2e16da=>_0x5ce996[_0xf86114(0x2a1)](_0x2e16da);_0x5c8d45[_0xf86114(0x2b9)](_0xf86114(0x1dc),_0x172b95),_0x14b54a[_0xf86114(0x2df)](_0x106ade(()=>_0x5c8d45['removeEventListener'](_0xf86114(0x1dc),_0x172b95)));})['pipe'](_0x22d3c8()),'close$':new _0x2e254b(_0x4b40d1=>{const _0x2a18b2=_0xb3f3b6,_0x3e7f00=_0x315927=>_0x4b40d1[_0x2a18b2(0x2a1)](_0x315927);_0x5c8d45['addEventListener'](_0x2a18b2(0x235),_0x3e7f00),_0x14b54a['add'](_0x106ade(()=>_0x5c8d45[_0x2a18b2(0x203)](_0x2a18b2(0x235),_0x3e7f00)));})[_0xb3f3b6(0x326)](_0x22d3c8()),'error$':new _0x2e254b(_0x1cc953=>{const _0x288af2=_0xb3f3b6,_0x66e00e=_0x3a5515=>_0x1cc953[_0x288af2(0x2a1)](_0x3a5515);_0x5c8d45[_0x288af2(0x2b9)](_0x288af2(0x34f),_0x66e00e),_0x14b54a['add'](_0x106ade(()=>_0x5c8d45['removeEventListener'](_0x288af2(0x34f),_0x66e00e)));})['pipe'](_0x22d3c8()),'message$':new _0x2e254b(_0x69fec8=>{const _0x3ead10=_0xb3f3b6,_0x1f8890=_0x19aeb5=>_0x69fec8[_0x3ead10(0x2a1)](_0x19aeb5);_0x5c8d45[_0x3ead10(0x2b9)]('message',_0x1f8890),_0x14b54a[_0x3ead10(0x2df)](_0x106ade(()=>_0x5c8d45[_0x3ead10(0x203)](_0x3ead10(0x20e),_0x1f8890)));})[_0xb3f3b6(0x326)](_0x22d3c8())};}catch(_0x4769c7){return console[_0xb3f3b6(0x34f)](_0x4769c7),null;}}};Ne=rr([sr(0x0,_0x56545c)],Ne);var ir=Object[_0x25de60(0x222)],nr=Object[_0x25de60(0x2f9)],or=(_0x2fefdb,_0x3c9d99,_0xfafc44)=>_0x3c9d99 in _0x2fefdb?ir(_0x2fefdb,_0x3c9d99,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xfafc44}):_0x2fefdb[_0x3c9d99]=_0xfafc44,ar=(_0x3b51b4,_0x4437fe,_0x21c168,_0x4e9419)=>{const _0x15db53=_0x25de60;for(var _0x3318c3=_0x4e9419>0x1?void 0x0:_0x4e9419?nr(_0x4437fe,_0x21c168):_0x4437fe,_0x325445=_0x3b51b4[_0x15db53(0x1eb)]-0x1,_0x559a3f;_0x325445>=0x0;_0x325445--)(_0x559a3f=_0x3b51b4[_0x325445])&&(_0x3318c3=_0x559a3f(_0x3318c3)||_0x3318c3);return _0x3318c3;},ke=(_0x435fbc,_0x577006)=>(_0x1fb25f,_0x1f934b)=>_0x577006(_0x1fb25f,_0x1f934b,_0x435fbc),lr=(_0x1e9121,_0x5ee9b5,_0x197dcc)=>or(_0x1e9121,_0x5ee9b5+'',_0x197dcc);let Pe=class extends _0x126c96{constructor(_0x359311=Ft,_0x32b4ca,_0x5b0eaa,_0x51270d){const _0x5926c2=_0x25de60;_0x359311['customHeaders']||_0x32b4ca[_0x5926c2(0x1c8)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x5926c2(0x251)]=_0x5b0eaa,this['_injector']=_0x51270d,this[_0x5926c2(0x251)]['setConfig'](Be,_0x359311);}[_0x25de60(0x2d2)](){this['_registerDependencies']();}['_registerDependencies'](){const _0x52375f=_0x25de60;_0x3d392c(this[_0x52375f(0x33c)],[[_0x12465f,{'useClass':Ne}]]);}};function _0x480b(){const _0x461b24=['serverNoContextTakeover','ws:','permessage-deflate','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','generateMask','_bufferedBytes','writeUInt16BE','3HWiRlT','_errored','readUInt32BE','pipe','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','invalid\x20opcode\x200','_max_window_bits','base64','byteOffset','142680yhSMjm','2682dlnGxh','setSocket','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','wsClientError','binary','24TDIocx','Invalid\x20WebSocket\x20frame:\x20','concat','once','createError','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','Upgrade:\x20websocket','_threshold','arrayBuffer','finish','_injector','client_max_window_bits','find','setNoDelay','url','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_readyState','collaboration-client-node.config','_receiver','constructor','buffers','bind','_binaryType','test','https:','rsv1','createSocket','Sec-WebSocket-Accept:\x20','allowSynchronousEvents','error','getBlobData','cookie','set','WS_NO_BUFFER_UTIL','Server\x20sent\x20no\x20subprotocol','method','protocolVersion','readUInt16BE','OPEN','digest','cleanup','drain','connect','CONNECTING','compress','clientMaxWindowBits','_server','includes','timeout','ping','_extensions','kRun','_queue','getInfo','hasOwnProperty','isPaused','_originalSecure','The\x20URL\x20contains\x20a\x20fragment\x20identifier','onerror','headers','_fragments','destroy','sendFrame','value','http:','createConnection','parse','7730PSxiTe','from','The\x20URL\x27s\x20pathname\x20is\x20empty','warn','autoPong','write','buffer','enqueue','code','getMask','WS_ERR_UNEXPECTED_RSV_1','WS_ERR_UNEXPECTED_MASK','username','path','Invalid\x20Sec-WebSocket-Protocol\x20header','writable','authorization','update','get','_buffers','flush','href','has','open','env','charCodeAt','1501492RwntMI','sec-websocket-version','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','string','CLOSED','_compress','\x20(supported\x20versions:\x20','errorEmitted','_closeTimer','maskBuffer','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','freeze','length','finishRequest','offer','GET','maxPayload','push','getConfig','concurrencyLimit','clients','apply','encrypted','FIN\x20must\x20be\x20set','_messageLength','read','create','size','Invalid\x20value\x20for\x20parameter\x20\x22','_write','nodebuffer','removeListener','listeners','indexOf','pow','_doCreateSocket','removeEventListener','server','upgrade','_payloadLength','CLOSING','isArray','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','options','reason','controlMessage','ws+unix:','message','Unexpected\x20character\x20at\x20index\x20','_paused','handleUpgrade','socket','wss:','getPayloadLength16','Z_DEFAULT_WINDOWBITS','binaryType','pause','Invalid\x20Upgrade\x20header','completeUpgrade','endEmitted','finished','_maskBuffer','invalid\x20status\x20code\x20','address','nextTick','socketPath','total-length','defineProperty','reset','Unsupported\x20protocol\x20version:\x20','pong','754614qsmISx','extensions','unshift','forEach','type','WS_ERR_EXPECTED_FIN','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','join','_totalPayloadLength','RSV1\x20must\x20be\x20clear','target','arraybuffer','toLowerCase','writeHead','_inflate','close','_errorEmitted','_final','_readableState','followRedirects','194712aTIPLS','params','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','client_no_context_takeover','_closeFrameSent','perMessageDeflate','default','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','sec-websocket-protocol','client','_compressed','keys','_decompress','2471xkbkyP','hash','slice','websocket','WS_ERR_EXPECTED_MASK','_protocol','noServer','Unexpected\x20end\x20of\x20input','pending','redirect','_configService','dequeue','clientTracking','The\x20server\x20is\x20not\x20running','uncork','createDeflateRaw','destroyed','server_no_context_takeover','_req','text/plain','object','toString','_state','threshold','conclude','Z_SYNC_FLUSH','Upgrade','Invalid\x20Sec-WebSocket-Extensions\x20header','HTTP/1.1\x20101\x20Switching\x20Protocols','statusCode','_redirects','_writableState','getPayloadLength64','abort','fin','jobs','onmessage','hostname','Unknown\x20parameter\x20\x22','skipUTF8Validation','Sec-WebSocket-Origin','stream','listen','_fin','fragments','_bufferedAmount','port','dispose','kMessage','species','authorized','_closeFrameReceived','delete','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_originalHostOrSocketPath','kByteLength','accept','serverMaxWindowBits','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','call','Origin','values','WS_ERR_UNEXPECTED_RSV_2_3','kReason','_closeMessage','_socket','haveLength','replace','unmask','kCode','catch','_read','servername','shouldHandle','invalid\x20opcode\x20','_no_context_takeover','_closeCode','_isServer','acceptAsServer','MASK\x20must\x20be\x20set','resume','toStringTag','HTTP/1.1\x20','readOnly','sec-websocket-origin','sec-websocket-key','isBuffer','_deflate','_httpService','Connection:\x20Upgrade','next','removeAllListeners','Invalid\x20Sec-WebSocket-Accept\x20header','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','kDone','Blob','Parameter\x20\x22','password','_loop','kType','clientNoContextTakeover','_url','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Maximum\x20redirects\x20exceeded','WebSocket','objectMode','_masked','number','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','_generateMask','_options','__esModule','search','listenerCount','addEventListener','prototype','wasClean','158250uCXSCL','File','decompress','_skipUTF8Validation','_fragmented','isValidUTF8','readyState','Opening\x20handshake\x20has\x20timed\x20out','sec-websocket-extensions','_maxPayload','shift','Module','send','sha1','setHeader','WS_ERR_INVALID_OPCODE','handleProtocols','dispatch','\x22:\x20','mask','The\x20\x22','zlibDeflateOptions','onStarting','allocUnsafe','captureStackTrace','normalizeParams','emit','extensionName','5Cjzuib','emitClose','alloc','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','createInflateRaw','add','host','map','opcode','Max\x20payload\x20size\x20exceeded','blob','_opcode','auth','bufferedAmount','\x22\x20subprotocol\x20is\x20duplicated','_firstFragment','protocol','Invalid\x20URL:\x20','defaultPort','concurrency','getData','byteLength','listening','startLoop','exports','_autoPong','kError','isServer','dataMessage','status-code','_allowSynchronousEvents','getOwnPropertyDescriptor','_removeListeners','needDrain','response','STATUS_CODES','request','isIP','frame','isInteger','data','zlibInflateOptions','pluginName','_originalIpc','consume','3971IHsdNm','WS_NO_UTF_8_VALIDATE','function','Sec-WebSocket-Protocol:\x20','MASK\x20must\x20be\x20clear','setTimeout','invalid\x20UTF-8\x20sequence','customHeaders','end','maxRedirects','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_sender','origin','createServer','connection','_shouldEmitClose','verifyClient','isView','pathname','split','_mask'];_0x480b=function(){return _0x461b24;};return _0x480b();}lr(Pe,_0x25de60(0x304),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0xae7ce8(_0x9a76bf),ke(0x1,_0x4df8af),ke(0x2,_0x56545c),ke(0x3,_0x34d6ee(_0x3f9b16))],Pe);var fr=Object[_0x25de60(0x2f9)],cr=(_0x4e6b09,_0xa93e8f,_0x184a89,_0x49f44c)=>{for(var _0x1f74ee=_0x49f44c>0x1?void 0x0:_0x49f44c?fr(_0xa93e8f,_0x184a89):_0xa93e8f,_0x1cf670=_0x4e6b09['length']-0x1,_0x8d4dc9;_0x1cf670>=0x0;_0x1cf670--)(_0x8d4dc9=_0x4e6b09[_0x1cf670])&&(_0x1f74ee=_0x8d4dc9(_0x1f74ee)||_0x1f74ee);return _0x1f74ee;},se=(_0x17c597,_0x4724e4)=>(_0x382c99,_0x638631)=>_0x4724e4(_0x382c99,_0x638631,_0x17c597);let at=class extends _0x5cbbac{constructor(_0x5d624f,_0x322596,_0x119850,_0x193253,_0x53bd5e){const _0x168edb=_0x25de60;super(_0x5d624f,_0x322596,_0x119850,_0x193253,_0x53bd5e);const _0x5245d4=this[_0x168edb(0x251)][_0x168edb(0x1f1)](Be);this[_0x168edb(0x29f)]['registerHTTPInterceptor']({'interceptor':(_0x40513c,_0x5e151e)=>{const _0x49c2d7=_0x168edb;var _0x122769;const _0x3b1ccb=_0x40513c[_0x49c2d7(0x1bd)];return(_0x122769=_0x5245d4==null?void 0x0:_0x5245d4['customHeaders'])!=null&&_0x122769[_0x49c2d7(0x351)]&&_0x3b1ccb['set']('Cookie',_0x5245d4['customHeaders'][_0x49c2d7(0x351)]),_0x5e151e(_0x40513c);}});}async[_0x25de60(0x34c)](_0x15eb1a){const _0x5c4ae6=_0x25de60;return this[_0x5c4ae6(0x202)](_0x15eb1a);}};at=cr([se(0x0,_0x34d6ee(_0x3f9b16)),se(0x1,_0x34d6ee(_0x1fb41d)),se(0x2,_0x56545c),se(0x3,_0x4df8af),se(0x4,_0x2d2be2)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x273d3a=_0x1103;(function(_0x4e2e3e,_0x37eb5e){const _0x6cc552=_0x1103,_0x5d0ef2=_0x4e2e3e();while(!![]){try{const _0x18c146=-parseInt(_0x6cc552(0x162))/0x1*(parseInt(_0x6cc552(0x25d))/0x2)+-parseInt(_0x6cc552(0x1b1))/0x3+parseInt(_0x6cc552(0x1c3))/0x4*(-parseInt(_0x6cc552(0x199))/0x5)+parseInt(_0x6cc552(0x148))/0x6+parseInt(_0x6cc552(0x1a0))/0x7+-parseInt(_0x6cc552(0x16d))/0x8+parseInt(_0x6cc552(0x185))/0x9;if(_0x18c146===_0x37eb5e)break;else _0x5d0ef2['push'](_0x5d0ef2['shift']());}catch(_0x16cd72){_0x5d0ef2['push'](_0x5d0ef2['shift']());}}}(_0x1ec1,0xa639e));import{UniverCollaborationClientPlugin as _0x88f651,CollaborationSocketService as _0x3b0bfc}from'@univerjs-pro/collaboration-client';import{Disposable as _0x1bd600,DisposableCollection as _0x403ad9,toDisposable as _0x2107f2,IConfigService as _0x46482f,DependentOn as _0x1e1108,ILogService as _0x54ff49,Inject as _0x5e05d8,Injector as _0x1904af,Plugin as _0x14f5b4,registerDependencies as _0x48b4ca}from'@univerjs/core';import{ISocketService as _0x51dcb0,HTTPService as _0xb34f9f}from'@univerjs/network';import{Observable as _0x3c22f8,share as _0x17c6f5}from'rxjs';import _0x5ecb1c from'events';import _0x1fc80e from'https';import _0x437340 from'http';import _0x26995e from'net';import _0x1627d6 from'tls';import _0x326401 from'crypto';function _0x1ec1(){const _0x463b33=['startsWith','_fin','haveLength','Invalid\x20URL:\x20','constructor','handleProtocols','MASK\x20must\x20be\x20clear','_no_context_takeover','WS_ERR_INVALID_CLOSE_CODE','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','offer','_masked','OPEN','clientNoContextTakeover','warn','concat','Basic\x20','username','host','extensions','_readableState','once','Invalid\x20Sec-WebSocket-Accept\x20header','_skipUTF8Validation','createDeflateRaw','_closeTimer','verifyClient','location','Invalid\x20Upgrade\x20header','WS_NO_UTF_8_VALIDATE','\x22\x20must\x20have\x20only\x20a\x20single\x20value','getPayloadLength16','sendFrame','writeUInt16BE','dataMessage','ws+unix:','map','Sec-WebSocket-Protocol','headers','customHeaders','allowSynchronousEvents','RSV1\x20must\x20be\x20clear','stream','send','opcode','connection','finishRequest','CLOSING','Invalid\x20WebSocket\x20frame:\x20','socket','client_max_window_bits','_bufferedAmount','finish','getBlobData','WS_ERR_INVALID_UTF8','Invalid\x20HTTP\x20method','values','_redirects','getData','onopen','_bufferedBytes','status-code','createError','type','_binaryType','format','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','invalid\x20status\x20code\x20','buffer','_fragments','getOwnPropertyDescriptor','sec-websocket-protocol','kDone','_opcode','data','sec-websocket-key','terminate','invalid\x20UTF-8\x20sequence','WS_ERR_EXPECTED_FIN','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','MASK\x20must\x20be\x20set','invalid\x20opcode\x20','wasClean','The\x20\x22','zlibInflateOptions','_writableState','text/plain','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','startLoop','callback','conclude','emit','isValidUTF8','acceptAsClient','handleEvent','sec-websocket-extensions','writable','protocol','The\x20URL\x27s\x20pathname\x20is\x20empty','zlibDeflateOptions','kIsForOnEventAttribute','call','WebSocket\x20is\x20not\x20open:\x20readyState\x20','drain','nodebuffer','listen','readOnly','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','controlMessage','delete','number','WS_NO_BUFFER_UTIL','acceptAsServer','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_queue','object','_state','_closeFrameSent','Origin','encrypted','cleanup','websocket','url','_sender','ping','pipe','__esModule','toStringTag','_closeCode','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','CONNECTING','getConfig','FIN\x20must\x20be\x20set','resume','arrayBuffer','2326582VTJykP','read','_socket','readyState','defaultPort','createInflateRaw','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','password','threshold','toLowerCase','_autoPong','byteLength','pathname','_url','listeners','auth','_originalSecure','onmessage','_injector','isPaused','Server\x20sent\x20no\x20subprotocol','followRedirects','clientMaxWindowBits','options','onStarting','exports','destroy','server_max_window_bits','timeout','kListener','WS_ERR_INVALID_OPCODE','port','createServer','nextTick','default','arraybuffer','_fragmented','set','ws:','_payloadLength','unexpected-response','add','join','_originalHostOrSocketPath','protocolVersion','upgrade','generateMask','kMessage','shouldHandle','_generateMask','_write','forEach','buffers','listenerCount','Maximum\x20redirects\x20exceeded','sec-websocket-accept','onerror','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','Unsupported\x20protocol\x20version:\x20','error','write','clientTracking','_protocol','prototype','concurrency','bufferedAmount','Module','update','STATUS_CODES','removeEventListener','completeUpgrade','message','Unexpected\x20character\x20at\x20index\x20','errorEmitted','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','push','test','_options','binaryType','normalizeParams','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','WS_ERR_UNEXPECTED_RSV_1','origin','pong','CLOSED','HTTP/1.1\x20','perMessageDeflate','listening','_configService','shift','https:','catch','fin','kError','_httpService','_closeFrameReceived','Unexpected\x20end\x20of\x20input','emitClose','maxRedirects','Sec-WebSocket-Extensions','_inflate','_maxPayload','keys','\x22\x20subprotocol\x20is\x20duplicated','Sec-WebSocket-Extensions:\x20','indexOf','_originalIpc','code','enqueue','endEmitted','_receiver','replace','rsv1','binary','search','sec-websocket-version','alloc','species','Z_DEFAULT_WINDOWBITS','kWasClean','unshift','onclose','\x22:\x20','_closeMessage','_registerDependencies','length','_threshold','abort','Connection:\x20Upgrade','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','getMask','frame','freeze','address','client_no_context_takeover','create','handleUpgrade','allocUnsafe','has','kCode','text/html','_doCreateSocket','function','jobs','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_shouldEmitClose','dequeue','hasOwnProperty','_server','_firstFragment','setNoDelay','server_no_context_takeover','base64','Upgrade:\x20websocket','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','kRun','hostname','open','File','getInfo','_decompress','2062212JspwjH','includes','setHeader','bind','objectMode','construct','kAborted','accept','WS_ERR_EXPECTED_MASK','path','_loop','setConfig','Cookie','createSocket','serverNoContextTakeover','maxPayload','GET','_maskBuffer','createConnection','concurrencyLimit','sha1','toString','isInteger','defineProperty','_messageLength','mask','1XYbiYi','charCodeAt','from','cork','readable','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','next','setSocket','size','Invalid\x20Sec-WebSocket-Extensions\x20header','slice','1759048sqEiZv','pause','split','pending','servername','setTimeout','The\x20server\x20is\x20not\x20running','HTTP/1.1\x20101\x20Switching\x20Protocols','Parameter\x20\x22','_req','_compressed','_isServer','_buffers','find','consume','target','\x0d\x0a\x0d\x0a','removeListener','readUInt16BE','addEventListener','registerHTTPInterceptor','pow','_errorEmitted','close','14718753rgjUkj','kData','Unknown\x20parameter\x20\x22','end','decompress','redirect','socketPath','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','params','Invalid\x20value\x20for\x20parameter\x20\x22','getPayloadLength64','wss:','Invalid\x20Sec-WebSocket-Protocol\x20header','_final','isView','byteOffset','connect','cookie','authorization','Server\x20sent\x20an\x20invalid\x20subprotocol','4295wSnSRg','autoPong','captureStackTrace','Blob','backlog','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_mask','8741019yzZqOy','parse','readUInt32BE','_compress','Sec-WebSocket-Protocol:\x20','finished','dispatch','_allowSynchronousEvents','_paused','destroyed','blob','noServer','invalid\x20opcode\x200','reset','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','clients','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','267579oWQwLv','collaboration-client-node.config','permessage-deflate','Upgrade','skipUTF8Validation','_extensions','WS_ERR_UNEXPECTED_MASK','digest','_removeListeners','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','wsClientError','extensionName','reason','serverMaxWindowBits','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','get','client','string','5004vNvmze','method','compress','kByteLength','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_max_window_bits','_errored','isArray','apply','flush','handshakeTimeout','_totalPayloadLength','_deflate','request','_readyState','Max\x20payload\x20size\x20exceeded','kType','server','statusCode'];_0x1ec1=function(){return _0x463b33;};return _0x1ec1();}import _0x208f40 from'stream';import _0x214c0a from'url';import _0x393186 from'zlib';import _0x4a0b87 from'buffer';import{ISnapshotServerService as _0x43c1a1}from'@univerjs-pro/collaboration';const Be=_0x273d3a(0x1b2),Ft={'customHeaders':{}};function jt(_0x4fa4a8){const _0x170cf9=_0x273d3a;return _0x4fa4a8&&_0x4fa4a8[_0x170cf9(0x254)]&&Object['prototype'][_0x170cf9(0x13a)][_0x170cf9(0x23b)](_0x4fa4a8,_0x170cf9(0x27f))?_0x4fa4a8[_0x170cf9(0x27f)]:_0x4fa4a8;}function ut(_0x543bf8){const _0xecdb08=_0x273d3a;if(Object[_0xecdb08(0x29c)][_0xecdb08(0x13a)][_0xecdb08(0x23b)](_0x543bf8,_0xecdb08(0x254)))return _0x543bf8;var _0x5267aa=_0x543bf8[_0xecdb08(0x27f)];if(typeof _0x5267aa=='function'){var _0x54339f=function _0x2eab69(){const _0x5a596d=_0xecdb08;return this instanceof _0x2eab69?Reflect[_0x5a596d(0x14d)](_0x5267aa,arguments,this[_0x5a596d(0x1da)]):_0x5267aa[_0x5a596d(0x1cb)](this,arguments);};_0x54339f[_0xecdb08(0x29c)]=_0x5267aa[_0xecdb08(0x29c)];}else _0x54339f={};return Object[_0xecdb08(0x15f)](_0x54339f,_0xecdb08(0x254),{'value':!0x0}),Object[_0xecdb08(0x2c3)](_0x543bf8)[_0xecdb08(0x290)](function(_0x1e8227){const _0x5e98bc=_0xecdb08;var _0x3687a6=Object[_0x5e98bc(0x21c)](_0x543bf8,_0x1e8227);Object[_0x5e98bc(0x15f)](_0x54339f,_0x1e8227,_0x3687a6[_0x5e98bc(0x1c0)]?_0x3687a6:{'enumerable':!0x0,'get':function(){return _0x543bf8[_0x1e8227];}});}),_0x54339f;}var te={'exports':{}},ge,Ye;function V(){const _0x4b83ad=_0x273d3a;if(Ye)return ge;Ye=0x1;const _0x2dfb41=[_0x4b83ad(0x23e),'arraybuffer','fragments'],_0x34c22e=typeof Blob<'u';return _0x34c22e&&_0x2dfb41[_0x4b83ad(0x2a8)](_0x4b83ad(0x1aa)),ge={'BINARY_TYPES':_0x2dfb41,'EMPTY_BUFFER':Buffer[_0x4b83ad(0x2d1)](0x0),'GUID':_0x4b83ad(0x1ae),'hasBlob':_0x34c22e,'kForOnEventAttribute':Symbol(_0x4b83ad(0x23a)),'kListener':Symbol(_0x4b83ad(0x27a)),'kStatusCode':Symbol(_0x4b83ad(0x213)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Wt={},Gt=Object['freeze'](Object[_0x273d3a(0x15f)]({'__proto__':null,'default':Wt},Symbol[_0x273d3a(0x255)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x49484e=_0x273d3a;if(Ke)return te[_0x49484e(0x276)];Ke=0x1;const {EMPTY_BUFFER:_0x2e5d0f}=V(),_0x989d16=Buffer[Symbol[_0x49484e(0x2d2)]];function _0x2fd5b5(_0x1e15d0,_0x5435f5){const _0x326080=_0x49484e;if(_0x1e15d0[_0x326080(0x2da)]===0x0)return _0x2e5d0f;if(_0x1e15d0[_0x326080(0x2da)]===0x1)return _0x1e15d0[0x0];const _0x9d8f17=Buffer['allocUnsafe'](_0x5435f5);let _0x2a8719=0x0;for(let _0x4d0c0d=0x0;_0x4d0c0d<_0x1e15d0[_0x326080(0x2da)];_0x4d0c0d++){const _0x2c9198=_0x1e15d0[_0x4d0c0d];_0x9d8f17['set'](_0x2c9198,_0x2a8719),_0x2a8719+=_0x2c9198[_0x326080(0x2da)];}return _0x2a8719<_0x5435f5?new _0x989d16(_0x9d8f17[_0x326080(0x21a)],_0x9d8f17[_0x326080(0x194)],_0x2a8719):_0x9d8f17;}function _0x43c9fe(_0xf0d269,_0x1d4f03,_0x437783,_0x57f75b,_0x133b56){for(let _0x1fb999=0x0;_0x1fb999<_0x133b56;_0x1fb999++)_0x437783[_0x57f75b+_0x1fb999]=_0xf0d269[_0x1fb999]^_0x1d4f03[_0x1fb999&0x3];}function _0x500b64(_0x38b7f1,_0x2a8848){const _0x5b98cb=_0x49484e;for(let _0x358d2d=0x0;_0x358d2d<_0x38b7f1[_0x5b98cb(0x2da)];_0x358d2d++)_0x38b7f1[_0x358d2d]^=_0x2a8848[_0x358d2d&0x3];}function _0x138c40(_0xa35572){const _0x46f6e9=_0x49484e;return _0xa35572['length']===_0xa35572[_0x46f6e9(0x21a)][_0x46f6e9(0x268)]?_0xa35572[_0x46f6e9(0x21a)]:_0xa35572['buffer'][_0x46f6e9(0x16c)](_0xa35572[_0x46f6e9(0x194)],_0xa35572[_0x46f6e9(0x194)]+_0xa35572[_0x46f6e9(0x2da)]);}function _0x16d865(_0x5ea8e2){const _0x624177=_0x49484e;if(_0x16d865['readOnly']=!0x0,Buffer['isBuffer'](_0x5ea8e2))return _0x5ea8e2;let _0x4e06bb;return _0x5ea8e2 instanceof ArrayBuffer?_0x4e06bb=new _0x989d16(_0x5ea8e2):ArrayBuffer[_0x624177(0x193)](_0x5ea8e2)?_0x4e06bb=new _0x989d16(_0x5ea8e2['buffer'],_0x5ea8e2[_0x624177(0x194)],_0x5ea8e2[_0x624177(0x268)]):(_0x4e06bb=Buffer[_0x624177(0x164)](_0x5ea8e2),_0x16d865[_0x624177(0x240)]=!0x1),_0x4e06bb;}if(te[_0x49484e(0x276)]={'concat':_0x2fd5b5,'mask':_0x43c9fe,'toArrayBuffer':_0x138c40,'toBuffer':_0x16d865,'unmask':_0x500b64},!process['env'][_0x49484e(0x245)])try{const _0x503713=Vt;te['exports'][_0x49484e(0x161)]=function(_0x36ce8e,_0x16166b,_0x3aef17,_0x12fcd0,_0x3805fb){const _0x554a2e=_0x49484e;_0x3805fb<0x30?_0x43c9fe(_0x36ce8e,_0x16166b,_0x3aef17,_0x12fcd0,_0x3805fb):_0x503713[_0x554a2e(0x161)](_0x36ce8e,_0x16166b,_0x3aef17,_0x12fcd0,_0x3805fb);},te[_0x49484e(0x276)]['unmask']=function(_0x565c6a,_0x171f5c){const _0x481f36=_0x49484e;_0x565c6a[_0x481f36(0x2da)]<0x20?_0x500b64(_0x565c6a,_0x171f5c):_0x503713['unmask'](_0x565c6a,_0x171f5c);};}catch{}return te[_0x49484e(0x276)];}var ye,Xe;function qt(){const _0x1bf43a=_0x273d3a;if(Xe)return ye;Xe=0x1;const _0x2a3edc=Symbol(_0x1bf43a(0x21e)),_0x299af2=Symbol(_0x1bf43a(0x142));class _0x5b6e59{constructor(_0x2b1af4){const _0x564b16=_0x1bf43a;this[_0x2a3edc]=()=>{const _0x19afa7=_0x1103;this[_0x19afa7(0x170)]--,this[_0x299af2]();},this[_0x564b16(0x29d)]=_0x2b1af4||0x1/0x0,this['jobs']=[],this['pending']=0x0;}[_0x1bf43a(0x286)](_0x308557){const _0x306958=_0x1bf43a;this[_0x306958(0x136)][_0x306958(0x2a8)](_0x308557),this[_0x299af2]();}[_0x299af2](){const _0x17d13d=_0x1bf43a;if(this[_0x17d13d(0x170)]!==this[_0x17d13d(0x29d)]&&this[_0x17d13d(0x136)]['length']){const _0x487ab7=this[_0x17d13d(0x136)][_0x17d13d(0x2b6)]();this[_0x17d13d(0x170)]++,_0x487ab7(this[_0x2a3edc]);}}}return ye=_0x5b6e59,ye;}var ve,Ze;function he(){const _0x1cfa1e=_0x273d3a;if(Ze)return ve;Ze=0x1;const _0xe260b0=_0x393186,_0x2cd394=ce(),_0x444e18=qt(),{kStatusCode:_0x37d492}=V(),_0x129dbb=Buffer[Symbol[_0x1cfa1e(0x2d2)]],_0xa9c71d=Buffer[_0x1cfa1e(0x164)]([0x0,0x0,0xff,0xff]),_0x44e3e7=Symbol(_0x1cfa1e(0x1b3)),_0x1c3c34=Symbol('total-length'),_0x2eca44=Symbol(_0x1cfa1e(0x22f)),_0x438162=Symbol(_0x1cfa1e(0x291)),_0x23bb91=Symbol(_0x1cfa1e(0x298));let _0x15bb66;class _0x3f0838{constructor(_0x3bf403,_0x4ad6e4,_0x329831){const _0x1b8126=_0x1cfa1e;if(this[_0x1b8126(0x2c2)]=_0x329831|0x0,this['_options']=_0x3bf403||{},this[_0x1b8126(0x2db)]=this[_0x1b8126(0x2aa)]['threshold']!==void 0x0?this[_0x1b8126(0x2aa)][_0x1b8126(0x265)]:0x400,this[_0x1b8126(0x178)]=!!_0x4ad6e4,this[_0x1b8126(0x1cf)]=null,this[_0x1b8126(0x2c1)]=null,this[_0x1b8126(0x18d)]=null,!_0x15bb66){const _0x3a3ceb=this[_0x1b8126(0x2aa)][_0x1b8126(0x15b)]!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x15bb66=new _0x444e18(_0x3a3ceb);}}static get[_0x1cfa1e(0x1bc)](){return'permessage-deflate';}['offer'](){const _0x2f0c16=_0x1cfa1e,_0x4b2501={};return this[_0x2f0c16(0x2aa)]['serverNoContextTakeover']&&(_0x4b2501[_0x2f0c16(0x13e)]=!0x0),this[_0x2f0c16(0x2aa)][_0x2f0c16(0x1e3)]&&(_0x4b2501[_0x2f0c16(0x12d)]=!0x0),this[_0x2f0c16(0x2aa)][_0x2f0c16(0x1be)]&&(_0x4b2501[_0x2f0c16(0x278)]=this[_0x2f0c16(0x2aa)][_0x2f0c16(0x1be)]),this['_options']['clientMaxWindowBits']?_0x4b2501[_0x2f0c16(0x208)]=this[_0x2f0c16(0x2aa)]['clientMaxWindowBits']:this['_options'][_0x2f0c16(0x273)]==null&&(_0x4b2501[_0x2f0c16(0x208)]=!0x0),_0x4b2501;}['accept'](_0x23a1c5){const _0x5a9056=_0x1cfa1e;return _0x23a1c5=this[_0x5a9056(0x2ac)](_0x23a1c5),this[_0x5a9056(0x18d)]=this[_0x5a9056(0x178)]?this[_0x5a9056(0x246)](_0x23a1c5):this[_0x5a9056(0x233)](_0x23a1c5),this['params'];}[_0x1cfa1e(0x24e)](){const _0x39deb4=_0x1cfa1e;if(this[_0x39deb4(0x2c1)]&&(this[_0x39deb4(0x2c1)][_0x39deb4(0x184)](),this[_0x39deb4(0x2c1)]=null),this['_deflate']){const _0x52c3db=this[_0x39deb4(0x1cf)][_0x2eca44];this[_0x39deb4(0x1cf)][_0x39deb4(0x184)](),this[_0x39deb4(0x1cf)]=null,_0x52c3db&&_0x52c3db(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}['acceptAsServer'](_0x3d611c){const _0x4e4c6d=_0x1cfa1e,_0x29eff9=this[_0x4e4c6d(0x2aa)],_0x597e5a=_0x3d611c[_0x4e4c6d(0x17a)](_0x13c412=>!(_0x29eff9[_0x4e4c6d(0x156)]===!0x1&&_0x13c412[_0x4e4c6d(0x13e)]||_0x13c412[_0x4e4c6d(0x278)]&&(_0x29eff9[_0x4e4c6d(0x1be)]===!0x1||typeof _0x29eff9['serverMaxWindowBits']==_0x4e4c6d(0x244)&&_0x29eff9[_0x4e4c6d(0x1be)]>_0x13c412[_0x4e4c6d(0x278)])||typeof _0x29eff9[_0x4e4c6d(0x273)]==_0x4e4c6d(0x244)&&!_0x13c412['client_max_window_bits']));if(!_0x597e5a)throw new Error(_0x4e4c6d(0x296));return _0x29eff9[_0x4e4c6d(0x156)]&&(_0x597e5a['server_no_context_takeover']=!0x0),_0x29eff9['clientNoContextTakeover']&&(_0x597e5a[_0x4e4c6d(0x12d)]=!0x0),typeof _0x29eff9['serverMaxWindowBits']==_0x4e4c6d(0x244)&&(_0x597e5a[_0x4e4c6d(0x278)]=_0x29eff9[_0x4e4c6d(0x1be)]),typeof _0x29eff9[_0x4e4c6d(0x273)]==_0x4e4c6d(0x244)?_0x597e5a[_0x4e4c6d(0x208)]=_0x29eff9['clientMaxWindowBits']:(_0x597e5a[_0x4e4c6d(0x208)]===!0x0||_0x29eff9[_0x4e4c6d(0x273)]===!0x1)&&delete _0x597e5a[_0x4e4c6d(0x208)],_0x597e5a;}[_0x1cfa1e(0x233)](_0xcbb289){const _0x81c1ba=_0x1cfa1e,_0x14eada=_0xcbb289[0x0];if(this[_0x81c1ba(0x2aa)]['clientNoContextTakeover']===!0x1&&_0x14eada['client_no_context_takeover'])throw new Error(_0x81c1ba(0x1df));if(!_0x14eada['client_max_window_bits'])typeof this[_0x81c1ba(0x2aa)][_0x81c1ba(0x273)]==_0x81c1ba(0x244)&&(_0x14eada[_0x81c1ba(0x208)]=this[_0x81c1ba(0x2aa)][_0x81c1ba(0x273)]);else{if(this[_0x81c1ba(0x2aa)][_0x81c1ba(0x273)]===!0x1||typeof this['_options'][_0x81c1ba(0x273)]==_0x81c1ba(0x244)&&_0x14eada[_0x81c1ba(0x208)]>this[_0x81c1ba(0x2aa)]['clientMaxWindowBits'])throw new Error(_0x81c1ba(0x257));}return _0x14eada;}[_0x1cfa1e(0x2ac)](_0x32b527){const _0x473afe=_0x1cfa1e;return _0x32b527[_0x473afe(0x290)](_0x5b3555=>{const _0x490722=_0x473afe;Object[_0x490722(0x2c3)](_0x5b3555)[_0x490722(0x290)](_0x514ba5=>{const _0x5d29f7=_0x490722;let _0x1a9f94=_0x5b3555[_0x514ba5];if(_0x1a9f94['length']>0x1)throw new Error(_0x5d29f7(0x175)+_0x514ba5+_0x5d29f7(0x1f4));if(_0x1a9f94=_0x1a9f94[0x0],_0x514ba5==='client_max_window_bits'){if(_0x1a9f94!==!0x0){const _0x3ac643=+_0x1a9f94;if(!Number[_0x5d29f7(0x15e)](_0x3ac643)||_0x3ac643<0x8||_0x3ac643>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x514ba5+_0x5d29f7(0x2d7)+_0x1a9f94);_0x1a9f94=_0x3ac643;}else{if(!this['_isServer'])throw new TypeError(_0x5d29f7(0x18e)+_0x514ba5+_0x5d29f7(0x2d7)+_0x1a9f94);}}else{if(_0x514ba5===_0x5d29f7(0x278)){const _0x1c360f=+_0x1a9f94;if(!Number[_0x5d29f7(0x15e)](_0x1c360f)||_0x1c360f<0x8||_0x1c360f>0xf)throw new TypeError(_0x5d29f7(0x18e)+_0x514ba5+_0x5d29f7(0x2d7)+_0x1a9f94);_0x1a9f94=_0x1c360f;}else{if(_0x514ba5===_0x5d29f7(0x12d)||_0x514ba5===_0x5d29f7(0x13e)){if(_0x1a9f94!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x514ba5+_0x5d29f7(0x2d7)+_0x1a9f94);}else throw new Error(_0x5d29f7(0x187)+_0x514ba5+'\x22');}}_0x5b3555[_0x514ba5]=_0x1a9f94;});}),_0x32b527;}[_0x1cfa1e(0x189)](_0x486561,_0x3b229f,_0xf4c3fd){const _0x5eb9b9=_0x1cfa1e;_0x15bb66[_0x5eb9b9(0x286)](_0x20e35a=>{const _0x503608=_0x5eb9b9;this[_0x503608(0x147)](_0x486561,_0x3b229f,(_0x46517f,_0x149d97)=>{_0x20e35a(),_0xf4c3fd(_0x46517f,_0x149d97);});});}[_0x1cfa1e(0x1c5)](_0x52fd7c,_0x1b139e,_0x21131c){const _0x29c5ed=_0x1cfa1e;_0x15bb66[_0x29c5ed(0x286)](_0x473ee6=>{const _0x1d4c04=_0x29c5ed;this[_0x1d4c04(0x1a3)](_0x52fd7c,_0x1b139e,(_0x2bcbc3,_0x3417db)=>{_0x473ee6(),_0x21131c(_0x2bcbc3,_0x3417db);});});}[_0x1cfa1e(0x147)](_0x370b74,_0x5b47a8,_0x38a713){const _0x831c23=_0x1cfa1e,_0x3f8164=this[_0x831c23(0x178)]?_0x831c23(0x1c1):_0x831c23(0x1d4);if(!this[_0x831c23(0x2c1)]){const _0x4fd98e=_0x3f8164+_0x831c23(0x1c8),_0x1a5a11=typeof this[_0x831c23(0x18d)][_0x4fd98e]!='number'?_0xe260b0[_0x831c23(0x2d3)]:this[_0x831c23(0x18d)][_0x4fd98e];this[_0x831c23(0x2c1)]=_0xe260b0[_0x831c23(0x262)]({...this[_0x831c23(0x2aa)][_0x831c23(0x22a)],'windowBits':_0x1a5a11}),this['_inflate'][_0x44e3e7]=this,this[_0x831c23(0x2c1)][_0x1c3c34]=0x0,this[_0x831c23(0x2c1)][_0x438162]=[],this[_0x831c23(0x2c1)]['on'](_0x831c23(0x298),_0x36d1be),this[_0x831c23(0x2c1)]['on']('data',_0x54ccf9);}this[_0x831c23(0x2c1)][_0x2eca44]=_0x38a713,this[_0x831c23(0x2c1)][_0x831c23(0x299)](_0x370b74),_0x5b47a8&&this[_0x831c23(0x2c1)][_0x831c23(0x299)](_0xa9c71d),this[_0x831c23(0x2c1)][_0x831c23(0x1cc)](()=>{const _0x36c7e8=_0x831c23,_0x5bee84=this[_0x36c7e8(0x2c1)][_0x23bb91];if(_0x5bee84){this[_0x36c7e8(0x2c1)][_0x36c7e8(0x184)](),this['_inflate']=null,_0x38a713(_0x5bee84);return;}const _0x251a4d=_0x2cd394[_0x36c7e8(0x1e5)](this[_0x36c7e8(0x2c1)][_0x438162],this['_inflate'][_0x1c3c34]);this[_0x36c7e8(0x2c1)]['_readableState'][_0x36c7e8(0x2ca)]?(this[_0x36c7e8(0x2c1)][_0x36c7e8(0x184)](),this[_0x36c7e8(0x2c1)]=null):(this[_0x36c7e8(0x2c1)][_0x1c3c34]=0x0,this[_0x36c7e8(0x2c1)][_0x438162]=[],_0x5b47a8&&this[_0x36c7e8(0x18d)][_0x3f8164+'_no_context_takeover']&&this['_inflate'][_0x36c7e8(0x1ad)]()),_0x38a713(null,_0x251a4d);});}[_0x1cfa1e(0x1a3)](_0x26c92a,_0x38c1fd,_0x1ccbae){const _0x538604=_0x1cfa1e,_0x59c57f=this[_0x538604(0x178)]?_0x538604(0x1d4):_0x538604(0x1c1);if(!this[_0x538604(0x1cf)]){const _0x1108e4=_0x59c57f+'_max_window_bits',_0x242066=typeof this[_0x538604(0x18d)][_0x1108e4]!=_0x538604(0x244)?_0xe260b0[_0x538604(0x2d3)]:this[_0x538604(0x18d)][_0x1108e4];this[_0x538604(0x1cf)]=_0xe260b0[_0x538604(0x1ee)]({...this[_0x538604(0x2aa)][_0x538604(0x239)],'windowBits':_0x242066}),this[_0x538604(0x1cf)][_0x1c3c34]=0x0,this[_0x538604(0x1cf)][_0x438162]=[],this['_deflate']['on']('data',_0x56b9dc);}this['_deflate'][_0x2eca44]=_0x1ccbae,this[_0x538604(0x1cf)][_0x538604(0x299)](_0x26c92a),this[_0x538604(0x1cf)]['flush'](_0xe260b0['Z_SYNC_FLUSH'],()=>{const _0x2ec346=_0x538604;if(!this['_deflate'])return;let _0x380654=_0x2cd394[_0x2ec346(0x1e5)](this[_0x2ec346(0x1cf)][_0x438162],this['_deflate'][_0x1c3c34]);_0x38c1fd&&(_0x380654=new _0x129dbb(_0x380654[_0x2ec346(0x21a)],_0x380654[_0x2ec346(0x194)],_0x380654[_0x2ec346(0x2da)]-0x4)),this[_0x2ec346(0x1cf)][_0x2eca44]=null,this['_deflate'][_0x1c3c34]=0x0,this['_deflate'][_0x438162]=[],_0x38c1fd&&this[_0x2ec346(0x18d)][_0x59c57f+_0x2ec346(0x1dd)]&&this[_0x2ec346(0x1cf)][_0x2ec346(0x1ad)](),_0x1ccbae(null,_0x380654);});}}ve=_0x3f0838;function _0x56b9dc(_0x1debdb){const _0x13e126=_0x1cfa1e;this[_0x438162][_0x13e126(0x2a8)](_0x1debdb),this[_0x1c3c34]+=_0x1debdb[_0x13e126(0x2da)];}function _0x54ccf9(_0x57223f){const _0x704605=_0x1cfa1e;if(this[_0x1c3c34]+=_0x57223f[_0x704605(0x2da)],this[_0x44e3e7][_0x704605(0x2c2)]<0x1||this[_0x1c3c34]<=this[_0x44e3e7]['_maxPayload']){this[_0x438162]['push'](_0x57223f);return;}this[_0x23bb91]=new RangeError(_0x704605(0x1d2)),this[_0x23bb91][_0x704605(0x2c8)]=_0x704605(0x22d),this[_0x23bb91][_0x37d492]=0x3f1,this[_0x704605(0x17e)](_0x704605(0x220),_0x54ccf9),this[_0x704605(0x1ad)]();}function _0x36d1be(_0x39d019){const _0x13de46=_0x1cfa1e;this[_0x44e3e7][_0x13de46(0x2c1)]=null,_0x39d019[_0x37d492]=0x3ef,this[_0x2eca44](_0x39d019);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x273d3a(0x2e1)](Object[_0x273d3a(0x15f)]({'__proto__':null,'default':Ht},Symbol[_0x273d3a(0x255)],{'value':_0x273d3a(0x29f)})),Yt=ut(zt);var Qe;function ne(){const _0x91b528=_0x273d3a;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x57c70d}=_0x4a0b87,{hasBlob:_0xba50a7}=V(),_0xb02e19=[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 _0x5524e4(_0x1e1bdc){return _0x1e1bdc>=0x3e8&&_0x1e1bdc<=0x3f6&&_0x1e1bdc!==0x3ec&&_0x1e1bdc!==0x3ed&&_0x1e1bdc!==0x3ee||_0x1e1bdc>=0xbb8&&_0x1e1bdc<=0x1387;}function _0x145afc(_0x9ceee5){const _0x5636f6=_0x9ceee5['length'];let _0x4503ae=0x0;for(;_0x4503ae<_0x5636f6;)if((_0x9ceee5[_0x4503ae]&0x80)===0x0)_0x4503ae++;else{if((_0x9ceee5[_0x4503ae]&0xe0)===0xc0){if(_0x4503ae+0x1===_0x5636f6||(_0x9ceee5[_0x4503ae+0x1]&0xc0)!==0x80||(_0x9ceee5[_0x4503ae]&0xfe)===0xc0)return!0x1;_0x4503ae+=0x2;}else{if((_0x9ceee5[_0x4503ae]&0xf0)===0xe0){if(_0x4503ae+0x2>=_0x5636f6||(_0x9ceee5[_0x4503ae+0x1]&0xc0)!==0x80||(_0x9ceee5[_0x4503ae+0x2]&0xc0)!==0x80||_0x9ceee5[_0x4503ae]===0xe0&&(_0x9ceee5[_0x4503ae+0x1]&0xe0)===0x80||_0x9ceee5[_0x4503ae]===0xed&&(_0x9ceee5[_0x4503ae+0x1]&0xe0)===0xa0)return!0x1;_0x4503ae+=0x3;}else{if((_0x9ceee5[_0x4503ae]&0xf8)===0xf0){if(_0x4503ae+0x3>=_0x5636f6||(_0x9ceee5[_0x4503ae+0x1]&0xc0)!==0x80||(_0x9ceee5[_0x4503ae+0x2]&0xc0)!==0x80||(_0x9ceee5[_0x4503ae+0x3]&0xc0)!==0x80||_0x9ceee5[_0x4503ae]===0xf0&&(_0x9ceee5[_0x4503ae+0x1]&0xf0)===0x80||_0x9ceee5[_0x4503ae]===0xf4&&_0x9ceee5[_0x4503ae+0x1]>0x8f||_0x9ceee5[_0x4503ae]>0xf4)return!0x1;_0x4503ae+=0x4;}else return!0x1;}}}return!0x0;}function _0x43cdff(_0x366b1c){const _0x281a9a=_0x1103;return _0xba50a7&&typeof _0x366b1c==_0x281a9a(0x249)&&typeof _0x366b1c[_0x281a9a(0x25c)]=='function'&&typeof _0x366b1c[_0x281a9a(0x215)]==_0x281a9a(0x1c2)&&typeof _0x366b1c[_0x281a9a(0x200)]==_0x281a9a(0x135)&&(_0x366b1c[Symbol[_0x281a9a(0x255)]]===_0x281a9a(0x19c)||_0x366b1c[Symbol[_0x281a9a(0x255)]]===_0x281a9a(0x145));}if(re[_0x91b528(0x276)]={'isBlob':_0x43cdff,'isValidStatusCode':_0x5524e4,'isValidUTF8':_0x145afc,'tokenChars':_0xb02e19},_0x57c70d)re[_0x91b528(0x276)]['isValidUTF8']=function(_0x581892){const _0x353a27=_0x91b528;return _0x581892[_0x353a27(0x2da)]<0x18?_0x145afc(_0x581892):_0x57c70d(_0x581892);};else{if(!process['env'][_0x91b528(0x1f3)])try{const _0x18473f=Yt;re[_0x91b528(0x276)][_0x91b528(0x232)]=function(_0x290929){const _0x24d35e=_0x91b528;return _0x290929[_0x24d35e(0x2da)]<0x20?_0x145afc(_0x290929):_0x18473f(_0x290929);};}catch{}}return re[_0x91b528(0x276)];}var Se,Je;function dt(){const _0x30cc13=_0x273d3a;if(Je)return Se;Je=0x1;const {Writable:_0x25ddf5}=_0x208f40,_0x34f5a9=he(),{BINARY_TYPES:_0x2eac0d,EMPTY_BUFFER:_0x2ea470,kStatusCode:_0x36067e,kWebSocket:_0x502340}=V(),{concat:_0x5d878c,toArrayBuffer:_0x31193f,unmask:_0x438a8f}=ce(),{isValidStatusCode:_0x4f21f9,isValidUTF8:_0x276c5e}=ne(),_0x590185=Buffer[Symbol[_0x30cc13(0x2d2)]],_0xddb2=0x0,_0x30d62f=0x1,_0x52e42b=0x2,_0x13b3c8=0x3,_0x5d28b9=0x4,_0x33ec9e=0x5,_0x3cfda0=0x6;class _0x55b984 extends _0x25ddf5{constructor(_0x5e1e59={}){const _0x3af6fe=_0x30cc13;super(),this[_0x3af6fe(0x1a7)]=_0x5e1e59['allowSynchronousEvents']!==void 0x0?_0x5e1e59[_0x3af6fe(0x1fe)]:!0x0,this[_0x3af6fe(0x216)]=_0x5e1e59[_0x3af6fe(0x2ab)]||_0x2eac0d[0x0],this[_0x3af6fe(0x1b6)]=_0x5e1e59[_0x3af6fe(0x1e9)]||{},this[_0x3af6fe(0x178)]=!!_0x5e1e59['isServer'],this[_0x3af6fe(0x2c2)]=_0x5e1e59[_0x3af6fe(0x157)]|0x0,this[_0x3af6fe(0x1ed)]=!!_0x5e1e59[_0x3af6fe(0x1b5)],this[_0x502340]=void 0x0,this['_bufferedBytes']=0x0,this[_0x3af6fe(0x179)]=[],this[_0x3af6fe(0x177)]=!0x1,this['_payloadLength']=0x0,this[_0x3af6fe(0x19f)]=void 0x0,this[_0x3af6fe(0x281)]=0x0,this['_masked']=!0x1,this[_0x3af6fe(0x1d7)]=!0x1,this[_0x3af6fe(0x21f)]=0x0,this[_0x3af6fe(0x1ce)]=0x0,this[_0x3af6fe(0x160)]=0x0,this[_0x3af6fe(0x21b)]=[],this[_0x3af6fe(0x1c9)]=!0x1,this[_0x3af6fe(0x152)]=!0x1,this[_0x3af6fe(0x24a)]=_0xddb2;}[_0x30cc13(0x28f)](_0x41f182,_0x3d90e2,_0x75d8c4){const _0x33acbb=_0x30cc13;if(this[_0x33acbb(0x21f)]===0x8&&this[_0x33acbb(0x24a)]==_0xddb2)return _0x75d8c4();this[_0x33acbb(0x212)]+=_0x41f182[_0x33acbb(0x2da)],this[_0x33acbb(0x179)][_0x33acbb(0x2a8)](_0x41f182),this['startLoop'](_0x75d8c4);}[_0x30cc13(0x17b)](_0x2777f7){const _0x1ae3be=_0x30cc13;if(this[_0x1ae3be(0x212)]-=_0x2777f7,_0x2777f7===this[_0x1ae3be(0x179)][0x0][_0x1ae3be(0x2da)])return this[_0x1ae3be(0x179)]['shift']();if(_0x2777f7<this[_0x1ae3be(0x179)][0x0][_0x1ae3be(0x2da)]){const _0x19ce39=this[_0x1ae3be(0x179)][0x0];return this['_buffers'][0x0]=new _0x590185(_0x19ce39['buffer'],_0x19ce39['byteOffset']+_0x2777f7,_0x19ce39['length']-_0x2777f7),new _0x590185(_0x19ce39[_0x1ae3be(0x21a)],_0x19ce39['byteOffset'],_0x2777f7);}const _0x394ccd=Buffer[_0x1ae3be(0x130)](_0x2777f7);do{const _0x4d341b=this[_0x1ae3be(0x179)][0x0],_0x2ea43c=_0x394ccd[_0x1ae3be(0x2da)]-_0x2777f7;_0x2777f7>=_0x4d341b[_0x1ae3be(0x2da)]?_0x394ccd['set'](this[_0x1ae3be(0x179)][_0x1ae3be(0x2b6)](),_0x2ea43c):(_0x394ccd[_0x1ae3be(0x282)](new Uint8Array(_0x4d341b[_0x1ae3be(0x21a)],_0x4d341b[_0x1ae3be(0x194)],_0x2777f7),_0x2ea43c),this['_buffers'][0x0]=new _0x590185(_0x4d341b[_0x1ae3be(0x21a)],_0x4d341b[_0x1ae3be(0x194)]+_0x2777f7,_0x4d341b[_0x1ae3be(0x2da)]-_0x2777f7)),_0x2777f7-=_0x4d341b[_0x1ae3be(0x2da)];}while(_0x2777f7>0x0);return _0x394ccd;}[_0x30cc13(0x22e)](_0xc1b7c0){const _0x457e12=_0x30cc13;this[_0x457e12(0x152)]=!0x0;do switch(this[_0x457e12(0x24a)]){case _0xddb2:this[_0x457e12(0x146)](_0xc1b7c0);break;case _0x30d62f:this['getPayloadLength16'](_0xc1b7c0);break;case _0x52e42b:this[_0x457e12(0x18f)](_0xc1b7c0);break;case _0x13b3c8:this['getMask']();break;case _0x5d28b9:this[_0x457e12(0x210)](_0xc1b7c0);break;case _0x33ec9e:case _0x3cfda0:this[_0x457e12(0x152)]=!0x1;return;}while(this[_0x457e12(0x152)]);this[_0x457e12(0x1c9)]||_0xc1b7c0();}[_0x30cc13(0x146)](_0x17863e){const _0x4d83c1=_0x30cc13;if(this[_0x4d83c1(0x212)]<0x2){this['_loop']=!0x1;return;}const _0x11ee89=this['consume'](0x2);if((_0x11ee89[0x0]&0x30)!==0x0){const _0x15ca3e=this['createError'](RangeError,_0x4d83c1(0x1b0),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x17863e(_0x15ca3e);return;}const _0x3dc740=(_0x11ee89[0x0]&0x40)===0x40;if(_0x3dc740&&!this[_0x4d83c1(0x1b6)][_0x34f5a9['extensionName']]){const _0x84a183=this[_0x4d83c1(0x214)](RangeError,_0x4d83c1(0x1ff),!0x0,0x3ea,_0x4d83c1(0x2ae));_0x17863e(_0x84a183);return;}if(this[_0x4d83c1(0x1d7)]=(_0x11ee89[0x0]&0x80)===0x80,this[_0x4d83c1(0x21f)]=_0x11ee89[0x0]&0xf,this[_0x4d83c1(0x284)]=_0x11ee89[0x1]&0x7f,this[_0x4d83c1(0x21f)]===0x0){if(_0x3dc740){const _0x2dc09c=this[_0x4d83c1(0x214)](RangeError,_0x4d83c1(0x1ff),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x17863e(_0x2dc09c);return;}if(!this[_0x4d83c1(0x281)]){const _0x447f27=this[_0x4d83c1(0x214)](RangeError,_0x4d83c1(0x1ac),!0x0,0x3ea,_0x4d83c1(0x27b));_0x17863e(_0x447f27);return;}this[_0x4d83c1(0x21f)]=this[_0x4d83c1(0x281)];}else{if(this[_0x4d83c1(0x21f)]===0x1||this['_opcode']===0x2){if(this[_0x4d83c1(0x281)]){const _0x395359=this['createError'](RangeError,_0x4d83c1(0x227)+this['_opcode'],!0x0,0x3ea,_0x4d83c1(0x27b));_0x17863e(_0x395359);return;}this[_0x4d83c1(0x177)]=_0x3dc740;}else{if(this[_0x4d83c1(0x21f)]>0x7&&this[_0x4d83c1(0x21f)]<0xb){if(!this[_0x4d83c1(0x1d7)]){const _0x3746c0=this[_0x4d83c1(0x214)](RangeError,_0x4d83c1(0x25a),!0x0,0x3ea,_0x4d83c1(0x224));_0x17863e(_0x3746c0);return;}if(_0x3dc740){const _0x4da07b=this['createError'](RangeError,_0x4d83c1(0x1ff),!0x0,0x3ea,_0x4d83c1(0x2ae));_0x17863e(_0x4da07b);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x3bb77a=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this[_0x4d83c1(0x284)],!0x0,0x3ea,_0x4d83c1(0x225));_0x17863e(_0x3bb77a);return;}}else{const _0x39f347=this[_0x4d83c1(0x214)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x4d83c1(0x27b));_0x17863e(_0x39f347);return;}}}if(!this[_0x4d83c1(0x1d7)]&&!this[_0x4d83c1(0x281)]&&(this[_0x4d83c1(0x281)]=this[_0x4d83c1(0x21f)]),this[_0x4d83c1(0x1e1)]=(_0x11ee89[0x1]&0x80)===0x80,this[_0x4d83c1(0x178)]){if(!this[_0x4d83c1(0x1e1)]){const _0x542898=this[_0x4d83c1(0x214)](RangeError,_0x4d83c1(0x226),!0x0,0x3ea,_0x4d83c1(0x150));_0x17863e(_0x542898);return;}}else{if(this[_0x4d83c1(0x1e1)]){const _0x3cf207=this[_0x4d83c1(0x214)](RangeError,_0x4d83c1(0x1dc),!0x0,0x3ea,_0x4d83c1(0x1b7));_0x17863e(_0x3cf207);return;}}this['_payloadLength']===0x7e?this[_0x4d83c1(0x24a)]=_0x30d62f:this[_0x4d83c1(0x284)]===0x7f?this[_0x4d83c1(0x24a)]=_0x52e42b:this['haveLength'](_0x17863e);}[_0x30cc13(0x1f5)](_0x13334d){const _0xb6d51d=_0x30cc13;if(this['_bufferedBytes']<0x2){this[_0xb6d51d(0x152)]=!0x1;return;}this['_payloadLength']=this[_0xb6d51d(0x17b)](0x2)[_0xb6d51d(0x17f)](0x0),this[_0xb6d51d(0x1d8)](_0x13334d);}[_0x30cc13(0x18f)](_0x3b55d7){const _0x59e345=_0x30cc13;if(this[_0x59e345(0x212)]<0x8){this[_0x59e345(0x152)]=!0x1;return;}const _0x2783c9=this[_0x59e345(0x17b)](0x8),_0x19a683=_0x2783c9[_0x59e345(0x1a2)](0x0);if(_0x19a683>Math['pow'](0x2,0x15)-0x1){const _0x4f70ba=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x3b55d7(_0x4f70ba);return;}this[_0x59e345(0x284)]=_0x19a683*Math[_0x59e345(0x182)](0x2,0x20)+_0x2783c9['readUInt32BE'](0x4),this[_0x59e345(0x1d8)](_0x3b55d7);}[_0x30cc13(0x1d8)](_0x1f7906){const _0x3b7d3c=_0x30cc13;if(this[_0x3b7d3c(0x284)]&&this[_0x3b7d3c(0x21f)]<0x8&&(this['_totalPayloadLength']+=this['_payloadLength'],this['_totalPayloadLength']>this[_0x3b7d3c(0x2c2)]&&this['_maxPayload']>0x0)){const _0x5123e3=this[_0x3b7d3c(0x214)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x3b7d3c(0x22d));_0x1f7906(_0x5123e3);return;}this[_0x3b7d3c(0x1e1)]?this[_0x3b7d3c(0x24a)]=_0x13b3c8:this['_state']=_0x5d28b9;}[_0x30cc13(0x2df)](){const _0x4e617a=_0x30cc13;if(this[_0x4e617a(0x212)]<0x4){this[_0x4e617a(0x152)]=!0x1;return;}this[_0x4e617a(0x19f)]=this['consume'](0x4),this[_0x4e617a(0x24a)]=_0x5d28b9;}[_0x30cc13(0x210)](_0x5e5f03){const _0x1c7f2b=_0x30cc13;let _0x546c05=_0x2ea470;if(this['_payloadLength']){if(this['_bufferedBytes']<this['_payloadLength']){this[_0x1c7f2b(0x152)]=!0x1;return;}_0x546c05=this[_0x1c7f2b(0x17b)](this['_payloadLength']),this[_0x1c7f2b(0x1e1)]&&(this['_mask'][0x0]|this[_0x1c7f2b(0x19f)][0x1]|this[_0x1c7f2b(0x19f)][0x2]|this['_mask'][0x3])!==0x0&&_0x438a8f(_0x546c05,this[_0x1c7f2b(0x19f)]);}if(this[_0x1c7f2b(0x21f)]>0x7){this['controlMessage'](_0x546c05,_0x5e5f03);return;}if(this[_0x1c7f2b(0x177)]){this[_0x1c7f2b(0x24a)]=_0x33ec9e,this[_0x1c7f2b(0x189)](_0x546c05,_0x5e5f03);return;}_0x546c05[_0x1c7f2b(0x2da)]&&(this['_messageLength']=this['_totalPayloadLength'],this[_0x1c7f2b(0x21b)][_0x1c7f2b(0x2a8)](_0x546c05)),this[_0x1c7f2b(0x1f8)](_0x5e5f03);}[_0x30cc13(0x189)](_0x304101,_0x5665e3){const _0x101e8c=_0x30cc13;this[_0x101e8c(0x1b6)][_0x34f5a9[_0x101e8c(0x1bc)]][_0x101e8c(0x189)](_0x304101,this['_fin'],(_0x2fda42,_0x10ca5e)=>{const _0x3b2f96=_0x101e8c;if(_0x2fda42)return _0x5665e3(_0x2fda42);if(_0x10ca5e[_0x3b2f96(0x2da)]){if(this[_0x3b2f96(0x160)]+=_0x10ca5e[_0x3b2f96(0x2da)],this['_messageLength']>this[_0x3b2f96(0x2c2)]&&this['_maxPayload']>0x0){const _0x2fab2c=this[_0x3b2f96(0x214)](RangeError,_0x3b2f96(0x1d2),!0x1,0x3f1,_0x3b2f96(0x22d));_0x5665e3(_0x2fab2c);return;}this[_0x3b2f96(0x21b)]['push'](_0x10ca5e);}this[_0x3b2f96(0x1f8)](_0x5665e3),this[_0x3b2f96(0x24a)]===_0xddb2&&this[_0x3b2f96(0x22e)](_0x5665e3);});}[_0x30cc13(0x1f8)](_0x4f63e1){const _0x380625=_0x30cc13;if(!this['_fin']){this[_0x380625(0x24a)]=_0xddb2;return;}const _0x1adefb=this['_messageLength'],_0xa91a54=this[_0x380625(0x21b)];if(this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this[_0x380625(0x281)]=0x0,this[_0x380625(0x21b)]=[],this[_0x380625(0x21f)]===0x2){let _0x42f2b1;this[_0x380625(0x216)]===_0x380625(0x23e)?_0x42f2b1=_0x5d878c(_0xa91a54,_0x1adefb):this[_0x380625(0x216)]===_0x380625(0x280)?_0x42f2b1=_0x31193f(_0x5d878c(_0xa91a54,_0x1adefb)):this[_0x380625(0x216)]===_0x380625(0x1aa)?_0x42f2b1=new Blob(_0xa91a54):_0x42f2b1=_0xa91a54,this['_allowSynchronousEvents']?(this[_0x380625(0x231)](_0x380625(0x2a4),_0x42f2b1,!0x0),this[_0x380625(0x24a)]=_0xddb2):(this['_state']=_0x3cfda0,setImmediate(()=>{const _0x20bac9=_0x380625;this[_0x20bac9(0x231)](_0x20bac9(0x2a4),_0x42f2b1,!0x0),this[_0x20bac9(0x24a)]=_0xddb2,this[_0x20bac9(0x22e)](_0x4f63e1);}));}else{const _0x254602=_0x5d878c(_0xa91a54,_0x1adefb);if(!this[_0x380625(0x1ed)]&&!_0x276c5e(_0x254602)){const _0x4ba45b=this[_0x380625(0x214)](Error,_0x380625(0x223),!0x0,0x3ef,_0x380625(0x20c));_0x4f63e1(_0x4ba45b);return;}this[_0x380625(0x24a)]===_0x33ec9e||this['_allowSynchronousEvents']?(this['emit'](_0x380625(0x2a4),_0x254602,!0x1),this[_0x380625(0x24a)]=_0xddb2):(this[_0x380625(0x24a)]=_0x3cfda0,setImmediate(()=>{const _0x50dbd7=_0x380625;this[_0x50dbd7(0x231)](_0x50dbd7(0x2a4),_0x254602,!0x1),this['_state']=_0xddb2,this[_0x50dbd7(0x22e)](_0x4f63e1);}));}}[_0x30cc13(0x242)](_0x4a1af5,_0x5b543b){const _0x2eb257=_0x30cc13;if(this['_opcode']===0x8){if(_0x4a1af5[_0x2eb257(0x2da)]===0x0)this['_loop']=!0x1,this[_0x2eb257(0x231)](_0x2eb257(0x230),0x3ed,_0x2ea470),this['end']();else{const _0x55f45b=_0x4a1af5[_0x2eb257(0x17f)](0x0);if(!_0x4f21f9(_0x55f45b)){const _0x3aa9cf=this[_0x2eb257(0x214)](RangeError,_0x2eb257(0x219)+_0x55f45b,!0x0,0x3ea,_0x2eb257(0x1de));_0x5b543b(_0x3aa9cf);return;}const _0x78bb64=new _0x590185(_0x4a1af5[_0x2eb257(0x21a)],_0x4a1af5[_0x2eb257(0x194)]+0x2,_0x4a1af5[_0x2eb257(0x2da)]-0x2);if(!this['_skipUTF8Validation']&&!_0x276c5e(_0x78bb64)){const _0x1d6f4f=this[_0x2eb257(0x214)](Error,_0x2eb257(0x223),!0x0,0x3ef,_0x2eb257(0x20c));_0x5b543b(_0x1d6f4f);return;}this[_0x2eb257(0x152)]=!0x1,this[_0x2eb257(0x231)](_0x2eb257(0x230),_0x55f45b,_0x78bb64),this['end']();}this[_0x2eb257(0x24a)]=_0xddb2;return;}this['_allowSynchronousEvents']?(this[_0x2eb257(0x231)](this[_0x2eb257(0x21f)]===0x9?_0x2eb257(0x252):_0x2eb257(0x2b0),_0x4a1af5),this[_0x2eb257(0x24a)]=_0xddb2):(this[_0x2eb257(0x24a)]=_0x3cfda0,setImmediate(()=>{const _0x399f15=_0x2eb257;this['emit'](this[_0x399f15(0x21f)]===0x9?_0x399f15(0x252):'pong',_0x4a1af5),this['_state']=_0xddb2,this[_0x399f15(0x22e)](_0x5b543b);}));}[_0x30cc13(0x214)](_0x1ede64,_0xfa3f8e,_0x47fb48,_0x2e3a3b,_0x5097f6){const _0x7a517a=_0x30cc13;this[_0x7a517a(0x152)]=!0x1,this[_0x7a517a(0x1c9)]=!0x0;const _0x1ab351=new _0x1ede64(_0x47fb48?_0x7a517a(0x206)+_0xfa3f8e:_0xfa3f8e);return Error[_0x7a517a(0x19b)](_0x1ab351,this['createError']),_0x1ab351[_0x7a517a(0x2c8)]=_0x5097f6,_0x1ab351[_0x36067e]=_0x2e3a3b,_0x1ab351;}}return Se=_0x55b984,Se;}var Ee,et;function _t(){const _0x219cb6=_0x273d3a;if(et)return Ee;et=0x1;const {Duplex:_0xc5eb48}=_0x208f40,{randomFillSync:_0x2d33a4}=_0x326401,_0xb2b8b1=he(),{EMPTY_BUFFER:_0x1a5565,kWebSocket:_0x3235da,NOOP:_0xfa280a}=V(),{isBlob:_0x3ff839,isValidStatusCode:_0x398297}=ne(),{mask:_0x463474,toBuffer:_0x5aa449}=ce(),_0x21b6aa=Symbol(_0x219cb6(0x1c6)),_0x1742fb=Buffer[_0x219cb6(0x2d1)](0x4),_0x3c69de=0x8*0x400;let _0x16acf5,_0x3d8791=_0x3c69de;const _0x20f0ca=0x0,_0x4ecb8b=0x1,_0x305922=0x2;class _0x406957{constructor(_0x2e19dd,_0x3bbb8a,_0x25d31a){const _0x577700=_0x219cb6;this[_0x577700(0x1b6)]=_0x3bbb8a||{},_0x25d31a&&(this[_0x577700(0x28e)]=_0x25d31a,this[_0x577700(0x159)]=Buffer[_0x577700(0x2d1)](0x4)),this['_socket']=_0x2e19dd,this[_0x577700(0x13c)]=!0x0,this[_0x577700(0x1a3)]=!0x1,this[_0x577700(0x212)]=0x0,this[_0x577700(0x248)]=[],this['_state']=_0x20f0ca,this[_0x577700(0x295)]=_0xfa280a,this[_0x3235da]=void 0x0;}static['frame'](_0x5dc47d,_0x10b677){const _0x42ac5d=_0x219cb6;let _0x2531bc,_0x5eb949=!0x1,_0x274d9f=0x2,_0x6674b9=!0x1;_0x10b677[_0x42ac5d(0x161)]&&(_0x2531bc=_0x10b677['maskBuffer']||_0x1742fb,_0x10b677[_0x42ac5d(0x28b)]?_0x10b677[_0x42ac5d(0x28b)](_0x2531bc):(_0x3d8791===_0x3c69de&&(_0x16acf5===void 0x0&&(_0x16acf5=Buffer[_0x42ac5d(0x2d1)](_0x3c69de)),_0x2d33a4(_0x16acf5,0x0,_0x3c69de),_0x3d8791=0x0),_0x2531bc[0x0]=_0x16acf5[_0x3d8791++],_0x2531bc[0x1]=_0x16acf5[_0x3d8791++],_0x2531bc[0x2]=_0x16acf5[_0x3d8791++],_0x2531bc[0x3]=_0x16acf5[_0x3d8791++]),_0x6674b9=(_0x2531bc[0x0]|_0x2531bc[0x1]|_0x2531bc[0x2]|_0x2531bc[0x3])===0x0,_0x274d9f=0x6);let _0x21ab4f;typeof _0x5dc47d==_0x42ac5d(0x1c2)?(!_0x10b677['mask']||_0x6674b9)&&_0x10b677[_0x21b6aa]!==void 0x0?_0x21ab4f=_0x10b677[_0x21b6aa]:(_0x5dc47d=Buffer[_0x42ac5d(0x164)](_0x5dc47d),_0x21ab4f=_0x5dc47d[_0x42ac5d(0x2da)]):(_0x21ab4f=_0x5dc47d[_0x42ac5d(0x2da)],_0x5eb949=_0x10b677[_0x42ac5d(0x161)]&&_0x10b677[_0x42ac5d(0x240)]&&!_0x6674b9);let _0x3c93e8=_0x21ab4f;_0x21ab4f>=0x10000?(_0x274d9f+=0x8,_0x3c93e8=0x7f):_0x21ab4f>0x7d&&(_0x274d9f+=0x2,_0x3c93e8=0x7e);const _0x52f5ca=Buffer[_0x42ac5d(0x130)](_0x5eb949?_0x21ab4f+_0x274d9f:_0x274d9f);return _0x52f5ca[0x0]=_0x10b677['fin']?_0x10b677[_0x42ac5d(0x202)]|0x80:_0x10b677[_0x42ac5d(0x202)],_0x10b677[_0x42ac5d(0x2cd)]&&(_0x52f5ca[0x0]|=0x40),_0x52f5ca[0x1]=_0x3c93e8,_0x3c93e8===0x7e?_0x52f5ca[_0x42ac5d(0x1f7)](_0x21ab4f,0x2):_0x3c93e8===0x7f&&(_0x52f5ca[0x2]=_0x52f5ca[0x3]=0x0,_0x52f5ca['writeUIntBE'](_0x21ab4f,0x4,0x6)),_0x10b677[_0x42ac5d(0x161)]?(_0x52f5ca[0x1]|=0x80,_0x52f5ca[_0x274d9f-0x4]=_0x2531bc[0x0],_0x52f5ca[_0x274d9f-0x3]=_0x2531bc[0x1],_0x52f5ca[_0x274d9f-0x2]=_0x2531bc[0x2],_0x52f5ca[_0x274d9f-0x1]=_0x2531bc[0x3],_0x6674b9?[_0x52f5ca,_0x5dc47d]:_0x5eb949?(_0x463474(_0x5dc47d,_0x2531bc,_0x52f5ca,_0x274d9f,_0x21ab4f),[_0x52f5ca]):(_0x463474(_0x5dc47d,_0x2531bc,_0x5dc47d,0x0,_0x21ab4f),[_0x52f5ca,_0x5dc47d])):[_0x52f5ca,_0x5dc47d];}[_0x219cb6(0x184)](_0x5d3884,_0x24090d,_0x294881,_0x4da0e9){const _0xdd346=_0x219cb6;let _0x596f31;if(_0x5d3884===void 0x0)_0x596f31=_0x1a5565;else{if(typeof _0x5d3884!=_0xdd346(0x244)||!_0x398297(_0x5d3884))throw new TypeError(_0xdd346(0x241));if(_0x24090d===void 0x0||!_0x24090d[_0xdd346(0x2da)])_0x596f31=Buffer[_0xdd346(0x130)](0x2),_0x596f31[_0xdd346(0x1f7)](_0x5d3884,0x0);else{const _0x58cb9c=Buffer[_0xdd346(0x268)](_0x24090d);if(_0x58cb9c>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x596f31=Buffer['allocUnsafe'](0x2+_0x58cb9c),_0x596f31[_0xdd346(0x1f7)](_0x5d3884,0x0),typeof _0x24090d=='string'?_0x596f31[_0xdd346(0x299)](_0x24090d,0x2):_0x596f31[_0xdd346(0x282)](_0x24090d,0x2);}}const _0x26c0e2={[_0x21b6aa]:_0x596f31[_0xdd346(0x2da)],'fin':!0x0,'generateMask':this[_0xdd346(0x28e)],'mask':_0x294881,'maskBuffer':this[_0xdd346(0x159)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x20f0ca?this['enqueue']([this['dispatch'],_0x596f31,!0x1,_0x26c0e2,_0x4da0e9]):this['sendFrame'](_0x406957[_0xdd346(0x2e0)](_0x596f31,_0x26c0e2),_0x4da0e9);}[_0x219cb6(0x252)](_0x209102,_0x2a3094,_0x45cc73){const _0x23b0d5=_0x219cb6;let _0x4a1229,_0x25bdd7;if(typeof _0x209102==_0x23b0d5(0x1c2)?(_0x4a1229=Buffer[_0x23b0d5(0x268)](_0x209102),_0x25bdd7=!0x1):_0x3ff839(_0x209102)?(_0x4a1229=_0x209102[_0x23b0d5(0x16a)],_0x25bdd7=!0x1):(_0x209102=_0x5aa449(_0x209102),_0x4a1229=_0x209102[_0x23b0d5(0x2da)],_0x25bdd7=_0x5aa449[_0x23b0d5(0x240)]),_0x4a1229>0x7d)throw new RangeError(_0x23b0d5(0x137));const _0xbdf346={[_0x21b6aa]:_0x4a1229,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x2a3094,'maskBuffer':this[_0x23b0d5(0x159)],'opcode':0x9,'readOnly':_0x25bdd7,'rsv1':!0x1};_0x3ff839(_0x209102)?this[_0x23b0d5(0x24a)]!==_0x20f0ca?this['enqueue']([this['getBlobData'],_0x209102,!0x1,_0xbdf346,_0x45cc73]):this[_0x23b0d5(0x20b)](_0x209102,!0x1,_0xbdf346,_0x45cc73):this[_0x23b0d5(0x24a)]!==_0x20f0ca?this[_0x23b0d5(0x2c9)]([this[_0x23b0d5(0x1a6)],_0x209102,!0x1,_0xbdf346,_0x45cc73]):this[_0x23b0d5(0x1f6)](_0x406957['frame'](_0x209102,_0xbdf346),_0x45cc73);}[_0x219cb6(0x2b0)](_0x3b2dc4,_0x2b33e6,_0x275e4e){const _0x5e08e6=_0x219cb6;let _0x123d92,_0x17fff1;if(typeof _0x3b2dc4==_0x5e08e6(0x1c2)?(_0x123d92=Buffer[_0x5e08e6(0x268)](_0x3b2dc4),_0x17fff1=!0x1):_0x3ff839(_0x3b2dc4)?(_0x123d92=_0x3b2dc4['size'],_0x17fff1=!0x1):(_0x3b2dc4=_0x5aa449(_0x3b2dc4),_0x123d92=_0x3b2dc4['length'],_0x17fff1=_0x5aa449[_0x5e08e6(0x240)]),_0x123d92>0x7d)throw new RangeError(_0x5e08e6(0x137));const _0x1316c8={[_0x21b6aa]:_0x123d92,'fin':!0x0,'generateMask':this[_0x5e08e6(0x28e)],'mask':_0x2b33e6,'maskBuffer':this[_0x5e08e6(0x159)],'opcode':0xa,'readOnly':_0x17fff1,'rsv1':!0x1};_0x3ff839(_0x3b2dc4)?this[_0x5e08e6(0x24a)]!==_0x20f0ca?this[_0x5e08e6(0x2c9)]([this[_0x5e08e6(0x20b)],_0x3b2dc4,!0x1,_0x1316c8,_0x275e4e]):this[_0x5e08e6(0x20b)](_0x3b2dc4,!0x1,_0x1316c8,_0x275e4e):this[_0x5e08e6(0x24a)]!==_0x20f0ca?this['enqueue']([this[_0x5e08e6(0x1a6)],_0x3b2dc4,!0x1,_0x1316c8,_0x275e4e]):this['sendFrame'](_0x406957[_0x5e08e6(0x2e0)](_0x3b2dc4,_0x1316c8),_0x275e4e);}[_0x219cb6(0x201)](_0x211f49,_0x22d06c,_0x2ee417){const _0x4bc954=_0x219cb6,_0x4ac09d=this[_0x4bc954(0x1b6)][_0xb2b8b1[_0x4bc954(0x1bc)]];let _0x445c11=_0x22d06c[_0x4bc954(0x2ce)]?0x2:0x1,_0x381be5=_0x22d06c[_0x4bc954(0x1c5)],_0x286b41,_0x382523;typeof _0x211f49=='string'?(_0x286b41=Buffer[_0x4bc954(0x268)](_0x211f49),_0x382523=!0x1):_0x3ff839(_0x211f49)?(_0x286b41=_0x211f49[_0x4bc954(0x16a)],_0x382523=!0x1):(_0x211f49=_0x5aa449(_0x211f49),_0x286b41=_0x211f49[_0x4bc954(0x2da)],_0x382523=_0x5aa449[_0x4bc954(0x240)]),this[_0x4bc954(0x13c)]?(this['_firstFragment']=!0x1,_0x381be5&&_0x4ac09d&&_0x4ac09d['params'][_0x4ac09d[_0x4bc954(0x178)]?_0x4bc954(0x13e):_0x4bc954(0x12d)]&&(_0x381be5=_0x286b41>=_0x4ac09d[_0x4bc954(0x2db)]),this[_0x4bc954(0x1a3)]=_0x381be5):(_0x381be5=!0x1,_0x445c11=0x0),_0x22d06c[_0x4bc954(0x2b9)]&&(this[_0x4bc954(0x13c)]=!0x0);const _0x4074a1={[_0x21b6aa]:_0x286b41,'fin':_0x22d06c[_0x4bc954(0x2b9)],'generateMask':this['_generateMask'],'mask':_0x22d06c[_0x4bc954(0x161)],'maskBuffer':this[_0x4bc954(0x159)],'opcode':_0x445c11,'readOnly':_0x382523,'rsv1':_0x381be5};_0x3ff839(_0x211f49)?this[_0x4bc954(0x24a)]!==_0x20f0ca?this[_0x4bc954(0x2c9)]([this['getBlobData'],_0x211f49,this[_0x4bc954(0x1a3)],_0x4074a1,_0x2ee417]):this[_0x4bc954(0x20b)](_0x211f49,this['_compress'],_0x4074a1,_0x2ee417):this['_state']!==_0x20f0ca?this[_0x4bc954(0x2c9)]([this[_0x4bc954(0x1a6)],_0x211f49,this[_0x4bc954(0x1a3)],_0x4074a1,_0x2ee417]):this[_0x4bc954(0x1a6)](_0x211f49,this[_0x4bc954(0x1a3)],_0x4074a1,_0x2ee417);}[_0x219cb6(0x20b)](_0x37062a,_0x1ff10c,_0x3181cf,_0x4a01d2){const _0x10088c=_0x219cb6;this['_bufferedBytes']+=_0x3181cf[_0x21b6aa],this[_0x10088c(0x24a)]=_0x305922,_0x37062a[_0x10088c(0x25c)]()['then'](_0x47def3=>{const _0x53b72a=_0x10088c;if(this[_0x53b72a(0x25f)]['destroyed']){const _0x597c12=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x53b72a(0x27e)](_0x350633,this,_0x597c12,_0x4a01d2);return;}this[_0x53b72a(0x212)]-=_0x3181cf[_0x21b6aa];const _0x384014=_0x5aa449(_0x47def3);_0x1ff10c?this[_0x53b72a(0x1a6)](_0x384014,_0x1ff10c,_0x3181cf,_0x4a01d2):(this[_0x53b72a(0x24a)]=_0x20f0ca,this['sendFrame'](_0x406957[_0x53b72a(0x2e0)](_0x384014,_0x3181cf),_0x4a01d2),this['dequeue']());})[_0x10088c(0x2b8)](_0x9e198d=>{const _0x3e5507=_0x10088c;process[_0x3e5507(0x27e)](_0x444489,this,_0x9e198d,_0x4a01d2);});}[_0x219cb6(0x1a6)](_0x194e02,_0x1c4f1c,_0x422f18,_0x27d3a8){const _0xedc750=_0x219cb6;if(!_0x1c4f1c){this[_0xedc750(0x1f6)](_0x406957[_0xedc750(0x2e0)](_0x194e02,_0x422f18),_0x27d3a8);return;}const _0x129b4e=this['_extensions'][_0xb2b8b1[_0xedc750(0x1bc)]];this[_0xedc750(0x212)]+=_0x422f18[_0x21b6aa],this[_0xedc750(0x24a)]=_0x4ecb8b,_0x129b4e['compress'](_0x194e02,_0x422f18[_0xedc750(0x2b9)],(_0x164e29,_0x19983b)=>{const _0x314026=_0xedc750;if(this[_0x314026(0x25f)][_0x314026(0x1a9)]){const _0x22463b=new Error(_0x314026(0x247));_0x350633(this,_0x22463b,_0x27d3a8);return;}this['_bufferedBytes']-=_0x422f18[_0x21b6aa],this[_0x314026(0x24a)]=_0x20f0ca,_0x422f18[_0x314026(0x240)]=!0x1,this[_0x314026(0x1f6)](_0x406957[_0x314026(0x2e0)](_0x19983b,_0x422f18),_0x27d3a8),this['dequeue']();});}[_0x219cb6(0x139)](){const _0x59aacd=_0x219cb6;for(;this['_state']===_0x20f0ca&&this[_0x59aacd(0x248)][_0x59aacd(0x2da)];){const _0x427ba5=this[_0x59aacd(0x248)][_0x59aacd(0x2b6)]();this[_0x59aacd(0x212)]-=_0x427ba5[0x3][_0x21b6aa],Reflect[_0x59aacd(0x1cb)](_0x427ba5[0x0],this,_0x427ba5[_0x59aacd(0x16c)](0x1));}}[_0x219cb6(0x2c9)](_0x5c58a6){const _0x4b9a48=_0x219cb6;this[_0x4b9a48(0x212)]+=_0x5c58a6[0x3][_0x21b6aa],this[_0x4b9a48(0x248)][_0x4b9a48(0x2a8)](_0x5c58a6);}[_0x219cb6(0x1f6)](_0x7336a9,_0x590b08){const _0x406b16=_0x219cb6;_0x7336a9[_0x406b16(0x2da)]===0x2?(this[_0x406b16(0x25f)][_0x406b16(0x165)](),this[_0x406b16(0x25f)]['write'](_0x7336a9[0x0]),this[_0x406b16(0x25f)][_0x406b16(0x299)](_0x7336a9[0x1],_0x590b08),this['_socket']['uncork']()):this[_0x406b16(0x25f)][_0x406b16(0x299)](_0x7336a9[0x0],_0x590b08);}}Ee=_0x406957;function _0x350633(_0x34ad40,_0x3bc459,_0x4925f6){const _0x164f6e=_0x219cb6;typeof _0x4925f6==_0x164f6e(0x135)&&_0x4925f6(_0x3bc459);for(let _0x41948e=0x0;_0x41948e<_0x34ad40[_0x164f6e(0x248)][_0x164f6e(0x2da)];_0x41948e++){const _0x37434e=_0x34ad40[_0x164f6e(0x248)][_0x41948e],_0x2ec9e3=_0x37434e[_0x37434e[_0x164f6e(0x2da)]-0x1];typeof _0x2ec9e3=='function'&&_0x2ec9e3(_0x3bc459);}}function _0x444489(_0x3e76e9,_0x52ece2,_0x6a9c8e){_0x350633(_0x3e76e9,_0x52ece2,_0x6a9c8e),_0x3e76e9['onerror'](_0x52ece2);}return Ee;}var xe,tt;function Kt(){const _0x7eae8d=_0x273d3a;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x2e55d2,kListener:_0x154e5c}=V(),_0x357a9f=Symbol(_0x7eae8d(0x132)),_0x3af936=Symbol(_0x7eae8d(0x186)),_0x1157af=Symbol(_0x7eae8d(0x2ba)),_0x437239=Symbol(_0x7eae8d(0x28c)),_0x530b86=Symbol('kReason'),_0x5969b7=Symbol('kTarget'),_0x23087a=Symbol(_0x7eae8d(0x1d3)),_0x89264c=Symbol(_0x7eae8d(0x2d4));class _0x2d371{constructor(_0x190122){this[_0x5969b7]=null,this[_0x23087a]=_0x190122;}get[_0x7eae8d(0x17c)](){return this[_0x5969b7];}get[_0x7eae8d(0x215)](){return this[_0x23087a];}}Object[_0x7eae8d(0x15f)](_0x2d371[_0x7eae8d(0x29c)],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x2d371['prototype'],_0x7eae8d(0x215),{'enumerable':!0x0});class _0x92f7d5 extends _0x2d371{constructor(_0x5c2646,_0x5be8ed={}){const _0x431250=_0x7eae8d;super(_0x5c2646),this[_0x357a9f]=_0x5be8ed[_0x431250(0x2c8)]===void 0x0?0x0:_0x5be8ed[_0x431250(0x2c8)],this[_0x530b86]=_0x5be8ed[_0x431250(0x1bd)]===void 0x0?'':_0x5be8ed['reason'],this[_0x89264c]=_0x5be8ed[_0x431250(0x228)]===void 0x0?!0x1:_0x5be8ed[_0x431250(0x228)];}get[_0x7eae8d(0x2c8)](){return this[_0x357a9f];}get['reason'](){return this[_0x530b86];}get['wasClean'](){return this[_0x89264c];}}Object[_0x7eae8d(0x15f)](_0x92f7d5['prototype'],'code',{'enumerable':!0x0}),Object[_0x7eae8d(0x15f)](_0x92f7d5['prototype'],_0x7eae8d(0x1bd),{'enumerable':!0x0}),Object['defineProperty'](_0x92f7d5[_0x7eae8d(0x29c)],_0x7eae8d(0x228),{'enumerable':!0x0});class _0x26cef5 extends _0x2d371{constructor(_0x1dd731,_0x3717c2={}){const _0x1591fd=_0x7eae8d;super(_0x1dd731),this[_0x1157af]=_0x3717c2[_0x1591fd(0x298)]===void 0x0?null:_0x3717c2[_0x1591fd(0x298)],this[_0x437239]=_0x3717c2['message']===void 0x0?'':_0x3717c2[_0x1591fd(0x2a4)];}get[_0x7eae8d(0x298)](){return this[_0x1157af];}get['message'](){return this[_0x437239];}}Object[_0x7eae8d(0x15f)](_0x26cef5[_0x7eae8d(0x29c)],_0x7eae8d(0x298),{'enumerable':!0x0}),Object[_0x7eae8d(0x15f)](_0x26cef5['prototype'],_0x7eae8d(0x2a4),{'enumerable':!0x0});class _0x365545 extends _0x2d371{constructor(_0xa0ce5b,_0x3dec7e={}){const _0x97ef16=_0x7eae8d;super(_0xa0ce5b),this[_0x3af936]=_0x3dec7e[_0x97ef16(0x220)]===void 0x0?null:_0x3dec7e['data'];}get['data'](){return this[_0x3af936];}}Object[_0x7eae8d(0x15f)](_0x365545[_0x7eae8d(0x29c)],_0x7eae8d(0x220),{'enumerable':!0x0}),xe={'CloseEvent':_0x92f7d5,'ErrorEvent':_0x26cef5,'Event':_0x2d371,'EventTarget':{'addEventListener'(_0x4eae6f,_0x1a04e9,_0x2a37df={}){const _0x26df54=_0x7eae8d;for(const _0x3c3f5a of this[_0x26df54(0x26b)](_0x4eae6f))if(!_0x2a37df[_0x2e55d2]&&_0x3c3f5a[_0x154e5c]===_0x1a04e9&&!_0x3c3f5a[_0x2e55d2])return;let _0x5e81d0;if(_0x4eae6f===_0x26df54(0x2a4))_0x5e81d0=function(_0x5bf7b6,_0xaa0829){const _0x418099=_0x26df54,_0x701fc6=new _0x365545(_0x418099(0x2a4),{'data':_0xaa0829?_0x5bf7b6:_0x5bf7b6[_0x418099(0x15d)]()});_0x701fc6[_0x5969b7]=this,_0x22a7db(_0x1a04e9,this,_0x701fc6);};else{if(_0x4eae6f==='close')_0x5e81d0=function(_0x4d0be2,_0x397f6f){const _0x17f499=_0x26df54,_0x340711=new _0x92f7d5(_0x17f499(0x184),{'code':_0x4d0be2,'reason':_0x397f6f['toString'](),'wasClean':this[_0x17f499(0x2bc)]&&this['_closeFrameSent']});_0x340711[_0x5969b7]=this,_0x22a7db(_0x1a04e9,this,_0x340711);};else{if(_0x4eae6f==='error')_0x5e81d0=function(_0x4ec827){const _0x186cd0=_0x26df54,_0x59e07d=new _0x26cef5(_0x186cd0(0x298),{'error':_0x4ec827,'message':_0x4ec827[_0x186cd0(0x2a4)]});_0x59e07d[_0x5969b7]=this,_0x22a7db(_0x1a04e9,this,_0x59e07d);};else{if(_0x4eae6f===_0x26df54(0x144))_0x5e81d0=function(){const _0x4ee5ec=_0x26df54,_0x38f257=new _0x2d371(_0x4ee5ec(0x144));_0x38f257[_0x5969b7]=this,_0x22a7db(_0x1a04e9,this,_0x38f257);};else return;}}}_0x5e81d0[_0x2e55d2]=!!_0x2a37df[_0x2e55d2],_0x5e81d0[_0x154e5c]=_0x1a04e9,_0x2a37df[_0x26df54(0x1eb)]?this[_0x26df54(0x1eb)](_0x4eae6f,_0x5e81d0):this['on'](_0x4eae6f,_0x5e81d0);},'removeEventListener'(_0x4ebb00,_0x12f6bb){const _0x5d7ea5=_0x7eae8d;for(const _0x6fa24e of this[_0x5d7ea5(0x26b)](_0x4ebb00))if(_0x6fa24e[_0x154e5c]===_0x12f6bb&&!_0x6fa24e[_0x2e55d2]){this[_0x5d7ea5(0x17e)](_0x4ebb00,_0x6fa24e);break;}}},'MessageEvent':_0x365545};function _0x22a7db(_0xd1d184,_0x95440f,_0x15903e){const _0x3f8ec9=_0x7eae8d;typeof _0xd1d184==_0x3f8ec9(0x249)&&_0xd1d184['handleEvent']?_0xd1d184[_0x3f8ec9(0x234)]['call'](_0xd1d184,_0x15903e):_0xd1d184[_0x3f8ec9(0x23b)](_0x95440f,_0x15903e);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x3ea16f}=ne();function _0x407e9b(_0x1bdd63,_0xf9fd0d,_0x8ed03a){const _0x3dfd88=_0x1103;_0x1bdd63[_0xf9fd0d]===void 0x0?_0x1bdd63[_0xf9fd0d]=[_0x8ed03a]:_0x1bdd63[_0xf9fd0d][_0x3dfd88(0x2a8)](_0x8ed03a);}function _0x1d27a6(_0xeb7127){const _0x103611=_0x1103,_0x585d41=Object[_0x103611(0x12e)](null);let _0x39da19=Object['create'](null),_0x4f9149=!0x1,_0x3a2a43=!0x1,_0xeb6e62=!0x1,_0x300a0a,_0x4ede9f,_0x34cb7d=-0x1,_0x59603f=-0x1,_0x201026=-0x1,_0x155db9=0x0;for(;_0x155db9<_0xeb7127[_0x103611(0x2da)];_0x155db9++)if(_0x59603f=_0xeb7127[_0x103611(0x163)](_0x155db9),_0x300a0a===void 0x0){if(_0x201026===-0x1&&_0x3ea16f[_0x59603f]===0x1)_0x34cb7d===-0x1&&(_0x34cb7d=_0x155db9);else{if(_0x155db9!==0x0&&(_0x59603f===0x20||_0x59603f===0x9))_0x201026===-0x1&&_0x34cb7d!==-0x1&&(_0x201026=_0x155db9);else{if(_0x59603f===0x3b||_0x59603f===0x2c){if(_0x34cb7d===-0x1)throw new SyntaxError(_0x103611(0x2a5)+_0x155db9);_0x201026===-0x1&&(_0x201026=_0x155db9);const _0x56d075=_0xeb7127[_0x103611(0x16c)](_0x34cb7d,_0x201026);_0x59603f===0x2c?(_0x407e9b(_0x585d41,_0x56d075,_0x39da19),_0x39da19=Object[_0x103611(0x12e)](null)):_0x300a0a=_0x56d075,_0x34cb7d=_0x201026=-0x1;}else throw new SyntaxError(_0x103611(0x2a5)+_0x155db9);}}}else{if(_0x4ede9f===void 0x0){if(_0x201026===-0x1&&_0x3ea16f[_0x59603f]===0x1)_0x34cb7d===-0x1&&(_0x34cb7d=_0x155db9);else{if(_0x59603f===0x20||_0x59603f===0x9)_0x201026===-0x1&&_0x34cb7d!==-0x1&&(_0x201026=_0x155db9);else{if(_0x59603f===0x3b||_0x59603f===0x2c){if(_0x34cb7d===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x155db9);_0x201026===-0x1&&(_0x201026=_0x155db9),_0x407e9b(_0x39da19,_0xeb7127[_0x103611(0x16c)](_0x34cb7d,_0x201026),!0x0),_0x59603f===0x2c&&(_0x407e9b(_0x585d41,_0x300a0a,_0x39da19),_0x39da19=Object[_0x103611(0x12e)](null),_0x300a0a=void 0x0),_0x34cb7d=_0x201026=-0x1;}else{if(_0x59603f===0x3d&&_0x34cb7d!==-0x1&&_0x201026===-0x1)_0x4ede9f=_0xeb7127[_0x103611(0x16c)](_0x34cb7d,_0x155db9),_0x34cb7d=_0x201026=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x155db9);}}}}else{if(_0x3a2a43){if(_0x3ea16f[_0x59603f]!==0x1)throw new SyntaxError(_0x103611(0x2a5)+_0x155db9);_0x34cb7d===-0x1?_0x34cb7d=_0x155db9:_0x4f9149||(_0x4f9149=!0x0),_0x3a2a43=!0x1;}else{if(_0xeb6e62){if(_0x3ea16f[_0x59603f]===0x1)_0x34cb7d===-0x1&&(_0x34cb7d=_0x155db9);else{if(_0x59603f===0x22&&_0x34cb7d!==-0x1)_0xeb6e62=!0x1,_0x201026=_0x155db9;else{if(_0x59603f===0x5c)_0x3a2a43=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x155db9);}}}else{if(_0x59603f===0x22&&_0xeb7127[_0x103611(0x163)](_0x155db9-0x1)===0x3d)_0xeb6e62=!0x0;else{if(_0x201026===-0x1&&_0x3ea16f[_0x59603f]===0x1)_0x34cb7d===-0x1&&(_0x34cb7d=_0x155db9);else{if(_0x34cb7d!==-0x1&&(_0x59603f===0x20||_0x59603f===0x9))_0x201026===-0x1&&(_0x201026=_0x155db9);else{if(_0x59603f===0x3b||_0x59603f===0x2c){if(_0x34cb7d===-0x1)throw new SyntaxError(_0x103611(0x2a5)+_0x155db9);_0x201026===-0x1&&(_0x201026=_0x155db9);let _0x21a2f8=_0xeb7127[_0x103611(0x16c)](_0x34cb7d,_0x201026);_0x4f9149&&(_0x21a2f8=_0x21a2f8[_0x103611(0x2cc)](/\\/g,''),_0x4f9149=!0x1),_0x407e9b(_0x39da19,_0x4ede9f,_0x21a2f8),_0x59603f===0x2c&&(_0x407e9b(_0x585d41,_0x300a0a,_0x39da19),_0x39da19=Object[_0x103611(0x12e)](null),_0x300a0a=void 0x0),_0x4ede9f=void 0x0,_0x34cb7d=_0x201026=-0x1;}else throw new SyntaxError(_0x103611(0x2a5)+_0x155db9);}}}}}}}if(_0x34cb7d===-0x1||_0xeb6e62||_0x59603f===0x20||_0x59603f===0x9)throw new SyntaxError(_0x103611(0x2bd));_0x201026===-0x1&&(_0x201026=_0x155db9);const _0xda5530=_0xeb7127[_0x103611(0x16c)](_0x34cb7d,_0x201026);return _0x300a0a===void 0x0?_0x407e9b(_0x585d41,_0xda5530,_0x39da19):(_0x4ede9f===void 0x0?_0x407e9b(_0x39da19,_0xda5530,!0x0):_0x4f9149?_0x407e9b(_0x39da19,_0x4ede9f,_0xda5530['replace'](/\\/g,'')):_0x407e9b(_0x39da19,_0x4ede9f,_0xda5530),_0x407e9b(_0x585d41,_0x300a0a,_0x39da19)),_0x585d41;}function _0xb036c9(_0x487c2f){const _0x2bd3dc=_0x1103;return Object[_0x2bd3dc(0x2c3)](_0x487c2f)[_0x2bd3dc(0x1fa)](_0x2d8763=>{const _0xb866d6=_0x2bd3dc;let _0x4854a7=_0x487c2f[_0x2d8763];return Array[_0xb866d6(0x1ca)](_0x4854a7)||(_0x4854a7=[_0x4854a7]),_0x4854a7[_0xb866d6(0x1fa)](_0xda8800=>[_0x2d8763][_0xb866d6(0x1e5)](Object[_0xb866d6(0x2c3)](_0xda8800)['map'](_0x59f830=>{const _0x1c5a3b=_0xb866d6;let _0x14bf9a=_0xda8800[_0x59f830];return Array['isArray'](_0x14bf9a)||(_0x14bf9a=[_0x14bf9a]),_0x14bf9a[_0x1c5a3b(0x1fa)](_0x5a79dc=>_0x5a79dc===!0x0?_0x59f830:_0x59f830+'='+_0x5a79dc)['join'](';\x20');}))[_0xb866d6(0x287)](';\x20'))[_0xb866d6(0x287)](',\x20');})[_0x2bd3dc(0x287)](',\x20');}return be={'format':_0xb036c9,'parse':_0x1d27a6},be;}var we,st;function Ie(){const _0x38c155=_0x273d3a;if(st)return we;st=0x1;const _0x1a6119=_0x5ecb1c,_0x51198c=_0x1fc80e,_0x428096=_0x437340,_0x446f17=_0x26995e,_0x2ccc2d=_0x1627d6,{randomBytes:_0x59cf90,createHash:_0x2e5404}=_0x326401,{Duplex:_0x25171,Readable:_0x430ea0}=_0x208f40,{URL:_0x3b4322}=_0x214c0a,_0xdccd6a=he(),_0x26e20c=dt(),_0x501f25=_t(),{isBlob:_0x9413dd}=ne(),{BINARY_TYPES:_0x491992,EMPTY_BUFFER:_0x3c322c,GUID:_0x36eca8,kForOnEventAttribute:_0x16e2a2,kListener:_0x4a54ac,kStatusCode:_0x403cd9,kWebSocket:_0x470e7d,NOOP:_0xd41bd5}=V(),{EventTarget:{addEventListener:_0x2d4500,removeEventListener:_0x2f1172}}=Kt(),{format:_0x498e4e,parse:_0x52a565}=pt(),{toBuffer:_0x3cb5b7}=ce(),_0x268aaf=0x1e*0x3e8,_0x283a3f=Symbol(_0x38c155(0x14e)),_0x1297cf=[0x8,0xd],_0x5b28d2=[_0x38c155(0x258),'OPEN',_0x38c155(0x205),'CLOSED'],_0x4ee116=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x786afb extends _0x1a6119{constructor(_0x624484,_0xd37a32,_0x37e998){const _0x3148a4=_0x38c155;super(),this[_0x3148a4(0x216)]=_0x491992[0x0],this[_0x3148a4(0x256)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x3148a4(0x24b)]=!0x1,this[_0x3148a4(0x2d8)]=_0x3c322c,this[_0x3148a4(0x1ef)]=null,this['_errorEmitted']=!0x1,this[_0x3148a4(0x1b6)]={},this[_0x3148a4(0x1a8)]=!0x1,this[_0x3148a4(0x29b)]='',this[_0x3148a4(0x1d1)]=_0x786afb[_0x3148a4(0x258)],this[_0x3148a4(0x2cb)]=null,this[_0x3148a4(0x251)]=null,this[_0x3148a4(0x25f)]=null,_0x624484!==null?(this[_0x3148a4(0x209)]=0x0,this[_0x3148a4(0x178)]=!0x1,this[_0x3148a4(0x20f)]=0x0,_0xd37a32===void 0x0?_0xd37a32=[]:Array[_0x3148a4(0x1ca)](_0xd37a32)||(typeof _0xd37a32==_0x3148a4(0x249)&&_0xd37a32!==null?(_0x37e998=_0xd37a32,_0xd37a32=[]):_0xd37a32=[_0xd37a32]),_0x98a70f(this,_0x624484,_0xd37a32,_0x37e998)):(this[_0x3148a4(0x267)]=_0x37e998[_0x3148a4(0x19a)],this[_0x3148a4(0x178)]=!0x0);}get[_0x38c155(0x2ab)](){const _0x1fee78=_0x38c155;return this[_0x1fee78(0x216)];}set[_0x38c155(0x2ab)](_0x5114eb){const _0x1bb64f=_0x38c155;_0x491992[_0x1bb64f(0x149)](_0x5114eb)&&(this[_0x1bb64f(0x216)]=_0x5114eb,this[_0x1bb64f(0x2cb)]&&(this[_0x1bb64f(0x2cb)]['_binaryType']=_0x5114eb));}get[_0x38c155(0x29e)](){const _0x13cf5c=_0x38c155;return this[_0x13cf5c(0x25f)]?this['_socket'][_0x13cf5c(0x22b)]['length']+this[_0x13cf5c(0x251)][_0x13cf5c(0x212)]:this['_bufferedAmount'];}get['extensions'](){const _0xc68d30=_0x38c155;return Object[_0xc68d30(0x2c3)](this[_0xc68d30(0x1b6)])[_0xc68d30(0x287)]();}get['isPaused'](){const _0x49d917=_0x38c155;return this[_0x49d917(0x1a8)];}get[_0x38c155(0x2d6)](){return null;}get[_0x38c155(0x295)](){return null;}get[_0x38c155(0x211)](){return null;}get[_0x38c155(0x26e)](){return null;}get[_0x38c155(0x237)](){const _0x509205=_0x38c155;return this[_0x509205(0x29b)];}get[_0x38c155(0x260)](){return this['_readyState'];}get[_0x38c155(0x250)](){return this['_url'];}[_0x38c155(0x169)](_0x58df1e,_0x965de5,_0x5035eb){const _0x18cdbc=_0x38c155,_0x158ad5=new _0x26e20c({'allowSynchronousEvents':_0x5035eb[_0x18cdbc(0x1fe)],'binaryType':this['binaryType'],'extensions':this[_0x18cdbc(0x1b6)],'isServer':this[_0x18cdbc(0x178)],'maxPayload':_0x5035eb[_0x18cdbc(0x157)],'skipUTF8Validation':_0x5035eb['skipUTF8Validation']}),_0x138a5f=new _0x501f25(_0x58df1e,this[_0x18cdbc(0x1b6)],_0x5035eb[_0x18cdbc(0x28b)]);this['_receiver']=_0x158ad5,this[_0x18cdbc(0x251)]=_0x138a5f,this[_0x18cdbc(0x25f)]=_0x58df1e,_0x158ad5[_0x470e7d]=this,_0x138a5f[_0x470e7d]=this,_0x58df1e[_0x470e7d]=this,_0x158ad5['on'](_0x18cdbc(0x230),_0x3abd79),_0x158ad5['on'](_0x18cdbc(0x23d),_0x5d2145),_0x158ad5['on'](_0x18cdbc(0x298),_0x3fd2a6),_0x158ad5['on'](_0x18cdbc(0x2a4),_0x156339),_0x158ad5['on'](_0x18cdbc(0x252),_0x264eb1),_0x158ad5['on'](_0x18cdbc(0x2b0),_0x3f9b48),_0x138a5f[_0x18cdbc(0x295)]=_0x65920e,_0x58df1e[_0x18cdbc(0x172)]&&_0x58df1e[_0x18cdbc(0x172)](0x0),_0x58df1e[_0x18cdbc(0x13d)]&&_0x58df1e[_0x18cdbc(0x13d)](),_0x965de5[_0x18cdbc(0x2da)]>0x0&&_0x58df1e[_0x18cdbc(0x2d5)](_0x965de5),_0x58df1e['on'](_0x18cdbc(0x184),_0x4d96fc),_0x58df1e['on'](_0x18cdbc(0x220),_0x30dbdd),_0x58df1e['on'](_0x18cdbc(0x188),_0x4d5fb5),_0x58df1e['on'](_0x18cdbc(0x298),_0x15557f),this['_readyState']=_0x786afb[_0x18cdbc(0x1e2)],this[_0x18cdbc(0x231)](_0x18cdbc(0x144));}[_0x38c155(0x2be)](){const _0x2d2f65=_0x38c155;if(!this['_socket']){this[_0x2d2f65(0x1d1)]=_0x786afb['CLOSED'],this['emit'](_0x2d2f65(0x184),this[_0x2d2f65(0x256)],this[_0x2d2f65(0x2d8)]);return;}this[_0x2d2f65(0x1b6)][_0xdccd6a[_0x2d2f65(0x1bc)]]&&this[_0x2d2f65(0x1b6)][_0xdccd6a[_0x2d2f65(0x1bc)]]['cleanup'](),this[_0x2d2f65(0x2cb)]['removeAllListeners'](),this[_0x2d2f65(0x1d1)]=_0x786afb[_0x2d2f65(0x2b1)],this[_0x2d2f65(0x231)]('close',this['_closeCode'],this[_0x2d2f65(0x2d8)]);}[_0x38c155(0x184)](_0x4dda04,_0x2ceca2){const _0x3d224c=_0x38c155;if(this[_0x3d224c(0x260)]!==_0x786afb[_0x3d224c(0x2b1)]){if(this[_0x3d224c(0x260)]===_0x786afb[_0x3d224c(0x258)]){_0x58c53d(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x3d224c(0x260)]===_0x786afb[_0x3d224c(0x205)]){this[_0x3d224c(0x24b)]&&(this[_0x3d224c(0x2bc)]||this[_0x3d224c(0x2cb)][_0x3d224c(0x22b)][_0x3d224c(0x2a6)])&&this[_0x3d224c(0x25f)][_0x3d224c(0x188)]();return;}this[_0x3d224c(0x1d1)]=_0x786afb['CLOSING'],this[_0x3d224c(0x251)][_0x3d224c(0x184)](_0x4dda04,_0x2ceca2,!this[_0x3d224c(0x178)],_0x1abe76=>{const _0xf3f26d=_0x3d224c;_0x1abe76||(this[_0xf3f26d(0x24b)]=!0x0,(this[_0xf3f26d(0x2bc)]||this[_0xf3f26d(0x2cb)][_0xf3f26d(0x22b)]['errorEmitted'])&&this[_0xf3f26d(0x25f)][_0xf3f26d(0x188)]());}),_0x2a33cd(this);}}[_0x38c155(0x16e)](){const _0x23b7d8=_0x38c155;this[_0x23b7d8(0x260)]===_0x786afb[_0x23b7d8(0x258)]||this[_0x23b7d8(0x260)]===_0x786afb[_0x23b7d8(0x2b1)]||(this[_0x23b7d8(0x1a8)]=!0x0,this[_0x23b7d8(0x25f)][_0x23b7d8(0x16e)]());}['ping'](_0xd6a0ed,_0x42ab9a,_0x396736){const _0x9db0d9=_0x38c155;if(this[_0x9db0d9(0x260)]===_0x786afb[_0x9db0d9(0x258)])throw new Error(_0x9db0d9(0x18c));if(typeof _0xd6a0ed==_0x9db0d9(0x135)?(_0x396736=_0xd6a0ed,_0xd6a0ed=_0x42ab9a=void 0x0):typeof _0x42ab9a==_0x9db0d9(0x135)&&(_0x396736=_0x42ab9a,_0x42ab9a=void 0x0),typeof _0xd6a0ed=='number'&&(_0xd6a0ed=_0xd6a0ed[_0x9db0d9(0x15d)]()),this[_0x9db0d9(0x260)]!==_0x786afb['OPEN']){_0x45f4d6(this,_0xd6a0ed,_0x396736);return;}_0x42ab9a===void 0x0&&(_0x42ab9a=!this[_0x9db0d9(0x178)]),this[_0x9db0d9(0x251)]['ping'](_0xd6a0ed||_0x3c322c,_0x42ab9a,_0x396736);}[_0x38c155(0x2b0)](_0x5781de,_0x4889c4,_0x99498e){const _0x37724b=_0x38c155;if(this['readyState']===_0x786afb['CONNECTING'])throw new Error(_0x37724b(0x18c));if(typeof _0x5781de=='function'?(_0x99498e=_0x5781de,_0x5781de=_0x4889c4=void 0x0):typeof _0x4889c4==_0x37724b(0x135)&&(_0x99498e=_0x4889c4,_0x4889c4=void 0x0),typeof _0x5781de==_0x37724b(0x244)&&(_0x5781de=_0x5781de[_0x37724b(0x15d)]()),this[_0x37724b(0x260)]!==_0x786afb['OPEN']){_0x45f4d6(this,_0x5781de,_0x99498e);return;}_0x4889c4===void 0x0&&(_0x4889c4=!this[_0x37724b(0x178)]),this[_0x37724b(0x251)][_0x37724b(0x2b0)](_0x5781de||_0x3c322c,_0x4889c4,_0x99498e);}[_0x38c155(0x25b)](){const _0x2cfa67=_0x38c155;this[_0x2cfa67(0x260)]===_0x786afb[_0x2cfa67(0x258)]||this[_0x2cfa67(0x260)]===_0x786afb[_0x2cfa67(0x2b1)]||(this[_0x2cfa67(0x1a8)]=!0x1,this[_0x2cfa67(0x2cb)][_0x2cfa67(0x22b)]['needDrain']||this['_socket'][_0x2cfa67(0x25b)]());}[_0x38c155(0x201)](_0x309b67,_0x132ad4,_0x16d1f3){const _0x3e0078=_0x38c155;if(this[_0x3e0078(0x260)]===_0x786afb[_0x3e0078(0x258)])throw new Error(_0x3e0078(0x18c));if(typeof _0x132ad4==_0x3e0078(0x135)&&(_0x16d1f3=_0x132ad4,_0x132ad4={}),typeof _0x309b67==_0x3e0078(0x244)&&(_0x309b67=_0x309b67['toString']()),this[_0x3e0078(0x260)]!==_0x786afb['OPEN']){_0x45f4d6(this,_0x309b67,_0x16d1f3);return;}const _0x26fb5a={'binary':typeof _0x309b67!=_0x3e0078(0x1c2),'mask':!this[_0x3e0078(0x178)],'compress':!0x0,'fin':!0x0,..._0x132ad4};this[_0x3e0078(0x1b6)][_0xdccd6a['extensionName']]||(_0x26fb5a[_0x3e0078(0x1c5)]=!0x1),this['_sender']['send'](_0x309b67||_0x3c322c,_0x26fb5a,_0x16d1f3);}[_0x38c155(0x222)](){const _0x2f0ef6=_0x38c155;if(this[_0x2f0ef6(0x260)]!==_0x786afb[_0x2f0ef6(0x2b1)]){if(this[_0x2f0ef6(0x260)]===_0x786afb[_0x2f0ef6(0x258)]){_0x58c53d(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this['_socket']&&(this[_0x2f0ef6(0x1d1)]=_0x786afb['CLOSING'],this['_socket'][_0x2f0ef6(0x277)]());}}}Object[_0x38c155(0x15f)](_0x786afb,_0x38c155(0x258),{'enumerable':!0x0,'value':_0x5b28d2[_0x38c155(0x2c6)](_0x38c155(0x258))}),Object[_0x38c155(0x15f)](_0x786afb[_0x38c155(0x29c)],'CONNECTING',{'enumerable':!0x0,'value':_0x5b28d2['indexOf'](_0x38c155(0x258))}),Object[_0x38c155(0x15f)](_0x786afb,_0x38c155(0x1e2),{'enumerable':!0x0,'value':_0x5b28d2[_0x38c155(0x2c6)](_0x38c155(0x1e2))}),Object['defineProperty'](_0x786afb[_0x38c155(0x29c)],_0x38c155(0x1e2),{'enumerable':!0x0,'value':_0x5b28d2['indexOf']('OPEN')}),Object['defineProperty'](_0x786afb,_0x38c155(0x205),{'enumerable':!0x0,'value':_0x5b28d2[_0x38c155(0x2c6)](_0x38c155(0x205))}),Object[_0x38c155(0x15f)](_0x786afb[_0x38c155(0x29c)],_0x38c155(0x205),{'enumerable':!0x0,'value':_0x5b28d2['indexOf'](_0x38c155(0x205))}),Object[_0x38c155(0x15f)](_0x786afb,_0x38c155(0x2b1),{'enumerable':!0x0,'value':_0x5b28d2[_0x38c155(0x2c6)]('CLOSED')}),Object[_0x38c155(0x15f)](_0x786afb[_0x38c155(0x29c)],_0x38c155(0x2b1),{'enumerable':!0x0,'value':_0x5b28d2[_0x38c155(0x2c6)](_0x38c155(0x2b1))}),[_0x38c155(0x2ab),_0x38c155(0x29e),'extensions',_0x38c155(0x270),'protocol',_0x38c155(0x260),_0x38c155(0x250)][_0x38c155(0x290)](_0x341332=>{const _0x46bb14=_0x38c155;Object[_0x46bb14(0x15f)](_0x786afb[_0x46bb14(0x29c)],_0x341332,{'enumerable':!0x0});}),[_0x38c155(0x144),'error',_0x38c155(0x184),_0x38c155(0x2a4)][_0x38c155(0x290)](_0x21e1e3=>{Object['defineProperty'](_0x786afb['prototype'],'on'+_0x21e1e3,{'enumerable':!0x0,'get'(){const _0x10f97c=_0x1103;for(const _0x43ac9f of this[_0x10f97c(0x26b)](_0x21e1e3))if(_0x43ac9f[_0x16e2a2])return _0x43ac9f[_0x4a54ac];return null;},'set'(_0x489bde){const _0x144d14=_0x1103;for(const _0x7579a4 of this['listeners'](_0x21e1e3))if(_0x7579a4[_0x16e2a2]){this[_0x144d14(0x17e)](_0x21e1e3,_0x7579a4);break;}typeof _0x489bde==_0x144d14(0x135)&&this['addEventListener'](_0x21e1e3,_0x489bde,{[_0x16e2a2]:!0x0});}});}),_0x786afb['prototype'][_0x38c155(0x180)]=_0x2d4500,_0x786afb[_0x38c155(0x29c)][_0x38c155(0x2a2)]=_0x2f1172,we=_0x786afb;function _0x98a70f(_0x19991c,_0x4eddbf,_0x584981,_0x253ef6){const _0x194c2b=_0x38c155,_0x5776ad={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1297cf[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x253ef6,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x194c2b(0x158),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x19991c[_0x194c2b(0x267)]=_0x5776ad[_0x194c2b(0x19a)],!_0x1297cf[_0x194c2b(0x149)](_0x5776ad[_0x194c2b(0x289)]))throw new RangeError(_0x194c2b(0x297)+_0x5776ad[_0x194c2b(0x289)]+'\x20(supported\x20versions:\x20'+_0x1297cf['join'](',\x20')+')');let _0x19c133;if(_0x4eddbf instanceof _0x3b4322)_0x19c133=_0x4eddbf;else try{_0x19c133=new _0x3b4322(_0x4eddbf);}catch{throw new SyntaxError(_0x194c2b(0x1d9)+_0x4eddbf);}_0x19c133[_0x194c2b(0x237)]==='http:'?_0x19c133[_0x194c2b(0x237)]=_0x194c2b(0x283):_0x19c133[_0x194c2b(0x237)]===_0x194c2b(0x2b7)&&(_0x19c133[_0x194c2b(0x237)]=_0x194c2b(0x190)),_0x19991c[_0x194c2b(0x26a)]=_0x19c133['href'];const _0x382037=_0x19c133[_0x194c2b(0x237)]===_0x194c2b(0x190),_0x358d13=_0x19c133[_0x194c2b(0x237)]===_0x194c2b(0x1f9);let _0x58250e;if(_0x19c133[_0x194c2b(0x237)]!==_0x194c2b(0x283)&&!_0x382037&&!_0x358d13?_0x58250e=_0x194c2b(0x263):_0x358d13&&!_0x19c133[_0x194c2b(0x269)]?_0x58250e=_0x194c2b(0x238):_0x19c133['hash']&&(_0x58250e=_0x194c2b(0x1c7)),_0x58250e){const _0x2d9023=new SyntaxError(_0x58250e);if(_0x19991c[_0x194c2b(0x20f)]===0x0)throw _0x2d9023;_0x15e3b3(_0x19991c,_0x2d9023);return;}const _0x358628=_0x382037?0x1bb:0x50,_0x4e8777=_0x59cf90(0x10)[_0x194c2b(0x15d)]('base64'),_0x5c95c1=_0x382037?_0x51198c[_0x194c2b(0x1d0)]:_0x428096['request'],_0x45c610=new Set();let _0x198a4b;if(_0x5776ad[_0x194c2b(0x15a)]=_0x5776ad[_0x194c2b(0x15a)]||(_0x382037?_0xd9438f:_0x1402fd),_0x5776ad[_0x194c2b(0x261)]=_0x5776ad[_0x194c2b(0x261)]||_0x358628,_0x5776ad['port']=_0x19c133[_0x194c2b(0x27c)]||_0x358628,_0x5776ad[_0x194c2b(0x1e8)]=_0x19c133[_0x194c2b(0x143)][_0x194c2b(0x1d6)]('[')?_0x19c133[_0x194c2b(0x143)][_0x194c2b(0x16c)](0x1,-0x1):_0x19c133['hostname'],_0x5776ad[_0x194c2b(0x1fc)]={..._0x5776ad[_0x194c2b(0x1fc)],'Sec-WebSocket-Version':_0x5776ad[_0x194c2b(0x289)],'Sec-WebSocket-Key':_0x4e8777,'Connection':_0x194c2b(0x1b4),'Upgrade':_0x194c2b(0x24f)},_0x5776ad[_0x194c2b(0x151)]=_0x19c133[_0x194c2b(0x269)]+_0x19c133[_0x194c2b(0x2cf)],_0x5776ad['timeout']=_0x5776ad[_0x194c2b(0x1cd)],_0x5776ad[_0x194c2b(0x2b3)]&&(_0x198a4b=new _0xdccd6a(_0x5776ad[_0x194c2b(0x2b3)]!==!0x0?_0x5776ad['perMessageDeflate']:{},!0x1,_0x5776ad[_0x194c2b(0x157)]),_0x5776ad[_0x194c2b(0x1fc)][_0x194c2b(0x2c0)]=_0x498e4e({[_0xdccd6a[_0x194c2b(0x1bc)]]:_0x198a4b[_0x194c2b(0x1e0)]()})),_0x584981['length']){for(const _0x22a969 of _0x584981){if(typeof _0x22a969!=_0x194c2b(0x1c2)||!_0x4ee116[_0x194c2b(0x2a9)](_0x22a969)||_0x45c610['has'](_0x22a969))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x45c610[_0x194c2b(0x286)](_0x22a969);}_0x5776ad['headers'][_0x194c2b(0x1fb)]=_0x584981[_0x194c2b(0x287)](',');}if(_0x5776ad['origin']&&(_0x5776ad[_0x194c2b(0x289)]<0xd?_0x5776ad['headers']['Sec-WebSocket-Origin']=_0x5776ad[_0x194c2b(0x2af)]:_0x5776ad[_0x194c2b(0x1fc)][_0x194c2b(0x24c)]=_0x5776ad[_0x194c2b(0x2af)]),(_0x19c133['username']||_0x19c133[_0x194c2b(0x264)])&&(_0x5776ad['auth']=_0x19c133[_0x194c2b(0x1e7)]+':'+_0x19c133['password']),_0x358d13){const _0x171c6b=_0x5776ad['path'][_0x194c2b(0x16f)](':');_0x5776ad['socketPath']=_0x171c6b[0x0],_0x5776ad[_0x194c2b(0x151)]=_0x171c6b[0x1];}let _0x4e59f9;if(_0x5776ad[_0x194c2b(0x272)]){if(_0x19991c[_0x194c2b(0x20f)]===0x0){_0x19991c[_0x194c2b(0x2c7)]=_0x358d13,_0x19991c[_0x194c2b(0x26d)]=_0x382037,_0x19991c[_0x194c2b(0x288)]=_0x358d13?_0x5776ad[_0x194c2b(0x18b)]:_0x19c133[_0x194c2b(0x1e8)];const _0x111a74=_0x253ef6&&_0x253ef6['headers'];if(_0x253ef6={..._0x253ef6,'headers':{}},_0x111a74){for(const [_0x53f33b,_0x2779b2]of Object['entries'](_0x111a74))_0x253ef6['headers'][_0x53f33b[_0x194c2b(0x266)]()]=_0x2779b2;}}else{if(_0x19991c[_0x194c2b(0x292)](_0x194c2b(0x18a))===0x0){const _0x3a1b81=_0x358d13?_0x19991c[_0x194c2b(0x2c7)]?_0x5776ad[_0x194c2b(0x18b)]===_0x19991c[_0x194c2b(0x288)]:!0x1:_0x19991c[_0x194c2b(0x2c7)]?!0x1:_0x19c133[_0x194c2b(0x1e8)]===_0x19991c[_0x194c2b(0x288)];(!_0x3a1b81||_0x19991c['_originalSecure']&&!_0x382037)&&(delete _0x5776ad[_0x194c2b(0x1fc)]['authorization'],delete _0x5776ad[_0x194c2b(0x1fc)][_0x194c2b(0x196)],_0x3a1b81||delete _0x5776ad['headers'][_0x194c2b(0x1e8)],_0x5776ad[_0x194c2b(0x26c)]=void 0x0);}}_0x5776ad[_0x194c2b(0x26c)]&&!_0x253ef6[_0x194c2b(0x1fc)]['authorization']&&(_0x253ef6[_0x194c2b(0x1fc)][_0x194c2b(0x197)]=_0x194c2b(0x1e6)+Buffer[_0x194c2b(0x164)](_0x5776ad['auth'])[_0x194c2b(0x15d)]('base64')),_0x4e59f9=_0x19991c[_0x194c2b(0x176)]=_0x5c95c1(_0x5776ad),_0x19991c['_redirects']&&_0x19991c[_0x194c2b(0x231)](_0x194c2b(0x18a),_0x19991c[_0x194c2b(0x250)],_0x4e59f9);}else _0x4e59f9=_0x19991c['_req']=_0x5c95c1(_0x5776ad);_0x5776ad[_0x194c2b(0x279)]&&_0x4e59f9['on'](_0x194c2b(0x279),()=>{_0x58c53d(_0x19991c,_0x4e59f9,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x4e59f9['on'](_0x194c2b(0x298),_0x59298c=>{const _0x3b843f=_0x194c2b;_0x4e59f9===null||_0x4e59f9[_0x283a3f]||(_0x4e59f9=_0x19991c[_0x3b843f(0x176)]=null,_0x15e3b3(_0x19991c,_0x59298c));}),_0x4e59f9['on']('response',_0x3e22e8=>{const _0x7ae7f9=_0x194c2b,_0xda7e99=_0x3e22e8[_0x7ae7f9(0x1fc)][_0x7ae7f9(0x1f1)],_0x50e45f=_0x3e22e8[_0x7ae7f9(0x1d5)];if(_0xda7e99&&_0x5776ad['followRedirects']&&_0x50e45f>=0x12c&&_0x50e45f<0x190){if(++_0x19991c[_0x7ae7f9(0x20f)]>_0x5776ad[_0x7ae7f9(0x2bf)]){_0x58c53d(_0x19991c,_0x4e59f9,_0x7ae7f9(0x293));return;}_0x4e59f9[_0x7ae7f9(0x2dc)]();let _0xfa8d46;try{_0xfa8d46=new _0x3b4322(_0xda7e99,_0x4eddbf);}catch{const _0x42dc1a=new SyntaxError(_0x7ae7f9(0x1d9)+_0xda7e99);_0x15e3b3(_0x19991c,_0x42dc1a);return;}_0x98a70f(_0x19991c,_0xfa8d46,_0x584981,_0x253ef6);}else _0x19991c[_0x7ae7f9(0x231)](_0x7ae7f9(0x285),_0x4e59f9,_0x3e22e8)||_0x58c53d(_0x19991c,_0x4e59f9,'Unexpected\x20server\x20response:\x20'+_0x3e22e8[_0x7ae7f9(0x1d5)]);}),_0x4e59f9['on'](_0x194c2b(0x28a),(_0x2f48af,_0x1e02c9,_0x2723e3)=>{const _0x165228=_0x194c2b;if(_0x19991c['emit'](_0x165228(0x28a),_0x2f48af),_0x19991c[_0x165228(0x260)]!==_0x786afb[_0x165228(0x258)])return;_0x4e59f9=_0x19991c[_0x165228(0x176)]=null;const _0x1e3ebd=_0x2f48af['headers'][_0x165228(0x28a)];if(_0x1e3ebd===void 0x0||_0x1e3ebd[_0x165228(0x266)]()!==_0x165228(0x24f)){_0x58c53d(_0x19991c,_0x1e02c9,_0x165228(0x1f2));return;}const _0x4ac4fe=_0x2e5404(_0x165228(0x15c))[_0x165228(0x2a0)](_0x4e8777+_0x36eca8)[_0x165228(0x1b8)]('base64');if(_0x2f48af[_0x165228(0x1fc)][_0x165228(0x294)]!==_0x4ac4fe){_0x58c53d(_0x19991c,_0x1e02c9,_0x165228(0x1ec));return;}const _0x355e0b=_0x2f48af[_0x165228(0x1fc)][_0x165228(0x21d)];let _0x5297de;if(_0x355e0b!==void 0x0?_0x45c610[_0x165228(0x16a)]?_0x45c610[_0x165228(0x131)](_0x355e0b)||(_0x5297de=_0x165228(0x198)):_0x5297de=_0x165228(0x2a7):_0x45c610[_0x165228(0x16a)]&&(_0x5297de=_0x165228(0x271)),_0x5297de){_0x58c53d(_0x19991c,_0x1e02c9,_0x5297de);return;}_0x355e0b&&(_0x19991c[_0x165228(0x29b)]=_0x355e0b);const _0x53c9dd=_0x2f48af[_0x165228(0x1fc)]['sec-websocket-extensions'];if(_0x53c9dd!==void 0x0){if(!_0x198a4b){_0x58c53d(_0x19991c,_0x1e02c9,_0x165228(0x1ba));return;}let _0x48ef36;try{_0x48ef36=_0x52a565(_0x53c9dd);}catch{_0x58c53d(_0x19991c,_0x1e02c9,_0x165228(0x16b));return;}const _0x151b71=Object[_0x165228(0x2c3)](_0x48ef36);if(_0x151b71[_0x165228(0x2da)]!==0x1||_0x151b71[0x0]!==_0xdccd6a[_0x165228(0x1bc)]){_0x58c53d(_0x19991c,_0x1e02c9,_0x165228(0x1bf));return;}try{_0x198a4b[_0x165228(0x14f)](_0x48ef36[_0xdccd6a[_0x165228(0x1bc)]]);}catch{_0x58c53d(_0x19991c,_0x1e02c9,_0x165228(0x16b));return;}_0x19991c[_0x165228(0x1b6)][_0xdccd6a[_0x165228(0x1bc)]]=_0x198a4b;}_0x19991c['setSocket'](_0x1e02c9,_0x2723e3,{'allowSynchronousEvents':_0x5776ad[_0x165228(0x1fe)],'generateMask':_0x5776ad[_0x165228(0x28b)],'maxPayload':_0x5776ad[_0x165228(0x157)],'skipUTF8Validation':_0x5776ad[_0x165228(0x1b5)]});}),_0x5776ad[_0x194c2b(0x204)]?_0x5776ad[_0x194c2b(0x204)](_0x4e59f9,_0x19991c):_0x4e59f9[_0x194c2b(0x188)]();}function _0x15e3b3(_0x3a91a7,_0x52cd24){const _0x37606a=_0x38c155;_0x3a91a7['_readyState']=_0x786afb['CLOSING'],_0x3a91a7['_errorEmitted']=!0x0,_0x3a91a7[_0x37606a(0x231)]('error',_0x52cd24),_0x3a91a7['emitClose']();}function _0x1402fd(_0x335018){const _0x26f1e7=_0x38c155;return _0x335018[_0x26f1e7(0x151)]=_0x335018[_0x26f1e7(0x18b)],_0x446f17[_0x26f1e7(0x195)](_0x335018);}function _0xd9438f(_0x139f57){const _0x5c6bf6=_0x38c155;return _0x139f57[_0x5c6bf6(0x151)]=void 0x0,!_0x139f57[_0x5c6bf6(0x171)]&&_0x139f57['servername']!==''&&(_0x139f57[_0x5c6bf6(0x171)]=_0x446f17['isIP'](_0x139f57[_0x5c6bf6(0x1e8)])?'':_0x139f57[_0x5c6bf6(0x1e8)]),_0x2ccc2d['connect'](_0x139f57);}function _0x58c53d(_0x49bd44,_0x3e05c6,_0x37f95c){const _0x5b88c7=_0x38c155;_0x49bd44[_0x5b88c7(0x1d1)]=_0x786afb['CLOSING'];const _0x198a5e=new Error(_0x37f95c);Error[_0x5b88c7(0x19b)](_0x198a5e,_0x58c53d),_0x3e05c6[_0x5b88c7(0x14a)]?(_0x3e05c6[_0x283a3f]=!0x0,_0x3e05c6['abort'](),_0x3e05c6[_0x5b88c7(0x207)]&&!_0x3e05c6[_0x5b88c7(0x207)]['destroyed']&&_0x3e05c6['socket'][_0x5b88c7(0x277)](),process[_0x5b88c7(0x27e)](_0x15e3b3,_0x49bd44,_0x198a5e)):(_0x3e05c6[_0x5b88c7(0x277)](_0x198a5e),_0x3e05c6[_0x5b88c7(0x1eb)](_0x5b88c7(0x298),_0x49bd44[_0x5b88c7(0x231)][_0x5b88c7(0x14b)](_0x49bd44,_0x5b88c7(0x298))),_0x3e05c6[_0x5b88c7(0x1eb)](_0x5b88c7(0x184),_0x49bd44[_0x5b88c7(0x2be)][_0x5b88c7(0x14b)](_0x49bd44)));}function _0x45f4d6(_0x32a7b0,_0x37858b,_0x4b6c03){const _0x58c896=_0x38c155;if(_0x37858b){const _0x28bffe=_0x9413dd(_0x37858b)?_0x37858b[_0x58c896(0x16a)]:_0x3cb5b7(_0x37858b)['length'];_0x32a7b0[_0x58c896(0x25f)]?_0x32a7b0[_0x58c896(0x251)]['_bufferedBytes']+=_0x28bffe:_0x32a7b0[_0x58c896(0x209)]+=_0x28bffe;}if(_0x4b6c03){const _0x3bd319=new Error(_0x58c896(0x23c)+_0x32a7b0[_0x58c896(0x260)]+'\x20('+_0x5b28d2[_0x32a7b0['readyState']]+')');process['nextTick'](_0x4b6c03,_0x3bd319);}}function _0x3abd79(_0x4d521b,_0x26330c){const _0x1496fb=_0x38c155,_0x1bcf45=this[_0x470e7d];_0x1bcf45[_0x1496fb(0x2bc)]=!0x0,_0x1bcf45[_0x1496fb(0x2d8)]=_0x26330c,_0x1bcf45['_closeCode']=_0x4d521b,_0x1bcf45[_0x1496fb(0x25f)][_0x470e7d]!==void 0x0&&(_0x1bcf45[_0x1496fb(0x25f)][_0x1496fb(0x17e)](_0x1496fb(0x220),_0x30dbdd),process[_0x1496fb(0x27e)](_0x47958b,_0x1bcf45[_0x1496fb(0x25f)]),_0x4d521b===0x3ed?_0x1bcf45['close']():_0x1bcf45[_0x1496fb(0x184)](_0x4d521b,_0x26330c));}function _0x5d2145(){const _0x2047db=_0x38c155,_0x28a6c5=this[_0x470e7d];_0x28a6c5[_0x2047db(0x270)]||_0x28a6c5[_0x2047db(0x25f)][_0x2047db(0x25b)]();}function _0x3fd2a6(_0x5a0c2e){const _0x21ca9b=_0x38c155,_0x5d5f7f=this[_0x470e7d];_0x5d5f7f[_0x21ca9b(0x25f)][_0x470e7d]!==void 0x0&&(_0x5d5f7f[_0x21ca9b(0x25f)][_0x21ca9b(0x17e)]('data',_0x30dbdd),process[_0x21ca9b(0x27e)](_0x47958b,_0x5d5f7f[_0x21ca9b(0x25f)]),_0x5d5f7f[_0x21ca9b(0x184)](_0x5a0c2e[_0x403cd9])),_0x5d5f7f[_0x21ca9b(0x183)]||(_0x5d5f7f[_0x21ca9b(0x183)]=!0x0,_0x5d5f7f[_0x21ca9b(0x231)](_0x21ca9b(0x298),_0x5a0c2e));}function _0x2ab7d2(){const _0x120f47=_0x38c155;this[_0x470e7d][_0x120f47(0x2be)]();}function _0x156339(_0x31c382,_0x3e1f49){const _0x1e09b1=_0x38c155;this[_0x470e7d][_0x1e09b1(0x231)](_0x1e09b1(0x2a4),_0x31c382,_0x3e1f49);}function _0x264eb1(_0x15b4b6){const _0x55d75c=_0x38c155,_0x53f7b2=this[_0x470e7d];_0x53f7b2[_0x55d75c(0x267)]&&_0x53f7b2[_0x55d75c(0x2b0)](_0x15b4b6,!this[_0x55d75c(0x178)],_0xd41bd5),_0x53f7b2[_0x55d75c(0x231)](_0x55d75c(0x252),_0x15b4b6);}function _0x3f9b48(_0x22603e){const _0x163020=_0x38c155;this[_0x470e7d][_0x163020(0x231)]('pong',_0x22603e);}function _0x47958b(_0x5ccb63){const _0x4797a4=_0x38c155;_0x5ccb63[_0x4797a4(0x25b)]();}function _0x65920e(_0x474230){const _0x2db5f7=_0x38c155,_0x5bdbaa=this[_0x470e7d];_0x5bdbaa[_0x2db5f7(0x260)]!==_0x786afb[_0x2db5f7(0x2b1)]&&(_0x5bdbaa[_0x2db5f7(0x260)]===_0x786afb[_0x2db5f7(0x1e2)]&&(_0x5bdbaa[_0x2db5f7(0x1d1)]=_0x786afb[_0x2db5f7(0x205)],_0x2a33cd(_0x5bdbaa)),this[_0x2db5f7(0x25f)][_0x2db5f7(0x188)](),_0x5bdbaa['_errorEmitted']||(_0x5bdbaa[_0x2db5f7(0x183)]=!0x0,_0x5bdbaa['emit'](_0x2db5f7(0x298),_0x474230)));}function _0x2a33cd(_0xddc13f){const _0x11a70e=_0x38c155;_0xddc13f[_0x11a70e(0x1ef)]=setTimeout(_0xddc13f[_0x11a70e(0x25f)][_0x11a70e(0x277)][_0x11a70e(0x14b)](_0xddc13f[_0x11a70e(0x25f)]),_0x268aaf);}function _0x4d96fc(){const _0x378a09=_0x38c155,_0xc1ec98=this[_0x470e7d];this['removeListener'](_0x378a09(0x184),_0x4d96fc),this['removeListener'](_0x378a09(0x220),_0x30dbdd),this[_0x378a09(0x17e)](_0x378a09(0x188),_0x4d5fb5),_0xc1ec98[_0x378a09(0x1d1)]=_0x786afb['CLOSING'];let _0xfb9247;!this[_0x378a09(0x1ea)][_0x378a09(0x2ca)]&&!_0xc1ec98['_closeFrameReceived']&&!_0xc1ec98[_0x378a09(0x2cb)][_0x378a09(0x22b)]['errorEmitted']&&(_0xfb9247=_0xc1ec98[_0x378a09(0x25f)][_0x378a09(0x25e)]())!==null&&_0xc1ec98[_0x378a09(0x2cb)][_0x378a09(0x299)](_0xfb9247),_0xc1ec98[_0x378a09(0x2cb)][_0x378a09(0x188)](),this[_0x470e7d]=void 0x0,clearTimeout(_0xc1ec98[_0x378a09(0x1ef)]),_0xc1ec98[_0x378a09(0x2cb)][_0x378a09(0x22b)][_0x378a09(0x1a5)]||_0xc1ec98[_0x378a09(0x2cb)][_0x378a09(0x22b)]['errorEmitted']?_0xc1ec98[_0x378a09(0x2be)]():(_0xc1ec98[_0x378a09(0x2cb)]['on']('error',_0x2ab7d2),_0xc1ec98[_0x378a09(0x2cb)]['on']('finish',_0x2ab7d2));}function _0x30dbdd(_0x298bd5){const _0xb67652=_0x38c155;this[_0x470e7d][_0xb67652(0x2cb)][_0xb67652(0x299)](_0x298bd5)||this[_0xb67652(0x16e)]();}function _0x4d5fb5(){const _0x2845de=_0x38c155,_0x3fe8a5=this[_0x470e7d];_0x3fe8a5[_0x2845de(0x1d1)]=_0x786afb[_0x2845de(0x205)],_0x3fe8a5['_receiver'][_0x2845de(0x188)](),this[_0x2845de(0x188)]();}function _0x15557f(){const _0x3a8b34=_0x38c155,_0x45e746=this[_0x470e7d];this[_0x3a8b34(0x17e)](_0x3a8b34(0x298),_0x15557f),this['on'](_0x3a8b34(0x298),_0xd41bd5),_0x45e746&&(_0x45e746[_0x3a8b34(0x1d1)]=_0x786afb[_0x3a8b34(0x205)],this[_0x3a8b34(0x277)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x3324f4}=_0x208f40;function _0x2efedb(_0x293fa4){const _0x2a1eb3=_0x1103;_0x293fa4[_0x2a1eb3(0x231)]('close');}function _0x2f7c12(){const _0x52e670=_0x1103;!this[_0x52e670(0x1a9)]&&this[_0x52e670(0x22b)]['finished']&&this['destroy']();}function _0x916f77(_0x409095){const _0x5c73de=_0x1103;this[_0x5c73de(0x17e)]('error',_0x916f77),this[_0x5c73de(0x277)](),this[_0x5c73de(0x292)]('error')===0x0&&this[_0x5c73de(0x231)](_0x5c73de(0x298),_0x409095);}function _0x12474e(_0x50f5d8,_0x515fc6){const _0x18b4b1=_0x1103;let _0x31d449=!0x0;const _0xe5334a=new _0x3324f4({..._0x515fc6,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x50f5d8['on']('message',function(_0x4129aa,_0x1b8bfa){const _0x589847=_0x1103,_0x4851fb=!_0x1b8bfa&&_0xe5334a[_0x589847(0x1ea)][_0x589847(0x14c)]?_0x4129aa['toString']():_0x4129aa;_0xe5334a[_0x589847(0x2a8)](_0x4851fb)||_0x50f5d8[_0x589847(0x16e)]();}),_0x50f5d8['once'](_0x18b4b1(0x298),function(_0x128862){const _0x579a54=_0x18b4b1;_0xe5334a[_0x579a54(0x1a9)]||(_0x31d449=!0x1,_0xe5334a[_0x579a54(0x277)](_0x128862));}),_0x50f5d8[_0x18b4b1(0x1eb)](_0x18b4b1(0x184),function(){_0xe5334a['destroyed']||_0xe5334a['push'](null);}),_0xe5334a['_destroy']=function(_0x20aabe,_0x19aef7){const _0x2cec81=_0x18b4b1;if(_0x50f5d8[_0x2cec81(0x260)]===_0x50f5d8[_0x2cec81(0x2b1)]){_0x19aef7(_0x20aabe),process[_0x2cec81(0x27e)](_0x2efedb,_0xe5334a);return;}let _0x2937f0=!0x1;_0x50f5d8[_0x2cec81(0x1eb)]('error',function(_0x4eefb4){_0x2937f0=!0x0,_0x19aef7(_0x4eefb4);}),_0x50f5d8[_0x2cec81(0x1eb)](_0x2cec81(0x184),function(){_0x2937f0||_0x19aef7(_0x20aabe),process['nextTick'](_0x2efedb,_0xe5334a);}),_0x31d449&&_0x50f5d8[_0x2cec81(0x222)]();},_0xe5334a['_final']=function(_0x120200){const _0x576e2b=_0x18b4b1;if(_0x50f5d8['readyState']===_0x50f5d8[_0x576e2b(0x258)]){_0x50f5d8[_0x576e2b(0x1eb)](_0x576e2b(0x144),function(){const _0xd3bfa3=_0x576e2b;_0xe5334a[_0xd3bfa3(0x192)](_0x120200);});return;}_0x50f5d8[_0x576e2b(0x25f)]!==null&&(_0x50f5d8[_0x576e2b(0x25f)][_0x576e2b(0x22b)][_0x576e2b(0x1a5)]?(_0x120200(),_0xe5334a['_readableState'][_0x576e2b(0x2ca)]&&_0xe5334a[_0x576e2b(0x277)]()):(_0x50f5d8[_0x576e2b(0x25f)][_0x576e2b(0x1eb)](_0x576e2b(0x20a),function(){_0x120200();}),_0x50f5d8['close']()));},_0xe5334a['_read']=function(){const _0x1a520b=_0x18b4b1;_0x50f5d8[_0x1a520b(0x270)]&&_0x50f5d8['resume']();},_0xe5334a[_0x18b4b1(0x28f)]=function(_0x306c63,_0x2641d4,_0x37574a){const _0x5c5ab4=_0x18b4b1;if(_0x50f5d8[_0x5c5ab4(0x260)]===_0x50f5d8[_0x5c5ab4(0x258)]){_0x50f5d8['once'](_0x5c5ab4(0x144),function(){_0xe5334a['_write'](_0x306c63,_0x2641d4,_0x37574a);});return;}_0x50f5d8[_0x5c5ab4(0x201)](_0x306c63,_0x37574a);},_0xe5334a['on']('end',_0x2f7c12),_0xe5334a['on']('error',_0x916f77),_0xe5334a;}return Oe=_0x12474e,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x4d426d}=ne();function _0x50a888(_0x2c6709){const _0x46d3ff=_0x1103,_0x26690d=new Set();let _0xe0447=-0x1,_0x1b5f29=-0x1,_0x180a6b=0x0;for(_0x180a6b;_0x180a6b<_0x2c6709[_0x46d3ff(0x2da)];_0x180a6b++){const _0x4ed8b1=_0x2c6709[_0x46d3ff(0x163)](_0x180a6b);if(_0x1b5f29===-0x1&&_0x4d426d[_0x4ed8b1]===0x1)_0xe0447===-0x1&&(_0xe0447=_0x180a6b);else{if(_0x180a6b!==0x0&&(_0x4ed8b1===0x20||_0x4ed8b1===0x9))_0x1b5f29===-0x1&&_0xe0447!==-0x1&&(_0x1b5f29=_0x180a6b);else{if(_0x4ed8b1===0x2c){if(_0xe0447===-0x1)throw new SyntaxError(_0x46d3ff(0x2a5)+_0x180a6b);_0x1b5f29===-0x1&&(_0x1b5f29=_0x180a6b);const _0x120bbd=_0x2c6709['slice'](_0xe0447,_0x1b5f29);if(_0x26690d['has'](_0x120bbd))throw new SyntaxError(_0x46d3ff(0x229)+_0x120bbd+_0x46d3ff(0x2c4));_0x26690d[_0x46d3ff(0x286)](_0x120bbd),_0xe0447=_0x1b5f29=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x180a6b);}}}if(_0xe0447===-0x1||_0x1b5f29!==-0x1)throw new SyntaxError(_0x46d3ff(0x2bd));const _0x4e053d=_0x2c6709[_0x46d3ff(0x16c)](_0xe0447,_0x180a6b);if(_0x26690d[_0x46d3ff(0x131)](_0x4e053d))throw new SyntaxError(_0x46d3ff(0x229)+_0x4e053d+_0x46d3ff(0x2c4));return _0x26690d[_0x46d3ff(0x286)](_0x4e053d),_0x26690d;}return Ce={'parse':_0x50a888},Ce;}var Te,ot;function er(){const _0x5978b8=_0x273d3a;if(ot)return Te;ot=0x1;const _0x1146bd=_0x5ecb1c,_0x560f21=_0x437340,{Duplex:_0x2fb049}=_0x208f40,{createHash:_0x2cf095}=_0x326401,_0x29de7a=pt(),_0x7c30d0=he(),_0x23165e=Jt(),_0x495b3f=Ie(),{GUID:_0x11d11c,kWebSocket:_0x9b8750}=V(),_0x3e3348=/^[+/0-9A-Za-z]{22}==$/,_0x56b07a=0x0,_0x5d03e9=0x1,_0x3edb8b=0x2;class _0x3dc0b1 extends _0x1146bd{constructor(_0x37fbf5,_0x35e2b6){const _0x4f3c9d=_0x1103;if(super(),_0x37fbf5={'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':_0x495b3f,..._0x37fbf5},_0x37fbf5[_0x4f3c9d(0x27c)]==null&&!_0x37fbf5[_0x4f3c9d(0x1d4)]&&!_0x37fbf5['noServer']||_0x37fbf5[_0x4f3c9d(0x27c)]!=null&&(_0x37fbf5['server']||_0x37fbf5[_0x4f3c9d(0x1ab)])||_0x37fbf5[_0x4f3c9d(0x1d4)]&&_0x37fbf5[_0x4f3c9d(0x1ab)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x37fbf5[_0x4f3c9d(0x27c)]!=null?(this[_0x4f3c9d(0x13b)]=_0x560f21[_0x4f3c9d(0x27d)]((_0x49d0d0,_0x47490e)=>{const _0x384786=_0x4f3c9d,_0x3d16b6=_0x560f21[_0x384786(0x2a1)][0x1aa];_0x47490e['writeHead'](0x1aa,{'Content-Length':_0x3d16b6[_0x384786(0x2da)],'Content-Type':_0x384786(0x22c)}),_0x47490e[_0x384786(0x188)](_0x3d16b6);}),this[_0x4f3c9d(0x13b)][_0x4f3c9d(0x23f)](_0x37fbf5['port'],_0x37fbf5['host'],_0x37fbf5[_0x4f3c9d(0x19d)],_0x35e2b6)):_0x37fbf5['server']&&(this['_server']=_0x37fbf5['server']),this[_0x4f3c9d(0x13b)]){const _0x51d510=this['emit'][_0x4f3c9d(0x14b)](this,_0x4f3c9d(0x203));this['_removeListeners']=_0xab9cf(this['_server'],{'listening':this['emit'][_0x4f3c9d(0x14b)](this,_0x4f3c9d(0x2b4)),'error':this[_0x4f3c9d(0x231)]['bind'](this,'error'),'upgrade':(_0x535b89,_0x548c68,_0x1bbe0b)=>{const _0x52cac6=_0x4f3c9d;this[_0x52cac6(0x12f)](_0x535b89,_0x548c68,_0x1bbe0b,_0x51d510);}});}_0x37fbf5[_0x4f3c9d(0x2b3)]===!0x0&&(_0x37fbf5[_0x4f3c9d(0x2b3)]={}),_0x37fbf5[_0x4f3c9d(0x29a)]&&(this[_0x4f3c9d(0x1af)]=new Set(),this[_0x4f3c9d(0x138)]=!0x1),this[_0x4f3c9d(0x274)]=_0x37fbf5,this['_state']=_0x56b07a;}[_0x5978b8(0x2e2)](){const _0x3c1cc2=_0x5978b8;if(this[_0x3c1cc2(0x274)][_0x3c1cc2(0x1ab)])throw new Error(_0x3c1cc2(0x2de));return this['_server']?this['_server'][_0x3c1cc2(0x2e2)]():null;}['close'](_0x40ad01){const _0x2a4364=_0x5978b8;if(this[_0x2a4364(0x24a)]===_0x3edb8b){_0x40ad01&&this[_0x2a4364(0x1eb)](_0x2a4364(0x184),()=>{const _0xcabd36=_0x2a4364;_0x40ad01(new Error(_0xcabd36(0x173)));}),process['nextTick'](_0x109679,this);return;}if(_0x40ad01&&this[_0x2a4364(0x1eb)](_0x2a4364(0x184),_0x40ad01),this[_0x2a4364(0x24a)]!==_0x5d03e9){if(this['_state']=_0x5d03e9,this['options'][_0x2a4364(0x1ab)]||this['options'][_0x2a4364(0x1d4)])this[_0x2a4364(0x13b)]&&(this[_0x2a4364(0x1b9)](),this[_0x2a4364(0x1b9)]=this['_server']=null),this[_0x2a4364(0x1af)]?this[_0x2a4364(0x1af)]['size']?this[_0x2a4364(0x138)]=!0x0:process[_0x2a4364(0x27e)](_0x109679,this):process[_0x2a4364(0x27e)](_0x109679,this);else{const _0x5a395a=this['_server'];this['_removeListeners'](),this[_0x2a4364(0x1b9)]=this['_server']=null,_0x5a395a[_0x2a4364(0x184)](()=>{_0x109679(this);});}}}['shouldHandle'](_0x294240){const _0x4a6c27=_0x5978b8;if(this[_0x4a6c27(0x274)]['path']){const _0x2513dd=_0x294240['url']['indexOf']('?');if((_0x2513dd!==-0x1?_0x294240[_0x4a6c27(0x250)][_0x4a6c27(0x16c)](0x0,_0x2513dd):_0x294240['url'])!==this[_0x4a6c27(0x274)][_0x4a6c27(0x151)])return!0x1;}return!0x0;}[_0x5978b8(0x12f)](_0x3d31a0,_0x5c1d3f,_0x40e652,_0x37c0aa){const _0x418de9=_0x5978b8;_0x5c1d3f['on'](_0x418de9(0x298),_0x39e6cc);const _0x671ca3=_0x3d31a0['headers'][_0x418de9(0x221)],_0xb73f8a=_0x3d31a0[_0x418de9(0x1fc)][_0x418de9(0x28a)],_0x319f9c=+_0x3d31a0[_0x418de9(0x1fc)][_0x418de9(0x2d0)];if(_0x3d31a0[_0x418de9(0x1c4)]!==_0x418de9(0x158)){_0x18f9d7(this,_0x3d31a0,_0x5c1d3f,0x195,_0x418de9(0x20d));return;}if(_0xb73f8a===void 0x0||_0xb73f8a[_0x418de9(0x266)]()!==_0x418de9(0x24f)){_0x18f9d7(this,_0x3d31a0,_0x5c1d3f,0x190,_0x418de9(0x1f2));return;}if(_0x671ca3===void 0x0||!_0x3e3348[_0x418de9(0x2a9)](_0x671ca3)){_0x18f9d7(this,_0x3d31a0,_0x5c1d3f,0x190,_0x418de9(0x2ad));return;}if(_0x319f9c!==0x8&&_0x319f9c!==0xd){_0x18f9d7(this,_0x3d31a0,_0x5c1d3f,0x190,_0x418de9(0x218));return;}if(!this[_0x418de9(0x28d)](_0x3d31a0)){_0x428b85(_0x5c1d3f,0x190);return;}const _0x59e285=_0x3d31a0[_0x418de9(0x1fc)][_0x418de9(0x21d)];let _0x3b64db=new Set();if(_0x59e285!==void 0x0)try{_0x3b64db=_0x23165e[_0x418de9(0x1a1)](_0x59e285);}catch{_0x18f9d7(this,_0x3d31a0,_0x5c1d3f,0x190,_0x418de9(0x191));return;}const _0x42a3e9=_0x3d31a0[_0x418de9(0x1fc)][_0x418de9(0x235)],_0x3b5416={};if(this[_0x418de9(0x274)][_0x418de9(0x2b3)]&&_0x42a3e9!==void 0x0){const _0x8082b0=new _0x7c30d0(this[_0x418de9(0x274)]['perMessageDeflate'],!0x0,this['options']['maxPayload']);try{const _0x327553=_0x29de7a['parse'](_0x42a3e9);_0x327553[_0x7c30d0[_0x418de9(0x1bc)]]&&(_0x8082b0[_0x418de9(0x14f)](_0x327553[_0x7c30d0[_0x418de9(0x1bc)]]),_0x3b5416[_0x7c30d0[_0x418de9(0x1bc)]]=_0x8082b0);}catch{_0x18f9d7(this,_0x3d31a0,_0x5c1d3f,0x190,_0x418de9(0x19e));return;}}if(this['options'][_0x418de9(0x1f0)]){const _0x307c64={'origin':_0x3d31a0['headers'][''+(_0x319f9c===0x8?'sec-websocket-origin':_0x418de9(0x2af))],'secure':!!(_0x3d31a0[_0x418de9(0x207)]['authorized']||_0x3d31a0[_0x418de9(0x207)][_0x418de9(0x24d)]),'req':_0x3d31a0};if(this[_0x418de9(0x274)][_0x418de9(0x1f0)][_0x418de9(0x2da)]===0x2){this[_0x418de9(0x274)][_0x418de9(0x1f0)](_0x307c64,(_0x181383,_0x550f14,_0x23ca4a,_0x46302d)=>{const _0x4ab2e5=_0x418de9;if(!_0x181383)return _0x428b85(_0x5c1d3f,_0x550f14||0x191,_0x23ca4a,_0x46302d);this[_0x4ab2e5(0x2a3)](_0x3b5416,_0x671ca3,_0x3b64db,_0x3d31a0,_0x5c1d3f,_0x40e652,_0x37c0aa);});return;}if(!this[_0x418de9(0x274)]['verifyClient'](_0x307c64))return _0x428b85(_0x5c1d3f,0x191);}this['completeUpgrade'](_0x3b5416,_0x671ca3,_0x3b64db,_0x3d31a0,_0x5c1d3f,_0x40e652,_0x37c0aa);}[_0x5978b8(0x2a3)](_0x531503,_0x17e719,_0x208a92,_0xdab163,_0x5a54f7,_0x223214,_0x2f95b9){const _0xf58623=_0x5978b8;if(!_0x5a54f7[_0xf58623(0x166)]||!_0x5a54f7[_0xf58623(0x236)])return _0x5a54f7['destroy']();if(_0x5a54f7[_0x9b8750])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this['_state']>_0x56b07a)return _0x428b85(_0x5a54f7,0x1f7);const _0x2e1e1d=[_0xf58623(0x174),_0xf58623(0x140),_0xf58623(0x2dd),'Sec-WebSocket-Accept:\x20'+_0x2cf095('sha1')[_0xf58623(0x2a0)](_0x17e719+_0x11d11c)[_0xf58623(0x1b8)](_0xf58623(0x13f))],_0x5d1648=new this[(_0xf58623(0x274))]['WebSocket'](null,void 0x0,this['options']);if(_0x208a92[_0xf58623(0x16a)]){const _0x2a5783=this[_0xf58623(0x274)][_0xf58623(0x1db)]?this[_0xf58623(0x274)][_0xf58623(0x1db)](_0x208a92,_0xdab163):_0x208a92[_0xf58623(0x20e)]()[_0xf58623(0x168)]()['value'];_0x2a5783&&(_0x2e1e1d[_0xf58623(0x2a8)](_0xf58623(0x1a4)+_0x2a5783),_0x5d1648[_0xf58623(0x29b)]=_0x2a5783);}if(_0x531503[_0x7c30d0[_0xf58623(0x1bc)]]){const _0x39fb57=_0x531503[_0x7c30d0[_0xf58623(0x1bc)]][_0xf58623(0x18d)],_0x590812=_0x29de7a[_0xf58623(0x217)]({[_0x7c30d0['extensionName']]:[_0x39fb57]});_0x2e1e1d[_0xf58623(0x2a8)](_0xf58623(0x2c5)+_0x590812),_0x5d1648[_0xf58623(0x1b6)]=_0x531503;}this[_0xf58623(0x231)](_0xf58623(0x1fc),_0x2e1e1d,_0xdab163),_0x5a54f7['write'](_0x2e1e1d[_0xf58623(0x1e5)]('\x0d\x0a')[_0xf58623(0x287)]('\x0d\x0a')),_0x5a54f7['removeListener'](_0xf58623(0x298),_0x39e6cc),_0x5d1648[_0xf58623(0x169)](_0x5a54f7,_0x223214,{'allowSynchronousEvents':this['options'][_0xf58623(0x1fe)],'maxPayload':this[_0xf58623(0x274)][_0xf58623(0x157)],'skipUTF8Validation':this['options'][_0xf58623(0x1b5)]}),this[_0xf58623(0x1af)]&&(this[_0xf58623(0x1af)][_0xf58623(0x286)](_0x5d1648),_0x5d1648['on'](_0xf58623(0x184),()=>{const _0x6745d4=_0xf58623;this[_0x6745d4(0x1af)][_0x6745d4(0x243)](_0x5d1648),this[_0x6745d4(0x138)]&&!this['clients'][_0x6745d4(0x16a)]&&process['nextTick'](_0x109679,this);})),_0x2f95b9(_0x5d1648,_0xdab163);}}Te=_0x3dc0b1;function _0xab9cf(_0x103376,_0x169bd7){const _0x5ae875=_0x5978b8;for(const _0x2eb2d of Object[_0x5ae875(0x2c3)](_0x169bd7))_0x103376['on'](_0x2eb2d,_0x169bd7[_0x2eb2d]);return function(){const _0x1f4a4b=_0x5ae875;for(const _0x20f32d of Object[_0x1f4a4b(0x2c3)](_0x169bd7))_0x103376[_0x1f4a4b(0x17e)](_0x20f32d,_0x169bd7[_0x20f32d]);};}function _0x109679(_0x503211){const _0x2853d6=_0x5978b8;_0x503211[_0x2853d6(0x24a)]=_0x3edb8b,_0x503211['emit']('close');}function _0x39e6cc(){const _0x4e58c1=_0x5978b8;this[_0x4e58c1(0x277)]();}function _0x428b85(_0x5f5a1a,_0x236e5d,_0x278a0b,_0x5da888){const _0x269034=_0x5978b8;_0x278a0b=_0x278a0b||_0x560f21['STATUS_CODES'][_0x236e5d],_0x5da888={'Connection':_0x269034(0x184),'Content-Type':_0x269034(0x133),'Content-Length':Buffer[_0x269034(0x268)](_0x278a0b),..._0x5da888},_0x5f5a1a['once'](_0x269034(0x20a),_0x5f5a1a[_0x269034(0x277)]),_0x5f5a1a[_0x269034(0x188)](_0x269034(0x2b2)+_0x236e5d+'\x20'+_0x560f21[_0x269034(0x2a1)][_0x236e5d]+'\x0d\x0a'+Object[_0x269034(0x2c3)](_0x5da888)[_0x269034(0x1fa)](_0xe5e350=>_0xe5e350+':\x20'+_0x5da888[_0xe5e350])[_0x269034(0x287)]('\x0d\x0a')+_0x269034(0x17d)+_0x278a0b);}function _0x18f9d7(_0x122a4c,_0xa9d936,_0x20a168,_0x92d2b3,_0x260581){const _0x565edd=_0x5978b8;if(_0x122a4c[_0x565edd(0x292)](_0x565edd(0x1bb))){const _0x2467fc=new Error(_0x260581);Error[_0x565edd(0x19b)](_0x2467fc,_0x18f9d7),_0x122a4c[_0x565edd(0x231)](_0x565edd(0x1bb),_0x2467fc,_0x20a168,_0xa9d936);}else _0x428b85(_0x20a168,_0x92d2b3,_0x260581);}return Te;}er();var tr=Object[_0x273d3a(0x21c)],rr=(_0x2faeb1,_0x48dd3e,_0x2c204a,_0x4f8183)=>{const _0x1eaa97=_0x273d3a;for(var _0x2bfba3=_0x4f8183>0x1?void 0x0:_0x4f8183?tr(_0x48dd3e,_0x2c204a):_0x48dd3e,_0x5b88d5=_0x2faeb1[_0x1eaa97(0x2da)]-0x1,_0x37b83c;_0x5b88d5>=0x0;_0x5b88d5--)(_0x37b83c=_0x2faeb1[_0x5b88d5])&&(_0x2bfba3=_0x37b83c(_0x2bfba3)||_0x2bfba3);return _0x2bfba3;},sr=(_0x50e1ad,_0x3ecc08)=>(_0x1ed9e1,_0x1dfff5)=>_0x3ecc08(_0x1ed9e1,_0x1dfff5,_0x50e1ad);let Ne=class extends _0x1bd600{constructor(_0x47e2c0){const _0x4996bb=_0x273d3a;super(),this[_0x4996bb(0x2b5)]=_0x47e2c0;}[_0x273d3a(0x155)](_0x24f7bd){const _0x43859b=_0x273d3a;var _0x49711d;const _0x4d49c5=(_0x49711d=this[_0x43859b(0x2b5)]['getConfig'](Be))==null?void 0x0:_0x49711d[_0x43859b(0x1fd)];try{const _0xc601a2=new Qt(_0x24f7bd,{'headers':{..._0x4d49c5}}),_0x544535=new _0x403ad9();return{'URL':_0x24f7bd,'close':(_0x5983c4,_0x274f35)=>{const _0xbf359f=_0x43859b;_0xc601a2[_0xbf359f(0x184)](_0x5983c4,_0x274f35),_0x544535['dispose']();},'send':_0x1ce214=>{const _0x5061a5=_0x43859b;_0xc601a2[_0x5061a5(0x201)](_0x1ce214);},'open$':new _0x3c22f8(_0x257275=>{const _0x2004b4=_0x43859b,_0x244d1b=_0x3e69a2=>_0x257275['next'](_0x3e69a2);_0xc601a2[_0x2004b4(0x180)](_0x2004b4(0x144),_0x244d1b),_0x544535[_0x2004b4(0x286)](_0x2107f2(()=>_0xc601a2[_0x2004b4(0x2a2)](_0x2004b4(0x144),_0x244d1b)));})[_0x43859b(0x253)](_0x17c6f5()),'close$':new _0x3c22f8(_0x560f13=>{const _0x2f6b08=_0x43859b,_0x2bb9d3=_0x3233b8=>_0x560f13[_0x2f6b08(0x168)](_0x3233b8);_0xc601a2['addEventListener'](_0x2f6b08(0x184),_0x2bb9d3),_0x544535[_0x2f6b08(0x286)](_0x2107f2(()=>_0xc601a2[_0x2f6b08(0x2a2)](_0x2f6b08(0x184),_0x2bb9d3)));})[_0x43859b(0x253)](_0x17c6f5()),'error$':new _0x3c22f8(_0x15eb40=>{const _0x5480f5=_0x43859b,_0x231297=_0x3ce192=>_0x15eb40[_0x5480f5(0x168)](_0x3ce192);_0xc601a2['addEventListener'](_0x5480f5(0x298),_0x231297),_0x544535[_0x5480f5(0x286)](_0x2107f2(()=>_0xc601a2[_0x5480f5(0x2a2)](_0x5480f5(0x298),_0x231297)));})[_0x43859b(0x253)](_0x17c6f5()),'message$':new _0x3c22f8(_0x2562c1=>{const _0x4eb1f5=_0x43859b,_0x3a4aab=_0x2c815c=>_0x2562c1['next'](_0x2c815c);_0xc601a2['addEventListener'](_0x4eb1f5(0x2a4),_0x3a4aab),_0x544535['add'](_0x2107f2(()=>_0xc601a2[_0x4eb1f5(0x2a2)](_0x4eb1f5(0x2a4),_0x3a4aab)));})[_0x43859b(0x253)](_0x17c6f5())};}catch(_0x442534){return console[_0x43859b(0x298)](_0x442534),null;}}};Ne=rr([sr(0x0,_0x46482f)],Ne);var ir=Object['defineProperty'],nr=Object[_0x273d3a(0x21c)],or=(_0x158165,_0x27f210,_0x4400dd)=>_0x27f210 in _0x158165?ir(_0x158165,_0x27f210,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4400dd}):_0x158165[_0x27f210]=_0x4400dd,ar=(_0x4741b7,_0x48d91e,_0x2bbcba,_0x92190f)=>{for(var _0x587a9a=_0x92190f>0x1?void 0x0:_0x92190f?nr(_0x48d91e,_0x2bbcba):_0x48d91e,_0x58a2e6=_0x4741b7['length']-0x1,_0x5956af;_0x58a2e6>=0x0;_0x58a2e6--)(_0x5956af=_0x4741b7[_0x58a2e6])&&(_0x587a9a=_0x5956af(_0x587a9a)||_0x587a9a);return _0x587a9a;},ke=(_0x5031df,_0xf8abf)=>(_0x4f824f,_0x55a91a)=>_0xf8abf(_0x4f824f,_0x55a91a,_0x5031df),lr=(_0x2591e8,_0x3f0a42,_0x579f6c)=>or(_0x2591e8,_0x3f0a42+'',_0x579f6c);function _0x1103(_0x1d3abd,_0x32b5af){const _0x1ec108=_0x1ec1();return _0x1103=function(_0x110397,_0x519a2a){_0x110397=_0x110397-0x12d;let _0xe52f69=_0x1ec108[_0x110397];return _0xe52f69;},_0x1103(_0x1d3abd,_0x32b5af);}let Pe=class extends _0x14f5b4{constructor(_0x44f3a2=Ft,_0xfd649f,_0x25aa2a,_0x26a200){const _0x265b3f=_0x273d3a;_0x44f3a2[_0x265b3f(0x1fd)]||_0xfd649f[_0x265b3f(0x1e4)](_0x265b3f(0x167)),super(),this[_0x265b3f(0x2b5)]=_0x25aa2a,this[_0x265b3f(0x26f)]=_0x26a200,this[_0x265b3f(0x2b5)][_0x265b3f(0x153)](Be,_0x44f3a2);}[_0x273d3a(0x275)](){const _0x481f87=_0x273d3a;this[_0x481f87(0x2d9)]();}['_registerDependencies'](){_0x48b4ca(this['_injector'],[[_0x51dcb0,{'useClass':Ne}]]);}};lr(Pe,'pluginName',_0x273d3a(0x141)),Pe=ar([_0x1e1108(_0x88f651),ke(0x1,_0x54ff49),ke(0x2,_0x46482f),ke(0x3,_0x5e05d8(_0x1904af))],Pe);var fr=Object[_0x273d3a(0x21c)],cr=(_0x2a2682,_0x2d2f71,_0x4a9751,_0x32bb56)=>{const _0x3015fd=_0x273d3a;for(var _0x5cc13b=_0x32bb56>0x1?void 0x0:_0x32bb56?fr(_0x2d2f71,_0x4a9751):_0x2d2f71,_0xb1c578=_0x2a2682[_0x3015fd(0x2da)]-0x1,_0x576e4c;_0xb1c578>=0x0;_0xb1c578--)(_0x576e4c=_0x2a2682[_0xb1c578])&&(_0x5cc13b=_0x576e4c(_0x5cc13b)||_0x5cc13b);return _0x5cc13b;},se=(_0x417064,_0x88eb54)=>(_0x5bf571,_0x20b99e)=>_0x88eb54(_0x5bf571,_0x20b99e,_0x417064);let at=class extends _0x3b0bfc{constructor(_0x80e949,_0x50f1c2,_0x401cb5,_0x3bae1f,_0x7089a2){const _0x10424b=_0x273d3a;super(_0x80e949,_0x50f1c2,_0x401cb5,_0x3bae1f,_0x7089a2);const _0x1b4c5c=this[_0x10424b(0x2b5)][_0x10424b(0x259)](Be);this[_0x10424b(0x2bb)][_0x10424b(0x181)]({'interceptor':(_0xf9b91f,_0x4260d5)=>{const _0x4bccbf=_0x10424b;var _0x50fc43;const _0x39d237=_0xf9b91f['headers'];return(_0x50fc43=_0x1b4c5c==null?void 0x0:_0x1b4c5c[_0x4bccbf(0x1fd)])!=null&&_0x50fc43[_0x4bccbf(0x196)]&&_0x39d237['set'](_0x4bccbf(0x154),_0x1b4c5c[_0x4bccbf(0x1fd)]['cookie']),_0x4260d5(_0xf9b91f);}});}async['createSocket'](_0xb41617){const _0x16108d=_0x273d3a;return this[_0x16108d(0x134)](_0xb41617);}};at=cr([se(0x0,_0x5e05d8(_0x1904af)),se(0x1,_0x5e05d8(_0xb34f9f)),se(0x2,_0x46482f),se(0x3,_0x54ff49),se(0x4,_0x43c1a1)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};