@univerjs-pro/collaboration-client-node 0.8.0-nightly.202506101607 → 0.8.0-nightly.202506111607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x49d410=_0x80da;(function(_0x3ede5d,_0x4e9735){const _0x27cef3=_0x80da,_0x466ba1=_0x3ede5d();while(!![]){try{const _0x9d960b=-parseInt(_0x27cef3(0x1f5))/0x1+-parseInt(_0x27cef3(0x285))/0x2*(-parseInt(_0x27cef3(0x283))/0x3)+parseInt(_0x27cef3(0x2af))/0x4+parseInt(_0x27cef3(0x23a))/0x5+parseInt(_0x27cef3(0x2ba))/0x6+-parseInt(_0x27cef3(0x244))/0x7*(-parseInt(_0x27cef3(0x2b9))/0x8)+-parseInt(_0x27cef3(0x276))/0x9*(parseInt(_0x27cef3(0x248))/0xa);if(_0x9d960b===_0x4e9735)break;else _0x466ba1['push'](_0x466ba1['shift']());}catch(_0x47677c){_0x466ba1['push'](_0x466ba1['shift']());}}}(_0x458f,0xd1585));Object[_0x49d410(0x35e)](exports,Symbol[_0x49d410(0x1d7)],{'value':_0x49d410(0x227)});const st=require('@univerjs-pro/collaboration-client'),A=require(_0x49d410(0x29e)),it=require('@univerjs/network'),V=require(_0x49d410(0x294)),nt=require('events'),vt=require(_0x49d410(0x23e)),ot=require(_0x49d410(0x270)),St=require(_0x49d410(0x238)),Et=require(_0x49d410(0x1f2)),Le=require(_0x49d410(0x25d)),oe=require(_0x49d410(0x331)),xt=require(_0x49d410(0x23f)),bt=require(_0x49d410(0x370)),wt=require(_0x49d410(0x25e)),Ot=require('@univerjs-pro/collaboration'),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x33679e){const _0x3f78e4=_0x49d410;return _0x33679e&&_0x33679e[_0x3f78e4(0x246)]&&Object[_0x3f78e4(0x241)]['hasOwnProperty'][_0x3f78e4(0x1ec)](_0x33679e,'default')?_0x33679e[_0x3f78e4(0x28d)]:_0x33679e;}function at(_0x13a4a6){const _0x5a4865=_0x49d410;if(Object[_0x5a4865(0x241)][_0x5a4865(0x233)][_0x5a4865(0x1ec)](_0x13a4a6,'__esModule'))return _0x13a4a6;var _0x25c221=_0x13a4a6['default'];if(typeof _0x25c221==_0x5a4865(0x223)){var _0x4e7044=function _0x35ea9f(){const _0x426c73=_0x5a4865;return this instanceof _0x35ea9f?Reflect[_0x426c73(0x23d)](_0x25c221,arguments,this['constructor']):_0x25c221[_0x426c73(0x259)](this,arguments);};_0x4e7044['prototype']=_0x25c221[_0x5a4865(0x241)];}else _0x4e7044={};return Object['defineProperty'](_0x4e7044,_0x5a4865(0x246),{'value':!0x0}),Object[_0x5a4865(0x1ed)](_0x13a4a6)[_0x5a4865(0x289)](function(_0x53be8c){const _0xdccdcf=_0x5a4865;var _0x3e753f=Object[_0xdccdcf(0x2ec)](_0x13a4a6,_0x53be8c);Object[_0xdccdcf(0x35e)](_0x4e7044,_0x53be8c,_0x3e753f['get']?_0x3e753f:{'enumerable':!0x0,'get':function(){return _0x13a4a6[_0x53be8c];}});}),_0x4e7044;}var se={'exports':{}},ge,Ge;function H(){const _0x139108=_0x49d410;if(Ge)return ge;Ge=0x1;const _0x24a045=[_0x139108(0x22c),_0x139108(0x1b8),_0x139108(0x29a)],_0x6c021c=typeof Blob<'u';return _0x6c021c&&_0x24a045[_0x139108(0x293)](_0x139108(0x352)),ge={'BINARY_TYPES':_0x24a045,'EMPTY_BUFFER':Buffer[_0x139108(0x27d)](0x0),'GUID':_0x139108(0x2ef),'hasBlob':_0x6c021c,'kForOnEventAttribute':Symbol(_0x139108(0x328)),'kListener':Symbol('kListener'),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x139108(0x30b)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0x49d410(0x35e)]({'__proto__':null,'default':Nt},Symbol[_0x49d410(0x1d7)],{'value':_0x49d410(0x227)})),Lt=at(kt);var Ve;function ce(){const _0xdee44e=_0x49d410;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x27d591}=H(),_0x2c7ad0=Buffer[Symbol['species']];function _0x421a2f(_0x3c1f41,_0x415026){const _0x373e3d=_0x80da;if(_0x3c1f41['length']===0x0)return _0x27d591;if(_0x3c1f41[_0x373e3d(0x240)]===0x1)return _0x3c1f41[0x0];const _0x56efc7=Buffer[_0x373e3d(0x377)](_0x415026);let _0x2eaa70=0x0;for(let _0x37d402=0x0;_0x37d402<_0x3c1f41['length'];_0x37d402++){const _0x5d97ae=_0x3c1f41[_0x37d402];_0x56efc7[_0x373e3d(0x1e7)](_0x5d97ae,_0x2eaa70),_0x2eaa70+=_0x5d97ae[_0x373e3d(0x240)];}return _0x2eaa70<_0x415026?new _0x2c7ad0(_0x56efc7[_0x373e3d(0x25e)],_0x56efc7[_0x373e3d(0x1bc)],_0x2eaa70):_0x56efc7;}function _0x59b739(_0x52b0ab,_0x3acf87,_0x1c64ca,_0xfc9b78,_0x15aa21){for(let _0x1397de=0x0;_0x1397de<_0x15aa21;_0x1397de++)_0x1c64ca[_0xfc9b78+_0x1397de]=_0x52b0ab[_0x1397de]^_0x3acf87[_0x1397de&0x3];}function _0x4b5025(_0x35841b,_0x110c56){const _0x471d52=_0x80da;for(let _0x2364e4=0x0;_0x2364e4<_0x35841b[_0x471d52(0x240)];_0x2364e4++)_0x35841b[_0x2364e4]^=_0x110c56[_0x2364e4&0x3];}function _0x2910e4(_0x64ce60){const _0x4e055e=_0x80da;return _0x64ce60[_0x4e055e(0x240)]===_0x64ce60[_0x4e055e(0x25e)][_0x4e055e(0x1e1)]?_0x64ce60[_0x4e055e(0x25e)]:_0x64ce60['buffer'][_0x4e055e(0x2ad)](_0x64ce60[_0x4e055e(0x1bc)],_0x64ce60[_0x4e055e(0x1bc)]+_0x64ce60[_0x4e055e(0x240)]);}function _0x3ca141(_0x19ef8f){const _0x3de347=_0x80da;if(_0x3ca141[_0x3de347(0x2fb)]=!0x0,Buffer['isBuffer'](_0x19ef8f))return _0x19ef8f;let _0x2f9a68;return _0x19ef8f instanceof ArrayBuffer?_0x2f9a68=new _0x2c7ad0(_0x19ef8f):ArrayBuffer['isView'](_0x19ef8f)?_0x2f9a68=new _0x2c7ad0(_0x19ef8f[_0x3de347(0x25e)],_0x19ef8f['byteOffset'],_0x19ef8f[_0x3de347(0x1e1)]):(_0x2f9a68=Buffer['from'](_0x19ef8f),_0x3ca141[_0x3de347(0x2fb)]=!0x1),_0x2f9a68;}if(se[_0xdee44e(0x21e)]={'concat':_0x421a2f,'mask':_0x59b739,'toArrayBuffer':_0x2910e4,'toBuffer':_0x3ca141,'unmask':_0x4b5025},!process['env'][_0xdee44e(0x21a)])try{const _0x2a4571=Lt;se[_0xdee44e(0x21e)][_0xdee44e(0x1ef)]=function(_0x5eec12,_0x41a0b2,_0x513d11,_0x2a1ddb,_0x493a5a){const _0x46fa73=_0xdee44e;_0x493a5a<0x30?_0x59b739(_0x5eec12,_0x41a0b2,_0x513d11,_0x2a1ddb,_0x493a5a):_0x2a4571[_0x46fa73(0x1ef)](_0x5eec12,_0x41a0b2,_0x513d11,_0x2a1ddb,_0x493a5a);},se[_0xdee44e(0x21e)][_0xdee44e(0x2d9)]=function(_0x3daa96,_0x15018f){const _0x2a5561=_0xdee44e;_0x3daa96[_0x2a5561(0x240)]<0x20?_0x4b5025(_0x3daa96,_0x15018f):_0x2a4571[_0x2a5561(0x2d9)](_0x3daa96,_0x15018f);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x16676c=_0x49d410;if(He)return ye;He=0x1;const _0x55010f=Symbol(_0x16676c(0x1cc)),_0x509543=Symbol(_0x16676c(0x1fd));class _0x45f4a7{constructor(_0xe92a02){const _0x2ca3e1=_0x16676c;this[_0x55010f]=()=>{const _0x3fc8c4=_0x80da;this[_0x3fc8c4(0x206)]--,this[_0x509543]();},this[_0x2ca3e1(0x2ca)]=_0xe92a02||0x1/0x0,this[_0x2ca3e1(0x22f)]=[],this['pending']=0x0;}['add'](_0x1b975b){const _0x3f7025=_0x16676c;this[_0x3f7025(0x22f)][_0x3f7025(0x293)](_0x1b975b),this[_0x509543]();}[_0x509543](){const _0x38cb48=_0x16676c;if(this['pending']!==this[_0x38cb48(0x2ca)]&&this[_0x38cb48(0x22f)][_0x38cb48(0x240)]){const _0x4dd60a=this[_0x38cb48(0x22f)][_0x38cb48(0x344)]();this[_0x38cb48(0x206)]++,_0x4dd60a(this[_0x55010f]);}}}return ye=_0x45f4a7,ye;}var ve,ze;function he(){const _0x1a43ed=_0x49d410;if(ze)return ve;ze=0x1;const _0xbffc26=bt,_0x1db1c0=ce(),_0x4e93fc=Pt(),{kStatusCode:_0x365407}=H(),_0x64111a=Buffer[Symbol[_0x1a43ed(0x26e)]],_0x353570=Buffer[_0x1a43ed(0x34a)]([0x0,0x0,0xff,0xff]),_0x119159=Symbol('permessage-deflate'),_0x2b1bcf=Symbol(_0x1a43ed(0x234)),_0x88312e=Symbol(_0x1a43ed(0x2d7)),_0x56bdcc=Symbol(_0x1a43ed(0x242)),_0x5323e1=Symbol(_0x1a43ed(0x219));let _0x1a9d00;class _0x208d93{constructor(_0x253ffe,_0x25b06a,_0x4117a5){const _0x1e9be3=_0x1a43ed;if(this[_0x1e9be3(0x275)]=_0x4117a5|0x0,this[_0x1e9be3(0x27f)]=_0x253ffe||{},this[_0x1e9be3(0x204)]=this[_0x1e9be3(0x27f)]['threshold']!==void 0x0?this['_options'][_0x1e9be3(0x340)]:0x400,this[_0x1e9be3(0x358)]=!!_0x25b06a,this[_0x1e9be3(0x281)]=null,this['_inflate']=null,this['params']=null,!_0x1a9d00){const _0x4fb485=this[_0x1e9be3(0x27f)][_0x1e9be3(0x1cf)]!==void 0x0?this[_0x1e9be3(0x27f)]['concurrencyLimit']:0xa;_0x1a9d00=new _0x4e93fc(_0x4fb485);}}static get['extensionName'](){return'permessage-deflate';}[_0x1a43ed(0x346)](){const _0x5e1a1b=_0x1a43ed,_0x40d806={};return this['_options'][_0x5e1a1b(0x284)]&&(_0x40d806[_0x5e1a1b(0x2a0)]=!0x0),this[_0x5e1a1b(0x27f)]['clientNoContextTakeover']&&(_0x40d806[_0x5e1a1b(0x2a8)]=!0x0),this[_0x5e1a1b(0x27f)][_0x5e1a1b(0x355)]&&(_0x40d806[_0x5e1a1b(0x287)]=this[_0x5e1a1b(0x27f)][_0x5e1a1b(0x355)]),this['_options'][_0x5e1a1b(0x216)]?_0x40d806[_0x5e1a1b(0x1c0)]=this[_0x5e1a1b(0x27f)][_0x5e1a1b(0x216)]:this[_0x5e1a1b(0x27f)][_0x5e1a1b(0x216)]==null&&(_0x40d806['client_max_window_bits']=!0x0),_0x40d806;}[_0x1a43ed(0x376)](_0x525e74){const _0x259a96=_0x1a43ed;return _0x525e74=this[_0x259a96(0x2c2)](_0x525e74),this[_0x259a96(0x1b7)]=this[_0x259a96(0x358)]?this[_0x259a96(0x26b)](_0x525e74):this[_0x259a96(0x1d4)](_0x525e74),this['params'];}[_0x1a43ed(0x2e8)](){const _0x66577c=_0x1a43ed;if(this['_inflate']&&(this[_0x66577c(0x323)]['close'](),this[_0x66577c(0x323)]=null),this['_deflate']){const _0x5b2e78=this['_deflate'][_0x88312e];this[_0x66577c(0x281)]['close'](),this[_0x66577c(0x281)]=null,_0x5b2e78&&_0x5b2e78(new Error(_0x66577c(0x2c7)));}}['acceptAsServer'](_0x5d66e8){const _0x497b2e=_0x1a43ed,_0x35fe5f=this['_options'],_0x34561f=_0x5d66e8[_0x497b2e(0x34c)](_0x32bcd5=>!(_0x35fe5f[_0x497b2e(0x284)]===!0x1&&_0x32bcd5[_0x497b2e(0x2a0)]||_0x32bcd5[_0x497b2e(0x287)]&&(_0x35fe5f['serverMaxWindowBits']===!0x1||typeof _0x35fe5f[_0x497b2e(0x355)]=='number'&&_0x35fe5f[_0x497b2e(0x355)]>_0x32bcd5[_0x497b2e(0x287)])||typeof _0x35fe5f[_0x497b2e(0x216)]==_0x497b2e(0x2db)&&!_0x32bcd5['client_max_window_bits']));if(!_0x34561f)throw new Error(_0x497b2e(0x1d9));return _0x35fe5f['serverNoContextTakeover']&&(_0x34561f['server_no_context_takeover']=!0x0),_0x35fe5f[_0x497b2e(0x29b)]&&(_0x34561f['client_no_context_takeover']=!0x0),typeof _0x35fe5f[_0x497b2e(0x355)]==_0x497b2e(0x2db)&&(_0x34561f[_0x497b2e(0x287)]=_0x35fe5f[_0x497b2e(0x355)]),typeof _0x35fe5f['clientMaxWindowBits']==_0x497b2e(0x2db)?_0x34561f[_0x497b2e(0x1c0)]=_0x35fe5f['clientMaxWindowBits']:(_0x34561f[_0x497b2e(0x1c0)]===!0x0||_0x35fe5f['clientMaxWindowBits']===!0x1)&&delete _0x34561f['client_max_window_bits'],_0x34561f;}[_0x1a43ed(0x1d4)](_0x317877){const _0x54470d=_0x1a43ed,_0x1b50d1=_0x317877[0x0];if(this[_0x54470d(0x27f)][_0x54470d(0x29b)]===!0x1&&_0x1b50d1['client_no_context_takeover'])throw new Error(_0x54470d(0x1da));if(!_0x1b50d1[_0x54470d(0x1c0)])typeof this[_0x54470d(0x27f)][_0x54470d(0x216)]=='number'&&(_0x1b50d1[_0x54470d(0x1c0)]=this['_options'][_0x54470d(0x216)]);else{if(this['_options'][_0x54470d(0x216)]===!0x1||typeof this[_0x54470d(0x27f)][_0x54470d(0x216)]=='number'&&_0x1b50d1[_0x54470d(0x1c0)]>this[_0x54470d(0x27f)][_0x54470d(0x216)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x1b50d1;}[_0x1a43ed(0x2c2)](_0x546fae){return _0x546fae['forEach'](_0x439322=>{const _0x148d28=_0x80da;Object['keys'](_0x439322)[_0x148d28(0x289)](_0x38d370=>{const _0x251e7b=_0x148d28;let _0x511f5b=_0x439322[_0x38d370];if(_0x511f5b['length']>0x1)throw new Error('Parameter\x20\x22'+_0x38d370+_0x251e7b(0x349));if(_0x511f5b=_0x511f5b[0x0],_0x38d370===_0x251e7b(0x1c0)){if(_0x511f5b!==!0x0){const _0x388a1b=+_0x511f5b;if(!Number[_0x251e7b(0x2fc)](_0x388a1b)||_0x388a1b<0x8||_0x388a1b>0xf)throw new TypeError(_0x251e7b(0x35b)+_0x38d370+'\x22:\x20'+_0x511f5b);_0x511f5b=_0x388a1b;}else{if(!this['_isServer'])throw new TypeError(_0x251e7b(0x35b)+_0x38d370+_0x251e7b(0x332)+_0x511f5b);}}else{if(_0x38d370===_0x251e7b(0x287)){const _0x53a50f=+_0x511f5b;if(!Number[_0x251e7b(0x2fc)](_0x53a50f)||_0x53a50f<0x8||_0x53a50f>0xf)throw new TypeError(_0x251e7b(0x35b)+_0x38d370+_0x251e7b(0x332)+_0x511f5b);_0x511f5b=_0x53a50f;}else{if(_0x38d370===_0x251e7b(0x2a8)||_0x38d370===_0x251e7b(0x2a0)){if(_0x511f5b!==!0x0)throw new TypeError(_0x251e7b(0x35b)+_0x38d370+_0x251e7b(0x332)+_0x511f5b);}else throw new Error(_0x251e7b(0x2f2)+_0x38d370+'\x22');}}_0x439322[_0x38d370]=_0x511f5b;});}),_0x546fae;}[_0x1a43ed(0x253)](_0x3b4d82,_0x212108,_0x302e95){const _0xa80c=_0x1a43ed;_0x1a9d00[_0xa80c(0x343)](_0x8a1939=>{const _0x2fd886=_0xa80c;this[_0x2fd886(0x329)](_0x3b4d82,_0x212108,(_0x41c0b0,_0x36b452)=>{_0x8a1939(),_0x302e95(_0x41c0b0,_0x36b452);});});}[_0x1a43ed(0x2eb)](_0x4ca9b7,_0x51b544,_0x303a78){const _0x3f1047=_0x1a43ed;_0x1a9d00[_0x3f1047(0x343)](_0x3f53c7=>{this['_compress'](_0x4ca9b7,_0x51b544,(_0x196c29,_0x21634a)=>{_0x3f53c7(),_0x303a78(_0x196c29,_0x21634a);});});}[_0x1a43ed(0x329)](_0x4497d8,_0x3c923b,_0x56f0cb){const _0x52e278=_0x1a43ed,_0x53bbd5=this[_0x52e278(0x358)]?_0x52e278(0x2b7):'server';if(!this['_inflate']){const _0x4db491=_0x53bbd5+_0x52e278(0x25b),_0x46dc15=typeof this[_0x52e278(0x1b7)][_0x4db491]!=_0x52e278(0x2db)?_0xbffc26[_0x52e278(0x261)]:this['params'][_0x4db491];this[_0x52e278(0x323)]=_0xbffc26[_0x52e278(0x326)]({...this[_0x52e278(0x27f)][_0x52e278(0x274)],'windowBits':_0x46dc15}),this[_0x52e278(0x323)][_0x119159]=this,this[_0x52e278(0x323)][_0x2b1bcf]=0x0,this[_0x52e278(0x323)][_0x56bdcc]=[],this[_0x52e278(0x323)]['on'](_0x52e278(0x219),_0x2b64cf),this['_inflate']['on'](_0x52e278(0x26c),_0x9aa71);}this[_0x52e278(0x323)][_0x88312e]=_0x56f0cb,this[_0x52e278(0x323)]['write'](_0x4497d8),_0x3c923b&&this[_0x52e278(0x323)][_0x52e278(0x36b)](_0x353570),this[_0x52e278(0x323)]['flush'](()=>{const _0xa49890=_0x52e278,_0x4745c5=this['_inflate'][_0x5323e1];if(_0x4745c5){this[_0xa49890(0x323)][_0xa49890(0x1dd)](),this[_0xa49890(0x323)]=null,_0x56f0cb(_0x4745c5);return;}const _0x353a11=_0x1db1c0['concat'](this['_inflate'][_0x56bdcc],this['_inflate'][_0x2b1bcf]);this[_0xa49890(0x323)][_0xa49890(0x269)][_0xa49890(0x2e9)]?(this[_0xa49890(0x323)][_0xa49890(0x1dd)](),this[_0xa49890(0x323)]=null):(this[_0xa49890(0x323)][_0x2b1bcf]=0x0,this[_0xa49890(0x323)][_0x56bdcc]=[],_0x3c923b&&this[_0xa49890(0x1b7)][_0x53bbd5+'_no_context_takeover']&&this['_inflate']['reset']()),_0x56f0cb(null,_0x353a11);});}[_0x1a43ed(0x1d8)](_0x3776ea,_0x3cb4b0,_0x15ad5d){const _0x219916=_0x1a43ed,_0x5cfe12=this[_0x219916(0x358)]?_0x219916(0x35d):_0x219916(0x2b7);if(!this['_deflate']){const _0x19cae5=_0x5cfe12+'_max_window_bits',_0xb1f4=typeof this['params'][_0x19cae5]!=_0x219916(0x2db)?_0xbffc26[_0x219916(0x261)]:this[_0x219916(0x1b7)][_0x19cae5];this['_deflate']=_0xbffc26[_0x219916(0x267)]({...this[_0x219916(0x27f)][_0x219916(0x290)],'windowBits':_0xb1f4}),this['_deflate'][_0x2b1bcf]=0x0,this[_0x219916(0x281)][_0x56bdcc]=[],this['_deflate']['on'](_0x219916(0x26c),_0x4636f1);}this[_0x219916(0x281)][_0x88312e]=_0x15ad5d,this[_0x219916(0x281)][_0x219916(0x36b)](_0x3776ea),this['_deflate'][_0x219916(0x33c)](_0xbffc26['Z_SYNC_FLUSH'],()=>{const _0x47b9a1=_0x219916;if(!this['_deflate'])return;let _0x4b48a3=_0x1db1c0[_0x47b9a1(0x20f)](this[_0x47b9a1(0x281)][_0x56bdcc],this[_0x47b9a1(0x281)][_0x2b1bcf]);_0x3cb4b0&&(_0x4b48a3=new _0x64111a(_0x4b48a3[_0x47b9a1(0x25e)],_0x4b48a3[_0x47b9a1(0x1bc)],_0x4b48a3[_0x47b9a1(0x240)]-0x4)),this[_0x47b9a1(0x281)][_0x88312e]=null,this[_0x47b9a1(0x281)][_0x2b1bcf]=0x0,this['_deflate'][_0x56bdcc]=[],_0x3cb4b0&&this['params'][_0x5cfe12+'_no_context_takeover']&&this['_deflate'][_0x47b9a1(0x2ea)](),_0x15ad5d(null,_0x4b48a3);});}}ve=_0x208d93;function _0x4636f1(_0xe350f9){this[_0x56bdcc]['push'](_0xe350f9),this[_0x2b1bcf]+=_0xe350f9['length'];}function _0x9aa71(_0x31baa8){const _0x169b17=_0x1a43ed;if(this[_0x2b1bcf]+=_0x31baa8[_0x169b17(0x240)],this[_0x119159][_0x169b17(0x275)]<0x1||this[_0x2b1bcf]<=this[_0x119159][_0x169b17(0x275)]){this[_0x56bdcc][_0x169b17(0x293)](_0x31baa8);return;}this[_0x5323e1]=new RangeError(_0x169b17(0x2de)),this[_0x5323e1][_0x169b17(0x2d8)]=_0x169b17(0x2f4),this[_0x5323e1][_0x365407]=0x3f1,this[_0x169b17(0x374)](_0x169b17(0x26c),_0x9aa71),this[_0x169b17(0x2ea)]();}function _0x2b64cf(_0x135fec){const _0x3582d9=_0x1a43ed;if(this[_0x119159][_0x3582d9(0x323)]=null,this[_0x5323e1]){this[_0x88312e](this[_0x5323e1]);return;}_0x135fec[_0x365407]=0x3ef,this[_0x88312e](_0x135fec);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x49d410(0x35e)]({'__proto__':null,'default':Dt},Symbol[_0x49d410(0x1d7)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x5afaa9=_0x49d410;if(Ye)return ie[_0x5afaa9(0x21e)];Ye=0x1;const {isUtf8:_0x1cf0d0}=wt,{hasBlob:_0x3215a9}=H(),_0x42457f=[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 _0xa454c3(_0x309688){return _0x309688>=0x3e8&&_0x309688<=0x3f6&&_0x309688!==0x3ec&&_0x309688!==0x3ed&&_0x309688!==0x3ee||_0x309688>=0xbb8&&_0x309688<=0x1387;}function _0x5e829d(_0x43f588){const _0x57b980=_0x43f588['length'];let _0x15d257=0x0;for(;_0x15d257<_0x57b980;)if((_0x43f588[_0x15d257]&0x80)===0x0)_0x15d257++;else{if((_0x43f588[_0x15d257]&0xe0)===0xc0){if(_0x15d257+0x1===_0x57b980||(_0x43f588[_0x15d257+0x1]&0xc0)!==0x80||(_0x43f588[_0x15d257]&0xfe)===0xc0)return!0x1;_0x15d257+=0x2;}else{if((_0x43f588[_0x15d257]&0xf0)===0xe0){if(_0x15d257+0x2>=_0x57b980||(_0x43f588[_0x15d257+0x1]&0xc0)!==0x80||(_0x43f588[_0x15d257+0x2]&0xc0)!==0x80||_0x43f588[_0x15d257]===0xe0&&(_0x43f588[_0x15d257+0x1]&0xe0)===0x80||_0x43f588[_0x15d257]===0xed&&(_0x43f588[_0x15d257+0x1]&0xe0)===0xa0)return!0x1;_0x15d257+=0x3;}else{if((_0x43f588[_0x15d257]&0xf8)===0xf0){if(_0x15d257+0x3>=_0x57b980||(_0x43f588[_0x15d257+0x1]&0xc0)!==0x80||(_0x43f588[_0x15d257+0x2]&0xc0)!==0x80||(_0x43f588[_0x15d257+0x3]&0xc0)!==0x80||_0x43f588[_0x15d257]===0xf0&&(_0x43f588[_0x15d257+0x1]&0xf0)===0x80||_0x43f588[_0x15d257]===0xf4&&_0x43f588[_0x15d257+0x1]>0x8f||_0x43f588[_0x15d257]>0xf4)return!0x1;_0x15d257+=0x4;}else return!0x1;}}}return!0x0;}function _0x40d941(_0x249064){const _0x3cae01=_0x5afaa9;return _0x3215a9&&typeof _0x249064==_0x3cae01(0x34d)&&typeof _0x249064[_0x3cae01(0x226)]=='function'&&typeof _0x249064['type']==_0x3cae01(0x22b)&&typeof _0x249064[_0x3cae01(0x331)]==_0x3cae01(0x223)&&(_0x249064[Symbol['toStringTag']]==='Blob'||_0x249064[Symbol[_0x3cae01(0x1d7)]]===_0x3cae01(0x21f));}if(ie[_0x5afaa9(0x21e)]={'isBlob':_0x40d941,'isValidStatusCode':_0xa454c3,'isValidUTF8':_0x5e829d,'tokenChars':_0x42457f},_0x1cf0d0)ie[_0x5afaa9(0x21e)][_0x5afaa9(0x2e2)]=function(_0x1e5bf){return _0x1e5bf['length']<0x18?_0x5e829d(_0x1e5bf):_0x1cf0d0(_0x1e5bf);};else{if(!process[_0x5afaa9(0x2bb)][_0x5afaa9(0x2ab)])try{const _0x404c4b=Bt;ie[_0x5afaa9(0x21e)][_0x5afaa9(0x2e2)]=function(_0x4e31f0){const _0x351fa5=_0x5afaa9;return _0x4e31f0[_0x351fa5(0x240)]<0x20?_0x5e829d(_0x4e31f0):_0x404c4b(_0x4e31f0);};}catch{}}return ie[_0x5afaa9(0x21e)];}var Se,Ke;function lt(){const _0x29c6bb=_0x49d410;if(Ke)return Se;Ke=0x1;const {Writable:_0x5849c3}=oe,_0x4b23fe=he(),{BINARY_TYPES:_0x5a6dd8,EMPTY_BUFFER:_0x3b2de3,kStatusCode:_0x1469c2,kWebSocket:_0x2cfa7d}=H(),{concat:_0xb6ae98,toArrayBuffer:_0x116a95,unmask:_0x4a73b9}=ce(),{isValidStatusCode:_0x4e5d22,isValidUTF8:_0x4d6d11}=ae(),_0x4aa556=Buffer[Symbol[_0x29c6bb(0x26e)]],_0x37fa13=0x0,_0x230759=0x1,_0x4c8e5c=0x2,_0x3654ea=0x3,_0xf552d7=0x4,_0x2782f1=0x5,_0x2a8bda=0x6;class _0x1ff522 extends _0x5849c3{constructor(_0x480ab2={}){const _0x31bc0a=_0x29c6bb;super(),this[_0x31bc0a(0x2bd)]=_0x480ab2[_0x31bc0a(0x1e2)]!==void 0x0?_0x480ab2['allowSynchronousEvents']:!0x0,this[_0x31bc0a(0x228)]=_0x480ab2['binaryType']||_0x5a6dd8[0x0],this['_extensions']=_0x480ab2['extensions']||{},this[_0x31bc0a(0x358)]=!!_0x480ab2[_0x31bc0a(0x363)],this[_0x31bc0a(0x275)]=_0x480ab2[_0x31bc0a(0x1b3)]|0x0,this[_0x31bc0a(0x1db)]=!!_0x480ab2['skipUTF8Validation'],this[_0x2cfa7d]=void 0x0,this[_0x31bc0a(0x271)]=0x0,this[_0x31bc0a(0x1b1)]=[],this[_0x31bc0a(0x327)]=!0x1,this[_0x31bc0a(0x31f)]=0x0,this[_0x31bc0a(0x33d)]=void 0x0,this[_0x31bc0a(0x308)]=0x0,this[_0x31bc0a(0x371)]=!0x1,this['_fin']=!0x1,this[_0x31bc0a(0x2be)]=0x0,this[_0x31bc0a(0x339)]=0x0,this[_0x31bc0a(0x254)]=0x0,this[_0x31bc0a(0x1bd)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this[_0x31bc0a(0x26a)]=_0x37fa13;}[_0x29c6bb(0x273)](_0x2b46bd,_0x465133,_0x34057b){const _0x2c9e6d=_0x29c6bb;if(this['_opcode']===0x8&&this[_0x2c9e6d(0x26a)]==_0x37fa13)return _0x34057b();this[_0x2c9e6d(0x271)]+=_0x2b46bd['length'],this[_0x2c9e6d(0x1b1)][_0x2c9e6d(0x293)](_0x2b46bd),this[_0x2c9e6d(0x252)](_0x34057b);}[_0x29c6bb(0x2d6)](_0x5dc718){const _0x2eb2a8=_0x29c6bb;if(this[_0x2eb2a8(0x271)]-=_0x5dc718,_0x5dc718===this['_buffers'][0x0]['length'])return this[_0x2eb2a8(0x1b1)][_0x2eb2a8(0x344)]();if(_0x5dc718<this[_0x2eb2a8(0x1b1)][0x0][_0x2eb2a8(0x240)]){const _0x445fd3=this[_0x2eb2a8(0x1b1)][0x0];return this[_0x2eb2a8(0x1b1)][0x0]=new _0x4aa556(_0x445fd3[_0x2eb2a8(0x25e)],_0x445fd3[_0x2eb2a8(0x1bc)]+_0x5dc718,_0x445fd3['length']-_0x5dc718),new _0x4aa556(_0x445fd3[_0x2eb2a8(0x25e)],_0x445fd3[_0x2eb2a8(0x1bc)],_0x5dc718);}const _0x50b784=Buffer[_0x2eb2a8(0x377)](_0x5dc718);do{const _0x1d9a41=this[_0x2eb2a8(0x1b1)][0x0],_0x3fd70d=_0x50b784[_0x2eb2a8(0x240)]-_0x5dc718;_0x5dc718>=_0x1d9a41[_0x2eb2a8(0x240)]?_0x50b784[_0x2eb2a8(0x1e7)](this['_buffers'][_0x2eb2a8(0x344)](),_0x3fd70d):(_0x50b784[_0x2eb2a8(0x1e7)](new Uint8Array(_0x1d9a41[_0x2eb2a8(0x25e)],_0x1d9a41['byteOffset'],_0x5dc718),_0x3fd70d),this[_0x2eb2a8(0x1b1)][0x0]=new _0x4aa556(_0x1d9a41[_0x2eb2a8(0x25e)],_0x1d9a41[_0x2eb2a8(0x1bc)]+_0x5dc718,_0x1d9a41['length']-_0x5dc718)),_0x5dc718-=_0x1d9a41[_0x2eb2a8(0x240)];}while(_0x5dc718>0x0);return _0x50b784;}['startLoop'](_0x127899){const _0xefee1f=_0x29c6bb;this[_0xefee1f(0x2f6)]=!0x0;do switch(this['_state']){case _0x37fa13:this[_0xefee1f(0x1c3)](_0x127899);break;case _0x230759:this[_0xefee1f(0x36c)](_0x127899);break;case _0x4c8e5c:this[_0xefee1f(0x372)](_0x127899);break;case _0x3654ea:this['getMask']();break;case _0xf552d7:this[_0xefee1f(0x1df)](_0x127899);break;case _0x2782f1:case _0x2a8bda:this[_0xefee1f(0x2f6)]=!0x1;return;}while(this[_0xefee1f(0x2f6)]);this[_0xefee1f(0x31e)]||_0x127899();}['getInfo'](_0x4e63d0){const _0x28f264=_0x29c6bb;if(this[_0x28f264(0x271)]<0x2){this[_0x28f264(0x2f6)]=!0x1;return;}const _0x2cfd7b=this['consume'](0x2);if((_0x2cfd7b[0x0]&0x30)!==0x0){const _0x10ddd6=this[_0x28f264(0x239)](RangeError,_0x28f264(0x341),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x4e63d0(_0x10ddd6);return;}const _0x246027=(_0x2cfd7b[0x0]&0x40)===0x40;if(_0x246027&&!this[_0x28f264(0x245)][_0x4b23fe['extensionName']]){const _0x43e235=this[_0x28f264(0x239)](RangeError,_0x28f264(0x26f),!0x0,0x3ea,_0x28f264(0x31a));_0x4e63d0(_0x43e235);return;}if(this[_0x28f264(0x1de)]=(_0x2cfd7b[0x0]&0x80)===0x80,this[_0x28f264(0x2be)]=_0x2cfd7b[0x0]&0xf,this['_payloadLength']=_0x2cfd7b[0x1]&0x7f,this[_0x28f264(0x2be)]===0x0){if(_0x246027){const _0x244d34=this['createError'](RangeError,_0x28f264(0x26f),!0x0,0x3ea,_0x28f264(0x31a));_0x4e63d0(_0x244d34);return;}if(!this[_0x28f264(0x308)]){const _0x216e15=this[_0x28f264(0x239)](RangeError,_0x28f264(0x32e),!0x0,0x3ea,_0x28f264(0x2a2));_0x4e63d0(_0x216e15);return;}this['_opcode']=this[_0x28f264(0x308)];}else{if(this[_0x28f264(0x2be)]===0x1||this[_0x28f264(0x2be)]===0x2){if(this[_0x28f264(0x308)]){const _0x58dce0=this[_0x28f264(0x239)](RangeError,_0x28f264(0x366)+this[_0x28f264(0x2be)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x4e63d0(_0x58dce0);return;}this[_0x28f264(0x327)]=_0x246027;}else{if(this[_0x28f264(0x2be)]>0x7&&this[_0x28f264(0x2be)]<0xb){if(!this[_0x28f264(0x1de)]){const _0x1ca656=this[_0x28f264(0x239)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x4e63d0(_0x1ca656);return;}if(_0x246027){const _0x55b8c0=this['createError'](RangeError,_0x28f264(0x26f),!0x0,0x3ea,_0x28f264(0x31a));_0x4e63d0(_0x55b8c0);return;}if(this['_payloadLength']>0x7d||this[_0x28f264(0x2be)]===0x8&&this[_0x28f264(0x31f)]===0x1){const _0x1093e0=this[_0x28f264(0x239)](RangeError,_0x28f264(0x2c6)+this[_0x28f264(0x31f)],!0x0,0x3ea,_0x28f264(0x24b));_0x4e63d0(_0x1093e0);return;}}else{const _0x47e99d=this[_0x28f264(0x239)](RangeError,_0x28f264(0x366)+this[_0x28f264(0x2be)],!0x0,0x3ea,_0x28f264(0x2a2));_0x4e63d0(_0x47e99d);return;}}}if(!this[_0x28f264(0x1de)]&&!this[_0x28f264(0x308)]&&(this[_0x28f264(0x308)]=this['_opcode']),this[_0x28f264(0x371)]=(_0x2cfd7b[0x1]&0x80)===0x80,this[_0x28f264(0x358)]){if(!this[_0x28f264(0x371)]){const _0x4a331c=this[_0x28f264(0x239)](RangeError,_0x28f264(0x202),!0x0,0x3ea,_0x28f264(0x209));_0x4e63d0(_0x4a331c);return;}}else{if(this[_0x28f264(0x371)]){const _0xdbb34c=this[_0x28f264(0x239)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x28f264(0x237));_0x4e63d0(_0xdbb34c);return;}}this[_0x28f264(0x31f)]===0x7e?this[_0x28f264(0x26a)]=_0x230759:this['_payloadLength']===0x7f?this[_0x28f264(0x26a)]=_0x4c8e5c:this['haveLength'](_0x4e63d0);}[_0x29c6bb(0x36c)](_0x1e7692){const _0x2f4ef4=_0x29c6bb;if(this[_0x2f4ef4(0x271)]<0x2){this['_loop']=!0x1;return;}this[_0x2f4ef4(0x31f)]=this[_0x2f4ef4(0x2d6)](0x2)[_0x2f4ef4(0x2b6)](0x0),this['haveLength'](_0x1e7692);}[_0x29c6bb(0x372)](_0x5cab8d){const _0x492def=_0x29c6bb;if(this[_0x492def(0x271)]<0x8){this['_loop']=!0x1;return;}const _0x458c8a=this[_0x492def(0x2d6)](0x8),_0x453f55=_0x458c8a[_0x492def(0x295)](0x0);if(_0x453f55>Math[_0x492def(0x20a)](0x2,0x15)-0x1){const _0x515804=this[_0x492def(0x239)](RangeError,_0x492def(0x2e7),!0x1,0x3f1,_0x492def(0x2d0));_0x5cab8d(_0x515804);return;}this[_0x492def(0x31f)]=_0x453f55*Math[_0x492def(0x20a)](0x2,0x20)+_0x458c8a[_0x492def(0x295)](0x4),this['haveLength'](_0x5cab8d);}[_0x29c6bb(0x27b)](_0x883e0){const _0x2b7143=_0x29c6bb;if(this[_0x2b7143(0x31f)]&&this[_0x2b7143(0x2be)]<0x8&&(this[_0x2b7143(0x339)]+=this['_payloadLength'],this['_totalPayloadLength']>this[_0x2b7143(0x275)]&&this['_maxPayload']>0x0)){const _0x1d84cd=this[_0x2b7143(0x239)](RangeError,_0x2b7143(0x2de),!0x1,0x3f1,_0x2b7143(0x2f4));_0x883e0(_0x1d84cd);return;}this[_0x2b7143(0x371)]?this[_0x2b7143(0x26a)]=_0x3654ea:this[_0x2b7143(0x26a)]=_0xf552d7;}[_0x29c6bb(0x318)](){const _0x2dedba=_0x29c6bb;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this[_0x2dedba(0x33d)]=this[_0x2dedba(0x2d6)](0x4),this['_state']=_0xf552d7;}[_0x29c6bb(0x1df)](_0x5607d8){const _0x392b06=_0x29c6bb;let _0x546ba4=_0x3b2de3;if(this[_0x392b06(0x31f)]){if(this[_0x392b06(0x271)]<this[_0x392b06(0x31f)]){this['_loop']=!0x1;return;}_0x546ba4=this[_0x392b06(0x2d6)](this[_0x392b06(0x31f)]),this[_0x392b06(0x371)]&&(this[_0x392b06(0x33d)][0x0]|this[_0x392b06(0x33d)][0x1]|this[_0x392b06(0x33d)][0x2]|this['_mask'][0x3])!==0x0&&_0x4a73b9(_0x546ba4,this[_0x392b06(0x33d)]);}if(this['_opcode']>0x7){this[_0x392b06(0x27e)](_0x546ba4,_0x5607d8);return;}if(this[_0x392b06(0x327)]){this[_0x392b06(0x26a)]=_0x2782f1,this[_0x392b06(0x253)](_0x546ba4,_0x5607d8);return;}_0x546ba4[_0x392b06(0x240)]&&(this[_0x392b06(0x254)]=this['_totalPayloadLength'],this['_fragments'][_0x392b06(0x293)](_0x546ba4)),this['dataMessage'](_0x5607d8);}[_0x29c6bb(0x253)](_0x3974b2,_0x425d5a){const _0x3000ac=_0x29c6bb;this[_0x3000ac(0x245)][_0x4b23fe[_0x3000ac(0x212)]][_0x3000ac(0x253)](_0x3974b2,this['_fin'],(_0x4f23ec,_0x1a2afe)=>{const _0x5a0f71=_0x3000ac;if(_0x4f23ec)return _0x425d5a(_0x4f23ec);if(_0x1a2afe['length']){if(this[_0x5a0f71(0x254)]+=_0x1a2afe[_0x5a0f71(0x240)],this[_0x5a0f71(0x254)]>this[_0x5a0f71(0x275)]&&this[_0x5a0f71(0x275)]>0x0){const _0x3c2732=this['createError'](RangeError,_0x5a0f71(0x2de),!0x1,0x3f1,_0x5a0f71(0x2f4));_0x425d5a(_0x3c2732);return;}this['_fragments'][_0x5a0f71(0x293)](_0x1a2afe);}this[_0x5a0f71(0x21c)](_0x425d5a),this[_0x5a0f71(0x26a)]===_0x37fa13&&this[_0x5a0f71(0x252)](_0x425d5a);});}['dataMessage'](_0x33b57f){const _0x3b9d00=_0x29c6bb;if(!this[_0x3b9d00(0x1de)]){this[_0x3b9d00(0x26a)]=_0x37fa13;return;}const _0x1d4de6=this['_messageLength'],_0xef31a7=this['_fragments'];if(this[_0x3b9d00(0x339)]=0x0,this['_messageLength']=0x0,this[_0x3b9d00(0x308)]=0x0,this['_fragments']=[],this[_0x3b9d00(0x2be)]===0x2){let _0x1bfa75;this[_0x3b9d00(0x228)]===_0x3b9d00(0x22c)?_0x1bfa75=_0xb6ae98(_0xef31a7,_0x1d4de6):this[_0x3b9d00(0x228)]===_0x3b9d00(0x1b8)?_0x1bfa75=_0x116a95(_0xb6ae98(_0xef31a7,_0x1d4de6)):this[_0x3b9d00(0x228)]===_0x3b9d00(0x352)?_0x1bfa75=new Blob(_0xef31a7):_0x1bfa75=_0xef31a7,this[_0x3b9d00(0x2bd)]?(this[_0x3b9d00(0x205)](_0x3b9d00(0x1b9),_0x1bfa75,!0x0),this['_state']=_0x37fa13):(this['_state']=_0x2a8bda,setImmediate(()=>{const _0x30cda5=_0x3b9d00;this[_0x30cda5(0x205)](_0x30cda5(0x1b9),_0x1bfa75,!0x0),this[_0x30cda5(0x26a)]=_0x37fa13,this[_0x30cda5(0x252)](_0x33b57f);}));}else{const _0x42b958=_0xb6ae98(_0xef31a7,_0x1d4de6);if(!this[_0x3b9d00(0x1db)]&&!_0x4d6d11(_0x42b958)){const _0x4003c4=this[_0x3b9d00(0x239)](Error,_0x3b9d00(0x2c1),!0x0,0x3ef,_0x3b9d00(0x334));_0x33b57f(_0x4003c4);return;}this[_0x3b9d00(0x26a)]===_0x2782f1||this['_allowSynchronousEvents']?(this['emit'](_0x3b9d00(0x1b9),_0x42b958,!0x1),this['_state']=_0x37fa13):(this[_0x3b9d00(0x26a)]=_0x2a8bda,setImmediate(()=>{const _0xc688c5=_0x3b9d00;this[_0xc688c5(0x205)]('message',_0x42b958,!0x1),this['_state']=_0x37fa13,this[_0xc688c5(0x252)](_0x33b57f);}));}}[_0x29c6bb(0x27e)](_0x37169d,_0xfe923){const _0x1c23e3=_0x29c6bb;if(this[_0x1c23e3(0x2be)]===0x8){if(_0x37169d[_0x1c23e3(0x240)]===0x0)this[_0x1c23e3(0x2f6)]=!0x1,this['emit'](_0x1c23e3(0x21d),0x3ed,_0x3b2de3),this['end']();else{const _0x20f756=_0x37169d[_0x1c23e3(0x2b6)](0x0);if(!_0x4e5d22(_0x20f756)){const _0x5b959b=this[_0x1c23e3(0x239)](RangeError,'invalid\x20status\x20code\x20'+_0x20f756,!0x0,0x3ea,_0x1c23e3(0x208));_0xfe923(_0x5b959b);return;}const _0x29e014=new _0x4aa556(_0x37169d[_0x1c23e3(0x25e)],_0x37169d[_0x1c23e3(0x1bc)]+0x2,_0x37169d[_0x1c23e3(0x240)]-0x2);if(!this[_0x1c23e3(0x1db)]&&!_0x4d6d11(_0x29e014)){const _0x35b0e3=this[_0x1c23e3(0x239)](Error,_0x1c23e3(0x2c1),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0xfe923(_0x35b0e3);return;}this[_0x1c23e3(0x2f6)]=!0x1,this[_0x1c23e3(0x205)]('conclude',_0x20f756,_0x29e014),this[_0x1c23e3(0x263)]();}this[_0x1c23e3(0x26a)]=_0x37fa13;return;}this['_allowSynchronousEvents']?(this[_0x1c23e3(0x205)](this[_0x1c23e3(0x2be)]===0x9?_0x1c23e3(0x277):'pong',_0x37169d),this['_state']=_0x37fa13):(this[_0x1c23e3(0x26a)]=_0x2a8bda,setImmediate(()=>{const _0x24d4d=_0x1c23e3;this['emit'](this['_opcode']===0x9?_0x24d4d(0x277):_0x24d4d(0x350),_0x37169d),this[_0x24d4d(0x26a)]=_0x37fa13,this[_0x24d4d(0x252)](_0xfe923);}));}[_0x29c6bb(0x239)](_0x18d525,_0x561938,_0x548e9b,_0xa81d1f,_0x10b30a){const _0x4f7b09=_0x29c6bb;this[_0x4f7b09(0x2f6)]=!0x1,this[_0x4f7b09(0x31e)]=!0x0;const _0x386adf=new _0x18d525(_0x548e9b?'Invalid\x20WebSocket\x20frame:\x20'+_0x561938:_0x561938);return Error[_0x4f7b09(0x278)](_0x386adf,this[_0x4f7b09(0x239)]),_0x386adf[_0x4f7b09(0x2d8)]=_0x10b30a,_0x386adf[_0x1469c2]=_0xa81d1f,_0x386adf;}}return Se=_0x1ff522,Se;}var Ee,Xe;function ft(){const _0x28b823=_0x49d410;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x4b3052}=oe,{randomFillSync:_0x289b6a}=Le,_0x6e255=he(),{EMPTY_BUFFER:_0x312518,kWebSocket:_0x129878,NOOP:_0x1ededf}=H(),{isBlob:_0x5effee,isValidStatusCode:_0x208ac3}=ae(),{mask:_0x13b6ac,toBuffer:_0x19ba74}=ce(),_0x3c1ca2=Symbol('kByteLength'),_0xda388f=Buffer[_0x28b823(0x27d)](0x4),_0x57c83f=0x8*0x400;let _0x2b0828,_0x5b1f4a=_0x57c83f;const _0x473168=0x0,_0x4f057f=0x1,_0x362caa=0x2;class _0x10ddf7{constructor(_0x31fa2d,_0x3cc916,_0x3b030c){const _0x35a9a3=_0x28b823;this[_0x35a9a3(0x245)]=_0x3cc916||{},_0x3b030c&&(this[_0x35a9a3(0x2b8)]=_0x3b030c,this[_0x35a9a3(0x22d)]=Buffer['alloc'](0x4)),this['_socket']=_0x31fa2d,this[_0x35a9a3(0x230)]=!0x0,this['_compress']=!0x1,this[_0x35a9a3(0x271)]=0x0,this[_0x35a9a3(0x28c)]=[],this['_state']=_0x473168,this[_0x35a9a3(0x264)]=_0x1ededf,this[_0x129878]=void 0x0;}static[_0x28b823(0x2b3)](_0x24bc58,_0x12ed7f){const _0x41db96=_0x28b823;let _0x110fce,_0x57db98=!0x1,_0x2f3e4b=0x2,_0x5e984a=!0x1;_0x12ed7f[_0x41db96(0x1ef)]&&(_0x110fce=_0x12ed7f[_0x41db96(0x36e)]||_0xda388f,_0x12ed7f[_0x41db96(0x348)]?_0x12ed7f[_0x41db96(0x348)](_0x110fce):(_0x5b1f4a===_0x57c83f&&(_0x2b0828===void 0x0&&(_0x2b0828=Buffer[_0x41db96(0x27d)](_0x57c83f)),_0x289b6a(_0x2b0828,0x0,_0x57c83f),_0x5b1f4a=0x0),_0x110fce[0x0]=_0x2b0828[_0x5b1f4a++],_0x110fce[0x1]=_0x2b0828[_0x5b1f4a++],_0x110fce[0x2]=_0x2b0828[_0x5b1f4a++],_0x110fce[0x3]=_0x2b0828[_0x5b1f4a++]),_0x5e984a=(_0x110fce[0x0]|_0x110fce[0x1]|_0x110fce[0x2]|_0x110fce[0x3])===0x0,_0x2f3e4b=0x6);let _0xf059d7;typeof _0x24bc58==_0x41db96(0x22b)?(!_0x12ed7f[_0x41db96(0x1ef)]||_0x5e984a)&&_0x12ed7f[_0x3c1ca2]!==void 0x0?_0xf059d7=_0x12ed7f[_0x3c1ca2]:(_0x24bc58=Buffer[_0x41db96(0x34a)](_0x24bc58),_0xf059d7=_0x24bc58[_0x41db96(0x240)]):(_0xf059d7=_0x24bc58[_0x41db96(0x240)],_0x57db98=_0x12ed7f['mask']&&_0x12ed7f[_0x41db96(0x2fb)]&&!_0x5e984a);let _0x1419d3=_0xf059d7;_0xf059d7>=0x10000?(_0x2f3e4b+=0x8,_0x1419d3=0x7f):_0xf059d7>0x7d&&(_0x2f3e4b+=0x2,_0x1419d3=0x7e);const _0x40232d=Buffer[_0x41db96(0x377)](_0x57db98?_0xf059d7+_0x2f3e4b:_0x2f3e4b);return _0x40232d[0x0]=_0x12ed7f[_0x41db96(0x1bf)]?_0x12ed7f[_0x41db96(0x322)]|0x80:_0x12ed7f[_0x41db96(0x322)],_0x12ed7f[_0x41db96(0x247)]&&(_0x40232d[0x0]|=0x40),_0x40232d[0x1]=_0x1419d3,_0x1419d3===0x7e?_0x40232d[_0x41db96(0x369)](_0xf059d7,0x2):_0x1419d3===0x7f&&(_0x40232d[0x2]=_0x40232d[0x3]=0x0,_0x40232d[_0x41db96(0x1fb)](_0xf059d7,0x4,0x6)),_0x12ed7f['mask']?(_0x40232d[0x1]|=0x80,_0x40232d[_0x2f3e4b-0x4]=_0x110fce[0x0],_0x40232d[_0x2f3e4b-0x3]=_0x110fce[0x1],_0x40232d[_0x2f3e4b-0x2]=_0x110fce[0x2],_0x40232d[_0x2f3e4b-0x1]=_0x110fce[0x3],_0x5e984a?[_0x40232d,_0x24bc58]:_0x57db98?(_0x13b6ac(_0x24bc58,_0x110fce,_0x40232d,_0x2f3e4b,_0xf059d7),[_0x40232d]):(_0x13b6ac(_0x24bc58,_0x110fce,_0x24bc58,0x0,_0xf059d7),[_0x40232d,_0x24bc58])):[_0x40232d,_0x24bc58];}[_0x28b823(0x1dd)](_0x371845,_0x4ea459,_0x30d5bd,_0x553f46){const _0x44e772=_0x28b823;let _0x3d0b6c;if(_0x371845===void 0x0)_0x3d0b6c=_0x312518;else{if(typeof _0x371845!=_0x44e772(0x2db)||!_0x208ac3(_0x371845))throw new TypeError(_0x44e772(0x359));if(_0x4ea459===void 0x0||!_0x4ea459[_0x44e772(0x240)])_0x3d0b6c=Buffer[_0x44e772(0x377)](0x2),_0x3d0b6c[_0x44e772(0x369)](_0x371845,0x0);else{const _0x39682d=Buffer[_0x44e772(0x1e1)](_0x4ea459);if(_0x39682d>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x3d0b6c=Buffer[_0x44e772(0x377)](0x2+_0x39682d),_0x3d0b6c[_0x44e772(0x369)](_0x371845,0x0),typeof _0x4ea459==_0x44e772(0x22b)?_0x3d0b6c[_0x44e772(0x36b)](_0x4ea459,0x2):_0x3d0b6c[_0x44e772(0x1e7)](_0x4ea459,0x2);}}const _0x328e5e={[_0x3c1ca2]:_0x3d0b6c[_0x44e772(0x240)],'fin':!0x0,'generateMask':this[_0x44e772(0x2b8)],'mask':_0x30d5bd,'maskBuffer':this[_0x44e772(0x22d)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x44e772(0x26a)]!==_0x473168?this[_0x44e772(0x214)]([this[_0x44e772(0x224)],_0x3d0b6c,!0x1,_0x328e5e,_0x553f46]):this[_0x44e772(0x36d)](_0x10ddf7['frame'](_0x3d0b6c,_0x328e5e),_0x553f46);}[_0x28b823(0x277)](_0x4bb319,_0x466002,_0x5a16de){const _0x4f87c4=_0x28b823;let _0x540523,_0x4cb46e;if(typeof _0x4bb319==_0x4f87c4(0x22b)?(_0x540523=Buffer[_0x4f87c4(0x1e1)](_0x4bb319),_0x4cb46e=!0x1):_0x5effee(_0x4bb319)?(_0x540523=_0x4bb319[_0x4f87c4(0x2c9)],_0x4cb46e=!0x1):(_0x4bb319=_0x19ba74(_0x4bb319),_0x540523=_0x4bb319[_0x4f87c4(0x240)],_0x4cb46e=_0x19ba74[_0x4f87c4(0x2fb)]),_0x540523>0x7d)throw new RangeError(_0x4f87c4(0x1e9));const _0x5dc26f={[_0x3c1ca2]:_0x540523,'fin':!0x0,'generateMask':this[_0x4f87c4(0x2b8)],'mask':_0x466002,'maskBuffer':this[_0x4f87c4(0x22d)],'opcode':0x9,'readOnly':_0x4cb46e,'rsv1':!0x1};_0x5effee(_0x4bb319)?this['_state']!==_0x473168?this[_0x4f87c4(0x214)]([this[_0x4f87c4(0x1ea)],_0x4bb319,!0x1,_0x5dc26f,_0x5a16de]):this[_0x4f87c4(0x1ea)](_0x4bb319,!0x1,_0x5dc26f,_0x5a16de):this[_0x4f87c4(0x26a)]!==_0x473168?this[_0x4f87c4(0x214)]([this['dispatch'],_0x4bb319,!0x1,_0x5dc26f,_0x5a16de]):this['sendFrame'](_0x10ddf7[_0x4f87c4(0x2b3)](_0x4bb319,_0x5dc26f),_0x5a16de);}['pong'](_0x12a32c,_0x165938,_0x542f81){const _0x3f5a2f=_0x28b823;let _0x2ee147,_0x4636f7;if(typeof _0x12a32c==_0x3f5a2f(0x22b)?(_0x2ee147=Buffer[_0x3f5a2f(0x1e1)](_0x12a32c),_0x4636f7=!0x1):_0x5effee(_0x12a32c)?(_0x2ee147=_0x12a32c[_0x3f5a2f(0x2c9)],_0x4636f7=!0x1):(_0x12a32c=_0x19ba74(_0x12a32c),_0x2ee147=_0x12a32c['length'],_0x4636f7=_0x19ba74[_0x3f5a2f(0x2fb)]),_0x2ee147>0x7d)throw new RangeError(_0x3f5a2f(0x1e9));const _0xf8c0={[_0x3c1ca2]:_0x2ee147,'fin':!0x0,'generateMask':this[_0x3f5a2f(0x2b8)],'mask':_0x165938,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x4636f7,'rsv1':!0x1};_0x5effee(_0x12a32c)?this['_state']!==_0x473168?this[_0x3f5a2f(0x214)]([this['getBlobData'],_0x12a32c,!0x1,_0xf8c0,_0x542f81]):this['getBlobData'](_0x12a32c,!0x1,_0xf8c0,_0x542f81):this[_0x3f5a2f(0x26a)]!==_0x473168?this[_0x3f5a2f(0x214)]([this[_0x3f5a2f(0x224)],_0x12a32c,!0x1,_0xf8c0,_0x542f81]):this[_0x3f5a2f(0x36d)](_0x10ddf7[_0x3f5a2f(0x2b3)](_0x12a32c,_0xf8c0),_0x542f81);}[_0x28b823(0x2fe)](_0x3f423a,_0x5a1755,_0x13491a){const _0x5e7424=_0x28b823,_0x1b6bde=this['_extensions'][_0x6e255[_0x5e7424(0x212)]];let _0x56d6ba=_0x5a1755[_0x5e7424(0x2e6)]?0x2:0x1,_0x1e584c=_0x5a1755['compress'],_0x28d0f6,_0xa4591c;typeof _0x3f423a==_0x5e7424(0x22b)?(_0x28d0f6=Buffer[_0x5e7424(0x1e1)](_0x3f423a),_0xa4591c=!0x1):_0x5effee(_0x3f423a)?(_0x28d0f6=_0x3f423a[_0x5e7424(0x2c9)],_0xa4591c=!0x1):(_0x3f423a=_0x19ba74(_0x3f423a),_0x28d0f6=_0x3f423a[_0x5e7424(0x240)],_0xa4591c=_0x19ba74['readOnly']),this[_0x5e7424(0x230)]?(this[_0x5e7424(0x230)]=!0x1,_0x1e584c&&_0x1b6bde&&_0x1b6bde[_0x5e7424(0x1b7)][_0x1b6bde['_isServer']?_0x5e7424(0x2a0):_0x5e7424(0x2a8)]&&(_0x1e584c=_0x28d0f6>=_0x1b6bde[_0x5e7424(0x204)]),this[_0x5e7424(0x1d8)]=_0x1e584c):(_0x1e584c=!0x1,_0x56d6ba=0x0),_0x5a1755[_0x5e7424(0x1bf)]&&(this[_0x5e7424(0x230)]=!0x0);const _0x4fffe8={[_0x3c1ca2]:_0x28d0f6,'fin':_0x5a1755['fin'],'generateMask':this[_0x5e7424(0x2b8)],'mask':_0x5a1755['mask'],'maskBuffer':this[_0x5e7424(0x22d)],'opcode':_0x56d6ba,'readOnly':_0xa4591c,'rsv1':_0x1e584c};_0x5effee(_0x3f423a)?this[_0x5e7424(0x26a)]!==_0x473168?this[_0x5e7424(0x214)]([this['getBlobData'],_0x3f423a,this[_0x5e7424(0x1d8)],_0x4fffe8,_0x13491a]):this['getBlobData'](_0x3f423a,this[_0x5e7424(0x1d8)],_0x4fffe8,_0x13491a):this[_0x5e7424(0x26a)]!==_0x473168?this['enqueue']([this['dispatch'],_0x3f423a,this['_compress'],_0x4fffe8,_0x13491a]):this[_0x5e7424(0x224)](_0x3f423a,this['_compress'],_0x4fffe8,_0x13491a);}[_0x28b823(0x1ea)](_0x17c118,_0x4ac2f1,_0x2c1ea4,_0x2c3d3f){const _0x5429aa=_0x28b823;this[_0x5429aa(0x271)]+=_0x2c1ea4[_0x3c1ca2],this[_0x5429aa(0x26a)]=_0x362caa,_0x17c118[_0x5429aa(0x226)]()['then'](_0xbbe8d4=>{const _0x5d05ae=_0x5429aa;if(this[_0x5d05ae(0x23b)][_0x5d05ae(0x2e1)]){const _0x3bca02=new Error(_0x5d05ae(0x353));process[_0x5d05ae(0x2cb)](_0x1b2d3b,this,_0x3bca02,_0x2c3d3f);return;}this['_bufferedBytes']-=_0x2c1ea4[_0x3c1ca2];const _0x292d99=_0x19ba74(_0xbbe8d4);_0x4ac2f1?this['dispatch'](_0x292d99,_0x4ac2f1,_0x2c1ea4,_0x2c3d3f):(this['_state']=_0x473168,this['sendFrame'](_0x10ddf7[_0x5d05ae(0x2b3)](_0x292d99,_0x2c1ea4),_0x2c3d3f),this[_0x5d05ae(0x1d6)]());})['catch'](_0x2da220=>{const _0x2ec9b3=_0x5429aa;process[_0x2ec9b3(0x2cb)](_0x2add90,this,_0x2da220,_0x2c3d3f);});}['dispatch'](_0x2b9773,_0x3263fc,_0x13dc0e,_0x167a91){const _0x45bc80=_0x28b823;if(!_0x3263fc){this['sendFrame'](_0x10ddf7[_0x45bc80(0x2b3)](_0x2b9773,_0x13dc0e),_0x167a91);return;}const _0x5379c0=this[_0x45bc80(0x245)][_0x6e255['extensionName']];this['_bufferedBytes']+=_0x13dc0e[_0x3c1ca2],this[_0x45bc80(0x26a)]=_0x4f057f,_0x5379c0[_0x45bc80(0x2eb)](_0x2b9773,_0x13dc0e['fin'],(_0x50a4e2,_0x57bfdc)=>{const _0x22b47e=_0x45bc80;if(this['_socket'][_0x22b47e(0x2e1)]){const _0x1aefaa=new Error(_0x22b47e(0x298));_0x1b2d3b(this,_0x1aefaa,_0x167a91);return;}this[_0x22b47e(0x271)]-=_0x13dc0e[_0x3c1ca2],this[_0x22b47e(0x26a)]=_0x473168,_0x13dc0e[_0x22b47e(0x2fb)]=!0x1,this[_0x22b47e(0x36d)](_0x10ddf7[_0x22b47e(0x2b3)](_0x57bfdc,_0x13dc0e),_0x167a91),this[_0x22b47e(0x1d6)]();});}[_0x28b823(0x1d6)](){const _0x342a6e=_0x28b823;for(;this[_0x342a6e(0x26a)]===_0x473168&&this['_queue']['length'];){const _0x476e4e=this['_queue'][_0x342a6e(0x344)]();this[_0x342a6e(0x271)]-=_0x476e4e[0x3][_0x3c1ca2],Reflect['apply'](_0x476e4e[0x0],this,_0x476e4e[_0x342a6e(0x2ad)](0x1));}}['enqueue'](_0x477144){const _0x112086=_0x28b823;this[_0x112086(0x271)]+=_0x477144[0x3][_0x3c1ca2],this[_0x112086(0x28c)][_0x112086(0x293)](_0x477144);}[_0x28b823(0x36d)](_0x1ccea7,_0x29e257){const _0x2e0ef7=_0x28b823;_0x1ccea7[_0x2e0ef7(0x240)]===0x2?(this[_0x2e0ef7(0x23b)][_0x2e0ef7(0x260)](),this[_0x2e0ef7(0x23b)][_0x2e0ef7(0x36b)](_0x1ccea7[0x0]),this[_0x2e0ef7(0x23b)][_0x2e0ef7(0x36b)](_0x1ccea7[0x1],_0x29e257),this[_0x2e0ef7(0x23b)][_0x2e0ef7(0x361)]()):this[_0x2e0ef7(0x23b)]['write'](_0x1ccea7[0x0],_0x29e257);}}Ee=_0x10ddf7;function _0x1b2d3b(_0x355745,_0x4d13ff,_0x535473){const _0x3fdde9=_0x28b823;typeof _0x535473==_0x3fdde9(0x223)&&_0x535473(_0x4d13ff);for(let _0x15645e=0x0;_0x15645e<_0x355745['_queue'][_0x3fdde9(0x240)];_0x15645e++){const _0xc8eaa5=_0x355745['_queue'][_0x15645e],_0x44e3a8=_0xc8eaa5[_0xc8eaa5['length']-0x1];typeof _0x44e3a8=='function'&&_0x44e3a8(_0x4d13ff);}}function _0x2add90(_0x56f8a8,_0x3f1b0b,_0x14941f){const _0x36545b=_0x28b823;_0x1b2d3b(_0x56f8a8,_0x3f1b0b,_0x14941f),_0x56f8a8[_0x36545b(0x264)](_0x3f1b0b);}return Ee;}var xe,Ze;function It(){const _0x4f5062=_0x49d410;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x3e2b64,kListener:_0x4867b4}=H(),_0x1d6e08=Symbol('kCode'),_0x44a041=Symbol('kData'),_0x2dde6a=Symbol(_0x4f5062(0x201)),_0x32132a=Symbol(_0x4f5062(0x1d0)),_0x6c1ddc=Symbol('kReason'),_0x552d81=Symbol(_0x4f5062(0x222)),_0x4f52b0=Symbol(_0x4f5062(0x354)),_0x19f5a2=Symbol(_0x4f5062(0x24a));class _0x19e542{constructor(_0x4cb540){this[_0x552d81]=null,this[_0x4f52b0]=_0x4cb540;}get[_0x4f5062(0x200)](){return this[_0x552d81];}get[_0x4f5062(0x2d5)](){return this[_0x4f52b0];}}Object[_0x4f5062(0x35e)](_0x19e542[_0x4f5062(0x241)],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x19e542[_0x4f5062(0x241)],_0x4f5062(0x2d5),{'enumerable':!0x0});class _0x108437 extends _0x19e542{constructor(_0x19f697,_0x2eaf4e={}){const _0x5dc882=_0x4f5062;super(_0x19f697),this[_0x1d6e08]=_0x2eaf4e[_0x5dc882(0x2d8)]===void 0x0?0x0:_0x2eaf4e[_0x5dc882(0x2d8)],this[_0x6c1ddc]=_0x2eaf4e[_0x5dc882(0x1cd)]===void 0x0?'':_0x2eaf4e[_0x5dc882(0x1cd)],this[_0x19f5a2]=_0x2eaf4e[_0x5dc882(0x2dd)]===void 0x0?!0x1:_0x2eaf4e['wasClean'];}get[_0x4f5062(0x2d8)](){return this[_0x1d6e08];}get[_0x4f5062(0x1cd)](){return this[_0x6c1ddc];}get[_0x4f5062(0x2dd)](){return this[_0x19f5a2];}}Object[_0x4f5062(0x35e)](_0x108437[_0x4f5062(0x241)],_0x4f5062(0x2d8),{'enumerable':!0x0}),Object[_0x4f5062(0x35e)](_0x108437[_0x4f5062(0x241)],_0x4f5062(0x1cd),{'enumerable':!0x0}),Object['defineProperty'](_0x108437[_0x4f5062(0x241)],_0x4f5062(0x2dd),{'enumerable':!0x0});class _0x6aad87 extends _0x19e542{constructor(_0x1ffdcb,_0x5154cf={}){const _0x464ada=_0x4f5062;super(_0x1ffdcb),this[_0x2dde6a]=_0x5154cf[_0x464ada(0x219)]===void 0x0?null:_0x5154cf['error'],this[_0x32132a]=_0x5154cf[_0x464ada(0x1b9)]===void 0x0?'':_0x5154cf[_0x464ada(0x1b9)];}get['error'](){return this[_0x2dde6a];}get['message'](){return this[_0x32132a];}}Object[_0x4f5062(0x35e)](_0x6aad87[_0x4f5062(0x241)],'error',{'enumerable':!0x0}),Object[_0x4f5062(0x35e)](_0x6aad87[_0x4f5062(0x241)],_0x4f5062(0x1b9),{'enumerable':!0x0});class _0x3e4ed1 extends _0x19e542{constructor(_0x458b15,_0x2b4d29={}){const _0x5c6c7a=_0x4f5062;super(_0x458b15),this[_0x44a041]=_0x2b4d29[_0x5c6c7a(0x26c)]===void 0x0?null:_0x2b4d29[_0x5c6c7a(0x26c)];}get[_0x4f5062(0x26c)](){return this[_0x44a041];}}Object[_0x4f5062(0x35e)](_0x3e4ed1[_0x4f5062(0x241)],_0x4f5062(0x26c),{'enumerable':!0x0}),xe={'CloseEvent':_0x108437,'ErrorEvent':_0x6aad87,'Event':_0x19e542,'EventTarget':{'addEventListener'(_0x2a8302,_0x448f14,_0x25a2af={}){const _0x1b2794=_0x4f5062;for(const _0x144586 of this[_0x1b2794(0x306)](_0x2a8302))if(!_0x25a2af[_0x3e2b64]&&_0x144586[_0x4867b4]===_0x448f14&&!_0x144586[_0x3e2b64])return;let _0x48e2f3;if(_0x2a8302==='message')_0x48e2f3=function(_0x4828e2,_0x52d13e){const _0x18f3fd=_0x1b2794,_0x1e981a=new _0x3e4ed1(_0x18f3fd(0x1b9),{'data':_0x52d13e?_0x4828e2:_0x4828e2['toString']()});_0x1e981a[_0x552d81]=this,_0x60bbca(_0x448f14,this,_0x1e981a);};else{if(_0x2a8302===_0x1b2794(0x1dd))_0x48e2f3=function(_0x465d5c,_0x103493){const _0x57e4a8=_0x1b2794,_0x5aa07e=new _0x108437(_0x57e4a8(0x1dd),{'code':_0x465d5c,'reason':_0x103493[_0x57e4a8(0x33f)](),'wasClean':this[_0x57e4a8(0x21b)]&&this[_0x57e4a8(0x215)]});_0x5aa07e[_0x552d81]=this,_0x60bbca(_0x448f14,this,_0x5aa07e);};else{if(_0x2a8302===_0x1b2794(0x219))_0x48e2f3=function(_0x42933d){const _0x2b1f2c=_0x1b2794,_0x519802=new _0x6aad87('error',{'error':_0x42933d,'message':_0x42933d[_0x2b1f2c(0x1b9)]});_0x519802[_0x552d81]=this,_0x60bbca(_0x448f14,this,_0x519802);};else{if(_0x2a8302===_0x1b2794(0x309))_0x48e2f3=function(){const _0x2f4c40=new _0x19e542('open');_0x2f4c40[_0x552d81]=this,_0x60bbca(_0x448f14,this,_0x2f4c40);};else return;}}}_0x48e2f3[_0x3e2b64]=!!_0x25a2af[_0x3e2b64],_0x48e2f3[_0x4867b4]=_0x448f14,_0x25a2af[_0x1b2794(0x262)]?this['once'](_0x2a8302,_0x48e2f3):this['on'](_0x2a8302,_0x48e2f3);},'removeEventListener'(_0x145ae5,_0x332a85){const _0x310110=_0x4f5062;for(const _0x42ccab of this['listeners'](_0x145ae5))if(_0x42ccab[_0x4867b4]===_0x332a85&&!_0x42ccab[_0x3e2b64]){this[_0x310110(0x374)](_0x145ae5,_0x42ccab);break;}}},'MessageEvent':_0x3e4ed1};function _0x60bbca(_0x1d6a1c,_0x40d441,_0x347788){const _0x2bf80d=_0x4f5062;typeof _0x1d6a1c==_0x2bf80d(0x34d)&&_0x1d6a1c[_0x2bf80d(0x2d4)]?_0x1d6a1c[_0x2bf80d(0x2d4)]['call'](_0x1d6a1c,_0x347788):_0x1d6a1c[_0x2bf80d(0x1ec)](_0x40d441,_0x347788);}return xe;}var be,Qe;function _0x458f(){const _0x27fe87=['code','unmask','origin','number','pause','wasClean','Max\x20payload\x20size\x20exceeded','Invalid\x20Sec-WebSocket-Accept\x20header','has','destroyed','isValidUTF8','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','Sec-WebSocket-Accept:\x20','Unexpected\x20end\x20of\x20input','binary','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','cleanup','endEmitted','reset','compress','getOwnPropertyDescriptor','objectMode','socket','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','IConfigService','removeAllListeners','Unknown\x20parameter\x20\x22','sec-websocket-origin','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','binaryType','_loop','_read','handleProtocols','readable','setNoDelay','readOnly','isInteger','CONNECTING','send','\x22\x20subprotocol\x20is\x20duplicated','removeEventListener','share','authorization','extensions','values','The\x20URL\x20contains\x20a\x20fragment\x20identifier','listeners','onclose','_fragmented','open','ISnapshotServerService','websocket','search','location','defaultPort','pipe','backlog','\x0d\x0a\x0d\x0a','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','DisposableCollection','Opening\x20handshake\x20has\x20timed\x20out','errorEmitted','customHeaders','pathname','getMask','setConfig','WS_ERR_UNEXPECTED_RSV_1','hostname','bind','warn','_errored','_payloadLength','password','protocol','opcode','_inflate','handleUpgrade','https:','createInflateRaw','_compressed','kIsForOnEventAttribute','_decompress','resume','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','method','invalid\x20opcode\x200','sec-websocket-protocol','Sec-WebSocket-Protocol:\x20','stream','\x22:\x20','redirect','WS_ERR_INVALID_UTF8','clients','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','protocolVersion','connection','_totalPayloadLength','_httpService','servername','flush','_mask','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','toString','threshold','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','delete','add','shift','_closeMessage','offer','Invalid\x20HTTP\x20method','generateMask','\x22\x20must\x20have\x20only\x20a\x20single\x20value','from','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','find','object','clientTracking','ws:','pong','toDisposable','blob','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','kType','serverMaxWindowBits','includes','The\x20server\x20is\x20not\x20running','_isServer','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','sec-websocket-version','Invalid\x20value\x20for\x20parameter\x20\x22','map','server','defineProperty','isPaused','\x20(supported\x20versions:\x20','uncork','Upgrade:\x20websocket','isServer','Invalid\x20Sec-WebSocket-Protocol\x20header','_url','invalid\x20opcode\x20','handshakeTimeout','getConfig','writeUInt16BE','writeHead','write','getPayloadLength16','sendFrame','maskBuffer','terminate','zlib','_masked','getPayloadLength64','Unexpected\x20character\x20at\x20index\x20','removeListener','NodeCollaborationSocketService','accept','allocUnsafe','href','_buffers','unexpected-response','maxPayload','startsWith','The\x20\x22','onopen','params','arraybuffer','message','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','unshift','byteOffset','_fragments','Sec-WebSocket-Extensions','fin','client_max_window_bits','maxRedirects','Injector','getInfo','_readyState','_registerDependencies','toLowerCase','Plugin','Maximum\x20redirects\x20exceeded','verifyClient','Unexpected\x20server\x20response:\x20','format','kDone','reason','text/html','concurrencyLimit','kMessage','_closeTimer','Invalid\x20Upgrade\x20header','_redirects','acceptAsClient','abort','dequeue','toStringTag','_compress','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_skipUTF8Validation','Server\x20sent\x20an\x20invalid\x20subprotocol','close','_fin','getData','CLOSED','byteLength','allowSynchronousEvents','createConnection','listening','setTimeout','Sec-WebSocket-Extensions:\x20','set','autoPong','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','getBlobData','_paused','call','keys','GET','mask','_errorEmitted','split','tls','_bufferedAmount','createSocket','250609XzWAmB','upgrade','kAborted','completeUpgrade','address','emitClose','writeUIntBE','sec-websocket-accept','kRun','http:','_originalHostOrSocketPath','target','kError','MASK\x20must\x20be\x20set','_final','_threshold','emit','pending','Sec-WebSocket-Origin','WS_ERR_INVALID_CLOSE_CODE','WS_ERR_EXPECTED_MASK','pow','CLOSING','onmessage','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Observable','concat','ws+unix:','digest','extensionName','path','enqueue','_closeFrameSent','clientMaxWindowBits','OPEN','bufferedAmount','error','WS_NO_BUFFER_UTIL','_closeFrameReceived','dataMessage','conclude','exports','File','Sec-WebSocket-Protocol','registerHTTPInterceptor','kTarget','function','dispatch','Server\x20sent\x20no\x20subprotocol','arrayBuffer','Module','_binaryType','noServer','base64','string','nodebuffer','_maskBuffer','username','jobs','_firstFragment','skipUTF8Validation','STATUS_CODES','hasOwnProperty','total-length','setSocket','_autoPong','WS_ERR_UNEXPECTED_MASK','net','createError','5018180ddMTlU','_socket','ILogService','construct','https','url','length','prototype','buffers','readyState','6965SiwrrR','_extensions','__esModule','rsv1','3970YvnCCO','indexOf','kWasClean','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_server','Basic\x20','Invalid\x20URL:\x20','parse','shouldHandle','request','startLoop','decompress','_messageLength','perMessageDeflate','timeout','wss:','destroy','apply','WebSocket','_max_window_bits','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','crypto','buffer','value','cork','Z_DEFAULT_WINDOWBITS','once','end','onerror','createServer','connect','createDeflateRaw','Inject','_readableState','_state','acceptAsServer','data','entries','species','RSV1\x20must\x20be\x20clear','http','_bufferedBytes','sec-websocket-extensions','_write','zlibInflateOptions','_maxPayload','55053rEwlye','ping','captureStackTrace','setHeader','followRedirects','haveLength','listen','alloc','controlMessage','_options','socketPath','_deflate','_destroy','957ygjVLW','serverNoContextTakeover','1450NGZapz','next','server_max_window_bits','COLLABORATION_CLIENT_NODE_CONFIG_KEY','forEach','DependentOn','response','_queue','default','_writableState','encrypted','zlibDeflateOptions','UniverCollaborationClientNodePlugin','_originalSecure','push','rxjs','readUInt32BE','_sender','join','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','finishRequest','fragments','clientNoContextTakeover','finished','listenerCount','@univerjs/core','_receiver','server_no_context_takeover','Disposable','WS_ERR_INVALID_OPCODE','statusCode','HTTPService','auth','isArray','options','client_no_context_takeover','_injector','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','WS_NO_UTF_8_VALIDATE','Invalid\x20Sec-WebSocket-Extensions\x20header','slice','create','5637432youhJi','sha1','_protocol','wsClientError','frame','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','hash','readUInt16BE','client','_generateMask','4568wtBvew','1944726PVeZZP','env','_configService','_allowSynchronousEvents','_opcode','cookie','_shouldEmitClose','invalid\x20UTF-8\x20sequence','normalizeParams','host','headers','HTTP/1.1\x20101\x20Switching\x20Protocols','invalid\x20payload\x20length\x20','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','size','concurrency','nextTick','_removeListeners','_closeCode','writable','addEventListener','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','_req','port','finish','handleEvent','type','consume','callback'];_0x458f=function(){return _0x27fe87;};return _0x458f();}function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x290084}=ae();function _0x36664b(_0x3598a8,_0x3a1dd9,_0x28a52d){const _0x14a4c9=_0x80da;_0x3598a8[_0x3a1dd9]===void 0x0?_0x3598a8[_0x3a1dd9]=[_0x28a52d]:_0x3598a8[_0x3a1dd9][_0x14a4c9(0x293)](_0x28a52d);}function _0x3ae913(_0x274af8){const _0x154c70=_0x80da,_0x32ff88=Object['create'](null);let _0x10016b=Object['create'](null),_0x561d80=!0x1,_0x38d6f9=!0x1,_0x347d34=!0x1,_0x24bfeb,_0x4ec858,_0xff8a82=-0x1,_0x4847c0=-0x1,_0x20af9b=-0x1,_0x111a83=0x0;for(;_0x111a83<_0x274af8[_0x154c70(0x240)];_0x111a83++)if(_0x4847c0=_0x274af8['charCodeAt'](_0x111a83),_0x24bfeb===void 0x0){if(_0x20af9b===-0x1&&_0x290084[_0x4847c0]===0x1)_0xff8a82===-0x1&&(_0xff8a82=_0x111a83);else{if(_0x111a83!==0x0&&(_0x4847c0===0x20||_0x4847c0===0x9))_0x20af9b===-0x1&&_0xff8a82!==-0x1&&(_0x20af9b=_0x111a83);else{if(_0x4847c0===0x3b||_0x4847c0===0x2c){if(_0xff8a82===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x111a83);_0x20af9b===-0x1&&(_0x20af9b=_0x111a83);const _0x2fab38=_0x274af8[_0x154c70(0x2ad)](_0xff8a82,_0x20af9b);_0x4847c0===0x2c?(_0x36664b(_0x32ff88,_0x2fab38,_0x10016b),_0x10016b=Object[_0x154c70(0x2ae)](null)):_0x24bfeb=_0x2fab38,_0xff8a82=_0x20af9b=-0x1;}else throw new SyntaxError(_0x154c70(0x373)+_0x111a83);}}}else{if(_0x4ec858===void 0x0){if(_0x20af9b===-0x1&&_0x290084[_0x4847c0]===0x1)_0xff8a82===-0x1&&(_0xff8a82=_0x111a83);else{if(_0x4847c0===0x20||_0x4847c0===0x9)_0x20af9b===-0x1&&_0xff8a82!==-0x1&&(_0x20af9b=_0x111a83);else{if(_0x4847c0===0x3b||_0x4847c0===0x2c){if(_0xff8a82===-0x1)throw new SyntaxError(_0x154c70(0x373)+_0x111a83);_0x20af9b===-0x1&&(_0x20af9b=_0x111a83),_0x36664b(_0x10016b,_0x274af8[_0x154c70(0x2ad)](_0xff8a82,_0x20af9b),!0x0),_0x4847c0===0x2c&&(_0x36664b(_0x32ff88,_0x24bfeb,_0x10016b),_0x10016b=Object[_0x154c70(0x2ae)](null),_0x24bfeb=void 0x0),_0xff8a82=_0x20af9b=-0x1;}else{if(_0x4847c0===0x3d&&_0xff8a82!==-0x1&&_0x20af9b===-0x1)_0x4ec858=_0x274af8[_0x154c70(0x2ad)](_0xff8a82,_0x111a83),_0xff8a82=_0x20af9b=-0x1;else throw new SyntaxError(_0x154c70(0x373)+_0x111a83);}}}}else{if(_0x38d6f9){if(_0x290084[_0x4847c0]!==0x1)throw new SyntaxError(_0x154c70(0x373)+_0x111a83);_0xff8a82===-0x1?_0xff8a82=_0x111a83:_0x561d80||(_0x561d80=!0x0),_0x38d6f9=!0x1;}else{if(_0x347d34){if(_0x290084[_0x4847c0]===0x1)_0xff8a82===-0x1&&(_0xff8a82=_0x111a83);else{if(_0x4847c0===0x22&&_0xff8a82!==-0x1)_0x347d34=!0x1,_0x20af9b=_0x111a83;else{if(_0x4847c0===0x5c)_0x38d6f9=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x111a83);}}}else{if(_0x4847c0===0x22&&_0x274af8['charCodeAt'](_0x111a83-0x1)===0x3d)_0x347d34=!0x0;else{if(_0x20af9b===-0x1&&_0x290084[_0x4847c0]===0x1)_0xff8a82===-0x1&&(_0xff8a82=_0x111a83);else{if(_0xff8a82!==-0x1&&(_0x4847c0===0x20||_0x4847c0===0x9))_0x20af9b===-0x1&&(_0x20af9b=_0x111a83);else{if(_0x4847c0===0x3b||_0x4847c0===0x2c){if(_0xff8a82===-0x1)throw new SyntaxError(_0x154c70(0x373)+_0x111a83);_0x20af9b===-0x1&&(_0x20af9b=_0x111a83);let _0x34bd96=_0x274af8[_0x154c70(0x2ad)](_0xff8a82,_0x20af9b);_0x561d80&&(_0x34bd96=_0x34bd96['replace'](/\\/g,''),_0x561d80=!0x1),_0x36664b(_0x10016b,_0x4ec858,_0x34bd96),_0x4847c0===0x2c&&(_0x36664b(_0x32ff88,_0x24bfeb,_0x10016b),_0x10016b=Object[_0x154c70(0x2ae)](null),_0x24bfeb=void 0x0),_0x4ec858=void 0x0,_0xff8a82=_0x20af9b=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x111a83);}}}}}}}if(_0xff8a82===-0x1||_0x347d34||_0x4847c0===0x20||_0x4847c0===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x20af9b===-0x1&&(_0x20af9b=_0x111a83);const _0x30aa62=_0x274af8[_0x154c70(0x2ad)](_0xff8a82,_0x20af9b);return _0x24bfeb===void 0x0?_0x36664b(_0x32ff88,_0x30aa62,_0x10016b):(_0x4ec858===void 0x0?_0x36664b(_0x10016b,_0x30aa62,!0x0):_0x561d80?_0x36664b(_0x10016b,_0x4ec858,_0x30aa62['replace'](/\\/g,'')):_0x36664b(_0x10016b,_0x4ec858,_0x30aa62),_0x36664b(_0x32ff88,_0x24bfeb,_0x10016b)),_0x32ff88;}function _0xad15d0(_0x2e7bb2){const _0x18b157=_0x80da;return Object[_0x18b157(0x1ed)](_0x2e7bb2)[_0x18b157(0x35c)](_0x34aa1c=>{const _0x29c663=_0x18b157;let _0x2fe447=_0x2e7bb2[_0x34aa1c];return Array[_0x29c663(0x2a6)](_0x2fe447)||(_0x2fe447=[_0x2fe447]),_0x2fe447[_0x29c663(0x35c)](_0x221e38=>[_0x34aa1c][_0x29c663(0x20f)](Object[_0x29c663(0x1ed)](_0x221e38)[_0x29c663(0x35c)](_0x11de1a=>{const _0x1e2023=_0x29c663;let _0xf34085=_0x221e38[_0x11de1a];return Array[_0x1e2023(0x2a6)](_0xf34085)||(_0xf34085=[_0xf34085]),_0xf34085[_0x1e2023(0x35c)](_0x56537d=>_0x56537d===!0x0?_0x11de1a:_0x11de1a+'='+_0x56537d)[_0x1e2023(0x297)](';\x20');}))[_0x29c663(0x297)](';\x20'))[_0x29c663(0x297)](',\x20');})[_0x18b157(0x297)](',\x20');}return be={'format':_0xad15d0,'parse':_0x3ae913},be;}var we,Je;function Pe(){const _0x267e0c=_0x49d410;if(Je)return we;Je=0x1;const _0x22af69=nt,_0x4ea4f4=vt,_0x13c001=ot,_0x197962=St,_0x2d7d21=Et,{randomBytes:_0x48a684,createHash:_0x75b2cc}=Le,{Duplex:_0x4a2e07,Readable:_0x2c215c}=oe,{URL:_0x1dd613}=xt,_0x3c19ff=he(),_0x3cfe9f=lt(),_0x57d1f8=ft(),{isBlob:_0x4f50bf}=ae(),{BINARY_TYPES:_0x3d6a60,EMPTY_BUFFER:_0xf4f29d,GUID:_0x55ceb1,kForOnEventAttribute:_0x40800d,kListener:_0x58b8e5,kStatusCode:_0x2c8232,kWebSocket:_0x7a20b9,NOOP:_0x22399d}=H(),{EventTarget:{addEventListener:_0x23bba4,removeEventListener:_0x3b41be}}=It(),{format:_0x2acbff,parse:_0x2e23fb}=ct(),{toBuffer:_0x3537f5}=ce(),_0x40c5f3=0x1e*0x3e8,_0x222974=Symbol(_0x267e0c(0x1f7)),_0x277486=[0x8,0xd],_0x253413=[_0x267e0c(0x2fd),'OPEN','CLOSING',_0x267e0c(0x1e0)],_0x5c8bbd=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2de10c extends _0x22af69{constructor(_0x5dfdb1,_0x316a56,_0x57d45a){const _0x45ef2b=_0x267e0c;super(),this[_0x45ef2b(0x228)]=_0x3d6a60[0x0],this['_closeCode']=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x45ef2b(0x215)]=!0x1,this[_0x45ef2b(0x345)]=_0xf4f29d,this['_closeTimer']=null,this[_0x45ef2b(0x1f0)]=!0x1,this[_0x45ef2b(0x245)]={},this[_0x45ef2b(0x1eb)]=!0x1,this['_protocol']='',this[_0x45ef2b(0x1c4)]=_0x2de10c[_0x45ef2b(0x2fd)],this['_receiver']=null,this[_0x45ef2b(0x296)]=null,this['_socket']=null,_0x5dfdb1!==null?(this[_0x45ef2b(0x1f3)]=0x0,this['_isServer']=!0x1,this[_0x45ef2b(0x1d3)]=0x0,_0x316a56===void 0x0?_0x316a56=[]:Array[_0x45ef2b(0x2a6)](_0x316a56)||(typeof _0x316a56==_0x45ef2b(0x34d)&&_0x316a56!==null?(_0x57d45a=_0x316a56,_0x316a56=[]):_0x316a56=[_0x316a56]),_0x1bd26c(this,_0x5dfdb1,_0x316a56,_0x57d45a)):(this[_0x45ef2b(0x236)]=_0x57d45a[_0x45ef2b(0x1e8)],this[_0x45ef2b(0x358)]=!0x0);}get['binaryType'](){const _0x1ae330=_0x267e0c;return this[_0x1ae330(0x228)];}set[_0x267e0c(0x2f5)](_0x20ac71){const _0x163d1c=_0x267e0c;_0x3d6a60[_0x163d1c(0x356)](_0x20ac71)&&(this[_0x163d1c(0x228)]=_0x20ac71,this['_receiver']&&(this[_0x163d1c(0x29f)][_0x163d1c(0x228)]=_0x20ac71));}get['bufferedAmount'](){const _0x384753=_0x267e0c;return this[_0x384753(0x23b)]?this[_0x384753(0x23b)][_0x384753(0x28e)][_0x384753(0x240)]+this[_0x384753(0x296)][_0x384753(0x271)]:this[_0x384753(0x1f3)];}get[_0x267e0c(0x303)](){const _0x5bcb92=_0x267e0c;return Object['keys'](this[_0x5bcb92(0x245)])[_0x5bcb92(0x297)]();}get[_0x267e0c(0x35f)](){const _0x414d4f=_0x267e0c;return this[_0x414d4f(0x1eb)];}get[_0x267e0c(0x307)](){return null;}get['onerror'](){return null;}get[_0x267e0c(0x1b6)](){return null;}get[_0x267e0c(0x20c)](){return null;}get['protocol'](){const _0x5a8bfb=_0x267e0c;return this[_0x5a8bfb(0x2b1)];}get[_0x267e0c(0x243)](){const _0x48695e=_0x267e0c;return this[_0x48695e(0x1c4)];}get[_0x267e0c(0x23f)](){const _0x3e0017=_0x267e0c;return this[_0x3e0017(0x365)];}[_0x267e0c(0x235)](_0x51416b,_0x1b7abb,_0x3aa9bb){const _0x1335a2=_0x267e0c,_0xe2a29c=new _0x3cfe9f({'allowSynchronousEvents':_0x3aa9bb[_0x1335a2(0x1e2)],'binaryType':this[_0x1335a2(0x2f5)],'extensions':this[_0x1335a2(0x245)],'isServer':this[_0x1335a2(0x358)],'maxPayload':_0x3aa9bb[_0x1335a2(0x1b3)],'skipUTF8Validation':_0x3aa9bb[_0x1335a2(0x231)]}),_0x5d7b83=new _0x57d1f8(_0x51416b,this[_0x1335a2(0x245)],_0x3aa9bb[_0x1335a2(0x348)]);this[_0x1335a2(0x29f)]=_0xe2a29c,this[_0x1335a2(0x296)]=_0x5d7b83,this[_0x1335a2(0x23b)]=_0x51416b,_0xe2a29c[_0x7a20b9]=this,_0x5d7b83[_0x7a20b9]=this,_0x51416b[_0x7a20b9]=this,_0xe2a29c['on'](_0x1335a2(0x21d),_0x3742c3),_0xe2a29c['on']('drain',_0x460b3b),_0xe2a29c['on'](_0x1335a2(0x219),_0x127d8a),_0xe2a29c['on']('message',_0x3f10a6),_0xe2a29c['on'](_0x1335a2(0x277),_0xa036cb),_0xe2a29c['on'](_0x1335a2(0x350),_0x5e5000),_0x5d7b83['onerror']=_0x112cbd,_0x51416b[_0x1335a2(0x1e5)]&&_0x51416b[_0x1335a2(0x1e5)](0x0),_0x51416b[_0x1335a2(0x2fa)]&&_0x51416b[_0x1335a2(0x2fa)](),_0x1b7abb[_0x1335a2(0x240)]>0x0&&_0x51416b[_0x1335a2(0x1bb)](_0x1b7abb),_0x51416b['on'](_0x1335a2(0x1dd),_0x3ccb53),_0x51416b['on'](_0x1335a2(0x26c),_0x39d47a),_0x51416b['on'](_0x1335a2(0x263),_0x2bb55a),_0x51416b['on']('error',_0x4bf30f),this[_0x1335a2(0x1c4)]=_0x2de10c[_0x1335a2(0x217)],this['emit'](_0x1335a2(0x309));}[_0x267e0c(0x1fa)](){const _0xd185d7=_0x267e0c;if(!this['_socket']){this[_0xd185d7(0x1c4)]=_0x2de10c[_0xd185d7(0x1e0)],this['emit']('close',this[_0xd185d7(0x2cd)],this['_closeMessage']);return;}this[_0xd185d7(0x245)][_0x3c19ff[_0xd185d7(0x212)]]&&this[_0xd185d7(0x245)][_0x3c19ff['extensionName']][_0xd185d7(0x2e8)](),this[_0xd185d7(0x29f)][_0xd185d7(0x2f1)](),this[_0xd185d7(0x1c4)]=_0x2de10c[_0xd185d7(0x1e0)],this[_0xd185d7(0x205)](_0xd185d7(0x1dd),this[_0xd185d7(0x2cd)],this['_closeMessage']);}[_0x267e0c(0x1dd)](_0xd307ab,_0x11cd03){const _0x10babd=_0x267e0c;if(this['readyState']!==_0x2de10c['CLOSED']){if(this[_0x10babd(0x243)]===_0x2de10c[_0x10babd(0x2fd)]){_0x1bcfba(this,this['_req'],_0x10babd(0x2aa));return;}if(this[_0x10babd(0x243)]===_0x2de10c['CLOSING']){this['_closeFrameSent']&&(this['_closeFrameReceived']||this[_0x10babd(0x29f)][_0x10babd(0x28e)][_0x10babd(0x315)])&&this['_socket']['end']();return;}this[_0x10babd(0x1c4)]=_0x2de10c[_0x10babd(0x20b)],this['_sender'][_0x10babd(0x1dd)](_0xd307ab,_0x11cd03,!this[_0x10babd(0x358)],_0x5ec8be=>{const _0x494b9c=_0x10babd;_0x5ec8be||(this[_0x494b9c(0x215)]=!0x0,(this[_0x494b9c(0x21b)]||this[_0x494b9c(0x29f)]['_writableState'][_0x494b9c(0x315)])&&this[_0x494b9c(0x23b)][_0x494b9c(0x263)]());}),_0x4f10d9(this);}}[_0x267e0c(0x2dc)](){const _0x53aa7b=_0x267e0c;this['readyState']===_0x2de10c[_0x53aa7b(0x2fd)]||this[_0x53aa7b(0x243)]===_0x2de10c['CLOSED']||(this['_paused']=!0x0,this[_0x53aa7b(0x23b)][_0x53aa7b(0x2dc)]());}['ping'](_0x246635,_0x1526e5,_0x4c4998){const _0x3c6ed9=_0x267e0c;if(this[_0x3c6ed9(0x243)]===_0x2de10c[_0x3c6ed9(0x2fd)])throw new Error(_0x3c6ed9(0x312));if(typeof _0x246635=='function'?(_0x4c4998=_0x246635,_0x246635=_0x1526e5=void 0x0):typeof _0x1526e5=='function'&&(_0x4c4998=_0x1526e5,_0x1526e5=void 0x0),typeof _0x246635==_0x3c6ed9(0x2db)&&(_0x246635=_0x246635['toString']()),this[_0x3c6ed9(0x243)]!==_0x2de10c['OPEN']){_0x38f984(this,_0x246635,_0x4c4998);return;}_0x1526e5===void 0x0&&(_0x1526e5=!this['_isServer']),this[_0x3c6ed9(0x296)][_0x3c6ed9(0x277)](_0x246635||_0xf4f29d,_0x1526e5,_0x4c4998);}[_0x267e0c(0x350)](_0x261723,_0x1ef602,_0x32f36e){const _0x312a2b=_0x267e0c;if(this[_0x312a2b(0x243)]===_0x2de10c[_0x312a2b(0x2fd)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x261723==_0x312a2b(0x223)?(_0x32f36e=_0x261723,_0x261723=_0x1ef602=void 0x0):typeof _0x1ef602==_0x312a2b(0x223)&&(_0x32f36e=_0x1ef602,_0x1ef602=void 0x0),typeof _0x261723==_0x312a2b(0x2db)&&(_0x261723=_0x261723[_0x312a2b(0x33f)]()),this[_0x312a2b(0x243)]!==_0x2de10c[_0x312a2b(0x217)]){_0x38f984(this,_0x261723,_0x32f36e);return;}_0x1ef602===void 0x0&&(_0x1ef602=!this[_0x312a2b(0x358)]),this[_0x312a2b(0x296)][_0x312a2b(0x350)](_0x261723||_0xf4f29d,_0x1ef602,_0x32f36e);}[_0x267e0c(0x32a)](){const _0x5993cb=_0x267e0c;this[_0x5993cb(0x243)]===_0x2de10c[_0x5993cb(0x2fd)]||this[_0x5993cb(0x243)]===_0x2de10c[_0x5993cb(0x1e0)]||(this[_0x5993cb(0x1eb)]=!0x1,this[_0x5993cb(0x29f)]['_writableState']['needDrain']||this[_0x5993cb(0x23b)][_0x5993cb(0x32a)]());}[_0x267e0c(0x2fe)](_0xf34575,_0x310fd8,_0x29f9e7){const _0x41b8ea=_0x267e0c;if(this[_0x41b8ea(0x243)]===_0x2de10c[_0x41b8ea(0x2fd)])throw new Error(_0x41b8ea(0x312));if(typeof _0x310fd8==_0x41b8ea(0x223)&&(_0x29f9e7=_0x310fd8,_0x310fd8={}),typeof _0xf34575==_0x41b8ea(0x2db)&&(_0xf34575=_0xf34575[_0x41b8ea(0x33f)]()),this[_0x41b8ea(0x243)]!==_0x2de10c['OPEN']){_0x38f984(this,_0xf34575,_0x29f9e7);return;}const _0xb248d4={'binary':typeof _0xf34575!=_0x41b8ea(0x22b),'mask':!this[_0x41b8ea(0x358)],'compress':!0x0,'fin':!0x0,..._0x310fd8};this[_0x41b8ea(0x245)][_0x3c19ff[_0x41b8ea(0x212)]]||(_0xb248d4['compress']=!0x1),this[_0x41b8ea(0x296)][_0x41b8ea(0x2fe)](_0xf34575||_0xf4f29d,_0xb248d4,_0x29f9e7);}[_0x267e0c(0x36f)](){const _0x1cb428=_0x267e0c;if(this['readyState']!==_0x2de10c[_0x1cb428(0x1e0)]){if(this[_0x1cb428(0x243)]===_0x2de10c[_0x1cb428(0x2fd)]){_0x1bcfba(this,this['_req'],_0x1cb428(0x2aa));return;}this[_0x1cb428(0x23b)]&&(this[_0x1cb428(0x1c4)]=_0x2de10c[_0x1cb428(0x20b)],this[_0x1cb428(0x23b)][_0x1cb428(0x258)]());}}}Object[_0x267e0c(0x35e)](_0x2de10c,_0x267e0c(0x2fd),{'enumerable':!0x0,'value':_0x253413['indexOf'](_0x267e0c(0x2fd))}),Object[_0x267e0c(0x35e)](_0x2de10c[_0x267e0c(0x241)],'CONNECTING',{'enumerable':!0x0,'value':_0x253413[_0x267e0c(0x249)]('CONNECTING')}),Object[_0x267e0c(0x35e)](_0x2de10c,'OPEN',{'enumerable':!0x0,'value':_0x253413[_0x267e0c(0x249)](_0x267e0c(0x217))}),Object[_0x267e0c(0x35e)](_0x2de10c[_0x267e0c(0x241)],_0x267e0c(0x217),{'enumerable':!0x0,'value':_0x253413[_0x267e0c(0x249)](_0x267e0c(0x217))}),Object['defineProperty'](_0x2de10c,_0x267e0c(0x20b),{'enumerable':!0x0,'value':_0x253413[_0x267e0c(0x249)](_0x267e0c(0x20b))}),Object['defineProperty'](_0x2de10c[_0x267e0c(0x241)],_0x267e0c(0x20b),{'enumerable':!0x0,'value':_0x253413[_0x267e0c(0x249)](_0x267e0c(0x20b))}),Object['defineProperty'](_0x2de10c,_0x267e0c(0x1e0),{'enumerable':!0x0,'value':_0x253413[_0x267e0c(0x249)]('CLOSED')}),Object[_0x267e0c(0x35e)](_0x2de10c[_0x267e0c(0x241)],_0x267e0c(0x1e0),{'enumerable':!0x0,'value':_0x253413[_0x267e0c(0x249)](_0x267e0c(0x1e0))}),[_0x267e0c(0x2f5),_0x267e0c(0x218),'extensions',_0x267e0c(0x35f),'protocol',_0x267e0c(0x243),_0x267e0c(0x23f)][_0x267e0c(0x289)](_0xb6d441=>{const _0x1d7329=_0x267e0c;Object[_0x1d7329(0x35e)](_0x2de10c[_0x1d7329(0x241)],_0xb6d441,{'enumerable':!0x0});}),[_0x267e0c(0x309),_0x267e0c(0x219),'close','message'][_0x267e0c(0x289)](_0x7c3834=>{const _0x5dcae5=_0x267e0c;Object[_0x5dcae5(0x35e)](_0x2de10c[_0x5dcae5(0x241)],'on'+_0x7c3834,{'enumerable':!0x0,'get'(){const _0x49f6c6=_0x5dcae5;for(const _0x2e2292 of this[_0x49f6c6(0x306)](_0x7c3834))if(_0x2e2292[_0x40800d])return _0x2e2292[_0x58b8e5];return null;},'set'(_0x20d377){const _0x310770=_0x5dcae5;for(const _0x438920 of this['listeners'](_0x7c3834))if(_0x438920[_0x40800d]){this[_0x310770(0x374)](_0x7c3834,_0x438920);break;}typeof _0x20d377==_0x310770(0x223)&&this[_0x310770(0x2cf)](_0x7c3834,_0x20d377,{[_0x40800d]:!0x0});}});}),_0x2de10c[_0x267e0c(0x241)][_0x267e0c(0x2cf)]=_0x23bba4,_0x2de10c[_0x267e0c(0x241)][_0x267e0c(0x300)]=_0x3b41be,we=_0x2de10c;function _0x1bd26c(_0x209ee5,_0x39fe9a,_0x24b8e8,_0x1b84cc){const _0x161408=_0x267e0c,_0x4c94e6={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x277486[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1b84cc,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x161408(0x1ee),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x209ee5[_0x161408(0x236)]=_0x4c94e6[_0x161408(0x1e8)],!_0x277486['includes'](_0x4c94e6[_0x161408(0x337)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x4c94e6[_0x161408(0x337)]+_0x161408(0x360)+_0x277486[_0x161408(0x297)](',\x20')+')');let _0x298219;if(_0x39fe9a instanceof _0x1dd613)_0x298219=_0x39fe9a;else try{_0x298219=new _0x1dd613(_0x39fe9a);}catch{throw new SyntaxError(_0x161408(0x24e)+_0x39fe9a);}_0x298219['protocol']===_0x161408(0x1fe)?_0x298219[_0x161408(0x321)]='ws:':_0x298219[_0x161408(0x321)]===_0x161408(0x325)&&(_0x298219[_0x161408(0x321)]=_0x161408(0x257)),_0x209ee5[_0x161408(0x365)]=_0x298219[_0x161408(0x1b0)];const _0x13327f=_0x298219[_0x161408(0x321)]===_0x161408(0x257),_0x511ce3=_0x298219['protocol']===_0x161408(0x210);let _0x222fd0;if(_0x298219[_0x161408(0x321)]!==_0x161408(0x34f)&&!_0x13327f&&!_0x511ce3?_0x222fd0=_0x161408(0x1ba):_0x511ce3&&!_0x298219[_0x161408(0x317)]?_0x222fd0='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x298219[_0x161408(0x2b5)]&&(_0x222fd0=_0x161408(0x305)),_0x222fd0){const _0x1e2344=new SyntaxError(_0x222fd0);if(_0x209ee5[_0x161408(0x1d3)]===0x0)throw _0x1e2344;_0x361526(_0x209ee5,_0x1e2344);return;}const _0x54e9ef=_0x13327f?0x1bb:0x50,_0x3419e6=_0x48a684(0x10)[_0x161408(0x33f)]('base64'),_0x7c48f2=_0x13327f?_0x4ea4f4[_0x161408(0x251)]:_0x13c001[_0x161408(0x251)],_0x13cfa6=new Set();let _0x9b5113;if(_0x4c94e6[_0x161408(0x1e3)]=_0x4c94e6[_0x161408(0x1e3)]||(_0x13327f?_0x4a4800:_0xb69056),_0x4c94e6[_0x161408(0x30e)]=_0x4c94e6[_0x161408(0x30e)]||_0x54e9ef,_0x4c94e6[_0x161408(0x2d2)]=_0x298219[_0x161408(0x2d2)]||_0x54e9ef,_0x4c94e6['host']=_0x298219[_0x161408(0x31b)][_0x161408(0x1b4)]('[')?_0x298219[_0x161408(0x31b)][_0x161408(0x2ad)](0x1,-0x1):_0x298219[_0x161408(0x31b)],_0x4c94e6[_0x161408(0x2c4)]={..._0x4c94e6['headers'],'Sec-WebSocket-Version':_0x4c94e6[_0x161408(0x337)],'Sec-WebSocket-Key':_0x3419e6,'Connection':'Upgrade','Upgrade':'websocket'},_0x4c94e6[_0x161408(0x213)]=_0x298219[_0x161408(0x317)]+_0x298219[_0x161408(0x30c)],_0x4c94e6[_0x161408(0x256)]=_0x4c94e6[_0x161408(0x367)],_0x4c94e6[_0x161408(0x255)]&&(_0x9b5113=new _0x3c19ff(_0x4c94e6['perMessageDeflate']!==!0x0?_0x4c94e6[_0x161408(0x255)]:{},!0x1,_0x4c94e6[_0x161408(0x1b3)]),_0x4c94e6[_0x161408(0x2c4)][_0x161408(0x1be)]=_0x2acbff({[_0x3c19ff[_0x161408(0x212)]]:_0x9b5113[_0x161408(0x346)]()})),_0x24b8e8[_0x161408(0x240)]){for(const _0x4c6249 of _0x24b8e8){if(typeof _0x4c6249!=_0x161408(0x22b)||!_0x5c8bbd['test'](_0x4c6249)||_0x13cfa6['has'](_0x4c6249))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x13cfa6[_0x161408(0x343)](_0x4c6249);}_0x4c94e6[_0x161408(0x2c4)][_0x161408(0x220)]=_0x24b8e8['join'](',');}if(_0x4c94e6[_0x161408(0x2da)]&&(_0x4c94e6[_0x161408(0x337)]<0xd?_0x4c94e6[_0x161408(0x2c4)][_0x161408(0x207)]=_0x4c94e6[_0x161408(0x2da)]:_0x4c94e6[_0x161408(0x2c4)]['Origin']=_0x4c94e6[_0x161408(0x2da)]),(_0x298219['username']||_0x298219['password'])&&(_0x4c94e6[_0x161408(0x2a5)]=_0x298219[_0x161408(0x22e)]+':'+_0x298219[_0x161408(0x320)]),_0x511ce3){const _0x101c70=_0x4c94e6[_0x161408(0x213)][_0x161408(0x1f1)](':');_0x4c94e6[_0x161408(0x280)]=_0x101c70[0x0],_0x4c94e6[_0x161408(0x213)]=_0x101c70[0x1];}let _0x20aa1b;if(_0x4c94e6['followRedirects']){if(_0x209ee5[_0x161408(0x1d3)]===0x0){_0x209ee5['_originalIpc']=_0x511ce3,_0x209ee5[_0x161408(0x292)]=_0x13327f,_0x209ee5[_0x161408(0x1ff)]=_0x511ce3?_0x4c94e6['socketPath']:_0x298219[_0x161408(0x2c3)];const _0x29f510=_0x1b84cc&&_0x1b84cc[_0x161408(0x2c4)];if(_0x1b84cc={..._0x1b84cc,'headers':{}},_0x29f510){for(const [_0x325551,_0x3994db]of Object[_0x161408(0x26d)](_0x29f510))_0x1b84cc['headers'][_0x325551[_0x161408(0x1c6)]()]=_0x3994db;}}else{if(_0x209ee5[_0x161408(0x29d)](_0x161408(0x333))===0x0){const _0x50d9ad=_0x511ce3?_0x209ee5['_originalIpc']?_0x4c94e6['socketPath']===_0x209ee5['_originalHostOrSocketPath']:!0x1:_0x209ee5['_originalIpc']?!0x1:_0x298219[_0x161408(0x2c3)]===_0x209ee5['_originalHostOrSocketPath'];(!_0x50d9ad||_0x209ee5[_0x161408(0x292)]&&!_0x13327f)&&(delete _0x4c94e6[_0x161408(0x2c4)][_0x161408(0x302)],delete _0x4c94e6[_0x161408(0x2c4)][_0x161408(0x2bf)],_0x50d9ad||delete _0x4c94e6[_0x161408(0x2c4)]['host'],_0x4c94e6[_0x161408(0x2a5)]=void 0x0);}}_0x4c94e6[_0x161408(0x2a5)]&&!_0x1b84cc['headers'][_0x161408(0x302)]&&(_0x1b84cc[_0x161408(0x2c4)][_0x161408(0x302)]=_0x161408(0x24d)+Buffer[_0x161408(0x34a)](_0x4c94e6[_0x161408(0x2a5)])['toString'](_0x161408(0x22a))),_0x20aa1b=_0x209ee5[_0x161408(0x2d1)]=_0x7c48f2(_0x4c94e6),_0x209ee5[_0x161408(0x1d3)]&&_0x209ee5[_0x161408(0x205)](_0x161408(0x333),_0x209ee5['url'],_0x20aa1b);}else _0x20aa1b=_0x209ee5[_0x161408(0x2d1)]=_0x7c48f2(_0x4c94e6);_0x4c94e6['timeout']&&_0x20aa1b['on']('timeout',()=>{const _0x42af54=_0x161408;_0x1bcfba(_0x209ee5,_0x20aa1b,_0x42af54(0x314));}),_0x20aa1b['on'](_0x161408(0x219),_0x37257b=>{_0x20aa1b===null||_0x20aa1b[_0x222974]||(_0x20aa1b=_0x209ee5['_req']=null,_0x361526(_0x209ee5,_0x37257b));}),_0x20aa1b['on'](_0x161408(0x28b),_0x196b65=>{const _0x5662a0=_0x161408,_0x35d82a=_0x196b65[_0x5662a0(0x2c4)][_0x5662a0(0x30d)],_0x3f7be3=_0x196b65[_0x5662a0(0x2a3)];if(_0x35d82a&&_0x4c94e6[_0x5662a0(0x27a)]&&_0x3f7be3>=0x12c&&_0x3f7be3<0x190){if(++_0x209ee5[_0x5662a0(0x1d3)]>_0x4c94e6[_0x5662a0(0x1c1)]){_0x1bcfba(_0x209ee5,_0x20aa1b,_0x5662a0(0x1c8));return;}_0x20aa1b[_0x5662a0(0x1d5)]();let _0x1838f6;try{_0x1838f6=new _0x1dd613(_0x35d82a,_0x39fe9a);}catch{const _0x1e9a26=new SyntaxError(_0x5662a0(0x24e)+_0x35d82a);_0x361526(_0x209ee5,_0x1e9a26);return;}_0x1bd26c(_0x209ee5,_0x1838f6,_0x24b8e8,_0x1b84cc);}else _0x209ee5[_0x5662a0(0x205)](_0x5662a0(0x1b2),_0x20aa1b,_0x196b65)||_0x1bcfba(_0x209ee5,_0x20aa1b,_0x5662a0(0x1ca)+_0x196b65[_0x5662a0(0x2a3)]);}),_0x20aa1b['on'](_0x161408(0x1f6),(_0x2ebb15,_0xdba3d,_0x2ffa60)=>{const _0x587b51=_0x161408;if(_0x209ee5[_0x587b51(0x205)](_0x587b51(0x1f6),_0x2ebb15),_0x209ee5[_0x587b51(0x243)]!==_0x2de10c['CONNECTING'])return;_0x20aa1b=_0x209ee5[_0x587b51(0x2d1)]=null;const _0x19b890=_0x2ebb15['headers']['upgrade'];if(_0x19b890===void 0x0||_0x19b890[_0x587b51(0x1c6)]()!==_0x587b51(0x30b)){_0x1bcfba(_0x209ee5,_0xdba3d,_0x587b51(0x1d2));return;}const _0x4fe987=_0x75b2cc('sha1')['update'](_0x3419e6+_0x55ceb1)[_0x587b51(0x211)](_0x587b51(0x22a));if(_0x2ebb15[_0x587b51(0x2c4)][_0x587b51(0x1fc)]!==_0x4fe987){_0x1bcfba(_0x209ee5,_0xdba3d,_0x587b51(0x2df));return;}const _0x5964c8=_0x2ebb15[_0x587b51(0x2c4)][_0x587b51(0x32f)];let _0x3b4bcb;if(_0x5964c8!==void 0x0?_0x13cfa6['size']?_0x13cfa6['has'](_0x5964c8)||(_0x3b4bcb=_0x587b51(0x1dc)):_0x3b4bcb=_0x587b51(0x32c):_0x13cfa6[_0x587b51(0x2c9)]&&(_0x3b4bcb=_0x587b51(0x225)),_0x3b4bcb){_0x1bcfba(_0x209ee5,_0xdba3d,_0x3b4bcb);return;}_0x5964c8&&(_0x209ee5['_protocol']=_0x5964c8);const _0x4252bc=_0x2ebb15[_0x587b51(0x2c4)][_0x587b51(0x272)];if(_0x4252bc!==void 0x0){if(!_0x9b5113){_0x1bcfba(_0x209ee5,_0xdba3d,_0x587b51(0x336));return;}let _0x486680;try{_0x486680=_0x2e23fb(_0x4252bc);}catch{_0x1bcfba(_0x209ee5,_0xdba3d,_0x587b51(0x2ac));return;}const _0x16c7d8=Object[_0x587b51(0x1ed)](_0x486680);if(_0x16c7d8[_0x587b51(0x240)]!==0x1||_0x16c7d8[0x0]!==_0x3c19ff['extensionName']){_0x1bcfba(_0x209ee5,_0xdba3d,_0x587b51(0x2e3));return;}try{_0x9b5113[_0x587b51(0x376)](_0x486680[_0x3c19ff[_0x587b51(0x212)]]);}catch{_0x1bcfba(_0x209ee5,_0xdba3d,_0x587b51(0x2ac));return;}_0x209ee5[_0x587b51(0x245)][_0x3c19ff[_0x587b51(0x212)]]=_0x9b5113;}_0x209ee5[_0x587b51(0x235)](_0xdba3d,_0x2ffa60,{'allowSynchronousEvents':_0x4c94e6[_0x587b51(0x1e2)],'generateMask':_0x4c94e6['generateMask'],'maxPayload':_0x4c94e6['maxPayload'],'skipUTF8Validation':_0x4c94e6[_0x587b51(0x231)]});}),_0x4c94e6['finishRequest']?_0x4c94e6[_0x161408(0x299)](_0x20aa1b,_0x209ee5):_0x20aa1b[_0x161408(0x263)]();}function _0x361526(_0x25737b,_0x2918cc){const _0x27177b=_0x267e0c;_0x25737b[_0x27177b(0x1c4)]=_0x2de10c[_0x27177b(0x20b)],_0x25737b[_0x27177b(0x1f0)]=!0x0,_0x25737b[_0x27177b(0x205)](_0x27177b(0x219),_0x2918cc),_0x25737b['emitClose']();}function _0xb69056(_0x2b32c4){const _0x44786d=_0x267e0c;return _0x2b32c4['path']=_0x2b32c4[_0x44786d(0x280)],_0x197962[_0x44786d(0x266)](_0x2b32c4);}function _0x4a4800(_0x1caee4){const _0x5de0a7=_0x267e0c;return _0x1caee4['path']=void 0x0,!_0x1caee4[_0x5de0a7(0x33b)]&&_0x1caee4[_0x5de0a7(0x33b)]!==''&&(_0x1caee4[_0x5de0a7(0x33b)]=_0x197962['isIP'](_0x1caee4[_0x5de0a7(0x2c3)])?'':_0x1caee4[_0x5de0a7(0x2c3)]),_0x2d7d21[_0x5de0a7(0x266)](_0x1caee4);}function _0x1bcfba(_0x630195,_0x45ae7d,_0x4da84a){const _0x4edffc=_0x267e0c;_0x630195[_0x4edffc(0x1c4)]=_0x2de10c['CLOSING'];const _0x57c10=new Error(_0x4da84a);Error[_0x4edffc(0x278)](_0x57c10,_0x1bcfba),_0x45ae7d[_0x4edffc(0x279)]?(_0x45ae7d[_0x222974]=!0x0,_0x45ae7d['abort'](),_0x45ae7d[_0x4edffc(0x2ee)]&&!_0x45ae7d[_0x4edffc(0x2ee)][_0x4edffc(0x2e1)]&&_0x45ae7d[_0x4edffc(0x2ee)][_0x4edffc(0x258)](),process['nextTick'](_0x361526,_0x630195,_0x57c10)):(_0x45ae7d['destroy'](_0x57c10),_0x45ae7d[_0x4edffc(0x262)]('error',_0x630195['emit'][_0x4edffc(0x31c)](_0x630195,_0x4edffc(0x219))),_0x45ae7d[_0x4edffc(0x262)]('close',_0x630195[_0x4edffc(0x1fa)][_0x4edffc(0x31c)](_0x630195)));}function _0x38f984(_0x995e7c,_0x3611b5,_0x2fe991){const _0x38a8a5=_0x267e0c;if(_0x3611b5){const _0x3ace2e=_0x4f50bf(_0x3611b5)?_0x3611b5[_0x38a8a5(0x2c9)]:_0x3537f5(_0x3611b5)[_0x38a8a5(0x240)];_0x995e7c[_0x38a8a5(0x23b)]?_0x995e7c['_sender'][_0x38a8a5(0x271)]+=_0x3ace2e:_0x995e7c[_0x38a8a5(0x1f3)]+=_0x3ace2e;}if(_0x2fe991){const _0x4d5572=new Error(_0x38a8a5(0x32b)+_0x995e7c[_0x38a8a5(0x243)]+'\x20('+_0x253413[_0x995e7c[_0x38a8a5(0x243)]]+')');process['nextTick'](_0x2fe991,_0x4d5572);}}function _0x3742c3(_0x201765,_0x1e8cd8){const _0x3f3b5c=_0x267e0c,_0x45308f=this[_0x7a20b9];_0x45308f['_closeFrameReceived']=!0x0,_0x45308f[_0x3f3b5c(0x345)]=_0x1e8cd8,_0x45308f[_0x3f3b5c(0x2cd)]=_0x201765,_0x45308f[_0x3f3b5c(0x23b)][_0x7a20b9]!==void 0x0&&(_0x45308f[_0x3f3b5c(0x23b)]['removeListener'](_0x3f3b5c(0x26c),_0x39d47a),process['nextTick'](_0x5a38e3,_0x45308f[_0x3f3b5c(0x23b)]),_0x201765===0x3ed?_0x45308f[_0x3f3b5c(0x1dd)]():_0x45308f[_0x3f3b5c(0x1dd)](_0x201765,_0x1e8cd8));}function _0x460b3b(){const _0x2667c1=_0x267e0c,_0x4b6b47=this[_0x7a20b9];_0x4b6b47[_0x2667c1(0x35f)]||_0x4b6b47[_0x2667c1(0x23b)][_0x2667c1(0x32a)]();}function _0x127d8a(_0x108abc){const _0x4cc2f3=_0x267e0c,_0x5eb9a7=this[_0x7a20b9];_0x5eb9a7[_0x4cc2f3(0x23b)][_0x7a20b9]!==void 0x0&&(_0x5eb9a7[_0x4cc2f3(0x23b)][_0x4cc2f3(0x374)](_0x4cc2f3(0x26c),_0x39d47a),process['nextTick'](_0x5a38e3,_0x5eb9a7['_socket']),_0x5eb9a7['close'](_0x108abc[_0x2c8232])),_0x5eb9a7['_errorEmitted']||(_0x5eb9a7[_0x4cc2f3(0x1f0)]=!0x0,_0x5eb9a7['emit'](_0x4cc2f3(0x219),_0x108abc));}function _0x27ebd9(){const _0x2d1fd5=_0x267e0c;this[_0x7a20b9][_0x2d1fd5(0x1fa)]();}function _0x3f10a6(_0x455285,_0x213c88){const _0x19951e=_0x267e0c;this[_0x7a20b9][_0x19951e(0x205)](_0x19951e(0x1b9),_0x455285,_0x213c88);}function _0xa036cb(_0x50619b){const _0x22f212=_0x267e0c,_0x3ffff0=this[_0x7a20b9];_0x3ffff0['_autoPong']&&_0x3ffff0[_0x22f212(0x350)](_0x50619b,!this[_0x22f212(0x358)],_0x22399d),_0x3ffff0['emit'](_0x22f212(0x277),_0x50619b);}function _0x5e5000(_0x1a7682){const _0x4589e7=_0x267e0c;this[_0x7a20b9][_0x4589e7(0x205)](_0x4589e7(0x350),_0x1a7682);}function _0x5a38e3(_0x4144eb){const _0x4d60cc=_0x267e0c;_0x4144eb[_0x4d60cc(0x32a)]();}function _0x112cbd(_0x2addc3){const _0x23003d=_0x267e0c,_0x4f808f=this[_0x7a20b9];_0x4f808f[_0x23003d(0x243)]!==_0x2de10c[_0x23003d(0x1e0)]&&(_0x4f808f[_0x23003d(0x243)]===_0x2de10c['OPEN']&&(_0x4f808f[_0x23003d(0x1c4)]=_0x2de10c[_0x23003d(0x20b)],_0x4f10d9(_0x4f808f)),this[_0x23003d(0x23b)][_0x23003d(0x263)](),_0x4f808f[_0x23003d(0x1f0)]||(_0x4f808f[_0x23003d(0x1f0)]=!0x0,_0x4f808f[_0x23003d(0x205)]('error',_0x2addc3)));}function _0x4f10d9(_0x45796b){const _0xb51cd2=_0x267e0c;_0x45796b[_0xb51cd2(0x1d1)]=setTimeout(_0x45796b[_0xb51cd2(0x23b)][_0xb51cd2(0x258)]['bind'](_0x45796b['_socket']),_0x40c5f3);}function _0x3ccb53(){const _0x4237c0=_0x267e0c,_0x1270de=this[_0x7a20b9];this[_0x4237c0(0x374)]('close',_0x3ccb53),this[_0x4237c0(0x374)]('data',_0x39d47a),this[_0x4237c0(0x374)](_0x4237c0(0x263),_0x2bb55a),_0x1270de[_0x4237c0(0x1c4)]=_0x2de10c['CLOSING'];let _0x587039;!this[_0x4237c0(0x269)]['endEmitted']&&!_0x1270de[_0x4237c0(0x21b)]&&!_0x1270de[_0x4237c0(0x29f)]['_writableState']['errorEmitted']&&(_0x587039=_0x1270de[_0x4237c0(0x23b)]['read']())!==null&&_0x1270de[_0x4237c0(0x29f)][_0x4237c0(0x36b)](_0x587039),_0x1270de[_0x4237c0(0x29f)][_0x4237c0(0x263)](),this[_0x7a20b9]=void 0x0,clearTimeout(_0x1270de['_closeTimer']),_0x1270de[_0x4237c0(0x29f)][_0x4237c0(0x28e)]['finished']||_0x1270de[_0x4237c0(0x29f)][_0x4237c0(0x28e)][_0x4237c0(0x315)]?_0x1270de[_0x4237c0(0x1fa)]():(_0x1270de['_receiver']['on'](_0x4237c0(0x219),_0x27ebd9),_0x1270de[_0x4237c0(0x29f)]['on'](_0x4237c0(0x2d3),_0x27ebd9));}function _0x39d47a(_0x112014){const _0x39b873=_0x267e0c;this[_0x7a20b9][_0x39b873(0x29f)]['write'](_0x112014)||this[_0x39b873(0x2dc)]();}function _0x2bb55a(){const _0x5e1861=_0x267e0c,_0x41b87b=this[_0x7a20b9];_0x41b87b[_0x5e1861(0x1c4)]=_0x2de10c[_0x5e1861(0x20b)],_0x41b87b['_receiver'][_0x5e1861(0x263)](),this[_0x5e1861(0x263)]();}function _0x4bf30f(){const _0xc1ec22=_0x267e0c,_0x794bae=this[_0x7a20b9];this[_0xc1ec22(0x374)](_0xc1ec22(0x219),_0x4bf30f),this['on']('error',_0x22399d),_0x794bae&&(_0x794bae[_0xc1ec22(0x1c4)]=_0x2de10c['CLOSING'],this[_0xc1ec22(0x258)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x36126c}=oe;function _0x4905ea(_0x5991c8){const _0x5cdb95=_0x80da;_0x5991c8[_0x5cdb95(0x205)]('close');}function _0x2cb747(){const _0x505f15=_0x80da;!this[_0x505f15(0x2e1)]&&this['_writableState'][_0x505f15(0x29c)]&&this[_0x505f15(0x258)]();}function _0x25ed41(_0x385178){const _0x13e763=_0x80da;this[_0x13e763(0x374)](_0x13e763(0x219),_0x25ed41),this[_0x13e763(0x258)](),this[_0x13e763(0x29d)](_0x13e763(0x219))===0x0&&this[_0x13e763(0x205)]('error',_0x385178);}function _0xec9527(_0x3e93cb,_0x479f49){const _0x492487=_0x80da;let _0x3ff287=!0x0;const _0x3672c8=new _0x36126c({..._0x479f49,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3e93cb['on'](_0x492487(0x1b9),function(_0x33b790,_0x1500da){const _0x34ea1b=_0x492487,_0x37b57f=!_0x1500da&&_0x3672c8[_0x34ea1b(0x269)][_0x34ea1b(0x2ed)]?_0x33b790[_0x34ea1b(0x33f)]():_0x33b790;_0x3672c8[_0x34ea1b(0x293)](_0x37b57f)||_0x3e93cb[_0x34ea1b(0x2dc)]();}),_0x3e93cb[_0x492487(0x262)](_0x492487(0x219),function(_0x6f69e0){const _0x149854=_0x492487;_0x3672c8[_0x149854(0x2e1)]||(_0x3ff287=!0x1,_0x3672c8[_0x149854(0x258)](_0x6f69e0));}),_0x3e93cb[_0x492487(0x262)]('close',function(){const _0x232dab=_0x492487;_0x3672c8[_0x232dab(0x2e1)]||_0x3672c8[_0x232dab(0x293)](null);}),_0x3672c8[_0x492487(0x282)]=function(_0x10b626,_0x4fc4b4){const _0x164d94=_0x492487;if(_0x3e93cb[_0x164d94(0x243)]===_0x3e93cb[_0x164d94(0x1e0)]){_0x4fc4b4(_0x10b626),process[_0x164d94(0x2cb)](_0x4905ea,_0x3672c8);return;}let _0x258601=!0x1;_0x3e93cb[_0x164d94(0x262)](_0x164d94(0x219),function(_0x454acc){_0x258601=!0x0,_0x4fc4b4(_0x454acc);}),_0x3e93cb[_0x164d94(0x262)](_0x164d94(0x1dd),function(){const _0x2310e8=_0x164d94;_0x258601||_0x4fc4b4(_0x10b626),process[_0x2310e8(0x2cb)](_0x4905ea,_0x3672c8);}),_0x3ff287&&_0x3e93cb[_0x164d94(0x36f)]();},_0x3672c8[_0x492487(0x203)]=function(_0x4d95fc){const _0x88d767=_0x492487;if(_0x3e93cb[_0x88d767(0x243)]===_0x3e93cb[_0x88d767(0x2fd)]){_0x3e93cb[_0x88d767(0x262)](_0x88d767(0x309),function(){const _0x1c647a=_0x88d767;_0x3672c8[_0x1c647a(0x203)](_0x4d95fc);});return;}_0x3e93cb['_socket']!==null&&(_0x3e93cb[_0x88d767(0x23b)][_0x88d767(0x28e)][_0x88d767(0x29c)]?(_0x4d95fc(),_0x3672c8[_0x88d767(0x269)][_0x88d767(0x2e9)]&&_0x3672c8['destroy']()):(_0x3e93cb['_socket'][_0x88d767(0x262)]('finish',function(){_0x4d95fc();}),_0x3e93cb[_0x88d767(0x1dd)]()));},_0x3672c8[_0x492487(0x2f7)]=function(){const _0x37c713=_0x492487;_0x3e93cb['isPaused']&&_0x3e93cb[_0x37c713(0x32a)]();},_0x3672c8['_write']=function(_0x5dca81,_0x4b1c2c,_0x3af66b){const _0x5d283c=_0x492487;if(_0x3e93cb['readyState']===_0x3e93cb['CONNECTING']){_0x3e93cb[_0x5d283c(0x262)](_0x5d283c(0x309),function(){const _0x5b7799=_0x5d283c;_0x3672c8[_0x5b7799(0x273)](_0x5dca81,_0x4b1c2c,_0x3af66b);});return;}_0x3e93cb[_0x5d283c(0x2fe)](_0x5dca81,_0x3af66b);},_0x3672c8['on']('end',_0x2cb747),_0x3672c8['on'](_0x492487(0x219),_0x25ed41),_0x3672c8;}return Oe=_0xec9527,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x21356c}=ae();function _0xe80862(_0x204837){const _0x795545=_0x80da,_0x239cbf=new Set();let _0x465fbf=-0x1,_0x13466f=-0x1,_0x168766=0x0;for(_0x168766;_0x168766<_0x204837['length'];_0x168766++){const _0x52712f=_0x204837['charCodeAt'](_0x168766);if(_0x13466f===-0x1&&_0x21356c[_0x52712f]===0x1)_0x465fbf===-0x1&&(_0x465fbf=_0x168766);else{if(_0x168766!==0x0&&(_0x52712f===0x20||_0x52712f===0x9))_0x13466f===-0x1&&_0x465fbf!==-0x1&&(_0x13466f=_0x168766);else{if(_0x52712f===0x2c){if(_0x465fbf===-0x1)throw new SyntaxError(_0x795545(0x373)+_0x168766);_0x13466f===-0x1&&(_0x13466f=_0x168766);const _0x302301=_0x204837[_0x795545(0x2ad)](_0x465fbf,_0x13466f);if(_0x239cbf[_0x795545(0x2e0)](_0x302301))throw new SyntaxError(_0x795545(0x1b5)+_0x302301+_0x795545(0x2ff));_0x239cbf['add'](_0x302301),_0x465fbf=_0x13466f=-0x1;}else throw new SyntaxError(_0x795545(0x373)+_0x168766);}}}if(_0x465fbf===-0x1||_0x13466f!==-0x1)throw new SyntaxError(_0x795545(0x2e5));const _0x38015a=_0x204837['slice'](_0x465fbf,_0x168766);if(_0x239cbf['has'](_0x38015a))throw new SyntaxError(_0x795545(0x1b5)+_0x38015a+_0x795545(0x2ff));return _0x239cbf[_0x795545(0x343)](_0x38015a),_0x239cbf;}return Ce={'parse':_0xe80862},Ce;}var Te,rt;function _0x80da(_0x5274e3,_0x39a856){const _0x458ffc=_0x458f();return _0x80da=function(_0x80dacf,_0x4dd4e7){_0x80dacf=_0x80dacf-0x1b0;let _0x55f643=_0x458ffc[_0x80dacf];return _0x55f643;},_0x80da(_0x5274e3,_0x39a856);}function Ft(){const _0x57a95a=_0x49d410;if(rt)return Te;rt=0x1;const _0x52fbc2=nt,_0x591d49=ot,{Duplex:_0x19f840}=oe,{createHash:_0x3d5361}=Le,_0x586dc9=ct(),_0x9dd0d4=he(),_0x65bea0=At(),_0x2e71ca=Pe(),{GUID:_0x341fe8,kWebSocket:_0x48c84c}=H(),_0x2642e3=/^[+/0-9A-Za-z]{22}==$/,_0x2ac52d=0x0,_0x279b45=0x1,_0x399649=0x2;class _0x4e33ae extends _0x52fbc2{constructor(_0x5877f4,_0x2795ad){const _0x1e6303=_0x80da;if(super(),_0x5877f4={'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':_0x2e71ca,..._0x5877f4},_0x5877f4[_0x1e6303(0x2d2)]==null&&!_0x5877f4[_0x1e6303(0x35d)]&&!_0x5877f4[_0x1e6303(0x229)]||_0x5877f4['port']!=null&&(_0x5877f4[_0x1e6303(0x35d)]||_0x5877f4['noServer'])||_0x5877f4[_0x1e6303(0x35d)]&&_0x5877f4[_0x1e6303(0x229)])throw new TypeError(_0x1e6303(0x2c8));if(_0x5877f4[_0x1e6303(0x2d2)]!=null?(this[_0x1e6303(0x24c)]=_0x591d49[_0x1e6303(0x265)]((_0x5aa1f2,_0x1e4a52)=>{const _0x2a4eeb=_0x1e6303,_0x53485b=_0x591d49[_0x2a4eeb(0x232)][0x1aa];_0x1e4a52[_0x2a4eeb(0x36a)](0x1aa,{'Content-Length':_0x53485b[_0x2a4eeb(0x240)],'Content-Type':'text/plain'}),_0x1e4a52['end'](_0x53485b);}),this['_server'][_0x1e6303(0x27c)](_0x5877f4[_0x1e6303(0x2d2)],_0x5877f4[_0x1e6303(0x2c3)],_0x5877f4[_0x1e6303(0x310)],_0x2795ad)):_0x5877f4[_0x1e6303(0x35d)]&&(this['_server']=_0x5877f4['server']),this[_0x1e6303(0x24c)]){const _0x11ac0e=this[_0x1e6303(0x205)]['bind'](this,_0x1e6303(0x338));this[_0x1e6303(0x2cc)]=_0x1dea4b(this[_0x1e6303(0x24c)],{'listening':this['emit'][_0x1e6303(0x31c)](this,_0x1e6303(0x1e4)),'error':this[_0x1e6303(0x205)][_0x1e6303(0x31c)](this,'error'),'upgrade':(_0x2b7351,_0x111786,_0x3c3823)=>{this['handleUpgrade'](_0x2b7351,_0x111786,_0x3c3823,_0x11ac0e);}});}_0x5877f4['perMessageDeflate']===!0x0&&(_0x5877f4['perMessageDeflate']={}),_0x5877f4[_0x1e6303(0x34e)]&&(this[_0x1e6303(0x335)]=new Set(),this[_0x1e6303(0x2c0)]=!0x1),this[_0x1e6303(0x2a7)]=_0x5877f4,this[_0x1e6303(0x26a)]=_0x2ac52d;}['address'](){const _0x561857=_0x80da;if(this['options'][_0x561857(0x229)])throw new Error(_0x561857(0x20d));return this['_server']?this[_0x561857(0x24c)][_0x561857(0x1f9)]():null;}['close'](_0x37c677){const _0x317bf8=_0x80da;if(this['_state']===_0x399649){_0x37c677&&this['once']('close',()=>{const _0x130cc7=_0x80da;_0x37c677(new Error(_0x130cc7(0x357)));}),process[_0x317bf8(0x2cb)](_0x4bfdac,this);return;}if(_0x37c677&&this[_0x317bf8(0x262)](_0x317bf8(0x1dd),_0x37c677),this[_0x317bf8(0x26a)]!==_0x279b45){if(this[_0x317bf8(0x26a)]=_0x279b45,this[_0x317bf8(0x2a7)][_0x317bf8(0x229)]||this[_0x317bf8(0x2a7)][_0x317bf8(0x35d)])this[_0x317bf8(0x24c)]&&(this[_0x317bf8(0x2cc)](),this[_0x317bf8(0x2cc)]=this['_server']=null),this[_0x317bf8(0x335)]?this[_0x317bf8(0x335)][_0x317bf8(0x2c9)]?this['_shouldEmitClose']=!0x0:process[_0x317bf8(0x2cb)](_0x4bfdac,this):process[_0x317bf8(0x2cb)](_0x4bfdac,this);else{const _0x1b0491=this[_0x317bf8(0x24c)];this['_removeListeners'](),this['_removeListeners']=this[_0x317bf8(0x24c)]=null,_0x1b0491[_0x317bf8(0x1dd)](()=>{_0x4bfdac(this);});}}}[_0x57a95a(0x250)](_0x5f4a8a){const _0x1345fe=_0x57a95a;if(this[_0x1345fe(0x2a7)][_0x1345fe(0x213)]){const _0x4e7110=_0x5f4a8a[_0x1345fe(0x23f)]['indexOf']('?');if((_0x4e7110!==-0x1?_0x5f4a8a['url'][_0x1345fe(0x2ad)](0x0,_0x4e7110):_0x5f4a8a[_0x1345fe(0x23f)])!==this['options'][_0x1345fe(0x213)])return!0x1;}return!0x0;}[_0x57a95a(0x324)](_0xc04d22,_0x45b59f,_0x29cc16,_0x34e788){const _0x61734d=_0x57a95a;_0x45b59f['on'](_0x61734d(0x219),_0x53f814);const _0x3cd555=_0xc04d22[_0x61734d(0x2c4)]['sec-websocket-key'],_0xb827d6=_0xc04d22[_0x61734d(0x2c4)][_0x61734d(0x1f6)],_0x18d2da=+_0xc04d22[_0x61734d(0x2c4)][_0x61734d(0x35a)];if(_0xc04d22[_0x61734d(0x32d)]!==_0x61734d(0x1ee)){_0x58f2bf(this,_0xc04d22,_0x45b59f,0x195,_0x61734d(0x347));return;}if(_0xb827d6===void 0x0||_0xb827d6['toLowerCase']()!==_0x61734d(0x30b)){_0x58f2bf(this,_0xc04d22,_0x45b59f,0x190,_0x61734d(0x1d2));return;}if(_0x3cd555===void 0x0||!_0x2642e3['test'](_0x3cd555)){_0x58f2bf(this,_0xc04d22,_0x45b59f,0x190,_0x61734d(0x25c));return;}if(_0x18d2da!==0x8&&_0x18d2da!==0xd){_0x58f2bf(this,_0xc04d22,_0x45b59f,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this['shouldHandle'](_0xc04d22)){_0x4fa8b6(_0x45b59f,0x190);return;}const _0x2223ba=_0xc04d22[_0x61734d(0x2c4)][_0x61734d(0x32f)];let _0x2f0d1b=new Set();if(_0x2223ba!==void 0x0)try{_0x2f0d1b=_0x65bea0[_0x61734d(0x24f)](_0x2223ba);}catch{_0x58f2bf(this,_0xc04d22,_0x45b59f,0x190,_0x61734d(0x364));return;}const _0x1c032e=_0xc04d22[_0x61734d(0x2c4)]['sec-websocket-extensions'],_0x85062e={};if(this['options'][_0x61734d(0x255)]&&_0x1c032e!==void 0x0){const _0x48da19=new _0x9dd0d4(this[_0x61734d(0x2a7)][_0x61734d(0x255)],!0x0,this[_0x61734d(0x2a7)]['maxPayload']);try{const _0x41dad7=_0x586dc9[_0x61734d(0x24f)](_0x1c032e);_0x41dad7[_0x9dd0d4[_0x61734d(0x212)]]&&(_0x48da19['accept'](_0x41dad7[_0x9dd0d4[_0x61734d(0x212)]]),_0x85062e[_0x9dd0d4[_0x61734d(0x212)]]=_0x48da19);}catch{_0x58f2bf(this,_0xc04d22,_0x45b59f,0x190,_0x61734d(0x33e));return;}}if(this[_0x61734d(0x2a7)][_0x61734d(0x1c9)]){const _0x216485={'origin':_0xc04d22[_0x61734d(0x2c4)][''+(_0x18d2da===0x8?_0x61734d(0x2f3):_0x61734d(0x2da))],'secure':!!(_0xc04d22[_0x61734d(0x2ee)]['authorized']||_0xc04d22[_0x61734d(0x2ee)][_0x61734d(0x28f)]),'req':_0xc04d22};if(this[_0x61734d(0x2a7)][_0x61734d(0x1c9)][_0x61734d(0x240)]===0x2){this[_0x61734d(0x2a7)][_0x61734d(0x1c9)](_0x216485,(_0x1ce87a,_0x279f90,_0x41a718,_0x51266f)=>{if(!_0x1ce87a)return _0x4fa8b6(_0x45b59f,_0x279f90||0x191,_0x41a718,_0x51266f);this['completeUpgrade'](_0x85062e,_0x3cd555,_0x2f0d1b,_0xc04d22,_0x45b59f,_0x29cc16,_0x34e788);});return;}if(!this[_0x61734d(0x2a7)][_0x61734d(0x1c9)](_0x216485))return _0x4fa8b6(_0x45b59f,0x191);}this[_0x61734d(0x1f8)](_0x85062e,_0x3cd555,_0x2f0d1b,_0xc04d22,_0x45b59f,_0x29cc16,_0x34e788);}['completeUpgrade'](_0x41f5ab,_0x2efecc,_0x1463a4,_0x17e404,_0x4c1deb,_0x42f85b,_0x3ba32e){const _0x44304e=_0x57a95a;if(!_0x4c1deb[_0x44304e(0x2f9)]||!_0x4c1deb[_0x44304e(0x2ce)])return _0x4c1deb[_0x44304e(0x258)]();if(_0x4c1deb[_0x48c84c])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this['_state']>_0x2ac52d)return _0x4fa8b6(_0x4c1deb,0x1f7);const _0x26a038=[_0x44304e(0x2c5),_0x44304e(0x362),'Connection:\x20Upgrade',_0x44304e(0x2e4)+_0x3d5361(_0x44304e(0x2b0))['update'](_0x2efecc+_0x341fe8)[_0x44304e(0x211)](_0x44304e(0x22a))],_0x1cc2c9=new this[(_0x44304e(0x2a7))][(_0x44304e(0x25a))](null,void 0x0,this['options']);if(_0x1463a4['size']){const _0x281cd6=this[_0x44304e(0x2a7)]['handleProtocols']?this[_0x44304e(0x2a7)][_0x44304e(0x2f8)](_0x1463a4,_0x17e404):_0x1463a4[_0x44304e(0x304)]()[_0x44304e(0x286)]()[_0x44304e(0x25f)];_0x281cd6&&(_0x26a038['push'](_0x44304e(0x330)+_0x281cd6),_0x1cc2c9[_0x44304e(0x2b1)]=_0x281cd6);}if(_0x41f5ab[_0x9dd0d4['extensionName']]){const _0x25de72=_0x41f5ab[_0x9dd0d4[_0x44304e(0x212)]][_0x44304e(0x1b7)],_0x540351=_0x586dc9[_0x44304e(0x1cb)]({[_0x9dd0d4[_0x44304e(0x212)]]:[_0x25de72]});_0x26a038[_0x44304e(0x293)](_0x44304e(0x1e6)+_0x540351),_0x1cc2c9['_extensions']=_0x41f5ab;}this[_0x44304e(0x205)](_0x44304e(0x2c4),_0x26a038,_0x17e404),_0x4c1deb[_0x44304e(0x36b)](_0x26a038[_0x44304e(0x20f)]('\x0d\x0a')['join']('\x0d\x0a')),_0x4c1deb[_0x44304e(0x374)](_0x44304e(0x219),_0x53f814),_0x1cc2c9[_0x44304e(0x235)](_0x4c1deb,_0x42f85b,{'allowSynchronousEvents':this[_0x44304e(0x2a7)][_0x44304e(0x1e2)],'maxPayload':this[_0x44304e(0x2a7)]['maxPayload'],'skipUTF8Validation':this[_0x44304e(0x2a7)][_0x44304e(0x231)]}),this[_0x44304e(0x335)]&&(this[_0x44304e(0x335)][_0x44304e(0x343)](_0x1cc2c9),_0x1cc2c9['on'](_0x44304e(0x1dd),()=>{const _0x540683=_0x44304e;this[_0x540683(0x335)][_0x540683(0x342)](_0x1cc2c9),this[_0x540683(0x2c0)]&&!this[_0x540683(0x335)][_0x540683(0x2c9)]&&process[_0x540683(0x2cb)](_0x4bfdac,this);})),_0x3ba32e(_0x1cc2c9,_0x17e404);}}Te=_0x4e33ae;function _0x1dea4b(_0x3bd49e,_0x222f4e){const _0x332d88=_0x57a95a;for(const _0x398ae3 of Object[_0x332d88(0x1ed)](_0x222f4e))_0x3bd49e['on'](_0x398ae3,_0x222f4e[_0x398ae3]);return function(){const _0x5ccb9f=_0x332d88;for(const _0x348d86 of Object['keys'](_0x222f4e))_0x3bd49e[_0x5ccb9f(0x374)](_0x348d86,_0x222f4e[_0x348d86]);};}function _0x4bfdac(_0x58f394){const _0xc1ebaa=_0x57a95a;_0x58f394[_0xc1ebaa(0x26a)]=_0x399649,_0x58f394[_0xc1ebaa(0x205)]('close');}function _0x53f814(){const _0x562543=_0x57a95a;this[_0x562543(0x258)]();}function _0x4fa8b6(_0x39e630,_0x3a58b0,_0x28c795,_0x15026c){const _0x2083c4=_0x57a95a;_0x28c795=_0x28c795||_0x591d49[_0x2083c4(0x232)][_0x3a58b0],_0x15026c={'Connection':_0x2083c4(0x1dd),'Content-Type':_0x2083c4(0x1ce),'Content-Length':Buffer[_0x2083c4(0x1e1)](_0x28c795),..._0x15026c},_0x39e630[_0x2083c4(0x262)](_0x2083c4(0x2d3),_0x39e630[_0x2083c4(0x258)]),_0x39e630[_0x2083c4(0x263)]('HTTP/1.1\x20'+_0x3a58b0+'\x20'+_0x591d49['STATUS_CODES'][_0x3a58b0]+'\x0d\x0a'+Object[_0x2083c4(0x1ed)](_0x15026c)[_0x2083c4(0x35c)](_0x53b2a7=>_0x53b2a7+':\x20'+_0x15026c[_0x53b2a7])[_0x2083c4(0x297)]('\x0d\x0a')+_0x2083c4(0x311)+_0x28c795);}function _0x58f2bf(_0x1c26ef,_0x3600e4,_0x3469ef,_0x48fc00,_0x4a4031){const _0x3a5b08=_0x57a95a;if(_0x1c26ef[_0x3a5b08(0x29d)](_0x3a5b08(0x2b2))){const _0x20aa47=new Error(_0x4a4031);Error[_0x3a5b08(0x278)](_0x20aa47,_0x58f2bf),_0x1c26ef[_0x3a5b08(0x205)]('wsClientError',_0x20aa47,_0x3469ef,_0x3600e4);}else _0x4fa8b6(_0x3469ef,_0x48fc00,_0x4a4031);}return Te;}Ft();var jt=Object[_0x49d410(0x2ec)],Wt=(_0x4d3e05,_0x358776,_0x3b95d6,_0x941ca4)=>{for(var _0x4cdb05=_0x941ca4>0x1?void 0x0:_0x941ca4?jt(_0x358776,_0x3b95d6):_0x358776,_0x529e37=_0x4d3e05['length']-0x1,_0x301c29;_0x529e37>=0x0;_0x529e37--)(_0x301c29=_0x4d3e05[_0x529e37])&&(_0x4cdb05=_0x301c29(_0x4cdb05)||_0x4cdb05);return _0x4cdb05;},qt=(_0x2e39ed,_0x4f0b03)=>(_0x27b564,_0x5451b3)=>_0x4f0b03(_0x27b564,_0x5451b3,_0x2e39ed);let ke=class extends A[_0x49d410(0x2a1)]{constructor(_0x538c82){const _0x38c802=_0x49d410;super(),this[_0x38c802(0x2bc)]=_0x538c82;}[_0x49d410(0x1f4)](_0x235740){const _0x2e897a=_0x49d410;var _0x1d6138;const _0x388b00=(_0x1d6138=this['_configService'][_0x2e897a(0x368)](fe))==null?void 0x0:_0x1d6138[_0x2e897a(0x316)];try{const _0xb74ead=new $t(_0x235740,{'headers':{..._0x388b00}}),_0x49fc90=new A[(_0x2e897a(0x313))]();return{'URL':_0x235740,'close':(_0x4b335f,_0x4e5701)=>{const _0x5ed1eb=_0x2e897a;_0xb74ead[_0x5ed1eb(0x1dd)](_0x4b335f,_0x4e5701),_0x49fc90['dispose']();},'send':_0xe038b9=>{_0xb74ead['send'](_0xe038b9);},'open$':new V[(_0x2e897a(0x20e))](_0x1b14b9=>{const _0x5ad052=_0x2e897a,_0x19ed7a=_0x2cbe69=>_0x1b14b9[_0x5ad052(0x286)](_0x2cbe69);_0xb74ead['addEventListener'](_0x5ad052(0x309),_0x19ed7a),_0x49fc90[_0x5ad052(0x343)](A[_0x5ad052(0x351)](()=>_0xb74ead['removeEventListener'](_0x5ad052(0x309),_0x19ed7a)));})[_0x2e897a(0x30f)](V[_0x2e897a(0x301)]()),'close$':new V[(_0x2e897a(0x20e))](_0x3e052b=>{const _0xf4baf1=_0x2e897a,_0x1666de=_0x9604d0=>_0x3e052b[_0xf4baf1(0x286)](_0x9604d0);_0xb74ead[_0xf4baf1(0x2cf)](_0xf4baf1(0x1dd),_0x1666de),_0x49fc90[_0xf4baf1(0x343)](A[_0xf4baf1(0x351)](()=>_0xb74ead[_0xf4baf1(0x300)](_0xf4baf1(0x1dd),_0x1666de)));})[_0x2e897a(0x30f)](V[_0x2e897a(0x301)]()),'error$':new V[(_0x2e897a(0x20e))](_0x4e1aee=>{const _0x29836b=_0x2e897a,_0x3de8ee=_0x401d71=>_0x4e1aee['next'](_0x401d71);_0xb74ead[_0x29836b(0x2cf)](_0x29836b(0x219),_0x3de8ee),_0x49fc90['add'](A[_0x29836b(0x351)](()=>_0xb74ead[_0x29836b(0x300)](_0x29836b(0x219),_0x3de8ee)));})[_0x2e897a(0x30f)](V[_0x2e897a(0x301)]()),'message$':new V[(_0x2e897a(0x20e))](_0x22b118=>{const _0x52718c=_0x2e897a,_0x5f3028=_0x4a3ea7=>_0x22b118[_0x52718c(0x286)](_0x4a3ea7);_0xb74ead[_0x52718c(0x2cf)](_0x52718c(0x1b9),_0x5f3028),_0x49fc90[_0x52718c(0x343)](A['toDisposable'](()=>_0xb74ead['removeEventListener'](_0x52718c(0x1b9),_0x5f3028)));})[_0x2e897a(0x30f)](V['share']())};}catch(_0x3311bf){return console[_0x2e897a(0x219)](_0x3311bf),null;}}};ke=Wt([qt(0x0,A[_0x49d410(0x2f0)])],ke);var Gt=Object[_0x49d410(0x35e)],Vt=Object[_0x49d410(0x2ec)],Ht=(_0x514bfe,_0x5d7938,_0x2341a0)=>_0x5d7938 in _0x514bfe?Gt(_0x514bfe,_0x5d7938,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2341a0}):_0x514bfe[_0x5d7938]=_0x2341a0,zt=(_0x12aaad,_0x5afa99,_0x1f0589,_0x35cf6c)=>{const _0x5df05e=_0x49d410;for(var _0x4be5f7=_0x35cf6c>0x1?void 0x0:_0x35cf6c?Vt(_0x5afa99,_0x1f0589):_0x5afa99,_0x54ef1d=_0x12aaad[_0x5df05e(0x240)]-0x1,_0xa822cb;_0x54ef1d>=0x0;_0x54ef1d--)(_0xa822cb=_0x12aaad[_0x54ef1d])&&(_0x4be5f7=_0xa822cb(_0x4be5f7)||_0x4be5f7);return _0x4be5f7;},Ne=(_0x864fd,_0x39ea56)=>(_0x549ea3,_0x4559f5)=>_0x39ea56(_0x549ea3,_0x4559f5,_0x864fd),Yt=(_0x4f6d14,_0x3fe87f,_0x5f16b2)=>Ht(_0x4f6d14,_0x3fe87f+'',_0x5f16b2);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x49d410(0x1c7)]{constructor(_0x454429=Ct,_0x681a23,_0x4fa593,_0x35fb41){const _0x1d3a46=_0x49d410;_0x454429[_0x1d3a46(0x316)]||_0x681a23[_0x1d3a46(0x31d)](_0x1d3a46(0x34b)),super(),this[_0x1d3a46(0x2bc)]=_0x4fa593,this[_0x1d3a46(0x2a9)]=_0x35fb41,this[_0x1d3a46(0x2bc)][_0x1d3a46(0x319)](fe,_0x454429);}['onStarting'](){this['_registerDependencies']();}[_0x49d410(0x1c5)](){const _0x247462=_0x49d410;A['registerDependencies'](this[_0x247462(0x2a9)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],'pluginName',_0x49d410(0x2b4)),exports[_0x49d410(0x291)]=zt([A[_0x49d410(0x28a)](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x49d410(0x23c)]),Ne(0x2,A[_0x49d410(0x2f0)]),Ne(0x3,A['Inject'](A[_0x49d410(0x1c2)]))],exports[_0x49d410(0x291)]);var Kt=Object[_0x49d410(0x2ec)],Xt=(_0x3043c4,_0x580d07,_0x182387,_0x28287d)=>{for(var _0x2ff843=_0x28287d>0x1?void 0x0:_0x28287d?Kt(_0x580d07,_0x182387):_0x580d07,_0x441468=_0x3043c4['length']-0x1,_0x7c4eef;_0x441468>=0x0;_0x441468--)(_0x7c4eef=_0x3043c4[_0x441468])&&(_0x2ff843=_0x7c4eef(_0x2ff843)||_0x2ff843);return _0x2ff843;},ne=(_0x31964c,_0x460f00)=>(_0x2c3b99,_0x77842d)=>_0x460f00(_0x2c3b99,_0x77842d,_0x31964c);exports[_0x49d410(0x375)]=class extends st['CollaborationSocketService']{constructor(_0x459466,_0x1760b2,_0x19f6f0,_0x549cf5,_0x1c5fee){const _0xfeebe4=_0x49d410;super(_0x459466,_0x1760b2,_0x19f6f0,_0x549cf5,_0x1c5fee);const _0x2a2bfd=this['_configService'][_0xfeebe4(0x368)](fe);this[_0xfeebe4(0x33a)][_0xfeebe4(0x221)]({'interceptor':(_0x4f4467,_0x5d8d25)=>{const _0x1bd35f=_0xfeebe4;var _0x571cd1;const _0x1446b5=_0x4f4467[_0x1bd35f(0x2c4)];return(_0x571cd1=_0x2a2bfd==null?void 0x0:_0x2a2bfd[_0x1bd35f(0x316)])!=null&&_0x571cd1[_0x1bd35f(0x2bf)]&&_0x1446b5[_0x1bd35f(0x1e7)]('Cookie',_0x2a2bfd['customHeaders'][_0x1bd35f(0x2bf)]),_0x5d8d25(_0x4f4467);}});}async[_0x49d410(0x1f4)](_0x4df929){return this['_doCreateSocket'](_0x4df929);}},exports[_0x49d410(0x375)]=Xt([ne(0x0,A[_0x49d410(0x268)](A['Injector'])),ne(0x1,A[_0x49d410(0x268)](it[_0x49d410(0x2a4)])),ne(0x2,A[_0x49d410(0x2f0)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x49d410(0x30a)])],exports[_0x49d410(0x375)]),exports[_0x49d410(0x288)]=fe;
1
+ 'use strict';const _0x15d4d8=_0x1bcc;(function(_0xda68fc,_0x1fc765){const _0x44177d=_0x1bcc,_0x579511=_0xda68fc();while(!![]){try{const _0x48ac34=parseInt(_0x44177d(0x18a))/0x1*(-parseInt(_0x44177d(0x1a8))/0x2)+-parseInt(_0x44177d(0x34b))/0x3+parseInt(_0x44177d(0x1aa))/0x4+parseInt(_0x44177d(0x1a1))/0x5+-parseInt(_0x44177d(0x319))/0x6+parseInt(_0x44177d(0x32a))/0x7*(-parseInt(_0x44177d(0x21c))/0x8)+parseInt(_0x44177d(0x1a0))/0x9*(parseInt(_0x44177d(0x1c7))/0xa);if(_0x48ac34===_0x1fc765)break;else _0x579511['push'](_0x579511['shift']());}catch(_0x1603cd){_0x579511['push'](_0x579511['shift']());}}}(_0x1c0f,0x9a390));Object[_0x15d4d8(0x261)](exports,Symbol[_0x15d4d8(0x195)],{'value':_0x15d4d8(0x28c)});const st=require(_0x15d4d8(0x242)),A=require(_0x15d4d8(0x1cc)),it=require(_0x15d4d8(0x197)),V=require(_0x15d4d8(0x2c0)),nt=require(_0x15d4d8(0x326)),vt=require(_0x15d4d8(0x273)),ot=require('http'),St=require(_0x15d4d8(0x308)),Et=require(_0x15d4d8(0x2ec)),Le=require('crypto'),oe=require(_0x15d4d8(0x185)),xt=require('url'),bt=require(_0x15d4d8(0x2df)),wt=require(_0x15d4d8(0x186)),Ot=require('@univerjs-pro/collaboration'),fe=_0x15d4d8(0x1a9),Ct={'customHeaders':{}};function Tt(_0x35ace9){const _0x19a627=_0x15d4d8;return _0x35ace9&&_0x35ace9[_0x19a627(0x276)]&&Object[_0x19a627(0x2b3)][_0x19a627(0x32d)]['call'](_0x35ace9,_0x19a627(0x17f))?_0x35ace9['default']:_0x35ace9;}function at(_0x571f9c){const _0x549c34=_0x15d4d8;if(Object[_0x549c34(0x2b3)][_0x549c34(0x32d)]['call'](_0x571f9c,_0x549c34(0x276)))return _0x571f9c;var _0x4afd29=_0x571f9c['default'];if(typeof _0x4afd29==_0x549c34(0x223)){var _0x1f8ebb=function _0x30b1b4(){const _0x290224=_0x549c34;return this instanceof _0x30b1b4?Reflect[_0x290224(0x21f)](_0x4afd29,arguments,this['constructor']):_0x4afd29[_0x290224(0x2f0)](this,arguments);};_0x1f8ebb[_0x549c34(0x2b3)]=_0x4afd29[_0x549c34(0x2b3)];}else _0x1f8ebb={};return Object[_0x549c34(0x261)](_0x1f8ebb,'__esModule',{'value':!0x0}),Object[_0x549c34(0x262)](_0x571f9c)[_0x549c34(0x2db)](function(_0x254eba){const _0x38bbda=_0x549c34;var _0x8668af=Object[_0x38bbda(0x28a)](_0x571f9c,_0x254eba);Object[_0x38bbda(0x261)](_0x1f8ebb,_0x254eba,_0x8668af[_0x38bbda(0x19b)]?_0x8668af:{'enumerable':!0x0,'get':function(){return _0x571f9c[_0x254eba];}});}),_0x1f8ebb;}var se={'exports':{}},ge,Ge;function _0x1c0f(){const _0x484379=['Unknown\x20parameter\x20\x22','authorization','once','isView','isPaused','createInflateRaw','listenerCount','buffers','value','prototype','isIP','UniverCollaborationClientPlugin','request','_no_context_takeover','_compress','generateMask','toLowerCase','_fin','_skipUTF8Validation','getPayloadLength16','fragments','_extensions','rxjs','haveLength','The\x20URL\x27s\x20pathname\x20is\x20empty','HTTP/1.1\x20101\x20Switching\x20Protocols','isArray','_read','setHeader','perMessageDeflate','share','finishRequest','pong','terminate','_final','arrayBuffer','_queue','_receiver','destroyed','_req','address','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_shouldEmitClose','redirect','\x22\x20subprotocol\x20is\x20duplicated','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','WS_NO_BUFFER_UTIL','getMask','Upgrade','forEach','sec-websocket-protocol','captureStackTrace','wss:','zlib','removeListener','nextTick','blob','call','pluginName','server','finished','_fragmented','frame','Plugin','setConfig','RSV1\x20must\x20be\x20clear','tls','skipUTF8Validation','destroy','followRedirects','apply','controlMessage','startLoop','_deflate','onerror','kAborted','createError','normalizeParams','_redirects','species','consume','isInteger','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','dispatch','target','createSocket','host','jobs','_readyState','cookie','response','CLOSED','WS_ERR_UNEXPECTED_RSV_1','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','net','opcode','allowSynchronousEvents','_registerDependencies','kType','reason','Upgrade:\x20websocket','Server\x20sent\x20an\x20invalid\x20subprotocol','server_max_window_bits','parse','arraybuffer','_opcode','_readableState','params','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','binaryType','_max_window_bits','417990AkMDua','createDeflateRaw','sendFrame','warn','kListener','setTimeout','data','_write','_fragments','path','GET','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','Disposable','events','\x22:\x20','kTarget','listen','56ApvTym','text/html','invalid\x20opcode\x200','hasOwnProperty','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','statusCode','callback','wasClean','Invalid\x20Sec-WebSocket-Protocol\x20header','client','status-code','WS_ERR_EXPECTED_FIN','noServer','servername','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','fin','base64','unexpected-response','File','getInfo','kByteLength','Z_DEFAULT_WINDOWBITS','ILogService','method','_removeListeners','_state','isValidUTF8','_mask','WS_ERR_INVALID_CLOSE_CODE','pending','object','clients','\x22\x20must\x20have\x20only\x20a\x20single\x20value','542928uBjAUB','isServer','Invalid\x20Upgrade\x20header','listening','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','upgrade','invalid\x20payload\x20length\x20','wsClientError','pipe','_protocol','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','Injector','message','default','readUInt32BE','unmask','allocUnsafe','slice','writable','stream','buffer','_url','invalid\x20status\x20code\x20','freeze','1iYnRSQ','IConfigService','_errorEmitted','concurrency','clientTracking','client_no_context_takeover','maskBuffer','MASK\x20must\x20be\x20set','customHeaders','ws:','offer','toStringTag','_socket','@univerjs/network','invalid\x20UTF-8\x20sequence','websocket','ISocketService','get','cleanup','Invalid\x20Sec-WebSocket-Accept\x20header','handshakeTimeout','onclose','258876RUidFv','4073055LvHhBB','server_no_context_takeover','_originalHostOrSocketPath','Sec-WebSocket-Protocol','binary','pow','create','1875502Qweuen','collaboration-client-node.config','56532XZFRTq','sha1','flush','indexOf','connect','resume','Unexpected\x20end\x20of\x20input','needDrain','url','_options','autoPong','Basic\x20','ISnapshotServerService','end','WS_NO_UTF_8_VALIDATE','from','shift','writeUIntBE','byteLength','_originalSecure','error','username','_bufferedBytes','shouldHandle','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','code','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','close','defaultPort','400MwmNBN','ws+unix:','readyState','accept','next','@univerjs/core','completeUpgrade','NodeCollaborationSocketService','set','cork','_injector','origin','serverNoContextTakeover','_inflate','concat','http:','_bufferedAmount','readable','DependentOn','Sec-WebSocket-Accept:\x20','Unexpected\x20server\x20response:\x20','handleUpgrade','send','kRun','OPEN','authorized','_paused','Invalid\x20URL:\x20','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','clientNoContextTakeover','exports','Blob','concurrencyLimit','pause','_masked','pathname','href','Origin','catch','WS_ERR_EXPECTED_MASK','threshold','WebSocket\x20is\x20not\x20open:\x20readyState\x20','protocol','errorEmitted','protocolVersion','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','extensions','writeUInt16BE','The\x20server\x20is\x20not\x20running','has','_messageLength','emit','add','_allowSynchronousEvents','_decompress','CLOSING','dataMessage','listeners','handleEvent','connection','includes','_closeFrameSent','WS_ERR_INVALID_UTF8','getConfig','_httpService','objectMode','charCodeAt','kData','extensionName','hostname','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','alloc','conclude','reset','_buffers','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','number','_configService','Parameter\x20\x22','open','_maskBuffer','Opening\x20handshake\x20has\x20timed\x20out','Invalid\x20value\x20for\x20parameter\x20\x22','readUInt16BE','_totalPayloadLength','159216pIkxoM','enqueue','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','construct','dispose','drain','rsv1','function','length','COLLABORATION_CLIENT_NODE_CONFIG_KEY','_payloadLength','port','The\x20URL\x20contains\x20a\x20fragment\x20identifier','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','readOnly','_closeMessage','Observable','abort','_closeFrameReceived','https:','ping','_closeTimer','decompress','WebSocket','endEmitted','kIsForOnEventAttribute','push','sec-websocket-version','env','Max\x20payload\x20size\x20exceeded','serverMaxWindowBits','acceptAsClient','onmessage','CollaborationSocketService','string','options','createConnection','timeout','@univerjs-pro/collaboration-client','socketPath','registerHTTPInterceptor','size','registerDependencies','DisposableCollection','kMessage','removeEventListener','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','getData','onStarting','maxPayload','_loop','join','createServer','\x0d\x0a\x0d\x0a','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','password','byteOffset','WS_ERR_UNEXPECTED_MASK','toDisposable','Invalid\x20HTTP\x20method','encrypted','_generateMask','maxRedirects','client_max_window_bits','UniverCollaborationClientNodePlugin','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','setSocket','Cookie','defineProperty','keys','_compressed','\x20(supported\x20versions:\x20','invalid\x20opcode\x20','addEventListener','search','compress','CONNECTING','_firstFragment','kWasClean','Invalid\x20WebSocket\x20frame:\x20','update','uncork','verifyClient','clientMaxWindowBits','sec-websocket-key','removeAllListeners','https','permessage-deflate','_binaryType','__esModule','WS_ERR_INVALID_OPCODE','replace','type','kError','_sender','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','nodebuffer','write','toString','getPayloadLength64','test','Server\x20sent\x20no\x20subprotocol','_threshold','_writableState','dequeue','values','Maximum\x20redirects\x20exceeded','handleProtocols','getBlobData','getOwnPropertyDescriptor','unshift','Module','Sec-WebSocket-Origin','_isServer','sec-websocket-origin','read','entries','emitClose','sec-websocket-extensions','STATUS_CODES','_destroy','_maxPayload','_closeCode','socket','mask','HTTPService','map','Inject','zlibDeflateOptions','finish','Unexpected\x20character\x20at\x20index\x20','_errored','digest','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','Sec-WebSocket-Extensions:\x20','headers','Sec-WebSocket-Protocol:\x20','_server','_originalIpc','auth','bind'];_0x1c0f=function(){return _0x484379;};return _0x1c0f();}function H(){const _0x3bdc3b=_0x15d4d8;if(Ge)return ge;Ge=0x1;const _0x146917=[_0x3bdc3b(0x27d),'arraybuffer',_0x3bdc3b(0x2be)],_0x5d0f19=typeof Blob<'u';return _0x5d0f19&&_0x146917['push'](_0x3bdc3b(0x2e2)),ge={'BINARY_TYPES':_0x146917,'EMPTY_BUFFER':Buffer[_0x3bdc3b(0x20e)](0x0),'GUID':_0x3bdc3b(0x2a2),'hasBlob':_0x5d0f19,'kForOnEventAttribute':Symbol(_0x3bdc3b(0x235)),'kListener':Symbol(_0x3bdc3b(0x31d)),'kStatusCode':Symbol(_0x3bdc3b(0x334)),'kWebSocket':Symbol(_0x3bdc3b(0x199)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x15d4d8(0x189)](Object[_0x15d4d8(0x261)]({'__proto__':null,'default':Nt},Symbol[_0x15d4d8(0x195)],{'value':_0x15d4d8(0x28c)})),Lt=at(kt);var Ve;function ce(){const _0x770f17=_0x15d4d8;if(Ve)return se[_0x770f17(0x1e5)];Ve=0x1;const {EMPTY_BUFFER:_0x5ae128}=H(),_0x14194b=Buffer[Symbol[_0x770f17(0x2f9)]];function _0x6c9d32(_0x3a2eda,_0x368705){const _0x164a25=_0x770f17;if(_0x3a2eda['length']===0x0)return _0x5ae128;if(_0x3a2eda[_0x164a25(0x224)]===0x1)return _0x3a2eda[0x0];const _0x11ad4c=Buffer[_0x164a25(0x182)](_0x368705);let _0x26881e=0x0;for(let _0x4acc75=0x0;_0x4acc75<_0x3a2eda[_0x164a25(0x224)];_0x4acc75++){const _0xb9ab8f=_0x3a2eda[_0x4acc75];_0x11ad4c['set'](_0xb9ab8f,_0x26881e),_0x26881e+=_0xb9ab8f['length'];}return _0x26881e<_0x368705?new _0x14194b(_0x11ad4c[_0x164a25(0x186)],_0x11ad4c[_0x164a25(0x255)],_0x26881e):_0x11ad4c;}function _0x45786e(_0x3a9513,_0x593c08,_0x22d04b,_0x2d598b,_0x43c8d6){for(let _0xf2f0a2=0x0;_0xf2f0a2<_0x43c8d6;_0xf2f0a2++)_0x22d04b[_0x2d598b+_0xf2f0a2]=_0x3a9513[_0xf2f0a2]^_0x593c08[_0xf2f0a2&0x3];}function _0x129f0f(_0x3e0bb1,_0x9801a7){for(let _0x471045=0x0;_0x471045<_0x3e0bb1['length'];_0x471045++)_0x3e0bb1[_0x471045]^=_0x9801a7[_0x471045&0x3];}function _0x382db7(_0x311b36){const _0x2106e5=_0x770f17;return _0x311b36[_0x2106e5(0x224)]===_0x311b36[_0x2106e5(0x186)][_0x2106e5(0x1bc)]?_0x311b36[_0x2106e5(0x186)]:_0x311b36['buffer'][_0x2106e5(0x183)](_0x311b36[_0x2106e5(0x255)],_0x311b36[_0x2106e5(0x255)]+_0x311b36[_0x2106e5(0x224)]);}function _0x541fb0(_0x348f4d){const _0x101762=_0x770f17;if(_0x541fb0['readOnly']=!0x0,Buffer['isBuffer'](_0x348f4d))return _0x348f4d;let _0x4a96e2;return _0x348f4d instanceof ArrayBuffer?_0x4a96e2=new _0x14194b(_0x348f4d):ArrayBuffer[_0x101762(0x2ad)](_0x348f4d)?_0x4a96e2=new _0x14194b(_0x348f4d[_0x101762(0x186)],_0x348f4d[_0x101762(0x255)],_0x348f4d[_0x101762(0x1bc)]):(_0x4a96e2=Buffer[_0x101762(0x1b9)](_0x348f4d),_0x541fb0[_0x101762(0x22a)]=!0x1),_0x4a96e2;}if(se[_0x770f17(0x1e5)]={'concat':_0x6c9d32,'mask':_0x45786e,'toArrayBuffer':_0x382db7,'toBuffer':_0x541fb0,'unmask':_0x129f0f},!process[_0x770f17(0x238)][_0x770f17(0x2d8)])try{const _0x37b003=Lt;se[_0x770f17(0x1e5)][_0x770f17(0x299)]=function(_0xcb10ca,_0x258ec0,_0x46e560,_0x50771f,_0x452a0e){const _0xc0342a=_0x770f17;_0x452a0e<0x30?_0x45786e(_0xcb10ca,_0x258ec0,_0x46e560,_0x50771f,_0x452a0e):_0x37b003[_0xc0342a(0x299)](_0xcb10ca,_0x258ec0,_0x46e560,_0x50771f,_0x452a0e);},se['exports'][_0x770f17(0x181)]=function(_0x32df24,_0x3b7414){const _0x109673=_0x770f17;_0x32df24[_0x109673(0x224)]<0x20?_0x129f0f(_0x32df24,_0x3b7414):_0x37b003[_0x109673(0x181)](_0x32df24,_0x3b7414);};}catch{}return se[_0x770f17(0x1e5)];}var ye,He;function Pt(){const _0x5a1f63=_0x15d4d8;if(He)return ye;He=0x1;const _0x78521=Symbol('kDone'),_0x3fda85=Symbol(_0x5a1f63(0x1de));class _0x3cd2de{constructor(_0x50e127){const _0x3a1a46=_0x5a1f63;this[_0x78521]=()=>{const _0x327bd9=_0x1bcc;this[_0x327bd9(0x347)]--,this[_0x3fda85]();},this[_0x3a1a46(0x18d)]=_0x50e127||0x1/0x0,this[_0x3a1a46(0x301)]=[],this[_0x3a1a46(0x347)]=0x0;}[_0x5a1f63(0x1fb)](_0x1d19f6){this['jobs']['push'](_0x1d19f6),this[_0x3fda85]();}[_0x3fda85](){const _0x59428b=_0x5a1f63;if(this[_0x59428b(0x347)]!==this[_0x59428b(0x18d)]&&this[_0x59428b(0x301)][_0x59428b(0x224)]){const _0x20e8ac=this['jobs'][_0x59428b(0x1ba)]();this[_0x59428b(0x347)]++,_0x20e8ac(this[_0x78521]);}}}return ye=_0x3cd2de,ye;}var ve,ze;function he(){const _0x48ff7b=_0x15d4d8;if(ze)return ve;ze=0x1;const _0x239c60=bt,_0x2cf3ea=ce(),_0x961929=Pt(),{kStatusCode:_0x1ff564}=H(),_0x2e1d25=Buffer[Symbol[_0x48ff7b(0x2f9)]],_0x424515=Buffer[_0x48ff7b(0x1b9)]([0x0,0x0,0xff,0xff]),_0x188e37=Symbol('permessage-deflate'),_0x2fb1e0=Symbol('total-length'),_0x32dac0=Symbol(_0x48ff7b(0x330)),_0x121091=Symbol(_0x48ff7b(0x2b1)),_0x4e2abd=Symbol(_0x48ff7b(0x1be));let _0x211927;class _0x217aa7{constructor(_0x449884,_0x53496f,_0x3f391b){const _0xfa49dd=_0x48ff7b;if(this['_maxPayload']=_0x3f391b|0x0,this[_0xfa49dd(0x1b3)]=_0x449884||{},this[_0xfa49dd(0x283)]=this['_options'][_0xfa49dd(0x1ef)]!==void 0x0?this[_0xfa49dd(0x1b3)]['threshold']:0x400,this[_0xfa49dd(0x28e)]=!!_0x53496f,this['_deflate']=null,this[_0xfa49dd(0x1d4)]=null,this[_0xfa49dd(0x315)]=null,!_0x211927){const _0x42ee13=this[_0xfa49dd(0x1b3)][_0xfa49dd(0x1e7)]!==void 0x0?this[_0xfa49dd(0x1b3)][_0xfa49dd(0x1e7)]:0xa;_0x211927=new _0x961929(_0x42ee13);}}static get[_0x48ff7b(0x20b)](){const _0x345b5a=_0x48ff7b;return _0x345b5a(0x274);}['offer'](){const _0x111ce0=_0x48ff7b,_0x5e7f47={};return this[_0x111ce0(0x1b3)]['serverNoContextTakeover']&&(_0x5e7f47[_0x111ce0(0x1a2)]=!0x0),this['_options']['clientNoContextTakeover']&&(_0x5e7f47[_0x111ce0(0x18f)]=!0x0),this[_0x111ce0(0x1b3)][_0x111ce0(0x23a)]&&(_0x5e7f47['server_max_window_bits']=this[_0x111ce0(0x1b3)][_0x111ce0(0x23a)]),this[_0x111ce0(0x1b3)][_0x111ce0(0x270)]?_0x5e7f47[_0x111ce0(0x25c)]=this[_0x111ce0(0x1b3)][_0x111ce0(0x270)]:this['_options'][_0x111ce0(0x270)]==null&&(_0x5e7f47[_0x111ce0(0x25c)]=!0x0),_0x5e7f47;}[_0x48ff7b(0x1ca)](_0x5e3ce9){const _0x109d8b=_0x48ff7b;return _0x5e3ce9=this[_0x109d8b(0x2f7)](_0x5e3ce9),this[_0x109d8b(0x315)]=this[_0x109d8b(0x28e)]?this['acceptAsServer'](_0x5e3ce9):this[_0x109d8b(0x23b)](_0x5e3ce9),this[_0x109d8b(0x315)];}[_0x48ff7b(0x19c)](){const _0x79e6c0=_0x48ff7b;if(this[_0x79e6c0(0x1d4)]&&(this[_0x79e6c0(0x1d4)][_0x79e6c0(0x1c5)](),this['_inflate']=null),this[_0x79e6c0(0x2f3)]){const _0x4b68e5=this[_0x79e6c0(0x2f3)][_0x32dac0];this[_0x79e6c0(0x2f3)]['close'](),this['_deflate']=null,_0x4b68e5&&_0x4b68e5(new Error(_0x79e6c0(0x338)));}}['acceptAsServer'](_0x507331){const _0x5d95af=_0x48ff7b,_0x2d012b=this[_0x5d95af(0x1b3)],_0x335a41=_0x507331['find'](_0x301e75=>!(_0x2d012b['serverNoContextTakeover']===!0x1&&_0x301e75[_0x5d95af(0x1a2)]||_0x301e75[_0x5d95af(0x310)]&&(_0x2d012b['serverMaxWindowBits']===!0x1||typeof _0x2d012b[_0x5d95af(0x23a)]==_0x5d95af(0x213)&&_0x2d012b['serverMaxWindowBits']>_0x301e75[_0x5d95af(0x310)])||typeof _0x2d012b[_0x5d95af(0x270)]=='number'&&!_0x301e75[_0x5d95af(0x25c)]));if(!_0x335a41)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x2d012b[_0x5d95af(0x1d3)]&&(_0x335a41[_0x5d95af(0x1a2)]=!0x0),_0x2d012b[_0x5d95af(0x1e4)]&&(_0x335a41[_0x5d95af(0x18f)]=!0x0),typeof _0x2d012b[_0x5d95af(0x23a)]==_0x5d95af(0x213)&&(_0x335a41[_0x5d95af(0x310)]=_0x2d012b[_0x5d95af(0x23a)]),typeof _0x2d012b[_0x5d95af(0x270)]==_0x5d95af(0x213)?_0x335a41[_0x5d95af(0x25c)]=_0x2d012b['clientMaxWindowBits']:(_0x335a41[_0x5d95af(0x25c)]===!0x0||_0x2d012b[_0x5d95af(0x270)]===!0x1)&&delete _0x335a41['client_max_window_bits'],_0x335a41;}[_0x48ff7b(0x23b)](_0x2beb98){const _0x31f587=_0x48ff7b,_0x2eee0b=_0x2beb98[0x0];if(this[_0x31f587(0x1b3)][_0x31f587(0x1e4)]===!0x1&&_0x2eee0b[_0x31f587(0x18f)])throw new Error(_0x31f587(0x20d));if(!_0x2eee0b[_0x31f587(0x25c)])typeof this[_0x31f587(0x1b3)]['clientMaxWindowBits']==_0x31f587(0x213)&&(_0x2eee0b[_0x31f587(0x25c)]=this['_options'][_0x31f587(0x270)]);else{if(this[_0x31f587(0x1b3)][_0x31f587(0x270)]===!0x1||typeof this[_0x31f587(0x1b3)]['clientMaxWindowBits']==_0x31f587(0x213)&&_0x2eee0b[_0x31f587(0x25c)]>this[_0x31f587(0x1b3)][_0x31f587(0x270)])throw new Error(_0x31f587(0x24b));}return _0x2eee0b;}[_0x48ff7b(0x2f7)](_0x2bc7fd){return _0x2bc7fd['forEach'](_0x208dc1=>{const _0x16a2f4=_0x1bcc;Object['keys'](_0x208dc1)[_0x16a2f4(0x2db)](_0x5474c5=>{const _0x41383e=_0x16a2f4;let _0x472bda=_0x208dc1[_0x5474c5];if(_0x472bda[_0x41383e(0x224)]>0x1)throw new Error(_0x41383e(0x215)+_0x5474c5+_0x41383e(0x34a));if(_0x472bda=_0x472bda[0x0],_0x5474c5===_0x41383e(0x25c)){if(_0x472bda!==!0x0){const _0xc7c9dd=+_0x472bda;if(!Number[_0x41383e(0x2fb)](_0xc7c9dd)||_0xc7c9dd<0x8||_0xc7c9dd>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5474c5+'\x22:\x20'+_0x472bda);_0x472bda=_0xc7c9dd;}else{if(!this['_isServer'])throw new TypeError(_0x41383e(0x219)+_0x5474c5+_0x41383e(0x327)+_0x472bda);}}else{if(_0x5474c5===_0x41383e(0x310)){const _0x53bc09=+_0x472bda;if(!Number['isInteger'](_0x53bc09)||_0x53bc09<0x8||_0x53bc09>0xf)throw new TypeError(_0x41383e(0x219)+_0x5474c5+'\x22:\x20'+_0x472bda);_0x472bda=_0x53bc09;}else{if(_0x5474c5===_0x41383e(0x18f)||_0x5474c5==='server_no_context_takeover'){if(_0x472bda!==!0x0)throw new TypeError(_0x41383e(0x219)+_0x5474c5+'\x22:\x20'+_0x472bda);}else throw new Error(_0x41383e(0x2aa)+_0x5474c5+'\x22');}}_0x208dc1[_0x5474c5]=_0x472bda;});}),_0x2bc7fd;}['decompress'](_0xe320bb,_0x3a164a,_0x246657){const _0x1219dc=_0x48ff7b;_0x211927[_0x1219dc(0x1fb)](_0x2eda8b=>{const _0x248a29=_0x1219dc;this[_0x248a29(0x1fd)](_0xe320bb,_0x3a164a,(_0x1c5cb2,_0x380157)=>{_0x2eda8b(),_0x246657(_0x1c5cb2,_0x380157);});});}[_0x48ff7b(0x268)](_0x24f559,_0x37b1f7,_0x245f3d){const _0xe2ed51=_0x48ff7b;_0x211927[_0xe2ed51(0x1fb)](_0x430707=>{const _0xe05089=_0xe2ed51;this[_0xe05089(0x2b8)](_0x24f559,_0x37b1f7,(_0x37a112,_0x597024)=>{_0x430707(),_0x245f3d(_0x37a112,_0x597024);});});}['_decompress'](_0x1e7f34,_0x4ae261,_0x5edea0){const _0x18bbc0=_0x48ff7b,_0x1e3eff=this['_isServer']?_0x18bbc0(0x333):_0x18bbc0(0x2e5);if(!this[_0x18bbc0(0x1d4)]){const _0x3b72ca=_0x1e3eff+_0x18bbc0(0x318),_0x3ce729=typeof this[_0x18bbc0(0x315)][_0x3b72ca]!='number'?_0x239c60[_0x18bbc0(0x33f)]:this['params'][_0x3b72ca];this[_0x18bbc0(0x1d4)]=_0x239c60[_0x18bbc0(0x2af)]({...this[_0x18bbc0(0x1b3)]['zlibInflateOptions'],'windowBits':_0x3ce729}),this[_0x18bbc0(0x1d4)][_0x188e37]=this,this[_0x18bbc0(0x1d4)][_0x2fb1e0]=0x0,this[_0x18bbc0(0x1d4)][_0x121091]=[],this['_inflate']['on']('error',_0x1fa78d),this[_0x18bbc0(0x1d4)]['on']('data',_0x1fb9c0);}this[_0x18bbc0(0x1d4)][_0x32dac0]=_0x5edea0,this['_inflate']['write'](_0x1e7f34),_0x4ae261&&this[_0x18bbc0(0x1d4)][_0x18bbc0(0x27e)](_0x424515),this[_0x18bbc0(0x1d4)]['flush'](()=>{const _0x3ba359=_0x18bbc0,_0x5bc6f8=this[_0x3ba359(0x1d4)][_0x4e2abd];if(_0x5bc6f8){this[_0x3ba359(0x1d4)][_0x3ba359(0x1c5)](),this[_0x3ba359(0x1d4)]=null,_0x5edea0(_0x5bc6f8);return;}const _0x200339=_0x2cf3ea['concat'](this[_0x3ba359(0x1d4)][_0x121091],this[_0x3ba359(0x1d4)][_0x2fb1e0]);this['_inflate']['_readableState'][_0x3ba359(0x234)]?(this[_0x3ba359(0x1d4)][_0x3ba359(0x1c5)](),this[_0x3ba359(0x1d4)]=null):(this[_0x3ba359(0x1d4)][_0x2fb1e0]=0x0,this[_0x3ba359(0x1d4)][_0x121091]=[],_0x4ae261&&this[_0x3ba359(0x315)][_0x1e3eff+_0x3ba359(0x2b7)]&&this[_0x3ba359(0x1d4)]['reset']()),_0x5edea0(null,_0x200339);});}[_0x48ff7b(0x2b8)](_0x447314,_0x19a7bc,_0x4115cd){const _0x35fae4=_0x48ff7b,_0x3b595c=this[_0x35fae4(0x28e)]?_0x35fae4(0x2e5):'client';if(!this['_deflate']){const _0xe056dc=_0x3b595c+'_max_window_bits',_0x241611=typeof this[_0x35fae4(0x315)][_0xe056dc]!=_0x35fae4(0x213)?_0x239c60[_0x35fae4(0x33f)]:this[_0x35fae4(0x315)][_0xe056dc];this['_deflate']=_0x239c60[_0x35fae4(0x31a)]({...this[_0x35fae4(0x1b3)][_0x35fae4(0x29d)],'windowBits':_0x241611}),this[_0x35fae4(0x2f3)][_0x2fb1e0]=0x0,this['_deflate'][_0x121091]=[],this[_0x35fae4(0x2f3)]['on'](_0x35fae4(0x31f),_0x13ced0);}this[_0x35fae4(0x2f3)][_0x32dac0]=_0x4115cd,this[_0x35fae4(0x2f3)][_0x35fae4(0x27e)](_0x447314),this[_0x35fae4(0x2f3)][_0x35fae4(0x1ac)](_0x239c60['Z_SYNC_FLUSH'],()=>{const _0x321e76=_0x35fae4;if(!this[_0x321e76(0x2f3)])return;let _0x822c10=_0x2cf3ea[_0x321e76(0x1d5)](this[_0x321e76(0x2f3)][_0x121091],this[_0x321e76(0x2f3)][_0x2fb1e0]);_0x19a7bc&&(_0x822c10=new _0x2e1d25(_0x822c10['buffer'],_0x822c10['byteOffset'],_0x822c10[_0x321e76(0x224)]-0x4)),this[_0x321e76(0x2f3)][_0x32dac0]=null,this[_0x321e76(0x2f3)][_0x2fb1e0]=0x0,this[_0x321e76(0x2f3)][_0x121091]=[],_0x19a7bc&&this[_0x321e76(0x315)][_0x3b595c+_0x321e76(0x2b7)]&&this[_0x321e76(0x2f3)][_0x321e76(0x210)](),_0x4115cd(null,_0x822c10);});}}ve=_0x217aa7;function _0x13ced0(_0x4a7efb){const _0x137b6b=_0x48ff7b;this[_0x121091][_0x137b6b(0x236)](_0x4a7efb),this[_0x2fb1e0]+=_0x4a7efb[_0x137b6b(0x224)];}function _0x1fb9c0(_0x32addf){const _0x498e55=_0x48ff7b;if(this[_0x2fb1e0]+=_0x32addf['length'],this[_0x188e37][_0x498e55(0x296)]<0x1||this[_0x2fb1e0]<=this[_0x188e37]['_maxPayload']){this[_0x121091][_0x498e55(0x236)](_0x32addf);return;}this[_0x4e2abd]=new RangeError(_0x498e55(0x239)),this[_0x4e2abd][_0x498e55(0x1c3)]=_0x498e55(0x2fc),this[_0x4e2abd][_0x1ff564]=0x3f1,this[_0x498e55(0x2e0)](_0x498e55(0x31f),_0x1fb9c0),this[_0x498e55(0x210)]();}function _0x1fa78d(_0x472b0c){const _0x5438bb=_0x48ff7b;if(this[_0x188e37][_0x5438bb(0x1d4)]=null,this[_0x4e2abd]){this[_0x32dac0](this[_0x4e2abd]);return;}_0x472b0c[_0x1ff564]=0x3ef,this[_0x32dac0](_0x472b0c);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x15d4d8(0x189)](Object[_0x15d4d8(0x261)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x15d4d8(0x28c)})),Bt=at(Rt);var Ye;function ae(){const _0x2b6ba6=_0x15d4d8;if(Ye)return ie[_0x2b6ba6(0x1e5)];Ye=0x1;const {isUtf8:_0x13cdf7}=wt,{hasBlob:_0x5af508}=H(),_0x1d7cef=[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 _0x75b1b0(_0x1a093c){return _0x1a093c>=0x3e8&&_0x1a093c<=0x3f6&&_0x1a093c!==0x3ec&&_0x1a093c!==0x3ed&&_0x1a093c!==0x3ee||_0x1a093c>=0xbb8&&_0x1a093c<=0x1387;}function _0xdc5bf0(_0x3aeba8){const _0x53858b=_0x2b6ba6,_0x257565=_0x3aeba8[_0x53858b(0x224)];let _0x233bff=0x0;for(;_0x233bff<_0x257565;)if((_0x3aeba8[_0x233bff]&0x80)===0x0)_0x233bff++;else{if((_0x3aeba8[_0x233bff]&0xe0)===0xc0){if(_0x233bff+0x1===_0x257565||(_0x3aeba8[_0x233bff+0x1]&0xc0)!==0x80||(_0x3aeba8[_0x233bff]&0xfe)===0xc0)return!0x1;_0x233bff+=0x2;}else{if((_0x3aeba8[_0x233bff]&0xf0)===0xe0){if(_0x233bff+0x2>=_0x257565||(_0x3aeba8[_0x233bff+0x1]&0xc0)!==0x80||(_0x3aeba8[_0x233bff+0x2]&0xc0)!==0x80||_0x3aeba8[_0x233bff]===0xe0&&(_0x3aeba8[_0x233bff+0x1]&0xe0)===0x80||_0x3aeba8[_0x233bff]===0xed&&(_0x3aeba8[_0x233bff+0x1]&0xe0)===0xa0)return!0x1;_0x233bff+=0x3;}else{if((_0x3aeba8[_0x233bff]&0xf8)===0xf0){if(_0x233bff+0x3>=_0x257565||(_0x3aeba8[_0x233bff+0x1]&0xc0)!==0x80||(_0x3aeba8[_0x233bff+0x2]&0xc0)!==0x80||(_0x3aeba8[_0x233bff+0x3]&0xc0)!==0x80||_0x3aeba8[_0x233bff]===0xf0&&(_0x3aeba8[_0x233bff+0x1]&0xf0)===0x80||_0x3aeba8[_0x233bff]===0xf4&&_0x3aeba8[_0x233bff+0x1]>0x8f||_0x3aeba8[_0x233bff]>0xf4)return!0x1;_0x233bff+=0x4;}else return!0x1;}}}return!0x0;}function _0x3cafae(_0x333d7f){const _0x5e9971=_0x2b6ba6;return _0x5af508&&typeof _0x333d7f=='object'&&typeof _0x333d7f[_0x5e9971(0x2cd)]==_0x5e9971(0x223)&&typeof _0x333d7f[_0x5e9971(0x279)]==_0x5e9971(0x23e)&&typeof _0x333d7f[_0x5e9971(0x185)]=='function'&&(_0x333d7f[Symbol[_0x5e9971(0x195)]]===_0x5e9971(0x1e6)||_0x333d7f[Symbol['toStringTag']]===_0x5e9971(0x33c));}if(ie[_0x2b6ba6(0x1e5)]={'isBlob':_0x3cafae,'isValidStatusCode':_0x75b1b0,'isValidUTF8':_0xdc5bf0,'tokenChars':_0x1d7cef},_0x13cdf7)ie[_0x2b6ba6(0x1e5)][_0x2b6ba6(0x344)]=function(_0x18e8a4){return _0x18e8a4['length']<0x18?_0xdc5bf0(_0x18e8a4):_0x13cdf7(_0x18e8a4);};else{if(!process[_0x2b6ba6(0x238)][_0x2b6ba6(0x1b8)])try{const _0x142a46=Bt;ie[_0x2b6ba6(0x1e5)]['isValidUTF8']=function(_0x2b47bf){const _0x4814f0=_0x2b6ba6;return _0x2b47bf[_0x4814f0(0x224)]<0x20?_0xdc5bf0(_0x2b47bf):_0x142a46(_0x2b47bf);};}catch{}}return ie[_0x2b6ba6(0x1e5)];}var Se,Ke;function _0x1bcc(_0x2cefeb,_0x3ccdce){const _0x1c0fdd=_0x1c0f();return _0x1bcc=function(_0x1bccb3,_0x6f0ea4){_0x1bccb3=_0x1bccb3-0x179;let _0x4963aa=_0x1c0fdd[_0x1bccb3];return _0x4963aa;},_0x1bcc(_0x2cefeb,_0x3ccdce);}function lt(){const _0x56df75=_0x15d4d8;if(Ke)return Se;Ke=0x1;const {Writable:_0x27a683}=oe,_0x4d1de1=he(),{BINARY_TYPES:_0x16531b,EMPTY_BUFFER:_0x4c25f4,kStatusCode:_0x4e8131,kWebSocket:_0x51b4fa}=H(),{concat:_0x53c920,toArrayBuffer:_0x48dce0,unmask:_0x481b88}=ce(),{isValidStatusCode:_0x11a1d1,isValidUTF8:_0x2b927f}=ae(),_0x56a304=Buffer[Symbol[_0x56df75(0x2f9)]],_0xc74044=0x0,_0x360b9c=0x1,_0x4dc93e=0x2,_0x50d617=0x3,_0x4baf85=0x4,_0x9c1b87=0x5,_0x2bd4f4=0x6;class _0x394004 extends _0x27a683{constructor(_0x4da631={}){const _0x508e1a=_0x56df75;super(),this[_0x508e1a(0x1fc)]=_0x4da631['allowSynchronousEvents']!==void 0x0?_0x4da631['allowSynchronousEvents']:!0x0,this[_0x508e1a(0x275)]=_0x4da631['binaryType']||_0x16531b[0x0],this['_extensions']=_0x4da631[_0x508e1a(0x1f5)]||{},this[_0x508e1a(0x28e)]=!!_0x4da631[_0x508e1a(0x34c)],this['_maxPayload']=_0x4da631[_0x508e1a(0x24e)]|0x0,this['_skipUTF8Validation']=!!_0x4da631[_0x508e1a(0x2ed)],this[_0x51b4fa]=void 0x0,this[_0x508e1a(0x1c0)]=0x0,this[_0x508e1a(0x211)]=[],this[_0x508e1a(0x263)]=!0x1,this[_0x508e1a(0x226)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this[_0x508e1a(0x1e9)]=!0x1,this[_0x508e1a(0x2bb)]=!0x1,this[_0x508e1a(0x313)]=0x0,this[_0x508e1a(0x21b)]=0x0,this['_messageLength']=0x0,this[_0x508e1a(0x321)]=[],this[_0x508e1a(0x2a0)]=!0x1,this[_0x508e1a(0x24f)]=!0x1,this['_state']=_0xc74044;}[_0x56df75(0x320)](_0x5983f1,_0x2d0710,_0x2aa35e){const _0x12cca4=_0x56df75;if(this[_0x12cca4(0x313)]===0x8&&this[_0x12cca4(0x343)]==_0xc74044)return _0x2aa35e();this[_0x12cca4(0x1c0)]+=_0x5983f1['length'],this[_0x12cca4(0x211)][_0x12cca4(0x236)](_0x5983f1),this[_0x12cca4(0x2f2)](_0x2aa35e);}[_0x56df75(0x2fa)](_0x35a74e){const _0x150bb4=_0x56df75;if(this[_0x150bb4(0x1c0)]-=_0x35a74e,_0x35a74e===this['_buffers'][0x0][_0x150bb4(0x224)])return this[_0x150bb4(0x211)][_0x150bb4(0x1ba)]();if(_0x35a74e<this[_0x150bb4(0x211)][0x0][_0x150bb4(0x224)]){const _0x13eb16=this[_0x150bb4(0x211)][0x0];return this[_0x150bb4(0x211)][0x0]=new _0x56a304(_0x13eb16['buffer'],_0x13eb16[_0x150bb4(0x255)]+_0x35a74e,_0x13eb16[_0x150bb4(0x224)]-_0x35a74e),new _0x56a304(_0x13eb16['buffer'],_0x13eb16[_0x150bb4(0x255)],_0x35a74e);}const _0xad6001=Buffer[_0x150bb4(0x182)](_0x35a74e);do{const _0x4a2e64=this['_buffers'][0x0],_0x23408f=_0xad6001[_0x150bb4(0x224)]-_0x35a74e;_0x35a74e>=_0x4a2e64[_0x150bb4(0x224)]?_0xad6001[_0x150bb4(0x1cf)](this[_0x150bb4(0x211)][_0x150bb4(0x1ba)](),_0x23408f):(_0xad6001[_0x150bb4(0x1cf)](new Uint8Array(_0x4a2e64[_0x150bb4(0x186)],_0x4a2e64[_0x150bb4(0x255)],_0x35a74e),_0x23408f),this[_0x150bb4(0x211)][0x0]=new _0x56a304(_0x4a2e64['buffer'],_0x4a2e64['byteOffset']+_0x35a74e,_0x4a2e64[_0x150bb4(0x224)]-_0x35a74e)),_0x35a74e-=_0x4a2e64[_0x150bb4(0x224)];}while(_0x35a74e>0x0);return _0xad6001;}[_0x56df75(0x2f2)](_0x72b218){const _0x1aeeb0=_0x56df75;this[_0x1aeeb0(0x24f)]=!0x0;do switch(this[_0x1aeeb0(0x343)]){case _0xc74044:this[_0x1aeeb0(0x33d)](_0x72b218);break;case _0x360b9c:this[_0x1aeeb0(0x2bd)](_0x72b218);break;case _0x4dc93e:this[_0x1aeeb0(0x280)](_0x72b218);break;case _0x50d617:this[_0x1aeeb0(0x2d9)]();break;case _0x4baf85:this['getData'](_0x72b218);break;case _0x9c1b87:case _0x2bd4f4:this[_0x1aeeb0(0x24f)]=!0x1;return;}while(this[_0x1aeeb0(0x24f)]);this[_0x1aeeb0(0x2a0)]||_0x72b218();}['getInfo'](_0xada6c6){const _0x2f5832=_0x56df75;if(this['_bufferedBytes']<0x2){this[_0x2f5832(0x24f)]=!0x1;return;}const _0x424de0=this[_0x2f5832(0x2fa)](0x2);if((_0x424de0[0x0]&0x30)!==0x0){const _0x35dbda=this[_0x2f5832(0x2f6)](RangeError,_0x2f5832(0x229),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0xada6c6(_0x35dbda);return;}const _0x56e3ba=(_0x424de0[0x0]&0x40)===0x40;if(_0x56e3ba&&!this[_0x2f5832(0x2bf)][_0x4d1de1[_0x2f5832(0x20b)]]){const _0xbfd394=this[_0x2f5832(0x2f6)](RangeError,_0x2f5832(0x2eb),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xada6c6(_0xbfd394);return;}if(this[_0x2f5832(0x2bb)]=(_0x424de0[0x0]&0x80)===0x80,this[_0x2f5832(0x313)]=_0x424de0[0x0]&0xf,this[_0x2f5832(0x226)]=_0x424de0[0x1]&0x7f,this['_opcode']===0x0){if(_0x56e3ba){const _0xca06aa=this[_0x2f5832(0x2f6)](RangeError,_0x2f5832(0x2eb),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xada6c6(_0xca06aa);return;}if(!this[_0x2f5832(0x2e7)]){const _0xbc13d8=this[_0x2f5832(0x2f6)](RangeError,_0x2f5832(0x32c),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0xada6c6(_0xbc13d8);return;}this[_0x2f5832(0x313)]=this[_0x2f5832(0x2e7)];}else{if(this[_0x2f5832(0x313)]===0x1||this[_0x2f5832(0x313)]===0x2){if(this['_fragmented']){const _0x28e525=this[_0x2f5832(0x2f6)](RangeError,_0x2f5832(0x265)+this['_opcode'],!0x0,0x3ea,_0x2f5832(0x277));_0xada6c6(_0x28e525);return;}this[_0x2f5832(0x263)]=_0x56e3ba;}else{if(this[_0x2f5832(0x313)]>0x7&&this['_opcode']<0xb){if(!this[_0x2f5832(0x2bb)]){const _0x34c924=this[_0x2f5832(0x2f6)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x2f5832(0x335));_0xada6c6(_0x34c924);return;}if(_0x56e3ba){const _0x1898f6=this[_0x2f5832(0x2f6)](RangeError,_0x2f5832(0x2eb),!0x0,0x3ea,_0x2f5832(0x306));_0xada6c6(_0x1898f6);return;}if(this[_0x2f5832(0x226)]>0x7d||this[_0x2f5832(0x313)]===0x8&&this[_0x2f5832(0x226)]===0x1){const _0x4dbb5e=this[_0x2f5832(0x2f6)](RangeError,_0x2f5832(0x351)+this[_0x2f5832(0x226)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0xada6c6(_0x4dbb5e);return;}}else{const _0x22d4c9=this[_0x2f5832(0x2f6)](RangeError,_0x2f5832(0x265)+this['_opcode'],!0x0,0x3ea,_0x2f5832(0x277));_0xada6c6(_0x22d4c9);return;}}}if(!this['_fin']&&!this[_0x2f5832(0x2e7)]&&(this['_fragmented']=this[_0x2f5832(0x313)]),this[_0x2f5832(0x1e9)]=(_0x424de0[0x1]&0x80)===0x80,this[_0x2f5832(0x28e)]){if(!this[_0x2f5832(0x1e9)]){const _0x3f7596=this['createError'](RangeError,_0x2f5832(0x191),!0x0,0x3ea,_0x2f5832(0x1ee));_0xada6c6(_0x3f7596);return;}}else{if(this[_0x2f5832(0x1e9)]){const _0x3dd702=this['createError'](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x2f5832(0x256));_0xada6c6(_0x3dd702);return;}}this[_0x2f5832(0x226)]===0x7e?this[_0x2f5832(0x343)]=_0x360b9c:this[_0x2f5832(0x226)]===0x7f?this['_state']=_0x4dc93e:this[_0x2f5832(0x2c1)](_0xada6c6);}['getPayloadLength16'](_0xab2b8a){const _0x20a1cc=_0x56df75;if(this['_bufferedBytes']<0x2){this[_0x20a1cc(0x24f)]=!0x1;return;}this[_0x20a1cc(0x226)]=this[_0x20a1cc(0x2fa)](0x2)[_0x20a1cc(0x21a)](0x0),this[_0x20a1cc(0x2c1)](_0xab2b8a);}[_0x56df75(0x280)](_0xc5390c){const _0x454439=_0x56df75;if(this['_bufferedBytes']<0x8){this[_0x454439(0x24f)]=!0x1;return;}const _0x16a3cb=this['consume'](0x8),_0x62e082=_0x16a3cb[_0x454439(0x180)](0x0);if(_0x62e082>Math[_0x454439(0x1a6)](0x2,0x15)-0x1){const _0x4a8c33=this['createError'](RangeError,_0x454439(0x316),!0x1,0x3f1,_0x454439(0x324));_0xc5390c(_0x4a8c33);return;}this['_payloadLength']=_0x62e082*Math[_0x454439(0x1a6)](0x2,0x20)+_0x16a3cb[_0x454439(0x180)](0x4),this[_0x454439(0x2c1)](_0xc5390c);}[_0x56df75(0x2c1)](_0x2cbb01){const _0x24ce25=_0x56df75;if(this[_0x24ce25(0x226)]&&this[_0x24ce25(0x313)]<0x8&&(this[_0x24ce25(0x21b)]+=this[_0x24ce25(0x226)],this['_totalPayloadLength']>this[_0x24ce25(0x296)]&&this[_0x24ce25(0x296)]>0x0)){const _0x430eb4=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x24ce25(0x2fc));_0x2cbb01(_0x430eb4);return;}this[_0x24ce25(0x1e9)]?this['_state']=_0x50d617:this[_0x24ce25(0x343)]=_0x4baf85;}[_0x56df75(0x2d9)](){const _0x196176=_0x56df75;if(this['_bufferedBytes']<0x4){this[_0x196176(0x24f)]=!0x1;return;}this[_0x196176(0x345)]=this[_0x196176(0x2fa)](0x4),this[_0x196176(0x343)]=_0x4baf85;}[_0x56df75(0x24c)](_0x166678){const _0xa2383e=_0x56df75;let _0x4e19cd=_0x4c25f4;if(this[_0xa2383e(0x226)]){if(this['_bufferedBytes']<this[_0xa2383e(0x226)]){this[_0xa2383e(0x24f)]=!0x1;return;}_0x4e19cd=this[_0xa2383e(0x2fa)](this[_0xa2383e(0x226)]),this[_0xa2383e(0x1e9)]&&(this['_mask'][0x0]|this[_0xa2383e(0x345)][0x1]|this[_0xa2383e(0x345)][0x2]|this[_0xa2383e(0x345)][0x3])!==0x0&&_0x481b88(_0x4e19cd,this[_0xa2383e(0x345)]);}if(this[_0xa2383e(0x313)]>0x7){this['controlMessage'](_0x4e19cd,_0x166678);return;}if(this[_0xa2383e(0x263)]){this[_0xa2383e(0x343)]=_0x9c1b87,this[_0xa2383e(0x232)](_0x4e19cd,_0x166678);return;}_0x4e19cd[_0xa2383e(0x224)]&&(this[_0xa2383e(0x1f9)]=this[_0xa2383e(0x21b)],this['_fragments'][_0xa2383e(0x236)](_0x4e19cd)),this['dataMessage'](_0x166678);}[_0x56df75(0x232)](_0x1c2702,_0x1b3e61){const _0x3a1a59=_0x56df75;this[_0x3a1a59(0x2bf)][_0x4d1de1[_0x3a1a59(0x20b)]][_0x3a1a59(0x232)](_0x1c2702,this[_0x3a1a59(0x2bb)],(_0x28d308,_0xf80487)=>{const _0x67be99=_0x3a1a59;if(_0x28d308)return _0x1b3e61(_0x28d308);if(_0xf80487['length']){if(this['_messageLength']+=_0xf80487[_0x67be99(0x224)],this[_0x67be99(0x1f9)]>this[_0x67be99(0x296)]&&this['_maxPayload']>0x0){const _0x25cf02=this[_0x67be99(0x2f6)](RangeError,_0x67be99(0x239),!0x1,0x3f1,_0x67be99(0x2fc));_0x1b3e61(_0x25cf02);return;}this[_0x67be99(0x321)]['push'](_0xf80487);}this[_0x67be99(0x1ff)](_0x1b3e61),this[_0x67be99(0x343)]===_0xc74044&&this[_0x67be99(0x2f2)](_0x1b3e61);});}[_0x56df75(0x1ff)](_0x3d0438){const _0xf512b3=_0x56df75;if(!this[_0xf512b3(0x2bb)]){this[_0xf512b3(0x343)]=_0xc74044;return;}const _0x4e819d=this['_messageLength'],_0x3f4e01=this[_0xf512b3(0x321)];if(this[_0xf512b3(0x21b)]=0x0,this[_0xf512b3(0x1f9)]=0x0,this['_fragmented']=0x0,this[_0xf512b3(0x321)]=[],this[_0xf512b3(0x313)]===0x2){let _0x495b42;this[_0xf512b3(0x275)]===_0xf512b3(0x27d)?_0x495b42=_0x53c920(_0x3f4e01,_0x4e819d):this[_0xf512b3(0x275)]===_0xf512b3(0x312)?_0x495b42=_0x48dce0(_0x53c920(_0x3f4e01,_0x4e819d)):this[_0xf512b3(0x275)]===_0xf512b3(0x2e2)?_0x495b42=new Blob(_0x3f4e01):_0x495b42=_0x3f4e01,this['_allowSynchronousEvents']?(this[_0xf512b3(0x1fa)]('message',_0x495b42,!0x0),this[_0xf512b3(0x343)]=_0xc74044):(this[_0xf512b3(0x343)]=_0x2bd4f4,setImmediate(()=>{const _0x28927a=_0xf512b3;this[_0x28927a(0x1fa)]('message',_0x495b42,!0x0),this['_state']=_0xc74044,this['startLoop'](_0x3d0438);}));}else{const _0xd374c3=_0x53c920(_0x3f4e01,_0x4e819d);if(!this[_0xf512b3(0x2bc)]&&!_0x2b927f(_0xd374c3)){const _0x156a49=this[_0xf512b3(0x2f6)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0xf512b3(0x205));_0x3d0438(_0x156a49);return;}this[_0xf512b3(0x343)]===_0x9c1b87||this['_allowSynchronousEvents']?(this[_0xf512b3(0x1fa)](_0xf512b3(0x17e),_0xd374c3,!0x1),this['_state']=_0xc74044):(this['_state']=_0x2bd4f4,setImmediate(()=>{const _0x4e54de=_0xf512b3;this['emit'](_0x4e54de(0x17e),_0xd374c3,!0x1),this[_0x4e54de(0x343)]=_0xc74044,this[_0x4e54de(0x2f2)](_0x3d0438);}));}}[_0x56df75(0x2f1)](_0x554984,_0x7e718c){const _0x8b9f25=_0x56df75;if(this[_0x8b9f25(0x313)]===0x8){if(_0x554984[_0x8b9f25(0x224)]===0x0)this[_0x8b9f25(0x24f)]=!0x1,this[_0x8b9f25(0x1fa)](_0x8b9f25(0x20f),0x3ed,_0x4c25f4),this[_0x8b9f25(0x1b7)]();else{const _0x33a64c=_0x554984[_0x8b9f25(0x21a)](0x0);if(!_0x11a1d1(_0x33a64c)){const _0x2f0ee7=this[_0x8b9f25(0x2f6)](RangeError,_0x8b9f25(0x188)+_0x33a64c,!0x0,0x3ea,_0x8b9f25(0x346));_0x7e718c(_0x2f0ee7);return;}const _0x106808=new _0x56a304(_0x554984['buffer'],_0x554984['byteOffset']+0x2,_0x554984['length']-0x2);if(!this[_0x8b9f25(0x2bc)]&&!_0x2b927f(_0x106808)){const _0x563efc=this['createError'](Error,_0x8b9f25(0x198),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x7e718c(_0x563efc);return;}this[_0x8b9f25(0x24f)]=!0x1,this[_0x8b9f25(0x1fa)](_0x8b9f25(0x20f),_0x33a64c,_0x106808),this[_0x8b9f25(0x1b7)]();}this['_state']=_0xc74044;return;}this['_allowSynchronousEvents']?(this[_0x8b9f25(0x1fa)](this[_0x8b9f25(0x313)]===0x9?_0x8b9f25(0x230):_0x8b9f25(0x2ca),_0x554984),this[_0x8b9f25(0x343)]=_0xc74044):(this['_state']=_0x2bd4f4,setImmediate(()=>{const _0x599798=_0x8b9f25;this[_0x599798(0x1fa)](this[_0x599798(0x313)]===0x9?_0x599798(0x230):'pong',_0x554984),this[_0x599798(0x343)]=_0xc74044,this['startLoop'](_0x7e718c);}));}[_0x56df75(0x2f6)](_0x5bf5c4,_0x478e64,_0x338f4b,_0xe40f38,_0x3ac41e){const _0x376df4=_0x56df75;this['_loop']=!0x1,this[_0x376df4(0x2a0)]=!0x0;const _0xe10fe9=new _0x5bf5c4(_0x338f4b?_0x376df4(0x26c)+_0x478e64:_0x478e64);return Error['captureStackTrace'](_0xe10fe9,this['createError']),_0xe10fe9[_0x376df4(0x1c3)]=_0x3ac41e,_0xe10fe9[_0x4e8131]=_0xe40f38,_0xe10fe9;}}return Se=_0x394004,Se;}var Ee,Xe;function ft(){const _0x496570=_0x15d4d8;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x3f87c1}=oe,{randomFillSync:_0x297cab}=Le,_0x31dfd4=he(),{EMPTY_BUFFER:_0x1e6475,kWebSocket:_0x249d56,NOOP:_0x5539bf}=H(),{isBlob:_0x55c494,isValidStatusCode:_0x43fff0}=ae(),{mask:_0xb52b7d,toBuffer:_0x3c0d88}=ce(),_0x56966d=Symbol(_0x496570(0x33e)),_0x351ad3=Buffer[_0x496570(0x20e)](0x4),_0x3cc3b6=0x8*0x400;let _0x49c90a,_0x1c3bdc=_0x3cc3b6;const _0x148631=0x0,_0x4e4c03=0x1,_0x31acea=0x2;class _0x2a0c9e{constructor(_0x6330fc,_0x54fb8f,_0x177a3d){const _0xa9e144=_0x496570;this['_extensions']=_0x54fb8f||{},_0x177a3d&&(this[_0xa9e144(0x25a)]=_0x177a3d,this[_0xa9e144(0x217)]=Buffer['alloc'](0x4)),this['_socket']=_0x6330fc,this[_0xa9e144(0x26a)]=!0x0,this['_compress']=!0x1,this[_0xa9e144(0x1c0)]=0x0,this[_0xa9e144(0x2ce)]=[],this[_0xa9e144(0x343)]=_0x148631,this['onerror']=_0x5539bf,this[_0x249d56]=void 0x0;}static[_0x496570(0x2e8)](_0x50c941,_0x2dfb11){const _0x57ae03=_0x496570;let _0x307ecb,_0x2e78ee=!0x1,_0x4e3816=0x2,_0x38910a=!0x1;_0x2dfb11[_0x57ae03(0x299)]&&(_0x307ecb=_0x2dfb11[_0x57ae03(0x190)]||_0x351ad3,_0x2dfb11[_0x57ae03(0x2b9)]?_0x2dfb11[_0x57ae03(0x2b9)](_0x307ecb):(_0x1c3bdc===_0x3cc3b6&&(_0x49c90a===void 0x0&&(_0x49c90a=Buffer[_0x57ae03(0x20e)](_0x3cc3b6)),_0x297cab(_0x49c90a,0x0,_0x3cc3b6),_0x1c3bdc=0x0),_0x307ecb[0x0]=_0x49c90a[_0x1c3bdc++],_0x307ecb[0x1]=_0x49c90a[_0x1c3bdc++],_0x307ecb[0x2]=_0x49c90a[_0x1c3bdc++],_0x307ecb[0x3]=_0x49c90a[_0x1c3bdc++]),_0x38910a=(_0x307ecb[0x0]|_0x307ecb[0x1]|_0x307ecb[0x2]|_0x307ecb[0x3])===0x0,_0x4e3816=0x6);let _0x1ddcb2;typeof _0x50c941==_0x57ae03(0x23e)?(!_0x2dfb11[_0x57ae03(0x299)]||_0x38910a)&&_0x2dfb11[_0x56966d]!==void 0x0?_0x1ddcb2=_0x2dfb11[_0x56966d]:(_0x50c941=Buffer['from'](_0x50c941),_0x1ddcb2=_0x50c941['length']):(_0x1ddcb2=_0x50c941[_0x57ae03(0x224)],_0x2e78ee=_0x2dfb11[_0x57ae03(0x299)]&&_0x2dfb11['readOnly']&&!_0x38910a);let _0x2482fc=_0x1ddcb2;_0x1ddcb2>=0x10000?(_0x4e3816+=0x8,_0x2482fc=0x7f):_0x1ddcb2>0x7d&&(_0x4e3816+=0x2,_0x2482fc=0x7e);const _0x299fac=Buffer[_0x57ae03(0x182)](_0x2e78ee?_0x1ddcb2+_0x4e3816:_0x4e3816);return _0x299fac[0x0]=_0x2dfb11[_0x57ae03(0x339)]?_0x2dfb11[_0x57ae03(0x309)]|0x80:_0x2dfb11[_0x57ae03(0x309)],_0x2dfb11[_0x57ae03(0x222)]&&(_0x299fac[0x0]|=0x40),_0x299fac[0x1]=_0x2482fc,_0x2482fc===0x7e?_0x299fac[_0x57ae03(0x1f6)](_0x1ddcb2,0x2):_0x2482fc===0x7f&&(_0x299fac[0x2]=_0x299fac[0x3]=0x0,_0x299fac[_0x57ae03(0x1bb)](_0x1ddcb2,0x4,0x6)),_0x2dfb11['mask']?(_0x299fac[0x1]|=0x80,_0x299fac[_0x4e3816-0x4]=_0x307ecb[0x0],_0x299fac[_0x4e3816-0x3]=_0x307ecb[0x1],_0x299fac[_0x4e3816-0x2]=_0x307ecb[0x2],_0x299fac[_0x4e3816-0x1]=_0x307ecb[0x3],_0x38910a?[_0x299fac,_0x50c941]:_0x2e78ee?(_0xb52b7d(_0x50c941,_0x307ecb,_0x299fac,_0x4e3816,_0x1ddcb2),[_0x299fac]):(_0xb52b7d(_0x50c941,_0x307ecb,_0x50c941,0x0,_0x1ddcb2),[_0x299fac,_0x50c941])):[_0x299fac,_0x50c941];}[_0x496570(0x1c5)](_0x2b04ff,_0x3fe09d,_0x4f79b8,_0x535997){const _0x4e90e0=_0x496570;let _0x56a2d0;if(_0x2b04ff===void 0x0)_0x56a2d0=_0x1e6475;else{if(typeof _0x2b04ff!=_0x4e90e0(0x213)||!_0x43fff0(_0x2b04ff))throw new TypeError(_0x4e90e0(0x1c2));if(_0x3fe09d===void 0x0||!_0x3fe09d[_0x4e90e0(0x224)])_0x56a2d0=Buffer['allocUnsafe'](0x2),_0x56a2d0[_0x4e90e0(0x1f6)](_0x2b04ff,0x0);else{const _0x4147d6=Buffer[_0x4e90e0(0x1bc)](_0x3fe09d);if(_0x4147d6>0x7b)throw new RangeError(_0x4e90e0(0x21e));_0x56a2d0=Buffer[_0x4e90e0(0x182)](0x2+_0x4147d6),_0x56a2d0['writeUInt16BE'](_0x2b04ff,0x0),typeof _0x3fe09d=='string'?_0x56a2d0['write'](_0x3fe09d,0x2):_0x56a2d0[_0x4e90e0(0x1cf)](_0x3fe09d,0x2);}}const _0x2fa571={[_0x56966d]:_0x56a2d0['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x4f79b8,'maskBuffer':this[_0x4e90e0(0x217)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x148631?this['enqueue']([this[_0x4e90e0(0x2fd)],_0x56a2d0,!0x1,_0x2fa571,_0x535997]):this[_0x4e90e0(0x31b)](_0x2a0c9e[_0x4e90e0(0x2e8)](_0x56a2d0,_0x2fa571),_0x535997);}['ping'](_0x9b73dd,_0x1b03ac,_0x33f94f){const _0x562028=_0x496570;let _0x37ca00,_0x3f1703;if(typeof _0x9b73dd=='string'?(_0x37ca00=Buffer[_0x562028(0x1bc)](_0x9b73dd),_0x3f1703=!0x1):_0x55c494(_0x9b73dd)?(_0x37ca00=_0x9b73dd[_0x562028(0x245)],_0x3f1703=!0x1):(_0x9b73dd=_0x3c0d88(_0x9b73dd),_0x37ca00=_0x9b73dd['length'],_0x3f1703=_0x3c0d88[_0x562028(0x22a)]),_0x37ca00>0x7d)throw new RangeError(_0x562028(0x27c));const _0x595450={[_0x56966d]:_0x37ca00,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x1b03ac,'maskBuffer':this[_0x562028(0x217)],'opcode':0x9,'readOnly':_0x3f1703,'rsv1':!0x1};_0x55c494(_0x9b73dd)?this[_0x562028(0x343)]!==_0x148631?this[_0x562028(0x21d)]([this[_0x562028(0x289)],_0x9b73dd,!0x1,_0x595450,_0x33f94f]):this['getBlobData'](_0x9b73dd,!0x1,_0x595450,_0x33f94f):this['_state']!==_0x148631?this['enqueue']([this[_0x562028(0x2fd)],_0x9b73dd,!0x1,_0x595450,_0x33f94f]):this[_0x562028(0x31b)](_0x2a0c9e[_0x562028(0x2e8)](_0x9b73dd,_0x595450),_0x33f94f);}['pong'](_0x2a648b,_0x491744,_0x3999b3){const _0x43eb15=_0x496570;let _0x50a0e4,_0x63c293;if(typeof _0x2a648b==_0x43eb15(0x23e)?(_0x50a0e4=Buffer[_0x43eb15(0x1bc)](_0x2a648b),_0x63c293=!0x1):_0x55c494(_0x2a648b)?(_0x50a0e4=_0x2a648b[_0x43eb15(0x245)],_0x63c293=!0x1):(_0x2a648b=_0x3c0d88(_0x2a648b),_0x50a0e4=_0x2a648b[_0x43eb15(0x224)],_0x63c293=_0x3c0d88[_0x43eb15(0x22a)]),_0x50a0e4>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0xe605d4={[_0x56966d]:_0x50a0e4,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x491744,'maskBuffer':this[_0x43eb15(0x217)],'opcode':0xa,'readOnly':_0x63c293,'rsv1':!0x1};_0x55c494(_0x2a648b)?this[_0x43eb15(0x343)]!==_0x148631?this[_0x43eb15(0x21d)]([this[_0x43eb15(0x289)],_0x2a648b,!0x1,_0xe605d4,_0x3999b3]):this[_0x43eb15(0x289)](_0x2a648b,!0x1,_0xe605d4,_0x3999b3):this[_0x43eb15(0x343)]!==_0x148631?this['enqueue']([this[_0x43eb15(0x2fd)],_0x2a648b,!0x1,_0xe605d4,_0x3999b3]):this[_0x43eb15(0x31b)](_0x2a0c9e['frame'](_0x2a648b,_0xe605d4),_0x3999b3);}[_0x496570(0x1dd)](_0x215b54,_0x268e60,_0x2535e4){const _0x4e9de3=_0x496570,_0x35a54a=this[_0x4e9de3(0x2bf)][_0x31dfd4['extensionName']];let _0x3be32d=_0x268e60[_0x4e9de3(0x1a5)]?0x2:0x1,_0x29d9f6=_0x268e60[_0x4e9de3(0x268)],_0x2e8328,_0x2b7025;typeof _0x215b54==_0x4e9de3(0x23e)?(_0x2e8328=Buffer['byteLength'](_0x215b54),_0x2b7025=!0x1):_0x55c494(_0x215b54)?(_0x2e8328=_0x215b54['size'],_0x2b7025=!0x1):(_0x215b54=_0x3c0d88(_0x215b54),_0x2e8328=_0x215b54['length'],_0x2b7025=_0x3c0d88[_0x4e9de3(0x22a)]),this[_0x4e9de3(0x26a)]?(this['_firstFragment']=!0x1,_0x29d9f6&&_0x35a54a&&_0x35a54a[_0x4e9de3(0x315)][_0x35a54a[_0x4e9de3(0x28e)]?_0x4e9de3(0x1a2):_0x4e9de3(0x18f)]&&(_0x29d9f6=_0x2e8328>=_0x35a54a[_0x4e9de3(0x283)]),this[_0x4e9de3(0x2b8)]=_0x29d9f6):(_0x29d9f6=!0x1,_0x3be32d=0x0),_0x268e60[_0x4e9de3(0x339)]&&(this[_0x4e9de3(0x26a)]=!0x0);const _0x36907e={[_0x56966d]:_0x2e8328,'fin':_0x268e60['fin'],'generateMask':this['_generateMask'],'mask':_0x268e60['mask'],'maskBuffer':this[_0x4e9de3(0x217)],'opcode':_0x3be32d,'readOnly':_0x2b7025,'rsv1':_0x29d9f6};_0x55c494(_0x215b54)?this[_0x4e9de3(0x343)]!==_0x148631?this[_0x4e9de3(0x21d)]([this[_0x4e9de3(0x289)],_0x215b54,this[_0x4e9de3(0x2b8)],_0x36907e,_0x2535e4]):this[_0x4e9de3(0x289)](_0x215b54,this['_compress'],_0x36907e,_0x2535e4):this[_0x4e9de3(0x343)]!==_0x148631?this[_0x4e9de3(0x21d)]([this[_0x4e9de3(0x2fd)],_0x215b54,this[_0x4e9de3(0x2b8)],_0x36907e,_0x2535e4]):this[_0x4e9de3(0x2fd)](_0x215b54,this[_0x4e9de3(0x2b8)],_0x36907e,_0x2535e4);}['getBlobData'](_0x25f2f5,_0x578744,_0x195107,_0xc6f960){const _0x5df001=_0x496570;this[_0x5df001(0x1c0)]+=_0x195107[_0x56966d],this['_state']=_0x31acea,_0x25f2f5[_0x5df001(0x2cd)]()['then'](_0x34af8e=>{const _0x45c3a9=_0x5df001;if(this[_0x45c3a9(0x196)][_0x45c3a9(0x2d0)]){const _0x289533=new Error(_0x45c3a9(0x307));process['nextTick'](_0x419bc1,this,_0x289533,_0xc6f960);return;}this[_0x45c3a9(0x1c0)]-=_0x195107[_0x56966d];const _0x10be94=_0x3c0d88(_0x34af8e);_0x578744?this[_0x45c3a9(0x2fd)](_0x10be94,_0x578744,_0x195107,_0xc6f960):(this[_0x45c3a9(0x343)]=_0x148631,this[_0x45c3a9(0x31b)](_0x2a0c9e[_0x45c3a9(0x2e8)](_0x10be94,_0x195107),_0xc6f960),this['dequeue']());})[_0x5df001(0x1ed)](_0x1a5db6=>{const _0x58eda8=_0x5df001;process[_0x58eda8(0x2e1)](_0x47bc89,this,_0x1a5db6,_0xc6f960);});}[_0x496570(0x2fd)](_0x2a32ec,_0x18ae30,_0x3bf480,_0x143a46){const _0x109310=_0x496570;if(!_0x18ae30){this[_0x109310(0x31b)](_0x2a0c9e['frame'](_0x2a32ec,_0x3bf480),_0x143a46);return;}const _0x40ca20=this[_0x109310(0x2bf)][_0x31dfd4[_0x109310(0x20b)]];this[_0x109310(0x1c0)]+=_0x3bf480[_0x56966d],this['_state']=_0x4e4c03,_0x40ca20[_0x109310(0x268)](_0x2a32ec,_0x3bf480[_0x109310(0x339)],(_0x4e2cee,_0x22bda3)=>{const _0x406c60=_0x109310;if(this[_0x406c60(0x196)][_0x406c60(0x2d0)]){const _0x433e0a=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x419bc1(this,_0x433e0a,_0x143a46);return;}this[_0x406c60(0x1c0)]-=_0x3bf480[_0x56966d],this[_0x406c60(0x343)]=_0x148631,_0x3bf480[_0x406c60(0x22a)]=!0x1,this[_0x406c60(0x31b)](_0x2a0c9e[_0x406c60(0x2e8)](_0x22bda3,_0x3bf480),_0x143a46),this[_0x406c60(0x285)]();});}[_0x496570(0x285)](){const _0x5ca1c5=_0x496570;for(;this[_0x5ca1c5(0x343)]===_0x148631&&this[_0x5ca1c5(0x2ce)][_0x5ca1c5(0x224)];){const _0x445cdb=this[_0x5ca1c5(0x2ce)]['shift']();this[_0x5ca1c5(0x1c0)]-=_0x445cdb[0x3][_0x56966d],Reflect['apply'](_0x445cdb[0x0],this,_0x445cdb[_0x5ca1c5(0x183)](0x1));}}['enqueue'](_0x5672cd){const _0x8b932=_0x496570;this[_0x8b932(0x1c0)]+=_0x5672cd[0x3][_0x56966d],this[_0x8b932(0x2ce)][_0x8b932(0x236)](_0x5672cd);}['sendFrame'](_0x1b04c3,_0xc35b20){const _0x5a488e=_0x496570;_0x1b04c3['length']===0x2?(this[_0x5a488e(0x196)][_0x5a488e(0x1d0)](),this[_0x5a488e(0x196)][_0x5a488e(0x27e)](_0x1b04c3[0x0]),this['_socket'][_0x5a488e(0x27e)](_0x1b04c3[0x1],_0xc35b20),this['_socket'][_0x5a488e(0x26e)]()):this[_0x5a488e(0x196)][_0x5a488e(0x27e)](_0x1b04c3[0x0],_0xc35b20);}}Ee=_0x2a0c9e;function _0x419bc1(_0x4194ea,_0x1a711d,_0xc637c2){const _0x24ed53=_0x496570;typeof _0xc637c2==_0x24ed53(0x223)&&_0xc637c2(_0x1a711d);for(let _0x2caf13=0x0;_0x2caf13<_0x4194ea[_0x24ed53(0x2ce)]['length'];_0x2caf13++){const _0x3c369b=_0x4194ea[_0x24ed53(0x2ce)][_0x2caf13],_0x4de3ae=_0x3c369b[_0x3c369b['length']-0x1];typeof _0x4de3ae==_0x24ed53(0x223)&&_0x4de3ae(_0x1a711d);}}function _0x47bc89(_0x368329,_0x5067c1,_0x1bb816){const _0x4a05d2=_0x496570;_0x419bc1(_0x368329,_0x5067c1,_0x1bb816),_0x368329[_0x4a05d2(0x2f4)](_0x5067c1);}return Ee;}var xe,Ze;function It(){const _0x33340c=_0x15d4d8;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x5b8efc,kListener:_0xb3bc08}=H(),_0x50b9ac=Symbol('kCode'),_0x3e1ed0=Symbol(_0x33340c(0x20a)),_0x138618=Symbol(_0x33340c(0x27a)),_0x4eda8c=Symbol(_0x33340c(0x248)),_0x19151d=Symbol('kReason'),_0x9d9a83=Symbol(_0x33340c(0x328)),_0x3c1bc7=Symbol(_0x33340c(0x30c)),_0x1899e8=Symbol(_0x33340c(0x26b));class _0x2ea165{constructor(_0x371202){this[_0x9d9a83]=null,this[_0x3c1bc7]=_0x371202;}get[_0x33340c(0x2fe)](){return this[_0x9d9a83];}get[_0x33340c(0x279)](){return this[_0x3c1bc7];}}Object[_0x33340c(0x261)](_0x2ea165[_0x33340c(0x2b3)],_0x33340c(0x2fe),{'enumerable':!0x0}),Object[_0x33340c(0x261)](_0x2ea165[_0x33340c(0x2b3)],'type',{'enumerable':!0x0});class _0x45a1f5 extends _0x2ea165{constructor(_0x43e84f,_0x385f03={}){const _0x57757f=_0x33340c;super(_0x43e84f),this[_0x50b9ac]=_0x385f03[_0x57757f(0x1c3)]===void 0x0?0x0:_0x385f03[_0x57757f(0x1c3)],this[_0x19151d]=_0x385f03[_0x57757f(0x30d)]===void 0x0?'':_0x385f03[_0x57757f(0x30d)],this[_0x1899e8]=_0x385f03[_0x57757f(0x331)]===void 0x0?!0x1:_0x385f03[_0x57757f(0x331)];}get['code'](){return this[_0x50b9ac];}get[_0x33340c(0x30d)](){return this[_0x19151d];}get[_0x33340c(0x331)](){return this[_0x1899e8];}}Object[_0x33340c(0x261)](_0x45a1f5[_0x33340c(0x2b3)],_0x33340c(0x1c3),{'enumerable':!0x0}),Object[_0x33340c(0x261)](_0x45a1f5['prototype'],_0x33340c(0x30d),{'enumerable':!0x0}),Object[_0x33340c(0x261)](_0x45a1f5[_0x33340c(0x2b3)],'wasClean',{'enumerable':!0x0});class _0x4de4f4 extends _0x2ea165{constructor(_0x5d49fc,_0x1d52dd={}){const _0x4728b9=_0x33340c;super(_0x5d49fc),this[_0x138618]=_0x1d52dd[_0x4728b9(0x1be)]===void 0x0?null:_0x1d52dd[_0x4728b9(0x1be)],this[_0x4eda8c]=_0x1d52dd['message']===void 0x0?'':_0x1d52dd[_0x4728b9(0x17e)];}get[_0x33340c(0x1be)](){return this[_0x138618];}get[_0x33340c(0x17e)](){return this[_0x4eda8c];}}Object['defineProperty'](_0x4de4f4[_0x33340c(0x2b3)],'error',{'enumerable':!0x0}),Object[_0x33340c(0x261)](_0x4de4f4[_0x33340c(0x2b3)],_0x33340c(0x17e),{'enumerable':!0x0});class _0x2ab381 extends _0x2ea165{constructor(_0x3ce05e,_0x46fa21={}){const _0x5d9344=_0x33340c;super(_0x3ce05e),this[_0x3e1ed0]=_0x46fa21[_0x5d9344(0x31f)]===void 0x0?null:_0x46fa21[_0x5d9344(0x31f)];}get[_0x33340c(0x31f)](){return this[_0x3e1ed0];}}Object[_0x33340c(0x261)](_0x2ab381[_0x33340c(0x2b3)],_0x33340c(0x31f),{'enumerable':!0x0}),xe={'CloseEvent':_0x45a1f5,'ErrorEvent':_0x4de4f4,'Event':_0x2ea165,'EventTarget':{'addEventListener'(_0x3b00df,_0x28ed1f,_0x1eb4af={}){const _0x2a05fa=_0x33340c;for(const _0x47b360 of this[_0x2a05fa(0x200)](_0x3b00df))if(!_0x1eb4af[_0x5b8efc]&&_0x47b360[_0xb3bc08]===_0x28ed1f&&!_0x47b360[_0x5b8efc])return;let _0x32a32b;if(_0x3b00df===_0x2a05fa(0x17e))_0x32a32b=function(_0x2a471b,_0x307530){const _0xc0f795=_0x2a05fa,_0x460e10=new _0x2ab381(_0xc0f795(0x17e),{'data':_0x307530?_0x2a471b:_0x2a471b[_0xc0f795(0x27f)]()});_0x460e10[_0x9d9a83]=this,_0x54331e(_0x28ed1f,this,_0x460e10);};else{if(_0x3b00df==='close')_0x32a32b=function(_0x3266f5,_0x1b378d){const _0x411f17=_0x2a05fa,_0x41be19=new _0x45a1f5(_0x411f17(0x1c5),{'code':_0x3266f5,'reason':_0x1b378d[_0x411f17(0x27f)](),'wasClean':this['_closeFrameReceived']&&this[_0x411f17(0x204)]});_0x41be19[_0x9d9a83]=this,_0x54331e(_0x28ed1f,this,_0x41be19);};else{if(_0x3b00df===_0x2a05fa(0x1be))_0x32a32b=function(_0x1e6d76){const _0x30e5e2=_0x2a05fa,_0x454873=new _0x4de4f4('error',{'error':_0x1e6d76,'message':_0x1e6d76[_0x30e5e2(0x17e)]});_0x454873[_0x9d9a83]=this,_0x54331e(_0x28ed1f,this,_0x454873);};else{if(_0x3b00df===_0x2a05fa(0x216))_0x32a32b=function(){const _0x5f0341=_0x2a05fa,_0x499b3e=new _0x2ea165(_0x5f0341(0x216));_0x499b3e[_0x9d9a83]=this,_0x54331e(_0x28ed1f,this,_0x499b3e);};else return;}}}_0x32a32b[_0x5b8efc]=!!_0x1eb4af[_0x5b8efc],_0x32a32b[_0xb3bc08]=_0x28ed1f,_0x1eb4af[_0x2a05fa(0x2ac)]?this['once'](_0x3b00df,_0x32a32b):this['on'](_0x3b00df,_0x32a32b);},'removeEventListener'(_0x2fb8c2,_0x572142){for(const _0x295719 of this['listeners'](_0x2fb8c2))if(_0x295719[_0xb3bc08]===_0x572142&&!_0x295719[_0x5b8efc]){this['removeListener'](_0x2fb8c2,_0x295719);break;}}},'MessageEvent':_0x2ab381};function _0x54331e(_0x3a26e6,_0x296824,_0x101fb2){const _0x491e3f=_0x33340c;typeof _0x3a26e6==_0x491e3f(0x348)&&_0x3a26e6[_0x491e3f(0x201)]?_0x3a26e6[_0x491e3f(0x201)][_0x491e3f(0x2e3)](_0x3a26e6,_0x101fb2):_0x3a26e6[_0x491e3f(0x2e3)](_0x296824,_0x101fb2);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x3d1e85}=ae();function _0x29403d(_0x13b95f,_0x25e56e,_0x1de477){const _0x3705a1=_0x1bcc;_0x13b95f[_0x25e56e]===void 0x0?_0x13b95f[_0x25e56e]=[_0x1de477]:_0x13b95f[_0x25e56e][_0x3705a1(0x236)](_0x1de477);}function _0x49058d(_0x131768){const _0x329c2a=_0x1bcc,_0x2e8d5f=Object[_0x329c2a(0x1a7)](null);let _0x321829=Object[_0x329c2a(0x1a7)](null),_0x29b6b3=!0x1,_0x48201d=!0x1,_0x3b488a=!0x1,_0x4000ed,_0x21080d,_0x31fd89=-0x1,_0x6f6409=-0x1,_0x4069b0=-0x1,_0x16218f=0x0;for(;_0x16218f<_0x131768[_0x329c2a(0x224)];_0x16218f++)if(_0x6f6409=_0x131768['charCodeAt'](_0x16218f),_0x4000ed===void 0x0){if(_0x4069b0===-0x1&&_0x3d1e85[_0x6f6409]===0x1)_0x31fd89===-0x1&&(_0x31fd89=_0x16218f);else{if(_0x16218f!==0x0&&(_0x6f6409===0x20||_0x6f6409===0x9))_0x4069b0===-0x1&&_0x31fd89!==-0x1&&(_0x4069b0=_0x16218f);else{if(_0x6f6409===0x3b||_0x6f6409===0x2c){if(_0x31fd89===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x16218f);_0x4069b0===-0x1&&(_0x4069b0=_0x16218f);const _0x56b3e3=_0x131768[_0x329c2a(0x183)](_0x31fd89,_0x4069b0);_0x6f6409===0x2c?(_0x29403d(_0x2e8d5f,_0x56b3e3,_0x321829),_0x321829=Object[_0x329c2a(0x1a7)](null)):_0x4000ed=_0x56b3e3,_0x31fd89=_0x4069b0=-0x1;}else throw new SyntaxError(_0x329c2a(0x29f)+_0x16218f);}}}else{if(_0x21080d===void 0x0){if(_0x4069b0===-0x1&&_0x3d1e85[_0x6f6409]===0x1)_0x31fd89===-0x1&&(_0x31fd89=_0x16218f);else{if(_0x6f6409===0x20||_0x6f6409===0x9)_0x4069b0===-0x1&&_0x31fd89!==-0x1&&(_0x4069b0=_0x16218f);else{if(_0x6f6409===0x3b||_0x6f6409===0x2c){if(_0x31fd89===-0x1)throw new SyntaxError(_0x329c2a(0x29f)+_0x16218f);_0x4069b0===-0x1&&(_0x4069b0=_0x16218f),_0x29403d(_0x321829,_0x131768[_0x329c2a(0x183)](_0x31fd89,_0x4069b0),!0x0),_0x6f6409===0x2c&&(_0x29403d(_0x2e8d5f,_0x4000ed,_0x321829),_0x321829=Object[_0x329c2a(0x1a7)](null),_0x4000ed=void 0x0),_0x31fd89=_0x4069b0=-0x1;}else{if(_0x6f6409===0x3d&&_0x31fd89!==-0x1&&_0x4069b0===-0x1)_0x21080d=_0x131768[_0x329c2a(0x183)](_0x31fd89,_0x16218f),_0x31fd89=_0x4069b0=-0x1;else throw new SyntaxError(_0x329c2a(0x29f)+_0x16218f);}}}}else{if(_0x48201d){if(_0x3d1e85[_0x6f6409]!==0x1)throw new SyntaxError(_0x329c2a(0x29f)+_0x16218f);_0x31fd89===-0x1?_0x31fd89=_0x16218f:_0x29b6b3||(_0x29b6b3=!0x0),_0x48201d=!0x1;}else{if(_0x3b488a){if(_0x3d1e85[_0x6f6409]===0x1)_0x31fd89===-0x1&&(_0x31fd89=_0x16218f);else{if(_0x6f6409===0x22&&_0x31fd89!==-0x1)_0x3b488a=!0x1,_0x4069b0=_0x16218f;else{if(_0x6f6409===0x5c)_0x48201d=!0x0;else throw new SyntaxError(_0x329c2a(0x29f)+_0x16218f);}}}else{if(_0x6f6409===0x22&&_0x131768[_0x329c2a(0x209)](_0x16218f-0x1)===0x3d)_0x3b488a=!0x0;else{if(_0x4069b0===-0x1&&_0x3d1e85[_0x6f6409]===0x1)_0x31fd89===-0x1&&(_0x31fd89=_0x16218f);else{if(_0x31fd89!==-0x1&&(_0x6f6409===0x20||_0x6f6409===0x9))_0x4069b0===-0x1&&(_0x4069b0=_0x16218f);else{if(_0x6f6409===0x3b||_0x6f6409===0x2c){if(_0x31fd89===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x16218f);_0x4069b0===-0x1&&(_0x4069b0=_0x16218f);let _0x17c769=_0x131768[_0x329c2a(0x183)](_0x31fd89,_0x4069b0);_0x29b6b3&&(_0x17c769=_0x17c769[_0x329c2a(0x278)](/\\/g,''),_0x29b6b3=!0x1),_0x29403d(_0x321829,_0x21080d,_0x17c769),_0x6f6409===0x2c&&(_0x29403d(_0x2e8d5f,_0x4000ed,_0x321829),_0x321829=Object[_0x329c2a(0x1a7)](null),_0x4000ed=void 0x0),_0x21080d=void 0x0,_0x31fd89=_0x4069b0=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x16218f);}}}}}}}if(_0x31fd89===-0x1||_0x3b488a||_0x6f6409===0x20||_0x6f6409===0x9)throw new SyntaxError(_0x329c2a(0x1b0));_0x4069b0===-0x1&&(_0x4069b0=_0x16218f);const _0x26e4df=_0x131768[_0x329c2a(0x183)](_0x31fd89,_0x4069b0);return _0x4000ed===void 0x0?_0x29403d(_0x2e8d5f,_0x26e4df,_0x321829):(_0x21080d===void 0x0?_0x29403d(_0x321829,_0x26e4df,!0x0):_0x29b6b3?_0x29403d(_0x321829,_0x21080d,_0x26e4df[_0x329c2a(0x278)](/\\/g,'')):_0x29403d(_0x321829,_0x21080d,_0x26e4df),_0x29403d(_0x2e8d5f,_0x4000ed,_0x321829)),_0x2e8d5f;}function _0x3b4740(_0x3f0fb3){const _0x2e0e4e=_0x1bcc;return Object[_0x2e0e4e(0x262)](_0x3f0fb3)[_0x2e0e4e(0x29b)](_0x24686b=>{const _0x55e2ad=_0x2e0e4e;let _0x534704=_0x3f0fb3[_0x24686b];return Array[_0x55e2ad(0x2c4)](_0x534704)||(_0x534704=[_0x534704]),_0x534704[_0x55e2ad(0x29b)](_0x425d77=>[_0x24686b][_0x55e2ad(0x1d5)](Object[_0x55e2ad(0x262)](_0x425d77)[_0x55e2ad(0x29b)](_0x1e1ae9=>{const _0x155276=_0x55e2ad;let _0x78a0db=_0x425d77[_0x1e1ae9];return Array['isArray'](_0x78a0db)||(_0x78a0db=[_0x78a0db]),_0x78a0db[_0x155276(0x29b)](_0x5699f1=>_0x5699f1===!0x0?_0x1e1ae9:_0x1e1ae9+'='+_0x5699f1)[_0x155276(0x250)](';\x20');}))['join'](';\x20'))[_0x55e2ad(0x250)](',\x20');})[_0x2e0e4e(0x250)](',\x20');}return be={'format':_0x3b4740,'parse':_0x49058d},be;}var we,Je;function Pe(){const _0x16037d=_0x15d4d8;if(Je)return we;Je=0x1;const _0xaab317=nt,_0x21ff30=vt,_0x3f665a=ot,_0xd49749=St,_0x250f11=Et,{randomBytes:_0x23f13f,createHash:_0x3452d2}=Le,{Duplex:_0x25f3cf,Readable:_0xec3ad3}=oe,{URL:_0x318974}=xt,_0x4a86ec=he(),_0x292f5f=lt(),_0x364508=ft(),{isBlob:_0x39c50f}=ae(),{BINARY_TYPES:_0x86caa,EMPTY_BUFFER:_0x31ed88,GUID:_0x50479e,kForOnEventAttribute:_0xe857c0,kListener:_0xc18737,kStatusCode:_0x2fecd1,kWebSocket:_0x75afc4,NOOP:_0x51177b}=H(),{EventTarget:{addEventListener:_0xa0dd16,removeEventListener:_0x39bdb8}}=It(),{format:_0x3d6166,parse:_0x83fc80}=ct(),{toBuffer:_0x2fc54e}=ce(),_0x2fe229=0x1e*0x3e8,_0x2d58d6=Symbol(_0x16037d(0x2f5)),_0x4be06b=[0x8,0xd],_0x1edab2=[_0x16037d(0x269),_0x16037d(0x1df),_0x16037d(0x1fe),_0x16037d(0x305)],_0x3f4da4=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x227030 extends _0xaab317{constructor(_0x3be130,_0x5c018d,_0x3a8a0a){const _0x38c0c0=_0x16037d;super(),this[_0x38c0c0(0x275)]=_0x86caa[0x0],this[_0x38c0c0(0x297)]=0x3ee,this['_closeFrameReceived']=!0x1,this['_closeFrameSent']=!0x1,this[_0x38c0c0(0x22b)]=_0x31ed88,this[_0x38c0c0(0x231)]=null,this[_0x38c0c0(0x18c)]=!0x1,this[_0x38c0c0(0x2bf)]={},this[_0x38c0c0(0x1e1)]=!0x1,this['_protocol']='',this[_0x38c0c0(0x302)]=_0x227030[_0x38c0c0(0x269)],this['_receiver']=null,this[_0x38c0c0(0x27b)]=null,this['_socket']=null,_0x3be130!==null?(this[_0x38c0c0(0x1d7)]=0x0,this[_0x38c0c0(0x28e)]=!0x1,this[_0x38c0c0(0x2f8)]=0x0,_0x5c018d===void 0x0?_0x5c018d=[]:Array[_0x38c0c0(0x2c4)](_0x5c018d)||(typeof _0x5c018d==_0x38c0c0(0x348)&&_0x5c018d!==null?(_0x3a8a0a=_0x5c018d,_0x5c018d=[]):_0x5c018d=[_0x5c018d]),_0x39451b(this,_0x3be130,_0x5c018d,_0x3a8a0a)):(this['_autoPong']=_0x3a8a0a[_0x38c0c0(0x1b4)],this[_0x38c0c0(0x28e)]=!0x0);}get[_0x16037d(0x317)](){const _0x308f28=_0x16037d;return this[_0x308f28(0x275)];}set['binaryType'](_0x429410){const _0x59fe3a=_0x16037d;_0x86caa[_0x59fe3a(0x203)](_0x429410)&&(this[_0x59fe3a(0x275)]=_0x429410,this['_receiver']&&(this[_0x59fe3a(0x2cf)][_0x59fe3a(0x275)]=_0x429410));}get['bufferedAmount'](){const _0x59d7d8=_0x16037d;return this[_0x59d7d8(0x196)]?this['_socket']['_writableState'][_0x59d7d8(0x224)]+this[_0x59d7d8(0x27b)][_0x59d7d8(0x1c0)]:this['_bufferedAmount'];}get[_0x16037d(0x1f5)](){const _0x3c9502=_0x16037d;return Object['keys'](this[_0x3c9502(0x2bf)])[_0x3c9502(0x250)]();}get[_0x16037d(0x2ae)](){const _0x41c988=_0x16037d;return this[_0x41c988(0x1e1)];}get[_0x16037d(0x19f)](){return null;}get[_0x16037d(0x2f4)](){return null;}get['onopen'](){return null;}get[_0x16037d(0x23c)](){return null;}get[_0x16037d(0x1f1)](){const _0x160490=_0x16037d;return this[_0x160490(0x17b)];}get['readyState'](){const _0x14561f=_0x16037d;return this[_0x14561f(0x302)];}get[_0x16037d(0x1b2)](){const _0x1cac89=_0x16037d;return this[_0x1cac89(0x187)];}[_0x16037d(0x25f)](_0x23c63b,_0x512e7c,_0x33c696){const _0x3f9312=_0x16037d,_0x385c31=new _0x292f5f({'allowSynchronousEvents':_0x33c696[_0x3f9312(0x30a)],'binaryType':this[_0x3f9312(0x317)],'extensions':this['_extensions'],'isServer':this[_0x3f9312(0x28e)],'maxPayload':_0x33c696[_0x3f9312(0x24e)],'skipUTF8Validation':_0x33c696['skipUTF8Validation']}),_0x10224c=new _0x364508(_0x23c63b,this['_extensions'],_0x33c696[_0x3f9312(0x2b9)]);this[_0x3f9312(0x2cf)]=_0x385c31,this['_sender']=_0x10224c,this[_0x3f9312(0x196)]=_0x23c63b,_0x385c31[_0x75afc4]=this,_0x10224c[_0x75afc4]=this,_0x23c63b[_0x75afc4]=this,_0x385c31['on'](_0x3f9312(0x20f),_0x9fa83e),_0x385c31['on'](_0x3f9312(0x221),_0x3fe671),_0x385c31['on']('error',_0x3a26dc),_0x385c31['on'](_0x3f9312(0x17e),_0x13fe3e),_0x385c31['on'](_0x3f9312(0x230),_0x57a7a9),_0x385c31['on'](_0x3f9312(0x2ca),_0x576223),_0x10224c[_0x3f9312(0x2f4)]=_0x209e97,_0x23c63b[_0x3f9312(0x31e)]&&_0x23c63b[_0x3f9312(0x31e)](0x0),_0x23c63b['setNoDelay']&&_0x23c63b['setNoDelay'](),_0x512e7c['length']>0x0&&_0x23c63b[_0x3f9312(0x28b)](_0x512e7c),_0x23c63b['on'](_0x3f9312(0x1c5),_0x13e223),_0x23c63b['on'](_0x3f9312(0x31f),_0x544379),_0x23c63b['on'](_0x3f9312(0x1b7),_0x421943),_0x23c63b['on'](_0x3f9312(0x1be),_0x2752f8),this[_0x3f9312(0x302)]=_0x227030[_0x3f9312(0x1df)],this[_0x3f9312(0x1fa)]('open');}[_0x16037d(0x292)](){const _0x31fc66=_0x16037d;if(!this['_socket']){this[_0x31fc66(0x302)]=_0x227030['CLOSED'],this[_0x31fc66(0x1fa)](_0x31fc66(0x1c5),this['_closeCode'],this['_closeMessage']);return;}this[_0x31fc66(0x2bf)][_0x4a86ec[_0x31fc66(0x20b)]]&&this[_0x31fc66(0x2bf)][_0x4a86ec[_0x31fc66(0x20b)]][_0x31fc66(0x19c)](),this[_0x31fc66(0x2cf)][_0x31fc66(0x272)](),this[_0x31fc66(0x302)]=_0x227030[_0x31fc66(0x305)],this[_0x31fc66(0x1fa)](_0x31fc66(0x1c5),this[_0x31fc66(0x297)],this['_closeMessage']);}[_0x16037d(0x1c5)](_0x2477f0,_0x1b4023){const _0x3709aa=_0x16037d;if(this[_0x3709aa(0x1c9)]!==_0x227030[_0x3709aa(0x305)]){if(this[_0x3709aa(0x1c9)]===_0x227030['CONNECTING']){_0x1dfbcf(this,this[_0x3709aa(0x2d1)],_0x3709aa(0x32e));return;}if(this[_0x3709aa(0x1c9)]===_0x227030[_0x3709aa(0x1fe)]){this[_0x3709aa(0x204)]&&(this[_0x3709aa(0x22e)]||this[_0x3709aa(0x2cf)][_0x3709aa(0x284)][_0x3709aa(0x1f2)])&&this[_0x3709aa(0x196)]['end']();return;}this[_0x3709aa(0x302)]=_0x227030['CLOSING'],this[_0x3709aa(0x27b)][_0x3709aa(0x1c5)](_0x2477f0,_0x1b4023,!this[_0x3709aa(0x28e)],_0xddf72e=>{const _0x3056b4=_0x3709aa;_0xddf72e||(this[_0x3056b4(0x204)]=!0x0,(this['_closeFrameReceived']||this[_0x3056b4(0x2cf)][_0x3056b4(0x284)][_0x3056b4(0x1f2)])&&this['_socket'][_0x3056b4(0x1b7)]());}),_0x39de50(this);}}[_0x16037d(0x1e8)](){const _0x3eed1b=_0x16037d;this['readyState']===_0x227030[_0x3eed1b(0x269)]||this[_0x3eed1b(0x1c9)]===_0x227030[_0x3eed1b(0x305)]||(this[_0x3eed1b(0x1e1)]=!0x0,this[_0x3eed1b(0x196)][_0x3eed1b(0x1e8)]());}[_0x16037d(0x230)](_0x1ae659,_0x581972,_0x2f0d12){const _0x257281=_0x16037d;if(this[_0x257281(0x1c9)]===_0x227030[_0x257281(0x269)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x1ae659=='function'?(_0x2f0d12=_0x1ae659,_0x1ae659=_0x581972=void 0x0):typeof _0x581972=='function'&&(_0x2f0d12=_0x581972,_0x581972=void 0x0),typeof _0x1ae659==_0x257281(0x213)&&(_0x1ae659=_0x1ae659['toString']()),this[_0x257281(0x1c9)]!==_0x227030[_0x257281(0x1df)]){_0x1d0257(this,_0x1ae659,_0x2f0d12);return;}_0x581972===void 0x0&&(_0x581972=!this['_isServer']),this[_0x257281(0x27b)]['ping'](_0x1ae659||_0x31ed88,_0x581972,_0x2f0d12);}[_0x16037d(0x2ca)](_0x5409c3,_0x16b4bd,_0x4feff5){const _0x1fbcf9=_0x16037d;if(this[_0x1fbcf9(0x1c9)]===_0x227030[_0x1fbcf9(0x269)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5409c3==_0x1fbcf9(0x223)?(_0x4feff5=_0x5409c3,_0x5409c3=_0x16b4bd=void 0x0):typeof _0x16b4bd=='function'&&(_0x4feff5=_0x16b4bd,_0x16b4bd=void 0x0),typeof _0x5409c3=='number'&&(_0x5409c3=_0x5409c3['toString']()),this[_0x1fbcf9(0x1c9)]!==_0x227030[_0x1fbcf9(0x1df)]){_0x1d0257(this,_0x5409c3,_0x4feff5);return;}_0x16b4bd===void 0x0&&(_0x16b4bd=!this[_0x1fbcf9(0x28e)]),this['_sender'][_0x1fbcf9(0x2ca)](_0x5409c3||_0x31ed88,_0x16b4bd,_0x4feff5);}[_0x16037d(0x1af)](){const _0x2e9873=_0x16037d;this[_0x2e9873(0x1c9)]===_0x227030['CONNECTING']||this[_0x2e9873(0x1c9)]===_0x227030[_0x2e9873(0x305)]||(this['_paused']=!0x1,this[_0x2e9873(0x2cf)][_0x2e9873(0x284)][_0x2e9873(0x1b1)]||this['_socket'][_0x2e9873(0x1af)]());}['send'](_0x469707,_0x271659,_0x5cc894){const _0x7f7340=_0x16037d;if(this[_0x7f7340(0x1c9)]===_0x227030[_0x7f7340(0x269)])throw new Error(_0x7f7340(0x212));if(typeof _0x271659==_0x7f7340(0x223)&&(_0x5cc894=_0x271659,_0x271659={}),typeof _0x469707==_0x7f7340(0x213)&&(_0x469707=_0x469707['toString']()),this[_0x7f7340(0x1c9)]!==_0x227030['OPEN']){_0x1d0257(this,_0x469707,_0x5cc894);return;}const _0x4da681={'binary':typeof _0x469707!=_0x7f7340(0x23e),'mask':!this[_0x7f7340(0x28e)],'compress':!0x0,'fin':!0x0,..._0x271659};this['_extensions'][_0x4a86ec[_0x7f7340(0x20b)]]||(_0x4da681['compress']=!0x1),this['_sender'][_0x7f7340(0x1dd)](_0x469707||_0x31ed88,_0x4da681,_0x5cc894);}[_0x16037d(0x2cb)](){const _0x1afd26=_0x16037d;if(this[_0x1afd26(0x1c9)]!==_0x227030['CLOSED']){if(this[_0x1afd26(0x1c9)]===_0x227030[_0x1afd26(0x269)]){_0x1dfbcf(this,this[_0x1afd26(0x2d1)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x1afd26(0x196)]&&(this[_0x1afd26(0x302)]=_0x227030[_0x1afd26(0x1fe)],this['_socket']['destroy']());}}}Object[_0x16037d(0x261)](_0x227030,_0x16037d(0x269),{'enumerable':!0x0,'value':_0x1edab2[_0x16037d(0x1ad)](_0x16037d(0x269))}),Object[_0x16037d(0x261)](_0x227030['prototype'],_0x16037d(0x269),{'enumerable':!0x0,'value':_0x1edab2[_0x16037d(0x1ad)](_0x16037d(0x269))}),Object[_0x16037d(0x261)](_0x227030,_0x16037d(0x1df),{'enumerable':!0x0,'value':_0x1edab2[_0x16037d(0x1ad)](_0x16037d(0x1df))}),Object[_0x16037d(0x261)](_0x227030['prototype'],'OPEN',{'enumerable':!0x0,'value':_0x1edab2[_0x16037d(0x1ad)](_0x16037d(0x1df))}),Object[_0x16037d(0x261)](_0x227030,_0x16037d(0x1fe),{'enumerable':!0x0,'value':_0x1edab2[_0x16037d(0x1ad)]('CLOSING')}),Object[_0x16037d(0x261)](_0x227030['prototype'],_0x16037d(0x1fe),{'enumerable':!0x0,'value':_0x1edab2[_0x16037d(0x1ad)](_0x16037d(0x1fe))}),Object[_0x16037d(0x261)](_0x227030,_0x16037d(0x305),{'enumerable':!0x0,'value':_0x1edab2[_0x16037d(0x1ad)](_0x16037d(0x305))}),Object[_0x16037d(0x261)](_0x227030[_0x16037d(0x2b3)],'CLOSED',{'enumerable':!0x0,'value':_0x1edab2[_0x16037d(0x1ad)](_0x16037d(0x305))}),[_0x16037d(0x317),'bufferedAmount','extensions',_0x16037d(0x2ae),_0x16037d(0x1f1),_0x16037d(0x1c9),_0x16037d(0x1b2)]['forEach'](_0x1a1af9=>{const _0x22600d=_0x16037d;Object[_0x22600d(0x261)](_0x227030[_0x22600d(0x2b3)],_0x1a1af9,{'enumerable':!0x0});}),[_0x16037d(0x216),_0x16037d(0x1be),_0x16037d(0x1c5),'message']['forEach'](_0x4114c2=>{const _0x489c43=_0x16037d;Object[_0x489c43(0x261)](_0x227030[_0x489c43(0x2b3)],'on'+_0x4114c2,{'enumerable':!0x0,'get'(){const _0x30adb4=_0x489c43;for(const _0x26d96d of this[_0x30adb4(0x200)](_0x4114c2))if(_0x26d96d[_0xe857c0])return _0x26d96d[_0xc18737];return null;},'set'(_0x35a023){const _0x22580a=_0x489c43;for(const _0x52f18c of this['listeners'](_0x4114c2))if(_0x52f18c[_0xe857c0]){this[_0x22580a(0x2e0)](_0x4114c2,_0x52f18c);break;}typeof _0x35a023==_0x22580a(0x223)&&this[_0x22580a(0x266)](_0x4114c2,_0x35a023,{[_0xe857c0]:!0x0});}});}),_0x227030[_0x16037d(0x2b3)][_0x16037d(0x266)]=_0xa0dd16,_0x227030[_0x16037d(0x2b3)]['removeEventListener']=_0x39bdb8,we=_0x227030;function _0x39451b(_0x317b32,_0x2db8ff,_0x6d4e09,_0x51733a){const _0x45a988=_0x16037d,_0x42342b={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4be06b[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x51733a,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x45a988(0x323),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x317b32['_autoPong']=_0x42342b[_0x45a988(0x1b4)],!_0x4be06b['includes'](_0x42342b[_0x45a988(0x1f3)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x42342b[_0x45a988(0x1f3)]+_0x45a988(0x264)+_0x4be06b[_0x45a988(0x250)](',\x20')+')');let _0x2a35c5;if(_0x2db8ff instanceof _0x318974)_0x2a35c5=_0x2db8ff;else try{_0x2a35c5=new _0x318974(_0x2db8ff);}catch{throw new SyntaxError(_0x45a988(0x1e2)+_0x2db8ff);}_0x2a35c5[_0x45a988(0x1f1)]===_0x45a988(0x1d6)?_0x2a35c5[_0x45a988(0x1f1)]=_0x45a988(0x193):_0x2a35c5[_0x45a988(0x1f1)]===_0x45a988(0x22f)&&(_0x2a35c5[_0x45a988(0x1f1)]=_0x45a988(0x2de)),_0x317b32['_url']=_0x2a35c5[_0x45a988(0x1eb)];const _0x3eb4f5=_0x2a35c5[_0x45a988(0x1f1)]===_0x45a988(0x2de),_0x32b081=_0x2a35c5[_0x45a988(0x1f1)]===_0x45a988(0x1c8);let _0x2938c1;if(_0x2a35c5[_0x45a988(0x1f1)]!==_0x45a988(0x193)&&!_0x3eb4f5&&!_0x32b081?_0x2938c1='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':_0x32b081&&!_0x2a35c5['pathname']?_0x2938c1=_0x45a988(0x2c2):_0x2a35c5['hash']&&(_0x2938c1=_0x45a988(0x228)),_0x2938c1){const _0x5216d2=new SyntaxError(_0x2938c1);if(_0x317b32[_0x45a988(0x2f8)]===0x0)throw _0x5216d2;_0x15a669(_0x317b32,_0x5216d2);return;}const _0x1e63d1=_0x3eb4f5?0x1bb:0x50,_0x338fdf=_0x23f13f(0x10)[_0x45a988(0x27f)](_0x45a988(0x33a)),_0x2c335a=_0x3eb4f5?_0x21ff30[_0x45a988(0x2b6)]:_0x3f665a['request'],_0x29dd9f=new Set();let _0x3323de;if(_0x42342b[_0x45a988(0x240)]=_0x42342b['createConnection']||(_0x3eb4f5?_0x3acc74:_0x9f6ac2),_0x42342b[_0x45a988(0x1c6)]=_0x42342b[_0x45a988(0x1c6)]||_0x1e63d1,_0x42342b[_0x45a988(0x227)]=_0x2a35c5['port']||_0x1e63d1,_0x42342b[_0x45a988(0x300)]=_0x2a35c5[_0x45a988(0x20c)]['startsWith']('[')?_0x2a35c5[_0x45a988(0x20c)]['slice'](0x1,-0x1):_0x2a35c5['hostname'],_0x42342b['headers']={..._0x42342b[_0x45a988(0x2a4)],'Sec-WebSocket-Version':_0x42342b[_0x45a988(0x1f3)],'Sec-WebSocket-Key':_0x338fdf,'Connection':_0x45a988(0x2da),'Upgrade':_0x45a988(0x199)},_0x42342b['path']=_0x2a35c5[_0x45a988(0x1ea)]+_0x2a35c5[_0x45a988(0x267)],_0x42342b[_0x45a988(0x241)]=_0x42342b[_0x45a988(0x19e)],_0x42342b[_0x45a988(0x2c7)]&&(_0x3323de=new _0x4a86ec(_0x42342b['perMessageDeflate']!==!0x0?_0x42342b[_0x45a988(0x2c7)]:{},!0x1,_0x42342b[_0x45a988(0x24e)]),_0x42342b[_0x45a988(0x2a4)]['Sec-WebSocket-Extensions']=_0x3d6166({[_0x4a86ec[_0x45a988(0x20b)]]:_0x3323de[_0x45a988(0x194)]()})),_0x6d4e09[_0x45a988(0x224)]){for(const _0x83e794 of _0x6d4e09){if(typeof _0x83e794!='string'||!_0x3f4da4[_0x45a988(0x281)](_0x83e794)||_0x29dd9f[_0x45a988(0x1f8)](_0x83e794))throw new SyntaxError(_0x45a988(0x17c));_0x29dd9f[_0x45a988(0x1fb)](_0x83e794);}_0x42342b['headers'][_0x45a988(0x1a4)]=_0x6d4e09[_0x45a988(0x250)](',');}if(_0x42342b['origin']&&(_0x42342b[_0x45a988(0x1f3)]<0xd?_0x42342b[_0x45a988(0x2a4)][_0x45a988(0x28d)]=_0x42342b[_0x45a988(0x1d2)]:_0x42342b['headers'][_0x45a988(0x1ec)]=_0x42342b[_0x45a988(0x1d2)]),(_0x2a35c5[_0x45a988(0x1bf)]||_0x2a35c5[_0x45a988(0x254)])&&(_0x42342b[_0x45a988(0x2a8)]=_0x2a35c5[_0x45a988(0x1bf)]+':'+_0x2a35c5[_0x45a988(0x254)]),_0x32b081){const _0x3d7fcf=_0x42342b[_0x45a988(0x322)]['split'](':');_0x42342b[_0x45a988(0x243)]=_0x3d7fcf[0x0],_0x42342b['path']=_0x3d7fcf[0x1];}let _0x2211ef;if(_0x42342b[_0x45a988(0x2ef)]){if(_0x317b32[_0x45a988(0x2f8)]===0x0){_0x317b32['_originalIpc']=_0x32b081,_0x317b32[_0x45a988(0x1bd)]=_0x3eb4f5,_0x317b32['_originalHostOrSocketPath']=_0x32b081?_0x42342b['socketPath']:_0x2a35c5[_0x45a988(0x300)];const _0x43f83a=_0x51733a&&_0x51733a['headers'];if(_0x51733a={..._0x51733a,'headers':{}},_0x43f83a){for(const [_0x42ab5a,_0x470256]of Object[_0x45a988(0x291)](_0x43f83a))_0x51733a[_0x45a988(0x2a4)][_0x42ab5a[_0x45a988(0x2ba)]()]=_0x470256;}}else{if(_0x317b32['listenerCount'](_0x45a988(0x2d5))===0x0){const _0x3b3819=_0x32b081?_0x317b32[_0x45a988(0x2a7)]?_0x42342b[_0x45a988(0x243)]===_0x317b32[_0x45a988(0x1a3)]:!0x1:_0x317b32[_0x45a988(0x2a7)]?!0x1:_0x2a35c5[_0x45a988(0x300)]===_0x317b32[_0x45a988(0x1a3)];(!_0x3b3819||_0x317b32[_0x45a988(0x1bd)]&&!_0x3eb4f5)&&(delete _0x42342b[_0x45a988(0x2a4)]['authorization'],delete _0x42342b[_0x45a988(0x2a4)]['cookie'],_0x3b3819||delete _0x42342b[_0x45a988(0x2a4)]['host'],_0x42342b[_0x45a988(0x2a8)]=void 0x0);}}_0x42342b[_0x45a988(0x2a8)]&&!_0x51733a['headers']['authorization']&&(_0x51733a[_0x45a988(0x2a4)][_0x45a988(0x2ab)]=_0x45a988(0x1b5)+Buffer[_0x45a988(0x1b9)](_0x42342b[_0x45a988(0x2a8)])['toString'](_0x45a988(0x33a))),_0x2211ef=_0x317b32['_req']=_0x2c335a(_0x42342b),_0x317b32[_0x45a988(0x2f8)]&&_0x317b32[_0x45a988(0x1fa)](_0x45a988(0x2d5),_0x317b32[_0x45a988(0x1b2)],_0x2211ef);}else _0x2211ef=_0x317b32[_0x45a988(0x2d1)]=_0x2c335a(_0x42342b);_0x42342b[_0x45a988(0x241)]&&_0x2211ef['on'](_0x45a988(0x241),()=>{const _0xa6ee11=_0x45a988;_0x1dfbcf(_0x317b32,_0x2211ef,_0xa6ee11(0x218));}),_0x2211ef['on'](_0x45a988(0x1be),_0x4664b2=>{const _0x41e09c=_0x45a988;_0x2211ef===null||_0x2211ef[_0x2d58d6]||(_0x2211ef=_0x317b32[_0x41e09c(0x2d1)]=null,_0x15a669(_0x317b32,_0x4664b2));}),_0x2211ef['on'](_0x45a988(0x304),_0x216e00=>{const _0x4d7c95=_0x45a988,_0x3500c7=_0x216e00[_0x4d7c95(0x2a4)]['location'],_0x123b66=_0x216e00['statusCode'];if(_0x3500c7&&_0x42342b['followRedirects']&&_0x123b66>=0x12c&&_0x123b66<0x190){if(++_0x317b32['_redirects']>_0x42342b[_0x4d7c95(0x25b)]){_0x1dfbcf(_0x317b32,_0x2211ef,_0x4d7c95(0x287));return;}_0x2211ef[_0x4d7c95(0x22d)]();let _0x5ef5bd;try{_0x5ef5bd=new _0x318974(_0x3500c7,_0x2db8ff);}catch{const _0x1f37a0=new SyntaxError(_0x4d7c95(0x1e2)+_0x3500c7);_0x15a669(_0x317b32,_0x1f37a0);return;}_0x39451b(_0x317b32,_0x5ef5bd,_0x6d4e09,_0x51733a);}else _0x317b32['emit'](_0x4d7c95(0x33b),_0x2211ef,_0x216e00)||_0x1dfbcf(_0x317b32,_0x2211ef,_0x4d7c95(0x1db)+_0x216e00[_0x4d7c95(0x32f)]);}),_0x2211ef['on'](_0x45a988(0x350),(_0x1ac6fe,_0x1ca624,_0x18370b)=>{const _0x2a01e0=_0x45a988;if(_0x317b32[_0x2a01e0(0x1fa)](_0x2a01e0(0x350),_0x1ac6fe),_0x317b32[_0x2a01e0(0x1c9)]!==_0x227030[_0x2a01e0(0x269)])return;_0x2211ef=_0x317b32[_0x2a01e0(0x2d1)]=null;const _0xcf7974=_0x1ac6fe[_0x2a01e0(0x2a4)][_0x2a01e0(0x350)];if(_0xcf7974===void 0x0||_0xcf7974[_0x2a01e0(0x2ba)]()!==_0x2a01e0(0x199)){_0x1dfbcf(_0x317b32,_0x1ca624,'Invalid\x20Upgrade\x20header');return;}const _0x315b60=_0x3452d2(_0x2a01e0(0x1ab))[_0x2a01e0(0x26d)](_0x338fdf+_0x50479e)[_0x2a01e0(0x2a1)]('base64');if(_0x1ac6fe[_0x2a01e0(0x2a4)]['sec-websocket-accept']!==_0x315b60){_0x1dfbcf(_0x317b32,_0x1ca624,_0x2a01e0(0x19d));return;}const _0x3cca2e=_0x1ac6fe[_0x2a01e0(0x2a4)]['sec-websocket-protocol'];let _0x260d02;if(_0x3cca2e!==void 0x0?_0x29dd9f[_0x2a01e0(0x245)]?_0x29dd9f[_0x2a01e0(0x1f8)](_0x3cca2e)||(_0x260d02=_0x2a01e0(0x30f)):_0x260d02=_0x2a01e0(0x34f):_0x29dd9f[_0x2a01e0(0x245)]&&(_0x260d02=_0x2a01e0(0x282)),_0x260d02){_0x1dfbcf(_0x317b32,_0x1ca624,_0x260d02);return;}_0x3cca2e&&(_0x317b32[_0x2a01e0(0x17b)]=_0x3cca2e);const _0x2652e3=_0x1ac6fe[_0x2a01e0(0x2a4)][_0x2a01e0(0x293)];if(_0x2652e3!==void 0x0){if(!_0x3323de){_0x1dfbcf(_0x317b32,_0x1ca624,_0x2a01e0(0x1f4));return;}let _0xa2612b;try{_0xa2612b=_0x83fc80(_0x2652e3);}catch{_0x1dfbcf(_0x317b32,_0x1ca624,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x5dcb73=Object[_0x2a01e0(0x262)](_0xa2612b);if(_0x5dcb73[_0x2a01e0(0x224)]!==0x1||_0x5dcb73[0x0]!==_0x4a86ec[_0x2a01e0(0x20b)]){_0x1dfbcf(_0x317b32,_0x1ca624,_0x2a01e0(0x253));return;}try{_0x3323de[_0x2a01e0(0x1ca)](_0xa2612b[_0x4a86ec[_0x2a01e0(0x20b)]]);}catch{_0x1dfbcf(_0x317b32,_0x1ca624,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x317b32[_0x2a01e0(0x2bf)][_0x4a86ec[_0x2a01e0(0x20b)]]=_0x3323de;}_0x317b32[_0x2a01e0(0x25f)](_0x1ca624,_0x18370b,{'allowSynchronousEvents':_0x42342b['allowSynchronousEvents'],'generateMask':_0x42342b[_0x2a01e0(0x2b9)],'maxPayload':_0x42342b[_0x2a01e0(0x24e)],'skipUTF8Validation':_0x42342b[_0x2a01e0(0x2ed)]});}),_0x42342b[_0x45a988(0x2c9)]?_0x42342b[_0x45a988(0x2c9)](_0x2211ef,_0x317b32):_0x2211ef['end']();}function _0x15a669(_0x1a46cc,_0x20b4c8){const _0x173e93=_0x16037d;_0x1a46cc[_0x173e93(0x302)]=_0x227030[_0x173e93(0x1fe)],_0x1a46cc[_0x173e93(0x18c)]=!0x0,_0x1a46cc[_0x173e93(0x1fa)]('error',_0x20b4c8),_0x1a46cc[_0x173e93(0x292)]();}function _0x9f6ac2(_0x466516){const _0x1c669f=_0x16037d;return _0x466516[_0x1c669f(0x322)]=_0x466516['socketPath'],_0xd49749[_0x1c669f(0x1ae)](_0x466516);}function _0x3acc74(_0x2b8a8a){const _0x5d5811=_0x16037d;return _0x2b8a8a[_0x5d5811(0x322)]=void 0x0,!_0x2b8a8a['servername']&&_0x2b8a8a[_0x5d5811(0x337)]!==''&&(_0x2b8a8a[_0x5d5811(0x337)]=_0xd49749[_0x5d5811(0x2b4)](_0x2b8a8a[_0x5d5811(0x300)])?'':_0x2b8a8a['host']),_0x250f11[_0x5d5811(0x1ae)](_0x2b8a8a);}function _0x1dfbcf(_0x26dc38,_0x1d5ecb,_0x392028){const _0x3efe59=_0x16037d;_0x26dc38['_readyState']=_0x227030[_0x3efe59(0x1fe)];const _0x7f0d8e=new Error(_0x392028);Error[_0x3efe59(0x2dd)](_0x7f0d8e,_0x1dfbcf),_0x1d5ecb[_0x3efe59(0x2c6)]?(_0x1d5ecb[_0x2d58d6]=!0x0,_0x1d5ecb['abort'](),_0x1d5ecb['socket']&&!_0x1d5ecb[_0x3efe59(0x298)][_0x3efe59(0x2d0)]&&_0x1d5ecb[_0x3efe59(0x298)]['destroy'](),process[_0x3efe59(0x2e1)](_0x15a669,_0x26dc38,_0x7f0d8e)):(_0x1d5ecb[_0x3efe59(0x2ee)](_0x7f0d8e),_0x1d5ecb['once'](_0x3efe59(0x1be),_0x26dc38[_0x3efe59(0x1fa)][_0x3efe59(0x2a9)](_0x26dc38,_0x3efe59(0x1be))),_0x1d5ecb[_0x3efe59(0x2ac)](_0x3efe59(0x1c5),_0x26dc38['emitClose'][_0x3efe59(0x2a9)](_0x26dc38)));}function _0x1d0257(_0x3a2cbf,_0x18a2f9,_0x420c31){const _0x9369d4=_0x16037d;if(_0x18a2f9){const _0x5d3978=_0x39c50f(_0x18a2f9)?_0x18a2f9['size']:_0x2fc54e(_0x18a2f9)[_0x9369d4(0x224)];_0x3a2cbf[_0x9369d4(0x196)]?_0x3a2cbf[_0x9369d4(0x27b)][_0x9369d4(0x1c0)]+=_0x5d3978:_0x3a2cbf['_bufferedAmount']+=_0x5d3978;}if(_0x420c31){const _0x1307a7=new Error(_0x9369d4(0x1f0)+_0x3a2cbf[_0x9369d4(0x1c9)]+'\x20('+_0x1edab2[_0x3a2cbf['readyState']]+')');process['nextTick'](_0x420c31,_0x1307a7);}}function _0x9fa83e(_0xa8f491,_0x33c9e2){const _0x5e89ea=_0x16037d,_0x11bede=this[_0x75afc4];_0x11bede[_0x5e89ea(0x22e)]=!0x0,_0x11bede[_0x5e89ea(0x22b)]=_0x33c9e2,_0x11bede[_0x5e89ea(0x297)]=_0xa8f491,_0x11bede[_0x5e89ea(0x196)][_0x75afc4]!==void 0x0&&(_0x11bede[_0x5e89ea(0x196)][_0x5e89ea(0x2e0)](_0x5e89ea(0x31f),_0x544379),process['nextTick'](_0xe7127c,_0x11bede[_0x5e89ea(0x196)]),_0xa8f491===0x3ed?_0x11bede[_0x5e89ea(0x1c5)]():_0x11bede[_0x5e89ea(0x1c5)](_0xa8f491,_0x33c9e2));}function _0x3fe671(){const _0x2b80d1=_0x16037d,_0x5bc599=this[_0x75afc4];_0x5bc599[_0x2b80d1(0x2ae)]||_0x5bc599['_socket'][_0x2b80d1(0x1af)]();}function _0x3a26dc(_0x1cc474){const _0x2f1d39=_0x16037d,_0x22bb84=this[_0x75afc4];_0x22bb84[_0x2f1d39(0x196)][_0x75afc4]!==void 0x0&&(_0x22bb84[_0x2f1d39(0x196)][_0x2f1d39(0x2e0)](_0x2f1d39(0x31f),_0x544379),process['nextTick'](_0xe7127c,_0x22bb84[_0x2f1d39(0x196)]),_0x22bb84[_0x2f1d39(0x1c5)](_0x1cc474[_0x2fecd1])),_0x22bb84['_errorEmitted']||(_0x22bb84[_0x2f1d39(0x18c)]=!0x0,_0x22bb84[_0x2f1d39(0x1fa)](_0x2f1d39(0x1be),_0x1cc474));}function _0x5597c5(){const _0x4a37ce=_0x16037d;this[_0x75afc4][_0x4a37ce(0x292)]();}function _0x13fe3e(_0x5f9966,_0xb3c6d4){const _0x4163e7=_0x16037d;this[_0x75afc4][_0x4163e7(0x1fa)](_0x4163e7(0x17e),_0x5f9966,_0xb3c6d4);}function _0x57a7a9(_0x445815){const _0x5a05dd=_0x16037d,_0x58c374=this[_0x75afc4];_0x58c374['_autoPong']&&_0x58c374['pong'](_0x445815,!this['_isServer'],_0x51177b),_0x58c374[_0x5a05dd(0x1fa)](_0x5a05dd(0x230),_0x445815);}function _0x576223(_0x3b07d0){const _0x323117=_0x16037d;this[_0x75afc4][_0x323117(0x1fa)](_0x323117(0x2ca),_0x3b07d0);}function _0xe7127c(_0x33d849){const _0x5057a0=_0x16037d;_0x33d849[_0x5057a0(0x1af)]();}function _0x209e97(_0x2c265a){const _0x5e5dc8=_0x16037d,_0x36ed5f=this[_0x75afc4];_0x36ed5f[_0x5e5dc8(0x1c9)]!==_0x227030[_0x5e5dc8(0x305)]&&(_0x36ed5f[_0x5e5dc8(0x1c9)]===_0x227030[_0x5e5dc8(0x1df)]&&(_0x36ed5f[_0x5e5dc8(0x302)]=_0x227030['CLOSING'],_0x39de50(_0x36ed5f)),this[_0x5e5dc8(0x196)][_0x5e5dc8(0x1b7)](),_0x36ed5f[_0x5e5dc8(0x18c)]||(_0x36ed5f[_0x5e5dc8(0x18c)]=!0x0,_0x36ed5f[_0x5e5dc8(0x1fa)](_0x5e5dc8(0x1be),_0x2c265a)));}function _0x39de50(_0x4fc87d){const _0x1ddbed=_0x16037d;_0x4fc87d[_0x1ddbed(0x231)]=setTimeout(_0x4fc87d[_0x1ddbed(0x196)][_0x1ddbed(0x2ee)][_0x1ddbed(0x2a9)](_0x4fc87d[_0x1ddbed(0x196)]),_0x2fe229);}function _0x13e223(){const _0x4ccd28=_0x16037d,_0x2f0d54=this[_0x75afc4];this['removeListener']('close',_0x13e223),this[_0x4ccd28(0x2e0)](_0x4ccd28(0x31f),_0x544379),this['removeListener'](_0x4ccd28(0x1b7),_0x421943),_0x2f0d54[_0x4ccd28(0x302)]=_0x227030[_0x4ccd28(0x1fe)];let _0xaff45d;!this['_readableState'][_0x4ccd28(0x234)]&&!_0x2f0d54['_closeFrameReceived']&&!_0x2f0d54[_0x4ccd28(0x2cf)][_0x4ccd28(0x284)][_0x4ccd28(0x1f2)]&&(_0xaff45d=_0x2f0d54[_0x4ccd28(0x196)][_0x4ccd28(0x290)]())!==null&&_0x2f0d54['_receiver'][_0x4ccd28(0x27e)](_0xaff45d),_0x2f0d54[_0x4ccd28(0x2cf)][_0x4ccd28(0x1b7)](),this[_0x75afc4]=void 0x0,clearTimeout(_0x2f0d54[_0x4ccd28(0x231)]),_0x2f0d54[_0x4ccd28(0x2cf)][_0x4ccd28(0x284)][_0x4ccd28(0x2e6)]||_0x2f0d54[_0x4ccd28(0x2cf)][_0x4ccd28(0x284)][_0x4ccd28(0x1f2)]?_0x2f0d54[_0x4ccd28(0x292)]():(_0x2f0d54[_0x4ccd28(0x2cf)]['on']('error',_0x5597c5),_0x2f0d54[_0x4ccd28(0x2cf)]['on'](_0x4ccd28(0x29e),_0x5597c5));}function _0x544379(_0x4a21ee){const _0x553140=_0x16037d;this[_0x75afc4][_0x553140(0x2cf)][_0x553140(0x27e)](_0x4a21ee)||this[_0x553140(0x1e8)]();}function _0x421943(){const _0x5142d1=_0x16037d,_0x53b374=this[_0x75afc4];_0x53b374[_0x5142d1(0x302)]=_0x227030['CLOSING'],_0x53b374[_0x5142d1(0x2cf)]['end'](),this['end']();}function _0x2752f8(){const _0x190ea5=_0x16037d,_0x258fb4=this[_0x75afc4];this['removeListener'](_0x190ea5(0x1be),_0x2752f8),this['on'](_0x190ea5(0x1be),_0x51177b),_0x258fb4&&(_0x258fb4[_0x190ea5(0x302)]=_0x227030[_0x190ea5(0x1fe)],this[_0x190ea5(0x2ee)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1561d1}=oe;function _0x58e443(_0x4b0f28){const _0x5283e3=_0x1bcc;_0x4b0f28[_0x5283e3(0x1fa)](_0x5283e3(0x1c5));}function _0x10d600(){const _0x1dbb50=_0x1bcc;!this[_0x1dbb50(0x2d0)]&&this[_0x1dbb50(0x284)][_0x1dbb50(0x2e6)]&&this[_0x1dbb50(0x2ee)]();}function _0x46b63f(_0x249dba){const _0x31948d=_0x1bcc;this[_0x31948d(0x2e0)]('error',_0x46b63f),this['destroy'](),this['listenerCount']('error')===0x0&&this[_0x31948d(0x1fa)](_0x31948d(0x1be),_0x249dba);}function _0x381791(_0x54d594,_0x380714){const _0x484dfd=_0x1bcc;let _0xce6c5d=!0x0;const _0x1e2219=new _0x1561d1({..._0x380714,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x54d594['on'](_0x484dfd(0x17e),function(_0x402c93,_0x1f2366){const _0x23bc83=_0x484dfd,_0x20188f=!_0x1f2366&&_0x1e2219[_0x23bc83(0x314)][_0x23bc83(0x208)]?_0x402c93['toString']():_0x402c93;_0x1e2219['push'](_0x20188f)||_0x54d594[_0x23bc83(0x1e8)]();}),_0x54d594[_0x484dfd(0x2ac)](_0x484dfd(0x1be),function(_0x16fbc6){const _0x2d6f3e=_0x484dfd;_0x1e2219[_0x2d6f3e(0x2d0)]||(_0xce6c5d=!0x1,_0x1e2219[_0x2d6f3e(0x2ee)](_0x16fbc6));}),_0x54d594['once']('close',function(){const _0x19ce09=_0x484dfd;_0x1e2219[_0x19ce09(0x2d0)]||_0x1e2219[_0x19ce09(0x236)](null);}),_0x1e2219[_0x484dfd(0x295)]=function(_0x2251aa,_0x3c5527){const _0x5494e9=_0x484dfd;if(_0x54d594['readyState']===_0x54d594['CLOSED']){_0x3c5527(_0x2251aa),process['nextTick'](_0x58e443,_0x1e2219);return;}let _0x5e8cf6=!0x1;_0x54d594[_0x5494e9(0x2ac)](_0x5494e9(0x1be),function(_0x1b9add){_0x5e8cf6=!0x0,_0x3c5527(_0x1b9add);}),_0x54d594[_0x5494e9(0x2ac)](_0x5494e9(0x1c5),function(){_0x5e8cf6||_0x3c5527(_0x2251aa),process['nextTick'](_0x58e443,_0x1e2219);}),_0xce6c5d&&_0x54d594[_0x5494e9(0x2cb)]();},_0x1e2219[_0x484dfd(0x2cc)]=function(_0x5a6001){const _0x26d885=_0x484dfd;if(_0x54d594['readyState']===_0x54d594['CONNECTING']){_0x54d594[_0x26d885(0x2ac)](_0x26d885(0x216),function(){const _0x1a1238=_0x26d885;_0x1e2219[_0x1a1238(0x2cc)](_0x5a6001);});return;}_0x54d594[_0x26d885(0x196)]!==null&&(_0x54d594[_0x26d885(0x196)][_0x26d885(0x284)][_0x26d885(0x2e6)]?(_0x5a6001(),_0x1e2219[_0x26d885(0x314)][_0x26d885(0x234)]&&_0x1e2219['destroy']()):(_0x54d594[_0x26d885(0x196)]['once'](_0x26d885(0x29e),function(){_0x5a6001();}),_0x54d594['close']()));},_0x1e2219[_0x484dfd(0x2c5)]=function(){const _0x973dcc=_0x484dfd;_0x54d594[_0x973dcc(0x2ae)]&&_0x54d594[_0x973dcc(0x1af)]();},_0x1e2219['_write']=function(_0x1adecb,_0x56bc04,_0x3f21a5){const _0x22e719=_0x484dfd;if(_0x54d594[_0x22e719(0x1c9)]===_0x54d594[_0x22e719(0x269)]){_0x54d594[_0x22e719(0x2ac)](_0x22e719(0x216),function(){_0x1e2219['_write'](_0x1adecb,_0x56bc04,_0x3f21a5);});return;}_0x54d594['send'](_0x1adecb,_0x3f21a5);},_0x1e2219['on']('end',_0x10d600),_0x1e2219['on'](_0x484dfd(0x1be),_0x46b63f),_0x1e2219;}return Oe=_0x381791,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x3368d5}=ae();function _0x293623(_0x1dbd72){const _0x2a6bc4=_0x1bcc,_0x41796a=new Set();let _0x203116=-0x1,_0x5d7141=-0x1,_0x1c3a2b=0x0;for(_0x1c3a2b;_0x1c3a2b<_0x1dbd72['length'];_0x1c3a2b++){const _0x40bb5e=_0x1dbd72[_0x2a6bc4(0x209)](_0x1c3a2b);if(_0x5d7141===-0x1&&_0x3368d5[_0x40bb5e]===0x1)_0x203116===-0x1&&(_0x203116=_0x1c3a2b);else{if(_0x1c3a2b!==0x0&&(_0x40bb5e===0x20||_0x40bb5e===0x9))_0x5d7141===-0x1&&_0x203116!==-0x1&&(_0x5d7141=_0x1c3a2b);else{if(_0x40bb5e===0x2c){if(_0x203116===-0x1)throw new SyntaxError(_0x2a6bc4(0x29f)+_0x1c3a2b);_0x5d7141===-0x1&&(_0x5d7141=_0x1c3a2b);const _0x2b52f7=_0x1dbd72['slice'](_0x203116,_0x5d7141);if(_0x41796a['has'](_0x2b52f7))throw new SyntaxError('The\x20\x22'+_0x2b52f7+_0x2a6bc4(0x2d6));_0x41796a[_0x2a6bc4(0x1fb)](_0x2b52f7),_0x203116=_0x5d7141=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1c3a2b);}}}if(_0x203116===-0x1||_0x5d7141!==-0x1)throw new SyntaxError(_0x2a6bc4(0x1b0));const _0x5542e3=_0x1dbd72['slice'](_0x203116,_0x1c3a2b);if(_0x41796a['has'](_0x5542e3))throw new SyntaxError('The\x20\x22'+_0x5542e3+_0x2a6bc4(0x2d6));return _0x41796a[_0x2a6bc4(0x1fb)](_0x5542e3),_0x41796a;}return Ce={'parse':_0x293623},Ce;}var Te,rt;function Ft(){const _0xb05e10=_0x15d4d8;if(rt)return Te;rt=0x1;const _0x262724=nt,_0xdd5100=ot,{Duplex:_0x4a2be6}=oe,{createHash:_0x4d09cd}=Le,_0xa07fc=ct(),_0x22830b=he(),_0x214637=At(),_0x589c05=Pe(),{GUID:_0x46d78e,kWebSocket:_0x207cae}=H(),_0x5438f8=/^[+/0-9A-Za-z]{22}==$/,_0x38fe81=0x0,_0x143b1f=0x1,_0xf0b774=0x2;class _0x5b2cf3 extends _0x262724{constructor(_0x11ee49,_0x3993c4){const _0xbed3cc=_0x1bcc;if(super(),_0x11ee49={'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':_0x589c05,..._0x11ee49},_0x11ee49['port']==null&&!_0x11ee49['server']&&!_0x11ee49[_0xbed3cc(0x336)]||_0x11ee49[_0xbed3cc(0x227)]!=null&&(_0x11ee49[_0xbed3cc(0x2e5)]||_0x11ee49[_0xbed3cc(0x336)])||_0x11ee49[_0xbed3cc(0x2e5)]&&_0x11ee49['noServer'])throw new TypeError(_0xbed3cc(0x1c4));if(_0x11ee49['port']!=null?(this[_0xbed3cc(0x2a6)]=_0xdd5100[_0xbed3cc(0x251)]((_0x36aa0f,_0x5592a3)=>{const _0x460ed3=_0xbed3cc,_0x5aea69=_0xdd5100[_0x460ed3(0x294)][0x1aa];_0x5592a3['writeHead'](0x1aa,{'Content-Length':_0x5aea69[_0x460ed3(0x224)],'Content-Type':'text/plain'}),_0x5592a3[_0x460ed3(0x1b7)](_0x5aea69);}),this['_server'][_0xbed3cc(0x329)](_0x11ee49['port'],_0x11ee49[_0xbed3cc(0x300)],_0x11ee49['backlog'],_0x3993c4)):_0x11ee49[_0xbed3cc(0x2e5)]&&(this[_0xbed3cc(0x2a6)]=_0x11ee49[_0xbed3cc(0x2e5)]),this['_server']){const _0x37330b=this[_0xbed3cc(0x1fa)][_0xbed3cc(0x2a9)](this,_0xbed3cc(0x202));this[_0xbed3cc(0x342)]=_0x3d02ec(this[_0xbed3cc(0x2a6)],{'listening':this[_0xbed3cc(0x1fa)][_0xbed3cc(0x2a9)](this,_0xbed3cc(0x34e)),'error':this['emit'][_0xbed3cc(0x2a9)](this,_0xbed3cc(0x1be)),'upgrade':(_0x582a46,_0x2799ca,_0x3a1b82)=>{const _0x54ea89=_0xbed3cc;this[_0x54ea89(0x1dc)](_0x582a46,_0x2799ca,_0x3a1b82,_0x37330b);}});}_0x11ee49[_0xbed3cc(0x2c7)]===!0x0&&(_0x11ee49['perMessageDeflate']={}),_0x11ee49[_0xbed3cc(0x18e)]&&(this['clients']=new Set(),this[_0xbed3cc(0x2d4)]=!0x1),this[_0xbed3cc(0x23f)]=_0x11ee49,this[_0xbed3cc(0x343)]=_0x38fe81;}[_0xb05e10(0x2d2)](){const _0x311646=_0xb05e10;if(this[_0x311646(0x23f)]['noServer'])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x311646(0x2a6)]?this[_0x311646(0x2a6)][_0x311646(0x2d2)]():null;}[_0xb05e10(0x1c5)](_0x923142){const _0x5e11cc=_0xb05e10;if(this[_0x5e11cc(0x343)]===_0xf0b774){_0x923142&&this['once'](_0x5e11cc(0x1c5),()=>{const _0x1138ef=_0x5e11cc;_0x923142(new Error(_0x1138ef(0x1f7)));}),process[_0x5e11cc(0x2e1)](_0xf4e1f8,this);return;}if(_0x923142&&this[_0x5e11cc(0x2ac)](_0x5e11cc(0x1c5),_0x923142),this[_0x5e11cc(0x343)]!==_0x143b1f){if(this[_0x5e11cc(0x343)]=_0x143b1f,this[_0x5e11cc(0x23f)][_0x5e11cc(0x336)]||this[_0x5e11cc(0x23f)][_0x5e11cc(0x2e5)])this[_0x5e11cc(0x2a6)]&&(this[_0x5e11cc(0x342)](),this[_0x5e11cc(0x342)]=this[_0x5e11cc(0x2a6)]=null),this[_0x5e11cc(0x349)]?this['clients'][_0x5e11cc(0x245)]?this[_0x5e11cc(0x2d4)]=!0x0:process[_0x5e11cc(0x2e1)](_0xf4e1f8,this):process[_0x5e11cc(0x2e1)](_0xf4e1f8,this);else{const _0x10f93e=this[_0x5e11cc(0x2a6)];this[_0x5e11cc(0x342)](),this['_removeListeners']=this[_0x5e11cc(0x2a6)]=null,_0x10f93e[_0x5e11cc(0x1c5)](()=>{_0xf4e1f8(this);});}}}[_0xb05e10(0x1c1)](_0x4de157){const _0x4270b2=_0xb05e10;if(this['options'][_0x4270b2(0x322)]){const _0x1c9191=_0x4de157[_0x4270b2(0x1b2)][_0x4270b2(0x1ad)]('?');if((_0x1c9191!==-0x1?_0x4de157[_0x4270b2(0x1b2)][_0x4270b2(0x183)](0x0,_0x1c9191):_0x4de157['url'])!==this[_0x4270b2(0x23f)][_0x4270b2(0x322)])return!0x1;}return!0x0;}[_0xb05e10(0x1dc)](_0x1a2413,_0xf32179,_0x4363de,_0x2f934c){const _0x510855=_0xb05e10;_0xf32179['on']('error',_0x479efd);const _0x5a6397=_0x1a2413[_0x510855(0x2a4)][_0x510855(0x271)],_0x2e9cd3=_0x1a2413[_0x510855(0x2a4)][_0x510855(0x350)],_0x1605f1=+_0x1a2413[_0x510855(0x2a4)][_0x510855(0x237)];if(_0x1a2413[_0x510855(0x341)]!==_0x510855(0x323)){_0x29c42f(this,_0x1a2413,_0xf32179,0x195,_0x510855(0x258));return;}if(_0x2e9cd3===void 0x0||_0x2e9cd3[_0x510855(0x2ba)]()!=='websocket'){_0x29c42f(this,_0x1a2413,_0xf32179,0x190,_0x510855(0x34d));return;}if(_0x5a6397===void 0x0||!_0x5438f8[_0x510855(0x281)](_0x5a6397)){_0x29c42f(this,_0x1a2413,_0xf32179,0x190,_0x510855(0x2d7));return;}if(_0x1605f1!==0x8&&_0x1605f1!==0xd){_0x29c42f(this,_0x1a2413,_0xf32179,0x190,_0x510855(0x25e));return;}if(!this[_0x510855(0x1c1)](_0x1a2413)){_0x4cb126(_0xf32179,0x190);return;}const _0x5353dc=_0x1a2413[_0x510855(0x2a4)][_0x510855(0x2dc)];let _0x5e90a8=new Set();if(_0x5353dc!==void 0x0)try{_0x5e90a8=_0x214637[_0x510855(0x311)](_0x5353dc);}catch{_0x29c42f(this,_0x1a2413,_0xf32179,0x190,_0x510855(0x332));return;}const _0x8a9ba4=_0x1a2413[_0x510855(0x2a4)][_0x510855(0x293)],_0x1abed6={};if(this['options'][_0x510855(0x2c7)]&&_0x8a9ba4!==void 0x0){const _0xc66ae0=new _0x22830b(this[_0x510855(0x23f)][_0x510855(0x2c7)],!0x0,this[_0x510855(0x23f)][_0x510855(0x24e)]);try{const _0x454abd=_0xa07fc[_0x510855(0x311)](_0x8a9ba4);_0x454abd[_0x22830b[_0x510855(0x20b)]]&&(_0xc66ae0['accept'](_0x454abd[_0x22830b[_0x510855(0x20b)]]),_0x1abed6[_0x22830b[_0x510855(0x20b)]]=_0xc66ae0);}catch{_0x29c42f(this,_0x1a2413,_0xf32179,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x510855(0x23f)][_0x510855(0x26f)]){const _0x5942df={'origin':_0x1a2413[_0x510855(0x2a4)][''+(_0x1605f1===0x8?_0x510855(0x28f):_0x510855(0x1d2))],'secure':!!(_0x1a2413['socket'][_0x510855(0x1e0)]||_0x1a2413['socket'][_0x510855(0x259)]),'req':_0x1a2413};if(this[_0x510855(0x23f)][_0x510855(0x26f)][_0x510855(0x224)]===0x2){this['options'][_0x510855(0x26f)](_0x5942df,(_0x19f77a,_0x5eef4c,_0x540cb7,_0x5e5d8f)=>{const _0x5f0c93=_0x510855;if(!_0x19f77a)return _0x4cb126(_0xf32179,_0x5eef4c||0x191,_0x540cb7,_0x5e5d8f);this[_0x5f0c93(0x1cd)](_0x1abed6,_0x5a6397,_0x5e90a8,_0x1a2413,_0xf32179,_0x4363de,_0x2f934c);});return;}if(!this[_0x510855(0x23f)][_0x510855(0x26f)](_0x5942df))return _0x4cb126(_0xf32179,0x191);}this[_0x510855(0x1cd)](_0x1abed6,_0x5a6397,_0x5e90a8,_0x1a2413,_0xf32179,_0x4363de,_0x2f934c);}[_0xb05e10(0x1cd)](_0x53bfef,_0x35bad3,_0x1b3b1b,_0x2d6f04,_0x28d31e,_0x41ca41,_0xcfb7f4){const _0x86992=_0xb05e10;if(!_0x28d31e[_0x86992(0x1d8)]||!_0x28d31e[_0x86992(0x184)])return _0x28d31e['destroy']();if(_0x28d31e[_0x207cae])throw new Error(_0x86992(0x2d3));if(this[_0x86992(0x343)]>_0x38fe81)return _0x4cb126(_0x28d31e,0x1f7);const _0x2c3142=[_0x86992(0x2c3),_0x86992(0x30e),'Connection:\x20Upgrade',_0x86992(0x1da)+_0x4d09cd(_0x86992(0x1ab))['update'](_0x35bad3+_0x46d78e)[_0x86992(0x2a1)](_0x86992(0x33a))],_0x15e4ff=new this[(_0x86992(0x23f))][(_0x86992(0x233))](null,void 0x0,this[_0x86992(0x23f)]);if(_0x1b3b1b[_0x86992(0x245)]){const _0x143a85=this[_0x86992(0x23f)]['handleProtocols']?this[_0x86992(0x23f)][_0x86992(0x288)](_0x1b3b1b,_0x2d6f04):_0x1b3b1b[_0x86992(0x286)]()[_0x86992(0x1cb)]()[_0x86992(0x2b2)];_0x143a85&&(_0x2c3142[_0x86992(0x236)](_0x86992(0x2a5)+_0x143a85),_0x15e4ff['_protocol']=_0x143a85);}if(_0x53bfef[_0x22830b['extensionName']]){const _0x18aad3=_0x53bfef[_0x22830b[_0x86992(0x20b)]][_0x86992(0x315)],_0x16b537=_0xa07fc['format']({[_0x22830b[_0x86992(0x20b)]]:[_0x18aad3]});_0x2c3142['push'](_0x86992(0x2a3)+_0x16b537),_0x15e4ff[_0x86992(0x2bf)]=_0x53bfef;}this['emit'](_0x86992(0x2a4),_0x2c3142,_0x2d6f04),_0x28d31e[_0x86992(0x27e)](_0x2c3142['concat']('\x0d\x0a')['join']('\x0d\x0a')),_0x28d31e[_0x86992(0x2e0)]('error',_0x479efd),_0x15e4ff[_0x86992(0x25f)](_0x28d31e,_0x41ca41,{'allowSynchronousEvents':this[_0x86992(0x23f)]['allowSynchronousEvents'],'maxPayload':this[_0x86992(0x23f)][_0x86992(0x24e)],'skipUTF8Validation':this['options'][_0x86992(0x2ed)]}),this[_0x86992(0x349)]&&(this[_0x86992(0x349)][_0x86992(0x1fb)](_0x15e4ff),_0x15e4ff['on'](_0x86992(0x1c5),()=>{const _0x5b1b88=_0x86992;this[_0x5b1b88(0x349)]['delete'](_0x15e4ff),this[_0x5b1b88(0x2d4)]&&!this['clients'][_0x5b1b88(0x245)]&&process['nextTick'](_0xf4e1f8,this);})),_0xcfb7f4(_0x15e4ff,_0x2d6f04);}}Te=_0x5b2cf3;function _0x3d02ec(_0x411ea2,_0x56dee4){const _0xcecff8=_0xb05e10;for(const _0x4bf561 of Object[_0xcecff8(0x262)](_0x56dee4))_0x411ea2['on'](_0x4bf561,_0x56dee4[_0x4bf561]);return function(){const _0x3e5eff=_0xcecff8;for(const _0x96c258 of Object['keys'](_0x56dee4))_0x411ea2[_0x3e5eff(0x2e0)](_0x96c258,_0x56dee4[_0x96c258]);};}function _0xf4e1f8(_0x2a090f){const _0x7e6e69=_0xb05e10;_0x2a090f['_state']=_0xf0b774,_0x2a090f[_0x7e6e69(0x1fa)](_0x7e6e69(0x1c5));}function _0x479efd(){const _0x92bb57=_0xb05e10;this[_0x92bb57(0x2ee)]();}function _0x4cb126(_0x162fc6,_0x10fea7,_0x1c36ba,_0x58f15a){const _0x5e4da4=_0xb05e10;_0x1c36ba=_0x1c36ba||_0xdd5100[_0x5e4da4(0x294)][_0x10fea7],_0x58f15a={'Connection':_0x5e4da4(0x1c5),'Content-Type':_0x5e4da4(0x32b),'Content-Length':Buffer['byteLength'](_0x1c36ba),..._0x58f15a},_0x162fc6[_0x5e4da4(0x2ac)]('finish',_0x162fc6[_0x5e4da4(0x2ee)]),_0x162fc6[_0x5e4da4(0x1b7)]('HTTP/1.1\x20'+_0x10fea7+'\x20'+_0xdd5100['STATUS_CODES'][_0x10fea7]+'\x0d\x0a'+Object['keys'](_0x58f15a)[_0x5e4da4(0x29b)](_0x330a2c=>_0x330a2c+':\x20'+_0x58f15a[_0x330a2c])['join']('\x0d\x0a')+_0x5e4da4(0x252)+_0x1c36ba);}function _0x29c42f(_0x3cc1bb,_0x32081f,_0x3a8fb2,_0x2fc887,_0x3289b4){const _0xf3c5d7=_0xb05e10;if(_0x3cc1bb[_0xf3c5d7(0x2b0)](_0xf3c5d7(0x179))){const _0x3d4e5f=new Error(_0x3289b4);Error['captureStackTrace'](_0x3d4e5f,_0x29c42f),_0x3cc1bb[_0xf3c5d7(0x1fa)]('wsClientError',_0x3d4e5f,_0x3a8fb2,_0x32081f);}else _0x4cb126(_0x3a8fb2,_0x2fc887,_0x3289b4);}return Te;}Ft();var jt=Object[_0x15d4d8(0x28a)],Wt=(_0x28b1c9,_0x223230,_0x25faeb,_0x313d8f)=>{const _0x59a42d=_0x15d4d8;for(var _0x3ac855=_0x313d8f>0x1?void 0x0:_0x313d8f?jt(_0x223230,_0x25faeb):_0x223230,_0x4e1a88=_0x28b1c9[_0x59a42d(0x224)]-0x1,_0x5f3bd8;_0x4e1a88>=0x0;_0x4e1a88--)(_0x5f3bd8=_0x28b1c9[_0x4e1a88])&&(_0x3ac855=_0x5f3bd8(_0x3ac855)||_0x3ac855);return _0x3ac855;},qt=(_0x36891d,_0x1bde43)=>(_0x5d54ad,_0xcb921f)=>_0x1bde43(_0x5d54ad,_0xcb921f,_0x36891d);let ke=class extends A[_0x15d4d8(0x325)]{constructor(_0x1988b3){super(),this['_configService']=_0x1988b3;}['createSocket'](_0x2f198a){const _0x42aeb4=_0x15d4d8;var _0x69dbc0;const _0x47f260=(_0x69dbc0=this[_0x42aeb4(0x214)][_0x42aeb4(0x206)](fe))==null?void 0x0:_0x69dbc0[_0x42aeb4(0x192)];try{const _0x49954d=new $t(_0x2f198a,{'headers':{..._0x47f260}}),_0x19adf1=new A[(_0x42aeb4(0x247))]();return{'URL':_0x2f198a,'close':(_0x2c1cfe,_0x21a9fc)=>{const _0x3f5ac8=_0x42aeb4;_0x49954d[_0x3f5ac8(0x1c5)](_0x2c1cfe,_0x21a9fc),_0x19adf1[_0x3f5ac8(0x220)]();},'send':_0x2da895=>{const _0x382ccf=_0x42aeb4;_0x49954d[_0x382ccf(0x1dd)](_0x2da895);},'open$':new V[(_0x42aeb4(0x22c))](_0x209fbd=>{const _0x328ba0=_0x42aeb4,_0x446c33=_0x21a655=>_0x209fbd[_0x328ba0(0x1cb)](_0x21a655);_0x49954d['addEventListener'](_0x328ba0(0x216),_0x446c33),_0x19adf1[_0x328ba0(0x1fb)](A[_0x328ba0(0x257)](()=>_0x49954d[_0x328ba0(0x249)](_0x328ba0(0x216),_0x446c33)));})['pipe'](V[_0x42aeb4(0x2c8)]()),'close$':new V['Observable'](_0x5d48ee=>{const _0x414e40=_0x42aeb4,_0x4b2a18=_0x56428f=>_0x5d48ee[_0x414e40(0x1cb)](_0x56428f);_0x49954d[_0x414e40(0x266)]('close',_0x4b2a18),_0x19adf1[_0x414e40(0x1fb)](A[_0x414e40(0x257)](()=>_0x49954d['removeEventListener'](_0x414e40(0x1c5),_0x4b2a18)));})['pipe'](V['share']()),'error$':new V[(_0x42aeb4(0x22c))](_0x5cdc28=>{const _0x44119f=_0x42aeb4,_0x301639=_0x3ce877=>_0x5cdc28[_0x44119f(0x1cb)](_0x3ce877);_0x49954d[_0x44119f(0x266)](_0x44119f(0x1be),_0x301639),_0x19adf1[_0x44119f(0x1fb)](A[_0x44119f(0x257)](()=>_0x49954d[_0x44119f(0x249)]('error',_0x301639)));})[_0x42aeb4(0x17a)](V[_0x42aeb4(0x2c8)]()),'message$':new V[(_0x42aeb4(0x22c))](_0x435020=>{const _0x2972a9=_0x42aeb4,_0x56c0a4=_0x5d457e=>_0x435020['next'](_0x5d457e);_0x49954d[_0x2972a9(0x266)](_0x2972a9(0x17e),_0x56c0a4),_0x19adf1[_0x2972a9(0x1fb)](A[_0x2972a9(0x257)](()=>_0x49954d[_0x2972a9(0x249)](_0x2972a9(0x17e),_0x56c0a4)));})['pipe'](V[_0x42aeb4(0x2c8)]())};}catch(_0x4211d8){return console['error'](_0x4211d8),null;}}};ke=Wt([qt(0x0,A[_0x15d4d8(0x18b)])],ke);var Gt=Object[_0x15d4d8(0x261)],Vt=Object[_0x15d4d8(0x28a)],Ht=(_0x231dcf,_0x555f57,_0x1aecc7)=>_0x555f57 in _0x231dcf?Gt(_0x231dcf,_0x555f57,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1aecc7}):_0x231dcf[_0x555f57]=_0x1aecc7,zt=(_0x2d4c3a,_0x26a9a5,_0x2d8439,_0x33f7ba)=>{for(var _0x248f28=_0x33f7ba>0x1?void 0x0:_0x33f7ba?Vt(_0x26a9a5,_0x2d8439):_0x26a9a5,_0x330d2d=_0x2d4c3a['length']-0x1,_0x4bfde2;_0x330d2d>=0x0;_0x330d2d--)(_0x4bfde2=_0x2d4c3a[_0x330d2d])&&(_0x248f28=_0x4bfde2(_0x248f28)||_0x248f28);return _0x248f28;},Ne=(_0x171591,_0x2b64b0)=>(_0x3d2c4b,_0x386f18)=>_0x2b64b0(_0x3d2c4b,_0x386f18,_0x171591),Yt=(_0x4bd57b,_0x305dad,_0x2c4a5e)=>Ht(_0x4bd57b,_0x305dad+'',_0x2c4a5e);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x15d4d8(0x2e9)]{constructor(_0x317380=Ct,_0x378587,_0xfbc700,_0x37a72b){const _0x2f856d=_0x15d4d8;_0x317380[_0x2f856d(0x192)]||_0x378587[_0x2f856d(0x31c)](_0x2f856d(0x1e3)),super(),this[_0x2f856d(0x214)]=_0xfbc700,this[_0x2f856d(0x1d1)]=_0x37a72b,this[_0x2f856d(0x214)][_0x2f856d(0x2ea)](fe,_0x317380);}[_0x15d4d8(0x24d)](){this['_registerDependencies']();}[_0x15d4d8(0x30b)](){const _0x4999d4=_0x15d4d8;A[_0x4999d4(0x246)](this['_injector'],[[it[_0x4999d4(0x19a)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x15d4d8(0x2e4),_0x15d4d8(0x24a)),exports[_0x15d4d8(0x25d)]=zt([A[_0x15d4d8(0x1d9)](st[_0x15d4d8(0x2b5)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x15d4d8(0x18b)]),Ne(0x3,A[_0x15d4d8(0x29c)](A[_0x15d4d8(0x17d)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x1a0168,_0x2b6051,_0x5f0b2e,_0x447afd)=>{const _0x26245e=_0x15d4d8;for(var _0x32a0dd=_0x447afd>0x1?void 0x0:_0x447afd?Kt(_0x2b6051,_0x5f0b2e):_0x2b6051,_0x411792=_0x1a0168[_0x26245e(0x224)]-0x1,_0x22780f;_0x411792>=0x0;_0x411792--)(_0x22780f=_0x1a0168[_0x411792])&&(_0x32a0dd=_0x22780f(_0x32a0dd)||_0x32a0dd);return _0x32a0dd;},ne=(_0x1f982d,_0x49d96b)=>(_0x55ccc4,_0x5dcee5)=>_0x49d96b(_0x55ccc4,_0x5dcee5,_0x1f982d);exports['NodeCollaborationSocketService']=class extends st[_0x15d4d8(0x23d)]{constructor(_0x185c17,_0x590e0f,_0x1b5d03,_0x5638ab,_0x1be290){const _0x138035=_0x15d4d8;super(_0x185c17,_0x590e0f,_0x1b5d03,_0x5638ab,_0x1be290);const _0x1e14da=this[_0x138035(0x214)][_0x138035(0x206)](fe);this[_0x138035(0x207)][_0x138035(0x244)]({'interceptor':(_0x2f78ef,_0x12a696)=>{const _0x3bd7cb=_0x138035;var _0x138953;const _0xcc4231=_0x2f78ef[_0x3bd7cb(0x2a4)];return(_0x138953=_0x1e14da==null?void 0x0:_0x1e14da[_0x3bd7cb(0x192)])!=null&&_0x138953['cookie']&&_0xcc4231[_0x3bd7cb(0x1cf)](_0x3bd7cb(0x260),_0x1e14da['customHeaders'][_0x3bd7cb(0x303)]),_0x12a696(_0x2f78ef);}});}async[_0x15d4d8(0x2ff)](_0x497e89){return this['_doCreateSocket'](_0x497e89);}},exports[_0x15d4d8(0x1ce)]=Xt([ne(0x0,A[_0x15d4d8(0x29c)](A[_0x15d4d8(0x17d)])),ne(0x1,A[_0x15d4d8(0x29c)](it[_0x15d4d8(0x29a)])),ne(0x2,A[_0x15d4d8(0x18b)]),ne(0x3,A[_0x15d4d8(0x340)]),ne(0x4,Ot[_0x15d4d8(0x1b6)])],exports[_0x15d4d8(0x1ce)]),exports[_0x15d4d8(0x225)]=fe;