@univerjs-pro/collaboration-client-node 0.10.11 → 0.10.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x344e53=_0x3708;(function(_0x297def,_0x3cb28c){const _0x5db986=_0x3708,_0x2b5464=_0x297def();while(!![]){try{const _0xda78c8=-parseInt(_0x5db986(0x266))/0x1+parseInt(_0x5db986(0x358))/0x2+-parseInt(_0x5db986(0x333))/0x3*(-parseInt(_0x5db986(0x350))/0x4)+-parseInt(_0x5db986(0x37e))/0x5*(parseInt(_0x5db986(0x28a))/0x6)+-parseInt(_0x5db986(0x356))/0x7+parseInt(_0x5db986(0x30d))/0x8*(-parseInt(_0x5db986(0x1f1))/0x9)+parseInt(_0x5db986(0x30c))/0xa;if(_0xda78c8===_0x3cb28c)break;else _0x2b5464['push'](_0x2b5464['shift']());}catch(_0xf3ff6){_0x2b5464['push'](_0x2b5464['shift']());}}}(_0x18d4,0xe0c43));Object[_0x344e53(0x21d)](exports,Symbol[_0x344e53(0x2cc)],{'value':_0x344e53(0x39a)});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=_0x344e53(0x335),Ct={'customHeaders':{}};function Tt(_0x1fb2cc){const _0x3fc9d7=_0x344e53;return _0x1fb2cc&&_0x1fb2cc[_0x3fc9d7(0x32d)]&&Object[_0x3fc9d7(0x20f)]['hasOwnProperty'][_0x3fc9d7(0x378)](_0x1fb2cc,_0x3fc9d7(0x21a))?_0x1fb2cc[_0x3fc9d7(0x21a)]:_0x1fb2cc;}function at(_0x15e0d7){const _0xd20dec=_0x344e53;if(Object[_0xd20dec(0x20f)][_0xd20dec(0x37a)][_0xd20dec(0x378)](_0x15e0d7,'__esModule'))return _0x15e0d7;var _0x4e7a49=_0x15e0d7['default'];if(typeof _0x4e7a49==_0xd20dec(0x39d)){var _0x289929=function _0x239e11(){const _0x37fde3=_0xd20dec;var _0x360200=!0x1;try{_0x360200=this instanceof _0x239e11;}catch{}return _0x360200?Reflect[_0x37fde3(0x2a0)](_0x4e7a49,arguments,this[_0x37fde3(0x354)]):_0x4e7a49[_0x37fde3(0x21f)](this,arguments);};_0x289929[_0xd20dec(0x20f)]=_0x4e7a49[_0xd20dec(0x20f)];}else _0x289929={};return Object[_0xd20dec(0x21d)](_0x289929,_0xd20dec(0x32d),{'value':!0x0}),Object['keys'](_0x15e0d7)[_0xd20dec(0x367)](function(_0x2bc4c3){const _0x3912c1=_0xd20dec;var _0x3ea20f=Object[_0x3912c1(0x352)](_0x15e0d7,_0x2bc4c3);Object[_0x3912c1(0x21d)](_0x289929,_0x2bc4c3,_0x3ea20f['get']?_0x3ea20f:{'enumerable':!0x0,'get':function(){return _0x15e0d7[_0x2bc4c3];}});}),_0x289929;}var se={'exports':{}},ge,Ge;function H(){const _0x49c7e0=_0x344e53;if(Ge)return ge;Ge=0x1;const _0x22db36=[_0x49c7e0(0x251),'arraybuffer',_0x49c7e0(0x22a)],_0x842152=typeof Blob<'u';return _0x842152&&_0x22db36[_0x49c7e0(0x301)](_0x49c7e0(0x29f)),ge={'BINARY_TYPES':_0x22db36,'EMPTY_BUFFER':Buffer[_0x49c7e0(0x289)](0x0),'GUID':_0x49c7e0(0x2f9),'hasBlob':_0x842152,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x49c7e0(0x321)),'kStatusCode':Symbol(_0x49c7e0(0x280)),'kWebSocket':Symbol(_0x49c7e0(0x1f3)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x344e53(0x2e9)](Object[_0x344e53(0x21d)]({'__proto__':null,'default':Nt},Symbol[_0x344e53(0x2cc)],{'value':_0x344e53(0x39a)})),Lt=at(kt);var Ve;function ce(){const _0x5951af=_0x344e53;if(Ve)return se[_0x5951af(0x20c)];Ve=0x1;const {EMPTY_BUFFER:_0xa348d3}=H(),_0x43a5d2=Buffer[Symbol['species']];function _0x34205a(_0x48155e,_0x482c72){const _0x3c43a3=_0x5951af;if(_0x48155e['length']===0x0)return _0xa348d3;if(_0x48155e[_0x3c43a3(0x22e)]===0x1)return _0x48155e[0x0];const _0x36e971=Buffer[_0x3c43a3(0x2b9)](_0x482c72);let _0x2b9885=0x0;for(let _0x190ba2=0x0;_0x190ba2<_0x48155e['length'];_0x190ba2++){const _0x1ae30e=_0x48155e[_0x190ba2];_0x36e971['set'](_0x1ae30e,_0x2b9885),_0x2b9885+=_0x1ae30e['length'];}return _0x2b9885<_0x482c72?new _0x43a5d2(_0x36e971[_0x3c43a3(0x308)],_0x36e971[_0x3c43a3(0x249)],_0x2b9885):_0x36e971;}function _0x57aa32(_0x55b72e,_0x2d5017,_0x4bb6d3,_0x442f65,_0x461bc2){for(let _0x52c1b6=0x0;_0x52c1b6<_0x461bc2;_0x52c1b6++)_0x4bb6d3[_0x442f65+_0x52c1b6]=_0x55b72e[_0x52c1b6]^_0x2d5017[_0x52c1b6&0x3];}function _0x23b6da(_0x1912bf,_0x5ba6a0){const _0x28fb98=_0x5951af;for(let _0x38b741=0x0;_0x38b741<_0x1912bf[_0x28fb98(0x22e)];_0x38b741++)_0x1912bf[_0x38b741]^=_0x5ba6a0[_0x38b741&0x3];}function _0x1ee692(_0x552f8e){const _0x4e4f1a=_0x5951af;return _0x552f8e[_0x4e4f1a(0x22e)]===_0x552f8e['buffer'][_0x4e4f1a(0x246)]?_0x552f8e[_0x4e4f1a(0x308)]:_0x552f8e[_0x4e4f1a(0x308)]['slice'](_0x552f8e['byteOffset'],_0x552f8e[_0x4e4f1a(0x249)]+_0x552f8e['length']);}function _0x8c41e5(_0x38dcd4){const _0x114a4d=_0x5951af;if(_0x8c41e5['readOnly']=!0x0,Buffer[_0x114a4d(0x276)](_0x38dcd4))return _0x38dcd4;let _0x44cf16;return _0x38dcd4 instanceof ArrayBuffer?_0x44cf16=new _0x43a5d2(_0x38dcd4):ArrayBuffer[_0x114a4d(0x2a3)](_0x38dcd4)?_0x44cf16=new _0x43a5d2(_0x38dcd4[_0x114a4d(0x308)],_0x38dcd4['byteOffset'],_0x38dcd4[_0x114a4d(0x246)]):(_0x44cf16=Buffer[_0x114a4d(0x2fe)](_0x38dcd4),_0x8c41e5[_0x114a4d(0x279)]=!0x1),_0x44cf16;}if(se[_0x5951af(0x20c)]={'concat':_0x34205a,'mask':_0x57aa32,'toArrayBuffer':_0x1ee692,'toBuffer':_0x8c41e5,'unmask':_0x23b6da},!process[_0x5951af(0x33e)][_0x5951af(0x38a)])try{const _0x1a5565=Lt;se[_0x5951af(0x20c)][_0x5951af(0x26f)]=function(_0x39c4c6,_0x5d9ba2,_0x220cf2,_0x4b35b7,_0x4a8695){const _0x5e189e=_0x5951af;_0x4a8695<0x30?_0x57aa32(_0x39c4c6,_0x5d9ba2,_0x220cf2,_0x4b35b7,_0x4a8695):_0x1a5565[_0x5e189e(0x26f)](_0x39c4c6,_0x5d9ba2,_0x220cf2,_0x4b35b7,_0x4a8695);},se[_0x5951af(0x20c)][_0x5951af(0x21b)]=function(_0x36f52a,_0x5176d){_0x36f52a['length']<0x20?_0x23b6da(_0x36f52a,_0x5176d):_0x1a5565['unmask'](_0x36f52a,_0x5176d);};}catch{}return se[_0x5951af(0x20c)];}var ye,He;function Pt(){const _0x889028=_0x344e53;if(He)return ye;He=0x1;const _0x11fea2=Symbol(_0x889028(0x288)),_0x1b6c95=Symbol(_0x889028(0x2ff));class _0x6d92{constructor(_0x1144a1){const _0xd37d3b=_0x889028;this[_0x11fea2]=()=>{const _0x4da71b=_0x3708;this[_0x4da71b(0x331)]--,this[_0x1b6c95]();},this[_0xd37d3b(0x311)]=_0x1144a1||0x1/0x0,this[_0xd37d3b(0x29a)]=[],this['pending']=0x0;}[_0x889028(0x35f)](_0x53af5b){const _0x577bbc=_0x889028;this[_0x577bbc(0x29a)][_0x577bbc(0x301)](_0x53af5b),this[_0x1b6c95]();}[_0x1b6c95](){const _0x8d0c7f=_0x889028;if(this[_0x8d0c7f(0x331)]!==this[_0x8d0c7f(0x311)]&&this[_0x8d0c7f(0x29a)][_0x8d0c7f(0x22e)]){const _0x116acc=this[_0x8d0c7f(0x29a)][_0x8d0c7f(0x32c)]();this[_0x8d0c7f(0x331)]++,_0x116acc(this[_0x11fea2]);}}}return ye=_0x6d92,ye;}var ve,ze;function he(){const _0x5c5afe=_0x344e53;if(ze)return ve;ze=0x1;const _0x2b1084=bt,_0x2939b5=ce(),_0x1ce48a=Pt(),{kStatusCode:_0x45de33}=H(),_0x2aaf94=Buffer[Symbol[_0x5c5afe(0x2cb)]],_0x513208=Buffer[_0x5c5afe(0x2fe)]([0x0,0x0,0xff,0xff]),_0x58dcec=Symbol('permessage-deflate'),_0x4cc8c5=Symbol(_0x5c5afe(0x2be)),_0x1ad3d9=Symbol('callback'),_0x1dec06=Symbol('buffers'),_0x251ef4=Symbol('error');let _0x39ea2c;class _0x54e5f5{constructor(_0x3e5579,_0x46c4fe,_0x56f838){const _0x20f44d=_0x5c5afe;if(this['_maxPayload']=_0x56f838|0x0,this[_0x20f44d(0x306)]=_0x3e5579||{},this[_0x20f44d(0x2ec)]=this['_options'][_0x20f44d(0x2e8)]!==void 0x0?this[_0x20f44d(0x306)][_0x20f44d(0x2e8)]:0x400,this['_isServer']=!!_0x46c4fe,this['_deflate']=null,this['_inflate']=null,this[_0x20f44d(0x326)]=null,!_0x39ea2c){const _0x592ce1=this[_0x20f44d(0x306)]['concurrencyLimit']!==void 0x0?this[_0x20f44d(0x306)]['concurrencyLimit']:0xa;_0x39ea2c=new _0x1ce48a(_0x592ce1);}}static get[_0x5c5afe(0x330)](){const _0x8a3ac5=_0x5c5afe;return _0x8a3ac5(0x317);}[_0x5c5afe(0x261)](){const _0x2d1416=_0x5c5afe,_0x58bf18={};return this[_0x2d1416(0x306)][_0x2d1416(0x23c)]&&(_0x58bf18[_0x2d1416(0x346)]=!0x0),this[_0x2d1416(0x306)][_0x2d1416(0x2fb)]&&(_0x58bf18[_0x2d1416(0x273)]=!0x0),this[_0x2d1416(0x306)][_0x2d1416(0x1fb)]&&(_0x58bf18[_0x2d1416(0x332)]=this['_options'][_0x2d1416(0x1fb)]),this[_0x2d1416(0x306)][_0x2d1416(0x320)]?_0x58bf18[_0x2d1416(0x29e)]=this[_0x2d1416(0x306)][_0x2d1416(0x320)]:this[_0x2d1416(0x306)][_0x2d1416(0x320)]==null&&(_0x58bf18[_0x2d1416(0x29e)]=!0x0),_0x58bf18;}[_0x5c5afe(0x395)](_0x384d6e){const _0x203bef=_0x5c5afe;return _0x384d6e=this['normalizeParams'](_0x384d6e),this[_0x203bef(0x326)]=this['_isServer']?this[_0x203bef(0x2ee)](_0x384d6e):this[_0x203bef(0x27e)](_0x384d6e),this[_0x203bef(0x326)];}[_0x5c5afe(0x342)](){const _0x5cb235=_0x5c5afe;if(this['_inflate']&&(this[_0x5cb235(0x285)][_0x5cb235(0x29c)](),this[_0x5cb235(0x285)]=null),this['_deflate']){const _0x4c61c2=this[_0x5cb235(0x2b0)][_0x1ad3d9];this[_0x5cb235(0x2b0)][_0x5cb235(0x29c)](),this['_deflate']=null,_0x4c61c2&&_0x4c61c2(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x5c5afe(0x2ee)](_0x474696){const _0x3c9d30=_0x5c5afe,_0x42a6f2=this['_options'],_0x1846f3=_0x474696['find'](_0x59e6cd=>!(_0x42a6f2[_0x3c9d30(0x23c)]===!0x1&&_0x59e6cd[_0x3c9d30(0x346)]||_0x59e6cd['server_max_window_bits']&&(_0x42a6f2[_0x3c9d30(0x1fb)]===!0x1||typeof _0x42a6f2[_0x3c9d30(0x1fb)]==_0x3c9d30(0x371)&&_0x42a6f2[_0x3c9d30(0x1fb)]>_0x59e6cd[_0x3c9d30(0x332)])||typeof _0x42a6f2['clientMaxWindowBits']=='number'&&!_0x59e6cd[_0x3c9d30(0x29e)]));if(!_0x1846f3)throw new Error(_0x3c9d30(0x386));return _0x42a6f2['serverNoContextTakeover']&&(_0x1846f3[_0x3c9d30(0x346)]=!0x0),_0x42a6f2[_0x3c9d30(0x2fb)]&&(_0x1846f3[_0x3c9d30(0x273)]=!0x0),typeof _0x42a6f2[_0x3c9d30(0x1fb)]==_0x3c9d30(0x371)&&(_0x1846f3[_0x3c9d30(0x332)]=_0x42a6f2['serverMaxWindowBits']),typeof _0x42a6f2['clientMaxWindowBits']==_0x3c9d30(0x371)?_0x1846f3[_0x3c9d30(0x29e)]=_0x42a6f2[_0x3c9d30(0x320)]:(_0x1846f3[_0x3c9d30(0x29e)]===!0x0||_0x42a6f2['clientMaxWindowBits']===!0x1)&&delete _0x1846f3[_0x3c9d30(0x29e)],_0x1846f3;}[_0x5c5afe(0x27e)](_0xa6d577){const _0x5cb74f=_0x5c5afe,_0x4ea8cd=_0xa6d577[0x0];if(this['_options'][_0x5cb74f(0x2fb)]===!0x1&&_0x4ea8cd['client_no_context_takeover'])throw new Error(_0x5cb74f(0x338));if(!_0x4ea8cd[_0x5cb74f(0x29e)])typeof this[_0x5cb74f(0x306)]['clientMaxWindowBits']=='number'&&(_0x4ea8cd[_0x5cb74f(0x29e)]=this[_0x5cb74f(0x306)][_0x5cb74f(0x320)]);else{if(this['_options'][_0x5cb74f(0x320)]===!0x1||typeof this['_options'][_0x5cb74f(0x320)]=='number'&&_0x4ea8cd[_0x5cb74f(0x29e)]>this[_0x5cb74f(0x306)][_0x5cb74f(0x320)])throw new Error(_0x5cb74f(0x2d7));}return _0x4ea8cd;}['normalizeParams'](_0x3ea380){const _0x40b1fb=_0x5c5afe;return _0x3ea380[_0x40b1fb(0x367)](_0x4c8343=>{const _0x5edaf1=_0x40b1fb;Object[_0x5edaf1(0x1f6)](_0x4c8343)[_0x5edaf1(0x367)](_0x24b68d=>{const _0x2550ac=_0x5edaf1;let _0x449a41=_0x4c8343[_0x24b68d];if(_0x449a41[_0x2550ac(0x22e)]>0x1)throw new Error(_0x2550ac(0x3ac)+_0x24b68d+_0x2550ac(0x222));if(_0x449a41=_0x449a41[0x0],_0x24b68d===_0x2550ac(0x29e)){if(_0x449a41!==!0x0){const _0x2d484a=+_0x449a41;if(!Number[_0x2550ac(0x2e5)](_0x2d484a)||_0x2d484a<0x8||_0x2d484a>0xf)throw new TypeError(_0x2550ac(0x31a)+_0x24b68d+_0x2550ac(0x230)+_0x449a41);_0x449a41=_0x2d484a;}else{if(!this[_0x2550ac(0x257)])throw new TypeError(_0x2550ac(0x31a)+_0x24b68d+_0x2550ac(0x230)+_0x449a41);}}else{if(_0x24b68d===_0x2550ac(0x332)){const _0x116b6c=+_0x449a41;if(!Number[_0x2550ac(0x2e5)](_0x116b6c)||_0x116b6c<0x8||_0x116b6c>0xf)throw new TypeError(_0x2550ac(0x31a)+_0x24b68d+_0x2550ac(0x230)+_0x449a41);_0x449a41=_0x116b6c;}else{if(_0x24b68d==='client_no_context_takeover'||_0x24b68d===_0x2550ac(0x346)){if(_0x449a41!==!0x0)throw new TypeError(_0x2550ac(0x31a)+_0x24b68d+'\x22:\x20'+_0x449a41);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x24b68d+'\x22');}}_0x4c8343[_0x24b68d]=_0x449a41;});}),_0x3ea380;}[_0x5c5afe(0x3b2)](_0x1e9ee4,_0x259532,_0x1289e2){const _0x5087c8=_0x5c5afe;_0x39ea2c[_0x5087c8(0x35f)](_0x30bd21=>{const _0x1f0053=_0x5087c8;this[_0x1f0053(0x3aa)](_0x1e9ee4,_0x259532,(_0x572229,_0x1d18d6)=>{_0x30bd21(),_0x1289e2(_0x572229,_0x1d18d6);});});}[_0x5c5afe(0x2fd)](_0x21e8ab,_0x27c70b,_0x365b3e){_0x39ea2c['add'](_0x18ff09=>{const _0x3ec9e9=_0x3708;this[_0x3ec9e9(0x29d)](_0x21e8ab,_0x27c70b,(_0x4abda1,_0x44e2a6)=>{_0x18ff09(),_0x365b3e(_0x4abda1,_0x44e2a6);});});}[_0x5c5afe(0x3aa)](_0x2644cc,_0x39a5a6,_0x536b3b){const _0x32b315=_0x5c5afe,_0x18fad1=this[_0x32b315(0x257)]?_0x32b315(0x36f):_0x32b315(0x2bf);if(!this[_0x32b315(0x285)]){const _0x9faf11=_0x18fad1+_0x32b315(0x334),_0x4962ae=typeof this[_0x32b315(0x326)][_0x9faf11]!=_0x32b315(0x371)?_0x2b1084['Z_DEFAULT_WINDOWBITS']:this[_0x32b315(0x326)][_0x9faf11];this['_inflate']=_0x2b1084[_0x32b315(0x3af)]({...this['_options'][_0x32b315(0x34b)],'windowBits':_0x4962ae}),this[_0x32b315(0x285)][_0x58dcec]=this,this[_0x32b315(0x285)][_0x4cc8c5]=0x0,this[_0x32b315(0x285)][_0x1dec06]=[],this[_0x32b315(0x285)]['on']('error',_0x184908),this[_0x32b315(0x285)]['on'](_0x32b315(0x2bb),_0x3b9e1a);}this[_0x32b315(0x285)][_0x1ad3d9]=_0x536b3b,this[_0x32b315(0x285)][_0x32b315(0x2f2)](_0x2644cc),_0x39a5a6&&this['_inflate'][_0x32b315(0x2f2)](_0x513208),this[_0x32b315(0x285)][_0x32b315(0x255)](()=>{const _0x1b4af0=_0x32b315,_0x5a9461=this[_0x1b4af0(0x285)][_0x251ef4];if(_0x5a9461){this[_0x1b4af0(0x285)][_0x1b4af0(0x29c)](),this['_inflate']=null,_0x536b3b(_0x5a9461);return;}const _0x5b66e7=_0x2939b5['concat'](this[_0x1b4af0(0x285)][_0x1dec06],this['_inflate'][_0x4cc8c5]);this[_0x1b4af0(0x285)]['_readableState'][_0x1b4af0(0x2ca)]?(this['_inflate'][_0x1b4af0(0x29c)](),this[_0x1b4af0(0x285)]=null):(this[_0x1b4af0(0x285)][_0x4cc8c5]=0x0,this['_inflate'][_0x1dec06]=[],_0x39a5a6&&this[_0x1b4af0(0x326)][_0x18fad1+_0x1b4af0(0x339)]&&this[_0x1b4af0(0x285)][_0x1b4af0(0x2bd)]()),_0x536b3b(null,_0x5b66e7);});}[_0x5c5afe(0x29d)](_0xd2d9d9,_0x51226d,_0x30b427){const _0x56f19a=_0x5c5afe,_0x4314f5=this[_0x56f19a(0x257)]?_0x56f19a(0x2bf):'client';if(!this[_0x56f19a(0x2b0)]){const _0x20cb0e=_0x4314f5+_0x56f19a(0x334),_0x104ceb=typeof this['params'][_0x20cb0e]!=_0x56f19a(0x371)?_0x2b1084[_0x56f19a(0x348)]:this['params'][_0x20cb0e];this[_0x56f19a(0x2b0)]=_0x2b1084['createDeflateRaw']({...this['_options'][_0x56f19a(0x232)],'windowBits':_0x104ceb}),this[_0x56f19a(0x2b0)][_0x4cc8c5]=0x0,this[_0x56f19a(0x2b0)][_0x1dec06]=[],this[_0x56f19a(0x2b0)]['on'](_0x56f19a(0x2bb),_0x5bd035);}this[_0x56f19a(0x2b0)][_0x1ad3d9]=_0x30b427,this[_0x56f19a(0x2b0)]['write'](_0xd2d9d9),this['_deflate'][_0x56f19a(0x255)](_0x2b1084['Z_SYNC_FLUSH'],()=>{const _0x594537=_0x56f19a;if(!this[_0x594537(0x2b0)])return;let _0x4149bf=_0x2939b5['concat'](this[_0x594537(0x2b0)][_0x1dec06],this[_0x594537(0x2b0)][_0x4cc8c5]);_0x51226d&&(_0x4149bf=new _0x2aaf94(_0x4149bf['buffer'],_0x4149bf[_0x594537(0x249)],_0x4149bf[_0x594537(0x22e)]-0x4)),this[_0x594537(0x2b0)][_0x1ad3d9]=null,this[_0x594537(0x2b0)][_0x4cc8c5]=0x0,this[_0x594537(0x2b0)][_0x1dec06]=[],_0x51226d&&this[_0x594537(0x326)][_0x4314f5+_0x594537(0x339)]&&this[_0x594537(0x2b0)][_0x594537(0x2bd)](),_0x30b427(null,_0x4149bf);});}}ve=_0x54e5f5;function _0x5bd035(_0x5a48e4){const _0x14df1a=_0x5c5afe;this[_0x1dec06][_0x14df1a(0x301)](_0x5a48e4),this[_0x4cc8c5]+=_0x5a48e4[_0x14df1a(0x22e)];}function _0x3b9e1a(_0x5735d9){const _0x2ccdbb=_0x5c5afe;if(this[_0x4cc8c5]+=_0x5735d9[_0x2ccdbb(0x22e)],this[_0x58dcec]['_maxPayload']<0x1||this[_0x4cc8c5]<=this[_0x58dcec][_0x2ccdbb(0x228)]){this[_0x1dec06][_0x2ccdbb(0x301)](_0x5735d9);return;}this[_0x251ef4]=new RangeError(_0x2ccdbb(0x27b)),this[_0x251ef4][_0x2ccdbb(0x2b2)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x251ef4][_0x45de33]=0x3f1,this[_0x2ccdbb(0x28f)](_0x2ccdbb(0x2bb),_0x3b9e1a),this[_0x2ccdbb(0x2bd)]();}function _0x184908(_0x2fffe2){if(this[_0x58dcec]['_inflate']=null,this[_0x251ef4]){this[_0x1ad3d9](this[_0x251ef4]);return;}_0x2fffe2[_0x45de33]=0x3ef,this[_0x1ad3d9](_0x2fffe2);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x344e53(0x21d)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x344e53(0x39a)})),Bt=at(Rt);var Ye;function ae(){const _0x2c9ad3=_0x344e53;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x4af07d}=wt,{hasBlob:_0x29603a}=H(),_0x90ab7e=[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 _0x2d8fa5(_0x4b7ef0){return _0x4b7ef0>=0x3e8&&_0x4b7ef0<=0x3f6&&_0x4b7ef0!==0x3ec&&_0x4b7ef0!==0x3ed&&_0x4b7ef0!==0x3ee||_0x4b7ef0>=0xbb8&&_0x4b7ef0<=0x1387;}function _0x197b83(_0x6eec67){const _0x272a74=_0x3708,_0x53acf4=_0x6eec67[_0x272a74(0x22e)];let _0x253044=0x0;for(;_0x253044<_0x53acf4;)if((_0x6eec67[_0x253044]&0x80)===0x0)_0x253044++;else{if((_0x6eec67[_0x253044]&0xe0)===0xc0){if(_0x253044+0x1===_0x53acf4||(_0x6eec67[_0x253044+0x1]&0xc0)!==0x80||(_0x6eec67[_0x253044]&0xfe)===0xc0)return!0x1;_0x253044+=0x2;}else{if((_0x6eec67[_0x253044]&0xf0)===0xe0){if(_0x253044+0x2>=_0x53acf4||(_0x6eec67[_0x253044+0x1]&0xc0)!==0x80||(_0x6eec67[_0x253044+0x2]&0xc0)!==0x80||_0x6eec67[_0x253044]===0xe0&&(_0x6eec67[_0x253044+0x1]&0xe0)===0x80||_0x6eec67[_0x253044]===0xed&&(_0x6eec67[_0x253044+0x1]&0xe0)===0xa0)return!0x1;_0x253044+=0x3;}else{if((_0x6eec67[_0x253044]&0xf8)===0xf0){if(_0x253044+0x3>=_0x53acf4||(_0x6eec67[_0x253044+0x1]&0xc0)!==0x80||(_0x6eec67[_0x253044+0x2]&0xc0)!==0x80||(_0x6eec67[_0x253044+0x3]&0xc0)!==0x80||_0x6eec67[_0x253044]===0xf0&&(_0x6eec67[_0x253044+0x1]&0xf0)===0x80||_0x6eec67[_0x253044]===0xf4&&_0x6eec67[_0x253044+0x1]>0x8f||_0x6eec67[_0x253044]>0xf4)return!0x1;_0x253044+=0x4;}else return!0x1;}}}return!0x0;}function _0x40841b(_0x47ad2a){const _0x46e7bf=_0x3708;return _0x29603a&&typeof _0x47ad2a==_0x46e7bf(0x344)&&typeof _0x47ad2a[_0x46e7bf(0x3a8)]==_0x46e7bf(0x39d)&&typeof _0x47ad2a[_0x46e7bf(0x2e2)]==_0x46e7bf(0x318)&&typeof _0x47ad2a[_0x46e7bf(0x32a)]==_0x46e7bf(0x39d)&&(_0x47ad2a[Symbol['toStringTag']]===_0x46e7bf(0x31b)||_0x47ad2a[Symbol[_0x46e7bf(0x2cc)]]==='File');}if(ie['exports']={'isBlob':_0x40841b,'isValidStatusCode':_0x2d8fa5,'isValidUTF8':_0x197b83,'tokenChars':_0x90ab7e},_0x4af07d)ie[_0x2c9ad3(0x20c)][_0x2c9ad3(0x385)]=function(_0x3a7fd7){return _0x3a7fd7['length']<0x18?_0x197b83(_0x3a7fd7):_0x4af07d(_0x3a7fd7);};else{if(!process['env'][_0x2c9ad3(0x247)])try{const _0x2031c4=Bt;ie[_0x2c9ad3(0x20c)][_0x2c9ad3(0x385)]=function(_0x135f93){const _0x4a1d07=_0x2c9ad3;return _0x135f93[_0x4a1d07(0x22e)]<0x20?_0x197b83(_0x135f93):_0x2031c4(_0x135f93);};}catch{}}return ie['exports'];}function _0x18d4(){const _0x29846f=['connect','drain','cork','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','controlMessage','jobs','readUInt16BE','close','_compress','client_max_window_bits','blob','construct','_redirects','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','isView','listeners','Unexpected\x20end\x20of\x20input','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','onmessage','_paused','fin','_writableState','auth','getMask','finishRequest','createSocket','_bufferedAmount','_deflate','_closeFrameSent','code','finished','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','protocol','maxRedirects','MASK\x20must\x20be\x20set','kTarget','allocUnsafe','createError','data','resume','reset','total-length','server','_originalSecure','reason','The\x20URL\x27s\x20protocol\x20must\x20be\x20one\x20of\x20\x22ws:\x22,\x20\x22wss:\x22,\x20\x22http:\x22,\x20\x22https:\x22,\x20or\x20\x22ws+unix:\x22','ws:','maskBuffer','sec-websocket-version','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','ping','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','share','endEmitted','species','toStringTag','Invalid\x20Upgrade\x20header','allowSynchronousEvents','The\x20server\x20is\x20not\x20running','_injector','_req','_generateMask','handleUpgrade','CONNECTING','_totalPayloadLength','statusCode','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','map','kError','Invalid\x20URL:\x20','noServer','objectMode','FIN\x20must\x20be\x20set','invalid\x20opcode\x200','_skipUTF8Validation','method','Observable','type','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','startsWith','isInteger','_url','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','threshold','freeze','invalid\x20payload\x20length\x20','onopen','_threshold','listenerCount','acceptAsServer','abort','_extensions','href','write','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_firstFragment','_closeFrameReceived','WS_ERR_INVALID_OPCODE','WS_ERR_EXPECTED_MASK','_buffers','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_closeCode','clientNoContextTakeover','readUInt32BE','compress','from','kRun','ISnapshotServerService','push','url','handshakeTimeout','The\x20URL\x27s\x20pathname\x20is\x20empty','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_options','isServer','buffer','_payloadLength','opcode','target','8677940lLFliI','790416EqAqJc','emitClose','listening','captureStackTrace','concurrency','replace','ISocketService','_mask','writeUInt16BE','update','permessage-deflate','string','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Invalid\x20value\x20for\x20parameter\x20\x22','Blob','_opcode','COLLABORATION_CLIENT_NODE_CONFIG_KEY','_httpService','WS_ERR_EXPECTED_FIN','clientMaxWindowBits','kListener','toLowerCase','Sec-WebSocket-Extensions','toDisposable','createConnection','params','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_configService','end','stream','HTTP/1.1\x20','shift','__esModule','Injector','Plugin','extensionName','pending','server_max_window_bits','4513629ssPtLI','_max_window_bits','collaboration-client-node.config','startLoop','kReason','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_no_context_takeover','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','handleEvent','Inject','_fragmented','env','isIP','host','upgrade','cleanup','dispose','object','authorization','server_no_context_takeover','removeEventListener','Z_DEFAULT_WINDOWBITS','terminate','sec-websocket-origin','zlibInflateOptions','HTTPService','kMessage','DisposableCollection','kCode','4tlnaSw','sec-websocket-protocol','getOwnPropertyDescriptor','MASK\x20must\x20be\x20clear','constructor','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','4747547eMuAJg','Basic\x20','2462760LgnZET','servername','shouldHandle','cookie','setSocket','createServer','enqueue','add','GET','Sec-WebSocket-Origin','extensions','NodeCollaborationSocketService','registerHTTPInterceptor','\x22\x20subprotocol\x20is\x20duplicated','_originalHostOrSocketPath','forEach','ILogService','format','invalid\x20opcode\x20','Sec-WebSocket-Protocol','options','Invalid\x20WebSocket\x20frame:\x20','_readableState','client','errorEmitted','number','pong','getBlobData','unexpected-response','socketPath','text/html','concat','call','_closeTimer','hasOwnProperty','Invalid\x20Sec-WebSocket-Accept\x20header','Unexpected\x20server\x20response:\x20','perMessageDeflate','3300280KgRiaT','The\x20\x22','pause','has','destroyed','pathname','STATUS_CODES','isValidUTF8','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','location','clients','Origin','WS_NO_BUFFER_UTIL','Invalid\x20Sec-WebSocket-Extensions\x20header','dequeue','username','nextTick','generateMask','dispatch','hash','Invalid\x20Sec-WebSocket-Protocol\x20header','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','kData','accept','onStarting','kType','_state','Unexpected\x20character\x20at\x20index\x20','Module','_autoPong','Opening\x20handshake\x20has\x20timed\x20out','function','_socket','slice','verifyClient','then','kByteLength','Server\x20sent\x20an\x20invalid\x20subprotocol','UniverCollaborationClientPlugin','backlog','addEventListener','_write','arrayBuffer','emit','_decompress','_removeListeners','Parameter\x20\x22','_loop','CLOSING','createInflateRaw','conclude','binary','decompress','sendFrame','63sAxTAn','test','websocket','pluginName','Invalid\x20HTTP\x20method','keys','WS_ERR_UNEXPECTED_RSV_1','headers','timeout','indexOf','serverMaxWindowBits','dataMessage','getData','Unsupported\x20protocol\x20version:\x20','split','read','_errored','wsClientError','sha1','isPaused','_originalIpc','set','port','IConfigService','join','_queue','_registerDependencies','exports','path','clientTracking','prototype','_receiver','onerror','Sec-WebSocket-Accept:\x20','\x0d\x0a\x0d\x0a','handleProtocols','_errorEmitted','_sender','parse','customHeaders','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','default','unmask','Disposable','defineProperty','followRedirects','apply','_masked','redirect','\x22\x20must\x20have\x20only\x20a\x20single\x20value','completeUpgrade','_binaryType','_readyState','origin','finish','_maxPayload','error','fragments','text/plain','Cookie','includes','length','digest','\x22:\x20','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','zlibDeflateOptions','UniverCollaborationClientNodePlugin','ws+unix:','_fin','send','Connection:\x20Upgrade','invalid\x20UTF-8\x20sequence','Maximum\x20redirects\x20exceeded','The\x20URL\x20contains\x20a\x20fragment\x20identifier','hostname','serverNoContextTakeover','readyState','value','http:','_server','sec-websocket-extensions','_doCreateSocket','autoPong','getInfo','_protocol','byteLength','WS_NO_UTF_8_VALIDATE','open','byteOffset','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','once','setNoDelay','Upgrade:\x20websocket','CLOSED','message','\x20(supported\x20versions:\x20','nodebuffer','size','_destroy','consume','flush','bind','_isServer','wasClean','password','writeUIntBE','OPEN','DependentOn','_bufferedBytes','isArray','_maskBuffer','getConfig','offer','setTimeout','charCodeAt','pipe','request','653183qzpzFD','_compressed','next','haveLength','binaryType','wss:','_fragments','base64','catch','mask','_closeMessage','address','_shouldEmitClose','client_no_context_takeover','response','destroy','isBuffer','_allowSynchronousEvents','_messageLength','readOnly','bufferedAmount','Max\x20payload\x20size\x20exceeded','setConfig','frame','acceptAsClient','skipUTF8Validation','status-code','pow','sec-websocket-accept','getPayloadLength64','toString','_inflate','warn','protocolVersion','kDone','alloc','6yQPgRt','writeHead','maxPayload','create','WS_ERR_INVALID_CLOSE_CODE','removeListener','socket','getPayloadLength16','WS_ERR_INVALID_UTF8','RSV1\x20must\x20be\x20clear','_read'];_0x18d4=function(){return _0x29846f;};return _0x18d4();}var Se,Ke;function lt(){const _0x24cc81=_0x344e53;if(Ke)return Se;Ke=0x1;const {Writable:_0x159626}=oe,_0xc7a8b8=he(),{BINARY_TYPES:_0x486731,EMPTY_BUFFER:_0x550a8a,kStatusCode:_0x17d31b,kWebSocket:_0x2f49cb}=H(),{concat:_0x2c2b57,toArrayBuffer:_0x2c6ad1,unmask:_0x3dde9f}=ce(),{isValidStatusCode:_0x4bbc8c,isValidUTF8:_0x5698a4}=ae(),_0x3112e2=Buffer[Symbol[_0x24cc81(0x2cb)]],_0x3b1074=0x0,_0x4e259f=0x1,_0x2c0953=0x2,_0x5a5119=0x3,_0x4b96d3=0x4,_0x3398e6=0x5,_0x57557b=0x6;class _0x288ddf extends _0x159626{constructor(_0x24672f={}){const _0x59d4f7=_0x24cc81;super(),this[_0x59d4f7(0x277)]=_0x24672f[_0x59d4f7(0x2ce)]!==void 0x0?_0x24672f[_0x59d4f7(0x2ce)]:!0x0,this[_0x59d4f7(0x224)]=_0x24672f[_0x59d4f7(0x26a)]||_0x486731[0x0],this[_0x59d4f7(0x2f0)]=_0x24672f['extensions']||{},this[_0x59d4f7(0x257)]=!!_0x24672f[_0x59d4f7(0x307)],this[_0x59d4f7(0x228)]=_0x24672f[_0x59d4f7(0x28c)]|0x0,this[_0x59d4f7(0x2df)]=!!_0x24672f[_0x59d4f7(0x27f)],this[_0x2f49cb]=void 0x0,this[_0x59d4f7(0x25d)]=0x0,this[_0x59d4f7(0x2f8)]=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this[_0x59d4f7(0x314)]=void 0x0,this[_0x59d4f7(0x33d)]=0x0,this[_0x59d4f7(0x220)]=!0x1,this['_fin']=!0x1,this[_0x59d4f7(0x31c)]=0x0,this[_0x59d4f7(0x2d5)]=0x0,this['_messageLength']=0x0,this[_0x59d4f7(0x26c)]=[],this[_0x59d4f7(0x201)]=!0x1,this[_0x59d4f7(0x3ad)]=!0x1,this['_state']=_0x3b1074;}[_0x24cc81(0x3a7)](_0x42a6cb,_0x44b2b8,_0x2d1070){const _0x65de9a=_0x24cc81;if(this[_0x65de9a(0x31c)]===0x8&&this[_0x65de9a(0x398)]==_0x3b1074)return _0x2d1070();this['_bufferedBytes']+=_0x42a6cb[_0x65de9a(0x22e)],this[_0x65de9a(0x2f8)]['push'](_0x42a6cb),this[_0x65de9a(0x336)](_0x2d1070);}[_0x24cc81(0x254)](_0x5c74a0){const _0x4c8ac6=_0x24cc81;if(this[_0x4c8ac6(0x25d)]-=_0x5c74a0,_0x5c74a0===this[_0x4c8ac6(0x2f8)][0x0][_0x4c8ac6(0x22e)])return this[_0x4c8ac6(0x2f8)][_0x4c8ac6(0x32c)]();if(_0x5c74a0<this[_0x4c8ac6(0x2f8)][0x0][_0x4c8ac6(0x22e)]){const _0xb33d4c=this[_0x4c8ac6(0x2f8)][0x0];return this[_0x4c8ac6(0x2f8)][0x0]=new _0x3112e2(_0xb33d4c[_0x4c8ac6(0x308)],_0xb33d4c[_0x4c8ac6(0x249)]+_0x5c74a0,_0xb33d4c[_0x4c8ac6(0x22e)]-_0x5c74a0),new _0x3112e2(_0xb33d4c[_0x4c8ac6(0x308)],_0xb33d4c[_0x4c8ac6(0x249)],_0x5c74a0);}const _0x3f8d72=Buffer[_0x4c8ac6(0x2b9)](_0x5c74a0);do{const _0x4c5e35=this[_0x4c8ac6(0x2f8)][0x0],_0xf45274=_0x3f8d72['length']-_0x5c74a0;_0x5c74a0>=_0x4c5e35['length']?_0x3f8d72[_0x4c8ac6(0x206)](this['_buffers'][_0x4c8ac6(0x32c)](),_0xf45274):(_0x3f8d72['set'](new Uint8Array(_0x4c5e35['buffer'],_0x4c5e35[_0x4c8ac6(0x249)],_0x5c74a0),_0xf45274),this[_0x4c8ac6(0x2f8)][0x0]=new _0x3112e2(_0x4c5e35[_0x4c8ac6(0x308)],_0x4c5e35[_0x4c8ac6(0x249)]+_0x5c74a0,_0x4c5e35[_0x4c8ac6(0x22e)]-_0x5c74a0)),_0x5c74a0-=_0x4c5e35[_0x4c8ac6(0x22e)];}while(_0x5c74a0>0x0);return _0x3f8d72;}['startLoop'](_0x3b33b6){const _0x4b2042=_0x24cc81;this[_0x4b2042(0x3ad)]=!0x0;do switch(this[_0x4b2042(0x398)]){case _0x3b1074:this[_0x4b2042(0x244)](_0x3b33b6);break;case _0x4e259f:this[_0x4b2042(0x291)](_0x3b33b6);break;case _0x2c0953:this[_0x4b2042(0x283)](_0x3b33b6);break;case _0x5a5119:this[_0x4b2042(0x2ac)]();break;case _0x4b96d3:this[_0x4b2042(0x1fd)](_0x3b33b6);break;case _0x3398e6:case _0x57557b:this['_loop']=!0x1;return;}while(this[_0x4b2042(0x3ad)]);this[_0x4b2042(0x201)]||_0x3b33b6();}[_0x24cc81(0x244)](_0x1dedc2){const _0x3fc66c=_0x24cc81;if(this[_0x3fc66c(0x25d)]<0x2){this[_0x3fc66c(0x3ad)]=!0x1;return;}const _0x1111ed=this['consume'](0x2);if((_0x1111ed[0x0]&0x30)!==0x0){const _0x47529b=this[_0x3fc66c(0x2ba)](RangeError,_0x3fc66c(0x2f3),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x1dedc2(_0x47529b);return;}const _0x55f63f=(_0x1111ed[0x0]&0x40)===0x40;if(_0x55f63f&&!this[_0x3fc66c(0x2f0)][_0xc7a8b8[_0x3fc66c(0x330)]]){const _0x17207d=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1dedc2(_0x17207d);return;}if(this[_0x3fc66c(0x235)]=(_0x1111ed[0x0]&0x80)===0x80,this[_0x3fc66c(0x31c)]=_0x1111ed[0x0]&0xf,this['_payloadLength']=_0x1111ed[0x1]&0x7f,this[_0x3fc66c(0x31c)]===0x0){if(_0x55f63f){const _0x318075=this[_0x3fc66c(0x2ba)](RangeError,_0x3fc66c(0x293),!0x0,0x3ea,_0x3fc66c(0x1f7));_0x1dedc2(_0x318075);return;}if(!this[_0x3fc66c(0x33d)]){const _0x47d685=this['createError'](RangeError,_0x3fc66c(0x2de),!0x0,0x3ea,_0x3fc66c(0x2f6));_0x1dedc2(_0x47d685);return;}this[_0x3fc66c(0x31c)]=this[_0x3fc66c(0x33d)];}else{if(this['_opcode']===0x1||this[_0x3fc66c(0x31c)]===0x2){if(this[_0x3fc66c(0x33d)]){const _0x3693b7=this[_0x3fc66c(0x2ba)](RangeError,'invalid\x20opcode\x20'+this[_0x3fc66c(0x31c)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x1dedc2(_0x3693b7);return;}this[_0x3fc66c(0x267)]=_0x55f63f;}else{if(this['_opcode']>0x7&&this[_0x3fc66c(0x31c)]<0xb){if(!this[_0x3fc66c(0x235)]){const _0x3a1214=this[_0x3fc66c(0x2ba)](RangeError,_0x3fc66c(0x2dd),!0x0,0x3ea,_0x3fc66c(0x31f));_0x1dedc2(_0x3a1214);return;}if(_0x55f63f){const _0x1ab082=this[_0x3fc66c(0x2ba)](RangeError,_0x3fc66c(0x293),!0x0,0x3ea,_0x3fc66c(0x1f7));_0x1dedc2(_0x1ab082);return;}if(this['_payloadLength']>0x7d||this[_0x3fc66c(0x31c)]===0x8&&this[_0x3fc66c(0x309)]===0x1){const _0x2cbfb6=this[_0x3fc66c(0x2ba)](RangeError,_0x3fc66c(0x2ea)+this[_0x3fc66c(0x309)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x1dedc2(_0x2cbfb6);return;}}else{const _0xfbc4a7=this[_0x3fc66c(0x2ba)](RangeError,_0x3fc66c(0x36a)+this[_0x3fc66c(0x31c)],!0x0,0x3ea,_0x3fc66c(0x2f6));_0x1dedc2(_0xfbc4a7);return;}}}if(!this['_fin']&&!this[_0x3fc66c(0x33d)]&&(this['_fragmented']=this['_opcode']),this[_0x3fc66c(0x220)]=(_0x1111ed[0x1]&0x80)===0x80,this[_0x3fc66c(0x257)]){if(!this['_masked']){const _0x56f5e5=this[_0x3fc66c(0x2ba)](RangeError,_0x3fc66c(0x2b7),!0x0,0x3ea,_0x3fc66c(0x2f7));_0x1dedc2(_0x56f5e5);return;}}else{if(this[_0x3fc66c(0x220)]){const _0x2aa4ea=this['createError'](RangeError,_0x3fc66c(0x353),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x1dedc2(_0x2aa4ea);return;}}this[_0x3fc66c(0x309)]===0x7e?this[_0x3fc66c(0x398)]=_0x4e259f:this['_payloadLength']===0x7f?this['_state']=_0x2c0953:this[_0x3fc66c(0x269)](_0x1dedc2);}[_0x24cc81(0x291)](_0x20d5ac){const _0x73d7f=_0x24cc81;if(this[_0x73d7f(0x25d)]<0x2){this[_0x73d7f(0x3ad)]=!0x1;return;}this[_0x73d7f(0x309)]=this[_0x73d7f(0x254)](0x2)['readUInt16BE'](0x0),this[_0x73d7f(0x269)](_0x20d5ac);}[_0x24cc81(0x283)](_0x5a7879){const _0x288de0=_0x24cc81;if(this[_0x288de0(0x25d)]<0x8){this['_loop']=!0x1;return;}const _0x37533d=this[_0x288de0(0x254)](0x8),_0x52df14=_0x37533d[_0x288de0(0x2fc)](0x0);if(_0x52df14>Math['pow'](0x2,0x15)-0x1){const _0x258374=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x288de0(0x2e3));_0x5a7879(_0x258374);return;}this[_0x288de0(0x309)]=_0x52df14*Math[_0x288de0(0x281)](0x2,0x20)+_0x37533d[_0x288de0(0x2fc)](0x4),this[_0x288de0(0x269)](_0x5a7879);}['haveLength'](_0x47fdb3){const _0x4c85f9=_0x24cc81;if(this[_0x4c85f9(0x309)]&&this[_0x4c85f9(0x31c)]<0x8&&(this[_0x4c85f9(0x2d5)]+=this[_0x4c85f9(0x309)],this[_0x4c85f9(0x2d5)]>this['_maxPayload']&&this['_maxPayload']>0x0)){const _0x10cfeb=this[_0x4c85f9(0x2ba)](RangeError,_0x4c85f9(0x27b),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x47fdb3(_0x10cfeb);return;}this[_0x4c85f9(0x220)]?this['_state']=_0x5a5119:this[_0x4c85f9(0x398)]=_0x4b96d3;}[_0x24cc81(0x2ac)](){const _0x4c44a0=_0x24cc81;if(this['_bufferedBytes']<0x4){this[_0x4c44a0(0x3ad)]=!0x1;return;}this[_0x4c44a0(0x314)]=this[_0x4c44a0(0x254)](0x4),this[_0x4c44a0(0x398)]=_0x4b96d3;}[_0x24cc81(0x1fd)](_0x1dd760){const _0x2ac9f1=_0x24cc81;let _0x1b994d=_0x550a8a;if(this[_0x2ac9f1(0x309)]){if(this[_0x2ac9f1(0x25d)]<this[_0x2ac9f1(0x309)]){this[_0x2ac9f1(0x3ad)]=!0x1;return;}_0x1b994d=this[_0x2ac9f1(0x254)](this[_0x2ac9f1(0x309)]),this[_0x2ac9f1(0x220)]&&(this[_0x2ac9f1(0x314)][0x0]|this[_0x2ac9f1(0x314)][0x1]|this[_0x2ac9f1(0x314)][0x2]|this['_mask'][0x3])!==0x0&&_0x3dde9f(_0x1b994d,this[_0x2ac9f1(0x314)]);}if(this[_0x2ac9f1(0x31c)]>0x7){this[_0x2ac9f1(0x299)](_0x1b994d,_0x1dd760);return;}if(this[_0x2ac9f1(0x267)]){this[_0x2ac9f1(0x398)]=_0x3398e6,this[_0x2ac9f1(0x3b2)](_0x1b994d,_0x1dd760);return;}_0x1b994d[_0x2ac9f1(0x22e)]&&(this[_0x2ac9f1(0x278)]=this['_totalPayloadLength'],this[_0x2ac9f1(0x26c)][_0x2ac9f1(0x301)](_0x1b994d)),this[_0x2ac9f1(0x1fc)](_0x1dd760);}[_0x24cc81(0x3b2)](_0x39e76d,_0x4512af){const _0x18e01f=_0x24cc81;this[_0x18e01f(0x2f0)][_0xc7a8b8['extensionName']][_0x18e01f(0x3b2)](_0x39e76d,this['_fin'],(_0x2c88c2,_0x391fc7)=>{const _0x598edc=_0x18e01f;if(_0x2c88c2)return _0x4512af(_0x2c88c2);if(_0x391fc7[_0x598edc(0x22e)]){if(this[_0x598edc(0x278)]+=_0x391fc7[_0x598edc(0x22e)],this[_0x598edc(0x278)]>this[_0x598edc(0x228)]&&this[_0x598edc(0x228)]>0x0){const _0xf25f2f=this['createError'](RangeError,_0x598edc(0x27b),!0x1,0x3f1,_0x598edc(0x319));_0x4512af(_0xf25f2f);return;}this['_fragments'][_0x598edc(0x301)](_0x391fc7);}this['dataMessage'](_0x4512af),this[_0x598edc(0x398)]===_0x3b1074&&this[_0x598edc(0x336)](_0x4512af);});}[_0x24cc81(0x1fc)](_0x3caf44){const _0x244b59=_0x24cc81;if(!this[_0x244b59(0x235)]){this[_0x244b59(0x398)]=_0x3b1074;return;}const _0x1cb25e=this['_messageLength'],_0x4d9a09=this[_0x244b59(0x26c)];if(this[_0x244b59(0x2d5)]=0x0,this[_0x244b59(0x278)]=0x0,this['_fragmented']=0x0,this[_0x244b59(0x26c)]=[],this['_opcode']===0x2){let _0x5b9fb1;this['_binaryType']===_0x244b59(0x251)?_0x5b9fb1=_0x2c2b57(_0x4d9a09,_0x1cb25e):this[_0x244b59(0x224)]==='arraybuffer'?_0x5b9fb1=_0x2c6ad1(_0x2c2b57(_0x4d9a09,_0x1cb25e)):this[_0x244b59(0x224)]===_0x244b59(0x29f)?_0x5b9fb1=new Blob(_0x4d9a09):_0x5b9fb1=_0x4d9a09,this[_0x244b59(0x277)]?(this[_0x244b59(0x3a9)](_0x244b59(0x24f),_0x5b9fb1,!0x0),this['_state']=_0x3b1074):(this[_0x244b59(0x398)]=_0x57557b,setImmediate(()=>{const _0x3b8d40=_0x244b59;this[_0x3b8d40(0x3a9)]('message',_0x5b9fb1,!0x0),this[_0x3b8d40(0x398)]=_0x3b1074,this['startLoop'](_0x3caf44);}));}else{const _0x266122=_0x2c2b57(_0x4d9a09,_0x1cb25e);if(!this['_skipUTF8Validation']&&!_0x5698a4(_0x266122)){const _0x1ff293=this[_0x244b59(0x2ba)](Error,_0x244b59(0x238),!0x0,0x3ef,_0x244b59(0x292));_0x3caf44(_0x1ff293);return;}this['_state']===_0x3398e6||this[_0x244b59(0x277)]?(this[_0x244b59(0x3a9)](_0x244b59(0x24f),_0x266122,!0x1),this[_0x244b59(0x398)]=_0x3b1074):(this[_0x244b59(0x398)]=_0x57557b,setImmediate(()=>{const _0x3aaecc=_0x244b59;this[_0x3aaecc(0x3a9)](_0x3aaecc(0x24f),_0x266122,!0x1),this[_0x3aaecc(0x398)]=_0x3b1074,this['startLoop'](_0x3caf44);}));}}['controlMessage'](_0x1f9685,_0x2941b7){const _0xdae4c9=_0x24cc81;if(this[_0xdae4c9(0x31c)]===0x8){if(_0x1f9685[_0xdae4c9(0x22e)]===0x0)this[_0xdae4c9(0x3ad)]=!0x1,this[_0xdae4c9(0x3a9)](_0xdae4c9(0x3b0),0x3ed,_0x550a8a),this[_0xdae4c9(0x329)]();else{const _0x572994=_0x1f9685[_0xdae4c9(0x29b)](0x0);if(!_0x4bbc8c(_0x572994)){const _0x38422b=this[_0xdae4c9(0x2ba)](RangeError,'invalid\x20status\x20code\x20'+_0x572994,!0x0,0x3ea,_0xdae4c9(0x28e));_0x2941b7(_0x38422b);return;}const _0x422dfe=new _0x3112e2(_0x1f9685['buffer'],_0x1f9685[_0xdae4c9(0x249)]+0x2,_0x1f9685[_0xdae4c9(0x22e)]-0x2);if(!this['_skipUTF8Validation']&&!_0x5698a4(_0x422dfe)){const _0x504d6b=this[_0xdae4c9(0x2ba)](Error,_0xdae4c9(0x238),!0x0,0x3ef,_0xdae4c9(0x292));_0x2941b7(_0x504d6b);return;}this[_0xdae4c9(0x3ad)]=!0x1,this[_0xdae4c9(0x3a9)](_0xdae4c9(0x3b0),_0x572994,_0x422dfe),this[_0xdae4c9(0x329)]();}this['_state']=_0x3b1074;return;}this[_0xdae4c9(0x277)]?(this[_0xdae4c9(0x3a9)](this[_0xdae4c9(0x31c)]===0x9?_0xdae4c9(0x2c7):_0xdae4c9(0x372),_0x1f9685),this[_0xdae4c9(0x398)]=_0x3b1074):(this[_0xdae4c9(0x398)]=_0x57557b,setImmediate(()=>{const _0x515475=_0xdae4c9;this[_0x515475(0x3a9)](this['_opcode']===0x9?_0x515475(0x2c7):_0x515475(0x372),_0x1f9685),this[_0x515475(0x398)]=_0x3b1074,this[_0x515475(0x336)](_0x2941b7);}));}[_0x24cc81(0x2ba)](_0x6df833,_0x53740b,_0x11a191,_0x1a0e8f,_0x1017f9){const _0x55931b=_0x24cc81;this['_loop']=!0x1,this['_errored']=!0x0;const _0x4b2aa6=new _0x6df833(_0x11a191?_0x55931b(0x36d)+_0x53740b:_0x53740b);return Error[_0x55931b(0x310)](_0x4b2aa6,this['createError']),_0x4b2aa6[_0x55931b(0x2b2)]=_0x1017f9,_0x4b2aa6[_0x17d31b]=_0x1a0e8f,_0x4b2aa6;}}return Se=_0x288ddf,Se;}var Ee,Xe;function ft(){const _0x70dc57=_0x344e53;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x320a06}=oe,{randomFillSync:_0x2e1763}=Le,_0x2c8dc7=he(),{EMPTY_BUFFER:_0x45041c,kWebSocket:_0x450fba,NOOP:_0x172c10}=H(),{isBlob:_0x377701,isValidStatusCode:_0x4bd055}=ae(),{mask:_0x311d83,toBuffer:_0x493afb}=ce(),_0x4f0c9d=Symbol(_0x70dc57(0x3a2)),_0x100921=Buffer[_0x70dc57(0x289)](0x4),_0x41d7a6=0x8*0x400;let _0x496c63,_0x1a9b69=_0x41d7a6;const _0x2ea474=0x0,_0x12a7a3=0x1,_0x48e05a=0x2;class _0x349f43{constructor(_0x40fd8c,_0x23fda5,_0x2a4702){const _0x5967fb=_0x70dc57;this[_0x5967fb(0x2f0)]=_0x23fda5||{},_0x2a4702&&(this[_0x5967fb(0x2d2)]=_0x2a4702,this[_0x5967fb(0x25f)]=Buffer[_0x5967fb(0x289)](0x4)),this[_0x5967fb(0x39e)]=_0x40fd8c,this[_0x5967fb(0x2f4)]=!0x0,this[_0x5967fb(0x29d)]=!0x1,this[_0x5967fb(0x25d)]=0x0,this['_queue']=[],this['_state']=_0x2ea474,this['onerror']=_0x172c10,this[_0x450fba]=void 0x0;}static[_0x70dc57(0x27d)](_0x16133a,_0x34ab0b){const _0x52d8f0=_0x70dc57;let _0x31418f,_0x47adc7=!0x1,_0x289efd=0x2,_0xf8bc4e=!0x1;_0x34ab0b[_0x52d8f0(0x26f)]&&(_0x31418f=_0x34ab0b[_0x52d8f0(0x2c4)]||_0x100921,_0x34ab0b[_0x52d8f0(0x38f)]?_0x34ab0b[_0x52d8f0(0x38f)](_0x31418f):(_0x1a9b69===_0x41d7a6&&(_0x496c63===void 0x0&&(_0x496c63=Buffer[_0x52d8f0(0x289)](_0x41d7a6)),_0x2e1763(_0x496c63,0x0,_0x41d7a6),_0x1a9b69=0x0),_0x31418f[0x0]=_0x496c63[_0x1a9b69++],_0x31418f[0x1]=_0x496c63[_0x1a9b69++],_0x31418f[0x2]=_0x496c63[_0x1a9b69++],_0x31418f[0x3]=_0x496c63[_0x1a9b69++]),_0xf8bc4e=(_0x31418f[0x0]|_0x31418f[0x1]|_0x31418f[0x2]|_0x31418f[0x3])===0x0,_0x289efd=0x6);let _0x141b7f;typeof _0x16133a==_0x52d8f0(0x318)?(!_0x34ab0b[_0x52d8f0(0x26f)]||_0xf8bc4e)&&_0x34ab0b[_0x4f0c9d]!==void 0x0?_0x141b7f=_0x34ab0b[_0x4f0c9d]:(_0x16133a=Buffer[_0x52d8f0(0x2fe)](_0x16133a),_0x141b7f=_0x16133a[_0x52d8f0(0x22e)]):(_0x141b7f=_0x16133a[_0x52d8f0(0x22e)],_0x47adc7=_0x34ab0b[_0x52d8f0(0x26f)]&&_0x34ab0b[_0x52d8f0(0x279)]&&!_0xf8bc4e);let _0x3e5d2d=_0x141b7f;_0x141b7f>=0x10000?(_0x289efd+=0x8,_0x3e5d2d=0x7f):_0x141b7f>0x7d&&(_0x289efd+=0x2,_0x3e5d2d=0x7e);const _0xff5064=Buffer[_0x52d8f0(0x2b9)](_0x47adc7?_0x141b7f+_0x289efd:_0x289efd);return _0xff5064[0x0]=_0x34ab0b[_0x52d8f0(0x2a9)]?_0x34ab0b[_0x52d8f0(0x30a)]|0x80:_0x34ab0b[_0x52d8f0(0x30a)],_0x34ab0b['rsv1']&&(_0xff5064[0x0]|=0x40),_0xff5064[0x1]=_0x3e5d2d,_0x3e5d2d===0x7e?_0xff5064[_0x52d8f0(0x315)](_0x141b7f,0x2):_0x3e5d2d===0x7f&&(_0xff5064[0x2]=_0xff5064[0x3]=0x0,_0xff5064[_0x52d8f0(0x25a)](_0x141b7f,0x4,0x6)),_0x34ab0b[_0x52d8f0(0x26f)]?(_0xff5064[0x1]|=0x80,_0xff5064[_0x289efd-0x4]=_0x31418f[0x0],_0xff5064[_0x289efd-0x3]=_0x31418f[0x1],_0xff5064[_0x289efd-0x2]=_0x31418f[0x2],_0xff5064[_0x289efd-0x1]=_0x31418f[0x3],_0xf8bc4e?[_0xff5064,_0x16133a]:_0x47adc7?(_0x311d83(_0x16133a,_0x31418f,_0xff5064,_0x289efd,_0x141b7f),[_0xff5064]):(_0x311d83(_0x16133a,_0x31418f,_0x16133a,0x0,_0x141b7f),[_0xff5064,_0x16133a])):[_0xff5064,_0x16133a];}[_0x70dc57(0x29c)](_0x286c72,_0x564333,_0x27196a,_0x52f124){const _0x5bd362=_0x70dc57;let _0xfb9545;if(_0x286c72===void 0x0)_0xfb9545=_0x45041c;else{if(typeof _0x286c72!=_0x5bd362(0x371)||!_0x4bd055(_0x286c72))throw new TypeError(_0x5bd362(0x33a));if(_0x564333===void 0x0||!_0x564333['length'])_0xfb9545=Buffer[_0x5bd362(0x2b9)](0x2),_0xfb9545[_0x5bd362(0x315)](_0x286c72,0x0);else{const _0x31e4eb=Buffer[_0x5bd362(0x246)](_0x564333);if(_0x31e4eb>0x7b)throw new RangeError(_0x5bd362(0x2c8));_0xfb9545=Buffer['allocUnsafe'](0x2+_0x31e4eb),_0xfb9545[_0x5bd362(0x315)](_0x286c72,0x0),typeof _0x564333=='string'?_0xfb9545[_0x5bd362(0x2f2)](_0x564333,0x2):_0xfb9545['set'](_0x564333,0x2);}}const _0x4dba60={[_0x4f0c9d]:_0xfb9545['length'],'fin':!0x0,'generateMask':this[_0x5bd362(0x2d2)],'mask':_0x27196a,'maskBuffer':this[_0x5bd362(0x25f)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x5bd362(0x398)]!==_0x2ea474?this['enqueue']([this['dispatch'],_0xfb9545,!0x1,_0x4dba60,_0x52f124]):this['sendFrame'](_0x349f43['frame'](_0xfb9545,_0x4dba60),_0x52f124);}['ping'](_0x4bf38e,_0x536a81,_0x14a341){const _0x3f5951=_0x70dc57;let _0x3cf536,_0x458a54;if(typeof _0x4bf38e==_0x3f5951(0x318)?(_0x3cf536=Buffer[_0x3f5951(0x246)](_0x4bf38e),_0x458a54=!0x1):_0x377701(_0x4bf38e)?(_0x3cf536=_0x4bf38e[_0x3f5951(0x252)],_0x458a54=!0x1):(_0x4bf38e=_0x493afb(_0x4bf38e),_0x3cf536=_0x4bf38e[_0x3f5951(0x22e)],_0x458a54=_0x493afb[_0x3f5951(0x279)]),_0x3cf536>0x7d)throw new RangeError(_0x3f5951(0x2a6));const _0x44da64={[_0x4f0c9d]:_0x3cf536,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x536a81,'maskBuffer':this[_0x3f5951(0x25f)],'opcode':0x9,'readOnly':_0x458a54,'rsv1':!0x1};_0x377701(_0x4bf38e)?this[_0x3f5951(0x398)]!==_0x2ea474?this['enqueue']([this[_0x3f5951(0x373)],_0x4bf38e,!0x1,_0x44da64,_0x14a341]):this[_0x3f5951(0x373)](_0x4bf38e,!0x1,_0x44da64,_0x14a341):this[_0x3f5951(0x398)]!==_0x2ea474?this['enqueue']([this[_0x3f5951(0x390)],_0x4bf38e,!0x1,_0x44da64,_0x14a341]):this[_0x3f5951(0x3b3)](_0x349f43[_0x3f5951(0x27d)](_0x4bf38e,_0x44da64),_0x14a341);}[_0x70dc57(0x372)](_0x3c4cab,_0x456267,_0x79aebd){const _0x521651=_0x70dc57;let _0x537e2e,_0x22613b;if(typeof _0x3c4cab==_0x521651(0x318)?(_0x537e2e=Buffer['byteLength'](_0x3c4cab),_0x22613b=!0x1):_0x377701(_0x3c4cab)?(_0x537e2e=_0x3c4cab['size'],_0x22613b=!0x1):(_0x3c4cab=_0x493afb(_0x3c4cab),_0x537e2e=_0x3c4cab['length'],_0x22613b=_0x493afb[_0x521651(0x279)]),_0x537e2e>0x7d)throw new RangeError(_0x521651(0x2a6));const _0x5d4a7e={[_0x4f0c9d]:_0x537e2e,'fin':!0x0,'generateMask':this[_0x521651(0x2d2)],'mask':_0x456267,'maskBuffer':this[_0x521651(0x25f)],'opcode':0xa,'readOnly':_0x22613b,'rsv1':!0x1};_0x377701(_0x3c4cab)?this['_state']!==_0x2ea474?this['enqueue']([this[_0x521651(0x373)],_0x3c4cab,!0x1,_0x5d4a7e,_0x79aebd]):this[_0x521651(0x373)](_0x3c4cab,!0x1,_0x5d4a7e,_0x79aebd):this[_0x521651(0x398)]!==_0x2ea474?this[_0x521651(0x35e)]([this['dispatch'],_0x3c4cab,!0x1,_0x5d4a7e,_0x79aebd]):this[_0x521651(0x3b3)](_0x349f43['frame'](_0x3c4cab,_0x5d4a7e),_0x79aebd);}['send'](_0x1a1042,_0x572cdc,_0x314724){const _0x943566=_0x70dc57,_0x5379bc=this[_0x943566(0x2f0)][_0x2c8dc7[_0x943566(0x330)]];let _0xe3567c=_0x572cdc[_0x943566(0x3b1)]?0x2:0x1,_0x23b781=_0x572cdc[_0x943566(0x2fd)],_0x26a609,_0x2506d5;typeof _0x1a1042==_0x943566(0x318)?(_0x26a609=Buffer[_0x943566(0x246)](_0x1a1042),_0x2506d5=!0x1):_0x377701(_0x1a1042)?(_0x26a609=_0x1a1042[_0x943566(0x252)],_0x2506d5=!0x1):(_0x1a1042=_0x493afb(_0x1a1042),_0x26a609=_0x1a1042['length'],_0x2506d5=_0x493afb[_0x943566(0x279)]),this[_0x943566(0x2f4)]?(this[_0x943566(0x2f4)]=!0x1,_0x23b781&&_0x5379bc&&_0x5379bc[_0x943566(0x326)][_0x5379bc[_0x943566(0x257)]?_0x943566(0x346):_0x943566(0x273)]&&(_0x23b781=_0x26a609>=_0x5379bc[_0x943566(0x2ec)]),this[_0x943566(0x29d)]=_0x23b781):(_0x23b781=!0x1,_0xe3567c=0x0),_0x572cdc['fin']&&(this['_firstFragment']=!0x0);const _0x149add={[_0x4f0c9d]:_0x26a609,'fin':_0x572cdc[_0x943566(0x2a9)],'generateMask':this[_0x943566(0x2d2)],'mask':_0x572cdc[_0x943566(0x26f)],'maskBuffer':this[_0x943566(0x25f)],'opcode':_0xe3567c,'readOnly':_0x2506d5,'rsv1':_0x23b781};_0x377701(_0x1a1042)?this[_0x943566(0x398)]!==_0x2ea474?this[_0x943566(0x35e)]([this[_0x943566(0x373)],_0x1a1042,this[_0x943566(0x29d)],_0x149add,_0x314724]):this[_0x943566(0x373)](_0x1a1042,this[_0x943566(0x29d)],_0x149add,_0x314724):this[_0x943566(0x398)]!==_0x2ea474?this['enqueue']([this['dispatch'],_0x1a1042,this['_compress'],_0x149add,_0x314724]):this[_0x943566(0x390)](_0x1a1042,this[_0x943566(0x29d)],_0x149add,_0x314724);}[_0x70dc57(0x373)](_0x59cc90,_0x1f3f9f,_0x569621,_0x248f6d){const _0x4786f9=_0x70dc57;this[_0x4786f9(0x25d)]+=_0x569621[_0x4f0c9d],this[_0x4786f9(0x398)]=_0x48e05a,_0x59cc90[_0x4786f9(0x3a8)]()[_0x4786f9(0x3a1)](_0x267a2c=>{const _0x1a2986=_0x4786f9;if(this[_0x1a2986(0x39e)][_0x1a2986(0x382)]){const _0xc8483c=new Error(_0x1a2986(0x298));process['nextTick'](_0x1b4b87,this,_0xc8483c,_0x248f6d);return;}this[_0x1a2986(0x25d)]-=_0x569621[_0x4f0c9d];const _0x5387ce=_0x493afb(_0x267a2c);_0x1f3f9f?this[_0x1a2986(0x390)](_0x5387ce,_0x1f3f9f,_0x569621,_0x248f6d):(this[_0x1a2986(0x398)]=_0x2ea474,this['sendFrame'](_0x349f43[_0x1a2986(0x27d)](_0x5387ce,_0x569621),_0x248f6d),this[_0x1a2986(0x38c)]());})[_0x4786f9(0x26e)](_0x1ae035=>{const _0x2163c7=_0x4786f9;process[_0x2163c7(0x38e)](_0x308f80,this,_0x1ae035,_0x248f6d);});}[_0x70dc57(0x390)](_0x590423,_0x418e4d,_0x1c5c62,_0x48f32f){const _0x5f5567=_0x70dc57;if(!_0x418e4d){this[_0x5f5567(0x3b3)](_0x349f43['frame'](_0x590423,_0x1c5c62),_0x48f32f);return;}const _0x176089=this[_0x5f5567(0x2f0)][_0x2c8dc7[_0x5f5567(0x330)]];this[_0x5f5567(0x25d)]+=_0x1c5c62[_0x4f0c9d],this[_0x5f5567(0x398)]=_0x12a7a3,_0x176089['compress'](_0x590423,_0x1c5c62['fin'],(_0x44a4ad,_0x18a246)=>{const _0x18d20f=_0x5f5567;if(this[_0x18d20f(0x39e)][_0x18d20f(0x382)]){const _0x4401da=new Error(_0x18d20f(0x305));_0x1b4b87(this,_0x4401da,_0x48f32f);return;}this[_0x18d20f(0x25d)]-=_0x1c5c62[_0x4f0c9d],this[_0x18d20f(0x398)]=_0x2ea474,_0x1c5c62[_0x18d20f(0x279)]=!0x1,this['sendFrame'](_0x349f43['frame'](_0x18a246,_0x1c5c62),_0x48f32f),this[_0x18d20f(0x38c)]();});}[_0x70dc57(0x38c)](){const _0x46b955=_0x70dc57;for(;this['_state']===_0x2ea474&&this[_0x46b955(0x20a)][_0x46b955(0x22e)];){const _0x1ccdeb=this[_0x46b955(0x20a)][_0x46b955(0x32c)]();this['_bufferedBytes']-=_0x1ccdeb[0x3][_0x4f0c9d],Reflect['apply'](_0x1ccdeb[0x0],this,_0x1ccdeb[_0x46b955(0x39f)](0x1));}}[_0x70dc57(0x35e)](_0x51baa1){const _0x5a39f6=_0x70dc57;this[_0x5a39f6(0x25d)]+=_0x51baa1[0x3][_0x4f0c9d],this[_0x5a39f6(0x20a)]['push'](_0x51baa1);}[_0x70dc57(0x3b3)](_0x206ed2,_0x50ca67){const _0x44359a=_0x70dc57;_0x206ed2[_0x44359a(0x22e)]===0x2?(this[_0x44359a(0x39e)][_0x44359a(0x297)](),this['_socket'][_0x44359a(0x2f2)](_0x206ed2[0x0]),this[_0x44359a(0x39e)][_0x44359a(0x2f2)](_0x206ed2[0x1],_0x50ca67),this[_0x44359a(0x39e)]['uncork']()):this[_0x44359a(0x39e)][_0x44359a(0x2f2)](_0x206ed2[0x0],_0x50ca67);}}Ee=_0x349f43;function _0x1b4b87(_0x371b1c,_0x2e094e,_0x391464){const _0x54fefe=_0x70dc57;typeof _0x391464=='function'&&_0x391464(_0x2e094e);for(let _0x3df2a8=0x0;_0x3df2a8<_0x371b1c['_queue'][_0x54fefe(0x22e)];_0x3df2a8++){const _0x239f87=_0x371b1c[_0x54fefe(0x20a)][_0x3df2a8],_0x498885=_0x239f87[_0x239f87[_0x54fefe(0x22e)]-0x1];typeof _0x498885=='function'&&_0x498885(_0x2e094e);}}function _0x308f80(_0x4decbe,_0x5c8714,_0x20771b){_0x1b4b87(_0x4decbe,_0x5c8714,_0x20771b),_0x4decbe['onerror'](_0x5c8714);}return Ee;}var xe,Ze;function It(){const _0x4b822f=_0x344e53;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x213b25,kListener:_0x43cb0c}=H(),_0x5475fd=Symbol(_0x4b822f(0x34f)),_0x44d1c3=Symbol(_0x4b822f(0x394)),_0x9788b9=Symbol(_0x4b822f(0x2d9)),_0x57c7ab=Symbol(_0x4b822f(0x34d)),_0x5d1389=Symbol(_0x4b822f(0x337)),_0xfca04a=Symbol(_0x4b822f(0x2b8)),_0x5816e0=Symbol(_0x4b822f(0x397)),_0x51f329=Symbol('kWasClean');class _0x7286f{constructor(_0xcc1334){this[_0xfca04a]=null,this[_0x5816e0]=_0xcc1334;}get[_0x4b822f(0x30b)](){return this[_0xfca04a];}get[_0x4b822f(0x2e2)](){return this[_0x5816e0];}}Object['defineProperty'](_0x7286f[_0x4b822f(0x20f)],_0x4b822f(0x30b),{'enumerable':!0x0}),Object['defineProperty'](_0x7286f[_0x4b822f(0x20f)],_0x4b822f(0x2e2),{'enumerable':!0x0});class _0x6f1e7b extends _0x7286f{constructor(_0x2ed2f5,_0x1add98={}){const _0x3b7ad9=_0x4b822f;super(_0x2ed2f5),this[_0x5475fd]=_0x1add98[_0x3b7ad9(0x2b2)]===void 0x0?0x0:_0x1add98[_0x3b7ad9(0x2b2)],this[_0x5d1389]=_0x1add98[_0x3b7ad9(0x2c1)]===void 0x0?'':_0x1add98['reason'],this[_0x51f329]=_0x1add98[_0x3b7ad9(0x258)]===void 0x0?!0x1:_0x1add98[_0x3b7ad9(0x258)];}get[_0x4b822f(0x2b2)](){return this[_0x5475fd];}get[_0x4b822f(0x2c1)](){return this[_0x5d1389];}get['wasClean'](){return this[_0x51f329];}}Object[_0x4b822f(0x21d)](_0x6f1e7b['prototype'],_0x4b822f(0x2b2),{'enumerable':!0x0}),Object['defineProperty'](_0x6f1e7b[_0x4b822f(0x20f)],_0x4b822f(0x2c1),{'enumerable':!0x0}),Object[_0x4b822f(0x21d)](_0x6f1e7b[_0x4b822f(0x20f)],_0x4b822f(0x258),{'enumerable':!0x0});class _0x491f83 extends _0x7286f{constructor(_0xff38d1,_0x8193d9={}){const _0x9d7186=_0x4b822f;super(_0xff38d1),this[_0x9788b9]=_0x8193d9[_0x9d7186(0x229)]===void 0x0?null:_0x8193d9[_0x9d7186(0x229)],this[_0x57c7ab]=_0x8193d9[_0x9d7186(0x24f)]===void 0x0?'':_0x8193d9[_0x9d7186(0x24f)];}get['error'](){return this[_0x9788b9];}get[_0x4b822f(0x24f)](){return this[_0x57c7ab];}}Object[_0x4b822f(0x21d)](_0x491f83[_0x4b822f(0x20f)],'error',{'enumerable':!0x0}),Object[_0x4b822f(0x21d)](_0x491f83[_0x4b822f(0x20f)],_0x4b822f(0x24f),{'enumerable':!0x0});class _0x37cb17 extends _0x7286f{constructor(_0x389930,_0x2ad8a5={}){const _0x3c8134=_0x4b822f;super(_0x389930),this[_0x44d1c3]=_0x2ad8a5[_0x3c8134(0x2bb)]===void 0x0?null:_0x2ad8a5[_0x3c8134(0x2bb)];}get[_0x4b822f(0x2bb)](){return this[_0x44d1c3];}}Object[_0x4b822f(0x21d)](_0x37cb17[_0x4b822f(0x20f)],_0x4b822f(0x2bb),{'enumerable':!0x0}),xe={'CloseEvent':_0x6f1e7b,'ErrorEvent':_0x491f83,'Event':_0x7286f,'EventTarget':{'addEventListener'(_0x4559b7,_0x59bbab,_0x3a65b3={}){const _0x41eb21=_0x4b822f;for(const _0x5457b5 of this[_0x41eb21(0x2a4)](_0x4559b7))if(!_0x3a65b3[_0x213b25]&&_0x5457b5[_0x43cb0c]===_0x59bbab&&!_0x5457b5[_0x213b25])return;let _0x459a36;if(_0x4559b7===_0x41eb21(0x24f))_0x459a36=function(_0x1a995e,_0x57aabc){const _0x351f2f=_0x41eb21,_0x2213df=new _0x37cb17(_0x351f2f(0x24f),{'data':_0x57aabc?_0x1a995e:_0x1a995e[_0x351f2f(0x284)]()});_0x2213df[_0xfca04a]=this,_0x4d9859(_0x59bbab,this,_0x2213df);};else{if(_0x4559b7==='close')_0x459a36=function(_0x1579f1,_0x3472af){const _0x8cabda=_0x41eb21,_0x4aca5f=new _0x6f1e7b(_0x8cabda(0x29c),{'code':_0x1579f1,'reason':_0x3472af[_0x8cabda(0x284)](),'wasClean':this[_0x8cabda(0x2f5)]&&this[_0x8cabda(0x2b1)]});_0x4aca5f[_0xfca04a]=this,_0x4d9859(_0x59bbab,this,_0x4aca5f);};else{if(_0x4559b7===_0x41eb21(0x229))_0x459a36=function(_0x148f5a){const _0x5d7bc6=_0x41eb21,_0x33e381=new _0x491f83(_0x5d7bc6(0x229),{'error':_0x148f5a,'message':_0x148f5a['message']});_0x33e381[_0xfca04a]=this,_0x4d9859(_0x59bbab,this,_0x33e381);};else{if(_0x4559b7==='open')_0x459a36=function(){const _0x5bc7fe=_0x41eb21,_0x27a10e=new _0x7286f(_0x5bc7fe(0x248));_0x27a10e[_0xfca04a]=this,_0x4d9859(_0x59bbab,this,_0x27a10e);};else return;}}}_0x459a36[_0x213b25]=!!_0x3a65b3[_0x213b25],_0x459a36[_0x43cb0c]=_0x59bbab,_0x3a65b3[_0x41eb21(0x24b)]?this[_0x41eb21(0x24b)](_0x4559b7,_0x459a36):this['on'](_0x4559b7,_0x459a36);},'removeEventListener'(_0x58fb73,_0x41ff59){const _0x85827f=_0x4b822f;for(const _0x11be9d of this[_0x85827f(0x2a4)](_0x58fb73))if(_0x11be9d[_0x43cb0c]===_0x41ff59&&!_0x11be9d[_0x213b25]){this[_0x85827f(0x28f)](_0x58fb73,_0x11be9d);break;}}},'MessageEvent':_0x37cb17};function _0x4d9859(_0x1c9c0e,_0x1bbdbd,_0x1173b8){const _0x3775b5=_0x4b822f;typeof _0x1c9c0e==_0x3775b5(0x344)&&_0x1c9c0e[_0x3775b5(0x33b)]?_0x1c9c0e[_0x3775b5(0x33b)][_0x3775b5(0x378)](_0x1c9c0e,_0x1173b8):_0x1c9c0e['call'](_0x1bbdbd,_0x1173b8);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x587b4c}=ae();function _0x4d0dab(_0xe7f03d,_0x53cff4,_0x470f99){const _0x1e6990=_0x3708;_0xe7f03d[_0x53cff4]===void 0x0?_0xe7f03d[_0x53cff4]=[_0x470f99]:_0xe7f03d[_0x53cff4][_0x1e6990(0x301)](_0x470f99);}function _0x472e74(_0x1c0332){const _0x54ed3f=_0x3708,_0x265e81=Object['create'](null);let _0x534098=Object[_0x54ed3f(0x28d)](null),_0x51b8c8=!0x1,_0x23ed5b=!0x1,_0x3047d5=!0x1,_0x47d310,_0x34ee20,_0x391903=-0x1,_0x5e3c7b=-0x1,_0x355d99=-0x1,_0x2b575b=0x0;for(;_0x2b575b<_0x1c0332[_0x54ed3f(0x22e)];_0x2b575b++)if(_0x5e3c7b=_0x1c0332[_0x54ed3f(0x263)](_0x2b575b),_0x47d310===void 0x0){if(_0x355d99===-0x1&&_0x587b4c[_0x5e3c7b]===0x1)_0x391903===-0x1&&(_0x391903=_0x2b575b);else{if(_0x2b575b!==0x0&&(_0x5e3c7b===0x20||_0x5e3c7b===0x9))_0x355d99===-0x1&&_0x391903!==-0x1&&(_0x355d99=_0x2b575b);else{if(_0x5e3c7b===0x3b||_0x5e3c7b===0x2c){if(_0x391903===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2b575b);_0x355d99===-0x1&&(_0x355d99=_0x2b575b);const _0x5e669d=_0x1c0332['slice'](_0x391903,_0x355d99);_0x5e3c7b===0x2c?(_0x4d0dab(_0x265e81,_0x5e669d,_0x534098),_0x534098=Object[_0x54ed3f(0x28d)](null)):_0x47d310=_0x5e669d,_0x391903=_0x355d99=-0x1;}else throw new SyntaxError(_0x54ed3f(0x399)+_0x2b575b);}}}else{if(_0x34ee20===void 0x0){if(_0x355d99===-0x1&&_0x587b4c[_0x5e3c7b]===0x1)_0x391903===-0x1&&(_0x391903=_0x2b575b);else{if(_0x5e3c7b===0x20||_0x5e3c7b===0x9)_0x355d99===-0x1&&_0x391903!==-0x1&&(_0x355d99=_0x2b575b);else{if(_0x5e3c7b===0x3b||_0x5e3c7b===0x2c){if(_0x391903===-0x1)throw new SyntaxError(_0x54ed3f(0x399)+_0x2b575b);_0x355d99===-0x1&&(_0x355d99=_0x2b575b),_0x4d0dab(_0x534098,_0x1c0332[_0x54ed3f(0x39f)](_0x391903,_0x355d99),!0x0),_0x5e3c7b===0x2c&&(_0x4d0dab(_0x265e81,_0x47d310,_0x534098),_0x534098=Object[_0x54ed3f(0x28d)](null),_0x47d310=void 0x0),_0x391903=_0x355d99=-0x1;}else{if(_0x5e3c7b===0x3d&&_0x391903!==-0x1&&_0x355d99===-0x1)_0x34ee20=_0x1c0332[_0x54ed3f(0x39f)](_0x391903,_0x2b575b),_0x391903=_0x355d99=-0x1;else throw new SyntaxError(_0x54ed3f(0x399)+_0x2b575b);}}}}else{if(_0x23ed5b){if(_0x587b4c[_0x5e3c7b]!==0x1)throw new SyntaxError(_0x54ed3f(0x399)+_0x2b575b);_0x391903===-0x1?_0x391903=_0x2b575b:_0x51b8c8||(_0x51b8c8=!0x0),_0x23ed5b=!0x1;}else{if(_0x3047d5){if(_0x587b4c[_0x5e3c7b]===0x1)_0x391903===-0x1&&(_0x391903=_0x2b575b);else{if(_0x5e3c7b===0x22&&_0x391903!==-0x1)_0x3047d5=!0x1,_0x355d99=_0x2b575b;else{if(_0x5e3c7b===0x5c)_0x23ed5b=!0x0;else throw new SyntaxError(_0x54ed3f(0x399)+_0x2b575b);}}}else{if(_0x5e3c7b===0x22&&_0x1c0332[_0x54ed3f(0x263)](_0x2b575b-0x1)===0x3d)_0x3047d5=!0x0;else{if(_0x355d99===-0x1&&_0x587b4c[_0x5e3c7b]===0x1)_0x391903===-0x1&&(_0x391903=_0x2b575b);else{if(_0x391903!==-0x1&&(_0x5e3c7b===0x20||_0x5e3c7b===0x9))_0x355d99===-0x1&&(_0x355d99=_0x2b575b);else{if(_0x5e3c7b===0x3b||_0x5e3c7b===0x2c){if(_0x391903===-0x1)throw new SyntaxError(_0x54ed3f(0x399)+_0x2b575b);_0x355d99===-0x1&&(_0x355d99=_0x2b575b);let _0x58dca9=_0x1c0332[_0x54ed3f(0x39f)](_0x391903,_0x355d99);_0x51b8c8&&(_0x58dca9=_0x58dca9[_0x54ed3f(0x312)](/\\/g,''),_0x51b8c8=!0x1),_0x4d0dab(_0x534098,_0x34ee20,_0x58dca9),_0x5e3c7b===0x2c&&(_0x4d0dab(_0x265e81,_0x47d310,_0x534098),_0x534098=Object['create'](null),_0x47d310=void 0x0),_0x34ee20=void 0x0,_0x391903=_0x355d99=-0x1;}else throw new SyntaxError(_0x54ed3f(0x399)+_0x2b575b);}}}}}}}if(_0x391903===-0x1||_0x3047d5||_0x5e3c7b===0x20||_0x5e3c7b===0x9)throw new SyntaxError(_0x54ed3f(0x2a5));_0x355d99===-0x1&&(_0x355d99=_0x2b575b);const _0x35b825=_0x1c0332[_0x54ed3f(0x39f)](_0x391903,_0x355d99);return _0x47d310===void 0x0?_0x4d0dab(_0x265e81,_0x35b825,_0x534098):(_0x34ee20===void 0x0?_0x4d0dab(_0x534098,_0x35b825,!0x0):_0x51b8c8?_0x4d0dab(_0x534098,_0x34ee20,_0x35b825[_0x54ed3f(0x312)](/\\/g,'')):_0x4d0dab(_0x534098,_0x34ee20,_0x35b825),_0x4d0dab(_0x265e81,_0x47d310,_0x534098)),_0x265e81;}function _0xee8ff8(_0x59c357){const _0x19d36a=_0x3708;return Object[_0x19d36a(0x1f6)](_0x59c357)[_0x19d36a(0x2d8)](_0x4d93bf=>{const _0x2f2b7c=_0x19d36a;let _0x3497ab=_0x59c357[_0x4d93bf];return Array[_0x2f2b7c(0x25e)](_0x3497ab)||(_0x3497ab=[_0x3497ab]),_0x3497ab[_0x2f2b7c(0x2d8)](_0x69f3e4=>[_0x4d93bf][_0x2f2b7c(0x377)](Object[_0x2f2b7c(0x1f6)](_0x69f3e4)[_0x2f2b7c(0x2d8)](_0x9c215e=>{const _0x1f8c44=_0x2f2b7c;let _0x3d4cc1=_0x69f3e4[_0x9c215e];return Array[_0x1f8c44(0x25e)](_0x3d4cc1)||(_0x3d4cc1=[_0x3d4cc1]),_0x3d4cc1[_0x1f8c44(0x2d8)](_0x3cee5f=>_0x3cee5f===!0x0?_0x9c215e:_0x9c215e+'='+_0x3cee5f)[_0x1f8c44(0x209)](';\x20');}))[_0x2f2b7c(0x209)](';\x20'))[_0x2f2b7c(0x209)](',\x20');})[_0x19d36a(0x209)](',\x20');}return be={'format':_0xee8ff8,'parse':_0x472e74},be;}var we,Je;function Pe(){const _0x597c49=_0x344e53;if(Je)return we;Je=0x1;const _0x5cd763=nt,_0x2536fa=vt,_0x57540c=ot,_0x558160=St,_0x599164=Et,{randomBytes:_0x21155c,createHash:_0x2586cf}=Le,{Duplex:_0x3dcb35,Readable:_0x3ce8c1}=oe,{URL:_0x142c72}=xt,_0x3b453f=he(),_0x5e06a7=lt(),_0x2e8721=ft(),{isBlob:_0x353fb6}=ae(),{BINARY_TYPES:_0x540ac7,EMPTY_BUFFER:_0x3adb16,GUID:_0x1b36aa,kForOnEventAttribute:_0x207512,kListener:_0xa28a6c,kStatusCode:_0x2de6e4,kWebSocket:_0x27116c,NOOP:_0x50d467}=H(),{EventTarget:{addEventListener:_0x9baa6a,removeEventListener:_0x579d3a}}=It(),{format:_0x2398bd,parse:_0x2c57b2}=ct(),{toBuffer:_0x3e7002}=ce(),_0x3836f8=0x1e*0x3e8,_0x39242=Symbol('kAborted'),_0x3ba36f=[0x8,0xd],_0x4ce8af=[_0x597c49(0x2d4),_0x597c49(0x25b),_0x597c49(0x3ae),_0x597c49(0x24e)],_0x298e30=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xa37451 extends _0x5cd763{constructor(_0x287859,_0x2aa84a,_0x235af7){const _0x16fd07=_0x597c49;super(),this[_0x16fd07(0x224)]=_0x540ac7[0x0],this[_0x16fd07(0x2fa)]=0x3ee,this[_0x16fd07(0x2f5)]=!0x1,this[_0x16fd07(0x2b1)]=!0x1,this[_0x16fd07(0x270)]=_0x3adb16,this[_0x16fd07(0x379)]=null,this[_0x16fd07(0x215)]=!0x1,this[_0x16fd07(0x2f0)]={},this['_paused']=!0x1,this[_0x16fd07(0x245)]='',this[_0x16fd07(0x225)]=_0xa37451[_0x16fd07(0x2d4)],this[_0x16fd07(0x210)]=null,this['_sender']=null,this[_0x16fd07(0x39e)]=null,_0x287859!==null?(this[_0x16fd07(0x2af)]=0x0,this[_0x16fd07(0x257)]=!0x1,this[_0x16fd07(0x2a1)]=0x0,_0x2aa84a===void 0x0?_0x2aa84a=[]:Array['isArray'](_0x2aa84a)||(typeof _0x2aa84a==_0x16fd07(0x344)&&_0x2aa84a!==null?(_0x235af7=_0x2aa84a,_0x2aa84a=[]):_0x2aa84a=[_0x2aa84a]),_0x1bbf30(this,_0x287859,_0x2aa84a,_0x235af7)):(this[_0x16fd07(0x39b)]=_0x235af7[_0x16fd07(0x243)],this['_isServer']=!0x0);}get[_0x597c49(0x26a)](){const _0x573475=_0x597c49;return this[_0x573475(0x224)];}set['binaryType'](_0x313b4f){const _0x39db2e=_0x597c49;_0x540ac7[_0x39db2e(0x22d)](_0x313b4f)&&(this[_0x39db2e(0x224)]=_0x313b4f,this[_0x39db2e(0x210)]&&(this[_0x39db2e(0x210)][_0x39db2e(0x224)]=_0x313b4f));}get[_0x597c49(0x27a)](){const _0x39dfd6=_0x597c49;return this[_0x39dfd6(0x39e)]?this[_0x39dfd6(0x39e)]['_writableState'][_0x39dfd6(0x22e)]+this['_sender'][_0x39dfd6(0x25d)]:this[_0x39dfd6(0x2af)];}get[_0x597c49(0x362)](){const _0x5bfdd9=_0x597c49;return Object['keys'](this[_0x5bfdd9(0x2f0)])[_0x5bfdd9(0x209)]();}get['isPaused'](){const _0x85da6f=_0x597c49;return this[_0x85da6f(0x2a8)];}get['onclose'](){return null;}get['onerror'](){return null;}get[_0x597c49(0x2eb)](){return null;}get[_0x597c49(0x2a7)](){return null;}get[_0x597c49(0x2b5)](){const _0x436adb=_0x597c49;return this[_0x436adb(0x245)];}get[_0x597c49(0x23d)](){return this['_readyState'];}get[_0x597c49(0x302)](){const _0x4d9b38=_0x597c49;return this[_0x4d9b38(0x2e6)];}['setSocket'](_0x481817,_0x3b3d3b,_0x3c8099){const _0x15cfc5=_0x597c49,_0x1f12ea=new _0x5e06a7({'allowSynchronousEvents':_0x3c8099[_0x15cfc5(0x2ce)],'binaryType':this[_0x15cfc5(0x26a)],'extensions':this['_extensions'],'isServer':this[_0x15cfc5(0x257)],'maxPayload':_0x3c8099[_0x15cfc5(0x28c)],'skipUTF8Validation':_0x3c8099[_0x15cfc5(0x27f)]}),_0x2df262=new _0x2e8721(_0x481817,this[_0x15cfc5(0x2f0)],_0x3c8099[_0x15cfc5(0x38f)]);this[_0x15cfc5(0x210)]=_0x1f12ea,this[_0x15cfc5(0x216)]=_0x2df262,this[_0x15cfc5(0x39e)]=_0x481817,_0x1f12ea[_0x27116c]=this,_0x2df262[_0x27116c]=this,_0x481817[_0x27116c]=this,_0x1f12ea['on']('conclude',_0x38ba1e),_0x1f12ea['on'](_0x15cfc5(0x296),_0x530d9e),_0x1f12ea['on'](_0x15cfc5(0x229),_0x4c878a),_0x1f12ea['on'](_0x15cfc5(0x24f),_0x3b2a32),_0x1f12ea['on'](_0x15cfc5(0x2c7),_0x3ad7c4),_0x1f12ea['on']('pong',_0x129585),_0x2df262[_0x15cfc5(0x211)]=_0x4e09b7,_0x481817[_0x15cfc5(0x262)]&&_0x481817['setTimeout'](0x0),_0x481817['setNoDelay']&&_0x481817[_0x15cfc5(0x24c)](),_0x3b3d3b['length']>0x0&&_0x481817['unshift'](_0x3b3d3b),_0x481817['on']('close',_0x104cf5),_0x481817['on'](_0x15cfc5(0x2bb),_0x1da80b),_0x481817['on'](_0x15cfc5(0x329),_0x4ed4a5),_0x481817['on'](_0x15cfc5(0x229),_0x2d8c6b),this[_0x15cfc5(0x225)]=_0xa37451[_0x15cfc5(0x25b)],this['emit'](_0x15cfc5(0x248));}[_0x597c49(0x30e)](){const _0x496b47=_0x597c49;if(!this[_0x496b47(0x39e)]){this[_0x496b47(0x225)]=_0xa37451['CLOSED'],this['emit']('close',this['_closeCode'],this[_0x496b47(0x270)]);return;}this['_extensions'][_0x3b453f['extensionName']]&&this[_0x496b47(0x2f0)][_0x3b453f[_0x496b47(0x330)]][_0x496b47(0x342)](),this[_0x496b47(0x210)]['removeAllListeners'](),this[_0x496b47(0x225)]=_0xa37451['CLOSED'],this['emit'](_0x496b47(0x29c),this[_0x496b47(0x2fa)],this['_closeMessage']);}[_0x597c49(0x29c)](_0x32b9d8,_0x41934c){const _0x260cb6=_0x597c49;if(this['readyState']!==_0xa37451['CLOSED']){if(this[_0x260cb6(0x23d)]===_0xa37451[_0x260cb6(0x2d4)]){_0x47c67d(this,this['_req'],_0x260cb6(0x393));return;}if(this['readyState']===_0xa37451[_0x260cb6(0x3ae)]){this[_0x260cb6(0x2b1)]&&(this[_0x260cb6(0x2f5)]||this[_0x260cb6(0x210)]['_writableState'][_0x260cb6(0x370)])&&this[_0x260cb6(0x39e)][_0x260cb6(0x329)]();return;}this[_0x260cb6(0x225)]=_0xa37451[_0x260cb6(0x3ae)],this[_0x260cb6(0x216)][_0x260cb6(0x29c)](_0x32b9d8,_0x41934c,!this[_0x260cb6(0x257)],_0x2ab017=>{const _0x2e7108=_0x260cb6;_0x2ab017||(this['_closeFrameSent']=!0x0,(this[_0x2e7108(0x2f5)]||this[_0x2e7108(0x210)][_0x2e7108(0x2aa)][_0x2e7108(0x370)])&&this[_0x2e7108(0x39e)][_0x2e7108(0x329)]());}),_0x5d6924(this);}}[_0x597c49(0x380)](){const _0x1a735a=_0x597c49;this[_0x1a735a(0x23d)]===_0xa37451[_0x1a735a(0x2d4)]||this['readyState']===_0xa37451['CLOSED']||(this[_0x1a735a(0x2a8)]=!0x0,this[_0x1a735a(0x39e)][_0x1a735a(0x380)]());}[_0x597c49(0x2c7)](_0x16bd34,_0x27d88b,_0x4c4a58){const _0x273743=_0x597c49;if(this[_0x273743(0x23d)]===_0xa37451[_0x273743(0x2d4)])throw new Error(_0x273743(0x355));if(typeof _0x16bd34==_0x273743(0x39d)?(_0x4c4a58=_0x16bd34,_0x16bd34=_0x27d88b=void 0x0):typeof _0x27d88b=='function'&&(_0x4c4a58=_0x27d88b,_0x27d88b=void 0x0),typeof _0x16bd34==_0x273743(0x371)&&(_0x16bd34=_0x16bd34['toString']()),this['readyState']!==_0xa37451['OPEN']){_0x41cb29(this,_0x16bd34,_0x4c4a58);return;}_0x27d88b===void 0x0&&(_0x27d88b=!this[_0x273743(0x257)]),this[_0x273743(0x216)][_0x273743(0x2c7)](_0x16bd34||_0x3adb16,_0x27d88b,_0x4c4a58);}[_0x597c49(0x372)](_0x4e603a,_0x14e908,_0x2826a9){const _0x4a3151=_0x597c49;if(this['readyState']===_0xa37451[_0x4a3151(0x2d4)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x4e603a==_0x4a3151(0x39d)?(_0x2826a9=_0x4e603a,_0x4e603a=_0x14e908=void 0x0):typeof _0x14e908=='function'&&(_0x2826a9=_0x14e908,_0x14e908=void 0x0),typeof _0x4e603a=='number'&&(_0x4e603a=_0x4e603a['toString']()),this[_0x4a3151(0x23d)]!==_0xa37451['OPEN']){_0x41cb29(this,_0x4e603a,_0x2826a9);return;}_0x14e908===void 0x0&&(_0x14e908=!this[_0x4a3151(0x257)]),this['_sender']['pong'](_0x4e603a||_0x3adb16,_0x14e908,_0x2826a9);}['resume'](){const _0x181530=_0x597c49;this[_0x181530(0x23d)]===_0xa37451[_0x181530(0x2d4)]||this['readyState']===_0xa37451[_0x181530(0x24e)]||(this[_0x181530(0x2a8)]=!0x1,this[_0x181530(0x210)][_0x181530(0x2aa)]['needDrain']||this[_0x181530(0x39e)]['resume']());}['send'](_0x837194,_0x2e60ad,_0x4f43e6){const _0x1a7351=_0x597c49;if(this['readyState']===_0xa37451[_0x1a7351(0x2d4)])throw new Error(_0x1a7351(0x355));if(typeof _0x2e60ad==_0x1a7351(0x39d)&&(_0x4f43e6=_0x2e60ad,_0x2e60ad={}),typeof _0x837194=='number'&&(_0x837194=_0x837194[_0x1a7351(0x284)]()),this[_0x1a7351(0x23d)]!==_0xa37451['OPEN']){_0x41cb29(this,_0x837194,_0x4f43e6);return;}const _0x39ff02={'binary':typeof _0x837194!=_0x1a7351(0x318),'mask':!this[_0x1a7351(0x257)],'compress':!0x0,'fin':!0x0,..._0x2e60ad};this[_0x1a7351(0x2f0)][_0x3b453f[_0x1a7351(0x330)]]||(_0x39ff02[_0x1a7351(0x2fd)]=!0x1),this[_0x1a7351(0x216)][_0x1a7351(0x236)](_0x837194||_0x3adb16,_0x39ff02,_0x4f43e6);}[_0x597c49(0x349)](){const _0x5b613a=_0x597c49;if(this['readyState']!==_0xa37451[_0x5b613a(0x24e)]){if(this[_0x5b613a(0x23d)]===_0xa37451['CONNECTING']){_0x47c67d(this,this[_0x5b613a(0x2d1)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this['_socket']&&(this[_0x5b613a(0x225)]=_0xa37451['CLOSING'],this[_0x5b613a(0x39e)][_0x5b613a(0x275)]());}}}Object[_0x597c49(0x21d)](_0xa37451,'CONNECTING',{'enumerable':!0x0,'value':_0x4ce8af[_0x597c49(0x1fa)](_0x597c49(0x2d4))}),Object[_0x597c49(0x21d)](_0xa37451[_0x597c49(0x20f)],_0x597c49(0x2d4),{'enumerable':!0x0,'value':_0x4ce8af['indexOf'](_0x597c49(0x2d4))}),Object[_0x597c49(0x21d)](_0xa37451,_0x597c49(0x25b),{'enumerable':!0x0,'value':_0x4ce8af[_0x597c49(0x1fa)](_0x597c49(0x25b))}),Object[_0x597c49(0x21d)](_0xa37451['prototype'],'OPEN',{'enumerable':!0x0,'value':_0x4ce8af[_0x597c49(0x1fa)](_0x597c49(0x25b))}),Object[_0x597c49(0x21d)](_0xa37451,_0x597c49(0x3ae),{'enumerable':!0x0,'value':_0x4ce8af[_0x597c49(0x1fa)](_0x597c49(0x3ae))}),Object[_0x597c49(0x21d)](_0xa37451[_0x597c49(0x20f)],_0x597c49(0x3ae),{'enumerable':!0x0,'value':_0x4ce8af[_0x597c49(0x1fa)]('CLOSING')}),Object[_0x597c49(0x21d)](_0xa37451,_0x597c49(0x24e),{'enumerable':!0x0,'value':_0x4ce8af[_0x597c49(0x1fa)]('CLOSED')}),Object['defineProperty'](_0xa37451[_0x597c49(0x20f)],_0x597c49(0x24e),{'enumerable':!0x0,'value':_0x4ce8af[_0x597c49(0x1fa)](_0x597c49(0x24e))}),['binaryType',_0x597c49(0x27a),_0x597c49(0x362),_0x597c49(0x204),'protocol',_0x597c49(0x23d),_0x597c49(0x302)][_0x597c49(0x367)](_0x42c264=>{const _0xa94b7a=_0x597c49;Object[_0xa94b7a(0x21d)](_0xa37451[_0xa94b7a(0x20f)],_0x42c264,{'enumerable':!0x0});}),[_0x597c49(0x248),_0x597c49(0x229),_0x597c49(0x29c),_0x597c49(0x24f)]['forEach'](_0x59676c=>{const _0x53663d=_0x597c49;Object[_0x53663d(0x21d)](_0xa37451[_0x53663d(0x20f)],'on'+_0x59676c,{'enumerable':!0x0,'get'(){const _0x2f91c1=_0x53663d;for(const _0x3d162c of this[_0x2f91c1(0x2a4)](_0x59676c))if(_0x3d162c[_0x207512])return _0x3d162c[_0xa28a6c];return null;},'set'(_0x497ad8){const _0x37acc6=_0x53663d;for(const _0x3f565c of this[_0x37acc6(0x2a4)](_0x59676c))if(_0x3f565c[_0x207512]){this[_0x37acc6(0x28f)](_0x59676c,_0x3f565c);break;}typeof _0x497ad8=='function'&&this[_0x37acc6(0x3a6)](_0x59676c,_0x497ad8,{[_0x207512]:!0x0});}});}),_0xa37451[_0x597c49(0x20f)][_0x597c49(0x3a6)]=_0x9baa6a,_0xa37451[_0x597c49(0x20f)][_0x597c49(0x347)]=_0x579d3a,we=_0xa37451;function _0x1bbf30(_0x1b6271,_0x258cad,_0x1401b2,_0x2cc3c3){const _0x17b3e5=_0x597c49,_0xbe8e13={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3ba36f[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2cc3c3,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x17b3e5(0x360),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x1b6271[_0x17b3e5(0x39b)]=_0xbe8e13[_0x17b3e5(0x243)],!_0x3ba36f[_0x17b3e5(0x22d)](_0xbe8e13[_0x17b3e5(0x287)]))throw new RangeError(_0x17b3e5(0x1fe)+_0xbe8e13['protocolVersion']+_0x17b3e5(0x250)+_0x3ba36f['join'](',\x20')+')');let _0x471893;if(_0x258cad instanceof _0x142c72)_0x471893=_0x258cad;else try{_0x471893=new _0x142c72(_0x258cad);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x258cad);}_0x471893[_0x17b3e5(0x2b5)]===_0x17b3e5(0x23f)?_0x471893[_0x17b3e5(0x2b5)]=_0x17b3e5(0x2c3):_0x471893[_0x17b3e5(0x2b5)]==='https:'&&(_0x471893[_0x17b3e5(0x2b5)]=_0x17b3e5(0x26b)),_0x1b6271[_0x17b3e5(0x2e6)]=_0x471893[_0x17b3e5(0x2f1)];const _0x3fde53=_0x471893[_0x17b3e5(0x2b5)]==='wss:',_0x4749d0=_0x471893[_0x17b3e5(0x2b5)]===_0x17b3e5(0x234);let _0x4a63a2;if(_0x471893[_0x17b3e5(0x2b5)]!==_0x17b3e5(0x2c3)&&!_0x3fde53&&!_0x4749d0?_0x4a63a2=_0x17b3e5(0x2c2):_0x4749d0&&!_0x471893[_0x17b3e5(0x383)]?_0x4a63a2=_0x17b3e5(0x304):_0x471893[_0x17b3e5(0x391)]&&(_0x4a63a2=_0x17b3e5(0x23a)),_0x4a63a2){const _0x4037f6=new SyntaxError(_0x4a63a2);if(_0x1b6271[_0x17b3e5(0x2a1)]===0x0)throw _0x4037f6;_0x2653f4(_0x1b6271,_0x4037f6);return;}const _0x4e3fa6=_0x3fde53?0x1bb:0x50,_0x1bd313=_0x21155c(0x10)[_0x17b3e5(0x284)](_0x17b3e5(0x26d)),_0x4f07a7=_0x3fde53?_0x2536fa[_0x17b3e5(0x265)]:_0x57540c[_0x17b3e5(0x265)],_0x16a18d=new Set();let _0x104274;if(_0xbe8e13[_0x17b3e5(0x325)]=_0xbe8e13['createConnection']||(_0x3fde53?_0xb13349:_0x5ebce1),_0xbe8e13['defaultPort']=_0xbe8e13['defaultPort']||_0x4e3fa6,_0xbe8e13[_0x17b3e5(0x207)]=_0x471893['port']||_0x4e3fa6,_0xbe8e13[_0x17b3e5(0x340)]=_0x471893[_0x17b3e5(0x23b)][_0x17b3e5(0x2e4)]('[')?_0x471893[_0x17b3e5(0x23b)]['slice'](0x1,-0x1):_0x471893[_0x17b3e5(0x23b)],_0xbe8e13['headers']={..._0xbe8e13[_0x17b3e5(0x1f8)],'Sec-WebSocket-Version':_0xbe8e13[_0x17b3e5(0x287)],'Sec-WebSocket-Key':_0x1bd313,'Connection':'Upgrade','Upgrade':_0x17b3e5(0x1f3)},_0xbe8e13[_0x17b3e5(0x20d)]=_0x471893[_0x17b3e5(0x383)]+_0x471893['search'],_0xbe8e13[_0x17b3e5(0x1f9)]=_0xbe8e13[_0x17b3e5(0x303)],_0xbe8e13[_0x17b3e5(0x37d)]&&(_0x104274=new _0x3b453f(_0xbe8e13[_0x17b3e5(0x37d)]!==!0x0?_0xbe8e13[_0x17b3e5(0x37d)]:{},!0x1,_0xbe8e13[_0x17b3e5(0x28c)]),_0xbe8e13['headers'][_0x17b3e5(0x323)]=_0x2398bd({[_0x3b453f[_0x17b3e5(0x330)]]:_0x104274['offer']()})),_0x1401b2[_0x17b3e5(0x22e)]){for(const _0x30ceb2 of _0x1401b2){if(typeof _0x30ceb2!='string'||!_0x298e30[_0x17b3e5(0x1f2)](_0x30ceb2)||_0x16a18d[_0x17b3e5(0x381)](_0x30ceb2))throw new SyntaxError(_0x17b3e5(0x327));_0x16a18d[_0x17b3e5(0x35f)](_0x30ceb2);}_0xbe8e13[_0x17b3e5(0x1f8)][_0x17b3e5(0x36b)]=_0x1401b2[_0x17b3e5(0x209)](',');}if(_0xbe8e13[_0x17b3e5(0x226)]&&(_0xbe8e13[_0x17b3e5(0x287)]<0xd?_0xbe8e13[_0x17b3e5(0x1f8)][_0x17b3e5(0x361)]=_0xbe8e13[_0x17b3e5(0x226)]:_0xbe8e13[_0x17b3e5(0x1f8)][_0x17b3e5(0x389)]=_0xbe8e13['origin']),(_0x471893[_0x17b3e5(0x38d)]||_0x471893[_0x17b3e5(0x259)])&&(_0xbe8e13[_0x17b3e5(0x2ab)]=_0x471893[_0x17b3e5(0x38d)]+':'+_0x471893[_0x17b3e5(0x259)]),_0x4749d0){const _0x367b46=_0xbe8e13[_0x17b3e5(0x20d)][_0x17b3e5(0x1ff)](':');_0xbe8e13[_0x17b3e5(0x375)]=_0x367b46[0x0],_0xbe8e13['path']=_0x367b46[0x1];}let _0xaf393c;if(_0xbe8e13[_0x17b3e5(0x21e)]){if(_0x1b6271['_redirects']===0x0){_0x1b6271['_originalIpc']=_0x4749d0,_0x1b6271[_0x17b3e5(0x2c0)]=_0x3fde53,_0x1b6271[_0x17b3e5(0x366)]=_0x4749d0?_0xbe8e13['socketPath']:_0x471893[_0x17b3e5(0x340)];const _0x15029f=_0x2cc3c3&&_0x2cc3c3[_0x17b3e5(0x1f8)];if(_0x2cc3c3={..._0x2cc3c3,'headers':{}},_0x15029f){for(const [_0x3920ae,_0xe4359e]of Object['entries'](_0x15029f))_0x2cc3c3['headers'][_0x3920ae['toLowerCase']()]=_0xe4359e;}}else{if(_0x1b6271['listenerCount'](_0x17b3e5(0x221))===0x0){const _0x26ac2e=_0x4749d0?_0x1b6271[_0x17b3e5(0x205)]?_0xbe8e13[_0x17b3e5(0x375)]===_0x1b6271[_0x17b3e5(0x366)]:!0x1:_0x1b6271[_0x17b3e5(0x205)]?!0x1:_0x471893[_0x17b3e5(0x340)]===_0x1b6271[_0x17b3e5(0x366)];(!_0x26ac2e||_0x1b6271[_0x17b3e5(0x2c0)]&&!_0x3fde53)&&(delete _0xbe8e13['headers'][_0x17b3e5(0x345)],delete _0xbe8e13['headers'][_0x17b3e5(0x35b)],_0x26ac2e||delete _0xbe8e13[_0x17b3e5(0x1f8)][_0x17b3e5(0x340)],_0xbe8e13['auth']=void 0x0);}}_0xbe8e13['auth']&&!_0x2cc3c3[_0x17b3e5(0x1f8)][_0x17b3e5(0x345)]&&(_0x2cc3c3[_0x17b3e5(0x1f8)][_0x17b3e5(0x345)]=_0x17b3e5(0x357)+Buffer[_0x17b3e5(0x2fe)](_0xbe8e13[_0x17b3e5(0x2ab)])[_0x17b3e5(0x284)]('base64')),_0xaf393c=_0x1b6271[_0x17b3e5(0x2d1)]=_0x4f07a7(_0xbe8e13),_0x1b6271[_0x17b3e5(0x2a1)]&&_0x1b6271[_0x17b3e5(0x3a9)](_0x17b3e5(0x221),_0x1b6271[_0x17b3e5(0x302)],_0xaf393c);}else _0xaf393c=_0x1b6271[_0x17b3e5(0x2d1)]=_0x4f07a7(_0xbe8e13);_0xbe8e13['timeout']&&_0xaf393c['on'](_0x17b3e5(0x1f9),()=>{const _0xb4b5d8=_0x17b3e5;_0x47c67d(_0x1b6271,_0xaf393c,_0xb4b5d8(0x39c));}),_0xaf393c['on'](_0x17b3e5(0x229),_0x50c0bd=>{const _0x5dff67=_0x17b3e5;_0xaf393c===null||_0xaf393c[_0x39242]||(_0xaf393c=_0x1b6271[_0x5dff67(0x2d1)]=null,_0x2653f4(_0x1b6271,_0x50c0bd));}),_0xaf393c['on'](_0x17b3e5(0x274),_0x13bac2=>{const _0x3db872=_0x17b3e5,_0x3211cf=_0x13bac2[_0x3db872(0x1f8)][_0x3db872(0x387)],_0x46becc=_0x13bac2[_0x3db872(0x2d6)];if(_0x3211cf&&_0xbe8e13[_0x3db872(0x21e)]&&_0x46becc>=0x12c&&_0x46becc<0x190){if(++_0x1b6271['_redirects']>_0xbe8e13[_0x3db872(0x2b6)]){_0x47c67d(_0x1b6271,_0xaf393c,_0x3db872(0x239));return;}_0xaf393c['abort']();let _0x1649f6;try{_0x1649f6=new _0x142c72(_0x3211cf,_0x258cad);}catch{const _0x44f2d0=new SyntaxError(_0x3db872(0x2da)+_0x3211cf);_0x2653f4(_0x1b6271,_0x44f2d0);return;}_0x1bbf30(_0x1b6271,_0x1649f6,_0x1401b2,_0x2cc3c3);}else _0x1b6271[_0x3db872(0x3a9)](_0x3db872(0x374),_0xaf393c,_0x13bac2)||_0x47c67d(_0x1b6271,_0xaf393c,_0x3db872(0x37c)+_0x13bac2[_0x3db872(0x2d6)]);}),_0xaf393c['on']('upgrade',(_0x2a1b94,_0x2726ca,_0x42dcae)=>{const _0x519fc8=_0x17b3e5;if(_0x1b6271[_0x519fc8(0x3a9)]('upgrade',_0x2a1b94),_0x1b6271['readyState']!==_0xa37451[_0x519fc8(0x2d4)])return;_0xaf393c=_0x1b6271[_0x519fc8(0x2d1)]=null;const _0x5b07ef=_0x2a1b94[_0x519fc8(0x1f8)][_0x519fc8(0x341)];if(_0x5b07ef===void 0x0||_0x5b07ef[_0x519fc8(0x322)]()!==_0x519fc8(0x1f3)){_0x47c67d(_0x1b6271,_0x2726ca,_0x519fc8(0x2cd));return;}const _0x119077=_0x2586cf(_0x519fc8(0x203))[_0x519fc8(0x316)](_0x1bd313+_0x1b36aa)[_0x519fc8(0x22f)]('base64');if(_0x2a1b94[_0x519fc8(0x1f8)][_0x519fc8(0x282)]!==_0x119077){_0x47c67d(_0x1b6271,_0x2726ca,_0x519fc8(0x37b));return;}const _0x44dff0=_0x2a1b94[_0x519fc8(0x1f8)][_0x519fc8(0x351)];let _0x24ff70;if(_0x44dff0!==void 0x0?_0x16a18d[_0x519fc8(0x252)]?_0x16a18d[_0x519fc8(0x381)](_0x44dff0)||(_0x24ff70=_0x519fc8(0x3a3)):_0x24ff70='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x16a18d['size']&&(_0x24ff70='Server\x20sent\x20no\x20subprotocol'),_0x24ff70){_0x47c67d(_0x1b6271,_0x2726ca,_0x24ff70);return;}_0x44dff0&&(_0x1b6271[_0x519fc8(0x245)]=_0x44dff0);const _0x134c38=_0x2a1b94[_0x519fc8(0x1f8)][_0x519fc8(0x241)];if(_0x134c38!==void 0x0){if(!_0x104274){_0x47c67d(_0x1b6271,_0x2726ca,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x148ff8;try{_0x148ff8=_0x2c57b2(_0x134c38);}catch{_0x47c67d(_0x1b6271,_0x2726ca,_0x519fc8(0x38b));return;}const _0xfdf362=Object[_0x519fc8(0x1f6)](_0x148ff8);if(_0xfdf362[_0x519fc8(0x22e)]!==0x1||_0xfdf362[0x0]!==_0x3b453f[_0x519fc8(0x330)]){_0x47c67d(_0x1b6271,_0x2726ca,_0x519fc8(0x2c6));return;}try{_0x104274[_0x519fc8(0x395)](_0x148ff8[_0x3b453f[_0x519fc8(0x330)]]);}catch{_0x47c67d(_0x1b6271,_0x2726ca,_0x519fc8(0x38b));return;}_0x1b6271[_0x519fc8(0x2f0)][_0x3b453f[_0x519fc8(0x330)]]=_0x104274;}_0x1b6271[_0x519fc8(0x35c)](_0x2726ca,_0x42dcae,{'allowSynchronousEvents':_0xbe8e13['allowSynchronousEvents'],'generateMask':_0xbe8e13[_0x519fc8(0x38f)],'maxPayload':_0xbe8e13[_0x519fc8(0x28c)],'skipUTF8Validation':_0xbe8e13[_0x519fc8(0x27f)]});}),_0xbe8e13[_0x17b3e5(0x2ad)]?_0xbe8e13['finishRequest'](_0xaf393c,_0x1b6271):_0xaf393c[_0x17b3e5(0x329)]();}function _0x2653f4(_0x54aeec,_0x555b17){const _0xb00af4=_0x597c49;_0x54aeec[_0xb00af4(0x225)]=_0xa37451['CLOSING'],_0x54aeec[_0xb00af4(0x215)]=!0x0,_0x54aeec[_0xb00af4(0x3a9)](_0xb00af4(0x229),_0x555b17),_0x54aeec[_0xb00af4(0x30e)]();}function _0x5ebce1(_0xd88f3b){const _0x1db53e=_0x597c49;return _0xd88f3b[_0x1db53e(0x20d)]=_0xd88f3b[_0x1db53e(0x375)],_0x558160[_0x1db53e(0x295)](_0xd88f3b);}function _0xb13349(_0x4a69f9){const _0x364f01=_0x597c49;return _0x4a69f9[_0x364f01(0x20d)]=void 0x0,!_0x4a69f9[_0x364f01(0x359)]&&_0x4a69f9['servername']!==''&&(_0x4a69f9[_0x364f01(0x359)]=_0x558160[_0x364f01(0x33f)](_0x4a69f9[_0x364f01(0x340)])?'':_0x4a69f9[_0x364f01(0x340)]),_0x599164[_0x364f01(0x295)](_0x4a69f9);}function _0x47c67d(_0x2be1e3,_0x13776e,_0x2a0041){const _0x2226c8=_0x597c49;_0x2be1e3[_0x2226c8(0x225)]=_0xa37451[_0x2226c8(0x3ae)];const _0x22fbe1=new Error(_0x2a0041);Error[_0x2226c8(0x310)](_0x22fbe1,_0x47c67d),_0x13776e['setHeader']?(_0x13776e[_0x39242]=!0x0,_0x13776e[_0x2226c8(0x2ef)](),_0x13776e['socket']&&!_0x13776e[_0x2226c8(0x290)][_0x2226c8(0x382)]&&_0x13776e[_0x2226c8(0x290)][_0x2226c8(0x275)](),process['nextTick'](_0x2653f4,_0x2be1e3,_0x22fbe1)):(_0x13776e[_0x2226c8(0x275)](_0x22fbe1),_0x13776e[_0x2226c8(0x24b)](_0x2226c8(0x229),_0x2be1e3[_0x2226c8(0x3a9)][_0x2226c8(0x256)](_0x2be1e3,_0x2226c8(0x229))),_0x13776e[_0x2226c8(0x24b)](_0x2226c8(0x29c),_0x2be1e3[_0x2226c8(0x30e)][_0x2226c8(0x256)](_0x2be1e3)));}function _0x41cb29(_0x1b86c7,_0x29360b,_0x100570){const _0x389661=_0x597c49;if(_0x29360b){const _0x210b57=_0x353fb6(_0x29360b)?_0x29360b[_0x389661(0x252)]:_0x3e7002(_0x29360b)[_0x389661(0x22e)];_0x1b86c7[_0x389661(0x39e)]?_0x1b86c7[_0x389661(0x216)][_0x389661(0x25d)]+=_0x210b57:_0x1b86c7[_0x389661(0x2af)]+=_0x210b57;}if(_0x100570){const _0x409ff6=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x1b86c7[_0x389661(0x23d)]+'\x20('+_0x4ce8af[_0x1b86c7[_0x389661(0x23d)]]+')');process['nextTick'](_0x100570,_0x409ff6);}}function _0x38ba1e(_0x2e5769,_0x58b100){const _0x3c5683=_0x597c49,_0xc7addb=this[_0x27116c];_0xc7addb[_0x3c5683(0x2f5)]=!0x0,_0xc7addb[_0x3c5683(0x270)]=_0x58b100,_0xc7addb['_closeCode']=_0x2e5769,_0xc7addb['_socket'][_0x27116c]!==void 0x0&&(_0xc7addb[_0x3c5683(0x39e)][_0x3c5683(0x28f)](_0x3c5683(0x2bb),_0x1da80b),process[_0x3c5683(0x38e)](_0x75bd06,_0xc7addb[_0x3c5683(0x39e)]),_0x2e5769===0x3ed?_0xc7addb['close']():_0xc7addb[_0x3c5683(0x29c)](_0x2e5769,_0x58b100));}function _0x530d9e(){const _0x5286c7=_0x597c49,_0x22eba1=this[_0x27116c];_0x22eba1[_0x5286c7(0x204)]||_0x22eba1[_0x5286c7(0x39e)]['resume']();}function _0x4c878a(_0x5d9d03){const _0x379eaf=_0x597c49,_0x100983=this[_0x27116c];_0x100983[_0x379eaf(0x39e)][_0x27116c]!==void 0x0&&(_0x100983['_socket'][_0x379eaf(0x28f)](_0x379eaf(0x2bb),_0x1da80b),process[_0x379eaf(0x38e)](_0x75bd06,_0x100983[_0x379eaf(0x39e)]),_0x100983['close'](_0x5d9d03[_0x2de6e4])),_0x100983[_0x379eaf(0x215)]||(_0x100983['_errorEmitted']=!0x0,_0x100983['emit'](_0x379eaf(0x229),_0x5d9d03));}function _0x2b4399(){const _0x151761=_0x597c49;this[_0x27116c][_0x151761(0x30e)]();}function _0x3b2a32(_0x2e6feb,_0x248d98){const _0x34e90f=_0x597c49;this[_0x27116c][_0x34e90f(0x3a9)](_0x34e90f(0x24f),_0x2e6feb,_0x248d98);}function _0x3ad7c4(_0x4aa49b){const _0x501a74=_0x597c49,_0x2e949e=this[_0x27116c];_0x2e949e['_autoPong']&&_0x2e949e['pong'](_0x4aa49b,!this['_isServer'],_0x50d467),_0x2e949e[_0x501a74(0x3a9)](_0x501a74(0x2c7),_0x4aa49b);}function _0x129585(_0x16de8a){const _0x513e01=_0x597c49;this[_0x27116c][_0x513e01(0x3a9)]('pong',_0x16de8a);}function _0x75bd06(_0x3b858a){const _0x3b5fd7=_0x597c49;_0x3b858a[_0x3b5fd7(0x2bc)]();}function _0x4e09b7(_0x347a32){const _0x277830=_0x597c49,_0x8fe8d2=this[_0x27116c];_0x8fe8d2[_0x277830(0x23d)]!==_0xa37451[_0x277830(0x24e)]&&(_0x8fe8d2['readyState']===_0xa37451[_0x277830(0x25b)]&&(_0x8fe8d2['_readyState']=_0xa37451[_0x277830(0x3ae)],_0x5d6924(_0x8fe8d2)),this[_0x277830(0x39e)]['end'](),_0x8fe8d2['_errorEmitted']||(_0x8fe8d2[_0x277830(0x215)]=!0x0,_0x8fe8d2[_0x277830(0x3a9)](_0x277830(0x229),_0x347a32)));}function _0x5d6924(_0x5cdb8e){const _0x101861=_0x597c49;_0x5cdb8e['_closeTimer']=setTimeout(_0x5cdb8e[_0x101861(0x39e)][_0x101861(0x275)][_0x101861(0x256)](_0x5cdb8e[_0x101861(0x39e)]),_0x3836f8);}function _0x104cf5(){const _0xf60b9d=_0x597c49,_0x61de86=this[_0x27116c];this[_0xf60b9d(0x28f)](_0xf60b9d(0x29c),_0x104cf5),this['removeListener'](_0xf60b9d(0x2bb),_0x1da80b),this[_0xf60b9d(0x28f)]('end',_0x4ed4a5),_0x61de86[_0xf60b9d(0x225)]=_0xa37451[_0xf60b9d(0x3ae)];let _0x1ad4e3;!this['_readableState'][_0xf60b9d(0x2ca)]&&!_0x61de86[_0xf60b9d(0x2f5)]&&!_0x61de86[_0xf60b9d(0x210)][_0xf60b9d(0x2aa)][_0xf60b9d(0x370)]&&(_0x1ad4e3=_0x61de86[_0xf60b9d(0x39e)][_0xf60b9d(0x200)]())!==null&&_0x61de86[_0xf60b9d(0x210)]['write'](_0x1ad4e3),_0x61de86[_0xf60b9d(0x210)][_0xf60b9d(0x329)](),this[_0x27116c]=void 0x0,clearTimeout(_0x61de86['_closeTimer']),_0x61de86[_0xf60b9d(0x210)][_0xf60b9d(0x2aa)][_0xf60b9d(0x2b3)]||_0x61de86['_receiver'][_0xf60b9d(0x2aa)][_0xf60b9d(0x370)]?_0x61de86['emitClose']():(_0x61de86[_0xf60b9d(0x210)]['on']('error',_0x2b4399),_0x61de86[_0xf60b9d(0x210)]['on'](_0xf60b9d(0x227),_0x2b4399));}function _0x1da80b(_0x293651){const _0x1615c1=_0x597c49;this[_0x27116c][_0x1615c1(0x210)][_0x1615c1(0x2f2)](_0x293651)||this[_0x1615c1(0x380)]();}function _0x4ed4a5(){const _0x28f1f9=_0x597c49,_0x5798d0=this[_0x27116c];_0x5798d0[_0x28f1f9(0x225)]=_0xa37451[_0x28f1f9(0x3ae)],_0x5798d0['_receiver']['end'](),this[_0x28f1f9(0x329)]();}function _0x2d8c6b(){const _0x467d20=_0x597c49,_0x37759d=this[_0x27116c];this['removeListener'](_0x467d20(0x229),_0x2d8c6b),this['on']('error',_0x50d467),_0x37759d&&(_0x37759d[_0x467d20(0x225)]=_0xa37451[_0x467d20(0x3ae)],this[_0x467d20(0x275)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x33d8ca}=oe;function _0x430241(_0x5b016f){const _0x2ccceb=_0x3708;_0x5b016f[_0x2ccceb(0x3a9)](_0x2ccceb(0x29c));}function _0x25161b(){const _0x139354=_0x3708;!this[_0x139354(0x382)]&&this[_0x139354(0x2aa)][_0x139354(0x2b3)]&&this[_0x139354(0x275)]();}function _0x55ef03(_0x407905){const _0x5617c4=_0x3708;this[_0x5617c4(0x28f)](_0x5617c4(0x229),_0x55ef03),this[_0x5617c4(0x275)](),this[_0x5617c4(0x2ed)](_0x5617c4(0x229))===0x0&&this[_0x5617c4(0x3a9)]('error',_0x407905);}function _0x21c3c9(_0xf289e,_0x352caf){const _0x356e2e=_0x3708;let _0x20463a=!0x0;const _0x549ff3=new _0x33d8ca({..._0x352caf,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xf289e['on'](_0x356e2e(0x24f),function(_0x4938a7,_0x1b9d94){const _0x182505=_0x356e2e,_0x6249cf=!_0x1b9d94&&_0x549ff3[_0x182505(0x36e)][_0x182505(0x2dc)]?_0x4938a7[_0x182505(0x284)]():_0x4938a7;_0x549ff3[_0x182505(0x301)](_0x6249cf)||_0xf289e[_0x182505(0x380)]();}),_0xf289e[_0x356e2e(0x24b)]('error',function(_0x1d035c){const _0x1d2faa=_0x356e2e;_0x549ff3[_0x1d2faa(0x382)]||(_0x20463a=!0x1,_0x549ff3['destroy'](_0x1d035c));}),_0xf289e['once']('close',function(){const _0x561d8c=_0x356e2e;_0x549ff3['destroyed']||_0x549ff3[_0x561d8c(0x301)](null);}),_0x549ff3[_0x356e2e(0x253)]=function(_0x5ba021,_0x5e7af8){const _0x5d360a=_0x356e2e;if(_0xf289e[_0x5d360a(0x23d)]===_0xf289e['CLOSED']){_0x5e7af8(_0x5ba021),process[_0x5d360a(0x38e)](_0x430241,_0x549ff3);return;}let _0x6089d=!0x1;_0xf289e[_0x5d360a(0x24b)](_0x5d360a(0x229),function(_0x22e3ad){_0x6089d=!0x0,_0x5e7af8(_0x22e3ad);}),_0xf289e[_0x5d360a(0x24b)](_0x5d360a(0x29c),function(){const _0x269ad4=_0x5d360a;_0x6089d||_0x5e7af8(_0x5ba021),process[_0x269ad4(0x38e)](_0x430241,_0x549ff3);}),_0x20463a&&_0xf289e[_0x5d360a(0x349)]();},_0x549ff3['_final']=function(_0x51ce3e){const _0x41a29e=_0x356e2e;if(_0xf289e[_0x41a29e(0x23d)]===_0xf289e[_0x41a29e(0x2d4)]){_0xf289e[_0x41a29e(0x24b)](_0x41a29e(0x248),function(){_0x549ff3['_final'](_0x51ce3e);});return;}_0xf289e['_socket']!==null&&(_0xf289e[_0x41a29e(0x39e)][_0x41a29e(0x2aa)][_0x41a29e(0x2b3)]?(_0x51ce3e(),_0x549ff3[_0x41a29e(0x36e)][_0x41a29e(0x2ca)]&&_0x549ff3[_0x41a29e(0x275)]()):(_0xf289e['_socket'][_0x41a29e(0x24b)]('finish',function(){_0x51ce3e();}),_0xf289e[_0x41a29e(0x29c)]()));},_0x549ff3[_0x356e2e(0x294)]=function(){const _0x86e4e3=_0x356e2e;_0xf289e['isPaused']&&_0xf289e[_0x86e4e3(0x2bc)]();},_0x549ff3[_0x356e2e(0x3a7)]=function(_0x1bf437,_0xb92535,_0x4e97e0){const _0x59c73c=_0x356e2e;if(_0xf289e[_0x59c73c(0x23d)]===_0xf289e[_0x59c73c(0x2d4)]){_0xf289e[_0x59c73c(0x24b)](_0x59c73c(0x248),function(){_0x549ff3['_write'](_0x1bf437,_0xb92535,_0x4e97e0);});return;}_0xf289e[_0x59c73c(0x236)](_0x1bf437,_0x4e97e0);},_0x549ff3['on']('end',_0x25161b),_0x549ff3['on'](_0x356e2e(0x229),_0x55ef03),_0x549ff3;}return Oe=_0x21c3c9,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x22f490}=ae();function _0x31f228(_0x2ca9bb){const _0x4ac306=_0x3708,_0x34bb10=new Set();let _0x523340=-0x1,_0x21b2b8=-0x1,_0x1cc248=0x0;for(_0x1cc248;_0x1cc248<_0x2ca9bb['length'];_0x1cc248++){const _0x2690db=_0x2ca9bb['charCodeAt'](_0x1cc248);if(_0x21b2b8===-0x1&&_0x22f490[_0x2690db]===0x1)_0x523340===-0x1&&(_0x523340=_0x1cc248);else{if(_0x1cc248!==0x0&&(_0x2690db===0x20||_0x2690db===0x9))_0x21b2b8===-0x1&&_0x523340!==-0x1&&(_0x21b2b8=_0x1cc248);else{if(_0x2690db===0x2c){if(_0x523340===-0x1)throw new SyntaxError(_0x4ac306(0x399)+_0x1cc248);_0x21b2b8===-0x1&&(_0x21b2b8=_0x1cc248);const _0x2acb53=_0x2ca9bb['slice'](_0x523340,_0x21b2b8);if(_0x34bb10[_0x4ac306(0x381)](_0x2acb53))throw new SyntaxError(_0x4ac306(0x37f)+_0x2acb53+_0x4ac306(0x365));_0x34bb10[_0x4ac306(0x35f)](_0x2acb53),_0x523340=_0x21b2b8=-0x1;}else throw new SyntaxError(_0x4ac306(0x399)+_0x1cc248);}}}if(_0x523340===-0x1||_0x21b2b8!==-0x1)throw new SyntaxError(_0x4ac306(0x2a5));const _0x3f2cd3=_0x2ca9bb['slice'](_0x523340,_0x1cc248);if(_0x34bb10[_0x4ac306(0x381)](_0x3f2cd3))throw new SyntaxError(_0x4ac306(0x37f)+_0x3f2cd3+_0x4ac306(0x365));return _0x34bb10[_0x4ac306(0x35f)](_0x3f2cd3),_0x34bb10;}return Ce={'parse':_0x31f228},Ce;}var Te,rt;function Ft(){const _0x60d253=_0x344e53;if(rt)return Te;rt=0x1;const _0x1335cd=nt,_0xa94da0=ot,{Duplex:_0x57c884}=oe,{createHash:_0x50451b}=Le,_0x1dbeca=ct(),_0x21547e=he(),_0x530137=At(),_0x100974=Pe(),{GUID:_0x4ac610,kWebSocket:_0x4e9242}=H(),_0x2ddf78=/^[+/0-9A-Za-z]{22}==$/,_0x22ef25=0x0,_0x3f5ed0=0x1,_0x42dce1=0x2;class _0x1a83c7 extends _0x1335cd{constructor(_0x2ebfcf,_0x1c1cb2){const _0x3aec0a=_0x3708;if(super(),_0x2ebfcf={'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':_0x100974,..._0x2ebfcf},_0x2ebfcf[_0x3aec0a(0x207)]==null&&!_0x2ebfcf[_0x3aec0a(0x2bf)]&&!_0x2ebfcf[_0x3aec0a(0x2db)]||_0x2ebfcf['port']!=null&&(_0x2ebfcf['server']||_0x2ebfcf[_0x3aec0a(0x2db)])||_0x2ebfcf[_0x3aec0a(0x2bf)]&&_0x2ebfcf[_0x3aec0a(0x2db)])throw new TypeError(_0x3aec0a(0x2a2));if(_0x2ebfcf[_0x3aec0a(0x207)]!=null?(this['_server']=_0xa94da0[_0x3aec0a(0x35d)]((_0xe1176c,_0x104c44)=>{const _0x188eb7=_0x3aec0a,_0x4a15b0=_0xa94da0['STATUS_CODES'][0x1aa];_0x104c44[_0x188eb7(0x28b)](0x1aa,{'Content-Length':_0x4a15b0[_0x188eb7(0x22e)],'Content-Type':_0x188eb7(0x22b)}),_0x104c44[_0x188eb7(0x329)](_0x4a15b0);}),this[_0x3aec0a(0x240)]['listen'](_0x2ebfcf[_0x3aec0a(0x207)],_0x2ebfcf['host'],_0x2ebfcf[_0x3aec0a(0x3a5)],_0x1c1cb2)):_0x2ebfcf[_0x3aec0a(0x2bf)]&&(this['_server']=_0x2ebfcf[_0x3aec0a(0x2bf)]),this[_0x3aec0a(0x240)]){const _0x3a77f3=this['emit'][_0x3aec0a(0x256)](this,'connection');this[_0x3aec0a(0x3ab)]=_0x506413(this['_server'],{'listening':this['emit'][_0x3aec0a(0x256)](this,_0x3aec0a(0x30f)),'error':this['emit'][_0x3aec0a(0x256)](this,_0x3aec0a(0x229)),'upgrade':(_0x2235b8,_0x366b34,_0xb36d3c)=>{const _0x43a82a=_0x3aec0a;this[_0x43a82a(0x2d3)](_0x2235b8,_0x366b34,_0xb36d3c,_0x3a77f3);}});}_0x2ebfcf[_0x3aec0a(0x37d)]===!0x0&&(_0x2ebfcf[_0x3aec0a(0x37d)]={}),_0x2ebfcf[_0x3aec0a(0x20e)]&&(this[_0x3aec0a(0x388)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x3aec0a(0x36c)]=_0x2ebfcf,this['_state']=_0x22ef25;}['address'](){const _0x14bb97=_0x3708;if(this[_0x14bb97(0x36c)][_0x14bb97(0x2db)])throw new Error(_0x14bb97(0x219));return this['_server']?this[_0x14bb97(0x240)][_0x14bb97(0x271)]():null;}['close'](_0x2b2038){const _0x46400f=_0x3708;if(this[_0x46400f(0x398)]===_0x42dce1){_0x2b2038&&this[_0x46400f(0x24b)](_0x46400f(0x29c),()=>{const _0x4cfeca=_0x46400f;_0x2b2038(new Error(_0x4cfeca(0x2cf)));}),process[_0x46400f(0x38e)](_0x528e55,this);return;}if(_0x2b2038&&this[_0x46400f(0x24b)]('close',_0x2b2038),this[_0x46400f(0x398)]!==_0x3f5ed0){if(this[_0x46400f(0x398)]=_0x3f5ed0,this[_0x46400f(0x36c)][_0x46400f(0x2db)]||this['options']['server'])this[_0x46400f(0x240)]&&(this[_0x46400f(0x3ab)](),this[_0x46400f(0x3ab)]=this[_0x46400f(0x240)]=null),this['clients']?this['clients']['size']?this[_0x46400f(0x272)]=!0x0:process[_0x46400f(0x38e)](_0x528e55,this):process[_0x46400f(0x38e)](_0x528e55,this);else{const _0x4adbc2=this['_server'];this['_removeListeners'](),this[_0x46400f(0x3ab)]=this[_0x46400f(0x240)]=null,_0x4adbc2[_0x46400f(0x29c)](()=>{_0x528e55(this);});}}}[_0x60d253(0x35a)](_0xfbb3c7){const _0x55e89b=_0x60d253;if(this[_0x55e89b(0x36c)]['path']){const _0x39bc45=_0xfbb3c7[_0x55e89b(0x302)]['indexOf']('?');if((_0x39bc45!==-0x1?_0xfbb3c7[_0x55e89b(0x302)][_0x55e89b(0x39f)](0x0,_0x39bc45):_0xfbb3c7['url'])!==this[_0x55e89b(0x36c)]['path'])return!0x1;}return!0x0;}[_0x60d253(0x2d3)](_0x2bde79,_0x10e6c4,_0x19158c,_0x2cb297){const _0x333dd1=_0x60d253;_0x10e6c4['on']('error',_0xe2c58b);const _0x47793d=_0x2bde79[_0x333dd1(0x1f8)]['sec-websocket-key'],_0x37d73f=_0x2bde79[_0x333dd1(0x1f8)][_0x333dd1(0x341)],_0x4c22bb=+_0x2bde79[_0x333dd1(0x1f8)][_0x333dd1(0x2c5)];if(_0x2bde79[_0x333dd1(0x2e0)]!=='GET'){_0xf7c4cb(this,_0x2bde79,_0x10e6c4,0x195,_0x333dd1(0x1f5));return;}if(_0x37d73f===void 0x0||_0x37d73f[_0x333dd1(0x322)]()!==_0x333dd1(0x1f3)){_0xf7c4cb(this,_0x2bde79,_0x10e6c4,0x190,_0x333dd1(0x2cd));return;}if(_0x47793d===void 0x0||!_0x2ddf78[_0x333dd1(0x1f2)](_0x47793d)){_0xf7c4cb(this,_0x2bde79,_0x10e6c4,0x190,_0x333dd1(0x2b4));return;}if(_0x4c22bb!==0xd&&_0x4c22bb!==0x8){_0xf7c4cb(this,_0x2bde79,_0x10e6c4,0x190,_0x333dd1(0x231),{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this[_0x333dd1(0x35a)](_0x2bde79)){_0x3109d5(_0x10e6c4,0x190);return;}const _0x16227c=_0x2bde79[_0x333dd1(0x1f8)][_0x333dd1(0x351)];let _0x1e3430=new Set();if(_0x16227c!==void 0x0)try{_0x1e3430=_0x530137[_0x333dd1(0x217)](_0x16227c);}catch{_0xf7c4cb(this,_0x2bde79,_0x10e6c4,0x190,_0x333dd1(0x392));return;}const _0x1fe840=_0x2bde79[_0x333dd1(0x1f8)][_0x333dd1(0x241)],_0x4d376f={};if(this[_0x333dd1(0x36c)]['perMessageDeflate']&&_0x1fe840!==void 0x0){const _0x26e658=new _0x21547e(this['options'][_0x333dd1(0x37d)],!0x0,this['options'][_0x333dd1(0x28c)]);try{const _0x336d55=_0x1dbeca[_0x333dd1(0x217)](_0x1fe840);_0x336d55[_0x21547e[_0x333dd1(0x330)]]&&(_0x26e658[_0x333dd1(0x395)](_0x336d55[_0x21547e['extensionName']]),_0x4d376f[_0x21547e[_0x333dd1(0x330)]]=_0x26e658);}catch{_0xf7c4cb(this,_0x2bde79,_0x10e6c4,0x190,_0x333dd1(0x2e7));return;}}if(this[_0x333dd1(0x36c)][_0x333dd1(0x3a0)]){const _0x146833={'origin':_0x2bde79[_0x333dd1(0x1f8)][''+(_0x4c22bb===0x8?_0x333dd1(0x34a):_0x333dd1(0x226))],'secure':!!(_0x2bde79[_0x333dd1(0x290)]['authorized']||_0x2bde79['socket']['encrypted']),'req':_0x2bde79};if(this['options'][_0x333dd1(0x3a0)][_0x333dd1(0x22e)]===0x2){this[_0x333dd1(0x36c)][_0x333dd1(0x3a0)](_0x146833,(_0x44595d,_0x143aec,_0xf0e7a1,_0x281e71)=>{const _0x489306=_0x333dd1;if(!_0x44595d)return _0x3109d5(_0x10e6c4,_0x143aec||0x191,_0xf0e7a1,_0x281e71);this[_0x489306(0x223)](_0x4d376f,_0x47793d,_0x1e3430,_0x2bde79,_0x10e6c4,_0x19158c,_0x2cb297);});return;}if(!this[_0x333dd1(0x36c)][_0x333dd1(0x3a0)](_0x146833))return _0x3109d5(_0x10e6c4,0x191);}this[_0x333dd1(0x223)](_0x4d376f,_0x47793d,_0x1e3430,_0x2bde79,_0x10e6c4,_0x19158c,_0x2cb297);}['completeUpgrade'](_0x354605,_0x94bd9a,_0x440caa,_0x57bdef,_0x4fcda7,_0x259fa2,_0x1fbd84){const _0x5b4432=_0x60d253;if(!_0x4fcda7['readable']||!_0x4fcda7['writable'])return _0x4fcda7['destroy']();if(_0x4fcda7[_0x4e9242])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this['_state']>_0x22ef25)return _0x3109d5(_0x4fcda7,0x1f7);const _0x473329=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x5b4432(0x24d),_0x5b4432(0x237),_0x5b4432(0x212)+_0x50451b(_0x5b4432(0x203))[_0x5b4432(0x316)](_0x94bd9a+_0x4ac610)[_0x5b4432(0x22f)](_0x5b4432(0x26d))],_0x123be8=new this[(_0x5b4432(0x36c))]['WebSocket'](null,void 0x0,this['options']);if(_0x440caa[_0x5b4432(0x252)]){const _0x7ae3ed=this['options'][_0x5b4432(0x214)]?this[_0x5b4432(0x36c)][_0x5b4432(0x214)](_0x440caa,_0x57bdef):_0x440caa['values']()['next']()[_0x5b4432(0x23e)];_0x7ae3ed&&(_0x473329[_0x5b4432(0x301)]('Sec-WebSocket-Protocol:\x20'+_0x7ae3ed),_0x123be8[_0x5b4432(0x245)]=_0x7ae3ed);}if(_0x354605[_0x21547e[_0x5b4432(0x330)]]){const _0x17e1e6=_0x354605[_0x21547e[_0x5b4432(0x330)]][_0x5b4432(0x326)],_0x494840=_0x1dbeca[_0x5b4432(0x369)]({[_0x21547e[_0x5b4432(0x330)]]:[_0x17e1e6]});_0x473329[_0x5b4432(0x301)]('Sec-WebSocket-Extensions:\x20'+_0x494840),_0x123be8['_extensions']=_0x354605;}this[_0x5b4432(0x3a9)](_0x5b4432(0x1f8),_0x473329,_0x57bdef),_0x4fcda7[_0x5b4432(0x2f2)](_0x473329[_0x5b4432(0x377)]('\x0d\x0a')[_0x5b4432(0x209)]('\x0d\x0a')),_0x4fcda7[_0x5b4432(0x28f)](_0x5b4432(0x229),_0xe2c58b),_0x123be8[_0x5b4432(0x35c)](_0x4fcda7,_0x259fa2,{'allowSynchronousEvents':this[_0x5b4432(0x36c)][_0x5b4432(0x2ce)],'maxPayload':this['options'][_0x5b4432(0x28c)],'skipUTF8Validation':this[_0x5b4432(0x36c)]['skipUTF8Validation']}),this[_0x5b4432(0x388)]&&(this[_0x5b4432(0x388)]['add'](_0x123be8),_0x123be8['on'](_0x5b4432(0x29c),()=>{const _0x4804f0=_0x5b4432;this[_0x4804f0(0x388)]['delete'](_0x123be8),this['_shouldEmitClose']&&!this[_0x4804f0(0x388)][_0x4804f0(0x252)]&&process[_0x4804f0(0x38e)](_0x528e55,this);})),_0x1fbd84(_0x123be8,_0x57bdef);}}Te=_0x1a83c7;function _0x506413(_0x469cba,_0x394305){const _0x1e1ace=_0x60d253;for(const _0x2bb78d of Object[_0x1e1ace(0x1f6)](_0x394305))_0x469cba['on'](_0x2bb78d,_0x394305[_0x2bb78d]);return function(){const _0x398b71=_0x1e1ace;for(const _0x20170f of Object[_0x398b71(0x1f6)](_0x394305))_0x469cba[_0x398b71(0x28f)](_0x20170f,_0x394305[_0x20170f]);};}function _0x528e55(_0x3dea63){const _0x14a262=_0x60d253;_0x3dea63[_0x14a262(0x398)]=_0x42dce1,_0x3dea63['emit'](_0x14a262(0x29c));}function _0xe2c58b(){const _0x41c99b=_0x60d253;this[_0x41c99b(0x275)]();}function _0x3109d5(_0x4f2a6e,_0x4c347e,_0x292f34,_0x5df5ae){const _0x49d8cf=_0x60d253;_0x292f34=_0x292f34||_0xa94da0[_0x49d8cf(0x384)][_0x4c347e],_0x5df5ae={'Connection':_0x49d8cf(0x29c),'Content-Type':_0x49d8cf(0x376),'Content-Length':Buffer[_0x49d8cf(0x246)](_0x292f34),..._0x5df5ae},_0x4f2a6e[_0x49d8cf(0x24b)](_0x49d8cf(0x227),_0x4f2a6e[_0x49d8cf(0x275)]),_0x4f2a6e[_0x49d8cf(0x329)](_0x49d8cf(0x32b)+_0x4c347e+'\x20'+_0xa94da0[_0x49d8cf(0x384)][_0x4c347e]+'\x0d\x0a'+Object[_0x49d8cf(0x1f6)](_0x5df5ae)[_0x49d8cf(0x2d8)](_0x73f5a5=>_0x73f5a5+':\x20'+_0x5df5ae[_0x73f5a5])[_0x49d8cf(0x209)]('\x0d\x0a')+_0x49d8cf(0x213)+_0x292f34);}function _0xf7c4cb(_0x1e8802,_0x269f9b,_0x700569,_0x4750c4,_0x334033,_0x41b6f4){const _0x3c3fa2=_0x60d253;if(_0x1e8802['listenerCount'](_0x3c3fa2(0x202))){const _0x3e75a8=new Error(_0x334033);Error[_0x3c3fa2(0x310)](_0x3e75a8,_0xf7c4cb),_0x1e8802[_0x3c3fa2(0x3a9)](_0x3c3fa2(0x202),_0x3e75a8,_0x700569,_0x269f9b);}else _0x3109d5(_0x700569,_0x4750c4,_0x334033,_0x41b6f4);}return Te;}function _0x3708(_0x2623c4,_0x290632){const _0x18d408=_0x18d4();return _0x3708=function(_0x37089f,_0x16a6d8){_0x37089f=_0x37089f-0x1f1;let _0x2ce3bc=_0x18d408[_0x37089f];return _0x2ce3bc;},_0x3708(_0x2623c4,_0x290632);}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x6c25b8,_0x3530bf,_0x2eb658,_0x5c8179)=>{const _0x3b53ff=_0x344e53;for(var _0x4e33f1=_0x5c8179>0x1?void 0x0:_0x5c8179?jt(_0x3530bf,_0x2eb658):_0x3530bf,_0x45526=_0x6c25b8[_0x3b53ff(0x22e)]-0x1,_0x221a69;_0x45526>=0x0;_0x45526--)(_0x221a69=_0x6c25b8[_0x45526])&&(_0x4e33f1=_0x221a69(_0x4e33f1)||_0x4e33f1);return _0x4e33f1;},qt=(_0x1e89e8,_0x9539f6)=>(_0x3abfa1,_0x5d47b5)=>_0x9539f6(_0x3abfa1,_0x5d47b5,_0x1e89e8);let ke=class extends A[_0x344e53(0x21c)]{constructor(_0x3d72fd){const _0x388583=_0x344e53;super(),this[_0x388583(0x328)]=_0x3d72fd;}['createSocket'](_0x294ac5){const _0x17dbed=_0x344e53;var _0xcf7042;const _0x3340ef=(_0xcf7042=this[_0x17dbed(0x328)][_0x17dbed(0x260)](fe))==null?void 0x0:_0xcf7042[_0x17dbed(0x218)];try{const _0x1d6f5f=new $t(_0x294ac5,{'headers':{..._0x3340ef}}),_0x21bd57=new A[(_0x17dbed(0x34e))]();return{'URL':_0x294ac5,'close':(_0x222c93,_0xd5764e)=>{const _0x163b79=_0x17dbed;_0x1d6f5f[_0x163b79(0x29c)](_0x222c93,_0xd5764e),_0x21bd57[_0x163b79(0x343)]();},'send':_0x12586c=>{const _0x5190f9=_0x17dbed;_0x1d6f5f[_0x5190f9(0x236)](_0x12586c);},'open$':new V[(_0x17dbed(0x2e1))](_0x115561=>{const _0x45ba04=_0x17dbed,_0x4e6236=_0x4708cd=>_0x115561['next'](_0x4708cd);_0x1d6f5f[_0x45ba04(0x3a6)](_0x45ba04(0x248),_0x4e6236),_0x21bd57[_0x45ba04(0x35f)](A[_0x45ba04(0x324)](()=>_0x1d6f5f[_0x45ba04(0x347)]('open',_0x4e6236)));})['pipe'](V[_0x17dbed(0x2c9)]()),'close$':new V[(_0x17dbed(0x2e1))](_0x4e4d7e=>{const _0x40c078=_0x17dbed,_0x3c7c37=_0x3845d3=>_0x4e4d7e[_0x40c078(0x268)](_0x3845d3);_0x1d6f5f[_0x40c078(0x3a6)](_0x40c078(0x29c),_0x3c7c37),_0x21bd57[_0x40c078(0x35f)](A[_0x40c078(0x324)](()=>_0x1d6f5f[_0x40c078(0x347)](_0x40c078(0x29c),_0x3c7c37)));})[_0x17dbed(0x264)](V[_0x17dbed(0x2c9)]()),'error$':new V[(_0x17dbed(0x2e1))](_0x20f165=>{const _0x4fa4f3=_0x17dbed,_0x31eba1=_0xc6e126=>_0x20f165[_0x4fa4f3(0x268)](_0xc6e126);_0x1d6f5f[_0x4fa4f3(0x3a6)](_0x4fa4f3(0x229),_0x31eba1),_0x21bd57[_0x4fa4f3(0x35f)](A[_0x4fa4f3(0x324)](()=>_0x1d6f5f[_0x4fa4f3(0x347)](_0x4fa4f3(0x229),_0x31eba1)));})[_0x17dbed(0x264)](V['share']()),'message$':new V[(_0x17dbed(0x2e1))](_0x33afab=>{const _0x4c8a58=_0x17dbed,_0x45ab57=_0x1ff239=>_0x33afab[_0x4c8a58(0x268)](_0x1ff239);_0x1d6f5f['addEventListener'](_0x4c8a58(0x24f),_0x45ab57),_0x21bd57[_0x4c8a58(0x35f)](A['toDisposable'](()=>_0x1d6f5f[_0x4c8a58(0x347)](_0x4c8a58(0x24f),_0x45ab57)));})['pipe'](V[_0x17dbed(0x2c9)]())};}catch(_0x444a2a){return console['error'](_0x444a2a),null;}}};ke=Wt([qt(0x0,A[_0x344e53(0x208)])],ke);var Gt=Object['defineProperty'],Vt=Object[_0x344e53(0x352)],Ht=(_0x524175,_0x45f8e2,_0x5b3895)=>_0x45f8e2 in _0x524175?Gt(_0x524175,_0x45f8e2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b3895}):_0x524175[_0x45f8e2]=_0x5b3895,zt=(_0x533ffc,_0x2ffa24,_0x596e96,_0x1febd1)=>{for(var _0x36c1ab=_0x1febd1>0x1?void 0x0:_0x1febd1?Vt(_0x2ffa24,_0x596e96):_0x2ffa24,_0x423364=_0x533ffc['length']-0x1,_0x5a6309;_0x423364>=0x0;_0x423364--)(_0x5a6309=_0x533ffc[_0x423364])&&(_0x36c1ab=_0x5a6309(_0x36c1ab)||_0x36c1ab);return _0x36c1ab;},Ne=(_0x40b863,_0xdf7f50)=>(_0x469127,_0x4ce800)=>_0xdf7f50(_0x469127,_0x4ce800,_0x40b863),Yt=(_0x1000fd,_0x1ae558,_0x49d187)=>Ht(_0x1000fd,_0x1ae558+'',_0x49d187);exports[_0x344e53(0x233)]=class extends A[_0x344e53(0x32f)]{constructor(_0x752e04=Ct,_0x104322,_0x15c63c,_0x206b3c){const _0x3163ee=_0x344e53;_0x752e04[_0x3163ee(0x218)]||_0x104322[_0x3163ee(0x286)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x3163ee(0x328)]=_0x15c63c,this[_0x3163ee(0x2d0)]=_0x206b3c,this[_0x3163ee(0x328)][_0x3163ee(0x27c)](fe,_0x752e04);}[_0x344e53(0x396)](){const _0x284be6=_0x344e53;this[_0x284be6(0x20b)]();}[_0x344e53(0x20b)](){const _0x31f227=_0x344e53;A['registerDependencies'](this['_injector'],[[it[_0x31f227(0x313)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x344e53(0x1f4),_0x344e53(0x24a)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x344e53(0x25c)](st[_0x344e53(0x3a4)]),Ne(0x1,A[_0x344e53(0x368)]),Ne(0x2,A[_0x344e53(0x208)]),Ne(0x3,A['Inject'](A[_0x344e53(0x32e)]))],exports[_0x344e53(0x233)]);var Kt=Object[_0x344e53(0x352)],Xt=(_0x1d434c,_0x4e3558,_0x275afa,_0x8b8556)=>{for(var _0x4469de=_0x8b8556>0x1?void 0x0:_0x8b8556?Kt(_0x4e3558,_0x275afa):_0x4e3558,_0x48dd97=_0x1d434c['length']-0x1,_0x4901be;_0x48dd97>=0x0;_0x48dd97--)(_0x4901be=_0x1d434c[_0x48dd97])&&(_0x4469de=_0x4901be(_0x4469de)||_0x4469de);return _0x4469de;},ne=(_0x2b3707,_0x1e09bb)=>(_0x1e3f31,_0x5927bf)=>_0x1e09bb(_0x1e3f31,_0x5927bf,_0x2b3707);exports['NodeCollaborationSocketService']=class extends st['CollaborationSocketService']{constructor(_0x5dee44,_0x4d0ccb,_0x2080d4,_0x5cdf89,_0x1a6957){const _0x4765a8=_0x344e53;super(_0x5dee44,_0x4d0ccb,_0x2080d4,_0x5cdf89,_0x1a6957);const _0x901c24=this[_0x4765a8(0x328)][_0x4765a8(0x260)](fe);this[_0x4765a8(0x31e)][_0x4765a8(0x364)]({'interceptor':(_0x28a1f7,_0x290890)=>{const _0x1d4c07=_0x4765a8;var _0x460957;const _0x378f0f=_0x28a1f7[_0x1d4c07(0x1f8)];return(_0x460957=_0x901c24==null?void 0x0:_0x901c24[_0x1d4c07(0x218)])!=null&&_0x460957[_0x1d4c07(0x35b)]&&_0x378f0f[_0x1d4c07(0x206)](_0x1d4c07(0x22c),_0x901c24[_0x1d4c07(0x218)][_0x1d4c07(0x35b)]),_0x290890(_0x28a1f7);}});}async[_0x344e53(0x2ae)](_0x25770e){const _0x5b7e3d=_0x344e53;return this[_0x5b7e3d(0x242)](_0x25770e);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x344e53(0x33c)](A['Injector'])),ne(0x1,A[_0x344e53(0x33c)](it[_0x344e53(0x34c)])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x344e53(0x368)]),ne(0x4,Ot[_0x344e53(0x300)])],exports[_0x344e53(0x363)]),exports[_0x344e53(0x31d)]=fe;
|
|
1
|
+
'use strict';const _0x51270a=_0x22a9;function _0x22a9(_0x38d129,_0x48696d){const _0x1e7a7c=_0x1e7a();return _0x22a9=function(_0x22a9a3,_0x13891d){_0x22a9a3=_0x22a9a3-0x173;let _0x58939a=_0x1e7a7c[_0x22a9a3];return _0x58939a;},_0x22a9(_0x38d129,_0x48696d);}(function(_0x5d3c13,_0x48b719){const _0x4fea5d=_0x22a9,_0x538680=_0x5d3c13();while(!![]){try{const _0x197b1e=-parseInt(_0x4fea5d(0x1f9))/0x1*(-parseInt(_0x4fea5d(0x28c))/0x2)+-parseInt(_0x4fea5d(0x196))/0x3*(parseInt(_0x4fea5d(0x1d3))/0x4)+-parseInt(_0x4fea5d(0x19d))/0x5+parseInt(_0x4fea5d(0x1f6))/0x6+parseInt(_0x4fea5d(0x1db))/0x7*(-parseInt(_0x4fea5d(0x227))/0x8)+parseInt(_0x4fea5d(0x2fa))/0x9+parseInt(_0x4fea5d(0x2a6))/0xa;if(_0x197b1e===_0x48b719)break;else _0x538680['push'](_0x538680['shift']());}catch(_0x59c2dc){_0x538680['push'](_0x538680['shift']());}}}(_0x1e7a,0xd1bd4));Object[_0x51270a(0x27d)](exports,Symbol['toStringTag'],{'value':_0x51270a(0x20d)});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='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x54de26){const _0x4d1184=_0x51270a;return _0x54de26&&_0x54de26[_0x4d1184(0x1a6)]&&Object[_0x4d1184(0x24a)][_0x4d1184(0x178)][_0x4d1184(0x1ac)](_0x54de26,_0x4d1184(0x312))?_0x54de26[_0x4d1184(0x312)]:_0x54de26;}function at(_0x2c7e7a){const _0x2f9080=_0x51270a;if(Object[_0x2f9080(0x24a)]['hasOwnProperty'][_0x2f9080(0x1ac)](_0x2c7e7a,_0x2f9080(0x1a6)))return _0x2c7e7a;var _0x1e276d=_0x2c7e7a[_0x2f9080(0x312)];if(typeof _0x1e276d==_0x2f9080(0x2b3)){var _0x4ec7f6=function _0x3fa313(){const _0x11436b=_0x2f9080;var _0x9f999e=!0x1;try{_0x9f999e=this instanceof _0x3fa313;}catch{}return _0x9f999e?Reflect[_0x11436b(0x2ce)](_0x1e276d,arguments,this['constructor']):_0x1e276d[_0x11436b(0x24b)](this,arguments);};_0x4ec7f6[_0x2f9080(0x24a)]=_0x1e276d['prototype'];}else _0x4ec7f6={};return Object['defineProperty'](_0x4ec7f6,_0x2f9080(0x1a6),{'value':!0x0}),Object[_0x2f9080(0x2ad)](_0x2c7e7a)[_0x2f9080(0x2cc)](function(_0x5a6385){const _0x4b1d46=_0x2f9080;var _0x1e2325=Object[_0x4b1d46(0x23e)](_0x2c7e7a,_0x5a6385);Object[_0x4b1d46(0x27d)](_0x4ec7f6,_0x5a6385,_0x1e2325['get']?_0x1e2325:{'enumerable':!0x0,'get':function(){return _0x2c7e7a[_0x5a6385];}});}),_0x4ec7f6;}var se={'exports':{}},ge,Ge;function H(){const _0xd1c0b=_0x51270a;if(Ge)return ge;Ge=0x1;const _0x2e7e2d=[_0xd1c0b(0x191),_0xd1c0b(0x2a8),_0xd1c0b(0x253)],_0x3af0d7=typeof Blob<'u';return _0x3af0d7&&_0x2e7e2d[_0xd1c0b(0x241)](_0xd1c0b(0x1e3)),ge={'BINARY_TYPES':_0x2e7e2d,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0xd1c0b(0x31c),'hasBlob':_0x3af0d7,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0xd1c0b(0x257)),'kStatusCode':Symbol(_0xd1c0b(0x1f3)),'kWebSocket':Symbol(_0xd1c0b(0x186)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0x51270a(0x27d)]({'__proto__':null,'default':Nt},Symbol[_0x51270a(0x336)],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x5bb696=_0x51270a;if(Ve)return se[_0x5bb696(0x25e)];Ve=0x1;const {EMPTY_BUFFER:_0x3c8a91}=H(),_0x4b8bf2=Buffer[Symbol[_0x5bb696(0x2ea)]];function _0x2624fb(_0x48bb46,_0x268756){const _0x465a6f=_0x5bb696;if(_0x48bb46['length']===0x0)return _0x3c8a91;if(_0x48bb46[_0x465a6f(0x1b2)]===0x1)return _0x48bb46[0x0];const _0x5dfa9e=Buffer[_0x465a6f(0x1fb)](_0x268756);let _0x144d92=0x0;for(let _0x2ea85d=0x0;_0x2ea85d<_0x48bb46[_0x465a6f(0x1b2)];_0x2ea85d++){const _0x254d9a=_0x48bb46[_0x2ea85d];_0x5dfa9e[_0x465a6f(0x1b3)](_0x254d9a,_0x144d92),_0x144d92+=_0x254d9a[_0x465a6f(0x1b2)];}return _0x144d92<_0x268756?new _0x4b8bf2(_0x5dfa9e[_0x465a6f(0x1b7)],_0x5dfa9e[_0x465a6f(0x318)],_0x144d92):_0x5dfa9e;}function _0x2ce6c0(_0x1da2bd,_0x3c6932,_0x3081fb,_0x140bbe,_0x1b98b2){for(let _0x14b5b2=0x0;_0x14b5b2<_0x1b98b2;_0x14b5b2++)_0x3081fb[_0x140bbe+_0x14b5b2]=_0x1da2bd[_0x14b5b2]^_0x3c6932[_0x14b5b2&0x3];}function _0x541352(_0x31483e,_0x5388a6){const _0x4e93f9=_0x5bb696;for(let _0x5b5690=0x0;_0x5b5690<_0x31483e[_0x4e93f9(0x1b2)];_0x5b5690++)_0x31483e[_0x5b5690]^=_0x5388a6[_0x5b5690&0x3];}function _0x2a0499(_0x27682b){const _0x13cf6e=_0x5bb696;return _0x27682b[_0x13cf6e(0x1b2)]===_0x27682b[_0x13cf6e(0x1b7)][_0x13cf6e(0x2be)]?_0x27682b[_0x13cf6e(0x1b7)]:_0x27682b['buffer']['slice'](_0x27682b['byteOffset'],_0x27682b['byteOffset']+_0x27682b['length']);}function _0x45aedc(_0x2c913d){const _0x58309d=_0x5bb696;if(_0x45aedc['readOnly']=!0x0,Buffer[_0x58309d(0x2c7)](_0x2c913d))return _0x2c913d;let _0x4a2758;return _0x2c913d instanceof ArrayBuffer?_0x4a2758=new _0x4b8bf2(_0x2c913d):ArrayBuffer[_0x58309d(0x277)](_0x2c913d)?_0x4a2758=new _0x4b8bf2(_0x2c913d[_0x58309d(0x1b7)],_0x2c913d[_0x58309d(0x318)],_0x2c913d['byteLength']):(_0x4a2758=Buffer[_0x58309d(0x2c3)](_0x2c913d),_0x45aedc[_0x58309d(0x326)]=!0x1),_0x4a2758;}if(se[_0x5bb696(0x25e)]={'concat':_0x2624fb,'mask':_0x2ce6c0,'toArrayBuffer':_0x2a0499,'toBuffer':_0x45aedc,'unmask':_0x541352},!process[_0x5bb696(0x251)][_0x5bb696(0x1fd)])try{const _0x4094e8=Lt;se[_0x5bb696(0x25e)][_0x5bb696(0x276)]=function(_0x402d97,_0x3141e5,_0x160988,_0x1a5a6f,_0xaede9d){_0xaede9d<0x30?_0x2ce6c0(_0x402d97,_0x3141e5,_0x160988,_0x1a5a6f,_0xaede9d):_0x4094e8['mask'](_0x402d97,_0x3141e5,_0x160988,_0x1a5a6f,_0xaede9d);},se['exports'][_0x5bb696(0x2bc)]=function(_0x290590,_0x9ab764){const _0x30a9a4=_0x5bb696;_0x290590[_0x30a9a4(0x1b2)]<0x20?_0x541352(_0x290590,_0x9ab764):_0x4094e8[_0x30a9a4(0x2bc)](_0x290590,_0x9ab764);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x16b276=_0x51270a;if(He)return ye;He=0x1;const _0x27a958=Symbol(_0x16b276(0x18d)),_0x37af12=Symbol(_0x16b276(0x21b));class _0x27aecf{constructor(_0x1a5083){const _0x190bf0=_0x16b276;this[_0x27a958]=()=>{this['pending']--,this[_0x37af12]();},this[_0x190bf0(0x29e)]=_0x1a5083||0x1/0x0,this[_0x190bf0(0x23a)]=[],this[_0x190bf0(0x2af)]=0x0;}[_0x16b276(0x1d5)](_0xd10ec2){const _0x240a82=_0x16b276;this['jobs'][_0x240a82(0x241)](_0xd10ec2),this[_0x37af12]();}[_0x37af12](){const _0x1c2265=_0x16b276;if(this[_0x1c2265(0x2af)]!==this[_0x1c2265(0x29e)]&&this[_0x1c2265(0x23a)][_0x1c2265(0x1b2)]){const _0x3d3378=this[_0x1c2265(0x23a)][_0x1c2265(0x182)]();this[_0x1c2265(0x2af)]++,_0x3d3378(this[_0x27a958]);}}}return ye=_0x27aecf,ye;}var ve,ze;function _0x1e7a(){const _0x55c32a=['_read','_removeListeners','readOnly','_write','_decompress','http:','errorEmitted','listenerCount','close','Invalid\x20value\x20for\x20parameter\x20\x22','authorization','_doCreateSocket','client','Sec-WebSocket-Protocol:\x20','bind','WS_ERR_UNEXPECTED_MASK','kWasClean','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','toStringTag','_bufferedBytes','consume','Sec-WebSocket-Extensions:\x20','ws+unix:','Connection:\x20Upgrade','terminate','href','_writableState','hasOwnProperty','sha1','setHeader','invalid\x20UTF-8\x20sequence','map','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','IConfigService','_errored','method','maxPayload','shift','_req','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','zlibInflateOptions','websocket','replace','Max\x20payload\x20size\x20exceeded','resume','protocol','drain','getPayloadLength64','kDone','readyState','slice','warn','nodebuffer','clients','format','isIP','auth','3FZgTfr','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','catch','writeUInt16BE','Unexpected\x20end\x20of\x20input','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_registerDependencies','7863895Aurvqy','_receiver','flush','_bufferedAmount','needDrain','Origin','_autoPong','dequeue','_inflate','__esModule','redirect','createSocket','_mask','callback','onerror','call','_fragmented','reason','\x20(supported\x20versions:\x20','RSV1\x20must\x20be\x20clear','listen','length','set','WS_ERR_UNEXPECTED_RSV_2_3','server','13,\x208','buffer','_sender','path','destroy','_shouldEmitClose','Invalid\x20Sec-WebSocket-Protocol\x20header','setTimeout','_firstFragment','_skipUTF8Validation','pipe','createDeflateRaw','response','compress','_paused','_options','pathname','readUInt16BE','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','CollaborationSocketService','isInteger','Upgrade','location','The\x20\x22','sec-websocket-version','wasClean','_deflate','Sec-WebSocket-Origin','sec-websocket-protocol','3466220BGoFRs','acceptAsServer','add','_extensions','onopen','Observable','Basic\x20','registerDependencies','316442HFMGVB','Disposable','clientTracking','_isServer','_generateMask','WS_ERR_INVALID_OPCODE','text/plain','kByteLength','blob','DisposableCollection','hostname','_masked','dispatch','total-length','_readableState','toLowerCase','wss:','toString','number','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','open','share','_closeFrameReceived','Invalid\x20URL:\x20','status-code','haveLength','_loop','1702656ZAhRgX','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','server_max_window_bits','396919yvcZEG','_socket','allocUnsafe','error','WS_NO_BUFFER_UTIL','CONNECTING','conclude','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','WS_ERR_UNEXPECTED_RSV_1','cork','_originalIpc','once','Unexpected\x20character\x20at\x20index\x20','_totalPayloadLength','_compress','_errorEmitted','kData','unshift','\x0d\x0a\x0d\x0a','autoPong','Module','startsWith','MASK\x20must\x20be\x20clear','\x22:\x20','kCode','request','host','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','File','OPEN','object','Unknown\x20parameter\x20\x22','getData','WS_ERR_INVALID_UTF8','kRun','destroyed','indexOf','setConfig','isPaused','Blob','listeners','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','handleEvent','Z_DEFAULT_WINDOWBITS','removeEventListener','Server\x20sent\x20an\x20invalid\x20subprotocol','96pAzBcc','authorized','decompress','Z_SYNC_FLUSH','_queue','offer','invalid\x20opcode\x200','emit','_injector','join','data','dataMessage','_messageLength','statusCode','followRedirects','acceptAsClient','next','UniverCollaborationClientNodePlugin','noServer','jobs','username','digest','socket','getOwnPropertyDescriptor','\x22\x20subprotocol\x20is\x20duplicated','clientMaxWindowBits','push','The\x20URL\x27s\x20pathname\x20is\x20empty','_protocol','Cookie','upgrade','generateMask','Plugin','_compressed','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','prototype','apply','getMask','CLOSED','search','writeUIntBE','_maskBuffer','env','concat','fragments','kMessage','_closeFrameSent','removeListener','kListener','nextTick','Injector','pong','pause','_allowSynchronousEvents','_originalHostOrSocketPath','exports','HTTPService','alloc','_readyState','listening','timeout','WS_NO_UTF_8_VALIDATE','Unsupported\x20protocol\x20version:\x20','reset','invalid\x20status\x20code\x20','invalid\x20payload\x20length\x20','connect','stream','setSocket','perMessageDeflate','_fin','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','kAborted','client_no_context_takeover','createConnection','UniverCollaborationClientPlugin','GET','test','password','mask','isView','pow','maskBuffer','WebSocket','abort','controlMessage','defineProperty','CLOSING','backlog','completeUpgrade','Maximum\x20redirects\x20exceeded','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','getBlobData','defaultPort','_server','Server\x20sent\x20no\x20subprotocol','captureStackTrace','frame','client_max_window_bits','server_no_context_takeover','createError','8MkOYSL','getPayloadLength16','_configService','origin','isValidUTF8','concurrencyLimit','has','charCodeAt','parse','handleProtocols','extensionName','permessage-deflate','FIN\x20must\x20be\x20set','toDisposable','uncork','Unexpected\x20server\x20response:\x20','_max_window_bits','_buffers','concurrency','HTTP/1.1\x20101\x20Switching\x20Protocols','verifyClient','_closeCode','_maxPayload','\x22\x20must\x20have\x20only\x20a\x20single\x20value','sec-websocket-extensions','kError','17583770tdCKQU','message','arraybuffer','createInflateRaw','_closeMessage','accept','_redirects','keys','emitClose','pending','size','kReason','Parameter\x20\x22','function','readUInt32BE','port','type','customHeaders','maxRedirects','params','send','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','unmask','extensions','byteLength','STATUS_CODES','normalizeParams','Invalid\x20Sec-WebSocket-Extensions\x20header','wsClientError','from','setNoDelay','enqueue','_no_context_takeover','isBuffer','fin','registerHTTPInterceptor','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','shouldHandle','forEach','getInfo','construct','bufferedAmount','skipUTF8Validation','threshold','then','onmessage','create','end','_state','serverNoContextTakeover','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_closeTimer','_url','getConfig','socketPath','cleanup','WebSocket\x20is\x20not\x20open:\x20readyState\x20','sendFrame','The\x20URL\x20contains\x20a\x20fragment\x20identifier','invalid\x20opcode\x20','entries','write','connection','protocolVersion','address','Invalid\x20Sec-WebSocket-Accept\x20header','_fragments','objectMode','species','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','binaryType','read','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','startLoop','code','servername','_payloadLength','_opcode','text/html','addEventListener','hash','serverMaxWindowBits','options','headers','1899621fnBIch','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','kTarget','base64','target','_final','Inject','find','removeAllListeners','The\x20server\x20is\x20not\x20running','readable','isArray','NodeCollaborationSocketService','HTTP/1.1\x20','encrypted','allowSynchronousEvents','handleUpgrade','arrayBuffer','finish','delete','dispose','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','url','endEmitted','default','string','_threshold','ping','Invalid\x20Upgrade\x20header','includes','byteOffset','_destroy','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','clientNoContextTakeover','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_binaryType','sec-websocket-origin','buffers','writeHead','DependentOn','MASK\x20must\x20be\x20set','finished'];_0x1e7a=function(){return _0x55c32a;};return _0x1e7a();}function he(){const _0x15c066=_0x51270a;if(ze)return ve;ze=0x1;const _0x456813=bt,_0x4a54dd=ce(),_0x56fb19=Pt(),{kStatusCode:_0x3c44b1}=H(),_0x24a787=Buffer[Symbol['species']],_0x5ebb2b=Buffer[_0x15c066(0x2c3)]([0x0,0x0,0xff,0xff]),_0x77f940=Symbol(_0x15c066(0x297)),_0x28af08=Symbol(_0x15c066(0x1e8)),_0x51a176=Symbol(_0x15c066(0x1aa)),_0x4b845a=Symbol(_0x15c066(0x31f)),_0x213db7=Symbol('error');let _0x5028cd;class _0x3dd467{constructor(_0x56fa5b,_0x5eba84,_0xf32627){const _0x424121=_0x15c066;if(this[_0x424121(0x2a2)]=_0xf32627|0x0,this[_0x424121(0x1c5)]=_0x56fa5b||{},this['_threshold']=this[_0x424121(0x1c5)][_0x424121(0x2d1)]!==void 0x0?this[_0x424121(0x1c5)][_0x424121(0x2d1)]:0x400,this['_isServer']=!!_0x5eba84,this[_0x424121(0x1d0)]=null,this[_0x424121(0x1a5)]=null,this['params']=null,!_0x5028cd){const _0x14cf5c=this['_options'][_0x424121(0x291)]!==void 0x0?this[_0x424121(0x1c5)][_0x424121(0x291)]:0xa;_0x5028cd=new _0x56fb19(_0x14cf5c);}}static get[_0x15c066(0x296)](){const _0x3d5515=_0x15c066;return _0x3d5515(0x297);}['offer'](){const _0x5424a1=_0x15c066,_0x2e4130={};return this['_options'][_0x5424a1(0x2d7)]&&(_0x2e4130[_0x5424a1(0x28a)]=!0x0),this[_0x5424a1(0x1c5)][_0x5424a1(0x31b)]&&(_0x2e4130['client_no_context_takeover']=!0x0),this['_options']['serverMaxWindowBits']&&(_0x2e4130[_0x5424a1(0x1f8)]=this[_0x5424a1(0x1c5)][_0x5424a1(0x2f7)]),this[_0x5424a1(0x1c5)][_0x5424a1(0x240)]?_0x2e4130[_0x5424a1(0x289)]=this[_0x5424a1(0x1c5)][_0x5424a1(0x240)]:this['_options']['clientMaxWindowBits']==null&&(_0x2e4130['client_max_window_bits']=!0x0),_0x2e4130;}[_0x15c066(0x2ab)](_0x2f7f25){const _0x1082d2=_0x15c066;return _0x2f7f25=this[_0x1082d2(0x2c0)](_0x2f7f25),this[_0x1082d2(0x2b9)]=this[_0x1082d2(0x1de)]?this[_0x1082d2(0x1d4)](_0x2f7f25):this[_0x1082d2(0x236)](_0x2f7f25),this[_0x1082d2(0x2b9)];}[_0x15c066(0x2dd)](){const _0xfe8d68=_0x15c066;if(this['_inflate']&&(this[_0xfe8d68(0x1a5)][_0xfe8d68(0x32c)](),this[_0xfe8d68(0x1a5)]=null),this[_0xfe8d68(0x1d0)]){const _0x24503f=this['_deflate'][_0x51a176];this['_deflate'][_0xfe8d68(0x32c)](),this['_deflate']=null,_0x24503f&&_0x24503f(new Error(_0xfe8d68(0x184)));}}[_0x15c066(0x1d4)](_0x5e0e63){const _0x213c42=_0x15c066,_0xbece69=this[_0x213c42(0x1c5)],_0x2ea48b=_0x5e0e63[_0x213c42(0x301)](_0x346f54=>!(_0xbece69[_0x213c42(0x2d7)]===!0x1&&_0x346f54['server_no_context_takeover']||_0x346f54['server_max_window_bits']&&(_0xbece69['serverMaxWindowBits']===!0x1||typeof _0xbece69['serverMaxWindowBits']==_0x213c42(0x1ed)&&_0xbece69[_0x213c42(0x2f7)]>_0x346f54[_0x213c42(0x1f8)])||typeof _0xbece69[_0x213c42(0x240)]==_0x213c42(0x1ed)&&!_0x346f54[_0x213c42(0x289)]));if(!_0x2ea48b)throw new Error(_0x213c42(0x197));return _0xbece69[_0x213c42(0x2d7)]&&(_0x2ea48b[_0x213c42(0x28a)]=!0x0),_0xbece69[_0x213c42(0x31b)]&&(_0x2ea48b[_0x213c42(0x270)]=!0x0),typeof _0xbece69[_0x213c42(0x2f7)]==_0x213c42(0x1ed)&&(_0x2ea48b[_0x213c42(0x1f8)]=_0xbece69[_0x213c42(0x2f7)]),typeof _0xbece69[_0x213c42(0x240)]=='number'?_0x2ea48b[_0x213c42(0x289)]=_0xbece69['clientMaxWindowBits']:(_0x2ea48b[_0x213c42(0x289)]===!0x0||_0xbece69[_0x213c42(0x240)]===!0x1)&&delete _0x2ea48b['client_max_window_bits'],_0x2ea48b;}['acceptAsClient'](_0x31416f){const _0x4aa0b9=_0x15c066,_0x14b86f=_0x31416f[0x0];if(this[_0x4aa0b9(0x1c5)]['clientNoContextTakeover']===!0x1&&_0x14b86f[_0x4aa0b9(0x270)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x14b86f[_0x4aa0b9(0x289)])typeof this[_0x4aa0b9(0x1c5)]['clientMaxWindowBits']=='number'&&(_0x14b86f[_0x4aa0b9(0x289)]=this[_0x4aa0b9(0x1c5)][_0x4aa0b9(0x240)]);else{if(this[_0x4aa0b9(0x1c5)]['clientMaxWindowBits']===!0x1||typeof this[_0x4aa0b9(0x1c5)][_0x4aa0b9(0x240)]==_0x4aa0b9(0x1ed)&&_0x14b86f[_0x4aa0b9(0x289)]>this[_0x4aa0b9(0x1c5)]['clientMaxWindowBits'])throw new Error(_0x4aa0b9(0x2ca));}return _0x14b86f;}[_0x15c066(0x2c0)](_0x26b4d7){const _0x117826=_0x15c066;return _0x26b4d7[_0x117826(0x2cc)](_0xf9785f=>{const _0x39f05f=_0x117826;Object[_0x39f05f(0x2ad)](_0xf9785f)[_0x39f05f(0x2cc)](_0x37c5b3=>{const _0x118c01=_0x39f05f;let _0x3dd88e=_0xf9785f[_0x37c5b3];if(_0x3dd88e[_0x118c01(0x1b2)]>0x1)throw new Error(_0x118c01(0x2b2)+_0x37c5b3+_0x118c01(0x2a3));if(_0x3dd88e=_0x3dd88e[0x0],_0x37c5b3==='client_max_window_bits'){if(_0x3dd88e!==!0x0){const _0x1bed11=+_0x3dd88e;if(!Number[_0x118c01(0x1ca)](_0x1bed11)||_0x1bed11<0x8||_0x1bed11>0xf)throw new TypeError(_0x118c01(0x32d)+_0x37c5b3+_0x118c01(0x210)+_0x3dd88e);_0x3dd88e=_0x1bed11;}else{if(!this['_isServer'])throw new TypeError(_0x118c01(0x32d)+_0x37c5b3+_0x118c01(0x210)+_0x3dd88e);}}else{if(_0x37c5b3==='server_max_window_bits'){const _0x423a93=+_0x3dd88e;if(!Number['isInteger'](_0x423a93)||_0x423a93<0x8||_0x423a93>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x37c5b3+_0x118c01(0x210)+_0x3dd88e);_0x3dd88e=_0x423a93;}else{if(_0x37c5b3===_0x118c01(0x270)||_0x37c5b3==='server_no_context_takeover'){if(_0x3dd88e!==!0x0)throw new TypeError(_0x118c01(0x32d)+_0x37c5b3+_0x118c01(0x210)+_0x3dd88e);}else throw new Error(_0x118c01(0x218)+_0x37c5b3+'\x22');}}_0xf9785f[_0x37c5b3]=_0x3dd88e;});}),_0x26b4d7;}[_0x15c066(0x229)](_0x1daa3d,_0x1ad668,_0x38f34f){const _0x471e4f=_0x15c066;_0x5028cd[_0x471e4f(0x1d5)](_0xccc34e=>{this['_decompress'](_0x1daa3d,_0x1ad668,(_0x590ea2,_0x3e1bad)=>{_0xccc34e(),_0x38f34f(_0x590ea2,_0x3e1bad);});});}[_0x15c066(0x1c3)](_0x171f20,_0x8a15b3,_0x33df6f){_0x5028cd['add'](_0x4ebd8d=>{const _0x2c67c9=_0x22a9;this[_0x2c67c9(0x207)](_0x171f20,_0x8a15b3,(_0x2e1edd,_0x2d37e5)=>{_0x4ebd8d(),_0x33df6f(_0x2e1edd,_0x2d37e5);});});}[_0x15c066(0x328)](_0x2e2246,_0x1d167c,_0x5e6ed6){const _0x29dba8=_0x15c066,_0x4db733=this['_isServer']?'client':_0x29dba8(0x1b5);if(!this[_0x29dba8(0x1a5)]){const _0x258ba9=_0x4db733+'_max_window_bits',_0x1f6640=typeof this['params'][_0x258ba9]!=_0x29dba8(0x1ed)?_0x456813[_0x29dba8(0x224)]:this[_0x29dba8(0x2b9)][_0x258ba9];this[_0x29dba8(0x1a5)]=_0x456813[_0x29dba8(0x2a9)]({...this[_0x29dba8(0x1c5)][_0x29dba8(0x185)],'windowBits':_0x1f6640}),this['_inflate'][_0x77f940]=this,this['_inflate'][_0x28af08]=0x0,this[_0x29dba8(0x1a5)][_0x4b845a]=[],this[_0x29dba8(0x1a5)]['on']('error',_0x2060c5),this[_0x29dba8(0x1a5)]['on'](_0x29dba8(0x231),_0x4ff07f);}this['_inflate'][_0x51a176]=_0x5e6ed6,this[_0x29dba8(0x1a5)][_0x29dba8(0x2e3)](_0x2e2246),_0x1d167c&&this['_inflate'][_0x29dba8(0x2e3)](_0x5ebb2b),this[_0x29dba8(0x1a5)][_0x29dba8(0x19f)](()=>{const _0x2511f2=_0x29dba8,_0x50f8c3=this[_0x2511f2(0x1a5)][_0x213db7];if(_0x50f8c3){this[_0x2511f2(0x1a5)][_0x2511f2(0x32c)](),this[_0x2511f2(0x1a5)]=null,_0x5e6ed6(_0x50f8c3);return;}const _0x3e9f82=_0x4a54dd['concat'](this[_0x2511f2(0x1a5)][_0x4b845a],this[_0x2511f2(0x1a5)][_0x28af08]);this['_inflate']['_readableState'][_0x2511f2(0x311)]?(this[_0x2511f2(0x1a5)][_0x2511f2(0x32c)](),this['_inflate']=null):(this[_0x2511f2(0x1a5)][_0x28af08]=0x0,this[_0x2511f2(0x1a5)][_0x4b845a]=[],_0x1d167c&&this[_0x2511f2(0x2b9)][_0x4db733+_0x2511f2(0x2c6)]&&this['_inflate'][_0x2511f2(0x266)]()),_0x5e6ed6(null,_0x3e9f82);});}['_compress'](_0x39c32a,_0x525688,_0x2bb021){const _0x40a408=_0x15c066,_0xe8cfd1=this[_0x40a408(0x1de)]?_0x40a408(0x1b5):_0x40a408(0x330);if(!this[_0x40a408(0x1d0)]){const _0x5cf436=_0xe8cfd1+_0x40a408(0x29c),_0x155cbc=typeof this[_0x40a408(0x2b9)][_0x5cf436]!=_0x40a408(0x1ed)?_0x456813[_0x40a408(0x224)]:this[_0x40a408(0x2b9)][_0x5cf436];this[_0x40a408(0x1d0)]=_0x456813[_0x40a408(0x1c1)]({...this[_0x40a408(0x1c5)]['zlibDeflateOptions'],'windowBits':_0x155cbc}),this['_deflate'][_0x28af08]=0x0,this['_deflate'][_0x4b845a]=[],this[_0x40a408(0x1d0)]['on'](_0x40a408(0x231),_0x3d1abf);}this['_deflate'][_0x51a176]=_0x2bb021,this[_0x40a408(0x1d0)][_0x40a408(0x2e3)](_0x39c32a),this[_0x40a408(0x1d0)][_0x40a408(0x19f)](_0x456813[_0x40a408(0x22a)],()=>{const _0x9869c9=_0x40a408;if(!this[_0x9869c9(0x1d0)])return;let _0x270bea=_0x4a54dd[_0x9869c9(0x252)](this[_0x9869c9(0x1d0)][_0x4b845a],this[_0x9869c9(0x1d0)][_0x28af08]);_0x525688&&(_0x270bea=new _0x24a787(_0x270bea[_0x9869c9(0x1b7)],_0x270bea[_0x9869c9(0x318)],_0x270bea['length']-0x4)),this[_0x9869c9(0x1d0)][_0x51a176]=null,this['_deflate'][_0x28af08]=0x0,this[_0x9869c9(0x1d0)][_0x4b845a]=[],_0x525688&&this[_0x9869c9(0x2b9)][_0xe8cfd1+_0x9869c9(0x2c6)]&&this[_0x9869c9(0x1d0)][_0x9869c9(0x266)](),_0x2bb021(null,_0x270bea);});}}ve=_0x3dd467;function _0x3d1abf(_0x3a5deb){const _0x533524=_0x15c066;this[_0x4b845a][_0x533524(0x241)](_0x3a5deb),this[_0x28af08]+=_0x3a5deb[_0x533524(0x1b2)];}function _0x4ff07f(_0x1ccbe6){const _0x4a3af1=_0x15c066;if(this[_0x28af08]+=_0x1ccbe6['length'],this[_0x77f940][_0x4a3af1(0x2a2)]<0x1||this[_0x28af08]<=this[_0x77f940][_0x4a3af1(0x2a2)]){this[_0x4b845a]['push'](_0x1ccbe6);return;}this[_0x213db7]=new RangeError(_0x4a3af1(0x188)),this[_0x213db7]['code']=_0x4a3af1(0x19b),this[_0x213db7][_0x3c44b1]=0x3f1,this[_0x4a3af1(0x256)](_0x4a3af1(0x231),_0x4ff07f),this['reset']();}function _0x2060c5(_0x5ed2fe){const _0x174c97=_0x15c066;if(this[_0x77f940][_0x174c97(0x1a5)]=null,this[_0x213db7]){this[_0x51a176](this[_0x213db7]);return;}_0x5ed2fe[_0x3c44b1]=0x3ef,this[_0x51a176](_0x5ed2fe);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0x51270a(0x336)],{'value':_0x51270a(0x20d)})),Bt=at(Rt);var Ye;function ae(){const _0x532f51=_0x51270a;if(Ye)return ie[_0x532f51(0x25e)];Ye=0x1;const {isUtf8:_0x2aad44}=wt,{hasBlob:_0x137e65}=H(),_0x2c312f=[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 _0x34060a(_0x2749a5){return _0x2749a5>=0x3e8&&_0x2749a5<=0x3f6&&_0x2749a5!==0x3ec&&_0x2749a5!==0x3ed&&_0x2749a5!==0x3ee||_0x2749a5>=0xbb8&&_0x2749a5<=0x1387;}function _0x25b9ec(_0x5572c4){const _0x576b50=_0x532f51,_0xfcfc55=_0x5572c4[_0x576b50(0x1b2)];let _0x1fc71c=0x0;for(;_0x1fc71c<_0xfcfc55;)if((_0x5572c4[_0x1fc71c]&0x80)===0x0)_0x1fc71c++;else{if((_0x5572c4[_0x1fc71c]&0xe0)===0xc0){if(_0x1fc71c+0x1===_0xfcfc55||(_0x5572c4[_0x1fc71c+0x1]&0xc0)!==0x80||(_0x5572c4[_0x1fc71c]&0xfe)===0xc0)return!0x1;_0x1fc71c+=0x2;}else{if((_0x5572c4[_0x1fc71c]&0xf0)===0xe0){if(_0x1fc71c+0x2>=_0xfcfc55||(_0x5572c4[_0x1fc71c+0x1]&0xc0)!==0x80||(_0x5572c4[_0x1fc71c+0x2]&0xc0)!==0x80||_0x5572c4[_0x1fc71c]===0xe0&&(_0x5572c4[_0x1fc71c+0x1]&0xe0)===0x80||_0x5572c4[_0x1fc71c]===0xed&&(_0x5572c4[_0x1fc71c+0x1]&0xe0)===0xa0)return!0x1;_0x1fc71c+=0x3;}else{if((_0x5572c4[_0x1fc71c]&0xf8)===0xf0){if(_0x1fc71c+0x3>=_0xfcfc55||(_0x5572c4[_0x1fc71c+0x1]&0xc0)!==0x80||(_0x5572c4[_0x1fc71c+0x2]&0xc0)!==0x80||(_0x5572c4[_0x1fc71c+0x3]&0xc0)!==0x80||_0x5572c4[_0x1fc71c]===0xf0&&(_0x5572c4[_0x1fc71c+0x1]&0xf0)===0x80||_0x5572c4[_0x1fc71c]===0xf4&&_0x5572c4[_0x1fc71c+0x1]>0x8f||_0x5572c4[_0x1fc71c]>0xf4)return!0x1;_0x1fc71c+=0x4;}else return!0x1;}}}return!0x0;}function _0x358f42(_0x224f12){const _0x216620=_0x532f51;return _0x137e65&&typeof _0x224f12==_0x216620(0x217)&&typeof _0x224f12['arrayBuffer']=='function'&&typeof _0x224f12[_0x216620(0x2b6)]==_0x216620(0x313)&&typeof _0x224f12[_0x216620(0x26a)]=='function'&&(_0x224f12[Symbol['toStringTag']]===_0x216620(0x220)||_0x224f12[Symbol[_0x216620(0x336)]]===_0x216620(0x215));}if(ie[_0x532f51(0x25e)]={'isBlob':_0x358f42,'isValidStatusCode':_0x34060a,'isValidUTF8':_0x25b9ec,'tokenChars':_0x2c312f},_0x2aad44)ie[_0x532f51(0x25e)]['isValidUTF8']=function(_0x534ea8){return _0x534ea8['length']<0x18?_0x25b9ec(_0x534ea8):_0x2aad44(_0x534ea8);};else{if(!process[_0x532f51(0x251)][_0x532f51(0x264)])try{const _0x57c5c5=Bt;ie['exports'][_0x532f51(0x290)]=function(_0x1d17af){const _0x365f54=_0x532f51;return _0x1d17af[_0x365f54(0x1b2)]<0x20?_0x25b9ec(_0x1d17af):_0x57c5c5(_0x1d17af);};}catch{}}return ie[_0x532f51(0x25e)];}var Se,Ke;function lt(){const _0x15daf8=_0x51270a;if(Ke)return Se;Ke=0x1;const {Writable:_0x12750a}=oe,_0x1001af=he(),{BINARY_TYPES:_0x5be05a,EMPTY_BUFFER:_0x3f8ae0,kStatusCode:_0x531700,kWebSocket:_0x4b3ca3}=H(),{concat:_0x3bf982,toArrayBuffer:_0x39cd05,unmask:_0x381e18}=ce(),{isValidStatusCode:_0x34458a,isValidUTF8:_0xe6e3b6}=ae(),_0x495678=Buffer[Symbol[_0x15daf8(0x2ea)]],_0x548391=0x0,_0x23329e=0x1,_0x149e25=0x2,_0x4966af=0x3,_0x2091dc=0x4,_0x34871d=0x5,_0x17bcba=0x6;class _0x1db027 extends _0x12750a{constructor(_0x577dc2={}){const _0x51584e=_0x15daf8;super(),this[_0x51584e(0x25c)]=_0x577dc2[_0x51584e(0x309)]!==void 0x0?_0x577dc2[_0x51584e(0x309)]:!0x0,this[_0x51584e(0x31d)]=_0x577dc2[_0x51584e(0x2ec)]||_0x5be05a[0x0],this['_extensions']=_0x577dc2['extensions']||{},this[_0x51584e(0x1de)]=!!_0x577dc2['isServer'],this[_0x51584e(0x2a2)]=_0x577dc2[_0x51584e(0x181)]|0x0,this[_0x51584e(0x1bf)]=!!_0x577dc2['skipUTF8Validation'],this[_0x4b3ca3]=void 0x0,this[_0x51584e(0x337)]=0x0,this['_buffers']=[],this[_0x51584e(0x248)]=!0x1,this[_0x51584e(0x2f2)]=0x0,this[_0x51584e(0x1a9)]=void 0x0,this[_0x51584e(0x1ad)]=0x0,this['_masked']=!0x1,this[_0x51584e(0x26d)]=!0x1,this[_0x51584e(0x2f3)]=0x0,this[_0x51584e(0x206)]=0x0,this[_0x51584e(0x233)]=0x0,this[_0x51584e(0x2e8)]=[],this[_0x51584e(0x17f)]=!0x1,this[_0x51584e(0x1f5)]=!0x1,this['_state']=_0x548391;}[_0x15daf8(0x327)](_0x5d05ee,_0x28e220,_0x5362fe){const _0x132a61=_0x15daf8;if(this['_opcode']===0x8&&this[_0x132a61(0x2d6)]==_0x548391)return _0x5362fe();this[_0x132a61(0x337)]+=_0x5d05ee[_0x132a61(0x1b2)],this['_buffers'][_0x132a61(0x241)](_0x5d05ee),this[_0x132a61(0x2ef)](_0x5362fe);}[_0x15daf8(0x338)](_0x187388){const _0x348003=_0x15daf8;if(this[_0x348003(0x337)]-=_0x187388,_0x187388===this[_0x348003(0x29d)][0x0][_0x348003(0x1b2)])return this[_0x348003(0x29d)][_0x348003(0x182)]();if(_0x187388<this[_0x348003(0x29d)][0x0]['length']){const _0x26de2e=this['_buffers'][0x0];return this[_0x348003(0x29d)][0x0]=new _0x495678(_0x26de2e[_0x348003(0x1b7)],_0x26de2e[_0x348003(0x318)]+_0x187388,_0x26de2e[_0x348003(0x1b2)]-_0x187388),new _0x495678(_0x26de2e[_0x348003(0x1b7)],_0x26de2e['byteOffset'],_0x187388);}const _0x1560f7=Buffer[_0x348003(0x1fb)](_0x187388);do{const _0x42f24a=this[_0x348003(0x29d)][0x0],_0x2ac24e=_0x1560f7[_0x348003(0x1b2)]-_0x187388;_0x187388>=_0x42f24a[_0x348003(0x1b2)]?_0x1560f7[_0x348003(0x1b3)](this[_0x348003(0x29d)]['shift'](),_0x2ac24e):(_0x1560f7['set'](new Uint8Array(_0x42f24a[_0x348003(0x1b7)],_0x42f24a['byteOffset'],_0x187388),_0x2ac24e),this[_0x348003(0x29d)][0x0]=new _0x495678(_0x42f24a['buffer'],_0x42f24a[_0x348003(0x318)]+_0x187388,_0x42f24a[_0x348003(0x1b2)]-_0x187388)),_0x187388-=_0x42f24a[_0x348003(0x1b2)];}while(_0x187388>0x0);return _0x1560f7;}[_0x15daf8(0x2ef)](_0xb1fee7){const _0x4f908a=_0x15daf8;this['_loop']=!0x0;do switch(this[_0x4f908a(0x2d6)]){case _0x548391:this['getInfo'](_0xb1fee7);break;case _0x23329e:this[_0x4f908a(0x28d)](_0xb1fee7);break;case _0x149e25:this[_0x4f908a(0x18c)](_0xb1fee7);break;case _0x4966af:this[_0x4f908a(0x24c)]();break;case _0x2091dc:this[_0x4f908a(0x219)](_0xb1fee7);break;case _0x34871d:case _0x17bcba:this[_0x4f908a(0x1f5)]=!0x1;return;}while(this[_0x4f908a(0x1f5)]);this[_0x4f908a(0x17f)]||_0xb1fee7();}[_0x15daf8(0x2cd)](_0x4a230e){const _0x4e46f2=_0x15daf8;if(this[_0x4e46f2(0x337)]<0x2){this[_0x4e46f2(0x1f5)]=!0x1;return;}const _0x4673a9=this[_0x4e46f2(0x338)](0x2);if((_0x4673a9[0x0]&0x30)!==0x0){const _0x2cf2b4=this[_0x4e46f2(0x28b)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x4e46f2(0x1b4));_0x4a230e(_0x2cf2b4);return;}const _0x28e0f2=(_0x4673a9[0x0]&0x40)===0x40;if(_0x28e0f2&&!this[_0x4e46f2(0x1d6)][_0x1001af[_0x4e46f2(0x296)]]){const _0x239b33=this['createError'](RangeError,_0x4e46f2(0x1b0),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4a230e(_0x239b33);return;}if(this[_0x4e46f2(0x26d)]=(_0x4673a9[0x0]&0x80)===0x80,this['_opcode']=_0x4673a9[0x0]&0xf,this[_0x4e46f2(0x2f2)]=_0x4673a9[0x1]&0x7f,this['_opcode']===0x0){if(_0x28e0f2){const _0x373002=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x1b0),!0x0,0x3ea,_0x4e46f2(0x201));_0x4a230e(_0x373002);return;}if(!this[_0x4e46f2(0x1ad)]){const _0x554b3b=this['createError'](RangeError,_0x4e46f2(0x22d),!0x0,0x3ea,_0x4e46f2(0x1e0));_0x4a230e(_0x554b3b);return;}this[_0x4e46f2(0x2f3)]=this['_fragmented'];}else{if(this['_opcode']===0x1||this[_0x4e46f2(0x2f3)]===0x2){if(this[_0x4e46f2(0x1ad)]){const _0x42e245=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x2e1)+this[_0x4e46f2(0x2f3)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x4a230e(_0x42e245);return;}this['_compressed']=_0x28e0f2;}else{if(this[_0x4e46f2(0x2f3)]>0x7&&this[_0x4e46f2(0x2f3)]<0xb){if(!this['_fin']){const _0x5aa12d=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x298),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x4a230e(_0x5aa12d);return;}if(_0x28e0f2){const _0x28b863=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x1b0),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4a230e(_0x28b863);return;}if(this[_0x4e46f2(0x2f2)]>0x7d||this['_opcode']===0x8&&this[_0x4e46f2(0x2f2)]===0x1){const _0x52dc1f=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x268)+this[_0x4e46f2(0x2f2)],!0x0,0x3ea,_0x4e46f2(0x30f));_0x4a230e(_0x52dc1f);return;}}else{const _0x74c63a=this['createError'](RangeError,_0x4e46f2(0x2e1)+this['_opcode'],!0x0,0x3ea,_0x4e46f2(0x1e0));_0x4a230e(_0x74c63a);return;}}}if(!this[_0x4e46f2(0x26d)]&&!this[_0x4e46f2(0x1ad)]&&(this[_0x4e46f2(0x1ad)]=this[_0x4e46f2(0x2f3)]),this[_0x4e46f2(0x1e6)]=(_0x4673a9[0x1]&0x80)===0x80,this['_isServer']){if(!this['_masked']){const _0xe0732d=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x322),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x4a230e(_0xe0732d);return;}}else{if(this[_0x4e46f2(0x1e6)]){const _0x5a4561=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x20f),!0x0,0x3ea,_0x4e46f2(0x333));_0x4a230e(_0x5a4561);return;}}this[_0x4e46f2(0x2f2)]===0x7e?this['_state']=_0x23329e:this['_payloadLength']===0x7f?this[_0x4e46f2(0x2d6)]=_0x149e25:this[_0x4e46f2(0x1f4)](_0x4a230e);}['getPayloadLength16'](_0x1ed3a6){const _0x2d38d0=_0x15daf8;if(this[_0x2d38d0(0x337)]<0x2){this['_loop']=!0x1;return;}this[_0x2d38d0(0x2f2)]=this['consume'](0x2)[_0x2d38d0(0x1c7)](0x0),this[_0x2d38d0(0x1f4)](_0x1ed3a6);}[_0x15daf8(0x18c)](_0x321275){const _0xb18a24=_0x15daf8;if(this[_0xb18a24(0x337)]<0x8){this[_0xb18a24(0x1f5)]=!0x1;return;}const _0x2ac34d=this['consume'](0x8),_0x3885fb=_0x2ac34d[_0xb18a24(0x2b4)](0x0);if(_0x3885fb>Math[_0xb18a24(0x278)](0x2,0x15)-0x1){const _0x171289=this['createError'](RangeError,_0xb18a24(0x214),!0x1,0x3f1,_0xb18a24(0x200));_0x321275(_0x171289);return;}this[_0xb18a24(0x2f2)]=_0x3885fb*Math['pow'](0x2,0x20)+_0x2ac34d[_0xb18a24(0x2b4)](0x4),this[_0xb18a24(0x1f4)](_0x321275);}[_0x15daf8(0x1f4)](_0x2e7eea){const _0x573650=_0x15daf8;if(this[_0x573650(0x2f2)]&&this[_0x573650(0x2f3)]<0x8&&(this['_totalPayloadLength']+=this[_0x573650(0x2f2)],this[_0x573650(0x206)]>this[_0x573650(0x2a2)]&&this[_0x573650(0x2a2)]>0x0)){const _0x26d58e=this[_0x573650(0x28b)](RangeError,_0x573650(0x188),!0x1,0x3f1,_0x573650(0x19b));_0x2e7eea(_0x26d58e);return;}this[_0x573650(0x1e6)]?this[_0x573650(0x2d6)]=_0x4966af:this[_0x573650(0x2d6)]=_0x2091dc;}[_0x15daf8(0x24c)](){const _0x3615a0=_0x15daf8;if(this[_0x3615a0(0x337)]<0x4){this[_0x3615a0(0x1f5)]=!0x1;return;}this[_0x3615a0(0x1a9)]=this[_0x3615a0(0x338)](0x4),this[_0x3615a0(0x2d6)]=_0x2091dc;}[_0x15daf8(0x219)](_0x141325){const _0x8c4470=_0x15daf8;let _0x54b362=_0x3f8ae0;if(this['_payloadLength']){if(this[_0x8c4470(0x337)]<this[_0x8c4470(0x2f2)]){this['_loop']=!0x1;return;}_0x54b362=this[_0x8c4470(0x338)](this[_0x8c4470(0x2f2)]),this['_masked']&&(this[_0x8c4470(0x1a9)][0x0]|this[_0x8c4470(0x1a9)][0x1]|this[_0x8c4470(0x1a9)][0x2]|this['_mask'][0x3])!==0x0&&_0x381e18(_0x54b362,this['_mask']);}if(this['_opcode']>0x7){this[_0x8c4470(0x27c)](_0x54b362,_0x141325);return;}if(this['_compressed']){this[_0x8c4470(0x2d6)]=_0x34871d,this[_0x8c4470(0x229)](_0x54b362,_0x141325);return;}_0x54b362[_0x8c4470(0x1b2)]&&(this['_messageLength']=this[_0x8c4470(0x206)],this['_fragments'][_0x8c4470(0x241)](_0x54b362)),this[_0x8c4470(0x232)](_0x141325);}[_0x15daf8(0x229)](_0x5020ac,_0x20ce1b){const _0x2f0aeb=_0x15daf8;this[_0x2f0aeb(0x1d6)][_0x1001af[_0x2f0aeb(0x296)]][_0x2f0aeb(0x229)](_0x5020ac,this[_0x2f0aeb(0x26d)],(_0x5e06ec,_0xcfc692)=>{const _0x3dcd14=_0x2f0aeb;if(_0x5e06ec)return _0x20ce1b(_0x5e06ec);if(_0xcfc692[_0x3dcd14(0x1b2)]){if(this[_0x3dcd14(0x233)]+=_0xcfc692[_0x3dcd14(0x1b2)],this['_messageLength']>this['_maxPayload']&&this['_maxPayload']>0x0){const _0x10f5c5=this[_0x3dcd14(0x28b)](RangeError,_0x3dcd14(0x188),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x20ce1b(_0x10f5c5);return;}this[_0x3dcd14(0x2e8)][_0x3dcd14(0x241)](_0xcfc692);}this[_0x3dcd14(0x232)](_0x20ce1b),this[_0x3dcd14(0x2d6)]===_0x548391&&this[_0x3dcd14(0x2ef)](_0x20ce1b);});}['dataMessage'](_0x5488cc){const _0x175d62=_0x15daf8;if(!this[_0x175d62(0x26d)]){this[_0x175d62(0x2d6)]=_0x548391;return;}const _0x4713e5=this[_0x175d62(0x233)],_0x5659c0=this['_fragments'];if(this['_totalPayloadLength']=0x0,this[_0x175d62(0x233)]=0x0,this[_0x175d62(0x1ad)]=0x0,this[_0x175d62(0x2e8)]=[],this[_0x175d62(0x2f3)]===0x2){let _0x3c400a;this['_binaryType']===_0x175d62(0x191)?_0x3c400a=_0x3bf982(_0x5659c0,_0x4713e5):this[_0x175d62(0x31d)]===_0x175d62(0x2a8)?_0x3c400a=_0x39cd05(_0x3bf982(_0x5659c0,_0x4713e5)):this['_binaryType']===_0x175d62(0x1e3)?_0x3c400a=new Blob(_0x5659c0):_0x3c400a=_0x5659c0,this['_allowSynchronousEvents']?(this[_0x175d62(0x22e)](_0x175d62(0x2a7),_0x3c400a,!0x0),this[_0x175d62(0x2d6)]=_0x548391):(this[_0x175d62(0x2d6)]=_0x17bcba,setImmediate(()=>{const _0x2b9ba3=_0x175d62;this[_0x2b9ba3(0x22e)](_0x2b9ba3(0x2a7),_0x3c400a,!0x0),this[_0x2b9ba3(0x2d6)]=_0x548391,this[_0x2b9ba3(0x2ef)](_0x5488cc);}));}else{const _0x335392=_0x3bf982(_0x5659c0,_0x4713e5);if(!this[_0x175d62(0x1bf)]&&!_0xe6e3b6(_0x335392)){const _0x35f966=this[_0x175d62(0x28b)](Error,_0x175d62(0x17b),!0x0,0x3ef,_0x175d62(0x21a));_0x5488cc(_0x35f966);return;}this[_0x175d62(0x2d6)]===_0x34871d||this[_0x175d62(0x25c)]?(this['emit']('message',_0x335392,!0x1),this['_state']=_0x548391):(this['_state']=_0x17bcba,setImmediate(()=>{const _0x15180b=_0x175d62;this[_0x15180b(0x22e)](_0x15180b(0x2a7),_0x335392,!0x1),this[_0x15180b(0x2d6)]=_0x548391,this[_0x15180b(0x2ef)](_0x5488cc);}));}}['controlMessage'](_0x440e4c,_0x1645dd){const _0x53c4e6=_0x15daf8;if(this[_0x53c4e6(0x2f3)]===0x8){if(_0x440e4c[_0x53c4e6(0x1b2)]===0x0)this['_loop']=!0x1,this[_0x53c4e6(0x22e)](_0x53c4e6(0x1ff),0x3ed,_0x3f8ae0),this['end']();else{const _0x5b8785=_0x440e4c[_0x53c4e6(0x1c7)](0x0);if(!_0x34458a(_0x5b8785)){const _0x3c713e=this[_0x53c4e6(0x28b)](RangeError,_0x53c4e6(0x267)+_0x5b8785,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x1645dd(_0x3c713e);return;}const _0x432eb0=new _0x495678(_0x440e4c[_0x53c4e6(0x1b7)],_0x440e4c[_0x53c4e6(0x318)]+0x2,_0x440e4c[_0x53c4e6(0x1b2)]-0x2);if(!this[_0x53c4e6(0x1bf)]&&!_0xe6e3b6(_0x432eb0)){const _0x15c84e=this[_0x53c4e6(0x28b)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x53c4e6(0x21a));_0x1645dd(_0x15c84e);return;}this['_loop']=!0x1,this[_0x53c4e6(0x22e)](_0x53c4e6(0x1ff),_0x5b8785,_0x432eb0),this[_0x53c4e6(0x2d5)]();}this['_state']=_0x548391;return;}this[_0x53c4e6(0x25c)]?(this['emit'](this[_0x53c4e6(0x2f3)]===0x9?_0x53c4e6(0x315):_0x53c4e6(0x25a),_0x440e4c),this[_0x53c4e6(0x2d6)]=_0x548391):(this[_0x53c4e6(0x2d6)]=_0x17bcba,setImmediate(()=>{const _0x8a0be7=_0x53c4e6;this[_0x8a0be7(0x22e)](this[_0x8a0be7(0x2f3)]===0x9?'ping':'pong',_0x440e4c),this[_0x8a0be7(0x2d6)]=_0x548391,this[_0x8a0be7(0x2ef)](_0x1645dd);}));}[_0x15daf8(0x28b)](_0x144973,_0x1a9647,_0x198864,_0x1ebd12,_0x48483a){const _0x311237=_0x15daf8;this[_0x311237(0x1f5)]=!0x1,this[_0x311237(0x17f)]=!0x0;const _0x27b8b2=new _0x144973(_0x198864?'Invalid\x20WebSocket\x20frame:\x20'+_0x1a9647:_0x1a9647);return Error['captureStackTrace'](_0x27b8b2,this[_0x311237(0x28b)]),_0x27b8b2['code']=_0x48483a,_0x27b8b2[_0x531700]=_0x1ebd12,_0x27b8b2;}}return Se=_0x1db027,Se;}var Ee,Xe;function ft(){const _0x5e83af=_0x51270a;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x296977}=oe,{randomFillSync:_0x3f4c4f}=Le,_0x4ceb31=he(),{EMPTY_BUFFER:_0x576cc3,kWebSocket:_0x5b91e8,NOOP:_0x15c189}=H(),{isBlob:_0x1e9481,isValidStatusCode:_0x496892}=ae(),{mask:_0x135bd9,toBuffer:_0x719f96}=ce(),_0x4e936f=Symbol(_0x5e83af(0x1e2)),_0x46770a=Buffer[_0x5e83af(0x260)](0x4),_0x587965=0x8*0x400;let _0x1352b5,_0x181cd4=_0x587965;const _0x4b0bfa=0x0,_0x679e1a=0x1,_0x26d0ae=0x2;class _0x3592fe{constructor(_0x121734,_0x19f0e5,_0x2bb486){const _0x4d9097=_0x5e83af;this[_0x4d9097(0x1d6)]=_0x19f0e5||{},_0x2bb486&&(this[_0x4d9097(0x1df)]=_0x2bb486,this['_maskBuffer']=Buffer['alloc'](0x4)),this[_0x4d9097(0x1fa)]=_0x121734,this[_0x4d9097(0x1be)]=!0x0,this[_0x4d9097(0x207)]=!0x1,this[_0x4d9097(0x337)]=0x0,this[_0x4d9097(0x22b)]=[],this['_state']=_0x4b0bfa,this[_0x4d9097(0x1ab)]=_0x15c189,this[_0x5b91e8]=void 0x0;}static[_0x5e83af(0x288)](_0x1fab8c,_0x4f2152){const _0x58b294=_0x5e83af;let _0x16c24d,_0x3688ef=!0x1,_0x4e6028=0x2,_0x4529bf=!0x1;_0x4f2152[_0x58b294(0x276)]&&(_0x16c24d=_0x4f2152[_0x58b294(0x279)]||_0x46770a,_0x4f2152[_0x58b294(0x246)]?_0x4f2152[_0x58b294(0x246)](_0x16c24d):(_0x181cd4===_0x587965&&(_0x1352b5===void 0x0&&(_0x1352b5=Buffer[_0x58b294(0x260)](_0x587965)),_0x3f4c4f(_0x1352b5,0x0,_0x587965),_0x181cd4=0x0),_0x16c24d[0x0]=_0x1352b5[_0x181cd4++],_0x16c24d[0x1]=_0x1352b5[_0x181cd4++],_0x16c24d[0x2]=_0x1352b5[_0x181cd4++],_0x16c24d[0x3]=_0x1352b5[_0x181cd4++]),_0x4529bf=(_0x16c24d[0x0]|_0x16c24d[0x1]|_0x16c24d[0x2]|_0x16c24d[0x3])===0x0,_0x4e6028=0x6);let _0x595c5b;typeof _0x1fab8c==_0x58b294(0x313)?(!_0x4f2152[_0x58b294(0x276)]||_0x4529bf)&&_0x4f2152[_0x4e936f]!==void 0x0?_0x595c5b=_0x4f2152[_0x4e936f]:(_0x1fab8c=Buffer[_0x58b294(0x2c3)](_0x1fab8c),_0x595c5b=_0x1fab8c[_0x58b294(0x1b2)]):(_0x595c5b=_0x1fab8c[_0x58b294(0x1b2)],_0x3688ef=_0x4f2152[_0x58b294(0x276)]&&_0x4f2152[_0x58b294(0x326)]&&!_0x4529bf);let _0x4b2e25=_0x595c5b;_0x595c5b>=0x10000?(_0x4e6028+=0x8,_0x4b2e25=0x7f):_0x595c5b>0x7d&&(_0x4e6028+=0x2,_0x4b2e25=0x7e);const _0x2b1fa0=Buffer[_0x58b294(0x1fb)](_0x3688ef?_0x595c5b+_0x4e6028:_0x4e6028);return _0x2b1fa0[0x0]=_0x4f2152[_0x58b294(0x2c8)]?_0x4f2152['opcode']|0x80:_0x4f2152['opcode'],_0x4f2152['rsv1']&&(_0x2b1fa0[0x0]|=0x40),_0x2b1fa0[0x1]=_0x4b2e25,_0x4b2e25===0x7e?_0x2b1fa0[_0x58b294(0x199)](_0x595c5b,0x2):_0x4b2e25===0x7f&&(_0x2b1fa0[0x2]=_0x2b1fa0[0x3]=0x0,_0x2b1fa0[_0x58b294(0x24f)](_0x595c5b,0x4,0x6)),_0x4f2152[_0x58b294(0x276)]?(_0x2b1fa0[0x1]|=0x80,_0x2b1fa0[_0x4e6028-0x4]=_0x16c24d[0x0],_0x2b1fa0[_0x4e6028-0x3]=_0x16c24d[0x1],_0x2b1fa0[_0x4e6028-0x2]=_0x16c24d[0x2],_0x2b1fa0[_0x4e6028-0x1]=_0x16c24d[0x3],_0x4529bf?[_0x2b1fa0,_0x1fab8c]:_0x3688ef?(_0x135bd9(_0x1fab8c,_0x16c24d,_0x2b1fa0,_0x4e6028,_0x595c5b),[_0x2b1fa0]):(_0x135bd9(_0x1fab8c,_0x16c24d,_0x1fab8c,0x0,_0x595c5b),[_0x2b1fa0,_0x1fab8c])):[_0x2b1fa0,_0x1fab8c];}[_0x5e83af(0x32c)](_0x2c9101,_0x2a2a74,_0x4c5a95,_0x4d1ce1){const _0x1ba070=_0x5e83af;let _0x2821a5;if(_0x2c9101===void 0x0)_0x2821a5=_0x576cc3;else{if(typeof _0x2c9101!=_0x1ba070(0x1ed)||!_0x496892(_0x2c9101))throw new TypeError(_0x1ba070(0x31a));if(_0x2a2a74===void 0x0||!_0x2a2a74['length'])_0x2821a5=Buffer[_0x1ba070(0x1fb)](0x2),_0x2821a5[_0x1ba070(0x199)](_0x2c9101,0x0);else{const _0x3d0eb2=Buffer[_0x1ba070(0x2be)](_0x2a2a74);if(_0x3d0eb2>0x7b)throw new RangeError(_0x1ba070(0x26e));_0x2821a5=Buffer['allocUnsafe'](0x2+_0x3d0eb2),_0x2821a5[_0x1ba070(0x199)](_0x2c9101,0x0),typeof _0x2a2a74==_0x1ba070(0x313)?_0x2821a5[_0x1ba070(0x2e3)](_0x2a2a74,0x2):_0x2821a5[_0x1ba070(0x1b3)](_0x2a2a74,0x2);}}const _0x153635={[_0x4e936f]:_0x2821a5[_0x1ba070(0x1b2)],'fin':!0x0,'generateMask':this[_0x1ba070(0x1df)],'mask':_0x4c5a95,'maskBuffer':this[_0x1ba070(0x250)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x1ba070(0x2d6)]!==_0x4b0bfa?this[_0x1ba070(0x2c5)]([this[_0x1ba070(0x1e7)],_0x2821a5,!0x1,_0x153635,_0x4d1ce1]):this[_0x1ba070(0x2df)](_0x3592fe['frame'](_0x2821a5,_0x153635),_0x4d1ce1);}[_0x5e83af(0x315)](_0x5efda7,_0x27483f,_0x329a0e){const _0x3c825e=_0x5e83af;let _0x36d595,_0x46f952;if(typeof _0x5efda7=='string'?(_0x36d595=Buffer['byteLength'](_0x5efda7),_0x46f952=!0x1):_0x1e9481(_0x5efda7)?(_0x36d595=_0x5efda7[_0x3c825e(0x2b0)],_0x46f952=!0x1):(_0x5efda7=_0x719f96(_0x5efda7),_0x36d595=_0x5efda7[_0x3c825e(0x1b2)],_0x46f952=_0x719f96[_0x3c825e(0x326)]),_0x36d595>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x511589={[_0x4e936f]:_0x36d595,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x27483f,'maskBuffer':this[_0x3c825e(0x250)],'opcode':0x9,'readOnly':_0x46f952,'rsv1':!0x1};_0x1e9481(_0x5efda7)?this[_0x3c825e(0x2d6)]!==_0x4b0bfa?this['enqueue']([this['getBlobData'],_0x5efda7,!0x1,_0x511589,_0x329a0e]):this['getBlobData'](_0x5efda7,!0x1,_0x511589,_0x329a0e):this['_state']!==_0x4b0bfa?this[_0x3c825e(0x2c5)]([this[_0x3c825e(0x1e7)],_0x5efda7,!0x1,_0x511589,_0x329a0e]):this['sendFrame'](_0x3592fe['frame'](_0x5efda7,_0x511589),_0x329a0e);}[_0x5e83af(0x25a)](_0x21a5a4,_0x2b235d,_0x186a03){const _0x482ff1=_0x5e83af;let _0x2b3f33,_0x8d3b1d;if(typeof _0x21a5a4=='string'?(_0x2b3f33=Buffer['byteLength'](_0x21a5a4),_0x8d3b1d=!0x1):_0x1e9481(_0x21a5a4)?(_0x2b3f33=_0x21a5a4['size'],_0x8d3b1d=!0x1):(_0x21a5a4=_0x719f96(_0x21a5a4),_0x2b3f33=_0x21a5a4[_0x482ff1(0x1b2)],_0x8d3b1d=_0x719f96[_0x482ff1(0x326)]),_0x2b3f33>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x4ed54c={[_0x4e936f]:_0x2b3f33,'fin':!0x0,'generateMask':this[_0x482ff1(0x1df)],'mask':_0x2b235d,'maskBuffer':this[_0x482ff1(0x250)],'opcode':0xa,'readOnly':_0x8d3b1d,'rsv1':!0x1};_0x1e9481(_0x21a5a4)?this[_0x482ff1(0x2d6)]!==_0x4b0bfa?this[_0x482ff1(0x2c5)]([this[_0x482ff1(0x283)],_0x21a5a4,!0x1,_0x4ed54c,_0x186a03]):this[_0x482ff1(0x283)](_0x21a5a4,!0x1,_0x4ed54c,_0x186a03):this['_state']!==_0x4b0bfa?this[_0x482ff1(0x2c5)]([this['dispatch'],_0x21a5a4,!0x1,_0x4ed54c,_0x186a03]):this['sendFrame'](_0x3592fe[_0x482ff1(0x288)](_0x21a5a4,_0x4ed54c),_0x186a03);}[_0x5e83af(0x2ba)](_0x4d4293,_0x49efb7,_0x3c3e4f){const _0x59a8e7=_0x5e83af,_0x4fe989=this[_0x59a8e7(0x1d6)][_0x4ceb31[_0x59a8e7(0x296)]];let _0x57de76=_0x49efb7['binary']?0x2:0x1,_0x64ae08=_0x49efb7[_0x59a8e7(0x1c3)],_0x30ea09,_0x4935f0;typeof _0x4d4293==_0x59a8e7(0x313)?(_0x30ea09=Buffer[_0x59a8e7(0x2be)](_0x4d4293),_0x4935f0=!0x1):_0x1e9481(_0x4d4293)?(_0x30ea09=_0x4d4293[_0x59a8e7(0x2b0)],_0x4935f0=!0x1):(_0x4d4293=_0x719f96(_0x4d4293),_0x30ea09=_0x4d4293[_0x59a8e7(0x1b2)],_0x4935f0=_0x719f96[_0x59a8e7(0x326)]),this[_0x59a8e7(0x1be)]?(this[_0x59a8e7(0x1be)]=!0x1,_0x64ae08&&_0x4fe989&&_0x4fe989[_0x59a8e7(0x2b9)][_0x4fe989['_isServer']?_0x59a8e7(0x28a):_0x59a8e7(0x270)]&&(_0x64ae08=_0x30ea09>=_0x4fe989[_0x59a8e7(0x314)]),this['_compress']=_0x64ae08):(_0x64ae08=!0x1,_0x57de76=0x0),_0x49efb7[_0x59a8e7(0x2c8)]&&(this[_0x59a8e7(0x1be)]=!0x0);const _0xc2c6c6={[_0x4e936f]:_0x30ea09,'fin':_0x49efb7[_0x59a8e7(0x2c8)],'generateMask':this[_0x59a8e7(0x1df)],'mask':_0x49efb7['mask'],'maskBuffer':this[_0x59a8e7(0x250)],'opcode':_0x57de76,'readOnly':_0x4935f0,'rsv1':_0x64ae08};_0x1e9481(_0x4d4293)?this[_0x59a8e7(0x2d6)]!==_0x4b0bfa?this[_0x59a8e7(0x2c5)]([this[_0x59a8e7(0x283)],_0x4d4293,this[_0x59a8e7(0x207)],_0xc2c6c6,_0x3c3e4f]):this[_0x59a8e7(0x283)](_0x4d4293,this[_0x59a8e7(0x207)],_0xc2c6c6,_0x3c3e4f):this[_0x59a8e7(0x2d6)]!==_0x4b0bfa?this[_0x59a8e7(0x2c5)]([this['dispatch'],_0x4d4293,this[_0x59a8e7(0x207)],_0xc2c6c6,_0x3c3e4f]):this['dispatch'](_0x4d4293,this[_0x59a8e7(0x207)],_0xc2c6c6,_0x3c3e4f);}[_0x5e83af(0x283)](_0xff2f5c,_0x89b378,_0x3f2801,_0x4c335e){const _0x5b9de8=_0x5e83af;this[_0x5b9de8(0x337)]+=_0x3f2801[_0x4e936f],this['_state']=_0x26d0ae,_0xff2f5c[_0x5b9de8(0x30b)]()[_0x5b9de8(0x2d2)](_0x5b4f02=>{const _0x4a12a5=_0x5b9de8;if(this['_socket'][_0x4a12a5(0x21c)]){const _0x5bef01=new Error(_0x4a12a5(0x2fb));process[_0x4a12a5(0x258)](_0x34cf26,this,_0x5bef01,_0x4c335e);return;}this['_bufferedBytes']-=_0x3f2801[_0x4e936f];const _0xdfbbdf=_0x719f96(_0x5b4f02);_0x89b378?this[_0x4a12a5(0x1e7)](_0xdfbbdf,_0x89b378,_0x3f2801,_0x4c335e):(this[_0x4a12a5(0x2d6)]=_0x4b0bfa,this[_0x4a12a5(0x2df)](_0x3592fe[_0x4a12a5(0x288)](_0xdfbbdf,_0x3f2801),_0x4c335e),this['dequeue']());})[_0x5b9de8(0x198)](_0xd3e699=>{process['nextTick'](_0x4d670d,this,_0xd3e699,_0x4c335e);});}[_0x5e83af(0x1e7)](_0x4e86fa,_0x53b99b,_0x24c5ff,_0x1f6de4){const _0x17de61=_0x5e83af;if(!_0x53b99b){this['sendFrame'](_0x3592fe[_0x17de61(0x288)](_0x4e86fa,_0x24c5ff),_0x1f6de4);return;}const _0x125897=this['_extensions'][_0x4ceb31[_0x17de61(0x296)]];this[_0x17de61(0x337)]+=_0x24c5ff[_0x4e936f],this[_0x17de61(0x2d6)]=_0x679e1a,_0x125897[_0x17de61(0x1c3)](_0x4e86fa,_0x24c5ff['fin'],(_0x2bfd8b,_0x1c4560)=>{const _0xbcf31a=_0x17de61;if(this['_socket'][_0xbcf31a(0x21c)]){const _0x310522=new Error(_0xbcf31a(0x335));_0x34cf26(this,_0x310522,_0x1f6de4);return;}this[_0xbcf31a(0x337)]-=_0x24c5ff[_0x4e936f],this[_0xbcf31a(0x2d6)]=_0x4b0bfa,_0x24c5ff[_0xbcf31a(0x326)]=!0x1,this[_0xbcf31a(0x2df)](_0x3592fe[_0xbcf31a(0x288)](_0x1c4560,_0x24c5ff),_0x1f6de4),this[_0xbcf31a(0x1a4)]();});}[_0x5e83af(0x1a4)](){const _0x499fcd=_0x5e83af;for(;this[_0x499fcd(0x2d6)]===_0x4b0bfa&&this[_0x499fcd(0x22b)][_0x499fcd(0x1b2)];){const _0x2fe1e1=this[_0x499fcd(0x22b)]['shift']();this['_bufferedBytes']-=_0x2fe1e1[0x3][_0x4e936f],Reflect[_0x499fcd(0x24b)](_0x2fe1e1[0x0],this,_0x2fe1e1[_0x499fcd(0x18f)](0x1));}}[_0x5e83af(0x2c5)](_0x8450a2){const _0x2f2122=_0x5e83af;this['_bufferedBytes']+=_0x8450a2[0x3][_0x4e936f],this[_0x2f2122(0x22b)]['push'](_0x8450a2);}[_0x5e83af(0x2df)](_0x477966,_0x32ae17){const _0x4b1c61=_0x5e83af;_0x477966[_0x4b1c61(0x1b2)]===0x2?(this[_0x4b1c61(0x1fa)][_0x4b1c61(0x202)](),this[_0x4b1c61(0x1fa)][_0x4b1c61(0x2e3)](_0x477966[0x0]),this[_0x4b1c61(0x1fa)][_0x4b1c61(0x2e3)](_0x477966[0x1],_0x32ae17),this[_0x4b1c61(0x1fa)][_0x4b1c61(0x29a)]()):this[_0x4b1c61(0x1fa)][_0x4b1c61(0x2e3)](_0x477966[0x0],_0x32ae17);}}Ee=_0x3592fe;function _0x34cf26(_0x345032,_0x103054,_0x83534f){const _0x168237=_0x5e83af;typeof _0x83534f=='function'&&_0x83534f(_0x103054);for(let _0x4ecc30=0x0;_0x4ecc30<_0x345032[_0x168237(0x22b)][_0x168237(0x1b2)];_0x4ecc30++){const _0x272d21=_0x345032[_0x168237(0x22b)][_0x4ecc30],_0x15add3=_0x272d21[_0x272d21[_0x168237(0x1b2)]-0x1];typeof _0x15add3==_0x168237(0x2b3)&&_0x15add3(_0x103054);}}function _0x4d670d(_0x5d93d1,_0x1c2ff9,_0x4a6cac){const _0x403af8=_0x5e83af;_0x34cf26(_0x5d93d1,_0x1c2ff9,_0x4a6cac),_0x5d93d1[_0x403af8(0x1ab)](_0x1c2ff9);}return Ee;}var xe,Ze;function It(){const _0x3e4a49=_0x51270a;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x272b74,kListener:_0x9466c8}=H(),_0x4730aa=Symbol(_0x3e4a49(0x211)),_0x211b30=Symbol(_0x3e4a49(0x209)),_0xf51e97=Symbol(_0x3e4a49(0x2a5)),_0x3f4e97=Symbol(_0x3e4a49(0x254)),_0x3b8aa5=Symbol(_0x3e4a49(0x2b1)),_0x343ef5=Symbol(_0x3e4a49(0x2fc)),_0x5e9302=Symbol('kType'),_0x40b6f4=Symbol(_0x3e4a49(0x334));class _0x14c0b6{constructor(_0x1f0a96){this[_0x343ef5]=null,this[_0x5e9302]=_0x1f0a96;}get[_0x3e4a49(0x2fe)](){return this[_0x343ef5];}get[_0x3e4a49(0x2b6)](){return this[_0x5e9302];}}Object[_0x3e4a49(0x27d)](_0x14c0b6[_0x3e4a49(0x24a)],_0x3e4a49(0x2fe),{'enumerable':!0x0}),Object[_0x3e4a49(0x27d)](_0x14c0b6[_0x3e4a49(0x24a)],_0x3e4a49(0x2b6),{'enumerable':!0x0});class _0x816087 extends _0x14c0b6{constructor(_0x262b7a,_0x20ba3c={}){const _0x4935d7=_0x3e4a49;super(_0x262b7a),this[_0x4730aa]=_0x20ba3c[_0x4935d7(0x2f0)]===void 0x0?0x0:_0x20ba3c[_0x4935d7(0x2f0)],this[_0x3b8aa5]=_0x20ba3c[_0x4935d7(0x1ae)]===void 0x0?'':_0x20ba3c['reason'],this[_0x40b6f4]=_0x20ba3c[_0x4935d7(0x1cf)]===void 0x0?!0x1:_0x20ba3c[_0x4935d7(0x1cf)];}get[_0x3e4a49(0x2f0)](){return this[_0x4730aa];}get[_0x3e4a49(0x1ae)](){return this[_0x3b8aa5];}get[_0x3e4a49(0x1cf)](){return this[_0x40b6f4];}}Object['defineProperty'](_0x816087['prototype'],_0x3e4a49(0x2f0),{'enumerable':!0x0}),Object[_0x3e4a49(0x27d)](_0x816087[_0x3e4a49(0x24a)],_0x3e4a49(0x1ae),{'enumerable':!0x0}),Object['defineProperty'](_0x816087[_0x3e4a49(0x24a)],_0x3e4a49(0x1cf),{'enumerable':!0x0});class _0x81704d extends _0x14c0b6{constructor(_0x4d5481,_0x2c380a={}){const _0x49a83e=_0x3e4a49;super(_0x4d5481),this[_0xf51e97]=_0x2c380a[_0x49a83e(0x1fc)]===void 0x0?null:_0x2c380a[_0x49a83e(0x1fc)],this[_0x3f4e97]=_0x2c380a[_0x49a83e(0x2a7)]===void 0x0?'':_0x2c380a['message'];}get[_0x3e4a49(0x1fc)](){return this[_0xf51e97];}get[_0x3e4a49(0x2a7)](){return this[_0x3f4e97];}}Object[_0x3e4a49(0x27d)](_0x81704d[_0x3e4a49(0x24a)],_0x3e4a49(0x1fc),{'enumerable':!0x0}),Object[_0x3e4a49(0x27d)](_0x81704d['prototype'],_0x3e4a49(0x2a7),{'enumerable':!0x0});class _0x35f55c extends _0x14c0b6{constructor(_0x5bccb5,_0x236ab2={}){const _0x450880=_0x3e4a49;super(_0x5bccb5),this[_0x211b30]=_0x236ab2[_0x450880(0x231)]===void 0x0?null:_0x236ab2[_0x450880(0x231)];}get[_0x3e4a49(0x231)](){return this[_0x211b30];}}Object['defineProperty'](_0x35f55c[_0x3e4a49(0x24a)],_0x3e4a49(0x231),{'enumerable':!0x0}),xe={'CloseEvent':_0x816087,'ErrorEvent':_0x81704d,'Event':_0x14c0b6,'EventTarget':{'addEventListener'(_0x34e24d,_0x4f0406,_0x3f1d14={}){const _0x59f36c=_0x3e4a49;for(const _0x29fd56 of this[_0x59f36c(0x221)](_0x34e24d))if(!_0x3f1d14[_0x272b74]&&_0x29fd56[_0x9466c8]===_0x4f0406&&!_0x29fd56[_0x272b74])return;let _0x9e1232;if(_0x34e24d===_0x59f36c(0x2a7))_0x9e1232=function(_0x39b9a5,_0x123761){const _0x565666=_0x59f36c,_0x3ce3cb=new _0x35f55c(_0x565666(0x2a7),{'data':_0x123761?_0x39b9a5:_0x39b9a5['toString']()});_0x3ce3cb[_0x343ef5]=this,_0x3c49a5(_0x4f0406,this,_0x3ce3cb);};else{if(_0x34e24d===_0x59f36c(0x32c))_0x9e1232=function(_0x534338,_0x42b364){const _0x1d6824=_0x59f36c,_0x5ea3c5=new _0x816087('close',{'code':_0x534338,'reason':_0x42b364[_0x1d6824(0x1ec)](),'wasClean':this[_0x1d6824(0x1f1)]&&this[_0x1d6824(0x255)]});_0x5ea3c5[_0x343ef5]=this,_0x3c49a5(_0x4f0406,this,_0x5ea3c5);};else{if(_0x34e24d===_0x59f36c(0x1fc))_0x9e1232=function(_0x3d6255){const _0x4e10b4=_0x59f36c,_0x37ad00=new _0x81704d(_0x4e10b4(0x1fc),{'error':_0x3d6255,'message':_0x3d6255[_0x4e10b4(0x2a7)]});_0x37ad00[_0x343ef5]=this,_0x3c49a5(_0x4f0406,this,_0x37ad00);};else{if(_0x34e24d===_0x59f36c(0x1ef))_0x9e1232=function(){const _0x476c8e=new _0x14c0b6('open');_0x476c8e[_0x343ef5]=this,_0x3c49a5(_0x4f0406,this,_0x476c8e);};else return;}}}_0x9e1232[_0x272b74]=!!_0x3f1d14[_0x272b74],_0x9e1232[_0x9466c8]=_0x4f0406,_0x3f1d14[_0x59f36c(0x204)]?this['once'](_0x34e24d,_0x9e1232):this['on'](_0x34e24d,_0x9e1232);},'removeEventListener'(_0x512a9a,_0x152ca3){const _0x323b7a=_0x3e4a49;for(const _0x8c9057 of this[_0x323b7a(0x221)](_0x512a9a))if(_0x8c9057[_0x9466c8]===_0x152ca3&&!_0x8c9057[_0x272b74]){this[_0x323b7a(0x256)](_0x512a9a,_0x8c9057);break;}}},'MessageEvent':_0x35f55c};function _0x3c49a5(_0x13f8ea,_0x3acc19,_0x4eb528){const _0x3c8704=_0x3e4a49;typeof _0x13f8ea==_0x3c8704(0x217)&&_0x13f8ea[_0x3c8704(0x223)]?_0x13f8ea[_0x3c8704(0x223)][_0x3c8704(0x1ac)](_0x13f8ea,_0x4eb528):_0x13f8ea[_0x3c8704(0x1ac)](_0x3acc19,_0x4eb528);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x222f98}=ae();function _0x5d8b0b(_0x24d34c,_0x41fa32,_0x373bd4){const _0x5f4b94=_0x22a9;_0x24d34c[_0x41fa32]===void 0x0?_0x24d34c[_0x41fa32]=[_0x373bd4]:_0x24d34c[_0x41fa32][_0x5f4b94(0x241)](_0x373bd4);}function _0x478e78(_0x4c135e){const _0x185300=_0x22a9,_0x14473b=Object[_0x185300(0x2d4)](null);let _0x529f49=Object[_0x185300(0x2d4)](null),_0x19b154=!0x1,_0x2d86c6=!0x1,_0x5aac4e=!0x1,_0x2533cb,_0x47ceb3,_0x2db090=-0x1,_0x5af79c=-0x1,_0x39a8fb=-0x1,_0x30048c=0x0;for(;_0x30048c<_0x4c135e['length'];_0x30048c++)if(_0x5af79c=_0x4c135e[_0x185300(0x293)](_0x30048c),_0x2533cb===void 0x0){if(_0x39a8fb===-0x1&&_0x222f98[_0x5af79c]===0x1)_0x2db090===-0x1&&(_0x2db090=_0x30048c);else{if(_0x30048c!==0x0&&(_0x5af79c===0x20||_0x5af79c===0x9))_0x39a8fb===-0x1&&_0x2db090!==-0x1&&(_0x39a8fb=_0x30048c);else{if(_0x5af79c===0x3b||_0x5af79c===0x2c){if(_0x2db090===-0x1)throw new SyntaxError(_0x185300(0x205)+_0x30048c);_0x39a8fb===-0x1&&(_0x39a8fb=_0x30048c);const _0x295365=_0x4c135e[_0x185300(0x18f)](_0x2db090,_0x39a8fb);_0x5af79c===0x2c?(_0x5d8b0b(_0x14473b,_0x295365,_0x529f49),_0x529f49=Object[_0x185300(0x2d4)](null)):_0x2533cb=_0x295365,_0x2db090=_0x39a8fb=-0x1;}else throw new SyntaxError(_0x185300(0x205)+_0x30048c);}}}else{if(_0x47ceb3===void 0x0){if(_0x39a8fb===-0x1&&_0x222f98[_0x5af79c]===0x1)_0x2db090===-0x1&&(_0x2db090=_0x30048c);else{if(_0x5af79c===0x20||_0x5af79c===0x9)_0x39a8fb===-0x1&&_0x2db090!==-0x1&&(_0x39a8fb=_0x30048c);else{if(_0x5af79c===0x3b||_0x5af79c===0x2c){if(_0x2db090===-0x1)throw new SyntaxError(_0x185300(0x205)+_0x30048c);_0x39a8fb===-0x1&&(_0x39a8fb=_0x30048c),_0x5d8b0b(_0x529f49,_0x4c135e['slice'](_0x2db090,_0x39a8fb),!0x0),_0x5af79c===0x2c&&(_0x5d8b0b(_0x14473b,_0x2533cb,_0x529f49),_0x529f49=Object['create'](null),_0x2533cb=void 0x0),_0x2db090=_0x39a8fb=-0x1;}else{if(_0x5af79c===0x3d&&_0x2db090!==-0x1&&_0x39a8fb===-0x1)_0x47ceb3=_0x4c135e[_0x185300(0x18f)](_0x2db090,_0x30048c),_0x2db090=_0x39a8fb=-0x1;else throw new SyntaxError(_0x185300(0x205)+_0x30048c);}}}}else{if(_0x2d86c6){if(_0x222f98[_0x5af79c]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x30048c);_0x2db090===-0x1?_0x2db090=_0x30048c:_0x19b154||(_0x19b154=!0x0),_0x2d86c6=!0x1;}else{if(_0x5aac4e){if(_0x222f98[_0x5af79c]===0x1)_0x2db090===-0x1&&(_0x2db090=_0x30048c);else{if(_0x5af79c===0x22&&_0x2db090!==-0x1)_0x5aac4e=!0x1,_0x39a8fb=_0x30048c;else{if(_0x5af79c===0x5c)_0x2d86c6=!0x0;else throw new SyntaxError(_0x185300(0x205)+_0x30048c);}}}else{if(_0x5af79c===0x22&&_0x4c135e[_0x185300(0x293)](_0x30048c-0x1)===0x3d)_0x5aac4e=!0x0;else{if(_0x39a8fb===-0x1&&_0x222f98[_0x5af79c]===0x1)_0x2db090===-0x1&&(_0x2db090=_0x30048c);else{if(_0x2db090!==-0x1&&(_0x5af79c===0x20||_0x5af79c===0x9))_0x39a8fb===-0x1&&(_0x39a8fb=_0x30048c);else{if(_0x5af79c===0x3b||_0x5af79c===0x2c){if(_0x2db090===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x30048c);_0x39a8fb===-0x1&&(_0x39a8fb=_0x30048c);let _0x55145f=_0x4c135e[_0x185300(0x18f)](_0x2db090,_0x39a8fb);_0x19b154&&(_0x55145f=_0x55145f[_0x185300(0x187)](/\\/g,''),_0x19b154=!0x1),_0x5d8b0b(_0x529f49,_0x47ceb3,_0x55145f),_0x5af79c===0x2c&&(_0x5d8b0b(_0x14473b,_0x2533cb,_0x529f49),_0x529f49=Object['create'](null),_0x2533cb=void 0x0),_0x47ceb3=void 0x0,_0x2db090=_0x39a8fb=-0x1;}else throw new SyntaxError(_0x185300(0x205)+_0x30048c);}}}}}}}if(_0x2db090===-0x1||_0x5aac4e||_0x5af79c===0x20||_0x5af79c===0x9)throw new SyntaxError(_0x185300(0x19a));_0x39a8fb===-0x1&&(_0x39a8fb=_0x30048c);const _0x2361d0=_0x4c135e['slice'](_0x2db090,_0x39a8fb);return _0x2533cb===void 0x0?_0x5d8b0b(_0x14473b,_0x2361d0,_0x529f49):(_0x47ceb3===void 0x0?_0x5d8b0b(_0x529f49,_0x2361d0,!0x0):_0x19b154?_0x5d8b0b(_0x529f49,_0x47ceb3,_0x2361d0[_0x185300(0x187)](/\\/g,'')):_0x5d8b0b(_0x529f49,_0x47ceb3,_0x2361d0),_0x5d8b0b(_0x14473b,_0x2533cb,_0x529f49)),_0x14473b;}function _0x3034f6(_0x234cd0){const _0x27abe4=_0x22a9;return Object[_0x27abe4(0x2ad)](_0x234cd0)[_0x27abe4(0x17c)](_0x148c51=>{const _0x238a4d=_0x27abe4;let _0x3fe902=_0x234cd0[_0x148c51];return Array['isArray'](_0x3fe902)||(_0x3fe902=[_0x3fe902]),_0x3fe902[_0x238a4d(0x17c)](_0x3a8e50=>[_0x148c51]['concat'](Object['keys'](_0x3a8e50)[_0x238a4d(0x17c)](_0x3ca3c2=>{const _0x6ce399=_0x238a4d;let _0x2f38b6=_0x3a8e50[_0x3ca3c2];return Array['isArray'](_0x2f38b6)||(_0x2f38b6=[_0x2f38b6]),_0x2f38b6[_0x6ce399(0x17c)](_0x4d226c=>_0x4d226c===!0x0?_0x3ca3c2:_0x3ca3c2+'='+_0x4d226c)[_0x6ce399(0x230)](';\x20');}))[_0x238a4d(0x230)](';\x20'))[_0x238a4d(0x230)](',\x20');})[_0x27abe4(0x230)](',\x20');}return be={'format':_0x3034f6,'parse':_0x478e78},be;}var we,Je;function Pe(){const _0x921c42=_0x51270a;if(Je)return we;Je=0x1;const _0x5b0804=nt,_0x329860=vt,_0x41afe7=ot,_0xacd019=St,_0x3933e9=Et,{randomBytes:_0x552dee,createHash:_0xd57c82}=Le,{Duplex:_0x1c975f,Readable:_0x3f2990}=oe,{URL:_0x1234ab}=xt,_0xab697b=he(),_0x55f15e=lt(),_0x30e018=ft(),{isBlob:_0x512a16}=ae(),{BINARY_TYPES:_0x322fca,EMPTY_BUFFER:_0x28dcb5,GUID:_0x49f23c,kForOnEventAttribute:_0x30fe2e,kListener:_0x5bedd6,kStatusCode:_0x138ab3,kWebSocket:_0x4f2815,NOOP:_0x3c5e93}=H(),{EventTarget:{addEventListener:_0x21f1f5,removeEventListener:_0x226c86}}=It(),{format:_0x1e6366,parse:_0x11f6e9}=ct(),{toBuffer:_0x30a6c0}=ce(),_0x4f297f=0x1e*0x3e8,_0xfaf311=Symbol(_0x921c42(0x26f)),_0x1f0ad0=[0x8,0xd],_0x25a73a=['CONNECTING',_0x921c42(0x216),'CLOSING','CLOSED'],_0x229d03=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xbabdc extends _0x5b0804{constructor(_0x33718d,_0x5118e7,_0x56a09c){const _0x3454c8=_0x921c42;super(),this[_0x3454c8(0x31d)]=_0x322fca[0x0],this[_0x3454c8(0x2a1)]=0x3ee,this[_0x3454c8(0x1f1)]=!0x1,this[_0x3454c8(0x255)]=!0x1,this[_0x3454c8(0x2aa)]=_0x28dcb5,this[_0x3454c8(0x2d9)]=null,this[_0x3454c8(0x208)]=!0x1,this[_0x3454c8(0x1d6)]={},this[_0x3454c8(0x1c4)]=!0x1,this[_0x3454c8(0x243)]='',this[_0x3454c8(0x261)]=_0xbabdc[_0x3454c8(0x1fe)],this['_receiver']=null,this['_sender']=null,this[_0x3454c8(0x1fa)]=null,_0x33718d!==null?(this['_bufferedAmount']=0x0,this[_0x3454c8(0x1de)]=!0x1,this['_redirects']=0x0,_0x5118e7===void 0x0?_0x5118e7=[]:Array[_0x3454c8(0x305)](_0x5118e7)||(typeof _0x5118e7==_0x3454c8(0x217)&&_0x5118e7!==null?(_0x56a09c=_0x5118e7,_0x5118e7=[]):_0x5118e7=[_0x5118e7]),_0xafa29c(this,_0x33718d,_0x5118e7,_0x56a09c)):(this[_0x3454c8(0x1a3)]=_0x56a09c[_0x3454c8(0x20c)],this[_0x3454c8(0x1de)]=!0x0);}get['binaryType'](){return this['_binaryType'];}set[_0x921c42(0x2ec)](_0x82f12e){const _0x2eed3e=_0x921c42;_0x322fca[_0x2eed3e(0x317)](_0x82f12e)&&(this['_binaryType']=_0x82f12e,this[_0x2eed3e(0x19e)]&&(this[_0x2eed3e(0x19e)][_0x2eed3e(0x31d)]=_0x82f12e));}get[_0x921c42(0x2cf)](){const _0x52fd90=_0x921c42;return this[_0x52fd90(0x1fa)]?this[_0x52fd90(0x1fa)][_0x52fd90(0x177)][_0x52fd90(0x1b2)]+this[_0x52fd90(0x1b8)][_0x52fd90(0x337)]:this[_0x52fd90(0x1a0)];}get[_0x921c42(0x2bd)](){const _0x4917c7=_0x921c42;return Object[_0x4917c7(0x2ad)](this[_0x4917c7(0x1d6)])[_0x4917c7(0x230)]();}get[_0x921c42(0x21f)](){const _0x4e5b32=_0x921c42;return this[_0x4e5b32(0x1c4)];}get['onclose'](){return null;}get[_0x921c42(0x1ab)](){return null;}get[_0x921c42(0x1d7)](){return null;}get[_0x921c42(0x2d3)](){return null;}get[_0x921c42(0x18a)](){const _0x59c04e=_0x921c42;return this[_0x59c04e(0x243)];}get[_0x921c42(0x18e)](){const _0x3d4a1e=_0x921c42;return this[_0x3d4a1e(0x261)];}get['url'](){const _0x5118c1=_0x921c42;return this[_0x5118c1(0x2da)];}[_0x921c42(0x26b)](_0x5a87a5,_0x561e42,_0x48269d){const _0x452a1b=_0x921c42,_0xe63e70=new _0x55f15e({'allowSynchronousEvents':_0x48269d[_0x452a1b(0x309)],'binaryType':this[_0x452a1b(0x2ec)],'extensions':this[_0x452a1b(0x1d6)],'isServer':this[_0x452a1b(0x1de)],'maxPayload':_0x48269d[_0x452a1b(0x181)],'skipUTF8Validation':_0x48269d[_0x452a1b(0x2d0)]}),_0x4b0743=new _0x30e018(_0x5a87a5,this[_0x452a1b(0x1d6)],_0x48269d[_0x452a1b(0x246)]);this[_0x452a1b(0x19e)]=_0xe63e70,this['_sender']=_0x4b0743,this[_0x452a1b(0x1fa)]=_0x5a87a5,_0xe63e70[_0x4f2815]=this,_0x4b0743[_0x4f2815]=this,_0x5a87a5[_0x4f2815]=this,_0xe63e70['on'](_0x452a1b(0x1ff),_0x4f7e55),_0xe63e70['on'](_0x452a1b(0x18b),_0x4cb3b2),_0xe63e70['on'](_0x452a1b(0x1fc),_0x2b0490),_0xe63e70['on']('message',_0xd758d5),_0xe63e70['on'](_0x452a1b(0x315),_0x995894),_0xe63e70['on'](_0x452a1b(0x25a),_0x4ca5a2),_0x4b0743['onerror']=_0x16628c,_0x5a87a5[_0x452a1b(0x1bd)]&&_0x5a87a5['setTimeout'](0x0),_0x5a87a5['setNoDelay']&&_0x5a87a5[_0x452a1b(0x2c4)](),_0x561e42[_0x452a1b(0x1b2)]>0x0&&_0x5a87a5[_0x452a1b(0x20a)](_0x561e42),_0x5a87a5['on'](_0x452a1b(0x32c),_0x4d28c6),_0x5a87a5['on'](_0x452a1b(0x231),_0x2ec1db),_0x5a87a5['on'](_0x452a1b(0x2d5),_0xb4d3d3),_0x5a87a5['on'](_0x452a1b(0x1fc),_0x5252cc),this[_0x452a1b(0x261)]=_0xbabdc[_0x452a1b(0x216)],this[_0x452a1b(0x22e)](_0x452a1b(0x1ef));}[_0x921c42(0x2ae)](){const _0x590fca=_0x921c42;if(!this['_socket']){this[_0x590fca(0x261)]=_0xbabdc[_0x590fca(0x24d)],this['emit']('close',this[_0x590fca(0x2a1)],this[_0x590fca(0x2aa)]);return;}this[_0x590fca(0x1d6)][_0xab697b[_0x590fca(0x296)]]&&this[_0x590fca(0x1d6)][_0xab697b[_0x590fca(0x296)]][_0x590fca(0x2dd)](),this[_0x590fca(0x19e)][_0x590fca(0x302)](),this[_0x590fca(0x261)]=_0xbabdc[_0x590fca(0x24d)],this[_0x590fca(0x22e)](_0x590fca(0x32c),this[_0x590fca(0x2a1)],this[_0x590fca(0x2aa)]);}[_0x921c42(0x32c)](_0x2c756c,_0x55bcbf){const _0x3dfb11=_0x921c42;if(this['readyState']!==_0xbabdc[_0x3dfb11(0x24d)]){if(this['readyState']===_0xbabdc[_0x3dfb11(0x1fe)]){_0x3c09fa(this,this[_0x3dfb11(0x183)],_0x3dfb11(0x1c8));return;}if(this['readyState']===_0xbabdc[_0x3dfb11(0x27e)]){this[_0x3dfb11(0x255)]&&(this[_0x3dfb11(0x1f1)]||this[_0x3dfb11(0x19e)][_0x3dfb11(0x177)][_0x3dfb11(0x32a)])&&this['_socket'][_0x3dfb11(0x2d5)]();return;}this[_0x3dfb11(0x261)]=_0xbabdc[_0x3dfb11(0x27e)],this[_0x3dfb11(0x1b8)][_0x3dfb11(0x32c)](_0x2c756c,_0x55bcbf,!this[_0x3dfb11(0x1de)],_0x42f858=>{const _0x2a29a7=_0x3dfb11;_0x42f858||(this[_0x2a29a7(0x255)]=!0x0,(this[_0x2a29a7(0x1f1)]||this['_receiver'][_0x2a29a7(0x177)][_0x2a29a7(0x32a)])&&this[_0x2a29a7(0x1fa)]['end']());}),_0x35020b(this);}}[_0x921c42(0x25b)](){const _0x1a6c77=_0x921c42;this['readyState']===_0xbabdc[_0x1a6c77(0x1fe)]||this[_0x1a6c77(0x18e)]===_0xbabdc['CLOSED']||(this[_0x1a6c77(0x1c4)]=!0x0,this[_0x1a6c77(0x1fa)]['pause']());}[_0x921c42(0x315)](_0x58e3b9,_0x14db62,_0x5b4ac3){const _0x3b076d=_0x921c42;if(this[_0x3b076d(0x18e)]===_0xbabdc['CONNECTING'])throw new Error(_0x3b076d(0x17d));if(typeof _0x58e3b9==_0x3b076d(0x2b3)?(_0x5b4ac3=_0x58e3b9,_0x58e3b9=_0x14db62=void 0x0):typeof _0x14db62==_0x3b076d(0x2b3)&&(_0x5b4ac3=_0x14db62,_0x14db62=void 0x0),typeof _0x58e3b9=='number'&&(_0x58e3b9=_0x58e3b9[_0x3b076d(0x1ec)]()),this[_0x3b076d(0x18e)]!==_0xbabdc[_0x3b076d(0x216)]){_0x29bc95(this,_0x58e3b9,_0x5b4ac3);return;}_0x14db62===void 0x0&&(_0x14db62=!this[_0x3b076d(0x1de)]),this[_0x3b076d(0x1b8)]['ping'](_0x58e3b9||_0x28dcb5,_0x14db62,_0x5b4ac3);}[_0x921c42(0x25a)](_0x94cf42,_0x261427,_0x57554c){const _0x4b6bae=_0x921c42;if(this[_0x4b6bae(0x18e)]===_0xbabdc[_0x4b6bae(0x1fe)])throw new Error(_0x4b6bae(0x17d));if(typeof _0x94cf42==_0x4b6bae(0x2b3)?(_0x57554c=_0x94cf42,_0x94cf42=_0x261427=void 0x0):typeof _0x261427==_0x4b6bae(0x2b3)&&(_0x57554c=_0x261427,_0x261427=void 0x0),typeof _0x94cf42=='number'&&(_0x94cf42=_0x94cf42[_0x4b6bae(0x1ec)]()),this[_0x4b6bae(0x18e)]!==_0xbabdc[_0x4b6bae(0x216)]){_0x29bc95(this,_0x94cf42,_0x57554c);return;}_0x261427===void 0x0&&(_0x261427=!this[_0x4b6bae(0x1de)]),this[_0x4b6bae(0x1b8)]['pong'](_0x94cf42||_0x28dcb5,_0x261427,_0x57554c);}[_0x921c42(0x189)](){const _0x463406=_0x921c42;this['readyState']===_0xbabdc[_0x463406(0x1fe)]||this[_0x463406(0x18e)]===_0xbabdc[_0x463406(0x24d)]||(this[_0x463406(0x1c4)]=!0x1,this[_0x463406(0x19e)][_0x463406(0x177)][_0x463406(0x1a1)]||this[_0x463406(0x1fa)][_0x463406(0x189)]());}[_0x921c42(0x2ba)](_0x1bfc87,_0x38af0b,_0x33be64){const _0x4bc20d=_0x921c42;if(this['readyState']===_0xbabdc[_0x4bc20d(0x1fe)])throw new Error(_0x4bc20d(0x17d));if(typeof _0x38af0b=='function'&&(_0x33be64=_0x38af0b,_0x38af0b={}),typeof _0x1bfc87==_0x4bc20d(0x1ed)&&(_0x1bfc87=_0x1bfc87[_0x4bc20d(0x1ec)]()),this[_0x4bc20d(0x18e)]!==_0xbabdc[_0x4bc20d(0x216)]){_0x29bc95(this,_0x1bfc87,_0x33be64);return;}const _0x162bc7={'binary':typeof _0x1bfc87!=_0x4bc20d(0x313),'mask':!this[_0x4bc20d(0x1de)],'compress':!0x0,'fin':!0x0,..._0x38af0b};this[_0x4bc20d(0x1d6)][_0xab697b[_0x4bc20d(0x296)]]||(_0x162bc7[_0x4bc20d(0x1c3)]=!0x1),this[_0x4bc20d(0x1b8)][_0x4bc20d(0x2ba)](_0x1bfc87||_0x28dcb5,_0x162bc7,_0x33be64);}[_0x921c42(0x175)](){const _0x11359c=_0x921c42;if(this[_0x11359c(0x18e)]!==_0xbabdc[_0x11359c(0x24d)]){if(this[_0x11359c(0x18e)]===_0xbabdc['CONNECTING']){_0x3c09fa(this,this[_0x11359c(0x183)],_0x11359c(0x1c8));return;}this[_0x11359c(0x1fa)]&&(this[_0x11359c(0x261)]=_0xbabdc[_0x11359c(0x27e)],this['_socket'][_0x11359c(0x1ba)]());}}}Object[_0x921c42(0x27d)](_0xbabdc,'CONNECTING',{'enumerable':!0x0,'value':_0x25a73a[_0x921c42(0x21d)](_0x921c42(0x1fe))}),Object[_0x921c42(0x27d)](_0xbabdc[_0x921c42(0x24a)],_0x921c42(0x1fe),{'enumerable':!0x0,'value':_0x25a73a[_0x921c42(0x21d)]('CONNECTING')}),Object['defineProperty'](_0xbabdc,_0x921c42(0x216),{'enumerable':!0x0,'value':_0x25a73a['indexOf'](_0x921c42(0x216))}),Object[_0x921c42(0x27d)](_0xbabdc[_0x921c42(0x24a)],_0x921c42(0x216),{'enumerable':!0x0,'value':_0x25a73a['indexOf'](_0x921c42(0x216))}),Object[_0x921c42(0x27d)](_0xbabdc,_0x921c42(0x27e),{'enumerable':!0x0,'value':_0x25a73a[_0x921c42(0x21d)](_0x921c42(0x27e))}),Object[_0x921c42(0x27d)](_0xbabdc[_0x921c42(0x24a)],_0x921c42(0x27e),{'enumerable':!0x0,'value':_0x25a73a[_0x921c42(0x21d)]('CLOSING')}),Object[_0x921c42(0x27d)](_0xbabdc,_0x921c42(0x24d),{'enumerable':!0x0,'value':_0x25a73a['indexOf'](_0x921c42(0x24d))}),Object['defineProperty'](_0xbabdc[_0x921c42(0x24a)],_0x921c42(0x24d),{'enumerable':!0x0,'value':_0x25a73a[_0x921c42(0x21d)](_0x921c42(0x24d))}),['binaryType',_0x921c42(0x2cf),_0x921c42(0x2bd),_0x921c42(0x21f),_0x921c42(0x18a),_0x921c42(0x18e),_0x921c42(0x310)][_0x921c42(0x2cc)](_0x52daa0=>{const _0x1b31a8=_0x921c42;Object[_0x1b31a8(0x27d)](_0xbabdc['prototype'],_0x52daa0,{'enumerable':!0x0});}),[_0x921c42(0x1ef),_0x921c42(0x1fc),'close',_0x921c42(0x2a7)][_0x921c42(0x2cc)](_0x42c3fa=>{const _0x196ab6=_0x921c42;Object['defineProperty'](_0xbabdc[_0x196ab6(0x24a)],'on'+_0x42c3fa,{'enumerable':!0x0,'get'(){for(const _0x42da99 of this['listeners'](_0x42c3fa))if(_0x42da99[_0x30fe2e])return _0x42da99[_0x5bedd6];return null;},'set'(_0x1dd02a){const _0x2c835e=_0x196ab6;for(const _0x29c89a of this[_0x2c835e(0x221)](_0x42c3fa))if(_0x29c89a[_0x30fe2e]){this[_0x2c835e(0x256)](_0x42c3fa,_0x29c89a);break;}typeof _0x1dd02a=='function'&&this[_0x2c835e(0x2f5)](_0x42c3fa,_0x1dd02a,{[_0x30fe2e]:!0x0});}});}),_0xbabdc[_0x921c42(0x24a)][_0x921c42(0x2f5)]=_0x21f1f5,_0xbabdc['prototype'][_0x921c42(0x225)]=_0x226c86,we=_0xbabdc;function _0xafa29c(_0x511f81,_0x28e153,_0x154e92,_0xe948e7){const _0xb469e2=_0x921c42,_0x26a286={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1f0ad0[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0xe948e7,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0xb469e2(0x273),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x511f81['_autoPong']=_0x26a286[_0xb469e2(0x20c)],!_0x1f0ad0[_0xb469e2(0x317)](_0x26a286['protocolVersion']))throw new RangeError(_0xb469e2(0x265)+_0x26a286[_0xb469e2(0x2e5)]+_0xb469e2(0x1af)+_0x1f0ad0['join'](',\x20')+')');let _0x462413;if(_0x28e153 instanceof _0x1234ab)_0x462413=_0x28e153;else try{_0x462413=new _0x1234ab(_0x28e153);}catch{throw new SyntaxError(_0xb469e2(0x1f2)+_0x28e153);}_0x462413[_0xb469e2(0x18a)]===_0xb469e2(0x329)?_0x462413[_0xb469e2(0x18a)]='ws:':_0x462413[_0xb469e2(0x18a)]==='https:'&&(_0x462413[_0xb469e2(0x18a)]=_0xb469e2(0x1eb)),_0x511f81['_url']=_0x462413[_0xb469e2(0x176)];const _0x28500e=_0x462413['protocol']===_0xb469e2(0x1eb),_0xf143f9=_0x462413['protocol']===_0xb469e2(0x173);let _0x30dd35;if(_0x462413[_0xb469e2(0x18a)]!=='ws:'&&!_0x28500e&&!_0xf143f9?_0x30dd35=_0xb469e2(0x249):_0xf143f9&&!_0x462413[_0xb469e2(0x1c6)]?_0x30dd35=_0xb469e2(0x242):_0x462413[_0xb469e2(0x2f6)]&&(_0x30dd35=_0xb469e2(0x2e0)),_0x30dd35){const _0x150327=new SyntaxError(_0x30dd35);if(_0x511f81['_redirects']===0x0)throw _0x150327;_0x1672ec(_0x511f81,_0x150327);return;}const _0x1757d7=_0x28500e?0x1bb:0x50,_0x50fe9d=_0x552dee(0x10)[_0xb469e2(0x1ec)](_0xb469e2(0x2fd)),_0x552d0f=_0x28500e?_0x329860[_0xb469e2(0x212)]:_0x41afe7[_0xb469e2(0x212)],_0x57ad32=new Set();let _0x29b076;if(_0x26a286[_0xb469e2(0x271)]=_0x26a286[_0xb469e2(0x271)]||(_0x28500e?_0x4726dd:_0x2c085e),_0x26a286[_0xb469e2(0x284)]=_0x26a286[_0xb469e2(0x284)]||_0x1757d7,_0x26a286['port']=_0x462413[_0xb469e2(0x2b5)]||_0x1757d7,_0x26a286[_0xb469e2(0x213)]=_0x462413['hostname'][_0xb469e2(0x20e)]('[')?_0x462413[_0xb469e2(0x1e5)][_0xb469e2(0x18f)](0x1,-0x1):_0x462413[_0xb469e2(0x1e5)],_0x26a286[_0xb469e2(0x2f9)]={..._0x26a286[_0xb469e2(0x2f9)],'Sec-WebSocket-Version':_0x26a286[_0xb469e2(0x2e5)],'Sec-WebSocket-Key':_0x50fe9d,'Connection':_0xb469e2(0x1cb),'Upgrade':_0xb469e2(0x186)},_0x26a286['path']=_0x462413[_0xb469e2(0x1c6)]+_0x462413[_0xb469e2(0x24e)],_0x26a286[_0xb469e2(0x263)]=_0x26a286['handshakeTimeout'],_0x26a286[_0xb469e2(0x26c)]&&(_0x29b076=new _0xab697b(_0x26a286[_0xb469e2(0x26c)]!==!0x0?_0x26a286[_0xb469e2(0x26c)]:{},!0x1,_0x26a286[_0xb469e2(0x181)]),_0x26a286[_0xb469e2(0x2f9)]['Sec-WebSocket-Extensions']=_0x1e6366({[_0xab697b['extensionName']]:_0x29b076[_0xb469e2(0x22c)]()})),_0x154e92[_0xb469e2(0x1b2)]){for(const _0x4afe27 of _0x154e92){if(typeof _0x4afe27!='string'||!_0x229d03[_0xb469e2(0x274)](_0x4afe27)||_0x57ad32[_0xb469e2(0x292)](_0x4afe27))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x57ad32[_0xb469e2(0x1d5)](_0x4afe27);}_0x26a286[_0xb469e2(0x2f9)]['Sec-WebSocket-Protocol']=_0x154e92['join'](',');}if(_0x26a286[_0xb469e2(0x28f)]&&(_0x26a286[_0xb469e2(0x2e5)]<0xd?_0x26a286[_0xb469e2(0x2f9)][_0xb469e2(0x1d1)]=_0x26a286['origin']:_0x26a286['headers'][_0xb469e2(0x1a2)]=_0x26a286[_0xb469e2(0x28f)]),(_0x462413[_0xb469e2(0x23b)]||_0x462413[_0xb469e2(0x275)])&&(_0x26a286['auth']=_0x462413[_0xb469e2(0x23b)]+':'+_0x462413[_0xb469e2(0x275)]),_0xf143f9){const _0x23cbcd=_0x26a286[_0xb469e2(0x1b9)]['split'](':');_0x26a286[_0xb469e2(0x2dc)]=_0x23cbcd[0x0],_0x26a286[_0xb469e2(0x1b9)]=_0x23cbcd[0x1];}let _0x33874c;if(_0x26a286[_0xb469e2(0x235)]){if(_0x511f81[_0xb469e2(0x2ac)]===0x0){_0x511f81['_originalIpc']=_0xf143f9,_0x511f81['_originalSecure']=_0x28500e,_0x511f81[_0xb469e2(0x25d)]=_0xf143f9?_0x26a286['socketPath']:_0x462413[_0xb469e2(0x213)];const _0x4761ec=_0xe948e7&&_0xe948e7[_0xb469e2(0x2f9)];if(_0xe948e7={..._0xe948e7,'headers':{}},_0x4761ec){for(const [_0x57159d,_0x45dd81]of Object[_0xb469e2(0x2e2)](_0x4761ec))_0xe948e7['headers'][_0x57159d[_0xb469e2(0x1ea)]()]=_0x45dd81;}}else{if(_0x511f81[_0xb469e2(0x32b)](_0xb469e2(0x1a7))===0x0){const _0x5216c0=_0xf143f9?_0x511f81[_0xb469e2(0x203)]?_0x26a286['socketPath']===_0x511f81[_0xb469e2(0x25d)]:!0x1:_0x511f81[_0xb469e2(0x203)]?!0x1:_0x462413[_0xb469e2(0x213)]===_0x511f81[_0xb469e2(0x25d)];(!_0x5216c0||_0x511f81['_originalSecure']&&!_0x28500e)&&(delete _0x26a286[_0xb469e2(0x2f9)][_0xb469e2(0x32e)],delete _0x26a286[_0xb469e2(0x2f9)]['cookie'],_0x5216c0||delete _0x26a286[_0xb469e2(0x2f9)][_0xb469e2(0x213)],_0x26a286[_0xb469e2(0x195)]=void 0x0);}}_0x26a286[_0xb469e2(0x195)]&&!_0xe948e7[_0xb469e2(0x2f9)][_0xb469e2(0x32e)]&&(_0xe948e7['headers']['authorization']=_0xb469e2(0x1d9)+Buffer[_0xb469e2(0x2c3)](_0x26a286[_0xb469e2(0x195)])[_0xb469e2(0x1ec)](_0xb469e2(0x2fd))),_0x33874c=_0x511f81[_0xb469e2(0x183)]=_0x552d0f(_0x26a286),_0x511f81[_0xb469e2(0x2ac)]&&_0x511f81['emit'](_0xb469e2(0x1a7),_0x511f81[_0xb469e2(0x310)],_0x33874c);}else _0x33874c=_0x511f81[_0xb469e2(0x183)]=_0x552d0f(_0x26a286);_0x26a286['timeout']&&_0x33874c['on'](_0xb469e2(0x263),()=>{_0x3c09fa(_0x511f81,_0x33874c,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x33874c['on'](_0xb469e2(0x1fc),_0x1afaf1=>{const _0x189901=_0xb469e2;_0x33874c===null||_0x33874c[_0xfaf311]||(_0x33874c=_0x511f81[_0x189901(0x183)]=null,_0x1672ec(_0x511f81,_0x1afaf1));}),_0x33874c['on'](_0xb469e2(0x1c2),_0x4a8b5f=>{const _0x2a2b06=_0xb469e2,_0x28833d=_0x4a8b5f[_0x2a2b06(0x2f9)][_0x2a2b06(0x1cc)],_0x2d628b=_0x4a8b5f['statusCode'];if(_0x28833d&&_0x26a286[_0x2a2b06(0x235)]&&_0x2d628b>=0x12c&&_0x2d628b<0x190){if(++_0x511f81[_0x2a2b06(0x2ac)]>_0x26a286[_0x2a2b06(0x2b8)]){_0x3c09fa(_0x511f81,_0x33874c,_0x2a2b06(0x281));return;}_0x33874c[_0x2a2b06(0x27b)]();let _0x5c9b66;try{_0x5c9b66=new _0x1234ab(_0x28833d,_0x28e153);}catch{const _0x15982d=new SyntaxError('Invalid\x20URL:\x20'+_0x28833d);_0x1672ec(_0x511f81,_0x15982d);return;}_0xafa29c(_0x511f81,_0x5c9b66,_0x154e92,_0xe948e7);}else _0x511f81[_0x2a2b06(0x22e)]('unexpected-response',_0x33874c,_0x4a8b5f)||_0x3c09fa(_0x511f81,_0x33874c,_0x2a2b06(0x29b)+_0x4a8b5f[_0x2a2b06(0x234)]);}),_0x33874c['on'](_0xb469e2(0x245),(_0x20cf1c,_0x261317,_0x558a60)=>{const _0x31a505=_0xb469e2;if(_0x511f81[_0x31a505(0x22e)](_0x31a505(0x245),_0x20cf1c),_0x511f81[_0x31a505(0x18e)]!==_0xbabdc['CONNECTING'])return;_0x33874c=_0x511f81[_0x31a505(0x183)]=null;const _0x47eb33=_0x20cf1c[_0x31a505(0x2f9)][_0x31a505(0x245)];if(_0x47eb33===void 0x0||_0x47eb33['toLowerCase']()!==_0x31a505(0x186)){_0x3c09fa(_0x511f81,_0x261317,_0x31a505(0x316));return;}const _0x3984c9=_0xd57c82('sha1')['update'](_0x50fe9d+_0x49f23c)[_0x31a505(0x23c)](_0x31a505(0x2fd));if(_0x20cf1c[_0x31a505(0x2f9)]['sec-websocket-accept']!==_0x3984c9){_0x3c09fa(_0x511f81,_0x261317,_0x31a505(0x2e7));return;}const _0x2e10c1=_0x20cf1c[_0x31a505(0x2f9)]['sec-websocket-protocol'];let _0x3fac57;if(_0x2e10c1!==void 0x0?_0x57ad32[_0x31a505(0x2b0)]?_0x57ad32[_0x31a505(0x292)](_0x2e10c1)||(_0x3fac57=_0x31a505(0x226)):_0x3fac57=_0x31a505(0x2ee):_0x57ad32[_0x31a505(0x2b0)]&&(_0x3fac57=_0x31a505(0x286)),_0x3fac57){_0x3c09fa(_0x511f81,_0x261317,_0x3fac57);return;}_0x2e10c1&&(_0x511f81[_0x31a505(0x243)]=_0x2e10c1);const _0x1fa052=_0x20cf1c[_0x31a505(0x2f9)][_0x31a505(0x2a4)];if(_0x1fa052!==void 0x0){if(!_0x29b076){_0x3c09fa(_0x511f81,_0x261317,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x4aac7d;try{_0x4aac7d=_0x11f6e9(_0x1fa052);}catch{_0x3c09fa(_0x511f81,_0x261317,_0x31a505(0x2c1));return;}const _0x4f7685=Object[_0x31a505(0x2ad)](_0x4aac7d);if(_0x4f7685[_0x31a505(0x1b2)]!==0x1||_0x4f7685[0x0]!==_0xab697b[_0x31a505(0x296)]){_0x3c09fa(_0x511f81,_0x261317,_0x31a505(0x222));return;}try{_0x29b076['accept'](_0x4aac7d[_0xab697b[_0x31a505(0x296)]]);}catch{_0x3c09fa(_0x511f81,_0x261317,_0x31a505(0x2c1));return;}_0x511f81[_0x31a505(0x1d6)][_0xab697b['extensionName']]=_0x29b076;}_0x511f81[_0x31a505(0x26b)](_0x261317,_0x558a60,{'allowSynchronousEvents':_0x26a286['allowSynchronousEvents'],'generateMask':_0x26a286[_0x31a505(0x246)],'maxPayload':_0x26a286[_0x31a505(0x181)],'skipUTF8Validation':_0x26a286[_0x31a505(0x2d0)]});}),_0x26a286['finishRequest']?_0x26a286['finishRequest'](_0x33874c,_0x511f81):_0x33874c[_0xb469e2(0x2d5)]();}function _0x1672ec(_0x5cb8fb,_0x4b530a){const _0x44b2c2=_0x921c42;_0x5cb8fb['_readyState']=_0xbabdc[_0x44b2c2(0x27e)],_0x5cb8fb[_0x44b2c2(0x208)]=!0x0,_0x5cb8fb['emit']('error',_0x4b530a),_0x5cb8fb[_0x44b2c2(0x2ae)]();}function _0x2c085e(_0x42db28){const _0x597e34=_0x921c42;return _0x42db28[_0x597e34(0x1b9)]=_0x42db28['socketPath'],_0xacd019[_0x597e34(0x269)](_0x42db28);}function _0x4726dd(_0x558abd){const _0x5921df=_0x921c42;return _0x558abd['path']=void 0x0,!_0x558abd['servername']&&_0x558abd[_0x5921df(0x2f1)]!==''&&(_0x558abd['servername']=_0xacd019[_0x5921df(0x194)](_0x558abd[_0x5921df(0x213)])?'':_0x558abd['host']),_0x3933e9['connect'](_0x558abd);}function _0x3c09fa(_0x139920,_0x49ba99,_0x11edd1){const _0x4675fb=_0x921c42;_0x139920[_0x4675fb(0x261)]=_0xbabdc['CLOSING'];const _0xc568c1=new Error(_0x11edd1);Error[_0x4675fb(0x287)](_0xc568c1,_0x3c09fa),_0x49ba99[_0x4675fb(0x17a)]?(_0x49ba99[_0xfaf311]=!0x0,_0x49ba99[_0x4675fb(0x27b)](),_0x49ba99[_0x4675fb(0x23d)]&&!_0x49ba99['socket'][_0x4675fb(0x21c)]&&_0x49ba99['socket'][_0x4675fb(0x1ba)](),process[_0x4675fb(0x258)](_0x1672ec,_0x139920,_0xc568c1)):(_0x49ba99[_0x4675fb(0x1ba)](_0xc568c1),_0x49ba99[_0x4675fb(0x204)](_0x4675fb(0x1fc),_0x139920['emit'][_0x4675fb(0x332)](_0x139920,'error')),_0x49ba99[_0x4675fb(0x204)](_0x4675fb(0x32c),_0x139920[_0x4675fb(0x2ae)][_0x4675fb(0x332)](_0x139920)));}function _0x29bc95(_0x6b425d,_0x2613c0,_0x28efc9){const _0x4f59c6=_0x921c42;if(_0x2613c0){const _0x475868=_0x512a16(_0x2613c0)?_0x2613c0[_0x4f59c6(0x2b0)]:_0x30a6c0(_0x2613c0)[_0x4f59c6(0x1b2)];_0x6b425d['_socket']?_0x6b425d[_0x4f59c6(0x1b8)]['_bufferedBytes']+=_0x475868:_0x6b425d[_0x4f59c6(0x1a0)]+=_0x475868;}if(_0x28efc9){const _0x2a6d8c=new Error(_0x4f59c6(0x2de)+_0x6b425d['readyState']+'\x20('+_0x25a73a[_0x6b425d[_0x4f59c6(0x18e)]]+')');process[_0x4f59c6(0x258)](_0x28efc9,_0x2a6d8c);}}function _0x4f7e55(_0x5a51e1,_0x4b03ab){const _0x52979e=_0x921c42,_0xfefcf1=this[_0x4f2815];_0xfefcf1[_0x52979e(0x1f1)]=!0x0,_0xfefcf1['_closeMessage']=_0x4b03ab,_0xfefcf1[_0x52979e(0x2a1)]=_0x5a51e1,_0xfefcf1[_0x52979e(0x1fa)][_0x4f2815]!==void 0x0&&(_0xfefcf1['_socket'][_0x52979e(0x256)](_0x52979e(0x231),_0x2ec1db),process[_0x52979e(0x258)](_0x266737,_0xfefcf1[_0x52979e(0x1fa)]),_0x5a51e1===0x3ed?_0xfefcf1['close']():_0xfefcf1[_0x52979e(0x32c)](_0x5a51e1,_0x4b03ab));}function _0x4cb3b2(){const _0x455ef4=_0x921c42,_0x4e76ed=this[_0x4f2815];_0x4e76ed[_0x455ef4(0x21f)]||_0x4e76ed['_socket'][_0x455ef4(0x189)]();}function _0x2b0490(_0x5e81a6){const _0x3f1da0=_0x921c42,_0xdcb479=this[_0x4f2815];_0xdcb479[_0x3f1da0(0x1fa)][_0x4f2815]!==void 0x0&&(_0xdcb479[_0x3f1da0(0x1fa)][_0x3f1da0(0x256)](_0x3f1da0(0x231),_0x2ec1db),process[_0x3f1da0(0x258)](_0x266737,_0xdcb479[_0x3f1da0(0x1fa)]),_0xdcb479[_0x3f1da0(0x32c)](_0x5e81a6[_0x138ab3])),_0xdcb479[_0x3f1da0(0x208)]||(_0xdcb479[_0x3f1da0(0x208)]=!0x0,_0xdcb479['emit'](_0x3f1da0(0x1fc),_0x5e81a6));}function _0xd092f7(){const _0x33d54e=_0x921c42;this[_0x4f2815][_0x33d54e(0x2ae)]();}function _0xd758d5(_0x4b758c,_0x191946){const _0x677d2d=_0x921c42;this[_0x4f2815][_0x677d2d(0x22e)](_0x677d2d(0x2a7),_0x4b758c,_0x191946);}function _0x995894(_0xfcd5b1){const _0x2983b0=_0x921c42,_0x2aa948=this[_0x4f2815];_0x2aa948['_autoPong']&&_0x2aa948['pong'](_0xfcd5b1,!this['_isServer'],_0x3c5e93),_0x2aa948[_0x2983b0(0x22e)](_0x2983b0(0x315),_0xfcd5b1);}function _0x4ca5a2(_0x2f0c8e){const _0x3bd469=_0x921c42;this[_0x4f2815][_0x3bd469(0x22e)](_0x3bd469(0x25a),_0x2f0c8e);}function _0x266737(_0x23ff7b){const _0x54579d=_0x921c42;_0x23ff7b[_0x54579d(0x189)]();}function _0x16628c(_0x47c38b){const _0x5ea257=_0x921c42,_0x280ecf=this[_0x4f2815];_0x280ecf[_0x5ea257(0x18e)]!==_0xbabdc['CLOSED']&&(_0x280ecf[_0x5ea257(0x18e)]===_0xbabdc[_0x5ea257(0x216)]&&(_0x280ecf[_0x5ea257(0x261)]=_0xbabdc['CLOSING'],_0x35020b(_0x280ecf)),this['_socket'][_0x5ea257(0x2d5)](),_0x280ecf[_0x5ea257(0x208)]||(_0x280ecf[_0x5ea257(0x208)]=!0x0,_0x280ecf['emit'](_0x5ea257(0x1fc),_0x47c38b)));}function _0x35020b(_0xf34109){const _0x4bf5d6=_0x921c42;_0xf34109[_0x4bf5d6(0x2d9)]=setTimeout(_0xf34109[_0x4bf5d6(0x1fa)]['destroy'][_0x4bf5d6(0x332)](_0xf34109[_0x4bf5d6(0x1fa)]),_0x4f297f);}function _0x4d28c6(){const _0x48c633=_0x921c42,_0x2463c1=this[_0x4f2815];this[_0x48c633(0x256)]('close',_0x4d28c6),this[_0x48c633(0x256)](_0x48c633(0x231),_0x2ec1db),this['removeListener'](_0x48c633(0x2d5),_0xb4d3d3),_0x2463c1[_0x48c633(0x261)]=_0xbabdc[_0x48c633(0x27e)];let _0x1ca514;!this[_0x48c633(0x1e9)][_0x48c633(0x311)]&&!_0x2463c1[_0x48c633(0x1f1)]&&!_0x2463c1[_0x48c633(0x19e)][_0x48c633(0x177)][_0x48c633(0x32a)]&&(_0x1ca514=_0x2463c1['_socket'][_0x48c633(0x2ed)]())!==null&&_0x2463c1[_0x48c633(0x19e)][_0x48c633(0x2e3)](_0x1ca514),_0x2463c1['_receiver'][_0x48c633(0x2d5)](),this[_0x4f2815]=void 0x0,clearTimeout(_0x2463c1['_closeTimer']),_0x2463c1[_0x48c633(0x19e)]['_writableState'][_0x48c633(0x323)]||_0x2463c1[_0x48c633(0x19e)][_0x48c633(0x177)][_0x48c633(0x32a)]?_0x2463c1[_0x48c633(0x2ae)]():(_0x2463c1['_receiver']['on'](_0x48c633(0x1fc),_0xd092f7),_0x2463c1[_0x48c633(0x19e)]['on']('finish',_0xd092f7));}function _0x2ec1db(_0x5cb475){const _0x3d8459=_0x921c42;this[_0x4f2815][_0x3d8459(0x19e)][_0x3d8459(0x2e3)](_0x5cb475)||this[_0x3d8459(0x25b)]();}function _0xb4d3d3(){const _0x1ce15a=_0x921c42,_0x3c6dd8=this[_0x4f2815];_0x3c6dd8[_0x1ce15a(0x261)]=_0xbabdc[_0x1ce15a(0x27e)],_0x3c6dd8[_0x1ce15a(0x19e)][_0x1ce15a(0x2d5)](),this[_0x1ce15a(0x2d5)]();}function _0x5252cc(){const _0x509c52=_0x921c42,_0x5ed65c=this[_0x4f2815];this[_0x509c52(0x256)]('error',_0x5252cc),this['on'](_0x509c52(0x1fc),_0x3c5e93),_0x5ed65c&&(_0x5ed65c[_0x509c52(0x261)]=_0xbabdc[_0x509c52(0x27e)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1ffb01}=oe;function _0x312f2e(_0x4ad839){_0x4ad839['emit']('close');}function _0x206ff4(){const _0x51e080=_0x22a9;!this[_0x51e080(0x21c)]&&this[_0x51e080(0x177)][_0x51e080(0x323)]&&this['destroy']();}function _0x4bd806(_0x3f652b){const _0x23d04d=_0x22a9;this['removeListener'](_0x23d04d(0x1fc),_0x4bd806),this['destroy'](),this[_0x23d04d(0x32b)](_0x23d04d(0x1fc))===0x0&&this[_0x23d04d(0x22e)]('error',_0x3f652b);}function _0x23c5cb(_0x8beb20,_0x373e95){const _0x44b2cf=_0x22a9;let _0x11f806=!0x0;const _0x452e80=new _0x1ffb01({..._0x373e95,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x8beb20['on'](_0x44b2cf(0x2a7),function(_0x3763a5,_0x54e9ef){const _0x192675=_0x44b2cf,_0x4e8c43=!_0x54e9ef&&_0x452e80[_0x192675(0x1e9)][_0x192675(0x2e9)]?_0x3763a5[_0x192675(0x1ec)]():_0x3763a5;_0x452e80[_0x192675(0x241)](_0x4e8c43)||_0x8beb20[_0x192675(0x25b)]();}),_0x8beb20[_0x44b2cf(0x204)](_0x44b2cf(0x1fc),function(_0x507c70){const _0xcb5eac=_0x44b2cf;_0x452e80[_0xcb5eac(0x21c)]||(_0x11f806=!0x1,_0x452e80[_0xcb5eac(0x1ba)](_0x507c70));}),_0x8beb20[_0x44b2cf(0x204)](_0x44b2cf(0x32c),function(){const _0x3a283f=_0x44b2cf;_0x452e80[_0x3a283f(0x21c)]||_0x452e80['push'](null);}),_0x452e80[_0x44b2cf(0x319)]=function(_0x1d9deb,_0x5e67d9){const _0x223361=_0x44b2cf;if(_0x8beb20[_0x223361(0x18e)]===_0x8beb20[_0x223361(0x24d)]){_0x5e67d9(_0x1d9deb),process[_0x223361(0x258)](_0x312f2e,_0x452e80);return;}let _0x2692b1=!0x1;_0x8beb20[_0x223361(0x204)]('error',function(_0x519904){_0x2692b1=!0x0,_0x5e67d9(_0x519904);}),_0x8beb20[_0x223361(0x204)](_0x223361(0x32c),function(){const _0x5ca0c3=_0x223361;_0x2692b1||_0x5e67d9(_0x1d9deb),process[_0x5ca0c3(0x258)](_0x312f2e,_0x452e80);}),_0x11f806&&_0x8beb20[_0x223361(0x175)]();},_0x452e80[_0x44b2cf(0x2ff)]=function(_0x42ed4e){const _0x1fe652=_0x44b2cf;if(_0x8beb20[_0x1fe652(0x18e)]===_0x8beb20[_0x1fe652(0x1fe)]){_0x8beb20[_0x1fe652(0x204)](_0x1fe652(0x1ef),function(){const _0x368db4=_0x1fe652;_0x452e80[_0x368db4(0x2ff)](_0x42ed4e);});return;}_0x8beb20[_0x1fe652(0x1fa)]!==null&&(_0x8beb20[_0x1fe652(0x1fa)]['_writableState']['finished']?(_0x42ed4e(),_0x452e80[_0x1fe652(0x1e9)][_0x1fe652(0x311)]&&_0x452e80[_0x1fe652(0x1ba)]()):(_0x8beb20[_0x1fe652(0x1fa)][_0x1fe652(0x204)](_0x1fe652(0x30c),function(){_0x42ed4e();}),_0x8beb20[_0x1fe652(0x32c)]()));},_0x452e80[_0x44b2cf(0x324)]=function(){const _0x433a3a=_0x44b2cf;_0x8beb20[_0x433a3a(0x21f)]&&_0x8beb20[_0x433a3a(0x189)]();},_0x452e80[_0x44b2cf(0x327)]=function(_0x5a6f01,_0x5824e4,_0x102db1){const _0x6980e1=_0x44b2cf;if(_0x8beb20['readyState']===_0x8beb20['CONNECTING']){_0x8beb20['once'](_0x6980e1(0x1ef),function(){const _0x453b23=_0x6980e1;_0x452e80[_0x453b23(0x327)](_0x5a6f01,_0x5824e4,_0x102db1);});return;}_0x8beb20[_0x6980e1(0x2ba)](_0x5a6f01,_0x102db1);},_0x452e80['on']('end',_0x206ff4),_0x452e80['on']('error',_0x4bd806),_0x452e80;}return Oe=_0x23c5cb,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x256a42}=ae();function _0x4116b9(_0x5a6be5){const _0x5e9a63=_0x22a9,_0x3e5dee=new Set();let _0x4cdf20=-0x1,_0x140b9a=-0x1,_0x208eaf=0x0;for(_0x208eaf;_0x208eaf<_0x5a6be5[_0x5e9a63(0x1b2)];_0x208eaf++){const _0x2aafec=_0x5a6be5[_0x5e9a63(0x293)](_0x208eaf);if(_0x140b9a===-0x1&&_0x256a42[_0x2aafec]===0x1)_0x4cdf20===-0x1&&(_0x4cdf20=_0x208eaf);else{if(_0x208eaf!==0x0&&(_0x2aafec===0x20||_0x2aafec===0x9))_0x140b9a===-0x1&&_0x4cdf20!==-0x1&&(_0x140b9a=_0x208eaf);else{if(_0x2aafec===0x2c){if(_0x4cdf20===-0x1)throw new SyntaxError(_0x5e9a63(0x205)+_0x208eaf);_0x140b9a===-0x1&&(_0x140b9a=_0x208eaf);const _0x4e936b=_0x5a6be5[_0x5e9a63(0x18f)](_0x4cdf20,_0x140b9a);if(_0x3e5dee['has'](_0x4e936b))throw new SyntaxError(_0x5e9a63(0x1cd)+_0x4e936b+'\x22\x20subprotocol\x20is\x20duplicated');_0x3e5dee[_0x5e9a63(0x1d5)](_0x4e936b),_0x4cdf20=_0x140b9a=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x208eaf);}}}if(_0x4cdf20===-0x1||_0x140b9a!==-0x1)throw new SyntaxError(_0x5e9a63(0x19a));const _0x35a8c2=_0x5a6be5[_0x5e9a63(0x18f)](_0x4cdf20,_0x208eaf);if(_0x3e5dee[_0x5e9a63(0x292)](_0x35a8c2))throw new SyntaxError(_0x5e9a63(0x1cd)+_0x35a8c2+_0x5e9a63(0x23f));return _0x3e5dee[_0x5e9a63(0x1d5)](_0x35a8c2),_0x3e5dee;}return Ce={'parse':_0x4116b9},Ce;}var Te,rt;function Ft(){const _0x197e77=_0x51270a;if(rt)return Te;rt=0x1;const _0x275cc3=nt,_0x3395a2=ot,{Duplex:_0x1c1f0d}=oe,{createHash:_0x4e3247}=Le,_0x57e83a=ct(),_0x45de34=he(),_0x3e4f3f=At(),_0x36b74c=Pe(),{GUID:_0x3e4403,kWebSocket:_0x24dec1}=H(),_0x526d94=/^[+/0-9A-Za-z]{22}==$/,_0x5c83bf=0x0,_0x5f4e0f=0x1,_0x3bfcaa=0x2;class _0x4ccccc extends _0x275cc3{constructor(_0x32d0a2,_0x3d9dd8){const _0x29b69a=_0x22a9;if(super(),_0x32d0a2={'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':_0x36b74c,..._0x32d0a2},_0x32d0a2[_0x29b69a(0x2b5)]==null&&!_0x32d0a2[_0x29b69a(0x1b5)]&&!_0x32d0a2[_0x29b69a(0x239)]||_0x32d0a2[_0x29b69a(0x2b5)]!=null&&(_0x32d0a2['server']||_0x32d0a2[_0x29b69a(0x239)])||_0x32d0a2['server']&&_0x32d0a2[_0x29b69a(0x239)])throw new TypeError(_0x29b69a(0x2eb));if(_0x32d0a2['port']!=null?(this[_0x29b69a(0x285)]=_0x3395a2['createServer']((_0x5b4bcd,_0x5cab37)=>{const _0x147cfb=_0x29b69a,_0x415190=_0x3395a2[_0x147cfb(0x2bf)][0x1aa];_0x5cab37[_0x147cfb(0x320)](0x1aa,{'Content-Length':_0x415190[_0x147cfb(0x1b2)],'Content-Type':_0x147cfb(0x1e1)}),_0x5cab37[_0x147cfb(0x2d5)](_0x415190);}),this[_0x29b69a(0x285)][_0x29b69a(0x1b1)](_0x32d0a2['port'],_0x32d0a2[_0x29b69a(0x213)],_0x32d0a2[_0x29b69a(0x27f)],_0x3d9dd8)):_0x32d0a2[_0x29b69a(0x1b5)]&&(this[_0x29b69a(0x285)]=_0x32d0a2[_0x29b69a(0x1b5)]),this[_0x29b69a(0x285)]){const _0xd2c3e8=this['emit'][_0x29b69a(0x332)](this,_0x29b69a(0x2e4));this[_0x29b69a(0x325)]=_0x4e8594(this[_0x29b69a(0x285)],{'listening':this[_0x29b69a(0x22e)][_0x29b69a(0x332)](this,_0x29b69a(0x262)),'error':this['emit'][_0x29b69a(0x332)](this,_0x29b69a(0x1fc)),'upgrade':(_0x2fc282,_0x2854fc,_0x2024b9)=>{const _0x1eec06=_0x29b69a;this[_0x1eec06(0x30a)](_0x2fc282,_0x2854fc,_0x2024b9,_0xd2c3e8);}});}_0x32d0a2[_0x29b69a(0x26c)]===!0x0&&(_0x32d0a2[_0x29b69a(0x26c)]={}),_0x32d0a2[_0x29b69a(0x1dd)]&&(this['clients']=new Set(),this['_shouldEmitClose']=!0x1),this[_0x29b69a(0x2f8)]=_0x32d0a2,this[_0x29b69a(0x2d6)]=_0x5c83bf;}[_0x197e77(0x2e6)](){const _0x288f47=_0x197e77;if(this[_0x288f47(0x2f8)][_0x288f47(0x239)])throw new Error(_0x288f47(0x2d8));return this[_0x288f47(0x285)]?this[_0x288f47(0x285)][_0x288f47(0x2e6)]():null;}['close'](_0x205785){const _0x238e44=_0x197e77;if(this[_0x238e44(0x2d6)]===_0x3bfcaa){_0x205785&&this[_0x238e44(0x204)](_0x238e44(0x32c),()=>{const _0x1bb101=_0x238e44;_0x205785(new Error(_0x1bb101(0x303)));}),process['nextTick'](_0x5396fe,this);return;}if(_0x205785&&this[_0x238e44(0x204)](_0x238e44(0x32c),_0x205785),this['_state']!==_0x5f4e0f){if(this[_0x238e44(0x2d6)]=_0x5f4e0f,this['options']['noServer']||this['options']['server'])this[_0x238e44(0x285)]&&(this['_removeListeners'](),this[_0x238e44(0x325)]=this[_0x238e44(0x285)]=null),this['clients']?this[_0x238e44(0x192)]['size']?this[_0x238e44(0x1bb)]=!0x0:process[_0x238e44(0x258)](_0x5396fe,this):process[_0x238e44(0x258)](_0x5396fe,this);else{const _0x16a3ac=this[_0x238e44(0x285)];this[_0x238e44(0x325)](),this['_removeListeners']=this[_0x238e44(0x285)]=null,_0x16a3ac[_0x238e44(0x32c)](()=>{_0x5396fe(this);});}}}[_0x197e77(0x2cb)](_0x4415b5){const _0x3390a0=_0x197e77;if(this[_0x3390a0(0x2f8)][_0x3390a0(0x1b9)]){const _0x280cde=_0x4415b5[_0x3390a0(0x310)][_0x3390a0(0x21d)]('?');if((_0x280cde!==-0x1?_0x4415b5['url']['slice'](0x0,_0x280cde):_0x4415b5['url'])!==this[_0x3390a0(0x2f8)][_0x3390a0(0x1b9)])return!0x1;}return!0x0;}[_0x197e77(0x30a)](_0x3a704a,_0x37c968,_0x1fc515,_0x48eb81){const _0x159a8c=_0x197e77;_0x37c968['on'](_0x159a8c(0x1fc),_0x59308d);const _0x14a88c=_0x3a704a[_0x159a8c(0x2f9)]['sec-websocket-key'],_0x36d934=_0x3a704a[_0x159a8c(0x2f9)][_0x159a8c(0x245)],_0x40bf2f=+_0x3a704a[_0x159a8c(0x2f9)][_0x159a8c(0x1ce)];if(_0x3a704a[_0x159a8c(0x180)]!==_0x159a8c(0x273)){_0x182875(this,_0x3a704a,_0x37c968,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x36d934===void 0x0||_0x36d934['toLowerCase']()!==_0x159a8c(0x186)){_0x182875(this,_0x3a704a,_0x37c968,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x14a88c===void 0x0||!_0x526d94[_0x159a8c(0x274)](_0x14a88c)){_0x182875(this,_0x3a704a,_0x37c968,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x40bf2f!==0xd&&_0x40bf2f!==0x8){_0x182875(this,_0x3a704a,_0x37c968,0x190,_0x159a8c(0x2bb),{'Sec-WebSocket-Version':_0x159a8c(0x1b6)});return;}if(!this[_0x159a8c(0x2cb)](_0x3a704a)){_0x49166c(_0x37c968,0x190);return;}const _0x26cbd6=_0x3a704a['headers'][_0x159a8c(0x1d2)];let _0x4012c1=new Set();if(_0x26cbd6!==void 0x0)try{_0x4012c1=_0x3e4f3f[_0x159a8c(0x294)](_0x26cbd6);}catch{_0x182875(this,_0x3a704a,_0x37c968,0x190,_0x159a8c(0x1bc));return;}const _0x55568e=_0x3a704a[_0x159a8c(0x2f9)]['sec-websocket-extensions'],_0x4bf337={};if(this[_0x159a8c(0x2f8)][_0x159a8c(0x26c)]&&_0x55568e!==void 0x0){const _0x492a70=new _0x45de34(this['options'][_0x159a8c(0x26c)],!0x0,this[_0x159a8c(0x2f8)][_0x159a8c(0x181)]);try{const _0x33dbf2=_0x57e83a[_0x159a8c(0x294)](_0x55568e);_0x33dbf2[_0x45de34[_0x159a8c(0x296)]]&&(_0x492a70['accept'](_0x33dbf2[_0x45de34[_0x159a8c(0x296)]]),_0x4bf337[_0x45de34[_0x159a8c(0x296)]]=_0x492a70);}catch{_0x182875(this,_0x3a704a,_0x37c968,0x190,_0x159a8c(0x282));return;}}if(this[_0x159a8c(0x2f8)]['verifyClient']){const _0x40458e={'origin':_0x3a704a[_0x159a8c(0x2f9)][''+(_0x40bf2f===0x8?_0x159a8c(0x31e):_0x159a8c(0x28f))],'secure':!!(_0x3a704a['socket'][_0x159a8c(0x228)]||_0x3a704a[_0x159a8c(0x23d)][_0x159a8c(0x308)]),'req':_0x3a704a};if(this['options']['verifyClient'][_0x159a8c(0x1b2)]===0x2){this[_0x159a8c(0x2f8)][_0x159a8c(0x2a0)](_0x40458e,(_0x1d3009,_0x4c81b1,_0x3c816d,_0x427801)=>{const _0x2257c3=_0x159a8c;if(!_0x1d3009)return _0x49166c(_0x37c968,_0x4c81b1||0x191,_0x3c816d,_0x427801);this[_0x2257c3(0x280)](_0x4bf337,_0x14a88c,_0x4012c1,_0x3a704a,_0x37c968,_0x1fc515,_0x48eb81);});return;}if(!this['options']['verifyClient'](_0x40458e))return _0x49166c(_0x37c968,0x191);}this[_0x159a8c(0x280)](_0x4bf337,_0x14a88c,_0x4012c1,_0x3a704a,_0x37c968,_0x1fc515,_0x48eb81);}['completeUpgrade'](_0x1b81bb,_0x358d0b,_0x198f0d,_0x43eca2,_0x28697e,_0x3cb760,_0x4bc7aa){const _0x3d4095=_0x197e77;if(!_0x28697e[_0x3d4095(0x304)]||!_0x28697e['writable'])return _0x28697e['destroy']();if(_0x28697e[_0x24dec1])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x3d4095(0x2d6)]>_0x5c83bf)return _0x49166c(_0x28697e,0x1f7);const _0x26501d=[_0x3d4095(0x29f),'Upgrade:\x20websocket',_0x3d4095(0x174),'Sec-WebSocket-Accept:\x20'+_0x4e3247(_0x3d4095(0x179))['update'](_0x358d0b+_0x3e4403)['digest'](_0x3d4095(0x2fd))],_0xa4b968=new this[(_0x3d4095(0x2f8))][(_0x3d4095(0x27a))](null,void 0x0,this['options']);if(_0x198f0d[_0x3d4095(0x2b0)]){const _0x5d4e7c=this[_0x3d4095(0x2f8)][_0x3d4095(0x295)]?this['options'][_0x3d4095(0x295)](_0x198f0d,_0x43eca2):_0x198f0d['values']()['next']()['value'];_0x5d4e7c&&(_0x26501d['push'](_0x3d4095(0x331)+_0x5d4e7c),_0xa4b968[_0x3d4095(0x243)]=_0x5d4e7c);}if(_0x1b81bb[_0x45de34[_0x3d4095(0x296)]]){const _0x2d969b=_0x1b81bb[_0x45de34['extensionName']][_0x3d4095(0x2b9)],_0x1faf2f=_0x57e83a[_0x3d4095(0x193)]({[_0x45de34[_0x3d4095(0x296)]]:[_0x2d969b]});_0x26501d[_0x3d4095(0x241)](_0x3d4095(0x339)+_0x1faf2f),_0xa4b968[_0x3d4095(0x1d6)]=_0x1b81bb;}this[_0x3d4095(0x22e)](_0x3d4095(0x2f9),_0x26501d,_0x43eca2),_0x28697e['write'](_0x26501d[_0x3d4095(0x252)]('\x0d\x0a')['join']('\x0d\x0a')),_0x28697e[_0x3d4095(0x256)](_0x3d4095(0x1fc),_0x59308d),_0xa4b968['setSocket'](_0x28697e,_0x3cb760,{'allowSynchronousEvents':this[_0x3d4095(0x2f8)][_0x3d4095(0x309)],'maxPayload':this['options'][_0x3d4095(0x181)],'skipUTF8Validation':this[_0x3d4095(0x2f8)][_0x3d4095(0x2d0)]}),this[_0x3d4095(0x192)]&&(this[_0x3d4095(0x192)][_0x3d4095(0x1d5)](_0xa4b968),_0xa4b968['on']('close',()=>{const _0x2a7a91=_0x3d4095;this[_0x2a7a91(0x192)][_0x2a7a91(0x30d)](_0xa4b968),this[_0x2a7a91(0x1bb)]&&!this[_0x2a7a91(0x192)][_0x2a7a91(0x2b0)]&&process[_0x2a7a91(0x258)](_0x5396fe,this);})),_0x4bc7aa(_0xa4b968,_0x43eca2);}}Te=_0x4ccccc;function _0x4e8594(_0x54c465,_0xa91dba){const _0x514dd2=_0x197e77;for(const _0x2695d7 of Object[_0x514dd2(0x2ad)](_0xa91dba))_0x54c465['on'](_0x2695d7,_0xa91dba[_0x2695d7]);return function(){const _0x3b750c=_0x514dd2;for(const _0x329747 of Object[_0x3b750c(0x2ad)](_0xa91dba))_0x54c465[_0x3b750c(0x256)](_0x329747,_0xa91dba[_0x329747]);};}function _0x5396fe(_0x57d070){const _0x2f8189=_0x197e77;_0x57d070[_0x2f8189(0x2d6)]=_0x3bfcaa,_0x57d070[_0x2f8189(0x22e)]('close');}function _0x59308d(){const _0xd11c50=_0x197e77;this[_0xd11c50(0x1ba)]();}function _0x49166c(_0x45ecb0,_0x274047,_0x5e509f,_0x1ad16f){const _0x27c9d3=_0x197e77;_0x5e509f=_0x5e509f||_0x3395a2[_0x27c9d3(0x2bf)][_0x274047],_0x1ad16f={'Connection':_0x27c9d3(0x32c),'Content-Type':_0x27c9d3(0x2f4),'Content-Length':Buffer[_0x27c9d3(0x2be)](_0x5e509f),..._0x1ad16f},_0x45ecb0[_0x27c9d3(0x204)](_0x27c9d3(0x30c),_0x45ecb0[_0x27c9d3(0x1ba)]),_0x45ecb0[_0x27c9d3(0x2d5)](_0x27c9d3(0x307)+_0x274047+'\x20'+_0x3395a2['STATUS_CODES'][_0x274047]+'\x0d\x0a'+Object[_0x27c9d3(0x2ad)](_0x1ad16f)[_0x27c9d3(0x17c)](_0x10b6d0=>_0x10b6d0+':\x20'+_0x1ad16f[_0x10b6d0])[_0x27c9d3(0x230)]('\x0d\x0a')+_0x27c9d3(0x20b)+_0x5e509f);}function _0x182875(_0x29ede3,_0x5c8f59,_0x4c978b,_0x237829,_0x4b2aa4,_0x158397){const _0x1aecda=_0x197e77;if(_0x29ede3[_0x1aecda(0x32b)](_0x1aecda(0x2c2))){const _0x5298b0=new Error(_0x4b2aa4);Error[_0x1aecda(0x287)](_0x5298b0,_0x182875),_0x29ede3[_0x1aecda(0x22e)](_0x1aecda(0x2c2),_0x5298b0,_0x4c978b,_0x5c8f59);}else _0x49166c(_0x4c978b,_0x237829,_0x4b2aa4,_0x158397);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x3e1aa7,_0x431dc6,_0x1fa412,_0x24d221)=>{const _0xe8c90c=_0x51270a;for(var _0x5c7854=_0x24d221>0x1?void 0x0:_0x24d221?jt(_0x431dc6,_0x1fa412):_0x431dc6,_0x3aafad=_0x3e1aa7[_0xe8c90c(0x1b2)]-0x1,_0x4f93fd;_0x3aafad>=0x0;_0x3aafad--)(_0x4f93fd=_0x3e1aa7[_0x3aafad])&&(_0x5c7854=_0x4f93fd(_0x5c7854)||_0x5c7854);return _0x5c7854;},qt=(_0x282550,_0x1549d4)=>(_0x5ad723,_0x51d8be)=>_0x1549d4(_0x5ad723,_0x51d8be,_0x282550);let ke=class extends A[_0x51270a(0x1dc)]{constructor(_0x481cbe){super(),this['_configService']=_0x481cbe;}['createSocket'](_0x3e9a35){const _0x4b4453=_0x51270a;var _0xa75b67;const _0x2fd846=(_0xa75b67=this['_configService'][_0x4b4453(0x2db)](fe))==null?void 0x0:_0xa75b67[_0x4b4453(0x2b7)];try{const _0x11110e=new $t(_0x3e9a35,{'headers':{..._0x2fd846}}),_0x2dcc5b=new A[(_0x4b4453(0x1e4))]();return{'URL':_0x3e9a35,'close':(_0x2b6fa2,_0x599e11)=>{const _0x5969f4=_0x4b4453;_0x11110e[_0x5969f4(0x32c)](_0x2b6fa2,_0x599e11),_0x2dcc5b[_0x5969f4(0x30e)]();},'send':_0x15b453=>{const _0xac9cea=_0x4b4453;_0x11110e[_0xac9cea(0x2ba)](_0x15b453);},'open$':new V['Observable'](_0x2f1c23=>{const _0x653017=_0x4b4453,_0x11cbd0=_0x348454=>_0x2f1c23[_0x653017(0x237)](_0x348454);_0x11110e[_0x653017(0x2f5)](_0x653017(0x1ef),_0x11cbd0),_0x2dcc5b[_0x653017(0x1d5)](A[_0x653017(0x299)](()=>_0x11110e['removeEventListener'](_0x653017(0x1ef),_0x11cbd0)));})[_0x4b4453(0x1c0)](V[_0x4b4453(0x1f0)]()),'close$':new V[(_0x4b4453(0x1d8))](_0x373c99=>{const _0x657ced=_0x4b4453,_0x294ace=_0x183a9a=>_0x373c99[_0x657ced(0x237)](_0x183a9a);_0x11110e['addEventListener']('close',_0x294ace),_0x2dcc5b[_0x657ced(0x1d5)](A[_0x657ced(0x299)](()=>_0x11110e[_0x657ced(0x225)]('close',_0x294ace)));})['pipe'](V[_0x4b4453(0x1f0)]()),'error$':new V['Observable'](_0x2905aa=>{const _0x2fe0b3=_0x4b4453,_0x4b8c4c=_0x19262c=>_0x2905aa[_0x2fe0b3(0x237)](_0x19262c);_0x11110e['addEventListener'](_0x2fe0b3(0x1fc),_0x4b8c4c),_0x2dcc5b[_0x2fe0b3(0x1d5)](A[_0x2fe0b3(0x299)](()=>_0x11110e[_0x2fe0b3(0x225)](_0x2fe0b3(0x1fc),_0x4b8c4c)));})[_0x4b4453(0x1c0)](V[_0x4b4453(0x1f0)]()),'message$':new V[(_0x4b4453(0x1d8))](_0x8045d7=>{const _0x35fd68=_0x4b4453,_0x4766ac=_0x1e752d=>_0x8045d7['next'](_0x1e752d);_0x11110e[_0x35fd68(0x2f5)]('message',_0x4766ac),_0x2dcc5b[_0x35fd68(0x1d5)](A[_0x35fd68(0x299)](()=>_0x11110e['removeEventListener']('message',_0x4766ac)));})[_0x4b4453(0x1c0)](V[_0x4b4453(0x1f0)]())};}catch(_0x275d05){return console[_0x4b4453(0x1fc)](_0x275d05),null;}}};ke=Wt([qt(0x0,A[_0x51270a(0x17e)])],ke);var Gt=Object['defineProperty'],Vt=Object[_0x51270a(0x23e)],Ht=(_0x49d816,_0x364497,_0x3890f2)=>_0x364497 in _0x49d816?Gt(_0x49d816,_0x364497,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3890f2}):_0x49d816[_0x364497]=_0x3890f2,zt=(_0x4b810f,_0x4eb7bb,_0x3c584c,_0x3e8f55)=>{const _0x4a98e8=_0x51270a;for(var _0x1e6a7=_0x3e8f55>0x1?void 0x0:_0x3e8f55?Vt(_0x4eb7bb,_0x3c584c):_0x4eb7bb,_0xd66e1a=_0x4b810f[_0x4a98e8(0x1b2)]-0x1,_0x2beb53;_0xd66e1a>=0x0;_0xd66e1a--)(_0x2beb53=_0x4b810f[_0xd66e1a])&&(_0x1e6a7=_0x2beb53(_0x1e6a7)||_0x1e6a7);return _0x1e6a7;},Ne=(_0x4f6eb6,_0x41fd30)=>(_0x26c13c,_0x506cb7)=>_0x41fd30(_0x26c13c,_0x506cb7,_0x4f6eb6),Yt=(_0x508d6c,_0x4057f7,_0xfc7e4c)=>Ht(_0x508d6c,_0x4057f7+'',_0xfc7e4c);exports[_0x51270a(0x238)]=class extends A[_0x51270a(0x247)]{constructor(_0x2a36d1=Ct,_0x29b893,_0x1f9af3,_0x30091a){const _0x33f083=_0x51270a;_0x2a36d1[_0x33f083(0x2b7)]||_0x29b893[_0x33f083(0x190)](_0x33f083(0x1f7)),super(),this['_configService']=_0x1f9af3,this[_0x33f083(0x22f)]=_0x30091a,this[_0x33f083(0x28e)][_0x33f083(0x21e)](fe,_0x2a36d1);}['onStarting'](){const _0x26c1a2=_0x51270a;this[_0x26c1a2(0x19c)]();}['_registerDependencies'](){const _0x250d0a=_0x51270a;A[_0x250d0a(0x1da)](this[_0x250d0a(0x22f)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x51270a(0x238)],'pluginName',_0x51270a(0x1ee)),exports[_0x51270a(0x238)]=zt([A[_0x51270a(0x321)](st[_0x51270a(0x272)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x51270a(0x17e)]),Ne(0x3,A[_0x51270a(0x300)](A[_0x51270a(0x259)]))],exports[_0x51270a(0x238)]);var Kt=Object[_0x51270a(0x23e)],Xt=(_0x466f9d,_0x5e56c9,_0x221106,_0x306cf3)=>{for(var _0x525bd4=_0x306cf3>0x1?void 0x0:_0x306cf3?Kt(_0x5e56c9,_0x221106):_0x5e56c9,_0x1bc395=_0x466f9d['length']-0x1,_0xe364eb;_0x1bc395>=0x0;_0x1bc395--)(_0xe364eb=_0x466f9d[_0x1bc395])&&(_0x525bd4=_0xe364eb(_0x525bd4)||_0x525bd4);return _0x525bd4;},ne=(_0x30c666,_0x1ded40)=>(_0x1c824d,_0x49d641)=>_0x1ded40(_0x1c824d,_0x49d641,_0x30c666);exports[_0x51270a(0x306)]=class extends st[_0x51270a(0x1c9)]{constructor(_0xd5a516,_0x5d4840,_0x1bd1ec,_0x43e3b8,_0xfb82b5){const _0x351e20=_0x51270a;super(_0xd5a516,_0x5d4840,_0x1bd1ec,_0x43e3b8,_0xfb82b5);const _0x3f811c=this[_0x351e20(0x28e)][_0x351e20(0x2db)](fe);this['_httpService'][_0x351e20(0x2c9)]({'interceptor':(_0x440fa9,_0x446411)=>{const _0x21f360=_0x351e20;var _0x88b8b0;const _0x2246a2=_0x440fa9[_0x21f360(0x2f9)];return(_0x88b8b0=_0x3f811c==null?void 0x0:_0x3f811c[_0x21f360(0x2b7)])!=null&&_0x88b8b0['cookie']&&_0x2246a2[_0x21f360(0x1b3)](_0x21f360(0x244),_0x3f811c[_0x21f360(0x2b7)]['cookie']),_0x446411(_0x440fa9);}});}async[_0x51270a(0x1a8)](_0x3cef58){const _0x3c467a=_0x51270a;return this[_0x3c467a(0x32f)](_0x3cef58);}},exports[_0x51270a(0x306)]=Xt([ne(0x0,A['Inject'](A['Injector'])),ne(0x1,A['Inject'](it[_0x51270a(0x25f)])),ne(0x2,A['IConfigService']),ne(0x3,A['ILogService']),ne(0x4,Ot['ISnapshotServerService'])],exports['NodeCollaborationSocketService']),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
|