@univerjs-pro/collaboration-client-node 0.6.10-experimental.20250421-e4eb9bc → 0.6.10-experimental.20250424-9e348ed

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x33e2b7=_0x4dda;(function(_0x47cc7c,_0x13672f){const _0x407560=_0x4dda,_0x231d94=_0x47cc7c();while(!![]){try{const _0x317bc0=-parseInt(_0x407560(0x286))/0x1+-parseInt(_0x407560(0x2aa))/0x2+parseInt(_0x407560(0x23a))/0x3+-parseInt(_0x407560(0x2a9))/0x4*(-parseInt(_0x407560(0x294))/0x5)+parseInt(_0x407560(0x35a))/0x6+parseInt(_0x407560(0x1e8))/0x7+parseInt(_0x407560(0x224))/0x8;if(_0x317bc0===_0x13672f)break;else _0x231d94['push'](_0x231d94['shift']());}catch(_0x6f44e8){_0x231d94['push'](_0x231d94['shift']());}}}(_0xe3de,0x7c207));import{UniverCollaborationClientPlugin as _0x19bf78,CollaborationSocketService as _0x54f0a4}from'@univerjs-pro/collaboration-client';import{Disposable as _0x5ada07,DisposableCollection as _0x4f436f,toDisposable as _0x6009b2,IConfigService as _0x648cd0,DependentOn as _0x31118c,ILogService as _0x538d95,Inject as _0x489be8,Injector as _0x374e48,Plugin as _0x5c0543,registerDependencies as _0x13278e}from'@univerjs/core';import{ISocketService as _0x31f8bb,HTTPService as _0x1089ee}from'@univerjs/network';import{Observable as _0x5c071e,share as _0x27b70e}from'rxjs';import _0x56aa6b from'events';import _0x2a23af from'https';import _0x50529f from'http';import _0x36fcf6 from'net';import _0x36d7f8 from'tls';import _0x1a6262 from'crypto';import _0x4c524e from'stream';import _0x21c0fd from'url';import _0x9eac69 from'zlib';import _0x530928 from'buffer';import{ISnapshotServerService as _0x728ac2}from'@univerjs-pro/collaboration';const Be=_0x33e2b7(0x231),Ft={'customHeaders':{}};function jt(_0x58647e){const _0x106f7e=_0x33e2b7;return _0x58647e&&_0x58647e[_0x106f7e(0x2a0)]&&Object[_0x106f7e(0x2a3)][_0x106f7e(0x229)][_0x106f7e(0x25d)](_0x58647e,'default')?_0x58647e[_0x106f7e(0x34a)]:_0x58647e;}function _0x4dda(_0x3da6e0,_0xcbc459){const _0xe3de67=_0xe3de();return _0x4dda=function(_0x4dda63,_0x369851){_0x4dda63=_0x4dda63-0x1ab;let _0x3ee9ec=_0xe3de67[_0x4dda63];return _0x3ee9ec;},_0x4dda(_0x3da6e0,_0xcbc459);}function ut(_0x5456ad){const _0x45c41d=_0x33e2b7;if(Object[_0x45c41d(0x2a3)][_0x45c41d(0x229)][_0x45c41d(0x25d)](_0x5456ad,_0x45c41d(0x2a0)))return _0x5456ad;var _0xfcdf29=_0x5456ad['default'];if(typeof _0xfcdf29==_0x45c41d(0x21d)){var _0x211ed2=function _0x15e044(){const _0x2f2c80=_0x45c41d;return this instanceof _0x15e044?Reflect['construct'](_0xfcdf29,arguments,this[_0x2f2c80(0x1b8)]):_0xfcdf29[_0x2f2c80(0x1d7)](this,arguments);};_0x211ed2[_0x45c41d(0x2a3)]=_0xfcdf29['prototype'];}else _0x211ed2={};return Object[_0x45c41d(0x349)](_0x211ed2,_0x45c41d(0x2a0),{'value':!0x0}),Object[_0x45c41d(0x1d2)](_0x5456ad)['forEach'](function(_0x2aea1c){const _0x1912be=_0x45c41d;var _0x1f56da=Object['getOwnPropertyDescriptor'](_0x5456ad,_0x2aea1c);Object[_0x1912be(0x349)](_0x211ed2,_0x2aea1c,_0x1f56da[_0x1912be(0x327)]?_0x1f56da:{'enumerable':!0x0,'get':function(){return _0x5456ad[_0x2aea1c];}});}),_0x211ed2;}var te={'exports':{}},ge,Ye;function V(){const _0x2328e3=_0x33e2b7;if(Ye)return ge;Ye=0x1;const _0x561c2f=[_0x2328e3(0x292),_0x2328e3(0x27f),_0x2328e3(0x201)],_0xd886ed=typeof Blob<'u';return _0xd886ed&&_0x561c2f[_0x2328e3(0x205)](_0x2328e3(0x2d0)),ge={'BINARY_TYPES':_0x561c2f,'EMPTY_BUFFER':Buffer[_0x2328e3(0x200)](0x0),'GUID':_0x2328e3(0x1fb),'hasBlob':_0xd886ed,'kForOnEventAttribute':Symbol(_0x2328e3(0x2c8)),'kListener':Symbol(_0x2328e3(0x1d1)),'kStatusCode':Symbol(_0x2328e3(0x257)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x33e2b7(0x203)](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol[_0x33e2b7(0x1b2)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x3ed46e=_0x33e2b7;if(Ke)return te[_0x3ed46e(0x299)];Ke=0x1;const {EMPTY_BUFFER:_0x303e29}=V(),_0xaa9b4d=Buffer[Symbol[_0x3ed46e(0x1ce)]];function _0xe85494(_0x3dd08a,_0x276202){const _0x53d15b=_0x3ed46e;if(_0x3dd08a[_0x53d15b(0x2ee)]===0x0)return _0x303e29;if(_0x3dd08a[_0x53d15b(0x2ee)]===0x1)return _0x3dd08a[0x0];const _0xc2b96c=Buffer[_0x53d15b(0x243)](_0x276202);let _0x16aaee=0x0;for(let _0xcac145=0x0;_0xcac145<_0x3dd08a[_0x53d15b(0x2ee)];_0xcac145++){const _0xc3eab5=_0x3dd08a[_0xcac145];_0xc2b96c[_0x53d15b(0x1f4)](_0xc3eab5,_0x16aaee),_0x16aaee+=_0xc3eab5[_0x53d15b(0x2ee)];}return _0x16aaee<_0x276202?new _0xaa9b4d(_0xc2b96c['buffer'],_0xc2b96c['byteOffset'],_0x16aaee):_0xc2b96c;}function _0x161ae7(_0x3b6d7e,_0x26e42a,_0x313ae6,_0x2a94db,_0x64dfc3){for(let _0x1188af=0x0;_0x1188af<_0x64dfc3;_0x1188af++)_0x313ae6[_0x2a94db+_0x1188af]=_0x3b6d7e[_0x1188af]^_0x26e42a[_0x1188af&0x3];}function _0x25f44e(_0x5d3386,_0x34a030){const _0x374390=_0x3ed46e;for(let _0xef65c3=0x0;_0xef65c3<_0x5d3386[_0x374390(0x2ee)];_0xef65c3++)_0x5d3386[_0xef65c3]^=_0x34a030[_0xef65c3&0x3];}function _0x134144(_0x49eacc){const _0x57b2d6=_0x3ed46e;return _0x49eacc['length']===_0x49eacc[_0x57b2d6(0x2cd)][_0x57b2d6(0x2ed)]?_0x49eacc[_0x57b2d6(0x2cd)]:_0x49eacc[_0x57b2d6(0x2cd)][_0x57b2d6(0x335)](_0x49eacc['byteOffset'],_0x49eacc['byteOffset']+_0x49eacc[_0x57b2d6(0x2ee)]);}function _0x11a26a(_0x3cb83b){const _0x31eda9=_0x3ed46e;if(_0x11a26a[_0x31eda9(0x30e)]=!0x0,Buffer[_0x31eda9(0x2a8)](_0x3cb83b))return _0x3cb83b;let _0x16e407;return _0x3cb83b instanceof ArrayBuffer?_0x16e407=new _0xaa9b4d(_0x3cb83b):ArrayBuffer[_0x31eda9(0x251)](_0x3cb83b)?_0x16e407=new _0xaa9b4d(_0x3cb83b[_0x31eda9(0x2cd)],_0x3cb83b[_0x31eda9(0x1f0)],_0x3cb83b[_0x31eda9(0x2ed)]):(_0x16e407=Buffer[_0x31eda9(0x27c)](_0x3cb83b),_0x11a26a[_0x31eda9(0x30e)]=!0x1),_0x16e407;}if(te['exports']={'concat':_0xe85494,'mask':_0x161ae7,'toArrayBuffer':_0x134144,'toBuffer':_0x11a26a,'unmask':_0x25f44e},!process[_0x3ed46e(0x23f)]['WS_NO_BUFFER_UTIL'])try{const _0x2698bb=Vt;te[_0x3ed46e(0x299)][_0x3ed46e(0x2ce)]=function(_0x215068,_0x2b0b9d,_0x23d4fb,_0x3c07b7,_0x4a17d9){const _0xcf9f2f=_0x3ed46e;_0x4a17d9<0x30?_0x161ae7(_0x215068,_0x2b0b9d,_0x23d4fb,_0x3c07b7,_0x4a17d9):_0x2698bb[_0xcf9f2f(0x2ce)](_0x215068,_0x2b0b9d,_0x23d4fb,_0x3c07b7,_0x4a17d9);},te[_0x3ed46e(0x299)][_0x3ed46e(0x207)]=function(_0x4bbf52,_0xc5c625){_0x4bbf52['length']<0x20?_0x25f44e(_0x4bbf52,_0xc5c625):_0x2698bb['unmask'](_0x4bbf52,_0xc5c625);};}catch{}return te[_0x3ed46e(0x299)];}var ye,Xe;function qt(){const _0x47fe53=_0x33e2b7;if(Xe)return ye;Xe=0x1;const _0x555cbd=Symbol(_0x47fe53(0x245)),_0x30a6b4=Symbol(_0x47fe53(0x2af));class _0x306601{constructor(_0x60cd8){const _0x3aadc6=_0x47fe53;this[_0x555cbd]=()=>{this['pending']--,this[_0x30a6b4]();},this['concurrency']=_0x60cd8||0x1/0x0,this[_0x3aadc6(0x2ec)]=[],this[_0x3aadc6(0x2da)]=0x0;}[_0x47fe53(0x2ea)](_0xe36518){const _0x4f11a4=_0x47fe53;this[_0x4f11a4(0x2ec)][_0x4f11a4(0x205)](_0xe36518),this[_0x30a6b4]();}[_0x30a6b4](){const _0x58d949=_0x47fe53;if(this[_0x58d949(0x2da)]!==this['concurrency']&&this[_0x58d949(0x2ec)][_0x58d949(0x2ee)]){const _0x537b6b=this[_0x58d949(0x2ec)][_0x58d949(0x26b)]();this['pending']++,_0x537b6b(this[_0x555cbd]);}}}return ye=_0x306601,ye;}var ve,Ze;function he(){const _0x45c359=_0x33e2b7;if(Ze)return ve;Ze=0x1;const _0x3d70ee=_0x9eac69,_0x492a9f=ce(),_0x2aea59=qt(),{kStatusCode:_0x2a3464}=V(),_0x4f65a1=Buffer[Symbol[_0x45c359(0x1ce)]],_0x469e32=Buffer['from']([0x0,0x0,0xff,0xff]),_0x2d99e0=Symbol(_0x45c359(0x214)),_0x3e57de=Symbol(_0x45c359(0x340)),_0x35587d=Symbol(_0x45c359(0x2ba)),_0x3d5bd5=Symbol(_0x45c359(0x1cc)),_0x444b08=Symbol('error');let _0x549de1;class _0x559772{constructor(_0x56de78,_0x57c6d9,_0xcb047b){const _0x58f9a9=_0x45c359;if(this['_maxPayload']=_0xcb047b|0x0,this['_options']=_0x56de78||{},this[_0x58f9a9(0x227)]=this[_0x58f9a9(0x283)]['threshold']!==void 0x0?this[_0x58f9a9(0x283)][_0x58f9a9(0x32e)]:0x400,this[_0x58f9a9(0x342)]=!!_0x57c6d9,this['_deflate']=null,this[_0x58f9a9(0x1ff)]=null,this[_0x58f9a9(0x288)]=null,!_0x549de1){const _0x6b7c1e=this[_0x58f9a9(0x283)][_0x58f9a9(0x2c3)]!==void 0x0?this[_0x58f9a9(0x283)][_0x58f9a9(0x2c3)]:0xa;_0x549de1=new _0x2aea59(_0x6b7c1e);}}static get['extensionName'](){const _0x456137=_0x45c359;return _0x456137(0x214);}[_0x45c359(0x242)](){const _0x20d230=_0x45c359,_0x12d4c4={};return this[_0x20d230(0x283)][_0x20d230(0x359)]&&(_0x12d4c4[_0x20d230(0x1be)]=!0x0),this[_0x20d230(0x283)][_0x20d230(0x2fe)]&&(_0x12d4c4[_0x20d230(0x33b)]=!0x0),this['_options'][_0x20d230(0x32c)]&&(_0x12d4c4[_0x20d230(0x330)]=this[_0x20d230(0x283)][_0x20d230(0x32c)]),this['_options'][_0x20d230(0x31c)]?_0x12d4c4[_0x20d230(0x350)]=this[_0x20d230(0x283)][_0x20d230(0x31c)]:this[_0x20d230(0x283)]['clientMaxWindowBits']==null&&(_0x12d4c4['client_max_window_bits']=!0x0),_0x12d4c4;}['accept'](_0x175109){const _0x5d5afc=_0x45c359;return _0x175109=this[_0x5d5afc(0x2f7)](_0x175109),this[_0x5d5afc(0x288)]=this['_isServer']?this[_0x5d5afc(0x2de)](_0x175109):this[_0x5d5afc(0x2e3)](_0x175109),this[_0x5d5afc(0x288)];}['cleanup'](){const _0x5df555=_0x45c359;if(this[_0x5df555(0x1ff)]&&(this[_0x5df555(0x1ff)][_0x5df555(0x21b)](),this[_0x5df555(0x1ff)]=null),this[_0x5df555(0x1ad)]){const _0x383ef5=this[_0x5df555(0x1ad)][_0x35587d];this[_0x5df555(0x1ad)]['close'](),this[_0x5df555(0x1ad)]=null,_0x383ef5&&_0x383ef5(new Error(_0x5df555(0x1e1)));}}['acceptAsServer'](_0x2fd2bf){const _0x400220=_0x45c359,_0x505a17=this[_0x400220(0x283)],_0x11e25d=_0x2fd2bf['find'](_0x26160c=>!(_0x505a17[_0x400220(0x359)]===!0x1&&_0x26160c[_0x400220(0x1be)]||_0x26160c[_0x400220(0x330)]&&(_0x505a17[_0x400220(0x32c)]===!0x1||typeof _0x505a17[_0x400220(0x32c)]=='number'&&_0x505a17[_0x400220(0x32c)]>_0x26160c[_0x400220(0x330)])||typeof _0x505a17[_0x400220(0x31c)]=='number'&&!_0x26160c[_0x400220(0x350)]));if(!_0x11e25d)throw new Error(_0x400220(0x240));return _0x505a17[_0x400220(0x359)]&&(_0x11e25d[_0x400220(0x1be)]=!0x0),_0x505a17['clientNoContextTakeover']&&(_0x11e25d[_0x400220(0x33b)]=!0x0),typeof _0x505a17[_0x400220(0x32c)]==_0x400220(0x331)&&(_0x11e25d[_0x400220(0x330)]=_0x505a17['serverMaxWindowBits']),typeof _0x505a17[_0x400220(0x31c)]==_0x400220(0x331)?_0x11e25d[_0x400220(0x350)]=_0x505a17[_0x400220(0x31c)]:(_0x11e25d['client_max_window_bits']===!0x0||_0x505a17[_0x400220(0x31c)]===!0x1)&&delete _0x11e25d[_0x400220(0x350)],_0x11e25d;}['acceptAsClient'](_0x3128ca){const _0x193fd5=_0x45c359,_0xe3ceb7=_0x3128ca[0x0];if(this[_0x193fd5(0x283)][_0x193fd5(0x2fe)]===!0x1&&_0xe3ceb7[_0x193fd5(0x33b)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0xe3ceb7[_0x193fd5(0x350)])typeof this['_options'][_0x193fd5(0x31c)]==_0x193fd5(0x331)&&(_0xe3ceb7[_0x193fd5(0x350)]=this[_0x193fd5(0x283)]['clientMaxWindowBits']);else{if(this[_0x193fd5(0x283)][_0x193fd5(0x31c)]===!0x1||typeof this[_0x193fd5(0x283)][_0x193fd5(0x31c)]=='number'&&_0xe3ceb7['client_max_window_bits']>this[_0x193fd5(0x283)]['clientMaxWindowBits'])throw new Error(_0x193fd5(0x1dd));}return _0xe3ceb7;}[_0x45c359(0x2f7)](_0x47827b){const _0x3d3d6c=_0x45c359;return _0x47827b[_0x3d3d6c(0x298)](_0x461508=>{const _0x320eb2=_0x3d3d6c;Object[_0x320eb2(0x1d2)](_0x461508)[_0x320eb2(0x298)](_0x44a62a=>{const _0x3f4c65=_0x320eb2;let _0x2fafc1=_0x461508[_0x44a62a];if(_0x2fafc1[_0x3f4c65(0x2ee)]>0x1)throw new Error('Parameter\x20\x22'+_0x44a62a+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x2fafc1=_0x2fafc1[0x0],_0x44a62a===_0x3f4c65(0x350)){if(_0x2fafc1!==!0x0){const _0x5a28fa=+_0x2fafc1;if(!Number[_0x3f4c65(0x26c)](_0x5a28fa)||_0x5a28fa<0x8||_0x5a28fa>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x44a62a+_0x3f4c65(0x345)+_0x2fafc1);_0x2fafc1=_0x5a28fa;}else{if(!this['_isServer'])throw new TypeError(_0x3f4c65(0x1ca)+_0x44a62a+_0x3f4c65(0x345)+_0x2fafc1);}}else{if(_0x44a62a===_0x3f4c65(0x330)){const _0x1542fc=+_0x2fafc1;if(!Number[_0x3f4c65(0x26c)](_0x1542fc)||_0x1542fc<0x8||_0x1542fc>0xf)throw new TypeError(_0x3f4c65(0x1ca)+_0x44a62a+_0x3f4c65(0x345)+_0x2fafc1);_0x2fafc1=_0x1542fc;}else{if(_0x44a62a===_0x3f4c65(0x33b)||_0x44a62a===_0x3f4c65(0x1be)){if(_0x2fafc1!==!0x0)throw new TypeError(_0x3f4c65(0x1ca)+_0x44a62a+'\x22:\x20'+_0x2fafc1);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x44a62a+'\x22');}}_0x461508[_0x44a62a]=_0x2fafc1;});}),_0x47827b;}[_0x45c359(0x2db)](_0x27019d,_0x3c2b92,_0xba18fb){const _0x1c127e=_0x45c359;_0x549de1[_0x1c127e(0x2ea)](_0x56babf=>{const _0x3f2faa=_0x1c127e;this[_0x3f2faa(0x338)](_0x27019d,_0x3c2b92,(_0x49d5c9,_0x34f7ed)=>{_0x56babf(),_0xba18fb(_0x49d5c9,_0x34f7ed);});});}[_0x45c359(0x2d1)](_0x555d21,_0x19a69a,_0x82f0b6){_0x549de1['add'](_0x36e118=>{const _0x32b138=_0x4dda;this[_0x32b138(0x306)](_0x555d21,_0x19a69a,(_0x55d2a4,_0x49210a)=>{_0x36e118(),_0x82f0b6(_0x55d2a4,_0x49210a);});});}[_0x45c359(0x338)](_0x26957c,_0x3d120e,_0x28fa57){const _0x2313e9=_0x45c359,_0x30b10a=this['_isServer']?_0x2313e9(0x1da):_0x2313e9(0x249);if(!this['_inflate']){const _0x14c709=_0x30b10a+'_max_window_bits',_0x2c125a=typeof this[_0x2313e9(0x288)][_0x14c709]!=_0x2313e9(0x331)?_0x3d70ee[_0x2313e9(0x27d)]:this['params'][_0x14c709];this[_0x2313e9(0x1ff)]=_0x3d70ee[_0x2313e9(0x35d)]({...this[_0x2313e9(0x283)][_0x2313e9(0x312)],'windowBits':_0x2c125a}),this[_0x2313e9(0x1ff)][_0x2d99e0]=this,this[_0x2313e9(0x1ff)][_0x3e57de]=0x0,this[_0x2313e9(0x1ff)][_0x3d5bd5]=[],this['_inflate']['on']('error',_0x4da11f),this['_inflate']['on'](_0x2313e9(0x1d8),_0x148575);}this['_inflate'][_0x35587d]=_0x28fa57,this[_0x2313e9(0x1ff)][_0x2313e9(0x300)](_0x26957c),_0x3d120e&&this[_0x2313e9(0x1ff)][_0x2313e9(0x300)](_0x469e32),this[_0x2313e9(0x1ff)]['flush'](()=>{const _0x152ce7=_0x2313e9,_0x125bed=this['_inflate'][_0x444b08];if(_0x125bed){this[_0x152ce7(0x1ff)][_0x152ce7(0x21b)](),this[_0x152ce7(0x1ff)]=null,_0x28fa57(_0x125bed);return;}const _0x73434b=_0x492a9f[_0x152ce7(0x1b0)](this[_0x152ce7(0x1ff)][_0x3d5bd5],this[_0x152ce7(0x1ff)][_0x3e57de]);this[_0x152ce7(0x1ff)]['_readableState'][_0x152ce7(0x261)]?(this[_0x152ce7(0x1ff)][_0x152ce7(0x21b)](),this[_0x152ce7(0x1ff)]=null):(this['_inflate'][_0x3e57de]=0x0,this['_inflate'][_0x3d5bd5]=[],_0x3d120e&&this['params'][_0x30b10a+_0x152ce7(0x2a4)]&&this[_0x152ce7(0x1ff)][_0x152ce7(0x2e9)]()),_0x28fa57(null,_0x73434b);});}[_0x45c359(0x306)](_0x4c9ef6,_0x2097fe,_0xc55d97){const _0x158da5=_0x45c359,_0x12837d=this[_0x158da5(0x342)]?_0x158da5(0x249):'client';if(!this[_0x158da5(0x1ad)]){const _0x3032ea=_0x12837d+'_max_window_bits',_0x3a1b98=typeof this[_0x158da5(0x288)][_0x3032ea]!=_0x158da5(0x331)?_0x3d70ee[_0x158da5(0x27d)]:this[_0x158da5(0x288)][_0x3032ea];this[_0x158da5(0x1ad)]=_0x3d70ee[_0x158da5(0x1bb)]({...this[_0x158da5(0x283)]['zlibDeflateOptions'],'windowBits':_0x3a1b98}),this[_0x158da5(0x1ad)][_0x3e57de]=0x0,this[_0x158da5(0x1ad)][_0x3d5bd5]=[],this[_0x158da5(0x1ad)]['on'](_0x158da5(0x1d8),_0x5943ed);}this[_0x158da5(0x1ad)][_0x35587d]=_0xc55d97,this[_0x158da5(0x1ad)][_0x158da5(0x300)](_0x4c9ef6),this[_0x158da5(0x1ad)][_0x158da5(0x2b2)](_0x3d70ee[_0x158da5(0x309)],()=>{const _0x5742ff=_0x158da5;if(!this[_0x5742ff(0x1ad)])return;let _0x4e50cf=_0x492a9f[_0x5742ff(0x1b0)](this[_0x5742ff(0x1ad)][_0x3d5bd5],this[_0x5742ff(0x1ad)][_0x3e57de]);_0x2097fe&&(_0x4e50cf=new _0x4f65a1(_0x4e50cf[_0x5742ff(0x2cd)],_0x4e50cf[_0x5742ff(0x1f0)],_0x4e50cf[_0x5742ff(0x2ee)]-0x4)),this[_0x5742ff(0x1ad)][_0x35587d]=null,this[_0x5742ff(0x1ad)][_0x3e57de]=0x0,this[_0x5742ff(0x1ad)][_0x3d5bd5]=[],_0x2097fe&&this[_0x5742ff(0x288)][_0x12837d+_0x5742ff(0x2a4)]&&this[_0x5742ff(0x1ad)][_0x5742ff(0x2e9)](),_0xc55d97(null,_0x4e50cf);});}}ve=_0x559772;function _0x5943ed(_0x138c55){const _0x46b5c4=_0x45c359;this[_0x3d5bd5]['push'](_0x138c55),this[_0x3e57de]+=_0x138c55[_0x46b5c4(0x2ee)];}function _0x148575(_0x1312cb){const _0x53f99e=_0x45c359;if(this[_0x3e57de]+=_0x1312cb[_0x53f99e(0x2ee)],this[_0x2d99e0][_0x53f99e(0x325)]<0x1||this[_0x3e57de]<=this[_0x2d99e0]['_maxPayload']){this[_0x3d5bd5][_0x53f99e(0x205)](_0x1312cb);return;}this[_0x444b08]=new RangeError(_0x53f99e(0x270)),this[_0x444b08][_0x53f99e(0x22f)]=_0x53f99e(0x26f),this[_0x444b08][_0x2a3464]=0x3f1,this['removeListener'](_0x53f99e(0x1d8),_0x148575),this[_0x53f99e(0x2e9)]();}function _0x4da11f(_0x44a0ad){const _0xd332b4=_0x45c359;this[_0x2d99e0][_0xd332b4(0x1ff)]=null,_0x44a0ad[_0x2a3464]=0x3ef,this[_0x35587d](_0x44a0ad);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0x33e2b7(0x349)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x33e2b7(0x20f)})),Yt=ut(zt);var Qe;function ne(){const _0x24afc1=_0x33e2b7;if(Qe)return re[_0x24afc1(0x299)];Qe=0x1;const {isUtf8:_0x8d0e10}=_0x530928,{hasBlob:_0x5d2720}=V(),_0x26fbf=[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 _0x4f302d(_0x39e278){return _0x39e278>=0x3e8&&_0x39e278<=0x3f6&&_0x39e278!==0x3ec&&_0x39e278!==0x3ed&&_0x39e278!==0x3ee||_0x39e278>=0xbb8&&_0x39e278<=0x1387;}function _0x355dba(_0x4d5bd3){const _0x11ac29=_0x24afc1,_0x192e90=_0x4d5bd3[_0x11ac29(0x2ee)];let _0x329e93=0x0;for(;_0x329e93<_0x192e90;)if((_0x4d5bd3[_0x329e93]&0x80)===0x0)_0x329e93++;else{if((_0x4d5bd3[_0x329e93]&0xe0)===0xc0){if(_0x329e93+0x1===_0x192e90||(_0x4d5bd3[_0x329e93+0x1]&0xc0)!==0x80||(_0x4d5bd3[_0x329e93]&0xfe)===0xc0)return!0x1;_0x329e93+=0x2;}else{if((_0x4d5bd3[_0x329e93]&0xf0)===0xe0){if(_0x329e93+0x2>=_0x192e90||(_0x4d5bd3[_0x329e93+0x1]&0xc0)!==0x80||(_0x4d5bd3[_0x329e93+0x2]&0xc0)!==0x80||_0x4d5bd3[_0x329e93]===0xe0&&(_0x4d5bd3[_0x329e93+0x1]&0xe0)===0x80||_0x4d5bd3[_0x329e93]===0xed&&(_0x4d5bd3[_0x329e93+0x1]&0xe0)===0xa0)return!0x1;_0x329e93+=0x3;}else{if((_0x4d5bd3[_0x329e93]&0xf8)===0xf0){if(_0x329e93+0x3>=_0x192e90||(_0x4d5bd3[_0x329e93+0x1]&0xc0)!==0x80||(_0x4d5bd3[_0x329e93+0x2]&0xc0)!==0x80||(_0x4d5bd3[_0x329e93+0x3]&0xc0)!==0x80||_0x4d5bd3[_0x329e93]===0xf0&&(_0x4d5bd3[_0x329e93+0x1]&0xf0)===0x80||_0x4d5bd3[_0x329e93]===0xf4&&_0x4d5bd3[_0x329e93+0x1]>0x8f||_0x4d5bd3[_0x329e93]>0xf4)return!0x1;_0x329e93+=0x4;}else return!0x1;}}}return!0x0;}function _0x2dd1c8(_0x1f8f44){const _0x4a901b=_0x24afc1;return _0x5d2720&&typeof _0x1f8f44==_0x4a901b(0x2dd)&&typeof _0x1f8f44[_0x4a901b(0x28c)]==_0x4a901b(0x21d)&&typeof _0x1f8f44[_0x4a901b(0x2c1)]==_0x4a901b(0x324)&&typeof _0x1f8f44[_0x4a901b(0x20d)]==_0x4a901b(0x21d)&&(_0x1f8f44[Symbol['toStringTag']]===_0x4a901b(0x341)||_0x1f8f44[Symbol[_0x4a901b(0x1b2)]]===_0x4a901b(0x322));}if(re[_0x24afc1(0x299)]={'isBlob':_0x2dd1c8,'isValidStatusCode':_0x4f302d,'isValidUTF8':_0x355dba,'tokenChars':_0x26fbf},_0x8d0e10)re[_0x24afc1(0x299)][_0x24afc1(0x1c0)]=function(_0x49d701){const _0x25c628=_0x24afc1;return _0x49d701[_0x25c628(0x2ee)]<0x18?_0x355dba(_0x49d701):_0x8d0e10(_0x49d701);};else{if(!process['env'][_0x24afc1(0x276)])try{const _0x27d284=Yt;re['exports'][_0x24afc1(0x1c0)]=function(_0x104d5b){const _0x42862b=_0x24afc1;return _0x104d5b[_0x42862b(0x2ee)]<0x20?_0x355dba(_0x104d5b):_0x27d284(_0x104d5b);};}catch{}}return re[_0x24afc1(0x299)];}var Se,Je;function dt(){const _0x3f73ca=_0x33e2b7;if(Je)return Se;Je=0x1;const {Writable:_0xbf6b5c}=_0x4c524e,_0xf34367=he(),{BINARY_TYPES:_0x3905dd,EMPTY_BUFFER:_0xb0b99e,kStatusCode:_0x47d65a,kWebSocket:_0x472052}=V(),{concat:_0x29edb6,toArrayBuffer:_0x2da169,unmask:_0x1c3b30}=ce(),{isValidStatusCode:_0x293ad2,isValidUTF8:_0x144029}=ne(),_0x4d609f=Buffer[Symbol[_0x3f73ca(0x1ce)]],_0x183db8=0x0,_0x237c9c=0x1,_0x539b15=0x2,_0x1bfe6b=0x3,_0x400017=0x4,_0x3bdf8a=0x5,_0x282c70=0x6;class _0x5912ec extends _0xbf6b5c{constructor(_0x5282b7={}){const _0x4952a3=_0x3f73ca;super(),this[_0x4952a3(0x275)]=_0x5282b7[_0x4952a3(0x250)]!==void 0x0?_0x5282b7['allowSynchronousEvents']:!0x0,this[_0x4952a3(0x29b)]=_0x5282b7[_0x4952a3(0x20a)]||_0x3905dd[0x0],this[_0x4952a3(0x281)]=_0x5282b7[_0x4952a3(0x32a)]||{},this[_0x4952a3(0x342)]=!!_0x5282b7[_0x4952a3(0x346)],this[_0x4952a3(0x325)]=_0x5282b7[_0x4952a3(0x1b9)]|0x0,this[_0x4952a3(0x1d4)]=!!_0x5282b7[_0x4952a3(0x2c2)],this[_0x472052]=void 0x0,this[_0x4952a3(0x32b)]=0x0,this[_0x4952a3(0x232)]=[],this['_compressed']=!0x1,this[_0x4952a3(0x303)]=0x0,this['_mask']=void 0x0,this[_0x4952a3(0x1b3)]=0x0,this[_0x4952a3(0x235)]=!0x1,this[_0x4952a3(0x28e)]=!0x1,this[_0x4952a3(0x1c4)]=0x0,this[_0x4952a3(0x2ca)]=0x0,this[_0x4952a3(0x337)]=0x0,this[_0x4952a3(0x1bc)]=[],this[_0x4952a3(0x24e)]=!0x1,this[_0x4952a3(0x278)]=!0x1,this[_0x4952a3(0x29a)]=_0x183db8;}[_0x3f73ca(0x20b)](_0xd25a71,_0x3ebbca,_0xee73e){const _0x12fb6e=_0x3f73ca;if(this[_0x12fb6e(0x1c4)]===0x8&&this[_0x12fb6e(0x29a)]==_0x183db8)return _0xee73e();this['_bufferedBytes']+=_0xd25a71[_0x12fb6e(0x2ee)],this[_0x12fb6e(0x232)][_0x12fb6e(0x205)](_0xd25a71),this[_0x12fb6e(0x2df)](_0xee73e);}[_0x3f73ca(0x2d7)](_0x62a1b6){const _0xc8892b=_0x3f73ca;if(this[_0xc8892b(0x32b)]-=_0x62a1b6,_0x62a1b6===this[_0xc8892b(0x232)][0x0][_0xc8892b(0x2ee)])return this[_0xc8892b(0x232)]['shift']();if(_0x62a1b6<this['_buffers'][0x0][_0xc8892b(0x2ee)]){const _0x1b58b4=this['_buffers'][0x0];return this[_0xc8892b(0x232)][0x0]=new _0x4d609f(_0x1b58b4['buffer'],_0x1b58b4[_0xc8892b(0x1f0)]+_0x62a1b6,_0x1b58b4[_0xc8892b(0x2ee)]-_0x62a1b6),new _0x4d609f(_0x1b58b4[_0xc8892b(0x2cd)],_0x1b58b4[_0xc8892b(0x1f0)],_0x62a1b6);}const _0x542038=Buffer['allocUnsafe'](_0x62a1b6);do{const _0x6801e7=this[_0xc8892b(0x232)][0x0],_0x2e1b05=_0x542038[_0xc8892b(0x2ee)]-_0x62a1b6;_0x62a1b6>=_0x6801e7['length']?_0x542038['set'](this['_buffers']['shift'](),_0x2e1b05):(_0x542038['set'](new Uint8Array(_0x6801e7['buffer'],_0x6801e7[_0xc8892b(0x1f0)],_0x62a1b6),_0x2e1b05),this[_0xc8892b(0x232)][0x0]=new _0x4d609f(_0x6801e7[_0xc8892b(0x2cd)],_0x6801e7[_0xc8892b(0x1f0)]+_0x62a1b6,_0x6801e7['length']-_0x62a1b6)),_0x62a1b6-=_0x6801e7[_0xc8892b(0x2ee)];}while(_0x62a1b6>0x0);return _0x542038;}['startLoop'](_0x5e1c36){const _0x4968f6=_0x3f73ca;this[_0x4968f6(0x278)]=!0x0;do switch(this[_0x4968f6(0x29a)]){case _0x183db8:this[_0x4968f6(0x1cb)](_0x5e1c36);break;case _0x237c9c:this[_0x4968f6(0x1c1)](_0x5e1c36);break;case _0x539b15:this[_0x4968f6(0x2c0)](_0x5e1c36);break;case _0x1bfe6b:this[_0x4968f6(0x265)]();break;case _0x400017:this[_0x4968f6(0x34b)](_0x5e1c36);break;case _0x3bdf8a:case _0x282c70:this[_0x4968f6(0x278)]=!0x1;return;}while(this[_0x4968f6(0x278)]);this[_0x4968f6(0x24e)]||_0x5e1c36();}[_0x3f73ca(0x1cb)](_0x169261){const _0x349158=_0x3f73ca;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}const _0x5aca3a=this['consume'](0x2);if((_0x5aca3a[0x0]&0x30)!==0x0){const _0x174f83=this[_0x349158(0x1b7)](RangeError,_0x349158(0x2b6),!0x0,0x3ea,_0x349158(0x210));_0x169261(_0x174f83);return;}const _0x25e238=(_0x5aca3a[0x0]&0x40)===0x40;if(_0x25e238&&!this[_0x349158(0x281)][_0xf34367['extensionName']]){const _0x13e352=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x349158(0x2d6));_0x169261(_0x13e352);return;}if(this[_0x349158(0x28e)]=(_0x5aca3a[0x0]&0x80)===0x80,this[_0x349158(0x1c4)]=_0x5aca3a[0x0]&0xf,this[_0x349158(0x303)]=_0x5aca3a[0x1]&0x7f,this['_opcode']===0x0){if(_0x25e238){const _0x188c51=this[_0x349158(0x1b7)](RangeError,_0x349158(0x2c9),!0x0,0x3ea,_0x349158(0x2d6));_0x169261(_0x188c51);return;}if(!this[_0x349158(0x1b3)]){const _0x417b29=this[_0x349158(0x1b7)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x349158(0x2ff));_0x169261(_0x417b29);return;}this['_opcode']=this[_0x349158(0x1b3)];}else{if(this[_0x349158(0x1c4)]===0x1||this[_0x349158(0x1c4)]===0x2){if(this[_0x349158(0x1b3)]){const _0x4509a6=this[_0x349158(0x1b7)](RangeError,_0x349158(0x220)+this[_0x349158(0x1c4)],!0x0,0x3ea,_0x349158(0x2ff));_0x169261(_0x4509a6);return;}this[_0x349158(0x297)]=_0x25e238;}else{if(this[_0x349158(0x1c4)]>0x7&&this['_opcode']<0xb){if(!this[_0x349158(0x28e)]){const _0x6475a0=this[_0x349158(0x1b7)](RangeError,_0x349158(0x2e2),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x169261(_0x6475a0);return;}if(_0x25e238){const _0x24b4e0=this[_0x349158(0x1b7)](RangeError,_0x349158(0x2c9),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x169261(_0x24b4e0);return;}if(this[_0x349158(0x303)]>0x7d||this[_0x349158(0x1c4)]===0x8&&this[_0x349158(0x303)]===0x1){const _0x56dc12=this[_0x349158(0x1b7)](RangeError,_0x349158(0x1bd)+this[_0x349158(0x303)],!0x0,0x3ea,_0x349158(0x30f));_0x169261(_0x56dc12);return;}}else{const _0x17546c=this['createError'](RangeError,_0x349158(0x220)+this['_opcode'],!0x0,0x3ea,_0x349158(0x2ff));_0x169261(_0x17546c);return;}}}if(!this['_fin']&&!this[_0x349158(0x1b3)]&&(this[_0x349158(0x1b3)]=this[_0x349158(0x1c4)]),this[_0x349158(0x235)]=(_0x5aca3a[0x1]&0x80)===0x80,this[_0x349158(0x342)]){if(!this[_0x349158(0x235)]){const _0x3d5273=this[_0x349158(0x1b7)](RangeError,_0x349158(0x282),!0x0,0x3ea,_0x349158(0x2f8));_0x169261(_0x3d5273);return;}}else{if(this['_masked']){const _0x32d4e1=this[_0x349158(0x1b7)](RangeError,_0x349158(0x29e),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x169261(_0x32d4e1);return;}}this[_0x349158(0x303)]===0x7e?this[_0x349158(0x29a)]=_0x237c9c:this['_payloadLength']===0x7f?this['_state']=_0x539b15:this[_0x349158(0x236)](_0x169261);}[_0x3f73ca(0x1c1)](_0x2c1c7a){const _0xdf1cd2=_0x3f73ca;if(this['_bufferedBytes']<0x2){this[_0xdf1cd2(0x278)]=!0x1;return;}this['_payloadLength']=this[_0xdf1cd2(0x2d7)](0x2)['readUInt16BE'](0x0),this[_0xdf1cd2(0x236)](_0x2c1c7a);}[_0x3f73ca(0x2c0)](_0x50a42e){const _0x165bc1=_0x3f73ca;if(this[_0x165bc1(0x32b)]<0x8){this[_0x165bc1(0x278)]=!0x1;return;}const _0x2aa2b4=this[_0x165bc1(0x2d7)](0x8),_0x290a75=_0x2aa2b4[_0x165bc1(0x211)](0x0);if(_0x290a75>Math[_0x165bc1(0x1fa)](0x2,0x15)-0x1){const _0x8819e1=this['createError'](RangeError,_0x165bc1(0x268),!0x1,0x3f1,_0x165bc1(0x328));_0x50a42e(_0x8819e1);return;}this[_0x165bc1(0x303)]=_0x290a75*Math[_0x165bc1(0x1fa)](0x2,0x20)+_0x2aa2b4[_0x165bc1(0x211)](0x4),this[_0x165bc1(0x236)](_0x50a42e);}[_0x3f73ca(0x236)](_0x5becfc){const _0x690c31=_0x3f73ca;if(this['_payloadLength']&&this[_0x690c31(0x1c4)]<0x8&&(this['_totalPayloadLength']+=this['_payloadLength'],this[_0x690c31(0x2ca)]>this[_0x690c31(0x325)]&&this['_maxPayload']>0x0)){const _0x4cc146=this[_0x690c31(0x1b7)](RangeError,_0x690c31(0x270),!0x1,0x3f1,_0x690c31(0x26f));_0x5becfc(_0x4cc146);return;}this[_0x690c31(0x235)]?this[_0x690c31(0x29a)]=_0x1bfe6b:this[_0x690c31(0x29a)]=_0x400017;}['getMask'](){const _0x4d813d=_0x3f73ca;if(this[_0x4d813d(0x32b)]<0x4){this[_0x4d813d(0x278)]=!0x1;return;}this[_0x4d813d(0x1e6)]=this[_0x4d813d(0x2d7)](0x4),this[_0x4d813d(0x29a)]=_0x400017;}[_0x3f73ca(0x34b)](_0x56d5d3){const _0x3b0368=_0x3f73ca;let _0x1aa13e=_0xb0b99e;if(this[_0x3b0368(0x303)]){if(this['_bufferedBytes']<this[_0x3b0368(0x303)]){this[_0x3b0368(0x278)]=!0x1;return;}_0x1aa13e=this['consume'](this[_0x3b0368(0x303)]),this[_0x3b0368(0x235)]&&(this[_0x3b0368(0x1e6)][0x0]|this['_mask'][0x1]|this[_0x3b0368(0x1e6)][0x2]|this[_0x3b0368(0x1e6)][0x3])!==0x0&&_0x1c3b30(_0x1aa13e,this[_0x3b0368(0x1e6)]);}if(this[_0x3b0368(0x1c4)]>0x7){this[_0x3b0368(0x256)](_0x1aa13e,_0x56d5d3);return;}if(this[_0x3b0368(0x297)]){this[_0x3b0368(0x29a)]=_0x3bdf8a,this[_0x3b0368(0x2db)](_0x1aa13e,_0x56d5d3);return;}_0x1aa13e[_0x3b0368(0x2ee)]&&(this['_messageLength']=this[_0x3b0368(0x2ca)],this[_0x3b0368(0x1bc)][_0x3b0368(0x205)](_0x1aa13e)),this['dataMessage'](_0x56d5d3);}['decompress'](_0x1b994f,_0x808c68){const _0x4f9561=_0x3f73ca;this[_0x4f9561(0x281)][_0xf34367[_0x4f9561(0x1eb)]][_0x4f9561(0x2db)](_0x1b994f,this[_0x4f9561(0x28e)],(_0x3bb881,_0x4882a6)=>{const _0x23631d=_0x4f9561;if(_0x3bb881)return _0x808c68(_0x3bb881);if(_0x4882a6['length']){if(this[_0x23631d(0x337)]+=_0x4882a6[_0x23631d(0x2ee)],this[_0x23631d(0x337)]>this[_0x23631d(0x325)]&&this['_maxPayload']>0x0){const _0x60998d=this['createError'](RangeError,_0x23631d(0x270),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x808c68(_0x60998d);return;}this[_0x23631d(0x1bc)]['push'](_0x4882a6);}this[_0x23631d(0x241)](_0x808c68),this[_0x23631d(0x29a)]===_0x183db8&&this[_0x23631d(0x2df)](_0x808c68);});}[_0x3f73ca(0x241)](_0x45c994){const _0x1eef3e=_0x3f73ca;if(!this[_0x1eef3e(0x28e)]){this['_state']=_0x183db8;return;}const _0x3a5e78=this[_0x1eef3e(0x337)],_0x5c055d=this['_fragments'];if(this[_0x1eef3e(0x2ca)]=0x0,this[_0x1eef3e(0x337)]=0x0,this[_0x1eef3e(0x1b3)]=0x0,this['_fragments']=[],this[_0x1eef3e(0x1c4)]===0x2){let _0x1e9bf2;this[_0x1eef3e(0x29b)]===_0x1eef3e(0x292)?_0x1e9bf2=_0x29edb6(_0x5c055d,_0x3a5e78):this[_0x1eef3e(0x29b)]===_0x1eef3e(0x27f)?_0x1e9bf2=_0x2da169(_0x29edb6(_0x5c055d,_0x3a5e78)):this['_binaryType']===_0x1eef3e(0x2d0)?_0x1e9bf2=new Blob(_0x5c055d):_0x1e9bf2=_0x5c055d,this[_0x1eef3e(0x275)]?(this[_0x1eef3e(0x1af)](_0x1eef3e(0x1b5),_0x1e9bf2,!0x0),this['_state']=_0x183db8):(this[_0x1eef3e(0x29a)]=_0x282c70,setImmediate(()=>{const _0x1ced0a=_0x1eef3e;this[_0x1ced0a(0x1af)](_0x1ced0a(0x1b5),_0x1e9bf2,!0x0),this[_0x1ced0a(0x29a)]=_0x183db8,this[_0x1ced0a(0x2df)](_0x45c994);}));}else{const _0x1def27=_0x29edb6(_0x5c055d,_0x3a5e78);if(!this[_0x1eef3e(0x1d4)]&&!_0x144029(_0x1def27)){const _0x38fd26=this[_0x1eef3e(0x1b7)](Error,_0x1eef3e(0x1d0),!0x0,0x3ef,_0x1eef3e(0x1d6));_0x45c994(_0x38fd26);return;}this['_state']===_0x3bdf8a||this[_0x1eef3e(0x275)]?(this[_0x1eef3e(0x1af)]('message',_0x1def27,!0x1),this[_0x1eef3e(0x29a)]=_0x183db8):(this[_0x1eef3e(0x29a)]=_0x282c70,setImmediate(()=>{const _0x2948f8=_0x1eef3e;this['emit'](_0x2948f8(0x1b5),_0x1def27,!0x1),this[_0x2948f8(0x29a)]=_0x183db8,this[_0x2948f8(0x2df)](_0x45c994);}));}}['controlMessage'](_0x13744d,_0xa4da49){const _0x14c45d=_0x3f73ca;if(this[_0x14c45d(0x1c4)]===0x8){if(_0x13744d['length']===0x0)this[_0x14c45d(0x278)]=!0x1,this[_0x14c45d(0x1af)]('conclude',0x3ed,_0xb0b99e),this['end']();else{const _0x36bccb=_0x13744d[_0x14c45d(0x204)](0x0);if(!_0x293ad2(_0x36bccb)){const _0x171899=this[_0x14c45d(0x1b7)](RangeError,_0x14c45d(0x24f)+_0x36bccb,!0x0,0x3ea,_0x14c45d(0x258));_0xa4da49(_0x171899);return;}const _0x14639b=new _0x4d609f(_0x13744d['buffer'],_0x13744d[_0x14c45d(0x1f0)]+0x2,_0x13744d['length']-0x2);if(!this[_0x14c45d(0x1d4)]&&!_0x144029(_0x14639b)){const _0x45d093=this[_0x14c45d(0x1b7)](Error,_0x14c45d(0x1d0),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0xa4da49(_0x45d093);return;}this[_0x14c45d(0x278)]=!0x1,this[_0x14c45d(0x1af)]('conclude',_0x36bccb,_0x14639b),this[_0x14c45d(0x31a)]();}this[_0x14c45d(0x29a)]=_0x183db8;return;}this[_0x14c45d(0x275)]?(this['emit'](this[_0x14c45d(0x1c4)]===0x9?_0x14c45d(0x22c):_0x14c45d(0x239),_0x13744d),this['_state']=_0x183db8):(this[_0x14c45d(0x29a)]=_0x282c70,setImmediate(()=>{const _0x49f60a=_0x14c45d;this[_0x49f60a(0x1af)](this[_0x49f60a(0x1c4)]===0x9?'ping':'pong',_0x13744d),this[_0x49f60a(0x29a)]=_0x183db8,this[_0x49f60a(0x2df)](_0xa4da49);}));}[_0x3f73ca(0x1b7)](_0x1baa6c,_0x1110b6,_0x3c2ed9,_0x28aa50,_0x28399c){const _0x39f1c3=_0x3f73ca;this[_0x39f1c3(0x278)]=!0x1,this[_0x39f1c3(0x24e)]=!0x0;const _0x43d03a=new _0x1baa6c(_0x3c2ed9?_0x39f1c3(0x1fe)+_0x1110b6:_0x1110b6);return Error[_0x39f1c3(0x23e)](_0x43d03a,this['createError']),_0x43d03a['code']=_0x28399c,_0x43d03a[_0x47d65a]=_0x28aa50,_0x43d03a;}}return Se=_0x5912ec,Se;}var Ee,et;function _t(){const _0x56652b=_0x33e2b7;if(et)return Ee;et=0x1;const {Duplex:_0x2c17c3}=_0x4c524e,{randomFillSync:_0x684078}=_0x1a6262,_0x116822=he(),{EMPTY_BUFFER:_0x3967db,kWebSocket:_0x1ad23b,NOOP:_0x55eff1}=V(),{isBlob:_0x2e645e,isValidStatusCode:_0x24dc57}=ne(),{mask:_0x42ae7b,toBuffer:_0x218581}=ce(),_0x30c364=Symbol(_0x56652b(0x1ba)),_0x4157d3=Buffer[_0x56652b(0x200)](0x4),_0x7368ac=0x8*0x400;let _0x2b3ba3,_0x4d399e=_0x7368ac;const _0x414bfb=0x0,_0x79090d=0x1,_0xa4a611=0x2;class _0x27b021{constructor(_0xed3e1a,_0x4a9c96,_0x32e4b6){const _0x286940=_0x56652b;this[_0x286940(0x281)]=_0x4a9c96||{},_0x32e4b6&&(this[_0x286940(0x1ae)]=_0x32e4b6,this['_maskBuffer']=Buffer[_0x286940(0x200)](0x4)),this[_0x286940(0x255)]=_0xed3e1a,this['_firstFragment']=!0x0,this['_compress']=!0x1,this[_0x286940(0x32b)]=0x0,this[_0x286940(0x25c)]=[],this[_0x286940(0x29a)]=_0x414bfb,this[_0x286940(0x33d)]=_0x55eff1,this[_0x1ad23b]=void 0x0;}static[_0x56652b(0x1dc)](_0x52e25f,_0x5dcd2b){const _0x21cfc5=_0x56652b;let _0x1fc4d7,_0x50e38c=!0x1,_0x3bea1a=0x2,_0x4a0cd3=!0x1;_0x5dcd2b['mask']&&(_0x1fc4d7=_0x5dcd2b[_0x21cfc5(0x1b1)]||_0x4157d3,_0x5dcd2b['generateMask']?_0x5dcd2b[_0x21cfc5(0x2b7)](_0x1fc4d7):(_0x4d399e===_0x7368ac&&(_0x2b3ba3===void 0x0&&(_0x2b3ba3=Buffer[_0x21cfc5(0x200)](_0x7368ac)),_0x684078(_0x2b3ba3,0x0,_0x7368ac),_0x4d399e=0x0),_0x1fc4d7[0x0]=_0x2b3ba3[_0x4d399e++],_0x1fc4d7[0x1]=_0x2b3ba3[_0x4d399e++],_0x1fc4d7[0x2]=_0x2b3ba3[_0x4d399e++],_0x1fc4d7[0x3]=_0x2b3ba3[_0x4d399e++]),_0x4a0cd3=(_0x1fc4d7[0x0]|_0x1fc4d7[0x1]|_0x1fc4d7[0x2]|_0x1fc4d7[0x3])===0x0,_0x3bea1a=0x6);let _0x356ba6;typeof _0x52e25f=='string'?(!_0x5dcd2b['mask']||_0x4a0cd3)&&_0x5dcd2b[_0x30c364]!==void 0x0?_0x356ba6=_0x5dcd2b[_0x30c364]:(_0x52e25f=Buffer[_0x21cfc5(0x27c)](_0x52e25f),_0x356ba6=_0x52e25f['length']):(_0x356ba6=_0x52e25f[_0x21cfc5(0x2ee)],_0x50e38c=_0x5dcd2b[_0x21cfc5(0x2ce)]&&_0x5dcd2b[_0x21cfc5(0x30e)]&&!_0x4a0cd3);let _0x1f23a1=_0x356ba6;_0x356ba6>=0x10000?(_0x3bea1a+=0x8,_0x1f23a1=0x7f):_0x356ba6>0x7d&&(_0x3bea1a+=0x2,_0x1f23a1=0x7e);const _0x46b47c=Buffer[_0x21cfc5(0x243)](_0x50e38c?_0x356ba6+_0x3bea1a:_0x3bea1a);return _0x46b47c[0x0]=_0x5dcd2b[_0x21cfc5(0x316)]?_0x5dcd2b[_0x21cfc5(0x1e5)]|0x80:_0x5dcd2b['opcode'],_0x5dcd2b[_0x21cfc5(0x2ab)]&&(_0x46b47c[0x0]|=0x40),_0x46b47c[0x1]=_0x1f23a1,_0x1f23a1===0x7e?_0x46b47c[_0x21cfc5(0x28a)](_0x356ba6,0x2):_0x1f23a1===0x7f&&(_0x46b47c[0x2]=_0x46b47c[0x3]=0x0,_0x46b47c['writeUIntBE'](_0x356ba6,0x4,0x6)),_0x5dcd2b[_0x21cfc5(0x2ce)]?(_0x46b47c[0x1]|=0x80,_0x46b47c[_0x3bea1a-0x4]=_0x1fc4d7[0x0],_0x46b47c[_0x3bea1a-0x3]=_0x1fc4d7[0x1],_0x46b47c[_0x3bea1a-0x2]=_0x1fc4d7[0x2],_0x46b47c[_0x3bea1a-0x1]=_0x1fc4d7[0x3],_0x4a0cd3?[_0x46b47c,_0x52e25f]:_0x50e38c?(_0x42ae7b(_0x52e25f,_0x1fc4d7,_0x46b47c,_0x3bea1a,_0x356ba6),[_0x46b47c]):(_0x42ae7b(_0x52e25f,_0x1fc4d7,_0x52e25f,0x0,_0x356ba6),[_0x46b47c,_0x52e25f])):[_0x46b47c,_0x52e25f];}['close'](_0x283c5a,_0x2fefe8,_0x394b3,_0x2b7bb2){const _0x1ede1c=_0x56652b;let _0x40ea0b;if(_0x283c5a===void 0x0)_0x40ea0b=_0x3967db;else{if(typeof _0x283c5a!=_0x1ede1c(0x331)||!_0x24dc57(_0x283c5a))throw new TypeError(_0x1ede1c(0x24d));if(_0x2fefe8===void 0x0||!_0x2fefe8[_0x1ede1c(0x2ee)])_0x40ea0b=Buffer[_0x1ede1c(0x243)](0x2),_0x40ea0b[_0x1ede1c(0x28a)](_0x283c5a,0x0);else{const _0x2f3f61=Buffer[_0x1ede1c(0x2ed)](_0x2fefe8);if(_0x2f3f61>0x7b)throw new RangeError(_0x1ede1c(0x2d9));_0x40ea0b=Buffer[_0x1ede1c(0x243)](0x2+_0x2f3f61),_0x40ea0b['writeUInt16BE'](_0x283c5a,0x0),typeof _0x2fefe8==_0x1ede1c(0x324)?_0x40ea0b[_0x1ede1c(0x300)](_0x2fefe8,0x2):_0x40ea0b['set'](_0x2fefe8,0x2);}}const _0x7dec25={[_0x30c364]:_0x40ea0b['length'],'fin':!0x0,'generateMask':this[_0x1ede1c(0x1ae)],'mask':_0x394b3,'maskBuffer':this[_0x1ede1c(0x35c)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x414bfb?this[_0x1ede1c(0x2d8)]([this[_0x1ede1c(0x2e5)],_0x40ea0b,!0x1,_0x7dec25,_0x2b7bb2]):this[_0x1ede1c(0x2c5)](_0x27b021[_0x1ede1c(0x1dc)](_0x40ea0b,_0x7dec25),_0x2b7bb2);}[_0x56652b(0x22c)](_0x56f66c,_0x3fca1d,_0x5163ed){const _0x2f6478=_0x56652b;let _0x18c293,_0x5802f1;if(typeof _0x56f66c==_0x2f6478(0x324)?(_0x18c293=Buffer[_0x2f6478(0x2ed)](_0x56f66c),_0x5802f1=!0x1):_0x2e645e(_0x56f66c)?(_0x18c293=_0x56f66c['size'],_0x5802f1=!0x1):(_0x56f66c=_0x218581(_0x56f66c),_0x18c293=_0x56f66c[_0x2f6478(0x2ee)],_0x5802f1=_0x218581[_0x2f6478(0x30e)]),_0x18c293>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x5b584b={[_0x30c364]:_0x18c293,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x3fca1d,'maskBuffer':this[_0x2f6478(0x35c)],'opcode':0x9,'readOnly':_0x5802f1,'rsv1':!0x1};_0x2e645e(_0x56f66c)?this[_0x2f6478(0x29a)]!==_0x414bfb?this[_0x2f6478(0x2d8)]([this[_0x2f6478(0x31e)],_0x56f66c,!0x1,_0x5b584b,_0x5163ed]):this['getBlobData'](_0x56f66c,!0x1,_0x5b584b,_0x5163ed):this[_0x2f6478(0x29a)]!==_0x414bfb?this[_0x2f6478(0x2d8)]([this['dispatch'],_0x56f66c,!0x1,_0x5b584b,_0x5163ed]):this[_0x2f6478(0x2c5)](_0x27b021[_0x2f6478(0x1dc)](_0x56f66c,_0x5b584b),_0x5163ed);}[_0x56652b(0x239)](_0x30a62f,_0x5a4afa,_0x255938){const _0x335a8d=_0x56652b;let _0x202dba,_0x3cc7a2;if(typeof _0x30a62f=='string'?(_0x202dba=Buffer[_0x335a8d(0x2ed)](_0x30a62f),_0x3cc7a2=!0x1):_0x2e645e(_0x30a62f)?(_0x202dba=_0x30a62f[_0x335a8d(0x318)],_0x3cc7a2=!0x1):(_0x30a62f=_0x218581(_0x30a62f),_0x202dba=_0x30a62f[_0x335a8d(0x2ee)],_0x3cc7a2=_0x218581[_0x335a8d(0x30e)]),_0x202dba>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x424487={[_0x30c364]:_0x202dba,'fin':!0x0,'generateMask':this[_0x335a8d(0x1ae)],'mask':_0x5a4afa,'maskBuffer':this[_0x335a8d(0x35c)],'opcode':0xa,'readOnly':_0x3cc7a2,'rsv1':!0x1};_0x2e645e(_0x30a62f)?this['_state']!==_0x414bfb?this['enqueue']([this['getBlobData'],_0x30a62f,!0x1,_0x424487,_0x255938]):this[_0x335a8d(0x31e)](_0x30a62f,!0x1,_0x424487,_0x255938):this[_0x335a8d(0x29a)]!==_0x414bfb?this[_0x335a8d(0x2d8)]([this[_0x335a8d(0x2e5)],_0x30a62f,!0x1,_0x424487,_0x255938]):this[_0x335a8d(0x2c5)](_0x27b021[_0x335a8d(0x1dc)](_0x30a62f,_0x424487),_0x255938);}[_0x56652b(0x1c7)](_0x42b930,_0x255c41,_0x4e4892){const _0x1011c4=_0x56652b,_0xe48a0f=this[_0x1011c4(0x281)][_0x116822['extensionName']];let _0x2170dd=_0x255c41['binary']?0x2:0x1,_0x1912e7=_0x255c41['compress'],_0x64fc03,_0x5075c4;typeof _0x42b930==_0x1011c4(0x324)?(_0x64fc03=Buffer[_0x1011c4(0x2ed)](_0x42b930),_0x5075c4=!0x1):_0x2e645e(_0x42b930)?(_0x64fc03=_0x42b930[_0x1011c4(0x318)],_0x5075c4=!0x1):(_0x42b930=_0x218581(_0x42b930),_0x64fc03=_0x42b930['length'],_0x5075c4=_0x218581[_0x1011c4(0x30e)]),this[_0x1011c4(0x238)]?(this[_0x1011c4(0x238)]=!0x1,_0x1912e7&&_0xe48a0f&&_0xe48a0f['params'][_0xe48a0f[_0x1011c4(0x342)]?_0x1011c4(0x1be):_0x1011c4(0x33b)]&&(_0x1912e7=_0x64fc03>=_0xe48a0f['_threshold']),this[_0x1011c4(0x306)]=_0x1912e7):(_0x1912e7=!0x1,_0x2170dd=0x0),_0x255c41[_0x1011c4(0x316)]&&(this['_firstFragment']=!0x0);const _0x34ab38={[_0x30c364]:_0x64fc03,'fin':_0x255c41[_0x1011c4(0x316)],'generateMask':this[_0x1011c4(0x1ae)],'mask':_0x255c41['mask'],'maskBuffer':this[_0x1011c4(0x35c)],'opcode':_0x2170dd,'readOnly':_0x5075c4,'rsv1':_0x1912e7};_0x2e645e(_0x42b930)?this[_0x1011c4(0x29a)]!==_0x414bfb?this[_0x1011c4(0x2d8)]([this[_0x1011c4(0x31e)],_0x42b930,this[_0x1011c4(0x306)],_0x34ab38,_0x4e4892]):this['getBlobData'](_0x42b930,this[_0x1011c4(0x306)],_0x34ab38,_0x4e4892):this[_0x1011c4(0x29a)]!==_0x414bfb?this[_0x1011c4(0x2d8)]([this[_0x1011c4(0x2e5)],_0x42b930,this['_compress'],_0x34ab38,_0x4e4892]):this[_0x1011c4(0x2e5)](_0x42b930,this[_0x1011c4(0x306)],_0x34ab38,_0x4e4892);}[_0x56652b(0x31e)](_0x50982d,_0x4cdd48,_0x2f122e,_0x5af50d){const _0xe7af5c=_0x56652b;this[_0xe7af5c(0x32b)]+=_0x2f122e[_0x30c364],this[_0xe7af5c(0x29a)]=_0xa4a611,_0x50982d[_0xe7af5c(0x28c)]()[_0xe7af5c(0x23d)](_0x55ca46=>{const _0x13b724=_0xe7af5c;if(this['_socket'][_0x13b724(0x326)]){const _0x30fef9=new Error(_0x13b724(0x244));process[_0x13b724(0x217)](_0x3fefb0,this,_0x30fef9,_0x5af50d);return;}this[_0x13b724(0x32b)]-=_0x2f122e[_0x30c364];const _0x2b4369=_0x218581(_0x55ca46);_0x4cdd48?this[_0x13b724(0x2e5)](_0x2b4369,_0x4cdd48,_0x2f122e,_0x5af50d):(this[_0x13b724(0x29a)]=_0x414bfb,this[_0x13b724(0x2c5)](_0x27b021['frame'](_0x2b4369,_0x2f122e),_0x5af50d),this[_0x13b724(0x2b5)]());})['catch'](_0x3393c7=>{const _0xf0d669=_0xe7af5c;process[_0xf0d669(0x217)](_0x32f673,this,_0x3393c7,_0x5af50d);});}[_0x56652b(0x2e5)](_0x22829a,_0x24bbd0,_0x527c42,_0x5a936c){const _0x4e60d4=_0x56652b;if(!_0x24bbd0){this[_0x4e60d4(0x2c5)](_0x27b021[_0x4e60d4(0x1dc)](_0x22829a,_0x527c42),_0x5a936c);return;}const _0x19ea39=this[_0x4e60d4(0x281)][_0x116822[_0x4e60d4(0x1eb)]];this[_0x4e60d4(0x32b)]+=_0x527c42[_0x30c364],this['_state']=_0x79090d,_0x19ea39[_0x4e60d4(0x2d1)](_0x22829a,_0x527c42[_0x4e60d4(0x316)],(_0x5b6f19,_0xc14b52)=>{const _0x104d0d=_0x4e60d4;if(this[_0x104d0d(0x255)][_0x104d0d(0x326)]){const _0x284e10=new Error(_0x104d0d(0x23b));_0x3fefb0(this,_0x284e10,_0x5a936c);return;}this['_bufferedBytes']-=_0x527c42[_0x30c364],this['_state']=_0x414bfb,_0x527c42['readOnly']=!0x1,this[_0x104d0d(0x2c5)](_0x27b021[_0x104d0d(0x1dc)](_0xc14b52,_0x527c42),_0x5a936c),this['dequeue']();});}[_0x56652b(0x2b5)](){const _0x111fc6=_0x56652b;for(;this[_0x111fc6(0x29a)]===_0x414bfb&&this[_0x111fc6(0x25c)][_0x111fc6(0x2ee)];){const _0x4a9b74=this[_0x111fc6(0x25c)]['shift']();this['_bufferedBytes']-=_0x4a9b74[0x3][_0x30c364],Reflect[_0x111fc6(0x1d7)](_0x4a9b74[0x0],this,_0x4a9b74[_0x111fc6(0x335)](0x1));}}[_0x56652b(0x2d8)](_0x5333a4){const _0x307cb0=_0x56652b;this[_0x307cb0(0x32b)]+=_0x5333a4[0x3][_0x30c364],this[_0x307cb0(0x25c)][_0x307cb0(0x205)](_0x5333a4);}[_0x56652b(0x2c5)](_0x319609,_0x5259fb){const _0x2ae4ea=_0x56652b;_0x319609[_0x2ae4ea(0x2ee)]===0x2?(this['_socket'][_0x2ae4ea(0x31b)](),this['_socket'][_0x2ae4ea(0x300)](_0x319609[0x0]),this[_0x2ae4ea(0x255)][_0x2ae4ea(0x300)](_0x319609[0x1],_0x5259fb),this[_0x2ae4ea(0x255)][_0x2ae4ea(0x2f4)]()):this[_0x2ae4ea(0x255)]['write'](_0x319609[0x0],_0x5259fb);}}Ee=_0x27b021;function _0x3fefb0(_0x3a5264,_0x594c1b,_0x3e3369){const _0x5d3ce4=_0x56652b;typeof _0x3e3369=='function'&&_0x3e3369(_0x594c1b);for(let _0x1477d0=0x0;_0x1477d0<_0x3a5264[_0x5d3ce4(0x25c)][_0x5d3ce4(0x2ee)];_0x1477d0++){const _0x137e90=_0x3a5264['_queue'][_0x1477d0],_0x4b8dba=_0x137e90[_0x137e90[_0x5d3ce4(0x2ee)]-0x1];typeof _0x4b8dba==_0x5d3ce4(0x21d)&&_0x4b8dba(_0x594c1b);}}function _0x32f673(_0x46de16,_0xa82692,_0x15472a){const _0x37d616=_0x56652b;_0x3fefb0(_0x46de16,_0xa82692,_0x15472a),_0x46de16[_0x37d616(0x33d)](_0xa82692);}return Ee;}var xe,tt;function Kt(){const _0xdc90f9=_0x33e2b7;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x5af7f3,kListener:_0x4ba715}=V(),_0x5df05c=Symbol(_0xdc90f9(0x336)),_0x5a6558=Symbol(_0xdc90f9(0x302)),_0x4a3a11=Symbol(_0xdc90f9(0x34f)),_0x3ef229=Symbol(_0xdc90f9(0x26e)),_0x3b1b60=Symbol(_0xdc90f9(0x24b)),_0x1f8b2a=Symbol(_0xdc90f9(0x225)),_0x2f73ea=Symbol('kType'),_0x1fa722=Symbol('kWasClean');class _0x591147{constructor(_0x12f9fb){this[_0x1f8b2a]=null,this[_0x2f73ea]=_0x12f9fb;}get[_0xdc90f9(0x26a)](){return this[_0x1f8b2a];}get['type'](){return this[_0x2f73ea];}}Object[_0xdc90f9(0x349)](_0x591147[_0xdc90f9(0x2a3)],_0xdc90f9(0x26a),{'enumerable':!0x0}),Object['defineProperty'](_0x591147['prototype'],_0xdc90f9(0x2c1),{'enumerable':!0x0});class _0x3e479d extends _0x591147{constructor(_0x543323,_0x212deb={}){const _0x1a64df=_0xdc90f9;super(_0x543323),this[_0x5df05c]=_0x212deb[_0x1a64df(0x22f)]===void 0x0?0x0:_0x212deb[_0x1a64df(0x22f)],this[_0x3b1b60]=_0x212deb[_0x1a64df(0x219)]===void 0x0?'':_0x212deb[_0x1a64df(0x219)],this[_0x1fa722]=_0x212deb[_0x1a64df(0x1f2)]===void 0x0?!0x1:_0x212deb[_0x1a64df(0x1f2)];}get['code'](){return this[_0x5df05c];}get[_0xdc90f9(0x219)](){return this[_0x3b1b60];}get[_0xdc90f9(0x1f2)](){return this[_0x1fa722];}}Object[_0xdc90f9(0x349)](_0x3e479d[_0xdc90f9(0x2a3)],_0xdc90f9(0x22f),{'enumerable':!0x0}),Object[_0xdc90f9(0x349)](_0x3e479d[_0xdc90f9(0x2a3)],_0xdc90f9(0x219),{'enumerable':!0x0}),Object['defineProperty'](_0x3e479d[_0xdc90f9(0x2a3)],_0xdc90f9(0x1f2),{'enumerable':!0x0});class _0xd1b0fa extends _0x591147{constructor(_0xc9e916,_0x2d1d1b={}){const _0x118c1f=_0xdc90f9;super(_0xc9e916),this[_0x4a3a11]=_0x2d1d1b[_0x118c1f(0x323)]===void 0x0?null:_0x2d1d1b[_0x118c1f(0x323)],this[_0x3ef229]=_0x2d1d1b[_0x118c1f(0x1b5)]===void 0x0?'':_0x2d1d1b[_0x118c1f(0x1b5)];}get[_0xdc90f9(0x323)](){return this[_0x4a3a11];}get[_0xdc90f9(0x1b5)](){return this[_0x3ef229];}}Object[_0xdc90f9(0x349)](_0xd1b0fa[_0xdc90f9(0x2a3)],_0xdc90f9(0x323),{'enumerable':!0x0}),Object[_0xdc90f9(0x349)](_0xd1b0fa[_0xdc90f9(0x2a3)],_0xdc90f9(0x1b5),{'enumerable':!0x0});class _0x51fa2a extends _0x591147{constructor(_0x54a911,_0x47a305={}){const _0x1c8e56=_0xdc90f9;super(_0x54a911),this[_0x5a6558]=_0x47a305[_0x1c8e56(0x1d8)]===void 0x0?null:_0x47a305[_0x1c8e56(0x1d8)];}get[_0xdc90f9(0x1d8)](){return this[_0x5a6558];}}Object['defineProperty'](_0x51fa2a['prototype'],_0xdc90f9(0x1d8),{'enumerable':!0x0}),xe={'CloseEvent':_0x3e479d,'ErrorEvent':_0xd1b0fa,'Event':_0x591147,'EventTarget':{'addEventListener'(_0x133718,_0x29eaba,_0x48c8c9={}){const _0x1faeb8=_0xdc90f9;for(const _0x50a2ad of this[_0x1faeb8(0x2fc)](_0x133718))if(!_0x48c8c9[_0x5af7f3]&&_0x50a2ad[_0x4ba715]===_0x29eaba&&!_0x50a2ad[_0x5af7f3])return;let _0x545af5;if(_0x133718===_0x1faeb8(0x1b5))_0x545af5=function(_0x488490,_0xa53ab8){const _0x5903f9=_0x1faeb8,_0x5331c6=new _0x51fa2a(_0x5903f9(0x1b5),{'data':_0xa53ab8?_0x488490:_0x488490[_0x5903f9(0x28f)]()});_0x5331c6[_0x1f8b2a]=this,_0x12e240(_0x29eaba,this,_0x5331c6);};else{if(_0x133718===_0x1faeb8(0x21b))_0x545af5=function(_0x73970c,_0x5ddc97){const _0x103602=_0x1faeb8,_0x3755e2=new _0x3e479d('close',{'code':_0x73970c,'reason':_0x5ddc97[_0x103602(0x28f)](),'wasClean':this['_closeFrameReceived']&&this[_0x103602(0x1d3)]});_0x3755e2[_0x1f8b2a]=this,_0x12e240(_0x29eaba,this,_0x3755e2);};else{if(_0x133718===_0x1faeb8(0x323))_0x545af5=function(_0x156dd1){const _0x279faf=_0x1faeb8,_0x358b8f=new _0xd1b0fa(_0x279faf(0x323),{'error':_0x156dd1,'message':_0x156dd1[_0x279faf(0x1b5)]});_0x358b8f[_0x1f8b2a]=this,_0x12e240(_0x29eaba,this,_0x358b8f);};else{if(_0x133718===_0x1faeb8(0x206))_0x545af5=function(){const _0x55a864=_0x1faeb8,_0x20f8dd=new _0x591147(_0x55a864(0x206));_0x20f8dd[_0x1f8b2a]=this,_0x12e240(_0x29eaba,this,_0x20f8dd);};else return;}}}_0x545af5[_0x5af7f3]=!!_0x48c8c9[_0x5af7f3],_0x545af5[_0x4ba715]=_0x29eaba,_0x48c8c9[_0x1faeb8(0x1e0)]?this[_0x1faeb8(0x1e0)](_0x133718,_0x545af5):this['on'](_0x133718,_0x545af5);},'removeEventListener'(_0x19c336,_0x3794cb){const _0x5baf84=_0xdc90f9;for(const _0x505b80 of this[_0x5baf84(0x2fc)](_0x19c336))if(_0x505b80[_0x4ba715]===_0x3794cb&&!_0x505b80[_0x5af7f3]){this[_0x5baf84(0x1ed)](_0x19c336,_0x505b80);break;}}},'MessageEvent':_0x51fa2a};function _0x12e240(_0x1f45e9,_0x599ddf,_0xb29e6b){const _0x26eaeb=_0xdc90f9;typeof _0x1f45e9==_0x26eaeb(0x2dd)&&_0x1f45e9[_0x26eaeb(0x223)]?_0x1f45e9[_0x26eaeb(0x223)][_0x26eaeb(0x25d)](_0x1f45e9,_0xb29e6b):_0x1f45e9[_0x26eaeb(0x25d)](_0x599ddf,_0xb29e6b);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x4fbca4}=ne();function _0xdd2ffe(_0x5875bf,_0x4987cd,_0x5ab247){const _0x1f93ff=_0x4dda;_0x5875bf[_0x4987cd]===void 0x0?_0x5875bf[_0x4987cd]=[_0x5ab247]:_0x5875bf[_0x4987cd][_0x1f93ff(0x205)](_0x5ab247);}function _0x25e19f(_0x469538){const _0x4d232c=_0x4dda,_0x136dc0=Object['create'](null);let _0x497ec5=Object[_0x4d232c(0x35b)](null),_0x26e5ed=!0x1,_0x16323b=!0x1,_0x416751=!0x1,_0x481daa,_0x48bc4f,_0x18c7be=-0x1,_0x48a522=-0x1,_0x244220=-0x1,_0x405cdc=0x0;for(;_0x405cdc<_0x469538[_0x4d232c(0x2ee)];_0x405cdc++)if(_0x48a522=_0x469538[_0x4d232c(0x271)](_0x405cdc),_0x481daa===void 0x0){if(_0x244220===-0x1&&_0x4fbca4[_0x48a522]===0x1)_0x18c7be===-0x1&&(_0x18c7be=_0x405cdc);else{if(_0x405cdc!==0x0&&(_0x48a522===0x20||_0x48a522===0x9))_0x244220===-0x1&&_0x18c7be!==-0x1&&(_0x244220=_0x405cdc);else{if(_0x48a522===0x3b||_0x48a522===0x2c){if(_0x18c7be===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x405cdc);_0x244220===-0x1&&(_0x244220=_0x405cdc);const _0x34812a=_0x469538['slice'](_0x18c7be,_0x244220);_0x48a522===0x2c?(_0xdd2ffe(_0x136dc0,_0x34812a,_0x497ec5),_0x497ec5=Object[_0x4d232c(0x35b)](null)):_0x481daa=_0x34812a,_0x18c7be=_0x244220=-0x1;}else throw new SyntaxError(_0x4d232c(0x1fd)+_0x405cdc);}}}else{if(_0x48bc4f===void 0x0){if(_0x244220===-0x1&&_0x4fbca4[_0x48a522]===0x1)_0x18c7be===-0x1&&(_0x18c7be=_0x405cdc);else{if(_0x48a522===0x20||_0x48a522===0x9)_0x244220===-0x1&&_0x18c7be!==-0x1&&(_0x244220=_0x405cdc);else{if(_0x48a522===0x3b||_0x48a522===0x2c){if(_0x18c7be===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x405cdc);_0x244220===-0x1&&(_0x244220=_0x405cdc),_0xdd2ffe(_0x497ec5,_0x469538[_0x4d232c(0x335)](_0x18c7be,_0x244220),!0x0),_0x48a522===0x2c&&(_0xdd2ffe(_0x136dc0,_0x481daa,_0x497ec5),_0x497ec5=Object[_0x4d232c(0x35b)](null),_0x481daa=void 0x0),_0x18c7be=_0x244220=-0x1;}else{if(_0x48a522===0x3d&&_0x18c7be!==-0x1&&_0x244220===-0x1)_0x48bc4f=_0x469538[_0x4d232c(0x335)](_0x18c7be,_0x405cdc),_0x18c7be=_0x244220=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x405cdc);}}}}else{if(_0x16323b){if(_0x4fbca4[_0x48a522]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x405cdc);_0x18c7be===-0x1?_0x18c7be=_0x405cdc:_0x26e5ed||(_0x26e5ed=!0x0),_0x16323b=!0x1;}else{if(_0x416751){if(_0x4fbca4[_0x48a522]===0x1)_0x18c7be===-0x1&&(_0x18c7be=_0x405cdc);else{if(_0x48a522===0x22&&_0x18c7be!==-0x1)_0x416751=!0x1,_0x244220=_0x405cdc;else{if(_0x48a522===0x5c)_0x16323b=!0x0;else throw new SyntaxError(_0x4d232c(0x1fd)+_0x405cdc);}}}else{if(_0x48a522===0x22&&_0x469538['charCodeAt'](_0x405cdc-0x1)===0x3d)_0x416751=!0x0;else{if(_0x244220===-0x1&&_0x4fbca4[_0x48a522]===0x1)_0x18c7be===-0x1&&(_0x18c7be=_0x405cdc);else{if(_0x18c7be!==-0x1&&(_0x48a522===0x20||_0x48a522===0x9))_0x244220===-0x1&&(_0x244220=_0x405cdc);else{if(_0x48a522===0x3b||_0x48a522===0x2c){if(_0x18c7be===-0x1)throw new SyntaxError(_0x4d232c(0x1fd)+_0x405cdc);_0x244220===-0x1&&(_0x244220=_0x405cdc);let _0x34b188=_0x469538[_0x4d232c(0x335)](_0x18c7be,_0x244220);_0x26e5ed&&(_0x34b188=_0x34b188[_0x4d232c(0x254)](/\\/g,''),_0x26e5ed=!0x1),_0xdd2ffe(_0x497ec5,_0x48bc4f,_0x34b188),_0x48a522===0x2c&&(_0xdd2ffe(_0x136dc0,_0x481daa,_0x497ec5),_0x497ec5=Object[_0x4d232c(0x35b)](null),_0x481daa=void 0x0),_0x48bc4f=void 0x0,_0x18c7be=_0x244220=-0x1;}else throw new SyntaxError(_0x4d232c(0x1fd)+_0x405cdc);}}}}}}}if(_0x18c7be===-0x1||_0x416751||_0x48a522===0x20||_0x48a522===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x244220===-0x1&&(_0x244220=_0x405cdc);const _0x2c3f51=_0x469538['slice'](_0x18c7be,_0x244220);return _0x481daa===void 0x0?_0xdd2ffe(_0x136dc0,_0x2c3f51,_0x497ec5):(_0x48bc4f===void 0x0?_0xdd2ffe(_0x497ec5,_0x2c3f51,!0x0):_0x26e5ed?_0xdd2ffe(_0x497ec5,_0x48bc4f,_0x2c3f51[_0x4d232c(0x254)](/\\/g,'')):_0xdd2ffe(_0x497ec5,_0x48bc4f,_0x2c3f51),_0xdd2ffe(_0x136dc0,_0x481daa,_0x497ec5)),_0x136dc0;}function _0x3a57d2(_0x331bef){const _0x46e33=_0x4dda;return Object[_0x46e33(0x1d2)](_0x331bef)[_0x46e33(0x319)](_0x5e7f79=>{const _0x972010=_0x46e33;let _0xfc2500=_0x331bef[_0x5e7f79];return Array[_0x972010(0x272)](_0xfc2500)||(_0xfc2500=[_0xfc2500]),_0xfc2500[_0x972010(0x319)](_0x33c980=>[_0x5e7f79]['concat'](Object[_0x972010(0x1d2)](_0x33c980)[_0x972010(0x319)](_0x48b748=>{const _0x7e7204=_0x972010;let _0x323b67=_0x33c980[_0x48b748];return Array['isArray'](_0x323b67)||(_0x323b67=[_0x323b67]),_0x323b67['map'](_0x21e6c3=>_0x21e6c3===!0x0?_0x48b748:_0x48b748+'='+_0x21e6c3)[_0x7e7204(0x2f6)](';\x20');}))[_0x972010(0x2f6)](';\x20'))[_0x972010(0x2f6)](',\x20');})[_0x46e33(0x2f6)](',\x20');}return be={'format':_0x3a57d2,'parse':_0x25e19f},be;}var we,st;function Ie(){const _0x2afbc0=_0x33e2b7;if(st)return we;st=0x1;const _0x15ad02=_0x56aa6b,_0x323bb1=_0x2a23af,_0x569efd=_0x50529f,_0x450b4b=_0x36fcf6,_0x3b6cff=_0x36d7f8,{randomBytes:_0x5297d5,createHash:_0x5bb5fd}=_0x1a6262,{Duplex:_0x2fe80e,Readable:_0x35a2e2}=_0x4c524e,{URL:_0x163413}=_0x21c0fd,_0x7f5d27=he(),_0x58cd56=dt(),_0x2af72e=_t(),{isBlob:_0x3be5c3}=ne(),{BINARY_TYPES:_0x15858e,EMPTY_BUFFER:_0x4aa117,GUID:_0x200f2a,kForOnEventAttribute:_0x134ef7,kListener:_0x356d78,kStatusCode:_0x463c1b,kWebSocket:_0x5cfcf5,NOOP:_0x287425}=V(),{EventTarget:{addEventListener:_0x2321bf,removeEventListener:_0x4d83c9}}=Kt(),{format:_0x49c42d,parse:_0x24e0ef}=pt(),{toBuffer:_0x416423}=ce(),_0x4aecf5=0x1e*0x3e8,_0x55de55=Symbol(_0x2afbc0(0x1f8)),_0x104400=[0x8,0xd],_0x543dbb=['CONNECTING',_0x2afbc0(0x22a),_0x2afbc0(0x2cc),_0x2afbc0(0x1cd)],_0x32cb1f=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x4b7aec extends _0x15ad02{constructor(_0x572686,_0x53e736,_0x33af21){const _0x51e7a1=_0x2afbc0;super(),this['_binaryType']=_0x15858e[0x0],this[_0x51e7a1(0x253)]=0x3ee,this[_0x51e7a1(0x2d4)]=!0x1,this[_0x51e7a1(0x1d3)]=!0x1,this[_0x51e7a1(0x2a7)]=_0x4aa117,this[_0x51e7a1(0x2cf)]=null,this['_errorEmitted']=!0x1,this[_0x51e7a1(0x281)]={},this[_0x51e7a1(0x2b3)]=!0x1,this[_0x51e7a1(0x22b)]='',this[_0x51e7a1(0x348)]=_0x4b7aec[_0x51e7a1(0x233)],this[_0x51e7a1(0x301)]=null,this[_0x51e7a1(0x1c3)]=null,this['_socket']=null,_0x572686!==null?(this[_0x51e7a1(0x2c7)]=0x0,this[_0x51e7a1(0x342)]=!0x1,this[_0x51e7a1(0x2e7)]=0x0,_0x53e736===void 0x0?_0x53e736=[]:Array[_0x51e7a1(0x272)](_0x53e736)||(typeof _0x53e736==_0x51e7a1(0x2dd)&&_0x53e736!==null?(_0x33af21=_0x53e736,_0x53e736=[]):_0x53e736=[_0x53e736]),_0x4fbd6f(this,_0x572686,_0x53e736,_0x33af21)):(this[_0x51e7a1(0x310)]=_0x33af21[_0x51e7a1(0x247)],this[_0x51e7a1(0x342)]=!0x0);}get[_0x2afbc0(0x20a)](){const _0x4c4d06=_0x2afbc0;return this[_0x4c4d06(0x29b)];}set[_0x2afbc0(0x20a)](_0x373c24){const _0x4f9bba=_0x2afbc0;_0x15858e[_0x4f9bba(0x32f)](_0x373c24)&&(this['_binaryType']=_0x373c24,this['_receiver']&&(this[_0x4f9bba(0x301)][_0x4f9bba(0x29b)]=_0x373c24));}get[_0x2afbc0(0x1e9)](){const _0x32cf80=_0x2afbc0;return this[_0x32cf80(0x255)]?this['_socket']['_writableState'][_0x32cf80(0x2ee)]+this[_0x32cf80(0x1c3)][_0x32cf80(0x32b)]:this[_0x32cf80(0x2c7)];}get[_0x2afbc0(0x32a)](){const _0x1ccb4e=_0x2afbc0;return Object[_0x1ccb4e(0x1d2)](this['_extensions'])['join']();}get[_0x2afbc0(0x295)](){const _0x4fec0f=_0x2afbc0;return this[_0x4fec0f(0x2b3)];}get['onclose'](){return null;}get[_0x2afbc0(0x33d)](){return null;}get[_0x2afbc0(0x2fd)](){return null;}get[_0x2afbc0(0x2e1)](){return null;}get[_0x2afbc0(0x1ec)](){const _0x3d6dc4=_0x2afbc0;return this[_0x3d6dc4(0x22b)];}get[_0x2afbc0(0x2fb)](){return this['_readyState'];}get[_0x2afbc0(0x31d)](){const _0x1f8844=_0x2afbc0;return this[_0x1f8844(0x315)];}[_0x2afbc0(0x293)](_0x25f079,_0x39f2ef,_0x199b81){const _0x1634a6=_0x2afbc0,_0x59a47a=new _0x58cd56({'allowSynchronousEvents':_0x199b81['allowSynchronousEvents'],'binaryType':this[_0x1634a6(0x20a)],'extensions':this[_0x1634a6(0x281)],'isServer':this[_0x1634a6(0x342)],'maxPayload':_0x199b81[_0x1634a6(0x1b9)],'skipUTF8Validation':_0x199b81[_0x1634a6(0x2c2)]}),_0x58c5fe=new _0x2af72e(_0x25f079,this['_extensions'],_0x199b81['generateMask']);this[_0x1634a6(0x301)]=_0x59a47a,this[_0x1634a6(0x1c3)]=_0x58c5fe,this[_0x1634a6(0x255)]=_0x25f079,_0x59a47a[_0x5cfcf5]=this,_0x58c5fe[_0x5cfcf5]=this,_0x25f079[_0x5cfcf5]=this,_0x59a47a['on'](_0x1634a6(0x274),_0x487d25),_0x59a47a['on'](_0x1634a6(0x25b),_0x3f3e56),_0x59a47a['on']('error',_0x5b1f85),_0x59a47a['on'](_0x1634a6(0x1b5),_0x33df1c),_0x59a47a['on']('ping',_0x3cfc01),_0x59a47a['on']('pong',_0x3a0e4b),_0x58c5fe['onerror']=_0x517de4,_0x25f079[_0x1634a6(0x263)]&&_0x25f079[_0x1634a6(0x263)](0x0),_0x25f079['setNoDelay']&&_0x25f079['setNoDelay'](),_0x39f2ef[_0x1634a6(0x2ee)]>0x0&&_0x25f079['unshift'](_0x39f2ef),_0x25f079['on'](_0x1634a6(0x21b),_0x145055),_0x25f079['on']('data',_0x2983e3),_0x25f079['on'](_0x1634a6(0x31a),_0x58b010),_0x25f079['on'](_0x1634a6(0x323),_0x38ec62),this[_0x1634a6(0x348)]=_0x4b7aec['OPEN'],this[_0x1634a6(0x1af)](_0x1634a6(0x206));}[_0x2afbc0(0x1e2)](){const _0x1cd9c1=_0x2afbc0;if(!this['_socket']){this['_readyState']=_0x4b7aec['CLOSED'],this['emit'](_0x1cd9c1(0x21b),this['_closeCode'],this[_0x1cd9c1(0x2a7)]);return;}this[_0x1cd9c1(0x281)][_0x7f5d27[_0x1cd9c1(0x1eb)]]&&this[_0x1cd9c1(0x281)][_0x7f5d27[_0x1cd9c1(0x1eb)]]['cleanup'](),this['_receiver'][_0x1cd9c1(0x24a)](),this[_0x1cd9c1(0x348)]=_0x4b7aec[_0x1cd9c1(0x1cd)],this[_0x1cd9c1(0x1af)](_0x1cd9c1(0x21b),this[_0x1cd9c1(0x253)],this[_0x1cd9c1(0x2a7)]);}[_0x2afbc0(0x21b)](_0x42a985,_0x4c6371){const _0x284cc8=_0x2afbc0;if(this['readyState']!==_0x4b7aec['CLOSED']){if(this[_0x284cc8(0x2fb)]===_0x4b7aec[_0x284cc8(0x233)]){_0x42322d(this,this['_req'],_0x284cc8(0x1c9));return;}if(this['readyState']===_0x4b7aec[_0x284cc8(0x2cc)]){this[_0x284cc8(0x1d3)]&&(this[_0x284cc8(0x2d4)]||this[_0x284cc8(0x301)][_0x284cc8(0x1ab)][_0x284cc8(0x2bc)])&&this['_socket'][_0x284cc8(0x31a)]();return;}this['_readyState']=_0x4b7aec[_0x284cc8(0x2cc)],this[_0x284cc8(0x1c3)][_0x284cc8(0x21b)](_0x42a985,_0x4c6371,!this[_0x284cc8(0x342)],_0x2265d6=>{const _0x299a8f=_0x284cc8;_0x2265d6||(this[_0x299a8f(0x1d3)]=!0x0,(this['_closeFrameReceived']||this[_0x299a8f(0x301)][_0x299a8f(0x1ab)]['errorEmitted'])&&this[_0x299a8f(0x255)][_0x299a8f(0x31a)]());}),_0x43f964(this);}}['pause'](){const _0x3b6603=_0x2afbc0;this['readyState']===_0x4b7aec[_0x3b6603(0x233)]||this['readyState']===_0x4b7aec[_0x3b6603(0x1cd)]||(this[_0x3b6603(0x2b3)]=!0x0,this[_0x3b6603(0x255)][_0x3b6603(0x2c6)]());}[_0x2afbc0(0x22c)](_0x1a815a,_0x20a4ed,_0x3482b9){const _0x115237=_0x2afbc0;if(this['readyState']===_0x4b7aec[_0x115237(0x233)])throw new Error(_0x115237(0x355));if(typeof _0x1a815a==_0x115237(0x21d)?(_0x3482b9=_0x1a815a,_0x1a815a=_0x20a4ed=void 0x0):typeof _0x20a4ed==_0x115237(0x21d)&&(_0x3482b9=_0x20a4ed,_0x20a4ed=void 0x0),typeof _0x1a815a=='number'&&(_0x1a815a=_0x1a815a['toString']()),this['readyState']!==_0x4b7aec[_0x115237(0x22a)]){_0x4e3dbb(this,_0x1a815a,_0x3482b9);return;}_0x20a4ed===void 0x0&&(_0x20a4ed=!this[_0x115237(0x342)]),this[_0x115237(0x1c3)][_0x115237(0x22c)](_0x1a815a||_0x4aa117,_0x20a4ed,_0x3482b9);}[_0x2afbc0(0x239)](_0x1b9bd5,_0x5527b7,_0x2ddf2d){const _0x361e6c=_0x2afbc0;if(this['readyState']===_0x4b7aec[_0x361e6c(0x233)])throw new Error(_0x361e6c(0x355));if(typeof _0x1b9bd5==_0x361e6c(0x21d)?(_0x2ddf2d=_0x1b9bd5,_0x1b9bd5=_0x5527b7=void 0x0):typeof _0x5527b7==_0x361e6c(0x21d)&&(_0x2ddf2d=_0x5527b7,_0x5527b7=void 0x0),typeof _0x1b9bd5==_0x361e6c(0x331)&&(_0x1b9bd5=_0x1b9bd5[_0x361e6c(0x28f)]()),this[_0x361e6c(0x2fb)]!==_0x4b7aec['OPEN']){_0x4e3dbb(this,_0x1b9bd5,_0x2ddf2d);return;}_0x5527b7===void 0x0&&(_0x5527b7=!this['_isServer']),this['_sender']['pong'](_0x1b9bd5||_0x4aa117,_0x5527b7,_0x2ddf2d);}['resume'](){const _0x30154b=_0x2afbc0;this[_0x30154b(0x2fb)]===_0x4b7aec['CONNECTING']||this[_0x30154b(0x2fb)]===_0x4b7aec[_0x30154b(0x1cd)]||(this['_paused']=!0x1,this['_receiver'][_0x30154b(0x1ab)][_0x30154b(0x27a)]||this[_0x30154b(0x255)]['resume']());}['send'](_0x2d93b2,_0x600278,_0x1cca4a){const _0xdf57ec=_0x2afbc0;if(this[_0xdf57ec(0x2fb)]===_0x4b7aec[_0xdf57ec(0x233)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x600278==_0xdf57ec(0x21d)&&(_0x1cca4a=_0x600278,_0x600278={}),typeof _0x2d93b2=='number'&&(_0x2d93b2=_0x2d93b2[_0xdf57ec(0x28f)]()),this[_0xdf57ec(0x2fb)]!==_0x4b7aec[_0xdf57ec(0x22a)]){_0x4e3dbb(this,_0x2d93b2,_0x1cca4a);return;}const _0x157a33={'binary':typeof _0x2d93b2!=_0xdf57ec(0x324),'mask':!this[_0xdf57ec(0x342)],'compress':!0x0,'fin':!0x0,..._0x600278};this[_0xdf57ec(0x281)][_0x7f5d27[_0xdf57ec(0x1eb)]]||(_0x157a33['compress']=!0x1),this[_0xdf57ec(0x1c3)]['send'](_0x2d93b2||_0x4aa117,_0x157a33,_0x1cca4a);}[_0x2afbc0(0x1b4)](){const _0x133b4a=_0x2afbc0;if(this[_0x133b4a(0x2fb)]!==_0x4b7aec['CLOSED']){if(this[_0x133b4a(0x2fb)]===_0x4b7aec[_0x133b4a(0x233)]){_0x42322d(this,this['_req'],_0x133b4a(0x1c9));return;}this[_0x133b4a(0x255)]&&(this[_0x133b4a(0x348)]=_0x4b7aec[_0x133b4a(0x2cc)],this[_0x133b4a(0x255)][_0x133b4a(0x2e4)]());}}}Object['defineProperty'](_0x4b7aec,_0x2afbc0(0x233),{'enumerable':!0x0,'value':_0x543dbb[_0x2afbc0(0x2dc)](_0x2afbc0(0x233))}),Object[_0x2afbc0(0x349)](_0x4b7aec['prototype'],_0x2afbc0(0x233),{'enumerable':!0x0,'value':_0x543dbb[_0x2afbc0(0x2dc)](_0x2afbc0(0x233))}),Object[_0x2afbc0(0x349)](_0x4b7aec,_0x2afbc0(0x22a),{'enumerable':!0x0,'value':_0x543dbb[_0x2afbc0(0x2dc)](_0x2afbc0(0x22a))}),Object[_0x2afbc0(0x349)](_0x4b7aec['prototype'],'OPEN',{'enumerable':!0x0,'value':_0x543dbb[_0x2afbc0(0x2dc)]('OPEN')}),Object['defineProperty'](_0x4b7aec,'CLOSING',{'enumerable':!0x0,'value':_0x543dbb[_0x2afbc0(0x2dc)]('CLOSING')}),Object[_0x2afbc0(0x349)](_0x4b7aec[_0x2afbc0(0x2a3)],_0x2afbc0(0x2cc),{'enumerable':!0x0,'value':_0x543dbb[_0x2afbc0(0x2dc)](_0x2afbc0(0x2cc))}),Object[_0x2afbc0(0x349)](_0x4b7aec,_0x2afbc0(0x1cd),{'enumerable':!0x0,'value':_0x543dbb[_0x2afbc0(0x2dc)](_0x2afbc0(0x1cd))}),Object[_0x2afbc0(0x349)](_0x4b7aec[_0x2afbc0(0x2a3)],'CLOSED',{'enumerable':!0x0,'value':_0x543dbb[_0x2afbc0(0x2dc)]('CLOSED')}),[_0x2afbc0(0x20a),_0x2afbc0(0x1e9),_0x2afbc0(0x32a),'isPaused',_0x2afbc0(0x1ec),_0x2afbc0(0x2fb),_0x2afbc0(0x31d)]['forEach'](_0x4c6294=>{const _0x574637=_0x2afbc0;Object[_0x574637(0x349)](_0x4b7aec['prototype'],_0x4c6294,{'enumerable':!0x0});}),[_0x2afbc0(0x206),'error',_0x2afbc0(0x21b),_0x2afbc0(0x1b5)][_0x2afbc0(0x298)](_0x48e284=>{const _0x3e491c=_0x2afbc0;Object[_0x3e491c(0x349)](_0x4b7aec[_0x3e491c(0x2a3)],'on'+_0x48e284,{'enumerable':!0x0,'get'(){const _0xfd5537=_0x3e491c;for(const _0x171605 of this[_0xfd5537(0x2fc)](_0x48e284))if(_0x171605[_0x134ef7])return _0x171605[_0x356d78];return null;},'set'(_0x1daabc){const _0x34ab06=_0x3e491c;for(const _0x3ac777 of this[_0x34ab06(0x2fc)](_0x48e284))if(_0x3ac777[_0x134ef7]){this[_0x34ab06(0x1ed)](_0x48e284,_0x3ac777);break;}typeof _0x1daabc=='function'&&this['addEventListener'](_0x48e284,_0x1daabc,{[_0x134ef7]:!0x0});}});}),_0x4b7aec[_0x2afbc0(0x2a3)][_0x2afbc0(0x20e)]=_0x2321bf,_0x4b7aec[_0x2afbc0(0x2a3)]['removeEventListener']=_0x4d83c9,we=_0x4b7aec;function _0x4fbd6f(_0x22418d,_0x1573dd,_0x117be2,_0x40893d){const _0x59c0a0=_0x2afbc0,_0x266973={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x104400[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x40893d,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x59c0a0(0x33c),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x22418d[_0x59c0a0(0x310)]=_0x266973[_0x59c0a0(0x247)],!_0x104400['includes'](_0x266973[_0x59c0a0(0x29c)]))throw new RangeError(_0x59c0a0(0x2ad)+_0x266973['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x104400[_0x59c0a0(0x2f6)](',\x20')+')');let _0x112967;if(_0x1573dd instanceof _0x163413)_0x112967=_0x1573dd;else try{_0x112967=new _0x163413(_0x1573dd);}catch{throw new SyntaxError(_0x59c0a0(0x34e)+_0x1573dd);}_0x112967[_0x59c0a0(0x1ec)]==='http:'?_0x112967[_0x59c0a0(0x1ec)]='ws:':_0x112967[_0x59c0a0(0x1ec)]===_0x59c0a0(0x208)&&(_0x112967[_0x59c0a0(0x1ec)]=_0x59c0a0(0x1ac)),_0x22418d[_0x59c0a0(0x315)]=_0x112967[_0x59c0a0(0x2a6)];const _0xfe0c7f=_0x112967[_0x59c0a0(0x1ec)]===_0x59c0a0(0x1ac),_0x5d4321=_0x112967['protocol']===_0x59c0a0(0x334);let _0x4fdd91;if(_0x112967['protocol']!==_0x59c0a0(0x29d)&&!_0xfe0c7f&&!_0x5d4321?_0x4fdd91=_0x59c0a0(0x353):_0x5d4321&&!_0x112967[_0x59c0a0(0x34d)]?_0x4fdd91=_0x59c0a0(0x30a):_0x112967[_0x59c0a0(0x304)]&&(_0x4fdd91=_0x59c0a0(0x259)),_0x4fdd91){const _0x47d643=new SyntaxError(_0x4fdd91);if(_0x22418d['_redirects']===0x0)throw _0x47d643;_0x24be84(_0x22418d,_0x47d643);return;}const _0x2c5972=_0xfe0c7f?0x1bb:0x50,_0x384aaf=_0x5297d5(0x10)[_0x59c0a0(0x28f)](_0x59c0a0(0x1c6)),_0x4e519a=_0xfe0c7f?_0x323bb1[_0x59c0a0(0x228)]:_0x569efd['request'],_0x2506cc=new Set();let _0x490b28;if(_0x266973[_0x59c0a0(0x30b)]=_0x266973[_0x59c0a0(0x30b)]||(_0xfe0c7f?_0x2f36de:_0x171bc1),_0x266973['defaultPort']=_0x266973[_0x59c0a0(0x2c4)]||_0x2c5972,_0x266973[_0x59c0a0(0x2cb)]=_0x112967[_0x59c0a0(0x2cb)]||_0x2c5972,_0x266973['host']=_0x112967['hostname'][_0x59c0a0(0x1d9)]('[')?_0x112967[_0x59c0a0(0x21f)][_0x59c0a0(0x335)](0x1,-0x1):_0x112967[_0x59c0a0(0x21f)],_0x266973[_0x59c0a0(0x237)]={..._0x266973[_0x59c0a0(0x237)],'Sec-WebSocket-Version':_0x266973[_0x59c0a0(0x29c)],'Sec-WebSocket-Key':_0x384aaf,'Connection':_0x59c0a0(0x2ac),'Upgrade':_0x59c0a0(0x2fa)},_0x266973[_0x59c0a0(0x34c)]=_0x112967[_0x59c0a0(0x34d)]+_0x112967['search'],_0x266973[_0x59c0a0(0x296)]=_0x266973['handshakeTimeout'],_0x266973[_0x59c0a0(0x339)]&&(_0x490b28=new _0x7f5d27(_0x266973[_0x59c0a0(0x339)]!==!0x0?_0x266973[_0x59c0a0(0x339)]:{},!0x1,_0x266973['maxPayload']),_0x266973[_0x59c0a0(0x237)]['Sec-WebSocket-Extensions']=_0x49c42d({[_0x7f5d27[_0x59c0a0(0x1eb)]]:_0x490b28[_0x59c0a0(0x242)]()})),_0x117be2[_0x59c0a0(0x2ee)]){for(const _0x151818 of _0x117be2){if(typeof _0x151818!=_0x59c0a0(0x324)||!_0x32cb1f[_0x59c0a0(0x308)](_0x151818)||_0x2506cc[_0x59c0a0(0x2bd)](_0x151818))throw new SyntaxError(_0x59c0a0(0x1f6));_0x2506cc[_0x59c0a0(0x2ea)](_0x151818);}_0x266973[_0x59c0a0(0x237)][_0x59c0a0(0x343)]=_0x117be2['join'](',');}if(_0x266973[_0x59c0a0(0x289)]&&(_0x266973[_0x59c0a0(0x29c)]<0xd?_0x266973[_0x59c0a0(0x237)][_0x59c0a0(0x2d2)]=_0x266973[_0x59c0a0(0x289)]:_0x266973[_0x59c0a0(0x237)][_0x59c0a0(0x33e)]=_0x266973[_0x59c0a0(0x289)]),(_0x112967[_0x59c0a0(0x1bf)]||_0x112967[_0x59c0a0(0x2ef)])&&(_0x266973[_0x59c0a0(0x33a)]=_0x112967[_0x59c0a0(0x1bf)]+':'+_0x112967[_0x59c0a0(0x2ef)]),_0x5d4321){const _0x45aa46=_0x266973['path'][_0x59c0a0(0x321)](':');_0x266973[_0x59c0a0(0x2a1)]=_0x45aa46[0x0],_0x266973[_0x59c0a0(0x34c)]=_0x45aa46[0x1];}let _0x38e8af;if(_0x266973[_0x59c0a0(0x314)]){if(_0x22418d[_0x59c0a0(0x2e7)]===0x0){_0x22418d[_0x59c0a0(0x216)]=_0x5d4321,_0x22418d[_0x59c0a0(0x1b6)]=_0xfe0c7f,_0x22418d[_0x59c0a0(0x1e7)]=_0x5d4321?_0x266973[_0x59c0a0(0x2a1)]:_0x112967[_0x59c0a0(0x260)];const _0x17f0e1=_0x40893d&&_0x40893d[_0x59c0a0(0x237)];if(_0x40893d={..._0x40893d,'headers':{}},_0x17f0e1){for(const [_0x2a6c93,_0x1cda7d]of Object['entries'](_0x17f0e1))_0x40893d[_0x59c0a0(0x237)][_0x2a6c93['toLowerCase']()]=_0x1cda7d;}}else{if(_0x22418d[_0x59c0a0(0x279)](_0x59c0a0(0x358))===0x0){const _0x482831=_0x5d4321?_0x22418d[_0x59c0a0(0x216)]?_0x266973[_0x59c0a0(0x2a1)]===_0x22418d[_0x59c0a0(0x1e7)]:!0x1:_0x22418d['_originalIpc']?!0x1:_0x112967[_0x59c0a0(0x260)]===_0x22418d[_0x59c0a0(0x1e7)];(!_0x482831||_0x22418d[_0x59c0a0(0x1b6)]&&!_0xfe0c7f)&&(delete _0x266973[_0x59c0a0(0x237)][_0x59c0a0(0x23c)],delete _0x266973[_0x59c0a0(0x237)][_0x59c0a0(0x351)],_0x482831||delete _0x266973[_0x59c0a0(0x237)][_0x59c0a0(0x260)],_0x266973[_0x59c0a0(0x33a)]=void 0x0);}}_0x266973[_0x59c0a0(0x33a)]&&!_0x40893d['headers']['authorization']&&(_0x40893d[_0x59c0a0(0x237)][_0x59c0a0(0x23c)]=_0x59c0a0(0x285)+Buffer['from'](_0x266973[_0x59c0a0(0x33a)])[_0x59c0a0(0x28f)](_0x59c0a0(0x1c6))),_0x38e8af=_0x22418d[_0x59c0a0(0x2b1)]=_0x4e519a(_0x266973),_0x22418d['_redirects']&&_0x22418d[_0x59c0a0(0x1af)](_0x59c0a0(0x358),_0x22418d['url'],_0x38e8af);}else _0x38e8af=_0x22418d[_0x59c0a0(0x2b1)]=_0x4e519a(_0x266973);_0x266973[_0x59c0a0(0x296)]&&_0x38e8af['on'](_0x59c0a0(0x296),()=>{const _0xd7aa34=_0x59c0a0;_0x42322d(_0x22418d,_0x38e8af,_0xd7aa34(0x2b8));}),_0x38e8af['on'](_0x59c0a0(0x323),_0x5db72b=>{const _0x2e47f8=_0x59c0a0;_0x38e8af===null||_0x38e8af[_0x55de55]||(_0x38e8af=_0x22418d[_0x2e47f8(0x2b1)]=null,_0x24be84(_0x22418d,_0x5db72b));}),_0x38e8af['on'](_0x59c0a0(0x28b),_0xf9c004=>{const _0x554e17=_0x59c0a0,_0x3b922c=_0xf9c004['headers'][_0x554e17(0x1f5)],_0x15447d=_0xf9c004[_0x554e17(0x317)];if(_0x3b922c&&_0x266973[_0x554e17(0x314)]&&_0x15447d>=0x12c&&_0x15447d<0x190){if(++_0x22418d['_redirects']>_0x266973[_0x554e17(0x2f5)]){_0x42322d(_0x22418d,_0x38e8af,'Maximum\x20redirects\x20exceeded');return;}_0x38e8af[_0x554e17(0x284)]();let _0x23c72e;try{_0x23c72e=new _0x163413(_0x3b922c,_0x1573dd);}catch{const _0x53738e=new SyntaxError(_0x554e17(0x34e)+_0x3b922c);_0x24be84(_0x22418d,_0x53738e);return;}_0x4fbd6f(_0x22418d,_0x23c72e,_0x117be2,_0x40893d);}else _0x22418d[_0x554e17(0x1af)](_0x554e17(0x2f9),_0x38e8af,_0xf9c004)||_0x42322d(_0x22418d,_0x38e8af,'Unexpected\x20server\x20response:\x20'+_0xf9c004['statusCode']);}),_0x38e8af['on'](_0x59c0a0(0x29f),(_0x1899d5,_0x4bc19b,_0x54372b)=>{const _0x102d18=_0x59c0a0;if(_0x22418d['emit'](_0x102d18(0x29f),_0x1899d5),_0x22418d[_0x102d18(0x2fb)]!==_0x4b7aec['CONNECTING'])return;_0x38e8af=_0x22418d['_req']=null;const _0x447fd2=_0x1899d5[_0x102d18(0x237)][_0x102d18(0x29f)];if(_0x447fd2===void 0x0||_0x447fd2['toLowerCase']()!==_0x102d18(0x2fa)){_0x42322d(_0x22418d,_0x4bc19b,_0x102d18(0x222));return;}const _0x386672=_0x5bb5fd(_0x102d18(0x252))['update'](_0x384aaf+_0x200f2a)['digest']('base64');if(_0x1899d5[_0x102d18(0x237)][_0x102d18(0x1c5)]!==_0x386672){_0x42322d(_0x22418d,_0x4bc19b,_0x102d18(0x2a5));return;}const _0x358da7=_0x1899d5[_0x102d18(0x237)][_0x102d18(0x2f2)];let _0x34db60;if(_0x358da7!==void 0x0?_0x2506cc[_0x102d18(0x318)]?_0x2506cc[_0x102d18(0x2bd)](_0x358da7)||(_0x34db60=_0x102d18(0x2b9)):_0x34db60=_0x102d18(0x248):_0x2506cc[_0x102d18(0x318)]&&(_0x34db60=_0x102d18(0x329)),_0x34db60){_0x42322d(_0x22418d,_0x4bc19b,_0x34db60);return;}_0x358da7&&(_0x22418d['_protocol']=_0x358da7);const _0x454aac=_0x1899d5[_0x102d18(0x237)][_0x102d18(0x1db)];if(_0x454aac!==void 0x0){if(!_0x490b28){_0x42322d(_0x22418d,_0x4bc19b,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x60f7d1;try{_0x60f7d1=_0x24e0ef(_0x454aac);}catch{_0x42322d(_0x22418d,_0x4bc19b,_0x102d18(0x21a));return;}const _0x35895f=Object[_0x102d18(0x1d2)](_0x60f7d1);if(_0x35895f[_0x102d18(0x2ee)]!==0x1||_0x35895f[0x0]!==_0x7f5d27[_0x102d18(0x1eb)]){_0x42322d(_0x22418d,_0x4bc19b,_0x102d18(0x1c2));return;}try{_0x490b28[_0x102d18(0x215)](_0x60f7d1[_0x7f5d27[_0x102d18(0x1eb)]]);}catch{_0x42322d(_0x22418d,_0x4bc19b,_0x102d18(0x21a));return;}_0x22418d[_0x102d18(0x281)][_0x7f5d27['extensionName']]=_0x490b28;}_0x22418d[_0x102d18(0x293)](_0x4bc19b,_0x54372b,{'allowSynchronousEvents':_0x266973[_0x102d18(0x250)],'generateMask':_0x266973[_0x102d18(0x2b7)],'maxPayload':_0x266973['maxPayload'],'skipUTF8Validation':_0x266973['skipUTF8Validation']});}),_0x266973[_0x59c0a0(0x30c)]?_0x266973['finishRequest'](_0x38e8af,_0x22418d):_0x38e8af[_0x59c0a0(0x31a)]();}function _0x24be84(_0x514703,_0x3b2358){const _0x412c7e=_0x2afbc0;_0x514703[_0x412c7e(0x348)]=_0x4b7aec[_0x412c7e(0x2cc)],_0x514703['_errorEmitted']=!0x0,_0x514703[_0x412c7e(0x1af)](_0x412c7e(0x323),_0x3b2358),_0x514703[_0x412c7e(0x1e2)]();}function _0x171bc1(_0x4b46f3){const _0x2183a7=_0x2afbc0;return _0x4b46f3[_0x2183a7(0x34c)]=_0x4b46f3[_0x2183a7(0x2a1)],_0x450b4b[_0x2183a7(0x230)](_0x4b46f3);}function _0x2f36de(_0x4e8e10){const _0x383b08=_0x2afbc0;return _0x4e8e10[_0x383b08(0x34c)]=void 0x0,!_0x4e8e10['servername']&&_0x4e8e10[_0x383b08(0x2f1)]!==''&&(_0x4e8e10[_0x383b08(0x2f1)]=_0x450b4b[_0x383b08(0x2d3)](_0x4e8e10[_0x383b08(0x260)])?'':_0x4e8e10[_0x383b08(0x260)]),_0x3b6cff[_0x383b08(0x230)](_0x4e8e10);}function _0x42322d(_0xee13d7,_0x4b8abd,_0x5d8dc8){const _0x4137ac=_0x2afbc0;_0xee13d7[_0x4137ac(0x348)]=_0x4b7aec[_0x4137ac(0x2cc)];const _0x5b40d0=new Error(_0x5d8dc8);Error[_0x4137ac(0x23e)](_0x5b40d0,_0x42322d),_0x4b8abd['setHeader']?(_0x4b8abd[_0x55de55]=!0x0,_0x4b8abd[_0x4137ac(0x284)](),_0x4b8abd[_0x4137ac(0x1ef)]&&!_0x4b8abd[_0x4137ac(0x1ef)][_0x4137ac(0x326)]&&_0x4b8abd[_0x4137ac(0x1ef)][_0x4137ac(0x2e4)](),process[_0x4137ac(0x217)](_0x24be84,_0xee13d7,_0x5b40d0)):(_0x4b8abd[_0x4137ac(0x2e4)](_0x5b40d0),_0x4b8abd[_0x4137ac(0x1e0)](_0x4137ac(0x323),_0xee13d7['emit'][_0x4137ac(0x1de)](_0xee13d7,_0x4137ac(0x323))),_0x4b8abd[_0x4137ac(0x1e0)]('close',_0xee13d7[_0x4137ac(0x1e2)][_0x4137ac(0x1de)](_0xee13d7)));}function _0x4e3dbb(_0x310d22,_0x26cb03,_0x4575e4){const _0x35be8d=_0x2afbc0;if(_0x26cb03){const _0x5cb604=_0x3be5c3(_0x26cb03)?_0x26cb03['size']:_0x416423(_0x26cb03)['length'];_0x310d22[_0x35be8d(0x255)]?_0x310d22[_0x35be8d(0x1c3)][_0x35be8d(0x32b)]+=_0x5cb604:_0x310d22[_0x35be8d(0x2c7)]+=_0x5cb604;}if(_0x4575e4){const _0x5ddb25=new Error(_0x35be8d(0x21c)+_0x310d22[_0x35be8d(0x2fb)]+'\x20('+_0x543dbb[_0x310d22[_0x35be8d(0x2fb)]]+')');process['nextTick'](_0x4575e4,_0x5ddb25);}}function _0x487d25(_0x591511,_0x57d488){const _0xc67fc8=_0x2afbc0,_0x5007ca=this[_0x5cfcf5];_0x5007ca[_0xc67fc8(0x2d4)]=!0x0,_0x5007ca['_closeMessage']=_0x57d488,_0x5007ca[_0xc67fc8(0x253)]=_0x591511,_0x5007ca['_socket'][_0x5cfcf5]!==void 0x0&&(_0x5007ca['_socket'][_0xc67fc8(0x1ed)](_0xc67fc8(0x1d8),_0x2983e3),process[_0xc67fc8(0x217)](_0x1989a5,_0x5007ca[_0xc67fc8(0x255)]),_0x591511===0x3ed?_0x5007ca[_0xc67fc8(0x21b)]():_0x5007ca[_0xc67fc8(0x21b)](_0x591511,_0x57d488));}function _0x3f3e56(){const _0x276175=_0x2afbc0,_0x3d131e=this[_0x5cfcf5];_0x3d131e[_0x276175(0x295)]||_0x3d131e['_socket']['resume']();}function _0x5b1f85(_0x29cd4b){const _0x468629=_0x2afbc0,_0x5be505=this[_0x5cfcf5];_0x5be505[_0x468629(0x255)][_0x5cfcf5]!==void 0x0&&(_0x5be505[_0x468629(0x255)][_0x468629(0x1ed)](_0x468629(0x1d8),_0x2983e3),process[_0x468629(0x217)](_0x1989a5,_0x5be505[_0x468629(0x255)]),_0x5be505[_0x468629(0x21b)](_0x29cd4b[_0x463c1b])),_0x5be505[_0x468629(0x1ea)]||(_0x5be505[_0x468629(0x1ea)]=!0x0,_0x5be505[_0x468629(0x1af)]('error',_0x29cd4b));}function _0x5e04ba(){this[_0x5cfcf5]['emitClose']();}function _0x33df1c(_0xc12f6f,_0x4f549a){const _0x42d6a1=_0x2afbc0;this[_0x5cfcf5][_0x42d6a1(0x1af)]('message',_0xc12f6f,_0x4f549a);}function _0x3cfc01(_0x5d5634){const _0x3d4528=_0x2afbc0,_0x5b7d89=this[_0x5cfcf5];_0x5b7d89[_0x3d4528(0x310)]&&_0x5b7d89[_0x3d4528(0x239)](_0x5d5634,!this[_0x3d4528(0x342)],_0x287425),_0x5b7d89[_0x3d4528(0x1af)](_0x3d4528(0x22c),_0x5d5634);}function _0x3a0e4b(_0x1616ad){const _0xfefa39=_0x2afbc0;this[_0x5cfcf5][_0xfefa39(0x1af)]('pong',_0x1616ad);}function _0x1989a5(_0x88a6b5){const _0x5506e6=_0x2afbc0;_0x88a6b5[_0x5506e6(0x226)]();}function _0x517de4(_0x2d3a3b){const _0x19c95e=_0x2afbc0,_0x34ca66=this[_0x5cfcf5];_0x34ca66[_0x19c95e(0x2fb)]!==_0x4b7aec[_0x19c95e(0x1cd)]&&(_0x34ca66[_0x19c95e(0x2fb)]===_0x4b7aec['OPEN']&&(_0x34ca66['_readyState']=_0x4b7aec['CLOSING'],_0x43f964(_0x34ca66)),this[_0x19c95e(0x255)]['end'](),_0x34ca66[_0x19c95e(0x1ea)]||(_0x34ca66['_errorEmitted']=!0x0,_0x34ca66[_0x19c95e(0x1af)]('error',_0x2d3a3b)));}function _0x43f964(_0x39dc65){const _0x136778=_0x2afbc0;_0x39dc65['_closeTimer']=setTimeout(_0x39dc65[_0x136778(0x255)][_0x136778(0x2e4)][_0x136778(0x1de)](_0x39dc65[_0x136778(0x255)]),_0x4aecf5);}function _0x145055(){const _0x1850c6=_0x2afbc0,_0xb74174=this[_0x5cfcf5];this[_0x1850c6(0x1ed)](_0x1850c6(0x21b),_0x145055),this['removeListener'](_0x1850c6(0x1d8),_0x2983e3),this['removeListener']('end',_0x58b010),_0xb74174[_0x1850c6(0x348)]=_0x4b7aec[_0x1850c6(0x2cc)];let _0x42e9bb;!this[_0x1850c6(0x2bf)][_0x1850c6(0x261)]&&!_0xb74174[_0x1850c6(0x2d4)]&&!_0xb74174[_0x1850c6(0x301)][_0x1850c6(0x1ab)][_0x1850c6(0x2bc)]&&(_0x42e9bb=_0xb74174[_0x1850c6(0x255)][_0x1850c6(0x290)]())!==null&&_0xb74174[_0x1850c6(0x301)][_0x1850c6(0x300)](_0x42e9bb),_0xb74174[_0x1850c6(0x301)][_0x1850c6(0x31a)](),this[_0x5cfcf5]=void 0x0,clearTimeout(_0xb74174[_0x1850c6(0x2cf)]),_0xb74174['_receiver'][_0x1850c6(0x1ab)][_0x1850c6(0x20c)]||_0xb74174[_0x1850c6(0x301)][_0x1850c6(0x1ab)]['errorEmitted']?_0xb74174[_0x1850c6(0x1e2)]():(_0xb74174[_0x1850c6(0x301)]['on'](_0x1850c6(0x323),_0x5e04ba),_0xb74174[_0x1850c6(0x301)]['on'](_0x1850c6(0x30d),_0x5e04ba));}function _0x2983e3(_0x2e6300){const _0x2fe08b=_0x2afbc0;this[_0x5cfcf5][_0x2fe08b(0x301)][_0x2fe08b(0x300)](_0x2e6300)||this[_0x2fe08b(0x2c6)]();}function _0x58b010(){const _0x5caa3c=_0x2afbc0,_0x5073ce=this[_0x5cfcf5];_0x5073ce['_readyState']=_0x4b7aec[_0x5caa3c(0x2cc)],_0x5073ce[_0x5caa3c(0x301)][_0x5caa3c(0x31a)](),this[_0x5caa3c(0x31a)]();}function _0x38ec62(){const _0x2efdd9=_0x2afbc0,_0x5c0959=this[_0x5cfcf5];this[_0x2efdd9(0x1ed)]('error',_0x38ec62),this['on']('error',_0x287425),_0x5c0959&&(_0x5c0959[_0x2efdd9(0x348)]=_0x4b7aec[_0x2efdd9(0x2cc)],this['destroy']());}return we;}var Oe,it;function _0xe3de(){const _0x205123=['_masked','haveLength','headers','_firstFragment','pong','1249002HoaOFb','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','authorization','then','captureStackTrace','env','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','dataMessage','offer','allocUnsafe','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','kDone','_doCreateSocket','autoPong','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','server','removeAllListeners','kReason','dispose','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_errored','invalid\x20status\x20code\x20','allowSynchronousEvents','isView','sha1','_closeCode','replace','_socket','controlMessage','status-code','WS_ERR_INVALID_CLOSE_CODE','The\x20URL\x20contains\x20a\x20fragment\x20identifier','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','drain','_queue','call','authorized','Sec-WebSocket-Protocol:\x20','host','endEmitted','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','setTimeout','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','getMask','sec-websocket-origin','\x0d\x0a\x0d\x0a','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','clientTracking','target','shift','isInteger','The\x20server\x20is\x20not\x20running','kMessage','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Max\x20payload\x20size\x20exceeded','charCodeAt','isArray','STATUS_CODES','conclude','_allowSynchronousEvents','WS_NO_UTF_8_VALIDATE','Invalid\x20Sec-WebSocket-Protocol\x20header','_loop','listenerCount','needDrain','The\x20\x22','from','Z_DEFAULT_WINDOWBITS','_registerDependencies','arraybuffer','Invalid\x20HTTP\x20method','_extensions','MASK\x20must\x20be\x20set','_options','abort','Basic\x20','671536QNQoys','Upgrade:\x20websocket','params','origin','writeUInt16BE','response','arrayBuffer','format','_fin','toString','read','text/plain','nodebuffer','setSocket','7355yGvBtr','isPaused','timeout','_compressed','forEach','exports','_state','_binaryType','protocolVersion','ws:','MASK\x20must\x20be\x20clear','upgrade','__esModule','socketPath','parse','prototype','_no_context_takeover','Invalid\x20Sec-WebSocket-Accept\x20header','href','_closeMessage','isBuffer','556VophTI','335012Obznsc','rsv1','Upgrade','Unsupported\x20protocol\x20version:\x20','_removeListeners','kRun','_shouldEmitClose','_req','flush','_paused','value','dequeue','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','generateMask','Opening\x20handshake\x20has\x20timed\x20out','Server\x20sent\x20an\x20invalid\x20subprotocol','callback','verifyClient','errorEmitted','has','toLowerCase','_readableState','getPayloadLength64','type','skipUTF8Validation','concurrencyLimit','defaultPort','sendFrame','pause','_bufferedAmount','kIsForOnEventAttribute','RSV1\x20must\x20be\x20clear','_totalPayloadLength','port','CLOSING','buffer','mask','_closeTimer','blob','compress','Sec-WebSocket-Origin','isIP','_closeFrameReceived','_httpService','WS_ERR_UNEXPECTED_RSV_1','consume','enqueue','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','pending','decompress','indexOf','object','acceptAsServer','startLoop','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','onmessage','FIN\x20must\x20be\x20set','acceptAsClient','destroy','dispatch','_read','_redirects','delete','reset','add','onStarting','jobs','byteLength','length','password','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','servername','sec-websocket-protocol','writeHead','uncork','maxRedirects','join','normalizeParams','WS_ERR_EXPECTED_MASK','unexpected-response','websocket','readyState','listeners','onopen','clientNoContextTakeover','WS_ERR_INVALID_OPCODE','write','_receiver','kData','_payloadLength','hash','update','_compress','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','test','Z_SYNC_FLUSH','The\x20URL\x27s\x20pathname\x20is\x20empty','createConnection','finishRequest','finish','readOnly','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_autoPong','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','zlibInflateOptions','setConfig','followRedirects','_url','fin','statusCode','size','map','end','cork','clientMaxWindowBits','url','getBlobData','WebSocket','handleProtocols','split','File','error','string','_maxPayload','destroyed','get','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','Server\x20sent\x20no\x20subprotocol','extensions','_bufferedBytes','serverMaxWindowBits','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','threshold','includes','server_max_window_bits','number','noServer','options','ws+unix:','slice','kCode','_messageLength','_decompress','perMessageDeflate','auth','client_no_context_takeover','GET','onerror','Origin','customHeaders','total-length','Blob','_isServer','Sec-WebSocket-Protocol','warn','\x22:\x20','isServer','objectMode','_readyState','defineProperty','default','getData','path','pathname','Invalid\x20URL:\x20','kError','client_max_window_bits','cookie','next','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','createServer','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_destroy','text/html','redirect','serverNoContextTakeover','1085070ahPfGs','create','_maskBuffer','createInflateRaw','_writableState','wss:','_deflate','_generateMask','emit','concat','maskBuffer','toStringTag','_fragmented','terminate','message','_originalSecure','createError','constructor','maxPayload','kByteLength','createDeflateRaw','_fragments','invalid\x20payload\x20length\x20','server_no_context_takeover','username','isValidUTF8','getPayloadLength16','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_sender','_opcode','sec-websocket-accept','base64','send','clients','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Invalid\x20value\x20for\x20parameter\x20\x22','getInfo','buffers','CLOSED','species','listen','invalid\x20UTF-8\x20sequence','kListener','keys','_closeFrameSent','_skipUTF8Validation','pluginName','WS_ERR_INVALID_UTF8','apply','data','startsWith','client','sec-websocket-extensions','frame','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','bind','_injector','once','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','emitClose','getConfig','completeUpgrade','opcode','_mask','_originalHostOrSocketPath','3792530EmPEut','bufferedAmount','_errorEmitted','extensionName','protocol','removeListener','removeEventListener','socket','byteOffset','pipe','wasClean','connection','set','location','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_final','kAborted','handleUpgrade','pow','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','HTTP/1.1\x20101\x20Switching\x20Protocols','Unexpected\x20character\x20at\x20index\x20','Invalid\x20WebSocket\x20frame:\x20','_inflate','alloc','fragments','_server','freeze','readUInt16BE','push','open','unmask','https:','_configService','binaryType','_write','finished','stream','addEventListener','Module','WS_ERR_UNEXPECTED_RSV_2_3','readUInt32BE','shouldHandle','wsClientError','permessage-deflate','accept','_originalIpc','nextTick','getOwnPropertyDescriptor','reason','Invalid\x20Sec-WebSocket-Extensions\x20header','close','WebSocket\x20is\x20not\x20open:\x20readyState\x20','function','address','hostname','invalid\x20opcode\x20','Sec-WebSocket-Accept:\x20','Invalid\x20Upgrade\x20header','handleEvent','32216gIRCEN','kTarget','resume','_threshold','request','hasOwnProperty','OPEN','_protocol','ping','\x22\x20subprotocol\x20is\x20duplicated','Unexpected\x20end\x20of\x20input','code','connect','collaboration-client-node.config','_buffers','CONNECTING','createSocket'];_0xe3de=function(){return _0x205123;};return _0xe3de();}function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x1a7b13}=_0x4c524e;function _0x305efb(_0x3746a7){_0x3746a7['emit']('close');}function _0x4b8310(){const _0xd0552b=_0x4dda;!this['destroyed']&&this[_0xd0552b(0x1ab)][_0xd0552b(0x20c)]&&this['destroy']();}function _0x1d74e0(_0x45edbd){const _0x2fa8c3=_0x4dda;this[_0x2fa8c3(0x1ed)](_0x2fa8c3(0x323),_0x1d74e0),this[_0x2fa8c3(0x2e4)](),this[_0x2fa8c3(0x279)](_0x2fa8c3(0x323))===0x0&&this[_0x2fa8c3(0x1af)](_0x2fa8c3(0x323),_0x45edbd);}function _0x38209a(_0xf84221,_0x441b29){const _0x4c1762=_0x4dda;let _0x2685c6=!0x0;const _0x53414f=new _0x1a7b13({..._0x441b29,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xf84221['on']('message',function(_0x30e6af,_0x1a61f3){const _0x26f866=_0x4dda,_0x4fedd6=!_0x1a61f3&&_0x53414f[_0x26f866(0x2bf)][_0x26f866(0x347)]?_0x30e6af['toString']():_0x30e6af;_0x53414f[_0x26f866(0x205)](_0x4fedd6)||_0xf84221[_0x26f866(0x2c6)]();}),_0xf84221[_0x4c1762(0x1e0)](_0x4c1762(0x323),function(_0x1edf4c){const _0x5d262b=_0x4c1762;_0x53414f['destroyed']||(_0x2685c6=!0x1,_0x53414f[_0x5d262b(0x2e4)](_0x1edf4c));}),_0xf84221[_0x4c1762(0x1e0)](_0x4c1762(0x21b),function(){const _0x5d961a=_0x4c1762;_0x53414f[_0x5d961a(0x326)]||_0x53414f[_0x5d961a(0x205)](null);}),_0x53414f[_0x4c1762(0x356)]=function(_0x6a4528,_0xa50144){const _0x396892=_0x4c1762;if(_0xf84221['readyState']===_0xf84221['CLOSED']){_0xa50144(_0x6a4528),process[_0x396892(0x217)](_0x305efb,_0x53414f);return;}let _0x1b0d1b=!0x1;_0xf84221[_0x396892(0x1e0)](_0x396892(0x323),function(_0x27df03){_0x1b0d1b=!0x0,_0xa50144(_0x27df03);}),_0xf84221[_0x396892(0x1e0)](_0x396892(0x21b),function(){const _0x469654=_0x396892;_0x1b0d1b||_0xa50144(_0x6a4528),process[_0x469654(0x217)](_0x305efb,_0x53414f);}),_0x2685c6&&_0xf84221[_0x396892(0x1b4)]();},_0x53414f[_0x4c1762(0x1f7)]=function(_0x45d99c){const _0x200a1f=_0x4c1762;if(_0xf84221[_0x200a1f(0x2fb)]===_0xf84221['CONNECTING']){_0xf84221[_0x200a1f(0x1e0)]('open',function(){_0x53414f['_final'](_0x45d99c);});return;}_0xf84221[_0x200a1f(0x255)]!==null&&(_0xf84221[_0x200a1f(0x255)][_0x200a1f(0x1ab)][_0x200a1f(0x20c)]?(_0x45d99c(),_0x53414f['_readableState'][_0x200a1f(0x261)]&&_0x53414f[_0x200a1f(0x2e4)]()):(_0xf84221[_0x200a1f(0x255)][_0x200a1f(0x1e0)](_0x200a1f(0x30d),function(){_0x45d99c();}),_0xf84221[_0x200a1f(0x21b)]()));},_0x53414f[_0x4c1762(0x2e6)]=function(){const _0x3688e2=_0x4c1762;_0xf84221['isPaused']&&_0xf84221[_0x3688e2(0x226)]();},_0x53414f[_0x4c1762(0x20b)]=function(_0x96d7a3,_0x34791a,_0x48a1d3){const _0x1e96f3=_0x4c1762;if(_0xf84221[_0x1e96f3(0x2fb)]===_0xf84221['CONNECTING']){_0xf84221[_0x1e96f3(0x1e0)]('open',function(){const _0x12210f=_0x1e96f3;_0x53414f[_0x12210f(0x20b)](_0x96d7a3,_0x34791a,_0x48a1d3);});return;}_0xf84221[_0x1e96f3(0x1c7)](_0x96d7a3,_0x48a1d3);},_0x53414f['on'](_0x4c1762(0x31a),_0x4b8310),_0x53414f['on'](_0x4c1762(0x323),_0x1d74e0),_0x53414f;}return Oe=_0x38209a,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x355680}=ne();function _0x7ed0b(_0x3e4678){const _0x5ba7e5=_0x4dda,_0xbf7cf7=new Set();let _0x32b886=-0x1,_0x5d62ce=-0x1,_0x1bb6d1=0x0;for(_0x1bb6d1;_0x1bb6d1<_0x3e4678[_0x5ba7e5(0x2ee)];_0x1bb6d1++){const _0x3f7bdc=_0x3e4678[_0x5ba7e5(0x271)](_0x1bb6d1);if(_0x5d62ce===-0x1&&_0x355680[_0x3f7bdc]===0x1)_0x32b886===-0x1&&(_0x32b886=_0x1bb6d1);else{if(_0x1bb6d1!==0x0&&(_0x3f7bdc===0x20||_0x3f7bdc===0x9))_0x5d62ce===-0x1&&_0x32b886!==-0x1&&(_0x5d62ce=_0x1bb6d1);else{if(_0x3f7bdc===0x2c){if(_0x32b886===-0x1)throw new SyntaxError(_0x5ba7e5(0x1fd)+_0x1bb6d1);_0x5d62ce===-0x1&&(_0x5d62ce=_0x1bb6d1);const _0x1173cf=_0x3e4678['slice'](_0x32b886,_0x5d62ce);if(_0xbf7cf7[_0x5ba7e5(0x2bd)](_0x1173cf))throw new SyntaxError('The\x20\x22'+_0x1173cf+_0x5ba7e5(0x22d));_0xbf7cf7[_0x5ba7e5(0x2ea)](_0x1173cf),_0x32b886=_0x5d62ce=-0x1;}else throw new SyntaxError(_0x5ba7e5(0x1fd)+_0x1bb6d1);}}}if(_0x32b886===-0x1||_0x5d62ce!==-0x1)throw new SyntaxError(_0x5ba7e5(0x22e));const _0x2dc763=_0x3e4678[_0x5ba7e5(0x335)](_0x32b886,_0x1bb6d1);if(_0xbf7cf7['has'](_0x2dc763))throw new SyntaxError(_0x5ba7e5(0x27b)+_0x2dc763+'\x22\x20subprotocol\x20is\x20duplicated');return _0xbf7cf7['add'](_0x2dc763),_0xbf7cf7;}return Ce={'parse':_0x7ed0b},Ce;}var Te,ot;function er(){const _0x3fdc88=_0x33e2b7;if(ot)return Te;ot=0x1;const _0x343f99=_0x56aa6b,_0x3a74c5=_0x50529f,{Duplex:_0x31cce3}=_0x4c524e,{createHash:_0x6fadc4}=_0x1a6262,_0x5b35b1=pt(),_0x3c7a05=he(),_0xda773b=Jt(),_0x1178c8=Ie(),{GUID:_0x3fcf60,kWebSocket:_0x2a12df}=V(),_0x49e650=/^[+/0-9A-Za-z]{22}==$/,_0x87db16=0x0,_0x21ccf2=0x1,_0xa15e6=0x2;class _0x57f75c extends _0x343f99{constructor(_0x4c271c,_0x51a42a){const _0x4ccaad=_0x4dda;if(super(),_0x4c271c={'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':_0x1178c8,..._0x4c271c},_0x4c271c[_0x4ccaad(0x2cb)]==null&&!_0x4c271c[_0x4ccaad(0x249)]&&!_0x4c271c['noServer']||_0x4c271c[_0x4ccaad(0x2cb)]!=null&&(_0x4c271c[_0x4ccaad(0x249)]||_0x4c271c[_0x4ccaad(0x332)])||_0x4c271c[_0x4ccaad(0x249)]&&_0x4c271c[_0x4ccaad(0x332)])throw new TypeError(_0x4ccaad(0x264));if(_0x4c271c[_0x4ccaad(0x2cb)]!=null?(this[_0x4ccaad(0x202)]=_0x3a74c5[_0x4ccaad(0x354)]((_0x576f2,_0x4b1668)=>{const _0x3261af=_0x4ccaad,_0x2c97a1=_0x3a74c5['STATUS_CODES'][0x1aa];_0x4b1668[_0x3261af(0x2f3)](0x1aa,{'Content-Length':_0x2c97a1[_0x3261af(0x2ee)],'Content-Type':_0x3261af(0x291)}),_0x4b1668[_0x3261af(0x31a)](_0x2c97a1);}),this[_0x4ccaad(0x202)][_0x4ccaad(0x1cf)](_0x4c271c[_0x4ccaad(0x2cb)],_0x4c271c[_0x4ccaad(0x260)],_0x4c271c['backlog'],_0x51a42a)):_0x4c271c[_0x4ccaad(0x249)]&&(this[_0x4ccaad(0x202)]=_0x4c271c[_0x4ccaad(0x249)]),this['_server']){const _0x14e16b=this[_0x4ccaad(0x1af)][_0x4ccaad(0x1de)](this,_0x4ccaad(0x1f3));this[_0x4ccaad(0x2ae)]=_0x23ffb3(this[_0x4ccaad(0x202)],{'listening':this[_0x4ccaad(0x1af)][_0x4ccaad(0x1de)](this,'listening'),'error':this[_0x4ccaad(0x1af)][_0x4ccaad(0x1de)](this,'error'),'upgrade':(_0x8c36c0,_0xe60ac2,_0x62697e)=>{const _0x5ad2c4=_0x4ccaad;this[_0x5ad2c4(0x1f9)](_0x8c36c0,_0xe60ac2,_0x62697e,_0x14e16b);}});}_0x4c271c[_0x4ccaad(0x339)]===!0x0&&(_0x4c271c[_0x4ccaad(0x339)]={}),_0x4c271c[_0x4ccaad(0x269)]&&(this[_0x4ccaad(0x1c8)]=new Set(),this[_0x4ccaad(0x2b0)]=!0x1),this[_0x4ccaad(0x333)]=_0x4c271c,this[_0x4ccaad(0x29a)]=_0x87db16;}[_0x3fdc88(0x21e)](){const _0x3bb538=_0x3fdc88;if(this[_0x3bb538(0x333)][_0x3bb538(0x332)])throw new Error(_0x3bb538(0x307));return this[_0x3bb538(0x202)]?this[_0x3bb538(0x202)][_0x3bb538(0x21e)]():null;}[_0x3fdc88(0x21b)](_0x300652){const _0x512e70=_0x3fdc88;if(this[_0x512e70(0x29a)]===_0xa15e6){_0x300652&&this[_0x512e70(0x1e0)](_0x512e70(0x21b),()=>{const _0x5b9e17=_0x512e70;_0x300652(new Error(_0x5b9e17(0x26d)));}),process['nextTick'](_0xb6b783,this);return;}if(_0x300652&&this[_0x512e70(0x1e0)](_0x512e70(0x21b),_0x300652),this['_state']!==_0x21ccf2){if(this['_state']=_0x21ccf2,this[_0x512e70(0x333)][_0x512e70(0x332)]||this[_0x512e70(0x333)][_0x512e70(0x249)])this[_0x512e70(0x202)]&&(this[_0x512e70(0x2ae)](),this[_0x512e70(0x2ae)]=this[_0x512e70(0x202)]=null),this[_0x512e70(0x1c8)]?this[_0x512e70(0x1c8)][_0x512e70(0x318)]?this[_0x512e70(0x2b0)]=!0x0:process['nextTick'](_0xb6b783,this):process[_0x512e70(0x217)](_0xb6b783,this);else{const _0x515a2f=this[_0x512e70(0x202)];this[_0x512e70(0x2ae)](),this['_removeListeners']=this['_server']=null,_0x515a2f[_0x512e70(0x21b)](()=>{_0xb6b783(this);});}}}[_0x3fdc88(0x212)](_0xcb0ef9){const _0x49b226=_0x3fdc88;if(this[_0x49b226(0x333)][_0x49b226(0x34c)]){const _0x321fa8=_0xcb0ef9['url'][_0x49b226(0x2dc)]('?');if((_0x321fa8!==-0x1?_0xcb0ef9[_0x49b226(0x31d)][_0x49b226(0x335)](0x0,_0x321fa8):_0xcb0ef9[_0x49b226(0x31d)])!==this[_0x49b226(0x333)][_0x49b226(0x34c)])return!0x1;}return!0x0;}['handleUpgrade'](_0x1f6633,_0x408a30,_0x391147,_0x4e8e82){const _0x1797ec=_0x3fdc88;_0x408a30['on'](_0x1797ec(0x323),_0x3b2fb0);const _0x28d803=_0x1f6633[_0x1797ec(0x237)]['sec-websocket-key'],_0x237141=_0x1f6633[_0x1797ec(0x237)][_0x1797ec(0x29f)],_0x1c958d=+_0x1f6633[_0x1797ec(0x237)]['sec-websocket-version'];if(_0x1f6633['method']!=='GET'){_0x5e32d0(this,_0x1f6633,_0x408a30,0x195,_0x1797ec(0x280));return;}if(_0x237141===void 0x0||_0x237141[_0x1797ec(0x2be)]()!==_0x1797ec(0x2fa)){_0x5e32d0(this,_0x1f6633,_0x408a30,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x28d803===void 0x0||!_0x49e650[_0x1797ec(0x308)](_0x28d803)){_0x5e32d0(this,_0x1f6633,_0x408a30,0x190,_0x1797ec(0x25a));return;}if(_0x1c958d!==0x8&&_0x1c958d!==0xd){_0x5e32d0(this,_0x1f6633,_0x408a30,0x190,_0x1797ec(0x311));return;}if(!this[_0x1797ec(0x212)](_0x1f6633)){_0x4d30e2(_0x408a30,0x190);return;}const _0x2d8f1e=_0x1f6633[_0x1797ec(0x237)][_0x1797ec(0x2f2)];let _0x1f2412=new Set();if(_0x2d8f1e!==void 0x0)try{_0x1f2412=_0xda773b[_0x1797ec(0x2a2)](_0x2d8f1e);}catch{_0x5e32d0(this,_0x1f6633,_0x408a30,0x190,_0x1797ec(0x277));return;}const _0x3fe304=_0x1f6633[_0x1797ec(0x237)][_0x1797ec(0x1db)],_0x1edcb3={};if(this[_0x1797ec(0x333)][_0x1797ec(0x339)]&&_0x3fe304!==void 0x0){const _0x4a1631=new _0x3c7a05(this['options'][_0x1797ec(0x339)],!0x0,this[_0x1797ec(0x333)][_0x1797ec(0x1b9)]);try{const _0x5258b0=_0x5b35b1[_0x1797ec(0x2a2)](_0x3fe304);_0x5258b0[_0x3c7a05[_0x1797ec(0x1eb)]]&&(_0x4a1631['accept'](_0x5258b0[_0x3c7a05['extensionName']]),_0x1edcb3[_0x3c7a05[_0x1797ec(0x1eb)]]=_0x4a1631);}catch{_0x5e32d0(this,_0x1f6633,_0x408a30,0x190,_0x1797ec(0x262));return;}}if(this['options'][_0x1797ec(0x2bb)]){const _0x647bf8={'origin':_0x1f6633[_0x1797ec(0x237)][''+(_0x1c958d===0x8?_0x1797ec(0x266):_0x1797ec(0x289))],'secure':!!(_0x1f6633[_0x1797ec(0x1ef)][_0x1797ec(0x25e)]||_0x1f6633[_0x1797ec(0x1ef)]['encrypted']),'req':_0x1f6633};if(this[_0x1797ec(0x333)][_0x1797ec(0x2bb)][_0x1797ec(0x2ee)]===0x2){this[_0x1797ec(0x333)]['verifyClient'](_0x647bf8,(_0x5c046e,_0x175324,_0x40301b,_0x194746)=>{const _0x52b26a=_0x1797ec;if(!_0x5c046e)return _0x4d30e2(_0x408a30,_0x175324||0x191,_0x40301b,_0x194746);this[_0x52b26a(0x1e4)](_0x1edcb3,_0x28d803,_0x1f2412,_0x1f6633,_0x408a30,_0x391147,_0x4e8e82);});return;}if(!this[_0x1797ec(0x333)][_0x1797ec(0x2bb)](_0x647bf8))return _0x4d30e2(_0x408a30,0x191);}this[_0x1797ec(0x1e4)](_0x1edcb3,_0x28d803,_0x1f2412,_0x1f6633,_0x408a30,_0x391147,_0x4e8e82);}[_0x3fdc88(0x1e4)](_0x5a66f3,_0xfee3cc,_0x373498,_0x5a5ad2,_0x4fb3ac,_0x3aaf2f,_0x2c8e0b){const _0x26c94d=_0x3fdc88;if(!_0x4fb3ac['readable']||!_0x4fb3ac['writable'])return _0x4fb3ac[_0x26c94d(0x2e4)]();if(_0x4fb3ac[_0x2a12df])throw new Error(_0x26c94d(0x2e0));if(this[_0x26c94d(0x29a)]>_0x87db16)return _0x4d30e2(_0x4fb3ac,0x1f7);const _0x3bfa5=[_0x26c94d(0x1fc),_0x26c94d(0x287),'Connection:\x20Upgrade',_0x26c94d(0x221)+_0x6fadc4(_0x26c94d(0x252))[_0x26c94d(0x305)](_0xfee3cc+_0x3fcf60)['digest']('base64')],_0x1d57a2=new this[(_0x26c94d(0x333))][(_0x26c94d(0x31f))](null,void 0x0,this[_0x26c94d(0x333)]);if(_0x373498[_0x26c94d(0x318)]){const _0x7bc892=this['options']['handleProtocols']?this[_0x26c94d(0x333)][_0x26c94d(0x320)](_0x373498,_0x5a5ad2):_0x373498['values']()[_0x26c94d(0x352)]()[_0x26c94d(0x2b4)];_0x7bc892&&(_0x3bfa5[_0x26c94d(0x205)](_0x26c94d(0x25f)+_0x7bc892),_0x1d57a2[_0x26c94d(0x22b)]=_0x7bc892);}if(_0x5a66f3[_0x3c7a05[_0x26c94d(0x1eb)]]){const _0x79439a=_0x5a66f3[_0x3c7a05['extensionName']][_0x26c94d(0x288)],_0x156ce7=_0x5b35b1[_0x26c94d(0x28d)]({[_0x3c7a05[_0x26c94d(0x1eb)]]:[_0x79439a]});_0x3bfa5[_0x26c94d(0x205)]('Sec-WebSocket-Extensions:\x20'+_0x156ce7),_0x1d57a2[_0x26c94d(0x281)]=_0x5a66f3;}this['emit']('headers',_0x3bfa5,_0x5a5ad2),_0x4fb3ac[_0x26c94d(0x300)](_0x3bfa5['concat']('\x0d\x0a')['join']('\x0d\x0a')),_0x4fb3ac['removeListener']('error',_0x3b2fb0),_0x1d57a2[_0x26c94d(0x293)](_0x4fb3ac,_0x3aaf2f,{'allowSynchronousEvents':this[_0x26c94d(0x333)][_0x26c94d(0x250)],'maxPayload':this[_0x26c94d(0x333)]['maxPayload'],'skipUTF8Validation':this[_0x26c94d(0x333)]['skipUTF8Validation']}),this[_0x26c94d(0x1c8)]&&(this['clients']['add'](_0x1d57a2),_0x1d57a2['on'](_0x26c94d(0x21b),()=>{const _0x1e09c2=_0x26c94d;this[_0x1e09c2(0x1c8)][_0x1e09c2(0x2e8)](_0x1d57a2),this[_0x1e09c2(0x2b0)]&&!this[_0x1e09c2(0x1c8)][_0x1e09c2(0x318)]&&process[_0x1e09c2(0x217)](_0xb6b783,this);})),_0x2c8e0b(_0x1d57a2,_0x5a5ad2);}}Te=_0x57f75c;function _0x23ffb3(_0x30821c,_0x584b88){for(const _0x4a331d of Object['keys'](_0x584b88))_0x30821c['on'](_0x4a331d,_0x584b88[_0x4a331d]);return function(){const _0x515930=_0x4dda;for(const _0x464a6d of Object[_0x515930(0x1d2)](_0x584b88))_0x30821c[_0x515930(0x1ed)](_0x464a6d,_0x584b88[_0x464a6d]);};}function _0xb6b783(_0x31a3fc){const _0xfdcfd0=_0x3fdc88;_0x31a3fc[_0xfdcfd0(0x29a)]=_0xa15e6,_0x31a3fc[_0xfdcfd0(0x1af)]('close');}function _0x3b2fb0(){this['destroy']();}function _0x4d30e2(_0x5d62ca,_0x298a8c,_0x1cb635,_0x27f93c){const _0x31ea96=_0x3fdc88;_0x1cb635=_0x1cb635||_0x3a74c5['STATUS_CODES'][_0x298a8c],_0x27f93c={'Connection':'close','Content-Type':_0x31ea96(0x357),'Content-Length':Buffer[_0x31ea96(0x2ed)](_0x1cb635),..._0x27f93c},_0x5d62ca[_0x31ea96(0x1e0)](_0x31ea96(0x30d),_0x5d62ca[_0x31ea96(0x2e4)]),_0x5d62ca['end']('HTTP/1.1\x20'+_0x298a8c+'\x20'+_0x3a74c5[_0x31ea96(0x273)][_0x298a8c]+'\x0d\x0a'+Object[_0x31ea96(0x1d2)](_0x27f93c)[_0x31ea96(0x319)](_0x4fb05f=>_0x4fb05f+':\x20'+_0x27f93c[_0x4fb05f])[_0x31ea96(0x2f6)]('\x0d\x0a')+_0x31ea96(0x267)+_0x1cb635);}function _0x5e32d0(_0x135bbf,_0x50ad2c,_0x4813e1,_0x5a6846,_0x254470){const _0x7c6927=_0x3fdc88;if(_0x135bbf[_0x7c6927(0x279)](_0x7c6927(0x213))){const _0x4a7f06=new Error(_0x254470);Error[_0x7c6927(0x23e)](_0x4a7f06,_0x5e32d0),_0x135bbf[_0x7c6927(0x1af)](_0x7c6927(0x213),_0x4a7f06,_0x4813e1,_0x50ad2c);}else _0x4d30e2(_0x4813e1,_0x5a6846,_0x254470);}return Te;}er();var tr=Object[_0x33e2b7(0x218)],rr=(_0x260241,_0x58aa50,_0x17b146,_0x58b8cb)=>{for(var _0x4a939c=_0x58b8cb>0x1?void 0x0:_0x58b8cb?tr(_0x58aa50,_0x17b146):_0x58aa50,_0x32634c=_0x260241['length']-0x1,_0x4e984f;_0x32634c>=0x0;_0x32634c--)(_0x4e984f=_0x260241[_0x32634c])&&(_0x4a939c=_0x4e984f(_0x4a939c)||_0x4a939c);return _0x4a939c;},sr=(_0x15162a,_0x458862)=>(_0x3da8fa,_0xb8bdea)=>_0x458862(_0x3da8fa,_0xb8bdea,_0x15162a);let Ne=class extends _0x5ada07{constructor(_0x16f176){const _0x2fed1f=_0x33e2b7;super(),this[_0x2fed1f(0x209)]=_0x16f176;}[_0x33e2b7(0x234)](_0x24336e){const _0x4ea011=_0x33e2b7;var _0x4dd62f;const _0x223e2f=(_0x4dd62f=this[_0x4ea011(0x209)][_0x4ea011(0x1e3)](Be))==null?void 0x0:_0x4dd62f['customHeaders'];try{const _0x1bbe96=new Qt(_0x24336e,{'headers':{..._0x223e2f}}),_0x4866b3=new _0x4f436f();return{'URL':_0x24336e,'close':(_0x2e39e9,_0x414331)=>{const _0x371ab3=_0x4ea011;_0x1bbe96['close'](_0x2e39e9,_0x414331),_0x4866b3[_0x371ab3(0x24c)]();},'send':_0x4e1927=>{const _0x32e19a=_0x4ea011;_0x1bbe96[_0x32e19a(0x1c7)](_0x4e1927);},'open$':new _0x5c071e(_0x26384a=>{const _0x18afc8=_0x4ea011,_0x30bec9=_0x2c81eb=>_0x26384a[_0x18afc8(0x352)](_0x2c81eb);_0x1bbe96['addEventListener']('open',_0x30bec9),_0x4866b3[_0x18afc8(0x2ea)](_0x6009b2(()=>_0x1bbe96[_0x18afc8(0x1ee)](_0x18afc8(0x206),_0x30bec9)));})['pipe'](_0x27b70e()),'close$':new _0x5c071e(_0x3b55a2=>{const _0x33d98d=_0x4ea011,_0x13d75a=_0x52babe=>_0x3b55a2[_0x33d98d(0x352)](_0x52babe);_0x1bbe96[_0x33d98d(0x20e)]('close',_0x13d75a),_0x4866b3[_0x33d98d(0x2ea)](_0x6009b2(()=>_0x1bbe96[_0x33d98d(0x1ee)](_0x33d98d(0x21b),_0x13d75a)));})[_0x4ea011(0x1f1)](_0x27b70e()),'error$':new _0x5c071e(_0x12ce9d=>{const _0x1c69e6=_0x4ea011,_0x493ce5=_0x2e97bc=>_0x12ce9d['next'](_0x2e97bc);_0x1bbe96[_0x1c69e6(0x20e)](_0x1c69e6(0x323),_0x493ce5),_0x4866b3[_0x1c69e6(0x2ea)](_0x6009b2(()=>_0x1bbe96['removeEventListener'](_0x1c69e6(0x323),_0x493ce5)));})[_0x4ea011(0x1f1)](_0x27b70e()),'message$':new _0x5c071e(_0x26bd88=>{const _0x141f92=_0x4ea011,_0x3e5b09=_0x513102=>_0x26bd88[_0x141f92(0x352)](_0x513102);_0x1bbe96[_0x141f92(0x20e)](_0x141f92(0x1b5),_0x3e5b09),_0x4866b3[_0x141f92(0x2ea)](_0x6009b2(()=>_0x1bbe96[_0x141f92(0x1ee)](_0x141f92(0x1b5),_0x3e5b09)));})['pipe'](_0x27b70e())};}catch(_0x4fd8de){return console[_0x4ea011(0x323)](_0x4fd8de),null;}}};Ne=rr([sr(0x0,_0x648cd0)],Ne);var ir=Object[_0x33e2b7(0x349)],nr=Object[_0x33e2b7(0x218)],or=(_0x93f31c,_0x14ad6f,_0xa45719)=>_0x14ad6f in _0x93f31c?ir(_0x93f31c,_0x14ad6f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa45719}):_0x93f31c[_0x14ad6f]=_0xa45719,ar=(_0x2f73cb,_0x4dfbfd,_0x3588e2,_0x39871c)=>{for(var _0x37afd3=_0x39871c>0x1?void 0x0:_0x39871c?nr(_0x4dfbfd,_0x3588e2):_0x4dfbfd,_0xea2952=_0x2f73cb['length']-0x1,_0x131f44;_0xea2952>=0x0;_0xea2952--)(_0x131f44=_0x2f73cb[_0xea2952])&&(_0x37afd3=_0x131f44(_0x37afd3)||_0x37afd3);return _0x37afd3;},ke=(_0x1aac01,_0x3441b9)=>(_0x344ddb,_0xe22a5b)=>_0x3441b9(_0x344ddb,_0xe22a5b,_0x1aac01),lr=(_0x75ed6b,_0x3ce69e,_0xe2524d)=>or(_0x75ed6b,_0x3ce69e+'',_0xe2524d);let Pe=class extends _0x5c0543{constructor(_0x47b6cb=Ft,_0x298c73,_0x3ba5f6,_0x467039){const _0x32c711=_0x33e2b7;_0x47b6cb[_0x32c711(0x33f)]||_0x298c73[_0x32c711(0x344)](_0x32c711(0x2f0)),super(),this[_0x32c711(0x209)]=_0x3ba5f6,this[_0x32c711(0x1df)]=_0x467039,this['_configService'][_0x32c711(0x313)](Be,_0x47b6cb);}[_0x33e2b7(0x2eb)](){const _0x23add1=_0x33e2b7;this[_0x23add1(0x27e)]();}[_0x33e2b7(0x27e)](){_0x13278e(this['_injector'],[[_0x31f8bb,{'useClass':Ne}]]);}};lr(Pe,_0x33e2b7(0x1d5),_0x33e2b7(0x32d)),Pe=ar([_0x31118c(_0x19bf78),ke(0x1,_0x538d95),ke(0x2,_0x648cd0),ke(0x3,_0x489be8(_0x374e48))],Pe);var fr=Object[_0x33e2b7(0x218)],cr=(_0x397186,_0x4d7766,_0x465516,_0x3076ca)=>{const _0x48795f=_0x33e2b7;for(var _0x3f7560=_0x3076ca>0x1?void 0x0:_0x3076ca?fr(_0x4d7766,_0x465516):_0x4d7766,_0x244213=_0x397186[_0x48795f(0x2ee)]-0x1,_0xee46c1;_0x244213>=0x0;_0x244213--)(_0xee46c1=_0x397186[_0x244213])&&(_0x3f7560=_0xee46c1(_0x3f7560)||_0x3f7560);return _0x3f7560;},se=(_0x2dfa7b,_0x2fcc8c)=>(_0x62ee1e,_0x3bfe7c)=>_0x2fcc8c(_0x62ee1e,_0x3bfe7c,_0x2dfa7b);let at=class extends _0x54f0a4{constructor(_0x568c14,_0x5840a3,_0x44247b,_0x141899,_0x489b89){const _0x4f3c15=_0x33e2b7;super(_0x568c14,_0x5840a3,_0x44247b,_0x141899,_0x489b89);const _0x398838=this[_0x4f3c15(0x209)]['getConfig'](Be);this[_0x4f3c15(0x2d5)]['registerHTTPInterceptor']({'interceptor':(_0x3582fc,_0x9d1d90)=>{const _0x4acd67=_0x4f3c15;var _0x7425a4;const _0x2f6b61=_0x3582fc[_0x4acd67(0x237)];return(_0x7425a4=_0x398838==null?void 0x0:_0x398838[_0x4acd67(0x33f)])!=null&&_0x7425a4['cookie']&&_0x2f6b61['set']('Cookie',_0x398838[_0x4acd67(0x33f)][_0x4acd67(0x351)]),_0x9d1d90(_0x3582fc);}});}async[_0x33e2b7(0x234)](_0x22587b){const _0x3db654=_0x33e2b7;return this[_0x3db654(0x246)](_0x22587b);}};at=cr([se(0x0,_0x489be8(_0x374e48)),se(0x1,_0x489be8(_0x1089ee)),se(0x2,_0x648cd0),se(0x3,_0x538d95),se(0x4,_0x728ac2)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x4a72d3=_0x1cd5;(function(_0x17753b,_0x19a855){const _0x5efbb4=_0x1cd5,_0x1f1891=_0x17753b();while(!![]){try{const _0x585982=parseInt(_0x5efbb4(0x2a4))/0x1*(parseInt(_0x5efbb4(0x2ef))/0x2)+-parseInt(_0x5efbb4(0x32c))/0x3+parseInt(_0x5efbb4(0x265))/0x4*(parseInt(_0x5efbb4(0x2a7))/0x5)+-parseInt(_0x5efbb4(0x2cf))/0x6+-parseInt(_0x5efbb4(0x329))/0x7*(-parseInt(_0x5efbb4(0x25f))/0x8)+-parseInt(_0x5efbb4(0x222))/0x9*(parseInt(_0x5efbb4(0x353))/0xa)+parseInt(_0x5efbb4(0x1a7))/0xb;if(_0x585982===_0x19a855)break;else _0x1f1891['push'](_0x1f1891['shift']());}catch(_0x481173){_0x1f1891['push'](_0x1f1891['shift']());}}}(_0x26b6,0xcd05c));import{UniverCollaborationClientPlugin as _0x215457,CollaborationSocketService as _0xb3388d}from'@univerjs-pro/collaboration-client';import{Disposable as _0x3757a1,DisposableCollection as _0x5d62f1,toDisposable as _0x12ac78,IConfigService as _0xf3e60e,DependentOn as _0x278fef,ILogService as _0xdf62bf,Inject as _0x47d38c,Injector as _0x56c16b,Plugin as _0x40a003,registerDependencies as _0x546d2d}from'@univerjs/core';import{ISocketService as _0x277483,HTTPService as _0x2dbf8d}from'@univerjs/network';import{Observable as _0x573e22,share as _0x3d5178}from'rxjs';import _0x3eeacf from'events';import _0x5db4e4 from'https';import _0x26b4e1 from'http';import _0x5c837e from'net';function _0x1cd5(_0x519695,_0x346e30){const _0x26b65f=_0x26b6();return _0x1cd5=function(_0x1cd548,_0x32734d){_0x1cd548=_0x1cd548-0x1a7;let _0x55dbaf=_0x26b65f[_0x1cd548];return _0x55dbaf;},_0x1cd5(_0x519695,_0x346e30);}import _0x281053 from'tls';import _0x4f0023 from'crypto';import _0x561e40 from'stream';import _0x129d17 from'url';import _0x28ecf9 from'zlib';function _0x26b6(){const _0x178f90=['completeUpgrade','Invalid\x20Upgrade\x20header','buffer','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','createError','forEach','base64','invalid\x20opcode\x20','params','_loop','WS_ERR_INVALID_UTF8','ws+unix:','connect','readOnly','enqueue','createSocket','Server\x20sent\x20no\x20subprotocol','kWasClean','_req','_read','upgrade','Module','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','MASK\x20must\x20be\x20clear','_fragmented','pluginName','get','WebSocket','handshakeTimeout','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','pong','kByteLength','allocUnsafe','apply','_state','_isServer','has','_compressed','Invalid\x20Sec-WebSocket-Extensions\x20header','accept','dataMessage','invalid\x20UTF-8\x20sequence','FIN\x20must\x20be\x20set','customHeaders','destroy','\x22:\x20','join','isArray','writeUIntBE','sendFrame','acceptAsClient','socketPath','fragments','string','100391yOFknw','compress','from','115xsGpSg','maskBuffer','constructor','https:','env','removeEventListener','kCode','listeners','normalizeParams','end','code','setSocket','status-code','CLOSED','text/html','_maskBuffer','byteLength','zlibDeflateOptions','_protocol','error','Sec-WebSocket-Extensions','getMask','search','permessage-deflate','open','_max_window_bits','bufferedAmount','cork','clientMaxWindowBits','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','ping','target','WS_NO_UTF_8_VALIDATE','_removeListeners','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_paused','generateMask','headers','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','Sec-WebSocket-Extensions:\x20','9577812ETejwA','kAborted','client_no_context_takeover','arraybuffer','_inflate','_errorEmitted','authorized','Invalid\x20URL:\x20','extensions','_skipUTF8Validation','\x0d\x0a\x0d\x0a','nodebuffer','getOwnPropertyDescriptor','emitClose','kMessage','pathname','The\x20\x22','slice','autoPong','origin','threshold','close','total-length','extensionName','hostname','maxPayload','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','perMessageDeflate','_maxPayload','_closeTimer','The\x20server\x20is\x20not\x20running','destroyed','14UxVnWa','_errored','client','wasClean','auth','__esModule','wsClientError','timeout','protocol','arrayBuffer','url','collaboration-client-node.config','Invalid\x20Sec-WebSocket-Accept\x20header','push','Max\x20payload\x20size\x20exceeded','listenerCount','_receiver','_redirects','path','createConnection','digest','kRun','allowSynchronousEvents','getConfig','objectMode','method','\x22\x20must\x20have\x20only\x20a\x20single\x20value','WS_ERR_INVALID_OPCODE','kData','_queue','zlibInflateOptions','unmask','needDrain','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','prototype','address','isPaused','_firstFragment','byteOffset','WS_ERR_UNEXPECTED_RSV_1','buffers','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','ws:','listen','writable','authorization','_readyState','Opening\x20handshake\x20has\x20timed\x20out','mask','\x20(supported\x20versions:\x20','_closeCode','parse','WS_ERR_INVALID_CLOSE_CODE','Unknown\x20parameter\x20\x22','removeListener','_closeFrameSent','protocolVersion','_generateMask','7hGFHpA','STATUS_CODES','server_no_context_takeover','1891890lAGSCc','_writableState','clientNoContextTakeover','wss:','shouldHandle','getData','GET','cookie','default','_compress','_allowSynchronousEvents','CONNECTING','data','errorEmitted','message','backlog','rsv1','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_destroy','pipe','unexpected-response','readUInt32BE','handleEvent','_registerDependencies','Unexpected\x20character\x20at\x20index\x20','readable','defaultPort','write','_bufferedAmount','clients','OPEN','_sender','resume','Sec-WebSocket-Protocol','hasOwnProperty','acceptAsServer','kError','maxRedirects','Invalid\x20HTTP\x20method','1992980RpUiOD','includes','dequeue','createServer','set','statusCode','kType','_shouldEmitClose','RSV1\x20must\x20be\x20clear','_url','size','concurrencyLimit','emit','_opcode','freeze','pause','Cookie','controlMessage','9026897nKsBvK','_messageLength','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','readUInt16BE','hash','redirect','send','fin','add','dispatch','_closeFrameReceived','finished','value','WS_ERR_UNEXPECTED_RSV_2_3','followRedirects','pow','invalid\x20opcode\x200','_fragments','finishRequest','_options','finish','cleanup','kIsForOnEventAttribute','sec-websocket-protocol','_write','handleUpgrade','isServer','client_max_window_bits','_server','HTTP/1.1\x20101\x20Switching\x20Protocols','Unexpected\x20server\x20response:\x20','setTimeout','startLoop','nextTick','_binaryType','toStringTag','serverMaxWindowBits','sec-websocket-accept','dispose','_no_context_takeover','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_buffers','length','_httpService','Invalid\x20WebSocket\x20frame:\x20','clientTracking','onerror','construct','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','addEventListener','handleProtocols','invalid\x20status\x20code\x20','Blob','CLOSING','removeAllListeners','listening','_originalSecure','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_decompress','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_masked','isValidUTF8','binaryType','The\x20URL\x27s\x20pathname\x20is\x20empty','jobs','conclude','Sec-WebSocket-Protocol:\x20','split','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','sec-websocket-extensions','serverNoContextTakeover','frame','consume','registerHTTPInterceptor','websocket','format','_socket','\x22\x20subprotocol\x20is\x20duplicated','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','isInteger','verifyClient','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','server','map','species','_threshold','options','http:','abort','host','captureStackTrace','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','getInfo','blob','test','concat','charCodeAt','defineProperty','isView','exports','writeUInt16BE','Z_SYNC_FLUSH','create','delete','getBlobData','_totalPayloadLength','startsWith','createDeflateRaw','replace','password','connection','values','setConfig','function','_originalHostOrSocketPath','server_max_window_bits','reason','Sec-WebSocket-Accept:\x20','kTarget','skipUTF8Validation','keys','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','Upgrade','9scCvaD','onopen','toLowerCase','onStarting','WS_NO_BUFFER_UTIL','request','href','flush','_doCreateSocket','haveLength','object','port','isIP','decompress','_originalIpc','_extensions','shift','reset','catch','socket','terminate','sec-websocket-version','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','type','drain','Invalid\x20value\x20for\x20parameter\x20\x22','_bufferedBytes','opcode','_configService','response','_deflate','Connection:\x20Upgrade','sha1','Basic\x20','toString','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_autoPong','readyState','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','alloc','getPayloadLength16','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','indexOf','kReason','endEmitted','update','number','_final','sec-websocket-key','noServer','pending','call','encrypted','username','unshift','kDone','_mask','_fin','callback','binary','7951352qZWbPE','_payloadLength','stream','Z_DEFAULT_WINDOWBITS','_closeMessage','servername','130212vlDRUB','bind','offer','_readableState','once','getPayloadLength64','next','sec-websocket-origin','_injector'];_0x26b6=function(){return _0x178f90;};return _0x26b6();}import _0x35952 from'buffer';import{ISnapshotServerService as _0x57f995}from'@univerjs-pro/collaboration';const Be=_0x4a72d3(0x2fa),Ft={'customHeaders':{}};function jt(_0x1c5dc1){const _0x231baf=_0x4a72d3;return _0x1c5dc1&&_0x1c5dc1['__esModule']&&Object['prototype'][_0x231baf(0x34e)][_0x231baf(0x256)](_0x1c5dc1,_0x231baf(0x334))?_0x1c5dc1[_0x231baf(0x334)]:_0x1c5dc1;}function ut(_0x2b5986){const _0x2ee028=_0x4a72d3;if(Object[_0x2ee028(0x311)][_0x2ee028(0x34e)][_0x2ee028(0x256)](_0x2b5986,_0x2ee028(0x2f4)))return _0x2b5986;var _0x4c57d0=_0x2b5986[_0x2ee028(0x334)];if(typeof _0x4c57d0==_0x2ee028(0x218)){var _0x1d1183=function _0x33f94b(){const _0x2e3ae0=_0x2ee028;return this instanceof _0x33f94b?Reflect[_0x2e3ae0(0x1d6)](_0x4c57d0,arguments,this[_0x2e3ae0(0x2a9)]):_0x4c57d0[_0x2e3ae0(0x28f)](this,arguments);};_0x1d1183[_0x2ee028(0x311)]=_0x4c57d0[_0x2ee028(0x311)];}else _0x1d1183={};return Object[_0x2ee028(0x208)](_0x1d1183,_0x2ee028(0x2f4),{'value':!0x0}),Object[_0x2ee028(0x21f)](_0x2b5986)[_0x2ee028(0x273)](function(_0x2ac7c9){const _0x38146d=_0x2ee028;var _0x592de5=Object['getOwnPropertyDescriptor'](_0x2b5986,_0x2ac7c9);Object[_0x38146d(0x208)](_0x1d1183,_0x2ac7c9,_0x592de5[_0x38146d(0x288)]?_0x592de5:{'enumerable':!0x0,'get':function(){return _0x2b5986[_0x2ac7c9];}});}),_0x1d1183;}var te={'exports':{}},ge,Ye;function V(){const _0x20a6df=_0x4a72d3;if(Ye)return ge;Ye=0x1;const _0x35a4e9=[_0x20a6df(0x2da),_0x20a6df(0x2d2),_0x20a6df(0x2a2)],_0xa1b8a9=typeof Blob<'u';return _0xa1b8a9&&_0x35a4e9[_0x20a6df(0x2fc)](_0x20a6df(0x204)),ge={'BINARY_TYPES':_0x35a4e9,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x20a6df(0x271),'hasBlob':_0xa1b8a9,'kForOnEventAttribute':Symbol(_0x20a6df(0x1bd)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x20a6df(0x2b3)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x4a72d3(0x361)](Object[_0x4a72d3(0x208)]({'__proto__':null,'default':Wt},Symbol[_0x4a72d3(0x1ca)],{'value':_0x4a72d3(0x283)})),Vt=ut(Gt);var Ke;function ce(){const _0x174a08=_0x4a72d3;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x535a7a}=V(),_0x3fa3e3=Buffer[Symbol[_0x174a08(0x1fb)]];function _0xdd0f8d(_0x4e1535,_0x2da1e4){const _0x584bb9=_0x174a08;if(_0x4e1535[_0x584bb9(0x1d1)]===0x0)return _0x535a7a;if(_0x4e1535['length']===0x1)return _0x4e1535[0x0];const _0x3c2912=Buffer[_0x584bb9(0x28e)](_0x2da1e4);let _0x3de180=0x0;for(let _0x38ed44=0x0;_0x38ed44<_0x4e1535[_0x584bb9(0x1d1)];_0x38ed44++){const _0x1fff66=_0x4e1535[_0x38ed44];_0x3c2912['set'](_0x1fff66,_0x3de180),_0x3de180+=_0x1fff66[_0x584bb9(0x1d1)];}return _0x3de180<_0x2da1e4?new _0x3fa3e3(_0x3c2912[_0x584bb9(0x270)],_0x3c2912[_0x584bb9(0x315)],_0x3de180):_0x3c2912;}function _0x4ef1dd(_0x336af2,_0x331d6b,_0x420ed5,_0x31bf8e,_0x82b1c7){for(let _0x250179=0x0;_0x250179<_0x82b1c7;_0x250179++)_0x420ed5[_0x31bf8e+_0x250179]=_0x336af2[_0x250179]^_0x331d6b[_0x250179&0x3];}function _0x28e174(_0x104838,_0x68896f){const _0x437e5b=_0x174a08;for(let _0x44646d=0x0;_0x44646d<_0x104838[_0x437e5b(0x1d1)];_0x44646d++)_0x104838[_0x44646d]^=_0x68896f[_0x44646d&0x3];}function _0x29c13b(_0x203d58){const _0x35e2e3=_0x174a08;return _0x203d58['length']===_0x203d58[_0x35e2e3(0x270)]['byteLength']?_0x203d58[_0x35e2e3(0x270)]:_0x203d58[_0x35e2e3(0x270)]['slice'](_0x203d58[_0x35e2e3(0x315)],_0x203d58[_0x35e2e3(0x315)]+_0x203d58[_0x35e2e3(0x1d1)]);}function _0x511b7c(_0x1fa5a2){const _0x548433=_0x174a08;if(_0x511b7c[_0x548433(0x27b)]=!0x0,Buffer['isBuffer'](_0x1fa5a2))return _0x1fa5a2;let _0x3968f3;return _0x1fa5a2 instanceof ArrayBuffer?_0x3968f3=new _0x3fa3e3(_0x1fa5a2):ArrayBuffer[_0x548433(0x209)](_0x1fa5a2)?_0x3968f3=new _0x3fa3e3(_0x1fa5a2[_0x548433(0x270)],_0x1fa5a2[_0x548433(0x315)],_0x1fa5a2[_0x548433(0x2b7)]):(_0x3968f3=Buffer[_0x548433(0x2a6)](_0x1fa5a2),_0x511b7c['readOnly']=!0x1),_0x3968f3;}if(te['exports']={'concat':_0xdd0f8d,'mask':_0x4ef1dd,'toArrayBuffer':_0x29c13b,'toBuffer':_0x511b7c,'unmask':_0x28e174},!process['env'][_0x174a08(0x226)])try{const _0x54a482=Vt;te[_0x174a08(0x20a)][_0x174a08(0x31f)]=function(_0x49a02a,_0x53a3c1,_0x4865a7,_0x2a3246,_0x530b46){_0x530b46<0x30?_0x4ef1dd(_0x49a02a,_0x53a3c1,_0x4865a7,_0x2a3246,_0x530b46):_0x54a482['mask'](_0x49a02a,_0x53a3c1,_0x4865a7,_0x2a3246,_0x530b46);},te['exports']['unmask']=function(_0x243381,_0x3a9b1d){const _0xb2682a=_0x174a08;_0x243381[_0xb2682a(0x1d1)]<0x20?_0x28e174(_0x243381,_0x3a9b1d):_0x54a482[_0xb2682a(0x30e)](_0x243381,_0x3a9b1d);};}catch{}return te[_0x174a08(0x20a)];}var ye,Xe;function qt(){const _0x46f36e=_0x4a72d3;if(Xe)return ye;Xe=0x1;const _0x1dc499=Symbol(_0x46f36e(0x25a)),_0x3ee0bd=Symbol(_0x46f36e(0x304));class _0x228d2d{constructor(_0x5037ce){const _0x5a0c00=_0x46f36e;this[_0x1dc499]=()=>{const _0x454f01=_0x1cd5;this[_0x454f01(0x255)]--,this[_0x3ee0bd]();},this['concurrency']=_0x5037ce||0x1/0x0,this[_0x5a0c00(0x1e7)]=[],this[_0x5a0c00(0x255)]=0x0;}[_0x46f36e(0x1af)](_0x622fb3){this['jobs']['push'](_0x622fb3),this[_0x3ee0bd]();}[_0x3ee0bd](){const _0x4af562=_0x46f36e;if(this[_0x4af562(0x255)]!==this['concurrency']&&this['jobs'][_0x4af562(0x1d1)]){const _0x1d11f1=this[_0x4af562(0x1e7)][_0x4af562(0x232)]();this[_0x4af562(0x255)]++,_0x1d11f1(this[_0x1dc499]);}}}return ye=_0x228d2d,ye;}var ve,Ze;function he(){const _0x219590=_0x4a72d3;if(Ze)return ve;Ze=0x1;const _0x1424db=_0x28ecf9,_0x516645=ce(),_0x596673=qt(),{kStatusCode:_0x232eea}=V(),_0x4719a5=Buffer[Symbol[_0x219590(0x1fb)]],_0x29cdf6=Buffer[_0x219590(0x2a6)]([0x0,0x0,0xff,0xff]),_0x1fefd6=Symbol(_0x219590(0x2be)),_0x43ea30=Symbol(_0x219590(0x2e5)),_0x2b564a=Symbol(_0x219590(0x25d)),_0x3912ca=Symbol(_0x219590(0x317)),_0xf35b0f=Symbol('error');let _0x5ed680;class _0x4f6534{constructor(_0x346005,_0x5cdb2f,_0x59fa6f){const _0x2c098a=_0x219590;if(this['_maxPayload']=_0x59fa6f|0x0,this[_0x2c098a(0x1ba)]=_0x346005||{},this[_0x2c098a(0x1fc)]=this[_0x2c098a(0x1ba)][_0x2c098a(0x2e3)]!==void 0x0?this['_options'][_0x2c098a(0x2e3)]:0x400,this[_0x2c098a(0x291)]=!!_0x5cdb2f,this[_0x2c098a(0x240)]=null,this[_0x2c098a(0x2d3)]=null,this[_0x2c098a(0x276)]=null,!_0x5ed680){const _0x5ed6ab=this[_0x2c098a(0x1ba)][_0x2c098a(0x35e)]!==void 0x0?this[_0x2c098a(0x1ba)][_0x2c098a(0x35e)]:0xa;_0x5ed680=new _0x596673(_0x5ed6ab);}}static get[_0x219590(0x2e6)](){const _0xa97760=_0x219590;return _0xa97760(0x2be);}[_0x219590(0x267)](){const _0x2a3a7e=_0x219590,_0x5e6482={};return this[_0x2a3a7e(0x1ba)][_0x2a3a7e(0x1ed)]&&(_0x5e6482['server_no_context_takeover']=!0x0),this[_0x2a3a7e(0x1ba)][_0x2a3a7e(0x32e)]&&(_0x5e6482[_0x2a3a7e(0x2d1)]=!0x0),this[_0x2a3a7e(0x1ba)][_0x2a3a7e(0x1cb)]&&(_0x5e6482[_0x2a3a7e(0x21a)]=this['_options'][_0x2a3a7e(0x1cb)]),this[_0x2a3a7e(0x1ba)][_0x2a3a7e(0x2c3)]?_0x5e6482[_0x2a3a7e(0x1c2)]=this[_0x2a3a7e(0x1ba)]['clientMaxWindowBits']:this[_0x2a3a7e(0x1ba)]['clientMaxWindowBits']==null&&(_0x5e6482[_0x2a3a7e(0x1c2)]=!0x0),_0x5e6482;}[_0x219590(0x295)](_0x23da16){const _0xbfa509=_0x219590;return _0x23da16=this[_0xbfa509(0x2af)](_0x23da16),this['params']=this[_0xbfa509(0x291)]?this[_0xbfa509(0x34f)](_0x23da16):this[_0xbfa509(0x2a0)](_0x23da16),this[_0xbfa509(0x276)];}[_0x219590(0x1bc)](){const _0x320d33=_0x219590;if(this['_inflate']&&(this[_0x320d33(0x2d3)]['close'](),this['_inflate']=null),this[_0x320d33(0x240)]){const _0x5a426e=this[_0x320d33(0x240)][_0x2b564a];this[_0x320d33(0x240)][_0x320d33(0x2e4)](),this[_0x320d33(0x240)]=null,_0x5a426e&&_0x5a426e(new Error(_0x320d33(0x1f8)));}}[_0x219590(0x34f)](_0xead575){const _0x1feb5e=_0x219590,_0x700594=this['_options'],_0x2ae1b6=_0xead575['find'](_0x7c0352=>!(_0x700594[_0x1feb5e(0x1ed)]===!0x1&&_0x7c0352['server_no_context_takeover']||_0x7c0352[_0x1feb5e(0x21a)]&&(_0x700594[_0x1feb5e(0x1cb)]===!0x1||typeof _0x700594[_0x1feb5e(0x1cb)]==_0x1feb5e(0x251)&&_0x700594[_0x1feb5e(0x1cb)]>_0x7c0352[_0x1feb5e(0x21a)])||typeof _0x700594[_0x1feb5e(0x2c3)]==_0x1feb5e(0x251)&&!_0x7c0352[_0x1feb5e(0x1c2)]));if(!_0x2ae1b6)throw new Error(_0x1feb5e(0x2c9));return _0x700594[_0x1feb5e(0x1ed)]&&(_0x2ae1b6[_0x1feb5e(0x32b)]=!0x0),_0x700594['clientNoContextTakeover']&&(_0x2ae1b6[_0x1feb5e(0x2d1)]=!0x0),typeof _0x700594[_0x1feb5e(0x1cb)]==_0x1feb5e(0x251)&&(_0x2ae1b6[_0x1feb5e(0x21a)]=_0x700594[_0x1feb5e(0x1cb)]),typeof _0x700594['clientMaxWindowBits']==_0x1feb5e(0x251)?_0x2ae1b6[_0x1feb5e(0x1c2)]=_0x700594[_0x1feb5e(0x2c3)]:(_0x2ae1b6['client_max_window_bits']===!0x0||_0x700594[_0x1feb5e(0x2c3)]===!0x1)&&delete _0x2ae1b6['client_max_window_bits'],_0x2ae1b6;}[_0x219590(0x2a0)](_0x46145b){const _0x116c95=_0x219590,_0x337327=_0x46145b[0x0];if(this['_options'][_0x116c95(0x32e)]===!0x1&&_0x337327[_0x116c95(0x2d1)])throw new Error(_0x116c95(0x28b));if(!_0x337327[_0x116c95(0x1c2)])typeof this['_options']['clientMaxWindowBits']=='number'&&(_0x337327[_0x116c95(0x1c2)]=this['_options']['clientMaxWindowBits']);else{if(this[_0x116c95(0x1ba)][_0x116c95(0x2c3)]===!0x1||typeof this['_options'][_0x116c95(0x2c3)]==_0x116c95(0x251)&&_0x337327[_0x116c95(0x1c2)]>this['_options'][_0x116c95(0x2c3)])throw new Error(_0x116c95(0x238));}return _0x337327;}[_0x219590(0x2af)](_0x850cf0){return _0x850cf0['forEach'](_0x453182=>{const _0x1f15d8=_0x1cd5;Object[_0x1f15d8(0x21f)](_0x453182)[_0x1f15d8(0x273)](_0x43d6ee=>{const _0x241bdc=_0x1f15d8;let _0x49f31d=_0x453182[_0x43d6ee];if(_0x49f31d[_0x241bdc(0x1d1)]>0x1)throw new Error('Parameter\x20\x22'+_0x43d6ee+_0x241bdc(0x309));if(_0x49f31d=_0x49f31d[0x0],_0x43d6ee===_0x241bdc(0x1c2)){if(_0x49f31d!==!0x0){const _0x1024e5=+_0x49f31d;if(!Number[_0x241bdc(0x1f6)](_0x1024e5)||_0x1024e5<0x8||_0x1024e5>0xf)throw new TypeError(_0x241bdc(0x23b)+_0x43d6ee+_0x241bdc(0x29b)+_0x49f31d);_0x49f31d=_0x1024e5;}else{if(!this[_0x241bdc(0x291)])throw new TypeError(_0x241bdc(0x23b)+_0x43d6ee+_0x241bdc(0x29b)+_0x49f31d);}}else{if(_0x43d6ee===_0x241bdc(0x21a)){const _0x4c91d9=+_0x49f31d;if(!Number[_0x241bdc(0x1f6)](_0x4c91d9)||_0x4c91d9<0x8||_0x4c91d9>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x43d6ee+_0x241bdc(0x29b)+_0x49f31d);_0x49f31d=_0x4c91d9;}else{if(_0x43d6ee===_0x241bdc(0x2d1)||_0x43d6ee===_0x241bdc(0x32b)){if(_0x49f31d!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x43d6ee+_0x241bdc(0x29b)+_0x49f31d);}else throw new Error(_0x241bdc(0x324)+_0x43d6ee+'\x22');}}_0x453182[_0x43d6ee]=_0x49f31d;});}),_0x850cf0;}['decompress'](_0x20c3ff,_0x2d7682,_0x2032dd){const _0x5c4989=_0x219590;_0x5ed680[_0x5c4989(0x1af)](_0x14c11b=>{const _0xb435e7=_0x5c4989;this[_0xb435e7(0x1e1)](_0x20c3ff,_0x2d7682,(_0x3fdb0b,_0x3d25e8)=>{_0x14c11b(),_0x2032dd(_0x3fdb0b,_0x3d25e8);});});}[_0x219590(0x2a5)](_0x368afc,_0xaafc39,_0x83235e){_0x5ed680['add'](_0x3f6679=>{const _0x40522a=_0x1cd5;this[_0x40522a(0x335)](_0x368afc,_0xaafc39,(_0x1329a1,_0x96a7e7)=>{_0x3f6679(),_0x83235e(_0x1329a1,_0x96a7e7);});});}[_0x219590(0x1e1)](_0x417c37,_0x278bac,_0x5bde4d){const _0x18c5e3=_0x219590,_0x403f1b=this[_0x18c5e3(0x291)]?_0x18c5e3(0x2f1):_0x18c5e3(0x1f9);if(!this['_inflate']){const _0x21200f=_0x403f1b+_0x18c5e3(0x2c0),_0x6a6bfd=typeof this[_0x18c5e3(0x276)][_0x21200f]!=_0x18c5e3(0x251)?_0x1424db[_0x18c5e3(0x262)]:this[_0x18c5e3(0x276)][_0x21200f];this[_0x18c5e3(0x2d3)]=_0x1424db['createInflateRaw']({...this[_0x18c5e3(0x1ba)][_0x18c5e3(0x30d)],'windowBits':_0x6a6bfd}),this[_0x18c5e3(0x2d3)][_0x1fefd6]=this,this[_0x18c5e3(0x2d3)][_0x43ea30]=0x0,this[_0x18c5e3(0x2d3)][_0x3912ca]=[],this[_0x18c5e3(0x2d3)]['on'](_0x18c5e3(0x2ba),_0xfb4282),this[_0x18c5e3(0x2d3)]['on'](_0x18c5e3(0x338),_0x290e4d);}this[_0x18c5e3(0x2d3)][_0x2b564a]=_0x5bde4d,this[_0x18c5e3(0x2d3)][_0x18c5e3(0x347)](_0x417c37),_0x278bac&&this[_0x18c5e3(0x2d3)][_0x18c5e3(0x347)](_0x29cdf6),this[_0x18c5e3(0x2d3)][_0x18c5e3(0x229)](()=>{const _0x1e4a4c=_0x18c5e3,_0x497275=this[_0x1e4a4c(0x2d3)][_0xf35b0f];if(_0x497275){this[_0x1e4a4c(0x2d3)][_0x1e4a4c(0x2e4)](),this[_0x1e4a4c(0x2d3)]=null,_0x5bde4d(_0x497275);return;}const _0x3ba3bd=_0x516645[_0x1e4a4c(0x206)](this['_inflate'][_0x3912ca],this[_0x1e4a4c(0x2d3)][_0x43ea30]);this[_0x1e4a4c(0x2d3)][_0x1e4a4c(0x268)][_0x1e4a4c(0x24f)]?(this[_0x1e4a4c(0x2d3)]['close'](),this[_0x1e4a4c(0x2d3)]=null):(this[_0x1e4a4c(0x2d3)][_0x43ea30]=0x0,this[_0x1e4a4c(0x2d3)][_0x3912ca]=[],_0x278bac&&this[_0x1e4a4c(0x276)][_0x403f1b+_0x1e4a4c(0x1ce)]&&this[_0x1e4a4c(0x2d3)][_0x1e4a4c(0x233)]()),_0x5bde4d(null,_0x3ba3bd);});}[_0x219590(0x335)](_0xc65301,_0xaf708f,_0x8204ec){const _0x2e10c9=_0x219590,_0x2abd8d=this['_isServer']?_0x2e10c9(0x1f9):_0x2e10c9(0x2f1);if(!this[_0x2e10c9(0x240)]){const _0x4173d6=_0x2abd8d+_0x2e10c9(0x2c0),_0x3ae1c6=typeof this[_0x2e10c9(0x276)][_0x4173d6]!=_0x2e10c9(0x251)?_0x1424db[_0x2e10c9(0x262)]:this['params'][_0x4173d6];this['_deflate']=_0x1424db[_0x2e10c9(0x212)]({...this[_0x2e10c9(0x1ba)][_0x2e10c9(0x2b8)],'windowBits':_0x3ae1c6}),this[_0x2e10c9(0x240)][_0x43ea30]=0x0,this[_0x2e10c9(0x240)][_0x3912ca]=[],this[_0x2e10c9(0x240)]['on']('data',_0x32a373);}this[_0x2e10c9(0x240)][_0x2b564a]=_0x8204ec,this[_0x2e10c9(0x240)][_0x2e10c9(0x347)](_0xc65301),this[_0x2e10c9(0x240)][_0x2e10c9(0x229)](_0x1424db[_0x2e10c9(0x20c)],()=>{const _0x33de8e=_0x2e10c9;if(!this[_0x33de8e(0x240)])return;let _0x35676e=_0x516645[_0x33de8e(0x206)](this['_deflate'][_0x3912ca],this[_0x33de8e(0x240)][_0x43ea30]);_0xaf708f&&(_0x35676e=new _0x4719a5(_0x35676e[_0x33de8e(0x270)],_0x35676e[_0x33de8e(0x315)],_0x35676e['length']-0x4)),this[_0x33de8e(0x240)][_0x2b564a]=null,this['_deflate'][_0x43ea30]=0x0,this['_deflate'][_0x3912ca]=[],_0xaf708f&&this['params'][_0x2abd8d+_0x33de8e(0x1ce)]&&this[_0x33de8e(0x240)][_0x33de8e(0x233)](),_0x8204ec(null,_0x35676e);});}}ve=_0x4f6534;function _0x32a373(_0x4ecada){const _0x499909=_0x219590;this[_0x3912ca][_0x499909(0x2fc)](_0x4ecada),this[_0x43ea30]+=_0x4ecada[_0x499909(0x1d1)];}function _0x290e4d(_0x3aa5a3){const _0x59fa24=_0x219590;if(this[_0x43ea30]+=_0x3aa5a3[_0x59fa24(0x1d1)],this[_0x1fefd6][_0x59fa24(0x2eb)]<0x1||this[_0x43ea30]<=this[_0x1fefd6][_0x59fa24(0x2eb)]){this[_0x3912ca]['push'](_0x3aa5a3);return;}this[_0xf35b0f]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0xf35b0f][_0x59fa24(0x2b1)]=_0x59fa24(0x1e2),this[_0xf35b0f][_0x232eea]=0x3f1,this[_0x59fa24(0x325)](_0x59fa24(0x338),_0x290e4d),this[_0x59fa24(0x233)]();}function _0xfb4282(_0x4e8e16){this[_0x1fefd6]['_inflate']=null,_0x4e8e16[_0x232eea]=0x3ef,this[_0x2b564a](_0x4e8e16);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0x4a72d3(0x208)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x4a72d3(0x283)})),Yt=ut(zt);var Qe;function ne(){const _0x4da0c7=_0x4a72d3;if(Qe)return re[_0x4da0c7(0x20a)];Qe=0x1;const {isUtf8:_0x343a7e}=_0x35952,{hasBlob:_0x54cb84}=V(),_0x5c2968=[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 _0x462c05(_0x2f92e0){return _0x2f92e0>=0x3e8&&_0x2f92e0<=0x3f6&&_0x2f92e0!==0x3ec&&_0x2f92e0!==0x3ed&&_0x2f92e0!==0x3ee||_0x2f92e0>=0xbb8&&_0x2f92e0<=0x1387;}function _0x39c1ba(_0x528ce3){const _0x134185=_0x4da0c7,_0x169344=_0x528ce3[_0x134185(0x1d1)];let _0x96df8d=0x0;for(;_0x96df8d<_0x169344;)if((_0x528ce3[_0x96df8d]&0x80)===0x0)_0x96df8d++;else{if((_0x528ce3[_0x96df8d]&0xe0)===0xc0){if(_0x96df8d+0x1===_0x169344||(_0x528ce3[_0x96df8d+0x1]&0xc0)!==0x80||(_0x528ce3[_0x96df8d]&0xfe)===0xc0)return!0x1;_0x96df8d+=0x2;}else{if((_0x528ce3[_0x96df8d]&0xf0)===0xe0){if(_0x96df8d+0x2>=_0x169344||(_0x528ce3[_0x96df8d+0x1]&0xc0)!==0x80||(_0x528ce3[_0x96df8d+0x2]&0xc0)!==0x80||_0x528ce3[_0x96df8d]===0xe0&&(_0x528ce3[_0x96df8d+0x1]&0xe0)===0x80||_0x528ce3[_0x96df8d]===0xed&&(_0x528ce3[_0x96df8d+0x1]&0xe0)===0xa0)return!0x1;_0x96df8d+=0x3;}else{if((_0x528ce3[_0x96df8d]&0xf8)===0xf0){if(_0x96df8d+0x3>=_0x169344||(_0x528ce3[_0x96df8d+0x1]&0xc0)!==0x80||(_0x528ce3[_0x96df8d+0x2]&0xc0)!==0x80||(_0x528ce3[_0x96df8d+0x3]&0xc0)!==0x80||_0x528ce3[_0x96df8d]===0xf0&&(_0x528ce3[_0x96df8d+0x1]&0xf0)===0x80||_0x528ce3[_0x96df8d]===0xf4&&_0x528ce3[_0x96df8d+0x1]>0x8f||_0x528ce3[_0x96df8d]>0xf4)return!0x1;_0x96df8d+=0x4;}else return!0x1;}}}return!0x0;}function _0x3b81b8(_0x265191){const _0x1b15c5=_0x4da0c7;return _0x54cb84&&typeof _0x265191==_0x1b15c5(0x22c)&&typeof _0x265191[_0x1b15c5(0x2f8)]=='function'&&typeof _0x265191[_0x1b15c5(0x239)]==_0x1b15c5(0x2a3)&&typeof _0x265191[_0x1b15c5(0x261)]==_0x1b15c5(0x218)&&(_0x265191[Symbol['toStringTag']]===_0x1b15c5(0x1db)||_0x265191[Symbol['toStringTag']]==='File');}if(re[_0x4da0c7(0x20a)]={'isBlob':_0x3b81b8,'isValidStatusCode':_0x462c05,'isValidUTF8':_0x39c1ba,'tokenChars':_0x5c2968},_0x343a7e)re['exports'][_0x4da0c7(0x1e4)]=function(_0x36e6bb){const _0x5fd1a4=_0x4da0c7;return _0x36e6bb[_0x5fd1a4(0x1d1)]<0x18?_0x39c1ba(_0x36e6bb):_0x343a7e(_0x36e6bb);};else{if(!process[_0x4da0c7(0x2ab)][_0x4da0c7(0x2c7)])try{const _0x1d602e=Yt;re[_0x4da0c7(0x20a)]['isValidUTF8']=function(_0x14a38f){const _0x2b7822=_0x4da0c7;return _0x14a38f[_0x2b7822(0x1d1)]<0x20?_0x39c1ba(_0x14a38f):_0x1d602e(_0x14a38f);};}catch{}}return re[_0x4da0c7(0x20a)];}var Se,Je;function dt(){const _0x409d8d=_0x4a72d3;if(Je)return Se;Je=0x1;const {Writable:_0x9f9ab3}=_0x561e40,_0x2b4bd8=he(),{BINARY_TYPES:_0xea2673,EMPTY_BUFFER:_0x91c53c,kStatusCode:_0x2ba3c4,kWebSocket:_0x415ee1}=V(),{concat:_0x510070,toArrayBuffer:_0x51283d,unmask:_0x44f27b}=ce(),{isValidStatusCode:_0x3ba5de,isValidUTF8:_0x494886}=ne(),_0x47157b=Buffer[Symbol[_0x409d8d(0x1fb)]],_0x2c5938=0x0,_0x4b3de5=0x1,_0x2f6e2f=0x2,_0x548f6f=0x3,_0x209d69=0x4,_0x1a29a7=0x5,_0x40e4c3=0x6;class _0x104ab7 extends _0x9f9ab3{constructor(_0x525889={}){const _0x2e21b3=_0x409d8d;super(),this['_allowSynchronousEvents']=_0x525889[_0x2e21b3(0x305)]!==void 0x0?_0x525889['allowSynchronousEvents']:!0x0,this[_0x2e21b3(0x1c9)]=_0x525889[_0x2e21b3(0x1e5)]||_0xea2673[0x0],this[_0x2e21b3(0x231)]=_0x525889[_0x2e21b3(0x2d7)]||{},this[_0x2e21b3(0x291)]=!!_0x525889[_0x2e21b3(0x1c1)],this[_0x2e21b3(0x2eb)]=_0x525889[_0x2e21b3(0x2e8)]|0x0,this['_skipUTF8Validation']=!!_0x525889[_0x2e21b3(0x21e)],this[_0x415ee1]=void 0x0,this[_0x2e21b3(0x23c)]=0x0,this[_0x2e21b3(0x1d0)]=[],this[_0x2e21b3(0x293)]=!0x1,this[_0x2e21b3(0x260)]=0x0,this[_0x2e21b3(0x25b)]=void 0x0,this[_0x2e21b3(0x286)]=0x0,this[_0x2e21b3(0x1e3)]=!0x1,this[_0x2e21b3(0x25c)]=!0x1,this[_0x2e21b3(0x360)]=0x0,this[_0x2e21b3(0x210)]=0x0,this[_0x2e21b3(0x1a8)]=0x0,this['_fragments']=[],this[_0x2e21b3(0x2f0)]=!0x1,this[_0x2e21b3(0x277)]=!0x1,this[_0x2e21b3(0x290)]=_0x2c5938;}['_write'](_0x5b00a3,_0x1cc142,_0x25898a){const _0x5bb0f8=_0x409d8d;if(this[_0x5bb0f8(0x360)]===0x8&&this[_0x5bb0f8(0x290)]==_0x2c5938)return _0x25898a();this['_bufferedBytes']+=_0x5b00a3['length'],this[_0x5bb0f8(0x1d0)][_0x5bb0f8(0x2fc)](_0x5b00a3),this['startLoop'](_0x25898a);}['consume'](_0xd2935b){const _0x5acf29=_0x409d8d;if(this[_0x5acf29(0x23c)]-=_0xd2935b,_0xd2935b===this[_0x5acf29(0x1d0)][0x0][_0x5acf29(0x1d1)])return this[_0x5acf29(0x1d0)]['shift']();if(_0xd2935b<this[_0x5acf29(0x1d0)][0x0][_0x5acf29(0x1d1)]){const _0x16052f=this[_0x5acf29(0x1d0)][0x0];return this['_buffers'][0x0]=new _0x47157b(_0x16052f[_0x5acf29(0x270)],_0x16052f['byteOffset']+_0xd2935b,_0x16052f['length']-_0xd2935b),new _0x47157b(_0x16052f['buffer'],_0x16052f[_0x5acf29(0x315)],_0xd2935b);}const _0x24d50e=Buffer[_0x5acf29(0x28e)](_0xd2935b);do{const _0x52c044=this['_buffers'][0x0],_0x4b8b37=_0x24d50e[_0x5acf29(0x1d1)]-_0xd2935b;_0xd2935b>=_0x52c044[_0x5acf29(0x1d1)]?_0x24d50e[_0x5acf29(0x357)](this[_0x5acf29(0x1d0)]['shift'](),_0x4b8b37):(_0x24d50e[_0x5acf29(0x357)](new Uint8Array(_0x52c044[_0x5acf29(0x270)],_0x52c044[_0x5acf29(0x315)],_0xd2935b),_0x4b8b37),this['_buffers'][0x0]=new _0x47157b(_0x52c044[_0x5acf29(0x270)],_0x52c044[_0x5acf29(0x315)]+_0xd2935b,_0x52c044[_0x5acf29(0x1d1)]-_0xd2935b)),_0xd2935b-=_0x52c044[_0x5acf29(0x1d1)];}while(_0xd2935b>0x0);return _0x24d50e;}['startLoop'](_0x3792ce){const _0x5ae422=_0x409d8d;this[_0x5ae422(0x277)]=!0x0;do switch(this[_0x5ae422(0x290)]){case _0x2c5938:this[_0x5ae422(0x203)](_0x3792ce);break;case _0x4b3de5:this[_0x5ae422(0x24b)](_0x3792ce);break;case _0x2f6e2f:this[_0x5ae422(0x26a)](_0x3792ce);break;case _0x548f6f:this[_0x5ae422(0x2bc)]();break;case _0x209d69:this[_0x5ae422(0x331)](_0x3792ce);break;case _0x1a29a7:case _0x40e4c3:this[_0x5ae422(0x277)]=!0x1;return;}while(this[_0x5ae422(0x277)]);this['_errored']||_0x3792ce();}[_0x409d8d(0x203)](_0x1c46d6){const _0x2f89eb=_0x409d8d;if(this['_bufferedBytes']<0x2){this[_0x2f89eb(0x277)]=!0x1;return;}const _0x11ca7c=this['consume'](0x2);if((_0x11ca7c[0x0]&0x30)!==0x0){const _0x344c0b=this[_0x2f89eb(0x272)](RangeError,_0x2f89eb(0x1f5),!0x0,0x3ea,_0x2f89eb(0x1b4));_0x1c46d6(_0x344c0b);return;}const _0x2a629b=(_0x11ca7c[0x0]&0x40)===0x40;if(_0x2a629b&&!this[_0x2f89eb(0x231)][_0x2b4bd8[_0x2f89eb(0x2e6)]]){const _0x43e8f8=this['createError'](RangeError,_0x2f89eb(0x35b),!0x0,0x3ea,_0x2f89eb(0x316));_0x1c46d6(_0x43e8f8);return;}if(this['_fin']=(_0x11ca7c[0x0]&0x80)===0x80,this['_opcode']=_0x11ca7c[0x0]&0xf,this[_0x2f89eb(0x260)]=_0x11ca7c[0x1]&0x7f,this['_opcode']===0x0){if(_0x2a629b){const _0x342416=this[_0x2f89eb(0x272)](RangeError,_0x2f89eb(0x35b),!0x0,0x3ea,_0x2f89eb(0x316));_0x1c46d6(_0x342416);return;}if(!this[_0x2f89eb(0x286)]){const _0x3df21f=this[_0x2f89eb(0x272)](RangeError,_0x2f89eb(0x1b7),!0x0,0x3ea,_0x2f89eb(0x30a));_0x1c46d6(_0x3df21f);return;}this['_opcode']=this[_0x2f89eb(0x286)];}else{if(this[_0x2f89eb(0x360)]===0x1||this[_0x2f89eb(0x360)]===0x2){if(this[_0x2f89eb(0x286)]){const _0x3bff35=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x2f89eb(0x360)],!0x0,0x3ea,_0x2f89eb(0x30a));_0x1c46d6(_0x3bff35);return;}this[_0x2f89eb(0x293)]=_0x2a629b;}else{if(this[_0x2f89eb(0x360)]>0x7&&this[_0x2f89eb(0x360)]<0xb){if(!this['_fin']){const _0x804b0=this[_0x2f89eb(0x272)](RangeError,_0x2f89eb(0x298),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x1c46d6(_0x804b0);return;}if(_0x2a629b){const _0x77a8c3=this[_0x2f89eb(0x272)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x2f89eb(0x316));_0x1c46d6(_0x77a8c3);return;}if(this[_0x2f89eb(0x260)]>0x7d||this['_opcode']===0x8&&this[_0x2f89eb(0x260)]===0x1){const _0x48a10a=this[_0x2f89eb(0x272)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x2f89eb(0x260)],!0x0,0x3ea,_0x2f89eb(0x1d7));_0x1c46d6(_0x48a10a);return;}}else{const _0x2fd5ea=this[_0x2f89eb(0x272)](RangeError,_0x2f89eb(0x275)+this[_0x2f89eb(0x360)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x1c46d6(_0x2fd5ea);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this['_fragmented']=this[_0x2f89eb(0x360)]),this['_masked']=(_0x11ca7c[0x1]&0x80)===0x80,this[_0x2f89eb(0x291)]){if(!this[_0x2f89eb(0x1e3)]){const _0x251e68=this[_0x2f89eb(0x272)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x1c46d6(_0x251e68);return;}}else{if(this['_masked']){const _0x24e7f4=this['createError'](RangeError,_0x2f89eb(0x285),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x1c46d6(_0x24e7f4);return;}}this[_0x2f89eb(0x260)]===0x7e?this[_0x2f89eb(0x290)]=_0x4b3de5:this[_0x2f89eb(0x260)]===0x7f?this[_0x2f89eb(0x290)]=_0x2f6e2f:this['haveLength'](_0x1c46d6);}['getPayloadLength16'](_0x5d8db1){const _0x1a515b=_0x409d8d;if(this['_bufferedBytes']<0x2){this[_0x1a515b(0x277)]=!0x1;return;}this[_0x1a515b(0x260)]=this[_0x1a515b(0x1ef)](0x2)[_0x1a515b(0x1aa)](0x0),this[_0x1a515b(0x22b)](_0x5d8db1);}[_0x409d8d(0x26a)](_0x536a22){const _0x4e1c4f=_0x409d8d;if(this[_0x4e1c4f(0x23c)]<0x8){this[_0x4e1c4f(0x277)]=!0x1;return;}const _0xe7cc21=this['consume'](0x8),_0x4271e2=_0xe7cc21['readUInt32BE'](0x0);if(_0x4271e2>Math[_0x4e1c4f(0x1b6)](0x2,0x15)-0x1){const _0x1a6e2a=this[_0x4e1c4f(0x272)](RangeError,_0x4e1c4f(0x245),!0x1,0x3f1,_0x4e1c4f(0x2e9));_0x536a22(_0x1a6e2a);return;}this[_0x4e1c4f(0x260)]=_0x4271e2*Math[_0x4e1c4f(0x1b6)](0x2,0x20)+_0xe7cc21[_0x4e1c4f(0x341)](0x4),this[_0x4e1c4f(0x22b)](_0x536a22);}[_0x409d8d(0x22b)](_0x3d28fa){const _0x217538=_0x409d8d;if(this[_0x217538(0x260)]&&this['_opcode']<0x8&&(this[_0x217538(0x210)]+=this[_0x217538(0x260)],this[_0x217538(0x210)]>this[_0x217538(0x2eb)]&&this['_maxPayload']>0x0)){const _0x486b63=this[_0x217538(0x272)](RangeError,_0x217538(0x2fd),!0x1,0x3f1,_0x217538(0x1e2));_0x3d28fa(_0x486b63);return;}this['_masked']?this[_0x217538(0x290)]=_0x548f6f:this[_0x217538(0x290)]=_0x209d69;}[_0x409d8d(0x2bc)](){const _0x41d727=_0x409d8d;if(this['_bufferedBytes']<0x4){this[_0x41d727(0x277)]=!0x1;return;}this[_0x41d727(0x25b)]=this[_0x41d727(0x1ef)](0x4),this[_0x41d727(0x290)]=_0x209d69;}[_0x409d8d(0x331)](_0x50d676){const _0x17b389=_0x409d8d;let _0x575e30=_0x91c53c;if(this[_0x17b389(0x260)]){if(this[_0x17b389(0x23c)]<this[_0x17b389(0x260)]){this['_loop']=!0x1;return;}_0x575e30=this[_0x17b389(0x1ef)](this[_0x17b389(0x260)]),this[_0x17b389(0x1e3)]&&(this['_mask'][0x0]|this['_mask'][0x1]|this[_0x17b389(0x25b)][0x2]|this[_0x17b389(0x25b)][0x3])!==0x0&&_0x44f27b(_0x575e30,this[_0x17b389(0x25b)]);}if(this[_0x17b389(0x360)]>0x7){this[_0x17b389(0x364)](_0x575e30,_0x50d676);return;}if(this[_0x17b389(0x293)]){this['_state']=_0x1a29a7,this['decompress'](_0x575e30,_0x50d676);return;}_0x575e30[_0x17b389(0x1d1)]&&(this['_messageLength']=this[_0x17b389(0x210)],this[_0x17b389(0x1b8)]['push'](_0x575e30)),this[_0x17b389(0x296)](_0x50d676);}[_0x409d8d(0x22f)](_0x233aa9,_0x4d5c7d){const _0x60b736=_0x409d8d;this[_0x60b736(0x231)][_0x2b4bd8['extensionName']][_0x60b736(0x22f)](_0x233aa9,this[_0x60b736(0x25c)],(_0x2e68d8,_0x55de91)=>{const _0x34fdfd=_0x60b736;if(_0x2e68d8)return _0x4d5c7d(_0x2e68d8);if(_0x55de91[_0x34fdfd(0x1d1)]){if(this[_0x34fdfd(0x1a8)]+=_0x55de91[_0x34fdfd(0x1d1)],this[_0x34fdfd(0x1a8)]>this[_0x34fdfd(0x2eb)]&&this[_0x34fdfd(0x2eb)]>0x0){const _0xf8ed3b=this[_0x34fdfd(0x272)](RangeError,_0x34fdfd(0x2fd),!0x1,0x3f1,_0x34fdfd(0x1e2));_0x4d5c7d(_0xf8ed3b);return;}this['_fragments']['push'](_0x55de91);}this[_0x34fdfd(0x296)](_0x4d5c7d),this[_0x34fdfd(0x290)]===_0x2c5938&&this[_0x34fdfd(0x1c7)](_0x4d5c7d);});}[_0x409d8d(0x296)](_0x1b0096){const _0x1e7fb6=_0x409d8d;if(!this[_0x1e7fb6(0x25c)]){this['_state']=_0x2c5938;return;}const _0x3d47a6=this[_0x1e7fb6(0x1a8)],_0x73e389=this[_0x1e7fb6(0x1b8)];if(this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this[_0x1e7fb6(0x286)]=0x0,this[_0x1e7fb6(0x1b8)]=[],this['_opcode']===0x2){let _0x23b8ef;this[_0x1e7fb6(0x1c9)]===_0x1e7fb6(0x2da)?_0x23b8ef=_0x510070(_0x73e389,_0x3d47a6):this[_0x1e7fb6(0x1c9)]===_0x1e7fb6(0x2d2)?_0x23b8ef=_0x51283d(_0x510070(_0x73e389,_0x3d47a6)):this['_binaryType']===_0x1e7fb6(0x204)?_0x23b8ef=new Blob(_0x73e389):_0x23b8ef=_0x73e389,this[_0x1e7fb6(0x336)]?(this['emit'](_0x1e7fb6(0x33a),_0x23b8ef,!0x0),this[_0x1e7fb6(0x290)]=_0x2c5938):(this[_0x1e7fb6(0x290)]=_0x40e4c3,setImmediate(()=>{const _0xc6a4d3=_0x1e7fb6;this[_0xc6a4d3(0x35f)](_0xc6a4d3(0x33a),_0x23b8ef,!0x0),this[_0xc6a4d3(0x290)]=_0x2c5938,this[_0xc6a4d3(0x1c7)](_0x1b0096);}));}else{const _0x4ded03=_0x510070(_0x73e389,_0x3d47a6);if(!this[_0x1e7fb6(0x2d8)]&&!_0x494886(_0x4ded03)){const _0x4e5990=this[_0x1e7fb6(0x272)](Error,_0x1e7fb6(0x297),!0x0,0x3ef,_0x1e7fb6(0x278));_0x1b0096(_0x4e5990);return;}this[_0x1e7fb6(0x290)]===_0x1a29a7||this[_0x1e7fb6(0x336)]?(this[_0x1e7fb6(0x35f)](_0x1e7fb6(0x33a),_0x4ded03,!0x1),this[_0x1e7fb6(0x290)]=_0x2c5938):(this['_state']=_0x40e4c3,setImmediate(()=>{const _0x59109e=_0x1e7fb6;this[_0x59109e(0x35f)]('message',_0x4ded03,!0x1),this[_0x59109e(0x290)]=_0x2c5938,this[_0x59109e(0x1c7)](_0x1b0096);}));}}[_0x409d8d(0x364)](_0x51f64b,_0x28739f){const _0x424a09=_0x409d8d;if(this[_0x424a09(0x360)]===0x8){if(_0x51f64b[_0x424a09(0x1d1)]===0x0)this[_0x424a09(0x277)]=!0x1,this['emit'](_0x424a09(0x1e8),0x3ed,_0x91c53c),this[_0x424a09(0x2b0)]();else{const _0xe85135=_0x51f64b[_0x424a09(0x1aa)](0x0);if(!_0x3ba5de(_0xe85135)){const _0x386f94=this[_0x424a09(0x272)](RangeError,_0x424a09(0x1da)+_0xe85135,!0x0,0x3ea,_0x424a09(0x323));_0x28739f(_0x386f94);return;}const _0x48e277=new _0x47157b(_0x51f64b[_0x424a09(0x270)],_0x51f64b[_0x424a09(0x315)]+0x2,_0x51f64b[_0x424a09(0x1d1)]-0x2);if(!this[_0x424a09(0x2d8)]&&!_0x494886(_0x48e277)){const _0x37a146=this['createError'](Error,_0x424a09(0x297),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x28739f(_0x37a146);return;}this[_0x424a09(0x277)]=!0x1,this[_0x424a09(0x35f)](_0x424a09(0x1e8),_0xe85135,_0x48e277),this[_0x424a09(0x2b0)]();}this['_state']=_0x2c5938;return;}this[_0x424a09(0x336)]?(this['emit'](this[_0x424a09(0x360)]===0x9?_0x424a09(0x2c5):_0x424a09(0x28c),_0x51f64b),this['_state']=_0x2c5938):(this[_0x424a09(0x290)]=_0x40e4c3,setImmediate(()=>{const _0x35078d=_0x424a09;this[_0x35078d(0x35f)](this[_0x35078d(0x360)]===0x9?_0x35078d(0x2c5):_0x35078d(0x28c),_0x51f64b),this[_0x35078d(0x290)]=_0x2c5938,this[_0x35078d(0x1c7)](_0x28739f);}));}[_0x409d8d(0x272)](_0x2e68f3,_0x202ba7,_0x439d76,_0x1cec7c,_0x543ce7){const _0x2386d4=_0x409d8d;this[_0x2386d4(0x277)]=!0x1,this[_0x2386d4(0x2f0)]=!0x0;const _0x47a9b7=new _0x2e68f3(_0x439d76?_0x2386d4(0x1d3)+_0x202ba7:_0x202ba7);return Error[_0x2386d4(0x201)](_0x47a9b7,this['createError']),_0x47a9b7[_0x2386d4(0x2b1)]=_0x543ce7,_0x47a9b7[_0x2ba3c4]=_0x1cec7c,_0x47a9b7;}}return Se=_0x104ab7,Se;}var Ee,et;function _t(){const _0x15ba69=_0x4a72d3;if(et)return Ee;et=0x1;const {Duplex:_0x5d76b7}=_0x561e40,{randomFillSync:_0x1ae4c3}=_0x4f0023,_0x390c57=he(),{EMPTY_BUFFER:_0x541c5b,kWebSocket:_0x20108a,NOOP:_0x161cde}=V(),{isBlob:_0x585bbd,isValidStatusCode:_0x65cece}=ne(),{mask:_0x5271b2,toBuffer:_0x4243e5}=ce(),_0x485ddc=Symbol(_0x15ba69(0x28d)),_0x1888a7=Buffer[_0x15ba69(0x24a)](0x4),_0x3bbd1e=0x8*0x400;let _0x1049f0,_0x113a27=_0x3bbd1e;const _0x346626=0x0,_0x44822c=0x1,_0x29d60b=0x2;class _0x4b6ed4{constructor(_0x3a2025,_0x202b45,_0x39de20){const _0x2b84ac=_0x15ba69;this[_0x2b84ac(0x231)]=_0x202b45||{},_0x39de20&&(this[_0x2b84ac(0x328)]=_0x39de20,this['_maskBuffer']=Buffer[_0x2b84ac(0x24a)](0x4)),this[_0x2b84ac(0x1f3)]=_0x3a2025,this['_firstFragment']=!0x0,this[_0x2b84ac(0x335)]=!0x1,this[_0x2b84ac(0x23c)]=0x0,this[_0x2b84ac(0x30c)]=[],this['_state']=_0x346626,this['onerror']=_0x161cde,this[_0x20108a]=void 0x0;}static[_0x15ba69(0x1ee)](_0x4f6201,_0x252f8c){const _0x357e1f=_0x15ba69;let _0x47d0dd,_0x1114af=!0x1,_0x1e2921=0x2,_0x69140a=!0x1;_0x252f8c['mask']&&(_0x47d0dd=_0x252f8c[_0x357e1f(0x2a8)]||_0x1888a7,_0x252f8c[_0x357e1f(0x2cb)]?_0x252f8c[_0x357e1f(0x2cb)](_0x47d0dd):(_0x113a27===_0x3bbd1e&&(_0x1049f0===void 0x0&&(_0x1049f0=Buffer[_0x357e1f(0x24a)](_0x3bbd1e)),_0x1ae4c3(_0x1049f0,0x0,_0x3bbd1e),_0x113a27=0x0),_0x47d0dd[0x0]=_0x1049f0[_0x113a27++],_0x47d0dd[0x1]=_0x1049f0[_0x113a27++],_0x47d0dd[0x2]=_0x1049f0[_0x113a27++],_0x47d0dd[0x3]=_0x1049f0[_0x113a27++]),_0x69140a=(_0x47d0dd[0x0]|_0x47d0dd[0x1]|_0x47d0dd[0x2]|_0x47d0dd[0x3])===0x0,_0x1e2921=0x6);let _0x20c985;typeof _0x4f6201==_0x357e1f(0x2a3)?(!_0x252f8c['mask']||_0x69140a)&&_0x252f8c[_0x485ddc]!==void 0x0?_0x20c985=_0x252f8c[_0x485ddc]:(_0x4f6201=Buffer[_0x357e1f(0x2a6)](_0x4f6201),_0x20c985=_0x4f6201[_0x357e1f(0x1d1)]):(_0x20c985=_0x4f6201[_0x357e1f(0x1d1)],_0x1114af=_0x252f8c[_0x357e1f(0x31f)]&&_0x252f8c[_0x357e1f(0x27b)]&&!_0x69140a);let _0x5a49d1=_0x20c985;_0x20c985>=0x10000?(_0x1e2921+=0x8,_0x5a49d1=0x7f):_0x20c985>0x7d&&(_0x1e2921+=0x2,_0x5a49d1=0x7e);const _0x364d20=Buffer[_0x357e1f(0x28e)](_0x1114af?_0x20c985+_0x1e2921:_0x1e2921);return _0x364d20[0x0]=_0x252f8c[_0x357e1f(0x1ae)]?_0x252f8c[_0x357e1f(0x23d)]|0x80:_0x252f8c[_0x357e1f(0x23d)],_0x252f8c[_0x357e1f(0x33c)]&&(_0x364d20[0x0]|=0x40),_0x364d20[0x1]=_0x5a49d1,_0x5a49d1===0x7e?_0x364d20[_0x357e1f(0x20b)](_0x20c985,0x2):_0x5a49d1===0x7f&&(_0x364d20[0x2]=_0x364d20[0x3]=0x0,_0x364d20[_0x357e1f(0x29e)](_0x20c985,0x4,0x6)),_0x252f8c[_0x357e1f(0x31f)]?(_0x364d20[0x1]|=0x80,_0x364d20[_0x1e2921-0x4]=_0x47d0dd[0x0],_0x364d20[_0x1e2921-0x3]=_0x47d0dd[0x1],_0x364d20[_0x1e2921-0x2]=_0x47d0dd[0x2],_0x364d20[_0x1e2921-0x1]=_0x47d0dd[0x3],_0x69140a?[_0x364d20,_0x4f6201]:_0x1114af?(_0x5271b2(_0x4f6201,_0x47d0dd,_0x364d20,_0x1e2921,_0x20c985),[_0x364d20]):(_0x5271b2(_0x4f6201,_0x47d0dd,_0x4f6201,0x0,_0x20c985),[_0x364d20,_0x4f6201])):[_0x364d20,_0x4f6201];}['close'](_0x36b5d2,_0x5ae996,_0x51bb85,_0x18c2fe){const _0x151862=_0x15ba69;let _0x581e7d;if(_0x36b5d2===void 0x0)_0x581e7d=_0x541c5b;else{if(typeof _0x36b5d2!='number'||!_0x65cece(_0x36b5d2))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x5ae996===void 0x0||!_0x5ae996[_0x151862(0x1d1)])_0x581e7d=Buffer[_0x151862(0x28e)](0x2),_0x581e7d[_0x151862(0x20b)](_0x36b5d2,0x0);else{const _0x37e844=Buffer['byteLength'](_0x5ae996);if(_0x37e844>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x581e7d=Buffer[_0x151862(0x28e)](0x2+_0x37e844),_0x581e7d[_0x151862(0x20b)](_0x36b5d2,0x0),typeof _0x5ae996=='string'?_0x581e7d[_0x151862(0x347)](_0x5ae996,0x2):_0x581e7d[_0x151862(0x357)](_0x5ae996,0x2);}}const _0x25885b={[_0x485ddc]:_0x581e7d['length'],'fin':!0x0,'generateMask':this[_0x151862(0x328)],'mask':_0x51bb85,'maskBuffer':this[_0x151862(0x2b6)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x151862(0x290)]!==_0x346626?this[_0x151862(0x27c)]([this[_0x151862(0x1b0)],_0x581e7d,!0x1,_0x25885b,_0x18c2fe]):this['sendFrame'](_0x4b6ed4[_0x151862(0x1ee)](_0x581e7d,_0x25885b),_0x18c2fe);}[_0x15ba69(0x2c5)](_0x30bcc7,_0xacb7ed,_0x330325){const _0x30c2c8=_0x15ba69;let _0x1bbfd5,_0x5cedf4;if(typeof _0x30bcc7=='string'?(_0x1bbfd5=Buffer[_0x30c2c8(0x2b7)](_0x30bcc7),_0x5cedf4=!0x1):_0x585bbd(_0x30bcc7)?(_0x1bbfd5=_0x30bcc7['size'],_0x5cedf4=!0x1):(_0x30bcc7=_0x4243e5(_0x30bcc7),_0x1bbfd5=_0x30bcc7[_0x30c2c8(0x1d1)],_0x5cedf4=_0x4243e5[_0x30c2c8(0x27b)]),_0x1bbfd5>0x7d)throw new RangeError(_0x30c2c8(0x310));const _0x2bccf2={[_0x485ddc]:_0x1bbfd5,'fin':!0x0,'generateMask':this[_0x30c2c8(0x328)],'mask':_0xacb7ed,'maskBuffer':this[_0x30c2c8(0x2b6)],'opcode':0x9,'readOnly':_0x5cedf4,'rsv1':!0x1};_0x585bbd(_0x30bcc7)?this['_state']!==_0x346626?this['enqueue']([this[_0x30c2c8(0x20f)],_0x30bcc7,!0x1,_0x2bccf2,_0x330325]):this[_0x30c2c8(0x20f)](_0x30bcc7,!0x1,_0x2bccf2,_0x330325):this[_0x30c2c8(0x290)]!==_0x346626?this['enqueue']([this[_0x30c2c8(0x1b0)],_0x30bcc7,!0x1,_0x2bccf2,_0x330325]):this[_0x30c2c8(0x29f)](_0x4b6ed4['frame'](_0x30bcc7,_0x2bccf2),_0x330325);}[_0x15ba69(0x28c)](_0x3d6a6b,_0x44b3bd,_0x4f9566){const _0x5b7224=_0x15ba69;let _0x35c0bb,_0xf737f3;if(typeof _0x3d6a6b=='string'?(_0x35c0bb=Buffer[_0x5b7224(0x2b7)](_0x3d6a6b),_0xf737f3=!0x1):_0x585bbd(_0x3d6a6b)?(_0x35c0bb=_0x3d6a6b[_0x5b7224(0x35d)],_0xf737f3=!0x1):(_0x3d6a6b=_0x4243e5(_0x3d6a6b),_0x35c0bb=_0x3d6a6b['length'],_0xf737f3=_0x4243e5['readOnly']),_0x35c0bb>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x2c28db={[_0x485ddc]:_0x35c0bb,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x44b3bd,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0xf737f3,'rsv1':!0x1};_0x585bbd(_0x3d6a6b)?this[_0x5b7224(0x290)]!==_0x346626?this[_0x5b7224(0x27c)]([this['getBlobData'],_0x3d6a6b,!0x1,_0x2c28db,_0x4f9566]):this[_0x5b7224(0x20f)](_0x3d6a6b,!0x1,_0x2c28db,_0x4f9566):this[_0x5b7224(0x290)]!==_0x346626?this['enqueue']([this[_0x5b7224(0x1b0)],_0x3d6a6b,!0x1,_0x2c28db,_0x4f9566]):this['sendFrame'](_0x4b6ed4[_0x5b7224(0x1ee)](_0x3d6a6b,_0x2c28db),_0x4f9566);}[_0x15ba69(0x1ad)](_0x1b8e91,_0x2737de,_0x58401e){const _0x1f9a51=_0x15ba69,_0xc6a8d5=this[_0x1f9a51(0x231)][_0x390c57['extensionName']];let _0x49d936=_0x2737de[_0x1f9a51(0x25e)]?0x2:0x1,_0x4c6bc2=_0x2737de['compress'],_0x3b7958,_0x353cb3;typeof _0x1b8e91==_0x1f9a51(0x2a3)?(_0x3b7958=Buffer[_0x1f9a51(0x2b7)](_0x1b8e91),_0x353cb3=!0x1):_0x585bbd(_0x1b8e91)?(_0x3b7958=_0x1b8e91[_0x1f9a51(0x35d)],_0x353cb3=!0x1):(_0x1b8e91=_0x4243e5(_0x1b8e91),_0x3b7958=_0x1b8e91[_0x1f9a51(0x1d1)],_0x353cb3=_0x4243e5[_0x1f9a51(0x27b)]),this[_0x1f9a51(0x314)]?(this[_0x1f9a51(0x314)]=!0x1,_0x4c6bc2&&_0xc6a8d5&&_0xc6a8d5[_0x1f9a51(0x276)][_0xc6a8d5[_0x1f9a51(0x291)]?'server_no_context_takeover':_0x1f9a51(0x2d1)]&&(_0x4c6bc2=_0x3b7958>=_0xc6a8d5[_0x1f9a51(0x1fc)]),this['_compress']=_0x4c6bc2):(_0x4c6bc2=!0x1,_0x49d936=0x0),_0x2737de['fin']&&(this[_0x1f9a51(0x314)]=!0x0);const _0x5a38ad={[_0x485ddc]:_0x3b7958,'fin':_0x2737de[_0x1f9a51(0x1ae)],'generateMask':this[_0x1f9a51(0x328)],'mask':_0x2737de[_0x1f9a51(0x31f)],'maskBuffer':this[_0x1f9a51(0x2b6)],'opcode':_0x49d936,'readOnly':_0x353cb3,'rsv1':_0x4c6bc2};_0x585bbd(_0x1b8e91)?this[_0x1f9a51(0x290)]!==_0x346626?this[_0x1f9a51(0x27c)]([this[_0x1f9a51(0x20f)],_0x1b8e91,this[_0x1f9a51(0x335)],_0x5a38ad,_0x58401e]):this[_0x1f9a51(0x20f)](_0x1b8e91,this['_compress'],_0x5a38ad,_0x58401e):this[_0x1f9a51(0x290)]!==_0x346626?this['enqueue']([this['dispatch'],_0x1b8e91,this[_0x1f9a51(0x335)],_0x5a38ad,_0x58401e]):this[_0x1f9a51(0x1b0)](_0x1b8e91,this[_0x1f9a51(0x335)],_0x5a38ad,_0x58401e);}[_0x15ba69(0x20f)](_0x385f48,_0x4bb732,_0x336d08,_0x54e7b0){const _0x3648e5=_0x15ba69;this[_0x3648e5(0x23c)]+=_0x336d08[_0x485ddc],this[_0x3648e5(0x290)]=_0x29d60b,_0x385f48[_0x3648e5(0x2f8)]()['then'](_0x247e57=>{const _0x5f527c=_0x3648e5;if(this[_0x5f527c(0x1f3)][_0x5f527c(0x2ee)]){const _0x1f96c4=new Error(_0x5f527c(0x1a9));process[_0x5f527c(0x1c8)](_0x421dfb,this,_0x1f96c4,_0x54e7b0);return;}this[_0x5f527c(0x23c)]-=_0x336d08[_0x485ddc];const _0x363e73=_0x4243e5(_0x247e57);_0x4bb732?this[_0x5f527c(0x1b0)](_0x363e73,_0x4bb732,_0x336d08,_0x54e7b0):(this[_0x5f527c(0x290)]=_0x346626,this[_0x5f527c(0x29f)](_0x4b6ed4['frame'](_0x363e73,_0x336d08),_0x54e7b0),this[_0x5f527c(0x355)]());})[_0x3648e5(0x234)](_0x4f26ba=>{const _0x56f1f8=_0x3648e5;process[_0x56f1f8(0x1c8)](_0x2309af,this,_0x4f26ba,_0x54e7b0);});}[_0x15ba69(0x1b0)](_0x50061c,_0x215aa1,_0x54b5a7,_0x5e10a4){const _0x2995b4=_0x15ba69;if(!_0x215aa1){this[_0x2995b4(0x29f)](_0x4b6ed4[_0x2995b4(0x1ee)](_0x50061c,_0x54b5a7),_0x5e10a4);return;}const _0x3d1314=this['_extensions'][_0x390c57[_0x2995b4(0x2e6)]];this[_0x2995b4(0x23c)]+=_0x54b5a7[_0x485ddc],this[_0x2995b4(0x290)]=_0x44822c,_0x3d1314[_0x2995b4(0x2a5)](_0x50061c,_0x54b5a7['fin'],(_0x555ebd,_0x411015)=>{const _0x5726fb=_0x2995b4;if(this['_socket'][_0x5726fb(0x2ee)]){const _0x4c7d36=new Error(_0x5726fb(0x202));_0x421dfb(this,_0x4c7d36,_0x5e10a4);return;}this['_bufferedBytes']-=_0x54b5a7[_0x485ddc],this[_0x5726fb(0x290)]=_0x346626,_0x54b5a7['readOnly']=!0x1,this['sendFrame'](_0x4b6ed4[_0x5726fb(0x1ee)](_0x411015,_0x54b5a7),_0x5e10a4),this[_0x5726fb(0x355)]();});}[_0x15ba69(0x355)](){const _0x4235c0=_0x15ba69;for(;this[_0x4235c0(0x290)]===_0x346626&&this[_0x4235c0(0x30c)][_0x4235c0(0x1d1)];){const _0x121c9b=this[_0x4235c0(0x30c)][_0x4235c0(0x232)]();this['_bufferedBytes']-=_0x121c9b[0x3][_0x485ddc],Reflect[_0x4235c0(0x28f)](_0x121c9b[0x0],this,_0x121c9b[_0x4235c0(0x2e0)](0x1));}}['enqueue'](_0x41282b){const _0x3e18f0=_0x15ba69;this['_bufferedBytes']+=_0x41282b[0x3][_0x485ddc],this[_0x3e18f0(0x30c)][_0x3e18f0(0x2fc)](_0x41282b);}[_0x15ba69(0x29f)](_0x1244f7,_0x434e15){const _0x1480b5=_0x15ba69;_0x1244f7['length']===0x2?(this[_0x1480b5(0x1f3)][_0x1480b5(0x2c2)](),this['_socket'][_0x1480b5(0x347)](_0x1244f7[0x0]),this['_socket']['write'](_0x1244f7[0x1],_0x434e15),this[_0x1480b5(0x1f3)]['uncork']()):this['_socket'][_0x1480b5(0x347)](_0x1244f7[0x0],_0x434e15);}}Ee=_0x4b6ed4;function _0x421dfb(_0x10f6cf,_0x4a9cec,_0x375a88){const _0x579642=_0x15ba69;typeof _0x375a88=='function'&&_0x375a88(_0x4a9cec);for(let _0x755365=0x0;_0x755365<_0x10f6cf['_queue']['length'];_0x755365++){const _0x463cd2=_0x10f6cf[_0x579642(0x30c)][_0x755365],_0x1a49e3=_0x463cd2[_0x463cd2[_0x579642(0x1d1)]-0x1];typeof _0x1a49e3=='function'&&_0x1a49e3(_0x4a9cec);}}function _0x2309af(_0x3e426c,_0x15a70a,_0x3ecf64){_0x421dfb(_0x3e426c,_0x15a70a,_0x3ecf64),_0x3e426c['onerror'](_0x15a70a);}return Ee;}var xe,tt;function Kt(){const _0x5adaba=_0x4a72d3;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x1515cc,kListener:_0x457ced}=V(),_0x14a3df=Symbol(_0x5adaba(0x2ad)),_0xf69603=Symbol(_0x5adaba(0x30b)),_0x3e65d2=Symbol(_0x5adaba(0x350)),_0x4c81a4=Symbol(_0x5adaba(0x2dd)),_0x424e54=Symbol(_0x5adaba(0x24e)),_0x834036=Symbol(_0x5adaba(0x21d)),_0xc7891=Symbol(_0x5adaba(0x359)),_0x32310b=Symbol(_0x5adaba(0x27f));class _0x18c58b{constructor(_0x4e8e0c){this[_0x834036]=null,this[_0xc7891]=_0x4e8e0c;}get[_0x5adaba(0x2c6)](){return this[_0x834036];}get[_0x5adaba(0x239)](){return this[_0xc7891];}}Object[_0x5adaba(0x208)](_0x18c58b[_0x5adaba(0x311)],_0x5adaba(0x2c6),{'enumerable':!0x0}),Object[_0x5adaba(0x208)](_0x18c58b[_0x5adaba(0x311)],_0x5adaba(0x239),{'enumerable':!0x0});class _0x1a2d1c extends _0x18c58b{constructor(_0x3f8568,_0x565d5e={}){const _0x4f2ca0=_0x5adaba;super(_0x3f8568),this[_0x14a3df]=_0x565d5e['code']===void 0x0?0x0:_0x565d5e[_0x4f2ca0(0x2b1)],this[_0x424e54]=_0x565d5e[_0x4f2ca0(0x21b)]===void 0x0?'':_0x565d5e[_0x4f2ca0(0x21b)],this[_0x32310b]=_0x565d5e['wasClean']===void 0x0?!0x1:_0x565d5e[_0x4f2ca0(0x2f2)];}get[_0x5adaba(0x2b1)](){return this[_0x14a3df];}get[_0x5adaba(0x21b)](){return this[_0x424e54];}get[_0x5adaba(0x2f2)](){return this[_0x32310b];}}Object['defineProperty'](_0x1a2d1c['prototype'],_0x5adaba(0x2b1),{'enumerable':!0x0}),Object[_0x5adaba(0x208)](_0x1a2d1c[_0x5adaba(0x311)],_0x5adaba(0x21b),{'enumerable':!0x0}),Object['defineProperty'](_0x1a2d1c[_0x5adaba(0x311)],_0x5adaba(0x2f2),{'enumerable':!0x0});class _0x59c88e extends _0x18c58b{constructor(_0x5ad16d,_0x366d01={}){const _0x15fc56=_0x5adaba;super(_0x5ad16d),this[_0x3e65d2]=_0x366d01[_0x15fc56(0x2ba)]===void 0x0?null:_0x366d01['error'],this[_0x4c81a4]=_0x366d01['message']===void 0x0?'':_0x366d01[_0x15fc56(0x33a)];}get[_0x5adaba(0x2ba)](){return this[_0x3e65d2];}get['message'](){return this[_0x4c81a4];}}Object[_0x5adaba(0x208)](_0x59c88e[_0x5adaba(0x311)],_0x5adaba(0x2ba),{'enumerable':!0x0}),Object[_0x5adaba(0x208)](_0x59c88e[_0x5adaba(0x311)],_0x5adaba(0x33a),{'enumerable':!0x0});class _0x494109 extends _0x18c58b{constructor(_0x9f72f2,_0x53aa1e={}){const _0x428e41=_0x5adaba;super(_0x9f72f2),this[_0xf69603]=_0x53aa1e[_0x428e41(0x338)]===void 0x0?null:_0x53aa1e[_0x428e41(0x338)];}get[_0x5adaba(0x338)](){return this[_0xf69603];}}Object[_0x5adaba(0x208)](_0x494109[_0x5adaba(0x311)],_0x5adaba(0x338),{'enumerable':!0x0}),xe={'CloseEvent':_0x1a2d1c,'ErrorEvent':_0x59c88e,'Event':_0x18c58b,'EventTarget':{'addEventListener'(_0x28b117,_0x1b824d,_0x27a749={}){const _0x4ad4ab=_0x5adaba;for(const _0x281237 of this[_0x4ad4ab(0x2ae)](_0x28b117))if(!_0x27a749[_0x1515cc]&&_0x281237[_0x457ced]===_0x1b824d&&!_0x281237[_0x1515cc])return;let _0x36220d;if(_0x28b117===_0x4ad4ab(0x33a))_0x36220d=function(_0x2fbb71,_0x39f831){const _0x3f267a=_0x4ad4ab,_0x4f00a4=new _0x494109(_0x3f267a(0x33a),{'data':_0x39f831?_0x2fbb71:_0x2fbb71[_0x3f267a(0x244)]()});_0x4f00a4[_0x834036]=this,_0x51f83e(_0x1b824d,this,_0x4f00a4);};else{if(_0x28b117===_0x4ad4ab(0x2e4))_0x36220d=function(_0x1f0f43,_0x452c53){const _0x229d64=_0x4ad4ab,_0x1fb148=new _0x1a2d1c(_0x229d64(0x2e4),{'code':_0x1f0f43,'reason':_0x452c53[_0x229d64(0x244)](),'wasClean':this[_0x229d64(0x1b1)]&&this[_0x229d64(0x326)]});_0x1fb148[_0x834036]=this,_0x51f83e(_0x1b824d,this,_0x1fb148);};else{if(_0x28b117===_0x4ad4ab(0x2ba))_0x36220d=function(_0x3859fe){const _0x54066a=new _0x59c88e('error',{'error':_0x3859fe,'message':_0x3859fe['message']});_0x54066a[_0x834036]=this,_0x51f83e(_0x1b824d,this,_0x54066a);};else{if(_0x28b117===_0x4ad4ab(0x2bf))_0x36220d=function(){const _0x584fc7=_0x4ad4ab,_0x131ac9=new _0x18c58b(_0x584fc7(0x2bf));_0x131ac9[_0x834036]=this,_0x51f83e(_0x1b824d,this,_0x131ac9);};else return;}}}_0x36220d[_0x1515cc]=!!_0x27a749[_0x1515cc],_0x36220d[_0x457ced]=_0x1b824d,_0x27a749[_0x4ad4ab(0x269)]?this[_0x4ad4ab(0x269)](_0x28b117,_0x36220d):this['on'](_0x28b117,_0x36220d);},'removeEventListener'(_0x2f74fd,_0x121a15){const _0x7eabcd=_0x5adaba;for(const _0x3e0289 of this[_0x7eabcd(0x2ae)](_0x2f74fd))if(_0x3e0289[_0x457ced]===_0x121a15&&!_0x3e0289[_0x1515cc]){this[_0x7eabcd(0x325)](_0x2f74fd,_0x3e0289);break;}}},'MessageEvent':_0x494109};function _0x51f83e(_0x593431,_0x30ec3c,_0x41d716){const _0x3f6848=_0x5adaba;typeof _0x593431==_0x3f6848(0x22c)&&_0x593431[_0x3f6848(0x342)]?_0x593431[_0x3f6848(0x342)][_0x3f6848(0x256)](_0x593431,_0x41d716):_0x593431['call'](_0x30ec3c,_0x41d716);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x503037}=ne();function _0x1a6527(_0x5418af,_0x33ac48,_0x3da887){const _0x244a10=_0x1cd5;_0x5418af[_0x33ac48]===void 0x0?_0x5418af[_0x33ac48]=[_0x3da887]:_0x5418af[_0x33ac48][_0x244a10(0x2fc)](_0x3da887);}function _0x450a94(_0x16ae90){const _0x461271=_0x1cd5,_0x449ecd=Object[_0x461271(0x20d)](null);let _0x12740d=Object[_0x461271(0x20d)](null),_0x2b58a0=!0x1,_0x5d8bcf=!0x1,_0x5458b9=!0x1,_0x2729c0,_0x3f1fd2,_0xf67ff=-0x1,_0x427a88=-0x1,_0x392891=-0x1,_0x156eff=0x0;for(;_0x156eff<_0x16ae90[_0x461271(0x1d1)];_0x156eff++)if(_0x427a88=_0x16ae90[_0x461271(0x207)](_0x156eff),_0x2729c0===void 0x0){if(_0x392891===-0x1&&_0x503037[_0x427a88]===0x1)_0xf67ff===-0x1&&(_0xf67ff=_0x156eff);else{if(_0x156eff!==0x0&&(_0x427a88===0x20||_0x427a88===0x9))_0x392891===-0x1&&_0xf67ff!==-0x1&&(_0x392891=_0x156eff);else{if(_0x427a88===0x3b||_0x427a88===0x2c){if(_0xf67ff===-0x1)throw new SyntaxError(_0x461271(0x344)+_0x156eff);_0x392891===-0x1&&(_0x392891=_0x156eff);const _0x28f2e1=_0x16ae90['slice'](_0xf67ff,_0x392891);_0x427a88===0x2c?(_0x1a6527(_0x449ecd,_0x28f2e1,_0x12740d),_0x12740d=Object[_0x461271(0x20d)](null)):_0x2729c0=_0x28f2e1,_0xf67ff=_0x392891=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x156eff);}}}else{if(_0x3f1fd2===void 0x0){if(_0x392891===-0x1&&_0x503037[_0x427a88]===0x1)_0xf67ff===-0x1&&(_0xf67ff=_0x156eff);else{if(_0x427a88===0x20||_0x427a88===0x9)_0x392891===-0x1&&_0xf67ff!==-0x1&&(_0x392891=_0x156eff);else{if(_0x427a88===0x3b||_0x427a88===0x2c){if(_0xf67ff===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x156eff);_0x392891===-0x1&&(_0x392891=_0x156eff),_0x1a6527(_0x12740d,_0x16ae90[_0x461271(0x2e0)](_0xf67ff,_0x392891),!0x0),_0x427a88===0x2c&&(_0x1a6527(_0x449ecd,_0x2729c0,_0x12740d),_0x12740d=Object[_0x461271(0x20d)](null),_0x2729c0=void 0x0),_0xf67ff=_0x392891=-0x1;}else{if(_0x427a88===0x3d&&_0xf67ff!==-0x1&&_0x392891===-0x1)_0x3f1fd2=_0x16ae90[_0x461271(0x2e0)](_0xf67ff,_0x156eff),_0xf67ff=_0x392891=-0x1;else throw new SyntaxError(_0x461271(0x344)+_0x156eff);}}}}else{if(_0x5d8bcf){if(_0x503037[_0x427a88]!==0x1)throw new SyntaxError(_0x461271(0x344)+_0x156eff);_0xf67ff===-0x1?_0xf67ff=_0x156eff:_0x2b58a0||(_0x2b58a0=!0x0),_0x5d8bcf=!0x1;}else{if(_0x5458b9){if(_0x503037[_0x427a88]===0x1)_0xf67ff===-0x1&&(_0xf67ff=_0x156eff);else{if(_0x427a88===0x22&&_0xf67ff!==-0x1)_0x5458b9=!0x1,_0x392891=_0x156eff;else{if(_0x427a88===0x5c)_0x5d8bcf=!0x0;else throw new SyntaxError(_0x461271(0x344)+_0x156eff);}}}else{if(_0x427a88===0x22&&_0x16ae90[_0x461271(0x207)](_0x156eff-0x1)===0x3d)_0x5458b9=!0x0;else{if(_0x392891===-0x1&&_0x503037[_0x427a88]===0x1)_0xf67ff===-0x1&&(_0xf67ff=_0x156eff);else{if(_0xf67ff!==-0x1&&(_0x427a88===0x20||_0x427a88===0x9))_0x392891===-0x1&&(_0x392891=_0x156eff);else{if(_0x427a88===0x3b||_0x427a88===0x2c){if(_0xf67ff===-0x1)throw new SyntaxError(_0x461271(0x344)+_0x156eff);_0x392891===-0x1&&(_0x392891=_0x156eff);let _0x1b82e6=_0x16ae90[_0x461271(0x2e0)](_0xf67ff,_0x392891);_0x2b58a0&&(_0x1b82e6=_0x1b82e6[_0x461271(0x213)](/\\/g,''),_0x2b58a0=!0x1),_0x1a6527(_0x12740d,_0x3f1fd2,_0x1b82e6),_0x427a88===0x2c&&(_0x1a6527(_0x449ecd,_0x2729c0,_0x12740d),_0x12740d=Object['create'](null),_0x2729c0=void 0x0),_0x3f1fd2=void 0x0,_0xf67ff=_0x392891=-0x1;}else throw new SyntaxError(_0x461271(0x344)+_0x156eff);}}}}}}}if(_0xf67ff===-0x1||_0x5458b9||_0x427a88===0x20||_0x427a88===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x392891===-0x1&&(_0x392891=_0x156eff);const _0x96fdc7=_0x16ae90[_0x461271(0x2e0)](_0xf67ff,_0x392891);return _0x2729c0===void 0x0?_0x1a6527(_0x449ecd,_0x96fdc7,_0x12740d):(_0x3f1fd2===void 0x0?_0x1a6527(_0x12740d,_0x96fdc7,!0x0):_0x2b58a0?_0x1a6527(_0x12740d,_0x3f1fd2,_0x96fdc7[_0x461271(0x213)](/\\/g,'')):_0x1a6527(_0x12740d,_0x3f1fd2,_0x96fdc7),_0x1a6527(_0x449ecd,_0x2729c0,_0x12740d)),_0x449ecd;}function _0x24cb41(_0xf7dfc7){const _0x2c3973=_0x1cd5;return Object['keys'](_0xf7dfc7)[_0x2c3973(0x1fa)](_0xf17633=>{const _0x484af1=_0x2c3973;let _0x3555c7=_0xf7dfc7[_0xf17633];return Array['isArray'](_0x3555c7)||(_0x3555c7=[_0x3555c7]),_0x3555c7[_0x484af1(0x1fa)](_0x1daa04=>[_0xf17633]['concat'](Object[_0x484af1(0x21f)](_0x1daa04)['map'](_0x5a7e5f=>{const _0x2b1079=_0x484af1;let _0x3dad6a=_0x1daa04[_0x5a7e5f];return Array['isArray'](_0x3dad6a)||(_0x3dad6a=[_0x3dad6a]),_0x3dad6a[_0x2b1079(0x1fa)](_0x1eb30d=>_0x1eb30d===!0x0?_0x5a7e5f:_0x5a7e5f+'='+_0x1eb30d)[_0x2b1079(0x29c)](';\x20');}))[_0x484af1(0x29c)](';\x20'))[_0x484af1(0x29c)](',\x20');})['join'](',\x20');}return be={'format':_0x24cb41,'parse':_0x450a94},be;}var we,st;function Ie(){const _0xac342c=_0x4a72d3;if(st)return we;st=0x1;const _0x1be26c=_0x3eeacf,_0x2f0706=_0x5db4e4,_0x544612=_0x26b4e1,_0x2628e9=_0x5c837e,_0x3c7358=_0x281053,{randomBytes:_0xf38dc7,createHash:_0x27c556}=_0x4f0023,{Duplex:_0xa7d432,Readable:_0xa3fff4}=_0x561e40,{URL:_0x165eec}=_0x129d17,_0x2524a9=he(),_0x429fb5=dt(),_0xd2827b=_t(),{isBlob:_0xd3c46c}=ne(),{BINARY_TYPES:_0x3594be,EMPTY_BUFFER:_0x1dd1e3,GUID:_0x575119,kForOnEventAttribute:_0x75af3c,kListener:_0x307415,kStatusCode:_0x3b1dbd,kWebSocket:_0x241bd4,NOOP:_0x178786}=V(),{EventTarget:{addEventListener:_0x448d26,removeEventListener:_0x47abd1}}=Kt(),{format:_0x1c3ca3,parse:_0x4fcd46}=pt(),{toBuffer:_0x277766}=ce(),_0x3f21c3=0x1e*0x3e8,_0x2a74fc=Symbol(_0xac342c(0x2d0)),_0x126d7e=[0x8,0xd],_0x1be25f=[_0xac342c(0x337),_0xac342c(0x34a),_0xac342c(0x1dc),_0xac342c(0x2b4)],_0x1316f1=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x55295a extends _0x1be26c{constructor(_0x577a4a,_0x2786bf,_0x39033a){const _0x2d4e6=_0xac342c;super(),this[_0x2d4e6(0x1c9)]=_0x3594be[0x0],this[_0x2d4e6(0x321)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x2d4e6(0x326)]=!0x1,this['_closeMessage']=_0x1dd1e3,this[_0x2d4e6(0x2ec)]=null,this[_0x2d4e6(0x2d4)]=!0x1,this[_0x2d4e6(0x231)]={},this[_0x2d4e6(0x2ca)]=!0x1,this[_0x2d4e6(0x2b9)]='',this[_0x2d4e6(0x31d)]=_0x55295a[_0x2d4e6(0x337)],this[_0x2d4e6(0x2ff)]=null,this[_0x2d4e6(0x34b)]=null,this[_0x2d4e6(0x1f3)]=null,_0x577a4a!==null?(this[_0x2d4e6(0x348)]=0x0,this['_isServer']=!0x1,this[_0x2d4e6(0x300)]=0x0,_0x2786bf===void 0x0?_0x2786bf=[]:Array[_0x2d4e6(0x29d)](_0x2786bf)||(typeof _0x2786bf==_0x2d4e6(0x22c)&&_0x2786bf!==null?(_0x39033a=_0x2786bf,_0x2786bf=[]):_0x2786bf=[_0x2786bf]),_0x13f2b6(this,_0x577a4a,_0x2786bf,_0x39033a)):(this[_0x2d4e6(0x247)]=_0x39033a[_0x2d4e6(0x2e1)],this[_0x2d4e6(0x291)]=!0x0);}get[_0xac342c(0x1e5)](){const _0x476f62=_0xac342c;return this[_0x476f62(0x1c9)];}set[_0xac342c(0x1e5)](_0x3bb849){const _0x599ad1=_0xac342c;_0x3594be[_0x599ad1(0x354)](_0x3bb849)&&(this[_0x599ad1(0x1c9)]=_0x3bb849,this[_0x599ad1(0x2ff)]&&(this[_0x599ad1(0x2ff)][_0x599ad1(0x1c9)]=_0x3bb849));}get[_0xac342c(0x2c1)](){const _0x30e542=_0xac342c;return this[_0x30e542(0x1f3)]?this[_0x30e542(0x1f3)][_0x30e542(0x32d)][_0x30e542(0x1d1)]+this['_sender'][_0x30e542(0x23c)]:this[_0x30e542(0x348)];}get[_0xac342c(0x2d7)](){const _0x3ae645=_0xac342c;return Object[_0x3ae645(0x21f)](this[_0x3ae645(0x231)])[_0x3ae645(0x29c)]();}get['isPaused'](){const _0x174879=_0xac342c;return this[_0x174879(0x2ca)];}get['onclose'](){return null;}get[_0xac342c(0x1d5)](){return null;}get[_0xac342c(0x223)](){return null;}get['onmessage'](){return null;}get[_0xac342c(0x2f7)](){const _0x33edc9=_0xac342c;return this[_0x33edc9(0x2b9)];}get[_0xac342c(0x248)](){const _0x3c99c7=_0xac342c;return this[_0x3c99c7(0x31d)];}get[_0xac342c(0x2f9)](){const _0x3f6e32=_0xac342c;return this[_0x3f6e32(0x35c)];}[_0xac342c(0x2b2)](_0x28dbfb,_0xba9feb,_0x3613d6){const _0x46f54f=_0xac342c,_0x2606f8=new _0x429fb5({'allowSynchronousEvents':_0x3613d6[_0x46f54f(0x305)],'binaryType':this[_0x46f54f(0x1e5)],'extensions':this[_0x46f54f(0x231)],'isServer':this[_0x46f54f(0x291)],'maxPayload':_0x3613d6[_0x46f54f(0x2e8)],'skipUTF8Validation':_0x3613d6['skipUTF8Validation']}),_0x3e612f=new _0xd2827b(_0x28dbfb,this[_0x46f54f(0x231)],_0x3613d6['generateMask']);this[_0x46f54f(0x2ff)]=_0x2606f8,this['_sender']=_0x3e612f,this[_0x46f54f(0x1f3)]=_0x28dbfb,_0x2606f8[_0x241bd4]=this,_0x3e612f[_0x241bd4]=this,_0x28dbfb[_0x241bd4]=this,_0x2606f8['on'](_0x46f54f(0x1e8),_0xb07993),_0x2606f8['on'](_0x46f54f(0x23a),_0xec923a),_0x2606f8['on']('error',_0x62b3f),_0x2606f8['on'](_0x46f54f(0x33a),_0x13d801),_0x2606f8['on'](_0x46f54f(0x2c5),_0x5030a4),_0x2606f8['on'](_0x46f54f(0x28c),_0xa6d750),_0x3e612f[_0x46f54f(0x1d5)]=_0x4bf725,_0x28dbfb[_0x46f54f(0x1c6)]&&_0x28dbfb[_0x46f54f(0x1c6)](0x0),_0x28dbfb['setNoDelay']&&_0x28dbfb['setNoDelay'](),_0xba9feb[_0x46f54f(0x1d1)]>0x0&&_0x28dbfb[_0x46f54f(0x259)](_0xba9feb),_0x28dbfb['on']('close',_0x5d045d),_0x28dbfb['on']('data',_0x5d54c0),_0x28dbfb['on'](_0x46f54f(0x2b0),_0x28e09e),_0x28dbfb['on']('error',_0x4891af),this[_0x46f54f(0x31d)]=_0x55295a[_0x46f54f(0x34a)],this[_0x46f54f(0x35f)](_0x46f54f(0x2bf));}[_0xac342c(0x2dc)](){const _0x348ce1=_0xac342c;if(!this['_socket']){this[_0x348ce1(0x31d)]=_0x55295a[_0x348ce1(0x2b4)],this['emit'](_0x348ce1(0x2e4),this['_closeCode'],this['_closeMessage']);return;}this[_0x348ce1(0x231)][_0x2524a9['extensionName']]&&this[_0x348ce1(0x231)][_0x2524a9['extensionName']][_0x348ce1(0x1bc)](),this[_0x348ce1(0x2ff)][_0x348ce1(0x1dd)](),this['_readyState']=_0x55295a[_0x348ce1(0x2b4)],this['emit'](_0x348ce1(0x2e4),this['_closeCode'],this[_0x348ce1(0x263)]);}[_0xac342c(0x2e4)](_0x16bd43,_0x59bd12){const _0x310a98=_0xac342c;if(this[_0x310a98(0x248)]!==_0x55295a[_0x310a98(0x2b4)]){if(this[_0x310a98(0x248)]===_0x55295a[_0x310a98(0x337)]){_0x580dfc(this,this[_0x310a98(0x280)],_0x310a98(0x2c4));return;}if(this[_0x310a98(0x248)]===_0x55295a[_0x310a98(0x1dc)]){this[_0x310a98(0x326)]&&(this[_0x310a98(0x1b1)]||this[_0x310a98(0x2ff)][_0x310a98(0x32d)][_0x310a98(0x339)])&&this['_socket']['end']();return;}this[_0x310a98(0x31d)]=_0x55295a[_0x310a98(0x1dc)],this['_sender']['close'](_0x16bd43,_0x59bd12,!this[_0x310a98(0x291)],_0x27e33c=>{const _0x1234ee=_0x310a98;_0x27e33c||(this['_closeFrameSent']=!0x0,(this[_0x1234ee(0x1b1)]||this['_receiver'][_0x1234ee(0x32d)][_0x1234ee(0x339)])&&this['_socket'][_0x1234ee(0x2b0)]());}),_0x5602c4(this);}}['pause'](){const _0x243aef=_0xac342c;this[_0x243aef(0x248)]===_0x55295a['CONNECTING']||this[_0x243aef(0x248)]===_0x55295a['CLOSED']||(this[_0x243aef(0x2ca)]=!0x0,this[_0x243aef(0x1f3)][_0x243aef(0x362)]());}[_0xac342c(0x2c5)](_0x2a8494,_0x4dbff2,_0x2f8cb8){const _0x10f4d8=_0xac342c;if(this[_0x10f4d8(0x248)]===_0x55295a['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x2a8494==_0x10f4d8(0x218)?(_0x2f8cb8=_0x2a8494,_0x2a8494=_0x4dbff2=void 0x0):typeof _0x4dbff2=='function'&&(_0x2f8cb8=_0x4dbff2,_0x4dbff2=void 0x0),typeof _0x2a8494==_0x10f4d8(0x251)&&(_0x2a8494=_0x2a8494[_0x10f4d8(0x244)]()),this['readyState']!==_0x55295a[_0x10f4d8(0x34a)]){_0x29bff4(this,_0x2a8494,_0x2f8cb8);return;}_0x4dbff2===void 0x0&&(_0x4dbff2=!this[_0x10f4d8(0x291)]),this['_sender']['ping'](_0x2a8494||_0x1dd1e3,_0x4dbff2,_0x2f8cb8);}[_0xac342c(0x28c)](_0x59b92e,_0x3de5c7,_0x3a2e78){const _0x241062=_0xac342c;if(this[_0x241062(0x248)]===_0x55295a[_0x241062(0x337)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x59b92e==_0x241062(0x218)?(_0x3a2e78=_0x59b92e,_0x59b92e=_0x3de5c7=void 0x0):typeof _0x3de5c7==_0x241062(0x218)&&(_0x3a2e78=_0x3de5c7,_0x3de5c7=void 0x0),typeof _0x59b92e==_0x241062(0x251)&&(_0x59b92e=_0x59b92e['toString']()),this[_0x241062(0x248)]!==_0x55295a[_0x241062(0x34a)]){_0x29bff4(this,_0x59b92e,_0x3a2e78);return;}_0x3de5c7===void 0x0&&(_0x3de5c7=!this[_0x241062(0x291)]),this[_0x241062(0x34b)][_0x241062(0x28c)](_0x59b92e||_0x1dd1e3,_0x3de5c7,_0x3a2e78);}[_0xac342c(0x34c)](){const _0x31ca25=_0xac342c;this[_0x31ca25(0x248)]===_0x55295a[_0x31ca25(0x337)]||this['readyState']===_0x55295a['CLOSED']||(this[_0x31ca25(0x2ca)]=!0x1,this['_receiver'][_0x31ca25(0x32d)][_0x31ca25(0x30f)]||this[_0x31ca25(0x1f3)][_0x31ca25(0x34c)]());}[_0xac342c(0x1ad)](_0x403750,_0x49b75d,_0x5b06e3){const _0x40ab10=_0xac342c;if(this[_0x40ab10(0x248)]===_0x55295a[_0x40ab10(0x337)])throw new Error(_0x40ab10(0x318));if(typeof _0x49b75d==_0x40ab10(0x218)&&(_0x5b06e3=_0x49b75d,_0x49b75d={}),typeof _0x403750==_0x40ab10(0x251)&&(_0x403750=_0x403750[_0x40ab10(0x244)]()),this['readyState']!==_0x55295a[_0x40ab10(0x34a)]){_0x29bff4(this,_0x403750,_0x5b06e3);return;}const _0x3d411e={'binary':typeof _0x403750!=_0x40ab10(0x2a3),'mask':!this[_0x40ab10(0x291)],'compress':!0x0,'fin':!0x0,..._0x49b75d};this[_0x40ab10(0x231)][_0x2524a9[_0x40ab10(0x2e6)]]||(_0x3d411e['compress']=!0x1),this[_0x40ab10(0x34b)]['send'](_0x403750||_0x1dd1e3,_0x3d411e,_0x5b06e3);}[_0xac342c(0x236)](){const _0x53048d=_0xac342c;if(this['readyState']!==_0x55295a['CLOSED']){if(this[_0x53048d(0x248)]===_0x55295a[_0x53048d(0x337)]){_0x580dfc(this,this[_0x53048d(0x280)],_0x53048d(0x2c4));return;}this[_0x53048d(0x1f3)]&&(this[_0x53048d(0x31d)]=_0x55295a[_0x53048d(0x1dc)],this[_0x53048d(0x1f3)][_0x53048d(0x29a)]());}}}Object[_0xac342c(0x208)](_0x55295a,_0xac342c(0x337),{'enumerable':!0x0,'value':_0x1be25f[_0xac342c(0x24d)](_0xac342c(0x337))}),Object['defineProperty'](_0x55295a['prototype'],'CONNECTING',{'enumerable':!0x0,'value':_0x1be25f[_0xac342c(0x24d)](_0xac342c(0x337))}),Object[_0xac342c(0x208)](_0x55295a,_0xac342c(0x34a),{'enumerable':!0x0,'value':_0x1be25f['indexOf'](_0xac342c(0x34a))}),Object[_0xac342c(0x208)](_0x55295a[_0xac342c(0x311)],_0xac342c(0x34a),{'enumerable':!0x0,'value':_0x1be25f[_0xac342c(0x24d)]('OPEN')}),Object[_0xac342c(0x208)](_0x55295a,_0xac342c(0x1dc),{'enumerable':!0x0,'value':_0x1be25f[_0xac342c(0x24d)]('CLOSING')}),Object['defineProperty'](_0x55295a[_0xac342c(0x311)],'CLOSING',{'enumerable':!0x0,'value':_0x1be25f[_0xac342c(0x24d)](_0xac342c(0x1dc))}),Object[_0xac342c(0x208)](_0x55295a,_0xac342c(0x2b4),{'enumerable':!0x0,'value':_0x1be25f[_0xac342c(0x24d)](_0xac342c(0x2b4))}),Object[_0xac342c(0x208)](_0x55295a[_0xac342c(0x311)],'CLOSED',{'enumerable':!0x0,'value':_0x1be25f[_0xac342c(0x24d)](_0xac342c(0x2b4))}),[_0xac342c(0x1e5),_0xac342c(0x2c1),_0xac342c(0x2d7),_0xac342c(0x313),_0xac342c(0x2f7),_0xac342c(0x248),'url'][_0xac342c(0x273)](_0x367791=>{const _0x277615=_0xac342c;Object[_0x277615(0x208)](_0x55295a[_0x277615(0x311)],_0x367791,{'enumerable':!0x0});}),[_0xac342c(0x2bf),'error',_0xac342c(0x2e4),_0xac342c(0x33a)][_0xac342c(0x273)](_0x25c0bb=>{const _0x31b6e4=_0xac342c;Object[_0x31b6e4(0x208)](_0x55295a[_0x31b6e4(0x311)],'on'+_0x25c0bb,{'enumerable':!0x0,'get'(){const _0x15042d=_0x31b6e4;for(const _0x47f49f of this[_0x15042d(0x2ae)](_0x25c0bb))if(_0x47f49f[_0x75af3c])return _0x47f49f[_0x307415];return null;},'set'(_0x2945d3){const _0x1e1bcc=_0x31b6e4;for(const _0x2b0a91 of this[_0x1e1bcc(0x2ae)](_0x25c0bb))if(_0x2b0a91[_0x75af3c]){this[_0x1e1bcc(0x325)](_0x25c0bb,_0x2b0a91);break;}typeof _0x2945d3==_0x1e1bcc(0x218)&&this[_0x1e1bcc(0x1d8)](_0x25c0bb,_0x2945d3,{[_0x75af3c]:!0x0});}});}),_0x55295a[_0xac342c(0x311)][_0xac342c(0x1d8)]=_0x448d26,_0x55295a[_0xac342c(0x311)][_0xac342c(0x2ac)]=_0x47abd1,we=_0x55295a;function _0x13f2b6(_0x4167de,_0x342d54,_0x4201e2,_0x1329bd){const _0x3e0c2e=_0xac342c,_0x2dac33={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x126d7e[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1329bd,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x3e0c2e(0x332),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4167de[_0x3e0c2e(0x247)]=_0x2dac33[_0x3e0c2e(0x2e1)],!_0x126d7e[_0x3e0c2e(0x354)](_0x2dac33[_0x3e0c2e(0x327)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x2dac33[_0x3e0c2e(0x327)]+_0x3e0c2e(0x320)+_0x126d7e[_0x3e0c2e(0x29c)](',\x20')+')');let _0x450bcf;if(_0x342d54 instanceof _0x165eec)_0x450bcf=_0x342d54;else try{_0x450bcf=new _0x165eec(_0x342d54);}catch{throw new SyntaxError(_0x3e0c2e(0x2d6)+_0x342d54);}_0x450bcf['protocol']===_0x3e0c2e(0x1fe)?_0x450bcf[_0x3e0c2e(0x2f7)]='ws:':_0x450bcf['protocol']===_0x3e0c2e(0x2aa)&&(_0x450bcf['protocol']='wss:'),_0x4167de[_0x3e0c2e(0x35c)]=_0x450bcf[_0x3e0c2e(0x228)];const _0x2d06e3=_0x450bcf[_0x3e0c2e(0x2f7)]===_0x3e0c2e(0x32f),_0x53a3c7=_0x450bcf[_0x3e0c2e(0x2f7)]===_0x3e0c2e(0x279);let _0x17c019;if(_0x450bcf['protocol']!==_0x3e0c2e(0x319)&&!_0x2d06e3&&!_0x53a3c7?_0x17c019='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':_0x53a3c7&&!_0x450bcf[_0x3e0c2e(0x2de)]?_0x17c019=_0x3e0c2e(0x1e6):_0x450bcf[_0x3e0c2e(0x1ab)]&&(_0x17c019=_0x3e0c2e(0x1cf)),_0x17c019){const _0x395e29=new SyntaxError(_0x17c019);if(_0x4167de[_0x3e0c2e(0x300)]===0x0)throw _0x395e29;_0x30dda4(_0x4167de,_0x395e29);return;}const _0x4c4329=_0x2d06e3?0x1bb:0x50,_0x4d4be5=_0xf38dc7(0x10)[_0x3e0c2e(0x244)](_0x3e0c2e(0x274)),_0x527ad8=_0x2d06e3?_0x2f0706[_0x3e0c2e(0x227)]:_0x544612[_0x3e0c2e(0x227)],_0x11d18a=new Set();let _0x56bdd6;if(_0x2dac33[_0x3e0c2e(0x302)]=_0x2dac33[_0x3e0c2e(0x302)]||(_0x2d06e3?_0x343b51:_0xb49d46),_0x2dac33[_0x3e0c2e(0x346)]=_0x2dac33[_0x3e0c2e(0x346)]||_0x4c4329,_0x2dac33[_0x3e0c2e(0x22d)]=_0x450bcf[_0x3e0c2e(0x22d)]||_0x4c4329,_0x2dac33['host']=_0x450bcf['hostname'][_0x3e0c2e(0x211)]('[')?_0x450bcf[_0x3e0c2e(0x2e7)][_0x3e0c2e(0x2e0)](0x1,-0x1):_0x450bcf[_0x3e0c2e(0x2e7)],_0x2dac33[_0x3e0c2e(0x2cc)]={..._0x2dac33[_0x3e0c2e(0x2cc)],'Sec-WebSocket-Version':_0x2dac33[_0x3e0c2e(0x327)],'Sec-WebSocket-Key':_0x4d4be5,'Connection':_0x3e0c2e(0x221),'Upgrade':_0x3e0c2e(0x1f1)},_0x2dac33[_0x3e0c2e(0x301)]=_0x450bcf[_0x3e0c2e(0x2de)]+_0x450bcf[_0x3e0c2e(0x2bd)],_0x2dac33['timeout']=_0x2dac33[_0x3e0c2e(0x28a)],_0x2dac33['perMessageDeflate']&&(_0x56bdd6=new _0x2524a9(_0x2dac33['perMessageDeflate']!==!0x0?_0x2dac33[_0x3e0c2e(0x2ea)]:{},!0x1,_0x2dac33[_0x3e0c2e(0x2e8)]),_0x2dac33[_0x3e0c2e(0x2cc)][_0x3e0c2e(0x2bb)]=_0x1c3ca3({[_0x2524a9['extensionName']]:_0x56bdd6[_0x3e0c2e(0x267)]()})),_0x4201e2[_0x3e0c2e(0x1d1)]){for(const _0x21529e of _0x4201e2){if(typeof _0x21529e!=_0x3e0c2e(0x2a3)||!_0x1316f1[_0x3e0c2e(0x205)](_0x21529e)||_0x11d18a[_0x3e0c2e(0x292)](_0x21529e))throw new SyntaxError(_0x3e0c2e(0x24c));_0x11d18a[_0x3e0c2e(0x1af)](_0x21529e);}_0x2dac33[_0x3e0c2e(0x2cc)][_0x3e0c2e(0x34d)]=_0x4201e2[_0x3e0c2e(0x29c)](',');}if(_0x2dac33[_0x3e0c2e(0x2e2)]&&(_0x2dac33[_0x3e0c2e(0x327)]<0xd?_0x2dac33[_0x3e0c2e(0x2cc)]['Sec-WebSocket-Origin']=_0x2dac33[_0x3e0c2e(0x2e2)]:_0x2dac33[_0x3e0c2e(0x2cc)]['Origin']=_0x2dac33[_0x3e0c2e(0x2e2)]),(_0x450bcf['username']||_0x450bcf[_0x3e0c2e(0x214)])&&(_0x2dac33[_0x3e0c2e(0x2f3)]=_0x450bcf[_0x3e0c2e(0x258)]+':'+_0x450bcf[_0x3e0c2e(0x214)]),_0x53a3c7){const _0x448f4b=_0x2dac33[_0x3e0c2e(0x301)][_0x3e0c2e(0x1ea)](':');_0x2dac33[_0x3e0c2e(0x2a1)]=_0x448f4b[0x0],_0x2dac33['path']=_0x448f4b[0x1];}let _0x439ec5;if(_0x2dac33[_0x3e0c2e(0x1b5)]){if(_0x4167de[_0x3e0c2e(0x300)]===0x0){_0x4167de[_0x3e0c2e(0x230)]=_0x53a3c7,_0x4167de[_0x3e0c2e(0x1df)]=_0x2d06e3,_0x4167de[_0x3e0c2e(0x219)]=_0x53a3c7?_0x2dac33['socketPath']:_0x450bcf[_0x3e0c2e(0x200)];const _0x48115f=_0x1329bd&&_0x1329bd[_0x3e0c2e(0x2cc)];if(_0x1329bd={..._0x1329bd,'headers':{}},_0x48115f){for(const [_0x17c52a,_0x167eba]of Object['entries'](_0x48115f))_0x1329bd[_0x3e0c2e(0x2cc)][_0x17c52a[_0x3e0c2e(0x224)]()]=_0x167eba;}}else{if(_0x4167de['listenerCount'](_0x3e0c2e(0x1ac))===0x0){const _0x4f473e=_0x53a3c7?_0x4167de[_0x3e0c2e(0x230)]?_0x2dac33[_0x3e0c2e(0x2a1)]===_0x4167de[_0x3e0c2e(0x219)]:!0x1:_0x4167de['_originalIpc']?!0x1:_0x450bcf[_0x3e0c2e(0x200)]===_0x4167de[_0x3e0c2e(0x219)];(!_0x4f473e||_0x4167de[_0x3e0c2e(0x1df)]&&!_0x2d06e3)&&(delete _0x2dac33[_0x3e0c2e(0x2cc)]['authorization'],delete _0x2dac33[_0x3e0c2e(0x2cc)]['cookie'],_0x4f473e||delete _0x2dac33['headers'][_0x3e0c2e(0x200)],_0x2dac33['auth']=void 0x0);}}_0x2dac33[_0x3e0c2e(0x2f3)]&&!_0x1329bd[_0x3e0c2e(0x2cc)]['authorization']&&(_0x1329bd['headers'][_0x3e0c2e(0x31c)]=_0x3e0c2e(0x243)+Buffer[_0x3e0c2e(0x2a6)](_0x2dac33[_0x3e0c2e(0x2f3)])['toString'](_0x3e0c2e(0x274))),_0x439ec5=_0x4167de[_0x3e0c2e(0x280)]=_0x527ad8(_0x2dac33),_0x4167de[_0x3e0c2e(0x300)]&&_0x4167de[_0x3e0c2e(0x35f)](_0x3e0c2e(0x1ac),_0x4167de[_0x3e0c2e(0x2f9)],_0x439ec5);}else _0x439ec5=_0x4167de[_0x3e0c2e(0x280)]=_0x527ad8(_0x2dac33);_0x2dac33[_0x3e0c2e(0x2f6)]&&_0x439ec5['on'](_0x3e0c2e(0x2f6),()=>{const _0x18dbec=_0x3e0c2e;_0x580dfc(_0x4167de,_0x439ec5,_0x18dbec(0x31e));}),_0x439ec5['on']('error',_0x1c5d53=>{const _0xfcee66=_0x3e0c2e;_0x439ec5===null||_0x439ec5[_0x2a74fc]||(_0x439ec5=_0x4167de[_0xfcee66(0x280)]=null,_0x30dda4(_0x4167de,_0x1c5d53));}),_0x439ec5['on'](_0x3e0c2e(0x23f),_0x19984e=>{const _0x5dc75d=_0x3e0c2e,_0x38e752=_0x19984e[_0x5dc75d(0x2cc)]['location'],_0x4310db=_0x19984e['statusCode'];if(_0x38e752&&_0x2dac33[_0x5dc75d(0x1b5)]&&_0x4310db>=0x12c&&_0x4310db<0x190){if(++_0x4167de['_redirects']>_0x2dac33[_0x5dc75d(0x351)]){_0x580dfc(_0x4167de,_0x439ec5,'Maximum\x20redirects\x20exceeded');return;}_0x439ec5[_0x5dc75d(0x1ff)]();let _0x4a9a29;try{_0x4a9a29=new _0x165eec(_0x38e752,_0x342d54);}catch{const _0x405e6f=new SyntaxError(_0x5dc75d(0x2d6)+_0x38e752);_0x30dda4(_0x4167de,_0x405e6f);return;}_0x13f2b6(_0x4167de,_0x4a9a29,_0x4201e2,_0x1329bd);}else _0x4167de['emit'](_0x5dc75d(0x340),_0x439ec5,_0x19984e)||_0x580dfc(_0x4167de,_0x439ec5,_0x5dc75d(0x1c5)+_0x19984e[_0x5dc75d(0x358)]);}),_0x439ec5['on'](_0x3e0c2e(0x282),(_0x2be182,_0x38b442,_0x82ee91)=>{const _0x523f4f=_0x3e0c2e;if(_0x4167de['emit']('upgrade',_0x2be182),_0x4167de[_0x523f4f(0x248)]!==_0x55295a[_0x523f4f(0x337)])return;_0x439ec5=_0x4167de['_req']=null;const _0x528433=_0x2be182['headers']['upgrade'];if(_0x528433===void 0x0||_0x528433[_0x523f4f(0x224)]()!==_0x523f4f(0x1f1)){_0x580dfc(_0x4167de,_0x38b442,_0x523f4f(0x26f));return;}const _0xaaf237=_0x27c556(_0x523f4f(0x242))[_0x523f4f(0x250)](_0x4d4be5+_0x575119)['digest']('base64');if(_0x2be182[_0x523f4f(0x2cc)][_0x523f4f(0x1cc)]!==_0xaaf237){_0x580dfc(_0x4167de,_0x38b442,_0x523f4f(0x2fb));return;}const _0x404f61=_0x2be182[_0x523f4f(0x2cc)][_0x523f4f(0x1be)];let _0x513e2e;if(_0x404f61!==void 0x0?_0x11d18a[_0x523f4f(0x35d)]?_0x11d18a[_0x523f4f(0x292)](_0x404f61)||(_0x513e2e='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x513e2e='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x11d18a['size']&&(_0x513e2e=_0x523f4f(0x27e)),_0x513e2e){_0x580dfc(_0x4167de,_0x38b442,_0x513e2e);return;}_0x404f61&&(_0x4167de[_0x523f4f(0x2b9)]=_0x404f61);const _0x1a188f=_0x2be182[_0x523f4f(0x2cc)][_0x523f4f(0x1ec)];if(_0x1a188f!==void 0x0){if(!_0x56bdd6){_0x580dfc(_0x4167de,_0x38b442,_0x523f4f(0x284));return;}let _0x4c949c;try{_0x4c949c=_0x4fcd46(_0x1a188f);}catch{_0x580dfc(_0x4167de,_0x38b442,_0x523f4f(0x294));return;}const _0x276500=Object[_0x523f4f(0x21f)](_0x4c949c);if(_0x276500[_0x523f4f(0x1d1)]!==0x1||_0x276500[0x0]!==_0x2524a9[_0x523f4f(0x2e6)]){_0x580dfc(_0x4167de,_0x38b442,_0x523f4f(0x2cd));return;}try{_0x56bdd6[_0x523f4f(0x295)](_0x4c949c[_0x2524a9[_0x523f4f(0x2e6)]]);}catch{_0x580dfc(_0x4167de,_0x38b442,_0x523f4f(0x294));return;}_0x4167de['_extensions'][_0x2524a9[_0x523f4f(0x2e6)]]=_0x56bdd6;}_0x4167de['setSocket'](_0x38b442,_0x82ee91,{'allowSynchronousEvents':_0x2dac33[_0x523f4f(0x305)],'generateMask':_0x2dac33[_0x523f4f(0x2cb)],'maxPayload':_0x2dac33[_0x523f4f(0x2e8)],'skipUTF8Validation':_0x2dac33[_0x523f4f(0x21e)]});}),_0x2dac33[_0x3e0c2e(0x1b9)]?_0x2dac33['finishRequest'](_0x439ec5,_0x4167de):_0x439ec5[_0x3e0c2e(0x2b0)]();}function _0x30dda4(_0x480fbb,_0x2a7272){const _0x203d1a=_0xac342c;_0x480fbb[_0x203d1a(0x31d)]=_0x55295a[_0x203d1a(0x1dc)],_0x480fbb[_0x203d1a(0x2d4)]=!0x0,_0x480fbb[_0x203d1a(0x35f)](_0x203d1a(0x2ba),_0x2a7272),_0x480fbb[_0x203d1a(0x2dc)]();}function _0xb49d46(_0x35d9ab){const _0x2e35e2=_0xac342c;return _0x35d9ab[_0x2e35e2(0x301)]=_0x35d9ab[_0x2e35e2(0x2a1)],_0x2628e9[_0x2e35e2(0x27a)](_0x35d9ab);}function _0x343b51(_0x437208){const _0x420f89=_0xac342c;return _0x437208[_0x420f89(0x301)]=void 0x0,!_0x437208[_0x420f89(0x264)]&&_0x437208['servername']!==''&&(_0x437208[_0x420f89(0x264)]=_0x2628e9[_0x420f89(0x22e)](_0x437208[_0x420f89(0x200)])?'':_0x437208[_0x420f89(0x200)]),_0x3c7358[_0x420f89(0x27a)](_0x437208);}function _0x580dfc(_0x493d20,_0x4a6e02,_0x30a290){const _0xa6f1b7=_0xac342c;_0x493d20['_readyState']=_0x55295a[_0xa6f1b7(0x1dc)];const _0xf3a348=new Error(_0x30a290);Error[_0xa6f1b7(0x201)](_0xf3a348,_0x580dfc),_0x4a6e02['setHeader']?(_0x4a6e02[_0x2a74fc]=!0x0,_0x4a6e02[_0xa6f1b7(0x1ff)](),_0x4a6e02[_0xa6f1b7(0x235)]&&!_0x4a6e02[_0xa6f1b7(0x235)]['destroyed']&&_0x4a6e02[_0xa6f1b7(0x235)]['destroy'](),process[_0xa6f1b7(0x1c8)](_0x30dda4,_0x493d20,_0xf3a348)):(_0x4a6e02['destroy'](_0xf3a348),_0x4a6e02[_0xa6f1b7(0x269)](_0xa6f1b7(0x2ba),_0x493d20[_0xa6f1b7(0x35f)]['bind'](_0x493d20,'error')),_0x4a6e02[_0xa6f1b7(0x269)]('close',_0x493d20['emitClose'][_0xa6f1b7(0x266)](_0x493d20)));}function _0x29bff4(_0x53138e,_0x201c40,_0x26adef){const _0x2c0d2f=_0xac342c;if(_0x201c40){const _0x177603=_0xd3c46c(_0x201c40)?_0x201c40[_0x2c0d2f(0x35d)]:_0x277766(_0x201c40)[_0x2c0d2f(0x1d1)];_0x53138e[_0x2c0d2f(0x1f3)]?_0x53138e['_sender'][_0x2c0d2f(0x23c)]+=_0x177603:_0x53138e[_0x2c0d2f(0x348)]+=_0x177603;}if(_0x26adef){const _0xfe5b05=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x53138e[_0x2c0d2f(0x248)]+'\x20('+_0x1be25f[_0x53138e[_0x2c0d2f(0x248)]]+')');process[_0x2c0d2f(0x1c8)](_0x26adef,_0xfe5b05);}}function _0xb07993(_0x59ca41,_0x2b45b9){const _0x297967=_0xac342c,_0x3e6ef9=this[_0x241bd4];_0x3e6ef9[_0x297967(0x1b1)]=!0x0,_0x3e6ef9[_0x297967(0x263)]=_0x2b45b9,_0x3e6ef9['_closeCode']=_0x59ca41,_0x3e6ef9[_0x297967(0x1f3)][_0x241bd4]!==void 0x0&&(_0x3e6ef9[_0x297967(0x1f3)]['removeListener'](_0x297967(0x338),_0x5d54c0),process[_0x297967(0x1c8)](_0x1a6120,_0x3e6ef9[_0x297967(0x1f3)]),_0x59ca41===0x3ed?_0x3e6ef9[_0x297967(0x2e4)]():_0x3e6ef9[_0x297967(0x2e4)](_0x59ca41,_0x2b45b9));}function _0xec923a(){const _0x4ce412=this[_0x241bd4];_0x4ce412['isPaused']||_0x4ce412['_socket']['resume']();}function _0x62b3f(_0x17f1b8){const _0x47abbb=_0xac342c,_0x21e72d=this[_0x241bd4];_0x21e72d[_0x47abbb(0x1f3)][_0x241bd4]!==void 0x0&&(_0x21e72d[_0x47abbb(0x1f3)][_0x47abbb(0x325)](_0x47abbb(0x338),_0x5d54c0),process[_0x47abbb(0x1c8)](_0x1a6120,_0x21e72d['_socket']),_0x21e72d[_0x47abbb(0x2e4)](_0x17f1b8[_0x3b1dbd])),_0x21e72d[_0x47abbb(0x2d4)]||(_0x21e72d['_errorEmitted']=!0x0,_0x21e72d[_0x47abbb(0x35f)](_0x47abbb(0x2ba),_0x17f1b8));}function _0x1de253(){const _0x35cef3=_0xac342c;this[_0x241bd4][_0x35cef3(0x2dc)]();}function _0x13d801(_0x50b98d,_0x4031e0){const _0x157542=_0xac342c;this[_0x241bd4]['emit'](_0x157542(0x33a),_0x50b98d,_0x4031e0);}function _0x5030a4(_0x491ad1){const _0x1e352d=_0xac342c,_0x7b8545=this[_0x241bd4];_0x7b8545[_0x1e352d(0x247)]&&_0x7b8545[_0x1e352d(0x28c)](_0x491ad1,!this[_0x1e352d(0x291)],_0x178786),_0x7b8545[_0x1e352d(0x35f)](_0x1e352d(0x2c5),_0x491ad1);}function _0xa6d750(_0xc7397d){const _0x3f0818=_0xac342c;this[_0x241bd4]['emit'](_0x3f0818(0x28c),_0xc7397d);}function _0x1a6120(_0x1dcb4e){_0x1dcb4e['resume']();}function _0x4bf725(_0x361bbb){const _0x4f0874=_0xac342c,_0xdd989e=this[_0x241bd4];_0xdd989e[_0x4f0874(0x248)]!==_0x55295a[_0x4f0874(0x2b4)]&&(_0xdd989e['readyState']===_0x55295a['OPEN']&&(_0xdd989e['_readyState']=_0x55295a[_0x4f0874(0x1dc)],_0x5602c4(_0xdd989e)),this['_socket'][_0x4f0874(0x2b0)](),_0xdd989e[_0x4f0874(0x2d4)]||(_0xdd989e[_0x4f0874(0x2d4)]=!0x0,_0xdd989e[_0x4f0874(0x35f)]('error',_0x361bbb)));}function _0x5602c4(_0x3ce75e){const _0x3aa0ce=_0xac342c;_0x3ce75e[_0x3aa0ce(0x2ec)]=setTimeout(_0x3ce75e[_0x3aa0ce(0x1f3)][_0x3aa0ce(0x29a)][_0x3aa0ce(0x266)](_0x3ce75e['_socket']),_0x3f21c3);}function _0x5d045d(){const _0x5fe60f=_0xac342c,_0x2c2d39=this[_0x241bd4];this[_0x5fe60f(0x325)](_0x5fe60f(0x2e4),_0x5d045d),this[_0x5fe60f(0x325)](_0x5fe60f(0x338),_0x5d54c0),this[_0x5fe60f(0x325)](_0x5fe60f(0x2b0),_0x28e09e),_0x2c2d39[_0x5fe60f(0x31d)]=_0x55295a['CLOSING'];let _0x138e75;!this[_0x5fe60f(0x268)]['endEmitted']&&!_0x2c2d39['_closeFrameReceived']&&!_0x2c2d39[_0x5fe60f(0x2ff)]['_writableState'][_0x5fe60f(0x339)]&&(_0x138e75=_0x2c2d39[_0x5fe60f(0x1f3)]['read']())!==null&&_0x2c2d39['_receiver'][_0x5fe60f(0x347)](_0x138e75),_0x2c2d39[_0x5fe60f(0x2ff)][_0x5fe60f(0x2b0)](),this[_0x241bd4]=void 0x0,clearTimeout(_0x2c2d39[_0x5fe60f(0x2ec)]),_0x2c2d39[_0x5fe60f(0x2ff)]['_writableState'][_0x5fe60f(0x1b2)]||_0x2c2d39[_0x5fe60f(0x2ff)][_0x5fe60f(0x32d)]['errorEmitted']?_0x2c2d39[_0x5fe60f(0x2dc)]():(_0x2c2d39[_0x5fe60f(0x2ff)]['on'](_0x5fe60f(0x2ba),_0x1de253),_0x2c2d39[_0x5fe60f(0x2ff)]['on']('finish',_0x1de253));}function _0x5d54c0(_0x903f22){const _0x55a810=_0xac342c;this[_0x241bd4]['_receiver'][_0x55a810(0x347)](_0x903f22)||this[_0x55a810(0x362)]();}function _0x28e09e(){const _0x40b448=_0xac342c,_0x11d832=this[_0x241bd4];_0x11d832['_readyState']=_0x55295a['CLOSING'],_0x11d832[_0x40b448(0x2ff)][_0x40b448(0x2b0)](),this['end']();}function _0x4891af(){const _0xd93c55=_0xac342c,_0x459643=this[_0x241bd4];this[_0xd93c55(0x325)](_0xd93c55(0x2ba),_0x4891af),this['on'](_0xd93c55(0x2ba),_0x178786),_0x459643&&(_0x459643[_0xd93c55(0x31d)]=_0x55295a[_0xd93c55(0x1dc)],this[_0xd93c55(0x29a)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x2759d9}=_0x561e40;function _0x2045dc(_0x63bc64){const _0x161bba=_0x1cd5;_0x63bc64[_0x161bba(0x35f)](_0x161bba(0x2e4));}function _0x2ab59d(){const _0x259815=_0x1cd5;!this['destroyed']&&this[_0x259815(0x32d)][_0x259815(0x1b2)]&&this[_0x259815(0x29a)]();}function _0x2db9a8(_0x683943){const _0x40520c=_0x1cd5;this[_0x40520c(0x325)]('error',_0x2db9a8),this[_0x40520c(0x29a)](),this[_0x40520c(0x2fe)]('error')===0x0&&this[_0x40520c(0x35f)]('error',_0x683943);}function _0x24e697(_0x4ece21,_0x4a2ecd){const _0x52ba0d=_0x1cd5;let _0x17c66b=!0x0;const _0x3ca5ba=new _0x2759d9({..._0x4a2ecd,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4ece21['on'](_0x52ba0d(0x33a),function(_0x1fcf6b,_0x577038){const _0x5306dd=_0x52ba0d,_0x5b58b3=!_0x577038&&_0x3ca5ba['_readableState'][_0x5306dd(0x307)]?_0x1fcf6b[_0x5306dd(0x244)]():_0x1fcf6b;_0x3ca5ba[_0x5306dd(0x2fc)](_0x5b58b3)||_0x4ece21['pause']();}),_0x4ece21[_0x52ba0d(0x269)](_0x52ba0d(0x2ba),function(_0xa6a0c8){const _0x292ff9=_0x52ba0d;_0x3ca5ba[_0x292ff9(0x2ee)]||(_0x17c66b=!0x1,_0x3ca5ba[_0x292ff9(0x29a)](_0xa6a0c8));}),_0x4ece21['once'](_0x52ba0d(0x2e4),function(){const _0x4fa3d1=_0x52ba0d;_0x3ca5ba[_0x4fa3d1(0x2ee)]||_0x3ca5ba[_0x4fa3d1(0x2fc)](null);}),_0x3ca5ba[_0x52ba0d(0x33e)]=function(_0x45b4f3,_0x473cfc){const _0x59abb3=_0x52ba0d;if(_0x4ece21[_0x59abb3(0x248)]===_0x4ece21['CLOSED']){_0x473cfc(_0x45b4f3),process[_0x59abb3(0x1c8)](_0x2045dc,_0x3ca5ba);return;}let _0xd02b6b=!0x1;_0x4ece21[_0x59abb3(0x269)](_0x59abb3(0x2ba),function(_0xc21c13){_0xd02b6b=!0x0,_0x473cfc(_0xc21c13);}),_0x4ece21[_0x59abb3(0x269)](_0x59abb3(0x2e4),function(){_0xd02b6b||_0x473cfc(_0x45b4f3),process['nextTick'](_0x2045dc,_0x3ca5ba);}),_0x17c66b&&_0x4ece21[_0x59abb3(0x236)]();},_0x3ca5ba['_final']=function(_0x50e921){const _0x6669c1=_0x52ba0d;if(_0x4ece21[_0x6669c1(0x248)]===_0x4ece21[_0x6669c1(0x337)]){_0x4ece21[_0x6669c1(0x269)](_0x6669c1(0x2bf),function(){const _0x36d16f=_0x6669c1;_0x3ca5ba[_0x36d16f(0x252)](_0x50e921);});return;}_0x4ece21[_0x6669c1(0x1f3)]!==null&&(_0x4ece21['_socket']['_writableState']['finished']?(_0x50e921(),_0x3ca5ba[_0x6669c1(0x268)][_0x6669c1(0x24f)]&&_0x3ca5ba[_0x6669c1(0x29a)]()):(_0x4ece21[_0x6669c1(0x1f3)][_0x6669c1(0x269)](_0x6669c1(0x1bb),function(){_0x50e921();}),_0x4ece21[_0x6669c1(0x2e4)]()));},_0x3ca5ba[_0x52ba0d(0x281)]=function(){const _0x2ad37f=_0x52ba0d;_0x4ece21[_0x2ad37f(0x313)]&&_0x4ece21[_0x2ad37f(0x34c)]();},_0x3ca5ba[_0x52ba0d(0x1bf)]=function(_0xa47fa0,_0x2853c7,_0x1464bc){const _0x431355=_0x52ba0d;if(_0x4ece21[_0x431355(0x248)]===_0x4ece21[_0x431355(0x337)]){_0x4ece21[_0x431355(0x269)](_0x431355(0x2bf),function(){const _0x6c661c=_0x431355;_0x3ca5ba[_0x6c661c(0x1bf)](_0xa47fa0,_0x2853c7,_0x1464bc);});return;}_0x4ece21[_0x431355(0x1ad)](_0xa47fa0,_0x1464bc);},_0x3ca5ba['on']('end',_0x2ab59d),_0x3ca5ba['on'](_0x52ba0d(0x2ba),_0x2db9a8),_0x3ca5ba;}return Oe=_0x24e697,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x52fade}=ne();function _0x5d9de2(_0x271823){const _0x17dfef=_0x1cd5,_0x1c2631=new Set();let _0x66ddbe=-0x1,_0x402b1c=-0x1,_0x35fa6a=0x0;for(_0x35fa6a;_0x35fa6a<_0x271823['length'];_0x35fa6a++){const _0x4c9266=_0x271823[_0x17dfef(0x207)](_0x35fa6a);if(_0x402b1c===-0x1&&_0x52fade[_0x4c9266]===0x1)_0x66ddbe===-0x1&&(_0x66ddbe=_0x35fa6a);else{if(_0x35fa6a!==0x0&&(_0x4c9266===0x20||_0x4c9266===0x9))_0x402b1c===-0x1&&_0x66ddbe!==-0x1&&(_0x402b1c=_0x35fa6a);else{if(_0x4c9266===0x2c){if(_0x66ddbe===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x35fa6a);_0x402b1c===-0x1&&(_0x402b1c=_0x35fa6a);const _0x4e7dbc=_0x271823['slice'](_0x66ddbe,_0x402b1c);if(_0x1c2631[_0x17dfef(0x292)](_0x4e7dbc))throw new SyntaxError(_0x17dfef(0x2df)+_0x4e7dbc+_0x17dfef(0x1f4));_0x1c2631['add'](_0x4e7dbc),_0x66ddbe=_0x402b1c=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x35fa6a);}}}if(_0x66ddbe===-0x1||_0x402b1c!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x32c72d=_0x271823[_0x17dfef(0x2e0)](_0x66ddbe,_0x35fa6a);if(_0x1c2631[_0x17dfef(0x292)](_0x32c72d))throw new SyntaxError('The\x20\x22'+_0x32c72d+'\x22\x20subprotocol\x20is\x20duplicated');return _0x1c2631['add'](_0x32c72d),_0x1c2631;}return Ce={'parse':_0x5d9de2},Ce;}var Te,ot;function er(){const _0x22ea2b=_0x4a72d3;if(ot)return Te;ot=0x1;const _0x2bf408=_0x3eeacf,_0x440a68=_0x26b4e1,{Duplex:_0x3740fc}=_0x561e40,{createHash:_0x2e4dc5}=_0x4f0023,_0x2924ae=pt(),_0x3ec243=he(),_0x94e6bf=Jt(),_0x33109f=Ie(),{GUID:_0x2b7062,kWebSocket:_0x4b6dd4}=V(),_0x569285=/^[+/0-9A-Za-z]{22}==$/,_0x115d9c=0x0,_0x2415bd=0x1,_0x52e780=0x2;class _0x341a94 extends _0x2bf408{constructor(_0x33e850,_0x10546c){const _0x1d6c78=_0x1cd5;if(super(),_0x33e850={'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':_0x33109f,..._0x33e850},_0x33e850[_0x1d6c78(0x22d)]==null&&!_0x33e850[_0x1d6c78(0x1f9)]&&!_0x33e850[_0x1d6c78(0x254)]||_0x33e850[_0x1d6c78(0x22d)]!=null&&(_0x33e850['server']||_0x33e850['noServer'])||_0x33e850[_0x1d6c78(0x1f9)]&&_0x33e850['noServer'])throw new TypeError(_0x1d6c78(0x220));if(_0x33e850['port']!=null?(this[_0x1d6c78(0x1c3)]=_0x440a68[_0x1d6c78(0x356)]((_0x28df54,_0x985bd)=>{const _0x56e95d=_0x1d6c78,_0x7fde2e=_0x440a68[_0x56e95d(0x32a)][0x1aa];_0x985bd['writeHead'](0x1aa,{'Content-Length':_0x7fde2e[_0x56e95d(0x1d1)],'Content-Type':'text/plain'}),_0x985bd[_0x56e95d(0x2b0)](_0x7fde2e);}),this[_0x1d6c78(0x1c3)][_0x1d6c78(0x31a)](_0x33e850['port'],_0x33e850['host'],_0x33e850[_0x1d6c78(0x33b)],_0x10546c)):_0x33e850[_0x1d6c78(0x1f9)]&&(this[_0x1d6c78(0x1c3)]=_0x33e850[_0x1d6c78(0x1f9)]),this[_0x1d6c78(0x1c3)]){const _0x24e7d2=this[_0x1d6c78(0x35f)][_0x1d6c78(0x266)](this,_0x1d6c78(0x215));this['_removeListeners']=_0x40aaf9(this[_0x1d6c78(0x1c3)],{'listening':this['emit'][_0x1d6c78(0x266)](this,_0x1d6c78(0x1de)),'error':this[_0x1d6c78(0x35f)]['bind'](this,'error'),'upgrade':(_0xc2d702,_0x5b1620,_0x5a90a1)=>{const _0x457686=_0x1d6c78;this[_0x457686(0x1c0)](_0xc2d702,_0x5b1620,_0x5a90a1,_0x24e7d2);}});}_0x33e850[_0x1d6c78(0x2ea)]===!0x0&&(_0x33e850[_0x1d6c78(0x2ea)]={}),_0x33e850[_0x1d6c78(0x1d4)]&&(this[_0x1d6c78(0x349)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x1d6c78(0x1fd)]=_0x33e850,this[_0x1d6c78(0x290)]=_0x115d9c;}['address'](){const _0x56dbf0=_0x1cd5;if(this[_0x56dbf0(0x1fd)][_0x56dbf0(0x254)])throw new Error(_0x56dbf0(0x1e0));return this['_server']?this[_0x56dbf0(0x1c3)][_0x56dbf0(0x312)]():null;}['close'](_0x58613a){const _0x429cd3=_0x1cd5;if(this['_state']===_0x52e780){_0x58613a&&this['once'](_0x429cd3(0x2e4),()=>{const _0x3bd24c=_0x429cd3;_0x58613a(new Error(_0x3bd24c(0x2ed)));}),process['nextTick'](_0x49ec8f,this);return;}if(_0x58613a&&this['once'](_0x429cd3(0x2e4),_0x58613a),this['_state']!==_0x2415bd){if(this[_0x429cd3(0x290)]=_0x2415bd,this['options'][_0x429cd3(0x254)]||this[_0x429cd3(0x1fd)][_0x429cd3(0x1f9)])this['_server']&&(this[_0x429cd3(0x2c8)](),this[_0x429cd3(0x2c8)]=this[_0x429cd3(0x1c3)]=null),this[_0x429cd3(0x349)]?this['clients']['size']?this[_0x429cd3(0x35a)]=!0x0:process[_0x429cd3(0x1c8)](_0x49ec8f,this):process[_0x429cd3(0x1c8)](_0x49ec8f,this);else{const _0x3f3e63=this['_server'];this[_0x429cd3(0x2c8)](),this['_removeListeners']=this[_0x429cd3(0x1c3)]=null,_0x3f3e63[_0x429cd3(0x2e4)](()=>{_0x49ec8f(this);});}}}[_0x22ea2b(0x330)](_0x512835){const _0xbddd19=_0x22ea2b;if(this['options'][_0xbddd19(0x301)]){const _0x272f83=_0x512835[_0xbddd19(0x2f9)][_0xbddd19(0x24d)]('?');if((_0x272f83!==-0x1?_0x512835[_0xbddd19(0x2f9)][_0xbddd19(0x2e0)](0x0,_0x272f83):_0x512835[_0xbddd19(0x2f9)])!==this['options'][_0xbddd19(0x301)])return!0x1;}return!0x0;}[_0x22ea2b(0x1c0)](_0x478843,_0x645d70,_0x3686b0,_0x1ebab0){const _0x249ffd=_0x22ea2b;_0x645d70['on']('error',_0x1cc5f2);const _0xcc6232=_0x478843[_0x249ffd(0x2cc)][_0x249ffd(0x253)],_0x75c683=_0x478843[_0x249ffd(0x2cc)][_0x249ffd(0x282)],_0x1d3357=+_0x478843[_0x249ffd(0x2cc)][_0x249ffd(0x237)];if(_0x478843[_0x249ffd(0x308)]!=='GET'){_0x4d4f75(this,_0x478843,_0x645d70,0x195,_0x249ffd(0x352));return;}if(_0x75c683===void 0x0||_0x75c683[_0x249ffd(0x224)]()!=='websocket'){_0x4d4f75(this,_0x478843,_0x645d70,0x190,_0x249ffd(0x26f));return;}if(_0xcc6232===void 0x0||!_0x569285[_0x249ffd(0x205)](_0xcc6232)){_0x4d4f75(this,_0x478843,_0x645d70,0x190,_0x249ffd(0x246));return;}if(_0x1d3357!==0x8&&_0x1d3357!==0xd){_0x4d4f75(this,_0x478843,_0x645d70,0x190,_0x249ffd(0x33d));return;}if(!this[_0x249ffd(0x330)](_0x478843)){_0x385e71(_0x645d70,0x190);return;}const _0x425ce3=_0x478843['headers'][_0x249ffd(0x1be)];let _0x4ccd53=new Set();if(_0x425ce3!==void 0x0)try{_0x4ccd53=_0x94e6bf[_0x249ffd(0x322)](_0x425ce3);}catch{_0x4d4f75(this,_0x478843,_0x645d70,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x4e5a93=_0x478843[_0x249ffd(0x2cc)]['sec-websocket-extensions'],_0x1f470c={};if(this[_0x249ffd(0x1fd)][_0x249ffd(0x2ea)]&&_0x4e5a93!==void 0x0){const _0xdf8369=new _0x3ec243(this[_0x249ffd(0x1fd)][_0x249ffd(0x2ea)],!0x0,this[_0x249ffd(0x1fd)][_0x249ffd(0x2e8)]);try{const _0x1ebf9e=_0x2924ae['parse'](_0x4e5a93);_0x1ebf9e[_0x3ec243[_0x249ffd(0x2e6)]]&&(_0xdf8369[_0x249ffd(0x295)](_0x1ebf9e[_0x3ec243['extensionName']]),_0x1f470c[_0x3ec243['extensionName']]=_0xdf8369);}catch{_0x4d4f75(this,_0x478843,_0x645d70,0x190,_0x249ffd(0x1eb));return;}}if(this[_0x249ffd(0x1fd)][_0x249ffd(0x1f7)]){const _0x1bcbc1={'origin':_0x478843[_0x249ffd(0x2cc)][''+(_0x1d3357===0x8?_0x249ffd(0x26c):'origin')],'secure':!!(_0x478843[_0x249ffd(0x235)][_0x249ffd(0x2d5)]||_0x478843[_0x249ffd(0x235)][_0x249ffd(0x257)]),'req':_0x478843};if(this[_0x249ffd(0x1fd)][_0x249ffd(0x1f7)][_0x249ffd(0x1d1)]===0x2){this[_0x249ffd(0x1fd)][_0x249ffd(0x1f7)](_0x1bcbc1,(_0x2f566e,_0x15ebb3,_0xd12ca8,_0x5d0b0c)=>{const _0x89844e=_0x249ffd;if(!_0x2f566e)return _0x385e71(_0x645d70,_0x15ebb3||0x191,_0xd12ca8,_0x5d0b0c);this[_0x89844e(0x26e)](_0x1f470c,_0xcc6232,_0x4ccd53,_0x478843,_0x645d70,_0x3686b0,_0x1ebab0);});return;}if(!this[_0x249ffd(0x1fd)][_0x249ffd(0x1f7)](_0x1bcbc1))return _0x385e71(_0x645d70,0x191);}this['completeUpgrade'](_0x1f470c,_0xcc6232,_0x4ccd53,_0x478843,_0x645d70,_0x3686b0,_0x1ebab0);}[_0x22ea2b(0x26e)](_0x207177,_0x5be9f7,_0x46bd6f,_0x53400a,_0x197fd6,_0x24d356,_0x4106f4){const _0x590c37=_0x22ea2b;if(!_0x197fd6[_0x590c37(0x345)]||!_0x197fd6[_0x590c37(0x31b)])return _0x197fd6['destroy']();if(_0x197fd6[_0x4b6dd4])throw new Error(_0x590c37(0x249));if(this[_0x590c37(0x290)]>_0x115d9c)return _0x385e71(_0x197fd6,0x1f7);const _0x18fba9=[_0x590c37(0x1c4),'Upgrade:\x20websocket',_0x590c37(0x241),_0x590c37(0x21c)+_0x2e4dc5(_0x590c37(0x242))[_0x590c37(0x250)](_0x5be9f7+_0x2b7062)[_0x590c37(0x303)](_0x590c37(0x274))],_0xf17c2b=new this['options'][(_0x590c37(0x289))](null,void 0x0,this[_0x590c37(0x1fd)]);if(_0x46bd6f['size']){const _0x44d7f5=this[_0x590c37(0x1fd)][_0x590c37(0x1d9)]?this['options'][_0x590c37(0x1d9)](_0x46bd6f,_0x53400a):_0x46bd6f[_0x590c37(0x216)]()[_0x590c37(0x26b)]()[_0x590c37(0x1b3)];_0x44d7f5&&(_0x18fba9[_0x590c37(0x2fc)](_0x590c37(0x1e9)+_0x44d7f5),_0xf17c2b[_0x590c37(0x2b9)]=_0x44d7f5);}if(_0x207177[_0x3ec243[_0x590c37(0x2e6)]]){const _0x9f3f03=_0x207177[_0x3ec243[_0x590c37(0x2e6)]][_0x590c37(0x276)],_0xdd47bb=_0x2924ae[_0x590c37(0x1f2)]({[_0x3ec243['extensionName']]:[_0x9f3f03]});_0x18fba9[_0x590c37(0x2fc)](_0x590c37(0x2ce)+_0xdd47bb),_0xf17c2b[_0x590c37(0x231)]=_0x207177;}this[_0x590c37(0x35f)](_0x590c37(0x2cc),_0x18fba9,_0x53400a),_0x197fd6['write'](_0x18fba9[_0x590c37(0x206)]('\x0d\x0a')['join']('\x0d\x0a')),_0x197fd6[_0x590c37(0x325)]('error',_0x1cc5f2),_0xf17c2b[_0x590c37(0x2b2)](_0x197fd6,_0x24d356,{'allowSynchronousEvents':this['options'][_0x590c37(0x305)],'maxPayload':this[_0x590c37(0x1fd)]['maxPayload'],'skipUTF8Validation':this[_0x590c37(0x1fd)][_0x590c37(0x21e)]}),this[_0x590c37(0x349)]&&(this[_0x590c37(0x349)][_0x590c37(0x1af)](_0xf17c2b),_0xf17c2b['on'](_0x590c37(0x2e4),()=>{const _0x267141=_0x590c37;this[_0x267141(0x349)][_0x267141(0x20e)](_0xf17c2b),this[_0x267141(0x35a)]&&!this['clients'][_0x267141(0x35d)]&&process['nextTick'](_0x49ec8f,this);})),_0x4106f4(_0xf17c2b,_0x53400a);}}Te=_0x341a94;function _0x40aaf9(_0x2f3ac5,_0x310d49){const _0x337ecb=_0x22ea2b;for(const _0x318095 of Object[_0x337ecb(0x21f)](_0x310d49))_0x2f3ac5['on'](_0x318095,_0x310d49[_0x318095]);return function(){const _0x1e2153=_0x337ecb;for(const _0x41c445 of Object[_0x1e2153(0x21f)](_0x310d49))_0x2f3ac5[_0x1e2153(0x325)](_0x41c445,_0x310d49[_0x41c445]);};}function _0x49ec8f(_0x87dc32){const _0x233525=_0x22ea2b;_0x87dc32[_0x233525(0x290)]=_0x52e780,_0x87dc32['emit']('close');}function _0x1cc5f2(){const _0x116810=_0x22ea2b;this[_0x116810(0x29a)]();}function _0x385e71(_0x405dcb,_0x5e6833,_0xc5be38,_0x9b2246){const _0x887239=_0x22ea2b;_0xc5be38=_0xc5be38||_0x440a68['STATUS_CODES'][_0x5e6833],_0x9b2246={'Connection':_0x887239(0x2e4),'Content-Type':_0x887239(0x2b5),'Content-Length':Buffer[_0x887239(0x2b7)](_0xc5be38),..._0x9b2246},_0x405dcb['once'](_0x887239(0x1bb),_0x405dcb[_0x887239(0x29a)]),_0x405dcb[_0x887239(0x2b0)]('HTTP/1.1\x20'+_0x5e6833+'\x20'+_0x440a68[_0x887239(0x32a)][_0x5e6833]+'\x0d\x0a'+Object[_0x887239(0x21f)](_0x9b2246)[_0x887239(0x1fa)](_0x59d8c3=>_0x59d8c3+':\x20'+_0x9b2246[_0x59d8c3])[_0x887239(0x29c)]('\x0d\x0a')+_0x887239(0x2d9)+_0xc5be38);}function _0x4d4f75(_0x277e34,_0x142aaf,_0x332799,_0x5a00a7,_0x2f6e88){const _0x2a0d74=_0x22ea2b;if(_0x277e34[_0x2a0d74(0x2fe)](_0x2a0d74(0x2f5))){const _0x1c4bdb=new Error(_0x2f6e88);Error[_0x2a0d74(0x201)](_0x1c4bdb,_0x4d4f75),_0x277e34[_0x2a0d74(0x35f)]('wsClientError',_0x1c4bdb,_0x332799,_0x142aaf);}else _0x385e71(_0x332799,_0x5a00a7,_0x2f6e88);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0xa3b5aa,_0x24c6aa,_0x1385b3,_0x541c1e)=>{const _0x4e0b8f=_0x4a72d3;for(var _0x413fee=_0x541c1e>0x1?void 0x0:_0x541c1e?tr(_0x24c6aa,_0x1385b3):_0x24c6aa,_0x5496ec=_0xa3b5aa[_0x4e0b8f(0x1d1)]-0x1,_0x5a0068;_0x5496ec>=0x0;_0x5496ec--)(_0x5a0068=_0xa3b5aa[_0x5496ec])&&(_0x413fee=_0x5a0068(_0x413fee)||_0x413fee);return _0x413fee;},sr=(_0x4e4e83,_0x16c4fa)=>(_0x2108bb,_0x4af53b)=>_0x16c4fa(_0x2108bb,_0x4af53b,_0x4e4e83);let Ne=class extends _0x3757a1{constructor(_0x3886d1){const _0x2339a0=_0x4a72d3;super(),this[_0x2339a0(0x23e)]=_0x3886d1;}['createSocket'](_0x440c98){const _0x5a0145=_0x4a72d3;var _0x329722;const _0x2bd69d=(_0x329722=this[_0x5a0145(0x23e)][_0x5a0145(0x306)](Be))==null?void 0x0:_0x329722[_0x5a0145(0x299)];try{const _0x2479db=new Qt(_0x440c98,{'headers':{..._0x2bd69d}}),_0x200b6e=new _0x5d62f1();return{'URL':_0x440c98,'close':(_0x5cbc59,_0x1bcbb8)=>{const _0x304d23=_0x5a0145;_0x2479db[_0x304d23(0x2e4)](_0x5cbc59,_0x1bcbb8),_0x200b6e[_0x304d23(0x1cd)]();},'send':_0x2a2397=>{const _0x595c3c=_0x5a0145;_0x2479db[_0x595c3c(0x1ad)](_0x2a2397);},'open$':new _0x573e22(_0x3c12ae=>{const _0x509644=_0x5a0145,_0x15e00e=_0x58f5ba=>_0x3c12ae['next'](_0x58f5ba);_0x2479db['addEventListener']('open',_0x15e00e),_0x200b6e[_0x509644(0x1af)](_0x12ac78(()=>_0x2479db[_0x509644(0x2ac)]('open',_0x15e00e)));})[_0x5a0145(0x33f)](_0x3d5178()),'close$':new _0x573e22(_0x27ebd1=>{const _0x71c54b=_0x5a0145,_0x267ab4=_0x4e0e04=>_0x27ebd1[_0x71c54b(0x26b)](_0x4e0e04);_0x2479db[_0x71c54b(0x1d8)](_0x71c54b(0x2e4),_0x267ab4),_0x200b6e[_0x71c54b(0x1af)](_0x12ac78(()=>_0x2479db['removeEventListener'](_0x71c54b(0x2e4),_0x267ab4)));})[_0x5a0145(0x33f)](_0x3d5178()),'error$':new _0x573e22(_0x25cd5f=>{const _0x3166e6=_0x5a0145,_0x54030b=_0x3322a5=>_0x25cd5f[_0x3166e6(0x26b)](_0x3322a5);_0x2479db[_0x3166e6(0x1d8)]('error',_0x54030b),_0x200b6e[_0x3166e6(0x1af)](_0x12ac78(()=>_0x2479db['removeEventListener']('error',_0x54030b)));})[_0x5a0145(0x33f)](_0x3d5178()),'message$':new _0x573e22(_0x12acc1=>{const _0x167bd0=_0x5a0145,_0x29d35d=_0x298e0a=>_0x12acc1[_0x167bd0(0x26b)](_0x298e0a);_0x2479db[_0x167bd0(0x1d8)](_0x167bd0(0x33a),_0x29d35d),_0x200b6e[_0x167bd0(0x1af)](_0x12ac78(()=>_0x2479db['removeEventListener'](_0x167bd0(0x33a),_0x29d35d)));})[_0x5a0145(0x33f)](_0x3d5178())};}catch(_0x5a34b6){return console['error'](_0x5a34b6),null;}}};Ne=rr([sr(0x0,_0xf3e60e)],Ne);var ir=Object['defineProperty'],nr=Object[_0x4a72d3(0x2db)],or=(_0x31235d,_0x3037dd,_0x3913fc)=>_0x3037dd in _0x31235d?ir(_0x31235d,_0x3037dd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3913fc}):_0x31235d[_0x3037dd]=_0x3913fc,ar=(_0x2a2cd3,_0x5acddd,_0x351e70,_0x1028e2)=>{const _0x962df0=_0x4a72d3;for(var _0x459608=_0x1028e2>0x1?void 0x0:_0x1028e2?nr(_0x5acddd,_0x351e70):_0x5acddd,_0x43c5b9=_0x2a2cd3[_0x962df0(0x1d1)]-0x1,_0x567477;_0x43c5b9>=0x0;_0x43c5b9--)(_0x567477=_0x2a2cd3[_0x43c5b9])&&(_0x459608=_0x567477(_0x459608)||_0x459608);return _0x459608;},ke=(_0x30fbff,_0x36a8d0)=>(_0x4b159e,_0x10b910)=>_0x36a8d0(_0x4b159e,_0x10b910,_0x30fbff),lr=(_0x503773,_0x5e9311,_0x124f5b)=>or(_0x503773,_0x5e9311+'',_0x124f5b);let Pe=class extends _0x40a003{constructor(_0x559b3f=Ft,_0x58dbbf,_0x3bcf76,_0x3f3f45){const _0x524a15=_0x4a72d3;_0x559b3f[_0x524a15(0x299)]||_0x58dbbf['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x524a15(0x23e)]=_0x3bcf76,this[_0x524a15(0x26d)]=_0x3f3f45,this[_0x524a15(0x23e)][_0x524a15(0x217)](Be,_0x559b3f);}[_0x4a72d3(0x225)](){this['_registerDependencies']();}[_0x4a72d3(0x343)](){_0x546d2d(this['_injector'],[[_0x277483,{'useClass':Ne}]]);}};lr(Pe,_0x4a72d3(0x287),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x278fef(_0x215457),ke(0x1,_0xdf62bf),ke(0x2,_0xf3e60e),ke(0x3,_0x47d38c(_0x56c16b))],Pe);var fr=Object[_0x4a72d3(0x2db)],cr=(_0x1b89af,_0x3afbcb,_0x566045,_0x1d6e64)=>{const _0x958304=_0x4a72d3;for(var _0x2464e0=_0x1d6e64>0x1?void 0x0:_0x1d6e64?fr(_0x3afbcb,_0x566045):_0x3afbcb,_0x38394b=_0x1b89af[_0x958304(0x1d1)]-0x1,_0x5ecf31;_0x38394b>=0x0;_0x38394b--)(_0x5ecf31=_0x1b89af[_0x38394b])&&(_0x2464e0=_0x5ecf31(_0x2464e0)||_0x2464e0);return _0x2464e0;},se=(_0x274046,_0x5cecc9)=>(_0x5301f5,_0xc5698a)=>_0x5cecc9(_0x5301f5,_0xc5698a,_0x274046);let at=class extends _0xb3388d{constructor(_0x355571,_0x14aae8,_0x503737,_0x21cd68,_0x139029){const _0x2e5700=_0x4a72d3;super(_0x355571,_0x14aae8,_0x503737,_0x21cd68,_0x139029);const _0x5702e2=this[_0x2e5700(0x23e)][_0x2e5700(0x306)](Be);this[_0x2e5700(0x1d2)][_0x2e5700(0x1f0)]({'interceptor':(_0x2828ba,_0x183da6)=>{const _0x452ff6=_0x2e5700;var _0x31da66;const _0x224820=_0x2828ba[_0x452ff6(0x2cc)];return(_0x31da66=_0x5702e2==null?void 0x0:_0x5702e2[_0x452ff6(0x299)])!=null&&_0x31da66[_0x452ff6(0x333)]&&_0x224820[_0x452ff6(0x357)](_0x452ff6(0x363),_0x5702e2[_0x452ff6(0x299)][_0x452ff6(0x333)]),_0x183da6(_0x2828ba);}});}async[_0x4a72d3(0x27d)](_0x2adfb5){const _0x1356b1=_0x4a72d3;return this[_0x1356b1(0x22a)](_0x2adfb5);}};at=cr([se(0x0,_0x47d38c(_0x56c16b)),se(0x1,_0x47d38c(_0x2dbf8d)),se(0x2,_0xf3e60e),se(0x3,_0xdf62bf),se(0x4,_0x57f995)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};