@univerjs-pro/collaboration-client-node 0.9.3-nightly.202507250819 → 0.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2b7c49=_0x212f;(function(_0x4501a2,_0x22693a){const _0x3e2e72=_0x212f,_0x3b2b93=_0x4501a2();while(!![]){try{const _0x317445=-parseInt(_0x3e2e72(0x1f5))/0x1+parseInt(_0x3e2e72(0x193))/0x2*(-parseInt(_0x3e2e72(0x21c))/0x3)+parseInt(_0x3e2e72(0x288))/0x4+-parseInt(_0x3e2e72(0x16d))/0x5+-parseInt(_0x3e2e72(0x1fa))/0x6+parseInt(_0x3e2e72(0x1e5))/0x7*(parseInt(_0x3e2e72(0x2aa))/0x8)+parseInt(_0x3e2e72(0x2b8))/0x9*(parseInt(_0x3e2e72(0x19c))/0xa);if(_0x317445===_0x22693a)break;else _0x3b2b93['push'](_0x3b2b93['shift']());}catch(_0x5a3c3c){_0x3b2b93['push'](_0x3b2b93['shift']());}}}(_0x43cc,0xc8ce7));import{UniverCollaborationClientPlugin as _0x336679,CollaborationSocketService as _0x47bd11}from'@univerjs-pro/collaboration-client';import{Disposable as _0x3ae861,DisposableCollection as _0x2822ea,toDisposable as _0x3b9b05,IConfigService as _0x14c117,DependentOn as _0x5b05cf,ILogService as _0x9ff22c,Inject as _0x38379a,Injector as _0x2aa482,Plugin as _0x37c28f,registerDependencies as _0x5c4569}from'@univerjs/core';import{ISocketService as _0xfe1714,HTTPService as _0x59054c}from'@univerjs/network';import{Observable as _0x48eb5f,share as _0x460c01}from'rxjs';import _0x2a026b from'events';import _0x9edbd2 from'https';import _0x193856 from'http';import _0x580936 from'net';import _0x4fa7f7 from'tls';import _0x409377 from'crypto';import _0x3e85cd from'stream';import _0x247b7c from'url';import _0x4fdd1d from'zlib';import _0x38a4fe from'buffer';import{ISnapshotServerService as _0x5d2238}from'@univerjs-pro/collaboration';const Be=_0x2b7c49(0x25e),Ft={'customHeaders':{}};function jt(_0x4b8b28){const _0x5c8c86=_0x2b7c49;return _0x4b8b28&&_0x4b8b28[_0x5c8c86(0x2b9)]&&Object[_0x5c8c86(0x216)][_0x5c8c86(0x221)][_0x5c8c86(0x2ba)](_0x4b8b28,_0x5c8c86(0x1e0))?_0x4b8b28[_0x5c8c86(0x1e0)]:_0x4b8b28;}function ut(_0x574066){const _0x48d443=_0x2b7c49;if(Object[_0x48d443(0x216)]['hasOwnProperty'][_0x48d443(0x2ba)](_0x574066,_0x48d443(0x2b9)))return _0x574066;var _0x17f106=_0x574066[_0x48d443(0x1e0)];if(typeof _0x17f106==_0x48d443(0x157)){var _0x146df1=function _0x2e8da4(){const _0x20535d=_0x48d443;var _0x49a219=!0x1;try{_0x49a219=this instanceof _0x2e8da4;}catch{}return _0x49a219?Reflect[_0x20535d(0x187)](_0x17f106,arguments,this['constructor']):_0x17f106['apply'](this,arguments);};_0x146df1['prototype']=_0x17f106[_0x48d443(0x216)];}else _0x146df1={};return Object[_0x48d443(0x1a5)](_0x146df1,_0x48d443(0x2b9),{'value':!0x0}),Object[_0x48d443(0x1ff)](_0x574066)[_0x48d443(0x13f)](function(_0x51e997){const _0x188937=_0x48d443;var _0xf135f3=Object['getOwnPropertyDescriptor'](_0x574066,_0x51e997);Object[_0x188937(0x1a5)](_0x146df1,_0x51e997,_0xf135f3['get']?_0xf135f3:{'enumerable':!0x0,'get':function(){return _0x574066[_0x51e997];}});}),_0x146df1;}var te={'exports':{}},ge,Ye;function V(){const _0x33748f=_0x2b7c49;if(Ye)return ge;Ye=0x1;const _0xdb6a4b=[_0x33748f(0x1cd),'arraybuffer',_0x33748f(0x184)],_0x1f808e=typeof Blob<'u';return _0x1f808e&&_0xdb6a4b[_0x33748f(0x17e)](_0x33748f(0x12e)),ge={'BINARY_TYPES':_0xdb6a4b,'EMPTY_BUFFER':Buffer[_0x33748f(0x26a)](0x0),'GUID':_0x33748f(0x133),'hasBlob':_0x1f808e,'kForOnEventAttribute':Symbol(_0x33748f(0x11b)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x33748f(0x1bc)),'kWebSocket':Symbol(_0x33748f(0x195)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x2b7c49(0x29d)](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol['toStringTag'],{'value':_0x2b7c49(0x2a2)})),Vt=ut(Gt);var Ke;function ce(){const _0x579f0d=_0x2b7c49;if(Ke)return te[_0x579f0d(0x2a5)];Ke=0x1;const {EMPTY_BUFFER:_0x26d86f}=V(),_0x30ab5c=Buffer[Symbol[_0x579f0d(0x16b)]];function _0x56f152(_0x4ec72c,_0x5db2ac){const _0x19e75b=_0x579f0d;if(_0x4ec72c[_0x19e75b(0x10f)]===0x0)return _0x26d86f;if(_0x4ec72c[_0x19e75b(0x10f)]===0x1)return _0x4ec72c[0x0];const _0x17d0d4=Buffer[_0x19e75b(0x1e1)](_0x5db2ac);let _0x56c447=0x0;for(let _0x11e79a=0x0;_0x11e79a<_0x4ec72c[_0x19e75b(0x10f)];_0x11e79a++){const _0x16f5de=_0x4ec72c[_0x11e79a];_0x17d0d4[_0x19e75b(0x1f3)](_0x16f5de,_0x56c447),_0x56c447+=_0x16f5de[_0x19e75b(0x10f)];}return _0x56c447<_0x5db2ac?new _0x30ab5c(_0x17d0d4[_0x19e75b(0x1ea)],_0x17d0d4[_0x19e75b(0x231)],_0x56c447):_0x17d0d4;}function _0x5076f4(_0x684cc3,_0x4c83d9,_0x5e4f82,_0x5b811b,_0x305e6e){for(let _0x162316=0x0;_0x162316<_0x305e6e;_0x162316++)_0x5e4f82[_0x5b811b+_0x162316]=_0x684cc3[_0x162316]^_0x4c83d9[_0x162316&0x3];}function _0x3016f9(_0x48b205,_0x37d3d3){const _0x2f0e82=_0x579f0d;for(let _0x575022=0x0;_0x575022<_0x48b205[_0x2f0e82(0x10f)];_0x575022++)_0x48b205[_0x575022]^=_0x37d3d3[_0x575022&0x3];}function _0x413498(_0x1e71d8){const _0xae0170=_0x579f0d;return _0x1e71d8[_0xae0170(0x10f)]===_0x1e71d8[_0xae0170(0x1ea)][_0xae0170(0x279)]?_0x1e71d8[_0xae0170(0x1ea)]:_0x1e71d8[_0xae0170(0x1ea)]['slice'](_0x1e71d8['byteOffset'],_0x1e71d8[_0xae0170(0x231)]+_0x1e71d8['length']);}function _0x1b3440(_0x11da53){const _0x1aa4b2=_0x579f0d;if(_0x1b3440[_0x1aa4b2(0x23d)]=!0x0,Buffer[_0x1aa4b2(0x120)](_0x11da53))return _0x11da53;let _0x14dd5d;return _0x11da53 instanceof ArrayBuffer?_0x14dd5d=new _0x30ab5c(_0x11da53):ArrayBuffer[_0x1aa4b2(0x143)](_0x11da53)?_0x14dd5d=new _0x30ab5c(_0x11da53['buffer'],_0x11da53[_0x1aa4b2(0x231)],_0x11da53[_0x1aa4b2(0x279)]):(_0x14dd5d=Buffer[_0x1aa4b2(0x1b4)](_0x11da53),_0x1b3440[_0x1aa4b2(0x23d)]=!0x1),_0x14dd5d;}if(te[_0x579f0d(0x2a5)]={'concat':_0x56f152,'mask':_0x5076f4,'toArrayBuffer':_0x413498,'toBuffer':_0x1b3440,'unmask':_0x3016f9},!process[_0x579f0d(0x253)][_0x579f0d(0x28c)])try{const _0xd9ff0b=Vt;te[_0x579f0d(0x2a5)][_0x579f0d(0x207)]=function(_0xf77b58,_0x16268f,_0x2fab9b,_0x5a3c44,_0x350e87){const _0x51ada4=_0x579f0d;_0x350e87<0x30?_0x5076f4(_0xf77b58,_0x16268f,_0x2fab9b,_0x5a3c44,_0x350e87):_0xd9ff0b[_0x51ada4(0x207)](_0xf77b58,_0x16268f,_0x2fab9b,_0x5a3c44,_0x350e87);},te[_0x579f0d(0x2a5)]['unmask']=function(_0x4f9259,_0xaa04e0){const _0x5a1283=_0x579f0d;_0x4f9259[_0x5a1283(0x10f)]<0x20?_0x3016f9(_0x4f9259,_0xaa04e0):_0xd9ff0b[_0x5a1283(0x1c3)](_0x4f9259,_0xaa04e0);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x290f0b=_0x2b7c49;if(Xe)return ye;Xe=0x1;const _0x506b5d=Symbol('kDone'),_0x57ff84=Symbol(_0x290f0b(0x175));class _0x439019{constructor(_0x2dcf70){const _0x2b4f95=_0x290f0b;this[_0x506b5d]=()=>{const _0x49067f=_0x212f;this[_0x49067f(0x153)]--,this[_0x57ff84]();},this['concurrency']=_0x2dcf70||0x1/0x0,this['jobs']=[],this[_0x2b4f95(0x153)]=0x0;}[_0x290f0b(0x227)](_0x2ffc1f){const _0x5b2465=_0x290f0b;this[_0x5b2465(0x1a4)][_0x5b2465(0x17e)](_0x2ffc1f),this[_0x57ff84]();}[_0x57ff84](){const _0x43bb09=_0x290f0b;if(this['pending']!==this[_0x43bb09(0x1fe)]&&this[_0x43bb09(0x1a4)]['length']){const _0x28be90=this['jobs']['shift']();this[_0x43bb09(0x153)]++,_0x28be90(this[_0x506b5d]);}}}return ye=_0x439019,ye;}var ve,Ze;function he(){const _0x3f8913=_0x2b7c49;if(Ze)return ve;Ze=0x1;const _0x50ba07=_0x4fdd1d,_0xae45cb=ce(),_0x315430=qt(),{kStatusCode:_0x36ba1c}=V(),_0xf22d5d=Buffer[Symbol[_0x3f8913(0x16b)]],_0x23aef8=Buffer['from']([0x0,0x0,0xff,0xff]),_0x30ff06=Symbol(_0x3f8913(0x164)),_0x5cd3bf=Symbol(_0x3f8913(0x1d6)),_0x3fa390=Symbol(_0x3f8913(0x1df)),_0x6600fe=Symbol(_0x3f8913(0x26f)),_0x446275=Symbol(_0x3f8913(0x21f));let _0x344638;class _0xb24fe3{constructor(_0xb62833,_0x4a9146,_0x433bfb){const _0x36715d=_0x3f8913;if(this[_0x36715d(0x127)]=_0x433bfb|0x0,this[_0x36715d(0x1de)]=_0xb62833||{},this['_threshold']=this['_options'][_0x36715d(0x1dd)]!==void 0x0?this[_0x36715d(0x1de)][_0x36715d(0x1dd)]:0x400,this['_isServer']=!!_0x4a9146,this[_0x36715d(0x29f)]=null,this['_inflate']=null,this[_0x36715d(0x1a3)]=null,!_0x344638){const _0xf648b5=this['_options']['concurrencyLimit']!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x344638=new _0x315430(_0xf648b5);}}static get['extensionName'](){return'permessage-deflate';}[_0x3f8913(0x1bd)](){const _0x11fca3=_0x3f8913,_0x6e32d3={};return this[_0x11fca3(0x1de)][_0x11fca3(0x2a6)]&&(_0x6e32d3[_0x11fca3(0x169)]=!0x0),this[_0x11fca3(0x1de)][_0x11fca3(0x1c4)]&&(_0x6e32d3['client_no_context_takeover']=!0x0),this[_0x11fca3(0x1de)][_0x11fca3(0x2b3)]&&(_0x6e32d3[_0x11fca3(0x19d)]=this['_options'][_0x11fca3(0x2b3)]),this[_0x11fca3(0x1de)][_0x11fca3(0x238)]?_0x6e32d3[_0x11fca3(0x172)]=this[_0x11fca3(0x1de)][_0x11fca3(0x238)]:this['_options'][_0x11fca3(0x238)]==null&&(_0x6e32d3[_0x11fca3(0x172)]=!0x0),_0x6e32d3;}['accept'](_0x3f541f){const _0x578bfe=_0x3f8913;return _0x3f541f=this[_0x578bfe(0x266)](_0x3f541f),this[_0x578bfe(0x1a3)]=this[_0x578bfe(0x1f9)]?this[_0x578bfe(0x249)](_0x3f541f):this[_0x578bfe(0x162)](_0x3f541f),this['params'];}[_0x3f8913(0x125)](){const _0x11c229=_0x3f8913;if(this[_0x11c229(0x18b)]&&(this[_0x11c229(0x18b)]['close'](),this[_0x11c229(0x18b)]=null),this['_deflate']){const _0x20cc14=this[_0x11c229(0x29f)][_0x3fa390];this[_0x11c229(0x29f)]['close'](),this[_0x11c229(0x29f)]=null,_0x20cc14&&_0x20cc14(new Error(_0x11c229(0x19a)));}}['acceptAsServer'](_0x24bdbf){const _0x834d18=_0x3f8913,_0x539146=this['_options'],_0x3f0315=_0x24bdbf[_0x834d18(0x25b)](_0x420cf7=>!(_0x539146[_0x834d18(0x2a6)]===!0x1&&_0x420cf7[_0x834d18(0x169)]||_0x420cf7[_0x834d18(0x19d)]&&(_0x539146[_0x834d18(0x2b3)]===!0x1||typeof _0x539146['serverMaxWindowBits']==_0x834d18(0x24b)&&_0x539146[_0x834d18(0x2b3)]>_0x420cf7[_0x834d18(0x19d)])||typeof _0x539146[_0x834d18(0x238)]==_0x834d18(0x24b)&&!_0x420cf7[_0x834d18(0x172)]));if(!_0x3f0315)throw new Error(_0x834d18(0x13e));return _0x539146['serverNoContextTakeover']&&(_0x3f0315[_0x834d18(0x169)]=!0x0),_0x539146[_0x834d18(0x1c4)]&&(_0x3f0315[_0x834d18(0x142)]=!0x0),typeof _0x539146[_0x834d18(0x2b3)]==_0x834d18(0x24b)&&(_0x3f0315[_0x834d18(0x19d)]=_0x539146[_0x834d18(0x2b3)]),typeof _0x539146[_0x834d18(0x238)]=='number'?_0x3f0315[_0x834d18(0x172)]=_0x539146[_0x834d18(0x238)]:(_0x3f0315[_0x834d18(0x172)]===!0x0||_0x539146[_0x834d18(0x238)]===!0x1)&&delete _0x3f0315[_0x834d18(0x172)],_0x3f0315;}[_0x3f8913(0x162)](_0x4486ad){const _0x1f8aa1=_0x3f8913,_0xbfb4f=_0x4486ad[0x0];if(this[_0x1f8aa1(0x1de)][_0x1f8aa1(0x1c4)]===!0x1&&_0xbfb4f[_0x1f8aa1(0x142)])throw new Error(_0x1f8aa1(0x27c));if(!_0xbfb4f[_0x1f8aa1(0x172)])typeof this[_0x1f8aa1(0x1de)]['clientMaxWindowBits']==_0x1f8aa1(0x24b)&&(_0xbfb4f[_0x1f8aa1(0x172)]=this[_0x1f8aa1(0x1de)][_0x1f8aa1(0x238)]);else{if(this[_0x1f8aa1(0x1de)][_0x1f8aa1(0x238)]===!0x1||typeof this[_0x1f8aa1(0x1de)][_0x1f8aa1(0x238)]==_0x1f8aa1(0x24b)&&_0xbfb4f['client_max_window_bits']>this[_0x1f8aa1(0x1de)][_0x1f8aa1(0x238)])throw new Error(_0x1f8aa1(0x235));}return _0xbfb4f;}[_0x3f8913(0x266)](_0x3755de){const _0x23f421=_0x3f8913;return _0x3755de[_0x23f421(0x13f)](_0x103f46=>{const _0x41d191=_0x23f421;Object[_0x41d191(0x1ff)](_0x103f46)['forEach'](_0x317d8b=>{const _0x451b46=_0x41d191;let _0x588a8e=_0x103f46[_0x317d8b];if(_0x588a8e[_0x451b46(0x10f)]>0x1)throw new Error(_0x451b46(0x16f)+_0x317d8b+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x588a8e=_0x588a8e[0x0],_0x317d8b===_0x451b46(0x172)){if(_0x588a8e!==!0x0){const _0x267bb4=+_0x588a8e;if(!Number[_0x451b46(0x260)](_0x267bb4)||_0x267bb4<0x8||_0x267bb4>0xf)throw new TypeError(_0x451b46(0x1c9)+_0x317d8b+_0x451b46(0x148)+_0x588a8e);_0x588a8e=_0x267bb4;}else{if(!this[_0x451b46(0x1f9)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x317d8b+_0x451b46(0x148)+_0x588a8e);}}else{if(_0x317d8b===_0x451b46(0x19d)){const _0x2421d8=+_0x588a8e;if(!Number['isInteger'](_0x2421d8)||_0x2421d8<0x8||_0x2421d8>0xf)throw new TypeError(_0x451b46(0x1c9)+_0x317d8b+'\x22:\x20'+_0x588a8e);_0x588a8e=_0x2421d8;}else{if(_0x317d8b===_0x451b46(0x142)||_0x317d8b===_0x451b46(0x169)){if(_0x588a8e!==!0x0)throw new TypeError(_0x451b46(0x1c9)+_0x317d8b+_0x451b46(0x148)+_0x588a8e);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x317d8b+'\x22');}}_0x103f46[_0x317d8b]=_0x588a8e;});}),_0x3755de;}['decompress'](_0x5e6691,_0x16150b,_0x322cd3){_0x344638['add'](_0x3ddbbb=>{const _0x32b097=_0x212f;this[_0x32b097(0x261)](_0x5e6691,_0x16150b,(_0x3f89c6,_0x29a07a)=>{_0x3ddbbb(),_0x322cd3(_0x3f89c6,_0x29a07a);});});}['compress'](_0x40d3b6,_0x374749,_0x5bd0cd){_0x344638['add'](_0x13d98f=>{this['_compress'](_0x40d3b6,_0x374749,(_0x22acb9,_0x164db9)=>{_0x13d98f(),_0x5bd0cd(_0x22acb9,_0x164db9);});});}[_0x3f8913(0x261)](_0x15400d,_0x1fccb1,_0x5eba89){const _0x272c58=_0x3f8913,_0x592daf=this['_isServer']?'client':_0x272c58(0x1e8);if(!this[_0x272c58(0x18b)]){const _0x2640ef=_0x592daf+_0x272c58(0x22f),_0x542337=typeof this[_0x272c58(0x1a3)][_0x2640ef]!=_0x272c58(0x24b)?_0x50ba07[_0x272c58(0x14c)]:this['params'][_0x2640ef];this[_0x272c58(0x18b)]=_0x50ba07[_0x272c58(0x1f2)]({...this[_0x272c58(0x1de)][_0x272c58(0x17d)],'windowBits':_0x542337}),this[_0x272c58(0x18b)][_0x30ff06]=this,this[_0x272c58(0x18b)][_0x5cd3bf]=0x0,this[_0x272c58(0x18b)][_0x6600fe]=[],this[_0x272c58(0x18b)]['on'](_0x272c58(0x21f),_0x4f9163),this['_inflate']['on']('data',_0x26ca40);}this[_0x272c58(0x18b)][_0x3fa390]=_0x5eba89,this['_inflate'][_0x272c58(0x1e9)](_0x15400d),_0x1fccb1&&this[_0x272c58(0x18b)][_0x272c58(0x1e9)](_0x23aef8),this['_inflate'][_0x272c58(0x134)](()=>{const _0x1902ac=_0x272c58,_0x3b85b0=this[_0x1902ac(0x18b)][_0x446275];if(_0x3b85b0){this[_0x1902ac(0x18b)]['close'](),this[_0x1902ac(0x18b)]=null,_0x5eba89(_0x3b85b0);return;}const _0x1d73d7=_0xae45cb[_0x1902ac(0x12b)](this[_0x1902ac(0x18b)][_0x6600fe],this['_inflate'][_0x5cd3bf]);this[_0x1902ac(0x18b)][_0x1902ac(0x219)][_0x1902ac(0x146)]?(this[_0x1902ac(0x18b)][_0x1902ac(0x174)](),this[_0x1902ac(0x18b)]=null):(this[_0x1902ac(0x18b)][_0x5cd3bf]=0x0,this['_inflate'][_0x6600fe]=[],_0x1fccb1&&this[_0x1902ac(0x1a3)][_0x592daf+_0x1902ac(0x233)]&&this[_0x1902ac(0x18b)][_0x1902ac(0x116)]()),_0x5eba89(null,_0x1d73d7);});}[_0x3f8913(0x24d)](_0xa8c132,_0x2ae102,_0x4fcab9){const _0x2f0c54=_0x3f8913,_0x3d06d8=this[_0x2f0c54(0x1f9)]?_0x2f0c54(0x1e8):_0x2f0c54(0x262);if(!this['_deflate']){const _0x35d137=_0x3d06d8+_0x2f0c54(0x22f),_0x1f2696=typeof this[_0x2f0c54(0x1a3)][_0x35d137]!=_0x2f0c54(0x24b)?_0x50ba07[_0x2f0c54(0x14c)]:this[_0x2f0c54(0x1a3)][_0x35d137];this[_0x2f0c54(0x29f)]=_0x50ba07[_0x2f0c54(0x211)]({...this[_0x2f0c54(0x1de)][_0x2f0c54(0x1b2)],'windowBits':_0x1f2696}),this['_deflate'][_0x5cd3bf]=0x0,this['_deflate'][_0x6600fe]=[],this['_deflate']['on'](_0x2f0c54(0x1ec),_0x23a7d7);}this['_deflate'][_0x3fa390]=_0x4fcab9,this[_0x2f0c54(0x29f)][_0x2f0c54(0x1e9)](_0xa8c132),this[_0x2f0c54(0x29f)][_0x2f0c54(0x134)](_0x50ba07[_0x2f0c54(0x1e7)],()=>{const _0x3700b0=_0x2f0c54;if(!this[_0x3700b0(0x29f)])return;let _0x5f5d54=_0xae45cb[_0x3700b0(0x12b)](this['_deflate'][_0x6600fe],this[_0x3700b0(0x29f)][_0x5cd3bf]);_0x2ae102&&(_0x5f5d54=new _0xf22d5d(_0x5f5d54[_0x3700b0(0x1ea)],_0x5f5d54[_0x3700b0(0x231)],_0x5f5d54[_0x3700b0(0x10f)]-0x4)),this[_0x3700b0(0x29f)][_0x3fa390]=null,this[_0x3700b0(0x29f)][_0x5cd3bf]=0x0,this['_deflate'][_0x6600fe]=[],_0x2ae102&&this[_0x3700b0(0x1a3)][_0x3d06d8+'_no_context_takeover']&&this['_deflate'][_0x3700b0(0x116)](),_0x4fcab9(null,_0x5f5d54);});}}ve=_0xb24fe3;function _0x23a7d7(_0xe68bd4){const _0x3b95e6=_0x3f8913;this[_0x6600fe]['push'](_0xe68bd4),this[_0x5cd3bf]+=_0xe68bd4[_0x3b95e6(0x10f)];}function _0x26ca40(_0xbe4759){const _0x5358eb=_0x3f8913;if(this[_0x5cd3bf]+=_0xbe4759[_0x5358eb(0x10f)],this[_0x30ff06][_0x5358eb(0x127)]<0x1||this[_0x5cd3bf]<=this[_0x30ff06][_0x5358eb(0x127)]){this[_0x6600fe][_0x5358eb(0x17e)](_0xbe4759);return;}this[_0x446275]=new RangeError(_0x5358eb(0x23e)),this[_0x446275][_0x5358eb(0x22e)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x446275][_0x36ba1c]=0x3f1,this[_0x5358eb(0x224)](_0x5358eb(0x1ec),_0x26ca40),this[_0x5358eb(0x116)]();}function _0x4f9163(_0x36f04f){const _0x5d8bc2=_0x3f8913;if(this[_0x30ff06][_0x5d8bc2(0x18b)]=null,this[_0x446275]){this[_0x3fa390](this[_0x446275]);return;}_0x36f04f[_0x36ba1c]=0x3ef,this[_0x3fa390](_0x36f04f);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x2b7c49(0x29d)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x2b7c49(0x2a2)})),Yt=ut(zt);var Qe;function ne(){const _0x12df98=_0x2b7c49;if(Qe)return re[_0x12df98(0x2a5)];Qe=0x1;const {isUtf8:_0x5e0915}=_0x38a4fe,{hasBlob:_0x7dbb0c}=V(),_0x541462=[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 _0x407ca9(_0x5cdb73){return _0x5cdb73>=0x3e8&&_0x5cdb73<=0x3f6&&_0x5cdb73!==0x3ec&&_0x5cdb73!==0x3ed&&_0x5cdb73!==0x3ee||_0x5cdb73>=0xbb8&&_0x5cdb73<=0x1387;}function _0xb6f4c7(_0x3298b9){const _0x12f54c=_0x3298b9['length'];let _0x154b98=0x0;for(;_0x154b98<_0x12f54c;)if((_0x3298b9[_0x154b98]&0x80)===0x0)_0x154b98++;else{if((_0x3298b9[_0x154b98]&0xe0)===0xc0){if(_0x154b98+0x1===_0x12f54c||(_0x3298b9[_0x154b98+0x1]&0xc0)!==0x80||(_0x3298b9[_0x154b98]&0xfe)===0xc0)return!0x1;_0x154b98+=0x2;}else{if((_0x3298b9[_0x154b98]&0xf0)===0xe0){if(_0x154b98+0x2>=_0x12f54c||(_0x3298b9[_0x154b98+0x1]&0xc0)!==0x80||(_0x3298b9[_0x154b98+0x2]&0xc0)!==0x80||_0x3298b9[_0x154b98]===0xe0&&(_0x3298b9[_0x154b98+0x1]&0xe0)===0x80||_0x3298b9[_0x154b98]===0xed&&(_0x3298b9[_0x154b98+0x1]&0xe0)===0xa0)return!0x1;_0x154b98+=0x3;}else{if((_0x3298b9[_0x154b98]&0xf8)===0xf0){if(_0x154b98+0x3>=_0x12f54c||(_0x3298b9[_0x154b98+0x1]&0xc0)!==0x80||(_0x3298b9[_0x154b98+0x2]&0xc0)!==0x80||(_0x3298b9[_0x154b98+0x3]&0xc0)!==0x80||_0x3298b9[_0x154b98]===0xf0&&(_0x3298b9[_0x154b98+0x1]&0xf0)===0x80||_0x3298b9[_0x154b98]===0xf4&&_0x3298b9[_0x154b98+0x1]>0x8f||_0x3298b9[_0x154b98]>0xf4)return!0x1;_0x154b98+=0x4;}else return!0x1;}}}return!0x0;}function _0x3a2c34(_0x303f56){const _0x447ab0=_0x12df98;return _0x7dbb0c&&typeof _0x303f56==_0x447ab0(0x19f)&&typeof _0x303f56['arrayBuffer']==_0x447ab0(0x157)&&typeof _0x303f56[_0x447ab0(0x18d)]==_0x447ab0(0x1c0)&&typeof _0x303f56['stream']=='function'&&(_0x303f56[Symbol['toStringTag']]==='Blob'||_0x303f56[Symbol[_0x447ab0(0x183)]]===_0x447ab0(0x173));}if(re[_0x12df98(0x2a5)]={'isBlob':_0x3a2c34,'isValidStatusCode':_0x407ca9,'isValidUTF8':_0xb6f4c7,'tokenChars':_0x541462},_0x5e0915)re['exports'][_0x12df98(0x145)]=function(_0x58dcf2){const _0xc91f21=_0x12df98;return _0x58dcf2[_0xc91f21(0x10f)]<0x18?_0xb6f4c7(_0x58dcf2):_0x5e0915(_0x58dcf2);};else{if(!process['env'][_0x12df98(0x15b)])try{const _0x17ba02=Yt;re['exports'][_0x12df98(0x145)]=function(_0x4462ec){const _0x4776f2=_0x12df98;return _0x4462ec[_0x4776f2(0x10f)]<0x20?_0xb6f4c7(_0x4462ec):_0x17ba02(_0x4462ec);};}catch{}}return re[_0x12df98(0x2a5)];}var Se,Je;function dt(){const _0x342ff4=_0x2b7c49;if(Je)return Se;Je=0x1;const {Writable:_0x18a061}=_0x3e85cd,_0x3f09c5=he(),{BINARY_TYPES:_0x436c23,EMPTY_BUFFER:_0x24bb80,kStatusCode:_0x575982,kWebSocket:_0x4eb8e1}=V(),{concat:_0x40b18c,toArrayBuffer:_0x42ba5c,unmask:_0x1eec5c}=ce(),{isValidStatusCode:_0x32e42d,isValidUTF8:_0x2d6c53}=ne(),_0x1e94e2=Buffer[Symbol[_0x342ff4(0x16b)]],_0x4c0123=0x0,_0x477ed5=0x1,_0x2861f6=0x2,_0x2ebf12=0x3,_0x2e09e4=0x4,_0x28233a=0x5,_0x2de27b=0x6;class _0x95e567 extends _0x18a061{constructor(_0x3d501a={}){const _0x248e27=_0x342ff4;super(),this[_0x248e27(0x18e)]=_0x3d501a[_0x248e27(0x1d3)]!==void 0x0?_0x3d501a[_0x248e27(0x1d3)]:!0x0,this[_0x248e27(0x130)]=_0x3d501a[_0x248e27(0x1a0)]||_0x436c23[0x0],this[_0x248e27(0x28f)]=_0x3d501a[_0x248e27(0x246)]||{},this[_0x248e27(0x1f9)]=!!_0x3d501a[_0x248e27(0x23c)],this[_0x248e27(0x127)]=_0x3d501a[_0x248e27(0x1d8)]|0x0,this['_skipUTF8Validation']=!!_0x3d501a['skipUTF8Validation'],this[_0x4eb8e1]=void 0x0,this[_0x248e27(0x284)]=0x0,this[_0x248e27(0x201)]=[],this[_0x248e27(0x16e)]=!0x1,this[_0x248e27(0x283)]=0x0,this[_0x248e27(0x198)]=void 0x0,this[_0x248e27(0x137)]=0x0,this[_0x248e27(0x24e)]=!0x1,this[_0x248e27(0x1da)]=!0x1,this['_opcode']=0x0,this['_totalPayloadLength']=0x0,this[_0x248e27(0x2a0)]=0x0,this['_fragments']=[],this[_0x248e27(0x291)]=!0x1,this[_0x248e27(0x24a)]=!0x1,this[_0x248e27(0x135)]=_0x4c0123;}[_0x342ff4(0x204)](_0x58d424,_0x79b136,_0x4bb9f6){const _0x225b1e=_0x342ff4;if(this[_0x225b1e(0x2a1)]===0x8&&this['_state']==_0x4c0123)return _0x4bb9f6();this[_0x225b1e(0x284)]+=_0x58d424[_0x225b1e(0x10f)],this['_buffers'][_0x225b1e(0x17e)](_0x58d424),this[_0x225b1e(0x111)](_0x4bb9f6);}[_0x342ff4(0x16a)](_0x18b2d8){const _0x115b53=_0x342ff4;if(this[_0x115b53(0x284)]-=_0x18b2d8,_0x18b2d8===this[_0x115b53(0x201)][0x0]['length'])return this[_0x115b53(0x201)][_0x115b53(0x1eb)]();if(_0x18b2d8<this[_0x115b53(0x201)][0x0][_0x115b53(0x10f)]){const _0xb7819b=this[_0x115b53(0x201)][0x0];return this[_0x115b53(0x201)][0x0]=new _0x1e94e2(_0xb7819b[_0x115b53(0x1ea)],_0xb7819b[_0x115b53(0x231)]+_0x18b2d8,_0xb7819b[_0x115b53(0x10f)]-_0x18b2d8),new _0x1e94e2(_0xb7819b[_0x115b53(0x1ea)],_0xb7819b[_0x115b53(0x231)],_0x18b2d8);}const _0x15abf3=Buffer[_0x115b53(0x1e1)](_0x18b2d8);do{const _0x132afd=this[_0x115b53(0x201)][0x0],_0x2ab855=_0x15abf3[_0x115b53(0x10f)]-_0x18b2d8;_0x18b2d8>=_0x132afd[_0x115b53(0x10f)]?_0x15abf3[_0x115b53(0x1f3)](this[_0x115b53(0x201)][_0x115b53(0x1eb)](),_0x2ab855):(_0x15abf3[_0x115b53(0x1f3)](new Uint8Array(_0x132afd[_0x115b53(0x1ea)],_0x132afd[_0x115b53(0x231)],_0x18b2d8),_0x2ab855),this[_0x115b53(0x201)][0x0]=new _0x1e94e2(_0x132afd[_0x115b53(0x1ea)],_0x132afd['byteOffset']+_0x18b2d8,_0x132afd[_0x115b53(0x10f)]-_0x18b2d8)),_0x18b2d8-=_0x132afd[_0x115b53(0x10f)];}while(_0x18b2d8>0x0);return _0x15abf3;}['startLoop'](_0x3658b9){const _0x4b0dff=_0x342ff4;this[_0x4b0dff(0x24a)]=!0x0;do switch(this[_0x4b0dff(0x135)]){case _0x4c0123:this['getInfo'](_0x3658b9);break;case _0x477ed5:this[_0x4b0dff(0x12a)](_0x3658b9);break;case _0x2861f6:this[_0x4b0dff(0x1cc)](_0x3658b9);break;case _0x2ebf12:this[_0x4b0dff(0x159)]();break;case _0x2e09e4:this[_0x4b0dff(0x15e)](_0x3658b9);break;case _0x28233a:case _0x2de27b:this[_0x4b0dff(0x24a)]=!0x1;return;}while(this[_0x4b0dff(0x24a)]);this[_0x4b0dff(0x291)]||_0x3658b9();}[_0x342ff4(0x144)](_0x425da0){const _0x45a87a=_0x342ff4;if(this[_0x45a87a(0x284)]<0x2){this[_0x45a87a(0x24a)]=!0x1;return;}const _0x840ee7=this[_0x45a87a(0x16a)](0x2);if((_0x840ee7[0x0]&0x30)!==0x0){const _0x22fc2a=this['createError'](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x45a87a(0x1b5));_0x425da0(_0x22fc2a);return;}const _0xa981a2=(_0x840ee7[0x0]&0x40)===0x40;if(_0xa981a2&&!this[_0x45a87a(0x28f)][_0x3f09c5[_0x45a87a(0x160)]]){const _0x20f046=this[_0x45a87a(0x212)](RangeError,_0x45a87a(0x247),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x425da0(_0x20f046);return;}if(this[_0x45a87a(0x1da)]=(_0x840ee7[0x0]&0x80)===0x80,this['_opcode']=_0x840ee7[0x0]&0xf,this[_0x45a87a(0x283)]=_0x840ee7[0x1]&0x7f,this[_0x45a87a(0x2a1)]===0x0){if(_0xa981a2){const _0x499bc1=this[_0x45a87a(0x212)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x45a87a(0x290));_0x425da0(_0x499bc1);return;}if(!this[_0x45a87a(0x137)]){const _0x12fcb9=this[_0x45a87a(0x212)](RangeError,_0x45a87a(0x230),!0x0,0x3ea,_0x45a87a(0x226));_0x425da0(_0x12fcb9);return;}this[_0x45a87a(0x2a1)]=this['_fragmented'];}else{if(this[_0x45a87a(0x2a1)]===0x1||this[_0x45a87a(0x2a1)]===0x2){if(this[_0x45a87a(0x137)]){const _0xbba885=this[_0x45a87a(0x212)](RangeError,'invalid\x20opcode\x20'+this[_0x45a87a(0x2a1)],!0x0,0x3ea,_0x45a87a(0x226));_0x425da0(_0xbba885);return;}this[_0x45a87a(0x16e)]=_0xa981a2;}else{if(this[_0x45a87a(0x2a1)]>0x7&&this[_0x45a87a(0x2a1)]<0xb){if(!this[_0x45a87a(0x1da)]){const _0xf671e7=this[_0x45a87a(0x212)](RangeError,_0x45a87a(0x1b8),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x425da0(_0xf671e7);return;}if(_0xa981a2){const _0x481d95=this[_0x45a87a(0x212)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x45a87a(0x290));_0x425da0(_0x481d95);return;}if(this[_0x45a87a(0x283)]>0x7d||this['_opcode']===0x8&&this[_0x45a87a(0x283)]===0x1){const _0x3edf90=this['createError'](RangeError,_0x45a87a(0x11f)+this['_payloadLength'],!0x0,0x3ea,_0x45a87a(0x24f));_0x425da0(_0x3edf90);return;}}else{const _0x2f6904=this[_0x45a87a(0x212)](RangeError,'invalid\x20opcode\x20'+this[_0x45a87a(0x2a1)],!0x0,0x3ea,_0x45a87a(0x226));_0x425da0(_0x2f6904);return;}}}if(!this['_fin']&&!this[_0x45a87a(0x137)]&&(this[_0x45a87a(0x137)]=this[_0x45a87a(0x2a1)]),this[_0x45a87a(0x24e)]=(_0x840ee7[0x1]&0x80)===0x80,this[_0x45a87a(0x1f9)]){if(!this[_0x45a87a(0x24e)]){const _0x37bcce=this[_0x45a87a(0x212)](RangeError,_0x45a87a(0x1bb),!0x0,0x3ea,_0x45a87a(0x255));_0x425da0(_0x37bcce);return;}}else{if(this['_masked']){const _0x592a6e=this[_0x45a87a(0x212)](RangeError,_0x45a87a(0x17f),!0x0,0x3ea,_0x45a87a(0x110));_0x425da0(_0x592a6e);return;}}this['_payloadLength']===0x7e?this['_state']=_0x477ed5:this[_0x45a87a(0x283)]===0x7f?this['_state']=_0x2861f6:this[_0x45a87a(0x264)](_0x425da0);}[_0x342ff4(0x12a)](_0xbb8af1){const _0x3582d4=_0x342ff4;if(this['_bufferedBytes']<0x2){this[_0x3582d4(0x24a)]=!0x1;return;}this[_0x3582d4(0x283)]=this[_0x3582d4(0x16a)](0x2)[_0x3582d4(0x232)](0x0),this['haveLength'](_0xbb8af1);}[_0x342ff4(0x1cc)](_0x538acd){const _0x1a5375=_0x342ff4;if(this[_0x1a5375(0x284)]<0x8){this[_0x1a5375(0x24a)]=!0x1;return;}const _0x579fd8=this[_0x1a5375(0x16a)](0x8),_0x1ee0bb=_0x579fd8[_0x1a5375(0x251)](0x0);if(_0x1ee0bb>Math[_0x1a5375(0x10d)](0x2,0x15)-0x1){const _0x30e8b1=this[_0x1a5375(0x212)](RangeError,_0x1a5375(0x190),!0x1,0x3f1,_0x1a5375(0x213));_0x538acd(_0x30e8b1);return;}this[_0x1a5375(0x283)]=_0x1ee0bb*Math['pow'](0x2,0x20)+_0x579fd8[_0x1a5375(0x251)](0x4),this['haveLength'](_0x538acd);}['haveLength'](_0x4f5ea0){const _0x1d0a12=_0x342ff4;if(this['_payloadLength']&&this['_opcode']<0x8&&(this[_0x1d0a12(0x180)]+=this[_0x1d0a12(0x283)],this[_0x1d0a12(0x180)]>this['_maxPayload']&&this[_0x1d0a12(0x127)]>0x0)){const _0x4248f9=this[_0x1d0a12(0x212)](RangeError,_0x1d0a12(0x23e),!0x1,0x3f1,_0x1d0a12(0x136));_0x4f5ea0(_0x4248f9);return;}this[_0x1d0a12(0x24e)]?this[_0x1d0a12(0x135)]=_0x2ebf12:this['_state']=_0x2e09e4;}['getMask'](){const _0x272a3f=_0x342ff4;if(this[_0x272a3f(0x284)]<0x4){this[_0x272a3f(0x24a)]=!0x1;return;}this[_0x272a3f(0x198)]=this[_0x272a3f(0x16a)](0x4),this[_0x272a3f(0x135)]=_0x2e09e4;}[_0x342ff4(0x15e)](_0x41435a){const _0x493360=_0x342ff4;let _0x5501ac=_0x24bb80;if(this[_0x493360(0x283)]){if(this[_0x493360(0x284)]<this[_0x493360(0x283)]){this[_0x493360(0x24a)]=!0x1;return;}_0x5501ac=this['consume'](this[_0x493360(0x283)]),this['_masked']&&(this['_mask'][0x0]|this[_0x493360(0x198)][0x1]|this[_0x493360(0x198)][0x2]|this['_mask'][0x3])!==0x0&&_0x1eec5c(_0x5501ac,this[_0x493360(0x198)]);}if(this[_0x493360(0x2a1)]>0x7){this[_0x493360(0x220)](_0x5501ac,_0x41435a);return;}if(this[_0x493360(0x16e)]){this[_0x493360(0x135)]=_0x28233a,this[_0x493360(0x192)](_0x5501ac,_0x41435a);return;}_0x5501ac[_0x493360(0x10f)]&&(this['_messageLength']=this[_0x493360(0x180)],this['_fragments']['push'](_0x5501ac)),this[_0x493360(0x265)](_0x41435a);}[_0x342ff4(0x192)](_0x8b9f84,_0x26b7a2){const _0x5db97e=_0x342ff4;this[_0x5db97e(0x28f)][_0x3f09c5[_0x5db97e(0x160)]][_0x5db97e(0x192)](_0x8b9f84,this[_0x5db97e(0x1da)],(_0x570c29,_0x4102ab)=>{const _0x13d4d5=_0x5db97e;if(_0x570c29)return _0x26b7a2(_0x570c29);if(_0x4102ab[_0x13d4d5(0x10f)]){if(this[_0x13d4d5(0x2a0)]+=_0x4102ab[_0x13d4d5(0x10f)],this['_messageLength']>this[_0x13d4d5(0x127)]&&this[_0x13d4d5(0x127)]>0x0){const _0x586340=this['createError'](RangeError,_0x13d4d5(0x23e),!0x1,0x3f1,_0x13d4d5(0x136));_0x26b7a2(_0x586340);return;}this[_0x13d4d5(0x1a8)][_0x13d4d5(0x17e)](_0x4102ab);}this[_0x13d4d5(0x265)](_0x26b7a2),this[_0x13d4d5(0x135)]===_0x4c0123&&this[_0x13d4d5(0x111)](_0x26b7a2);});}[_0x342ff4(0x265)](_0x14765c){const _0x5b915f=_0x342ff4;if(!this[_0x5b915f(0x1da)]){this[_0x5b915f(0x135)]=_0x4c0123;return;}const _0x417704=this[_0x5b915f(0x2a0)],_0x4ea01f=this['_fragments'];if(this[_0x5b915f(0x180)]=0x0,this[_0x5b915f(0x2a0)]=0x0,this[_0x5b915f(0x137)]=0x0,this[_0x5b915f(0x1a8)]=[],this[_0x5b915f(0x2a1)]===0x2){let _0x16af2e;this[_0x5b915f(0x130)]===_0x5b915f(0x1cd)?_0x16af2e=_0x40b18c(_0x4ea01f,_0x417704):this[_0x5b915f(0x130)]==='arraybuffer'?_0x16af2e=_0x42ba5c(_0x40b18c(_0x4ea01f,_0x417704)):this[_0x5b915f(0x130)]===_0x5b915f(0x12e)?_0x16af2e=new Blob(_0x4ea01f):_0x16af2e=_0x4ea01f,this['_allowSynchronousEvents']?(this['emit'](_0x5b915f(0x25f),_0x16af2e,!0x0),this[_0x5b915f(0x135)]=_0x4c0123):(this[_0x5b915f(0x135)]=_0x2de27b,setImmediate(()=>{const _0x4a1a66=_0x5b915f;this[_0x4a1a66(0x186)]('message',_0x16af2e,!0x0),this[_0x4a1a66(0x135)]=_0x4c0123,this[_0x4a1a66(0x111)](_0x14765c);}));}else{const _0x3a8a38=_0x40b18c(_0x4ea01f,_0x417704);if(!this['_skipUTF8Validation']&&!_0x2d6c53(_0x3a8a38)){const _0xcdce7b=this[_0x5b915f(0x212)](Error,_0x5b915f(0x243),!0x0,0x3ef,_0x5b915f(0x2ab));_0x14765c(_0xcdce7b);return;}this[_0x5b915f(0x135)]===_0x28233a||this[_0x5b915f(0x18e)]?(this[_0x5b915f(0x186)](_0x5b915f(0x25f),_0x3a8a38,!0x1),this[_0x5b915f(0x135)]=_0x4c0123):(this[_0x5b915f(0x135)]=_0x2de27b,setImmediate(()=>{const _0x4fff09=_0x5b915f;this[_0x4fff09(0x186)](_0x4fff09(0x25f),_0x3a8a38,!0x1),this['_state']=_0x4c0123,this[_0x4fff09(0x111)](_0x14765c);}));}}[_0x342ff4(0x220)](_0x21a56d,_0x46833e){const _0x18f376=_0x342ff4;if(this['_opcode']===0x8){if(_0x21a56d[_0x18f376(0x10f)]===0x0)this[_0x18f376(0x24a)]=!0x1,this[_0x18f376(0x186)](_0x18f376(0x24c),0x3ed,_0x24bb80),this[_0x18f376(0x21b)]();else{const _0x51f94a=_0x21a56d[_0x18f376(0x232)](0x0);if(!_0x32e42d(_0x51f94a)){const _0x1b7681=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x51f94a,!0x0,0x3ea,_0x18f376(0x1c2));_0x46833e(_0x1b7681);return;}const _0xfa0594=new _0x1e94e2(_0x21a56d[_0x18f376(0x1ea)],_0x21a56d[_0x18f376(0x231)]+0x2,_0x21a56d[_0x18f376(0x10f)]-0x2);if(!this[_0x18f376(0x14f)]&&!_0x2d6c53(_0xfa0594)){const _0x91218c=this[_0x18f376(0x212)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x18f376(0x2ab));_0x46833e(_0x91218c);return;}this[_0x18f376(0x24a)]=!0x1,this[_0x18f376(0x186)](_0x18f376(0x24c),_0x51f94a,_0xfa0594),this[_0x18f376(0x21b)]();}this[_0x18f376(0x135)]=_0x4c0123;return;}this['_allowSynchronousEvents']?(this[_0x18f376(0x186)](this['_opcode']===0x9?_0x18f376(0x1cb):_0x18f376(0x1a6),_0x21a56d),this[_0x18f376(0x135)]=_0x4c0123):(this[_0x18f376(0x135)]=_0x2de27b,setImmediate(()=>{const _0x45dbe9=_0x18f376;this[_0x45dbe9(0x186)](this['_opcode']===0x9?_0x45dbe9(0x1cb):_0x45dbe9(0x1a6),_0x21a56d),this[_0x45dbe9(0x135)]=_0x4c0123,this[_0x45dbe9(0x111)](_0x46833e);}));}[_0x342ff4(0x212)](_0x2b1e82,_0x1877c5,_0x28ca73,_0x2ce26c,_0x37dabf){const _0x58c4fe=_0x342ff4;this[_0x58c4fe(0x24a)]=!0x1,this[_0x58c4fe(0x291)]=!0x0;const _0x2b6a54=new _0x2b1e82(_0x28ca73?_0x58c4fe(0x12c)+_0x1877c5:_0x1877c5);return Error[_0x58c4fe(0x1c6)](_0x2b6a54,this[_0x58c4fe(0x212)]),_0x2b6a54[_0x58c4fe(0x22e)]=_0x37dabf,_0x2b6a54[_0x575982]=_0x2ce26c,_0x2b6a54;}}return Se=_0x95e567,Se;}var Ee,et;function _t(){const _0x1e19be=_0x2b7c49;if(et)return Ee;et=0x1;const {Duplex:_0xda0065}=_0x3e85cd,{randomFillSync:_0x546270}=_0x409377,_0xeb70bf=he(),{EMPTY_BUFFER:_0x4833dc,kWebSocket:_0x5a8eea,NOOP:_0x122081}=V(),{isBlob:_0x4c0473,isValidStatusCode:_0x23e3f5}=ne(),{mask:_0x4a053e,toBuffer:_0x319d45}=ce(),_0x304172=Symbol(_0x1e19be(0x194)),_0x3cb552=Buffer[_0x1e19be(0x26a)](0x4),_0xd57b9=0x8*0x400;let _0x67d26,_0x4f56bd=_0xd57b9;const _0x43bc60=0x0,_0x13a37b=0x1,_0x2c4a52=0x2;class _0x2de438{constructor(_0x50694b,_0x598ae5,_0x4632b8){const _0x143002=_0x1e19be;this['_extensions']=_0x598ae5||{},_0x4632b8&&(this[_0x143002(0x1ad)]=_0x4632b8,this['_maskBuffer']=Buffer[_0x143002(0x26a)](0x4)),this[_0x143002(0x1ba)]=_0x50694b,this[_0x143002(0x236)]=!0x0,this[_0x143002(0x24d)]=!0x1,this[_0x143002(0x284)]=0x0,this[_0x143002(0x1f1)]=[],this['_state']=_0x43bc60,this[_0x143002(0x254)]=_0x122081,this[_0x5a8eea]=void 0x0;}static[_0x1e19be(0x297)](_0x345b1d,_0x3f5c79){const _0x35d8eb=_0x1e19be;let _0x385b6a,_0x50eeea=!0x1,_0x38c6a9=0x2,_0x4bfec0=!0x1;_0x3f5c79['mask']&&(_0x385b6a=_0x3f5c79[_0x35d8eb(0x28e)]||_0x3cb552,_0x3f5c79[_0x35d8eb(0x1ce)]?_0x3f5c79[_0x35d8eb(0x1ce)](_0x385b6a):(_0x4f56bd===_0xd57b9&&(_0x67d26===void 0x0&&(_0x67d26=Buffer['alloc'](_0xd57b9)),_0x546270(_0x67d26,0x0,_0xd57b9),_0x4f56bd=0x0),_0x385b6a[0x0]=_0x67d26[_0x4f56bd++],_0x385b6a[0x1]=_0x67d26[_0x4f56bd++],_0x385b6a[0x2]=_0x67d26[_0x4f56bd++],_0x385b6a[0x3]=_0x67d26[_0x4f56bd++]),_0x4bfec0=(_0x385b6a[0x0]|_0x385b6a[0x1]|_0x385b6a[0x2]|_0x385b6a[0x3])===0x0,_0x38c6a9=0x6);let _0x4bd6d4;typeof _0x345b1d==_0x35d8eb(0x1c0)?(!_0x3f5c79[_0x35d8eb(0x207)]||_0x4bfec0)&&_0x3f5c79[_0x304172]!==void 0x0?_0x4bd6d4=_0x3f5c79[_0x304172]:(_0x345b1d=Buffer[_0x35d8eb(0x1b4)](_0x345b1d),_0x4bd6d4=_0x345b1d[_0x35d8eb(0x10f)]):(_0x4bd6d4=_0x345b1d[_0x35d8eb(0x10f)],_0x50eeea=_0x3f5c79[_0x35d8eb(0x207)]&&_0x3f5c79[_0x35d8eb(0x23d)]&&!_0x4bfec0);let _0x46137c=_0x4bd6d4;_0x4bd6d4>=0x10000?(_0x38c6a9+=0x8,_0x46137c=0x7f):_0x4bd6d4>0x7d&&(_0x38c6a9+=0x2,_0x46137c=0x7e);const _0x45c8dc=Buffer[_0x35d8eb(0x1e1)](_0x50eeea?_0x4bd6d4+_0x38c6a9:_0x38c6a9);return _0x45c8dc[0x0]=_0x3f5c79[_0x35d8eb(0x17a)]?_0x3f5c79['opcode']|0x80:_0x3f5c79[_0x35d8eb(0x225)],_0x3f5c79[_0x35d8eb(0x15a)]&&(_0x45c8dc[0x0]|=0x40),_0x45c8dc[0x1]=_0x46137c,_0x46137c===0x7e?_0x45c8dc[_0x35d8eb(0x240)](_0x4bd6d4,0x2):_0x46137c===0x7f&&(_0x45c8dc[0x2]=_0x45c8dc[0x3]=0x0,_0x45c8dc[_0x35d8eb(0x14b)](_0x4bd6d4,0x4,0x6)),_0x3f5c79[_0x35d8eb(0x207)]?(_0x45c8dc[0x1]|=0x80,_0x45c8dc[_0x38c6a9-0x4]=_0x385b6a[0x0],_0x45c8dc[_0x38c6a9-0x3]=_0x385b6a[0x1],_0x45c8dc[_0x38c6a9-0x2]=_0x385b6a[0x2],_0x45c8dc[_0x38c6a9-0x1]=_0x385b6a[0x3],_0x4bfec0?[_0x45c8dc,_0x345b1d]:_0x50eeea?(_0x4a053e(_0x345b1d,_0x385b6a,_0x45c8dc,_0x38c6a9,_0x4bd6d4),[_0x45c8dc]):(_0x4a053e(_0x345b1d,_0x385b6a,_0x345b1d,0x0,_0x4bd6d4),[_0x45c8dc,_0x345b1d])):[_0x45c8dc,_0x345b1d];}[_0x1e19be(0x174)](_0x10bc7e,_0x2e4b27,_0x58c9bd,_0x2fd9bc){const _0x18b1d1=_0x1e19be;let _0x199585;if(_0x10bc7e===void 0x0)_0x199585=_0x4833dc;else{if(typeof _0x10bc7e!=_0x18b1d1(0x24b)||!_0x23e3f5(_0x10bc7e))throw new TypeError(_0x18b1d1(0x115));if(_0x2e4b27===void 0x0||!_0x2e4b27[_0x18b1d1(0x10f)])_0x199585=Buffer[_0x18b1d1(0x1e1)](0x2),_0x199585[_0x18b1d1(0x240)](_0x10bc7e,0x0);else{const _0x6dcb9b=Buffer[_0x18b1d1(0x279)](_0x2e4b27);if(_0x6dcb9b>0x7b)throw new RangeError(_0x18b1d1(0x277));_0x199585=Buffer['allocUnsafe'](0x2+_0x6dcb9b),_0x199585['writeUInt16BE'](_0x10bc7e,0x0),typeof _0x2e4b27==_0x18b1d1(0x1c0)?_0x199585['write'](_0x2e4b27,0x2):_0x199585[_0x18b1d1(0x1f3)](_0x2e4b27,0x2);}}const _0x564e41={[_0x304172]:_0x199585[_0x18b1d1(0x10f)],'fin':!0x0,'generateMask':this[_0x18b1d1(0x1ad)],'mask':_0x58c9bd,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x18b1d1(0x135)]!==_0x43bc60?this[_0x18b1d1(0x1c7)]([this[_0x18b1d1(0x26b)],_0x199585,!0x1,_0x564e41,_0x2fd9bc]):this[_0x18b1d1(0x222)](_0x2de438['frame'](_0x199585,_0x564e41),_0x2fd9bc);}[_0x1e19be(0x1cb)](_0x1c2a6f,_0x49370e,_0x4885fc){const _0x35e31f=_0x1e19be;let _0x14307a,_0x4f0903;if(typeof _0x1c2a6f==_0x35e31f(0x1c0)?(_0x14307a=Buffer['byteLength'](_0x1c2a6f),_0x4f0903=!0x1):_0x4c0473(_0x1c2a6f)?(_0x14307a=_0x1c2a6f[_0x35e31f(0x171)],_0x4f0903=!0x1):(_0x1c2a6f=_0x319d45(_0x1c2a6f),_0x14307a=_0x1c2a6f[_0x35e31f(0x10f)],_0x4f0903=_0x319d45['readOnly']),_0x14307a>0x7d)throw new RangeError(_0x35e31f(0x2ac));const _0x4ead7e={[_0x304172]:_0x14307a,'fin':!0x0,'generateMask':this[_0x35e31f(0x1ad)],'mask':_0x49370e,'maskBuffer':this[_0x35e31f(0x239)],'opcode':0x9,'readOnly':_0x4f0903,'rsv1':!0x1};_0x4c0473(_0x1c2a6f)?this['_state']!==_0x43bc60?this['enqueue']([this[_0x35e31f(0x1ca)],_0x1c2a6f,!0x1,_0x4ead7e,_0x4885fc]):this[_0x35e31f(0x1ca)](_0x1c2a6f,!0x1,_0x4ead7e,_0x4885fc):this[_0x35e31f(0x135)]!==_0x43bc60?this[_0x35e31f(0x1c7)]([this[_0x35e31f(0x26b)],_0x1c2a6f,!0x1,_0x4ead7e,_0x4885fc]):this[_0x35e31f(0x222)](_0x2de438['frame'](_0x1c2a6f,_0x4ead7e),_0x4885fc);}[_0x1e19be(0x1a6)](_0x1c692c,_0x230feb,_0x29f765){const _0x6d4248=_0x1e19be;let _0x2936a5,_0x5c7b52;if(typeof _0x1c692c==_0x6d4248(0x1c0)?(_0x2936a5=Buffer[_0x6d4248(0x279)](_0x1c692c),_0x5c7b52=!0x1):_0x4c0473(_0x1c692c)?(_0x2936a5=_0x1c692c[_0x6d4248(0x171)],_0x5c7b52=!0x1):(_0x1c692c=_0x319d45(_0x1c692c),_0x2936a5=_0x1c692c[_0x6d4248(0x10f)],_0x5c7b52=_0x319d45[_0x6d4248(0x23d)]),_0x2936a5>0x7d)throw new RangeError(_0x6d4248(0x2ac));const _0x43497c={[_0x304172]:_0x2936a5,'fin':!0x0,'generateMask':this[_0x6d4248(0x1ad)],'mask':_0x230feb,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x5c7b52,'rsv1':!0x1};_0x4c0473(_0x1c692c)?this[_0x6d4248(0x135)]!==_0x43bc60?this[_0x6d4248(0x1c7)]([this['getBlobData'],_0x1c692c,!0x1,_0x43497c,_0x29f765]):this[_0x6d4248(0x1ca)](_0x1c692c,!0x1,_0x43497c,_0x29f765):this[_0x6d4248(0x135)]!==_0x43bc60?this[_0x6d4248(0x1c7)]([this['dispatch'],_0x1c692c,!0x1,_0x43497c,_0x29f765]):this[_0x6d4248(0x222)](_0x2de438[_0x6d4248(0x297)](_0x1c692c,_0x43497c),_0x29f765);}[_0x1e19be(0x1d2)](_0x5d3331,_0x3eb4c9,_0x5037d7){const _0x4fe71b=_0x1e19be,_0x4cfb28=this['_extensions'][_0xeb70bf[_0x4fe71b(0x160)]];let _0x108c3e=_0x3eb4c9[_0x4fe71b(0x117)]?0x2:0x1,_0x2c2df5=_0x3eb4c9[_0x4fe71b(0x285)],_0x3ae7e7,_0x46257a;typeof _0x5d3331==_0x4fe71b(0x1c0)?(_0x3ae7e7=Buffer[_0x4fe71b(0x279)](_0x5d3331),_0x46257a=!0x1):_0x4c0473(_0x5d3331)?(_0x3ae7e7=_0x5d3331[_0x4fe71b(0x171)],_0x46257a=!0x1):(_0x5d3331=_0x319d45(_0x5d3331),_0x3ae7e7=_0x5d3331[_0x4fe71b(0x10f)],_0x46257a=_0x319d45[_0x4fe71b(0x23d)]),this[_0x4fe71b(0x236)]?(this['_firstFragment']=!0x1,_0x2c2df5&&_0x4cfb28&&_0x4cfb28[_0x4fe71b(0x1a3)][_0x4cfb28[_0x4fe71b(0x1f9)]?_0x4fe71b(0x169):_0x4fe71b(0x142)]&&(_0x2c2df5=_0x3ae7e7>=_0x4cfb28['_threshold']),this[_0x4fe71b(0x24d)]=_0x2c2df5):(_0x2c2df5=!0x1,_0x108c3e=0x0),_0x3eb4c9[_0x4fe71b(0x17a)]&&(this[_0x4fe71b(0x236)]=!0x0);const _0x1f6553={[_0x304172]:_0x3ae7e7,'fin':_0x3eb4c9[_0x4fe71b(0x17a)],'generateMask':this[_0x4fe71b(0x1ad)],'mask':_0x3eb4c9['mask'],'maskBuffer':this[_0x4fe71b(0x239)],'opcode':_0x108c3e,'readOnly':_0x46257a,'rsv1':_0x2c2df5};_0x4c0473(_0x5d3331)?this[_0x4fe71b(0x135)]!==_0x43bc60?this[_0x4fe71b(0x1c7)]([this[_0x4fe71b(0x1ca)],_0x5d3331,this[_0x4fe71b(0x24d)],_0x1f6553,_0x5037d7]):this[_0x4fe71b(0x1ca)](_0x5d3331,this[_0x4fe71b(0x24d)],_0x1f6553,_0x5037d7):this['_state']!==_0x43bc60?this['enqueue']([this['dispatch'],_0x5d3331,this['_compress'],_0x1f6553,_0x5037d7]):this['dispatch'](_0x5d3331,this[_0x4fe71b(0x24d)],_0x1f6553,_0x5037d7);}[_0x1e19be(0x1ca)](_0xfb981,_0x58b29c,_0x809485,_0x2e2d8d){const _0x581058=_0x1e19be;this[_0x581058(0x284)]+=_0x809485[_0x304172],this['_state']=_0x2c4a52,_0xfb981[_0x581058(0x299)]()[_0x581058(0x1a1)](_0x6d3cae=>{const _0x4ff0e2=_0x581058;if(this[_0x4ff0e2(0x1ba)][_0x4ff0e2(0x276)]){const _0x51423d=new Error(_0x4ff0e2(0x131));process[_0x4ff0e2(0x248)](_0x983497,this,_0x51423d,_0x2e2d8d);return;}this['_bufferedBytes']-=_0x809485[_0x304172];const _0x3e7665=_0x319d45(_0x6d3cae);_0x58b29c?this[_0x4ff0e2(0x26b)](_0x3e7665,_0x58b29c,_0x809485,_0x2e2d8d):(this['_state']=_0x43bc60,this[_0x4ff0e2(0x222)](_0x2de438[_0x4ff0e2(0x297)](_0x3e7665,_0x809485),_0x2e2d8d),this['dequeue']());})[_0x581058(0x18f)](_0x34c692=>{const _0x23adf6=_0x581058;process[_0x23adf6(0x248)](_0xcbe983,this,_0x34c692,_0x2e2d8d);});}['dispatch'](_0x45e457,_0x31b222,_0x1163a6,_0x70d72b){const _0xb9a83c=_0x1e19be;if(!_0x31b222){this[_0xb9a83c(0x222)](_0x2de438['frame'](_0x45e457,_0x1163a6),_0x70d72b);return;}const _0x3bc31b=this[_0xb9a83c(0x28f)][_0xeb70bf[_0xb9a83c(0x160)]];this['_bufferedBytes']+=_0x1163a6[_0x304172],this[_0xb9a83c(0x135)]=_0x13a37b,_0x3bc31b['compress'](_0x45e457,_0x1163a6['fin'],(_0x2b7372,_0x4d0025)=>{const _0x1d57b8=_0xb9a83c;if(this['_socket']['destroyed']){const _0xf5c779=new Error(_0x1d57b8(0x245));_0x983497(this,_0xf5c779,_0x70d72b);return;}this[_0x1d57b8(0x284)]-=_0x1163a6[_0x304172],this['_state']=_0x43bc60,_0x1163a6['readOnly']=!0x1,this[_0x1d57b8(0x222)](_0x2de438[_0x1d57b8(0x297)](_0x4d0025,_0x1163a6),_0x70d72b),this['dequeue']();});}[_0x1e19be(0x181)](){const _0x4a9cd1=_0x1e19be;for(;this[_0x4a9cd1(0x135)]===_0x43bc60&&this['_queue'][_0x4a9cd1(0x10f)];){const _0x7147d9=this[_0x4a9cd1(0x1f1)][_0x4a9cd1(0x1eb)]();this['_bufferedBytes']-=_0x7147d9[0x3][_0x304172],Reflect[_0x4a9cd1(0x113)](_0x7147d9[0x0],this,_0x7147d9['slice'](0x1));}}['enqueue'](_0x53236c){const _0x210726=_0x1e19be;this['_bufferedBytes']+=_0x53236c[0x3][_0x304172],this['_queue'][_0x210726(0x17e)](_0x53236c);}[_0x1e19be(0x222)](_0xb6ba1b,_0x34a3bb){const _0x16642e=_0x1e19be;_0xb6ba1b['length']===0x2?(this[_0x16642e(0x1ba)][_0x16642e(0x281)](),this[_0x16642e(0x1ba)][_0x16642e(0x1e9)](_0xb6ba1b[0x0]),this['_socket'][_0x16642e(0x1e9)](_0xb6ba1b[0x1],_0x34a3bb),this['_socket'][_0x16642e(0x23f)]()):this[_0x16642e(0x1ba)][_0x16642e(0x1e9)](_0xb6ba1b[0x0],_0x34a3bb);}}Ee=_0x2de438;function _0x983497(_0x31fdf5,_0x42d274,_0x308570){const _0x162c92=_0x1e19be;typeof _0x308570==_0x162c92(0x157)&&_0x308570(_0x42d274);for(let _0x4c6f0f=0x0;_0x4c6f0f<_0x31fdf5[_0x162c92(0x1f1)][_0x162c92(0x10f)];_0x4c6f0f++){const _0x3abe76=_0x31fdf5[_0x162c92(0x1f1)][_0x4c6f0f],_0x939477=_0x3abe76[_0x3abe76['length']-0x1];typeof _0x939477=='function'&&_0x939477(_0x42d274);}}function _0xcbe983(_0x162b87,_0x3351ab,_0x55ba43){const _0xf66c51=_0x1e19be;_0x983497(_0x162b87,_0x3351ab,_0x55ba43),_0x162b87[_0xf66c51(0x254)](_0x3351ab);}return Ee;}var xe,tt;function Kt(){const _0x30b8b2=_0x2b7c49;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0xbde6ce,kListener:_0x4309d5}=V(),_0x26e5ef=Symbol(_0x30b8b2(0x118)),_0x55a16a=Symbol(_0x30b8b2(0x29e)),_0x5da3d7=Symbol(_0x30b8b2(0x176)),_0x5163c6=Symbol(_0x30b8b2(0x1d9)),_0x12a815=Symbol(_0x30b8b2(0x218)),_0x84a1e3=Symbol(_0x30b8b2(0x270)),_0x2dddc9=Symbol(_0x30b8b2(0x1b9)),_0x82a55=Symbol(_0x30b8b2(0x244));class _0x1d12aa{constructor(_0x43c29){this[_0x84a1e3]=null,this[_0x2dddc9]=_0x43c29;}get[_0x30b8b2(0x286)](){return this[_0x84a1e3];}get['type'](){return this[_0x2dddc9];}}Object[_0x30b8b2(0x1a5)](_0x1d12aa[_0x30b8b2(0x216)],_0x30b8b2(0x286),{'enumerable':!0x0}),Object[_0x30b8b2(0x1a5)](_0x1d12aa[_0x30b8b2(0x216)],_0x30b8b2(0x18d),{'enumerable':!0x0});class _0x5a4057 extends _0x1d12aa{constructor(_0x37813d,_0x42ae36={}){const _0x4af20e=_0x30b8b2;super(_0x37813d),this[_0x26e5ef]=_0x42ae36[_0x4af20e(0x22e)]===void 0x0?0x0:_0x42ae36[_0x4af20e(0x22e)],this[_0x12a815]=_0x42ae36[_0x4af20e(0x2a4)]===void 0x0?'':_0x42ae36[_0x4af20e(0x2a4)],this[_0x82a55]=_0x42ae36[_0x4af20e(0x295)]===void 0x0?!0x1:_0x42ae36[_0x4af20e(0x295)];}get[_0x30b8b2(0x22e)](){return this[_0x26e5ef];}get['reason'](){return this[_0x12a815];}get[_0x30b8b2(0x295)](){return this[_0x82a55];}}Object['defineProperty'](_0x5a4057['prototype'],_0x30b8b2(0x22e),{'enumerable':!0x0}),Object['defineProperty'](_0x5a4057[_0x30b8b2(0x216)],_0x30b8b2(0x2a4),{'enumerable':!0x0}),Object[_0x30b8b2(0x1a5)](_0x5a4057[_0x30b8b2(0x216)],'wasClean',{'enumerable':!0x0});class _0x47dcc1 extends _0x1d12aa{constructor(_0x55a77b,_0x1be1bd={}){const _0xb2695d=_0x30b8b2;super(_0x55a77b),this[_0x5da3d7]=_0x1be1bd['error']===void 0x0?null:_0x1be1bd['error'],this[_0x5163c6]=_0x1be1bd['message']===void 0x0?'':_0x1be1bd[_0xb2695d(0x25f)];}get[_0x30b8b2(0x21f)](){return this[_0x5da3d7];}get[_0x30b8b2(0x25f)](){return this[_0x5163c6];}}Object['defineProperty'](_0x47dcc1['prototype'],_0x30b8b2(0x21f),{'enumerable':!0x0}),Object['defineProperty'](_0x47dcc1[_0x30b8b2(0x216)],'message',{'enumerable':!0x0});class _0x18f433 extends _0x1d12aa{constructor(_0x5cbb63,_0x1b732d={}){const _0x2a9f5f=_0x30b8b2;super(_0x5cbb63),this[_0x55a16a]=_0x1b732d[_0x2a9f5f(0x1ec)]===void 0x0?null:_0x1b732d[_0x2a9f5f(0x1ec)];}get['data'](){return this[_0x55a16a];}}Object[_0x30b8b2(0x1a5)](_0x18f433[_0x30b8b2(0x216)],_0x30b8b2(0x1ec),{'enumerable':!0x0}),xe={'CloseEvent':_0x5a4057,'ErrorEvent':_0x47dcc1,'Event':_0x1d12aa,'EventTarget':{'addEventListener'(_0x96316e,_0x4c77c9,_0x28f6b3={}){const _0x459acf=_0x30b8b2;for(const _0x58f68a of this[_0x459acf(0x252)](_0x96316e))if(!_0x28f6b3[_0xbde6ce]&&_0x58f68a[_0x4309d5]===_0x4c77c9&&!_0x58f68a[_0xbde6ce])return;let _0x12e8f1;if(_0x96316e==='message')_0x12e8f1=function(_0xf04619,_0x2dbb22){const _0x1b0bb6=_0x459acf,_0x30a56f=new _0x18f433(_0x1b0bb6(0x25f),{'data':_0x2dbb22?_0xf04619:_0xf04619[_0x1b0bb6(0x12d)]()});_0x30a56f[_0x84a1e3]=this,_0x10fbdc(_0x4c77c9,this,_0x30a56f);};else{if(_0x96316e===_0x459acf(0x174))_0x12e8f1=function(_0x448538,_0x48a132){const _0x11bcce=_0x459acf,_0x3071f6=new _0x5a4057(_0x11bcce(0x174),{'code':_0x448538,'reason':_0x48a132[_0x11bcce(0x12d)](),'wasClean':this[_0x11bcce(0x182)]&&this[_0x11bcce(0x2bb)]});_0x3071f6[_0x84a1e3]=this,_0x10fbdc(_0x4c77c9,this,_0x3071f6);};else{if(_0x96316e===_0x459acf(0x21f))_0x12e8f1=function(_0x4a353a){const _0x336dfa=_0x459acf,_0x474fa9=new _0x47dcc1(_0x336dfa(0x21f),{'error':_0x4a353a,'message':_0x4a353a['message']});_0x474fa9[_0x84a1e3]=this,_0x10fbdc(_0x4c77c9,this,_0x474fa9);};else{if(_0x96316e===_0x459acf(0x11a))_0x12e8f1=function(){const _0x311a98=_0x459acf,_0x4207e1=new _0x1d12aa(_0x311a98(0x11a));_0x4207e1[_0x84a1e3]=this,_0x10fbdc(_0x4c77c9,this,_0x4207e1);};else return;}}}_0x12e8f1[_0xbde6ce]=!!_0x28f6b3[_0xbde6ce],_0x12e8f1[_0x4309d5]=_0x4c77c9,_0x28f6b3['once']?this[_0x459acf(0x2a9)](_0x96316e,_0x12e8f1):this['on'](_0x96316e,_0x12e8f1);},'removeEventListener'(_0x51113,_0x5f8b31){const _0x433722=_0x30b8b2;for(const _0x3cb461 of this[_0x433722(0x252)](_0x51113))if(_0x3cb461[_0x4309d5]===_0x5f8b31&&!_0x3cb461[_0xbde6ce]){this[_0x433722(0x224)](_0x51113,_0x3cb461);break;}}},'MessageEvent':_0x18f433};function _0x10fbdc(_0x43e58b,_0x1c336a,_0x44029b){const _0x522acf=_0x30b8b2;typeof _0x43e58b==_0x522acf(0x19f)&&_0x43e58b['handleEvent']?_0x43e58b[_0x522acf(0x25d)]['call'](_0x43e58b,_0x44029b):_0x43e58b[_0x522acf(0x2ba)](_0x1c336a,_0x44029b);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x423f42}=ne();function _0x5d6e87(_0xeb4bf9,_0x464cc8,_0x4e49ff){_0xeb4bf9[_0x464cc8]===void 0x0?_0xeb4bf9[_0x464cc8]=[_0x4e49ff]:_0xeb4bf9[_0x464cc8]['push'](_0x4e49ff);}function _0x58e303(_0x202d6f){const _0x5c4c4a=_0x212f,_0x323814=Object[_0x5c4c4a(0x2b1)](null);let _0x55b3ce=Object[_0x5c4c4a(0x2b1)](null),_0x4b1c21=!0x1,_0x46296f=!0x1,_0x4331b7=!0x1,_0x41594b,_0x4e12ae,_0xded4ee=-0x1,_0x749a4=-0x1,_0x5027e1=-0x1,_0x37ad72=0x0;for(;_0x37ad72<_0x202d6f[_0x5c4c4a(0x10f)];_0x37ad72++)if(_0x749a4=_0x202d6f[_0x5c4c4a(0x293)](_0x37ad72),_0x41594b===void 0x0){if(_0x5027e1===-0x1&&_0x423f42[_0x749a4]===0x1)_0xded4ee===-0x1&&(_0xded4ee=_0x37ad72);else{if(_0x37ad72!==0x0&&(_0x749a4===0x20||_0x749a4===0x9))_0x5027e1===-0x1&&_0xded4ee!==-0x1&&(_0x5027e1=_0x37ad72);else{if(_0x749a4===0x3b||_0x749a4===0x2c){if(_0xded4ee===-0x1)throw new SyntaxError(_0x5c4c4a(0x1bf)+_0x37ad72);_0x5027e1===-0x1&&(_0x5027e1=_0x37ad72);const _0x36861a=_0x202d6f[_0x5c4c4a(0x1f4)](_0xded4ee,_0x5027e1);_0x749a4===0x2c?(_0x5d6e87(_0x323814,_0x36861a,_0x55b3ce),_0x55b3ce=Object[_0x5c4c4a(0x2b1)](null)):_0x41594b=_0x36861a,_0xded4ee=_0x5027e1=-0x1;}else throw new SyntaxError(_0x5c4c4a(0x1bf)+_0x37ad72);}}}else{if(_0x4e12ae===void 0x0){if(_0x5027e1===-0x1&&_0x423f42[_0x749a4]===0x1)_0xded4ee===-0x1&&(_0xded4ee=_0x37ad72);else{if(_0x749a4===0x20||_0x749a4===0x9)_0x5027e1===-0x1&&_0xded4ee!==-0x1&&(_0x5027e1=_0x37ad72);else{if(_0x749a4===0x3b||_0x749a4===0x2c){if(_0xded4ee===-0x1)throw new SyntaxError(_0x5c4c4a(0x1bf)+_0x37ad72);_0x5027e1===-0x1&&(_0x5027e1=_0x37ad72),_0x5d6e87(_0x55b3ce,_0x202d6f[_0x5c4c4a(0x1f4)](_0xded4ee,_0x5027e1),!0x0),_0x749a4===0x2c&&(_0x5d6e87(_0x323814,_0x41594b,_0x55b3ce),_0x55b3ce=Object['create'](null),_0x41594b=void 0x0),_0xded4ee=_0x5027e1=-0x1;}else{if(_0x749a4===0x3d&&_0xded4ee!==-0x1&&_0x5027e1===-0x1)_0x4e12ae=_0x202d6f[_0x5c4c4a(0x1f4)](_0xded4ee,_0x37ad72),_0xded4ee=_0x5027e1=-0x1;else throw new SyntaxError(_0x5c4c4a(0x1bf)+_0x37ad72);}}}}else{if(_0x46296f){if(_0x423f42[_0x749a4]!==0x1)throw new SyntaxError(_0x5c4c4a(0x1bf)+_0x37ad72);_0xded4ee===-0x1?_0xded4ee=_0x37ad72:_0x4b1c21||(_0x4b1c21=!0x0),_0x46296f=!0x1;}else{if(_0x4331b7){if(_0x423f42[_0x749a4]===0x1)_0xded4ee===-0x1&&(_0xded4ee=_0x37ad72);else{if(_0x749a4===0x22&&_0xded4ee!==-0x1)_0x4331b7=!0x1,_0x5027e1=_0x37ad72;else{if(_0x749a4===0x5c)_0x46296f=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x37ad72);}}}else{if(_0x749a4===0x22&&_0x202d6f['charCodeAt'](_0x37ad72-0x1)===0x3d)_0x4331b7=!0x0;else{if(_0x5027e1===-0x1&&_0x423f42[_0x749a4]===0x1)_0xded4ee===-0x1&&(_0xded4ee=_0x37ad72);else{if(_0xded4ee!==-0x1&&(_0x749a4===0x20||_0x749a4===0x9))_0x5027e1===-0x1&&(_0x5027e1=_0x37ad72);else{if(_0x749a4===0x3b||_0x749a4===0x2c){if(_0xded4ee===-0x1)throw new SyntaxError(_0x5c4c4a(0x1bf)+_0x37ad72);_0x5027e1===-0x1&&(_0x5027e1=_0x37ad72);let _0xa1d9b=_0x202d6f[_0x5c4c4a(0x1f4)](_0xded4ee,_0x5027e1);_0x4b1c21&&(_0xa1d9b=_0xa1d9b[_0x5c4c4a(0x1a2)](/\\/g,''),_0x4b1c21=!0x1),_0x5d6e87(_0x55b3ce,_0x4e12ae,_0xa1d9b),_0x749a4===0x2c&&(_0x5d6e87(_0x323814,_0x41594b,_0x55b3ce),_0x55b3ce=Object[_0x5c4c4a(0x2b1)](null),_0x41594b=void 0x0),_0x4e12ae=void 0x0,_0xded4ee=_0x5027e1=-0x1;}else throw new SyntaxError(_0x5c4c4a(0x1bf)+_0x37ad72);}}}}}}}if(_0xded4ee===-0x1||_0x4331b7||_0x749a4===0x20||_0x749a4===0x9)throw new SyntaxError(_0x5c4c4a(0x271));_0x5027e1===-0x1&&(_0x5027e1=_0x37ad72);const _0x2ba4fc=_0x202d6f['slice'](_0xded4ee,_0x5027e1);return _0x41594b===void 0x0?_0x5d6e87(_0x323814,_0x2ba4fc,_0x55b3ce):(_0x4e12ae===void 0x0?_0x5d6e87(_0x55b3ce,_0x2ba4fc,!0x0):_0x4b1c21?_0x5d6e87(_0x55b3ce,_0x4e12ae,_0x2ba4fc[_0x5c4c4a(0x1a2)](/\\/g,'')):_0x5d6e87(_0x55b3ce,_0x4e12ae,_0x2ba4fc),_0x5d6e87(_0x323814,_0x41594b,_0x55b3ce)),_0x323814;}function _0x56dbc5(_0x5152d1){const _0x3c9ec5=_0x212f;return Object[_0x3c9ec5(0x1ff)](_0x5152d1)[_0x3c9ec5(0x26d)](_0x55541d=>{const _0x3457c1=_0x3c9ec5;let _0x82f32b=_0x5152d1[_0x55541d];return Array['isArray'](_0x82f32b)||(_0x82f32b=[_0x82f32b]),_0x82f32b[_0x3457c1(0x26d)](_0xc56b11=>[_0x55541d]['concat'](Object['keys'](_0xc56b11)[_0x3457c1(0x26d)](_0xf6248a=>{const _0x43c418=_0x3457c1;let _0x47144a=_0xc56b11[_0xf6248a];return Array[_0x43c418(0x20c)](_0x47144a)||(_0x47144a=[_0x47144a]),_0x47144a[_0x43c418(0x26d)](_0x27bcc2=>_0x27bcc2===!0x0?_0xf6248a:_0xf6248a+'='+_0x27bcc2)[_0x43c418(0x200)](';\x20');}))[_0x3457c1(0x200)](';\x20'))[_0x3457c1(0x200)](',\x20');})[_0x3c9ec5(0x200)](',\x20');}return be={'format':_0x56dbc5,'parse':_0x58e303},be;}var we,st;function Ie(){const _0x497c4b=_0x2b7c49;if(st)return we;st=0x1;const _0xd7756=_0x2a026b,_0x11077e=_0x9edbd2,_0x1fdd0e=_0x193856,_0x284511=_0x580936,_0x139e66=_0x4fa7f7,{randomBytes:_0x276ca6,createHash:_0x86e1f4}=_0x409377,{Duplex:_0x276afe,Readable:_0x193d08}=_0x3e85cd,{URL:_0xeec9d6}=_0x247b7c,_0x1f26b2=he(),_0xd45ed1=dt(),_0x30e547=_t(),{isBlob:_0x124598}=ne(),{BINARY_TYPES:_0x879ad9,EMPTY_BUFFER:_0xbde8fe,GUID:_0x4afb2e,kForOnEventAttribute:_0x5e1c0b,kListener:_0x57cdad,kStatusCode:_0x2a91b9,kWebSocket:_0x54abd9,NOOP:_0x2f6281}=V(),{EventTarget:{addEventListener:_0x56c45a,removeEventListener:_0x53c3fc}}=Kt(),{format:_0x1d6ebd,parse:_0x3df44f}=pt(),{toBuffer:_0x44ab49}=ce(),_0x5142fd=0x1e*0x3e8,_0x33a633=Symbol(_0x497c4b(0x1e2)),_0x4612e2=[0x8,0xd],_0x24ae31=['CONNECTING','OPEN','CLOSING',_0x497c4b(0x167)],_0xc15633=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x4c02ca extends _0xd7756{constructor(_0x4f92d2,_0x340331,_0x15adbf){const _0x41a6ab=_0x497c4b;super(),this['_binaryType']=_0x879ad9[0x0],this[_0x41a6ab(0x154)]=0x3ee,this[_0x41a6ab(0x182)]=!0x1,this[_0x41a6ab(0x2bb)]=!0x1,this[_0x41a6ab(0x199)]=_0xbde8fe,this[_0x41a6ab(0x1af)]=null,this['_errorEmitted']=!0x1,this[_0x41a6ab(0x28f)]={},this[_0x41a6ab(0x1ed)]=!0x1,this['_protocol']='',this[_0x41a6ab(0x2b7)]=_0x4c02ca[_0x41a6ab(0x11c)],this['_receiver']=null,this['_sender']=null,this['_socket']=null,_0x4f92d2!==null?(this['_bufferedAmount']=0x0,this[_0x41a6ab(0x1f9)]=!0x1,this[_0x41a6ab(0x109)]=0x0,_0x340331===void 0x0?_0x340331=[]:Array[_0x41a6ab(0x20c)](_0x340331)||(typeof _0x340331==_0x41a6ab(0x19f)&&_0x340331!==null?(_0x15adbf=_0x340331,_0x340331=[]):_0x340331=[_0x340331]),_0x409ad7(this,_0x4f92d2,_0x340331,_0x15adbf)):(this[_0x41a6ab(0x2b0)]=_0x15adbf[_0x41a6ab(0x13b)],this['_isServer']=!0x0);}get['binaryType'](){const _0x239099=_0x497c4b;return this[_0x239099(0x130)];}set[_0x497c4b(0x1a0)](_0x5990f4){const _0x69328e=_0x497c4b;_0x879ad9[_0x69328e(0x20b)](_0x5990f4)&&(this[_0x69328e(0x130)]=_0x5990f4,this['_receiver']&&(this[_0x69328e(0x155)]['_binaryType']=_0x5990f4));}get[_0x497c4b(0x20a)](){const _0x294ad2=_0x497c4b;return this[_0x294ad2(0x1ba)]?this[_0x294ad2(0x1ba)][_0x294ad2(0x17b)][_0x294ad2(0x10f)]+this[_0x294ad2(0x17c)]['_bufferedBytes']:this[_0x294ad2(0x1c5)];}get[_0x497c4b(0x246)](){const _0x291873=_0x497c4b;return Object['keys'](this[_0x291873(0x28f)])[_0x291873(0x200)]();}get[_0x497c4b(0x119)](){const _0x503076=_0x497c4b;return this[_0x503076(0x1ed)];}get['onclose'](){return null;}get[_0x497c4b(0x254)](){return null;}get['onopen'](){return null;}get[_0x497c4b(0x29c)](){return null;}get[_0x497c4b(0x1ae)](){const _0x2f8ad1=_0x497c4b;return this[_0x2f8ad1(0x1aa)];}get[_0x497c4b(0x121)](){const _0x332fbc=_0x497c4b;return this[_0x332fbc(0x2b7)];}get[_0x497c4b(0x166)](){return this['_url'];}[_0x497c4b(0x278)](_0x497bfb,_0x456b35,_0x15df9c){const _0x29d227=_0x497c4b,_0x21458c=new _0xd45ed1({'allowSynchronousEvents':_0x15df9c[_0x29d227(0x1d3)],'binaryType':this[_0x29d227(0x1a0)],'extensions':this['_extensions'],'isServer':this[_0x29d227(0x1f9)],'maxPayload':_0x15df9c[_0x29d227(0x1d8)],'skipUTF8Validation':_0x15df9c[_0x29d227(0x189)]}),_0x14f9d6=new _0x30e547(_0x497bfb,this[_0x29d227(0x28f)],_0x15df9c[_0x29d227(0x1ce)]);this[_0x29d227(0x155)]=_0x21458c,this[_0x29d227(0x17c)]=_0x14f9d6,this['_socket']=_0x497bfb,_0x21458c[_0x54abd9]=this,_0x14f9d6[_0x54abd9]=this,_0x497bfb[_0x54abd9]=this,_0x21458c['on'](_0x29d227(0x24c),_0x3d9023),_0x21458c['on'](_0x29d227(0x208),_0x3be522),_0x21458c['on']('error',_0x3aeac5),_0x21458c['on']('message',_0x3ccebb),_0x21458c['on'](_0x29d227(0x1cb),_0x380561),_0x21458c['on'](_0x29d227(0x1a6),_0x4c4c88),_0x14f9d6[_0x29d227(0x254)]=_0x570b6d,_0x497bfb[_0x29d227(0x10c)]&&_0x497bfb[_0x29d227(0x10c)](0x0),_0x497bfb[_0x29d227(0x1be)]&&_0x497bfb['setNoDelay'](),_0x456b35[_0x29d227(0x10f)]>0x0&&_0x497bfb[_0x29d227(0x1c8)](_0x456b35),_0x497bfb['on'](_0x29d227(0x174),_0x436815),_0x497bfb['on'](_0x29d227(0x1ec),_0x3c7daf),_0x497bfb['on'](_0x29d227(0x21b),_0xbf1047),_0x497bfb['on'](_0x29d227(0x21f),_0x58ef29),this[_0x29d227(0x2b7)]=_0x4c02ca[_0x29d227(0x29a)],this[_0x29d227(0x186)](_0x29d227(0x11a));}[_0x497c4b(0x1ee)](){const _0x11000a=_0x497c4b;if(!this[_0x11000a(0x1ba)]){this['_readyState']=_0x4c02ca[_0x11000a(0x167)],this[_0x11000a(0x186)](_0x11000a(0x174),this[_0x11000a(0x154)],this[_0x11000a(0x199)]);return;}this[_0x11000a(0x28f)][_0x1f26b2[_0x11000a(0x160)]]&&this[_0x11000a(0x28f)][_0x1f26b2[_0x11000a(0x160)]][_0x11000a(0x125)](),this['_receiver'][_0x11000a(0x294)](),this['_readyState']=_0x4c02ca[_0x11000a(0x167)],this['emit']('close',this[_0x11000a(0x154)],this['_closeMessage']);}[_0x497c4b(0x174)](_0x12c5f5,_0x2dbf77){const _0x55e423=_0x497c4b;if(this['readyState']!==_0x4c02ca[_0x55e423(0x167)]){if(this[_0x55e423(0x121)]===_0x4c02ca['CONNECTING']){_0x34f86a(this,this[_0x55e423(0x161)],_0x55e423(0x128));return;}if(this[_0x55e423(0x121)]===_0x4c02ca[_0x55e423(0x149)]){this[_0x55e423(0x2bb)]&&(this[_0x55e423(0x182)]||this[_0x55e423(0x155)]['_writableState'][_0x55e423(0x20e)])&&this[_0x55e423(0x1ba)][_0x55e423(0x21b)]();return;}this['_readyState']=_0x4c02ca[_0x55e423(0x149)],this[_0x55e423(0x17c)]['close'](_0x12c5f5,_0x2dbf77,!this['_isServer'],_0x4612dc=>{const _0x44215a=_0x55e423;_0x4612dc||(this[_0x44215a(0x2bb)]=!0x0,(this[_0x44215a(0x182)]||this['_receiver'][_0x44215a(0x17b)][_0x44215a(0x20e)])&&this[_0x44215a(0x1ba)][_0x44215a(0x21b)]());}),_0xcdf7c9(this);}}[_0x497c4b(0x1d5)](){const _0x560aca=_0x497c4b;this['readyState']===_0x4c02ca[_0x560aca(0x11c)]||this[_0x560aca(0x121)]===_0x4c02ca[_0x560aca(0x167)]||(this[_0x560aca(0x1ed)]=!0x0,this['_socket'][_0x560aca(0x1d5)]());}[_0x497c4b(0x1cb)](_0x3e1fd3,_0x58f78f,_0x3c9fb5){const _0x167300=_0x497c4b;if(this[_0x167300(0x121)]===_0x4c02ca[_0x167300(0x11c)])throw new Error(_0x167300(0x27a));if(typeof _0x3e1fd3==_0x167300(0x157)?(_0x3c9fb5=_0x3e1fd3,_0x3e1fd3=_0x58f78f=void 0x0):typeof _0x58f78f==_0x167300(0x157)&&(_0x3c9fb5=_0x58f78f,_0x58f78f=void 0x0),typeof _0x3e1fd3==_0x167300(0x24b)&&(_0x3e1fd3=_0x3e1fd3[_0x167300(0x12d)]()),this[_0x167300(0x121)]!==_0x4c02ca[_0x167300(0x29a)]){_0x43722(this,_0x3e1fd3,_0x3c9fb5);return;}_0x58f78f===void 0x0&&(_0x58f78f=!this[_0x167300(0x1f9)]),this[_0x167300(0x17c)][_0x167300(0x1cb)](_0x3e1fd3||_0xbde8fe,_0x58f78f,_0x3c9fb5);}['pong'](_0x25010f,_0x5ce9be,_0x29f2f1){const _0x5d9aa6=_0x497c4b;if(this['readyState']===_0x4c02ca[_0x5d9aa6(0x11c)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x25010f=='function'?(_0x29f2f1=_0x25010f,_0x25010f=_0x5ce9be=void 0x0):typeof _0x5ce9be=='function'&&(_0x29f2f1=_0x5ce9be,_0x5ce9be=void 0x0),typeof _0x25010f==_0x5d9aa6(0x24b)&&(_0x25010f=_0x25010f['toString']()),this[_0x5d9aa6(0x121)]!==_0x4c02ca[_0x5d9aa6(0x29a)]){_0x43722(this,_0x25010f,_0x29f2f1);return;}_0x5ce9be===void 0x0&&(_0x5ce9be=!this['_isServer']),this['_sender'][_0x5d9aa6(0x1a6)](_0x25010f||_0xbde8fe,_0x5ce9be,_0x29f2f1);}[_0x497c4b(0x20f)](){const _0x2452fb=_0x497c4b;this['readyState']===_0x4c02ca[_0x2452fb(0x11c)]||this[_0x2452fb(0x121)]===_0x4c02ca['CLOSED']||(this['_paused']=!0x1,this[_0x2452fb(0x155)]['_writableState'][_0x2452fb(0x20d)]||this[_0x2452fb(0x1ba)]['resume']());}['send'](_0x4264ac,_0x399cf8,_0x3c1208){const _0x416da6=_0x497c4b;if(this[_0x416da6(0x121)]===_0x4c02ca['CONNECTING'])throw new Error(_0x416da6(0x27a));if(typeof _0x399cf8==_0x416da6(0x157)&&(_0x3c1208=_0x399cf8,_0x399cf8={}),typeof _0x4264ac==_0x416da6(0x24b)&&(_0x4264ac=_0x4264ac['toString']()),this[_0x416da6(0x121)]!==_0x4c02ca[_0x416da6(0x29a)]){_0x43722(this,_0x4264ac,_0x3c1208);return;}const _0x5b9ab8={'binary':typeof _0x4264ac!=_0x416da6(0x1c0),'mask':!this[_0x416da6(0x1f9)],'compress':!0x0,'fin':!0x0,..._0x399cf8};this[_0x416da6(0x28f)][_0x1f26b2['extensionName']]||(_0x5b9ab8[_0x416da6(0x285)]=!0x1),this[_0x416da6(0x17c)]['send'](_0x4264ac||_0xbde8fe,_0x5b9ab8,_0x3c1208);}[_0x497c4b(0x1b3)](){const _0x237e9b=_0x497c4b;if(this['readyState']!==_0x4c02ca[_0x237e9b(0x167)]){if(this[_0x237e9b(0x121)]===_0x4c02ca[_0x237e9b(0x11c)]){_0x34f86a(this,this[_0x237e9b(0x161)],_0x237e9b(0x128));return;}this[_0x237e9b(0x1ba)]&&(this['_readyState']=_0x4c02ca[_0x237e9b(0x149)],this[_0x237e9b(0x1ba)]['destroy']());}}}Object[_0x497c4b(0x1a5)](_0x4c02ca,_0x497c4b(0x11c),{'enumerable':!0x0,'value':_0x24ae31[_0x497c4b(0x18a)]('CONNECTING')}),Object[_0x497c4b(0x1a5)](_0x4c02ca[_0x497c4b(0x216)],_0x497c4b(0x11c),{'enumerable':!0x0,'value':_0x24ae31['indexOf']('CONNECTING')}),Object[_0x497c4b(0x1a5)](_0x4c02ca,_0x497c4b(0x29a),{'enumerable':!0x0,'value':_0x24ae31[_0x497c4b(0x18a)]('OPEN')}),Object[_0x497c4b(0x1a5)](_0x4c02ca['prototype'],_0x497c4b(0x29a),{'enumerable':!0x0,'value':_0x24ae31[_0x497c4b(0x18a)](_0x497c4b(0x29a))}),Object[_0x497c4b(0x1a5)](_0x4c02ca,_0x497c4b(0x149),{'enumerable':!0x0,'value':_0x24ae31[_0x497c4b(0x18a)](_0x497c4b(0x149))}),Object[_0x497c4b(0x1a5)](_0x4c02ca[_0x497c4b(0x216)],_0x497c4b(0x149),{'enumerable':!0x0,'value':_0x24ae31[_0x497c4b(0x18a)](_0x497c4b(0x149))}),Object[_0x497c4b(0x1a5)](_0x4c02ca,'CLOSED',{'enumerable':!0x0,'value':_0x24ae31[_0x497c4b(0x18a)](_0x497c4b(0x167))}),Object['defineProperty'](_0x4c02ca[_0x497c4b(0x216)],_0x497c4b(0x167),{'enumerable':!0x0,'value':_0x24ae31[_0x497c4b(0x18a)]('CLOSED')}),[_0x497c4b(0x1a0),_0x497c4b(0x20a),_0x497c4b(0x246),_0x497c4b(0x119),_0x497c4b(0x1ae),_0x497c4b(0x121),_0x497c4b(0x166)][_0x497c4b(0x13f)](_0x4c5bc2=>{const _0x497f9e=_0x497c4b;Object[_0x497f9e(0x1a5)](_0x4c02ca['prototype'],_0x4c5bc2,{'enumerable':!0x0});}),[_0x497c4b(0x11a),'error','close',_0x497c4b(0x25f)]['forEach'](_0x2c481d=>{const _0x40728d=_0x497c4b;Object[_0x40728d(0x1a5)](_0x4c02ca['prototype'],'on'+_0x2c481d,{'enumerable':!0x0,'get'(){const _0x490c79=_0x40728d;for(const _0x465bfa of this[_0x490c79(0x252)](_0x2c481d))if(_0x465bfa[_0x5e1c0b])return _0x465bfa[_0x57cdad];return null;},'set'(_0xa5c2d3){const _0x447db0=_0x40728d;for(const _0x389c56 of this[_0x447db0(0x252)](_0x2c481d))if(_0x389c56[_0x5e1c0b]){this['removeListener'](_0x2c481d,_0x389c56);break;}typeof _0xa5c2d3==_0x447db0(0x157)&&this[_0x447db0(0x152)](_0x2c481d,_0xa5c2d3,{[_0x5e1c0b]:!0x0});}});}),_0x4c02ca[_0x497c4b(0x216)][_0x497c4b(0x152)]=_0x56c45a,_0x4c02ca[_0x497c4b(0x216)][_0x497c4b(0x292)]=_0x53c3fc,we=_0x4c02ca;function _0x409ad7(_0x53d15e,_0x52e0f7,_0x19ec50,_0x53ee66){const _0x11f4e4=_0x497c4b,_0x24d27e={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4612e2[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x53ee66,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x11f4e4(0x11d),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x53d15e['_autoPong']=_0x24d27e[_0x11f4e4(0x13b)],!_0x4612e2[_0x11f4e4(0x20b)](_0x24d27e[_0x11f4e4(0x1fb)]))throw new RangeError(_0x11f4e4(0x177)+_0x24d27e[_0x11f4e4(0x1fb)]+'\x20(supported\x20versions:\x20'+_0x4612e2[_0x11f4e4(0x200)](',\x20')+')');let _0x4b0f07;if(_0x52e0f7 instanceof _0xeec9d6)_0x4b0f07=_0x52e0f7;else try{_0x4b0f07=new _0xeec9d6(_0x52e0f7);}catch{throw new SyntaxError(_0x11f4e4(0x229)+_0x52e0f7);}_0x4b0f07[_0x11f4e4(0x1ae)]===_0x11f4e4(0x22b)?_0x4b0f07[_0x11f4e4(0x1ae)]=_0x11f4e4(0x15c):_0x4b0f07['protocol']===_0x11f4e4(0x11e)&&(_0x4b0f07[_0x11f4e4(0x1ae)]=_0x11f4e4(0x124)),_0x53d15e[_0x11f4e4(0x2b4)]=_0x4b0f07['href'];const _0x4bae04=_0x4b0f07[_0x11f4e4(0x1ae)]===_0x11f4e4(0x124),_0x4d0976=_0x4b0f07[_0x11f4e4(0x1ae)]===_0x11f4e4(0x14a);let _0x3528f2;if(_0x4b0f07['protocol']!==_0x11f4e4(0x15c)&&!_0x4bae04&&!_0x4d0976?_0x3528f2=_0x11f4e4(0x15d):_0x4d0976&&!_0x4b0f07[_0x11f4e4(0x168)]?_0x3528f2=_0x11f4e4(0x2a3):_0x4b0f07['hash']&&(_0x3528f2=_0x11f4e4(0x26e)),_0x3528f2){const _0x155463=new SyntaxError(_0x3528f2);if(_0x53d15e[_0x11f4e4(0x109)]===0x0)throw _0x155463;_0x24a9e6(_0x53d15e,_0x155463);return;}const _0x24a667=_0x4bae04?0x1bb:0x50,_0x8ada7e=_0x276ca6(0x10)[_0x11f4e4(0x12d)](_0x11f4e4(0x2b5)),_0x330712=_0x4bae04?_0x11077e[_0x11f4e4(0x2a8)]:_0x1fdd0e['request'],_0x5d4a00=new Set();let _0x4fefe0;if(_0x24d27e[_0x11f4e4(0x27d)]=_0x24d27e[_0x11f4e4(0x27d)]||(_0x4bae04?_0x41bfe3:_0x163b38),_0x24d27e['defaultPort']=_0x24d27e[_0x11f4e4(0x2af)]||_0x24a667,_0x24d27e[_0x11f4e4(0x258)]=_0x4b0f07[_0x11f4e4(0x258)]||_0x24a667,_0x24d27e[_0x11f4e4(0x12f)]=_0x4b0f07[_0x11f4e4(0x223)]['startsWith']('[')?_0x4b0f07[_0x11f4e4(0x223)][_0x11f4e4(0x1f4)](0x1,-0x1):_0x4b0f07[_0x11f4e4(0x223)],_0x24d27e['headers']={..._0x24d27e[_0x11f4e4(0x27b)],'Sec-WebSocket-Version':_0x24d27e[_0x11f4e4(0x1fb)],'Sec-WebSocket-Key':_0x8ada7e,'Connection':_0x11f4e4(0x156),'Upgrade':'websocket'},_0x24d27e[_0x11f4e4(0x2ad)]=_0x4b0f07[_0x11f4e4(0x168)]+_0x4b0f07['search'],_0x24d27e[_0x11f4e4(0x205)]=_0x24d27e['handshakeTimeout'],_0x24d27e[_0x11f4e4(0x1c1)]&&(_0x4fefe0=new _0x1f26b2(_0x24d27e['perMessageDeflate']!==!0x0?_0x24d27e[_0x11f4e4(0x1c1)]:{},!0x1,_0x24d27e[_0x11f4e4(0x1d8)]),_0x24d27e[_0x11f4e4(0x27b)]['Sec-WebSocket-Extensions']=_0x1d6ebd({[_0x1f26b2[_0x11f4e4(0x160)]]:_0x4fefe0['offer']()})),_0x19ec50[_0x11f4e4(0x10f)]){for(const _0xbf1c83 of _0x19ec50){if(typeof _0xbf1c83!='string'||!_0xc15633[_0x11f4e4(0x298)](_0xbf1c83)||_0x5d4a00[_0x11f4e4(0x1b7)](_0xbf1c83))throw new SyntaxError(_0x11f4e4(0x273));_0x5d4a00[_0x11f4e4(0x227)](_0xbf1c83);}_0x24d27e[_0x11f4e4(0x27b)][_0x11f4e4(0x296)]=_0x19ec50[_0x11f4e4(0x200)](',');}if(_0x24d27e[_0x11f4e4(0x287)]&&(_0x24d27e[_0x11f4e4(0x1fb)]<0xd?_0x24d27e[_0x11f4e4(0x27b)][_0x11f4e4(0x132)]=_0x24d27e['origin']:_0x24d27e['headers']['Origin']=_0x24d27e[_0x11f4e4(0x287)]),(_0x4b0f07[_0x11f4e4(0x280)]||_0x4b0f07[_0x11f4e4(0x1f6)])&&(_0x24d27e[_0x11f4e4(0x234)]=_0x4b0f07[_0x11f4e4(0x280)]+':'+_0x4b0f07['password']),_0x4d0976){const _0x4c039c=_0x24d27e[_0x11f4e4(0x2ad)][_0x11f4e4(0x1d1)](':');_0x24d27e['socketPath']=_0x4c039c[0x0],_0x24d27e[_0x11f4e4(0x2ad)]=_0x4c039c[0x1];}let _0x278105;if(_0x24d27e[_0x11f4e4(0x1d7)]){if(_0x53d15e[_0x11f4e4(0x109)]===0x0){_0x53d15e[_0x11f4e4(0x237)]=_0x4d0976,_0x53d15e[_0x11f4e4(0x15f)]=_0x4bae04,_0x53d15e[_0x11f4e4(0x289)]=_0x4d0976?_0x24d27e[_0x11f4e4(0x2ae)]:_0x4b0f07[_0x11f4e4(0x12f)];const _0x3ef2c0=_0x53ee66&&_0x53ee66[_0x11f4e4(0x27b)];if(_0x53ee66={..._0x53ee66,'headers':{}},_0x3ef2c0){for(const [_0x4bb4b3,_0x50ae3f]of Object[_0x11f4e4(0x163)](_0x3ef2c0))_0x53ee66['headers'][_0x4bb4b3['toLowerCase']()]=_0x50ae3f;}}else{if(_0x53d15e['listenerCount'](_0x11f4e4(0x209))===0x0){const _0x5a73da=_0x4d0976?_0x53d15e[_0x11f4e4(0x237)]?_0x24d27e[_0x11f4e4(0x2ae)]===_0x53d15e[_0x11f4e4(0x289)]:!0x1:_0x53d15e[_0x11f4e4(0x237)]?!0x1:_0x4b0f07['host']===_0x53d15e[_0x11f4e4(0x289)];(!_0x5a73da||_0x53d15e[_0x11f4e4(0x15f)]&&!_0x4bae04)&&(delete _0x24d27e['headers'][_0x11f4e4(0x1fc)],delete _0x24d27e['headers'][_0x11f4e4(0x158)],_0x5a73da||delete _0x24d27e['headers'][_0x11f4e4(0x12f)],_0x24d27e[_0x11f4e4(0x234)]=void 0x0);}}_0x24d27e[_0x11f4e4(0x234)]&&!_0x53ee66[_0x11f4e4(0x27b)][_0x11f4e4(0x1fc)]&&(_0x53ee66[_0x11f4e4(0x27b)][_0x11f4e4(0x1fc)]=_0x11f4e4(0x151)+Buffer['from'](_0x24d27e['auth'])[_0x11f4e4(0x12d)]('base64')),_0x278105=_0x53d15e['_req']=_0x330712(_0x24d27e),_0x53d15e[_0x11f4e4(0x109)]&&_0x53d15e[_0x11f4e4(0x186)](_0x11f4e4(0x209),_0x53d15e[_0x11f4e4(0x166)],_0x278105);}else _0x278105=_0x53d15e['_req']=_0x330712(_0x24d27e);_0x24d27e[_0x11f4e4(0x205)]&&_0x278105['on'](_0x11f4e4(0x205),()=>{const _0x203f55=_0x11f4e4;_0x34f86a(_0x53d15e,_0x278105,_0x203f55(0x27e));}),_0x278105['on'](_0x11f4e4(0x21f),_0x4e7323=>{const _0x409527=_0x11f4e4;_0x278105===null||_0x278105[_0x33a633]||(_0x278105=_0x53d15e[_0x409527(0x161)]=null,_0x24a9e6(_0x53d15e,_0x4e7323));}),_0x278105['on']('response',_0x2035b4=>{const _0x1d5877=_0x11f4e4,_0x405c2f=_0x2035b4['headers'][_0x1d5877(0x1e4)],_0x16205b=_0x2035b4[_0x1d5877(0x21a)];if(_0x405c2f&&_0x24d27e['followRedirects']&&_0x16205b>=0x12c&&_0x16205b<0x190){if(++_0x53d15e['_redirects']>_0x24d27e[_0x1d5877(0x21d)]){_0x34f86a(_0x53d15e,_0x278105,_0x1d5877(0x1e3));return;}_0x278105[_0x1d5877(0x191)]();let _0x39b015;try{_0x39b015=new _0xeec9d6(_0x405c2f,_0x52e0f7);}catch{const _0x10f48c=new SyntaxError(_0x1d5877(0x229)+_0x405c2f);_0x24a9e6(_0x53d15e,_0x10f48c);return;}_0x409ad7(_0x53d15e,_0x39b015,_0x19ec50,_0x53ee66);}else _0x53d15e[_0x1d5877(0x186)](_0x1d5877(0x1ab),_0x278105,_0x2035b4)||_0x34f86a(_0x53d15e,_0x278105,_0x1d5877(0x123)+_0x2035b4[_0x1d5877(0x21a)]);}),_0x278105['on'](_0x11f4e4(0x1db),(_0x57a495,_0x1666e3,_0x2c0ad1)=>{const _0x3aedbb=_0x11f4e4;if(_0x53d15e[_0x3aedbb(0x186)](_0x3aedbb(0x1db),_0x57a495),_0x53d15e['readyState']!==_0x4c02ca[_0x3aedbb(0x11c)])return;_0x278105=_0x53d15e[_0x3aedbb(0x161)]=null;const _0x338a79=_0x57a495['headers'][_0x3aedbb(0x1db)];if(_0x338a79===void 0x0||_0x338a79[_0x3aedbb(0x140)]()!==_0x3aedbb(0x195)){_0x34f86a(_0x53d15e,_0x1666e3,_0x3aedbb(0x259));return;}const _0x261eed=_0x86e1f4(_0x3aedbb(0x13d))[_0x3aedbb(0x257)](_0x8ada7e+_0x4afb2e)[_0x3aedbb(0x139)](_0x3aedbb(0x2b5));if(_0x57a495[_0x3aedbb(0x27b)]['sec-websocket-accept']!==_0x261eed){_0x34f86a(_0x53d15e,_0x1666e3,_0x3aedbb(0x21e));return;}const _0x4679d2=_0x57a495[_0x3aedbb(0x27b)][_0x3aedbb(0x228)];let _0x1ef75f;if(_0x4679d2!==void 0x0?_0x5d4a00['size']?_0x5d4a00[_0x3aedbb(0x1b7)](_0x4679d2)||(_0x1ef75f=_0x3aedbb(0x19e)):_0x1ef75f=_0x3aedbb(0x129):_0x5d4a00[_0x3aedbb(0x171)]&&(_0x1ef75f=_0x3aedbb(0x202)),_0x1ef75f){_0x34f86a(_0x53d15e,_0x1666e3,_0x1ef75f);return;}_0x4679d2&&(_0x53d15e[_0x3aedbb(0x1aa)]=_0x4679d2);const _0x572c9c=_0x57a495[_0x3aedbb(0x27b)]['sec-websocket-extensions'];if(_0x572c9c!==void 0x0){if(!_0x4fefe0){_0x34f86a(_0x53d15e,_0x1666e3,_0x3aedbb(0x165));return;}let _0x2eb77c;try{_0x2eb77c=_0x3df44f(_0x572c9c);}catch{_0x34f86a(_0x53d15e,_0x1666e3,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x507468=Object[_0x3aedbb(0x1ff)](_0x2eb77c);if(_0x507468[_0x3aedbb(0x10f)]!==0x1||_0x507468[0x0]!==_0x1f26b2['extensionName']){_0x34f86a(_0x53d15e,_0x1666e3,_0x3aedbb(0x1d0));return;}try{_0x4fefe0[_0x3aedbb(0x14e)](_0x2eb77c[_0x1f26b2[_0x3aedbb(0x160)]]);}catch{_0x34f86a(_0x53d15e,_0x1666e3,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x53d15e[_0x3aedbb(0x28f)][_0x1f26b2[_0x3aedbb(0x160)]]=_0x4fefe0;}_0x53d15e[_0x3aedbb(0x278)](_0x1666e3,_0x2c0ad1,{'allowSynchronousEvents':_0x24d27e[_0x3aedbb(0x1d3)],'generateMask':_0x24d27e[_0x3aedbb(0x1ce)],'maxPayload':_0x24d27e[_0x3aedbb(0x1d8)],'skipUTF8Validation':_0x24d27e[_0x3aedbb(0x189)]});}),_0x24d27e[_0x11f4e4(0x22c)]?_0x24d27e['finishRequest'](_0x278105,_0x53d15e):_0x278105[_0x11f4e4(0x21b)]();}function _0x24a9e6(_0x48840a,_0x1a89cc){const _0x34ce0f=_0x497c4b;_0x48840a[_0x34ce0f(0x2b7)]=_0x4c02ca[_0x34ce0f(0x149)],_0x48840a[_0x34ce0f(0x170)]=!0x0,_0x48840a['emit'](_0x34ce0f(0x21f),_0x1a89cc),_0x48840a[_0x34ce0f(0x1ee)]();}function _0x163b38(_0x5561b6){const _0x57096=_0x497c4b;return _0x5561b6[_0x57096(0x2ad)]=_0x5561b6[_0x57096(0x2ae)],_0x284511[_0x57096(0x1d4)](_0x5561b6);}function _0x41bfe3(_0x4c8d33){const _0x394471=_0x497c4b;return _0x4c8d33['path']=void 0x0,!_0x4c8d33[_0x394471(0x2b6)]&&_0x4c8d33[_0x394471(0x2b6)]!==''&&(_0x4c8d33[_0x394471(0x2b6)]=_0x284511[_0x394471(0x206)](_0x4c8d33['host'])?'':_0x4c8d33[_0x394471(0x12f)]),_0x139e66[_0x394471(0x1d4)](_0x4c8d33);}function _0x34f86a(_0x15c582,_0x5c142e,_0x4e9797){const _0x97172f=_0x497c4b;_0x15c582[_0x97172f(0x2b7)]=_0x4c02ca[_0x97172f(0x149)];const _0x46ec25=new Error(_0x4e9797);Error[_0x97172f(0x1c6)](_0x46ec25,_0x34f86a),_0x5c142e['setHeader']?(_0x5c142e[_0x33a633]=!0x0,_0x5c142e[_0x97172f(0x191)](),_0x5c142e[_0x97172f(0x268)]&&!_0x5c142e[_0x97172f(0x268)][_0x97172f(0x276)]&&_0x5c142e['socket'][_0x97172f(0x16c)](),process[_0x97172f(0x248)](_0x24a9e6,_0x15c582,_0x46ec25)):(_0x5c142e[_0x97172f(0x16c)](_0x46ec25),_0x5c142e[_0x97172f(0x2a9)](_0x97172f(0x21f),_0x15c582['emit'][_0x97172f(0x108)](_0x15c582,_0x97172f(0x21f))),_0x5c142e[_0x97172f(0x2a9)](_0x97172f(0x174),_0x15c582[_0x97172f(0x1ee)][_0x97172f(0x108)](_0x15c582)));}function _0x43722(_0x1e91b6,_0x1d32b2,_0x3b7e1){const _0x2d1b89=_0x497c4b;if(_0x1d32b2){const _0x470641=_0x124598(_0x1d32b2)?_0x1d32b2['size']:_0x44ab49(_0x1d32b2)['length'];_0x1e91b6['_socket']?_0x1e91b6['_sender'][_0x2d1b89(0x284)]+=_0x470641:_0x1e91b6[_0x2d1b89(0x1c5)]+=_0x470641;}if(_0x3b7e1){const _0x5dd08c=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x1e91b6[_0x2d1b89(0x121)]+'\x20('+_0x24ae31[_0x1e91b6['readyState']]+')');process[_0x2d1b89(0x248)](_0x3b7e1,_0x5dd08c);}}function _0x3d9023(_0x4c69a9,_0x585965){const _0x56eeb4=_0x497c4b,_0x780c1e=this[_0x54abd9];_0x780c1e[_0x56eeb4(0x182)]=!0x0,_0x780c1e[_0x56eeb4(0x199)]=_0x585965,_0x780c1e[_0x56eeb4(0x154)]=_0x4c69a9,_0x780c1e[_0x56eeb4(0x1ba)][_0x54abd9]!==void 0x0&&(_0x780c1e[_0x56eeb4(0x1ba)][_0x56eeb4(0x224)]('data',_0x3c7daf),process['nextTick'](_0x308714,_0x780c1e[_0x56eeb4(0x1ba)]),_0x4c69a9===0x3ed?_0x780c1e[_0x56eeb4(0x174)]():_0x780c1e[_0x56eeb4(0x174)](_0x4c69a9,_0x585965));}function _0x3be522(){const _0x40001c=_0x497c4b,_0x5c61b7=this[_0x54abd9];_0x5c61b7[_0x40001c(0x119)]||_0x5c61b7[_0x40001c(0x1ba)]['resume']();}function _0x3aeac5(_0x20be9a){const _0x2da737=_0x497c4b,_0x259d5d=this[_0x54abd9];_0x259d5d[_0x2da737(0x1ba)][_0x54abd9]!==void 0x0&&(_0x259d5d[_0x2da737(0x1ba)][_0x2da737(0x224)](_0x2da737(0x1ec),_0x3c7daf),process[_0x2da737(0x248)](_0x308714,_0x259d5d[_0x2da737(0x1ba)]),_0x259d5d[_0x2da737(0x174)](_0x20be9a[_0x2a91b9])),_0x259d5d['_errorEmitted']||(_0x259d5d[_0x2da737(0x170)]=!0x0,_0x259d5d['emit'](_0x2da737(0x21f),_0x20be9a));}function _0x50cdfa(){const _0x513b6e=_0x497c4b;this[_0x54abd9][_0x513b6e(0x1ee)]();}function _0x3ccebb(_0x509169,_0x5bd257){const _0x520410=_0x497c4b;this[_0x54abd9][_0x520410(0x186)]('message',_0x509169,_0x5bd257);}function _0x380561(_0x51e926){const _0x6c4f5a=_0x497c4b,_0x2c811c=this[_0x54abd9];_0x2c811c['_autoPong']&&_0x2c811c[_0x6c4f5a(0x1a6)](_0x51e926,!this['_isServer'],_0x2f6281),_0x2c811c['emit'](_0x6c4f5a(0x1cb),_0x51e926);}function _0x4c4c88(_0x1da48b){const _0x1a9e44=_0x497c4b;this[_0x54abd9][_0x1a9e44(0x186)](_0x1a9e44(0x1a6),_0x1da48b);}function _0x308714(_0x3898c3){const _0x3ba67a=_0x497c4b;_0x3898c3[_0x3ba67a(0x20f)]();}function _0x570b6d(_0x364465){const _0x3c6bf4=_0x497c4b,_0x38d1c2=this[_0x54abd9];_0x38d1c2[_0x3c6bf4(0x121)]!==_0x4c02ca[_0x3c6bf4(0x167)]&&(_0x38d1c2[_0x3c6bf4(0x121)]===_0x4c02ca['OPEN']&&(_0x38d1c2[_0x3c6bf4(0x2b7)]=_0x4c02ca['CLOSING'],_0xcdf7c9(_0x38d1c2)),this[_0x3c6bf4(0x1ba)][_0x3c6bf4(0x21b)](),_0x38d1c2[_0x3c6bf4(0x170)]||(_0x38d1c2[_0x3c6bf4(0x170)]=!0x0,_0x38d1c2[_0x3c6bf4(0x186)](_0x3c6bf4(0x21f),_0x364465)));}function _0xcdf7c9(_0x1376cc){const _0x5be34f=_0x497c4b;_0x1376cc['_closeTimer']=setTimeout(_0x1376cc[_0x5be34f(0x1ba)][_0x5be34f(0x16c)]['bind'](_0x1376cc[_0x5be34f(0x1ba)]),_0x5142fd);}function _0x436815(){const _0x393a3e=_0x497c4b,_0x1eb1b4=this[_0x54abd9];this[_0x393a3e(0x224)](_0x393a3e(0x174),_0x436815),this[_0x393a3e(0x224)](_0x393a3e(0x1ec),_0x3c7daf),this[_0x393a3e(0x224)]('end',_0xbf1047),_0x1eb1b4[_0x393a3e(0x2b7)]=_0x4c02ca[_0x393a3e(0x149)];let _0x36ddf1;!this['_readableState'][_0x393a3e(0x146)]&&!_0x1eb1b4['_closeFrameReceived']&&!_0x1eb1b4['_receiver']['_writableState'][_0x393a3e(0x20e)]&&(_0x36ddf1=_0x1eb1b4['_socket']['read']())!==null&&_0x1eb1b4[_0x393a3e(0x155)][_0x393a3e(0x1e9)](_0x36ddf1),_0x1eb1b4[_0x393a3e(0x155)][_0x393a3e(0x21b)](),this[_0x54abd9]=void 0x0,clearTimeout(_0x1eb1b4[_0x393a3e(0x1af)]),_0x1eb1b4[_0x393a3e(0x155)][_0x393a3e(0x17b)][_0x393a3e(0x2a7)]||_0x1eb1b4[_0x393a3e(0x155)][_0x393a3e(0x17b)][_0x393a3e(0x20e)]?_0x1eb1b4['emitClose']():(_0x1eb1b4['_receiver']['on'](_0x393a3e(0x21f),_0x50cdfa),_0x1eb1b4[_0x393a3e(0x155)]['on'](_0x393a3e(0x10e),_0x50cdfa));}function _0x3c7daf(_0x401cb5){const _0x23f12e=_0x497c4b;this[_0x54abd9][_0x23f12e(0x155)][_0x23f12e(0x1e9)](_0x401cb5)||this[_0x23f12e(0x1d5)]();}function _0xbf1047(){const _0x5786b2=_0x497c4b,_0x5b2823=this[_0x54abd9];_0x5b2823[_0x5786b2(0x2b7)]=_0x4c02ca[_0x5786b2(0x149)],_0x5b2823['_receiver']['end'](),this[_0x5786b2(0x21b)]();}function _0x58ef29(){const _0x2800d9=_0x497c4b,_0x2ab55e=this[_0x54abd9];this[_0x2800d9(0x224)](_0x2800d9(0x21f),_0x58ef29),this['on'](_0x2800d9(0x21f),_0x2f6281),_0x2ab55e&&(_0x2ab55e[_0x2800d9(0x2b7)]=_0x4c02ca[_0x2800d9(0x149)],this[_0x2800d9(0x16c)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x241594}=_0x3e85cd;function _0x5d52aa(_0xd365ae){const _0x175160=_0x212f;_0xd365ae[_0x175160(0x186)](_0x175160(0x174));}function _0x4662d0(){const _0x485136=_0x212f;!this[_0x485136(0x276)]&&this['_writableState']['finished']&&this[_0x485136(0x16c)]();}function _0xb08518(_0x223a6b){const _0x1bc6e0=_0x212f;this[_0x1bc6e0(0x224)](_0x1bc6e0(0x21f),_0xb08518),this['destroy'](),this[_0x1bc6e0(0x1fd)](_0x1bc6e0(0x21f))===0x0&&this[_0x1bc6e0(0x186)]('error',_0x223a6b);}function _0x2f1da8(_0x3bfb9a,_0x2d5419){const _0x309b65=_0x212f;let _0x17d5fb=!0x0;const _0x7bf082=new _0x241594({..._0x2d5419,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3bfb9a['on'](_0x309b65(0x25f),function(_0x3e1938,_0x4d0bdb){const _0x13c214=_0x309b65,_0x1a2656=!_0x4d0bdb&&_0x7bf082[_0x13c214(0x219)][_0x13c214(0x2b2)]?_0x3e1938['toString']():_0x3e1938;_0x7bf082['push'](_0x1a2656)||_0x3bfb9a['pause']();}),_0x3bfb9a[_0x309b65(0x2a9)](_0x309b65(0x21f),function(_0x214fdc){const _0x1e175d=_0x309b65;_0x7bf082[_0x1e175d(0x276)]||(_0x17d5fb=!0x1,_0x7bf082[_0x1e175d(0x16c)](_0x214fdc));}),_0x3bfb9a[_0x309b65(0x2a9)](_0x309b65(0x174),function(){const _0x28f41d=_0x309b65;_0x7bf082[_0x28f41d(0x276)]||_0x7bf082['push'](null);}),_0x7bf082['_destroy']=function(_0x50231e,_0x321295){const _0x1b8cbe=_0x309b65;if(_0x3bfb9a[_0x1b8cbe(0x121)]===_0x3bfb9a[_0x1b8cbe(0x167)]){_0x321295(_0x50231e),process[_0x1b8cbe(0x248)](_0x5d52aa,_0x7bf082);return;}let _0x46e638=!0x1;_0x3bfb9a[_0x1b8cbe(0x2a9)](_0x1b8cbe(0x21f),function(_0x3390e5){_0x46e638=!0x0,_0x321295(_0x3390e5);}),_0x3bfb9a[_0x1b8cbe(0x2a9)]('close',function(){const _0x3578ca=_0x1b8cbe;_0x46e638||_0x321295(_0x50231e),process[_0x3578ca(0x248)](_0x5d52aa,_0x7bf082);}),_0x17d5fb&&_0x3bfb9a[_0x1b8cbe(0x1b3)]();},_0x7bf082['_final']=function(_0x27701b){const _0x468d23=_0x309b65;if(_0x3bfb9a['readyState']===_0x3bfb9a[_0x468d23(0x11c)]){_0x3bfb9a['once']('open',function(){const _0x25ea7a=_0x468d23;_0x7bf082[_0x25ea7a(0x122)](_0x27701b);});return;}_0x3bfb9a[_0x468d23(0x1ba)]!==null&&(_0x3bfb9a[_0x468d23(0x1ba)][_0x468d23(0x17b)][_0x468d23(0x2a7)]?(_0x27701b(),_0x7bf082[_0x468d23(0x219)][_0x468d23(0x146)]&&_0x7bf082['destroy']()):(_0x3bfb9a[_0x468d23(0x1ba)][_0x468d23(0x2a9)]('finish',function(){_0x27701b();}),_0x3bfb9a['close']()));},_0x7bf082[_0x309b65(0x282)]=function(){const _0x4365af=_0x309b65;_0x3bfb9a[_0x4365af(0x119)]&&_0x3bfb9a['resume']();},_0x7bf082[_0x309b65(0x204)]=function(_0x57405b,_0x3f3080,_0x25dad2){const _0x3cdbaa=_0x309b65;if(_0x3bfb9a[_0x3cdbaa(0x121)]===_0x3bfb9a[_0x3cdbaa(0x11c)]){_0x3bfb9a[_0x3cdbaa(0x2a9)](_0x3cdbaa(0x11a),function(){const _0x2beb62=_0x3cdbaa;_0x7bf082[_0x2beb62(0x204)](_0x57405b,_0x3f3080,_0x25dad2);});return;}_0x3bfb9a[_0x3cdbaa(0x1d2)](_0x57405b,_0x25dad2);},_0x7bf082['on'](_0x309b65(0x21b),_0x4662d0),_0x7bf082['on']('error',_0xb08518),_0x7bf082;}return Oe=_0x2f1da8,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x24423c}=ne();function _0xe4cae(_0x384136){const _0x1633d2=_0x212f,_0x1560e0=new Set();let _0x308faa=-0x1,_0xe4b0ad=-0x1,_0x4d1669=0x0;for(_0x4d1669;_0x4d1669<_0x384136[_0x1633d2(0x10f)];_0x4d1669++){const _0x345c0a=_0x384136[_0x1633d2(0x293)](_0x4d1669);if(_0xe4b0ad===-0x1&&_0x24423c[_0x345c0a]===0x1)_0x308faa===-0x1&&(_0x308faa=_0x4d1669);else{if(_0x4d1669!==0x0&&(_0x345c0a===0x20||_0x345c0a===0x9))_0xe4b0ad===-0x1&&_0x308faa!==-0x1&&(_0xe4b0ad=_0x4d1669);else{if(_0x345c0a===0x2c){if(_0x308faa===-0x1)throw new SyntaxError(_0x1633d2(0x1bf)+_0x4d1669);_0xe4b0ad===-0x1&&(_0xe4b0ad=_0x4d1669);const _0xd91bee=_0x384136[_0x1633d2(0x1f4)](_0x308faa,_0xe4b0ad);if(_0x1560e0['has'](_0xd91bee))throw new SyntaxError(_0x1633d2(0x214)+_0xd91bee+_0x1633d2(0x22d));_0x1560e0[_0x1633d2(0x227)](_0xd91bee),_0x308faa=_0xe4b0ad=-0x1;}else throw new SyntaxError(_0x1633d2(0x1bf)+_0x4d1669);}}}if(_0x308faa===-0x1||_0xe4b0ad!==-0x1)throw new SyntaxError(_0x1633d2(0x271));const _0x1302ed=_0x384136[_0x1633d2(0x1f4)](_0x308faa,_0x4d1669);if(_0x1560e0['has'](_0x1302ed))throw new SyntaxError(_0x1633d2(0x214)+_0x1302ed+_0x1633d2(0x22d));return _0x1560e0[_0x1633d2(0x227)](_0x1302ed),_0x1560e0;}return Ce={'parse':_0xe4cae},Ce;}var Te,ot;function er(){const _0x2a9394=_0x2b7c49;if(ot)return Te;ot=0x1;const _0x32a8c6=_0x2a026b,_0x4686c9=_0x193856,{Duplex:_0x45c660}=_0x3e85cd,{createHash:_0x1b13a2}=_0x409377,_0x19ae92=pt(),_0x325947=he(),_0x575192=Jt(),_0x3a48a7=Ie(),{GUID:_0x50603f,kWebSocket:_0x15fbb9}=V(),_0x282042=/^[+/0-9A-Za-z]{22}==$/,_0x2d78b1=0x0,_0x2c1c0d=0x1,_0x3f963a=0x2;class _0xe6a34e extends _0x32a8c6{constructor(_0x4b4dd5,_0x130e3b){const _0x59f9fe=_0x212f;if(super(),_0x4b4dd5={'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':_0x3a48a7,..._0x4b4dd5},_0x4b4dd5[_0x59f9fe(0x258)]==null&&!_0x4b4dd5[_0x59f9fe(0x1e8)]&&!_0x4b4dd5[_0x59f9fe(0x179)]||_0x4b4dd5['port']!=null&&(_0x4b4dd5['server']||_0x4b4dd5[_0x59f9fe(0x179)])||_0x4b4dd5[_0x59f9fe(0x1e8)]&&_0x4b4dd5['noServer'])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x4b4dd5[_0x59f9fe(0x258)]!=null?(this[_0x59f9fe(0x1f7)]=_0x4686c9[_0x59f9fe(0x1a7)]((_0x287b61,_0x237fa3)=>{const _0xcdd8eb=_0x59f9fe,_0x4e1924=_0x4686c9['STATUS_CODES'][0x1aa];_0x237fa3[_0xcdd8eb(0x28a)](0x1aa,{'Content-Length':_0x4e1924['length'],'Content-Type':_0xcdd8eb(0x242)}),_0x237fa3[_0xcdd8eb(0x21b)](_0x4e1924);}),this[_0x59f9fe(0x1f7)][_0x59f9fe(0x274)](_0x4b4dd5[_0x59f9fe(0x258)],_0x4b4dd5[_0x59f9fe(0x12f)],_0x4b4dd5[_0x59f9fe(0x267)],_0x130e3b)):_0x4b4dd5[_0x59f9fe(0x1e8)]&&(this[_0x59f9fe(0x1f7)]=_0x4b4dd5[_0x59f9fe(0x1e8)]),this[_0x59f9fe(0x1f7)]){const _0x29e1cc=this['emit'][_0x59f9fe(0x108)](this,_0x59f9fe(0x150));this[_0x59f9fe(0x1b0)]=_0x53721d(this[_0x59f9fe(0x1f7)],{'listening':this[_0x59f9fe(0x186)]['bind'](this,_0x59f9fe(0x217)),'error':this[_0x59f9fe(0x186)]['bind'](this,_0x59f9fe(0x21f)),'upgrade':(_0x46fc96,_0x258e18,_0x3a3901)=>{const _0x43fc0b=_0x59f9fe;this[_0x43fc0b(0x25c)](_0x46fc96,_0x258e18,_0x3a3901,_0x29e1cc);}});}_0x4b4dd5[_0x59f9fe(0x1c1)]===!0x0&&(_0x4b4dd5[_0x59f9fe(0x1c1)]={}),_0x4b4dd5[_0x59f9fe(0x23b)]&&(this['clients']=new Set(),this[_0x59f9fe(0x256)]=!0x1),this[_0x59f9fe(0x22a)]=_0x4b4dd5,this[_0x59f9fe(0x135)]=_0x2d78b1;}[_0x2a9394(0x275)](){const _0x1d6740=_0x2a9394;if(this[_0x1d6740(0x22a)][_0x1d6740(0x179)])throw new Error(_0x1d6740(0x2bc));return this[_0x1d6740(0x1f7)]?this[_0x1d6740(0x1f7)][_0x1d6740(0x275)]():null;}['close'](_0x57d28f){const _0x33e4b0=_0x2a9394;if(this[_0x33e4b0(0x135)]===_0x3f963a){_0x57d28f&&this[_0x33e4b0(0x2a9)](_0x33e4b0(0x174),()=>{_0x57d28f(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x33e4b0(0x248)](_0x32e4c3,this);return;}if(_0x57d28f&&this[_0x33e4b0(0x2a9)](_0x33e4b0(0x174),_0x57d28f),this[_0x33e4b0(0x135)]!==_0x2c1c0d){if(this[_0x33e4b0(0x135)]=_0x2c1c0d,this[_0x33e4b0(0x22a)][_0x33e4b0(0x179)]||this[_0x33e4b0(0x22a)][_0x33e4b0(0x1e8)])this['_server']&&(this['_removeListeners'](),this[_0x33e4b0(0x1b0)]=this['_server']=null),this[_0x33e4b0(0x29b)]?this[_0x33e4b0(0x29b)][_0x33e4b0(0x171)]?this['_shouldEmitClose']=!0x0:process['nextTick'](_0x32e4c3,this):process[_0x33e4b0(0x248)](_0x32e4c3,this);else{const _0x471de0=this[_0x33e4b0(0x1f7)];this['_removeListeners'](),this['_removeListeners']=this[_0x33e4b0(0x1f7)]=null,_0x471de0[_0x33e4b0(0x174)](()=>{_0x32e4c3(this);});}}}[_0x2a9394(0x241)](_0x18711d){const _0x1c0751=_0x2a9394;if(this[_0x1c0751(0x22a)]['path']){const _0x3fe533=_0x18711d['url']['indexOf']('?');if((_0x3fe533!==-0x1?_0x18711d[_0x1c0751(0x166)][_0x1c0751(0x1f4)](0x0,_0x3fe533):_0x18711d[_0x1c0751(0x166)])!==this[_0x1c0751(0x22a)][_0x1c0751(0x2ad)])return!0x1;}return!0x0;}[_0x2a9394(0x25c)](_0x5b69d2,_0x5c41d8,_0x32784c,_0x121a8f){const _0x54a83a=_0x2a9394;_0x5c41d8['on'](_0x54a83a(0x21f),_0x17008b);const _0x5779d1=_0x5b69d2[_0x54a83a(0x27b)]['sec-websocket-key'],_0x188cae=_0x5b69d2[_0x54a83a(0x27b)][_0x54a83a(0x1db)],_0x4ef142=+_0x5b69d2[_0x54a83a(0x27b)]['sec-websocket-version'];if(_0x5b69d2[_0x54a83a(0x203)]!==_0x54a83a(0x11d)){_0x2e9bab(this,_0x5b69d2,_0x5c41d8,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x188cae===void 0x0||_0x188cae[_0x54a83a(0x140)]()!=='websocket'){_0x2e9bab(this,_0x5b69d2,_0x5c41d8,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x5779d1===void 0x0||!_0x282042[_0x54a83a(0x298)](_0x5779d1)){_0x2e9bab(this,_0x5b69d2,_0x5c41d8,0x190,_0x54a83a(0x147));return;}if(_0x4ef142!==0x8&&_0x4ef142!==0xd){_0x2e9bab(this,_0x5b69d2,_0x5c41d8,0x190,_0x54a83a(0x25a));return;}if(!this['shouldHandle'](_0x5b69d2)){_0x414102(_0x5c41d8,0x190);return;}const _0x5ed93a=_0x5b69d2[_0x54a83a(0x27b)]['sec-websocket-protocol'];let _0x2bf9e8=new Set();if(_0x5ed93a!==void 0x0)try{_0x2bf9e8=_0x575192['parse'](_0x5ed93a);}catch{_0x2e9bab(this,_0x5b69d2,_0x5c41d8,0x190,_0x54a83a(0x1ac));return;}const _0x4e0ab6=_0x5b69d2[_0x54a83a(0x27b)]['sec-websocket-extensions'],_0x42379e={};if(this[_0x54a83a(0x22a)]['perMessageDeflate']&&_0x4e0ab6!==void 0x0){const _0x242e34=new _0x325947(this[_0x54a83a(0x22a)][_0x54a83a(0x1c1)],!0x0,this[_0x54a83a(0x22a)][_0x54a83a(0x1d8)]);try{const _0x5ef70f=_0x19ae92[_0x54a83a(0x263)](_0x4e0ab6);_0x5ef70f[_0x325947[_0x54a83a(0x160)]]&&(_0x242e34[_0x54a83a(0x14e)](_0x5ef70f[_0x325947[_0x54a83a(0x160)]]),_0x42379e[_0x325947[_0x54a83a(0x160)]]=_0x242e34);}catch{_0x2e9bab(this,_0x5b69d2,_0x5c41d8,0x190,_0x54a83a(0x10a));return;}}if(this[_0x54a83a(0x22a)]['verifyClient']){const _0x408f66={'origin':_0x5b69d2[_0x54a83a(0x27b)][''+(_0x4ef142===0x8?_0x54a83a(0x27f):_0x54a83a(0x287))],'secure':!!(_0x5b69d2['socket'][_0x54a83a(0x272)]||_0x5b69d2['socket'][_0x54a83a(0x14d)]),'req':_0x5b69d2};if(this[_0x54a83a(0x22a)]['verifyClient'][_0x54a83a(0x10f)]===0x2){this[_0x54a83a(0x22a)][_0x54a83a(0x19b)](_0x408f66,(_0x2a57a1,_0x2d6018,_0xd2ccbc,_0x374fc2)=>{if(!_0x2a57a1)return _0x414102(_0x5c41d8,_0x2d6018||0x191,_0xd2ccbc,_0x374fc2);this['completeUpgrade'](_0x42379e,_0x5779d1,_0x2bf9e8,_0x5b69d2,_0x5c41d8,_0x32784c,_0x121a8f);});return;}if(!this[_0x54a83a(0x22a)][_0x54a83a(0x19b)](_0x408f66))return _0x414102(_0x5c41d8,0x191);}this[_0x54a83a(0x1b6)](_0x42379e,_0x5779d1,_0x2bf9e8,_0x5b69d2,_0x5c41d8,_0x32784c,_0x121a8f);}[_0x2a9394(0x1b6)](_0x50a080,_0x420fb6,_0x314fe8,_0x5306cb,_0x5e7a14,_0x43bb4f,_0x5e76b6){const _0xf64852=_0x2a9394;if(!_0x5e7a14['readable']||!_0x5e7a14[_0xf64852(0x1cf)])return _0x5e7a14[_0xf64852(0x16c)]();if(_0x5e7a14[_0x15fbb9])throw new Error(_0xf64852(0x141));if(this[_0xf64852(0x135)]>_0x2d78b1)return _0x414102(_0x5e7a14,0x1f7);const _0x139521=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0xf64852(0x1ef),_0xf64852(0x28d),'Sec-WebSocket-Accept:\x20'+_0x1b13a2(_0xf64852(0x13d))[_0xf64852(0x257)](_0x420fb6+_0x50603f)[_0xf64852(0x139)]('base64')],_0x353a3b=new this[(_0xf64852(0x22a))][(_0xf64852(0x1f0))](null,void 0x0,this[_0xf64852(0x22a)]);if(_0x314fe8[_0xf64852(0x171)]){const _0x5f3593=this[_0xf64852(0x22a)]['handleProtocols']?this[_0xf64852(0x22a)][_0xf64852(0x23a)](_0x314fe8,_0x5306cb):_0x314fe8[_0xf64852(0x10b)]()[_0xf64852(0x185)]()[_0xf64852(0x1f8)];_0x5f3593&&(_0x139521['push'](_0xf64852(0x196)+_0x5f3593),_0x353a3b['_protocol']=_0x5f3593);}if(_0x50a080[_0x325947[_0xf64852(0x160)]]){const _0x12767b=_0x50a080[_0x325947[_0xf64852(0x160)]][_0xf64852(0x1a3)],_0x1af876=_0x19ae92[_0xf64852(0x1a9)]({[_0x325947[_0xf64852(0x160)]]:[_0x12767b]});_0x139521['push'](_0xf64852(0x13c)+_0x1af876),_0x353a3b['_extensions']=_0x50a080;}this['emit']('headers',_0x139521,_0x5306cb),_0x5e7a14[_0xf64852(0x1e9)](_0x139521[_0xf64852(0x12b)]('\x0d\x0a')[_0xf64852(0x200)]('\x0d\x0a')),_0x5e7a14[_0xf64852(0x224)](_0xf64852(0x21f),_0x17008b),_0x353a3b[_0xf64852(0x278)](_0x5e7a14,_0x43bb4f,{'allowSynchronousEvents':this['options'][_0xf64852(0x1d3)],'maxPayload':this['options']['maxPayload'],'skipUTF8Validation':this[_0xf64852(0x22a)]['skipUTF8Validation']}),this['clients']&&(this['clients'][_0xf64852(0x227)](_0x353a3b),_0x353a3b['on']('close',()=>{const _0x40af64=_0xf64852;this['clients']['delete'](_0x353a3b),this['_shouldEmitClose']&&!this[_0x40af64(0x29b)][_0x40af64(0x171)]&&process[_0x40af64(0x248)](_0x32e4c3,this);})),_0x5e76b6(_0x353a3b,_0x5306cb);}}Te=_0xe6a34e;function _0x53721d(_0x212be4,_0x1e5edf){for(const _0x208418 of Object['keys'](_0x1e5edf))_0x212be4['on'](_0x208418,_0x1e5edf[_0x208418]);return function(){const _0x4c7db3=_0x212f;for(const _0x3285d6 of Object[_0x4c7db3(0x1ff)](_0x1e5edf))_0x212be4['removeListener'](_0x3285d6,_0x1e5edf[_0x3285d6]);};}function _0x32e4c3(_0x4f2ee8){const _0x157601=_0x2a9394;_0x4f2ee8[_0x157601(0x135)]=_0x3f963a,_0x4f2ee8[_0x157601(0x186)](_0x157601(0x174));}function _0x17008b(){const _0xfae7cf=_0x2a9394;this[_0xfae7cf(0x16c)]();}function _0x414102(_0x5a93a4,_0x254d87,_0x1fb23a,_0x4b383f){const _0x2709b7=_0x2a9394;_0x1fb23a=_0x1fb23a||_0x4686c9[_0x2709b7(0x114)][_0x254d87],_0x4b383f={'Connection':_0x2709b7(0x174),'Content-Type':_0x2709b7(0x1e6),'Content-Length':Buffer[_0x2709b7(0x279)](_0x1fb23a),..._0x4b383f},_0x5a93a4[_0x2709b7(0x2a9)](_0x2709b7(0x10e),_0x5a93a4[_0x2709b7(0x16c)]),_0x5a93a4[_0x2709b7(0x21b)]('HTTP/1.1\x20'+_0x254d87+'\x20'+_0x4686c9[_0x2709b7(0x114)][_0x254d87]+'\x0d\x0a'+Object[_0x2709b7(0x1ff)](_0x4b383f)[_0x2709b7(0x26d)](_0x4b04be=>_0x4b04be+':\x20'+_0x4b383f[_0x4b04be])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x1fb23a);}function _0x2e9bab(_0x1ab9cb,_0x35d2d6,_0x5970ff,_0x1c4085,_0x5b8bf){const _0x1e9ef0=_0x2a9394;if(_0x1ab9cb['listenerCount']('wsClientError')){const _0x501c76=new Error(_0x5b8bf);Error[_0x1e9ef0(0x1c6)](_0x501c76,_0x2e9bab),_0x1ab9cb['emit']('wsClientError',_0x501c76,_0x5970ff,_0x35d2d6);}else _0x414102(_0x5970ff,_0x1c4085,_0x5b8bf);}return Te;}er();var tr=Object[_0x2b7c49(0x18c)],rr=(_0x5c0ffe,_0x2b10a3,_0x206448,_0x1fcf20)=>{const _0x5d730b=_0x2b7c49;for(var _0x4c97fc=_0x1fcf20>0x1?void 0x0:_0x1fcf20?tr(_0x2b10a3,_0x206448):_0x2b10a3,_0x44493f=_0x5c0ffe[_0x5d730b(0x10f)]-0x1,_0x2ce38a;_0x44493f>=0x0;_0x44493f--)(_0x2ce38a=_0x5c0ffe[_0x44493f])&&(_0x4c97fc=_0x2ce38a(_0x4c97fc)||_0x4c97fc);return _0x4c97fc;},sr=(_0x5c85f0,_0x3c9632)=>(_0x4d0fc1,_0x3355d5)=>_0x3c9632(_0x4d0fc1,_0x3355d5,_0x5c85f0);function _0x212f(_0x1fcd80,_0x336e6b){const _0x43cc90=_0x43cc();return _0x212f=function(_0x212f36,_0x4ffde2){_0x212f36=_0x212f36-0x108;let _0x268a6d=_0x43cc90[_0x212f36];return _0x268a6d;},_0x212f(_0x1fcd80,_0x336e6b);}let Ne=class extends _0x3ae861{constructor(_0x4122d6){const _0x481bd9=_0x2b7c49;super(),this[_0x481bd9(0x210)]=_0x4122d6;}[_0x2b7c49(0x1dc)](_0x4068c8){const _0x71bcbe=_0x2b7c49;var _0x539cc7;const _0x12730d=(_0x539cc7=this[_0x71bcbe(0x210)][_0x71bcbe(0x178)](Be))==null?void 0x0:_0x539cc7['customHeaders'];try{const _0x4e33e8=new Qt(_0x4068c8,{'headers':{..._0x12730d}}),_0x197acb=new _0x2822ea();return{'URL':_0x4068c8,'close':(_0x16c0c1,_0x3d847e)=>{const _0x152089=_0x71bcbe;_0x4e33e8[_0x152089(0x174)](_0x16c0c1,_0x3d847e),_0x197acb[_0x152089(0x1b1)]();},'send':_0x468bee=>{const _0x5398c5=_0x71bcbe;_0x4e33e8[_0x5398c5(0x1d2)](_0x468bee);},'open$':new _0x48eb5f(_0x59c370=>{const _0x269be6=_0x71bcbe,_0x1d7364=_0x318b4a=>_0x59c370[_0x269be6(0x185)](_0x318b4a);_0x4e33e8[_0x269be6(0x152)](_0x269be6(0x11a),_0x1d7364),_0x197acb['add'](_0x3b9b05(()=>_0x4e33e8[_0x269be6(0x292)](_0x269be6(0x11a),_0x1d7364)));})['pipe'](_0x460c01()),'close$':new _0x48eb5f(_0x171f47=>{const _0x5f2c4a=_0x71bcbe,_0x5c9606=_0x5a7fea=>_0x171f47[_0x5f2c4a(0x185)](_0x5a7fea);_0x4e33e8['addEventListener'](_0x5f2c4a(0x174),_0x5c9606),_0x197acb['add'](_0x3b9b05(()=>_0x4e33e8[_0x5f2c4a(0x292)](_0x5f2c4a(0x174),_0x5c9606)));})[_0x71bcbe(0x112)](_0x460c01()),'error$':new _0x48eb5f(_0x2dc84d=>{const _0x40d68f=_0x71bcbe,_0x129fb3=_0x28a62d=>_0x2dc84d['next'](_0x28a62d);_0x4e33e8[_0x40d68f(0x152)](_0x40d68f(0x21f),_0x129fb3),_0x197acb[_0x40d68f(0x227)](_0x3b9b05(()=>_0x4e33e8[_0x40d68f(0x292)]('error',_0x129fb3)));})[_0x71bcbe(0x112)](_0x460c01()),'message$':new _0x48eb5f(_0x55855c=>{const _0x1cb4d0=_0x71bcbe,_0x5a2fa4=_0x1b0f42=>_0x55855c[_0x1cb4d0(0x185)](_0x1b0f42);_0x4e33e8[_0x1cb4d0(0x152)](_0x1cb4d0(0x25f),_0x5a2fa4),_0x197acb[_0x1cb4d0(0x227)](_0x3b9b05(()=>_0x4e33e8[_0x1cb4d0(0x292)]('message',_0x5a2fa4)));})[_0x71bcbe(0x112)](_0x460c01())};}catch(_0x57f42d){return console[_0x71bcbe(0x21f)](_0x57f42d),null;}}};Ne=rr([sr(0x0,_0x14c117)],Ne);function _0x43cc(){const _0x3f462f=['encrypted','accept','_skipUTF8Validation','connection','Basic\x20','addEventListener','pending','_closeCode','_receiver','Upgrade','function','cookie','getMask','rsv1','WS_NO_UTF_8_VALIDATE','ws:','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','getData','_originalSecure','extensionName','_req','acceptAsClient','entries','permessage-deflate','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','url','CLOSED','pathname','server_no_context_takeover','consume','species','destroy','4924905QRnqkx','_compressed','Parameter\x20\x22','_errorEmitted','size','client_max_window_bits','File','close','kRun','kError','Unsupported\x20protocol\x20version:\x20','getConfig','noServer','fin','_writableState','_sender','zlibInflateOptions','push','MASK\x20must\x20be\x20clear','_totalPayloadLength','dequeue','_closeFrameReceived','toStringTag','fragments','next','emit','construct','onStarting','skipUTF8Validation','indexOf','_inflate','getOwnPropertyDescriptor','type','_allowSynchronousEvents','catch','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','abort','decompress','722866MJXpdU','kByteLength','websocket','Sec-WebSocket-Protocol:\x20','_injector','_mask','_closeMessage','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','verifyClient','10UChdoQ','server_max_window_bits','Server\x20sent\x20an\x20invalid\x20subprotocol','object','binaryType','then','replace','params','jobs','defineProperty','pong','createServer','_fragments','format','_protocol','unexpected-response','Invalid\x20Sec-WebSocket-Protocol\x20header','_generateMask','protocol','_closeTimer','_removeListeners','dispose','zlibDeflateOptions','terminate','from','WS_ERR_UNEXPECTED_RSV_2_3','completeUpgrade','has','FIN\x20must\x20be\x20set','kType','_socket','MASK\x20must\x20be\x20set','status-code','offer','setNoDelay','Unexpected\x20character\x20at\x20index\x20','string','perMessageDeflate','WS_ERR_INVALID_CLOSE_CODE','unmask','clientNoContextTakeover','_bufferedAmount','captureStackTrace','enqueue','unshift','Invalid\x20value\x20for\x20parameter\x20\x22','getBlobData','ping','getPayloadLength64','nodebuffer','generateMask','writable','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','split','send','allowSynchronousEvents','connect','pause','total-length','followRedirects','maxPayload','kMessage','_fin','upgrade','createSocket','threshold','_options','callback','default','allocUnsafe','kAborted','Maximum\x20redirects\x20exceeded','location','1591709RtCFWv','text/html','Z_SYNC_FLUSH','server','write','buffer','shift','data','_paused','emitClose','Upgrade:\x20websocket','WebSocket','_queue','createInflateRaw','set','slice','1644242vsvAOf','password','_server','value','_isServer','9418116zYvKyf','protocolVersion','authorization','listenerCount','concurrency','keys','join','_buffers','Server\x20sent\x20no\x20subprotocol','method','_write','timeout','isIP','mask','drain','redirect','bufferedAmount','includes','isArray','needDrain','errorEmitted','resume','_configService','createDeflateRaw','createError','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','The\x20\x22','_doCreateSocket','prototype','listening','kReason','_readableState','statusCode','end','9dgbOQO','maxRedirects','Invalid\x20Sec-WebSocket-Accept\x20header','error','controlMessage','hasOwnProperty','sendFrame','hostname','removeListener','opcode','WS_ERR_INVALID_OPCODE','add','sec-websocket-protocol','Invalid\x20URL:\x20','options','http:','finishRequest','\x22\x20subprotocol\x20is\x20duplicated','code','_max_window_bits','invalid\x20opcode\x200','byteOffset','readUInt16BE','_no_context_takeover','auth','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_firstFragment','_originalIpc','clientMaxWindowBits','_maskBuffer','handleProtocols','clientTracking','isServer','readOnly','Max\x20payload\x20size\x20exceeded','uncork','writeUInt16BE','shouldHandle','text/plain','invalid\x20UTF-8\x20sequence','kWasClean','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','extensions','RSV1\x20must\x20be\x20clear','nextTick','acceptAsServer','_loop','number','conclude','_compress','_masked','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','pluginName','readUInt32BE','listeners','env','onerror','WS_ERR_EXPECTED_MASK','_shouldEmitClose','update','port','Invalid\x20Upgrade\x20header','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','find','handleUpgrade','handleEvent','collaboration-client-node.config','message','isInteger','_decompress','client','parse','haveLength','dataMessage','normalizeParams','backlog','socket','_registerDependencies','alloc','dispatch','setConfig','map','The\x20URL\x20contains\x20a\x20fragment\x20identifier','buffers','kTarget','Unexpected\x20end\x20of\x20input','authorized','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','listen','address','destroyed','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','setSocket','byteLength','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','headers','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','createConnection','Opening\x20handshake\x20has\x20timed\x20out','sec-websocket-origin','username','cork','_read','_payloadLength','_bufferedBytes','compress','target','origin','4536008IskWEZ','_originalHostOrSocketPath','writeHead','_httpService','WS_NO_BUFFER_UTIL','Connection:\x20Upgrade','maskBuffer','_extensions','WS_ERR_UNEXPECTED_RSV_1','_errored','removeEventListener','charCodeAt','removeAllListeners','wasClean','Sec-WebSocket-Protocol','frame','test','arrayBuffer','OPEN','clients','onmessage','freeze','kData','_deflate','_messageLength','_opcode','Module','The\x20URL\x27s\x20pathname\x20is\x20empty','reason','exports','serverNoContextTakeover','finished','request','once','8YkNElv','WS_ERR_INVALID_UTF8','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','path','socketPath','defaultPort','_autoPong','create','objectMode','serverMaxWindowBits','_url','base64','servername','_readyState','42698898gNtMBN','__esModule','call','_closeFrameSent','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','bind','_redirects','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','values','setTimeout','pow','finish','length','WS_ERR_UNEXPECTED_MASK','startLoop','pipe','apply','STATUS_CODES','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','reset','binary','kCode','isPaused','open','kIsForOnEventAttribute','CONNECTING','GET','https:','invalid\x20payload\x20length\x20','isBuffer','readyState','_final','Unexpected\x20server\x20response:\x20','wss:','cleanup','customHeaders','_maxPayload','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','getPayloadLength16','concat','Invalid\x20WebSocket\x20frame:\x20','toString','blob','host','_binaryType','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Sec-WebSocket-Origin','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','flush','_state','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_fragmented','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','digest','registerHTTPInterceptor','autoPong','Sec-WebSocket-Extensions:\x20','sha1','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','forEach','toLowerCase','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','client_no_context_takeover','isView','getInfo','isValidUTF8','endEmitted','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','\x22:\x20','CLOSING','ws+unix:','writeUIntBE','Z_DEFAULT_WINDOWBITS'];_0x43cc=function(){return _0x3f462f;};return _0x43cc();}var ir=Object['defineProperty'],nr=Object[_0x2b7c49(0x18c)],or=(_0x5a4b66,_0x4a097,_0x48d243)=>_0x4a097 in _0x5a4b66?ir(_0x5a4b66,_0x4a097,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x48d243}):_0x5a4b66[_0x4a097]=_0x48d243,ar=(_0x4eaba0,_0x214dc6,_0x49ea80,_0x3da015)=>{const _0x4fa7d8=_0x2b7c49;for(var _0xb26788=_0x3da015>0x1?void 0x0:_0x3da015?nr(_0x214dc6,_0x49ea80):_0x214dc6,_0x472bc2=_0x4eaba0[_0x4fa7d8(0x10f)]-0x1,_0x44c762;_0x472bc2>=0x0;_0x472bc2--)(_0x44c762=_0x4eaba0[_0x472bc2])&&(_0xb26788=_0x44c762(_0xb26788)||_0xb26788);return _0xb26788;},ke=(_0x277a4d,_0x2bebe4)=>(_0x5d551c,_0x3bc4e3)=>_0x2bebe4(_0x5d551c,_0x3bc4e3,_0x277a4d),lr=(_0x278a9c,_0x2bf880,_0x456d25)=>or(_0x278a9c,_0x2bf880+'',_0x456d25);let Pe=class extends _0x37c28f{constructor(_0x4057c7=Ft,_0x1fdcd0,_0x305038,_0x3d1fc2){const _0x44f7b9=_0x2b7c49;_0x4057c7[_0x44f7b9(0x126)]||_0x1fdcd0['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x44f7b9(0x210)]=_0x305038,this[_0x44f7b9(0x197)]=_0x3d1fc2,this[_0x44f7b9(0x210)][_0x44f7b9(0x26c)](Be,_0x4057c7);}[_0x2b7c49(0x188)](){this['_registerDependencies']();}[_0x2b7c49(0x269)](){_0x5c4569(this['_injector'],[[_0xfe1714,{'useClass':Ne}]]);}};lr(Pe,_0x2b7c49(0x250),_0x2b7c49(0x138)),Pe=ar([_0x5b05cf(_0x336679),ke(0x1,_0x9ff22c),ke(0x2,_0x14c117),ke(0x3,_0x38379a(_0x2aa482))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x3dca0d,_0x22dfec,_0x46351b,_0x400265)=>{const _0x331b94=_0x2b7c49;for(var _0x1a1ffa=_0x400265>0x1?void 0x0:_0x400265?fr(_0x22dfec,_0x46351b):_0x22dfec,_0x56ef4c=_0x3dca0d[_0x331b94(0x10f)]-0x1,_0x344acd;_0x56ef4c>=0x0;_0x56ef4c--)(_0x344acd=_0x3dca0d[_0x56ef4c])&&(_0x1a1ffa=_0x344acd(_0x1a1ffa)||_0x1a1ffa);return _0x1a1ffa;},se=(_0x5e71e0,_0x2638e9)=>(_0x550ce9,_0x292b3b)=>_0x2638e9(_0x550ce9,_0x292b3b,_0x5e71e0);let at=class extends _0x47bd11{constructor(_0x5b7820,_0x156eec,_0x44decd,_0x19f956,_0x119ebc){const _0x2e323e=_0x2b7c49;super(_0x5b7820,_0x156eec,_0x44decd,_0x19f956,_0x119ebc);const _0x2f4053=this[_0x2e323e(0x210)][_0x2e323e(0x178)](Be);this[_0x2e323e(0x28b)][_0x2e323e(0x13a)]({'interceptor':(_0x523601,_0x525453)=>{const _0x597b45=_0x2e323e;var _0x523641;const _0x25e5ef=_0x523601[_0x597b45(0x27b)];return(_0x523641=_0x2f4053==null?void 0x0:_0x2f4053['customHeaders'])!=null&&_0x523641[_0x597b45(0x158)]&&_0x25e5ef[_0x597b45(0x1f3)]('Cookie',_0x2f4053[_0x597b45(0x126)][_0x597b45(0x158)]),_0x525453(_0x523601);}});}async[_0x2b7c49(0x1dc)](_0xc8504){const _0x4585d0=_0x2b7c49;return this[_0x4585d0(0x215)](_0xc8504);}};at=cr([se(0x0,_0x38379a(_0x2aa482)),se(0x1,_0x38379a(_0x59054c)),se(0x2,_0x14c117),se(0x3,_0x9ff22c),se(0x4,_0x5d2238)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x196bfc=_0x564e;(function(_0x12b072,_0x3ee823){const _0x4b56e4=_0x564e,_0x4580ed=_0x12b072();while(!![]){try{const _0x2e639f=-parseInt(_0x4b56e4(0x25c))/0x1*(parseInt(_0x4b56e4(0x1f1))/0x2)+-parseInt(_0x4b56e4(0x31b))/0x3*(parseInt(_0x4b56e4(0x191))/0x4)+parseInt(_0x4b56e4(0x1d0))/0x5+-parseInt(_0x4b56e4(0x2c8))/0x6*(-parseInt(_0x4b56e4(0x30f))/0x7)+-parseInt(_0x4b56e4(0x1c6))/0x8+parseInt(_0x4b56e4(0x1de))/0x9+-parseInt(_0x4b56e4(0x286))/0xa*(parseInt(_0x4b56e4(0x1ba))/0xb);if(_0x2e639f===_0x3ee823)break;else _0x4580ed['push'](_0x4580ed['shift']());}catch(_0x5ea061){_0x4580ed['push'](_0x4580ed['shift']());}}}(_0x1b95,0xead91));import{UniverCollaborationClientPlugin as _0x1c76a3,CollaborationSocketService as _0xf906d5}from'@univerjs-pro/collaboration-client';import{Disposable as _0x17bb67,DisposableCollection as _0x4417e8,toDisposable as _0x49ff1c,IConfigService as _0x1de241,DependentOn as _0x156cbd,ILogService as _0x32dfc8,Inject as _0x2974fb,Injector as _0x5eebe7,Plugin as _0x531eb0,registerDependencies as _0x43f546}from'@univerjs/core';import{ISocketService as _0x484ae9,HTTPService as _0x542bd9}from'@univerjs/network';import{Observable as _0x498a9d,share as _0x429184}from'rxjs';import _0x576eb1 from'events';import _0x223b78 from'https';import _0x4f3c9d from'http';import _0x2531ac from'net';import _0x1af4ff from'tls';import _0xb1da6e from'crypto';import _0x43f44b from'stream';import _0x4edc47 from'url';import _0x15e293 from'zlib';import _0x4a302e from'buffer';import{ISnapshotServerService as _0x3ef5dd}from'@univerjs-pro/collaboration';const Be=_0x196bfc(0x306),Ft={'customHeaders':{}};function jt(_0x344146){const _0x5335fc=_0x196bfc;return _0x344146&&_0x344146[_0x5335fc(0x23a)]&&Object['prototype'][_0x5335fc(0x30c)][_0x5335fc(0x32c)](_0x344146,_0x5335fc(0x1cb))?_0x344146[_0x5335fc(0x1cb)]:_0x344146;}function ut(_0x266811){const _0x51f3e4=_0x196bfc;if(Object[_0x51f3e4(0x230)][_0x51f3e4(0x30c)]['call'](_0x266811,_0x51f3e4(0x23a)))return _0x266811;var _0x837b5d=_0x266811[_0x51f3e4(0x1cb)];if(typeof _0x837b5d==_0x51f3e4(0x22d)){var _0x3e474b=function _0x3648b4(){const _0x335a48=_0x51f3e4;var _0x4817f6=!0x1;try{_0x4817f6=this instanceof _0x3648b4;}catch{}return _0x4817f6?Reflect[_0x335a48(0x330)](_0x837b5d,arguments,this['constructor']):_0x837b5d[_0x335a48(0x276)](this,arguments);};_0x3e474b[_0x51f3e4(0x230)]=_0x837b5d['prototype'];}else _0x3e474b={};return Object[_0x51f3e4(0x1a7)](_0x3e474b,'__esModule',{'value':!0x0}),Object[_0x51f3e4(0x1fa)](_0x266811)[_0x51f3e4(0x195)](function(_0x3fd83e){const _0x374a8c=_0x51f3e4;var _0x5bbf0b=Object['getOwnPropertyDescriptor'](_0x266811,_0x3fd83e);Object[_0x374a8c(0x1a7)](_0x3e474b,_0x3fd83e,_0x5bbf0b['get']?_0x5bbf0b:{'enumerable':!0x0,'get':function(){return _0x266811[_0x3fd83e];}});}),_0x3e474b;}var te={'exports':{}},ge,Ye;function V(){const _0x32a2d5=_0x196bfc;if(Ye)return ge;Ye=0x1;const _0x3b4e1a=[_0x32a2d5(0x323),_0x32a2d5(0x228),_0x32a2d5(0x2c0)],_0x197fd5=typeof Blob<'u';return _0x197fd5&&_0x3b4e1a[_0x32a2d5(0x271)](_0x32a2d5(0x2e3)),ge={'BINARY_TYPES':_0x3b4e1a,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x32a2d5(0x21e),'hasBlob':_0x197fd5,'kForOnEventAttribute':Symbol(_0x32a2d5(0x30b)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x32a2d5(0x2ff)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x196bfc(0x328)](Object[_0x196bfc(0x1a7)]({'__proto__':null,'default':Wt},Symbol[_0x196bfc(0x1e6)],{'value':_0x196bfc(0x2cb)})),Vt=ut(Gt);function _0x564e(_0x528dcc,_0x570e4a){const _0x1b95b2=_0x1b95();return _0x564e=function(_0x564e6b,_0x28c45b){_0x564e6b=_0x564e6b-0x18f;let _0x5043ae=_0x1b95b2[_0x564e6b];return _0x5043ae;},_0x564e(_0x528dcc,_0x570e4a);}var Ke;function ce(){const _0xab3eb6=_0x196bfc;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0xace877}=V(),_0x1ccedf=Buffer[Symbol[_0xab3eb6(0x1be)]];function _0x48ead9(_0x215ed3,_0x43c2c6){const _0x23fb49=_0xab3eb6;if(_0x215ed3[_0x23fb49(0x2f4)]===0x0)return _0xace877;if(_0x215ed3[_0x23fb49(0x2f4)]===0x1)return _0x215ed3[0x0];const _0x1e1d86=Buffer[_0x23fb49(0x2c4)](_0x43c2c6);let _0x407db9=0x0;for(let _0x158a16=0x0;_0x158a16<_0x215ed3[_0x23fb49(0x2f4)];_0x158a16++){const _0x569ea6=_0x215ed3[_0x158a16];_0x1e1d86[_0x23fb49(0x24a)](_0x569ea6,_0x407db9),_0x407db9+=_0x569ea6['length'];}return _0x407db9<_0x43c2c6?new _0x1ccedf(_0x1e1d86[_0x23fb49(0x1a4)],_0x1e1d86[_0x23fb49(0x1b1)],_0x407db9):_0x1e1d86;}function _0x167905(_0x4a0d57,_0x1f4351,_0x587fa7,_0x1c8c50,_0x24f0de){for(let _0xa5121d=0x0;_0xa5121d<_0x24f0de;_0xa5121d++)_0x587fa7[_0x1c8c50+_0xa5121d]=_0x4a0d57[_0xa5121d]^_0x1f4351[_0xa5121d&0x3];}function _0x46c924(_0x1058b0,_0x3ba00f){for(let _0x7801c4=0x0;_0x7801c4<_0x1058b0['length'];_0x7801c4++)_0x1058b0[_0x7801c4]^=_0x3ba00f[_0x7801c4&0x3];}function _0x4a61de(_0x1ca004){const _0x4ea937=_0xab3eb6;return _0x1ca004['length']===_0x1ca004[_0x4ea937(0x1a4)][_0x4ea937(0x2e8)]?_0x1ca004['buffer']:_0x1ca004[_0x4ea937(0x1a4)][_0x4ea937(0x2ac)](_0x1ca004[_0x4ea937(0x1b1)],_0x1ca004['byteOffset']+_0x1ca004[_0x4ea937(0x2f4)]);}function _0x1fc3a0(_0xddf2d3){const _0x4d5502=_0xab3eb6;if(_0x1fc3a0['readOnly']=!0x0,Buffer[_0x4d5502(0x322)](_0xddf2d3))return _0xddf2d3;let _0x424bc7;return _0xddf2d3 instanceof ArrayBuffer?_0x424bc7=new _0x1ccedf(_0xddf2d3):ArrayBuffer['isView'](_0xddf2d3)?_0x424bc7=new _0x1ccedf(_0xddf2d3[_0x4d5502(0x1a4)],_0xddf2d3[_0x4d5502(0x1b1)],_0xddf2d3[_0x4d5502(0x2e8)]):(_0x424bc7=Buffer['from'](_0xddf2d3),_0x1fc3a0[_0x4d5502(0x2c3)]=!0x1),_0x424bc7;}if(te['exports']={'concat':_0x48ead9,'mask':_0x167905,'toArrayBuffer':_0x4a61de,'toBuffer':_0x1fc3a0,'unmask':_0x46c924},!process[_0xab3eb6(0x29f)]['WS_NO_BUFFER_UTIL'])try{const _0x1fab09=Vt;te['exports'][_0xab3eb6(0x324)]=function(_0x404165,_0xfad71a,_0x2edd1f,_0x13737b,_0x58a677){_0x58a677<0x30?_0x167905(_0x404165,_0xfad71a,_0x2edd1f,_0x13737b,_0x58a677):_0x1fab09['mask'](_0x404165,_0xfad71a,_0x2edd1f,_0x13737b,_0x58a677);},te[_0xab3eb6(0x1f3)]['unmask']=function(_0x8b5592,_0x2d9356){const _0x50445c=_0xab3eb6;_0x8b5592[_0x50445c(0x2f4)]<0x20?_0x46c924(_0x8b5592,_0x2d9356):_0x1fab09['unmask'](_0x8b5592,_0x2d9356);};}catch{}return te[_0xab3eb6(0x1f3)];}var ye,Xe;function qt(){const _0xadbf07=_0x196bfc;if(Xe)return ye;Xe=0x1;const _0x247c23=Symbol(_0xadbf07(0x313)),_0x3b8d9a=Symbol(_0xadbf07(0x316));class _0x39ca1a{constructor(_0xca8d99){const _0x116cd5=_0xadbf07;this[_0x247c23]=()=>{const _0x16d15e=_0x564e;this[_0x16d15e(0x257)]--,this[_0x3b8d9a]();},this['concurrency']=_0xca8d99||0x1/0x0,this[_0x116cd5(0x2ef)]=[],this[_0x116cd5(0x257)]=0x0;}[_0xadbf07(0x285)](_0x5eeebd){const _0x551305=_0xadbf07;this[_0x551305(0x2ef)][_0x551305(0x271)](_0x5eeebd),this[_0x3b8d9a]();}[_0x3b8d9a](){const _0x42d0ee=_0xadbf07;if(this[_0x42d0ee(0x257)]!==this[_0x42d0ee(0x2af)]&&this[_0x42d0ee(0x2ef)]['length']){const _0x2cf536=this[_0x42d0ee(0x2ef)][_0x42d0ee(0x1c4)]();this[_0x42d0ee(0x257)]++,_0x2cf536(this[_0x247c23]);}}}return ye=_0x39ca1a,ye;}var ve,Ze;function he(){const _0x176235=_0x196bfc;if(Ze)return ve;Ze=0x1;const _0x546601=_0x15e293,_0x5ed51f=ce(),_0x29e0ac=qt(),{kStatusCode:_0x43d6f3}=V(),_0x488802=Buffer[Symbol[_0x176235(0x1be)]],_0x4b4b3e=Buffer[_0x176235(0x298)]([0x0,0x0,0xff,0xff]),_0x2d0b4e=Symbol(_0x176235(0x234)),_0x5c9cb4=Symbol(_0x176235(0x289)),_0x243c4b=Symbol(_0x176235(0x296)),_0x37f26f=Symbol(_0x176235(0x1b7)),_0x553465=Symbol(_0x176235(0x1fd));let _0x4e9360;class _0x3da2a6{constructor(_0x54431a,_0x1a6179,_0x26bcb9){const _0x3d2e46=_0x176235;if(this[_0x3d2e46(0x194)]=_0x26bcb9|0x0,this[_0x3d2e46(0x242)]=_0x54431a||{},this[_0x3d2e46(0x244)]=this[_0x3d2e46(0x242)][_0x3d2e46(0x192)]!==void 0x0?this['_options'][_0x3d2e46(0x192)]:0x400,this[_0x3d2e46(0x275)]=!!_0x1a6179,this[_0x3d2e46(0x2fd)]=null,this[_0x3d2e46(0x2da)]=null,this['params']=null,!_0x4e9360){const _0x5e8749=this[_0x3d2e46(0x242)][_0x3d2e46(0x319)]!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x4e9360=new _0x29e0ac(_0x5e8749);}}static get[_0x176235(0x1eb)](){const _0x5a59a4=_0x176235;return _0x5a59a4(0x234);}['offer'](){const _0xd079ce=_0x176235,_0x3b2605={};return this[_0xd079ce(0x242)][_0xd079ce(0x2cf)]&&(_0x3b2605[_0xd079ce(0x326)]=!0x0),this[_0xd079ce(0x242)][_0xd079ce(0x2dd)]&&(_0x3b2605[_0xd079ce(0x266)]=!0x0),this[_0xd079ce(0x242)][_0xd079ce(0x256)]&&(_0x3b2605[_0xd079ce(0x2fa)]=this[_0xd079ce(0x242)]['serverMaxWindowBits']),this[_0xd079ce(0x242)][_0xd079ce(0x21f)]?_0x3b2605[_0xd079ce(0x338)]=this[_0xd079ce(0x242)]['clientMaxWindowBits']:this[_0xd079ce(0x242)][_0xd079ce(0x21f)]==null&&(_0x3b2605[_0xd079ce(0x338)]=!0x0),_0x3b2605;}['accept'](_0x496546){const _0x55fd55=_0x176235;return _0x496546=this[_0x55fd55(0x20c)](_0x496546),this[_0x55fd55(0x295)]=this[_0x55fd55(0x275)]?this[_0x55fd55(0x320)](_0x496546):this[_0x55fd55(0x301)](_0x496546),this[_0x55fd55(0x295)];}[_0x176235(0x2b9)](){const _0x56eaf3=_0x176235;if(this['_inflate']&&(this[_0x56eaf3(0x2da)][_0x56eaf3(0x33d)](),this[_0x56eaf3(0x2da)]=null),this[_0x56eaf3(0x2fd)]){const _0x4ceeee=this[_0x56eaf3(0x2fd)][_0x243c4b];this['_deflate']['close'](),this[_0x56eaf3(0x2fd)]=null,_0x4ceeee&&_0x4ceeee(new Error(_0x56eaf3(0x24f)));}}[_0x176235(0x320)](_0x263b55){const _0x4ec6ec=_0x176235,_0x210734=this[_0x4ec6ec(0x242)],_0x5880ed=_0x263b55['find'](_0x8a9e45=>!(_0x210734['serverNoContextTakeover']===!0x1&&_0x8a9e45[_0x4ec6ec(0x326)]||_0x8a9e45[_0x4ec6ec(0x2fa)]&&(_0x210734[_0x4ec6ec(0x256)]===!0x1||typeof _0x210734['serverMaxWindowBits']=='number'&&_0x210734[_0x4ec6ec(0x256)]>_0x8a9e45['server_max_window_bits'])||typeof _0x210734[_0x4ec6ec(0x21f)]=='number'&&!_0x8a9e45['client_max_window_bits']));if(!_0x5880ed)throw new Error(_0x4ec6ec(0x28f));return _0x210734['serverNoContextTakeover']&&(_0x5880ed['server_no_context_takeover']=!0x0),_0x210734[_0x4ec6ec(0x2dd)]&&(_0x5880ed[_0x4ec6ec(0x266)]=!0x0),typeof _0x210734[_0x4ec6ec(0x256)]==_0x4ec6ec(0x314)&&(_0x5880ed['server_max_window_bits']=_0x210734[_0x4ec6ec(0x256)]),typeof _0x210734['clientMaxWindowBits']==_0x4ec6ec(0x314)?_0x5880ed[_0x4ec6ec(0x338)]=_0x210734[_0x4ec6ec(0x21f)]:(_0x5880ed[_0x4ec6ec(0x338)]===!0x0||_0x210734[_0x4ec6ec(0x21f)]===!0x1)&&delete _0x5880ed['client_max_window_bits'],_0x5880ed;}[_0x176235(0x301)](_0x35a63f){const _0x506c76=_0x176235,_0x248cc2=_0x35a63f[0x0];if(this['_options'][_0x506c76(0x2dd)]===!0x1&&_0x248cc2['client_no_context_takeover'])throw new Error(_0x506c76(0x2f3));if(!_0x248cc2['client_max_window_bits'])typeof this['_options'][_0x506c76(0x21f)]=='number'&&(_0x248cc2[_0x506c76(0x338)]=this['_options'][_0x506c76(0x21f)]);else{if(this['_options'][_0x506c76(0x21f)]===!0x1||typeof this[_0x506c76(0x242)][_0x506c76(0x21f)]==_0x506c76(0x314)&&_0x248cc2[_0x506c76(0x338)]>this['_options'][_0x506c76(0x21f)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x248cc2;}[_0x176235(0x20c)](_0x468eb4){const _0x6bf414=_0x176235;return _0x468eb4[_0x6bf414(0x195)](_0x531626=>{const _0x2535c0=_0x6bf414;Object[_0x2535c0(0x1fa)](_0x531626)['forEach'](_0x471c20=>{const _0x5b0169=_0x2535c0;let _0x33331b=_0x531626[_0x471c20];if(_0x33331b[_0x5b0169(0x2f4)]>0x1)throw new Error(_0x5b0169(0x220)+_0x471c20+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x33331b=_0x33331b[0x0],_0x471c20===_0x5b0169(0x338)){if(_0x33331b!==!0x0){const _0x537579=+_0x33331b;if(!Number[_0x5b0169(0x20a)](_0x537579)||_0x537579<0x8||_0x537579>0xf)throw new TypeError(_0x5b0169(0x1c1)+_0x471c20+_0x5b0169(0x25e)+_0x33331b);_0x33331b=_0x537579;}else{if(!this['_isServer'])throw new TypeError(_0x5b0169(0x1c1)+_0x471c20+_0x5b0169(0x25e)+_0x33331b);}}else{if(_0x471c20===_0x5b0169(0x2fa)){const _0x427e4d=+_0x33331b;if(!Number[_0x5b0169(0x20a)](_0x427e4d)||_0x427e4d<0x8||_0x427e4d>0xf)throw new TypeError(_0x5b0169(0x1c1)+_0x471c20+_0x5b0169(0x25e)+_0x33331b);_0x33331b=_0x427e4d;}else{if(_0x471c20===_0x5b0169(0x266)||_0x471c20==='server_no_context_takeover'){if(_0x33331b!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x471c20+'\x22:\x20'+_0x33331b);}else throw new Error(_0x5b0169(0x216)+_0x471c20+'\x22');}}_0x531626[_0x471c20]=_0x33331b;});}),_0x468eb4;}[_0x176235(0x1ca)](_0x44e967,_0xea1937,_0x5877e2){const _0xb2590d=_0x176235;_0x4e9360[_0xb2590d(0x285)](_0x45db9c=>{const _0x127992=_0xb2590d;this[_0x127992(0x2ba)](_0x44e967,_0xea1937,(_0x1d005f,_0x573c42)=>{_0x45db9c(),_0x5877e2(_0x1d005f,_0x573c42);});});}['compress'](_0x1a82b1,_0x483ba5,_0x4920cb){const _0x546d1c=_0x176235;_0x4e9360[_0x546d1c(0x285)](_0x41d46b=>{const _0x55206c=_0x546d1c;this[_0x55206c(0x2db)](_0x1a82b1,_0x483ba5,(_0x44046f,_0x54574c)=>{_0x41d46b(),_0x4920cb(_0x44046f,_0x54574c);});});}['_decompress'](_0x3eebcf,_0x49d378,_0x3f6934){const _0x1ba568=_0x176235,_0x5193dc=this[_0x1ba568(0x275)]?_0x1ba568(0x247):_0x1ba568(0x260);if(!this[_0x1ba568(0x2da)]){const _0x5be050=_0x5193dc+_0x1ba568(0x2f6),_0x5dd7b0=typeof this[_0x1ba568(0x295)][_0x5be050]!=_0x1ba568(0x314)?_0x546601[_0x1ba568(0x26f)]:this['params'][_0x5be050];this[_0x1ba568(0x2da)]=_0x546601[_0x1ba568(0x222)]({...this[_0x1ba568(0x242)][_0x1ba568(0x221)],'windowBits':_0x5dd7b0}),this[_0x1ba568(0x2da)][_0x2d0b4e]=this,this[_0x1ba568(0x2da)][_0x5c9cb4]=0x0,this['_inflate'][_0x37f26f]=[],this[_0x1ba568(0x2da)]['on']('error',_0xb09920),this[_0x1ba568(0x2da)]['on']('data',_0x5751c3);}this[_0x1ba568(0x2da)][_0x243c4b]=_0x3f6934,this['_inflate'][_0x1ba568(0x2b1)](_0x3eebcf),_0x49d378&&this[_0x1ba568(0x2da)][_0x1ba568(0x2b1)](_0x4b4b3e),this[_0x1ba568(0x2da)]['flush'](()=>{const _0x485dfa=_0x1ba568,_0x5b8c2=this['_inflate'][_0x553465];if(_0x5b8c2){this[_0x485dfa(0x2da)][_0x485dfa(0x33d)](),this[_0x485dfa(0x2da)]=null,_0x3f6934(_0x5b8c2);return;}const _0x24b089=_0x5ed51f[_0x485dfa(0x2b8)](this[_0x485dfa(0x2da)][_0x37f26f],this[_0x485dfa(0x2da)][_0x5c9cb4]);this[_0x485dfa(0x2da)][_0x485dfa(0x1d6)][_0x485dfa(0x269)]?(this['_inflate'][_0x485dfa(0x33d)](),this[_0x485dfa(0x2da)]=null):(this['_inflate'][_0x5c9cb4]=0x0,this['_inflate'][_0x37f26f]=[],_0x49d378&&this['params'][_0x5193dc+_0x485dfa(0x2bb)]&&this['_inflate'][_0x485dfa(0x28c)]()),_0x3f6934(null,_0x24b089);});}['_compress'](_0x149cd4,_0x47b924,_0x453f4e){const _0x14d90b=_0x176235,_0x202990=this[_0x14d90b(0x275)]?_0x14d90b(0x260):'client';if(!this[_0x14d90b(0x2fd)]){const _0x15ccfb=_0x202990+_0x14d90b(0x2f6),_0x41c38f=typeof this[_0x14d90b(0x295)][_0x15ccfb]!=_0x14d90b(0x314)?_0x546601[_0x14d90b(0x26f)]:this[_0x14d90b(0x295)][_0x15ccfb];this['_deflate']=_0x546601[_0x14d90b(0x28d)]({...this[_0x14d90b(0x242)][_0x14d90b(0x302)],'windowBits':_0x41c38f}),this[_0x14d90b(0x2fd)][_0x5c9cb4]=0x0,this[_0x14d90b(0x2fd)][_0x37f26f]=[],this[_0x14d90b(0x2fd)]['on'](_0x14d90b(0x1db),_0x5282a7);}this[_0x14d90b(0x2fd)][_0x243c4b]=_0x453f4e,this[_0x14d90b(0x2fd)][_0x14d90b(0x2b1)](_0x149cd4),this[_0x14d90b(0x2fd)]['flush'](_0x546601[_0x14d90b(0x304)],()=>{const _0x4e042a=_0x14d90b;if(!this[_0x4e042a(0x2fd)])return;let _0x4f02db=_0x5ed51f['concat'](this[_0x4e042a(0x2fd)][_0x37f26f],this['_deflate'][_0x5c9cb4]);_0x47b924&&(_0x4f02db=new _0x488802(_0x4f02db['buffer'],_0x4f02db[_0x4e042a(0x1b1)],_0x4f02db[_0x4e042a(0x2f4)]-0x4)),this[_0x4e042a(0x2fd)][_0x243c4b]=null,this[_0x4e042a(0x2fd)][_0x5c9cb4]=0x0,this['_deflate'][_0x37f26f]=[],_0x47b924&&this[_0x4e042a(0x295)][_0x202990+_0x4e042a(0x2bb)]&&this['_deflate'][_0x4e042a(0x28c)](),_0x453f4e(null,_0x4f02db);});}}ve=_0x3da2a6;function _0x5282a7(_0x5b43f2){const _0x45e153=_0x176235;this[_0x37f26f][_0x45e153(0x271)](_0x5b43f2),this[_0x5c9cb4]+=_0x5b43f2[_0x45e153(0x2f4)];}function _0x5751c3(_0x2a3cdc){const _0x30bba1=_0x176235;if(this[_0x5c9cb4]+=_0x2a3cdc[_0x30bba1(0x2f4)],this[_0x2d0b4e][_0x30bba1(0x194)]<0x1||this[_0x5c9cb4]<=this[_0x2d0b4e][_0x30bba1(0x194)]){this[_0x37f26f]['push'](_0x2a3cdc);return;}this[_0x553465]=new RangeError(_0x30bba1(0x1a1)),this[_0x553465][_0x30bba1(0x243)]=_0x30bba1(0x2a4),this[_0x553465][_0x43d6f3]=0x3f1,this[_0x30bba1(0x325)](_0x30bba1(0x1db),_0x5751c3),this[_0x30bba1(0x28c)]();}function _0xb09920(_0x257ed6){if(this[_0x2d0b4e]['_inflate']=null,this[_0x553465]){this[_0x243c4b](this[_0x553465]);return;}_0x257ed6[_0x43d6f3]=0x3ef,this[_0x243c4b](_0x257ed6);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0x196bfc(0x1a7)]({'__proto__':null,'default':Ht},Symbol[_0x196bfc(0x1e6)],{'value':_0x196bfc(0x2cb)})),Yt=ut(zt);var Qe;function ne(){const _0x588a58=_0x196bfc;if(Qe)return re[_0x588a58(0x1f3)];Qe=0x1;const {isUtf8:_0x1d4cbc}=_0x4a302e,{hasBlob:_0x4d5975}=V(),_0x4169e6=[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 _0x4c0a08(_0x4f9c7b){return _0x4f9c7b>=0x3e8&&_0x4f9c7b<=0x3f6&&_0x4f9c7b!==0x3ec&&_0x4f9c7b!==0x3ed&&_0x4f9c7b!==0x3ee||_0x4f9c7b>=0xbb8&&_0x4f9c7b<=0x1387;}function _0x3260e3(_0x2b8a4d){const _0xaaadbe=_0x2b8a4d['length'];let _0x223727=0x0;for(;_0x223727<_0xaaadbe;)if((_0x2b8a4d[_0x223727]&0x80)===0x0)_0x223727++;else{if((_0x2b8a4d[_0x223727]&0xe0)===0xc0){if(_0x223727+0x1===_0xaaadbe||(_0x2b8a4d[_0x223727+0x1]&0xc0)!==0x80||(_0x2b8a4d[_0x223727]&0xfe)===0xc0)return!0x1;_0x223727+=0x2;}else{if((_0x2b8a4d[_0x223727]&0xf0)===0xe0){if(_0x223727+0x2>=_0xaaadbe||(_0x2b8a4d[_0x223727+0x1]&0xc0)!==0x80||(_0x2b8a4d[_0x223727+0x2]&0xc0)!==0x80||_0x2b8a4d[_0x223727]===0xe0&&(_0x2b8a4d[_0x223727+0x1]&0xe0)===0x80||_0x2b8a4d[_0x223727]===0xed&&(_0x2b8a4d[_0x223727+0x1]&0xe0)===0xa0)return!0x1;_0x223727+=0x3;}else{if((_0x2b8a4d[_0x223727]&0xf8)===0xf0){if(_0x223727+0x3>=_0xaaadbe||(_0x2b8a4d[_0x223727+0x1]&0xc0)!==0x80||(_0x2b8a4d[_0x223727+0x2]&0xc0)!==0x80||(_0x2b8a4d[_0x223727+0x3]&0xc0)!==0x80||_0x2b8a4d[_0x223727]===0xf0&&(_0x2b8a4d[_0x223727+0x1]&0xf0)===0x80||_0x2b8a4d[_0x223727]===0xf4&&_0x2b8a4d[_0x223727+0x1]>0x8f||_0x2b8a4d[_0x223727]>0xf4)return!0x1;_0x223727+=0x4;}else return!0x1;}}}return!0x0;}function _0x253a2c(_0x9aa8e8){const _0x56abe6=_0x588a58;return _0x4d5975&&typeof _0x9aa8e8==_0x56abe6(0x205)&&typeof _0x9aa8e8['arrayBuffer']==_0x56abe6(0x22d)&&typeof _0x9aa8e8[_0x56abe6(0x31a)]==_0x56abe6(0x288)&&typeof _0x9aa8e8['stream']==_0x56abe6(0x22d)&&(_0x9aa8e8[Symbol[_0x56abe6(0x1e6)]]===_0x56abe6(0x333)||_0x9aa8e8[Symbol[_0x56abe6(0x1e6)]]===_0x56abe6(0x224));}if(re[_0x588a58(0x1f3)]={'isBlob':_0x253a2c,'isValidStatusCode':_0x4c0a08,'isValidUTF8':_0x3260e3,'tokenChars':_0x4169e6},_0x1d4cbc)re[_0x588a58(0x1f3)][_0x588a58(0x267)]=function(_0x4308cb){const _0x9ab84a=_0x588a58;return _0x4308cb[_0x9ab84a(0x2f4)]<0x18?_0x3260e3(_0x4308cb):_0x1d4cbc(_0x4308cb);};else{if(!process[_0x588a58(0x29f)][_0x588a58(0x21b)])try{const _0x3510df=Yt;re['exports'][_0x588a58(0x267)]=function(_0x4ebf74){const _0xddf2e7=_0x588a58;return _0x4ebf74[_0xddf2e7(0x2f4)]<0x20?_0x3260e3(_0x4ebf74):_0x3510df(_0x4ebf74);};}catch{}}return re[_0x588a58(0x1f3)];}var Se,Je;function dt(){const _0x3e79e8=_0x196bfc;if(Je)return Se;Je=0x1;const {Writable:_0x206f8d}=_0x43f44b,_0x18e0a4=he(),{BINARY_TYPES:_0x5c7116,EMPTY_BUFFER:_0x3725e4,kStatusCode:_0x16a01b,kWebSocket:_0x3c82bb}=V(),{concat:_0x131421,toArrayBuffer:_0x5d6f80,unmask:_0x416a21}=ce(),{isValidStatusCode:_0x1c4443,isValidUTF8:_0x52702b}=ne(),_0x456f7a=Buffer[Symbol[_0x3e79e8(0x1be)]],_0x40b7c5=0x0,_0x115430=0x1,_0x27d697=0x2,_0x5dbc39=0x3,_0x4c0886=0x4,_0x10d391=0x5,_0x12fab2=0x6;class _0x3942e9 extends _0x206f8d{constructor(_0x3b7d82={}){const _0x11d62f=_0x3e79e8;super(),this[_0x11d62f(0x2e0)]=_0x3b7d82[_0x11d62f(0x1d3)]!==void 0x0?_0x3b7d82[_0x11d62f(0x1d3)]:!0x0,this[_0x11d62f(0x1aa)]=_0x3b7d82['binaryType']||_0x5c7116[0x0],this[_0x11d62f(0x2f9)]=_0x3b7d82['extensions']||{},this[_0x11d62f(0x275)]=!!_0x3b7d82[_0x11d62f(0x28b)],this[_0x11d62f(0x194)]=_0x3b7d82['maxPayload']|0x0,this[_0x11d62f(0x19d)]=!!_0x3b7d82[_0x11d62f(0x2bd)],this[_0x3c82bb]=void 0x0,this[_0x11d62f(0x21c)]=0x0,this[_0x11d62f(0x291)]=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this[_0x11d62f(0x303)]=void 0x0,this[_0x11d62f(0x2be)]=0x0,this['_masked']=!0x1,this[_0x11d62f(0x2d2)]=!0x1,this[_0x11d62f(0x336)]=0x0,this[_0x11d62f(0x274)]=0x0,this[_0x11d62f(0x282)]=0x0,this[_0x11d62f(0x297)]=[],this[_0x11d62f(0x2f2)]=!0x1,this[_0x11d62f(0x284)]=!0x1,this['_state']=_0x40b7c5;}[_0x3e79e8(0x23d)](_0x17cadc,_0xcf0eba,_0xa0689e){const _0xc90e3a=_0x3e79e8;if(this['_opcode']===0x8&&this[_0xc90e3a(0x280)]==_0x40b7c5)return _0xa0689e();this[_0xc90e3a(0x21c)]+=_0x17cadc['length'],this[_0xc90e3a(0x291)][_0xc90e3a(0x271)](_0x17cadc),this['startLoop'](_0xa0689e);}[_0x3e79e8(0x26a)](_0x41868b){const _0x24b0e4=_0x3e79e8;if(this[_0x24b0e4(0x21c)]-=_0x41868b,_0x41868b===this['_buffers'][0x0][_0x24b0e4(0x2f4)])return this[_0x24b0e4(0x291)][_0x24b0e4(0x1c4)]();if(_0x41868b<this[_0x24b0e4(0x291)][0x0][_0x24b0e4(0x2f4)]){const _0x461ce8=this['_buffers'][0x0];return this[_0x24b0e4(0x291)][0x0]=new _0x456f7a(_0x461ce8[_0x24b0e4(0x1a4)],_0x461ce8[_0x24b0e4(0x1b1)]+_0x41868b,_0x461ce8[_0x24b0e4(0x2f4)]-_0x41868b),new _0x456f7a(_0x461ce8[_0x24b0e4(0x1a4)],_0x461ce8[_0x24b0e4(0x1b1)],_0x41868b);}const _0x2744de=Buffer[_0x24b0e4(0x2c4)](_0x41868b);do{const _0x36b5ec=this[_0x24b0e4(0x291)][0x0],_0x59ee34=_0x2744de[_0x24b0e4(0x2f4)]-_0x41868b;_0x41868b>=_0x36b5ec[_0x24b0e4(0x2f4)]?_0x2744de[_0x24b0e4(0x24a)](this[_0x24b0e4(0x291)]['shift'](),_0x59ee34):(_0x2744de[_0x24b0e4(0x24a)](new Uint8Array(_0x36b5ec['buffer'],_0x36b5ec['byteOffset'],_0x41868b),_0x59ee34),this[_0x24b0e4(0x291)][0x0]=new _0x456f7a(_0x36b5ec[_0x24b0e4(0x1a4)],_0x36b5ec['byteOffset']+_0x41868b,_0x36b5ec[_0x24b0e4(0x2f4)]-_0x41868b)),_0x41868b-=_0x36b5ec[_0x24b0e4(0x2f4)];}while(_0x41868b>0x0);return _0x2744de;}[_0x3e79e8(0x33f)](_0xcc53b){const _0x466bd9=_0x3e79e8;this[_0x466bd9(0x284)]=!0x0;do switch(this[_0x466bd9(0x280)]){case _0x40b7c5:this[_0x466bd9(0x1af)](_0xcc53b);break;case _0x115430:this[_0x466bd9(0x215)](_0xcc53b);break;case _0x27d697:this['getPayloadLength64'](_0xcc53b);break;case _0x5dbc39:this[_0x466bd9(0x237)]();break;case _0x4c0886:this[_0x466bd9(0x2b4)](_0xcc53b);break;case _0x10d391:case _0x12fab2:this[_0x466bd9(0x284)]=!0x1;return;}while(this[_0x466bd9(0x284)]);this['_errored']||_0xcc53b();}[_0x3e79e8(0x1af)](_0xf6f5b7){const _0x5ec572=_0x3e79e8;if(this[_0x5ec572(0x21c)]<0x2){this['_loop']=!0x1;return;}const _0x5ba1fa=this[_0x5ec572(0x26a)](0x2);if((_0x5ba1fa[0x0]&0x30)!==0x0){const _0x564166=this[_0x5ec572(0x32d)](RangeError,_0x5ec572(0x23b),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0xf6f5b7(_0x564166);return;}const _0x41e4b5=(_0x5ba1fa[0x0]&0x40)===0x40;if(_0x41e4b5&&!this[_0x5ec572(0x2f9)][_0x18e0a4[_0x5ec572(0x1eb)]]){const _0xb32a20=this[_0x5ec572(0x32d)](RangeError,_0x5ec572(0x1a2),!0x0,0x3ea,_0x5ec572(0x27c));_0xf6f5b7(_0xb32a20);return;}if(this[_0x5ec572(0x2d2)]=(_0x5ba1fa[0x0]&0x80)===0x80,this[_0x5ec572(0x336)]=_0x5ba1fa[0x0]&0xf,this['_payloadLength']=_0x5ba1fa[0x1]&0x7f,this['_opcode']===0x0){if(_0x41e4b5){const _0x33da01=this['createError'](RangeError,_0x5ec572(0x1a2),!0x0,0x3ea,_0x5ec572(0x27c));_0xf6f5b7(_0x33da01);return;}if(!this['_fragmented']){const _0x2e0579=this[_0x5ec572(0x32d)](RangeError,_0x5ec572(0x2a5),!0x0,0x3ea,_0x5ec572(0x218));_0xf6f5b7(_0x2e0579);return;}this['_opcode']=this[_0x5ec572(0x2be)];}else{if(this[_0x5ec572(0x336)]===0x1||this[_0x5ec572(0x336)]===0x2){if(this[_0x5ec572(0x2be)]){const _0x1805d4=this[_0x5ec572(0x32d)](RangeError,_0x5ec572(0x1f0)+this[_0x5ec572(0x336)],!0x0,0x3ea,_0x5ec572(0x218));_0xf6f5b7(_0x1805d4);return;}this['_compressed']=_0x41e4b5;}else{if(this[_0x5ec572(0x336)]>0x7&&this['_opcode']<0xb){if(!this[_0x5ec572(0x2d2)]){const _0x3c654b=this[_0x5ec572(0x32d)](RangeError,_0x5ec572(0x27a),!0x0,0x3ea,_0x5ec572(0x210));_0xf6f5b7(_0x3c654b);return;}if(_0x41e4b5){const _0x3f326e=this['createError'](RangeError,_0x5ec572(0x1a2),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xf6f5b7(_0x3f326e);return;}if(this[_0x5ec572(0x1a5)]>0x7d||this[_0x5ec572(0x336)]===0x8&&this[_0x5ec572(0x1a5)]===0x1){const _0x5b6aa1=this[_0x5ec572(0x32d)](RangeError,_0x5ec572(0x305)+this['_payloadLength'],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0xf6f5b7(_0x5b6aa1);return;}}else{const _0x20ebb6=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x5ec572(0x336)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0xf6f5b7(_0x20ebb6);return;}}}if(!this[_0x5ec572(0x2d2)]&&!this[_0x5ec572(0x2be)]&&(this[_0x5ec572(0x2be)]=this['_opcode']),this['_masked']=(_0x5ba1fa[0x1]&0x80)===0x80,this[_0x5ec572(0x275)]){if(!this[_0x5ec572(0x1a6)]){const _0x46466b=this['createError'](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x5ec572(0x1dd));_0xf6f5b7(_0x46466b);return;}}else{if(this[_0x5ec572(0x1a6)]){const _0x2b575d=this[_0x5ec572(0x32d)](RangeError,_0x5ec572(0x32b),!0x0,0x3ea,_0x5ec572(0x29a));_0xf6f5b7(_0x2b575d);return;}}this[_0x5ec572(0x1a5)]===0x7e?this[_0x5ec572(0x280)]=_0x115430:this[_0x5ec572(0x1a5)]===0x7f?this[_0x5ec572(0x280)]=_0x27d697:this[_0x5ec572(0x1f8)](_0xf6f5b7);}['getPayloadLength16'](_0x52bf37){const _0x8850ae=_0x3e79e8;if(this[_0x8850ae(0x21c)]<0x2){this['_loop']=!0x1;return;}this[_0x8850ae(0x1a5)]=this[_0x8850ae(0x26a)](0x2)['readUInt16BE'](0x0),this[_0x8850ae(0x1f8)](_0x52bf37);}['getPayloadLength64'](_0x34fe20){const _0x885a5c=_0x3e79e8;if(this[_0x885a5c(0x21c)]<0x8){this['_loop']=!0x1;return;}const _0x586322=this[_0x885a5c(0x26a)](0x8),_0x38726b=_0x586322[_0x885a5c(0x29c)](0x0);if(_0x38726b>Math[_0x885a5c(0x22e)](0x2,0x15)-0x1){const _0x177e6d=this['createError'](RangeError,_0x885a5c(0x2fb),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x34fe20(_0x177e6d);return;}this[_0x885a5c(0x1a5)]=_0x38726b*Math['pow'](0x2,0x20)+_0x586322['readUInt32BE'](0x4),this[_0x885a5c(0x1f8)](_0x34fe20);}[_0x3e79e8(0x1f8)](_0xedda89){const _0x361082=_0x3e79e8;if(this[_0x361082(0x1a5)]&&this[_0x361082(0x336)]<0x8&&(this[_0x361082(0x274)]+=this[_0x361082(0x1a5)],this[_0x361082(0x274)]>this[_0x361082(0x194)]&&this[_0x361082(0x194)]>0x0)){const _0x9def64=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x361082(0x2a4));_0xedda89(_0x9def64);return;}this[_0x361082(0x1a6)]?this[_0x361082(0x280)]=_0x5dbc39:this[_0x361082(0x280)]=_0x4c0886;}['getMask'](){const _0xd1c273=_0x3e79e8;if(this['_bufferedBytes']<0x4){this[_0xd1c273(0x284)]=!0x1;return;}this['_mask']=this['consume'](0x4),this['_state']=_0x4c0886;}[_0x3e79e8(0x2b4)](_0x2833bb){const _0x5a456f=_0x3e79e8;let _0x314d1a=_0x3725e4;if(this[_0x5a456f(0x1a5)]){if(this[_0x5a456f(0x21c)]<this[_0x5a456f(0x1a5)]){this[_0x5a456f(0x284)]=!0x1;return;}_0x314d1a=this[_0x5a456f(0x26a)](this[_0x5a456f(0x1a5)]),this['_masked']&&(this['_mask'][0x0]|this[_0x5a456f(0x303)][0x1]|this['_mask'][0x2]|this[_0x5a456f(0x303)][0x3])!==0x0&&_0x416a21(_0x314d1a,this[_0x5a456f(0x303)]);}if(this[_0x5a456f(0x336)]>0x7){this[_0x5a456f(0x1b5)](_0x314d1a,_0x2833bb);return;}if(this[_0x5a456f(0x1d2)]){this[_0x5a456f(0x280)]=_0x10d391,this['decompress'](_0x314d1a,_0x2833bb);return;}_0x314d1a[_0x5a456f(0x2f4)]&&(this[_0x5a456f(0x282)]=this[_0x5a456f(0x274)],this['_fragments'][_0x5a456f(0x271)](_0x314d1a)),this[_0x5a456f(0x2d3)](_0x2833bb);}[_0x3e79e8(0x1ca)](_0x59058e,_0x22cef9){const _0x4a5c4c=_0x3e79e8;this[_0x4a5c4c(0x2f9)][_0x18e0a4['extensionName']][_0x4a5c4c(0x1ca)](_0x59058e,this[_0x4a5c4c(0x2d2)],(_0x4cdf0d,_0x14766e)=>{const _0xcf0b9e=_0x4a5c4c;if(_0x4cdf0d)return _0x22cef9(_0x4cdf0d);if(_0x14766e[_0xcf0b9e(0x2f4)]){if(this[_0xcf0b9e(0x282)]+=_0x14766e[_0xcf0b9e(0x2f4)],this[_0xcf0b9e(0x282)]>this[_0xcf0b9e(0x194)]&&this[_0xcf0b9e(0x194)]>0x0){const _0x41d5ab=this[_0xcf0b9e(0x32d)](RangeError,_0xcf0b9e(0x1a1),!0x1,0x3f1,_0xcf0b9e(0x2a4));_0x22cef9(_0x41d5ab);return;}this[_0xcf0b9e(0x297)][_0xcf0b9e(0x271)](_0x14766e);}this[_0xcf0b9e(0x2d3)](_0x22cef9),this['_state']===_0x40b7c5&&this['startLoop'](_0x22cef9);});}[_0x3e79e8(0x2d3)](_0x4ee41a){const _0x5ca2f9=_0x3e79e8;if(!this[_0x5ca2f9(0x2d2)]){this[_0x5ca2f9(0x280)]=_0x40b7c5;return;}const _0x1e849f=this[_0x5ca2f9(0x282)],_0x546f5d=this[_0x5ca2f9(0x297)];if(this[_0x5ca2f9(0x274)]=0x0,this[_0x5ca2f9(0x282)]=0x0,this[_0x5ca2f9(0x2be)]=0x0,this[_0x5ca2f9(0x297)]=[],this['_opcode']===0x2){let _0x1524b3;this[_0x5ca2f9(0x1aa)]===_0x5ca2f9(0x323)?_0x1524b3=_0x131421(_0x546f5d,_0x1e849f):this[_0x5ca2f9(0x1aa)]===_0x5ca2f9(0x228)?_0x1524b3=_0x5d6f80(_0x131421(_0x546f5d,_0x1e849f)):this[_0x5ca2f9(0x1aa)]===_0x5ca2f9(0x2e3)?_0x1524b3=new Blob(_0x546f5d):_0x1524b3=_0x546f5d,this['_allowSynchronousEvents']?(this[_0x5ca2f9(0x1e1)](_0x5ca2f9(0x1e0),_0x1524b3,!0x0),this[_0x5ca2f9(0x280)]=_0x40b7c5):(this[_0x5ca2f9(0x280)]=_0x12fab2,setImmediate(()=>{const _0x303bb4=_0x5ca2f9;this[_0x303bb4(0x1e1)](_0x303bb4(0x1e0),_0x1524b3,!0x0),this[_0x303bb4(0x280)]=_0x40b7c5,this[_0x303bb4(0x33f)](_0x4ee41a);}));}else{const _0x287a47=_0x131421(_0x546f5d,_0x1e849f);if(!this[_0x5ca2f9(0x19d)]&&!_0x52702b(_0x287a47)){const _0x41d8ed=this[_0x5ca2f9(0x32d)](Error,_0x5ca2f9(0x1fe),!0x0,0x3ef,_0x5ca2f9(0x2ee));_0x4ee41a(_0x41d8ed);return;}this[_0x5ca2f9(0x280)]===_0x10d391||this[_0x5ca2f9(0x2e0)]?(this[_0x5ca2f9(0x1e1)](_0x5ca2f9(0x1e0),_0x287a47,!0x1),this['_state']=_0x40b7c5):(this[_0x5ca2f9(0x280)]=_0x12fab2,setImmediate(()=>{const _0x5810c7=_0x5ca2f9;this['emit']('message',_0x287a47,!0x1),this[_0x5810c7(0x280)]=_0x40b7c5,this[_0x5810c7(0x33f)](_0x4ee41a);}));}}['controlMessage'](_0x5b8c64,_0x5ad6ab){const _0x144c35=_0x3e79e8;if(this[_0x144c35(0x336)]===0x8){if(_0x5b8c64['length']===0x0)this[_0x144c35(0x284)]=!0x1,this['emit'](_0x144c35(0x29e),0x3ed,_0x3725e4),this['end']();else{const _0x2ee038=_0x5b8c64[_0x144c35(0x258)](0x0);if(!_0x1c4443(_0x2ee038)){const _0x4eded3=this[_0x144c35(0x32d)](RangeError,'invalid\x20status\x20code\x20'+_0x2ee038,!0x0,0x3ea,_0x144c35(0x2a6));_0x5ad6ab(_0x4eded3);return;}const _0x3aea34=new _0x456f7a(_0x5b8c64[_0x144c35(0x1a4)],_0x5b8c64[_0x144c35(0x1b1)]+0x2,_0x5b8c64[_0x144c35(0x2f4)]-0x2);if(!this[_0x144c35(0x19d)]&&!_0x52702b(_0x3aea34)){const _0x55872a=this[_0x144c35(0x32d)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x144c35(0x2ee));_0x5ad6ab(_0x55872a);return;}this[_0x144c35(0x284)]=!0x1,this[_0x144c35(0x1e1)](_0x144c35(0x29e),_0x2ee038,_0x3aea34),this[_0x144c35(0x329)]();}this[_0x144c35(0x280)]=_0x40b7c5;return;}this['_allowSynchronousEvents']?(this[_0x144c35(0x1e1)](this[_0x144c35(0x336)]===0x9?_0x144c35(0x1cd):_0x144c35(0x27e),_0x5b8c64),this[_0x144c35(0x280)]=_0x40b7c5):(this[_0x144c35(0x280)]=_0x12fab2,setImmediate(()=>{const _0x583a08=_0x144c35;this['emit'](this[_0x583a08(0x336)]===0x9?_0x583a08(0x1cd):'pong',_0x5b8c64),this[_0x583a08(0x280)]=_0x40b7c5,this[_0x583a08(0x33f)](_0x5ad6ab);}));}['createError'](_0x55f8f0,_0x306810,_0x57bacd,_0xb4b3d4,_0x1beb3d){const _0x6c836e=_0x3e79e8;this[_0x6c836e(0x284)]=!0x1,this[_0x6c836e(0x2f2)]=!0x0;const _0x48c327=new _0x55f8f0(_0x57bacd?_0x6c836e(0x1d8)+_0x306810:_0x306810);return Error[_0x6c836e(0x2b7)](_0x48c327,this[_0x6c836e(0x32d)]),_0x48c327[_0x6c836e(0x243)]=_0x1beb3d,_0x48c327[_0x16a01b]=_0xb4b3d4,_0x48c327;}}return Se=_0x3942e9,Se;}var Ee,et;function _t(){const _0xcf13ad=_0x196bfc;if(et)return Ee;et=0x1;const {Duplex:_0x1ef51b}=_0x43f44b,{randomFillSync:_0x2b40e4}=_0xb1da6e,_0x441757=he(),{EMPTY_BUFFER:_0x28732a,kWebSocket:_0x26110e,NOOP:_0x5090b3}=V(),{isBlob:_0x55fb94,isValidStatusCode:_0x3738c6}=ne(),{mask:_0x23cb01,toBuffer:_0x50c6c5}=ce(),_0x22dd6a=Symbol('kByteLength'),_0x125722=Buffer[_0xcf13ad(0x203)](0x4),_0x196be9=0x8*0x400;let _0x2aa1b4,_0x2c4f19=_0x196be9;const _0x3cb8e8=0x0,_0x4a215d=0x1,_0x2ec2f4=0x2;class _0x4e5f20{constructor(_0x48d508,_0x537a5c,_0x269f7f){const _0x534606=_0xcf13ad;this[_0x534606(0x2f9)]=_0x537a5c||{},_0x269f7f&&(this['_generateMask']=_0x269f7f,this[_0x534606(0x2e1)]=Buffer[_0x534606(0x203)](0x4)),this[_0x534606(0x1fc)]=_0x48d508,this[_0x534606(0x1b4)]=!0x0,this[_0x534606(0x2db)]=!0x1,this[_0x534606(0x21c)]=0x0,this['_queue']=[],this['_state']=_0x3cb8e8,this[_0x534606(0x2b6)]=_0x5090b3,this[_0x26110e]=void 0x0;}static['frame'](_0x2c611b,_0x522e67){const _0x388ed2=_0xcf13ad;let _0x39139e,_0xbe3039=!0x1,_0x275492=0x2,_0xeb6daf=!0x1;_0x522e67[_0x388ed2(0x324)]&&(_0x39139e=_0x522e67[_0x388ed2(0x1b0)]||_0x125722,_0x522e67[_0x388ed2(0x32a)]?_0x522e67[_0x388ed2(0x32a)](_0x39139e):(_0x2c4f19===_0x196be9&&(_0x2aa1b4===void 0x0&&(_0x2aa1b4=Buffer['alloc'](_0x196be9)),_0x2b40e4(_0x2aa1b4,0x0,_0x196be9),_0x2c4f19=0x0),_0x39139e[0x0]=_0x2aa1b4[_0x2c4f19++],_0x39139e[0x1]=_0x2aa1b4[_0x2c4f19++],_0x39139e[0x2]=_0x2aa1b4[_0x2c4f19++],_0x39139e[0x3]=_0x2aa1b4[_0x2c4f19++]),_0xeb6daf=(_0x39139e[0x0]|_0x39139e[0x1]|_0x39139e[0x2]|_0x39139e[0x3])===0x0,_0x275492=0x6);let _0x3c6ff5;typeof _0x2c611b==_0x388ed2(0x288)?(!_0x522e67[_0x388ed2(0x324)]||_0xeb6daf)&&_0x522e67[_0x22dd6a]!==void 0x0?_0x3c6ff5=_0x522e67[_0x22dd6a]:(_0x2c611b=Buffer[_0x388ed2(0x298)](_0x2c611b),_0x3c6ff5=_0x2c611b[_0x388ed2(0x2f4)]):(_0x3c6ff5=_0x2c611b[_0x388ed2(0x2f4)],_0xbe3039=_0x522e67[_0x388ed2(0x324)]&&_0x522e67[_0x388ed2(0x2c3)]&&!_0xeb6daf);let _0x46e996=_0x3c6ff5;_0x3c6ff5>=0x10000?(_0x275492+=0x8,_0x46e996=0x7f):_0x3c6ff5>0x7d&&(_0x275492+=0x2,_0x46e996=0x7e);const _0x51765f=Buffer['allocUnsafe'](_0xbe3039?_0x3c6ff5+_0x275492:_0x275492);return _0x51765f[0x0]=_0x522e67['fin']?_0x522e67['opcode']|0x80:_0x522e67[_0x388ed2(0x20b)],_0x522e67[_0x388ed2(0x294)]&&(_0x51765f[0x0]|=0x40),_0x51765f[0x1]=_0x46e996,_0x46e996===0x7e?_0x51765f[_0x388ed2(0x2c6)](_0x3c6ff5,0x2):_0x46e996===0x7f&&(_0x51765f[0x2]=_0x51765f[0x3]=0x0,_0x51765f[_0x388ed2(0x310)](_0x3c6ff5,0x4,0x6)),_0x522e67['mask']?(_0x51765f[0x1]|=0x80,_0x51765f[_0x275492-0x4]=_0x39139e[0x0],_0x51765f[_0x275492-0x3]=_0x39139e[0x1],_0x51765f[_0x275492-0x2]=_0x39139e[0x2],_0x51765f[_0x275492-0x1]=_0x39139e[0x3],_0xeb6daf?[_0x51765f,_0x2c611b]:_0xbe3039?(_0x23cb01(_0x2c611b,_0x39139e,_0x51765f,_0x275492,_0x3c6ff5),[_0x51765f]):(_0x23cb01(_0x2c611b,_0x39139e,_0x2c611b,0x0,_0x3c6ff5),[_0x51765f,_0x2c611b])):[_0x51765f,_0x2c611b];}['close'](_0x267025,_0x2b3b4c,_0x2b02a2,_0x16d6e2){const _0x2c4e1d=_0xcf13ad;let _0x1b2367;if(_0x267025===void 0x0)_0x1b2367=_0x28732a;else{if(typeof _0x267025!='number'||!_0x3738c6(_0x267025))throw new TypeError(_0x2c4e1d(0x254));if(_0x2b3b4c===void 0x0||!_0x2b3b4c[_0x2c4e1d(0x2f4)])_0x1b2367=Buffer[_0x2c4e1d(0x2c4)](0x2),_0x1b2367[_0x2c4e1d(0x2c6)](_0x267025,0x0);else{const _0x5a63ee=Buffer[_0x2c4e1d(0x2e8)](_0x2b3b4c);if(_0x5a63ee>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x1b2367=Buffer[_0x2c4e1d(0x2c4)](0x2+_0x5a63ee),_0x1b2367[_0x2c4e1d(0x2c6)](_0x267025,0x0),typeof _0x2b3b4c=='string'?_0x1b2367[_0x2c4e1d(0x2b1)](_0x2b3b4c,0x2):_0x1b2367['set'](_0x2b3b4c,0x2);}}const _0x1a9f97={[_0x22dd6a]:_0x1b2367[_0x2c4e1d(0x2f4)],'fin':!0x0,'generateMask':this[_0x2c4e1d(0x27b)],'mask':_0x2b02a2,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2c4e1d(0x280)]!==_0x3cb8e8?this[_0x2c4e1d(0x197)]([this[_0x2c4e1d(0x208)],_0x1b2367,!0x1,_0x1a9f97,_0x16d6e2]):this[_0x2c4e1d(0x2e4)](_0x4e5f20[_0x2c4e1d(0x30a)](_0x1b2367,_0x1a9f97),_0x16d6e2);}[_0xcf13ad(0x1cd)](_0x476b70,_0x2c7348,_0x1148d8){const _0x4d02b8=_0xcf13ad;let _0x4c9d4f,_0x189dac;if(typeof _0x476b70==_0x4d02b8(0x288)?(_0x4c9d4f=Buffer[_0x4d02b8(0x2e8)](_0x476b70),_0x189dac=!0x1):_0x55fb94(_0x476b70)?(_0x4c9d4f=_0x476b70['size'],_0x189dac=!0x1):(_0x476b70=_0x50c6c5(_0x476b70),_0x4c9d4f=_0x476b70[_0x4d02b8(0x2f4)],_0x189dac=_0x50c6c5['readOnly']),_0x4c9d4f>0x7d)throw new RangeError(_0x4d02b8(0x239));const _0x5cdcf7={[_0x22dd6a]:_0x4c9d4f,'fin':!0x0,'generateMask':this[_0x4d02b8(0x27b)],'mask':_0x2c7348,'maskBuffer':this[_0x4d02b8(0x2e1)],'opcode':0x9,'readOnly':_0x189dac,'rsv1':!0x1};_0x55fb94(_0x476b70)?this[_0x4d02b8(0x280)]!==_0x3cb8e8?this[_0x4d02b8(0x197)]([this[_0x4d02b8(0x231)],_0x476b70,!0x1,_0x5cdcf7,_0x1148d8]):this[_0x4d02b8(0x231)](_0x476b70,!0x1,_0x5cdcf7,_0x1148d8):this[_0x4d02b8(0x280)]!==_0x3cb8e8?this[_0x4d02b8(0x197)]([this['dispatch'],_0x476b70,!0x1,_0x5cdcf7,_0x1148d8]):this[_0x4d02b8(0x2e4)](_0x4e5f20[_0x4d02b8(0x30a)](_0x476b70,_0x5cdcf7),_0x1148d8);}[_0xcf13ad(0x27e)](_0x2447bb,_0x1a7d50,_0x448cca){const _0x3132bb=_0xcf13ad;let _0x3c4551,_0x504855;if(typeof _0x2447bb=='string'?(_0x3c4551=Buffer[_0x3132bb(0x2e8)](_0x2447bb),_0x504855=!0x1):_0x55fb94(_0x2447bb)?(_0x3c4551=_0x2447bb[_0x3132bb(0x33b)],_0x504855=!0x1):(_0x2447bb=_0x50c6c5(_0x2447bb),_0x3c4551=_0x2447bb['length'],_0x504855=_0x50c6c5['readOnly']),_0x3c4551>0x7d)throw new RangeError(_0x3132bb(0x239));const _0x2cf695={[_0x22dd6a]:_0x3c4551,'fin':!0x0,'generateMask':this[_0x3132bb(0x27b)],'mask':_0x1a7d50,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x504855,'rsv1':!0x1};_0x55fb94(_0x2447bb)?this['_state']!==_0x3cb8e8?this[_0x3132bb(0x197)]([this[_0x3132bb(0x231)],_0x2447bb,!0x1,_0x2cf695,_0x448cca]):this[_0x3132bb(0x231)](_0x2447bb,!0x1,_0x2cf695,_0x448cca):this[_0x3132bb(0x280)]!==_0x3cb8e8?this['enqueue']([this[_0x3132bb(0x208)],_0x2447bb,!0x1,_0x2cf695,_0x448cca]):this[_0x3132bb(0x2e4)](_0x4e5f20['frame'](_0x2447bb,_0x2cf695),_0x448cca);}[_0xcf13ad(0x1ff)](_0x539576,_0x5a6b25,_0x5815f3){const _0x9f8ff8=_0xcf13ad,_0x452ed7=this[_0x9f8ff8(0x2f9)][_0x441757[_0x9f8ff8(0x1eb)]];let _0x14be36=_0x5a6b25['binary']?0x2:0x1,_0x324498=_0x5a6b25[_0x9f8ff8(0x248)],_0x6ba957,_0x52de85;typeof _0x539576=='string'?(_0x6ba957=Buffer[_0x9f8ff8(0x2e8)](_0x539576),_0x52de85=!0x1):_0x55fb94(_0x539576)?(_0x6ba957=_0x539576[_0x9f8ff8(0x33b)],_0x52de85=!0x1):(_0x539576=_0x50c6c5(_0x539576),_0x6ba957=_0x539576[_0x9f8ff8(0x2f4)],_0x52de85=_0x50c6c5[_0x9f8ff8(0x2c3)]),this[_0x9f8ff8(0x1b4)]?(this[_0x9f8ff8(0x1b4)]=!0x1,_0x324498&&_0x452ed7&&_0x452ed7[_0x9f8ff8(0x295)][_0x452ed7[_0x9f8ff8(0x275)]?_0x9f8ff8(0x326):_0x9f8ff8(0x266)]&&(_0x324498=_0x6ba957>=_0x452ed7['_threshold']),this['_compress']=_0x324498):(_0x324498=!0x1,_0x14be36=0x0),_0x5a6b25[_0x9f8ff8(0x2b3)]&&(this[_0x9f8ff8(0x1b4)]=!0x0);const _0x1559cb={[_0x22dd6a]:_0x6ba957,'fin':_0x5a6b25[_0x9f8ff8(0x2b3)],'generateMask':this[_0x9f8ff8(0x27b)],'mask':_0x5a6b25[_0x9f8ff8(0x324)],'maskBuffer':this[_0x9f8ff8(0x2e1)],'opcode':_0x14be36,'readOnly':_0x52de85,'rsv1':_0x324498};_0x55fb94(_0x539576)?this[_0x9f8ff8(0x280)]!==_0x3cb8e8?this[_0x9f8ff8(0x197)]([this['getBlobData'],_0x539576,this[_0x9f8ff8(0x2db)],_0x1559cb,_0x5815f3]):this[_0x9f8ff8(0x231)](_0x539576,this[_0x9f8ff8(0x2db)],_0x1559cb,_0x5815f3):this[_0x9f8ff8(0x280)]!==_0x3cb8e8?this['enqueue']([this['dispatch'],_0x539576,this[_0x9f8ff8(0x2db)],_0x1559cb,_0x5815f3]):this[_0x9f8ff8(0x208)](_0x539576,this['_compress'],_0x1559cb,_0x5815f3);}[_0xcf13ad(0x231)](_0x191b7a,_0x32a07f,_0xbca6f7,_0x1adc1c){const _0x471645=_0xcf13ad;this[_0x471645(0x21c)]+=_0xbca6f7[_0x22dd6a],this['_state']=_0x2ec2f4,_0x191b7a['arrayBuffer']()['then'](_0x54bc75=>{const _0x519acf=_0x471645;if(this[_0x519acf(0x1fc)][_0x519acf(0x265)]){const _0x58ac57=new Error(_0x519acf(0x1b9));process[_0x519acf(0x1d1)](_0x239072,this,_0x58ac57,_0x1adc1c);return;}this[_0x519acf(0x21c)]-=_0xbca6f7[_0x22dd6a];const _0x3c9ec6=_0x50c6c5(_0x54bc75);_0x32a07f?this[_0x519acf(0x208)](_0x3c9ec6,_0x32a07f,_0xbca6f7,_0x1adc1c):(this[_0x519acf(0x280)]=_0x3cb8e8,this[_0x519acf(0x2e4)](_0x4e5f20['frame'](_0x3c9ec6,_0xbca6f7),_0x1adc1c),this['dequeue']());})[_0x471645(0x293)](_0x15fe44=>{const _0x19743a=_0x471645;process[_0x19743a(0x1d1)](_0x23b93b,this,_0x15fe44,_0x1adc1c);});}[_0xcf13ad(0x208)](_0xd2ed99,_0x139ea7,_0x16b876,_0x29c643){const _0x148ae0=_0xcf13ad;if(!_0x139ea7){this[_0x148ae0(0x2e4)](_0x4e5f20[_0x148ae0(0x30a)](_0xd2ed99,_0x16b876),_0x29c643);return;}const _0x5be5a3=this[_0x148ae0(0x2f9)][_0x441757['extensionName']];this[_0x148ae0(0x21c)]+=_0x16b876[_0x22dd6a],this[_0x148ae0(0x280)]=_0x4a215d,_0x5be5a3[_0x148ae0(0x248)](_0xd2ed99,_0x16b876['fin'],(_0xb929f5,_0x458e33)=>{const _0x21afba=_0x148ae0;if(this[_0x21afba(0x1fc)][_0x21afba(0x265)]){const _0x2fc1b9=new Error(_0x21afba(0x2cd));_0x239072(this,_0x2fc1b9,_0x29c643);return;}this['_bufferedBytes']-=_0x16b876[_0x22dd6a],this[_0x21afba(0x280)]=_0x3cb8e8,_0x16b876[_0x21afba(0x2c3)]=!0x1,this['sendFrame'](_0x4e5f20['frame'](_0x458e33,_0x16b876),_0x29c643),this[_0x21afba(0x28a)]();});}[_0xcf13ad(0x28a)](){const _0x49412e=_0xcf13ad;for(;this[_0x49412e(0x280)]===_0x3cb8e8&&this['_queue'][_0x49412e(0x2f4)];){const _0x2fcf9f=this[_0x49412e(0x240)][_0x49412e(0x1c4)]();this[_0x49412e(0x21c)]-=_0x2fcf9f[0x3][_0x22dd6a],Reflect[_0x49412e(0x276)](_0x2fcf9f[0x0],this,_0x2fcf9f[_0x49412e(0x2ac)](0x1));}}[_0xcf13ad(0x197)](_0x5a7926){const _0x16d694=_0xcf13ad;this[_0x16d694(0x21c)]+=_0x5a7926[0x3][_0x22dd6a],this[_0x16d694(0x240)][_0x16d694(0x271)](_0x5a7926);}[_0xcf13ad(0x2e4)](_0x329f17,_0x5858f8){const _0xc5f7=_0xcf13ad;_0x329f17[_0xc5f7(0x2f4)]===0x2?(this['_socket'][_0xc5f7(0x1ec)](),this[_0xc5f7(0x1fc)][_0xc5f7(0x2b1)](_0x329f17[0x0]),this['_socket'][_0xc5f7(0x2b1)](_0x329f17[0x1],_0x5858f8),this[_0xc5f7(0x1fc)][_0xc5f7(0x317)]()):this['_socket'][_0xc5f7(0x2b1)](_0x329f17[0x0],_0x5858f8);}}Ee=_0x4e5f20;function _0x239072(_0x2267f3,_0x20e6ac,_0x489855){const _0x37476f=_0xcf13ad;typeof _0x489855=='function'&&_0x489855(_0x20e6ac);for(let _0x522306=0x0;_0x522306<_0x2267f3[_0x37476f(0x240)][_0x37476f(0x2f4)];_0x522306++){const _0x57e4d5=_0x2267f3[_0x37476f(0x240)][_0x522306],_0x3a40cb=_0x57e4d5[_0x57e4d5[_0x37476f(0x2f4)]-0x1];typeof _0x3a40cb==_0x37476f(0x22d)&&_0x3a40cb(_0x20e6ac);}}function _0x23b93b(_0x36ba99,_0x1279ab,_0x4552c3){const _0x365133=_0xcf13ad;_0x239072(_0x36ba99,_0x1279ab,_0x4552c3),_0x36ba99[_0x365133(0x2b6)](_0x1279ab);}return Ee;}var xe,tt;function _0x1b95(){const _0x23ab96=['pipe','getMask','clients','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','__esModule','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','Unexpected\x20end\x20of\x20input','_write','verifyClient','setSocket','_queue','Origin','_options','code','_threshold','unexpected-response','includes','client','compress','_protocol','set','has','_closeTimer','clientTracking','writeHead','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Unexpected\x20server\x20response:\x20','pathname','href','_redirects','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','setTimeout','serverMaxWindowBits','pending','readUInt16BE','readyState','sec-websocket-key','headers','1fQYhbz','listenerCount','\x22:\x20','createSocket','server','destroy','path','http:','_writableState','destroyed','client_no_context_takeover','isValidUTF8','_final','endEmitted','consume','setConfig','join','indexOf','search','Z_DEFAULT_WINDOWBITS','sec-websocket-origin','push','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_totalPayloadLength','_isServer','apply','kType','kMessage','readable','FIN\x20must\x20be\x20set','_generateMask','WS_ERR_UNEXPECTED_RSV_1','listen','pong','Invalid\x20Sec-WebSocket-Protocol\x20header','_state','createConnection','_messageLength','handleProtocols','_loop','add','8780NJkvgi','protocol','string','total-length','dequeue','isServer','reset','createDeflateRaw','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','maxPayload','_buffers','kCode','catch','rsv1','params','callback','_fragments','from','socketPath','WS_ERR_UNEXPECTED_MASK','ws+unix:','readUInt32BE','statusCode','conclude','env','parse','extensions','port','Cookie','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','invalid\x20opcode\x200','WS_ERR_INVALID_CLOSE_CODE','wsClientError','Invalid\x20Sec-WebSocket-Accept\x20header','auth','CLOSED','binaryType','slice','next','kData','concurrency','kWasClean','write','errorEmitted','fin','getData','sec-websocket-version','onerror','captureStackTrace','concat','cleanup','_decompress','_no_context_takeover','setHeader','skipUTF8Validation','_fragmented','Sec-WebSocket-Protocol','fragments','values','sha1','readOnly','allocUnsafe','emitClose','writeUInt16BE','value','6MjqsWP','warn','websocket','Module','onclose','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','addEventListener','serverNoContextTakeover','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','reason','_fin','dataMessage','target','_bufferedAmount','pluginName','base64','bufferedAmount','Sec-WebSocket-Origin','_inflate','_compress','finishRequest','clientNoContextTakeover','accept','ws:','_allowSynchronousEvents','_maskBuffer','bind','blob','sendFrame','The\x20\x22','WebSocket\x20is\x20not\x20open:\x20readyState\x20','removeEventListener','byteLength','request','CONNECTING','timeout','address','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','WS_ERR_INVALID_UTF8','jobs','protocolVersion','isPaused','_errored','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','length','listeners','_max_window_bits','backlog','digest','_extensions','server_max_window_bits','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','host','_deflate','_server','status-code','_receiver','acceptAsClient','zlibDeflateOptions','_mask','Z_SYNC_FLUSH','invalid\x20payload\x20length\x20','collaboration-client-node.config','_read','onopen','createServer','frame','kIsForOnEventAttribute','hasOwnProperty','toString','_closeFrameSent','3861445KKaEjt','writeUIntBE','\x22\x20subprotocol\x20is\x20duplicated','CLOSING','kDone','number','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','kRun','uncork','method','concurrencyLimit','type','57kOVxMY','_registerDependencies','format','_closeFrameReceived','charCodeAt','acceptAsServer','upgrade','isBuffer','nodebuffer','mask','removeListener','server_no_context_takeover','toLowerCase','freeze','end','generateMask','MASK\x20must\x20be\x20clear','call','createError','maxRedirects','connect','construct','Invalid\x20URL:\x20','encrypted','Blob','origin','perMessageDeflate','_opcode','HTTP/1.1\x20','client_max_window_bits','_paused','kTarget','size','wasClean','close','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','startLoop','abort','text/plain','followRedirects','_shouldEmitClose','autoPong','166404epIDaA','threshold','entries','_maxPayload','forEach','drain','enqueue','terminate','test','writable','\x0d\x0a\x0d\x0a','Invalid\x20Upgrade\x20header','_skipUTF8Validation','create','read','isIP','Max\x20payload\x20size\x20exceeded','RSV1\x20must\x20be\x20clear','_originalHostOrSocketPath','buffer','_payloadLength','_masked','defineProperty','kAborted','open','_binaryType','_autoPong','_closeCode','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','url','getInfo','maskBuffer','byteOffset','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','getConfig','_firstFragment','controlMessage','cookie','buffers','_injector','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','11638QphnaA','pause','_removeListeners','Unsupported\x20protocol\x20version:\x20','species','handleEvent','username','Invalid\x20value\x20for\x20parameter\x20\x22','_closeMessage','The\x20URL\x27s\x20pathname\x20is\x20empty','shift','once','2028448VLqeIk','kReason','finished','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','decompress','default','resume','ping','hostname','Sec-WebSocket-Extensions:\x20','4782185PlgNKu','nextTick','_compressed','allowSynchronousEvents','Upgrade','update','_readableState','authorized','Invalid\x20WebSocket\x20frame:\x20','_readyState','defaultPort','data','split','WS_ERR_EXPECTED_MASK','14896557zCrgvF','handshakeTimeout','message','emit','customHeaders','text/html','authorization','handleUpgrade','toStringTag','socket','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_sender','isArray','extensionName','cork','getOwnPropertyDescriptor','Invalid\x20HTTP\x20method','offer','invalid\x20opcode\x20','456818JmdNdf','unshift','exports','redirect','Unexpected\x20character\x20at\x20index\x20','_originalIpc','shouldHandle','haveLength','_req','keys','delete','_socket','error','invalid\x20UTF-8\x20sequence','send','map','password','options','alloc','location','object','Invalid\x20Sec-WebSocket-Extensions\x20header','listening','dispatch','STATUS_CODES','isInteger','opcode','normalizeParams','response','startsWith','servername','WS_ERR_EXPECTED_FIN','_httpService','OPEN','Server\x20sent\x20an\x20invalid\x20subprotocol','Upgrade:\x20websocket','getPayloadLength16','Unknown\x20parameter\x20\x22','completeUpgrade','WS_ERR_INVALID_OPCODE','The\x20URL\x20contains\x20a\x20fragment\x20identifier','https:','WS_NO_UTF_8_VALIDATE','_bufferedBytes','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','clientMaxWindowBits','Parameter\x20\x22','zlibInflateOptions','createInflateRaw','The\x20server\x20is\x20not\x20running','File','_configService','_destroy','noServer','arraybuffer','Server\x20sent\x20no\x20subprotocol','finish','dispose','GET','function','pow','Maximum\x20redirects\x20exceeded','prototype','getBlobData','sec-websocket-accept','connection','permessage-deflate','_errorEmitted'];_0x1b95=function(){return _0x23ab96;};return _0x1b95();}function Kt(){const _0x357792=_0x196bfc;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x1132f5,kListener:_0x5d598e}=V(),_0x4a0ebf=Symbol(_0x357792(0x292)),_0x500fd4=Symbol(_0x357792(0x2ae)),_0x659873=Symbol('kError'),_0x2aaedc=Symbol(_0x357792(0x278)),_0x41a934=Symbol(_0x357792(0x1c7)),_0x15793b=Symbol(_0x357792(0x33a)),_0x46e84f=Symbol(_0x357792(0x277)),_0x3c187f=Symbol(_0x357792(0x2b0));class _0x2cbf59{constructor(_0x225072){this[_0x15793b]=null,this[_0x46e84f]=_0x225072;}get['target'](){return this[_0x15793b];}get[_0x357792(0x31a)](){return this[_0x46e84f];}}Object['defineProperty'](_0x2cbf59[_0x357792(0x230)],_0x357792(0x2d4),{'enumerable':!0x0}),Object[_0x357792(0x1a7)](_0x2cbf59[_0x357792(0x230)],_0x357792(0x31a),{'enumerable':!0x0});class _0x43f15f extends _0x2cbf59{constructor(_0x1e881c,_0x23ee29={}){const _0x36c299=_0x357792;super(_0x1e881c),this[_0x4a0ebf]=_0x23ee29[_0x36c299(0x243)]===void 0x0?0x0:_0x23ee29['code'],this[_0x41a934]=_0x23ee29[_0x36c299(0x2d1)]===void 0x0?'':_0x23ee29[_0x36c299(0x2d1)],this[_0x3c187f]=_0x23ee29[_0x36c299(0x33c)]===void 0x0?!0x1:_0x23ee29['wasClean'];}get['code'](){return this[_0x4a0ebf];}get[_0x357792(0x2d1)](){return this[_0x41a934];}get['wasClean'](){return this[_0x3c187f];}}Object[_0x357792(0x1a7)](_0x43f15f[_0x357792(0x230)],_0x357792(0x243),{'enumerable':!0x0}),Object[_0x357792(0x1a7)](_0x43f15f[_0x357792(0x230)],_0x357792(0x2d1),{'enumerable':!0x0}),Object[_0x357792(0x1a7)](_0x43f15f[_0x357792(0x230)],_0x357792(0x33c),{'enumerable':!0x0});class _0xf12031 extends _0x2cbf59{constructor(_0x29a4da,_0x581a10={}){const _0x45e7b4=_0x357792;super(_0x29a4da),this[_0x659873]=_0x581a10[_0x45e7b4(0x1fd)]===void 0x0?null:_0x581a10[_0x45e7b4(0x1fd)],this[_0x2aaedc]=_0x581a10[_0x45e7b4(0x1e0)]===void 0x0?'':_0x581a10['message'];}get[_0x357792(0x1fd)](){return this[_0x659873];}get[_0x357792(0x1e0)](){return this[_0x2aaedc];}}Object[_0x357792(0x1a7)](_0xf12031[_0x357792(0x230)],_0x357792(0x1fd),{'enumerable':!0x0}),Object[_0x357792(0x1a7)](_0xf12031[_0x357792(0x230)],_0x357792(0x1e0),{'enumerable':!0x0});class _0x5091bb extends _0x2cbf59{constructor(_0x5358a3,_0x3260f={}){const _0x217985=_0x357792;super(_0x5358a3),this[_0x500fd4]=_0x3260f[_0x217985(0x1db)]===void 0x0?null:_0x3260f[_0x217985(0x1db)];}get[_0x357792(0x1db)](){return this[_0x500fd4];}}Object[_0x357792(0x1a7)](_0x5091bb[_0x357792(0x230)],_0x357792(0x1db),{'enumerable':!0x0}),xe={'CloseEvent':_0x43f15f,'ErrorEvent':_0xf12031,'Event':_0x2cbf59,'EventTarget':{'addEventListener'(_0x17ffc7,_0x440bbb,_0x2bc816={}){const _0x2bf543=_0x357792;for(const _0x30150f of this['listeners'](_0x17ffc7))if(!_0x2bc816[_0x1132f5]&&_0x30150f[_0x5d598e]===_0x440bbb&&!_0x30150f[_0x1132f5])return;let _0x3c93e4;if(_0x17ffc7===_0x2bf543(0x1e0))_0x3c93e4=function(_0x3c5ca2,_0x1509c2){const _0x16f0e9=_0x2bf543,_0x394fae=new _0x5091bb('message',{'data':_0x1509c2?_0x3c5ca2:_0x3c5ca2[_0x16f0e9(0x30d)]()});_0x394fae[_0x15793b]=this,_0x3e2783(_0x440bbb,this,_0x394fae);};else{if(_0x17ffc7===_0x2bf543(0x33d))_0x3c93e4=function(_0x50182e,_0xe15219){const _0x5cd356=_0x2bf543,_0x4b4d90=new _0x43f15f('close',{'code':_0x50182e,'reason':_0xe15219[_0x5cd356(0x30d)](),'wasClean':this[_0x5cd356(0x31e)]&&this[_0x5cd356(0x30e)]});_0x4b4d90[_0x15793b]=this,_0x3e2783(_0x440bbb,this,_0x4b4d90);};else{if(_0x17ffc7===_0x2bf543(0x1fd))_0x3c93e4=function(_0x569f81){const _0x50443c=_0x2bf543,_0x149c9e=new _0xf12031('error',{'error':_0x569f81,'message':_0x569f81[_0x50443c(0x1e0)]});_0x149c9e[_0x15793b]=this,_0x3e2783(_0x440bbb,this,_0x149c9e);};else{if(_0x17ffc7===_0x2bf543(0x1a9))_0x3c93e4=function(){const _0x374ecb=_0x2bf543,_0x4b84de=new _0x2cbf59(_0x374ecb(0x1a9));_0x4b84de[_0x15793b]=this,_0x3e2783(_0x440bbb,this,_0x4b84de);};else return;}}}_0x3c93e4[_0x1132f5]=!!_0x2bc816[_0x1132f5],_0x3c93e4[_0x5d598e]=_0x440bbb,_0x2bc816[_0x2bf543(0x1c5)]?this['once'](_0x17ffc7,_0x3c93e4):this['on'](_0x17ffc7,_0x3c93e4);},'removeEventListener'(_0x3f5433,_0x106ad8){const _0x4114a8=_0x357792;for(const _0x2adb9f of this[_0x4114a8(0x2f5)](_0x3f5433))if(_0x2adb9f[_0x5d598e]===_0x106ad8&&!_0x2adb9f[_0x1132f5]){this[_0x4114a8(0x325)](_0x3f5433,_0x2adb9f);break;}}},'MessageEvent':_0x5091bb};function _0x3e2783(_0x1063d7,_0x5e5dcb,_0x31a236){const _0x2f2b3d=_0x357792;typeof _0x1063d7==_0x2f2b3d(0x205)&&_0x1063d7[_0x2f2b3d(0x1bf)]?_0x1063d7[_0x2f2b3d(0x1bf)][_0x2f2b3d(0x32c)](_0x1063d7,_0x31a236):_0x1063d7[_0x2f2b3d(0x32c)](_0x5e5dcb,_0x31a236);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x5a1d1d}=ne();function _0x53073c(_0x269380,_0x985aca,_0x39ddbd){_0x269380[_0x985aca]===void 0x0?_0x269380[_0x985aca]=[_0x39ddbd]:_0x269380[_0x985aca]['push'](_0x39ddbd);}function _0x3bdddc(_0x13be15){const _0x7c2868=_0x564e,_0xfa10a6=Object[_0x7c2868(0x19e)](null);let _0x37cf3d=Object['create'](null),_0x25fdcb=!0x1,_0x612fae=!0x1,_0x19e5e9=!0x1,_0x3b6584,_0x48bb87,_0x493b74=-0x1,_0x1edfad=-0x1,_0x29f2bf=-0x1,_0x1dd795=0x0;for(;_0x1dd795<_0x13be15[_0x7c2868(0x2f4)];_0x1dd795++)if(_0x1edfad=_0x13be15[_0x7c2868(0x31f)](_0x1dd795),_0x3b6584===void 0x0){if(_0x29f2bf===-0x1&&_0x5a1d1d[_0x1edfad]===0x1)_0x493b74===-0x1&&(_0x493b74=_0x1dd795);else{if(_0x1dd795!==0x0&&(_0x1edfad===0x20||_0x1edfad===0x9))_0x29f2bf===-0x1&&_0x493b74!==-0x1&&(_0x29f2bf=_0x1dd795);else{if(_0x1edfad===0x3b||_0x1edfad===0x2c){if(_0x493b74===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1dd795);_0x29f2bf===-0x1&&(_0x29f2bf=_0x1dd795);const _0x1f5998=_0x13be15[_0x7c2868(0x2ac)](_0x493b74,_0x29f2bf);_0x1edfad===0x2c?(_0x53073c(_0xfa10a6,_0x1f5998,_0x37cf3d),_0x37cf3d=Object['create'](null)):_0x3b6584=_0x1f5998,_0x493b74=_0x29f2bf=-0x1;}else throw new SyntaxError(_0x7c2868(0x1f5)+_0x1dd795);}}}else{if(_0x48bb87===void 0x0){if(_0x29f2bf===-0x1&&_0x5a1d1d[_0x1edfad]===0x1)_0x493b74===-0x1&&(_0x493b74=_0x1dd795);else{if(_0x1edfad===0x20||_0x1edfad===0x9)_0x29f2bf===-0x1&&_0x493b74!==-0x1&&(_0x29f2bf=_0x1dd795);else{if(_0x1edfad===0x3b||_0x1edfad===0x2c){if(_0x493b74===-0x1)throw new SyntaxError(_0x7c2868(0x1f5)+_0x1dd795);_0x29f2bf===-0x1&&(_0x29f2bf=_0x1dd795),_0x53073c(_0x37cf3d,_0x13be15['slice'](_0x493b74,_0x29f2bf),!0x0),_0x1edfad===0x2c&&(_0x53073c(_0xfa10a6,_0x3b6584,_0x37cf3d),_0x37cf3d=Object[_0x7c2868(0x19e)](null),_0x3b6584=void 0x0),_0x493b74=_0x29f2bf=-0x1;}else{if(_0x1edfad===0x3d&&_0x493b74!==-0x1&&_0x29f2bf===-0x1)_0x48bb87=_0x13be15['slice'](_0x493b74,_0x1dd795),_0x493b74=_0x29f2bf=-0x1;else throw new SyntaxError(_0x7c2868(0x1f5)+_0x1dd795);}}}}else{if(_0x612fae){if(_0x5a1d1d[_0x1edfad]!==0x1)throw new SyntaxError(_0x7c2868(0x1f5)+_0x1dd795);_0x493b74===-0x1?_0x493b74=_0x1dd795:_0x25fdcb||(_0x25fdcb=!0x0),_0x612fae=!0x1;}else{if(_0x19e5e9){if(_0x5a1d1d[_0x1edfad]===0x1)_0x493b74===-0x1&&(_0x493b74=_0x1dd795);else{if(_0x1edfad===0x22&&_0x493b74!==-0x1)_0x19e5e9=!0x1,_0x29f2bf=_0x1dd795;else{if(_0x1edfad===0x5c)_0x612fae=!0x0;else throw new SyntaxError(_0x7c2868(0x1f5)+_0x1dd795);}}}else{if(_0x1edfad===0x22&&_0x13be15['charCodeAt'](_0x1dd795-0x1)===0x3d)_0x19e5e9=!0x0;else{if(_0x29f2bf===-0x1&&_0x5a1d1d[_0x1edfad]===0x1)_0x493b74===-0x1&&(_0x493b74=_0x1dd795);else{if(_0x493b74!==-0x1&&(_0x1edfad===0x20||_0x1edfad===0x9))_0x29f2bf===-0x1&&(_0x29f2bf=_0x1dd795);else{if(_0x1edfad===0x3b||_0x1edfad===0x2c){if(_0x493b74===-0x1)throw new SyntaxError(_0x7c2868(0x1f5)+_0x1dd795);_0x29f2bf===-0x1&&(_0x29f2bf=_0x1dd795);let _0x5101db=_0x13be15[_0x7c2868(0x2ac)](_0x493b74,_0x29f2bf);_0x25fdcb&&(_0x5101db=_0x5101db['replace'](/\\/g,''),_0x25fdcb=!0x1),_0x53073c(_0x37cf3d,_0x48bb87,_0x5101db),_0x1edfad===0x2c&&(_0x53073c(_0xfa10a6,_0x3b6584,_0x37cf3d),_0x37cf3d=Object[_0x7c2868(0x19e)](null),_0x3b6584=void 0x0),_0x48bb87=void 0x0,_0x493b74=_0x29f2bf=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1dd795);}}}}}}}if(_0x493b74===-0x1||_0x19e5e9||_0x1edfad===0x20||_0x1edfad===0x9)throw new SyntaxError(_0x7c2868(0x23c));_0x29f2bf===-0x1&&(_0x29f2bf=_0x1dd795);const _0x19b01d=_0x13be15[_0x7c2868(0x2ac)](_0x493b74,_0x29f2bf);return _0x3b6584===void 0x0?_0x53073c(_0xfa10a6,_0x19b01d,_0x37cf3d):(_0x48bb87===void 0x0?_0x53073c(_0x37cf3d,_0x19b01d,!0x0):_0x25fdcb?_0x53073c(_0x37cf3d,_0x48bb87,_0x19b01d['replace'](/\\/g,'')):_0x53073c(_0x37cf3d,_0x48bb87,_0x19b01d),_0x53073c(_0xfa10a6,_0x3b6584,_0x37cf3d)),_0xfa10a6;}function _0x132ecf(_0x50c764){const _0x1737d4=_0x564e;return Object[_0x1737d4(0x1fa)](_0x50c764)[_0x1737d4(0x200)](_0x28a88c=>{const _0x257697=_0x1737d4;let _0x1f2615=_0x50c764[_0x28a88c];return Array[_0x257697(0x1ea)](_0x1f2615)||(_0x1f2615=[_0x1f2615]),_0x1f2615[_0x257697(0x200)](_0x291777=>[_0x28a88c][_0x257697(0x2b8)](Object[_0x257697(0x1fa)](_0x291777)[_0x257697(0x200)](_0x3efdc0=>{const _0x1d608c=_0x257697;let _0x5b3975=_0x291777[_0x3efdc0];return Array[_0x1d608c(0x1ea)](_0x5b3975)||(_0x5b3975=[_0x5b3975]),_0x5b3975[_0x1d608c(0x200)](_0x24dce2=>_0x24dce2===!0x0?_0x3efdc0:_0x3efdc0+'='+_0x24dce2)[_0x1d608c(0x26c)](';\x20');}))[_0x257697(0x26c)](';\x20'))['join'](',\x20');})[_0x1737d4(0x26c)](',\x20');}return be={'format':_0x132ecf,'parse':_0x3bdddc},be;}var we,st;function Ie(){const _0x297678=_0x196bfc;if(st)return we;st=0x1;const _0x48ab14=_0x576eb1,_0x2a426a=_0x223b78,_0x4bc460=_0x4f3c9d,_0x236a72=_0x2531ac,_0x42dd6e=_0x1af4ff,{randomBytes:_0x2d18d1,createHash:_0x418ea8}=_0xb1da6e,{Duplex:_0x3888b0,Readable:_0x256b45}=_0x43f44b,{URL:_0x166a73}=_0x4edc47,_0x2214ae=he(),_0x57df1c=dt(),_0x29ddc4=_t(),{isBlob:_0x1dc683}=ne(),{BINARY_TYPES:_0x203af8,EMPTY_BUFFER:_0x101935,GUID:_0x51fb07,kForOnEventAttribute:_0x1f4413,kListener:_0x316b24,kStatusCode:_0x17bb99,kWebSocket:_0x15ae82,NOOP:_0x4f2df8}=V(),{EventTarget:{addEventListener:_0x291c08,removeEventListener:_0x5b9c14}}=Kt(),{format:_0x353d78,parse:_0x44ae9d}=pt(),{toBuffer:_0x1ddafb}=ce(),_0x26c018=0x1e*0x3e8,_0x1e90ba=Symbol(_0x297678(0x1a8)),_0xde96cc=[0x8,0xd],_0x1a6c03=[_0x297678(0x2ea),_0x297678(0x212),_0x297678(0x312),_0x297678(0x2aa)],_0x17d8b4=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x7800d2 extends _0x48ab14{constructor(_0x13f93f,_0x513092,_0x45cdb3){const _0x1be795=_0x297678;super(),this[_0x1be795(0x1aa)]=_0x203af8[0x0],this[_0x1be795(0x1ac)]=0x3ee,this[_0x1be795(0x31e)]=!0x1,this[_0x1be795(0x30e)]=!0x1,this[_0x1be795(0x1c2)]=_0x101935,this[_0x1be795(0x24c)]=null,this[_0x1be795(0x235)]=!0x1,this[_0x1be795(0x2f9)]={},this[_0x1be795(0x339)]=!0x1,this['_protocol']='',this[_0x1be795(0x1d9)]=_0x7800d2[_0x1be795(0x2ea)],this[_0x1be795(0x300)]=null,this[_0x1be795(0x1e9)]=null,this[_0x1be795(0x1fc)]=null,_0x13f93f!==null?(this['_bufferedAmount']=0x0,this[_0x1be795(0x275)]=!0x1,this['_redirects']=0x0,_0x513092===void 0x0?_0x513092=[]:Array[_0x1be795(0x1ea)](_0x513092)||(typeof _0x513092=='object'&&_0x513092!==null?(_0x45cdb3=_0x513092,_0x513092=[]):_0x513092=[_0x513092]),_0x276637(this,_0x13f93f,_0x513092,_0x45cdb3)):(this[_0x1be795(0x1ab)]=_0x45cdb3['autoPong'],this[_0x1be795(0x275)]=!0x0);}get[_0x297678(0x2ab)](){const _0x375386=_0x297678;return this[_0x375386(0x1aa)];}set[_0x297678(0x2ab)](_0x26e31c){const _0x930139=_0x297678;_0x203af8[_0x930139(0x246)](_0x26e31c)&&(this[_0x930139(0x1aa)]=_0x26e31c,this['_receiver']&&(this['_receiver'][_0x930139(0x1aa)]=_0x26e31c));}get[_0x297678(0x2d8)](){const _0x332c12=_0x297678;return this[_0x332c12(0x1fc)]?this['_socket'][_0x332c12(0x264)][_0x332c12(0x2f4)]+this['_sender']['_bufferedBytes']:this[_0x332c12(0x2d5)];}get['extensions'](){const _0x58147b=_0x297678;return Object[_0x58147b(0x1fa)](this[_0x58147b(0x2f9)])[_0x58147b(0x26c)]();}get[_0x297678(0x2f1)](){const _0xec0d68=_0x297678;return this[_0xec0d68(0x339)];}get[_0x297678(0x2cc)](){return null;}get[_0x297678(0x2b6)](){return null;}get[_0x297678(0x308)](){return null;}get['onmessage'](){return null;}get[_0x297678(0x287)](){const _0xcb5a4e=_0x297678;return this[_0xcb5a4e(0x249)];}get[_0x297678(0x259)](){return this['_readyState'];}get[_0x297678(0x1ae)](){return this['_url'];}[_0x297678(0x23f)](_0x36ab4b,_0x40c918,_0x515cb9){const _0x325338=_0x297678,_0x7623df=new _0x57df1c({'allowSynchronousEvents':_0x515cb9[_0x325338(0x1d3)],'binaryType':this[_0x325338(0x2ab)],'extensions':this[_0x325338(0x2f9)],'isServer':this['_isServer'],'maxPayload':_0x515cb9[_0x325338(0x290)],'skipUTF8Validation':_0x515cb9['skipUTF8Validation']}),_0x4263f0=new _0x29ddc4(_0x36ab4b,this['_extensions'],_0x515cb9[_0x325338(0x32a)]);this['_receiver']=_0x7623df,this['_sender']=_0x4263f0,this[_0x325338(0x1fc)]=_0x36ab4b,_0x7623df[_0x15ae82]=this,_0x4263f0[_0x15ae82]=this,_0x36ab4b[_0x15ae82]=this,_0x7623df['on'](_0x325338(0x29e),_0xaf2cf),_0x7623df['on'](_0x325338(0x196),_0x4044cd),_0x7623df['on'](_0x325338(0x1fd),_0x43aab3),_0x7623df['on'](_0x325338(0x1e0),_0x2d5cb1),_0x7623df['on']('ping',_0x427566),_0x7623df['on'](_0x325338(0x27e),_0x38ead7),_0x4263f0[_0x325338(0x2b6)]=_0x1ac211,_0x36ab4b[_0x325338(0x255)]&&_0x36ab4b[_0x325338(0x255)](0x0),_0x36ab4b['setNoDelay']&&_0x36ab4b['setNoDelay'](),_0x40c918[_0x325338(0x2f4)]>0x0&&_0x36ab4b[_0x325338(0x1f2)](_0x40c918),_0x36ab4b['on']('close',_0x376a4d),_0x36ab4b['on'](_0x325338(0x1db),_0x3083c0),_0x36ab4b['on']('end',_0x2cef74),_0x36ab4b['on'](_0x325338(0x1fd),_0x59c28b),this[_0x325338(0x1d9)]=_0x7800d2[_0x325338(0x212)],this[_0x325338(0x1e1)]('open');}['emitClose'](){const _0x356524=_0x297678;if(!this[_0x356524(0x1fc)]){this['_readyState']=_0x7800d2[_0x356524(0x2aa)],this[_0x356524(0x1e1)](_0x356524(0x33d),this[_0x356524(0x1ac)],this[_0x356524(0x1c2)]);return;}this['_extensions'][_0x2214ae[_0x356524(0x1eb)]]&&this[_0x356524(0x2f9)][_0x2214ae[_0x356524(0x1eb)]][_0x356524(0x2b9)](),this[_0x356524(0x300)]['removeAllListeners'](),this[_0x356524(0x1d9)]=_0x7800d2['CLOSED'],this['emit'](_0x356524(0x33d),this[_0x356524(0x1ac)],this['_closeMessage']);}[_0x297678(0x33d)](_0x4d15c1,_0x2d4e09){const _0x463301=_0x297678;if(this[_0x463301(0x259)]!==_0x7800d2[_0x463301(0x2aa)]){if(this[_0x463301(0x259)]===_0x7800d2[_0x463301(0x2ea)]){_0x31e646(this,this['_req'],_0x463301(0x1c9));return;}if(this[_0x463301(0x259)]===_0x7800d2[_0x463301(0x312)]){this['_closeFrameSent']&&(this[_0x463301(0x31e)]||this[_0x463301(0x300)][_0x463301(0x264)][_0x463301(0x2b2)])&&this[_0x463301(0x1fc)][_0x463301(0x329)]();return;}this[_0x463301(0x1d9)]=_0x7800d2[_0x463301(0x312)],this[_0x463301(0x1e9)][_0x463301(0x33d)](_0x4d15c1,_0x2d4e09,!this[_0x463301(0x275)],_0x108e85=>{const _0x4974eb=_0x463301;_0x108e85||(this[_0x4974eb(0x30e)]=!0x0,(this[_0x4974eb(0x31e)]||this[_0x4974eb(0x300)]['_writableState']['errorEmitted'])&&this[_0x4974eb(0x1fc)]['end']());}),_0x1a87cf(this);}}['pause'](){const _0x20010f=_0x297678;this[_0x20010f(0x259)]===_0x7800d2['CONNECTING']||this[_0x20010f(0x259)]===_0x7800d2[_0x20010f(0x2aa)]||(this[_0x20010f(0x339)]=!0x0,this['_socket'][_0x20010f(0x1bb)]());}[_0x297678(0x1cd)](_0xc82a93,_0x5c309c,_0x4995bf){const _0x1cf262=_0x297678;if(this['readyState']===_0x7800d2[_0x1cf262(0x2ea)])throw new Error(_0x1cf262(0x33e));if(typeof _0xc82a93==_0x1cf262(0x22d)?(_0x4995bf=_0xc82a93,_0xc82a93=_0x5c309c=void 0x0):typeof _0x5c309c==_0x1cf262(0x22d)&&(_0x4995bf=_0x5c309c,_0x5c309c=void 0x0),typeof _0xc82a93==_0x1cf262(0x314)&&(_0xc82a93=_0xc82a93[_0x1cf262(0x30d)]()),this[_0x1cf262(0x259)]!==_0x7800d2['OPEN']){_0x196d8b(this,_0xc82a93,_0x4995bf);return;}_0x5c309c===void 0x0&&(_0x5c309c=!this[_0x1cf262(0x275)]),this['_sender'][_0x1cf262(0x1cd)](_0xc82a93||_0x101935,_0x5c309c,_0x4995bf);}['pong'](_0x2fa215,_0x5560c9,_0x37b457){const _0x2df971=_0x297678;if(this[_0x2df971(0x259)]===_0x7800d2[_0x2df971(0x2ea)])throw new Error(_0x2df971(0x33e));if(typeof _0x2fa215==_0x2df971(0x22d)?(_0x37b457=_0x2fa215,_0x2fa215=_0x5560c9=void 0x0):typeof _0x5560c9==_0x2df971(0x22d)&&(_0x37b457=_0x5560c9,_0x5560c9=void 0x0),typeof _0x2fa215=='number'&&(_0x2fa215=_0x2fa215[_0x2df971(0x30d)]()),this['readyState']!==_0x7800d2[_0x2df971(0x212)]){_0x196d8b(this,_0x2fa215,_0x37b457);return;}_0x5560c9===void 0x0&&(_0x5560c9=!this[_0x2df971(0x275)]),this[_0x2df971(0x1e9)][_0x2df971(0x27e)](_0x2fa215||_0x101935,_0x5560c9,_0x37b457);}[_0x297678(0x1cc)](){const _0x6bd48b=_0x297678;this[_0x6bd48b(0x259)]===_0x7800d2[_0x6bd48b(0x2ea)]||this[_0x6bd48b(0x259)]===_0x7800d2['CLOSED']||(this[_0x6bd48b(0x339)]=!0x1,this[_0x6bd48b(0x300)]['_writableState']['needDrain']||this[_0x6bd48b(0x1fc)][_0x6bd48b(0x1cc)]());}['send'](_0x32cf12,_0x43151e,_0xef07ca){const _0x2835d0=_0x297678;if(this[_0x2835d0(0x259)]===_0x7800d2['CONNECTING'])throw new Error(_0x2835d0(0x33e));if(typeof _0x43151e==_0x2835d0(0x22d)&&(_0xef07ca=_0x43151e,_0x43151e={}),typeof _0x32cf12==_0x2835d0(0x314)&&(_0x32cf12=_0x32cf12[_0x2835d0(0x30d)]()),this[_0x2835d0(0x259)]!==_0x7800d2[_0x2835d0(0x212)]){_0x196d8b(this,_0x32cf12,_0xef07ca);return;}const _0x4f61fc={'binary':typeof _0x32cf12!=_0x2835d0(0x288),'mask':!this[_0x2835d0(0x275)],'compress':!0x0,'fin':!0x0,..._0x43151e};this[_0x2835d0(0x2f9)][_0x2214ae['extensionName']]||(_0x4f61fc[_0x2835d0(0x248)]=!0x1),this[_0x2835d0(0x1e9)][_0x2835d0(0x1ff)](_0x32cf12||_0x101935,_0x4f61fc,_0xef07ca);}[_0x297678(0x198)](){const _0x18f285=_0x297678;if(this[_0x18f285(0x259)]!==_0x7800d2[_0x18f285(0x2aa)]){if(this['readyState']===_0x7800d2['CONNECTING']){_0x31e646(this,this[_0x18f285(0x1f9)],_0x18f285(0x1c9));return;}this[_0x18f285(0x1fc)]&&(this[_0x18f285(0x1d9)]=_0x7800d2[_0x18f285(0x312)],this[_0x18f285(0x1fc)]['destroy']());}}}Object[_0x297678(0x1a7)](_0x7800d2,'CONNECTING',{'enumerable':!0x0,'value':_0x1a6c03[_0x297678(0x26d)](_0x297678(0x2ea))}),Object[_0x297678(0x1a7)](_0x7800d2[_0x297678(0x230)],'CONNECTING',{'enumerable':!0x0,'value':_0x1a6c03['indexOf']('CONNECTING')}),Object[_0x297678(0x1a7)](_0x7800d2,'OPEN',{'enumerable':!0x0,'value':_0x1a6c03['indexOf'](_0x297678(0x212))}),Object['defineProperty'](_0x7800d2[_0x297678(0x230)],_0x297678(0x212),{'enumerable':!0x0,'value':_0x1a6c03['indexOf'](_0x297678(0x212))}),Object['defineProperty'](_0x7800d2,_0x297678(0x312),{'enumerable':!0x0,'value':_0x1a6c03['indexOf']('CLOSING')}),Object[_0x297678(0x1a7)](_0x7800d2[_0x297678(0x230)],_0x297678(0x312),{'enumerable':!0x0,'value':_0x1a6c03['indexOf'](_0x297678(0x312))}),Object[_0x297678(0x1a7)](_0x7800d2,'CLOSED',{'enumerable':!0x0,'value':_0x1a6c03['indexOf'](_0x297678(0x2aa))}),Object[_0x297678(0x1a7)](_0x7800d2[_0x297678(0x230)],'CLOSED',{'enumerable':!0x0,'value':_0x1a6c03[_0x297678(0x26d)]('CLOSED')}),[_0x297678(0x2ab),_0x297678(0x2d8),_0x297678(0x2a1),'isPaused','protocol',_0x297678(0x259),_0x297678(0x1ae)][_0x297678(0x195)](_0x35b753=>{const _0x1780de=_0x297678;Object[_0x1780de(0x1a7)](_0x7800d2[_0x1780de(0x230)],_0x35b753,{'enumerable':!0x0});}),[_0x297678(0x1a9),_0x297678(0x1fd),_0x297678(0x33d),_0x297678(0x1e0)]['forEach'](_0x51d602=>{const _0x5ede01=_0x297678;Object[_0x5ede01(0x1a7)](_0x7800d2['prototype'],'on'+_0x51d602,{'enumerable':!0x0,'get'(){const _0x3a28ad=_0x5ede01;for(const _0x13e381 of this[_0x3a28ad(0x2f5)](_0x51d602))if(_0x13e381[_0x1f4413])return _0x13e381[_0x316b24];return null;},'set'(_0xa4d438){const _0x277c77=_0x5ede01;for(const _0x125c41 of this[_0x277c77(0x2f5)](_0x51d602))if(_0x125c41[_0x1f4413]){this[_0x277c77(0x325)](_0x51d602,_0x125c41);break;}typeof _0xa4d438=='function'&&this[_0x277c77(0x2ce)](_0x51d602,_0xa4d438,{[_0x1f4413]:!0x0});}});}),_0x7800d2[_0x297678(0x230)][_0x297678(0x2ce)]=_0x291c08,_0x7800d2[_0x297678(0x230)]['removeEventListener']=_0x5b9c14,we=_0x7800d2;function _0x276637(_0x145d99,_0x5d9b47,_0x59daed,_0x596c53){const _0x4a9680=_0x297678,_0x5dcdf6={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0xde96cc[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x596c53,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x145d99['_autoPong']=_0x5dcdf6[_0x4a9680(0x190)],!_0xde96cc[_0x4a9680(0x246)](_0x5dcdf6[_0x4a9680(0x2f0)]))throw new RangeError(_0x4a9680(0x1bd)+_0x5dcdf6['protocolVersion']+'\x20(supported\x20versions:\x20'+_0xde96cc['join'](',\x20')+')');let _0x4ec130;if(_0x5d9b47 instanceof _0x166a73)_0x4ec130=_0x5d9b47;else try{_0x4ec130=new _0x166a73(_0x5d9b47);}catch{throw new SyntaxError(_0x4a9680(0x331)+_0x5d9b47);}_0x4ec130[_0x4a9680(0x287)]===_0x4a9680(0x263)?_0x4ec130[_0x4a9680(0x287)]=_0x4a9680(0x2df):_0x4ec130[_0x4a9680(0x287)]===_0x4a9680(0x21a)&&(_0x4ec130[_0x4a9680(0x287)]='wss:'),_0x145d99['_url']=_0x4ec130[_0x4a9680(0x252)];const _0x3a422a=_0x4ec130[_0x4a9680(0x287)]==='wss:',_0x58f1ad=_0x4ec130[_0x4a9680(0x287)]===_0x4a9680(0x29b);let _0x3a5084;if(_0x4ec130[_0x4a9680(0x287)]!==_0x4a9680(0x2df)&&!_0x3a422a&&!_0x58f1ad?_0x3a5084=_0x4a9680(0x2ed):_0x58f1ad&&!_0x4ec130[_0x4a9680(0x251)]?_0x3a5084=_0x4a9680(0x1c3):_0x4ec130['hash']&&(_0x3a5084=_0x4a9680(0x219)),_0x3a5084){const _0x1ccd9c=new SyntaxError(_0x3a5084);if(_0x145d99[_0x4a9680(0x253)]===0x0)throw _0x1ccd9c;_0x58db47(_0x145d99,_0x1ccd9c);return;}const _0x39f1d6=_0x3a422a?0x1bb:0x50,_0x3556e9=_0x2d18d1(0x10)[_0x4a9680(0x30d)](_0x4a9680(0x2d7)),_0x4df477=_0x3a422a?_0x2a426a[_0x4a9680(0x2e9)]:_0x4bc460[_0x4a9680(0x2e9)],_0x461204=new Set();let _0x2d5808;if(_0x5dcdf6[_0x4a9680(0x281)]=_0x5dcdf6['createConnection']||(_0x3a422a?_0x17565c:_0x25f4e0),_0x5dcdf6['defaultPort']=_0x5dcdf6[_0x4a9680(0x1da)]||_0x39f1d6,_0x5dcdf6['port']=_0x4ec130[_0x4a9680(0x2a2)]||_0x39f1d6,_0x5dcdf6[_0x4a9680(0x2fc)]=_0x4ec130[_0x4a9680(0x1ce)][_0x4a9680(0x20e)]('[')?_0x4ec130['hostname']['slice'](0x1,-0x1):_0x4ec130[_0x4a9680(0x1ce)],_0x5dcdf6[_0x4a9680(0x25b)]={..._0x5dcdf6['headers'],'Sec-WebSocket-Version':_0x5dcdf6[_0x4a9680(0x2f0)],'Sec-WebSocket-Key':_0x3556e9,'Connection':_0x4a9680(0x1d4),'Upgrade':_0x4a9680(0x2ca)},_0x5dcdf6[_0x4a9680(0x262)]=_0x4ec130[_0x4a9680(0x251)]+_0x4ec130[_0x4a9680(0x26e)],_0x5dcdf6['timeout']=_0x5dcdf6[_0x4a9680(0x1df)],_0x5dcdf6['perMessageDeflate']&&(_0x2d5808=new _0x2214ae(_0x5dcdf6[_0x4a9680(0x335)]!==!0x0?_0x5dcdf6['perMessageDeflate']:{},!0x1,_0x5dcdf6['maxPayload']),_0x5dcdf6[_0x4a9680(0x25b)]['Sec-WebSocket-Extensions']=_0x353d78({[_0x2214ae[_0x4a9680(0x1eb)]]:_0x2d5808[_0x4a9680(0x1ef)]()})),_0x59daed['length']){for(const _0xa1b710 of _0x59daed){if(typeof _0xa1b710!=_0x4a9680(0x288)||!_0x17d8b4['test'](_0xa1b710)||_0x461204[_0x4a9680(0x24b)](_0xa1b710))throw new SyntaxError(_0x4a9680(0x28e));_0x461204[_0x4a9680(0x285)](_0xa1b710);}_0x5dcdf6[_0x4a9680(0x25b)][_0x4a9680(0x2bf)]=_0x59daed[_0x4a9680(0x26c)](',');}if(_0x5dcdf6['origin']&&(_0x5dcdf6[_0x4a9680(0x2f0)]<0xd?_0x5dcdf6[_0x4a9680(0x25b)][_0x4a9680(0x2d9)]=_0x5dcdf6[_0x4a9680(0x334)]:_0x5dcdf6[_0x4a9680(0x25b)][_0x4a9680(0x241)]=_0x5dcdf6['origin']),(_0x4ec130[_0x4a9680(0x1c0)]||_0x4ec130['password'])&&(_0x5dcdf6[_0x4a9680(0x2a9)]=_0x4ec130[_0x4a9680(0x1c0)]+':'+_0x4ec130[_0x4a9680(0x201)]),_0x58f1ad){const _0x18c249=_0x5dcdf6[_0x4a9680(0x262)][_0x4a9680(0x1dc)](':');_0x5dcdf6[_0x4a9680(0x299)]=_0x18c249[0x0],_0x5dcdf6[_0x4a9680(0x262)]=_0x18c249[0x1];}let _0x51f4de;if(_0x5dcdf6[_0x4a9680(0x342)]){if(_0x145d99['_redirects']===0x0){_0x145d99[_0x4a9680(0x1f6)]=_0x58f1ad,_0x145d99['_originalSecure']=_0x3a422a,_0x145d99[_0x4a9680(0x1a3)]=_0x58f1ad?_0x5dcdf6[_0x4a9680(0x299)]:_0x4ec130[_0x4a9680(0x2fc)];const _0x11bc9f=_0x596c53&&_0x596c53[_0x4a9680(0x25b)];if(_0x596c53={..._0x596c53,'headers':{}},_0x11bc9f){for(const [_0x5c7f01,_0x73824b]of Object[_0x4a9680(0x193)](_0x11bc9f))_0x596c53[_0x4a9680(0x25b)][_0x5c7f01[_0x4a9680(0x327)]()]=_0x73824b;}}else{if(_0x145d99[_0x4a9680(0x25d)](_0x4a9680(0x1f4))===0x0){const _0x2b7d77=_0x58f1ad?_0x145d99[_0x4a9680(0x1f6)]?_0x5dcdf6[_0x4a9680(0x299)]===_0x145d99[_0x4a9680(0x1a3)]:!0x1:_0x145d99[_0x4a9680(0x1f6)]?!0x1:_0x4ec130[_0x4a9680(0x2fc)]===_0x145d99['_originalHostOrSocketPath'];(!_0x2b7d77||_0x145d99['_originalSecure']&&!_0x3a422a)&&(delete _0x5dcdf6[_0x4a9680(0x25b)][_0x4a9680(0x1e4)],delete _0x5dcdf6[_0x4a9680(0x25b)]['cookie'],_0x2b7d77||delete _0x5dcdf6[_0x4a9680(0x25b)][_0x4a9680(0x2fc)],_0x5dcdf6[_0x4a9680(0x2a9)]=void 0x0);}}_0x5dcdf6['auth']&&!_0x596c53[_0x4a9680(0x25b)][_0x4a9680(0x1e4)]&&(_0x596c53[_0x4a9680(0x25b)][_0x4a9680(0x1e4)]='Basic\x20'+Buffer[_0x4a9680(0x298)](_0x5dcdf6[_0x4a9680(0x2a9)])[_0x4a9680(0x30d)](_0x4a9680(0x2d7))),_0x51f4de=_0x145d99['_req']=_0x4df477(_0x5dcdf6),_0x145d99['_redirects']&&_0x145d99[_0x4a9680(0x1e1)](_0x4a9680(0x1f4),_0x145d99['url'],_0x51f4de);}else _0x51f4de=_0x145d99[_0x4a9680(0x1f9)]=_0x4df477(_0x5dcdf6);_0x5dcdf6[_0x4a9680(0x2eb)]&&_0x51f4de['on'](_0x4a9680(0x2eb),()=>{_0x31e646(_0x145d99,_0x51f4de,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x51f4de['on']('error',_0x44cad8=>{const _0x5451b0=_0x4a9680;_0x51f4de===null||_0x51f4de[_0x1e90ba]||(_0x51f4de=_0x145d99[_0x5451b0(0x1f9)]=null,_0x58db47(_0x145d99,_0x44cad8));}),_0x51f4de['on'](_0x4a9680(0x20d),_0x4b0eff=>{const _0x1c34b4=_0x4a9680,_0x318f42=_0x4b0eff[_0x1c34b4(0x25b)][_0x1c34b4(0x204)],_0x136e33=_0x4b0eff[_0x1c34b4(0x29d)];if(_0x318f42&&_0x5dcdf6[_0x1c34b4(0x342)]&&_0x136e33>=0x12c&&_0x136e33<0x190){if(++_0x145d99[_0x1c34b4(0x253)]>_0x5dcdf6[_0x1c34b4(0x32e)]){_0x31e646(_0x145d99,_0x51f4de,_0x1c34b4(0x22f));return;}_0x51f4de[_0x1c34b4(0x340)]();let _0x2c3b9c;try{_0x2c3b9c=new _0x166a73(_0x318f42,_0x5d9b47);}catch{const _0x3abfed=new SyntaxError(_0x1c34b4(0x331)+_0x318f42);_0x58db47(_0x145d99,_0x3abfed);return;}_0x276637(_0x145d99,_0x2c3b9c,_0x59daed,_0x596c53);}else _0x145d99[_0x1c34b4(0x1e1)](_0x1c34b4(0x245),_0x51f4de,_0x4b0eff)||_0x31e646(_0x145d99,_0x51f4de,_0x1c34b4(0x250)+_0x4b0eff['statusCode']);}),_0x51f4de['on'](_0x4a9680(0x321),(_0x4f9ece,_0x154568,_0x464116)=>{const _0x3435b9=_0x4a9680;if(_0x145d99[_0x3435b9(0x1e1)]('upgrade',_0x4f9ece),_0x145d99[_0x3435b9(0x259)]!==_0x7800d2[_0x3435b9(0x2ea)])return;_0x51f4de=_0x145d99[_0x3435b9(0x1f9)]=null;const _0xaab3c8=_0x4f9ece['headers'][_0x3435b9(0x321)];if(_0xaab3c8===void 0x0||_0xaab3c8[_0x3435b9(0x327)]()!==_0x3435b9(0x2ca)){_0x31e646(_0x145d99,_0x154568,_0x3435b9(0x19c));return;}const _0x5ae647=_0x418ea8(_0x3435b9(0x2c2))[_0x3435b9(0x1d5)](_0x3556e9+_0x51fb07)[_0x3435b9(0x2f8)](_0x3435b9(0x2d7));if(_0x4f9ece[_0x3435b9(0x25b)][_0x3435b9(0x232)]!==_0x5ae647){_0x31e646(_0x145d99,_0x154568,_0x3435b9(0x2a8));return;}const _0x15a688=_0x4f9ece[_0x3435b9(0x25b)]['sec-websocket-protocol'];let _0xfbd8c;if(_0x15a688!==void 0x0?_0x461204['size']?_0x461204['has'](_0x15a688)||(_0xfbd8c=_0x3435b9(0x213)):_0xfbd8c=_0x3435b9(0x1b2):_0x461204[_0x3435b9(0x33b)]&&(_0xfbd8c=_0x3435b9(0x229)),_0xfbd8c){_0x31e646(_0x145d99,_0x154568,_0xfbd8c);return;}_0x15a688&&(_0x145d99[_0x3435b9(0x249)]=_0x15a688);const _0x1a7621=_0x4f9ece['headers']['sec-websocket-extensions'];if(_0x1a7621!==void 0x0){if(!_0x2d5808){_0x31e646(_0x145d99,_0x154568,_0x3435b9(0x272));return;}let _0x154b8d;try{_0x154b8d=_0x44ae9d(_0x1a7621);}catch{_0x31e646(_0x145d99,_0x154568,_0x3435b9(0x206));return;}const _0x40a199=Object['keys'](_0x154b8d);if(_0x40a199[_0x3435b9(0x2f4)]!==0x1||_0x40a199[0x0]!==_0x2214ae[_0x3435b9(0x1eb)]){_0x31e646(_0x145d99,_0x154568,_0x3435b9(0x1e8));return;}try{_0x2d5808[_0x3435b9(0x2de)](_0x154b8d[_0x2214ae[_0x3435b9(0x1eb)]]);}catch{_0x31e646(_0x145d99,_0x154568,_0x3435b9(0x206));return;}_0x145d99['_extensions'][_0x2214ae[_0x3435b9(0x1eb)]]=_0x2d5808;}_0x145d99['setSocket'](_0x154568,_0x464116,{'allowSynchronousEvents':_0x5dcdf6['allowSynchronousEvents'],'generateMask':_0x5dcdf6[_0x3435b9(0x32a)],'maxPayload':_0x5dcdf6['maxPayload'],'skipUTF8Validation':_0x5dcdf6[_0x3435b9(0x2bd)]});}),_0x5dcdf6[_0x4a9680(0x2dc)]?_0x5dcdf6[_0x4a9680(0x2dc)](_0x51f4de,_0x145d99):_0x51f4de['end']();}function _0x58db47(_0xee237e,_0x1fad3e){const _0x4eef43=_0x297678;_0xee237e[_0x4eef43(0x1d9)]=_0x7800d2[_0x4eef43(0x312)],_0xee237e[_0x4eef43(0x235)]=!0x0,_0xee237e[_0x4eef43(0x1e1)](_0x4eef43(0x1fd),_0x1fad3e),_0xee237e[_0x4eef43(0x2c5)]();}function _0x25f4e0(_0x257c26){const _0x24f790=_0x297678;return _0x257c26[_0x24f790(0x262)]=_0x257c26[_0x24f790(0x299)],_0x236a72[_0x24f790(0x32f)](_0x257c26);}function _0x17565c(_0x53f33b){const _0x4a8f2f=_0x297678;return _0x53f33b[_0x4a8f2f(0x262)]=void 0x0,!_0x53f33b[_0x4a8f2f(0x20f)]&&_0x53f33b[_0x4a8f2f(0x20f)]!==''&&(_0x53f33b[_0x4a8f2f(0x20f)]=_0x236a72[_0x4a8f2f(0x1a0)](_0x53f33b[_0x4a8f2f(0x2fc)])?'':_0x53f33b[_0x4a8f2f(0x2fc)]),_0x42dd6e[_0x4a8f2f(0x32f)](_0x53f33b);}function _0x31e646(_0x310952,_0x3f15b3,_0x3bba52){const _0x401c9e=_0x297678;_0x310952[_0x401c9e(0x1d9)]=_0x7800d2[_0x401c9e(0x312)];const _0x5e1d89=new Error(_0x3bba52);Error[_0x401c9e(0x2b7)](_0x5e1d89,_0x31e646),_0x3f15b3[_0x401c9e(0x2bc)]?(_0x3f15b3[_0x1e90ba]=!0x0,_0x3f15b3['abort'](),_0x3f15b3[_0x401c9e(0x1e7)]&&!_0x3f15b3[_0x401c9e(0x1e7)][_0x401c9e(0x265)]&&_0x3f15b3[_0x401c9e(0x1e7)][_0x401c9e(0x261)](),process['nextTick'](_0x58db47,_0x310952,_0x5e1d89)):(_0x3f15b3[_0x401c9e(0x261)](_0x5e1d89),_0x3f15b3['once'](_0x401c9e(0x1fd),_0x310952[_0x401c9e(0x1e1)][_0x401c9e(0x2e2)](_0x310952,_0x401c9e(0x1fd))),_0x3f15b3[_0x401c9e(0x1c5)]('close',_0x310952['emitClose'][_0x401c9e(0x2e2)](_0x310952)));}function _0x196d8b(_0x54654b,_0x27bdfa,_0x73782e){const _0x246da1=_0x297678;if(_0x27bdfa){const _0x4988be=_0x1dc683(_0x27bdfa)?_0x27bdfa[_0x246da1(0x33b)]:_0x1ddafb(_0x27bdfa)[_0x246da1(0x2f4)];_0x54654b['_socket']?_0x54654b['_sender'][_0x246da1(0x21c)]+=_0x4988be:_0x54654b['_bufferedAmount']+=_0x4988be;}if(_0x73782e){const _0xd54f76=new Error(_0x246da1(0x2e6)+_0x54654b[_0x246da1(0x259)]+'\x20('+_0x1a6c03[_0x54654b['readyState']]+')');process[_0x246da1(0x1d1)](_0x73782e,_0xd54f76);}}function _0xaf2cf(_0x1592c3,_0x2f5160){const _0x5e92c=_0x297678,_0xefaa47=this[_0x15ae82];_0xefaa47[_0x5e92c(0x31e)]=!0x0,_0xefaa47['_closeMessage']=_0x2f5160,_0xefaa47[_0x5e92c(0x1ac)]=_0x1592c3,_0xefaa47[_0x5e92c(0x1fc)][_0x15ae82]!==void 0x0&&(_0xefaa47[_0x5e92c(0x1fc)][_0x5e92c(0x325)]('data',_0x3083c0),process[_0x5e92c(0x1d1)](_0x50bb1a,_0xefaa47[_0x5e92c(0x1fc)]),_0x1592c3===0x3ed?_0xefaa47[_0x5e92c(0x33d)]():_0xefaa47[_0x5e92c(0x33d)](_0x1592c3,_0x2f5160));}function _0x4044cd(){const _0x4c29ce=_0x297678,_0x33ce2d=this[_0x15ae82];_0x33ce2d[_0x4c29ce(0x2f1)]||_0x33ce2d[_0x4c29ce(0x1fc)][_0x4c29ce(0x1cc)]();}function _0x43aab3(_0x5b14d6){const _0x1dc499=_0x297678,_0x500d28=this[_0x15ae82];_0x500d28[_0x1dc499(0x1fc)][_0x15ae82]!==void 0x0&&(_0x500d28[_0x1dc499(0x1fc)][_0x1dc499(0x325)](_0x1dc499(0x1db),_0x3083c0),process[_0x1dc499(0x1d1)](_0x50bb1a,_0x500d28[_0x1dc499(0x1fc)]),_0x500d28[_0x1dc499(0x33d)](_0x5b14d6[_0x17bb99])),_0x500d28[_0x1dc499(0x235)]||(_0x500d28[_0x1dc499(0x235)]=!0x0,_0x500d28['emit'](_0x1dc499(0x1fd),_0x5b14d6));}function _0x1bbf1c(){const _0xa2bda2=_0x297678;this[_0x15ae82][_0xa2bda2(0x2c5)]();}function _0x2d5cb1(_0x28f726,_0x33e0e9){const _0x5d910f=_0x297678;this[_0x15ae82]['emit'](_0x5d910f(0x1e0),_0x28f726,_0x33e0e9);}function _0x427566(_0x3d907e){const _0x1d8f3b=_0x297678,_0x35eff6=this[_0x15ae82];_0x35eff6['_autoPong']&&_0x35eff6[_0x1d8f3b(0x27e)](_0x3d907e,!this['_isServer'],_0x4f2df8),_0x35eff6[_0x1d8f3b(0x1e1)](_0x1d8f3b(0x1cd),_0x3d907e);}function _0x38ead7(_0x3da68d){const _0x216b51=_0x297678;this[_0x15ae82][_0x216b51(0x1e1)](_0x216b51(0x27e),_0x3da68d);}function _0x50bb1a(_0x1de8c6){_0x1de8c6['resume']();}function _0x1ac211(_0x497344){const _0x2df8e6=_0x297678,_0x4b8469=this[_0x15ae82];_0x4b8469[_0x2df8e6(0x259)]!==_0x7800d2[_0x2df8e6(0x2aa)]&&(_0x4b8469[_0x2df8e6(0x259)]===_0x7800d2[_0x2df8e6(0x212)]&&(_0x4b8469[_0x2df8e6(0x1d9)]=_0x7800d2[_0x2df8e6(0x312)],_0x1a87cf(_0x4b8469)),this[_0x2df8e6(0x1fc)]['end'](),_0x4b8469[_0x2df8e6(0x235)]||(_0x4b8469[_0x2df8e6(0x235)]=!0x0,_0x4b8469['emit']('error',_0x497344)));}function _0x1a87cf(_0x12ccca){const _0x1bb930=_0x297678;_0x12ccca[_0x1bb930(0x24c)]=setTimeout(_0x12ccca['_socket'][_0x1bb930(0x261)][_0x1bb930(0x2e2)](_0x12ccca['_socket']),_0x26c018);}function _0x376a4d(){const _0x547cf5=_0x297678,_0x3fc11d=this[_0x15ae82];this[_0x547cf5(0x325)](_0x547cf5(0x33d),_0x376a4d),this['removeListener'](_0x547cf5(0x1db),_0x3083c0),this[_0x547cf5(0x325)](_0x547cf5(0x329),_0x2cef74),_0x3fc11d['_readyState']=_0x7800d2['CLOSING'];let _0x154ea7;!this[_0x547cf5(0x1d6)][_0x547cf5(0x269)]&&!_0x3fc11d[_0x547cf5(0x31e)]&&!_0x3fc11d[_0x547cf5(0x300)][_0x547cf5(0x264)]['errorEmitted']&&(_0x154ea7=_0x3fc11d[_0x547cf5(0x1fc)][_0x547cf5(0x19f)]())!==null&&_0x3fc11d['_receiver'][_0x547cf5(0x2b1)](_0x154ea7),_0x3fc11d[_0x547cf5(0x300)]['end'](),this[_0x15ae82]=void 0x0,clearTimeout(_0x3fc11d[_0x547cf5(0x24c)]),_0x3fc11d['_receiver'][_0x547cf5(0x264)][_0x547cf5(0x1c8)]||_0x3fc11d[_0x547cf5(0x300)][_0x547cf5(0x264)][_0x547cf5(0x2b2)]?_0x3fc11d['emitClose']():(_0x3fc11d[_0x547cf5(0x300)]['on'](_0x547cf5(0x1fd),_0x1bbf1c),_0x3fc11d['_receiver']['on'](_0x547cf5(0x22a),_0x1bbf1c));}function _0x3083c0(_0x2d47ee){const _0x29858e=_0x297678;this[_0x15ae82][_0x29858e(0x300)]['write'](_0x2d47ee)||this[_0x29858e(0x1bb)]();}function _0x2cef74(){const _0x4c0a73=_0x297678,_0x349013=this[_0x15ae82];_0x349013[_0x4c0a73(0x1d9)]=_0x7800d2['CLOSING'],_0x349013['_receiver']['end'](),this[_0x4c0a73(0x329)]();}function _0x59c28b(){const _0x5de5ee=_0x297678,_0x29f67d=this[_0x15ae82];this['removeListener'](_0x5de5ee(0x1fd),_0x59c28b),this['on'](_0x5de5ee(0x1fd),_0x4f2df8),_0x29f67d&&(_0x29f67d[_0x5de5ee(0x1d9)]=_0x7800d2[_0x5de5ee(0x312)],this[_0x5de5ee(0x261)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x2042c5}=_0x43f44b;function _0x2950bc(_0x11d45e){const _0x2e958c=_0x564e;_0x11d45e[_0x2e958c(0x1e1)](_0x2e958c(0x33d));}function _0x1a167d(){const _0x1c1b99=_0x564e;!this['destroyed']&&this[_0x1c1b99(0x264)]['finished']&&this[_0x1c1b99(0x261)]();}function _0x35c1ad(_0x292ba0){const _0x2a1390=_0x564e;this[_0x2a1390(0x325)]('error',_0x35c1ad),this[_0x2a1390(0x261)](),this[_0x2a1390(0x25d)]('error')===0x0&&this[_0x2a1390(0x1e1)](_0x2a1390(0x1fd),_0x292ba0);}function _0x30cc85(_0x97ffb4,_0x3a51a5){const _0x36c158=_0x564e;let _0x501abb=!0x0;const _0x18e883=new _0x2042c5({..._0x3a51a5,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x97ffb4['on'](_0x36c158(0x1e0),function(_0x58f486,_0x1aa052){const _0x4bfdea=_0x36c158,_0x1234c0=!_0x1aa052&&_0x18e883[_0x4bfdea(0x1d6)]['objectMode']?_0x58f486[_0x4bfdea(0x30d)]():_0x58f486;_0x18e883[_0x4bfdea(0x271)](_0x1234c0)||_0x97ffb4['pause']();}),_0x97ffb4[_0x36c158(0x1c5)]('error',function(_0x3d61a9){const _0x24df30=_0x36c158;_0x18e883[_0x24df30(0x265)]||(_0x501abb=!0x1,_0x18e883[_0x24df30(0x261)](_0x3d61a9));}),_0x97ffb4['once'](_0x36c158(0x33d),function(){const _0x4a143e=_0x36c158;_0x18e883[_0x4a143e(0x265)]||_0x18e883['push'](null);}),_0x18e883[_0x36c158(0x226)]=function(_0x404a37,_0xd26f8){const _0x3f6185=_0x36c158;if(_0x97ffb4[_0x3f6185(0x259)]===_0x97ffb4[_0x3f6185(0x2aa)]){_0xd26f8(_0x404a37),process[_0x3f6185(0x1d1)](_0x2950bc,_0x18e883);return;}let _0x1f740d=!0x1;_0x97ffb4[_0x3f6185(0x1c5)]('error',function(_0x4909a0){_0x1f740d=!0x0,_0xd26f8(_0x4909a0);}),_0x97ffb4['once'](_0x3f6185(0x33d),function(){_0x1f740d||_0xd26f8(_0x404a37),process['nextTick'](_0x2950bc,_0x18e883);}),_0x501abb&&_0x97ffb4[_0x3f6185(0x198)]();},_0x18e883[_0x36c158(0x268)]=function(_0x1f21f1){const _0x570eb8=_0x36c158;if(_0x97ffb4[_0x570eb8(0x259)]===_0x97ffb4[_0x570eb8(0x2ea)]){_0x97ffb4[_0x570eb8(0x1c5)]('open',function(){const _0x1e1ed8=_0x570eb8;_0x18e883[_0x1e1ed8(0x268)](_0x1f21f1);});return;}_0x97ffb4['_socket']!==null&&(_0x97ffb4['_socket'][_0x570eb8(0x264)]['finished']?(_0x1f21f1(),_0x18e883[_0x570eb8(0x1d6)]['endEmitted']&&_0x18e883[_0x570eb8(0x261)]()):(_0x97ffb4[_0x570eb8(0x1fc)][_0x570eb8(0x1c5)](_0x570eb8(0x22a),function(){_0x1f21f1();}),_0x97ffb4['close']()));},_0x18e883[_0x36c158(0x307)]=function(){const _0x2bbf5d=_0x36c158;_0x97ffb4[_0x2bbf5d(0x2f1)]&&_0x97ffb4[_0x2bbf5d(0x1cc)]();},_0x18e883[_0x36c158(0x23d)]=function(_0x161129,_0x2646c7,_0x1ca2b8){const _0x4ee976=_0x36c158;if(_0x97ffb4['readyState']===_0x97ffb4['CONNECTING']){_0x97ffb4[_0x4ee976(0x1c5)](_0x4ee976(0x1a9),function(){const _0x28ee90=_0x4ee976;_0x18e883[_0x28ee90(0x23d)](_0x161129,_0x2646c7,_0x1ca2b8);});return;}_0x97ffb4[_0x4ee976(0x1ff)](_0x161129,_0x1ca2b8);},_0x18e883['on'](_0x36c158(0x329),_0x1a167d),_0x18e883['on'](_0x36c158(0x1fd),_0x35c1ad),_0x18e883;}return Oe=_0x30cc85,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x205b7e}=ne();function _0x44a791(_0x16da93){const _0x2fbcc2=_0x564e,_0x726556=new Set();let _0x325449=-0x1,_0x456db8=-0x1,_0xcc4a42=0x0;for(_0xcc4a42;_0xcc4a42<_0x16da93[_0x2fbcc2(0x2f4)];_0xcc4a42++){const _0x10f518=_0x16da93['charCodeAt'](_0xcc4a42);if(_0x456db8===-0x1&&_0x205b7e[_0x10f518]===0x1)_0x325449===-0x1&&(_0x325449=_0xcc4a42);else{if(_0xcc4a42!==0x0&&(_0x10f518===0x20||_0x10f518===0x9))_0x456db8===-0x1&&_0x325449!==-0x1&&(_0x456db8=_0xcc4a42);else{if(_0x10f518===0x2c){if(_0x325449===-0x1)throw new SyntaxError(_0x2fbcc2(0x1f5)+_0xcc4a42);_0x456db8===-0x1&&(_0x456db8=_0xcc4a42);const _0x24eac9=_0x16da93[_0x2fbcc2(0x2ac)](_0x325449,_0x456db8);if(_0x726556[_0x2fbcc2(0x24b)](_0x24eac9))throw new SyntaxError(_0x2fbcc2(0x2e5)+_0x24eac9+_0x2fbcc2(0x311));_0x726556[_0x2fbcc2(0x285)](_0x24eac9),_0x325449=_0x456db8=-0x1;}else throw new SyntaxError(_0x2fbcc2(0x1f5)+_0xcc4a42);}}}if(_0x325449===-0x1||_0x456db8!==-0x1)throw new SyntaxError(_0x2fbcc2(0x23c));const _0x4e2669=_0x16da93[_0x2fbcc2(0x2ac)](_0x325449,_0xcc4a42);if(_0x726556['has'](_0x4e2669))throw new SyntaxError(_0x2fbcc2(0x2e5)+_0x4e2669+'\x22\x20subprotocol\x20is\x20duplicated');return _0x726556['add'](_0x4e2669),_0x726556;}return Ce={'parse':_0x44a791},Ce;}var Te,ot;function er(){const _0x43b3b3=_0x196bfc;if(ot)return Te;ot=0x1;const _0x21bc68=_0x576eb1,_0x55864d=_0x4f3c9d,{Duplex:_0x180b44}=_0x43f44b,{createHash:_0x34f18f}=_0xb1da6e,_0x4506e6=pt(),_0x46ce7e=he(),_0x56563c=Jt(),_0x10cc7f=Ie(),{GUID:_0xa54041,kWebSocket:_0x1e164c}=V(),_0x4408c3=/^[+/0-9A-Za-z]{22}==$/,_0x384cbe=0x0,_0x39cd64=0x1,_0x24dc58=0x2;class _0x1f8fa9 extends _0x21bc68{constructor(_0x4e0c6d,_0x182f56){const _0x4e5c54=_0x564e;if(super(),_0x4e0c6d={'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':_0x10cc7f,..._0x4e0c6d},_0x4e0c6d['port']==null&&!_0x4e0c6d[_0x4e5c54(0x260)]&&!_0x4e0c6d['noServer']||_0x4e0c6d[_0x4e5c54(0x2a2)]!=null&&(_0x4e0c6d['server']||_0x4e0c6d['noServer'])||_0x4e0c6d[_0x4e5c54(0x260)]&&_0x4e0c6d[_0x4e5c54(0x227)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x4e0c6d[_0x4e5c54(0x2a2)]!=null?(this['_server']=_0x55864d[_0x4e5c54(0x309)]((_0x4e22ec,_0x2819e0)=>{const _0x45f800=_0x4e5c54,_0x5d0210=_0x55864d[_0x45f800(0x209)][0x1aa];_0x2819e0[_0x45f800(0x24e)](0x1aa,{'Content-Length':_0x5d0210['length'],'Content-Type':_0x45f800(0x341)}),_0x2819e0[_0x45f800(0x329)](_0x5d0210);}),this[_0x4e5c54(0x2fe)][_0x4e5c54(0x27d)](_0x4e0c6d['port'],_0x4e0c6d['host'],_0x4e0c6d[_0x4e5c54(0x2f7)],_0x182f56)):_0x4e0c6d[_0x4e5c54(0x260)]&&(this[_0x4e5c54(0x2fe)]=_0x4e0c6d[_0x4e5c54(0x260)]),this[_0x4e5c54(0x2fe)]){const _0x48c9dc=this[_0x4e5c54(0x1e1)][_0x4e5c54(0x2e2)](this,_0x4e5c54(0x233));this[_0x4e5c54(0x1bc)]=_0x5ac47e(this['_server'],{'listening':this[_0x4e5c54(0x1e1)]['bind'](this,_0x4e5c54(0x207)),'error':this['emit'][_0x4e5c54(0x2e2)](this,_0x4e5c54(0x1fd)),'upgrade':(_0x3ef527,_0x4f5bd2,_0x1d55be)=>{const _0x5b17c4=_0x4e5c54;this[_0x5b17c4(0x1e5)](_0x3ef527,_0x4f5bd2,_0x1d55be,_0x48c9dc);}});}_0x4e0c6d[_0x4e5c54(0x335)]===!0x0&&(_0x4e0c6d[_0x4e5c54(0x335)]={}),_0x4e0c6d[_0x4e5c54(0x24d)]&&(this[_0x4e5c54(0x238)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x4e5c54(0x202)]=_0x4e0c6d,this[_0x4e5c54(0x280)]=_0x384cbe;}[_0x43b3b3(0x2ec)](){const _0xf18624=_0x43b3b3;if(this['options'][_0xf18624(0x227)])throw new Error(_0xf18624(0x1ad));return this[_0xf18624(0x2fe)]?this[_0xf18624(0x2fe)][_0xf18624(0x2ec)]():null;}[_0x43b3b3(0x33d)](_0x5572af){const _0x2a3354=_0x43b3b3;if(this[_0x2a3354(0x280)]===_0x24dc58){_0x5572af&&this[_0x2a3354(0x1c5)]('close',()=>{const _0x3df1a6=_0x2a3354;_0x5572af(new Error(_0x3df1a6(0x223)));}),process[_0x2a3354(0x1d1)](_0xfdad5e,this);return;}if(_0x5572af&&this[_0x2a3354(0x1c5)](_0x2a3354(0x33d),_0x5572af),this[_0x2a3354(0x280)]!==_0x39cd64){if(this['_state']=_0x39cd64,this[_0x2a3354(0x202)][_0x2a3354(0x227)]||this['options']['server'])this['_server']&&(this[_0x2a3354(0x1bc)](),this[_0x2a3354(0x1bc)]=this[_0x2a3354(0x2fe)]=null),this['clients']?this[_0x2a3354(0x238)][_0x2a3354(0x33b)]?this[_0x2a3354(0x18f)]=!0x0:process['nextTick'](_0xfdad5e,this):process[_0x2a3354(0x1d1)](_0xfdad5e,this);else{const _0x182907=this['_server'];this['_removeListeners'](),this['_removeListeners']=this[_0x2a3354(0x2fe)]=null,_0x182907[_0x2a3354(0x33d)](()=>{_0xfdad5e(this);});}}}['shouldHandle'](_0x5c2c12){const _0x5ce407=_0x43b3b3;if(this[_0x5ce407(0x202)][_0x5ce407(0x262)]){const _0x5e773c=_0x5c2c12['url'][_0x5ce407(0x26d)]('?');if((_0x5e773c!==-0x1?_0x5c2c12['url'][_0x5ce407(0x2ac)](0x0,_0x5e773c):_0x5c2c12[_0x5ce407(0x1ae)])!==this['options'][_0x5ce407(0x262)])return!0x1;}return!0x0;}[_0x43b3b3(0x1e5)](_0x162690,_0x48422b,_0x1c50a6,_0xdfa08a){const _0x360c33=_0x43b3b3;_0x48422b['on'](_0x360c33(0x1fd),_0x47e6bc);const _0x564809=_0x162690[_0x360c33(0x25b)][_0x360c33(0x25a)],_0x261d87=_0x162690[_0x360c33(0x25b)]['upgrade'],_0xea8f66=+_0x162690[_0x360c33(0x25b)][_0x360c33(0x2b5)];if(_0x162690[_0x360c33(0x318)]!==_0x360c33(0x22c)){_0x4c4c32(this,_0x162690,_0x48422b,0x195,_0x360c33(0x1ee));return;}if(_0x261d87===void 0x0||_0x261d87[_0x360c33(0x327)]()!==_0x360c33(0x2ca)){_0x4c4c32(this,_0x162690,_0x48422b,0x190,_0x360c33(0x19c));return;}if(_0x564809===void 0x0||!_0x4408c3[_0x360c33(0x199)](_0x564809)){_0x4c4c32(this,_0x162690,_0x48422b,0x190,_0x360c33(0x21d));return;}if(_0xea8f66!==0x8&&_0xea8f66!==0xd){_0x4c4c32(this,_0x162690,_0x48422b,0x190,_0x360c33(0x315));return;}if(!this[_0x360c33(0x1f7)](_0x162690)){_0x2d60ed(_0x48422b,0x190);return;}const _0x587670=_0x162690[_0x360c33(0x25b)]['sec-websocket-protocol'];let _0x29c1cf=new Set();if(_0x587670!==void 0x0)try{_0x29c1cf=_0x56563c['parse'](_0x587670);}catch{_0x4c4c32(this,_0x162690,_0x48422b,0x190,_0x360c33(0x27f));return;}const _0x377ff1=_0x162690[_0x360c33(0x25b)]['sec-websocket-extensions'],_0x3e13ac={};if(this['options'][_0x360c33(0x335)]&&_0x377ff1!==void 0x0){const _0x59f7ef=new _0x46ce7e(this['options'][_0x360c33(0x335)],!0x0,this[_0x360c33(0x202)][_0x360c33(0x290)]);try{const _0xc9b710=_0x4506e6[_0x360c33(0x2a0)](_0x377ff1);_0xc9b710[_0x46ce7e['extensionName']]&&(_0x59f7ef[_0x360c33(0x2de)](_0xc9b710[_0x46ce7e['extensionName']]),_0x3e13ac[_0x46ce7e[_0x360c33(0x1eb)]]=_0x59f7ef);}catch{_0x4c4c32(this,_0x162690,_0x48422b,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x360c33(0x202)]['verifyClient']){const _0x284014={'origin':_0x162690[_0x360c33(0x25b)][''+(_0xea8f66===0x8?_0x360c33(0x270):_0x360c33(0x334))],'secure':!!(_0x162690['socket'][_0x360c33(0x1d7)]||_0x162690[_0x360c33(0x1e7)][_0x360c33(0x332)]),'req':_0x162690};if(this['options']['verifyClient'][_0x360c33(0x2f4)]===0x2){this[_0x360c33(0x202)]['verifyClient'](_0x284014,(_0x5d32bd,_0x36d08b,_0x279afd,_0x2fb08e)=>{if(!_0x5d32bd)return _0x2d60ed(_0x48422b,_0x36d08b||0x191,_0x279afd,_0x2fb08e);this['completeUpgrade'](_0x3e13ac,_0x564809,_0x29c1cf,_0x162690,_0x48422b,_0x1c50a6,_0xdfa08a);});return;}if(!this['options'][_0x360c33(0x23e)](_0x284014))return _0x2d60ed(_0x48422b,0x191);}this[_0x360c33(0x217)](_0x3e13ac,_0x564809,_0x29c1cf,_0x162690,_0x48422b,_0x1c50a6,_0xdfa08a);}[_0x43b3b3(0x217)](_0x53ca5a,_0x201ad3,_0x5733f1,_0x5ccc02,_0x2e2584,_0x227741,_0x4b6640){const _0x3043e2=_0x43b3b3;if(!_0x2e2584[_0x3043e2(0x279)]||!_0x2e2584[_0x3043e2(0x19a)])return _0x2e2584[_0x3043e2(0x261)]();if(_0x2e2584[_0x1e164c])throw new Error(_0x3043e2(0x273));if(this['_state']>_0x384cbe)return _0x2d60ed(_0x2e2584,0x1f7);const _0x49de69=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x3043e2(0x214),'Connection:\x20Upgrade','Sec-WebSocket-Accept:\x20'+_0x34f18f(_0x3043e2(0x2c2))['update'](_0x201ad3+_0xa54041)['digest'](_0x3043e2(0x2d7))],_0xd6b716=new this[(_0x3043e2(0x202))]['WebSocket'](null,void 0x0,this['options']);if(_0x5733f1['size']){const _0x258622=this['options'][_0x3043e2(0x283)]?this['options']['handleProtocols'](_0x5733f1,_0x5ccc02):_0x5733f1[_0x3043e2(0x2c1)]()['next']()[_0x3043e2(0x2c7)];_0x258622&&(_0x49de69[_0x3043e2(0x271)]('Sec-WebSocket-Protocol:\x20'+_0x258622),_0xd6b716[_0x3043e2(0x249)]=_0x258622);}if(_0x53ca5a[_0x46ce7e[_0x3043e2(0x1eb)]]){const _0x12743c=_0x53ca5a[_0x46ce7e[_0x3043e2(0x1eb)]][_0x3043e2(0x295)],_0x54549c=_0x4506e6[_0x3043e2(0x31d)]({[_0x46ce7e[_0x3043e2(0x1eb)]]:[_0x12743c]});_0x49de69['push'](_0x3043e2(0x1cf)+_0x54549c),_0xd6b716['_extensions']=_0x53ca5a;}this[_0x3043e2(0x1e1)](_0x3043e2(0x25b),_0x49de69,_0x5ccc02),_0x2e2584[_0x3043e2(0x2b1)](_0x49de69['concat']('\x0d\x0a')[_0x3043e2(0x26c)]('\x0d\x0a')),_0x2e2584[_0x3043e2(0x325)](_0x3043e2(0x1fd),_0x47e6bc),_0xd6b716[_0x3043e2(0x23f)](_0x2e2584,_0x227741,{'allowSynchronousEvents':this[_0x3043e2(0x202)][_0x3043e2(0x1d3)],'maxPayload':this[_0x3043e2(0x202)]['maxPayload'],'skipUTF8Validation':this[_0x3043e2(0x202)][_0x3043e2(0x2bd)]}),this[_0x3043e2(0x238)]&&(this['clients'][_0x3043e2(0x285)](_0xd6b716),_0xd6b716['on'](_0x3043e2(0x33d),()=>{const _0x5dfa44=_0x3043e2;this['clients'][_0x5dfa44(0x1fb)](_0xd6b716),this['_shouldEmitClose']&&!this[_0x5dfa44(0x238)][_0x5dfa44(0x33b)]&&process[_0x5dfa44(0x1d1)](_0xfdad5e,this);})),_0x4b6640(_0xd6b716,_0x5ccc02);}}Te=_0x1f8fa9;function _0x5ac47e(_0x33954d,_0x10c1fc){const _0x4122f7=_0x43b3b3;for(const _0x843594 of Object[_0x4122f7(0x1fa)](_0x10c1fc))_0x33954d['on'](_0x843594,_0x10c1fc[_0x843594]);return function(){const _0x1b0361=_0x4122f7;for(const _0x124234 of Object[_0x1b0361(0x1fa)](_0x10c1fc))_0x33954d[_0x1b0361(0x325)](_0x124234,_0x10c1fc[_0x124234]);};}function _0xfdad5e(_0x97e29a){const _0x4004b9=_0x43b3b3;_0x97e29a[_0x4004b9(0x280)]=_0x24dc58,_0x97e29a[_0x4004b9(0x1e1)](_0x4004b9(0x33d));}function _0x47e6bc(){const _0x5c3fd7=_0x43b3b3;this[_0x5c3fd7(0x261)]();}function _0x2d60ed(_0x59937c,_0x5b6415,_0x9bc697,_0xc4274d){const _0x43a00e=_0x43b3b3;_0x9bc697=_0x9bc697||_0x55864d['STATUS_CODES'][_0x5b6415],_0xc4274d={'Connection':'close','Content-Type':_0x43a00e(0x1e3),'Content-Length':Buffer[_0x43a00e(0x2e8)](_0x9bc697),..._0xc4274d},_0x59937c['once'](_0x43a00e(0x22a),_0x59937c[_0x43a00e(0x261)]),_0x59937c['end'](_0x43a00e(0x337)+_0x5b6415+'\x20'+_0x55864d['STATUS_CODES'][_0x5b6415]+'\x0d\x0a'+Object['keys'](_0xc4274d)['map'](_0x3d193e=>_0x3d193e+':\x20'+_0xc4274d[_0x3d193e])[_0x43a00e(0x26c)]('\x0d\x0a')+_0x43a00e(0x19b)+_0x9bc697);}function _0x4c4c32(_0x457387,_0x14fd22,_0x5e99e9,_0x30cf90,_0x130943){const _0x4e957d=_0x43b3b3;if(_0x457387[_0x4e957d(0x25d)](_0x4e957d(0x2a7))){const _0x3f80af=new Error(_0x130943);Error[_0x4e957d(0x2b7)](_0x3f80af,_0x4c4c32),_0x457387['emit'](_0x4e957d(0x2a7),_0x3f80af,_0x5e99e9,_0x14fd22);}else _0x2d60ed(_0x5e99e9,_0x30cf90,_0x130943);}return Te;}er();var tr=Object[_0x196bfc(0x1ed)],rr=(_0x49cee3,_0x1aec55,_0xee3c49,_0x4207b9)=>{const _0x3ec6ab=_0x196bfc;for(var _0x73a69f=_0x4207b9>0x1?void 0x0:_0x4207b9?tr(_0x1aec55,_0xee3c49):_0x1aec55,_0x52eac0=_0x49cee3[_0x3ec6ab(0x2f4)]-0x1,_0x919dfc;_0x52eac0>=0x0;_0x52eac0--)(_0x919dfc=_0x49cee3[_0x52eac0])&&(_0x73a69f=_0x919dfc(_0x73a69f)||_0x73a69f);return _0x73a69f;},sr=(_0x5ff663,_0x146a58)=>(_0x2ed2a3,_0x3fa2f8)=>_0x146a58(_0x2ed2a3,_0x3fa2f8,_0x5ff663);let Ne=class extends _0x17bb67{constructor(_0x536f37){const _0x5b21bb=_0x196bfc;super(),this[_0x5b21bb(0x225)]=_0x536f37;}[_0x196bfc(0x25f)](_0x1d5857){const _0x387ba9=_0x196bfc;var _0x17666a;const _0x18c421=(_0x17666a=this['_configService'][_0x387ba9(0x1b3)](Be))==null?void 0x0:_0x17666a[_0x387ba9(0x1e2)];try{const _0x4acff8=new Qt(_0x1d5857,{'headers':{..._0x18c421}}),_0x340e52=new _0x4417e8();return{'URL':_0x1d5857,'close':(_0x567ec9,_0x47f08e)=>{const _0x4eb8bb=_0x387ba9;_0x4acff8['close'](_0x567ec9,_0x47f08e),_0x340e52[_0x4eb8bb(0x22b)]();},'send':_0x9400f8=>{const _0x1fd3ed=_0x387ba9;_0x4acff8[_0x1fd3ed(0x1ff)](_0x9400f8);},'open$':new _0x498a9d(_0x33ecc9=>{const _0x233f5c=_0x387ba9,_0x58b464=_0x32de4e=>_0x33ecc9[_0x233f5c(0x2ad)](_0x32de4e);_0x4acff8[_0x233f5c(0x2ce)](_0x233f5c(0x1a9),_0x58b464),_0x340e52[_0x233f5c(0x285)](_0x49ff1c(()=>_0x4acff8[_0x233f5c(0x2e7)](_0x233f5c(0x1a9),_0x58b464)));})[_0x387ba9(0x236)](_0x429184()),'close$':new _0x498a9d(_0x26c54f=>{const _0x203b2c=_0x387ba9,_0x55d88e=_0x1eeeac=>_0x26c54f[_0x203b2c(0x2ad)](_0x1eeeac);_0x4acff8['addEventListener'](_0x203b2c(0x33d),_0x55d88e),_0x340e52[_0x203b2c(0x285)](_0x49ff1c(()=>_0x4acff8[_0x203b2c(0x2e7)](_0x203b2c(0x33d),_0x55d88e)));})[_0x387ba9(0x236)](_0x429184()),'error$':new _0x498a9d(_0x1e1c08=>{const _0x58f4d6=_0x387ba9,_0x354d4d=_0x4e47b5=>_0x1e1c08['next'](_0x4e47b5);_0x4acff8['addEventListener'](_0x58f4d6(0x1fd),_0x354d4d),_0x340e52[_0x58f4d6(0x285)](_0x49ff1c(()=>_0x4acff8['removeEventListener'](_0x58f4d6(0x1fd),_0x354d4d)));})[_0x387ba9(0x236)](_0x429184()),'message$':new _0x498a9d(_0x4b7c8e=>{const _0x359f16=_0x387ba9,_0x42b4fa=_0x392f73=>_0x4b7c8e[_0x359f16(0x2ad)](_0x392f73);_0x4acff8['addEventListener'](_0x359f16(0x1e0),_0x42b4fa),_0x340e52[_0x359f16(0x285)](_0x49ff1c(()=>_0x4acff8['removeEventListener']('message',_0x42b4fa)));})['pipe'](_0x429184())};}catch(_0x1424cb){return console[_0x387ba9(0x1fd)](_0x1424cb),null;}}};Ne=rr([sr(0x0,_0x1de241)],Ne);var ir=Object['defineProperty'],nr=Object['getOwnPropertyDescriptor'],or=(_0x2121db,_0x4216e2,_0x10f76b)=>_0x4216e2 in _0x2121db?ir(_0x2121db,_0x4216e2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x10f76b}):_0x2121db[_0x4216e2]=_0x10f76b,ar=(_0x4ade1a,_0x1e1e15,_0x3dc0d9,_0x9b91b9)=>{const _0x8765ad=_0x196bfc;for(var _0x3823d8=_0x9b91b9>0x1?void 0x0:_0x9b91b9?nr(_0x1e1e15,_0x3dc0d9):_0x1e1e15,_0x3ccec1=_0x4ade1a[_0x8765ad(0x2f4)]-0x1,_0x1a6c0b;_0x3ccec1>=0x0;_0x3ccec1--)(_0x1a6c0b=_0x4ade1a[_0x3ccec1])&&(_0x3823d8=_0x1a6c0b(_0x3823d8)||_0x3823d8);return _0x3823d8;},ke=(_0x4c4127,_0x4b78c8)=>(_0x1062d9,_0xbcab7f)=>_0x4b78c8(_0x1062d9,_0xbcab7f,_0x4c4127),lr=(_0x582835,_0x3298e0,_0x340a1a)=>or(_0x582835,_0x3298e0+'',_0x340a1a);let Pe=class extends _0x531eb0{constructor(_0x492905=Ft,_0x5b18aa,_0x144779,_0x24753c){const _0x353d4c=_0x196bfc;_0x492905[_0x353d4c(0x1e2)]||_0x5b18aa[_0x353d4c(0x2c9)](_0x353d4c(0x2d0)),super(),this[_0x353d4c(0x225)]=_0x144779,this[_0x353d4c(0x1b8)]=_0x24753c,this[_0x353d4c(0x225)][_0x353d4c(0x26b)](Be,_0x492905);}['onStarting'](){const _0x56a916=_0x196bfc;this[_0x56a916(0x31c)]();}[_0x196bfc(0x31c)](){const _0x30de5c=_0x196bfc;_0x43f546(this[_0x30de5c(0x1b8)],[[_0x484ae9,{'useClass':Ne}]]);}};lr(Pe,_0x196bfc(0x2d6),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x156cbd(_0x1c76a3),ke(0x1,_0x32dfc8),ke(0x2,_0x1de241),ke(0x3,_0x2974fb(_0x5eebe7))],Pe);var fr=Object[_0x196bfc(0x1ed)],cr=(_0x85cc02,_0x59320e,_0x39eb84,_0x2e1749)=>{for(var _0x1bb446=_0x2e1749>0x1?void 0x0:_0x2e1749?fr(_0x59320e,_0x39eb84):_0x59320e,_0x1a808f=_0x85cc02['length']-0x1,_0x510bca;_0x1a808f>=0x0;_0x1a808f--)(_0x510bca=_0x85cc02[_0x1a808f])&&(_0x1bb446=_0x510bca(_0x1bb446)||_0x1bb446);return _0x1bb446;},se=(_0x1451eb,_0x424f4d)=>(_0x42371f,_0x2e2ccf)=>_0x424f4d(_0x42371f,_0x2e2ccf,_0x1451eb);let at=class extends _0xf906d5{constructor(_0x4dd01f,_0xd6eff2,_0x25fb3c,_0x25b4a4,_0x4c859d){const _0x4bf9fd=_0x196bfc;super(_0x4dd01f,_0xd6eff2,_0x25fb3c,_0x25b4a4,_0x4c859d);const _0x1beacf=this[_0x4bf9fd(0x225)][_0x4bf9fd(0x1b3)](Be);this[_0x4bf9fd(0x211)]['registerHTTPInterceptor']({'interceptor':(_0x171d96,_0x46f257)=>{const _0x2287f2=_0x4bf9fd;var _0x5b3c83;const _0x1a4989=_0x171d96[_0x2287f2(0x25b)];return(_0x5b3c83=_0x1beacf==null?void 0x0:_0x1beacf[_0x2287f2(0x1e2)])!=null&&_0x5b3c83[_0x2287f2(0x1b6)]&&_0x1a4989[_0x2287f2(0x24a)](_0x2287f2(0x2a3),_0x1beacf['customHeaders'][_0x2287f2(0x1b6)]),_0x46f257(_0x171d96);}});}async[_0x196bfc(0x25f)](_0x59144d){return this['_doCreateSocket'](_0x59144d);}};at=cr([se(0x0,_0x2974fb(_0x5eebe7)),se(0x1,_0x2974fb(_0x542bd9)),se(0x2,_0x1de241),se(0x3,_0x32dfc8),se(0x4,_0x3ef5dd)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|