@univerjs-pro/collaboration-client-node 0.10.4-nightly.202508220605 → 0.10.5

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 _0xa527ae=_0x1eaa;(function(_0x8f796c,_0x3e7111){const _0x42d5fa=_0x1eaa,_0x727f4f=_0x8f796c();while(!![]){try{const _0x9bbdbd=-parseInt(_0x42d5fa(0x1d3))/0x1+-parseInt(_0x42d5fa(0x1c1))/0x2+-parseInt(_0x42d5fa(0x1a4))/0x3+-parseInt(_0x42d5fa(0x1b0))/0x4+-parseInt(_0x42d5fa(0x218))/0x5*(-parseInt(_0x42d5fa(0x1ad))/0x6)+-parseInt(_0x42d5fa(0x130))/0x7*(parseInt(_0x42d5fa(0x17a))/0x8)+parseInt(_0x42d5fa(0x20c))/0x9*(parseInt(_0x42d5fa(0x1bb))/0xa);if(_0x9bbdbd===_0x3e7111)break;else _0x727f4f['push'](_0x727f4f['shift']());}catch(_0x53ed23){_0x727f4f['push'](_0x727f4f['shift']());}}}(_0x777b,0x76a26));function _0x1eaa(_0x6c461,_0x3a7496){const _0x777b38=_0x777b();return _0x1eaa=function(_0x1eaaaa,_0xdf5731){_0x1eaaaa=_0x1eaaaa-0xe9;let _0x527735=_0x777b38[_0x1eaaaa];return _0x527735;},_0x1eaa(_0x6c461,_0x3a7496);}Object[_0xa527ae(0x25c)](exports,Symbol[_0xa527ae(0x194)],{'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=_0xa527ae(0x293),Ct={'customHeaders':{}};function Tt(_0x23ed35){const _0x8640d7=_0xa527ae;return _0x23ed35&&_0x23ed35[_0x8640d7(0x1da)]&&Object[_0x8640d7(0x281)][_0x8640d7(0x22e)][_0x8640d7(0x260)](_0x23ed35,_0x8640d7(0x141))?_0x23ed35[_0x8640d7(0x141)]:_0x23ed35;}function at(_0x3d707c){const _0x4ec51e=_0xa527ae;if(Object['prototype'][_0x4ec51e(0x22e)][_0x4ec51e(0x260)](_0x3d707c,_0x4ec51e(0x1da)))return _0x3d707c;var _0x1ad9cc=_0x3d707c['default'];if(typeof _0x1ad9cc==_0x4ec51e(0x142)){var _0xfde142=function _0x4fb4b5(){const _0x409fe3=_0x4ec51e;var _0x593904=!0x1;try{_0x593904=this instanceof _0x4fb4b5;}catch{}return _0x593904?Reflect[_0x409fe3(0x11e)](_0x1ad9cc,arguments,this['constructor']):_0x1ad9cc[_0x409fe3(0x133)](this,arguments);};_0xfde142[_0x4ec51e(0x281)]=_0x1ad9cc['prototype'];}else _0xfde142={};return Object[_0x4ec51e(0x25c)](_0xfde142,_0x4ec51e(0x1da),{'value':!0x0}),Object[_0x4ec51e(0x13f)](_0x3d707c)[_0x4ec51e(0x1b9)](function(_0x491f98){const _0x3111c2=_0x4ec51e;var _0x520922=Object['getOwnPropertyDescriptor'](_0x3d707c,_0x491f98);Object[_0x3111c2(0x25c)](_0xfde142,_0x491f98,_0x520922[_0x3111c2(0x1c6)]?_0x520922:{'enumerable':!0x0,'get':function(){return _0x3d707c[_0x491f98];}});}),_0xfde142;}var se={'exports':{}},ge,Ge;function H(){const _0x30710b=_0xa527ae;if(Ge)return ge;Ge=0x1;const _0x19acfb=['nodebuffer',_0x30710b(0x21a),_0x30710b(0x286)],_0x390fbb=typeof Blob<'u';return _0x390fbb&&_0x19acfb[_0x30710b(0x17c)](_0x30710b(0xf3)),ge={'BINARY_TYPES':_0x19acfb,'EMPTY_BUFFER':Buffer[_0x30710b(0x19a)](0x0),'GUID':_0x30710b(0x209),'hasBlob':_0x390fbb,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x30710b(0x19c)),'kStatusCode':Symbol(_0x30710b(0x153)),'kWebSocket':Symbol(_0x30710b(0x280)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0xa527ae(0xee)](Object[_0xa527ae(0x25c)]({'__proto__':null,'default':Nt},Symbol[_0xa527ae(0x194)],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x44bbae=_0xa527ae;if(Ve)return se[_0x44bbae(0x298)];Ve=0x1;const {EMPTY_BUFFER:_0x5f70f8}=H(),_0x1aeb6b=Buffer[Symbol[_0x44bbae(0xf5)]];function _0x546f39(_0x47a34f,_0x2e9d9e){const _0x248428=_0x44bbae;if(_0x47a34f[_0x248428(0x1f1)]===0x0)return _0x5f70f8;if(_0x47a34f[_0x248428(0x1f1)]===0x1)return _0x47a34f[0x0];const _0x4f4440=Buffer[_0x248428(0x160)](_0x2e9d9e);let _0x43155b=0x0;for(let _0x58bd83=0x0;_0x58bd83<_0x47a34f[_0x248428(0x1f1)];_0x58bd83++){const _0x32cda1=_0x47a34f[_0x58bd83];_0x4f4440[_0x248428(0x107)](_0x32cda1,_0x43155b),_0x43155b+=_0x32cda1[_0x248428(0x1f1)];}return _0x43155b<_0x2e9d9e?new _0x1aeb6b(_0x4f4440[_0x248428(0x29f)],_0x4f4440[_0x248428(0x208)],_0x43155b):_0x4f4440;}function _0x347a7b(_0x6ac78e,_0x142ceb,_0xd47ec1,_0x4b6d92,_0x49f856){for(let _0x5494f0=0x0;_0x5494f0<_0x49f856;_0x5494f0++)_0xd47ec1[_0x4b6d92+_0x5494f0]=_0x6ac78e[_0x5494f0]^_0x142ceb[_0x5494f0&0x3];}function _0x151db4(_0x45c4b8,_0x1575cb){const _0x54050d=_0x44bbae;for(let _0x1ce9ee=0x0;_0x1ce9ee<_0x45c4b8[_0x54050d(0x1f1)];_0x1ce9ee++)_0x45c4b8[_0x1ce9ee]^=_0x1575cb[_0x1ce9ee&0x3];}function _0x2f0715(_0x1f6b24){const _0x500302=_0x44bbae;return _0x1f6b24[_0x500302(0x1f1)]===_0x1f6b24['buffer']['byteLength']?_0x1f6b24[_0x500302(0x29f)]:_0x1f6b24[_0x500302(0x29f)][_0x500302(0x120)](_0x1f6b24['byteOffset'],_0x1f6b24[_0x500302(0x208)]+_0x1f6b24['length']);}function _0x42f25a(_0x56d55b){const _0x3c8e30=_0x44bbae;if(_0x42f25a[_0x3c8e30(0x122)]=!0x0,Buffer['isBuffer'](_0x56d55b))return _0x56d55b;let _0x8114a6;return _0x56d55b instanceof ArrayBuffer?_0x8114a6=new _0x1aeb6b(_0x56d55b):ArrayBuffer['isView'](_0x56d55b)?_0x8114a6=new _0x1aeb6b(_0x56d55b[_0x3c8e30(0x29f)],_0x56d55b['byteOffset'],_0x56d55b[_0x3c8e30(0x1fc)]):(_0x8114a6=Buffer['from'](_0x56d55b),_0x42f25a[_0x3c8e30(0x122)]=!0x1),_0x8114a6;}if(se[_0x44bbae(0x298)]={'concat':_0x546f39,'mask':_0x347a7b,'toArrayBuffer':_0x2f0715,'toBuffer':_0x42f25a,'unmask':_0x151db4},!process[_0x44bbae(0x207)][_0x44bbae(0x21d)])try{const _0x2efe95=Lt;se['exports'][_0x44bbae(0x192)]=function(_0x349cbe,_0x319066,_0x118236,_0x174f0c,_0x46be45){_0x46be45<0x30?_0x347a7b(_0x349cbe,_0x319066,_0x118236,_0x174f0c,_0x46be45):_0x2efe95['mask'](_0x349cbe,_0x319066,_0x118236,_0x174f0c,_0x46be45);},se['exports']['unmask']=function(_0x2412b7,_0x479821){const _0x2eeff1=_0x44bbae;_0x2412b7['length']<0x20?_0x151db4(_0x2412b7,_0x479821):_0x2efe95[_0x2eeff1(0x1f6)](_0x2412b7,_0x479821);};}catch{}return se[_0x44bbae(0x298)];}var ye,He;function Pt(){const _0xad1fff=_0xa527ae;if(He)return ye;He=0x1;const _0xd731ab=Symbol(_0xad1fff(0x2a0)),_0x5dffcc=Symbol(_0xad1fff(0x19f));class _0x113930{constructor(_0x34bfcc){const _0x13da99=_0xad1fff;this[_0xd731ab]=()=>{const _0x1a5a05=_0x1eaa;this[_0x1a5a05(0x1a1)]--,this[_0x5dffcc]();},this[_0x13da99(0x211)]=_0x34bfcc||0x1/0x0,this['jobs']=[],this[_0x13da99(0x1a1)]=0x0;}[_0xad1fff(0x1d5)](_0x455e92){const _0x59ce2a=_0xad1fff;this[_0x59ce2a(0x1a7)][_0x59ce2a(0x17c)](_0x455e92),this[_0x5dffcc]();}[_0x5dffcc](){const _0xf1e187=_0xad1fff;if(this[_0xf1e187(0x1a1)]!==this[_0xf1e187(0x211)]&&this[_0xf1e187(0x1a7)][_0xf1e187(0x1f1)]){const _0x438814=this[_0xf1e187(0x1a7)]['shift']();this[_0xf1e187(0x1a1)]++,_0x438814(this[_0xd731ab]);}}}return ye=_0x113930,ye;}var ve,ze;function he(){const _0x288e33=_0xa527ae;if(ze)return ve;ze=0x1;const _0xdf48e5=bt,_0x2cfc8a=ce(),_0xd32562=Pt(),{kStatusCode:_0x59f36f}=H(),_0x56b371=Buffer[Symbol[_0x288e33(0xf5)]],_0x46d5d0=Buffer[_0x288e33(0x1c3)]([0x0,0x0,0xff,0xff]),_0x30d082=Symbol(_0x288e33(0x177)),_0x58a189=Symbol(_0x288e33(0x191)),_0x516b3f=Symbol('callback'),_0x21a1fb=Symbol(_0x288e33(0x20d)),_0x10e6fd=Symbol(_0x288e33(0x112));let _0x3c405a;class _0x3e2793{constructor(_0x37c13c,_0x4b1245,_0x386d92){const _0x383500=_0x288e33;if(this['_maxPayload']=_0x386d92|0x0,this[_0x383500(0x233)]=_0x37c13c||{},this[_0x383500(0x1bf)]=this[_0x383500(0x233)][_0x383500(0x1cb)]!==void 0x0?this['_options'][_0x383500(0x1cb)]:0x400,this[_0x383500(0x165)]=!!_0x4b1245,this[_0x383500(0xf6)]=null,this[_0x383500(0x16a)]=null,this[_0x383500(0x11a)]=null,!_0x3c405a){const _0x3f4a79=this['_options'][_0x383500(0x238)]!==void 0x0?this[_0x383500(0x233)][_0x383500(0x238)]:0xa;_0x3c405a=new _0xd32562(_0x3f4a79);}}static get[_0x288e33(0x1de)](){const _0x3a7ea9=_0x288e33;return _0x3a7ea9(0x177);}[_0x288e33(0x13b)](){const _0x1f27fa=_0x288e33,_0x2010a4={};return this[_0x1f27fa(0x233)][_0x1f27fa(0x22d)]&&(_0x2010a4[_0x1f27fa(0x10a)]=!0x0),this[_0x1f27fa(0x233)][_0x1f27fa(0x172)]&&(_0x2010a4['client_no_context_takeover']=!0x0),this[_0x1f27fa(0x233)][_0x1f27fa(0x206)]&&(_0x2010a4[_0x1f27fa(0x2a7)]=this[_0x1f27fa(0x233)][_0x1f27fa(0x206)]),this[_0x1f27fa(0x233)][_0x1f27fa(0x182)]?_0x2010a4[_0x1f27fa(0x104)]=this[_0x1f27fa(0x233)][_0x1f27fa(0x182)]:this[_0x1f27fa(0x233)]['clientMaxWindowBits']==null&&(_0x2010a4[_0x1f27fa(0x104)]=!0x0),_0x2010a4;}[_0x288e33(0x157)](_0x5320b6){const _0x4d329a=_0x288e33;return _0x5320b6=this[_0x4d329a(0x1ee)](_0x5320b6),this[_0x4d329a(0x11a)]=this[_0x4d329a(0x165)]?this['acceptAsServer'](_0x5320b6):this[_0x4d329a(0x149)](_0x5320b6),this[_0x4d329a(0x11a)];}[_0x288e33(0x282)](){const _0x13c2d4=_0x288e33;if(this[_0x13c2d4(0x16a)]&&(this['_inflate'][_0x13c2d4(0x166)](),this[_0x13c2d4(0x16a)]=null),this[_0x13c2d4(0xf6)]){const _0x200368=this[_0x13c2d4(0xf6)][_0x516b3f];this['_deflate'][_0x13c2d4(0x166)](),this[_0x13c2d4(0xf6)]=null,_0x200368&&_0x200368(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x288e33(0x24e)](_0x446733){const _0x5939ab=_0x288e33,_0x28c72d=this[_0x5939ab(0x233)],_0x5d845c=_0x446733[_0x5939ab(0x173)](_0x2c1d5e=>!(_0x28c72d[_0x5939ab(0x22d)]===!0x1&&_0x2c1d5e['server_no_context_takeover']||_0x2c1d5e[_0x5939ab(0x2a7)]&&(_0x28c72d['serverMaxWindowBits']===!0x1||typeof _0x28c72d['serverMaxWindowBits']=='number'&&_0x28c72d[_0x5939ab(0x206)]>_0x2c1d5e[_0x5939ab(0x2a7)])||typeof _0x28c72d[_0x5939ab(0x182)]=='number'&&!_0x2c1d5e[_0x5939ab(0x104)]));if(!_0x5d845c)throw new Error(_0x5939ab(0x20a));return _0x28c72d[_0x5939ab(0x22d)]&&(_0x5d845c[_0x5939ab(0x10a)]=!0x0),_0x28c72d[_0x5939ab(0x172)]&&(_0x5d845c['client_no_context_takeover']=!0x0),typeof _0x28c72d[_0x5939ab(0x206)]==_0x5939ab(0x135)&&(_0x5d845c[_0x5939ab(0x2a7)]=_0x28c72d[_0x5939ab(0x206)]),typeof _0x28c72d[_0x5939ab(0x182)]==_0x5939ab(0x135)?_0x5d845c[_0x5939ab(0x104)]=_0x28c72d['clientMaxWindowBits']:(_0x5d845c[_0x5939ab(0x104)]===!0x0||_0x28c72d['clientMaxWindowBits']===!0x1)&&delete _0x5d845c['client_max_window_bits'],_0x5d845c;}['acceptAsClient'](_0x16a879){const _0x1d4759=_0x288e33,_0x190870=_0x16a879[0x0];if(this[_0x1d4759(0x233)][_0x1d4759(0x172)]===!0x1&&_0x190870['client_no_context_takeover'])throw new Error(_0x1d4759(0x240));if(!_0x190870['client_max_window_bits'])typeof this[_0x1d4759(0x233)][_0x1d4759(0x182)]==_0x1d4759(0x135)&&(_0x190870['client_max_window_bits']=this['_options'][_0x1d4759(0x182)]);else{if(this[_0x1d4759(0x233)][_0x1d4759(0x182)]===!0x1||typeof this[_0x1d4759(0x233)]['clientMaxWindowBits']==_0x1d4759(0x135)&&_0x190870['client_max_window_bits']>this['_options'][_0x1d4759(0x182)])throw new Error(_0x1d4759(0x221));}return _0x190870;}[_0x288e33(0x1ee)](_0x1ead25){const _0x4c259b=_0x288e33;return _0x1ead25[_0x4c259b(0x1b9)](_0x1773a8=>{const _0x27c931=_0x4c259b;Object[_0x27c931(0x13f)](_0x1773a8)['forEach'](_0x35cf82=>{const _0x59cc0b=_0x27c931;let _0x5a9dd8=_0x1773a8[_0x35cf82];if(_0x5a9dd8['length']>0x1)throw new Error(_0x59cc0b(0x249)+_0x35cf82+_0x59cc0b(0x11c));if(_0x5a9dd8=_0x5a9dd8[0x0],_0x35cf82==='client_max_window_bits'){if(_0x5a9dd8!==!0x0){const _0x480177=+_0x5a9dd8;if(!Number[_0x59cc0b(0x16c)](_0x480177)||_0x480177<0x8||_0x480177>0xf)throw new TypeError(_0x59cc0b(0x24d)+_0x35cf82+_0x59cc0b(0x265)+_0x5a9dd8);_0x5a9dd8=_0x480177;}else{if(!this[_0x59cc0b(0x165)])throw new TypeError(_0x59cc0b(0x24d)+_0x35cf82+_0x59cc0b(0x265)+_0x5a9dd8);}}else{if(_0x35cf82===_0x59cc0b(0x2a7)){const _0x2a4e54=+_0x5a9dd8;if(!Number[_0x59cc0b(0x16c)](_0x2a4e54)||_0x2a4e54<0x8||_0x2a4e54>0xf)throw new TypeError(_0x59cc0b(0x24d)+_0x35cf82+_0x59cc0b(0x265)+_0x5a9dd8);_0x5a9dd8=_0x2a4e54;}else{if(_0x35cf82===_0x59cc0b(0x1db)||_0x35cf82==='server_no_context_takeover'){if(_0x5a9dd8!==!0x0)throw new TypeError(_0x59cc0b(0x24d)+_0x35cf82+_0x59cc0b(0x265)+_0x5a9dd8);}else throw new Error(_0x59cc0b(0x1e3)+_0x35cf82+'\x22');}}_0x1773a8[_0x35cf82]=_0x5a9dd8;});}),_0x1ead25;}[_0x288e33(0x25f)](_0x28c28d,_0x5fbda1,_0x5d4e2d){const _0x41ef4c=_0x288e33;_0x3c405a[_0x41ef4c(0x1d5)](_0x353cea=>{const _0x40d9a0=_0x41ef4c;this[_0x40d9a0(0x28f)](_0x28c28d,_0x5fbda1,(_0x3d37d4,_0x58d1c7)=>{_0x353cea(),_0x5d4e2d(_0x3d37d4,_0x58d1c7);});});}[_0x288e33(0x163)](_0x36ae2e,_0x4a27ca,_0x31c25c){const _0x35f242=_0x288e33;_0x3c405a[_0x35f242(0x1d5)](_0x40d9e3=>{const _0x17db2a=_0x35f242;this[_0x17db2a(0x1bd)](_0x36ae2e,_0x4a27ca,(_0x192102,_0x492d1e)=>{_0x40d9e3(),_0x31c25c(_0x192102,_0x492d1e);});});}['_decompress'](_0x390e3e,_0x462ac2,_0x30fde3){const _0x30b3a5=_0x288e33,_0x3d20e7=this[_0x30b3a5(0x165)]?'client':'server';if(!this[_0x30b3a5(0x16a)]){const _0x22c6ae=_0x3d20e7+_0x30b3a5(0x201),_0x10348c=typeof this[_0x30b3a5(0x11a)][_0x22c6ae]!=_0x30b3a5(0x135)?_0xdf48e5[_0x30b3a5(0x220)]:this[_0x30b3a5(0x11a)][_0x22c6ae];this['_inflate']=_0xdf48e5['createInflateRaw']({...this['_options'][_0x30b3a5(0x139)],'windowBits':_0x10348c}),this[_0x30b3a5(0x16a)][_0x30d082]=this,this[_0x30b3a5(0x16a)][_0x58a189]=0x0,this[_0x30b3a5(0x16a)][_0x21a1fb]=[],this[_0x30b3a5(0x16a)]['on'](_0x30b3a5(0x112),_0x54d088),this[_0x30b3a5(0x16a)]['on'](_0x30b3a5(0x294),_0x124f78);}this[_0x30b3a5(0x16a)][_0x516b3f]=_0x30fde3,this['_inflate']['write'](_0x390e3e),_0x462ac2&&this[_0x30b3a5(0x16a)][_0x30b3a5(0x18d)](_0x46d5d0),this[_0x30b3a5(0x16a)][_0x30b3a5(0x14b)](()=>{const _0x167cef=_0x30b3a5,_0x55f3f8=this[_0x167cef(0x16a)][_0x10e6fd];if(_0x55f3f8){this[_0x167cef(0x16a)][_0x167cef(0x166)](),this[_0x167cef(0x16a)]=null,_0x30fde3(_0x55f3f8);return;}const _0x3c5b44=_0x2cfc8a[_0x167cef(0xef)](this['_inflate'][_0x21a1fb],this[_0x167cef(0x16a)][_0x58a189]);this[_0x167cef(0x16a)][_0x167cef(0x143)][_0x167cef(0x10f)]?(this[_0x167cef(0x16a)][_0x167cef(0x166)](),this['_inflate']=null):(this[_0x167cef(0x16a)][_0x58a189]=0x0,this['_inflate'][_0x21a1fb]=[],_0x462ac2&&this[_0x167cef(0x11a)][_0x3d20e7+_0x167cef(0x127)]&&this['_inflate'][_0x167cef(0x1ce)]()),_0x30fde3(null,_0x3c5b44);});}['_compress'](_0x3316f2,_0x39b64d,_0x14e85a){const _0x291f87=_0x288e33,_0x422509=this[_0x291f87(0x165)]?'server':_0x291f87(0x272);if(!this[_0x291f87(0xf6)]){const _0x43a331=_0x422509+_0x291f87(0x201),_0x4a9e4b=typeof this['params'][_0x43a331]!=_0x291f87(0x135)?_0xdf48e5[_0x291f87(0x220)]:this[_0x291f87(0x11a)][_0x43a331];this['_deflate']=_0xdf48e5[_0x291f87(0x23b)]({...this[_0x291f87(0x233)][_0x291f87(0x27c)],'windowBits':_0x4a9e4b}),this[_0x291f87(0xf6)][_0x58a189]=0x0,this[_0x291f87(0xf6)][_0x21a1fb]=[],this[_0x291f87(0xf6)]['on'](_0x291f87(0x294),_0x458ec);}this['_deflate'][_0x516b3f]=_0x14e85a,this[_0x291f87(0xf6)]['write'](_0x3316f2),this['_deflate'][_0x291f87(0x14b)](_0xdf48e5[_0x291f87(0x1f0)],()=>{const _0x320e98=_0x291f87;if(!this[_0x320e98(0xf6)])return;let _0x548a5f=_0x2cfc8a[_0x320e98(0xef)](this['_deflate'][_0x21a1fb],this[_0x320e98(0xf6)][_0x58a189]);_0x39b64d&&(_0x548a5f=new _0x56b371(_0x548a5f['buffer'],_0x548a5f[_0x320e98(0x208)],_0x548a5f[_0x320e98(0x1f1)]-0x4)),this[_0x320e98(0xf6)][_0x516b3f]=null,this['_deflate'][_0x58a189]=0x0,this['_deflate'][_0x21a1fb]=[],_0x39b64d&&this[_0x320e98(0x11a)][_0x422509+_0x320e98(0x127)]&&this[_0x320e98(0xf6)][_0x320e98(0x1ce)](),_0x14e85a(null,_0x548a5f);});}}ve=_0x3e2793;function _0x458ec(_0x5b96f9){const _0x55fce4=_0x288e33;this[_0x21a1fb][_0x55fce4(0x17c)](_0x5b96f9),this[_0x58a189]+=_0x5b96f9[_0x55fce4(0x1f1)];}function _0x124f78(_0xda053b){const _0x5ed667=_0x288e33;if(this[_0x58a189]+=_0xda053b[_0x5ed667(0x1f1)],this[_0x30d082][_0x5ed667(0x202)]<0x1||this[_0x58a189]<=this[_0x30d082][_0x5ed667(0x202)]){this[_0x21a1fb]['push'](_0xda053b);return;}this[_0x10e6fd]=new RangeError(_0x5ed667(0x239)),this[_0x10e6fd]['code']=_0x5ed667(0x273),this[_0x10e6fd][_0x59f36f]=0x3f1,this[_0x5ed667(0x19b)](_0x5ed667(0x294),_0x124f78),this[_0x5ed667(0x1ce)]();}function _0x54d088(_0x13fa84){const _0x4c123e=_0x288e33;if(this[_0x30d082][_0x4c123e(0x16a)]=null,this[_0x10e6fd]){this[_0x516b3f](this[_0x10e6fd]);return;}_0x13fa84[_0x59f36f]=0x3ef,this[_0x516b3f](_0x13fa84);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0xa527ae(0xee)](Object[_0xa527ae(0x25c)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0xa527ae(0x10b)})),Bt=at(Rt);var Ye;function ae(){const _0x499448=_0xa527ae;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x34bdb0}=wt,{hasBlob:_0x1eb679}=H(),_0x3b9b70=[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 _0x35457a(_0x185439){return _0x185439>=0x3e8&&_0x185439<=0x3f6&&_0x185439!==0x3ec&&_0x185439!==0x3ed&&_0x185439!==0x3ee||_0x185439>=0xbb8&&_0x185439<=0x1387;}function _0x1b0845(_0x241c7c){const _0x47a2d5=_0x1eaa,_0x4df67d=_0x241c7c[_0x47a2d5(0x1f1)];let _0x327140=0x0;for(;_0x327140<_0x4df67d;)if((_0x241c7c[_0x327140]&0x80)===0x0)_0x327140++;else{if((_0x241c7c[_0x327140]&0xe0)===0xc0){if(_0x327140+0x1===_0x4df67d||(_0x241c7c[_0x327140+0x1]&0xc0)!==0x80||(_0x241c7c[_0x327140]&0xfe)===0xc0)return!0x1;_0x327140+=0x2;}else{if((_0x241c7c[_0x327140]&0xf0)===0xe0){if(_0x327140+0x2>=_0x4df67d||(_0x241c7c[_0x327140+0x1]&0xc0)!==0x80||(_0x241c7c[_0x327140+0x2]&0xc0)!==0x80||_0x241c7c[_0x327140]===0xe0&&(_0x241c7c[_0x327140+0x1]&0xe0)===0x80||_0x241c7c[_0x327140]===0xed&&(_0x241c7c[_0x327140+0x1]&0xe0)===0xa0)return!0x1;_0x327140+=0x3;}else{if((_0x241c7c[_0x327140]&0xf8)===0xf0){if(_0x327140+0x3>=_0x4df67d||(_0x241c7c[_0x327140+0x1]&0xc0)!==0x80||(_0x241c7c[_0x327140+0x2]&0xc0)!==0x80||(_0x241c7c[_0x327140+0x3]&0xc0)!==0x80||_0x241c7c[_0x327140]===0xf0&&(_0x241c7c[_0x327140+0x1]&0xf0)===0x80||_0x241c7c[_0x327140]===0xf4&&_0x241c7c[_0x327140+0x1]>0x8f||_0x241c7c[_0x327140]>0xf4)return!0x1;_0x327140+=0x4;}else return!0x1;}}}return!0x0;}function _0x4fe547(_0x2291ae){const _0x3d0b98=_0x1eaa;return _0x1eb679&&typeof _0x2291ae==_0x3d0b98(0x188)&&typeof _0x2291ae[_0x3d0b98(0x295)]==_0x3d0b98(0x142)&&typeof _0x2291ae[_0x3d0b98(0x1fb)]==_0x3d0b98(0x20f)&&typeof _0x2291ae[_0x3d0b98(0x203)]==_0x3d0b98(0x142)&&(_0x2291ae[Symbol[_0x3d0b98(0x194)]]===_0x3d0b98(0x2a5)||_0x2291ae[Symbol[_0x3d0b98(0x194)]]===_0x3d0b98(0x19e));}if(ie[_0x499448(0x298)]={'isBlob':_0x4fe547,'isValidStatusCode':_0x35457a,'isValidUTF8':_0x1b0845,'tokenChars':_0x3b9b70},_0x34bdb0)ie[_0x499448(0x298)][_0x499448(0x27e)]=function(_0x5a0954){return _0x5a0954['length']<0x18?_0x1b0845(_0x5a0954):_0x34bdb0(_0x5a0954);};else{if(!process[_0x499448(0x207)][_0x499448(0x110)])try{const _0x20d507=Bt;ie['exports']['isValidUTF8']=function(_0x531223){return _0x531223['length']<0x20?_0x1b0845(_0x531223):_0x20d507(_0x531223);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x34203d=_0xa527ae;if(Ke)return Se;Ke=0x1;const {Writable:_0x493fe0}=oe,_0x1cefbc=he(),{BINARY_TYPES:_0x12586b,EMPTY_BUFFER:_0x1693fe,kStatusCode:_0x421607,kWebSocket:_0x5d6eed}=H(),{concat:_0x18ae0e,toArrayBuffer:_0x5a9c29,unmask:_0x2d3c04}=ce(),{isValidStatusCode:_0x2f9e83,isValidUTF8:_0x5e319a}=ae(),_0x570e19=Buffer[Symbol[_0x34203d(0xf5)]],_0x2654da=0x0,_0x1c868a=0x1,_0x26a0f2=0x2,_0x5c1cf5=0x3,_0x1d0836=0x4,_0x16e8c3=0x5,_0x225d64=0x6;class _0x5cda79 extends _0x493fe0{constructor(_0x416a9f={}){const _0x15b71d=_0x34203d;super(),this[_0x15b71d(0x17d)]=_0x416a9f[_0x15b71d(0x111)]!==void 0x0?_0x416a9f[_0x15b71d(0x111)]:!0x0,this[_0x15b71d(0x276)]=_0x416a9f[_0x15b71d(0x1ab)]||_0x12586b[0x0],this[_0x15b71d(0x15f)]=_0x416a9f['extensions']||{},this['_isServer']=!!_0x416a9f[_0x15b71d(0x123)],this['_maxPayload']=_0x416a9f['maxPayload']|0x0,this['_skipUTF8Validation']=!!_0x416a9f[_0x15b71d(0x26c)],this[_0x5d6eed]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this[_0x15b71d(0x1a3)]=!0x1,this[_0x15b71d(0x25d)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this[_0x15b71d(0x125)]=!0x1,this[_0x15b71d(0x1fa)]=!0x1,this[_0x15b71d(0x217)]=0x0,this[_0x15b71d(0x225)]=0x0,this[_0x15b71d(0x24b)]=0x0,this[_0x15b71d(0x116)]=[],this[_0x15b71d(0x128)]=!0x1,this[_0x15b71d(0x144)]=!0x1,this[_0x15b71d(0xfa)]=_0x2654da;}['_write'](_0x551939,_0x4a05d7,_0x171520){const _0x2e22a4=_0x34203d;if(this[_0x2e22a4(0x217)]===0x8&&this[_0x2e22a4(0xfa)]==_0x2654da)return _0x171520();this['_bufferedBytes']+=_0x551939[_0x2e22a4(0x1f1)],this[_0x2e22a4(0x22c)][_0x2e22a4(0x17c)](_0x551939),this[_0x2e22a4(0x171)](_0x171520);}[_0x34203d(0x289)](_0x3f2b37){const _0x233f7b=_0x34203d;if(this[_0x233f7b(0x113)]-=_0x3f2b37,_0x3f2b37===this[_0x233f7b(0x22c)][0x0]['length'])return this[_0x233f7b(0x22c)][_0x233f7b(0x17f)]();if(_0x3f2b37<this[_0x233f7b(0x22c)][0x0][_0x233f7b(0x1f1)]){const _0x456e56=this['_buffers'][0x0];return this[_0x233f7b(0x22c)][0x0]=new _0x570e19(_0x456e56[_0x233f7b(0x29f)],_0x456e56[_0x233f7b(0x208)]+_0x3f2b37,_0x456e56[_0x233f7b(0x1f1)]-_0x3f2b37),new _0x570e19(_0x456e56[_0x233f7b(0x29f)],_0x456e56['byteOffset'],_0x3f2b37);}const _0x5b1457=Buffer['allocUnsafe'](_0x3f2b37);do{const _0x15f541=this[_0x233f7b(0x22c)][0x0],_0x26c2ab=_0x5b1457[_0x233f7b(0x1f1)]-_0x3f2b37;_0x3f2b37>=_0x15f541['length']?_0x5b1457[_0x233f7b(0x107)](this['_buffers'][_0x233f7b(0x17f)](),_0x26c2ab):(_0x5b1457[_0x233f7b(0x107)](new Uint8Array(_0x15f541[_0x233f7b(0x29f)],_0x15f541[_0x233f7b(0x208)],_0x3f2b37),_0x26c2ab),this[_0x233f7b(0x22c)][0x0]=new _0x570e19(_0x15f541[_0x233f7b(0x29f)],_0x15f541['byteOffset']+_0x3f2b37,_0x15f541['length']-_0x3f2b37)),_0x3f2b37-=_0x15f541['length'];}while(_0x3f2b37>0x0);return _0x5b1457;}[_0x34203d(0x171)](_0x48f6f6){const _0x1a5095=_0x34203d;this[_0x1a5095(0x144)]=!0x0;do switch(this['_state']){case _0x2654da:this[_0x1a5095(0x2a8)](_0x48f6f6);break;case _0x1c868a:this['getPayloadLength16'](_0x48f6f6);break;case _0x26a0f2:this['getPayloadLength64'](_0x48f6f6);break;case _0x5c1cf5:this[_0x1a5095(0x2b4)]();break;case _0x1d0836:this[_0x1a5095(0xec)](_0x48f6f6);break;case _0x16e8c3:case _0x225d64:this[_0x1a5095(0x144)]=!0x1;return;}while(this[_0x1a5095(0x144)]);this[_0x1a5095(0x128)]||_0x48f6f6();}[_0x34203d(0x2a8)](_0x5b504b){const _0x265835=_0x34203d;if(this[_0x265835(0x113)]<0x2){this[_0x265835(0x144)]=!0x1;return;}const _0x1daa14=this[_0x265835(0x289)](0x2);if((_0x1daa14[0x0]&0x30)!==0x0){const _0x5b5da7=this[_0x265835(0x226)](RangeError,_0x265835(0x14c),!0x0,0x3ea,_0x265835(0x174));_0x5b504b(_0x5b5da7);return;}const _0x5efc83=(_0x1daa14[0x0]&0x40)===0x40;if(_0x5efc83&&!this[_0x265835(0x15f)][_0x1cefbc['extensionName']]){const _0x4018ff=this[_0x265835(0x226)](RangeError,_0x265835(0x100),!0x0,0x3ea,_0x265835(0x261));_0x5b504b(_0x4018ff);return;}if(this[_0x265835(0x1fa)]=(_0x1daa14[0x0]&0x80)===0x80,this[_0x265835(0x217)]=_0x1daa14[0x0]&0xf,this['_payloadLength']=_0x1daa14[0x1]&0x7f,this[_0x265835(0x217)]===0x0){if(_0x5efc83){const _0x493671=this[_0x265835(0x226)](RangeError,_0x265835(0x100),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x5b504b(_0x493671);return;}if(!this['_fragmented']){const _0x2eb849=this['createError'](RangeError,_0x265835(0x1bc),!0x0,0x3ea,_0x265835(0x1e0));_0x5b504b(_0x2eb849);return;}this['_opcode']=this[_0x265835(0x27f)];}else{if(this[_0x265835(0x217)]===0x1||this[_0x265835(0x217)]===0x2){if(this[_0x265835(0x27f)]){const _0x5d4f7f=this[_0x265835(0x226)](RangeError,_0x265835(0x10d)+this[_0x265835(0x217)],!0x0,0x3ea,_0x265835(0x1e0));_0x5b504b(_0x5d4f7f);return;}this[_0x265835(0x1a3)]=_0x5efc83;}else{if(this[_0x265835(0x217)]>0x7&&this[_0x265835(0x217)]<0xb){if(!this[_0x265835(0x1fa)]){const _0x309252=this[_0x265835(0x226)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x5b504b(_0x309252);return;}if(_0x5efc83){const _0x4311f4=this[_0x265835(0x226)](RangeError,_0x265835(0x100),!0x0,0x3ea,_0x265835(0x261));_0x5b504b(_0x4311f4);return;}if(this[_0x265835(0x25d)]>0x7d||this['_opcode']===0x8&&this[_0x265835(0x25d)]===0x1){const _0x2644e6=this['createError'](RangeError,_0x265835(0x29e)+this['_payloadLength'],!0x0,0x3ea,_0x265835(0x2ad));_0x5b504b(_0x2644e6);return;}}else{const _0x5e5d55=this[_0x265835(0x226)](RangeError,_0x265835(0x10d)+this[_0x265835(0x217)],!0x0,0x3ea,_0x265835(0x1e0));_0x5b504b(_0x5e5d55);return;}}}if(!this[_0x265835(0x1fa)]&&!this[_0x265835(0x27f)]&&(this[_0x265835(0x27f)]=this[_0x265835(0x217)]),this[_0x265835(0x125)]=(_0x1daa14[0x1]&0x80)===0x80,this[_0x265835(0x165)]){if(!this['_masked']){const _0x20b723=this[_0x265835(0x226)](RangeError,_0x265835(0x1e7),!0x0,0x3ea,_0x265835(0x118));_0x5b504b(_0x20b723);return;}}else{if(this[_0x265835(0x125)]){const _0x9a1cf9=this['createError'](RangeError,_0x265835(0xf7),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x5b504b(_0x9a1cf9);return;}}this['_payloadLength']===0x7e?this[_0x265835(0xfa)]=_0x1c868a:this['_payloadLength']===0x7f?this[_0x265835(0xfa)]=_0x26a0f2:this['haveLength'](_0x5b504b);}[_0x34203d(0x1f8)](_0x38c8ee){const _0x4d79b7=_0x34203d;if(this[_0x4d79b7(0x113)]<0x2){this['_loop']=!0x1;return;}this['_payloadLength']=this[_0x4d79b7(0x289)](0x2)[_0x4d79b7(0x1b3)](0x0),this[_0x4d79b7(0x1c8)](_0x38c8ee);}[_0x34203d(0x12e)](_0x1a68dc){const _0x13ae30=_0x34203d;if(this[_0x13ae30(0x113)]<0x8){this['_loop']=!0x1;return;}const _0x1bb453=this['consume'](0x8),_0x5a5839=_0x1bb453[_0x13ae30(0x179)](0x0);if(_0x5a5839>Math[_0x13ae30(0xfc)](0x2,0x15)-0x1){const _0x2461ee=this[_0x13ae30(0x226)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x13ae30(0x196));_0x1a68dc(_0x2461ee);return;}this[_0x13ae30(0x25d)]=_0x5a5839*Math['pow'](0x2,0x20)+_0x1bb453['readUInt32BE'](0x4),this[_0x13ae30(0x1c8)](_0x1a68dc);}[_0x34203d(0x1c8)](_0x5a19e9){const _0x5a1325=_0x34203d;if(this['_payloadLength']&&this['_opcode']<0x8&&(this[_0x5a1325(0x225)]+=this[_0x5a1325(0x25d)],this[_0x5a1325(0x225)]>this[_0x5a1325(0x202)]&&this[_0x5a1325(0x202)]>0x0)){const _0x584011=this['createError'](RangeError,_0x5a1325(0x239),!0x1,0x3f1,_0x5a1325(0x273));_0x5a19e9(_0x584011);return;}this[_0x5a1325(0x125)]?this[_0x5a1325(0xfa)]=_0x5c1cf5:this[_0x5a1325(0xfa)]=_0x1d0836;}[_0x34203d(0x2b4)](){const _0x19e1a9=_0x34203d;if(this[_0x19e1a9(0x113)]<0x4){this['_loop']=!0x1;return;}this['_mask']=this[_0x19e1a9(0x289)](0x4),this[_0x19e1a9(0xfa)]=_0x1d0836;}[_0x34203d(0xec)](_0x2b0739){const _0xf6cab1=_0x34203d;let _0x465d1c=_0x1693fe;if(this[_0xf6cab1(0x25d)]){if(this[_0xf6cab1(0x113)]<this['_payloadLength']){this[_0xf6cab1(0x144)]=!0x1;return;}_0x465d1c=this[_0xf6cab1(0x289)](this[_0xf6cab1(0x25d)]),this['_masked']&&(this['_mask'][0x0]|this[_0xf6cab1(0xfd)][0x1]|this[_0xf6cab1(0xfd)][0x2]|this[_0xf6cab1(0xfd)][0x3])!==0x0&&_0x2d3c04(_0x465d1c,this[_0xf6cab1(0xfd)]);}if(this[_0xf6cab1(0x217)]>0x7){this[_0xf6cab1(0x2a1)](_0x465d1c,_0x2b0739);return;}if(this[_0xf6cab1(0x1a3)]){this[_0xf6cab1(0xfa)]=_0x16e8c3,this[_0xf6cab1(0x25f)](_0x465d1c,_0x2b0739);return;}_0x465d1c['length']&&(this['_messageLength']=this[_0xf6cab1(0x225)],this[_0xf6cab1(0x116)][_0xf6cab1(0x17c)](_0x465d1c)),this[_0xf6cab1(0x136)](_0x2b0739);}['decompress'](_0x206037,_0xa7326b){const _0x7817de=_0x34203d;this['_extensions'][_0x1cefbc['extensionName']][_0x7817de(0x25f)](_0x206037,this[_0x7817de(0x1fa)],(_0x5c9ca9,_0x1b07b5)=>{const _0x34557c=_0x7817de;if(_0x5c9ca9)return _0xa7326b(_0x5c9ca9);if(_0x1b07b5['length']){if(this['_messageLength']+=_0x1b07b5['length'],this[_0x34557c(0x24b)]>this[_0x34557c(0x202)]&&this[_0x34557c(0x202)]>0x0){const _0xb0110=this[_0x34557c(0x226)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x34557c(0x273));_0xa7326b(_0xb0110);return;}this[_0x34557c(0x116)][_0x34557c(0x17c)](_0x1b07b5);}this[_0x34557c(0x136)](_0xa7326b),this['_state']===_0x2654da&&this[_0x34557c(0x171)](_0xa7326b);});}[_0x34203d(0x136)](_0x315e58){const _0x377f2f=_0x34203d;if(!this[_0x377f2f(0x1fa)]){this[_0x377f2f(0xfa)]=_0x2654da;return;}const _0x5b0064=this[_0x377f2f(0x24b)],_0xdd6be2=this[_0x377f2f(0x116)];if(this[_0x377f2f(0x225)]=0x0,this['_messageLength']=0x0,this['_fragmented']=0x0,this[_0x377f2f(0x116)]=[],this[_0x377f2f(0x217)]===0x2){let _0x59f199;this[_0x377f2f(0x276)]===_0x377f2f(0x181)?_0x59f199=_0x18ae0e(_0xdd6be2,_0x5b0064):this[_0x377f2f(0x276)]===_0x377f2f(0x21a)?_0x59f199=_0x5a9c29(_0x18ae0e(_0xdd6be2,_0x5b0064)):this[_0x377f2f(0x276)]===_0x377f2f(0xf3)?_0x59f199=new Blob(_0xdd6be2):_0x59f199=_0xdd6be2,this[_0x377f2f(0x17d)]?(this[_0x377f2f(0x287)]('message',_0x59f199,!0x0),this[_0x377f2f(0xfa)]=_0x2654da):(this[_0x377f2f(0xfa)]=_0x225d64,setImmediate(()=>{const _0x429940=_0x377f2f;this[_0x429940(0x287)](_0x429940(0xfe),_0x59f199,!0x0),this[_0x429940(0xfa)]=_0x2654da,this['startLoop'](_0x315e58);}));}else{const _0x3fb0ac=_0x18ae0e(_0xdd6be2,_0x5b0064);if(!this[_0x377f2f(0x1eb)]&&!_0x5e319a(_0x3fb0ac)){const _0x3edd3d=this[_0x377f2f(0x226)](Error,_0x377f2f(0x285),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x315e58(_0x3edd3d);return;}this[_0x377f2f(0xfa)]===_0x16e8c3||this[_0x377f2f(0x17d)]?(this['emit']('message',_0x3fb0ac,!0x1),this[_0x377f2f(0xfa)]=_0x2654da):(this[_0x377f2f(0xfa)]=_0x225d64,setImmediate(()=>{const _0x5246e6=_0x377f2f;this['emit']('message',_0x3fb0ac,!0x1),this[_0x5246e6(0xfa)]=_0x2654da,this[_0x5246e6(0x171)](_0x315e58);}));}}[_0x34203d(0x2a1)](_0x491649,_0x463b20){const _0x387322=_0x34203d;if(this['_opcode']===0x8){if(_0x491649[_0x387322(0x1f1)]===0x0)this[_0x387322(0x144)]=!0x1,this[_0x387322(0x287)](_0x387322(0x131),0x3ed,_0x1693fe),this[_0x387322(0x26a)]();else{const _0x472154=_0x491649[_0x387322(0x1b3)](0x0);if(!_0x2f9e83(_0x472154)){const _0x3efeb4=this[_0x387322(0x226)](RangeError,_0x387322(0x15c)+_0x472154,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x463b20(_0x3efeb4);return;}const _0x4f0de6=new _0x570e19(_0x491649[_0x387322(0x29f)],_0x491649['byteOffset']+0x2,_0x491649[_0x387322(0x1f1)]-0x2);if(!this[_0x387322(0x1eb)]&&!_0x5e319a(_0x4f0de6)){const _0x3b4fd4=this[_0x387322(0x226)](Error,_0x387322(0x285),!0x0,0x3ef,_0x387322(0xf2));_0x463b20(_0x3b4fd4);return;}this[_0x387322(0x144)]=!0x1,this[_0x387322(0x287)](_0x387322(0x131),_0x472154,_0x4f0de6),this[_0x387322(0x26a)]();}this[_0x387322(0xfa)]=_0x2654da;return;}this['_allowSynchronousEvents']?(this[_0x387322(0x287)](this['_opcode']===0x9?_0x387322(0x291):'pong',_0x491649),this[_0x387322(0xfa)]=_0x2654da):(this[_0x387322(0xfa)]=_0x225d64,setImmediate(()=>{const _0x241e62=_0x387322;this[_0x241e62(0x287)](this['_opcode']===0x9?'ping':'pong',_0x491649),this[_0x241e62(0xfa)]=_0x2654da,this['startLoop'](_0x463b20);}));}[_0x34203d(0x226)](_0xc003a2,_0x6b697b,_0x14a1a2,_0x4e46d9,_0x1292d4){const _0x565adc=_0x34203d;this[_0x565adc(0x144)]=!0x1,this[_0x565adc(0x128)]=!0x0;const _0x44de20=new _0xc003a2(_0x14a1a2?'Invalid\x20WebSocket\x20frame:\x20'+_0x6b697b:_0x6b697b);return Error[_0x565adc(0x158)](_0x44de20,this[_0x565adc(0x226)]),_0x44de20[_0x565adc(0x137)]=_0x1292d4,_0x44de20[_0x421607]=_0x4e46d9,_0x44de20;}}return Se=_0x5cda79,Se;}var Ee,Xe;function ft(){const _0x28bab2=_0xa527ae;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x5e782a}=oe,{randomFillSync:_0x59e413}=Le,_0x1f37ca=he(),{EMPTY_BUFFER:_0x124bc6,kWebSocket:_0xb0fb9e,NOOP:_0x37bdb7}=H(),{isBlob:_0x1a46e8,isValidStatusCode:_0x188253}=ae(),{mask:_0x510fd3,toBuffer:_0x55644d}=ce(),_0x295a84=Symbol('kByteLength'),_0x1b64e0=Buffer['alloc'](0x4),_0x24bf3b=0x8*0x400;let _0x469b35,_0x51ee32=_0x24bf3b;const _0x49a82f=0x0,_0x2d29ad=0x1,_0x2fe306=0x2;class _0x5eb227{constructor(_0x276837,_0x2a9efb,_0x27cb0c){const _0x35eb40=_0x1eaa;this['_extensions']=_0x2a9efb||{},_0x27cb0c&&(this['_generateMask']=_0x27cb0c,this[_0x35eb40(0xf4)]=Buffer[_0x35eb40(0x19a)](0x4)),this[_0x35eb40(0x267)]=_0x276837,this[_0x35eb40(0x204)]=!0x0,this[_0x35eb40(0x1bd)]=!0x1,this[_0x35eb40(0x113)]=0x0,this['_queue']=[],this[_0x35eb40(0xfa)]=_0x49a82f,this['onerror']=_0x37bdb7,this[_0xb0fb9e]=void 0x0;}static[_0x28bab2(0x197)](_0x4e6576,_0x88460d){const _0x518291=_0x28bab2;let _0x256480,_0x4a2e86=!0x1,_0x49c0cd=0x2,_0x31aa9a=!0x1;_0x88460d[_0x518291(0x192)]&&(_0x256480=_0x88460d['maskBuffer']||_0x1b64e0,_0x88460d[_0x518291(0x12b)]?_0x88460d[_0x518291(0x12b)](_0x256480):(_0x51ee32===_0x24bf3b&&(_0x469b35===void 0x0&&(_0x469b35=Buffer['alloc'](_0x24bf3b)),_0x59e413(_0x469b35,0x0,_0x24bf3b),_0x51ee32=0x0),_0x256480[0x0]=_0x469b35[_0x51ee32++],_0x256480[0x1]=_0x469b35[_0x51ee32++],_0x256480[0x2]=_0x469b35[_0x51ee32++],_0x256480[0x3]=_0x469b35[_0x51ee32++]),_0x31aa9a=(_0x256480[0x0]|_0x256480[0x1]|_0x256480[0x2]|_0x256480[0x3])===0x0,_0x49c0cd=0x6);let _0x5021c6;typeof _0x4e6576==_0x518291(0x20f)?(!_0x88460d['mask']||_0x31aa9a)&&_0x88460d[_0x295a84]!==void 0x0?_0x5021c6=_0x88460d[_0x295a84]:(_0x4e6576=Buffer[_0x518291(0x1c3)](_0x4e6576),_0x5021c6=_0x4e6576[_0x518291(0x1f1)]):(_0x5021c6=_0x4e6576[_0x518291(0x1f1)],_0x4a2e86=_0x88460d[_0x518291(0x192)]&&_0x88460d[_0x518291(0x122)]&&!_0x31aa9a);let _0x2d2017=_0x5021c6;_0x5021c6>=0x10000?(_0x49c0cd+=0x8,_0x2d2017=0x7f):_0x5021c6>0x7d&&(_0x49c0cd+=0x2,_0x2d2017=0x7e);const _0x30cfa8=Buffer[_0x518291(0x160)](_0x4a2e86?_0x5021c6+_0x49c0cd:_0x49c0cd);return _0x30cfa8[0x0]=_0x88460d['fin']?_0x88460d[_0x518291(0x2ae)]|0x80:_0x88460d[_0x518291(0x2ae)],_0x88460d[_0x518291(0x257)]&&(_0x30cfa8[0x0]|=0x40),_0x30cfa8[0x1]=_0x2d2017,_0x2d2017===0x7e?_0x30cfa8[_0x518291(0x216)](_0x5021c6,0x2):_0x2d2017===0x7f&&(_0x30cfa8[0x2]=_0x30cfa8[0x3]=0x0,_0x30cfa8['writeUIntBE'](_0x5021c6,0x4,0x6)),_0x88460d[_0x518291(0x192)]?(_0x30cfa8[0x1]|=0x80,_0x30cfa8[_0x49c0cd-0x4]=_0x256480[0x0],_0x30cfa8[_0x49c0cd-0x3]=_0x256480[0x1],_0x30cfa8[_0x49c0cd-0x2]=_0x256480[0x2],_0x30cfa8[_0x49c0cd-0x1]=_0x256480[0x3],_0x31aa9a?[_0x30cfa8,_0x4e6576]:_0x4a2e86?(_0x510fd3(_0x4e6576,_0x256480,_0x30cfa8,_0x49c0cd,_0x5021c6),[_0x30cfa8]):(_0x510fd3(_0x4e6576,_0x256480,_0x4e6576,0x0,_0x5021c6),[_0x30cfa8,_0x4e6576])):[_0x30cfa8,_0x4e6576];}[_0x28bab2(0x166)](_0x50ce95,_0x118299,_0x389329,_0x77ca2c){const _0x4e8951=_0x28bab2;let _0x122418;if(_0x50ce95===void 0x0)_0x122418=_0x124bc6;else{if(typeof _0x50ce95!=_0x4e8951(0x135)||!_0x188253(_0x50ce95))throw new TypeError(_0x4e8951(0x18c));if(_0x118299===void 0x0||!_0x118299[_0x4e8951(0x1f1)])_0x122418=Buffer[_0x4e8951(0x160)](0x2),_0x122418[_0x4e8951(0x216)](_0x50ce95,0x0);else{const _0x3229bf=Buffer['byteLength'](_0x118299);if(_0x3229bf>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x122418=Buffer[_0x4e8951(0x160)](0x2+_0x3229bf),_0x122418[_0x4e8951(0x216)](_0x50ce95,0x0),typeof _0x118299==_0x4e8951(0x20f)?_0x122418['write'](_0x118299,0x2):_0x122418[_0x4e8951(0x107)](_0x118299,0x2);}}const _0x499d1a={[_0x295a84]:_0x122418['length'],'fin':!0x0,'generateMask':this[_0x4e8951(0x21e)],'mask':_0x389329,'maskBuffer':this[_0x4e8951(0xf4)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x4e8951(0xfa)]!==_0x49a82f?this[_0x4e8951(0x1ec)]([this[_0x4e8951(0x145)],_0x122418,!0x1,_0x499d1a,_0x77ca2c]):this[_0x4e8951(0x1e9)](_0x5eb227[_0x4e8951(0x197)](_0x122418,_0x499d1a),_0x77ca2c);}['ping'](_0x258bbd,_0x306b98,_0x27e15e){const _0x2199b1=_0x28bab2;let _0x5dd862,_0x55a4ef;if(typeof _0x258bbd==_0x2199b1(0x20f)?(_0x5dd862=Buffer['byteLength'](_0x258bbd),_0x55a4ef=!0x1):_0x1a46e8(_0x258bbd)?(_0x5dd862=_0x258bbd[_0x2199b1(0x24c)],_0x55a4ef=!0x1):(_0x258bbd=_0x55644d(_0x258bbd),_0x5dd862=_0x258bbd[_0x2199b1(0x1f1)],_0x55a4ef=_0x55644d[_0x2199b1(0x122)]),_0x5dd862>0x7d)throw new RangeError(_0x2199b1(0x15d));const _0x5d501b={[_0x295a84]:_0x5dd862,'fin':!0x0,'generateMask':this[_0x2199b1(0x21e)],'mask':_0x306b98,'maskBuffer':this[_0x2199b1(0xf4)],'opcode':0x9,'readOnly':_0x55a4ef,'rsv1':!0x1};_0x1a46e8(_0x258bbd)?this[_0x2199b1(0xfa)]!==_0x49a82f?this[_0x2199b1(0x1ec)]([this[_0x2199b1(0x250)],_0x258bbd,!0x1,_0x5d501b,_0x27e15e]):this[_0x2199b1(0x250)](_0x258bbd,!0x1,_0x5d501b,_0x27e15e):this['_state']!==_0x49a82f?this['enqueue']([this[_0x2199b1(0x145)],_0x258bbd,!0x1,_0x5d501b,_0x27e15e]):this[_0x2199b1(0x1e9)](_0x5eb227['frame'](_0x258bbd,_0x5d501b),_0x27e15e);}[_0x28bab2(0x26e)](_0x2f597b,_0x40b7b4,_0x56ed91){const _0x208b5d=_0x28bab2;let _0x2aaadd,_0x1af46c;if(typeof _0x2f597b==_0x208b5d(0x20f)?(_0x2aaadd=Buffer[_0x208b5d(0x1fc)](_0x2f597b),_0x1af46c=!0x1):_0x1a46e8(_0x2f597b)?(_0x2aaadd=_0x2f597b['size'],_0x1af46c=!0x1):(_0x2f597b=_0x55644d(_0x2f597b),_0x2aaadd=_0x2f597b[_0x208b5d(0x1f1)],_0x1af46c=_0x55644d[_0x208b5d(0x122)]),_0x2aaadd>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x28ee64={[_0x295a84]:_0x2aaadd,'fin':!0x0,'generateMask':this[_0x208b5d(0x21e)],'mask':_0x40b7b4,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x1af46c,'rsv1':!0x1};_0x1a46e8(_0x2f597b)?this[_0x208b5d(0xfa)]!==_0x49a82f?this['enqueue']([this[_0x208b5d(0x250)],_0x2f597b,!0x1,_0x28ee64,_0x56ed91]):this[_0x208b5d(0x250)](_0x2f597b,!0x1,_0x28ee64,_0x56ed91):this['_state']!==_0x49a82f?this['enqueue']([this[_0x208b5d(0x145)],_0x2f597b,!0x1,_0x28ee64,_0x56ed91]):this[_0x208b5d(0x1e9)](_0x5eb227['frame'](_0x2f597b,_0x28ee64),_0x56ed91);}[_0x28bab2(0x23e)](_0x55633d,_0x36e177,_0x4834c6){const _0x45a06a=_0x28bab2,_0x580589=this[_0x45a06a(0x15f)][_0x1f37ca[_0x45a06a(0x1de)]];let _0x4ea928=_0x36e177[_0x45a06a(0x14a)]?0x2:0x1,_0x1552da=_0x36e177[_0x45a06a(0x163)],_0x1c6675,_0x1e2b9d;typeof _0x55633d==_0x45a06a(0x20f)?(_0x1c6675=Buffer['byteLength'](_0x55633d),_0x1e2b9d=!0x1):_0x1a46e8(_0x55633d)?(_0x1c6675=_0x55633d['size'],_0x1e2b9d=!0x1):(_0x55633d=_0x55644d(_0x55633d),_0x1c6675=_0x55633d['length'],_0x1e2b9d=_0x55644d[_0x45a06a(0x122)]),this[_0x45a06a(0x204)]?(this[_0x45a06a(0x204)]=!0x1,_0x1552da&&_0x580589&&_0x580589[_0x45a06a(0x11a)][_0x580589['_isServer']?'server_no_context_takeover':'client_no_context_takeover']&&(_0x1552da=_0x1c6675>=_0x580589[_0x45a06a(0x1bf)]),this[_0x45a06a(0x1bd)]=_0x1552da):(_0x1552da=!0x1,_0x4ea928=0x0),_0x36e177[_0x45a06a(0x18b)]&&(this['_firstFragment']=!0x0);const _0x49801e={[_0x295a84]:_0x1c6675,'fin':_0x36e177[_0x45a06a(0x18b)],'generateMask':this[_0x45a06a(0x21e)],'mask':_0x36e177[_0x45a06a(0x192)],'maskBuffer':this[_0x45a06a(0xf4)],'opcode':_0x4ea928,'readOnly':_0x1e2b9d,'rsv1':_0x1552da};_0x1a46e8(_0x55633d)?this[_0x45a06a(0xfa)]!==_0x49a82f?this[_0x45a06a(0x1ec)]([this[_0x45a06a(0x250)],_0x55633d,this['_compress'],_0x49801e,_0x4834c6]):this[_0x45a06a(0x250)](_0x55633d,this['_compress'],_0x49801e,_0x4834c6):this[_0x45a06a(0xfa)]!==_0x49a82f?this[_0x45a06a(0x1ec)]([this[_0x45a06a(0x145)],_0x55633d,this[_0x45a06a(0x1bd)],_0x49801e,_0x4834c6]):this[_0x45a06a(0x145)](_0x55633d,this['_compress'],_0x49801e,_0x4834c6);}[_0x28bab2(0x250)](_0x4ef7c8,_0x44732b,_0x560152,_0x2b3fbc){const _0x8f4f77=_0x28bab2;this[_0x8f4f77(0x113)]+=_0x560152[_0x295a84],this['_state']=_0x2fe306,_0x4ef7c8['arrayBuffer']()['then'](_0x328e0=>{const _0x11792a=_0x8f4f77;if(this[_0x11792a(0x267)][_0x11792a(0x126)]){const _0x1cf4aa=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x11792a(0x102)](_0xbb6b85,this,_0x1cf4aa,_0x2b3fbc);return;}this[_0x11792a(0x113)]-=_0x560152[_0x295a84];const _0x4efaf5=_0x55644d(_0x328e0);_0x44732b?this[_0x11792a(0x145)](_0x4efaf5,_0x44732b,_0x560152,_0x2b3fbc):(this['_state']=_0x49a82f,this[_0x11792a(0x1e9)](_0x5eb227['frame'](_0x4efaf5,_0x560152),_0x2b3fbc),this[_0x11792a(0x271)]());})[_0x8f4f77(0x132)](_0x2dc41b=>{const _0xcbcdfa=_0x8f4f77;process[_0xcbcdfa(0x102)](_0x1c7e26,this,_0x2dc41b,_0x2b3fbc);});}['dispatch'](_0xf23204,_0x165e77,_0x1f0b9f,_0x192ab3){const _0x49e796=_0x28bab2;if(!_0x165e77){this[_0x49e796(0x1e9)](_0x5eb227[_0x49e796(0x197)](_0xf23204,_0x1f0b9f),_0x192ab3);return;}const _0x527009=this['_extensions'][_0x1f37ca[_0x49e796(0x1de)]];this['_bufferedBytes']+=_0x1f0b9f[_0x295a84],this[_0x49e796(0xfa)]=_0x2d29ad,_0x527009['compress'](_0xf23204,_0x1f0b9f[_0x49e796(0x18b)],(_0x4f41d0,_0x510f78)=>{const _0x1ca949=_0x49e796;if(this[_0x1ca949(0x267)]['destroyed']){const _0xafbd9c=new Error(_0x1ca949(0x248));_0xbb6b85(this,_0xafbd9c,_0x192ab3);return;}this[_0x1ca949(0x113)]-=_0x1f0b9f[_0x295a84],this['_state']=_0x49a82f,_0x1f0b9f[_0x1ca949(0x122)]=!0x1,this[_0x1ca949(0x1e9)](_0x5eb227[_0x1ca949(0x197)](_0x510f78,_0x1f0b9f),_0x192ab3),this[_0x1ca949(0x271)]();});}[_0x28bab2(0x271)](){const _0x2e0e17=_0x28bab2;for(;this[_0x2e0e17(0xfa)]===_0x49a82f&&this['_queue'][_0x2e0e17(0x1f1)];){const _0x325da8=this[_0x2e0e17(0x186)][_0x2e0e17(0x17f)]();this[_0x2e0e17(0x113)]-=_0x325da8[0x3][_0x295a84],Reflect[_0x2e0e17(0x133)](_0x325da8[0x0],this,_0x325da8[_0x2e0e17(0x120)](0x1));}}['enqueue'](_0x36ac0f){const _0x4ebeba=_0x28bab2;this['_bufferedBytes']+=_0x36ac0f[0x3][_0x295a84],this[_0x4ebeba(0x186)][_0x4ebeba(0x17c)](_0x36ac0f);}['sendFrame'](_0x525a98,_0x51723e){const _0x4975ef=_0x28bab2;_0x525a98[_0x4975ef(0x1f1)]===0x2?(this[_0x4975ef(0x267)][_0x4975ef(0x1cd)](),this['_socket'][_0x4975ef(0x18d)](_0x525a98[0x0]),this[_0x4975ef(0x267)][_0x4975ef(0x18d)](_0x525a98[0x1],_0x51723e),this[_0x4975ef(0x267)]['uncork']()):this[_0x4975ef(0x267)]['write'](_0x525a98[0x0],_0x51723e);}}Ee=_0x5eb227;function _0xbb6b85(_0x492a94,_0xbff9a9,_0x51173b){const _0x37287d=_0x28bab2;typeof _0x51173b==_0x37287d(0x142)&&_0x51173b(_0xbff9a9);for(let _0x351dc2=0x0;_0x351dc2<_0x492a94[_0x37287d(0x186)][_0x37287d(0x1f1)];_0x351dc2++){const _0x5e215b=_0x492a94[_0x37287d(0x186)][_0x351dc2],_0x1b6491=_0x5e215b[_0x5e215b[_0x37287d(0x1f1)]-0x1];typeof _0x1b6491==_0x37287d(0x142)&&_0x1b6491(_0xbff9a9);}}function _0x1c7e26(_0x2bc1b1,_0x5e2f27,_0x1a75bf){_0xbb6b85(_0x2bc1b1,_0x5e2f27,_0x1a75bf),_0x2bc1b1['onerror'](_0x5e2f27);}return Ee;}var xe,Ze;function _0x777b(){const _0x1acb9d=['258EAFA5-E914-47DA-95CA-C5AB0DC85B11','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','kReason','18ryJRml','buffers','extensions','string','IConfigService','concurrency','sec-websocket-protocol','sec-websocket-version','warn','replace','writeUInt16BE','_opcode','46595ieQteq','emitClose','arraybuffer','The\x20\x22','pluginName','WS_NO_BUFFER_UTIL','_generateMask','test','Z_DEFAULT_WINDOWBITS','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','objectMode','path','isArray','_totalPayloadLength','createError','Invalid\x20HTTP\x20method','The\x20server\x20is\x20not\x20running','hostname','Server\x20sent\x20no\x20subprotocol','kAborted','_buffers','serverNoContextTakeover','hasOwnProperty','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','toString','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_final','_options','CLOSING','onclose','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','encrypted','concurrencyLimit','Max\x20payload\x20size\x20exceeded','value','createDeflateRaw','onopen','handleUpgrade','send','finished','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','setHeader','pause','finishRequest','text/plain','sec-websocket-extensions','getConfig','Inject','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','Parameter\x20\x22','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_messageLength','size','Invalid\x20value\x20for\x20parameter\x20\x22','acceptAsServer','setTimeout','getBlobData','kData','wasClean','The\x20URL\x27s\x20pathname\x20is\x20empty','digest','verifyClient','ISnapshotServerService','rsv1','listenerCount','DependentOn','followRedirects','target','defineProperty','_payloadLength','_httpService','decompress','call','WS_ERR_UNEXPECTED_RSV_1','listen','isPaused','socketPath','\x22:\x20','kWasClean','_socket','create','WebSocket\x20is\x20not\x20open:\x20readyState\x20','end','_destroy','skipUTF8Validation','_read','pong','https:','once','dequeue','client','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_redirects','_injector','_binaryType','\x22\x20subprotocol\x20is\x20duplicated','has','response','The\x20URL\x20contains\x20a\x20fragment\x20identifier','address','zlibDeflateOptions','Sec-WebSocket-Accept:\x20','isValidUTF8','_fragmented','websocket','prototype','cleanup','_registerDependencies','delete','invalid\x20UTF-8\x20sequence','fragments','emit','writeHead','consume','join','headers','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','registerDependencies','handleProtocols','_decompress','request','ping','_writableState','collaboration-client-node.config','data','arrayBuffer','Sec-WebSocket-Protocol','drain','exports','kType','cookie','_url','_removeListeners','COLLABORATION_CLIENT_NODE_CONFIG_KEY','invalid\x20payload\x20length\x20','buffer','kDone','controlMessage','STATUS_CODES','_closeFrameReceived','port','Blob','isIP','server_max_window_bits','getInfo','_closeMessage','dispose','finish','host','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','opcode','kError','_closeTimer','_write','ISocketService','Unsupported\x20protocol\x20version:\x20','getMask','ws+unix:','wss:','share','update','Injector','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','origin','servername','statusCode','getData','sec-websocket-accept','freeze','concat','clientTracking','entries','WS_ERR_INVALID_UTF8','blob','_maskBuffer','species','_deflate','MASK\x20must\x20be\x20clear','onmessage','reason','_state','writable','pow','_mask','message','bind','RSV1\x20must\x20be\x20clear','_receiver','nextTick','startsWith','client_max_window_bits','_doCreateSocket','setConfig','set','removeAllListeners','Unexpected\x20end\x20of\x20input','server_no_context_takeover','Module','protocol','invalid\x20opcode\x20','handleEvent','endEmitted','WS_NO_UTF_8_VALIDATE','allowSynchronousEvents','error','_bufferedBytes','removeEventListener','_shouldEmitClose','_fragments','socket','WS_ERR_EXPECTED_MASK','open','params','addEventListener','\x22\x20must\x20have\x20only\x20a\x20single\x20value','kMessage','construct','authorization','slice','wsClientError','readOnly','isServer','terminate','_masked','destroyed','_no_context_takeover','_errored','perMessageDeflate','maxRedirects','generateMask','_req','Sec-WebSocket-Origin','getPayloadLength64','http:','661829nzujzu','conclude','catch','apply','auth','number','dataMessage','code','_configService','zlibInflateOptions','_errorEmitted','offer','redirect','indexOf','UniverCollaborationClientNodePlugin','keys','customHeaders','default','function','_readableState','_loop','dispatch','onerror','options','ILogService','acceptAsClient','binary','flush','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','Invalid\x20Sec-WebSocket-Extensions\x20header','password','Invalid\x20URL:\x20','Upgrade','createConnection','timeout','status-code','setNoDelay','_protocol','shouldHandle','accept','captureStackTrace','connect','parse','listeners','invalid\x20status\x20code\x20','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','base64','_extensions','allocUnsafe','Disposable','_bufferedAmount','compress','authorized','_isServer','close','Unexpected\x20server\x20response:\x20','errorEmitted','OPEN','_inflate','location','isInteger','unshift','Basic\x20','kTarget','completeUpgrade','startLoop','clientNoContextTakeover','find','WS_ERR_UNEXPECTED_RSV_2_3','Invalid\x20Upgrade\x20header','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','permessage-deflate','CLOSED','readUInt32BE','16mzOUYx','_readyState','push','_allowSynchronousEvents','Cookie','shift','_closeFrameSent','nodebuffer','clientMaxWindowBits','Sec-WebSocket-Extensions','\x20(supported\x20versions:\x20','maxPayload','_queue','abort','object','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','method','fin','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','write','bufferedAmount','HTTPService','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','total-length','mask','upgrade','toStringTag','includes','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','frame','format','WebSocket','alloc','removeListener','kListener','search','File','kRun','pipe','pending','map','_compressed','803541fgOyEz','_originalSecure','_originalIpc','jobs','clients','onStarting','kCode','binaryType','defaultPort','342CEWebz','Invalid\x20Sec-WebSocket-Protocol\x20header','_server','2336712GaDmTM','sha1','_sender','readUInt16BE','Upgrade:\x20websocket','_originalHostOrSocketPath','ws:','13,\x208','HTTP/1.1\x20','forEach','NodeCollaborationSocketService','10236370opqTaw','invalid\x20opcode\x200','_compress','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_threshold','listening','1002172tTOQSk','hash','from','text/html','DisposableCollection','get','resume','haveLength','Invalid\x20Sec-WebSocket-Accept\x20header','destroy','threshold','getOwnPropertyDescriptor','cork','reset','Unexpected\x20character\x20at\x20index\x20','GET','CONNECTING','Observable','550326NQnDoU','_paused','add','_closeCode','server','Connection:\x20Upgrade','Sec-WebSocket-Extensions:\x20','__esModule','client_no_context_takeover','charCodeAt','protocolVersion','extensionName','_autoPong','WS_ERR_INVALID_OPCODE','backlog','CollaborationSocketService','Unknown\x20parameter\x20\x22','autoPong','username','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','MASK\x20must\x20be\x20set','next','sendFrame','Plugin','_skipUTF8Validation','enqueue','Origin','normalizeParams','noServer','Z_SYNC_FLUSH','length','createSocket','setSocket','The\x20URL\x27s\x20protocol\x20must\x20be\x20one\x20of\x20\x22ws:\x22,\x20\x22wss:\x22,\x20\x22http:\x22,\x20\x22https:\x22,\x20or\x20\x22ws+unix:\x22','createServer','unmask','pathname','getPayloadLength16','values','_fin','type','byteLength','href','UniverCollaborationClientPlugin','readyState','sec-websocket-origin','_max_window_bits','_maxPayload','stream','_firstFragment','url','serverMaxWindowBits','env','byteOffset'];_0x777b=function(){return _0x1acb9d;};return _0x777b();}function It(){const _0x291ab9=_0xa527ae;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x416d20,kListener:_0x7bd2c4}=H(),_0x2e5dd8=Symbol(_0x291ab9(0x1aa)),_0x68855=Symbol(_0x291ab9(0x251)),_0x2f89a6=Symbol(_0x291ab9(0x2af)),_0xdb580f=Symbol(_0x291ab9(0x11d)),_0x9f7e4f=Symbol(_0x291ab9(0x20b)),_0x518acf=Symbol(_0x291ab9(0x16f)),_0xd1d26=Symbol(_0x291ab9(0x299)),_0x30e9a5=Symbol(_0x291ab9(0x266));class _0x3f4dbb{constructor(_0x14bc62){this[_0x518acf]=null,this[_0xd1d26]=_0x14bc62;}get[_0x291ab9(0x25b)](){return this[_0x518acf];}get[_0x291ab9(0x1fb)](){return this[_0xd1d26];}}Object[_0x291ab9(0x25c)](_0x3f4dbb[_0x291ab9(0x281)],_0x291ab9(0x25b),{'enumerable':!0x0}),Object[_0x291ab9(0x25c)](_0x3f4dbb['prototype'],_0x291ab9(0x1fb),{'enumerable':!0x0});class _0x5a8adf extends _0x3f4dbb{constructor(_0x5a9d95,_0x3a087e={}){const _0x2fa375=_0x291ab9;super(_0x5a9d95),this[_0x2e5dd8]=_0x3a087e[_0x2fa375(0x137)]===void 0x0?0x0:_0x3a087e[_0x2fa375(0x137)],this[_0x9f7e4f]=_0x3a087e['reason']===void 0x0?'':_0x3a087e[_0x2fa375(0xf9)],this[_0x30e9a5]=_0x3a087e[_0x2fa375(0x252)]===void 0x0?!0x1:_0x3a087e[_0x2fa375(0x252)];}get[_0x291ab9(0x137)](){return this[_0x2e5dd8];}get['reason'](){return this[_0x9f7e4f];}get['wasClean'](){return this[_0x30e9a5];}}Object[_0x291ab9(0x25c)](_0x5a8adf[_0x291ab9(0x281)],_0x291ab9(0x137),{'enumerable':!0x0}),Object[_0x291ab9(0x25c)](_0x5a8adf[_0x291ab9(0x281)],_0x291ab9(0xf9),{'enumerable':!0x0}),Object[_0x291ab9(0x25c)](_0x5a8adf[_0x291ab9(0x281)],_0x291ab9(0x252),{'enumerable':!0x0});class _0x4f314d extends _0x3f4dbb{constructor(_0x4784a8,_0x547161={}){const _0x4dc0d9=_0x291ab9;super(_0x4784a8),this[_0x2f89a6]=_0x547161[_0x4dc0d9(0x112)]===void 0x0?null:_0x547161[_0x4dc0d9(0x112)],this[_0xdb580f]=_0x547161[_0x4dc0d9(0xfe)]===void 0x0?'':_0x547161['message'];}get[_0x291ab9(0x112)](){return this[_0x2f89a6];}get[_0x291ab9(0xfe)](){return this[_0xdb580f];}}Object['defineProperty'](_0x4f314d['prototype'],'error',{'enumerable':!0x0}),Object['defineProperty'](_0x4f314d[_0x291ab9(0x281)],_0x291ab9(0xfe),{'enumerable':!0x0});class _0x167847 extends _0x3f4dbb{constructor(_0x50fd60,_0x1a4167={}){const _0x27a30c=_0x291ab9;super(_0x50fd60),this[_0x68855]=_0x1a4167[_0x27a30c(0x294)]===void 0x0?null:_0x1a4167[_0x27a30c(0x294)];}get[_0x291ab9(0x294)](){return this[_0x68855];}}Object[_0x291ab9(0x25c)](_0x167847[_0x291ab9(0x281)],_0x291ab9(0x294),{'enumerable':!0x0}),xe={'CloseEvent':_0x5a8adf,'ErrorEvent':_0x4f314d,'Event':_0x3f4dbb,'EventTarget':{'addEventListener'(_0x21b5c4,_0x2b509a,_0x373b6b={}){const _0x268c97=_0x291ab9;for(const _0x56dbbd of this['listeners'](_0x21b5c4))if(!_0x373b6b[_0x416d20]&&_0x56dbbd[_0x7bd2c4]===_0x2b509a&&!_0x56dbbd[_0x416d20])return;let _0x491079;if(_0x21b5c4==='message')_0x491079=function(_0x97b4e4,_0x45241b){const _0x5aa302=_0x1eaa,_0x13dcf4=new _0x167847('message',{'data':_0x45241b?_0x97b4e4:_0x97b4e4[_0x5aa302(0x230)]()});_0x13dcf4[_0x518acf]=this,_0x3eb86c(_0x2b509a,this,_0x13dcf4);};else{if(_0x21b5c4==='close')_0x491079=function(_0x447017,_0x267624){const _0x395c47=_0x1eaa,_0x4b9d11=new _0x5a8adf(_0x395c47(0x166),{'code':_0x447017,'reason':_0x267624[_0x395c47(0x230)](),'wasClean':this['_closeFrameReceived']&&this[_0x395c47(0x180)]});_0x4b9d11[_0x518acf]=this,_0x3eb86c(_0x2b509a,this,_0x4b9d11);};else{if(_0x21b5c4===_0x268c97(0x112))_0x491079=function(_0xa56cd9){const _0x5a2989=_0x268c97,_0x3d615c=new _0x4f314d(_0x5a2989(0x112),{'error':_0xa56cd9,'message':_0xa56cd9[_0x5a2989(0xfe)]});_0x3d615c[_0x518acf]=this,_0x3eb86c(_0x2b509a,this,_0x3d615c);};else{if(_0x21b5c4==='open')_0x491079=function(){const _0x1c3392=new _0x3f4dbb('open');_0x1c3392[_0x518acf]=this,_0x3eb86c(_0x2b509a,this,_0x1c3392);};else return;}}}_0x491079[_0x416d20]=!!_0x373b6b[_0x416d20],_0x491079[_0x7bd2c4]=_0x2b509a,_0x373b6b[_0x268c97(0x270)]?this[_0x268c97(0x270)](_0x21b5c4,_0x491079):this['on'](_0x21b5c4,_0x491079);},'removeEventListener'(_0x5e92d9,_0x2aed1d){const _0x16c859=_0x291ab9;for(const _0x527e0c of this[_0x16c859(0x15b)](_0x5e92d9))if(_0x527e0c[_0x7bd2c4]===_0x2aed1d&&!_0x527e0c[_0x416d20]){this[_0x16c859(0x19b)](_0x5e92d9,_0x527e0c);break;}}},'MessageEvent':_0x167847};function _0x3eb86c(_0x4c0bc2,_0x5513fb,_0x207ed5){const _0x2a6c13=_0x291ab9;typeof _0x4c0bc2==_0x2a6c13(0x188)&&_0x4c0bc2[_0x2a6c13(0x10e)]?_0x4c0bc2[_0x2a6c13(0x10e)]['call'](_0x4c0bc2,_0x207ed5):_0x4c0bc2[_0x2a6c13(0x260)](_0x5513fb,_0x207ed5);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x2b481a}=ae();function _0x15fcc3(_0x2791f9,_0x5e5196,_0x20a3b9){const _0x110f6f=_0x1eaa;_0x2791f9[_0x5e5196]===void 0x0?_0x2791f9[_0x5e5196]=[_0x20a3b9]:_0x2791f9[_0x5e5196][_0x110f6f(0x17c)](_0x20a3b9);}function _0x3c3f1c(_0x5a5799){const _0x1fcda7=_0x1eaa,_0xc0c24c=Object[_0x1fcda7(0x268)](null);let _0x55a6e5=Object['create'](null),_0x3cd8ea=!0x1,_0xac5514=!0x1,_0x3bbcd9=!0x1,_0x1c213b,_0x47cb9a,_0x5bd522=-0x1,_0x3fdf73=-0x1,_0xea7ace=-0x1,_0x541854=0x0;for(;_0x541854<_0x5a5799[_0x1fcda7(0x1f1)];_0x541854++)if(_0x3fdf73=_0x5a5799[_0x1fcda7(0x1dc)](_0x541854),_0x1c213b===void 0x0){if(_0xea7ace===-0x1&&_0x2b481a[_0x3fdf73]===0x1)_0x5bd522===-0x1&&(_0x5bd522=_0x541854);else{if(_0x541854!==0x0&&(_0x3fdf73===0x20||_0x3fdf73===0x9))_0xea7ace===-0x1&&_0x5bd522!==-0x1&&(_0xea7ace=_0x541854);else{if(_0x3fdf73===0x3b||_0x3fdf73===0x2c){if(_0x5bd522===-0x1)throw new SyntaxError(_0x1fcda7(0x1cf)+_0x541854);_0xea7ace===-0x1&&(_0xea7ace=_0x541854);const _0xa7bb7c=_0x5a5799[_0x1fcda7(0x120)](_0x5bd522,_0xea7ace);_0x3fdf73===0x2c?(_0x15fcc3(_0xc0c24c,_0xa7bb7c,_0x55a6e5),_0x55a6e5=Object['create'](null)):_0x1c213b=_0xa7bb7c,_0x5bd522=_0xea7ace=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x541854);}}}else{if(_0x47cb9a===void 0x0){if(_0xea7ace===-0x1&&_0x2b481a[_0x3fdf73]===0x1)_0x5bd522===-0x1&&(_0x5bd522=_0x541854);else{if(_0x3fdf73===0x20||_0x3fdf73===0x9)_0xea7ace===-0x1&&_0x5bd522!==-0x1&&(_0xea7ace=_0x541854);else{if(_0x3fdf73===0x3b||_0x3fdf73===0x2c){if(_0x5bd522===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x541854);_0xea7ace===-0x1&&(_0xea7ace=_0x541854),_0x15fcc3(_0x55a6e5,_0x5a5799[_0x1fcda7(0x120)](_0x5bd522,_0xea7ace),!0x0),_0x3fdf73===0x2c&&(_0x15fcc3(_0xc0c24c,_0x1c213b,_0x55a6e5),_0x55a6e5=Object[_0x1fcda7(0x268)](null),_0x1c213b=void 0x0),_0x5bd522=_0xea7ace=-0x1;}else{if(_0x3fdf73===0x3d&&_0x5bd522!==-0x1&&_0xea7ace===-0x1)_0x47cb9a=_0x5a5799['slice'](_0x5bd522,_0x541854),_0x5bd522=_0xea7ace=-0x1;else throw new SyntaxError(_0x1fcda7(0x1cf)+_0x541854);}}}}else{if(_0xac5514){if(_0x2b481a[_0x3fdf73]!==0x1)throw new SyntaxError(_0x1fcda7(0x1cf)+_0x541854);_0x5bd522===-0x1?_0x5bd522=_0x541854:_0x3cd8ea||(_0x3cd8ea=!0x0),_0xac5514=!0x1;}else{if(_0x3bbcd9){if(_0x2b481a[_0x3fdf73]===0x1)_0x5bd522===-0x1&&(_0x5bd522=_0x541854);else{if(_0x3fdf73===0x22&&_0x5bd522!==-0x1)_0x3bbcd9=!0x1,_0xea7ace=_0x541854;else{if(_0x3fdf73===0x5c)_0xac5514=!0x0;else throw new SyntaxError(_0x1fcda7(0x1cf)+_0x541854);}}}else{if(_0x3fdf73===0x22&&_0x5a5799[_0x1fcda7(0x1dc)](_0x541854-0x1)===0x3d)_0x3bbcd9=!0x0;else{if(_0xea7ace===-0x1&&_0x2b481a[_0x3fdf73]===0x1)_0x5bd522===-0x1&&(_0x5bd522=_0x541854);else{if(_0x5bd522!==-0x1&&(_0x3fdf73===0x20||_0x3fdf73===0x9))_0xea7ace===-0x1&&(_0xea7ace=_0x541854);else{if(_0x3fdf73===0x3b||_0x3fdf73===0x2c){if(_0x5bd522===-0x1)throw new SyntaxError(_0x1fcda7(0x1cf)+_0x541854);_0xea7ace===-0x1&&(_0xea7ace=_0x541854);let _0x28224c=_0x5a5799[_0x1fcda7(0x120)](_0x5bd522,_0xea7ace);_0x3cd8ea&&(_0x28224c=_0x28224c['replace'](/\\/g,''),_0x3cd8ea=!0x1),_0x15fcc3(_0x55a6e5,_0x47cb9a,_0x28224c),_0x3fdf73===0x2c&&(_0x15fcc3(_0xc0c24c,_0x1c213b,_0x55a6e5),_0x55a6e5=Object[_0x1fcda7(0x268)](null),_0x1c213b=void 0x0),_0x47cb9a=void 0x0,_0x5bd522=_0xea7ace=-0x1;}else throw new SyntaxError(_0x1fcda7(0x1cf)+_0x541854);}}}}}}}if(_0x5bd522===-0x1||_0x3bbcd9||_0x3fdf73===0x20||_0x3fdf73===0x9)throw new SyntaxError(_0x1fcda7(0x109));_0xea7ace===-0x1&&(_0xea7ace=_0x541854);const _0x362951=_0x5a5799[_0x1fcda7(0x120)](_0x5bd522,_0xea7ace);return _0x1c213b===void 0x0?_0x15fcc3(_0xc0c24c,_0x362951,_0x55a6e5):(_0x47cb9a===void 0x0?_0x15fcc3(_0x55a6e5,_0x362951,!0x0):_0x3cd8ea?_0x15fcc3(_0x55a6e5,_0x47cb9a,_0x362951[_0x1fcda7(0x215)](/\\/g,'')):_0x15fcc3(_0x55a6e5,_0x47cb9a,_0x362951),_0x15fcc3(_0xc0c24c,_0x1c213b,_0x55a6e5)),_0xc0c24c;}function _0x2a2f66(_0x65ba57){const _0x4a6291=_0x1eaa;return Object['keys'](_0x65ba57)[_0x4a6291(0x1a2)](_0x226b20=>{const _0x3e3829=_0x4a6291;let _0x5cb41e=_0x65ba57[_0x226b20];return Array['isArray'](_0x5cb41e)||(_0x5cb41e=[_0x5cb41e]),_0x5cb41e[_0x3e3829(0x1a2)](_0x5774f0=>[_0x226b20][_0x3e3829(0xef)](Object[_0x3e3829(0x13f)](_0x5774f0)[_0x3e3829(0x1a2)](_0x1f3aee=>{const _0x2ba2aa=_0x3e3829;let _0x391df5=_0x5774f0[_0x1f3aee];return Array[_0x2ba2aa(0x224)](_0x391df5)||(_0x391df5=[_0x391df5]),_0x391df5[_0x2ba2aa(0x1a2)](_0x561bba=>_0x561bba===!0x0?_0x1f3aee:_0x1f3aee+'='+_0x561bba)[_0x2ba2aa(0x28a)](';\x20');}))[_0x3e3829(0x28a)](';\x20'))[_0x3e3829(0x28a)](',\x20');})[_0x4a6291(0x28a)](',\x20');}return be={'format':_0x2a2f66,'parse':_0x3c3f1c},be;}var we,Je;function Pe(){const _0x49ed82=_0xa527ae;if(Je)return we;Je=0x1;const _0x401377=nt,_0x584f4b=vt,_0x259fd6=ot,_0x1b8301=St,_0x2fd0ec=Et,{randomBytes:_0x3e94a0,createHash:_0x3f57fe}=Le,{Duplex:_0x1604c4,Readable:_0x527a8a}=oe,{URL:_0x2d5bad}=xt,_0x2740c1=he(),_0x544fd7=lt(),_0x29c239=ft(),{isBlob:_0x396277}=ae(),{BINARY_TYPES:_0x3fd485,EMPTY_BUFFER:_0x2ec159,GUID:_0x46d285,kForOnEventAttribute:_0x29f995,kListener:_0x1a6fdc,kStatusCode:_0x3dfc7d,kWebSocket:_0x4f28b4,NOOP:_0x24a61d}=H(),{EventTarget:{addEventListener:_0x1f7db2,removeEventListener:_0x13d7d3}}=It(),{format:_0x3c338f,parse:_0x137d4f}=ct(),{toBuffer:_0x123940}=ce(),_0x8d601c=0x1e*0x3e8,_0x173bac=Symbol(_0x49ed82(0x22b)),_0x5e146a=[0x8,0xd],_0x2146d6=['CONNECTING',_0x49ed82(0x169),_0x49ed82(0x234),_0x49ed82(0x178)],_0x454cc3=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x4a9a88 extends _0x401377{constructor(_0x155f07,_0x4fb5a0,_0x14895e){const _0x350e9e=_0x49ed82;super(),this[_0x350e9e(0x276)]=_0x3fd485[0x0],this['_closeCode']=0x3ee,this[_0x350e9e(0x2a3)]=!0x1,this[_0x350e9e(0x180)]=!0x1,this[_0x350e9e(0x2a9)]=_0x2ec159,this[_0x350e9e(0x2b0)]=null,this['_errorEmitted']=!0x1,this[_0x350e9e(0x15f)]={},this[_0x350e9e(0x1d4)]=!0x1,this[_0x350e9e(0x155)]='',this['_readyState']=_0x4a9a88['CONNECTING'],this['_receiver']=null,this['_sender']=null,this['_socket']=null,_0x155f07!==null?(this['_bufferedAmount']=0x0,this[_0x350e9e(0x165)]=!0x1,this[_0x350e9e(0x274)]=0x0,_0x4fb5a0===void 0x0?_0x4fb5a0=[]:Array[_0x350e9e(0x224)](_0x4fb5a0)||(typeof _0x4fb5a0==_0x350e9e(0x188)&&_0x4fb5a0!==null?(_0x14895e=_0x4fb5a0,_0x4fb5a0=[]):_0x4fb5a0=[_0x4fb5a0]),_0x2d79d8(this,_0x155f07,_0x4fb5a0,_0x14895e)):(this[_0x350e9e(0x1df)]=_0x14895e[_0x350e9e(0x1e4)],this[_0x350e9e(0x165)]=!0x0);}get['binaryType'](){return this['_binaryType'];}set['binaryType'](_0x41ffa6){const _0x19b034=_0x49ed82;_0x3fd485['includes'](_0x41ffa6)&&(this[_0x19b034(0x276)]=_0x41ffa6,this[_0x19b034(0x101)]&&(this[_0x19b034(0x101)][_0x19b034(0x276)]=_0x41ffa6));}get[_0x49ed82(0x18e)](){const _0x56e62a=_0x49ed82;return this['_socket']?this[_0x56e62a(0x267)]['_writableState'][_0x56e62a(0x1f1)]+this[_0x56e62a(0x1b2)][_0x56e62a(0x113)]:this[_0x56e62a(0x162)];}get[_0x49ed82(0x20e)](){const _0x2d041d=_0x49ed82;return Object['keys'](this[_0x2d041d(0x15f)])[_0x2d041d(0x28a)]();}get['isPaused'](){const _0x586688=_0x49ed82;return this[_0x586688(0x1d4)];}get[_0x49ed82(0x235)](){return null;}get[_0x49ed82(0x146)](){return null;}get[_0x49ed82(0x23c)](){return null;}get[_0x49ed82(0xf8)](){return null;}get[_0x49ed82(0x10c)](){const _0x166e90=_0x49ed82;return this[_0x166e90(0x155)];}get['readyState'](){const _0xe2c9a7=_0x49ed82;return this[_0xe2c9a7(0x17b)];}get['url'](){const _0x1eadab=_0x49ed82;return this[_0x1eadab(0x29b)];}[_0x49ed82(0x1f3)](_0x2550c9,_0x3c5a36,_0x46b459){const _0x39e494=_0x49ed82,_0x499843=new _0x544fd7({'allowSynchronousEvents':_0x46b459['allowSynchronousEvents'],'binaryType':this['binaryType'],'extensions':this['_extensions'],'isServer':this[_0x39e494(0x165)],'maxPayload':_0x46b459[_0x39e494(0x185)],'skipUTF8Validation':_0x46b459[_0x39e494(0x26c)]}),_0x221356=new _0x29c239(_0x2550c9,this[_0x39e494(0x15f)],_0x46b459[_0x39e494(0x12b)]);this['_receiver']=_0x499843,this[_0x39e494(0x1b2)]=_0x221356,this['_socket']=_0x2550c9,_0x499843[_0x4f28b4]=this,_0x221356[_0x4f28b4]=this,_0x2550c9[_0x4f28b4]=this,_0x499843['on'](_0x39e494(0x131),_0x1a9916),_0x499843['on'](_0x39e494(0x297),_0x2c004b),_0x499843['on'](_0x39e494(0x112),_0x42a6c9),_0x499843['on'](_0x39e494(0xfe),_0x1453cd),_0x499843['on'](_0x39e494(0x291),_0x30b993),_0x499843['on'](_0x39e494(0x26e),_0x338ff6),_0x221356[_0x39e494(0x146)]=_0x59132e,_0x2550c9[_0x39e494(0x24f)]&&_0x2550c9[_0x39e494(0x24f)](0x0),_0x2550c9[_0x39e494(0x154)]&&_0x2550c9[_0x39e494(0x154)](),_0x3c5a36[_0x39e494(0x1f1)]>0x0&&_0x2550c9[_0x39e494(0x16d)](_0x3c5a36),_0x2550c9['on'](_0x39e494(0x166),_0x39249b),_0x2550c9['on'](_0x39e494(0x294),_0x23d5c5),_0x2550c9['on'](_0x39e494(0x26a),_0x143cba),_0x2550c9['on'](_0x39e494(0x112),_0x1f5ac5),this[_0x39e494(0x17b)]=_0x4a9a88[_0x39e494(0x169)],this[_0x39e494(0x287)](_0x39e494(0x119));}[_0x49ed82(0x219)](){const _0x220696=_0x49ed82;if(!this[_0x220696(0x267)]){this[_0x220696(0x17b)]=_0x4a9a88[_0x220696(0x178)],this[_0x220696(0x287)](_0x220696(0x166),this[_0x220696(0x1d6)],this[_0x220696(0x2a9)]);return;}this[_0x220696(0x15f)][_0x2740c1['extensionName']]&&this['_extensions'][_0x2740c1[_0x220696(0x1de)]]['cleanup'](),this[_0x220696(0x101)][_0x220696(0x108)](),this[_0x220696(0x17b)]=_0x4a9a88[_0x220696(0x178)],this[_0x220696(0x287)](_0x220696(0x166),this['_closeCode'],this[_0x220696(0x2a9)]);}[_0x49ed82(0x166)](_0x35cbcd,_0x4f30d8){const _0x2643c1=_0x49ed82;if(this[_0x2643c1(0x1ff)]!==_0x4a9a88[_0x2643c1(0x178)]){if(this[_0x2643c1(0x1ff)]===_0x4a9a88[_0x2643c1(0x1d1)]){_0x57e8bc(this,this[_0x2643c1(0x12c)],_0x2643c1(0x176));return;}if(this[_0x2643c1(0x1ff)]===_0x4a9a88['CLOSING']){this[_0x2643c1(0x180)]&&(this['_closeFrameReceived']||this['_receiver'][_0x2643c1(0x292)][_0x2643c1(0x168)])&&this[_0x2643c1(0x267)][_0x2643c1(0x26a)]();return;}this[_0x2643c1(0x17b)]=_0x4a9a88[_0x2643c1(0x234)],this[_0x2643c1(0x1b2)][_0x2643c1(0x166)](_0x35cbcd,_0x4f30d8,!this['_isServer'],_0x461d3f=>{const _0x278d54=_0x2643c1;_0x461d3f||(this[_0x278d54(0x180)]=!0x0,(this['_closeFrameReceived']||this['_receiver'][_0x278d54(0x292)][_0x278d54(0x168)])&&this['_socket'][_0x278d54(0x26a)]());}),_0x47e34c(this);}}[_0x49ed82(0x242)](){const _0x5506c8=_0x49ed82;this[_0x5506c8(0x1ff)]===_0x4a9a88[_0x5506c8(0x1d1)]||this[_0x5506c8(0x1ff)]===_0x4a9a88[_0x5506c8(0x178)]||(this[_0x5506c8(0x1d4)]=!0x0,this[_0x5506c8(0x267)][_0x5506c8(0x242)]());}[_0x49ed82(0x291)](_0x166535,_0x5775fd,_0x70aa67){const _0x4125e9=_0x49ed82;if(this[_0x4125e9(0x1ff)]===_0x4a9a88['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x166535==_0x4125e9(0x142)?(_0x70aa67=_0x166535,_0x166535=_0x5775fd=void 0x0):typeof _0x5775fd==_0x4125e9(0x142)&&(_0x70aa67=_0x5775fd,_0x5775fd=void 0x0),typeof _0x166535==_0x4125e9(0x135)&&(_0x166535=_0x166535['toString']()),this[_0x4125e9(0x1ff)]!==_0x4a9a88[_0x4125e9(0x169)]){_0x4077eb(this,_0x166535,_0x70aa67);return;}_0x5775fd===void 0x0&&(_0x5775fd=!this[_0x4125e9(0x165)]),this['_sender']['ping'](_0x166535||_0x2ec159,_0x5775fd,_0x70aa67);}[_0x49ed82(0x26e)](_0x2b186a,_0x3dbcac,_0x175ce3){const _0x353081=_0x49ed82;if(this[_0x353081(0x1ff)]===_0x4a9a88[_0x353081(0x1d1)])throw new Error(_0x353081(0x2ba));if(typeof _0x2b186a==_0x353081(0x142)?(_0x175ce3=_0x2b186a,_0x2b186a=_0x3dbcac=void 0x0):typeof _0x3dbcac=='function'&&(_0x175ce3=_0x3dbcac,_0x3dbcac=void 0x0),typeof _0x2b186a==_0x353081(0x135)&&(_0x2b186a=_0x2b186a['toString']()),this[_0x353081(0x1ff)]!==_0x4a9a88[_0x353081(0x169)]){_0x4077eb(this,_0x2b186a,_0x175ce3);return;}_0x3dbcac===void 0x0&&(_0x3dbcac=!this[_0x353081(0x165)]),this[_0x353081(0x1b2)]['pong'](_0x2b186a||_0x2ec159,_0x3dbcac,_0x175ce3);}[_0x49ed82(0x1c7)](){const _0x30d763=_0x49ed82;this['readyState']===_0x4a9a88['CONNECTING']||this['readyState']===_0x4a9a88[_0x30d763(0x178)]||(this[_0x30d763(0x1d4)]=!0x1,this[_0x30d763(0x101)][_0x30d763(0x292)]['needDrain']||this[_0x30d763(0x267)][_0x30d763(0x1c7)]());}[_0x49ed82(0x23e)](_0x50d2df,_0xded5a5,_0x4cc8a2){const _0x2b54f4=_0x49ed82;if(this[_0x2b54f4(0x1ff)]===_0x4a9a88['CONNECTING'])throw new Error(_0x2b54f4(0x2ba));if(typeof _0xded5a5==_0x2b54f4(0x142)&&(_0x4cc8a2=_0xded5a5,_0xded5a5={}),typeof _0x50d2df==_0x2b54f4(0x135)&&(_0x50d2df=_0x50d2df[_0x2b54f4(0x230)]()),this[_0x2b54f4(0x1ff)]!==_0x4a9a88[_0x2b54f4(0x169)]){_0x4077eb(this,_0x50d2df,_0x4cc8a2);return;}const _0x453a4c={'binary':typeof _0x50d2df!='string','mask':!this[_0x2b54f4(0x165)],'compress':!0x0,'fin':!0x0,..._0xded5a5};this[_0x2b54f4(0x15f)][_0x2740c1[_0x2b54f4(0x1de)]]||(_0x453a4c[_0x2b54f4(0x163)]=!0x1),this[_0x2b54f4(0x1b2)][_0x2b54f4(0x23e)](_0x50d2df||_0x2ec159,_0x453a4c,_0x4cc8a2);}[_0x49ed82(0x124)](){const _0x40c937=_0x49ed82;if(this[_0x40c937(0x1ff)]!==_0x4a9a88[_0x40c937(0x178)]){if(this['readyState']===_0x4a9a88[_0x40c937(0x1d1)]){_0x57e8bc(this,this[_0x40c937(0x12c)],_0x40c937(0x176));return;}this[_0x40c937(0x267)]&&(this[_0x40c937(0x17b)]=_0x4a9a88[_0x40c937(0x234)],this[_0x40c937(0x267)]['destroy']());}}}Object[_0x49ed82(0x25c)](_0x4a9a88,_0x49ed82(0x1d1),{'enumerable':!0x0,'value':_0x2146d6['indexOf'](_0x49ed82(0x1d1))}),Object[_0x49ed82(0x25c)](_0x4a9a88['prototype'],_0x49ed82(0x1d1),{'enumerable':!0x0,'value':_0x2146d6[_0x49ed82(0x13d)](_0x49ed82(0x1d1))}),Object[_0x49ed82(0x25c)](_0x4a9a88,_0x49ed82(0x169),{'enumerable':!0x0,'value':_0x2146d6[_0x49ed82(0x13d)](_0x49ed82(0x169))}),Object[_0x49ed82(0x25c)](_0x4a9a88['prototype'],_0x49ed82(0x169),{'enumerable':!0x0,'value':_0x2146d6[_0x49ed82(0x13d)]('OPEN')}),Object[_0x49ed82(0x25c)](_0x4a9a88,_0x49ed82(0x234),{'enumerable':!0x0,'value':_0x2146d6[_0x49ed82(0x13d)](_0x49ed82(0x234))}),Object[_0x49ed82(0x25c)](_0x4a9a88[_0x49ed82(0x281)],_0x49ed82(0x234),{'enumerable':!0x0,'value':_0x2146d6[_0x49ed82(0x13d)]('CLOSING')}),Object[_0x49ed82(0x25c)](_0x4a9a88,_0x49ed82(0x178),{'enumerable':!0x0,'value':_0x2146d6[_0x49ed82(0x13d)]('CLOSED')}),Object[_0x49ed82(0x25c)](_0x4a9a88[_0x49ed82(0x281)],_0x49ed82(0x178),{'enumerable':!0x0,'value':_0x2146d6[_0x49ed82(0x13d)](_0x49ed82(0x178))}),[_0x49ed82(0x1ab),_0x49ed82(0x18e),_0x49ed82(0x20e),_0x49ed82(0x263),_0x49ed82(0x10c),_0x49ed82(0x1ff),_0x49ed82(0x205)][_0x49ed82(0x1b9)](_0x2fb4b5=>{const _0x48a415=_0x49ed82;Object[_0x48a415(0x25c)](_0x4a9a88[_0x48a415(0x281)],_0x2fb4b5,{'enumerable':!0x0});}),[_0x49ed82(0x119),_0x49ed82(0x112),_0x49ed82(0x166),_0x49ed82(0xfe)]['forEach'](_0x3d97e5=>{const _0x126fd5=_0x49ed82;Object[_0x126fd5(0x25c)](_0x4a9a88['prototype'],'on'+_0x3d97e5,{'enumerable':!0x0,'get'(){const _0x3ebf3d=_0x126fd5;for(const _0x423264 of this[_0x3ebf3d(0x15b)](_0x3d97e5))if(_0x423264[_0x29f995])return _0x423264[_0x1a6fdc];return null;},'set'(_0x2e6b21){const _0x1d7ed7=_0x126fd5;for(const _0x30049b of this[_0x1d7ed7(0x15b)](_0x3d97e5))if(_0x30049b[_0x29f995]){this[_0x1d7ed7(0x19b)](_0x3d97e5,_0x30049b);break;}typeof _0x2e6b21==_0x1d7ed7(0x142)&&this['addEventListener'](_0x3d97e5,_0x2e6b21,{[_0x29f995]:!0x0});}});}),_0x4a9a88[_0x49ed82(0x281)]['addEventListener']=_0x1f7db2,_0x4a9a88[_0x49ed82(0x281)]['removeEventListener']=_0x13d7d3,we=_0x4a9a88;function _0x2d79d8(_0xe23f5f,_0x431189,_0x2ecf30,_0x176f7a){const _0xa18b51=_0x49ed82,_0x2a44c6={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x5e146a[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x176f7a,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0xa18b51(0x1d0),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xe23f5f['_autoPong']=_0x2a44c6[_0xa18b51(0x1e4)],!_0x5e146a[_0xa18b51(0x195)](_0x2a44c6[_0xa18b51(0x1dd)]))throw new RangeError(_0xa18b51(0x2b3)+_0x2a44c6['protocolVersion']+_0xa18b51(0x184)+_0x5e146a[_0xa18b51(0x28a)](',\x20')+')');let _0x4fa450;if(_0x431189 instanceof _0x2d5bad)_0x4fa450=_0x431189;else try{_0x4fa450=new _0x2d5bad(_0x431189);}catch{throw new SyntaxError(_0xa18b51(0x14f)+_0x431189);}_0x4fa450['protocol']===_0xa18b51(0x12f)?_0x4fa450[_0xa18b51(0x10c)]=_0xa18b51(0x1b6):_0x4fa450[_0xa18b51(0x10c)]===_0xa18b51(0x26f)&&(_0x4fa450['protocol']=_0xa18b51(0x2b6)),_0xe23f5f[_0xa18b51(0x29b)]=_0x4fa450[_0xa18b51(0x1fd)];const _0x59b536=_0x4fa450[_0xa18b51(0x10c)]==='wss:',_0x3258a0=_0x4fa450[_0xa18b51(0x10c)]===_0xa18b51(0x2b5);let _0x51f32c;if(_0x4fa450[_0xa18b51(0x10c)]!=='ws:'&&!_0x59b536&&!_0x3258a0?_0x51f32c=_0xa18b51(0x1f4):_0x3258a0&&!_0x4fa450[_0xa18b51(0x1f7)]?_0x51f32c=_0xa18b51(0x253):_0x4fa450[_0xa18b51(0x1c2)]&&(_0x51f32c=_0xa18b51(0x27a)),_0x51f32c){const _0x50b6ac=new SyntaxError(_0x51f32c);if(_0xe23f5f[_0xa18b51(0x274)]===0x0)throw _0x50b6ac;_0x2a6663(_0xe23f5f,_0x50b6ac);return;}const _0x1e13ae=_0x59b536?0x1bb:0x50,_0x19f065=_0x3e94a0(0x10)[_0xa18b51(0x230)]('base64'),_0x444dcf=_0x59b536?_0x584f4b[_0xa18b51(0x290)]:_0x259fd6[_0xa18b51(0x290)],_0x1922b7=new Set();let _0x151a88;if(_0x2a44c6['createConnection']=_0x2a44c6[_0xa18b51(0x151)]||(_0x59b536?_0x228ccb:_0xbb4d87),_0x2a44c6['defaultPort']=_0x2a44c6[_0xa18b51(0x1ac)]||_0x1e13ae,_0x2a44c6[_0xa18b51(0x2a4)]=_0x4fa450[_0xa18b51(0x2a4)]||_0x1e13ae,_0x2a44c6[_0xa18b51(0x2ac)]=_0x4fa450['hostname'][_0xa18b51(0x103)]('[')?_0x4fa450[_0xa18b51(0x229)][_0xa18b51(0x120)](0x1,-0x1):_0x4fa450[_0xa18b51(0x229)],_0x2a44c6['headers']={..._0x2a44c6[_0xa18b51(0x28b)],'Sec-WebSocket-Version':_0x2a44c6[_0xa18b51(0x1dd)],'Sec-WebSocket-Key':_0x19f065,'Connection':_0xa18b51(0x150),'Upgrade':_0xa18b51(0x280)},_0x2a44c6[_0xa18b51(0x223)]=_0x4fa450[_0xa18b51(0x1f7)]+_0x4fa450[_0xa18b51(0x19d)],_0x2a44c6[_0xa18b51(0x152)]=_0x2a44c6['handshakeTimeout'],_0x2a44c6['perMessageDeflate']&&(_0x151a88=new _0x2740c1(_0x2a44c6[_0xa18b51(0x129)]!==!0x0?_0x2a44c6['perMessageDeflate']:{},!0x1,_0x2a44c6[_0xa18b51(0x185)]),_0x2a44c6['headers'][_0xa18b51(0x183)]=_0x3c338f({[_0x2740c1[_0xa18b51(0x1de)]]:_0x151a88[_0xa18b51(0x13b)]()})),_0x2ecf30[_0xa18b51(0x1f1)]){for(const _0x5effe8 of _0x2ecf30){if(typeof _0x5effe8!=_0xa18b51(0x20f)||!_0x454cc3[_0xa18b51(0x21f)](_0x5effe8)||_0x1922b7[_0xa18b51(0x278)](_0x5effe8))throw new SyntaxError(_0xa18b51(0x190));_0x1922b7[_0xa18b51(0x1d5)](_0x5effe8);}_0x2a44c6['headers'][_0xa18b51(0x296)]=_0x2ecf30['join'](',');}if(_0x2a44c6[_0xa18b51(0xe9)]&&(_0x2a44c6[_0xa18b51(0x1dd)]<0xd?_0x2a44c6[_0xa18b51(0x28b)][_0xa18b51(0x12d)]=_0x2a44c6[_0xa18b51(0xe9)]:_0x2a44c6['headers'][_0xa18b51(0x1ed)]=_0x2a44c6[_0xa18b51(0xe9)]),(_0x4fa450[_0xa18b51(0x1e5)]||_0x4fa450[_0xa18b51(0x14e)])&&(_0x2a44c6[_0xa18b51(0x134)]=_0x4fa450[_0xa18b51(0x1e5)]+':'+_0x4fa450[_0xa18b51(0x14e)]),_0x3258a0){const _0x584e8a=_0x2a44c6['path']['split'](':');_0x2a44c6[_0xa18b51(0x264)]=_0x584e8a[0x0],_0x2a44c6[_0xa18b51(0x223)]=_0x584e8a[0x1];}let _0x299f17;if(_0x2a44c6[_0xa18b51(0x25a)]){if(_0xe23f5f[_0xa18b51(0x274)]===0x0){_0xe23f5f[_0xa18b51(0x1a6)]=_0x3258a0,_0xe23f5f[_0xa18b51(0x1a5)]=_0x59b536,_0xe23f5f['_originalHostOrSocketPath']=_0x3258a0?_0x2a44c6[_0xa18b51(0x264)]:_0x4fa450['host'];const _0x2b96ad=_0x176f7a&&_0x176f7a[_0xa18b51(0x28b)];if(_0x176f7a={..._0x176f7a,'headers':{}},_0x2b96ad){for(const [_0x1ff811,_0x27f500]of Object[_0xa18b51(0xf1)](_0x2b96ad))_0x176f7a['headers'][_0x1ff811['toLowerCase']()]=_0x27f500;}}else{if(_0xe23f5f[_0xa18b51(0x258)]('redirect')===0x0){const _0x4d06b5=_0x3258a0?_0xe23f5f[_0xa18b51(0x1a6)]?_0x2a44c6[_0xa18b51(0x264)]===_0xe23f5f[_0xa18b51(0x1b5)]:!0x1:_0xe23f5f['_originalIpc']?!0x1:_0x4fa450[_0xa18b51(0x2ac)]===_0xe23f5f[_0xa18b51(0x1b5)];(!_0x4d06b5||_0xe23f5f[_0xa18b51(0x1a5)]&&!_0x59b536)&&(delete _0x2a44c6[_0xa18b51(0x28b)]['authorization'],delete _0x2a44c6[_0xa18b51(0x28b)][_0xa18b51(0x29a)],_0x4d06b5||delete _0x2a44c6[_0xa18b51(0x28b)][_0xa18b51(0x2ac)],_0x2a44c6['auth']=void 0x0);}}_0x2a44c6[_0xa18b51(0x134)]&&!_0x176f7a[_0xa18b51(0x28b)][_0xa18b51(0x11f)]&&(_0x176f7a[_0xa18b51(0x28b)][_0xa18b51(0x11f)]=_0xa18b51(0x16e)+Buffer['from'](_0x2a44c6[_0xa18b51(0x134)])[_0xa18b51(0x230)]('base64')),_0x299f17=_0xe23f5f[_0xa18b51(0x12c)]=_0x444dcf(_0x2a44c6),_0xe23f5f[_0xa18b51(0x274)]&&_0xe23f5f[_0xa18b51(0x287)](_0xa18b51(0x13c),_0xe23f5f[_0xa18b51(0x205)],_0x299f17);}else _0x299f17=_0xe23f5f['_req']=_0x444dcf(_0x2a44c6);_0x2a44c6[_0xa18b51(0x152)]&&_0x299f17['on'](_0xa18b51(0x152),()=>{_0x57e8bc(_0xe23f5f,_0x299f17,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x299f17['on'](_0xa18b51(0x112),_0x3d2028=>{const _0x4ee864=_0xa18b51;_0x299f17===null||_0x299f17[_0x173bac]||(_0x299f17=_0xe23f5f[_0x4ee864(0x12c)]=null,_0x2a6663(_0xe23f5f,_0x3d2028));}),_0x299f17['on'](_0xa18b51(0x279),_0x121761=>{const _0x180bf7=_0xa18b51,_0xc3013c=_0x121761[_0x180bf7(0x28b)][_0x180bf7(0x16b)],_0x4c0739=_0x121761[_0x180bf7(0xeb)];if(_0xc3013c&&_0x2a44c6[_0x180bf7(0x25a)]&&_0x4c0739>=0x12c&&_0x4c0739<0x190){if(++_0xe23f5f[_0x180bf7(0x274)]>_0x2a44c6[_0x180bf7(0x12a)]){_0x57e8bc(_0xe23f5f,_0x299f17,'Maximum\x20redirects\x20exceeded');return;}_0x299f17['abort']();let _0x5eef47;try{_0x5eef47=new _0x2d5bad(_0xc3013c,_0x431189);}catch{const _0x300182=new SyntaxError(_0x180bf7(0x14f)+_0xc3013c);_0x2a6663(_0xe23f5f,_0x300182);return;}_0x2d79d8(_0xe23f5f,_0x5eef47,_0x2ecf30,_0x176f7a);}else _0xe23f5f[_0x180bf7(0x287)]('unexpected-response',_0x299f17,_0x121761)||_0x57e8bc(_0xe23f5f,_0x299f17,_0x180bf7(0x167)+_0x121761[_0x180bf7(0xeb)]);}),_0x299f17['on'](_0xa18b51(0x193),(_0x548555,_0x31f4ee,_0x50c05a)=>{const _0x2aad8a=_0xa18b51;if(_0xe23f5f[_0x2aad8a(0x287)]('upgrade',_0x548555),_0xe23f5f[_0x2aad8a(0x1ff)]!==_0x4a9a88[_0x2aad8a(0x1d1)])return;_0x299f17=_0xe23f5f['_req']=null;const _0x5b5a04=_0x548555['headers'][_0x2aad8a(0x193)];if(_0x5b5a04===void 0x0||_0x5b5a04['toLowerCase']()!==_0x2aad8a(0x280)){_0x57e8bc(_0xe23f5f,_0x31f4ee,_0x2aad8a(0x175));return;}const _0x353360=_0x3f57fe(_0x2aad8a(0x1b1))['update'](_0x19f065+_0x46d285)[_0x2aad8a(0x254)](_0x2aad8a(0x15e));if(_0x548555['headers'][_0x2aad8a(0xed)]!==_0x353360){_0x57e8bc(_0xe23f5f,_0x31f4ee,_0x2aad8a(0x1c9));return;}const _0x42ac06=_0x548555[_0x2aad8a(0x28b)][_0x2aad8a(0x212)];let _0x406dda;if(_0x42ac06!==void 0x0?_0x1922b7[_0x2aad8a(0x24c)]?_0x1922b7[_0x2aad8a(0x278)](_0x42ac06)||(_0x406dda='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x406dda='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x1922b7[_0x2aad8a(0x24c)]&&(_0x406dda=_0x2aad8a(0x22a)),_0x406dda){_0x57e8bc(_0xe23f5f,_0x31f4ee,_0x406dda);return;}_0x42ac06&&(_0xe23f5f['_protocol']=_0x42ac06);const _0x2b4359=_0x548555[_0x2aad8a(0x28b)][_0x2aad8a(0x245)];if(_0x2b4359!==void 0x0){if(!_0x151a88){_0x57e8bc(_0xe23f5f,_0x31f4ee,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x44f911;try{_0x44f911=_0x137d4f(_0x2b4359);}catch{_0x57e8bc(_0xe23f5f,_0x31f4ee,_0x2aad8a(0x14d));return;}const _0x4b11f1=Object['keys'](_0x44f911);if(_0x4b11f1[_0x2aad8a(0x1f1)]!==0x1||_0x4b11f1[0x0]!==_0x2740c1[_0x2aad8a(0x1de)]){_0x57e8bc(_0xe23f5f,_0x31f4ee,_0x2aad8a(0x22f));return;}try{_0x151a88[_0x2aad8a(0x157)](_0x44f911[_0x2740c1[_0x2aad8a(0x1de)]]);}catch{_0x57e8bc(_0xe23f5f,_0x31f4ee,_0x2aad8a(0x14d));return;}_0xe23f5f[_0x2aad8a(0x15f)][_0x2740c1[_0x2aad8a(0x1de)]]=_0x151a88;}_0xe23f5f[_0x2aad8a(0x1f3)](_0x31f4ee,_0x50c05a,{'allowSynchronousEvents':_0x2a44c6[_0x2aad8a(0x111)],'generateMask':_0x2a44c6[_0x2aad8a(0x12b)],'maxPayload':_0x2a44c6[_0x2aad8a(0x185)],'skipUTF8Validation':_0x2a44c6[_0x2aad8a(0x26c)]});}),_0x2a44c6[_0xa18b51(0x243)]?_0x2a44c6['finishRequest'](_0x299f17,_0xe23f5f):_0x299f17[_0xa18b51(0x26a)]();}function _0x2a6663(_0x1d2d51,_0x1eef3d){const _0x39315d=_0x49ed82;_0x1d2d51[_0x39315d(0x17b)]=_0x4a9a88[_0x39315d(0x234)],_0x1d2d51[_0x39315d(0x13a)]=!0x0,_0x1d2d51[_0x39315d(0x287)]('error',_0x1eef3d),_0x1d2d51[_0x39315d(0x219)]();}function _0xbb4d87(_0x352fe7){const _0x39232d=_0x49ed82;return _0x352fe7[_0x39232d(0x223)]=_0x352fe7[_0x39232d(0x264)],_0x1b8301[_0x39232d(0x159)](_0x352fe7);}function _0x228ccb(_0x159107){const _0xbdbba8=_0x49ed82;return _0x159107[_0xbdbba8(0x223)]=void 0x0,!_0x159107[_0xbdbba8(0xea)]&&_0x159107[_0xbdbba8(0xea)]!==''&&(_0x159107[_0xbdbba8(0xea)]=_0x1b8301[_0xbdbba8(0x2a6)](_0x159107['host'])?'':_0x159107[_0xbdbba8(0x2ac)]),_0x2fd0ec['connect'](_0x159107);}function _0x57e8bc(_0x35b6c5,_0x2bd7bb,_0x4ec045){const _0x409ed8=_0x49ed82;_0x35b6c5['_readyState']=_0x4a9a88[_0x409ed8(0x234)];const _0x3ec910=new Error(_0x4ec045);Error['captureStackTrace'](_0x3ec910,_0x57e8bc),_0x2bd7bb[_0x409ed8(0x241)]?(_0x2bd7bb[_0x173bac]=!0x0,_0x2bd7bb[_0x409ed8(0x187)](),_0x2bd7bb[_0x409ed8(0x117)]&&!_0x2bd7bb[_0x409ed8(0x117)][_0x409ed8(0x126)]&&_0x2bd7bb[_0x409ed8(0x117)][_0x409ed8(0x1ca)](),process[_0x409ed8(0x102)](_0x2a6663,_0x35b6c5,_0x3ec910)):(_0x2bd7bb[_0x409ed8(0x1ca)](_0x3ec910),_0x2bd7bb['once'](_0x409ed8(0x112),_0x35b6c5[_0x409ed8(0x287)]['bind'](_0x35b6c5,_0x409ed8(0x112))),_0x2bd7bb['once'](_0x409ed8(0x166),_0x35b6c5[_0x409ed8(0x219)][_0x409ed8(0xff)](_0x35b6c5)));}function _0x4077eb(_0x429554,_0x57dfed,_0x5e6fe6){const _0x4b95cb=_0x49ed82;if(_0x57dfed){const _0xdd8344=_0x396277(_0x57dfed)?_0x57dfed[_0x4b95cb(0x24c)]:_0x123940(_0x57dfed)[_0x4b95cb(0x1f1)];_0x429554[_0x4b95cb(0x267)]?_0x429554[_0x4b95cb(0x1b2)]['_bufferedBytes']+=_0xdd8344:_0x429554[_0x4b95cb(0x162)]+=_0xdd8344;}if(_0x5e6fe6){const _0x3410db=new Error(_0x4b95cb(0x269)+_0x429554[_0x4b95cb(0x1ff)]+'\x20('+_0x2146d6[_0x429554['readyState']]+')');process[_0x4b95cb(0x102)](_0x5e6fe6,_0x3410db);}}function _0x1a9916(_0x535c3f,_0x1f7124){const _0x293b56=_0x49ed82,_0x26683c=this[_0x4f28b4];_0x26683c[_0x293b56(0x2a3)]=!0x0,_0x26683c[_0x293b56(0x2a9)]=_0x1f7124,_0x26683c[_0x293b56(0x1d6)]=_0x535c3f,_0x26683c[_0x293b56(0x267)][_0x4f28b4]!==void 0x0&&(_0x26683c[_0x293b56(0x267)][_0x293b56(0x19b)]('data',_0x23d5c5),process[_0x293b56(0x102)](_0x50a19c,_0x26683c[_0x293b56(0x267)]),_0x535c3f===0x3ed?_0x26683c[_0x293b56(0x166)]():_0x26683c[_0x293b56(0x166)](_0x535c3f,_0x1f7124));}function _0x2c004b(){const _0x2f13c3=_0x49ed82,_0x15b74c=this[_0x4f28b4];_0x15b74c[_0x2f13c3(0x263)]||_0x15b74c[_0x2f13c3(0x267)][_0x2f13c3(0x1c7)]();}function _0x42a6c9(_0x57936d){const _0x1ab37d=_0x49ed82,_0x44a214=this[_0x4f28b4];_0x44a214[_0x1ab37d(0x267)][_0x4f28b4]!==void 0x0&&(_0x44a214[_0x1ab37d(0x267)][_0x1ab37d(0x19b)](_0x1ab37d(0x294),_0x23d5c5),process[_0x1ab37d(0x102)](_0x50a19c,_0x44a214['_socket']),_0x44a214['close'](_0x57936d[_0x3dfc7d])),_0x44a214[_0x1ab37d(0x13a)]||(_0x44a214[_0x1ab37d(0x13a)]=!0x0,_0x44a214['emit'](_0x1ab37d(0x112),_0x57936d));}function _0x4fff06(){const _0xd38c19=_0x49ed82;this[_0x4f28b4][_0xd38c19(0x219)]();}function _0x1453cd(_0x1a80ea,_0x14f4c4){const _0x31f95d=_0x49ed82;this[_0x4f28b4][_0x31f95d(0x287)](_0x31f95d(0xfe),_0x1a80ea,_0x14f4c4);}function _0x30b993(_0x5e3e4f){const _0x22a171=_0x49ed82,_0x3b1da1=this[_0x4f28b4];_0x3b1da1['_autoPong']&&_0x3b1da1['pong'](_0x5e3e4f,!this[_0x22a171(0x165)],_0x24a61d),_0x3b1da1[_0x22a171(0x287)](_0x22a171(0x291),_0x5e3e4f);}function _0x338ff6(_0x3d4fda){const _0x4a62b3=_0x49ed82;this[_0x4f28b4][_0x4a62b3(0x287)](_0x4a62b3(0x26e),_0x3d4fda);}function _0x50a19c(_0x43417d){const _0x152337=_0x49ed82;_0x43417d[_0x152337(0x1c7)]();}function _0x59132e(_0x159e22){const _0x57b1f2=_0x49ed82,_0x53cacf=this[_0x4f28b4];_0x53cacf['readyState']!==_0x4a9a88['CLOSED']&&(_0x53cacf[_0x57b1f2(0x1ff)]===_0x4a9a88['OPEN']&&(_0x53cacf[_0x57b1f2(0x17b)]=_0x4a9a88[_0x57b1f2(0x234)],_0x47e34c(_0x53cacf)),this[_0x57b1f2(0x267)][_0x57b1f2(0x26a)](),_0x53cacf[_0x57b1f2(0x13a)]||(_0x53cacf[_0x57b1f2(0x13a)]=!0x0,_0x53cacf[_0x57b1f2(0x287)]('error',_0x159e22)));}function _0x47e34c(_0x5ddf03){const _0x20d2cc=_0x49ed82;_0x5ddf03['_closeTimer']=setTimeout(_0x5ddf03[_0x20d2cc(0x267)]['destroy']['bind'](_0x5ddf03[_0x20d2cc(0x267)]),_0x8d601c);}function _0x39249b(){const _0x55bcca=_0x49ed82,_0x4e5e14=this[_0x4f28b4];this[_0x55bcca(0x19b)](_0x55bcca(0x166),_0x39249b),this[_0x55bcca(0x19b)]('data',_0x23d5c5),this['removeListener'](_0x55bcca(0x26a),_0x143cba),_0x4e5e14[_0x55bcca(0x17b)]=_0x4a9a88['CLOSING'];let _0x4b222d;!this['_readableState']['endEmitted']&&!_0x4e5e14[_0x55bcca(0x2a3)]&&!_0x4e5e14[_0x55bcca(0x101)]['_writableState'][_0x55bcca(0x168)]&&(_0x4b222d=_0x4e5e14[_0x55bcca(0x267)]['read']())!==null&&_0x4e5e14[_0x55bcca(0x101)][_0x55bcca(0x18d)](_0x4b222d),_0x4e5e14[_0x55bcca(0x101)][_0x55bcca(0x26a)](),this[_0x4f28b4]=void 0x0,clearTimeout(_0x4e5e14[_0x55bcca(0x2b0)]),_0x4e5e14[_0x55bcca(0x101)]['_writableState'][_0x55bcca(0x23f)]||_0x4e5e14[_0x55bcca(0x101)][_0x55bcca(0x292)][_0x55bcca(0x168)]?_0x4e5e14['emitClose']():(_0x4e5e14[_0x55bcca(0x101)]['on'](_0x55bcca(0x112),_0x4fff06),_0x4e5e14['_receiver']['on']('finish',_0x4fff06));}function _0x23d5c5(_0x379f60){const _0x64754d=_0x49ed82;this[_0x4f28b4][_0x64754d(0x101)][_0x64754d(0x18d)](_0x379f60)||this[_0x64754d(0x242)]();}function _0x143cba(){const _0x42df02=_0x49ed82,_0x2777c4=this[_0x4f28b4];_0x2777c4[_0x42df02(0x17b)]=_0x4a9a88[_0x42df02(0x234)],_0x2777c4[_0x42df02(0x101)][_0x42df02(0x26a)](),this[_0x42df02(0x26a)]();}function _0x1f5ac5(){const _0x4d65c2=_0x49ed82,_0x3de3fd=this[_0x4f28b4];this['removeListener'](_0x4d65c2(0x112),_0x1f5ac5),this['on'](_0x4d65c2(0x112),_0x24a61d),_0x3de3fd&&(_0x3de3fd[_0x4d65c2(0x17b)]=_0x4a9a88['CLOSING'],this[_0x4d65c2(0x1ca)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x53e263}=oe;function _0x4c3430(_0x411dcc){const _0x5a9834=_0x1eaa;_0x411dcc[_0x5a9834(0x287)]('close');}function _0x424a26(){const _0x36a85c=_0x1eaa;!this[_0x36a85c(0x126)]&&this[_0x36a85c(0x292)][_0x36a85c(0x23f)]&&this['destroy']();}function _0xad202b(_0x2e6579){const _0x2a79f8=_0x1eaa;this['removeListener'](_0x2a79f8(0x112),_0xad202b),this['destroy'](),this[_0x2a79f8(0x258)](_0x2a79f8(0x112))===0x0&&this['emit'](_0x2a79f8(0x112),_0x2e6579);}function _0x4babfd(_0x522c9c,_0x56e25e){const _0x462b97=_0x1eaa;let _0x385317=!0x0;const _0xc394b3=new _0x53e263({..._0x56e25e,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x522c9c['on'](_0x462b97(0xfe),function(_0x432194,_0x3e7911){const _0x4db2b9=_0x462b97,_0x119f2c=!_0x3e7911&&_0xc394b3[_0x4db2b9(0x143)][_0x4db2b9(0x222)]?_0x432194[_0x4db2b9(0x230)]():_0x432194;_0xc394b3[_0x4db2b9(0x17c)](_0x119f2c)||_0x522c9c['pause']();}),_0x522c9c[_0x462b97(0x270)](_0x462b97(0x112),function(_0x7d88ea){const _0x359ddd=_0x462b97;_0xc394b3[_0x359ddd(0x126)]||(_0x385317=!0x1,_0xc394b3[_0x359ddd(0x1ca)](_0x7d88ea));}),_0x522c9c['once'](_0x462b97(0x166),function(){const _0x525552=_0x462b97;_0xc394b3[_0x525552(0x126)]||_0xc394b3['push'](null);}),_0xc394b3[_0x462b97(0x26b)]=function(_0x5ba0ff,_0x5cba4e){const _0x4bc297=_0x462b97;if(_0x522c9c[_0x4bc297(0x1ff)]===_0x522c9c[_0x4bc297(0x178)]){_0x5cba4e(_0x5ba0ff),process[_0x4bc297(0x102)](_0x4c3430,_0xc394b3);return;}let _0x10e2f2=!0x1;_0x522c9c['once'](_0x4bc297(0x112),function(_0x2292d7){_0x10e2f2=!0x0,_0x5cba4e(_0x2292d7);}),_0x522c9c[_0x4bc297(0x270)]('close',function(){const _0x3dd9f9=_0x4bc297;_0x10e2f2||_0x5cba4e(_0x5ba0ff),process[_0x3dd9f9(0x102)](_0x4c3430,_0xc394b3);}),_0x385317&&_0x522c9c[_0x4bc297(0x124)]();},_0xc394b3[_0x462b97(0x232)]=function(_0x18493e){const _0x47e23f=_0x462b97;if(_0x522c9c[_0x47e23f(0x1ff)]===_0x522c9c[_0x47e23f(0x1d1)]){_0x522c9c[_0x47e23f(0x270)]('open',function(){const _0x1da0cb=_0x47e23f;_0xc394b3[_0x1da0cb(0x232)](_0x18493e);});return;}_0x522c9c[_0x47e23f(0x267)]!==null&&(_0x522c9c[_0x47e23f(0x267)]['_writableState'][_0x47e23f(0x23f)]?(_0x18493e(),_0xc394b3[_0x47e23f(0x143)][_0x47e23f(0x10f)]&&_0xc394b3[_0x47e23f(0x1ca)]()):(_0x522c9c['_socket']['once'](_0x47e23f(0x2ab),function(){_0x18493e();}),_0x522c9c[_0x47e23f(0x166)]()));},_0xc394b3[_0x462b97(0x26d)]=function(){const _0x18c9fa=_0x462b97;_0x522c9c[_0x18c9fa(0x263)]&&_0x522c9c[_0x18c9fa(0x1c7)]();},_0xc394b3['_write']=function(_0x236349,_0x289263,_0x479168){const _0x86bd5e=_0x462b97;if(_0x522c9c[_0x86bd5e(0x1ff)]===_0x522c9c['CONNECTING']){_0x522c9c[_0x86bd5e(0x270)](_0x86bd5e(0x119),function(){const _0x596dba=_0x86bd5e;_0xc394b3[_0x596dba(0x2b1)](_0x236349,_0x289263,_0x479168);});return;}_0x522c9c[_0x86bd5e(0x23e)](_0x236349,_0x479168);},_0xc394b3['on'](_0x462b97(0x26a),_0x424a26),_0xc394b3['on'](_0x462b97(0x112),_0xad202b),_0xc394b3;}return Oe=_0x4babfd,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x6974cb}=ae();function _0x1217a7(_0x2e87f7){const _0x9f281b=_0x1eaa,_0x5dd44c=new Set();let _0x29ff7a=-0x1,_0x19f7fb=-0x1,_0x36cf83=0x0;for(_0x36cf83;_0x36cf83<_0x2e87f7['length'];_0x36cf83++){const _0x187e72=_0x2e87f7[_0x9f281b(0x1dc)](_0x36cf83);if(_0x19f7fb===-0x1&&_0x6974cb[_0x187e72]===0x1)_0x29ff7a===-0x1&&(_0x29ff7a=_0x36cf83);else{if(_0x36cf83!==0x0&&(_0x187e72===0x20||_0x187e72===0x9))_0x19f7fb===-0x1&&_0x29ff7a!==-0x1&&(_0x19f7fb=_0x36cf83);else{if(_0x187e72===0x2c){if(_0x29ff7a===-0x1)throw new SyntaxError(_0x9f281b(0x1cf)+_0x36cf83);_0x19f7fb===-0x1&&(_0x19f7fb=_0x36cf83);const _0xd56949=_0x2e87f7[_0x9f281b(0x120)](_0x29ff7a,_0x19f7fb);if(_0x5dd44c[_0x9f281b(0x278)](_0xd56949))throw new SyntaxError(_0x9f281b(0x21b)+_0xd56949+'\x22\x20subprotocol\x20is\x20duplicated');_0x5dd44c['add'](_0xd56949),_0x29ff7a=_0x19f7fb=-0x1;}else throw new SyntaxError(_0x9f281b(0x1cf)+_0x36cf83);}}}if(_0x29ff7a===-0x1||_0x19f7fb!==-0x1)throw new SyntaxError(_0x9f281b(0x109));const _0x27b21b=_0x2e87f7['slice'](_0x29ff7a,_0x36cf83);if(_0x5dd44c[_0x9f281b(0x278)](_0x27b21b))throw new SyntaxError(_0x9f281b(0x21b)+_0x27b21b+_0x9f281b(0x277));return _0x5dd44c[_0x9f281b(0x1d5)](_0x27b21b),_0x5dd44c;}return Ce={'parse':_0x1217a7},Ce;}var Te,rt;function Ft(){const _0x303cb1=_0xa527ae;if(rt)return Te;rt=0x1;const _0x38a75c=nt,_0x4e5917=ot,{Duplex:_0x2df1bc}=oe,{createHash:_0x4eac3b}=Le,_0x293bf8=ct(),_0x411e7f=he(),_0x466dea=At(),_0x43c94e=Pe(),{GUID:_0x2e6360,kWebSocket:_0x19c59a}=H(),_0x3a314d=/^[+/0-9A-Za-z]{22}==$/,_0x558890=0x0,_0x15dde8=0x1,_0x7087b8=0x2;class _0x1a4f05 extends _0x38a75c{constructor(_0x172ff0,_0x49e35f){const _0x50009c=_0x1eaa;if(super(),_0x172ff0={'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':_0x43c94e,..._0x172ff0},_0x172ff0[_0x50009c(0x2a4)]==null&&!_0x172ff0[_0x50009c(0x1d7)]&&!_0x172ff0['noServer']||_0x172ff0[_0x50009c(0x2a4)]!=null&&(_0x172ff0[_0x50009c(0x1d7)]||_0x172ff0[_0x50009c(0x1ef)])||_0x172ff0[_0x50009c(0x1d7)]&&_0x172ff0[_0x50009c(0x1ef)])throw new TypeError(_0x50009c(0x28c));if(_0x172ff0[_0x50009c(0x2a4)]!=null?(this['_server']=_0x4e5917[_0x50009c(0x1f5)]((_0x439337,_0x3083ed)=>{const _0x5d1c63=_0x50009c,_0x314328=_0x4e5917[_0x5d1c63(0x2a2)][0x1aa];_0x3083ed[_0x5d1c63(0x288)](0x1aa,{'Content-Length':_0x314328[_0x5d1c63(0x1f1)],'Content-Type':_0x5d1c63(0x244)}),_0x3083ed['end'](_0x314328);}),this[_0x50009c(0x1af)][_0x50009c(0x262)](_0x172ff0[_0x50009c(0x2a4)],_0x172ff0[_0x50009c(0x2ac)],_0x172ff0[_0x50009c(0x1e1)],_0x49e35f)):_0x172ff0[_0x50009c(0x1d7)]&&(this[_0x50009c(0x1af)]=_0x172ff0[_0x50009c(0x1d7)]),this[_0x50009c(0x1af)]){const _0x54b496=this['emit'][_0x50009c(0xff)](this,'connection');this[_0x50009c(0x29c)]=_0x3bbcb7(this[_0x50009c(0x1af)],{'listening':this[_0x50009c(0x287)][_0x50009c(0xff)](this,_0x50009c(0x1c0)),'error':this[_0x50009c(0x287)][_0x50009c(0xff)](this,_0x50009c(0x112)),'upgrade':(_0x5f24eb,_0x2f0cac,_0x566c2d)=>{const _0x4a567c=_0x50009c;this[_0x4a567c(0x23d)](_0x5f24eb,_0x2f0cac,_0x566c2d,_0x54b496);}});}_0x172ff0[_0x50009c(0x129)]===!0x0&&(_0x172ff0['perMessageDeflate']={}),_0x172ff0[_0x50009c(0xf0)]&&(this[_0x50009c(0x1a8)]=new Set(),this[_0x50009c(0x115)]=!0x1),this[_0x50009c(0x147)]=_0x172ff0,this['_state']=_0x558890;}[_0x303cb1(0x27b)](){const _0xc4255=_0x303cb1;if(this['options'][_0xc4255(0x1ef)])throw new Error(_0xc4255(0x1e6));return this[_0xc4255(0x1af)]?this[_0xc4255(0x1af)][_0xc4255(0x27b)]():null;}[_0x303cb1(0x166)](_0x3c01b6){const _0x1a53c6=_0x303cb1;if(this[_0x1a53c6(0xfa)]===_0x7087b8){_0x3c01b6&&this[_0x1a53c6(0x270)](_0x1a53c6(0x166),()=>{const _0x4e5f23=_0x1a53c6;_0x3c01b6(new Error(_0x4e5f23(0x228)));}),process[_0x1a53c6(0x102)](_0x78072c,this);return;}if(_0x3c01b6&&this[_0x1a53c6(0x270)](_0x1a53c6(0x166),_0x3c01b6),this[_0x1a53c6(0xfa)]!==_0x15dde8){if(this[_0x1a53c6(0xfa)]=_0x15dde8,this['options']['noServer']||this[_0x1a53c6(0x147)][_0x1a53c6(0x1d7)])this[_0x1a53c6(0x1af)]&&(this['_removeListeners'](),this[_0x1a53c6(0x29c)]=this[_0x1a53c6(0x1af)]=null),this[_0x1a53c6(0x1a8)]?this[_0x1a53c6(0x1a8)][_0x1a53c6(0x24c)]?this[_0x1a53c6(0x115)]=!0x0:process['nextTick'](_0x78072c,this):process[_0x1a53c6(0x102)](_0x78072c,this);else{const _0x286c7c=this[_0x1a53c6(0x1af)];this[_0x1a53c6(0x29c)](),this[_0x1a53c6(0x29c)]=this[_0x1a53c6(0x1af)]=null,_0x286c7c[_0x1a53c6(0x166)](()=>{_0x78072c(this);});}}}[_0x303cb1(0x156)](_0xd656a7){const _0x45e0e3=_0x303cb1;if(this[_0x45e0e3(0x147)][_0x45e0e3(0x223)]){const _0x5dacf1=_0xd656a7[_0x45e0e3(0x205)][_0x45e0e3(0x13d)]('?');if((_0x5dacf1!==-0x1?_0xd656a7['url']['slice'](0x0,_0x5dacf1):_0xd656a7[_0x45e0e3(0x205)])!==this[_0x45e0e3(0x147)][_0x45e0e3(0x223)])return!0x1;}return!0x0;}[_0x303cb1(0x23d)](_0x3ab540,_0x481cc2,_0x17e63a,_0x5a2702){const _0xa6d303=_0x303cb1;_0x481cc2['on'](_0xa6d303(0x112),_0x5eaee6);const _0x1b8f6e=_0x3ab540['headers']['sec-websocket-key'],_0x1ee5fd=_0x3ab540['headers'][_0xa6d303(0x193)],_0x317674=+_0x3ab540['headers'][_0xa6d303(0x213)];if(_0x3ab540[_0xa6d303(0x18a)]!==_0xa6d303(0x1d0)){_0x331150(this,_0x3ab540,_0x481cc2,0x195,_0xa6d303(0x227));return;}if(_0x1ee5fd===void 0x0||_0x1ee5fd['toLowerCase']()!==_0xa6d303(0x280)){_0x331150(this,_0x3ab540,_0x481cc2,0x190,_0xa6d303(0x175));return;}if(_0x1b8f6e===void 0x0||!_0x3a314d[_0xa6d303(0x21f)](_0x1b8f6e)){_0x331150(this,_0x3ab540,_0x481cc2,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x317674!==0xd&&_0x317674!==0x8){_0x331150(this,_0x3ab540,_0x481cc2,0x190,_0xa6d303(0x231),{'Sec-WebSocket-Version':_0xa6d303(0x1b7)});return;}if(!this[_0xa6d303(0x156)](_0x3ab540)){_0x10e86e(_0x481cc2,0x190);return;}const _0x474af7=_0x3ab540[_0xa6d303(0x28b)][_0xa6d303(0x212)];let _0x3ae596=new Set();if(_0x474af7!==void 0x0)try{_0x3ae596=_0x466dea[_0xa6d303(0x15a)](_0x474af7);}catch{_0x331150(this,_0x3ab540,_0x481cc2,0x190,_0xa6d303(0x1ae));return;}const _0x394831=_0x3ab540[_0xa6d303(0x28b)][_0xa6d303(0x245)],_0x547f9c={};if(this['options']['perMessageDeflate']&&_0x394831!==void 0x0){const _0x386b7b=new _0x411e7f(this[_0xa6d303(0x147)]['perMessageDeflate'],!0x0,this[_0xa6d303(0x147)][_0xa6d303(0x185)]);try{const _0x5ea8a8=_0x293bf8[_0xa6d303(0x15a)](_0x394831);_0x5ea8a8[_0x411e7f[_0xa6d303(0x1de)]]&&(_0x386b7b[_0xa6d303(0x157)](_0x5ea8a8[_0x411e7f['extensionName']]),_0x547f9c[_0x411e7f['extensionName']]=_0x386b7b);}catch{_0x331150(this,_0x3ab540,_0x481cc2,0x190,_0xa6d303(0x189));return;}}if(this[_0xa6d303(0x147)][_0xa6d303(0x255)]){const _0x5830b2={'origin':_0x3ab540[_0xa6d303(0x28b)][''+(_0x317674===0x8?_0xa6d303(0x200):'origin')],'secure':!!(_0x3ab540[_0xa6d303(0x117)][_0xa6d303(0x164)]||_0x3ab540['socket'][_0xa6d303(0x237)]),'req':_0x3ab540};if(this[_0xa6d303(0x147)][_0xa6d303(0x255)]['length']===0x2){this[_0xa6d303(0x147)][_0xa6d303(0x255)](_0x5830b2,(_0x42586c,_0x333cf7,_0x16919c,_0x44ec28)=>{if(!_0x42586c)return _0x10e86e(_0x481cc2,_0x333cf7||0x191,_0x16919c,_0x44ec28);this['completeUpgrade'](_0x547f9c,_0x1b8f6e,_0x3ae596,_0x3ab540,_0x481cc2,_0x17e63a,_0x5a2702);});return;}if(!this[_0xa6d303(0x147)][_0xa6d303(0x255)](_0x5830b2))return _0x10e86e(_0x481cc2,0x191);}this[_0xa6d303(0x170)](_0x547f9c,_0x1b8f6e,_0x3ae596,_0x3ab540,_0x481cc2,_0x17e63a,_0x5a2702);}[_0x303cb1(0x170)](_0x4418f3,_0x32afa8,_0x4d592a,_0xa5772b,_0x3666e7,_0x21d52a,_0x1a031b){const _0x4aebf3=_0x303cb1;if(!_0x3666e7['readable']||!_0x3666e7[_0x4aebf3(0xfb)])return _0x3666e7[_0x4aebf3(0x1ca)]();if(_0x3666e7[_0x19c59a])throw new Error(_0x4aebf3(0x24a));if(this[_0x4aebf3(0xfa)]>_0x558890)return _0x10e86e(_0x3666e7,0x1f7);const _0x58033c=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x4aebf3(0x1b4),_0x4aebf3(0x1d8),_0x4aebf3(0x27d)+_0x4eac3b(_0x4aebf3(0x1b1))[_0x4aebf3(0x2b8)](_0x32afa8+_0x2e6360)[_0x4aebf3(0x254)]('base64')],_0x381c0b=new this['options'][(_0x4aebf3(0x199))](null,void 0x0,this[_0x4aebf3(0x147)]);if(_0x4d592a[_0x4aebf3(0x24c)]){const _0x291520=this[_0x4aebf3(0x147)]['handleProtocols']?this[_0x4aebf3(0x147)][_0x4aebf3(0x28e)](_0x4d592a,_0xa5772b):_0x4d592a[_0x4aebf3(0x1f9)]()['next']()[_0x4aebf3(0x23a)];_0x291520&&(_0x58033c[_0x4aebf3(0x17c)]('Sec-WebSocket-Protocol:\x20'+_0x291520),_0x381c0b['_protocol']=_0x291520);}if(_0x4418f3[_0x411e7f[_0x4aebf3(0x1de)]]){const _0x249c20=_0x4418f3[_0x411e7f[_0x4aebf3(0x1de)]]['params'],_0x12c3a6=_0x293bf8[_0x4aebf3(0x198)]({[_0x411e7f[_0x4aebf3(0x1de)]]:[_0x249c20]});_0x58033c['push'](_0x4aebf3(0x1d9)+_0x12c3a6),_0x381c0b['_extensions']=_0x4418f3;}this[_0x4aebf3(0x287)](_0x4aebf3(0x28b),_0x58033c,_0xa5772b),_0x3666e7['write'](_0x58033c[_0x4aebf3(0xef)]('\x0d\x0a')['join']('\x0d\x0a')),_0x3666e7[_0x4aebf3(0x19b)](_0x4aebf3(0x112),_0x5eaee6),_0x381c0b['setSocket'](_0x3666e7,_0x21d52a,{'allowSynchronousEvents':this[_0x4aebf3(0x147)][_0x4aebf3(0x111)],'maxPayload':this['options'][_0x4aebf3(0x185)],'skipUTF8Validation':this[_0x4aebf3(0x147)]['skipUTF8Validation']}),this[_0x4aebf3(0x1a8)]&&(this[_0x4aebf3(0x1a8)][_0x4aebf3(0x1d5)](_0x381c0b),_0x381c0b['on'](_0x4aebf3(0x166),()=>{const _0x2f6d16=_0x4aebf3;this['clients'][_0x2f6d16(0x284)](_0x381c0b),this[_0x2f6d16(0x115)]&&!this['clients'][_0x2f6d16(0x24c)]&&process['nextTick'](_0x78072c,this);})),_0x1a031b(_0x381c0b,_0xa5772b);}}Te=_0x1a4f05;function _0x3bbcb7(_0x42999c,_0x133dfb){for(const _0x597bf9 of Object['keys'](_0x133dfb))_0x42999c['on'](_0x597bf9,_0x133dfb[_0x597bf9]);return function(){const _0x4a0f30=_0x1eaa;for(const _0xeafbf of Object[_0x4a0f30(0x13f)](_0x133dfb))_0x42999c[_0x4a0f30(0x19b)](_0xeafbf,_0x133dfb[_0xeafbf]);};}function _0x78072c(_0x11c04d){const _0x35c6db=_0x303cb1;_0x11c04d[_0x35c6db(0xfa)]=_0x7087b8,_0x11c04d[_0x35c6db(0x287)]('close');}function _0x5eaee6(){const _0x58b9de=_0x303cb1;this[_0x58b9de(0x1ca)]();}function _0x10e86e(_0x5c92c7,_0x82626e,_0x4f5069,_0x229672){const _0x4dbe09=_0x303cb1;_0x4f5069=_0x4f5069||_0x4e5917[_0x4dbe09(0x2a2)][_0x82626e],_0x229672={'Connection':'close','Content-Type':_0x4dbe09(0x1c4),'Content-Length':Buffer[_0x4dbe09(0x1fc)](_0x4f5069),..._0x229672},_0x5c92c7[_0x4dbe09(0x270)](_0x4dbe09(0x2ab),_0x5c92c7[_0x4dbe09(0x1ca)]),_0x5c92c7[_0x4dbe09(0x26a)](_0x4dbe09(0x1b8)+_0x82626e+'\x20'+_0x4e5917[_0x4dbe09(0x2a2)][_0x82626e]+'\x0d\x0a'+Object[_0x4dbe09(0x13f)](_0x229672)[_0x4dbe09(0x1a2)](_0x8db86e=>_0x8db86e+':\x20'+_0x229672[_0x8db86e])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x4f5069);}function _0x331150(_0x49a760,_0xc2829d,_0x8da666,_0x54f3da,_0x9937e9,_0x16ee65){const _0x9b4bfc=_0x303cb1;if(_0x49a760[_0x9b4bfc(0x258)](_0x9b4bfc(0x121))){const _0x41b417=new Error(_0x9937e9);Error['captureStackTrace'](_0x41b417,_0x331150),_0x49a760['emit'](_0x9b4bfc(0x121),_0x41b417,_0x8da666,_0xc2829d);}else _0x10e86e(_0x8da666,_0x54f3da,_0x9937e9,_0x16ee65);}return Te;}Ft();var jt=Object[_0xa527ae(0x1cc)],Wt=(_0x24f0e2,_0x5118b9,_0x260db4,_0x2e864b)=>{const _0x589196=_0xa527ae;for(var _0x116d0e=_0x2e864b>0x1?void 0x0:_0x2e864b?jt(_0x5118b9,_0x260db4):_0x5118b9,_0x476500=_0x24f0e2[_0x589196(0x1f1)]-0x1,_0x5050b0;_0x476500>=0x0;_0x476500--)(_0x5050b0=_0x24f0e2[_0x476500])&&(_0x116d0e=_0x5050b0(_0x116d0e)||_0x116d0e);return _0x116d0e;},qt=(_0x48eb4b,_0x332f5f)=>(_0x2ba25e,_0x418ad6)=>_0x332f5f(_0x2ba25e,_0x418ad6,_0x48eb4b);let ke=class extends A[_0xa527ae(0x161)]{constructor(_0x2e1b08){super(),this['_configService']=_0x2e1b08;}[_0xa527ae(0x1f2)](_0x5d4f4c){const _0x18a498=_0xa527ae;var _0x432f12;const _0x28cf4d=(_0x432f12=this['_configService'][_0x18a498(0x246)](fe))==null?void 0x0:_0x432f12[_0x18a498(0x140)];try{const _0x235522=new $t(_0x5d4f4c,{'headers':{..._0x28cf4d}}),_0x364834=new A[(_0x18a498(0x1c5))]();return{'URL':_0x5d4f4c,'close':(_0x20ef2b,_0x572478)=>{const _0x1e4389=_0x18a498;_0x235522[_0x1e4389(0x166)](_0x20ef2b,_0x572478),_0x364834[_0x1e4389(0x2aa)]();},'send':_0x1f016d=>{const _0x2262a0=_0x18a498;_0x235522[_0x2262a0(0x23e)](_0x1f016d);},'open$':new V[(_0x18a498(0x1d2))](_0x5e12df=>{const _0x2ad8c2=_0x18a498,_0x5b72fe=_0x4b2b60=>_0x5e12df[_0x2ad8c2(0x1e8)](_0x4b2b60);_0x235522[_0x2ad8c2(0x11b)](_0x2ad8c2(0x119),_0x5b72fe),_0x364834[_0x2ad8c2(0x1d5)](A['toDisposable'](()=>_0x235522[_0x2ad8c2(0x114)](_0x2ad8c2(0x119),_0x5b72fe)));})[_0x18a498(0x1a0)](V[_0x18a498(0x2b7)]()),'close$':new V[(_0x18a498(0x1d2))](_0x14f63f=>{const _0x5a1c4e=_0x18a498,_0x4dd34c=_0x2ca550=>_0x14f63f[_0x5a1c4e(0x1e8)](_0x2ca550);_0x235522[_0x5a1c4e(0x11b)](_0x5a1c4e(0x166),_0x4dd34c),_0x364834[_0x5a1c4e(0x1d5)](A['toDisposable'](()=>_0x235522[_0x5a1c4e(0x114)]('close',_0x4dd34c)));})[_0x18a498(0x1a0)](V['share']()),'error$':new V['Observable'](_0x158d2b=>{const _0xb1c3ca=_0x18a498,_0x1e4f38=_0x538ab3=>_0x158d2b[_0xb1c3ca(0x1e8)](_0x538ab3);_0x235522['addEventListener'](_0xb1c3ca(0x112),_0x1e4f38),_0x364834[_0xb1c3ca(0x1d5)](A['toDisposable'](()=>_0x235522[_0xb1c3ca(0x114)](_0xb1c3ca(0x112),_0x1e4f38)));})[_0x18a498(0x1a0)](V['share']()),'message$':new V['Observable'](_0xf49d4=>{const _0x3fdfee=_0x18a498,_0x1e1fa9=_0x42e420=>_0xf49d4['next'](_0x42e420);_0x235522[_0x3fdfee(0x11b)](_0x3fdfee(0xfe),_0x1e1fa9),_0x364834[_0x3fdfee(0x1d5)](A['toDisposable'](()=>_0x235522[_0x3fdfee(0x114)]('message',_0x1e1fa9)));})[_0x18a498(0x1a0)](V['share']())};}catch(_0x3978a6){return console[_0x18a498(0x112)](_0x3978a6),null;}}};ke=Wt([qt(0x0,A[_0xa527ae(0x210)])],ke);var Gt=Object['defineProperty'],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x3f3103,_0x1e5279,_0x4efc62)=>_0x1e5279 in _0x3f3103?Gt(_0x3f3103,_0x1e5279,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4efc62}):_0x3f3103[_0x1e5279]=_0x4efc62,zt=(_0x12f943,_0x4122f6,_0x7f607e,_0x17232f)=>{const _0x5406a7=_0xa527ae;for(var _0x42a586=_0x17232f>0x1?void 0x0:_0x17232f?Vt(_0x4122f6,_0x7f607e):_0x4122f6,_0x5ee68a=_0x12f943[_0x5406a7(0x1f1)]-0x1,_0x4c4acf;_0x5ee68a>=0x0;_0x5ee68a--)(_0x4c4acf=_0x12f943[_0x5ee68a])&&(_0x42a586=_0x4c4acf(_0x42a586)||_0x42a586);return _0x42a586;},Ne=(_0x44f70a,_0x2572fd)=>(_0x4c5e81,_0x5d9631)=>_0x2572fd(_0x4c5e81,_0x5d9631,_0x44f70a),Yt=(_0xc8c179,_0x1b04fe,_0x17b784)=>Ht(_0xc8c179,_0x1b04fe+'',_0x17b784);exports[_0xa527ae(0x13e)]=class extends A[_0xa527ae(0x1ea)]{constructor(_0x26ef38=Ct,_0x1c7d1a,_0x38a17e,_0x503b3a){const _0x465e80=_0xa527ae;_0x26ef38[_0x465e80(0x140)]||_0x1c7d1a[_0x465e80(0x214)](_0x465e80(0x1be)),super(),this[_0x465e80(0x138)]=_0x38a17e,this[_0x465e80(0x275)]=_0x503b3a,this[_0x465e80(0x138)][_0x465e80(0x106)](fe,_0x26ef38);}[_0xa527ae(0x1a9)](){const _0x2cec41=_0xa527ae;this[_0x2cec41(0x283)]();}[_0xa527ae(0x283)](){const _0x388519=_0xa527ae;A[_0x388519(0x28d)](this[_0x388519(0x275)],[[it[_0x388519(0x2b2)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0xa527ae(0x21c),_0xa527ae(0x236)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0xa527ae(0x259)](st[_0xa527ae(0x1fe)]),Ne(0x1,A[_0xa527ae(0x148)]),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0xa527ae(0x247)](A['Injector']))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0xa527ae(0x1cc)],Xt=(_0x40f4c9,_0x3d8d50,_0x526dc8,_0x512aa2)=>{for(var _0x4c7097=_0x512aa2>0x1?void 0x0:_0x512aa2?Kt(_0x3d8d50,_0x526dc8):_0x3d8d50,_0x59effd=_0x40f4c9['length']-0x1,_0xb37b4a;_0x59effd>=0x0;_0x59effd--)(_0xb37b4a=_0x40f4c9[_0x59effd])&&(_0x4c7097=_0xb37b4a(_0x4c7097)||_0x4c7097);return _0x4c7097;},ne=(_0x5831c6,_0x54679d)=>(_0x3c4675,_0x1b7ada)=>_0x54679d(_0x3c4675,_0x1b7ada,_0x5831c6);exports[_0xa527ae(0x1ba)]=class extends st[_0xa527ae(0x1e2)]{constructor(_0x15eccd,_0x4f9f5a,_0x5c8966,_0x2caba8,_0xbde3a7){const _0x5a97d9=_0xa527ae;super(_0x15eccd,_0x4f9f5a,_0x5c8966,_0x2caba8,_0xbde3a7);const _0x2a708b=this['_configService']['getConfig'](fe);this[_0x5a97d9(0x25e)]['registerHTTPInterceptor']({'interceptor':(_0x2fceee,_0x55baa2)=>{const _0x60c79b=_0x5a97d9;var _0x30d6b1;const _0x20f833=_0x2fceee['headers'];return(_0x30d6b1=_0x2a708b==null?void 0x0:_0x2a708b[_0x60c79b(0x140)])!=null&&_0x30d6b1[_0x60c79b(0x29a)]&&_0x20f833[_0x60c79b(0x107)](_0x60c79b(0x17e),_0x2a708b[_0x60c79b(0x140)][_0x60c79b(0x29a)]),_0x55baa2(_0x2fceee);}});}async['createSocket'](_0x4b803e){const _0x4b1ef1=_0xa527ae;return this[_0x4b1ef1(0x105)](_0x4b803e);}},exports[_0xa527ae(0x1ba)]=Xt([ne(0x0,A[_0xa527ae(0x247)](A[_0xa527ae(0x2b9)])),ne(0x1,A[_0xa527ae(0x247)](it[_0xa527ae(0x18f)])),ne(0x2,A['IConfigService']),ne(0x3,A[_0xa527ae(0x148)]),ne(0x4,Ot[_0xa527ae(0x256)])],exports['NodeCollaborationSocketService']),exports[_0xa527ae(0x29d)]=fe;
1
+ 'use strict';const _0x230e5d=_0x571c;(function(_0x222b60,_0x46f06f){const _0x2ee6f3=_0x571c,_0x4216b5=_0x222b60();while(!![]){try{const _0x2f199f=parseInt(_0x2ee6f3(0x2fe))/0x1+-parseInt(_0x2ee6f3(0x213))/0x2+parseInt(_0x2ee6f3(0x179))/0x3+-parseInt(_0x2ee6f3(0x1c7))/0x4+-parseInt(_0x2ee6f3(0x2ed))/0x5+-parseInt(_0x2ee6f3(0x2e7))/0x6*(parseInt(_0x2ee6f3(0x1b0))/0x7)+parseInt(_0x2ee6f3(0x2ae))/0x8*(parseInt(_0x2ee6f3(0x305))/0x9);if(_0x2f199f===_0x46f06f)break;else _0x4216b5['push'](_0x4216b5['shift']());}catch(_0xba09a9){_0x4216b5['push'](_0x4216b5['shift']());}}}(_0x8247,0xdebcb));Object[_0x230e5d(0x2a5)](exports,Symbol[_0x230e5d(0x1dd)],{'value':_0x230e5d(0x2aa)});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=_0x230e5d(0x231),Ct={'customHeaders':{}};function Tt(_0x4ee639){const _0x1334c4=_0x230e5d;return _0x4ee639&&_0x4ee639[_0x1334c4(0x235)]&&Object['prototype'][_0x1334c4(0x1fa)][_0x1334c4(0x1d0)](_0x4ee639,'default')?_0x4ee639[_0x1334c4(0x1a2)]:_0x4ee639;}function at(_0x39729a){const _0x33b9b=_0x230e5d;if(Object['prototype'][_0x33b9b(0x1fa)][_0x33b9b(0x1d0)](_0x39729a,_0x33b9b(0x235)))return _0x39729a;var _0x1f4bb=_0x39729a[_0x33b9b(0x1a2)];if(typeof _0x1f4bb==_0x33b9b(0x220)){var _0x584f07=function _0x49775c(){const _0x2fa970=_0x33b9b;var _0x257e15=!0x1;try{_0x257e15=this instanceof _0x49775c;}catch{}return _0x257e15?Reflect[_0x2fa970(0x250)](_0x1f4bb,arguments,this[_0x2fa970(0x1cc)]):_0x1f4bb[_0x2fa970(0x19f)](this,arguments);};_0x584f07[_0x33b9b(0x23d)]=_0x1f4bb[_0x33b9b(0x23d)];}else _0x584f07={};return Object[_0x33b9b(0x2a5)](_0x584f07,'__esModule',{'value':!0x0}),Object[_0x33b9b(0x161)](_0x39729a)[_0x33b9b(0x271)](function(_0x2d5b6a){const _0x123ab9=_0x33b9b;var _0x4dbef2=Object[_0x123ab9(0x261)](_0x39729a,_0x2d5b6a);Object[_0x123ab9(0x2a5)](_0x584f07,_0x2d5b6a,_0x4dbef2['get']?_0x4dbef2:{'enumerable':!0x0,'get':function(){return _0x39729a[_0x2d5b6a];}});}),_0x584f07;}function _0x571c(_0x3cc063,_0x22dcb6){const _0x824713=_0x8247();return _0x571c=function(_0x571c36,_0x51db1d){_0x571c36=_0x571c36-0x160;let _0x296e0f=_0x824713[_0x571c36];return _0x296e0f;},_0x571c(_0x3cc063,_0x22dcb6);}var se={'exports':{}},ge,Ge;function H(){const _0x41211b=_0x230e5d;if(Ge)return ge;Ge=0x1;const _0x2c5916=[_0x41211b(0x214),_0x41211b(0x197),'fragments'],_0x1d30df=typeof Blob<'u';return _0x1d30df&&_0x2c5916[_0x41211b(0x303)]('blob'),ge={'BINARY_TYPES':_0x2c5916,'EMPTY_BUFFER':Buffer[_0x41211b(0x30f)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x1d30df,'kForOnEventAttribute':Symbol(_0x41211b(0x2a7)),'kListener':Symbol(_0x41211b(0x224)),'kStatusCode':Symbol(_0x41211b(0x298)),'kWebSocket':Symbol(_0x41211b(0x187)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0x230e5d(0x2a5)]({'__proto__':null,'default':Nt},Symbol[_0x230e5d(0x1dd)],{'value':_0x230e5d(0x2aa)})),Lt=at(kt);var Ve;function ce(){const _0x17f831=_0x230e5d;if(Ve)return se[_0x17f831(0x1ad)];Ve=0x1;const {EMPTY_BUFFER:_0x24570a}=H(),_0x1be110=Buffer[Symbol['species']];function _0xe165ab(_0x36eecf,_0x378277){const _0xfc1ccf=_0x17f831;if(_0x36eecf[_0xfc1ccf(0x2d0)]===0x0)return _0x24570a;if(_0x36eecf[_0xfc1ccf(0x2d0)]===0x1)return _0x36eecf[0x0];const _0x110add=Buffer[_0xfc1ccf(0x199)](_0x378277);let _0x5c35a3=0x0;for(let _0x3104fb=0x0;_0x3104fb<_0x36eecf['length'];_0x3104fb++){const _0x10590b=_0x36eecf[_0x3104fb];_0x110add[_0xfc1ccf(0x275)](_0x10590b,_0x5c35a3),_0x5c35a3+=_0x10590b[_0xfc1ccf(0x2d0)];}return _0x5c35a3<_0x378277?new _0x1be110(_0x110add[_0xfc1ccf(0x2bd)],_0x110add['byteOffset'],_0x5c35a3):_0x110add;}function _0x5d64cb(_0x17b6f4,_0xdd8a,_0x106a30,_0x483992,_0x289216){for(let _0x10eb68=0x0;_0x10eb68<_0x289216;_0x10eb68++)_0x106a30[_0x483992+_0x10eb68]=_0x17b6f4[_0x10eb68]^_0xdd8a[_0x10eb68&0x3];}function _0x250a8b(_0x53c3c1,_0x1e6509){for(let _0x348d73=0x0;_0x348d73<_0x53c3c1['length'];_0x348d73++)_0x53c3c1[_0x348d73]^=_0x1e6509[_0x348d73&0x3];}function _0x134289(_0x52112b){const _0x46856f=_0x17f831;return _0x52112b[_0x46856f(0x2d0)]===_0x52112b[_0x46856f(0x2bd)]['byteLength']?_0x52112b['buffer']:_0x52112b[_0x46856f(0x2bd)][_0x46856f(0x26d)](_0x52112b[_0x46856f(0x295)],_0x52112b[_0x46856f(0x295)]+_0x52112b['length']);}function _0x4cecac(_0x234200){const _0x3044db=_0x17f831;if(_0x4cecac[_0x3044db(0x219)]=!0x0,Buffer['isBuffer'](_0x234200))return _0x234200;let _0x3cff62;return _0x234200 instanceof ArrayBuffer?_0x3cff62=new _0x1be110(_0x234200):ArrayBuffer[_0x3044db(0x2cb)](_0x234200)?_0x3cff62=new _0x1be110(_0x234200[_0x3044db(0x2bd)],_0x234200[_0x3044db(0x295)],_0x234200[_0x3044db(0x23e)]):(_0x3cff62=Buffer[_0x3044db(0x316)](_0x234200),_0x4cecac[_0x3044db(0x219)]=!0x1),_0x3cff62;}if(se[_0x17f831(0x1ad)]={'concat':_0xe165ab,'mask':_0x5d64cb,'toArrayBuffer':_0x134289,'toBuffer':_0x4cecac,'unmask':_0x250a8b},!process[_0x17f831(0x2dd)][_0x17f831(0x246)])try{const _0x337eca=Lt;se['exports'][_0x17f831(0x1ea)]=function(_0x1f645a,_0x4933b6,_0x2d2c40,_0x318084,_0x2d0d01){const _0x1d6d60=_0x17f831;_0x2d0d01<0x30?_0x5d64cb(_0x1f645a,_0x4933b6,_0x2d2c40,_0x318084,_0x2d0d01):_0x337eca[_0x1d6d60(0x1ea)](_0x1f645a,_0x4933b6,_0x2d2c40,_0x318084,_0x2d0d01);},se[_0x17f831(0x1ad)][_0x17f831(0x183)]=function(_0x214af2,_0x2ba993){const _0x3265be=_0x17f831;_0x214af2['length']<0x20?_0x250a8b(_0x214af2,_0x2ba993):_0x337eca[_0x3265be(0x183)](_0x214af2,_0x2ba993);};}catch{}return se[_0x17f831(0x1ad)];}function _0x8247(){const _0x3fbe0f=['createError','kDone','154MKqOBt','isValidUTF8','Server\x20sent\x20an\x20invalid\x20subprotocol','threshold','removeListener','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_binaryType','indexOf','_errorEmitted','hostname','conclude','decompress','error','auth','invalid\x20opcode\x20','_paused','split','redirect','_compress','_readyState','_isServer','concurrencyLimit','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','868972FkRIAa','The\x20server\x20is\x20not\x20running','setTimeout','then','addEventListener','constructor','customHeaders','followRedirects','HTTP/1.1\x20101\x20Switching\x20Protocols','call','errorEmitted','has','\x22:\x20','parse','response','handshakeTimeout','pong','finishRequest','charCodeAt','pipe','Z_SYNC_FLUSH','freeze','toStringTag','File','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','headers','_skipUTF8Validation','once','maxRedirects','string','Parameter\x20\x22','createConnection','_originalIpc','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','Inject','mask','concurrency','Invalid\x20Sec-WebSocket-Accept\x20header','completeUpgrade','sec-websocket-protocol','destroyed','sec-websocket-accept','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','Opening\x20handshake\x20has\x20timed\x20out','createDeflateRaw','_no_context_takeover','emitClose','bind','getBlobData','_masked','test','hasOwnProperty','socket','number','_closeTimer','createServer','setNoDelay','getPayloadLength16','binaryType','pathname','socketPath','_closeFrameReceived','Max\x20payload\x20size\x20exceeded','statusCode','Unexpected\x20end\x20of\x20input','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','isArray','code','_shouldEmitClose','target','toString','_messageLength','values','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','RSV1\x20must\x20be\x20clear','invalid\x20opcode\x200','3367748jxGPtg','nodebuffer','encrypted','13,\x208','onmessage','sec-websocket-origin','readOnly','createInflateRaw','Disposable','isInteger','finished','find','extensions','function','client_no_context_takeover','cork','Upgrade','kListener','_buffers','Invalid\x20URL:\x20','arrayBuffer','sha1','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','Sec-WebSocket-Extensions','accept','object','clients','Invalid\x20value\x20for\x20parameter\x20\x22','setSocket','maskBuffer','collaboration-client-node.config','client_max_window_bits','generateMask','emit','__esModule','startLoop','handleEvent','cookie','nextTick','unexpected-response','handleUpgrade','url','prototype','byteLength','noServer','sendFrame','Z_DEFAULT_WINDOWBITS','share','serverNoContextTakeover','join','_protocol','WS_NO_BUFFER_UTIL','acceptAsServer','getConfig','uncork','_injector','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','getData','CONNECTING','end','defaultPort','construct','_totalPayloadLength','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','invalid\x20UTF-8\x20sequence','_url','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_allowSynchronousEvents','extensionName','upgrade','_decompress','_writableState','options','_fin','_receiver','digest','_originalSecure','Sec-WebSocket-Protocol:\x20','getOwnPropertyDescriptor','_mask','next','_compressed','_generateMask','address','readyState','_removeListeners','serverMaxWindowBits','base64','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','shouldHandle','slice','wasClean','Plugin','WS_ERR_INVALID_OPCODE','forEach','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','kMessage','wss:','set','format','getMask','search','text/plain','write','Connection:\x20Upgrade','href','_req','Observable','UniverCollaborationClientNodePlugin','https:','concat','setHeader','allowSynchronousEvents','WS_ERR_INVALID_UTF8','kError','send','kType','zlibDeflateOptions','timeout','skipUTF8Validation','verifyClient','WebSocket','terminate','wsClientError','WS_ERR_UNEXPECTED_MASK','server_no_context_takeover','CLOSED','_registerDependencies','Invalid\x20WebSocket\x20frame:\x20','protocolVersion','byteOffset','finish','_max_window_bits','status-code','port','listenerCount','_destroy','data','origin','_deflate','Blob','_loop','_read','close','total-length','captureStackTrace','defineProperty','MASK\x20must\x20be\x20set','kIsForOnEventAttribute','getInfo','_sender','Module','jobs','path','_final','528EXpwVB','dispatch','map','listen','createSocket','perMessageDeflate','\x20(supported\x20versions:\x20','kTarget','cleanup','update','authorized','params','Maximum\x20redirects\x20exceeded','Upgrade:\x20websocket','reset','buffer','value','reason','_closeMessage','pluginName','type','Sec-WebSocket-Origin','message','acceptAsClient','_bufferedAmount','_readableState','_server','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','create','isView','_errored','protocol','listeners','_redirects','length','WS_ERR_EXPECTED_MASK','DisposableCollection','_socket','_state','registerDependencies','enqueue','flush','rsv1','isPaused','pending','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','OPEN','env','offer','abort','sec-websocket-extensions','haveLength','WS_NO_UTF_8_VALIDATE','maxPayload','WS_ERR_UNEXPECTED_RSV_1','The\x20\x22','read','21498vZmPzM','destroy','Origin','isIP','objectMode','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','8856830VXwNqa','CLOSING','_inflate','server_max_window_bits','_closeFrameSent','COLLABORATION_CLIENT_NODE_CONFIG_KEY','startsWith','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','onStarting','\x22\x20subprotocol\x20is\x20duplicated','handleProtocols','consume','kCode','CollaborationSocketService','pause','shift','toLowerCase','1069419xBaXgR','Unknown\x20parameter\x20\x22','removeEventListener','host','server','push','pow','344151rWYTwu','resume','readUInt32BE','_payloadLength','callback','dispose','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','HTTPService','WS_ERR_EXPECTED_FIN','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','alloc','onopen','_opcode','method','request','_write','onclose','from','catch','clientMaxWindowBits','username','keys','Invalid\x20HTTP\x20method','add','STATUS_CODES','frame','NodeCollaborationSocketService','\x22\x20must\x20have\x20only\x20a\x20single\x20value','ping','Unexpected\x20server\x20response:\x20','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_autoPong','The\x20URL\x27s\x20pathname\x20is\x20empty','_closeCode','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_options','IConfigService','readUInt16BE','endEmitted','species','ILogService','replace','_fragments','invalid\x20payload\x20length\x20','_doCreateSocket','3211341ZjrTtP','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','toDisposable','_extensions','dataMessage','_maskBuffer','WS_ERR_INVALID_CLOSE_CODE','ws:','zlibInflateOptions','kAborted','unmask','_queue','open','onerror','websocket','Injector','password','unshift','autoPong','connection','fin','clientNoContextTakeover','writeHead','Sec-WebSocket-Extensions:\x20','Sec-WebSocket-Accept:\x20','binary','_maxPayload','HTTP/1.1\x20','_bufferedBytes','Sec-WebSocket-Protocol','arraybuffer','compress','allocUnsafe','_configService','Invalid\x20Sec-WebSocket-Protocol\x20header','Invalid\x20Upgrade\x20header','kWasClean','kReason','apply','client','Unexpected\x20character\x20at\x20index\x20','default','_fragmented','isServer','_firstFragment','servername','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_threshold','WS_ERR_UNEXPECTED_RSV_2_3','ISnapshotServerService','dequeue','size','exports'];_0x8247=function(){return _0x3fbe0f;};return _0x8247();}var ye,He;function Pt(){const _0x2f7967=_0x230e5d;if(He)return ye;He=0x1;const _0x26efcd=Symbol(_0x2f7967(0x1af)),_0x504816=Symbol('kRun');class _0x15bbac{constructor(_0x1a17b2){const _0x27222e=_0x2f7967;this[_0x26efcd]=()=>{const _0x7cc4fe=_0x571c;this[_0x7cc4fe(0x2da)]--,this[_0x504816]();},this[_0x27222e(0x1eb)]=_0x1a17b2||0x1/0x0,this[_0x27222e(0x2ab)]=[],this[_0x27222e(0x2da)]=0x0;}[_0x2f7967(0x163)](_0x563e20){const _0x5618ca=_0x2f7967;this[_0x5618ca(0x2ab)][_0x5618ca(0x303)](_0x563e20),this[_0x504816]();}[_0x504816](){const _0x19938b=_0x2f7967;if(this[_0x19938b(0x2da)]!==this[_0x19938b(0x1eb)]&&this[_0x19938b(0x2ab)][_0x19938b(0x2d0)]){const _0x4464b1=this[_0x19938b(0x2ab)][_0x19938b(0x2fc)]();this[_0x19938b(0x2da)]++,_0x4464b1(this[_0x26efcd]);}}}return ye=_0x15bbac,ye;}var ve,ze;function he(){const _0x3062d9=_0x230e5d;if(ze)return ve;ze=0x1;const _0x5432fa=bt,_0x38d305=ce(),_0x359698=Pt(),{kStatusCode:_0x2b303c}=H(),_0x4d3b94=Buffer[Symbol[_0x3062d9(0x173)]],_0x103b07=Buffer[_0x3062d9(0x316)]([0x0,0x0,0xff,0xff]),_0x503abd=Symbol('permessage-deflate'),_0xe57ee1=Symbol(_0x3062d9(0x2a3)),_0x54fa83=Symbol(_0x3062d9(0x309)),_0x2d54dc=Symbol('buffers'),_0x3ef0c4=Symbol('error');let _0x503dde;class _0xed9628{constructor(_0x1e8ae6,_0x1e9b18,_0x3ff5c8){const _0x218b80=_0x3062d9;if(this['_maxPayload']=_0x3ff5c8|0x0,this[_0x218b80(0x16f)]=_0x1e8ae6||{},this[_0x218b80(0x1a8)]=this[_0x218b80(0x16f)][_0x218b80(0x1b3)]!==void 0x0?this[_0x218b80(0x16f)][_0x218b80(0x1b3)]:0x400,this[_0x218b80(0x1c4)]=!!_0x1e9b18,this['_deflate']=null,this[_0x218b80(0x2ef)]=null,this[_0x218b80(0x2b9)]=null,!_0x503dde){const _0x315857=this[_0x218b80(0x16f)][_0x218b80(0x1c5)]!==void 0x0?this['_options'][_0x218b80(0x1c5)]:0xa;_0x503dde=new _0x359698(_0x315857);}}static get[_0x3062d9(0x257)](){return'permessage-deflate';}[_0x3062d9(0x2de)](){const _0x415866=_0x3062d9,_0x204715={};return this[_0x415866(0x16f)][_0x415866(0x243)]&&(_0x204715[_0x415866(0x290)]=!0x0),this[_0x415866(0x16f)][_0x415866(0x18e)]&&(_0x204715[_0x415866(0x221)]=!0x0),this[_0x415866(0x16f)][_0x415866(0x269)]&&(_0x204715[_0x415866(0x2f0)]=this['_options']['serverMaxWindowBits']),this[_0x415866(0x16f)][_0x415866(0x318)]?_0x204715[_0x415866(0x232)]=this['_options'][_0x415866(0x318)]:this[_0x415866(0x16f)][_0x415866(0x318)]==null&&(_0x204715[_0x415866(0x232)]=!0x0),_0x204715;}['accept'](_0x4777fc){const _0x259e9e=_0x3062d9;return _0x4777fc=this['normalizeParams'](_0x4777fc),this[_0x259e9e(0x2b9)]=this[_0x259e9e(0x1c4)]?this['acceptAsServer'](_0x4777fc):this['acceptAsClient'](_0x4777fc),this['params'];}['cleanup'](){const _0x30e6cf=_0x3062d9;if(this[_0x30e6cf(0x2ef)]&&(this['_inflate'][_0x30e6cf(0x2a2)](),this[_0x30e6cf(0x2ef)]=null),this[_0x30e6cf(0x29e)]){const _0x3dcdfc=this[_0x30e6cf(0x29e)][_0x54fa83];this[_0x30e6cf(0x29e)]['close'](),this[_0x30e6cf(0x29e)]=null,_0x3dcdfc&&_0x3dcdfc(new Error(_0x30e6cf(0x2db)));}}[_0x3062d9(0x247)](_0x4642f7){const _0x2844e6=_0x3062d9,_0x5459b7=this['_options'],_0x51d5f0=_0x4642f7[_0x2844e6(0x21e)](_0x1b2df0=>!(_0x5459b7[_0x2844e6(0x243)]===!0x1&&_0x1b2df0[_0x2844e6(0x290)]||_0x1b2df0[_0x2844e6(0x2f0)]&&(_0x5459b7['serverMaxWindowBits']===!0x1||typeof _0x5459b7[_0x2844e6(0x269)]==_0x2844e6(0x1fc)&&_0x5459b7[_0x2844e6(0x269)]>_0x1b2df0[_0x2844e6(0x2f0)])||typeof _0x5459b7[_0x2844e6(0x318)]==_0x2844e6(0x1fc)&&!_0x1b2df0['client_max_window_bits']));if(!_0x51d5f0)throw new Error(_0x2844e6(0x1b5));return _0x5459b7[_0x2844e6(0x243)]&&(_0x51d5f0[_0x2844e6(0x290)]=!0x0),_0x5459b7[_0x2844e6(0x18e)]&&(_0x51d5f0[_0x2844e6(0x221)]=!0x0),typeof _0x5459b7[_0x2844e6(0x269)]==_0x2844e6(0x1fc)&&(_0x51d5f0[_0x2844e6(0x2f0)]=_0x5459b7['serverMaxWindowBits']),typeof _0x5459b7[_0x2844e6(0x318)]==_0x2844e6(0x1fc)?_0x51d5f0[_0x2844e6(0x232)]=_0x5459b7[_0x2844e6(0x318)]:(_0x51d5f0[_0x2844e6(0x232)]===!0x0||_0x5459b7[_0x2844e6(0x318)]===!0x1)&&delete _0x51d5f0['client_max_window_bits'],_0x51d5f0;}[_0x3062d9(0x2c5)](_0x4f648f){const _0x2f9340=_0x3062d9,_0x181910=_0x4f648f[0x0];if(this[_0x2f9340(0x16f)][_0x2f9340(0x18e)]===!0x1&&_0x181910[_0x2f9340(0x221)])throw new Error(_0x2f9340(0x208));if(!_0x181910[_0x2f9340(0x232)])typeof this[_0x2f9340(0x16f)]['clientMaxWindowBits']==_0x2f9340(0x1fc)&&(_0x181910[_0x2f9340(0x232)]=this[_0x2f9340(0x16f)][_0x2f9340(0x318)]);else{if(this[_0x2f9340(0x16f)]['clientMaxWindowBits']===!0x1||typeof this[_0x2f9340(0x16f)][_0x2f9340(0x318)]=='number'&&_0x181910[_0x2f9340(0x232)]>this[_0x2f9340(0x16f)][_0x2f9340(0x318)])throw new Error(_0x2f9340(0x252));}return _0x181910;}['normalizeParams'](_0x2792d2){const _0x32b978=_0x3062d9;return _0x2792d2[_0x32b978(0x271)](_0x284a02=>{const _0x3c9067=_0x32b978;Object[_0x3c9067(0x161)](_0x284a02)[_0x3c9067(0x271)](_0x5339b4=>{const _0x17fe85=_0x3c9067;let _0x1868b9=_0x284a02[_0x5339b4];if(_0x1868b9[_0x17fe85(0x2d0)]>0x1)throw new Error(_0x17fe85(0x1e5)+_0x5339b4+_0x17fe85(0x167));if(_0x1868b9=_0x1868b9[0x0],_0x5339b4==='client_max_window_bits'){if(_0x1868b9!==!0x0){const _0x1ff0b5=+_0x1868b9;if(!Number['isInteger'](_0x1ff0b5)||_0x1ff0b5<0x8||_0x1ff0b5>0xf)throw new TypeError(_0x17fe85(0x22e)+_0x5339b4+_0x17fe85(0x1d3)+_0x1868b9);_0x1868b9=_0x1ff0b5;}else{if(!this['_isServer'])throw new TypeError(_0x17fe85(0x22e)+_0x5339b4+_0x17fe85(0x1d3)+_0x1868b9);}}else{if(_0x5339b4===_0x17fe85(0x2f0)){const _0x288eba=+_0x1868b9;if(!Number[_0x17fe85(0x21c)](_0x288eba)||_0x288eba<0x8||_0x288eba>0xf)throw new TypeError(_0x17fe85(0x22e)+_0x5339b4+_0x17fe85(0x1d3)+_0x1868b9);_0x1868b9=_0x288eba;}else{if(_0x5339b4==='client_no_context_takeover'||_0x5339b4==='server_no_context_takeover'){if(_0x1868b9!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5339b4+_0x17fe85(0x1d3)+_0x1868b9);}else throw new Error(_0x17fe85(0x2ff)+_0x5339b4+'\x22');}}_0x284a02[_0x5339b4]=_0x1868b9;});}),_0x2792d2;}[_0x3062d9(0x1bb)](_0x43f0c3,_0x299a77,_0x3045cd){const _0x3a26e3=_0x3062d9;_0x503dde[_0x3a26e3(0x163)](_0x347f6c=>{const _0x194419=_0x3a26e3;this[_0x194419(0x259)](_0x43f0c3,_0x299a77,(_0x1bd73c,_0x4f1edb)=>{_0x347f6c(),_0x3045cd(_0x1bd73c,_0x4f1edb);});});}['compress'](_0x2b34a4,_0x1ac910,_0x44d5a9){const _0x1bf52c=_0x3062d9;_0x503dde[_0x1bf52c(0x163)](_0x2af60d=>{this['_compress'](_0x2b34a4,_0x1ac910,(_0x2d18b9,_0x491334)=>{_0x2af60d(),_0x44d5a9(_0x2d18b9,_0x491334);});});}['_decompress'](_0x5b4119,_0x249bce,_0x1208e4){const _0x43eb95=_0x3062d9,_0x787b0b=this['_isServer']?_0x43eb95(0x1a0):_0x43eb95(0x302);if(!this[_0x43eb95(0x2ef)]){const _0x3b0324=_0x787b0b+_0x43eb95(0x297),_0x544c99=typeof this[_0x43eb95(0x2b9)][_0x3b0324]!='number'?_0x5432fa[_0x43eb95(0x241)]:this[_0x43eb95(0x2b9)][_0x3b0324];this[_0x43eb95(0x2ef)]=_0x5432fa[_0x43eb95(0x21a)]({...this[_0x43eb95(0x16f)][_0x43eb95(0x181)],'windowBits':_0x544c99}),this[_0x43eb95(0x2ef)][_0x503abd]=this,this[_0x43eb95(0x2ef)][_0xe57ee1]=0x0,this[_0x43eb95(0x2ef)][_0x2d54dc]=[],this[_0x43eb95(0x2ef)]['on']('error',_0x31b66c),this[_0x43eb95(0x2ef)]['on']('data',_0x392ec9);}this[_0x43eb95(0x2ef)][_0x54fa83]=_0x1208e4,this[_0x43eb95(0x2ef)][_0x43eb95(0x27a)](_0x5b4119),_0x249bce&&this[_0x43eb95(0x2ef)]['write'](_0x103b07),this[_0x43eb95(0x2ef)][_0x43eb95(0x2d7)](()=>{const _0x320f82=_0x43eb95,_0x5486b8=this['_inflate'][_0x3ef0c4];if(_0x5486b8){this[_0x320f82(0x2ef)][_0x320f82(0x2a2)](),this[_0x320f82(0x2ef)]=null,_0x1208e4(_0x5486b8);return;}const _0x2a8858=_0x38d305[_0x320f82(0x281)](this[_0x320f82(0x2ef)][_0x2d54dc],this[_0x320f82(0x2ef)][_0xe57ee1]);this[_0x320f82(0x2ef)][_0x320f82(0x2c7)][_0x320f82(0x172)]?(this[_0x320f82(0x2ef)][_0x320f82(0x2a2)](),this[_0x320f82(0x2ef)]=null):(this[_0x320f82(0x2ef)][_0xe57ee1]=0x0,this[_0x320f82(0x2ef)][_0x2d54dc]=[],_0x249bce&&this[_0x320f82(0x2b9)][_0x787b0b+'_no_context_takeover']&&this['_inflate'][_0x320f82(0x2bc)]()),_0x1208e4(null,_0x2a8858);});}[_0x3062d9(0x1c2)](_0x577ad5,_0x2ea38d,_0x21c0c0){const _0x31b4a4=_0x3062d9,_0x10f28b=this[_0x31b4a4(0x1c4)]?'server':_0x31b4a4(0x1a0);if(!this['_deflate']){const _0x415c4b=_0x10f28b+_0x31b4a4(0x297),_0x2b978b=typeof this[_0x31b4a4(0x2b9)][_0x415c4b]!=_0x31b4a4(0x1fc)?_0x5432fa[_0x31b4a4(0x241)]:this['params'][_0x415c4b];this[_0x31b4a4(0x29e)]=_0x5432fa[_0x31b4a4(0x1f3)]({...this[_0x31b4a4(0x16f)][_0x31b4a4(0x288)],'windowBits':_0x2b978b}),this[_0x31b4a4(0x29e)][_0xe57ee1]=0x0,this[_0x31b4a4(0x29e)][_0x2d54dc]=[],this[_0x31b4a4(0x29e)]['on'](_0x31b4a4(0x29c),_0xc10e19);}this[_0x31b4a4(0x29e)][_0x54fa83]=_0x21c0c0,this[_0x31b4a4(0x29e)][_0x31b4a4(0x27a)](_0x577ad5),this[_0x31b4a4(0x29e)]['flush'](_0x5432fa[_0x31b4a4(0x1db)],()=>{const _0x2968dc=_0x31b4a4;if(!this['_deflate'])return;let _0x2a2a5c=_0x38d305[_0x2968dc(0x281)](this[_0x2968dc(0x29e)][_0x2d54dc],this[_0x2968dc(0x29e)][_0xe57ee1]);_0x2ea38d&&(_0x2a2a5c=new _0x4d3b94(_0x2a2a5c['buffer'],_0x2a2a5c[_0x2968dc(0x295)],_0x2a2a5c[_0x2968dc(0x2d0)]-0x4)),this[_0x2968dc(0x29e)][_0x54fa83]=null,this[_0x2968dc(0x29e)][_0xe57ee1]=0x0,this['_deflate'][_0x2d54dc]=[],_0x2ea38d&&this[_0x2968dc(0x2b9)][_0x10f28b+_0x2968dc(0x1f4)]&&this[_0x2968dc(0x29e)]['reset'](),_0x21c0c0(null,_0x2a2a5c);});}}ve=_0xed9628;function _0xc10e19(_0xf6ed9a){const _0x216643=_0x3062d9;this[_0x2d54dc][_0x216643(0x303)](_0xf6ed9a),this[_0xe57ee1]+=_0xf6ed9a[_0x216643(0x2d0)];}function _0x392ec9(_0x37abec){const _0x5b1098=_0x3062d9;if(this[_0xe57ee1]+=_0x37abec[_0x5b1098(0x2d0)],this[_0x503abd]['_maxPayload']<0x1||this[_0xe57ee1]<=this[_0x503abd][_0x5b1098(0x193)]){this[_0x2d54dc][_0x5b1098(0x303)](_0x37abec);return;}this[_0x3ef0c4]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x3ef0c4][_0x5b1098(0x20a)]=_0x5b1098(0x24b),this[_0x3ef0c4][_0x2b303c]=0x3f1,this['removeListener'](_0x5b1098(0x29c),_0x392ec9),this[_0x5b1098(0x2bc)]();}function _0x31b66c(_0x39adda){if(this[_0x503abd]['_inflate']=null,this[_0x3ef0c4]){this[_0x54fa83](this[_0x3ef0c4]);return;}_0x39adda[_0x2b303c]=0x3ef,this[_0x54fa83](_0x39adda);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x230e5d(0x1dc)](Object[_0x230e5d(0x2a5)]({'__proto__':null,'default':Dt},Symbol[_0x230e5d(0x1dd)],{'value':_0x230e5d(0x2aa)})),Bt=at(Rt);var Ye;function ae(){const _0xd47b63=_0x230e5d;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x254431}=wt,{hasBlob:_0x5260bb}=H(),_0x1223da=[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 _0x287c74(_0x349ccd){return _0x349ccd>=0x3e8&&_0x349ccd<=0x3f6&&_0x349ccd!==0x3ec&&_0x349ccd!==0x3ed&&_0x349ccd!==0x3ee||_0x349ccd>=0xbb8&&_0x349ccd<=0x1387;}function _0x57cbce(_0x266c73){const _0x1d25c7=_0x266c73['length'];let _0xed9cb6=0x0;for(;_0xed9cb6<_0x1d25c7;)if((_0x266c73[_0xed9cb6]&0x80)===0x0)_0xed9cb6++;else{if((_0x266c73[_0xed9cb6]&0xe0)===0xc0){if(_0xed9cb6+0x1===_0x1d25c7||(_0x266c73[_0xed9cb6+0x1]&0xc0)!==0x80||(_0x266c73[_0xed9cb6]&0xfe)===0xc0)return!0x1;_0xed9cb6+=0x2;}else{if((_0x266c73[_0xed9cb6]&0xf0)===0xe0){if(_0xed9cb6+0x2>=_0x1d25c7||(_0x266c73[_0xed9cb6+0x1]&0xc0)!==0x80||(_0x266c73[_0xed9cb6+0x2]&0xc0)!==0x80||_0x266c73[_0xed9cb6]===0xe0&&(_0x266c73[_0xed9cb6+0x1]&0xe0)===0x80||_0x266c73[_0xed9cb6]===0xed&&(_0x266c73[_0xed9cb6+0x1]&0xe0)===0xa0)return!0x1;_0xed9cb6+=0x3;}else{if((_0x266c73[_0xed9cb6]&0xf8)===0xf0){if(_0xed9cb6+0x3>=_0x1d25c7||(_0x266c73[_0xed9cb6+0x1]&0xc0)!==0x80||(_0x266c73[_0xed9cb6+0x2]&0xc0)!==0x80||(_0x266c73[_0xed9cb6+0x3]&0xc0)!==0x80||_0x266c73[_0xed9cb6]===0xf0&&(_0x266c73[_0xed9cb6+0x1]&0xf0)===0x80||_0x266c73[_0xed9cb6]===0xf4&&_0x266c73[_0xed9cb6+0x1]>0x8f||_0x266c73[_0xed9cb6]>0xf4)return!0x1;_0xed9cb6+=0x4;}else return!0x1;}}}return!0x0;}function _0x4ef574(_0x271538){const _0x3c3282=_0x571c;return _0x5260bb&&typeof _0x271538==_0x3c3282(0x22c)&&typeof _0x271538[_0x3c3282(0x227)]=='function'&&typeof _0x271538['type']==_0x3c3282(0x1e4)&&typeof _0x271538['stream']=='function'&&(_0x271538[Symbol['toStringTag']]===_0x3c3282(0x29f)||_0x271538[Symbol[_0x3c3282(0x1dd)]]===_0x3c3282(0x1de));}if(ie[_0xd47b63(0x1ad)]={'isBlob':_0x4ef574,'isValidStatusCode':_0x287c74,'isValidUTF8':_0x57cbce,'tokenChars':_0x1223da},_0x254431)ie[_0xd47b63(0x1ad)][_0xd47b63(0x1b1)]=function(_0x383bdf){const _0x23d964=_0xd47b63;return _0x383bdf[_0x23d964(0x2d0)]<0x18?_0x57cbce(_0x383bdf):_0x254431(_0x383bdf);};else{if(!process[_0xd47b63(0x2dd)][_0xd47b63(0x2e2)])try{const _0x11d955=Bt;ie[_0xd47b63(0x1ad)][_0xd47b63(0x1b1)]=function(_0x786892){const _0x411086=_0xd47b63;return _0x786892[_0x411086(0x2d0)]<0x20?_0x57cbce(_0x786892):_0x11d955(_0x786892);};}catch{}}return ie[_0xd47b63(0x1ad)];}var Se,Ke;function lt(){const _0x2c1281=_0x230e5d;if(Ke)return Se;Ke=0x1;const {Writable:_0x228fab}=oe,_0x436e9d=he(),{BINARY_TYPES:_0x4dd350,EMPTY_BUFFER:_0x2b9c0c,kStatusCode:_0x6c3753,kWebSocket:_0x29fd92}=H(),{concat:_0x3a6cd2,toArrayBuffer:_0x5729c4,unmask:_0x14eabd}=ce(),{isValidStatusCode:_0x432ae2,isValidUTF8:_0x312bb9}=ae(),_0x461a2f=Buffer[Symbol[_0x2c1281(0x173)]],_0x3275df=0x0,_0x52e687=0x1,_0x1b2892=0x2,_0x33bc5e=0x3,_0x59e7c7=0x4,_0x2a7e81=0x5,_0x385425=0x6;class _0x11569d extends _0x228fab{constructor(_0x41ff16={}){const _0x2387f7=_0x2c1281;super(),this['_allowSynchronousEvents']=_0x41ff16[_0x2387f7(0x283)]!==void 0x0?_0x41ff16[_0x2387f7(0x283)]:!0x0,this[_0x2387f7(0x1b6)]=_0x41ff16[_0x2387f7(0x201)]||_0x4dd350[0x0],this[_0x2387f7(0x17c)]=_0x41ff16[_0x2387f7(0x21f)]||{},this[_0x2387f7(0x1c4)]=!!_0x41ff16[_0x2387f7(0x1a4)],this['_maxPayload']=_0x41ff16[_0x2387f7(0x2e3)]|0x0,this['_skipUTF8Validation']=!!_0x41ff16[_0x2387f7(0x28a)],this[_0x29fd92]=void 0x0,this['_bufferedBytes']=0x0,this[_0x2387f7(0x225)]=[],this[_0x2387f7(0x264)]=!0x1,this[_0x2387f7(0x308)]=0x0,this[_0x2387f7(0x262)]=void 0x0,this[_0x2387f7(0x1a3)]=0x0,this[_0x2387f7(0x1f8)]=!0x1,this[_0x2387f7(0x25c)]=!0x1,this[_0x2387f7(0x311)]=0x0,this[_0x2387f7(0x251)]=0x0,this[_0x2387f7(0x20e)]=0x0,this[_0x2387f7(0x176)]=[],this[_0x2387f7(0x2cc)]=!0x1,this['_loop']=!0x1,this['_state']=_0x3275df;}[_0x2c1281(0x314)](_0x570401,_0x3da345,_0x2e9181){const _0x359e01=_0x2c1281;if(this[_0x359e01(0x311)]===0x8&&this[_0x359e01(0x2d4)]==_0x3275df)return _0x2e9181();this[_0x359e01(0x195)]+=_0x570401[_0x359e01(0x2d0)],this['_buffers'][_0x359e01(0x303)](_0x570401),this[_0x359e01(0x236)](_0x2e9181);}['consume'](_0x7da0b9){const _0x5ae556=_0x2c1281;if(this[_0x5ae556(0x195)]-=_0x7da0b9,_0x7da0b9===this[_0x5ae556(0x225)][0x0][_0x5ae556(0x2d0)])return this[_0x5ae556(0x225)][_0x5ae556(0x2fc)]();if(_0x7da0b9<this[_0x5ae556(0x225)][0x0][_0x5ae556(0x2d0)]){const _0x2d1e9b=this[_0x5ae556(0x225)][0x0];return this[_0x5ae556(0x225)][0x0]=new _0x461a2f(_0x2d1e9b['buffer'],_0x2d1e9b['byteOffset']+_0x7da0b9,_0x2d1e9b[_0x5ae556(0x2d0)]-_0x7da0b9),new _0x461a2f(_0x2d1e9b[_0x5ae556(0x2bd)],_0x2d1e9b[_0x5ae556(0x295)],_0x7da0b9);}const _0x2a03ce=Buffer['allocUnsafe'](_0x7da0b9);do{const _0x283a9c=this[_0x5ae556(0x225)][0x0],_0x40a2d2=_0x2a03ce[_0x5ae556(0x2d0)]-_0x7da0b9;_0x7da0b9>=_0x283a9c[_0x5ae556(0x2d0)]?_0x2a03ce[_0x5ae556(0x275)](this[_0x5ae556(0x225)][_0x5ae556(0x2fc)](),_0x40a2d2):(_0x2a03ce[_0x5ae556(0x275)](new Uint8Array(_0x283a9c[_0x5ae556(0x2bd)],_0x283a9c['byteOffset'],_0x7da0b9),_0x40a2d2),this[_0x5ae556(0x225)][0x0]=new _0x461a2f(_0x283a9c[_0x5ae556(0x2bd)],_0x283a9c['byteOffset']+_0x7da0b9,_0x283a9c[_0x5ae556(0x2d0)]-_0x7da0b9)),_0x7da0b9-=_0x283a9c[_0x5ae556(0x2d0)];}while(_0x7da0b9>0x0);return _0x2a03ce;}[_0x2c1281(0x236)](_0x8d6725){const _0x4cb87c=_0x2c1281;this[_0x4cb87c(0x2a0)]=!0x0;do switch(this['_state']){case _0x3275df:this[_0x4cb87c(0x2a8)](_0x8d6725);break;case _0x52e687:this[_0x4cb87c(0x200)](_0x8d6725);break;case _0x1b2892:this['getPayloadLength64'](_0x8d6725);break;case _0x33bc5e:this[_0x4cb87c(0x277)]();break;case _0x59e7c7:this['getData'](_0x8d6725);break;case _0x2a7e81:case _0x385425:this[_0x4cb87c(0x2a0)]=!0x1;return;}while(this['_loop']);this[_0x4cb87c(0x2cc)]||_0x8d6725();}[_0x2c1281(0x2a8)](_0x2f3239){const _0x3023a5=_0x2c1281;if(this[_0x3023a5(0x195)]<0x2){this[_0x3023a5(0x2a0)]=!0x1;return;}const _0xb9080c=this[_0x3023a5(0x2f8)](0x2);if((_0xb9080c[0x0]&0x30)!==0x0){const _0x5d6572=this[_0x3023a5(0x1ae)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x3023a5(0x1a9));_0x2f3239(_0x5d6572);return;}const _0x46e903=(_0xb9080c[0x0]&0x40)===0x40;if(_0x46e903&&!this[_0x3023a5(0x17c)][_0x436e9d[_0x3023a5(0x257)]]){const _0x27b747=this[_0x3023a5(0x1ae)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x3023a5(0x2e4));_0x2f3239(_0x27b747);return;}if(this[_0x3023a5(0x25c)]=(_0xb9080c[0x0]&0x80)===0x80,this[_0x3023a5(0x311)]=_0xb9080c[0x0]&0xf,this[_0x3023a5(0x308)]=_0xb9080c[0x1]&0x7f,this[_0x3023a5(0x311)]===0x0){if(_0x46e903){const _0x48c1e7=this[_0x3023a5(0x1ae)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x3023a5(0x2e4));_0x2f3239(_0x48c1e7);return;}if(!this[_0x3023a5(0x1a3)]){const _0x47f87f=this[_0x3023a5(0x1ae)](RangeError,_0x3023a5(0x212),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x2f3239(_0x47f87f);return;}this[_0x3023a5(0x311)]=this['_fragmented'];}else{if(this[_0x3023a5(0x311)]===0x1||this[_0x3023a5(0x311)]===0x2){if(this['_fragmented']){const _0x36fa99=this[_0x3023a5(0x1ae)](RangeError,_0x3023a5(0x1be)+this[_0x3023a5(0x311)],!0x0,0x3ea,_0x3023a5(0x270));_0x2f3239(_0x36fa99);return;}this[_0x3023a5(0x264)]=_0x46e903;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this[_0x3023a5(0x25c)]){const _0x578cc6=this['createError'](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x3023a5(0x30d));_0x2f3239(_0x578cc6);return;}if(_0x46e903){const _0x39aaf3=this[_0x3023a5(0x1ae)](RangeError,_0x3023a5(0x211),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x2f3239(_0x39aaf3);return;}if(this[_0x3023a5(0x308)]>0x7d||this[_0x3023a5(0x311)]===0x8&&this[_0x3023a5(0x308)]===0x1){const _0x1d8e26=this[_0x3023a5(0x1ae)](RangeError,_0x3023a5(0x177)+this[_0x3023a5(0x308)],!0x0,0x3ea,_0x3023a5(0x229));_0x2f3239(_0x1d8e26);return;}}else{const _0x3ebf3a=this[_0x3023a5(0x1ae)](RangeError,_0x3023a5(0x1be)+this[_0x3023a5(0x311)],!0x0,0x3ea,_0x3023a5(0x270));_0x2f3239(_0x3ebf3a);return;}}}if(!this[_0x3023a5(0x25c)]&&!this[_0x3023a5(0x1a3)]&&(this[_0x3023a5(0x1a3)]=this[_0x3023a5(0x311)]),this[_0x3023a5(0x1f8)]=(_0xb9080c[0x1]&0x80)===0x80,this[_0x3023a5(0x1c4)]){if(!this[_0x3023a5(0x1f8)]){const _0x22545f=this[_0x3023a5(0x1ae)](RangeError,_0x3023a5(0x2a6),!0x0,0x3ea,_0x3023a5(0x2d1));_0x2f3239(_0x22545f);return;}}else{if(this[_0x3023a5(0x1f8)]){const _0x57acfe=this[_0x3023a5(0x1ae)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x3023a5(0x28f));_0x2f3239(_0x57acfe);return;}}this[_0x3023a5(0x308)]===0x7e?this['_state']=_0x52e687:this['_payloadLength']===0x7f?this[_0x3023a5(0x2d4)]=_0x1b2892:this[_0x3023a5(0x2e1)](_0x2f3239);}[_0x2c1281(0x200)](_0x41dc4d){const _0x7808f9=_0x2c1281;if(this[_0x7808f9(0x195)]<0x2){this['_loop']=!0x1;return;}this[_0x7808f9(0x308)]=this[_0x7808f9(0x2f8)](0x2)[_0x7808f9(0x171)](0x0),this[_0x7808f9(0x2e1)](_0x41dc4d);}['getPayloadLength64'](_0x3886fc){const _0x410ef9=_0x2c1281;if(this[_0x410ef9(0x195)]<0x8){this[_0x410ef9(0x2a0)]=!0x1;return;}const _0xff6247=this[_0x410ef9(0x2f8)](0x8),_0x1f20d8=_0xff6247[_0x410ef9(0x307)](0x0);if(_0x1f20d8>Math[_0x410ef9(0x304)](0x2,0x15)-0x1){const _0x1edf0a=this[_0x410ef9(0x1ae)](RangeError,_0x410ef9(0x26b),!0x1,0x3f1,_0x410ef9(0x17a));_0x3886fc(_0x1edf0a);return;}this[_0x410ef9(0x308)]=_0x1f20d8*Math[_0x410ef9(0x304)](0x2,0x20)+_0xff6247[_0x410ef9(0x307)](0x4),this[_0x410ef9(0x2e1)](_0x3886fc);}[_0x2c1281(0x2e1)](_0x4ad50d){const _0x1aec86=_0x2c1281;if(this[_0x1aec86(0x308)]&&this['_opcode']<0x8&&(this[_0x1aec86(0x251)]+=this[_0x1aec86(0x308)],this[_0x1aec86(0x251)]>this['_maxPayload']&&this[_0x1aec86(0x193)]>0x0)){const _0x3999b8=this[_0x1aec86(0x1ae)](RangeError,_0x1aec86(0x205),!0x1,0x3f1,_0x1aec86(0x24b));_0x4ad50d(_0x3999b8);return;}this[_0x1aec86(0x1f8)]?this['_state']=_0x33bc5e:this[_0x1aec86(0x2d4)]=_0x59e7c7;}[_0x2c1281(0x277)](){const _0xb0f732=_0x2c1281;if(this[_0xb0f732(0x195)]<0x4){this[_0xb0f732(0x2a0)]=!0x1;return;}this[_0xb0f732(0x262)]=this[_0xb0f732(0x2f8)](0x4),this['_state']=_0x59e7c7;}[_0x2c1281(0x24c)](_0xe5ced){const _0x5e48f9=_0x2c1281;let _0x193294=_0x2b9c0c;if(this['_payloadLength']){if(this[_0x5e48f9(0x195)]<this['_payloadLength']){this[_0x5e48f9(0x2a0)]=!0x1;return;}_0x193294=this[_0x5e48f9(0x2f8)](this[_0x5e48f9(0x308)]),this[_0x5e48f9(0x1f8)]&&(this[_0x5e48f9(0x262)][0x0]|this[_0x5e48f9(0x262)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x14eabd(_0x193294,this[_0x5e48f9(0x262)]);}if(this[_0x5e48f9(0x311)]>0x7){this['controlMessage'](_0x193294,_0xe5ced);return;}if(this[_0x5e48f9(0x264)]){this[_0x5e48f9(0x2d4)]=_0x2a7e81,this[_0x5e48f9(0x1bb)](_0x193294,_0xe5ced);return;}_0x193294[_0x5e48f9(0x2d0)]&&(this[_0x5e48f9(0x20e)]=this[_0x5e48f9(0x251)],this[_0x5e48f9(0x176)][_0x5e48f9(0x303)](_0x193294)),this[_0x5e48f9(0x17d)](_0xe5ced);}[_0x2c1281(0x1bb)](_0x22fd73,_0x59d95f){const _0x548882=_0x2c1281;this[_0x548882(0x17c)][_0x436e9d[_0x548882(0x257)]][_0x548882(0x1bb)](_0x22fd73,this[_0x548882(0x25c)],(_0x28edea,_0x4981dd)=>{const _0x46b1c4=_0x548882;if(_0x28edea)return _0x59d95f(_0x28edea);if(_0x4981dd[_0x46b1c4(0x2d0)]){if(this[_0x46b1c4(0x20e)]+=_0x4981dd[_0x46b1c4(0x2d0)],this['_messageLength']>this[_0x46b1c4(0x193)]&&this[_0x46b1c4(0x193)]>0x0){const _0x38b484=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x59d95f(_0x38b484);return;}this[_0x46b1c4(0x176)][_0x46b1c4(0x303)](_0x4981dd);}this['dataMessage'](_0x59d95f),this[_0x46b1c4(0x2d4)]===_0x3275df&&this['startLoop'](_0x59d95f);});}[_0x2c1281(0x17d)](_0x16eb47){const _0x1c47cd=_0x2c1281;if(!this[_0x1c47cd(0x25c)]){this[_0x1c47cd(0x2d4)]=_0x3275df;return;}const _0x2acd5b=this['_messageLength'],_0x340be3=this[_0x1c47cd(0x176)];if(this[_0x1c47cd(0x251)]=0x0,this[_0x1c47cd(0x20e)]=0x0,this[_0x1c47cd(0x1a3)]=0x0,this[_0x1c47cd(0x176)]=[],this[_0x1c47cd(0x311)]===0x2){let _0x1db953;this['_binaryType']===_0x1c47cd(0x214)?_0x1db953=_0x3a6cd2(_0x340be3,_0x2acd5b):this[_0x1c47cd(0x1b6)]===_0x1c47cd(0x197)?_0x1db953=_0x5729c4(_0x3a6cd2(_0x340be3,_0x2acd5b)):this[_0x1c47cd(0x1b6)]==='blob'?_0x1db953=new Blob(_0x340be3):_0x1db953=_0x340be3,this[_0x1c47cd(0x256)]?(this[_0x1c47cd(0x234)](_0x1c47cd(0x2c4),_0x1db953,!0x0),this[_0x1c47cd(0x2d4)]=_0x3275df):(this['_state']=_0x385425,setImmediate(()=>{const _0x577f13=_0x1c47cd;this['emit'](_0x577f13(0x2c4),_0x1db953,!0x0),this[_0x577f13(0x2d4)]=_0x3275df,this[_0x577f13(0x236)](_0x16eb47);}));}else{const _0xedf578=_0x3a6cd2(_0x340be3,_0x2acd5b);if(!this[_0x1c47cd(0x1e1)]&&!_0x312bb9(_0xedf578)){const _0x307250=this[_0x1c47cd(0x1ae)](Error,_0x1c47cd(0x253),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x16eb47(_0x307250);return;}this[_0x1c47cd(0x2d4)]===_0x2a7e81||this['_allowSynchronousEvents']?(this[_0x1c47cd(0x234)](_0x1c47cd(0x2c4),_0xedf578,!0x1),this[_0x1c47cd(0x2d4)]=_0x3275df):(this[_0x1c47cd(0x2d4)]=_0x385425,setImmediate(()=>{const _0x4f79a1=_0x1c47cd;this['emit'](_0x4f79a1(0x2c4),_0xedf578,!0x1),this[_0x4f79a1(0x2d4)]=_0x3275df,this[_0x4f79a1(0x236)](_0x16eb47);}));}}['controlMessage'](_0x4a849f,_0x903cbd){const _0x33a63c=_0x2c1281;if(this[_0x33a63c(0x311)]===0x8){if(_0x4a849f[_0x33a63c(0x2d0)]===0x0)this[_0x33a63c(0x2a0)]=!0x1,this[_0x33a63c(0x234)]('conclude',0x3ed,_0x2b9c0c),this[_0x33a63c(0x24e)]();else{const _0x503b02=_0x4a849f[_0x33a63c(0x171)](0x0);if(!_0x432ae2(_0x503b02)){const _0x1af834=this[_0x33a63c(0x1ae)](RangeError,'invalid\x20status\x20code\x20'+_0x503b02,!0x0,0x3ea,_0x33a63c(0x17f));_0x903cbd(_0x1af834);return;}const _0x203e60=new _0x461a2f(_0x4a849f['buffer'],_0x4a849f['byteOffset']+0x2,_0x4a849f[_0x33a63c(0x2d0)]-0x2);if(!this[_0x33a63c(0x1e1)]&&!_0x312bb9(_0x203e60)){const _0x18f2fc=this[_0x33a63c(0x1ae)](Error,_0x33a63c(0x253),!0x0,0x3ef,_0x33a63c(0x284));_0x903cbd(_0x18f2fc);return;}this[_0x33a63c(0x2a0)]=!0x1,this[_0x33a63c(0x234)](_0x33a63c(0x1ba),_0x503b02,_0x203e60),this['end']();}this[_0x33a63c(0x2d4)]=_0x3275df;return;}this['_allowSynchronousEvents']?(this[_0x33a63c(0x234)](this[_0x33a63c(0x311)]===0x9?'ping':_0x33a63c(0x1d7),_0x4a849f),this[_0x33a63c(0x2d4)]=_0x3275df):(this[_0x33a63c(0x2d4)]=_0x385425,setImmediate(()=>{const _0x1389dc=_0x33a63c;this[_0x1389dc(0x234)](this[_0x1389dc(0x311)]===0x9?_0x1389dc(0x168):_0x1389dc(0x1d7),_0x4a849f),this[_0x1389dc(0x2d4)]=_0x3275df,this[_0x1389dc(0x236)](_0x903cbd);}));}[_0x2c1281(0x1ae)](_0x4bed91,_0x840d93,_0x16e7de,_0x736509,_0x9b85b3){const _0x36a191=_0x2c1281;this['_loop']=!0x1,this['_errored']=!0x0;const _0x21405b=new _0x4bed91(_0x16e7de?_0x36a191(0x293)+_0x840d93:_0x840d93);return Error[_0x36a191(0x2a4)](_0x21405b,this[_0x36a191(0x1ae)]),_0x21405b[_0x36a191(0x20a)]=_0x9b85b3,_0x21405b[_0x6c3753]=_0x736509,_0x21405b;}}return Se=_0x11569d,Se;}var Ee,Xe;function ft(){const _0x5e0c9a=_0x230e5d;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x5269db}=oe,{randomFillSync:_0x1945ca}=Le,_0x5ea97c=he(),{EMPTY_BUFFER:_0x2a1603,kWebSocket:_0x1bcf97,NOOP:_0x1b89c8}=H(),{isBlob:_0x5a4c3f,isValidStatusCode:_0x33cbaa}=ae(),{mask:_0x52c589,toBuffer:_0x2d8b0e}=ce(),_0xff5192=Symbol('kByteLength'),_0x2692f6=Buffer[_0x5e0c9a(0x30f)](0x4),_0x10034b=0x8*0x400;let _0x424b81,_0x580858=_0x10034b;const _0x231ae5=0x0,_0x45ab81=0x1,_0x3af430=0x2;class _0x38a648{constructor(_0x32c2bc,_0x115b08,_0x32a496){const _0xd1a4c=_0x5e0c9a;this['_extensions']=_0x115b08||{},_0x32a496&&(this[_0xd1a4c(0x265)]=_0x32a496,this[_0xd1a4c(0x17e)]=Buffer[_0xd1a4c(0x30f)](0x4)),this[_0xd1a4c(0x2d3)]=_0x32c2bc,this['_firstFragment']=!0x0,this[_0xd1a4c(0x1c2)]=!0x1,this[_0xd1a4c(0x195)]=0x0,this['_queue']=[],this[_0xd1a4c(0x2d4)]=_0x231ae5,this[_0xd1a4c(0x186)]=_0x1b89c8,this[_0x1bcf97]=void 0x0;}static[_0x5e0c9a(0x165)](_0x5fed8b,_0x20a4e9){const _0x2e85e9=_0x5e0c9a;let _0x4cdf1f,_0x3905d3=!0x1,_0x1909d7=0x2,_0x378f1b=!0x1;_0x20a4e9['mask']&&(_0x4cdf1f=_0x20a4e9[_0x2e85e9(0x230)]||_0x2692f6,_0x20a4e9[_0x2e85e9(0x233)]?_0x20a4e9[_0x2e85e9(0x233)](_0x4cdf1f):(_0x580858===_0x10034b&&(_0x424b81===void 0x0&&(_0x424b81=Buffer['alloc'](_0x10034b)),_0x1945ca(_0x424b81,0x0,_0x10034b),_0x580858=0x0),_0x4cdf1f[0x0]=_0x424b81[_0x580858++],_0x4cdf1f[0x1]=_0x424b81[_0x580858++],_0x4cdf1f[0x2]=_0x424b81[_0x580858++],_0x4cdf1f[0x3]=_0x424b81[_0x580858++]),_0x378f1b=(_0x4cdf1f[0x0]|_0x4cdf1f[0x1]|_0x4cdf1f[0x2]|_0x4cdf1f[0x3])===0x0,_0x1909d7=0x6);let _0x3476c2;typeof _0x5fed8b==_0x2e85e9(0x1e4)?(!_0x20a4e9[_0x2e85e9(0x1ea)]||_0x378f1b)&&_0x20a4e9[_0xff5192]!==void 0x0?_0x3476c2=_0x20a4e9[_0xff5192]:(_0x5fed8b=Buffer['from'](_0x5fed8b),_0x3476c2=_0x5fed8b[_0x2e85e9(0x2d0)]):(_0x3476c2=_0x5fed8b[_0x2e85e9(0x2d0)],_0x3905d3=_0x20a4e9['mask']&&_0x20a4e9[_0x2e85e9(0x219)]&&!_0x378f1b);let _0x2c814e=_0x3476c2;_0x3476c2>=0x10000?(_0x1909d7+=0x8,_0x2c814e=0x7f):_0x3476c2>0x7d&&(_0x1909d7+=0x2,_0x2c814e=0x7e);const _0x2a709c=Buffer[_0x2e85e9(0x199)](_0x3905d3?_0x3476c2+_0x1909d7:_0x1909d7);return _0x2a709c[0x0]=_0x20a4e9[_0x2e85e9(0x18d)]?_0x20a4e9['opcode']|0x80:_0x20a4e9['opcode'],_0x20a4e9[_0x2e85e9(0x2d8)]&&(_0x2a709c[0x0]|=0x40),_0x2a709c[0x1]=_0x2c814e,_0x2c814e===0x7e?_0x2a709c['writeUInt16BE'](_0x3476c2,0x2):_0x2c814e===0x7f&&(_0x2a709c[0x2]=_0x2a709c[0x3]=0x0,_0x2a709c['writeUIntBE'](_0x3476c2,0x4,0x6)),_0x20a4e9['mask']?(_0x2a709c[0x1]|=0x80,_0x2a709c[_0x1909d7-0x4]=_0x4cdf1f[0x0],_0x2a709c[_0x1909d7-0x3]=_0x4cdf1f[0x1],_0x2a709c[_0x1909d7-0x2]=_0x4cdf1f[0x2],_0x2a709c[_0x1909d7-0x1]=_0x4cdf1f[0x3],_0x378f1b?[_0x2a709c,_0x5fed8b]:_0x3905d3?(_0x52c589(_0x5fed8b,_0x4cdf1f,_0x2a709c,_0x1909d7,_0x3476c2),[_0x2a709c]):(_0x52c589(_0x5fed8b,_0x4cdf1f,_0x5fed8b,0x0,_0x3476c2),[_0x2a709c,_0x5fed8b])):[_0x2a709c,_0x5fed8b];}[_0x5e0c9a(0x2a2)](_0x50a9d3,_0x2b160e,_0x18d00d,_0x2b1a85){const _0xd2806f=_0x5e0c9a;let _0x33d8a9;if(_0x50a9d3===void 0x0)_0x33d8a9=_0x2a1603;else{if(typeof _0x50a9d3!='number'||!_0x33cbaa(_0x50a9d3))throw new TypeError(_0xd2806f(0x30b));if(_0x2b160e===void 0x0||!_0x2b160e[_0xd2806f(0x2d0)])_0x33d8a9=Buffer[_0xd2806f(0x199)](0x2),_0x33d8a9['writeUInt16BE'](_0x50a9d3,0x0);else{const _0x5aac27=Buffer[_0xd2806f(0x23e)](_0x2b160e);if(_0x5aac27>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x33d8a9=Buffer[_0xd2806f(0x199)](0x2+_0x5aac27),_0x33d8a9['writeUInt16BE'](_0x50a9d3,0x0),typeof _0x2b160e==_0xd2806f(0x1e4)?_0x33d8a9[_0xd2806f(0x27a)](_0x2b160e,0x2):_0x33d8a9[_0xd2806f(0x275)](_0x2b160e,0x2);}}const _0x4b0199={[_0xff5192]:_0x33d8a9[_0xd2806f(0x2d0)],'fin':!0x0,'generateMask':this[_0xd2806f(0x265)],'mask':_0x18d00d,'maskBuffer':this[_0xd2806f(0x17e)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0xd2806f(0x2d4)]!==_0x231ae5?this[_0xd2806f(0x2d6)]([this[_0xd2806f(0x2af)],_0x33d8a9,!0x1,_0x4b0199,_0x2b1a85]):this['sendFrame'](_0x38a648[_0xd2806f(0x165)](_0x33d8a9,_0x4b0199),_0x2b1a85);}['ping'](_0x240a62,_0x46412a,_0x374a4e){const _0x1ce838=_0x5e0c9a;let _0x4d2037,_0x22b877;if(typeof _0x240a62==_0x1ce838(0x1e4)?(_0x4d2037=Buffer['byteLength'](_0x240a62),_0x22b877=!0x1):_0x5a4c3f(_0x240a62)?(_0x4d2037=_0x240a62[_0x1ce838(0x1ac)],_0x22b877=!0x1):(_0x240a62=_0x2d8b0e(_0x240a62),_0x4d2037=_0x240a62[_0x1ce838(0x2d0)],_0x22b877=_0x2d8b0e[_0x1ce838(0x219)]),_0x4d2037>0x7d)throw new RangeError(_0x1ce838(0x30e));const _0x6e3f7a={[_0xff5192]:_0x4d2037,'fin':!0x0,'generateMask':this[_0x1ce838(0x265)],'mask':_0x46412a,'maskBuffer':this[_0x1ce838(0x17e)],'opcode':0x9,'readOnly':_0x22b877,'rsv1':!0x1};_0x5a4c3f(_0x240a62)?this[_0x1ce838(0x2d4)]!==_0x231ae5?this[_0x1ce838(0x2d6)]([this[_0x1ce838(0x1f7)],_0x240a62,!0x1,_0x6e3f7a,_0x374a4e]):this[_0x1ce838(0x1f7)](_0x240a62,!0x1,_0x6e3f7a,_0x374a4e):this[_0x1ce838(0x2d4)]!==_0x231ae5?this['enqueue']([this[_0x1ce838(0x2af)],_0x240a62,!0x1,_0x6e3f7a,_0x374a4e]):this[_0x1ce838(0x240)](_0x38a648['frame'](_0x240a62,_0x6e3f7a),_0x374a4e);}[_0x5e0c9a(0x1d7)](_0x43aca3,_0x4444f5,_0x296c77){const _0xd8cc32=_0x5e0c9a;let _0x408ef9,_0x35ea5d;if(typeof _0x43aca3==_0xd8cc32(0x1e4)?(_0x408ef9=Buffer[_0xd8cc32(0x23e)](_0x43aca3),_0x35ea5d=!0x1):_0x5a4c3f(_0x43aca3)?(_0x408ef9=_0x43aca3['size'],_0x35ea5d=!0x1):(_0x43aca3=_0x2d8b0e(_0x43aca3),_0x408ef9=_0x43aca3[_0xd8cc32(0x2d0)],_0x35ea5d=_0x2d8b0e[_0xd8cc32(0x219)]),_0x408ef9>0x7d)throw new RangeError(_0xd8cc32(0x30e));const _0x23c23b={[_0xff5192]:_0x408ef9,'fin':!0x0,'generateMask':this[_0xd8cc32(0x265)],'mask':_0x4444f5,'maskBuffer':this[_0xd8cc32(0x17e)],'opcode':0xa,'readOnly':_0x35ea5d,'rsv1':!0x1};_0x5a4c3f(_0x43aca3)?this['_state']!==_0x231ae5?this[_0xd8cc32(0x2d6)]([this['getBlobData'],_0x43aca3,!0x1,_0x23c23b,_0x296c77]):this['getBlobData'](_0x43aca3,!0x1,_0x23c23b,_0x296c77):this['_state']!==_0x231ae5?this[_0xd8cc32(0x2d6)]([this['dispatch'],_0x43aca3,!0x1,_0x23c23b,_0x296c77]):this['sendFrame'](_0x38a648[_0xd8cc32(0x165)](_0x43aca3,_0x23c23b),_0x296c77);}['send'](_0x3b35fc,_0x314a65,_0x146674){const _0x560348=_0x5e0c9a,_0x377f91=this[_0x560348(0x17c)][_0x5ea97c[_0x560348(0x257)]];let _0x38f41c=_0x314a65[_0x560348(0x192)]?0x2:0x1,_0x48987b=_0x314a65['compress'],_0x31c34f,_0x3fcdf2;typeof _0x3b35fc=='string'?(_0x31c34f=Buffer[_0x560348(0x23e)](_0x3b35fc),_0x3fcdf2=!0x1):_0x5a4c3f(_0x3b35fc)?(_0x31c34f=_0x3b35fc['size'],_0x3fcdf2=!0x1):(_0x3b35fc=_0x2d8b0e(_0x3b35fc),_0x31c34f=_0x3b35fc['length'],_0x3fcdf2=_0x2d8b0e[_0x560348(0x219)]),this[_0x560348(0x1a5)]?(this[_0x560348(0x1a5)]=!0x1,_0x48987b&&_0x377f91&&_0x377f91[_0x560348(0x2b9)][_0x377f91[_0x560348(0x1c4)]?_0x560348(0x290):_0x560348(0x221)]&&(_0x48987b=_0x31c34f>=_0x377f91[_0x560348(0x1a8)]),this[_0x560348(0x1c2)]=_0x48987b):(_0x48987b=!0x1,_0x38f41c=0x0),_0x314a65['fin']&&(this['_firstFragment']=!0x0);const _0x60ae92={[_0xff5192]:_0x31c34f,'fin':_0x314a65[_0x560348(0x18d)],'generateMask':this[_0x560348(0x265)],'mask':_0x314a65['mask'],'maskBuffer':this[_0x560348(0x17e)],'opcode':_0x38f41c,'readOnly':_0x3fcdf2,'rsv1':_0x48987b};_0x5a4c3f(_0x3b35fc)?this[_0x560348(0x2d4)]!==_0x231ae5?this[_0x560348(0x2d6)]([this[_0x560348(0x1f7)],_0x3b35fc,this[_0x560348(0x1c2)],_0x60ae92,_0x146674]):this[_0x560348(0x1f7)](_0x3b35fc,this[_0x560348(0x1c2)],_0x60ae92,_0x146674):this[_0x560348(0x2d4)]!==_0x231ae5?this['enqueue']([this[_0x560348(0x2af)],_0x3b35fc,this[_0x560348(0x1c2)],_0x60ae92,_0x146674]):this[_0x560348(0x2af)](_0x3b35fc,this[_0x560348(0x1c2)],_0x60ae92,_0x146674);}[_0x5e0c9a(0x1f7)](_0x36c681,_0x6a1899,_0x1b127b,_0x221b86){const _0x426838=_0x5e0c9a;this[_0x426838(0x195)]+=_0x1b127b[_0xff5192],this[_0x426838(0x2d4)]=_0x3af430,_0x36c681['arrayBuffer']()[_0x426838(0x1ca)](_0xd9fca6=>{const _0x5bfdf7=_0x426838;if(this[_0x5bfdf7(0x2d3)][_0x5bfdf7(0x1ef)]){const _0x58d48a=new Error(_0x5bfdf7(0x16a));process[_0x5bfdf7(0x239)](_0x3c2ff7,this,_0x58d48a,_0x221b86);return;}this[_0x5bfdf7(0x195)]-=_0x1b127b[_0xff5192];const _0x249be7=_0x2d8b0e(_0xd9fca6);_0x6a1899?this[_0x5bfdf7(0x2af)](_0x249be7,_0x6a1899,_0x1b127b,_0x221b86):(this[_0x5bfdf7(0x2d4)]=_0x231ae5,this[_0x5bfdf7(0x240)](_0x38a648[_0x5bfdf7(0x165)](_0x249be7,_0x1b127b),_0x221b86),this[_0x5bfdf7(0x1ab)]());})[_0x426838(0x317)](_0x16b210=>{const _0x593541=_0x426838;process[_0x593541(0x239)](_0x5d822f,this,_0x16b210,_0x221b86);});}['dispatch'](_0x41e8b9,_0x3f08c5,_0x36504a,_0x4ac90b){const _0x12dbd3=_0x5e0c9a;if(!_0x3f08c5){this[_0x12dbd3(0x240)](_0x38a648[_0x12dbd3(0x165)](_0x41e8b9,_0x36504a),_0x4ac90b);return;}const _0x7aa02d=this['_extensions'][_0x5ea97c[_0x12dbd3(0x257)]];this['_bufferedBytes']+=_0x36504a[_0xff5192],this[_0x12dbd3(0x2d4)]=_0x45ab81,_0x7aa02d['compress'](_0x41e8b9,_0x36504a[_0x12dbd3(0x18d)],(_0x208298,_0x5bcf46)=>{const _0x1d663f=_0x12dbd3;if(this[_0x1d663f(0x2d3)][_0x1d663f(0x1ef)]){const _0x552b06=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x3c2ff7(this,_0x552b06,_0x4ac90b);return;}this['_bufferedBytes']-=_0x36504a[_0xff5192],this[_0x1d663f(0x2d4)]=_0x231ae5,_0x36504a[_0x1d663f(0x219)]=!0x1,this['sendFrame'](_0x38a648['frame'](_0x5bcf46,_0x36504a),_0x4ac90b),this[_0x1d663f(0x1ab)]();});}[_0x5e0c9a(0x1ab)](){const _0x500ed8=_0x5e0c9a;for(;this[_0x500ed8(0x2d4)]===_0x231ae5&&this['_queue'][_0x500ed8(0x2d0)];){const _0x47a798=this[_0x500ed8(0x184)][_0x500ed8(0x2fc)]();this[_0x500ed8(0x195)]-=_0x47a798[0x3][_0xff5192],Reflect[_0x500ed8(0x19f)](_0x47a798[0x0],this,_0x47a798[_0x500ed8(0x26d)](0x1));}}[_0x5e0c9a(0x2d6)](_0x27513c){const _0x5a3678=_0x5e0c9a;this[_0x5a3678(0x195)]+=_0x27513c[0x3][_0xff5192],this['_queue'][_0x5a3678(0x303)](_0x27513c);}[_0x5e0c9a(0x240)](_0x2b80ef,_0x490593){const _0x180b17=_0x5e0c9a;_0x2b80ef[_0x180b17(0x2d0)]===0x2?(this['_socket'][_0x180b17(0x222)](),this[_0x180b17(0x2d3)][_0x180b17(0x27a)](_0x2b80ef[0x0]),this[_0x180b17(0x2d3)]['write'](_0x2b80ef[0x1],_0x490593),this[_0x180b17(0x2d3)][_0x180b17(0x249)]()):this[_0x180b17(0x2d3)][_0x180b17(0x27a)](_0x2b80ef[0x0],_0x490593);}}Ee=_0x38a648;function _0x3c2ff7(_0x5ac250,_0x222dd4,_0x1fd75e){const _0x31fe14=_0x5e0c9a;typeof _0x1fd75e==_0x31fe14(0x220)&&_0x1fd75e(_0x222dd4);for(let _0x323e4f=0x0;_0x323e4f<_0x5ac250[_0x31fe14(0x184)][_0x31fe14(0x2d0)];_0x323e4f++){const _0x3df260=_0x5ac250['_queue'][_0x323e4f],_0x1bc6af=_0x3df260[_0x3df260[_0x31fe14(0x2d0)]-0x1];typeof _0x1bc6af==_0x31fe14(0x220)&&_0x1bc6af(_0x222dd4);}}function _0x5d822f(_0x3cfe4e,_0x3edd66,_0x59e4c1){const _0x4a6c58=_0x5e0c9a;_0x3c2ff7(_0x3cfe4e,_0x3edd66,_0x59e4c1),_0x3cfe4e[_0x4a6c58(0x186)](_0x3edd66);}return Ee;}var xe,Ze;function It(){const _0x2c8303=_0x230e5d;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x23368d,kListener:_0x3e3b52}=H(),_0x329286=Symbol(_0x2c8303(0x2f9)),_0x115d3c=Symbol('kData'),_0x30a53d=Symbol(_0x2c8303(0x285)),_0x4c66df=Symbol(_0x2c8303(0x273)),_0x133931=Symbol(_0x2c8303(0x19e)),_0x5e72be=Symbol(_0x2c8303(0x2b5)),_0x3e9131=Symbol(_0x2c8303(0x287)),_0x5a39fd=Symbol(_0x2c8303(0x19d));class _0xb05729{constructor(_0x30091b){this[_0x5e72be]=null,this[_0x3e9131]=_0x30091b;}get[_0x2c8303(0x20c)](){return this[_0x5e72be];}get[_0x2c8303(0x2c2)](){return this[_0x3e9131];}}Object[_0x2c8303(0x2a5)](_0xb05729[_0x2c8303(0x23d)],_0x2c8303(0x20c),{'enumerable':!0x0}),Object[_0x2c8303(0x2a5)](_0xb05729[_0x2c8303(0x23d)],_0x2c8303(0x2c2),{'enumerable':!0x0});class _0x1b00bd extends _0xb05729{constructor(_0xbcc6ad,_0x3da2c2={}){const _0x4fb7f8=_0x2c8303;super(_0xbcc6ad),this[_0x329286]=_0x3da2c2[_0x4fb7f8(0x20a)]===void 0x0?0x0:_0x3da2c2[_0x4fb7f8(0x20a)],this[_0x133931]=_0x3da2c2[_0x4fb7f8(0x2bf)]===void 0x0?'':_0x3da2c2[_0x4fb7f8(0x2bf)],this[_0x5a39fd]=_0x3da2c2[_0x4fb7f8(0x26e)]===void 0x0?!0x1:_0x3da2c2[_0x4fb7f8(0x26e)];}get[_0x2c8303(0x20a)](){return this[_0x329286];}get['reason'](){return this[_0x133931];}get[_0x2c8303(0x26e)](){return this[_0x5a39fd];}}Object[_0x2c8303(0x2a5)](_0x1b00bd[_0x2c8303(0x23d)],'code',{'enumerable':!0x0}),Object[_0x2c8303(0x2a5)](_0x1b00bd[_0x2c8303(0x23d)],_0x2c8303(0x2bf),{'enumerable':!0x0}),Object[_0x2c8303(0x2a5)](_0x1b00bd[_0x2c8303(0x23d)],'wasClean',{'enumerable':!0x0});class _0x33f99d extends _0xb05729{constructor(_0x2b8c44,_0x3284b9={}){const _0x486e65=_0x2c8303;super(_0x2b8c44),this[_0x30a53d]=_0x3284b9[_0x486e65(0x1bc)]===void 0x0?null:_0x3284b9[_0x486e65(0x1bc)],this[_0x4c66df]=_0x3284b9[_0x486e65(0x2c4)]===void 0x0?'':_0x3284b9[_0x486e65(0x2c4)];}get[_0x2c8303(0x1bc)](){return this[_0x30a53d];}get[_0x2c8303(0x2c4)](){return this[_0x4c66df];}}Object[_0x2c8303(0x2a5)](_0x33f99d[_0x2c8303(0x23d)],_0x2c8303(0x1bc),{'enumerable':!0x0}),Object[_0x2c8303(0x2a5)](_0x33f99d[_0x2c8303(0x23d)],'message',{'enumerable':!0x0});class _0x51daeb extends _0xb05729{constructor(_0x2a5ccf,_0x7e1a66={}){const _0x4be3bf=_0x2c8303;super(_0x2a5ccf),this[_0x115d3c]=_0x7e1a66[_0x4be3bf(0x29c)]===void 0x0?null:_0x7e1a66[_0x4be3bf(0x29c)];}get[_0x2c8303(0x29c)](){return this[_0x115d3c];}}Object['defineProperty'](_0x51daeb['prototype'],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x1b00bd,'ErrorEvent':_0x33f99d,'Event':_0xb05729,'EventTarget':{'addEventListener'(_0x93e47b,_0x813c61,_0x3f1497={}){const _0x25ab5e=_0x2c8303;for(const _0x5aa336 of this[_0x25ab5e(0x2ce)](_0x93e47b))if(!_0x3f1497[_0x23368d]&&_0x5aa336[_0x3e3b52]===_0x813c61&&!_0x5aa336[_0x23368d])return;let _0x297974;if(_0x93e47b===_0x25ab5e(0x2c4))_0x297974=function(_0x1ecdef,_0x5ab7a5){const _0xcc0f41=new _0x51daeb('message',{'data':_0x5ab7a5?_0x1ecdef:_0x1ecdef['toString']()});_0xcc0f41[_0x5e72be]=this,_0x5499ff(_0x813c61,this,_0xcc0f41);};else{if(_0x93e47b==='close')_0x297974=function(_0x2a2a67,_0xb2e206){const _0x40bdd5=_0x25ab5e,_0xebd365=new _0x1b00bd(_0x40bdd5(0x2a2),{'code':_0x2a2a67,'reason':_0xb2e206[_0x40bdd5(0x20d)](),'wasClean':this[_0x40bdd5(0x204)]&&this[_0x40bdd5(0x2f1)]});_0xebd365[_0x5e72be]=this,_0x5499ff(_0x813c61,this,_0xebd365);};else{if(_0x93e47b===_0x25ab5e(0x1bc))_0x297974=function(_0x4d026f){const _0x2ff64=_0x25ab5e,_0x1a76df=new _0x33f99d(_0x2ff64(0x1bc),{'error':_0x4d026f,'message':_0x4d026f[_0x2ff64(0x2c4)]});_0x1a76df[_0x5e72be]=this,_0x5499ff(_0x813c61,this,_0x1a76df);};else{if(_0x93e47b===_0x25ab5e(0x185))_0x297974=function(){const _0x2d185f=_0x25ab5e,_0x487c68=new _0xb05729(_0x2d185f(0x185));_0x487c68[_0x5e72be]=this,_0x5499ff(_0x813c61,this,_0x487c68);};else return;}}}_0x297974[_0x23368d]=!!_0x3f1497[_0x23368d],_0x297974[_0x3e3b52]=_0x813c61,_0x3f1497['once']?this['once'](_0x93e47b,_0x297974):this['on'](_0x93e47b,_0x297974);},'removeEventListener'(_0x57f685,_0x28f44e){const _0x5e6b0f=_0x2c8303;for(const _0x188a8a of this[_0x5e6b0f(0x2ce)](_0x57f685))if(_0x188a8a[_0x3e3b52]===_0x28f44e&&!_0x188a8a[_0x23368d]){this[_0x5e6b0f(0x1b4)](_0x57f685,_0x188a8a);break;}}},'MessageEvent':_0x51daeb};function _0x5499ff(_0x5081c8,_0x4f1310,_0x67b2cf){const _0x4544b1=_0x2c8303;typeof _0x5081c8==_0x4544b1(0x22c)&&_0x5081c8[_0x4544b1(0x237)]?_0x5081c8['handleEvent'][_0x4544b1(0x1d0)](_0x5081c8,_0x67b2cf):_0x5081c8[_0x4544b1(0x1d0)](_0x4f1310,_0x67b2cf);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x42da60}=ae();function _0x28a83f(_0x307c96,_0x266605,_0x18caff){const _0x2a574e=_0x571c;_0x307c96[_0x266605]===void 0x0?_0x307c96[_0x266605]=[_0x18caff]:_0x307c96[_0x266605][_0x2a574e(0x303)](_0x18caff);}function _0x5811a5(_0x4a4137){const _0x2a82b3=_0x571c,_0x54ef40=Object[_0x2a82b3(0x2ca)](null);let _0x7ea7d8=Object[_0x2a82b3(0x2ca)](null),_0x193b93=!0x1,_0x37a5f2=!0x1,_0x2cc50f=!0x1,_0x143267,_0x1c3b72,_0x21181e=-0x1,_0x4ae45d=-0x1,_0x3df4c8=-0x1,_0x3bd310=0x0;for(;_0x3bd310<_0x4a4137[_0x2a82b3(0x2d0)];_0x3bd310++)if(_0x4ae45d=_0x4a4137['charCodeAt'](_0x3bd310),_0x143267===void 0x0){if(_0x3df4c8===-0x1&&_0x42da60[_0x4ae45d]===0x1)_0x21181e===-0x1&&(_0x21181e=_0x3bd310);else{if(_0x3bd310!==0x0&&(_0x4ae45d===0x20||_0x4ae45d===0x9))_0x3df4c8===-0x1&&_0x21181e!==-0x1&&(_0x3df4c8=_0x3bd310);else{if(_0x4ae45d===0x3b||_0x4ae45d===0x2c){if(_0x21181e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3bd310);_0x3df4c8===-0x1&&(_0x3df4c8=_0x3bd310);const _0x310e9f=_0x4a4137[_0x2a82b3(0x26d)](_0x21181e,_0x3df4c8);_0x4ae45d===0x2c?(_0x28a83f(_0x54ef40,_0x310e9f,_0x7ea7d8),_0x7ea7d8=Object[_0x2a82b3(0x2ca)](null)):_0x143267=_0x310e9f,_0x21181e=_0x3df4c8=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3bd310);}}}else{if(_0x1c3b72===void 0x0){if(_0x3df4c8===-0x1&&_0x42da60[_0x4ae45d]===0x1)_0x21181e===-0x1&&(_0x21181e=_0x3bd310);else{if(_0x4ae45d===0x20||_0x4ae45d===0x9)_0x3df4c8===-0x1&&_0x21181e!==-0x1&&(_0x3df4c8=_0x3bd310);else{if(_0x4ae45d===0x3b||_0x4ae45d===0x2c){if(_0x21181e===-0x1)throw new SyntaxError(_0x2a82b3(0x1a1)+_0x3bd310);_0x3df4c8===-0x1&&(_0x3df4c8=_0x3bd310),_0x28a83f(_0x7ea7d8,_0x4a4137[_0x2a82b3(0x26d)](_0x21181e,_0x3df4c8),!0x0),_0x4ae45d===0x2c&&(_0x28a83f(_0x54ef40,_0x143267,_0x7ea7d8),_0x7ea7d8=Object[_0x2a82b3(0x2ca)](null),_0x143267=void 0x0),_0x21181e=_0x3df4c8=-0x1;}else{if(_0x4ae45d===0x3d&&_0x21181e!==-0x1&&_0x3df4c8===-0x1)_0x1c3b72=_0x4a4137['slice'](_0x21181e,_0x3bd310),_0x21181e=_0x3df4c8=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3bd310);}}}}else{if(_0x37a5f2){if(_0x42da60[_0x4ae45d]!==0x1)throw new SyntaxError(_0x2a82b3(0x1a1)+_0x3bd310);_0x21181e===-0x1?_0x21181e=_0x3bd310:_0x193b93||(_0x193b93=!0x0),_0x37a5f2=!0x1;}else{if(_0x2cc50f){if(_0x42da60[_0x4ae45d]===0x1)_0x21181e===-0x1&&(_0x21181e=_0x3bd310);else{if(_0x4ae45d===0x22&&_0x21181e!==-0x1)_0x2cc50f=!0x1,_0x3df4c8=_0x3bd310;else{if(_0x4ae45d===0x5c)_0x37a5f2=!0x0;else throw new SyntaxError(_0x2a82b3(0x1a1)+_0x3bd310);}}}else{if(_0x4ae45d===0x22&&_0x4a4137[_0x2a82b3(0x1d9)](_0x3bd310-0x1)===0x3d)_0x2cc50f=!0x0;else{if(_0x3df4c8===-0x1&&_0x42da60[_0x4ae45d]===0x1)_0x21181e===-0x1&&(_0x21181e=_0x3bd310);else{if(_0x21181e!==-0x1&&(_0x4ae45d===0x20||_0x4ae45d===0x9))_0x3df4c8===-0x1&&(_0x3df4c8=_0x3bd310);else{if(_0x4ae45d===0x3b||_0x4ae45d===0x2c){if(_0x21181e===-0x1)throw new SyntaxError(_0x2a82b3(0x1a1)+_0x3bd310);_0x3df4c8===-0x1&&(_0x3df4c8=_0x3bd310);let _0x3216dd=_0x4a4137['slice'](_0x21181e,_0x3df4c8);_0x193b93&&(_0x3216dd=_0x3216dd['replace'](/\\/g,''),_0x193b93=!0x1),_0x28a83f(_0x7ea7d8,_0x1c3b72,_0x3216dd),_0x4ae45d===0x2c&&(_0x28a83f(_0x54ef40,_0x143267,_0x7ea7d8),_0x7ea7d8=Object['create'](null),_0x143267=void 0x0),_0x1c3b72=void 0x0,_0x21181e=_0x3df4c8=-0x1;}else throw new SyntaxError(_0x2a82b3(0x1a1)+_0x3bd310);}}}}}}}if(_0x21181e===-0x1||_0x2cc50f||_0x4ae45d===0x20||_0x4ae45d===0x9)throw new SyntaxError(_0x2a82b3(0x207));_0x3df4c8===-0x1&&(_0x3df4c8=_0x3bd310);const _0x335f7b=_0x4a4137[_0x2a82b3(0x26d)](_0x21181e,_0x3df4c8);return _0x143267===void 0x0?_0x28a83f(_0x54ef40,_0x335f7b,_0x7ea7d8):(_0x1c3b72===void 0x0?_0x28a83f(_0x7ea7d8,_0x335f7b,!0x0):_0x193b93?_0x28a83f(_0x7ea7d8,_0x1c3b72,_0x335f7b[_0x2a82b3(0x175)](/\\/g,'')):_0x28a83f(_0x7ea7d8,_0x1c3b72,_0x335f7b),_0x28a83f(_0x54ef40,_0x143267,_0x7ea7d8)),_0x54ef40;}function _0x308d10(_0x46b12e){const _0xab87ab=_0x571c;return Object['keys'](_0x46b12e)[_0xab87ab(0x2b0)](_0x5a0687=>{const _0x2518d9=_0xab87ab;let _0x15de9f=_0x46b12e[_0x5a0687];return Array[_0x2518d9(0x209)](_0x15de9f)||(_0x15de9f=[_0x15de9f]),_0x15de9f[_0x2518d9(0x2b0)](_0x39b5d0=>[_0x5a0687]['concat'](Object['keys'](_0x39b5d0)['map'](_0x56f1fa=>{const _0x70c5b8=_0x2518d9;let _0xfdfbe4=_0x39b5d0[_0x56f1fa];return Array[_0x70c5b8(0x209)](_0xfdfbe4)||(_0xfdfbe4=[_0xfdfbe4]),_0xfdfbe4['map'](_0x1362fe=>_0x1362fe===!0x0?_0x56f1fa:_0x56f1fa+'='+_0x1362fe)[_0x70c5b8(0x244)](';\x20');}))['join'](';\x20'))[_0x2518d9(0x244)](',\x20');})['join'](',\x20');}return be={'format':_0x308d10,'parse':_0x5811a5},be;}var we,Je;function Pe(){const _0x2eaa38=_0x230e5d;if(Je)return we;Je=0x1;const _0x43742a=nt,_0x1c8219=vt,_0x2681cc=ot,_0x483330=St,_0xeb631c=Et,{randomBytes:_0x580461,createHash:_0x26526c}=Le,{Duplex:_0x161805,Readable:_0x503f21}=oe,{URL:_0x58dfdb}=xt,_0x276475=he(),_0x7b24c0=lt(),_0x23a003=ft(),{isBlob:_0x4de29b}=ae(),{BINARY_TYPES:_0x3c1f83,EMPTY_BUFFER:_0x21bb3f,GUID:_0x5e860,kForOnEventAttribute:_0x4eee06,kListener:_0x2b7352,kStatusCode:_0x1a6a60,kWebSocket:_0x5b12fc,NOOP:_0x24a645}=H(),{EventTarget:{addEventListener:_0x1ad304,removeEventListener:_0x1c4a52}}=It(),{format:_0x18404a,parse:_0x53de83}=ct(),{toBuffer:_0x25e651}=ce(),_0xd46a73=0x1e*0x3e8,_0x4054fc=Symbol(_0x2eaa38(0x182)),_0x36cdad=[0x8,0xd],_0x10f294=[_0x2eaa38(0x24d),_0x2eaa38(0x2dc),'CLOSING','CLOSED'],_0x4b2b78=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3e5c7f extends _0x43742a{constructor(_0x562b27,_0x686478,_0x4774e6){const _0x31f357=_0x2eaa38;super(),this[_0x31f357(0x1b6)]=_0x3c1f83[0x0],this[_0x31f357(0x16d)]=0x3ee,this[_0x31f357(0x204)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x31f357(0x2c0)]=_0x21bb3f,this['_closeTimer']=null,this[_0x31f357(0x1b8)]=!0x1,this['_extensions']={},this[_0x31f357(0x1bf)]=!0x1,this[_0x31f357(0x245)]='',this[_0x31f357(0x1c3)]=_0x3e5c7f['CONNECTING'],this[_0x31f357(0x25d)]=null,this['_sender']=null,this[_0x31f357(0x2d3)]=null,_0x562b27!==null?(this[_0x31f357(0x2c6)]=0x0,this[_0x31f357(0x1c4)]=!0x1,this[_0x31f357(0x2cf)]=0x0,_0x686478===void 0x0?_0x686478=[]:Array['isArray'](_0x686478)||(typeof _0x686478==_0x31f357(0x22c)&&_0x686478!==null?(_0x4774e6=_0x686478,_0x686478=[]):_0x686478=[_0x686478]),_0x1362a3(this,_0x562b27,_0x686478,_0x4774e6)):(this['_autoPong']=_0x4774e6[_0x31f357(0x18b)],this['_isServer']=!0x0);}get['binaryType'](){const _0x5cbd96=_0x2eaa38;return this[_0x5cbd96(0x1b6)];}set[_0x2eaa38(0x201)](_0x33058b){const _0x131dbc=_0x2eaa38;_0x3c1f83['includes'](_0x33058b)&&(this[_0x131dbc(0x1b6)]=_0x33058b,this['_receiver']&&(this[_0x131dbc(0x25d)][_0x131dbc(0x1b6)]=_0x33058b));}get['bufferedAmount'](){const _0x2b5ffc=_0x2eaa38;return this[_0x2b5ffc(0x2d3)]?this[_0x2b5ffc(0x2d3)][_0x2b5ffc(0x25a)]['length']+this[_0x2b5ffc(0x2a9)][_0x2b5ffc(0x195)]:this[_0x2b5ffc(0x2c6)];}get[_0x2eaa38(0x21f)](){const _0x128611=_0x2eaa38;return Object[_0x128611(0x161)](this[_0x128611(0x17c)])[_0x128611(0x244)]();}get['isPaused'](){const _0x12813f=_0x2eaa38;return this[_0x12813f(0x1bf)];}get[_0x2eaa38(0x315)](){return null;}get[_0x2eaa38(0x186)](){return null;}get[_0x2eaa38(0x310)](){return null;}get[_0x2eaa38(0x217)](){return null;}get[_0x2eaa38(0x2cd)](){const _0x1c5d3f=_0x2eaa38;return this[_0x1c5d3f(0x245)];}get['readyState'](){const _0x4f96f4=_0x2eaa38;return this[_0x4f96f4(0x1c3)];}get[_0x2eaa38(0x23c)](){const _0x27a2e7=_0x2eaa38;return this[_0x27a2e7(0x254)];}['setSocket'](_0x5a0917,_0xe1ccb0,_0x360926){const _0x466312=_0x2eaa38,_0x273fad=new _0x7b24c0({'allowSynchronousEvents':_0x360926[_0x466312(0x283)],'binaryType':this[_0x466312(0x201)],'extensions':this[_0x466312(0x17c)],'isServer':this[_0x466312(0x1c4)],'maxPayload':_0x360926['maxPayload'],'skipUTF8Validation':_0x360926[_0x466312(0x28a)]}),_0x2d0122=new _0x23a003(_0x5a0917,this[_0x466312(0x17c)],_0x360926[_0x466312(0x233)]);this[_0x466312(0x25d)]=_0x273fad,this[_0x466312(0x2a9)]=_0x2d0122,this[_0x466312(0x2d3)]=_0x5a0917,_0x273fad[_0x5b12fc]=this,_0x2d0122[_0x5b12fc]=this,_0x5a0917[_0x5b12fc]=this,_0x273fad['on'](_0x466312(0x1ba),_0x5525be),_0x273fad['on']('drain',_0x47522c),_0x273fad['on'](_0x466312(0x1bc),_0x56964c),_0x273fad['on'](_0x466312(0x2c4),_0x5a7f90),_0x273fad['on'](_0x466312(0x168),_0x5081ea),_0x273fad['on'](_0x466312(0x1d7),_0x51a1a7),_0x2d0122['onerror']=_0x394fe1,_0x5a0917[_0x466312(0x1c9)]&&_0x5a0917[_0x466312(0x1c9)](0x0),_0x5a0917[_0x466312(0x1ff)]&&_0x5a0917[_0x466312(0x1ff)](),_0xe1ccb0[_0x466312(0x2d0)]>0x0&&_0x5a0917[_0x466312(0x18a)](_0xe1ccb0),_0x5a0917['on'](_0x466312(0x2a2),_0x4fea84),_0x5a0917['on']('data',_0x106090),_0x5a0917['on'](_0x466312(0x24e),_0x55304e),_0x5a0917['on'](_0x466312(0x1bc),_0x2e9d4a),this['_readyState']=_0x3e5c7f[_0x466312(0x2dc)],this[_0x466312(0x234)](_0x466312(0x185));}[_0x2eaa38(0x1f5)](){const _0x2a4c31=_0x2eaa38;if(!this[_0x2a4c31(0x2d3)]){this[_0x2a4c31(0x1c3)]=_0x3e5c7f[_0x2a4c31(0x291)],this[_0x2a4c31(0x234)](_0x2a4c31(0x2a2),this['_closeCode'],this['_closeMessage']);return;}this[_0x2a4c31(0x17c)][_0x276475[_0x2a4c31(0x257)]]&&this[_0x2a4c31(0x17c)][_0x276475['extensionName']][_0x2a4c31(0x2b6)](),this[_0x2a4c31(0x25d)]['removeAllListeners'](),this['_readyState']=_0x3e5c7f[_0x2a4c31(0x291)],this[_0x2a4c31(0x234)](_0x2a4c31(0x2a2),this[_0x2a4c31(0x16d)],this[_0x2a4c31(0x2c0)]);}[_0x2eaa38(0x2a2)](_0x3156ad,_0x56e493){const _0x4246c9=_0x2eaa38;if(this[_0x4246c9(0x267)]!==_0x3e5c7f[_0x4246c9(0x291)]){if(this['readyState']===_0x3e5c7f[_0x4246c9(0x24d)]){_0x3581a4(this,this['_req'],_0x4246c9(0x1df));return;}if(this['readyState']===_0x3e5c7f['CLOSING']){this[_0x4246c9(0x2f1)]&&(this['_closeFrameReceived']||this['_receiver'][_0x4246c9(0x25a)][_0x4246c9(0x1d1)])&&this[_0x4246c9(0x2d3)][_0x4246c9(0x24e)]();return;}this[_0x4246c9(0x1c3)]=_0x3e5c7f['CLOSING'],this[_0x4246c9(0x2a9)][_0x4246c9(0x2a2)](_0x3156ad,_0x56e493,!this[_0x4246c9(0x1c4)],_0x54f7c7=>{const _0x12443e=_0x4246c9;_0x54f7c7||(this[_0x12443e(0x2f1)]=!0x0,(this[_0x12443e(0x204)]||this['_receiver'][_0x12443e(0x25a)][_0x12443e(0x1d1)])&&this['_socket']['end']());}),_0x2780d5(this);}}[_0x2eaa38(0x2fb)](){const _0x5c0b48=_0x2eaa38;this[_0x5c0b48(0x267)]===_0x3e5c7f[_0x5c0b48(0x24d)]||this[_0x5c0b48(0x267)]===_0x3e5c7f[_0x5c0b48(0x291)]||(this[_0x5c0b48(0x1bf)]=!0x0,this[_0x5c0b48(0x2d3)][_0x5c0b48(0x2fb)]());}['ping'](_0x49689f,_0x4ec217,_0x144e29){const _0x100e24=_0x2eaa38;if(this['readyState']===_0x3e5c7f[_0x100e24(0x24d)])throw new Error(_0x100e24(0x272));if(typeof _0x49689f=='function'?(_0x144e29=_0x49689f,_0x49689f=_0x4ec217=void 0x0):typeof _0x4ec217==_0x100e24(0x220)&&(_0x144e29=_0x4ec217,_0x4ec217=void 0x0),typeof _0x49689f==_0x100e24(0x1fc)&&(_0x49689f=_0x49689f['toString']()),this['readyState']!==_0x3e5c7f[_0x100e24(0x2dc)]){_0x513a9c(this,_0x49689f,_0x144e29);return;}_0x4ec217===void 0x0&&(_0x4ec217=!this['_isServer']),this[_0x100e24(0x2a9)]['ping'](_0x49689f||_0x21bb3f,_0x4ec217,_0x144e29);}[_0x2eaa38(0x1d7)](_0x3e2cd1,_0x45acba,_0x37adb2){const _0xd36db5=_0x2eaa38;if(this[_0xd36db5(0x267)]===_0x3e5c7f[_0xd36db5(0x24d)])throw new Error(_0xd36db5(0x272));if(typeof _0x3e2cd1=='function'?(_0x37adb2=_0x3e2cd1,_0x3e2cd1=_0x45acba=void 0x0):typeof _0x45acba==_0xd36db5(0x220)&&(_0x37adb2=_0x45acba,_0x45acba=void 0x0),typeof _0x3e2cd1==_0xd36db5(0x1fc)&&(_0x3e2cd1=_0x3e2cd1[_0xd36db5(0x20d)]()),this[_0xd36db5(0x267)]!==_0x3e5c7f[_0xd36db5(0x2dc)]){_0x513a9c(this,_0x3e2cd1,_0x37adb2);return;}_0x45acba===void 0x0&&(_0x45acba=!this[_0xd36db5(0x1c4)]),this[_0xd36db5(0x2a9)][_0xd36db5(0x1d7)](_0x3e2cd1||_0x21bb3f,_0x45acba,_0x37adb2);}['resume'](){const _0x1c8751=_0x2eaa38;this[_0x1c8751(0x267)]===_0x3e5c7f[_0x1c8751(0x24d)]||this[_0x1c8751(0x267)]===_0x3e5c7f[_0x1c8751(0x291)]||(this[_0x1c8751(0x1bf)]=!0x1,this['_receiver'][_0x1c8751(0x25a)]['needDrain']||this[_0x1c8751(0x2d3)][_0x1c8751(0x306)]());}['send'](_0x202b3c,_0x3c82cf,_0x2928d0){const _0xe9bc08=_0x2eaa38;if(this['readyState']===_0x3e5c7f[_0xe9bc08(0x24d)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3c82cf==_0xe9bc08(0x220)&&(_0x2928d0=_0x3c82cf,_0x3c82cf={}),typeof _0x202b3c==_0xe9bc08(0x1fc)&&(_0x202b3c=_0x202b3c[_0xe9bc08(0x20d)]()),this[_0xe9bc08(0x267)]!==_0x3e5c7f[_0xe9bc08(0x2dc)]){_0x513a9c(this,_0x202b3c,_0x2928d0);return;}const _0x324d1a={'binary':typeof _0x202b3c!=_0xe9bc08(0x1e4),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x3c82cf};this[_0xe9bc08(0x17c)][_0x276475['extensionName']]||(_0x324d1a[_0xe9bc08(0x198)]=!0x1),this[_0xe9bc08(0x2a9)]['send'](_0x202b3c||_0x21bb3f,_0x324d1a,_0x2928d0);}[_0x2eaa38(0x28d)](){const _0x272978=_0x2eaa38;if(this[_0x272978(0x267)]!==_0x3e5c7f['CLOSED']){if(this[_0x272978(0x267)]===_0x3e5c7f[_0x272978(0x24d)]){_0x3581a4(this,this[_0x272978(0x27d)],_0x272978(0x1df));return;}this[_0x272978(0x2d3)]&&(this[_0x272978(0x1c3)]=_0x3e5c7f['CLOSING'],this[_0x272978(0x2d3)][_0x272978(0x2e8)]());}}}Object[_0x2eaa38(0x2a5)](_0x3e5c7f,_0x2eaa38(0x24d),{'enumerable':!0x0,'value':_0x10f294[_0x2eaa38(0x1b7)]('CONNECTING')}),Object['defineProperty'](_0x3e5c7f[_0x2eaa38(0x23d)],_0x2eaa38(0x24d),{'enumerable':!0x0,'value':_0x10f294[_0x2eaa38(0x1b7)](_0x2eaa38(0x24d))}),Object[_0x2eaa38(0x2a5)](_0x3e5c7f,_0x2eaa38(0x2dc),{'enumerable':!0x0,'value':_0x10f294[_0x2eaa38(0x1b7)](_0x2eaa38(0x2dc))}),Object[_0x2eaa38(0x2a5)](_0x3e5c7f['prototype'],_0x2eaa38(0x2dc),{'enumerable':!0x0,'value':_0x10f294['indexOf'](_0x2eaa38(0x2dc))}),Object['defineProperty'](_0x3e5c7f,_0x2eaa38(0x2ee),{'enumerable':!0x0,'value':_0x10f294[_0x2eaa38(0x1b7)](_0x2eaa38(0x2ee))}),Object['defineProperty'](_0x3e5c7f[_0x2eaa38(0x23d)],_0x2eaa38(0x2ee),{'enumerable':!0x0,'value':_0x10f294[_0x2eaa38(0x1b7)](_0x2eaa38(0x2ee))}),Object[_0x2eaa38(0x2a5)](_0x3e5c7f,_0x2eaa38(0x291),{'enumerable':!0x0,'value':_0x10f294['indexOf'](_0x2eaa38(0x291))}),Object['defineProperty'](_0x3e5c7f[_0x2eaa38(0x23d)],'CLOSED',{'enumerable':!0x0,'value':_0x10f294[_0x2eaa38(0x1b7)](_0x2eaa38(0x291))}),['binaryType','bufferedAmount',_0x2eaa38(0x21f),'isPaused','protocol',_0x2eaa38(0x267),_0x2eaa38(0x23c)][_0x2eaa38(0x271)](_0x5a8f5a=>{const _0x30976c=_0x2eaa38;Object[_0x30976c(0x2a5)](_0x3e5c7f[_0x30976c(0x23d)],_0x5a8f5a,{'enumerable':!0x0});}),[_0x2eaa38(0x185),_0x2eaa38(0x1bc),_0x2eaa38(0x2a2),_0x2eaa38(0x2c4)][_0x2eaa38(0x271)](_0x177cea=>{Object['defineProperty'](_0x3e5c7f['prototype'],'on'+_0x177cea,{'enumerable':!0x0,'get'(){const _0xad2f4f=_0x571c;for(const _0x2877ac of this[_0xad2f4f(0x2ce)](_0x177cea))if(_0x2877ac[_0x4eee06])return _0x2877ac[_0x2b7352];return null;},'set'(_0x33dd06){const _0x17371b=_0x571c;for(const _0xe7f7c7 of this[_0x17371b(0x2ce)](_0x177cea))if(_0xe7f7c7[_0x4eee06]){this['removeListener'](_0x177cea,_0xe7f7c7);break;}typeof _0x33dd06=='function'&&this[_0x17371b(0x1cb)](_0x177cea,_0x33dd06,{[_0x4eee06]:!0x0});}});}),_0x3e5c7f[_0x2eaa38(0x23d)][_0x2eaa38(0x1cb)]=_0x1ad304,_0x3e5c7f[_0x2eaa38(0x23d)][_0x2eaa38(0x300)]=_0x1c4a52,we=_0x3e5c7f;function _0x1362a3(_0x574e11,_0x2ee5b8,_0x47914f,_0x24aaaf){const _0x1bc0f2=_0x2eaa38,_0x932570={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x36cdad[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x24aaaf,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x574e11[_0x1bc0f2(0x16b)]=_0x932570[_0x1bc0f2(0x18b)],!_0x36cdad['includes'](_0x932570[_0x1bc0f2(0x294)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x932570[_0x1bc0f2(0x294)]+_0x1bc0f2(0x2b4)+_0x36cdad[_0x1bc0f2(0x244)](',\x20')+')');let _0x4009ac;if(_0x2ee5b8 instanceof _0x58dfdb)_0x4009ac=_0x2ee5b8;else try{_0x4009ac=new _0x58dfdb(_0x2ee5b8);}catch{throw new SyntaxError(_0x1bc0f2(0x226)+_0x2ee5b8);}_0x4009ac[_0x1bc0f2(0x2cd)]==='http:'?_0x4009ac[_0x1bc0f2(0x2cd)]=_0x1bc0f2(0x180):_0x4009ac[_0x1bc0f2(0x2cd)]===_0x1bc0f2(0x280)&&(_0x4009ac['protocol']=_0x1bc0f2(0x274)),_0x574e11['_url']=_0x4009ac[_0x1bc0f2(0x27c)];const _0x3c06fd=_0x4009ac[_0x1bc0f2(0x2cd)]===_0x1bc0f2(0x274),_0x213c34=_0x4009ac['protocol']==='ws+unix:';let _0x2346d0;if(_0x4009ac[_0x1bc0f2(0x2cd)]!=='ws:'&&!_0x3c06fd&&!_0x213c34?_0x2346d0=_0x1bc0f2(0x210):_0x213c34&&!_0x4009ac[_0x1bc0f2(0x202)]?_0x2346d0=_0x1bc0f2(0x16c):_0x4009ac['hash']&&(_0x2346d0='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x2346d0){const _0x506a96=new SyntaxError(_0x2346d0);if(_0x574e11[_0x1bc0f2(0x2cf)]===0x0)throw _0x506a96;_0x2f031d(_0x574e11,_0x506a96);return;}const _0x24f43d=_0x3c06fd?0x1bb:0x50,_0x53b03e=_0x580461(0x10)[_0x1bc0f2(0x20d)](_0x1bc0f2(0x26a)),_0x5da9b1=_0x3c06fd?_0x1c8219[_0x1bc0f2(0x313)]:_0x2681cc[_0x1bc0f2(0x313)],_0x445ff3=new Set();let _0x23ce18;if(_0x932570[_0x1bc0f2(0x1e6)]=_0x932570['createConnection']||(_0x3c06fd?_0x2d507d:_0x2c318a),_0x932570[_0x1bc0f2(0x24f)]=_0x932570[_0x1bc0f2(0x24f)]||_0x24f43d,_0x932570[_0x1bc0f2(0x299)]=_0x4009ac[_0x1bc0f2(0x299)]||_0x24f43d,_0x932570[_0x1bc0f2(0x301)]=_0x4009ac['hostname'][_0x1bc0f2(0x2f3)]('[')?_0x4009ac[_0x1bc0f2(0x1b9)]['slice'](0x1,-0x1):_0x4009ac[_0x1bc0f2(0x1b9)],_0x932570[_0x1bc0f2(0x1e0)]={..._0x932570[_0x1bc0f2(0x1e0)],'Sec-WebSocket-Version':_0x932570['protocolVersion'],'Sec-WebSocket-Key':_0x53b03e,'Connection':_0x1bc0f2(0x223),'Upgrade':'websocket'},_0x932570[_0x1bc0f2(0x2ac)]=_0x4009ac['pathname']+_0x4009ac[_0x1bc0f2(0x278)],_0x932570[_0x1bc0f2(0x289)]=_0x932570[_0x1bc0f2(0x1d6)],_0x932570[_0x1bc0f2(0x2b3)]&&(_0x23ce18=new _0x276475(_0x932570['perMessageDeflate']!==!0x0?_0x932570['perMessageDeflate']:{},!0x1,_0x932570[_0x1bc0f2(0x2e3)]),_0x932570[_0x1bc0f2(0x1e0)][_0x1bc0f2(0x22a)]=_0x18404a({[_0x276475['extensionName']]:_0x23ce18[_0x1bc0f2(0x2de)]()})),_0x47914f[_0x1bc0f2(0x2d0)]){for(const _0x3f90a5 of _0x47914f){if(typeof _0x3f90a5!=_0x1bc0f2(0x1e4)||!_0x4b2b78[_0x1bc0f2(0x1f9)](_0x3f90a5)||_0x445ff3[_0x1bc0f2(0x1d2)](_0x3f90a5))throw new SyntaxError(_0x1bc0f2(0x1e8));_0x445ff3[_0x1bc0f2(0x163)](_0x3f90a5);}_0x932570['headers'][_0x1bc0f2(0x196)]=_0x47914f[_0x1bc0f2(0x244)](',');}if(_0x932570[_0x1bc0f2(0x29d)]&&(_0x932570['protocolVersion']<0xd?_0x932570[_0x1bc0f2(0x1e0)][_0x1bc0f2(0x2c3)]=_0x932570[_0x1bc0f2(0x29d)]:_0x932570[_0x1bc0f2(0x1e0)][_0x1bc0f2(0x2e9)]=_0x932570[_0x1bc0f2(0x29d)]),(_0x4009ac[_0x1bc0f2(0x160)]||_0x4009ac['password'])&&(_0x932570['auth']=_0x4009ac[_0x1bc0f2(0x160)]+':'+_0x4009ac[_0x1bc0f2(0x189)]),_0x213c34){const _0x14477a=_0x932570['path'][_0x1bc0f2(0x1c0)](':');_0x932570[_0x1bc0f2(0x203)]=_0x14477a[0x0],_0x932570['path']=_0x14477a[0x1];}let _0x3d742f;if(_0x932570[_0x1bc0f2(0x1ce)]){if(_0x574e11[_0x1bc0f2(0x2cf)]===0x0){_0x574e11[_0x1bc0f2(0x1e7)]=_0x213c34,_0x574e11[_0x1bc0f2(0x25f)]=_0x3c06fd,_0x574e11['_originalHostOrSocketPath']=_0x213c34?_0x932570[_0x1bc0f2(0x203)]:_0x4009ac[_0x1bc0f2(0x301)];const _0x5e49c1=_0x24aaaf&&_0x24aaaf[_0x1bc0f2(0x1e0)];if(_0x24aaaf={..._0x24aaaf,'headers':{}},_0x5e49c1){for(const [_0x194f9d,_0x129cdd]of Object['entries'](_0x5e49c1))_0x24aaaf[_0x1bc0f2(0x1e0)][_0x194f9d['toLowerCase']()]=_0x129cdd;}}else{if(_0x574e11['listenerCount'](_0x1bc0f2(0x1c1))===0x0){const _0xcd5030=_0x213c34?_0x574e11[_0x1bc0f2(0x1e7)]?_0x932570[_0x1bc0f2(0x203)]===_0x574e11['_originalHostOrSocketPath']:!0x1:_0x574e11[_0x1bc0f2(0x1e7)]?!0x1:_0x4009ac[_0x1bc0f2(0x301)]===_0x574e11['_originalHostOrSocketPath'];(!_0xcd5030||_0x574e11[_0x1bc0f2(0x25f)]&&!_0x3c06fd)&&(delete _0x932570[_0x1bc0f2(0x1e0)]['authorization'],delete _0x932570[_0x1bc0f2(0x1e0)][_0x1bc0f2(0x238)],_0xcd5030||delete _0x932570[_0x1bc0f2(0x1e0)][_0x1bc0f2(0x301)],_0x932570['auth']=void 0x0);}}_0x932570[_0x1bc0f2(0x1bd)]&&!_0x24aaaf[_0x1bc0f2(0x1e0)]['authorization']&&(_0x24aaaf[_0x1bc0f2(0x1e0)]['authorization']='Basic\x20'+Buffer[_0x1bc0f2(0x316)](_0x932570[_0x1bc0f2(0x1bd)])['toString']('base64')),_0x3d742f=_0x574e11[_0x1bc0f2(0x27d)]=_0x5da9b1(_0x932570),_0x574e11['_redirects']&&_0x574e11[_0x1bc0f2(0x234)](_0x1bc0f2(0x1c1),_0x574e11[_0x1bc0f2(0x23c)],_0x3d742f);}else _0x3d742f=_0x574e11[_0x1bc0f2(0x27d)]=_0x5da9b1(_0x932570);_0x932570[_0x1bc0f2(0x289)]&&_0x3d742f['on'](_0x1bc0f2(0x289),()=>{const _0x212b84=_0x1bc0f2;_0x3581a4(_0x574e11,_0x3d742f,_0x212b84(0x1f2));}),_0x3d742f['on'](_0x1bc0f2(0x1bc),_0x31d37e=>{const _0x5dce04=_0x1bc0f2;_0x3d742f===null||_0x3d742f[_0x4054fc]||(_0x3d742f=_0x574e11[_0x5dce04(0x27d)]=null,_0x2f031d(_0x574e11,_0x31d37e));}),_0x3d742f['on'](_0x1bc0f2(0x1d5),_0x256476=>{const _0x5c7ba5=_0x1bc0f2,_0x505af3=_0x256476[_0x5c7ba5(0x1e0)]['location'],_0x3427cc=_0x256476[_0x5c7ba5(0x206)];if(_0x505af3&&_0x932570[_0x5c7ba5(0x1ce)]&&_0x3427cc>=0x12c&&_0x3427cc<0x190){if(++_0x574e11[_0x5c7ba5(0x2cf)]>_0x932570[_0x5c7ba5(0x1e3)]){_0x3581a4(_0x574e11,_0x3d742f,_0x5c7ba5(0x2ba));return;}_0x3d742f[_0x5c7ba5(0x2df)]();let _0x17525e;try{_0x17525e=new _0x58dfdb(_0x505af3,_0x2ee5b8);}catch{const _0x309c4d=new SyntaxError(_0x5c7ba5(0x226)+_0x505af3);_0x2f031d(_0x574e11,_0x309c4d);return;}_0x1362a3(_0x574e11,_0x17525e,_0x47914f,_0x24aaaf);}else _0x574e11[_0x5c7ba5(0x234)](_0x5c7ba5(0x23a),_0x3d742f,_0x256476)||_0x3581a4(_0x574e11,_0x3d742f,_0x5c7ba5(0x169)+_0x256476[_0x5c7ba5(0x206)]);}),_0x3d742f['on']('upgrade',(_0x47111d,_0x92fc30,_0x19c676)=>{const _0x958bd6=_0x1bc0f2;if(_0x574e11['emit'](_0x958bd6(0x258),_0x47111d),_0x574e11['readyState']!==_0x3e5c7f['CONNECTING'])return;_0x3d742f=_0x574e11['_req']=null;const _0x5b3bee=_0x47111d[_0x958bd6(0x1e0)][_0x958bd6(0x258)];if(_0x5b3bee===void 0x0||_0x5b3bee[_0x958bd6(0x2fd)]()!==_0x958bd6(0x187)){_0x3581a4(_0x574e11,_0x92fc30,_0x958bd6(0x19c));return;}const _0x1b2343=_0x26526c('sha1')[_0x958bd6(0x2b7)](_0x53b03e+_0x5e860)[_0x958bd6(0x25e)](_0x958bd6(0x26a));if(_0x47111d['headers'][_0x958bd6(0x1f0)]!==_0x1b2343){_0x3581a4(_0x574e11,_0x92fc30,_0x958bd6(0x1ec));return;}const _0x28ecf7=_0x47111d[_0x958bd6(0x1e0)][_0x958bd6(0x1ee)];let _0x12d7db;if(_0x28ecf7!==void 0x0?_0x445ff3[_0x958bd6(0x1ac)]?_0x445ff3[_0x958bd6(0x1d2)](_0x28ecf7)||(_0x12d7db=_0x958bd6(0x1b2)):_0x12d7db=_0x958bd6(0x2ec):_0x445ff3[_0x958bd6(0x1ac)]&&(_0x12d7db='Server\x20sent\x20no\x20subprotocol'),_0x12d7db){_0x3581a4(_0x574e11,_0x92fc30,_0x12d7db);return;}_0x28ecf7&&(_0x574e11[_0x958bd6(0x245)]=_0x28ecf7);const _0x46ad21=_0x47111d['headers'][_0x958bd6(0x2e0)];if(_0x46ad21!==void 0x0){if(!_0x23ce18){_0x3581a4(_0x574e11,_0x92fc30,_0x958bd6(0x1f1));return;}let _0x496a80;try{_0x496a80=_0x53de83(_0x46ad21);}catch{_0x3581a4(_0x574e11,_0x92fc30,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x1d881a=Object['keys'](_0x496a80);if(_0x1d881a[_0x958bd6(0x2d0)]!==0x1||_0x1d881a[0x0]!==_0x276475['extensionName']){_0x3581a4(_0x574e11,_0x92fc30,_0x958bd6(0x2c9));return;}try{_0x23ce18[_0x958bd6(0x22b)](_0x496a80[_0x276475[_0x958bd6(0x257)]]);}catch{_0x3581a4(_0x574e11,_0x92fc30,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x574e11[_0x958bd6(0x17c)][_0x276475[_0x958bd6(0x257)]]=_0x23ce18;}_0x574e11[_0x958bd6(0x22f)](_0x92fc30,_0x19c676,{'allowSynchronousEvents':_0x932570[_0x958bd6(0x283)],'generateMask':_0x932570['generateMask'],'maxPayload':_0x932570[_0x958bd6(0x2e3)],'skipUTF8Validation':_0x932570[_0x958bd6(0x28a)]});}),_0x932570[_0x1bc0f2(0x1d8)]?_0x932570[_0x1bc0f2(0x1d8)](_0x3d742f,_0x574e11):_0x3d742f['end']();}function _0x2f031d(_0x9f2976,_0x3c6066){const _0x4fe1ee=_0x2eaa38;_0x9f2976[_0x4fe1ee(0x1c3)]=_0x3e5c7f[_0x4fe1ee(0x2ee)],_0x9f2976[_0x4fe1ee(0x1b8)]=!0x0,_0x9f2976[_0x4fe1ee(0x234)](_0x4fe1ee(0x1bc),_0x3c6066),_0x9f2976[_0x4fe1ee(0x1f5)]();}function _0x2c318a(_0x3ae10f){const _0x1da490=_0x2eaa38;return _0x3ae10f[_0x1da490(0x2ac)]=_0x3ae10f[_0x1da490(0x203)],_0x483330['connect'](_0x3ae10f);}function _0x2d507d(_0x3c0d67){const _0x11e88b=_0x2eaa38;return _0x3c0d67[_0x11e88b(0x2ac)]=void 0x0,!_0x3c0d67[_0x11e88b(0x1a6)]&&_0x3c0d67[_0x11e88b(0x1a6)]!==''&&(_0x3c0d67[_0x11e88b(0x1a6)]=_0x483330[_0x11e88b(0x2ea)](_0x3c0d67[_0x11e88b(0x301)])?'':_0x3c0d67[_0x11e88b(0x301)]),_0xeb631c['connect'](_0x3c0d67);}function _0x3581a4(_0x1bddf4,_0x4a3053,_0x35cfdd){const _0x176f57=_0x2eaa38;_0x1bddf4[_0x176f57(0x1c3)]=_0x3e5c7f[_0x176f57(0x2ee)];const _0xa28047=new Error(_0x35cfdd);Error[_0x176f57(0x2a4)](_0xa28047,_0x3581a4),_0x4a3053[_0x176f57(0x282)]?(_0x4a3053[_0x4054fc]=!0x0,_0x4a3053[_0x176f57(0x2df)](),_0x4a3053[_0x176f57(0x1fb)]&&!_0x4a3053[_0x176f57(0x1fb)][_0x176f57(0x1ef)]&&_0x4a3053[_0x176f57(0x1fb)][_0x176f57(0x2e8)](),process['nextTick'](_0x2f031d,_0x1bddf4,_0xa28047)):(_0x4a3053[_0x176f57(0x2e8)](_0xa28047),_0x4a3053[_0x176f57(0x1e2)](_0x176f57(0x1bc),_0x1bddf4['emit']['bind'](_0x1bddf4,_0x176f57(0x1bc))),_0x4a3053[_0x176f57(0x1e2)]('close',_0x1bddf4[_0x176f57(0x1f5)]['bind'](_0x1bddf4)));}function _0x513a9c(_0x279e86,_0x4a9828,_0x4cf840){const _0x450a45=_0x2eaa38;if(_0x4a9828){const _0x1f431d=_0x4de29b(_0x4a9828)?_0x4a9828['size']:_0x25e651(_0x4a9828)[_0x450a45(0x2d0)];_0x279e86[_0x450a45(0x2d3)]?_0x279e86['_sender'][_0x450a45(0x195)]+=_0x1f431d:_0x279e86[_0x450a45(0x2c6)]+=_0x1f431d;}if(_0x4cf840){const _0x22a36f=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x279e86[_0x450a45(0x267)]+'\x20('+_0x10f294[_0x279e86[_0x450a45(0x267)]]+')');process[_0x450a45(0x239)](_0x4cf840,_0x22a36f);}}function _0x5525be(_0x4bd057,_0x4cea49){const _0x42b8bb=_0x2eaa38,_0x4862be=this[_0x5b12fc];_0x4862be[_0x42b8bb(0x204)]=!0x0,_0x4862be[_0x42b8bb(0x2c0)]=_0x4cea49,_0x4862be[_0x42b8bb(0x16d)]=_0x4bd057,_0x4862be[_0x42b8bb(0x2d3)][_0x5b12fc]!==void 0x0&&(_0x4862be['_socket'][_0x42b8bb(0x1b4)](_0x42b8bb(0x29c),_0x106090),process['nextTick'](_0x31e2c3,_0x4862be[_0x42b8bb(0x2d3)]),_0x4bd057===0x3ed?_0x4862be[_0x42b8bb(0x2a2)]():_0x4862be[_0x42b8bb(0x2a2)](_0x4bd057,_0x4cea49));}function _0x47522c(){const _0x119d18=_0x2eaa38,_0x456564=this[_0x5b12fc];_0x456564[_0x119d18(0x2d9)]||_0x456564[_0x119d18(0x2d3)][_0x119d18(0x306)]();}function _0x56964c(_0x2444ac){const _0x10cfe3=_0x2eaa38,_0x1478fa=this[_0x5b12fc];_0x1478fa[_0x10cfe3(0x2d3)][_0x5b12fc]!==void 0x0&&(_0x1478fa[_0x10cfe3(0x2d3)][_0x10cfe3(0x1b4)](_0x10cfe3(0x29c),_0x106090),process[_0x10cfe3(0x239)](_0x31e2c3,_0x1478fa[_0x10cfe3(0x2d3)]),_0x1478fa[_0x10cfe3(0x2a2)](_0x2444ac[_0x1a6a60])),_0x1478fa[_0x10cfe3(0x1b8)]||(_0x1478fa[_0x10cfe3(0x1b8)]=!0x0,_0x1478fa[_0x10cfe3(0x234)](_0x10cfe3(0x1bc),_0x2444ac));}function _0x6f2de4(){const _0x2d0d47=_0x2eaa38;this[_0x5b12fc][_0x2d0d47(0x1f5)]();}function _0x5a7f90(_0x22f2d8,_0x422b12){const _0x6983f7=_0x2eaa38;this[_0x5b12fc][_0x6983f7(0x234)]('message',_0x22f2d8,_0x422b12);}function _0x5081ea(_0x10ce6c){const _0x47e39b=_0x2eaa38,_0x19307f=this[_0x5b12fc];_0x19307f[_0x47e39b(0x16b)]&&_0x19307f[_0x47e39b(0x1d7)](_0x10ce6c,!this[_0x47e39b(0x1c4)],_0x24a645),_0x19307f['emit'](_0x47e39b(0x168),_0x10ce6c);}function _0x51a1a7(_0x478fb6){const _0x1e521a=_0x2eaa38;this[_0x5b12fc][_0x1e521a(0x234)](_0x1e521a(0x1d7),_0x478fb6);}function _0x31e2c3(_0x161464){const _0x5ac9b3=_0x2eaa38;_0x161464[_0x5ac9b3(0x306)]();}function _0x394fe1(_0x4aea85){const _0x48b689=_0x2eaa38,_0x2a2d88=this[_0x5b12fc];_0x2a2d88[_0x48b689(0x267)]!==_0x3e5c7f['CLOSED']&&(_0x2a2d88[_0x48b689(0x267)]===_0x3e5c7f[_0x48b689(0x2dc)]&&(_0x2a2d88[_0x48b689(0x1c3)]=_0x3e5c7f[_0x48b689(0x2ee)],_0x2780d5(_0x2a2d88)),this[_0x48b689(0x2d3)]['end'](),_0x2a2d88[_0x48b689(0x1b8)]||(_0x2a2d88[_0x48b689(0x1b8)]=!0x0,_0x2a2d88['emit'](_0x48b689(0x1bc),_0x4aea85)));}function _0x2780d5(_0x79dacc){const _0x41292a=_0x2eaa38;_0x79dacc[_0x41292a(0x1fd)]=setTimeout(_0x79dacc[_0x41292a(0x2d3)][_0x41292a(0x2e8)][_0x41292a(0x1f6)](_0x79dacc[_0x41292a(0x2d3)]),_0xd46a73);}function _0x4fea84(){const _0x404005=_0x2eaa38,_0x58c463=this[_0x5b12fc];this[_0x404005(0x1b4)]('close',_0x4fea84),this[_0x404005(0x1b4)](_0x404005(0x29c),_0x106090),this[_0x404005(0x1b4)]('end',_0x55304e),_0x58c463[_0x404005(0x1c3)]=_0x3e5c7f[_0x404005(0x2ee)];let _0x36e4f3;!this[_0x404005(0x2c7)]['endEmitted']&&!_0x58c463[_0x404005(0x204)]&&!_0x58c463[_0x404005(0x25d)]['_writableState'][_0x404005(0x1d1)]&&(_0x36e4f3=_0x58c463[_0x404005(0x2d3)][_0x404005(0x2e6)]())!==null&&_0x58c463[_0x404005(0x25d)][_0x404005(0x27a)](_0x36e4f3),_0x58c463['_receiver'][_0x404005(0x24e)](),this[_0x5b12fc]=void 0x0,clearTimeout(_0x58c463[_0x404005(0x1fd)]),_0x58c463['_receiver'][_0x404005(0x25a)][_0x404005(0x21d)]||_0x58c463[_0x404005(0x25d)]['_writableState'][_0x404005(0x1d1)]?_0x58c463[_0x404005(0x1f5)]():(_0x58c463['_receiver']['on'](_0x404005(0x1bc),_0x6f2de4),_0x58c463[_0x404005(0x25d)]['on'](_0x404005(0x296),_0x6f2de4));}function _0x106090(_0x180995){const _0x1c4195=_0x2eaa38;this[_0x5b12fc]['_receiver'][_0x1c4195(0x27a)](_0x180995)||this[_0x1c4195(0x2fb)]();}function _0x55304e(){const _0x34ec75=_0x2eaa38,_0x413ca9=this[_0x5b12fc];_0x413ca9[_0x34ec75(0x1c3)]=_0x3e5c7f[_0x34ec75(0x2ee)],_0x413ca9[_0x34ec75(0x25d)][_0x34ec75(0x24e)](),this[_0x34ec75(0x24e)]();}function _0x2e9d4a(){const _0x3c8e0a=_0x2eaa38,_0x527b0d=this[_0x5b12fc];this['removeListener']('error',_0x2e9d4a),this['on'](_0x3c8e0a(0x1bc),_0x24a645),_0x527b0d&&(_0x527b0d[_0x3c8e0a(0x1c3)]=_0x3e5c7f[_0x3c8e0a(0x2ee)],this[_0x3c8e0a(0x2e8)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1c9ccc}=oe;function _0x2c58cb(_0x5e24a2){const _0x662e98=_0x571c;_0x5e24a2[_0x662e98(0x234)](_0x662e98(0x2a2));}function _0x476aa2(){const _0x12c157=_0x571c;!this[_0x12c157(0x1ef)]&&this[_0x12c157(0x25a)][_0x12c157(0x21d)]&&this[_0x12c157(0x2e8)]();}function _0x2addce(_0x10a779){const _0x4a9920=_0x571c;this[_0x4a9920(0x1b4)](_0x4a9920(0x1bc),_0x2addce),this[_0x4a9920(0x2e8)](),this[_0x4a9920(0x29a)](_0x4a9920(0x1bc))===0x0&&this[_0x4a9920(0x234)]('error',_0x10a779);}function _0x356c19(_0x599a83,_0x57d294){const _0x541f12=_0x571c;let _0x4d17f8=!0x0;const _0x571094=new _0x1c9ccc({..._0x57d294,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x599a83['on'](_0x541f12(0x2c4),function(_0x24b9a1,_0x5d6fef){const _0x10c4e0=_0x541f12,_0x34b6ac=!_0x5d6fef&&_0x571094[_0x10c4e0(0x2c7)][_0x10c4e0(0x2eb)]?_0x24b9a1[_0x10c4e0(0x20d)]():_0x24b9a1;_0x571094[_0x10c4e0(0x303)](_0x34b6ac)||_0x599a83[_0x10c4e0(0x2fb)]();}),_0x599a83[_0x541f12(0x1e2)](_0x541f12(0x1bc),function(_0x5cbcd8){const _0x4840f6=_0x541f12;_0x571094[_0x4840f6(0x1ef)]||(_0x4d17f8=!0x1,_0x571094[_0x4840f6(0x2e8)](_0x5cbcd8));}),_0x599a83[_0x541f12(0x1e2)](_0x541f12(0x2a2),function(){const _0x5982eb=_0x541f12;_0x571094['destroyed']||_0x571094[_0x5982eb(0x303)](null);}),_0x571094[_0x541f12(0x29b)]=function(_0x3cafba,_0x2991d1){const _0x85492a=_0x541f12;if(_0x599a83[_0x85492a(0x267)]===_0x599a83[_0x85492a(0x291)]){_0x2991d1(_0x3cafba),process[_0x85492a(0x239)](_0x2c58cb,_0x571094);return;}let _0x33137a=!0x1;_0x599a83[_0x85492a(0x1e2)](_0x85492a(0x1bc),function(_0x31bf16){_0x33137a=!0x0,_0x2991d1(_0x31bf16);}),_0x599a83['once'](_0x85492a(0x2a2),function(){_0x33137a||_0x2991d1(_0x3cafba),process['nextTick'](_0x2c58cb,_0x571094);}),_0x4d17f8&&_0x599a83[_0x85492a(0x28d)]();},_0x571094[_0x541f12(0x2ad)]=function(_0x42b888){const _0xfa85fc=_0x541f12;if(_0x599a83[_0xfa85fc(0x267)]===_0x599a83[_0xfa85fc(0x24d)]){_0x599a83[_0xfa85fc(0x1e2)]('open',function(){_0x571094['_final'](_0x42b888);});return;}_0x599a83[_0xfa85fc(0x2d3)]!==null&&(_0x599a83['_socket']['_writableState'][_0xfa85fc(0x21d)]?(_0x42b888(),_0x571094['_readableState'][_0xfa85fc(0x172)]&&_0x571094[_0xfa85fc(0x2e8)]()):(_0x599a83[_0xfa85fc(0x2d3)][_0xfa85fc(0x1e2)](_0xfa85fc(0x296),function(){_0x42b888();}),_0x599a83[_0xfa85fc(0x2a2)]()));},_0x571094[_0x541f12(0x2a1)]=function(){const _0x58847f=_0x541f12;_0x599a83[_0x58847f(0x2d9)]&&_0x599a83['resume']();},_0x571094['_write']=function(_0x43d58e,_0x35fe03,_0x514e5b){const _0x1bce2c=_0x541f12;if(_0x599a83[_0x1bce2c(0x267)]===_0x599a83[_0x1bce2c(0x24d)]){_0x599a83[_0x1bce2c(0x1e2)](_0x1bce2c(0x185),function(){_0x571094['_write'](_0x43d58e,_0x35fe03,_0x514e5b);});return;}_0x599a83[_0x1bce2c(0x286)](_0x43d58e,_0x514e5b);},_0x571094['on'](_0x541f12(0x24e),_0x476aa2),_0x571094['on'](_0x541f12(0x1bc),_0x2addce),_0x571094;}return Oe=_0x356c19,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x56f6d8}=ae();function _0x1b74b7(_0x5cdb8a){const _0x576730=_0x571c,_0x1465bb=new Set();let _0x2a9152=-0x1,_0x4a0439=-0x1,_0x5a14fe=0x0;for(_0x5a14fe;_0x5a14fe<_0x5cdb8a[_0x576730(0x2d0)];_0x5a14fe++){const _0x2a7e31=_0x5cdb8a[_0x576730(0x1d9)](_0x5a14fe);if(_0x4a0439===-0x1&&_0x56f6d8[_0x2a7e31]===0x1)_0x2a9152===-0x1&&(_0x2a9152=_0x5a14fe);else{if(_0x5a14fe!==0x0&&(_0x2a7e31===0x20||_0x2a7e31===0x9))_0x4a0439===-0x1&&_0x2a9152!==-0x1&&(_0x4a0439=_0x5a14fe);else{if(_0x2a7e31===0x2c){if(_0x2a9152===-0x1)throw new SyntaxError(_0x576730(0x1a1)+_0x5a14fe);_0x4a0439===-0x1&&(_0x4a0439=_0x5a14fe);const _0x408262=_0x5cdb8a['slice'](_0x2a9152,_0x4a0439);if(_0x1465bb[_0x576730(0x1d2)](_0x408262))throw new SyntaxError(_0x576730(0x2e5)+_0x408262+_0x576730(0x2f6));_0x1465bb[_0x576730(0x163)](_0x408262),_0x2a9152=_0x4a0439=-0x1;}else throw new SyntaxError(_0x576730(0x1a1)+_0x5a14fe);}}}if(_0x2a9152===-0x1||_0x4a0439!==-0x1)throw new SyntaxError(_0x576730(0x207));const _0x211a25=_0x5cdb8a['slice'](_0x2a9152,_0x5a14fe);if(_0x1465bb['has'](_0x211a25))throw new SyntaxError('The\x20\x22'+_0x211a25+_0x576730(0x2f6));return _0x1465bb[_0x576730(0x163)](_0x211a25),_0x1465bb;}return Ce={'parse':_0x1b74b7},Ce;}var Te,rt;function Ft(){const _0x5d5d2d=_0x230e5d;if(rt)return Te;rt=0x1;const _0xc4d3f5=nt,_0x5e8e3e=ot,{Duplex:_0x5e3bb2}=oe,{createHash:_0x690a}=Le,_0x36ea42=ct(),_0x1a1103=he(),_0x5069a4=At(),_0x234eb2=Pe(),{GUID:_0xcdbcd1,kWebSocket:_0x204246}=H(),_0x1e76b0=/^[+/0-9A-Za-z]{22}==$/,_0x49f4b9=0x0,_0x269be9=0x1,_0x2f18cf=0x2;class _0x338bc9 extends _0xc4d3f5{constructor(_0x4b9558,_0x41adae){const _0x104280=_0x571c;if(super(),_0x4b9558={'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':_0x234eb2,..._0x4b9558},_0x4b9558[_0x104280(0x299)]==null&&!_0x4b9558['server']&&!_0x4b9558[_0x104280(0x23f)]||_0x4b9558[_0x104280(0x299)]!=null&&(_0x4b9558[_0x104280(0x302)]||_0x4b9558[_0x104280(0x23f)])||_0x4b9558[_0x104280(0x302)]&&_0x4b9558[_0x104280(0x23f)])throw new TypeError(_0x104280(0x16e));if(_0x4b9558[_0x104280(0x299)]!=null?(this[_0x104280(0x2c8)]=_0x5e8e3e[_0x104280(0x1fe)]((_0x1ff7d6,_0x2607a0)=>{const _0x30edcb=_0x104280,_0x1cf456=_0x5e8e3e[_0x30edcb(0x164)][0x1aa];_0x2607a0[_0x30edcb(0x18f)](0x1aa,{'Content-Length':_0x1cf456[_0x30edcb(0x2d0)],'Content-Type':_0x30edcb(0x279)}),_0x2607a0[_0x30edcb(0x24e)](_0x1cf456);}),this[_0x104280(0x2c8)][_0x104280(0x2b1)](_0x4b9558[_0x104280(0x299)],_0x4b9558[_0x104280(0x301)],_0x4b9558['backlog'],_0x41adae)):_0x4b9558[_0x104280(0x302)]&&(this['_server']=_0x4b9558[_0x104280(0x302)]),this[_0x104280(0x2c8)]){const _0x153b89=this[_0x104280(0x234)]['bind'](this,_0x104280(0x18c));this[_0x104280(0x268)]=_0x4e5a8c(this[_0x104280(0x2c8)],{'listening':this[_0x104280(0x234)][_0x104280(0x1f6)](this,'listening'),'error':this[_0x104280(0x234)]['bind'](this,'error'),'upgrade':(_0x292c29,_0x54c056,_0xc99ed2)=>{const _0x94fb7c=_0x104280;this[_0x94fb7c(0x23b)](_0x292c29,_0x54c056,_0xc99ed2,_0x153b89);}});}_0x4b9558[_0x104280(0x2b3)]===!0x0&&(_0x4b9558[_0x104280(0x2b3)]={}),_0x4b9558['clientTracking']&&(this[_0x104280(0x22d)]=new Set(),this[_0x104280(0x20b)]=!0x1),this[_0x104280(0x25b)]=_0x4b9558,this[_0x104280(0x2d4)]=_0x49f4b9;}[_0x5d5d2d(0x266)](){const _0xb5ac3f=_0x5d5d2d;if(this[_0xb5ac3f(0x25b)][_0xb5ac3f(0x23f)])throw new Error(_0xb5ac3f(0x1a7));return this['_server']?this[_0xb5ac3f(0x2c8)][_0xb5ac3f(0x266)]():null;}[_0x5d5d2d(0x2a2)](_0x815141){const _0x1a8ce6=_0x5d5d2d;if(this[_0x1a8ce6(0x2d4)]===_0x2f18cf){_0x815141&&this[_0x1a8ce6(0x1e2)](_0x1a8ce6(0x2a2),()=>{const _0x2ed18b=_0x1a8ce6;_0x815141(new Error(_0x2ed18b(0x1c8)));}),process[_0x1a8ce6(0x239)](_0x51ae07,this);return;}if(_0x815141&&this['once'](_0x1a8ce6(0x2a2),_0x815141),this[_0x1a8ce6(0x2d4)]!==_0x269be9){if(this[_0x1a8ce6(0x2d4)]=_0x269be9,this[_0x1a8ce6(0x25b)][_0x1a8ce6(0x23f)]||this['options'][_0x1a8ce6(0x302)])this[_0x1a8ce6(0x2c8)]&&(this[_0x1a8ce6(0x268)](),this['_removeListeners']=this['_server']=null),this[_0x1a8ce6(0x22d)]?this[_0x1a8ce6(0x22d)][_0x1a8ce6(0x1ac)]?this[_0x1a8ce6(0x20b)]=!0x0:process[_0x1a8ce6(0x239)](_0x51ae07,this):process[_0x1a8ce6(0x239)](_0x51ae07,this);else{const _0x32c33d=this[_0x1a8ce6(0x2c8)];this['_removeListeners'](),this['_removeListeners']=this['_server']=null,_0x32c33d['close'](()=>{_0x51ae07(this);});}}}[_0x5d5d2d(0x26c)](_0x2aa863){const _0x1755d1=_0x5d5d2d;if(this[_0x1755d1(0x25b)][_0x1755d1(0x2ac)]){const _0x3d551a=_0x2aa863[_0x1755d1(0x23c)][_0x1755d1(0x1b7)]('?');if((_0x3d551a!==-0x1?_0x2aa863[_0x1755d1(0x23c)]['slice'](0x0,_0x3d551a):_0x2aa863[_0x1755d1(0x23c)])!==this[_0x1755d1(0x25b)][_0x1755d1(0x2ac)])return!0x1;}return!0x0;}[_0x5d5d2d(0x23b)](_0x3a23f2,_0x281087,_0x57001a,_0x19b5a0){const _0x392bde=_0x5d5d2d;_0x281087['on'](_0x392bde(0x1bc),_0x1a9f95);const _0x16251f=_0x3a23f2['headers']['sec-websocket-key'],_0xf15c6e=_0x3a23f2['headers'][_0x392bde(0x258)],_0x254c79=+_0x3a23f2[_0x392bde(0x1e0)]['sec-websocket-version'];if(_0x3a23f2[_0x392bde(0x312)]!=='GET'){_0x5e72a7(this,_0x3a23f2,_0x281087,0x195,_0x392bde(0x162));return;}if(_0xf15c6e===void 0x0||_0xf15c6e['toLowerCase']()!==_0x392bde(0x187)){_0x5e72a7(this,_0x3a23f2,_0x281087,0x190,_0x392bde(0x19c));return;}if(_0x16251f===void 0x0||!_0x1e76b0[_0x392bde(0x1f9)](_0x16251f)){_0x5e72a7(this,_0x3a23f2,_0x281087,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x254c79!==0xd&&_0x254c79!==0x8){_0x5e72a7(this,_0x3a23f2,_0x281087,0x190,_0x392bde(0x1c6),{'Sec-WebSocket-Version':_0x392bde(0x216)});return;}if(!this[_0x392bde(0x26c)](_0x3a23f2)){_0x219847(_0x281087,0x190);return;}const _0x2e3bca=_0x3a23f2[_0x392bde(0x1e0)][_0x392bde(0x1ee)];let _0x77086f=new Set();if(_0x2e3bca!==void 0x0)try{_0x77086f=_0x5069a4[_0x392bde(0x1d4)](_0x2e3bca);}catch{_0x5e72a7(this,_0x3a23f2,_0x281087,0x190,_0x392bde(0x19b));return;}const _0x49e6e7=_0x3a23f2[_0x392bde(0x1e0)][_0x392bde(0x2e0)],_0x34aeb8={};if(this[_0x392bde(0x25b)][_0x392bde(0x2b3)]&&_0x49e6e7!==void 0x0){const _0x5b0ebb=new _0x1a1103(this['options'][_0x392bde(0x2b3)],!0x0,this['options']['maxPayload']);try{const _0x33b8ae=_0x36ea42[_0x392bde(0x1d4)](_0x49e6e7);_0x33b8ae[_0x1a1103[_0x392bde(0x257)]]&&(_0x5b0ebb[_0x392bde(0x22b)](_0x33b8ae[_0x1a1103[_0x392bde(0x257)]]),_0x34aeb8[_0x1a1103['extensionName']]=_0x5b0ebb);}catch{_0x5e72a7(this,_0x3a23f2,_0x281087,0x190,_0x392bde(0x255));return;}}if(this['options'][_0x392bde(0x28b)]){const _0x18dbac={'origin':_0x3a23f2[_0x392bde(0x1e0)][''+(_0x254c79===0x8?_0x392bde(0x218):_0x392bde(0x29d))],'secure':!!(_0x3a23f2[_0x392bde(0x1fb)][_0x392bde(0x2b8)]||_0x3a23f2[_0x392bde(0x1fb)][_0x392bde(0x215)]),'req':_0x3a23f2};if(this['options']['verifyClient'][_0x392bde(0x2d0)]===0x2){this[_0x392bde(0x25b)][_0x392bde(0x28b)](_0x18dbac,(_0x59799c,_0x23feb8,_0x5647d0,_0x3b308b)=>{const _0x26ca09=_0x392bde;if(!_0x59799c)return _0x219847(_0x281087,_0x23feb8||0x191,_0x5647d0,_0x3b308b);this[_0x26ca09(0x1ed)](_0x34aeb8,_0x16251f,_0x77086f,_0x3a23f2,_0x281087,_0x57001a,_0x19b5a0);});return;}if(!this[_0x392bde(0x25b)][_0x392bde(0x28b)](_0x18dbac))return _0x219847(_0x281087,0x191);}this[_0x392bde(0x1ed)](_0x34aeb8,_0x16251f,_0x77086f,_0x3a23f2,_0x281087,_0x57001a,_0x19b5a0);}[_0x5d5d2d(0x1ed)](_0x11f0ea,_0x31cbea,_0x4bb9ea,_0x13c528,_0x46e260,_0x1e5272,_0x53914e){const _0x4632a0=_0x5d5d2d;if(!_0x46e260['readable']||!_0x46e260['writable'])return _0x46e260[_0x4632a0(0x2e8)]();if(_0x46e260[_0x204246])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this['_state']>_0x49f4b9)return _0x219847(_0x46e260,0x1f7);const _0x117b7b=[_0x4632a0(0x1cf),_0x4632a0(0x2bb),_0x4632a0(0x27b),_0x4632a0(0x191)+_0x690a(_0x4632a0(0x228))[_0x4632a0(0x2b7)](_0x31cbea+_0xcdbcd1)['digest'](_0x4632a0(0x26a))],_0x4516e7=new this[(_0x4632a0(0x25b))][(_0x4632a0(0x28c))](null,void 0x0,this[_0x4632a0(0x25b)]);if(_0x4bb9ea['size']){const _0x21a1ab=this['options'][_0x4632a0(0x2f7)]?this[_0x4632a0(0x25b)][_0x4632a0(0x2f7)](_0x4bb9ea,_0x13c528):_0x4bb9ea[_0x4632a0(0x20f)]()[_0x4632a0(0x263)]()[_0x4632a0(0x2be)];_0x21a1ab&&(_0x117b7b['push'](_0x4632a0(0x260)+_0x21a1ab),_0x4516e7[_0x4632a0(0x245)]=_0x21a1ab);}if(_0x11f0ea[_0x1a1103[_0x4632a0(0x257)]]){const _0x2f8860=_0x11f0ea[_0x1a1103[_0x4632a0(0x257)]][_0x4632a0(0x2b9)],_0x1d1daf=_0x36ea42[_0x4632a0(0x276)]({[_0x1a1103[_0x4632a0(0x257)]]:[_0x2f8860]});_0x117b7b['push'](_0x4632a0(0x190)+_0x1d1daf),_0x4516e7[_0x4632a0(0x17c)]=_0x11f0ea;}this[_0x4632a0(0x234)](_0x4632a0(0x1e0),_0x117b7b,_0x13c528),_0x46e260[_0x4632a0(0x27a)](_0x117b7b[_0x4632a0(0x281)]('\x0d\x0a')[_0x4632a0(0x244)]('\x0d\x0a')),_0x46e260['removeListener'](_0x4632a0(0x1bc),_0x1a9f95),_0x4516e7[_0x4632a0(0x22f)](_0x46e260,_0x1e5272,{'allowSynchronousEvents':this[_0x4632a0(0x25b)][_0x4632a0(0x283)],'maxPayload':this[_0x4632a0(0x25b)][_0x4632a0(0x2e3)],'skipUTF8Validation':this['options'][_0x4632a0(0x28a)]}),this[_0x4632a0(0x22d)]&&(this[_0x4632a0(0x22d)][_0x4632a0(0x163)](_0x4516e7),_0x4516e7['on']('close',()=>{const _0x56a805=_0x4632a0;this['clients']['delete'](_0x4516e7),this['_shouldEmitClose']&&!this[_0x56a805(0x22d)]['size']&&process[_0x56a805(0x239)](_0x51ae07,this);})),_0x53914e(_0x4516e7,_0x13c528);}}Te=_0x338bc9;function _0x4e5a8c(_0x4a0416,_0x15f729){for(const _0xc98e2b of Object['keys'](_0x15f729))_0x4a0416['on'](_0xc98e2b,_0x15f729[_0xc98e2b]);return function(){const _0x37507d=_0x571c;for(const _0x124e91 of Object[_0x37507d(0x161)](_0x15f729))_0x4a0416[_0x37507d(0x1b4)](_0x124e91,_0x15f729[_0x124e91]);};}function _0x51ae07(_0x5a379e){const _0x5caf11=_0x5d5d2d;_0x5a379e[_0x5caf11(0x2d4)]=_0x2f18cf,_0x5a379e[_0x5caf11(0x234)](_0x5caf11(0x2a2));}function _0x1a9f95(){const _0x16ddf5=_0x5d5d2d;this[_0x16ddf5(0x2e8)]();}function _0x219847(_0x172037,_0x1ca743,_0x2bf510,_0x16a069){const _0x58931a=_0x5d5d2d;_0x2bf510=_0x2bf510||_0x5e8e3e[_0x58931a(0x164)][_0x1ca743],_0x16a069={'Connection':_0x58931a(0x2a2),'Content-Type':'text/html','Content-Length':Buffer[_0x58931a(0x23e)](_0x2bf510),..._0x16a069},_0x172037[_0x58931a(0x1e2)](_0x58931a(0x296),_0x172037['destroy']),_0x172037[_0x58931a(0x24e)](_0x58931a(0x194)+_0x1ca743+'\x20'+_0x5e8e3e['STATUS_CODES'][_0x1ca743]+'\x0d\x0a'+Object[_0x58931a(0x161)](_0x16a069)[_0x58931a(0x2b0)](_0x19a035=>_0x19a035+':\x20'+_0x16a069[_0x19a035])[_0x58931a(0x244)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x2bf510);}function _0x5e72a7(_0x52846d,_0x5668a3,_0x14921f,_0x2054ae,_0x248a40,_0x46ca72){const _0x3a3481=_0x5d5d2d;if(_0x52846d[_0x3a3481(0x29a)](_0x3a3481(0x28e))){const _0x175e3b=new Error(_0x248a40);Error[_0x3a3481(0x2a4)](_0x175e3b,_0x5e72a7),_0x52846d[_0x3a3481(0x234)](_0x3a3481(0x28e),_0x175e3b,_0x14921f,_0x5668a3);}else _0x219847(_0x14921f,_0x2054ae,_0x248a40,_0x46ca72);}return Te;}Ft();var jt=Object[_0x230e5d(0x261)],Wt=(_0x410f6e,_0x46a3f3,_0x12a7b2,_0x2b453b)=>{const _0x101ad0=_0x230e5d;for(var _0x3e542e=_0x2b453b>0x1?void 0x0:_0x2b453b?jt(_0x46a3f3,_0x12a7b2):_0x46a3f3,_0xdfe03d=_0x410f6e[_0x101ad0(0x2d0)]-0x1,_0x582742;_0xdfe03d>=0x0;_0xdfe03d--)(_0x582742=_0x410f6e[_0xdfe03d])&&(_0x3e542e=_0x582742(_0x3e542e)||_0x3e542e);return _0x3e542e;},qt=(_0xd0ddd5,_0x56f53f)=>(_0x3cea56,_0x1f7a6f)=>_0x56f53f(_0x3cea56,_0x1f7a6f,_0xd0ddd5);let ke=class extends A[_0x230e5d(0x21b)]{constructor(_0x3e3c59){const _0x625a38=_0x230e5d;super(),this[_0x625a38(0x19a)]=_0x3e3c59;}[_0x230e5d(0x2b2)](_0x3d293e){const _0x505742=_0x230e5d;var _0x13421c;const _0x438730=(_0x13421c=this[_0x505742(0x19a)][_0x505742(0x248)](fe))==null?void 0x0:_0x13421c['customHeaders'];try{const _0x386b0c=new $t(_0x3d293e,{'headers':{..._0x438730}}),_0x297601=new A[(_0x505742(0x2d2))]();return{'URL':_0x3d293e,'close':(_0xb64c6d,_0xbe472)=>{const _0x48f3de=_0x505742;_0x386b0c[_0x48f3de(0x2a2)](_0xb64c6d,_0xbe472),_0x297601[_0x48f3de(0x30a)]();},'send':_0x5b27d8=>{const _0x4029b9=_0x505742;_0x386b0c[_0x4029b9(0x286)](_0x5b27d8);},'open$':new V[(_0x505742(0x27e))](_0x4e438a=>{const _0x4fbb69=_0x505742,_0x54d30e=_0x5c179a=>_0x4e438a[_0x4fbb69(0x263)](_0x5c179a);_0x386b0c[_0x4fbb69(0x1cb)](_0x4fbb69(0x185),_0x54d30e),_0x297601[_0x4fbb69(0x163)](A[_0x4fbb69(0x17b)](()=>_0x386b0c[_0x4fbb69(0x300)](_0x4fbb69(0x185),_0x54d30e)));})['pipe'](V[_0x505742(0x242)]()),'close$':new V[(_0x505742(0x27e))](_0x519c9e=>{const _0x4bf103=_0x505742,_0x28c736=_0x424f9b=>_0x519c9e['next'](_0x424f9b);_0x386b0c['addEventListener'](_0x4bf103(0x2a2),_0x28c736),_0x297601['add'](A['toDisposable'](()=>_0x386b0c[_0x4bf103(0x300)]('close',_0x28c736)));})['pipe'](V[_0x505742(0x242)]()),'error$':new V['Observable'](_0x3bfba5=>{const _0x25f0d8=_0x505742,_0x2c67e5=_0x16d6a9=>_0x3bfba5[_0x25f0d8(0x263)](_0x16d6a9);_0x386b0c[_0x25f0d8(0x1cb)]('error',_0x2c67e5),_0x297601[_0x25f0d8(0x163)](A['toDisposable'](()=>_0x386b0c[_0x25f0d8(0x300)]('error',_0x2c67e5)));})['pipe'](V['share']()),'message$':new V[(_0x505742(0x27e))](_0x16d7af=>{const _0x29aaf6=_0x505742,_0x4f6924=_0xe09e44=>_0x16d7af[_0x29aaf6(0x263)](_0xe09e44);_0x386b0c[_0x29aaf6(0x1cb)]('message',_0x4f6924),_0x297601[_0x29aaf6(0x163)](A[_0x29aaf6(0x17b)](()=>_0x386b0c[_0x29aaf6(0x300)](_0x29aaf6(0x2c4),_0x4f6924)));})[_0x505742(0x1da)](V['share']())};}catch(_0x14ead0){return console[_0x505742(0x1bc)](_0x14ead0),null;}}};ke=Wt([qt(0x0,A[_0x230e5d(0x170)])],ke);var Gt=Object[_0x230e5d(0x2a5)],Vt=Object[_0x230e5d(0x261)],Ht=(_0x480a1a,_0x2629d9,_0x1ace34)=>_0x2629d9 in _0x480a1a?Gt(_0x480a1a,_0x2629d9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ace34}):_0x480a1a[_0x2629d9]=_0x1ace34,zt=(_0x513631,_0x10a3b9,_0x54aff2,_0x5f51af)=>{for(var _0x2bdab0=_0x5f51af>0x1?void 0x0:_0x5f51af?Vt(_0x10a3b9,_0x54aff2):_0x10a3b9,_0x136bb4=_0x513631['length']-0x1,_0x25562a;_0x136bb4>=0x0;_0x136bb4--)(_0x25562a=_0x513631[_0x136bb4])&&(_0x2bdab0=_0x25562a(_0x2bdab0)||_0x2bdab0);return _0x2bdab0;},Ne=(_0x58492c,_0x4ed8b5)=>(_0x2b2ef9,_0x3ebe66)=>_0x4ed8b5(_0x2b2ef9,_0x3ebe66,_0x58492c),Yt=(_0x301f8d,_0x46a022,_0x4e4883)=>Ht(_0x301f8d,_0x46a022+'',_0x4e4883);exports[_0x230e5d(0x27f)]=class extends A[_0x230e5d(0x26f)]{constructor(_0x401970=Ct,_0x517f56,_0x147df6,_0x3b6861){const _0x346230=_0x230e5d;_0x401970[_0x346230(0x1cd)]||_0x517f56['warn'](_0x346230(0x2f4)),super(),this[_0x346230(0x19a)]=_0x147df6,this['_injector']=_0x3b6861,this['_configService']['setConfig'](fe,_0x401970);}[_0x230e5d(0x2f5)](){const _0x3dcdb6=_0x230e5d;this[_0x3dcdb6(0x292)]();}[_0x230e5d(0x292)](){const _0x4aaa40=_0x230e5d;A[_0x4aaa40(0x2d5)](this[_0x4aaa40(0x24a)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x230e5d(0x27f)],_0x230e5d(0x2c1),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x230e5d(0x27f)]=zt([A['DependentOn'](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x230e5d(0x174)]),Ne(0x2,A[_0x230e5d(0x170)]),Ne(0x3,A[_0x230e5d(0x1e9)](A[_0x230e5d(0x188)]))],exports[_0x230e5d(0x27f)]);var Kt=Object[_0x230e5d(0x261)],Xt=(_0x5b775d,_0x508ea2,_0x5b88de,_0xd81493)=>{const _0x4c6780=_0x230e5d;for(var _0x44bf1b=_0xd81493>0x1?void 0x0:_0xd81493?Kt(_0x508ea2,_0x5b88de):_0x508ea2,_0x3338e2=_0x5b775d[_0x4c6780(0x2d0)]-0x1,_0x398945;_0x3338e2>=0x0;_0x3338e2--)(_0x398945=_0x5b775d[_0x3338e2])&&(_0x44bf1b=_0x398945(_0x44bf1b)||_0x44bf1b);return _0x44bf1b;},ne=(_0x21005e,_0x12eb1b)=>(_0x5d539d,_0x55661a)=>_0x12eb1b(_0x5d539d,_0x55661a,_0x21005e);exports['NodeCollaborationSocketService']=class extends st[_0x230e5d(0x2fa)]{constructor(_0x92bcf,_0x30e0fb,_0x658ce1,_0x45b049,_0x5337ed){const _0xa7f70c=_0x230e5d;super(_0x92bcf,_0x30e0fb,_0x658ce1,_0x45b049,_0x5337ed);const _0x2b82e9=this[_0xa7f70c(0x19a)]['getConfig'](fe);this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x565f20,_0x5958a2)=>{const _0x1372f9=_0xa7f70c;var _0x5bdffa;const _0x559f4f=_0x565f20['headers'];return(_0x5bdffa=_0x2b82e9==null?void 0x0:_0x2b82e9['customHeaders'])!=null&&_0x5bdffa[_0x1372f9(0x238)]&&_0x559f4f[_0x1372f9(0x275)]('Cookie',_0x2b82e9[_0x1372f9(0x1cd)][_0x1372f9(0x238)]),_0x5958a2(_0x565f20);}});}async[_0x230e5d(0x2b2)](_0x47c952){const _0x394d7f=_0x230e5d;return this[_0x394d7f(0x178)](_0x47c952);}},exports[_0x230e5d(0x166)]=Xt([ne(0x0,A['Inject'](A[_0x230e5d(0x188)])),ne(0x1,A['Inject'](it[_0x230e5d(0x30c)])),ne(0x2,A[_0x230e5d(0x170)]),ne(0x3,A[_0x230e5d(0x174)]),ne(0x4,Ot[_0x230e5d(0x1aa)])],exports[_0x230e5d(0x166)]),exports[_0x230e5d(0x2f2)]=fe;