@univerjs-pro/collaboration-client-node 0.12.2-experimental.20251201-5b27b55 → 0.12.2-experimental.20251202-45172c6

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 _0x321d1b=_0x5908;(function(_0x1dd87b,_0x32bf87){const _0x477023=_0x5908,_0x18c6e6=_0x1dd87b();while(!![]){try{const _0x54e19c=-parseInt(_0x477023(0x2cf))/0x1+-parseInt(_0x477023(0x26b))/0x2+parseInt(_0x477023(0x29d))/0x3+-parseInt(_0x477023(0x1f6))/0x4*(parseInt(_0x477023(0x24e))/0x5)+-parseInt(_0x477023(0x1a9))/0x6*(-parseInt(_0x477023(0x259))/0x7)+-parseInt(_0x477023(0x236))/0x8+parseInt(_0x477023(0x323))/0x9*(parseInt(_0x477023(0x1f3))/0xa);if(_0x54e19c===_0x32bf87)break;else _0x18c6e6['push'](_0x18c6e6['shift']());}catch(_0x465402){_0x18c6e6['push'](_0x18c6e6['shift']());}}}(_0x1e21,0x62c97));import{UniverCollaborationClientPlugin as _0x15c146,CollaborationSocketService as _0x15b2d4}from'@univerjs-pro/collaboration-client';import{Disposable as _0x2b6b22,DisposableCollection as _0x5bfc48,toDisposable as _0x556d22,IConfigService as _0x102e63,DependentOn as _0x12e78d,ILogService as _0x135ec6,Inject as _0x3f1162,Injector as _0x5e4375,Plugin as _0x4b98d8,registerDependencies as _0x12307e}from'@univerjs/core';import{ISocketService as _0x1bc607,HTTPService as _0x372ae7}from'@univerjs/network';import{Observable as _0x2393a3,share as _0x22a080}from'rxjs';import _0x3b8a02 from'events';import _0x49531b from'https';import _0x3bc34d from'http';import _0x5608cb from'net';import _0x4705fe from'tls';import _0x543b83 from'crypto';import _0xd844bd from'stream';import _0x5580fa from'url';import _0x4d08a8 from'zlib';import _0x2cba69 from'buffer';import{ISnapshotServerService as _0x2aa131}from'@univerjs-pro/collaboration';const Be=_0x321d1b(0x1f2),Ft={'customHeaders':{}};function Wt(_0xcc0d92){const _0x25a5f7=_0x321d1b;return _0xcc0d92&&_0xcc0d92[_0x25a5f7(0x1c9)]&&Object['prototype'][_0x25a5f7(0x2b9)]['call'](_0xcc0d92,_0x25a5f7(0x1f1))?_0xcc0d92['default']:_0xcc0d92;}function ut(_0x282450){const _0x3fc201=_0x321d1b;if(Object[_0x3fc201(0x29f)][_0x3fc201(0x2b9)]['call'](_0x282450,_0x3fc201(0x1c9)))return _0x282450;var _0x52b2d1=_0x282450[_0x3fc201(0x1f1)];if(typeof _0x52b2d1=='function'){var _0x5c043e=function _0x4520b4(){const _0x283821=_0x3fc201;var _0xe2040e=!0x1;try{_0xe2040e=this instanceof _0x4520b4;}catch{}return _0xe2040e?Reflect[_0x283821(0x2fb)](_0x52b2d1,arguments,this[_0x283821(0x293)]):_0x52b2d1[_0x283821(0x208)](this,arguments);};_0x5c043e['prototype']=_0x52b2d1['prototype'];}else _0x5c043e={};return Object[_0x3fc201(0x2d5)](_0x5c043e,_0x3fc201(0x1c9),{'value':!0x0}),Object[_0x3fc201(0x1f5)](_0x282450)[_0x3fc201(0x269)](function(_0x16c25c){const _0x4d967e=_0x3fc201;var _0x296bf3=Object['getOwnPropertyDescriptor'](_0x282450,_0x16c25c);Object[_0x4d967e(0x2d5)](_0x5c043e,_0x16c25c,_0x296bf3['get']?_0x296bf3:{'enumerable':!0x0,'get':function(){return _0x282450[_0x16c25c];}});}),_0x5c043e;}var te={'exports':{}},ge,Ye;function V(){const _0x13855b=_0x321d1b;if(Ye)return ge;Ye=0x1;const _0x502aa3=[_0x13855b(0x1a7),_0x13855b(0x2ad),_0x13855b(0x1d6)],_0x55f16d=typeof Blob<'u';return _0x55f16d&&_0x502aa3[_0x13855b(0x2ac)](_0x13855b(0x267)),ge={'BINARY_TYPES':_0x502aa3,'EMPTY_BUFFER':Buffer[_0x13855b(0x1ac)](0x0),'GUID':_0x13855b(0x1bb),'hasBlob':_0x55f16d,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x13855b(0x2a2)),'kStatusCode':Symbol(_0x13855b(0x195)),'kWebSocket':Symbol(_0x13855b(0x2ce)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x321d1b(0x20c)](Object['defineProperty']({'__proto__':null,'default':jt},Symbol[_0x321d1b(0x312)],{'value':_0x321d1b(0x1e2)})),Vt=ut(Gt);var Ke;function ce(){const _0x30ad8e=_0x321d1b;if(Ke)return te[_0x30ad8e(0x222)];Ke=0x1;const {EMPTY_BUFFER:_0x4b95ca}=V(),_0x3cac8b=Buffer[Symbol[_0x30ad8e(0x2a7)]];function _0xed6106(_0x532d7c,_0x4176a6){const _0x444a56=_0x30ad8e;if(_0x532d7c['length']===0x0)return _0x4b95ca;if(_0x532d7c[_0x444a56(0x245)]===0x1)return _0x532d7c[0x0];const _0x637190=Buffer[_0x444a56(0x210)](_0x4176a6);let _0x527985=0x0;for(let _0x2841e6=0x0;_0x2841e6<_0x532d7c[_0x444a56(0x245)];_0x2841e6++){const _0x47c516=_0x532d7c[_0x2841e6];_0x637190[_0x444a56(0x266)](_0x47c516,_0x527985),_0x527985+=_0x47c516['length'];}return _0x527985<_0x4176a6?new _0x3cac8b(_0x637190[_0x444a56(0x192)],_0x637190[_0x444a56(0x2a6)],_0x527985):_0x637190;}function _0x4d9dfd(_0x321d35,_0x39bf46,_0x7d013b,_0x34994d,_0x4462db){for(let _0x2dc655=0x0;_0x2dc655<_0x4462db;_0x2dc655++)_0x7d013b[_0x34994d+_0x2dc655]=_0x321d35[_0x2dc655]^_0x39bf46[_0x2dc655&0x3];}function _0x294e6b(_0x26305c,_0x22a48c){const _0x700f27=_0x30ad8e;for(let _0x4aedb2=0x0;_0x4aedb2<_0x26305c[_0x700f27(0x245)];_0x4aedb2++)_0x26305c[_0x4aedb2]^=_0x22a48c[_0x4aedb2&0x3];}function _0x547e9c(_0x31c891){const _0x1b2bc0=_0x30ad8e;return _0x31c891[_0x1b2bc0(0x245)]===_0x31c891[_0x1b2bc0(0x192)][_0x1b2bc0(0x1ab)]?_0x31c891['buffer']:_0x31c891['buffer']['slice'](_0x31c891[_0x1b2bc0(0x2a6)],_0x31c891[_0x1b2bc0(0x2a6)]+_0x31c891[_0x1b2bc0(0x245)]);}function _0x430676(_0x45f104){const _0x227c75=_0x30ad8e;if(_0x430676[_0x227c75(0x329)]=!0x0,Buffer[_0x227c75(0x2a4)](_0x45f104))return _0x45f104;let _0x39b41a;return _0x45f104 instanceof ArrayBuffer?_0x39b41a=new _0x3cac8b(_0x45f104):ArrayBuffer[_0x227c75(0x277)](_0x45f104)?_0x39b41a=new _0x3cac8b(_0x45f104[_0x227c75(0x192)],_0x45f104['byteOffset'],_0x45f104[_0x227c75(0x1ab)]):(_0x39b41a=Buffer[_0x227c75(0x324)](_0x45f104),_0x430676[_0x227c75(0x329)]=!0x1),_0x39b41a;}if(te[_0x30ad8e(0x222)]={'concat':_0xed6106,'mask':_0x4d9dfd,'toArrayBuffer':_0x547e9c,'toBuffer':_0x430676,'unmask':_0x294e6b},!process[_0x30ad8e(0x314)][_0x30ad8e(0x2dc)])try{const _0x3e7fa3=Vt;te[_0x30ad8e(0x222)][_0x30ad8e(0x221)]=function(_0xd7149d,_0x5d2b28,_0x192eee,_0x4a9216,_0xbdfcf8){const _0x1ea8d8=_0x30ad8e;_0xbdfcf8<0x30?_0x4d9dfd(_0xd7149d,_0x5d2b28,_0x192eee,_0x4a9216,_0xbdfcf8):_0x3e7fa3[_0x1ea8d8(0x221)](_0xd7149d,_0x5d2b28,_0x192eee,_0x4a9216,_0xbdfcf8);},te['exports'][_0x30ad8e(0x2e1)]=function(_0x355503,_0x1dd433){const _0x35ecb0=_0x30ad8e;_0x355503[_0x35ecb0(0x245)]<0x20?_0x294e6b(_0x355503,_0x1dd433):_0x3e7fa3[_0x35ecb0(0x2e1)](_0x355503,_0x1dd433);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x3a3803=_0x321d1b;if(Xe)return ye;Xe=0x1;const _0x49f214=Symbol(_0x3a3803(0x1c4)),_0x389bf4=Symbol(_0x3a3803(0x2ca));class _0x3235f8{constructor(_0x5ad1fd){const _0x3138df=_0x3a3803;this[_0x49f214]=()=>{const _0x1e7b93=_0x5908;this[_0x1e7b93(0x1ca)]--,this[_0x389bf4]();},this['concurrency']=_0x5ad1fd||0x1/0x0,this[_0x3138df(0x2df)]=[],this[_0x3138df(0x1ca)]=0x0;}[_0x3a3803(0x2d0)](_0x254922){const _0xe2a295=_0x3a3803;this[_0xe2a295(0x2df)][_0xe2a295(0x2ac)](_0x254922),this[_0x389bf4]();}[_0x389bf4](){const _0x233148=_0x3a3803;if(this['pending']!==this[_0x233148(0x308)]&&this[_0x233148(0x2df)]['length']){const _0x59cbdc=this[_0x233148(0x2df)][_0x233148(0x282)]();this[_0x233148(0x1ca)]++,_0x59cbdc(this[_0x49f214]);}}}return ye=_0x3235f8,ye;}var ve,Ze;function he(){const _0x275f70=_0x321d1b;if(Ze)return ve;Ze=0x1;const _0x2f26cf=_0x4d08a8,_0x47b593=ce(),_0x470867=qt(),{kStatusCode:_0x5c91e6}=V(),_0x54da41=Buffer[Symbol['species']],_0x1bf65b=Buffer[_0x275f70(0x324)]([0x0,0x0,0xff,0xff]),_0x3c19e4=Symbol(_0x275f70(0x32e)),_0x4de5f3=Symbol(_0x275f70(0x220)),_0x571e88=Symbol(_0x275f70(0x2f8)),_0x20e359=Symbol(_0x275f70(0x1e7)),_0x1c404e=Symbol(_0x275f70(0x2b7));let _0x433e66;class _0x42f660{constructor(_0xdc745b,_0x17658d,_0x4aef40){const _0x82d509=_0x275f70;if(this[_0x82d509(0x1d7)]=_0x4aef40|0x0,this['_options']=_0xdc745b||{},this[_0x82d509(0x327)]=this[_0x82d509(0x333)]['threshold']!==void 0x0?this[_0x82d509(0x333)][_0x82d509(0x33f)]:0x400,this[_0x82d509(0x264)]=!!_0x17658d,this[_0x82d509(0x231)]=null,this[_0x82d509(0x2ed)]=null,this['params']=null,!_0x433e66){const _0x127271=this[_0x82d509(0x333)]['concurrencyLimit']!==void 0x0?this[_0x82d509(0x333)][_0x82d509(0x228)]:0xa;_0x433e66=new _0x470867(_0x127271);}}static get[_0x275f70(0x2aa)](){const _0x5d5f4b=_0x275f70;return _0x5d5f4b(0x32e);}[_0x275f70(0x2f9)](){const _0x53aefc=_0x275f70,_0x55f296={};return this[_0x53aefc(0x333)]['serverNoContextTakeover']&&(_0x55f296[_0x53aefc(0x27d)]=!0x0),this['_options'][_0x53aefc(0x1d3)]&&(_0x55f296[_0x53aefc(0x1e6)]=!0x0),this[_0x53aefc(0x333)]['serverMaxWindowBits']&&(_0x55f296[_0x53aefc(0x1c7)]=this[_0x53aefc(0x333)][_0x53aefc(0x2a9)]),this[_0x53aefc(0x333)][_0x53aefc(0x1c5)]?_0x55f296[_0x53aefc(0x302)]=this[_0x53aefc(0x333)]['clientMaxWindowBits']:this[_0x53aefc(0x333)]['clientMaxWindowBits']==null&&(_0x55f296[_0x53aefc(0x302)]=!0x0),_0x55f296;}[_0x275f70(0x321)](_0x4600e9){const _0x1f71d8=_0x275f70;return _0x4600e9=this['normalizeParams'](_0x4600e9),this[_0x1f71d8(0x33e)]=this['_isServer']?this[_0x1f71d8(0x331)](_0x4600e9):this[_0x1f71d8(0x19e)](_0x4600e9),this[_0x1f71d8(0x33e)];}[_0x275f70(0x33c)](){const _0x285dc9=_0x275f70;if(this[_0x285dc9(0x2ed)]&&(this[_0x285dc9(0x2ed)][_0x285dc9(0x294)](),this[_0x285dc9(0x2ed)]=null),this[_0x285dc9(0x231)]){const _0x420654=this[_0x285dc9(0x231)][_0x571e88];this[_0x285dc9(0x231)][_0x285dc9(0x294)](),this[_0x285dc9(0x231)]=null,_0x420654&&_0x420654(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x275f70(0x331)](_0x31f420){const _0x707953=_0x275f70,_0x49c825=this[_0x707953(0x333)],_0x17b39d=_0x31f420[_0x707953(0x213)](_0x127e94=>!(_0x49c825['serverNoContextTakeover']===!0x1&&_0x127e94[_0x707953(0x27d)]||_0x127e94['server_max_window_bits']&&(_0x49c825[_0x707953(0x2a9)]===!0x1||typeof _0x49c825[_0x707953(0x2a9)]=='number'&&_0x49c825['serverMaxWindowBits']>_0x127e94[_0x707953(0x1c7)])||typeof _0x49c825['clientMaxWindowBits']=='number'&&!_0x127e94[_0x707953(0x302)]));if(!_0x17b39d)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x49c825['serverNoContextTakeover']&&(_0x17b39d[_0x707953(0x27d)]=!0x0),_0x49c825[_0x707953(0x1d3)]&&(_0x17b39d['client_no_context_takeover']=!0x0),typeof _0x49c825[_0x707953(0x2a9)]==_0x707953(0x27e)&&(_0x17b39d['server_max_window_bits']=_0x49c825[_0x707953(0x2a9)]),typeof _0x49c825[_0x707953(0x1c5)]==_0x707953(0x27e)?_0x17b39d[_0x707953(0x302)]=_0x49c825[_0x707953(0x1c5)]:(_0x17b39d[_0x707953(0x302)]===!0x0||_0x49c825['clientMaxWindowBits']===!0x1)&&delete _0x17b39d['client_max_window_bits'],_0x17b39d;}['acceptAsClient'](_0xc49a4f){const _0x39d7f5=_0x275f70,_0x53aaa4=_0xc49a4f[0x0];if(this[_0x39d7f5(0x333)]['clientNoContextTakeover']===!0x1&&_0x53aaa4['client_no_context_takeover'])throw new Error(_0x39d7f5(0x2e5));if(!_0x53aaa4[_0x39d7f5(0x302)])typeof this[_0x39d7f5(0x333)][_0x39d7f5(0x1c5)]=='number'&&(_0x53aaa4[_0x39d7f5(0x302)]=this[_0x39d7f5(0x333)][_0x39d7f5(0x1c5)]);else{if(this['_options']['clientMaxWindowBits']===!0x1||typeof this[_0x39d7f5(0x333)]['clientMaxWindowBits']==_0x39d7f5(0x27e)&&_0x53aaa4['client_max_window_bits']>this['_options'][_0x39d7f5(0x1c5)])throw new Error(_0x39d7f5(0x2e9));}return _0x53aaa4;}['normalizeParams'](_0x260f3d){const _0x2f7f78=_0x275f70;return _0x260f3d[_0x2f7f78(0x269)](_0x243563=>{const _0x2a3f4c=_0x2f7f78;Object[_0x2a3f4c(0x1f5)](_0x243563)['forEach'](_0x352382=>{const _0x4c257d=_0x2a3f4c;let _0x49ad70=_0x243563[_0x352382];if(_0x49ad70[_0x4c257d(0x245)]>0x1)throw new Error(_0x4c257d(0x19c)+_0x352382+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x49ad70=_0x49ad70[0x0],_0x352382===_0x4c257d(0x302)){if(_0x49ad70!==!0x0){const _0x5b4674=+_0x49ad70;if(!Number[_0x4c257d(0x30a)](_0x5b4674)||_0x5b4674<0x8||_0x5b4674>0xf)throw new TypeError(_0x4c257d(0x1cf)+_0x352382+_0x4c257d(0x22b)+_0x49ad70);_0x49ad70=_0x5b4674;}else{if(!this['_isServer'])throw new TypeError(_0x4c257d(0x1cf)+_0x352382+_0x4c257d(0x22b)+_0x49ad70);}}else{if(_0x352382===_0x4c257d(0x1c7)){const _0x590cc0=+_0x49ad70;if(!Number[_0x4c257d(0x30a)](_0x590cc0)||_0x590cc0<0x8||_0x590cc0>0xf)throw new TypeError(_0x4c257d(0x1cf)+_0x352382+_0x4c257d(0x22b)+_0x49ad70);_0x49ad70=_0x590cc0;}else{if(_0x352382===_0x4c257d(0x1e6)||_0x352382===_0x4c257d(0x27d)){if(_0x49ad70!==!0x0)throw new TypeError(_0x4c257d(0x1cf)+_0x352382+_0x4c257d(0x22b)+_0x49ad70);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x352382+'\x22');}}_0x243563[_0x352382]=_0x49ad70;});}),_0x260f3d;}['decompress'](_0x3f8db7,_0x5415e5,_0x37188b){const _0x368bc7=_0x275f70;_0x433e66[_0x368bc7(0x2d0)](_0x48285b=>{const _0x425b00=_0x368bc7;this[_0x425b00(0x334)](_0x3f8db7,_0x5415e5,(_0x5a0afb,_0x10bdff)=>{_0x48285b(),_0x37188b(_0x5a0afb,_0x10bdff);});});}[_0x275f70(0x1f8)](_0x3069e9,_0xd530b8,_0x19c61b){const _0x21399e=_0x275f70;_0x433e66[_0x21399e(0x2d0)](_0x5ef4e5=>{const _0x2bb868=_0x21399e;this[_0x2bb868(0x201)](_0x3069e9,_0xd530b8,(_0x537232,_0x2568ad)=>{_0x5ef4e5(),_0x19c61b(_0x537232,_0x2568ad);});});}[_0x275f70(0x334)](_0x2032fe,_0x428c9d,_0x552319){const _0x1939cb=_0x275f70,_0xc6ccf4=this[_0x1939cb(0x264)]?_0x1939cb(0x1fa):'server';if(!this[_0x1939cb(0x2ed)]){const _0x1c2949=_0xc6ccf4+'_max_window_bits',_0x1ae50a=typeof this[_0x1939cb(0x33e)][_0x1c2949]!=_0x1939cb(0x27e)?_0x2f26cf[_0x1939cb(0x253)]:this['params'][_0x1c2949];this[_0x1939cb(0x2ed)]=_0x2f26cf[_0x1939cb(0x223)]({...this[_0x1939cb(0x333)]['zlibInflateOptions'],'windowBits':_0x1ae50a}),this[_0x1939cb(0x2ed)][_0x3c19e4]=this,this[_0x1939cb(0x2ed)][_0x4de5f3]=0x0,this[_0x1939cb(0x2ed)][_0x20e359]=[],this[_0x1939cb(0x2ed)]['on'](_0x1939cb(0x2b7),_0x1ae288),this[_0x1939cb(0x2ed)]['on'](_0x1939cb(0x2c8),_0x57477f);}this[_0x1939cb(0x2ed)][_0x571e88]=_0x552319,this[_0x1939cb(0x2ed)][_0x1939cb(0x30c)](_0x2032fe),_0x428c9d&&this[_0x1939cb(0x2ed)][_0x1939cb(0x30c)](_0x1bf65b),this[_0x1939cb(0x2ed)]['flush'](()=>{const _0x1778fb=_0x1939cb,_0x5ea67d=this[_0x1778fb(0x2ed)][_0x1c404e];if(_0x5ea67d){this[_0x1778fb(0x2ed)]['close'](),this[_0x1778fb(0x2ed)]=null,_0x552319(_0x5ea67d);return;}const _0x5210dc=_0x47b593[_0x1778fb(0x2a8)](this[_0x1778fb(0x2ed)][_0x20e359],this['_inflate'][_0x4de5f3]);this[_0x1778fb(0x2ed)][_0x1778fb(0x315)][_0x1778fb(0x28f)]?(this[_0x1778fb(0x2ed)][_0x1778fb(0x294)](),this[_0x1778fb(0x2ed)]=null):(this[_0x1778fb(0x2ed)][_0x4de5f3]=0x0,this['_inflate'][_0x20e359]=[],_0x428c9d&&this[_0x1778fb(0x33e)][_0xc6ccf4+_0x1778fb(0x2c2)]&&this[_0x1778fb(0x2ed)][_0x1778fb(0x251)]()),_0x552319(null,_0x5210dc);});}[_0x275f70(0x201)](_0x21030d,_0x17f89f,_0x25f295){const _0x403240=_0x275f70,_0x1f2615=this['_isServer']?_0x403240(0x2b4):_0x403240(0x1fa);if(!this['_deflate']){const _0x5ddc38=_0x1f2615+_0x403240(0x326),_0x214531=typeof this['params'][_0x5ddc38]!=_0x403240(0x27e)?_0x2f26cf['Z_DEFAULT_WINDOWBITS']:this['params'][_0x5ddc38];this['_deflate']=_0x2f26cf[_0x403240(0x31e)]({...this[_0x403240(0x333)][_0x403240(0x2e8)],'windowBits':_0x214531}),this['_deflate'][_0x4de5f3]=0x0,this[_0x403240(0x231)][_0x20e359]=[],this[_0x403240(0x231)]['on'](_0x403240(0x2c8),_0x3746fb);}this['_deflate'][_0x571e88]=_0x25f295,this[_0x403240(0x231)][_0x403240(0x30c)](_0x21030d),this['_deflate'][_0x403240(0x1ce)](_0x2f26cf['Z_SYNC_FLUSH'],()=>{const _0x4da8cc=_0x403240;if(!this['_deflate'])return;let _0x5e9e68=_0x47b593['concat'](this[_0x4da8cc(0x231)][_0x20e359],this[_0x4da8cc(0x231)][_0x4de5f3]);_0x17f89f&&(_0x5e9e68=new _0x54da41(_0x5e9e68[_0x4da8cc(0x192)],_0x5e9e68[_0x4da8cc(0x2a6)],_0x5e9e68[_0x4da8cc(0x245)]-0x4)),this[_0x4da8cc(0x231)][_0x571e88]=null,this[_0x4da8cc(0x231)][_0x4de5f3]=0x0,this[_0x4da8cc(0x231)][_0x20e359]=[],_0x17f89f&&this['params'][_0x1f2615+_0x4da8cc(0x2c2)]&&this['_deflate'][_0x4da8cc(0x251)](),_0x25f295(null,_0x5e9e68);});}}ve=_0x42f660;function _0x3746fb(_0x3697dc){const _0x45d608=_0x275f70;this[_0x20e359]['push'](_0x3697dc),this[_0x4de5f3]+=_0x3697dc[_0x45d608(0x245)];}function _0x57477f(_0x48c8d5){const _0x4404d2=_0x275f70;if(this[_0x4de5f3]+=_0x48c8d5[_0x4404d2(0x245)],this[_0x3c19e4][_0x4404d2(0x1d7)]<0x1||this[_0x4de5f3]<=this[_0x3c19e4]['_maxPayload']){this[_0x20e359]['push'](_0x48c8d5);return;}this[_0x1c404e]=new RangeError(_0x4404d2(0x229)),this[_0x1c404e][_0x4404d2(0x1b6)]=_0x4404d2(0x23e),this[_0x1c404e][_0x5c91e6]=0x3f1,this[_0x4404d2(0x337)](_0x4404d2(0x2c8),_0x57477f),this['reset']();}function _0x1ae288(_0x4396f0){const _0x3e0455=_0x275f70;if(this[_0x3c19e4][_0x3e0455(0x2ed)]=null,this[_0x1c404e]){this[_0x571e88](this[_0x1c404e]);return;}_0x4396f0[_0x5c91e6]=0x3ef,this[_0x571e88](_0x4396f0);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x321d1b(0x20c)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol[_0x321d1b(0x312)],{'value':_0x321d1b(0x1e2)})),Yt=ut(zt);function _0x1e21(){const _0x432265=['The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','skipUTF8Validation','kCode','_deflate','invalid\x20UTF-8\x20sequence','_shouldEmitClose','onStarting','_loop','5472208GEpNMu','message','Unsupported\x20protocol\x20version:\x20','dequeue','_extensions','_server','isValidUTF8','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_writableState','delete','The\x20URL\x20contains\x20a\x20fragment\x20identifier','conclude','The\x20\x22','length','haveLength','ws:','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Upgrade:\x20websocket','WebSocket\x20is\x20not\x20open:\x20readyState\x20','OPEN','resume','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','70860oESMTy','Maximum\x20redirects\x20exceeded','pluginName','reset','Basic\x20','Z_DEFAULT_WINDOWBITS','stream','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','authorized','readable','sec-websocket-extensions','10766OtUzBi','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_buffers','has','text/plain','invalid\x20opcode\x20','dataMessage','allowSynchronousEvents','url','Opening\x20handshake\x20has\x20timed\x20out','finished','_isServer','bufferedAmount','set','blob','sec-websocket-protocol','forEach','sendFrame','392222SbpGPJ','href','size','_injector','fin','_masked','readUInt32BE','_fin','_final','redirect','_errored','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','isView','WS_ERR_UNEXPECTED_RSV_2_3','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','Sec-WebSocket-Origin','kMessage','extensions','server_no_context_takeover','number','Sec-WebSocket-Accept:\x20','Invalid\x20WebSocket\x20frame:\x20','Invalid\x20URL:\x20','shift','writeUIntBE','_httpService','host','format','hostname','ping','CONNECTING','needDrain','noServer','Sec-WebSocket-Extensions:\x20','listenerCount','parse','endEmitted','createServer','charCodeAt','protocol','constructor','close','create','generateMask','includes','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_messageLength','getData','_url','wasClean','609945kvxyGF','onmessage','prototype','location','_generateMask','kListener','sha1','isBuffer','WS_ERR_INVALID_UTF8','byteOffset','species','concat','serverMaxWindowBits','extensionName','onclose','push','arraybuffer','_mask','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','GET','HTTP/1.1\x20101\x20Switching\x20Protocols','isIP','sec-websocket-key','server','update','maskBuffer','error','completeUpgrade','hasOwnProperty','Cookie','getConfig','_fragmented','destroy','getOwnPropertyDescriptor','origin','arrayBuffer','dispose','_no_context_takeover','\x0d\x0a\x0d\x0a','writeUInt16BE','send','_fragments','sec-websocket-accept','data','_removeListeners','kRun','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','autoPong','removeEventListener','websocket','197334WFmHHt','add','Invalid\x20Sec-WebSocket-Accept\x20header','onerror','path','toLowerCase','defineProperty','_closeFrameSent','getInfo','captureStackTrace','listen','readyState','MASK\x20must\x20be\x20set','WS_NO_BUFFER_UTIL','bind','writable','jobs','method','unmask','Unexpected\x20end\x20of\x20input','maxPayload','_state','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','maxRedirects','connect','zlibDeflateOptions','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','setSocket','unexpected-response','_autoPong','_inflate','_socket','port','HTTP/1.1\x20','customHeaders','pong','search','getPayloadLength16','setNoDelay','toString','upgrade','callback','offer','verifyClient','construct','createError','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','perMessageDeflate','read','_bufferedAmount','test','client_max_window_bits','string','call','address','once','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','concurrency','type','isInteger','_allowSynchronousEvents','write','options','startLoop','emitClose','replace','createSocket','toStringTag','object','env','_readableState','binary','Server\x20sent\x20no\x20subprotocol','_payloadLength','ws+unix:','pow','password','socketPath','sec-websocket-version','createDeflateRaw','setConfig','WebSocket','accept','setTimeout','21753DpykKn','from','clients','_max_window_bits','_threshold','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','readOnly','nextTick','_originalHostOrSocketPath','listening','_opcode','permessage-deflate','Sec-WebSocket-Protocol','headers','acceptAsServer','_errorEmitted','_options','_decompress','writeHead','target','removeListener','objectMode','\x22\x20subprotocol\x20is\x20duplicated','kData','_protocol','cleanup','_read','params','threshold','followRedirects','then','The\x20URL\x27s\x20pathname\x20is\x20empty','_configService','wsClientError','setHeader','kError','username','enqueue','timeout','connection','buffer','WS_ERR_INVALID_OPCODE','isArray','status-code','WS_ERR_INVALID_CLOSE_CODE','_closeFrameReceived','getPayloadLength64','response','13,\x208','opcode','Parameter\x20\x22','unshift','acceptAsClient','_doCreateSocket','controlMessage','join','addEventListener','end','request','_totalPayloadLength','_maskBuffer','nodebuffer','protocolVersion','1806bMDwMF','_queue','byteLength','alloc','isPaused','kAborted','socket','handshakeTimeout','errorEmitted','readUInt16BE','_readyState','terminate','removeAllListeners','code','drain','kByteLength','FIN\x20must\x20be\x20set','entries','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','frame','_registerDependencies','Connection:\x20Upgrade','Blob','dispatch','WS_ERR_UNEXPECTED_RSV_1','Origin','_compressed','kDone','clientMaxWindowBits','destroyed','server_max_window_bits','Invalid\x20Sec-WebSocket-Protocol\x20header','__esModule','pending','invalid\x20payload\x20length\x20','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_binaryType','flush','Invalid\x20value\x20for\x20parameter\x20\x22','_originalIpc','_skipUTF8Validation','clientTracking','clientNoContextTakeover','reason','servername','fragments','_maxPayload','_firstFragment','isServer','shouldHandle','Invalid\x20Sec-WebSocket-Extensions\x20header','auth','_paused','uncork','Upgrade','pause','pathname','Module','WS_NO_UTF_8_VALIDATE','base64','_closeMessage','client_no_context_takeover','buffers','pipe','handleUpgrade','slice','digest','_receiver','_closeTimer','Sec-WebSocket-Protocol:\x20','_redirects','authorization','default','collaboration-client-node.config','3610uBgyvg','Unexpected\x20character\x20at\x20index\x20','keys','16CUqNNQ','map','compress','https:','client','_req','finishRequest','handleEvent','listeners','CLOSING','RSV1\x20must\x20be\x20clear','_compress','The\x20server\x20is\x20not\x20running','File','open','_bufferedBytes','abort','decompress','apply','invalid\x20opcode\x200','wss:','finish','freeze','_write','getBlobData','registerHTTPInterceptor','allocUnsafe','Invalid\x20Upgrade\x20header','getMask','find','_destroy','startsWith','Server\x20sent\x20an\x20invalid\x20subprotocol','_originalSecure','emit','_closeCode','CLOSED','indexOf','binaryType','_sender','consume','createConnection','total-length','mask','exports','createInflateRaw','WS_ERR_UNEXPECTED_MASK','next','statusCode','cork','concurrencyLimit','Max\x20payload\x20size\x20exceeded','kType','\x22:\x20','function','Invalid\x20HTTP\x20method'];_0x1e21=function(){return _0x432265;};return _0x1e21();}var Qe;function ne(){const _0x5df5ff=_0x321d1b;if(Qe)return re[_0x5df5ff(0x222)];Qe=0x1;const {isUtf8:_0x4f757c}=_0x2cba69,{hasBlob:_0x4088cb}=V(),_0x41a1e7=[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 _0x5dabae(_0x6a6e94){return _0x6a6e94>=0x3e8&&_0x6a6e94<=0x3f6&&_0x6a6e94!==0x3ec&&_0x6a6e94!==0x3ed&&_0x6a6e94!==0x3ee||_0x6a6e94>=0xbb8&&_0x6a6e94<=0x1387;}function _0x3d8225(_0x5d98f8){const _0x183500=_0x5df5ff,_0x1a85dd=_0x5d98f8[_0x183500(0x245)];let _0x1b0faa=0x0;for(;_0x1b0faa<_0x1a85dd;)if((_0x5d98f8[_0x1b0faa]&0x80)===0x0)_0x1b0faa++;else{if((_0x5d98f8[_0x1b0faa]&0xe0)===0xc0){if(_0x1b0faa+0x1===_0x1a85dd||(_0x5d98f8[_0x1b0faa+0x1]&0xc0)!==0x80||(_0x5d98f8[_0x1b0faa]&0xfe)===0xc0)return!0x1;_0x1b0faa+=0x2;}else{if((_0x5d98f8[_0x1b0faa]&0xf0)===0xe0){if(_0x1b0faa+0x2>=_0x1a85dd||(_0x5d98f8[_0x1b0faa+0x1]&0xc0)!==0x80||(_0x5d98f8[_0x1b0faa+0x2]&0xc0)!==0x80||_0x5d98f8[_0x1b0faa]===0xe0&&(_0x5d98f8[_0x1b0faa+0x1]&0xe0)===0x80||_0x5d98f8[_0x1b0faa]===0xed&&(_0x5d98f8[_0x1b0faa+0x1]&0xe0)===0xa0)return!0x1;_0x1b0faa+=0x3;}else{if((_0x5d98f8[_0x1b0faa]&0xf8)===0xf0){if(_0x1b0faa+0x3>=_0x1a85dd||(_0x5d98f8[_0x1b0faa+0x1]&0xc0)!==0x80||(_0x5d98f8[_0x1b0faa+0x2]&0xc0)!==0x80||(_0x5d98f8[_0x1b0faa+0x3]&0xc0)!==0x80||_0x5d98f8[_0x1b0faa]===0xf0&&(_0x5d98f8[_0x1b0faa+0x1]&0xf0)===0x80||_0x5d98f8[_0x1b0faa]===0xf4&&_0x5d98f8[_0x1b0faa+0x1]>0x8f||_0x5d98f8[_0x1b0faa]>0xf4)return!0x1;_0x1b0faa+=0x4;}else return!0x1;}}}return!0x0;}function _0x62aeec(_0x12e2f5){const _0x5562fc=_0x5df5ff;return _0x4088cb&&typeof _0x12e2f5==_0x5562fc(0x313)&&typeof _0x12e2f5[_0x5562fc(0x2c0)]==_0x5562fc(0x22c)&&typeof _0x12e2f5['type']==_0x5562fc(0x303)&&typeof _0x12e2f5[_0x5562fc(0x254)]==_0x5562fc(0x22c)&&(_0x12e2f5[Symbol['toStringTag']]===_0x5562fc(0x1bf)||_0x12e2f5[Symbol[_0x5562fc(0x312)]]===_0x5562fc(0x203));}if(re[_0x5df5ff(0x222)]={'isBlob':_0x62aeec,'isValidStatusCode':_0x5dabae,'isValidUTF8':_0x3d8225,'tokenChars':_0x41a1e7},_0x4f757c)re[_0x5df5ff(0x222)]['isValidUTF8']=function(_0x3440d8){const _0x3bcf2f=_0x5df5ff;return _0x3440d8[_0x3bcf2f(0x245)]<0x18?_0x3d8225(_0x3440d8):_0x4f757c(_0x3440d8);};else{if(!process[_0x5df5ff(0x314)][_0x5df5ff(0x1e3)])try{const _0x551a65=Yt;re['exports'][_0x5df5ff(0x23c)]=function(_0x2210d1){const _0x3f2250=_0x5df5ff;return _0x2210d1[_0x3f2250(0x245)]<0x20?_0x3d8225(_0x2210d1):_0x551a65(_0x2210d1);};}catch{}}return re[_0x5df5ff(0x222)];}var Se,Je;function dt(){const _0x31b8cb=_0x321d1b;if(Je)return Se;Je=0x1;const {Writable:_0x3badbd}=_0xd844bd,_0xd6e645=he(),{BINARY_TYPES:_0x20201b,EMPTY_BUFFER:_0x1e2121,kStatusCode:_0x36ad13,kWebSocket:_0x47112a}=V(),{concat:_0x2f5177,toArrayBuffer:_0x33fc4b,unmask:_0x49ec08}=ce(),{isValidStatusCode:_0x8e4787,isValidUTF8:_0x5cb4a0}=ne(),_0x3ae286=Buffer[Symbol[_0x31b8cb(0x2a7)]],_0x2e020c=0x0,_0x3663e6=0x1,_0x9c8d6f=0x2,_0x4328b3=0x3,_0x2f7cfc=0x4,_0x263099=0x5,_0x1a6c15=0x6;class _0x52ccc3 extends _0x3badbd{constructor(_0x4a00a6={}){const _0xc68b2e=_0x31b8cb;super(),this[_0xc68b2e(0x30b)]=_0x4a00a6[_0xc68b2e(0x260)]!==void 0x0?_0x4a00a6['allowSynchronousEvents']:!0x0,this[_0xc68b2e(0x1cd)]=_0x4a00a6['binaryType']||_0x20201b[0x0],this[_0xc68b2e(0x23a)]=_0x4a00a6[_0xc68b2e(0x27c)]||{},this[_0xc68b2e(0x264)]=!!_0x4a00a6[_0xc68b2e(0x1d9)],this[_0xc68b2e(0x1d7)]=_0x4a00a6[_0xc68b2e(0x2e3)]|0x0,this[_0xc68b2e(0x1d1)]=!!_0x4a00a6['skipUTF8Validation'],this[_0x47112a]=void 0x0,this['_bufferedBytes']=0x0,this[_0xc68b2e(0x25b)]=[],this[_0xc68b2e(0x1c3)]=!0x1,this[_0xc68b2e(0x318)]=0x0,this['_mask']=void 0x0,this[_0xc68b2e(0x2bc)]=0x0,this[_0xc68b2e(0x270)]=!0x1,this[_0xc68b2e(0x272)]=!0x1,this['_opcode']=0x0,this['_totalPayloadLength']=0x0,this[_0xc68b2e(0x299)]=0x0,this['_fragments']=[],this[_0xc68b2e(0x275)]=!0x1,this['_loop']=!0x1,this[_0xc68b2e(0x2e4)]=_0x2e020c;}[_0x31b8cb(0x20d)](_0x31eed5,_0x1cc7e1,_0x37585a){const _0x366dec=_0x31b8cb;if(this[_0x366dec(0x32d)]===0x8&&this[_0x366dec(0x2e4)]==_0x2e020c)return _0x37585a();this[_0x366dec(0x205)]+=_0x31eed5[_0x366dec(0x245)],this[_0x366dec(0x25b)][_0x366dec(0x2ac)](_0x31eed5),this[_0x366dec(0x30e)](_0x37585a);}[_0x31b8cb(0x21e)](_0x43fb63){const _0x4f12e0=_0x31b8cb;if(this[_0x4f12e0(0x205)]-=_0x43fb63,_0x43fb63===this['_buffers'][0x0][_0x4f12e0(0x245)])return this[_0x4f12e0(0x25b)][_0x4f12e0(0x282)]();if(_0x43fb63<this[_0x4f12e0(0x25b)][0x0][_0x4f12e0(0x245)]){const _0x4430bb=this[_0x4f12e0(0x25b)][0x0];return this[_0x4f12e0(0x25b)][0x0]=new _0x3ae286(_0x4430bb[_0x4f12e0(0x192)],_0x4430bb[_0x4f12e0(0x2a6)]+_0x43fb63,_0x4430bb[_0x4f12e0(0x245)]-_0x43fb63),new _0x3ae286(_0x4430bb[_0x4f12e0(0x192)],_0x4430bb[_0x4f12e0(0x2a6)],_0x43fb63);}const _0x3edbde=Buffer[_0x4f12e0(0x210)](_0x43fb63);do{const _0xe7cd91=this[_0x4f12e0(0x25b)][0x0],_0x1be3bf=_0x3edbde['length']-_0x43fb63;_0x43fb63>=_0xe7cd91[_0x4f12e0(0x245)]?_0x3edbde[_0x4f12e0(0x266)](this['_buffers']['shift'](),_0x1be3bf):(_0x3edbde[_0x4f12e0(0x266)](new Uint8Array(_0xe7cd91['buffer'],_0xe7cd91[_0x4f12e0(0x2a6)],_0x43fb63),_0x1be3bf),this[_0x4f12e0(0x25b)][0x0]=new _0x3ae286(_0xe7cd91[_0x4f12e0(0x192)],_0xe7cd91[_0x4f12e0(0x2a6)]+_0x43fb63,_0xe7cd91[_0x4f12e0(0x245)]-_0x43fb63)),_0x43fb63-=_0xe7cd91[_0x4f12e0(0x245)];}while(_0x43fb63>0x0);return _0x3edbde;}[_0x31b8cb(0x30e)](_0x14e831){const _0x1223e5=_0x31b8cb;this[_0x1223e5(0x235)]=!0x0;do switch(this[_0x1223e5(0x2e4)]){case _0x2e020c:this[_0x1223e5(0x2d7)](_0x14e831);break;case _0x3663e6:this['getPayloadLength16'](_0x14e831);break;case _0x9c8d6f:this['getPayloadLength64'](_0x14e831);break;case _0x4328b3:this[_0x1223e5(0x212)]();break;case _0x2f7cfc:this[_0x1223e5(0x29a)](_0x14e831);break;case _0x263099:case _0x1a6c15:this[_0x1223e5(0x235)]=!0x1;return;}while(this[_0x1223e5(0x235)]);this[_0x1223e5(0x275)]||_0x14e831();}['getInfo'](_0x9623bd){const _0x3ea2b1=_0x31b8cb;if(this[_0x3ea2b1(0x205)]<0x2){this[_0x3ea2b1(0x235)]=!0x1;return;}const _0x6c0191=this[_0x3ea2b1(0x21e)](0x2);if((_0x6c0191[0x0]&0x30)!==0x0){const _0xcb825e=this['createError'](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x3ea2b1(0x278));_0x9623bd(_0xcb825e);return;}const _0xb3af31=(_0x6c0191[0x0]&0x40)===0x40;if(_0xb3af31&&!this[_0x3ea2b1(0x23a)][_0xd6e645[_0x3ea2b1(0x2aa)]]){const _0x3eede4=this[_0x3ea2b1(0x2fc)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x3ea2b1(0x1c1));_0x9623bd(_0x3eede4);return;}if(this[_0x3ea2b1(0x272)]=(_0x6c0191[0x0]&0x80)===0x80,this[_0x3ea2b1(0x32d)]=_0x6c0191[0x0]&0xf,this['_payloadLength']=_0x6c0191[0x1]&0x7f,this[_0x3ea2b1(0x32d)]===0x0){if(_0xb3af31){const _0x9d2a71=this[_0x3ea2b1(0x2fc)](RangeError,_0x3ea2b1(0x200),!0x0,0x3ea,_0x3ea2b1(0x1c1));_0x9623bd(_0x9d2a71);return;}if(!this[_0x3ea2b1(0x2bc)]){const _0x5031fa=this['createError'](RangeError,_0x3ea2b1(0x209),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x9623bd(_0x5031fa);return;}this['_opcode']=this[_0x3ea2b1(0x2bc)];}else{if(this[_0x3ea2b1(0x32d)]===0x1||this['_opcode']===0x2){if(this[_0x3ea2b1(0x2bc)]){const _0x358915=this[_0x3ea2b1(0x2fc)](RangeError,_0x3ea2b1(0x25e)+this[_0x3ea2b1(0x32d)],!0x0,0x3ea,_0x3ea2b1(0x193));_0x9623bd(_0x358915);return;}this[_0x3ea2b1(0x1c3)]=_0xb3af31;}else{if(this[_0x3ea2b1(0x32d)]>0x7&&this['_opcode']<0xb){if(!this['_fin']){const _0x440801=this[_0x3ea2b1(0x2fc)](RangeError,_0x3ea2b1(0x1b9),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x9623bd(_0x440801);return;}if(_0xb3af31){const _0x541901=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x3ea2b1(0x1c1));_0x9623bd(_0x541901);return;}if(this[_0x3ea2b1(0x318)]>0x7d||this[_0x3ea2b1(0x32d)]===0x8&&this[_0x3ea2b1(0x318)]===0x1){const _0x36c487=this[_0x3ea2b1(0x2fc)](RangeError,_0x3ea2b1(0x1cb)+this[_0x3ea2b1(0x318)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x9623bd(_0x36c487);return;}}else{const _0x2203b4=this[_0x3ea2b1(0x2fc)](RangeError,_0x3ea2b1(0x25e)+this['_opcode'],!0x0,0x3ea,_0x3ea2b1(0x193));_0x9623bd(_0x2203b4);return;}}}if(!this[_0x3ea2b1(0x272)]&&!this[_0x3ea2b1(0x2bc)]&&(this['_fragmented']=this[_0x3ea2b1(0x32d)]),this[_0x3ea2b1(0x270)]=(_0x6c0191[0x1]&0x80)===0x80,this[_0x3ea2b1(0x264)]){if(!this['_masked']){const _0x1cd457=this[_0x3ea2b1(0x2fc)](RangeError,_0x3ea2b1(0x2db),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x9623bd(_0x1cd457);return;}}else{if(this[_0x3ea2b1(0x270)]){const _0x3ce889=this['createError'](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x3ea2b1(0x224));_0x9623bd(_0x3ce889);return;}}this[_0x3ea2b1(0x318)]===0x7e?this['_state']=_0x3663e6:this[_0x3ea2b1(0x318)]===0x7f?this[_0x3ea2b1(0x2e4)]=_0x9c8d6f:this[_0x3ea2b1(0x246)](_0x9623bd);}[_0x31b8cb(0x2f4)](_0x3c82f5){const _0xa459cd=_0x31b8cb;if(this[_0xa459cd(0x205)]<0x2){this[_0xa459cd(0x235)]=!0x1;return;}this[_0xa459cd(0x318)]=this[_0xa459cd(0x21e)](0x2)['readUInt16BE'](0x0),this['haveLength'](_0x3c82f5);}[_0x31b8cb(0x198)](_0x4df23d){const _0x1ab2e5=_0x31b8cb;if(this[_0x1ab2e5(0x205)]<0x8){this['_loop']=!0x1;return;}const _0x38a2ec=this[_0x1ab2e5(0x21e)](0x8),_0x31407c=_0x38a2ec[_0x1ab2e5(0x271)](0x0);if(_0x31407c>Math[_0x1ab2e5(0x31a)](0x2,0x15)-0x1){const _0x3c8033=this['createError'](RangeError,_0x1ab2e5(0x2cb),!0x1,0x3f1,_0x1ab2e5(0x2af));_0x4df23d(_0x3c8033);return;}this['_payloadLength']=_0x31407c*Math[_0x1ab2e5(0x31a)](0x2,0x20)+_0x38a2ec[_0x1ab2e5(0x271)](0x4),this[_0x1ab2e5(0x246)](_0x4df23d);}[_0x31b8cb(0x246)](_0x15373f){const _0x2ae017=_0x31b8cb;if(this[_0x2ae017(0x318)]&&this[_0x2ae017(0x32d)]<0x8&&(this[_0x2ae017(0x1a5)]+=this[_0x2ae017(0x318)],this[_0x2ae017(0x1a5)]>this[_0x2ae017(0x1d7)]&&this[_0x2ae017(0x1d7)]>0x0)){const _0x6dd5ee=this[_0x2ae017(0x2fc)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x15373f(_0x6dd5ee);return;}this[_0x2ae017(0x270)]?this[_0x2ae017(0x2e4)]=_0x4328b3:this[_0x2ae017(0x2e4)]=_0x2f7cfc;}[_0x31b8cb(0x212)](){const _0x1a9f27=_0x31b8cb;if(this[_0x1a9f27(0x205)]<0x4){this[_0x1a9f27(0x235)]=!0x1;return;}this[_0x1a9f27(0x2ae)]=this[_0x1a9f27(0x21e)](0x4),this[_0x1a9f27(0x2e4)]=_0x2f7cfc;}['getData'](_0x1eed1e){const _0x2ce0f6=_0x31b8cb;let _0x5f2fa5=_0x1e2121;if(this[_0x2ce0f6(0x318)]){if(this[_0x2ce0f6(0x205)]<this[_0x2ce0f6(0x318)]){this[_0x2ce0f6(0x235)]=!0x1;return;}_0x5f2fa5=this[_0x2ce0f6(0x21e)](this[_0x2ce0f6(0x318)]),this['_masked']&&(this['_mask'][0x0]|this[_0x2ce0f6(0x2ae)][0x1]|this[_0x2ce0f6(0x2ae)][0x2]|this['_mask'][0x3])!==0x0&&_0x49ec08(_0x5f2fa5,this[_0x2ce0f6(0x2ae)]);}if(this['_opcode']>0x7){this[_0x2ce0f6(0x1a0)](_0x5f2fa5,_0x1eed1e);return;}if(this['_compressed']){this[_0x2ce0f6(0x2e4)]=_0x263099,this[_0x2ce0f6(0x207)](_0x5f2fa5,_0x1eed1e);return;}_0x5f2fa5[_0x2ce0f6(0x245)]&&(this[_0x2ce0f6(0x299)]=this[_0x2ce0f6(0x1a5)],this['_fragments'][_0x2ce0f6(0x2ac)](_0x5f2fa5)),this[_0x2ce0f6(0x25f)](_0x1eed1e);}[_0x31b8cb(0x207)](_0x7b417b,_0x2577a2){const _0xc9436d=_0x31b8cb;this['_extensions'][_0xd6e645[_0xc9436d(0x2aa)]]['decompress'](_0x7b417b,this[_0xc9436d(0x272)],(_0x5673d0,_0x2db6a7)=>{const _0x50ce3f=_0xc9436d;if(_0x5673d0)return _0x2577a2(_0x5673d0);if(_0x2db6a7[_0x50ce3f(0x245)]){if(this[_0x50ce3f(0x299)]+=_0x2db6a7[_0x50ce3f(0x245)],this[_0x50ce3f(0x299)]>this[_0x50ce3f(0x1d7)]&&this[_0x50ce3f(0x1d7)]>0x0){const _0x5912f3=this[_0x50ce3f(0x2fc)](RangeError,_0x50ce3f(0x229),!0x1,0x3f1,_0x50ce3f(0x23e));_0x2577a2(_0x5912f3);return;}this[_0x50ce3f(0x2c6)]['push'](_0x2db6a7);}this[_0x50ce3f(0x25f)](_0x2577a2),this[_0x50ce3f(0x2e4)]===_0x2e020c&&this[_0x50ce3f(0x30e)](_0x2577a2);});}[_0x31b8cb(0x25f)](_0x5cad32){const _0x568288=_0x31b8cb;if(!this['_fin']){this[_0x568288(0x2e4)]=_0x2e020c;return;}const _0x4c47ea=this['_messageLength'],_0x4ac282=this[_0x568288(0x2c6)];if(this[_0x568288(0x1a5)]=0x0,this[_0x568288(0x299)]=0x0,this[_0x568288(0x2bc)]=0x0,this[_0x568288(0x2c6)]=[],this['_opcode']===0x2){let _0x294c97;this[_0x568288(0x1cd)]===_0x568288(0x1a7)?_0x294c97=_0x2f5177(_0x4ac282,_0x4c47ea):this[_0x568288(0x1cd)]==='arraybuffer'?_0x294c97=_0x33fc4b(_0x2f5177(_0x4ac282,_0x4c47ea)):this[_0x568288(0x1cd)]==='blob'?_0x294c97=new Blob(_0x4ac282):_0x294c97=_0x4ac282,this[_0x568288(0x30b)]?(this['emit'](_0x568288(0x237),_0x294c97,!0x0),this[_0x568288(0x2e4)]=_0x2e020c):(this['_state']=_0x1a6c15,setImmediate(()=>{const _0x4976e7=_0x568288;this['emit']('message',_0x294c97,!0x0),this[_0x4976e7(0x2e4)]=_0x2e020c,this[_0x4976e7(0x30e)](_0x5cad32);}));}else{const _0x1bae95=_0x2f5177(_0x4ac282,_0x4c47ea);if(!this['_skipUTF8Validation']&&!_0x5cb4a0(_0x1bae95)){const _0x5419cf=this['createError'](Error,_0x568288(0x232),!0x0,0x3ef,_0x568288(0x2a5));_0x5cad32(_0x5419cf);return;}this[_0x568288(0x2e4)]===_0x263099||this[_0x568288(0x30b)]?(this['emit'](_0x568288(0x237),_0x1bae95,!0x1),this[_0x568288(0x2e4)]=_0x2e020c):(this[_0x568288(0x2e4)]=_0x1a6c15,setImmediate(()=>{const _0x261219=_0x568288;this[_0x261219(0x218)](_0x261219(0x237),_0x1bae95,!0x1),this[_0x261219(0x2e4)]=_0x2e020c,this['startLoop'](_0x5cad32);}));}}[_0x31b8cb(0x1a0)](_0x5c78a1,_0xa93613){const _0x12b050=_0x31b8cb;if(this[_0x12b050(0x32d)]===0x8){if(_0x5c78a1[_0x12b050(0x245)]===0x0)this['_loop']=!0x1,this[_0x12b050(0x218)]('conclude',0x3ed,_0x1e2121),this[_0x12b050(0x1a3)]();else{const _0x2ea0f4=_0x5c78a1[_0x12b050(0x1b2)](0x0);if(!_0x8e4787(_0x2ea0f4)){const _0x345986=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x2ea0f4,!0x0,0x3ea,_0x12b050(0x196));_0xa93613(_0x345986);return;}const _0x37f239=new _0x3ae286(_0x5c78a1[_0x12b050(0x192)],_0x5c78a1['byteOffset']+0x2,_0x5c78a1[_0x12b050(0x245)]-0x2);if(!this[_0x12b050(0x1d1)]&&!_0x5cb4a0(_0x37f239)){const _0x186ea8=this[_0x12b050(0x2fc)](Error,_0x12b050(0x232),!0x0,0x3ef,_0x12b050(0x2a5));_0xa93613(_0x186ea8);return;}this[_0x12b050(0x235)]=!0x1,this['emit'](_0x12b050(0x243),_0x2ea0f4,_0x37f239),this[_0x12b050(0x1a3)]();}this[_0x12b050(0x2e4)]=_0x2e020c;return;}this[_0x12b050(0x30b)]?(this[_0x12b050(0x218)](this[_0x12b050(0x32d)]===0x9?_0x12b050(0x288):'pong',_0x5c78a1),this[_0x12b050(0x2e4)]=_0x2e020c):(this[_0x12b050(0x2e4)]=_0x1a6c15,setImmediate(()=>{const _0x11be5b=_0x12b050;this[_0x11be5b(0x218)](this['_opcode']===0x9?_0x11be5b(0x288):_0x11be5b(0x2f2),_0x5c78a1),this['_state']=_0x2e020c,this[_0x11be5b(0x30e)](_0xa93613);}));}[_0x31b8cb(0x2fc)](_0x40b9c9,_0x251451,_0x5e0907,_0x1dd039,_0x11a63f){const _0x3e1d67=_0x31b8cb;this[_0x3e1d67(0x235)]=!0x1,this[_0x3e1d67(0x275)]=!0x0;const _0x56db4b=new _0x40b9c9(_0x5e0907?_0x3e1d67(0x280)+_0x251451:_0x251451);return Error['captureStackTrace'](_0x56db4b,this[_0x3e1d67(0x2fc)]),_0x56db4b[_0x3e1d67(0x1b6)]=_0x11a63f,_0x56db4b[_0x36ad13]=_0x1dd039,_0x56db4b;}}return Se=_0x52ccc3,Se;}var Ee,et;function _t(){const _0x41b829=_0x321d1b;if(et)return Ee;et=0x1;const {Duplex:_0x4ae24f}=_0xd844bd,{randomFillSync:_0x417403}=_0x543b83,_0x576e53=he(),{EMPTY_BUFFER:_0x47b31e,kWebSocket:_0xf6d530,NOOP:_0x2e55c1}=V(),{isBlob:_0x44d9cc,isValidStatusCode:_0x4e6ac6}=ne(),{mask:_0x3ccbbf,toBuffer:_0x5391a0}=ce(),_0x329b8f=Symbol(_0x41b829(0x1b8)),_0xcaa6e8=Buffer[_0x41b829(0x1ac)](0x4),_0x5aee5e=0x8*0x400;let _0x5da05a,_0x31b4da=_0x5aee5e;const _0x402fa7=0x0,_0x24cd2=0x1,_0x531058=0x2;class _0x1da5e6{constructor(_0x2145de,_0x544916,_0x17ba11){const _0x7d442d=_0x41b829;this['_extensions']=_0x544916||{},_0x17ba11&&(this[_0x7d442d(0x2a1)]=_0x17ba11,this[_0x7d442d(0x1a6)]=Buffer['alloc'](0x4)),this['_socket']=_0x2145de,this[_0x7d442d(0x1d8)]=!0x0,this[_0x7d442d(0x201)]=!0x1,this[_0x7d442d(0x205)]=0x0,this['_queue']=[],this[_0x7d442d(0x2e4)]=_0x402fa7,this['onerror']=_0x2e55c1,this[_0xf6d530]=void 0x0;}static[_0x41b829(0x1bc)](_0x4067dd,_0x1e3112){const _0x34d1b8=_0x41b829;let _0x5ec15c,_0x237c94=!0x1,_0x130cdb=0x2,_0x5e4672=!0x1;_0x1e3112[_0x34d1b8(0x221)]&&(_0x5ec15c=_0x1e3112[_0x34d1b8(0x2b6)]||_0xcaa6e8,_0x1e3112['generateMask']?_0x1e3112[_0x34d1b8(0x296)](_0x5ec15c):(_0x31b4da===_0x5aee5e&&(_0x5da05a===void 0x0&&(_0x5da05a=Buffer['alloc'](_0x5aee5e)),_0x417403(_0x5da05a,0x0,_0x5aee5e),_0x31b4da=0x0),_0x5ec15c[0x0]=_0x5da05a[_0x31b4da++],_0x5ec15c[0x1]=_0x5da05a[_0x31b4da++],_0x5ec15c[0x2]=_0x5da05a[_0x31b4da++],_0x5ec15c[0x3]=_0x5da05a[_0x31b4da++]),_0x5e4672=(_0x5ec15c[0x0]|_0x5ec15c[0x1]|_0x5ec15c[0x2]|_0x5ec15c[0x3])===0x0,_0x130cdb=0x6);let _0x4d662c;typeof _0x4067dd==_0x34d1b8(0x303)?(!_0x1e3112['mask']||_0x5e4672)&&_0x1e3112[_0x329b8f]!==void 0x0?_0x4d662c=_0x1e3112[_0x329b8f]:(_0x4067dd=Buffer[_0x34d1b8(0x324)](_0x4067dd),_0x4d662c=_0x4067dd[_0x34d1b8(0x245)]):(_0x4d662c=_0x4067dd[_0x34d1b8(0x245)],_0x237c94=_0x1e3112[_0x34d1b8(0x221)]&&_0x1e3112[_0x34d1b8(0x329)]&&!_0x5e4672);let _0x4bb7a6=_0x4d662c;_0x4d662c>=0x10000?(_0x130cdb+=0x8,_0x4bb7a6=0x7f):_0x4d662c>0x7d&&(_0x130cdb+=0x2,_0x4bb7a6=0x7e);const _0x35aa36=Buffer[_0x34d1b8(0x210)](_0x237c94?_0x4d662c+_0x130cdb:_0x130cdb);return _0x35aa36[0x0]=_0x1e3112[_0x34d1b8(0x26f)]?_0x1e3112[_0x34d1b8(0x19b)]|0x80:_0x1e3112[_0x34d1b8(0x19b)],_0x1e3112['rsv1']&&(_0x35aa36[0x0]|=0x40),_0x35aa36[0x1]=_0x4bb7a6,_0x4bb7a6===0x7e?_0x35aa36[_0x34d1b8(0x2c4)](_0x4d662c,0x2):_0x4bb7a6===0x7f&&(_0x35aa36[0x2]=_0x35aa36[0x3]=0x0,_0x35aa36[_0x34d1b8(0x283)](_0x4d662c,0x4,0x6)),_0x1e3112[_0x34d1b8(0x221)]?(_0x35aa36[0x1]|=0x80,_0x35aa36[_0x130cdb-0x4]=_0x5ec15c[0x0],_0x35aa36[_0x130cdb-0x3]=_0x5ec15c[0x1],_0x35aa36[_0x130cdb-0x2]=_0x5ec15c[0x2],_0x35aa36[_0x130cdb-0x1]=_0x5ec15c[0x3],_0x5e4672?[_0x35aa36,_0x4067dd]:_0x237c94?(_0x3ccbbf(_0x4067dd,_0x5ec15c,_0x35aa36,_0x130cdb,_0x4d662c),[_0x35aa36]):(_0x3ccbbf(_0x4067dd,_0x5ec15c,_0x4067dd,0x0,_0x4d662c),[_0x35aa36,_0x4067dd])):[_0x35aa36,_0x4067dd];}[_0x41b829(0x294)](_0x63cc9a,_0x29593d,_0xd72004,_0x132469){const _0x2c232d=_0x41b829;let _0x3f88a5;if(_0x63cc9a===void 0x0)_0x3f88a5=_0x47b31e;else{if(typeof _0x63cc9a!=_0x2c232d(0x27e)||!_0x4e6ac6(_0x63cc9a))throw new TypeError(_0x2c232d(0x279));if(_0x29593d===void 0x0||!_0x29593d['length'])_0x3f88a5=Buffer[_0x2c232d(0x210)](0x2),_0x3f88a5[_0x2c232d(0x2c4)](_0x63cc9a,0x0);else{const _0x4cabd3=Buffer[_0x2c232d(0x1ab)](_0x29593d);if(_0x4cabd3>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x3f88a5=Buffer[_0x2c232d(0x210)](0x2+_0x4cabd3),_0x3f88a5['writeUInt16BE'](_0x63cc9a,0x0),typeof _0x29593d==_0x2c232d(0x303)?_0x3f88a5[_0x2c232d(0x30c)](_0x29593d,0x2):_0x3f88a5['set'](_0x29593d,0x2);}}const _0x19b5f2={[_0x329b8f]:_0x3f88a5['length'],'fin':!0x0,'generateMask':this[_0x2c232d(0x2a1)],'mask':_0xd72004,'maskBuffer':this[_0x2c232d(0x1a6)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2c232d(0x2e4)]!==_0x402fa7?this[_0x2c232d(0x18f)]([this[_0x2c232d(0x1c0)],_0x3f88a5,!0x1,_0x19b5f2,_0x132469]):this['sendFrame'](_0x1da5e6[_0x2c232d(0x1bc)](_0x3f88a5,_0x19b5f2),_0x132469);}['ping'](_0x2e13b5,_0x33703e,_0x1e4bc0){const _0x24a8f7=_0x41b829;let _0x45ab85,_0x17ae89;if(typeof _0x2e13b5==_0x24a8f7(0x303)?(_0x45ab85=Buffer[_0x24a8f7(0x1ab)](_0x2e13b5),_0x17ae89=!0x1):_0x44d9cc(_0x2e13b5)?(_0x45ab85=_0x2e13b5['size'],_0x17ae89=!0x1):(_0x2e13b5=_0x5391a0(_0x2e13b5),_0x45ab85=_0x2e13b5[_0x24a8f7(0x245)],_0x17ae89=_0x5391a0[_0x24a8f7(0x329)]),_0x45ab85>0x7d)throw new RangeError(_0x24a8f7(0x22e));const _0x4e3a03={[_0x329b8f]:_0x45ab85,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x33703e,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x17ae89,'rsv1':!0x1};_0x44d9cc(_0x2e13b5)?this[_0x24a8f7(0x2e4)]!==_0x402fa7?this['enqueue']([this[_0x24a8f7(0x20e)],_0x2e13b5,!0x1,_0x4e3a03,_0x1e4bc0]):this[_0x24a8f7(0x20e)](_0x2e13b5,!0x1,_0x4e3a03,_0x1e4bc0):this[_0x24a8f7(0x2e4)]!==_0x402fa7?this[_0x24a8f7(0x18f)]([this[_0x24a8f7(0x1c0)],_0x2e13b5,!0x1,_0x4e3a03,_0x1e4bc0]):this[_0x24a8f7(0x26a)](_0x1da5e6[_0x24a8f7(0x1bc)](_0x2e13b5,_0x4e3a03),_0x1e4bc0);}['pong'](_0x20e69f,_0x32b47d,_0x16cd9b){const _0x48f9dd=_0x41b829;let _0x2b760c,_0x37c79e;if(typeof _0x20e69f==_0x48f9dd(0x303)?(_0x2b760c=Buffer[_0x48f9dd(0x1ab)](_0x20e69f),_0x37c79e=!0x1):_0x44d9cc(_0x20e69f)?(_0x2b760c=_0x20e69f[_0x48f9dd(0x26d)],_0x37c79e=!0x1):(_0x20e69f=_0x5391a0(_0x20e69f),_0x2b760c=_0x20e69f[_0x48f9dd(0x245)],_0x37c79e=_0x5391a0[_0x48f9dd(0x329)]),_0x2b760c>0x7d)throw new RangeError(_0x48f9dd(0x22e));const _0x284eb3={[_0x329b8f]:_0x2b760c,'fin':!0x0,'generateMask':this[_0x48f9dd(0x2a1)],'mask':_0x32b47d,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x37c79e,'rsv1':!0x1};_0x44d9cc(_0x20e69f)?this[_0x48f9dd(0x2e4)]!==_0x402fa7?this['enqueue']([this['getBlobData'],_0x20e69f,!0x1,_0x284eb3,_0x16cd9b]):this[_0x48f9dd(0x20e)](_0x20e69f,!0x1,_0x284eb3,_0x16cd9b):this[_0x48f9dd(0x2e4)]!==_0x402fa7?this[_0x48f9dd(0x18f)]([this['dispatch'],_0x20e69f,!0x1,_0x284eb3,_0x16cd9b]):this[_0x48f9dd(0x26a)](_0x1da5e6['frame'](_0x20e69f,_0x284eb3),_0x16cd9b);}[_0x41b829(0x2c5)](_0x4cd2ca,_0x3e8834,_0x1f37fa){const _0x4da922=_0x41b829,_0x39c279=this['_extensions'][_0x576e53[_0x4da922(0x2aa)]];let _0x59a787=_0x3e8834[_0x4da922(0x316)]?0x2:0x1,_0x38aefc=_0x3e8834[_0x4da922(0x1f8)],_0x4d1c42,_0x36f337;typeof _0x4cd2ca==_0x4da922(0x303)?(_0x4d1c42=Buffer[_0x4da922(0x1ab)](_0x4cd2ca),_0x36f337=!0x1):_0x44d9cc(_0x4cd2ca)?(_0x4d1c42=_0x4cd2ca['size'],_0x36f337=!0x1):(_0x4cd2ca=_0x5391a0(_0x4cd2ca),_0x4d1c42=_0x4cd2ca[_0x4da922(0x245)],_0x36f337=_0x5391a0[_0x4da922(0x329)]),this[_0x4da922(0x1d8)]?(this[_0x4da922(0x1d8)]=!0x1,_0x38aefc&&_0x39c279&&_0x39c279['params'][_0x39c279[_0x4da922(0x264)]?'server_no_context_takeover':_0x4da922(0x1e6)]&&(_0x38aefc=_0x4d1c42>=_0x39c279[_0x4da922(0x327)]),this[_0x4da922(0x201)]=_0x38aefc):(_0x38aefc=!0x1,_0x59a787=0x0),_0x3e8834[_0x4da922(0x26f)]&&(this[_0x4da922(0x1d8)]=!0x0);const _0x284303={[_0x329b8f]:_0x4d1c42,'fin':_0x3e8834['fin'],'generateMask':this['_generateMask'],'mask':_0x3e8834[_0x4da922(0x221)],'maskBuffer':this[_0x4da922(0x1a6)],'opcode':_0x59a787,'readOnly':_0x36f337,'rsv1':_0x38aefc};_0x44d9cc(_0x4cd2ca)?this[_0x4da922(0x2e4)]!==_0x402fa7?this['enqueue']([this[_0x4da922(0x20e)],_0x4cd2ca,this[_0x4da922(0x201)],_0x284303,_0x1f37fa]):this[_0x4da922(0x20e)](_0x4cd2ca,this[_0x4da922(0x201)],_0x284303,_0x1f37fa):this[_0x4da922(0x2e4)]!==_0x402fa7?this['enqueue']([this['dispatch'],_0x4cd2ca,this[_0x4da922(0x201)],_0x284303,_0x1f37fa]):this['dispatch'](_0x4cd2ca,this[_0x4da922(0x201)],_0x284303,_0x1f37fa);}[_0x41b829(0x20e)](_0x3d158c,_0x10f7f7,_0x4e5d68,_0x2eb1f2){const _0x12dac2=_0x41b829;this['_bufferedBytes']+=_0x4e5d68[_0x329b8f],this['_state']=_0x531058,_0x3d158c[_0x12dac2(0x2c0)]()[_0x12dac2(0x341)](_0x4bd3ff=>{const _0x5e9178=_0x12dac2;if(this[_0x5e9178(0x2ee)][_0x5e9178(0x1c6)]){const _0x4f585b=new Error(_0x5e9178(0x328));process[_0x5e9178(0x32a)](_0xa32578,this,_0x4f585b,_0x2eb1f2);return;}this[_0x5e9178(0x205)]-=_0x4e5d68[_0x329b8f];const _0x2efb73=_0x5391a0(_0x4bd3ff);_0x10f7f7?this[_0x5e9178(0x1c0)](_0x2efb73,_0x10f7f7,_0x4e5d68,_0x2eb1f2):(this['_state']=_0x402fa7,this['sendFrame'](_0x1da5e6[_0x5e9178(0x1bc)](_0x2efb73,_0x4e5d68),_0x2eb1f2),this[_0x5e9178(0x239)]());})['catch'](_0x3859a9=>{process['nextTick'](_0x5f3d36,this,_0x3859a9,_0x2eb1f2);});}['dispatch'](_0xebdbf1,_0x1996ba,_0xf7302c,_0x26a1bb){const _0x86f5eb=_0x41b829;if(!_0x1996ba){this[_0x86f5eb(0x26a)](_0x1da5e6[_0x86f5eb(0x1bc)](_0xebdbf1,_0xf7302c),_0x26a1bb);return;}const _0x5a2ca9=this['_extensions'][_0x576e53[_0x86f5eb(0x2aa)]];this[_0x86f5eb(0x205)]+=_0xf7302c[_0x329b8f],this[_0x86f5eb(0x2e4)]=_0x24cd2,_0x5a2ca9['compress'](_0xebdbf1,_0xf7302c[_0x86f5eb(0x26f)],(_0x269be8,_0x5e34df)=>{const _0x2532e6=_0x86f5eb;if(this[_0x2532e6(0x2ee)][_0x2532e6(0x1c6)]){const _0x135901=new Error(_0x2532e6(0x25a));_0xa32578(this,_0x135901,_0x26a1bb);return;}this['_bufferedBytes']-=_0xf7302c[_0x329b8f],this[_0x2532e6(0x2e4)]=_0x402fa7,_0xf7302c[_0x2532e6(0x329)]=!0x1,this[_0x2532e6(0x26a)](_0x1da5e6[_0x2532e6(0x1bc)](_0x5e34df,_0xf7302c),_0x26a1bb),this[_0x2532e6(0x239)]();});}[_0x41b829(0x239)](){const _0x21361e=_0x41b829;for(;this['_state']===_0x402fa7&&this[_0x21361e(0x1aa)][_0x21361e(0x245)];){const _0x4a2692=this[_0x21361e(0x1aa)][_0x21361e(0x282)]();this[_0x21361e(0x205)]-=_0x4a2692[0x3][_0x329b8f],Reflect[_0x21361e(0x208)](_0x4a2692[0x0],this,_0x4a2692[_0x21361e(0x1ea)](0x1));}}[_0x41b829(0x18f)](_0x5231c6){const _0x173b37=_0x41b829;this[_0x173b37(0x205)]+=_0x5231c6[0x3][_0x329b8f],this[_0x173b37(0x1aa)]['push'](_0x5231c6);}[_0x41b829(0x26a)](_0x59b262,_0x5aeadf){const _0x588e87=_0x41b829;_0x59b262[_0x588e87(0x245)]===0x2?(this[_0x588e87(0x2ee)][_0x588e87(0x227)](),this[_0x588e87(0x2ee)]['write'](_0x59b262[0x0]),this[_0x588e87(0x2ee)][_0x588e87(0x30c)](_0x59b262[0x1],_0x5aeadf),this['_socket'][_0x588e87(0x1de)]()):this[_0x588e87(0x2ee)]['write'](_0x59b262[0x0],_0x5aeadf);}}Ee=_0x1da5e6;function _0xa32578(_0x172185,_0x297d18,_0x4b054a){const _0x3d11bd=_0x41b829;typeof _0x4b054a==_0x3d11bd(0x22c)&&_0x4b054a(_0x297d18);for(let _0x2b9417=0x0;_0x2b9417<_0x172185[_0x3d11bd(0x1aa)][_0x3d11bd(0x245)];_0x2b9417++){const _0x429f25=_0x172185[_0x3d11bd(0x1aa)][_0x2b9417],_0x3e0648=_0x429f25[_0x429f25[_0x3d11bd(0x245)]-0x1];typeof _0x3e0648=='function'&&_0x3e0648(_0x297d18);}}function _0x5f3d36(_0x19bd3e,_0x57246c,_0x16154b){const _0x23a5d6=_0x41b829;_0xa32578(_0x19bd3e,_0x57246c,_0x16154b),_0x19bd3e[_0x23a5d6(0x2d2)](_0x57246c);}return Ee;}var xe,tt;function Kt(){const _0x70bcb7=_0x321d1b;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x2b3d0f,kListener:_0x463184}=V(),_0x328ff1=Symbol(_0x70bcb7(0x230)),_0x35705e=Symbol(_0x70bcb7(0x33a)),_0x510b20=Symbol(_0x70bcb7(0x18d)),_0x49b1ec=Symbol(_0x70bcb7(0x27b)),_0x2a6499=Symbol('kReason'),_0x39206c=Symbol('kTarget'),_0x304fb1=Symbol(_0x70bcb7(0x22a)),_0x5c78a7=Symbol('kWasClean');class _0x3fb9bc{constructor(_0x429812){this[_0x39206c]=null,this[_0x304fb1]=_0x429812;}get[_0x70bcb7(0x336)](){return this[_0x39206c];}get['type'](){return this[_0x304fb1];}}Object['defineProperty'](_0x3fb9bc[_0x70bcb7(0x29f)],_0x70bcb7(0x336),{'enumerable':!0x0}),Object['defineProperty'](_0x3fb9bc['prototype'],_0x70bcb7(0x309),{'enumerable':!0x0});class _0x75d422 extends _0x3fb9bc{constructor(_0x5326d5,_0x5eb536={}){const _0x156fb5=_0x70bcb7;super(_0x5326d5),this[_0x328ff1]=_0x5eb536[_0x156fb5(0x1b6)]===void 0x0?0x0:_0x5eb536['code'],this[_0x2a6499]=_0x5eb536[_0x156fb5(0x1d4)]===void 0x0?'':_0x5eb536['reason'],this[_0x5c78a7]=_0x5eb536[_0x156fb5(0x29c)]===void 0x0?!0x1:_0x5eb536[_0x156fb5(0x29c)];}get[_0x70bcb7(0x1b6)](){return this[_0x328ff1];}get[_0x70bcb7(0x1d4)](){return this[_0x2a6499];}get['wasClean'](){return this[_0x5c78a7];}}Object[_0x70bcb7(0x2d5)](_0x75d422['prototype'],_0x70bcb7(0x1b6),{'enumerable':!0x0}),Object[_0x70bcb7(0x2d5)](_0x75d422[_0x70bcb7(0x29f)],_0x70bcb7(0x1d4),{'enumerable':!0x0}),Object[_0x70bcb7(0x2d5)](_0x75d422[_0x70bcb7(0x29f)],_0x70bcb7(0x29c),{'enumerable':!0x0});class _0x18b8e3 extends _0x3fb9bc{constructor(_0xcbe8e0,_0x322582={}){const _0x540bba=_0x70bcb7;super(_0xcbe8e0),this[_0x510b20]=_0x322582[_0x540bba(0x2b7)]===void 0x0?null:_0x322582[_0x540bba(0x2b7)],this[_0x49b1ec]=_0x322582[_0x540bba(0x237)]===void 0x0?'':_0x322582['message'];}get[_0x70bcb7(0x2b7)](){return this[_0x510b20];}get[_0x70bcb7(0x237)](){return this[_0x49b1ec];}}Object['defineProperty'](_0x18b8e3[_0x70bcb7(0x29f)],_0x70bcb7(0x2b7),{'enumerable':!0x0}),Object['defineProperty'](_0x18b8e3['prototype'],'message',{'enumerable':!0x0});class _0x32f7d9 extends _0x3fb9bc{constructor(_0x3f9282,_0x22b3fc={}){const _0x2b7df2=_0x70bcb7;super(_0x3f9282),this[_0x35705e]=_0x22b3fc[_0x2b7df2(0x2c8)]===void 0x0?null:_0x22b3fc['data'];}get[_0x70bcb7(0x2c8)](){return this[_0x35705e];}}Object['defineProperty'](_0x32f7d9['prototype'],_0x70bcb7(0x2c8),{'enumerable':!0x0}),xe={'CloseEvent':_0x75d422,'ErrorEvent':_0x18b8e3,'Event':_0x3fb9bc,'EventTarget':{'addEventListener'(_0x459e22,_0x237765,_0x69023e={}){const _0x1dc9d8=_0x70bcb7;for(const _0x49c7b2 of this[_0x1dc9d8(0x1fe)](_0x459e22))if(!_0x69023e[_0x2b3d0f]&&_0x49c7b2[_0x463184]===_0x237765&&!_0x49c7b2[_0x2b3d0f])return;let _0x38a7ab;if(_0x459e22==='message')_0x38a7ab=function(_0x23313d,_0x33e7ce){const _0x1909cd=_0x1dc9d8,_0x5d9775=new _0x32f7d9('message',{'data':_0x33e7ce?_0x23313d:_0x23313d[_0x1909cd(0x2f6)]()});_0x5d9775[_0x39206c]=this,_0x3b656b(_0x237765,this,_0x5d9775);};else{if(_0x459e22===_0x1dc9d8(0x294))_0x38a7ab=function(_0x26e75d,_0x2297d6){const _0x19d544=_0x1dc9d8,_0x150809=new _0x75d422('close',{'code':_0x26e75d,'reason':_0x2297d6[_0x19d544(0x2f6)](),'wasClean':this['_closeFrameReceived']&&this[_0x19d544(0x2d6)]});_0x150809[_0x39206c]=this,_0x3b656b(_0x237765,this,_0x150809);};else{if(_0x459e22===_0x1dc9d8(0x2b7))_0x38a7ab=function(_0xa7146f){const _0x5a1543=_0x1dc9d8,_0x4de536=new _0x18b8e3(_0x5a1543(0x2b7),{'error':_0xa7146f,'message':_0xa7146f[_0x5a1543(0x237)]});_0x4de536[_0x39206c]=this,_0x3b656b(_0x237765,this,_0x4de536);};else{if(_0x459e22===_0x1dc9d8(0x204))_0x38a7ab=function(){const _0x267e7e=new _0x3fb9bc('open');_0x267e7e[_0x39206c]=this,_0x3b656b(_0x237765,this,_0x267e7e);};else return;}}}_0x38a7ab[_0x2b3d0f]=!!_0x69023e[_0x2b3d0f],_0x38a7ab[_0x463184]=_0x237765,_0x69023e['once']?this[_0x1dc9d8(0x306)](_0x459e22,_0x38a7ab):this['on'](_0x459e22,_0x38a7ab);},'removeEventListener'(_0x13630e,_0xbc3a62){const _0x3dc034=_0x70bcb7;for(const _0x391b8b of this[_0x3dc034(0x1fe)](_0x13630e))if(_0x391b8b[_0x463184]===_0xbc3a62&&!_0x391b8b[_0x2b3d0f]){this[_0x3dc034(0x337)](_0x13630e,_0x391b8b);break;}}},'MessageEvent':_0x32f7d9};function _0x3b656b(_0x535c9d,_0x3e661a,_0x32d563){const _0x522a9a=_0x70bcb7;typeof _0x535c9d=='object'&&_0x535c9d[_0x522a9a(0x1fd)]?_0x535c9d[_0x522a9a(0x1fd)][_0x522a9a(0x304)](_0x535c9d,_0x32d563):_0x535c9d[_0x522a9a(0x304)](_0x3e661a,_0x32d563);}return xe;}var be,rt;function _0x5908(_0x1de8fa,_0x1257f9){const _0x1e219e=_0x1e21();return _0x5908=function(_0x590891,_0x497eaf){_0x590891=_0x590891-0x18c;let _0x44fa60=_0x1e219e[_0x590891];return _0x44fa60;},_0x5908(_0x1de8fa,_0x1257f9);}function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x25e75a}=ne();function _0x2738c1(_0x5f4244,_0x15be5c,_0x3b5720){const _0x1aab6f=_0x5908;_0x5f4244[_0x15be5c]===void 0x0?_0x5f4244[_0x15be5c]=[_0x3b5720]:_0x5f4244[_0x15be5c][_0x1aab6f(0x2ac)](_0x3b5720);}function _0x3880c2(_0x4a4af7){const _0x1ee78f=_0x5908,_0x12e5fb=Object[_0x1ee78f(0x295)](null);let _0x1548a4=Object[_0x1ee78f(0x295)](null),_0x3eccb5=!0x1,_0x39a58e=!0x1,_0x1404b2=!0x1,_0x4fa10f,_0x6ee84d,_0x504cd7=-0x1,_0x339b13=-0x1,_0x22f2ab=-0x1,_0x3cbac6=0x0;for(;_0x3cbac6<_0x4a4af7[_0x1ee78f(0x245)];_0x3cbac6++)if(_0x339b13=_0x4a4af7[_0x1ee78f(0x291)](_0x3cbac6),_0x4fa10f===void 0x0){if(_0x22f2ab===-0x1&&_0x25e75a[_0x339b13]===0x1)_0x504cd7===-0x1&&(_0x504cd7=_0x3cbac6);else{if(_0x3cbac6!==0x0&&(_0x339b13===0x20||_0x339b13===0x9))_0x22f2ab===-0x1&&_0x504cd7!==-0x1&&(_0x22f2ab=_0x3cbac6);else{if(_0x339b13===0x3b||_0x339b13===0x2c){if(_0x504cd7===-0x1)throw new SyntaxError(_0x1ee78f(0x1f4)+_0x3cbac6);_0x22f2ab===-0x1&&(_0x22f2ab=_0x3cbac6);const _0x5751d7=_0x4a4af7[_0x1ee78f(0x1ea)](_0x504cd7,_0x22f2ab);_0x339b13===0x2c?(_0x2738c1(_0x12e5fb,_0x5751d7,_0x1548a4),_0x1548a4=Object[_0x1ee78f(0x295)](null)):_0x4fa10f=_0x5751d7,_0x504cd7=_0x22f2ab=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3cbac6);}}}else{if(_0x6ee84d===void 0x0){if(_0x22f2ab===-0x1&&_0x25e75a[_0x339b13]===0x1)_0x504cd7===-0x1&&(_0x504cd7=_0x3cbac6);else{if(_0x339b13===0x20||_0x339b13===0x9)_0x22f2ab===-0x1&&_0x504cd7!==-0x1&&(_0x22f2ab=_0x3cbac6);else{if(_0x339b13===0x3b||_0x339b13===0x2c){if(_0x504cd7===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3cbac6);_0x22f2ab===-0x1&&(_0x22f2ab=_0x3cbac6),_0x2738c1(_0x1548a4,_0x4a4af7[_0x1ee78f(0x1ea)](_0x504cd7,_0x22f2ab),!0x0),_0x339b13===0x2c&&(_0x2738c1(_0x12e5fb,_0x4fa10f,_0x1548a4),_0x1548a4=Object[_0x1ee78f(0x295)](null),_0x4fa10f=void 0x0),_0x504cd7=_0x22f2ab=-0x1;}else{if(_0x339b13===0x3d&&_0x504cd7!==-0x1&&_0x22f2ab===-0x1)_0x6ee84d=_0x4a4af7[_0x1ee78f(0x1ea)](_0x504cd7,_0x3cbac6),_0x504cd7=_0x22f2ab=-0x1;else throw new SyntaxError(_0x1ee78f(0x1f4)+_0x3cbac6);}}}}else{if(_0x39a58e){if(_0x25e75a[_0x339b13]!==0x1)throw new SyntaxError(_0x1ee78f(0x1f4)+_0x3cbac6);_0x504cd7===-0x1?_0x504cd7=_0x3cbac6:_0x3eccb5||(_0x3eccb5=!0x0),_0x39a58e=!0x1;}else{if(_0x1404b2){if(_0x25e75a[_0x339b13]===0x1)_0x504cd7===-0x1&&(_0x504cd7=_0x3cbac6);else{if(_0x339b13===0x22&&_0x504cd7!==-0x1)_0x1404b2=!0x1,_0x22f2ab=_0x3cbac6;else{if(_0x339b13===0x5c)_0x39a58e=!0x0;else throw new SyntaxError(_0x1ee78f(0x1f4)+_0x3cbac6);}}}else{if(_0x339b13===0x22&&_0x4a4af7[_0x1ee78f(0x291)](_0x3cbac6-0x1)===0x3d)_0x1404b2=!0x0;else{if(_0x22f2ab===-0x1&&_0x25e75a[_0x339b13]===0x1)_0x504cd7===-0x1&&(_0x504cd7=_0x3cbac6);else{if(_0x504cd7!==-0x1&&(_0x339b13===0x20||_0x339b13===0x9))_0x22f2ab===-0x1&&(_0x22f2ab=_0x3cbac6);else{if(_0x339b13===0x3b||_0x339b13===0x2c){if(_0x504cd7===-0x1)throw new SyntaxError(_0x1ee78f(0x1f4)+_0x3cbac6);_0x22f2ab===-0x1&&(_0x22f2ab=_0x3cbac6);let _0x384946=_0x4a4af7[_0x1ee78f(0x1ea)](_0x504cd7,_0x22f2ab);_0x3eccb5&&(_0x384946=_0x384946[_0x1ee78f(0x310)](/\\/g,''),_0x3eccb5=!0x1),_0x2738c1(_0x1548a4,_0x6ee84d,_0x384946),_0x339b13===0x2c&&(_0x2738c1(_0x12e5fb,_0x4fa10f,_0x1548a4),_0x1548a4=Object['create'](null),_0x4fa10f=void 0x0),_0x6ee84d=void 0x0,_0x504cd7=_0x22f2ab=-0x1;}else throw new SyntaxError(_0x1ee78f(0x1f4)+_0x3cbac6);}}}}}}}if(_0x504cd7===-0x1||_0x1404b2||_0x339b13===0x20||_0x339b13===0x9)throw new SyntaxError(_0x1ee78f(0x2e2));_0x22f2ab===-0x1&&(_0x22f2ab=_0x3cbac6);const _0x4ac5b5=_0x4a4af7['slice'](_0x504cd7,_0x22f2ab);return _0x4fa10f===void 0x0?_0x2738c1(_0x12e5fb,_0x4ac5b5,_0x1548a4):(_0x6ee84d===void 0x0?_0x2738c1(_0x1548a4,_0x4ac5b5,!0x0):_0x3eccb5?_0x2738c1(_0x1548a4,_0x6ee84d,_0x4ac5b5[_0x1ee78f(0x310)](/\\/g,'')):_0x2738c1(_0x1548a4,_0x6ee84d,_0x4ac5b5),_0x2738c1(_0x12e5fb,_0x4fa10f,_0x1548a4)),_0x12e5fb;}function _0x353541(_0x391369){const _0x4f63e5=_0x5908;return Object[_0x4f63e5(0x1f5)](_0x391369)[_0x4f63e5(0x1f7)](_0x29525a=>{const _0x4d5ad0=_0x4f63e5;let _0x22e442=_0x391369[_0x29525a];return Array[_0x4d5ad0(0x194)](_0x22e442)||(_0x22e442=[_0x22e442]),_0x22e442[_0x4d5ad0(0x1f7)](_0x4b8819=>[_0x29525a][_0x4d5ad0(0x2a8)](Object[_0x4d5ad0(0x1f5)](_0x4b8819)['map'](_0x53507d=>{const _0x4e2783=_0x4d5ad0;let _0x2872fb=_0x4b8819[_0x53507d];return Array[_0x4e2783(0x194)](_0x2872fb)||(_0x2872fb=[_0x2872fb]),_0x2872fb['map'](_0x300c97=>_0x300c97===!0x0?_0x53507d:_0x53507d+'='+_0x300c97)[_0x4e2783(0x1a1)](';\x20');}))[_0x4d5ad0(0x1a1)](';\x20'))[_0x4d5ad0(0x1a1)](',\x20');})[_0x4f63e5(0x1a1)](',\x20');}return be={'format':_0x353541,'parse':_0x3880c2},be;}var we,st;function Ie(){const _0x211dc8=_0x321d1b;if(st)return we;st=0x1;const _0xc61678=_0x3b8a02,_0x4a28df=_0x49531b,_0x130b4b=_0x3bc34d,_0x5d953a=_0x5608cb,_0x5ec9d1=_0x4705fe,{randomBytes:_0x3883e6,createHash:_0x1ffe0c}=_0x543b83,{Duplex:_0x2c2ab6,Readable:_0x2b3963}=_0xd844bd,{URL:_0x4f86c9}=_0x5580fa,_0x1b2fd9=he(),_0x5e1c23=dt(),_0x25fb69=_t(),{isBlob:_0x40d673}=ne(),{BINARY_TYPES:_0x4ec6e9,EMPTY_BUFFER:_0x56c5c6,GUID:_0x4c7f8d,kForOnEventAttribute:_0x337ace,kListener:_0x1f5351,kStatusCode:_0x47c286,kWebSocket:_0x5146f7,NOOP:_0x2a9e61}=V(),{EventTarget:{addEventListener:_0x1f8928,removeEventListener:_0x287776}}=Kt(),{format:_0x497c6b,parse:_0x424545}=pt(),{toBuffer:_0xcd702b}=ce(),_0x4886dd=0x1e*0x3e8,_0x72df81=Symbol(_0x211dc8(0x1ae)),_0x25a1af=[0x8,0xd],_0x545b35=[_0x211dc8(0x289),'OPEN','CLOSING',_0x211dc8(0x21a)],_0x53efae=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x489e06 extends _0xc61678{constructor(_0x452014,_0x386357,_0x25d58e){const _0x15bcf0=_0x211dc8;super(),this['_binaryType']=_0x4ec6e9[0x0],this[_0x15bcf0(0x219)]=0x3ee,this[_0x15bcf0(0x197)]=!0x1,this[_0x15bcf0(0x2d6)]=!0x1,this[_0x15bcf0(0x1e5)]=_0x56c5c6,this[_0x15bcf0(0x1ed)]=null,this['_errorEmitted']=!0x1,this[_0x15bcf0(0x23a)]={},this[_0x15bcf0(0x1dd)]=!0x1,this['_protocol']='',this[_0x15bcf0(0x1b3)]=_0x489e06[_0x15bcf0(0x289)],this[_0x15bcf0(0x1ec)]=null,this[_0x15bcf0(0x21d)]=null,this[_0x15bcf0(0x2ee)]=null,_0x452014!==null?(this[_0x15bcf0(0x300)]=0x0,this[_0x15bcf0(0x264)]=!0x1,this[_0x15bcf0(0x1ef)]=0x0,_0x386357===void 0x0?_0x386357=[]:Array['isArray'](_0x386357)||(typeof _0x386357==_0x15bcf0(0x313)&&_0x386357!==null?(_0x25d58e=_0x386357,_0x386357=[]):_0x386357=[_0x386357]),_0x32f215(this,_0x452014,_0x386357,_0x25d58e)):(this[_0x15bcf0(0x2ec)]=_0x25d58e[_0x15bcf0(0x2cc)],this[_0x15bcf0(0x264)]=!0x0);}get[_0x211dc8(0x21c)](){return this['_binaryType'];}set[_0x211dc8(0x21c)](_0xadf896){const _0x10b70b=_0x211dc8;_0x4ec6e9['includes'](_0xadf896)&&(this['_binaryType']=_0xadf896,this[_0x10b70b(0x1ec)]&&(this['_receiver']['_binaryType']=_0xadf896));}get['bufferedAmount'](){const _0x403ae3=_0x211dc8;return this[_0x403ae3(0x2ee)]?this[_0x403ae3(0x2ee)][_0x403ae3(0x240)][_0x403ae3(0x245)]+this['_sender']['_bufferedBytes']:this[_0x403ae3(0x300)];}get[_0x211dc8(0x27c)](){const _0x2e29c3=_0x211dc8;return Object[_0x2e29c3(0x1f5)](this[_0x2e29c3(0x23a)])[_0x2e29c3(0x1a1)]();}get[_0x211dc8(0x1ad)](){const _0x2764c9=_0x211dc8;return this[_0x2764c9(0x1dd)];}get[_0x211dc8(0x2ab)](){return null;}get[_0x211dc8(0x2d2)](){return null;}get['onopen'](){return null;}get[_0x211dc8(0x29e)](){return null;}get[_0x211dc8(0x292)](){return this['_protocol'];}get[_0x211dc8(0x2da)](){const _0x1357b3=_0x211dc8;return this[_0x1357b3(0x1b3)];}get[_0x211dc8(0x261)](){return this['_url'];}[_0x211dc8(0x2ea)](_0x1bfac2,_0x2771c1,_0x1efc48){const _0x4d99ee=_0x211dc8,_0x351dbc=new _0x5e1c23({'allowSynchronousEvents':_0x1efc48[_0x4d99ee(0x260)],'binaryType':this['binaryType'],'extensions':this['_extensions'],'isServer':this[_0x4d99ee(0x264)],'maxPayload':_0x1efc48['maxPayload'],'skipUTF8Validation':_0x1efc48[_0x4d99ee(0x22f)]}),_0x11672e=new _0x25fb69(_0x1bfac2,this[_0x4d99ee(0x23a)],_0x1efc48[_0x4d99ee(0x296)]);this[_0x4d99ee(0x1ec)]=_0x351dbc,this[_0x4d99ee(0x21d)]=_0x11672e,this[_0x4d99ee(0x2ee)]=_0x1bfac2,_0x351dbc[_0x5146f7]=this,_0x11672e[_0x5146f7]=this,_0x1bfac2[_0x5146f7]=this,_0x351dbc['on'](_0x4d99ee(0x243),_0x4f72cd),_0x351dbc['on'](_0x4d99ee(0x1b7),_0x5ddadb),_0x351dbc['on'](_0x4d99ee(0x2b7),_0x21d764),_0x351dbc['on']('message',_0x2781f5),_0x351dbc['on']('ping',_0x174761),_0x351dbc['on'](_0x4d99ee(0x2f2),_0x331359),_0x11672e[_0x4d99ee(0x2d2)]=_0x4124c2,_0x1bfac2[_0x4d99ee(0x322)]&&_0x1bfac2[_0x4d99ee(0x322)](0x0),_0x1bfac2[_0x4d99ee(0x2f5)]&&_0x1bfac2[_0x4d99ee(0x2f5)](),_0x2771c1[_0x4d99ee(0x245)]>0x0&&_0x1bfac2[_0x4d99ee(0x19d)](_0x2771c1),_0x1bfac2['on'](_0x4d99ee(0x294),_0x56b476),_0x1bfac2['on']('data',_0x53ecbd),_0x1bfac2['on'](_0x4d99ee(0x1a3),_0x54c003),_0x1bfac2['on'](_0x4d99ee(0x2b7),_0x39a4b2),this[_0x4d99ee(0x1b3)]=_0x489e06['OPEN'],this[_0x4d99ee(0x218)](_0x4d99ee(0x204));}[_0x211dc8(0x30f)](){const _0x2c9d98=_0x211dc8;if(!this[_0x2c9d98(0x2ee)]){this[_0x2c9d98(0x1b3)]=_0x489e06['CLOSED'],this[_0x2c9d98(0x218)](_0x2c9d98(0x294),this['_closeCode'],this['_closeMessage']);return;}this[_0x2c9d98(0x23a)][_0x1b2fd9[_0x2c9d98(0x2aa)]]&&this[_0x2c9d98(0x23a)][_0x1b2fd9['extensionName']]['cleanup'](),this['_receiver'][_0x2c9d98(0x1b5)](),this['_readyState']=_0x489e06[_0x2c9d98(0x21a)],this[_0x2c9d98(0x218)]('close',this[_0x2c9d98(0x219)],this[_0x2c9d98(0x1e5)]);}['close'](_0x2d6736,_0x11f316){const _0x380a9b=_0x211dc8;if(this['readyState']!==_0x489e06[_0x380a9b(0x21a)]){if(this['readyState']===_0x489e06[_0x380a9b(0x289)]){_0x8f06ee(this,this[_0x380a9b(0x1fb)],_0x380a9b(0x276));return;}if(this[_0x380a9b(0x2da)]===_0x489e06[_0x380a9b(0x1ff)]){this[_0x380a9b(0x2d6)]&&(this[_0x380a9b(0x197)]||this[_0x380a9b(0x1ec)]['_writableState'][_0x380a9b(0x1b1)])&&this['_socket'][_0x380a9b(0x1a3)]();return;}this[_0x380a9b(0x1b3)]=_0x489e06[_0x380a9b(0x1ff)],this[_0x380a9b(0x21d)][_0x380a9b(0x294)](_0x2d6736,_0x11f316,!this[_0x380a9b(0x264)],_0x1cb155=>{const _0x12aeb9=_0x380a9b;_0x1cb155||(this[_0x12aeb9(0x2d6)]=!0x0,(this[_0x12aeb9(0x197)]||this['_receiver'][_0x12aeb9(0x240)][_0x12aeb9(0x1b1)])&&this[_0x12aeb9(0x2ee)]['end']());}),_0x2f1b87(this);}}[_0x211dc8(0x1e0)](){const _0x9ed8c9=_0x211dc8;this[_0x9ed8c9(0x2da)]===_0x489e06[_0x9ed8c9(0x289)]||this[_0x9ed8c9(0x2da)]===_0x489e06[_0x9ed8c9(0x21a)]||(this['_paused']=!0x0,this[_0x9ed8c9(0x2ee)]['pause']());}[_0x211dc8(0x288)](_0x1ef971,_0x5c2b27,_0x40bfda){const _0x3c85ff=_0x211dc8;if(this[_0x3c85ff(0x2da)]===_0x489e06[_0x3c85ff(0x289)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x1ef971==_0x3c85ff(0x22c)?(_0x40bfda=_0x1ef971,_0x1ef971=_0x5c2b27=void 0x0):typeof _0x5c2b27==_0x3c85ff(0x22c)&&(_0x40bfda=_0x5c2b27,_0x5c2b27=void 0x0),typeof _0x1ef971==_0x3c85ff(0x27e)&&(_0x1ef971=_0x1ef971[_0x3c85ff(0x2f6)]()),this[_0x3c85ff(0x2da)]!==_0x489e06[_0x3c85ff(0x24b)]){_0x3ae402(this,_0x1ef971,_0x40bfda);return;}_0x5c2b27===void 0x0&&(_0x5c2b27=!this['_isServer']),this[_0x3c85ff(0x21d)][_0x3c85ff(0x288)](_0x1ef971||_0x56c5c6,_0x5c2b27,_0x40bfda);}[_0x211dc8(0x2f2)](_0x2eda52,_0x970b38,_0x473736){const _0x275688=_0x211dc8;if(this[_0x275688(0x2da)]===_0x489e06[_0x275688(0x289)])throw new Error(_0x275688(0x23d));if(typeof _0x2eda52==_0x275688(0x22c)?(_0x473736=_0x2eda52,_0x2eda52=_0x970b38=void 0x0):typeof _0x970b38==_0x275688(0x22c)&&(_0x473736=_0x970b38,_0x970b38=void 0x0),typeof _0x2eda52==_0x275688(0x27e)&&(_0x2eda52=_0x2eda52['toString']()),this[_0x275688(0x2da)]!==_0x489e06['OPEN']){_0x3ae402(this,_0x2eda52,_0x473736);return;}_0x970b38===void 0x0&&(_0x970b38=!this[_0x275688(0x264)]),this[_0x275688(0x21d)][_0x275688(0x2f2)](_0x2eda52||_0x56c5c6,_0x970b38,_0x473736);}[_0x211dc8(0x24c)](){const _0xb18fd9=_0x211dc8;this[_0xb18fd9(0x2da)]===_0x489e06['CONNECTING']||this['readyState']===_0x489e06[_0xb18fd9(0x21a)]||(this[_0xb18fd9(0x1dd)]=!0x1,this[_0xb18fd9(0x1ec)][_0xb18fd9(0x240)][_0xb18fd9(0x28a)]||this[_0xb18fd9(0x2ee)]['resume']());}[_0x211dc8(0x2c5)](_0x436625,_0x4883ed,_0x5a1029){const _0x39f25f=_0x211dc8;if(this[_0x39f25f(0x2da)]===_0x489e06[_0x39f25f(0x289)])throw new Error(_0x39f25f(0x23d));if(typeof _0x4883ed=='function'&&(_0x5a1029=_0x4883ed,_0x4883ed={}),typeof _0x436625==_0x39f25f(0x27e)&&(_0x436625=_0x436625[_0x39f25f(0x2f6)]()),this['readyState']!==_0x489e06['OPEN']){_0x3ae402(this,_0x436625,_0x5a1029);return;}const _0x11e295={'binary':typeof _0x436625!=_0x39f25f(0x303),'mask':!this[_0x39f25f(0x264)],'compress':!0x0,'fin':!0x0,..._0x4883ed};this[_0x39f25f(0x23a)][_0x1b2fd9[_0x39f25f(0x2aa)]]||(_0x11e295['compress']=!0x1),this[_0x39f25f(0x21d)][_0x39f25f(0x2c5)](_0x436625||_0x56c5c6,_0x11e295,_0x5a1029);}[_0x211dc8(0x1b4)](){const _0x53735c=_0x211dc8;if(this['readyState']!==_0x489e06[_0x53735c(0x21a)]){if(this[_0x53735c(0x2da)]===_0x489e06['CONNECTING']){_0x8f06ee(this,this[_0x53735c(0x1fb)],_0x53735c(0x276));return;}this[_0x53735c(0x2ee)]&&(this[_0x53735c(0x1b3)]=_0x489e06[_0x53735c(0x1ff)],this[_0x53735c(0x2ee)]['destroy']());}}}Object[_0x211dc8(0x2d5)](_0x489e06,_0x211dc8(0x289),{'enumerable':!0x0,'value':_0x545b35[_0x211dc8(0x21b)]('CONNECTING')}),Object[_0x211dc8(0x2d5)](_0x489e06['prototype'],_0x211dc8(0x289),{'enumerable':!0x0,'value':_0x545b35['indexOf'](_0x211dc8(0x289))}),Object['defineProperty'](_0x489e06,_0x211dc8(0x24b),{'enumerable':!0x0,'value':_0x545b35[_0x211dc8(0x21b)](_0x211dc8(0x24b))}),Object[_0x211dc8(0x2d5)](_0x489e06['prototype'],_0x211dc8(0x24b),{'enumerable':!0x0,'value':_0x545b35[_0x211dc8(0x21b)](_0x211dc8(0x24b))}),Object[_0x211dc8(0x2d5)](_0x489e06,_0x211dc8(0x1ff),{'enumerable':!0x0,'value':_0x545b35[_0x211dc8(0x21b)](_0x211dc8(0x1ff))}),Object[_0x211dc8(0x2d5)](_0x489e06['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0x545b35[_0x211dc8(0x21b)](_0x211dc8(0x1ff))}),Object[_0x211dc8(0x2d5)](_0x489e06,'CLOSED',{'enumerable':!0x0,'value':_0x545b35['indexOf'](_0x211dc8(0x21a))}),Object[_0x211dc8(0x2d5)](_0x489e06[_0x211dc8(0x29f)],_0x211dc8(0x21a),{'enumerable':!0x0,'value':_0x545b35['indexOf'](_0x211dc8(0x21a))}),[_0x211dc8(0x21c),_0x211dc8(0x265),_0x211dc8(0x27c),_0x211dc8(0x1ad),'protocol',_0x211dc8(0x2da),_0x211dc8(0x261)][_0x211dc8(0x269)](_0x38035e=>{const _0x33ecee=_0x211dc8;Object['defineProperty'](_0x489e06[_0x33ecee(0x29f)],_0x38035e,{'enumerable':!0x0});}),[_0x211dc8(0x204),'error','close',_0x211dc8(0x237)][_0x211dc8(0x269)](_0x10a6e3=>{const _0x1e220a=_0x211dc8;Object[_0x1e220a(0x2d5)](_0x489e06[_0x1e220a(0x29f)],'on'+_0x10a6e3,{'enumerable':!0x0,'get'(){const _0x293f91=_0x1e220a;for(const _0x427581 of this[_0x293f91(0x1fe)](_0x10a6e3))if(_0x427581[_0x337ace])return _0x427581[_0x1f5351];return null;},'set'(_0x2652f8){const _0x372f9f=_0x1e220a;for(const _0x5a1438 of this[_0x372f9f(0x1fe)](_0x10a6e3))if(_0x5a1438[_0x337ace]){this[_0x372f9f(0x337)](_0x10a6e3,_0x5a1438);break;}typeof _0x2652f8==_0x372f9f(0x22c)&&this[_0x372f9f(0x1a2)](_0x10a6e3,_0x2652f8,{[_0x337ace]:!0x0});}});}),_0x489e06['prototype']['addEventListener']=_0x1f8928,_0x489e06[_0x211dc8(0x29f)]['removeEventListener']=_0x287776,we=_0x489e06;function _0x32f215(_0x239954,_0x54cab0,_0x41b826,_0x484b34){const _0x400780=_0x211dc8,_0x44a7ce={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x25a1af[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x484b34,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x400780(0x2b0),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x239954[_0x400780(0x2ec)]=_0x44a7ce[_0x400780(0x2cc)],!_0x25a1af[_0x400780(0x297)](_0x44a7ce['protocolVersion']))throw new RangeError(_0x400780(0x238)+_0x44a7ce[_0x400780(0x1a8)]+'\x20(supported\x20versions:\x20'+_0x25a1af[_0x400780(0x1a1)](',\x20')+')');let _0x4431c4;if(_0x54cab0 instanceof _0x4f86c9)_0x4431c4=_0x54cab0;else try{_0x4431c4=new _0x4f86c9(_0x54cab0);}catch{throw new SyntaxError(_0x400780(0x281)+_0x54cab0);}_0x4431c4[_0x400780(0x292)]==='http:'?_0x4431c4[_0x400780(0x292)]=_0x400780(0x247):_0x4431c4[_0x400780(0x292)]===_0x400780(0x1f9)&&(_0x4431c4[_0x400780(0x292)]=_0x400780(0x20a)),_0x239954[_0x400780(0x29b)]=_0x4431c4[_0x400780(0x26c)];const _0x8bf702=_0x4431c4[_0x400780(0x292)]==='wss:',_0x142cfa=_0x4431c4[_0x400780(0x292)]===_0x400780(0x319);let _0x354dca;if(_0x4431c4['protocol']!==_0x400780(0x247)&&!_0x8bf702&&!_0x142cfa?_0x354dca='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':_0x142cfa&&!_0x4431c4[_0x400780(0x1e1)]?_0x354dca=_0x400780(0x342):_0x4431c4['hash']&&(_0x354dca=_0x400780(0x242)),_0x354dca){const _0x4c0983=new SyntaxError(_0x354dca);if(_0x239954['_redirects']===0x0)throw _0x4c0983;_0x4e9105(_0x239954,_0x4c0983);return;}const _0x486aeb=_0x8bf702?0x1bb:0x50,_0x58e885=_0x3883e6(0x10)[_0x400780(0x2f6)](_0x400780(0x1e4)),_0x2bb33a=_0x8bf702?_0x4a28df[_0x400780(0x1a4)]:_0x130b4b['request'],_0xb3e746=new Set();let _0x31359b;if(_0x44a7ce[_0x400780(0x21f)]=_0x44a7ce['createConnection']||(_0x8bf702?_0x94a64d:_0x326011),_0x44a7ce['defaultPort']=_0x44a7ce['defaultPort']||_0x486aeb,_0x44a7ce[_0x400780(0x2ef)]=_0x4431c4['port']||_0x486aeb,_0x44a7ce[_0x400780(0x285)]=_0x4431c4[_0x400780(0x287)][_0x400780(0x215)]('[')?_0x4431c4['hostname'][_0x400780(0x1ea)](0x1,-0x1):_0x4431c4[_0x400780(0x287)],_0x44a7ce['headers']={..._0x44a7ce[_0x400780(0x330)],'Sec-WebSocket-Version':_0x44a7ce[_0x400780(0x1a8)],'Sec-WebSocket-Key':_0x58e885,'Connection':_0x400780(0x1df),'Upgrade':_0x400780(0x2ce)},_0x44a7ce[_0x400780(0x2d3)]=_0x4431c4[_0x400780(0x1e1)]+_0x4431c4[_0x400780(0x2f3)],_0x44a7ce[_0x400780(0x190)]=_0x44a7ce[_0x400780(0x1b0)],_0x44a7ce[_0x400780(0x2fe)]&&(_0x31359b=new _0x1b2fd9(_0x44a7ce[_0x400780(0x2fe)]!==!0x0?_0x44a7ce[_0x400780(0x2fe)]:{},!0x1,_0x44a7ce[_0x400780(0x2e3)]),_0x44a7ce[_0x400780(0x330)]['Sec-WebSocket-Extensions']=_0x497c6b({[_0x1b2fd9[_0x400780(0x2aa)]]:_0x31359b[_0x400780(0x2f9)]()})),_0x41b826['length']){for(const _0x1b8a3f of _0x41b826){if(typeof _0x1b8a3f!=_0x400780(0x303)||!_0x53efae[_0x400780(0x301)](_0x1b8a3f)||_0xb3e746[_0x400780(0x25c)](_0x1b8a3f))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0xb3e746['add'](_0x1b8a3f);}_0x44a7ce[_0x400780(0x330)][_0x400780(0x32f)]=_0x41b826[_0x400780(0x1a1)](',');}if(_0x44a7ce['origin']&&(_0x44a7ce[_0x400780(0x1a8)]<0xd?_0x44a7ce[_0x400780(0x330)][_0x400780(0x27a)]=_0x44a7ce[_0x400780(0x2bf)]:_0x44a7ce['headers'][_0x400780(0x1c2)]=_0x44a7ce[_0x400780(0x2bf)]),(_0x4431c4[_0x400780(0x18e)]||_0x4431c4[_0x400780(0x31b)])&&(_0x44a7ce['auth']=_0x4431c4['username']+':'+_0x4431c4[_0x400780(0x31b)]),_0x142cfa){const _0x4908d4=_0x44a7ce[_0x400780(0x2d3)]['split'](':');_0x44a7ce[_0x400780(0x31c)]=_0x4908d4[0x0],_0x44a7ce['path']=_0x4908d4[0x1];}let _0x477c89;if(_0x44a7ce[_0x400780(0x340)]){if(_0x239954[_0x400780(0x1ef)]===0x0){_0x239954[_0x400780(0x1d0)]=_0x142cfa,_0x239954['_originalSecure']=_0x8bf702,_0x239954[_0x400780(0x32b)]=_0x142cfa?_0x44a7ce[_0x400780(0x31c)]:_0x4431c4[_0x400780(0x285)];const _0x2973e2=_0x484b34&&_0x484b34[_0x400780(0x330)];if(_0x484b34={..._0x484b34,'headers':{}},_0x2973e2){for(const [_0x544d58,_0x415833]of Object[_0x400780(0x1ba)](_0x2973e2))_0x484b34[_0x400780(0x330)][_0x544d58['toLowerCase']()]=_0x415833;}}else{if(_0x239954[_0x400780(0x28d)](_0x400780(0x274))===0x0){const _0x60a6da=_0x142cfa?_0x239954[_0x400780(0x1d0)]?_0x44a7ce[_0x400780(0x31c)]===_0x239954[_0x400780(0x32b)]:!0x1:_0x239954[_0x400780(0x1d0)]?!0x1:_0x4431c4['host']===_0x239954['_originalHostOrSocketPath'];(!_0x60a6da||_0x239954[_0x400780(0x217)]&&!_0x8bf702)&&(delete _0x44a7ce[_0x400780(0x330)][_0x400780(0x1f0)],delete _0x44a7ce[_0x400780(0x330)]['cookie'],_0x60a6da||delete _0x44a7ce['headers'][_0x400780(0x285)],_0x44a7ce[_0x400780(0x1dc)]=void 0x0);}}_0x44a7ce['auth']&&!_0x484b34[_0x400780(0x330)][_0x400780(0x1f0)]&&(_0x484b34['headers'][_0x400780(0x1f0)]=_0x400780(0x252)+Buffer['from'](_0x44a7ce[_0x400780(0x1dc)])[_0x400780(0x2f6)]('base64')),_0x477c89=_0x239954[_0x400780(0x1fb)]=_0x2bb33a(_0x44a7ce),_0x239954[_0x400780(0x1ef)]&&_0x239954[_0x400780(0x218)](_0x400780(0x274),_0x239954[_0x400780(0x261)],_0x477c89);}else _0x477c89=_0x239954[_0x400780(0x1fb)]=_0x2bb33a(_0x44a7ce);_0x44a7ce[_0x400780(0x190)]&&_0x477c89['on'](_0x400780(0x190),()=>{const _0x14df35=_0x400780;_0x8f06ee(_0x239954,_0x477c89,_0x14df35(0x262));}),_0x477c89['on']('error',_0x4e85b4=>{_0x477c89===null||_0x477c89[_0x72df81]||(_0x477c89=_0x239954['_req']=null,_0x4e9105(_0x239954,_0x4e85b4));}),_0x477c89['on'](_0x400780(0x199),_0x2d5efc=>{const _0x108e60=_0x400780,_0x296aab=_0x2d5efc[_0x108e60(0x330)][_0x108e60(0x2a0)],_0x4abd5a=_0x2d5efc['statusCode'];if(_0x296aab&&_0x44a7ce[_0x108e60(0x340)]&&_0x4abd5a>=0x12c&&_0x4abd5a<0x190){if(++_0x239954[_0x108e60(0x1ef)]>_0x44a7ce[_0x108e60(0x2e6)]){_0x8f06ee(_0x239954,_0x477c89,_0x108e60(0x24f));return;}_0x477c89[_0x108e60(0x206)]();let _0x18c349;try{_0x18c349=new _0x4f86c9(_0x296aab,_0x54cab0);}catch{const _0x1f4ed9=new SyntaxError(_0x108e60(0x281)+_0x296aab);_0x4e9105(_0x239954,_0x1f4ed9);return;}_0x32f215(_0x239954,_0x18c349,_0x41b826,_0x484b34);}else _0x239954[_0x108e60(0x218)](_0x108e60(0x2eb),_0x477c89,_0x2d5efc)||_0x8f06ee(_0x239954,_0x477c89,'Unexpected\x20server\x20response:\x20'+_0x2d5efc[_0x108e60(0x226)]);}),_0x477c89['on'](_0x400780(0x2f7),(_0x527800,_0x1d0020,_0x357a11)=>{const _0x409478=_0x400780;if(_0x239954['emit'](_0x409478(0x2f7),_0x527800),_0x239954['readyState']!==_0x489e06[_0x409478(0x289)])return;_0x477c89=_0x239954[_0x409478(0x1fb)]=null;const _0x2b57cc=_0x527800['headers']['upgrade'];if(_0x2b57cc===void 0x0||_0x2b57cc[_0x409478(0x2d4)]()!==_0x409478(0x2ce)){_0x8f06ee(_0x239954,_0x1d0020,_0x409478(0x211));return;}const _0x551854=_0x1ffe0c(_0x409478(0x2a3))[_0x409478(0x2b5)](_0x58e885+_0x4c7f8d)[_0x409478(0x1eb)](_0x409478(0x1e4));if(_0x527800[_0x409478(0x330)][_0x409478(0x2c7)]!==_0x551854){_0x8f06ee(_0x239954,_0x1d0020,_0x409478(0x2d1));return;}const _0x5f2216=_0x527800[_0x409478(0x330)][_0x409478(0x268)];let _0x578a03;if(_0x5f2216!==void 0x0?_0xb3e746[_0x409478(0x26d)]?_0xb3e746['has'](_0x5f2216)||(_0x578a03=_0x409478(0x216)):_0x578a03='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0xb3e746[_0x409478(0x26d)]&&(_0x578a03=_0x409478(0x317)),_0x578a03){_0x8f06ee(_0x239954,_0x1d0020,_0x578a03);return;}_0x5f2216&&(_0x239954[_0x409478(0x33b)]=_0x5f2216);const _0x292fa2=_0x527800['headers'][_0x409478(0x258)];if(_0x292fa2!==void 0x0){if(!_0x31359b){_0x8f06ee(_0x239954,_0x1d0020,_0x409478(0x23f));return;}let _0x30a0dd;try{_0x30a0dd=_0x424545(_0x292fa2);}catch{_0x8f06ee(_0x239954,_0x1d0020,_0x409478(0x1db));return;}const _0x14d9d3=Object[_0x409478(0x1f5)](_0x30a0dd);if(_0x14d9d3['length']!==0x1||_0x14d9d3[0x0]!==_0x1b2fd9[_0x409478(0x2aa)]){_0x8f06ee(_0x239954,_0x1d0020,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x31359b[_0x409478(0x321)](_0x30a0dd[_0x1b2fd9[_0x409478(0x2aa)]]);}catch{_0x8f06ee(_0x239954,_0x1d0020,_0x409478(0x1db));return;}_0x239954[_0x409478(0x23a)][_0x1b2fd9[_0x409478(0x2aa)]]=_0x31359b;}_0x239954[_0x409478(0x2ea)](_0x1d0020,_0x357a11,{'allowSynchronousEvents':_0x44a7ce[_0x409478(0x260)],'generateMask':_0x44a7ce[_0x409478(0x296)],'maxPayload':_0x44a7ce[_0x409478(0x2e3)],'skipUTF8Validation':_0x44a7ce['skipUTF8Validation']});}),_0x44a7ce[_0x400780(0x1fc)]?_0x44a7ce[_0x400780(0x1fc)](_0x477c89,_0x239954):_0x477c89[_0x400780(0x1a3)]();}function _0x4e9105(_0x1e66a4,_0x1ef30d){const _0x329a52=_0x211dc8;_0x1e66a4[_0x329a52(0x1b3)]=_0x489e06[_0x329a52(0x1ff)],_0x1e66a4[_0x329a52(0x332)]=!0x0,_0x1e66a4['emit'](_0x329a52(0x2b7),_0x1ef30d),_0x1e66a4['emitClose']();}function _0x326011(_0x20f439){const _0x230842=_0x211dc8;return _0x20f439[_0x230842(0x2d3)]=_0x20f439[_0x230842(0x31c)],_0x5d953a[_0x230842(0x2e7)](_0x20f439);}function _0x94a64d(_0x15b633){const _0x333122=_0x211dc8;return _0x15b633['path']=void 0x0,!_0x15b633[_0x333122(0x1d5)]&&_0x15b633['servername']!==''&&(_0x15b633[_0x333122(0x1d5)]=_0x5d953a[_0x333122(0x2b2)](_0x15b633['host'])?'':_0x15b633['host']),_0x5ec9d1[_0x333122(0x2e7)](_0x15b633);}function _0x8f06ee(_0x34a054,_0x5a7111,_0x2e00b9){const _0x677f58=_0x211dc8;_0x34a054[_0x677f58(0x1b3)]=_0x489e06[_0x677f58(0x1ff)];const _0x36d571=new Error(_0x2e00b9);Error[_0x677f58(0x2d8)](_0x36d571,_0x8f06ee),_0x5a7111[_0x677f58(0x18c)]?(_0x5a7111[_0x72df81]=!0x0,_0x5a7111[_0x677f58(0x206)](),_0x5a7111[_0x677f58(0x1af)]&&!_0x5a7111[_0x677f58(0x1af)][_0x677f58(0x1c6)]&&_0x5a7111[_0x677f58(0x1af)]['destroy'](),process['nextTick'](_0x4e9105,_0x34a054,_0x36d571)):(_0x5a7111[_0x677f58(0x2bd)](_0x36d571),_0x5a7111[_0x677f58(0x306)]('error',_0x34a054[_0x677f58(0x218)][_0x677f58(0x2dd)](_0x34a054,_0x677f58(0x2b7))),_0x5a7111[_0x677f58(0x306)](_0x677f58(0x294),_0x34a054[_0x677f58(0x30f)][_0x677f58(0x2dd)](_0x34a054)));}function _0x3ae402(_0x22632b,_0x1dbbbd,_0x1cbc1a){const _0x1a88cd=_0x211dc8;if(_0x1dbbbd){const _0x53858e=_0x40d673(_0x1dbbbd)?_0x1dbbbd[_0x1a88cd(0x26d)]:_0xcd702b(_0x1dbbbd)[_0x1a88cd(0x245)];_0x22632b[_0x1a88cd(0x2ee)]?_0x22632b['_sender'][_0x1a88cd(0x205)]+=_0x53858e:_0x22632b[_0x1a88cd(0x300)]+=_0x53858e;}if(_0x1cbc1a){const _0x150203=new Error(_0x1a88cd(0x24a)+_0x22632b['readyState']+'\x20('+_0x545b35[_0x22632b[_0x1a88cd(0x2da)]]+')');process[_0x1a88cd(0x32a)](_0x1cbc1a,_0x150203);}}function _0x4f72cd(_0x460119,_0x50c212){const _0x3622a5=_0x211dc8,_0x483494=this[_0x5146f7];_0x483494[_0x3622a5(0x197)]=!0x0,_0x483494[_0x3622a5(0x1e5)]=_0x50c212,_0x483494['_closeCode']=_0x460119,_0x483494['_socket'][_0x5146f7]!==void 0x0&&(_0x483494[_0x3622a5(0x2ee)][_0x3622a5(0x337)](_0x3622a5(0x2c8),_0x53ecbd),process['nextTick'](_0x5baf3d,_0x483494[_0x3622a5(0x2ee)]),_0x460119===0x3ed?_0x483494[_0x3622a5(0x294)]():_0x483494['close'](_0x460119,_0x50c212));}function _0x5ddadb(){const _0x261dcc=_0x211dc8,_0x369595=this[_0x5146f7];_0x369595['isPaused']||_0x369595[_0x261dcc(0x2ee)][_0x261dcc(0x24c)]();}function _0x21d764(_0x5ca985){const _0x16c5ee=_0x211dc8,_0x700b6=this[_0x5146f7];_0x700b6[_0x16c5ee(0x2ee)][_0x5146f7]!==void 0x0&&(_0x700b6[_0x16c5ee(0x2ee)][_0x16c5ee(0x337)](_0x16c5ee(0x2c8),_0x53ecbd),process[_0x16c5ee(0x32a)](_0x5baf3d,_0x700b6[_0x16c5ee(0x2ee)]),_0x700b6[_0x16c5ee(0x294)](_0x5ca985[_0x47c286])),_0x700b6[_0x16c5ee(0x332)]||(_0x700b6[_0x16c5ee(0x332)]=!0x0,_0x700b6[_0x16c5ee(0x218)](_0x16c5ee(0x2b7),_0x5ca985));}function _0x22382d(){const _0x27dfe1=_0x211dc8;this[_0x5146f7][_0x27dfe1(0x30f)]();}function _0x2781f5(_0x3fc9aa,_0x240464){this[_0x5146f7]['emit']('message',_0x3fc9aa,_0x240464);}function _0x174761(_0x5a9142){const _0x3a83da=_0x211dc8,_0x12c714=this[_0x5146f7];_0x12c714[_0x3a83da(0x2ec)]&&_0x12c714['pong'](_0x5a9142,!this['_isServer'],_0x2a9e61),_0x12c714[_0x3a83da(0x218)]('ping',_0x5a9142);}function _0x331359(_0x423135){const _0x18d29f=_0x211dc8;this[_0x5146f7][_0x18d29f(0x218)](_0x18d29f(0x2f2),_0x423135);}function _0x5baf3d(_0x316a17){const _0x367b27=_0x211dc8;_0x316a17[_0x367b27(0x24c)]();}function _0x4124c2(_0xfe2c5f){const _0x3ef5fd=_0x211dc8,_0x5a6ed2=this[_0x5146f7];_0x5a6ed2['readyState']!==_0x489e06[_0x3ef5fd(0x21a)]&&(_0x5a6ed2[_0x3ef5fd(0x2da)]===_0x489e06[_0x3ef5fd(0x24b)]&&(_0x5a6ed2[_0x3ef5fd(0x1b3)]=_0x489e06[_0x3ef5fd(0x1ff)],_0x2f1b87(_0x5a6ed2)),this[_0x3ef5fd(0x2ee)][_0x3ef5fd(0x1a3)](),_0x5a6ed2[_0x3ef5fd(0x332)]||(_0x5a6ed2[_0x3ef5fd(0x332)]=!0x0,_0x5a6ed2[_0x3ef5fd(0x218)](_0x3ef5fd(0x2b7),_0xfe2c5f)));}function _0x2f1b87(_0x22e710){const _0x4ac778=_0x211dc8;_0x22e710['_closeTimer']=setTimeout(_0x22e710['_socket']['destroy'][_0x4ac778(0x2dd)](_0x22e710[_0x4ac778(0x2ee)]),_0x4886dd);}function _0x56b476(){const _0x40fcf8=_0x211dc8,_0x288434=this[_0x5146f7];this[_0x40fcf8(0x337)](_0x40fcf8(0x294),_0x56b476),this['removeListener'](_0x40fcf8(0x2c8),_0x53ecbd),this['removeListener'](_0x40fcf8(0x1a3),_0x54c003),_0x288434[_0x40fcf8(0x1b3)]=_0x489e06[_0x40fcf8(0x1ff)];let _0x404b56;!this[_0x40fcf8(0x315)][_0x40fcf8(0x28f)]&&!_0x288434[_0x40fcf8(0x197)]&&!_0x288434[_0x40fcf8(0x1ec)][_0x40fcf8(0x240)][_0x40fcf8(0x1b1)]&&(_0x404b56=_0x288434[_0x40fcf8(0x2ee)][_0x40fcf8(0x2ff)]())!==null&&_0x288434['_receiver'][_0x40fcf8(0x30c)](_0x404b56),_0x288434[_0x40fcf8(0x1ec)][_0x40fcf8(0x1a3)](),this[_0x5146f7]=void 0x0,clearTimeout(_0x288434[_0x40fcf8(0x1ed)]),_0x288434[_0x40fcf8(0x1ec)][_0x40fcf8(0x240)]['finished']||_0x288434[_0x40fcf8(0x1ec)][_0x40fcf8(0x240)]['errorEmitted']?_0x288434['emitClose']():(_0x288434['_receiver']['on'](_0x40fcf8(0x2b7),_0x22382d),_0x288434[_0x40fcf8(0x1ec)]['on']('finish',_0x22382d));}function _0x53ecbd(_0x32b7af){const _0x123545=_0x211dc8;this[_0x5146f7][_0x123545(0x1ec)][_0x123545(0x30c)](_0x32b7af)||this['pause']();}function _0x54c003(){const _0x289eaf=_0x211dc8,_0x3ec3bd=this[_0x5146f7];_0x3ec3bd['_readyState']=_0x489e06[_0x289eaf(0x1ff)],_0x3ec3bd[_0x289eaf(0x1ec)]['end'](),this[_0x289eaf(0x1a3)]();}function _0x39a4b2(){const _0x251a44=_0x211dc8,_0x2c19dc=this[_0x5146f7];this[_0x251a44(0x337)]('error',_0x39a4b2),this['on'](_0x251a44(0x2b7),_0x2a9e61),_0x2c19dc&&(_0x2c19dc[_0x251a44(0x1b3)]=_0x489e06[_0x251a44(0x1ff)],this[_0x251a44(0x2bd)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x2a3e42}=_0xd844bd;function _0x542d39(_0x539847){const _0x54a4cc=_0x5908;_0x539847[_0x54a4cc(0x218)](_0x54a4cc(0x294));}function _0x194555(){const _0x128e31=_0x5908;!this['destroyed']&&this[_0x128e31(0x240)][_0x128e31(0x263)]&&this[_0x128e31(0x2bd)]();}function _0x467f96(_0x2477a7){const _0x23dcc3=_0x5908;this[_0x23dcc3(0x337)]('error',_0x467f96),this['destroy'](),this[_0x23dcc3(0x28d)]('error')===0x0&&this[_0x23dcc3(0x218)](_0x23dcc3(0x2b7),_0x2477a7);}function _0x31eae6(_0x41f55d,_0x33535f){const _0x370d69=_0x5908;let _0xec998f=!0x0;const _0x3c00e2=new _0x2a3e42({..._0x33535f,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x41f55d['on'](_0x370d69(0x237),function(_0x4f5728,_0xf9c3b5){const _0x4e8274=_0x370d69,_0x2cb939=!_0xf9c3b5&&_0x3c00e2[_0x4e8274(0x315)][_0x4e8274(0x338)]?_0x4f5728[_0x4e8274(0x2f6)]():_0x4f5728;_0x3c00e2['push'](_0x2cb939)||_0x41f55d[_0x4e8274(0x1e0)]();}),_0x41f55d['once'](_0x370d69(0x2b7),function(_0x598b4){const _0x1be00a=_0x370d69;_0x3c00e2[_0x1be00a(0x1c6)]||(_0xec998f=!0x1,_0x3c00e2['destroy'](_0x598b4));}),_0x41f55d['once'](_0x370d69(0x294),function(){const _0x4658b4=_0x370d69;_0x3c00e2[_0x4658b4(0x1c6)]||_0x3c00e2['push'](null);}),_0x3c00e2[_0x370d69(0x214)]=function(_0x2417b9,_0x325186){const _0x128227=_0x370d69;if(_0x41f55d[_0x128227(0x2da)]===_0x41f55d[_0x128227(0x21a)]){_0x325186(_0x2417b9),process['nextTick'](_0x542d39,_0x3c00e2);return;}let _0x33ab86=!0x1;_0x41f55d[_0x128227(0x306)]('error',function(_0x47c3aa){_0x33ab86=!0x0,_0x325186(_0x47c3aa);}),_0x41f55d[_0x128227(0x306)](_0x128227(0x294),function(){const _0x156068=_0x128227;_0x33ab86||_0x325186(_0x2417b9),process[_0x156068(0x32a)](_0x542d39,_0x3c00e2);}),_0xec998f&&_0x41f55d[_0x128227(0x1b4)]();},_0x3c00e2['_final']=function(_0x1ffc3e){const _0x4d67b8=_0x370d69;if(_0x41f55d['readyState']===_0x41f55d[_0x4d67b8(0x289)]){_0x41f55d[_0x4d67b8(0x306)](_0x4d67b8(0x204),function(){const _0x57ad67=_0x4d67b8;_0x3c00e2[_0x57ad67(0x273)](_0x1ffc3e);});return;}_0x41f55d[_0x4d67b8(0x2ee)]!==null&&(_0x41f55d['_socket'][_0x4d67b8(0x240)][_0x4d67b8(0x263)]?(_0x1ffc3e(),_0x3c00e2['_readableState'][_0x4d67b8(0x28f)]&&_0x3c00e2['destroy']()):(_0x41f55d[_0x4d67b8(0x2ee)]['once'](_0x4d67b8(0x20b),function(){_0x1ffc3e();}),_0x41f55d['close']()));},_0x3c00e2[_0x370d69(0x33d)]=function(){const _0x5e7be7=_0x370d69;_0x41f55d[_0x5e7be7(0x1ad)]&&_0x41f55d[_0x5e7be7(0x24c)]();},_0x3c00e2['_write']=function(_0x2ab1a8,_0xcf3a9d,_0x438a96){const _0x1a289b=_0x370d69;if(_0x41f55d[_0x1a289b(0x2da)]===_0x41f55d[_0x1a289b(0x289)]){_0x41f55d[_0x1a289b(0x306)](_0x1a289b(0x204),function(){const _0x21752f=_0x1a289b;_0x3c00e2[_0x21752f(0x20d)](_0x2ab1a8,_0xcf3a9d,_0x438a96);});return;}_0x41f55d[_0x1a289b(0x2c5)](_0x2ab1a8,_0x438a96);},_0x3c00e2['on'](_0x370d69(0x1a3),_0x194555),_0x3c00e2['on'](_0x370d69(0x2b7),_0x467f96),_0x3c00e2;}return Oe=_0x31eae6,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x156b81}=ne();function _0x487e95(_0x28b40a){const _0x4ddc83=_0x5908,_0x5457e6=new Set();let _0x208fb8=-0x1,_0x3cbf1c=-0x1,_0x24f494=0x0;for(_0x24f494;_0x24f494<_0x28b40a[_0x4ddc83(0x245)];_0x24f494++){const _0x2d4955=_0x28b40a[_0x4ddc83(0x291)](_0x24f494);if(_0x3cbf1c===-0x1&&_0x156b81[_0x2d4955]===0x1)_0x208fb8===-0x1&&(_0x208fb8=_0x24f494);else{if(_0x24f494!==0x0&&(_0x2d4955===0x20||_0x2d4955===0x9))_0x3cbf1c===-0x1&&_0x208fb8!==-0x1&&(_0x3cbf1c=_0x24f494);else{if(_0x2d4955===0x2c){if(_0x208fb8===-0x1)throw new SyntaxError(_0x4ddc83(0x1f4)+_0x24f494);_0x3cbf1c===-0x1&&(_0x3cbf1c=_0x24f494);const _0x38074a=_0x28b40a[_0x4ddc83(0x1ea)](_0x208fb8,_0x3cbf1c);if(_0x5457e6[_0x4ddc83(0x25c)](_0x38074a))throw new SyntaxError(_0x4ddc83(0x244)+_0x38074a+_0x4ddc83(0x339));_0x5457e6[_0x4ddc83(0x2d0)](_0x38074a),_0x208fb8=_0x3cbf1c=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x24f494);}}}if(_0x208fb8===-0x1||_0x3cbf1c!==-0x1)throw new SyntaxError(_0x4ddc83(0x2e2));const _0x2e9ff4=_0x28b40a[_0x4ddc83(0x1ea)](_0x208fb8,_0x24f494);if(_0x5457e6[_0x4ddc83(0x25c)](_0x2e9ff4))throw new SyntaxError(_0x4ddc83(0x244)+_0x2e9ff4+_0x4ddc83(0x339));return _0x5457e6[_0x4ddc83(0x2d0)](_0x2e9ff4),_0x5457e6;}return Ce={'parse':_0x487e95},Ce;}var Te,ot;function er(){const _0x1586f1=_0x321d1b;if(ot)return Te;ot=0x1;const _0x1db840=_0x3b8a02,_0x2e216c=_0x3bc34d,{Duplex:_0x17d2d6}=_0xd844bd,{createHash:_0x2aa5e6}=_0x543b83,_0x4c1285=pt(),_0x3613db=he(),_0x3c50b0=Jt(),_0x1473ea=Ie(),{GUID:_0x390820,kWebSocket:_0x33e10d}=V(),_0x2f0a17=/^[+/0-9A-Za-z]{22}==$/,_0x5313a9=0x0,_0x3cd5c3=0x1,_0x58efef=0x2;class _0x14260e extends _0x1db840{constructor(_0x14e59f,_0x545db8){const _0x4e4863=_0x5908;if(super(),_0x14e59f={'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':_0x1473ea,..._0x14e59f},_0x14e59f[_0x4e4863(0x2ef)]==null&&!_0x14e59f[_0x4e4863(0x2b4)]&&!_0x14e59f[_0x4e4863(0x28b)]||_0x14e59f['port']!=null&&(_0x14e59f[_0x4e4863(0x2b4)]||_0x14e59f['noServer'])||_0x14e59f[_0x4e4863(0x2b4)]&&_0x14e59f[_0x4e4863(0x28b)])throw new TypeError(_0x4e4863(0x2fd));if(_0x14e59f[_0x4e4863(0x2ef)]!=null?(this[_0x4e4863(0x23b)]=_0x2e216c[_0x4e4863(0x290)]((_0x184f8d,_0x1baf8a)=>{const _0x3a2a31=_0x4e4863,_0x288ba5=_0x2e216c['STATUS_CODES'][0x1aa];_0x1baf8a[_0x3a2a31(0x335)](0x1aa,{'Content-Length':_0x288ba5[_0x3a2a31(0x245)],'Content-Type':_0x3a2a31(0x25d)}),_0x1baf8a[_0x3a2a31(0x1a3)](_0x288ba5);}),this[_0x4e4863(0x23b)][_0x4e4863(0x2d9)](_0x14e59f[_0x4e4863(0x2ef)],_0x14e59f['host'],_0x14e59f['backlog'],_0x545db8)):_0x14e59f[_0x4e4863(0x2b4)]&&(this['_server']=_0x14e59f[_0x4e4863(0x2b4)]),this[_0x4e4863(0x23b)]){const _0x5a6063=this[_0x4e4863(0x218)][_0x4e4863(0x2dd)](this,_0x4e4863(0x191));this[_0x4e4863(0x2c9)]=_0x581489(this[_0x4e4863(0x23b)],{'listening':this[_0x4e4863(0x218)][_0x4e4863(0x2dd)](this,_0x4e4863(0x32c)),'error':this['emit'][_0x4e4863(0x2dd)](this,_0x4e4863(0x2b7)),'upgrade':(_0x517648,_0x2038ce,_0x58b35b)=>{const _0x22962a=_0x4e4863;this[_0x22962a(0x1e9)](_0x517648,_0x2038ce,_0x58b35b,_0x5a6063);}});}_0x14e59f[_0x4e4863(0x2fe)]===!0x0&&(_0x14e59f[_0x4e4863(0x2fe)]={}),_0x14e59f[_0x4e4863(0x1d2)]&&(this[_0x4e4863(0x325)]=new Set(),this[_0x4e4863(0x233)]=!0x1),this[_0x4e4863(0x30d)]=_0x14e59f,this[_0x4e4863(0x2e4)]=_0x5313a9;}[_0x1586f1(0x305)](){const _0x8cfd76=_0x1586f1;if(this[_0x8cfd76(0x30d)][_0x8cfd76(0x28b)])throw new Error(_0x8cfd76(0x248));return this[_0x8cfd76(0x23b)]?this['_server'][_0x8cfd76(0x305)]():null;}[_0x1586f1(0x294)](_0x44e012){const _0x129b00=_0x1586f1;if(this[_0x129b00(0x2e4)]===_0x58efef){_0x44e012&&this[_0x129b00(0x306)](_0x129b00(0x294),()=>{const _0x2edbee=_0x129b00;_0x44e012(new Error(_0x2edbee(0x202)));}),process[_0x129b00(0x32a)](_0x3e8225,this);return;}if(_0x44e012&&this['once']('close',_0x44e012),this['_state']!==_0x3cd5c3){if(this[_0x129b00(0x2e4)]=_0x3cd5c3,this[_0x129b00(0x30d)][_0x129b00(0x28b)]||this[_0x129b00(0x30d)][_0x129b00(0x2b4)])this[_0x129b00(0x23b)]&&(this[_0x129b00(0x2c9)](),this['_removeListeners']=this[_0x129b00(0x23b)]=null),this[_0x129b00(0x325)]?this[_0x129b00(0x325)][_0x129b00(0x26d)]?this['_shouldEmitClose']=!0x0:process[_0x129b00(0x32a)](_0x3e8225,this):process[_0x129b00(0x32a)](_0x3e8225,this);else{const _0x2b21ec=this[_0x129b00(0x23b)];this[_0x129b00(0x2c9)](),this[_0x129b00(0x2c9)]=this[_0x129b00(0x23b)]=null,_0x2b21ec[_0x129b00(0x294)](()=>{_0x3e8225(this);});}}}['shouldHandle'](_0x2efa63){const _0x264589=_0x1586f1;if(this[_0x264589(0x30d)][_0x264589(0x2d3)]){const _0x4fa68a=_0x2efa63['url'][_0x264589(0x21b)]('?');if((_0x4fa68a!==-0x1?_0x2efa63['url'][_0x264589(0x1ea)](0x0,_0x4fa68a):_0x2efa63[_0x264589(0x261)])!==this['options']['path'])return!0x1;}return!0x0;}[_0x1586f1(0x1e9)](_0x45fa51,_0x1761a8,_0x1281b4,_0x129c4d){const _0x89ef83=_0x1586f1;_0x1761a8['on'](_0x89ef83(0x2b7),_0x5d177c);const _0x10d263=_0x45fa51[_0x89ef83(0x330)][_0x89ef83(0x2b3)],_0x4a3a93=_0x45fa51['headers'][_0x89ef83(0x2f7)],_0x5b8969=+_0x45fa51[_0x89ef83(0x330)][_0x89ef83(0x31d)];if(_0x45fa51[_0x89ef83(0x2e0)]!==_0x89ef83(0x2b0)){_0x49b3d1(this,_0x45fa51,_0x1761a8,0x195,_0x89ef83(0x22d));return;}if(_0x4a3a93===void 0x0||_0x4a3a93[_0x89ef83(0x2d4)]()!=='websocket'){_0x49b3d1(this,_0x45fa51,_0x1761a8,0x190,_0x89ef83(0x211));return;}if(_0x10d263===void 0x0||!_0x2f0a17[_0x89ef83(0x301)](_0x10d263)){_0x49b3d1(this,_0x45fa51,_0x1761a8,0x190,_0x89ef83(0x298));return;}if(_0x5b8969!==0xd&&_0x5b8969!==0x8){_0x49b3d1(this,_0x45fa51,_0x1761a8,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x89ef83(0x19a)});return;}if(!this[_0x89ef83(0x1da)](_0x45fa51)){_0x5a3c21(_0x1761a8,0x190);return;}const _0x35c0e7=_0x45fa51[_0x89ef83(0x330)][_0x89ef83(0x268)];let _0x4be9a2=new Set();if(_0x35c0e7!==void 0x0)try{_0x4be9a2=_0x3c50b0[_0x89ef83(0x28e)](_0x35c0e7);}catch{_0x49b3d1(this,_0x45fa51,_0x1761a8,0x190,_0x89ef83(0x1c8));return;}const _0x3f1348=_0x45fa51[_0x89ef83(0x330)][_0x89ef83(0x258)],_0x599d19={};if(this[_0x89ef83(0x30d)][_0x89ef83(0x2fe)]&&_0x3f1348!==void 0x0){const _0x196770=new _0x3613db(this[_0x89ef83(0x30d)][_0x89ef83(0x2fe)],!0x0,this[_0x89ef83(0x30d)][_0x89ef83(0x2e3)]);try{const _0x58aa7b=_0x4c1285[_0x89ef83(0x28e)](_0x3f1348);_0x58aa7b[_0x3613db[_0x89ef83(0x2aa)]]&&(_0x196770[_0x89ef83(0x321)](_0x58aa7b[_0x3613db[_0x89ef83(0x2aa)]]),_0x599d19[_0x3613db[_0x89ef83(0x2aa)]]=_0x196770);}catch{_0x49b3d1(this,_0x45fa51,_0x1761a8,0x190,_0x89ef83(0x255));return;}}if(this[_0x89ef83(0x30d)][_0x89ef83(0x2fa)]){const _0x2b58dd={'origin':_0x45fa51[_0x89ef83(0x330)][''+(_0x5b8969===0x8?'sec-websocket-origin':_0x89ef83(0x2bf))],'secure':!!(_0x45fa51[_0x89ef83(0x1af)][_0x89ef83(0x256)]||_0x45fa51[_0x89ef83(0x1af)]['encrypted']),'req':_0x45fa51};if(this[_0x89ef83(0x30d)][_0x89ef83(0x2fa)][_0x89ef83(0x245)]===0x2){this[_0x89ef83(0x30d)]['verifyClient'](_0x2b58dd,(_0x4d7da2,_0x5c5e2d,_0x48a380,_0x3c29aa)=>{const _0x4a9279=_0x89ef83;if(!_0x4d7da2)return _0x5a3c21(_0x1761a8,_0x5c5e2d||0x191,_0x48a380,_0x3c29aa);this[_0x4a9279(0x2b8)](_0x599d19,_0x10d263,_0x4be9a2,_0x45fa51,_0x1761a8,_0x1281b4,_0x129c4d);});return;}if(!this['options']['verifyClient'](_0x2b58dd))return _0x5a3c21(_0x1761a8,0x191);}this[_0x89ef83(0x2b8)](_0x599d19,_0x10d263,_0x4be9a2,_0x45fa51,_0x1761a8,_0x1281b4,_0x129c4d);}[_0x1586f1(0x2b8)](_0x331310,_0xf0f4ea,_0x1b7e63,_0x5e5669,_0x184e90,_0x2284b4,_0x34722e){const _0x1deaca=_0x1586f1;if(!_0x184e90[_0x1deaca(0x257)]||!_0x184e90[_0x1deaca(0x2de)])return _0x184e90[_0x1deaca(0x2bd)]();if(_0x184e90[_0x33e10d])throw new Error(_0x1deaca(0x307));if(this[_0x1deaca(0x2e4)]>_0x5313a9)return _0x5a3c21(_0x184e90,0x1f7);const _0x409d20=[_0x1deaca(0x2b1),_0x1deaca(0x249),_0x1deaca(0x1be),_0x1deaca(0x27f)+_0x2aa5e6(_0x1deaca(0x2a3))['update'](_0xf0f4ea+_0x390820)['digest'](_0x1deaca(0x1e4))],_0x2aa72f=new this[(_0x1deaca(0x30d))][(_0x1deaca(0x320))](null,void 0x0,this[_0x1deaca(0x30d)]);if(_0x1b7e63[_0x1deaca(0x26d)]){const _0x17618b=this[_0x1deaca(0x30d)]['handleProtocols']?this[_0x1deaca(0x30d)]['handleProtocols'](_0x1b7e63,_0x5e5669):_0x1b7e63['values']()[_0x1deaca(0x225)]()['value'];_0x17618b&&(_0x409d20['push'](_0x1deaca(0x1ee)+_0x17618b),_0x2aa72f[_0x1deaca(0x33b)]=_0x17618b);}if(_0x331310[_0x3613db[_0x1deaca(0x2aa)]]){const _0x169690=_0x331310[_0x3613db['extensionName']]['params'],_0x29717a=_0x4c1285[_0x1deaca(0x286)]({[_0x3613db[_0x1deaca(0x2aa)]]:[_0x169690]});_0x409d20[_0x1deaca(0x2ac)](_0x1deaca(0x28c)+_0x29717a),_0x2aa72f[_0x1deaca(0x23a)]=_0x331310;}this['emit'](_0x1deaca(0x330),_0x409d20,_0x5e5669),_0x184e90[_0x1deaca(0x30c)](_0x409d20[_0x1deaca(0x2a8)]('\x0d\x0a')[_0x1deaca(0x1a1)]('\x0d\x0a')),_0x184e90[_0x1deaca(0x337)](_0x1deaca(0x2b7),_0x5d177c),_0x2aa72f[_0x1deaca(0x2ea)](_0x184e90,_0x2284b4,{'allowSynchronousEvents':this[_0x1deaca(0x30d)][_0x1deaca(0x260)],'maxPayload':this[_0x1deaca(0x30d)][_0x1deaca(0x2e3)],'skipUTF8Validation':this[_0x1deaca(0x30d)][_0x1deaca(0x22f)]}),this[_0x1deaca(0x325)]&&(this[_0x1deaca(0x325)][_0x1deaca(0x2d0)](_0x2aa72f),_0x2aa72f['on'](_0x1deaca(0x294),()=>{const _0x3724d7=_0x1deaca;this[_0x3724d7(0x325)][_0x3724d7(0x241)](_0x2aa72f),this[_0x3724d7(0x233)]&&!this[_0x3724d7(0x325)][_0x3724d7(0x26d)]&&process['nextTick'](_0x3e8225,this);})),_0x34722e(_0x2aa72f,_0x5e5669);}}Te=_0x14260e;function _0x581489(_0x4aa0c8,_0x54cb0c){const _0x496cdf=_0x1586f1;for(const _0x3016a6 of Object[_0x496cdf(0x1f5)](_0x54cb0c))_0x4aa0c8['on'](_0x3016a6,_0x54cb0c[_0x3016a6]);return function(){const _0x59559c=_0x496cdf;for(const _0x514073 of Object[_0x59559c(0x1f5)](_0x54cb0c))_0x4aa0c8['removeListener'](_0x514073,_0x54cb0c[_0x514073]);};}function _0x3e8225(_0x358afc){_0x358afc['_state']=_0x58efef,_0x358afc['emit']('close');}function _0x5d177c(){const _0x37ccfe=_0x1586f1;this[_0x37ccfe(0x2bd)]();}function _0x5a3c21(_0x214080,_0x202757,_0x5b772a,_0x2c349c){const _0x68b57=_0x1586f1;_0x5b772a=_0x5b772a||_0x2e216c['STATUS_CODES'][_0x202757],_0x2c349c={'Connection':_0x68b57(0x294),'Content-Type':'text/html','Content-Length':Buffer[_0x68b57(0x1ab)](_0x5b772a),..._0x2c349c},_0x214080[_0x68b57(0x306)](_0x68b57(0x20b),_0x214080['destroy']),_0x214080[_0x68b57(0x1a3)](_0x68b57(0x2f0)+_0x202757+'\x20'+_0x2e216c['STATUS_CODES'][_0x202757]+'\x0d\x0a'+Object[_0x68b57(0x1f5)](_0x2c349c)['map'](_0x57378e=>_0x57378e+':\x20'+_0x2c349c[_0x57378e])[_0x68b57(0x1a1)]('\x0d\x0a')+_0x68b57(0x2c3)+_0x5b772a);}function _0x49b3d1(_0x31f584,_0x1f32ae,_0x592de5,_0x5753ad,_0x4318e7,_0x271231){const _0x1b7de7=_0x1586f1;if(_0x31f584[_0x1b7de7(0x28d)](_0x1b7de7(0x344))){const _0xc2d72f=new Error(_0x4318e7);Error[_0x1b7de7(0x2d8)](_0xc2d72f,_0x49b3d1),_0x31f584['emit'](_0x1b7de7(0x344),_0xc2d72f,_0x592de5,_0x1f32ae);}else _0x5a3c21(_0x592de5,_0x5753ad,_0x4318e7,_0x271231);}return Te;}er();var tr=Object[_0x321d1b(0x2be)],rr=(_0xca6a17,_0x1d4370,_0x297a58,_0x5ebee1)=>{const _0x115b41=_0x321d1b;for(var _0x5a2b24=_0x5ebee1>0x1?void 0x0:_0x5ebee1?tr(_0x1d4370,_0x297a58):_0x1d4370,_0x1fc328=_0xca6a17[_0x115b41(0x245)]-0x1,_0x51e531;_0x1fc328>=0x0;_0x1fc328--)(_0x51e531=_0xca6a17[_0x1fc328])&&(_0x5a2b24=_0x51e531(_0x5a2b24)||_0x5a2b24);return _0x5a2b24;},sr=(_0x5361d1,_0x3272c)=>(_0x494886,_0xee7c8f)=>_0x3272c(_0x494886,_0xee7c8f,_0x5361d1);let Ne=class extends _0x2b6b22{constructor(_0x3efe23){const _0x4ca6c8=_0x321d1b;super(),this[_0x4ca6c8(0x343)]=_0x3efe23;}[_0x321d1b(0x311)](_0xaf4aa2){const _0x1459ef=_0x321d1b;var _0x3d57be;const _0x38551c=(_0x3d57be=this[_0x1459ef(0x343)][_0x1459ef(0x2bb)](Be))==null?void 0x0:_0x3d57be[_0x1459ef(0x2f1)];try{const _0x58511c=new Qt(_0xaf4aa2,{'headers':{..._0x38551c}}),_0x32ac17=new _0x5bfc48();return{'URL':_0xaf4aa2,'close':(_0x414b4b,_0x3f515d)=>{const _0x46e705=_0x1459ef;_0x58511c['close'](_0x414b4b,_0x3f515d),_0x32ac17[_0x46e705(0x2c1)]();},'send':_0x2cfabd=>{const _0x4c05cb=_0x1459ef;_0x58511c[_0x4c05cb(0x2c5)](_0x2cfabd);},'open$':new _0x2393a3(_0x345517=>{const _0x3ad4d5=_0x1459ef,_0x4c2e12=_0x4c29cc=>_0x345517['next'](_0x4c29cc);_0x58511c['addEventListener'](_0x3ad4d5(0x204),_0x4c2e12),_0x32ac17[_0x3ad4d5(0x2d0)](_0x556d22(()=>_0x58511c[_0x3ad4d5(0x2cd)](_0x3ad4d5(0x204),_0x4c2e12)));})[_0x1459ef(0x1e8)](_0x22a080()),'close$':new _0x2393a3(_0x26c15c=>{const _0x39038f=_0x1459ef,_0x5a2861=_0x2a94b1=>_0x26c15c[_0x39038f(0x225)](_0x2a94b1);_0x58511c[_0x39038f(0x1a2)](_0x39038f(0x294),_0x5a2861),_0x32ac17[_0x39038f(0x2d0)](_0x556d22(()=>_0x58511c[_0x39038f(0x2cd)](_0x39038f(0x294),_0x5a2861)));})[_0x1459ef(0x1e8)](_0x22a080()),'error$':new _0x2393a3(_0x324422=>{const _0x4256c7=_0x1459ef,_0xc9d236=_0x46461a=>_0x324422['next'](_0x46461a);_0x58511c[_0x4256c7(0x1a2)](_0x4256c7(0x2b7),_0xc9d236),_0x32ac17['add'](_0x556d22(()=>_0x58511c[_0x4256c7(0x2cd)](_0x4256c7(0x2b7),_0xc9d236)));})[_0x1459ef(0x1e8)](_0x22a080()),'message$':new _0x2393a3(_0x6ab10=>{const _0x31171e=_0x1459ef,_0x3951d8=_0x3a743d=>_0x6ab10[_0x31171e(0x225)](_0x3a743d);_0x58511c[_0x31171e(0x1a2)](_0x31171e(0x237),_0x3951d8),_0x32ac17[_0x31171e(0x2d0)](_0x556d22(()=>_0x58511c['removeEventListener'](_0x31171e(0x237),_0x3951d8)));})[_0x1459ef(0x1e8)](_0x22a080())};}catch(_0x579627){return console['error'](_0x579627),null;}}};Ne=rr([sr(0x0,_0x102e63)],Ne);var ir=Object[_0x321d1b(0x2d5)],nr=Object[_0x321d1b(0x2be)],or=(_0x593854,_0x5d7c34,_0x4cf8ee)=>_0x5d7c34 in _0x593854?ir(_0x593854,_0x5d7c34,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4cf8ee}):_0x593854[_0x5d7c34]=_0x4cf8ee,ar=(_0x299fb5,_0x1aae89,_0x5e287b,_0x2d58a7)=>{const _0x538836=_0x321d1b;for(var _0xcbd00b=_0x2d58a7>0x1?void 0x0:_0x2d58a7?nr(_0x1aae89,_0x5e287b):_0x1aae89,_0x1e59d0=_0x299fb5[_0x538836(0x245)]-0x1,_0x4d428a;_0x1e59d0>=0x0;_0x1e59d0--)(_0x4d428a=_0x299fb5[_0x1e59d0])&&(_0xcbd00b=_0x4d428a(_0xcbd00b)||_0xcbd00b);return _0xcbd00b;},ke=(_0x34dd3b,_0x22f2a4)=>(_0x30da2e,_0x43025f)=>_0x22f2a4(_0x30da2e,_0x43025f,_0x34dd3b),lr=(_0x1f79b7,_0x1312c0,_0x42ed44)=>or(_0x1f79b7,_0x1312c0+'',_0x42ed44);let Pe=class extends _0x4b98d8{constructor(_0x146a74=Ft,_0x5338c6,_0x424488,_0x1623a3){const _0x32f78d=_0x321d1b;_0x146a74[_0x32f78d(0x2f1)]||_0x5338c6['warn'](_0x32f78d(0x24d)),super(),this[_0x32f78d(0x343)]=_0x424488,this[_0x32f78d(0x26e)]=_0x1623a3,this[_0x32f78d(0x343)][_0x32f78d(0x31f)](Be,_0x146a74);}[_0x321d1b(0x234)](){const _0x3f1599=_0x321d1b;this[_0x3f1599(0x1bd)]();}['_registerDependencies'](){const _0x30acf3=_0x321d1b;_0x12307e(this[_0x30acf3(0x26e)],[[_0x1bc607,{'useClass':Ne}]]);}};lr(Pe,_0x321d1b(0x250),_0x321d1b(0x1cc)),Pe=ar([_0x12e78d(_0x15c146),ke(0x1,_0x135ec6),ke(0x2,_0x102e63),ke(0x3,_0x3f1162(_0x5e4375))],Pe);var fr=Object[_0x321d1b(0x2be)],cr=(_0x2d08eb,_0x55b6be,_0x27bb68,_0x179bed)=>{const _0x3943af=_0x321d1b;for(var _0x46f679=_0x179bed>0x1?void 0x0:_0x179bed?fr(_0x55b6be,_0x27bb68):_0x55b6be,_0x5b5cad=_0x2d08eb[_0x3943af(0x245)]-0x1,_0x1bc6d7;_0x5b5cad>=0x0;_0x5b5cad--)(_0x1bc6d7=_0x2d08eb[_0x5b5cad])&&(_0x46f679=_0x1bc6d7(_0x46f679)||_0x46f679);return _0x46f679;},se=(_0x43d221,_0x36b201)=>(_0x1f107a,_0x540a50)=>_0x36b201(_0x1f107a,_0x540a50,_0x43d221);let at=class extends _0x15b2d4{constructor(_0x12cc8c,_0x309d7d,_0x4be8a2,_0x5d3c4c,_0x3645e7){const _0x1d1788=_0x321d1b;super(_0x12cc8c,_0x309d7d,_0x4be8a2,_0x5d3c4c,_0x3645e7);const _0x1185f6=this[_0x1d1788(0x343)][_0x1d1788(0x2bb)](Be);this[_0x1d1788(0x284)][_0x1d1788(0x20f)]({'interceptor':(_0x8dd3d5,_0x5725d2)=>{const _0x2ab145=_0x1d1788;var _0x1faa2a;const _0x92db2c=_0x8dd3d5[_0x2ab145(0x330)];return(_0x1faa2a=_0x1185f6==null?void 0x0:_0x1185f6[_0x2ab145(0x2f1)])!=null&&_0x1faa2a['cookie']&&_0x92db2c['set'](_0x2ab145(0x2ba),_0x1185f6[_0x2ab145(0x2f1)]['cookie']),_0x5725d2(_0x8dd3d5);}});}async[_0x321d1b(0x311)](_0x19e09a){const _0x2e4124=_0x321d1b;return this[_0x2e4124(0x19f)](_0x19e09a);}};at=cr([se(0x0,_0x3f1162(_0x5e4375)),se(0x1,_0x3f1162(_0x372ae7)),se(0x2,_0x102e63),se(0x3,_0x135ec6),se(0x4,_0x2aa131)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x5926c3=_0x194c;(function(_0x4b1293,_0x20c988){const _0x39ec2d=_0x194c,_0x54123d=_0x4b1293();while(!![]){try{const _0x3a197b=-parseInt(_0x39ec2d(0x187))/0x1*(parseInt(_0x39ec2d(0x1c0))/0x2)+parseInt(_0x39ec2d(0x17f))/0x3+-parseInt(_0x39ec2d(0x168))/0x4*(-parseInt(_0x39ec2d(0x195))/0x5)+parseInt(_0x39ec2d(0x243))/0x6+parseInt(_0x39ec2d(0x127))/0x7*(-parseInt(_0x39ec2d(0x23f))/0x8)+parseInt(_0x39ec2d(0x166))/0x9+-parseInt(_0x39ec2d(0x1ca))/0xa;if(_0x3a197b===_0x20c988)break;else _0x54123d['push'](_0x54123d['shift']());}catch(_0x46b3b1){_0x54123d['push'](_0x54123d['shift']());}}}(_0x39ca,0x8663c));import{UniverCollaborationClientPlugin as _0x397978,CollaborationSocketService as _0x5b5a69}from'@univerjs-pro/collaboration-client';import{Disposable as _0x175934,DisposableCollection as _0x36c8ab,toDisposable as _0x2070df,IConfigService as _0x136a70,DependentOn as _0xaf8a07,ILogService as _0x2c8472,Inject as _0x2b1461,Injector as _0x4efb55,Plugin as _0x44958f,registerDependencies as _0x274835}from'@univerjs/core';function _0x39ca(){const _0x413c31=['Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','base64','noServer','defineProperty','upgrade','once','_fragmented','13,\x208','binaryType','kError','writeUIntBE','_compressed','websocket','apply','Maximum\x20redirects\x20exceeded','options','address','_sender','test','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','cookie','_maxPayload','The\x20server\x20is\x20not\x20running','socket','protocol','server_no_context_takeover','find','kCode','message','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','reset','auth','type','server','_payloadLength','_maskBuffer','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','constructor','kListener','wsClientError','client_no_context_takeover','181237yVBKYV','total-length','createDeflateRaw','target','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','kIsForOnEventAttribute','timeout','_configService','close','haveLength','emit','concurrency','maxPayload','verifyClient','arraybuffer','socketPath','allowSynchronousEvents','onclose','nextTick','destroy','wasClean','_closeCode','binary','destroyed','default','backlog','addEventListener','sec-websocket-protocol','Z_SYNC_FLUSH','finish','path','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','setConfig','terminate','CLOSING','_errorEmitted','WebSocket','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Invalid\x20URL:\x20','shift','_read','invalid\x20payload\x20length\x20','_redirects','enqueue','join','forEach','kTarget','freeze','pong','HTTP/1.1\x20','text/html','search','_destroy','hash','rsv1','The\x20\x22','Parameter\x20\x22','host','writeUInt16BE','The\x20URL\x27s\x20pathname\x20is\x20empty','isServer','sec-websocket-extensions','origin','7771581hPZIWR','size','8488HyHeQO','reason','_messageLength','dispatch','Unexpected\x20character\x20at\x20index\x20','Invalid\x20Sec-WebSocket-Protocol\x20header','jobs','isInteger','kMessage','_mask','shouldHandle','onerror','Invalid\x20Upgrade\x20header','includes','maxRedirects','concurrencyLimit','prototype','wss:','_closeFrameSent','_closeTimer','location','_autoPong','request','2882199IrtpsE','\x0d\x0a\x0d\x0a','_shouldEmitClose','_totalPayloadLength','Blob','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','accept','read','4711SEBiyi','authorization','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','skipUTF8Validation','_fragments','client','_options','_bufferedAmount','_opcode','handleProtocols','_state','toStringTag','catch','ws+unix:','65HQrjSh','\x22\x20must\x20have\x20only\x20a\x20single\x20value','server_max_window_bits','OPEN','dispose','connect','fragments','set','replace','_bufferedBytes','Unsupported\x20protocol\x20version:\x20','emitClose','number','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','createInflateRaw','byteLength','ping','setSocket','Unexpected\x20end\x20of\x20input','clients','_compress','data','errorEmitted','write','has','kWasClean','_errored','_allowSynchronousEvents','charCodeAt','Sec-WebSocket-Accept:\x20','kReason','statusCode','_skipUTF8Validation','perMessageDeflate','isIP','getPayloadLength64','send','warn','_protocol','https:','Invalid\x20Sec-WebSocket-Extensions\x20header','_closeFrameReceived','Basic\x20','74DjzcYK','invalid\x20UTF-8\x20sequence','getMask','onmessage','handleUpgrade','headers','dequeue','from','fin','createError','14244310ajKpJX','WS_ERR_UNEXPECTED_RSV_1','unexpected-response','RSV1\x20must\x20be\x20clear','compress','Max\x20payload\x20size\x20exceeded','Z_DEFAULT_WINDOWBITS','opcode','string','removeEventListener','servername','startLoop','getOwnPropertyDescriptor','onopen','exports','kData','onStarting','_closeMessage','invalid\x20opcode\x200','readyState','WS_ERR_INVALID_CLOSE_CODE','object','registerHTTPInterceptor','method','listenerCount','_no_context_takeover','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_readableState','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','Module','Invalid\x20value\x20for\x20parameter\x20\x22','setHeader','listening','map','concat','pause','authorized','_req','Sec-WebSocket-Extensions:\x20','decompress','_readyState','_queue','captureStackTrace','call','CONNECTING','getBlobData','connection','acceptAsClient','alloc','sec-websocket-version','endEmitted','followRedirects','writeHead','error','customHeaders','_paused','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','env','_originalIpc','indexOf','STATUS_CODES','toString','invalid\x20opcode\x20','redirect','isBuffer','split','_isServer','listen','pathname','pipe','sendFrame','isArray','WS_NO_BUFFER_UTIL','text/plain','allocUnsafe','_removeListeners','readUInt16BE','readOnly','CLOSED','normalizeParams','WS_ERR_INVALID_UTF8','readUInt32BE','_url','_masked','_binaryType','Upgrade','push','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','extensionName','dataMessage','buffer','Upgrade:\x20websocket','_threshold','handshakeTimeout','_extensions','client_max_window_bits','HTTP/1.1\x20101\x20Switching\x20Protocols','extensions','flush','Connection:\x20Upgrade','_loop','createSocket','\x20(supported\x20versions:\x20','__esModule','params','setTimeout','threshold','getData','stream','_socket','_receiver','Invalid\x20WebSocket\x20frame:\x20','unmask','getConfig','value','8tAzHne','kDone','WS_ERR_UNEXPECTED_MASK','serverMaxWindowBits','1939566rcLFxq','generateMask','_originalSecure','pending','_fin','byteOffset','clientMaxWindowBits','WS_ERR_UNEXPECTED_RSV_2_3','cork','unshift','pow','removeAllListeners','_registerDependencies','kType','port','Unknown\x20parameter\x20\x22','defaultPort','offer','setNoDelay','slice','_generateMask','function','length','_max_window_bits','open','code','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_originalHostOrSocketPath','password','bufferedAmount','format','delete','isValidUTF8','kRun','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','finishRequest','removeListener','Opening\x20handshake\x20has\x20timed\x20out','clientNoContextTakeover','consume','conclude','\x22:\x20','_injector','username','next','Invalid\x20Sec-WebSocket-Accept\x20header','Invalid\x20HTTP\x20method','frame','readable','_decompress','isView','toLowerCase','zlibDeflateOptions','getPayloadLength16','hasOwnProperty','MASK\x20must\x20be\x20clear','mask','get','serverNoContextTakeover','_deflate','end','_firstFragment','WebSocket\x20is\x20not\x20open:\x20readyState\x20','sec-websocket-origin','_writableState','_server','ws:','hostname','finished','WS_ERR_INVALID_OPCODE','blob','invalid\x20status\x20code\x20','\x22\x20subprotocol\x20is\x20duplicated','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_write','_inflate','url','kAborted','completeUpgrade','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','isPaused','arrayBuffer','zlibInflateOptions','File','needDrain','protocolVersion','Cookie','species','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','GET','autoPong','getInfo','digest','create','_buffers','cleanup','resume','abort','_final','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','maskBuffer','add','parse','permessage-deflate','listeners','handleEvent','keys','acceptAsServer','href','bind'];_0x39ca=function(){return _0x413c31;};return _0x39ca();}import{ISocketService as _0x5202ea,HTTPService as _0x48c751}from'@univerjs/network';import{Observable as _0x44dddd,share as _0x140ffc}from'rxjs';import _0x1d99ef from'events';import _0x2995f2 from'https';import _0x2cb244 from'http';import _0x253b7d from'net';import _0x2b3089 from'tls';import _0x3f947e from'crypto';import _0x536e63 from'stream';import _0x50f3b8 from'url';import _0x2af16a from'zlib';import _0x296363 from'buffer';import{ISnapshotServerService as _0x58422f}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function Wt(_0x22119a){const _0xc6b977=_0x194c;return _0x22119a&&_0x22119a[_0xc6b977(0x233)]&&Object[_0xc6b977(0x178)][_0xc6b977(0x279)][_0xc6b977(0x1f5)](_0x22119a,_0xc6b977(0x13f))?_0x22119a[_0xc6b977(0x13f)]:_0x22119a;}function ut(_0x340c37){const _0xedf06c=_0x194c;if(Object[_0xedf06c(0x178)][_0xedf06c(0x279)]['call'](_0x340c37,_0xedf06c(0x233)))return _0x340c37;var _0x259498=_0x340c37[_0xedf06c(0x13f)];if(typeof _0x259498==_0xedf06c(0x258)){var _0x31e5a3=function _0x1ccef3(){const _0x1d35ac=_0xedf06c;var _0x475142=!0x1;try{_0x475142=this instanceof _0x1ccef3;}catch{}return _0x475142?Reflect['construct'](_0x259498,arguments,this[_0x1d35ac(0x123)]):_0x259498[_0x1d35ac(0x10b)](this,arguments);};_0x31e5a3[_0xedf06c(0x178)]=_0x259498[_0xedf06c(0x178)];}else _0x31e5a3={};return Object['defineProperty'](_0x31e5a3,_0xedf06c(0x233),{'value':!0x0}),Object[_0xedf06c(0xfa)](_0x340c37)['forEach'](function(_0x12e395){const _0x1ea8bc=_0xedf06c;var _0x500b20=Object[_0x1ea8bc(0x1d6)](_0x340c37,_0x12e395);Object[_0x1ea8bc(0x101)](_0x31e5a3,_0x12e395,_0x500b20[_0x1ea8bc(0x27c)]?_0x500b20:{'enumerable':!0x0,'get':function(){return _0x340c37[_0x12e395];}});}),_0x31e5a3;}var te={'exports':{}},ge,Ye;function V(){const _0x275fd6=_0x194c;if(Ye)return ge;Ye=0x1;const _0x5ce6d3=['nodebuffer',_0x275fd6(0x135),_0x275fd6(0x19b)],_0x1ab3a6=typeof Blob<'u';return _0x1ab3a6&&_0x5ce6d3[_0x275fd6(0x221)]('blob'),ge={'BINARY_TYPES':_0x5ce6d3,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x275fd6(0x184),'hasBlob':_0x1ab3a6,'kForOnEventAttribute':Symbol(_0x275fd6(0x12c)),'kListener':Symbol(_0x275fd6(0x124)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x275fd6(0x10a)),'NOOP':()=>{}},ge;}const jt={},Gt=Object['freeze'](Object[_0x5926c3(0x101)]({'__proto__':null,'default':jt},Symbol['toStringTag'],{'value':_0x5926c3(0x1e7)})),Vt=ut(Gt);var Ke;function ce(){const _0x2a9843=_0x5926c3;if(Ke)return te[_0x2a9843(0x1d8)];Ke=0x1;const {EMPTY_BUFFER:_0xfad6e8}=V(),_0x29eb9f=Buffer[Symbol[_0x2a9843(0xe7)]];function _0x58a042(_0x349d62,_0xc4f95e){const _0x2054ad=_0x2a9843;if(_0x349d62[_0x2054ad(0x259)]===0x0)return _0xfad6e8;if(_0x349d62[_0x2054ad(0x259)]===0x1)return _0x349d62[0x0];const _0x5b291f=Buffer['allocUnsafe'](_0xc4f95e);let _0xa1622c=0x0;for(let _0x1809fb=0x0;_0x1809fb<_0x349d62[_0x2054ad(0x259)];_0x1809fb++){const _0x29b2aa=_0x349d62[_0x1809fb];_0x5b291f[_0x2054ad(0x19c)](_0x29b2aa,_0xa1622c),_0xa1622c+=_0x29b2aa[_0x2054ad(0x259)];}return _0xa1622c<_0xc4f95e?new _0x29eb9f(_0x5b291f[_0x2054ad(0x226)],_0x5b291f[_0x2054ad(0x248)],_0xa1622c):_0x5b291f;}function _0x3aad59(_0x49e8d8,_0x370851,_0x39540e,_0x158f52,_0x134d2e){for(let _0x551070=0x0;_0x551070<_0x134d2e;_0x551070++)_0x39540e[_0x158f52+_0x551070]=_0x49e8d8[_0x551070]^_0x370851[_0x551070&0x3];}function _0x4f884a(_0x4917a9,_0x5ecbea){const _0x4504b1=_0x2a9843;for(let _0x578037=0x0;_0x578037<_0x4917a9[_0x4504b1(0x259)];_0x578037++)_0x4917a9[_0x578037]^=_0x5ecbea[_0x578037&0x3];}function _0x6ba780(_0x583eb4){const _0x2bc837=_0x2a9843;return _0x583eb4[_0x2bc837(0x259)]===_0x583eb4[_0x2bc837(0x226)]['byteLength']?_0x583eb4['buffer']:_0x583eb4[_0x2bc837(0x226)][_0x2bc837(0x256)](_0x583eb4[_0x2bc837(0x248)],_0x583eb4['byteOffset']+_0x583eb4[_0x2bc837(0x259)]);}function _0x1bac11(_0x2b6a8c){const _0x95a9b2=_0x2a9843;if(_0x1bac11['readOnly']=!0x0,Buffer[_0x95a9b2(0x20b)](_0x2b6a8c))return _0x2b6a8c;let _0x39d120;return _0x2b6a8c instanceof ArrayBuffer?_0x39d120=new _0x29eb9f(_0x2b6a8c):ArrayBuffer[_0x95a9b2(0x275)](_0x2b6a8c)?_0x39d120=new _0x29eb9f(_0x2b6a8c[_0x95a9b2(0x226)],_0x2b6a8c[_0x95a9b2(0x248)],_0x2b6a8c[_0x95a9b2(0x1a4)]):(_0x39d120=Buffer['from'](_0x2b6a8c),_0x1bac11['readOnly']=!0x1),_0x39d120;}if(te[_0x2a9843(0x1d8)]={'concat':_0x58a042,'mask':_0x3aad59,'toArrayBuffer':_0x6ba780,'toBuffer':_0x1bac11,'unmask':_0x4f884a},!process[_0x2a9843(0x204)][_0x2a9843(0x213)])try{const _0xfcf2ce=Vt;te[_0x2a9843(0x1d8)][_0x2a9843(0x27b)]=function(_0x2754ad,_0x2f1d1f,_0x48dd73,_0x1c5d54,_0x19618a){const _0x369699=_0x2a9843;_0x19618a<0x30?_0x3aad59(_0x2754ad,_0x2f1d1f,_0x48dd73,_0x1c5d54,_0x19618a):_0xfcf2ce[_0x369699(0x27b)](_0x2754ad,_0x2f1d1f,_0x48dd73,_0x1c5d54,_0x19618a);},te[_0x2a9843(0x1d8)][_0x2a9843(0x23c)]=function(_0x95973e,_0xc103e5){const _0x2d128f=_0x2a9843;_0x95973e[_0x2d128f(0x259)]<0x20?_0x4f884a(_0x95973e,_0xc103e5):_0xfcf2ce[_0x2d128f(0x23c)](_0x95973e,_0xc103e5);};}catch{}return te[_0x2a9843(0x1d8)];}var ye,Xe;function qt(){const _0x5d118d=_0x5926c3;if(Xe)return ye;Xe=0x1;const _0x406ed6=Symbol(_0x5d118d(0x240)),_0x5f1a36=Symbol(_0x5d118d(0x264));class _0x9e14df{constructor(_0x3ab75d){const _0x3ec914=_0x5d118d;this[_0x406ed6]=()=>{const _0xeab2d7=_0x194c;this[_0xeab2d7(0x246)]--,this[_0x5f1a36]();},this['concurrency']=_0x3ab75d||0x1/0x0,this[_0x3ec914(0x16e)]=[],this[_0x3ec914(0x246)]=0x0;}[_0x5d118d(0xf5)](_0x57ada6){const _0x411e1f=_0x5d118d;this[_0x411e1f(0x16e)][_0x411e1f(0x221)](_0x57ada6),this[_0x5f1a36]();}[_0x5f1a36](){const _0x59250a=_0x5d118d;if(this[_0x59250a(0x246)]!==this[_0x59250a(0x132)]&&this[_0x59250a(0x16e)][_0x59250a(0x259)]){const _0x3d71f4=this[_0x59250a(0x16e)][_0x59250a(0x14e)]();this[_0x59250a(0x246)]++,_0x3d71f4(this[_0x406ed6]);}}}return ye=_0x9e14df,ye;}var ve,Ze;function he(){const _0x329719=_0x5926c3;if(Ze)return ve;Ze=0x1;const _0xc022b3=_0x2af16a,_0x5f0463=ce(),_0x25fe6d=qt(),{kStatusCode:_0x2f5463}=V(),_0x28f262=Buffer[Symbol[_0x329719(0xe7)]],_0x4f85f8=Buffer[_0x329719(0x1c7)]([0x0,0x0,0xff,0xff]),_0x1aab53=Symbol(_0x329719(0xf7)),_0x403c51=Symbol(_0x329719(0x128)),_0x4d8775=Symbol('callback'),_0x47b094=Symbol('buffers'),_0x1a82f0=Symbol(_0x329719(0x1ff));let _0x3e721f;class _0x31742e{constructor(_0x7cdcdc,_0x5e3dfe,_0x1ea465){const _0x293828=_0x329719;if(this['_maxPayload']=_0x1ea465|0x0,this[_0x293828(0x18d)]=_0x7cdcdc||{},this[_0x293828(0x228)]=this['_options'][_0x293828(0x236)]!==void 0x0?this[_0x293828(0x18d)][_0x293828(0x236)]:0x400,this[_0x293828(0x20d)]=!!_0x5e3dfe,this[_0x293828(0x27e)]=null,this[_0x293828(0xdb)]=null,this[_0x293828(0x234)]=null,!_0x3e721f){const _0x39e594=this['_options']['concurrencyLimit']!==void 0x0?this[_0x293828(0x18d)][_0x293828(0x177)]:0xa;_0x3e721f=new _0x25fe6d(_0x39e594);}}static get[_0x329719(0x224)](){const _0x7406b1=_0x329719;return _0x7406b1(0xf7);}[_0x329719(0x254)](){const _0xbe4eae=_0x329719,_0x356e64={};return this[_0xbe4eae(0x18d)][_0xbe4eae(0x27d)]&&(_0x356e64[_0xbe4eae(0x117)]=!0x0),this[_0xbe4eae(0x18d)]['clientNoContextTakeover']&&(_0x356e64[_0xbe4eae(0x126)]=!0x0),this[_0xbe4eae(0x18d)][_0xbe4eae(0x242)]&&(_0x356e64[_0xbe4eae(0x197)]=this[_0xbe4eae(0x18d)][_0xbe4eae(0x242)]),this[_0xbe4eae(0x18d)][_0xbe4eae(0x249)]?_0x356e64['client_max_window_bits']=this[_0xbe4eae(0x18d)][_0xbe4eae(0x249)]:this[_0xbe4eae(0x18d)][_0xbe4eae(0x249)]==null&&(_0x356e64[_0xbe4eae(0x22b)]=!0x0),_0x356e64;}[_0x329719(0x185)](_0x495fb6){const _0x1e3784=_0x329719;return _0x495fb6=this[_0x1e3784(0x21a)](_0x495fb6),this[_0x1e3784(0x234)]=this['_isServer']?this[_0x1e3784(0xfb)](_0x495fb6):this[_0x1e3784(0x1f9)](_0x495fb6),this['params'];}[_0x329719(0xef)](){const _0x1d0cad=_0x329719;if(this[_0x1d0cad(0xdb)]&&(this[_0x1d0cad(0xdb)][_0x1d0cad(0x12f)](),this[_0x1d0cad(0xdb)]=null),this[_0x1d0cad(0x27e)]){const _0x3151b2=this[_0x1d0cad(0x27e)][_0x4d8775];this[_0x1d0cad(0x27e)][_0x1d0cad(0x12f)](),this[_0x1d0cad(0x27e)]=null,_0x3151b2&&_0x3151b2(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x329719(0xfb)](_0x4eb611){const _0x392f4f=_0x329719,_0x44f5d6=this[_0x392f4f(0x18d)],_0x2933c8=_0x4eb611[_0x392f4f(0x118)](_0xa4e7ee=>!(_0x44f5d6[_0x392f4f(0x27d)]===!0x1&&_0xa4e7ee[_0x392f4f(0x117)]||_0xa4e7ee[_0x392f4f(0x197)]&&(_0x44f5d6[_0x392f4f(0x242)]===!0x1||typeof _0x44f5d6['serverMaxWindowBits']==_0x392f4f(0x1a1)&&_0x44f5d6[_0x392f4f(0x242)]>_0xa4e7ee[_0x392f4f(0x197)])||typeof _0x44f5d6[_0x392f4f(0x249)]==_0x392f4f(0x1a1)&&!_0xa4e7ee['client_max_window_bits']));if(!_0x2933c8)throw new Error(_0x392f4f(0x203));return _0x44f5d6[_0x392f4f(0x27d)]&&(_0x2933c8[_0x392f4f(0x117)]=!0x0),_0x44f5d6[_0x392f4f(0x269)]&&(_0x2933c8[_0x392f4f(0x126)]=!0x0),typeof _0x44f5d6[_0x392f4f(0x242)]==_0x392f4f(0x1a1)&&(_0x2933c8[_0x392f4f(0x197)]=_0x44f5d6[_0x392f4f(0x242)]),typeof _0x44f5d6[_0x392f4f(0x249)]==_0x392f4f(0x1a1)?_0x2933c8[_0x392f4f(0x22b)]=_0x44f5d6['clientMaxWindowBits']:(_0x2933c8[_0x392f4f(0x22b)]===!0x0||_0x44f5d6['clientMaxWindowBits']===!0x1)&&delete _0x2933c8[_0x392f4f(0x22b)],_0x2933c8;}['acceptAsClient'](_0x36140d){const _0x46d84d=_0x329719,_0x135123=_0x36140d[0x0];if(this['_options'][_0x46d84d(0x269)]===!0x1&&_0x135123['client_no_context_takeover'])throw new Error(_0x46d84d(0x189));if(!_0x135123['client_max_window_bits'])typeof this[_0x46d84d(0x18d)][_0x46d84d(0x249)]==_0x46d84d(0x1a1)&&(_0x135123[_0x46d84d(0x22b)]=this[_0x46d84d(0x18d)][_0x46d84d(0x249)]);else{if(this['_options']['clientMaxWindowBits']===!0x1||typeof this[_0x46d84d(0x18d)][_0x46d84d(0x249)]==_0x46d84d(0x1a1)&&_0x135123[_0x46d84d(0x22b)]>this['_options'][_0x46d84d(0x249)])throw new Error(_0x46d84d(0x1a2));}return _0x135123;}[_0x329719(0x21a)](_0x4996ca){const _0x2511c7=_0x329719;return _0x4996ca[_0x2511c7(0x154)](_0x30d958=>{const _0x473895=_0x2511c7;Object[_0x473895(0xfa)](_0x30d958)['forEach'](_0x3587ef=>{const _0x173493=_0x473895;let _0x3ac6ed=_0x30d958[_0x3587ef];if(_0x3ac6ed[_0x173493(0x259)]>0x1)throw new Error(_0x173493(0x15f)+_0x3587ef+_0x173493(0x196));if(_0x3ac6ed=_0x3ac6ed[0x0],_0x3587ef==='client_max_window_bits'){if(_0x3ac6ed!==!0x0){const _0x24400f=+_0x3ac6ed;if(!Number['isInteger'](_0x24400f)||_0x24400f<0x8||_0x24400f>0xf)throw new TypeError(_0x173493(0x1e8)+_0x3587ef+_0x173493(0x26c)+_0x3ac6ed);_0x3ac6ed=_0x24400f;}else{if(!this[_0x173493(0x20d)])throw new TypeError(_0x173493(0x1e8)+_0x3587ef+_0x173493(0x26c)+_0x3ac6ed);}}else{if(_0x3587ef===_0x173493(0x197)){const _0x1b620f=+_0x3ac6ed;if(!Number[_0x173493(0x16f)](_0x1b620f)||_0x1b620f<0x8||_0x1b620f>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3587ef+_0x173493(0x26c)+_0x3ac6ed);_0x3ac6ed=_0x1b620f;}else{if(_0x3587ef==='client_no_context_takeover'||_0x3587ef===_0x173493(0x117)){if(_0x3ac6ed!==!0x0)throw new TypeError(_0x173493(0x1e8)+_0x3587ef+_0x173493(0x26c)+_0x3ac6ed);}else throw new Error(_0x173493(0x252)+_0x3587ef+'\x22');}}_0x30d958[_0x3587ef]=_0x3ac6ed;});}),_0x4996ca;}['decompress'](_0x4fc2ff,_0x1de57f,_0x2155d3){_0x3e721f['add'](_0x4eeec4=>{const _0x57f8f8=_0x194c;this[_0x57f8f8(0x274)](_0x4fc2ff,_0x1de57f,(_0x5ec8bb,_0x109b4e)=>{_0x4eeec4(),_0x2155d3(_0x5ec8bb,_0x109b4e);});});}[_0x329719(0x1ce)](_0x4255c6,_0x1314eb,_0x11da00){_0x3e721f['add'](_0x48fd72=>{const _0x430970=_0x194c;this[_0x430970(0x1a9)](_0x4255c6,_0x1314eb,(_0x48b6ce,_0x5edad2)=>{_0x48fd72(),_0x11da00(_0x48b6ce,_0x5edad2);});});}[_0x329719(0x274)](_0x568bbb,_0x35726e,_0x312a93){const _0x14922e=_0x329719,_0x42702c=this[_0x14922e(0x20d)]?_0x14922e(0x18c):_0x14922e(0x11f);if(!this[_0x14922e(0xdb)]){const _0x497fd6=_0x42702c+_0x14922e(0x25a),_0x5b4e2c=typeof this[_0x14922e(0x234)][_0x497fd6]!=_0x14922e(0x1a1)?_0xc022b3[_0x14922e(0x1d0)]:this[_0x14922e(0x234)][_0x497fd6];this[_0x14922e(0xdb)]=_0xc022b3[_0x14922e(0x1a3)]({...this[_0x14922e(0x18d)][_0x14922e(0xe2)],'windowBits':_0x5b4e2c}),this[_0x14922e(0xdb)][_0x1aab53]=this,this[_0x14922e(0xdb)][_0x403c51]=0x0,this[_0x14922e(0xdb)][_0x47b094]=[],this[_0x14922e(0xdb)]['on'](_0x14922e(0x1ff),_0x53d50d),this[_0x14922e(0xdb)]['on'](_0x14922e(0x1aa),_0x2e5db9);}this[_0x14922e(0xdb)][_0x4d8775]=_0x312a93,this[_0x14922e(0xdb)][_0x14922e(0x1ac)](_0x568bbb),_0x35726e&&this[_0x14922e(0xdb)][_0x14922e(0x1ac)](_0x4f85f8),this[_0x14922e(0xdb)]['flush'](()=>{const _0x5dfaee=_0x14922e,_0x4266f5=this['_inflate'][_0x1a82f0];if(_0x4266f5){this[_0x5dfaee(0xdb)][_0x5dfaee(0x12f)](),this['_inflate']=null,_0x312a93(_0x4266f5);return;}const _0xc4d1c5=_0x5f0463[_0x5dfaee(0x1ec)](this[_0x5dfaee(0xdb)][_0x47b094],this[_0x5dfaee(0xdb)][_0x403c51]);this[_0x5dfaee(0xdb)]['_readableState']['endEmitted']?(this[_0x5dfaee(0xdb)][_0x5dfaee(0x12f)](),this[_0x5dfaee(0xdb)]=null):(this[_0x5dfaee(0xdb)][_0x403c51]=0x0,this[_0x5dfaee(0xdb)][_0x47b094]=[],_0x35726e&&this[_0x5dfaee(0x234)][_0x42702c+'_no_context_takeover']&&this[_0x5dfaee(0xdb)][_0x5dfaee(0x11c)]()),_0x312a93(null,_0xc4d1c5);});}['_compress'](_0x16aec6,_0x4ec390,_0x39aee8){const _0x3f23a5=_0x329719,_0xf745fa=this[_0x3f23a5(0x20d)]?_0x3f23a5(0x11f):_0x3f23a5(0x18c);if(!this[_0x3f23a5(0x27e)]){const _0x30a71e=_0xf745fa+_0x3f23a5(0x25a),_0x24f259=typeof this['params'][_0x30a71e]!=_0x3f23a5(0x1a1)?_0xc022b3[_0x3f23a5(0x1d0)]:this[_0x3f23a5(0x234)][_0x30a71e];this[_0x3f23a5(0x27e)]=_0xc022b3[_0x3f23a5(0x129)]({...this['_options'][_0x3f23a5(0x277)],'windowBits':_0x24f259}),this[_0x3f23a5(0x27e)][_0x403c51]=0x0,this[_0x3f23a5(0x27e)][_0x47b094]=[],this[_0x3f23a5(0x27e)]['on']('data',_0x598868);}this[_0x3f23a5(0x27e)][_0x4d8775]=_0x39aee8,this['_deflate']['write'](_0x16aec6),this['_deflate'][_0x3f23a5(0x22e)](_0xc022b3[_0x3f23a5(0x143)],()=>{const _0x55c99f=_0x3f23a5;if(!this[_0x55c99f(0x27e)])return;let _0x29926e=_0x5f0463[_0x55c99f(0x1ec)](this[_0x55c99f(0x27e)][_0x47b094],this['_deflate'][_0x403c51]);_0x4ec390&&(_0x29926e=new _0x28f262(_0x29926e[_0x55c99f(0x226)],_0x29926e['byteOffset'],_0x29926e[_0x55c99f(0x259)]-0x4)),this['_deflate'][_0x4d8775]=null,this['_deflate'][_0x403c51]=0x0,this[_0x55c99f(0x27e)][_0x47b094]=[],_0x4ec390&&this[_0x55c99f(0x234)][_0xf745fa+_0x55c99f(0x1e3)]&&this[_0x55c99f(0x27e)][_0x55c99f(0x11c)](),_0x39aee8(null,_0x29926e);});}}ve=_0x31742e;function _0x598868(_0x513698){const _0x5e2ca2=_0x329719;this[_0x47b094][_0x5e2ca2(0x221)](_0x513698),this[_0x403c51]+=_0x513698[_0x5e2ca2(0x259)];}function _0x2e5db9(_0x2e4ec4){const _0x362df7=_0x329719;if(this[_0x403c51]+=_0x2e4ec4[_0x362df7(0x259)],this[_0x1aab53]['_maxPayload']<0x1||this[_0x403c51]<=this[_0x1aab53][_0x362df7(0x113)]){this[_0x47b094][_0x362df7(0x221)](_0x2e4ec4);return;}this[_0x1a82f0]=new RangeError(_0x362df7(0x1cf)),this[_0x1a82f0][_0x362df7(0x25c)]=_0x362df7(0xdf),this[_0x1a82f0][_0x2f5463]=0x3f1,this[_0x362df7(0x267)](_0x362df7(0x1aa),_0x2e5db9),this[_0x362df7(0x11c)]();}function _0x53d50d(_0x1e15c0){const _0xc53f01=_0x329719;if(this[_0x1aab53][_0xc53f01(0xdb)]=null,this[_0x1a82f0]){this[_0x4d8775](this[_0x1a82f0]);return;}_0x1e15c0[_0x2f5463]=0x3ef,this[_0x4d8775](_0x1e15c0);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x5926c3(0x156)](Object[_0x5926c3(0x101)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x364677=_0x5926c3;if(Qe)return re[_0x364677(0x1d8)];Qe=0x1;const {isUtf8:_0x41c150}=_0x296363,{hasBlob:_0x58b639}=V(),_0x292b74=[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 _0x388954(_0x3f356c){return _0x3f356c>=0x3e8&&_0x3f356c<=0x3f6&&_0x3f356c!==0x3ec&&_0x3f356c!==0x3ed&&_0x3f356c!==0x3ee||_0x3f356c>=0xbb8&&_0x3f356c<=0x1387;}function _0x34cde7(_0x51ca88){const _0x1eff81=_0x364677,_0x279e2d=_0x51ca88[_0x1eff81(0x259)];let _0x41088f=0x0;for(;_0x41088f<_0x279e2d;)if((_0x51ca88[_0x41088f]&0x80)===0x0)_0x41088f++;else{if((_0x51ca88[_0x41088f]&0xe0)===0xc0){if(_0x41088f+0x1===_0x279e2d||(_0x51ca88[_0x41088f+0x1]&0xc0)!==0x80||(_0x51ca88[_0x41088f]&0xfe)===0xc0)return!0x1;_0x41088f+=0x2;}else{if((_0x51ca88[_0x41088f]&0xf0)===0xe0){if(_0x41088f+0x2>=_0x279e2d||(_0x51ca88[_0x41088f+0x1]&0xc0)!==0x80||(_0x51ca88[_0x41088f+0x2]&0xc0)!==0x80||_0x51ca88[_0x41088f]===0xe0&&(_0x51ca88[_0x41088f+0x1]&0xe0)===0x80||_0x51ca88[_0x41088f]===0xed&&(_0x51ca88[_0x41088f+0x1]&0xe0)===0xa0)return!0x1;_0x41088f+=0x3;}else{if((_0x51ca88[_0x41088f]&0xf8)===0xf0){if(_0x41088f+0x3>=_0x279e2d||(_0x51ca88[_0x41088f+0x1]&0xc0)!==0x80||(_0x51ca88[_0x41088f+0x2]&0xc0)!==0x80||(_0x51ca88[_0x41088f+0x3]&0xc0)!==0x80||_0x51ca88[_0x41088f]===0xf0&&(_0x51ca88[_0x41088f+0x1]&0xf0)===0x80||_0x51ca88[_0x41088f]===0xf4&&_0x51ca88[_0x41088f+0x1]>0x8f||_0x51ca88[_0x41088f]>0xf4)return!0x1;_0x41088f+=0x4;}else return!0x1;}}}return!0x0;}function _0x16e39d(_0x55ab68){const _0x4a81d0=_0x364677;return _0x58b639&&typeof _0x55ab68==_0x4a81d0(0x1df)&&typeof _0x55ab68['arrayBuffer']=='function'&&typeof _0x55ab68[_0x4a81d0(0x11e)]==_0x4a81d0(0x1d2)&&typeof _0x55ab68[_0x4a81d0(0x238)]=='function'&&(_0x55ab68[Symbol[_0x4a81d0(0x192)]]===_0x4a81d0(0x183)||_0x55ab68[Symbol[_0x4a81d0(0x192)]]===_0x4a81d0(0xe3));}if(re[_0x364677(0x1d8)]={'isBlob':_0x16e39d,'isValidStatusCode':_0x388954,'isValidUTF8':_0x34cde7,'tokenChars':_0x292b74},_0x41c150)re[_0x364677(0x1d8)][_0x364677(0x263)]=function(_0x17f561){const _0x1a6974=_0x364677;return _0x17f561[_0x1a6974(0x259)]<0x18?_0x34cde7(_0x17f561):_0x41c150(_0x17f561);};else{if(!process[_0x364677(0x204)]['WS_NO_UTF_8_VALIDATE'])try{const _0x23806c=Yt;re['exports'][_0x364677(0x263)]=function(_0xb40e6c){return _0xb40e6c['length']<0x20?_0x34cde7(_0xb40e6c):_0x23806c(_0xb40e6c);};}catch{}}return re[_0x364677(0x1d8)];}var Se,Je;function dt(){const _0x1e22eb=_0x5926c3;if(Je)return Se;Je=0x1;const {Writable:_0x4e58a2}=_0x536e63,_0x19ebec=he(),{BINARY_TYPES:_0x19ff7d,EMPTY_BUFFER:_0x37cec6,kStatusCode:_0x48d5fd,kWebSocket:_0x547e84}=V(),{concat:_0x36f8a7,toArrayBuffer:_0x2196fa,unmask:_0x58c6fa}=ce(),{isValidStatusCode:_0x56675c,isValidUTF8:_0x382853}=ne(),_0x453c0e=Buffer[Symbol[_0x1e22eb(0xe7)]],_0x3a4730=0x0,_0x20e668=0x1,_0x14027b=0x2,_0x5dbdba=0x3,_0x2c529a=0x4,_0x4049eb=0x5,_0xad0008=0x6;class _0x3b7ebd extends _0x4e58a2{constructor(_0x1f411a={}){const _0x4e853d=_0x1e22eb;super(),this[_0x4e853d(0x1b0)]=_0x1f411a['allowSynchronousEvents']!==void 0x0?_0x1f411a[_0x4e853d(0x137)]:!0x0,this[_0x4e853d(0x21f)]=_0x1f411a[_0x4e853d(0x106)]||_0x19ff7d[0x0],this[_0x4e853d(0x22a)]=_0x1f411a['extensions']||{},this[_0x4e853d(0x20d)]=!!_0x1f411a[_0x4e853d(0x163)],this[_0x4e853d(0x113)]=_0x1f411a[_0x4e853d(0x133)]|0x0,this[_0x4e853d(0x1b5)]=!!_0x1f411a['skipUTF8Validation'],this[_0x547e84]=void 0x0,this[_0x4e853d(0x19e)]=0x0,this[_0x4e853d(0xee)]=[],this['_compressed']=!0x1,this[_0x4e853d(0x120)]=0x0,this[_0x4e853d(0x171)]=void 0x0,this[_0x4e853d(0x104)]=0x0,this[_0x4e853d(0x21e)]=!0x1,this[_0x4e853d(0x247)]=!0x1,this[_0x4e853d(0x18f)]=0x0,this[_0x4e853d(0x182)]=0x0,this[_0x4e853d(0x16a)]=0x0,this['_fragments']=[],this[_0x4e853d(0x1af)]=!0x1,this[_0x4e853d(0x230)]=!0x1,this['_state']=_0x3a4730;}['_write'](_0x29caed,_0x25d0d6,_0x95266e){const _0xbe65df=_0x1e22eb;if(this[_0xbe65df(0x18f)]===0x8&&this[_0xbe65df(0x191)]==_0x3a4730)return _0x95266e();this['_bufferedBytes']+=_0x29caed[_0xbe65df(0x259)],this['_buffers'][_0xbe65df(0x221)](_0x29caed),this['startLoop'](_0x95266e);}[_0x1e22eb(0x26a)](_0x4feac5){const _0x5266b1=_0x1e22eb;if(this[_0x5266b1(0x19e)]-=_0x4feac5,_0x4feac5===this[_0x5266b1(0xee)][0x0][_0x5266b1(0x259)])return this[_0x5266b1(0xee)]['shift']();if(_0x4feac5<this[_0x5266b1(0xee)][0x0]['length']){const _0x54272a=this['_buffers'][0x0];return this[_0x5266b1(0xee)][0x0]=new _0x453c0e(_0x54272a[_0x5266b1(0x226)],_0x54272a[_0x5266b1(0x248)]+_0x4feac5,_0x54272a[_0x5266b1(0x259)]-_0x4feac5),new _0x453c0e(_0x54272a[_0x5266b1(0x226)],_0x54272a[_0x5266b1(0x248)],_0x4feac5);}const _0x31d961=Buffer[_0x5266b1(0x215)](_0x4feac5);do{const _0x480141=this[_0x5266b1(0xee)][0x0],_0x3bd43c=_0x31d961['length']-_0x4feac5;_0x4feac5>=_0x480141[_0x5266b1(0x259)]?_0x31d961[_0x5266b1(0x19c)](this[_0x5266b1(0xee)]['shift'](),_0x3bd43c):(_0x31d961[_0x5266b1(0x19c)](new Uint8Array(_0x480141[_0x5266b1(0x226)],_0x480141[_0x5266b1(0x248)],_0x4feac5),_0x3bd43c),this[_0x5266b1(0xee)][0x0]=new _0x453c0e(_0x480141[_0x5266b1(0x226)],_0x480141[_0x5266b1(0x248)]+_0x4feac5,_0x480141[_0x5266b1(0x259)]-_0x4feac5)),_0x4feac5-=_0x480141['length'];}while(_0x4feac5>0x0);return _0x31d961;}['startLoop'](_0x1ae966){const _0x577cdc=_0x1e22eb;this['_loop']=!0x0;do switch(this[_0x577cdc(0x191)]){case _0x3a4730:this[_0x577cdc(0xeb)](_0x1ae966);break;case _0x20e668:this[_0x577cdc(0x278)](_0x1ae966);break;case _0x14027b:this[_0x577cdc(0x1b8)](_0x1ae966);break;case _0x5dbdba:this[_0x577cdc(0x1c2)]();break;case _0x2c529a:this[_0x577cdc(0x237)](_0x1ae966);break;case _0x4049eb:case _0xad0008:this[_0x577cdc(0x230)]=!0x1;return;}while(this[_0x577cdc(0x230)]);this[_0x577cdc(0x1af)]||_0x1ae966();}[_0x1e22eb(0xeb)](_0x2c6b65){const _0x1b6473=_0x1e22eb;if(this[_0x1b6473(0x19e)]<0x2){this['_loop']=!0x1;return;}const _0x463256=this[_0x1b6473(0x26a)](0x2);if((_0x463256[0x0]&0x30)!==0x0){const _0x2240e1=this['createError'](RangeError,_0x1b6473(0xf3),!0x0,0x3ea,_0x1b6473(0x24a));_0x2c6b65(_0x2240e1);return;}const _0xe5f7f2=(_0x463256[0x0]&0x40)===0x40;if(_0xe5f7f2&&!this['_extensions'][_0x19ebec[_0x1b6473(0x224)]]){const _0x30f5b5=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x2c6b65(_0x30f5b5);return;}if(this[_0x1b6473(0x247)]=(_0x463256[0x0]&0x80)===0x80,this[_0x1b6473(0x18f)]=_0x463256[0x0]&0xf,this[_0x1b6473(0x120)]=_0x463256[0x1]&0x7f,this[_0x1b6473(0x18f)]===0x0){if(_0xe5f7f2){const _0x509962=this['createError'](RangeError,_0x1b6473(0x1cd),!0x0,0x3ea,_0x1b6473(0x1cb));_0x2c6b65(_0x509962);return;}if(!this[_0x1b6473(0x104)]){const _0x23dd56=this[_0x1b6473(0x1c9)](RangeError,_0x1b6473(0x1dc),!0x0,0x3ea,_0x1b6473(0xd5));_0x2c6b65(_0x23dd56);return;}this[_0x1b6473(0x18f)]=this[_0x1b6473(0x104)];}else{if(this[_0x1b6473(0x18f)]===0x1||this['_opcode']===0x2){if(this[_0x1b6473(0x104)]){const _0x523b83=this[_0x1b6473(0x1c9)](RangeError,_0x1b6473(0x209)+this['_opcode'],!0x0,0x3ea,_0x1b6473(0xd5));_0x2c6b65(_0x523b83);return;}this[_0x1b6473(0x109)]=_0xe5f7f2;}else{if(this[_0x1b6473(0x18f)]>0x7&&this['_opcode']<0xb){if(!this[_0x1b6473(0x247)]){const _0x4b0e5f=this['createError'](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x2c6b65(_0x4b0e5f);return;}if(_0xe5f7f2){const _0x2367b1=this[_0x1b6473(0x1c9)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x2c6b65(_0x2367b1);return;}if(this[_0x1b6473(0x120)]>0x7d||this['_opcode']===0x8&&this[_0x1b6473(0x120)]===0x1){const _0xee6ac=this[_0x1b6473(0x1c9)](RangeError,_0x1b6473(0x150)+this[_0x1b6473(0x120)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x2c6b65(_0xee6ac);return;}}else{const _0x7864e1=this[_0x1b6473(0x1c9)](RangeError,_0x1b6473(0x209)+this['_opcode'],!0x0,0x3ea,_0x1b6473(0xd5));_0x2c6b65(_0x7864e1);return;}}}if(!this[_0x1b6473(0x247)]&&!this['_fragmented']&&(this[_0x1b6473(0x104)]=this[_0x1b6473(0x18f)]),this['_masked']=(_0x463256[0x1]&0x80)===0x80,this[_0x1b6473(0x20d)]){if(!this[_0x1b6473(0x21e)]){const _0x54b1ea=this[_0x1b6473(0x1c9)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x2c6b65(_0x54b1ea);return;}}else{if(this[_0x1b6473(0x21e)]){const _0x4c9892=this[_0x1b6473(0x1c9)](RangeError,_0x1b6473(0x27a),!0x0,0x3ea,_0x1b6473(0x241));_0x2c6b65(_0x4c9892);return;}}this[_0x1b6473(0x120)]===0x7e?this[_0x1b6473(0x191)]=_0x20e668:this['_payloadLength']===0x7f?this[_0x1b6473(0x191)]=_0x14027b:this[_0x1b6473(0x130)](_0x2c6b65);}[_0x1e22eb(0x278)](_0x2415c2){const _0x3c0088=_0x1e22eb;if(this['_bufferedBytes']<0x2){this[_0x3c0088(0x230)]=!0x1;return;}this[_0x3c0088(0x120)]=this['consume'](0x2)['readUInt16BE'](0x0),this[_0x3c0088(0x130)](_0x2415c2);}[_0x1e22eb(0x1b8)](_0xff8720){const _0x208cd9=_0x1e22eb;if(this['_bufferedBytes']<0x8){this[_0x208cd9(0x230)]=!0x1;return;}const _0xdc1cf8=this[_0x208cd9(0x26a)](0x8),_0x14d809=_0xdc1cf8[_0x208cd9(0x21c)](0x0);if(_0x14d809>Math[_0x208cd9(0x24d)](0x2,0x15)-0x1){const _0x4bed40=this[_0x208cd9(0x1c9)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0xff8720(_0x4bed40);return;}this['_payloadLength']=_0x14d809*Math['pow'](0x2,0x20)+_0xdc1cf8[_0x208cd9(0x21c)](0x4),this[_0x208cd9(0x130)](_0xff8720);}[_0x1e22eb(0x130)](_0x20b6e0){const _0x1cb391=_0x1e22eb;if(this['_payloadLength']&&this['_opcode']<0x8&&(this[_0x1cb391(0x182)]+=this['_payloadLength'],this[_0x1cb391(0x182)]>this[_0x1cb391(0x113)]&&this[_0x1cb391(0x113)]>0x0)){const _0x1c61d7=this[_0x1cb391(0x1c9)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x1cb391(0xdf));_0x20b6e0(_0x1c61d7);return;}this['_masked']?this[_0x1cb391(0x191)]=_0x5dbdba:this['_state']=_0x2c529a;}[_0x1e22eb(0x1c2)](){const _0x678410=_0x1e22eb;if(this[_0x678410(0x19e)]<0x4){this[_0x678410(0x230)]=!0x1;return;}this[_0x678410(0x171)]=this[_0x678410(0x26a)](0x4),this[_0x678410(0x191)]=_0x2c529a;}[_0x1e22eb(0x237)](_0x173968){const _0x4b3f62=_0x1e22eb;let _0x33f350=_0x37cec6;if(this[_0x4b3f62(0x120)]){if(this[_0x4b3f62(0x19e)]<this[_0x4b3f62(0x120)]){this['_loop']=!0x1;return;}_0x33f350=this[_0x4b3f62(0x26a)](this[_0x4b3f62(0x120)]),this['_masked']&&(this['_mask'][0x0]|this['_mask'][0x1]|this[_0x4b3f62(0x171)][0x2]|this[_0x4b3f62(0x171)][0x3])!==0x0&&_0x58c6fa(_0x33f350,this['_mask']);}if(this[_0x4b3f62(0x18f)]>0x7){this['controlMessage'](_0x33f350,_0x173968);return;}if(this[_0x4b3f62(0x109)]){this[_0x4b3f62(0x191)]=_0x4049eb,this[_0x4b3f62(0x1f1)](_0x33f350,_0x173968);return;}_0x33f350[_0x4b3f62(0x259)]&&(this[_0x4b3f62(0x16a)]=this['_totalPayloadLength'],this[_0x4b3f62(0x18b)][_0x4b3f62(0x221)](_0x33f350)),this[_0x4b3f62(0x225)](_0x173968);}[_0x1e22eb(0x1f1)](_0x3aaaa7,_0x335228){const _0x3306a9=_0x1e22eb;this['_extensions'][_0x19ebec[_0x3306a9(0x224)]][_0x3306a9(0x1f1)](_0x3aaaa7,this[_0x3306a9(0x247)],(_0x30ebe3,_0x5f718)=>{const _0x16575b=_0x3306a9;if(_0x30ebe3)return _0x335228(_0x30ebe3);if(_0x5f718[_0x16575b(0x259)]){if(this['_messageLength']+=_0x5f718['length'],this[_0x16575b(0x16a)]>this['_maxPayload']&&this['_maxPayload']>0x0){const _0x4cee69=this[_0x16575b(0x1c9)](RangeError,_0x16575b(0x1cf),!0x1,0x3f1,_0x16575b(0xdf));_0x335228(_0x4cee69);return;}this[_0x16575b(0x18b)][_0x16575b(0x221)](_0x5f718);}this['dataMessage'](_0x335228),this['_state']===_0x3a4730&&this[_0x16575b(0x1d5)](_0x335228);});}[_0x1e22eb(0x225)](_0x43939c){const _0x541aaa=_0x1e22eb;if(!this['_fin']){this['_state']=_0x3a4730;return;}const _0x304348=this[_0x541aaa(0x16a)],_0xf0c7e8=this['_fragments'];if(this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this['_fragmented']=0x0,this[_0x541aaa(0x18b)]=[],this[_0x541aaa(0x18f)]===0x2){let _0x5bc940;this['_binaryType']==='nodebuffer'?_0x5bc940=_0x36f8a7(_0xf0c7e8,_0x304348):this['_binaryType']==='arraybuffer'?_0x5bc940=_0x2196fa(_0x36f8a7(_0xf0c7e8,_0x304348)):this[_0x541aaa(0x21f)]===_0x541aaa(0xd6)?_0x5bc940=new Blob(_0xf0c7e8):_0x5bc940=_0xf0c7e8,this[_0x541aaa(0x1b0)]?(this[_0x541aaa(0x131)](_0x541aaa(0x11a),_0x5bc940,!0x0),this[_0x541aaa(0x191)]=_0x3a4730):(this[_0x541aaa(0x191)]=_0xad0008,setImmediate(()=>{const _0x4045a4=_0x541aaa;this['emit'](_0x4045a4(0x11a),_0x5bc940,!0x0),this['_state']=_0x3a4730,this[_0x4045a4(0x1d5)](_0x43939c);}));}else{const _0x571666=_0x36f8a7(_0xf0c7e8,_0x304348);if(!this[_0x541aaa(0x1b5)]&&!_0x382853(_0x571666)){const _0xddc4f6=this[_0x541aaa(0x1c9)](Error,_0x541aaa(0x1c1),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x43939c(_0xddc4f6);return;}this[_0x541aaa(0x191)]===_0x4049eb||this[_0x541aaa(0x1b0)]?(this[_0x541aaa(0x131)](_0x541aaa(0x11a),_0x571666,!0x1),this[_0x541aaa(0x191)]=_0x3a4730):(this[_0x541aaa(0x191)]=_0xad0008,setImmediate(()=>{const _0x4b3632=_0x541aaa;this[_0x4b3632(0x131)]('message',_0x571666,!0x1),this[_0x4b3632(0x191)]=_0x3a4730,this[_0x4b3632(0x1d5)](_0x43939c);}));}}['controlMessage'](_0x3e5195,_0x335cef){const _0x2d51e9=_0x1e22eb;if(this[_0x2d51e9(0x18f)]===0x8){if(_0x3e5195[_0x2d51e9(0x259)]===0x0)this['_loop']=!0x1,this[_0x2d51e9(0x131)](_0x2d51e9(0x26b),0x3ed,_0x37cec6),this['end']();else{const _0x17c572=_0x3e5195[_0x2d51e9(0x217)](0x0);if(!_0x56675c(_0x17c572)){const _0x26d993=this[_0x2d51e9(0x1c9)](RangeError,_0x2d51e9(0xd7)+_0x17c572,!0x0,0x3ea,_0x2d51e9(0x1de));_0x335cef(_0x26d993);return;}const _0x15ba9a=new _0x453c0e(_0x3e5195[_0x2d51e9(0x226)],_0x3e5195[_0x2d51e9(0x248)]+0x2,_0x3e5195[_0x2d51e9(0x259)]-0x2);if(!this[_0x2d51e9(0x1b5)]&&!_0x382853(_0x15ba9a)){const _0x36cac2=this[_0x2d51e9(0x1c9)](Error,_0x2d51e9(0x1c1),!0x0,0x3ef,_0x2d51e9(0x21b));_0x335cef(_0x36cac2);return;}this[_0x2d51e9(0x230)]=!0x1,this[_0x2d51e9(0x131)](_0x2d51e9(0x26b),_0x17c572,_0x15ba9a),this[_0x2d51e9(0x27f)]();}this['_state']=_0x3a4730;return;}this['_allowSynchronousEvents']?(this[_0x2d51e9(0x131)](this[_0x2d51e9(0x18f)]===0x9?_0x2d51e9(0x1a5):'pong',_0x3e5195),this[_0x2d51e9(0x191)]=_0x3a4730):(this[_0x2d51e9(0x191)]=_0xad0008,setImmediate(()=>{const _0xc23544=_0x2d51e9;this['emit'](this[_0xc23544(0x18f)]===0x9?_0xc23544(0x1a5):_0xc23544(0x157),_0x3e5195),this[_0xc23544(0x191)]=_0x3a4730,this[_0xc23544(0x1d5)](_0x335cef);}));}['createError'](_0x1e8b3d,_0x493fa1,_0x48556f,_0x8ca60b,_0x5538f2){const _0x59d86f=_0x1e22eb;this[_0x59d86f(0x230)]=!0x1,this[_0x59d86f(0x1af)]=!0x0;const _0x246a7c=new _0x1e8b3d(_0x48556f?_0x59d86f(0x23b)+_0x493fa1:_0x493fa1);return Error[_0x59d86f(0x1f4)](_0x246a7c,this[_0x59d86f(0x1c9)]),_0x246a7c['code']=_0x5538f2,_0x246a7c[_0x48d5fd]=_0x8ca60b,_0x246a7c;}}return Se=_0x3b7ebd,Se;}var Ee,et;function _t(){const _0x806a81=_0x5926c3;if(et)return Ee;et=0x1;const {Duplex:_0x207819}=_0x536e63,{randomFillSync:_0x3bf0b5}=_0x3f947e,_0x2815a5=he(),{EMPTY_BUFFER:_0x4feb0b,kWebSocket:_0x1f8a2f,NOOP:_0x5b6caf}=V(),{isBlob:_0x1bd5e7,isValidStatusCode:_0x377db7}=ne(),{mask:_0x3b4a11,toBuffer:_0x185144}=ce(),_0x33d33f=Symbol('kByteLength'),_0x861d66=Buffer[_0x806a81(0x1fa)](0x4),_0x43a6d1=0x8*0x400;let _0x24af5d,_0x1d45cd=_0x43a6d1;const _0xc2722=0x0,_0x59f74f=0x1,_0x3f45c8=0x2;class _0x35f272{constructor(_0x5ce7e8,_0x395736,_0xb57a04){const _0x1676cd=_0x806a81;this['_extensions']=_0x395736||{},_0xb57a04&&(this['_generateMask']=_0xb57a04,this[_0x1676cd(0x121)]=Buffer[_0x1676cd(0x1fa)](0x4)),this['_socket']=_0x5ce7e8,this[_0x1676cd(0x280)]=!0x0,this[_0x1676cd(0x1a9)]=!0x1,this[_0x1676cd(0x19e)]=0x0,this[_0x1676cd(0x1f3)]=[],this[_0x1676cd(0x191)]=_0xc2722,this[_0x1676cd(0x173)]=_0x5b6caf,this[_0x1f8a2f]=void 0x0;}static[_0x806a81(0x272)](_0x4e20dc,_0x76ed57){const _0xf71e0f=_0x806a81;let _0x11741f,_0x19c31a=!0x1,_0x1d1601=0x2,_0x403ca6=!0x1;_0x76ed57[_0xf71e0f(0x27b)]&&(_0x11741f=_0x76ed57[_0xf71e0f(0xf4)]||_0x861d66,_0x76ed57['generateMask']?_0x76ed57[_0xf71e0f(0x244)](_0x11741f):(_0x1d45cd===_0x43a6d1&&(_0x24af5d===void 0x0&&(_0x24af5d=Buffer[_0xf71e0f(0x1fa)](_0x43a6d1)),_0x3bf0b5(_0x24af5d,0x0,_0x43a6d1),_0x1d45cd=0x0),_0x11741f[0x0]=_0x24af5d[_0x1d45cd++],_0x11741f[0x1]=_0x24af5d[_0x1d45cd++],_0x11741f[0x2]=_0x24af5d[_0x1d45cd++],_0x11741f[0x3]=_0x24af5d[_0x1d45cd++]),_0x403ca6=(_0x11741f[0x0]|_0x11741f[0x1]|_0x11741f[0x2]|_0x11741f[0x3])===0x0,_0x1d1601=0x6);let _0x131c27;typeof _0x4e20dc==_0xf71e0f(0x1d2)?(!_0x76ed57[_0xf71e0f(0x27b)]||_0x403ca6)&&_0x76ed57[_0x33d33f]!==void 0x0?_0x131c27=_0x76ed57[_0x33d33f]:(_0x4e20dc=Buffer[_0xf71e0f(0x1c7)](_0x4e20dc),_0x131c27=_0x4e20dc['length']):(_0x131c27=_0x4e20dc[_0xf71e0f(0x259)],_0x19c31a=_0x76ed57['mask']&&_0x76ed57[_0xf71e0f(0x218)]&&!_0x403ca6);let _0x57b41c=_0x131c27;_0x131c27>=0x10000?(_0x1d1601+=0x8,_0x57b41c=0x7f):_0x131c27>0x7d&&(_0x1d1601+=0x2,_0x57b41c=0x7e);const _0x42479e=Buffer['allocUnsafe'](_0x19c31a?_0x131c27+_0x1d1601:_0x1d1601);return _0x42479e[0x0]=_0x76ed57[_0xf71e0f(0x1c8)]?_0x76ed57[_0xf71e0f(0x1d1)]|0x80:_0x76ed57['opcode'],_0x76ed57[_0xf71e0f(0x15d)]&&(_0x42479e[0x0]|=0x40),_0x42479e[0x1]=_0x57b41c,_0x57b41c===0x7e?_0x42479e['writeUInt16BE'](_0x131c27,0x2):_0x57b41c===0x7f&&(_0x42479e[0x2]=_0x42479e[0x3]=0x0,_0x42479e[_0xf71e0f(0x108)](_0x131c27,0x4,0x6)),_0x76ed57[_0xf71e0f(0x27b)]?(_0x42479e[0x1]|=0x80,_0x42479e[_0x1d1601-0x4]=_0x11741f[0x0],_0x42479e[_0x1d1601-0x3]=_0x11741f[0x1],_0x42479e[_0x1d1601-0x2]=_0x11741f[0x2],_0x42479e[_0x1d1601-0x1]=_0x11741f[0x3],_0x403ca6?[_0x42479e,_0x4e20dc]:_0x19c31a?(_0x3b4a11(_0x4e20dc,_0x11741f,_0x42479e,_0x1d1601,_0x131c27),[_0x42479e]):(_0x3b4a11(_0x4e20dc,_0x11741f,_0x4e20dc,0x0,_0x131c27),[_0x42479e,_0x4e20dc])):[_0x42479e,_0x4e20dc];}[_0x806a81(0x12f)](_0x583ce2,_0x1cbf09,_0x5f5788,_0x2c14d5){const _0x11b2c4=_0x806a81;let _0x2c801a;if(_0x583ce2===void 0x0)_0x2c801a=_0x4feb0b;else{if(typeof _0x583ce2!=_0x11b2c4(0x1a1)||!_0x377db7(_0x583ce2))throw new TypeError(_0x11b2c4(0x1e4));if(_0x1cbf09===void 0x0||!_0x1cbf09[_0x11b2c4(0x259)])_0x2c801a=Buffer[_0x11b2c4(0x215)](0x2),_0x2c801a['writeUInt16BE'](_0x583ce2,0x0);else{const _0x5d6cae=Buffer[_0x11b2c4(0x1a4)](_0x1cbf09);if(_0x5d6cae>0x7b)throw new RangeError(_0x11b2c4(0xe8));_0x2c801a=Buffer['allocUnsafe'](0x2+_0x5d6cae),_0x2c801a[_0x11b2c4(0x161)](_0x583ce2,0x0),typeof _0x1cbf09==_0x11b2c4(0x1d2)?_0x2c801a[_0x11b2c4(0x1ac)](_0x1cbf09,0x2):_0x2c801a['set'](_0x1cbf09,0x2);}}const _0x3d2a8d={[_0x33d33f]:_0x2c801a[_0x11b2c4(0x259)],'fin':!0x0,'generateMask':this[_0x11b2c4(0x257)],'mask':_0x5f5788,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0xc2722?this[_0x11b2c4(0x152)]([this['dispatch'],_0x2c801a,!0x1,_0x3d2a8d,_0x2c14d5]):this['sendFrame'](_0x35f272['frame'](_0x2c801a,_0x3d2a8d),_0x2c14d5);}['ping'](_0x54e19d,_0x56966d,_0xbd7c){const _0x4a4b0d=_0x806a81;let _0x1df856,_0x2f7925;if(typeof _0x54e19d==_0x4a4b0d(0x1d2)?(_0x1df856=Buffer[_0x4a4b0d(0x1a4)](_0x54e19d),_0x2f7925=!0x1):_0x1bd5e7(_0x54e19d)?(_0x1df856=_0x54e19d[_0x4a4b0d(0x167)],_0x2f7925=!0x1):(_0x54e19d=_0x185144(_0x54e19d),_0x1df856=_0x54e19d[_0x4a4b0d(0x259)],_0x2f7925=_0x185144[_0x4a4b0d(0x218)]),_0x1df856>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x385f5c={[_0x33d33f]:_0x1df856,'fin':!0x0,'generateMask':this[_0x4a4b0d(0x257)],'mask':_0x56966d,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x2f7925,'rsv1':!0x1};_0x1bd5e7(_0x54e19d)?this[_0x4a4b0d(0x191)]!==_0xc2722?this['enqueue']([this['getBlobData'],_0x54e19d,!0x1,_0x385f5c,_0xbd7c]):this[_0x4a4b0d(0x1f7)](_0x54e19d,!0x1,_0x385f5c,_0xbd7c):this['_state']!==_0xc2722?this[_0x4a4b0d(0x152)]([this[_0x4a4b0d(0x16b)],_0x54e19d,!0x1,_0x385f5c,_0xbd7c]):this[_0x4a4b0d(0x211)](_0x35f272[_0x4a4b0d(0x272)](_0x54e19d,_0x385f5c),_0xbd7c);}['pong'](_0x10a079,_0x55230d,_0x1996d5){const _0x33b81e=_0x806a81;let _0x5008fa,_0x24fc1d;if(typeof _0x10a079==_0x33b81e(0x1d2)?(_0x5008fa=Buffer[_0x33b81e(0x1a4)](_0x10a079),_0x24fc1d=!0x1):_0x1bd5e7(_0x10a079)?(_0x5008fa=_0x10a079[_0x33b81e(0x167)],_0x24fc1d=!0x1):(_0x10a079=_0x185144(_0x10a079),_0x5008fa=_0x10a079[_0x33b81e(0x259)],_0x24fc1d=_0x185144[_0x33b81e(0x218)]),_0x5008fa>0x7d)throw new RangeError(_0x33b81e(0x12b));const _0x10d53e={[_0x33d33f]:_0x5008fa,'fin':!0x0,'generateMask':this[_0x33b81e(0x257)],'mask':_0x55230d,'maskBuffer':this[_0x33b81e(0x121)],'opcode':0xa,'readOnly':_0x24fc1d,'rsv1':!0x1};_0x1bd5e7(_0x10a079)?this['_state']!==_0xc2722?this['enqueue']([this[_0x33b81e(0x1f7)],_0x10a079,!0x1,_0x10d53e,_0x1996d5]):this['getBlobData'](_0x10a079,!0x1,_0x10d53e,_0x1996d5):this[_0x33b81e(0x191)]!==_0xc2722?this[_0x33b81e(0x152)]([this[_0x33b81e(0x16b)],_0x10a079,!0x1,_0x10d53e,_0x1996d5]):this['sendFrame'](_0x35f272[_0x33b81e(0x272)](_0x10a079,_0x10d53e),_0x1996d5);}[_0x806a81(0x1b9)](_0x5dba3d,_0x477d12,_0x192162){const _0x48236c=_0x806a81,_0x3788e3=this[_0x48236c(0x22a)][_0x2815a5[_0x48236c(0x224)]];let _0x4b1f07=_0x477d12[_0x48236c(0x13d)]?0x2:0x1,_0x31f260=_0x477d12[_0x48236c(0x1ce)],_0x509929,_0x217625;typeof _0x5dba3d=='string'?(_0x509929=Buffer[_0x48236c(0x1a4)](_0x5dba3d),_0x217625=!0x1):_0x1bd5e7(_0x5dba3d)?(_0x509929=_0x5dba3d[_0x48236c(0x167)],_0x217625=!0x1):(_0x5dba3d=_0x185144(_0x5dba3d),_0x509929=_0x5dba3d[_0x48236c(0x259)],_0x217625=_0x185144[_0x48236c(0x218)]),this[_0x48236c(0x280)]?(this[_0x48236c(0x280)]=!0x1,_0x31f260&&_0x3788e3&&_0x3788e3['params'][_0x3788e3['_isServer']?_0x48236c(0x117):'client_no_context_takeover']&&(_0x31f260=_0x509929>=_0x3788e3[_0x48236c(0x228)]),this[_0x48236c(0x1a9)]=_0x31f260):(_0x31f260=!0x1,_0x4b1f07=0x0),_0x477d12['fin']&&(this[_0x48236c(0x280)]=!0x0);const _0x4fbc2c={[_0x33d33f]:_0x509929,'fin':_0x477d12[_0x48236c(0x1c8)],'generateMask':this[_0x48236c(0x257)],'mask':_0x477d12['mask'],'maskBuffer':this['_maskBuffer'],'opcode':_0x4b1f07,'readOnly':_0x217625,'rsv1':_0x31f260};_0x1bd5e7(_0x5dba3d)?this[_0x48236c(0x191)]!==_0xc2722?this[_0x48236c(0x152)]([this[_0x48236c(0x1f7)],_0x5dba3d,this[_0x48236c(0x1a9)],_0x4fbc2c,_0x192162]):this[_0x48236c(0x1f7)](_0x5dba3d,this[_0x48236c(0x1a9)],_0x4fbc2c,_0x192162):this['_state']!==_0xc2722?this[_0x48236c(0x152)]([this[_0x48236c(0x16b)],_0x5dba3d,this[_0x48236c(0x1a9)],_0x4fbc2c,_0x192162]):this[_0x48236c(0x16b)](_0x5dba3d,this[_0x48236c(0x1a9)],_0x4fbc2c,_0x192162);}['getBlobData'](_0x54ecd,_0x4f36db,_0x1fb429,_0x27347a){const _0x477777=_0x806a81;this[_0x477777(0x19e)]+=_0x1fb429[_0x33d33f],this[_0x477777(0x191)]=_0x3f45c8,_0x54ecd[_0x477777(0xe1)]()['then'](_0xdc6b78=>{const _0x3257f8=_0x477777;if(this[_0x3257f8(0x239)]['destroyed']){const _0x14f90b=new Error(_0x3257f8(0x122));process['nextTick'](_0x54d64d,this,_0x14f90b,_0x27347a);return;}this[_0x3257f8(0x19e)]-=_0x1fb429[_0x33d33f];const _0x398e3e=_0x185144(_0xdc6b78);_0x4f36db?this[_0x3257f8(0x16b)](_0x398e3e,_0x4f36db,_0x1fb429,_0x27347a):(this['_state']=_0xc2722,this[_0x3257f8(0x211)](_0x35f272['frame'](_0x398e3e,_0x1fb429),_0x27347a),this[_0x3257f8(0x1c6)]());})[_0x477777(0x193)](_0xc1ef20=>{const _0x35fef7=_0x477777;process[_0x35fef7(0x139)](_0xc94a68,this,_0xc1ef20,_0x27347a);});}[_0x806a81(0x16b)](_0x4ef11f,_0x2d568e,_0x277e24,_0x5549da){const _0x2fa5a6=_0x806a81;if(!_0x2d568e){this[_0x2fa5a6(0x211)](_0x35f272[_0x2fa5a6(0x272)](_0x4ef11f,_0x277e24),_0x5549da);return;}const _0x469c68=this[_0x2fa5a6(0x22a)][_0x2815a5[_0x2fa5a6(0x224)]];this[_0x2fa5a6(0x19e)]+=_0x277e24[_0x33d33f],this['_state']=_0x59f74f,_0x469c68[_0x2fa5a6(0x1ce)](_0x4ef11f,_0x277e24[_0x2fa5a6(0x1c8)],(_0x57870a,_0x92469)=>{const _0x3d2730=_0x2fa5a6;if(this[_0x3d2730(0x239)][_0x3d2730(0x13e)]){const _0x380233=new Error(_0x3d2730(0x25d));_0x54d64d(this,_0x380233,_0x5549da);return;}this[_0x3d2730(0x19e)]-=_0x277e24[_0x33d33f],this[_0x3d2730(0x191)]=_0xc2722,_0x277e24['readOnly']=!0x1,this[_0x3d2730(0x211)](_0x35f272[_0x3d2730(0x272)](_0x92469,_0x277e24),_0x5549da),this[_0x3d2730(0x1c6)]();});}[_0x806a81(0x1c6)](){const _0x4ceb8a=_0x806a81;for(;this[_0x4ceb8a(0x191)]===_0xc2722&&this[_0x4ceb8a(0x1f3)]['length'];){const _0xa7d076=this[_0x4ceb8a(0x1f3)][_0x4ceb8a(0x14e)]();this[_0x4ceb8a(0x19e)]-=_0xa7d076[0x3][_0x33d33f],Reflect[_0x4ceb8a(0x10b)](_0xa7d076[0x0],this,_0xa7d076[_0x4ceb8a(0x256)](0x1));}}[_0x806a81(0x152)](_0x4f7a04){const _0x349298=_0x806a81;this[_0x349298(0x19e)]+=_0x4f7a04[0x3][_0x33d33f],this['_queue'][_0x349298(0x221)](_0x4f7a04);}[_0x806a81(0x211)](_0x46f83b,_0x3a4b21){const _0x3cfb42=_0x806a81;_0x46f83b[_0x3cfb42(0x259)]===0x2?(this[_0x3cfb42(0x239)][_0x3cfb42(0x24b)](),this[_0x3cfb42(0x239)][_0x3cfb42(0x1ac)](_0x46f83b[0x0]),this[_0x3cfb42(0x239)][_0x3cfb42(0x1ac)](_0x46f83b[0x1],_0x3a4b21),this[_0x3cfb42(0x239)]['uncork']()):this[_0x3cfb42(0x239)][_0x3cfb42(0x1ac)](_0x46f83b[0x0],_0x3a4b21);}}Ee=_0x35f272;function _0x54d64d(_0x26379b,_0x23807e,_0x586701){const _0x505ac1=_0x806a81;typeof _0x586701==_0x505ac1(0x258)&&_0x586701(_0x23807e);for(let _0x47b8ad=0x0;_0x47b8ad<_0x26379b[_0x505ac1(0x1f3)][_0x505ac1(0x259)];_0x47b8ad++){const _0x6e3eac=_0x26379b[_0x505ac1(0x1f3)][_0x47b8ad],_0x5ab50f=_0x6e3eac[_0x6e3eac['length']-0x1];typeof _0x5ab50f==_0x505ac1(0x258)&&_0x5ab50f(_0x23807e);}}function _0xc94a68(_0x4146ad,_0xf3acd0,_0x31ca0f){const _0x516652=_0x806a81;_0x54d64d(_0x4146ad,_0xf3acd0,_0x31ca0f),_0x4146ad[_0x516652(0x173)](_0xf3acd0);}return Ee;}var xe,tt;function Kt(){const _0x188fc6=_0x5926c3;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x4fe669,kListener:_0x2ed987}=V(),_0x23237e=Symbol(_0x188fc6(0x119)),_0x46ea65=Symbol(_0x188fc6(0x1d9)),_0x3f38ec=Symbol(_0x188fc6(0x107)),_0x554d16=Symbol(_0x188fc6(0x170)),_0x30fedd=Symbol(_0x188fc6(0x1b3)),_0x637276=Symbol(_0x188fc6(0x155)),_0x31ccbc=Symbol(_0x188fc6(0x250)),_0x4c25bd=Symbol(_0x188fc6(0x1ae));class _0x2f1153{constructor(_0x143ebd){this[_0x637276]=null,this[_0x31ccbc]=_0x143ebd;}get[_0x188fc6(0x12a)](){return this[_0x637276];}get[_0x188fc6(0x11e)](){return this[_0x31ccbc];}}Object['defineProperty'](_0x2f1153[_0x188fc6(0x178)],_0x188fc6(0x12a),{'enumerable':!0x0}),Object[_0x188fc6(0x101)](_0x2f1153[_0x188fc6(0x178)],_0x188fc6(0x11e),{'enumerable':!0x0});class _0x4e2bfe extends _0x2f1153{constructor(_0x494be8,_0x429914={}){const _0x1c88ad=_0x188fc6;super(_0x494be8),this[_0x23237e]=_0x429914[_0x1c88ad(0x25c)]===void 0x0?0x0:_0x429914['code'],this[_0x30fedd]=_0x429914[_0x1c88ad(0x169)]===void 0x0?'':_0x429914['reason'],this[_0x4c25bd]=_0x429914[_0x1c88ad(0x13b)]===void 0x0?!0x1:_0x429914['wasClean'];}get[_0x188fc6(0x25c)](){return this[_0x23237e];}get[_0x188fc6(0x169)](){return this[_0x30fedd];}get[_0x188fc6(0x13b)](){return this[_0x4c25bd];}}Object[_0x188fc6(0x101)](_0x4e2bfe[_0x188fc6(0x178)],'code',{'enumerable':!0x0}),Object['defineProperty'](_0x4e2bfe[_0x188fc6(0x178)],_0x188fc6(0x169),{'enumerable':!0x0}),Object[_0x188fc6(0x101)](_0x4e2bfe[_0x188fc6(0x178)],'wasClean',{'enumerable':!0x0});class _0x42e918 extends _0x2f1153{constructor(_0x18a9b9,_0x8a2be={}){const _0x5c16ee=_0x188fc6;super(_0x18a9b9),this[_0x3f38ec]=_0x8a2be[_0x5c16ee(0x1ff)]===void 0x0?null:_0x8a2be['error'],this[_0x554d16]=_0x8a2be[_0x5c16ee(0x11a)]===void 0x0?'':_0x8a2be['message'];}get[_0x188fc6(0x1ff)](){return this[_0x3f38ec];}get[_0x188fc6(0x11a)](){return this[_0x554d16];}}Object[_0x188fc6(0x101)](_0x42e918[_0x188fc6(0x178)],_0x188fc6(0x1ff),{'enumerable':!0x0}),Object[_0x188fc6(0x101)](_0x42e918[_0x188fc6(0x178)],_0x188fc6(0x11a),{'enumerable':!0x0});class _0x7c48a6 extends _0x2f1153{constructor(_0xb2125d,_0x1e84b6={}){const _0x55accb=_0x188fc6;super(_0xb2125d),this[_0x46ea65]=_0x1e84b6[_0x55accb(0x1aa)]===void 0x0?null:_0x1e84b6[_0x55accb(0x1aa)];}get['data'](){return this[_0x46ea65];}}Object['defineProperty'](_0x7c48a6[_0x188fc6(0x178)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x4e2bfe,'ErrorEvent':_0x42e918,'Event':_0x2f1153,'EventTarget':{'addEventListener'(_0xd8ec49,_0x1caaff,_0x40af37={}){const _0x59d58f=_0x188fc6;for(const _0x56c724 of this['listeners'](_0xd8ec49))if(!_0x40af37[_0x4fe669]&&_0x56c724[_0x2ed987]===_0x1caaff&&!_0x56c724[_0x4fe669])return;let _0x17bd4a;if(_0xd8ec49===_0x59d58f(0x11a))_0x17bd4a=function(_0x87ef49,_0x7077ae){const _0xafc82d=_0x59d58f,_0x2b188d=new _0x7c48a6(_0xafc82d(0x11a),{'data':_0x7077ae?_0x87ef49:_0x87ef49[_0xafc82d(0x208)]()});_0x2b188d[_0x637276]=this,_0x64bbca(_0x1caaff,this,_0x2b188d);};else{if(_0xd8ec49===_0x59d58f(0x12f))_0x17bd4a=function(_0x775816,_0x29cb9a){const _0x2e1b99=_0x59d58f,_0x241eaf=new _0x4e2bfe(_0x2e1b99(0x12f),{'code':_0x775816,'reason':_0x29cb9a[_0x2e1b99(0x208)](),'wasClean':this[_0x2e1b99(0x1be)]&&this[_0x2e1b99(0x17a)]});_0x241eaf[_0x637276]=this,_0x64bbca(_0x1caaff,this,_0x241eaf);};else{if(_0xd8ec49===_0x59d58f(0x1ff))_0x17bd4a=function(_0x40a582){const _0x15e671=_0x59d58f,_0x921536=new _0x42e918(_0x15e671(0x1ff),{'error':_0x40a582,'message':_0x40a582[_0x15e671(0x11a)]});_0x921536[_0x637276]=this,_0x64bbca(_0x1caaff,this,_0x921536);};else{if(_0xd8ec49==='open')_0x17bd4a=function(){const _0x18e50a=_0x59d58f,_0xfb982d=new _0x2f1153(_0x18e50a(0x25b));_0xfb982d[_0x637276]=this,_0x64bbca(_0x1caaff,this,_0xfb982d);};else return;}}}_0x17bd4a[_0x4fe669]=!!_0x40af37[_0x4fe669],_0x17bd4a[_0x2ed987]=_0x1caaff,_0x40af37[_0x59d58f(0x103)]?this[_0x59d58f(0x103)](_0xd8ec49,_0x17bd4a):this['on'](_0xd8ec49,_0x17bd4a);},'removeEventListener'(_0xe53b1b,_0x1f504a){const _0x3b1305=_0x188fc6;for(const _0x4325a2 of this[_0x3b1305(0xf8)](_0xe53b1b))if(_0x4325a2[_0x2ed987]===_0x1f504a&&!_0x4325a2[_0x4fe669]){this[_0x3b1305(0x267)](_0xe53b1b,_0x4325a2);break;}}},'MessageEvent':_0x7c48a6};function _0x64bbca(_0x73510f,_0x372d31,_0x46e94b){const _0x2b5e61=_0x188fc6;typeof _0x73510f=='object'&&_0x73510f[_0x2b5e61(0xf9)]?_0x73510f[_0x2b5e61(0xf9)][_0x2b5e61(0x1f5)](_0x73510f,_0x46e94b):_0x73510f[_0x2b5e61(0x1f5)](_0x372d31,_0x46e94b);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x3d4c59}=ne();function _0x258cf6(_0x36d50b,_0xc9d574,_0x55d9ac){const _0x2b9f2e=_0x194c;_0x36d50b[_0xc9d574]===void 0x0?_0x36d50b[_0xc9d574]=[_0x55d9ac]:_0x36d50b[_0xc9d574][_0x2b9f2e(0x221)](_0x55d9ac);}function _0x582ef8(_0x4aeadb){const _0x54d6aa=_0x194c,_0x1d6516=Object[_0x54d6aa(0xed)](null);let _0x390273=Object[_0x54d6aa(0xed)](null),_0x10f14e=!0x1,_0x22a69f=!0x1,_0x537dbc=!0x1,_0x431a86,_0x133595,_0x2449f9=-0x1,_0x3c48a5=-0x1,_0x2ea170=-0x1,_0x7cb662=0x0;for(;_0x7cb662<_0x4aeadb[_0x54d6aa(0x259)];_0x7cb662++)if(_0x3c48a5=_0x4aeadb[_0x54d6aa(0x1b1)](_0x7cb662),_0x431a86===void 0x0){if(_0x2ea170===-0x1&&_0x3d4c59[_0x3c48a5]===0x1)_0x2449f9===-0x1&&(_0x2449f9=_0x7cb662);else{if(_0x7cb662!==0x0&&(_0x3c48a5===0x20||_0x3c48a5===0x9))_0x2ea170===-0x1&&_0x2449f9!==-0x1&&(_0x2ea170=_0x7cb662);else{if(_0x3c48a5===0x3b||_0x3c48a5===0x2c){if(_0x2449f9===-0x1)throw new SyntaxError(_0x54d6aa(0x16c)+_0x7cb662);_0x2ea170===-0x1&&(_0x2ea170=_0x7cb662);const _0x1b3ec8=_0x4aeadb[_0x54d6aa(0x256)](_0x2449f9,_0x2ea170);_0x3c48a5===0x2c?(_0x258cf6(_0x1d6516,_0x1b3ec8,_0x390273),_0x390273=Object['create'](null)):_0x431a86=_0x1b3ec8,_0x2449f9=_0x2ea170=-0x1;}else throw new SyntaxError(_0x54d6aa(0x16c)+_0x7cb662);}}}else{if(_0x133595===void 0x0){if(_0x2ea170===-0x1&&_0x3d4c59[_0x3c48a5]===0x1)_0x2449f9===-0x1&&(_0x2449f9=_0x7cb662);else{if(_0x3c48a5===0x20||_0x3c48a5===0x9)_0x2ea170===-0x1&&_0x2449f9!==-0x1&&(_0x2ea170=_0x7cb662);else{if(_0x3c48a5===0x3b||_0x3c48a5===0x2c){if(_0x2449f9===-0x1)throw new SyntaxError(_0x54d6aa(0x16c)+_0x7cb662);_0x2ea170===-0x1&&(_0x2ea170=_0x7cb662),_0x258cf6(_0x390273,_0x4aeadb[_0x54d6aa(0x256)](_0x2449f9,_0x2ea170),!0x0),_0x3c48a5===0x2c&&(_0x258cf6(_0x1d6516,_0x431a86,_0x390273),_0x390273=Object[_0x54d6aa(0xed)](null),_0x431a86=void 0x0),_0x2449f9=_0x2ea170=-0x1;}else{if(_0x3c48a5===0x3d&&_0x2449f9!==-0x1&&_0x2ea170===-0x1)_0x133595=_0x4aeadb[_0x54d6aa(0x256)](_0x2449f9,_0x7cb662),_0x2449f9=_0x2ea170=-0x1;else throw new SyntaxError(_0x54d6aa(0x16c)+_0x7cb662);}}}}else{if(_0x22a69f){if(_0x3d4c59[_0x3c48a5]!==0x1)throw new SyntaxError(_0x54d6aa(0x16c)+_0x7cb662);_0x2449f9===-0x1?_0x2449f9=_0x7cb662:_0x10f14e||(_0x10f14e=!0x0),_0x22a69f=!0x1;}else{if(_0x537dbc){if(_0x3d4c59[_0x3c48a5]===0x1)_0x2449f9===-0x1&&(_0x2449f9=_0x7cb662);else{if(_0x3c48a5===0x22&&_0x2449f9!==-0x1)_0x537dbc=!0x1,_0x2ea170=_0x7cb662;else{if(_0x3c48a5===0x5c)_0x22a69f=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x7cb662);}}}else{if(_0x3c48a5===0x22&&_0x4aeadb[_0x54d6aa(0x1b1)](_0x7cb662-0x1)===0x3d)_0x537dbc=!0x0;else{if(_0x2ea170===-0x1&&_0x3d4c59[_0x3c48a5]===0x1)_0x2449f9===-0x1&&(_0x2449f9=_0x7cb662);else{if(_0x2449f9!==-0x1&&(_0x3c48a5===0x20||_0x3c48a5===0x9))_0x2ea170===-0x1&&(_0x2ea170=_0x7cb662);else{if(_0x3c48a5===0x3b||_0x3c48a5===0x2c){if(_0x2449f9===-0x1)throw new SyntaxError(_0x54d6aa(0x16c)+_0x7cb662);_0x2ea170===-0x1&&(_0x2ea170=_0x7cb662);let _0xf863a3=_0x4aeadb[_0x54d6aa(0x256)](_0x2449f9,_0x2ea170);_0x10f14e&&(_0xf863a3=_0xf863a3['replace'](/\\/g,''),_0x10f14e=!0x1),_0x258cf6(_0x390273,_0x133595,_0xf863a3),_0x3c48a5===0x2c&&(_0x258cf6(_0x1d6516,_0x431a86,_0x390273),_0x390273=Object[_0x54d6aa(0xed)](null),_0x431a86=void 0x0),_0x133595=void 0x0,_0x2449f9=_0x2ea170=-0x1;}else throw new SyntaxError(_0x54d6aa(0x16c)+_0x7cb662);}}}}}}}if(_0x2449f9===-0x1||_0x537dbc||_0x3c48a5===0x20||_0x3c48a5===0x9)throw new SyntaxError(_0x54d6aa(0x1a7));_0x2ea170===-0x1&&(_0x2ea170=_0x7cb662);const _0x39badf=_0x4aeadb[_0x54d6aa(0x256)](_0x2449f9,_0x2ea170);return _0x431a86===void 0x0?_0x258cf6(_0x1d6516,_0x39badf,_0x390273):(_0x133595===void 0x0?_0x258cf6(_0x390273,_0x39badf,!0x0):_0x10f14e?_0x258cf6(_0x390273,_0x133595,_0x39badf[_0x54d6aa(0x19d)](/\\/g,'')):_0x258cf6(_0x390273,_0x133595,_0x39badf),_0x258cf6(_0x1d6516,_0x431a86,_0x390273)),_0x1d6516;}function _0x256ab9(_0x57e5d4){const _0x36427c=_0x194c;return Object['keys'](_0x57e5d4)[_0x36427c(0x1eb)](_0x219724=>{const _0x57f856=_0x36427c;let _0x3d7129=_0x57e5d4[_0x219724];return Array[_0x57f856(0x212)](_0x3d7129)||(_0x3d7129=[_0x3d7129]),_0x3d7129[_0x57f856(0x1eb)](_0x16b36d=>[_0x219724][_0x57f856(0x1ec)](Object[_0x57f856(0xfa)](_0x16b36d)['map'](_0x76c628=>{const _0x5742db=_0x57f856;let _0x3173a6=_0x16b36d[_0x76c628];return Array[_0x5742db(0x212)](_0x3173a6)||(_0x3173a6=[_0x3173a6]),_0x3173a6[_0x5742db(0x1eb)](_0x1c9b12=>_0x1c9b12===!0x0?_0x76c628:_0x76c628+'='+_0x1c9b12)[_0x5742db(0x153)](';\x20');}))[_0x57f856(0x153)](';\x20'))[_0x57f856(0x153)](',\x20');})[_0x36427c(0x153)](',\x20');}return be={'format':_0x256ab9,'parse':_0x582ef8},be;}var we,st;function Ie(){const _0x5df2dd=_0x5926c3;if(st)return we;st=0x1;const _0x1b7379=_0x1d99ef,_0x5df296=_0x2995f2,_0x5e5715=_0x2cb244,_0x156142=_0x253b7d,_0x136c4b=_0x2b3089,{randomBytes:_0xea3272,createHash:_0x8b0ad3}=_0x3f947e,{Duplex:_0x2986e6,Readable:_0x8e9b14}=_0x536e63,{URL:_0x4998e6}=_0x50f3b8,_0x1a6386=he(),_0x1c4482=dt(),_0x4c0fa4=_t(),{isBlob:_0x47acf0}=ne(),{BINARY_TYPES:_0x5e43da,EMPTY_BUFFER:_0x58535b,GUID:_0x20f996,kForOnEventAttribute:_0x2ebadb,kListener:_0x306f7e,kStatusCode:_0xd5a6fe,kWebSocket:_0x59c26d,NOOP:_0x40cd5a}=V(),{EventTarget:{addEventListener:_0x3e9fa7,removeEventListener:_0x5ae174}}=Kt(),{format:_0x10a6c4,parse:_0x17940f}=pt(),{toBuffer:_0x52e08b}=ce(),_0x3179fb=0x1e*0x3e8,_0x56751d=Symbol(_0x5df2dd(0xdd)),_0x1eb770=[0x8,0xd],_0x4fc46f=['CONNECTING',_0x5df2dd(0x198),_0x5df2dd(0x149),_0x5df2dd(0x219)],_0x16faad=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2fcd68 extends _0x1b7379{constructor(_0x38de48,_0x457d18,_0x4904b4){const _0x7d07c3=_0x5df2dd;super(),this[_0x7d07c3(0x21f)]=_0x5e43da[0x0],this[_0x7d07c3(0x13c)]=0x3ee,this[_0x7d07c3(0x1be)]=!0x1,this[_0x7d07c3(0x17a)]=!0x1,this[_0x7d07c3(0x1db)]=_0x58535b,this['_closeTimer']=null,this[_0x7d07c3(0x14a)]=!0x1,this['_extensions']={},this[_0x7d07c3(0x201)]=!0x1,this[_0x7d07c3(0x1bb)]='',this[_0x7d07c3(0x1f2)]=_0x2fcd68[_0x7d07c3(0x1f6)],this['_receiver']=null,this[_0x7d07c3(0x10f)]=null,this[_0x7d07c3(0x239)]=null,_0x38de48!==null?(this[_0x7d07c3(0x18e)]=0x0,this[_0x7d07c3(0x20d)]=!0x1,this[_0x7d07c3(0x151)]=0x0,_0x457d18===void 0x0?_0x457d18=[]:Array[_0x7d07c3(0x212)](_0x457d18)||(typeof _0x457d18=='object'&&_0x457d18!==null?(_0x4904b4=_0x457d18,_0x457d18=[]):_0x457d18=[_0x457d18]),_0x40723f(this,_0x38de48,_0x457d18,_0x4904b4)):(this[_0x7d07c3(0x17d)]=_0x4904b4[_0x7d07c3(0xea)],this[_0x7d07c3(0x20d)]=!0x0);}get['binaryType'](){return this['_binaryType'];}set[_0x5df2dd(0x106)](_0x1b3c2b){const _0x5d738f=_0x5df2dd;_0x5e43da['includes'](_0x1b3c2b)&&(this[_0x5d738f(0x21f)]=_0x1b3c2b,this['_receiver']&&(this[_0x5d738f(0x23a)]['_binaryType']=_0x1b3c2b));}get[_0x5df2dd(0x260)](){const _0x5d1e3a=_0x5df2dd;return this[_0x5d1e3a(0x239)]?this[_0x5d1e3a(0x239)][_0x5d1e3a(0x283)][_0x5d1e3a(0x259)]+this['_sender'][_0x5d1e3a(0x19e)]:this[_0x5d1e3a(0x18e)];}get[_0x5df2dd(0x22d)](){const _0x53e1c9=_0x5df2dd;return Object[_0x53e1c9(0xfa)](this[_0x53e1c9(0x22a)])[_0x53e1c9(0x153)]();}get[_0x5df2dd(0xe0)](){const _0x258113=_0x5df2dd;return this[_0x258113(0x201)];}get[_0x5df2dd(0x138)](){return null;}get[_0x5df2dd(0x173)](){return null;}get[_0x5df2dd(0x1d7)](){return null;}get[_0x5df2dd(0x1c3)](){return null;}get['protocol'](){return this['_protocol'];}get[_0x5df2dd(0x1dd)](){return this['_readyState'];}get[_0x5df2dd(0xdc)](){const _0x20709b=_0x5df2dd;return this[_0x20709b(0x21d)];}[_0x5df2dd(0x1a6)](_0x19746e,_0x3e6b0f,_0x53e5ea){const _0x26524e=_0x5df2dd,_0x3b3498=new _0x1c4482({'allowSynchronousEvents':_0x53e5ea[_0x26524e(0x137)],'binaryType':this['binaryType'],'extensions':this[_0x26524e(0x22a)],'isServer':this[_0x26524e(0x20d)],'maxPayload':_0x53e5ea[_0x26524e(0x133)],'skipUTF8Validation':_0x53e5ea[_0x26524e(0x18a)]}),_0x2f521b=new _0x4c0fa4(_0x19746e,this[_0x26524e(0x22a)],_0x53e5ea[_0x26524e(0x244)]);this[_0x26524e(0x23a)]=_0x3b3498,this[_0x26524e(0x10f)]=_0x2f521b,this['_socket']=_0x19746e,_0x3b3498[_0x59c26d]=this,_0x2f521b[_0x59c26d]=this,_0x19746e[_0x59c26d]=this,_0x3b3498['on']('conclude',_0x200e72),_0x3b3498['on']('drain',_0x3bcbcf),_0x3b3498['on'](_0x26524e(0x1ff),_0xee329a),_0x3b3498['on'](_0x26524e(0x11a),_0xda2d27),_0x3b3498['on']('ping',_0x3e37a2),_0x3b3498['on'](_0x26524e(0x157),_0x54a31e),_0x2f521b['onerror']=_0x1cd81f,_0x19746e[_0x26524e(0x235)]&&_0x19746e[_0x26524e(0x235)](0x0),_0x19746e['setNoDelay']&&_0x19746e[_0x26524e(0x255)](),_0x3e6b0f[_0x26524e(0x259)]>0x0&&_0x19746e[_0x26524e(0x24c)](_0x3e6b0f),_0x19746e['on'](_0x26524e(0x12f),_0x14eea1),_0x19746e['on']('data',_0x4bb940),_0x19746e['on'](_0x26524e(0x27f),_0xc0c4fa),_0x19746e['on'](_0x26524e(0x1ff),_0x52638e),this[_0x26524e(0x1f2)]=_0x2fcd68[_0x26524e(0x198)],this['emit'](_0x26524e(0x25b));}['emitClose'](){const _0x24146e=_0x5df2dd;if(!this[_0x24146e(0x239)]){this[_0x24146e(0x1f2)]=_0x2fcd68[_0x24146e(0x219)],this['emit'](_0x24146e(0x12f),this[_0x24146e(0x13c)],this[_0x24146e(0x1db)]);return;}this[_0x24146e(0x22a)][_0x1a6386[_0x24146e(0x224)]]&&this[_0x24146e(0x22a)][_0x1a6386['extensionName']][_0x24146e(0xef)](),this[_0x24146e(0x23a)][_0x24146e(0x24e)](),this[_0x24146e(0x1f2)]=_0x2fcd68[_0x24146e(0x219)],this[_0x24146e(0x131)](_0x24146e(0x12f),this[_0x24146e(0x13c)],this[_0x24146e(0x1db)]);}[_0x5df2dd(0x12f)](_0x350619,_0x53dfd7){const _0x1997bf=_0x5df2dd;if(this[_0x1997bf(0x1dd)]!==_0x2fcd68[_0x1997bf(0x219)]){if(this[_0x1997bf(0x1dd)]===_0x2fcd68[_0x1997bf(0x1f6)]){_0x7bb426(this,this['_req'],_0x1997bf(0x11b));return;}if(this['readyState']===_0x2fcd68['CLOSING']){this[_0x1997bf(0x17a)]&&(this[_0x1997bf(0x1be)]||this[_0x1997bf(0x23a)][_0x1997bf(0x283)][_0x1997bf(0x1ab)])&&this[_0x1997bf(0x239)]['end']();return;}this[_0x1997bf(0x1f2)]=_0x2fcd68[_0x1997bf(0x149)],this['_sender']['close'](_0x350619,_0x53dfd7,!this['_isServer'],_0x420180=>{const _0x213cbe=_0x1997bf;_0x420180||(this[_0x213cbe(0x17a)]=!0x0,(this['_closeFrameReceived']||this['_receiver'][_0x213cbe(0x283)]['errorEmitted'])&&this[_0x213cbe(0x239)][_0x213cbe(0x27f)]());}),_0x2427fa(this);}}[_0x5df2dd(0x1ed)](){const _0x356236=_0x5df2dd;this[_0x356236(0x1dd)]===_0x2fcd68[_0x356236(0x1f6)]||this[_0x356236(0x1dd)]===_0x2fcd68[_0x356236(0x219)]||(this[_0x356236(0x201)]=!0x0,this['_socket'][_0x356236(0x1ed)]());}[_0x5df2dd(0x1a5)](_0x423818,_0x423a03,_0x4b5d3b){const _0x174ef6=_0x5df2dd;if(this['readyState']===_0x2fcd68[_0x174ef6(0x1f6)])throw new Error(_0x174ef6(0x146));if(typeof _0x423818==_0x174ef6(0x258)?(_0x4b5d3b=_0x423818,_0x423818=_0x423a03=void 0x0):typeof _0x423a03==_0x174ef6(0x258)&&(_0x4b5d3b=_0x423a03,_0x423a03=void 0x0),typeof _0x423818==_0x174ef6(0x1a1)&&(_0x423818=_0x423818[_0x174ef6(0x208)]()),this[_0x174ef6(0x1dd)]!==_0x2fcd68[_0x174ef6(0x198)]){_0x8e6f7c(this,_0x423818,_0x4b5d3b);return;}_0x423a03===void 0x0&&(_0x423a03=!this[_0x174ef6(0x20d)]),this[_0x174ef6(0x10f)][_0x174ef6(0x1a5)](_0x423818||_0x58535b,_0x423a03,_0x4b5d3b);}['pong'](_0x27b812,_0x505077,_0x485f6a){const _0x15fa8c=_0x5df2dd;if(this['readyState']===_0x2fcd68[_0x15fa8c(0x1f6)])throw new Error(_0x15fa8c(0x146));if(typeof _0x27b812=='function'?(_0x485f6a=_0x27b812,_0x27b812=_0x505077=void 0x0):typeof _0x505077=='function'&&(_0x485f6a=_0x505077,_0x505077=void 0x0),typeof _0x27b812==_0x15fa8c(0x1a1)&&(_0x27b812=_0x27b812['toString']()),this[_0x15fa8c(0x1dd)]!==_0x2fcd68[_0x15fa8c(0x198)]){_0x8e6f7c(this,_0x27b812,_0x485f6a);return;}_0x505077===void 0x0&&(_0x505077=!this[_0x15fa8c(0x20d)]),this[_0x15fa8c(0x10f)][_0x15fa8c(0x157)](_0x27b812||_0x58535b,_0x505077,_0x485f6a);}[_0x5df2dd(0xf0)](){const _0x2353e1=_0x5df2dd;this[_0x2353e1(0x1dd)]===_0x2fcd68[_0x2353e1(0x1f6)]||this['readyState']===_0x2fcd68[_0x2353e1(0x219)]||(this[_0x2353e1(0x201)]=!0x1,this[_0x2353e1(0x23a)]['_writableState'][_0x2353e1(0xe4)]||this['_socket']['resume']());}[_0x5df2dd(0x1b9)](_0x3c1130,_0x50f9ce,_0x392e60){const _0x58b72d=_0x5df2dd;if(this[_0x58b72d(0x1dd)]===_0x2fcd68[_0x58b72d(0x1f6)])throw new Error(_0x58b72d(0x146));if(typeof _0x50f9ce==_0x58b72d(0x258)&&(_0x392e60=_0x50f9ce,_0x50f9ce={}),typeof _0x3c1130==_0x58b72d(0x1a1)&&(_0x3c1130=_0x3c1130[_0x58b72d(0x208)]()),this['readyState']!==_0x2fcd68['OPEN']){_0x8e6f7c(this,_0x3c1130,_0x392e60);return;}const _0x1bf83d={'binary':typeof _0x3c1130!=_0x58b72d(0x1d2),'mask':!this[_0x58b72d(0x20d)],'compress':!0x0,'fin':!0x0,..._0x50f9ce};this[_0x58b72d(0x22a)][_0x1a6386[_0x58b72d(0x224)]]||(_0x1bf83d['compress']=!0x1),this['_sender'][_0x58b72d(0x1b9)](_0x3c1130||_0x58535b,_0x1bf83d,_0x392e60);}[_0x5df2dd(0x148)](){const _0x3c269d=_0x5df2dd;if(this[_0x3c269d(0x1dd)]!==_0x2fcd68[_0x3c269d(0x219)]){if(this[_0x3c269d(0x1dd)]===_0x2fcd68[_0x3c269d(0x1f6)]){_0x7bb426(this,this[_0x3c269d(0x1ef)],_0x3c269d(0x11b));return;}this['_socket']&&(this[_0x3c269d(0x1f2)]=_0x2fcd68[_0x3c269d(0x149)],this[_0x3c269d(0x239)][_0x3c269d(0x13a)]());}}}Object[_0x5df2dd(0x101)](_0x2fcd68,'CONNECTING',{'enumerable':!0x0,'value':_0x4fc46f[_0x5df2dd(0x206)]('CONNECTING')}),Object[_0x5df2dd(0x101)](_0x2fcd68[_0x5df2dd(0x178)],_0x5df2dd(0x1f6),{'enumerable':!0x0,'value':_0x4fc46f[_0x5df2dd(0x206)](_0x5df2dd(0x1f6))}),Object[_0x5df2dd(0x101)](_0x2fcd68,'OPEN',{'enumerable':!0x0,'value':_0x4fc46f[_0x5df2dd(0x206)](_0x5df2dd(0x198))}),Object[_0x5df2dd(0x101)](_0x2fcd68[_0x5df2dd(0x178)],_0x5df2dd(0x198),{'enumerable':!0x0,'value':_0x4fc46f['indexOf']('OPEN')}),Object[_0x5df2dd(0x101)](_0x2fcd68,'CLOSING',{'enumerable':!0x0,'value':_0x4fc46f[_0x5df2dd(0x206)](_0x5df2dd(0x149))}),Object[_0x5df2dd(0x101)](_0x2fcd68[_0x5df2dd(0x178)],_0x5df2dd(0x149),{'enumerable':!0x0,'value':_0x4fc46f[_0x5df2dd(0x206)](_0x5df2dd(0x149))}),Object['defineProperty'](_0x2fcd68,_0x5df2dd(0x219),{'enumerable':!0x0,'value':_0x4fc46f[_0x5df2dd(0x206)](_0x5df2dd(0x219))}),Object[_0x5df2dd(0x101)](_0x2fcd68[_0x5df2dd(0x178)],_0x5df2dd(0x219),{'enumerable':!0x0,'value':_0x4fc46f[_0x5df2dd(0x206)]('CLOSED')}),[_0x5df2dd(0x106),_0x5df2dd(0x260),_0x5df2dd(0x22d),_0x5df2dd(0xe0),_0x5df2dd(0x116),_0x5df2dd(0x1dd),'url'][_0x5df2dd(0x154)](_0x2184dd=>{const _0x4aeb18=_0x5df2dd;Object[_0x4aeb18(0x101)](_0x2fcd68[_0x4aeb18(0x178)],_0x2184dd,{'enumerable':!0x0});}),[_0x5df2dd(0x25b),_0x5df2dd(0x1ff),_0x5df2dd(0x12f),_0x5df2dd(0x11a)][_0x5df2dd(0x154)](_0x1817fb=>{const _0x92f351=_0x5df2dd;Object[_0x92f351(0x101)](_0x2fcd68[_0x92f351(0x178)],'on'+_0x1817fb,{'enumerable':!0x0,'get'(){const _0x331327=_0x92f351;for(const _0x4e55a2 of this[_0x331327(0xf8)](_0x1817fb))if(_0x4e55a2[_0x2ebadb])return _0x4e55a2[_0x306f7e];return null;},'set'(_0x2055e4){const _0x3cf9bd=_0x92f351;for(const _0x1e11a9 of this[_0x3cf9bd(0xf8)](_0x1817fb))if(_0x1e11a9[_0x2ebadb]){this[_0x3cf9bd(0x267)](_0x1817fb,_0x1e11a9);break;}typeof _0x2055e4=='function'&&this[_0x3cf9bd(0x141)](_0x1817fb,_0x2055e4,{[_0x2ebadb]:!0x0});}});}),_0x2fcd68[_0x5df2dd(0x178)][_0x5df2dd(0x141)]=_0x3e9fa7,_0x2fcd68['prototype']['removeEventListener']=_0x5ae174,we=_0x2fcd68;function _0x40723f(_0x427524,_0x344961,_0x28f97a,_0xfbf509){const _0x3fc67d=_0x5df2dd,_0x2386cf={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1eb770[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0xfbf509,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x3fc67d(0xe9),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x427524[_0x3fc67d(0x17d)]=_0x2386cf[_0x3fc67d(0xea)],!_0x1eb770[_0x3fc67d(0x175)](_0x2386cf['protocolVersion']))throw new RangeError(_0x3fc67d(0x19f)+_0x2386cf[_0x3fc67d(0xe5)]+_0x3fc67d(0x232)+_0x1eb770[_0x3fc67d(0x153)](',\x20')+')');let _0x40c329;if(_0x344961 instanceof _0x4998e6)_0x40c329=_0x344961;else try{_0x40c329=new _0x4998e6(_0x344961);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x344961);}_0x40c329[_0x3fc67d(0x116)]==='http:'?_0x40c329[_0x3fc67d(0x116)]=_0x3fc67d(0xd2):_0x40c329[_0x3fc67d(0x116)]===_0x3fc67d(0x1bc)&&(_0x40c329[_0x3fc67d(0x116)]=_0x3fc67d(0x179)),_0x427524[_0x3fc67d(0x21d)]=_0x40c329[_0x3fc67d(0xfc)];const _0x376cbb=_0x40c329[_0x3fc67d(0x116)]===_0x3fc67d(0x179),_0x56133d=_0x40c329[_0x3fc67d(0x116)]===_0x3fc67d(0x194);let _0x5ceea9;if(_0x40c329[_0x3fc67d(0x116)]!==_0x3fc67d(0xd2)&&!_0x376cbb&&!_0x56133d?_0x5ceea9=_0x3fc67d(0x1e6):_0x56133d&&!_0x40c329[_0x3fc67d(0x20f)]?_0x5ceea9=_0x3fc67d(0x162):_0x40c329[_0x3fc67d(0x15c)]&&(_0x5ceea9='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x5ceea9){const _0x23a2dc=new SyntaxError(_0x5ceea9);if(_0x427524[_0x3fc67d(0x151)]===0x0)throw _0x23a2dc;_0x5271d6(_0x427524,_0x23a2dc);return;}const _0x5d0505=_0x376cbb?0x1bb:0x50,_0x4722af=_0xea3272(0x10)[_0x3fc67d(0x208)](_0x3fc67d(0xff)),_0x56bb71=_0x376cbb?_0x5df296[_0x3fc67d(0x17e)]:_0x5e5715['request'],_0x5b09c3=new Set();let _0x1215ee;if(_0x2386cf['createConnection']=_0x2386cf['createConnection']||(_0x376cbb?_0xe4550e:_0x39b204),_0x2386cf[_0x3fc67d(0x253)]=_0x2386cf[_0x3fc67d(0x253)]||_0x5d0505,_0x2386cf[_0x3fc67d(0x251)]=_0x40c329[_0x3fc67d(0x251)]||_0x5d0505,_0x2386cf[_0x3fc67d(0x160)]=_0x40c329['hostname']['startsWith']('[')?_0x40c329[_0x3fc67d(0xd3)][_0x3fc67d(0x256)](0x1,-0x1):_0x40c329['hostname'],_0x2386cf[_0x3fc67d(0x1c5)]={..._0x2386cf[_0x3fc67d(0x1c5)],'Sec-WebSocket-Version':_0x2386cf[_0x3fc67d(0xe5)],'Sec-WebSocket-Key':_0x4722af,'Connection':_0x3fc67d(0x220),'Upgrade':_0x3fc67d(0x10a)},_0x2386cf[_0x3fc67d(0x145)]=_0x40c329[_0x3fc67d(0x20f)]+_0x40c329[_0x3fc67d(0x15a)],_0x2386cf['timeout']=_0x2386cf[_0x3fc67d(0x229)],_0x2386cf[_0x3fc67d(0x1b6)]&&(_0x1215ee=new _0x1a6386(_0x2386cf[_0x3fc67d(0x1b6)]!==!0x0?_0x2386cf['perMessageDeflate']:{},!0x1,_0x2386cf[_0x3fc67d(0x133)]),_0x2386cf['headers']['Sec-WebSocket-Extensions']=_0x10a6c4({[_0x1a6386[_0x3fc67d(0x224)]]:_0x1215ee[_0x3fc67d(0x254)]()})),_0x28f97a[_0x3fc67d(0x259)]){for(const _0x1a7ed0 of _0x28f97a){if(typeof _0x1a7ed0!='string'||!_0x16faad[_0x3fc67d(0x110)](_0x1a7ed0)||_0x5b09c3[_0x3fc67d(0x1ad)](_0x1a7ed0))throw new SyntaxError(_0x3fc67d(0x202));_0x5b09c3[_0x3fc67d(0xf5)](_0x1a7ed0);}_0x2386cf['headers']['Sec-WebSocket-Protocol']=_0x28f97a['join'](',');}if(_0x2386cf[_0x3fc67d(0x165)]&&(_0x2386cf[_0x3fc67d(0xe5)]<0xd?_0x2386cf['headers']['Sec-WebSocket-Origin']=_0x2386cf[_0x3fc67d(0x165)]:_0x2386cf[_0x3fc67d(0x1c5)]['Origin']=_0x2386cf[_0x3fc67d(0x165)]),(_0x40c329['username']||_0x40c329['password'])&&(_0x2386cf[_0x3fc67d(0x11d)]=_0x40c329[_0x3fc67d(0x26e)]+':'+_0x40c329[_0x3fc67d(0x25f)]),_0x56133d){const _0xe222ce=_0x2386cf[_0x3fc67d(0x145)][_0x3fc67d(0x20c)](':');_0x2386cf[_0x3fc67d(0x136)]=_0xe222ce[0x0],_0x2386cf[_0x3fc67d(0x145)]=_0xe222ce[0x1];}let _0x2974ff;if(_0x2386cf[_0x3fc67d(0x1fd)]){if(_0x427524[_0x3fc67d(0x151)]===0x0){_0x427524[_0x3fc67d(0x205)]=_0x56133d,_0x427524[_0x3fc67d(0x245)]=_0x376cbb,_0x427524['_originalHostOrSocketPath']=_0x56133d?_0x2386cf[_0x3fc67d(0x136)]:_0x40c329[_0x3fc67d(0x160)];const _0x5ef303=_0xfbf509&&_0xfbf509[_0x3fc67d(0x1c5)];if(_0xfbf509={..._0xfbf509,'headers':{}},_0x5ef303){for(const [_0x193bc6,_0x1d9b3d]of Object['entries'](_0x5ef303))_0xfbf509[_0x3fc67d(0x1c5)][_0x193bc6['toLowerCase']()]=_0x1d9b3d;}}else{if(_0x427524['listenerCount'](_0x3fc67d(0x20a))===0x0){const _0x4126a2=_0x56133d?_0x427524[_0x3fc67d(0x205)]?_0x2386cf[_0x3fc67d(0x136)]===_0x427524[_0x3fc67d(0x25e)]:!0x1:_0x427524[_0x3fc67d(0x205)]?!0x1:_0x40c329['host']===_0x427524['_originalHostOrSocketPath'];(!_0x4126a2||_0x427524[_0x3fc67d(0x245)]&&!_0x376cbb)&&(delete _0x2386cf['headers'][_0x3fc67d(0x188)],delete _0x2386cf['headers'][_0x3fc67d(0x112)],_0x4126a2||delete _0x2386cf[_0x3fc67d(0x1c5)][_0x3fc67d(0x160)],_0x2386cf[_0x3fc67d(0x11d)]=void 0x0);}}_0x2386cf['auth']&&!_0xfbf509[_0x3fc67d(0x1c5)][_0x3fc67d(0x188)]&&(_0xfbf509['headers'][_0x3fc67d(0x188)]=_0x3fc67d(0x1bf)+Buffer['from'](_0x2386cf[_0x3fc67d(0x11d)])[_0x3fc67d(0x208)](_0x3fc67d(0xff))),_0x2974ff=_0x427524[_0x3fc67d(0x1ef)]=_0x56bb71(_0x2386cf),_0x427524[_0x3fc67d(0x151)]&&_0x427524[_0x3fc67d(0x131)]('redirect',_0x427524[_0x3fc67d(0xdc)],_0x2974ff);}else _0x2974ff=_0x427524['_req']=_0x56bb71(_0x2386cf);_0x2386cf[_0x3fc67d(0x12d)]&&_0x2974ff['on'](_0x3fc67d(0x12d),()=>{const _0xac6cb3=_0x3fc67d;_0x7bb426(_0x427524,_0x2974ff,_0xac6cb3(0x268));}),_0x2974ff['on']('error',_0x4feefd=>{_0x2974ff===null||_0x2974ff[_0x56751d]||(_0x2974ff=_0x427524['_req']=null,_0x5271d6(_0x427524,_0x4feefd));}),_0x2974ff['on']('response',_0x3fdf84=>{const _0x72e97=_0x3fc67d,_0x362a1b=_0x3fdf84[_0x72e97(0x1c5)][_0x72e97(0x17c)],_0x7a9cd6=_0x3fdf84[_0x72e97(0x1b4)];if(_0x362a1b&&_0x2386cf[_0x72e97(0x1fd)]&&_0x7a9cd6>=0x12c&&_0x7a9cd6<0x190){if(++_0x427524['_redirects']>_0x2386cf[_0x72e97(0x176)]){_0x7bb426(_0x427524,_0x2974ff,_0x72e97(0x10c));return;}_0x2974ff['abort']();let _0x28f7f4;try{_0x28f7f4=new _0x4998e6(_0x362a1b,_0x344961);}catch{const _0x1521b7=new SyntaxError(_0x72e97(0x14d)+_0x362a1b);_0x5271d6(_0x427524,_0x1521b7);return;}_0x40723f(_0x427524,_0x28f7f4,_0x28f97a,_0xfbf509);}else _0x427524[_0x72e97(0x131)](_0x72e97(0x1cc),_0x2974ff,_0x3fdf84)||_0x7bb426(_0x427524,_0x2974ff,'Unexpected\x20server\x20response:\x20'+_0x3fdf84[_0x72e97(0x1b4)]);}),_0x2974ff['on'](_0x3fc67d(0x102),(_0x6c99f4,_0x2ad6ae,_0x522cd2)=>{const _0x183788=_0x3fc67d;if(_0x427524[_0x183788(0x131)](_0x183788(0x102),_0x6c99f4),_0x427524[_0x183788(0x1dd)]!==_0x2fcd68['CONNECTING'])return;_0x2974ff=_0x427524[_0x183788(0x1ef)]=null;const _0x563c70=_0x6c99f4[_0x183788(0x1c5)][_0x183788(0x102)];if(_0x563c70===void 0x0||_0x563c70[_0x183788(0x276)]()!==_0x183788(0x10a)){_0x7bb426(_0x427524,_0x2ad6ae,'Invalid\x20Upgrade\x20header');return;}const _0x3b02e0=_0x8b0ad3('sha1')['update'](_0x4722af+_0x20f996)[_0x183788(0xec)](_0x183788(0xff));if(_0x6c99f4['headers']['sec-websocket-accept']!==_0x3b02e0){_0x7bb426(_0x427524,_0x2ad6ae,_0x183788(0x270));return;}const _0x41ba1e=_0x6c99f4[_0x183788(0x1c5)][_0x183788(0x142)];let _0x1fc5d5;if(_0x41ba1e!==void 0x0?_0x5b09c3[_0x183788(0x167)]?_0x5b09c3[_0x183788(0x1ad)](_0x41ba1e)||(_0x1fc5d5='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x1fc5d5=_0x183788(0xd9):_0x5b09c3[_0x183788(0x167)]&&(_0x1fc5d5='Server\x20sent\x20no\x20subprotocol'),_0x1fc5d5){_0x7bb426(_0x427524,_0x2ad6ae,_0x1fc5d5);return;}_0x41ba1e&&(_0x427524[_0x183788(0x1bb)]=_0x41ba1e);const _0x35e532=_0x6c99f4[_0x183788(0x1c5)][_0x183788(0x164)];if(_0x35e532!==void 0x0){if(!_0x1215ee){_0x7bb426(_0x427524,_0x2ad6ae,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x25afd0;try{_0x25afd0=_0x17940f(_0x35e532);}catch{_0x7bb426(_0x427524,_0x2ad6ae,_0x183788(0x1bd));return;}const _0x1bba0a=Object[_0x183788(0xfa)](_0x25afd0);if(_0x1bba0a[_0x183788(0x259)]!==0x1||_0x1bba0a[0x0]!==_0x1a6386[_0x183788(0x224)]){_0x7bb426(_0x427524,_0x2ad6ae,_0x183788(0x111));return;}try{_0x1215ee[_0x183788(0x185)](_0x25afd0[_0x1a6386['extensionName']]);}catch{_0x7bb426(_0x427524,_0x2ad6ae,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x427524[_0x183788(0x22a)][_0x1a6386['extensionName']]=_0x1215ee;}_0x427524[_0x183788(0x1a6)](_0x2ad6ae,_0x522cd2,{'allowSynchronousEvents':_0x2386cf[_0x183788(0x137)],'generateMask':_0x2386cf['generateMask'],'maxPayload':_0x2386cf[_0x183788(0x133)],'skipUTF8Validation':_0x2386cf[_0x183788(0x18a)]});}),_0x2386cf[_0x3fc67d(0x266)]?_0x2386cf['finishRequest'](_0x2974ff,_0x427524):_0x2974ff[_0x3fc67d(0x27f)]();}function _0x5271d6(_0xc1a4,_0x39632c){const _0x3dfb80=_0x5df2dd;_0xc1a4[_0x3dfb80(0x1f2)]=_0x2fcd68[_0x3dfb80(0x149)],_0xc1a4['_errorEmitted']=!0x0,_0xc1a4[_0x3dfb80(0x131)]('error',_0x39632c),_0xc1a4[_0x3dfb80(0x1a0)]();}function _0x39b204(_0x510daf){const _0x415f11=_0x5df2dd;return _0x510daf[_0x415f11(0x145)]=_0x510daf['socketPath'],_0x156142['connect'](_0x510daf);}function _0xe4550e(_0x3056a4){const _0x14c2b4=_0x5df2dd;return _0x3056a4['path']=void 0x0,!_0x3056a4[_0x14c2b4(0x1d4)]&&_0x3056a4[_0x14c2b4(0x1d4)]!==''&&(_0x3056a4[_0x14c2b4(0x1d4)]=_0x156142[_0x14c2b4(0x1b7)](_0x3056a4['host'])?'':_0x3056a4['host']),_0x136c4b[_0x14c2b4(0x19a)](_0x3056a4);}function _0x7bb426(_0x34ecbc,_0x82af11,_0x2e74e7){const _0x1ce2d4=_0x5df2dd;_0x34ecbc[_0x1ce2d4(0x1f2)]=_0x2fcd68['CLOSING'];const _0x221357=new Error(_0x2e74e7);Error[_0x1ce2d4(0x1f4)](_0x221357,_0x7bb426),_0x82af11[_0x1ce2d4(0x1e9)]?(_0x82af11[_0x56751d]=!0x0,_0x82af11[_0x1ce2d4(0xf1)](),_0x82af11[_0x1ce2d4(0x115)]&&!_0x82af11[_0x1ce2d4(0x115)][_0x1ce2d4(0x13e)]&&_0x82af11['socket'][_0x1ce2d4(0x13a)](),process[_0x1ce2d4(0x139)](_0x5271d6,_0x34ecbc,_0x221357)):(_0x82af11[_0x1ce2d4(0x13a)](_0x221357),_0x82af11[_0x1ce2d4(0x103)]('error',_0x34ecbc['emit']['bind'](_0x34ecbc,_0x1ce2d4(0x1ff))),_0x82af11[_0x1ce2d4(0x103)](_0x1ce2d4(0x12f),_0x34ecbc[_0x1ce2d4(0x1a0)][_0x1ce2d4(0xfd)](_0x34ecbc)));}function _0x8e6f7c(_0x2640bb,_0x5597ba,_0x5ed480){const _0x43ee3f=_0x5df2dd;if(_0x5597ba){const _0x3118cd=_0x47acf0(_0x5597ba)?_0x5597ba[_0x43ee3f(0x167)]:_0x52e08b(_0x5597ba)['length'];_0x2640bb[_0x43ee3f(0x239)]?_0x2640bb[_0x43ee3f(0x10f)]['_bufferedBytes']+=_0x3118cd:_0x2640bb[_0x43ee3f(0x18e)]+=_0x3118cd;}if(_0x5ed480){const _0x378098=new Error(_0x43ee3f(0x281)+_0x2640bb['readyState']+'\x20('+_0x4fc46f[_0x2640bb[_0x43ee3f(0x1dd)]]+')');process[_0x43ee3f(0x139)](_0x5ed480,_0x378098);}}function _0x200e72(_0x1ad0ea,_0x336659){const _0x189f62=_0x5df2dd,_0x93f0d4=this[_0x59c26d];_0x93f0d4[_0x189f62(0x1be)]=!0x0,_0x93f0d4[_0x189f62(0x1db)]=_0x336659,_0x93f0d4[_0x189f62(0x13c)]=_0x1ad0ea,_0x93f0d4['_socket'][_0x59c26d]!==void 0x0&&(_0x93f0d4[_0x189f62(0x239)][_0x189f62(0x267)](_0x189f62(0x1aa),_0x4bb940),process[_0x189f62(0x139)](_0x4a8710,_0x93f0d4['_socket']),_0x1ad0ea===0x3ed?_0x93f0d4[_0x189f62(0x12f)]():_0x93f0d4[_0x189f62(0x12f)](_0x1ad0ea,_0x336659));}function _0x3bcbcf(){const _0x4a0565=_0x5df2dd,_0x518b8c=this[_0x59c26d];_0x518b8c[_0x4a0565(0xe0)]||_0x518b8c[_0x4a0565(0x239)][_0x4a0565(0xf0)]();}function _0xee329a(_0x370655){const _0x4ec819=_0x5df2dd,_0x85d89d=this[_0x59c26d];_0x85d89d[_0x4ec819(0x239)][_0x59c26d]!==void 0x0&&(_0x85d89d[_0x4ec819(0x239)][_0x4ec819(0x267)](_0x4ec819(0x1aa),_0x4bb940),process[_0x4ec819(0x139)](_0x4a8710,_0x85d89d['_socket']),_0x85d89d['close'](_0x370655[_0xd5a6fe])),_0x85d89d[_0x4ec819(0x14a)]||(_0x85d89d[_0x4ec819(0x14a)]=!0x0,_0x85d89d[_0x4ec819(0x131)]('error',_0x370655));}function _0x2cf64d(){const _0xd11fe2=_0x5df2dd;this[_0x59c26d][_0xd11fe2(0x1a0)]();}function _0xda2d27(_0x579d4e,_0x46a6b0){const _0xcc44bf=_0x5df2dd;this[_0x59c26d][_0xcc44bf(0x131)](_0xcc44bf(0x11a),_0x579d4e,_0x46a6b0);}function _0x3e37a2(_0x122290){const _0x1c206d=_0x5df2dd,_0x5eb98a=this[_0x59c26d];_0x5eb98a['_autoPong']&&_0x5eb98a[_0x1c206d(0x157)](_0x122290,!this[_0x1c206d(0x20d)],_0x40cd5a),_0x5eb98a['emit']('ping',_0x122290);}function _0x54a31e(_0x17571d){const _0x50ca6e=_0x5df2dd;this[_0x59c26d][_0x50ca6e(0x131)](_0x50ca6e(0x157),_0x17571d);}function _0x4a8710(_0x44972e){const _0x235f46=_0x5df2dd;_0x44972e[_0x235f46(0xf0)]();}function _0x1cd81f(_0x473afe){const _0x414aee=_0x5df2dd,_0x47204c=this[_0x59c26d];_0x47204c['readyState']!==_0x2fcd68[_0x414aee(0x219)]&&(_0x47204c[_0x414aee(0x1dd)]===_0x2fcd68[_0x414aee(0x198)]&&(_0x47204c['_readyState']=_0x2fcd68['CLOSING'],_0x2427fa(_0x47204c)),this['_socket'][_0x414aee(0x27f)](),_0x47204c[_0x414aee(0x14a)]||(_0x47204c[_0x414aee(0x14a)]=!0x0,_0x47204c[_0x414aee(0x131)](_0x414aee(0x1ff),_0x473afe)));}function _0x2427fa(_0x52c4a3){const _0x5e27be=_0x5df2dd;_0x52c4a3[_0x5e27be(0x17b)]=setTimeout(_0x52c4a3[_0x5e27be(0x239)]['destroy'][_0x5e27be(0xfd)](_0x52c4a3[_0x5e27be(0x239)]),_0x3179fb);}function _0x14eea1(){const _0x2ae988=_0x5df2dd,_0x28240f=this[_0x59c26d];this[_0x2ae988(0x267)](_0x2ae988(0x12f),_0x14eea1),this[_0x2ae988(0x267)]('data',_0x4bb940),this[_0x2ae988(0x267)]('end',_0xc0c4fa),_0x28240f[_0x2ae988(0x1f2)]=_0x2fcd68[_0x2ae988(0x149)];let _0xc1e1c6;!this[_0x2ae988(0x1e5)][_0x2ae988(0x1fc)]&&!_0x28240f[_0x2ae988(0x1be)]&&!_0x28240f['_receiver'][_0x2ae988(0x283)][_0x2ae988(0x1ab)]&&(_0xc1e1c6=_0x28240f['_socket'][_0x2ae988(0x186)]())!==null&&_0x28240f[_0x2ae988(0x23a)]['write'](_0xc1e1c6),_0x28240f['_receiver'][_0x2ae988(0x27f)](),this[_0x59c26d]=void 0x0,clearTimeout(_0x28240f['_closeTimer']),_0x28240f['_receiver'][_0x2ae988(0x283)]['finished']||_0x28240f[_0x2ae988(0x23a)]['_writableState']['errorEmitted']?_0x28240f['emitClose']():(_0x28240f[_0x2ae988(0x23a)]['on'](_0x2ae988(0x1ff),_0x2cf64d),_0x28240f[_0x2ae988(0x23a)]['on'](_0x2ae988(0x144),_0x2cf64d));}function _0x4bb940(_0xc80732){const _0x53049b=_0x5df2dd;this[_0x59c26d][_0x53049b(0x23a)][_0x53049b(0x1ac)](_0xc80732)||this[_0x53049b(0x1ed)]();}function _0xc0c4fa(){const _0x481985=_0x5df2dd,_0x56ac9f=this[_0x59c26d];_0x56ac9f[_0x481985(0x1f2)]=_0x2fcd68[_0x481985(0x149)],_0x56ac9f['_receiver']['end'](),this[_0x481985(0x27f)]();}function _0x52638e(){const _0x3f21a3=_0x5df2dd,_0x5c7504=this[_0x59c26d];this[_0x3f21a3(0x267)]('error',_0x52638e),this['on'](_0x3f21a3(0x1ff),_0x40cd5a),_0x5c7504&&(_0x5c7504[_0x3f21a3(0x1f2)]=_0x2fcd68['CLOSING'],this[_0x3f21a3(0x13a)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x2ff26a}=_0x536e63;function _0x2468ff(_0x17a0c2){const _0x2ebfc4=_0x194c;_0x17a0c2[_0x2ebfc4(0x131)](_0x2ebfc4(0x12f));}function _0x5752bb(){const _0x4e10fe=_0x194c;!this[_0x4e10fe(0x13e)]&&this['_writableState'][_0x4e10fe(0xd4)]&&this[_0x4e10fe(0x13a)]();}function _0x351364(_0x377faf){const _0x1ee11e=_0x194c;this[_0x1ee11e(0x267)]('error',_0x351364),this[_0x1ee11e(0x13a)](),this[_0x1ee11e(0x1e2)]('error')===0x0&&this[_0x1ee11e(0x131)](_0x1ee11e(0x1ff),_0x377faf);}function _0x2d54ce(_0x35ee2b,_0x3416b7){const _0x81a822=_0x194c;let _0x2aa020=!0x0;const _0x59378d=new _0x2ff26a({..._0x3416b7,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x35ee2b['on'](_0x81a822(0x11a),function(_0x1b9e5f,_0x5dc3a2){const _0x4fe582=_0x81a822,_0x293e41=!_0x5dc3a2&&_0x59378d[_0x4fe582(0x1e5)]['objectMode']?_0x1b9e5f[_0x4fe582(0x208)]():_0x1b9e5f;_0x59378d[_0x4fe582(0x221)](_0x293e41)||_0x35ee2b[_0x4fe582(0x1ed)]();}),_0x35ee2b[_0x81a822(0x103)](_0x81a822(0x1ff),function(_0x57423f){const _0x210aff=_0x81a822;_0x59378d[_0x210aff(0x13e)]||(_0x2aa020=!0x1,_0x59378d[_0x210aff(0x13a)](_0x57423f));}),_0x35ee2b[_0x81a822(0x103)](_0x81a822(0x12f),function(){const _0x23efd6=_0x81a822;_0x59378d[_0x23efd6(0x13e)]||_0x59378d[_0x23efd6(0x221)](null);}),_0x59378d[_0x81a822(0x15b)]=function(_0xa70ce4,_0xf37522){const _0x1cd66b=_0x81a822;if(_0x35ee2b[_0x1cd66b(0x1dd)]===_0x35ee2b[_0x1cd66b(0x219)]){_0xf37522(_0xa70ce4),process[_0x1cd66b(0x139)](_0x2468ff,_0x59378d);return;}let _0x22b214=!0x1;_0x35ee2b[_0x1cd66b(0x103)](_0x1cd66b(0x1ff),function(_0x41ccc3){_0x22b214=!0x0,_0xf37522(_0x41ccc3);}),_0x35ee2b['once'](_0x1cd66b(0x12f),function(){_0x22b214||_0xf37522(_0xa70ce4),process['nextTick'](_0x2468ff,_0x59378d);}),_0x2aa020&&_0x35ee2b['terminate']();},_0x59378d[_0x81a822(0xf2)]=function(_0xc0e28e){const _0x4f1722=_0x81a822;if(_0x35ee2b[_0x4f1722(0x1dd)]===_0x35ee2b[_0x4f1722(0x1f6)]){_0x35ee2b[_0x4f1722(0x103)](_0x4f1722(0x25b),function(){const _0x54ca3f=_0x4f1722;_0x59378d[_0x54ca3f(0xf2)](_0xc0e28e);});return;}_0x35ee2b[_0x4f1722(0x239)]!==null&&(_0x35ee2b[_0x4f1722(0x239)][_0x4f1722(0x283)]['finished']?(_0xc0e28e(),_0x59378d['_readableState']['endEmitted']&&_0x59378d[_0x4f1722(0x13a)]()):(_0x35ee2b[_0x4f1722(0x239)]['once'](_0x4f1722(0x144),function(){_0xc0e28e();}),_0x35ee2b['close']()));},_0x59378d[_0x81a822(0x14f)]=function(){const _0x2760bf=_0x81a822;_0x35ee2b[_0x2760bf(0xe0)]&&_0x35ee2b[_0x2760bf(0xf0)]();},_0x59378d[_0x81a822(0xda)]=function(_0x53c4df,_0x202a88,_0x41213f){const _0x3d89c3=_0x81a822;if(_0x35ee2b['readyState']===_0x35ee2b[_0x3d89c3(0x1f6)]){_0x35ee2b[_0x3d89c3(0x103)](_0x3d89c3(0x25b),function(){const _0xed79b7=_0x3d89c3;_0x59378d[_0xed79b7(0xda)](_0x53c4df,_0x202a88,_0x41213f);});return;}_0x35ee2b[_0x3d89c3(0x1b9)](_0x53c4df,_0x41213f);},_0x59378d['on'](_0x81a822(0x27f),_0x5752bb),_0x59378d['on']('error',_0x351364),_0x59378d;}return Oe=_0x2d54ce,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x479749}=ne();function _0x156dbd(_0x4ae249){const _0x4cc38d=_0x194c,_0x3472da=new Set();let _0x30dd00=-0x1,_0x1ee67f=-0x1,_0x475a29=0x0;for(_0x475a29;_0x475a29<_0x4ae249[_0x4cc38d(0x259)];_0x475a29++){const _0x4401a2=_0x4ae249[_0x4cc38d(0x1b1)](_0x475a29);if(_0x1ee67f===-0x1&&_0x479749[_0x4401a2]===0x1)_0x30dd00===-0x1&&(_0x30dd00=_0x475a29);else{if(_0x475a29!==0x0&&(_0x4401a2===0x20||_0x4401a2===0x9))_0x1ee67f===-0x1&&_0x30dd00!==-0x1&&(_0x1ee67f=_0x475a29);else{if(_0x4401a2===0x2c){if(_0x30dd00===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x475a29);_0x1ee67f===-0x1&&(_0x1ee67f=_0x475a29);const _0x46411c=_0x4ae249['slice'](_0x30dd00,_0x1ee67f);if(_0x3472da[_0x4cc38d(0x1ad)](_0x46411c))throw new SyntaxError(_0x4cc38d(0x15e)+_0x46411c+_0x4cc38d(0xd8));_0x3472da[_0x4cc38d(0xf5)](_0x46411c),_0x30dd00=_0x1ee67f=-0x1;}else throw new SyntaxError(_0x4cc38d(0x16c)+_0x475a29);}}}if(_0x30dd00===-0x1||_0x1ee67f!==-0x1)throw new SyntaxError(_0x4cc38d(0x1a7));const _0x1b3977=_0x4ae249['slice'](_0x30dd00,_0x475a29);if(_0x3472da['has'](_0x1b3977))throw new SyntaxError('The\x20\x22'+_0x1b3977+'\x22\x20subprotocol\x20is\x20duplicated');return _0x3472da[_0x4cc38d(0xf5)](_0x1b3977),_0x3472da;}return Ce={'parse':_0x156dbd},Ce;}var Te,ot;function er(){const _0x404c67=_0x5926c3;if(ot)return Te;ot=0x1;const _0x25a0aa=_0x1d99ef,_0x459aa0=_0x2cb244,{Duplex:_0x138b6c}=_0x536e63,{createHash:_0x4066be}=_0x3f947e,_0x4ba5c0=pt(),_0x466953=he(),_0x296554=Jt(),_0x2b0a7b=Ie(),{GUID:_0x3a7332,kWebSocket:_0x464613}=V(),_0x299ed7=/^[+/0-9A-Za-z]{22}==$/,_0x38e1f8=0x0,_0x1d3c7d=0x1,_0x3668e8=0x2;class _0x517a9c extends _0x25a0aa{constructor(_0x59d74f,_0x4579ca){const _0x84fe3f=_0x194c;if(super(),_0x59d74f={'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':_0x2b0a7b,..._0x59d74f},_0x59d74f['port']==null&&!_0x59d74f[_0x84fe3f(0x11f)]&&!_0x59d74f[_0x84fe3f(0x100)]||_0x59d74f[_0x84fe3f(0x251)]!=null&&(_0x59d74f['server']||_0x59d74f[_0x84fe3f(0x100)])||_0x59d74f['server']&&_0x59d74f[_0x84fe3f(0x100)])throw new TypeError(_0x84fe3f(0x265));if(_0x59d74f[_0x84fe3f(0x251)]!=null?(this['_server']=_0x459aa0['createServer']((_0xb0500f,_0x40f7b5)=>{const _0x4977f0=_0x84fe3f,_0x472103=_0x459aa0[_0x4977f0(0x207)][0x1aa];_0x40f7b5[_0x4977f0(0x1fe)](0x1aa,{'Content-Length':_0x472103[_0x4977f0(0x259)],'Content-Type':_0x4977f0(0x214)}),_0x40f7b5[_0x4977f0(0x27f)](_0x472103);}),this[_0x84fe3f(0x284)][_0x84fe3f(0x20e)](_0x59d74f['port'],_0x59d74f[_0x84fe3f(0x160)],_0x59d74f[_0x84fe3f(0x140)],_0x4579ca)):_0x59d74f[_0x84fe3f(0x11f)]&&(this[_0x84fe3f(0x284)]=_0x59d74f[_0x84fe3f(0x11f)]),this[_0x84fe3f(0x284)]){const _0xd052b9=this[_0x84fe3f(0x131)]['bind'](this,_0x84fe3f(0x1f8));this[_0x84fe3f(0x216)]=_0x4ac580(this[_0x84fe3f(0x284)],{'listening':this[_0x84fe3f(0x131)][_0x84fe3f(0xfd)](this,_0x84fe3f(0x1ea)),'error':this['emit'][_0x84fe3f(0xfd)](this,_0x84fe3f(0x1ff)),'upgrade':(_0x1ee47d,_0x2dba03,_0x37a884)=>{const _0x107a31=_0x84fe3f;this[_0x107a31(0x1c4)](_0x1ee47d,_0x2dba03,_0x37a884,_0xd052b9);}});}_0x59d74f['perMessageDeflate']===!0x0&&(_0x59d74f[_0x84fe3f(0x1b6)]={}),_0x59d74f['clientTracking']&&(this[_0x84fe3f(0x1a8)]=new Set(),this[_0x84fe3f(0x181)]=!0x1),this[_0x84fe3f(0x10d)]=_0x59d74f,this[_0x84fe3f(0x191)]=_0x38e1f8;}['address'](){const _0x20980a=_0x194c;if(this[_0x20980a(0x10d)][_0x20980a(0x100)])throw new Error(_0x20980a(0x14c));return this[_0x20980a(0x284)]?this[_0x20980a(0x284)][_0x20980a(0x10e)]():null;}[_0x404c67(0x12f)](_0x43585a){const _0x17dde0=_0x404c67;if(this[_0x17dde0(0x191)]===_0x3668e8){_0x43585a&&this[_0x17dde0(0x103)](_0x17dde0(0x12f),()=>{const _0x44e142=_0x17dde0;_0x43585a(new Error(_0x44e142(0x114)));}),process[_0x17dde0(0x139)](_0x5bfc53,this);return;}if(_0x43585a&&this[_0x17dde0(0x103)](_0x17dde0(0x12f),_0x43585a),this[_0x17dde0(0x191)]!==_0x1d3c7d){if(this[_0x17dde0(0x191)]=_0x1d3c7d,this[_0x17dde0(0x10d)][_0x17dde0(0x100)]||this[_0x17dde0(0x10d)][_0x17dde0(0x11f)])this['_server']&&(this['_removeListeners'](),this[_0x17dde0(0x216)]=this[_0x17dde0(0x284)]=null),this[_0x17dde0(0x1a8)]?this[_0x17dde0(0x1a8)][_0x17dde0(0x167)]?this[_0x17dde0(0x181)]=!0x0:process[_0x17dde0(0x139)](_0x5bfc53,this):process['nextTick'](_0x5bfc53,this);else{const _0x3c8dbf=this[_0x17dde0(0x284)];this[_0x17dde0(0x216)](),this[_0x17dde0(0x216)]=this[_0x17dde0(0x284)]=null,_0x3c8dbf[_0x17dde0(0x12f)](()=>{_0x5bfc53(this);});}}}['shouldHandle'](_0x4fc517){const _0x4f90d0=_0x404c67;if(this[_0x4f90d0(0x10d)][_0x4f90d0(0x145)]){const _0xb9ef29=_0x4fc517[_0x4f90d0(0xdc)]['indexOf']('?');if((_0xb9ef29!==-0x1?_0x4fc517[_0x4f90d0(0xdc)][_0x4f90d0(0x256)](0x0,_0xb9ef29):_0x4fc517[_0x4f90d0(0xdc)])!==this[_0x4f90d0(0x10d)][_0x4f90d0(0x145)])return!0x1;}return!0x0;}[_0x404c67(0x1c4)](_0x3407fc,_0x113356,_0x1df03b,_0x185e34){const _0x44505b=_0x404c67;_0x113356['on']('error',_0x56117f);const _0x3827bc=_0x3407fc[_0x44505b(0x1c5)]['sec-websocket-key'],_0x2d423b=_0x3407fc[_0x44505b(0x1c5)][_0x44505b(0x102)],_0x137404=+_0x3407fc[_0x44505b(0x1c5)][_0x44505b(0x1fb)];if(_0x3407fc[_0x44505b(0x1e1)]!==_0x44505b(0xe9)){_0xd15784(this,_0x3407fc,_0x113356,0x195,_0x44505b(0x271));return;}if(_0x2d423b===void 0x0||_0x2d423b[_0x44505b(0x276)]()!=='websocket'){_0xd15784(this,_0x3407fc,_0x113356,0x190,_0x44505b(0x174));return;}if(_0x3827bc===void 0x0||!_0x299ed7[_0x44505b(0x110)](_0x3827bc)){_0xd15784(this,_0x3407fc,_0x113356,0x190,_0x44505b(0xfe));return;}if(_0x137404!==0xd&&_0x137404!==0x8){_0xd15784(this,_0x3407fc,_0x113356,0x190,_0x44505b(0x223),{'Sec-WebSocket-Version':_0x44505b(0x105)});return;}if(!this[_0x44505b(0x172)](_0x3407fc)){_0x175579(_0x113356,0x190);return;}const _0x175e60=_0x3407fc[_0x44505b(0x1c5)]['sec-websocket-protocol'];let _0x3ad509=new Set();if(_0x175e60!==void 0x0)try{_0x3ad509=_0x296554['parse'](_0x175e60);}catch{_0xd15784(this,_0x3407fc,_0x113356,0x190,_0x44505b(0x16d));return;}const _0x3a2921=_0x3407fc['headers']['sec-websocket-extensions'],_0x4ecd29={};if(this[_0x44505b(0x10d)][_0x44505b(0x1b6)]&&_0x3a2921!==void 0x0){const _0x50014c=new _0x466953(this[_0x44505b(0x10d)]['perMessageDeflate'],!0x0,this['options'][_0x44505b(0x133)]);try{const _0x224311=_0x4ba5c0[_0x44505b(0xf6)](_0x3a2921);_0x224311[_0x466953[_0x44505b(0x224)]]&&(_0x50014c[_0x44505b(0x185)](_0x224311[_0x466953[_0x44505b(0x224)]]),_0x4ecd29[_0x466953[_0x44505b(0x224)]]=_0x50014c);}catch{_0xd15784(this,_0x3407fc,_0x113356,0x190,_0x44505b(0x222));return;}}if(this[_0x44505b(0x10d)]['verifyClient']){const _0x1a3434={'origin':_0x3407fc[_0x44505b(0x1c5)][''+(_0x137404===0x8?_0x44505b(0x282):_0x44505b(0x165))],'secure':!!(_0x3407fc[_0x44505b(0x115)][_0x44505b(0x1ee)]||_0x3407fc[_0x44505b(0x115)]['encrypted']),'req':_0x3407fc};if(this['options'][_0x44505b(0x134)][_0x44505b(0x259)]===0x2){this['options'][_0x44505b(0x134)](_0x1a3434,(_0xb3b49f,_0x2ae509,_0x35a990,_0xb6d088)=>{const _0x2a8bea=_0x44505b;if(!_0xb3b49f)return _0x175579(_0x113356,_0x2ae509||0x191,_0x35a990,_0xb6d088);this[_0x2a8bea(0xde)](_0x4ecd29,_0x3827bc,_0x3ad509,_0x3407fc,_0x113356,_0x1df03b,_0x185e34);});return;}if(!this[_0x44505b(0x10d)]['verifyClient'](_0x1a3434))return _0x175579(_0x113356,0x191);}this[_0x44505b(0xde)](_0x4ecd29,_0x3827bc,_0x3ad509,_0x3407fc,_0x113356,_0x1df03b,_0x185e34);}[_0x404c67(0xde)](_0x346d2f,_0x167213,_0x288e74,_0x54ed2f,_0x5946e9,_0x1fa8ae,_0x16a8db){const _0x3cb44b=_0x404c67;if(!_0x5946e9[_0x3cb44b(0x273)]||!_0x5946e9['writable'])return _0x5946e9[_0x3cb44b(0x13a)]();if(_0x5946e9[_0x464613])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this['_state']>_0x38e1f8)return _0x175579(_0x5946e9,0x1f7);const _0x10dde4=[_0x3cb44b(0x22c),_0x3cb44b(0x227),_0x3cb44b(0x22f),_0x3cb44b(0x1b2)+_0x4066be('sha1')['update'](_0x167213+_0x3a7332)[_0x3cb44b(0xec)](_0x3cb44b(0xff))],_0x1e59ed=new this[(_0x3cb44b(0x10d))][(_0x3cb44b(0x14b))](null,void 0x0,this[_0x3cb44b(0x10d)]);if(_0x288e74[_0x3cb44b(0x167)]){const _0x45922a=this['options']['handleProtocols']?this[_0x3cb44b(0x10d)][_0x3cb44b(0x190)](_0x288e74,_0x54ed2f):_0x288e74['values']()[_0x3cb44b(0x26f)]()[_0x3cb44b(0x23e)];_0x45922a&&(_0x10dde4[_0x3cb44b(0x221)]('Sec-WebSocket-Protocol:\x20'+_0x45922a),_0x1e59ed[_0x3cb44b(0x1bb)]=_0x45922a);}if(_0x346d2f[_0x466953[_0x3cb44b(0x224)]]){const _0x362d08=_0x346d2f[_0x466953[_0x3cb44b(0x224)]][_0x3cb44b(0x234)],_0x1f235c=_0x4ba5c0[_0x3cb44b(0x261)]({[_0x466953['extensionName']]:[_0x362d08]});_0x10dde4[_0x3cb44b(0x221)](_0x3cb44b(0x1f0)+_0x1f235c),_0x1e59ed[_0x3cb44b(0x22a)]=_0x346d2f;}this[_0x3cb44b(0x131)](_0x3cb44b(0x1c5),_0x10dde4,_0x54ed2f),_0x5946e9[_0x3cb44b(0x1ac)](_0x10dde4[_0x3cb44b(0x1ec)]('\x0d\x0a')[_0x3cb44b(0x153)]('\x0d\x0a')),_0x5946e9[_0x3cb44b(0x267)](_0x3cb44b(0x1ff),_0x56117f),_0x1e59ed[_0x3cb44b(0x1a6)](_0x5946e9,_0x1fa8ae,{'allowSynchronousEvents':this[_0x3cb44b(0x10d)][_0x3cb44b(0x137)],'maxPayload':this[_0x3cb44b(0x10d)]['maxPayload'],'skipUTF8Validation':this[_0x3cb44b(0x10d)][_0x3cb44b(0x18a)]}),this[_0x3cb44b(0x1a8)]&&(this['clients'][_0x3cb44b(0xf5)](_0x1e59ed),_0x1e59ed['on'](_0x3cb44b(0x12f),()=>{const _0x35e912=_0x3cb44b;this[_0x35e912(0x1a8)][_0x35e912(0x262)](_0x1e59ed),this['_shouldEmitClose']&&!this[_0x35e912(0x1a8)]['size']&&process[_0x35e912(0x139)](_0x5bfc53,this);})),_0x16a8db(_0x1e59ed,_0x54ed2f);}}Te=_0x517a9c;function _0x4ac580(_0x22ab58,_0x138add){const _0x2d81ab=_0x404c67;for(const _0x420f37 of Object[_0x2d81ab(0xfa)](_0x138add))_0x22ab58['on'](_0x420f37,_0x138add[_0x420f37]);return function(){const _0x378b70=_0x2d81ab;for(const _0x4ebbf0 of Object[_0x378b70(0xfa)](_0x138add))_0x22ab58[_0x378b70(0x267)](_0x4ebbf0,_0x138add[_0x4ebbf0]);};}function _0x5bfc53(_0x8cf43f){const _0x484e48=_0x404c67;_0x8cf43f[_0x484e48(0x191)]=_0x3668e8,_0x8cf43f[_0x484e48(0x131)](_0x484e48(0x12f));}function _0x56117f(){const _0x479a60=_0x404c67;this[_0x479a60(0x13a)]();}function _0x175579(_0x1349cf,_0x2939e5,_0x11bfe7,_0x3d90fa){const _0x39f16c=_0x404c67;_0x11bfe7=_0x11bfe7||_0x459aa0[_0x39f16c(0x207)][_0x2939e5],_0x3d90fa={'Connection':_0x39f16c(0x12f),'Content-Type':_0x39f16c(0x159),'Content-Length':Buffer[_0x39f16c(0x1a4)](_0x11bfe7),..._0x3d90fa},_0x1349cf['once']('finish',_0x1349cf[_0x39f16c(0x13a)]),_0x1349cf[_0x39f16c(0x27f)](_0x39f16c(0x158)+_0x2939e5+'\x20'+_0x459aa0[_0x39f16c(0x207)][_0x2939e5]+'\x0d\x0a'+Object['keys'](_0x3d90fa)[_0x39f16c(0x1eb)](_0x402a4a=>_0x402a4a+':\x20'+_0x3d90fa[_0x402a4a])[_0x39f16c(0x153)]('\x0d\x0a')+_0x39f16c(0x180)+_0x11bfe7);}function _0xd15784(_0x2f2ab6,_0x2c7e03,_0x10bcc6,_0x543ed4,_0x2c86ea,_0x336183){const _0x5d2256=_0x404c67;if(_0x2f2ab6[_0x5d2256(0x1e2)](_0x5d2256(0x125))){const _0x1432a0=new Error(_0x2c86ea);Error[_0x5d2256(0x1f4)](_0x1432a0,_0xd15784),_0x2f2ab6[_0x5d2256(0x131)](_0x5d2256(0x125),_0x1432a0,_0x10bcc6,_0x2c7e03);}else _0x175579(_0x10bcc6,_0x543ed4,_0x2c86ea,_0x336183);}return Te;}er();function _0x194c(_0xdd0ce2,_0x1e4ae0){const _0x39ca94=_0x39ca();return _0x194c=function(_0x194c10,_0x4ac336){_0x194c10=_0x194c10-0xd2;let _0x67f664=_0x39ca94[_0x194c10];return _0x67f664;},_0x194c(_0xdd0ce2,_0x1e4ae0);}var tr=Object[_0x5926c3(0x1d6)],rr=(_0x3f1b82,_0x3da653,_0x5012b7,_0x1263c7)=>{for(var _0x54707b=_0x1263c7>0x1?void 0x0:_0x1263c7?tr(_0x3da653,_0x5012b7):_0x3da653,_0x1f5371=_0x3f1b82['length']-0x1,_0x11daa7;_0x1f5371>=0x0;_0x1f5371--)(_0x11daa7=_0x3f1b82[_0x1f5371])&&(_0x54707b=_0x11daa7(_0x54707b)||_0x54707b);return _0x54707b;},sr=(_0x26f67f,_0x49d9c7)=>(_0x238071,_0x3db091)=>_0x49d9c7(_0x238071,_0x3db091,_0x26f67f);let Ne=class extends _0x175934{constructor(_0x4e28d8){super(),this['_configService']=_0x4e28d8;}[_0x5926c3(0x231)](_0x4afcfd){const _0x7f7cb8=_0x5926c3;var _0x1381d3;const _0x33c871=(_0x1381d3=this['_configService']['getConfig'](Be))==null?void 0x0:_0x1381d3[_0x7f7cb8(0x200)];try{const _0x42170b=new Qt(_0x4afcfd,{'headers':{..._0x33c871}}),_0x2e0480=new _0x36c8ab();return{'URL':_0x4afcfd,'close':(_0x2447e5,_0x4140da)=>{const _0x180c01=_0x7f7cb8;_0x42170b['close'](_0x2447e5,_0x4140da),_0x2e0480[_0x180c01(0x199)]();},'send':_0x3f884b=>{_0x42170b['send'](_0x3f884b);},'open$':new _0x44dddd(_0x767337=>{const _0x1bd6af=_0x7f7cb8,_0x5bbee0=_0x50d411=>_0x767337['next'](_0x50d411);_0x42170b[_0x1bd6af(0x141)](_0x1bd6af(0x25b),_0x5bbee0),_0x2e0480[_0x1bd6af(0xf5)](_0x2070df(()=>_0x42170b[_0x1bd6af(0x1d3)](_0x1bd6af(0x25b),_0x5bbee0)));})[_0x7f7cb8(0x210)](_0x140ffc()),'close$':new _0x44dddd(_0xe33ec1=>{const _0x3f49a9=_0x7f7cb8,_0x297c1f=_0x38495c=>_0xe33ec1['next'](_0x38495c);_0x42170b[_0x3f49a9(0x141)]('close',_0x297c1f),_0x2e0480[_0x3f49a9(0xf5)](_0x2070df(()=>_0x42170b['removeEventListener'](_0x3f49a9(0x12f),_0x297c1f)));})['pipe'](_0x140ffc()),'error$':new _0x44dddd(_0x4c43ea=>{const _0x1a9814=_0x7f7cb8,_0xffb142=_0xa2738d=>_0x4c43ea[_0x1a9814(0x26f)](_0xa2738d);_0x42170b['addEventListener'](_0x1a9814(0x1ff),_0xffb142),_0x2e0480[_0x1a9814(0xf5)](_0x2070df(()=>_0x42170b[_0x1a9814(0x1d3)](_0x1a9814(0x1ff),_0xffb142)));})[_0x7f7cb8(0x210)](_0x140ffc()),'message$':new _0x44dddd(_0xb2c929=>{const _0x1e02b8=_0x7f7cb8,_0xbb2445=_0x3cba6d=>_0xb2c929[_0x1e02b8(0x26f)](_0x3cba6d);_0x42170b[_0x1e02b8(0x141)]('message',_0xbb2445),_0x2e0480['add'](_0x2070df(()=>_0x42170b[_0x1e02b8(0x1d3)](_0x1e02b8(0x11a),_0xbb2445)));})[_0x7f7cb8(0x210)](_0x140ffc())};}catch(_0x568fec){return console[_0x7f7cb8(0x1ff)](_0x568fec),null;}}};Ne=rr([sr(0x0,_0x136a70)],Ne);var ir=Object[_0x5926c3(0x101)],nr=Object[_0x5926c3(0x1d6)],or=(_0x4b81de,_0x52abf0,_0x22c1b7)=>_0x52abf0 in _0x4b81de?ir(_0x4b81de,_0x52abf0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22c1b7}):_0x4b81de[_0x52abf0]=_0x22c1b7,ar=(_0x41b4b2,_0x10685c,_0x571cbd,_0x225ced)=>{for(var _0x3698f1=_0x225ced>0x1?void 0x0:_0x225ced?nr(_0x10685c,_0x571cbd):_0x10685c,_0x96a216=_0x41b4b2['length']-0x1,_0x5a3bbc;_0x96a216>=0x0;_0x96a216--)(_0x5a3bbc=_0x41b4b2[_0x96a216])&&(_0x3698f1=_0x5a3bbc(_0x3698f1)||_0x3698f1);return _0x3698f1;},ke=(_0x46bcad,_0x64866d)=>(_0x30d937,_0x1015e8)=>_0x64866d(_0x30d937,_0x1015e8,_0x46bcad),lr=(_0x37d6f9,_0x3d0c81,_0x13eba7)=>or(_0x37d6f9,_0x3d0c81+'',_0x13eba7);let Pe=class extends _0x44958f{constructor(_0x3ee2a7=Ft,_0x122090,_0x5042cc,_0x454e56){const _0x5cc624=_0x5926c3;_0x3ee2a7[_0x5cc624(0x200)]||_0x122090[_0x5cc624(0x1ba)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x5cc624(0x12e)]=_0x5042cc,this[_0x5cc624(0x26d)]=_0x454e56,this[_0x5cc624(0x12e)][_0x5cc624(0x147)](Be,_0x3ee2a7);}[_0x5926c3(0x1da)](){const _0x556e26=_0x5926c3;this[_0x556e26(0x24f)]();}[_0x5926c3(0x24f)](){const _0x2158ce=_0x5926c3;_0x274835(this[_0x2158ce(0x26d)],[[_0x5202ea,{'useClass':Ne}]]);}};lr(Pe,'pluginName','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0xaf8a07(_0x397978),ke(0x1,_0x2c8472),ke(0x2,_0x136a70),ke(0x3,_0x2b1461(_0x4efb55))],Pe);var fr=Object[_0x5926c3(0x1d6)],cr=(_0x233360,_0x3518c4,_0x988fd2,_0x488347)=>{for(var _0x74028c=_0x488347>0x1?void 0x0:_0x488347?fr(_0x3518c4,_0x988fd2):_0x3518c4,_0x51c225=_0x233360['length']-0x1,_0x3f904b;_0x51c225>=0x0;_0x51c225--)(_0x3f904b=_0x233360[_0x51c225])&&(_0x74028c=_0x3f904b(_0x74028c)||_0x74028c);return _0x74028c;},se=(_0x2239e9,_0x4b3bfc)=>(_0x29bf47,_0x18bf0c)=>_0x4b3bfc(_0x29bf47,_0x18bf0c,_0x2239e9);let at=class extends _0x5b5a69{constructor(_0x2b7348,_0x4f89e2,_0x884f8c,_0x1c758a,_0x3723fe){const _0x7d38f=_0x5926c3;super(_0x2b7348,_0x4f89e2,_0x884f8c,_0x1c758a,_0x3723fe);const _0x23735b=this[_0x7d38f(0x12e)][_0x7d38f(0x23d)](Be);this['_httpService'][_0x7d38f(0x1e0)]({'interceptor':(_0x530864,_0x51f297)=>{const _0xe9c08=_0x7d38f;var _0x1746e5;const _0x1ee033=_0x530864['headers'];return(_0x1746e5=_0x23735b==null?void 0x0:_0x23735b[_0xe9c08(0x200)])!=null&&_0x1746e5[_0xe9c08(0x112)]&&_0x1ee033[_0xe9c08(0x19c)](_0xe9c08(0xe6),_0x23735b[_0xe9c08(0x200)][_0xe9c08(0x112)]),_0x51f297(_0x530864);}});}async[_0x5926c3(0x231)](_0x298bd2){return this['_doCreateSocket'](_0x298bd2);}};at=cr([se(0x0,_0x2b1461(_0x4efb55)),se(0x1,_0x2b1461(_0x48c751)),se(0x2,_0x136a70),se(0x3,_0x2c8472),se(0x4,_0x58422f)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};