@univerjs-pro/collaboration-client-node 0.6.6 → 0.6.7

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 _0x5764eb=_0x3609;(function(_0x56746f,_0x233a1d){const _0x55964c=_0x3609,_0x2549fd=_0x56746f();while(!![]){try{const _0x3eb0e5=parseInt(_0x55964c(0x373))/0x1*(parseInt(_0x55964c(0x253))/0x2)+-parseInt(_0x55964c(0x27e))/0x3*(parseInt(_0x55964c(0x374))/0x4)+parseInt(_0x55964c(0x2c1))/0x5*(parseInt(_0x55964c(0x25c))/0x6)+-parseInt(_0x55964c(0x348))/0x7+parseInt(_0x55964c(0x25f))/0x8*(-parseInt(_0x55964c(0x262))/0x9)+-parseInt(_0x55964c(0x391))/0xa+-parseInt(_0x55964c(0x376))/0xb*(-parseInt(_0x55964c(0x344))/0xc);if(_0x3eb0e5===_0x233a1d)break;else _0x2549fd['push'](_0x2549fd['shift']());}catch(_0x3dd19a){_0x2549fd['push'](_0x2549fd['shift']());}}}(_0x29d6,0x5c00f));import{UniverCollaborationClientPlugin as _0x210813,CollaborationSocketService as _0x253861}from'@univerjs-pro/collaboration-client';import{Disposable as _0x2982c8,DisposableCollection as _0x38a09c,toDisposable as _0x8657a9,IConfigService as _0x4579e0,DependentOn as _0x580dba,ILogService as _0x4fefa1,Inject as _0x266c20,Injector as _0x1f8e2d,Plugin as _0x2d357a,registerDependencies as _0x41dbc3}from'@univerjs/core';import{ISocketService as _0x4234c8,HTTPService as _0x508af7}from'@univerjs/network';import{Observable as _0x430a34,share as _0xa8e128}from'rxjs';import _0x32518d from'events';import _0x48d72c from'https';import _0x5ed1b7 from'http';import _0x48adab from'net';import _0x2c6cbe from'tls';import _0x4c8046 from'crypto';import _0x19e8d1 from'stream';import _0x2a10c6 from'url';import _0x507f4f from'zlib';import _0x19f85d from'buffer';import{ISnapshotServerService as _0x446f06}from'@univerjs-pro/collaboration';const Be=_0x5764eb(0x209),Ft={'customHeaders':{}};function Wt(_0x5aecf5){const _0x2237ed=_0x5764eb;return _0x5aecf5&&_0x5aecf5[_0x2237ed(0x24b)]&&Object[_0x2237ed(0x316)][_0x2237ed(0x353)][_0x2237ed(0x33d)](_0x5aecf5,'default')?_0x5aecf5['default']:_0x5aecf5;}function ut(_0x52116){const _0x5aed4c=_0x5764eb;if(_0x52116[_0x5aed4c(0x24b)])return _0x52116;var _0x1d2b06=_0x52116[_0x5aed4c(0x292)];if(typeof _0x1d2b06=='function'){var _0x9a02b0=function _0x4c16ff(){const _0x4ad980=_0x5aed4c;return this instanceof _0x4c16ff?Reflect[_0x4ad980(0x2e3)](_0x1d2b06,arguments,this[_0x4ad980(0x268)]):_0x1d2b06[_0x4ad980(0x2c0)](this,arguments);};_0x9a02b0['prototype']=_0x1d2b06[_0x5aed4c(0x316)];}else _0x9a02b0={};return Object[_0x5aed4c(0x314)](_0x9a02b0,_0x5aed4c(0x24b),{'value':!0x0}),Object[_0x5aed4c(0x394)](_0x52116)['forEach'](function(_0x402a81){const _0x1fd034=_0x5aed4c;var _0x53aada=Object[_0x1fd034(0x327)](_0x52116,_0x402a81);Object[_0x1fd034(0x314)](_0x9a02b0,_0x402a81,_0x53aada['get']?_0x53aada:{'enumerable':!0x0,'get':function(){return _0x52116[_0x402a81];}});}),_0x9a02b0;}var te={'exports':{}},ge,Ye;function V(){const _0x34773d=_0x5764eb;if(Ye)return ge;Ye=0x1;const _0x3e637f=[_0x34773d(0x1fb),_0x34773d(0x1f2),'fragments'],_0x324633=typeof Blob<'u';return _0x324633&&_0x3e637f[_0x34773d(0x22e)](_0x34773d(0x240)),ge={'BINARY_TYPES':_0x3e637f,'EMPTY_BUFFER':Buffer[_0x34773d(0x211)](0x0),'GUID':_0x34773d(0x2f3),'hasBlob':_0x324633,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x34773d(0x27a)),'kStatusCode':Symbol(_0x34773d(0x2e5)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x5764eb(0x31a)](Object[_0x5764eb(0x314)]({'__proto__':null,'default':jt},Symbol[_0x5764eb(0x281)],{'value':_0x5764eb(0x359)})),Vt=ut(Gt);var Ke;function _0x3609(_0x51cc7a,_0x4f8f6b){const _0x29d6c5=_0x29d6();return _0x3609=function(_0x360900,_0x141816){_0x360900=_0x360900-0x1dd;let _0x4db136=_0x29d6c5[_0x360900];return _0x4db136;},_0x3609(_0x51cc7a,_0x4f8f6b);}function ce(){const _0x1e93b6=_0x5764eb;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0xa6db62}=V(),_0x37cd24=Buffer[Symbol[_0x1e93b6(0x320)]];function _0x562048(_0x4f339,_0x1bd6d1){const _0x32981f=_0x1e93b6;if(_0x4f339[_0x32981f(0x25d)]===0x0)return _0xa6db62;if(_0x4f339[_0x32981f(0x25d)]===0x1)return _0x4f339[0x0];const _0x23194a=Buffer[_0x32981f(0x2e7)](_0x1bd6d1);let _0x2356eb=0x0;for(let _0x1f5f61=0x0;_0x1f5f61<_0x4f339[_0x32981f(0x25d)];_0x1f5f61++){const _0x301a87=_0x4f339[_0x1f5f61];_0x23194a['set'](_0x301a87,_0x2356eb),_0x2356eb+=_0x301a87[_0x32981f(0x25d)];}return _0x2356eb<_0x1bd6d1?new _0x37cd24(_0x23194a[_0x32981f(0x248)],_0x23194a[_0x32981f(0x331)],_0x2356eb):_0x23194a;}function _0x19b36e(_0x3ae012,_0x488d0a,_0x38f7f8,_0x3549a0,_0x5901d1){for(let _0x580bfc=0x0;_0x580bfc<_0x5901d1;_0x580bfc++)_0x38f7f8[_0x3549a0+_0x580bfc]=_0x3ae012[_0x580bfc]^_0x488d0a[_0x580bfc&0x3];}function _0x22fd24(_0x5b48f2,_0x3259c3){const _0x7b37fe=_0x1e93b6;for(let _0x2fec7c=0x0;_0x2fec7c<_0x5b48f2[_0x7b37fe(0x25d)];_0x2fec7c++)_0x5b48f2[_0x2fec7c]^=_0x3259c3[_0x2fec7c&0x3];}function _0x33cdd9(_0x104948){const _0x382870=_0x1e93b6;return _0x104948[_0x382870(0x25d)]===_0x104948[_0x382870(0x248)][_0x382870(0x22b)]?_0x104948[_0x382870(0x248)]:_0x104948[_0x382870(0x248)][_0x382870(0x288)](_0x104948[_0x382870(0x331)],_0x104948[_0x382870(0x331)]+_0x104948[_0x382870(0x25d)]);}function _0x16ab39(_0x4724b3){const _0xf0b656=_0x1e93b6;if(_0x16ab39[_0xf0b656(0x37b)]=!0x0,Buffer[_0xf0b656(0x25b)](_0x4724b3))return _0x4724b3;let _0x1babb9;return _0x4724b3 instanceof ArrayBuffer?_0x1babb9=new _0x37cd24(_0x4724b3):ArrayBuffer[_0xf0b656(0x20a)](_0x4724b3)?_0x1babb9=new _0x37cd24(_0x4724b3[_0xf0b656(0x248)],_0x4724b3[_0xf0b656(0x331)],_0x4724b3[_0xf0b656(0x22b)]):(_0x1babb9=Buffer[_0xf0b656(0x305)](_0x4724b3),_0x16ab39[_0xf0b656(0x37b)]=!0x1),_0x1babb9;}if(te[_0x1e93b6(0x24f)]={'concat':_0x562048,'mask':_0x19b36e,'toArrayBuffer':_0x33cdd9,'toBuffer':_0x16ab39,'unmask':_0x22fd24},!process[_0x1e93b6(0x2cc)][_0x1e93b6(0x217)])try{const _0x33ab5a=Vt;te['exports'][_0x1e93b6(0x2b2)]=function(_0xe3db63,_0x4c8ffe,_0x7d81cf,_0xbe1af2,_0x352f87){const _0x9b75cf=_0x1e93b6;_0x352f87<0x30?_0x19b36e(_0xe3db63,_0x4c8ffe,_0x7d81cf,_0xbe1af2,_0x352f87):_0x33ab5a[_0x9b75cf(0x2b2)](_0xe3db63,_0x4c8ffe,_0x7d81cf,_0xbe1af2,_0x352f87);},te[_0x1e93b6(0x24f)]['unmask']=function(_0x35abf4,_0xfeff82){const _0x2ddbda=_0x1e93b6;_0x35abf4[_0x2ddbda(0x25d)]<0x20?_0x22fd24(_0x35abf4,_0xfeff82):_0x33ab5a[_0x2ddbda(0x289)](_0x35abf4,_0xfeff82);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x1217f9=_0x5764eb;if(Xe)return ye;Xe=0x1;const _0x23bf2d=Symbol(_0x1217f9(0x2c9)),_0x56a652=Symbol(_0x1217f9(0x2cb));class _0x282863{constructor(_0x247656){const _0x1c1b82=_0x1217f9;this[_0x23bf2d]=()=>{const _0x2177cf=_0x3609;this[_0x2177cf(0x355)]--,this[_0x56a652]();},this[_0x1c1b82(0x28a)]=_0x247656||0x1/0x0,this[_0x1c1b82(0x382)]=[],this[_0x1c1b82(0x355)]=0x0;}[_0x1217f9(0x1e6)](_0x6121af){const _0x4fe585=_0x1217f9;this[_0x4fe585(0x382)][_0x4fe585(0x22e)](_0x6121af),this[_0x56a652]();}[_0x56a652](){const _0x4c8c0c=_0x1217f9;if(this[_0x4c8c0c(0x355)]!==this['concurrency']&&this[_0x4c8c0c(0x382)][_0x4c8c0c(0x25d)]){const _0x5f54fb=this[_0x4c8c0c(0x382)][_0x4c8c0c(0x1e9)]();this[_0x4c8c0c(0x355)]++,_0x5f54fb(this[_0x23bf2d]);}}}return ye=_0x282863,ye;}var ve,Ze;function he(){const _0x21ade3=_0x5764eb;if(Ze)return ve;Ze=0x1;const _0x1553db=_0x507f4f,_0x21f63b=ce(),_0x438c5f=qt(),{kStatusCode:_0x6c5de9}=V(),_0x49b7de=Buffer[Symbol[_0x21ade3(0x320)]],_0xb51fdb=Buffer['from']([0x0,0x0,0xff,0xff]),_0x5dfb4f=Symbol(_0x21ade3(0x23b)),_0x35d9d6=Symbol(_0x21ade3(0x2f9)),_0xd07e8b=Symbol('callback'),_0x594007=Symbol(_0x21ade3(0x293)),_0x5c8b8f=Symbol(_0x21ade3(0x27b));let _0x412166;class _0x30f2f8{constructor(_0x223a71,_0x448f92,_0x42faf8){const _0x302e17=_0x21ade3;if(this[_0x302e17(0x306)]=_0x42faf8|0x0,this[_0x302e17(0x392)]=_0x223a71||{},this[_0x302e17(0x269)]=this[_0x302e17(0x392)][_0x302e17(0x29e)]!==void 0x0?this[_0x302e17(0x392)][_0x302e17(0x29e)]:0x400,this[_0x302e17(0x340)]=!!_0x448f92,this[_0x302e17(0x330)]=null,this[_0x302e17(0x277)]=null,this[_0x302e17(0x2bc)]=null,!_0x412166){const _0x228877=this[_0x302e17(0x392)][_0x302e17(0x1ee)]!==void 0x0?this[_0x302e17(0x392)]['concurrencyLimit']:0xa;_0x412166=new _0x438c5f(_0x228877);}}static get[_0x21ade3(0x339)](){const _0x196467=_0x21ade3;return _0x196467(0x23b);}[_0x21ade3(0x36d)](){const _0x4e0fc4=_0x21ade3,_0x14d048={};return this[_0x4e0fc4(0x392)][_0x4e0fc4(0x34f)]&&(_0x14d048[_0x4e0fc4(0x236)]=!0x0),this[_0x4e0fc4(0x392)][_0x4e0fc4(0x28c)]&&(_0x14d048[_0x4e0fc4(0x2df)]=!0x0),this[_0x4e0fc4(0x392)][_0x4e0fc4(0x256)]&&(_0x14d048['server_max_window_bits']=this[_0x4e0fc4(0x392)]['serverMaxWindowBits']),this[_0x4e0fc4(0x392)][_0x4e0fc4(0x35b)]?_0x14d048[_0x4e0fc4(0x222)]=this[_0x4e0fc4(0x392)][_0x4e0fc4(0x35b)]:this['_options']['clientMaxWindowBits']==null&&(_0x14d048['client_max_window_bits']=!0x0),_0x14d048;}['accept'](_0x47e095){const _0x8e010d=_0x21ade3;return _0x47e095=this['normalizeParams'](_0x47e095),this[_0x8e010d(0x2bc)]=this['_isServer']?this[_0x8e010d(0x32f)](_0x47e095):this['acceptAsClient'](_0x47e095),this[_0x8e010d(0x2bc)];}[_0x21ade3(0x2dc)](){const _0x45e598=_0x21ade3;if(this[_0x45e598(0x277)]&&(this[_0x45e598(0x277)][_0x45e598(0x1eb)](),this[_0x45e598(0x277)]=null),this[_0x45e598(0x330)]){const _0x5332fb=this[_0x45e598(0x330)][_0xd07e8b];this['_deflate'][_0x45e598(0x1eb)](),this[_0x45e598(0x330)]=null,_0x5332fb&&_0x5332fb(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x21ade3(0x32f)](_0x5f4689){const _0x378dcd=_0x21ade3,_0x1be60c=this['_options'],_0x277e8d=_0x5f4689[_0x378dcd(0x2e6)](_0x505c14=>!(_0x1be60c[_0x378dcd(0x34f)]===!0x1&&_0x505c14[_0x378dcd(0x236)]||_0x505c14[_0x378dcd(0x372)]&&(_0x1be60c[_0x378dcd(0x256)]===!0x1||typeof _0x1be60c[_0x378dcd(0x256)]=='number'&&_0x1be60c[_0x378dcd(0x256)]>_0x505c14[_0x378dcd(0x372)])||typeof _0x1be60c['clientMaxWindowBits']==_0x378dcd(0x235)&&!_0x505c14[_0x378dcd(0x222)]));if(!_0x277e8d)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x1be60c[_0x378dcd(0x34f)]&&(_0x277e8d[_0x378dcd(0x236)]=!0x0),_0x1be60c[_0x378dcd(0x28c)]&&(_0x277e8d['client_no_context_takeover']=!0x0),typeof _0x1be60c['serverMaxWindowBits']==_0x378dcd(0x235)&&(_0x277e8d['server_max_window_bits']=_0x1be60c[_0x378dcd(0x256)]),typeof _0x1be60c[_0x378dcd(0x35b)]==_0x378dcd(0x235)?_0x277e8d[_0x378dcd(0x222)]=_0x1be60c[_0x378dcd(0x35b)]:(_0x277e8d['client_max_window_bits']===!0x0||_0x1be60c['clientMaxWindowBits']===!0x1)&&delete _0x277e8d['client_max_window_bits'],_0x277e8d;}[_0x21ade3(0x2ff)](_0x5b1c3d){const _0xea1554=_0x21ade3,_0x7a3a60=_0x5b1c3d[0x0];if(this[_0xea1554(0x392)][_0xea1554(0x28c)]===!0x1&&_0x7a3a60[_0xea1554(0x2df)])throw new Error(_0xea1554(0x31e));if(!_0x7a3a60[_0xea1554(0x222)])typeof this['_options'][_0xea1554(0x35b)]=='number'&&(_0x7a3a60[_0xea1554(0x222)]=this[_0xea1554(0x392)][_0xea1554(0x35b)]);else{if(this['_options']['clientMaxWindowBits']===!0x1||typeof this[_0xea1554(0x392)]['clientMaxWindowBits']==_0xea1554(0x235)&&_0x7a3a60[_0xea1554(0x222)]>this[_0xea1554(0x392)][_0xea1554(0x35b)])throw new Error(_0xea1554(0x1fd));}return _0x7a3a60;}[_0x21ade3(0x34a)](_0x36b484){const _0x431553=_0x21ade3;return _0x36b484[_0x431553(0x238)](_0xd908d1=>{const _0x2001ae=_0x431553;Object[_0x2001ae(0x394)](_0xd908d1)[_0x2001ae(0x238)](_0x5d4893=>{const _0xe6dcc7=_0x2001ae;let _0x5f4908=_0xd908d1[_0x5d4893];if(_0x5f4908[_0xe6dcc7(0x25d)]>0x1)throw new Error(_0xe6dcc7(0x208)+_0x5d4893+_0xe6dcc7(0x2a3));if(_0x5f4908=_0x5f4908[0x0],_0x5d4893===_0xe6dcc7(0x222)){if(_0x5f4908!==!0x0){const _0x43bd2f=+_0x5f4908;if(!Number[_0xe6dcc7(0x323)](_0x43bd2f)||_0x43bd2f<0x8||_0x43bd2f>0xf)throw new TypeError(_0xe6dcc7(0x33e)+_0x5d4893+_0xe6dcc7(0x371)+_0x5f4908);_0x5f4908=_0x43bd2f;}else{if(!this[_0xe6dcc7(0x340)])throw new TypeError(_0xe6dcc7(0x33e)+_0x5d4893+_0xe6dcc7(0x371)+_0x5f4908);}}else{if(_0x5d4893===_0xe6dcc7(0x372)){const _0x37749c=+_0x5f4908;if(!Number[_0xe6dcc7(0x323)](_0x37749c)||_0x37749c<0x8||_0x37749c>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5d4893+_0xe6dcc7(0x371)+_0x5f4908);_0x5f4908=_0x37749c;}else{if(_0x5d4893===_0xe6dcc7(0x2df)||_0x5d4893===_0xe6dcc7(0x236)){if(_0x5f4908!==!0x0)throw new TypeError(_0xe6dcc7(0x33e)+_0x5d4893+_0xe6dcc7(0x371)+_0x5f4908);}else throw new Error(_0xe6dcc7(0x2ae)+_0x5d4893+'\x22');}}_0xd908d1[_0x5d4893]=_0x5f4908;});}),_0x36b484;}['decompress'](_0x1c883a,_0x4353d1,_0x120d80){const _0x2c77ad=_0x21ade3;_0x412166[_0x2c77ad(0x1e6)](_0x4d3338=>{const _0x56a2aa=_0x2c77ad;this[_0x56a2aa(0x21d)](_0x1c883a,_0x4353d1,(_0x286d4f,_0x33ea5e)=>{_0x4d3338(),_0x120d80(_0x286d4f,_0x33ea5e);});});}['compress'](_0x5243ad,_0x447c3f,_0x2383c9){const _0x4a7347=_0x21ade3;_0x412166[_0x4a7347(0x1e6)](_0x1dbdff=>{this['_compress'](_0x5243ad,_0x447c3f,(_0x14a394,_0x1442d5)=>{_0x1dbdff(),_0x2383c9(_0x14a394,_0x1442d5);});});}['_decompress'](_0x8b03d9,_0x2e101f,_0x1a6d83){const _0x2c14e0=_0x21ade3,_0x4382ac=this[_0x2c14e0(0x340)]?'client':'server';if(!this['_inflate']){const _0x5be0c5=_0x4382ac+'_max_window_bits',_0x1e3b97=typeof this[_0x2c14e0(0x2bc)][_0x5be0c5]!='number'?_0x1553db[_0x2c14e0(0x2f5)]:this[_0x2c14e0(0x2bc)][_0x5be0c5];this[_0x2c14e0(0x277)]=_0x1553db[_0x2c14e0(0x29a)]({...this[_0x2c14e0(0x392)][_0x2c14e0(0x335)],'windowBits':_0x1e3b97}),this[_0x2c14e0(0x277)][_0x5dfb4f]=this,this[_0x2c14e0(0x277)][_0x35d9d6]=0x0,this[_0x2c14e0(0x277)][_0x594007]=[],this[_0x2c14e0(0x277)]['on']('error',_0x3dbdaf),this[_0x2c14e0(0x277)]['on']('data',_0x3f3ae8);}this[_0x2c14e0(0x277)][_0xd07e8b]=_0x1a6d83,this['_inflate'][_0x2c14e0(0x284)](_0x8b03d9),_0x2e101f&&this[_0x2c14e0(0x277)][_0x2c14e0(0x284)](_0xb51fdb),this[_0x2c14e0(0x277)]['flush'](()=>{const _0x93c0cf=_0x2c14e0,_0x5f3a44=this[_0x93c0cf(0x277)][_0x5c8b8f];if(_0x5f3a44){this['_inflate'][_0x93c0cf(0x1eb)](),this[_0x93c0cf(0x277)]=null,_0x1a6d83(_0x5f3a44);return;}const _0x1360ea=_0x21f63b[_0x93c0cf(0x2fb)](this[_0x93c0cf(0x277)][_0x594007],this[_0x93c0cf(0x277)][_0x35d9d6]);this['_inflate']['_readableState'][_0x93c0cf(0x364)]?(this['_inflate'][_0x93c0cf(0x1eb)](),this[_0x93c0cf(0x277)]=null):(this[_0x93c0cf(0x277)][_0x35d9d6]=0x0,this['_inflate'][_0x594007]=[],_0x2e101f&&this[_0x93c0cf(0x2bc)][_0x4382ac+_0x93c0cf(0x2e2)]&&this['_inflate']['reset']()),_0x1a6d83(null,_0x1360ea);});}[_0x21ade3(0x22f)](_0x3ab735,_0xcaf64f,_0x36e71d){const _0x1de0ba=_0x21ade3,_0x5a3a37=this[_0x1de0ba(0x340)]?_0x1de0ba(0x2be):_0x1de0ba(0x26f);if(!this['_deflate']){const _0x394067=_0x5a3a37+_0x1de0ba(0x312),_0x125827=typeof this['params'][_0x394067]!='number'?_0x1553db[_0x1de0ba(0x2f5)]:this[_0x1de0ba(0x2bc)][_0x394067];this[_0x1de0ba(0x330)]=_0x1553db[_0x1de0ba(0x220)]({...this[_0x1de0ba(0x392)][_0x1de0ba(0x29b)],'windowBits':_0x125827}),this[_0x1de0ba(0x330)][_0x35d9d6]=0x0,this[_0x1de0ba(0x330)][_0x594007]=[],this[_0x1de0ba(0x330)]['on']('data',_0x494f23);}this[_0x1de0ba(0x330)][_0xd07e8b]=_0x36e71d,this['_deflate']['write'](_0x3ab735),this[_0x1de0ba(0x330)]['flush'](_0x1553db[_0x1de0ba(0x239)],()=>{const _0x110a5c=_0x1de0ba;if(!this[_0x110a5c(0x330)])return;let _0x231603=_0x21f63b[_0x110a5c(0x2fb)](this['_deflate'][_0x594007],this[_0x110a5c(0x330)][_0x35d9d6]);_0xcaf64f&&(_0x231603=new _0x49b7de(_0x231603['buffer'],_0x231603[_0x110a5c(0x331)],_0x231603['length']-0x4)),this[_0x110a5c(0x330)][_0xd07e8b]=null,this['_deflate'][_0x35d9d6]=0x0,this[_0x110a5c(0x330)][_0x594007]=[],_0xcaf64f&&this['params'][_0x5a3a37+'_no_context_takeover']&&this[_0x110a5c(0x330)]['reset'](),_0x36e71d(null,_0x231603);});}}ve=_0x30f2f8;function _0x494f23(_0x1f477d){const _0x242310=_0x21ade3;this[_0x594007][_0x242310(0x22e)](_0x1f477d),this[_0x35d9d6]+=_0x1f477d[_0x242310(0x25d)];}function _0x3f3ae8(_0x593a71){const _0x312553=_0x21ade3;if(this[_0x35d9d6]+=_0x593a71['length'],this[_0x5dfb4f][_0x312553(0x306)]<0x1||this[_0x35d9d6]<=this[_0x5dfb4f]['_maxPayload']){this[_0x594007]['push'](_0x593a71);return;}this[_0x5c8b8f]=new RangeError(_0x312553(0x377)),this[_0x5c8b8f]['code']='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x5c8b8f][_0x6c5de9]=0x3f1,this[_0x312553(0x1e0)]('data',_0x3f3ae8),this[_0x312553(0x225)]();}function _0x3dbdaf(_0x34268c){const _0x2735c8=_0x21ade3;this[_0x5dfb4f][_0x2735c8(0x277)]=null,_0x34268c[_0x6c5de9]=0x3ef,this[_0xd07e8b](_0x34268c);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x5764eb(0x31a)](Object[_0x5764eb(0x314)]({'__proto__':null,'default':Ht},Symbol[_0x5764eb(0x281)],{'value':_0x5764eb(0x359)})),Yt=ut(zt);var Qe;function ne(){const _0x34783f=_0x5764eb;if(Qe)return re[_0x34783f(0x24f)];Qe=0x1;const {isUtf8:_0x39afdb}=_0x19f85d,{hasBlob:_0x439f8f}=V(),_0x537ef4=[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 _0xc83342(_0x45c022){return _0x45c022>=0x3e8&&_0x45c022<=0x3f6&&_0x45c022!==0x3ec&&_0x45c022!==0x3ed&&_0x45c022!==0x3ee||_0x45c022>=0xbb8&&_0x45c022<=0x1387;}function _0x7a65ae(_0x13e111){const _0x3d4769=_0x34783f,_0x3a6dc7=_0x13e111[_0x3d4769(0x25d)];let _0x909c8c=0x0;for(;_0x909c8c<_0x3a6dc7;)if((_0x13e111[_0x909c8c]&0x80)===0x0)_0x909c8c++;else{if((_0x13e111[_0x909c8c]&0xe0)===0xc0){if(_0x909c8c+0x1===_0x3a6dc7||(_0x13e111[_0x909c8c+0x1]&0xc0)!==0x80||(_0x13e111[_0x909c8c]&0xfe)===0xc0)return!0x1;_0x909c8c+=0x2;}else{if((_0x13e111[_0x909c8c]&0xf0)===0xe0){if(_0x909c8c+0x2>=_0x3a6dc7||(_0x13e111[_0x909c8c+0x1]&0xc0)!==0x80||(_0x13e111[_0x909c8c+0x2]&0xc0)!==0x80||_0x13e111[_0x909c8c]===0xe0&&(_0x13e111[_0x909c8c+0x1]&0xe0)===0x80||_0x13e111[_0x909c8c]===0xed&&(_0x13e111[_0x909c8c+0x1]&0xe0)===0xa0)return!0x1;_0x909c8c+=0x3;}else{if((_0x13e111[_0x909c8c]&0xf8)===0xf0){if(_0x909c8c+0x3>=_0x3a6dc7||(_0x13e111[_0x909c8c+0x1]&0xc0)!==0x80||(_0x13e111[_0x909c8c+0x2]&0xc0)!==0x80||(_0x13e111[_0x909c8c+0x3]&0xc0)!==0x80||_0x13e111[_0x909c8c]===0xf0&&(_0x13e111[_0x909c8c+0x1]&0xf0)===0x80||_0x13e111[_0x909c8c]===0xf4&&_0x13e111[_0x909c8c+0x1]>0x8f||_0x13e111[_0x909c8c]>0xf4)return!0x1;_0x909c8c+=0x4;}else return!0x1;}}}return!0x0;}function _0x56cca3(_0x59814d){const _0x385371=_0x34783f;return _0x439f8f&&typeof _0x59814d==_0x385371(0x2a1)&&typeof _0x59814d[_0x385371(0x38f)]==_0x385371(0x2ad)&&typeof _0x59814d[_0x385371(0x379)]==_0x385371(0x378)&&typeof _0x59814d['stream']==_0x385371(0x2ad)&&(_0x59814d[Symbol['toStringTag']]===_0x385371(0x24c)||_0x59814d[Symbol['toStringTag']]===_0x385371(0x205));}if(re['exports']={'isBlob':_0x56cca3,'isValidStatusCode':_0xc83342,'isValidUTF8':_0x7a65ae,'tokenChars':_0x537ef4},_0x39afdb)re[_0x34783f(0x24f)][_0x34783f(0x304)]=function(_0x4c2e63){return _0x4c2e63['length']<0x18?_0x7a65ae(_0x4c2e63):_0x39afdb(_0x4c2e63);};else{if(!process['env'][_0x34783f(0x28e)])try{const _0x567e41=Yt;re[_0x34783f(0x24f)][_0x34783f(0x304)]=function(_0x5981dc){return _0x5981dc['length']<0x20?_0x7a65ae(_0x5981dc):_0x567e41(_0x5981dc);};}catch{}}return re[_0x34783f(0x24f)];}var Se,Je;function dt(){const _0x411fcd=_0x5764eb;if(Je)return Se;Je=0x1;const {Writable:_0x51d4e8}=_0x19e8d1,_0x53ccc5=he(),{BINARY_TYPES:_0x80e4aa,EMPTY_BUFFER:_0x5bfdcf,kStatusCode:_0x4fe362,kWebSocket:_0x182cb6}=V(),{concat:_0x4ecc64,toArrayBuffer:_0x448716,unmask:_0x40240b}=ce(),{isValidStatusCode:_0x64f4f1,isValidUTF8:_0x32e9f3}=ne(),_0x17936a=Buffer[Symbol[_0x411fcd(0x320)]],_0x20de48=0x0,_0xbabf32=0x1,_0x289c42=0x2,_0x403b32=0x3,_0x46c58=0x4,_0x37cf84=0x5,_0x48c6ed=0x6;class _0x21a4ef extends _0x51d4e8{constructor(_0x16909f={}){const _0x1b4351=_0x411fcd;super(),this[_0x1b4351(0x232)]=_0x16909f[_0x1b4351(0x38e)]!==void 0x0?_0x16909f['allowSynchronousEvents']:!0x0,this[_0x1b4351(0x2c8)]=_0x16909f[_0x1b4351(0x260)]||_0x80e4aa[0x0],this[_0x1b4351(0x30c)]=_0x16909f[_0x1b4351(0x244)]||{},this[_0x1b4351(0x340)]=!!_0x16909f[_0x1b4351(0x1f8)],this[_0x1b4351(0x306)]=_0x16909f[_0x1b4351(0x219)]|0x0,this[_0x1b4351(0x1f4)]=!!_0x16909f[_0x1b4351(0x2db)],this[_0x182cb6]=void 0x0,this[_0x1b4351(0x2bb)]=0x0,this[_0x1b4351(0x2f6)]=[],this[_0x1b4351(0x2d0)]=!0x1,this[_0x1b4351(0x360)]=0x0,this[_0x1b4351(0x375)]=void 0x0,this[_0x1b4351(0x276)]=0x0,this[_0x1b4351(0x1e4)]=!0x1,this[_0x1b4351(0x294)]=!0x1,this['_opcode']=0x0,this[_0x1b4351(0x347)]=0x0,this['_messageLength']=0x0,this['_fragments']=[],this['_errored']=!0x1,this[_0x1b4351(0x2f4)]=!0x1,this[_0x1b4351(0x26b)]=_0x20de48;}[_0x411fcd(0x2b1)](_0x359079,_0x3798dd,_0x52e14b){const _0x676442=_0x411fcd;if(this[_0x676442(0x23c)]===0x8&&this[_0x676442(0x26b)]==_0x20de48)return _0x52e14b();this[_0x676442(0x2bb)]+=_0x359079[_0x676442(0x25d)],this[_0x676442(0x2f6)][_0x676442(0x22e)](_0x359079),this['startLoop'](_0x52e14b);}['consume'](_0x2e823b){const _0x3dce48=_0x411fcd;if(this[_0x3dce48(0x2bb)]-=_0x2e823b,_0x2e823b===this[_0x3dce48(0x2f6)][0x0][_0x3dce48(0x25d)])return this[_0x3dce48(0x2f6)][_0x3dce48(0x1e9)]();if(_0x2e823b<this[_0x3dce48(0x2f6)][0x0][_0x3dce48(0x25d)]){const _0x561af2=this[_0x3dce48(0x2f6)][0x0];return this[_0x3dce48(0x2f6)][0x0]=new _0x17936a(_0x561af2[_0x3dce48(0x248)],_0x561af2[_0x3dce48(0x331)]+_0x2e823b,_0x561af2[_0x3dce48(0x25d)]-_0x2e823b),new _0x17936a(_0x561af2['buffer'],_0x561af2[_0x3dce48(0x331)],_0x2e823b);}const _0x1356db=Buffer['allocUnsafe'](_0x2e823b);do{const _0x55ae53=this['_buffers'][0x0],_0x57b8cb=_0x1356db[_0x3dce48(0x25d)]-_0x2e823b;_0x2e823b>=_0x55ae53[_0x3dce48(0x25d)]?_0x1356db[_0x3dce48(0x2ef)](this['_buffers'][_0x3dce48(0x1e9)](),_0x57b8cb):(_0x1356db[_0x3dce48(0x2ef)](new Uint8Array(_0x55ae53[_0x3dce48(0x248)],_0x55ae53[_0x3dce48(0x331)],_0x2e823b),_0x57b8cb),this[_0x3dce48(0x2f6)][0x0]=new _0x17936a(_0x55ae53[_0x3dce48(0x248)],_0x55ae53['byteOffset']+_0x2e823b,_0x55ae53[_0x3dce48(0x25d)]-_0x2e823b)),_0x2e823b-=_0x55ae53[_0x3dce48(0x25d)];}while(_0x2e823b>0x0);return _0x1356db;}[_0x411fcd(0x2d5)](_0x4b2e2e){const _0x5df4bc=_0x411fcd;this[_0x5df4bc(0x2f4)]=!0x0;do switch(this[_0x5df4bc(0x26b)]){case _0x20de48:this[_0x5df4bc(0x270)](_0x4b2e2e);break;case _0xbabf32:this[_0x5df4bc(0x2d9)](_0x4b2e2e);break;case _0x289c42:this['getPayloadLength64'](_0x4b2e2e);break;case _0x403b32:this[_0x5df4bc(0x213)]();break;case _0x46c58:this[_0x5df4bc(0x319)](_0x4b2e2e);break;case _0x37cf84:case _0x48c6ed:this[_0x5df4bc(0x2f4)]=!0x1;return;}while(this[_0x5df4bc(0x2f4)]);this[_0x5df4bc(0x28f)]||_0x4b2e2e();}['getInfo'](_0x5549a5){const _0x806cf=_0x411fcd;if(this[_0x806cf(0x2bb)]<0x2){this[_0x806cf(0x2f4)]=!0x1;return;}const _0x4228dc=this[_0x806cf(0x29c)](0x2);if((_0x4228dc[0x0]&0x30)!==0x0){const _0x4120c0=this['createError'](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x5549a5(_0x4120c0);return;}const _0x404879=(_0x4228dc[0x0]&0x40)===0x40;if(_0x404879&&!this[_0x806cf(0x30c)][_0x53ccc5[_0x806cf(0x339)]]){const _0x70d836=this['createError'](RangeError,_0x806cf(0x266),!0x0,0x3ea,_0x806cf(0x287));_0x5549a5(_0x70d836);return;}if(this['_fin']=(_0x4228dc[0x0]&0x80)===0x80,this[_0x806cf(0x23c)]=_0x4228dc[0x0]&0xf,this[_0x806cf(0x360)]=_0x4228dc[0x1]&0x7f,this[_0x806cf(0x23c)]===0x0){if(_0x404879){const _0x12b79b=this['createError'](RangeError,_0x806cf(0x266),!0x0,0x3ea,_0x806cf(0x287));_0x5549a5(_0x12b79b);return;}if(!this[_0x806cf(0x276)]){const _0x99ab85=this['createError'](RangeError,_0x806cf(0x369),!0x0,0x3ea,_0x806cf(0x2a9));_0x5549a5(_0x99ab85);return;}this['_opcode']=this[_0x806cf(0x276)];}else{if(this[_0x806cf(0x23c)]===0x1||this[_0x806cf(0x23c)]===0x2){if(this[_0x806cf(0x276)]){const _0x489fdc=this[_0x806cf(0x2ee)](RangeError,_0x806cf(0x333)+this[_0x806cf(0x23c)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x5549a5(_0x489fdc);return;}this[_0x806cf(0x2d0)]=_0x404879;}else{if(this[_0x806cf(0x23c)]>0x7&&this[_0x806cf(0x23c)]<0xb){if(!this[_0x806cf(0x294)]){const _0x36e2af=this['createError'](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x806cf(0x251));_0x5549a5(_0x36e2af);return;}if(_0x404879){const _0x141ef0=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x806cf(0x287));_0x5549a5(_0x141ef0);return;}if(this[_0x806cf(0x360)]>0x7d||this[_0x806cf(0x23c)]===0x8&&this['_payloadLength']===0x1){const _0x44003d=this['createError'](RangeError,_0x806cf(0x363)+this[_0x806cf(0x360)],!0x0,0x3ea,_0x806cf(0x22a));_0x5549a5(_0x44003d);return;}}else{const _0x17b891=this['createError'](RangeError,_0x806cf(0x333)+this[_0x806cf(0x23c)],!0x0,0x3ea,_0x806cf(0x2a9));_0x5549a5(_0x17b891);return;}}}if(!this[_0x806cf(0x294)]&&!this['_fragmented']&&(this[_0x806cf(0x276)]=this[_0x806cf(0x23c)]),this[_0x806cf(0x1e4)]=(_0x4228dc[0x1]&0x80)===0x80,this[_0x806cf(0x340)]){if(!this['_masked']){const _0x1f97c9=this['createError'](RangeError,_0x806cf(0x34b),!0x0,0x3ea,_0x806cf(0x285));_0x5549a5(_0x1f97c9);return;}}else{if(this['_masked']){const _0x10dc41=this[_0x806cf(0x2ee)](RangeError,_0x806cf(0x28b),!0x0,0x3ea,_0x806cf(0x1e2));_0x5549a5(_0x10dc41);return;}}this[_0x806cf(0x360)]===0x7e?this[_0x806cf(0x26b)]=_0xbabf32:this[_0x806cf(0x360)]===0x7f?this[_0x806cf(0x26b)]=_0x289c42:this[_0x806cf(0x36e)](_0x5549a5);}[_0x411fcd(0x2d9)](_0x4d8c4b){const _0x5dd81d=_0x411fcd;if(this[_0x5dd81d(0x2bb)]<0x2){this[_0x5dd81d(0x2f4)]=!0x1;return;}this['_payloadLength']=this[_0x5dd81d(0x29c)](0x2)[_0x5dd81d(0x1e5)](0x0),this[_0x5dd81d(0x36e)](_0x4d8c4b);}[_0x411fcd(0x215)](_0x319583){const _0x5e791e=_0x411fcd;if(this['_bufferedBytes']<0x8){this[_0x5e791e(0x2f4)]=!0x1;return;}const _0x36d693=this['consume'](0x8),_0x5d55a1=_0x36d693[_0x5e791e(0x27f)](0x0);if(_0x5d55a1>Math[_0x5e791e(0x2d7)](0x2,0x15)-0x1){const _0x50068e=this[_0x5e791e(0x2ee)](RangeError,_0x5e791e(0x2b6),!0x1,0x3f1,_0x5e791e(0x354));_0x319583(_0x50068e);return;}this[_0x5e791e(0x360)]=_0x5d55a1*Math[_0x5e791e(0x2d7)](0x2,0x20)+_0x36d693['readUInt32BE'](0x4),this[_0x5e791e(0x36e)](_0x319583);}[_0x411fcd(0x36e)](_0x146839){const _0x5d647a=_0x411fcd;if(this[_0x5d647a(0x360)]&&this['_opcode']<0x8&&(this[_0x5d647a(0x347)]+=this[_0x5d647a(0x360)],this['_totalPayloadLength']>this[_0x5d647a(0x306)]&&this[_0x5d647a(0x306)]>0x0)){const _0x2cf09f=this[_0x5d647a(0x2ee)](RangeError,_0x5d647a(0x377),!0x1,0x3f1,_0x5d647a(0x310));_0x146839(_0x2cf09f);return;}this[_0x5d647a(0x1e4)]?this[_0x5d647a(0x26b)]=_0x403b32:this[_0x5d647a(0x26b)]=_0x46c58;}['getMask'](){const _0x177069=_0x411fcd;if(this['_bufferedBytes']<0x4){this[_0x177069(0x2f4)]=!0x1;return;}this[_0x177069(0x375)]=this[_0x177069(0x29c)](0x4),this[_0x177069(0x26b)]=_0x46c58;}[_0x411fcd(0x319)](_0x7fe580){const _0x2277f1=_0x411fcd;let _0x235b4c=_0x5bfdcf;if(this[_0x2277f1(0x360)]){if(this[_0x2277f1(0x2bb)]<this['_payloadLength']){this[_0x2277f1(0x2f4)]=!0x1;return;}_0x235b4c=this['consume'](this[_0x2277f1(0x360)]),this[_0x2277f1(0x1e4)]&&(this['_mask'][0x0]|this[_0x2277f1(0x375)][0x1]|this[_0x2277f1(0x375)][0x2]|this[_0x2277f1(0x375)][0x3])!==0x0&&_0x40240b(_0x235b4c,this[_0x2277f1(0x375)]);}if(this['_opcode']>0x7){this['controlMessage'](_0x235b4c,_0x7fe580);return;}if(this['_compressed']){this[_0x2277f1(0x26b)]=_0x37cf84,this[_0x2277f1(0x21a)](_0x235b4c,_0x7fe580);return;}_0x235b4c['length']&&(this[_0x2277f1(0x250)]=this[_0x2277f1(0x347)],this[_0x2277f1(0x1ea)][_0x2277f1(0x22e)](_0x235b4c)),this[_0x2277f1(0x22d)](_0x7fe580);}['decompress'](_0x3bf75d,_0x16b6c){const _0x47e0f4=_0x411fcd;this['_extensions'][_0x53ccc5[_0x47e0f4(0x339)]]['decompress'](_0x3bf75d,this['_fin'],(_0x51cc91,_0x8bd589)=>{const _0x567b29=_0x47e0f4;if(_0x51cc91)return _0x16b6c(_0x51cc91);if(_0x8bd589[_0x567b29(0x25d)]){if(this[_0x567b29(0x250)]+=_0x8bd589[_0x567b29(0x25d)],this[_0x567b29(0x250)]>this[_0x567b29(0x306)]&&this[_0x567b29(0x306)]>0x0){const _0x5dc377=this[_0x567b29(0x2ee)](RangeError,_0x567b29(0x377),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x16b6c(_0x5dc377);return;}this['_fragments']['push'](_0x8bd589);}this[_0x567b29(0x22d)](_0x16b6c),this[_0x567b29(0x26b)]===_0x20de48&&this[_0x567b29(0x2d5)](_0x16b6c);});}['dataMessage'](_0x189cce){const _0x474f09=_0x411fcd;if(!this['_fin']){this[_0x474f09(0x26b)]=_0x20de48;return;}const _0x4d2f1b=this[_0x474f09(0x250)],_0x1a3f21=this['_fragments'];if(this['_totalPayloadLength']=0x0,this[_0x474f09(0x250)]=0x0,this['_fragmented']=0x0,this[_0x474f09(0x1ea)]=[],this[_0x474f09(0x23c)]===0x2){let _0x39202c;this[_0x474f09(0x2c8)]===_0x474f09(0x1fb)?_0x39202c=_0x4ecc64(_0x1a3f21,_0x4d2f1b):this['_binaryType']===_0x474f09(0x1f2)?_0x39202c=_0x448716(_0x4ecc64(_0x1a3f21,_0x4d2f1b)):this[_0x474f09(0x2c8)]===_0x474f09(0x240)?_0x39202c=new Blob(_0x1a3f21):_0x39202c=_0x1a3f21,this['_allowSynchronousEvents']?(this[_0x474f09(0x356)](_0x474f09(0x247),_0x39202c,!0x0),this[_0x474f09(0x26b)]=_0x20de48):(this[_0x474f09(0x26b)]=_0x48c6ed,setImmediate(()=>{const _0x1aab9d=_0x474f09;this[_0x1aab9d(0x356)](_0x1aab9d(0x247),_0x39202c,!0x0),this[_0x1aab9d(0x26b)]=_0x20de48,this[_0x1aab9d(0x2d5)](_0x189cce);}));}else{const _0x29733a=_0x4ecc64(_0x1a3f21,_0x4d2f1b);if(!this[_0x474f09(0x1f4)]&&!_0x32e9f3(_0x29733a)){const _0x141bae=this[_0x474f09(0x2ee)](Error,_0x474f09(0x349),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x189cce(_0x141bae);return;}this[_0x474f09(0x26b)]===_0x37cf84||this[_0x474f09(0x232)]?(this[_0x474f09(0x356)](_0x474f09(0x247),_0x29733a,!0x1),this[_0x474f09(0x26b)]=_0x20de48):(this[_0x474f09(0x26b)]=_0x48c6ed,setImmediate(()=>{const _0x9bbabc=_0x474f09;this['emit'](_0x9bbabc(0x247),_0x29733a,!0x1),this[_0x9bbabc(0x26b)]=_0x20de48,this['startLoop'](_0x189cce);}));}}['controlMessage'](_0x5cfb56,_0x5809bf){const _0x1cc4a0=_0x411fcd;if(this[_0x1cc4a0(0x23c)]===0x8){if(_0x5cfb56[_0x1cc4a0(0x25d)]===0x0)this[_0x1cc4a0(0x2f4)]=!0x1,this[_0x1cc4a0(0x356)](_0x1cc4a0(0x255),0x3ed,_0x5bfdcf),this[_0x1cc4a0(0x23f)]();else{const _0x3482a1=_0x5cfb56['readUInt16BE'](0x0);if(!_0x64f4f1(_0x3482a1)){const _0x2e7564=this[_0x1cc4a0(0x2ee)](RangeError,'invalid\x20status\x20code\x20'+_0x3482a1,!0x0,0x3ea,_0x1cc4a0(0x29f));_0x5809bf(_0x2e7564);return;}const _0x2b9df2=new _0x17936a(_0x5cfb56[_0x1cc4a0(0x248)],_0x5cfb56[_0x1cc4a0(0x331)]+0x2,_0x5cfb56['length']-0x2);if(!this[_0x1cc4a0(0x1f4)]&&!_0x32e9f3(_0x2b9df2)){const _0x4e5bdc=this['createError'](Error,_0x1cc4a0(0x349),!0x0,0x3ef,_0x1cc4a0(0x35a));_0x5809bf(_0x4e5bdc);return;}this[_0x1cc4a0(0x2f4)]=!0x1,this[_0x1cc4a0(0x356)](_0x1cc4a0(0x255),_0x3482a1,_0x2b9df2),this[_0x1cc4a0(0x23f)]();}this['_state']=_0x20de48;return;}this[_0x1cc4a0(0x232)]?(this[_0x1cc4a0(0x356)](this[_0x1cc4a0(0x23c)]===0x9?'ping':_0x1cc4a0(0x36b),_0x5cfb56),this[_0x1cc4a0(0x26b)]=_0x20de48):(this['_state']=_0x48c6ed,setImmediate(()=>{const _0x5e7c2f=_0x1cc4a0;this[_0x5e7c2f(0x356)](this[_0x5e7c2f(0x23c)]===0x9?'ping':_0x5e7c2f(0x36b),_0x5cfb56),this[_0x5e7c2f(0x26b)]=_0x20de48,this['startLoop'](_0x5809bf);}));}['createError'](_0x2f820b,_0x5053b4,_0x22da7b,_0x30394f,_0x2b6b22){const _0x43d87c=_0x411fcd;this['_loop']=!0x1,this[_0x43d87c(0x28f)]=!0x0;const _0x2c1a18=new _0x2f820b(_0x22da7b?_0x43d87c(0x309)+_0x5053b4:_0x5053b4);return Error[_0x43d87c(0x30f)](_0x2c1a18,this[_0x43d87c(0x2ee)]),_0x2c1a18[_0x43d87c(0x2d6)]=_0x2b6b22,_0x2c1a18[_0x4fe362]=_0x30394f,_0x2c1a18;}}return Se=_0x21a4ef,Se;}var Ee,et;function _t(){const _0x28f52a=_0x5764eb;if(et)return Ee;et=0x1;const {Duplex:_0x5727f8}=_0x19e8d1,{randomFillSync:_0x184d88}=_0x4c8046,_0x3d8003=he(),{EMPTY_BUFFER:_0x1b2b0b,kWebSocket:_0x3f245f,NOOP:_0x1b5985}=V(),{isBlob:_0xe17e26,isValidStatusCode:_0x283993}=ne(),{mask:_0x27990c,toBuffer:_0xaa7f6}=ce(),_0x5162c6=Symbol('kByteLength'),_0x1f352c=Buffer[_0x28f52a(0x211)](0x4),_0x965492=0x8*0x400;let _0x32902f,_0x47b4ec=_0x965492;const _0x59e105=0x0,_0x363de5=0x1,_0x50e040=0x2;class _0x31030f{constructor(_0x1480f1,_0xbcd55e,_0x217842){const _0xd69ca7=_0x28f52a;this[_0xd69ca7(0x30c)]=_0xbcd55e||{},_0x217842&&(this[_0xd69ca7(0x283)]=_0x217842,this[_0xd69ca7(0x30d)]=Buffer[_0xd69ca7(0x211)](0x4)),this[_0xd69ca7(0x2e9)]=_0x1480f1,this[_0xd69ca7(0x21f)]=!0x0,this[_0xd69ca7(0x22f)]=!0x1,this[_0xd69ca7(0x2bb)]=0x0,this['_queue']=[],this['_state']=_0x59e105,this[_0xd69ca7(0x23a)]=_0x1b5985,this[_0x3f245f]=void 0x0;}static[_0x28f52a(0x23e)](_0x353c0f,_0x14af87){const _0x278701=_0x28f52a;let _0x323ebf,_0x28aa9f=!0x1,_0x437f08=0x2,_0x1bc6e4=!0x1;_0x14af87[_0x278701(0x2b2)]&&(_0x323ebf=_0x14af87[_0x278701(0x2eb)]||_0x1f352c,_0x14af87[_0x278701(0x1e8)]?_0x14af87[_0x278701(0x1e8)](_0x323ebf):(_0x47b4ec===_0x965492&&(_0x32902f===void 0x0&&(_0x32902f=Buffer['alloc'](_0x965492)),_0x184d88(_0x32902f,0x0,_0x965492),_0x47b4ec=0x0),_0x323ebf[0x0]=_0x32902f[_0x47b4ec++],_0x323ebf[0x1]=_0x32902f[_0x47b4ec++],_0x323ebf[0x2]=_0x32902f[_0x47b4ec++],_0x323ebf[0x3]=_0x32902f[_0x47b4ec++]),_0x1bc6e4=(_0x323ebf[0x0]|_0x323ebf[0x1]|_0x323ebf[0x2]|_0x323ebf[0x3])===0x0,_0x437f08=0x6);let _0x33d65c;typeof _0x353c0f=='string'?(!_0x14af87[_0x278701(0x2b2)]||_0x1bc6e4)&&_0x14af87[_0x5162c6]!==void 0x0?_0x33d65c=_0x14af87[_0x5162c6]:(_0x353c0f=Buffer[_0x278701(0x305)](_0x353c0f),_0x33d65c=_0x353c0f[_0x278701(0x25d)]):(_0x33d65c=_0x353c0f[_0x278701(0x25d)],_0x28aa9f=_0x14af87[_0x278701(0x2b2)]&&_0x14af87[_0x278701(0x37b)]&&!_0x1bc6e4);let _0x489d7f=_0x33d65c;_0x33d65c>=0x10000?(_0x437f08+=0x8,_0x489d7f=0x7f):_0x33d65c>0x7d&&(_0x437f08+=0x2,_0x489d7f=0x7e);const _0x5af967=Buffer[_0x278701(0x2e7)](_0x28aa9f?_0x33d65c+_0x437f08:_0x437f08);return _0x5af967[0x0]=_0x14af87['fin']?_0x14af87['opcode']|0x80:_0x14af87[_0x278701(0x24e)],_0x14af87[_0x278701(0x352)]&&(_0x5af967[0x0]|=0x40),_0x5af967[0x1]=_0x489d7f,_0x489d7f===0x7e?_0x5af967[_0x278701(0x23d)](_0x33d65c,0x2):_0x489d7f===0x7f&&(_0x5af967[0x2]=_0x5af967[0x3]=0x0,_0x5af967[_0x278701(0x2aa)](_0x33d65c,0x4,0x6)),_0x14af87[_0x278701(0x2b2)]?(_0x5af967[0x1]|=0x80,_0x5af967[_0x437f08-0x4]=_0x323ebf[0x0],_0x5af967[_0x437f08-0x3]=_0x323ebf[0x1],_0x5af967[_0x437f08-0x2]=_0x323ebf[0x2],_0x5af967[_0x437f08-0x1]=_0x323ebf[0x3],_0x1bc6e4?[_0x5af967,_0x353c0f]:_0x28aa9f?(_0x27990c(_0x353c0f,_0x323ebf,_0x5af967,_0x437f08,_0x33d65c),[_0x5af967]):(_0x27990c(_0x353c0f,_0x323ebf,_0x353c0f,0x0,_0x33d65c),[_0x5af967,_0x353c0f])):[_0x5af967,_0x353c0f];}[_0x28f52a(0x1eb)](_0x270453,_0x5d7cda,_0x3923b6,_0x5d042b){const _0x1ec839=_0x28f52a;let _0x28b5ba;if(_0x270453===void 0x0)_0x28b5ba=_0x1b2b0b;else{if(typeof _0x270453!=_0x1ec839(0x235)||!_0x283993(_0x270453))throw new TypeError(_0x1ec839(0x385));if(_0x5d7cda===void 0x0||!_0x5d7cda[_0x1ec839(0x25d)])_0x28b5ba=Buffer[_0x1ec839(0x2e7)](0x2),_0x28b5ba[_0x1ec839(0x23d)](_0x270453,0x0);else{const _0x1eb636=Buffer[_0x1ec839(0x22b)](_0x5d7cda);if(_0x1eb636>0x7b)throw new RangeError(_0x1ec839(0x2b4));_0x28b5ba=Buffer[_0x1ec839(0x2e7)](0x2+_0x1eb636),_0x28b5ba[_0x1ec839(0x23d)](_0x270453,0x0),typeof _0x5d7cda=='string'?_0x28b5ba[_0x1ec839(0x284)](_0x5d7cda,0x2):_0x28b5ba[_0x1ec839(0x2ef)](_0x5d7cda,0x2);}}const _0x343c61={[_0x5162c6]:_0x28b5ba[_0x1ec839(0x25d)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x3923b6,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x1ec839(0x26b)]!==_0x59e105?this[_0x1ec839(0x296)]([this[_0x1ec839(0x2d8)],_0x28b5ba,!0x1,_0x343c61,_0x5d042b]):this[_0x1ec839(0x258)](_0x31030f[_0x1ec839(0x23e)](_0x28b5ba,_0x343c61),_0x5d042b);}[_0x28f52a(0x1e7)](_0x4dd412,_0x56f629,_0x4db093){const _0x2ce825=_0x28f52a;let _0x2ce2f6,_0x20e3c0;if(typeof _0x4dd412==_0x2ce825(0x378)?(_0x2ce2f6=Buffer['byteLength'](_0x4dd412),_0x20e3c0=!0x1):_0xe17e26(_0x4dd412)?(_0x2ce2f6=_0x4dd412[_0x2ce825(0x2f2)],_0x20e3c0=!0x1):(_0x4dd412=_0xaa7f6(_0x4dd412),_0x2ce2f6=_0x4dd412['length'],_0x20e3c0=_0xaa7f6[_0x2ce825(0x37b)]),_0x2ce2f6>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x2ad942={[_0x5162c6]:_0x2ce2f6,'fin':!0x0,'generateMask':this[_0x2ce825(0x283)],'mask':_0x56f629,'maskBuffer':this[_0x2ce825(0x30d)],'opcode':0x9,'readOnly':_0x20e3c0,'rsv1':!0x1};_0xe17e26(_0x4dd412)?this[_0x2ce825(0x26b)]!==_0x59e105?this[_0x2ce825(0x296)]([this[_0x2ce825(0x342)],_0x4dd412,!0x1,_0x2ad942,_0x4db093]):this[_0x2ce825(0x342)](_0x4dd412,!0x1,_0x2ad942,_0x4db093):this['_state']!==_0x59e105?this[_0x2ce825(0x296)]([this[_0x2ce825(0x2d8)],_0x4dd412,!0x1,_0x2ad942,_0x4db093]):this[_0x2ce825(0x258)](_0x31030f[_0x2ce825(0x23e)](_0x4dd412,_0x2ad942),_0x4db093);}[_0x28f52a(0x36b)](_0x574998,_0x28917e,_0x4ad385){const _0x1c47d5=_0x28f52a;let _0x1639d5,_0x5ca1cd;if(typeof _0x574998=='string'?(_0x1639d5=Buffer[_0x1c47d5(0x22b)](_0x574998),_0x5ca1cd=!0x1):_0xe17e26(_0x574998)?(_0x1639d5=_0x574998[_0x1c47d5(0x2f2)],_0x5ca1cd=!0x1):(_0x574998=_0xaa7f6(_0x574998),_0x1639d5=_0x574998[_0x1c47d5(0x25d)],_0x5ca1cd=_0xaa7f6['readOnly']),_0x1639d5>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x5bab39={[_0x5162c6]:_0x1639d5,'fin':!0x0,'generateMask':this[_0x1c47d5(0x283)],'mask':_0x28917e,'maskBuffer':this[_0x1c47d5(0x30d)],'opcode':0xa,'readOnly':_0x5ca1cd,'rsv1':!0x1};_0xe17e26(_0x574998)?this[_0x1c47d5(0x26b)]!==_0x59e105?this[_0x1c47d5(0x296)]([this['getBlobData'],_0x574998,!0x1,_0x5bab39,_0x4ad385]):this[_0x1c47d5(0x342)](_0x574998,!0x1,_0x5bab39,_0x4ad385):this[_0x1c47d5(0x26b)]!==_0x59e105?this['enqueue']([this[_0x1c47d5(0x2d8)],_0x574998,!0x1,_0x5bab39,_0x4ad385]):this[_0x1c47d5(0x258)](_0x31030f[_0x1c47d5(0x23e)](_0x574998,_0x5bab39),_0x4ad385);}['send'](_0x32dd65,_0x2fa15d,_0x1e5369){const _0x164fc5=_0x28f52a,_0x3e6b10=this['_extensions'][_0x3d8003[_0x164fc5(0x339)]];let _0x44ebab=_0x2fa15d[_0x164fc5(0x1e3)]?0x2:0x1,_0x1c600f=_0x2fa15d[_0x164fc5(0x1df)],_0x3c757f,_0x206c38;typeof _0x32dd65==_0x164fc5(0x378)?(_0x3c757f=Buffer[_0x164fc5(0x22b)](_0x32dd65),_0x206c38=!0x1):_0xe17e26(_0x32dd65)?(_0x3c757f=_0x32dd65['size'],_0x206c38=!0x1):(_0x32dd65=_0xaa7f6(_0x32dd65),_0x3c757f=_0x32dd65[_0x164fc5(0x25d)],_0x206c38=_0xaa7f6[_0x164fc5(0x37b)]),this[_0x164fc5(0x21f)]?(this[_0x164fc5(0x21f)]=!0x1,_0x1c600f&&_0x3e6b10&&_0x3e6b10[_0x164fc5(0x2bc)][_0x3e6b10[_0x164fc5(0x340)]?_0x164fc5(0x236):_0x164fc5(0x2df)]&&(_0x1c600f=_0x3c757f>=_0x3e6b10[_0x164fc5(0x269)]),this[_0x164fc5(0x22f)]=_0x1c600f):(_0x1c600f=!0x1,_0x44ebab=0x0),_0x2fa15d[_0x164fc5(0x21e)]&&(this['_firstFragment']=!0x0);const _0x368268={[_0x5162c6]:_0x3c757f,'fin':_0x2fa15d[_0x164fc5(0x21e)],'generateMask':this['_generateMask'],'mask':_0x2fa15d[_0x164fc5(0x2b2)],'maskBuffer':this['_maskBuffer'],'opcode':_0x44ebab,'readOnly':_0x206c38,'rsv1':_0x1c600f};_0xe17e26(_0x32dd65)?this[_0x164fc5(0x26b)]!==_0x59e105?this[_0x164fc5(0x296)]([this[_0x164fc5(0x342)],_0x32dd65,this[_0x164fc5(0x22f)],_0x368268,_0x1e5369]):this[_0x164fc5(0x342)](_0x32dd65,this[_0x164fc5(0x22f)],_0x368268,_0x1e5369):this[_0x164fc5(0x26b)]!==_0x59e105?this[_0x164fc5(0x296)]([this['dispatch'],_0x32dd65,this[_0x164fc5(0x22f)],_0x368268,_0x1e5369]):this[_0x164fc5(0x2d8)](_0x32dd65,this[_0x164fc5(0x22f)],_0x368268,_0x1e5369);}[_0x28f52a(0x342)](_0x21530f,_0x30fa92,_0x1f2124,_0x530f8a){const _0x2545fa=_0x28f52a;this[_0x2545fa(0x2bb)]+=_0x1f2124[_0x5162c6],this[_0x2545fa(0x26b)]=_0x50e040,_0x21530f[_0x2545fa(0x38f)]()['then'](_0x335068=>{const _0x1a0853=_0x2545fa;if(this[_0x1a0853(0x2e9)][_0x1a0853(0x2c3)]){const _0x1e8541=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x1a0853(0x271)](_0x360222,this,_0x1e8541,_0x530f8a);return;}this[_0x1a0853(0x2bb)]-=_0x1f2124[_0x5162c6];const _0x2fe0d3=_0xaa7f6(_0x335068);_0x30fa92?this[_0x1a0853(0x2d8)](_0x2fe0d3,_0x30fa92,_0x1f2124,_0x530f8a):(this[_0x1a0853(0x26b)]=_0x59e105,this['sendFrame'](_0x31030f['frame'](_0x2fe0d3,_0x1f2124),_0x530f8a),this[_0x1a0853(0x32d)]());})[_0x2545fa(0x38b)](_0x1806a7=>{const _0xe46d37=_0x2545fa;process[_0xe46d37(0x271)](_0x2e4d1e,this,_0x1806a7,_0x530f8a);});}[_0x28f52a(0x2d8)](_0x26936e,_0x2f885a,_0x2a4125,_0x32583f){const _0x3fc325=_0x28f52a;if(!_0x2f885a){this[_0x3fc325(0x258)](_0x31030f['frame'](_0x26936e,_0x2a4125),_0x32583f);return;}const _0x1aca4e=this[_0x3fc325(0x30c)][_0x3d8003['extensionName']];this[_0x3fc325(0x2bb)]+=_0x2a4125[_0x5162c6],this[_0x3fc325(0x26b)]=_0x363de5,_0x1aca4e[_0x3fc325(0x1df)](_0x26936e,_0x2a4125[_0x3fc325(0x21e)],(_0x18d69c,_0x28883f)=>{const _0x85942b=_0x3fc325;if(this['_socket'][_0x85942b(0x2c3)]){const _0x234018=new Error(_0x85942b(0x2a4));_0x360222(this,_0x234018,_0x32583f);return;}this['_bufferedBytes']-=_0x2a4125[_0x5162c6],this[_0x85942b(0x26b)]=_0x59e105,_0x2a4125['readOnly']=!0x1,this[_0x85942b(0x258)](_0x31030f[_0x85942b(0x23e)](_0x28883f,_0x2a4125),_0x32583f),this[_0x85942b(0x32d)]();});}[_0x28f52a(0x32d)](){const _0x501835=_0x28f52a;for(;this[_0x501835(0x26b)]===_0x59e105&&this['_queue'][_0x501835(0x25d)];){const _0x6d8d16=this[_0x501835(0x24a)]['shift']();this[_0x501835(0x2bb)]-=_0x6d8d16[0x3][_0x5162c6],Reflect[_0x501835(0x2c0)](_0x6d8d16[0x0],this,_0x6d8d16[_0x501835(0x288)](0x1));}}[_0x28f52a(0x296)](_0x3cae96){const _0x4229e3=_0x28f52a;this['_bufferedBytes']+=_0x3cae96[0x3][_0x5162c6],this[_0x4229e3(0x24a)][_0x4229e3(0x22e)](_0x3cae96);}[_0x28f52a(0x258)](_0xebb1bf,_0xac23b9){const _0x11576f=_0x28f52a;_0xebb1bf[_0x11576f(0x25d)]===0x2?(this[_0x11576f(0x2e9)]['cork'](),this[_0x11576f(0x2e9)][_0x11576f(0x284)](_0xebb1bf[0x0]),this['_socket'][_0x11576f(0x284)](_0xebb1bf[0x1],_0xac23b9),this[_0x11576f(0x2e9)][_0x11576f(0x33f)]()):this['_socket'][_0x11576f(0x284)](_0xebb1bf[0x0],_0xac23b9);}}Ee=_0x31030f;function _0x360222(_0x34a731,_0x5356b7,_0x453529){const _0x359e55=_0x28f52a;typeof _0x453529==_0x359e55(0x2ad)&&_0x453529(_0x5356b7);for(let _0x766c48=0x0;_0x766c48<_0x34a731['_queue'][_0x359e55(0x25d)];_0x766c48++){const _0x450450=_0x34a731[_0x359e55(0x24a)][_0x766c48],_0x35ce7e=_0x450450[_0x450450[_0x359e55(0x25d)]-0x1];typeof _0x35ce7e==_0x359e55(0x2ad)&&_0x35ce7e(_0x5356b7);}}function _0x2e4d1e(_0x5aafd4,_0xdf6e43,_0xeb86cf){_0x360222(_0x5aafd4,_0xdf6e43,_0xeb86cf),_0x5aafd4['onerror'](_0xdf6e43);}return Ee;}var xe,tt;function Kt(){const _0x25c514=_0x5764eb;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x189703,kListener:_0x48095a}=V(),_0x16245d=Symbol(_0x25c514(0x384)),_0x401b99=Symbol('kData'),_0x5a3082=Symbol(_0x25c514(0x226)),_0x2ab9c9=Symbol(_0x25c514(0x2d3)),_0x1aee43=Symbol(_0x25c514(0x212)),_0x253321=Symbol('kTarget'),_0x12fd47=Symbol(_0x25c514(0x20b)),_0x2ec032=Symbol(_0x25c514(0x2cf));class _0xcb1e64{constructor(_0x441c68){this[_0x253321]=null,this[_0x12fd47]=_0x441c68;}get[_0x25c514(0x36f)](){return this[_0x253321];}get[_0x25c514(0x379)](){return this[_0x12fd47];}}Object[_0x25c514(0x314)](_0xcb1e64[_0x25c514(0x316)],_0x25c514(0x36f),{'enumerable':!0x0}),Object[_0x25c514(0x314)](_0xcb1e64['prototype'],'type',{'enumerable':!0x0});class _0x30684d extends _0xcb1e64{constructor(_0x287c31,_0x32c5bc={}){const _0x37120a=_0x25c514;super(_0x287c31),this[_0x16245d]=_0x32c5bc[_0x37120a(0x2d6)]===void 0x0?0x0:_0x32c5bc[_0x37120a(0x2d6)],this[_0x1aee43]=_0x32c5bc[_0x37120a(0x27c)]===void 0x0?'':_0x32c5bc[_0x37120a(0x27c)],this[_0x2ec032]=_0x32c5bc[_0x37120a(0x35c)]===void 0x0?!0x1:_0x32c5bc[_0x37120a(0x35c)];}get[_0x25c514(0x2d6)](){return this[_0x16245d];}get[_0x25c514(0x27c)](){return this[_0x1aee43];}get[_0x25c514(0x35c)](){return this[_0x2ec032];}}Object[_0x25c514(0x314)](_0x30684d[_0x25c514(0x316)],_0x25c514(0x2d6),{'enumerable':!0x0}),Object['defineProperty'](_0x30684d[_0x25c514(0x316)],_0x25c514(0x27c),{'enumerable':!0x0}),Object[_0x25c514(0x314)](_0x30684d['prototype'],_0x25c514(0x35c),{'enumerable':!0x0});class _0x3a94e2 extends _0xcb1e64{constructor(_0x3d9716,_0x953308={}){const _0x2b75d2=_0x25c514;super(_0x3d9716),this[_0x5a3082]=_0x953308[_0x2b75d2(0x27b)]===void 0x0?null:_0x953308[_0x2b75d2(0x27b)],this[_0x2ab9c9]=_0x953308[_0x2b75d2(0x247)]===void 0x0?'':_0x953308[_0x2b75d2(0x247)];}get[_0x25c514(0x27b)](){return this[_0x5a3082];}get[_0x25c514(0x247)](){return this[_0x2ab9c9];}}Object[_0x25c514(0x314)](_0x3a94e2[_0x25c514(0x316)],'error',{'enumerable':!0x0}),Object['defineProperty'](_0x3a94e2[_0x25c514(0x316)],_0x25c514(0x247),{'enumerable':!0x0});class _0x5a2123 extends _0xcb1e64{constructor(_0x5300fe,_0x1fe2b5={}){const _0x57f235=_0x25c514;super(_0x5300fe),this[_0x401b99]=_0x1fe2b5['data']===void 0x0?null:_0x1fe2b5[_0x57f235(0x367)];}get[_0x25c514(0x367)](){return this[_0x401b99];}}Object['defineProperty'](_0x5a2123[_0x25c514(0x316)],_0x25c514(0x367),{'enumerable':!0x0}),xe={'CloseEvent':_0x30684d,'ErrorEvent':_0x3a94e2,'Event':_0xcb1e64,'EventTarget':{'addEventListener'(_0x51d8ea,_0x176f52,_0x27a24c={}){const _0x54f367=_0x25c514;for(const _0x397434 of this[_0x54f367(0x1dd)](_0x51d8ea))if(!_0x27a24c[_0x189703]&&_0x397434[_0x48095a]===_0x176f52&&!_0x397434[_0x189703])return;let _0x4c377a;if(_0x51d8ea===_0x54f367(0x247))_0x4c377a=function(_0x259397,_0x3ee18d){const _0x315ed3=_0x54f367,_0xeba88=new _0x5a2123(_0x315ed3(0x247),{'data':_0x3ee18d?_0x259397:_0x259397[_0x315ed3(0x37c)]()});_0xeba88[_0x253321]=this,_0x6fdb47(_0x176f52,this,_0xeba88);};else{if(_0x51d8ea==='close')_0x4c377a=function(_0x4278b8,_0x1acc4a){const _0xb260=_0x54f367,_0xfe4954=new _0x30684d('close',{'code':_0x4278b8,'reason':_0x1acc4a[_0xb260(0x37c)](),'wasClean':this[_0xb260(0x386)]&&this[_0xb260(0x2c6)]});_0xfe4954[_0x253321]=this,_0x6fdb47(_0x176f52,this,_0xfe4954);};else{if(_0x51d8ea===_0x54f367(0x27b))_0x4c377a=function(_0x1581c5){const _0x5dc52a=_0x54f367,_0x33ebbc=new _0x3a94e2(_0x5dc52a(0x27b),{'error':_0x1581c5,'message':_0x1581c5['message']});_0x33ebbc[_0x253321]=this,_0x6fdb47(_0x176f52,this,_0x33ebbc);};else{if(_0x51d8ea===_0x54f367(0x228))_0x4c377a=function(){const _0x212492=_0x54f367,_0x597772=new _0xcb1e64(_0x212492(0x228));_0x597772[_0x253321]=this,_0x6fdb47(_0x176f52,this,_0x597772);};else return;}}}_0x4c377a[_0x189703]=!!_0x27a24c[_0x189703],_0x4c377a[_0x48095a]=_0x176f52,_0x27a24c[_0x54f367(0x242)]?this['once'](_0x51d8ea,_0x4c377a):this['on'](_0x51d8ea,_0x4c377a);},'removeEventListener'(_0x1caf7d,_0x172824){const _0x4504f2=_0x25c514;for(const _0x1effc8 of this[_0x4504f2(0x1dd)](_0x1caf7d))if(_0x1effc8[_0x48095a]===_0x172824&&!_0x1effc8[_0x189703]){this[_0x4504f2(0x1e0)](_0x1caf7d,_0x1effc8);break;}}},'MessageEvent':_0x5a2123};function _0x6fdb47(_0x5ee051,_0x2fce7a,_0x552fbd){const _0xc44881=_0x25c514;typeof _0x5ee051==_0xc44881(0x2a1)&&_0x5ee051[_0xc44881(0x20d)]?_0x5ee051[_0xc44881(0x20d)][_0xc44881(0x33d)](_0x5ee051,_0x552fbd):_0x5ee051['call'](_0x2fce7a,_0x552fbd);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x14d0e4}=ne();function _0x5de640(_0x644225,_0x7f758f,_0x4c4b9c){const _0x1668d0=_0x3609;_0x644225[_0x7f758f]===void 0x0?_0x644225[_0x7f758f]=[_0x4c4b9c]:_0x644225[_0x7f758f][_0x1668d0(0x22e)](_0x4c4b9c);}function _0x388425(_0x190a26){const _0x35033c=_0x3609,_0x206f3a=Object[_0x35033c(0x31b)](null);let _0xfbb10=Object[_0x35033c(0x31b)](null),_0x2392fc=!0x1,_0x36f56c=!0x1,_0x5e45f3=!0x1,_0x3225a2,_0x3e13f9,_0x194d2f=-0x1,_0x4afd42=-0x1,_0x3e17df=-0x1,_0x5561d4=0x0;for(;_0x5561d4<_0x190a26[_0x35033c(0x25d)];_0x5561d4++)if(_0x4afd42=_0x190a26['charCodeAt'](_0x5561d4),_0x3225a2===void 0x0){if(_0x3e17df===-0x1&&_0x14d0e4[_0x4afd42]===0x1)_0x194d2f===-0x1&&(_0x194d2f=_0x5561d4);else{if(_0x5561d4!==0x0&&(_0x4afd42===0x20||_0x4afd42===0x9))_0x3e17df===-0x1&&_0x194d2f!==-0x1&&(_0x3e17df=_0x5561d4);else{if(_0x4afd42===0x3b||_0x4afd42===0x2c){if(_0x194d2f===-0x1)throw new SyntaxError(_0x35033c(0x366)+_0x5561d4);_0x3e17df===-0x1&&(_0x3e17df=_0x5561d4);const _0x59bca6=_0x190a26[_0x35033c(0x288)](_0x194d2f,_0x3e17df);_0x4afd42===0x2c?(_0x5de640(_0x206f3a,_0x59bca6,_0xfbb10),_0xfbb10=Object[_0x35033c(0x31b)](null)):_0x3225a2=_0x59bca6,_0x194d2f=_0x3e17df=-0x1;}else throw new SyntaxError(_0x35033c(0x366)+_0x5561d4);}}}else{if(_0x3e13f9===void 0x0){if(_0x3e17df===-0x1&&_0x14d0e4[_0x4afd42]===0x1)_0x194d2f===-0x1&&(_0x194d2f=_0x5561d4);else{if(_0x4afd42===0x20||_0x4afd42===0x9)_0x3e17df===-0x1&&_0x194d2f!==-0x1&&(_0x3e17df=_0x5561d4);else{if(_0x4afd42===0x3b||_0x4afd42===0x2c){if(_0x194d2f===-0x1)throw new SyntaxError(_0x35033c(0x366)+_0x5561d4);_0x3e17df===-0x1&&(_0x3e17df=_0x5561d4),_0x5de640(_0xfbb10,_0x190a26[_0x35033c(0x288)](_0x194d2f,_0x3e17df),!0x0),_0x4afd42===0x2c&&(_0x5de640(_0x206f3a,_0x3225a2,_0xfbb10),_0xfbb10=Object[_0x35033c(0x31b)](null),_0x3225a2=void 0x0),_0x194d2f=_0x3e17df=-0x1;}else{if(_0x4afd42===0x3d&&_0x194d2f!==-0x1&&_0x3e17df===-0x1)_0x3e13f9=_0x190a26[_0x35033c(0x288)](_0x194d2f,_0x5561d4),_0x194d2f=_0x3e17df=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5561d4);}}}}else{if(_0x36f56c){if(_0x14d0e4[_0x4afd42]!==0x1)throw new SyntaxError(_0x35033c(0x366)+_0x5561d4);_0x194d2f===-0x1?_0x194d2f=_0x5561d4:_0x2392fc||(_0x2392fc=!0x0),_0x36f56c=!0x1;}else{if(_0x5e45f3){if(_0x14d0e4[_0x4afd42]===0x1)_0x194d2f===-0x1&&(_0x194d2f=_0x5561d4);else{if(_0x4afd42===0x22&&_0x194d2f!==-0x1)_0x5e45f3=!0x1,_0x3e17df=_0x5561d4;else{if(_0x4afd42===0x5c)_0x36f56c=!0x0;else throw new SyntaxError(_0x35033c(0x366)+_0x5561d4);}}}else{if(_0x4afd42===0x22&&_0x190a26[_0x35033c(0x345)](_0x5561d4-0x1)===0x3d)_0x5e45f3=!0x0;else{if(_0x3e17df===-0x1&&_0x14d0e4[_0x4afd42]===0x1)_0x194d2f===-0x1&&(_0x194d2f=_0x5561d4);else{if(_0x194d2f!==-0x1&&(_0x4afd42===0x20||_0x4afd42===0x9))_0x3e17df===-0x1&&(_0x3e17df=_0x5561d4);else{if(_0x4afd42===0x3b||_0x4afd42===0x2c){if(_0x194d2f===-0x1)throw new SyntaxError(_0x35033c(0x366)+_0x5561d4);_0x3e17df===-0x1&&(_0x3e17df=_0x5561d4);let _0x5396ee=_0x190a26[_0x35033c(0x288)](_0x194d2f,_0x3e17df);_0x2392fc&&(_0x5396ee=_0x5396ee['replace'](/\\/g,''),_0x2392fc=!0x1),_0x5de640(_0xfbb10,_0x3e13f9,_0x5396ee),_0x4afd42===0x2c&&(_0x5de640(_0x206f3a,_0x3225a2,_0xfbb10),_0xfbb10=Object[_0x35033c(0x31b)](null),_0x3225a2=void 0x0),_0x3e13f9=void 0x0,_0x194d2f=_0x3e17df=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5561d4);}}}}}}}if(_0x194d2f===-0x1||_0x5e45f3||_0x4afd42===0x20||_0x4afd42===0x9)throw new SyntaxError(_0x35033c(0x278));_0x3e17df===-0x1&&(_0x3e17df=_0x5561d4);const _0x8de5c7=_0x190a26[_0x35033c(0x288)](_0x194d2f,_0x3e17df);return _0x3225a2===void 0x0?_0x5de640(_0x206f3a,_0x8de5c7,_0xfbb10):(_0x3e13f9===void 0x0?_0x5de640(_0xfbb10,_0x8de5c7,!0x0):_0x2392fc?_0x5de640(_0xfbb10,_0x3e13f9,_0x8de5c7['replace'](/\\/g,'')):_0x5de640(_0xfbb10,_0x3e13f9,_0x8de5c7),_0x5de640(_0x206f3a,_0x3225a2,_0xfbb10)),_0x206f3a;}function _0x50c484(_0x59c7fc){const _0x25e769=_0x3609;return Object[_0x25e769(0x394)](_0x59c7fc)['map'](_0x195ac5=>{const _0x487cba=_0x25e769;let _0x28b896=_0x59c7fc[_0x195ac5];return Array[_0x487cba(0x210)](_0x28b896)||(_0x28b896=[_0x28b896]),_0x28b896['map'](_0x358866=>[_0x195ac5][_0x487cba(0x2fb)](Object[_0x487cba(0x394)](_0x358866)[_0x487cba(0x2c7)](_0x3d43ab=>{const _0x291fef=_0x487cba;let _0x355abe=_0x358866[_0x3d43ab];return Array[_0x291fef(0x210)](_0x355abe)||(_0x355abe=[_0x355abe]),_0x355abe[_0x291fef(0x2c7)](_0x46f3f0=>_0x46f3f0===!0x0?_0x3d43ab:_0x3d43ab+'='+_0x46f3f0)[_0x291fef(0x263)](';\x20');}))[_0x487cba(0x263)](';\x20'))[_0x487cba(0x263)](',\x20');})[_0x25e769(0x263)](',\x20');}return be={'format':_0x50c484,'parse':_0x388425},be;}var we,st;function _0x29d6(){const _0x1280c9=['kRun','env','Connection:\x20Upgrade','onclose','kWasClean','_compressed','registerHTTPInterceptor','finished','kMessage','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','startLoop','code','pow','dispatch','getPayloadLength16','CLOSED','skipUTF8Validation','cleanup','toLowerCase','Invalid\x20Sec-WebSocket-Protocol\x20header','client_no_context_takeover','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','values','_no_context_takeover','construct','parse','status-code','find','allocUnsafe','WebSocket','_socket','cookie','maskBuffer','host','_errorEmitted','createError','set','_receiver','test','size','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_loop','Z_DEFAULT_WINDOWBITS','_buffers','handshakeTimeout','_shouldEmitClose','total-length','Upgrade:\x20websocket','concat','_url','Sec-WebSocket-Protocol:\x20','_writableState','acceptAsClient','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_originalIpc','\x0d\x0a\x0d\x0a','listen','isValidUTF8','from','_maxPayload','redirect','_configService','Invalid\x20WebSocket\x20frame:\x20','auth','backlog','_extensions','_maskBuffer','address','captureStackTrace','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','defaultPort','_max_window_bits','_server','defineProperty','readable','prototype','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','pipe','getData','freeze','create','_final','connect','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','noServer','species','Opening\x20handshake\x20has\x20timed\x20out','emitClose','isInteger','socket','websocket','setHeader','getOwnPropertyDescriptor','_read','read','_doCreateSocket','finishRequest','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','dequeue','update','acceptAsServer','_deflate','byteOffset','shouldHandle','invalid\x20opcode\x20','pluginName','zlibInflateOptions','createConnection','CONNECTING','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','extensionName','username','_protocol','resume','call','Invalid\x20value\x20for\x20parameter\x20\x22','uncork','_isServer','handleUpgrade','getBlobData','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','24gAoFYW','charCodeAt','Basic\x20','_totalPayloadLength','683599qqwuRM','invalid\x20UTF-8\x20sequence','normalizeParams','MASK\x20must\x20be\x20set','autoPong','password','_removeListeners','serverNoContextTakeover','search','isIP','rsv1','hasOwnProperty','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','pending','emit','delete','errorEmitted','Module','WS_ERR_INVALID_UTF8','clientMaxWindowBits','wasClean','unexpected-response','Invalid\x20URL:\x20','Sec-WebSocket-Extensions:\x20','_payloadLength','_originalHostOrSocketPath','createSocket','invalid\x20payload\x20length\x20','endEmitted','Sec-WebSocket-Extensions','Unexpected\x20character\x20at\x20index\x20','data','HTTP/1.1\x20','invalid\x20opcode\x200','_req','pong','followRedirects','offer','haveLength','target','path','\x22:\x20','server_max_window_bits','29myhDrr','136CyVpAc','_mask','2302971BEgBZD','Max\x20payload\x20size\x20exceeded','string','type','socketPath','readOnly','toString','_originalSecure','_sender','removeAllListeners','authorized','needDrain','jobs','includes','kCode','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_closeFrameReceived','connection','GET','onStarting','hostname','catch','listening','wss:','allowSynchronousEvents','arrayBuffer','send','4050250soaKby','_options','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','keys','listeners','digest','compress','removeListener','indexOf','WS_ERR_UNEXPECTED_MASK','binary','_masked','readUInt16BE','add','ping','generateMask','shift','_fragments','close','upgrade','options','concurrencyLimit','pause','_readyState','The\x20server\x20is\x20not\x20running','arraybuffer','origin','_skipUTF8Validation','Invalid\x20Sec-WebSocket-Accept\x20header','addEventListener','createServer','isServer','_bufferedAmount','Sec-WebSocket-Accept:\x20','nodebuffer','sha1','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','Unexpected\x20server\x20response:\x20','customHeaders','OPEN','authorization','setConfig','STATUS_CODES','sec-websocket-version','File','Origin','Invalid\x20HTTP\x20method','Parameter\x20\x22','collaboration-client-node.config','isView','kType','bind','handleEvent','verifyClient','completeUpgrade','isArray','alloc','kReason','getMask','http:','getPayloadLength64','sec-websocket-key','WS_NO_BUFFER_UTIL','startsWith','maxPayload','decompress','accept','Server\x20sent\x20an\x20invalid\x20subprotocol','_decompress','fin','_firstFragment','createDeflateRaw','Cookie','client_max_window_bits','destroy','_httpService','reset','kError','readyState','open','_closeTimer','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','byteLength','href','dataMessage','push','_compress','sec-websocket-protocol','perMessageDeflate','_allowSynchronousEvents','writeHead','url','number','server_no_context_takeover','text/plain','forEach','Z_SYNC_FLUSH','onerror','permessage-deflate','_opcode','writeUInt16BE','frame','end','blob','Unsupported\x20protocol\x20version:\x20','once','setTimeout','extensions','response','\x22\x20subprotocol\x20is\x20duplicated','message','buffer','objectMode','_queue','__esModule','Blob','ws+unix:','opcode','exports','_messageLength','WS_ERR_EXPECTED_FIN','wsClientError','43372GfCBfU','port','conclude','serverMaxWindowBits','Invalid\x20Upgrade\x20header','sendFrame','isPaused','_closeMessage','isBuffer','6ozZqPb','length','getConfig','2611112UjegIw','binaryType','listenerCount','9PTuHjG','join','pathname','Invalid\x20Sec-WebSocket-Extensions\x20header','RSV1\x20must\x20be\x20clear','drain','constructor','_threshold','_readableState','_state','terminate','_registerDependencies','_redirects','client','getInfo','nextTick','The\x20URL\x27s\x20pathname\x20is\x20empty','clientTracking','timeout','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_fragmented','_inflate','Unexpected\x20end\x20of\x20input','clients','kListener','error','reason','WebSocket\x20is\x20not\x20open:\x20readyState\x20','11553XDJNqH','readUInt32BE','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','toStringTag','finish','_generateMask','write','WS_ERR_EXPECTED_MASK','writable','WS_ERR_UNEXPECTED_RSV_1','slice','unmask','concurrency','MASK\x20must\x20be\x20clear','clientNoContextTakeover','request','WS_NO_UTF_8_VALIDATE','_errored','hash','_injector','default','buffers','_fin','removeEventListener','enqueue','setSocket','protocolVersion','sec-websocket-extensions','createInflateRaw','zlibDeflateOptions','consume','has','threshold','WS_ERR_INVALID_CLOSE_CODE','https:','object','method','\x22\x20must\x20have\x20only\x20a\x20single\x20value','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','base64','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','sec-websocket-origin','next','WS_ERR_INVALID_OPCODE','writeUIntBE','protocol','headers','function','Unknown\x20parameter\x20\x22','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_autoPong','_write','mask','servername','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_closeCode','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','statusCode','_paused','setNoDelay','abort','_bufferedBytes','params','unshift','server','format','apply','1446180nMsoLU','bufferedAmount','destroyed','ws:','value','_closeFrameSent','map','_binaryType','kDone','CLOSING'];_0x29d6=function(){return _0x1280c9;};return _0x29d6();}function Ie(){const _0x49b5a6=_0x5764eb;if(st)return we;st=0x1;const _0x298cbb=_0x32518d,_0x1d65b8=_0x48d72c,_0x266ab8=_0x5ed1b7,_0x1f1f41=_0x48adab,_0x504d26=_0x2c6cbe,{randomBytes:_0x3ef637,createHash:_0x204f02}=_0x4c8046,{Duplex:_0x50e898,Readable:_0x3b4009}=_0x19e8d1,{URL:_0x2ddbb7}=_0x2a10c6,_0x28bdd5=he(),_0x2e979d=dt(),_0x43fdb7=_t(),{isBlob:_0x43ac2d}=ne(),{BINARY_TYPES:_0x261672,EMPTY_BUFFER:_0x5938b2,GUID:_0x24887,kForOnEventAttribute:_0x538b5b,kListener:_0x547350,kStatusCode:_0x1a8b5d,kWebSocket:_0x336d07,NOOP:_0x52466f}=V(),{EventTarget:{addEventListener:_0x4bb804,removeEventListener:_0x495cfa}}=Kt(),{format:_0x45da43,parse:_0x1c6bed}=pt(),{toBuffer:_0x4de0dc}=ce(),_0x4d7fca=0x1e*0x3e8,_0x4ec40f=Symbol('kAborted'),_0x22d1f4=[0x8,0xd],_0x6c889a=['CONNECTING',_0x49b5a6(0x200),_0x49b5a6(0x2ca),'CLOSED'],_0x43b7dd=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5e29d9 extends _0x298cbb{constructor(_0x3f16ff,_0x3c15a0,_0x3809b3){const _0x4a5304=_0x49b5a6;super(),this[_0x4a5304(0x2c8)]=_0x261672[0x0],this[_0x4a5304(0x2b5)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x4a5304(0x2c6)]=!0x1,this[_0x4a5304(0x25a)]=_0x5938b2,this[_0x4a5304(0x229)]=null,this[_0x4a5304(0x2ed)]=!0x1,this[_0x4a5304(0x30c)]={},this[_0x4a5304(0x2b8)]=!0x1,this[_0x4a5304(0x33b)]='',this[_0x4a5304(0x1f0)]=_0x5e29d9[_0x4a5304(0x337)],this[_0x4a5304(0x2f0)]=null,this[_0x4a5304(0x37e)]=null,this[_0x4a5304(0x2e9)]=null,_0x3f16ff!==null?(this[_0x4a5304(0x1f9)]=0x0,this[_0x4a5304(0x340)]=!0x1,this[_0x4a5304(0x26e)]=0x0,_0x3c15a0===void 0x0?_0x3c15a0=[]:Array[_0x4a5304(0x210)](_0x3c15a0)||(typeof _0x3c15a0==_0x4a5304(0x2a1)&&_0x3c15a0!==null?(_0x3809b3=_0x3c15a0,_0x3c15a0=[]):_0x3c15a0=[_0x3c15a0]),_0x529f36(this,_0x3f16ff,_0x3c15a0,_0x3809b3)):(this[_0x4a5304(0x2b0)]=_0x3809b3[_0x4a5304(0x34c)],this[_0x4a5304(0x340)]=!0x0);}get[_0x49b5a6(0x260)](){const _0x4d0019=_0x49b5a6;return this[_0x4d0019(0x2c8)];}set[_0x49b5a6(0x260)](_0x447cb1){const _0x27acb5=_0x49b5a6;_0x261672[_0x27acb5(0x383)](_0x447cb1)&&(this[_0x27acb5(0x2c8)]=_0x447cb1,this[_0x27acb5(0x2f0)]&&(this[_0x27acb5(0x2f0)][_0x27acb5(0x2c8)]=_0x447cb1));}get['bufferedAmount'](){const _0x5b2867=_0x49b5a6;return this[_0x5b2867(0x2e9)]?this['_socket'][_0x5b2867(0x2fe)][_0x5b2867(0x25d)]+this[_0x5b2867(0x37e)][_0x5b2867(0x2bb)]:this[_0x5b2867(0x1f9)];}get['extensions'](){const _0x1edbe0=_0x49b5a6;return Object[_0x1edbe0(0x394)](this[_0x1edbe0(0x30c)])[_0x1edbe0(0x263)]();}get['isPaused'](){const _0xb429a4=_0x49b5a6;return this[_0xb429a4(0x2b8)];}get[_0x49b5a6(0x2ce)](){return null;}get[_0x49b5a6(0x23a)](){return null;}get['onopen'](){return null;}get['onmessage'](){return null;}get[_0x49b5a6(0x2ab)](){const _0xb7e9aa=_0x49b5a6;return this[_0xb7e9aa(0x33b)];}get[_0x49b5a6(0x227)](){const _0xe0e358=_0x49b5a6;return this[_0xe0e358(0x1f0)];}get[_0x49b5a6(0x234)](){const _0x5422a6=_0x49b5a6;return this[_0x5422a6(0x2fc)];}[_0x49b5a6(0x297)](_0x1acb9b,_0x1460d9,_0x2d245a){const _0x2e8933=_0x49b5a6,_0x87c6dc=new _0x2e979d({'allowSynchronousEvents':_0x2d245a[_0x2e8933(0x38e)],'binaryType':this[_0x2e8933(0x260)],'extensions':this['_extensions'],'isServer':this[_0x2e8933(0x340)],'maxPayload':_0x2d245a[_0x2e8933(0x219)],'skipUTF8Validation':_0x2d245a['skipUTF8Validation']}),_0xa51029=new _0x43fdb7(_0x1acb9b,this[_0x2e8933(0x30c)],_0x2d245a[_0x2e8933(0x1e8)]);this[_0x2e8933(0x2f0)]=_0x87c6dc,this['_sender']=_0xa51029,this[_0x2e8933(0x2e9)]=_0x1acb9b,_0x87c6dc[_0x336d07]=this,_0xa51029[_0x336d07]=this,_0x1acb9b[_0x336d07]=this,_0x87c6dc['on']('conclude',_0x1ceece),_0x87c6dc['on'](_0x2e8933(0x267),_0x22fb61),_0x87c6dc['on'](_0x2e8933(0x27b),_0x4ccc20),_0x87c6dc['on'](_0x2e8933(0x247),_0xfdbf7b),_0x87c6dc['on'](_0x2e8933(0x1e7),_0x2ae80a),_0x87c6dc['on'](_0x2e8933(0x36b),_0x480eb6),_0xa51029[_0x2e8933(0x23a)]=_0x42a768,_0x1acb9b[_0x2e8933(0x243)]&&_0x1acb9b[_0x2e8933(0x243)](0x0),_0x1acb9b[_0x2e8933(0x2b9)]&&_0x1acb9b[_0x2e8933(0x2b9)](),_0x1460d9[_0x2e8933(0x25d)]>0x0&&_0x1acb9b[_0x2e8933(0x2bd)](_0x1460d9),_0x1acb9b['on'](_0x2e8933(0x1eb),_0x2553f8),_0x1acb9b['on'](_0x2e8933(0x367),_0x494b7f),_0x1acb9b['on'](_0x2e8933(0x23f),_0x162a85),_0x1acb9b['on'](_0x2e8933(0x27b),_0x5aeca1),this[_0x2e8933(0x1f0)]=_0x5e29d9['OPEN'],this[_0x2e8933(0x356)](_0x2e8933(0x228));}[_0x49b5a6(0x322)](){const _0x5de2ba=_0x49b5a6;if(!this['_socket']){this[_0x5de2ba(0x1f0)]=_0x5e29d9[_0x5de2ba(0x2da)],this[_0x5de2ba(0x356)](_0x5de2ba(0x1eb),this[_0x5de2ba(0x2b5)],this[_0x5de2ba(0x25a)]);return;}this[_0x5de2ba(0x30c)][_0x28bdd5[_0x5de2ba(0x339)]]&&this['_extensions'][_0x28bdd5[_0x5de2ba(0x339)]][_0x5de2ba(0x2dc)](),this[_0x5de2ba(0x2f0)][_0x5de2ba(0x37f)](),this[_0x5de2ba(0x1f0)]=_0x5e29d9['CLOSED'],this[_0x5de2ba(0x356)](_0x5de2ba(0x1eb),this['_closeCode'],this[_0x5de2ba(0x25a)]);}[_0x49b5a6(0x1eb)](_0x3d114d,_0x4b94e1){const _0x2b2133=_0x49b5a6;if(this['readyState']!==_0x5e29d9[_0x2b2133(0x2da)]){if(this[_0x2b2133(0x227)]===_0x5e29d9[_0x2b2133(0x337)]){_0x331e46(this,this['_req'],_0x2b2133(0x32c));return;}if(this[_0x2b2133(0x227)]===_0x5e29d9[_0x2b2133(0x2ca)]){this[_0x2b2133(0x2c6)]&&(this[_0x2b2133(0x386)]||this[_0x2b2133(0x2f0)][_0x2b2133(0x2fe)][_0x2b2133(0x358)])&&this[_0x2b2133(0x2e9)][_0x2b2133(0x23f)]();return;}this[_0x2b2133(0x1f0)]=_0x5e29d9[_0x2b2133(0x2ca)],this[_0x2b2133(0x37e)]['close'](_0x3d114d,_0x4b94e1,!this[_0x2b2133(0x340)],_0x314564=>{const _0x29db5e=_0x2b2133;_0x314564||(this[_0x29db5e(0x2c6)]=!0x0,(this['_closeFrameReceived']||this[_0x29db5e(0x2f0)][_0x29db5e(0x2fe)][_0x29db5e(0x358)])&&this[_0x29db5e(0x2e9)][_0x29db5e(0x23f)]());}),_0x2a58c8(this);}}['pause'](){const _0x51e4c9=_0x49b5a6;this[_0x51e4c9(0x227)]===_0x5e29d9[_0x51e4c9(0x337)]||this['readyState']===_0x5e29d9[_0x51e4c9(0x2da)]||(this['_paused']=!0x0,this['_socket'][_0x51e4c9(0x1ef)]());}[_0x49b5a6(0x1e7)](_0x4d255f,_0x458eae,_0x51f42b){const _0x1e6289=_0x49b5a6;if(this[_0x1e6289(0x227)]===_0x5e29d9[_0x1e6289(0x337)])throw new Error(_0x1e6289(0x300));if(typeof _0x4d255f=='function'?(_0x51f42b=_0x4d255f,_0x4d255f=_0x458eae=void 0x0):typeof _0x458eae==_0x1e6289(0x2ad)&&(_0x51f42b=_0x458eae,_0x458eae=void 0x0),typeof _0x4d255f=='number'&&(_0x4d255f=_0x4d255f['toString']()),this[_0x1e6289(0x227)]!==_0x5e29d9[_0x1e6289(0x200)]){_0x3bbe05(this,_0x4d255f,_0x51f42b);return;}_0x458eae===void 0x0&&(_0x458eae=!this[_0x1e6289(0x340)]),this[_0x1e6289(0x37e)][_0x1e6289(0x1e7)](_0x4d255f||_0x5938b2,_0x458eae,_0x51f42b);}[_0x49b5a6(0x36b)](_0x5f0e9b,_0x1f5a1f,_0x276a80){const _0x18732e=_0x49b5a6;if(this[_0x18732e(0x227)]===_0x5e29d9[_0x18732e(0x337)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5f0e9b==_0x18732e(0x2ad)?(_0x276a80=_0x5f0e9b,_0x5f0e9b=_0x1f5a1f=void 0x0):typeof _0x1f5a1f==_0x18732e(0x2ad)&&(_0x276a80=_0x1f5a1f,_0x1f5a1f=void 0x0),typeof _0x5f0e9b=='number'&&(_0x5f0e9b=_0x5f0e9b[_0x18732e(0x37c)]()),this[_0x18732e(0x227)]!==_0x5e29d9[_0x18732e(0x200)]){_0x3bbe05(this,_0x5f0e9b,_0x276a80);return;}_0x1f5a1f===void 0x0&&(_0x1f5a1f=!this[_0x18732e(0x340)]),this[_0x18732e(0x37e)]['pong'](_0x5f0e9b||_0x5938b2,_0x1f5a1f,_0x276a80);}[_0x49b5a6(0x33c)](){const _0x37f23c=_0x49b5a6;this['readyState']===_0x5e29d9['CONNECTING']||this[_0x37f23c(0x227)]===_0x5e29d9[_0x37f23c(0x2da)]||(this[_0x37f23c(0x2b8)]=!0x1,this['_receiver'][_0x37f23c(0x2fe)][_0x37f23c(0x381)]||this[_0x37f23c(0x2e9)]['resume']());}[_0x49b5a6(0x390)](_0x2a6908,_0x12c7f8,_0xffc46){const _0x38f3a0=_0x49b5a6;if(this['readyState']===_0x5e29d9[_0x38f3a0(0x337)])throw new Error(_0x38f3a0(0x300));if(typeof _0x12c7f8=='function'&&(_0xffc46=_0x12c7f8,_0x12c7f8={}),typeof _0x2a6908==_0x38f3a0(0x235)&&(_0x2a6908=_0x2a6908['toString']()),this['readyState']!==_0x5e29d9['OPEN']){_0x3bbe05(this,_0x2a6908,_0xffc46);return;}const _0x3e9cf6={'binary':typeof _0x2a6908!=_0x38f3a0(0x378),'mask':!this[_0x38f3a0(0x340)],'compress':!0x0,'fin':!0x0,..._0x12c7f8};this[_0x38f3a0(0x30c)][_0x28bdd5[_0x38f3a0(0x339)]]||(_0x3e9cf6[_0x38f3a0(0x1df)]=!0x1),this['_sender']['send'](_0x2a6908||_0x5938b2,_0x3e9cf6,_0xffc46);}[_0x49b5a6(0x26c)](){const _0x1aaef1=_0x49b5a6;if(this[_0x1aaef1(0x227)]!==_0x5e29d9[_0x1aaef1(0x2da)]){if(this[_0x1aaef1(0x227)]===_0x5e29d9[_0x1aaef1(0x337)]){_0x331e46(this,this[_0x1aaef1(0x36a)],_0x1aaef1(0x32c));return;}this['_socket']&&(this[_0x1aaef1(0x1f0)]=_0x5e29d9[_0x1aaef1(0x2ca)],this[_0x1aaef1(0x2e9)][_0x1aaef1(0x223)]());}}}Object[_0x49b5a6(0x314)](_0x5e29d9,_0x49b5a6(0x337),{'enumerable':!0x0,'value':_0x6c889a['indexOf'](_0x49b5a6(0x337))}),Object[_0x49b5a6(0x314)](_0x5e29d9[_0x49b5a6(0x316)],'CONNECTING',{'enumerable':!0x0,'value':_0x6c889a[_0x49b5a6(0x1e1)](_0x49b5a6(0x337))}),Object[_0x49b5a6(0x314)](_0x5e29d9,'OPEN',{'enumerable':!0x0,'value':_0x6c889a['indexOf'](_0x49b5a6(0x200))}),Object['defineProperty'](_0x5e29d9[_0x49b5a6(0x316)],_0x49b5a6(0x200),{'enumerable':!0x0,'value':_0x6c889a[_0x49b5a6(0x1e1)](_0x49b5a6(0x200))}),Object['defineProperty'](_0x5e29d9,_0x49b5a6(0x2ca),{'enumerable':!0x0,'value':_0x6c889a[_0x49b5a6(0x1e1)]('CLOSING')}),Object['defineProperty'](_0x5e29d9[_0x49b5a6(0x316)],_0x49b5a6(0x2ca),{'enumerable':!0x0,'value':_0x6c889a[_0x49b5a6(0x1e1)](_0x49b5a6(0x2ca))}),Object[_0x49b5a6(0x314)](_0x5e29d9,_0x49b5a6(0x2da),{'enumerable':!0x0,'value':_0x6c889a[_0x49b5a6(0x1e1)](_0x49b5a6(0x2da))}),Object[_0x49b5a6(0x314)](_0x5e29d9[_0x49b5a6(0x316)],'CLOSED',{'enumerable':!0x0,'value':_0x6c889a[_0x49b5a6(0x1e1)]('CLOSED')}),[_0x49b5a6(0x260),_0x49b5a6(0x2c2),_0x49b5a6(0x244),_0x49b5a6(0x259),'protocol','readyState',_0x49b5a6(0x234)][_0x49b5a6(0x238)](_0x2afaf3=>{const _0x27ce8c=_0x49b5a6;Object[_0x27ce8c(0x314)](_0x5e29d9[_0x27ce8c(0x316)],_0x2afaf3,{'enumerable':!0x0});}),[_0x49b5a6(0x228),_0x49b5a6(0x27b),'close','message'][_0x49b5a6(0x238)](_0x14592b=>{const _0x547f66=_0x49b5a6;Object[_0x547f66(0x314)](_0x5e29d9['prototype'],'on'+_0x14592b,{'enumerable':!0x0,'get'(){const _0x16d8f3=_0x547f66;for(const _0x472b0c of this[_0x16d8f3(0x1dd)](_0x14592b))if(_0x472b0c[_0x538b5b])return _0x472b0c[_0x547350];return null;},'set'(_0x4c8dd8){const _0x393eab=_0x547f66;for(const _0x5af1dc of this[_0x393eab(0x1dd)](_0x14592b))if(_0x5af1dc[_0x538b5b]){this[_0x393eab(0x1e0)](_0x14592b,_0x5af1dc);break;}typeof _0x4c8dd8==_0x393eab(0x2ad)&&this[_0x393eab(0x1f6)](_0x14592b,_0x4c8dd8,{[_0x538b5b]:!0x0});}});}),_0x5e29d9[_0x49b5a6(0x316)]['addEventListener']=_0x4bb804,_0x5e29d9[_0x49b5a6(0x316)][_0x49b5a6(0x295)]=_0x495cfa,we=_0x5e29d9;function _0x529f36(_0x36cb24,_0x2cf850,_0x301c1d,_0x5edfd2){const _0x19a0ba=_0x49b5a6,_0x3c93f4={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x22d1f4[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5edfd2,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x19a0ba(0x388),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x36cb24[_0x19a0ba(0x2b0)]=_0x3c93f4[_0x19a0ba(0x34c)],!_0x22d1f4['includes'](_0x3c93f4[_0x19a0ba(0x298)]))throw new RangeError(_0x19a0ba(0x241)+_0x3c93f4[_0x19a0ba(0x298)]+'\x20(supported\x20versions:\x20'+_0x22d1f4[_0x19a0ba(0x263)](',\x20')+')');let _0x11e9ec;if(_0x2cf850 instanceof _0x2ddbb7)_0x11e9ec=_0x2cf850;else try{_0x11e9ec=new _0x2ddbb7(_0x2cf850);}catch{throw new SyntaxError(_0x19a0ba(0x35e)+_0x2cf850);}_0x11e9ec[_0x19a0ba(0x2ab)]===_0x19a0ba(0x214)?_0x11e9ec[_0x19a0ba(0x2ab)]=_0x19a0ba(0x2c4):_0x11e9ec[_0x19a0ba(0x2ab)]===_0x19a0ba(0x2a0)&&(_0x11e9ec[_0x19a0ba(0x2ab)]=_0x19a0ba(0x38d)),_0x36cb24[_0x19a0ba(0x2fc)]=_0x11e9ec[_0x19a0ba(0x22c)];const _0x5c3edf=_0x11e9ec[_0x19a0ba(0x2ab)]===_0x19a0ba(0x38d),_0x5a45a2=_0x11e9ec['protocol']===_0x19a0ba(0x24d);let _0x18191f;if(_0x11e9ec[_0x19a0ba(0x2ab)]!==_0x19a0ba(0x2c4)&&!_0x5c3edf&&!_0x5a45a2?_0x18191f='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':_0x5a45a2&&!_0x11e9ec['pathname']?_0x18191f=_0x19a0ba(0x272):_0x11e9ec[_0x19a0ba(0x290)]&&(_0x18191f='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x18191f){const _0x808b79=new SyntaxError(_0x18191f);if(_0x36cb24['_redirects']===0x0)throw _0x808b79;_0x291db7(_0x36cb24,_0x808b79);return;}const _0x343c5c=_0x5c3edf?0x1bb:0x50,_0x4bfaa1=_0x3ef637(0x10)[_0x19a0ba(0x37c)](_0x19a0ba(0x2a5)),_0x5790b1=_0x5c3edf?_0x1d65b8[_0x19a0ba(0x28d)]:_0x266ab8['request'],_0x562927=new Set();let _0x136694;if(_0x3c93f4[_0x19a0ba(0x336)]=_0x3c93f4[_0x19a0ba(0x336)]||(_0x5c3edf?_0x3f8042:_0x4dee41),_0x3c93f4[_0x19a0ba(0x311)]=_0x3c93f4[_0x19a0ba(0x311)]||_0x343c5c,_0x3c93f4['port']=_0x11e9ec['port']||_0x343c5c,_0x3c93f4[_0x19a0ba(0x2ec)]=_0x11e9ec[_0x19a0ba(0x38a)][_0x19a0ba(0x218)]('[')?_0x11e9ec[_0x19a0ba(0x38a)][_0x19a0ba(0x288)](0x1,-0x1):_0x11e9ec[_0x19a0ba(0x38a)],_0x3c93f4[_0x19a0ba(0x2ac)]={..._0x3c93f4[_0x19a0ba(0x2ac)],'Sec-WebSocket-Version':_0x3c93f4[_0x19a0ba(0x298)],'Sec-WebSocket-Key':_0x4bfaa1,'Connection':'Upgrade','Upgrade':'websocket'},_0x3c93f4[_0x19a0ba(0x370)]=_0x11e9ec[_0x19a0ba(0x264)]+_0x11e9ec[_0x19a0ba(0x350)],_0x3c93f4[_0x19a0ba(0x274)]=_0x3c93f4[_0x19a0ba(0x2f7)],_0x3c93f4[_0x19a0ba(0x231)]&&(_0x136694=new _0x28bdd5(_0x3c93f4[_0x19a0ba(0x231)]!==!0x0?_0x3c93f4[_0x19a0ba(0x231)]:{},!0x1,_0x3c93f4[_0x19a0ba(0x219)]),_0x3c93f4['headers'][_0x19a0ba(0x365)]=_0x45da43({[_0x28bdd5[_0x19a0ba(0x339)]]:_0x136694[_0x19a0ba(0x36d)]()})),_0x301c1d[_0x19a0ba(0x25d)]){for(const _0x32bb19 of _0x301c1d){if(typeof _0x32bb19!=_0x19a0ba(0x378)||!_0x43b7dd['test'](_0x32bb19)||_0x562927[_0x19a0ba(0x29d)](_0x32bb19))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x562927['add'](_0x32bb19);}_0x3c93f4[_0x19a0ba(0x2ac)]['Sec-WebSocket-Protocol']=_0x301c1d[_0x19a0ba(0x263)](',');}if(_0x3c93f4[_0x19a0ba(0x1f3)]&&(_0x3c93f4[_0x19a0ba(0x298)]<0xd?_0x3c93f4[_0x19a0ba(0x2ac)]['Sec-WebSocket-Origin']=_0x3c93f4[_0x19a0ba(0x1f3)]:_0x3c93f4[_0x19a0ba(0x2ac)][_0x19a0ba(0x206)]=_0x3c93f4['origin']),(_0x11e9ec[_0x19a0ba(0x33a)]||_0x11e9ec[_0x19a0ba(0x34d)])&&(_0x3c93f4[_0x19a0ba(0x30a)]=_0x11e9ec[_0x19a0ba(0x33a)]+':'+_0x11e9ec[_0x19a0ba(0x34d)]),_0x5a45a2){const _0x4ecb1e=_0x3c93f4[_0x19a0ba(0x370)]['split'](':');_0x3c93f4['socketPath']=_0x4ecb1e[0x0],_0x3c93f4[_0x19a0ba(0x370)]=_0x4ecb1e[0x1];}let _0xd6f4cc;if(_0x3c93f4[_0x19a0ba(0x36c)]){if(_0x36cb24['_redirects']===0x0){_0x36cb24[_0x19a0ba(0x301)]=_0x5a45a2,_0x36cb24[_0x19a0ba(0x37d)]=_0x5c3edf,_0x36cb24[_0x19a0ba(0x361)]=_0x5a45a2?_0x3c93f4[_0x19a0ba(0x37a)]:_0x11e9ec[_0x19a0ba(0x2ec)];const _0x3de12d=_0x5edfd2&&_0x5edfd2[_0x19a0ba(0x2ac)];if(_0x5edfd2={..._0x5edfd2,'headers':{}},_0x3de12d){for(const [_0x51db15,_0x49b28d]of Object['entries'](_0x3de12d))_0x5edfd2['headers'][_0x51db15[_0x19a0ba(0x2dd)]()]=_0x49b28d;}}else{if(_0x36cb24[_0x19a0ba(0x261)](_0x19a0ba(0x307))===0x0){const _0x53862e=_0x5a45a2?_0x36cb24[_0x19a0ba(0x301)]?_0x3c93f4[_0x19a0ba(0x37a)]===_0x36cb24[_0x19a0ba(0x361)]:!0x1:_0x36cb24['_originalIpc']?!0x1:_0x11e9ec[_0x19a0ba(0x2ec)]===_0x36cb24['_originalHostOrSocketPath'];(!_0x53862e||_0x36cb24['_originalSecure']&&!_0x5c3edf)&&(delete _0x3c93f4[_0x19a0ba(0x2ac)][_0x19a0ba(0x201)],delete _0x3c93f4[_0x19a0ba(0x2ac)][_0x19a0ba(0x2ea)],_0x53862e||delete _0x3c93f4[_0x19a0ba(0x2ac)][_0x19a0ba(0x2ec)],_0x3c93f4[_0x19a0ba(0x30a)]=void 0x0);}}_0x3c93f4[_0x19a0ba(0x30a)]&&!_0x5edfd2[_0x19a0ba(0x2ac)][_0x19a0ba(0x201)]&&(_0x5edfd2['headers'][_0x19a0ba(0x201)]=_0x19a0ba(0x346)+Buffer[_0x19a0ba(0x305)](_0x3c93f4[_0x19a0ba(0x30a)])[_0x19a0ba(0x37c)](_0x19a0ba(0x2a5))),_0xd6f4cc=_0x36cb24['_req']=_0x5790b1(_0x3c93f4),_0x36cb24[_0x19a0ba(0x26e)]&&_0x36cb24[_0x19a0ba(0x356)](_0x19a0ba(0x307),_0x36cb24[_0x19a0ba(0x234)],_0xd6f4cc);}else _0xd6f4cc=_0x36cb24[_0x19a0ba(0x36a)]=_0x5790b1(_0x3c93f4);_0x3c93f4[_0x19a0ba(0x274)]&&_0xd6f4cc['on'](_0x19a0ba(0x274),()=>{const _0x297169=_0x19a0ba;_0x331e46(_0x36cb24,_0xd6f4cc,_0x297169(0x321));}),_0xd6f4cc['on'](_0x19a0ba(0x27b),_0x350bfa=>{const _0x5148da=_0x19a0ba;_0xd6f4cc===null||_0xd6f4cc[_0x4ec40f]||(_0xd6f4cc=_0x36cb24[_0x5148da(0x36a)]=null,_0x291db7(_0x36cb24,_0x350bfa));}),_0xd6f4cc['on'](_0x19a0ba(0x245),_0x34e9d7=>{const _0xc9b1ff=_0x19a0ba,_0x982c16=_0x34e9d7[_0xc9b1ff(0x2ac)]['location'],_0x4b9441=_0x34e9d7[_0xc9b1ff(0x2b7)];if(_0x982c16&&_0x3c93f4[_0xc9b1ff(0x36c)]&&_0x4b9441>=0x12c&&_0x4b9441<0x190){if(++_0x36cb24[_0xc9b1ff(0x26e)]>_0x3c93f4['maxRedirects']){_0x331e46(_0x36cb24,_0xd6f4cc,'Maximum\x20redirects\x20exceeded');return;}_0xd6f4cc[_0xc9b1ff(0x2ba)]();let _0x3ff89a;try{_0x3ff89a=new _0x2ddbb7(_0x982c16,_0x2cf850);}catch{const _0x5650b7=new SyntaxError(_0xc9b1ff(0x35e)+_0x982c16);_0x291db7(_0x36cb24,_0x5650b7);return;}_0x529f36(_0x36cb24,_0x3ff89a,_0x301c1d,_0x5edfd2);}else _0x36cb24['emit'](_0xc9b1ff(0x35d),_0xd6f4cc,_0x34e9d7)||_0x331e46(_0x36cb24,_0xd6f4cc,_0xc9b1ff(0x1fe)+_0x34e9d7[_0xc9b1ff(0x2b7)]);}),_0xd6f4cc['on']('upgrade',(_0x1bb0b2,_0x40c372,_0x18d2da)=>{const _0x1d3d93=_0x19a0ba;if(_0x36cb24[_0x1d3d93(0x356)](_0x1d3d93(0x1ec),_0x1bb0b2),_0x36cb24['readyState']!==_0x5e29d9['CONNECTING'])return;_0xd6f4cc=_0x36cb24['_req']=null;const _0x5c8274=_0x1bb0b2['headers'][_0x1d3d93(0x1ec)];if(_0x5c8274===void 0x0||_0x5c8274[_0x1d3d93(0x2dd)]()!==_0x1d3d93(0x325)){_0x331e46(_0x36cb24,_0x40c372,_0x1d3d93(0x257));return;}const _0x272154=_0x204f02(_0x1d3d93(0x1fc))[_0x1d3d93(0x32e)](_0x4bfaa1+_0x24887)[_0x1d3d93(0x1de)](_0x1d3d93(0x2a5));if(_0x1bb0b2[_0x1d3d93(0x2ac)]['sec-websocket-accept']!==_0x272154){_0x331e46(_0x36cb24,_0x40c372,_0x1d3d93(0x1f5));return;}const _0x17073f=_0x1bb0b2[_0x1d3d93(0x2ac)]['sec-websocket-protocol'];let _0x32c8eb;if(_0x17073f!==void 0x0?_0x562927['size']?_0x562927[_0x1d3d93(0x29d)](_0x17073f)||(_0x32c8eb=_0x1d3d93(0x21c)):_0x32c8eb=_0x1d3d93(0x275):_0x562927[_0x1d3d93(0x2f2)]&&(_0x32c8eb='Server\x20sent\x20no\x20subprotocol'),_0x32c8eb){_0x331e46(_0x36cb24,_0x40c372,_0x32c8eb);return;}_0x17073f&&(_0x36cb24[_0x1d3d93(0x33b)]=_0x17073f);const _0x4eb810=_0x1bb0b2['headers'][_0x1d3d93(0x299)];if(_0x4eb810!==void 0x0){if(!_0x136694){_0x331e46(_0x36cb24,_0x40c372,_0x1d3d93(0x2af));return;}let _0x2bc682;try{_0x2bc682=_0x1c6bed(_0x4eb810);}catch{_0x331e46(_0x36cb24,_0x40c372,_0x1d3d93(0x265));return;}const _0x44e486=Object[_0x1d3d93(0x394)](_0x2bc682);if(_0x44e486[_0x1d3d93(0x25d)]!==0x1||_0x44e486[0x0]!==_0x28bdd5[_0x1d3d93(0x339)]){_0x331e46(_0x36cb24,_0x40c372,_0x1d3d93(0x2a6));return;}try{_0x136694[_0x1d3d93(0x21b)](_0x2bc682[_0x28bdd5[_0x1d3d93(0x339)]]);}catch{_0x331e46(_0x36cb24,_0x40c372,_0x1d3d93(0x265));return;}_0x36cb24[_0x1d3d93(0x30c)][_0x28bdd5[_0x1d3d93(0x339)]]=_0x136694;}_0x36cb24[_0x1d3d93(0x297)](_0x40c372,_0x18d2da,{'allowSynchronousEvents':_0x3c93f4[_0x1d3d93(0x38e)],'generateMask':_0x3c93f4['generateMask'],'maxPayload':_0x3c93f4['maxPayload'],'skipUTF8Validation':_0x3c93f4[_0x1d3d93(0x2db)]});}),_0x3c93f4[_0x19a0ba(0x32b)]?_0x3c93f4[_0x19a0ba(0x32b)](_0xd6f4cc,_0x36cb24):_0xd6f4cc[_0x19a0ba(0x23f)]();}function _0x291db7(_0x6e0e71,_0x13c69e){const _0x59ebe1=_0x49b5a6;_0x6e0e71[_0x59ebe1(0x1f0)]=_0x5e29d9[_0x59ebe1(0x2ca)],_0x6e0e71[_0x59ebe1(0x2ed)]=!0x0,_0x6e0e71[_0x59ebe1(0x356)](_0x59ebe1(0x27b),_0x13c69e),_0x6e0e71['emitClose']();}function _0x4dee41(_0x81afd7){return _0x81afd7['path']=_0x81afd7['socketPath'],_0x1f1f41['connect'](_0x81afd7);}function _0x3f8042(_0x4286da){const _0x5723f4=_0x49b5a6;return _0x4286da['path']=void 0x0,!_0x4286da['servername']&&_0x4286da[_0x5723f4(0x2b3)]!==''&&(_0x4286da[_0x5723f4(0x2b3)]=_0x1f1f41[_0x5723f4(0x351)](_0x4286da['host'])?'':_0x4286da[_0x5723f4(0x2ec)]),_0x504d26[_0x5723f4(0x31d)](_0x4286da);}function _0x331e46(_0x19203e,_0x353bad,_0x45adad){const _0x5d345e=_0x49b5a6;_0x19203e['_readyState']=_0x5e29d9[_0x5d345e(0x2ca)];const _0x25234b=new Error(_0x45adad);Error['captureStackTrace'](_0x25234b,_0x331e46),_0x353bad[_0x5d345e(0x326)]?(_0x353bad[_0x4ec40f]=!0x0,_0x353bad['abort'](),_0x353bad[_0x5d345e(0x324)]&&!_0x353bad['socket'][_0x5d345e(0x2c3)]&&_0x353bad['socket'][_0x5d345e(0x223)](),process['nextTick'](_0x291db7,_0x19203e,_0x25234b)):(_0x353bad[_0x5d345e(0x223)](_0x25234b),_0x353bad[_0x5d345e(0x242)]('error',_0x19203e['emit']['bind'](_0x19203e,'error')),_0x353bad[_0x5d345e(0x242)](_0x5d345e(0x1eb),_0x19203e[_0x5d345e(0x322)][_0x5d345e(0x20c)](_0x19203e)));}function _0x3bbe05(_0x57f098,_0x3fad33,_0x2063e8){const _0x514293=_0x49b5a6;if(_0x3fad33){const _0x11b095=_0x43ac2d(_0x3fad33)?_0x3fad33[_0x514293(0x2f2)]:_0x4de0dc(_0x3fad33)[_0x514293(0x25d)];_0x57f098[_0x514293(0x2e9)]?_0x57f098[_0x514293(0x37e)][_0x514293(0x2bb)]+=_0x11b095:_0x57f098[_0x514293(0x1f9)]+=_0x11b095;}if(_0x2063e8){const _0x19ad40=new Error(_0x514293(0x27d)+_0x57f098[_0x514293(0x227)]+'\x20('+_0x6c889a[_0x57f098['readyState']]+')');process[_0x514293(0x271)](_0x2063e8,_0x19ad40);}}function _0x1ceece(_0x17e8a2,_0x128e9e){const _0x3b19d8=_0x49b5a6,_0x499ecf=this[_0x336d07];_0x499ecf[_0x3b19d8(0x386)]=!0x0,_0x499ecf[_0x3b19d8(0x25a)]=_0x128e9e,_0x499ecf[_0x3b19d8(0x2b5)]=_0x17e8a2,_0x499ecf[_0x3b19d8(0x2e9)][_0x336d07]!==void 0x0&&(_0x499ecf['_socket'][_0x3b19d8(0x1e0)](_0x3b19d8(0x367),_0x494b7f),process[_0x3b19d8(0x271)](_0x15707f,_0x499ecf[_0x3b19d8(0x2e9)]),_0x17e8a2===0x3ed?_0x499ecf['close']():_0x499ecf[_0x3b19d8(0x1eb)](_0x17e8a2,_0x128e9e));}function _0x22fb61(){const _0x96524d=_0x49b5a6,_0x151225=this[_0x336d07];_0x151225[_0x96524d(0x259)]||_0x151225[_0x96524d(0x2e9)][_0x96524d(0x33c)]();}function _0x4ccc20(_0x52deb2){const _0x17fda6=_0x49b5a6,_0x34b643=this[_0x336d07];_0x34b643['_socket'][_0x336d07]!==void 0x0&&(_0x34b643[_0x17fda6(0x2e9)][_0x17fda6(0x1e0)](_0x17fda6(0x367),_0x494b7f),process[_0x17fda6(0x271)](_0x15707f,_0x34b643[_0x17fda6(0x2e9)]),_0x34b643['close'](_0x52deb2[_0x1a8b5d])),_0x34b643[_0x17fda6(0x2ed)]||(_0x34b643['_errorEmitted']=!0x0,_0x34b643[_0x17fda6(0x356)](_0x17fda6(0x27b),_0x52deb2));}function _0x19878e(){const _0x4f0fe0=_0x49b5a6;this[_0x336d07][_0x4f0fe0(0x322)]();}function _0xfdbf7b(_0x12aa7b,_0x510d49){const _0x325c8c=_0x49b5a6;this[_0x336d07][_0x325c8c(0x356)](_0x325c8c(0x247),_0x12aa7b,_0x510d49);}function _0x2ae80a(_0x10dab6){const _0x155f1c=_0x49b5a6,_0x38b471=this[_0x336d07];_0x38b471[_0x155f1c(0x2b0)]&&_0x38b471[_0x155f1c(0x36b)](_0x10dab6,!this[_0x155f1c(0x340)],_0x52466f),_0x38b471[_0x155f1c(0x356)](_0x155f1c(0x1e7),_0x10dab6);}function _0x480eb6(_0x2dc1f5){const _0x3b743a=_0x49b5a6;this[_0x336d07][_0x3b743a(0x356)](_0x3b743a(0x36b),_0x2dc1f5);}function _0x15707f(_0x241559){const _0x466661=_0x49b5a6;_0x241559[_0x466661(0x33c)]();}function _0x42a768(_0x42bac5){const _0x533bde=_0x49b5a6,_0x762042=this[_0x336d07];_0x762042[_0x533bde(0x227)]!==_0x5e29d9[_0x533bde(0x2da)]&&(_0x762042[_0x533bde(0x227)]===_0x5e29d9[_0x533bde(0x200)]&&(_0x762042[_0x533bde(0x1f0)]=_0x5e29d9['CLOSING'],_0x2a58c8(_0x762042)),this['_socket']['end'](),_0x762042[_0x533bde(0x2ed)]||(_0x762042['_errorEmitted']=!0x0,_0x762042[_0x533bde(0x356)](_0x533bde(0x27b),_0x42bac5)));}function _0x2a58c8(_0x1d6ccb){const _0x3cdf6f=_0x49b5a6;_0x1d6ccb['_closeTimer']=setTimeout(_0x1d6ccb[_0x3cdf6f(0x2e9)][_0x3cdf6f(0x223)]['bind'](_0x1d6ccb[_0x3cdf6f(0x2e9)]),_0x4d7fca);}function _0x2553f8(){const _0x351e1c=_0x49b5a6,_0x2d5b4b=this[_0x336d07];this[_0x351e1c(0x1e0)](_0x351e1c(0x1eb),_0x2553f8),this[_0x351e1c(0x1e0)](_0x351e1c(0x367),_0x494b7f),this[_0x351e1c(0x1e0)](_0x351e1c(0x23f),_0x162a85),_0x2d5b4b[_0x351e1c(0x1f0)]=_0x5e29d9[_0x351e1c(0x2ca)];let _0xbf0156;!this[_0x351e1c(0x26a)][_0x351e1c(0x364)]&&!_0x2d5b4b[_0x351e1c(0x386)]&&!_0x2d5b4b[_0x351e1c(0x2f0)][_0x351e1c(0x2fe)]['errorEmitted']&&(_0xbf0156=_0x2d5b4b[_0x351e1c(0x2e9)][_0x351e1c(0x329)]())!==null&&_0x2d5b4b[_0x351e1c(0x2f0)][_0x351e1c(0x284)](_0xbf0156),_0x2d5b4b[_0x351e1c(0x2f0)][_0x351e1c(0x23f)](),this[_0x336d07]=void 0x0,clearTimeout(_0x2d5b4b[_0x351e1c(0x229)]),_0x2d5b4b['_receiver'][_0x351e1c(0x2fe)][_0x351e1c(0x2d2)]||_0x2d5b4b[_0x351e1c(0x2f0)][_0x351e1c(0x2fe)][_0x351e1c(0x358)]?_0x2d5b4b['emitClose']():(_0x2d5b4b[_0x351e1c(0x2f0)]['on'](_0x351e1c(0x27b),_0x19878e),_0x2d5b4b[_0x351e1c(0x2f0)]['on']('finish',_0x19878e));}function _0x494b7f(_0x1329cb){const _0x35495a=_0x49b5a6;this[_0x336d07][_0x35495a(0x2f0)][_0x35495a(0x284)](_0x1329cb)||this[_0x35495a(0x1ef)]();}function _0x162a85(){const _0x2e7023=_0x49b5a6,_0x2f017a=this[_0x336d07];_0x2f017a[_0x2e7023(0x1f0)]=_0x5e29d9['CLOSING'],_0x2f017a[_0x2e7023(0x2f0)][_0x2e7023(0x23f)](),this[_0x2e7023(0x23f)]();}function _0x5aeca1(){const _0x5b4533=_0x49b5a6,_0x4a9a0c=this[_0x336d07];this[_0x5b4533(0x1e0)]('error',_0x5aeca1),this['on'](_0x5b4533(0x27b),_0x52466f),_0x4a9a0c&&(_0x4a9a0c[_0x5b4533(0x1f0)]=_0x5e29d9['CLOSING'],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x5336c7}=_0x19e8d1;function _0xca5707(_0x44435c){const _0x36b4e1=_0x3609;_0x44435c[_0x36b4e1(0x356)](_0x36b4e1(0x1eb));}function _0x44bc75(){const _0x42870d=_0x3609;!this[_0x42870d(0x2c3)]&&this['_writableState']['finished']&&this['destroy']();}function _0x34faf0(_0x30f3d6){const _0x39231f=_0x3609;this[_0x39231f(0x1e0)]('error',_0x34faf0),this['destroy'](),this[_0x39231f(0x261)](_0x39231f(0x27b))===0x0&&this[_0x39231f(0x356)](_0x39231f(0x27b),_0x30f3d6);}function _0x4b745b(_0x512ddc,_0x2f8ede){const _0x5a708c=_0x3609;let _0x5bafa9=!0x0;const _0x2e3d26=new _0x5336c7({..._0x2f8ede,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x512ddc['on'](_0x5a708c(0x247),function(_0x3a4475,_0x8c83b9){const _0x39b992=_0x5a708c,_0x3c595c=!_0x8c83b9&&_0x2e3d26[_0x39b992(0x26a)][_0x39b992(0x249)]?_0x3a4475[_0x39b992(0x37c)]():_0x3a4475;_0x2e3d26[_0x39b992(0x22e)](_0x3c595c)||_0x512ddc[_0x39b992(0x1ef)]();}),_0x512ddc[_0x5a708c(0x242)](_0x5a708c(0x27b),function(_0xbd1086){const _0x5a40cb=_0x5a708c;_0x2e3d26[_0x5a40cb(0x2c3)]||(_0x5bafa9=!0x1,_0x2e3d26['destroy'](_0xbd1086));}),_0x512ddc[_0x5a708c(0x242)](_0x5a708c(0x1eb),function(){const _0x1da355=_0x5a708c;_0x2e3d26[_0x1da355(0x2c3)]||_0x2e3d26['push'](null);}),_0x2e3d26['_destroy']=function(_0x452993,_0x113d8e){const _0x4efc7c=_0x5a708c;if(_0x512ddc[_0x4efc7c(0x227)]===_0x512ddc[_0x4efc7c(0x2da)]){_0x113d8e(_0x452993),process[_0x4efc7c(0x271)](_0xca5707,_0x2e3d26);return;}let _0x2aa4d5=!0x1;_0x512ddc[_0x4efc7c(0x242)](_0x4efc7c(0x27b),function(_0x352dc0){_0x2aa4d5=!0x0,_0x113d8e(_0x352dc0);}),_0x512ddc[_0x4efc7c(0x242)](_0x4efc7c(0x1eb),function(){const _0x3cfd85=_0x4efc7c;_0x2aa4d5||_0x113d8e(_0x452993),process[_0x3cfd85(0x271)](_0xca5707,_0x2e3d26);}),_0x5bafa9&&_0x512ddc[_0x4efc7c(0x26c)]();},_0x2e3d26[_0x5a708c(0x31c)]=function(_0x32e825){const _0x4a5867=_0x5a708c;if(_0x512ddc[_0x4a5867(0x227)]===_0x512ddc[_0x4a5867(0x337)]){_0x512ddc[_0x4a5867(0x242)]('open',function(){const _0x152dbd=_0x4a5867;_0x2e3d26[_0x152dbd(0x31c)](_0x32e825);});return;}_0x512ddc['_socket']!==null&&(_0x512ddc[_0x4a5867(0x2e9)]['_writableState'][_0x4a5867(0x2d2)]?(_0x32e825(),_0x2e3d26[_0x4a5867(0x26a)][_0x4a5867(0x364)]&&_0x2e3d26[_0x4a5867(0x223)]()):(_0x512ddc[_0x4a5867(0x2e9)][_0x4a5867(0x242)](_0x4a5867(0x282),function(){_0x32e825();}),_0x512ddc[_0x4a5867(0x1eb)]()));},_0x2e3d26[_0x5a708c(0x328)]=function(){const _0x5c7445=_0x5a708c;_0x512ddc[_0x5c7445(0x259)]&&_0x512ddc[_0x5c7445(0x33c)]();},_0x2e3d26[_0x5a708c(0x2b1)]=function(_0x37216f,_0xe90152,_0x5d6ff2){const _0x214fed=_0x5a708c;if(_0x512ddc['readyState']===_0x512ddc[_0x214fed(0x337)]){_0x512ddc[_0x214fed(0x242)](_0x214fed(0x228),function(){_0x2e3d26['_write'](_0x37216f,_0xe90152,_0x5d6ff2);});return;}_0x512ddc['send'](_0x37216f,_0x5d6ff2);},_0x2e3d26['on'](_0x5a708c(0x23f),_0x44bc75),_0x2e3d26['on'](_0x5a708c(0x27b),_0x34faf0),_0x2e3d26;}return Oe=_0x4b745b,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x193ea9}=ne();function _0xf80d5c(_0x41d666){const _0x436744=_0x3609,_0x57ea34=new Set();let _0xe8d559=-0x1,_0x4dda48=-0x1,_0x2df630=0x0;for(_0x2df630;_0x2df630<_0x41d666[_0x436744(0x25d)];_0x2df630++){const _0x21e79b=_0x41d666[_0x436744(0x345)](_0x2df630);if(_0x4dda48===-0x1&&_0x193ea9[_0x21e79b]===0x1)_0xe8d559===-0x1&&(_0xe8d559=_0x2df630);else{if(_0x2df630!==0x0&&(_0x21e79b===0x20||_0x21e79b===0x9))_0x4dda48===-0x1&&_0xe8d559!==-0x1&&(_0x4dda48=_0x2df630);else{if(_0x21e79b===0x2c){if(_0xe8d559===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2df630);_0x4dda48===-0x1&&(_0x4dda48=_0x2df630);const _0x2a85fd=_0x41d666[_0x436744(0x288)](_0xe8d559,_0x4dda48);if(_0x57ea34[_0x436744(0x29d)](_0x2a85fd))throw new SyntaxError('The\x20\x22'+_0x2a85fd+_0x436744(0x246));_0x57ea34[_0x436744(0x1e6)](_0x2a85fd),_0xe8d559=_0x4dda48=-0x1;}else throw new SyntaxError(_0x436744(0x366)+_0x2df630);}}}if(_0xe8d559===-0x1||_0x4dda48!==-0x1)throw new SyntaxError(_0x436744(0x278));const _0xfaf99d=_0x41d666[_0x436744(0x288)](_0xe8d559,_0x2df630);if(_0x57ea34[_0x436744(0x29d)](_0xfaf99d))throw new SyntaxError('The\x20\x22'+_0xfaf99d+_0x436744(0x246));return _0x57ea34[_0x436744(0x1e6)](_0xfaf99d),_0x57ea34;}return Ce={'parse':_0xf80d5c},Ce;}var Te,ot;function er(){const _0x17e714=_0x5764eb;if(ot)return Te;ot=0x1;const _0x555aab=_0x32518d,_0x31076a=_0x5ed1b7,{Duplex:_0x5c654b}=_0x19e8d1,{createHash:_0x5aacdd}=_0x4c8046,_0x5271ac=pt(),_0x4cfdd1=he(),_0x1cefc7=Jt(),_0x53c634=Ie(),{GUID:_0x4f0c8d,kWebSocket:_0x5f0023}=V(),_0x14a24d=/^[+/0-9A-Za-z]{22}==$/,_0x422e0c=0x0,_0x46b608=0x1,_0x110797=0x2;class _0x5a4924 extends _0x555aab{constructor(_0xa0f2c8,_0x139ade){const _0x37395f=_0x3609;if(super(),_0xa0f2c8={'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':_0x53c634,..._0xa0f2c8},_0xa0f2c8[_0x37395f(0x254)]==null&&!_0xa0f2c8['server']&&!_0xa0f2c8[_0x37395f(0x31f)]||_0xa0f2c8[_0x37395f(0x254)]!=null&&(_0xa0f2c8['server']||_0xa0f2c8[_0x37395f(0x31f)])||_0xa0f2c8[_0x37395f(0x2be)]&&_0xa0f2c8['noServer'])throw new TypeError(_0x37395f(0x317));if(_0xa0f2c8[_0x37395f(0x254)]!=null?(this[_0x37395f(0x313)]=_0x31076a[_0x37395f(0x1f7)]((_0x2de32c,_0x34065b)=>{const _0x26e9a7=_0x37395f,_0x512ffb=_0x31076a[_0x26e9a7(0x203)][0x1aa];_0x34065b[_0x26e9a7(0x233)](0x1aa,{'Content-Length':_0x512ffb[_0x26e9a7(0x25d)],'Content-Type':_0x26e9a7(0x237)}),_0x34065b[_0x26e9a7(0x23f)](_0x512ffb);}),this[_0x37395f(0x313)][_0x37395f(0x303)](_0xa0f2c8[_0x37395f(0x254)],_0xa0f2c8[_0x37395f(0x2ec)],_0xa0f2c8[_0x37395f(0x30b)],_0x139ade)):_0xa0f2c8['server']&&(this['_server']=_0xa0f2c8['server']),this[_0x37395f(0x313)]){const _0x1d241e=this[_0x37395f(0x356)][_0x37395f(0x20c)](this,_0x37395f(0x387));this[_0x37395f(0x34e)]=_0x4e3000(this[_0x37395f(0x313)],{'listening':this[_0x37395f(0x356)][_0x37395f(0x20c)](this,_0x37395f(0x38c)),'error':this[_0x37395f(0x356)][_0x37395f(0x20c)](this,_0x37395f(0x27b)),'upgrade':(_0x36297b,_0x250440,_0x2bba63)=>{const _0x39774e=_0x37395f;this[_0x39774e(0x341)](_0x36297b,_0x250440,_0x2bba63,_0x1d241e);}});}_0xa0f2c8['perMessageDeflate']===!0x0&&(_0xa0f2c8[_0x37395f(0x231)]={}),_0xa0f2c8[_0x37395f(0x273)]&&(this['clients']=new Set(),this[_0x37395f(0x2f8)]=!0x1),this['options']=_0xa0f2c8,this[_0x37395f(0x26b)]=_0x422e0c;}[_0x17e714(0x30e)](){const _0x3bcd11=_0x17e714;if(this[_0x3bcd11(0x1ed)]['noServer'])throw new Error(_0x3bcd11(0x338));return this[_0x3bcd11(0x313)]?this[_0x3bcd11(0x313)][_0x3bcd11(0x30e)]():null;}['close'](_0x4a00eb){const _0x2e8639=_0x17e714;if(this[_0x2e8639(0x26b)]===_0x110797){_0x4a00eb&&this['once']('close',()=>{const _0x512b92=_0x2e8639;_0x4a00eb(new Error(_0x512b92(0x1f1)));}),process[_0x2e8639(0x271)](_0xd8efb8,this);return;}if(_0x4a00eb&&this[_0x2e8639(0x242)](_0x2e8639(0x1eb),_0x4a00eb),this['_state']!==_0x46b608){if(this[_0x2e8639(0x26b)]=_0x46b608,this[_0x2e8639(0x1ed)][_0x2e8639(0x31f)]||this['options'][_0x2e8639(0x2be)])this[_0x2e8639(0x313)]&&(this[_0x2e8639(0x34e)](),this['_removeListeners']=this[_0x2e8639(0x313)]=null),this[_0x2e8639(0x279)]?this[_0x2e8639(0x279)]['size']?this[_0x2e8639(0x2f8)]=!0x0:process['nextTick'](_0xd8efb8,this):process[_0x2e8639(0x271)](_0xd8efb8,this);else{const _0x8e47fc=this[_0x2e8639(0x313)];this[_0x2e8639(0x34e)](),this[_0x2e8639(0x34e)]=this[_0x2e8639(0x313)]=null,_0x8e47fc[_0x2e8639(0x1eb)](()=>{_0xd8efb8(this);});}}}[_0x17e714(0x332)](_0x3a7764){const _0x3bef52=_0x17e714;if(this['options'][_0x3bef52(0x370)]){const _0x4f5987=_0x3a7764[_0x3bef52(0x234)]['indexOf']('?');if((_0x4f5987!==-0x1?_0x3a7764[_0x3bef52(0x234)][_0x3bef52(0x288)](0x0,_0x4f5987):_0x3a7764['url'])!==this['options']['path'])return!0x1;}return!0x0;}[_0x17e714(0x341)](_0x5182c3,_0x96ce6a,_0x5ace95,_0x52ad12){const _0x47d6e3=_0x17e714;_0x96ce6a['on'](_0x47d6e3(0x27b),_0x4ef216);const _0x5d9b5c=_0x5182c3['headers'][_0x47d6e3(0x216)],_0x2f6ef3=_0x5182c3[_0x47d6e3(0x2ac)][_0x47d6e3(0x1ec)],_0x18f18f=+_0x5182c3[_0x47d6e3(0x2ac)][_0x47d6e3(0x204)];if(_0x5182c3[_0x47d6e3(0x2a2)]!==_0x47d6e3(0x388)){_0x4858e6(this,_0x5182c3,_0x96ce6a,0x195,_0x47d6e3(0x207));return;}if(_0x2f6ef3===void 0x0||_0x2f6ef3['toLowerCase']()!==_0x47d6e3(0x325)){_0x4858e6(this,_0x5182c3,_0x96ce6a,0x190,_0x47d6e3(0x257));return;}if(_0x5d9b5c===void 0x0||!_0x14a24d[_0x47d6e3(0x2f1)](_0x5d9b5c)){_0x4858e6(this,_0x5182c3,_0x96ce6a,0x190,_0x47d6e3(0x280));return;}if(_0x18f18f!==0x8&&_0x18f18f!==0xd){_0x4858e6(this,_0x5182c3,_0x96ce6a,0x190,_0x47d6e3(0x2e0));return;}if(!this[_0x47d6e3(0x332)](_0x5182c3)){_0x13357d(_0x96ce6a,0x190);return;}const _0x3a983d=_0x5182c3[_0x47d6e3(0x2ac)][_0x47d6e3(0x230)];let _0x66cbb=new Set();if(_0x3a983d!==void 0x0)try{_0x66cbb=_0x1cefc7[_0x47d6e3(0x2e4)](_0x3a983d);}catch{_0x4858e6(this,_0x5182c3,_0x96ce6a,0x190,_0x47d6e3(0x2de));return;}const _0xf8e7e6=_0x5182c3[_0x47d6e3(0x2ac)]['sec-websocket-extensions'],_0x4e0d7d={};if(this[_0x47d6e3(0x1ed)][_0x47d6e3(0x231)]&&_0xf8e7e6!==void 0x0){const _0x2e3812=new _0x4cfdd1(this['options'][_0x47d6e3(0x231)],!0x0,this[_0x47d6e3(0x1ed)][_0x47d6e3(0x219)]);try{const _0x8233ea=_0x5271ac[_0x47d6e3(0x2e4)](_0xf8e7e6);_0x8233ea[_0x4cfdd1[_0x47d6e3(0x339)]]&&(_0x2e3812[_0x47d6e3(0x21b)](_0x8233ea[_0x4cfdd1[_0x47d6e3(0x339)]]),_0x4e0d7d[_0x4cfdd1['extensionName']]=_0x2e3812);}catch{_0x4858e6(this,_0x5182c3,_0x96ce6a,0x190,_0x47d6e3(0x2d4));return;}}if(this[_0x47d6e3(0x1ed)][_0x47d6e3(0x20e)]){const _0x4952f3={'origin':_0x5182c3[_0x47d6e3(0x2ac)][''+(_0x18f18f===0x8?_0x47d6e3(0x2a7):_0x47d6e3(0x1f3))],'secure':!!(_0x5182c3[_0x47d6e3(0x324)][_0x47d6e3(0x380)]||_0x5182c3[_0x47d6e3(0x324)]['encrypted']),'req':_0x5182c3};if(this[_0x47d6e3(0x1ed)][_0x47d6e3(0x20e)]['length']===0x2){this[_0x47d6e3(0x1ed)][_0x47d6e3(0x20e)](_0x4952f3,(_0x22d85c,_0x3f4069,_0x46db26,_0xd522e9)=>{const _0x23f09f=_0x47d6e3;if(!_0x22d85c)return _0x13357d(_0x96ce6a,_0x3f4069||0x191,_0x46db26,_0xd522e9);this[_0x23f09f(0x20f)](_0x4e0d7d,_0x5d9b5c,_0x66cbb,_0x5182c3,_0x96ce6a,_0x5ace95,_0x52ad12);});return;}if(!this['options'][_0x47d6e3(0x20e)](_0x4952f3))return _0x13357d(_0x96ce6a,0x191);}this[_0x47d6e3(0x20f)](_0x4e0d7d,_0x5d9b5c,_0x66cbb,_0x5182c3,_0x96ce6a,_0x5ace95,_0x52ad12);}[_0x17e714(0x20f)](_0x12f18a,_0x37b8a1,_0xb750f5,_0x4bc56a,_0xbc428a,_0x4a540a,_0x1cb55c){const _0x2d2d8d=_0x17e714;if(!_0xbc428a[_0x2d2d8d(0x315)]||!_0xbc428a[_0x2d2d8d(0x286)])return _0xbc428a[_0x2d2d8d(0x223)]();if(_0xbc428a[_0x5f0023])throw new Error(_0x2d2d8d(0x343));if(this['_state']>_0x422e0c)return _0x13357d(_0xbc428a,0x1f7);const _0x4f270a=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x2d2d8d(0x2fa),_0x2d2d8d(0x2cd),_0x2d2d8d(0x1fa)+_0x5aacdd(_0x2d2d8d(0x1fc))['update'](_0x37b8a1+_0x4f0c8d)[_0x2d2d8d(0x1de)]('base64')],_0xb32132=new this[(_0x2d2d8d(0x1ed))][(_0x2d2d8d(0x2e8))](null,void 0x0,this[_0x2d2d8d(0x1ed)]);if(_0xb750f5[_0x2d2d8d(0x2f2)]){const _0x52cacb=this[_0x2d2d8d(0x1ed)]['handleProtocols']?this['options']['handleProtocols'](_0xb750f5,_0x4bc56a):_0xb750f5[_0x2d2d8d(0x2e1)]()[_0x2d2d8d(0x2a8)]()[_0x2d2d8d(0x2c5)];_0x52cacb&&(_0x4f270a[_0x2d2d8d(0x22e)](_0x2d2d8d(0x2fd)+_0x52cacb),_0xb32132['_protocol']=_0x52cacb);}if(_0x12f18a[_0x4cfdd1[_0x2d2d8d(0x339)]]){const _0x1461b9=_0x12f18a[_0x4cfdd1['extensionName']][_0x2d2d8d(0x2bc)],_0x1bc3d1=_0x5271ac[_0x2d2d8d(0x2bf)]({[_0x4cfdd1[_0x2d2d8d(0x339)]]:[_0x1461b9]});_0x4f270a[_0x2d2d8d(0x22e)](_0x2d2d8d(0x35f)+_0x1bc3d1),_0xb32132['_extensions']=_0x12f18a;}this[_0x2d2d8d(0x356)](_0x2d2d8d(0x2ac),_0x4f270a,_0x4bc56a),_0xbc428a[_0x2d2d8d(0x284)](_0x4f270a['concat']('\x0d\x0a')[_0x2d2d8d(0x263)]('\x0d\x0a')),_0xbc428a['removeListener']('error',_0x4ef216),_0xb32132[_0x2d2d8d(0x297)](_0xbc428a,_0x4a540a,{'allowSynchronousEvents':this['options'][_0x2d2d8d(0x38e)],'maxPayload':this[_0x2d2d8d(0x1ed)][_0x2d2d8d(0x219)],'skipUTF8Validation':this['options'][_0x2d2d8d(0x2db)]}),this[_0x2d2d8d(0x279)]&&(this[_0x2d2d8d(0x279)][_0x2d2d8d(0x1e6)](_0xb32132),_0xb32132['on'](_0x2d2d8d(0x1eb),()=>{const _0x3fe0ad=_0x2d2d8d;this['clients'][_0x3fe0ad(0x357)](_0xb32132),this[_0x3fe0ad(0x2f8)]&&!this[_0x3fe0ad(0x279)]['size']&&process[_0x3fe0ad(0x271)](_0xd8efb8,this);})),_0x1cb55c(_0xb32132,_0x4bc56a);}}Te=_0x5a4924;function _0x4e3000(_0x504e16,_0x4aee03){for(const _0x4f2ec1 of Object['keys'](_0x4aee03))_0x504e16['on'](_0x4f2ec1,_0x4aee03[_0x4f2ec1]);return function(){const _0x1ba5a6=_0x3609;for(const _0x4186a8 of Object[_0x1ba5a6(0x394)](_0x4aee03))_0x504e16[_0x1ba5a6(0x1e0)](_0x4186a8,_0x4aee03[_0x4186a8]);};}function _0xd8efb8(_0x509436){const _0x2b34c5=_0x17e714;_0x509436[_0x2b34c5(0x26b)]=_0x110797,_0x509436[_0x2b34c5(0x356)](_0x2b34c5(0x1eb));}function _0x4ef216(){const _0x4c8b83=_0x17e714;this[_0x4c8b83(0x223)]();}function _0x13357d(_0x407623,_0x5c2f19,_0xb0cc2a,_0x11b8fa){const _0x4e9899=_0x17e714;_0xb0cc2a=_0xb0cc2a||_0x31076a['STATUS_CODES'][_0x5c2f19],_0x11b8fa={'Connection':'close','Content-Type':'text/html','Content-Length':Buffer[_0x4e9899(0x22b)](_0xb0cc2a),..._0x11b8fa},_0x407623[_0x4e9899(0x242)](_0x4e9899(0x282),_0x407623[_0x4e9899(0x223)]),_0x407623[_0x4e9899(0x23f)](_0x4e9899(0x368)+_0x5c2f19+'\x20'+_0x31076a[_0x4e9899(0x203)][_0x5c2f19]+'\x0d\x0a'+Object['keys'](_0x11b8fa)['map'](_0x17d75a=>_0x17d75a+':\x20'+_0x11b8fa[_0x17d75a])[_0x4e9899(0x263)]('\x0d\x0a')+_0x4e9899(0x302)+_0xb0cc2a);}function _0x4858e6(_0x16b712,_0x1d4290,_0x3863d4,_0x3f0e3c,_0x5616e6){const _0x38f435=_0x17e714;if(_0x16b712[_0x38f435(0x261)](_0x38f435(0x252))){const _0x33fca5=new Error(_0x5616e6);Error[_0x38f435(0x30f)](_0x33fca5,_0x4858e6),_0x16b712[_0x38f435(0x356)](_0x38f435(0x252),_0x33fca5,_0x3863d4,_0x1d4290);}else _0x13357d(_0x3863d4,_0x3f0e3c,_0x5616e6);}return Te;}er();var tr=Object[_0x5764eb(0x327)],rr=(_0x4a9c41,_0x3872c5,_0x249e8d,_0x1e48f5)=>{const _0x4a138f=_0x5764eb;for(var _0x137fb4=_0x1e48f5>0x1?void 0x0:_0x1e48f5?tr(_0x3872c5,_0x249e8d):_0x3872c5,_0x225268=_0x4a9c41[_0x4a138f(0x25d)]-0x1,_0x18eb75;_0x225268>=0x0;_0x225268--)(_0x18eb75=_0x4a9c41[_0x225268])&&(_0x137fb4=_0x18eb75(_0x137fb4)||_0x137fb4);return _0x137fb4;},sr=(_0xf82554,_0x40271d)=>(_0x37857d,_0xd0c36b)=>_0x40271d(_0x37857d,_0xd0c36b,_0xf82554);let Ne=class extends _0x2982c8{constructor(_0x59cd2b){super(),this['_configService']=_0x59cd2b;}[_0x5764eb(0x362)](_0x22fc7e){const _0x15bf29=_0x5764eb;var _0x1a0498;const _0xb82089=(_0x1a0498=this['_configService']['getConfig'](Be))==null?void 0x0:_0x1a0498[_0x15bf29(0x1ff)];try{const _0x5626f9=new Qt(_0x22fc7e,{'headers':{..._0xb82089}}),_0x51bdb4=new _0x38a09c();return{'URL':_0x22fc7e,'close':(_0x5ad052,_0x17709d)=>{const _0x533f1b=_0x15bf29;_0x5626f9[_0x533f1b(0x1eb)](_0x5ad052,_0x17709d),_0x51bdb4['dispose']();},'send':_0x192b88=>{const _0x49991b=_0x15bf29;_0x5626f9[_0x49991b(0x390)](_0x192b88);},'open$':new _0x430a34(_0x11451d=>{const _0x4fb4ae=_0x15bf29,_0x40bea8=_0x2a02fc=>_0x11451d['next'](_0x2a02fc);_0x5626f9['addEventListener']('open',_0x40bea8),_0x51bdb4[_0x4fb4ae(0x1e6)](_0x8657a9(()=>_0x5626f9[_0x4fb4ae(0x295)]('open',_0x40bea8)));})[_0x15bf29(0x318)](_0xa8e128()),'close$':new _0x430a34(_0x263479=>{const _0x29a58d=_0x15bf29,_0x2cff59=_0x305c51=>_0x263479[_0x29a58d(0x2a8)](_0x305c51);_0x5626f9[_0x29a58d(0x1f6)](_0x29a58d(0x1eb),_0x2cff59),_0x51bdb4[_0x29a58d(0x1e6)](_0x8657a9(()=>_0x5626f9[_0x29a58d(0x295)](_0x29a58d(0x1eb),_0x2cff59)));})[_0x15bf29(0x318)](_0xa8e128()),'error$':new _0x430a34(_0x4b2f97=>{const _0x2064dd=_0x15bf29,_0x30ccca=_0x4db719=>_0x4b2f97[_0x2064dd(0x2a8)](_0x4db719);_0x5626f9[_0x2064dd(0x1f6)](_0x2064dd(0x27b),_0x30ccca),_0x51bdb4[_0x2064dd(0x1e6)](_0x8657a9(()=>_0x5626f9[_0x2064dd(0x295)](_0x2064dd(0x27b),_0x30ccca)));})[_0x15bf29(0x318)](_0xa8e128()),'message$':new _0x430a34(_0xf88a66=>{const _0x143100=_0x15bf29,_0xca6f98=_0x5cfc74=>_0xf88a66['next'](_0x5cfc74);_0x5626f9['addEventListener'](_0x143100(0x247),_0xca6f98),_0x51bdb4[_0x143100(0x1e6)](_0x8657a9(()=>_0x5626f9[_0x143100(0x295)](_0x143100(0x247),_0xca6f98)));})[_0x15bf29(0x318)](_0xa8e128())};}catch(_0x571f42){return console[_0x15bf29(0x27b)](_0x571f42),null;}}};Ne=rr([sr(0x0,_0x4579e0)],Ne);var ir=Object['defineProperty'],nr=Object[_0x5764eb(0x327)],or=(_0x410c62,_0x29821e,_0x43af52)=>_0x29821e in _0x410c62?ir(_0x410c62,_0x29821e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x43af52}):_0x410c62[_0x29821e]=_0x43af52,ar=(_0x1f65d4,_0xcdcedd,_0x4ef45d,_0x7d065c)=>{const _0x4777b9=_0x5764eb;for(var _0x277d73=_0x7d065c>0x1?void 0x0:_0x7d065c?nr(_0xcdcedd,_0x4ef45d):_0xcdcedd,_0x5c72d8=_0x1f65d4[_0x4777b9(0x25d)]-0x1,_0x228fb9;_0x5c72d8>=0x0;_0x5c72d8--)(_0x228fb9=_0x1f65d4[_0x5c72d8])&&(_0x277d73=_0x228fb9(_0x277d73)||_0x277d73);return _0x277d73;},ke=(_0x1e1f35,_0x486024)=>(_0x14c4b8,_0x351594)=>_0x486024(_0x14c4b8,_0x351594,_0x1e1f35),lr=(_0x5de5ad,_0x1f5743,_0x1d6ed2)=>or(_0x5de5ad,_0x1f5743+'',_0x1d6ed2);let Pe=class extends _0x2d357a{constructor(_0x3919b8=Ft,_0x8db7e8,_0x2ef26c,_0x5d5928){const _0x579e77=_0x5764eb;_0x3919b8[_0x579e77(0x1ff)]||_0x8db7e8['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x579e77(0x308)]=_0x2ef26c,this[_0x579e77(0x291)]=_0x5d5928,this['_configService'][_0x579e77(0x202)](Be,_0x3919b8);}[_0x5764eb(0x389)](){const _0xbd3d29=_0x5764eb;this[_0xbd3d29(0x26d)]();}[_0x5764eb(0x26d)](){const _0x52cf2d=_0x5764eb;_0x41dbc3(this[_0x52cf2d(0x291)],[[_0x4234c8,{'useClass':Ne}]]);}};lr(Pe,_0x5764eb(0x334),_0x5764eb(0x393)),Pe=ar([_0x580dba(_0x210813),ke(0x1,_0x4fefa1),ke(0x2,_0x4579e0),ke(0x3,_0x266c20(_0x1f8e2d))],Pe);var fr=Object[_0x5764eb(0x327)],cr=(_0x5e14cd,_0x25c374,_0xcbebb4,_0x3513e3)=>{const _0x3ae77a=_0x5764eb;for(var _0x24252c=_0x3513e3>0x1?void 0x0:_0x3513e3?fr(_0x25c374,_0xcbebb4):_0x25c374,_0xf51332=_0x5e14cd[_0x3ae77a(0x25d)]-0x1,_0x111571;_0xf51332>=0x0;_0xf51332--)(_0x111571=_0x5e14cd[_0xf51332])&&(_0x24252c=_0x111571(_0x24252c)||_0x24252c);return _0x24252c;},se=(_0x24afd4,_0x43f35f)=>(_0x11ddaf,_0x4bafb3)=>_0x43f35f(_0x11ddaf,_0x4bafb3,_0x24afd4);let at=class extends _0x253861{constructor(_0x4bb23c,_0x49756e,_0x5c89f3,_0x9f3e60,_0x343175){const _0x42b6a8=_0x5764eb;super(_0x4bb23c,_0x49756e,_0x5c89f3,_0x9f3e60,_0x343175);const _0x4b3c5b=this[_0x42b6a8(0x308)][_0x42b6a8(0x25e)](Be);this[_0x42b6a8(0x224)][_0x42b6a8(0x2d1)]({'interceptor':(_0x1d7b37,_0x2bc6e7)=>{const _0x53fa99=_0x42b6a8;var _0x3d4963;const _0x1417e7=_0x1d7b37[_0x53fa99(0x2ac)];return(_0x3d4963=_0x4b3c5b==null?void 0x0:_0x4b3c5b[_0x53fa99(0x1ff)])!=null&&_0x3d4963[_0x53fa99(0x2ea)]&&_0x1417e7[_0x53fa99(0x2ef)](_0x53fa99(0x221),_0x4b3c5b['customHeaders'][_0x53fa99(0x2ea)]),_0x2bc6e7(_0x1d7b37);}});}async[_0x5764eb(0x362)](_0x466227){const _0x4e14e3=_0x5764eb;return this[_0x4e14e3(0x32a)](_0x466227);}};at=cr([se(0x0,_0x266c20(_0x1f8e2d)),se(0x1,_0x266c20(_0x508af7)),se(0x2,_0x4579e0),se(0x3,_0x4fefa1),se(0x4,_0x446f06)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x2be760=_0xd40e;(function(_0x10e61d,_0x3653e4){const _0x8e9eec=_0xd40e,_0x4452c3=_0x10e61d();while(!![]){try{const _0x4a405f=-parseInt(_0x8e9eec(0x183))/0x1*(-parseInt(_0x8e9eec(0x1a0))/0x2)+parseInt(_0x8e9eec(0x190))/0x3*(parseInt(_0x8e9eec(0x1d1))/0x4)+parseInt(_0x8e9eec(0x1a6))/0x5+parseInt(_0x8e9eec(0x220))/0x6+-parseInt(_0x8e9eec(0x2b4))/0x7+parseInt(_0x8e9eec(0x23f))/0x8+-parseInt(_0x8e9eec(0x2ea))/0x9;if(_0x4a405f===_0x3653e4)break;else _0x4452c3['push'](_0x4452c3['shift']());}catch(_0x55ddcf){_0x4452c3['push'](_0x4452c3['shift']());}}}(_0x1aa6,0x6aae4));import{UniverCollaborationClientPlugin as _0x3874b0,CollaborationSocketService as _0x5ededa}from'@univerjs-pro/collaboration-client';import{Disposable as _0x8049fc,DisposableCollection as _0x3f8217,toDisposable as _0x167bb5,IConfigService as _0x564e89,DependentOn as _0x1d2a15,ILogService as _0x3edcea,Inject as _0x32c0bd,Injector as _0x3c9806,Plugin as _0x437e11,registerDependencies as _0x39a857}from'@univerjs/core';import{ISocketService as _0x2cd92e,HTTPService as _0xd764a3}from'@univerjs/network';import{Observable as _0x58fb35,share as _0x4a2ca8}from'rxjs';import _0x425d08 from'events';import _0x3d505 from'https';import _0x3b26bc from'http';import _0x2a7499 from'net';import _0x58a5a6 from'tls';import _0x118541 from'crypto';import _0x19e32e from'stream';import _0xfc2042 from'url';import _0x512b1f from'zlib';import _0x190719 from'buffer';import{ISnapshotServerService as _0x1ca723}from'@univerjs-pro/collaboration';const Be=_0x2be760(0x302),Ft={'customHeaders':{}};function _0xd40e(_0x4a7d0e,_0x20f256){const _0x1aa63a=_0x1aa6();return _0xd40e=function(_0xd40e51,_0x1beba6){_0xd40e51=_0xd40e51-0x163;let _0x2ee4f2=_0x1aa63a[_0xd40e51];return _0x2ee4f2;},_0xd40e(_0x4a7d0e,_0x20f256);}function jt(_0x4f873e){const _0x280dc9=_0x2be760;return _0x4f873e&&_0x4f873e[_0x280dc9(0x196)]&&Object[_0x280dc9(0x208)][_0x280dc9(0x266)][_0x280dc9(0x297)](_0x4f873e,_0x280dc9(0x239))?_0x4f873e['default']:_0x4f873e;}function ut(_0x46d0a1){const _0x13ec28=_0x2be760;if(Object[_0x13ec28(0x208)][_0x13ec28(0x266)][_0x13ec28(0x297)](_0x46d0a1,_0x13ec28(0x196)))return _0x46d0a1;var _0x5bf484=_0x46d0a1[_0x13ec28(0x239)];if(typeof _0x5bf484==_0x13ec28(0x20a)){var _0x3c47b4=function _0x384748(){const _0x4d8a36=_0x13ec28;return this instanceof _0x384748?Reflect['construct'](_0x5bf484,arguments,this[_0x4d8a36(0x249)]):_0x5bf484[_0x4d8a36(0x26a)](this,arguments);};_0x3c47b4[_0x13ec28(0x208)]=_0x5bf484[_0x13ec28(0x208)];}else _0x3c47b4={};return Object[_0x13ec28(0x27f)](_0x3c47b4,_0x13ec28(0x196),{'value':!0x0}),Object[_0x13ec28(0x22e)](_0x46d0a1)[_0x13ec28(0x20f)](function(_0x507c15){const _0xeabfdd=_0x13ec28;var _0x466eee=Object[_0xeabfdd(0x26e)](_0x46d0a1,_0x507c15);Object[_0xeabfdd(0x27f)](_0x3c47b4,_0x507c15,_0x466eee[_0xeabfdd(0x25c)]?_0x466eee:{'enumerable':!0x0,'get':function(){return _0x46d0a1[_0x507c15];}});}),_0x3c47b4;}var te={'exports':{}},ge,Ye;function V(){const _0x59f564=_0x2be760;if(Ye)return ge;Ye=0x1;const _0x5afa99=[_0x59f564(0x1a4),'arraybuffer',_0x59f564(0x1ca)],_0x450379=typeof Blob<'u';return _0x450379&&_0x5afa99[_0x59f564(0x2ae)]('blob'),ge={'BINARY_TYPES':_0x5afa99,'EMPTY_BUFFER':Buffer[_0x59f564(0x197)](0x0),'GUID':_0x59f564(0x30b),'hasBlob':_0x450379,'kForOnEventAttribute':Symbol(_0x59f564(0x177)),'kListener':Symbol(_0x59f564(0x1aa)),'kStatusCode':Symbol(_0x59f564(0x1fe)),'kWebSocket':Symbol(_0x59f564(0x215)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x2be760(0x2c8)](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol[_0x2be760(0x2c9)],{'value':_0x2be760(0x2c1)})),Vt=ut(Gt);function _0x1aa6(){const _0x111e59=['_autoPong','exports','_paused','\x22\x20subprotocol\x20is\x20duplicated','_no_context_takeover','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','createConnection','_bufferedBytes','kWasClean','createDeflateRaw','get','_extensions','Opening\x20handshake\x20has\x20timed\x20out','origin','opcode','_binaryType','_closeFrameReceived','pong','socketPath','_closeTimer','hasOwnProperty','charCodeAt','object','startLoop','apply','add','CLOSED','haveLength','getOwnPropertyDescriptor','serverNoContextTakeover','onStarting','url','finish','number','OPEN','addEventListener','_bufferedAmount','includes','ws+unix:','Invalid\x20URL:\x20','client_no_context_takeover','dataMessage','headers','handleEvent','env','defineProperty','Z_DEFAULT_WINDOWBITS','pluginName','isPaused','startsWith','Sec-WebSocket-Origin','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','indexOf','emit','skipUTF8Validation','extensionName','perMessageDeflate','setSocket','invalid\x20status\x20code\x20','permessage-deflate','replace','_masked','blob','delete','_loop','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','threshold','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_doCreateSocket','call','Parameter\x20\x22','normalizeParams','request','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_firstFragment','create','allocUnsafe','WebSocket','update','data','WS_ERR_EXPECTED_MASK','Sec-WebSocket-Extensions','map','set','emitClose','unmask','values','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','toString','_skipUTF8Validation','offer','size','push','createSocket','nextTick','code','Unexpected\x20character\x20at\x20index\x20','_errored','4432400ExrLrp','zlibInflateOptions','authorization','message','_originalHostOrSocketPath','pause','unshift','pow','_closeCode','sec-websocket-extensions','CLOSING','concurrencyLimit','Connection:\x20Upgrade','Module','createError','listen','value','getConfig','kMessage','_max_window_bits','freeze','toStringTag','error','address','Unexpected\x20end\x20of\x20input','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','server_no_context_takeover','generateMask','writeUInt16BE','type','_protocol','removeListener','_totalPayloadLength','authorized','_receiver','write','Server\x20sent\x20an\x20invalid\x20subprotocol','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','Unexpected\x20server\x20response:\x20','_readableState','createServer','invalid\x20opcode\x20','_deflate','sec-websocket-protocol','accept','upgrade','_httpService','WS_NO_UTF_8_VALIDATE','length','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','writeHead','kCode','readyState','readUInt16BE','4586229IiMKun','isInteger','_opcode','_socket','username','once','autoPong','Invalid\x20WebSocket\x20frame:\x20','options','_final','servername','_fragmented','dispatch','next','fin','shift','kType','_originalSecure','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Sec-WebSocket-Protocol','socket','sendFrame','string','_allowSynchronousEvents','collaboration-client-node.config','reason','Maximum\x20redirects\x20exceeded','Invalid\x20Sec-WebSocket-Accept\x20header','ws:','listeners','resume','enqueue','host','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_messageLength','_shouldEmitClose','slice','has','clientMaxWindowBits','_originalIpc','extensions','allowSynchronousEvents','_redirects','WS_ERR_UNEXPECTED_RSV_2_3','close','_maskBuffer','kData','readable','password','onclose','wsClientError','format','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','onopen','acceptAsServer','Upgrade','join','STATUS_CODES','connection','location','terminate','port','protocolVersion','kIsForOnEventAttribute','removeAllListeners','handleUpgrade','objectMode','Server\x20sent\x20no\x20subprotocol','buffer','concat','Invalid\x20Upgrade\x20header','WS_ERR_UNEXPECTED_MASK','GET','client','_compress','1aMNwnl','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','The\x20server\x20is\x20not\x20running','setConfig','isIP','_sender','kError','backlog','clients','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','ping','arrayBuffer','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','603blbhbw','frame','destroyed','digest','jobs','HTTP/1.1\x20101\x20Switching\x20Protocols','__esModule','alloc','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_write','_errorEmitted','consume','kDone','MASK\x20must\x20be\x20set','kTarget','test','563054WcOWks','Max\x20payload\x20size\x20exceeded','mask','noServer','nodebuffer','conclude','1345430RSeJiJ','isView','binary','setHeader','kListener','_fin','_removeListeners','isBuffer','setNoDelay','acceptAsClient','The\x20URL\x20contains\x20a\x20fragment\x20identifier','find','send','handleProtocols','kRun','abort','response','flush','WS_ERR_INVALID_OPCODE','byteOffset','_generateMask','cleanup','auth','isServer','toLowerCase','\x22\x20must\x20have\x20only\x20a\x20single\x20value','defaultPort','_mask','\x22:\x20','wss:','getPayloadLength64','timeout','read','method','clientNoContextTakeover','_payloadLength','fragments','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','drain','catch','readOnly','setTimeout','File','4232aejPhu','pending','finished','shouldHandle','https:','captureStackTrace','_readyState','end','_configService','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','endEmitted','dequeue','_req','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_inflate','WebSocket\x20is\x20not\x20open:\x20readyState\x20','from','removeEventListener','species','dispose','invalid\x20UTF-8\x20sequence','_url','kReason','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','search','parse','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','Cookie','_writableState','pathname','maxPayload','Invalid\x20value\x20for\x20parameter\x20\x22','MASK\x20must\x20be\x20clear','hash','sec-websocket-origin','concurrency','getMask','getInfo','_state','server_max_window_bits','byteLength','bufferedAmount','listenerCount','_injector','_registerDependencies','status-code','base64','_options','Sec-WebSocket-Protocol:\x20','Invalid\x20Sec-WebSocket-Protocol\x20header','wasClean','errorEmitted','binaryType','_buffers','WS_ERR_UNEXPECTED_RSV_1','prototype','target','function','_threshold','getPayloadLength16','decompress','protocol','forEach','onerror','_decompress','Invalid\x20Sec-WebSocket-Extensions\x20header','Blob','verifyClient','websocket','bind','open','connect','client_max_window_bits','getData','hostname','The\x20\x22','FIN\x20must\x20be\x20set','warn','unexpected-response','2553708CWoXEZ','_isServer','sec-websocket-accept','_closeFrameSent','sha1','_destroy','RSV1\x20must\x20be\x20clear','_fragments','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','Sec-WebSocket-Accept:\x20','getBlobData','params','callback','_maxPayload','keys','Unknown\x20parameter\x20\x22','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','split','finishRequest','completeUpgrade','path','redirect','writable','customHeaders','serverMaxWindowBits','default','href','zlibDeflateOptions','controlMessage','isArray','destroy','3126848indVbO','Unsupported\x20protocol\x20version:\x20','_server','Invalid\x20HTTP\x20method','_closeMessage','_compressed','reset','statusCode','server','total-length','constructor','CONNECTING','text/plain','WS_ERR_INVALID_UTF8','_queue','registerHTTPInterceptor','Upgrade:\x20websocket','pipe','cookie'];_0x1aa6=function(){return _0x111e59;};return _0x1aa6();}var Ke;function ce(){const _0xe54cf1=_0x2be760;if(Ke)return te[_0xe54cf1(0x253)];Ke=0x1;const {EMPTY_BUFFER:_0x2928fc}=V(),_0x5e6ee6=Buffer[Symbol['species']];function _0xc393c4(_0x975a21,_0x1f534c){const _0x326074=_0xe54cf1;if(_0x975a21['length']===0x0)return _0x2928fc;if(_0x975a21[_0x326074(0x2e4)]===0x1)return _0x975a21[0x0];const _0xc303e8=Buffer['allocUnsafe'](_0x1f534c);let _0x1eff3c=0x0;for(let _0x302201=0x0;_0x302201<_0x975a21['length'];_0x302201++){const _0x18df44=_0x975a21[_0x302201];_0xc303e8[_0x326074(0x2a5)](_0x18df44,_0x1eff3c),_0x1eff3c+=_0x18df44[_0x326074(0x2e4)];}return _0x1eff3c<_0x1f534c?new _0x5e6ee6(_0xc303e8[_0x326074(0x17c)],_0xc303e8[_0x326074(0x1b9)],_0x1eff3c):_0xc303e8;}function _0x4feac0(_0x33d369,_0x4136be,_0x34d3f4,_0x176e9a,_0x577b25){for(let _0x3af30f=0x0;_0x3af30f<_0x577b25;_0x3af30f++)_0x34d3f4[_0x176e9a+_0x3af30f]=_0x33d369[_0x3af30f]^_0x4136be[_0x3af30f&0x3];}function _0x55ab3b(_0x8b17fb,_0x5723c8){for(let _0x5c18dd=0x0;_0x5c18dd<_0x8b17fb['length'];_0x5c18dd++)_0x8b17fb[_0x5c18dd]^=_0x5723c8[_0x5c18dd&0x3];}function _0x151405(_0x359731){const _0x5294bc=_0xe54cf1;return _0x359731[_0x5294bc(0x2e4)]===_0x359731['buffer'][_0x5294bc(0x1f9)]?_0x359731[_0x5294bc(0x17c)]:_0x359731[_0x5294bc(0x17c)][_0x5294bc(0x30e)](_0x359731['byteOffset'],_0x359731[_0x5294bc(0x1b9)]+_0x359731['length']);}function _0x579c(_0x26c4dc){const _0x5caa78=_0xe54cf1;if(_0x579c[_0x5caa78(0x1ce)]=!0x0,Buffer[_0x5caa78(0x1ad)](_0x26c4dc))return _0x26c4dc;let _0x398ff3;return _0x26c4dc instanceof ArrayBuffer?_0x398ff3=new _0x5e6ee6(_0x26c4dc):ArrayBuffer[_0x5caa78(0x1a7)](_0x26c4dc)?_0x398ff3=new _0x5e6ee6(_0x26c4dc['buffer'],_0x26c4dc[_0x5caa78(0x1b9)],_0x26c4dc[_0x5caa78(0x1f9)]):(_0x398ff3=Buffer[_0x5caa78(0x1e1)](_0x26c4dc),_0x579c[_0x5caa78(0x1ce)]=!0x1),_0x398ff3;}if(te[_0xe54cf1(0x253)]={'concat':_0xc393c4,'mask':_0x4feac0,'toArrayBuffer':_0x151405,'toBuffer':_0x579c,'unmask':_0x55ab3b},!process[_0xe54cf1(0x27e)]['WS_NO_BUFFER_UTIL'])try{const _0x4cfb57=Vt;te['exports']['mask']=function(_0x35f055,_0x21e4ad,_0x5b4b2f,_0x337686,_0x39e36d){const _0x2cf751=_0xe54cf1;_0x39e36d<0x30?_0x4feac0(_0x35f055,_0x21e4ad,_0x5b4b2f,_0x337686,_0x39e36d):_0x4cfb57[_0x2cf751(0x1a2)](_0x35f055,_0x21e4ad,_0x5b4b2f,_0x337686,_0x39e36d);},te[_0xe54cf1(0x253)]['unmask']=function(_0x5ba236,_0x5650c3){const _0x185c59=_0xe54cf1;_0x5ba236['length']<0x20?_0x55ab3b(_0x5ba236,_0x5650c3):_0x4cfb57[_0x185c59(0x2a7)](_0x5ba236,_0x5650c3);};}catch{}return te[_0xe54cf1(0x253)];}var ye,Xe;function qt(){const _0x1bc060=_0x2be760;if(Xe)return ye;Xe=0x1;const _0x4ff1a3=Symbol(_0x1bc060(0x19c)),_0x50cbb9=Symbol(_0x1bc060(0x1b4));class _0x22042f{constructor(_0x4eb230){const _0x2f3777=_0x1bc060;this[_0x4ff1a3]=()=>{this['pending']--,this[_0x50cbb9]();},this[_0x2f3777(0x1f4)]=_0x4eb230||0x1/0x0,this[_0x2f3777(0x194)]=[],this[_0x2f3777(0x1d2)]=0x0;}[_0x1bc060(0x26b)](_0xe83e5c){const _0x5a41f3=_0x1bc060;this[_0x5a41f3(0x194)][_0x5a41f3(0x2ae)](_0xe83e5c),this[_0x50cbb9]();}[_0x50cbb9](){const _0x26ef25=_0x1bc060;if(this['pending']!==this[_0x26ef25(0x1f4)]&&this[_0x26ef25(0x194)]['length']){const _0x8d547f=this['jobs'][_0x26ef25(0x2f9)]();this[_0x26ef25(0x1d2)]++,_0x8d547f(this[_0x4ff1a3]);}}}return ye=_0x22042f,ye;}var ve,Ze;function he(){const _0xd1d2ca=_0x2be760;if(Ze)return ve;Ze=0x1;const _0x5d4a8f=_0x512b1f,_0x4d327b=ce(),_0xeb2e3d=qt(),{kStatusCode:_0x8ef6ed}=V(),_0x1937d9=Buffer[Symbol[_0xd1d2ca(0x1e3)]],_0x4cfff7=Buffer[_0xd1d2ca(0x1e1)]([0x0,0x0,0xff,0xff]),_0x2be159=Symbol(_0xd1d2ca(0x28d)),_0x377122=Symbol(_0xd1d2ca(0x248)),_0x2dc183=Symbol(_0xd1d2ca(0x22c)),_0x2ebf47=Symbol('buffers'),_0x4c68ae=Symbol(_0xd1d2ca(0x2ca));let _0x4fa2d4;class _0x4b64b9{constructor(_0x18a424,_0x2c518a,_0x414be7){const _0x446829=_0xd1d2ca;if(this[_0x446829(0x22d)]=_0x414be7|0x0,this[_0x446829(0x200)]=_0x18a424||{},this[_0x446829(0x20b)]=this['_options'][_0x446829(0x294)]!==void 0x0?this[_0x446829(0x200)]['threshold']:0x400,this[_0x446829(0x221)]=!!_0x2c518a,this['_deflate']=null,this[_0x446829(0x1df)]=null,this[_0x446829(0x22b)]=null,!_0x4fa2d4){const _0x45caa3=this[_0x446829(0x200)][_0x446829(0x2bf)]!==void 0x0?this['_options'][_0x446829(0x2bf)]:0xa;_0x4fa2d4=new _0xeb2e3d(_0x45caa3);}}static get[_0xd1d2ca(0x289)](){const _0x2fd3ba=_0xd1d2ca;return _0x2fd3ba(0x28d);}[_0xd1d2ca(0x2ac)](){const _0x231057=_0xd1d2ca,_0x24b4bf={};return this[_0x231057(0x200)][_0x231057(0x26f)]&&(_0x24b4bf[_0x231057(0x2ce)]=!0x0),this[_0x231057(0x200)]['clientNoContextTakeover']&&(_0x24b4bf[_0x231057(0x27a)]=!0x0),this['_options'][_0x231057(0x238)]&&(_0x24b4bf[_0x231057(0x1f8)]=this[_0x231057(0x200)][_0x231057(0x238)]),this[_0x231057(0x200)]['clientMaxWindowBits']?_0x24b4bf[_0x231057(0x219)]=this[_0x231057(0x200)][_0x231057(0x310)]:this['_options'][_0x231057(0x310)]==null&&(_0x24b4bf['client_max_window_bits']=!0x0),_0x24b4bf;}['accept'](_0x5aef5a){const _0x406a8a=_0xd1d2ca;return _0x5aef5a=this['normalizeParams'](_0x5aef5a),this[_0x406a8a(0x22b)]=this['_isServer']?this[_0x406a8a(0x16e)](_0x5aef5a):this[_0x406a8a(0x1af)](_0x5aef5a),this[_0x406a8a(0x22b)];}[_0xd1d2ca(0x1bb)](){const _0x4c4f1a=_0xd1d2ca;if(this[_0x4c4f1a(0x1df)]&&(this[_0x4c4f1a(0x1df)]['close'](),this[_0x4c4f1a(0x1df)]=null),this[_0x4c4f1a(0x2de)]){const _0xccb59=this[_0x4c4f1a(0x2de)][_0x2dc183];this['_deflate'][_0x4c4f1a(0x163)](),this['_deflate']=null,_0xccb59&&_0xccb59(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0xd1d2ca(0x16e)](_0xfd5e6e){const _0x5188bb=_0xd1d2ca,_0xfadc89=this['_options'],_0x55650f=_0xfd5e6e[_0x5188bb(0x1b1)](_0x2765fb=>!(_0xfadc89[_0x5188bb(0x26f)]===!0x1&&_0x2765fb[_0x5188bb(0x2ce)]||_0x2765fb[_0x5188bb(0x1f8)]&&(_0xfadc89[_0x5188bb(0x238)]===!0x1||typeof _0xfadc89[_0x5188bb(0x238)]==_0x5188bb(0x273)&&_0xfadc89[_0x5188bb(0x238)]>_0x2765fb[_0x5188bb(0x1f8)])||typeof _0xfadc89['clientMaxWindowBits']==_0x5188bb(0x273)&&!_0x2765fb['client_max_window_bits']));if(!_0x55650f)throw new Error(_0x5188bb(0x16c));return _0xfadc89[_0x5188bb(0x26f)]&&(_0x55650f['server_no_context_takeover']=!0x0),_0xfadc89[_0x5188bb(0x1c8)]&&(_0x55650f['client_no_context_takeover']=!0x0),typeof _0xfadc89['serverMaxWindowBits']==_0x5188bb(0x273)&&(_0x55650f[_0x5188bb(0x1f8)]=_0xfadc89['serverMaxWindowBits']),typeof _0xfadc89['clientMaxWindowBits']==_0x5188bb(0x273)?_0x55650f[_0x5188bb(0x219)]=_0xfadc89[_0x5188bb(0x310)]:(_0x55650f[_0x5188bb(0x219)]===!0x0||_0xfadc89[_0x5188bb(0x310)]===!0x1)&&delete _0x55650f[_0x5188bb(0x219)],_0x55650f;}[_0xd1d2ca(0x1af)](_0x3d98a3){const _0x53b7de=_0xd1d2ca,_0x59759e=_0x3d98a3[0x0];if(this[_0x53b7de(0x200)]['clientNoContextTakeover']===!0x1&&_0x59759e[_0x53b7de(0x27a)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x59759e[_0x53b7de(0x219)])typeof this[_0x53b7de(0x200)][_0x53b7de(0x310)]==_0x53b7de(0x273)&&(_0x59759e['client_max_window_bits']=this[_0x53b7de(0x200)][_0x53b7de(0x310)]);else{if(this[_0x53b7de(0x200)][_0x53b7de(0x310)]===!0x1||typeof this['_options'][_0x53b7de(0x310)]==_0x53b7de(0x273)&&_0x59759e[_0x53b7de(0x219)]>this['_options']['clientMaxWindowBits'])throw new Error(_0x53b7de(0x295));}return _0x59759e;}[_0xd1d2ca(0x299)](_0x41291f){const _0x44fbb9=_0xd1d2ca;return _0x41291f[_0x44fbb9(0x20f)](_0x6ac578=>{const _0x160194=_0x44fbb9;Object['keys'](_0x6ac578)[_0x160194(0x20f)](_0x5195c7=>{const _0x586b5d=_0x160194;let _0x3a40be=_0x6ac578[_0x5195c7];if(_0x3a40be[_0x586b5d(0x2e4)]>0x1)throw new Error(_0x586b5d(0x298)+_0x5195c7+_0x586b5d(0x1bf));if(_0x3a40be=_0x3a40be[0x0],_0x5195c7===_0x586b5d(0x219)){if(_0x3a40be!==!0x0){const _0x1e1a23=+_0x3a40be;if(!Number[_0x586b5d(0x2eb)](_0x1e1a23)||_0x1e1a23<0x8||_0x1e1a23>0xf)throw new TypeError(_0x586b5d(0x1f0)+_0x5195c7+'\x22:\x20'+_0x3a40be);_0x3a40be=_0x1e1a23;}else{if(!this['_isServer'])throw new TypeError(_0x586b5d(0x1f0)+_0x5195c7+_0x586b5d(0x1c2)+_0x3a40be);}}else{if(_0x5195c7==='server_max_window_bits'){const _0x4d9e38=+_0x3a40be;if(!Number['isInteger'](_0x4d9e38)||_0x4d9e38<0x8||_0x4d9e38>0xf)throw new TypeError(_0x586b5d(0x1f0)+_0x5195c7+_0x586b5d(0x1c2)+_0x3a40be);_0x3a40be=_0x4d9e38;}else{if(_0x5195c7===_0x586b5d(0x27a)||_0x5195c7===_0x586b5d(0x2ce)){if(_0x3a40be!==!0x0)throw new TypeError(_0x586b5d(0x1f0)+_0x5195c7+_0x586b5d(0x1c2)+_0x3a40be);}else throw new Error(_0x586b5d(0x22f)+_0x5195c7+'\x22');}}_0x6ac578[_0x5195c7]=_0x3a40be;});}),_0x41291f;}[_0xd1d2ca(0x20d)](_0x28ea40,_0x4b9a44,_0x1cfa08){const _0x4b9677=_0xd1d2ca;_0x4fa2d4[_0x4b9677(0x26b)](_0x15f163=>{const _0x1ef8ef=_0x4b9677;this[_0x1ef8ef(0x211)](_0x28ea40,_0x4b9a44,(_0x1f6b79,_0xe0877c)=>{_0x15f163(),_0x1cfa08(_0x1f6b79,_0xe0877c);});});}['compress'](_0x2ae130,_0x439ee7,_0x3d8ebe){const _0x59d986=_0xd1d2ca;_0x4fa2d4[_0x59d986(0x26b)](_0x5d1bfa=>{const _0x4e9183=_0x59d986;this[_0x4e9183(0x182)](_0x2ae130,_0x439ee7,(_0x4ff0e0,_0x5533c7)=>{_0x5d1bfa(),_0x3d8ebe(_0x4ff0e0,_0x5533c7);});});}[_0xd1d2ca(0x211)](_0x2b8593,_0x1ac661,_0x5a0a3d){const _0x2d8df2=_0xd1d2ca,_0x39a14e=this[_0x2d8df2(0x221)]?_0x2d8df2(0x181):_0x2d8df2(0x247);if(!this['_inflate']){const _0x4595a4=_0x39a14e+_0x2d8df2(0x2c7),_0x3f0f9d=typeof this['params'][_0x4595a4]!=_0x2d8df2(0x273)?_0x5d4a8f[_0x2d8df2(0x280)]:this[_0x2d8df2(0x22b)][_0x4595a4];this['_inflate']=_0x5d4a8f['createInflateRaw']({...this[_0x2d8df2(0x200)][_0x2d8df2(0x2b5)],'windowBits':_0x3f0f9d}),this[_0x2d8df2(0x1df)][_0x2be159]=this,this['_inflate'][_0x377122]=0x0,this[_0x2d8df2(0x1df)][_0x2ebf47]=[],this['_inflate']['on']('error',_0x4c5080),this[_0x2d8df2(0x1df)]['on'](_0x2d8df2(0x2a1),_0x159dff);}this['_inflate'][_0x2dc183]=_0x5a0a3d,this[_0x2d8df2(0x1df)][_0x2d8df2(0x2d7)](_0x2b8593),_0x1ac661&&this['_inflate']['write'](_0x4cfff7),this[_0x2d8df2(0x1df)][_0x2d8df2(0x1b7)](()=>{const _0x9a2ce9=_0x2d8df2,_0x5d5ab2=this['_inflate'][_0x4c68ae];if(_0x5d5ab2){this['_inflate'][_0x9a2ce9(0x163)](),this['_inflate']=null,_0x5a0a3d(_0x5d5ab2);return;}const _0x25fde7=_0x4d327b[_0x9a2ce9(0x17d)](this[_0x9a2ce9(0x1df)][_0x2ebf47],this[_0x9a2ce9(0x1df)][_0x377122]);this[_0x9a2ce9(0x1df)][_0x9a2ce9(0x2db)][_0x9a2ce9(0x1db)]?(this[_0x9a2ce9(0x1df)][_0x9a2ce9(0x163)](),this[_0x9a2ce9(0x1df)]=null):(this['_inflate'][_0x377122]=0x0,this[_0x9a2ce9(0x1df)][_0x2ebf47]=[],_0x1ac661&&this[_0x9a2ce9(0x22b)][_0x39a14e+'_no_context_takeover']&&this['_inflate'][_0x9a2ce9(0x245)]()),_0x5a0a3d(null,_0x25fde7);});}['_compress'](_0x17b43b,_0x152a7f,_0x5c421f){const _0x1de6b5=_0xd1d2ca,_0x5c1c81=this[_0x1de6b5(0x221)]?_0x1de6b5(0x247):_0x1de6b5(0x181);if(!this['_deflate']){const _0x7369eb=_0x5c1c81+_0x1de6b5(0x2c7),_0x1505f7=typeof this[_0x1de6b5(0x22b)][_0x7369eb]!='number'?_0x5d4a8f[_0x1de6b5(0x280)]:this[_0x1de6b5(0x22b)][_0x7369eb];this[_0x1de6b5(0x2de)]=_0x5d4a8f[_0x1de6b5(0x25b)]({...this[_0x1de6b5(0x200)][_0x1de6b5(0x23b)],'windowBits':_0x1505f7}),this[_0x1de6b5(0x2de)][_0x377122]=0x0,this['_deflate'][_0x2ebf47]=[],this[_0x1de6b5(0x2de)]['on'](_0x1de6b5(0x2a1),_0x170517);}this['_deflate'][_0x2dc183]=_0x5c421f,this[_0x1de6b5(0x2de)][_0x1de6b5(0x2d7)](_0x17b43b),this['_deflate']['flush'](_0x5d4a8f['Z_SYNC_FLUSH'],()=>{const _0x23c255=_0x1de6b5;if(!this['_deflate'])return;let _0x2eee8b=_0x4d327b['concat'](this[_0x23c255(0x2de)][_0x2ebf47],this[_0x23c255(0x2de)][_0x377122]);_0x152a7f&&(_0x2eee8b=new _0x1937d9(_0x2eee8b[_0x23c255(0x17c)],_0x2eee8b[_0x23c255(0x1b9)],_0x2eee8b[_0x23c255(0x2e4)]-0x4)),this[_0x23c255(0x2de)][_0x2dc183]=null,this[_0x23c255(0x2de)][_0x377122]=0x0,this[_0x23c255(0x2de)][_0x2ebf47]=[],_0x152a7f&&this[_0x23c255(0x22b)][_0x5c1c81+_0x23c255(0x256)]&&this[_0x23c255(0x2de)]['reset'](),_0x5c421f(null,_0x2eee8b);});}}ve=_0x4b64b9;function _0x170517(_0x4f0cbf){this[_0x2ebf47]['push'](_0x4f0cbf),this[_0x377122]+=_0x4f0cbf['length'];}function _0x159dff(_0x554751){const _0x2e7b83=_0xd1d2ca;if(this[_0x377122]+=_0x554751[_0x2e7b83(0x2e4)],this[_0x2be159][_0x2e7b83(0x22d)]<0x1||this[_0x377122]<=this[_0x2be159][_0x2e7b83(0x22d)]){this[_0x2ebf47][_0x2e7b83(0x2ae)](_0x554751);return;}this[_0x4c68ae]=new RangeError(_0x2e7b83(0x1a1)),this[_0x4c68ae][_0x2e7b83(0x2b1)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x4c68ae][_0x8ef6ed]=0x3f1,this['removeListener'](_0x2e7b83(0x2a1),_0x159dff),this['reset']();}function _0x4c5080(_0x6c16e1){this[_0x2be159]['_inflate']=null,_0x6c16e1[_0x8ef6ed]=0x3ef,this[_0x2dc183](_0x6c16e1);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x2be760(0x2c8)](Object[_0x2be760(0x27f)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x2be760(0x2c1)})),Yt=ut(zt);var Qe;function ne(){const _0x230bf0=_0x2be760;if(Qe)return re[_0x230bf0(0x253)];Qe=0x1;const {isUtf8:_0x297136}=_0x190719,{hasBlob:_0x281acd}=V(),_0x1d7154=[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 _0x6b614d(_0x466cb1){return _0x466cb1>=0x3e8&&_0x466cb1<=0x3f6&&_0x466cb1!==0x3ec&&_0x466cb1!==0x3ed&&_0x466cb1!==0x3ee||_0x466cb1>=0xbb8&&_0x466cb1<=0x1387;}function _0x4f0ceb(_0x1ab64b){const _0x31c5bc=_0x230bf0,_0x3d72e4=_0x1ab64b[_0x31c5bc(0x2e4)];let _0x15a0cc=0x0;for(;_0x15a0cc<_0x3d72e4;)if((_0x1ab64b[_0x15a0cc]&0x80)===0x0)_0x15a0cc++;else{if((_0x1ab64b[_0x15a0cc]&0xe0)===0xc0){if(_0x15a0cc+0x1===_0x3d72e4||(_0x1ab64b[_0x15a0cc+0x1]&0xc0)!==0x80||(_0x1ab64b[_0x15a0cc]&0xfe)===0xc0)return!0x1;_0x15a0cc+=0x2;}else{if((_0x1ab64b[_0x15a0cc]&0xf0)===0xe0){if(_0x15a0cc+0x2>=_0x3d72e4||(_0x1ab64b[_0x15a0cc+0x1]&0xc0)!==0x80||(_0x1ab64b[_0x15a0cc+0x2]&0xc0)!==0x80||_0x1ab64b[_0x15a0cc]===0xe0&&(_0x1ab64b[_0x15a0cc+0x1]&0xe0)===0x80||_0x1ab64b[_0x15a0cc]===0xed&&(_0x1ab64b[_0x15a0cc+0x1]&0xe0)===0xa0)return!0x1;_0x15a0cc+=0x3;}else{if((_0x1ab64b[_0x15a0cc]&0xf8)===0xf0){if(_0x15a0cc+0x3>=_0x3d72e4||(_0x1ab64b[_0x15a0cc+0x1]&0xc0)!==0x80||(_0x1ab64b[_0x15a0cc+0x2]&0xc0)!==0x80||(_0x1ab64b[_0x15a0cc+0x3]&0xc0)!==0x80||_0x1ab64b[_0x15a0cc]===0xf0&&(_0x1ab64b[_0x15a0cc+0x1]&0xf0)===0x80||_0x1ab64b[_0x15a0cc]===0xf4&&_0x1ab64b[_0x15a0cc+0x1]>0x8f||_0x1ab64b[_0x15a0cc]>0xf4)return!0x1;_0x15a0cc+=0x4;}else return!0x1;}}}return!0x0;}function _0x4f8f67(_0x5664a7){const _0x322979=_0x230bf0;return _0x281acd&&typeof _0x5664a7=='object'&&typeof _0x5664a7[_0x322979(0x18e)]==_0x322979(0x20a)&&typeof _0x5664a7['type']=='string'&&typeof _0x5664a7['stream']==_0x322979(0x20a)&&(_0x5664a7[Symbol[_0x322979(0x2c9)]]===_0x322979(0x213)||_0x5664a7[Symbol['toStringTag']]===_0x322979(0x1d0));}if(re['exports']={'isBlob':_0x4f8f67,'isValidStatusCode':_0x6b614d,'isValidUTF8':_0x4f0ceb,'tokenChars':_0x1d7154},_0x297136)re['exports']['isValidUTF8']=function(_0x38eddf){return _0x38eddf['length']<0x18?_0x4f0ceb(_0x38eddf):_0x297136(_0x38eddf);};else{if(!process[_0x230bf0(0x27e)][_0x230bf0(0x2e3)])try{const _0x4893e5=Yt;re[_0x230bf0(0x253)]['isValidUTF8']=function(_0x5388dc){const _0x21ae15=_0x230bf0;return _0x5388dc[_0x21ae15(0x2e4)]<0x20?_0x4f0ceb(_0x5388dc):_0x4893e5(_0x5388dc);};}catch{}}return re[_0x230bf0(0x253)];}var Se,Je;function dt(){const _0x35e70a=_0x2be760;if(Je)return Se;Je=0x1;const {Writable:_0x4b27d7}=_0x19e32e,_0xc861f3=he(),{BINARY_TYPES:_0x225b8e,EMPTY_BUFFER:_0x35f7e6,kStatusCode:_0xe04dae,kWebSocket:_0x257197}=V(),{concat:_0x3ff27e,toArrayBuffer:_0x107a0f,unmask:_0x374e76}=ce(),{isValidStatusCode:_0x4697df,isValidUTF8:_0x2139cc}=ne(),_0x4cfcd1=Buffer[Symbol[_0x35e70a(0x1e3)]],_0x258d02=0x0,_0x569c94=0x1,_0x20acf5=0x2,_0x2ab7a2=0x3,_0x50c1c2=0x4,_0x175d29=0x5,_0x116d7d=0x6;class _0x14855b extends _0x4b27d7{constructor(_0xb2e5b0={}){const _0x188c30=_0x35e70a;super(),this[_0x188c30(0x301)]=_0xb2e5b0[_0x188c30(0x313)]!==void 0x0?_0xb2e5b0['allowSynchronousEvents']:!0x0,this[_0x188c30(0x261)]=_0xb2e5b0[_0x188c30(0x205)]||_0x225b8e[0x0],this[_0x188c30(0x25d)]=_0xb2e5b0['extensions']||{},this[_0x188c30(0x221)]=!!_0xb2e5b0[_0x188c30(0x1bd)],this[_0x188c30(0x22d)]=_0xb2e5b0[_0x188c30(0x1ef)]|0x0,this[_0x188c30(0x2ab)]=!!_0xb2e5b0[_0x188c30(0x288)],this[_0x257197]=void 0x0,this['_bufferedBytes']=0x0,this[_0x188c30(0x206)]=[],this[_0x188c30(0x244)]=!0x1,this[_0x188c30(0x1c9)]=0x0,this[_0x188c30(0x1c1)]=void 0x0,this[_0x188c30(0x2f5)]=0x0,this[_0x188c30(0x28f)]=!0x1,this[_0x188c30(0x1ab)]=!0x1,this['_opcode']=0x0,this[_0x188c30(0x2d4)]=0x0,this['_messageLength']=0x0,this['_fragments']=[],this[_0x188c30(0x2b3)]=!0x1,this[_0x188c30(0x292)]=!0x1,this[_0x188c30(0x1f7)]=_0x258d02;}[_0x35e70a(0x199)](_0xcd7ac2,_0x1ec4e3,_0x3c9990){const _0x468c10=_0x35e70a;if(this['_opcode']===0x8&&this[_0x468c10(0x1f7)]==_0x258d02)return _0x3c9990();this[_0x468c10(0x259)]+=_0xcd7ac2[_0x468c10(0x2e4)],this['_buffers']['push'](_0xcd7ac2),this[_0x468c10(0x269)](_0x3c9990);}[_0x35e70a(0x19b)](_0x4b478b){const _0x3a0011=_0x35e70a;if(this[_0x3a0011(0x259)]-=_0x4b478b,_0x4b478b===this['_buffers'][0x0][_0x3a0011(0x2e4)])return this['_buffers'][_0x3a0011(0x2f9)]();if(_0x4b478b<this['_buffers'][0x0][_0x3a0011(0x2e4)]){const _0x1f9b22=this[_0x3a0011(0x206)][0x0];return this[_0x3a0011(0x206)][0x0]=new _0x4cfcd1(_0x1f9b22[_0x3a0011(0x17c)],_0x1f9b22[_0x3a0011(0x1b9)]+_0x4b478b,_0x1f9b22[_0x3a0011(0x2e4)]-_0x4b478b),new _0x4cfcd1(_0x1f9b22[_0x3a0011(0x17c)],_0x1f9b22[_0x3a0011(0x1b9)],_0x4b478b);}const _0x26aea8=Buffer['allocUnsafe'](_0x4b478b);do{const _0x4cd18f=this[_0x3a0011(0x206)][0x0],_0x7d0366=_0x26aea8['length']-_0x4b478b;_0x4b478b>=_0x4cd18f[_0x3a0011(0x2e4)]?_0x26aea8['set'](this[_0x3a0011(0x206)]['shift'](),_0x7d0366):(_0x26aea8[_0x3a0011(0x2a5)](new Uint8Array(_0x4cd18f[_0x3a0011(0x17c)],_0x4cd18f[_0x3a0011(0x1b9)],_0x4b478b),_0x7d0366),this[_0x3a0011(0x206)][0x0]=new _0x4cfcd1(_0x4cd18f[_0x3a0011(0x17c)],_0x4cd18f[_0x3a0011(0x1b9)]+_0x4b478b,_0x4cd18f[_0x3a0011(0x2e4)]-_0x4b478b)),_0x4b478b-=_0x4cd18f[_0x3a0011(0x2e4)];}while(_0x4b478b>0x0);return _0x26aea8;}['startLoop'](_0x29b034){const _0x3753e8=_0x35e70a;this[_0x3753e8(0x292)]=!0x0;do switch(this[_0x3753e8(0x1f7)]){case _0x258d02:this[_0x3753e8(0x1f6)](_0x29b034);break;case _0x569c94:this[_0x3753e8(0x20c)](_0x29b034);break;case _0x20acf5:this[_0x3753e8(0x1c4)](_0x29b034);break;case _0x2ab7a2:this[_0x3753e8(0x1f5)]();break;case _0x50c1c2:this[_0x3753e8(0x21a)](_0x29b034);break;case _0x175d29:case _0x116d7d:this[_0x3753e8(0x292)]=!0x1;return;}while(this[_0x3753e8(0x292)]);this['_errored']||_0x29b034();}[_0x35e70a(0x1f6)](_0x1aebf2){const _0x4154ee=_0x35e70a;if(this[_0x4154ee(0x259)]<0x2){this[_0x4154ee(0x292)]=!0x1;return;}const _0x2cc899=this[_0x4154ee(0x19b)](0x2);if((_0x2cc899[0x0]&0x30)!==0x0){const _0x4cf3ad=this[_0x4154ee(0x2c2)](RangeError,_0x4154ee(0x18f),!0x0,0x3ea,_0x4154ee(0x315));_0x1aebf2(_0x4cf3ad);return;}const _0x5975b1=(_0x2cc899[0x0]&0x40)===0x40;if(_0x5975b1&&!this[_0x4154ee(0x25d)][_0xc861f3[_0x4154ee(0x289)]]){const _0x4a2e19=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x4154ee(0x207));_0x1aebf2(_0x4a2e19);return;}if(this['_fin']=(_0x2cc899[0x0]&0x80)===0x80,this['_opcode']=_0x2cc899[0x0]&0xf,this[_0x4154ee(0x1c9)]=_0x2cc899[0x1]&0x7f,this[_0x4154ee(0x2ec)]===0x0){if(_0x5975b1){const _0x322267=this[_0x4154ee(0x2c2)](RangeError,_0x4154ee(0x226),!0x0,0x3ea,_0x4154ee(0x207));_0x1aebf2(_0x322267);return;}if(!this[_0x4154ee(0x2f5)]){const _0x10583d=this[_0x4154ee(0x2c2)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x4154ee(0x1b8));_0x1aebf2(_0x10583d);return;}this[_0x4154ee(0x2ec)]=this[_0x4154ee(0x2f5)];}else{if(this[_0x4154ee(0x2ec)]===0x1||this[_0x4154ee(0x2ec)]===0x2){if(this[_0x4154ee(0x2f5)]){const _0x1707c5=this[_0x4154ee(0x2c2)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x4154ee(0x1b8));_0x1aebf2(_0x1707c5);return;}this[_0x4154ee(0x244)]=_0x5975b1;}else{if(this[_0x4154ee(0x2ec)]>0x7&&this['_opcode']<0xb){if(!this['_fin']){const _0x2ff83d=this['createError'](RangeError,_0x4154ee(0x21d),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x1aebf2(_0x2ff83d);return;}if(_0x5975b1){const _0x556c48=this[_0x4154ee(0x2c2)](RangeError,_0x4154ee(0x226),!0x0,0x3ea,_0x4154ee(0x207));_0x1aebf2(_0x556c48);return;}if(this[_0x4154ee(0x1c9)]>0x7d||this[_0x4154ee(0x2ec)]===0x8&&this[_0x4154ee(0x1c9)]===0x1){const _0x9cda91=this[_0x4154ee(0x2c2)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x4154ee(0x1c9)],!0x0,0x3ea,_0x4154ee(0x18c));_0x1aebf2(_0x9cda91);return;}}else{const _0x4c1ddf=this[_0x4154ee(0x2c2)](RangeError,_0x4154ee(0x2dd)+this[_0x4154ee(0x2ec)],!0x0,0x3ea,_0x4154ee(0x1b8));_0x1aebf2(_0x4c1ddf);return;}}}if(!this[_0x4154ee(0x1ab)]&&!this[_0x4154ee(0x2f5)]&&(this[_0x4154ee(0x2f5)]=this[_0x4154ee(0x2ec)]),this[_0x4154ee(0x28f)]=(_0x2cc899[0x1]&0x80)===0x80,this[_0x4154ee(0x221)]){if(!this['_masked']){const _0xefe422=this[_0x4154ee(0x2c2)](RangeError,_0x4154ee(0x19d),!0x0,0x3ea,_0x4154ee(0x2a2));_0x1aebf2(_0xefe422);return;}}else{if(this['_masked']){const _0x5ef124=this[_0x4154ee(0x2c2)](RangeError,_0x4154ee(0x1f1),!0x0,0x3ea,_0x4154ee(0x17f));_0x1aebf2(_0x5ef124);return;}}this[_0x4154ee(0x1c9)]===0x7e?this[_0x4154ee(0x1f7)]=_0x569c94:this[_0x4154ee(0x1c9)]===0x7f?this[_0x4154ee(0x1f7)]=_0x20acf5:this[_0x4154ee(0x26d)](_0x1aebf2);}[_0x35e70a(0x20c)](_0x132a1e){const _0x3d7d47=_0x35e70a;if(this[_0x3d7d47(0x259)]<0x2){this[_0x3d7d47(0x292)]=!0x1;return;}this[_0x3d7d47(0x1c9)]=this['consume'](0x2)[_0x3d7d47(0x2e9)](0x0),this['haveLength'](_0x132a1e);}['getPayloadLength64'](_0x1c65fd){const _0x111e37=_0x35e70a;if(this[_0x111e37(0x259)]<0x8){this['_loop']=!0x1;return;}const _0x1c1647=this['consume'](0x8),_0x32f109=_0x1c1647['readUInt32BE'](0x0);if(_0x32f109>Math[_0x111e37(0x2bb)](0x2,0x15)-0x1){const _0x2fae7e=this['createError'](RangeError,_0x111e37(0x1cb),!0x1,0x3f1,_0x111e37(0x230));_0x1c65fd(_0x2fae7e);return;}this[_0x111e37(0x1c9)]=_0x32f109*Math['pow'](0x2,0x20)+_0x1c1647['readUInt32BE'](0x4),this[_0x111e37(0x26d)](_0x1c65fd);}[_0x35e70a(0x26d)](_0xa69904){const _0x54a98b=_0x35e70a;if(this['_payloadLength']&&this['_opcode']<0x8&&(this['_totalPayloadLength']+=this[_0x54a98b(0x1c9)],this[_0x54a98b(0x2d4)]>this[_0x54a98b(0x22d)]&&this['_maxPayload']>0x0)){const _0x2ba3a6=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0xa69904(_0x2ba3a6);return;}this[_0x54a98b(0x28f)]?this[_0x54a98b(0x1f7)]=_0x2ab7a2:this['_state']=_0x50c1c2;}[_0x35e70a(0x1f5)](){const _0x580771=_0x35e70a;if(this['_bufferedBytes']<0x4){this[_0x580771(0x292)]=!0x1;return;}this[_0x580771(0x1c1)]=this[_0x580771(0x19b)](0x4),this['_state']=_0x50c1c2;}[_0x35e70a(0x21a)](_0x59dde9){const _0x4eb7d5=_0x35e70a;let _0x310bf2=_0x35f7e6;if(this[_0x4eb7d5(0x1c9)]){if(this[_0x4eb7d5(0x259)]<this[_0x4eb7d5(0x1c9)]){this[_0x4eb7d5(0x292)]=!0x1;return;}_0x310bf2=this[_0x4eb7d5(0x19b)](this[_0x4eb7d5(0x1c9)]),this[_0x4eb7d5(0x28f)]&&(this[_0x4eb7d5(0x1c1)][0x0]|this[_0x4eb7d5(0x1c1)][0x1]|this[_0x4eb7d5(0x1c1)][0x2]|this[_0x4eb7d5(0x1c1)][0x3])!==0x0&&_0x374e76(_0x310bf2,this['_mask']);}if(this['_opcode']>0x7){this[_0x4eb7d5(0x23c)](_0x310bf2,_0x59dde9);return;}if(this[_0x4eb7d5(0x244)]){this[_0x4eb7d5(0x1f7)]=_0x175d29,this[_0x4eb7d5(0x20d)](_0x310bf2,_0x59dde9);return;}_0x310bf2['length']&&(this[_0x4eb7d5(0x30c)]=this[_0x4eb7d5(0x2d4)],this[_0x4eb7d5(0x227)][_0x4eb7d5(0x2ae)](_0x310bf2)),this[_0x4eb7d5(0x27b)](_0x59dde9);}[_0x35e70a(0x20d)](_0x457254,_0x27a217){const _0x15529e=_0x35e70a;this[_0x15529e(0x25d)][_0xc861f3[_0x15529e(0x289)]][_0x15529e(0x20d)](_0x457254,this['_fin'],(_0x4d02d0,_0x5e7a20)=>{const _0x4d2f61=_0x15529e;if(_0x4d02d0)return _0x27a217(_0x4d02d0);if(_0x5e7a20[_0x4d2f61(0x2e4)]){if(this['_messageLength']+=_0x5e7a20['length'],this[_0x4d2f61(0x30c)]>this[_0x4d2f61(0x22d)]&&this[_0x4d2f61(0x22d)]>0x0){const _0x388d0b=this[_0x4d2f61(0x2c2)](RangeError,_0x4d2f61(0x1a1),!0x1,0x3f1,_0x4d2f61(0x16b));_0x27a217(_0x388d0b);return;}this[_0x4d2f61(0x227)][_0x4d2f61(0x2ae)](_0x5e7a20);}this['dataMessage'](_0x27a217),this[_0x4d2f61(0x1f7)]===_0x258d02&&this[_0x4d2f61(0x269)](_0x27a217);});}[_0x35e70a(0x27b)](_0x32537b){const _0x24cf98=_0x35e70a;if(!this[_0x24cf98(0x1ab)]){this[_0x24cf98(0x1f7)]=_0x258d02;return;}const _0x2c03de=this[_0x24cf98(0x30c)],_0x1f61c2=this[_0x24cf98(0x227)];if(this[_0x24cf98(0x2d4)]=0x0,this[_0x24cf98(0x30c)]=0x0,this['_fragmented']=0x0,this[_0x24cf98(0x227)]=[],this['_opcode']===0x2){let _0x161a27;this[_0x24cf98(0x261)]===_0x24cf98(0x1a4)?_0x161a27=_0x3ff27e(_0x1f61c2,_0x2c03de):this[_0x24cf98(0x261)]==='arraybuffer'?_0x161a27=_0x107a0f(_0x3ff27e(_0x1f61c2,_0x2c03de)):this['_binaryType']===_0x24cf98(0x290)?_0x161a27=new Blob(_0x1f61c2):_0x161a27=_0x1f61c2,this[_0x24cf98(0x301)]?(this[_0x24cf98(0x287)](_0x24cf98(0x2b7),_0x161a27,!0x0),this[_0x24cf98(0x1f7)]=_0x258d02):(this[_0x24cf98(0x1f7)]=_0x116d7d,setImmediate(()=>{const _0x56bdb6=_0x24cf98;this[_0x56bdb6(0x287)](_0x56bdb6(0x2b7),_0x161a27,!0x0),this[_0x56bdb6(0x1f7)]=_0x258d02,this[_0x56bdb6(0x269)](_0x32537b);}));}else{const _0x4ef276=_0x3ff27e(_0x1f61c2,_0x2c03de);if(!this[_0x24cf98(0x2ab)]&&!_0x2139cc(_0x4ef276)){const _0x38f34d=this[_0x24cf98(0x2c2)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x24cf98(0x24c));_0x32537b(_0x38f34d);return;}this['_state']===_0x175d29||this[_0x24cf98(0x301)]?(this[_0x24cf98(0x287)](_0x24cf98(0x2b7),_0x4ef276,!0x1),this['_state']=_0x258d02):(this['_state']=_0x116d7d,setImmediate(()=>{const _0x24bcc5=_0x24cf98;this[_0x24bcc5(0x287)](_0x24bcc5(0x2b7),_0x4ef276,!0x1),this[_0x24bcc5(0x1f7)]=_0x258d02,this['startLoop'](_0x32537b);}));}}['controlMessage'](_0x11ced4,_0xcb1409){const _0x3f44f2=_0x35e70a;if(this[_0x3f44f2(0x2ec)]===0x8){if(_0x11ced4[_0x3f44f2(0x2e4)]===0x0)this[_0x3f44f2(0x292)]=!0x1,this[_0x3f44f2(0x287)](_0x3f44f2(0x1a5),0x3ed,_0x35f7e6),this[_0x3f44f2(0x1d8)]();else{const _0x408956=_0x11ced4[_0x3f44f2(0x2e9)](0x0);if(!_0x4697df(_0x408956)){const _0x160975=this[_0x3f44f2(0x2c2)](RangeError,_0x3f44f2(0x28c)+_0x408956,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0xcb1409(_0x160975);return;}const _0xd60b5b=new _0x4cfcd1(_0x11ced4[_0x3f44f2(0x17c)],_0x11ced4[_0x3f44f2(0x1b9)]+0x2,_0x11ced4['length']-0x2);if(!this['_skipUTF8Validation']&&!_0x2139cc(_0xd60b5b)){const _0x2547a3=this[_0x3f44f2(0x2c2)](Error,_0x3f44f2(0x1e5),!0x0,0x3ef,_0x3f44f2(0x24c));_0xcb1409(_0x2547a3);return;}this[_0x3f44f2(0x292)]=!0x1,this[_0x3f44f2(0x287)](_0x3f44f2(0x1a5),_0x408956,_0xd60b5b),this[_0x3f44f2(0x1d8)]();}this[_0x3f44f2(0x1f7)]=_0x258d02;return;}this[_0x3f44f2(0x301)]?(this[_0x3f44f2(0x287)](this[_0x3f44f2(0x2ec)]===0x9?_0x3f44f2(0x18d):_0x3f44f2(0x263),_0x11ced4),this[_0x3f44f2(0x1f7)]=_0x258d02):(this[_0x3f44f2(0x1f7)]=_0x116d7d,setImmediate(()=>{const _0x17ab57=_0x3f44f2;this[_0x17ab57(0x287)](this[_0x17ab57(0x2ec)]===0x9?_0x17ab57(0x18d):'pong',_0x11ced4),this[_0x17ab57(0x1f7)]=_0x258d02,this[_0x17ab57(0x269)](_0xcb1409);}));}[_0x35e70a(0x2c2)](_0x54456b,_0x477e3e,_0x3f1599,_0x1b41b3,_0x2dadf4){const _0x4a718f=_0x35e70a;this[_0x4a718f(0x292)]=!0x1,this[_0x4a718f(0x2b3)]=!0x0;const _0x4205c7=new _0x54456b(_0x3f1599?_0x4a718f(0x2f1)+_0x477e3e:_0x477e3e);return Error[_0x4a718f(0x1d6)](_0x4205c7,this['createError']),_0x4205c7[_0x4a718f(0x2b1)]=_0x2dadf4,_0x4205c7[_0xe04dae]=_0x1b41b3,_0x4205c7;}}return Se=_0x14855b,Se;}var Ee,et;function _t(){const _0x3ca4d3=_0x2be760;if(et)return Ee;et=0x1;const {Duplex:_0x33334a}=_0x19e32e,{randomFillSync:_0x1e2376}=_0x118541,_0x366165=he(),{EMPTY_BUFFER:_0x1fc98b,kWebSocket:_0xc8a080,NOOP:_0xa6acf7}=V(),{isBlob:_0x28cbd6,isValidStatusCode:_0x505241}=ne(),{mask:_0x31e8a4,toBuffer:_0x31c851}=ce(),_0xf76cc0=Symbol('kByteLength'),_0x3e424e=Buffer['alloc'](0x4),_0x572326=0x8*0x400;let _0x5cd548,_0x3e2475=_0x572326;const _0x4701eb=0x0,_0x9c5d89=0x1,_0x18c220=0x2;class _0x529387{constructor(_0x510653,_0xe2794f,_0x406faf){const _0x21f721=_0xd40e;this['_extensions']=_0xe2794f||{},_0x406faf&&(this[_0x21f721(0x1ba)]=_0x406faf,this[_0x21f721(0x164)]=Buffer[_0x21f721(0x197)](0x4)),this['_socket']=_0x510653,this[_0x21f721(0x29c)]=!0x0,this['_compress']=!0x1,this['_bufferedBytes']=0x0,this[_0x21f721(0x24d)]=[],this[_0x21f721(0x1f7)]=_0x4701eb,this['onerror']=_0xa6acf7,this[_0xc8a080]=void 0x0;}static['frame'](_0x298051,_0x177569){const _0xb76793=_0xd40e;let _0x2fe06c,_0x297b22=!0x1,_0xd1c043=0x2,_0x22652a=!0x1;_0x177569[_0xb76793(0x1a2)]&&(_0x2fe06c=_0x177569['maskBuffer']||_0x3e424e,_0x177569[_0xb76793(0x2cf)]?_0x177569['generateMask'](_0x2fe06c):(_0x3e2475===_0x572326&&(_0x5cd548===void 0x0&&(_0x5cd548=Buffer[_0xb76793(0x197)](_0x572326)),_0x1e2376(_0x5cd548,0x0,_0x572326),_0x3e2475=0x0),_0x2fe06c[0x0]=_0x5cd548[_0x3e2475++],_0x2fe06c[0x1]=_0x5cd548[_0x3e2475++],_0x2fe06c[0x2]=_0x5cd548[_0x3e2475++],_0x2fe06c[0x3]=_0x5cd548[_0x3e2475++]),_0x22652a=(_0x2fe06c[0x0]|_0x2fe06c[0x1]|_0x2fe06c[0x2]|_0x2fe06c[0x3])===0x0,_0xd1c043=0x6);let _0x3741a3;typeof _0x298051==_0xb76793(0x300)?(!_0x177569['mask']||_0x22652a)&&_0x177569[_0xf76cc0]!==void 0x0?_0x3741a3=_0x177569[_0xf76cc0]:(_0x298051=Buffer[_0xb76793(0x1e1)](_0x298051),_0x3741a3=_0x298051[_0xb76793(0x2e4)]):(_0x3741a3=_0x298051['length'],_0x297b22=_0x177569['mask']&&_0x177569[_0xb76793(0x1ce)]&&!_0x22652a);let _0x540cf3=_0x3741a3;_0x3741a3>=0x10000?(_0xd1c043+=0x8,_0x540cf3=0x7f):_0x3741a3>0x7d&&(_0xd1c043+=0x2,_0x540cf3=0x7e);const _0x3819e5=Buffer['allocUnsafe'](_0x297b22?_0x3741a3+_0xd1c043:_0xd1c043);return _0x3819e5[0x0]=_0x177569[_0xb76793(0x2f8)]?_0x177569[_0xb76793(0x260)]|0x80:_0x177569[_0xb76793(0x260)],_0x177569['rsv1']&&(_0x3819e5[0x0]|=0x40),_0x3819e5[0x1]=_0x540cf3,_0x540cf3===0x7e?_0x3819e5[_0xb76793(0x2d0)](_0x3741a3,0x2):_0x540cf3===0x7f&&(_0x3819e5[0x2]=_0x3819e5[0x3]=0x0,_0x3819e5['writeUIntBE'](_0x3741a3,0x4,0x6)),_0x177569[_0xb76793(0x1a2)]?(_0x3819e5[0x1]|=0x80,_0x3819e5[_0xd1c043-0x4]=_0x2fe06c[0x0],_0x3819e5[_0xd1c043-0x3]=_0x2fe06c[0x1],_0x3819e5[_0xd1c043-0x2]=_0x2fe06c[0x2],_0x3819e5[_0xd1c043-0x1]=_0x2fe06c[0x3],_0x22652a?[_0x3819e5,_0x298051]:_0x297b22?(_0x31e8a4(_0x298051,_0x2fe06c,_0x3819e5,_0xd1c043,_0x3741a3),[_0x3819e5]):(_0x31e8a4(_0x298051,_0x2fe06c,_0x298051,0x0,_0x3741a3),[_0x3819e5,_0x298051])):[_0x3819e5,_0x298051];}['close'](_0x3a83ed,_0x342089,_0x210721,_0x40b022){const _0x35de17=_0xd40e;let _0xda4011;if(_0x3a83ed===void 0x0)_0xda4011=_0x1fc98b;else{if(typeof _0x3a83ed!='number'||!_0x505241(_0x3a83ed))throw new TypeError(_0x35de17(0x198));if(_0x342089===void 0x0||!_0x342089[_0x35de17(0x2e4)])_0xda4011=Buffer[_0x35de17(0x29e)](0x2),_0xda4011[_0x35de17(0x2d0)](_0x3a83ed,0x0);else{const _0x5c06e5=Buffer[_0x35de17(0x1f9)](_0x342089);if(_0x5c06e5>0x7b)throw new RangeError(_0x35de17(0x2e5));_0xda4011=Buffer[_0x35de17(0x29e)](0x2+_0x5c06e5),_0xda4011[_0x35de17(0x2d0)](_0x3a83ed,0x0),typeof _0x342089=='string'?_0xda4011[_0x35de17(0x2d7)](_0x342089,0x2):_0xda4011[_0x35de17(0x2a5)](_0x342089,0x2);}}const _0x2a022b={[_0xf76cc0]:_0xda4011[_0x35de17(0x2e4)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x210721,'maskBuffer':this[_0x35de17(0x164)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x35de17(0x1f7)]!==_0x4701eb?this[_0x35de17(0x309)]([this['dispatch'],_0xda4011,!0x1,_0x2a022b,_0x40b022]):this[_0x35de17(0x2ff)](_0x529387['frame'](_0xda4011,_0x2a022b),_0x40b022);}[_0x3ca4d3(0x18d)](_0x51a287,_0x3e183f,_0x5864ce){const _0x2f5d0d=_0x3ca4d3;let _0x137555,_0x27dfa7;if(typeof _0x51a287==_0x2f5d0d(0x300)?(_0x137555=Buffer[_0x2f5d0d(0x1f9)](_0x51a287),_0x27dfa7=!0x1):_0x28cbd6(_0x51a287)?(_0x137555=_0x51a287[_0x2f5d0d(0x2ad)],_0x27dfa7=!0x1):(_0x51a287=_0x31c851(_0x51a287),_0x137555=_0x51a287[_0x2f5d0d(0x2e4)],_0x27dfa7=_0x31c851[_0x2f5d0d(0x1ce)]),_0x137555>0x7d)throw new RangeError(_0x2f5d0d(0x1de));const _0x63c60c={[_0xf76cc0]:_0x137555,'fin':!0x0,'generateMask':this[_0x2f5d0d(0x1ba)],'mask':_0x3e183f,'maskBuffer':this[_0x2f5d0d(0x164)],'opcode':0x9,'readOnly':_0x27dfa7,'rsv1':!0x1};_0x28cbd6(_0x51a287)?this[_0x2f5d0d(0x1f7)]!==_0x4701eb?this['enqueue']([this[_0x2f5d0d(0x22a)],_0x51a287,!0x1,_0x63c60c,_0x5864ce]):this[_0x2f5d0d(0x22a)](_0x51a287,!0x1,_0x63c60c,_0x5864ce):this[_0x2f5d0d(0x1f7)]!==_0x4701eb?this[_0x2f5d0d(0x309)]([this['dispatch'],_0x51a287,!0x1,_0x63c60c,_0x5864ce]):this[_0x2f5d0d(0x2ff)](_0x529387[_0x2f5d0d(0x191)](_0x51a287,_0x63c60c),_0x5864ce);}['pong'](_0x757a03,_0x5b571e,_0x103de3){const _0x45d5f1=_0x3ca4d3;let _0x12a2df,_0xb2855f;if(typeof _0x757a03==_0x45d5f1(0x300)?(_0x12a2df=Buffer[_0x45d5f1(0x1f9)](_0x757a03),_0xb2855f=!0x1):_0x28cbd6(_0x757a03)?(_0x12a2df=_0x757a03[_0x45d5f1(0x2ad)],_0xb2855f=!0x1):(_0x757a03=_0x31c851(_0x757a03),_0x12a2df=_0x757a03[_0x45d5f1(0x2e4)],_0xb2855f=_0x31c851['readOnly']),_0x12a2df>0x7d)throw new RangeError(_0x45d5f1(0x1de));const _0x5d402e={[_0xf76cc0]:_0x12a2df,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5b571e,'maskBuffer':this[_0x45d5f1(0x164)],'opcode':0xa,'readOnly':_0xb2855f,'rsv1':!0x1};_0x28cbd6(_0x757a03)?this[_0x45d5f1(0x1f7)]!==_0x4701eb?this['enqueue']([this[_0x45d5f1(0x22a)],_0x757a03,!0x1,_0x5d402e,_0x103de3]):this[_0x45d5f1(0x22a)](_0x757a03,!0x1,_0x5d402e,_0x103de3):this[_0x45d5f1(0x1f7)]!==_0x4701eb?this[_0x45d5f1(0x309)]([this[_0x45d5f1(0x2f6)],_0x757a03,!0x1,_0x5d402e,_0x103de3]):this[_0x45d5f1(0x2ff)](_0x529387[_0x45d5f1(0x191)](_0x757a03,_0x5d402e),_0x103de3);}[_0x3ca4d3(0x1b2)](_0x30b249,_0x4468c7,_0x6ee22e){const _0x5342a8=_0x3ca4d3,_0xc9265e=this[_0x5342a8(0x25d)][_0x366165['extensionName']];let _0x1d6280=_0x4468c7[_0x5342a8(0x1a8)]?0x2:0x1,_0x74660a=_0x4468c7['compress'],_0x1d3c8b,_0x384f1b;typeof _0x30b249==_0x5342a8(0x300)?(_0x1d3c8b=Buffer[_0x5342a8(0x1f9)](_0x30b249),_0x384f1b=!0x1):_0x28cbd6(_0x30b249)?(_0x1d3c8b=_0x30b249['size'],_0x384f1b=!0x1):(_0x30b249=_0x31c851(_0x30b249),_0x1d3c8b=_0x30b249[_0x5342a8(0x2e4)],_0x384f1b=_0x31c851[_0x5342a8(0x1ce)]),this['_firstFragment']?(this[_0x5342a8(0x29c)]=!0x1,_0x74660a&&_0xc9265e&&_0xc9265e['params'][_0xc9265e[_0x5342a8(0x221)]?_0x5342a8(0x2ce):_0x5342a8(0x27a)]&&(_0x74660a=_0x1d3c8b>=_0xc9265e[_0x5342a8(0x20b)]),this[_0x5342a8(0x182)]=_0x74660a):(_0x74660a=!0x1,_0x1d6280=0x0),_0x4468c7[_0x5342a8(0x2f8)]&&(this[_0x5342a8(0x29c)]=!0x0);const _0x58945f={[_0xf76cc0]:_0x1d3c8b,'fin':_0x4468c7[_0x5342a8(0x2f8)],'generateMask':this[_0x5342a8(0x1ba)],'mask':_0x4468c7[_0x5342a8(0x1a2)],'maskBuffer':this['_maskBuffer'],'opcode':_0x1d6280,'readOnly':_0x384f1b,'rsv1':_0x74660a};_0x28cbd6(_0x30b249)?this[_0x5342a8(0x1f7)]!==_0x4701eb?this[_0x5342a8(0x309)]([this['getBlobData'],_0x30b249,this['_compress'],_0x58945f,_0x6ee22e]):this[_0x5342a8(0x22a)](_0x30b249,this[_0x5342a8(0x182)],_0x58945f,_0x6ee22e):this[_0x5342a8(0x1f7)]!==_0x4701eb?this[_0x5342a8(0x309)]([this[_0x5342a8(0x2f6)],_0x30b249,this['_compress'],_0x58945f,_0x6ee22e]):this[_0x5342a8(0x2f6)](_0x30b249,this[_0x5342a8(0x182)],_0x58945f,_0x6ee22e);}[_0x3ca4d3(0x22a)](_0x16fad2,_0xfa2daa,_0x286862,_0x5c62f6){const _0x1e081a=_0x3ca4d3;this[_0x1e081a(0x259)]+=_0x286862[_0xf76cc0],this[_0x1e081a(0x1f7)]=_0x18c220,_0x16fad2[_0x1e081a(0x18e)]()['then'](_0x59bfb7=>{const _0x100074=_0x1e081a;if(this['_socket'][_0x100074(0x192)]){const _0x2dbedc=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process['nextTick'](_0x4b2cee,this,_0x2dbedc,_0x5c62f6);return;}this[_0x100074(0x259)]-=_0x286862[_0xf76cc0];const _0x4fc029=_0x31c851(_0x59bfb7);_0xfa2daa?this[_0x100074(0x2f6)](_0x4fc029,_0xfa2daa,_0x286862,_0x5c62f6):(this['_state']=_0x4701eb,this[_0x100074(0x2ff)](_0x529387['frame'](_0x4fc029,_0x286862),_0x5c62f6),this[_0x100074(0x1dc)]());})[_0x1e081a(0x1cd)](_0xea4a1a=>{const _0x17ced4=_0x1e081a;process[_0x17ced4(0x2b0)](_0x5e3cd1,this,_0xea4a1a,_0x5c62f6);});}[_0x3ca4d3(0x2f6)](_0x19681f,_0x585321,_0x2dac56,_0x53dbe2){const _0x494044=_0x3ca4d3;if(!_0x585321){this['sendFrame'](_0x529387[_0x494044(0x191)](_0x19681f,_0x2dac56),_0x53dbe2);return;}const _0x56269c=this[_0x494044(0x25d)][_0x366165[_0x494044(0x289)]];this[_0x494044(0x259)]+=_0x2dac56[_0xf76cc0],this['_state']=_0x9c5d89,_0x56269c['compress'](_0x19681f,_0x2dac56[_0x494044(0x2f8)],(_0x15c8eb,_0x3d8c0b)=>{const _0x3b24c5=_0x494044;if(this[_0x3b24c5(0x2ed)][_0x3b24c5(0x192)]){const _0x9750bc=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x4b2cee(this,_0x9750bc,_0x53dbe2);return;}this[_0x3b24c5(0x259)]-=_0x2dac56[_0xf76cc0],this[_0x3b24c5(0x1f7)]=_0x4701eb,_0x2dac56['readOnly']=!0x1,this[_0x3b24c5(0x2ff)](_0x529387[_0x3b24c5(0x191)](_0x3d8c0b,_0x2dac56),_0x53dbe2),this[_0x3b24c5(0x1dc)]();});}[_0x3ca4d3(0x1dc)](){const _0x2cb47b=_0x3ca4d3;for(;this[_0x2cb47b(0x1f7)]===_0x4701eb&&this[_0x2cb47b(0x24d)][_0x2cb47b(0x2e4)];){const _0x400a06=this[_0x2cb47b(0x24d)][_0x2cb47b(0x2f9)]();this[_0x2cb47b(0x259)]-=_0x400a06[0x3][_0xf76cc0],Reflect[_0x2cb47b(0x26a)](_0x400a06[0x0],this,_0x400a06[_0x2cb47b(0x30e)](0x1));}}['enqueue'](_0x43cf41){const _0x2db549=_0x3ca4d3;this[_0x2db549(0x259)]+=_0x43cf41[0x3][_0xf76cc0],this[_0x2db549(0x24d)]['push'](_0x43cf41);}['sendFrame'](_0x6a4f5b,_0x1ad3d5){const _0xaee9f7=_0x3ca4d3;_0x6a4f5b['length']===0x2?(this[_0xaee9f7(0x2ed)]['cork'](),this['_socket'][_0xaee9f7(0x2d7)](_0x6a4f5b[0x0]),this[_0xaee9f7(0x2ed)][_0xaee9f7(0x2d7)](_0x6a4f5b[0x1],_0x1ad3d5),this[_0xaee9f7(0x2ed)]['uncork']()):this['_socket']['write'](_0x6a4f5b[0x0],_0x1ad3d5);}}Ee=_0x529387;function _0x4b2cee(_0x497336,_0x4e40a8,_0x3a3f52){const _0x994545=_0x3ca4d3;typeof _0x3a3f52==_0x994545(0x20a)&&_0x3a3f52(_0x4e40a8);for(let _0x1d37dc=0x0;_0x1d37dc<_0x497336[_0x994545(0x24d)][_0x994545(0x2e4)];_0x1d37dc++){const _0x3d667f=_0x497336[_0x994545(0x24d)][_0x1d37dc],_0x44fc31=_0x3d667f[_0x3d667f[_0x994545(0x2e4)]-0x1];typeof _0x44fc31=='function'&&_0x44fc31(_0x4e40a8);}}function _0x5e3cd1(_0x26fa50,_0x244b20,_0x51c3c0){const _0x555323=_0x3ca4d3;_0x4b2cee(_0x26fa50,_0x244b20,_0x51c3c0),_0x26fa50[_0x555323(0x210)](_0x244b20);}return Ee;}var xe,tt;function Kt(){const _0x19e46d=_0x2be760;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x513f77,kListener:_0x502f43}=V(),_0x5c0295=Symbol(_0x19e46d(0x2e7)),_0x53d162=Symbol(_0x19e46d(0x165)),_0x579150=Symbol(_0x19e46d(0x189)),_0x4ec48c=Symbol(_0x19e46d(0x2c6)),_0x451f36=Symbol(_0x19e46d(0x1e7)),_0x1612a0=Symbol(_0x19e46d(0x19e)),_0xbf8b28=Symbol(_0x19e46d(0x2fa)),_0x502771=Symbol(_0x19e46d(0x25a));class _0x20a36f{constructor(_0x293694){this[_0x1612a0]=null,this[_0xbf8b28]=_0x293694;}get[_0x19e46d(0x209)](){return this[_0x1612a0];}get[_0x19e46d(0x2d1)](){return this[_0xbf8b28];}}Object[_0x19e46d(0x27f)](_0x20a36f[_0x19e46d(0x208)],'target',{'enumerable':!0x0}),Object[_0x19e46d(0x27f)](_0x20a36f[_0x19e46d(0x208)],_0x19e46d(0x2d1),{'enumerable':!0x0});class _0x36f753 extends _0x20a36f{constructor(_0x51f07a,_0x562439={}){const _0x2ad0fa=_0x19e46d;super(_0x51f07a),this[_0x5c0295]=_0x562439[_0x2ad0fa(0x2b1)]===void 0x0?0x0:_0x562439['code'],this[_0x451f36]=_0x562439['reason']===void 0x0?'':_0x562439[_0x2ad0fa(0x303)],this[_0x502771]=_0x562439[_0x2ad0fa(0x203)]===void 0x0?!0x1:_0x562439[_0x2ad0fa(0x203)];}get[_0x19e46d(0x2b1)](){return this[_0x5c0295];}get[_0x19e46d(0x303)](){return this[_0x451f36];}get[_0x19e46d(0x203)](){return this[_0x502771];}}Object[_0x19e46d(0x27f)](_0x36f753[_0x19e46d(0x208)],_0x19e46d(0x2b1),{'enumerable':!0x0}),Object[_0x19e46d(0x27f)](_0x36f753[_0x19e46d(0x208)],_0x19e46d(0x303),{'enumerable':!0x0}),Object['defineProperty'](_0x36f753[_0x19e46d(0x208)],'wasClean',{'enumerable':!0x0});class _0x549a86 extends _0x20a36f{constructor(_0x267cce,_0x5137ed={}){const _0x4252d9=_0x19e46d;super(_0x267cce),this[_0x579150]=_0x5137ed[_0x4252d9(0x2ca)]===void 0x0?null:_0x5137ed[_0x4252d9(0x2ca)],this[_0x4ec48c]=_0x5137ed[_0x4252d9(0x2b7)]===void 0x0?'':_0x5137ed[_0x4252d9(0x2b7)];}get[_0x19e46d(0x2ca)](){return this[_0x579150];}get[_0x19e46d(0x2b7)](){return this[_0x4ec48c];}}Object[_0x19e46d(0x27f)](_0x549a86['prototype'],'error',{'enumerable':!0x0}),Object[_0x19e46d(0x27f)](_0x549a86[_0x19e46d(0x208)],_0x19e46d(0x2b7),{'enumerable':!0x0});class _0x1c1160 extends _0x20a36f{constructor(_0x1e79c3,_0xfc5cd1={}){super(_0x1e79c3),this[_0x53d162]=_0xfc5cd1['data']===void 0x0?null:_0xfc5cd1['data'];}get[_0x19e46d(0x2a1)](){return this[_0x53d162];}}Object[_0x19e46d(0x27f)](_0x1c1160[_0x19e46d(0x208)],_0x19e46d(0x2a1),{'enumerable':!0x0}),xe={'CloseEvent':_0x36f753,'ErrorEvent':_0x549a86,'Event':_0x20a36f,'EventTarget':{'addEventListener'(_0x5747fe,_0x1ac2f6,_0x1c402c={}){const _0x315f8f=_0x19e46d;for(const _0x5438de of this[_0x315f8f(0x307)](_0x5747fe))if(!_0x1c402c[_0x513f77]&&_0x5438de[_0x502f43]===_0x1ac2f6&&!_0x5438de[_0x513f77])return;let _0x57eb9d;if(_0x5747fe===_0x315f8f(0x2b7))_0x57eb9d=function(_0x347429,_0x4d6ee7){const _0x4ed18a=_0x315f8f,_0x397cc9=new _0x1c1160(_0x4ed18a(0x2b7),{'data':_0x4d6ee7?_0x347429:_0x347429['toString']()});_0x397cc9[_0x1612a0]=this,_0x172f73(_0x1ac2f6,this,_0x397cc9);};else{if(_0x5747fe===_0x315f8f(0x163))_0x57eb9d=function(_0x1c67d5,_0x3b7da0){const _0x385ce4=_0x315f8f,_0x57f1fc=new _0x36f753(_0x385ce4(0x163),{'code':_0x1c67d5,'reason':_0x3b7da0['toString'](),'wasClean':this[_0x385ce4(0x262)]&&this[_0x385ce4(0x223)]});_0x57f1fc[_0x1612a0]=this,_0x172f73(_0x1ac2f6,this,_0x57f1fc);};else{if(_0x5747fe===_0x315f8f(0x2ca))_0x57eb9d=function(_0x32f79d){const _0x1742e6=_0x315f8f,_0x43167c=new _0x549a86(_0x1742e6(0x2ca),{'error':_0x32f79d,'message':_0x32f79d[_0x1742e6(0x2b7)]});_0x43167c[_0x1612a0]=this,_0x172f73(_0x1ac2f6,this,_0x43167c);};else{if(_0x5747fe==='open')_0x57eb9d=function(){const _0x496fcb=_0x315f8f,_0x137a54=new _0x20a36f(_0x496fcb(0x217));_0x137a54[_0x1612a0]=this,_0x172f73(_0x1ac2f6,this,_0x137a54);};else return;}}}_0x57eb9d[_0x513f77]=!!_0x1c402c[_0x513f77],_0x57eb9d[_0x502f43]=_0x1ac2f6,_0x1c402c['once']?this[_0x315f8f(0x2ef)](_0x5747fe,_0x57eb9d):this['on'](_0x5747fe,_0x57eb9d);},'removeEventListener'(_0x590663,_0x4e2227){const _0xd649d4=_0x19e46d;for(const _0x2e41d1 of this[_0xd649d4(0x307)](_0x590663))if(_0x2e41d1[_0x502f43]===_0x4e2227&&!_0x2e41d1[_0x513f77]){this[_0xd649d4(0x2d3)](_0x590663,_0x2e41d1);break;}}},'MessageEvent':_0x1c1160};function _0x172f73(_0x375482,_0x2673b3,_0x177789){const _0x5c3496=_0x19e46d;typeof _0x375482==_0x5c3496(0x268)&&_0x375482['handleEvent']?_0x375482[_0x5c3496(0x27d)][_0x5c3496(0x297)](_0x375482,_0x177789):_0x375482[_0x5c3496(0x297)](_0x2673b3,_0x177789);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x4fbd86}=ne();function _0x167efa(_0x92193b,_0x3fcd15,_0x22fd83){const _0x4ef22c=_0xd40e;_0x92193b[_0x3fcd15]===void 0x0?_0x92193b[_0x3fcd15]=[_0x22fd83]:_0x92193b[_0x3fcd15][_0x4ef22c(0x2ae)](_0x22fd83);}function _0x2ebf70(_0x3d7862){const _0x305172=_0xd40e,_0x7ae6d7=Object['create'](null);let _0x4094c8=Object[_0x305172(0x29d)](null),_0xfad1aa=!0x1,_0x2d5db0=!0x1,_0x534e2e=!0x1,_0x3a2400,_0x31a169,_0x4eec5b=-0x1,_0x57cf52=-0x1,_0x229a30=-0x1,_0x12bf33=0x0;for(;_0x12bf33<_0x3d7862[_0x305172(0x2e4)];_0x12bf33++)if(_0x57cf52=_0x3d7862[_0x305172(0x267)](_0x12bf33),_0x3a2400===void 0x0){if(_0x229a30===-0x1&&_0x4fbd86[_0x57cf52]===0x1)_0x4eec5b===-0x1&&(_0x4eec5b=_0x12bf33);else{if(_0x12bf33!==0x0&&(_0x57cf52===0x20||_0x57cf52===0x9))_0x229a30===-0x1&&_0x4eec5b!==-0x1&&(_0x229a30=_0x12bf33);else{if(_0x57cf52===0x3b||_0x57cf52===0x2c){if(_0x4eec5b===-0x1)throw new SyntaxError(_0x305172(0x2b2)+_0x12bf33);_0x229a30===-0x1&&(_0x229a30=_0x12bf33);const _0x37228e=_0x3d7862['slice'](_0x4eec5b,_0x229a30);_0x57cf52===0x2c?(_0x167efa(_0x7ae6d7,_0x37228e,_0x4094c8),_0x4094c8=Object['create'](null)):_0x3a2400=_0x37228e,_0x4eec5b=_0x229a30=-0x1;}else throw new SyntaxError(_0x305172(0x2b2)+_0x12bf33);}}}else{if(_0x31a169===void 0x0){if(_0x229a30===-0x1&&_0x4fbd86[_0x57cf52]===0x1)_0x4eec5b===-0x1&&(_0x4eec5b=_0x12bf33);else{if(_0x57cf52===0x20||_0x57cf52===0x9)_0x229a30===-0x1&&_0x4eec5b!==-0x1&&(_0x229a30=_0x12bf33);else{if(_0x57cf52===0x3b||_0x57cf52===0x2c){if(_0x4eec5b===-0x1)throw new SyntaxError(_0x305172(0x2b2)+_0x12bf33);_0x229a30===-0x1&&(_0x229a30=_0x12bf33),_0x167efa(_0x4094c8,_0x3d7862['slice'](_0x4eec5b,_0x229a30),!0x0),_0x57cf52===0x2c&&(_0x167efa(_0x7ae6d7,_0x3a2400,_0x4094c8),_0x4094c8=Object[_0x305172(0x29d)](null),_0x3a2400=void 0x0),_0x4eec5b=_0x229a30=-0x1;}else{if(_0x57cf52===0x3d&&_0x4eec5b!==-0x1&&_0x229a30===-0x1)_0x31a169=_0x3d7862[_0x305172(0x30e)](_0x4eec5b,_0x12bf33),_0x4eec5b=_0x229a30=-0x1;else throw new SyntaxError(_0x305172(0x2b2)+_0x12bf33);}}}}else{if(_0x2d5db0){if(_0x4fbd86[_0x57cf52]!==0x1)throw new SyntaxError(_0x305172(0x2b2)+_0x12bf33);_0x4eec5b===-0x1?_0x4eec5b=_0x12bf33:_0xfad1aa||(_0xfad1aa=!0x0),_0x2d5db0=!0x1;}else{if(_0x534e2e){if(_0x4fbd86[_0x57cf52]===0x1)_0x4eec5b===-0x1&&(_0x4eec5b=_0x12bf33);else{if(_0x57cf52===0x22&&_0x4eec5b!==-0x1)_0x534e2e=!0x1,_0x229a30=_0x12bf33;else{if(_0x57cf52===0x5c)_0x2d5db0=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x12bf33);}}}else{if(_0x57cf52===0x22&&_0x3d7862[_0x305172(0x267)](_0x12bf33-0x1)===0x3d)_0x534e2e=!0x0;else{if(_0x229a30===-0x1&&_0x4fbd86[_0x57cf52]===0x1)_0x4eec5b===-0x1&&(_0x4eec5b=_0x12bf33);else{if(_0x4eec5b!==-0x1&&(_0x57cf52===0x20||_0x57cf52===0x9))_0x229a30===-0x1&&(_0x229a30=_0x12bf33);else{if(_0x57cf52===0x3b||_0x57cf52===0x2c){if(_0x4eec5b===-0x1)throw new SyntaxError(_0x305172(0x2b2)+_0x12bf33);_0x229a30===-0x1&&(_0x229a30=_0x12bf33);let _0x56743b=_0x3d7862['slice'](_0x4eec5b,_0x229a30);_0xfad1aa&&(_0x56743b=_0x56743b['replace'](/\\/g,''),_0xfad1aa=!0x1),_0x167efa(_0x4094c8,_0x31a169,_0x56743b),_0x57cf52===0x2c&&(_0x167efa(_0x7ae6d7,_0x3a2400,_0x4094c8),_0x4094c8=Object[_0x305172(0x29d)](null),_0x3a2400=void 0x0),_0x31a169=void 0x0,_0x4eec5b=_0x229a30=-0x1;}else throw new SyntaxError(_0x305172(0x2b2)+_0x12bf33);}}}}}}}if(_0x4eec5b===-0x1||_0x534e2e||_0x57cf52===0x20||_0x57cf52===0x9)throw new SyntaxError(_0x305172(0x2cc));_0x229a30===-0x1&&(_0x229a30=_0x12bf33);const _0x517d6c=_0x3d7862['slice'](_0x4eec5b,_0x229a30);return _0x3a2400===void 0x0?_0x167efa(_0x7ae6d7,_0x517d6c,_0x4094c8):(_0x31a169===void 0x0?_0x167efa(_0x4094c8,_0x517d6c,!0x0):_0xfad1aa?_0x167efa(_0x4094c8,_0x31a169,_0x517d6c[_0x305172(0x28e)](/\\/g,'')):_0x167efa(_0x4094c8,_0x31a169,_0x517d6c),_0x167efa(_0x7ae6d7,_0x3a2400,_0x4094c8)),_0x7ae6d7;}function _0x271f05(_0x1c8e7d){const _0x541e5d=_0xd40e;return Object['keys'](_0x1c8e7d)[_0x541e5d(0x2a4)](_0x31c238=>{const _0x5e0c1a=_0x541e5d;let _0x106ba6=_0x1c8e7d[_0x31c238];return Array[_0x5e0c1a(0x23d)](_0x106ba6)||(_0x106ba6=[_0x106ba6]),_0x106ba6[_0x5e0c1a(0x2a4)](_0x19b713=>[_0x31c238][_0x5e0c1a(0x17d)](Object[_0x5e0c1a(0x22e)](_0x19b713)['map'](_0x2bb23a=>{const _0x6cc88a=_0x5e0c1a;let _0x271289=_0x19b713[_0x2bb23a];return Array[_0x6cc88a(0x23d)](_0x271289)||(_0x271289=[_0x271289]),_0x271289['map'](_0x51d968=>_0x51d968===!0x0?_0x2bb23a:_0x2bb23a+'='+_0x51d968)[_0x6cc88a(0x170)](';\x20');}))[_0x5e0c1a(0x170)](';\x20'))[_0x5e0c1a(0x170)](',\x20');})[_0x541e5d(0x170)](',\x20');}return be={'format':_0x271f05,'parse':_0x2ebf70},be;}var we,st;function Ie(){const _0x2367f=_0x2be760;if(st)return we;st=0x1;const _0x561769=_0x425d08,_0x1d1662=_0x3d505,_0x560c78=_0x3b26bc,_0x470fc6=_0x2a7499,_0x2db167=_0x58a5a6,{randomBytes:_0x351efa,createHash:_0x401174}=_0x118541,{Duplex:_0xd8ec9e,Readable:_0x20e1b2}=_0x19e32e,{URL:_0x4e6785}=_0xfc2042,_0x57843c=he(),_0x1cc447=dt(),_0x573d7b=_t(),{isBlob:_0x188524}=ne(),{BINARY_TYPES:_0x3854f0,EMPTY_BUFFER:_0x57fcb2,GUID:_0x5d4ff1,kForOnEventAttribute:_0x1a41e5,kListener:_0x4c4016,kStatusCode:_0x5fb1d3,kWebSocket:_0x3c7f9c,NOOP:_0xc0d57f}=V(),{EventTarget:{addEventListener:_0x441d39,removeEventListener:_0xf5b9c6}}=Kt(),{format:_0x228e1e,parse:_0x256ae8}=pt(),{toBuffer:_0x514936}=ce(),_0x16c5bf=0x1e*0x3e8,_0x3eb56b=Symbol('kAborted'),_0x2ebb1f=[0x8,0xd],_0x3ef35e=[_0x2367f(0x24a),'OPEN',_0x2367f(0x2be),_0x2367f(0x26c)],_0x5c072d=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3b3fc7 extends _0x561769{constructor(_0x5c298b,_0x115633,_0x35d7d3){const _0x42b2a1=_0x2367f;super(),this['_binaryType']=_0x3854f0[0x0],this[_0x42b2a1(0x2bc)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x42b2a1(0x223)]=!0x1,this[_0x42b2a1(0x243)]=_0x57fcb2,this['_closeTimer']=null,this['_errorEmitted']=!0x1,this[_0x42b2a1(0x25d)]={},this[_0x42b2a1(0x254)]=!0x1,this['_protocol']='',this[_0x42b2a1(0x1d7)]=_0x3b3fc7[_0x42b2a1(0x24a)],this['_receiver']=null,this[_0x42b2a1(0x188)]=null,this[_0x42b2a1(0x2ed)]=null,_0x5c298b!==null?(this[_0x42b2a1(0x276)]=0x0,this[_0x42b2a1(0x221)]=!0x1,this[_0x42b2a1(0x314)]=0x0,_0x115633===void 0x0?_0x115633=[]:Array['isArray'](_0x115633)||(typeof _0x115633=='object'&&_0x115633!==null?(_0x35d7d3=_0x115633,_0x115633=[]):_0x115633=[_0x115633]),_0x5474e6(this,_0x5c298b,_0x115633,_0x35d7d3)):(this['_autoPong']=_0x35d7d3[_0x42b2a1(0x2f0)],this[_0x42b2a1(0x221)]=!0x0);}get[_0x2367f(0x205)](){return this['_binaryType'];}set[_0x2367f(0x205)](_0x59db79){const _0x1f2519=_0x2367f;_0x3854f0['includes'](_0x59db79)&&(this[_0x1f2519(0x261)]=_0x59db79,this[_0x1f2519(0x2d6)]&&(this['_receiver'][_0x1f2519(0x261)]=_0x59db79));}get['bufferedAmount'](){const _0x2c8a36=_0x2367f;return this[_0x2c8a36(0x2ed)]?this[_0x2c8a36(0x2ed)]['_writableState']['length']+this[_0x2c8a36(0x188)][_0x2c8a36(0x259)]:this[_0x2c8a36(0x276)];}get[_0x2367f(0x312)](){const _0x2f1e24=_0x2367f;return Object[_0x2f1e24(0x22e)](this[_0x2f1e24(0x25d)])[_0x2f1e24(0x170)]();}get['isPaused'](){return this['_paused'];}get[_0x2367f(0x168)](){return null;}get[_0x2367f(0x210)](){return null;}get[_0x2367f(0x16d)](){return null;}get['onmessage'](){return null;}get['protocol'](){return this['_protocol'];}get[_0x2367f(0x2e8)](){const _0x445857=_0x2367f;return this[_0x445857(0x1d7)];}get[_0x2367f(0x271)](){const _0x328f80=_0x2367f;return this[_0x328f80(0x1e6)];}[_0x2367f(0x28b)](_0x9ac94e,_0x213fe1,_0x43f0ba){const _0x5c71a1=_0x2367f,_0x53dc59=new _0x1cc447({'allowSynchronousEvents':_0x43f0ba[_0x5c71a1(0x313)],'binaryType':this['binaryType'],'extensions':this['_extensions'],'isServer':this[_0x5c71a1(0x221)],'maxPayload':_0x43f0ba[_0x5c71a1(0x1ef)],'skipUTF8Validation':_0x43f0ba[_0x5c71a1(0x288)]}),_0x16e6cd=new _0x573d7b(_0x9ac94e,this[_0x5c71a1(0x25d)],_0x43f0ba[_0x5c71a1(0x2cf)]);this[_0x5c71a1(0x2d6)]=_0x53dc59,this[_0x5c71a1(0x188)]=_0x16e6cd,this[_0x5c71a1(0x2ed)]=_0x9ac94e,_0x53dc59[_0x3c7f9c]=this,_0x16e6cd[_0x3c7f9c]=this,_0x9ac94e[_0x3c7f9c]=this,_0x53dc59['on'](_0x5c71a1(0x1a5),_0x55891f),_0x53dc59['on'](_0x5c71a1(0x1cc),_0x1b5fb5),_0x53dc59['on'](_0x5c71a1(0x2ca),_0x994c4f),_0x53dc59['on'](_0x5c71a1(0x2b7),_0x531219),_0x53dc59['on']('ping',_0x318c58),_0x53dc59['on'](_0x5c71a1(0x263),_0x4553e2),_0x16e6cd[_0x5c71a1(0x210)]=_0x51a017,_0x9ac94e['setTimeout']&&_0x9ac94e[_0x5c71a1(0x1cf)](0x0),_0x9ac94e['setNoDelay']&&_0x9ac94e[_0x5c71a1(0x1ae)](),_0x213fe1[_0x5c71a1(0x2e4)]>0x0&&_0x9ac94e[_0x5c71a1(0x2ba)](_0x213fe1),_0x9ac94e['on'](_0x5c71a1(0x163),_0x16b066),_0x9ac94e['on'](_0x5c71a1(0x2a1),_0x37dfa9),_0x9ac94e['on'](_0x5c71a1(0x1d8),_0x332ca1),_0x9ac94e['on'](_0x5c71a1(0x2ca),_0x1e72f6),this[_0x5c71a1(0x1d7)]=_0x3b3fc7['OPEN'],this[_0x5c71a1(0x287)](_0x5c71a1(0x217));}[_0x2367f(0x2a6)](){const _0x6cd093=_0x2367f;if(!this[_0x6cd093(0x2ed)]){this[_0x6cd093(0x1d7)]=_0x3b3fc7[_0x6cd093(0x26c)],this[_0x6cd093(0x287)]('close',this['_closeCode'],this[_0x6cd093(0x243)]);return;}this[_0x6cd093(0x25d)][_0x57843c[_0x6cd093(0x289)]]&&this['_extensions'][_0x57843c[_0x6cd093(0x289)]][_0x6cd093(0x1bb)](),this[_0x6cd093(0x2d6)][_0x6cd093(0x178)](),this[_0x6cd093(0x1d7)]=_0x3b3fc7[_0x6cd093(0x26c)],this[_0x6cd093(0x287)](_0x6cd093(0x163),this[_0x6cd093(0x2bc)],this[_0x6cd093(0x243)]);}[_0x2367f(0x163)](_0x38c2df,_0x12636d){const _0x156f0a=_0x2367f;if(this[_0x156f0a(0x2e8)]!==_0x3b3fc7[_0x156f0a(0x26c)]){if(this[_0x156f0a(0x2e8)]===_0x3b3fc7['CONNECTING']){_0x56f50c(this,this[_0x156f0a(0x1dd)],_0x156f0a(0x2cd));return;}if(this[_0x156f0a(0x2e8)]===_0x3b3fc7[_0x156f0a(0x2be)]){this['_closeFrameSent']&&(this[_0x156f0a(0x262)]||this[_0x156f0a(0x2d6)][_0x156f0a(0x1ed)][_0x156f0a(0x204)])&&this[_0x156f0a(0x2ed)][_0x156f0a(0x1d8)]();return;}this['_readyState']=_0x3b3fc7[_0x156f0a(0x2be)],this[_0x156f0a(0x188)][_0x156f0a(0x163)](_0x38c2df,_0x12636d,!this[_0x156f0a(0x221)],_0x588d22=>{const _0x551988=_0x156f0a;_0x588d22||(this['_closeFrameSent']=!0x0,(this[_0x551988(0x262)]||this[_0x551988(0x2d6)][_0x551988(0x1ed)][_0x551988(0x204)])&&this[_0x551988(0x2ed)][_0x551988(0x1d8)]());}),_0xe1934e(this);}}[_0x2367f(0x2b9)](){const _0x4d991e=_0x2367f;this[_0x4d991e(0x2e8)]===_0x3b3fc7[_0x4d991e(0x24a)]||this['readyState']===_0x3b3fc7[_0x4d991e(0x26c)]||(this[_0x4d991e(0x254)]=!0x0,this[_0x4d991e(0x2ed)]['pause']());}[_0x2367f(0x18d)](_0x5e729c,_0x480b5e,_0x352111){const _0xac4c7=_0x2367f;if(this[_0xac4c7(0x2e8)]===_0x3b3fc7['CONNECTING'])throw new Error(_0xac4c7(0x293));if(typeof _0x5e729c=='function'?(_0x352111=_0x5e729c,_0x5e729c=_0x480b5e=void 0x0):typeof _0x480b5e==_0xac4c7(0x20a)&&(_0x352111=_0x480b5e,_0x480b5e=void 0x0),typeof _0x5e729c==_0xac4c7(0x273)&&(_0x5e729c=_0x5e729c['toString']()),this[_0xac4c7(0x2e8)]!==_0x3b3fc7[_0xac4c7(0x274)]){_0x2a2d0f(this,_0x5e729c,_0x352111);return;}_0x480b5e===void 0x0&&(_0x480b5e=!this[_0xac4c7(0x221)]),this['_sender'][_0xac4c7(0x18d)](_0x5e729c||_0x57fcb2,_0x480b5e,_0x352111);}[_0x2367f(0x263)](_0x3ad6df,_0x13b7b0,_0x3abac7){const _0x20367a=_0x2367f;if(this[_0x20367a(0x2e8)]===_0x3b3fc7[_0x20367a(0x24a)])throw new Error(_0x20367a(0x293));if(typeof _0x3ad6df==_0x20367a(0x20a)?(_0x3abac7=_0x3ad6df,_0x3ad6df=_0x13b7b0=void 0x0):typeof _0x13b7b0==_0x20367a(0x20a)&&(_0x3abac7=_0x13b7b0,_0x13b7b0=void 0x0),typeof _0x3ad6df==_0x20367a(0x273)&&(_0x3ad6df=_0x3ad6df[_0x20367a(0x2aa)]()),this[_0x20367a(0x2e8)]!==_0x3b3fc7['OPEN']){_0x2a2d0f(this,_0x3ad6df,_0x3abac7);return;}_0x13b7b0===void 0x0&&(_0x13b7b0=!this[_0x20367a(0x221)]),this[_0x20367a(0x188)][_0x20367a(0x263)](_0x3ad6df||_0x57fcb2,_0x13b7b0,_0x3abac7);}['resume'](){const _0x2156f7=_0x2367f;this['readyState']===_0x3b3fc7[_0x2156f7(0x24a)]||this[_0x2156f7(0x2e8)]===_0x3b3fc7[_0x2156f7(0x26c)]||(this[_0x2156f7(0x254)]=!0x1,this[_0x2156f7(0x2d6)][_0x2156f7(0x1ed)]['needDrain']||this[_0x2156f7(0x2ed)]['resume']());}[_0x2367f(0x1b2)](_0x1f346c,_0x3da7dd,_0x2f9742){const _0x2fede1=_0x2367f;if(this['readyState']===_0x3b3fc7[_0x2fede1(0x24a)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3da7dd==_0x2fede1(0x20a)&&(_0x2f9742=_0x3da7dd,_0x3da7dd={}),typeof _0x1f346c==_0x2fede1(0x273)&&(_0x1f346c=_0x1f346c[_0x2fede1(0x2aa)]()),this[_0x2fede1(0x2e8)]!==_0x3b3fc7['OPEN']){_0x2a2d0f(this,_0x1f346c,_0x2f9742);return;}const _0x3b2968={'binary':typeof _0x1f346c!=_0x2fede1(0x300),'mask':!this[_0x2fede1(0x221)],'compress':!0x0,'fin':!0x0,..._0x3da7dd};this[_0x2fede1(0x25d)][_0x57843c['extensionName']]||(_0x3b2968['compress']=!0x1),this[_0x2fede1(0x188)][_0x2fede1(0x1b2)](_0x1f346c||_0x57fcb2,_0x3b2968,_0x2f9742);}[_0x2367f(0x174)](){const _0x14ad41=_0x2367f;if(this[_0x14ad41(0x2e8)]!==_0x3b3fc7['CLOSED']){if(this[_0x14ad41(0x2e8)]===_0x3b3fc7[_0x14ad41(0x24a)]){_0x56f50c(this,this[_0x14ad41(0x1dd)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this['_socket']&&(this[_0x14ad41(0x1d7)]=_0x3b3fc7['CLOSING'],this[_0x14ad41(0x2ed)]['destroy']());}}}Object['defineProperty'](_0x3b3fc7,_0x2367f(0x24a),{'enumerable':!0x0,'value':_0x3ef35e[_0x2367f(0x286)]('CONNECTING')}),Object['defineProperty'](_0x3b3fc7[_0x2367f(0x208)],_0x2367f(0x24a),{'enumerable':!0x0,'value':_0x3ef35e[_0x2367f(0x286)](_0x2367f(0x24a))}),Object[_0x2367f(0x27f)](_0x3b3fc7,'OPEN',{'enumerable':!0x0,'value':_0x3ef35e[_0x2367f(0x286)](_0x2367f(0x274))}),Object[_0x2367f(0x27f)](_0x3b3fc7[_0x2367f(0x208)],_0x2367f(0x274),{'enumerable':!0x0,'value':_0x3ef35e[_0x2367f(0x286)](_0x2367f(0x274))}),Object[_0x2367f(0x27f)](_0x3b3fc7,'CLOSING',{'enumerable':!0x0,'value':_0x3ef35e['indexOf'](_0x2367f(0x2be))}),Object[_0x2367f(0x27f)](_0x3b3fc7[_0x2367f(0x208)],_0x2367f(0x2be),{'enumerable':!0x0,'value':_0x3ef35e[_0x2367f(0x286)](_0x2367f(0x2be))}),Object[_0x2367f(0x27f)](_0x3b3fc7,_0x2367f(0x26c),{'enumerable':!0x0,'value':_0x3ef35e[_0x2367f(0x286)](_0x2367f(0x26c))}),Object[_0x2367f(0x27f)](_0x3b3fc7['prototype'],_0x2367f(0x26c),{'enumerable':!0x0,'value':_0x3ef35e[_0x2367f(0x286)]('CLOSED')}),['binaryType',_0x2367f(0x1fa),_0x2367f(0x312),_0x2367f(0x282),_0x2367f(0x20e),_0x2367f(0x2e8),'url'][_0x2367f(0x20f)](_0x17113d=>{const _0x518a66=_0x2367f;Object[_0x518a66(0x27f)](_0x3b3fc7[_0x518a66(0x208)],_0x17113d,{'enumerable':!0x0});}),['open','error',_0x2367f(0x163),_0x2367f(0x2b7)][_0x2367f(0x20f)](_0x36a24a=>{const _0x4117f1=_0x2367f;Object[_0x4117f1(0x27f)](_0x3b3fc7[_0x4117f1(0x208)],'on'+_0x36a24a,{'enumerable':!0x0,'get'(){for(const _0x4ef055 of this['listeners'](_0x36a24a))if(_0x4ef055[_0x1a41e5])return _0x4ef055[_0x4c4016];return null;},'set'(_0xed7b2){const _0x9f7019=_0x4117f1;for(const _0x9b5b03 of this[_0x9f7019(0x307)](_0x36a24a))if(_0x9b5b03[_0x1a41e5]){this['removeListener'](_0x36a24a,_0x9b5b03);break;}typeof _0xed7b2==_0x9f7019(0x20a)&&this[_0x9f7019(0x275)](_0x36a24a,_0xed7b2,{[_0x1a41e5]:!0x0});}});}),_0x3b3fc7['prototype'][_0x2367f(0x275)]=_0x441d39,_0x3b3fc7[_0x2367f(0x208)][_0x2367f(0x1e2)]=_0xf5b9c6,we=_0x3b3fc7;function _0x5474e6(_0x2fbff8,_0x22b48f,_0x3d3586,_0x7e8fd9){const _0x1b0587=_0x2367f,_0x2f59b0={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2ebb1f[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x7e8fd9,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x1b0587(0x180),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x2fbff8[_0x1b0587(0x252)]=_0x2f59b0[_0x1b0587(0x2f0)],!_0x2ebb1f[_0x1b0587(0x277)](_0x2f59b0[_0x1b0587(0x176)]))throw new RangeError(_0x1b0587(0x240)+_0x2f59b0[_0x1b0587(0x176)]+'\x20(supported\x20versions:\x20'+_0x2ebb1f[_0x1b0587(0x170)](',\x20')+')');let _0x4e9158;if(_0x22b48f instanceof _0x4e6785)_0x4e9158=_0x22b48f;else try{_0x4e9158=new _0x4e6785(_0x22b48f);}catch{throw new SyntaxError(_0x1b0587(0x279)+_0x22b48f);}_0x4e9158['protocol']==='http:'?_0x4e9158['protocol']=_0x1b0587(0x306):_0x4e9158[_0x1b0587(0x20e)]===_0x1b0587(0x1d5)&&(_0x4e9158['protocol']=_0x1b0587(0x1c3)),_0x2fbff8[_0x1b0587(0x1e6)]=_0x4e9158[_0x1b0587(0x23a)];const _0x36f0e0=_0x4e9158[_0x1b0587(0x20e)]===_0x1b0587(0x1c3),_0x43e5ba=_0x4e9158[_0x1b0587(0x20e)]===_0x1b0587(0x278);let _0xa56d51;if(_0x4e9158['protocol']!=='ws:'&&!_0x36f0e0&&!_0x43e5ba?_0xa56d51=_0x1b0587(0x285):_0x43e5ba&&!_0x4e9158[_0x1b0587(0x1ee)]?_0xa56d51='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x4e9158[_0x1b0587(0x1f2)]&&(_0xa56d51=_0x1b0587(0x1b0)),_0xa56d51){const _0x1e237a=new SyntaxError(_0xa56d51);if(_0x2fbff8[_0x1b0587(0x314)]===0x0)throw _0x1e237a;_0x382752(_0x2fbff8,_0x1e237a);return;}const _0x521c38=_0x36f0e0?0x1bb:0x50,_0x14c047=_0x351efa(0x10)[_0x1b0587(0x2aa)](_0x1b0587(0x1ff)),_0x1fec1a=_0x36f0e0?_0x1d1662[_0x1b0587(0x29a)]:_0x560c78['request'],_0x24fbdc=new Set();let _0x3009c1;if(_0x2f59b0['createConnection']=_0x2f59b0[_0x1b0587(0x258)]||(_0x36f0e0?_0x524ce6:_0x1569f5),_0x2f59b0[_0x1b0587(0x1c0)]=_0x2f59b0[_0x1b0587(0x1c0)]||_0x521c38,_0x2f59b0['port']=_0x4e9158['port']||_0x521c38,_0x2f59b0[_0x1b0587(0x30a)]=_0x4e9158[_0x1b0587(0x21b)][_0x1b0587(0x283)]('[')?_0x4e9158['hostname']['slice'](0x1,-0x1):_0x4e9158[_0x1b0587(0x21b)],_0x2f59b0[_0x1b0587(0x27c)]={..._0x2f59b0[_0x1b0587(0x27c)],'Sec-WebSocket-Version':_0x2f59b0[_0x1b0587(0x176)],'Sec-WebSocket-Key':_0x14c047,'Connection':_0x1b0587(0x16f),'Upgrade':_0x1b0587(0x215)},_0x2f59b0[_0x1b0587(0x234)]=_0x4e9158['pathname']+_0x4e9158[_0x1b0587(0x1e9)],_0x2f59b0['timeout']=_0x2f59b0['handshakeTimeout'],_0x2f59b0[_0x1b0587(0x28a)]&&(_0x3009c1=new _0x57843c(_0x2f59b0[_0x1b0587(0x28a)]!==!0x0?_0x2f59b0[_0x1b0587(0x28a)]:{},!0x1,_0x2f59b0['maxPayload']),_0x2f59b0[_0x1b0587(0x27c)][_0x1b0587(0x2a3)]=_0x228e1e({[_0x57843c['extensionName']]:_0x3009c1[_0x1b0587(0x2ac)]()})),_0x3d3586[_0x1b0587(0x2e4)]){for(const _0x4b8526 of _0x3d3586){if(typeof _0x4b8526!=_0x1b0587(0x300)||!_0x5c072d[_0x1b0587(0x19f)](_0x4b8526)||_0x24fbdc[_0x1b0587(0x30f)](_0x4b8526))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x24fbdc[_0x1b0587(0x26b)](_0x4b8526);}_0x2f59b0['headers'][_0x1b0587(0x2fd)]=_0x3d3586[_0x1b0587(0x170)](',');}if(_0x2f59b0['origin']&&(_0x2f59b0[_0x1b0587(0x176)]<0xd?_0x2f59b0[_0x1b0587(0x27c)][_0x1b0587(0x284)]=_0x2f59b0['origin']:_0x2f59b0[_0x1b0587(0x27c)]['Origin']=_0x2f59b0[_0x1b0587(0x25f)]),(_0x4e9158[_0x1b0587(0x2ee)]||_0x4e9158[_0x1b0587(0x167)])&&(_0x2f59b0[_0x1b0587(0x1bc)]=_0x4e9158[_0x1b0587(0x2ee)]+':'+_0x4e9158[_0x1b0587(0x167)]),_0x43e5ba){const _0x5c4f54=_0x2f59b0[_0x1b0587(0x234)][_0x1b0587(0x231)](':');_0x2f59b0[_0x1b0587(0x264)]=_0x5c4f54[0x0],_0x2f59b0[_0x1b0587(0x234)]=_0x5c4f54[0x1];}let _0x321059;if(_0x2f59b0['followRedirects']){if(_0x2fbff8[_0x1b0587(0x314)]===0x0){_0x2fbff8[_0x1b0587(0x311)]=_0x43e5ba,_0x2fbff8[_0x1b0587(0x2fb)]=_0x36f0e0,_0x2fbff8[_0x1b0587(0x2b8)]=_0x43e5ba?_0x2f59b0[_0x1b0587(0x264)]:_0x4e9158[_0x1b0587(0x30a)];const _0x4bce86=_0x7e8fd9&&_0x7e8fd9[_0x1b0587(0x27c)];if(_0x7e8fd9={..._0x7e8fd9,'headers':{}},_0x4bce86){for(const [_0x312aae,_0x4c9c02]of Object['entries'](_0x4bce86))_0x7e8fd9[_0x1b0587(0x27c)][_0x312aae[_0x1b0587(0x1be)]()]=_0x4c9c02;}}else{if(_0x2fbff8[_0x1b0587(0x1fb)](_0x1b0587(0x235))===0x0){const _0x135676=_0x43e5ba?_0x2fbff8[_0x1b0587(0x311)]?_0x2f59b0[_0x1b0587(0x264)]===_0x2fbff8[_0x1b0587(0x2b8)]:!0x1:_0x2fbff8[_0x1b0587(0x311)]?!0x1:_0x4e9158[_0x1b0587(0x30a)]===_0x2fbff8['_originalHostOrSocketPath'];(!_0x135676||_0x2fbff8[_0x1b0587(0x2fb)]&&!_0x36f0e0)&&(delete _0x2f59b0[_0x1b0587(0x27c)]['authorization'],delete _0x2f59b0['headers'][_0x1b0587(0x251)],_0x135676||delete _0x2f59b0[_0x1b0587(0x27c)][_0x1b0587(0x30a)],_0x2f59b0[_0x1b0587(0x1bc)]=void 0x0);}}_0x2f59b0['auth']&&!_0x7e8fd9[_0x1b0587(0x27c)][_0x1b0587(0x2b6)]&&(_0x7e8fd9[_0x1b0587(0x27c)][_0x1b0587(0x2b6)]='Basic\x20'+Buffer[_0x1b0587(0x1e1)](_0x2f59b0[_0x1b0587(0x1bc)])[_0x1b0587(0x2aa)](_0x1b0587(0x1ff))),_0x321059=_0x2fbff8[_0x1b0587(0x1dd)]=_0x1fec1a(_0x2f59b0),_0x2fbff8[_0x1b0587(0x314)]&&_0x2fbff8['emit']('redirect',_0x2fbff8[_0x1b0587(0x271)],_0x321059);}else _0x321059=_0x2fbff8[_0x1b0587(0x1dd)]=_0x1fec1a(_0x2f59b0);_0x2f59b0[_0x1b0587(0x1c5)]&&_0x321059['on']('timeout',()=>{const _0x274fdb=_0x1b0587;_0x56f50c(_0x2fbff8,_0x321059,_0x274fdb(0x25e));}),_0x321059['on'](_0x1b0587(0x2ca),_0xac6a64=>{_0x321059===null||_0x321059[_0x3eb56b]||(_0x321059=_0x2fbff8['_req']=null,_0x382752(_0x2fbff8,_0xac6a64));}),_0x321059['on'](_0x1b0587(0x1b6),_0x2e5266=>{const _0x31fb5b=_0x1b0587,_0x3c76cf=_0x2e5266[_0x31fb5b(0x27c)][_0x31fb5b(0x173)],_0x181ae=_0x2e5266[_0x31fb5b(0x246)];if(_0x3c76cf&&_0x2f59b0['followRedirects']&&_0x181ae>=0x12c&&_0x181ae<0x190){if(++_0x2fbff8[_0x31fb5b(0x314)]>_0x2f59b0['maxRedirects']){_0x56f50c(_0x2fbff8,_0x321059,_0x31fb5b(0x304));return;}_0x321059[_0x31fb5b(0x1b5)]();let _0x52fe70;try{_0x52fe70=new _0x4e6785(_0x3c76cf,_0x22b48f);}catch{const _0x1eba4f=new SyntaxError(_0x31fb5b(0x279)+_0x3c76cf);_0x382752(_0x2fbff8,_0x1eba4f);return;}_0x5474e6(_0x2fbff8,_0x52fe70,_0x3d3586,_0x7e8fd9);}else _0x2fbff8['emit'](_0x31fb5b(0x21f),_0x321059,_0x2e5266)||_0x56f50c(_0x2fbff8,_0x321059,_0x31fb5b(0x2da)+_0x2e5266['statusCode']);}),_0x321059['on'](_0x1b0587(0x2e1),(_0xb8d504,_0x2e9cbc,_0x3ce637)=>{const _0xa4cfc6=_0x1b0587;if(_0x2fbff8[_0xa4cfc6(0x287)](_0xa4cfc6(0x2e1),_0xb8d504),_0x2fbff8[_0xa4cfc6(0x2e8)]!==_0x3b3fc7['CONNECTING'])return;_0x321059=_0x2fbff8[_0xa4cfc6(0x1dd)]=null;const _0x4a1664=_0xb8d504['headers'][_0xa4cfc6(0x2e1)];if(_0x4a1664===void 0x0||_0x4a1664[_0xa4cfc6(0x1be)]()!=='websocket'){_0x56f50c(_0x2fbff8,_0x2e9cbc,_0xa4cfc6(0x17e));return;}const _0x5da2f4=_0x401174(_0xa4cfc6(0x224))['update'](_0x14c047+_0x5d4ff1)[_0xa4cfc6(0x193)](_0xa4cfc6(0x1ff));if(_0xb8d504[_0xa4cfc6(0x27c)][_0xa4cfc6(0x222)]!==_0x5da2f4){_0x56f50c(_0x2fbff8,_0x2e9cbc,_0xa4cfc6(0x305));return;}const _0x4ecb43=_0xb8d504[_0xa4cfc6(0x27c)][_0xa4cfc6(0x2df)];let _0x575889;if(_0x4ecb43!==void 0x0?_0x24fbdc[_0xa4cfc6(0x2ad)]?_0x24fbdc[_0xa4cfc6(0x30f)](_0x4ecb43)||(_0x575889=_0xa4cfc6(0x2d8)):_0x575889=_0xa4cfc6(0x228):_0x24fbdc['size']&&(_0x575889=_0xa4cfc6(0x17b)),_0x575889){_0x56f50c(_0x2fbff8,_0x2e9cbc,_0x575889);return;}_0x4ecb43&&(_0x2fbff8[_0xa4cfc6(0x2d2)]=_0x4ecb43);const _0x14e117=_0xb8d504[_0xa4cfc6(0x27c)][_0xa4cfc6(0x2bd)];if(_0x14e117!==void 0x0){if(!_0x3009c1){_0x56f50c(_0x2fbff8,_0x2e9cbc,_0xa4cfc6(0x184));return;}let _0x3d7361;try{_0x3d7361=_0x256ae8(_0x14e117);}catch{_0x56f50c(_0x2fbff8,_0x2e9cbc,_0xa4cfc6(0x212));return;}const _0x349e1f=Object[_0xa4cfc6(0x22e)](_0x3d7361);if(_0x349e1f['length']!==0x1||_0x349e1f[0x0]!==_0x57843c[_0xa4cfc6(0x289)]){_0x56f50c(_0x2fbff8,_0x2e9cbc,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x3009c1[_0xa4cfc6(0x2e0)](_0x3d7361[_0x57843c['extensionName']]);}catch{_0x56f50c(_0x2fbff8,_0x2e9cbc,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x2fbff8[_0xa4cfc6(0x25d)][_0x57843c[_0xa4cfc6(0x289)]]=_0x3009c1;}_0x2fbff8[_0xa4cfc6(0x28b)](_0x2e9cbc,_0x3ce637,{'allowSynchronousEvents':_0x2f59b0[_0xa4cfc6(0x313)],'generateMask':_0x2f59b0[_0xa4cfc6(0x2cf)],'maxPayload':_0x2f59b0['maxPayload'],'skipUTF8Validation':_0x2f59b0[_0xa4cfc6(0x288)]});}),_0x2f59b0['finishRequest']?_0x2f59b0[_0x1b0587(0x232)](_0x321059,_0x2fbff8):_0x321059[_0x1b0587(0x1d8)]();}function _0x382752(_0x4e010f,_0xbdfd7a){const _0x52b65b=_0x2367f;_0x4e010f[_0x52b65b(0x1d7)]=_0x3b3fc7['CLOSING'],_0x4e010f[_0x52b65b(0x19a)]=!0x0,_0x4e010f['emit'](_0x52b65b(0x2ca),_0xbdfd7a),_0x4e010f[_0x52b65b(0x2a6)]();}function _0x1569f5(_0x2c8a0f){const _0x2e7702=_0x2367f;return _0x2c8a0f[_0x2e7702(0x234)]=_0x2c8a0f['socketPath'],_0x470fc6[_0x2e7702(0x218)](_0x2c8a0f);}function _0x524ce6(_0x415075){const _0x4e3628=_0x2367f;return _0x415075[_0x4e3628(0x234)]=void 0x0,!_0x415075[_0x4e3628(0x2f4)]&&_0x415075[_0x4e3628(0x2f4)]!==''&&(_0x415075[_0x4e3628(0x2f4)]=_0x470fc6[_0x4e3628(0x187)](_0x415075[_0x4e3628(0x30a)])?'':_0x415075[_0x4e3628(0x30a)]),_0x2db167['connect'](_0x415075);}function _0x56f50c(_0x111392,_0x53b225,_0x1b7b52){const _0x4268d5=_0x2367f;_0x111392[_0x4268d5(0x1d7)]=_0x3b3fc7[_0x4268d5(0x2be)];const _0x593425=new Error(_0x1b7b52);Error['captureStackTrace'](_0x593425,_0x56f50c),_0x53b225[_0x4268d5(0x1a9)]?(_0x53b225[_0x3eb56b]=!0x0,_0x53b225[_0x4268d5(0x1b5)](),_0x53b225[_0x4268d5(0x2fe)]&&!_0x53b225[_0x4268d5(0x2fe)][_0x4268d5(0x192)]&&_0x53b225[_0x4268d5(0x2fe)][_0x4268d5(0x23e)](),process[_0x4268d5(0x2b0)](_0x382752,_0x111392,_0x593425)):(_0x53b225[_0x4268d5(0x23e)](_0x593425),_0x53b225[_0x4268d5(0x2ef)](_0x4268d5(0x2ca),_0x111392['emit'][_0x4268d5(0x216)](_0x111392,'error')),_0x53b225[_0x4268d5(0x2ef)]('close',_0x111392[_0x4268d5(0x2a6)]['bind'](_0x111392)));}function _0x2a2d0f(_0x534be2,_0x24df9c,_0x2a400a){const _0x5dcc6c=_0x2367f;if(_0x24df9c){const _0x36f88f=_0x188524(_0x24df9c)?_0x24df9c[_0x5dcc6c(0x2ad)]:_0x514936(_0x24df9c)[_0x5dcc6c(0x2e4)];_0x534be2[_0x5dcc6c(0x2ed)]?_0x534be2[_0x5dcc6c(0x188)][_0x5dcc6c(0x259)]+=_0x36f88f:_0x534be2[_0x5dcc6c(0x276)]+=_0x36f88f;}if(_0x2a400a){const _0x3f2df5=new Error(_0x5dcc6c(0x1e0)+_0x534be2[_0x5dcc6c(0x2e8)]+'\x20('+_0x3ef35e[_0x534be2[_0x5dcc6c(0x2e8)]]+')');process['nextTick'](_0x2a400a,_0x3f2df5);}}function _0x55891f(_0x38bc44,_0x3414bf){const _0xf74724=_0x2367f,_0x5a009f=this[_0x3c7f9c];_0x5a009f[_0xf74724(0x262)]=!0x0,_0x5a009f[_0xf74724(0x243)]=_0x3414bf,_0x5a009f[_0xf74724(0x2bc)]=_0x38bc44,_0x5a009f[_0xf74724(0x2ed)][_0x3c7f9c]!==void 0x0&&(_0x5a009f[_0xf74724(0x2ed)][_0xf74724(0x2d3)](_0xf74724(0x2a1),_0x37dfa9),process[_0xf74724(0x2b0)](_0x2360cc,_0x5a009f[_0xf74724(0x2ed)]),_0x38bc44===0x3ed?_0x5a009f[_0xf74724(0x163)]():_0x5a009f['close'](_0x38bc44,_0x3414bf));}function _0x1b5fb5(){const _0x1b3847=_0x2367f,_0x3b6c7a=this[_0x3c7f9c];_0x3b6c7a['isPaused']||_0x3b6c7a[_0x1b3847(0x2ed)][_0x1b3847(0x308)]();}function _0x994c4f(_0x115f97){const _0x510569=_0x2367f,_0x24e3ad=this[_0x3c7f9c];_0x24e3ad[_0x510569(0x2ed)][_0x3c7f9c]!==void 0x0&&(_0x24e3ad[_0x510569(0x2ed)][_0x510569(0x2d3)]('data',_0x37dfa9),process[_0x510569(0x2b0)](_0x2360cc,_0x24e3ad['_socket']),_0x24e3ad['close'](_0x115f97[_0x5fb1d3])),_0x24e3ad[_0x510569(0x19a)]||(_0x24e3ad[_0x510569(0x19a)]=!0x0,_0x24e3ad[_0x510569(0x287)](_0x510569(0x2ca),_0x115f97));}function _0xf6f873(){this[_0x3c7f9c]['emitClose']();}function _0x531219(_0x5a9e66,_0x7a3723){const _0x46e4e=_0x2367f;this[_0x3c7f9c][_0x46e4e(0x287)]('message',_0x5a9e66,_0x7a3723);}function _0x318c58(_0x574036){const _0x3dac00=_0x2367f,_0x29ebe0=this[_0x3c7f9c];_0x29ebe0[_0x3dac00(0x252)]&&_0x29ebe0[_0x3dac00(0x263)](_0x574036,!this[_0x3dac00(0x221)],_0xc0d57f),_0x29ebe0[_0x3dac00(0x287)](_0x3dac00(0x18d),_0x574036);}function _0x4553e2(_0x2ddb27){const _0x136b41=_0x2367f;this[_0x3c7f9c]['emit'](_0x136b41(0x263),_0x2ddb27);}function _0x2360cc(_0x45c5d8){_0x45c5d8['resume']();}function _0x51a017(_0x5f3e63){const _0x507d66=_0x2367f,_0x2ec8c6=this[_0x3c7f9c];_0x2ec8c6[_0x507d66(0x2e8)]!==_0x3b3fc7[_0x507d66(0x26c)]&&(_0x2ec8c6['readyState']===_0x3b3fc7['OPEN']&&(_0x2ec8c6[_0x507d66(0x1d7)]=_0x3b3fc7[_0x507d66(0x2be)],_0xe1934e(_0x2ec8c6)),this[_0x507d66(0x2ed)][_0x507d66(0x1d8)](),_0x2ec8c6['_errorEmitted']||(_0x2ec8c6[_0x507d66(0x19a)]=!0x0,_0x2ec8c6[_0x507d66(0x287)]('error',_0x5f3e63)));}function _0xe1934e(_0x4e4230){const _0x287d8e=_0x2367f;_0x4e4230['_closeTimer']=setTimeout(_0x4e4230[_0x287d8e(0x2ed)][_0x287d8e(0x23e)]['bind'](_0x4e4230[_0x287d8e(0x2ed)]),_0x16c5bf);}function _0x16b066(){const _0x567b35=_0x2367f,_0x19061f=this[_0x3c7f9c];this['removeListener'](_0x567b35(0x163),_0x16b066),this['removeListener']('data',_0x37dfa9),this['removeListener'](_0x567b35(0x1d8),_0x332ca1),_0x19061f[_0x567b35(0x1d7)]=_0x3b3fc7['CLOSING'];let _0x12cbed;!this[_0x567b35(0x2db)]['endEmitted']&&!_0x19061f[_0x567b35(0x262)]&&!_0x19061f[_0x567b35(0x2d6)][_0x567b35(0x1ed)][_0x567b35(0x204)]&&(_0x12cbed=_0x19061f[_0x567b35(0x2ed)][_0x567b35(0x1c6)]())!==null&&_0x19061f['_receiver'][_0x567b35(0x2d7)](_0x12cbed),_0x19061f[_0x567b35(0x2d6)]['end'](),this[_0x3c7f9c]=void 0x0,clearTimeout(_0x19061f[_0x567b35(0x265)]),_0x19061f[_0x567b35(0x2d6)]['_writableState'][_0x567b35(0x1d3)]||_0x19061f[_0x567b35(0x2d6)][_0x567b35(0x1ed)][_0x567b35(0x204)]?_0x19061f[_0x567b35(0x2a6)]():(_0x19061f[_0x567b35(0x2d6)]['on'](_0x567b35(0x2ca),_0xf6f873),_0x19061f[_0x567b35(0x2d6)]['on'](_0x567b35(0x272),_0xf6f873));}function _0x37dfa9(_0x27d9a8){const _0x21b56c=_0x2367f;this[_0x3c7f9c]['_receiver']['write'](_0x27d9a8)||this[_0x21b56c(0x2b9)]();}function _0x332ca1(){const _0x10675d=_0x2367f,_0xf5e35b=this[_0x3c7f9c];_0xf5e35b[_0x10675d(0x1d7)]=_0x3b3fc7['CLOSING'],_0xf5e35b[_0x10675d(0x2d6)]['end'](),this[_0x10675d(0x1d8)]();}function _0x1e72f6(){const _0x899482=_0x2367f,_0x2bc339=this[_0x3c7f9c];this[_0x899482(0x2d3)](_0x899482(0x2ca),_0x1e72f6),this['on'](_0x899482(0x2ca),_0xc0d57f),_0x2bc339&&(_0x2bc339[_0x899482(0x1d7)]=_0x3b3fc7['CLOSING'],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x1fff45}=_0x19e32e;function _0x488ca9(_0x5bf2b0){const _0x2b8076=_0xd40e;_0x5bf2b0[_0x2b8076(0x287)]('close');}function _0x4b8948(){const _0x45e983=_0xd40e;!this[_0x45e983(0x192)]&&this[_0x45e983(0x1ed)]['finished']&&this['destroy']();}function _0x1ab6de(_0x7a3d65){const _0x202e23=_0xd40e;this[_0x202e23(0x2d3)]('error',_0x1ab6de),this[_0x202e23(0x23e)](),this[_0x202e23(0x1fb)]('error')===0x0&&this[_0x202e23(0x287)]('error',_0x7a3d65);}function _0x5d7c4c(_0x2a260d,_0x3d4b10){const _0xf5b114=_0xd40e;let _0x442d95=!0x0;const _0x1f12ac=new _0x1fff45({..._0x3d4b10,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x2a260d['on'](_0xf5b114(0x2b7),function(_0x36b487,_0x205fc1){const _0x2f3f08=_0xf5b114,_0x4d325b=!_0x205fc1&&_0x1f12ac['_readableState'][_0x2f3f08(0x17a)]?_0x36b487[_0x2f3f08(0x2aa)]():_0x36b487;_0x1f12ac['push'](_0x4d325b)||_0x2a260d[_0x2f3f08(0x2b9)]();}),_0x2a260d['once'](_0xf5b114(0x2ca),function(_0x1b2a8e){const _0x4750e2=_0xf5b114;_0x1f12ac[_0x4750e2(0x192)]||(_0x442d95=!0x1,_0x1f12ac[_0x4750e2(0x23e)](_0x1b2a8e));}),_0x2a260d[_0xf5b114(0x2ef)](_0xf5b114(0x163),function(){const _0x41ba30=_0xf5b114;_0x1f12ac[_0x41ba30(0x192)]||_0x1f12ac[_0x41ba30(0x2ae)](null);}),_0x1f12ac[_0xf5b114(0x225)]=function(_0x5aa47b,_0x4f3700){const _0x63cae8=_0xf5b114;if(_0x2a260d[_0x63cae8(0x2e8)]===_0x2a260d[_0x63cae8(0x26c)]){_0x4f3700(_0x5aa47b),process[_0x63cae8(0x2b0)](_0x488ca9,_0x1f12ac);return;}let _0x5b312e=!0x1;_0x2a260d[_0x63cae8(0x2ef)](_0x63cae8(0x2ca),function(_0x2a406b){_0x5b312e=!0x0,_0x4f3700(_0x2a406b);}),_0x2a260d['once'](_0x63cae8(0x163),function(){const _0xbf220c=_0x63cae8;_0x5b312e||_0x4f3700(_0x5aa47b),process[_0xbf220c(0x2b0)](_0x488ca9,_0x1f12ac);}),_0x442d95&&_0x2a260d['terminate']();},_0x1f12ac['_final']=function(_0x15f81c){const _0x1fefcb=_0xf5b114;if(_0x2a260d[_0x1fefcb(0x2e8)]===_0x2a260d[_0x1fefcb(0x24a)]){_0x2a260d['once'](_0x1fefcb(0x217),function(){const _0x34956b=_0x1fefcb;_0x1f12ac[_0x34956b(0x2f3)](_0x15f81c);});return;}_0x2a260d['_socket']!==null&&(_0x2a260d['_socket'][_0x1fefcb(0x1ed)][_0x1fefcb(0x1d3)]?(_0x15f81c(),_0x1f12ac[_0x1fefcb(0x2db)]['endEmitted']&&_0x1f12ac['destroy']()):(_0x2a260d[_0x1fefcb(0x2ed)]['once'](_0x1fefcb(0x272),function(){_0x15f81c();}),_0x2a260d[_0x1fefcb(0x163)]()));},_0x1f12ac['_read']=function(){const _0x1f7377=_0xf5b114;_0x2a260d['isPaused']&&_0x2a260d[_0x1f7377(0x308)]();},_0x1f12ac[_0xf5b114(0x199)]=function(_0x311aa6,_0x52bc95,_0x5db135){const _0x3c4d50=_0xf5b114;if(_0x2a260d[_0x3c4d50(0x2e8)]===_0x2a260d[_0x3c4d50(0x24a)]){_0x2a260d[_0x3c4d50(0x2ef)](_0x3c4d50(0x217),function(){const _0x10e132=_0x3c4d50;_0x1f12ac[_0x10e132(0x199)](_0x311aa6,_0x52bc95,_0x5db135);});return;}_0x2a260d['send'](_0x311aa6,_0x5db135);},_0x1f12ac['on'](_0xf5b114(0x1d8),_0x4b8948),_0x1f12ac['on'](_0xf5b114(0x2ca),_0x1ab6de),_0x1f12ac;}return Oe=_0x5d7c4c,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x2d97bd}=ne();function _0x186f76(_0x2c9221){const _0x5d0358=_0xd40e,_0x149836=new Set();let _0x5cb98b=-0x1,_0x2ffc6c=-0x1,_0xc80939=0x0;for(_0xc80939;_0xc80939<_0x2c9221[_0x5d0358(0x2e4)];_0xc80939++){const _0x5c8ead=_0x2c9221[_0x5d0358(0x267)](_0xc80939);if(_0x2ffc6c===-0x1&&_0x2d97bd[_0x5c8ead]===0x1)_0x5cb98b===-0x1&&(_0x5cb98b=_0xc80939);else{if(_0xc80939!==0x0&&(_0x5c8ead===0x20||_0x5c8ead===0x9))_0x2ffc6c===-0x1&&_0x5cb98b!==-0x1&&(_0x2ffc6c=_0xc80939);else{if(_0x5c8ead===0x2c){if(_0x5cb98b===-0x1)throw new SyntaxError(_0x5d0358(0x2b2)+_0xc80939);_0x2ffc6c===-0x1&&(_0x2ffc6c=_0xc80939);const _0x56d382=_0x2c9221[_0x5d0358(0x30e)](_0x5cb98b,_0x2ffc6c);if(_0x149836[_0x5d0358(0x30f)](_0x56d382))throw new SyntaxError(_0x5d0358(0x21c)+_0x56d382+_0x5d0358(0x255));_0x149836[_0x5d0358(0x26b)](_0x56d382),_0x5cb98b=_0x2ffc6c=-0x1;}else throw new SyntaxError(_0x5d0358(0x2b2)+_0xc80939);}}}if(_0x5cb98b===-0x1||_0x2ffc6c!==-0x1)throw new SyntaxError(_0x5d0358(0x2cc));const _0x102388=_0x2c9221[_0x5d0358(0x30e)](_0x5cb98b,_0xc80939);if(_0x149836[_0x5d0358(0x30f)](_0x102388))throw new SyntaxError(_0x5d0358(0x21c)+_0x102388+_0x5d0358(0x255));return _0x149836[_0x5d0358(0x26b)](_0x102388),_0x149836;}return Ce={'parse':_0x186f76},Ce;}var Te,ot;function er(){const _0x13c048=_0x2be760;if(ot)return Te;ot=0x1;const _0x9e4133=_0x425d08,_0x30bf1c=_0x3b26bc,{Duplex:_0x364ba8}=_0x19e32e,{createHash:_0x1fe1dd}=_0x118541,_0x26e501=pt(),_0x5c34fa=he(),_0x2562db=Jt(),_0x3630f2=Ie(),{GUID:_0x4fe541,kWebSocket:_0x3df5be}=V(),_0xfff9ba=/^[+/0-9A-Za-z]{22}==$/,_0x3646ee=0x0,_0x4b6dcf=0x1,_0x58b05e=0x2;class _0x3b10db extends _0x9e4133{constructor(_0x50551d,_0x2cb63b){const _0x50f96d=_0xd40e;if(super(),_0x50551d={'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':_0x3630f2,..._0x50551d},_0x50551d[_0x50f96d(0x175)]==null&&!_0x50551d[_0x50f96d(0x247)]&&!_0x50551d[_0x50f96d(0x1a3)]||_0x50551d['port']!=null&&(_0x50551d[_0x50f96d(0x247)]||_0x50551d['noServer'])||_0x50551d[_0x50f96d(0x247)]&&_0x50551d['noServer'])throw new TypeError(_0x50f96d(0x29b));if(_0x50551d[_0x50f96d(0x175)]!=null?(this[_0x50f96d(0x241)]=_0x30bf1c[_0x50f96d(0x2dc)]((_0x70aa33,_0x91102d)=>{const _0x26b424=_0x50f96d,_0x2fa1ad=_0x30bf1c['STATUS_CODES'][0x1aa];_0x91102d[_0x26b424(0x2e6)](0x1aa,{'Content-Length':_0x2fa1ad[_0x26b424(0x2e4)],'Content-Type':_0x26b424(0x24b)}),_0x91102d[_0x26b424(0x1d8)](_0x2fa1ad);}),this[_0x50f96d(0x241)][_0x50f96d(0x2c3)](_0x50551d[_0x50f96d(0x175)],_0x50551d[_0x50f96d(0x30a)],_0x50551d[_0x50f96d(0x18a)],_0x2cb63b)):_0x50551d['server']&&(this[_0x50f96d(0x241)]=_0x50551d[_0x50f96d(0x247)]),this[_0x50f96d(0x241)]){const _0x3ab06b=this[_0x50f96d(0x287)][_0x50f96d(0x216)](this,_0x50f96d(0x172));this['_removeListeners']=_0xd74094(this[_0x50f96d(0x241)],{'listening':this[_0x50f96d(0x287)][_0x50f96d(0x216)](this,'listening'),'error':this[_0x50f96d(0x287)][_0x50f96d(0x216)](this,_0x50f96d(0x2ca)),'upgrade':(_0xcc6659,_0x53bd10,_0x1489a2)=>{const _0x4f72bb=_0x50f96d;this[_0x4f72bb(0x179)](_0xcc6659,_0x53bd10,_0x1489a2,_0x3ab06b);}});}_0x50551d[_0x50f96d(0x28a)]===!0x0&&(_0x50551d['perMessageDeflate']={}),_0x50551d['clientTracking']&&(this[_0x50f96d(0x18b)]=new Set(),this[_0x50f96d(0x30d)]=!0x1),this[_0x50f96d(0x2f2)]=_0x50551d,this[_0x50f96d(0x1f7)]=_0x3646ee;}[_0x13c048(0x2cb)](){const _0x637b01=_0x13c048;if(this[_0x637b01(0x2f2)][_0x637b01(0x1a3)])throw new Error(_0x637b01(0x2fc));return this[_0x637b01(0x241)]?this['_server']['address']():null;}[_0x13c048(0x163)](_0x2ec7de){const _0x58365b=_0x13c048;if(this[_0x58365b(0x1f7)]===_0x58b05e){_0x2ec7de&&this[_0x58365b(0x2ef)](_0x58365b(0x163),()=>{const _0xe7d64f=_0x58365b;_0x2ec7de(new Error(_0xe7d64f(0x185)));}),process[_0x58365b(0x2b0)](_0x4906f2,this);return;}if(_0x2ec7de&&this['once']('close',_0x2ec7de),this[_0x58365b(0x1f7)]!==_0x4b6dcf){if(this[_0x58365b(0x1f7)]=_0x4b6dcf,this['options']['noServer']||this[_0x58365b(0x2f2)][_0x58365b(0x247)])this['_server']&&(this['_removeListeners'](),this[_0x58365b(0x1ac)]=this[_0x58365b(0x241)]=null),this[_0x58365b(0x18b)]?this[_0x58365b(0x18b)][_0x58365b(0x2ad)]?this[_0x58365b(0x30d)]=!0x0:process[_0x58365b(0x2b0)](_0x4906f2,this):process[_0x58365b(0x2b0)](_0x4906f2,this);else{const _0x118969=this['_server'];this[_0x58365b(0x1ac)](),this[_0x58365b(0x1ac)]=this[_0x58365b(0x241)]=null,_0x118969[_0x58365b(0x163)](()=>{_0x4906f2(this);});}}}[_0x13c048(0x1d4)](_0xdd82fe){const _0x4116ce=_0x13c048;if(this[_0x4116ce(0x2f2)]['path']){const _0x13478d=_0xdd82fe[_0x4116ce(0x271)][_0x4116ce(0x286)]('?');if((_0x13478d!==-0x1?_0xdd82fe['url'][_0x4116ce(0x30e)](0x0,_0x13478d):_0xdd82fe[_0x4116ce(0x271)])!==this[_0x4116ce(0x2f2)][_0x4116ce(0x234)])return!0x1;}return!0x0;}[_0x13c048(0x179)](_0x58725a,_0x352a06,_0x4c0696,_0x466a56){const _0x43e71d=_0x13c048;_0x352a06['on'](_0x43e71d(0x2ca),_0x4954b0);const _0x1fe510=_0x58725a[_0x43e71d(0x27c)]['sec-websocket-key'],_0x193260=_0x58725a['headers'][_0x43e71d(0x2e1)],_0x4b3012=+_0x58725a[_0x43e71d(0x27c)]['sec-websocket-version'];if(_0x58725a[_0x43e71d(0x1c7)]!==_0x43e71d(0x180)){_0x1f7e53(this,_0x58725a,_0x352a06,0x195,_0x43e71d(0x242));return;}if(_0x193260===void 0x0||_0x193260[_0x43e71d(0x1be)]()!==_0x43e71d(0x215)){_0x1f7e53(this,_0x58725a,_0x352a06,0x190,_0x43e71d(0x17e));return;}if(_0x1fe510===void 0x0||!_0xfff9ba[_0x43e71d(0x19f)](_0x1fe510)){_0x1f7e53(this,_0x58725a,_0x352a06,0x190,_0x43e71d(0x1eb));return;}if(_0x4b3012!==0x8&&_0x4b3012!==0xd){_0x1f7e53(this,_0x58725a,_0x352a06,0x190,_0x43e71d(0x1e8));return;}if(!this[_0x43e71d(0x1d4)](_0x58725a)){_0x415e7e(_0x352a06,0x190);return;}const _0x5f40c2=_0x58725a[_0x43e71d(0x27c)][_0x43e71d(0x2df)];let _0x47feed=new Set();if(_0x5f40c2!==void 0x0)try{_0x47feed=_0x2562db['parse'](_0x5f40c2);}catch{_0x1f7e53(this,_0x58725a,_0x352a06,0x190,_0x43e71d(0x202));return;}const _0x3d1388=_0x58725a['headers'][_0x43e71d(0x2bd)],_0x470af8={};if(this[_0x43e71d(0x2f2)][_0x43e71d(0x28a)]&&_0x3d1388!==void 0x0){const _0x4e7cf6=new _0x5c34fa(this[_0x43e71d(0x2f2)][_0x43e71d(0x28a)],!0x0,this[_0x43e71d(0x2f2)][_0x43e71d(0x1ef)]);try{const _0x229981=_0x26e501[_0x43e71d(0x1ea)](_0x3d1388);_0x229981[_0x5c34fa['extensionName']]&&(_0x4e7cf6[_0x43e71d(0x2e0)](_0x229981[_0x5c34fa['extensionName']]),_0x470af8[_0x5c34fa[_0x43e71d(0x289)]]=_0x4e7cf6);}catch{_0x1f7e53(this,_0x58725a,_0x352a06,0x190,_0x43e71d(0x2d9));return;}}if(this[_0x43e71d(0x2f2)][_0x43e71d(0x214)]){const _0x53b782={'origin':_0x58725a['headers'][''+(_0x4b3012===0x8?_0x43e71d(0x1f3):_0x43e71d(0x25f))],'secure':!!(_0x58725a[_0x43e71d(0x2fe)][_0x43e71d(0x2d5)]||_0x58725a[_0x43e71d(0x2fe)]['encrypted']),'req':_0x58725a};if(this[_0x43e71d(0x2f2)][_0x43e71d(0x214)][_0x43e71d(0x2e4)]===0x2){this[_0x43e71d(0x2f2)][_0x43e71d(0x214)](_0x53b782,(_0x5e7cdd,_0x2ff8bc,_0x103297,_0x4a7b66)=>{const _0x5c961f=_0x43e71d;if(!_0x5e7cdd)return _0x415e7e(_0x352a06,_0x2ff8bc||0x191,_0x103297,_0x4a7b66);this[_0x5c961f(0x233)](_0x470af8,_0x1fe510,_0x47feed,_0x58725a,_0x352a06,_0x4c0696,_0x466a56);});return;}if(!this[_0x43e71d(0x2f2)][_0x43e71d(0x214)](_0x53b782))return _0x415e7e(_0x352a06,0x191);}this[_0x43e71d(0x233)](_0x470af8,_0x1fe510,_0x47feed,_0x58725a,_0x352a06,_0x4c0696,_0x466a56);}[_0x13c048(0x233)](_0x100c45,_0x152e14,_0x586b92,_0x3977cd,_0x1a7863,_0x267c00,_0x3125e2){const _0x4f951e=_0x13c048;if(!_0x1a7863[_0x4f951e(0x166)]||!_0x1a7863[_0x4f951e(0x236)])return _0x1a7863[_0x4f951e(0x23e)]();if(_0x1a7863[_0x3df5be])throw new Error(_0x4f951e(0x257));if(this[_0x4f951e(0x1f7)]>_0x3646ee)return _0x415e7e(_0x1a7863,0x1f7);const _0x1c8ac3=[_0x4f951e(0x195),_0x4f951e(0x24f),_0x4f951e(0x2c0),_0x4f951e(0x229)+_0x1fe1dd(_0x4f951e(0x224))[_0x4f951e(0x2a0)](_0x152e14+_0x4fe541)[_0x4f951e(0x193)](_0x4f951e(0x1ff))],_0x2c638b=new this['options'][(_0x4f951e(0x29f))](null,void 0x0,this[_0x4f951e(0x2f2)]);if(_0x586b92[_0x4f951e(0x2ad)]){const _0x40550d=this[_0x4f951e(0x2f2)][_0x4f951e(0x1b3)]?this[_0x4f951e(0x2f2)][_0x4f951e(0x1b3)](_0x586b92,_0x3977cd):_0x586b92[_0x4f951e(0x2a8)]()[_0x4f951e(0x2f7)]()[_0x4f951e(0x2c4)];_0x40550d&&(_0x1c8ac3[_0x4f951e(0x2ae)](_0x4f951e(0x201)+_0x40550d),_0x2c638b[_0x4f951e(0x2d2)]=_0x40550d);}if(_0x100c45[_0x5c34fa['extensionName']]){const _0x1c4e4b=_0x100c45[_0x5c34fa[_0x4f951e(0x289)]]['params'],_0x18cff8=_0x26e501[_0x4f951e(0x16a)]({[_0x5c34fa[_0x4f951e(0x289)]]:[_0x1c4e4b]});_0x1c8ac3['push']('Sec-WebSocket-Extensions:\x20'+_0x18cff8),_0x2c638b[_0x4f951e(0x25d)]=_0x100c45;}this[_0x4f951e(0x287)](_0x4f951e(0x27c),_0x1c8ac3,_0x3977cd),_0x1a7863[_0x4f951e(0x2d7)](_0x1c8ac3['concat']('\x0d\x0a')[_0x4f951e(0x170)]('\x0d\x0a')),_0x1a7863[_0x4f951e(0x2d3)](_0x4f951e(0x2ca),_0x4954b0),_0x2c638b['setSocket'](_0x1a7863,_0x267c00,{'allowSynchronousEvents':this[_0x4f951e(0x2f2)]['allowSynchronousEvents'],'maxPayload':this[_0x4f951e(0x2f2)]['maxPayload'],'skipUTF8Validation':this['options'][_0x4f951e(0x288)]}),this[_0x4f951e(0x18b)]&&(this[_0x4f951e(0x18b)][_0x4f951e(0x26b)](_0x2c638b),_0x2c638b['on']('close',()=>{const _0x1c8fe1=_0x4f951e;this[_0x1c8fe1(0x18b)][_0x1c8fe1(0x291)](_0x2c638b),this['_shouldEmitClose']&&!this[_0x1c8fe1(0x18b)][_0x1c8fe1(0x2ad)]&&process[_0x1c8fe1(0x2b0)](_0x4906f2,this);})),_0x3125e2(_0x2c638b,_0x3977cd);}}Te=_0x3b10db;function _0xd74094(_0x14e2b6,_0x2fa767){for(const _0x569611 of Object['keys'](_0x2fa767))_0x14e2b6['on'](_0x569611,_0x2fa767[_0x569611]);return function(){const _0xeed71f=_0xd40e;for(const _0x258adf of Object['keys'](_0x2fa767))_0x14e2b6[_0xeed71f(0x2d3)](_0x258adf,_0x2fa767[_0x258adf]);};}function _0x4906f2(_0xed750){const _0x52f1f9=_0x13c048;_0xed750[_0x52f1f9(0x1f7)]=_0x58b05e,_0xed750[_0x52f1f9(0x287)](_0x52f1f9(0x163));}function _0x4954b0(){const _0x213a7d=_0x13c048;this[_0x213a7d(0x23e)]();}function _0x415e7e(_0x35647f,_0x31cedb,_0x4f4d25,_0x1deba5){const _0x3230f7=_0x13c048;_0x4f4d25=_0x4f4d25||_0x30bf1c[_0x3230f7(0x171)][_0x31cedb],_0x1deba5={'Connection':_0x3230f7(0x163),'Content-Type':'text/html','Content-Length':Buffer[_0x3230f7(0x1f9)](_0x4f4d25),..._0x1deba5},_0x35647f[_0x3230f7(0x2ef)](_0x3230f7(0x272),_0x35647f[_0x3230f7(0x23e)]),_0x35647f['end']('HTTP/1.1\x20'+_0x31cedb+'\x20'+_0x30bf1c[_0x3230f7(0x171)][_0x31cedb]+'\x0d\x0a'+Object[_0x3230f7(0x22e)](_0x1deba5)['map'](_0x4d1ad7=>_0x4d1ad7+':\x20'+_0x1deba5[_0x4d1ad7])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x4f4d25);}function _0x1f7e53(_0x2c84df,_0x91c13c,_0xcb595a,_0x2a3519,_0x3575d8){const _0x5b6b45=_0x13c048;if(_0x2c84df[_0x5b6b45(0x1fb)](_0x5b6b45(0x169))){const _0x5d0ff0=new Error(_0x3575d8);Error[_0x5b6b45(0x1d6)](_0x5d0ff0,_0x1f7e53),_0x2c84df['emit'](_0x5b6b45(0x169),_0x5d0ff0,_0xcb595a,_0x91c13c);}else _0x415e7e(_0xcb595a,_0x2a3519,_0x3575d8);}return Te;}er();var tr=Object[_0x2be760(0x26e)],rr=(_0x428087,_0x12236c,_0x665fda,_0x5d2189)=>{for(var _0xe22dd1=_0x5d2189>0x1?void 0x0:_0x5d2189?tr(_0x12236c,_0x665fda):_0x12236c,_0x15f501=_0x428087['length']-0x1,_0x758ecd;_0x15f501>=0x0;_0x15f501--)(_0x758ecd=_0x428087[_0x15f501])&&(_0xe22dd1=_0x758ecd(_0xe22dd1)||_0xe22dd1);return _0xe22dd1;},sr=(_0x52845b,_0x10efb3)=>(_0x1f0ca5,_0x17dffd)=>_0x10efb3(_0x1f0ca5,_0x17dffd,_0x52845b);let Ne=class extends _0x8049fc{constructor(_0x49551b){const _0x225531=_0x2be760;super(),this[_0x225531(0x1d9)]=_0x49551b;}[_0x2be760(0x2af)](_0x121a3a){const _0x4c9a79=_0x2be760;var _0x15eb76;const _0x1226db=(_0x15eb76=this['_configService'][_0x4c9a79(0x2c5)](Be))==null?void 0x0:_0x15eb76['customHeaders'];try{const _0x497c29=new Qt(_0x121a3a,{'headers':{..._0x1226db}}),_0x483748=new _0x3f8217();return{'URL':_0x121a3a,'close':(_0x1c3505,_0x199bf6)=>{const _0x1065d8=_0x4c9a79;_0x497c29[_0x1065d8(0x163)](_0x1c3505,_0x199bf6),_0x483748[_0x1065d8(0x1e4)]();},'send':_0x4156dd=>{_0x497c29['send'](_0x4156dd);},'open$':new _0x58fb35(_0x3e7034=>{const _0x536e38=_0x4c9a79,_0x5e7c9d=_0x48281b=>_0x3e7034[_0x536e38(0x2f7)](_0x48281b);_0x497c29['addEventListener'](_0x536e38(0x217),_0x5e7c9d),_0x483748[_0x536e38(0x26b)](_0x167bb5(()=>_0x497c29[_0x536e38(0x1e2)]('open',_0x5e7c9d)));})[_0x4c9a79(0x250)](_0x4a2ca8()),'close$':new _0x58fb35(_0x5d9f2f=>{const _0x3c6ff3=_0x4c9a79,_0x1d457d=_0x37787d=>_0x5d9f2f['next'](_0x37787d);_0x497c29[_0x3c6ff3(0x275)](_0x3c6ff3(0x163),_0x1d457d),_0x483748[_0x3c6ff3(0x26b)](_0x167bb5(()=>_0x497c29[_0x3c6ff3(0x1e2)]('close',_0x1d457d)));})[_0x4c9a79(0x250)](_0x4a2ca8()),'error$':new _0x58fb35(_0x149094=>{const _0x3c6bea=_0x4c9a79,_0x752647=_0x21a89c=>_0x149094[_0x3c6bea(0x2f7)](_0x21a89c);_0x497c29[_0x3c6bea(0x275)](_0x3c6bea(0x2ca),_0x752647),_0x483748[_0x3c6bea(0x26b)](_0x167bb5(()=>_0x497c29[_0x3c6bea(0x1e2)]('error',_0x752647)));})[_0x4c9a79(0x250)](_0x4a2ca8()),'message$':new _0x58fb35(_0xfab73a=>{const _0x2c5cb5=_0x4c9a79,_0x4602cc=_0x31a05d=>_0xfab73a['next'](_0x31a05d);_0x497c29[_0x2c5cb5(0x275)](_0x2c5cb5(0x2b7),_0x4602cc),_0x483748[_0x2c5cb5(0x26b)](_0x167bb5(()=>_0x497c29[_0x2c5cb5(0x1e2)](_0x2c5cb5(0x2b7),_0x4602cc)));})[_0x4c9a79(0x250)](_0x4a2ca8())};}catch(_0x505158){return console['error'](_0x505158),null;}}};Ne=rr([sr(0x0,_0x564e89)],Ne);var ir=Object[_0x2be760(0x27f)],nr=Object[_0x2be760(0x26e)],or=(_0x32c456,_0x45f696,_0x4492d7)=>_0x45f696 in _0x32c456?ir(_0x32c456,_0x45f696,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4492d7}):_0x32c456[_0x45f696]=_0x4492d7,ar=(_0x830378,_0x4ce193,_0x435028,_0x2e6022)=>{const _0x26f25e=_0x2be760;for(var _0x5bf538=_0x2e6022>0x1?void 0x0:_0x2e6022?nr(_0x4ce193,_0x435028):_0x4ce193,_0x33d4a5=_0x830378[_0x26f25e(0x2e4)]-0x1,_0xdd348c;_0x33d4a5>=0x0;_0x33d4a5--)(_0xdd348c=_0x830378[_0x33d4a5])&&(_0x5bf538=_0xdd348c(_0x5bf538)||_0x5bf538);return _0x5bf538;},ke=(_0x560c94,_0xdcf64d)=>(_0x54c319,_0x3a6a0c)=>_0xdcf64d(_0x54c319,_0x3a6a0c,_0x560c94),lr=(_0x4589fb,_0x38ee4a,_0x23b3e2)=>or(_0x4589fb,_0x38ee4a+'',_0x23b3e2);let Pe=class extends _0x437e11{constructor(_0x2b1533=Ft,_0x1275a3,_0x40e2b5,_0x3738e3){const _0x5f2941=_0x2be760;_0x2b1533[_0x5f2941(0x237)]||_0x1275a3[_0x5f2941(0x21e)](_0x5f2941(0x1da)),super(),this['_configService']=_0x40e2b5,this[_0x5f2941(0x1fc)]=_0x3738e3,this[_0x5f2941(0x1d9)][_0x5f2941(0x186)](Be,_0x2b1533);}[_0x2be760(0x270)](){const _0x27964e=_0x2be760;this[_0x27964e(0x1fd)]();}[_0x2be760(0x1fd)](){const _0x17cdd2=_0x2be760;_0x39a857(this[_0x17cdd2(0x1fc)],[[_0x2cd92e,{'useClass':Ne}]]);}};lr(Pe,_0x2be760(0x281),_0x2be760(0x2a9)),Pe=ar([_0x1d2a15(_0x3874b0),ke(0x1,_0x3edcea),ke(0x2,_0x564e89),ke(0x3,_0x32c0bd(_0x3c9806))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x3b2651,_0xa4e63a,_0x5a2685,_0x4ca73d)=>{const _0x2c7e0d=_0x2be760;for(var _0x4811b9=_0x4ca73d>0x1?void 0x0:_0x4ca73d?fr(_0xa4e63a,_0x5a2685):_0xa4e63a,_0x3af09d=_0x3b2651[_0x2c7e0d(0x2e4)]-0x1,_0x36461a;_0x3af09d>=0x0;_0x3af09d--)(_0x36461a=_0x3b2651[_0x3af09d])&&(_0x4811b9=_0x36461a(_0x4811b9)||_0x4811b9);return _0x4811b9;},se=(_0xb799c1,_0x51623e)=>(_0x41916d,_0xdf3342)=>_0x51623e(_0x41916d,_0xdf3342,_0xb799c1);let at=class extends _0x5ededa{constructor(_0x4329e0,_0xaa3f8b,_0x3298f9,_0xed1499,_0x534b68){const _0x4f70d8=_0x2be760;super(_0x4329e0,_0xaa3f8b,_0x3298f9,_0xed1499,_0x534b68);const _0x2dbf21=this['_configService'][_0x4f70d8(0x2c5)](Be);this[_0x4f70d8(0x2e2)][_0x4f70d8(0x24e)]({'interceptor':(_0x385699,_0x1b4d5a)=>{const _0x412834=_0x4f70d8;var _0x16c02e;const _0x9dfdc0=_0x385699['headers'];return(_0x16c02e=_0x2dbf21==null?void 0x0:_0x2dbf21[_0x412834(0x237)])!=null&&_0x16c02e[_0x412834(0x251)]&&_0x9dfdc0[_0x412834(0x2a5)](_0x412834(0x1ec),_0x2dbf21[_0x412834(0x237)][_0x412834(0x251)]),_0x1b4d5a(_0x385699);}});}async[_0x2be760(0x2af)](_0x279691){const _0x4e36fb=_0x2be760;return this[_0x4e36fb(0x296)](_0x279691);}};at=cr([se(0x0,_0x32c0bd(_0x3c9806)),se(0x1,_0x32c0bd(_0xd764a3)),se(0x2,_0x564e89),se(0x3,_0x3edcea),se(0x4,_0x1ca723)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};