@univerjs-pro/collaboration-client-node 0.9.4-nightly.202507290713 → 0.9.4-nightly.202507290757

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 _0x4dd9b1=_0x2602;(function(_0xd4df84,_0x535ced){const _0x38312c=_0x2602,_0x3c1994=_0xd4df84();while(!![]){try{const _0x295805=-parseInt(_0x38312c(0xbe))/0x1*(-parseInt(_0x38312c(0x1b4))/0x2)+parseInt(_0x38312c(0x1c5))/0x3+parseInt(_0x38312c(0xc2))/0x4+-parseInt(_0x38312c(0x245))/0x5*(-parseInt(_0x38312c(0x134))/0x6)+parseInt(_0x38312c(0xed))/0x7*(parseInt(_0x38312c(0xe2))/0x8)+-parseInt(_0x38312c(0x22b))/0x9*(parseInt(_0x38312c(0xf9))/0xa)+-parseInt(_0x38312c(0x1cd))/0xb;if(_0x295805===_0x535ced)break;else _0x3c1994['push'](_0x3c1994['shift']());}catch(_0x335319){_0x3c1994['push'](_0x3c1994['shift']());}}}(_0x1e9c,0xc392d));Object[_0x4dd9b1(0xf0)](exports,Symbol['toStringTag'],{'value':_0x4dd9b1(0x1a0)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x4dd9b1(0x90),Ct={'customHeaders':{}};function Tt(_0x2d843b){const _0x5e0f1d=_0x4dd9b1;return _0x2d843b&&_0x2d843b[_0x5e0f1d(0x1de)]&&Object[_0x5e0f1d(0xb9)][_0x5e0f1d(0x161)][_0x5e0f1d(0xd8)](_0x2d843b,_0x5e0f1d(0x1f8))?_0x2d843b[_0x5e0f1d(0x1f8)]:_0x2d843b;}function at(_0x295435){const _0x27bcbf=_0x4dd9b1;if(Object[_0x27bcbf(0xb9)][_0x27bcbf(0x161)][_0x27bcbf(0xd8)](_0x295435,_0x27bcbf(0x1de)))return _0x295435;var _0x185a94=_0x295435[_0x27bcbf(0x1f8)];if(typeof _0x185a94==_0x27bcbf(0x16e)){var _0x3d8fea=function _0x437ed6(){const _0x56340b=_0x27bcbf;var _0x231aaa=!0x1;try{_0x231aaa=this instanceof _0x437ed6;}catch{}return _0x231aaa?Reflect[_0x56340b(0x14a)](_0x185a94,arguments,this[_0x56340b(0x20e)]):_0x185a94['apply'](this,arguments);};_0x3d8fea[_0x27bcbf(0xb9)]=_0x185a94[_0x27bcbf(0xb9)];}else _0x3d8fea={};return Object[_0x27bcbf(0xf0)](_0x3d8fea,_0x27bcbf(0x1de),{'value':!0x0}),Object[_0x27bcbf(0xeb)](_0x295435)[_0x27bcbf(0x178)](function(_0x592ca1){const _0x2b6acf=_0x27bcbf;var _0x3ac3ce=Object[_0x2b6acf(0x8d)](_0x295435,_0x592ca1);Object[_0x2b6acf(0xf0)](_0x3d8fea,_0x592ca1,_0x3ac3ce[_0x2b6acf(0x234)]?_0x3ac3ce:{'enumerable':!0x0,'get':function(){return _0x295435[_0x592ca1];}});}),_0x3d8fea;}var se={'exports':{}},ge,Ge;function H(){const _0x3a4d87=_0x4dd9b1;if(Ge)return ge;Ge=0x1;const _0x290848=[_0x3a4d87(0x154),_0x3a4d87(0x1a1),_0x3a4d87(0x16a)],_0x545513=typeof Blob<'u';return _0x545513&&_0x290848[_0x3a4d87(0x119)](_0x3a4d87(0x1a6)),ge={'BINARY_TYPES':_0x290848,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x3a4d87(0x163),'hasBlob':_0x545513,'kForOnEventAttribute':Symbol(_0x3a4d87(0x148)),'kListener':Symbol('kListener'),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x3a4d87(0x128)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x4dd9b1(0x93)](Object[_0x4dd9b1(0xf0)]({'__proto__':null,'default':Nt},Symbol[_0x4dd9b1(0x19b)],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x186fc9=_0x4dd9b1;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x537035}=H(),_0x18fb1b=Buffer[Symbol['species']];function _0xdfd937(_0x469362,_0x30ce9b){const _0x399128=_0x2602;if(_0x469362['length']===0x0)return _0x537035;if(_0x469362[_0x399128(0x217)]===0x1)return _0x469362[0x0];const _0xf6d591=Buffer[_0x399128(0x101)](_0x30ce9b);let _0x41325e=0x0;for(let _0x3fff87=0x0;_0x3fff87<_0x469362['length'];_0x3fff87++){const _0x2e7c8f=_0x469362[_0x3fff87];_0xf6d591[_0x399128(0x13b)](_0x2e7c8f,_0x41325e),_0x41325e+=_0x2e7c8f[_0x399128(0x217)];}return _0x41325e<_0x30ce9b?new _0x18fb1b(_0xf6d591[_0x399128(0x1e1)],_0xf6d591[_0x399128(0x205)],_0x41325e):_0xf6d591;}function _0x2844f8(_0x3edb8d,_0x16e22f,_0xdf76a3,_0x2860f6,_0x3d857f){for(let _0x1b534b=0x0;_0x1b534b<_0x3d857f;_0x1b534b++)_0xdf76a3[_0x2860f6+_0x1b534b]=_0x3edb8d[_0x1b534b]^_0x16e22f[_0x1b534b&0x3];}function _0x3e6a1a(_0xfab902,_0x42fc8b){const _0x4755b0=_0x2602;for(let _0x245f93=0x0;_0x245f93<_0xfab902[_0x4755b0(0x217)];_0x245f93++)_0xfab902[_0x245f93]^=_0x42fc8b[_0x245f93&0x3];}function _0x4c622b(_0x30e09c){const _0x4cbc68=_0x2602;return _0x30e09c['length']===_0x30e09c[_0x4cbc68(0x1e1)][_0x4cbc68(0x20d)]?_0x30e09c[_0x4cbc68(0x1e1)]:_0x30e09c[_0x4cbc68(0x1e1)][_0x4cbc68(0xca)](_0x30e09c[_0x4cbc68(0x205)],_0x30e09c[_0x4cbc68(0x205)]+_0x30e09c[_0x4cbc68(0x217)]);}function _0x4f66e8(_0x5e51f5){const _0x25dd6f=_0x2602;if(_0x4f66e8[_0x25dd6f(0x218)]=!0x0,Buffer['isBuffer'](_0x5e51f5))return _0x5e51f5;let _0x3a331f;return _0x5e51f5 instanceof ArrayBuffer?_0x3a331f=new _0x18fb1b(_0x5e51f5):ArrayBuffer['isView'](_0x5e51f5)?_0x3a331f=new _0x18fb1b(_0x5e51f5[_0x25dd6f(0x1e1)],_0x5e51f5['byteOffset'],_0x5e51f5['byteLength']):(_0x3a331f=Buffer[_0x25dd6f(0xb2)](_0x5e51f5),_0x4f66e8[_0x25dd6f(0x218)]=!0x1),_0x3a331f;}if(se[_0x186fc9(0xf4)]={'concat':_0xdfd937,'mask':_0x2844f8,'toArrayBuffer':_0x4c622b,'toBuffer':_0x4f66e8,'unmask':_0x3e6a1a},!process[_0x186fc9(0xa3)]['WS_NO_BUFFER_UTIL'])try{const _0x72d4ff=Lt;se[_0x186fc9(0xf4)]['mask']=function(_0x3c252d,_0x247f49,_0x4c8fd3,_0x5e879d,_0x431d9e){const _0x2046c4=_0x186fc9;_0x431d9e<0x30?_0x2844f8(_0x3c252d,_0x247f49,_0x4c8fd3,_0x5e879d,_0x431d9e):_0x72d4ff[_0x2046c4(0x120)](_0x3c252d,_0x247f49,_0x4c8fd3,_0x5e879d,_0x431d9e);},se[_0x186fc9(0xf4)]['unmask']=function(_0x2ea4b8,_0x7df7d9){const _0x1b04f0=_0x186fc9;_0x2ea4b8['length']<0x20?_0x3e6a1a(_0x2ea4b8,_0x7df7d9):_0x72d4ff[_0x1b04f0(0x1c8)](_0x2ea4b8,_0x7df7d9);};}catch{}return se[_0x186fc9(0xf4)];}var ye,He;function Pt(){const _0xe22834=_0x4dd9b1;if(He)return ye;He=0x1;const _0x1d9320=Symbol('kDone'),_0x2ca0cc=Symbol(_0xe22834(0xb7));class _0x1fa0f8{constructor(_0x4eded6){const _0x860808=_0xe22834;this[_0x1d9320]=()=>{const _0xd8bc3=_0x2602;this[_0xd8bc3(0x164)]--,this[_0x2ca0cc]();},this[_0x860808(0x9f)]=_0x4eded6||0x1/0x0,this[_0x860808(0x125)]=[],this[_0x860808(0x164)]=0x0;}[_0xe22834(0x107)](_0x3e33a3){const _0x3b6559=_0xe22834;this[_0x3b6559(0x125)][_0x3b6559(0x119)](_0x3e33a3),this[_0x2ca0cc]();}[_0x2ca0cc](){const _0x21a323=_0xe22834;if(this[_0x21a323(0x164)]!==this[_0x21a323(0x9f)]&&this['jobs'][_0x21a323(0x217)]){const _0x46a791=this[_0x21a323(0x125)][_0x21a323(0x11c)]();this[_0x21a323(0x164)]++,_0x46a791(this[_0x1d9320]);}}}return ye=_0x1fa0f8,ye;}var ve,ze;function he(){const _0x40300f=_0x4dd9b1;if(ze)return ve;ze=0x1;const _0x33c579=bt,_0x174783=ce(),_0x223a09=Pt(),{kStatusCode:_0x5737c9}=H(),_0x2ac9cc=Buffer[Symbol['species']],_0x270ba7=Buffer[_0x40300f(0xb2)]([0x0,0x0,0xff,0xff]),_0x4faacf=Symbol(_0x40300f(0x144)),_0x42495e=Symbol(_0x40300f(0xec)),_0x3cc246=Symbol('callback'),_0x4754d9=Symbol('buffers'),_0x2810bb=Symbol(_0x40300f(0x1b9));let _0x3c862d;class _0x11c69a{constructor(_0x3debf9,_0x42962f,_0x58663a){const _0x38b841=_0x40300f;if(this[_0x38b841(0x1db)]=_0x58663a|0x0,this[_0x38b841(0x12d)]=_0x3debf9||{},this['_threshold']=this[_0x38b841(0x12d)][_0x38b841(0x222)]!==void 0x0?this['_options'][_0x38b841(0x222)]:0x400,this[_0x38b841(0x230)]=!!_0x42962f,this['_deflate']=null,this[_0x38b841(0x235)]=null,this[_0x38b841(0x8f)]=null,!_0x3c862d){const _0xb260c4=this['_options'][_0x38b841(0x114)]!==void 0x0?this[_0x38b841(0x12d)][_0x38b841(0x114)]:0xa;_0x3c862d=new _0x223a09(_0xb260c4);}}static get[_0x40300f(0xa1)](){return'permessage-deflate';}[_0x40300f(0x23b)](){const _0x4c15f7=_0x40300f,_0x200469={};return this[_0x4c15f7(0x12d)][_0x4c15f7(0x239)]&&(_0x200469[_0x4c15f7(0xe9)]=!0x0),this[_0x4c15f7(0x12d)]['clientNoContextTakeover']&&(_0x200469[_0x4c15f7(0x22f)]=!0x0),this[_0x4c15f7(0x12d)][_0x4c15f7(0x159)]&&(_0x200469[_0x4c15f7(0xf2)]=this[_0x4c15f7(0x12d)][_0x4c15f7(0x159)]),this[_0x4c15f7(0x12d)][_0x4c15f7(0xa2)]?_0x200469[_0x4c15f7(0x213)]=this[_0x4c15f7(0x12d)]['clientMaxWindowBits']:this[_0x4c15f7(0x12d)][_0x4c15f7(0xa2)]==null&&(_0x200469['client_max_window_bits']=!0x0),_0x200469;}['accept'](_0x1beb6d){const _0x45b699=_0x40300f;return _0x1beb6d=this[_0x45b699(0x1b1)](_0x1beb6d),this[_0x45b699(0x8f)]=this[_0x45b699(0x230)]?this[_0x45b699(0x21d)](_0x1beb6d):this[_0x45b699(0xbf)](_0x1beb6d),this[_0x45b699(0x8f)];}[_0x40300f(0x12b)](){const _0x48b8c8=_0x40300f;if(this[_0x48b8c8(0x235)]&&(this[_0x48b8c8(0x235)]['close'](),this[_0x48b8c8(0x235)]=null),this[_0x48b8c8(0x1e0)]){const _0x3ccca3=this[_0x48b8c8(0x1e0)][_0x3cc246];this[_0x48b8c8(0x1e0)]['close'](),this[_0x48b8c8(0x1e0)]=null,_0x3ccca3&&_0x3ccca3(new Error(_0x48b8c8(0x1d3)));}}[_0x40300f(0x21d)](_0x5c2462){const _0x567936=_0x40300f,_0x33d2a2=this['_options'],_0x5765de=_0x5c2462['find'](_0x2cd2c9=>!(_0x33d2a2[_0x567936(0x239)]===!0x1&&_0x2cd2c9['server_no_context_takeover']||_0x2cd2c9[_0x567936(0xf2)]&&(_0x33d2a2[_0x567936(0x159)]===!0x1||typeof _0x33d2a2[_0x567936(0x159)]==_0x567936(0xa7)&&_0x33d2a2['serverMaxWindowBits']>_0x2cd2c9['server_max_window_bits'])||typeof _0x33d2a2[_0x567936(0xa2)]==_0x567936(0xa7)&&!_0x2cd2c9[_0x567936(0x213)]));if(!_0x5765de)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x33d2a2[_0x567936(0x239)]&&(_0x5765de[_0x567936(0xe9)]=!0x0),_0x33d2a2[_0x567936(0x121)]&&(_0x5765de[_0x567936(0x22f)]=!0x0),typeof _0x33d2a2['serverMaxWindowBits']=='number'&&(_0x5765de[_0x567936(0xf2)]=_0x33d2a2[_0x567936(0x159)]),typeof _0x33d2a2[_0x567936(0xa2)]==_0x567936(0xa7)?_0x5765de['client_max_window_bits']=_0x33d2a2[_0x567936(0xa2)]:(_0x5765de[_0x567936(0x213)]===!0x0||_0x33d2a2[_0x567936(0xa2)]===!0x1)&&delete _0x5765de[_0x567936(0x213)],_0x5765de;}[_0x40300f(0xbf)](_0x22bac9){const _0x303f80=_0x40300f,_0x43ccbb=_0x22bac9[0x0];if(this[_0x303f80(0x12d)]['clientNoContextTakeover']===!0x1&&_0x43ccbb[_0x303f80(0x22f)])throw new Error(_0x303f80(0xfa));if(!_0x43ccbb[_0x303f80(0x213)])typeof this[_0x303f80(0x12d)][_0x303f80(0xa2)]=='number'&&(_0x43ccbb[_0x303f80(0x213)]=this[_0x303f80(0x12d)][_0x303f80(0xa2)]);else{if(this['_options'][_0x303f80(0xa2)]===!0x1||typeof this[_0x303f80(0x12d)][_0x303f80(0xa2)]==_0x303f80(0xa7)&&_0x43ccbb[_0x303f80(0x213)]>this[_0x303f80(0x12d)][_0x303f80(0xa2)])throw new Error(_0x303f80(0x21e));}return _0x43ccbb;}['normalizeParams'](_0xd2970d){return _0xd2970d['forEach'](_0x1bb213=>{const _0x131b6e=_0x2602;Object[_0x131b6e(0xeb)](_0x1bb213)['forEach'](_0x514320=>{const _0x15e169=_0x131b6e;let _0x228d1d=_0x1bb213[_0x514320];if(_0x228d1d[_0x15e169(0x217)]>0x1)throw new Error(_0x15e169(0x7f)+_0x514320+_0x15e169(0x23f));if(_0x228d1d=_0x228d1d[0x0],_0x514320===_0x15e169(0x213)){if(_0x228d1d!==!0x0){const _0x4d2062=+_0x228d1d;if(!Number['isInteger'](_0x4d2062)||_0x4d2062<0x8||_0x4d2062>0xf)throw new TypeError(_0x15e169(0x115)+_0x514320+_0x15e169(0xe7)+_0x228d1d);_0x228d1d=_0x4d2062;}else{if(!this[_0x15e169(0x230)])throw new TypeError(_0x15e169(0x115)+_0x514320+'\x22:\x20'+_0x228d1d);}}else{if(_0x514320===_0x15e169(0xf2)){const _0x13b6c6=+_0x228d1d;if(!Number['isInteger'](_0x13b6c6)||_0x13b6c6<0x8||_0x13b6c6>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x514320+'\x22:\x20'+_0x228d1d);_0x228d1d=_0x13b6c6;}else{if(_0x514320==='client_no_context_takeover'||_0x514320==='server_no_context_takeover'){if(_0x228d1d!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x514320+_0x15e169(0xe7)+_0x228d1d);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x514320+'\x22');}}_0x1bb213[_0x514320]=_0x228d1d;});}),_0xd2970d;}[_0x40300f(0x192)](_0x3f4fd7,_0xeeacd0,_0x545e85){const _0x169644=_0x40300f;_0x3c862d[_0x169644(0x107)](_0xa966a=>{const _0x349efe=_0x169644;this[_0x349efe(0xcc)](_0x3f4fd7,_0xeeacd0,(_0x241e51,_0x39b3b4)=>{_0xa966a(),_0x545e85(_0x241e51,_0x39b3b4);});});}['compress'](_0x1c19c7,_0x44dbbf,_0x5c5ef9){const _0x26b3dc=_0x40300f;_0x3c862d[_0x26b3dc(0x107)](_0x35f879=>{const _0x1a0d0d=_0x26b3dc;this[_0x1a0d0d(0x17c)](_0x1c19c7,_0x44dbbf,(_0x466a11,_0x5d66f2)=>{_0x35f879(),_0x5c5ef9(_0x466a11,_0x5d66f2);});});}['_decompress'](_0x15f1f0,_0x39ddeb,_0x5cd485){const _0x2c4c95=_0x40300f,_0x499219=this[_0x2c4c95(0x230)]?'client':'server';if(!this['_inflate']){const _0x1d890e=_0x499219+_0x2c4c95(0xb3),_0x57e62a=typeof this[_0x2c4c95(0x8f)][_0x1d890e]!='number'?_0x33c579[_0x2c4c95(0x1a7)]:this[_0x2c4c95(0x8f)][_0x1d890e];this[_0x2c4c95(0x235)]=_0x33c579[_0x2c4c95(0xb5)]({...this['_options'][_0x2c4c95(0x1ec)],'windowBits':_0x57e62a}),this['_inflate'][_0x4faacf]=this,this[_0x2c4c95(0x235)][_0x42495e]=0x0,this[_0x2c4c95(0x235)][_0x4754d9]=[],this[_0x2c4c95(0x235)]['on'](_0x2c4c95(0x1b9),_0x3a9935),this['_inflate']['on'](_0x2c4c95(0x133),_0x5f0bc0);}this[_0x2c4c95(0x235)][_0x3cc246]=_0x5cd485,this[_0x2c4c95(0x235)]['write'](_0x15f1f0),_0x39ddeb&&this['_inflate'][_0x2c4c95(0xf8)](_0x270ba7),this[_0x2c4c95(0x235)][_0x2c4c95(0x166)](()=>{const _0x4898fe=_0x2c4c95,_0x41f19c=this[_0x4898fe(0x235)][_0x2810bb];if(_0x41f19c){this[_0x4898fe(0x235)]['close'](),this[_0x4898fe(0x235)]=null,_0x5cd485(_0x41f19c);return;}const _0x2ad232=_0x174783[_0x4898fe(0x1f7)](this[_0x4898fe(0x235)][_0x4754d9],this[_0x4898fe(0x235)][_0x42495e]);this[_0x4898fe(0x235)][_0x4898fe(0x195)][_0x4898fe(0xc6)]?(this[_0x4898fe(0x235)][_0x4898fe(0x15b)](),this['_inflate']=null):(this['_inflate'][_0x42495e]=0x0,this[_0x4898fe(0x235)][_0x4754d9]=[],_0x39ddeb&&this[_0x4898fe(0x8f)][_0x499219+_0x4898fe(0x240)]&&this[_0x4898fe(0x235)][_0x4898fe(0xe4)]()),_0x5cd485(null,_0x2ad232);});}[_0x40300f(0x17c)](_0x223914,_0x203c3d,_0x4d1db9){const _0x1c8c96=_0x40300f,_0x373737=this[_0x1c8c96(0x230)]?_0x1c8c96(0x1c4):_0x1c8c96(0x191);if(!this[_0x1c8c96(0x1e0)]){const _0x103b3a=_0x373737+_0x1c8c96(0xb3),_0x45a74b=typeof this[_0x1c8c96(0x8f)][_0x103b3a]!=_0x1c8c96(0xa7)?_0x33c579[_0x1c8c96(0x1a7)]:this[_0x1c8c96(0x8f)][_0x103b3a];this[_0x1c8c96(0x1e0)]=_0x33c579[_0x1c8c96(0x201)]({...this[_0x1c8c96(0x12d)][_0x1c8c96(0x176)],'windowBits':_0x45a74b}),this[_0x1c8c96(0x1e0)][_0x42495e]=0x0,this[_0x1c8c96(0x1e0)][_0x4754d9]=[],this[_0x1c8c96(0x1e0)]['on']('data',_0x37d8b5);}this[_0x1c8c96(0x1e0)][_0x3cc246]=_0x4d1db9,this[_0x1c8c96(0x1e0)][_0x1c8c96(0xf8)](_0x223914),this[_0x1c8c96(0x1e0)][_0x1c8c96(0x166)](_0x33c579['Z_SYNC_FLUSH'],()=>{const _0x2c19c3=_0x1c8c96;if(!this[_0x2c19c3(0x1e0)])return;let _0x452612=_0x174783['concat'](this[_0x2c19c3(0x1e0)][_0x4754d9],this[_0x2c19c3(0x1e0)][_0x42495e]);_0x203c3d&&(_0x452612=new _0x2ac9cc(_0x452612[_0x2c19c3(0x1e1)],_0x452612[_0x2c19c3(0x205)],_0x452612['length']-0x4)),this[_0x2c19c3(0x1e0)][_0x3cc246]=null,this[_0x2c19c3(0x1e0)][_0x42495e]=0x0,this['_deflate'][_0x4754d9]=[],_0x203c3d&&this[_0x2c19c3(0x8f)][_0x373737+'_no_context_takeover']&&this[_0x2c19c3(0x1e0)][_0x2c19c3(0xe4)](),_0x4d1db9(null,_0x452612);});}}ve=_0x11c69a;function _0x37d8b5(_0x473228){const _0x501758=_0x40300f;this[_0x4754d9][_0x501758(0x119)](_0x473228),this[_0x42495e]+=_0x473228[_0x501758(0x217)];}function _0x5f0bc0(_0x3140ad){const _0x11e916=_0x40300f;if(this[_0x42495e]+=_0x3140ad[_0x11e916(0x217)],this[_0x4faacf]['_maxPayload']<0x1||this[_0x42495e]<=this[_0x4faacf][_0x11e916(0x1db)]){this[_0x4754d9][_0x11e916(0x119)](_0x3140ad);return;}this[_0x2810bb]=new RangeError(_0x11e916(0x1d6)),this[_0x2810bb][_0x11e916(0x203)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x2810bb][_0x5737c9]=0x3f1,this[_0x11e916(0x19d)]('data',_0x5f0bc0),this[_0x11e916(0xe4)]();}function _0x3a9935(_0x1cfef7){const _0x142395=_0x40300f;if(this[_0x4faacf][_0x142395(0x235)]=null,this[_0x2810bb]){this[_0x3cc246](this[_0x2810bb]);return;}_0x1cfef7[_0x5737c9]=0x3ef,this[_0x3cc246](_0x1cfef7);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x4dd9b1(0x93)](Object[_0x4dd9b1(0xf0)]({'__proto__':null,'default':Dt},Symbol[_0x4dd9b1(0x19b)],{'value':_0x4dd9b1(0x1a0)})),Bt=at(Rt);var Ye;function _0x1e9c(){const _0xaefeeb=['CONNECTING','username','message','kIsForOnEventAttribute','_skipUTF8Validation','construct','size','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','ping','perMessageDeflate','writeUInt16BE','objectMode','location','backlog','_fragmented','nodebuffer','getPayloadLength16','kCode','Server\x20sent\x20an\x20invalid\x20subprotocol','noServer','serverMaxWindowBits','search','close','pow','writeUIntBE','Invalid\x20Sec-WebSocket-Accept\x20header','startsWith','_maskBuffer','hasOwnProperty','terminate','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','pending','_bufferedBytes','flush','once','statusCode','HTTP/1.1\x20101\x20Switching\x20Protocols','fragments','MASK\x20must\x20be\x20set','createServer','arrayBuffer','function','setHeader','WS_ERR_INVALID_CLOSE_CODE','getPayloadLength64','captureStackTrace','create','UniverCollaborationClientPlugin','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','zlibDeflateOptions','_protocol','forEach','_originalSecure','dequeue','handleEvent','_compress','\x0d\x0a\x0d\x0a','extensions','type','RSV1\x20must\x20be\x20clear','maxPayload','_sender','13,\x208','values','Invalid\x20WebSocket\x20frame:\x20','replace','WS_ERR_INVALID_UTF8','_httpService','listening','parse','getInfo','_payloadLength','split','share','port','Invalid\x20HTTP\x20method','client','decompress','has','Opening\x20handshake\x20has\x20timed\x20out','_readableState','_readyState','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','sec-websocket-protocol','finishRequest','alloc','toStringTag','Upgrade','removeListener','sec-websocket-key','isServer','Module','arraybuffer','getMask','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','clients','unexpected-response','blob','Z_DEFAULT_WINDOWBITS','servername','customHeaders','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','createSocket','onopen','skipUTF8Validation','setTimeout','password','wasClean','normalizeParams','pathname','Unexpected\x20server\x20response:\x20','140QihTpC','File','_fragments','socket','allowSynchronousEvents','error','The\x20\x22','text/html','response','dispose','_state','ILogService','Origin','STATUS_CODES','emitClose','href','server','1516698VpVVpS','The\x20URL\x27s\x20pathname\x20is\x20empty','isPaused','unmask','WebSocket','_queue','Unexpected\x20character\x20at\x20index\x20','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','29630821HAtWif','OPEN','completeUpgrade','verifyClient','accept','getData','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','fin','authorization','Max\x20payload\x20size\x20exceeded','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','wss:','haveLength','auth','_maxPayload','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','isArray','__esModule','_generateMask','_deflate','buffer','_final','kAborted','_server','cork','The\x20server\x20is\x20not\x20running','startLoop','readyState','request','toLowerCase','needDrain','zlibInflateOptions','GET','destroy','_mask','readable','timeout','_messageLength','onerror','http:','Sec-WebSocket-Protocol','reason','concat','default','origin','pluginName','next','setSocket','binary','enqueue','_errored','_autoPong','createDeflateRaw','base64','code','address','byteOffset','WS_ERR_UNEXPECTED_MASK','readUInt16BE','The\x20URL\x20contains\x20a\x20fragment\x20identifier','setConfig','Sec-WebSocket-Extensions','string','kReason','byteLength','constructor','ws:','ISnapshotServerService','autoPong','_paused','client_max_window_bits','_closeTimer','CLOSED','Sec-WebSocket-Origin','length','readOnly','onmessage','listeners','WS_NO_UTF_8_VALIDATE','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','acceptAsServer','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','object','hostname','sha1','threshold','apply','_fin','writable','open','consume','Blob','_originalIpc','_errorEmitted','174483Jblnay','_allowSynchronousEvents','pong','onStarting','client_no_context_takeover','_isServer','_req','invalid\x20UTF-8\x20sequence','Basic\x20','get','_inflate','Plugin','getBlobData','_closeMessage','serverNoContextTakeover','FIN\x20must\x20be\x20set','offer','Inject','socketPath','listenerCount','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_no_context_takeover','delete','Invalid\x20Sec-WebSocket-Extensions\x20header','drain','Upgrade:\x20websocket','545gaxxEE','_socket','Parameter\x20\x22','invalid\x20opcode\x200','controlMessage','Sec-WebSocket-Protocol:\x20','addEventListener','pipe','_shouldEmitClose','createError','map','_loop','generateMask','authorized','bind','\x22\x20subprotocol\x20is\x20duplicated','getOwnPropertyDescriptor','sec-websocket-origin','params','collaboration-client-node.config','destroyed','binaryType','freeze','Maximum\x20redirects\x20exceeded','_threshold','upgrade','shouldHandle','_removeListeners','dispatch','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','DisposableCollection','conclude','charCodeAt','Server\x20sent\x20no\x20subprotocol','concurrency','_writableState','extensionName','clientMaxWindowBits','env','_read','kMessage','_write','number','kTarget','handleProtocols','Injector','MASK\x20must\x20be\x20clear','defaultPort','_opcode','_firstFragment','protocol','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','removeEventListener','from','_max_window_bits','followRedirects','createInflateRaw','NodeCollaborationSocketService','kRun','_receiver','prototype','abort','kType','test','_buffers','11812ozVRWw','acceptAsClient','Observable','_bufferedAmount','4886756LsWWlO','Sec-WebSocket-Accept:\x20','encrypted','indexOf','endEmitted','onclose','wsClientError','kData','slice','_registerDependencies','_decompress','Unexpected\x20end\x20of\x20input','sec-websocket-extensions','sec-websocket-accept','ws+unix:','HTTPService','_compressed','finished','_doCreateSocket','_originalHostOrSocketPath','url','pause','call','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','COLLABORATION_CLIENT_NODE_CONFIG_KEY','WS_ERR_EXPECTED_FIN','value','isIP','IConfigService','kError','Invalid\x20URL:\x20','invalid\x20status\x20code\x20','8HLegGN','send','reset','Invalid\x20Sec-WebSocket-Protocol\x20header','nextTick','\x22:\x20','headers','server_no_context_takeover','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','keys','total-length','10694453wlxoqV','species','target','defineProperty','WS_ERR_INVALID_OPCODE','server_max_window_bits','cookie','exports','connect','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','write','350tvzCkD','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','resume','registerDependencies','setNoDelay','removeAllListeners','Invalid\x20Upgrade\x20header','sendFrame','allocUnsafe','_binaryType','host','kByteLength','digest','path','add','WS_ERR_UNEXPECTED_RSV_2_3','options','toDisposable','handleUpgrade','_closeFrameReceived','_redirects','update','getConfig','frame','protocolVersion','readUInt32BE','createConnection','concurrencyLimit','Invalid\x20value\x20for\x20parameter\x20\x22','isValidUTF8','_closeFrameSent','errorEmitted','push','_closeCode','kWasClean','shift','UniverCollaborationClientNodePlugin','redirect','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','mask','clientNoContextTakeover','DependentOn','invalid\x20opcode\x20','CLOSING','jobs','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_totalPayloadLength','websocket','\x20(supported\x20versions:\x20','_configService','cleanup','Sec-WebSocket-Extensions:\x20','_options','_extensions','Disposable','finish','toString','join','data','5034vFFjfM','bufferedAmount','_destroy','hash','emit','_url','dataMessage','set','sec-websocket-version','listen','handshakeTimeout','uncork','read','end','_masked','compress','permessage-deflate'];_0x1e9c=function(){return _0xaefeeb;};return _0x1e9c();}function ae(){const _0xc4f8b=_0x4dd9b1;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x948fbe}=wt,{hasBlob:_0x4638d8}=H(),_0x153a2d=[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 _0x5687bc(_0x4b92e7){return _0x4b92e7>=0x3e8&&_0x4b92e7<=0x3f6&&_0x4b92e7!==0x3ec&&_0x4b92e7!==0x3ed&&_0x4b92e7!==0x3ee||_0x4b92e7>=0xbb8&&_0x4b92e7<=0x1387;}function _0x1c71a5(_0x10c7dd){const _0x12778e=_0x10c7dd['length'];let _0x342f68=0x0;for(;_0x342f68<_0x12778e;)if((_0x10c7dd[_0x342f68]&0x80)===0x0)_0x342f68++;else{if((_0x10c7dd[_0x342f68]&0xe0)===0xc0){if(_0x342f68+0x1===_0x12778e||(_0x10c7dd[_0x342f68+0x1]&0xc0)!==0x80||(_0x10c7dd[_0x342f68]&0xfe)===0xc0)return!0x1;_0x342f68+=0x2;}else{if((_0x10c7dd[_0x342f68]&0xf0)===0xe0){if(_0x342f68+0x2>=_0x12778e||(_0x10c7dd[_0x342f68+0x1]&0xc0)!==0x80||(_0x10c7dd[_0x342f68+0x2]&0xc0)!==0x80||_0x10c7dd[_0x342f68]===0xe0&&(_0x10c7dd[_0x342f68+0x1]&0xe0)===0x80||_0x10c7dd[_0x342f68]===0xed&&(_0x10c7dd[_0x342f68+0x1]&0xe0)===0xa0)return!0x1;_0x342f68+=0x3;}else{if((_0x10c7dd[_0x342f68]&0xf8)===0xf0){if(_0x342f68+0x3>=_0x12778e||(_0x10c7dd[_0x342f68+0x1]&0xc0)!==0x80||(_0x10c7dd[_0x342f68+0x2]&0xc0)!==0x80||(_0x10c7dd[_0x342f68+0x3]&0xc0)!==0x80||_0x10c7dd[_0x342f68]===0xf0&&(_0x10c7dd[_0x342f68+0x1]&0xf0)===0x80||_0x10c7dd[_0x342f68]===0xf4&&_0x10c7dd[_0x342f68+0x1]>0x8f||_0x10c7dd[_0x342f68]>0xf4)return!0x1;_0x342f68+=0x4;}else return!0x1;}}}return!0x0;}function _0x328a0a(_0x3ba4bb){const _0x190e0b=_0x2602;return _0x4638d8&&typeof _0x3ba4bb==_0x190e0b(0x21f)&&typeof _0x3ba4bb[_0x190e0b(0x16d)]==_0x190e0b(0x16e)&&typeof _0x3ba4bb[_0x190e0b(0x17f)]==_0x190e0b(0x20b)&&typeof _0x3ba4bb['stream']==_0x190e0b(0x16e)&&(_0x3ba4bb[Symbol['toStringTag']]===_0x190e0b(0x228)||_0x3ba4bb[Symbol[_0x190e0b(0x19b)]]===_0x190e0b(0x1b5));}if(ie[_0xc4f8b(0xf4)]={'isBlob':_0x328a0a,'isValidStatusCode':_0x5687bc,'isValidUTF8':_0x1c71a5,'tokenChars':_0x153a2d},_0x948fbe)ie[_0xc4f8b(0xf4)][_0xc4f8b(0x116)]=function(_0xdfc4f4){const _0x213372=_0xc4f8b;return _0xdfc4f4[_0x213372(0x217)]<0x18?_0x1c71a5(_0xdfc4f4):_0x948fbe(_0xdfc4f4);};else{if(!process[_0xc4f8b(0xa3)][_0xc4f8b(0x21b)])try{const _0x17f460=Bt;ie[_0xc4f8b(0xf4)]['isValidUTF8']=function(_0x1aa514){const _0x490998=_0xc4f8b;return _0x1aa514[_0x490998(0x217)]<0x20?_0x1c71a5(_0x1aa514):_0x17f460(_0x1aa514);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x35031c=_0x4dd9b1;if(Ke)return Se;Ke=0x1;const {Writable:_0x290db1}=oe,_0x3a2cb5=he(),{BINARY_TYPES:_0x358202,EMPTY_BUFFER:_0x17ef8a,kStatusCode:_0x3641d7,kWebSocket:_0x28c2bf}=H(),{concat:_0x10328d,toArrayBuffer:_0x4a3038,unmask:_0x2798e2}=ce(),{isValidStatusCode:_0x271186,isValidUTF8:_0x57bd7d}=ae(),_0x2dd65a=Buffer[Symbol[_0x35031c(0xee)]],_0x3b358f=0x0,_0x5d7d3b=0x1,_0x54f8b4=0x2,_0x12a080=0x3,_0x2c2d63=0x4,_0x17ff85=0x5,_0x50a2a5=0x6;class _0x1200d4 extends _0x290db1{constructor(_0x18717d={}){const _0x3b9bc8=_0x35031c;super(),this[_0x3b9bc8(0x22c)]=_0x18717d[_0x3b9bc8(0x1b8)]!==void 0x0?_0x18717d[_0x3b9bc8(0x1b8)]:!0x0,this[_0x3b9bc8(0x102)]=_0x18717d[_0x3b9bc8(0x92)]||_0x358202[0x0],this['_extensions']=_0x18717d[_0x3b9bc8(0x17e)]||{},this['_isServer']=!!_0x18717d[_0x3b9bc8(0x19f)],this[_0x3b9bc8(0x1db)]=_0x18717d[_0x3b9bc8(0x181)]|0x0,this[_0x3b9bc8(0x149)]=!!_0x18717d[_0x3b9bc8(0x1ad)],this[_0x28c2bf]=void 0x0,this[_0x3b9bc8(0x165)]=0x0,this['_buffers']=[],this[_0x3b9bc8(0xd2)]=!0x1,this[_0x3b9bc8(0x18c)]=0x0,this[_0x3b9bc8(0x1ef)]=void 0x0,this[_0x3b9bc8(0x153)]=0x0,this[_0x3b9bc8(0x142)]=!0x1,this[_0x3b9bc8(0x224)]=!0x1,this[_0x3b9bc8(0xad)]=0x0,this[_0x3b9bc8(0x127)]=0x0,this[_0x3b9bc8(0x1f2)]=0x0,this['_fragments']=[],this['_errored']=!0x1,this[_0x3b9bc8(0x88)]=!0x1,this['_state']=_0x3b358f;}[_0x35031c(0xa6)](_0xbf5725,_0x2bd962,_0x4338cf){const _0x3632bc=_0x35031c;if(this[_0x3632bc(0xad)]===0x8&&this['_state']==_0x3b358f)return _0x4338cf();this[_0x3632bc(0x165)]+=_0xbf5725[_0x3632bc(0x217)],this['_buffers'][_0x3632bc(0x119)](_0xbf5725),this[_0x3632bc(0x1e7)](_0x4338cf);}[_0x35031c(0x227)](_0xd1466e){const _0x189b9e=_0x35031c;if(this['_bufferedBytes']-=_0xd1466e,_0xd1466e===this[_0x189b9e(0xbd)][0x0][_0x189b9e(0x217)])return this[_0x189b9e(0xbd)][_0x189b9e(0x11c)]();if(_0xd1466e<this[_0x189b9e(0xbd)][0x0][_0x189b9e(0x217)]){const _0x5b4114=this[_0x189b9e(0xbd)][0x0];return this[_0x189b9e(0xbd)][0x0]=new _0x2dd65a(_0x5b4114[_0x189b9e(0x1e1)],_0x5b4114['byteOffset']+_0xd1466e,_0x5b4114[_0x189b9e(0x217)]-_0xd1466e),new _0x2dd65a(_0x5b4114[_0x189b9e(0x1e1)],_0x5b4114[_0x189b9e(0x205)],_0xd1466e);}const _0x33ea4e=Buffer[_0x189b9e(0x101)](_0xd1466e);do{const _0x39dc63=this[_0x189b9e(0xbd)][0x0],_0xd1a780=_0x33ea4e[_0x189b9e(0x217)]-_0xd1466e;_0xd1466e>=_0x39dc63[_0x189b9e(0x217)]?_0x33ea4e[_0x189b9e(0x13b)](this['_buffers'][_0x189b9e(0x11c)](),_0xd1a780):(_0x33ea4e[_0x189b9e(0x13b)](new Uint8Array(_0x39dc63[_0x189b9e(0x1e1)],_0x39dc63['byteOffset'],_0xd1466e),_0xd1a780),this['_buffers'][0x0]=new _0x2dd65a(_0x39dc63[_0x189b9e(0x1e1)],_0x39dc63[_0x189b9e(0x205)]+_0xd1466e,_0x39dc63['length']-_0xd1466e)),_0xd1466e-=_0x39dc63[_0x189b9e(0x217)];}while(_0xd1466e>0x0);return _0x33ea4e;}['startLoop'](_0x389a47){const _0x3ea6e6=_0x35031c;this[_0x3ea6e6(0x88)]=!0x0;do switch(this[_0x3ea6e6(0x1be)]){case _0x3b358f:this[_0x3ea6e6(0x18b)](_0x389a47);break;case _0x5d7d3b:this[_0x3ea6e6(0x155)](_0x389a47);break;case _0x54f8b4:this[_0x3ea6e6(0x171)](_0x389a47);break;case _0x12a080:this['getMask']();break;case _0x2c2d63:this['getData'](_0x389a47);break;case _0x17ff85:case _0x50a2a5:this[_0x3ea6e6(0x88)]=!0x1;return;}while(this[_0x3ea6e6(0x88)]);this[_0x3ea6e6(0x1ff)]||_0x389a47();}[_0x35031c(0x18b)](_0x1e50d8){const _0x112c23=_0x35031c;if(this[_0x112c23(0x165)]<0x2){this['_loop']=!0x1;return;}const _0x186b62=this[_0x112c23(0x227)](0x2);if((_0x186b62[0x0]&0x30)!==0x0){const _0x1dccc1=this[_0x112c23(0x86)](RangeError,_0x112c23(0x1aa),!0x0,0x3ea,_0x112c23(0x108));_0x1e50d8(_0x1dccc1);return;}const _0x468cad=(_0x186b62[0x0]&0x40)===0x40;if(_0x468cad&&!this[_0x112c23(0x12e)][_0x3a2cb5[_0x112c23(0xa1)]]){const _0x40a6d7=this['createError'](RangeError,_0x112c23(0x180),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1e50d8(_0x40a6d7);return;}if(this['_fin']=(_0x186b62[0x0]&0x80)===0x80,this[_0x112c23(0xad)]=_0x186b62[0x0]&0xf,this['_payloadLength']=_0x186b62[0x1]&0x7f,this[_0x112c23(0xad)]===0x0){if(_0x468cad){const _0x2f4191=this[_0x112c23(0x86)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1e50d8(_0x2f4191);return;}if(!this[_0x112c23(0x153)]){const _0x7e3766=this['createError'](RangeError,_0x112c23(0x80),!0x0,0x3ea,_0x112c23(0xf1));_0x1e50d8(_0x7e3766);return;}this[_0x112c23(0xad)]=this[_0x112c23(0x153)];}else{if(this[_0x112c23(0xad)]===0x1||this[_0x112c23(0xad)]===0x2){if(this[_0x112c23(0x153)]){const _0x168101=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x112c23(0xad)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x1e50d8(_0x168101);return;}this[_0x112c23(0xd2)]=_0x468cad;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this[_0x112c23(0x224)]){const _0x53a847=this[_0x112c23(0x86)](RangeError,_0x112c23(0x23a),!0x0,0x3ea,_0x112c23(0xdb));_0x1e50d8(_0x53a847);return;}if(_0x468cad){const _0x4f2959=this[_0x112c23(0x86)](RangeError,_0x112c23(0x180),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1e50d8(_0x4f2959);return;}if(this[_0x112c23(0x18c)]>0x7d||this[_0x112c23(0xad)]===0x8&&this[_0x112c23(0x18c)]===0x1){const _0x34d38f=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this[_0x112c23(0x18c)],!0x0,0x3ea,_0x112c23(0x11f));_0x1e50d8(_0x34d38f);return;}}else{const _0x2913c7=this['createError'](RangeError,_0x112c23(0x123)+this[_0x112c23(0xad)],!0x0,0x3ea,_0x112c23(0xf1));_0x1e50d8(_0x2913c7);return;}}}if(!this['_fin']&&!this[_0x112c23(0x153)]&&(this[_0x112c23(0x153)]=this[_0x112c23(0xad)]),this[_0x112c23(0x142)]=(_0x186b62[0x1]&0x80)===0x80,this[_0x112c23(0x230)]){if(!this['_masked']){const _0x3a061a=this[_0x112c23(0x86)](RangeError,_0x112c23(0x16b),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x1e50d8(_0x3a061a);return;}}else{if(this['_masked']){const _0x2077b1=this[_0x112c23(0x86)](RangeError,_0x112c23(0xab),!0x0,0x3ea,_0x112c23(0x206));_0x1e50d8(_0x2077b1);return;}}this['_payloadLength']===0x7e?this[_0x112c23(0x1be)]=_0x5d7d3b:this[_0x112c23(0x18c)]===0x7f?this[_0x112c23(0x1be)]=_0x54f8b4:this['haveLength'](_0x1e50d8);}[_0x35031c(0x155)](_0x621f8d){const _0x1096b3=_0x35031c;if(this[_0x1096b3(0x165)]<0x2){this[_0x1096b3(0x88)]=!0x1;return;}this[_0x1096b3(0x18c)]=this['consume'](0x2)[_0x1096b3(0x207)](0x0),this[_0x1096b3(0x1d9)](_0x621f8d);}['getPayloadLength64'](_0x4829de){const _0x2f6911=_0x35031c;if(this[_0x2f6911(0x165)]<0x8){this[_0x2f6911(0x88)]=!0x1;return;}const _0x2d32d3=this[_0x2f6911(0x227)](0x8),_0x2aa50c=_0x2d32d3['readUInt32BE'](0x0);if(_0x2aa50c>Math[_0x2f6911(0x15c)](0x2,0x15)-0x1){const _0x28c4f9=this[_0x2f6911(0x86)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x2f6911(0xb0));_0x4829de(_0x28c4f9);return;}this[_0x2f6911(0x18c)]=_0x2aa50c*Math[_0x2f6911(0x15c)](0x2,0x20)+_0x2d32d3[_0x2f6911(0x112)](0x4),this[_0x2f6911(0x1d9)](_0x4829de);}[_0x35031c(0x1d9)](_0x151baa){const _0x2729c4=_0x35031c;if(this[_0x2729c4(0x18c)]&&this[_0x2729c4(0xad)]<0x8&&(this[_0x2729c4(0x127)]+=this[_0x2729c4(0x18c)],this['_totalPayloadLength']>this[_0x2729c4(0x1db)]&&this[_0x2729c4(0x1db)]>0x0)){const _0x1c0b91=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x2729c4(0xf6));_0x151baa(_0x1c0b91);return;}this[_0x2729c4(0x142)]?this[_0x2729c4(0x1be)]=_0x12a080:this[_0x2729c4(0x1be)]=_0x2c2d63;}[_0x35031c(0x1a2)](){const _0x424046=_0x35031c;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this[_0x424046(0x1ef)]=this['consume'](0x4),this['_state']=_0x2c2d63;}[_0x35031c(0x1d2)](_0x117290){const _0x3136d0=_0x35031c;let _0x5ac6d6=_0x17ef8a;if(this['_payloadLength']){if(this[_0x3136d0(0x165)]<this[_0x3136d0(0x18c)]){this['_loop']=!0x1;return;}_0x5ac6d6=this[_0x3136d0(0x227)](this['_payloadLength']),this['_masked']&&(this[_0x3136d0(0x1ef)][0x0]|this[_0x3136d0(0x1ef)][0x1]|this[_0x3136d0(0x1ef)][0x2]|this[_0x3136d0(0x1ef)][0x3])!==0x0&&_0x2798e2(_0x5ac6d6,this[_0x3136d0(0x1ef)]);}if(this[_0x3136d0(0xad)]>0x7){this[_0x3136d0(0x81)](_0x5ac6d6,_0x117290);return;}if(this[_0x3136d0(0xd2)]){this[_0x3136d0(0x1be)]=_0x17ff85,this[_0x3136d0(0x192)](_0x5ac6d6,_0x117290);return;}_0x5ac6d6['length']&&(this['_messageLength']=this[_0x3136d0(0x127)],this[_0x3136d0(0x1b6)][_0x3136d0(0x119)](_0x5ac6d6)),this[_0x3136d0(0x13a)](_0x117290);}[_0x35031c(0x192)](_0x55f06b,_0x313be7){const _0x873fcd=_0x35031c;this['_extensions'][_0x3a2cb5[_0x873fcd(0xa1)]]['decompress'](_0x55f06b,this[_0x873fcd(0x224)],(_0x47c2ac,_0x2b7300)=>{const _0x31ab7a=_0x873fcd;if(_0x47c2ac)return _0x313be7(_0x47c2ac);if(_0x2b7300[_0x31ab7a(0x217)]){if(this[_0x31ab7a(0x1f2)]+=_0x2b7300[_0x31ab7a(0x217)],this['_messageLength']>this[_0x31ab7a(0x1db)]&&this[_0x31ab7a(0x1db)]>0x0){const _0x5e37fe=this[_0x31ab7a(0x86)](RangeError,_0x31ab7a(0x1d6),!0x1,0x3f1,_0x31ab7a(0xf6));_0x313be7(_0x5e37fe);return;}this[_0x31ab7a(0x1b6)][_0x31ab7a(0x119)](_0x2b7300);}this['dataMessage'](_0x313be7),this[_0x31ab7a(0x1be)]===_0x3b358f&&this[_0x31ab7a(0x1e7)](_0x313be7);});}[_0x35031c(0x13a)](_0x3b3bfe){const _0x18fcc9=_0x35031c;if(!this['_fin']){this['_state']=_0x3b358f;return;}const _0x5514eb=this[_0x18fcc9(0x1f2)],_0x33a0e0=this[_0x18fcc9(0x1b6)];if(this['_totalPayloadLength']=0x0,this[_0x18fcc9(0x1f2)]=0x0,this['_fragmented']=0x0,this[_0x18fcc9(0x1b6)]=[],this[_0x18fcc9(0xad)]===0x2){let _0x2b2707;this[_0x18fcc9(0x102)]===_0x18fcc9(0x154)?_0x2b2707=_0x10328d(_0x33a0e0,_0x5514eb):this[_0x18fcc9(0x102)]===_0x18fcc9(0x1a1)?_0x2b2707=_0x4a3038(_0x10328d(_0x33a0e0,_0x5514eb)):this[_0x18fcc9(0x102)]==='blob'?_0x2b2707=new Blob(_0x33a0e0):_0x2b2707=_0x33a0e0,this[_0x18fcc9(0x22c)]?(this[_0x18fcc9(0x138)]('message',_0x2b2707,!0x0),this[_0x18fcc9(0x1be)]=_0x3b358f):(this[_0x18fcc9(0x1be)]=_0x50a2a5,setImmediate(()=>{const _0x3c79c7=_0x18fcc9;this[_0x3c79c7(0x138)](_0x3c79c7(0x147),_0x2b2707,!0x0),this[_0x3c79c7(0x1be)]=_0x3b358f,this[_0x3c79c7(0x1e7)](_0x3b3bfe);}));}else{const _0x2f846a=_0x10328d(_0x33a0e0,_0x5514eb);if(!this[_0x18fcc9(0x149)]&&!_0x57bd7d(_0x2f846a)){const _0x56c6b0=this[_0x18fcc9(0x86)](Error,_0x18fcc9(0x232),!0x0,0x3ef,_0x18fcc9(0x187));_0x3b3bfe(_0x56c6b0);return;}this['_state']===_0x17ff85||this[_0x18fcc9(0x22c)]?(this[_0x18fcc9(0x138)](_0x18fcc9(0x147),_0x2f846a,!0x1),this[_0x18fcc9(0x1be)]=_0x3b358f):(this[_0x18fcc9(0x1be)]=_0x50a2a5,setImmediate(()=>{const _0x23e434=_0x18fcc9;this['emit'](_0x23e434(0x147),_0x2f846a,!0x1),this[_0x23e434(0x1be)]=_0x3b358f,this['startLoop'](_0x3b3bfe);}));}}['controlMessage'](_0x5d2e6d,_0x15a7fb){const _0x35eb6d=_0x35031c;if(this[_0x35eb6d(0xad)]===0x8){if(_0x5d2e6d['length']===0x0)this[_0x35eb6d(0x88)]=!0x1,this[_0x35eb6d(0x138)]('conclude',0x3ed,_0x17ef8a),this[_0x35eb6d(0x141)]();else{const _0x1ec2b3=_0x5d2e6d[_0x35eb6d(0x207)](0x0);if(!_0x271186(_0x1ec2b3)){const _0x9ad89e=this['createError'](RangeError,_0x35eb6d(0xe1)+_0x1ec2b3,!0x0,0x3ea,_0x35eb6d(0x170));_0x15a7fb(_0x9ad89e);return;}const _0x1ea940=new _0x2dd65a(_0x5d2e6d[_0x35eb6d(0x1e1)],_0x5d2e6d['byteOffset']+0x2,_0x5d2e6d['length']-0x2);if(!this[_0x35eb6d(0x149)]&&!_0x57bd7d(_0x1ea940)){const _0x2218fb=this['createError'](Error,_0x35eb6d(0x232),!0x0,0x3ef,_0x35eb6d(0x187));_0x15a7fb(_0x2218fb);return;}this[_0x35eb6d(0x88)]=!0x1,this[_0x35eb6d(0x138)](_0x35eb6d(0x9c),_0x1ec2b3,_0x1ea940),this['end']();}this[_0x35eb6d(0x1be)]=_0x3b358f;return;}this[_0x35eb6d(0x22c)]?(this[_0x35eb6d(0x138)](this[_0x35eb6d(0xad)]===0x9?_0x35eb6d(0x14d):_0x35eb6d(0x22d),_0x5d2e6d),this[_0x35eb6d(0x1be)]=_0x3b358f):(this[_0x35eb6d(0x1be)]=_0x50a2a5,setImmediate(()=>{const _0x544147=_0x35eb6d;this[_0x544147(0x138)](this['_opcode']===0x9?'ping':_0x544147(0x22d),_0x5d2e6d),this[_0x544147(0x1be)]=_0x3b358f,this[_0x544147(0x1e7)](_0x15a7fb);}));}[_0x35031c(0x86)](_0x2b3bd8,_0x390831,_0x4e1214,_0x1064bb,_0x291ce1){const _0x5bef9f=_0x35031c;this[_0x5bef9f(0x88)]=!0x1,this[_0x5bef9f(0x1ff)]=!0x0;const _0x2a9cde=new _0x2b3bd8(_0x4e1214?_0x5bef9f(0x185)+_0x390831:_0x390831);return Error[_0x5bef9f(0x172)](_0x2a9cde,this[_0x5bef9f(0x86)]),_0x2a9cde[_0x5bef9f(0x203)]=_0x291ce1,_0x2a9cde[_0x3641d7]=_0x1064bb,_0x2a9cde;}}return Se=_0x1200d4,Se;}var Ee,Xe;function ft(){const _0x32c269=_0x4dd9b1;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x3c153c}=oe,{randomFillSync:_0x878f41}=Le,_0x553228=he(),{EMPTY_BUFFER:_0x201155,kWebSocket:_0x5208f4,NOOP:_0xf049b7}=H(),{isBlob:_0x928dcf,isValidStatusCode:_0x62fb98}=ae(),{mask:_0x18ab87,toBuffer:_0x3edce6}=ce(),_0xa68af3=Symbol(_0x32c269(0x104)),_0x42ab77=Buffer[_0x32c269(0x19a)](0x4),_0x298c19=0x8*0x400;let _0x6eb979,_0x42327a=_0x298c19;const _0x3b56db=0x0,_0x413b9c=0x1,_0x1bb858=0x2;class _0xf36f92{constructor(_0x3bd3aa,_0xcc0ed7,_0x599104){const _0x175dd8=_0x32c269;this[_0x175dd8(0x12e)]=_0xcc0ed7||{},_0x599104&&(this['_generateMask']=_0x599104,this[_0x175dd8(0x160)]=Buffer[_0x175dd8(0x19a)](0x4)),this['_socket']=_0x3bd3aa,this[_0x175dd8(0xae)]=!0x0,this[_0x175dd8(0x17c)]=!0x1,this[_0x175dd8(0x165)]=0x0,this[_0x175dd8(0x1ca)]=[],this[_0x175dd8(0x1be)]=_0x3b56db,this[_0x175dd8(0x1f3)]=_0xf049b7,this[_0x5208f4]=void 0x0;}static['frame'](_0x2834ad,_0xbf137e){const _0x4fc40e=_0x32c269;let _0x389000,_0x516d1f=!0x1,_0x4ff261=0x2,_0x5c75e5=!0x1;_0xbf137e['mask']&&(_0x389000=_0xbf137e['maskBuffer']||_0x42ab77,_0xbf137e[_0x4fc40e(0x89)]?_0xbf137e[_0x4fc40e(0x89)](_0x389000):(_0x42327a===_0x298c19&&(_0x6eb979===void 0x0&&(_0x6eb979=Buffer[_0x4fc40e(0x19a)](_0x298c19)),_0x878f41(_0x6eb979,0x0,_0x298c19),_0x42327a=0x0),_0x389000[0x0]=_0x6eb979[_0x42327a++],_0x389000[0x1]=_0x6eb979[_0x42327a++],_0x389000[0x2]=_0x6eb979[_0x42327a++],_0x389000[0x3]=_0x6eb979[_0x42327a++]),_0x5c75e5=(_0x389000[0x0]|_0x389000[0x1]|_0x389000[0x2]|_0x389000[0x3])===0x0,_0x4ff261=0x6);let _0x53c9b0;typeof _0x2834ad==_0x4fc40e(0x20b)?(!_0xbf137e[_0x4fc40e(0x120)]||_0x5c75e5)&&_0xbf137e[_0xa68af3]!==void 0x0?_0x53c9b0=_0xbf137e[_0xa68af3]:(_0x2834ad=Buffer[_0x4fc40e(0xb2)](_0x2834ad),_0x53c9b0=_0x2834ad[_0x4fc40e(0x217)]):(_0x53c9b0=_0x2834ad[_0x4fc40e(0x217)],_0x516d1f=_0xbf137e[_0x4fc40e(0x120)]&&_0xbf137e[_0x4fc40e(0x218)]&&!_0x5c75e5);let _0xd2f16c=_0x53c9b0;_0x53c9b0>=0x10000?(_0x4ff261+=0x8,_0xd2f16c=0x7f):_0x53c9b0>0x7d&&(_0x4ff261+=0x2,_0xd2f16c=0x7e);const _0x556d07=Buffer[_0x4fc40e(0x101)](_0x516d1f?_0x53c9b0+_0x4ff261:_0x4ff261);return _0x556d07[0x0]=_0xbf137e['fin']?_0xbf137e['opcode']|0x80:_0xbf137e['opcode'],_0xbf137e['rsv1']&&(_0x556d07[0x0]|=0x40),_0x556d07[0x1]=_0xd2f16c,_0xd2f16c===0x7e?_0x556d07[_0x4fc40e(0x14f)](_0x53c9b0,0x2):_0xd2f16c===0x7f&&(_0x556d07[0x2]=_0x556d07[0x3]=0x0,_0x556d07[_0x4fc40e(0x15d)](_0x53c9b0,0x4,0x6)),_0xbf137e[_0x4fc40e(0x120)]?(_0x556d07[0x1]|=0x80,_0x556d07[_0x4ff261-0x4]=_0x389000[0x0],_0x556d07[_0x4ff261-0x3]=_0x389000[0x1],_0x556d07[_0x4ff261-0x2]=_0x389000[0x2],_0x556d07[_0x4ff261-0x1]=_0x389000[0x3],_0x5c75e5?[_0x556d07,_0x2834ad]:_0x516d1f?(_0x18ab87(_0x2834ad,_0x389000,_0x556d07,_0x4ff261,_0x53c9b0),[_0x556d07]):(_0x18ab87(_0x2834ad,_0x389000,_0x2834ad,0x0,_0x53c9b0),[_0x556d07,_0x2834ad])):[_0x556d07,_0x2834ad];}[_0x32c269(0x15b)](_0x1827b8,_0xbfca8d,_0x27b280,_0x231a91){const _0x275df2=_0x32c269;let _0x1248c0;if(_0x1827b8===void 0x0)_0x1248c0=_0x201155;else{if(typeof _0x1827b8!='number'||!_0x62fb98(_0x1827b8))throw new TypeError(_0x275df2(0x1cc));if(_0xbfca8d===void 0x0||!_0xbfca8d['length'])_0x1248c0=Buffer[_0x275df2(0x101)](0x2),_0x1248c0['writeUInt16BE'](_0x1827b8,0x0);else{const _0x2572e0=Buffer[_0x275df2(0x20d)](_0xbfca8d);if(_0x2572e0>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x1248c0=Buffer[_0x275df2(0x101)](0x2+_0x2572e0),_0x1248c0[_0x275df2(0x14f)](_0x1827b8,0x0),typeof _0xbfca8d==_0x275df2(0x20b)?_0x1248c0['write'](_0xbfca8d,0x2):_0x1248c0[_0x275df2(0x13b)](_0xbfca8d,0x2);}}const _0xc93eff={[_0xa68af3]:_0x1248c0['length'],'fin':!0x0,'generateMask':this[_0x275df2(0x1df)],'mask':_0x27b280,'maskBuffer':this[_0x275df2(0x160)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x275df2(0x1be)]!==_0x3b56db?this[_0x275df2(0x1fe)]([this[_0x275df2(0x99)],_0x1248c0,!0x1,_0xc93eff,_0x231a91]):this[_0x275df2(0x100)](_0xf36f92[_0x275df2(0x110)](_0x1248c0,_0xc93eff),_0x231a91);}['ping'](_0x196a2e,_0xc74ec7,_0x5a2e67){const _0x5ee5f8=_0x32c269;let _0x545659,_0xfcbebd;if(typeof _0x196a2e==_0x5ee5f8(0x20b)?(_0x545659=Buffer[_0x5ee5f8(0x20d)](_0x196a2e),_0xfcbebd=!0x1):_0x928dcf(_0x196a2e)?(_0x545659=_0x196a2e['size'],_0xfcbebd=!0x1):(_0x196a2e=_0x3edce6(_0x196a2e),_0x545659=_0x196a2e[_0x5ee5f8(0x217)],_0xfcbebd=_0x3edce6[_0x5ee5f8(0x218)]),_0x545659>0x7d)throw new RangeError(_0x5ee5f8(0xea));const _0x488163={[_0xa68af3]:_0x545659,'fin':!0x0,'generateMask':this[_0x5ee5f8(0x1df)],'mask':_0xc74ec7,'maskBuffer':this[_0x5ee5f8(0x160)],'opcode':0x9,'readOnly':_0xfcbebd,'rsv1':!0x1};_0x928dcf(_0x196a2e)?this[_0x5ee5f8(0x1be)]!==_0x3b56db?this['enqueue']([this[_0x5ee5f8(0x237)],_0x196a2e,!0x1,_0x488163,_0x5a2e67]):this['getBlobData'](_0x196a2e,!0x1,_0x488163,_0x5a2e67):this[_0x5ee5f8(0x1be)]!==_0x3b56db?this['enqueue']([this[_0x5ee5f8(0x99)],_0x196a2e,!0x1,_0x488163,_0x5a2e67]):this[_0x5ee5f8(0x100)](_0xf36f92['frame'](_0x196a2e,_0x488163),_0x5a2e67);}[_0x32c269(0x22d)](_0x245a36,_0xa0eeea,_0x4f7c40){const _0x214cec=_0x32c269;let _0x594628,_0x427f5f;if(typeof _0x245a36==_0x214cec(0x20b)?(_0x594628=Buffer[_0x214cec(0x20d)](_0x245a36),_0x427f5f=!0x1):_0x928dcf(_0x245a36)?(_0x594628=_0x245a36['size'],_0x427f5f=!0x1):(_0x245a36=_0x3edce6(_0x245a36),_0x594628=_0x245a36['length'],_0x427f5f=_0x3edce6[_0x214cec(0x218)]),_0x594628>0x7d)throw new RangeError(_0x214cec(0xea));const _0xe79f8={[_0xa68af3]:_0x594628,'fin':!0x0,'generateMask':this[_0x214cec(0x1df)],'mask':_0xa0eeea,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x427f5f,'rsv1':!0x1};_0x928dcf(_0x245a36)?this['_state']!==_0x3b56db?this['enqueue']([this[_0x214cec(0x237)],_0x245a36,!0x1,_0xe79f8,_0x4f7c40]):this['getBlobData'](_0x245a36,!0x1,_0xe79f8,_0x4f7c40):this['_state']!==_0x3b56db?this[_0x214cec(0x1fe)]([this['dispatch'],_0x245a36,!0x1,_0xe79f8,_0x4f7c40]):this[_0x214cec(0x100)](_0xf36f92[_0x214cec(0x110)](_0x245a36,_0xe79f8),_0x4f7c40);}[_0x32c269(0xe3)](_0x4e08ba,_0x594e19,_0x3be3a){const _0x4a567c=_0x32c269,_0x2ada69=this['_extensions'][_0x553228[_0x4a567c(0xa1)]];let _0x4e09ad=_0x594e19[_0x4a567c(0x1fd)]?0x2:0x1,_0x3e72db=_0x594e19[_0x4a567c(0x143)],_0x2cffbc,_0x1b76f2;typeof _0x4e08ba=='string'?(_0x2cffbc=Buffer[_0x4a567c(0x20d)](_0x4e08ba),_0x1b76f2=!0x1):_0x928dcf(_0x4e08ba)?(_0x2cffbc=_0x4e08ba[_0x4a567c(0x14b)],_0x1b76f2=!0x1):(_0x4e08ba=_0x3edce6(_0x4e08ba),_0x2cffbc=_0x4e08ba[_0x4a567c(0x217)],_0x1b76f2=_0x3edce6[_0x4a567c(0x218)]),this[_0x4a567c(0xae)]?(this['_firstFragment']=!0x1,_0x3e72db&&_0x2ada69&&_0x2ada69[_0x4a567c(0x8f)][_0x2ada69[_0x4a567c(0x230)]?_0x4a567c(0xe9):_0x4a567c(0x22f)]&&(_0x3e72db=_0x2cffbc>=_0x2ada69[_0x4a567c(0x95)]),this['_compress']=_0x3e72db):(_0x3e72db=!0x1,_0x4e09ad=0x0),_0x594e19['fin']&&(this[_0x4a567c(0xae)]=!0x0);const _0x46eaa7={[_0xa68af3]:_0x2cffbc,'fin':_0x594e19[_0x4a567c(0x1d4)],'generateMask':this[_0x4a567c(0x1df)],'mask':_0x594e19['mask'],'maskBuffer':this[_0x4a567c(0x160)],'opcode':_0x4e09ad,'readOnly':_0x1b76f2,'rsv1':_0x3e72db};_0x928dcf(_0x4e08ba)?this['_state']!==_0x3b56db?this['enqueue']([this['getBlobData'],_0x4e08ba,this['_compress'],_0x46eaa7,_0x3be3a]):this[_0x4a567c(0x237)](_0x4e08ba,this[_0x4a567c(0x17c)],_0x46eaa7,_0x3be3a):this[_0x4a567c(0x1be)]!==_0x3b56db?this['enqueue']([this['dispatch'],_0x4e08ba,this[_0x4a567c(0x17c)],_0x46eaa7,_0x3be3a]):this['dispatch'](_0x4e08ba,this[_0x4a567c(0x17c)],_0x46eaa7,_0x3be3a);}['getBlobData'](_0x4968bb,_0x4fe089,_0x44d760,_0x42c52a){const _0x47bbb4=_0x32c269;this[_0x47bbb4(0x165)]+=_0x44d760[_0xa68af3],this[_0x47bbb4(0x1be)]=_0x1bb858,_0x4968bb[_0x47bbb4(0x16d)]()['then'](_0x4ab0db=>{const _0x312e25=_0x47bbb4;if(this[_0x312e25(0x246)][_0x312e25(0x91)]){const _0x3b317a=new Error(_0x312e25(0x14c));process[_0x312e25(0xe6)](_0x1854f6,this,_0x3b317a,_0x42c52a);return;}this[_0x312e25(0x165)]-=_0x44d760[_0xa68af3];const _0xa6fe85=_0x3edce6(_0x4ab0db);_0x4fe089?this[_0x312e25(0x99)](_0xa6fe85,_0x4fe089,_0x44d760,_0x42c52a):(this[_0x312e25(0x1be)]=_0x3b56db,this[_0x312e25(0x100)](_0xf36f92[_0x312e25(0x110)](_0xa6fe85,_0x44d760),_0x42c52a),this[_0x312e25(0x17a)]());})['catch'](_0x49ff69=>{process['nextTick'](_0x563b10,this,_0x49ff69,_0x42c52a);});}[_0x32c269(0x99)](_0x68c042,_0x3df1ee,_0x71aaaa,_0x21febe){const _0x2abda1=_0x32c269;if(!_0x3df1ee){this[_0x2abda1(0x100)](_0xf36f92[_0x2abda1(0x110)](_0x68c042,_0x71aaaa),_0x21febe);return;}const _0x3004ef=this[_0x2abda1(0x12e)][_0x553228[_0x2abda1(0xa1)]];this['_bufferedBytes']+=_0x71aaaa[_0xa68af3],this['_state']=_0x413b9c,_0x3004ef[_0x2abda1(0x143)](_0x68c042,_0x71aaaa[_0x2abda1(0x1d4)],(_0x2b8399,_0x51e4da)=>{const _0x23dcf9=_0x2abda1;if(this[_0x23dcf9(0x246)][_0x23dcf9(0x91)]){const _0x6795a8=new Error(_0x23dcf9(0xd9));_0x1854f6(this,_0x6795a8,_0x21febe);return;}this['_bufferedBytes']-=_0x71aaaa[_0xa68af3],this['_state']=_0x3b56db,_0x71aaaa[_0x23dcf9(0x218)]=!0x1,this[_0x23dcf9(0x100)](_0xf36f92[_0x23dcf9(0x110)](_0x51e4da,_0x71aaaa),_0x21febe),this[_0x23dcf9(0x17a)]();});}[_0x32c269(0x17a)](){const _0x57a258=_0x32c269;for(;this[_0x57a258(0x1be)]===_0x3b56db&&this['_queue'][_0x57a258(0x217)];){const _0x3716d5=this[_0x57a258(0x1ca)]['shift']();this['_bufferedBytes']-=_0x3716d5[0x3][_0xa68af3],Reflect[_0x57a258(0x223)](_0x3716d5[0x0],this,_0x3716d5['slice'](0x1));}}[_0x32c269(0x1fe)](_0x1e6e89){const _0x48e264=_0x32c269;this['_bufferedBytes']+=_0x1e6e89[0x3][_0xa68af3],this[_0x48e264(0x1ca)][_0x48e264(0x119)](_0x1e6e89);}[_0x32c269(0x100)](_0x1d8f1a,_0x19183f){const _0x56915b=_0x32c269;_0x1d8f1a[_0x56915b(0x217)]===0x2?(this[_0x56915b(0x246)][_0x56915b(0x1e5)](),this[_0x56915b(0x246)]['write'](_0x1d8f1a[0x0]),this[_0x56915b(0x246)][_0x56915b(0xf8)](_0x1d8f1a[0x1],_0x19183f),this['_socket'][_0x56915b(0x13f)]()):this[_0x56915b(0x246)]['write'](_0x1d8f1a[0x0],_0x19183f);}}Ee=_0xf36f92;function _0x1854f6(_0x2168c3,_0xddab44,_0xe83f09){const _0x2f66b2=_0x32c269;typeof _0xe83f09=='function'&&_0xe83f09(_0xddab44);for(let _0xcb11c1=0x0;_0xcb11c1<_0x2168c3['_queue'][_0x2f66b2(0x217)];_0xcb11c1++){const _0x1066f1=_0x2168c3[_0x2f66b2(0x1ca)][_0xcb11c1],_0x26ba3c=_0x1066f1[_0x1066f1['length']-0x1];typeof _0x26ba3c==_0x2f66b2(0x16e)&&_0x26ba3c(_0xddab44);}}function _0x563b10(_0x4b16a0,_0x25c1e5,_0x5f4860){const _0x54f556=_0x32c269;_0x1854f6(_0x4b16a0,_0x25c1e5,_0x5f4860),_0x4b16a0[_0x54f556(0x1f3)](_0x25c1e5);}return Ee;}var xe,Ze;function It(){const _0x4c8141=_0x4dd9b1;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x532b4b,kListener:_0x15120a}=H(),_0x3ff74c=Symbol(_0x4c8141(0x156)),_0x504807=Symbol(_0x4c8141(0xc9)),_0xe4307d=Symbol(_0x4c8141(0xdf)),_0x1c064f=Symbol(_0x4c8141(0xa5)),_0x94071f=Symbol(_0x4c8141(0x20c)),_0x3abb60=Symbol(_0x4c8141(0xa8)),_0x43f7bf=Symbol(_0x4c8141(0xbb)),_0x4da9ce=Symbol(_0x4c8141(0x11b));class _0x5f2f42{constructor(_0x203d66){this[_0x3abb60]=null,this[_0x43f7bf]=_0x203d66;}get[_0x4c8141(0xef)](){return this[_0x3abb60];}get['type'](){return this[_0x43f7bf];}}Object[_0x4c8141(0xf0)](_0x5f2f42[_0x4c8141(0xb9)],_0x4c8141(0xef),{'enumerable':!0x0}),Object[_0x4c8141(0xf0)](_0x5f2f42[_0x4c8141(0xb9)],_0x4c8141(0x17f),{'enumerable':!0x0});class _0x55bbb9 extends _0x5f2f42{constructor(_0x48205b,_0x1f641b={}){const _0x1fef06=_0x4c8141;super(_0x48205b),this[_0x3ff74c]=_0x1f641b['code']===void 0x0?0x0:_0x1f641b[_0x1fef06(0x203)],this[_0x94071f]=_0x1f641b[_0x1fef06(0x1f6)]===void 0x0?'':_0x1f641b[_0x1fef06(0x1f6)],this[_0x4da9ce]=_0x1f641b['wasClean']===void 0x0?!0x1:_0x1f641b['wasClean'];}get[_0x4c8141(0x203)](){return this[_0x3ff74c];}get['reason'](){return this[_0x94071f];}get[_0x4c8141(0x1b0)](){return this[_0x4da9ce];}}Object[_0x4c8141(0xf0)](_0x55bbb9[_0x4c8141(0xb9)],'code',{'enumerable':!0x0}),Object[_0x4c8141(0xf0)](_0x55bbb9['prototype'],_0x4c8141(0x1f6),{'enumerable':!0x0}),Object[_0x4c8141(0xf0)](_0x55bbb9['prototype'],'wasClean',{'enumerable':!0x0});class _0x4745b4 extends _0x5f2f42{constructor(_0xba286,_0x462a16={}){const _0x42b81b=_0x4c8141;super(_0xba286),this[_0xe4307d]=_0x462a16[_0x42b81b(0x1b9)]===void 0x0?null:_0x462a16[_0x42b81b(0x1b9)],this[_0x1c064f]=_0x462a16[_0x42b81b(0x147)]===void 0x0?'':_0x462a16[_0x42b81b(0x147)];}get['error'](){return this[_0xe4307d];}get[_0x4c8141(0x147)](){return this[_0x1c064f];}}Object[_0x4c8141(0xf0)](_0x4745b4[_0x4c8141(0xb9)],'error',{'enumerable':!0x0}),Object['defineProperty'](_0x4745b4[_0x4c8141(0xb9)],_0x4c8141(0x147),{'enumerable':!0x0});class _0x39bc8f extends _0x5f2f42{constructor(_0x124635,_0x33da43={}){const _0xfd8652=_0x4c8141;super(_0x124635),this[_0x504807]=_0x33da43[_0xfd8652(0x133)]===void 0x0?null:_0x33da43[_0xfd8652(0x133)];}get[_0x4c8141(0x133)](){return this[_0x504807];}}Object['defineProperty'](_0x39bc8f[_0x4c8141(0xb9)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x55bbb9,'ErrorEvent':_0x4745b4,'Event':_0x5f2f42,'EventTarget':{'addEventListener'(_0x116613,_0x3c8d1f,_0x305e1e={}){const _0x2278c4=_0x4c8141;for(const _0x35beb7 of this[_0x2278c4(0x21a)](_0x116613))if(!_0x305e1e[_0x532b4b]&&_0x35beb7[_0x15120a]===_0x3c8d1f&&!_0x35beb7[_0x532b4b])return;let _0x3658e4;if(_0x116613===_0x2278c4(0x147))_0x3658e4=function(_0x9e0f32,_0xfc9e64){const _0x42c2a9=_0x2278c4,_0x49b1b7=new _0x39bc8f('message',{'data':_0xfc9e64?_0x9e0f32:_0x9e0f32[_0x42c2a9(0x131)]()});_0x49b1b7[_0x3abb60]=this,_0x458eb1(_0x3c8d1f,this,_0x49b1b7);};else{if(_0x116613===_0x2278c4(0x15b))_0x3658e4=function(_0x57dee4,_0x17e4ab){const _0x1231a3=_0x2278c4,_0x13d2db=new _0x55bbb9('close',{'code':_0x57dee4,'reason':_0x17e4ab[_0x1231a3(0x131)](),'wasClean':this[_0x1231a3(0x10c)]&&this[_0x1231a3(0x117)]});_0x13d2db[_0x3abb60]=this,_0x458eb1(_0x3c8d1f,this,_0x13d2db);};else{if(_0x116613===_0x2278c4(0x1b9))_0x3658e4=function(_0x2b4895){const _0x38e449=_0x2278c4,_0x497e64=new _0x4745b4(_0x38e449(0x1b9),{'error':_0x2b4895,'message':_0x2b4895['message']});_0x497e64[_0x3abb60]=this,_0x458eb1(_0x3c8d1f,this,_0x497e64);};else{if(_0x116613===_0x2278c4(0x226))_0x3658e4=function(){const _0x54656a=new _0x5f2f42('open');_0x54656a[_0x3abb60]=this,_0x458eb1(_0x3c8d1f,this,_0x54656a);};else return;}}}_0x3658e4[_0x532b4b]=!!_0x305e1e[_0x532b4b],_0x3658e4[_0x15120a]=_0x3c8d1f,_0x305e1e[_0x2278c4(0x167)]?this[_0x2278c4(0x167)](_0x116613,_0x3658e4):this['on'](_0x116613,_0x3658e4);},'removeEventListener'(_0x1757a6,_0x33418c){const _0x13876d=_0x4c8141;for(const _0x1d244b of this['listeners'](_0x1757a6))if(_0x1d244b[_0x15120a]===_0x33418c&&!_0x1d244b[_0x532b4b]){this[_0x13876d(0x19d)](_0x1757a6,_0x1d244b);break;}}},'MessageEvent':_0x39bc8f};function _0x458eb1(_0x35a907,_0x1ea081,_0x307a2d){const _0x2a4044=_0x4c8141;typeof _0x35a907==_0x2a4044(0x21f)&&_0x35a907['handleEvent']?_0x35a907[_0x2a4044(0x17b)][_0x2a4044(0xd8)](_0x35a907,_0x307a2d):_0x35a907[_0x2a4044(0xd8)](_0x1ea081,_0x307a2d);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x964ef4}=ae();function _0x422434(_0x31c280,_0xd38381,_0x588ced){const _0x1442fd=_0x2602;_0x31c280[_0xd38381]===void 0x0?_0x31c280[_0xd38381]=[_0x588ced]:_0x31c280[_0xd38381][_0x1442fd(0x119)](_0x588ced);}function _0x430808(_0x50bbac){const _0x39f889=_0x2602,_0x140046=Object['create'](null);let _0x4d949d=Object[_0x39f889(0x173)](null),_0x26083a=!0x1,_0x3d8eb4=!0x1,_0x19e9ec=!0x1,_0x5c80d7,_0x36b54c,_0x55a392=-0x1,_0x34fdbc=-0x1,_0x133477=-0x1,_0x520628=0x0;for(;_0x520628<_0x50bbac[_0x39f889(0x217)];_0x520628++)if(_0x34fdbc=_0x50bbac['charCodeAt'](_0x520628),_0x5c80d7===void 0x0){if(_0x133477===-0x1&&_0x964ef4[_0x34fdbc]===0x1)_0x55a392===-0x1&&(_0x55a392=_0x520628);else{if(_0x520628!==0x0&&(_0x34fdbc===0x20||_0x34fdbc===0x9))_0x133477===-0x1&&_0x55a392!==-0x1&&(_0x133477=_0x520628);else{if(_0x34fdbc===0x3b||_0x34fdbc===0x2c){if(_0x55a392===-0x1)throw new SyntaxError(_0x39f889(0x1cb)+_0x520628);_0x133477===-0x1&&(_0x133477=_0x520628);const _0x15bf76=_0x50bbac[_0x39f889(0xca)](_0x55a392,_0x133477);_0x34fdbc===0x2c?(_0x422434(_0x140046,_0x15bf76,_0x4d949d),_0x4d949d=Object[_0x39f889(0x173)](null)):_0x5c80d7=_0x15bf76,_0x55a392=_0x133477=-0x1;}else throw new SyntaxError(_0x39f889(0x1cb)+_0x520628);}}}else{if(_0x36b54c===void 0x0){if(_0x133477===-0x1&&_0x964ef4[_0x34fdbc]===0x1)_0x55a392===-0x1&&(_0x55a392=_0x520628);else{if(_0x34fdbc===0x20||_0x34fdbc===0x9)_0x133477===-0x1&&_0x55a392!==-0x1&&(_0x133477=_0x520628);else{if(_0x34fdbc===0x3b||_0x34fdbc===0x2c){if(_0x55a392===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x520628);_0x133477===-0x1&&(_0x133477=_0x520628),_0x422434(_0x4d949d,_0x50bbac[_0x39f889(0xca)](_0x55a392,_0x133477),!0x0),_0x34fdbc===0x2c&&(_0x422434(_0x140046,_0x5c80d7,_0x4d949d),_0x4d949d=Object[_0x39f889(0x173)](null),_0x5c80d7=void 0x0),_0x55a392=_0x133477=-0x1;}else{if(_0x34fdbc===0x3d&&_0x55a392!==-0x1&&_0x133477===-0x1)_0x36b54c=_0x50bbac[_0x39f889(0xca)](_0x55a392,_0x520628),_0x55a392=_0x133477=-0x1;else throw new SyntaxError(_0x39f889(0x1cb)+_0x520628);}}}}else{if(_0x3d8eb4){if(_0x964ef4[_0x34fdbc]!==0x1)throw new SyntaxError(_0x39f889(0x1cb)+_0x520628);_0x55a392===-0x1?_0x55a392=_0x520628:_0x26083a||(_0x26083a=!0x0),_0x3d8eb4=!0x1;}else{if(_0x19e9ec){if(_0x964ef4[_0x34fdbc]===0x1)_0x55a392===-0x1&&(_0x55a392=_0x520628);else{if(_0x34fdbc===0x22&&_0x55a392!==-0x1)_0x19e9ec=!0x1,_0x133477=_0x520628;else{if(_0x34fdbc===0x5c)_0x3d8eb4=!0x0;else throw new SyntaxError(_0x39f889(0x1cb)+_0x520628);}}}else{if(_0x34fdbc===0x22&&_0x50bbac[_0x39f889(0x9d)](_0x520628-0x1)===0x3d)_0x19e9ec=!0x0;else{if(_0x133477===-0x1&&_0x964ef4[_0x34fdbc]===0x1)_0x55a392===-0x1&&(_0x55a392=_0x520628);else{if(_0x55a392!==-0x1&&(_0x34fdbc===0x20||_0x34fdbc===0x9))_0x133477===-0x1&&(_0x133477=_0x520628);else{if(_0x34fdbc===0x3b||_0x34fdbc===0x2c){if(_0x55a392===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x520628);_0x133477===-0x1&&(_0x133477=_0x520628);let _0x2bf4b4=_0x50bbac[_0x39f889(0xca)](_0x55a392,_0x133477);_0x26083a&&(_0x2bf4b4=_0x2bf4b4[_0x39f889(0x186)](/\\/g,''),_0x26083a=!0x1),_0x422434(_0x4d949d,_0x36b54c,_0x2bf4b4),_0x34fdbc===0x2c&&(_0x422434(_0x140046,_0x5c80d7,_0x4d949d),_0x4d949d=Object['create'](null),_0x5c80d7=void 0x0),_0x36b54c=void 0x0,_0x55a392=_0x133477=-0x1;}else throw new SyntaxError(_0x39f889(0x1cb)+_0x520628);}}}}}}}if(_0x55a392===-0x1||_0x19e9ec||_0x34fdbc===0x20||_0x34fdbc===0x9)throw new SyntaxError(_0x39f889(0xcd));_0x133477===-0x1&&(_0x133477=_0x520628);const _0x4ee9a7=_0x50bbac[_0x39f889(0xca)](_0x55a392,_0x133477);return _0x5c80d7===void 0x0?_0x422434(_0x140046,_0x4ee9a7,_0x4d949d):(_0x36b54c===void 0x0?_0x422434(_0x4d949d,_0x4ee9a7,!0x0):_0x26083a?_0x422434(_0x4d949d,_0x36b54c,_0x4ee9a7['replace'](/\\/g,'')):_0x422434(_0x4d949d,_0x36b54c,_0x4ee9a7),_0x422434(_0x140046,_0x5c80d7,_0x4d949d)),_0x140046;}function _0x2ed5f0(_0xce8237){const _0x274f89=_0x2602;return Object[_0x274f89(0xeb)](_0xce8237)[_0x274f89(0x87)](_0x4bcc7a=>{const _0x5c1377=_0x274f89;let _0x2acbbc=_0xce8237[_0x4bcc7a];return Array['isArray'](_0x2acbbc)||(_0x2acbbc=[_0x2acbbc]),_0x2acbbc[_0x5c1377(0x87)](_0x3565e4=>[_0x4bcc7a][_0x5c1377(0x1f7)](Object[_0x5c1377(0xeb)](_0x3565e4)[_0x5c1377(0x87)](_0x5edc83=>{const _0x4413c1=_0x5c1377;let _0x3f853d=_0x3565e4[_0x5edc83];return Array[_0x4413c1(0x1dd)](_0x3f853d)||(_0x3f853d=[_0x3f853d]),_0x3f853d['map'](_0x57235c=>_0x57235c===!0x0?_0x5edc83:_0x5edc83+'='+_0x57235c)[_0x4413c1(0x132)](';\x20');}))[_0x5c1377(0x132)](';\x20'))['join'](',\x20');})[_0x274f89(0x132)](',\x20');}return be={'format':_0x2ed5f0,'parse':_0x430808},be;}var we,Je;function _0x2602(_0x178cb3,_0x50f42a){const _0x1e9cde=_0x1e9c();return _0x2602=function(_0x2602f4,_0x50fb48){_0x2602f4=_0x2602f4-0x7f;let _0x2ee8c4=_0x1e9cde[_0x2602f4];return _0x2ee8c4;},_0x2602(_0x178cb3,_0x50f42a);}function Pe(){const _0x444ffc=_0x4dd9b1;if(Je)return we;Je=0x1;const _0x586e48=nt,_0x46cbe9=vt,_0x2cf328=ot,_0x2b665d=St,_0x352e54=Et,{randomBytes:_0x2659ae,createHash:_0xfb5308}=Le,{Duplex:_0x626620,Readable:_0x3af4b2}=oe,{URL:_0x1092d1}=xt,_0x271a05=he(),_0x470428=lt(),_0x8277d1=ft(),{isBlob:_0x26711a}=ae(),{BINARY_TYPES:_0x3f89f5,EMPTY_BUFFER:_0xb1b2dd,GUID:_0x4bd011,kForOnEventAttribute:_0x522dc0,kListener:_0x127157,kStatusCode:_0x4cc223,kWebSocket:_0xcad78c,NOOP:_0x42a7d5}=H(),{EventTarget:{addEventListener:_0x1ebb20,removeEventListener:_0x519608}}=It(),{format:_0x5035fe,parse:_0xa8a659}=ct(),{toBuffer:_0x230597}=ce(),_0x3a8d7e=0x1e*0x3e8,_0x10dd62=Symbol(_0x444ffc(0x1e3)),_0xee3bb1=[0x8,0xd],_0x4def6f=[_0x444ffc(0x145),'OPEN','CLOSING',_0x444ffc(0x215)],_0x2a076e=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3b52dd extends _0x586e48{constructor(_0x1ce157,_0x21d00e,_0x2b3852){const _0x2a3ce7=_0x444ffc;super(),this[_0x2a3ce7(0x102)]=_0x3f89f5[0x0],this[_0x2a3ce7(0x11a)]=0x3ee,this[_0x2a3ce7(0x10c)]=!0x1,this[_0x2a3ce7(0x117)]=!0x1,this['_closeMessage']=_0xb1b2dd,this['_closeTimer']=null,this[_0x2a3ce7(0x22a)]=!0x1,this[_0x2a3ce7(0x12e)]={},this[_0x2a3ce7(0x212)]=!0x1,this[_0x2a3ce7(0x177)]='',this[_0x2a3ce7(0x196)]=_0x3b52dd[_0x2a3ce7(0x145)],this['_receiver']=null,this[_0x2a3ce7(0x182)]=null,this[_0x2a3ce7(0x246)]=null,_0x1ce157!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this[_0x2a3ce7(0x10d)]=0x0,_0x21d00e===void 0x0?_0x21d00e=[]:Array[_0x2a3ce7(0x1dd)](_0x21d00e)||(typeof _0x21d00e==_0x2a3ce7(0x21f)&&_0x21d00e!==null?(_0x2b3852=_0x21d00e,_0x21d00e=[]):_0x21d00e=[_0x21d00e]),_0xf489e3(this,_0x1ce157,_0x21d00e,_0x2b3852)):(this[_0x2a3ce7(0x200)]=_0x2b3852['autoPong'],this['_isServer']=!0x0);}get[_0x444ffc(0x92)](){return this['_binaryType'];}set[_0x444ffc(0x92)](_0x192a64){const _0x54fc13=_0x444ffc;_0x3f89f5['includes'](_0x192a64)&&(this[_0x54fc13(0x102)]=_0x192a64,this['_receiver']&&(this[_0x54fc13(0xb8)][_0x54fc13(0x102)]=_0x192a64));}get[_0x444ffc(0x135)](){const _0x53c5ad=_0x444ffc;return this[_0x53c5ad(0x246)]?this[_0x53c5ad(0x246)][_0x53c5ad(0xa0)][_0x53c5ad(0x217)]+this[_0x53c5ad(0x182)][_0x53c5ad(0x165)]:this[_0x53c5ad(0xc1)];}get[_0x444ffc(0x17e)](){const _0x3bc3b6=_0x444ffc;return Object[_0x3bc3b6(0xeb)](this[_0x3bc3b6(0x12e)])[_0x3bc3b6(0x132)]();}get[_0x444ffc(0x1c7)](){const _0x2b1d92=_0x444ffc;return this[_0x2b1d92(0x212)];}get[_0x444ffc(0xc7)](){return null;}get[_0x444ffc(0x1f3)](){return null;}get[_0x444ffc(0x1ac)](){return null;}get[_0x444ffc(0x219)](){return null;}get[_0x444ffc(0xaf)](){return this['_protocol'];}get[_0x444ffc(0x1e8)](){const _0x427fcb=_0x444ffc;return this[_0x427fcb(0x196)];}get['url'](){const _0x2ff529=_0x444ffc;return this[_0x2ff529(0x139)];}[_0x444ffc(0x1fc)](_0x4573b2,_0x3b53ba,_0x1d3e7a){const _0x3fa6ef=_0x444ffc,_0x54a8a9=new _0x470428({'allowSynchronousEvents':_0x1d3e7a['allowSynchronousEvents'],'binaryType':this[_0x3fa6ef(0x92)],'extensions':this['_extensions'],'isServer':this['_isServer'],'maxPayload':_0x1d3e7a[_0x3fa6ef(0x181)],'skipUTF8Validation':_0x1d3e7a['skipUTF8Validation']}),_0x1fd051=new _0x8277d1(_0x4573b2,this['_extensions'],_0x1d3e7a['generateMask']);this[_0x3fa6ef(0xb8)]=_0x54a8a9,this[_0x3fa6ef(0x182)]=_0x1fd051,this[_0x3fa6ef(0x246)]=_0x4573b2,_0x54a8a9[_0xcad78c]=this,_0x1fd051[_0xcad78c]=this,_0x4573b2[_0xcad78c]=this,_0x54a8a9['on'](_0x3fa6ef(0x9c),_0x278940),_0x54a8a9['on'](_0x3fa6ef(0x243),_0x2b4261),_0x54a8a9['on'](_0x3fa6ef(0x1b9),_0x227ca4),_0x54a8a9['on'](_0x3fa6ef(0x147),_0x38f848),_0x54a8a9['on'](_0x3fa6ef(0x14d),_0x5299a8),_0x54a8a9['on'](_0x3fa6ef(0x22d),_0x27fe4d),_0x1fd051[_0x3fa6ef(0x1f3)]=_0x2ff097,_0x4573b2[_0x3fa6ef(0x1ae)]&&_0x4573b2[_0x3fa6ef(0x1ae)](0x0),_0x4573b2[_0x3fa6ef(0xfd)]&&_0x4573b2['setNoDelay'](),_0x3b53ba[_0x3fa6ef(0x217)]>0x0&&_0x4573b2['unshift'](_0x3b53ba),_0x4573b2['on']('close',_0x40850d),_0x4573b2['on'](_0x3fa6ef(0x133),_0x37f84f),_0x4573b2['on'](_0x3fa6ef(0x141),_0x4beb29),_0x4573b2['on'](_0x3fa6ef(0x1b9),_0x238f22),this[_0x3fa6ef(0x196)]=_0x3b52dd['OPEN'],this[_0x3fa6ef(0x138)](_0x3fa6ef(0x226));}[_0x444ffc(0x1c2)](){const _0x2d1d01=_0x444ffc;if(!this[_0x2d1d01(0x246)]){this[_0x2d1d01(0x196)]=_0x3b52dd[_0x2d1d01(0x215)],this[_0x2d1d01(0x138)](_0x2d1d01(0x15b),this['_closeCode'],this['_closeMessage']);return;}this[_0x2d1d01(0x12e)][_0x271a05[_0x2d1d01(0xa1)]]&&this[_0x2d1d01(0x12e)][_0x271a05[_0x2d1d01(0xa1)]][_0x2d1d01(0x12b)](),this[_0x2d1d01(0xb8)][_0x2d1d01(0xfe)](),this[_0x2d1d01(0x196)]=_0x3b52dd['CLOSED'],this[_0x2d1d01(0x138)]('close',this[_0x2d1d01(0x11a)],this[_0x2d1d01(0x238)]);}[_0x444ffc(0x15b)](_0x37061c,_0x47d029){const _0x4fbd93=_0x444ffc;if(this['readyState']!==_0x3b52dd[_0x4fbd93(0x215)]){if(this['readyState']===_0x3b52dd[_0x4fbd93(0x145)]){_0xbd8b1(this,this[_0x4fbd93(0x231)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this['readyState']===_0x3b52dd['CLOSING']){this[_0x4fbd93(0x117)]&&(this['_closeFrameReceived']||this['_receiver']['_writableState']['errorEmitted'])&&this[_0x4fbd93(0x246)][_0x4fbd93(0x141)]();return;}this[_0x4fbd93(0x196)]=_0x3b52dd[_0x4fbd93(0x124)],this[_0x4fbd93(0x182)][_0x4fbd93(0x15b)](_0x37061c,_0x47d029,!this[_0x4fbd93(0x230)],_0xc848e4=>{const _0x3a2b94=_0x4fbd93;_0xc848e4||(this[_0x3a2b94(0x117)]=!0x0,(this[_0x3a2b94(0x10c)]||this[_0x3a2b94(0xb8)]['_writableState']['errorEmitted'])&&this[_0x3a2b94(0x246)][_0x3a2b94(0x141)]());}),_0x4414a8(this);}}['pause'](){const _0x5194a3=_0x444ffc;this['readyState']===_0x3b52dd['CONNECTING']||this[_0x5194a3(0x1e8)]===_0x3b52dd[_0x5194a3(0x215)]||(this[_0x5194a3(0x212)]=!0x0,this[_0x5194a3(0x246)][_0x5194a3(0xd7)]());}[_0x444ffc(0x14d)](_0x38c01c,_0x380544,_0x20629f){const _0x5abdc6=_0x444ffc;if(this['readyState']===_0x3b52dd[_0x5abdc6(0x145)])throw new Error(_0x5abdc6(0xf7));if(typeof _0x38c01c==_0x5abdc6(0x16e)?(_0x20629f=_0x38c01c,_0x38c01c=_0x380544=void 0x0):typeof _0x380544==_0x5abdc6(0x16e)&&(_0x20629f=_0x380544,_0x380544=void 0x0),typeof _0x38c01c==_0x5abdc6(0xa7)&&(_0x38c01c=_0x38c01c[_0x5abdc6(0x131)]()),this['readyState']!==_0x3b52dd[_0x5abdc6(0x1ce)]){_0x9a9a35(this,_0x38c01c,_0x20629f);return;}_0x380544===void 0x0&&(_0x380544=!this[_0x5abdc6(0x230)]),this[_0x5abdc6(0x182)][_0x5abdc6(0x14d)](_0x38c01c||_0xb1b2dd,_0x380544,_0x20629f);}[_0x444ffc(0x22d)](_0x4ae2a9,_0x25dde1,_0x2159a1){const _0x59851b=_0x444ffc;if(this[_0x59851b(0x1e8)]===_0x3b52dd[_0x59851b(0x145)])throw new Error(_0x59851b(0xf7));if(typeof _0x4ae2a9=='function'?(_0x2159a1=_0x4ae2a9,_0x4ae2a9=_0x25dde1=void 0x0):typeof _0x25dde1==_0x59851b(0x16e)&&(_0x2159a1=_0x25dde1,_0x25dde1=void 0x0),typeof _0x4ae2a9=='number'&&(_0x4ae2a9=_0x4ae2a9[_0x59851b(0x131)]()),this[_0x59851b(0x1e8)]!==_0x3b52dd[_0x59851b(0x1ce)]){_0x9a9a35(this,_0x4ae2a9,_0x2159a1);return;}_0x25dde1===void 0x0&&(_0x25dde1=!this[_0x59851b(0x230)]),this['_sender'][_0x59851b(0x22d)](_0x4ae2a9||_0xb1b2dd,_0x25dde1,_0x2159a1);}[_0x444ffc(0xfb)](){const _0x6fefa2=_0x444ffc;this[_0x6fefa2(0x1e8)]===_0x3b52dd['CONNECTING']||this[_0x6fefa2(0x1e8)]===_0x3b52dd['CLOSED']||(this[_0x6fefa2(0x212)]=!0x1,this[_0x6fefa2(0xb8)][_0x6fefa2(0xa0)][_0x6fefa2(0x1eb)]||this[_0x6fefa2(0x246)][_0x6fefa2(0xfb)]());}[_0x444ffc(0xe3)](_0xca8b8b,_0x5b49e2,_0x2430e4){const _0x486acc=_0x444ffc;if(this[_0x486acc(0x1e8)]===_0x3b52dd[_0x486acc(0x145)])throw new Error(_0x486acc(0xf7));if(typeof _0x5b49e2==_0x486acc(0x16e)&&(_0x2430e4=_0x5b49e2,_0x5b49e2={}),typeof _0xca8b8b=='number'&&(_0xca8b8b=_0xca8b8b['toString']()),this['readyState']!==_0x3b52dd['OPEN']){_0x9a9a35(this,_0xca8b8b,_0x2430e4);return;}const _0xd2e029={'binary':typeof _0xca8b8b!='string','mask':!this[_0x486acc(0x230)],'compress':!0x0,'fin':!0x0,..._0x5b49e2};this[_0x486acc(0x12e)][_0x271a05[_0x486acc(0xa1)]]||(_0xd2e029[_0x486acc(0x143)]=!0x1),this[_0x486acc(0x182)][_0x486acc(0xe3)](_0xca8b8b||_0xb1b2dd,_0xd2e029,_0x2430e4);}[_0x444ffc(0x162)](){const _0x35d29c=_0x444ffc;if(this[_0x35d29c(0x1e8)]!==_0x3b52dd[_0x35d29c(0x215)]){if(this[_0x35d29c(0x1e8)]===_0x3b52dd[_0x35d29c(0x145)]){_0xbd8b1(this,this[_0x35d29c(0x231)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x35d29c(0x246)]&&(this['_readyState']=_0x3b52dd[_0x35d29c(0x124)],this[_0x35d29c(0x246)][_0x35d29c(0x1ee)]());}}}Object[_0x444ffc(0xf0)](_0x3b52dd,_0x444ffc(0x145),{'enumerable':!0x0,'value':_0x4def6f[_0x444ffc(0xc5)]('CONNECTING')}),Object['defineProperty'](_0x3b52dd[_0x444ffc(0xb9)],'CONNECTING',{'enumerable':!0x0,'value':_0x4def6f[_0x444ffc(0xc5)](_0x444ffc(0x145))}),Object[_0x444ffc(0xf0)](_0x3b52dd,_0x444ffc(0x1ce),{'enumerable':!0x0,'value':_0x4def6f[_0x444ffc(0xc5)]('OPEN')}),Object['defineProperty'](_0x3b52dd['prototype'],_0x444ffc(0x1ce),{'enumerable':!0x0,'value':_0x4def6f[_0x444ffc(0xc5)](_0x444ffc(0x1ce))}),Object[_0x444ffc(0xf0)](_0x3b52dd,_0x444ffc(0x124),{'enumerable':!0x0,'value':_0x4def6f[_0x444ffc(0xc5)]('CLOSING')}),Object[_0x444ffc(0xf0)](_0x3b52dd['prototype'],_0x444ffc(0x124),{'enumerable':!0x0,'value':_0x4def6f['indexOf'](_0x444ffc(0x124))}),Object[_0x444ffc(0xf0)](_0x3b52dd,_0x444ffc(0x215),{'enumerable':!0x0,'value':_0x4def6f[_0x444ffc(0xc5)]('CLOSED')}),Object[_0x444ffc(0xf0)](_0x3b52dd[_0x444ffc(0xb9)],_0x444ffc(0x215),{'enumerable':!0x0,'value':_0x4def6f[_0x444ffc(0xc5)](_0x444ffc(0x215))}),[_0x444ffc(0x92),_0x444ffc(0x135),_0x444ffc(0x17e),_0x444ffc(0x1c7),_0x444ffc(0xaf),_0x444ffc(0x1e8),_0x444ffc(0xd6)][_0x444ffc(0x178)](_0x548b7c=>{const _0x4237ba=_0x444ffc;Object[_0x4237ba(0xf0)](_0x3b52dd[_0x4237ba(0xb9)],_0x548b7c,{'enumerable':!0x0});}),['open',_0x444ffc(0x1b9),_0x444ffc(0x15b),_0x444ffc(0x147)][_0x444ffc(0x178)](_0x32e9c1=>{const _0x561499=_0x444ffc;Object[_0x561499(0xf0)](_0x3b52dd['prototype'],'on'+_0x32e9c1,{'enumerable':!0x0,'get'(){for(const _0x2e768d of this['listeners'](_0x32e9c1))if(_0x2e768d[_0x522dc0])return _0x2e768d[_0x127157];return null;},'set'(_0x45dfa7){const _0x25aeb8=_0x561499;for(const _0x2e4a0d of this[_0x25aeb8(0x21a)](_0x32e9c1))if(_0x2e4a0d[_0x522dc0]){this[_0x25aeb8(0x19d)](_0x32e9c1,_0x2e4a0d);break;}typeof _0x45dfa7==_0x25aeb8(0x16e)&&this['addEventListener'](_0x32e9c1,_0x45dfa7,{[_0x522dc0]:!0x0});}});}),_0x3b52dd[_0x444ffc(0xb9)][_0x444ffc(0x83)]=_0x1ebb20,_0x3b52dd[_0x444ffc(0xb9)]['removeEventListener']=_0x519608,we=_0x3b52dd;function _0xf489e3(_0x9c154,_0x3e6dfd,_0x1d8551,_0x492b56){const _0x5e86dc=_0x444ffc,_0x2ab167={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0xee3bb1[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x492b56,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x5e86dc(0x1ed),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x9c154[_0x5e86dc(0x200)]=_0x2ab167[_0x5e86dc(0x211)],!_0xee3bb1['includes'](_0x2ab167[_0x5e86dc(0x111)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x2ab167[_0x5e86dc(0x111)]+_0x5e86dc(0x129)+_0xee3bb1[_0x5e86dc(0x132)](',\x20')+')');let _0x39cd01;if(_0x3e6dfd instanceof _0x1092d1)_0x39cd01=_0x3e6dfd;else try{_0x39cd01=new _0x1092d1(_0x3e6dfd);}catch{throw new SyntaxError(_0x5e86dc(0xe0)+_0x3e6dfd);}_0x39cd01[_0x5e86dc(0xaf)]===_0x5e86dc(0x1f4)?_0x39cd01['protocol']=_0x5e86dc(0x20f):_0x39cd01[_0x5e86dc(0xaf)]==='https:'&&(_0x39cd01[_0x5e86dc(0xaf)]='wss:'),_0x9c154[_0x5e86dc(0x139)]=_0x39cd01[_0x5e86dc(0x1c3)];const _0x1f7665=_0x39cd01[_0x5e86dc(0xaf)]===_0x5e86dc(0x1d8),_0x6fd13e=_0x39cd01[_0x5e86dc(0xaf)]===_0x5e86dc(0xd0);let _0x10903e;if(_0x39cd01[_0x5e86dc(0xaf)]!=='ws:'&&!_0x1f7665&&!_0x6fd13e?_0x10903e=_0x5e86dc(0x175):_0x6fd13e&&!_0x39cd01[_0x5e86dc(0x1b2)]?_0x10903e=_0x5e86dc(0x1c6):_0x39cd01[_0x5e86dc(0x137)]&&(_0x10903e=_0x5e86dc(0x208)),_0x10903e){const _0x2b30dd=new SyntaxError(_0x10903e);if(_0x9c154['_redirects']===0x0)throw _0x2b30dd;_0x46b2df(_0x9c154,_0x2b30dd);return;}const _0x42ab6e=_0x1f7665?0x1bb:0x50,_0x4f0d1f=_0x2659ae(0x10)[_0x5e86dc(0x131)](_0x5e86dc(0x202)),_0x35f2d7=_0x1f7665?_0x46cbe9['request']:_0x2cf328[_0x5e86dc(0x1e9)],_0x235a0d=new Set();let _0x5f4950;if(_0x2ab167[_0x5e86dc(0x113)]=_0x2ab167[_0x5e86dc(0x113)]||(_0x1f7665?_0x3c5e76:_0x1f1fea),_0x2ab167[_0x5e86dc(0xac)]=_0x2ab167['defaultPort']||_0x42ab6e,_0x2ab167[_0x5e86dc(0x18f)]=_0x39cd01[_0x5e86dc(0x18f)]||_0x42ab6e,_0x2ab167[_0x5e86dc(0x103)]=_0x39cd01[_0x5e86dc(0x220)][_0x5e86dc(0x15f)]('[')?_0x39cd01['hostname'][_0x5e86dc(0xca)](0x1,-0x1):_0x39cd01[_0x5e86dc(0x220)],_0x2ab167[_0x5e86dc(0xe8)]={..._0x2ab167['headers'],'Sec-WebSocket-Version':_0x2ab167[_0x5e86dc(0x111)],'Sec-WebSocket-Key':_0x4f0d1f,'Connection':_0x5e86dc(0x19c),'Upgrade':'websocket'},_0x2ab167[_0x5e86dc(0x106)]=_0x39cd01[_0x5e86dc(0x1b2)]+_0x39cd01[_0x5e86dc(0x15a)],_0x2ab167[_0x5e86dc(0x1f1)]=_0x2ab167[_0x5e86dc(0x13e)],_0x2ab167[_0x5e86dc(0x14e)]&&(_0x5f4950=new _0x271a05(_0x2ab167['perMessageDeflate']!==!0x0?_0x2ab167[_0x5e86dc(0x14e)]:{},!0x1,_0x2ab167[_0x5e86dc(0x181)]),_0x2ab167[_0x5e86dc(0xe8)][_0x5e86dc(0x20a)]=_0x5035fe({[_0x271a05['extensionName']]:_0x5f4950[_0x5e86dc(0x23b)]()})),_0x1d8551[_0x5e86dc(0x217)]){for(const _0x810687 of _0x1d8551){if(typeof _0x810687!=_0x5e86dc(0x20b)||!_0x2a076e[_0x5e86dc(0xbc)](_0x810687)||_0x235a0d['has'](_0x810687))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x235a0d[_0x5e86dc(0x107)](_0x810687);}_0x2ab167['headers'][_0x5e86dc(0x1f5)]=_0x1d8551[_0x5e86dc(0x132)](',');}if(_0x2ab167[_0x5e86dc(0x1f9)]&&(_0x2ab167['protocolVersion']<0xd?_0x2ab167[_0x5e86dc(0xe8)][_0x5e86dc(0x216)]=_0x2ab167[_0x5e86dc(0x1f9)]:_0x2ab167[_0x5e86dc(0xe8)][_0x5e86dc(0x1c0)]=_0x2ab167[_0x5e86dc(0x1f9)]),(_0x39cd01[_0x5e86dc(0x146)]||_0x39cd01[_0x5e86dc(0x1af)])&&(_0x2ab167[_0x5e86dc(0x1da)]=_0x39cd01[_0x5e86dc(0x146)]+':'+_0x39cd01[_0x5e86dc(0x1af)]),_0x6fd13e){const _0x2bf53d=_0x2ab167[_0x5e86dc(0x106)][_0x5e86dc(0x18d)](':');_0x2ab167[_0x5e86dc(0x23d)]=_0x2bf53d[0x0],_0x2ab167[_0x5e86dc(0x106)]=_0x2bf53d[0x1];}let _0x255204;if(_0x2ab167[_0x5e86dc(0xb4)]){if(_0x9c154['_redirects']===0x0){_0x9c154[_0x5e86dc(0x229)]=_0x6fd13e,_0x9c154['_originalSecure']=_0x1f7665,_0x9c154['_originalHostOrSocketPath']=_0x6fd13e?_0x2ab167[_0x5e86dc(0x23d)]:_0x39cd01[_0x5e86dc(0x103)];const _0x57c4f7=_0x492b56&&_0x492b56[_0x5e86dc(0xe8)];if(_0x492b56={..._0x492b56,'headers':{}},_0x57c4f7){for(const [_0x5d9eb8,_0x43b030]of Object['entries'](_0x57c4f7))_0x492b56['headers'][_0x5d9eb8['toLowerCase']()]=_0x43b030;}}else{if(_0x9c154['listenerCount'](_0x5e86dc(0x11e))===0x0){const _0x334173=_0x6fd13e?_0x9c154['_originalIpc']?_0x2ab167[_0x5e86dc(0x23d)]===_0x9c154['_originalHostOrSocketPath']:!0x1:_0x9c154[_0x5e86dc(0x229)]?!0x1:_0x39cd01['host']===_0x9c154[_0x5e86dc(0xd5)];(!_0x334173||_0x9c154[_0x5e86dc(0x179)]&&!_0x1f7665)&&(delete _0x2ab167['headers'][_0x5e86dc(0x1d5)],delete _0x2ab167[_0x5e86dc(0xe8)][_0x5e86dc(0xf3)],_0x334173||delete _0x2ab167[_0x5e86dc(0xe8)][_0x5e86dc(0x103)],_0x2ab167[_0x5e86dc(0x1da)]=void 0x0);}}_0x2ab167[_0x5e86dc(0x1da)]&&!_0x492b56[_0x5e86dc(0xe8)][_0x5e86dc(0x1d5)]&&(_0x492b56[_0x5e86dc(0xe8)][_0x5e86dc(0x1d5)]=_0x5e86dc(0x233)+Buffer[_0x5e86dc(0xb2)](_0x2ab167[_0x5e86dc(0x1da)])[_0x5e86dc(0x131)](_0x5e86dc(0x202))),_0x255204=_0x9c154[_0x5e86dc(0x231)]=_0x35f2d7(_0x2ab167),_0x9c154[_0x5e86dc(0x10d)]&&_0x9c154[_0x5e86dc(0x138)](_0x5e86dc(0x11e),_0x9c154['url'],_0x255204);}else _0x255204=_0x9c154[_0x5e86dc(0x231)]=_0x35f2d7(_0x2ab167);_0x2ab167[_0x5e86dc(0x1f1)]&&_0x255204['on']('timeout',()=>{const _0x5dbe67=_0x5e86dc;_0xbd8b1(_0x9c154,_0x255204,_0x5dbe67(0x194));}),_0x255204['on']('error',_0x355965=>{const _0xb4dac9=_0x5e86dc;_0x255204===null||_0x255204[_0x10dd62]||(_0x255204=_0x9c154[_0xb4dac9(0x231)]=null,_0x46b2df(_0x9c154,_0x355965));}),_0x255204['on'](_0x5e86dc(0x1bc),_0x164748=>{const _0x26ce0c=_0x5e86dc,_0x22ce5d=_0x164748['headers'][_0x26ce0c(0x151)],_0x1e0c3d=_0x164748[_0x26ce0c(0x168)];if(_0x22ce5d&&_0x2ab167[_0x26ce0c(0xb4)]&&_0x1e0c3d>=0x12c&&_0x1e0c3d<0x190){if(++_0x9c154[_0x26ce0c(0x10d)]>_0x2ab167['maxRedirects']){_0xbd8b1(_0x9c154,_0x255204,_0x26ce0c(0x94));return;}_0x255204['abort']();let _0x45a527;try{_0x45a527=new _0x1092d1(_0x22ce5d,_0x3e6dfd);}catch{const _0x2eab60=new SyntaxError(_0x26ce0c(0xe0)+_0x22ce5d);_0x46b2df(_0x9c154,_0x2eab60);return;}_0xf489e3(_0x9c154,_0x45a527,_0x1d8551,_0x492b56);}else _0x9c154[_0x26ce0c(0x138)](_0x26ce0c(0x1a5),_0x255204,_0x164748)||_0xbd8b1(_0x9c154,_0x255204,_0x26ce0c(0x1b3)+_0x164748[_0x26ce0c(0x168)]);}),_0x255204['on']('upgrade',(_0x234eb4,_0x133dfc,_0x57be97)=>{const _0xb5001e=_0x5e86dc;if(_0x9c154[_0xb5001e(0x138)](_0xb5001e(0x96),_0x234eb4),_0x9c154[_0xb5001e(0x1e8)]!==_0x3b52dd[_0xb5001e(0x145)])return;_0x255204=_0x9c154['_req']=null;const _0x3771b4=_0x234eb4[_0xb5001e(0xe8)][_0xb5001e(0x96)];if(_0x3771b4===void 0x0||_0x3771b4[_0xb5001e(0x1ea)]()!==_0xb5001e(0x128)){_0xbd8b1(_0x9c154,_0x133dfc,_0xb5001e(0xff));return;}const _0x3a41a5=_0xfb5308(_0xb5001e(0x221))['update'](_0x4f0d1f+_0x4bd011)['digest'](_0xb5001e(0x202));if(_0x234eb4[_0xb5001e(0xe8)][_0xb5001e(0xcf)]!==_0x3a41a5){_0xbd8b1(_0x9c154,_0x133dfc,_0xb5001e(0x15e));return;}const _0x451ae7=_0x234eb4[_0xb5001e(0xe8)][_0xb5001e(0x198)];let _0x309001;if(_0x451ae7!==void 0x0?_0x235a0d['size']?_0x235a0d[_0xb5001e(0x193)](_0x451ae7)||(_0x309001=_0xb5001e(0x157)):_0x309001='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x235a0d[_0xb5001e(0x14b)]&&(_0x309001=_0xb5001e(0x9e)),_0x309001){_0xbd8b1(_0x9c154,_0x133dfc,_0x309001);return;}_0x451ae7&&(_0x9c154['_protocol']=_0x451ae7);const _0x2de2c5=_0x234eb4[_0xb5001e(0xe8)][_0xb5001e(0xce)];if(_0x2de2c5!==void 0x0){if(!_0x5f4950){_0xbd8b1(_0x9c154,_0x133dfc,_0xb5001e(0x9a));return;}let _0x313f6b;try{_0x313f6b=_0xa8a659(_0x2de2c5);}catch{_0xbd8b1(_0x9c154,_0x133dfc,_0xb5001e(0x242));return;}const _0x4187ea=Object[_0xb5001e(0xeb)](_0x313f6b);if(_0x4187ea['length']!==0x1||_0x4187ea[0x0]!==_0x271a05[_0xb5001e(0xa1)]){_0xbd8b1(_0x9c154,_0x133dfc,_0xb5001e(0x1dc));return;}try{_0x5f4950[_0xb5001e(0x1d1)](_0x313f6b[_0x271a05['extensionName']]);}catch{_0xbd8b1(_0x9c154,_0x133dfc,_0xb5001e(0x242));return;}_0x9c154['_extensions'][_0x271a05['extensionName']]=_0x5f4950;}_0x9c154[_0xb5001e(0x1fc)](_0x133dfc,_0x57be97,{'allowSynchronousEvents':_0x2ab167['allowSynchronousEvents'],'generateMask':_0x2ab167['generateMask'],'maxPayload':_0x2ab167[_0xb5001e(0x181)],'skipUTF8Validation':_0x2ab167[_0xb5001e(0x1ad)]});}),_0x2ab167[_0x5e86dc(0x199)]?_0x2ab167[_0x5e86dc(0x199)](_0x255204,_0x9c154):_0x255204[_0x5e86dc(0x141)]();}function _0x46b2df(_0x590019,_0x3c82c9){const _0x2c2cdf=_0x444ffc;_0x590019['_readyState']=_0x3b52dd['CLOSING'],_0x590019[_0x2c2cdf(0x22a)]=!0x0,_0x590019[_0x2c2cdf(0x138)](_0x2c2cdf(0x1b9),_0x3c82c9),_0x590019[_0x2c2cdf(0x1c2)]();}function _0x1f1fea(_0x4c4702){const _0x1880fd=_0x444ffc;return _0x4c4702[_0x1880fd(0x106)]=_0x4c4702[_0x1880fd(0x23d)],_0x2b665d[_0x1880fd(0xf5)](_0x4c4702);}function _0x3c5e76(_0x5e2daa){const _0x211668=_0x444ffc;return _0x5e2daa[_0x211668(0x106)]=void 0x0,!_0x5e2daa[_0x211668(0x1a8)]&&_0x5e2daa[_0x211668(0x1a8)]!==''&&(_0x5e2daa[_0x211668(0x1a8)]=_0x2b665d[_0x211668(0xdd)](_0x5e2daa[_0x211668(0x103)])?'':_0x5e2daa[_0x211668(0x103)]),_0x352e54['connect'](_0x5e2daa);}function _0xbd8b1(_0x15f2f6,_0x3c172e,_0x52067f){const _0x1b548f=_0x444ffc;_0x15f2f6[_0x1b548f(0x196)]=_0x3b52dd[_0x1b548f(0x124)];const _0x3a74af=new Error(_0x52067f);Error['captureStackTrace'](_0x3a74af,_0xbd8b1),_0x3c172e[_0x1b548f(0x16f)]?(_0x3c172e[_0x10dd62]=!0x0,_0x3c172e[_0x1b548f(0xba)](),_0x3c172e[_0x1b548f(0x1b7)]&&!_0x3c172e[_0x1b548f(0x1b7)][_0x1b548f(0x91)]&&_0x3c172e[_0x1b548f(0x1b7)][_0x1b548f(0x1ee)](),process['nextTick'](_0x46b2df,_0x15f2f6,_0x3a74af)):(_0x3c172e[_0x1b548f(0x1ee)](_0x3a74af),_0x3c172e[_0x1b548f(0x167)](_0x1b548f(0x1b9),_0x15f2f6[_0x1b548f(0x138)]['bind'](_0x15f2f6,'error')),_0x3c172e[_0x1b548f(0x167)](_0x1b548f(0x15b),_0x15f2f6[_0x1b548f(0x1c2)]['bind'](_0x15f2f6)));}function _0x9a9a35(_0x3e9542,_0x2fdc68,_0x9258b7){const _0x1bf47a=_0x444ffc;if(_0x2fdc68){const _0x121a2a=_0x26711a(_0x2fdc68)?_0x2fdc68[_0x1bf47a(0x14b)]:_0x230597(_0x2fdc68)[_0x1bf47a(0x217)];_0x3e9542[_0x1bf47a(0x246)]?_0x3e9542[_0x1bf47a(0x182)][_0x1bf47a(0x165)]+=_0x121a2a:_0x3e9542[_0x1bf47a(0xc1)]+=_0x121a2a;}if(_0x9258b7){const _0x15c596=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x3e9542[_0x1bf47a(0x1e8)]+'\x20('+_0x4def6f[_0x3e9542[_0x1bf47a(0x1e8)]]+')');process[_0x1bf47a(0xe6)](_0x9258b7,_0x15c596);}}function _0x278940(_0x1fe486,_0x2c004b){const _0x1617be=_0x444ffc,_0x159fcb=this[_0xcad78c];_0x159fcb[_0x1617be(0x10c)]=!0x0,_0x159fcb[_0x1617be(0x238)]=_0x2c004b,_0x159fcb[_0x1617be(0x11a)]=_0x1fe486,_0x159fcb[_0x1617be(0x246)][_0xcad78c]!==void 0x0&&(_0x159fcb[_0x1617be(0x246)][_0x1617be(0x19d)](_0x1617be(0x133),_0x37f84f),process[_0x1617be(0xe6)](_0x3920a6,_0x159fcb[_0x1617be(0x246)]),_0x1fe486===0x3ed?_0x159fcb[_0x1617be(0x15b)]():_0x159fcb['close'](_0x1fe486,_0x2c004b));}function _0x2b4261(){const _0x1372b1=_0x444ffc,_0x1e1b23=this[_0xcad78c];_0x1e1b23[_0x1372b1(0x1c7)]||_0x1e1b23[_0x1372b1(0x246)]['resume']();}function _0x227ca4(_0x5d706d){const _0x2e0207=_0x444ffc,_0x3eb7ba=this[_0xcad78c];_0x3eb7ba[_0x2e0207(0x246)][_0xcad78c]!==void 0x0&&(_0x3eb7ba[_0x2e0207(0x246)][_0x2e0207(0x19d)]('data',_0x37f84f),process[_0x2e0207(0xe6)](_0x3920a6,_0x3eb7ba['_socket']),_0x3eb7ba[_0x2e0207(0x15b)](_0x5d706d[_0x4cc223])),_0x3eb7ba[_0x2e0207(0x22a)]||(_0x3eb7ba[_0x2e0207(0x22a)]=!0x0,_0x3eb7ba[_0x2e0207(0x138)](_0x2e0207(0x1b9),_0x5d706d));}function _0x4ecc9d(){this[_0xcad78c]['emitClose']();}function _0x38f848(_0xec1b25,_0x4d651f){const _0x2c45ad=_0x444ffc;this[_0xcad78c][_0x2c45ad(0x138)]('message',_0xec1b25,_0x4d651f);}function _0x5299a8(_0x296b73){const _0x513aa5=_0x444ffc,_0x50469e=this[_0xcad78c];_0x50469e[_0x513aa5(0x200)]&&_0x50469e[_0x513aa5(0x22d)](_0x296b73,!this[_0x513aa5(0x230)],_0x42a7d5),_0x50469e['emit']('ping',_0x296b73);}function _0x27fe4d(_0x547ff3){const _0x9585ff=_0x444ffc;this[_0xcad78c][_0x9585ff(0x138)](_0x9585ff(0x22d),_0x547ff3);}function _0x3920a6(_0x36b57f){const _0x2bc6e0=_0x444ffc;_0x36b57f[_0x2bc6e0(0xfb)]();}function _0x2ff097(_0x124a18){const _0xed5129=_0x444ffc,_0x267c73=this[_0xcad78c];_0x267c73[_0xed5129(0x1e8)]!==_0x3b52dd[_0xed5129(0x215)]&&(_0x267c73[_0xed5129(0x1e8)]===_0x3b52dd[_0xed5129(0x1ce)]&&(_0x267c73[_0xed5129(0x196)]=_0x3b52dd[_0xed5129(0x124)],_0x4414a8(_0x267c73)),this[_0xed5129(0x246)][_0xed5129(0x141)](),_0x267c73[_0xed5129(0x22a)]||(_0x267c73[_0xed5129(0x22a)]=!0x0,_0x267c73[_0xed5129(0x138)](_0xed5129(0x1b9),_0x124a18)));}function _0x4414a8(_0x374b82){const _0x2b7dd4=_0x444ffc;_0x374b82[_0x2b7dd4(0x214)]=setTimeout(_0x374b82[_0x2b7dd4(0x246)][_0x2b7dd4(0x1ee)][_0x2b7dd4(0x8b)](_0x374b82[_0x2b7dd4(0x246)]),_0x3a8d7e);}function _0x40850d(){const _0x583527=_0x444ffc,_0xb14e22=this[_0xcad78c];this[_0x583527(0x19d)](_0x583527(0x15b),_0x40850d),this['removeListener'](_0x583527(0x133),_0x37f84f),this['removeListener'](_0x583527(0x141),_0x4beb29),_0xb14e22['_readyState']=_0x3b52dd[_0x583527(0x124)];let _0x1fa070;!this[_0x583527(0x195)][_0x583527(0xc6)]&&!_0xb14e22[_0x583527(0x10c)]&&!_0xb14e22['_receiver'][_0x583527(0xa0)][_0x583527(0x118)]&&(_0x1fa070=_0xb14e22['_socket'][_0x583527(0x140)]())!==null&&_0xb14e22[_0x583527(0xb8)][_0x583527(0xf8)](_0x1fa070),_0xb14e22['_receiver'][_0x583527(0x141)](),this[_0xcad78c]=void 0x0,clearTimeout(_0xb14e22[_0x583527(0x214)]),_0xb14e22[_0x583527(0xb8)][_0x583527(0xa0)][_0x583527(0xd3)]||_0xb14e22['_receiver'][_0x583527(0xa0)][_0x583527(0x118)]?_0xb14e22['emitClose']():(_0xb14e22[_0x583527(0xb8)]['on']('error',_0x4ecc9d),_0xb14e22[_0x583527(0xb8)]['on'](_0x583527(0x130),_0x4ecc9d));}function _0x37f84f(_0x50a206){const _0x4011ea=_0x444ffc;this[_0xcad78c][_0x4011ea(0xb8)]['write'](_0x50a206)||this[_0x4011ea(0xd7)]();}function _0x4beb29(){const _0x21939e=_0x444ffc,_0x39f418=this[_0xcad78c];_0x39f418[_0x21939e(0x196)]=_0x3b52dd[_0x21939e(0x124)],_0x39f418['_receiver']['end'](),this[_0x21939e(0x141)]();}function _0x238f22(){const _0x27b238=_0x444ffc,_0x337035=this[_0xcad78c];this[_0x27b238(0x19d)](_0x27b238(0x1b9),_0x238f22),this['on'](_0x27b238(0x1b9),_0x42a7d5),_0x337035&&(_0x337035[_0x27b238(0x196)]=_0x3b52dd[_0x27b238(0x124)],this[_0x27b238(0x1ee)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x5db6c9}=oe;function _0x5d00e3(_0x1a417a){const _0x27ae06=_0x2602;_0x1a417a[_0x27ae06(0x138)](_0x27ae06(0x15b));}function _0x3dfd4f(){const _0x2f8e13=_0x2602;!this[_0x2f8e13(0x91)]&&this[_0x2f8e13(0xa0)][_0x2f8e13(0xd3)]&&this[_0x2f8e13(0x1ee)]();}function _0xc83497(_0x169507){const _0x2be6dc=_0x2602;this[_0x2be6dc(0x19d)]('error',_0xc83497),this[_0x2be6dc(0x1ee)](),this[_0x2be6dc(0x23e)](_0x2be6dc(0x1b9))===0x0&&this[_0x2be6dc(0x138)]('error',_0x169507);}function _0xc0fca(_0x1c67de,_0x350bb5){const _0xb137e=_0x2602;let _0x4f4d2f=!0x0;const _0x10d102=new _0x5db6c9({..._0x350bb5,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x1c67de['on']('message',function(_0x1d27e8,_0x3746c9){const _0x416c61=_0x2602,_0x5d6419=!_0x3746c9&&_0x10d102[_0x416c61(0x195)][_0x416c61(0x150)]?_0x1d27e8[_0x416c61(0x131)]():_0x1d27e8;_0x10d102[_0x416c61(0x119)](_0x5d6419)||_0x1c67de[_0x416c61(0xd7)]();}),_0x1c67de['once'](_0xb137e(0x1b9),function(_0x2611c6){const _0x3aec5d=_0xb137e;_0x10d102[_0x3aec5d(0x91)]||(_0x4f4d2f=!0x1,_0x10d102[_0x3aec5d(0x1ee)](_0x2611c6));}),_0x1c67de[_0xb137e(0x167)](_0xb137e(0x15b),function(){const _0x1a3838=_0xb137e;_0x10d102['destroyed']||_0x10d102[_0x1a3838(0x119)](null);}),_0x10d102[_0xb137e(0x136)]=function(_0x2890d3,_0x885838){const _0x50dc64=_0xb137e;if(_0x1c67de[_0x50dc64(0x1e8)]===_0x1c67de[_0x50dc64(0x215)]){_0x885838(_0x2890d3),process[_0x50dc64(0xe6)](_0x5d00e3,_0x10d102);return;}let _0x52e9e7=!0x1;_0x1c67de[_0x50dc64(0x167)](_0x50dc64(0x1b9),function(_0x498e1b){_0x52e9e7=!0x0,_0x885838(_0x498e1b);}),_0x1c67de[_0x50dc64(0x167)]('close',function(){const _0x45980f=_0x50dc64;_0x52e9e7||_0x885838(_0x2890d3),process[_0x45980f(0xe6)](_0x5d00e3,_0x10d102);}),_0x4f4d2f&&_0x1c67de['terminate']();},_0x10d102[_0xb137e(0x1e2)]=function(_0x1243dd){const _0x41385f=_0xb137e;if(_0x1c67de[_0x41385f(0x1e8)]===_0x1c67de[_0x41385f(0x145)]){_0x1c67de['once'](_0x41385f(0x226),function(){const _0x38ff58=_0x41385f;_0x10d102[_0x38ff58(0x1e2)](_0x1243dd);});return;}_0x1c67de[_0x41385f(0x246)]!==null&&(_0x1c67de[_0x41385f(0x246)][_0x41385f(0xa0)][_0x41385f(0xd3)]?(_0x1243dd(),_0x10d102[_0x41385f(0x195)][_0x41385f(0xc6)]&&_0x10d102['destroy']()):(_0x1c67de[_0x41385f(0x246)][_0x41385f(0x167)](_0x41385f(0x130),function(){_0x1243dd();}),_0x1c67de['close']()));},_0x10d102[_0xb137e(0xa4)]=function(){const _0x523c3f=_0xb137e;_0x1c67de[_0x523c3f(0x1c7)]&&_0x1c67de[_0x523c3f(0xfb)]();},_0x10d102[_0xb137e(0xa6)]=function(_0x23450a,_0x35e146,_0x2921f7){const _0x3fa500=_0xb137e;if(_0x1c67de[_0x3fa500(0x1e8)]===_0x1c67de['CONNECTING']){_0x1c67de[_0x3fa500(0x167)](_0x3fa500(0x226),function(){_0x10d102['_write'](_0x23450a,_0x35e146,_0x2921f7);});return;}_0x1c67de[_0x3fa500(0xe3)](_0x23450a,_0x2921f7);},_0x10d102['on'](_0xb137e(0x141),_0x3dfd4f),_0x10d102['on']('error',_0xc83497),_0x10d102;}return Oe=_0xc0fca,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x48088e}=ae();function _0x240322(_0x5b6e48){const _0x35c26a=_0x2602,_0x38d738=new Set();let _0x1e998a=-0x1,_0x28fa9f=-0x1,_0x37578f=0x0;for(_0x37578f;_0x37578f<_0x5b6e48[_0x35c26a(0x217)];_0x37578f++){const _0x4725ee=_0x5b6e48[_0x35c26a(0x9d)](_0x37578f);if(_0x28fa9f===-0x1&&_0x48088e[_0x4725ee]===0x1)_0x1e998a===-0x1&&(_0x1e998a=_0x37578f);else{if(_0x37578f!==0x0&&(_0x4725ee===0x20||_0x4725ee===0x9))_0x28fa9f===-0x1&&_0x1e998a!==-0x1&&(_0x28fa9f=_0x37578f);else{if(_0x4725ee===0x2c){if(_0x1e998a===-0x1)throw new SyntaxError(_0x35c26a(0x1cb)+_0x37578f);_0x28fa9f===-0x1&&(_0x28fa9f=_0x37578f);const _0x56cc57=_0x5b6e48['slice'](_0x1e998a,_0x28fa9f);if(_0x38d738[_0x35c26a(0x193)](_0x56cc57))throw new SyntaxError(_0x35c26a(0x1ba)+_0x56cc57+'\x22\x20subprotocol\x20is\x20duplicated');_0x38d738[_0x35c26a(0x107)](_0x56cc57),_0x1e998a=_0x28fa9f=-0x1;}else throw new SyntaxError(_0x35c26a(0x1cb)+_0x37578f);}}}if(_0x1e998a===-0x1||_0x28fa9f!==-0x1)throw new SyntaxError(_0x35c26a(0xcd));const _0x30329a=_0x5b6e48[_0x35c26a(0xca)](_0x1e998a,_0x37578f);if(_0x38d738[_0x35c26a(0x193)](_0x30329a))throw new SyntaxError(_0x35c26a(0x1ba)+_0x30329a+_0x35c26a(0x8c));return _0x38d738[_0x35c26a(0x107)](_0x30329a),_0x38d738;}return Ce={'parse':_0x240322},Ce;}var Te,rt;function Ft(){const _0x11b2cd=_0x4dd9b1;if(rt)return Te;rt=0x1;const _0x1b7b2a=nt,_0x48140d=ot,{Duplex:_0x11c05a}=oe,{createHash:_0x3f765a}=Le,_0x573b5c=ct(),_0x277ffe=he(),_0x5503f6=At(),_0x17181f=Pe(),{GUID:_0x1652ab,kWebSocket:_0x5c85e1}=H(),_0xacbb5f=/^[+/0-9A-Za-z]{22}==$/,_0x3188cd=0x0,_0x3f6520=0x1,_0x2db50d=0x2;class _0x57380d extends _0x1b7b2a{constructor(_0x1e6c3b,_0x37f44b){const _0x78b74f=_0x2602;if(super(),_0x1e6c3b={'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':_0x17181f,..._0x1e6c3b},_0x1e6c3b[_0x78b74f(0x18f)]==null&&!_0x1e6c3b[_0x78b74f(0x1c4)]&&!_0x1e6c3b[_0x78b74f(0x158)]||_0x1e6c3b[_0x78b74f(0x18f)]!=null&&(_0x1e6c3b[_0x78b74f(0x1c4)]||_0x1e6c3b[_0x78b74f(0x158)])||_0x1e6c3b[_0x78b74f(0x1c4)]&&_0x1e6c3b[_0x78b74f(0x158)])throw new TypeError(_0x78b74f(0x1a3));if(_0x1e6c3b['port']!=null?(this[_0x78b74f(0x1e4)]=_0x48140d[_0x78b74f(0x16c)]((_0x3327c0,_0x1dc815)=>{const _0x62bd5e=_0x78b74f,_0x577cfd=_0x48140d[_0x62bd5e(0x1c1)][0x1aa];_0x1dc815['writeHead'](0x1aa,{'Content-Length':_0x577cfd[_0x62bd5e(0x217)],'Content-Type':'text/plain'}),_0x1dc815['end'](_0x577cfd);}),this[_0x78b74f(0x1e4)][_0x78b74f(0x13d)](_0x1e6c3b[_0x78b74f(0x18f)],_0x1e6c3b[_0x78b74f(0x103)],_0x1e6c3b[_0x78b74f(0x152)],_0x37f44b)):_0x1e6c3b['server']&&(this[_0x78b74f(0x1e4)]=_0x1e6c3b[_0x78b74f(0x1c4)]),this['_server']){const _0x51e34f=this[_0x78b74f(0x138)][_0x78b74f(0x8b)](this,'connection');this[_0x78b74f(0x98)]=_0x211757(this[_0x78b74f(0x1e4)],{'listening':this['emit']['bind'](this,_0x78b74f(0x189)),'error':this[_0x78b74f(0x138)][_0x78b74f(0x8b)](this,_0x78b74f(0x1b9)),'upgrade':(_0x1106d1,_0x31accc,_0x43688e)=>{const _0x3fa6a7=_0x78b74f;this[_0x3fa6a7(0x10b)](_0x1106d1,_0x31accc,_0x43688e,_0x51e34f);}});}_0x1e6c3b[_0x78b74f(0x14e)]===!0x0&&(_0x1e6c3b[_0x78b74f(0x14e)]={}),_0x1e6c3b['clientTracking']&&(this['clients']=new Set(),this[_0x78b74f(0x85)]=!0x1),this[_0x78b74f(0x109)]=_0x1e6c3b,this['_state']=_0x3188cd;}[_0x11b2cd(0x204)](){const _0x2496a4=_0x11b2cd;if(this[_0x2496a4(0x109)][_0x2496a4(0x158)])throw new Error(_0x2496a4(0x21c));return this[_0x2496a4(0x1e4)]?this[_0x2496a4(0x1e4)][_0x2496a4(0x204)]():null;}['close'](_0x1956a3){const _0x4daca3=_0x11b2cd;if(this[_0x4daca3(0x1be)]===_0x2db50d){_0x1956a3&&this[_0x4daca3(0x167)](_0x4daca3(0x15b),()=>{const _0x1c9961=_0x4daca3;_0x1956a3(new Error(_0x1c9961(0x1e6)));}),process[_0x4daca3(0xe6)](_0x443f4d,this);return;}if(_0x1956a3&&this[_0x4daca3(0x167)]('close',_0x1956a3),this[_0x4daca3(0x1be)]!==_0x3f6520){if(this['_state']=_0x3f6520,this['options'][_0x4daca3(0x158)]||this[_0x4daca3(0x109)][_0x4daca3(0x1c4)])this[_0x4daca3(0x1e4)]&&(this[_0x4daca3(0x98)](),this[_0x4daca3(0x98)]=this[_0x4daca3(0x1e4)]=null),this[_0x4daca3(0x1a4)]?this['clients'][_0x4daca3(0x14b)]?this[_0x4daca3(0x85)]=!0x0:process[_0x4daca3(0xe6)](_0x443f4d,this):process[_0x4daca3(0xe6)](_0x443f4d,this);else{const _0x29b93c=this[_0x4daca3(0x1e4)];this[_0x4daca3(0x98)](),this[_0x4daca3(0x98)]=this[_0x4daca3(0x1e4)]=null,_0x29b93c['close'](()=>{_0x443f4d(this);});}}}[_0x11b2cd(0x97)](_0x256905){const _0x3ef6bf=_0x11b2cd;if(this[_0x3ef6bf(0x109)]['path']){const _0x4a0861=_0x256905[_0x3ef6bf(0xd6)][_0x3ef6bf(0xc5)]('?');if((_0x4a0861!==-0x1?_0x256905['url'][_0x3ef6bf(0xca)](0x0,_0x4a0861):_0x256905['url'])!==this['options'][_0x3ef6bf(0x106)])return!0x1;}return!0x0;}[_0x11b2cd(0x10b)](_0x77334c,_0x36f2e1,_0x1c727a,_0x2d5c7f){const _0x5406e0=_0x11b2cd;_0x36f2e1['on'](_0x5406e0(0x1b9),_0x349489);const _0x3aa992=_0x77334c['headers'][_0x5406e0(0x19e)],_0x2115d9=_0x77334c[_0x5406e0(0xe8)]['upgrade'],_0x312e61=+_0x77334c[_0x5406e0(0xe8)][_0x5406e0(0x13c)];if(_0x77334c['method']!=='GET'){_0x28b370(this,_0x77334c,_0x36f2e1,0x195,_0x5406e0(0x190));return;}if(_0x2115d9===void 0x0||_0x2115d9[_0x5406e0(0x1ea)]()!==_0x5406e0(0x128)){_0x28b370(this,_0x77334c,_0x36f2e1,0x190,_0x5406e0(0xff));return;}if(_0x3aa992===void 0x0||!_0xacbb5f[_0x5406e0(0xbc)](_0x3aa992)){_0x28b370(this,_0x77334c,_0x36f2e1,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x312e61!==0xd&&_0x312e61!==0x8){_0x28b370(this,_0x77334c,_0x36f2e1,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x5406e0(0x183)});return;}if(!this[_0x5406e0(0x97)](_0x77334c)){_0x36175c(_0x36f2e1,0x190);return;}const _0x473b00=_0x77334c[_0x5406e0(0xe8)][_0x5406e0(0x198)];let _0x3d53a2=new Set();if(_0x473b00!==void 0x0)try{_0x3d53a2=_0x5503f6[_0x5406e0(0x18a)](_0x473b00);}catch{_0x28b370(this,_0x77334c,_0x36f2e1,0x190,_0x5406e0(0xe5));return;}const _0x3e6006=_0x77334c[_0x5406e0(0xe8)][_0x5406e0(0xce)],_0x7a11c9={};if(this[_0x5406e0(0x109)][_0x5406e0(0x14e)]&&_0x3e6006!==void 0x0){const _0x347e23=new _0x277ffe(this[_0x5406e0(0x109)][_0x5406e0(0x14e)],!0x0,this[_0x5406e0(0x109)]['maxPayload']);try{const _0x4f7de3=_0x573b5c[_0x5406e0(0x18a)](_0x3e6006);_0x4f7de3[_0x277ffe[_0x5406e0(0xa1)]]&&(_0x347e23[_0x5406e0(0x1d1)](_0x4f7de3[_0x277ffe[_0x5406e0(0xa1)]]),_0x7a11c9[_0x277ffe[_0x5406e0(0xa1)]]=_0x347e23);}catch{_0x28b370(this,_0x77334c,_0x36f2e1,0x190,_0x5406e0(0x126));return;}}if(this['options'][_0x5406e0(0x1d0)]){const _0x59b6ab={'origin':_0x77334c[_0x5406e0(0xe8)][''+(_0x312e61===0x8?_0x5406e0(0x8e):_0x5406e0(0x1f9))],'secure':!!(_0x77334c[_0x5406e0(0x1b7)][_0x5406e0(0x8a)]||_0x77334c[_0x5406e0(0x1b7)][_0x5406e0(0xc4)]),'req':_0x77334c};if(this['options']['verifyClient'][_0x5406e0(0x217)]===0x2){this[_0x5406e0(0x109)][_0x5406e0(0x1d0)](_0x59b6ab,(_0x2d8f36,_0x33d611,_0x521a3d,_0x2cc0cd)=>{const _0x751bbc=_0x5406e0;if(!_0x2d8f36)return _0x36175c(_0x36f2e1,_0x33d611||0x191,_0x521a3d,_0x2cc0cd);this[_0x751bbc(0x1cf)](_0x7a11c9,_0x3aa992,_0x3d53a2,_0x77334c,_0x36f2e1,_0x1c727a,_0x2d5c7f);});return;}if(!this[_0x5406e0(0x109)]['verifyClient'](_0x59b6ab))return _0x36175c(_0x36f2e1,0x191);}this['completeUpgrade'](_0x7a11c9,_0x3aa992,_0x3d53a2,_0x77334c,_0x36f2e1,_0x1c727a,_0x2d5c7f);}[_0x11b2cd(0x1cf)](_0x2e9220,_0x7f2388,_0x4b3a20,_0x5bf664,_0x382250,_0x3e0bf3,_0x5f2541){const _0xdcb740=_0x11b2cd;if(!_0x382250[_0xdcb740(0x1f0)]||!_0x382250[_0xdcb740(0x225)])return _0x382250[_0xdcb740(0x1ee)]();if(_0x382250[_0x5c85e1])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this['_state']>_0x3188cd)return _0x36175c(_0x382250,0x1f7);const _0x3e44d1=[_0xdcb740(0x169),_0xdcb740(0x244),'Connection:\x20Upgrade',_0xdcb740(0xc3)+_0x3f765a('sha1')[_0xdcb740(0x10e)](_0x7f2388+_0x1652ab)[_0xdcb740(0x105)](_0xdcb740(0x202))],_0x339f6b=new this[(_0xdcb740(0x109))][(_0xdcb740(0x1c9))](null,void 0x0,this[_0xdcb740(0x109)]);if(_0x4b3a20[_0xdcb740(0x14b)]){const _0x42f37f=this[_0xdcb740(0x109)][_0xdcb740(0xa9)]?this[_0xdcb740(0x109)][_0xdcb740(0xa9)](_0x4b3a20,_0x5bf664):_0x4b3a20[_0xdcb740(0x184)]()[_0xdcb740(0x1fb)]()[_0xdcb740(0xdc)];_0x42f37f&&(_0x3e44d1['push'](_0xdcb740(0x82)+_0x42f37f),_0x339f6b[_0xdcb740(0x177)]=_0x42f37f);}if(_0x2e9220[_0x277ffe[_0xdcb740(0xa1)]]){const _0xb7f8b1=_0x2e9220[_0x277ffe['extensionName']]['params'],_0x372240=_0x573b5c['format']({[_0x277ffe['extensionName']]:[_0xb7f8b1]});_0x3e44d1[_0xdcb740(0x119)](_0xdcb740(0x12c)+_0x372240),_0x339f6b[_0xdcb740(0x12e)]=_0x2e9220;}this['emit'](_0xdcb740(0xe8),_0x3e44d1,_0x5bf664),_0x382250[_0xdcb740(0xf8)](_0x3e44d1[_0xdcb740(0x1f7)]('\x0d\x0a')[_0xdcb740(0x132)]('\x0d\x0a')),_0x382250[_0xdcb740(0x19d)](_0xdcb740(0x1b9),_0x349489),_0x339f6b[_0xdcb740(0x1fc)](_0x382250,_0x3e0bf3,{'allowSynchronousEvents':this[_0xdcb740(0x109)][_0xdcb740(0x1b8)],'maxPayload':this['options'][_0xdcb740(0x181)],'skipUTF8Validation':this[_0xdcb740(0x109)][_0xdcb740(0x1ad)]}),this[_0xdcb740(0x1a4)]&&(this[_0xdcb740(0x1a4)]['add'](_0x339f6b),_0x339f6b['on'](_0xdcb740(0x15b),()=>{const _0x1c48a2=_0xdcb740;this['clients'][_0x1c48a2(0x241)](_0x339f6b),this[_0x1c48a2(0x85)]&&!this[_0x1c48a2(0x1a4)]['size']&&process[_0x1c48a2(0xe6)](_0x443f4d,this);})),_0x5f2541(_0x339f6b,_0x5bf664);}}Te=_0x57380d;function _0x211757(_0x4ae0dd,_0x4032bb){const _0x2d8595=_0x11b2cd;for(const _0x5e64bf of Object[_0x2d8595(0xeb)](_0x4032bb))_0x4ae0dd['on'](_0x5e64bf,_0x4032bb[_0x5e64bf]);return function(){const _0x9c57db=_0x2d8595;for(const _0x4fdbc0 of Object[_0x9c57db(0xeb)](_0x4032bb))_0x4ae0dd[_0x9c57db(0x19d)](_0x4fdbc0,_0x4032bb[_0x4fdbc0]);};}function _0x443f4d(_0x3a5d40){const _0x401f69=_0x11b2cd;_0x3a5d40[_0x401f69(0x1be)]=_0x2db50d,_0x3a5d40[_0x401f69(0x138)]('close');}function _0x349489(){this['destroy']();}function _0x36175c(_0x14949f,_0xb0ad22,_0x5d43c2,_0x16c064){const _0x2c9b86=_0x11b2cd;_0x5d43c2=_0x5d43c2||_0x48140d[_0x2c9b86(0x1c1)][_0xb0ad22],_0x16c064={'Connection':_0x2c9b86(0x15b),'Content-Type':_0x2c9b86(0x1bb),'Content-Length':Buffer[_0x2c9b86(0x20d)](_0x5d43c2),..._0x16c064},_0x14949f[_0x2c9b86(0x167)](_0x2c9b86(0x130),_0x14949f['destroy']),_0x14949f[_0x2c9b86(0x141)]('HTTP/1.1\x20'+_0xb0ad22+'\x20'+_0x48140d[_0x2c9b86(0x1c1)][_0xb0ad22]+'\x0d\x0a'+Object[_0x2c9b86(0xeb)](_0x16c064)[_0x2c9b86(0x87)](_0xe2b37b=>_0xe2b37b+':\x20'+_0x16c064[_0xe2b37b])['join']('\x0d\x0a')+_0x2c9b86(0x17d)+_0x5d43c2);}function _0x28b370(_0x4b28c8,_0x28ac52,_0x3505a6,_0x38c928,_0x43eeb0,_0xadb052){const _0x4f8f3f=_0x11b2cd;if(_0x4b28c8[_0x4f8f3f(0x23e)]('wsClientError')){const _0x4078ca=new Error(_0x43eeb0);Error[_0x4f8f3f(0x172)](_0x4078ca,_0x28b370),_0x4b28c8[_0x4f8f3f(0x138)](_0x4f8f3f(0xc8),_0x4078ca,_0x3505a6,_0x28ac52);}else _0x36175c(_0x3505a6,_0x38c928,_0x43eeb0,_0xadb052);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0xe0eafb,_0xb9302f,_0x26833c,_0x4723d4)=>{const _0x4d4702=_0x4dd9b1;for(var _0x138c93=_0x4723d4>0x1?void 0x0:_0x4723d4?jt(_0xb9302f,_0x26833c):_0xb9302f,_0x11d58a=_0xe0eafb[_0x4d4702(0x217)]-0x1,_0x2ec0fa;_0x11d58a>=0x0;_0x11d58a--)(_0x2ec0fa=_0xe0eafb[_0x11d58a])&&(_0x138c93=_0x2ec0fa(_0x138c93)||_0x138c93);return _0x138c93;},qt=(_0x5def03,_0x2d320c)=>(_0x2fbad5,_0x253550)=>_0x2d320c(_0x2fbad5,_0x253550,_0x5def03);let ke=class extends A[_0x4dd9b1(0x12f)]{constructor(_0xb66c9a){const _0x35fd8e=_0x4dd9b1;super(),this[_0x35fd8e(0x12a)]=_0xb66c9a;}[_0x4dd9b1(0x1ab)](_0x2da2d8){const _0x2c4410=_0x4dd9b1;var _0x565e0c;const _0x41997f=(_0x565e0c=this[_0x2c4410(0x12a)][_0x2c4410(0x10f)](fe))==null?void 0x0:_0x565e0c[_0x2c4410(0x1a9)];try{const _0x504f51=new $t(_0x2da2d8,{'headers':{..._0x41997f}}),_0x309259=new A[(_0x2c4410(0x9b))]();return{'URL':_0x2da2d8,'close':(_0x46211a,_0x4570bb)=>{const _0x23e9c3=_0x2c4410;_0x504f51[_0x23e9c3(0x15b)](_0x46211a,_0x4570bb),_0x309259[_0x23e9c3(0x1bd)]();},'send':_0x52502e=>{_0x504f51['send'](_0x52502e);},'open$':new V[(_0x2c4410(0xc0))](_0x3a1234=>{const _0x9a46f5=_0x2c4410,_0x21c4e6=_0x2c683f=>_0x3a1234[_0x9a46f5(0x1fb)](_0x2c683f);_0x504f51[_0x9a46f5(0x83)](_0x9a46f5(0x226),_0x21c4e6),_0x309259['add'](A[_0x9a46f5(0x10a)](()=>_0x504f51[_0x9a46f5(0xb1)](_0x9a46f5(0x226),_0x21c4e6)));})[_0x2c4410(0x84)](V['share']()),'close$':new V[(_0x2c4410(0xc0))](_0xe0dcd8=>{const _0x8bf246=_0x2c4410,_0x448742=_0x5256e4=>_0xe0dcd8[_0x8bf246(0x1fb)](_0x5256e4);_0x504f51['addEventListener'](_0x8bf246(0x15b),_0x448742),_0x309259[_0x8bf246(0x107)](A[_0x8bf246(0x10a)](()=>_0x504f51[_0x8bf246(0xb1)](_0x8bf246(0x15b),_0x448742)));})[_0x2c4410(0x84)](V['share']()),'error$':new V[(_0x2c4410(0xc0))](_0x4ca405=>{const _0x7cb701=_0x2c4410,_0x23d0ce=_0x4dab65=>_0x4ca405[_0x7cb701(0x1fb)](_0x4dab65);_0x504f51[_0x7cb701(0x83)](_0x7cb701(0x1b9),_0x23d0ce),_0x309259[_0x7cb701(0x107)](A['toDisposable'](()=>_0x504f51[_0x7cb701(0xb1)](_0x7cb701(0x1b9),_0x23d0ce)));})['pipe'](V[_0x2c4410(0x18e)]()),'message$':new V[(_0x2c4410(0xc0))](_0xcec458=>{const _0x5e142c=_0x2c4410,_0x52743b=_0x3c0d2b=>_0xcec458[_0x5e142c(0x1fb)](_0x3c0d2b);_0x504f51['addEventListener'](_0x5e142c(0x147),_0x52743b),_0x309259[_0x5e142c(0x107)](A[_0x5e142c(0x10a)](()=>_0x504f51[_0x5e142c(0xb1)](_0x5e142c(0x147),_0x52743b)));})[_0x2c4410(0x84)](V[_0x2c4410(0x18e)]())};}catch(_0x2ccfcf){return console[_0x2c4410(0x1b9)](_0x2ccfcf),null;}}};ke=Wt([qt(0x0,A[_0x4dd9b1(0xde)])],ke);var Gt=Object['defineProperty'],Vt=Object[_0x4dd9b1(0x8d)],Ht=(_0x167589,_0x24f2fc,_0x57593a)=>_0x24f2fc in _0x167589?Gt(_0x167589,_0x24f2fc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x57593a}):_0x167589[_0x24f2fc]=_0x57593a,zt=(_0x48d060,_0x28551f,_0xc95645,_0x4916ea)=>{for(var _0x107bd5=_0x4916ea>0x1?void 0x0:_0x4916ea?Vt(_0x28551f,_0xc95645):_0x28551f,_0x6c1de3=_0x48d060['length']-0x1,_0x4a4bff;_0x6c1de3>=0x0;_0x6c1de3--)(_0x4a4bff=_0x48d060[_0x6c1de3])&&(_0x107bd5=_0x4a4bff(_0x107bd5)||_0x107bd5);return _0x107bd5;},Ne=(_0x3019d6,_0x383961)=>(_0x47e914,_0x144db2)=>_0x383961(_0x47e914,_0x144db2,_0x3019d6),Yt=(_0x3f6df5,_0x35d8a,_0x41f166)=>Ht(_0x3f6df5,_0x35d8a+'',_0x41f166);exports[_0x4dd9b1(0x11d)]=class extends A[_0x4dd9b1(0x236)]{constructor(_0x8ea1ac=Ct,_0x8c8015,_0x3e9797,_0xf09709){const _0x3096a3=_0x4dd9b1;_0x8ea1ac[_0x3096a3(0x1a9)]||_0x8c8015['warn'](_0x3096a3(0x1d7)),super(),this[_0x3096a3(0x12a)]=_0x3e9797,this['_injector']=_0xf09709,this[_0x3096a3(0x12a)][_0x3096a3(0x209)](fe,_0x8ea1ac);}[_0x4dd9b1(0x22e)](){const _0x47265e=_0x4dd9b1;this[_0x47265e(0xcb)]();}[_0x4dd9b1(0xcb)](){const _0x126952=_0x4dd9b1;A[_0x126952(0xfc)](this['_injector'],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x4dd9b1(0x11d)],_0x4dd9b1(0x1fa),_0x4dd9b1(0x197)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x4dd9b1(0x122)](st[_0x4dd9b1(0x174)]),Ne(0x1,A[_0x4dd9b1(0x1bf)]),Ne(0x2,A[_0x4dd9b1(0xde)]),Ne(0x3,A['Inject'](A['Injector']))],exports[_0x4dd9b1(0x11d)]);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x30ca8a,_0x4ad7f5,_0x292af8,_0x4ded00)=>{const _0x362642=_0x4dd9b1;for(var _0x5f57ae=_0x4ded00>0x1?void 0x0:_0x4ded00?Kt(_0x4ad7f5,_0x292af8):_0x4ad7f5,_0x5cd9f9=_0x30ca8a[_0x362642(0x217)]-0x1,_0x13fae6;_0x5cd9f9>=0x0;_0x5cd9f9--)(_0x13fae6=_0x30ca8a[_0x5cd9f9])&&(_0x5f57ae=_0x13fae6(_0x5f57ae)||_0x5f57ae);return _0x5f57ae;},ne=(_0x304797,_0x575312)=>(_0x38bbfa,_0x33c3ae)=>_0x575312(_0x38bbfa,_0x33c3ae,_0x304797);exports[_0x4dd9b1(0xb6)]=class extends st['CollaborationSocketService']{constructor(_0x56e0b5,_0x31a699,_0x58fc3d,_0xfde97a,_0x2dced0){const _0x3053c8=_0x4dd9b1;super(_0x56e0b5,_0x31a699,_0x58fc3d,_0xfde97a,_0x2dced0);const _0x58ebf4=this[_0x3053c8(0x12a)][_0x3053c8(0x10f)](fe);this[_0x3053c8(0x188)]['registerHTTPInterceptor']({'interceptor':(_0x276c74,_0x1144d8)=>{const _0xd3448f=_0x3053c8;var _0x50cd32;const _0x1b7ec5=_0x276c74[_0xd3448f(0xe8)];return(_0x50cd32=_0x58ebf4==null?void 0x0:_0x58ebf4['customHeaders'])!=null&&_0x50cd32[_0xd3448f(0xf3)]&&_0x1b7ec5[_0xd3448f(0x13b)]('Cookie',_0x58ebf4[_0xd3448f(0x1a9)]['cookie']),_0x1144d8(_0x276c74);}});}async['createSocket'](_0x42c575){const _0x3c7247=_0x4dd9b1;return this[_0x3c7247(0xd4)](_0x42c575);}},exports[_0x4dd9b1(0xb6)]=Xt([ne(0x0,A[_0x4dd9b1(0x23c)](A[_0x4dd9b1(0xaa)])),ne(0x1,A[_0x4dd9b1(0x23c)](it[_0x4dd9b1(0xd1)])),ne(0x2,A[_0x4dd9b1(0xde)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x4dd9b1(0x210)])],exports[_0x4dd9b1(0xb6)]),exports[_0x4dd9b1(0xda)]=fe;
1
+ 'use strict';const _0x32b16e=_0x4d1b;(function(_0x478623,_0x5d1b7e){const _0x2ef496=_0x4d1b,_0x4ca1a6=_0x478623();while(!![]){try{const _0x15df1d=parseInt(_0x2ef496(0xde))/0x1*(-parseInt(_0x2ef496(0xed))/0x2)+-parseInt(_0x2ef496(0x16d))/0x3+-parseInt(_0x2ef496(0xdb))/0x4*(parseInt(_0x2ef496(0x1b2))/0x5)+parseInt(_0x2ef496(0x264))/0x6*(parseInt(_0x2ef496(0x1db))/0x7)+-parseInt(_0x2ef496(0x165))/0x8+-parseInt(_0x2ef496(0x249))/0x9+parseInt(_0x2ef496(0xf1))/0xa;if(_0x15df1d===_0x5d1b7e)break;else _0x4ca1a6['push'](_0x4ca1a6['shift']());}catch(_0x4d6aca){_0x4ca1a6['push'](_0x4ca1a6['shift']());}}}(_0x3d16,0xe96c9));Object['defineProperty'](exports,Symbol[_0x32b16e(0x149)],{'value':_0x32b16e(0x1b3)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x467a95){const _0x39cccf=_0x32b16e;return _0x467a95&&_0x467a95[_0x39cccf(0x10c)]&&Object[_0x39cccf(0xec)][_0x39cccf(0xd7)][_0x39cccf(0x214)](_0x467a95,_0x39cccf(0x174))?_0x467a95[_0x39cccf(0x174)]:_0x467a95;}function at(_0xaf014){const _0x25b407=_0x32b16e;if(Object[_0x25b407(0xec)][_0x25b407(0xd7)][_0x25b407(0x214)](_0xaf014,_0x25b407(0x10c)))return _0xaf014;var _0x4d28d0=_0xaf014[_0x25b407(0x174)];if(typeof _0x4d28d0=='function'){var _0x416f27=function _0x30c1c8(){const _0x4cdc21=_0x25b407;var _0x7a9fe8=!0x1;try{_0x7a9fe8=this instanceof _0x30c1c8;}catch{}return _0x7a9fe8?Reflect['construct'](_0x4d28d0,arguments,this[_0x4cdc21(0x252)]):_0x4d28d0[_0x4cdc21(0x239)](this,arguments);};_0x416f27[_0x25b407(0xec)]=_0x4d28d0[_0x25b407(0xec)];}else _0x416f27={};return Object['defineProperty'](_0x416f27,'__esModule',{'value':!0x0}),Object[_0x25b407(0x14e)](_0xaf014)['forEach'](function(_0x1b8dee){const _0x56abc0=_0x25b407;var _0x2546b2=Object[_0x56abc0(0x245)](_0xaf014,_0x1b8dee);Object[_0x56abc0(0x108)](_0x416f27,_0x1b8dee,_0x2546b2['get']?_0x2546b2:{'enumerable':!0x0,'get':function(){return _0xaf014[_0x1b8dee];}});}),_0x416f27;}var se={'exports':{}},ge,Ge;function H(){const _0x220781=_0x32b16e;if(Ge)return ge;Ge=0x1;const _0x2e6c18=['nodebuffer','arraybuffer','fragments'],_0x2981de=typeof Blob<'u';return _0x2981de&&_0x2e6c18[_0x220781(0x160)](_0x220781(0x1e7)),ge={'BINARY_TYPES':_0x2e6c18,'EMPTY_BUFFER':Buffer[_0x220781(0x244)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x2981de,'kForOnEventAttribute':Symbol(_0x220781(0x1c0)),'kListener':Symbol(_0x220781(0x197)),'kStatusCode':Symbol(_0x220781(0x124)),'kWebSocket':Symbol(_0x220781(0x1e1)),'NOOP':()=>{}},ge;}function _0x3d16(){const _0x35a65a=['_bufferedAmount','verifyClient','protocolVersion','websocket','\x22\x20subprotocol\x20is\x20duplicated','setConfig','indexOf','upgrade','onerror','blob','Sec-WebSocket-Protocol','maskBuffer','Disposable','uncork','open','species','serverNoContextTakeover','fin','readOnly','forEach','needDrain','isServer','Server\x20sent\x20no\x20subprotocol','protocol','_skipUTF8Validation','ISnapshotServerService','FIN\x20must\x20be\x20set','shift','clientNoContextTakeover','Max\x20payload\x20size\x20exceeded','_removeListeners','captureStackTrace','createServer','params','from','readyState','origin','parse','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','sec-websocket-origin','wsClientError','_sender','_closeCode','consume','http:','noServer','sendFrame','client_no_context_takeover','nodebuffer','freeze','errorEmitted','Sec-WebSocket-Accept:\x20','_paused','isIP','call','_fin','sec-websocket-accept','getPayloadLength64','_maskBuffer','value','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','perMessageDeflate','setNoDelay','length','maxRedirects','_inflate','_registerDependencies','search','DisposableCollection','stream','WS_ERR_INVALID_UTF8','replace','removeEventListener','isBuffer','completeUpgrade','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','addEventListener','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','href','permessage-deflate','pending','code','readUInt16BE','endEmitted','set','writeUIntBE','_readableState','WS_ERR_INVALID_CLOSE_CODE','objectMode','toDisposable','_allowSynchronousEvents','apply','Observable','pong','request','_receiver','_maxPayload','_max_window_bits','exports','defaultPort','socketPath','create','alloc','getOwnPropertyDescriptor','_socket','_closeFrameReceived','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','5484771LBCBkq','getBlobData','_queue','getData','destroy','cleanup','base64','dispose','flush','constructor','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','encrypted','_totalPayloadLength','map','generateMask','The\x20\x22','clientTracking','IConfigService','handshakeTimeout','client','string','File','clients','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','statusCode','accept','mask','1194612hvUsvh','createError','dataMessage','_write','onclose','_fragmented','warn','Blob','onopen','emitClose','frame','username','redirect','slice','Invalid\x20URL:\x20','ping','Z_DEFAULT_WINDOWBITS','path','HTTPService','Invalid\x20WebSocket\x20frame:\x20','arrayBuffer','_shouldEmitClose','OPEN','auth','_options','address','host','destroyed','NodeCollaborationSocketService','finishRequest','decompress','isArray','connect','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','WS_ERR_INVALID_OPCODE','message','type','getMask','Sec-WebSocket-Extensions:\x20','writable','listenerCount','_writableState','hasOwnProperty','serverMaxWindowBits','buffers','toLowerCase','1842712AdcPzJ','next','_redirects','28xGKOSl','bufferedAmount','readUInt32BE','zlibDeflateOptions','read','env','HTTP/1.1\x20','invalid\x20payload\x20length\x20','_originalHostOrSocketPath','handleProtocols','toString','opcode','UniverCollaborationClientNodePlugin','method','prototype','128014KpNzAH','_binaryType','setSocket','WS_NO_BUFFER_UTIL','52848040fICifj','MASK\x20must\x20be\x20clear','wss:','sec-websocket-version','_masked','_destroy','pluginName','kAborted','Opening\x20handshake\x20has\x20timed\x20out','kByteLength','_generateMask','_extensions','arraybuffer','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','end','timeout','kDone','digest','terminate','_url','_originalIpc','startLoop','WS_ERR_UNEXPECTED_RSV_1','defineProperty','kError','zlibInflateOptions','_doCreateSocket','__esModule','threshold','Connection:\x20Upgrade','maxPayload','_firstFragment','headers','invalid\x20opcode\x20','bind','authorization','_compress','drain','CLOSED','password','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','Invalid\x20Upgrade\x20header','createConnection','_errored','onStarting','kCode','share','once','extensionName','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','split','status-code','_injector','GET','_bufferedBytes','CLOSING','sha1','enqueue','createDeflateRaw','function','sec-websocket-protocol','pause','abort','customHeaders','data','client_max_window_bits','text/html','cookie','_opcode','_payloadLength','servername','wasClean','reset','server_no_context_takeover','skipUTF8Validation','STATUS_CODES','kTarget','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','WebSocket\x20is\x20not\x20open:\x20readyState\x20','ws+unix:','resume','concurrency','_messageLength','error','number','charCodeAt','test','removeListener','toStringTag','binaryType','RSV1\x20must\x20be\x20clear','Unexpected\x20end\x20of\x20input','_no_context_takeover','keys','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','concat','send','getConfig','dispatch','autoPong','Sec-WebSocket-Extensions','size','writeHead','isValidUTF8','_deflate','https:','pow','haveLength','_protocol','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Unknown\x20parameter\x20\x22','push','Z_SYNC_FLUSH','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','server','total-length','3863936GRCbrV','getInfo','_loop','compress','includes','Unexpected\x20character\x20at\x20index\x20','_state','offer','2762820jexJkI','close','emit','_errorEmitted','_buffers','\x0d\x0a\x0d\x0a','Inject','default','_threshold','Upgrade:\x20websocket','_closeTimer','values','WS_ERR_EXPECTED_FIN','Origin','_req','setHeader','rsv1','isInteger','_originalSecure','WS_NO_UTF_8_VALIDATE','target','kMessage','_isServer','getPayloadLength16','ILogService','Plugin','extensions','pipe','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','url','kData','Maximum\x20redirects\x20exceeded','conclude','Server\x20sent\x20an\x20invalid\x20subprotocol','handleEvent','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','The\x20URL\x27s\x20pathname\x20is\x20empty','13,\x208','response','registerDependencies','invalid\x20UTF-8\x20sequence','_closeMessage','kListener','hostname','reason','clientMaxWindowBits','Sec-WebSocket-Origin','write','Cookie','concurrencyLimit','update','nextTick','port','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','acceptAsServer','listeners','byteLength','dequeue','location','socket','createSocket','Upgrade','finished','Injector','_final','options','server_max_window_bits','_server','handleUpgrade','10JAGiHN','Module','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','CONNECTING','writeUInt16BE','isPaused','DependentOn','_fragments','_readyState','buffer','\x22:\x20','WS_ERR_UNEXPECTED_MASK','Invalid\x20value\x20for\x20parameter\x20\x22','\x20(supported\x20versions:\x20','kIsForOnEventAttribute','_autoPong','kReason','backlog','kWasClean','HTTP/1.1\x20101\x20Switching\x20Protocols','_configService','Invalid\x20Sec-WebSocket-Accept\x20header','allocUnsafe','_mask','add','controlMessage','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','shouldHandle','allowSynchronousEvents','has','acceptAsClient','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','invalid\x20opcode\x200','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_compressed','format','ws:','_closeFrameSent','normalizeParams','join','finish','14AwJJCu','byteOffset','jobs'];_0x3d16=function(){return _0x35a65a;};return _0x3d16();}const Nt={},kt=Object['freeze'](Object[_0x32b16e(0x108)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x32b16e(0x1b3)})),Lt=at(kt);var Ve;function ce(){const _0x1f7557=_0x32b16e;if(Ve)return se[_0x1f7557(0x240)];Ve=0x1;const {EMPTY_BUFFER:_0x303959}=H(),_0x595342=Buffer[Symbol[_0x1f7557(0x1ed)]];function _0x476038(_0x282acd,_0xfa7bd5){const _0x177b28=_0x1f7557;if(_0x282acd[_0x177b28(0x21d)]===0x0)return _0x303959;if(_0x282acd[_0x177b28(0x21d)]===0x1)return _0x282acd[0x0];const _0x346ccc=Buffer[_0x177b28(0x1c8)](_0xfa7bd5);let _0x51bf4e=0x0;for(let _0x103de0=0x0;_0x103de0<_0x282acd['length'];_0x103de0++){const _0x1e80cd=_0x282acd[_0x103de0];_0x346ccc[_0x177b28(0x232)](_0x1e80cd,_0x51bf4e),_0x51bf4e+=_0x1e80cd['length'];}return _0x51bf4e<_0xfa7bd5?new _0x595342(_0x346ccc[_0x177b28(0x1bb)],_0x346ccc[_0x177b28(0x1dc)],_0x51bf4e):_0x346ccc;}function _0x489746(_0x1fa170,_0x8cfcee,_0x1f7343,_0x1f8400,_0x2d5255){for(let _0x31c484=0x0;_0x31c484<_0x2d5255;_0x31c484++)_0x1f7343[_0x1f8400+_0x31c484]=_0x1fa170[_0x31c484]^_0x8cfcee[_0x31c484&0x3];}function _0x55f9f8(_0x92c1ba,_0x100d21){const _0x337f41=_0x1f7557;for(let _0x487f17=0x0;_0x487f17<_0x92c1ba[_0x337f41(0x21d)];_0x487f17++)_0x92c1ba[_0x487f17]^=_0x100d21[_0x487f17&0x3];}function _0x66e324(_0x5f1e3b){const _0x360ba5=_0x1f7557;return _0x5f1e3b['length']===_0x5f1e3b[_0x360ba5(0x1bb)][_0x360ba5(0x1a5)]?_0x5f1e3b['buffer']:_0x5f1e3b[_0x360ba5(0x1bb)][_0x360ba5(0x271)](_0x5f1e3b['byteOffset'],_0x5f1e3b['byteOffset']+_0x5f1e3b[_0x360ba5(0x21d)]);}function _0x43cfee(_0x1a9507){const _0x518bba=_0x1f7557;if(_0x43cfee[_0x518bba(0x1f0)]=!0x0,Buffer[_0x518bba(0x227)](_0x1a9507))return _0x1a9507;let _0x3e3d5c;return _0x1a9507 instanceof ArrayBuffer?_0x3e3d5c=new _0x595342(_0x1a9507):ArrayBuffer['isView'](_0x1a9507)?_0x3e3d5c=new _0x595342(_0x1a9507[_0x518bba(0x1bb)],_0x1a9507[_0x518bba(0x1dc)],_0x1a9507[_0x518bba(0x1a5)]):(_0x3e3d5c=Buffer[_0x518bba(0x200)](_0x1a9507),_0x43cfee[_0x518bba(0x1f0)]=!0x1),_0x3e3d5c;}if(se[_0x1f7557(0x240)]={'concat':_0x476038,'mask':_0x489746,'toArrayBuffer':_0x66e324,'toBuffer':_0x43cfee,'unmask':_0x55f9f8},!process[_0x1f7557(0xe3)][_0x1f7557(0xf0)])try{const _0x4324d3=Lt;se[_0x1f7557(0x240)]['mask']=function(_0x46f667,_0x402e93,_0x2b5359,_0x2d4c67,_0x2ce158){const _0x4b4702=_0x1f7557;_0x2ce158<0x30?_0x489746(_0x46f667,_0x402e93,_0x2b5359,_0x2d4c67,_0x2ce158):_0x4324d3[_0x4b4702(0x263)](_0x46f667,_0x402e93,_0x2b5359,_0x2d4c67,_0x2ce158);},se[_0x1f7557(0x240)]['unmask']=function(_0x5e1c3d,_0x4a4048){_0x5e1c3d['length']<0x20?_0x55f9f8(_0x5e1c3d,_0x4a4048):_0x4324d3['unmask'](_0x5e1c3d,_0x4a4048);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x43c797=_0x32b16e;if(He)return ye;He=0x1;const _0x2d5eaf=Symbol(_0x43c797(0x101)),_0x37ffeb=Symbol('kRun');class _0x2f553d{constructor(_0x1a178b){const _0x541e5c=_0x43c797;this[_0x2d5eaf]=()=>{const _0x33d4a6=_0x4d1b;this[_0x33d4a6(0x22e)]--,this[_0x37ffeb]();},this['concurrency']=_0x1a178b||0x1/0x0,this['jobs']=[],this[_0x541e5c(0x22e)]=0x0;}[_0x43c797(0x1ca)](_0x5c3b67){const _0x3545d6=_0x43c797;this[_0x3545d6(0x1dd)][_0x3545d6(0x160)](_0x5c3b67),this[_0x37ffeb]();}[_0x37ffeb](){const _0x36ff42=_0x43c797;if(this[_0x36ff42(0x22e)]!==this[_0x36ff42(0x142)]&&this[_0x36ff42(0x1dd)][_0x36ff42(0x21d)]){const _0x5ad590=this[_0x36ff42(0x1dd)][_0x36ff42(0x1f9)]();this[_0x36ff42(0x22e)]++,_0x5ad590(this[_0x2d5eaf]);}}}return ye=_0x2f553d,ye;}var ve,ze;function he(){const _0x84e73=_0x32b16e;if(ze)return ve;ze=0x1;const _0xed93ae=bt,_0x62f2f6=ce(),_0x71f348=Pt(),{kStatusCode:_0x2b349b}=H(),_0x10ea9f=Buffer[Symbol[_0x84e73(0x1ed)]],_0x377d41=Buffer[_0x84e73(0x200)]([0x0,0x0,0xff,0xff]),_0x4b6aa1=Symbol(_0x84e73(0x22d)),_0x13aaeb=Symbol(_0x84e73(0x164)),_0x227c49=Symbol('callback'),_0x513f74=Symbol(_0x84e73(0xd9)),_0x5dc5e2=Symbol(_0x84e73(0x144));let _0x1c1c7c;class _0x30017c{constructor(_0x15a8f9,_0x581303,_0x3b7e1c){const _0x281090=_0x84e73;if(this[_0x281090(0x23e)]=_0x3b7e1c|0x0,this['_options']=_0x15a8f9||{},this[_0x281090(0x175)]=this['_options'][_0x281090(0x10d)]!==void 0x0?this[_0x281090(0xc5)]['threshold']:0x400,this['_isServer']=!!_0x581303,this[_0x281090(0x159)]=null,this[_0x281090(0x21f)]=null,this['params']=null,!_0x1c1c7c){const _0x19c812=this['_options'][_0x281090(0x19e)]!==void 0x0?this[_0x281090(0xc5)][_0x281090(0x19e)]:0xa;_0x1c1c7c=new _0x71f348(_0x19c812);}}static get['extensionName'](){const _0x2abf77=_0x84e73;return _0x2abf77(0x22d);}['offer'](){const _0x12391d=_0x84e73,_0x17fa08={};return this[_0x12391d(0xc5)][_0x12391d(0x1ee)]&&(_0x17fa08[_0x12391d(0x13a)]=!0x0),this[_0x12391d(0xc5)]['clientNoContextTakeover']&&(_0x17fa08[_0x12391d(0x20d)]=!0x0),this[_0x12391d(0xc5)][_0x12391d(0xd8)]&&(_0x17fa08[_0x12391d(0x1af)]=this['_options'][_0x12391d(0xd8)]),this[_0x12391d(0xc5)][_0x12391d(0x19a)]?_0x17fa08['client_max_window_bits']=this[_0x12391d(0xc5)][_0x12391d(0x19a)]:this[_0x12391d(0xc5)][_0x12391d(0x19a)]==null&&(_0x17fa08['client_max_window_bits']=!0x0),_0x17fa08;}[_0x84e73(0x262)](_0x8f6cc6){const _0x53868b=_0x84e73;return _0x8f6cc6=this[_0x53868b(0x1d8)](_0x8f6cc6),this['params']=this[_0x53868b(0x183)]?this[_0x53868b(0x1a3)](_0x8f6cc6):this[_0x53868b(0x1d0)](_0x8f6cc6),this[_0x53868b(0x1ff)];}[_0x84e73(0x24e)](){const _0x242047=_0x84e73;if(this[_0x242047(0x21f)]&&(this[_0x242047(0x21f)][_0x242047(0x16e)](),this['_inflate']=null),this[_0x242047(0x159)]){const _0x34c879=this[_0x242047(0x159)][_0x227c49];this[_0x242047(0x159)][_0x242047(0x16e)](),this[_0x242047(0x159)]=null,_0x34c879&&_0x34c879(new Error(_0x242047(0x189)));}}[_0x84e73(0x1a3)](_0x4a9ba3){const _0x3dde58=_0x84e73,_0x36299b=this[_0x3dde58(0xc5)],_0x1d38d3=_0x4a9ba3['find'](_0x406dfc=>!(_0x36299b[_0x3dde58(0x1ee)]===!0x1&&_0x406dfc[_0x3dde58(0x13a)]||_0x406dfc[_0x3dde58(0x1af)]&&(_0x36299b[_0x3dde58(0xd8)]===!0x1||typeof _0x36299b[_0x3dde58(0xd8)]==_0x3dde58(0x145)&&_0x36299b['serverMaxWindowBits']>_0x406dfc[_0x3dde58(0x1af)])||typeof _0x36299b[_0x3dde58(0x19a)]==_0x3dde58(0x145)&&!_0x406dfc[_0x3dde58(0x132)]));if(!_0x1d38d3)throw new Error(_0x3dde58(0x1cc));return _0x36299b['serverNoContextTakeover']&&(_0x1d38d3['server_no_context_takeover']=!0x0),_0x36299b[_0x3dde58(0x1fa)]&&(_0x1d38d3['client_no_context_takeover']=!0x0),typeof _0x36299b[_0x3dde58(0xd8)]=='number'&&(_0x1d38d3[_0x3dde58(0x1af)]=_0x36299b[_0x3dde58(0xd8)]),typeof _0x36299b[_0x3dde58(0x19a)]==_0x3dde58(0x145)?_0x1d38d3[_0x3dde58(0x132)]=_0x36299b[_0x3dde58(0x19a)]:(_0x1d38d3['client_max_window_bits']===!0x0||_0x36299b['clientMaxWindowBits']===!0x1)&&delete _0x1d38d3[_0x3dde58(0x132)],_0x1d38d3;}[_0x84e73(0x1d0)](_0x331409){const _0xc94096=_0x84e73,_0x15dcbe=_0x331409[0x0];if(this[_0xc94096(0xc5)][_0xc94096(0x1fa)]===!0x1&&_0x15dcbe[_0xc94096(0x20d)])throw new Error(_0xc94096(0x1a2));if(!_0x15dcbe[_0xc94096(0x132)])typeof this[_0xc94096(0xc5)][_0xc94096(0x19a)]==_0xc94096(0x145)&&(_0x15dcbe[_0xc94096(0x132)]=this[_0xc94096(0xc5)][_0xc94096(0x19a)]);else{if(this[_0xc94096(0xc5)][_0xc94096(0x19a)]===!0x1||typeof this[_0xc94096(0xc5)][_0xc94096(0x19a)]==_0xc94096(0x145)&&_0x15dcbe[_0xc94096(0x132)]>this[_0xc94096(0xc5)]['clientMaxWindowBits'])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x15dcbe;}['normalizeParams'](_0x485f28){const _0x1b7e68=_0x84e73;return _0x485f28[_0x1b7e68(0x1f1)](_0x11dd5b=>{Object['keys'](_0x11dd5b)['forEach'](_0x56532f=>{const _0x3727e8=_0x4d1b;let _0x135fae=_0x11dd5b[_0x56532f];if(_0x135fae[_0x3727e8(0x21d)]>0x1)throw new Error('Parameter\x20\x22'+_0x56532f+_0x3727e8(0x15e));if(_0x135fae=_0x135fae[0x0],_0x56532f===_0x3727e8(0x132)){if(_0x135fae!==!0x0){const _0x43d25b=+_0x135fae;if(!Number['isInteger'](_0x43d25b)||_0x43d25b<0x8||_0x43d25b>0xf)throw new TypeError(_0x3727e8(0x1be)+_0x56532f+_0x3727e8(0x1bc)+_0x135fae);_0x135fae=_0x43d25b;}else{if(!this[_0x3727e8(0x183)])throw new TypeError(_0x3727e8(0x1be)+_0x56532f+'\x22:\x20'+_0x135fae);}}else{if(_0x56532f===_0x3727e8(0x1af)){const _0x599c4d=+_0x135fae;if(!Number[_0x3727e8(0x17e)](_0x599c4d)||_0x599c4d<0x8||_0x599c4d>0xf)throw new TypeError(_0x3727e8(0x1be)+_0x56532f+'\x22:\x20'+_0x135fae);_0x135fae=_0x599c4d;}else{if(_0x56532f==='client_no_context_takeover'||_0x56532f==='server_no_context_takeover'){if(_0x135fae!==!0x0)throw new TypeError(_0x3727e8(0x1be)+_0x56532f+'\x22:\x20'+_0x135fae);}else throw new Error(_0x3727e8(0x15f)+_0x56532f+'\x22');}}_0x11dd5b[_0x56532f]=_0x135fae;});}),_0x485f28;}[_0x84e73(0xcb)](_0x54798e,_0x516964,_0x56731d){const _0x1d6f5b=_0x84e73;_0x1c1c7c[_0x1d6f5b(0x1ca)](_0x4cb1d8=>{this['_decompress'](_0x54798e,_0x516964,(_0x1f596f,_0x3008a2)=>{_0x4cb1d8(),_0x56731d(_0x1f596f,_0x3008a2);});});}['compress'](_0x1b3841,_0x3c9071,_0x20535c){const _0x2a05c9=_0x84e73;_0x1c1c7c[_0x2a05c9(0x1ca)](_0x4eca42=>{this['_compress'](_0x1b3841,_0x3c9071,(_0x15e691,_0x58b3e0)=>{_0x4eca42(),_0x20535c(_0x15e691,_0x58b3e0);});});}['_decompress'](_0x22bf47,_0x33a078,_0x24e0d2){const _0x489322=_0x84e73,_0x41b509=this['_isServer']?_0x489322(0x25c):'server';if(!this[_0x489322(0x21f)]){const _0x1b4364=_0x41b509+_0x489322(0x23f),_0x5082b4=typeof this[_0x489322(0x1ff)][_0x1b4364]!=_0x489322(0x145)?_0xed93ae[_0x489322(0x274)]:this[_0x489322(0x1ff)][_0x1b4364];this[_0x489322(0x21f)]=_0xed93ae['createInflateRaw']({...this['_options'][_0x489322(0x10a)],'windowBits':_0x5082b4}),this[_0x489322(0x21f)][_0x4b6aa1]=this,this[_0x489322(0x21f)][_0x13aaeb]=0x0,this[_0x489322(0x21f)][_0x513f74]=[],this[_0x489322(0x21f)]['on'](_0x489322(0x144),_0x2950bd),this[_0x489322(0x21f)]['on'](_0x489322(0x131),_0x2ac529);}this['_inflate'][_0x227c49]=_0x24e0d2,this[_0x489322(0x21f)]['write'](_0x22bf47),_0x33a078&&this[_0x489322(0x21f)][_0x489322(0x19c)](_0x377d41),this[_0x489322(0x21f)][_0x489322(0x251)](()=>{const _0x38c468=_0x489322,_0x5c4583=this[_0x38c468(0x21f)][_0x5dc5e2];if(_0x5c4583){this[_0x38c468(0x21f)][_0x38c468(0x16e)](),this[_0x38c468(0x21f)]=null,_0x24e0d2(_0x5c4583);return;}const _0x521aae=_0x62f2f6[_0x38c468(0x150)](this[_0x38c468(0x21f)][_0x513f74],this[_0x38c468(0x21f)][_0x13aaeb]);this[_0x38c468(0x21f)]['_readableState'][_0x38c468(0x231)]?(this[_0x38c468(0x21f)][_0x38c468(0x16e)](),this[_0x38c468(0x21f)]=null):(this[_0x38c468(0x21f)][_0x13aaeb]=0x0,this[_0x38c468(0x21f)][_0x513f74]=[],_0x33a078&&this[_0x38c468(0x1ff)][_0x41b509+_0x38c468(0x14d)]&&this[_0x38c468(0x21f)][_0x38c468(0x139)]()),_0x24e0d2(null,_0x521aae);});}['_compress'](_0x298383,_0x520264,_0x3ccedd){const _0x84d87c=_0x84e73,_0x22de51=this['_isServer']?'server':_0x84d87c(0x25c);if(!this[_0x84d87c(0x159)]){const _0x424441=_0x22de51+_0x84d87c(0x23f),_0x4dc3ac=typeof this[_0x84d87c(0x1ff)][_0x424441]!='number'?_0xed93ae[_0x84d87c(0x274)]:this[_0x84d87c(0x1ff)][_0x424441];this[_0x84d87c(0x159)]=_0xed93ae[_0x84d87c(0x12b)]({...this[_0x84d87c(0xc5)][_0x84d87c(0xe1)],'windowBits':_0x4dc3ac}),this['_deflate'][_0x13aaeb]=0x0,this[_0x84d87c(0x159)][_0x513f74]=[],this[_0x84d87c(0x159)]['on']('data',_0x131c67);}this[_0x84d87c(0x159)][_0x227c49]=_0x3ccedd,this[_0x84d87c(0x159)][_0x84d87c(0x19c)](_0x298383),this[_0x84d87c(0x159)][_0x84d87c(0x251)](_0xed93ae[_0x84d87c(0x161)],()=>{const _0x449458=_0x84d87c;if(!this[_0x449458(0x159)])return;let _0x5c14a1=_0x62f2f6['concat'](this[_0x449458(0x159)][_0x513f74],this[_0x449458(0x159)][_0x13aaeb]);_0x520264&&(_0x5c14a1=new _0x10ea9f(_0x5c14a1[_0x449458(0x1bb)],_0x5c14a1[_0x449458(0x1dc)],_0x5c14a1[_0x449458(0x21d)]-0x4)),this[_0x449458(0x159)][_0x227c49]=null,this[_0x449458(0x159)][_0x13aaeb]=0x0,this[_0x449458(0x159)][_0x513f74]=[],_0x520264&&this['params'][_0x22de51+_0x449458(0x14d)]&&this['_deflate'][_0x449458(0x139)](),_0x3ccedd(null,_0x5c14a1);});}}ve=_0x30017c;function _0x131c67(_0x39d522){const _0x30b348=_0x84e73;this[_0x513f74][_0x30b348(0x160)](_0x39d522),this[_0x13aaeb]+=_0x39d522[_0x30b348(0x21d)];}function _0x2ac529(_0x436748){const _0x1b01bd=_0x84e73;if(this[_0x13aaeb]+=_0x436748[_0x1b01bd(0x21d)],this[_0x4b6aa1][_0x1b01bd(0x23e)]<0x1||this[_0x13aaeb]<=this[_0x4b6aa1][_0x1b01bd(0x23e)]){this[_0x513f74][_0x1b01bd(0x160)](_0x436748);return;}this[_0x5dc5e2]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x5dc5e2][_0x1b01bd(0x22f)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x5dc5e2][_0x2b349b]=0x3f1,this[_0x1b01bd(0x148)](_0x1b01bd(0x131),_0x2ac529),this[_0x1b01bd(0x139)]();}function _0x2950bd(_0x10a4e0){const _0x40d6e0=_0x84e73;if(this[_0x4b6aa1][_0x40d6e0(0x21f)]=null,this[_0x5dc5e2]){this[_0x227c49](this[_0x5dc5e2]);return;}_0x10a4e0[_0x2b349b]=0x3ef,this[_0x227c49](_0x10a4e0);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x32b16e(0x20f)](Object[_0x32b16e(0x108)]({'__proto__':null,'default':Dt},Symbol[_0x32b16e(0x149)],{'value':_0x32b16e(0x1b3)})),Bt=at(Rt);var Ye;function ae(){const _0x56e59e=_0x32b16e;if(Ye)return ie[_0x56e59e(0x240)];Ye=0x1;const {isUtf8:_0x5d5792}=wt,{hasBlob:_0x5b403d}=H(),_0x5ac15c=[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 _0x106389(_0xa00583){return _0xa00583>=0x3e8&&_0xa00583<=0x3f6&&_0xa00583!==0x3ec&&_0xa00583!==0x3ed&&_0xa00583!==0x3ee||_0xa00583>=0xbb8&&_0xa00583<=0x1387;}function _0x5da677(_0x256d53){const _0x4fb063=_0x56e59e,_0x3620f7=_0x256d53[_0x4fb063(0x21d)];let _0x953995=0x0;for(;_0x953995<_0x3620f7;)if((_0x256d53[_0x953995]&0x80)===0x0)_0x953995++;else{if((_0x256d53[_0x953995]&0xe0)===0xc0){if(_0x953995+0x1===_0x3620f7||(_0x256d53[_0x953995+0x1]&0xc0)!==0x80||(_0x256d53[_0x953995]&0xfe)===0xc0)return!0x1;_0x953995+=0x2;}else{if((_0x256d53[_0x953995]&0xf0)===0xe0){if(_0x953995+0x2>=_0x3620f7||(_0x256d53[_0x953995+0x1]&0xc0)!==0x80||(_0x256d53[_0x953995+0x2]&0xc0)!==0x80||_0x256d53[_0x953995]===0xe0&&(_0x256d53[_0x953995+0x1]&0xe0)===0x80||_0x256d53[_0x953995]===0xed&&(_0x256d53[_0x953995+0x1]&0xe0)===0xa0)return!0x1;_0x953995+=0x3;}else{if((_0x256d53[_0x953995]&0xf8)===0xf0){if(_0x953995+0x3>=_0x3620f7||(_0x256d53[_0x953995+0x1]&0xc0)!==0x80||(_0x256d53[_0x953995+0x2]&0xc0)!==0x80||(_0x256d53[_0x953995+0x3]&0xc0)!==0x80||_0x256d53[_0x953995]===0xf0&&(_0x256d53[_0x953995+0x1]&0xf0)===0x80||_0x256d53[_0x953995]===0xf4&&_0x256d53[_0x953995+0x1]>0x8f||_0x256d53[_0x953995]>0xf4)return!0x1;_0x953995+=0x4;}else return!0x1;}}}return!0x0;}function _0x4c5655(_0x15776d){const _0x5bc90e=_0x56e59e;return _0x5b403d&&typeof _0x15776d=='object'&&typeof _0x15776d[_0x5bc90e(0x278)]==_0x5bc90e(0x12c)&&typeof _0x15776d['type']==_0x5bc90e(0x25d)&&typeof _0x15776d[_0x5bc90e(0x223)]==_0x5bc90e(0x12c)&&(_0x15776d[Symbol[_0x5bc90e(0x149)]]===_0x5bc90e(0x26b)||_0x15776d[Symbol[_0x5bc90e(0x149)]]===_0x5bc90e(0x25e));}if(ie[_0x56e59e(0x240)]={'isBlob':_0x4c5655,'isValidStatusCode':_0x106389,'isValidUTF8':_0x5da677,'tokenChars':_0x5ac15c},_0x5d5792)ie[_0x56e59e(0x240)][_0x56e59e(0x158)]=function(_0x1599a1){const _0x2a7e0d=_0x56e59e;return _0x1599a1[_0x2a7e0d(0x21d)]<0x18?_0x5da677(_0x1599a1):_0x5d5792(_0x1599a1);};else{if(!process['env'][_0x56e59e(0x180)])try{const _0x29a8ba=Bt;ie[_0x56e59e(0x240)]['isValidUTF8']=function(_0x205dc0){const _0x225c9c=_0x56e59e;return _0x205dc0[_0x225c9c(0x21d)]<0x20?_0x5da677(_0x205dc0):_0x29a8ba(_0x205dc0);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x2d2c45=_0x32b16e;if(Ke)return Se;Ke=0x1;const {Writable:_0x236545}=oe,_0x20a12e=he(),{BINARY_TYPES:_0x49a893,EMPTY_BUFFER:_0x236777,kStatusCode:_0x2279e5,kWebSocket:_0x537db7}=H(),{concat:_0x5e484f,toArrayBuffer:_0x3c2bcc,unmask:_0x5c37ab}=ce(),{isValidStatusCode:_0x3fd8e5,isValidUTF8:_0x184adc}=ae(),_0x3679d9=Buffer[Symbol[_0x2d2c45(0x1ed)]],_0x3c6106=0x0,_0x1a1c42=0x1,_0x5d7793=0x2,_0x42f219=0x3,_0x425af9=0x4,_0x4a1644=0x5,_0x25c47e=0x6;class _0x1e4981 extends _0x236545{constructor(_0x51a48f={}){const _0xe04379=_0x2d2c45;super(),this[_0xe04379(0x238)]=_0x51a48f[_0xe04379(0x1ce)]!==void 0x0?_0x51a48f['allowSynchronousEvents']:!0x0,this[_0xe04379(0xee)]=_0x51a48f[_0xe04379(0x14a)]||_0x49a893[0x0],this['_extensions']=_0x51a48f['extensions']||{},this[_0xe04379(0x183)]=!!_0x51a48f[_0xe04379(0x1f3)],this[_0xe04379(0x23e)]=_0x51a48f[_0xe04379(0x10f)]|0x0,this[_0xe04379(0x1f6)]=!!_0x51a48f[_0xe04379(0x13b)],this[_0x537db7]=void 0x0,this[_0xe04379(0x127)]=0x0,this['_buffers']=[],this[_0xe04379(0x1d4)]=!0x1,this[_0xe04379(0x136)]=0x0,this[_0xe04379(0x1c9)]=void 0x0,this[_0xe04379(0x269)]=0x0,this[_0xe04379(0xf5)]=!0x1,this[_0xe04379(0x215)]=!0x1,this['_opcode']=0x0,this[_0xe04379(0x255)]=0x0,this[_0xe04379(0x143)]=0x0,this[_0xe04379(0x1b9)]=[],this[_0xe04379(0x11c)]=!0x1,this[_0xe04379(0x167)]=!0x1,this[_0xe04379(0x16b)]=_0x3c6106;}[_0x2d2c45(0x267)](_0xd0d35c,_0x35e983,_0x14e215){const _0x338fe4=_0x2d2c45;if(this[_0x338fe4(0x135)]===0x8&&this[_0x338fe4(0x16b)]==_0x3c6106)return _0x14e215();this['_bufferedBytes']+=_0xd0d35c[_0x338fe4(0x21d)],this[_0x338fe4(0x171)][_0x338fe4(0x160)](_0xd0d35c),this[_0x338fe4(0x106)](_0x14e215);}[_0x2d2c45(0x209)](_0x45ce02){const _0x4025d2=_0x2d2c45;if(this[_0x4025d2(0x127)]-=_0x45ce02,_0x45ce02===this['_buffers'][0x0]['length'])return this[_0x4025d2(0x171)][_0x4025d2(0x1f9)]();if(_0x45ce02<this[_0x4025d2(0x171)][0x0][_0x4025d2(0x21d)]){const _0x4bd26c=this[_0x4025d2(0x171)][0x0];return this[_0x4025d2(0x171)][0x0]=new _0x3679d9(_0x4bd26c[_0x4025d2(0x1bb)],_0x4bd26c[_0x4025d2(0x1dc)]+_0x45ce02,_0x4bd26c[_0x4025d2(0x21d)]-_0x45ce02),new _0x3679d9(_0x4bd26c[_0x4025d2(0x1bb)],_0x4bd26c[_0x4025d2(0x1dc)],_0x45ce02);}const _0x58d0bc=Buffer[_0x4025d2(0x1c8)](_0x45ce02);do{const _0x4cf335=this[_0x4025d2(0x171)][0x0],_0x21aa8f=_0x58d0bc[_0x4025d2(0x21d)]-_0x45ce02;_0x45ce02>=_0x4cf335['length']?_0x58d0bc[_0x4025d2(0x232)](this[_0x4025d2(0x171)][_0x4025d2(0x1f9)](),_0x21aa8f):(_0x58d0bc[_0x4025d2(0x232)](new Uint8Array(_0x4cf335[_0x4025d2(0x1bb)],_0x4cf335[_0x4025d2(0x1dc)],_0x45ce02),_0x21aa8f),this['_buffers'][0x0]=new _0x3679d9(_0x4cf335[_0x4025d2(0x1bb)],_0x4cf335[_0x4025d2(0x1dc)]+_0x45ce02,_0x4cf335[_0x4025d2(0x21d)]-_0x45ce02)),_0x45ce02-=_0x4cf335[_0x4025d2(0x21d)];}while(_0x45ce02>0x0);return _0x58d0bc;}[_0x2d2c45(0x106)](_0x207ae3){const _0x541379=_0x2d2c45;this[_0x541379(0x167)]=!0x0;do switch(this[_0x541379(0x16b)]){case _0x3c6106:this[_0x541379(0x166)](_0x207ae3);break;case _0x1a1c42:this[_0x541379(0x184)](_0x207ae3);break;case _0x5d7793:this[_0x541379(0x217)](_0x207ae3);break;case _0x42f219:this[_0x541379(0xd2)]();break;case _0x425af9:this[_0x541379(0x24c)](_0x207ae3);break;case _0x4a1644:case _0x25c47e:this['_loop']=!0x1;return;}while(this[_0x541379(0x167)]);this[_0x541379(0x11c)]||_0x207ae3();}['getInfo'](_0x986d9d){const _0x552db7=_0x2d2c45;if(this[_0x552db7(0x127)]<0x2){this[_0x552db7(0x167)]=!0x1;return;}const _0x42d7b5=this[_0x552db7(0x209)](0x2);if((_0x42d7b5[0x0]&0x30)!==0x0){const _0x34dede=this['createError'](RangeError,_0x552db7(0x22b),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x986d9d(_0x34dede);return;}const _0x3220c5=(_0x42d7b5[0x0]&0x40)===0x40;if(_0x3220c5&&!this[_0x552db7(0xfc)][_0x20a12e[_0x552db7(0x121)]]){const _0x5313b6=this['createError'](RangeError,_0x552db7(0x14b),!0x0,0x3ea,_0x552db7(0x107));_0x986d9d(_0x5313b6);return;}if(this[_0x552db7(0x215)]=(_0x42d7b5[0x0]&0x80)===0x80,this[_0x552db7(0x135)]=_0x42d7b5[0x0]&0xf,this[_0x552db7(0x136)]=_0x42d7b5[0x1]&0x7f,this[_0x552db7(0x135)]===0x0){if(_0x3220c5){const _0x42c64d=this[_0x552db7(0x265)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x986d9d(_0x42c64d);return;}if(!this[_0x552db7(0x269)]){const _0x51d453=this[_0x552db7(0x265)](RangeError,_0x552db7(0x1d2),!0x0,0x3ea,_0x552db7(0xcf));_0x986d9d(_0x51d453);return;}this[_0x552db7(0x135)]=this['_fragmented'];}else{if(this[_0x552db7(0x135)]===0x1||this[_0x552db7(0x135)]===0x2){if(this[_0x552db7(0x269)]){const _0x1ab4db=this[_0x552db7(0x265)](RangeError,_0x552db7(0x112)+this[_0x552db7(0x135)],!0x0,0x3ea,_0x552db7(0xcf));_0x986d9d(_0x1ab4db);return;}this[_0x552db7(0x1d4)]=_0x3220c5;}else{if(this[_0x552db7(0x135)]>0x7&&this[_0x552db7(0x135)]<0xb){if(!this[_0x552db7(0x215)]){const _0x2cbc19=this[_0x552db7(0x265)](RangeError,_0x552db7(0x1f8),!0x0,0x3ea,_0x552db7(0x179));_0x986d9d(_0x2cbc19);return;}if(_0x3220c5){const _0x4cf2ae=this['createError'](RangeError,_0x552db7(0x14b),!0x0,0x3ea,_0x552db7(0x107));_0x986d9d(_0x4cf2ae);return;}if(this[_0x552db7(0x136)]>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x3c6cee=this[_0x552db7(0x265)](RangeError,_0x552db7(0xe5)+this[_0x552db7(0x136)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x986d9d(_0x3c6cee);return;}}else{const _0x50e752=this[_0x552db7(0x265)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x552db7(0xcf));_0x986d9d(_0x50e752);return;}}}if(!this[_0x552db7(0x215)]&&!this[_0x552db7(0x269)]&&(this['_fragmented']=this[_0x552db7(0x135)]),this[_0x552db7(0xf5)]=(_0x42d7b5[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x552db7(0xf5)]){const _0x286408=this[_0x552db7(0x265)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x986d9d(_0x286408);return;}}else{if(this[_0x552db7(0xf5)]){const _0x47bd96=this[_0x552db7(0x265)](RangeError,_0x552db7(0xf2),!0x0,0x3ea,_0x552db7(0x1bd));_0x986d9d(_0x47bd96);return;}}this[_0x552db7(0x136)]===0x7e?this[_0x552db7(0x16b)]=_0x1a1c42:this[_0x552db7(0x136)]===0x7f?this[_0x552db7(0x16b)]=_0x5d7793:this[_0x552db7(0x15c)](_0x986d9d);}['getPayloadLength16'](_0x2408c8){const _0x549b8e=_0x2d2c45;if(this[_0x549b8e(0x127)]<0x2){this[_0x549b8e(0x167)]=!0x1;return;}this[_0x549b8e(0x136)]=this[_0x549b8e(0x209)](0x2)[_0x549b8e(0x230)](0x0),this[_0x549b8e(0x15c)](_0x2408c8);}[_0x2d2c45(0x217)](_0x53b462){const _0x5cb0a6=_0x2d2c45;if(this[_0x5cb0a6(0x127)]<0x8){this[_0x5cb0a6(0x167)]=!0x1;return;}const _0xb4aed=this[_0x5cb0a6(0x209)](0x8),_0x5c55ef=_0xb4aed[_0x5cb0a6(0xe0)](0x0);if(_0x5c55ef>Math[_0x5cb0a6(0x15b)](0x2,0x15)-0x1){const _0x9acedd=this[_0x5cb0a6(0x265)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x5cb0a6(0xfe));_0x53b462(_0x9acedd);return;}this[_0x5cb0a6(0x136)]=_0x5c55ef*Math[_0x5cb0a6(0x15b)](0x2,0x20)+_0xb4aed[_0x5cb0a6(0xe0)](0x4),this[_0x5cb0a6(0x15c)](_0x53b462);}[_0x2d2c45(0x15c)](_0x45ea05){const _0x32eaaf=_0x2d2c45;if(this[_0x32eaaf(0x136)]&&this['_opcode']<0x8&&(this[_0x32eaaf(0x255)]+=this[_0x32eaaf(0x136)],this[_0x32eaaf(0x255)]>this[_0x32eaaf(0x23e)]&&this['_maxPayload']>0x0)){const _0x595b34=this[_0x32eaaf(0x265)](RangeError,_0x32eaaf(0x1fb),!0x1,0x3f1,_0x32eaaf(0x190));_0x45ea05(_0x595b34);return;}this[_0x32eaaf(0xf5)]?this['_state']=_0x42f219:this['_state']=_0x425af9;}['getMask'](){const _0xb7013a=_0x2d2c45;if(this[_0xb7013a(0x127)]<0x4){this[_0xb7013a(0x167)]=!0x1;return;}this[_0xb7013a(0x1c9)]=this['consume'](0x4),this[_0xb7013a(0x16b)]=_0x425af9;}[_0x2d2c45(0x24c)](_0x2906d0){const _0x3fe518=_0x2d2c45;let _0x7e6390=_0x236777;if(this[_0x3fe518(0x136)]){if(this[_0x3fe518(0x127)]<this[_0x3fe518(0x136)]){this['_loop']=!0x1;return;}_0x7e6390=this[_0x3fe518(0x209)](this[_0x3fe518(0x136)]),this[_0x3fe518(0xf5)]&&(this[_0x3fe518(0x1c9)][0x0]|this['_mask'][0x1]|this['_mask'][0x2]|this[_0x3fe518(0x1c9)][0x3])!==0x0&&_0x5c37ab(_0x7e6390,this['_mask']);}if(this[_0x3fe518(0x135)]>0x7){this[_0x3fe518(0x1cb)](_0x7e6390,_0x2906d0);return;}if(this[_0x3fe518(0x1d4)]){this[_0x3fe518(0x16b)]=_0x4a1644,this[_0x3fe518(0xcb)](_0x7e6390,_0x2906d0);return;}_0x7e6390[_0x3fe518(0x21d)]&&(this['_messageLength']=this['_totalPayloadLength'],this['_fragments'][_0x3fe518(0x160)](_0x7e6390)),this['dataMessage'](_0x2906d0);}[_0x2d2c45(0xcb)](_0x492f1a,_0x236985){const _0x1904c1=_0x2d2c45;this['_extensions'][_0x20a12e[_0x1904c1(0x121)]][_0x1904c1(0xcb)](_0x492f1a,this[_0x1904c1(0x215)],(_0x3b392e,_0x49f03d)=>{const _0x4ab158=_0x1904c1;if(_0x3b392e)return _0x236985(_0x3b392e);if(_0x49f03d[_0x4ab158(0x21d)]){if(this[_0x4ab158(0x143)]+=_0x49f03d[_0x4ab158(0x21d)],this[_0x4ab158(0x143)]>this[_0x4ab158(0x23e)]&&this['_maxPayload']>0x0){const _0x23b035=this[_0x4ab158(0x265)](RangeError,_0x4ab158(0x1fb),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x236985(_0x23b035);return;}this[_0x4ab158(0x1b9)][_0x4ab158(0x160)](_0x49f03d);}this['dataMessage'](_0x236985),this[_0x4ab158(0x16b)]===_0x3c6106&&this[_0x4ab158(0x106)](_0x236985);});}[_0x2d2c45(0x266)](_0x41e9a3){const _0x2461ae=_0x2d2c45;if(!this[_0x2461ae(0x215)]){this[_0x2461ae(0x16b)]=_0x3c6106;return;}const _0x1fcbfb=this['_messageLength'],_0x350e24=this[_0x2461ae(0x1b9)];if(this[_0x2461ae(0x255)]=0x0,this[_0x2461ae(0x143)]=0x0,this[_0x2461ae(0x269)]=0x0,this[_0x2461ae(0x1b9)]=[],this[_0x2461ae(0x135)]===0x2){let _0x481c93;this[_0x2461ae(0xee)]===_0x2461ae(0x20e)?_0x481c93=_0x5e484f(_0x350e24,_0x1fcbfb):this[_0x2461ae(0xee)]===_0x2461ae(0xfd)?_0x481c93=_0x3c2bcc(_0x5e484f(_0x350e24,_0x1fcbfb)):this[_0x2461ae(0xee)]===_0x2461ae(0x1e7)?_0x481c93=new Blob(_0x350e24):_0x481c93=_0x350e24,this[_0x2461ae(0x238)]?(this[_0x2461ae(0x16f)](_0x2461ae(0xd0),_0x481c93,!0x0),this[_0x2461ae(0x16b)]=_0x3c6106):(this[_0x2461ae(0x16b)]=_0x25c47e,setImmediate(()=>{const _0x566e14=_0x2461ae;this[_0x566e14(0x16f)]('message',_0x481c93,!0x0),this['_state']=_0x3c6106,this[_0x566e14(0x106)](_0x41e9a3);}));}else{const _0x295742=_0x5e484f(_0x350e24,_0x1fcbfb);if(!this['_skipUTF8Validation']&&!_0x184adc(_0x295742)){const _0x35a05c=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x2461ae(0x224));_0x41e9a3(_0x35a05c);return;}this[_0x2461ae(0x16b)]===_0x4a1644||this[_0x2461ae(0x238)]?(this['emit'](_0x2461ae(0xd0),_0x295742,!0x1),this['_state']=_0x3c6106):(this[_0x2461ae(0x16b)]=_0x25c47e,setImmediate(()=>{const _0x209c73=_0x2461ae;this['emit'](_0x209c73(0xd0),_0x295742,!0x1),this[_0x209c73(0x16b)]=_0x3c6106,this[_0x209c73(0x106)](_0x41e9a3);}));}}[_0x2d2c45(0x1cb)](_0x251819,_0x3efe9e){const _0x33cd28=_0x2d2c45;if(this[_0x33cd28(0x135)]===0x8){if(_0x251819[_0x33cd28(0x21d)]===0x0)this['_loop']=!0x1,this['emit'](_0x33cd28(0x18d),0x3ed,_0x236777),this[_0x33cd28(0xff)]();else{const _0x3af5f7=_0x251819[_0x33cd28(0x230)](0x0);if(!_0x3fd8e5(_0x3af5f7)){const _0x193118=this[_0x33cd28(0x265)](RangeError,'invalid\x20status\x20code\x20'+_0x3af5f7,!0x0,0x3ea,_0x33cd28(0x235));_0x3efe9e(_0x193118);return;}const _0x3d7ccc=new _0x3679d9(_0x251819[_0x33cd28(0x1bb)],_0x251819[_0x33cd28(0x1dc)]+0x2,_0x251819[_0x33cd28(0x21d)]-0x2);if(!this[_0x33cd28(0x1f6)]&&!_0x184adc(_0x3d7ccc)){const _0x42e21d=this[_0x33cd28(0x265)](Error,_0x33cd28(0x195),!0x0,0x3ef,_0x33cd28(0x224));_0x3efe9e(_0x42e21d);return;}this['_loop']=!0x1,this[_0x33cd28(0x16f)]('conclude',_0x3af5f7,_0x3d7ccc),this['end']();}this[_0x33cd28(0x16b)]=_0x3c6106;return;}this[_0x33cd28(0x238)]?(this[_0x33cd28(0x16f)](this[_0x33cd28(0x135)]===0x9?_0x33cd28(0x273):_0x33cd28(0x23b),_0x251819),this['_state']=_0x3c6106):(this[_0x33cd28(0x16b)]=_0x25c47e,setImmediate(()=>{const _0x1c67c7=_0x33cd28;this['emit'](this[_0x1c67c7(0x135)]===0x9?_0x1c67c7(0x273):_0x1c67c7(0x23b),_0x251819),this[_0x1c67c7(0x16b)]=_0x3c6106,this['startLoop'](_0x3efe9e);}));}[_0x2d2c45(0x265)](_0xa2dede,_0x538377,_0x3373e8,_0xc8b485,_0x2af5be){const _0x58c9eb=_0x2d2c45;this[_0x58c9eb(0x167)]=!0x1,this[_0x58c9eb(0x11c)]=!0x0;const _0x3112b9=new _0xa2dede(_0x3373e8?_0x58c9eb(0x277)+_0x538377:_0x538377);return Error[_0x58c9eb(0x1fd)](_0x3112b9,this['createError']),_0x3112b9[_0x58c9eb(0x22f)]=_0x2af5be,_0x3112b9[_0x2279e5]=_0xc8b485,_0x3112b9;}}return Se=_0x1e4981,Se;}var Ee,Xe;function ft(){const _0x34a807=_0x32b16e;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x1bca3f}=oe,{randomFillSync:_0xd8df9a}=Le,_0x2b7032=he(),{EMPTY_BUFFER:_0x4c5b0f,kWebSocket:_0x2ee5f9,NOOP:_0x1989ed}=H(),{isBlob:_0x5600f7,isValidStatusCode:_0x5446f7}=ae(),{mask:_0x238f2f,toBuffer:_0x420c22}=ce(),_0x146749=Symbol(_0x34a807(0xfa)),_0x2c2ab9=Buffer[_0x34a807(0x244)](0x4),_0x262a1a=0x8*0x400;let _0x450d68,_0x42471b=_0x262a1a;const _0x51d985=0x0,_0x2d25bc=0x1,_0x2c3800=0x2;class _0x464e46{constructor(_0x2fd635,_0x101e75,_0x57b2e4){const _0x4702ca=_0x34a807;this[_0x4702ca(0xfc)]=_0x101e75||{},_0x57b2e4&&(this[_0x4702ca(0xfb)]=_0x57b2e4,this[_0x4702ca(0x218)]=Buffer['alloc'](0x4)),this[_0x4702ca(0x246)]=_0x2fd635,this[_0x4702ca(0x110)]=!0x0,this[_0x4702ca(0x115)]=!0x1,this[_0x4702ca(0x127)]=0x0,this['_queue']=[],this[_0x4702ca(0x16b)]=_0x51d985,this[_0x4702ca(0x1e6)]=_0x1989ed,this[_0x2ee5f9]=void 0x0;}static[_0x34a807(0x26e)](_0x7c8d65,_0x5b20f8){const _0x3667c6=_0x34a807;let _0x2f9161,_0x5e3a23=!0x1,_0x34db03=0x2,_0x28caeb=!0x1;_0x5b20f8[_0x3667c6(0x263)]&&(_0x2f9161=_0x5b20f8[_0x3667c6(0x1e9)]||_0x2c2ab9,_0x5b20f8['generateMask']?_0x5b20f8['generateMask'](_0x2f9161):(_0x42471b===_0x262a1a&&(_0x450d68===void 0x0&&(_0x450d68=Buffer['alloc'](_0x262a1a)),_0xd8df9a(_0x450d68,0x0,_0x262a1a),_0x42471b=0x0),_0x2f9161[0x0]=_0x450d68[_0x42471b++],_0x2f9161[0x1]=_0x450d68[_0x42471b++],_0x2f9161[0x2]=_0x450d68[_0x42471b++],_0x2f9161[0x3]=_0x450d68[_0x42471b++]),_0x28caeb=(_0x2f9161[0x0]|_0x2f9161[0x1]|_0x2f9161[0x2]|_0x2f9161[0x3])===0x0,_0x34db03=0x6);let _0x1ea432;typeof _0x7c8d65=='string'?(!_0x5b20f8[_0x3667c6(0x263)]||_0x28caeb)&&_0x5b20f8[_0x146749]!==void 0x0?_0x1ea432=_0x5b20f8[_0x146749]:(_0x7c8d65=Buffer[_0x3667c6(0x200)](_0x7c8d65),_0x1ea432=_0x7c8d65[_0x3667c6(0x21d)]):(_0x1ea432=_0x7c8d65[_0x3667c6(0x21d)],_0x5e3a23=_0x5b20f8[_0x3667c6(0x263)]&&_0x5b20f8[_0x3667c6(0x1f0)]&&!_0x28caeb);let _0x25e9d3=_0x1ea432;_0x1ea432>=0x10000?(_0x34db03+=0x8,_0x25e9d3=0x7f):_0x1ea432>0x7d&&(_0x34db03+=0x2,_0x25e9d3=0x7e);const _0x3e30e4=Buffer[_0x3667c6(0x1c8)](_0x5e3a23?_0x1ea432+_0x34db03:_0x34db03);return _0x3e30e4[0x0]=_0x5b20f8[_0x3667c6(0x1ef)]?_0x5b20f8['opcode']|0x80:_0x5b20f8[_0x3667c6(0xe9)],_0x5b20f8[_0x3667c6(0x17d)]&&(_0x3e30e4[0x0]|=0x40),_0x3e30e4[0x1]=_0x25e9d3,_0x25e9d3===0x7e?_0x3e30e4[_0x3667c6(0x1b6)](_0x1ea432,0x2):_0x25e9d3===0x7f&&(_0x3e30e4[0x2]=_0x3e30e4[0x3]=0x0,_0x3e30e4[_0x3667c6(0x233)](_0x1ea432,0x4,0x6)),_0x5b20f8['mask']?(_0x3e30e4[0x1]|=0x80,_0x3e30e4[_0x34db03-0x4]=_0x2f9161[0x0],_0x3e30e4[_0x34db03-0x3]=_0x2f9161[0x1],_0x3e30e4[_0x34db03-0x2]=_0x2f9161[0x2],_0x3e30e4[_0x34db03-0x1]=_0x2f9161[0x3],_0x28caeb?[_0x3e30e4,_0x7c8d65]:_0x5e3a23?(_0x238f2f(_0x7c8d65,_0x2f9161,_0x3e30e4,_0x34db03,_0x1ea432),[_0x3e30e4]):(_0x238f2f(_0x7c8d65,_0x2f9161,_0x7c8d65,0x0,_0x1ea432),[_0x3e30e4,_0x7c8d65])):[_0x3e30e4,_0x7c8d65];}[_0x34a807(0x16e)](_0x22b506,_0x341a2f,_0x25cee7,_0x192e37){const _0x44edc9=_0x34a807;let _0x489272;if(_0x22b506===void 0x0)_0x489272=_0x4c5b0f;else{if(typeof _0x22b506!=_0x44edc9(0x145)||!_0x5446f7(_0x22b506))throw new TypeError(_0x44edc9(0x13e));if(_0x341a2f===void 0x0||!_0x341a2f[_0x44edc9(0x21d)])_0x489272=Buffer['allocUnsafe'](0x2),_0x489272['writeUInt16BE'](_0x22b506,0x0);else{const _0x1042a4=Buffer[_0x44edc9(0x1a5)](_0x341a2f);if(_0x1042a4>0x7b)throw new RangeError(_0x44edc9(0x14f));_0x489272=Buffer[_0x44edc9(0x1c8)](0x2+_0x1042a4),_0x489272[_0x44edc9(0x1b6)](_0x22b506,0x0),typeof _0x341a2f=='string'?_0x489272[_0x44edc9(0x19c)](_0x341a2f,0x2):_0x489272['set'](_0x341a2f,0x2);}}const _0x4475f6={[_0x146749]:_0x489272[_0x44edc9(0x21d)],'fin':!0x0,'generateMask':this[_0x44edc9(0xfb)],'mask':_0x25cee7,'maskBuffer':this[_0x44edc9(0x218)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x44edc9(0x16b)]!==_0x51d985?this['enqueue']([this[_0x44edc9(0x153)],_0x489272,!0x1,_0x4475f6,_0x192e37]):this['sendFrame'](_0x464e46[_0x44edc9(0x26e)](_0x489272,_0x4475f6),_0x192e37);}['ping'](_0x18985f,_0x139dd0,_0x58554e){const _0x2f8129=_0x34a807;let _0x565f92,_0x5d9a29;if(typeof _0x18985f==_0x2f8129(0x25d)?(_0x565f92=Buffer[_0x2f8129(0x1a5)](_0x18985f),_0x5d9a29=!0x1):_0x5600f7(_0x18985f)?(_0x565f92=_0x18985f[_0x2f8129(0x156)],_0x5d9a29=!0x1):(_0x18985f=_0x420c22(_0x18985f),_0x565f92=_0x18985f[_0x2f8129(0x21d)],_0x5d9a29=_0x420c22[_0x2f8129(0x1f0)]),_0x565f92>0x7d)throw new RangeError(_0x2f8129(0x253));const _0x283a10={[_0x146749]:_0x565f92,'fin':!0x0,'generateMask':this[_0x2f8129(0xfb)],'mask':_0x139dd0,'maskBuffer':this[_0x2f8129(0x218)],'opcode':0x9,'readOnly':_0x5d9a29,'rsv1':!0x1};_0x5600f7(_0x18985f)?this[_0x2f8129(0x16b)]!==_0x51d985?this[_0x2f8129(0x12a)]([this[_0x2f8129(0x24a)],_0x18985f,!0x1,_0x283a10,_0x58554e]):this[_0x2f8129(0x24a)](_0x18985f,!0x1,_0x283a10,_0x58554e):this[_0x2f8129(0x16b)]!==_0x51d985?this[_0x2f8129(0x12a)]([this[_0x2f8129(0x153)],_0x18985f,!0x1,_0x283a10,_0x58554e]):this[_0x2f8129(0x20c)](_0x464e46[_0x2f8129(0x26e)](_0x18985f,_0x283a10),_0x58554e);}[_0x34a807(0x23b)](_0x4393aa,_0x26d894,_0x13b998){const _0x66f153=_0x34a807;let _0x5d6782,_0x97fdaf;if(typeof _0x4393aa==_0x66f153(0x25d)?(_0x5d6782=Buffer[_0x66f153(0x1a5)](_0x4393aa),_0x97fdaf=!0x1):_0x5600f7(_0x4393aa)?(_0x5d6782=_0x4393aa[_0x66f153(0x156)],_0x97fdaf=!0x1):(_0x4393aa=_0x420c22(_0x4393aa),_0x5d6782=_0x4393aa['length'],_0x97fdaf=_0x420c22[_0x66f153(0x1f0)]),_0x5d6782>0x7d)throw new RangeError(_0x66f153(0x253));const _0x57dda2={[_0x146749]:_0x5d6782,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x26d894,'maskBuffer':this[_0x66f153(0x218)],'opcode':0xa,'readOnly':_0x97fdaf,'rsv1':!0x1};_0x5600f7(_0x4393aa)?this[_0x66f153(0x16b)]!==_0x51d985?this[_0x66f153(0x12a)]([this['getBlobData'],_0x4393aa,!0x1,_0x57dda2,_0x13b998]):this[_0x66f153(0x24a)](_0x4393aa,!0x1,_0x57dda2,_0x13b998):this[_0x66f153(0x16b)]!==_0x51d985?this[_0x66f153(0x12a)]([this[_0x66f153(0x153)],_0x4393aa,!0x1,_0x57dda2,_0x13b998]):this['sendFrame'](_0x464e46[_0x66f153(0x26e)](_0x4393aa,_0x57dda2),_0x13b998);}[_0x34a807(0x151)](_0x129f78,_0x3a78ad,_0x5708e9){const _0x3c8248=_0x34a807,_0x23ca96=this[_0x3c8248(0xfc)][_0x2b7032[_0x3c8248(0x121)]];let _0xe52293=_0x3a78ad['binary']?0x2:0x1,_0xf2a245=_0x3a78ad[_0x3c8248(0x168)],_0x4a9eed,_0xd0bbc3;typeof _0x129f78=='string'?(_0x4a9eed=Buffer['byteLength'](_0x129f78),_0xd0bbc3=!0x1):_0x5600f7(_0x129f78)?(_0x4a9eed=_0x129f78['size'],_0xd0bbc3=!0x1):(_0x129f78=_0x420c22(_0x129f78),_0x4a9eed=_0x129f78[_0x3c8248(0x21d)],_0xd0bbc3=_0x420c22[_0x3c8248(0x1f0)]),this[_0x3c8248(0x110)]?(this['_firstFragment']=!0x1,_0xf2a245&&_0x23ca96&&_0x23ca96[_0x3c8248(0x1ff)][_0x23ca96[_0x3c8248(0x183)]?'server_no_context_takeover':_0x3c8248(0x20d)]&&(_0xf2a245=_0x4a9eed>=_0x23ca96[_0x3c8248(0x175)]),this[_0x3c8248(0x115)]=_0xf2a245):(_0xf2a245=!0x1,_0xe52293=0x0),_0x3a78ad[_0x3c8248(0x1ef)]&&(this[_0x3c8248(0x110)]=!0x0);const _0x26909a={[_0x146749]:_0x4a9eed,'fin':_0x3a78ad['fin'],'generateMask':this[_0x3c8248(0xfb)],'mask':_0x3a78ad['mask'],'maskBuffer':this[_0x3c8248(0x218)],'opcode':_0xe52293,'readOnly':_0xd0bbc3,'rsv1':_0xf2a245};_0x5600f7(_0x129f78)?this['_state']!==_0x51d985?this['enqueue']([this[_0x3c8248(0x24a)],_0x129f78,this['_compress'],_0x26909a,_0x5708e9]):this[_0x3c8248(0x24a)](_0x129f78,this[_0x3c8248(0x115)],_0x26909a,_0x5708e9):this[_0x3c8248(0x16b)]!==_0x51d985?this[_0x3c8248(0x12a)]([this['dispatch'],_0x129f78,this[_0x3c8248(0x115)],_0x26909a,_0x5708e9]):this[_0x3c8248(0x153)](_0x129f78,this[_0x3c8248(0x115)],_0x26909a,_0x5708e9);}[_0x34a807(0x24a)](_0x99373f,_0x37eed4,_0x4c5d8d,_0xfc7109){const _0x703af8=_0x34a807;this['_bufferedBytes']+=_0x4c5d8d[_0x146749],this['_state']=_0x2c3800,_0x99373f[_0x703af8(0x278)]()['then'](_0x4dd1bf=>{const _0x558336=_0x703af8;if(this[_0x558336(0x246)]['destroyed']){const _0x2ce528=new Error(_0x558336(0x1d1));process[_0x558336(0x1a0)](_0x25da65,this,_0x2ce528,_0xfc7109);return;}this[_0x558336(0x127)]-=_0x4c5d8d[_0x146749];const _0x591597=_0x420c22(_0x4dd1bf);_0x37eed4?this[_0x558336(0x153)](_0x591597,_0x37eed4,_0x4c5d8d,_0xfc7109):(this[_0x558336(0x16b)]=_0x51d985,this[_0x558336(0x20c)](_0x464e46[_0x558336(0x26e)](_0x591597,_0x4c5d8d),_0xfc7109),this[_0x558336(0x1a6)]());})['catch'](_0x1ef3a5=>{process['nextTick'](_0xdf1410,this,_0x1ef3a5,_0xfc7109);});}[_0x34a807(0x153)](_0x583fe7,_0x525952,_0x309d38,_0x357aa0){const _0x99111c=_0x34a807;if(!_0x525952){this[_0x99111c(0x20c)](_0x464e46['frame'](_0x583fe7,_0x309d38),_0x357aa0);return;}const _0x193245=this[_0x99111c(0xfc)][_0x2b7032['extensionName']];this[_0x99111c(0x127)]+=_0x309d38[_0x146749],this['_state']=_0x2d25bc,_0x193245[_0x99111c(0x168)](_0x583fe7,_0x309d38[_0x99111c(0x1ef)],(_0xbd13e5,_0x3d3d39)=>{const _0x41fdc3=_0x99111c;if(this['_socket'][_0x41fdc3(0xc8)]){const _0x5948f2=new Error(_0x41fdc3(0x260));_0x25da65(this,_0x5948f2,_0x357aa0);return;}this['_bufferedBytes']-=_0x309d38[_0x146749],this[_0x41fdc3(0x16b)]=_0x51d985,_0x309d38[_0x41fdc3(0x1f0)]=!0x1,this[_0x41fdc3(0x20c)](_0x464e46['frame'](_0x3d3d39,_0x309d38),_0x357aa0),this['dequeue']();});}[_0x34a807(0x1a6)](){const _0x2262d0=_0x34a807;for(;this[_0x2262d0(0x16b)]===_0x51d985&&this[_0x2262d0(0x24b)][_0x2262d0(0x21d)];){const _0x36ee68=this['_queue'][_0x2262d0(0x1f9)]();this[_0x2262d0(0x127)]-=_0x36ee68[0x3][_0x146749],Reflect['apply'](_0x36ee68[0x0],this,_0x36ee68[_0x2262d0(0x271)](0x1));}}[_0x34a807(0x12a)](_0x1eec0e){const _0x4da2ba=_0x34a807;this[_0x4da2ba(0x127)]+=_0x1eec0e[0x3][_0x146749],this[_0x4da2ba(0x24b)]['push'](_0x1eec0e);}[_0x34a807(0x20c)](_0x3cf01e,_0x3c59cd){const _0x5965bd=_0x34a807;_0x3cf01e[_0x5965bd(0x21d)]===0x2?(this[_0x5965bd(0x246)]['cork'](),this['_socket']['write'](_0x3cf01e[0x0]),this[_0x5965bd(0x246)][_0x5965bd(0x19c)](_0x3cf01e[0x1],_0x3c59cd),this['_socket'][_0x5965bd(0x1eb)]()):this[_0x5965bd(0x246)][_0x5965bd(0x19c)](_0x3cf01e[0x0],_0x3c59cd);}}Ee=_0x464e46;function _0x25da65(_0x41ff48,_0x3d5827,_0x23d15d){const _0x1aa534=_0x34a807;typeof _0x23d15d==_0x1aa534(0x12c)&&_0x23d15d(_0x3d5827);for(let _0x2bed4d=0x0;_0x2bed4d<_0x41ff48[_0x1aa534(0x24b)][_0x1aa534(0x21d)];_0x2bed4d++){const _0xcb5fc1=_0x41ff48[_0x1aa534(0x24b)][_0x2bed4d],_0xb8a863=_0xcb5fc1[_0xcb5fc1[_0x1aa534(0x21d)]-0x1];typeof _0xb8a863==_0x1aa534(0x12c)&&_0xb8a863(_0x3d5827);}}function _0xdf1410(_0x12d92b,_0x3a755e,_0x3f0d2b){const _0x2c72ba=_0x34a807;_0x25da65(_0x12d92b,_0x3a755e,_0x3f0d2b),_0x12d92b[_0x2c72ba(0x1e6)](_0x3a755e);}return Ee;}var xe,Ze;function It(){const _0x36d034=_0x32b16e;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x1c6f38,kListener:_0x4cab05}=H(),_0x3f788d=Symbol(_0x36d034(0x11e)),_0x3c1a8a=Symbol(_0x36d034(0x18b)),_0x4abc95=Symbol(_0x36d034(0x109)),_0x44abdf=Symbol(_0x36d034(0x182)),_0x53c2b2=Symbol(_0x36d034(0x1c2)),_0x5b716a=Symbol(_0x36d034(0x13d)),_0x7fe5a4=Symbol('kType'),_0x449892=Symbol(_0x36d034(0x1c4));class _0x8aaee2{constructor(_0x2a21ae){this[_0x5b716a]=null,this[_0x7fe5a4]=_0x2a21ae;}get[_0x36d034(0x181)](){return this[_0x5b716a];}get[_0x36d034(0xd1)](){return this[_0x7fe5a4];}}Object[_0x36d034(0x108)](_0x8aaee2['prototype'],_0x36d034(0x181),{'enumerable':!0x0}),Object[_0x36d034(0x108)](_0x8aaee2[_0x36d034(0xec)],_0x36d034(0xd1),{'enumerable':!0x0});class _0x5f16eb extends _0x8aaee2{constructor(_0x30d6bf,_0x4f4cb0={}){const _0x3af36f=_0x36d034;super(_0x30d6bf),this[_0x3f788d]=_0x4f4cb0[_0x3af36f(0x22f)]===void 0x0?0x0:_0x4f4cb0[_0x3af36f(0x22f)],this[_0x53c2b2]=_0x4f4cb0[_0x3af36f(0x199)]===void 0x0?'':_0x4f4cb0[_0x3af36f(0x199)],this[_0x449892]=_0x4f4cb0[_0x3af36f(0x138)]===void 0x0?!0x1:_0x4f4cb0[_0x3af36f(0x138)];}get[_0x36d034(0x22f)](){return this[_0x3f788d];}get['reason'](){return this[_0x53c2b2];}get[_0x36d034(0x138)](){return this[_0x449892];}}Object['defineProperty'](_0x5f16eb[_0x36d034(0xec)],_0x36d034(0x22f),{'enumerable':!0x0}),Object[_0x36d034(0x108)](_0x5f16eb[_0x36d034(0xec)],'reason',{'enumerable':!0x0}),Object['defineProperty'](_0x5f16eb[_0x36d034(0xec)],_0x36d034(0x138),{'enumerable':!0x0});class _0x47998d extends _0x8aaee2{constructor(_0xcdecb2,_0x1941a8={}){const _0x4afc34=_0x36d034;super(_0xcdecb2),this[_0x4abc95]=_0x1941a8[_0x4afc34(0x144)]===void 0x0?null:_0x1941a8['error'],this[_0x44abdf]=_0x1941a8['message']===void 0x0?'':_0x1941a8[_0x4afc34(0xd0)];}get[_0x36d034(0x144)](){return this[_0x4abc95];}get[_0x36d034(0xd0)](){return this[_0x44abdf];}}Object[_0x36d034(0x108)](_0x47998d['prototype'],_0x36d034(0x144),{'enumerable':!0x0}),Object['defineProperty'](_0x47998d[_0x36d034(0xec)],'message',{'enumerable':!0x0});class _0x35550d extends _0x8aaee2{constructor(_0x3b8809,_0x31820d={}){const _0x55c6aa=_0x36d034;super(_0x3b8809),this[_0x3c1a8a]=_0x31820d[_0x55c6aa(0x131)]===void 0x0?null:_0x31820d[_0x55c6aa(0x131)];}get[_0x36d034(0x131)](){return this[_0x3c1a8a];}}Object[_0x36d034(0x108)](_0x35550d[_0x36d034(0xec)],_0x36d034(0x131),{'enumerable':!0x0}),xe={'CloseEvent':_0x5f16eb,'ErrorEvent':_0x47998d,'Event':_0x8aaee2,'EventTarget':{'addEventListener'(_0x5d8cee,_0x51c933,_0x41b84e={}){const _0x5c0e42=_0x36d034;for(const _0x58d4d4 of this[_0x5c0e42(0x1a4)](_0x5d8cee))if(!_0x41b84e[_0x1c6f38]&&_0x58d4d4[_0x4cab05]===_0x51c933&&!_0x58d4d4[_0x1c6f38])return;let _0x4dd198;if(_0x5d8cee===_0x5c0e42(0xd0))_0x4dd198=function(_0x708d1c,_0x594545){const _0x46f37e=_0x5c0e42,_0x3c9642=new _0x35550d(_0x46f37e(0xd0),{'data':_0x594545?_0x708d1c:_0x708d1c['toString']()});_0x3c9642[_0x5b716a]=this,_0x2a8cf3(_0x51c933,this,_0x3c9642);};else{if(_0x5d8cee===_0x5c0e42(0x16e))_0x4dd198=function(_0x2262b1,_0x452356){const _0x221d02=_0x5c0e42,_0xa5b0ae=new _0x5f16eb(_0x221d02(0x16e),{'code':_0x2262b1,'reason':_0x452356[_0x221d02(0xe8)](),'wasClean':this[_0x221d02(0x247)]&&this[_0x221d02(0x1d7)]});_0xa5b0ae[_0x5b716a]=this,_0x2a8cf3(_0x51c933,this,_0xa5b0ae);};else{if(_0x5d8cee===_0x5c0e42(0x144))_0x4dd198=function(_0x559d50){const _0xa0718a=_0x5c0e42,_0x49972e=new _0x47998d('error',{'error':_0x559d50,'message':_0x559d50[_0xa0718a(0xd0)]});_0x49972e[_0x5b716a]=this,_0x2a8cf3(_0x51c933,this,_0x49972e);};else{if(_0x5d8cee===_0x5c0e42(0x1ec))_0x4dd198=function(){const _0x44cbd6=_0x5c0e42,_0x4b08de=new _0x8aaee2(_0x44cbd6(0x1ec));_0x4b08de[_0x5b716a]=this,_0x2a8cf3(_0x51c933,this,_0x4b08de);};else return;}}}_0x4dd198[_0x1c6f38]=!!_0x41b84e[_0x1c6f38],_0x4dd198[_0x4cab05]=_0x51c933,_0x41b84e[_0x5c0e42(0x120)]?this['once'](_0x5d8cee,_0x4dd198):this['on'](_0x5d8cee,_0x4dd198);},'removeEventListener'(_0x749a30,_0x3a6d6c){const _0x5bda7f=_0x36d034;for(const _0x14df14 of this[_0x5bda7f(0x1a4)](_0x749a30))if(_0x14df14[_0x4cab05]===_0x3a6d6c&&!_0x14df14[_0x1c6f38]){this[_0x5bda7f(0x148)](_0x749a30,_0x14df14);break;}}},'MessageEvent':_0x35550d};function _0x2a8cf3(_0x19f3a1,_0x44161d,_0x81fdeb){const _0x23fb0a=_0x36d034;typeof _0x19f3a1=='object'&&_0x19f3a1[_0x23fb0a(0x18f)]?_0x19f3a1[_0x23fb0a(0x18f)][_0x23fb0a(0x214)](_0x19f3a1,_0x81fdeb):_0x19f3a1[_0x23fb0a(0x214)](_0x44161d,_0x81fdeb);}return xe;}function _0x4d1b(_0x4db7d4,_0x4a6e45){const _0x3d16c6=_0x3d16();return _0x4d1b=function(_0x4d1b0e,_0x3627ad){_0x4d1b0e=_0x4d1b0e-0xc3;let _0x44d736=_0x3d16c6[_0x4d1b0e];return _0x44d736;},_0x4d1b(_0x4db7d4,_0x4a6e45);}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x4786b7}=ae();function _0x24e214(_0x403e33,_0x3df2b1,_0x5da7e6){const _0x176012=_0x4d1b;_0x403e33[_0x3df2b1]===void 0x0?_0x403e33[_0x3df2b1]=[_0x5da7e6]:_0x403e33[_0x3df2b1][_0x176012(0x160)](_0x5da7e6);}function _0x2c8b33(_0x50f283){const _0x24e71d=_0x4d1b,_0x40e9ec=Object[_0x24e71d(0x243)](null);let _0x9b9823=Object[_0x24e71d(0x243)](null),_0x2c3577=!0x1,_0x264e60=!0x1,_0x5276a2=!0x1,_0x1a1a40,_0x517615,_0x306e5a=-0x1,_0xdde907=-0x1,_0x4c38c5=-0x1,_0x4c5165=0x0;for(;_0x4c5165<_0x50f283[_0x24e71d(0x21d)];_0x4c5165++)if(_0xdde907=_0x50f283[_0x24e71d(0x146)](_0x4c5165),_0x1a1a40===void 0x0){if(_0x4c38c5===-0x1&&_0x4786b7[_0xdde907]===0x1)_0x306e5a===-0x1&&(_0x306e5a=_0x4c5165);else{if(_0x4c5165!==0x0&&(_0xdde907===0x20||_0xdde907===0x9))_0x4c38c5===-0x1&&_0x306e5a!==-0x1&&(_0x4c38c5=_0x4c5165);else{if(_0xdde907===0x3b||_0xdde907===0x2c){if(_0x306e5a===-0x1)throw new SyntaxError(_0x24e71d(0x16a)+_0x4c5165);_0x4c38c5===-0x1&&(_0x4c38c5=_0x4c5165);const _0x539670=_0x50f283[_0x24e71d(0x271)](_0x306e5a,_0x4c38c5);_0xdde907===0x2c?(_0x24e214(_0x40e9ec,_0x539670,_0x9b9823),_0x9b9823=Object['create'](null)):_0x1a1a40=_0x539670,_0x306e5a=_0x4c38c5=-0x1;}else throw new SyntaxError(_0x24e71d(0x16a)+_0x4c5165);}}}else{if(_0x517615===void 0x0){if(_0x4c38c5===-0x1&&_0x4786b7[_0xdde907]===0x1)_0x306e5a===-0x1&&(_0x306e5a=_0x4c5165);else{if(_0xdde907===0x20||_0xdde907===0x9)_0x4c38c5===-0x1&&_0x306e5a!==-0x1&&(_0x4c38c5=_0x4c5165);else{if(_0xdde907===0x3b||_0xdde907===0x2c){if(_0x306e5a===-0x1)throw new SyntaxError(_0x24e71d(0x16a)+_0x4c5165);_0x4c38c5===-0x1&&(_0x4c38c5=_0x4c5165),_0x24e214(_0x9b9823,_0x50f283['slice'](_0x306e5a,_0x4c38c5),!0x0),_0xdde907===0x2c&&(_0x24e214(_0x40e9ec,_0x1a1a40,_0x9b9823),_0x9b9823=Object[_0x24e71d(0x243)](null),_0x1a1a40=void 0x0),_0x306e5a=_0x4c38c5=-0x1;}else{if(_0xdde907===0x3d&&_0x306e5a!==-0x1&&_0x4c38c5===-0x1)_0x517615=_0x50f283[_0x24e71d(0x271)](_0x306e5a,_0x4c5165),_0x306e5a=_0x4c38c5=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4c5165);}}}}else{if(_0x264e60){if(_0x4786b7[_0xdde907]!==0x1)throw new SyntaxError(_0x24e71d(0x16a)+_0x4c5165);_0x306e5a===-0x1?_0x306e5a=_0x4c5165:_0x2c3577||(_0x2c3577=!0x0),_0x264e60=!0x1;}else{if(_0x5276a2){if(_0x4786b7[_0xdde907]===0x1)_0x306e5a===-0x1&&(_0x306e5a=_0x4c5165);else{if(_0xdde907===0x22&&_0x306e5a!==-0x1)_0x5276a2=!0x1,_0x4c38c5=_0x4c5165;else{if(_0xdde907===0x5c)_0x264e60=!0x0;else throw new SyntaxError(_0x24e71d(0x16a)+_0x4c5165);}}}else{if(_0xdde907===0x22&&_0x50f283[_0x24e71d(0x146)](_0x4c5165-0x1)===0x3d)_0x5276a2=!0x0;else{if(_0x4c38c5===-0x1&&_0x4786b7[_0xdde907]===0x1)_0x306e5a===-0x1&&(_0x306e5a=_0x4c5165);else{if(_0x306e5a!==-0x1&&(_0xdde907===0x20||_0xdde907===0x9))_0x4c38c5===-0x1&&(_0x4c38c5=_0x4c5165);else{if(_0xdde907===0x3b||_0xdde907===0x2c){if(_0x306e5a===-0x1)throw new SyntaxError(_0x24e71d(0x16a)+_0x4c5165);_0x4c38c5===-0x1&&(_0x4c38c5=_0x4c5165);let _0x56fa41=_0x50f283[_0x24e71d(0x271)](_0x306e5a,_0x4c38c5);_0x2c3577&&(_0x56fa41=_0x56fa41['replace'](/\\/g,''),_0x2c3577=!0x1),_0x24e214(_0x9b9823,_0x517615,_0x56fa41),_0xdde907===0x2c&&(_0x24e214(_0x40e9ec,_0x1a1a40,_0x9b9823),_0x9b9823=Object[_0x24e71d(0x243)](null),_0x1a1a40=void 0x0),_0x517615=void 0x0,_0x306e5a=_0x4c38c5=-0x1;}else throw new SyntaxError(_0x24e71d(0x16a)+_0x4c5165);}}}}}}}if(_0x306e5a===-0x1||_0x5276a2||_0xdde907===0x20||_0xdde907===0x9)throw new SyntaxError(_0x24e71d(0x14c));_0x4c38c5===-0x1&&(_0x4c38c5=_0x4c5165);const _0x1bcad3=_0x50f283[_0x24e71d(0x271)](_0x306e5a,_0x4c38c5);return _0x1a1a40===void 0x0?_0x24e214(_0x40e9ec,_0x1bcad3,_0x9b9823):(_0x517615===void 0x0?_0x24e214(_0x9b9823,_0x1bcad3,!0x0):_0x2c3577?_0x24e214(_0x9b9823,_0x517615,_0x1bcad3[_0x24e71d(0x225)](/\\/g,'')):_0x24e214(_0x9b9823,_0x517615,_0x1bcad3),_0x24e214(_0x40e9ec,_0x1a1a40,_0x9b9823)),_0x40e9ec;}function _0x18ed0f(_0x134048){const _0x4df25d=_0x4d1b;return Object[_0x4df25d(0x14e)](_0x134048)[_0x4df25d(0x256)](_0x14461e=>{const _0x1ca699=_0x4df25d;let _0x4b44b7=_0x134048[_0x14461e];return Array[_0x1ca699(0xcc)](_0x4b44b7)||(_0x4b44b7=[_0x4b44b7]),_0x4b44b7[_0x1ca699(0x256)](_0x4d1f4f=>[_0x14461e]['concat'](Object[_0x1ca699(0x14e)](_0x4d1f4f)[_0x1ca699(0x256)](_0x2f3dfb=>{const _0x56eae3=_0x1ca699;let _0x5aa4f5=_0x4d1f4f[_0x2f3dfb];return Array[_0x56eae3(0xcc)](_0x5aa4f5)||(_0x5aa4f5=[_0x5aa4f5]),_0x5aa4f5[_0x56eae3(0x256)](_0x1b3244=>_0x1b3244===!0x0?_0x2f3dfb:_0x2f3dfb+'='+_0x1b3244)['join'](';\x20');}))[_0x1ca699(0x1d9)](';\x20'))[_0x1ca699(0x1d9)](',\x20');})[_0x4df25d(0x1d9)](',\x20');}return be={'format':_0x18ed0f,'parse':_0x2c8b33},be;}var we,Je;function Pe(){const _0x5e91ca=_0x32b16e;if(Je)return we;Je=0x1;const _0x440d2d=nt,_0x4fd02c=vt,_0x2f5656=ot,_0x974e84=St,_0x469b82=Et,{randomBytes:_0x27bf7f,createHash:_0x4ceff5}=Le,{Duplex:_0x27a5b6,Readable:_0x364bf3}=oe,{URL:_0x1aece8}=xt,_0x17f681=he(),_0x2de2e0=lt(),_0x41545e=ft(),{isBlob:_0x4dc0d5}=ae(),{BINARY_TYPES:_0x2c0ae7,EMPTY_BUFFER:_0x5353ab,GUID:_0xf1c667,kForOnEventAttribute:_0x107d86,kListener:_0x29c1d3,kStatusCode:_0xebaed4,kWebSocket:_0x3f5ac3,NOOP:_0x59176f}=H(),{EventTarget:{addEventListener:_0x8feceb,removeEventListener:_0x3a7a9f}}=It(),{format:_0x547da0,parse:_0x85f877}=ct(),{toBuffer:_0x2e0788}=ce(),_0x5c9fb7=0x1e*0x3e8,_0xc20304=Symbol(_0x5e91ca(0xf8)),_0x3842eb=[0x8,0xd],_0x313e9a=['CONNECTING',_0x5e91ca(0xc3),_0x5e91ca(0x128),'CLOSED'],_0x1bd022=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2dfe5d extends _0x440d2d{constructor(_0x2dcd48,_0x562738,_0x2fd55d){const _0x2989b4=_0x5e91ca;super(),this[_0x2989b4(0xee)]=_0x2c0ae7[0x0],this[_0x2989b4(0x208)]=0x3ee,this[_0x2989b4(0x247)]=!0x1,this[_0x2989b4(0x1d7)]=!0x1,this['_closeMessage']=_0x5353ab,this[_0x2989b4(0x177)]=null,this[_0x2989b4(0x170)]=!0x1,this[_0x2989b4(0xfc)]={},this[_0x2989b4(0x212)]=!0x1,this[_0x2989b4(0x15d)]='',this[_0x2989b4(0x1ba)]=_0x2dfe5d[_0x2989b4(0x1b5)],this[_0x2989b4(0x23d)]=null,this[_0x2989b4(0x207)]=null,this[_0x2989b4(0x246)]=null,_0x2dcd48!==null?(this[_0x2989b4(0x1de)]=0x0,this[_0x2989b4(0x183)]=!0x1,this[_0x2989b4(0xdd)]=0x0,_0x562738===void 0x0?_0x562738=[]:Array[_0x2989b4(0xcc)](_0x562738)||(typeof _0x562738=='object'&&_0x562738!==null?(_0x2fd55d=_0x562738,_0x562738=[]):_0x562738=[_0x562738]),_0x5833b0(this,_0x2dcd48,_0x562738,_0x2fd55d)):(this['_autoPong']=_0x2fd55d[_0x2989b4(0x154)],this['_isServer']=!0x0);}get[_0x5e91ca(0x14a)](){const _0x11ce12=_0x5e91ca;return this[_0x11ce12(0xee)];}set['binaryType'](_0x43660b){const _0x33f90b=_0x5e91ca;_0x2c0ae7[_0x33f90b(0x169)](_0x43660b)&&(this[_0x33f90b(0xee)]=_0x43660b,this[_0x33f90b(0x23d)]&&(this['_receiver']['_binaryType']=_0x43660b));}get['bufferedAmount'](){const _0x4fd4e6=_0x5e91ca;return this[_0x4fd4e6(0x246)]?this['_socket'][_0x4fd4e6(0xd6)][_0x4fd4e6(0x21d)]+this[_0x4fd4e6(0x207)][_0x4fd4e6(0x127)]:this[_0x4fd4e6(0x1de)];}get[_0x5e91ca(0x187)](){const _0x72572d=_0x5e91ca;return Object[_0x72572d(0x14e)](this[_0x72572d(0xfc)])['join']();}get[_0x5e91ca(0x1b7)](){return this['_paused'];}get[_0x5e91ca(0x268)](){return null;}get['onerror'](){return null;}get[_0x5e91ca(0x26c)](){return null;}get['onmessage'](){return null;}get['protocol'](){const _0x2dc224=_0x5e91ca;return this[_0x2dc224(0x15d)];}get[_0x5e91ca(0x201)](){const _0x39d650=_0x5e91ca;return this[_0x39d650(0x1ba)];}get[_0x5e91ca(0x18a)](){return this['_url'];}[_0x5e91ca(0xef)](_0x5bfe30,_0x428faf,_0x45e297){const _0x40228f=_0x5e91ca,_0x4d62e4=new _0x2de2e0({'allowSynchronousEvents':_0x45e297[_0x40228f(0x1ce)],'binaryType':this[_0x40228f(0x14a)],'extensions':this[_0x40228f(0xfc)],'isServer':this[_0x40228f(0x183)],'maxPayload':_0x45e297['maxPayload'],'skipUTF8Validation':_0x45e297['skipUTF8Validation']}),_0x370a82=new _0x41545e(_0x5bfe30,this[_0x40228f(0xfc)],_0x45e297[_0x40228f(0x257)]);this[_0x40228f(0x23d)]=_0x4d62e4,this[_0x40228f(0x207)]=_0x370a82,this[_0x40228f(0x246)]=_0x5bfe30,_0x4d62e4[_0x3f5ac3]=this,_0x370a82[_0x3f5ac3]=this,_0x5bfe30[_0x3f5ac3]=this,_0x4d62e4['on']('conclude',_0x447929),_0x4d62e4['on'](_0x40228f(0x116),_0x292d8f),_0x4d62e4['on'](_0x40228f(0x144),_0x527a32),_0x4d62e4['on']('message',_0x29b6cc),_0x4d62e4['on'](_0x40228f(0x273),_0x2c1f71),_0x4d62e4['on'](_0x40228f(0x23b),_0x549dc3),_0x370a82['onerror']=_0x3d77c9,_0x5bfe30['setTimeout']&&_0x5bfe30['setTimeout'](0x0),_0x5bfe30[_0x40228f(0x21c)]&&_0x5bfe30[_0x40228f(0x21c)](),_0x428faf['length']>0x0&&_0x5bfe30['unshift'](_0x428faf),_0x5bfe30['on'](_0x40228f(0x16e),_0x51f29a),_0x5bfe30['on'](_0x40228f(0x131),_0x56f027),_0x5bfe30['on'](_0x40228f(0xff),_0x1ec151),_0x5bfe30['on'](_0x40228f(0x144),_0x41bea4),this[_0x40228f(0x1ba)]=_0x2dfe5d[_0x40228f(0xc3)],this['emit'](_0x40228f(0x1ec));}['emitClose'](){const _0x8b2183=_0x5e91ca;if(!this[_0x8b2183(0x246)]){this['_readyState']=_0x2dfe5d[_0x8b2183(0x117)],this[_0x8b2183(0x16f)](_0x8b2183(0x16e),this[_0x8b2183(0x208)],this[_0x8b2183(0x196)]);return;}this[_0x8b2183(0xfc)][_0x17f681[_0x8b2183(0x121)]]&&this['_extensions'][_0x17f681[_0x8b2183(0x121)]][_0x8b2183(0x24e)](),this[_0x8b2183(0x23d)]['removeAllListeners'](),this[_0x8b2183(0x1ba)]=_0x2dfe5d['CLOSED'],this['emit'](_0x8b2183(0x16e),this[_0x8b2183(0x208)],this[_0x8b2183(0x196)]);}[_0x5e91ca(0x16e)](_0x3861d6,_0x3240b3){const _0x15f0b3=_0x5e91ca;if(this[_0x15f0b3(0x201)]!==_0x2dfe5d[_0x15f0b3(0x117)]){if(this[_0x15f0b3(0x201)]===_0x2dfe5d['CONNECTING']){_0x3c9665(this,this[_0x15f0b3(0x17b)],_0x15f0b3(0xce));return;}if(this['readyState']===_0x2dfe5d['CLOSING']){this[_0x15f0b3(0x1d7)]&&(this[_0x15f0b3(0x247)]||this['_receiver'][_0x15f0b3(0xd6)][_0x15f0b3(0x210)])&&this[_0x15f0b3(0x246)][_0x15f0b3(0xff)]();return;}this[_0x15f0b3(0x1ba)]=_0x2dfe5d[_0x15f0b3(0x128)],this[_0x15f0b3(0x207)]['close'](_0x3861d6,_0x3240b3,!this['_isServer'],_0x11ae91=>{const _0x57dca9=_0x15f0b3;_0x11ae91||(this[_0x57dca9(0x1d7)]=!0x0,(this[_0x57dca9(0x247)]||this[_0x57dca9(0x23d)][_0x57dca9(0xd6)][_0x57dca9(0x210)])&&this[_0x57dca9(0x246)][_0x57dca9(0xff)]());}),_0x51df33(this);}}[_0x5e91ca(0x12e)](){const _0x400f37=_0x5e91ca;this[_0x400f37(0x201)]===_0x2dfe5d['CONNECTING']||this[_0x400f37(0x201)]===_0x2dfe5d[_0x400f37(0x117)]||(this[_0x400f37(0x212)]=!0x0,this[_0x400f37(0x246)]['pause']());}[_0x5e91ca(0x273)](_0x2a595b,_0x53bc59,_0x372254){const _0x10da0c=_0x5e91ca;if(this[_0x10da0c(0x201)]===_0x2dfe5d[_0x10da0c(0x1b5)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x2a595b==_0x10da0c(0x12c)?(_0x372254=_0x2a595b,_0x2a595b=_0x53bc59=void 0x0):typeof _0x53bc59==_0x10da0c(0x12c)&&(_0x372254=_0x53bc59,_0x53bc59=void 0x0),typeof _0x2a595b=='number'&&(_0x2a595b=_0x2a595b['toString']()),this['readyState']!==_0x2dfe5d[_0x10da0c(0xc3)]){_0x2a7143(this,_0x2a595b,_0x372254);return;}_0x53bc59===void 0x0&&(_0x53bc59=!this[_0x10da0c(0x183)]),this[_0x10da0c(0x207)]['ping'](_0x2a595b||_0x5353ab,_0x53bc59,_0x372254);}[_0x5e91ca(0x23b)](_0x3c4d0c,_0x2c02c2,_0x300ad0){const _0x326c71=_0x5e91ca;if(this[_0x326c71(0x201)]===_0x2dfe5d[_0x326c71(0x1b5)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3c4d0c==_0x326c71(0x12c)?(_0x300ad0=_0x3c4d0c,_0x3c4d0c=_0x2c02c2=void 0x0):typeof _0x2c02c2==_0x326c71(0x12c)&&(_0x300ad0=_0x2c02c2,_0x2c02c2=void 0x0),typeof _0x3c4d0c==_0x326c71(0x145)&&(_0x3c4d0c=_0x3c4d0c[_0x326c71(0xe8)]()),this[_0x326c71(0x201)]!==_0x2dfe5d[_0x326c71(0xc3)]){_0x2a7143(this,_0x3c4d0c,_0x300ad0);return;}_0x2c02c2===void 0x0&&(_0x2c02c2=!this[_0x326c71(0x183)]),this[_0x326c71(0x207)]['pong'](_0x3c4d0c||_0x5353ab,_0x2c02c2,_0x300ad0);}[_0x5e91ca(0x141)](){const _0x2e88cc=_0x5e91ca;this['readyState']===_0x2dfe5d[_0x2e88cc(0x1b5)]||this[_0x2e88cc(0x201)]===_0x2dfe5d[_0x2e88cc(0x117)]||(this[_0x2e88cc(0x212)]=!0x1,this[_0x2e88cc(0x23d)][_0x2e88cc(0xd6)][_0x2e88cc(0x1f2)]||this['_socket'][_0x2e88cc(0x141)]());}[_0x5e91ca(0x151)](_0x381f76,_0x1de9b1,_0x30e5d5){const _0x209835=_0x5e91ca;if(this['readyState']===_0x2dfe5d['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x1de9b1==_0x209835(0x12c)&&(_0x30e5d5=_0x1de9b1,_0x1de9b1={}),typeof _0x381f76==_0x209835(0x145)&&(_0x381f76=_0x381f76[_0x209835(0xe8)]()),this['readyState']!==_0x2dfe5d['OPEN']){_0x2a7143(this,_0x381f76,_0x30e5d5);return;}const _0x94b0cd={'binary':typeof _0x381f76!='string','mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x1de9b1};this['_extensions'][_0x17f681[_0x209835(0x121)]]||(_0x94b0cd[_0x209835(0x168)]=!0x1),this['_sender'][_0x209835(0x151)](_0x381f76||_0x5353ab,_0x94b0cd,_0x30e5d5);}[_0x5e91ca(0x103)](){const _0x3c5437=_0x5e91ca;if(this[_0x3c5437(0x201)]!==_0x2dfe5d['CLOSED']){if(this[_0x3c5437(0x201)]===_0x2dfe5d[_0x3c5437(0x1b5)]){_0x3c9665(this,this[_0x3c5437(0x17b)],_0x3c5437(0xce));return;}this[_0x3c5437(0x246)]&&(this[_0x3c5437(0x1ba)]=_0x2dfe5d[_0x3c5437(0x128)],this[_0x3c5437(0x246)][_0x3c5437(0x24d)]());}}}Object[_0x5e91ca(0x108)](_0x2dfe5d,_0x5e91ca(0x1b5),{'enumerable':!0x0,'value':_0x313e9a['indexOf'](_0x5e91ca(0x1b5))}),Object['defineProperty'](_0x2dfe5d[_0x5e91ca(0xec)],_0x5e91ca(0x1b5),{'enumerable':!0x0,'value':_0x313e9a[_0x5e91ca(0x1e4)](_0x5e91ca(0x1b5))}),Object[_0x5e91ca(0x108)](_0x2dfe5d,_0x5e91ca(0xc3),{'enumerable':!0x0,'value':_0x313e9a[_0x5e91ca(0x1e4)](_0x5e91ca(0xc3))}),Object['defineProperty'](_0x2dfe5d[_0x5e91ca(0xec)],_0x5e91ca(0xc3),{'enumerable':!0x0,'value':_0x313e9a[_0x5e91ca(0x1e4)]('OPEN')}),Object[_0x5e91ca(0x108)](_0x2dfe5d,_0x5e91ca(0x128),{'enumerable':!0x0,'value':_0x313e9a['indexOf'](_0x5e91ca(0x128))}),Object[_0x5e91ca(0x108)](_0x2dfe5d['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0x313e9a['indexOf'](_0x5e91ca(0x128))}),Object[_0x5e91ca(0x108)](_0x2dfe5d,_0x5e91ca(0x117),{'enumerable':!0x0,'value':_0x313e9a[_0x5e91ca(0x1e4)](_0x5e91ca(0x117))}),Object['defineProperty'](_0x2dfe5d[_0x5e91ca(0xec)],_0x5e91ca(0x117),{'enumerable':!0x0,'value':_0x313e9a[_0x5e91ca(0x1e4)](_0x5e91ca(0x117))}),[_0x5e91ca(0x14a),_0x5e91ca(0xdf),'extensions',_0x5e91ca(0x1b7),_0x5e91ca(0x1f5),_0x5e91ca(0x201),_0x5e91ca(0x18a)][_0x5e91ca(0x1f1)](_0x27bc00=>{const _0x7af4cd=_0x5e91ca;Object[_0x7af4cd(0x108)](_0x2dfe5d['prototype'],_0x27bc00,{'enumerable':!0x0});}),[_0x5e91ca(0x1ec),_0x5e91ca(0x144),_0x5e91ca(0x16e),_0x5e91ca(0xd0)]['forEach'](_0x5270bc=>{const _0x5d6470=_0x5e91ca;Object[_0x5d6470(0x108)](_0x2dfe5d['prototype'],'on'+_0x5270bc,{'enumerable':!0x0,'get'(){const _0x4218c3=_0x5d6470;for(const _0x34fb3c of this[_0x4218c3(0x1a4)](_0x5270bc))if(_0x34fb3c[_0x107d86])return _0x34fb3c[_0x29c1d3];return null;},'set'(_0x5ddd57){const _0x35922f=_0x5d6470;for(const _0x4645c3 of this[_0x35922f(0x1a4)](_0x5270bc))if(_0x4645c3[_0x107d86]){this[_0x35922f(0x148)](_0x5270bc,_0x4645c3);break;}typeof _0x5ddd57==_0x35922f(0x12c)&&this['addEventListener'](_0x5270bc,_0x5ddd57,{[_0x107d86]:!0x0});}});}),_0x2dfe5d[_0x5e91ca(0xec)][_0x5e91ca(0x22a)]=_0x8feceb,_0x2dfe5d[_0x5e91ca(0xec)]['removeEventListener']=_0x3a7a9f,we=_0x2dfe5d;function _0x5833b0(_0x3a1136,_0x53b183,_0x5ec914,_0x1d67a7){const _0x42b00f=_0x5e91ca,_0x446678={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3842eb[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1d67a7,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x42b00f(0x126),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3a1136[_0x42b00f(0x1c1)]=_0x446678[_0x42b00f(0x154)],!_0x3842eb[_0x42b00f(0x169)](_0x446678[_0x42b00f(0x1e0)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x446678[_0x42b00f(0x1e0)]+_0x42b00f(0x1bf)+_0x3842eb[_0x42b00f(0x1d9)](',\x20')+')');let _0x3d7f8a;if(_0x53b183 instanceof _0x1aece8)_0x3d7f8a=_0x53b183;else try{_0x3d7f8a=new _0x1aece8(_0x53b183);}catch{throw new SyntaxError(_0x42b00f(0x272)+_0x53b183);}_0x3d7f8a[_0x42b00f(0x1f5)]===_0x42b00f(0x20a)?_0x3d7f8a[_0x42b00f(0x1f5)]=_0x42b00f(0x1d6):_0x3d7f8a[_0x42b00f(0x1f5)]===_0x42b00f(0x15a)&&(_0x3d7f8a[_0x42b00f(0x1f5)]=_0x42b00f(0xf3)),_0x3a1136[_0x42b00f(0x104)]=_0x3d7f8a[_0x42b00f(0x22c)];const _0x40ef48=_0x3d7f8a[_0x42b00f(0x1f5)]===_0x42b00f(0xf3),_0x3bca0d=_0x3d7f8a[_0x42b00f(0x1f5)]===_0x42b00f(0x140);let _0x3e4eaa;if(_0x3d7f8a['protocol']!==_0x42b00f(0x1d6)&&!_0x40ef48&&!_0x3bca0d?_0x3e4eaa=_0x42b00f(0x119):_0x3bca0d&&!_0x3d7f8a['pathname']?_0x3e4eaa=_0x42b00f(0x191):_0x3d7f8a['hash']&&(_0x3e4eaa='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x3e4eaa){const _0x103e32=new SyntaxError(_0x3e4eaa);if(_0x3a1136[_0x42b00f(0xdd)]===0x0)throw _0x103e32;_0x3f8354(_0x3a1136,_0x103e32);return;}const _0x209ecd=_0x40ef48?0x1bb:0x50,_0x2d8d63=_0x27bf7f(0x10)[_0x42b00f(0xe8)](_0x42b00f(0x24f)),_0x3c610e=_0x40ef48?_0x4fd02c[_0x42b00f(0x23c)]:_0x2f5656[_0x42b00f(0x23c)],_0x58385c=new Set();let _0x580bf4;if(_0x446678['createConnection']=_0x446678[_0x42b00f(0x11b)]||(_0x40ef48?_0x376a1e:_0x625541),_0x446678['defaultPort']=_0x446678[_0x42b00f(0x241)]||_0x209ecd,_0x446678[_0x42b00f(0x1a1)]=_0x3d7f8a['port']||_0x209ecd,_0x446678[_0x42b00f(0xc7)]=_0x3d7f8a[_0x42b00f(0x198)]['startsWith']('[')?_0x3d7f8a[_0x42b00f(0x198)][_0x42b00f(0x271)](0x1,-0x1):_0x3d7f8a[_0x42b00f(0x198)],_0x446678['headers']={..._0x446678[_0x42b00f(0x111)],'Sec-WebSocket-Version':_0x446678[_0x42b00f(0x1e0)],'Sec-WebSocket-Key':_0x2d8d63,'Connection':_0x42b00f(0x1aa),'Upgrade':'websocket'},_0x446678[_0x42b00f(0x275)]=_0x3d7f8a['pathname']+_0x3d7f8a[_0x42b00f(0x221)],_0x446678[_0x42b00f(0x100)]=_0x446678[_0x42b00f(0x25b)],_0x446678[_0x42b00f(0x21b)]&&(_0x580bf4=new _0x17f681(_0x446678[_0x42b00f(0x21b)]!==!0x0?_0x446678['perMessageDeflate']:{},!0x1,_0x446678[_0x42b00f(0x10f)]),_0x446678['headers'][_0x42b00f(0x155)]=_0x547da0({[_0x17f681[_0x42b00f(0x121)]]:_0x580bf4[_0x42b00f(0x16c)]()})),_0x5ec914[_0x42b00f(0x21d)]){for(const _0x2b3575 of _0x5ec914){if(typeof _0x2b3575!=_0x42b00f(0x25d)||!_0x1bd022[_0x42b00f(0x147)](_0x2b3575)||_0x58385c['has'](_0x2b3575))throw new SyntaxError(_0x42b00f(0x122));_0x58385c['add'](_0x2b3575);}_0x446678[_0x42b00f(0x111)][_0x42b00f(0x1e8)]=_0x5ec914[_0x42b00f(0x1d9)](',');}if(_0x446678[_0x42b00f(0x202)]&&(_0x446678[_0x42b00f(0x1e0)]<0xd?_0x446678[_0x42b00f(0x111)][_0x42b00f(0x19b)]=_0x446678[_0x42b00f(0x202)]:_0x446678['headers'][_0x42b00f(0x17a)]=_0x446678[_0x42b00f(0x202)]),(_0x3d7f8a[_0x42b00f(0x26f)]||_0x3d7f8a[_0x42b00f(0x118)])&&(_0x446678[_0x42b00f(0xc4)]=_0x3d7f8a[_0x42b00f(0x26f)]+':'+_0x3d7f8a[_0x42b00f(0x118)]),_0x3bca0d){const _0x325776=_0x446678[_0x42b00f(0x275)][_0x42b00f(0x123)](':');_0x446678[_0x42b00f(0x242)]=_0x325776[0x0],_0x446678[_0x42b00f(0x275)]=_0x325776[0x1];}let _0x4917eb;if(_0x446678['followRedirects']){if(_0x3a1136[_0x42b00f(0xdd)]===0x0){_0x3a1136[_0x42b00f(0x105)]=_0x3bca0d,_0x3a1136['_originalSecure']=_0x40ef48,_0x3a1136[_0x42b00f(0xe6)]=_0x3bca0d?_0x446678[_0x42b00f(0x242)]:_0x3d7f8a['host'];const _0x48874=_0x1d67a7&&_0x1d67a7[_0x42b00f(0x111)];if(_0x1d67a7={..._0x1d67a7,'headers':{}},_0x48874){for(const [_0x2af492,_0x57a6d8]of Object['entries'](_0x48874))_0x1d67a7[_0x42b00f(0x111)][_0x2af492[_0x42b00f(0xda)]()]=_0x57a6d8;}}else{if(_0x3a1136[_0x42b00f(0xd5)](_0x42b00f(0x270))===0x0){const _0x2890c8=_0x3bca0d?_0x3a1136[_0x42b00f(0x105)]?_0x446678['socketPath']===_0x3a1136[_0x42b00f(0xe6)]:!0x1:_0x3a1136[_0x42b00f(0x105)]?!0x1:_0x3d7f8a[_0x42b00f(0xc7)]===_0x3a1136[_0x42b00f(0xe6)];(!_0x2890c8||_0x3a1136[_0x42b00f(0x17f)]&&!_0x40ef48)&&(delete _0x446678[_0x42b00f(0x111)][_0x42b00f(0x114)],delete _0x446678['headers']['cookie'],_0x2890c8||delete _0x446678[_0x42b00f(0x111)][_0x42b00f(0xc7)],_0x446678[_0x42b00f(0xc4)]=void 0x0);}}_0x446678['auth']&&!_0x1d67a7[_0x42b00f(0x111)][_0x42b00f(0x114)]&&(_0x1d67a7['headers'][_0x42b00f(0x114)]='Basic\x20'+Buffer[_0x42b00f(0x200)](_0x446678[_0x42b00f(0xc4)])[_0x42b00f(0xe8)](_0x42b00f(0x24f))),_0x4917eb=_0x3a1136[_0x42b00f(0x17b)]=_0x3c610e(_0x446678),_0x3a1136[_0x42b00f(0xdd)]&&_0x3a1136[_0x42b00f(0x16f)]('redirect',_0x3a1136[_0x42b00f(0x18a)],_0x4917eb);}else _0x4917eb=_0x3a1136[_0x42b00f(0x17b)]=_0x3c610e(_0x446678);_0x446678['timeout']&&_0x4917eb['on'](_0x42b00f(0x100),()=>{const _0x49e3b8=_0x42b00f;_0x3c9665(_0x3a1136,_0x4917eb,_0x49e3b8(0xf9));}),_0x4917eb['on'](_0x42b00f(0x144),_0x5100ab=>{const _0x29d9b3=_0x42b00f;_0x4917eb===null||_0x4917eb[_0xc20304]||(_0x4917eb=_0x3a1136[_0x29d9b3(0x17b)]=null,_0x3f8354(_0x3a1136,_0x5100ab));}),_0x4917eb['on'](_0x42b00f(0x193),_0x30a260=>{const _0x36584c=_0x42b00f,_0xa04274=_0x30a260['headers'][_0x36584c(0x1a7)],_0x3a0bf6=_0x30a260[_0x36584c(0x261)];if(_0xa04274&&_0x446678['followRedirects']&&_0x3a0bf6>=0x12c&&_0x3a0bf6<0x190){if(++_0x3a1136[_0x36584c(0xdd)]>_0x446678[_0x36584c(0x21e)]){_0x3c9665(_0x3a1136,_0x4917eb,_0x36584c(0x18c));return;}_0x4917eb[_0x36584c(0x12f)]();let _0x3718a6;try{_0x3718a6=new _0x1aece8(_0xa04274,_0x53b183);}catch{const _0x564848=new SyntaxError('Invalid\x20URL:\x20'+_0xa04274);_0x3f8354(_0x3a1136,_0x564848);return;}_0x5833b0(_0x3a1136,_0x3718a6,_0x5ec914,_0x1d67a7);}else _0x3a1136[_0x36584c(0x16f)]('unexpected-response',_0x4917eb,_0x30a260)||_0x3c9665(_0x3a1136,_0x4917eb,'Unexpected\x20server\x20response:\x20'+_0x30a260[_0x36584c(0x261)]);}),_0x4917eb['on'](_0x42b00f(0x1e5),(_0x46367e,_0xb45ad9,_0x5980b9)=>{const _0x1a2544=_0x42b00f;if(_0x3a1136[_0x1a2544(0x16f)]('upgrade',_0x46367e),_0x3a1136[_0x1a2544(0x201)]!==_0x2dfe5d[_0x1a2544(0x1b5)])return;_0x4917eb=_0x3a1136[_0x1a2544(0x17b)]=null;const _0x3505fe=_0x46367e[_0x1a2544(0x111)][_0x1a2544(0x1e5)];if(_0x3505fe===void 0x0||_0x3505fe[_0x1a2544(0xda)]()!=='websocket'){_0x3c9665(_0x3a1136,_0xb45ad9,_0x1a2544(0x11a));return;}const _0x594b57=_0x4ceff5('sha1')[_0x1a2544(0x19f)](_0x2d8d63+_0xf1c667)[_0x1a2544(0x102)]('base64');if(_0x46367e['headers'][_0x1a2544(0x216)]!==_0x594b57){_0x3c9665(_0x3a1136,_0xb45ad9,_0x1a2544(0x1c7));return;}const _0x5b851f=_0x46367e[_0x1a2544(0x111)]['sec-websocket-protocol'];let _0x1ee85c;if(_0x5b851f!==void 0x0?_0x58385c[_0x1a2544(0x156)]?_0x58385c[_0x1a2544(0x1cf)](_0x5b851f)||(_0x1ee85c=_0x1a2544(0x18e)):_0x1ee85c=_0x1a2544(0x21a):_0x58385c[_0x1a2544(0x156)]&&(_0x1ee85c=_0x1a2544(0x1f4)),_0x1ee85c){_0x3c9665(_0x3a1136,_0xb45ad9,_0x1ee85c);return;}_0x5b851f&&(_0x3a1136[_0x1a2544(0x15d)]=_0x5b851f);const _0x148948=_0x46367e['headers']['sec-websocket-extensions'];if(_0x148948!==void 0x0){if(!_0x580bf4){_0x3c9665(_0x3a1136,_0xb45ad9,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x290c99;try{_0x290c99=_0x85f877(_0x148948);}catch{_0x3c9665(_0x3a1136,_0xb45ad9,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x48db3c=Object[_0x1a2544(0x14e)](_0x290c99);if(_0x48db3c[_0x1a2544(0x21d)]!==0x1||_0x48db3c[0x0]!==_0x17f681[_0x1a2544(0x121)]){_0x3c9665(_0x3a1136,_0xb45ad9,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x580bf4[_0x1a2544(0x262)](_0x290c99[_0x17f681[_0x1a2544(0x121)]]);}catch{_0x3c9665(_0x3a1136,_0xb45ad9,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x3a1136['_extensions'][_0x17f681['extensionName']]=_0x580bf4;}_0x3a1136[_0x1a2544(0xef)](_0xb45ad9,_0x5980b9,{'allowSynchronousEvents':_0x446678[_0x1a2544(0x1ce)],'generateMask':_0x446678[_0x1a2544(0x257)],'maxPayload':_0x446678[_0x1a2544(0x10f)],'skipUTF8Validation':_0x446678[_0x1a2544(0x13b)]});}),_0x446678[_0x42b00f(0xca)]?_0x446678[_0x42b00f(0xca)](_0x4917eb,_0x3a1136):_0x4917eb['end']();}function _0x3f8354(_0x4990fd,_0x187627){const _0x2726b6=_0x5e91ca;_0x4990fd[_0x2726b6(0x1ba)]=_0x2dfe5d['CLOSING'],_0x4990fd[_0x2726b6(0x170)]=!0x0,_0x4990fd['emit'](_0x2726b6(0x144),_0x187627),_0x4990fd[_0x2726b6(0x26d)]();}function _0x625541(_0x4a6f9e){const _0x54b809=_0x5e91ca;return _0x4a6f9e[_0x54b809(0x275)]=_0x4a6f9e[_0x54b809(0x242)],_0x974e84[_0x54b809(0xcd)](_0x4a6f9e);}function _0x376a1e(_0x194d55){const _0x46f30b=_0x5e91ca;return _0x194d55['path']=void 0x0,!_0x194d55['servername']&&_0x194d55['servername']!==''&&(_0x194d55[_0x46f30b(0x137)]=_0x974e84[_0x46f30b(0x213)](_0x194d55[_0x46f30b(0xc7)])?'':_0x194d55['host']),_0x469b82['connect'](_0x194d55);}function _0x3c9665(_0x5d2f4e,_0x5b11e4,_0x5d8795){const _0x475604=_0x5e91ca;_0x5d2f4e[_0x475604(0x1ba)]=_0x2dfe5d[_0x475604(0x128)];const _0x4f2f3c=new Error(_0x5d8795);Error['captureStackTrace'](_0x4f2f3c,_0x3c9665),_0x5b11e4[_0x475604(0x17c)]?(_0x5b11e4[_0xc20304]=!0x0,_0x5b11e4[_0x475604(0x12f)](),_0x5b11e4[_0x475604(0x1a8)]&&!_0x5b11e4[_0x475604(0x1a8)][_0x475604(0xc8)]&&_0x5b11e4['socket']['destroy'](),process[_0x475604(0x1a0)](_0x3f8354,_0x5d2f4e,_0x4f2f3c)):(_0x5b11e4['destroy'](_0x4f2f3c),_0x5b11e4[_0x475604(0x120)]('error',_0x5d2f4e[_0x475604(0x16f)]['bind'](_0x5d2f4e,'error')),_0x5b11e4[_0x475604(0x120)](_0x475604(0x16e),_0x5d2f4e[_0x475604(0x26d)][_0x475604(0x113)](_0x5d2f4e)));}function _0x2a7143(_0x143388,_0x30819a,_0x42af45){const _0x1ea307=_0x5e91ca;if(_0x30819a){const _0x3c441d=_0x4dc0d5(_0x30819a)?_0x30819a[_0x1ea307(0x156)]:_0x2e0788(_0x30819a)['length'];_0x143388[_0x1ea307(0x246)]?_0x143388[_0x1ea307(0x207)][_0x1ea307(0x127)]+=_0x3c441d:_0x143388[_0x1ea307(0x1de)]+=_0x3c441d;}if(_0x42af45){const _0x147deb=new Error(_0x1ea307(0x13f)+_0x143388['readyState']+'\x20('+_0x313e9a[_0x143388['readyState']]+')');process[_0x1ea307(0x1a0)](_0x42af45,_0x147deb);}}function _0x447929(_0x5346cf,_0x93b019){const _0x312c4f=_0x5e91ca,_0x1cb3ad=this[_0x3f5ac3];_0x1cb3ad['_closeFrameReceived']=!0x0,_0x1cb3ad[_0x312c4f(0x196)]=_0x93b019,_0x1cb3ad['_closeCode']=_0x5346cf,_0x1cb3ad[_0x312c4f(0x246)][_0x3f5ac3]!==void 0x0&&(_0x1cb3ad[_0x312c4f(0x246)]['removeListener'](_0x312c4f(0x131),_0x56f027),process[_0x312c4f(0x1a0)](_0x46432c,_0x1cb3ad['_socket']),_0x5346cf===0x3ed?_0x1cb3ad[_0x312c4f(0x16e)]():_0x1cb3ad[_0x312c4f(0x16e)](_0x5346cf,_0x93b019));}function _0x292d8f(){const _0x2f022a=_0x5e91ca,_0x419ba8=this[_0x3f5ac3];_0x419ba8[_0x2f022a(0x1b7)]||_0x419ba8['_socket']['resume']();}function _0x527a32(_0x24527e){const _0x4c5099=_0x5e91ca,_0x52726f=this[_0x3f5ac3];_0x52726f[_0x4c5099(0x246)][_0x3f5ac3]!==void 0x0&&(_0x52726f[_0x4c5099(0x246)][_0x4c5099(0x148)]('data',_0x56f027),process[_0x4c5099(0x1a0)](_0x46432c,_0x52726f[_0x4c5099(0x246)]),_0x52726f[_0x4c5099(0x16e)](_0x24527e[_0xebaed4])),_0x52726f['_errorEmitted']||(_0x52726f[_0x4c5099(0x170)]=!0x0,_0x52726f[_0x4c5099(0x16f)](_0x4c5099(0x144),_0x24527e));}function _0xdeda8c(){const _0x1aa8dd=_0x5e91ca;this[_0x3f5ac3][_0x1aa8dd(0x26d)]();}function _0x29b6cc(_0x3caa8d,_0x41eb8e){const _0x3b3692=_0x5e91ca;this[_0x3f5ac3][_0x3b3692(0x16f)](_0x3b3692(0xd0),_0x3caa8d,_0x41eb8e);}function _0x2c1f71(_0x47f12f){const _0x2e0c08=_0x5e91ca,_0x5c82b1=this[_0x3f5ac3];_0x5c82b1[_0x2e0c08(0x1c1)]&&_0x5c82b1[_0x2e0c08(0x23b)](_0x47f12f,!this[_0x2e0c08(0x183)],_0x59176f),_0x5c82b1[_0x2e0c08(0x16f)](_0x2e0c08(0x273),_0x47f12f);}function _0x549dc3(_0x5a7561){const _0x5a7e58=_0x5e91ca;this[_0x3f5ac3][_0x5a7e58(0x16f)](_0x5a7e58(0x23b),_0x5a7561);}function _0x46432c(_0x1d4aa1){_0x1d4aa1['resume']();}function _0x3d77c9(_0x45dd4e){const _0x11e702=_0x5e91ca,_0x24821e=this[_0x3f5ac3];_0x24821e['readyState']!==_0x2dfe5d[_0x11e702(0x117)]&&(_0x24821e[_0x11e702(0x201)]===_0x2dfe5d[_0x11e702(0xc3)]&&(_0x24821e[_0x11e702(0x1ba)]=_0x2dfe5d[_0x11e702(0x128)],_0x51df33(_0x24821e)),this[_0x11e702(0x246)]['end'](),_0x24821e[_0x11e702(0x170)]||(_0x24821e[_0x11e702(0x170)]=!0x0,_0x24821e[_0x11e702(0x16f)]('error',_0x45dd4e)));}function _0x51df33(_0x5d4283){const _0x4ccd82=_0x5e91ca;_0x5d4283[_0x4ccd82(0x177)]=setTimeout(_0x5d4283[_0x4ccd82(0x246)][_0x4ccd82(0x24d)][_0x4ccd82(0x113)](_0x5d4283[_0x4ccd82(0x246)]),_0x5c9fb7);}function _0x51f29a(){const _0x228e63=_0x5e91ca,_0x21d550=this[_0x3f5ac3];this['removeListener'](_0x228e63(0x16e),_0x51f29a),this[_0x228e63(0x148)](_0x228e63(0x131),_0x56f027),this['removeListener'](_0x228e63(0xff),_0x1ec151),_0x21d550[_0x228e63(0x1ba)]=_0x2dfe5d[_0x228e63(0x128)];let _0x40f66e;!this['_readableState'][_0x228e63(0x231)]&&!_0x21d550[_0x228e63(0x247)]&&!_0x21d550[_0x228e63(0x23d)][_0x228e63(0xd6)][_0x228e63(0x210)]&&(_0x40f66e=_0x21d550[_0x228e63(0x246)][_0x228e63(0xe2)]())!==null&&_0x21d550['_receiver'][_0x228e63(0x19c)](_0x40f66e),_0x21d550[_0x228e63(0x23d)][_0x228e63(0xff)](),this[_0x3f5ac3]=void 0x0,clearTimeout(_0x21d550[_0x228e63(0x177)]),_0x21d550[_0x228e63(0x23d)][_0x228e63(0xd6)][_0x228e63(0x1ab)]||_0x21d550[_0x228e63(0x23d)][_0x228e63(0xd6)]['errorEmitted']?_0x21d550[_0x228e63(0x26d)]():(_0x21d550[_0x228e63(0x23d)]['on']('error',_0xdeda8c),_0x21d550[_0x228e63(0x23d)]['on']('finish',_0xdeda8c));}function _0x56f027(_0x2385ab){const _0x2918c1=_0x5e91ca;this[_0x3f5ac3][_0x2918c1(0x23d)]['write'](_0x2385ab)||this['pause']();}function _0x1ec151(){const _0x3dea7f=_0x5e91ca,_0x21d5ab=this[_0x3f5ac3];_0x21d5ab['_readyState']=_0x2dfe5d[_0x3dea7f(0x128)],_0x21d5ab[_0x3dea7f(0x23d)][_0x3dea7f(0xff)](),this[_0x3dea7f(0xff)]();}function _0x41bea4(){const _0x3ccb57=_0x5e91ca,_0x53ab94=this[_0x3f5ac3];this[_0x3ccb57(0x148)]('error',_0x41bea4),this['on'](_0x3ccb57(0x144),_0x59176f),_0x53ab94&&(_0x53ab94[_0x3ccb57(0x1ba)]=_0x2dfe5d['CLOSING'],this[_0x3ccb57(0x24d)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x2af1dc}=oe;function _0x128c57(_0x4a300c){const _0x39fbec=_0x4d1b;_0x4a300c[_0x39fbec(0x16f)](_0x39fbec(0x16e));}function _0x1a3b8e(){const _0x364ae7=_0x4d1b;!this[_0x364ae7(0xc8)]&&this['_writableState'][_0x364ae7(0x1ab)]&&this[_0x364ae7(0x24d)]();}function _0x246c56(_0xd57ad6){const _0x7b351=_0x4d1b;this['removeListener'](_0x7b351(0x144),_0x246c56),this[_0x7b351(0x24d)](),this[_0x7b351(0xd5)](_0x7b351(0x144))===0x0&&this[_0x7b351(0x16f)](_0x7b351(0x144),_0xd57ad6);}function _0x40a5ab(_0x51b8ff,_0x14781a){const _0x10aa1d=_0x4d1b;let _0x1c5b42=!0x0;const _0x43d0b5=new _0x2af1dc({..._0x14781a,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x51b8ff['on']('message',function(_0xcef281,_0x1c725e){const _0x277426=_0x4d1b,_0x383f50=!_0x1c725e&&_0x43d0b5[_0x277426(0x234)][_0x277426(0x236)]?_0xcef281['toString']():_0xcef281;_0x43d0b5[_0x277426(0x160)](_0x383f50)||_0x51b8ff[_0x277426(0x12e)]();}),_0x51b8ff[_0x10aa1d(0x120)](_0x10aa1d(0x144),function(_0x4cb9a0){const _0x2a107d=_0x10aa1d;_0x43d0b5['destroyed']||(_0x1c5b42=!0x1,_0x43d0b5[_0x2a107d(0x24d)](_0x4cb9a0));}),_0x51b8ff['once']('close',function(){const _0x50fcad=_0x10aa1d;_0x43d0b5[_0x50fcad(0xc8)]||_0x43d0b5[_0x50fcad(0x160)](null);}),_0x43d0b5[_0x10aa1d(0xf6)]=function(_0x3a4fe2,_0x2a5108){const _0x41ca4a=_0x10aa1d;if(_0x51b8ff[_0x41ca4a(0x201)]===_0x51b8ff[_0x41ca4a(0x117)]){_0x2a5108(_0x3a4fe2),process[_0x41ca4a(0x1a0)](_0x128c57,_0x43d0b5);return;}let _0x3be858=!0x1;_0x51b8ff[_0x41ca4a(0x120)](_0x41ca4a(0x144),function(_0x5f0213){_0x3be858=!0x0,_0x2a5108(_0x5f0213);}),_0x51b8ff['once'](_0x41ca4a(0x16e),function(){_0x3be858||_0x2a5108(_0x3a4fe2),process['nextTick'](_0x128c57,_0x43d0b5);}),_0x1c5b42&&_0x51b8ff['terminate']();},_0x43d0b5[_0x10aa1d(0x1ad)]=function(_0x3c1f51){const _0x11049a=_0x10aa1d;if(_0x51b8ff[_0x11049a(0x201)]===_0x51b8ff[_0x11049a(0x1b5)]){_0x51b8ff['once'](_0x11049a(0x1ec),function(){const _0x2cca75=_0x11049a;_0x43d0b5[_0x2cca75(0x1ad)](_0x3c1f51);});return;}_0x51b8ff[_0x11049a(0x246)]!==null&&(_0x51b8ff[_0x11049a(0x246)][_0x11049a(0xd6)][_0x11049a(0x1ab)]?(_0x3c1f51(),_0x43d0b5[_0x11049a(0x234)]['endEmitted']&&_0x43d0b5[_0x11049a(0x24d)]()):(_0x51b8ff['_socket']['once'](_0x11049a(0x1da),function(){_0x3c1f51();}),_0x51b8ff[_0x11049a(0x16e)]()));},_0x43d0b5['_read']=function(){const _0x4be6f6=_0x10aa1d;_0x51b8ff[_0x4be6f6(0x1b7)]&&_0x51b8ff[_0x4be6f6(0x141)]();},_0x43d0b5[_0x10aa1d(0x267)]=function(_0x5083b1,_0x4f9e56,_0x2bef6e){const _0x2e198e=_0x10aa1d;if(_0x51b8ff[_0x2e198e(0x201)]===_0x51b8ff[_0x2e198e(0x1b5)]){_0x51b8ff['once']('open',function(){const _0x39b4ad=_0x2e198e;_0x43d0b5[_0x39b4ad(0x267)](_0x5083b1,_0x4f9e56,_0x2bef6e);});return;}_0x51b8ff[_0x2e198e(0x151)](_0x5083b1,_0x2bef6e);},_0x43d0b5['on'](_0x10aa1d(0xff),_0x1a3b8e),_0x43d0b5['on'](_0x10aa1d(0x144),_0x246c56),_0x43d0b5;}return Oe=_0x40a5ab,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x346922}=ae();function _0x822752(_0x8bfd97){const _0x4aafdd=_0x4d1b,_0x1754b6=new Set();let _0x322596=-0x1,_0x55c51c=-0x1,_0x2800c7=0x0;for(_0x2800c7;_0x2800c7<_0x8bfd97[_0x4aafdd(0x21d)];_0x2800c7++){const _0x1eb2f7=_0x8bfd97[_0x4aafdd(0x146)](_0x2800c7);if(_0x55c51c===-0x1&&_0x346922[_0x1eb2f7]===0x1)_0x322596===-0x1&&(_0x322596=_0x2800c7);else{if(_0x2800c7!==0x0&&(_0x1eb2f7===0x20||_0x1eb2f7===0x9))_0x55c51c===-0x1&&_0x322596!==-0x1&&(_0x55c51c=_0x2800c7);else{if(_0x1eb2f7===0x2c){if(_0x322596===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2800c7);_0x55c51c===-0x1&&(_0x55c51c=_0x2800c7);const _0x2d8efe=_0x8bfd97[_0x4aafdd(0x271)](_0x322596,_0x55c51c);if(_0x1754b6[_0x4aafdd(0x1cf)](_0x2d8efe))throw new SyntaxError('The\x20\x22'+_0x2d8efe+_0x4aafdd(0x1e2));_0x1754b6['add'](_0x2d8efe),_0x322596=_0x55c51c=-0x1;}else throw new SyntaxError(_0x4aafdd(0x16a)+_0x2800c7);}}}if(_0x322596===-0x1||_0x55c51c!==-0x1)throw new SyntaxError(_0x4aafdd(0x14c));const _0x43a2ae=_0x8bfd97[_0x4aafdd(0x271)](_0x322596,_0x2800c7);if(_0x1754b6[_0x4aafdd(0x1cf)](_0x43a2ae))throw new SyntaxError(_0x4aafdd(0x258)+_0x43a2ae+_0x4aafdd(0x1e2));return _0x1754b6[_0x4aafdd(0x1ca)](_0x43a2ae),_0x1754b6;}return Ce={'parse':_0x822752},Ce;}var Te,rt;function Ft(){const _0x1e4d4b=_0x32b16e;if(rt)return Te;rt=0x1;const _0x32955d=nt,_0x3ad751=ot,{Duplex:_0x1a2dab}=oe,{createHash:_0x6b9530}=Le,_0x15da85=ct(),_0x567818=he(),_0x44de21=At(),_0x57ab38=Pe(),{GUID:_0x62b606,kWebSocket:_0x2aa298}=H(),_0x3a71de=/^[+/0-9A-Za-z]{22}==$/,_0x4ea6e3=0x0,_0x3de350=0x1,_0x30330e=0x2;class _0x5a94a5 extends _0x32955d{constructor(_0x2c544f,_0x42269a){const _0x4692ad=_0x4d1b;if(super(),_0x2c544f={'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':_0x57ab38,..._0x2c544f},_0x2c544f[_0x4692ad(0x1a1)]==null&&!_0x2c544f['server']&&!_0x2c544f[_0x4692ad(0x20b)]||_0x2c544f[_0x4692ad(0x1a1)]!=null&&(_0x2c544f['server']||_0x2c544f[_0x4692ad(0x20b)])||_0x2c544f['server']&&_0x2c544f['noServer'])throw new TypeError(_0x4692ad(0x204));if(_0x2c544f['port']!=null?(this[_0x4692ad(0x1b0)]=_0x3ad751[_0x4692ad(0x1fe)]((_0xbfae26,_0x2316ae)=>{const _0x9bfc80=_0x4692ad,_0xfaf37d=_0x3ad751[_0x9bfc80(0x13c)][0x1aa];_0x2316ae[_0x9bfc80(0x157)](0x1aa,{'Content-Length':_0xfaf37d[_0x9bfc80(0x21d)],'Content-Type':'text/plain'}),_0x2316ae[_0x9bfc80(0xff)](_0xfaf37d);}),this['_server']['listen'](_0x2c544f[_0x4692ad(0x1a1)],_0x2c544f[_0x4692ad(0xc7)],_0x2c544f[_0x4692ad(0x1c3)],_0x42269a)):_0x2c544f[_0x4692ad(0x163)]&&(this[_0x4692ad(0x1b0)]=_0x2c544f[_0x4692ad(0x163)]),this[_0x4692ad(0x1b0)]){const _0x25ea16=this[_0x4692ad(0x16f)][_0x4692ad(0x113)](this,'connection');this['_removeListeners']=_0x22c596(this[_0x4692ad(0x1b0)],{'listening':this[_0x4692ad(0x16f)][_0x4692ad(0x113)](this,'listening'),'error':this[_0x4692ad(0x16f)][_0x4692ad(0x113)](this,_0x4692ad(0x144)),'upgrade':(_0x4e4293,_0x4b6352,_0x4343b4)=>{this['handleUpgrade'](_0x4e4293,_0x4b6352,_0x4343b4,_0x25ea16);}});}_0x2c544f[_0x4692ad(0x21b)]===!0x0&&(_0x2c544f[_0x4692ad(0x21b)]={}),_0x2c544f[_0x4692ad(0x259)]&&(this[_0x4692ad(0x25f)]=new Set(),this[_0x4692ad(0x279)]=!0x1),this['options']=_0x2c544f,this['_state']=_0x4ea6e3;}['address'](){const _0x450ba6=_0x4d1b;if(this['options'][_0x450ba6(0x20b)])throw new Error(_0x450ba6(0x229));return this['_server']?this[_0x450ba6(0x1b0)][_0x450ba6(0xc6)]():null;}[_0x1e4d4b(0x16e)](_0x482995){const _0xf73c9f=_0x1e4d4b;if(this[_0xf73c9f(0x16b)]===_0x30330e){_0x482995&&this[_0xf73c9f(0x120)]('close',()=>{_0x482995(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0xf73c9f(0x1a0)](_0x290ef5,this);return;}if(_0x482995&&this[_0xf73c9f(0x120)](_0xf73c9f(0x16e),_0x482995),this[_0xf73c9f(0x16b)]!==_0x3de350){if(this[_0xf73c9f(0x16b)]=_0x3de350,this[_0xf73c9f(0x1ae)][_0xf73c9f(0x20b)]||this['options'][_0xf73c9f(0x163)])this[_0xf73c9f(0x1b0)]&&(this[_0xf73c9f(0x1fc)](),this[_0xf73c9f(0x1fc)]=this['_server']=null),this[_0xf73c9f(0x25f)]?this[_0xf73c9f(0x25f)]['size']?this['_shouldEmitClose']=!0x0:process[_0xf73c9f(0x1a0)](_0x290ef5,this):process[_0xf73c9f(0x1a0)](_0x290ef5,this);else{const _0x1f0d7f=this[_0xf73c9f(0x1b0)];this[_0xf73c9f(0x1fc)](),this[_0xf73c9f(0x1fc)]=this[_0xf73c9f(0x1b0)]=null,_0x1f0d7f[_0xf73c9f(0x16e)](()=>{_0x290ef5(this);});}}}[_0x1e4d4b(0x1cd)](_0x118c65){const _0x379f99=_0x1e4d4b;if(this[_0x379f99(0x1ae)][_0x379f99(0x275)]){const _0x11afba=_0x118c65[_0x379f99(0x18a)][_0x379f99(0x1e4)]('?');if((_0x11afba!==-0x1?_0x118c65[_0x379f99(0x18a)]['slice'](0x0,_0x11afba):_0x118c65[_0x379f99(0x18a)])!==this[_0x379f99(0x1ae)][_0x379f99(0x275)])return!0x1;}return!0x0;}[_0x1e4d4b(0x1b1)](_0x6bbdc8,_0x4bd112,_0x5ba836,_0x1ecf41){const _0x5b54c2=_0x1e4d4b;_0x4bd112['on'](_0x5b54c2(0x144),_0x2dc5eb);const _0x193aef=_0x6bbdc8['headers']['sec-websocket-key'],_0x7d410=_0x6bbdc8[_0x5b54c2(0x111)][_0x5b54c2(0x1e5)],_0x3542b3=+_0x6bbdc8[_0x5b54c2(0x111)][_0x5b54c2(0xf4)];if(_0x6bbdc8[_0x5b54c2(0xeb)]!=='GET'){_0xaf0716(this,_0x6bbdc8,_0x4bd112,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x7d410===void 0x0||_0x7d410[_0x5b54c2(0xda)]()!=='websocket'){_0xaf0716(this,_0x6bbdc8,_0x4bd112,0x190,_0x5b54c2(0x11a));return;}if(_0x193aef===void 0x0||!_0x3a71de[_0x5b54c2(0x147)](_0x193aef)){_0xaf0716(this,_0x6bbdc8,_0x4bd112,0x190,_0x5b54c2(0x1d3));return;}if(_0x3542b3!==0xd&&_0x3542b3!==0x8){_0xaf0716(this,_0x6bbdc8,_0x4bd112,0x190,_0x5b54c2(0x1b4),{'Sec-WebSocket-Version':_0x5b54c2(0x192)});return;}if(!this['shouldHandle'](_0x6bbdc8)){_0x50f660(_0x4bd112,0x190);return;}const _0x325110=_0x6bbdc8['headers'][_0x5b54c2(0x12d)];let _0x3bfbdb=new Set();if(_0x325110!==void 0x0)try{_0x3bfbdb=_0x44de21[_0x5b54c2(0x203)](_0x325110);}catch{_0xaf0716(this,_0x6bbdc8,_0x4bd112,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x36622d=_0x6bbdc8[_0x5b54c2(0x111)]['sec-websocket-extensions'],_0x4cb7e6={};if(this[_0x5b54c2(0x1ae)]['perMessageDeflate']&&_0x36622d!==void 0x0){const _0xb2e39=new _0x567818(this[_0x5b54c2(0x1ae)][_0x5b54c2(0x21b)],!0x0,this[_0x5b54c2(0x1ae)][_0x5b54c2(0x10f)]);try{const _0x181d80=_0x15da85[_0x5b54c2(0x203)](_0x36622d);_0x181d80[_0x567818[_0x5b54c2(0x121)]]&&(_0xb2e39['accept'](_0x181d80[_0x567818['extensionName']]),_0x4cb7e6[_0x567818[_0x5b54c2(0x121)]]=_0xb2e39);}catch{_0xaf0716(this,_0x6bbdc8,_0x4bd112,0x190,_0x5b54c2(0x162));return;}}if(this[_0x5b54c2(0x1ae)][_0x5b54c2(0x1df)]){const _0xa1b2a6={'origin':_0x6bbdc8[_0x5b54c2(0x111)][''+(_0x3542b3===0x8?_0x5b54c2(0x205):_0x5b54c2(0x202))],'secure':!!(_0x6bbdc8[_0x5b54c2(0x1a8)]['authorized']||_0x6bbdc8[_0x5b54c2(0x1a8)][_0x5b54c2(0x254)]),'req':_0x6bbdc8};if(this['options'][_0x5b54c2(0x1df)]['length']===0x2){this[_0x5b54c2(0x1ae)]['verifyClient'](_0xa1b2a6,(_0x27ef3c,_0x3c20b4,_0x1a9244,_0x3a5dbe)=>{const _0x2ea898=_0x5b54c2;if(!_0x27ef3c)return _0x50f660(_0x4bd112,_0x3c20b4||0x191,_0x1a9244,_0x3a5dbe);this[_0x2ea898(0x228)](_0x4cb7e6,_0x193aef,_0x3bfbdb,_0x6bbdc8,_0x4bd112,_0x5ba836,_0x1ecf41);});return;}if(!this[_0x5b54c2(0x1ae)][_0x5b54c2(0x1df)](_0xa1b2a6))return _0x50f660(_0x4bd112,0x191);}this[_0x5b54c2(0x228)](_0x4cb7e6,_0x193aef,_0x3bfbdb,_0x6bbdc8,_0x4bd112,_0x5ba836,_0x1ecf41);}[_0x1e4d4b(0x228)](_0x3195f4,_0x28a584,_0x1c4292,_0xa3b6da,_0x36529c,_0x2ff314,_0x4631d0){const _0x3bee8f=_0x1e4d4b;if(!_0x36529c['readable']||!_0x36529c[_0x3bee8f(0xd4)])return _0x36529c[_0x3bee8f(0x24d)]();if(_0x36529c[_0x2aa298])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x3bee8f(0x16b)]>_0x4ea6e3)return _0x50f660(_0x36529c,0x1f7);const _0x5003aa=[_0x3bee8f(0x1c5),_0x3bee8f(0x176),_0x3bee8f(0x10e),_0x3bee8f(0x211)+_0x6b9530(_0x3bee8f(0x129))[_0x3bee8f(0x19f)](_0x28a584+_0x62b606)['digest'](_0x3bee8f(0x24f))],_0x4fafa2=new this[(_0x3bee8f(0x1ae))]['WebSocket'](null,void 0x0,this[_0x3bee8f(0x1ae)]);if(_0x1c4292['size']){const _0x2bdd32=this['options'][_0x3bee8f(0xe7)]?this[_0x3bee8f(0x1ae)]['handleProtocols'](_0x1c4292,_0xa3b6da):_0x1c4292[_0x3bee8f(0x178)]()['next']()[_0x3bee8f(0x219)];_0x2bdd32&&(_0x5003aa['push']('Sec-WebSocket-Protocol:\x20'+_0x2bdd32),_0x4fafa2[_0x3bee8f(0x15d)]=_0x2bdd32);}if(_0x3195f4[_0x567818['extensionName']]){const _0x2facf8=_0x3195f4[_0x567818[_0x3bee8f(0x121)]][_0x3bee8f(0x1ff)],_0x2cd7fb=_0x15da85[_0x3bee8f(0x1d5)]({[_0x567818['extensionName']]:[_0x2facf8]});_0x5003aa[_0x3bee8f(0x160)](_0x3bee8f(0xd3)+_0x2cd7fb),_0x4fafa2[_0x3bee8f(0xfc)]=_0x3195f4;}this[_0x3bee8f(0x16f)](_0x3bee8f(0x111),_0x5003aa,_0xa3b6da),_0x36529c[_0x3bee8f(0x19c)](_0x5003aa[_0x3bee8f(0x150)]('\x0d\x0a')['join']('\x0d\x0a')),_0x36529c[_0x3bee8f(0x148)]('error',_0x2dc5eb),_0x4fafa2[_0x3bee8f(0xef)](_0x36529c,_0x2ff314,{'allowSynchronousEvents':this[_0x3bee8f(0x1ae)][_0x3bee8f(0x1ce)],'maxPayload':this[_0x3bee8f(0x1ae)][_0x3bee8f(0x10f)],'skipUTF8Validation':this[_0x3bee8f(0x1ae)]['skipUTF8Validation']}),this['clients']&&(this[_0x3bee8f(0x25f)][_0x3bee8f(0x1ca)](_0x4fafa2),_0x4fafa2['on'](_0x3bee8f(0x16e),()=>{const _0x5005d3=_0x3bee8f;this['clients']['delete'](_0x4fafa2),this[_0x5005d3(0x279)]&&!this[_0x5005d3(0x25f)][_0x5005d3(0x156)]&&process[_0x5005d3(0x1a0)](_0x290ef5,this);})),_0x4631d0(_0x4fafa2,_0xa3b6da);}}Te=_0x5a94a5;function _0x22c596(_0x2ceca0,_0x163fcf){const _0x3585e6=_0x1e4d4b;for(const _0x545a3c of Object[_0x3585e6(0x14e)](_0x163fcf))_0x2ceca0['on'](_0x545a3c,_0x163fcf[_0x545a3c]);return function(){for(const _0x3566a9 of Object['keys'](_0x163fcf))_0x2ceca0['removeListener'](_0x3566a9,_0x163fcf[_0x3566a9]);};}function _0x290ef5(_0x537606){const _0x4f2106=_0x1e4d4b;_0x537606[_0x4f2106(0x16b)]=_0x30330e,_0x537606[_0x4f2106(0x16f)](_0x4f2106(0x16e));}function _0x2dc5eb(){this['destroy']();}function _0x50f660(_0x3d9f9a,_0x10ed5d,_0x57852f,_0x2e30d1){const _0x404ccc=_0x1e4d4b;_0x57852f=_0x57852f||_0x3ad751[_0x404ccc(0x13c)][_0x10ed5d],_0x2e30d1={'Connection':_0x404ccc(0x16e),'Content-Type':_0x404ccc(0x133),'Content-Length':Buffer['byteLength'](_0x57852f),..._0x2e30d1},_0x3d9f9a[_0x404ccc(0x120)](_0x404ccc(0x1da),_0x3d9f9a[_0x404ccc(0x24d)]),_0x3d9f9a[_0x404ccc(0xff)](_0x404ccc(0xe4)+_0x10ed5d+'\x20'+_0x3ad751['STATUS_CODES'][_0x10ed5d]+'\x0d\x0a'+Object[_0x404ccc(0x14e)](_0x2e30d1)[_0x404ccc(0x256)](_0x11b606=>_0x11b606+':\x20'+_0x2e30d1[_0x11b606])[_0x404ccc(0x1d9)]('\x0d\x0a')+_0x404ccc(0x172)+_0x57852f);}function _0xaf0716(_0x495535,_0xb8ec1b,_0x3c84b7,_0x1dc403,_0x508d67,_0x4ae976){const _0x83331b=_0x1e4d4b;if(_0x495535[_0x83331b(0xd5)]('wsClientError')){const _0x4dc62b=new Error(_0x508d67);Error[_0x83331b(0x1fd)](_0x4dc62b,_0xaf0716),_0x495535[_0x83331b(0x16f)](_0x83331b(0x206),_0x4dc62b,_0x3c84b7,_0xb8ec1b);}else _0x50f660(_0x3c84b7,_0x1dc403,_0x508d67,_0x4ae976);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x46eb5b,_0x1eb158,_0x3979f0,_0x3ac9ba)=>{const _0x1fdbed=_0x32b16e;for(var _0x4dd707=_0x3ac9ba>0x1?void 0x0:_0x3ac9ba?jt(_0x1eb158,_0x3979f0):_0x1eb158,_0x3cfb40=_0x46eb5b[_0x1fdbed(0x21d)]-0x1,_0x41fcff;_0x3cfb40>=0x0;_0x3cfb40--)(_0x41fcff=_0x46eb5b[_0x3cfb40])&&(_0x4dd707=_0x41fcff(_0x4dd707)||_0x4dd707);return _0x4dd707;},qt=(_0xd25940,_0x355594)=>(_0x1c866e,_0x3e6e97)=>_0x355594(_0x1c866e,_0x3e6e97,_0xd25940);let ke=class extends A[_0x32b16e(0x1ea)]{constructor(_0x19e28f){const _0x1a244a=_0x32b16e;super(),this[_0x1a244a(0x1c6)]=_0x19e28f;}['createSocket'](_0x32d400){const _0x3590be=_0x32b16e;var _0x42b627;const _0x155f81=(_0x42b627=this[_0x3590be(0x1c6)][_0x3590be(0x152)](fe))==null?void 0x0:_0x42b627[_0x3590be(0x130)];try{const _0x2af457=new $t(_0x32d400,{'headers':{..._0x155f81}}),_0x4ed648=new A[(_0x3590be(0x222))]();return{'URL':_0x32d400,'close':(_0x139209,_0x1a6d5f)=>{const _0x5e5179=_0x3590be;_0x2af457[_0x5e5179(0x16e)](_0x139209,_0x1a6d5f),_0x4ed648[_0x5e5179(0x250)]();},'send':_0x3a62d5=>{const _0x580ba6=_0x3590be;_0x2af457[_0x580ba6(0x151)](_0x3a62d5);},'open$':new V['Observable'](_0x26b17a=>{const _0x180851=_0x3590be,_0x52a53c=_0x43cc78=>_0x26b17a[_0x180851(0xdc)](_0x43cc78);_0x2af457[_0x180851(0x22a)](_0x180851(0x1ec),_0x52a53c),_0x4ed648[_0x180851(0x1ca)](A[_0x180851(0x237)](()=>_0x2af457[_0x180851(0x226)](_0x180851(0x1ec),_0x52a53c)));})[_0x3590be(0x188)](V[_0x3590be(0x11f)]()),'close$':new V[(_0x3590be(0x23a))](_0x578048=>{const _0x431ddf=_0x3590be,_0x581b94=_0x34eac1=>_0x578048[_0x431ddf(0xdc)](_0x34eac1);_0x2af457['addEventListener'](_0x431ddf(0x16e),_0x581b94),_0x4ed648[_0x431ddf(0x1ca)](A['toDisposable'](()=>_0x2af457['removeEventListener'](_0x431ddf(0x16e),_0x581b94)));})['pipe'](V[_0x3590be(0x11f)]()),'error$':new V[(_0x3590be(0x23a))](_0x4d673c=>{const _0x5ae264=_0x3590be,_0x5be893=_0xc0c1c4=>_0x4d673c[_0x5ae264(0xdc)](_0xc0c1c4);_0x2af457[_0x5ae264(0x22a)](_0x5ae264(0x144),_0x5be893),_0x4ed648[_0x5ae264(0x1ca)](A[_0x5ae264(0x237)](()=>_0x2af457[_0x5ae264(0x226)](_0x5ae264(0x144),_0x5be893)));})[_0x3590be(0x188)](V['share']()),'message$':new V[(_0x3590be(0x23a))](_0x28c8a2=>{const _0x4d865c=_0x3590be,_0x2a6ae5=_0x2de839=>_0x28c8a2['next'](_0x2de839);_0x2af457[_0x4d865c(0x22a)](_0x4d865c(0xd0),_0x2a6ae5),_0x4ed648[_0x4d865c(0x1ca)](A['toDisposable'](()=>_0x2af457[_0x4d865c(0x226)](_0x4d865c(0xd0),_0x2a6ae5)));})[_0x3590be(0x188)](V[_0x3590be(0x11f)]())};}catch(_0x2acc72){return console[_0x3590be(0x144)](_0x2acc72),null;}}};ke=Wt([qt(0x0,A[_0x32b16e(0x25a)])],ke);var Gt=Object[_0x32b16e(0x108)],Vt=Object[_0x32b16e(0x245)],Ht=(_0x442d28,_0x5c26b9,_0x41456b)=>_0x5c26b9 in _0x442d28?Gt(_0x442d28,_0x5c26b9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x41456b}):_0x442d28[_0x5c26b9]=_0x41456b,zt=(_0x50ab8c,_0x4c8399,_0x4c8c36,_0x2a5756)=>{const _0x1790f8=_0x32b16e;for(var _0x3cfea4=_0x2a5756>0x1?void 0x0:_0x2a5756?Vt(_0x4c8399,_0x4c8c36):_0x4c8399,_0x2bb9e0=_0x50ab8c[_0x1790f8(0x21d)]-0x1,_0x55c781;_0x2bb9e0>=0x0;_0x2bb9e0--)(_0x55c781=_0x50ab8c[_0x2bb9e0])&&(_0x3cfea4=_0x55c781(_0x3cfea4)||_0x3cfea4);return _0x3cfea4;},Ne=(_0x22b384,_0x56ad72)=>(_0x23ff59,_0x20ec45)=>_0x56ad72(_0x23ff59,_0x20ec45,_0x22b384),Yt=(_0xe864f4,_0x358a4c,_0x1ea99d)=>Ht(_0xe864f4,_0x358a4c+'',_0x1ea99d);exports[_0x32b16e(0xea)]=class extends A[_0x32b16e(0x186)]{constructor(_0x41ce13=Ct,_0x2ff6fc,_0x43defd,_0x471f16){const _0x575d77=_0x32b16e;_0x41ce13['customHeaders']||_0x2ff6fc[_0x575d77(0x26a)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x575d77(0x1c6)]=_0x43defd,this[_0x575d77(0x125)]=_0x471f16,this['_configService'][_0x575d77(0x1e3)](fe,_0x41ce13);}[_0x32b16e(0x11d)](){const _0x4c2260=_0x32b16e;this[_0x4c2260(0x220)]();}['_registerDependencies'](){const _0xc6213c=_0x32b16e;A[_0xc6213c(0x194)](this[_0xc6213c(0x125)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x32b16e(0xea)],_0x32b16e(0xf7),_0x32b16e(0x248)),exports[_0x32b16e(0xea)]=zt([A[_0x32b16e(0x1b8)](st['UniverCollaborationClientPlugin']),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x32b16e(0x25a)]),Ne(0x3,A['Inject'](A[_0x32b16e(0x1ac)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x32b16e(0x245)],Xt=(_0x1e439e,_0x168a14,_0x2b4b74,_0x17d062)=>{const _0x4e2bc5=_0x32b16e;for(var _0x4efa76=_0x17d062>0x1?void 0x0:_0x17d062?Kt(_0x168a14,_0x2b4b74):_0x168a14,_0x2353b4=_0x1e439e[_0x4e2bc5(0x21d)]-0x1,_0x47d730;_0x2353b4>=0x0;_0x2353b4--)(_0x47d730=_0x1e439e[_0x2353b4])&&(_0x4efa76=_0x47d730(_0x4efa76)||_0x4efa76);return _0x4efa76;},ne=(_0x152f8e,_0x1d1329)=>(_0xed2012,_0x41d7dd)=>_0x1d1329(_0xed2012,_0x41d7dd,_0x152f8e);exports[_0x32b16e(0xc9)]=class extends st['CollaborationSocketService']{constructor(_0x49a99c,_0x29846e,_0x48e381,_0x1a272a,_0x49d792){const _0x10083a=_0x32b16e;super(_0x49a99c,_0x29846e,_0x48e381,_0x1a272a,_0x49d792);const _0x1474d0=this['_configService'][_0x10083a(0x152)](fe);this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x1151e7,_0x4af8a7)=>{const _0x5a8ca2=_0x10083a;var _0x16f232;const _0x4ee2db=_0x1151e7['headers'];return(_0x16f232=_0x1474d0==null?void 0x0:_0x1474d0['customHeaders'])!=null&&_0x16f232[_0x5a8ca2(0x134)]&&_0x4ee2db[_0x5a8ca2(0x232)](_0x5a8ca2(0x19d),_0x1474d0[_0x5a8ca2(0x130)][_0x5a8ca2(0x134)]),_0x4af8a7(_0x1151e7);}});}async[_0x32b16e(0x1a9)](_0x2361a9){const _0x329588=_0x32b16e;return this[_0x329588(0x10b)](_0x2361a9);}},exports[_0x32b16e(0xc9)]=Xt([ne(0x0,A['Inject'](A[_0x32b16e(0x1ac)])),ne(0x1,A[_0x32b16e(0x173)](it[_0x32b16e(0x276)])),ne(0x2,A[_0x32b16e(0x25a)]),ne(0x3,A[_0x32b16e(0x185)]),ne(0x4,Ot[_0x32b16e(0x1f7)])],exports[_0x32b16e(0xc9)]),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;