@univerjs-pro/collaboration-client-node 0.12.4 → 0.13.0-insiders.20251215-64041bb

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x1f7626=_0x4d5a;(function(_0x490356,_0x49534c){const _0x144e0d=_0x4d5a,_0x5751c7=_0x490356();while(!![]){try{const _0x3cba84=-parseInt(_0x144e0d(0x138))/0x1*(-parseInt(_0x144e0d(0x17b))/0x2)+-parseInt(_0x144e0d(0x137))/0x3*(-parseInt(_0x144e0d(0x145))/0x4)+-parseInt(_0x144e0d(0x238))/0x5+-parseInt(_0x144e0d(0xf0))/0x6*(parseInt(_0x144e0d(0x177))/0x7)+parseInt(_0x144e0d(0x112))/0x8+parseInt(_0x144e0d(0x295))/0x9*(parseInt(_0x144e0d(0x140))/0xa)+-parseInt(_0x144e0d(0x262))/0xb*(-parseInt(_0x144e0d(0x17f))/0xc);if(_0x3cba84===_0x49534c)break;else _0x5751c7['push'](_0x5751c7['shift']());}catch(_0x3886db){_0x5751c7['push'](_0x5751c7['shift']());}}}(_0x1ba9,0x9cf9d));Object[_0x1f7626(0xdb)](exports,Symbol['toStringTag'],{'value':_0x1f7626(0x240)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x1f7626(0xeb),Ct={'customHeaders':{}};function Tt(_0x28bd66){const _0x299b51=_0x1f7626;return _0x28bd66&&_0x28bd66[_0x299b51(0x27d)]&&Object['prototype'][_0x299b51(0x1db)]['call'](_0x28bd66,_0x299b51(0xe2))?_0x28bd66['default']:_0x28bd66;}function at(_0x9b8a32){const _0x1f80a3=_0x1f7626;if(Object['prototype'][_0x1f80a3(0x1db)][_0x1f80a3(0x1c7)](_0x9b8a32,_0x1f80a3(0x27d)))return _0x9b8a32;var _0x250506=_0x9b8a32[_0x1f80a3(0xe2)];if(typeof _0x250506==_0x1f80a3(0x18c)){var _0x467a77=function _0x19d872(){const _0x19a12c=_0x1f80a3;var _0x72359a=!0x1;try{_0x72359a=this instanceof _0x19d872;}catch{}return _0x72359a?Reflect[_0x19a12c(0x1fa)](_0x250506,arguments,this[_0x19a12c(0xd6)]):_0x250506[_0x19a12c(0x1f0)](this,arguments);};_0x467a77[_0x1f80a3(0x188)]=_0x250506[_0x1f80a3(0x188)];}else _0x467a77={};return Object[_0x1f80a3(0xdb)](_0x467a77,_0x1f80a3(0x27d),{'value':!0x0}),Object[_0x1f80a3(0xe1)](_0x9b8a32)[_0x1f80a3(0x203)](function(_0x2b95cb){const _0x82ad1e=_0x1f80a3;var _0x4681ad=Object[_0x82ad1e(0x170)](_0x9b8a32,_0x2b95cb);Object['defineProperty'](_0x467a77,_0x2b95cb,_0x4681ad[_0x82ad1e(0x24e)]?_0x4681ad:{'enumerable':!0x0,'get':function(){return _0x9b8a32[_0x2b95cb];}});}),_0x467a77;}var se={'exports':{}},ge,Ge;function H(){const _0x4110dd=_0x1f7626;if(Ge)return ge;Ge=0x1;const _0x1c5382=[_0x4110dd(0x27f),_0x4110dd(0xd9),_0x4110dd(0x214)],_0x5cad32=typeof Blob<'u';return _0x5cad32&&_0x1c5382[_0x4110dd(0x1ec)]('blob'),ge={'BINARY_TYPES':_0x1c5382,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x5cad32,'kForOnEventAttribute':Symbol(_0x4110dd(0x1f8)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x4110dd(0x184)),'kWebSocket':Symbol(_0x4110dd(0x225)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x1f7626(0x293)](Object[_0x1f7626(0xdb)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x1f7626(0x240)})),Lt=at(kt);var Ve;function ce(){const _0x42e2d9=_0x1f7626;if(Ve)return se[_0x42e2d9(0x10f)];Ve=0x1;const {EMPTY_BUFFER:_0x1d8400}=H(),_0x4100fa=Buffer[Symbol[_0x42e2d9(0x148)]];function _0x2bfd22(_0x4fb866,_0x2da659){const _0x1857c6=_0x42e2d9;if(_0x4fb866[_0x1857c6(0x1a1)]===0x0)return _0x1d8400;if(_0x4fb866['length']===0x1)return _0x4fb866[0x0];const _0x9c97d4=Buffer[_0x1857c6(0x159)](_0x2da659);let _0x383b55=0x0;for(let _0x47c9b9=0x0;_0x47c9b9<_0x4fb866[_0x1857c6(0x1a1)];_0x47c9b9++){const _0x41a68b=_0x4fb866[_0x47c9b9];_0x9c97d4[_0x1857c6(0x218)](_0x41a68b,_0x383b55),_0x383b55+=_0x41a68b['length'];}return _0x383b55<_0x2da659?new _0x4100fa(_0x9c97d4[_0x1857c6(0x26f)],_0x9c97d4[_0x1857c6(0x21d)],_0x383b55):_0x9c97d4;}function _0x1c7930(_0x56263a,_0x21ea84,_0x50d009,_0x55b490,_0xd6ba01){for(let _0x494f91=0x0;_0x494f91<_0xd6ba01;_0x494f91++)_0x50d009[_0x55b490+_0x494f91]=_0x56263a[_0x494f91]^_0x21ea84[_0x494f91&0x3];}function _0x19e59c(_0x1720b7,_0x181ed5){for(let _0x240702=0x0;_0x240702<_0x1720b7['length'];_0x240702++)_0x1720b7[_0x240702]^=_0x181ed5[_0x240702&0x3];}function _0x1136cb(_0x165d62){const _0xff36c2=_0x42e2d9;return _0x165d62[_0xff36c2(0x1a1)]===_0x165d62[_0xff36c2(0x26f)][_0xff36c2(0x1d5)]?_0x165d62[_0xff36c2(0x26f)]:_0x165d62[_0xff36c2(0x26f)][_0xff36c2(0xe8)](_0x165d62[_0xff36c2(0x21d)],_0x165d62[_0xff36c2(0x21d)]+_0x165d62[_0xff36c2(0x1a1)]);}function _0x2cce63(_0x1c7c73){const _0x3ca23a=_0x42e2d9;if(_0x2cce63[_0x3ca23a(0x206)]=!0x0,Buffer[_0x3ca23a(0x185)](_0x1c7c73))return _0x1c7c73;let _0x39aa6f;return _0x1c7c73 instanceof ArrayBuffer?_0x39aa6f=new _0x4100fa(_0x1c7c73):ArrayBuffer['isView'](_0x1c7c73)?_0x39aa6f=new _0x4100fa(_0x1c7c73[_0x3ca23a(0x26f)],_0x1c7c73[_0x3ca23a(0x21d)],_0x1c7c73[_0x3ca23a(0x1d5)]):(_0x39aa6f=Buffer[_0x3ca23a(0x1e4)](_0x1c7c73),_0x2cce63[_0x3ca23a(0x206)]=!0x1),_0x39aa6f;}if(se[_0x42e2d9(0x10f)]={'concat':_0x2bfd22,'mask':_0x1c7930,'toArrayBuffer':_0x1136cb,'toBuffer':_0x2cce63,'unmask':_0x19e59c},!process[_0x42e2d9(0x162)][_0x42e2d9(0x173)])try{const _0x146ae4=Lt;se[_0x42e2d9(0x10f)][_0x42e2d9(0x19d)]=function(_0x40e954,_0x5bd0d1,_0x193881,_0x197b30,_0x22b241){_0x22b241<0x30?_0x1c7930(_0x40e954,_0x5bd0d1,_0x193881,_0x197b30,_0x22b241):_0x146ae4['mask'](_0x40e954,_0x5bd0d1,_0x193881,_0x197b30,_0x22b241);},se['exports'][_0x42e2d9(0xf6)]=function(_0x3c1b24,_0x2508b3){const _0x1df6ae=_0x42e2d9;_0x3c1b24[_0x1df6ae(0x1a1)]<0x20?_0x19e59c(_0x3c1b24,_0x2508b3):_0x146ae4[_0x1df6ae(0xf6)](_0x3c1b24,_0x2508b3);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x200dc3=_0x1f7626;if(He)return ye;He=0x1;const _0x3febb9=Symbol(_0x200dc3(0x279)),_0x310baf=Symbol(_0x200dc3(0x131));class _0x1d825b{constructor(_0x40b1e2){const _0x540f75=_0x200dc3;this[_0x3febb9]=()=>{const _0x75cdb2=_0x4d5a;this[_0x75cdb2(0x11a)]--,this[_0x310baf]();},this[_0x540f75(0xd7)]=_0x40b1e2||0x1/0x0,this[_0x540f75(0xdf)]=[],this[_0x540f75(0x11a)]=0x0;}['add'](_0x267797){const _0x5ab443=_0x200dc3;this[_0x5ab443(0xdf)]['push'](_0x267797),this[_0x310baf]();}[_0x310baf](){const _0x4e0edb=_0x200dc3;if(this[_0x4e0edb(0x11a)]!==this[_0x4e0edb(0xd7)]&&this[_0x4e0edb(0xdf)][_0x4e0edb(0x1a1)]){const _0x48a531=this[_0x4e0edb(0xdf)][_0x4e0edb(0x129)]();this['pending']++,_0x48a531(this[_0x3febb9]);}}}return ye=_0x1d825b,ye;}var ve,ze;function he(){const _0x2874b5=_0x1f7626;if(ze)return ve;ze=0x1;const _0x564f27=bt,_0x3c6225=ce(),_0x3d38e6=Pt(),{kStatusCode:_0x2b02c9}=H(),_0x17e408=Buffer[Symbol[_0x2874b5(0x148)]],_0x4a6bdb=Buffer['from']([0x0,0x0,0xff,0xff]),_0x5597cd=Symbol('permessage-deflate'),_0x24547c=Symbol(_0x2874b5(0x223)),_0x89f502=Symbol(_0x2874b5(0x219)),_0x3655ff=Symbol('buffers'),_0x4c30d4=Symbol('error');let _0x5b92e9;class _0x1e8767{constructor(_0x1080b5,_0x5e0fcb,_0x20fdde){const _0x54547a=_0x2874b5;if(this[_0x54547a(0x190)]=_0x20fdde|0x0,this[_0x54547a(0x217)]=_0x1080b5||{},this[_0x54547a(0x26d)]=this[_0x54547a(0x217)]['threshold']!==void 0x0?this[_0x54547a(0x217)][_0x54547a(0x268)]:0x400,this[_0x54547a(0x126)]=!!_0x5e0fcb,this['_deflate']=null,this['_inflate']=null,this[_0x54547a(0x191)]=null,!_0x5b92e9){const _0x573e95=this[_0x54547a(0x217)][_0x54547a(0x1ca)]!==void 0x0?this[_0x54547a(0x217)][_0x54547a(0x1ca)]:0xa;_0x5b92e9=new _0x3d38e6(_0x573e95);}}static get[_0x2874b5(0x147)](){const _0x20f307=_0x2874b5;return _0x20f307(0xe6);}['offer'](){const _0x19968a=_0x2874b5,_0x486701={};return this[_0x19968a(0x217)]['serverNoContextTakeover']&&(_0x486701[_0x19968a(0x1b3)]=!0x0),this[_0x19968a(0x217)][_0x19968a(0x1a3)]&&(_0x486701[_0x19968a(0x198)]=!0x0),this['_options'][_0x19968a(0x154)]&&(_0x486701[_0x19968a(0x2a0)]=this['_options'][_0x19968a(0x154)]),this[_0x19968a(0x217)]['clientMaxWindowBits']?_0x486701['client_max_window_bits']=this[_0x19968a(0x217)][_0x19968a(0x21c)]:this[_0x19968a(0x217)][_0x19968a(0x21c)]==null&&(_0x486701[_0x19968a(0x232)]=!0x0),_0x486701;}[_0x2874b5(0x23b)](_0xea9f3b){const _0x25d049=_0x2874b5;return _0xea9f3b=this[_0x25d049(0x25b)](_0xea9f3b),this[_0x25d049(0x191)]=this[_0x25d049(0x126)]?this[_0x25d049(0x1e3)](_0xea9f3b):this['acceptAsClient'](_0xea9f3b),this[_0x25d049(0x191)];}[_0x2874b5(0x211)](){const _0x483959=_0x2874b5;if(this[_0x483959(0x1b8)]&&(this['_inflate'][_0x483959(0x23e)](),this[_0x483959(0x1b8)]=null),this['_deflate']){const _0x63fb7f=this[_0x483959(0x298)][_0x89f502];this[_0x483959(0x298)][_0x483959(0x23e)](),this['_deflate']=null,_0x63fb7f&&_0x63fb7f(new Error(_0x483959(0x266)));}}[_0x2874b5(0x1e3)](_0x53fa06){const _0x17b4cd=_0x2874b5,_0x5a6712=this[_0x17b4cd(0x217)],_0x702246=_0x53fa06[_0x17b4cd(0x252)](_0x4e92d0=>!(_0x5a6712[_0x17b4cd(0x20a)]===!0x1&&_0x4e92d0[_0x17b4cd(0x1b3)]||_0x4e92d0['server_max_window_bits']&&(_0x5a6712['serverMaxWindowBits']===!0x1||typeof _0x5a6712[_0x17b4cd(0x154)]==_0x17b4cd(0x134)&&_0x5a6712['serverMaxWindowBits']>_0x4e92d0[_0x17b4cd(0x2a0)])||typeof _0x5a6712[_0x17b4cd(0x21c)]==_0x17b4cd(0x134)&&!_0x4e92d0[_0x17b4cd(0x232)]));if(!_0x702246)throw new Error(_0x17b4cd(0x19f));return _0x5a6712[_0x17b4cd(0x20a)]&&(_0x702246[_0x17b4cd(0x1b3)]=!0x0),_0x5a6712[_0x17b4cd(0x1a3)]&&(_0x702246[_0x17b4cd(0x198)]=!0x0),typeof _0x5a6712['serverMaxWindowBits']==_0x17b4cd(0x134)&&(_0x702246[_0x17b4cd(0x2a0)]=_0x5a6712['serverMaxWindowBits']),typeof _0x5a6712[_0x17b4cd(0x21c)]==_0x17b4cd(0x134)?_0x702246[_0x17b4cd(0x232)]=_0x5a6712['clientMaxWindowBits']:(_0x702246[_0x17b4cd(0x232)]===!0x0||_0x5a6712['clientMaxWindowBits']===!0x1)&&delete _0x702246[_0x17b4cd(0x232)],_0x702246;}['acceptAsClient'](_0x10ce59){const _0x1e4fdb=_0x2874b5,_0x373d93=_0x10ce59[0x0];if(this[_0x1e4fdb(0x217)][_0x1e4fdb(0x1a3)]===!0x1&&_0x373d93['client_no_context_takeover'])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x373d93[_0x1e4fdb(0x232)])typeof this[_0x1e4fdb(0x217)][_0x1e4fdb(0x21c)]==_0x1e4fdb(0x134)&&(_0x373d93[_0x1e4fdb(0x232)]=this[_0x1e4fdb(0x217)][_0x1e4fdb(0x21c)]);else{if(this['_options'][_0x1e4fdb(0x21c)]===!0x1||typeof this[_0x1e4fdb(0x217)][_0x1e4fdb(0x21c)]=='number'&&_0x373d93['client_max_window_bits']>this[_0x1e4fdb(0x217)][_0x1e4fdb(0x21c)])throw new Error(_0x1e4fdb(0x260));}return _0x373d93;}['normalizeParams'](_0x1ad2d5){const _0x3b3071=_0x2874b5;return _0x1ad2d5[_0x3b3071(0x203)](_0x26c98a=>{const _0x329b9f=_0x3b3071;Object[_0x329b9f(0xe1)](_0x26c98a)[_0x329b9f(0x203)](_0x35f16c=>{const _0x5f5b8c=_0x329b9f;let _0x1ed07b=_0x26c98a[_0x35f16c];if(_0x1ed07b[_0x5f5b8c(0x1a1)]>0x1)throw new Error(_0x5f5b8c(0x1b6)+_0x35f16c+_0x5f5b8c(0x1cf));if(_0x1ed07b=_0x1ed07b[0x0],_0x35f16c===_0x5f5b8c(0x232)){if(_0x1ed07b!==!0x0){const _0x36b18f=+_0x1ed07b;if(!Number['isInteger'](_0x36b18f)||_0x36b18f<0x8||_0x36b18f>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x35f16c+_0x5f5b8c(0x181)+_0x1ed07b);_0x1ed07b=_0x36b18f;}else{if(!this['_isServer'])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x35f16c+_0x5f5b8c(0x181)+_0x1ed07b);}}else{if(_0x35f16c===_0x5f5b8c(0x2a0)){const _0x551626=+_0x1ed07b;if(!Number[_0x5f5b8c(0x172)](_0x551626)||_0x551626<0x8||_0x551626>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x35f16c+'\x22:\x20'+_0x1ed07b);_0x1ed07b=_0x551626;}else{if(_0x35f16c==='client_no_context_takeover'||_0x35f16c===_0x5f5b8c(0x1b3)){if(_0x1ed07b!==!0x0)throw new TypeError(_0x5f5b8c(0x132)+_0x35f16c+_0x5f5b8c(0x181)+_0x1ed07b);}else throw new Error(_0x5f5b8c(0x179)+_0x35f16c+'\x22');}}_0x26c98a[_0x35f16c]=_0x1ed07b;});}),_0x1ad2d5;}[_0x2874b5(0x182)](_0x4ae0fe,_0x4aeeb6,_0x1a3e6b){const _0x3b8d30=_0x2874b5;_0x5b92e9[_0x3b8d30(0x106)](_0x44c820=>{const _0x191b6c=_0x3b8d30;this[_0x191b6c(0x27e)](_0x4ae0fe,_0x4aeeb6,(_0x1cd915,_0x4ee037)=>{_0x44c820(),_0x1a3e6b(_0x1cd915,_0x4ee037);});});}[_0x2874b5(0x283)](_0x1c7ee5,_0x2def15,_0x3d38fb){_0x5b92e9['add'](_0x5a25b4=>{const _0x3f035e=_0x4d5a;this[_0x3f035e(0x13b)](_0x1c7ee5,_0x2def15,(_0x5c1810,_0x40876d)=>{_0x5a25b4(),_0x3d38fb(_0x5c1810,_0x40876d);});});}[_0x2874b5(0x27e)](_0x438749,_0x2f6c86,_0x1aab6a){const _0x4def66=_0x2874b5,_0x585ead=this[_0x4def66(0x126)]?_0x4def66(0x28b):'server';if(!this[_0x4def66(0x1b8)]){const _0x46ae67=_0x585ead+_0x4def66(0x290),_0x49b85c=typeof this['params'][_0x46ae67]!=_0x4def66(0x134)?_0x564f27['Z_DEFAULT_WINDOWBITS']:this[_0x4def66(0x191)][_0x46ae67];this[_0x4def66(0x1b8)]=_0x564f27[_0x4def66(0x163)]({...this[_0x4def66(0x217)]['zlibInflateOptions'],'windowBits':_0x49b85c}),this[_0x4def66(0x1b8)][_0x5597cd]=this,this[_0x4def66(0x1b8)][_0x24547c]=0x0,this['_inflate'][_0x3655ff]=[],this[_0x4def66(0x1b8)]['on'](_0x4def66(0x12f),_0x5c39dd),this[_0x4def66(0x1b8)]['on'](_0x4def66(0x204),_0x401556);}this[_0x4def66(0x1b8)][_0x89f502]=_0x1aab6a,this[_0x4def66(0x1b8)]['write'](_0x438749),_0x2f6c86&&this[_0x4def66(0x1b8)][_0x4def66(0x233)](_0x4a6bdb),this[_0x4def66(0x1b8)][_0x4def66(0x20f)](()=>{const _0x2f0d8a=_0x4def66,_0x5f4859=this[_0x2f0d8a(0x1b8)][_0x4c30d4];if(_0x5f4859){this[_0x2f0d8a(0x1b8)]['close'](),this[_0x2f0d8a(0x1b8)]=null,_0x1aab6a(_0x5f4859);return;}const _0x210cea=_0x3c6225[_0x2f0d8a(0x23a)](this[_0x2f0d8a(0x1b8)][_0x3655ff],this[_0x2f0d8a(0x1b8)][_0x24547c]);this[_0x2f0d8a(0x1b8)][_0x2f0d8a(0x17a)]['endEmitted']?(this['_inflate'][_0x2f0d8a(0x23e)](),this[_0x2f0d8a(0x1b8)]=null):(this['_inflate'][_0x24547c]=0x0,this[_0x2f0d8a(0x1b8)][_0x3655ff]=[],_0x2f6c86&&this['params'][_0x585ead+_0x2f0d8a(0x1f2)]&&this['_inflate'][_0x2f0d8a(0x269)]()),_0x1aab6a(null,_0x210cea);});}[_0x2874b5(0x13b)](_0x22a29c,_0x3c78df,_0x244af2){const _0x1b77ff=_0x2874b5,_0x41b611=this[_0x1b77ff(0x126)]?_0x1b77ff(0x253):_0x1b77ff(0x28b);if(!this[_0x1b77ff(0x298)]){const _0x21a266=_0x41b611+'_max_window_bits',_0x28b4d3=typeof this[_0x1b77ff(0x191)][_0x21a266]!='number'?_0x564f27[_0x1b77ff(0x284)]:this[_0x1b77ff(0x191)][_0x21a266];this[_0x1b77ff(0x298)]=_0x564f27[_0x1b77ff(0x1a4)]({...this[_0x1b77ff(0x217)][_0x1b77ff(0x17e)],'windowBits':_0x28b4d3}),this[_0x1b77ff(0x298)][_0x24547c]=0x0,this[_0x1b77ff(0x298)][_0x3655ff]=[],this[_0x1b77ff(0x298)]['on'](_0x1b77ff(0x204),_0x1110e8);}this['_deflate'][_0x89f502]=_0x244af2,this[_0x1b77ff(0x298)][_0x1b77ff(0x233)](_0x22a29c),this[_0x1b77ff(0x298)][_0x1b77ff(0x20f)](_0x564f27[_0x1b77ff(0x12b)],()=>{const _0x19cceb=_0x1b77ff;if(!this[_0x19cceb(0x298)])return;let _0x4f69de=_0x3c6225[_0x19cceb(0x23a)](this['_deflate'][_0x3655ff],this[_0x19cceb(0x298)][_0x24547c]);_0x3c78df&&(_0x4f69de=new _0x17e408(_0x4f69de['buffer'],_0x4f69de[_0x19cceb(0x21d)],_0x4f69de[_0x19cceb(0x1a1)]-0x4)),this['_deflate'][_0x89f502]=null,this['_deflate'][_0x24547c]=0x0,this['_deflate'][_0x3655ff]=[],_0x3c78df&&this[_0x19cceb(0x191)][_0x41b611+_0x19cceb(0x1f2)]&&this[_0x19cceb(0x298)][_0x19cceb(0x269)](),_0x244af2(null,_0x4f69de);});}}ve=_0x1e8767;function _0x1110e8(_0x3f2f63){const _0x4ea075=_0x2874b5;this[_0x3655ff]['push'](_0x3f2f63),this[_0x24547c]+=_0x3f2f63[_0x4ea075(0x1a1)];}function _0x401556(_0x3f9cfb){const _0x380cce=_0x2874b5;if(this[_0x24547c]+=_0x3f9cfb['length'],this[_0x5597cd][_0x380cce(0x190)]<0x1||this[_0x24547c]<=this[_0x5597cd]['_maxPayload']){this[_0x3655ff][_0x380cce(0x1ec)](_0x3f9cfb);return;}this[_0x4c30d4]=new RangeError(_0x380cce(0x15f)),this[_0x4c30d4]['code']='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x4c30d4][_0x2b02c9]=0x3f1,this[_0x380cce(0xe3)](_0x380cce(0x204),_0x401556),this[_0x380cce(0x269)]();}function _0x5c39dd(_0x4a8814){if(this[_0x5597cd]['_inflate']=null,this[_0x4c30d4]){this[_0x89f502](this[_0x4c30d4]);return;}_0x4a8814[_0x2b02c9]=0x3ef,this[_0x89f502](_0x4a8814);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x1f7626(0x293)](Object[_0x1f7626(0xdb)]({'__proto__':null,'default':Dt},Symbol[_0x1f7626(0x235)],{'value':_0x1f7626(0x240)})),Bt=at(Rt);var Ye;function ae(){const _0x45f9d4=_0x1f7626;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x666df8}=wt,{hasBlob:_0x3e7566}=H(),_0x1aefb5=[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 _0xa0c23c(_0x16ae26){return _0x16ae26>=0x3e8&&_0x16ae26<=0x3f6&&_0x16ae26!==0x3ec&&_0x16ae26!==0x3ed&&_0x16ae26!==0x3ee||_0x16ae26>=0xbb8&&_0x16ae26<=0x1387;}function _0x5124a5(_0x55cf69){const _0x25b4ce=_0x4d5a,_0x154757=_0x55cf69[_0x25b4ce(0x1a1)];let _0x5e9539=0x0;for(;_0x5e9539<_0x154757;)if((_0x55cf69[_0x5e9539]&0x80)===0x0)_0x5e9539++;else{if((_0x55cf69[_0x5e9539]&0xe0)===0xc0){if(_0x5e9539+0x1===_0x154757||(_0x55cf69[_0x5e9539+0x1]&0xc0)!==0x80||(_0x55cf69[_0x5e9539]&0xfe)===0xc0)return!0x1;_0x5e9539+=0x2;}else{if((_0x55cf69[_0x5e9539]&0xf0)===0xe0){if(_0x5e9539+0x2>=_0x154757||(_0x55cf69[_0x5e9539+0x1]&0xc0)!==0x80||(_0x55cf69[_0x5e9539+0x2]&0xc0)!==0x80||_0x55cf69[_0x5e9539]===0xe0&&(_0x55cf69[_0x5e9539+0x1]&0xe0)===0x80||_0x55cf69[_0x5e9539]===0xed&&(_0x55cf69[_0x5e9539+0x1]&0xe0)===0xa0)return!0x1;_0x5e9539+=0x3;}else{if((_0x55cf69[_0x5e9539]&0xf8)===0xf0){if(_0x5e9539+0x3>=_0x154757||(_0x55cf69[_0x5e9539+0x1]&0xc0)!==0x80||(_0x55cf69[_0x5e9539+0x2]&0xc0)!==0x80||(_0x55cf69[_0x5e9539+0x3]&0xc0)!==0x80||_0x55cf69[_0x5e9539]===0xf0&&(_0x55cf69[_0x5e9539+0x1]&0xf0)===0x80||_0x55cf69[_0x5e9539]===0xf4&&_0x55cf69[_0x5e9539+0x1]>0x8f||_0x55cf69[_0x5e9539]>0xf4)return!0x1;_0x5e9539+=0x4;}else return!0x1;}}}return!0x0;}function _0x1952ce(_0x19b29c){const _0x3b2ce3=_0x4d5a;return _0x3e7566&&typeof _0x19b29c=='object'&&typeof _0x19b29c['arrayBuffer']=='function'&&typeof _0x19b29c[_0x3b2ce3(0x226)]==_0x3b2ce3(0x1e8)&&typeof _0x19b29c[_0x3b2ce3(0x11f)]==_0x3b2ce3(0x18c)&&(_0x19b29c[Symbol[_0x3b2ce3(0x235)]]===_0x3b2ce3(0x121)||_0x19b29c[Symbol[_0x3b2ce3(0x235)]]==='File');}if(ie['exports']={'isBlob':_0x1952ce,'isValidStatusCode':_0xa0c23c,'isValidUTF8':_0x5124a5,'tokenChars':_0x1aefb5},_0x666df8)ie['exports']['isValidUTF8']=function(_0x55e75d){const _0x201c4e=_0x4d5a;return _0x55e75d[_0x201c4e(0x1a1)]<0x18?_0x5124a5(_0x55e75d):_0x666df8(_0x55e75d);};else{if(!process[_0x45f9d4(0x162)][_0x45f9d4(0x213)])try{const _0x2112db=Bt;ie[_0x45f9d4(0x10f)][_0x45f9d4(0x21a)]=function(_0x1baebc){const _0x1c3d35=_0x45f9d4;return _0x1baebc[_0x1c3d35(0x1a1)]<0x20?_0x5124a5(_0x1baebc):_0x2112db(_0x1baebc);};}catch{}}return ie[_0x45f9d4(0x10f)];}var Se,Ke;function lt(){const _0x6629f0=_0x1f7626;if(Ke)return Se;Ke=0x1;const {Writable:_0xf8663d}=oe,_0x55aa4a=he(),{BINARY_TYPES:_0x3ffa2f,EMPTY_BUFFER:_0x1e62a4,kStatusCode:_0x226e3c,kWebSocket:_0x162f86}=H(),{concat:_0x5355f9,toArrayBuffer:_0x45d39e,unmask:_0x59ad23}=ce(),{isValidStatusCode:_0x256ba6,isValidUTF8:_0x3d66d8}=ae(),_0x4b0b27=Buffer[Symbol[_0x6629f0(0x148)]],_0xd60bd3=0x0,_0x25c258=0x1,_0x1e5770=0x2,_0x21c17c=0x3,_0x59456e=0x4,_0x43933d=0x5,_0x4b23cd=0x6;class _0xe24b3f extends _0xf8663d{constructor(_0x26105d={}){const _0x59983c=_0x6629f0;super(),this[_0x59983c(0x101)]=_0x26105d[_0x59983c(0x128)]!==void 0x0?_0x26105d[_0x59983c(0x128)]:!0x0,this[_0x59983c(0x1e7)]=_0x26105d[_0x59983c(0x1d1)]||_0x3ffa2f[0x0],this['_extensions']=_0x26105d[_0x59983c(0x1a7)]||{},this[_0x59983c(0x126)]=!!_0x26105d[_0x59983c(0x11e)],this['_maxPayload']=_0x26105d[_0x59983c(0x1f6)]|0x0,this['_skipUTF8Validation']=!!_0x26105d['skipUTF8Validation'],this[_0x162f86]=void 0x0,this[_0x59983c(0x176)]=0x0,this['_buffers']=[],this[_0x59983c(0x1e1)]=!0x1,this['_payloadLength']=0x0,this[_0x59983c(0x1df)]=void 0x0,this[_0x59983c(0x245)]=0x0,this['_masked']=!0x1,this[_0x59983c(0x27b)]=!0x1,this[_0x59983c(0x1dd)]=0x0,this[_0x59983c(0x110)]=0x0,this[_0x59983c(0xfc)]=0x0,this[_0x59983c(0x152)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this[_0x59983c(0x1c4)]=_0xd60bd3;}[_0x6629f0(0x2a6)](_0x2f7734,_0x257e7e,_0x1d7c59){const _0x2a8817=_0x6629f0;if(this[_0x2a8817(0x1dd)]===0x8&&this[_0x2a8817(0x1c4)]==_0xd60bd3)return _0x1d7c59();this['_bufferedBytes']+=_0x2f7734[_0x2a8817(0x1a1)],this[_0x2a8817(0x195)][_0x2a8817(0x1ec)](_0x2f7734),this[_0x2a8817(0x197)](_0x1d7c59);}['consume'](_0x245846){const _0x14c23f=_0x6629f0;if(this[_0x14c23f(0x176)]-=_0x245846,_0x245846===this[_0x14c23f(0x195)][0x0]['length'])return this[_0x14c23f(0x195)]['shift']();if(_0x245846<this[_0x14c23f(0x195)][0x0]['length']){const _0x129730=this[_0x14c23f(0x195)][0x0];return this['_buffers'][0x0]=new _0x4b0b27(_0x129730[_0x14c23f(0x26f)],_0x129730[_0x14c23f(0x21d)]+_0x245846,_0x129730[_0x14c23f(0x1a1)]-_0x245846),new _0x4b0b27(_0x129730[_0x14c23f(0x26f)],_0x129730[_0x14c23f(0x21d)],_0x245846);}const _0x747f0a=Buffer[_0x14c23f(0x159)](_0x245846);do{const _0x33ef61=this[_0x14c23f(0x195)][0x0],_0x141c1a=_0x747f0a[_0x14c23f(0x1a1)]-_0x245846;_0x245846>=_0x33ef61[_0x14c23f(0x1a1)]?_0x747f0a[_0x14c23f(0x218)](this['_buffers'][_0x14c23f(0x129)](),_0x141c1a):(_0x747f0a[_0x14c23f(0x218)](new Uint8Array(_0x33ef61['buffer'],_0x33ef61['byteOffset'],_0x245846),_0x141c1a),this[_0x14c23f(0x195)][0x0]=new _0x4b0b27(_0x33ef61['buffer'],_0x33ef61['byteOffset']+_0x245846,_0x33ef61[_0x14c23f(0x1a1)]-_0x245846)),_0x245846-=_0x33ef61[_0x14c23f(0x1a1)];}while(_0x245846>0x0);return _0x747f0a;}['startLoop'](_0x2c3653){const _0x816784=_0x6629f0;this[_0x816784(0x22d)]=!0x0;do switch(this[_0x816784(0x1c4)]){case _0xd60bd3:this[_0x816784(0x1e2)](_0x2c3653);break;case _0x25c258:this[_0x816784(0x12e)](_0x2c3653);break;case _0x1e5770:this['getPayloadLength64'](_0x2c3653);break;case _0x21c17c:this['getMask']();break;case _0x59456e:this[_0x816784(0x1d3)](_0x2c3653);break;case _0x43933d:case _0x4b23cd:this[_0x816784(0x22d)]=!0x1;return;}while(this[_0x816784(0x22d)]);this[_0x816784(0x1fb)]||_0x2c3653();}['getInfo'](_0x56a631){const _0x482bc7=_0x6629f0;if(this['_bufferedBytes']<0x2){this[_0x482bc7(0x22d)]=!0x1;return;}const _0x9da5b1=this[_0x482bc7(0x1cc)](0x2);if((_0x9da5b1[0x0]&0x30)!==0x0){const _0x238b18=this[_0x482bc7(0x125)](RangeError,_0x482bc7(0x1a8),!0x0,0x3ea,_0x482bc7(0x273));_0x56a631(_0x238b18);return;}const _0x5121ba=(_0x9da5b1[0x0]&0x40)===0x40;if(_0x5121ba&&!this['_extensions'][_0x55aa4a[_0x482bc7(0x147)]]){const _0x18a21a=this['createError'](RangeError,_0x482bc7(0x274),!0x0,0x3ea,_0x482bc7(0x236));_0x56a631(_0x18a21a);return;}if(this['_fin']=(_0x9da5b1[0x0]&0x80)===0x80,this['_opcode']=_0x9da5b1[0x0]&0xf,this[_0x482bc7(0xf4)]=_0x9da5b1[0x1]&0x7f,this[_0x482bc7(0x1dd)]===0x0){if(_0x5121ba){const _0xa8072=this[_0x482bc7(0x125)](RangeError,_0x482bc7(0x274),!0x0,0x3ea,_0x482bc7(0x236));_0x56a631(_0xa8072);return;}if(!this['_fragmented']){const _0xc2537e=this['createError'](RangeError,_0x482bc7(0x246),!0x0,0x3ea,_0x482bc7(0x2a1));_0x56a631(_0xc2537e);return;}this[_0x482bc7(0x1dd)]=this[_0x482bc7(0x245)];}else{if(this['_opcode']===0x1||this[_0x482bc7(0x1dd)]===0x2){if(this['_fragmented']){const _0x4aadca=this[_0x482bc7(0x125)](RangeError,'invalid\x20opcode\x20'+this[_0x482bc7(0x1dd)],!0x0,0x3ea,_0x482bc7(0x2a1));_0x56a631(_0x4aadca);return;}this[_0x482bc7(0x1e1)]=_0x5121ba;}else{if(this[_0x482bc7(0x1dd)]>0x7&&this[_0x482bc7(0x1dd)]<0xb){if(!this[_0x482bc7(0x27b)]){const _0xcfd3ae=this[_0x482bc7(0x125)](RangeError,_0x482bc7(0x212),!0x0,0x3ea,_0x482bc7(0x1f5));_0x56a631(_0xcfd3ae);return;}if(_0x5121ba){const _0x16593a=this[_0x482bc7(0x125)](RangeError,_0x482bc7(0x274),!0x0,0x3ea,_0x482bc7(0x236));_0x56a631(_0x16593a);return;}if(this[_0x482bc7(0xf4)]>0x7d||this[_0x482bc7(0x1dd)]===0x8&&this[_0x482bc7(0xf4)]===0x1){const _0x43e2cf=this['createError'](RangeError,_0x482bc7(0x149)+this[_0x482bc7(0xf4)],!0x0,0x3ea,_0x482bc7(0x1a0));_0x56a631(_0x43e2cf);return;}}else{const _0x19692e=this['createError'](RangeError,_0x482bc7(0xef)+this[_0x482bc7(0x1dd)],!0x0,0x3ea,_0x482bc7(0x2a1));_0x56a631(_0x19692e);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this['_fragmented']=this['_opcode']),this[_0x482bc7(0x261)]=(_0x9da5b1[0x1]&0x80)===0x80,this[_0x482bc7(0x126)]){if(!this['_masked']){const _0x9cdcc7=this['createError'](RangeError,_0x482bc7(0x277),!0x0,0x3ea,_0x482bc7(0x153));_0x56a631(_0x9cdcc7);return;}}else{if(this['_masked']){const _0x1df7d0=this[_0x482bc7(0x125)](RangeError,_0x482bc7(0x29b),!0x0,0x3ea,_0x482bc7(0xec));_0x56a631(_0x1df7d0);return;}}this[_0x482bc7(0xf4)]===0x7e?this['_state']=_0x25c258:this[_0x482bc7(0xf4)]===0x7f?this[_0x482bc7(0x1c4)]=_0x1e5770:this['haveLength'](_0x56a631);}['getPayloadLength16'](_0x253f21){const _0x2c9e7c=_0x6629f0;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}this[_0x2c9e7c(0xf4)]=this[_0x2c9e7c(0x1cc)](0x2)[_0x2c9e7c(0x265)](0x0),this[_0x2c9e7c(0x251)](_0x253f21);}['getPayloadLength64'](_0x48f3d5){const _0x330a86=_0x6629f0;if(this['_bufferedBytes']<0x8){this[_0x330a86(0x22d)]=!0x1;return;}const _0x52d222=this[_0x330a86(0x1cc)](0x8),_0x316e31=_0x52d222[_0x330a86(0x16f)](0x0);if(_0x316e31>Math[_0x330a86(0x210)](0x2,0x15)-0x1){const _0x4cf777=this[_0x330a86(0x125)](RangeError,_0x330a86(0x10d),!0x1,0x3f1,_0x330a86(0x183));_0x48f3d5(_0x4cf777);return;}this['_payloadLength']=_0x316e31*Math[_0x330a86(0x210)](0x2,0x20)+_0x52d222['readUInt32BE'](0x4),this[_0x330a86(0x251)](_0x48f3d5);}[_0x6629f0(0x251)](_0x5b79a1){const _0x3acc39=_0x6629f0;if(this[_0x3acc39(0xf4)]&&this[_0x3acc39(0x1dd)]<0x8&&(this[_0x3acc39(0x110)]+=this[_0x3acc39(0xf4)],this[_0x3acc39(0x110)]>this['_maxPayload']&&this[_0x3acc39(0x190)]>0x0)){const _0x34703e=this[_0x3acc39(0x125)](RangeError,_0x3acc39(0x15f),!0x1,0x3f1,_0x3acc39(0x1c6));_0x5b79a1(_0x34703e);return;}this['_masked']?this[_0x3acc39(0x1c4)]=_0x21c17c:this[_0x3acc39(0x1c4)]=_0x59456e;}[_0x6629f0(0x193)](){const _0x28532c=_0x6629f0;if(this[_0x28532c(0x176)]<0x4){this['_loop']=!0x1;return;}this[_0x28532c(0x1df)]=this[_0x28532c(0x1cc)](0x4),this[_0x28532c(0x1c4)]=_0x59456e;}[_0x6629f0(0x1d3)](_0x58adb9){const _0x1dd0f5=_0x6629f0;let _0x38833e=_0x1e62a4;if(this[_0x1dd0f5(0xf4)]){if(this[_0x1dd0f5(0x176)]<this[_0x1dd0f5(0xf4)]){this[_0x1dd0f5(0x22d)]=!0x1;return;}_0x38833e=this[_0x1dd0f5(0x1cc)](this[_0x1dd0f5(0xf4)]),this[_0x1dd0f5(0x261)]&&(this[_0x1dd0f5(0x1df)][0x0]|this[_0x1dd0f5(0x1df)][0x1]|this['_mask'][0x2]|this[_0x1dd0f5(0x1df)][0x3])!==0x0&&_0x59ad23(_0x38833e,this['_mask']);}if(this['_opcode']>0x7){this['controlMessage'](_0x38833e,_0x58adb9);return;}if(this[_0x1dd0f5(0x1e1)]){this[_0x1dd0f5(0x1c4)]=_0x43933d,this[_0x1dd0f5(0x182)](_0x38833e,_0x58adb9);return;}_0x38833e['length']&&(this[_0x1dd0f5(0xfc)]=this[_0x1dd0f5(0x110)],this['_fragments'][_0x1dd0f5(0x1ec)](_0x38833e)),this[_0x1dd0f5(0xff)](_0x58adb9);}[_0x6629f0(0x182)](_0x229b49,_0x43276b){const _0x33add9=_0x6629f0;this[_0x33add9(0x288)][_0x55aa4a[_0x33add9(0x147)]][_0x33add9(0x182)](_0x229b49,this['_fin'],(_0x5b5312,_0x291a13)=>{const _0x2b4b66=_0x33add9;if(_0x5b5312)return _0x43276b(_0x5b5312);if(_0x291a13[_0x2b4b66(0x1a1)]){if(this['_messageLength']+=_0x291a13[_0x2b4b66(0x1a1)],this['_messageLength']>this[_0x2b4b66(0x190)]&&this[_0x2b4b66(0x190)]>0x0){const _0xcabdb2=this['createError'](RangeError,_0x2b4b66(0x15f),!0x1,0x3f1,_0x2b4b66(0x1c6));_0x43276b(_0xcabdb2);return;}this[_0x2b4b66(0x152)]['push'](_0x291a13);}this[_0x2b4b66(0xff)](_0x43276b),this[_0x2b4b66(0x1c4)]===_0xd60bd3&&this['startLoop'](_0x43276b);});}[_0x6629f0(0xff)](_0x48498e){const _0x1dda60=_0x6629f0;if(!this['_fin']){this[_0x1dda60(0x1c4)]=_0xd60bd3;return;}const _0x462500=this[_0x1dda60(0xfc)],_0x58b059=this['_fragments'];if(this['_totalPayloadLength']=0x0,this[_0x1dda60(0xfc)]=0x0,this[_0x1dda60(0x245)]=0x0,this[_0x1dda60(0x152)]=[],this[_0x1dda60(0x1dd)]===0x2){let _0x3059f6;this['_binaryType']===_0x1dda60(0x27f)?_0x3059f6=_0x5355f9(_0x58b059,_0x462500):this[_0x1dda60(0x1e7)]===_0x1dda60(0xd9)?_0x3059f6=_0x45d39e(_0x5355f9(_0x58b059,_0x462500)):this[_0x1dda60(0x1e7)]==='blob'?_0x3059f6=new Blob(_0x58b059):_0x3059f6=_0x58b059,this['_allowSynchronousEvents']?(this['emit'](_0x1dda60(0x23c),_0x3059f6,!0x0),this[_0x1dda60(0x1c4)]=_0xd60bd3):(this[_0x1dda60(0x1c4)]=_0x4b23cd,setImmediate(()=>{const _0x4e2f1b=_0x1dda60;this[_0x4e2f1b(0x292)](_0x4e2f1b(0x23c),_0x3059f6,!0x0),this[_0x4e2f1b(0x1c4)]=_0xd60bd3,this[_0x4e2f1b(0x197)](_0x48498e);}));}else{const _0x1ec5c0=_0x5355f9(_0x58b059,_0x462500);if(!this['_skipUTF8Validation']&&!_0x3d66d8(_0x1ec5c0)){const _0x2a8a6a=this[_0x1dda60(0x125)](Error,_0x1dda60(0x14d),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x48498e(_0x2a8a6a);return;}this['_state']===_0x43933d||this['_allowSynchronousEvents']?(this['emit'](_0x1dda60(0x23c),_0x1ec5c0,!0x1),this[_0x1dda60(0x1c4)]=_0xd60bd3):(this[_0x1dda60(0x1c4)]=_0x4b23cd,setImmediate(()=>{const _0x4b2fa6=_0x1dda60;this[_0x4b2fa6(0x292)]('message',_0x1ec5c0,!0x1),this['_state']=_0xd60bd3,this['startLoop'](_0x48498e);}));}}['controlMessage'](_0x51c1a7,_0xfecd7f){const _0x4fbc58=_0x6629f0;if(this[_0x4fbc58(0x1dd)]===0x8){if(_0x51c1a7[_0x4fbc58(0x1a1)]===0x0)this['_loop']=!0x1,this[_0x4fbc58(0x292)](_0x4fbc58(0xdc),0x3ed,_0x1e62a4),this[_0x4fbc58(0x1b0)]();else{const _0x5db302=_0x51c1a7[_0x4fbc58(0x265)](0x0);if(!_0x256ba6(_0x5db302)){const _0x2e7707=this[_0x4fbc58(0x125)](RangeError,_0x4fbc58(0x1b1)+_0x5db302,!0x0,0x3ea,_0x4fbc58(0x29d));_0xfecd7f(_0x2e7707);return;}const _0x2f2679=new _0x4b0b27(_0x51c1a7[_0x4fbc58(0x26f)],_0x51c1a7['byteOffset']+0x2,_0x51c1a7[_0x4fbc58(0x1a1)]-0x2);if(!this[_0x4fbc58(0x1da)]&&!_0x3d66d8(_0x2f2679)){const _0x4228d7=this[_0x4fbc58(0x125)](Error,_0x4fbc58(0x14d),!0x0,0x3ef,_0x4fbc58(0x209));_0xfecd7f(_0x4228d7);return;}this['_loop']=!0x1,this[_0x4fbc58(0x292)](_0x4fbc58(0xdc),_0x5db302,_0x2f2679),this[_0x4fbc58(0x1b0)]();}this[_0x4fbc58(0x1c4)]=_0xd60bd3;return;}this[_0x4fbc58(0x101)]?(this[_0x4fbc58(0x292)](this['_opcode']===0x9?'ping':'pong',_0x51c1a7),this['_state']=_0xd60bd3):(this['_state']=_0x4b23cd,setImmediate(()=>{const _0x3dac19=_0x4fbc58;this[_0x3dac19(0x292)](this[_0x3dac19(0x1dd)]===0x9?_0x3dac19(0xe4):_0x3dac19(0xe0),_0x51c1a7),this[_0x3dac19(0x1c4)]=_0xd60bd3,this[_0x3dac19(0x197)](_0xfecd7f);}));}[_0x6629f0(0x125)](_0x20ba57,_0x442a0d,_0x34193c,_0xf1bee8,_0x346482){const _0x365045=_0x6629f0;this[_0x365045(0x22d)]=!0x1,this[_0x365045(0x1fb)]=!0x0;const _0x50cf88=new _0x20ba57(_0x34193c?'Invalid\x20WebSocket\x20frame:\x20'+_0x442a0d:_0x442a0d);return Error[_0x365045(0x1d7)](_0x50cf88,this[_0x365045(0x125)]),_0x50cf88['code']=_0x346482,_0x50cf88[_0x226e3c]=_0xf1bee8,_0x50cf88;}}return Se=_0xe24b3f,Se;}var Ee,Xe;function ft(){const _0x38182d=_0x1f7626;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x42ad26}=oe,{randomFillSync:_0x3a72e1}=Le,_0x515fce=he(),{EMPTY_BUFFER:_0x2e4d48,kWebSocket:_0x407bb8,NOOP:_0x32ba53}=H(),{isBlob:_0x3907e3,isValidStatusCode:_0x2fdf4e}=ae(),{mask:_0x28cc45,toBuffer:_0x1ee54f}=ce(),_0x23c75a=Symbol(_0x38182d(0x13f)),_0x2f2621=Buffer[_0x38182d(0xe7)](0x4),_0x8adad8=0x8*0x400;let _0x301f13,_0x3e7a0e=_0x8adad8;const _0x38963b=0x0,_0xc2e7ca=0x1,_0x2c0ebd=0x2;class _0x6a4ff6{constructor(_0x43ba1f,_0x2e4b00,_0x1da599){const _0x48d4d8=_0x38182d;this[_0x48d4d8(0x288)]=_0x2e4b00||{},_0x1da599&&(this[_0x48d4d8(0x24d)]=_0x1da599,this[_0x48d4d8(0x160)]=Buffer[_0x48d4d8(0xe7)](0x4)),this[_0x48d4d8(0x10e)]=_0x43ba1f,this[_0x48d4d8(0xf2)]=!0x0,this[_0x48d4d8(0x13b)]=!0x1,this['_bufferedBytes']=0x0,this[_0x48d4d8(0x1af)]=[],this[_0x48d4d8(0x1c4)]=_0x38963b,this['onerror']=_0x32ba53,this[_0x407bb8]=void 0x0;}static['frame'](_0x4cd929,_0x4ae5ff){const _0x7f3f47=_0x38182d;let _0x1c0d14,_0x3d4b17=!0x1,_0x1d4680=0x2,_0x14eec0=!0x1;_0x4ae5ff['mask']&&(_0x1c0d14=_0x4ae5ff[_0x7f3f47(0x227)]||_0x2f2621,_0x4ae5ff[_0x7f3f47(0x17c)]?_0x4ae5ff['generateMask'](_0x1c0d14):(_0x3e7a0e===_0x8adad8&&(_0x301f13===void 0x0&&(_0x301f13=Buffer[_0x7f3f47(0xe7)](_0x8adad8)),_0x3a72e1(_0x301f13,0x0,_0x8adad8),_0x3e7a0e=0x0),_0x1c0d14[0x0]=_0x301f13[_0x3e7a0e++],_0x1c0d14[0x1]=_0x301f13[_0x3e7a0e++],_0x1c0d14[0x2]=_0x301f13[_0x3e7a0e++],_0x1c0d14[0x3]=_0x301f13[_0x3e7a0e++]),_0x14eec0=(_0x1c0d14[0x0]|_0x1c0d14[0x1]|_0x1c0d14[0x2]|_0x1c0d14[0x3])===0x0,_0x1d4680=0x6);let _0x159e37;typeof _0x4cd929==_0x7f3f47(0x1e8)?(!_0x4ae5ff[_0x7f3f47(0x19d)]||_0x14eec0)&&_0x4ae5ff[_0x23c75a]!==void 0x0?_0x159e37=_0x4ae5ff[_0x23c75a]:(_0x4cd929=Buffer[_0x7f3f47(0x1e4)](_0x4cd929),_0x159e37=_0x4cd929[_0x7f3f47(0x1a1)]):(_0x159e37=_0x4cd929[_0x7f3f47(0x1a1)],_0x3d4b17=_0x4ae5ff['mask']&&_0x4ae5ff[_0x7f3f47(0x206)]&&!_0x14eec0);let _0x2c932a=_0x159e37;_0x159e37>=0x10000?(_0x1d4680+=0x8,_0x2c932a=0x7f):_0x159e37>0x7d&&(_0x1d4680+=0x2,_0x2c932a=0x7e);const _0x40d0df=Buffer[_0x7f3f47(0x159)](_0x3d4b17?_0x159e37+_0x1d4680:_0x1d4680);return _0x40d0df[0x0]=_0x4ae5ff[_0x7f3f47(0x228)]?_0x4ae5ff[_0x7f3f47(0xfd)]|0x80:_0x4ae5ff['opcode'],_0x4ae5ff[_0x7f3f47(0x1ba)]&&(_0x40d0df[0x0]|=0x40),_0x40d0df[0x1]=_0x2c932a,_0x2c932a===0x7e?_0x40d0df[_0x7f3f47(0x120)](_0x159e37,0x2):_0x2c932a===0x7f&&(_0x40d0df[0x2]=_0x40d0df[0x3]=0x0,_0x40d0df[_0x7f3f47(0x25a)](_0x159e37,0x4,0x6)),_0x4ae5ff[_0x7f3f47(0x19d)]?(_0x40d0df[0x1]|=0x80,_0x40d0df[_0x1d4680-0x4]=_0x1c0d14[0x0],_0x40d0df[_0x1d4680-0x3]=_0x1c0d14[0x1],_0x40d0df[_0x1d4680-0x2]=_0x1c0d14[0x2],_0x40d0df[_0x1d4680-0x1]=_0x1c0d14[0x3],_0x14eec0?[_0x40d0df,_0x4cd929]:_0x3d4b17?(_0x28cc45(_0x4cd929,_0x1c0d14,_0x40d0df,_0x1d4680,_0x159e37),[_0x40d0df]):(_0x28cc45(_0x4cd929,_0x1c0d14,_0x4cd929,0x0,_0x159e37),[_0x40d0df,_0x4cd929])):[_0x40d0df,_0x4cd929];}[_0x38182d(0x23e)](_0x4073a8,_0x58de21,_0x5b2061,_0x4a3486){const _0x45d523=_0x38182d;let _0x72de32;if(_0x4073a8===void 0x0)_0x72de32=_0x2e4d48;else{if(typeof _0x4073a8!=_0x45d523(0x134)||!_0x2fdf4e(_0x4073a8))throw new TypeError(_0x45d523(0x280));if(_0x58de21===void 0x0||!_0x58de21[_0x45d523(0x1a1)])_0x72de32=Buffer[_0x45d523(0x159)](0x2),_0x72de32[_0x45d523(0x120)](_0x4073a8,0x0);else{const _0x157b7c=Buffer['byteLength'](_0x58de21);if(_0x157b7c>0x7b)throw new RangeError(_0x45d523(0x22f));_0x72de32=Buffer['allocUnsafe'](0x2+_0x157b7c),_0x72de32[_0x45d523(0x120)](_0x4073a8,0x0),typeof _0x58de21==_0x45d523(0x1e8)?_0x72de32['write'](_0x58de21,0x2):_0x72de32['set'](_0x58de21,0x2);}}const _0x2ab602={[_0x23c75a]:_0x72de32[_0x45d523(0x1a1)],'fin':!0x0,'generateMask':this[_0x45d523(0x24d)],'mask':_0x5b2061,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x45d523(0x1c4)]!==_0x38963b?this[_0x45d523(0x1be)]([this[_0x45d523(0x1fd)],_0x72de32,!0x1,_0x2ab602,_0x4a3486]):this[_0x45d523(0x1a5)](_0x6a4ff6[_0x45d523(0x11d)](_0x72de32,_0x2ab602),_0x4a3486);}[_0x38182d(0xe4)](_0x4eeb97,_0x182cf0,_0x5f2bb7){const _0x5826fa=_0x38182d;let _0x3455b9,_0x4c32e5;if(typeof _0x4eeb97==_0x5826fa(0x1e8)?(_0x3455b9=Buffer['byteLength'](_0x4eeb97),_0x4c32e5=!0x1):_0x3907e3(_0x4eeb97)?(_0x3455b9=_0x4eeb97[_0x5826fa(0x18a)],_0x4c32e5=!0x1):(_0x4eeb97=_0x1ee54f(_0x4eeb97),_0x3455b9=_0x4eeb97[_0x5826fa(0x1a1)],_0x4c32e5=_0x1ee54f[_0x5826fa(0x206)]),_0x3455b9>0x7d)throw new RangeError(_0x5826fa(0x1ad));const _0x125a1c={[_0x23c75a]:_0x3455b9,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x182cf0,'maskBuffer':this[_0x5826fa(0x160)],'opcode':0x9,'readOnly':_0x4c32e5,'rsv1':!0x1};_0x3907e3(_0x4eeb97)?this[_0x5826fa(0x1c4)]!==_0x38963b?this[_0x5826fa(0x1be)]([this['getBlobData'],_0x4eeb97,!0x1,_0x125a1c,_0x5f2bb7]):this[_0x5826fa(0x1a6)](_0x4eeb97,!0x1,_0x125a1c,_0x5f2bb7):this[_0x5826fa(0x1c4)]!==_0x38963b?this['enqueue']([this['dispatch'],_0x4eeb97,!0x1,_0x125a1c,_0x5f2bb7]):this[_0x5826fa(0x1a5)](_0x6a4ff6[_0x5826fa(0x11d)](_0x4eeb97,_0x125a1c),_0x5f2bb7);}[_0x38182d(0xe0)](_0x20bdab,_0x9b46e3,_0x54cfa9){const _0x182a32=_0x38182d;let _0x23dc27,_0x1c7b3c;if(typeof _0x20bdab==_0x182a32(0x1e8)?(_0x23dc27=Buffer['byteLength'](_0x20bdab),_0x1c7b3c=!0x1):_0x3907e3(_0x20bdab)?(_0x23dc27=_0x20bdab[_0x182a32(0x18a)],_0x1c7b3c=!0x1):(_0x20bdab=_0x1ee54f(_0x20bdab),_0x23dc27=_0x20bdab['length'],_0x1c7b3c=_0x1ee54f[_0x182a32(0x206)]),_0x23dc27>0x7d)throw new RangeError(_0x182a32(0x1ad));const _0x25812f={[_0x23c75a]:_0x23dc27,'fin':!0x0,'generateMask':this[_0x182a32(0x24d)],'mask':_0x9b46e3,'maskBuffer':this[_0x182a32(0x160)],'opcode':0xa,'readOnly':_0x1c7b3c,'rsv1':!0x1};_0x3907e3(_0x20bdab)?this[_0x182a32(0x1c4)]!==_0x38963b?this[_0x182a32(0x1be)]([this['getBlobData'],_0x20bdab,!0x1,_0x25812f,_0x54cfa9]):this[_0x182a32(0x1a6)](_0x20bdab,!0x1,_0x25812f,_0x54cfa9):this['_state']!==_0x38963b?this[_0x182a32(0x1be)]([this[_0x182a32(0x1fd)],_0x20bdab,!0x1,_0x25812f,_0x54cfa9]):this[_0x182a32(0x1a5)](_0x6a4ff6[_0x182a32(0x11d)](_0x20bdab,_0x25812f),_0x54cfa9);}[_0x38182d(0x282)](_0x46a0d8,_0x2c66c2,_0xc374a4){const _0xcd90fb=_0x38182d,_0xaedbf1=this[_0xcd90fb(0x288)][_0x515fce[_0xcd90fb(0x147)]];let _0x49505c=_0x2c66c2[_0xcd90fb(0x20b)]?0x2:0x1,_0x59c37b=_0x2c66c2[_0xcd90fb(0x283)],_0x4ae663,_0x92ed9b;typeof _0x46a0d8=='string'?(_0x4ae663=Buffer['byteLength'](_0x46a0d8),_0x92ed9b=!0x1):_0x3907e3(_0x46a0d8)?(_0x4ae663=_0x46a0d8[_0xcd90fb(0x18a)],_0x92ed9b=!0x1):(_0x46a0d8=_0x1ee54f(_0x46a0d8),_0x4ae663=_0x46a0d8[_0xcd90fb(0x1a1)],_0x92ed9b=_0x1ee54f['readOnly']),this[_0xcd90fb(0xf2)]?(this[_0xcd90fb(0xf2)]=!0x1,_0x59c37b&&_0xaedbf1&&_0xaedbf1[_0xcd90fb(0x191)][_0xaedbf1[_0xcd90fb(0x126)]?_0xcd90fb(0x1b3):'client_no_context_takeover']&&(_0x59c37b=_0x4ae663>=_0xaedbf1[_0xcd90fb(0x26d)]),this['_compress']=_0x59c37b):(_0x59c37b=!0x1,_0x49505c=0x0),_0x2c66c2[_0xcd90fb(0x228)]&&(this[_0xcd90fb(0xf2)]=!0x0);const _0x2314d7={[_0x23c75a]:_0x4ae663,'fin':_0x2c66c2[_0xcd90fb(0x228)],'generateMask':this['_generateMask'],'mask':_0x2c66c2[_0xcd90fb(0x19d)],'maskBuffer':this['_maskBuffer'],'opcode':_0x49505c,'readOnly':_0x92ed9b,'rsv1':_0x59c37b};_0x3907e3(_0x46a0d8)?this[_0xcd90fb(0x1c4)]!==_0x38963b?this[_0xcd90fb(0x1be)]([this['getBlobData'],_0x46a0d8,this[_0xcd90fb(0x13b)],_0x2314d7,_0xc374a4]):this[_0xcd90fb(0x1a6)](_0x46a0d8,this[_0xcd90fb(0x13b)],_0x2314d7,_0xc374a4):this[_0xcd90fb(0x1c4)]!==_0x38963b?this['enqueue']([this[_0xcd90fb(0x1fd)],_0x46a0d8,this[_0xcd90fb(0x13b)],_0x2314d7,_0xc374a4]):this[_0xcd90fb(0x1fd)](_0x46a0d8,this[_0xcd90fb(0x13b)],_0x2314d7,_0xc374a4);}['getBlobData'](_0x24e459,_0x459599,_0x3dee4f,_0x43f9ea){const _0x3953dc=_0x38182d;this[_0x3953dc(0x176)]+=_0x3dee4f[_0x23c75a],this['_state']=_0x2c0ebd,_0x24e459['arrayBuffer']()[_0x3953dc(0x1d9)](_0x24114b=>{const _0x4d9184=_0x3953dc;if(this[_0x4d9184(0x10e)][_0x4d9184(0x196)]){const _0x7dd57b=new Error(_0x4d9184(0xd4));process[_0x4d9184(0x199)](_0x3f6290,this,_0x7dd57b,_0x43f9ea);return;}this[_0x4d9184(0x176)]-=_0x3dee4f[_0x23c75a];const _0x482ae1=_0x1ee54f(_0x24114b);_0x459599?this[_0x4d9184(0x1fd)](_0x482ae1,_0x459599,_0x3dee4f,_0x43f9ea):(this[_0x4d9184(0x1c4)]=_0x38963b,this[_0x4d9184(0x1a5)](_0x6a4ff6[_0x4d9184(0x11d)](_0x482ae1,_0x3dee4f),_0x43f9ea),this['dequeue']());})[_0x3953dc(0x200)](_0x3a28ac=>{const _0x528e8f=_0x3953dc;process[_0x528e8f(0x199)](_0x4ce905,this,_0x3a28ac,_0x43f9ea);});}[_0x38182d(0x1fd)](_0x47b79d,_0x1d0f2d,_0x561c62,_0x5b7742){const _0x2d5a93=_0x38182d;if(!_0x1d0f2d){this[_0x2d5a93(0x1a5)](_0x6a4ff6['frame'](_0x47b79d,_0x561c62),_0x5b7742);return;}const _0x1e77a0=this[_0x2d5a93(0x288)][_0x515fce['extensionName']];this[_0x2d5a93(0x176)]+=_0x561c62[_0x23c75a],this[_0x2d5a93(0x1c4)]=_0xc2e7ca,_0x1e77a0['compress'](_0x47b79d,_0x561c62['fin'],(_0x3d2a82,_0x960bd1)=>{const _0x2fa88b=_0x2d5a93;if(this[_0x2fa88b(0x10e)][_0x2fa88b(0x196)]){const _0x42b327=new Error(_0x2fa88b(0x15e));_0x3f6290(this,_0x42b327,_0x5b7742);return;}this[_0x2fa88b(0x176)]-=_0x561c62[_0x23c75a],this[_0x2fa88b(0x1c4)]=_0x38963b,_0x561c62['readOnly']=!0x1,this[_0x2fa88b(0x1a5)](_0x6a4ff6[_0x2fa88b(0x11d)](_0x960bd1,_0x561c62),_0x5b7742),this[_0x2fa88b(0x105)]();});}[_0x38182d(0x105)](){const _0x566b57=_0x38182d;for(;this[_0x566b57(0x1c4)]===_0x38963b&&this['_queue'][_0x566b57(0x1a1)];){const _0x31da3d=this['_queue']['shift']();this[_0x566b57(0x176)]-=_0x31da3d[0x3][_0x23c75a],Reflect[_0x566b57(0x1f0)](_0x31da3d[0x0],this,_0x31da3d[_0x566b57(0xe8)](0x1));}}[_0x38182d(0x1be)](_0x248a15){const _0x1dcf96=_0x38182d;this[_0x1dcf96(0x176)]+=_0x248a15[0x3][_0x23c75a],this[_0x1dcf96(0x1af)]['push'](_0x248a15);}[_0x38182d(0x1a5)](_0x134b4c,_0x2b3ff2){const _0x3c5da3=_0x38182d;_0x134b4c[_0x3c5da3(0x1a1)]===0x2?(this[_0x3c5da3(0x10e)]['cork'](),this[_0x3c5da3(0x10e)][_0x3c5da3(0x233)](_0x134b4c[0x0]),this[_0x3c5da3(0x10e)][_0x3c5da3(0x233)](_0x134b4c[0x1],_0x2b3ff2),this[_0x3c5da3(0x10e)]['uncork']()):this['_socket']['write'](_0x134b4c[0x0],_0x2b3ff2);}}Ee=_0x6a4ff6;function _0x3f6290(_0x138cf5,_0x9601ff,_0x1e9763){const _0x29af70=_0x38182d;typeof _0x1e9763==_0x29af70(0x18c)&&_0x1e9763(_0x9601ff);for(let _0x4be587=0x0;_0x4be587<_0x138cf5['_queue'][_0x29af70(0x1a1)];_0x4be587++){const _0x8adad6=_0x138cf5['_queue'][_0x4be587],_0x471807=_0x8adad6[_0x8adad6[_0x29af70(0x1a1)]-0x1];typeof _0x471807==_0x29af70(0x18c)&&_0x471807(_0x9601ff);}}function _0x4ce905(_0x17d4e4,_0x561d3f,_0x4ffe22){const _0x2c8eb4=_0x38182d;_0x3f6290(_0x17d4e4,_0x561d3f,_0x4ffe22),_0x17d4e4[_0x2c8eb4(0x165)](_0x561d3f);}return Ee;}var xe,Ze;function It(){const _0x898bd1=_0x1f7626;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x56717b,kListener:_0x391b01}=H(),_0x5fb800=Symbol(_0x898bd1(0x142)),_0x430813=Symbol('kData'),_0x231da4=Symbol(_0x898bd1(0x239)),_0x1bd14f=Symbol(_0x898bd1(0x12a)),_0x284add=Symbol(_0x898bd1(0x241)),_0x381557=Symbol(_0x898bd1(0x247)),_0x554064=Symbol('kType'),_0xb0548b=Symbol(_0x898bd1(0x26b));class _0x14c45d{constructor(_0x4adc45){this[_0x381557]=null,this[_0x554064]=_0x4adc45;}get['target'](){return this[_0x381557];}get['type'](){return this[_0x554064];}}Object[_0x898bd1(0xdb)](_0x14c45d[_0x898bd1(0x188)],_0x898bd1(0x104),{'enumerable':!0x0}),Object['defineProperty'](_0x14c45d[_0x898bd1(0x188)],_0x898bd1(0x226),{'enumerable':!0x0});class _0x295671 extends _0x14c45d{constructor(_0x675ec1,_0x483fde={}){const _0x9f6315=_0x898bd1;super(_0x675ec1),this[_0x5fb800]=_0x483fde['code']===void 0x0?0x0:_0x483fde[_0x9f6315(0x24f)],this[_0x284add]=_0x483fde['reason']===void 0x0?'':_0x483fde[_0x9f6315(0x1b5)],this[_0xb0548b]=_0x483fde[_0x9f6315(0x19e)]===void 0x0?!0x1:_0x483fde[_0x9f6315(0x19e)];}get[_0x898bd1(0x24f)](){return this[_0x5fb800];}get[_0x898bd1(0x1b5)](){return this[_0x284add];}get['wasClean'](){return this[_0xb0548b];}}Object[_0x898bd1(0xdb)](_0x295671[_0x898bd1(0x188)],_0x898bd1(0x24f),{'enumerable':!0x0}),Object[_0x898bd1(0xdb)](_0x295671['prototype'],'reason',{'enumerable':!0x0}),Object[_0x898bd1(0xdb)](_0x295671[_0x898bd1(0x188)],_0x898bd1(0x19e),{'enumerable':!0x0});class _0x549950 extends _0x14c45d{constructor(_0x348279,_0x5014f7={}){const _0xc7c94c=_0x898bd1;super(_0x348279),this[_0x231da4]=_0x5014f7[_0xc7c94c(0x12f)]===void 0x0?null:_0x5014f7[_0xc7c94c(0x12f)],this[_0x1bd14f]=_0x5014f7[_0xc7c94c(0x23c)]===void 0x0?'':_0x5014f7[_0xc7c94c(0x23c)];}get['error'](){return this[_0x231da4];}get[_0x898bd1(0x23c)](){return this[_0x1bd14f];}}Object[_0x898bd1(0xdb)](_0x549950[_0x898bd1(0x188)],_0x898bd1(0x12f),{'enumerable':!0x0}),Object[_0x898bd1(0xdb)](_0x549950[_0x898bd1(0x188)],_0x898bd1(0x23c),{'enumerable':!0x0});class _0x262011 extends _0x14c45d{constructor(_0x1828dd,_0x318c93={}){const _0x44035d=_0x898bd1;super(_0x1828dd),this[_0x430813]=_0x318c93[_0x44035d(0x204)]===void 0x0?null:_0x318c93['data'];}get[_0x898bd1(0x204)](){return this[_0x430813];}}Object[_0x898bd1(0xdb)](_0x262011['prototype'],_0x898bd1(0x204),{'enumerable':!0x0}),xe={'CloseEvent':_0x295671,'ErrorEvent':_0x549950,'Event':_0x14c45d,'EventTarget':{'addEventListener'(_0x2cf661,_0x2303d8,_0x140846={}){const _0x377dac=_0x898bd1;for(const _0x5a575a of this[_0x377dac(0x28e)](_0x2cf661))if(!_0x140846[_0x56717b]&&_0x5a575a[_0x391b01]===_0x2303d8&&!_0x5a575a[_0x56717b])return;let _0x3e25ec;if(_0x2cf661===_0x377dac(0x23c))_0x3e25ec=function(_0x29886b,_0x3eed5b){const _0x3b5e8d=_0x377dac,_0x2e63d8=new _0x262011(_0x3b5e8d(0x23c),{'data':_0x3eed5b?_0x29886b:_0x29886b[_0x3b5e8d(0x231)]()});_0x2e63d8[_0x381557]=this,_0x87203d(_0x2303d8,this,_0x2e63d8);};else{if(_0x2cf661===_0x377dac(0x23e))_0x3e25ec=function(_0x2bc2ff,_0x2709b4){const _0x3dab69=_0x377dac,_0x3bacd3=new _0x295671('close',{'code':_0x2bc2ff,'reason':_0x2709b4[_0x3dab69(0x231)](),'wasClean':this[_0x3dab69(0x248)]&&this[_0x3dab69(0x234)]});_0x3bacd3[_0x381557]=this,_0x87203d(_0x2303d8,this,_0x3bacd3);};else{if(_0x2cf661===_0x377dac(0x12f))_0x3e25ec=function(_0x1b8e7f){const _0x2b09f1=_0x377dac,_0x2e827c=new _0x549950('error',{'error':_0x1b8e7f,'message':_0x1b8e7f[_0x2b09f1(0x23c)]});_0x2e827c[_0x381557]=this,_0x87203d(_0x2303d8,this,_0x2e827c);};else{if(_0x2cf661===_0x377dac(0x24a))_0x3e25ec=function(){const _0x31b3be=_0x377dac,_0x7d99ba=new _0x14c45d(_0x31b3be(0x24a));_0x7d99ba[_0x381557]=this,_0x87203d(_0x2303d8,this,_0x7d99ba);};else return;}}}_0x3e25ec[_0x56717b]=!!_0x140846[_0x56717b],_0x3e25ec[_0x391b01]=_0x2303d8,_0x140846[_0x377dac(0x16b)]?this['once'](_0x2cf661,_0x3e25ec):this['on'](_0x2cf661,_0x3e25ec);},'removeEventListener'(_0x42ed0a,_0x6caf73){for(const _0x9c60 of this['listeners'](_0x42ed0a))if(_0x9c60[_0x391b01]===_0x6caf73&&!_0x9c60[_0x56717b]){this['removeListener'](_0x42ed0a,_0x9c60);break;}}},'MessageEvent':_0x262011};function _0x87203d(_0x5831fa,_0x4a6784,_0x2bea46){const _0x34ec58=_0x898bd1;typeof _0x5831fa==_0x34ec58(0xd8)&&_0x5831fa[_0x34ec58(0x26e)]?_0x5831fa[_0x34ec58(0x26e)][_0x34ec58(0x1c7)](_0x5831fa,_0x2bea46):_0x5831fa[_0x34ec58(0x1c7)](_0x4a6784,_0x2bea46);}return xe;}var be,Qe;function _0x4d5a(_0x2f9643,_0x20cc74){_0x2f9643=_0x2f9643-0xd4;const _0x1ba9b9=_0x1ba9();let _0x4d5a9f=_0x1ba9b9[_0x2f9643];return _0x4d5a9f;}function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x38c25a}=ae();function _0x2518a5(_0xd1f96a,_0x1ee9ab,_0x2d0a58){const _0x4fd6f9=_0x4d5a;_0xd1f96a[_0x1ee9ab]===void 0x0?_0xd1f96a[_0x1ee9ab]=[_0x2d0a58]:_0xd1f96a[_0x1ee9ab][_0x4fd6f9(0x1ec)](_0x2d0a58);}function _0x2dd713(_0x392f59){const _0x442cc7=_0x4d5a,_0x491529=Object[_0x442cc7(0x256)](null);let _0x35d0c8=Object['create'](null),_0x3b674a=!0x1,_0x43c198=!0x1,_0x52e7e4=!0x1,_0x196288,_0x27935f,_0x371835=-0x1,_0x4b0c33=-0x1,_0x3618f6=-0x1,_0x542537=0x0;for(;_0x542537<_0x392f59[_0x442cc7(0x1a1)];_0x542537++)if(_0x4b0c33=_0x392f59[_0x442cc7(0x229)](_0x542537),_0x196288===void 0x0){if(_0x3618f6===-0x1&&_0x38c25a[_0x4b0c33]===0x1)_0x371835===-0x1&&(_0x371835=_0x542537);else{if(_0x542537!==0x0&&(_0x4b0c33===0x20||_0x4b0c33===0x9))_0x3618f6===-0x1&&_0x371835!==-0x1&&(_0x3618f6=_0x542537);else{if(_0x4b0c33===0x3b||_0x4b0c33===0x2c){if(_0x371835===-0x1)throw new SyntaxError(_0x442cc7(0xea)+_0x542537);_0x3618f6===-0x1&&(_0x3618f6=_0x542537);const _0x4af3c0=_0x392f59[_0x442cc7(0xe8)](_0x371835,_0x3618f6);_0x4b0c33===0x2c?(_0x2518a5(_0x491529,_0x4af3c0,_0x35d0c8),_0x35d0c8=Object['create'](null)):_0x196288=_0x4af3c0,_0x371835=_0x3618f6=-0x1;}else throw new SyntaxError(_0x442cc7(0xea)+_0x542537);}}}else{if(_0x27935f===void 0x0){if(_0x3618f6===-0x1&&_0x38c25a[_0x4b0c33]===0x1)_0x371835===-0x1&&(_0x371835=_0x542537);else{if(_0x4b0c33===0x20||_0x4b0c33===0x9)_0x3618f6===-0x1&&_0x371835!==-0x1&&(_0x3618f6=_0x542537);else{if(_0x4b0c33===0x3b||_0x4b0c33===0x2c){if(_0x371835===-0x1)throw new SyntaxError(_0x442cc7(0xea)+_0x542537);_0x3618f6===-0x1&&(_0x3618f6=_0x542537),_0x2518a5(_0x35d0c8,_0x392f59[_0x442cc7(0xe8)](_0x371835,_0x3618f6),!0x0),_0x4b0c33===0x2c&&(_0x2518a5(_0x491529,_0x196288,_0x35d0c8),_0x35d0c8=Object[_0x442cc7(0x256)](null),_0x196288=void 0x0),_0x371835=_0x3618f6=-0x1;}else{if(_0x4b0c33===0x3d&&_0x371835!==-0x1&&_0x3618f6===-0x1)_0x27935f=_0x392f59['slice'](_0x371835,_0x542537),_0x371835=_0x3618f6=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x542537);}}}}else{if(_0x43c198){if(_0x38c25a[_0x4b0c33]!==0x1)throw new SyntaxError(_0x442cc7(0xea)+_0x542537);_0x371835===-0x1?_0x371835=_0x542537:_0x3b674a||(_0x3b674a=!0x0),_0x43c198=!0x1;}else{if(_0x52e7e4){if(_0x38c25a[_0x4b0c33]===0x1)_0x371835===-0x1&&(_0x371835=_0x542537);else{if(_0x4b0c33===0x22&&_0x371835!==-0x1)_0x52e7e4=!0x1,_0x3618f6=_0x542537;else{if(_0x4b0c33===0x5c)_0x43c198=!0x0;else throw new SyntaxError(_0x442cc7(0xea)+_0x542537);}}}else{if(_0x4b0c33===0x22&&_0x392f59[_0x442cc7(0x229)](_0x542537-0x1)===0x3d)_0x52e7e4=!0x0;else{if(_0x3618f6===-0x1&&_0x38c25a[_0x4b0c33]===0x1)_0x371835===-0x1&&(_0x371835=_0x542537);else{if(_0x371835!==-0x1&&(_0x4b0c33===0x20||_0x4b0c33===0x9))_0x3618f6===-0x1&&(_0x3618f6=_0x542537);else{if(_0x4b0c33===0x3b||_0x4b0c33===0x2c){if(_0x371835===-0x1)throw new SyntaxError(_0x442cc7(0xea)+_0x542537);_0x3618f6===-0x1&&(_0x3618f6=_0x542537);let _0x1e77f6=_0x392f59[_0x442cc7(0xe8)](_0x371835,_0x3618f6);_0x3b674a&&(_0x1e77f6=_0x1e77f6[_0x442cc7(0x294)](/\\/g,''),_0x3b674a=!0x1),_0x2518a5(_0x35d0c8,_0x27935f,_0x1e77f6),_0x4b0c33===0x2c&&(_0x2518a5(_0x491529,_0x196288,_0x35d0c8),_0x35d0c8=Object['create'](null),_0x196288=void 0x0),_0x27935f=void 0x0,_0x371835=_0x3618f6=-0x1;}else throw new SyntaxError(_0x442cc7(0xea)+_0x542537);}}}}}}}if(_0x371835===-0x1||_0x52e7e4||_0x4b0c33===0x20||_0x4b0c33===0x9)throw new SyntaxError(_0x442cc7(0x20e));_0x3618f6===-0x1&&(_0x3618f6=_0x542537);const _0x2dbd89=_0x392f59[_0x442cc7(0xe8)](_0x371835,_0x3618f6);return _0x196288===void 0x0?_0x2518a5(_0x491529,_0x2dbd89,_0x35d0c8):(_0x27935f===void 0x0?_0x2518a5(_0x35d0c8,_0x2dbd89,!0x0):_0x3b674a?_0x2518a5(_0x35d0c8,_0x27935f,_0x2dbd89[_0x442cc7(0x294)](/\\/g,'')):_0x2518a5(_0x35d0c8,_0x27935f,_0x2dbd89),_0x2518a5(_0x491529,_0x196288,_0x35d0c8)),_0x491529;}function _0x5e642c(_0x535a70){const _0x349711=_0x4d5a;return Object['keys'](_0x535a70)[_0x349711(0x1aa)](_0x31e5f9=>{const _0x141f24=_0x349711;let _0x3e4939=_0x535a70[_0x31e5f9];return Array[_0x141f24(0x1d0)](_0x3e4939)||(_0x3e4939=[_0x3e4939]),_0x3e4939[_0x141f24(0x1aa)](_0x53c601=>[_0x31e5f9][_0x141f24(0x23a)](Object['keys'](_0x53c601)[_0x141f24(0x1aa)](_0x1ea2dc=>{const _0x155cb1=_0x141f24;let _0x2d9857=_0x53c601[_0x1ea2dc];return Array['isArray'](_0x2d9857)||(_0x2d9857=[_0x2d9857]),_0x2d9857[_0x155cb1(0x1aa)](_0x2cd799=>_0x2cd799===!0x0?_0x1ea2dc:_0x1ea2dc+'='+_0x2cd799)[_0x155cb1(0x25d)](';\x20');}))[_0x141f24(0x25d)](';\x20'))[_0x141f24(0x25d)](',\x20');})[_0x349711(0x25d)](',\x20');}return be={'format':_0x5e642c,'parse':_0x2dd713},be;}var we,Je;function Pe(){const _0x5efba4=_0x1f7626;if(Je)return we;Je=0x1;const _0x292d1d=nt,_0x49ae70=vt,_0xf0f715=ot,_0x2cd3a4=St,_0xb46a4e=Et,{randomBytes:_0x36e8d3,createHash:_0x1e2c41}=Le,{Duplex:_0x4420f8,Readable:_0x14b7a6}=oe,{URL:_0x1df8ba}=xt,_0xf6e63=he(),_0x613fd3=lt(),_0x4ab813=ft(),{isBlob:_0x178f82}=ae(),{BINARY_TYPES:_0x49d0d3,EMPTY_BUFFER:_0x38a807,GUID:_0x62a97b,kForOnEventAttribute:_0x439656,kListener:_0x4a8f81,kStatusCode:_0x275989,kWebSocket:_0x1a7266,NOOP:_0x3b9765}=H(),{EventTarget:{addEventListener:_0x537fbb,removeEventListener:_0x15dad6}}=It(),{format:_0xe7e859,parse:_0xf2a3ab}=ct(),{toBuffer:_0x3b28a8}=ce(),_0x303c46=0x1e*0x3e8,_0xd4b060=Symbol(_0x5efba4(0x1cb)),_0x55faea=[0x8,0xd],_0x2a920e=['CONNECTING',_0x5efba4(0x13e),'CLOSING',_0x5efba4(0x192)],_0x11d1a3=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x140992 extends _0x292d1d{constructor(_0x5e39cd,_0x7ed27c,_0x36a458){const _0x1d0942=_0x5efba4;super(),this['_binaryType']=_0x49d0d3[0x0],this[_0x1d0942(0x103)]=0x3ee,this[_0x1d0942(0x248)]=!0x1,this[_0x1d0942(0x234)]=!0x1,this[_0x1d0942(0x270)]=_0x38a807,this['_closeTimer']=null,this['_errorEmitted']=!0x1,this['_extensions']={},this[_0x1d0942(0x21f)]=!0x1,this[_0x1d0942(0x26a)]='',this['_readyState']=_0x140992['CONNECTING'],this[_0x1d0942(0x1ea)]=null,this[_0x1d0942(0x202)]=null,this[_0x1d0942(0x10e)]=null,_0x5e39cd!==null?(this[_0x1d0942(0x158)]=0x0,this['_isServer']=!0x1,this[_0x1d0942(0x22a)]=0x0,_0x7ed27c===void 0x0?_0x7ed27c=[]:Array[_0x1d0942(0x1d0)](_0x7ed27c)||(typeof _0x7ed27c==_0x1d0942(0xd8)&&_0x7ed27c!==null?(_0x36a458=_0x7ed27c,_0x7ed27c=[]):_0x7ed27c=[_0x7ed27c]),_0x11a10a(this,_0x5e39cd,_0x7ed27c,_0x36a458)):(this[_0x1d0942(0x108)]=_0x36a458[_0x1d0942(0xfa)],this['_isServer']=!0x0);}get[_0x5efba4(0x1d1)](){return this['_binaryType'];}set[_0x5efba4(0x1d1)](_0x5b2f31){const _0x26295c=_0x5efba4;_0x49d0d3['includes'](_0x5b2f31)&&(this[_0x26295c(0x1e7)]=_0x5b2f31,this[_0x26295c(0x1ea)]&&(this[_0x26295c(0x1ea)]['_binaryType']=_0x5b2f31));}get[_0x5efba4(0x146)](){const _0x386f19=_0x5efba4;return this[_0x386f19(0x10e)]?this[_0x386f19(0x10e)][_0x386f19(0x186)][_0x386f19(0x1a1)]+this[_0x386f19(0x202)][_0x386f19(0x176)]:this[_0x386f19(0x158)];}get[_0x5efba4(0x1a7)](){const _0x2106b6=_0x5efba4;return Object['keys'](this['_extensions'])[_0x2106b6(0x25d)]();}get['isPaused'](){const _0x3e29d7=_0x5efba4;return this[_0x3e29d7(0x21f)];}get[_0x5efba4(0x130)](){return null;}get[_0x5efba4(0x165)](){return null;}get['onopen'](){return null;}get[_0x5efba4(0x187)](){return null;}get[_0x5efba4(0xee)](){const _0x514a3c=_0x5efba4;return this[_0x514a3c(0x26a)];}get['readyState'](){const _0x3a0254=_0x5efba4;return this[_0x3a0254(0xf8)];}get[_0x5efba4(0x156)](){const _0x3f1577=_0x5efba4;return this[_0x3f1577(0x18e)];}['setSocket'](_0x2db7ed,_0x3d7247,_0x33a6bb){const _0x5cb331=_0x5efba4,_0x14d7b5=new _0x613fd3({'allowSynchronousEvents':_0x33a6bb[_0x5cb331(0x128)],'binaryType':this[_0x5cb331(0x1d1)],'extensions':this[_0x5cb331(0x288)],'isServer':this[_0x5cb331(0x126)],'maxPayload':_0x33a6bb[_0x5cb331(0x1f6)],'skipUTF8Validation':_0x33a6bb['skipUTF8Validation']}),_0x14564e=new _0x4ab813(_0x2db7ed,this['_extensions'],_0x33a6bb[_0x5cb331(0x17c)]);this[_0x5cb331(0x1ea)]=_0x14d7b5,this[_0x5cb331(0x202)]=_0x14564e,this['_socket']=_0x2db7ed,_0x14d7b5[_0x1a7266]=this,_0x14564e[_0x1a7266]=this,_0x2db7ed[_0x1a7266]=this,_0x14d7b5['on'](_0x5cb331(0xdc),_0x737e3c),_0x14d7b5['on'](_0x5cb331(0x116),_0x3f6b93),_0x14d7b5['on'](_0x5cb331(0x12f),_0xac93f8),_0x14d7b5['on'](_0x5cb331(0x23c),_0x59beba),_0x14d7b5['on'](_0x5cb331(0xe4),_0x45430e),_0x14d7b5['on'](_0x5cb331(0xe0),_0x17de5f),_0x14564e[_0x5cb331(0x165)]=_0x5a940b,_0x2db7ed['setTimeout']&&_0x2db7ed[_0x5cb331(0x255)](0x0),_0x2db7ed[_0x5cb331(0x215)]&&_0x2db7ed[_0x5cb331(0x215)](),_0x3d7247[_0x5cb331(0x1a1)]>0x0&&_0x2db7ed[_0x5cb331(0xf3)](_0x3d7247),_0x2db7ed['on'](_0x5cb331(0x23e),_0x411c84),_0x2db7ed['on'](_0x5cb331(0x204),_0x3b9c99),_0x2db7ed['on'](_0x5cb331(0x1b0),_0x2b2a8b),_0x2db7ed['on'](_0x5cb331(0x12f),_0x278fae),this[_0x5cb331(0xf8)]=_0x140992[_0x5cb331(0x13e)],this[_0x5cb331(0x292)](_0x5cb331(0x24a));}[_0x5efba4(0x1d8)](){const _0x31b985=_0x5efba4;if(!this['_socket']){this['_readyState']=_0x140992['CLOSED'],this['emit'](_0x31b985(0x23e),this[_0x31b985(0x103)],this['_closeMessage']);return;}this[_0x31b985(0x288)][_0xf6e63['extensionName']]&&this['_extensions'][_0xf6e63[_0x31b985(0x147)]][_0x31b985(0x211)](),this['_receiver'][_0x31b985(0x24b)](),this[_0x31b985(0xf8)]=_0x140992[_0x31b985(0x192)],this['emit'](_0x31b985(0x23e),this[_0x31b985(0x103)],this[_0x31b985(0x270)]);}[_0x5efba4(0x23e)](_0x45ebeb,_0x1bd579){const _0x530ce7=_0x5efba4;if(this[_0x530ce7(0x259)]!==_0x140992[_0x530ce7(0x192)]){if(this['readyState']===_0x140992[_0x530ce7(0x27a)]){_0x21cf1e(this,this[_0x530ce7(0x28f)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this['readyState']===_0x140992[_0x530ce7(0x1bf)]){this[_0x530ce7(0x234)]&&(this[_0x530ce7(0x248)]||this['_receiver']['_writableState'][_0x530ce7(0x21e)])&&this['_socket'][_0x530ce7(0x1b0)]();return;}this[_0x530ce7(0xf8)]=_0x140992[_0x530ce7(0x1bf)],this['_sender'][_0x530ce7(0x23e)](_0x45ebeb,_0x1bd579,!this['_isServer'],_0x10364c=>{const _0x202391=_0x530ce7;_0x10364c||(this[_0x202391(0x234)]=!0x0,(this[_0x202391(0x248)]||this[_0x202391(0x1ea)][_0x202391(0x186)]['errorEmitted'])&&this[_0x202391(0x10e)][_0x202391(0x1b0)]());}),_0x41ed5e(this);}}[_0x5efba4(0x144)](){const _0x3fee8a=_0x5efba4;this[_0x3fee8a(0x259)]===_0x140992[_0x3fee8a(0x27a)]||this[_0x3fee8a(0x259)]===_0x140992[_0x3fee8a(0x192)]||(this[_0x3fee8a(0x21f)]=!0x0,this['_socket'][_0x3fee8a(0x144)]());}['ping'](_0x4f5a96,_0x387ece,_0x201d5f){const _0x42cf98=_0x5efba4;if(this['readyState']===_0x140992['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x4f5a96==_0x42cf98(0x18c)?(_0x201d5f=_0x4f5a96,_0x4f5a96=_0x387ece=void 0x0):typeof _0x387ece==_0x42cf98(0x18c)&&(_0x201d5f=_0x387ece,_0x387ece=void 0x0),typeof _0x4f5a96==_0x42cf98(0x134)&&(_0x4f5a96=_0x4f5a96[_0x42cf98(0x231)]()),this[_0x42cf98(0x259)]!==_0x140992['OPEN']){_0x55a65b(this,_0x4f5a96,_0x201d5f);return;}_0x387ece===void 0x0&&(_0x387ece=!this[_0x42cf98(0x126)]),this[_0x42cf98(0x202)][_0x42cf98(0xe4)](_0x4f5a96||_0x38a807,_0x387ece,_0x201d5f);}[_0x5efba4(0xe0)](_0x54c23b,_0x266fe7,_0x576ff8){const _0x20d608=_0x5efba4;if(this[_0x20d608(0x259)]===_0x140992[_0x20d608(0x27a)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x54c23b==_0x20d608(0x18c)?(_0x576ff8=_0x54c23b,_0x54c23b=_0x266fe7=void 0x0):typeof _0x266fe7==_0x20d608(0x18c)&&(_0x576ff8=_0x266fe7,_0x266fe7=void 0x0),typeof _0x54c23b==_0x20d608(0x134)&&(_0x54c23b=_0x54c23b[_0x20d608(0x231)]()),this[_0x20d608(0x259)]!==_0x140992[_0x20d608(0x13e)]){_0x55a65b(this,_0x54c23b,_0x576ff8);return;}_0x266fe7===void 0x0&&(_0x266fe7=!this[_0x20d608(0x126)]),this['_sender'][_0x20d608(0xe0)](_0x54c23b||_0x38a807,_0x266fe7,_0x576ff8);}[_0x5efba4(0x1c5)](){const _0x2c3a03=_0x5efba4;this[_0x2c3a03(0x259)]===_0x140992['CONNECTING']||this[_0x2c3a03(0x259)]===_0x140992[_0x2c3a03(0x192)]||(this[_0x2c3a03(0x21f)]=!0x1,this[_0x2c3a03(0x1ea)][_0x2c3a03(0x186)][_0x2c3a03(0x119)]||this[_0x2c3a03(0x10e)][_0x2c3a03(0x1c5)]());}[_0x5efba4(0x282)](_0x25fae2,_0x30751b,_0x5f095e){const _0x563b84=_0x5efba4;if(this[_0x563b84(0x259)]===_0x140992[_0x563b84(0x27a)])throw new Error(_0x563b84(0x289));if(typeof _0x30751b==_0x563b84(0x18c)&&(_0x5f095e=_0x30751b,_0x30751b={}),typeof _0x25fae2=='number'&&(_0x25fae2=_0x25fae2[_0x563b84(0x231)]()),this[_0x563b84(0x259)]!==_0x140992[_0x563b84(0x13e)]){_0x55a65b(this,_0x25fae2,_0x5f095e);return;}const _0x37333d={'binary':typeof _0x25fae2!=_0x563b84(0x1e8),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x30751b};this['_extensions'][_0xf6e63['extensionName']]||(_0x37333d['compress']=!0x1),this[_0x563b84(0x202)]['send'](_0x25fae2||_0x38a807,_0x37333d,_0x5f095e);}[_0x5efba4(0x1ef)](){const _0x536293=_0x5efba4;if(this[_0x536293(0x259)]!==_0x140992[_0x536293(0x192)]){if(this[_0x536293(0x259)]===_0x140992[_0x536293(0x27a)]){_0x21cf1e(this,this['_req'],_0x536293(0xe9));return;}this[_0x536293(0x10e)]&&(this[_0x536293(0xf8)]=_0x140992[_0x536293(0x1bf)],this[_0x536293(0x10e)][_0x536293(0x10b)]());}}}Object['defineProperty'](_0x140992,_0x5efba4(0x27a),{'enumerable':!0x0,'value':_0x2a920e[_0x5efba4(0xf1)](_0x5efba4(0x27a))}),Object[_0x5efba4(0xdb)](_0x140992[_0x5efba4(0x188)],_0x5efba4(0x27a),{'enumerable':!0x0,'value':_0x2a920e[_0x5efba4(0xf1)]('CONNECTING')}),Object[_0x5efba4(0xdb)](_0x140992,'OPEN',{'enumerable':!0x0,'value':_0x2a920e[_0x5efba4(0xf1)](_0x5efba4(0x13e))}),Object[_0x5efba4(0xdb)](_0x140992[_0x5efba4(0x188)],_0x5efba4(0x13e),{'enumerable':!0x0,'value':_0x2a920e[_0x5efba4(0xf1)](_0x5efba4(0x13e))}),Object[_0x5efba4(0xdb)](_0x140992,'CLOSING',{'enumerable':!0x0,'value':_0x2a920e[_0x5efba4(0xf1)](_0x5efba4(0x1bf))}),Object[_0x5efba4(0xdb)](_0x140992[_0x5efba4(0x188)],_0x5efba4(0x1bf),{'enumerable':!0x0,'value':_0x2a920e[_0x5efba4(0xf1)](_0x5efba4(0x1bf))}),Object[_0x5efba4(0xdb)](_0x140992,_0x5efba4(0x192),{'enumerable':!0x0,'value':_0x2a920e[_0x5efba4(0xf1)](_0x5efba4(0x192))}),Object['defineProperty'](_0x140992['prototype'],_0x5efba4(0x192),{'enumerable':!0x0,'value':_0x2a920e[_0x5efba4(0xf1)]('CLOSED')}),[_0x5efba4(0x1d1),_0x5efba4(0x146),_0x5efba4(0x1a7),_0x5efba4(0x143),'protocol',_0x5efba4(0x259),_0x5efba4(0x156)][_0x5efba4(0x203)](_0xa0c46c=>{const _0x1f084b=_0x5efba4;Object[_0x1f084b(0xdb)](_0x140992[_0x1f084b(0x188)],_0xa0c46c,{'enumerable':!0x0});}),[_0x5efba4(0x24a),_0x5efba4(0x12f),_0x5efba4(0x23e),_0x5efba4(0x23c)][_0x5efba4(0x203)](_0x1e90e2=>{const _0x47d918=_0x5efba4;Object[_0x47d918(0xdb)](_0x140992[_0x47d918(0x188)],'on'+_0x1e90e2,{'enumerable':!0x0,'get'(){const _0x1aa91f=_0x47d918;for(const _0x3b46df of this[_0x1aa91f(0x28e)](_0x1e90e2))if(_0x3b46df[_0x439656])return _0x3b46df[_0x4a8f81];return null;},'set'(_0x13514b){const _0x14c52b=_0x47d918;for(const _0x4eb729 of this[_0x14c52b(0x28e)](_0x1e90e2))if(_0x4eb729[_0x439656]){this['removeListener'](_0x1e90e2,_0x4eb729);break;}typeof _0x13514b==_0x14c52b(0x18c)&&this[_0x14c52b(0x22e)](_0x1e90e2,_0x13514b,{[_0x439656]:!0x0});}});}),_0x140992[_0x5efba4(0x188)][_0x5efba4(0x22e)]=_0x537fbb,_0x140992['prototype'][_0x5efba4(0x1ac)]=_0x15dad6,we=_0x140992;function _0x11a10a(_0x11e415,_0x141d14,_0x3d25d6,_0x222ad7){const _0x1ba570=_0x5efba4,_0x4f280c={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x55faea[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x222ad7,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x1ba570(0x2a2),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x11e415['_autoPong']=_0x4f280c['autoPong'],!_0x55faea['includes'](_0x4f280c[_0x1ba570(0x28d)]))throw new RangeError(_0x1ba570(0x230)+_0x4f280c[_0x1ba570(0x28d)]+_0x1ba570(0x208)+_0x55faea[_0x1ba570(0x25d)](',\x20')+')');let _0x5861e4;if(_0x141d14 instanceof _0x1df8ba)_0x5861e4=_0x141d14;else try{_0x5861e4=new _0x1df8ba(_0x141d14);}catch{throw new SyntaxError(_0x1ba570(0x1ee)+_0x141d14);}_0x5861e4[_0x1ba570(0xee)]===_0x1ba570(0x299)?_0x5861e4[_0x1ba570(0xee)]='ws:':_0x5861e4['protocol']===_0x1ba570(0x194)&&(_0x5861e4[_0x1ba570(0xee)]=_0x1ba570(0x123)),_0x11e415['_url']=_0x5861e4[_0x1ba570(0x10c)];const _0x4b5355=_0x5861e4[_0x1ba570(0xee)]==='wss:',_0x2f3432=_0x5861e4[_0x1ba570(0xee)]==='ws+unix:';let _0x571dc2;if(_0x5861e4[_0x1ba570(0xee)]!==_0x1ba570(0x221)&&!_0x4b5355&&!_0x2f3432?_0x571dc2=_0x1ba570(0x23f):_0x2f3432&&!_0x5861e4['pathname']?_0x571dc2='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x5861e4['hash']&&(_0x571dc2=_0x1ba570(0x169)),_0x571dc2){const _0x4a1eb1=new SyntaxError(_0x571dc2);if(_0x11e415[_0x1ba570(0x22a)]===0x0)throw _0x4a1eb1;_0x1701a5(_0x11e415,_0x4a1eb1);return;}const _0x279f9e=_0x4b5355?0x1bb:0x50,_0x3c9296=_0x36e8d3(0x10)['toString'](_0x1ba570(0x29e)),_0x1ceb6e=_0x4b5355?_0x49ae70[_0x1ba570(0x1f3)]:_0xf0f715[_0x1ba570(0x1f3)],_0x4710ff=new Set();let _0x515103;if(_0x4f280c[_0x1ba570(0x17d)]=_0x4f280c[_0x1ba570(0x17d)]||(_0x4b5355?_0x1e5867:_0x1be224),_0x4f280c['defaultPort']=_0x4f280c[_0x1ba570(0xd5)]||_0x279f9e,_0x4f280c[_0x1ba570(0x10a)]=_0x5861e4[_0x1ba570(0x10a)]||_0x279f9e,_0x4f280c['host']=_0x5861e4[_0x1ba570(0x258)][_0x1ba570(0x29f)]('[')?_0x5861e4[_0x1ba570(0x258)][_0x1ba570(0xe8)](0x1,-0x1):_0x5861e4[_0x1ba570(0x258)],_0x4f280c['headers']={..._0x4f280c[_0x1ba570(0x1b2)],'Sec-WebSocket-Version':_0x4f280c[_0x1ba570(0x28d)],'Sec-WebSocket-Key':_0x3c9296,'Connection':_0x1ba570(0x275),'Upgrade':_0x1ba570(0x225)},_0x4f280c['path']=_0x5861e4[_0x1ba570(0x276)]+_0x5861e4[_0x1ba570(0x25f)],_0x4f280c[_0x1ba570(0x278)]=_0x4f280c[_0x1ba570(0x29a)],_0x4f280c[_0x1ba570(0x263)]&&(_0x515103=new _0xf6e63(_0x4f280c[_0x1ba570(0x263)]!==!0x0?_0x4f280c[_0x1ba570(0x263)]:{},!0x1,_0x4f280c[_0x1ba570(0x1f6)]),_0x4f280c[_0x1ba570(0x1b2)]['Sec-WebSocket-Extensions']=_0xe7e859({[_0xf6e63[_0x1ba570(0x147)]]:_0x515103[_0x1ba570(0x28c)]()})),_0x3d25d6[_0x1ba570(0x1a1)]){for(const _0x1640d8 of _0x3d25d6){if(typeof _0x1640d8!=_0x1ba570(0x1e8)||!_0x11d1a3[_0x1ba570(0x23d)](_0x1640d8)||_0x4710ff[_0x1ba570(0x1b7)](_0x1640d8))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x4710ff[_0x1ba570(0x106)](_0x1640d8);}_0x4f280c['headers'][_0x1ba570(0x1d6)]=_0x3d25d6['join'](',');}if(_0x4f280c[_0x1ba570(0x1ab)]&&(_0x4f280c[_0x1ba570(0x28d)]<0xd?_0x4f280c[_0x1ba570(0x1b2)][_0x1ba570(0x291)]=_0x4f280c['origin']:_0x4f280c[_0x1ba570(0x1b2)][_0x1ba570(0x16d)]=_0x4f280c[_0x1ba570(0x1ab)]),(_0x5861e4['username']||_0x5861e4[_0x1ba570(0x1a2)])&&(_0x4f280c['auth']=_0x5861e4[_0x1ba570(0x14a)]+':'+_0x5861e4[_0x1ba570(0x1a2)]),_0x2f3432){const _0x33df63=_0x4f280c[_0x1ba570(0x15d)]['split'](':');_0x4f280c['socketPath']=_0x33df63[0x0],_0x4f280c['path']=_0x33df63[0x1];}let _0x4da44a;if(_0x4f280c[_0x1ba570(0x1f4)]){if(_0x11e415[_0x1ba570(0x22a)]===0x0){_0x11e415[_0x1ba570(0x1ae)]=_0x2f3432,_0x11e415[_0x1ba570(0x16e)]=_0x4b5355,_0x11e415['_originalHostOrSocketPath']=_0x2f3432?_0x4f280c[_0x1ba570(0x20d)]:_0x5861e4[_0x1ba570(0x1e0)];const _0x59d016=_0x222ad7&&_0x222ad7[_0x1ba570(0x1b2)];if(_0x222ad7={..._0x222ad7,'headers':{}},_0x59d016){for(const [_0x5b44d0,_0x157e74]of Object[_0x1ba570(0x1f9)](_0x59d016))_0x222ad7[_0x1ba570(0x1b2)][_0x5b44d0[_0x1ba570(0x178)]()]=_0x157e74;}}else{if(_0x11e415[_0x1ba570(0x14e)](_0x1ba570(0x224))===0x0){const _0x2afd24=_0x2f3432?_0x11e415[_0x1ba570(0x1ae)]?_0x4f280c[_0x1ba570(0x20d)]===_0x11e415['_originalHostOrSocketPath']:!0x1:_0x11e415['_originalIpc']?!0x1:_0x5861e4[_0x1ba570(0x1e0)]===_0x11e415[_0x1ba570(0x164)];(!_0x2afd24||_0x11e415[_0x1ba570(0x16e)]&&!_0x4b5355)&&(delete _0x4f280c[_0x1ba570(0x1b2)][_0x1ba570(0x1b4)],delete _0x4f280c['headers'][_0x1ba570(0x167)],_0x2afd24||delete _0x4f280c['headers'][_0x1ba570(0x1e0)],_0x4f280c[_0x1ba570(0x114)]=void 0x0);}}_0x4f280c[_0x1ba570(0x114)]&&!_0x222ad7[_0x1ba570(0x1b2)][_0x1ba570(0x1b4)]&&(_0x222ad7[_0x1ba570(0x1b2)]['authorization']=_0x1ba570(0x29c)+Buffer[_0x1ba570(0x1e4)](_0x4f280c[_0x1ba570(0x114)])[_0x1ba570(0x231)](_0x1ba570(0x29e))),_0x4da44a=_0x11e415['_req']=_0x1ceb6e(_0x4f280c),_0x11e415[_0x1ba570(0x22a)]&&_0x11e415[_0x1ba570(0x292)]('redirect',_0x11e415[_0x1ba570(0x156)],_0x4da44a);}else _0x4da44a=_0x11e415[_0x1ba570(0x28f)]=_0x1ceb6e(_0x4f280c);_0x4f280c['timeout']&&_0x4da44a['on']('timeout',()=>{const _0x5d968c=_0x1ba570;_0x21cf1e(_0x11e415,_0x4da44a,_0x5d968c(0x1c8));}),_0x4da44a['on'](_0x1ba570(0x12f),_0x5d160a=>{_0x4da44a===null||_0x4da44a[_0xd4b060]||(_0x4da44a=_0x11e415['_req']=null,_0x1701a5(_0x11e415,_0x5d160a));}),_0x4da44a['on'](_0x1ba570(0x1b9),_0x5b0030=>{const _0x569edb=_0x1ba570,_0x1897dd=_0x5b0030[_0x569edb(0x1b2)][_0x569edb(0x244)],_0x313913=_0x5b0030[_0x569edb(0x113)];if(_0x1897dd&&_0x4f280c[_0x569edb(0x1f4)]&&_0x313913>=0x12c&&_0x313913<0x190){if(++_0x11e415[_0x569edb(0x22a)]>_0x4f280c[_0x569edb(0x14b)]){_0x21cf1e(_0x11e415,_0x4da44a,_0x569edb(0x1bd));return;}_0x4da44a['abort']();let _0x4169a9;try{_0x4169a9=new _0x1df8ba(_0x1897dd,_0x141d14);}catch{const _0x232ce2=new SyntaxError('Invalid\x20URL:\x20'+_0x1897dd);_0x1701a5(_0x11e415,_0x232ce2);return;}_0x11a10a(_0x11e415,_0x4169a9,_0x3d25d6,_0x222ad7);}else _0x11e415[_0x569edb(0x292)](_0x569edb(0x15b),_0x4da44a,_0x5b0030)||_0x21cf1e(_0x11e415,_0x4da44a,_0x569edb(0x13a)+_0x5b0030[_0x569edb(0x113)]);}),_0x4da44a['on']('upgrade',(_0x5c1797,_0x49bda9,_0x59d2eb)=>{const _0x33727c=_0x1ba570;if(_0x11e415[_0x33727c(0x292)](_0x33727c(0x297),_0x5c1797),_0x11e415[_0x33727c(0x259)]!==_0x140992[_0x33727c(0x27a)])return;_0x4da44a=_0x11e415[_0x33727c(0x28f)]=null;const _0x4cda91=_0x5c1797[_0x33727c(0x1b2)][_0x33727c(0x297)];if(_0x4cda91===void 0x0||_0x4cda91[_0x33727c(0x178)]()!==_0x33727c(0x225)){_0x21cf1e(_0x11e415,_0x49bda9,_0x33727c(0x16c));return;}const _0x405ea9=_0x1e2c41(_0x33727c(0x1d4))[_0x33727c(0x139)](_0x3c9296+_0x62a97b)[_0x33727c(0x1bc)](_0x33727c(0x29e));if(_0x5c1797[_0x33727c(0x1b2)][_0x33727c(0x1d2)]!==_0x405ea9){_0x21cf1e(_0x11e415,_0x49bda9,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x3e53d2=_0x5c1797['headers'][_0x33727c(0x243)];let _0x31133c;if(_0x3e53d2!==void 0x0?_0x4710ff[_0x33727c(0x18a)]?_0x4710ff['has'](_0x3e53d2)||(_0x31133c=_0x33727c(0x287)):_0x31133c=_0x33727c(0x16a):_0x4710ff[_0x33727c(0x18a)]&&(_0x31133c=_0x33727c(0x22b)),_0x31133c){_0x21cf1e(_0x11e415,_0x49bda9,_0x31133c);return;}_0x3e53d2&&(_0x11e415['_protocol']=_0x3e53d2);const _0x44450b=_0x5c1797[_0x33727c(0x1b2)]['sec-websocket-extensions'];if(_0x44450b!==void 0x0){if(!_0x515103){_0x21cf1e(_0x11e415,_0x49bda9,_0x33727c(0x189));return;}let _0x11df1a;try{_0x11df1a=_0xf2a3ab(_0x44450b);}catch{_0x21cf1e(_0x11e415,_0x49bda9,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x2f2f84=Object[_0x33727c(0xe1)](_0x11df1a);if(_0x2f2f84[_0x33727c(0x1a1)]!==0x1||_0x2f2f84[0x0]!==_0xf6e63[_0x33727c(0x147)]){_0x21cf1e(_0x11e415,_0x49bda9,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x515103[_0x33727c(0x23b)](_0x11df1a[_0xf6e63[_0x33727c(0x147)]]);}catch{_0x21cf1e(_0x11e415,_0x49bda9,_0x33727c(0x118));return;}_0x11e415[_0x33727c(0x288)][_0xf6e63[_0x33727c(0x147)]]=_0x515103;}_0x11e415['setSocket'](_0x49bda9,_0x59d2eb,{'allowSynchronousEvents':_0x4f280c[_0x33727c(0x128)],'generateMask':_0x4f280c[_0x33727c(0x17c)],'maxPayload':_0x4f280c[_0x33727c(0x1f6)],'skipUTF8Validation':_0x4f280c[_0x33727c(0x19c)]});}),_0x4f280c[_0x1ba570(0x271)]?_0x4f280c[_0x1ba570(0x271)](_0x4da44a,_0x11e415):_0x4da44a[_0x1ba570(0x1b0)]();}function _0x1701a5(_0x1929ec,_0x4f7709){const _0x2c66b8=_0x5efba4;_0x1929ec['_readyState']=_0x140992[_0x2c66b8(0x1bf)],_0x1929ec[_0x2c66b8(0x155)]=!0x0,_0x1929ec['emit']('error',_0x4f7709),_0x1929ec['emitClose']();}function _0x1be224(_0x35ed65){const _0x12e2c5=_0x5efba4;return _0x35ed65[_0x12e2c5(0x15d)]=_0x35ed65[_0x12e2c5(0x20d)],_0x2cd3a4['connect'](_0x35ed65);}function _0x1e5867(_0x1beb37){const _0x4ff112=_0x5efba4;return _0x1beb37['path']=void 0x0,!_0x1beb37['servername']&&_0x1beb37['servername']!==''&&(_0x1beb37[_0x4ff112(0x18b)]=_0x2cd3a4[_0x4ff112(0x207)](_0x1beb37[_0x4ff112(0x1e0)])?'':_0x1beb37['host']),_0xb46a4e[_0x4ff112(0x133)](_0x1beb37);}function _0x21cf1e(_0x542f4b,_0x469384,_0x224f24){const _0x20bc62=_0x5efba4;_0x542f4b['_readyState']=_0x140992[_0x20bc62(0x1bf)];const _0x1192c6=new Error(_0x224f24);Error['captureStackTrace'](_0x1192c6,_0x21cf1e),_0x469384['setHeader']?(_0x469384[_0xd4b060]=!0x0,_0x469384['abort'](),_0x469384['socket']&&!_0x469384[_0x20bc62(0x237)]['destroyed']&&_0x469384[_0x20bc62(0x237)][_0x20bc62(0x10b)](),process[_0x20bc62(0x199)](_0x1701a5,_0x542f4b,_0x1192c6)):(_0x469384[_0x20bc62(0x10b)](_0x1192c6),_0x469384['once'](_0x20bc62(0x12f),_0x542f4b['emit']['bind'](_0x542f4b,_0x20bc62(0x12f))),_0x469384['once'](_0x20bc62(0x23e),_0x542f4b['emitClose']['bind'](_0x542f4b)));}function _0x55a65b(_0x43362a,_0x5b7832,_0x5d1d9c){const _0x4f5bab=_0x5efba4;if(_0x5b7832){const _0x464f62=_0x178f82(_0x5b7832)?_0x5b7832['size']:_0x3b28a8(_0x5b7832)['length'];_0x43362a[_0x4f5bab(0x10e)]?_0x43362a[_0x4f5bab(0x202)]['_bufferedBytes']+=_0x464f62:_0x43362a[_0x4f5bab(0x158)]+=_0x464f62;}if(_0x5d1d9c){const _0x5ebc0f=new Error(_0x4f5bab(0x14c)+_0x43362a[_0x4f5bab(0x259)]+'\x20('+_0x2a920e[_0x43362a[_0x4f5bab(0x259)]]+')');process['nextTick'](_0x5d1d9c,_0x5ebc0f);}}function _0x737e3c(_0x22e28c,_0x10f263){const _0x4d08a2=_0x5efba4,_0x3cbd6b=this[_0x1a7266];_0x3cbd6b[_0x4d08a2(0x248)]=!0x0,_0x3cbd6b[_0x4d08a2(0x270)]=_0x10f263,_0x3cbd6b[_0x4d08a2(0x103)]=_0x22e28c,_0x3cbd6b[_0x4d08a2(0x10e)][_0x1a7266]!==void 0x0&&(_0x3cbd6b['_socket'][_0x4d08a2(0xe3)](_0x4d08a2(0x204),_0x3b9c99),process[_0x4d08a2(0x199)](_0x3fc688,_0x3cbd6b[_0x4d08a2(0x10e)]),_0x22e28c===0x3ed?_0x3cbd6b[_0x4d08a2(0x23e)]():_0x3cbd6b[_0x4d08a2(0x23e)](_0x22e28c,_0x10f263));}function _0x3f6b93(){const _0x29dbfe=_0x5efba4,_0x379499=this[_0x1a7266];_0x379499[_0x29dbfe(0x143)]||_0x379499[_0x29dbfe(0x10e)][_0x29dbfe(0x1c5)]();}function _0xac93f8(_0x48d4b1){const _0x3428f0=_0x5efba4,_0x44ebc0=this[_0x1a7266];_0x44ebc0[_0x3428f0(0x10e)][_0x1a7266]!==void 0x0&&(_0x44ebc0[_0x3428f0(0x10e)][_0x3428f0(0xe3)](_0x3428f0(0x204),_0x3b9c99),process[_0x3428f0(0x199)](_0x3fc688,_0x44ebc0['_socket']),_0x44ebc0[_0x3428f0(0x23e)](_0x48d4b1[_0x275989])),_0x44ebc0[_0x3428f0(0x155)]||(_0x44ebc0[_0x3428f0(0x155)]=!0x0,_0x44ebc0[_0x3428f0(0x292)](_0x3428f0(0x12f),_0x48d4b1));}function _0x221900(){const _0x2c49af=_0x5efba4;this[_0x1a7266][_0x2c49af(0x1d8)]();}function _0x59beba(_0x56a394,_0x36eac4){const _0x89ce3c=_0x5efba4;this[_0x1a7266][_0x89ce3c(0x292)](_0x89ce3c(0x23c),_0x56a394,_0x36eac4);}function _0x45430e(_0x1e1d5d){const _0x5d0df5=_0x5efba4,_0x517eae=this[_0x1a7266];_0x517eae[_0x5d0df5(0x108)]&&_0x517eae['pong'](_0x1e1d5d,!this['_isServer'],_0x3b9765),_0x517eae['emit']('ping',_0x1e1d5d);}function _0x17de5f(_0x22512e){const _0x2e870c=_0x5efba4;this[_0x1a7266][_0x2e870c(0x292)](_0x2e870c(0xe0),_0x22512e);}function _0x3fc688(_0x41af53){_0x41af53['resume']();}function _0x5a940b(_0x5de66c){const _0x3031bb=_0x5efba4,_0x55fbf9=this[_0x1a7266];_0x55fbf9['readyState']!==_0x140992[_0x3031bb(0x192)]&&(_0x55fbf9[_0x3031bb(0x259)]===_0x140992[_0x3031bb(0x13e)]&&(_0x55fbf9[_0x3031bb(0xf8)]=_0x140992[_0x3031bb(0x1bf)],_0x41ed5e(_0x55fbf9)),this[_0x3031bb(0x10e)][_0x3031bb(0x1b0)](),_0x55fbf9[_0x3031bb(0x155)]||(_0x55fbf9[_0x3031bb(0x155)]=!0x0,_0x55fbf9[_0x3031bb(0x292)](_0x3031bb(0x12f),_0x5de66c)));}function _0x41ed5e(_0x7ba849){const _0x5f21a6=_0x5efba4;_0x7ba849[_0x5f21a6(0x15a)]=setTimeout(_0x7ba849['_socket'][_0x5f21a6(0x10b)][_0x5f21a6(0x115)](_0x7ba849[_0x5f21a6(0x10e)]),_0x303c46);}function _0x411c84(){const _0x4e6c5b=_0x5efba4,_0x5e150a=this[_0x1a7266];this[_0x4e6c5b(0xe3)](_0x4e6c5b(0x23e),_0x411c84),this[_0x4e6c5b(0xe3)](_0x4e6c5b(0x204),_0x3b9c99),this[_0x4e6c5b(0xe3)]('end',_0x2b2a8b),_0x5e150a[_0x4e6c5b(0xf8)]=_0x140992['CLOSING'];let _0x2b3f52;!this[_0x4e6c5b(0x17a)][_0x4e6c5b(0x12d)]&&!_0x5e150a[_0x4e6c5b(0x248)]&&!_0x5e150a[_0x4e6c5b(0x1ea)]['_writableState'][_0x4e6c5b(0x21e)]&&(_0x2b3f52=_0x5e150a[_0x4e6c5b(0x10e)][_0x4e6c5b(0x18d)]())!==null&&_0x5e150a['_receiver'][_0x4e6c5b(0x233)](_0x2b3f52),_0x5e150a[_0x4e6c5b(0x1ea)][_0x4e6c5b(0x1b0)](),this[_0x1a7266]=void 0x0,clearTimeout(_0x5e150a[_0x4e6c5b(0x15a)]),_0x5e150a['_receiver'][_0x4e6c5b(0x186)]['finished']||_0x5e150a['_receiver'][_0x4e6c5b(0x186)][_0x4e6c5b(0x21e)]?_0x5e150a[_0x4e6c5b(0x1d8)]():(_0x5e150a['_receiver']['on']('error',_0x221900),_0x5e150a[_0x4e6c5b(0x1ea)]['on'](_0x4e6c5b(0x26c),_0x221900));}function _0x3b9c99(_0xbe0004){const _0x290c47=_0x5efba4;this[_0x1a7266][_0x290c47(0x1ea)]['write'](_0xbe0004)||this['pause']();}function _0x2b2a8b(){const _0x1c558c=_0x5efba4,_0x2e9aae=this[_0x1a7266];_0x2e9aae['_readyState']=_0x140992['CLOSING'],_0x2e9aae[_0x1c558c(0x1ea)][_0x1c558c(0x1b0)](),this[_0x1c558c(0x1b0)]();}function _0x278fae(){const _0x48b0a0=_0x5efba4,_0x51ac11=this[_0x1a7266];this[_0x48b0a0(0xe3)](_0x48b0a0(0x12f),_0x278fae),this['on'](_0x48b0a0(0x12f),_0x3b9765),_0x51ac11&&(_0x51ac11[_0x48b0a0(0xf8)]=_0x140992['CLOSING'],this[_0x48b0a0(0x10b)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x146dbf}=oe;function _0x35b3dc(_0x278fc3){const _0x22c710=_0x4d5a;_0x278fc3['emit'](_0x22c710(0x23e));}function _0x568a44(){const _0x2ea968=_0x4d5a;!this['destroyed']&&this[_0x2ea968(0x186)][_0x2ea968(0xf9)]&&this[_0x2ea968(0x10b)]();}function _0x262a7f(_0x3d8715){const _0xf8e5a8=_0x4d5a;this[_0xf8e5a8(0xe3)](_0xf8e5a8(0x12f),_0x262a7f),this[_0xf8e5a8(0x10b)](),this[_0xf8e5a8(0x14e)](_0xf8e5a8(0x12f))===0x0&&this['emit'](_0xf8e5a8(0x12f),_0x3d8715);}function _0x488b82(_0x47a387,_0x1de81e){const _0x1f0221=_0x4d5a;let _0x2c8cb0=!0x0;const _0x25e09d=new _0x146dbf({..._0x1de81e,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x47a387['on']('message',function(_0x8c6364,_0x208751){const _0x1a6e9f=_0x4d5a,_0x4d7649=!_0x208751&&_0x25e09d[_0x1a6e9f(0x17a)][_0x1a6e9f(0x102)]?_0x8c6364[_0x1a6e9f(0x231)]():_0x8c6364;_0x25e09d[_0x1a6e9f(0x1ec)](_0x4d7649)||_0x47a387[_0x1a6e9f(0x144)]();}),_0x47a387[_0x1f0221(0x16b)](_0x1f0221(0x12f),function(_0x4a4458){const _0x46a92c=_0x1f0221;_0x25e09d['destroyed']||(_0x2c8cb0=!0x1,_0x25e09d[_0x46a92c(0x10b)](_0x4a4458));}),_0x47a387[_0x1f0221(0x16b)](_0x1f0221(0x23e),function(){const _0x5eeafc=_0x1f0221;_0x25e09d[_0x5eeafc(0x196)]||_0x25e09d[_0x5eeafc(0x1ec)](null);}),_0x25e09d[_0x1f0221(0x107)]=function(_0x225893,_0x4d6648){const _0x18ccd8=_0x1f0221;if(_0x47a387['readyState']===_0x47a387[_0x18ccd8(0x192)]){_0x4d6648(_0x225893),process['nextTick'](_0x35b3dc,_0x25e09d);return;}let _0x21beae=!0x1;_0x47a387['once'](_0x18ccd8(0x12f),function(_0x1bd9ad){_0x21beae=!0x0,_0x4d6648(_0x1bd9ad);}),_0x47a387[_0x18ccd8(0x16b)](_0x18ccd8(0x23e),function(){const _0x466c19=_0x18ccd8;_0x21beae||_0x4d6648(_0x225893),process[_0x466c19(0x199)](_0x35b3dc,_0x25e09d);}),_0x2c8cb0&&_0x47a387['terminate']();},_0x25e09d[_0x1f0221(0x285)]=function(_0x1be8bf){const _0x596d2b=_0x1f0221;if(_0x47a387[_0x596d2b(0x259)]===_0x47a387['CONNECTING']){_0x47a387[_0x596d2b(0x16b)]('open',function(){_0x25e09d['_final'](_0x1be8bf);});return;}_0x47a387[_0x596d2b(0x10e)]!==null&&(_0x47a387[_0x596d2b(0x10e)][_0x596d2b(0x186)][_0x596d2b(0xf9)]?(_0x1be8bf(),_0x25e09d[_0x596d2b(0x17a)][_0x596d2b(0x12d)]&&_0x25e09d[_0x596d2b(0x10b)]()):(_0x47a387[_0x596d2b(0x10e)][_0x596d2b(0x16b)](_0x596d2b(0x26c),function(){_0x1be8bf();}),_0x47a387[_0x596d2b(0x23e)]()));},_0x25e09d[_0x1f0221(0x250)]=function(){const _0x353be7=_0x1f0221;_0x47a387[_0x353be7(0x143)]&&_0x47a387['resume']();},_0x25e09d['_write']=function(_0x1c1d0e,_0x4d33af,_0x1297ef){const _0x584fde=_0x1f0221;if(_0x47a387[_0x584fde(0x259)]===_0x47a387[_0x584fde(0x27a)]){_0x47a387[_0x584fde(0x16b)](_0x584fde(0x24a),function(){const _0x55425c=_0x584fde;_0x25e09d[_0x55425c(0x2a6)](_0x1c1d0e,_0x4d33af,_0x1297ef);});return;}_0x47a387[_0x584fde(0x282)](_0x1c1d0e,_0x1297ef);},_0x25e09d['on']('end',_0x568a44),_0x25e09d['on']('error',_0x262a7f),_0x25e09d;}return Oe=_0x488b82,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);function _0x1ba9(){const _0x462d87=['function','read','_url','DependentOn','_maxPayload','params','CLOSED','getMask','https:','_buffers','destroyed','startLoop','client_no_context_takeover','nextTick','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','getConfig','skipUTF8Validation','mask','wasClean','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','length','password','clientNoContextTakeover','createDeflateRaw','sendFrame','getBlobData','extensions','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','setSocket','map','origin','removeEventListener','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_originalIpc','_queue','end','invalid\x20status\x20code\x20','headers','server_no_context_takeover','authorization','reason','Parameter\x20\x22','has','_inflate','response','rsv1','NodeCollaborationSocketService','digest','Maximum\x20redirects\x20exceeded','enqueue','CLOSING','createSocket','Upgrade:\x20websocket','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','handleProtocols','_state','resume','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','call','Opening\x20handshake\x20has\x20timed\x20out','Injector','concurrencyLimit','kAborted','consume','onStarting','method','\x22\x20must\x20have\x20only\x20a\x20single\x20value','isArray','binaryType','sec-websocket-accept','getData','sha1','byteLength','Sec-WebSocket-Protocol','captureStackTrace','emitClose','then','_skipUTF8Validation','hasOwnProperty','connection','_opcode','IConfigService','_mask','host','_compressed','getInfo','acceptAsServer','from','encrypted','Inject','_binaryType','string','writeHead','_receiver','toDisposable','push','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','Invalid\x20URL:\x20','terminate','apply','_doCreateSocket','_no_context_takeover','request','followRedirects','WS_ERR_EXPECTED_FIN','maxPayload','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','kIsForOnEventAttribute','entries','construct','_errored','WebSocket','dispatch','dispose','Sec-WebSocket-Extensions:\x20','catch','Invalid\x20Sec-WebSocket-Protocol\x20header','_sender','forEach','data','completeUpgrade','readOnly','isIP','\x20(supported\x20versions:\x20','WS_ERR_INVALID_UTF8','serverNoContextTakeover','binary','handleUpgrade','socketPath','Unexpected\x20end\x20of\x20input','flush','pow','cleanup','FIN\x20must\x20be\x20set','WS_NO_UTF_8_VALIDATE','fragments','setNoDelay','clients','_options','set','callback','isValidUTF8','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','clientMaxWindowBits','byteOffset','errorEmitted','_paused','backlog','ws:','HTTPService','total-length','redirect','websocket','type','maskBuffer','fin','charCodeAt','_redirects','Server\x20sent\x20no\x20subprotocol','clientTracking','_loop','addEventListener','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','Unsupported\x20protocol\x20version:\x20','toString','client_max_window_bits','write','_closeFrameSent','toStringTag','WS_ERR_UNEXPECTED_RSV_1','socket','5875105Xqljhf','kError','concat','accept','message','test','close','The\x20URL\x27s\x20protocol\x20must\x20be\x20one\x20of\x20\x22ws:\x22,\x20\x22wss:\x22,\x20\x22http:\x22,\x20\x22https:\x22,\x20or\x20\x22ws+unix:\x22','Module','kReason','_configService','sec-websocket-protocol','location','_fragmented','invalid\x20opcode\x200','kTarget','_closeFrameReceived','shouldHandle','open','removeAllListeners','next','_generateMask','get','code','_read','haveLength','find','server','Invalid\x20HTTP\x20method','setTimeout','create','CollaborationSocketService','hostname','readyState','writeUIntBE','normalizeParams','_registerDependencies','join','warn','search','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_masked','44YKSaJZ','perMessageDeflate','COLLABORATION_CLIENT_NODE_CONFIG_KEY','readUInt16BE','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','sec-websocket-version','threshold','reset','_protocol','kWasClean','finish','_threshold','handleEvent','buffer','_closeMessage','finishRequest','sec-websocket-key','WS_ERR_UNEXPECTED_RSV_2_3','RSV1\x20must\x20be\x20clear','Upgrade','pathname','MASK\x20must\x20be\x20set','timeout','kDone','CONNECTING','_fin','ISnapshotServerService','__esModule','_decompress','nodebuffer','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','The\x20\x22','send','compress','Z_DEFAULT_WINDOWBITS','_final','_shouldEmitClose','Server\x20sent\x20an\x20invalid\x20subprotocol','_extensions','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','\x22\x20subprotocol\x20is\x20duplicated','client','offer','protocolVersion','listeners','_req','_max_window_bits','Sec-WebSocket-Origin','emit','freeze','replace','54TKuYgq','pipe','upgrade','_deflate','http:','handshakeTimeout','MASK\x20must\x20be\x20clear','Basic\x20','WS_ERR_INVALID_CLOSE_CODE','base64','startsWith','server_max_window_bits','WS_ERR_INVALID_OPCODE','GET','registerDependencies','listening','registerHTTPInterceptor','_write','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','defaultPort','constructor','concurrency','object','arraybuffer','_removeListeners','defineProperty','conclude','ISocketService','pluginName','jobs','pong','keys','default','removeListener','ping','wsClientError','permessage-deflate','alloc','slice','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Unexpected\x20character\x20at\x20index\x20','collaboration-client-node.config','WS_ERR_UNEXPECTED_MASK','_injector','protocol','invalid\x20opcode\x20','38652xaxPVc','indexOf','_firstFragment','unshift','_payloadLength','text/html','unmask','listen','_readyState','finished','autoPong','customHeaders','_messageLength','opcode','share','dataMessage','_httpService','_allowSynchronousEvents','objectMode','_closeCode','target','dequeue','add','_destroy','_autoPong','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','port','destroy','href','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_socket','exports','_totalPayloadLength','UniverCollaborationClientPlugin','2483288fMYBMm','statusCode','auth','bind','drain','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Invalid\x20Sec-WebSocket-Extensions\x20header','needDrain','pending','STATUS_CODES','parse','frame','isServer','stream','writeUInt16BE','Blob','\x0d\x0a\x0d\x0a','wss:','Sec-WebSocket-Accept:\x20','createError','_isServer','_server','allowSynchronousEvents','shift','kMessage','Z_SYNC_FLUSH','verifyClient','endEmitted','getPayloadLength16','error','onclose','kRun','Invalid\x20value\x20for\x20parameter\x20\x22','connect','number','HTTP/1.1\x20','sec-websocket-extensions','18YrvJSg','148697XRrAeN','update','Unexpected\x20server\x20response:\x20','_compress','DisposableCollection','Observable','OPEN','kByteLength','1763690upeHzt','The\x20server\x20is\x20not\x20running','kCode','isPaused','pause','44708SGMNLe','bufferedAmount','extensionName','species','invalid\x20payload\x20length\x20','username','maxRedirects','WebSocket\x20is\x20not\x20open:\x20readyState\x20','invalid\x20UTF-8\x20sequence','listenerCount','value','options','writable','_fragments','WS_ERR_EXPECTED_MASK','serverMaxWindowBits','_errorEmitted','url','Connection:\x20Upgrade','_bufferedAmount','allocUnsafe','_closeTimer','unexpected-response','13,\x208','path','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','Max\x20payload\x20size\x20exceeded','_maskBuffer','Disposable','env','createInflateRaw','_originalHostOrSocketPath','onerror','HTTP/1.1\x20101\x20Switching\x20Protocols','cookie','UniverCollaborationClientNodePlugin','The\x20URL\x20contains\x20a\x20fragment\x20identifier','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','once','Invalid\x20Upgrade\x20header','Origin','_originalSecure','readUInt32BE','getOwnPropertyDescriptor','noServer','isInteger','WS_NO_BUFFER_UTIL','Sec-WebSocket-Protocol:\x20','values','_bufferedBytes','1169MSKfZr','toLowerCase','Unknown\x20parameter\x20\x22','_readableState','2CkUpDN','generateMask','createConnection','zlibDeflateOptions','3928272VOuOSr','address','\x22:\x20','decompress','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','status-code','isBuffer','_writableState','onmessage','prototype','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','size','servername'];_0x1ba9=function(){return _0x462d87;};return _0x1ba9();}var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x48dbb4}=ae();function _0x363a96(_0x2a71f3){const _0x3df15f=_0x4d5a,_0x4b637e=new Set();let _0x4931d6=-0x1,_0x237630=-0x1,_0x5c9bd2=0x0;for(_0x5c9bd2;_0x5c9bd2<_0x2a71f3[_0x3df15f(0x1a1)];_0x5c9bd2++){const _0x1a0b26=_0x2a71f3[_0x3df15f(0x229)](_0x5c9bd2);if(_0x237630===-0x1&&_0x48dbb4[_0x1a0b26]===0x1)_0x4931d6===-0x1&&(_0x4931d6=_0x5c9bd2);else{if(_0x5c9bd2!==0x0&&(_0x1a0b26===0x20||_0x1a0b26===0x9))_0x237630===-0x1&&_0x4931d6!==-0x1&&(_0x237630=_0x5c9bd2);else{if(_0x1a0b26===0x2c){if(_0x4931d6===-0x1)throw new SyntaxError(_0x3df15f(0xea)+_0x5c9bd2);_0x237630===-0x1&&(_0x237630=_0x5c9bd2);const _0x410183=_0x2a71f3['slice'](_0x4931d6,_0x237630);if(_0x4b637e['has'](_0x410183))throw new SyntaxError(_0x3df15f(0x281)+_0x410183+_0x3df15f(0x28a));_0x4b637e[_0x3df15f(0x106)](_0x410183),_0x4931d6=_0x237630=-0x1;}else throw new SyntaxError(_0x3df15f(0xea)+_0x5c9bd2);}}}if(_0x4931d6===-0x1||_0x237630!==-0x1)throw new SyntaxError(_0x3df15f(0x20e));const _0x17a3b3=_0x2a71f3[_0x3df15f(0xe8)](_0x4931d6,_0x5c9bd2);if(_0x4b637e[_0x3df15f(0x1b7)](_0x17a3b3))throw new SyntaxError(_0x3df15f(0x281)+_0x17a3b3+_0x3df15f(0x28a));return _0x4b637e['add'](_0x17a3b3),_0x4b637e;}return Ce={'parse':_0x363a96},Ce;}var Te,rt;function Ft(){const _0x1424a3=_0x1f7626;if(rt)return Te;rt=0x1;const _0x3f9f07=nt,_0x1e2224=ot,{Duplex:_0x1de4b3}=oe,{createHash:_0x3332ef}=Le,_0x3e644b=ct(),_0x2daaa8=he(),_0x7723ae=At(),_0x4832ca=Pe(),{GUID:_0x20acfe,kWebSocket:_0x1106e7}=H(),_0x39f0db=/^[+/0-9A-Za-z]{22}==$/,_0xb76a1f=0x0,_0x44ed9c=0x1,_0xc17865=0x2;class _0x494b43 extends _0x3f9f07{constructor(_0x2290ed,_0x4061cb){const _0x45b5d9=_0x4d5a;if(super(),_0x2290ed={'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':_0x4832ca,..._0x2290ed},_0x2290ed['port']==null&&!_0x2290ed[_0x45b5d9(0x253)]&&!_0x2290ed[_0x45b5d9(0x171)]||_0x2290ed[_0x45b5d9(0x10a)]!=null&&(_0x2290ed['server']||_0x2290ed[_0x45b5d9(0x171)])||_0x2290ed[_0x45b5d9(0x253)]&&_0x2290ed[_0x45b5d9(0x171)])throw new TypeError(_0x45b5d9(0x109));if(_0x2290ed['port']!=null?(this[_0x45b5d9(0x127)]=_0x1e2224['createServer']((_0x15e3f3,_0x2d9e5c)=>{const _0xd8b350=_0x45b5d9,_0x35c497=_0x1e2224[_0xd8b350(0x11b)][0x1aa];_0x2d9e5c[_0xd8b350(0x1e9)](0x1aa,{'Content-Length':_0x35c497['length'],'Content-Type':'text/plain'}),_0x2d9e5c[_0xd8b350(0x1b0)](_0x35c497);}),this['_server'][_0x45b5d9(0xf7)](_0x2290ed[_0x45b5d9(0x10a)],_0x2290ed[_0x45b5d9(0x1e0)],_0x2290ed[_0x45b5d9(0x220)],_0x4061cb)):_0x2290ed[_0x45b5d9(0x253)]&&(this[_0x45b5d9(0x127)]=_0x2290ed[_0x45b5d9(0x253)]),this['_server']){const _0x45aea6=this[_0x45b5d9(0x292)][_0x45b5d9(0x115)](this,_0x45b5d9(0x1dc));this[_0x45b5d9(0xda)]=_0x4434c0(this[_0x45b5d9(0x127)],{'listening':this[_0x45b5d9(0x292)]['bind'](this,_0x45b5d9(0x2a4)),'error':this['emit'][_0x45b5d9(0x115)](this,'error'),'upgrade':(_0x442cac,_0x4677cc,_0x4b758f)=>{this['handleUpgrade'](_0x442cac,_0x4677cc,_0x4b758f,_0x45aea6);}});}_0x2290ed[_0x45b5d9(0x263)]===!0x0&&(_0x2290ed[_0x45b5d9(0x263)]={}),_0x2290ed[_0x45b5d9(0x22c)]&&(this[_0x45b5d9(0x216)]=new Set(),this[_0x45b5d9(0x286)]=!0x1),this[_0x45b5d9(0x150)]=_0x2290ed,this['_state']=_0xb76a1f;}[_0x1424a3(0x180)](){const _0x24631e=_0x1424a3;if(this[_0x24631e(0x150)]['noServer'])throw new Error(_0x24631e(0x117));return this[_0x24631e(0x127)]?this['_server']['address']():null;}['close'](_0x27ad1e){const _0x19cbf8=_0x1424a3;if(this[_0x19cbf8(0x1c4)]===_0xc17865){_0x27ad1e&&this['once'](_0x19cbf8(0x23e),()=>{const _0x2fe66d=_0x19cbf8;_0x27ad1e(new Error(_0x2fe66d(0x141)));}),process[_0x19cbf8(0x199)](_0x38d83e,this);return;}if(_0x27ad1e&&this[_0x19cbf8(0x16b)](_0x19cbf8(0x23e),_0x27ad1e),this[_0x19cbf8(0x1c4)]!==_0x44ed9c){if(this[_0x19cbf8(0x1c4)]=_0x44ed9c,this[_0x19cbf8(0x150)][_0x19cbf8(0x171)]||this[_0x19cbf8(0x150)][_0x19cbf8(0x253)])this['_server']&&(this[_0x19cbf8(0xda)](),this[_0x19cbf8(0xda)]=this[_0x19cbf8(0x127)]=null),this[_0x19cbf8(0x216)]?this[_0x19cbf8(0x216)][_0x19cbf8(0x18a)]?this[_0x19cbf8(0x286)]=!0x0:process[_0x19cbf8(0x199)](_0x38d83e,this):process[_0x19cbf8(0x199)](_0x38d83e,this);else{const _0x5d5e77=this[_0x19cbf8(0x127)];this[_0x19cbf8(0xda)](),this[_0x19cbf8(0xda)]=this[_0x19cbf8(0x127)]=null,_0x5d5e77['close'](()=>{_0x38d83e(this);});}}}[_0x1424a3(0x249)](_0x45824c){const _0x33a956=_0x1424a3;if(this['options'][_0x33a956(0x15d)]){const _0x980ea7=_0x45824c[_0x33a956(0x156)][_0x33a956(0xf1)]('?');if((_0x980ea7!==-0x1?_0x45824c['url']['slice'](0x0,_0x980ea7):_0x45824c['url'])!==this['options'][_0x33a956(0x15d)])return!0x1;}return!0x0;}[_0x1424a3(0x20c)](_0x1835c8,_0x27e7ba,_0x5ce074,_0xd5bc75){const _0x5a9dd5=_0x1424a3;_0x27e7ba['on']('error',_0x15557a);const _0x55fce1=_0x1835c8[_0x5a9dd5(0x1b2)][_0x5a9dd5(0x272)],_0x10443a=_0x1835c8['headers'][_0x5a9dd5(0x297)],_0x52f850=+_0x1835c8['headers'][_0x5a9dd5(0x267)];if(_0x1835c8[_0x5a9dd5(0x1ce)]!==_0x5a9dd5(0x2a2)){_0x4ebb31(this,_0x1835c8,_0x27e7ba,0x195,_0x5a9dd5(0x254));return;}if(_0x10443a===void 0x0||_0x10443a[_0x5a9dd5(0x178)]()!==_0x5a9dd5(0x225)){_0x4ebb31(this,_0x1835c8,_0x27e7ba,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x55fce1===void 0x0||!_0x39f0db[_0x5a9dd5(0x23d)](_0x55fce1)){_0x4ebb31(this,_0x1835c8,_0x27e7ba,0x190,_0x5a9dd5(0x19a));return;}if(_0x52f850!==0xd&&_0x52f850!==0x8){_0x4ebb31(this,_0x1835c8,_0x27e7ba,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x5a9dd5(0x15c)});return;}if(!this[_0x5a9dd5(0x249)](_0x1835c8)){_0x75858e(_0x27e7ba,0x190);return;}const _0x58281a=_0x1835c8[_0x5a9dd5(0x1b2)][_0x5a9dd5(0x243)];let _0x2362f7=new Set();if(_0x58281a!==void 0x0)try{_0x2362f7=_0x7723ae[_0x5a9dd5(0x11c)](_0x58281a);}catch{_0x4ebb31(this,_0x1835c8,_0x27e7ba,0x190,_0x5a9dd5(0x201));return;}const _0x43d132=_0x1835c8[_0x5a9dd5(0x1b2)][_0x5a9dd5(0x136)],_0x1d5f52={};if(this[_0x5a9dd5(0x150)][_0x5a9dd5(0x263)]&&_0x43d132!==void 0x0){const _0x2c9387=new _0x2daaa8(this[_0x5a9dd5(0x150)]['perMessageDeflate'],!0x0,this[_0x5a9dd5(0x150)]['maxPayload']);try{const _0x1fa5b2=_0x3e644b['parse'](_0x43d132);_0x1fa5b2[_0x2daaa8['extensionName']]&&(_0x2c9387['accept'](_0x1fa5b2[_0x2daaa8[_0x5a9dd5(0x147)]]),_0x1d5f52[_0x2daaa8[_0x5a9dd5(0x147)]]=_0x2c9387);}catch{_0x4ebb31(this,_0x1835c8,_0x27e7ba,0x190,_0x5a9dd5(0x1ed));return;}}if(this[_0x5a9dd5(0x150)][_0x5a9dd5(0x12c)]){const _0x4f17cd={'origin':_0x1835c8[_0x5a9dd5(0x1b2)][''+(_0x52f850===0x8?'sec-websocket-origin':_0x5a9dd5(0x1ab))],'secure':!!(_0x1835c8[_0x5a9dd5(0x237)]['authorized']||_0x1835c8[_0x5a9dd5(0x237)][_0x5a9dd5(0x1e5)]),'req':_0x1835c8};if(this[_0x5a9dd5(0x150)][_0x5a9dd5(0x12c)]['length']===0x2){this[_0x5a9dd5(0x150)][_0x5a9dd5(0x12c)](_0x4f17cd,(_0x512f45,_0x2941d8,_0xc0b215,_0x11db08)=>{if(!_0x512f45)return _0x75858e(_0x27e7ba,_0x2941d8||0x191,_0xc0b215,_0x11db08);this['completeUpgrade'](_0x1d5f52,_0x55fce1,_0x2362f7,_0x1835c8,_0x27e7ba,_0x5ce074,_0xd5bc75);});return;}if(!this[_0x5a9dd5(0x150)]['verifyClient'](_0x4f17cd))return _0x75858e(_0x27e7ba,0x191);}this['completeUpgrade'](_0x1d5f52,_0x55fce1,_0x2362f7,_0x1835c8,_0x27e7ba,_0x5ce074,_0xd5bc75);}[_0x1424a3(0x205)](_0x564ab0,_0x499d76,_0x5b5fa4,_0x2ca6ff,_0x97391d,_0x3eaaba,_0x1a5b71){const _0x520740=_0x1424a3;if(!_0x97391d['readable']||!_0x97391d[_0x520740(0x151)])return _0x97391d['destroy']();if(_0x97391d[_0x1106e7])throw new Error(_0x520740(0x1f7));if(this[_0x520740(0x1c4)]>_0xb76a1f)return _0x75858e(_0x97391d,0x1f7);const _0x232296=[_0x520740(0x166),_0x520740(0x1c1),_0x520740(0x157),_0x520740(0x124)+_0x3332ef('sha1')['update'](_0x499d76+_0x20acfe)['digest'](_0x520740(0x29e))],_0x2ca0c3=new this[(_0x520740(0x150))][(_0x520740(0x1fc))](null,void 0x0,this['options']);if(_0x5b5fa4[_0x520740(0x18a)]){const _0xd21897=this['options'][_0x520740(0x1c3)]?this[_0x520740(0x150)][_0x520740(0x1c3)](_0x5b5fa4,_0x2ca6ff):_0x5b5fa4[_0x520740(0x175)]()[_0x520740(0x24c)]()[_0x520740(0x14f)];_0xd21897&&(_0x232296[_0x520740(0x1ec)](_0x520740(0x174)+_0xd21897),_0x2ca0c3[_0x520740(0x26a)]=_0xd21897);}if(_0x564ab0[_0x2daaa8[_0x520740(0x147)]]){const _0x4380c2=_0x564ab0[_0x2daaa8['extensionName']][_0x520740(0x191)],_0x13c3a4=_0x3e644b['format']({[_0x2daaa8[_0x520740(0x147)]]:[_0x4380c2]});_0x232296[_0x520740(0x1ec)](_0x520740(0x1ff)+_0x13c3a4),_0x2ca0c3[_0x520740(0x288)]=_0x564ab0;}this[_0x520740(0x292)]('headers',_0x232296,_0x2ca6ff),_0x97391d['write'](_0x232296[_0x520740(0x23a)]('\x0d\x0a')[_0x520740(0x25d)]('\x0d\x0a')),_0x97391d[_0x520740(0xe3)](_0x520740(0x12f),_0x15557a),_0x2ca0c3[_0x520740(0x1a9)](_0x97391d,_0x3eaaba,{'allowSynchronousEvents':this[_0x520740(0x150)]['allowSynchronousEvents'],'maxPayload':this['options'][_0x520740(0x1f6)],'skipUTF8Validation':this[_0x520740(0x150)][_0x520740(0x19c)]}),this[_0x520740(0x216)]&&(this['clients'][_0x520740(0x106)](_0x2ca0c3),_0x2ca0c3['on'](_0x520740(0x23e),()=>{const _0x59a268=_0x520740;this[_0x59a268(0x216)]['delete'](_0x2ca0c3),this[_0x59a268(0x286)]&&!this[_0x59a268(0x216)][_0x59a268(0x18a)]&&process[_0x59a268(0x199)](_0x38d83e,this);})),_0x1a5b71(_0x2ca0c3,_0x2ca6ff);}}Te=_0x494b43;function _0x4434c0(_0x3d2cf4,_0x503d20){const _0x102ce1=_0x1424a3;for(const _0xfb33a7 of Object[_0x102ce1(0xe1)](_0x503d20))_0x3d2cf4['on'](_0xfb33a7,_0x503d20[_0xfb33a7]);return function(){const _0x5d924d=_0x102ce1;for(const _0x29d8bc of Object[_0x5d924d(0xe1)](_0x503d20))_0x3d2cf4[_0x5d924d(0xe3)](_0x29d8bc,_0x503d20[_0x29d8bc]);};}function _0x38d83e(_0x43cd36){const _0x3b3e8f=_0x1424a3;_0x43cd36[_0x3b3e8f(0x1c4)]=_0xc17865,_0x43cd36[_0x3b3e8f(0x292)](_0x3b3e8f(0x23e));}function _0x15557a(){this['destroy']();}function _0x75858e(_0x4a0762,_0x15cd46,_0x40c581,_0x39e199){const _0x122eb3=_0x1424a3;_0x40c581=_0x40c581||_0x1e2224['STATUS_CODES'][_0x15cd46],_0x39e199={'Connection':_0x122eb3(0x23e),'Content-Type':_0x122eb3(0xf5),'Content-Length':Buffer[_0x122eb3(0x1d5)](_0x40c581),..._0x39e199},_0x4a0762[_0x122eb3(0x16b)](_0x122eb3(0x26c),_0x4a0762[_0x122eb3(0x10b)]),_0x4a0762[_0x122eb3(0x1b0)](_0x122eb3(0x135)+_0x15cd46+'\x20'+_0x1e2224[_0x122eb3(0x11b)][_0x15cd46]+'\x0d\x0a'+Object[_0x122eb3(0xe1)](_0x39e199)[_0x122eb3(0x1aa)](_0x58b323=>_0x58b323+':\x20'+_0x39e199[_0x58b323])[_0x122eb3(0x25d)]('\x0d\x0a')+_0x122eb3(0x122)+_0x40c581);}function _0x4ebb31(_0x526808,_0x28e964,_0x33e346,_0x57d15d,_0x946e6,_0x120df5){const _0x4884ca=_0x1424a3;if(_0x526808['listenerCount'](_0x4884ca(0xe5))){const _0x3ef66b=new Error(_0x946e6);Error[_0x4884ca(0x1d7)](_0x3ef66b,_0x4ebb31),_0x526808['emit'](_0x4884ca(0xe5),_0x3ef66b,_0x33e346,_0x28e964);}else _0x75858e(_0x33e346,_0x57d15d,_0x946e6,_0x120df5);}return Te;}Ft();var jt=Object[_0x1f7626(0x170)],Wt=(_0x586eb6,_0x41ae6c,_0x519400,_0x7bdea5)=>{for(var _0x1f72b6=_0x7bdea5>0x1?void 0x0:_0x7bdea5?jt(_0x41ae6c,_0x519400):_0x41ae6c,_0x31e05b=_0x586eb6['length']-0x1,_0x38a786;_0x31e05b>=0x0;_0x31e05b--)(_0x38a786=_0x586eb6[_0x31e05b])&&(_0x1f72b6=_0x38a786(_0x1f72b6)||_0x1f72b6);return _0x1f72b6;},qt=(_0x46342a,_0x518046)=>(_0x55876d,_0x21c328)=>_0x518046(_0x55876d,_0x21c328,_0x46342a);let ke=class extends A[_0x1f7626(0x161)]{constructor(_0x35f604){const _0x103d4a=_0x1f7626;super(),this[_0x103d4a(0x242)]=_0x35f604;}[_0x1f7626(0x1c0)](_0x2f305e){const _0xbb35de=_0x1f7626;var _0xc681a9;const _0xe05ae8=(_0xc681a9=this[_0xbb35de(0x242)][_0xbb35de(0x19b)](fe))==null?void 0x0:_0xc681a9[_0xbb35de(0xfb)];try{const _0x1c2a9e=new $t(_0x2f305e,{'headers':{..._0xe05ae8}}),_0x2f3858=new A[(_0xbb35de(0x13c))]();return{'URL':_0x2f305e,'close':(_0x12ac32,_0x7283f2)=>{const _0x45692a=_0xbb35de;_0x1c2a9e[_0x45692a(0x23e)](_0x12ac32,_0x7283f2),_0x2f3858[_0x45692a(0x1fe)]();},'send':_0x53b12a=>{const _0x440a72=_0xbb35de;_0x1c2a9e[_0x440a72(0x282)](_0x53b12a);},'open$':new V[(_0xbb35de(0x13d))](_0x3b4e22=>{const _0x4252f2=_0xbb35de,_0x478200=_0x4af5ea=>_0x3b4e22['next'](_0x4af5ea);_0x1c2a9e[_0x4252f2(0x22e)](_0x4252f2(0x24a),_0x478200),_0x2f3858[_0x4252f2(0x106)](A[_0x4252f2(0x1eb)](()=>_0x1c2a9e[_0x4252f2(0x1ac)](_0x4252f2(0x24a),_0x478200)));})['pipe'](V['share']()),'close$':new V[(_0xbb35de(0x13d))](_0x2084cf=>{const _0x14664d=_0xbb35de,_0xe62e6e=_0x5467e0=>_0x2084cf[_0x14664d(0x24c)](_0x5467e0);_0x1c2a9e[_0x14664d(0x22e)](_0x14664d(0x23e),_0xe62e6e),_0x2f3858['add'](A[_0x14664d(0x1eb)](()=>_0x1c2a9e[_0x14664d(0x1ac)](_0x14664d(0x23e),_0xe62e6e)));})[_0xbb35de(0x296)](V[_0xbb35de(0xfe)]()),'error$':new V[(_0xbb35de(0x13d))](_0x50ea9a=>{const _0x25eee0=_0xbb35de,_0x272794=_0x43b336=>_0x50ea9a[_0x25eee0(0x24c)](_0x43b336);_0x1c2a9e[_0x25eee0(0x22e)](_0x25eee0(0x12f),_0x272794),_0x2f3858[_0x25eee0(0x106)](A[_0x25eee0(0x1eb)](()=>_0x1c2a9e[_0x25eee0(0x1ac)](_0x25eee0(0x12f),_0x272794)));})[_0xbb35de(0x296)](V[_0xbb35de(0xfe)]()),'message$':new V[(_0xbb35de(0x13d))](_0x2fb637=>{const _0x32ddd9=_0xbb35de,_0x56ba05=_0x8efaf8=>_0x2fb637['next'](_0x8efaf8);_0x1c2a9e['addEventListener']('message',_0x56ba05),_0x2f3858['add'](A['toDisposable'](()=>_0x1c2a9e[_0x32ddd9(0x1ac)](_0x32ddd9(0x23c),_0x56ba05)));})[_0xbb35de(0x296)](V['share']())};}catch(_0x3b05d2){return console['error'](_0x3b05d2),null;}}};ke=Wt([qt(0x0,A[_0x1f7626(0x1de)])],ke);var Gt=Object[_0x1f7626(0xdb)],Vt=Object[_0x1f7626(0x170)],Ht=(_0x32c250,_0xc90857,_0x5762ca)=>_0xc90857 in _0x32c250?Gt(_0x32c250,_0xc90857,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5762ca}):_0x32c250[_0xc90857]=_0x5762ca,zt=(_0xa3d00e,_0x58bc90,_0x40e413,_0x76ec10)=>{for(var _0x240802=_0x76ec10>0x1?void 0x0:_0x76ec10?Vt(_0x58bc90,_0x40e413):_0x58bc90,_0x524304=_0xa3d00e['length']-0x1,_0x5ad470;_0x524304>=0x0;_0x524304--)(_0x5ad470=_0xa3d00e[_0x524304])&&(_0x240802=_0x5ad470(_0x240802)||_0x240802);return _0x240802;},Ne=(_0x1ecfa0,_0x368770)=>(_0x1ef71d,_0x57a9b2)=>_0x368770(_0x1ef71d,_0x57a9b2,_0x1ecfa0),Yt=(_0x2fe84e,_0x29d592,_0x493634)=>Ht(_0x2fe84e,_0x29d592+'',_0x493634);exports[_0x1f7626(0x168)]=class extends A['Plugin']{constructor(_0x462545=Ct,_0x28d148,_0x527e80,_0x463ddb){const _0x4a9648=_0x1f7626;_0x462545['customHeaders']||_0x28d148[_0x4a9648(0x25e)](_0x4a9648(0x21b)),super(),this[_0x4a9648(0x242)]=_0x527e80,this[_0x4a9648(0xed)]=_0x463ddb,this[_0x4a9648(0x242)]['setConfig'](fe,_0x462545);}[_0x1f7626(0x1cd)](){this['_registerDependencies']();}[_0x1f7626(0x25c)](){const _0x4b3ac5=_0x1f7626;A[_0x4b3ac5(0x2a3)](this[_0x4b3ac5(0xed)],[[it[_0x4b3ac5(0xdd)],{'useClass':ke}]]);}},Yt(exports[_0x1f7626(0x168)],_0x1f7626(0xde),_0x1f7626(0x1c2)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x1f7626(0x18f)](st[_0x1f7626(0x111)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x1f7626(0x1de)]),Ne(0x3,A[_0x1f7626(0x1e6)](A[_0x1f7626(0x1c9)]))],exports[_0x1f7626(0x168)]);var Kt=Object[_0x1f7626(0x170)],Xt=(_0x47071a,_0x34df58,_0x5c5e94,_0x11fc85)=>{const _0x2e906b=_0x1f7626;for(var _0x5c2fb9=_0x11fc85>0x1?void 0x0:_0x11fc85?Kt(_0x34df58,_0x5c5e94):_0x34df58,_0x26f74f=_0x47071a[_0x2e906b(0x1a1)]-0x1,_0x3fc316;_0x26f74f>=0x0;_0x26f74f--)(_0x3fc316=_0x47071a[_0x26f74f])&&(_0x5c2fb9=_0x3fc316(_0x5c2fb9)||_0x5c2fb9);return _0x5c2fb9;},ne=(_0x4ecf0c,_0x2ade55)=>(_0x4c339f,_0x57104e)=>_0x2ade55(_0x4c339f,_0x57104e,_0x4ecf0c);exports['NodeCollaborationSocketService']=class extends st[_0x1f7626(0x257)]{constructor(_0x36e45d,_0x9cc411,_0x3cb737,_0x3b7f9e,_0x1af275){const _0x80e403=_0x1f7626;super(_0x36e45d,_0x9cc411,_0x3cb737,_0x3b7f9e,_0x1af275);const _0x17e29a=this[_0x80e403(0x242)][_0x80e403(0x19b)](fe);this[_0x80e403(0x100)][_0x80e403(0x2a5)]({'interceptor':(_0x76974a,_0x233fe3)=>{const _0x33bfe4=_0x80e403;var _0x337cdf;const _0x53d70a=_0x76974a[_0x33bfe4(0x1b2)];return(_0x337cdf=_0x17e29a==null?void 0x0:_0x17e29a[_0x33bfe4(0xfb)])!=null&&_0x337cdf[_0x33bfe4(0x167)]&&_0x53d70a[_0x33bfe4(0x218)]('Cookie',_0x17e29a['customHeaders'][_0x33bfe4(0x167)]),_0x233fe3(_0x76974a);}});}async[_0x1f7626(0x1c0)](_0x4111bc){const _0x1ca794=_0x1f7626;return this[_0x1ca794(0x1f1)](_0x4111bc);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A['Inject'](A[_0x1f7626(0x1c9)])),ne(0x1,A[_0x1f7626(0x1e6)](it[_0x1f7626(0x222)])),ne(0x2,A[_0x1f7626(0x1de)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x1f7626(0x27c)])],exports[_0x1f7626(0x1bb)]),exports[_0x1f7626(0x264)]=fe;
1
+ 'use strict';const _0x387344=_0x47ed;(function(_0x4e2645,_0x2aeec6){const _0x300aad=_0x47ed,_0x3abe45=_0x4e2645();while(!![]){try{const _0x1fa9df=-parseInt(_0x300aad(0x243))/0x1*(-parseInt(_0x300aad(0x286))/0x2)+parseInt(_0x300aad(0x333))/0x3*(parseInt(_0x300aad(0x2c0))/0x4)+parseInt(_0x300aad(0x336))/0x5+parseInt(_0x300aad(0x2af))/0x6+-parseInt(_0x300aad(0x25d))/0x7+-parseInt(_0x300aad(0x225))/0x8*(-parseInt(_0x300aad(0x2ed))/0x9)+-parseInt(_0x300aad(0x19d))/0xa*(-parseInt(_0x300aad(0x1da))/0xb);if(_0x1fa9df===_0x2aeec6)break;else _0x3abe45['push'](_0x3abe45['shift']());}catch(_0x3960c3){_0x3abe45['push'](_0x3abe45['shift']());}}}(_0x5a52,0xb7e5f));Object[_0x387344(0x1c9)](exports,Symbol[_0x387344(0x29e)],{'value':'Module'});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x387344(0x2dd),Ct={'customHeaders':{}};function Tt(_0x521211){const _0x4d20f9=_0x387344;return _0x521211&&_0x521211[_0x4d20f9(0x28c)]&&Object['prototype']['hasOwnProperty']['call'](_0x521211,_0x4d20f9(0x1e1))?_0x521211[_0x4d20f9(0x1e1)]:_0x521211;}function at(_0x3ca5a7){const _0x387d7f=_0x387344;if(Object[_0x387d7f(0x1ef)]['hasOwnProperty'][_0x387d7f(0x1f1)](_0x3ca5a7,_0x387d7f(0x28c)))return _0x3ca5a7;var _0x4543ad=_0x3ca5a7[_0x387d7f(0x1e1)];if(typeof _0x4543ad==_0x387d7f(0x347)){var _0x5f16ca=function _0x282333(){const _0x251e0b=_0x387d7f;var _0x24377b=!0x1;try{_0x24377b=this instanceof _0x282333;}catch{}return _0x24377b?Reflect['construct'](_0x4543ad,arguments,this[_0x251e0b(0x1b0)]):_0x4543ad[_0x251e0b(0x279)](this,arguments);};_0x5f16ca['prototype']=_0x4543ad[_0x387d7f(0x1ef)];}else _0x5f16ca={};return Object[_0x387d7f(0x1c9)](_0x5f16ca,_0x387d7f(0x28c),{'value':!0x0}),Object[_0x387d7f(0x2f3)](_0x3ca5a7)['forEach'](function(_0x21d390){const _0x5ccac6=_0x387d7f;var _0xcbf6e4=Object[_0x5ccac6(0x1c0)](_0x3ca5a7,_0x21d390);Object[_0x5ccac6(0x1c9)](_0x5f16ca,_0x21d390,_0xcbf6e4[_0x5ccac6(0x319)]?_0xcbf6e4:{'enumerable':!0x0,'get':function(){return _0x3ca5a7[_0x21d390];}});}),_0x5f16ca;}var se={'exports':{}},ge,Ge;function H(){const _0x19997d=_0x387344;if(Ge)return ge;Ge=0x1;const _0x38cccd=['nodebuffer','arraybuffer',_0x19997d(0x1ac)],_0x15e8e6=typeof Blob<'u';return _0x15e8e6&&_0x38cccd[_0x19997d(0x235)](_0x19997d(0x29f)),ge={'BINARY_TYPES':_0x38cccd,'EMPTY_BUFFER':Buffer[_0x19997d(0x341)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x15e8e6,'kForOnEventAttribute':Symbol(_0x19997d(0x1cc)),'kListener':Symbol(_0x19997d(0x247)),'kStatusCode':Symbol(_0x19997d(0x2d5)),'kWebSocket':Symbol(_0x19997d(0x222)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x387344(0x303)](Object[_0x387344(0x1c9)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x387344(0x315)})),Lt=at(kt);var Ve;function ce(){const _0x21e5cb=_0x387344;if(Ve)return se[_0x21e5cb(0x261)];Ve=0x1;const {EMPTY_BUFFER:_0xb4bfb2}=H(),_0x450745=Buffer[Symbol[_0x21e5cb(0x198)]];function _0x364eb6(_0x3cab7f,_0x21561d){const _0x357748=_0x21e5cb;if(_0x3cab7f[_0x357748(0x314)]===0x0)return _0xb4bfb2;if(_0x3cab7f[_0x357748(0x314)]===0x1)return _0x3cab7f[0x0];const _0x4102a4=Buffer[_0x357748(0x2be)](_0x21561d);let _0x9b7150=0x0;for(let _0x44b8b5=0x0;_0x44b8b5<_0x3cab7f['length'];_0x44b8b5++){const _0x28c9c4=_0x3cab7f[_0x44b8b5];_0x4102a4['set'](_0x28c9c4,_0x9b7150),_0x9b7150+=_0x28c9c4[_0x357748(0x314)];}return _0x9b7150<_0x21561d?new _0x450745(_0x4102a4[_0x357748(0x2f9)],_0x4102a4[_0x357748(0x25c)],_0x9b7150):_0x4102a4;}function _0x4165b7(_0x43a60b,_0x2981fd,_0x4c6b32,_0x3cd9fe,_0x4f4ab9){for(let _0x461e07=0x0;_0x461e07<_0x4f4ab9;_0x461e07++)_0x4c6b32[_0x3cd9fe+_0x461e07]=_0x43a60b[_0x461e07]^_0x2981fd[_0x461e07&0x3];}function _0x3ac7b8(_0x577b33,_0x2f613e){const _0x1c47c8=_0x21e5cb;for(let _0x4ca184=0x0;_0x4ca184<_0x577b33[_0x1c47c8(0x314)];_0x4ca184++)_0x577b33[_0x4ca184]^=_0x2f613e[_0x4ca184&0x3];}function _0x16e525(_0x1fd9e1){const _0x43c795=_0x21e5cb;return _0x1fd9e1[_0x43c795(0x314)]===_0x1fd9e1[_0x43c795(0x2f9)][_0x43c795(0x2dc)]?_0x1fd9e1[_0x43c795(0x2f9)]:_0x1fd9e1[_0x43c795(0x2f9)][_0x43c795(0x2b3)](_0x1fd9e1[_0x43c795(0x25c)],_0x1fd9e1[_0x43c795(0x25c)]+_0x1fd9e1[_0x43c795(0x314)]);}function _0x4d6eb9(_0x709290){const _0x2f270d=_0x21e5cb;if(_0x4d6eb9['readOnly']=!0x0,Buffer[_0x2f270d(0x212)](_0x709290))return _0x709290;let _0x28d693;return _0x709290 instanceof ArrayBuffer?_0x28d693=new _0x450745(_0x709290):ArrayBuffer[_0x2f270d(0x1be)](_0x709290)?_0x28d693=new _0x450745(_0x709290[_0x2f270d(0x2f9)],_0x709290[_0x2f270d(0x25c)],_0x709290[_0x2f270d(0x2dc)]):(_0x28d693=Buffer[_0x2f270d(0x23f)](_0x709290),_0x4d6eb9[_0x2f270d(0x2a9)]=!0x1),_0x28d693;}if(se['exports']={'concat':_0x364eb6,'mask':_0x4165b7,'toArrayBuffer':_0x16e525,'toBuffer':_0x4d6eb9,'unmask':_0x3ac7b8},!process[_0x21e5cb(0x1d9)]['WS_NO_BUFFER_UTIL'])try{const _0x3fb7ce=Lt;se[_0x21e5cb(0x261)][_0x21e5cb(0x2d4)]=function(_0x45661f,_0x2d8a27,_0x23b332,_0x1fd4f0,_0x75efe7){const _0xf48bee=_0x21e5cb;_0x75efe7<0x30?_0x4165b7(_0x45661f,_0x2d8a27,_0x23b332,_0x1fd4f0,_0x75efe7):_0x3fb7ce[_0xf48bee(0x2d4)](_0x45661f,_0x2d8a27,_0x23b332,_0x1fd4f0,_0x75efe7);},se[_0x21e5cb(0x261)]['unmask']=function(_0x113754,_0x9f073){const _0x30179e=_0x21e5cb;_0x113754[_0x30179e(0x314)]<0x20?_0x3ac7b8(_0x113754,_0x9f073):_0x3fb7ce[_0x30179e(0x287)](_0x113754,_0x9f073);};}catch{}return se[_0x21e5cb(0x261)];}var ye,He;function Pt(){if(He)return ye;He=0x1;const _0x258a81=Symbol('kDone'),_0x4bd1e4=Symbol('kRun');class _0x335ba0{constructor(_0x333bec){const _0x1c4b16=_0x47ed;this[_0x258a81]=()=>{const _0x40a475=_0x47ed;this[_0x40a475(0x351)]--,this[_0x4bd1e4]();},this['concurrency']=_0x333bec||0x1/0x0,this[_0x1c4b16(0x26a)]=[],this['pending']=0x0;}['add'](_0x3cfc07){const _0x452040=_0x47ed;this[_0x452040(0x26a)]['push'](_0x3cfc07),this[_0x4bd1e4]();}[_0x4bd1e4](){const _0x12d383=_0x47ed;if(this[_0x12d383(0x351)]!==this[_0x12d383(0x2d9)]&&this[_0x12d383(0x26a)][_0x12d383(0x314)]){const _0x8cc1e4=this[_0x12d383(0x26a)][_0x12d383(0x199)]();this[_0x12d383(0x351)]++,_0x8cc1e4(this[_0x258a81]);}}}return ye=_0x335ba0,ye;}var ve,ze;function he(){const _0x2643d3=_0x387344;if(ze)return ve;ze=0x1;const _0x3cbe08=bt,_0xa5339f=ce(),_0xe76456=Pt(),{kStatusCode:_0x3955bc}=H(),_0x393fc8=Buffer[Symbol[_0x2643d3(0x198)]],_0x103bfa=Buffer[_0x2643d3(0x23f)]([0x0,0x0,0xff,0xff]),_0x86545e=Symbol(_0x2643d3(0x34c)),_0x48ab04=Symbol(_0x2643d3(0x278)),_0x46f051=Symbol(_0x2643d3(0x27f)),_0xdff9d0=Symbol(_0x2643d3(0x317)),_0x132c87=Symbol(_0x2643d3(0x2a7));let _0xfb81b1;class _0x19fe0b{constructor(_0x285f20,_0x496bc9,_0x362a58){const _0x58c3ce=_0x2643d3;if(this['_maxPayload']=_0x362a58|0x0,this[_0x58c3ce(0x32f)]=_0x285f20||{},this[_0x58c3ce(0x1d4)]=this[_0x58c3ce(0x32f)][_0x58c3ce(0x1f6)]!==void 0x0?this['_options'][_0x58c3ce(0x1f6)]:0x400,this[_0x58c3ce(0x31d)]=!!_0x496bc9,this[_0x58c3ce(0x2b0)]=null,this[_0x58c3ce(0x1b4)]=null,this[_0x58c3ce(0x1ce)]=null,!_0xfb81b1){const _0x39e4c1=this[_0x58c3ce(0x32f)][_0x58c3ce(0x1fa)]!==void 0x0?this[_0x58c3ce(0x32f)][_0x58c3ce(0x1fa)]:0xa;_0xfb81b1=new _0xe76456(_0x39e4c1);}}static get[_0x2643d3(0x2fd)](){const _0x7e3dcf=_0x2643d3;return _0x7e3dcf(0x34c);}[_0x2643d3(0x2f6)](){const _0x2ebc26=_0x2643d3,_0x4a120e={};return this['_options']['serverNoContextTakeover']&&(_0x4a120e['server_no_context_takeover']=!0x0),this[_0x2ebc26(0x32f)][_0x2ebc26(0x1d8)]&&(_0x4a120e['client_no_context_takeover']=!0x0),this[_0x2ebc26(0x32f)]['serverMaxWindowBits']&&(_0x4a120e[_0x2ebc26(0x1a9)]=this[_0x2ebc26(0x32f)][_0x2ebc26(0x22b)]),this[_0x2ebc26(0x32f)][_0x2ebc26(0x21c)]?_0x4a120e[_0x2ebc26(0x272)]=this[_0x2ebc26(0x32f)][_0x2ebc26(0x21c)]:this[_0x2ebc26(0x32f)][_0x2ebc26(0x21c)]==null&&(_0x4a120e[_0x2ebc26(0x272)]=!0x0),_0x4a120e;}[_0x2643d3(0x2aa)](_0x315fb0){const _0x3a5f7e=_0x2643d3;return _0x315fb0=this[_0x3a5f7e(0x2e4)](_0x315fb0),this['params']=this[_0x3a5f7e(0x31d)]?this['acceptAsServer'](_0x315fb0):this['acceptAsClient'](_0x315fb0),this[_0x3a5f7e(0x1ce)];}['cleanup'](){const _0x15fc35=_0x2643d3;if(this[_0x15fc35(0x1b4)]&&(this['_inflate'][_0x15fc35(0x280)](),this['_inflate']=null),this['_deflate']){const _0x48bf7a=this['_deflate'][_0x46f051];this['_deflate'][_0x15fc35(0x280)](),this[_0x15fc35(0x2b0)]=null,_0x48bf7a&&_0x48bf7a(new Error(_0x15fc35(0x30e)));}}[_0x2643d3(0x2e8)](_0x413358){const _0x2ce8e4=_0x2643d3,_0x23bbc0=this[_0x2ce8e4(0x32f)],_0x2a7ada=_0x413358[_0x2ce8e4(0x32e)](_0x4119ed=>!(_0x23bbc0[_0x2ce8e4(0x1fb)]===!0x1&&_0x4119ed['server_no_context_takeover']||_0x4119ed['server_max_window_bits']&&(_0x23bbc0[_0x2ce8e4(0x22b)]===!0x1||typeof _0x23bbc0[_0x2ce8e4(0x22b)]==_0x2ce8e4(0x254)&&_0x23bbc0[_0x2ce8e4(0x22b)]>_0x4119ed[_0x2ce8e4(0x1a9)])||typeof _0x23bbc0[_0x2ce8e4(0x21c)]==_0x2ce8e4(0x254)&&!_0x4119ed['client_max_window_bits']));if(!_0x2a7ada)throw new Error(_0x2ce8e4(0x26c));return _0x23bbc0[_0x2ce8e4(0x1fb)]&&(_0x2a7ada[_0x2ce8e4(0x19f)]=!0x0),_0x23bbc0[_0x2ce8e4(0x1d8)]&&(_0x2a7ada[_0x2ce8e4(0x338)]=!0x0),typeof _0x23bbc0[_0x2ce8e4(0x22b)]==_0x2ce8e4(0x254)&&(_0x2a7ada[_0x2ce8e4(0x1a9)]=_0x23bbc0[_0x2ce8e4(0x22b)]),typeof _0x23bbc0[_0x2ce8e4(0x21c)]==_0x2ce8e4(0x254)?_0x2a7ada[_0x2ce8e4(0x272)]=_0x23bbc0['clientMaxWindowBits']:(_0x2a7ada['client_max_window_bits']===!0x0||_0x23bbc0[_0x2ce8e4(0x21c)]===!0x1)&&delete _0x2a7ada['client_max_window_bits'],_0x2a7ada;}['acceptAsClient'](_0x4d8fbb){const _0x198673=_0x2643d3,_0x5e62f3=_0x4d8fbb[0x0];if(this[_0x198673(0x32f)][_0x198673(0x1d8)]===!0x1&&_0x5e62f3['client_no_context_takeover'])throw new Error(_0x198673(0x300));if(!_0x5e62f3['client_max_window_bits'])typeof this['_options']['clientMaxWindowBits']=='number'&&(_0x5e62f3[_0x198673(0x272)]=this[_0x198673(0x32f)][_0x198673(0x21c)]);else{if(this[_0x198673(0x32f)][_0x198673(0x21c)]===!0x1||typeof this[_0x198673(0x32f)]['clientMaxWindowBits']=='number'&&_0x5e62f3['client_max_window_bits']>this['_options']['clientMaxWindowBits'])throw new Error(_0x198673(0x269));}return _0x5e62f3;}[_0x2643d3(0x2e4)](_0x55186e){const _0x40b4f7=_0x2643d3;return _0x55186e[_0x40b4f7(0x20f)](_0x2d3e44=>{const _0x29e75d=_0x40b4f7;Object['keys'](_0x2d3e44)[_0x29e75d(0x20f)](_0x2e408f=>{const _0x2ff3b5=_0x29e75d;let _0x35b79=_0x2d3e44[_0x2e408f];if(_0x35b79[_0x2ff3b5(0x314)]>0x1)throw new Error('Parameter\x20\x22'+_0x2e408f+_0x2ff3b5(0x1af));if(_0x35b79=_0x35b79[0x0],_0x2e408f===_0x2ff3b5(0x272)){if(_0x35b79!==!0x0){const _0x3c92fd=+_0x35b79;if(!Number[_0x2ff3b5(0x1ec)](_0x3c92fd)||_0x3c92fd<0x8||_0x3c92fd>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2e408f+'\x22:\x20'+_0x35b79);_0x35b79=_0x3c92fd;}else{if(!this[_0x2ff3b5(0x31d)])throw new TypeError(_0x2ff3b5(0x2c5)+_0x2e408f+'\x22:\x20'+_0x35b79);}}else{if(_0x2e408f===_0x2ff3b5(0x1a9)){const _0x8ad3df=+_0x35b79;if(!Number[_0x2ff3b5(0x1ec)](_0x8ad3df)||_0x8ad3df<0x8||_0x8ad3df>0xf)throw new TypeError(_0x2ff3b5(0x2c5)+_0x2e408f+'\x22:\x20'+_0x35b79);_0x35b79=_0x8ad3df;}else{if(_0x2e408f===_0x2ff3b5(0x338)||_0x2e408f===_0x2ff3b5(0x19f)){if(_0x35b79!==!0x0)throw new TypeError(_0x2ff3b5(0x2c5)+_0x2e408f+'\x22:\x20'+_0x35b79);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x2e408f+'\x22');}}_0x2d3e44[_0x2e408f]=_0x35b79;});}),_0x55186e;}[_0x2643d3(0x285)](_0x13da46,_0xb56501,_0x393ed2){const _0x152c9a=_0x2643d3;_0xfb81b1[_0x152c9a(0x1df)](_0x8447b0=>{this['_decompress'](_0x13da46,_0xb56501,(_0x6bac1d,_0x471d13)=>{_0x8447b0(),_0x393ed2(_0x6bac1d,_0x471d13);});});}[_0x2643d3(0x1f8)](_0x386f63,_0x309cc9,_0x4636b7){const _0x22688b=_0x2643d3;_0xfb81b1[_0x22688b(0x1df)](_0x14103b=>{const _0x48d19f=_0x22688b;this[_0x48d19f(0x33c)](_0x386f63,_0x309cc9,(_0x5bceac,_0x12080f)=>{_0x14103b(),_0x4636b7(_0x5bceac,_0x12080f);});});}[_0x2643d3(0x1d1)](_0x443d60,_0x145bc6,_0x2949fb){const _0x4c4bb8=_0x2643d3,_0x5c07f0=this[_0x4c4bb8(0x31d)]?_0x4c4bb8(0x1fe):'server';if(!this[_0x4c4bb8(0x1b4)]){const _0x15a26f=_0x5c07f0+'_max_window_bits',_0x4714ba=typeof this[_0x4c4bb8(0x1ce)][_0x15a26f]!=_0x4c4bb8(0x254)?_0x3cbe08[_0x4c4bb8(0x2f4)]:this[_0x4c4bb8(0x1ce)][_0x15a26f];this[_0x4c4bb8(0x1b4)]=_0x3cbe08[_0x4c4bb8(0x201)]({...this[_0x4c4bb8(0x32f)]['zlibInflateOptions'],'windowBits':_0x4714ba}),this['_inflate'][_0x86545e]=this,this[_0x4c4bb8(0x1b4)][_0x48ab04]=0x0,this[_0x4c4bb8(0x1b4)][_0xdff9d0]=[],this[_0x4c4bb8(0x1b4)]['on'](_0x4c4bb8(0x2a7),_0x178177),this[_0x4c4bb8(0x1b4)]['on'](_0x4c4bb8(0x2c8),_0x108a0c);}this['_inflate'][_0x46f051]=_0x2949fb,this[_0x4c4bb8(0x1b4)]['write'](_0x443d60),_0x145bc6&&this[_0x4c4bb8(0x1b4)][_0x4c4bb8(0x2cb)](_0x103bfa),this[_0x4c4bb8(0x1b4)][_0x4c4bb8(0x229)](()=>{const _0x5ce8bd=_0x4c4bb8,_0x3cbaa1=this[_0x5ce8bd(0x1b4)][_0x132c87];if(_0x3cbaa1){this[_0x5ce8bd(0x1b4)][_0x5ce8bd(0x280)](),this[_0x5ce8bd(0x1b4)]=null,_0x2949fb(_0x3cbaa1);return;}const _0x57909f=_0xa5339f['concat'](this[_0x5ce8bd(0x1b4)][_0xdff9d0],this['_inflate'][_0x48ab04]);this[_0x5ce8bd(0x1b4)][_0x5ce8bd(0x24e)]['endEmitted']?(this['_inflate'][_0x5ce8bd(0x280)](),this[_0x5ce8bd(0x1b4)]=null):(this[_0x5ce8bd(0x1b4)][_0x48ab04]=0x0,this[_0x5ce8bd(0x1b4)][_0xdff9d0]=[],_0x145bc6&&this['params'][_0x5c07f0+_0x5ce8bd(0x291)]&&this[_0x5ce8bd(0x1b4)][_0x5ce8bd(0x191)]()),_0x2949fb(null,_0x57909f);});}['_compress'](_0x3a2e86,_0x287b75,_0x59d648){const _0xecf8d=_0x2643d3,_0x53fae9=this[_0xecf8d(0x31d)]?_0xecf8d(0x1b6):'client';if(!this[_0xecf8d(0x2b0)]){const _0x37ea77=_0x53fae9+_0xecf8d(0x34a),_0x4b4de3=typeof this[_0xecf8d(0x1ce)][_0x37ea77]!=_0xecf8d(0x254)?_0x3cbe08[_0xecf8d(0x2f4)]:this[_0xecf8d(0x1ce)][_0x37ea77];this[_0xecf8d(0x2b0)]=_0x3cbe08[_0xecf8d(0x2ce)]({...this['_options']['zlibDeflateOptions'],'windowBits':_0x4b4de3}),this[_0xecf8d(0x2b0)][_0x48ab04]=0x0,this[_0xecf8d(0x2b0)][_0xdff9d0]=[],this[_0xecf8d(0x2b0)]['on'](_0xecf8d(0x2c8),_0x1c16a8);}this[_0xecf8d(0x2b0)][_0x46f051]=_0x59d648,this['_deflate'][_0xecf8d(0x2cb)](_0x3a2e86),this[_0xecf8d(0x2b0)][_0xecf8d(0x229)](_0x3cbe08['Z_SYNC_FLUSH'],()=>{const _0x56ec85=_0xecf8d;if(!this[_0x56ec85(0x2b0)])return;let _0x1081de=_0xa5339f[_0x56ec85(0x238)](this[_0x56ec85(0x2b0)][_0xdff9d0],this[_0x56ec85(0x2b0)][_0x48ab04]);_0x287b75&&(_0x1081de=new _0x393fc8(_0x1081de[_0x56ec85(0x2f9)],_0x1081de['byteOffset'],_0x1081de[_0x56ec85(0x314)]-0x4)),this[_0x56ec85(0x2b0)][_0x46f051]=null,this[_0x56ec85(0x2b0)][_0x48ab04]=0x0,this[_0x56ec85(0x2b0)][_0xdff9d0]=[],_0x287b75&&this[_0x56ec85(0x1ce)][_0x53fae9+'_no_context_takeover']&&this[_0x56ec85(0x2b0)]['reset'](),_0x59d648(null,_0x1081de);});}}ve=_0x19fe0b;function _0x1c16a8(_0xc1b353){const _0x4f8e94=_0x2643d3;this[_0xdff9d0][_0x4f8e94(0x235)](_0xc1b353),this[_0x48ab04]+=_0xc1b353[_0x4f8e94(0x314)];}function _0x108a0c(_0x41663e){const _0x223794=_0x2643d3;if(this[_0x48ab04]+=_0x41663e[_0x223794(0x314)],this[_0x86545e][_0x223794(0x248)]<0x1||this[_0x48ab04]<=this[_0x86545e][_0x223794(0x248)]){this[_0xdff9d0][_0x223794(0x235)](_0x41663e);return;}this[_0x132c87]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x132c87][_0x223794(0x352)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x132c87][_0x3955bc]=0x3f1,this[_0x223794(0x2c6)](_0x223794(0x2c8),_0x108a0c),this[_0x223794(0x191)]();}function _0x178177(_0x5813f9){if(this[_0x86545e]['_inflate']=null,this[_0x132c87]){this[_0x46f051](this[_0x132c87]);return;}_0x5813f9[_0x3955bc]=0x3ef,this[_0x46f051](_0x5813f9);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x387344(0x1c9)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x387344(0x315)})),Bt=at(Rt);var Ye;function ae(){const _0x11650c=_0x387344;if(Ye)return ie[_0x11650c(0x261)];Ye=0x1;const {isUtf8:_0x1a5569}=wt,{hasBlob:_0x31b38d}=H(),_0x38cf72=[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 _0x2d9902(_0x49f1a0){return _0x49f1a0>=0x3e8&&_0x49f1a0<=0x3f6&&_0x49f1a0!==0x3ec&&_0x49f1a0!==0x3ed&&_0x49f1a0!==0x3ee||_0x49f1a0>=0xbb8&&_0x49f1a0<=0x1387;}function _0x2fc769(_0x38a403){const _0x1688ad=_0x11650c,_0x41f2e3=_0x38a403[_0x1688ad(0x314)];let _0x86f030=0x0;for(;_0x86f030<_0x41f2e3;)if((_0x38a403[_0x86f030]&0x80)===0x0)_0x86f030++;else{if((_0x38a403[_0x86f030]&0xe0)===0xc0){if(_0x86f030+0x1===_0x41f2e3||(_0x38a403[_0x86f030+0x1]&0xc0)!==0x80||(_0x38a403[_0x86f030]&0xfe)===0xc0)return!0x1;_0x86f030+=0x2;}else{if((_0x38a403[_0x86f030]&0xf0)===0xe0){if(_0x86f030+0x2>=_0x41f2e3||(_0x38a403[_0x86f030+0x1]&0xc0)!==0x80||(_0x38a403[_0x86f030+0x2]&0xc0)!==0x80||_0x38a403[_0x86f030]===0xe0&&(_0x38a403[_0x86f030+0x1]&0xe0)===0x80||_0x38a403[_0x86f030]===0xed&&(_0x38a403[_0x86f030+0x1]&0xe0)===0xa0)return!0x1;_0x86f030+=0x3;}else{if((_0x38a403[_0x86f030]&0xf8)===0xf0){if(_0x86f030+0x3>=_0x41f2e3||(_0x38a403[_0x86f030+0x1]&0xc0)!==0x80||(_0x38a403[_0x86f030+0x2]&0xc0)!==0x80||(_0x38a403[_0x86f030+0x3]&0xc0)!==0x80||_0x38a403[_0x86f030]===0xf0&&(_0x38a403[_0x86f030+0x1]&0xf0)===0x80||_0x38a403[_0x86f030]===0xf4&&_0x38a403[_0x86f030+0x1]>0x8f||_0x38a403[_0x86f030]>0xf4)return!0x1;_0x86f030+=0x4;}else return!0x1;}}}return!0x0;}function _0x2de830(_0x45c4c3){const _0x45ab2c=_0x11650c;return _0x31b38d&&typeof _0x45c4c3==_0x45ab2c(0x208)&&typeof _0x45c4c3[_0x45ab2c(0x1f7)]==_0x45ab2c(0x347)&&typeof _0x45c4c3[_0x45ab2c(0x1cb)]==_0x45ab2c(0x218)&&typeof _0x45c4c3[_0x45ab2c(0x265)]==_0x45ab2c(0x347)&&(_0x45c4c3[Symbol['toStringTag']]===_0x45ab2c(0x205)||_0x45c4c3[Symbol[_0x45ab2c(0x29e)]]==='File');}if(ie[_0x11650c(0x261)]={'isBlob':_0x2de830,'isValidStatusCode':_0x2d9902,'isValidUTF8':_0x2fc769,'tokenChars':_0x38cf72},_0x1a5569)ie['exports']['isValidUTF8']=function(_0x12d7d7){return _0x12d7d7['length']<0x18?_0x2fc769(_0x12d7d7):_0x1a5569(_0x12d7d7);};else{if(!process[_0x11650c(0x1d9)][_0x11650c(0x2a6)])try{const _0x14985b=Bt;ie[_0x11650c(0x261)][_0x11650c(0x232)]=function(_0x5347fc){const _0xeb02b9=_0x11650c;return _0x5347fc[_0xeb02b9(0x314)]<0x20?_0x2fc769(_0x5347fc):_0x14985b(_0x5347fc);};}catch{}}return ie[_0x11650c(0x261)];}var Se,Ke;function lt(){const _0x318038=_0x387344;if(Ke)return Se;Ke=0x1;const {Writable:_0x46239f}=oe,_0x179760=he(),{BINARY_TYPES:_0x430ff0,EMPTY_BUFFER:_0x174151,kStatusCode:_0x2e226c,kWebSocket:_0x53c5f5}=H(),{concat:_0x274ff1,toArrayBuffer:_0x4245ce,unmask:_0x1cc664}=ce(),{isValidStatusCode:_0x42e49d,isValidUTF8:_0x391f48}=ae(),_0x645f99=Buffer[Symbol['species']],_0x49c82=0x0,_0x10ec17=0x1,_0x14f5de=0x2,_0x17fc78=0x3,_0x5cfd28=0x4,_0x54f95a=0x5,_0x352e75=0x6;class _0x4109cc extends _0x46239f{constructor(_0x28a511={}){const _0x422ff1=_0x47ed;super(),this[_0x422ff1(0x1f0)]=_0x28a511[_0x422ff1(0x194)]!==void 0x0?_0x28a511['allowSynchronousEvents']:!0x0,this[_0x422ff1(0x1d2)]=_0x28a511[_0x422ff1(0x2a4)]||_0x430ff0[0x0],this['_extensions']=_0x28a511['extensions']||{},this[_0x422ff1(0x31d)]=!!_0x28a511[_0x422ff1(0x289)],this[_0x422ff1(0x248)]=_0x28a511[_0x422ff1(0x20e)]|0x0,this[_0x422ff1(0x2ef)]=!!_0x28a511[_0x422ff1(0x2b5)],this[_0x53c5f5]=void 0x0,this[_0x422ff1(0x1cf)]=0x0,this['_buffers']=[],this[_0x422ff1(0x270)]=!0x1,this[_0x422ff1(0x2b4)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this[_0x422ff1(0x1a6)]=!0x1,this[_0x422ff1(0x25b)]=!0x1,this[_0x422ff1(0x31b)]=0x0,this['_totalPayloadLength']=0x0,this[_0x422ff1(0x25f)]=0x0,this['_fragments']=[],this['_errored']=!0x1,this[_0x422ff1(0x1f3)]=!0x1,this['_state']=_0x49c82;}[_0x318038(0x1bd)](_0x28138d,_0x27a286,_0x398903){const _0x31bc88=_0x318038;if(this['_opcode']===0x8&&this[_0x31bc88(0x1bf)]==_0x49c82)return _0x398903();this[_0x31bc88(0x1cf)]+=_0x28138d['length'],this[_0x31bc88(0x2c9)][_0x31bc88(0x235)](_0x28138d),this[_0x31bc88(0x321)](_0x398903);}['consume'](_0x2cccdc){const _0x3fdb30=_0x318038;if(this[_0x3fdb30(0x1cf)]-=_0x2cccdc,_0x2cccdc===this['_buffers'][0x0][_0x3fdb30(0x314)])return this[_0x3fdb30(0x2c9)][_0x3fdb30(0x199)]();if(_0x2cccdc<this[_0x3fdb30(0x2c9)][0x0][_0x3fdb30(0x314)]){const _0x2d2650=this['_buffers'][0x0];return this['_buffers'][0x0]=new _0x645f99(_0x2d2650[_0x3fdb30(0x2f9)],_0x2d2650[_0x3fdb30(0x25c)]+_0x2cccdc,_0x2d2650['length']-_0x2cccdc),new _0x645f99(_0x2d2650[_0x3fdb30(0x2f9)],_0x2d2650[_0x3fdb30(0x25c)],_0x2cccdc);}const _0x2920a0=Buffer[_0x3fdb30(0x2be)](_0x2cccdc);do{const _0x330ca9=this[_0x3fdb30(0x2c9)][0x0],_0x29077e=_0x2920a0[_0x3fdb30(0x314)]-_0x2cccdc;_0x2cccdc>=_0x330ca9[_0x3fdb30(0x314)]?_0x2920a0['set'](this['_buffers'][_0x3fdb30(0x199)](),_0x29077e):(_0x2920a0['set'](new Uint8Array(_0x330ca9[_0x3fdb30(0x2f9)],_0x330ca9[_0x3fdb30(0x25c)],_0x2cccdc),_0x29077e),this['_buffers'][0x0]=new _0x645f99(_0x330ca9[_0x3fdb30(0x2f9)],_0x330ca9[_0x3fdb30(0x25c)]+_0x2cccdc,_0x330ca9[_0x3fdb30(0x314)]-_0x2cccdc)),_0x2cccdc-=_0x330ca9[_0x3fdb30(0x314)];}while(_0x2cccdc>0x0);return _0x2920a0;}['startLoop'](_0x2cd35e){const _0xa04e99=_0x318038;this[_0xa04e99(0x1f3)]=!0x0;do switch(this[_0xa04e99(0x1bf)]){case _0x49c82:this[_0xa04e99(0x193)](_0x2cd35e);break;case _0x10ec17:this[_0xa04e99(0x2eb)](_0x2cd35e);break;case _0x14f5de:this[_0xa04e99(0x1ae)](_0x2cd35e);break;case _0x17fc78:this[_0xa04e99(0x1bc)]();break;case _0x5cfd28:this[_0xa04e99(0x290)](_0x2cd35e);break;case _0x54f95a:case _0x352e75:this[_0xa04e99(0x1f3)]=!0x1;return;}while(this['_loop']);this[_0xa04e99(0x200)]||_0x2cd35e();}[_0x318038(0x193)](_0x59f322){const _0x4e68e4=_0x318038;if(this[_0x4e68e4(0x1cf)]<0x2){this[_0x4e68e4(0x1f3)]=!0x1;return;}const _0x1f1cca=this[_0x4e68e4(0x312)](0x2);if((_0x1f1cca[0x0]&0x30)!==0x0){const _0x295fc3=this[_0x4e68e4(0x277)](RangeError,_0x4e68e4(0x28d),!0x0,0x3ea,_0x4e68e4(0x1fc));_0x59f322(_0x295fc3);return;}const _0x27a22d=(_0x1f1cca[0x0]&0x40)===0x40;if(_0x27a22d&&!this[_0x4e68e4(0x219)][_0x179760[_0x4e68e4(0x2fd)]]){const _0x4b7f3=this[_0x4e68e4(0x277)](RangeError,_0x4e68e4(0x320),!0x0,0x3ea,_0x4e68e4(0x33b));_0x59f322(_0x4b7f3);return;}if(this['_fin']=(_0x1f1cca[0x0]&0x80)===0x80,this['_opcode']=_0x1f1cca[0x0]&0xf,this[_0x4e68e4(0x2b4)]=_0x1f1cca[0x1]&0x7f,this[_0x4e68e4(0x31b)]===0x0){if(_0x27a22d){const _0x56d1c8=this[_0x4e68e4(0x277)](RangeError,_0x4e68e4(0x320),!0x0,0x3ea,_0x4e68e4(0x33b));_0x59f322(_0x56d1c8);return;}if(!this[_0x4e68e4(0x325)]){const _0x5cfc8a=this[_0x4e68e4(0x277)](RangeError,_0x4e68e4(0x196),!0x0,0x3ea,_0x4e68e4(0x33d));_0x59f322(_0x5cfc8a);return;}this[_0x4e68e4(0x31b)]=this[_0x4e68e4(0x325)];}else{if(this[_0x4e68e4(0x31b)]===0x1||this[_0x4e68e4(0x31b)]===0x2){if(this[_0x4e68e4(0x325)]){const _0x3f0eb8=this[_0x4e68e4(0x277)](RangeError,_0x4e68e4(0x2a1)+this[_0x4e68e4(0x31b)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x59f322(_0x3f0eb8);return;}this[_0x4e68e4(0x270)]=_0x27a22d;}else{if(this[_0x4e68e4(0x31b)]>0x7&&this[_0x4e68e4(0x31b)]<0xb){if(!this['_fin']){const _0xe5b66e=this[_0x4e68e4(0x277)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x4e68e4(0x2b1));_0x59f322(_0xe5b66e);return;}if(_0x27a22d){const _0x4b459e=this[_0x4e68e4(0x277)](RangeError,_0x4e68e4(0x320),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x59f322(_0x4b459e);return;}if(this['_payloadLength']>0x7d||this[_0x4e68e4(0x31b)]===0x8&&this[_0x4e68e4(0x2b4)]===0x1){const _0x2d5bbb=this[_0x4e68e4(0x277)](RangeError,_0x4e68e4(0x343)+this[_0x4e68e4(0x2b4)],!0x0,0x3ea,_0x4e68e4(0x23e));_0x59f322(_0x2d5bbb);return;}}else{const _0x35b9f0=this[_0x4e68e4(0x277)](RangeError,_0x4e68e4(0x2a1)+this['_opcode'],!0x0,0x3ea,_0x4e68e4(0x33d));_0x59f322(_0x35b9f0);return;}}}if(!this[_0x4e68e4(0x25b)]&&!this['_fragmented']&&(this['_fragmented']=this[_0x4e68e4(0x31b)]),this[_0x4e68e4(0x1a6)]=(_0x1f1cca[0x1]&0x80)===0x80,this[_0x4e68e4(0x31d)]){if(!this[_0x4e68e4(0x1a6)]){const _0x321ca2=this['createError'](RangeError,_0x4e68e4(0x2f2),!0x0,0x3ea,_0x4e68e4(0x310));_0x59f322(_0x321ca2);return;}}else{if(this[_0x4e68e4(0x1a6)]){const _0x5d4ca3=this[_0x4e68e4(0x277)](RangeError,_0x4e68e4(0x224),!0x0,0x3ea,_0x4e68e4(0x26e));_0x59f322(_0x5d4ca3);return;}}this['_payloadLength']===0x7e?this['_state']=_0x10ec17:this[_0x4e68e4(0x2b4)]===0x7f?this[_0x4e68e4(0x1bf)]=_0x14f5de:this[_0x4e68e4(0x227)](_0x59f322);}[_0x318038(0x2eb)](_0x3ad35f){const _0xb2bb5=_0x318038;if(this['_bufferedBytes']<0x2){this[_0xb2bb5(0x1f3)]=!0x1;return;}this[_0xb2bb5(0x2b4)]=this[_0xb2bb5(0x312)](0x2)[_0xb2bb5(0x207)](0x0),this[_0xb2bb5(0x227)](_0x3ad35f);}[_0x318038(0x1ae)](_0x1181f5){const _0x140725=_0x318038;if(this['_bufferedBytes']<0x8){this[_0x140725(0x1f3)]=!0x1;return;}const _0x3c9dfa=this['consume'](0x8),_0x426df7=_0x3c9dfa[_0x140725(0x1b9)](0x0);if(_0x426df7>Math[_0x140725(0x2ab)](0x2,0x15)-0x1){const _0x369be2=this[_0x140725(0x277)](RangeError,_0x140725(0x29c),!0x1,0x3f1,_0x140725(0x24b));_0x1181f5(_0x369be2);return;}this[_0x140725(0x2b4)]=_0x426df7*Math[_0x140725(0x2ab)](0x2,0x20)+_0x3c9dfa[_0x140725(0x1b9)](0x4),this[_0x140725(0x227)](_0x1181f5);}[_0x318038(0x227)](_0x2369b2){const _0x505970=_0x318038;if(this[_0x505970(0x2b4)]&&this[_0x505970(0x31b)]<0x8&&(this[_0x505970(0x1a0)]+=this['_payloadLength'],this[_0x505970(0x1a0)]>this['_maxPayload']&&this[_0x505970(0x248)]>0x0)){const _0x576bb8=this[_0x505970(0x277)](RangeError,_0x505970(0x22e),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x2369b2(_0x576bb8);return;}this['_masked']?this[_0x505970(0x1bf)]=_0x17fc78:this['_state']=_0x5cfd28;}[_0x318038(0x1bc)](){const _0x40517f=_0x318038;if(this[_0x40517f(0x1cf)]<0x4){this[_0x40517f(0x1f3)]=!0x1;return;}this[_0x40517f(0x29b)]=this[_0x40517f(0x312)](0x4),this['_state']=_0x5cfd28;}[_0x318038(0x290)](_0x21e454){const _0x4d27a7=_0x318038;let _0x503f16=_0x174151;if(this['_payloadLength']){if(this[_0x4d27a7(0x1cf)]<this[_0x4d27a7(0x2b4)]){this[_0x4d27a7(0x1f3)]=!0x1;return;}_0x503f16=this[_0x4d27a7(0x312)](this['_payloadLength']),this[_0x4d27a7(0x1a6)]&&(this[_0x4d27a7(0x29b)][0x0]|this[_0x4d27a7(0x29b)][0x1]|this[_0x4d27a7(0x29b)][0x2]|this[_0x4d27a7(0x29b)][0x3])!==0x0&&_0x1cc664(_0x503f16,this[_0x4d27a7(0x29b)]);}if(this['_opcode']>0x7){this[_0x4d27a7(0x209)](_0x503f16,_0x21e454);return;}if(this['_compressed']){this[_0x4d27a7(0x1bf)]=_0x54f95a,this[_0x4d27a7(0x285)](_0x503f16,_0x21e454);return;}_0x503f16[_0x4d27a7(0x314)]&&(this[_0x4d27a7(0x25f)]=this[_0x4d27a7(0x1a0)],this[_0x4d27a7(0x28e)][_0x4d27a7(0x235)](_0x503f16)),this[_0x4d27a7(0x298)](_0x21e454);}[_0x318038(0x285)](_0x23def,_0x5895c8){const _0x27fad9=_0x318038;this[_0x27fad9(0x219)][_0x179760[_0x27fad9(0x2fd)]][_0x27fad9(0x285)](_0x23def,this['_fin'],(_0xe8d764,_0x3eff97)=>{const _0x370095=_0x27fad9;if(_0xe8d764)return _0x5895c8(_0xe8d764);if(_0x3eff97[_0x370095(0x314)]){if(this['_messageLength']+=_0x3eff97['length'],this[_0x370095(0x25f)]>this[_0x370095(0x248)]&&this[_0x370095(0x248)]>0x0){const _0x47b99d=this[_0x370095(0x277)](RangeError,_0x370095(0x22e),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x5895c8(_0x47b99d);return;}this[_0x370095(0x28e)]['push'](_0x3eff97);}this[_0x370095(0x298)](_0x5895c8),this[_0x370095(0x1bf)]===_0x49c82&&this[_0x370095(0x321)](_0x5895c8);});}[_0x318038(0x298)](_0x3542cf){const _0x39bc88=_0x318038;if(!this[_0x39bc88(0x25b)]){this[_0x39bc88(0x1bf)]=_0x49c82;return;}const _0x31c5ef=this['_messageLength'],_0x34ca97=this[_0x39bc88(0x28e)];if(this[_0x39bc88(0x1a0)]=0x0,this['_messageLength']=0x0,this[_0x39bc88(0x325)]=0x0,this[_0x39bc88(0x28e)]=[],this['_opcode']===0x2){let _0x19964c;this['_binaryType']===_0x39bc88(0x283)?_0x19964c=_0x274ff1(_0x34ca97,_0x31c5ef):this[_0x39bc88(0x1d2)]===_0x39bc88(0x326)?_0x19964c=_0x4245ce(_0x274ff1(_0x34ca97,_0x31c5ef)):this[_0x39bc88(0x1d2)]==='blob'?_0x19964c=new Blob(_0x34ca97):_0x19964c=_0x34ca97,this[_0x39bc88(0x1f0)]?(this['emit'](_0x39bc88(0x2b8),_0x19964c,!0x0),this['_state']=_0x49c82):(this['_state']=_0x352e75,setImmediate(()=>{const _0x53ef6c=_0x39bc88;this[_0x53ef6c(0x22c)]('message',_0x19964c,!0x0),this[_0x53ef6c(0x1bf)]=_0x49c82,this[_0x53ef6c(0x321)](_0x3542cf);}));}else{const _0x38dcf4=_0x274ff1(_0x34ca97,_0x31c5ef);if(!this[_0x39bc88(0x2ef)]&&!_0x391f48(_0x38dcf4)){const _0x56fb34=this[_0x39bc88(0x277)](Error,_0x39bc88(0x2d2),!0x0,0x3ef,_0x39bc88(0x236));_0x3542cf(_0x56fb34);return;}this[_0x39bc88(0x1bf)]===_0x54f95a||this[_0x39bc88(0x1f0)]?(this[_0x39bc88(0x22c)](_0x39bc88(0x2b8),_0x38dcf4,!0x1),this[_0x39bc88(0x1bf)]=_0x49c82):(this[_0x39bc88(0x1bf)]=_0x352e75,setImmediate(()=>{const _0x1d103f=_0x39bc88;this[_0x1d103f(0x22c)](_0x1d103f(0x2b8),_0x38dcf4,!0x1),this[_0x1d103f(0x1bf)]=_0x49c82,this[_0x1d103f(0x321)](_0x3542cf);}));}}[_0x318038(0x209)](_0x237ca0,_0x366a47){const _0xeb9455=_0x318038;if(this[_0xeb9455(0x31b)]===0x8){if(_0x237ca0['length']===0x0)this[_0xeb9455(0x1f3)]=!0x1,this[_0xeb9455(0x22c)](_0xeb9455(0x1c1),0x3ed,_0x174151),this[_0xeb9455(0x27b)]();else{const _0x186ffa=_0x237ca0['readUInt16BE'](0x0);if(!_0x42e49d(_0x186ffa)){const _0x20b84d=this[_0xeb9455(0x277)](RangeError,_0xeb9455(0x2e2)+_0x186ffa,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x366a47(_0x20b84d);return;}const _0x2f4a8e=new _0x645f99(_0x237ca0[_0xeb9455(0x2f9)],_0x237ca0[_0xeb9455(0x25c)]+0x2,_0x237ca0[_0xeb9455(0x314)]-0x2);if(!this[_0xeb9455(0x2ef)]&&!_0x391f48(_0x2f4a8e)){const _0x1ad313=this['createError'](Error,_0xeb9455(0x2d2),!0x0,0x3ef,_0xeb9455(0x236));_0x366a47(_0x1ad313);return;}this[_0xeb9455(0x1f3)]=!0x1,this[_0xeb9455(0x22c)]('conclude',_0x186ffa,_0x2f4a8e),this[_0xeb9455(0x27b)]();}this['_state']=_0x49c82;return;}this[_0xeb9455(0x1f0)]?(this['emit'](this['_opcode']===0x9?_0xeb9455(0x2e5):'pong',_0x237ca0),this[_0xeb9455(0x1bf)]=_0x49c82):(this['_state']=_0x352e75,setImmediate(()=>{const _0x6ecc3f=_0xeb9455;this[_0x6ecc3f(0x22c)](this[_0x6ecc3f(0x31b)]===0x9?'ping':_0x6ecc3f(0x245),_0x237ca0),this[_0x6ecc3f(0x1bf)]=_0x49c82,this[_0x6ecc3f(0x321)](_0x366a47);}));}[_0x318038(0x277)](_0x1f0deb,_0x1a254c,_0x2bc396,_0x32d07d,_0x4d337d){const _0xd97d48=_0x318038;this[_0xd97d48(0x1f3)]=!0x1,this[_0xd97d48(0x200)]=!0x0;const _0x23d8f0=new _0x1f0deb(_0x2bc396?'Invalid\x20WebSocket\x20frame:\x20'+_0x1a254c:_0x1a254c);return Error[_0xd97d48(0x253)](_0x23d8f0,this[_0xd97d48(0x277)]),_0x23d8f0[_0xd97d48(0x352)]=_0x4d337d,_0x23d8f0[_0x2e226c]=_0x32d07d,_0x23d8f0;}}return Se=_0x4109cc,Se;}var Ee,Xe;function ft(){const _0x269175=_0x387344;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x592d86}=oe,{randomFillSync:_0x5a3a73}=Le,_0x4a8e43=he(),{EMPTY_BUFFER:_0x4c0cca,kWebSocket:_0xe1dcd5,NOOP:_0x513e}=H(),{isBlob:_0x33ed9a,isValidStatusCode:_0x1a0faa}=ae(),{mask:_0x54d689,toBuffer:_0x1982d6}=ce(),_0x1cd294=Symbol(_0x269175(0x1e4)),_0x39647e=Buffer[_0x269175(0x341)](0x4),_0x2a2213=0x8*0x400;let _0x1aa755,_0x550aea=_0x2a2213;const _0x98138=0x0,_0x7b7ce2=0x1,_0x484667=0x2;class _0x331119{constructor(_0x309955,_0x4d815c,_0x54e4a9){const _0x12d091=_0x269175;this[_0x12d091(0x219)]=_0x4d815c||{},_0x54e4a9&&(this[_0x12d091(0x274)]=_0x54e4a9,this['_maskBuffer']=Buffer[_0x12d091(0x341)](0x4)),this[_0x12d091(0x262)]=_0x309955,this[_0x12d091(0x234)]=!0x0,this['_compress']=!0x1,this['_bufferedBytes']=0x0,this[_0x12d091(0x203)]=[],this[_0x12d091(0x1bf)]=_0x98138,this[_0x12d091(0x192)]=_0x513e,this[_0xe1dcd5]=void 0x0;}static[_0x269175(0x1c3)](_0xade9c4,_0x43137f){const _0x23deab=_0x269175;let _0xfb1f59,_0x48acea=!0x1,_0x1d75f6=0x2,_0x3a92e5=!0x1;_0x43137f['mask']&&(_0xfb1f59=_0x43137f['maskBuffer']||_0x39647e,_0x43137f[_0x23deab(0x22f)]?_0x43137f['generateMask'](_0xfb1f59):(_0x550aea===_0x2a2213&&(_0x1aa755===void 0x0&&(_0x1aa755=Buffer[_0x23deab(0x341)](_0x2a2213)),_0x5a3a73(_0x1aa755,0x0,_0x2a2213),_0x550aea=0x0),_0xfb1f59[0x0]=_0x1aa755[_0x550aea++],_0xfb1f59[0x1]=_0x1aa755[_0x550aea++],_0xfb1f59[0x2]=_0x1aa755[_0x550aea++],_0xfb1f59[0x3]=_0x1aa755[_0x550aea++]),_0x3a92e5=(_0xfb1f59[0x0]|_0xfb1f59[0x1]|_0xfb1f59[0x2]|_0xfb1f59[0x3])===0x0,_0x1d75f6=0x6);let _0x1668ad;typeof _0xade9c4==_0x23deab(0x218)?(!_0x43137f[_0x23deab(0x2d4)]||_0x3a92e5)&&_0x43137f[_0x1cd294]!==void 0x0?_0x1668ad=_0x43137f[_0x1cd294]:(_0xade9c4=Buffer['from'](_0xade9c4),_0x1668ad=_0xade9c4[_0x23deab(0x314)]):(_0x1668ad=_0xade9c4[_0x23deab(0x314)],_0x48acea=_0x43137f[_0x23deab(0x2d4)]&&_0x43137f[_0x23deab(0x2a9)]&&!_0x3a92e5);let _0x44d224=_0x1668ad;_0x1668ad>=0x10000?(_0x1d75f6+=0x8,_0x44d224=0x7f):_0x1668ad>0x7d&&(_0x1d75f6+=0x2,_0x44d224=0x7e);const _0x6a4d30=Buffer[_0x23deab(0x2be)](_0x48acea?_0x1668ad+_0x1d75f6:_0x1d75f6);return _0x6a4d30[0x0]=_0x43137f['fin']?_0x43137f[_0x23deab(0x26b)]|0x80:_0x43137f[_0x23deab(0x26b)],_0x43137f['rsv1']&&(_0x6a4d30[0x0]|=0x40),_0x6a4d30[0x1]=_0x44d224,_0x44d224===0x7e?_0x6a4d30[_0x23deab(0x237)](_0x1668ad,0x2):_0x44d224===0x7f&&(_0x6a4d30[0x2]=_0x6a4d30[0x3]=0x0,_0x6a4d30[_0x23deab(0x2ba)](_0x1668ad,0x4,0x6)),_0x43137f[_0x23deab(0x2d4)]?(_0x6a4d30[0x1]|=0x80,_0x6a4d30[_0x1d75f6-0x4]=_0xfb1f59[0x0],_0x6a4d30[_0x1d75f6-0x3]=_0xfb1f59[0x1],_0x6a4d30[_0x1d75f6-0x2]=_0xfb1f59[0x2],_0x6a4d30[_0x1d75f6-0x1]=_0xfb1f59[0x3],_0x3a92e5?[_0x6a4d30,_0xade9c4]:_0x48acea?(_0x54d689(_0xade9c4,_0xfb1f59,_0x6a4d30,_0x1d75f6,_0x1668ad),[_0x6a4d30]):(_0x54d689(_0xade9c4,_0xfb1f59,_0xade9c4,0x0,_0x1668ad),[_0x6a4d30,_0xade9c4])):[_0x6a4d30,_0xade9c4];}[_0x269175(0x280)](_0x2f33ef,_0x220e8e,_0x2978c7,_0xb5e32c){const _0x329869=_0x269175;let _0x40b7bc;if(_0x2f33ef===void 0x0)_0x40b7bc=_0x4c0cca;else{if(typeof _0x2f33ef!=_0x329869(0x254)||!_0x1a0faa(_0x2f33ef))throw new TypeError(_0x329869(0x21d));if(_0x220e8e===void 0x0||!_0x220e8e[_0x329869(0x314)])_0x40b7bc=Buffer[_0x329869(0x2be)](0x2),_0x40b7bc[_0x329869(0x237)](_0x2f33ef,0x0);else{const _0x2609d1=Buffer['byteLength'](_0x220e8e);if(_0x2609d1>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x40b7bc=Buffer[_0x329869(0x2be)](0x2+_0x2609d1),_0x40b7bc[_0x329869(0x237)](_0x2f33ef,0x0),typeof _0x220e8e==_0x329869(0x218)?_0x40b7bc[_0x329869(0x2cb)](_0x220e8e,0x2):_0x40b7bc[_0x329869(0x1c5)](_0x220e8e,0x2);}}const _0x378904={[_0x1cd294]:_0x40b7bc[_0x329869(0x314)],'fin':!0x0,'generateMask':this[_0x329869(0x274)],'mask':_0x2978c7,'maskBuffer':this[_0x329869(0x27c)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x329869(0x1bf)]!==_0x98138?this[_0x329869(0x223)]([this[_0x329869(0x339)],_0x40b7bc,!0x1,_0x378904,_0xb5e32c]):this[_0x329869(0x1c8)](_0x331119[_0x329869(0x1c3)](_0x40b7bc,_0x378904),_0xb5e32c);}[_0x269175(0x2e5)](_0x3b28ad,_0x21d384,_0x2b27ff){const _0x480f05=_0x269175;let _0x22434d,_0x5237d3;if(typeof _0x3b28ad=='string'?(_0x22434d=Buffer['byteLength'](_0x3b28ad),_0x5237d3=!0x1):_0x33ed9a(_0x3b28ad)?(_0x22434d=_0x3b28ad[_0x480f05(0x318)],_0x5237d3=!0x1):(_0x3b28ad=_0x1982d6(_0x3b28ad),_0x22434d=_0x3b28ad['length'],_0x5237d3=_0x1982d6[_0x480f05(0x2a9)]),_0x22434d>0x7d)throw new RangeError(_0x480f05(0x294));const _0xe68422={[_0x1cd294]:_0x22434d,'fin':!0x0,'generateMask':this[_0x480f05(0x274)],'mask':_0x21d384,'maskBuffer':this[_0x480f05(0x27c)],'opcode':0x9,'readOnly':_0x5237d3,'rsv1':!0x1};_0x33ed9a(_0x3b28ad)?this['_state']!==_0x98138?this[_0x480f05(0x223)]([this[_0x480f05(0x244)],_0x3b28ad,!0x1,_0xe68422,_0x2b27ff]):this[_0x480f05(0x244)](_0x3b28ad,!0x1,_0xe68422,_0x2b27ff):this['_state']!==_0x98138?this['enqueue']([this['dispatch'],_0x3b28ad,!0x1,_0xe68422,_0x2b27ff]):this['sendFrame'](_0x331119[_0x480f05(0x1c3)](_0x3b28ad,_0xe68422),_0x2b27ff);}[_0x269175(0x245)](_0x57c581,_0x588896,_0x4828ee){const _0x1e3e98=_0x269175;let _0x5cef8c,_0x100f99;if(typeof _0x57c581==_0x1e3e98(0x218)?(_0x5cef8c=Buffer[_0x1e3e98(0x2dc)](_0x57c581),_0x100f99=!0x1):_0x33ed9a(_0x57c581)?(_0x5cef8c=_0x57c581[_0x1e3e98(0x318)],_0x100f99=!0x1):(_0x57c581=_0x1982d6(_0x57c581),_0x5cef8c=_0x57c581[_0x1e3e98(0x314)],_0x100f99=_0x1982d6[_0x1e3e98(0x2a9)]),_0x5cef8c>0x7d)throw new RangeError(_0x1e3e98(0x294));const _0x3434d1={[_0x1cd294]:_0x5cef8c,'fin':!0x0,'generateMask':this[_0x1e3e98(0x274)],'mask':_0x588896,'maskBuffer':this[_0x1e3e98(0x27c)],'opcode':0xa,'readOnly':_0x100f99,'rsv1':!0x1};_0x33ed9a(_0x57c581)?this['_state']!==_0x98138?this[_0x1e3e98(0x223)]([this[_0x1e3e98(0x244)],_0x57c581,!0x1,_0x3434d1,_0x4828ee]):this[_0x1e3e98(0x244)](_0x57c581,!0x1,_0x3434d1,_0x4828ee):this['_state']!==_0x98138?this['enqueue']([this[_0x1e3e98(0x339)],_0x57c581,!0x1,_0x3434d1,_0x4828ee]):this[_0x1e3e98(0x1c8)](_0x331119[_0x1e3e98(0x1c3)](_0x57c581,_0x3434d1),_0x4828ee);}[_0x269175(0x216)](_0x52184c,_0x51992d,_0x2edbac){const _0x1f7e69=_0x269175,_0x3e0099=this[_0x1f7e69(0x219)][_0x4a8e43['extensionName']];let _0x457bca=_0x51992d['binary']?0x2:0x1,_0x4848d8=_0x51992d[_0x1f7e69(0x1f8)],_0x42825e,_0x548793;typeof _0x52184c==_0x1f7e69(0x218)?(_0x42825e=Buffer[_0x1f7e69(0x2dc)](_0x52184c),_0x548793=!0x1):_0x33ed9a(_0x52184c)?(_0x42825e=_0x52184c[_0x1f7e69(0x318)],_0x548793=!0x1):(_0x52184c=_0x1982d6(_0x52184c),_0x42825e=_0x52184c[_0x1f7e69(0x314)],_0x548793=_0x1982d6[_0x1f7e69(0x2a9)]),this['_firstFragment']?(this[_0x1f7e69(0x234)]=!0x1,_0x4848d8&&_0x3e0099&&_0x3e0099[_0x1f7e69(0x1ce)][_0x3e0099['_isServer']?_0x1f7e69(0x19f):'client_no_context_takeover']&&(_0x4848d8=_0x42825e>=_0x3e0099[_0x1f7e69(0x1d4)]),this[_0x1f7e69(0x33c)]=_0x4848d8):(_0x4848d8=!0x1,_0x457bca=0x0),_0x51992d[_0x1f7e69(0x2e0)]&&(this[_0x1f7e69(0x234)]=!0x0);const _0x21885c={[_0x1cd294]:_0x42825e,'fin':_0x51992d[_0x1f7e69(0x2e0)],'generateMask':this['_generateMask'],'mask':_0x51992d[_0x1f7e69(0x2d4)],'maskBuffer':this['_maskBuffer'],'opcode':_0x457bca,'readOnly':_0x548793,'rsv1':_0x4848d8};_0x33ed9a(_0x52184c)?this[_0x1f7e69(0x1bf)]!==_0x98138?this['enqueue']([this[_0x1f7e69(0x244)],_0x52184c,this['_compress'],_0x21885c,_0x2edbac]):this[_0x1f7e69(0x244)](_0x52184c,this[_0x1f7e69(0x33c)],_0x21885c,_0x2edbac):this[_0x1f7e69(0x1bf)]!==_0x98138?this[_0x1f7e69(0x223)]([this[_0x1f7e69(0x339)],_0x52184c,this[_0x1f7e69(0x33c)],_0x21885c,_0x2edbac]):this['dispatch'](_0x52184c,this[_0x1f7e69(0x33c)],_0x21885c,_0x2edbac);}[_0x269175(0x244)](_0x42b4d2,_0x6dcc63,_0x180315,_0x1d64ce){const _0xf04ea9=_0x269175;this[_0xf04ea9(0x1cf)]+=_0x180315[_0x1cd294],this['_state']=_0x484667,_0x42b4d2[_0xf04ea9(0x1f7)]()[_0xf04ea9(0x1c6)](_0x5f45a3=>{const _0x5ab953=_0xf04ea9;if(this[_0x5ab953(0x262)][_0x5ab953(0x24c)]){const _0x4c8a58=new Error(_0x5ab953(0x28a));process[_0x5ab953(0x19b)](_0x4b3f1d,this,_0x4c8a58,_0x1d64ce);return;}this[_0x5ab953(0x1cf)]-=_0x180315[_0x1cd294];const _0x18c348=_0x1982d6(_0x5f45a3);_0x6dcc63?this[_0x5ab953(0x339)](_0x18c348,_0x6dcc63,_0x180315,_0x1d64ce):(this[_0x5ab953(0x1bf)]=_0x98138,this[_0x5ab953(0x1c8)](_0x331119['frame'](_0x18c348,_0x180315),_0x1d64ce),this[_0x5ab953(0x282)]());})[_0xf04ea9(0x1c2)](_0xe399fa=>{process['nextTick'](_0x148363,this,_0xe399fa,_0x1d64ce);});}[_0x269175(0x339)](_0x4f415e,_0x5146cb,_0x50a671,_0x4cd7a2){const _0x57b0a8=_0x269175;if(!_0x5146cb){this['sendFrame'](_0x331119[_0x57b0a8(0x1c3)](_0x4f415e,_0x50a671),_0x4cd7a2);return;}const _0x327db6=this[_0x57b0a8(0x219)][_0x4a8e43[_0x57b0a8(0x2fd)]];this[_0x57b0a8(0x1cf)]+=_0x50a671[_0x1cd294],this[_0x57b0a8(0x1bf)]=_0x7b7ce2,_0x327db6[_0x57b0a8(0x1f8)](_0x4f415e,_0x50a671[_0x57b0a8(0x2e0)],(_0x4f5b69,_0x3724ff)=>{const _0x535053=_0x57b0a8;if(this[_0x535053(0x262)][_0x535053(0x24c)]){const _0xffbc9f=new Error(_0x535053(0x233));_0x4b3f1d(this,_0xffbc9f,_0x4cd7a2);return;}this['_bufferedBytes']-=_0x50a671[_0x1cd294],this['_state']=_0x98138,_0x50a671[_0x535053(0x2a9)]=!0x1,this[_0x535053(0x1c8)](_0x331119[_0x535053(0x1c3)](_0x3724ff,_0x50a671),_0x4cd7a2),this[_0x535053(0x282)]();});}[_0x269175(0x282)](){const _0x575f5f=_0x269175;for(;this[_0x575f5f(0x1bf)]===_0x98138&&this['_queue']['length'];){const _0x3a3972=this[_0x575f5f(0x203)][_0x575f5f(0x199)]();this[_0x575f5f(0x1cf)]-=_0x3a3972[0x3][_0x1cd294],Reflect['apply'](_0x3a3972[0x0],this,_0x3a3972[_0x575f5f(0x2b3)](0x1));}}[_0x269175(0x223)](_0x352860){const _0x1a20ca=_0x269175;this[_0x1a20ca(0x1cf)]+=_0x352860[0x3][_0x1cd294],this[_0x1a20ca(0x203)][_0x1a20ca(0x235)](_0x352860);}[_0x269175(0x1c8)](_0x5928f1,_0x500170){const _0x12bb4d=_0x269175;_0x5928f1[_0x12bb4d(0x314)]===0x2?(this[_0x12bb4d(0x262)][_0x12bb4d(0x206)](),this[_0x12bb4d(0x262)][_0x12bb4d(0x2cb)](_0x5928f1[0x0]),this['_socket'][_0x12bb4d(0x2cb)](_0x5928f1[0x1],_0x500170),this[_0x12bb4d(0x262)][_0x12bb4d(0x2b7)]()):this['_socket'][_0x12bb4d(0x2cb)](_0x5928f1[0x0],_0x500170);}}Ee=_0x331119;function _0x4b3f1d(_0x3e749c,_0x149d02,_0x45633a){const _0xbe0377=_0x269175;typeof _0x45633a==_0xbe0377(0x347)&&_0x45633a(_0x149d02);for(let _0x25811f=0x0;_0x25811f<_0x3e749c['_queue']['length'];_0x25811f++){const _0x528d87=_0x3e749c[_0xbe0377(0x203)][_0x25811f],_0x3afb23=_0x528d87[_0x528d87[_0xbe0377(0x314)]-0x1];typeof _0x3afb23==_0xbe0377(0x347)&&_0x3afb23(_0x149d02);}}function _0x148363(_0x3bf4c9,_0xb4c0b,_0x5b6a00){_0x4b3f1d(_0x3bf4c9,_0xb4c0b,_0x5b6a00),_0x3bf4c9['onerror'](_0xb4c0b);}return Ee;}var xe,Ze;function _0x5a52(){const _0x55d862=['_paused','request','websocket','enqueue','MASK\x20must\x20be\x20clear','118152DgWJLN','hostname','haveLength','Unsupported\x20protocol\x20version:\x20','flush','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','serverMaxWindowBits','emit','url','Max\x20payload\x20size\x20exceeded','generateMask','noServer','registerDependencies','isValidUTF8','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_firstFragment','push','WS_ERR_INVALID_UTF8','writeUInt16BE','concat','ISnapshotServerService','username','Server\x20sent\x20no\x20subprotocol','parse','open','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','from','socket','listenerCount','_server','75751Wrhohs','getBlobData','pong','path','kListener','_maxPayload','Maximum\x20redirects\x20exceeded','_closeFrameSent','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','destroyed','pluginName','_readableState','followRedirects','ws:','readyState','COLLABORATION_CLIENT_NODE_CONFIG_KEY','captureStackTrace','number','perMessageDeflate','test','verifyClient','_destroy','response','_configService','_fin','byteOffset','5745173FsoVza','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_messageLength','Connection:\x20Upgrade','exports','_socket','includes','isPaused','stream','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','Injector','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','jobs','opcode','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','ILogService','WS_ERR_UNEXPECTED_MASK','\x20(supported\x20versions:\x20','_compressed','CLOSED','client_max_window_bits','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_generateMask','onopen','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','createError','total-length','apply','authorization','end','_maskBuffer','Unexpected\x20server\x20response:\x20','resume','callback','close','split','dequeue','nodebuffer','Server\x20sent\x20an\x20invalid\x20subprotocol','decompress','10slgmsn','unmask','_closeTimer','isServer','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','next','__esModule','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_fragments','join','getData','_no_context_takeover','IConfigService','_closeCode','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','sec-websocket-extensions','removeEventListener','backlog','dataMessage','protocol','toDisposable','_mask','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','http:','toStringTag','blob','listeners','invalid\x20opcode\x20','Sec-WebSocket-Extensions','pathname','binaryType','STATUS_CODES','WS_NO_UTF_8_VALIDATE','error','ISocketService','readOnly','accept','pow','startsWith','extensions','toString','1768452rdkagk','_deflate','WS_ERR_EXPECTED_FIN','Invalid\x20Sec-WebSocket-Extensions\x20header','slice','_payloadLength','skipUTF8Validation','onStarting','uncork','message','addEventListener','writeUIntBE','headers','wss:','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','allocUnsafe','setSocket','304AdVYvj','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_redirects','_writableState','password','Invalid\x20value\x20for\x20parameter\x20\x22','removeListener','setTimeout','data','_buffers','handleUpgrade','write','destroy','finished','createDeflateRaw','setNoDelay','writable','sha1','invalid\x20UTF-8\x20sequence','Basic\x20','mask','status-code','_originalSecure','WebSocket','location','concurrency','port','isArray','byteLength','collaboration-client-node.config','Invalid\x20Sec-WebSocket-Protocol\x20header','kMessage','fin','UniverCollaborationClientNodePlugin','invalid\x20status\x20code\x20','sec-websocket-protocol','normalizeParams','ping','_receiver','Upgrade','acceptAsServer','createSocket','wasClean','getPayloadLength16','CLOSING','63eAgpmz','target','_skipUTF8Validation','Inject','clients','MASK\x20must\x20be\x20set','keys','Z_DEFAULT_WINDOWBITS','Upgrade:\x20websocket','offer','_final','pause','buffer','_req','entries','text/html','extensionName','sec-websocket-key','terminate','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_httpService','_originalIpc','freeze','indexOf','Opening\x20handshake\x20has\x20timed\x20out','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','The\x20server\x20is\x20not\x20running','UniverCollaborationClientPlugin','_url','_closeFrameReceived','_doCreateSocket','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','servername','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','onmessage','WS_ERR_EXPECTED_MASK','setHeader','consume','readable','length','Module','autoPong','buffers','size','get','has','_opcode','\x22\x20subprotocol\x20is\x20duplicated','_isServer','createConnection','Invalid\x20HTTP\x20method','RSV1\x20must\x20be\x20clear','startLoop','_originalHostOrSocketPath','The\x20\x22','protocolVersion','_fragmented','arraybuffer','kWasClean','_closeMessage','handleEvent','sec-websocket-origin','connect','_shouldEmitClose','13,\x208','find','_options','completeUpgrade','handshakeTimeout','redirect','5568gxNlAq','handleProtocols','_read','1241630EqeXRg','delete','client_no_context_takeover','dispatch','href','WS_ERR_UNEXPECTED_RSV_1','_compress','WS_ERR_INVALID_OPCODE','create','replace','dispose','alloc','Plugin','invalid\x20payload\x20length\x20','Cookie','encrypted','value','function','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','finish','_max_window_bits','Sec-WebSocket-Protocol:\x20','permessage-deflate','Unexpected\x20character\x20at\x20index\x20','base64','unexpected-response','socketPath','pending','code','emitClose','Sec-WebSocket-Extensions:\x20','shouldHandle','removeAllListeners','OPEN','reset','onerror','getInfo','allowSynchronousEvents','kError','invalid\x20opcode\x200','The\x20URL\x27s\x20pathname\x20is\x20empty','species','shift','HTTPService','nextTick','DisposableCollection','16710eHbiyu','\x0d\x0a\x0d\x0a','server_no_context_takeover','_totalPayloadLength','pipe','objectMode','_bufferedAmount','hash','createServer','_masked','kType','drain','server_max_window_bits','_registerDependencies','clientTracking','fragments','cookie','getPayloadLength64','\x22\x20must\x20have\x20only\x20a\x20single\x20value','constructor','_errorEmitted','finishRequest','auth','_inflate','DependentOn','server','share','bind','readUInt32BE','defaultPort','endEmitted','getMask','_write','isView','_state','getOwnPropertyDescriptor','conclude','catch','frame','update','set','then','GET','sendFrame','defineProperty','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','type','kIsForOnEventAttribute','statusCode','params','_bufferedBytes','host','_decompress','_binaryType','wsClientError','_threshold','_autoPong','needDrain','Observable','clientNoContextTakeover','env','2684kHDLMj','timeout','_sender','options','_injector','add','text/plain','default','charCodeAt','sec-websocket-accept','kByteLength','customHeaders','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','map','maxRedirects','reason','toLowerCase','origin','isInteger','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','prototype','_allowSynchronousEvents','call','digest','_loop','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','upgrade','threshold','arrayBuffer','compress','_protocol','concurrencyLimit','serverNoContextTakeover','WS_ERR_UNEXPECTED_RSV_2_3','sec-websocket-version','client','Sec-WebSocket-Protocol','_errored','createInflateRaw','bufferedAmount','_queue','Invalid\x20Upgrade\x20header','Blob','cork','readUInt16BE','object','controlMessage','Sec-WebSocket-Accept:\x20','listen','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','NodeCollaborationSocketService','maxPayload','forEach','_readyState','kCode','isBuffer','CONNECTING','errorEmitted','Origin','send','kAborted','string','_extensions','_removeListeners','getConfig','clientMaxWindowBits','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','Unexpected\x20end\x20of\x20input','once'];_0x5a52=function(){return _0x55d862;};return _0x5a52();}function It(){const _0x5160b8=_0x387344;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x1823e8,kListener:_0x432046}=H(),_0x518532=Symbol(_0x5160b8(0x211)),_0x279aad=Symbol('kData'),_0x2c15f8=Symbol(_0x5160b8(0x195)),_0x2f19bc=Symbol(_0x5160b8(0x2df)),_0x510500=Symbol('kReason'),_0x5d60fc=Symbol('kTarget'),_0xaa073f=Symbol(_0x5160b8(0x1a7)),_0x282ca7=Symbol(_0x5160b8(0x327));class _0x4df510{constructor(_0x4a8f1d){this[_0x5d60fc]=null,this[_0xaa073f]=_0x4a8f1d;}get['target'](){return this[_0x5d60fc];}get[_0x5160b8(0x1cb)](){return this[_0xaa073f];}}Object['defineProperty'](_0x4df510[_0x5160b8(0x1ef)],_0x5160b8(0x2ee),{'enumerable':!0x0}),Object[_0x5160b8(0x1c9)](_0x4df510['prototype'],_0x5160b8(0x1cb),{'enumerable':!0x0});class _0x1b29ef extends _0x4df510{constructor(_0x52f241,_0x4140cc={}){const _0x360619=_0x5160b8;super(_0x52f241),this[_0x518532]=_0x4140cc[_0x360619(0x352)]===void 0x0?0x0:_0x4140cc[_0x360619(0x352)],this[_0x510500]=_0x4140cc[_0x360619(0x1e9)]===void 0x0?'':_0x4140cc[_0x360619(0x1e9)],this[_0x282ca7]=_0x4140cc[_0x360619(0x2ea)]===void 0x0?!0x1:_0x4140cc['wasClean'];}get[_0x5160b8(0x352)](){return this[_0x518532];}get[_0x5160b8(0x1e9)](){return this[_0x510500];}get[_0x5160b8(0x2ea)](){return this[_0x282ca7];}}Object[_0x5160b8(0x1c9)](_0x1b29ef[_0x5160b8(0x1ef)],_0x5160b8(0x352),{'enumerable':!0x0}),Object[_0x5160b8(0x1c9)](_0x1b29ef[_0x5160b8(0x1ef)],_0x5160b8(0x1e9),{'enumerable':!0x0}),Object[_0x5160b8(0x1c9)](_0x1b29ef[_0x5160b8(0x1ef)],_0x5160b8(0x2ea),{'enumerable':!0x0});class _0x28e3ba extends _0x4df510{constructor(_0x79eea7,_0xec9bcc={}){const _0x484d16=_0x5160b8;super(_0x79eea7),this[_0x2c15f8]=_0xec9bcc[_0x484d16(0x2a7)]===void 0x0?null:_0xec9bcc[_0x484d16(0x2a7)],this[_0x2f19bc]=_0xec9bcc[_0x484d16(0x2b8)]===void 0x0?'':_0xec9bcc[_0x484d16(0x2b8)];}get[_0x5160b8(0x2a7)](){return this[_0x2c15f8];}get[_0x5160b8(0x2b8)](){return this[_0x2f19bc];}}Object[_0x5160b8(0x1c9)](_0x28e3ba[_0x5160b8(0x1ef)],_0x5160b8(0x2a7),{'enumerable':!0x0}),Object['defineProperty'](_0x28e3ba[_0x5160b8(0x1ef)],'message',{'enumerable':!0x0});class _0x30d202 extends _0x4df510{constructor(_0x4ff758,_0x2902e1={}){const _0x33ff61=_0x5160b8;super(_0x4ff758),this[_0x279aad]=_0x2902e1[_0x33ff61(0x2c8)]===void 0x0?null:_0x2902e1['data'];}get[_0x5160b8(0x2c8)](){return this[_0x279aad];}}Object[_0x5160b8(0x1c9)](_0x30d202[_0x5160b8(0x1ef)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x1b29ef,'ErrorEvent':_0x28e3ba,'Event':_0x4df510,'EventTarget':{'addEventListener'(_0x12c0cc,_0x1cf60b,_0x4ac864={}){const _0x3cc2af=_0x5160b8;for(const _0x2fb982 of this[_0x3cc2af(0x2a0)](_0x12c0cc))if(!_0x4ac864[_0x1823e8]&&_0x2fb982[_0x432046]===_0x1cf60b&&!_0x2fb982[_0x1823e8])return;let _0x343384;if(_0x12c0cc===_0x3cc2af(0x2b8))_0x343384=function(_0x293dc2,_0x3ca5f8){const _0x418ef7=_0x3cc2af,_0x472a28=new _0x30d202('message',{'data':_0x3ca5f8?_0x293dc2:_0x293dc2[_0x418ef7(0x2ae)]()});_0x472a28[_0x5d60fc]=this,_0x5d24bf(_0x1cf60b,this,_0x472a28);};else{if(_0x12c0cc===_0x3cc2af(0x280))_0x343384=function(_0x32470f,_0x5ec9e7){const _0x4e0704=_0x3cc2af,_0x3fec18=new _0x1b29ef(_0x4e0704(0x280),{'code':_0x32470f,'reason':_0x5ec9e7[_0x4e0704(0x2ae)](),'wasClean':this[_0x4e0704(0x30a)]&&this[_0x4e0704(0x24a)]});_0x3fec18[_0x5d60fc]=this,_0x5d24bf(_0x1cf60b,this,_0x3fec18);};else{if(_0x12c0cc===_0x3cc2af(0x2a7))_0x343384=function(_0x5b302c){const _0x3eb384=_0x3cc2af,_0xedb8bf=new _0x28e3ba(_0x3eb384(0x2a7),{'error':_0x5b302c,'message':_0x5b302c[_0x3eb384(0x2b8)]});_0xedb8bf[_0x5d60fc]=this,_0x5d24bf(_0x1cf60b,this,_0xedb8bf);};else{if(_0x12c0cc===_0x3cc2af(0x23d))_0x343384=function(){const _0x25dd5c=_0x3cc2af,_0x320039=new _0x4df510(_0x25dd5c(0x23d));_0x320039[_0x5d60fc]=this,_0x5d24bf(_0x1cf60b,this,_0x320039);};else return;}}}_0x343384[_0x1823e8]=!!_0x4ac864[_0x1823e8],_0x343384[_0x432046]=_0x1cf60b,_0x4ac864[_0x3cc2af(0x21f)]?this[_0x3cc2af(0x21f)](_0x12c0cc,_0x343384):this['on'](_0x12c0cc,_0x343384);},'removeEventListener'(_0x179749,_0x453933){const _0x5159b1=_0x5160b8;for(const _0x46e195 of this[_0x5159b1(0x2a0)](_0x179749))if(_0x46e195[_0x432046]===_0x453933&&!_0x46e195[_0x1823e8]){this[_0x5159b1(0x2c6)](_0x179749,_0x46e195);break;}}},'MessageEvent':_0x30d202};function _0x5d24bf(_0x18fcd8,_0x2da705,_0x25ca2f){const _0x517f68=_0x5160b8;typeof _0x18fcd8==_0x517f68(0x208)&&_0x18fcd8[_0x517f68(0x329)]?_0x18fcd8['handleEvent'][_0x517f68(0x1f1)](_0x18fcd8,_0x25ca2f):_0x18fcd8['call'](_0x2da705,_0x25ca2f);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x3d9ca9}=ae();function _0x97ec92(_0x122977,_0xe24293,_0x286760){_0x122977[_0xe24293]===void 0x0?_0x122977[_0xe24293]=[_0x286760]:_0x122977[_0xe24293]['push'](_0x286760);}function _0x30c0ea(_0x388285){const _0x21e23f=_0x47ed,_0x388e11=Object[_0x21e23f(0x33e)](null);let _0x29adef=Object['create'](null),_0x4f910a=!0x1,_0x1fd8f9=!0x1,_0x247bec=!0x1,_0x30827a,_0x54b9d8,_0x4b4bfa=-0x1,_0x20846c=-0x1,_0x2debe2=-0x1,_0x48bea5=0x0;for(;_0x48bea5<_0x388285[_0x21e23f(0x314)];_0x48bea5++)if(_0x20846c=_0x388285['charCodeAt'](_0x48bea5),_0x30827a===void 0x0){if(_0x2debe2===-0x1&&_0x3d9ca9[_0x20846c]===0x1)_0x4b4bfa===-0x1&&(_0x4b4bfa=_0x48bea5);else{if(_0x48bea5!==0x0&&(_0x20846c===0x20||_0x20846c===0x9))_0x2debe2===-0x1&&_0x4b4bfa!==-0x1&&(_0x2debe2=_0x48bea5);else{if(_0x20846c===0x3b||_0x20846c===0x2c){if(_0x4b4bfa===-0x1)throw new SyntaxError(_0x21e23f(0x34d)+_0x48bea5);_0x2debe2===-0x1&&(_0x2debe2=_0x48bea5);const _0x507dc0=_0x388285['slice'](_0x4b4bfa,_0x2debe2);_0x20846c===0x2c?(_0x97ec92(_0x388e11,_0x507dc0,_0x29adef),_0x29adef=Object[_0x21e23f(0x33e)](null)):_0x30827a=_0x507dc0,_0x4b4bfa=_0x2debe2=-0x1;}else throw new SyntaxError(_0x21e23f(0x34d)+_0x48bea5);}}}else{if(_0x54b9d8===void 0x0){if(_0x2debe2===-0x1&&_0x3d9ca9[_0x20846c]===0x1)_0x4b4bfa===-0x1&&(_0x4b4bfa=_0x48bea5);else{if(_0x20846c===0x20||_0x20846c===0x9)_0x2debe2===-0x1&&_0x4b4bfa!==-0x1&&(_0x2debe2=_0x48bea5);else{if(_0x20846c===0x3b||_0x20846c===0x2c){if(_0x4b4bfa===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x48bea5);_0x2debe2===-0x1&&(_0x2debe2=_0x48bea5),_0x97ec92(_0x29adef,_0x388285[_0x21e23f(0x2b3)](_0x4b4bfa,_0x2debe2),!0x0),_0x20846c===0x2c&&(_0x97ec92(_0x388e11,_0x30827a,_0x29adef),_0x29adef=Object[_0x21e23f(0x33e)](null),_0x30827a=void 0x0),_0x4b4bfa=_0x2debe2=-0x1;}else{if(_0x20846c===0x3d&&_0x4b4bfa!==-0x1&&_0x2debe2===-0x1)_0x54b9d8=_0x388285[_0x21e23f(0x2b3)](_0x4b4bfa,_0x48bea5),_0x4b4bfa=_0x2debe2=-0x1;else throw new SyntaxError(_0x21e23f(0x34d)+_0x48bea5);}}}}else{if(_0x1fd8f9){if(_0x3d9ca9[_0x20846c]!==0x1)throw new SyntaxError(_0x21e23f(0x34d)+_0x48bea5);_0x4b4bfa===-0x1?_0x4b4bfa=_0x48bea5:_0x4f910a||(_0x4f910a=!0x0),_0x1fd8f9=!0x1;}else{if(_0x247bec){if(_0x3d9ca9[_0x20846c]===0x1)_0x4b4bfa===-0x1&&(_0x4b4bfa=_0x48bea5);else{if(_0x20846c===0x22&&_0x4b4bfa!==-0x1)_0x247bec=!0x1,_0x2debe2=_0x48bea5;else{if(_0x20846c===0x5c)_0x1fd8f9=!0x0;else throw new SyntaxError(_0x21e23f(0x34d)+_0x48bea5);}}}else{if(_0x20846c===0x22&&_0x388285[_0x21e23f(0x1e2)](_0x48bea5-0x1)===0x3d)_0x247bec=!0x0;else{if(_0x2debe2===-0x1&&_0x3d9ca9[_0x20846c]===0x1)_0x4b4bfa===-0x1&&(_0x4b4bfa=_0x48bea5);else{if(_0x4b4bfa!==-0x1&&(_0x20846c===0x20||_0x20846c===0x9))_0x2debe2===-0x1&&(_0x2debe2=_0x48bea5);else{if(_0x20846c===0x3b||_0x20846c===0x2c){if(_0x4b4bfa===-0x1)throw new SyntaxError(_0x21e23f(0x34d)+_0x48bea5);_0x2debe2===-0x1&&(_0x2debe2=_0x48bea5);let _0x468947=_0x388285[_0x21e23f(0x2b3)](_0x4b4bfa,_0x2debe2);_0x4f910a&&(_0x468947=_0x468947[_0x21e23f(0x33f)](/\\/g,''),_0x4f910a=!0x1),_0x97ec92(_0x29adef,_0x54b9d8,_0x468947),_0x20846c===0x2c&&(_0x97ec92(_0x388e11,_0x30827a,_0x29adef),_0x29adef=Object[_0x21e23f(0x33e)](null),_0x30827a=void 0x0),_0x54b9d8=void 0x0,_0x4b4bfa=_0x2debe2=-0x1;}else throw new SyntaxError(_0x21e23f(0x34d)+_0x48bea5);}}}}}}}if(_0x4b4bfa===-0x1||_0x247bec||_0x20846c===0x20||_0x20846c===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x2debe2===-0x1&&(_0x2debe2=_0x48bea5);const _0x34262a=_0x388285[_0x21e23f(0x2b3)](_0x4b4bfa,_0x2debe2);return _0x30827a===void 0x0?_0x97ec92(_0x388e11,_0x34262a,_0x29adef):(_0x54b9d8===void 0x0?_0x97ec92(_0x29adef,_0x34262a,!0x0):_0x4f910a?_0x97ec92(_0x29adef,_0x54b9d8,_0x34262a['replace'](/\\/g,'')):_0x97ec92(_0x29adef,_0x54b9d8,_0x34262a),_0x97ec92(_0x388e11,_0x30827a,_0x29adef)),_0x388e11;}function _0x4a08d1(_0x4a57fb){const _0x61c4a4=_0x47ed;return Object['keys'](_0x4a57fb)['map'](_0x5e2fc7=>{const _0x14240e=_0x47ed;let _0x1bf433=_0x4a57fb[_0x5e2fc7];return Array[_0x14240e(0x2db)](_0x1bf433)||(_0x1bf433=[_0x1bf433]),_0x1bf433[_0x14240e(0x1e7)](_0x3a6027=>[_0x5e2fc7]['concat'](Object[_0x14240e(0x2f3)](_0x3a6027)['map'](_0x6055c8=>{const _0x94916f=_0x14240e;let _0x5af3e7=_0x3a6027[_0x6055c8];return Array['isArray'](_0x5af3e7)||(_0x5af3e7=[_0x5af3e7]),_0x5af3e7[_0x94916f(0x1e7)](_0x10b0dc=>_0x10b0dc===!0x0?_0x6055c8:_0x6055c8+'='+_0x10b0dc)[_0x94916f(0x28f)](';\x20');}))['join'](';\x20'))[_0x14240e(0x28f)](',\x20');})[_0x61c4a4(0x28f)](',\x20');}return be={'format':_0x4a08d1,'parse':_0x30c0ea},be;}var we,Je;function Pe(){const _0x5cf7eb=_0x387344;if(Je)return we;Je=0x1;const _0x4e085b=nt,_0x114fa5=vt,_0x28a0c4=ot,_0x4241d3=St,_0x192eed=Et,{randomBytes:_0x56e50a,createHash:_0x2b7a37}=Le,{Duplex:_0x5cda05,Readable:_0x1d6fd5}=oe,{URL:_0x544433}=xt,_0x1ef36c=he(),_0x38be21=lt(),_0x2a895e=ft(),{isBlob:_0x4af991}=ae(),{BINARY_TYPES:_0x1cb5e0,EMPTY_BUFFER:_0x2e473d,GUID:_0x4cee8f,kForOnEventAttribute:_0x22f495,kListener:_0x264165,kStatusCode:_0x2eaf02,kWebSocket:_0x342fd6,NOOP:_0x542614}=H(),{EventTarget:{addEventListener:_0x1a59bd,removeEventListener:_0x11cd59}}=It(),{format:_0x5271fc,parse:_0x5db910}=ct(),{toBuffer:_0x21cdaf}=ce(),_0x28569b=0x1e*0x3e8,_0x4a1754=Symbol(_0x5cf7eb(0x217)),_0x6b2885=[0x8,0xd],_0x1180f4=[_0x5cf7eb(0x213),_0x5cf7eb(0x190),_0x5cf7eb(0x2ec),_0x5cf7eb(0x271)],_0x398471=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3e14cc extends _0x4e085b{constructor(_0x474a93,_0xf317f7,_0x1cae14){const _0x3f8f09=_0x5cf7eb;super(),this[_0x3f8f09(0x1d2)]=_0x1cb5e0[0x0],this[_0x3f8f09(0x293)]=0x3ee,this[_0x3f8f09(0x30a)]=!0x1,this[_0x3f8f09(0x24a)]=!0x1,this[_0x3f8f09(0x328)]=_0x2e473d,this['_closeTimer']=null,this['_errorEmitted']=!0x1,this['_extensions']={},this[_0x3f8f09(0x220)]=!0x1,this[_0x3f8f09(0x1f9)]='',this['_readyState']=_0x3e14cc['CONNECTING'],this[_0x3f8f09(0x2e6)]=null,this[_0x3f8f09(0x1dc)]=null,this[_0x3f8f09(0x262)]=null,_0x474a93!==null?(this['_bufferedAmount']=0x0,this[_0x3f8f09(0x31d)]=!0x1,this['_redirects']=0x0,_0xf317f7===void 0x0?_0xf317f7=[]:Array['isArray'](_0xf317f7)||(typeof _0xf317f7==_0x3f8f09(0x208)&&_0xf317f7!==null?(_0x1cae14=_0xf317f7,_0xf317f7=[]):_0xf317f7=[_0xf317f7]),_0x1c9efb(this,_0x474a93,_0xf317f7,_0x1cae14)):(this['_autoPong']=_0x1cae14[_0x3f8f09(0x316)],this[_0x3f8f09(0x31d)]=!0x0);}get[_0x5cf7eb(0x2a4)](){const _0x202090=_0x5cf7eb;return this[_0x202090(0x1d2)];}set[_0x5cf7eb(0x2a4)](_0x384980){const _0x4e3b94=_0x5cf7eb;_0x1cb5e0[_0x4e3b94(0x263)](_0x384980)&&(this[_0x4e3b94(0x1d2)]=_0x384980,this[_0x4e3b94(0x2e6)]&&(this[_0x4e3b94(0x2e6)][_0x4e3b94(0x1d2)]=_0x384980));}get[_0x5cf7eb(0x202)](){const _0x149d70=_0x5cf7eb;return this[_0x149d70(0x262)]?this[_0x149d70(0x262)][_0x149d70(0x2c3)][_0x149d70(0x314)]+this[_0x149d70(0x1dc)]['_bufferedBytes']:this[_0x149d70(0x1a3)];}get[_0x5cf7eb(0x2ad)](){return Object['keys'](this['_extensions'])['join']();}get[_0x5cf7eb(0x264)](){return this['_paused'];}get['onclose'](){return null;}get[_0x5cf7eb(0x192)](){return null;}get[_0x5cf7eb(0x275)](){return null;}get[_0x5cf7eb(0x30f)](){return null;}get[_0x5cf7eb(0x299)](){return this['_protocol'];}get[_0x5cf7eb(0x251)](){const _0x5383f9=_0x5cf7eb;return this[_0x5383f9(0x210)];}get[_0x5cf7eb(0x22d)](){return this['_url'];}[_0x5cf7eb(0x2bf)](_0x2e9de6,_0x13d84d,_0x4cbd08){const _0x4674c5=_0x5cf7eb,_0x1496f8=new _0x38be21({'allowSynchronousEvents':_0x4cbd08[_0x4674c5(0x194)],'binaryType':this[_0x4674c5(0x2a4)],'extensions':this[_0x4674c5(0x219)],'isServer':this[_0x4674c5(0x31d)],'maxPayload':_0x4cbd08[_0x4674c5(0x20e)],'skipUTF8Validation':_0x4cbd08[_0x4674c5(0x2b5)]}),_0x53bced=new _0x2a895e(_0x2e9de6,this[_0x4674c5(0x219)],_0x4cbd08[_0x4674c5(0x22f)]);this['_receiver']=_0x1496f8,this[_0x4674c5(0x1dc)]=_0x53bced,this[_0x4674c5(0x262)]=_0x2e9de6,_0x1496f8[_0x342fd6]=this,_0x53bced[_0x342fd6]=this,_0x2e9de6[_0x342fd6]=this,_0x1496f8['on'](_0x4674c5(0x1c1),_0x348be4),_0x1496f8['on'](_0x4674c5(0x1a8),_0x51036e),_0x1496f8['on']('error',_0x5371ec),_0x1496f8['on'](_0x4674c5(0x2b8),_0x205c78),_0x1496f8['on'](_0x4674c5(0x2e5),_0x316034),_0x1496f8['on']('pong',_0x466daa),_0x53bced[_0x4674c5(0x192)]=_0x51a112,_0x2e9de6[_0x4674c5(0x2c7)]&&_0x2e9de6['setTimeout'](0x0),_0x2e9de6[_0x4674c5(0x2cf)]&&_0x2e9de6[_0x4674c5(0x2cf)](),_0x13d84d['length']>0x0&&_0x2e9de6['unshift'](_0x13d84d),_0x2e9de6['on'](_0x4674c5(0x280),_0x4261ca),_0x2e9de6['on'](_0x4674c5(0x2c8),_0x30877f),_0x2e9de6['on'](_0x4674c5(0x27b),_0x187532),_0x2e9de6['on'](_0x4674c5(0x2a7),_0x1913a8),this[_0x4674c5(0x210)]=_0x3e14cc['OPEN'],this['emit']('open');}[_0x5cf7eb(0x353)](){const _0x5ed844=_0x5cf7eb;if(!this[_0x5ed844(0x262)]){this[_0x5ed844(0x210)]=_0x3e14cc[_0x5ed844(0x271)],this['emit']('close',this[_0x5ed844(0x293)],this['_closeMessage']);return;}this[_0x5ed844(0x219)][_0x1ef36c['extensionName']]&&this['_extensions'][_0x1ef36c[_0x5ed844(0x2fd)]]['cleanup'](),this[_0x5ed844(0x2e6)][_0x5ed844(0x18f)](),this[_0x5ed844(0x210)]=_0x3e14cc[_0x5ed844(0x271)],this[_0x5ed844(0x22c)]('close',this[_0x5ed844(0x293)],this[_0x5ed844(0x328)]);}[_0x5cf7eb(0x280)](_0x2edcb3,_0x5e7f52){const _0x14ddf1=_0x5cf7eb;if(this[_0x14ddf1(0x251)]!==_0x3e14cc[_0x14ddf1(0x271)]){if(this[_0x14ddf1(0x251)]===_0x3e14cc[_0x14ddf1(0x213)]){_0x19c77e(this,this[_0x14ddf1(0x2fa)],_0x14ddf1(0x30c));return;}if(this[_0x14ddf1(0x251)]===_0x3e14cc[_0x14ddf1(0x2ec)]){this[_0x14ddf1(0x24a)]&&(this[_0x14ddf1(0x30a)]||this[_0x14ddf1(0x2e6)][_0x14ddf1(0x2c3)]['errorEmitted'])&&this[_0x14ddf1(0x262)][_0x14ddf1(0x27b)]();return;}this[_0x14ddf1(0x210)]=_0x3e14cc[_0x14ddf1(0x2ec)],this['_sender'][_0x14ddf1(0x280)](_0x2edcb3,_0x5e7f52,!this[_0x14ddf1(0x31d)],_0x35a1ee=>{const _0x3ec2e4=_0x14ddf1;_0x35a1ee||(this['_closeFrameSent']=!0x0,(this['_closeFrameReceived']||this[_0x3ec2e4(0x2e6)][_0x3ec2e4(0x2c3)]['errorEmitted'])&&this[_0x3ec2e4(0x262)][_0x3ec2e4(0x27b)]());}),_0x1fec4b(this);}}[_0x5cf7eb(0x2f8)](){const _0x3cbf4b=_0x5cf7eb;this[_0x3cbf4b(0x251)]===_0x3e14cc['CONNECTING']||this[_0x3cbf4b(0x251)]===_0x3e14cc[_0x3cbf4b(0x271)]||(this[_0x3cbf4b(0x220)]=!0x0,this['_socket']['pause']());}['ping'](_0x11e573,_0x33461a,_0x36c68f){const _0x5cc6f9=_0x5cf7eb;if(this[_0x5cc6f9(0x251)]===_0x3e14cc['CONNECTING'])throw new Error(_0x5cc6f9(0x348));if(typeof _0x11e573=='function'?(_0x36c68f=_0x11e573,_0x11e573=_0x33461a=void 0x0):typeof _0x33461a==_0x5cc6f9(0x347)&&(_0x36c68f=_0x33461a,_0x33461a=void 0x0),typeof _0x11e573==_0x5cc6f9(0x254)&&(_0x11e573=_0x11e573['toString']()),this[_0x5cc6f9(0x251)]!==_0x3e14cc['OPEN']){_0x5287a0(this,_0x11e573,_0x36c68f);return;}_0x33461a===void 0x0&&(_0x33461a=!this[_0x5cc6f9(0x31d)]),this[_0x5cc6f9(0x1dc)][_0x5cc6f9(0x2e5)](_0x11e573||_0x2e473d,_0x33461a,_0x36c68f);}['pong'](_0x276f12,_0x26cdbc,_0xac69a3){const _0x1d76cf=_0x5cf7eb;if(this['readyState']===_0x3e14cc['CONNECTING'])throw new Error(_0x1d76cf(0x348));if(typeof _0x276f12==_0x1d76cf(0x347)?(_0xac69a3=_0x276f12,_0x276f12=_0x26cdbc=void 0x0):typeof _0x26cdbc==_0x1d76cf(0x347)&&(_0xac69a3=_0x26cdbc,_0x26cdbc=void 0x0),typeof _0x276f12==_0x1d76cf(0x254)&&(_0x276f12=_0x276f12['toString']()),this[_0x1d76cf(0x251)]!==_0x3e14cc[_0x1d76cf(0x190)]){_0x5287a0(this,_0x276f12,_0xac69a3);return;}_0x26cdbc===void 0x0&&(_0x26cdbc=!this['_isServer']),this['_sender'][_0x1d76cf(0x245)](_0x276f12||_0x2e473d,_0x26cdbc,_0xac69a3);}['resume'](){const _0x3d3e9e=_0x5cf7eb;this['readyState']===_0x3e14cc['CONNECTING']||this[_0x3d3e9e(0x251)]===_0x3e14cc[_0x3d3e9e(0x271)]||(this['_paused']=!0x1,this['_receiver']['_writableState'][_0x3d3e9e(0x1d6)]||this[_0x3d3e9e(0x262)][_0x3d3e9e(0x27e)]());}[_0x5cf7eb(0x216)](_0x5c0278,_0x34d4e7,_0x3c8ee0){const _0x5e7e63=_0x5cf7eb;if(this[_0x5e7e63(0x251)]===_0x3e14cc[_0x5e7e63(0x213)])throw new Error(_0x5e7e63(0x348));if(typeof _0x34d4e7==_0x5e7e63(0x347)&&(_0x3c8ee0=_0x34d4e7,_0x34d4e7={}),typeof _0x5c0278==_0x5e7e63(0x254)&&(_0x5c0278=_0x5c0278[_0x5e7e63(0x2ae)]()),this[_0x5e7e63(0x251)]!==_0x3e14cc[_0x5e7e63(0x190)]){_0x5287a0(this,_0x5c0278,_0x3c8ee0);return;}const _0x5c00d2={'binary':typeof _0x5c0278!=_0x5e7e63(0x218),'mask':!this[_0x5e7e63(0x31d)],'compress':!0x0,'fin':!0x0,..._0x34d4e7};this[_0x5e7e63(0x219)][_0x1ef36c[_0x5e7e63(0x2fd)]]||(_0x5c00d2[_0x5e7e63(0x1f8)]=!0x1),this[_0x5e7e63(0x1dc)][_0x5e7e63(0x216)](_0x5c0278||_0x2e473d,_0x5c00d2,_0x3c8ee0);}[_0x5cf7eb(0x2ff)](){const _0x1c84a1=_0x5cf7eb;if(this[_0x1c84a1(0x251)]!==_0x3e14cc[_0x1c84a1(0x271)]){if(this[_0x1c84a1(0x251)]===_0x3e14cc[_0x1c84a1(0x213)]){_0x19c77e(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this['_socket']&&(this[_0x1c84a1(0x210)]=_0x3e14cc[_0x1c84a1(0x2ec)],this[_0x1c84a1(0x262)][_0x1c84a1(0x2cc)]());}}}Object[_0x5cf7eb(0x1c9)](_0x3e14cc,_0x5cf7eb(0x213),{'enumerable':!0x0,'value':_0x1180f4[_0x5cf7eb(0x304)](_0x5cf7eb(0x213))}),Object['defineProperty'](_0x3e14cc[_0x5cf7eb(0x1ef)],_0x5cf7eb(0x213),{'enumerable':!0x0,'value':_0x1180f4[_0x5cf7eb(0x304)](_0x5cf7eb(0x213))}),Object[_0x5cf7eb(0x1c9)](_0x3e14cc,_0x5cf7eb(0x190),{'enumerable':!0x0,'value':_0x1180f4['indexOf']('OPEN')}),Object[_0x5cf7eb(0x1c9)](_0x3e14cc[_0x5cf7eb(0x1ef)],'OPEN',{'enumerable':!0x0,'value':_0x1180f4['indexOf'](_0x5cf7eb(0x190))}),Object[_0x5cf7eb(0x1c9)](_0x3e14cc,_0x5cf7eb(0x2ec),{'enumerable':!0x0,'value':_0x1180f4[_0x5cf7eb(0x304)](_0x5cf7eb(0x2ec))}),Object['defineProperty'](_0x3e14cc[_0x5cf7eb(0x1ef)],'CLOSING',{'enumerable':!0x0,'value':_0x1180f4[_0x5cf7eb(0x304)](_0x5cf7eb(0x2ec))}),Object['defineProperty'](_0x3e14cc,_0x5cf7eb(0x271),{'enumerable':!0x0,'value':_0x1180f4[_0x5cf7eb(0x304)](_0x5cf7eb(0x271))}),Object[_0x5cf7eb(0x1c9)](_0x3e14cc['prototype'],_0x5cf7eb(0x271),{'enumerable':!0x0,'value':_0x1180f4[_0x5cf7eb(0x304)](_0x5cf7eb(0x271))}),[_0x5cf7eb(0x2a4),_0x5cf7eb(0x202),_0x5cf7eb(0x2ad),_0x5cf7eb(0x264),'protocol',_0x5cf7eb(0x251),_0x5cf7eb(0x22d)][_0x5cf7eb(0x20f)](_0x50a3ee=>{const _0x6cafe=_0x5cf7eb;Object[_0x6cafe(0x1c9)](_0x3e14cc[_0x6cafe(0x1ef)],_0x50a3ee,{'enumerable':!0x0});}),[_0x5cf7eb(0x23d),_0x5cf7eb(0x2a7),_0x5cf7eb(0x280),_0x5cf7eb(0x2b8)]['forEach'](_0x122789=>{const _0x5f134e=_0x5cf7eb;Object[_0x5f134e(0x1c9)](_0x3e14cc[_0x5f134e(0x1ef)],'on'+_0x122789,{'enumerable':!0x0,'get'(){const _0x31008c=_0x5f134e;for(const _0x36251f of this[_0x31008c(0x2a0)](_0x122789))if(_0x36251f[_0x22f495])return _0x36251f[_0x264165];return null;},'set'(_0x223401){const _0x1f6db3=_0x5f134e;for(const _0x37c922 of this[_0x1f6db3(0x2a0)](_0x122789))if(_0x37c922[_0x22f495]){this[_0x1f6db3(0x2c6)](_0x122789,_0x37c922);break;}typeof _0x223401==_0x1f6db3(0x347)&&this[_0x1f6db3(0x2b9)](_0x122789,_0x223401,{[_0x22f495]:!0x0});}});}),_0x3e14cc[_0x5cf7eb(0x1ef)][_0x5cf7eb(0x2b9)]=_0x1a59bd,_0x3e14cc[_0x5cf7eb(0x1ef)]['removeEventListener']=_0x11cd59,we=_0x3e14cc;function _0x1c9efb(_0x282785,_0x39301c,_0x382e56,_0xd4b46d){const _0x137891=_0x5cf7eb,_0x13886f={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x6b2885[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0xd4b46d,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x137891(0x1c7),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x282785[_0x137891(0x1d5)]=_0x13886f[_0x137891(0x316)],!_0x6b2885[_0x137891(0x263)](_0x13886f[_0x137891(0x324)]))throw new RangeError(_0x137891(0x228)+_0x13886f[_0x137891(0x324)]+_0x137891(0x26f)+_0x6b2885[_0x137891(0x28f)](',\x20')+')');let _0x17fbb4;if(_0x39301c instanceof _0x544433)_0x17fbb4=_0x39301c;else try{_0x17fbb4=new _0x544433(_0x39301c);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x39301c);}_0x17fbb4[_0x137891(0x299)]===_0x137891(0x29d)?_0x17fbb4[_0x137891(0x299)]='ws:':_0x17fbb4[_0x137891(0x299)]==='https:'&&(_0x17fbb4[_0x137891(0x299)]=_0x137891(0x2bc)),_0x282785[_0x137891(0x309)]=_0x17fbb4[_0x137891(0x33a)];const _0x3c75fa=_0x17fbb4[_0x137891(0x299)]==='wss:',_0xbf3072=_0x17fbb4['protocol']==='ws+unix:';let _0x66da58;if(_0x17fbb4[_0x137891(0x299)]!==_0x137891(0x250)&&!_0x3c75fa&&!_0xbf3072?_0x66da58=_0x137891(0x306):_0xbf3072&&!_0x17fbb4[_0x137891(0x2a3)]?_0x66da58=_0x137891(0x197):_0x17fbb4[_0x137891(0x1a4)]&&(_0x66da58=_0x137891(0x25e)),_0x66da58){const _0x16b432=new SyntaxError(_0x66da58);if(_0x282785['_redirects']===0x0)throw _0x16b432;_0x3096cb(_0x282785,_0x16b432);return;}const _0x37634e=_0x3c75fa?0x1bb:0x50,_0x114b28=_0x56e50a(0x10)[_0x137891(0x2ae)]('base64'),_0xb8934c=_0x3c75fa?_0x114fa5[_0x137891(0x221)]:_0x28a0c4['request'],_0x21f739=new Set();let _0x27adef;if(_0x13886f[_0x137891(0x31e)]=_0x13886f[_0x137891(0x31e)]||(_0x3c75fa?_0x1d19fe:_0x1d33cc),_0x13886f[_0x137891(0x1ba)]=_0x13886f[_0x137891(0x1ba)]||_0x37634e,_0x13886f[_0x137891(0x2da)]=_0x17fbb4['port']||_0x37634e,_0x13886f[_0x137891(0x1d0)]=_0x17fbb4[_0x137891(0x226)][_0x137891(0x2ac)]('[')?_0x17fbb4[_0x137891(0x226)][_0x137891(0x2b3)](0x1,-0x1):_0x17fbb4[_0x137891(0x226)],_0x13886f['headers']={..._0x13886f[_0x137891(0x2bb)],'Sec-WebSocket-Version':_0x13886f[_0x137891(0x324)],'Sec-WebSocket-Key':_0x114b28,'Connection':_0x137891(0x2e7),'Upgrade':'websocket'},_0x13886f[_0x137891(0x246)]=_0x17fbb4[_0x137891(0x2a3)]+_0x17fbb4['search'],_0x13886f['timeout']=_0x13886f[_0x137891(0x331)],_0x13886f['perMessageDeflate']&&(_0x27adef=new _0x1ef36c(_0x13886f['perMessageDeflate']!==!0x0?_0x13886f[_0x137891(0x255)]:{},!0x1,_0x13886f[_0x137891(0x20e)]),_0x13886f[_0x137891(0x2bb)][_0x137891(0x2a2)]=_0x5271fc({[_0x1ef36c[_0x137891(0x2fd)]]:_0x27adef['offer']()})),_0x382e56[_0x137891(0x314)]){for(const _0x226b88 of _0x382e56){if(typeof _0x226b88!=_0x137891(0x218)||!_0x398471[_0x137891(0x256)](_0x226b88)||_0x21f739[_0x137891(0x31a)](_0x226b88))throw new SyntaxError(_0x137891(0x1ed));_0x21f739['add'](_0x226b88);}_0x13886f[_0x137891(0x2bb)][_0x137891(0x1ff)]=_0x382e56[_0x137891(0x28f)](',');}if(_0x13886f[_0x137891(0x1eb)]&&(_0x13886f[_0x137891(0x324)]<0xd?_0x13886f[_0x137891(0x2bb)]['Sec-WebSocket-Origin']=_0x13886f['origin']:_0x13886f[_0x137891(0x2bb)][_0x137891(0x215)]=_0x13886f[_0x137891(0x1eb)]),(_0x17fbb4[_0x137891(0x23a)]||_0x17fbb4['password'])&&(_0x13886f[_0x137891(0x1b3)]=_0x17fbb4['username']+':'+_0x17fbb4[_0x137891(0x2c4)]),_0xbf3072){const _0x5c583d=_0x13886f['path'][_0x137891(0x281)](':');_0x13886f[_0x137891(0x350)]=_0x5c583d[0x0],_0x13886f[_0x137891(0x246)]=_0x5c583d[0x1];}let _0x5dfca1;if(_0x13886f[_0x137891(0x24f)]){if(_0x282785['_redirects']===0x0){_0x282785[_0x137891(0x302)]=_0xbf3072,_0x282785['_originalSecure']=_0x3c75fa,_0x282785[_0x137891(0x322)]=_0xbf3072?_0x13886f[_0x137891(0x350)]:_0x17fbb4[_0x137891(0x1d0)];const _0x53bee2=_0xd4b46d&&_0xd4b46d[_0x137891(0x2bb)];if(_0xd4b46d={..._0xd4b46d,'headers':{}},_0x53bee2){for(const [_0x21f69c,_0x46607b]of Object[_0x137891(0x2fb)](_0x53bee2))_0xd4b46d[_0x137891(0x2bb)][_0x21f69c[_0x137891(0x1ea)]()]=_0x46607b;}}else{if(_0x282785[_0x137891(0x241)]('redirect')===0x0){const _0x64de93=_0xbf3072?_0x282785[_0x137891(0x302)]?_0x13886f['socketPath']===_0x282785['_originalHostOrSocketPath']:!0x1:_0x282785[_0x137891(0x302)]?!0x1:_0x17fbb4['host']===_0x282785[_0x137891(0x322)];(!_0x64de93||_0x282785[_0x137891(0x2d6)]&&!_0x3c75fa)&&(delete _0x13886f[_0x137891(0x2bb)][_0x137891(0x27a)],delete _0x13886f[_0x137891(0x2bb)]['cookie'],_0x64de93||delete _0x13886f[_0x137891(0x2bb)]['host'],_0x13886f[_0x137891(0x1b3)]=void 0x0);}}_0x13886f[_0x137891(0x1b3)]&&!_0xd4b46d[_0x137891(0x2bb)][_0x137891(0x27a)]&&(_0xd4b46d[_0x137891(0x2bb)]['authorization']=_0x137891(0x2d3)+Buffer[_0x137891(0x23f)](_0x13886f[_0x137891(0x1b3)])[_0x137891(0x2ae)](_0x137891(0x34e))),_0x5dfca1=_0x282785[_0x137891(0x2fa)]=_0xb8934c(_0x13886f),_0x282785[_0x137891(0x2c2)]&&_0x282785[_0x137891(0x22c)](_0x137891(0x332),_0x282785[_0x137891(0x22d)],_0x5dfca1);}else _0x5dfca1=_0x282785['_req']=_0xb8934c(_0x13886f);_0x13886f[_0x137891(0x1db)]&&_0x5dfca1['on'](_0x137891(0x1db),()=>{const _0x1f5b82=_0x137891;_0x19c77e(_0x282785,_0x5dfca1,_0x1f5b82(0x305));}),_0x5dfca1['on'](_0x137891(0x2a7),_0x211a06=>{const _0x402365=_0x137891;_0x5dfca1===null||_0x5dfca1[_0x4a1754]||(_0x5dfca1=_0x282785[_0x402365(0x2fa)]=null,_0x3096cb(_0x282785,_0x211a06));}),_0x5dfca1['on'](_0x137891(0x259),_0x278d9e=>{const _0x5e6e86=_0x137891,_0x112d58=_0x278d9e[_0x5e6e86(0x2bb)][_0x5e6e86(0x2d8)],_0x44ebb1=_0x278d9e[_0x5e6e86(0x1cd)];if(_0x112d58&&_0x13886f['followRedirects']&&_0x44ebb1>=0x12c&&_0x44ebb1<0x190){if(++_0x282785[_0x5e6e86(0x2c2)]>_0x13886f[_0x5e6e86(0x1e8)]){_0x19c77e(_0x282785,_0x5dfca1,_0x5e6e86(0x249));return;}_0x5dfca1['abort']();let _0x51a985;try{_0x51a985=new _0x544433(_0x112d58,_0x39301c);}catch{const _0x5d5514=new SyntaxError('Invalid\x20URL:\x20'+_0x112d58);_0x3096cb(_0x282785,_0x5d5514);return;}_0x1c9efb(_0x282785,_0x51a985,_0x382e56,_0xd4b46d);}else _0x282785[_0x5e6e86(0x22c)](_0x5e6e86(0x34f),_0x5dfca1,_0x278d9e)||_0x19c77e(_0x282785,_0x5dfca1,_0x5e6e86(0x27d)+_0x278d9e['statusCode']);}),_0x5dfca1['on'](_0x137891(0x1f5),(_0x1d630f,_0x121fa3,_0x41c4f9)=>{const _0xc0dc13=_0x137891;if(_0x282785['emit'](_0xc0dc13(0x1f5),_0x1d630f),_0x282785[_0xc0dc13(0x251)]!==_0x3e14cc['CONNECTING'])return;_0x5dfca1=_0x282785[_0xc0dc13(0x2fa)]=null;const _0x508f0c=_0x1d630f[_0xc0dc13(0x2bb)][_0xc0dc13(0x1f5)];if(_0x508f0c===void 0x0||_0x508f0c[_0xc0dc13(0x1ea)]()!==_0xc0dc13(0x222)){_0x19c77e(_0x282785,_0x121fa3,'Invalid\x20Upgrade\x20header');return;}const _0x505cfb=_0x2b7a37(_0xc0dc13(0x2d1))[_0xc0dc13(0x1c4)](_0x114b28+_0x4cee8f)[_0xc0dc13(0x1f2)](_0xc0dc13(0x34e));if(_0x1d630f[_0xc0dc13(0x2bb)][_0xc0dc13(0x1e3)]!==_0x505cfb){_0x19c77e(_0x282785,_0x121fa3,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x5ee906=_0x1d630f[_0xc0dc13(0x2bb)][_0xc0dc13(0x2e3)];let _0x15d096;if(_0x5ee906!==void 0x0?_0x21f739[_0xc0dc13(0x318)]?_0x21f739[_0xc0dc13(0x31a)](_0x5ee906)||(_0x15d096=_0xc0dc13(0x284)):_0x15d096=_0xc0dc13(0x20c):_0x21f739[_0xc0dc13(0x318)]&&(_0x15d096=_0xc0dc13(0x23b)),_0x15d096){_0x19c77e(_0x282785,_0x121fa3,_0x15d096);return;}_0x5ee906&&(_0x282785[_0xc0dc13(0x1f9)]=_0x5ee906);const _0x3fce76=_0x1d630f[_0xc0dc13(0x2bb)][_0xc0dc13(0x295)];if(_0x3fce76!==void 0x0){if(!_0x27adef){_0x19c77e(_0x282785,_0x121fa3,_0xc0dc13(0x1ca));return;}let _0x2acbf6;try{_0x2acbf6=_0x5db910(_0x3fce76);}catch{_0x19c77e(_0x282785,_0x121fa3,_0xc0dc13(0x2b2));return;}const _0x19444d=Object[_0xc0dc13(0x2f3)](_0x2acbf6);if(_0x19444d[_0xc0dc13(0x314)]!==0x1||_0x19444d[0x0]!==_0x1ef36c[_0xc0dc13(0x2fd)]){_0x19c77e(_0x282785,_0x121fa3,_0xc0dc13(0x2bd));return;}try{_0x27adef[_0xc0dc13(0x2aa)](_0x2acbf6[_0x1ef36c['extensionName']]);}catch{_0x19c77e(_0x282785,_0x121fa3,_0xc0dc13(0x2b2));return;}_0x282785[_0xc0dc13(0x219)][_0x1ef36c['extensionName']]=_0x27adef;}_0x282785['setSocket'](_0x121fa3,_0x41c4f9,{'allowSynchronousEvents':_0x13886f[_0xc0dc13(0x194)],'generateMask':_0x13886f['generateMask'],'maxPayload':_0x13886f['maxPayload'],'skipUTF8Validation':_0x13886f['skipUTF8Validation']});}),_0x13886f[_0x137891(0x1b2)]?_0x13886f[_0x137891(0x1b2)](_0x5dfca1,_0x282785):_0x5dfca1[_0x137891(0x27b)]();}function _0x3096cb(_0x33db71,_0x50835f){const _0x1ee126=_0x5cf7eb;_0x33db71[_0x1ee126(0x210)]=_0x3e14cc[_0x1ee126(0x2ec)],_0x33db71[_0x1ee126(0x1b1)]=!0x0,_0x33db71[_0x1ee126(0x22c)](_0x1ee126(0x2a7),_0x50835f),_0x33db71[_0x1ee126(0x353)]();}function _0x1d33cc(_0xee3a2a){const _0x629918=_0x5cf7eb;return _0xee3a2a[_0x629918(0x246)]=_0xee3a2a[_0x629918(0x350)],_0x4241d3['connect'](_0xee3a2a);}function _0x1d19fe(_0x481347){const _0x460287=_0x5cf7eb;return _0x481347[_0x460287(0x246)]=void 0x0,!_0x481347['servername']&&_0x481347[_0x460287(0x30d)]!==''&&(_0x481347[_0x460287(0x30d)]=_0x4241d3['isIP'](_0x481347[_0x460287(0x1d0)])?'':_0x481347[_0x460287(0x1d0)]),_0x192eed[_0x460287(0x32b)](_0x481347);}function _0x19c77e(_0x137615,_0x11e368,_0x18c1e1){const _0x3b7587=_0x5cf7eb;_0x137615[_0x3b7587(0x210)]=_0x3e14cc[_0x3b7587(0x2ec)];const _0x33996e=new Error(_0x18c1e1);Error['captureStackTrace'](_0x33996e,_0x19c77e),_0x11e368[_0x3b7587(0x311)]?(_0x11e368[_0x4a1754]=!0x0,_0x11e368['abort'](),_0x11e368[_0x3b7587(0x240)]&&!_0x11e368[_0x3b7587(0x240)][_0x3b7587(0x24c)]&&_0x11e368['socket'][_0x3b7587(0x2cc)](),process[_0x3b7587(0x19b)](_0x3096cb,_0x137615,_0x33996e)):(_0x11e368[_0x3b7587(0x2cc)](_0x33996e),_0x11e368['once'](_0x3b7587(0x2a7),_0x137615[_0x3b7587(0x22c)][_0x3b7587(0x1b8)](_0x137615,_0x3b7587(0x2a7))),_0x11e368[_0x3b7587(0x21f)](_0x3b7587(0x280),_0x137615[_0x3b7587(0x353)]['bind'](_0x137615)));}function _0x5287a0(_0x140a29,_0x56fcd4,_0x57f7db){const _0x21d212=_0x5cf7eb;if(_0x56fcd4){const _0x37755d=_0x4af991(_0x56fcd4)?_0x56fcd4['size']:_0x21cdaf(_0x56fcd4)['length'];_0x140a29[_0x21d212(0x262)]?_0x140a29[_0x21d212(0x1dc)]['_bufferedBytes']+=_0x37755d:_0x140a29[_0x21d212(0x1a3)]+=_0x37755d;}if(_0x57f7db){const _0x339f6c=new Error(_0x21d212(0x2c1)+_0x140a29[_0x21d212(0x251)]+'\x20('+_0x1180f4[_0x140a29['readyState']]+')');process['nextTick'](_0x57f7db,_0x339f6c);}}function _0x348be4(_0x1e4550,_0x1e042d){const _0xd35f0a=_0x5cf7eb,_0x185f05=this[_0x342fd6];_0x185f05[_0xd35f0a(0x30a)]=!0x0,_0x185f05[_0xd35f0a(0x328)]=_0x1e042d,_0x185f05[_0xd35f0a(0x293)]=_0x1e4550,_0x185f05[_0xd35f0a(0x262)][_0x342fd6]!==void 0x0&&(_0x185f05['_socket'][_0xd35f0a(0x2c6)](_0xd35f0a(0x2c8),_0x30877f),process[_0xd35f0a(0x19b)](_0x47c307,_0x185f05[_0xd35f0a(0x262)]),_0x1e4550===0x3ed?_0x185f05[_0xd35f0a(0x280)]():_0x185f05[_0xd35f0a(0x280)](_0x1e4550,_0x1e042d));}function _0x51036e(){const _0x3f55d8=_0x5cf7eb,_0x404bba=this[_0x342fd6];_0x404bba[_0x3f55d8(0x264)]||_0x404bba[_0x3f55d8(0x262)][_0x3f55d8(0x27e)]();}function _0x5371ec(_0x8c12bb){const _0xdfc998=_0x5cf7eb,_0x47d8d8=this[_0x342fd6];_0x47d8d8[_0xdfc998(0x262)][_0x342fd6]!==void 0x0&&(_0x47d8d8['_socket'][_0xdfc998(0x2c6)](_0xdfc998(0x2c8),_0x30877f),process['nextTick'](_0x47c307,_0x47d8d8['_socket']),_0x47d8d8[_0xdfc998(0x280)](_0x8c12bb[_0x2eaf02])),_0x47d8d8['_errorEmitted']||(_0x47d8d8['_errorEmitted']=!0x0,_0x47d8d8[_0xdfc998(0x22c)]('error',_0x8c12bb));}function _0x2fb608(){const _0x1b895c=_0x5cf7eb;this[_0x342fd6][_0x1b895c(0x353)]();}function _0x205c78(_0x1e01c7,_0x56065b){this[_0x342fd6]['emit']('message',_0x1e01c7,_0x56065b);}function _0x316034(_0x3fd0e2){const _0x52c8ff=_0x5cf7eb,_0x41b100=this[_0x342fd6];_0x41b100[_0x52c8ff(0x1d5)]&&_0x41b100[_0x52c8ff(0x245)](_0x3fd0e2,!this[_0x52c8ff(0x31d)],_0x542614),_0x41b100['emit']('ping',_0x3fd0e2);}function _0x466daa(_0x4625cc){const _0x196620=_0x5cf7eb;this[_0x342fd6][_0x196620(0x22c)](_0x196620(0x245),_0x4625cc);}function _0x47c307(_0x409f60){const _0x2c121e=_0x5cf7eb;_0x409f60[_0x2c121e(0x27e)]();}function _0x51a112(_0x5be411){const _0x51457f=_0x5cf7eb,_0x32c34b=this[_0x342fd6];_0x32c34b[_0x51457f(0x251)]!==_0x3e14cc[_0x51457f(0x271)]&&(_0x32c34b[_0x51457f(0x251)]===_0x3e14cc[_0x51457f(0x190)]&&(_0x32c34b[_0x51457f(0x210)]=_0x3e14cc[_0x51457f(0x2ec)],_0x1fec4b(_0x32c34b)),this[_0x51457f(0x262)][_0x51457f(0x27b)](),_0x32c34b[_0x51457f(0x1b1)]||(_0x32c34b[_0x51457f(0x1b1)]=!0x0,_0x32c34b['emit'](_0x51457f(0x2a7),_0x5be411)));}function _0x1fec4b(_0x250d3f){const _0x3b9875=_0x5cf7eb;_0x250d3f['_closeTimer']=setTimeout(_0x250d3f[_0x3b9875(0x262)][_0x3b9875(0x2cc)][_0x3b9875(0x1b8)](_0x250d3f['_socket']),_0x28569b);}function _0x4261ca(){const _0x252f87=_0x5cf7eb,_0xadc365=this[_0x342fd6];this['removeListener'](_0x252f87(0x280),_0x4261ca),this[_0x252f87(0x2c6)](_0x252f87(0x2c8),_0x30877f),this[_0x252f87(0x2c6)](_0x252f87(0x27b),_0x187532),_0xadc365[_0x252f87(0x210)]=_0x3e14cc[_0x252f87(0x2ec)];let _0x5f0d18;!this['_readableState'][_0x252f87(0x1bb)]&&!_0xadc365[_0x252f87(0x30a)]&&!_0xadc365[_0x252f87(0x2e6)][_0x252f87(0x2c3)][_0x252f87(0x214)]&&(_0x5f0d18=_0xadc365[_0x252f87(0x262)]['read']())!==null&&_0xadc365[_0x252f87(0x2e6)]['write'](_0x5f0d18),_0xadc365[_0x252f87(0x2e6)][_0x252f87(0x27b)](),this[_0x342fd6]=void 0x0,clearTimeout(_0xadc365[_0x252f87(0x288)]),_0xadc365[_0x252f87(0x2e6)][_0x252f87(0x2c3)][_0x252f87(0x2cd)]||_0xadc365[_0x252f87(0x2e6)][_0x252f87(0x2c3)]['errorEmitted']?_0xadc365[_0x252f87(0x353)]():(_0xadc365[_0x252f87(0x2e6)]['on'](_0x252f87(0x2a7),_0x2fb608),_0xadc365['_receiver']['on']('finish',_0x2fb608));}function _0x30877f(_0x2c0316){const _0x34a195=_0x5cf7eb;this[_0x342fd6][_0x34a195(0x2e6)][_0x34a195(0x2cb)](_0x2c0316)||this[_0x34a195(0x2f8)]();}function _0x187532(){const _0x1fa612=_0x5cf7eb,_0x2730a6=this[_0x342fd6];_0x2730a6[_0x1fa612(0x210)]=_0x3e14cc[_0x1fa612(0x2ec)],_0x2730a6[_0x1fa612(0x2e6)][_0x1fa612(0x27b)](),this[_0x1fa612(0x27b)]();}function _0x1913a8(){const _0x299ef4=_0x5cf7eb,_0x451d49=this[_0x342fd6];this[_0x299ef4(0x2c6)](_0x299ef4(0x2a7),_0x1913a8),this['on']('error',_0x542614),_0x451d49&&(_0x451d49[_0x299ef4(0x210)]=_0x3e14cc['CLOSING'],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x3c72fe}=oe;function _0x54905a(_0xbafd4a){const _0xcef3a1=_0x47ed;_0xbafd4a[_0xcef3a1(0x22c)](_0xcef3a1(0x280));}function _0xfcc657(){const _0x1d0b5b=_0x47ed;!this[_0x1d0b5b(0x24c)]&&this['_writableState'][_0x1d0b5b(0x2cd)]&&this[_0x1d0b5b(0x2cc)]();}function _0x1cb273(_0xaddb13){const _0x35b0fc=_0x47ed;this[_0x35b0fc(0x2c6)](_0x35b0fc(0x2a7),_0x1cb273),this[_0x35b0fc(0x2cc)](),this[_0x35b0fc(0x241)]('error')===0x0&&this[_0x35b0fc(0x22c)](_0x35b0fc(0x2a7),_0xaddb13);}function _0x380d62(_0xf9f8f2,_0xe22368){const _0x347feb=_0x47ed;let _0x251f4a=!0x0;const _0x48af5f=new _0x3c72fe({..._0xe22368,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xf9f8f2['on'](_0x347feb(0x2b8),function(_0xac2d98,_0x394f82){const _0xaa835e=_0x347feb,_0xb37ad1=!_0x394f82&&_0x48af5f[_0xaa835e(0x24e)][_0xaa835e(0x1a2)]?_0xac2d98['toString']():_0xac2d98;_0x48af5f['push'](_0xb37ad1)||_0xf9f8f2[_0xaa835e(0x2f8)]();}),_0xf9f8f2[_0x347feb(0x21f)](_0x347feb(0x2a7),function(_0x13eddd){const _0x1fefd1=_0x347feb;_0x48af5f[_0x1fefd1(0x24c)]||(_0x251f4a=!0x1,_0x48af5f[_0x1fefd1(0x2cc)](_0x13eddd));}),_0xf9f8f2[_0x347feb(0x21f)](_0x347feb(0x280),function(){const _0xed9d77=_0x347feb;_0x48af5f[_0xed9d77(0x24c)]||_0x48af5f['push'](null);}),_0x48af5f[_0x347feb(0x258)]=function(_0x3ff463,_0x385e1b){const _0x342a27=_0x347feb;if(_0xf9f8f2[_0x342a27(0x251)]===_0xf9f8f2[_0x342a27(0x271)]){_0x385e1b(_0x3ff463),process['nextTick'](_0x54905a,_0x48af5f);return;}let _0x5cb8a7=!0x1;_0xf9f8f2[_0x342a27(0x21f)]('error',function(_0x46e10e){_0x5cb8a7=!0x0,_0x385e1b(_0x46e10e);}),_0xf9f8f2[_0x342a27(0x21f)]('close',function(){const _0x3056d5=_0x342a27;_0x5cb8a7||_0x385e1b(_0x3ff463),process[_0x3056d5(0x19b)](_0x54905a,_0x48af5f);}),_0x251f4a&&_0xf9f8f2['terminate']();},_0x48af5f[_0x347feb(0x2f7)]=function(_0x23e4fe){const _0x4bf523=_0x347feb;if(_0xf9f8f2['readyState']===_0xf9f8f2[_0x4bf523(0x213)]){_0xf9f8f2[_0x4bf523(0x21f)](_0x4bf523(0x23d),function(){const _0x410df3=_0x4bf523;_0x48af5f[_0x410df3(0x2f7)](_0x23e4fe);});return;}_0xf9f8f2[_0x4bf523(0x262)]!==null&&(_0xf9f8f2[_0x4bf523(0x262)][_0x4bf523(0x2c3)][_0x4bf523(0x2cd)]?(_0x23e4fe(),_0x48af5f[_0x4bf523(0x24e)][_0x4bf523(0x1bb)]&&_0x48af5f[_0x4bf523(0x2cc)]()):(_0xf9f8f2[_0x4bf523(0x262)]['once'](_0x4bf523(0x349),function(){_0x23e4fe();}),_0xf9f8f2[_0x4bf523(0x280)]()));},_0x48af5f[_0x347feb(0x335)]=function(){const _0x490df5=_0x347feb;_0xf9f8f2[_0x490df5(0x264)]&&_0xf9f8f2[_0x490df5(0x27e)]();},_0x48af5f[_0x347feb(0x1bd)]=function(_0x42e85c,_0x573caf,_0x2fa83a){const _0x3d7e58=_0x347feb;if(_0xf9f8f2[_0x3d7e58(0x251)]===_0xf9f8f2[_0x3d7e58(0x213)]){_0xf9f8f2['once']('open',function(){const _0x599170=_0x3d7e58;_0x48af5f[_0x599170(0x1bd)](_0x42e85c,_0x573caf,_0x2fa83a);});return;}_0xf9f8f2['send'](_0x42e85c,_0x2fa83a);},_0x48af5f['on'](_0x347feb(0x27b),_0xfcc657),_0x48af5f['on'](_0x347feb(0x2a7),_0x1cb273),_0x48af5f;}return Oe=_0x380d62,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x11c2f8}=ae();function _0x1cbba1(_0x357ea1){const _0x291180=_0x47ed,_0x1690e8=new Set();let _0xa00e37=-0x1,_0x4a2f2f=-0x1,_0x418ce9=0x0;for(_0x418ce9;_0x418ce9<_0x357ea1[_0x291180(0x314)];_0x418ce9++){const _0x5b3433=_0x357ea1[_0x291180(0x1e2)](_0x418ce9);if(_0x4a2f2f===-0x1&&_0x11c2f8[_0x5b3433]===0x1)_0xa00e37===-0x1&&(_0xa00e37=_0x418ce9);else{if(_0x418ce9!==0x0&&(_0x5b3433===0x20||_0x5b3433===0x9))_0x4a2f2f===-0x1&&_0xa00e37!==-0x1&&(_0x4a2f2f=_0x418ce9);else{if(_0x5b3433===0x2c){if(_0xa00e37===-0x1)throw new SyntaxError(_0x291180(0x34d)+_0x418ce9);_0x4a2f2f===-0x1&&(_0x4a2f2f=_0x418ce9);const _0x2e824e=_0x357ea1[_0x291180(0x2b3)](_0xa00e37,_0x4a2f2f);if(_0x1690e8[_0x291180(0x31a)](_0x2e824e))throw new SyntaxError(_0x291180(0x323)+_0x2e824e+_0x291180(0x31c));_0x1690e8[_0x291180(0x1df)](_0x2e824e),_0xa00e37=_0x4a2f2f=-0x1;}else throw new SyntaxError(_0x291180(0x34d)+_0x418ce9);}}}if(_0xa00e37===-0x1||_0x4a2f2f!==-0x1)throw new SyntaxError(_0x291180(0x21e));const _0x179644=_0x357ea1[_0x291180(0x2b3)](_0xa00e37,_0x418ce9);if(_0x1690e8['has'](_0x179644))throw new SyntaxError('The\x20\x22'+_0x179644+_0x291180(0x31c));return _0x1690e8[_0x291180(0x1df)](_0x179644),_0x1690e8;}return Ce={'parse':_0x1cbba1},Ce;}var Te,rt;function _0x47ed(_0x44de6a,_0x4fdbcd){_0x44de6a=_0x44de6a-0x18d;const _0x5a527b=_0x5a52();let _0x47edc=_0x5a527b[_0x44de6a];return _0x47edc;}function Ft(){const _0x4c367c=_0x387344;if(rt)return Te;rt=0x1;const _0x22b6d0=nt,_0x4f0df1=ot,{Duplex:_0x287b8d}=oe,{createHash:_0x49bfc9}=Le,_0xd5fb5=ct(),_0x33e02d=he(),_0x2716c4=At(),_0x5baeed=Pe(),{GUID:_0x5c11b2,kWebSocket:_0x38dd4a}=H(),_0x1c6618=/^[+/0-9A-Za-z]{22}==$/,_0x1e1516=0x0,_0x108527=0x1,_0x238fd3=0x2;class _0x295834 extends _0x22b6d0{constructor(_0x534159,_0x1bbefc){const _0x4fee39=_0x47ed;if(super(),_0x534159={'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':_0x5baeed,..._0x534159},_0x534159['port']==null&&!_0x534159[_0x4fee39(0x1b6)]&&!_0x534159[_0x4fee39(0x230)]||_0x534159[_0x4fee39(0x2da)]!=null&&(_0x534159['server']||_0x534159['noServer'])||_0x534159[_0x4fee39(0x1b6)]&&_0x534159[_0x4fee39(0x230)])throw new TypeError(_0x4fee39(0x22a));if(_0x534159[_0x4fee39(0x2da)]!=null?(this['_server']=_0x4f0df1[_0x4fee39(0x1a5)]((_0x341b2b,_0x18b6da)=>{const _0x36c03b=_0x4fee39,_0x315f5a=_0x4f0df1[_0x36c03b(0x2a5)][0x1aa];_0x18b6da['writeHead'](0x1aa,{'Content-Length':_0x315f5a[_0x36c03b(0x314)],'Content-Type':_0x36c03b(0x1e0)}),_0x18b6da[_0x36c03b(0x27b)](_0x315f5a);}),this[_0x4fee39(0x242)][_0x4fee39(0x20b)](_0x534159[_0x4fee39(0x2da)],_0x534159[_0x4fee39(0x1d0)],_0x534159[_0x4fee39(0x297)],_0x1bbefc)):_0x534159[_0x4fee39(0x1b6)]&&(this['_server']=_0x534159[_0x4fee39(0x1b6)]),this['_server']){const _0x499bb3=this[_0x4fee39(0x22c)]['bind'](this,'connection');this[_0x4fee39(0x21a)]=_0x47f7d5(this[_0x4fee39(0x242)],{'listening':this[_0x4fee39(0x22c)][_0x4fee39(0x1b8)](this,'listening'),'error':this[_0x4fee39(0x22c)][_0x4fee39(0x1b8)](this,_0x4fee39(0x2a7)),'upgrade':(_0x546b07,_0x13139f,_0x599dec)=>{const _0x3327f4=_0x4fee39;this[_0x3327f4(0x2ca)](_0x546b07,_0x13139f,_0x599dec,_0x499bb3);}});}_0x534159[_0x4fee39(0x255)]===!0x0&&(_0x534159[_0x4fee39(0x255)]={}),_0x534159[_0x4fee39(0x1ab)]&&(this['clients']=new Set(),this[_0x4fee39(0x32c)]=!0x1),this['options']=_0x534159,this[_0x4fee39(0x1bf)]=_0x1e1516;}['address'](){const _0x4f745a=_0x47ed;if(this[_0x4f745a(0x1dd)][_0x4f745a(0x230)])throw new Error(_0x4f745a(0x266));return this[_0x4f745a(0x242)]?this[_0x4f745a(0x242)]['address']():null;}[_0x4c367c(0x280)](_0x3411a8){const _0xae8d8d=_0x4c367c;if(this[_0xae8d8d(0x1bf)]===_0x238fd3){_0x3411a8&&this[_0xae8d8d(0x21f)](_0xae8d8d(0x280),()=>{const _0x1a87af=_0xae8d8d;_0x3411a8(new Error(_0x1a87af(0x307)));}),process[_0xae8d8d(0x19b)](_0xcb3a32,this);return;}if(_0x3411a8&&this[_0xae8d8d(0x21f)](_0xae8d8d(0x280),_0x3411a8),this['_state']!==_0x108527){if(this[_0xae8d8d(0x1bf)]=_0x108527,this[_0xae8d8d(0x1dd)][_0xae8d8d(0x230)]||this[_0xae8d8d(0x1dd)][_0xae8d8d(0x1b6)])this['_server']&&(this['_removeListeners'](),this[_0xae8d8d(0x21a)]=this['_server']=null),this[_0xae8d8d(0x2f1)]?this[_0xae8d8d(0x2f1)][_0xae8d8d(0x318)]?this[_0xae8d8d(0x32c)]=!0x0:process['nextTick'](_0xcb3a32,this):process[_0xae8d8d(0x19b)](_0xcb3a32,this);else{const _0x42b92d=this[_0xae8d8d(0x242)];this[_0xae8d8d(0x21a)](),this['_removeListeners']=this[_0xae8d8d(0x242)]=null,_0x42b92d[_0xae8d8d(0x280)](()=>{_0xcb3a32(this);});}}}[_0x4c367c(0x18e)](_0x1e0c46){const _0x5f0d03=_0x4c367c;if(this[_0x5f0d03(0x1dd)][_0x5f0d03(0x246)]){const _0x4a516b=_0x1e0c46['url'][_0x5f0d03(0x304)]('?');if((_0x4a516b!==-0x1?_0x1e0c46[_0x5f0d03(0x22d)][_0x5f0d03(0x2b3)](0x0,_0x4a516b):_0x1e0c46[_0x5f0d03(0x22d)])!==this[_0x5f0d03(0x1dd)]['path'])return!0x1;}return!0x0;}[_0x4c367c(0x2ca)](_0x4385f6,_0x49058c,_0x3cb6b0,_0x3605be){const _0x37200a=_0x4c367c;_0x49058c['on'](_0x37200a(0x2a7),_0x2832b7);const _0x346484=_0x4385f6[_0x37200a(0x2bb)][_0x37200a(0x2fe)],_0x4b0b2a=_0x4385f6['headers'][_0x37200a(0x1f5)],_0x52f4e3=+_0x4385f6['headers'][_0x37200a(0x1fd)];if(_0x4385f6['method']!==_0x37200a(0x1c7)){_0x6ef4ce(this,_0x4385f6,_0x49058c,0x195,_0x37200a(0x31f));return;}if(_0x4b0b2a===void 0x0||_0x4b0b2a[_0x37200a(0x1ea)]()!=='websocket'){_0x6ef4ce(this,_0x4385f6,_0x49058c,0x190,_0x37200a(0x204));return;}if(_0x346484===void 0x0||!_0x1c6618[_0x37200a(0x256)](_0x346484)){_0x6ef4ce(this,_0x4385f6,_0x49058c,0x190,_0x37200a(0x1f4));return;}if(_0x52f4e3!==0xd&&_0x52f4e3!==0x8){_0x6ef4ce(this,_0x4385f6,_0x49058c,0x190,_0x37200a(0x1e6),{'Sec-WebSocket-Version':_0x37200a(0x32d)});return;}if(!this[_0x37200a(0x18e)](_0x4385f6)){_0x17deff(_0x49058c,0x190);return;}const _0x479277=_0x4385f6[_0x37200a(0x2bb)][_0x37200a(0x2e3)];let _0x3f726a=new Set();if(_0x479277!==void 0x0)try{_0x3f726a=_0x2716c4[_0x37200a(0x23c)](_0x479277);}catch{_0x6ef4ce(this,_0x4385f6,_0x49058c,0x190,_0x37200a(0x2de));return;}const _0x18e762=_0x4385f6[_0x37200a(0x2bb)][_0x37200a(0x295)],_0x2e5cde={};if(this['options']['perMessageDeflate']&&_0x18e762!==void 0x0){const _0x48a07a=new _0x33e02d(this[_0x37200a(0x1dd)][_0x37200a(0x255)],!0x0,this[_0x37200a(0x1dd)][_0x37200a(0x20e)]);try{const _0x285d65=_0xd5fb5[_0x37200a(0x23c)](_0x18e762);_0x285d65[_0x33e02d[_0x37200a(0x2fd)]]&&(_0x48a07a[_0x37200a(0x2aa)](_0x285d65[_0x33e02d[_0x37200a(0x2fd)]]),_0x2e5cde[_0x33e02d[_0x37200a(0x2fd)]]=_0x48a07a);}catch{_0x6ef4ce(this,_0x4385f6,_0x49058c,0x190,_0x37200a(0x1ee));return;}}if(this[_0x37200a(0x1dd)][_0x37200a(0x257)]){const _0x8236a3={'origin':_0x4385f6[_0x37200a(0x2bb)][''+(_0x52f4e3===0x8?_0x37200a(0x32a):_0x37200a(0x1eb))],'secure':!!(_0x4385f6[_0x37200a(0x240)]['authorized']||_0x4385f6['socket'][_0x37200a(0x345)]),'req':_0x4385f6};if(this[_0x37200a(0x1dd)]['verifyClient'][_0x37200a(0x314)]===0x2){this[_0x37200a(0x1dd)]['verifyClient'](_0x8236a3,(_0x1b4215,_0x6a3b6a,_0x430c81,_0x5dcddc)=>{const _0x15ba7c=_0x37200a;if(!_0x1b4215)return _0x17deff(_0x49058c,_0x6a3b6a||0x191,_0x430c81,_0x5dcddc);this[_0x15ba7c(0x330)](_0x2e5cde,_0x346484,_0x3f726a,_0x4385f6,_0x49058c,_0x3cb6b0,_0x3605be);});return;}if(!this[_0x37200a(0x1dd)][_0x37200a(0x257)](_0x8236a3))return _0x17deff(_0x49058c,0x191);}this['completeUpgrade'](_0x2e5cde,_0x346484,_0x3f726a,_0x4385f6,_0x49058c,_0x3cb6b0,_0x3605be);}['completeUpgrade'](_0x5a7984,_0x32fbe6,_0x539f27,_0x17af8b,_0x516de7,_0x9b63bb,_0x3925fe){const _0x5d6872=_0x4c367c;if(!_0x516de7[_0x5d6872(0x313)]||!_0x516de7[_0x5d6872(0x2d0)])return _0x516de7['destroy']();if(_0x516de7[_0x38dd4a])throw new Error(_0x5d6872(0x267));if(this['_state']>_0x1e1516)return _0x17deff(_0x516de7,0x1f7);const _0x3bb9d6=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x5d6872(0x2f5),_0x5d6872(0x260),_0x5d6872(0x20a)+_0x49bfc9(_0x5d6872(0x2d1))['update'](_0x32fbe6+_0x5c11b2)['digest'](_0x5d6872(0x34e))],_0x309749=new this[(_0x5d6872(0x1dd))][(_0x5d6872(0x2d7))](null,void 0x0,this[_0x5d6872(0x1dd)]);if(_0x539f27['size']){const _0x4d63fd=this['options'][_0x5d6872(0x334)]?this['options'][_0x5d6872(0x334)](_0x539f27,_0x17af8b):_0x539f27['values']()[_0x5d6872(0x28b)]()[_0x5d6872(0x346)];_0x4d63fd&&(_0x3bb9d6[_0x5d6872(0x235)](_0x5d6872(0x34b)+_0x4d63fd),_0x309749['_protocol']=_0x4d63fd);}if(_0x5a7984[_0x33e02d['extensionName']]){const _0x2dab11=_0x5a7984[_0x33e02d[_0x5d6872(0x2fd)]][_0x5d6872(0x1ce)],_0x583a46=_0xd5fb5['format']({[_0x33e02d[_0x5d6872(0x2fd)]]:[_0x2dab11]});_0x3bb9d6[_0x5d6872(0x235)](_0x5d6872(0x18d)+_0x583a46),_0x309749[_0x5d6872(0x219)]=_0x5a7984;}this['emit'](_0x5d6872(0x2bb),_0x3bb9d6,_0x17af8b),_0x516de7['write'](_0x3bb9d6[_0x5d6872(0x238)]('\x0d\x0a')[_0x5d6872(0x28f)]('\x0d\x0a')),_0x516de7['removeListener'](_0x5d6872(0x2a7),_0x2832b7),_0x309749[_0x5d6872(0x2bf)](_0x516de7,_0x9b63bb,{'allowSynchronousEvents':this['options'][_0x5d6872(0x194)],'maxPayload':this[_0x5d6872(0x1dd)]['maxPayload'],'skipUTF8Validation':this[_0x5d6872(0x1dd)][_0x5d6872(0x2b5)]}),this['clients']&&(this[_0x5d6872(0x2f1)][_0x5d6872(0x1df)](_0x309749),_0x309749['on'](_0x5d6872(0x280),()=>{const _0x24c0b8=_0x5d6872;this['clients'][_0x24c0b8(0x337)](_0x309749),this[_0x24c0b8(0x32c)]&&!this[_0x24c0b8(0x2f1)][_0x24c0b8(0x318)]&&process[_0x24c0b8(0x19b)](_0xcb3a32,this);})),_0x3925fe(_0x309749,_0x17af8b);}}Te=_0x295834;function _0x47f7d5(_0x57ef5d,_0x12663e){const _0xbd7492=_0x4c367c;for(const _0x3fb853 of Object[_0xbd7492(0x2f3)](_0x12663e))_0x57ef5d['on'](_0x3fb853,_0x12663e[_0x3fb853]);return function(){const _0x3c7639=_0xbd7492;for(const _0x36bccc of Object[_0x3c7639(0x2f3)](_0x12663e))_0x57ef5d[_0x3c7639(0x2c6)](_0x36bccc,_0x12663e[_0x36bccc]);};}function _0xcb3a32(_0x18b330){const _0x2569da=_0x4c367c;_0x18b330[_0x2569da(0x1bf)]=_0x238fd3,_0x18b330[_0x2569da(0x22c)](_0x2569da(0x280));}function _0x2832b7(){const _0x2bac0f=_0x4c367c;this[_0x2bac0f(0x2cc)]();}function _0x17deff(_0x16f5c8,_0x3ba892,_0x2f428b,_0x2ecfcf){const _0x17f984=_0x4c367c;_0x2f428b=_0x2f428b||_0x4f0df1['STATUS_CODES'][_0x3ba892],_0x2ecfcf={'Connection':_0x17f984(0x280),'Content-Type':_0x17f984(0x2fc),'Content-Length':Buffer[_0x17f984(0x2dc)](_0x2f428b),..._0x2ecfcf},_0x16f5c8[_0x17f984(0x21f)](_0x17f984(0x349),_0x16f5c8[_0x17f984(0x2cc)]),_0x16f5c8[_0x17f984(0x27b)]('HTTP/1.1\x20'+_0x3ba892+'\x20'+_0x4f0df1[_0x17f984(0x2a5)][_0x3ba892]+'\x0d\x0a'+Object[_0x17f984(0x2f3)](_0x2ecfcf)[_0x17f984(0x1e7)](_0x55ac9d=>_0x55ac9d+':\x20'+_0x2ecfcf[_0x55ac9d])[_0x17f984(0x28f)]('\x0d\x0a')+_0x17f984(0x19e)+_0x2f428b);}function _0x6ef4ce(_0x206900,_0x4c2742,_0x35120e,_0x4faba4,_0xdfca23,_0x31d857){const _0x2aba58=_0x4c367c;if(_0x206900[_0x2aba58(0x241)](_0x2aba58(0x1d3))){const _0x51c1d4=new Error(_0xdfca23);Error['captureStackTrace'](_0x51c1d4,_0x6ef4ce),_0x206900[_0x2aba58(0x22c)](_0x2aba58(0x1d3),_0x51c1d4,_0x35120e,_0x4c2742);}else _0x17deff(_0x35120e,_0x4faba4,_0xdfca23,_0x31d857);}return Te;}Ft();var jt=Object[_0x387344(0x1c0)],Wt=(_0x3c170e,_0x5b3ce3,_0x400ee1,_0x46688f)=>{const _0x41a1b4=_0x387344;for(var _0x5b7f5d=_0x46688f>0x1?void 0x0:_0x46688f?jt(_0x5b3ce3,_0x400ee1):_0x5b3ce3,_0x58e220=_0x3c170e[_0x41a1b4(0x314)]-0x1,_0x9d9922;_0x58e220>=0x0;_0x58e220--)(_0x9d9922=_0x3c170e[_0x58e220])&&(_0x5b7f5d=_0x9d9922(_0x5b7f5d)||_0x5b7f5d);return _0x5b7f5d;},qt=(_0x4c15fc,_0x26202a)=>(_0x1f3248,_0x4143c9)=>_0x26202a(_0x1f3248,_0x4143c9,_0x4c15fc);let ke=class extends A['Disposable']{constructor(_0x572010){const _0x37b7de=_0x387344;super(),this[_0x37b7de(0x25a)]=_0x572010;}[_0x387344(0x2e9)](_0x9d6c48){const _0x4d12e0=_0x387344;var _0x3f5d24;const _0xca178d=(_0x3f5d24=this[_0x4d12e0(0x25a)][_0x4d12e0(0x21b)](fe))==null?void 0x0:_0x3f5d24['customHeaders'];try{const _0x404858=new $t(_0x9d6c48,{'headers':{..._0xca178d}}),_0x2d1653=new A[(_0x4d12e0(0x19c))]();return{'URL':_0x9d6c48,'close':(_0x5521d2,_0x34e706)=>{const _0x3c1272=_0x4d12e0;_0x404858[_0x3c1272(0x280)](_0x5521d2,_0x34e706),_0x2d1653[_0x3c1272(0x340)]();},'send':_0x50d191=>{const _0x432b23=_0x4d12e0;_0x404858[_0x432b23(0x216)](_0x50d191);},'open$':new V[(_0x4d12e0(0x1d7))](_0x181648=>{const _0x380e67=_0x4d12e0,_0x5c28a1=_0x3450d4=>_0x181648[_0x380e67(0x28b)](_0x3450d4);_0x404858[_0x380e67(0x2b9)](_0x380e67(0x23d),_0x5c28a1),_0x2d1653['add'](A[_0x380e67(0x29a)](()=>_0x404858[_0x380e67(0x296)](_0x380e67(0x23d),_0x5c28a1)));})['pipe'](V['share']()),'close$':new V[(_0x4d12e0(0x1d7))](_0x2742a3=>{const _0x157983=_0x4d12e0,_0x5500ae=_0x1776dd=>_0x2742a3[_0x157983(0x28b)](_0x1776dd);_0x404858[_0x157983(0x2b9)](_0x157983(0x280),_0x5500ae),_0x2d1653[_0x157983(0x1df)](A[_0x157983(0x29a)](()=>_0x404858[_0x157983(0x296)](_0x157983(0x280),_0x5500ae)));})[_0x4d12e0(0x1a1)](V[_0x4d12e0(0x1b7)]()),'error$':new V[(_0x4d12e0(0x1d7))](_0x1fa1dc=>{const _0x37195a=_0x4d12e0,_0x248eb2=_0x5eef05=>_0x1fa1dc[_0x37195a(0x28b)](_0x5eef05);_0x404858['addEventListener']('error',_0x248eb2),_0x2d1653[_0x37195a(0x1df)](A[_0x37195a(0x29a)](()=>_0x404858['removeEventListener'](_0x37195a(0x2a7),_0x248eb2)));})[_0x4d12e0(0x1a1)](V[_0x4d12e0(0x1b7)]()),'message$':new V[(_0x4d12e0(0x1d7))](_0x5f42a7=>{const _0x5e8e9c=_0x4d12e0,_0x255275=_0x4932fc=>_0x5f42a7[_0x5e8e9c(0x28b)](_0x4932fc);_0x404858[_0x5e8e9c(0x2b9)](_0x5e8e9c(0x2b8),_0x255275),_0x2d1653[_0x5e8e9c(0x1df)](A[_0x5e8e9c(0x29a)](()=>_0x404858['removeEventListener']('message',_0x255275)));})[_0x4d12e0(0x1a1)](V[_0x4d12e0(0x1b7)]())};}catch(_0x102a6c){return console[_0x4d12e0(0x2a7)](_0x102a6c),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object['defineProperty'],Vt=Object[_0x387344(0x1c0)],Ht=(_0x4ad986,_0x2c353f,_0x35c279)=>_0x2c353f in _0x4ad986?Gt(_0x4ad986,_0x2c353f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x35c279}):_0x4ad986[_0x2c353f]=_0x35c279,zt=(_0x274c51,_0x2c5d22,_0x309f34,_0x1f372f)=>{const _0x37fbaa=_0x387344;for(var _0x47222d=_0x1f372f>0x1?void 0x0:_0x1f372f?Vt(_0x2c5d22,_0x309f34):_0x2c5d22,_0x5c5f49=_0x274c51[_0x37fbaa(0x314)]-0x1,_0x4105c7;_0x5c5f49>=0x0;_0x5c5f49--)(_0x4105c7=_0x274c51[_0x5c5f49])&&(_0x47222d=_0x4105c7(_0x47222d)||_0x47222d);return _0x47222d;},Ne=(_0x525ed9,_0x233aee)=>(_0x2dbd58,_0x29116a)=>_0x233aee(_0x2dbd58,_0x29116a,_0x525ed9),Yt=(_0x5a413c,_0x452251,_0xa53f93)=>Ht(_0x5a413c,_0x452251+'',_0xa53f93);exports[_0x387344(0x2e1)]=class extends A[_0x387344(0x342)]{constructor(_0xc51b1=Ct,_0x2d35f3,_0x5ed8ef,_0x1a3bb6){const _0x2b37b9=_0x387344;_0xc51b1['customHeaders']||_0x2d35f3['warn'](_0x2b37b9(0x273)),super(),this[_0x2b37b9(0x25a)]=_0x5ed8ef,this[_0x2b37b9(0x1de)]=_0x1a3bb6,this[_0x2b37b9(0x25a)]['setConfig'](fe,_0xc51b1);}[_0x387344(0x2b6)](){const _0x5175a1=_0x387344;this[_0x5175a1(0x1aa)]();}[_0x387344(0x1aa)](){const _0x4fb38f=_0x387344;A[_0x4fb38f(0x231)](this[_0x4fb38f(0x1de)],[[it[_0x4fb38f(0x2a8)],{'useClass':ke}]]);}},Yt(exports[_0x387344(0x2e1)],_0x387344(0x24d),_0x387344(0x276)),exports[_0x387344(0x2e1)]=zt([A[_0x387344(0x1b5)](st[_0x387344(0x308)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x387344(0x292)]),Ne(0x3,A[_0x387344(0x2f0)](A[_0x387344(0x268)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x387344(0x1c0)],Xt=(_0x274275,_0x2ac54b,_0x3d693c,_0x5c0d68)=>{for(var _0x3bdb86=_0x5c0d68>0x1?void 0x0:_0x5c0d68?Kt(_0x2ac54b,_0x3d693c):_0x2ac54b,_0x594052=_0x274275['length']-0x1,_0x35019f;_0x594052>=0x0;_0x594052--)(_0x35019f=_0x274275[_0x594052])&&(_0x3bdb86=_0x35019f(_0x3bdb86)||_0x3bdb86);return _0x3bdb86;},ne=(_0x3845bc,_0x155560)=>(_0x2ebdc0,_0x804d1e)=>_0x155560(_0x2ebdc0,_0x804d1e,_0x3845bc);exports['NodeCollaborationSocketService']=class extends st['CollaborationSocketService']{constructor(_0x36c035,_0x247cc5,_0x195dbe,_0x2310fe,_0x54f155){const _0xe9c218=_0x387344;super(_0x36c035,_0x247cc5,_0x195dbe,_0x2310fe,_0x54f155);const _0x59b1e4=this[_0xe9c218(0x25a)][_0xe9c218(0x21b)](fe);this[_0xe9c218(0x301)]['registerHTTPInterceptor']({'interceptor':(_0x526d69,_0x4e78f0)=>{const _0x2a3add=_0xe9c218;var _0x4b93e0;const _0x4f3e1a=_0x526d69[_0x2a3add(0x2bb)];return(_0x4b93e0=_0x59b1e4==null?void 0x0:_0x59b1e4[_0x2a3add(0x1e5)])!=null&&_0x4b93e0['cookie']&&_0x4f3e1a[_0x2a3add(0x1c5)](_0x2a3add(0x344),_0x59b1e4[_0x2a3add(0x1e5)][_0x2a3add(0x1ad)]),_0x4e78f0(_0x526d69);}});}async['createSocket'](_0x4dbb9e){const _0x10974b=_0x387344;return this[_0x10974b(0x30b)](_0x4dbb9e);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x387344(0x2f0)](A[_0x387344(0x268)])),ne(0x1,A[_0x387344(0x2f0)](it[_0x387344(0x19a)])),ne(0x2,A[_0x387344(0x292)]),ne(0x3,A[_0x387344(0x26d)]),ne(0x4,Ot[_0x387344(0x239)])],exports[_0x387344(0x20d)]),exports[_0x387344(0x252)]=fe;