@univerjs-pro/collaboration-client-node 0.6.9-nightly.202504061606 → 0.6.9-nightly.202504081607

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 _0x10e5eb=_0x5886;(function(_0x4ae26b,_0x19c25d){const _0x126e04=_0x5886,_0x43c454=_0x4ae26b();while(!![]){try{const _0x179645=-parseInt(_0x126e04(0x1a1))/0x1*(-parseInt(_0x126e04(0x1c3))/0x2)+-parseInt(_0x126e04(0x243))/0x3*(parseInt(_0x126e04(0x21f))/0x4)+-parseInt(_0x126e04(0x2b5))/0x5+-parseInt(_0x126e04(0x1e2))/0x6+parseInt(_0x126e04(0x275))/0x7*(parseInt(_0x126e04(0x1fe))/0x8)+-parseInt(_0x126e04(0x193))/0x9+parseInt(_0x126e04(0x2a3))/0xa;if(_0x179645===_0x19c25d)break;else _0x43c454['push'](_0x43c454['shift']());}catch(_0x3e9a65){_0x43c454['push'](_0x43c454['shift']());}}}(_0x3189,0x5cc17));Object[_0x10e5eb(0x2b7)](exports,Symbol['toStringTag'],{'value':'Module'});const st=require(_0x10e5eb(0x27d)),A=require('@univerjs/core'),it=require(_0x10e5eb(0x20b)),V=require(_0x10e5eb(0x328)),nt=require(_0x10e5eb(0x293)),vt=require(_0x10e5eb(0x2e5)),ot=require(_0x10e5eb(0x214)),St=require('net'),Et=require(_0x10e5eb(0x2c5)),Le=require(_0x10e5eb(0x270)),oe=require(_0x10e5eb(0x31c)),xt=require(_0x10e5eb(0x197)),bt=require(_0x10e5eb(0x29c)),wt=require(_0x10e5eb(0x174)),Ot=require('@univerjs-pro/collaboration'),fe=_0x10e5eb(0x247),Ct={'customHeaders':{}};function Tt(_0x1d18bf){const _0x97677c=_0x10e5eb;return _0x1d18bf&&_0x1d18bf[_0x97677c(0x2bf)]&&Object[_0x97677c(0x28c)][_0x97677c(0x2bb)][_0x97677c(0x221)](_0x1d18bf,_0x97677c(0x2e2))?_0x1d18bf['default']:_0x1d18bf;}function at(_0xb7ae03){const _0x13771a=_0x10e5eb;if(Object['prototype'][_0x13771a(0x2bb)]['call'](_0xb7ae03,_0x13771a(0x2bf)))return _0xb7ae03;var _0x3d96e6=_0xb7ae03[_0x13771a(0x2e2)];if(typeof _0x3d96e6==_0x13771a(0x2c8)){var _0x15a084=function _0x39a2c6(){const _0x24c1ae=_0x13771a;return this instanceof _0x39a2c6?Reflect[_0x24c1ae(0x322)](_0x3d96e6,arguments,this['constructor']):_0x3d96e6[_0x24c1ae(0x23f)](this,arguments);};_0x15a084[_0x13771a(0x28c)]=_0x3d96e6[_0x13771a(0x28c)];}else _0x15a084={};return Object['defineProperty'](_0x15a084,_0x13771a(0x2bf),{'value':!0x0}),Object['keys'](_0xb7ae03)[_0x13771a(0x249)](function(_0x19989b){const _0x316a26=_0x13771a;var _0xff82c5=Object[_0x316a26(0x1d2)](_0xb7ae03,_0x19989b);Object[_0x316a26(0x2b7)](_0x15a084,_0x19989b,_0xff82c5[_0x316a26(0x1ab)]?_0xff82c5:{'enumerable':!0x0,'get':function(){return _0xb7ae03[_0x19989b];}});}),_0x15a084;}var se={'exports':{}},ge,Ge;function H(){const _0x144df2=_0x10e5eb;if(Ge)return ge;Ge=0x1;const _0x492ed6=[_0x144df2(0x20d),_0x144df2(0x17b),'fragments'],_0x872a47=typeof Blob<'u';return _0x872a47&&_0x492ed6['push']('blob'),ge={'BINARY_TYPES':_0x492ed6,'EMPTY_BUFFER':Buffer[_0x144df2(0x1aa)](0x0),'GUID':_0x144df2(0x2fc),'hasBlob':_0x872a47,'kForOnEventAttribute':Symbol(_0x144df2(0x2d3)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x144df2(0x1de)),'kWebSocket':Symbol(_0x144df2(0x1ea)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0x10e5eb(0x2b7)]({'__proto__':null,'default':Nt},Symbol[_0x10e5eb(0x2c1)],{'value':_0x10e5eb(0x1a8)})),Lt=at(kt);var Ve;function ce(){const _0x1ac0b6=_0x10e5eb;if(Ve)return se[_0x1ac0b6(0x306)];Ve=0x1;const {EMPTY_BUFFER:_0x534a05}=H(),_0x24e854=Buffer[Symbol[_0x1ac0b6(0x2cc)]];function _0x44812d(_0x59238a,_0x4d0900){const _0x2d2192=_0x1ac0b6;if(_0x59238a['length']===0x0)return _0x534a05;if(_0x59238a['length']===0x1)return _0x59238a[0x0];const _0x451444=Buffer[_0x2d2192(0x30b)](_0x4d0900);let _0x5916c7=0x0;for(let _0x854609=0x0;_0x854609<_0x59238a[_0x2d2192(0x311)];_0x854609++){const _0x563dc9=_0x59238a[_0x854609];_0x451444[_0x2d2192(0x185)](_0x563dc9,_0x5916c7),_0x5916c7+=_0x563dc9[_0x2d2192(0x311)];}return _0x5916c7<_0x4d0900?new _0x24e854(_0x451444[_0x2d2192(0x174)],_0x451444['byteOffset'],_0x5916c7):_0x451444;}function _0x4d17fd(_0x463a94,_0x1d3feb,_0x473dc9,_0x54d127,_0x148b53){for(let _0xff9ade=0x0;_0xff9ade<_0x148b53;_0xff9ade++)_0x473dc9[_0x54d127+_0xff9ade]=_0x463a94[_0xff9ade]^_0x1d3feb[_0xff9ade&0x3];}function _0x3752dd(_0x114f5a,_0x4608b6){const _0x29cda3=_0x1ac0b6;for(let _0x184eea=0x0;_0x184eea<_0x114f5a[_0x29cda3(0x311)];_0x184eea++)_0x114f5a[_0x184eea]^=_0x4608b6[_0x184eea&0x3];}function _0x452ac6(_0xca612a){const _0x67d874=_0x1ac0b6;return _0xca612a[_0x67d874(0x311)]===_0xca612a[_0x67d874(0x174)]['byteLength']?_0xca612a[_0x67d874(0x174)]:_0xca612a[_0x67d874(0x174)]['slice'](_0xca612a[_0x67d874(0x1c7)],_0xca612a[_0x67d874(0x1c7)]+_0xca612a[_0x67d874(0x311)]);}function _0x55fad1(_0x5841f2){const _0x18013c=_0x1ac0b6;if(_0x55fad1['readOnly']=!0x0,Buffer[_0x18013c(0x188)](_0x5841f2))return _0x5841f2;let _0x9c3ae3;return _0x5841f2 instanceof ArrayBuffer?_0x9c3ae3=new _0x24e854(_0x5841f2):ArrayBuffer[_0x18013c(0x254)](_0x5841f2)?_0x9c3ae3=new _0x24e854(_0x5841f2[_0x18013c(0x174)],_0x5841f2[_0x18013c(0x1c7)],_0x5841f2[_0x18013c(0x1f1)]):(_0x9c3ae3=Buffer[_0x18013c(0x2f8)](_0x5841f2),_0x55fad1[_0x18013c(0x241)]=!0x1),_0x9c3ae3;}if(se['exports']={'concat':_0x44812d,'mask':_0x4d17fd,'toArrayBuffer':_0x452ac6,'toBuffer':_0x55fad1,'unmask':_0x3752dd},!process['env'][_0x1ac0b6(0x1dd)])try{const _0x3ca6b8=Lt;se[_0x1ac0b6(0x306)][_0x1ac0b6(0x2f9)]=function(_0x5a1db5,_0x1c155b,_0x3bf2c5,_0xdc251e,_0x1751e7){_0x1751e7<0x30?_0x4d17fd(_0x5a1db5,_0x1c155b,_0x3bf2c5,_0xdc251e,_0x1751e7):_0x3ca6b8['mask'](_0x5a1db5,_0x1c155b,_0x3bf2c5,_0xdc251e,_0x1751e7);},se['exports'][_0x1ac0b6(0x2dd)]=function(_0x5ea911,_0x520888){const _0x31436a=_0x1ac0b6;_0x5ea911[_0x31436a(0x311)]<0x20?_0x3752dd(_0x5ea911,_0x520888):_0x3ca6b8['unmask'](_0x5ea911,_0x520888);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x504356=_0x10e5eb;if(He)return ye;He=0x1;const _0x38e003=Symbol(_0x504356(0x287)),_0x51e7bd=Symbol('kRun');class _0x42f2b3{constructor(_0x397c78){const _0x19ed60=_0x504356;this[_0x38e003]=()=>{const _0x38b0f2=_0x5886;this[_0x38b0f2(0x218)]--,this[_0x51e7bd]();},this[_0x19ed60(0x312)]=_0x397c78||0x1/0x0,this['jobs']=[],this[_0x19ed60(0x218)]=0x0;}[_0x504356(0x21e)](_0x4672e8){const _0x4dd1c6=_0x504356;this[_0x4dd1c6(0x330)][_0x4dd1c6(0x315)](_0x4672e8),this[_0x51e7bd]();}[_0x51e7bd](){const _0x3d548a=_0x504356;if(this[_0x3d548a(0x218)]!==this['concurrency']&&this[_0x3d548a(0x330)][_0x3d548a(0x311)]){const _0x39adc2=this[_0x3d548a(0x330)][_0x3d548a(0x2b9)]();this[_0x3d548a(0x218)]++,_0x39adc2(this[_0x38e003]);}}}return ye=_0x42f2b3,ye;}var ve,ze;function he(){const _0x514dc2=_0x10e5eb;if(ze)return ve;ze=0x1;const _0x5852b8=bt,_0x4109a8=ce(),_0x180bf4=Pt(),{kStatusCode:_0xc0f0cc}=H(),_0x4d2cd5=Buffer[Symbol['species']],_0x245551=Buffer[_0x514dc2(0x2f8)]([0x0,0x0,0xff,0xff]),_0x2f6498=Symbol('permessage-deflate'),_0x211a76=Symbol(_0x514dc2(0x277)),_0x7df123=Symbol(_0x514dc2(0x1bc)),_0xc7bb85=Symbol('buffers'),_0xc637e=Symbol(_0x514dc2(0x179));let _0x25e6a4;class _0x12a54c{constructor(_0x26873a,_0x49f4e4,_0x5c0167){const _0x8b7bda=_0x514dc2;if(this[_0x8b7bda(0x18e)]=_0x5c0167|0x0,this[_0x8b7bda(0x2ea)]=_0x26873a||{},this[_0x8b7bda(0x32a)]=this[_0x8b7bda(0x2ea)][_0x8b7bda(0x295)]!==void 0x0?this[_0x8b7bda(0x2ea)][_0x8b7bda(0x295)]:0x400,this['_isServer']=!!_0x49f4e4,this['_deflate']=null,this[_0x8b7bda(0x22e)]=null,this[_0x8b7bda(0x2de)]=null,!_0x25e6a4){const _0x16ee91=this[_0x8b7bda(0x2ea)][_0x8b7bda(0x29b)]!==void 0x0?this[_0x8b7bda(0x2ea)][_0x8b7bda(0x29b)]:0xa;_0x25e6a4=new _0x180bf4(_0x16ee91);}}static get[_0x514dc2(0x1e1)](){return'permessage-deflate';}[_0x514dc2(0x1a7)](){const _0x42f3be=_0x514dc2,_0x16762a={};return this[_0x42f3be(0x2ea)][_0x42f3be(0x1cc)]&&(_0x16762a[_0x42f3be(0x2a1)]=!0x0),this[_0x42f3be(0x2ea)]['clientNoContextTakeover']&&(_0x16762a[_0x42f3be(0x245)]=!0x0),this[_0x42f3be(0x2ea)][_0x42f3be(0x2aa)]&&(_0x16762a[_0x42f3be(0x1d7)]=this[_0x42f3be(0x2ea)][_0x42f3be(0x2aa)]),this[_0x42f3be(0x2ea)][_0x42f3be(0x1e6)]?_0x16762a[_0x42f3be(0x230)]=this[_0x42f3be(0x2ea)][_0x42f3be(0x1e6)]:this[_0x42f3be(0x2ea)][_0x42f3be(0x1e6)]==null&&(_0x16762a[_0x42f3be(0x230)]=!0x0),_0x16762a;}['accept'](_0x595a74){const _0x4737ec=_0x514dc2;return _0x595a74=this[_0x4737ec(0x321)](_0x595a74),this[_0x4737ec(0x2de)]=this[_0x4737ec(0x16f)]?this[_0x4737ec(0x1c5)](_0x595a74):this['acceptAsClient'](_0x595a74),this[_0x4737ec(0x2de)];}[_0x514dc2(0x1b5)](){const _0x2d402c=_0x514dc2;if(this[_0x2d402c(0x22e)]&&(this[_0x2d402c(0x22e)][_0x2d402c(0x1eb)](),this[_0x2d402c(0x22e)]=null),this[_0x2d402c(0x267)]){const _0x1f380c=this['_deflate'][_0x7df123];this['_deflate'][_0x2d402c(0x1eb)](),this[_0x2d402c(0x267)]=null,_0x1f380c&&_0x1f380c(new Error(_0x2d402c(0x23e)));}}[_0x514dc2(0x1c5)](_0x1ec627){const _0x24ff4c=_0x514dc2,_0x5b52e7=this[_0x24ff4c(0x2ea)],_0x452223=_0x1ec627[_0x24ff4c(0x259)](_0x38fbfa=>!(_0x5b52e7['serverNoContextTakeover']===!0x1&&_0x38fbfa['server_no_context_takeover']||_0x38fbfa[_0x24ff4c(0x1d7)]&&(_0x5b52e7[_0x24ff4c(0x2aa)]===!0x1||typeof _0x5b52e7[_0x24ff4c(0x2aa)]==_0x24ff4c(0x1e3)&&_0x5b52e7[_0x24ff4c(0x2aa)]>_0x38fbfa[_0x24ff4c(0x1d7)])||typeof _0x5b52e7[_0x24ff4c(0x1e6)]==_0x24ff4c(0x1e3)&&!_0x38fbfa[_0x24ff4c(0x230)]));if(!_0x452223)throw new Error(_0x24ff4c(0x320));return _0x5b52e7[_0x24ff4c(0x1cc)]&&(_0x452223[_0x24ff4c(0x2a1)]=!0x0),_0x5b52e7['clientNoContextTakeover']&&(_0x452223[_0x24ff4c(0x245)]=!0x0),typeof _0x5b52e7[_0x24ff4c(0x2aa)]==_0x24ff4c(0x1e3)&&(_0x452223[_0x24ff4c(0x1d7)]=_0x5b52e7['serverMaxWindowBits']),typeof _0x5b52e7[_0x24ff4c(0x1e6)]=='number'?_0x452223['client_max_window_bits']=_0x5b52e7['clientMaxWindowBits']:(_0x452223[_0x24ff4c(0x230)]===!0x0||_0x5b52e7[_0x24ff4c(0x1e6)]===!0x1)&&delete _0x452223[_0x24ff4c(0x230)],_0x452223;}[_0x514dc2(0x2c0)](_0x1df182){const _0x32919e=_0x514dc2,_0x4ee778=_0x1df182[0x0];if(this[_0x32919e(0x2ea)][_0x32919e(0x289)]===!0x1&&_0x4ee778['client_no_context_takeover'])throw new Error(_0x32919e(0x32f));if(!_0x4ee778[_0x32919e(0x230)])typeof this[_0x32919e(0x2ea)][_0x32919e(0x1e6)]==_0x32919e(0x1e3)&&(_0x4ee778['client_max_window_bits']=this[_0x32919e(0x2ea)][_0x32919e(0x1e6)]);else{if(this[_0x32919e(0x2ea)]['clientMaxWindowBits']===!0x1||typeof this[_0x32919e(0x2ea)][_0x32919e(0x1e6)]==_0x32919e(0x1e3)&&_0x4ee778[_0x32919e(0x230)]>this[_0x32919e(0x2ea)]['clientMaxWindowBits'])throw new Error(_0x32919e(0x1a2));}return _0x4ee778;}[_0x514dc2(0x321)](_0x34fb57){const _0x192de9=_0x514dc2;return _0x34fb57[_0x192de9(0x249)](_0x3aeec8=>{const _0x2d983a=_0x192de9;Object[_0x2d983a(0x28a)](_0x3aeec8)[_0x2d983a(0x249)](_0x423881=>{const _0x40339c=_0x2d983a;let _0x540149=_0x3aeec8[_0x423881];if(_0x540149[_0x40339c(0x311)]>0x1)throw new Error(_0x40339c(0x16d)+_0x423881+_0x40339c(0x286));if(_0x540149=_0x540149[0x0],_0x423881===_0x40339c(0x230)){if(_0x540149!==!0x0){const _0x32cce4=+_0x540149;if(!Number[_0x40339c(0x1f3)](_0x32cce4)||_0x32cce4<0x8||_0x32cce4>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x423881+_0x40339c(0x274)+_0x540149);_0x540149=_0x32cce4;}else{if(!this[_0x40339c(0x16f)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x423881+_0x40339c(0x274)+_0x540149);}}else{if(_0x423881===_0x40339c(0x1d7)){const _0x44e216=+_0x540149;if(!Number['isInteger'](_0x44e216)||_0x44e216<0x8||_0x44e216>0xf)throw new TypeError(_0x40339c(0x2f5)+_0x423881+_0x40339c(0x274)+_0x540149);_0x540149=_0x44e216;}else{if(_0x423881===_0x40339c(0x245)||_0x423881===_0x40339c(0x2a1)){if(_0x540149!==!0x0)throw new TypeError(_0x40339c(0x2f5)+_0x423881+_0x40339c(0x274)+_0x540149);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x423881+'\x22');}}_0x3aeec8[_0x423881]=_0x540149;});}),_0x34fb57;}['decompress'](_0x1b9703,_0x4a2435,_0x52683c){_0x25e6a4['add'](_0x4ddb16=>{const _0x3510f7=_0x5886;this[_0x3510f7(0x244)](_0x1b9703,_0x4a2435,(_0x294495,_0x11c6dd)=>{_0x4ddb16(),_0x52683c(_0x294495,_0x11c6dd);});});}['compress'](_0x4a3a23,_0x4b2743,_0x5f4cf9){const _0x347b64=_0x514dc2;_0x25e6a4[_0x347b64(0x21e)](_0x4c06a4=>{const _0x3295c4=_0x347b64;this[_0x3295c4(0x2ed)](_0x4a3a23,_0x4b2743,(_0x857adc,_0x180f10)=>{_0x4c06a4(),_0x5f4cf9(_0x857adc,_0x180f10);});});}[_0x514dc2(0x244)](_0x3072d5,_0x5bcc41,_0x5695c1){const _0x406f83=_0x514dc2,_0x3236c3=this[_0x406f83(0x16f)]?_0x406f83(0x21a):'server';if(!this[_0x406f83(0x22e)]){const _0x49a35a=_0x3236c3+_0x406f83(0x1a9),_0x5cfac0=typeof this[_0x406f83(0x2de)][_0x49a35a]!=_0x406f83(0x1e3)?_0x5852b8[_0x406f83(0x2ff)]:this[_0x406f83(0x2de)][_0x49a35a];this[_0x406f83(0x22e)]=_0x5852b8[_0x406f83(0x265)]({...this[_0x406f83(0x2ea)][_0x406f83(0x326)],'windowBits':_0x5cfac0}),this['_inflate'][_0x2f6498]=this,this[_0x406f83(0x22e)][_0x211a76]=0x0,this[_0x406f83(0x22e)][_0xc7bb85]=[],this[_0x406f83(0x22e)]['on'](_0x406f83(0x179),_0x113a1a),this[_0x406f83(0x22e)]['on']('data',_0x244127);}this[_0x406f83(0x22e)][_0x7df123]=_0x5695c1,this[_0x406f83(0x22e)][_0x406f83(0x252)](_0x3072d5),_0x5bcc41&&this['_inflate'][_0x406f83(0x252)](_0x245551),this[_0x406f83(0x22e)][_0x406f83(0x255)](()=>{const _0x32a284=_0x406f83,_0x13623a=this[_0x32a284(0x22e)][_0xc637e];if(_0x13623a){this[_0x32a284(0x22e)][_0x32a284(0x1eb)](),this['_inflate']=null,_0x5695c1(_0x13623a);return;}const _0x428906=_0x4109a8['concat'](this[_0x32a284(0x22e)][_0xc7bb85],this['_inflate'][_0x211a76]);this[_0x32a284(0x22e)]['_readableState'][_0x32a284(0x180)]?(this[_0x32a284(0x22e)]['close'](),this[_0x32a284(0x22e)]=null):(this[_0x32a284(0x22e)][_0x211a76]=0x0,this[_0x32a284(0x22e)][_0xc7bb85]=[],_0x5bcc41&&this[_0x32a284(0x2de)][_0x3236c3+_0x32a284(0x1cd)]&&this[_0x32a284(0x22e)][_0x32a284(0x1be)]()),_0x5695c1(null,_0x428906);});}[_0x514dc2(0x2ed)](_0x5cef8b,_0x4ae811,_0xf47a55){const _0x251d93=_0x514dc2,_0x2b1a0e=this[_0x251d93(0x16f)]?_0x251d93(0x262):_0x251d93(0x21a);if(!this[_0x251d93(0x267)]){const _0x50a58a=_0x2b1a0e+_0x251d93(0x1a9),_0x5b2f85=typeof this[_0x251d93(0x2de)][_0x50a58a]!=_0x251d93(0x1e3)?_0x5852b8[_0x251d93(0x2ff)]:this[_0x251d93(0x2de)][_0x50a58a];this[_0x251d93(0x267)]=_0x5852b8[_0x251d93(0x281)]({...this['_options'][_0x251d93(0x20a)],'windowBits':_0x5b2f85}),this['_deflate'][_0x211a76]=0x0,this[_0x251d93(0x267)][_0xc7bb85]=[],this['_deflate']['on'](_0x251d93(0x301),_0x3e3cea);}this[_0x251d93(0x267)][_0x7df123]=_0xf47a55,this[_0x251d93(0x267)][_0x251d93(0x252)](_0x5cef8b),this[_0x251d93(0x267)][_0x251d93(0x255)](_0x5852b8['Z_SYNC_FLUSH'],()=>{const _0x46ca8b=_0x251d93;if(!this[_0x46ca8b(0x267)])return;let _0x4dd1d9=_0x4109a8[_0x46ca8b(0x236)](this[_0x46ca8b(0x267)][_0xc7bb85],this['_deflate'][_0x211a76]);_0x4ae811&&(_0x4dd1d9=new _0x4d2cd5(_0x4dd1d9[_0x46ca8b(0x174)],_0x4dd1d9[_0x46ca8b(0x1c7)],_0x4dd1d9[_0x46ca8b(0x311)]-0x4)),this[_0x46ca8b(0x267)][_0x7df123]=null,this[_0x46ca8b(0x267)][_0x211a76]=0x0,this[_0x46ca8b(0x267)][_0xc7bb85]=[],_0x4ae811&&this[_0x46ca8b(0x2de)][_0x2b1a0e+_0x46ca8b(0x1cd)]&&this[_0x46ca8b(0x267)][_0x46ca8b(0x1be)](),_0xf47a55(null,_0x4dd1d9);});}}ve=_0x12a54c;function _0x3e3cea(_0x526b21){const _0x5eba20=_0x514dc2;this[_0xc7bb85][_0x5eba20(0x315)](_0x526b21),this[_0x211a76]+=_0x526b21['length'];}function _0x244127(_0xa9fbe3){const _0x31e912=_0x514dc2;if(this[_0x211a76]+=_0xa9fbe3[_0x31e912(0x311)],this[_0x2f6498][_0x31e912(0x18e)]<0x1||this[_0x211a76]<=this[_0x2f6498][_0x31e912(0x18e)]){this[_0xc7bb85][_0x31e912(0x315)](_0xa9fbe3);return;}this[_0xc637e]=new RangeError(_0x31e912(0x2f4)),this[_0xc637e][_0x31e912(0x18d)]=_0x31e912(0x172),this[_0xc637e][_0xc0f0cc]=0x3f1,this['removeListener'](_0x31e912(0x301),_0x244127),this['reset']();}function _0x113a1a(_0x2f0206){this[_0x2f6498]['_inflate']=null,_0x2f0206[_0xc0f0cc]=0x3ef,this[_0x7df123](_0x2f0206);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x10e5eb(0x323)](Object[_0x10e5eb(0x2b7)]({'__proto__':null,'default':Dt},Symbol[_0x10e5eb(0x2c1)],{'value':_0x10e5eb(0x1a8)})),Bt=at(Rt);function _0x3189(){const _0x5bf198=['rsv1','File','species','indexOf','drain','pipe','finishRequest','setTimeout','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','kIsForOnEventAttribute','MASK\x20must\x20be\x20set','fin','emit','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','authorized','startLoop','Unexpected\x20end\x20of\x20input','slice','listening','unmask','params','UniverCollaborationClientNodePlugin','setHeader','WebSocket\x20is\x20not\x20open:\x20readyState\x20','default','setConfig','next','https','startsWith','protocol','perMessageDeflate','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_options','_final','skipUTF8Validation','_compress','sec-websocket-version','_compressed','_fragments','Blob','accept','_closeFrameSent','Max\x20payload\x20size\x20exceeded','Invalid\x20value\x20for\x20parameter\x20\x22','send','\x0d\x0a\x0d\x0a','from','mask','writeUIntBE','_removeListeners','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','maskBuffer','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','Z_DEFAULT_WINDOWBITS','onStarting','data','WS_ERR_UNEXPECTED_RSV_1','search','wsClientError','removeEventListener','exports','defaultPort','CollaborationSocketService','createSocket','kReason','allocUnsafe','_socket','HTTP/1.1\x20101\x20Switching\x20Protocols','hash','_server','_generateMask','length','concurrency','read','_firstFragment','push','\x20(supported\x20versions:\x20','opcode','once','registerDependencies','STATUS_CODES','sha1','stream','isServer','_receiver','_closeMessage','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','normalizeParams','construct','freeze','getConfig','pathname','zlibInflateOptions','Inject','rxjs','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_threshold','_readableState','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_totalPayloadLength','_messageLength','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','jobs','_skipUTF8Validation','Parameter\x20\x22','_maskBuffer','_isServer','Unexpected\x20character\x20at\x20index\x20','Invalid\x20Upgrade\x20header','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','headers','buffer','object','open','removeListener','onmessage','error','wss:','arraybuffer','sendFrame','backlog','format','pow','endEmitted','Unexpected\x20server\x20response:\x20','_registerDependencies','COLLABORATION_CLIENT_NODE_CONFIG_KEY','WS_ERR_EXPECTED_MASK','set','clients','OPEN','isBuffer','encrypted','shouldHandle','_paused','decompress','code','_maxPayload','CLOSED','dataMessage','redirect','charCodeAt','6726573Pvjfqj','WS_ERR_INVALID_UTF8','_state','_binaryType','url','Sec-WebSocket-Protocol:\x20','ILogService','_bufferedAmount','autoPong','socket','createConnection','maxPayload','_closeFrameReceived','allowSynchronousEvents','95MPDxTe','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','ping','getInfo','createError','onclose','offer','Module','_max_window_bits','alloc','get','Injector','verifyClient','destroyed','Invalid\x20Sec-WebSocket-Accept\x20header','_originalIpc','split','_protocol','Observable','writeUInt16BE','cleanup','errorEmitted','_sender','update','_configService','pong','values','callback','kWasClean','reset','size','getBlobData','target','CLOSING','7918jVYrPo','The\x20URL\x20contains\x20a\x20fragment\x20identifier','acceptAsServer','join','byteOffset','finish','toDisposable','_errored','getData','serverNoContextTakeover','_no_context_takeover','terminate','removeAllListeners','unshift','entries','getOwnPropertyDescriptor','listen','hostname','kType','completeUpgrade','server_max_window_bits','warn','invalid\x20opcode\x200','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','_loop','_opcode','WS_NO_BUFFER_UTIL','status-code','invalid\x20UTF-8\x20sequence','_readyState','extensionName','794850ovWfyF','number','_buffers','readable','clientMaxWindowBits','_closeCode','_injector','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','websocket','close','UniverCollaborationClientPlugin','handleProtocols','NodeCollaborationSocketService','toLowerCase','ISocketService','byteLength','setSocket','isInteger','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','share','password','DisposableCollection','Disposable','unexpected-response','_closeTimer','replace','abort','3484360bxwjUi','sec-websocket-key','cookie','_httpService','digest','onerror','readUInt32BE','Connection:\x20Upgrade','The\x20\x22','extensions','compress','CONNECTING','zlibDeflateOptions','@univerjs/network','map','nodebuffer','HTTP/1.1\x20','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','end','type','ws+unix:','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','http','_originalSecure','protocolVersion','_mask','pending','has','client','kData','authorization','binaryType','add','1388996fjOCeg','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','call','HTTPService','address','isPaused','connection','kByteLength','_queue','captureStackTrace','Basic\x20','bind','readyState','_masked','pluginName','_inflate','message','client_max_window_bits','origin','setNoDelay','_autoPong','ISnapshotServerService','auth','concat','WS_ERR_EXPECTED_FIN','clientTracking','getPayloadLength16','Cookie','resume','GET','base64','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','apply','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','readOnly','binary','6qHlGSD','_decompress','client_no_context_takeover','haveLength','collaboration-client-node.config','Invalid\x20URL:\x20','forEach','text/plain','finished','consume','invalid\x20opcode\x20','_bufferedBytes','isIP','emitClose','listeners','write','timeout','isView','flush','_fin','includes','kError','find','sec-websocket-origin','RSV1\x20must\x20be\x20clear','_originalHostOrSocketPath','readUInt16BE','wasClean','invalid\x20status\x20code\x20','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_read','server','onopen','handleUpgrade','createInflateRaw','username','_deflate','_req','_errorEmitted','socketPath','upgrade','writable','_shouldEmitClose','_allowSynchronousEvents','Unsupported\x20protocol\x20version:\x20','crypto','create','port','Plugin','\x22:\x20','7WlyAVK','invalid\x20payload\x20length\x20','total-length','handleEvent','conclude','string','Invalid\x20HTTP\x20method','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','@univerjs-pro/collaboration-client','kMessage','kCode','enqueue','createDeflateRaw','_redirects','dequeue','The\x20server\x20is\x20not\x20running','sec-websocket-protocol','\x22\x20must\x20have\x20only\x20a\x20single\x20value','kDone','Origin','clientNoContextTakeover','keys','dispatch','prototype','nextTick','frame','servername','connect','host','Sec-WebSocket-Origin','events','getMask','threshold','pause','isValidUTF8','destroy','_payloadLength','_fragmented','concurrencyLimit','zlib','_url','maxRedirects','text/html','sec-websocket-accept','server_no_context_takeover','_write','14102240mWXgjO','options','writeHead','DependentOn','test','Invalid\x20Sec-WebSocket-Extensions\x20header','_writableState','serverMaxWindowBits','objectMode','toString','uncork','isArray','\x22\x20subprotocol\x20is\x20duplicated','addEventListener','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','WS_NO_UTF_8_VALIDATE','parse','customHeaders','1337885jLdVuq','catch','defineProperty','_extensions','shift','statusCode','hasOwnProperty','generateMask','getPayloadLength64','IConfigService','__esModule','acceptAsClient','toStringTag','path','sec-websocket-extensions','delete','tls','href','WS_ERR_INVALID_OPCODE','function','noServer'];_0x3189=function(){return _0x5bf198;};return _0x3189();}var Ye;function ae(){const _0x954f54=_0x10e5eb;if(Ye)return ie[_0x954f54(0x306)];Ye=0x1;const {isUtf8:_0x1cbcc1}=wt,{hasBlob:_0x23a4ea}=H(),_0x532803=[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 _0x4caf2b(_0x133a4c){return _0x133a4c>=0x3e8&&_0x133a4c<=0x3f6&&_0x133a4c!==0x3ec&&_0x133a4c!==0x3ed&&_0x133a4c!==0x3ee||_0x133a4c>=0xbb8&&_0x133a4c<=0x1387;}function _0x3abdfb(_0x934aa2){const _0x1d6b57=_0x954f54,_0x1f749=_0x934aa2[_0x1d6b57(0x311)];let _0x35cef2=0x0;for(;_0x35cef2<_0x1f749;)if((_0x934aa2[_0x35cef2]&0x80)===0x0)_0x35cef2++;else{if((_0x934aa2[_0x35cef2]&0xe0)===0xc0){if(_0x35cef2+0x1===_0x1f749||(_0x934aa2[_0x35cef2+0x1]&0xc0)!==0x80||(_0x934aa2[_0x35cef2]&0xfe)===0xc0)return!0x1;_0x35cef2+=0x2;}else{if((_0x934aa2[_0x35cef2]&0xf0)===0xe0){if(_0x35cef2+0x2>=_0x1f749||(_0x934aa2[_0x35cef2+0x1]&0xc0)!==0x80||(_0x934aa2[_0x35cef2+0x2]&0xc0)!==0x80||_0x934aa2[_0x35cef2]===0xe0&&(_0x934aa2[_0x35cef2+0x1]&0xe0)===0x80||_0x934aa2[_0x35cef2]===0xed&&(_0x934aa2[_0x35cef2+0x1]&0xe0)===0xa0)return!0x1;_0x35cef2+=0x3;}else{if((_0x934aa2[_0x35cef2]&0xf8)===0xf0){if(_0x35cef2+0x3>=_0x1f749||(_0x934aa2[_0x35cef2+0x1]&0xc0)!==0x80||(_0x934aa2[_0x35cef2+0x2]&0xc0)!==0x80||(_0x934aa2[_0x35cef2+0x3]&0xc0)!==0x80||_0x934aa2[_0x35cef2]===0xf0&&(_0x934aa2[_0x35cef2+0x1]&0xf0)===0x80||_0x934aa2[_0x35cef2]===0xf4&&_0x934aa2[_0x35cef2+0x1]>0x8f||_0x934aa2[_0x35cef2]>0xf4)return!0x1;_0x35cef2+=0x4;}else return!0x1;}}}return!0x0;}function _0x4c3d83(_0x56c78e){const _0x2a7d05=_0x954f54;return _0x23a4ea&&typeof _0x56c78e==_0x2a7d05(0x175)&&typeof _0x56c78e['arrayBuffer']=='function'&&typeof _0x56c78e[_0x2a7d05(0x211)]==_0x2a7d05(0x27a)&&typeof _0x56c78e[_0x2a7d05(0x31c)]=='function'&&(_0x56c78e[Symbol[_0x2a7d05(0x2c1)]]===_0x2a7d05(0x2f1)||_0x56c78e[Symbol['toStringTag']]===_0x2a7d05(0x2cb));}if(ie[_0x954f54(0x306)]={'isBlob':_0x4c3d83,'isValidStatusCode':_0x4caf2b,'isValidUTF8':_0x3abdfb,'tokenChars':_0x532803},_0x1cbcc1)ie['exports'][_0x954f54(0x297)]=function(_0x2a5cf7){const _0x1b8072=_0x954f54;return _0x2a5cf7[_0x1b8072(0x311)]<0x18?_0x3abdfb(_0x2a5cf7):_0x1cbcc1(_0x2a5cf7);};else{if(!process['env'][_0x954f54(0x2b2)])try{const _0x1be10f=Bt;ie[_0x954f54(0x306)][_0x954f54(0x297)]=function(_0x32d650){const _0x3e4085=_0x954f54;return _0x32d650[_0x3e4085(0x311)]<0x20?_0x3abdfb(_0x32d650):_0x1be10f(_0x32d650);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x4065aa=_0x10e5eb;if(Ke)return Se;Ke=0x1;const {Writable:_0x3cf6e8}=oe,_0x147e93=he(),{BINARY_TYPES:_0x6e16a1,EMPTY_BUFFER:_0x24f1ca,kStatusCode:_0xc9b460,kWebSocket:_0x55ce07}=H(),{concat:_0x4e12eb,toArrayBuffer:_0x238115,unmask:_0x1c8841}=ce(),{isValidStatusCode:_0x5c21ed,isValidUTF8:_0x333fc9}=ae(),_0x14d81b=Buffer[Symbol[_0x4065aa(0x2cc)]],_0x154fe8=0x0,_0x5cf362=0x1,_0x37a891=0x2,_0x453a86=0x3,_0x3a51ad=0x4,_0x5886fb=0x5,_0x554f14=0x6;class _0x3ee097 extends _0x3cf6e8{constructor(_0x2d8bce={}){const _0x19338f=_0x4065aa;super(),this[_0x19338f(0x26e)]=_0x2d8bce[_0x19338f(0x1a0)]!==void 0x0?_0x2d8bce[_0x19338f(0x1a0)]:!0x0,this[_0x19338f(0x196)]=_0x2d8bce[_0x19338f(0x21d)]||_0x6e16a1[0x0],this['_extensions']=_0x2d8bce[_0x19338f(0x207)]||{},this[_0x19338f(0x16f)]=!!_0x2d8bce[_0x19338f(0x31d)],this[_0x19338f(0x18e)]=_0x2d8bce[_0x19338f(0x19e)]|0x0,this[_0x19338f(0x331)]=!!_0x2d8bce['skipUTF8Validation'],this[_0x55ce07]=void 0x0,this[_0x19338f(0x24e)]=0x0,this[_0x19338f(0x1e4)]=[],this['_compressed']=!0x1,this[_0x19338f(0x299)]=0x0,this['_mask']=void 0x0,this[_0x19338f(0x29a)]=0x0,this[_0x19338f(0x22c)]=!0x1,this[_0x19338f(0x256)]=!0x1,this['_opcode']=0x0,this[_0x19338f(0x32d)]=0x0,this[_0x19338f(0x32e)]=0x0,this[_0x19338f(0x2f0)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this[_0x19338f(0x195)]=_0x154fe8;}[_0x4065aa(0x2a2)](_0xd3fbe3,_0x5d5b4f,_0x172205){const _0xbb78f7=_0x4065aa;if(this[_0xbb78f7(0x1dc)]===0x8&&this[_0xbb78f7(0x195)]==_0x154fe8)return _0x172205();this['_bufferedBytes']+=_0xd3fbe3['length'],this[_0xbb78f7(0x1e4)][_0xbb78f7(0x315)](_0xd3fbe3),this[_0xbb78f7(0x2d9)](_0x172205);}[_0x4065aa(0x24c)](_0x1cd407){const _0x266849=_0x4065aa;if(this[_0x266849(0x24e)]-=_0x1cd407,_0x1cd407===this[_0x266849(0x1e4)][0x0][_0x266849(0x311)])return this['_buffers'][_0x266849(0x2b9)]();if(_0x1cd407<this[_0x266849(0x1e4)][0x0][_0x266849(0x311)]){const _0x30289e=this[_0x266849(0x1e4)][0x0];return this['_buffers'][0x0]=new _0x14d81b(_0x30289e[_0x266849(0x174)],_0x30289e[_0x266849(0x1c7)]+_0x1cd407,_0x30289e['length']-_0x1cd407),new _0x14d81b(_0x30289e[_0x266849(0x174)],_0x30289e[_0x266849(0x1c7)],_0x1cd407);}const _0x250819=Buffer[_0x266849(0x30b)](_0x1cd407);do{const _0xfd09b2=this[_0x266849(0x1e4)][0x0],_0x3d7eb7=_0x250819[_0x266849(0x311)]-_0x1cd407;_0x1cd407>=_0xfd09b2[_0x266849(0x311)]?_0x250819[_0x266849(0x185)](this[_0x266849(0x1e4)]['shift'](),_0x3d7eb7):(_0x250819[_0x266849(0x185)](new Uint8Array(_0xfd09b2[_0x266849(0x174)],_0xfd09b2[_0x266849(0x1c7)],_0x1cd407),_0x3d7eb7),this[_0x266849(0x1e4)][0x0]=new _0x14d81b(_0xfd09b2[_0x266849(0x174)],_0xfd09b2['byteOffset']+_0x1cd407,_0xfd09b2[_0x266849(0x311)]-_0x1cd407)),_0x1cd407-=_0xfd09b2['length'];}while(_0x1cd407>0x0);return _0x250819;}[_0x4065aa(0x2d9)](_0x4afdca){const _0x58b03d=_0x4065aa;this[_0x58b03d(0x1db)]=!0x0;do switch(this[_0x58b03d(0x195)]){case _0x154fe8:this[_0x58b03d(0x1a4)](_0x4afdca);break;case _0x5cf362:this[_0x58b03d(0x239)](_0x4afdca);break;case _0x37a891:this['getPayloadLength64'](_0x4afdca);break;case _0x453a86:this[_0x58b03d(0x294)]();break;case _0x3a51ad:this[_0x58b03d(0x1cb)](_0x4afdca);break;case _0x5886fb:case _0x554f14:this[_0x58b03d(0x1db)]=!0x1;return;}while(this[_0x58b03d(0x1db)]);this['_errored']||_0x4afdca();}[_0x4065aa(0x1a4)](_0x77519){const _0x176c43=_0x4065aa;if(this[_0x176c43(0x24e)]<0x2){this['_loop']=!0x1;return;}const _0x104450=this[_0x176c43(0x24c)](0x2);if((_0x104450[0x0]&0x30)!==0x0){const _0x1ef3e9=this[_0x176c43(0x1a5)](RangeError,_0x176c43(0x240),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x77519(_0x1ef3e9);return;}const _0x46fd9d=(_0x104450[0x0]&0x40)===0x40;if(_0x46fd9d&&!this['_extensions'][_0x147e93[_0x176c43(0x1e1)]]){const _0x3be4d3=this[_0x176c43(0x1a5)](RangeError,_0x176c43(0x25b),!0x0,0x3ea,_0x176c43(0x302));_0x77519(_0x3be4d3);return;}if(this['_fin']=(_0x104450[0x0]&0x80)===0x80,this[_0x176c43(0x1dc)]=_0x104450[0x0]&0xf,this['_payloadLength']=_0x104450[0x1]&0x7f,this[_0x176c43(0x1dc)]===0x0){if(_0x46fd9d){const _0x205a01=this[_0x176c43(0x1a5)](RangeError,_0x176c43(0x25b),!0x0,0x3ea,_0x176c43(0x302));_0x77519(_0x205a01);return;}if(!this[_0x176c43(0x29a)]){const _0xa42d34=this[_0x176c43(0x1a5)](RangeError,_0x176c43(0x1d9),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x77519(_0xa42d34);return;}this[_0x176c43(0x1dc)]=this[_0x176c43(0x29a)];}else{if(this[_0x176c43(0x1dc)]===0x1||this[_0x176c43(0x1dc)]===0x2){if(this[_0x176c43(0x29a)]){const _0x5198d5=this[_0x176c43(0x1a5)](RangeError,_0x176c43(0x24d)+this[_0x176c43(0x1dc)],!0x0,0x3ea,_0x176c43(0x2c7));_0x77519(_0x5198d5);return;}this['_compressed']=_0x46fd9d;}else{if(this[_0x176c43(0x1dc)]>0x7&&this[_0x176c43(0x1dc)]<0xb){if(!this[_0x176c43(0x256)]){const _0x2acc0e=this[_0x176c43(0x1a5)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x176c43(0x237));_0x77519(_0x2acc0e);return;}if(_0x46fd9d){const _0x1569af=this[_0x176c43(0x1a5)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x176c43(0x302));_0x77519(_0x1569af);return;}if(this[_0x176c43(0x299)]>0x7d||this[_0x176c43(0x1dc)]===0x8&&this[_0x176c43(0x299)]===0x1){const _0x413c80=this['createError'](RangeError,_0x176c43(0x276)+this['_payloadLength'],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x77519(_0x413c80);return;}}else{const _0x4f6b5f=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x176c43(0x1dc)],!0x0,0x3ea,_0x176c43(0x2c7));_0x77519(_0x4f6b5f);return;}}}if(!this[_0x176c43(0x256)]&&!this[_0x176c43(0x29a)]&&(this[_0x176c43(0x29a)]=this[_0x176c43(0x1dc)]),this[_0x176c43(0x22c)]=(_0x104450[0x1]&0x80)===0x80,this[_0x176c43(0x16f)]){if(!this[_0x176c43(0x22c)]){const _0x171ab0=this['createError'](RangeError,_0x176c43(0x2d4),!0x0,0x3ea,_0x176c43(0x184));_0x77519(_0x171ab0);return;}}else{if(this[_0x176c43(0x22c)]){const _0x3759ac=this[_0x176c43(0x1a5)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x77519(_0x3759ac);return;}}this[_0x176c43(0x299)]===0x7e?this[_0x176c43(0x195)]=_0x5cf362:this[_0x176c43(0x299)]===0x7f?this[_0x176c43(0x195)]=_0x37a891:this[_0x176c43(0x246)](_0x77519);}['getPayloadLength16'](_0x2dfed8){const _0x49daf4=_0x4065aa;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}this['_payloadLength']=this['consume'](0x2)[_0x49daf4(0x25d)](0x0),this[_0x49daf4(0x246)](_0x2dfed8);}[_0x4065aa(0x2bd)](_0x467ee3){const _0x44f195=_0x4065aa;if(this['_bufferedBytes']<0x8){this[_0x44f195(0x1db)]=!0x1;return;}const _0x3e2d0c=this[_0x44f195(0x24c)](0x8),_0x4f801b=_0x3e2d0c['readUInt32BE'](0x0);if(_0x4f801b>Math[_0x44f195(0x17f)](0x2,0x15)-0x1){const _0x394271=this[_0x44f195(0x1a5)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x44f195(0x1f4));_0x467ee3(_0x394271);return;}this[_0x44f195(0x299)]=_0x4f801b*Math['pow'](0x2,0x20)+_0x3e2d0c[_0x44f195(0x204)](0x4),this[_0x44f195(0x246)](_0x467ee3);}['haveLength'](_0x54838c){const _0x31f8ca=_0x4065aa;if(this[_0x31f8ca(0x299)]&&this[_0x31f8ca(0x1dc)]<0x8&&(this[_0x31f8ca(0x32d)]+=this['_payloadLength'],this[_0x31f8ca(0x32d)]>this[_0x31f8ca(0x18e)]&&this[_0x31f8ca(0x18e)]>0x0)){const _0x44ac32=this[_0x31f8ca(0x1a5)](RangeError,_0x31f8ca(0x2f4),!0x1,0x3f1,_0x31f8ca(0x172));_0x54838c(_0x44ac32);return;}this['_masked']?this[_0x31f8ca(0x195)]=_0x453a86:this[_0x31f8ca(0x195)]=_0x3a51ad;}[_0x4065aa(0x294)](){const _0x549106=_0x4065aa;if(this[_0x549106(0x24e)]<0x4){this[_0x549106(0x1db)]=!0x1;return;}this[_0x549106(0x217)]=this['consume'](0x4),this['_state']=_0x3a51ad;}['getData'](_0xc89fba){const _0x47a83b=_0x4065aa;let _0x7aa21d=_0x24f1ca;if(this[_0x47a83b(0x299)]){if(this[_0x47a83b(0x24e)]<this[_0x47a83b(0x299)]){this[_0x47a83b(0x1db)]=!0x1;return;}_0x7aa21d=this[_0x47a83b(0x24c)](this[_0x47a83b(0x299)]),this['_masked']&&(this[_0x47a83b(0x217)][0x0]|this[_0x47a83b(0x217)][0x1]|this[_0x47a83b(0x217)][0x2]|this['_mask'][0x3])!==0x0&&_0x1c8841(_0x7aa21d,this['_mask']);}if(this[_0x47a83b(0x1dc)]>0x7){this['controlMessage'](_0x7aa21d,_0xc89fba);return;}if(this[_0x47a83b(0x2ef)]){this[_0x47a83b(0x195)]=_0x5886fb,this[_0x47a83b(0x18c)](_0x7aa21d,_0xc89fba);return;}_0x7aa21d['length']&&(this['_messageLength']=this[_0x47a83b(0x32d)],this['_fragments'][_0x47a83b(0x315)](_0x7aa21d)),this[_0x47a83b(0x190)](_0xc89fba);}[_0x4065aa(0x18c)](_0xaf57ba,_0x598a67){const _0x255cd5=_0x4065aa;this[_0x255cd5(0x2b8)][_0x147e93[_0x255cd5(0x1e1)]]['decompress'](_0xaf57ba,this[_0x255cd5(0x256)],(_0x2d3957,_0x2e69c7)=>{const _0x327800=_0x255cd5;if(_0x2d3957)return _0x598a67(_0x2d3957);if(_0x2e69c7[_0x327800(0x311)]){if(this['_messageLength']+=_0x2e69c7[_0x327800(0x311)],this['_messageLength']>this['_maxPayload']&&this[_0x327800(0x18e)]>0x0){const _0x86f678=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x327800(0x172));_0x598a67(_0x86f678);return;}this[_0x327800(0x2f0)]['push'](_0x2e69c7);}this[_0x327800(0x190)](_0x598a67),this[_0x327800(0x195)]===_0x154fe8&&this[_0x327800(0x2d9)](_0x598a67);});}['dataMessage'](_0x567dc0){const _0x4f9ecf=_0x4065aa;if(!this[_0x4f9ecf(0x256)]){this['_state']=_0x154fe8;return;}const _0x33918d=this[_0x4f9ecf(0x32e)],_0x2b0539=this[_0x4f9ecf(0x2f0)];if(this[_0x4f9ecf(0x32d)]=0x0,this[_0x4f9ecf(0x32e)]=0x0,this['_fragmented']=0x0,this[_0x4f9ecf(0x2f0)]=[],this[_0x4f9ecf(0x1dc)]===0x2){let _0x4cc384;this['_binaryType']===_0x4f9ecf(0x20d)?_0x4cc384=_0x4e12eb(_0x2b0539,_0x33918d):this[_0x4f9ecf(0x196)]===_0x4f9ecf(0x17b)?_0x4cc384=_0x238115(_0x4e12eb(_0x2b0539,_0x33918d)):this[_0x4f9ecf(0x196)]==='blob'?_0x4cc384=new Blob(_0x2b0539):_0x4cc384=_0x2b0539,this[_0x4f9ecf(0x26e)]?(this[_0x4f9ecf(0x2d6)](_0x4f9ecf(0x22f),_0x4cc384,!0x0),this[_0x4f9ecf(0x195)]=_0x154fe8):(this['_state']=_0x554f14,setImmediate(()=>{const _0x4ee045=_0x4f9ecf;this['emit']('message',_0x4cc384,!0x0),this[_0x4ee045(0x195)]=_0x154fe8,this['startLoop'](_0x567dc0);}));}else{const _0x4318b7=_0x4e12eb(_0x2b0539,_0x33918d);if(!this[_0x4f9ecf(0x331)]&&!_0x333fc9(_0x4318b7)){const _0x393d50=this[_0x4f9ecf(0x1a5)](Error,_0x4f9ecf(0x1df),!0x0,0x3ef,_0x4f9ecf(0x194));_0x567dc0(_0x393d50);return;}this[_0x4f9ecf(0x195)]===_0x5886fb||this['_allowSynchronousEvents']?(this[_0x4f9ecf(0x2d6)](_0x4f9ecf(0x22f),_0x4318b7,!0x1),this[_0x4f9ecf(0x195)]=_0x154fe8):(this[_0x4f9ecf(0x195)]=_0x554f14,setImmediate(()=>{const _0x5c1257=_0x4f9ecf;this[_0x5c1257(0x2d6)]('message',_0x4318b7,!0x1),this[_0x5c1257(0x195)]=_0x154fe8,this[_0x5c1257(0x2d9)](_0x567dc0);}));}}['controlMessage'](_0x3128a6,_0x3a2fe5){const _0x109006=_0x4065aa;if(this[_0x109006(0x1dc)]===0x8){if(_0x3128a6[_0x109006(0x311)]===0x0)this[_0x109006(0x1db)]=!0x1,this[_0x109006(0x2d6)](_0x109006(0x279),0x3ed,_0x24f1ca),this['end']();else{const _0x58d148=_0x3128a6[_0x109006(0x25d)](0x0);if(!_0x5c21ed(_0x58d148)){const _0x41bad7=this[_0x109006(0x1a5)](RangeError,_0x109006(0x25f)+_0x58d148,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x3a2fe5(_0x41bad7);return;}const _0x18542f=new _0x14d81b(_0x3128a6[_0x109006(0x174)],_0x3128a6[_0x109006(0x1c7)]+0x2,_0x3128a6[_0x109006(0x311)]-0x2);if(!this[_0x109006(0x331)]&&!_0x333fc9(_0x18542f)){const _0x1bcdaf=this[_0x109006(0x1a5)](Error,_0x109006(0x1df),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x3a2fe5(_0x1bcdaf);return;}this['_loop']=!0x1,this[_0x109006(0x2d6)](_0x109006(0x279),_0x58d148,_0x18542f),this[_0x109006(0x210)]();}this[_0x109006(0x195)]=_0x154fe8;return;}this[_0x109006(0x26e)]?(this[_0x109006(0x2d6)](this[_0x109006(0x1dc)]===0x9?_0x109006(0x1a3):_0x109006(0x1ba),_0x3128a6),this[_0x109006(0x195)]=_0x154fe8):(this[_0x109006(0x195)]=_0x554f14,setImmediate(()=>{const _0x2c4aae=_0x109006;this[_0x2c4aae(0x2d6)](this['_opcode']===0x9?'ping':_0x2c4aae(0x1ba),_0x3128a6),this[_0x2c4aae(0x195)]=_0x154fe8,this[_0x2c4aae(0x2d9)](_0x3a2fe5);}));}[_0x4065aa(0x1a5)](_0x326e6b,_0x39aeaf,_0x2c0046,_0x2d0ff3,_0x2b4693){const _0x41ba80=_0x4065aa;this['_loop']=!0x1,this[_0x41ba80(0x1ca)]=!0x0;const _0x14c38a=new _0x326e6b(_0x2c0046?'Invalid\x20WebSocket\x20frame:\x20'+_0x39aeaf:_0x39aeaf);return Error[_0x41ba80(0x228)](_0x14c38a,this[_0x41ba80(0x1a5)]),_0x14c38a['code']=_0x2b4693,_0x14c38a[_0xc9b460]=_0x2d0ff3,_0x14c38a;}}return Se=_0x3ee097,Se;}var Ee,Xe;function ft(){const _0x2ca291=_0x10e5eb;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x2d1332}=oe,{randomFillSync:_0x5f59f4}=Le,_0x2db77b=he(),{EMPTY_BUFFER:_0x4eb43f,kWebSocket:_0x3797da,NOOP:_0x5a607d}=H(),{isBlob:_0x1a1a77,isValidStatusCode:_0x4bdde3}=ae(),{mask:_0x33b2bf,toBuffer:_0x262c16}=ce(),_0xb9a08f=Symbol(_0x2ca291(0x226)),_0x434900=Buffer['alloc'](0x4),_0x12d35e=0x8*0x400;let _0x314dad,_0x4f5b20=_0x12d35e;const _0x54e16c=0x0,_0xdee274=0x1,_0x15eeee=0x2;class _0x330cbb{constructor(_0x19b944,_0x3cecbe,_0x2aaff7){const _0x3fefe7=_0x2ca291;this['_extensions']=_0x3cecbe||{},_0x2aaff7&&(this['_generateMask']=_0x2aaff7,this[_0x3fefe7(0x16e)]=Buffer['alloc'](0x4)),this[_0x3fefe7(0x30c)]=_0x19b944,this[_0x3fefe7(0x314)]=!0x0,this[_0x3fefe7(0x2ed)]=!0x1,this[_0x3fefe7(0x24e)]=0x0,this[_0x3fefe7(0x227)]=[],this[_0x3fefe7(0x195)]=_0x54e16c,this[_0x3fefe7(0x203)]=_0x5a607d,this[_0x3797da]=void 0x0;}static[_0x2ca291(0x28e)](_0x19ab97,_0x3cf4b1){const _0x3e2c7a=_0x2ca291;let _0x5a70fe,_0x3ec0cb=!0x1,_0x308168=0x2,_0x3a7604=!0x1;_0x3cf4b1[_0x3e2c7a(0x2f9)]&&(_0x5a70fe=_0x3cf4b1[_0x3e2c7a(0x2fd)]||_0x434900,_0x3cf4b1[_0x3e2c7a(0x2bc)]?_0x3cf4b1[_0x3e2c7a(0x2bc)](_0x5a70fe):(_0x4f5b20===_0x12d35e&&(_0x314dad===void 0x0&&(_0x314dad=Buffer[_0x3e2c7a(0x1aa)](_0x12d35e)),_0x5f59f4(_0x314dad,0x0,_0x12d35e),_0x4f5b20=0x0),_0x5a70fe[0x0]=_0x314dad[_0x4f5b20++],_0x5a70fe[0x1]=_0x314dad[_0x4f5b20++],_0x5a70fe[0x2]=_0x314dad[_0x4f5b20++],_0x5a70fe[0x3]=_0x314dad[_0x4f5b20++]),_0x3a7604=(_0x5a70fe[0x0]|_0x5a70fe[0x1]|_0x5a70fe[0x2]|_0x5a70fe[0x3])===0x0,_0x308168=0x6);let _0x487283;typeof _0x19ab97==_0x3e2c7a(0x27a)?(!_0x3cf4b1[_0x3e2c7a(0x2f9)]||_0x3a7604)&&_0x3cf4b1[_0xb9a08f]!==void 0x0?_0x487283=_0x3cf4b1[_0xb9a08f]:(_0x19ab97=Buffer[_0x3e2c7a(0x2f8)](_0x19ab97),_0x487283=_0x19ab97[_0x3e2c7a(0x311)]):(_0x487283=_0x19ab97['length'],_0x3ec0cb=_0x3cf4b1['mask']&&_0x3cf4b1[_0x3e2c7a(0x241)]&&!_0x3a7604);let _0x43fbf3=_0x487283;_0x487283>=0x10000?(_0x308168+=0x8,_0x43fbf3=0x7f):_0x487283>0x7d&&(_0x308168+=0x2,_0x43fbf3=0x7e);const _0x33fe4b=Buffer[_0x3e2c7a(0x30b)](_0x3ec0cb?_0x487283+_0x308168:_0x308168);return _0x33fe4b[0x0]=_0x3cf4b1[_0x3e2c7a(0x2d5)]?_0x3cf4b1['opcode']|0x80:_0x3cf4b1[_0x3e2c7a(0x317)],_0x3cf4b1[_0x3e2c7a(0x2ca)]&&(_0x33fe4b[0x0]|=0x40),_0x33fe4b[0x1]=_0x43fbf3,_0x43fbf3===0x7e?_0x33fe4b['writeUInt16BE'](_0x487283,0x2):_0x43fbf3===0x7f&&(_0x33fe4b[0x2]=_0x33fe4b[0x3]=0x0,_0x33fe4b[_0x3e2c7a(0x2fa)](_0x487283,0x4,0x6)),_0x3cf4b1[_0x3e2c7a(0x2f9)]?(_0x33fe4b[0x1]|=0x80,_0x33fe4b[_0x308168-0x4]=_0x5a70fe[0x0],_0x33fe4b[_0x308168-0x3]=_0x5a70fe[0x1],_0x33fe4b[_0x308168-0x2]=_0x5a70fe[0x2],_0x33fe4b[_0x308168-0x1]=_0x5a70fe[0x3],_0x3a7604?[_0x33fe4b,_0x19ab97]:_0x3ec0cb?(_0x33b2bf(_0x19ab97,_0x5a70fe,_0x33fe4b,_0x308168,_0x487283),[_0x33fe4b]):(_0x33b2bf(_0x19ab97,_0x5a70fe,_0x19ab97,0x0,_0x487283),[_0x33fe4b,_0x19ab97])):[_0x33fe4b,_0x19ab97];}['close'](_0x49570b,_0x504e48,_0x4910c7,_0x4af8bf){const _0x377126=_0x2ca291;let _0x33a56e;if(_0x49570b===void 0x0)_0x33a56e=_0x4eb43f;else{if(typeof _0x49570b!=_0x377126(0x1e3)||!_0x4bdde3(_0x49570b))throw new TypeError(_0x377126(0x2d2));if(_0x504e48===void 0x0||!_0x504e48[_0x377126(0x311)])_0x33a56e=Buffer[_0x377126(0x30b)](0x2),_0x33a56e[_0x377126(0x1b4)](_0x49570b,0x0);else{const _0x30c981=Buffer[_0x377126(0x1f1)](_0x504e48);if(_0x30c981>0x7b)throw new RangeError(_0x377126(0x1e9));_0x33a56e=Buffer[_0x377126(0x30b)](0x2+_0x30c981),_0x33a56e[_0x377126(0x1b4)](_0x49570b,0x0),typeof _0x504e48=='string'?_0x33a56e['write'](_0x504e48,0x2):_0x33a56e[_0x377126(0x185)](_0x504e48,0x2);}}const _0x4cc67f={[_0xb9a08f]:_0x33a56e[_0x377126(0x311)],'fin':!0x0,'generateMask':this[_0x377126(0x310)],'mask':_0x4910c7,'maskBuffer':this[_0x377126(0x16e)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x54e16c?this[_0x377126(0x280)]([this[_0x377126(0x28b)],_0x33a56e,!0x1,_0x4cc67f,_0x4af8bf]):this[_0x377126(0x17c)](_0x330cbb[_0x377126(0x28e)](_0x33a56e,_0x4cc67f),_0x4af8bf);}[_0x2ca291(0x1a3)](_0x5f466e,_0x26f58b,_0x11fc57){const _0x328146=_0x2ca291;let _0x4af42c,_0x3d4be1;if(typeof _0x5f466e=='string'?(_0x4af42c=Buffer['byteLength'](_0x5f466e),_0x3d4be1=!0x1):_0x1a1a77(_0x5f466e)?(_0x4af42c=_0x5f466e[_0x328146(0x1bf)],_0x3d4be1=!0x1):(_0x5f466e=_0x262c16(_0x5f466e),_0x4af42c=_0x5f466e[_0x328146(0x311)],_0x3d4be1=_0x262c16['readOnly']),_0x4af42c>0x7d)throw new RangeError(_0x328146(0x2e9));const _0x48cbdd={[_0xb9a08f]:_0x4af42c,'fin':!0x0,'generateMask':this[_0x328146(0x310)],'mask':_0x26f58b,'maskBuffer':this[_0x328146(0x16e)],'opcode':0x9,'readOnly':_0x3d4be1,'rsv1':!0x1};_0x1a1a77(_0x5f466e)?this[_0x328146(0x195)]!==_0x54e16c?this[_0x328146(0x280)]([this[_0x328146(0x1c0)],_0x5f466e,!0x1,_0x48cbdd,_0x11fc57]):this[_0x328146(0x1c0)](_0x5f466e,!0x1,_0x48cbdd,_0x11fc57):this[_0x328146(0x195)]!==_0x54e16c?this[_0x328146(0x280)]([this[_0x328146(0x28b)],_0x5f466e,!0x1,_0x48cbdd,_0x11fc57]):this[_0x328146(0x17c)](_0x330cbb[_0x328146(0x28e)](_0x5f466e,_0x48cbdd),_0x11fc57);}[_0x2ca291(0x1ba)](_0x295e53,_0x4a6fcd,_0x5237a4){const _0x37d153=_0x2ca291;let _0xf76ed2,_0x395462;if(typeof _0x295e53==_0x37d153(0x27a)?(_0xf76ed2=Buffer[_0x37d153(0x1f1)](_0x295e53),_0x395462=!0x1):_0x1a1a77(_0x295e53)?(_0xf76ed2=_0x295e53[_0x37d153(0x1bf)],_0x395462=!0x1):(_0x295e53=_0x262c16(_0x295e53),_0xf76ed2=_0x295e53['length'],_0x395462=_0x262c16[_0x37d153(0x241)]),_0xf76ed2>0x7d)throw new RangeError(_0x37d153(0x2e9));const _0x3937b6={[_0xb9a08f]:_0xf76ed2,'fin':!0x0,'generateMask':this[_0x37d153(0x310)],'mask':_0x4a6fcd,'maskBuffer':this[_0x37d153(0x16e)],'opcode':0xa,'readOnly':_0x395462,'rsv1':!0x1};_0x1a1a77(_0x295e53)?this[_0x37d153(0x195)]!==_0x54e16c?this[_0x37d153(0x280)]([this['getBlobData'],_0x295e53,!0x1,_0x3937b6,_0x5237a4]):this[_0x37d153(0x1c0)](_0x295e53,!0x1,_0x3937b6,_0x5237a4):this[_0x37d153(0x195)]!==_0x54e16c?this[_0x37d153(0x280)]([this['dispatch'],_0x295e53,!0x1,_0x3937b6,_0x5237a4]):this[_0x37d153(0x17c)](_0x330cbb[_0x37d153(0x28e)](_0x295e53,_0x3937b6),_0x5237a4);}[_0x2ca291(0x2f6)](_0x55ddf1,_0x372b92,_0x418eb3){const _0xf3e7a6=_0x2ca291,_0x2047b1=this[_0xf3e7a6(0x2b8)][_0x2db77b[_0xf3e7a6(0x1e1)]];let _0x122009=_0x372b92[_0xf3e7a6(0x242)]?0x2:0x1,_0x15967c=_0x372b92[_0xf3e7a6(0x208)],_0x359461,_0x5a858f;typeof _0x55ddf1==_0xf3e7a6(0x27a)?(_0x359461=Buffer['byteLength'](_0x55ddf1),_0x5a858f=!0x1):_0x1a1a77(_0x55ddf1)?(_0x359461=_0x55ddf1[_0xf3e7a6(0x1bf)],_0x5a858f=!0x1):(_0x55ddf1=_0x262c16(_0x55ddf1),_0x359461=_0x55ddf1[_0xf3e7a6(0x311)],_0x5a858f=_0x262c16[_0xf3e7a6(0x241)]),this[_0xf3e7a6(0x314)]?(this['_firstFragment']=!0x1,_0x15967c&&_0x2047b1&&_0x2047b1[_0xf3e7a6(0x2de)][_0x2047b1[_0xf3e7a6(0x16f)]?_0xf3e7a6(0x2a1):_0xf3e7a6(0x245)]&&(_0x15967c=_0x359461>=_0x2047b1[_0xf3e7a6(0x32a)]),this[_0xf3e7a6(0x2ed)]=_0x15967c):(_0x15967c=!0x1,_0x122009=0x0),_0x372b92[_0xf3e7a6(0x2d5)]&&(this[_0xf3e7a6(0x314)]=!0x0);const _0x3f710e={[_0xb9a08f]:_0x359461,'fin':_0x372b92[_0xf3e7a6(0x2d5)],'generateMask':this[_0xf3e7a6(0x310)],'mask':_0x372b92['mask'],'maskBuffer':this[_0xf3e7a6(0x16e)],'opcode':_0x122009,'readOnly':_0x5a858f,'rsv1':_0x15967c};_0x1a1a77(_0x55ddf1)?this[_0xf3e7a6(0x195)]!==_0x54e16c?this[_0xf3e7a6(0x280)]([this[_0xf3e7a6(0x1c0)],_0x55ddf1,this[_0xf3e7a6(0x2ed)],_0x3f710e,_0x418eb3]):this[_0xf3e7a6(0x1c0)](_0x55ddf1,this[_0xf3e7a6(0x2ed)],_0x3f710e,_0x418eb3):this[_0xf3e7a6(0x195)]!==_0x54e16c?this[_0xf3e7a6(0x280)]([this['dispatch'],_0x55ddf1,this[_0xf3e7a6(0x2ed)],_0x3f710e,_0x418eb3]):this[_0xf3e7a6(0x28b)](_0x55ddf1,this[_0xf3e7a6(0x2ed)],_0x3f710e,_0x418eb3);}[_0x2ca291(0x1c0)](_0x28c809,_0x2b4422,_0x125578,_0xd2dc81){const _0x577b0a=_0x2ca291;this['_bufferedBytes']+=_0x125578[_0xb9a08f],this[_0x577b0a(0x195)]=_0x15eeee,_0x28c809['arrayBuffer']()['then'](_0x8acf5b=>{const _0x584ba5=_0x577b0a;if(this[_0x584ba5(0x30c)][_0x584ba5(0x1ae)]){const _0x2b1572=new Error(_0x584ba5(0x32c));process['nextTick'](_0x499ca2,this,_0x2b1572,_0xd2dc81);return;}this['_bufferedBytes']-=_0x125578[_0xb9a08f];const _0x4377ec=_0x262c16(_0x8acf5b);_0x2b4422?this[_0x584ba5(0x28b)](_0x4377ec,_0x2b4422,_0x125578,_0xd2dc81):(this[_0x584ba5(0x195)]=_0x54e16c,this['sendFrame'](_0x330cbb['frame'](_0x4377ec,_0x125578),_0xd2dc81),this[_0x584ba5(0x283)]());})[_0x577b0a(0x2b6)](_0x7baf98=>{const _0x50850d=_0x577b0a;process[_0x50850d(0x28d)](_0xbd0ac4,this,_0x7baf98,_0xd2dc81);});}[_0x2ca291(0x28b)](_0x357d81,_0x59a589,_0x450e7d,_0x28a0cc){const _0x18c213=_0x2ca291;if(!_0x59a589){this[_0x18c213(0x17c)](_0x330cbb[_0x18c213(0x28e)](_0x357d81,_0x450e7d),_0x28a0cc);return;}const _0x57c731=this['_extensions'][_0x2db77b[_0x18c213(0x1e1)]];this['_bufferedBytes']+=_0x450e7d[_0xb9a08f],this[_0x18c213(0x195)]=_0xdee274,_0x57c731[_0x18c213(0x208)](_0x357d81,_0x450e7d[_0x18c213(0x2d5)],(_0x2315f0,_0x5c15cb)=>{const _0x5a87b5=_0x18c213;if(this[_0x5a87b5(0x30c)][_0x5a87b5(0x1ae)]){const _0x59c577=new Error(_0x5a87b5(0x213));_0x499ca2(this,_0x59c577,_0x28a0cc);return;}this['_bufferedBytes']-=_0x450e7d[_0xb9a08f],this[_0x5a87b5(0x195)]=_0x54e16c,_0x450e7d[_0x5a87b5(0x241)]=!0x1,this[_0x5a87b5(0x17c)](_0x330cbb[_0x5a87b5(0x28e)](_0x5c15cb,_0x450e7d),_0x28a0cc),this[_0x5a87b5(0x283)]();});}['dequeue'](){const _0x11a44b=_0x2ca291;for(;this['_state']===_0x54e16c&&this[_0x11a44b(0x227)][_0x11a44b(0x311)];){const _0x26768f=this[_0x11a44b(0x227)][_0x11a44b(0x2b9)]();this[_0x11a44b(0x24e)]-=_0x26768f[0x3][_0xb9a08f],Reflect[_0x11a44b(0x23f)](_0x26768f[0x0],this,_0x26768f[_0x11a44b(0x2db)](0x1));}}[_0x2ca291(0x280)](_0x40203b){const _0x4a2aa5=_0x2ca291;this[_0x4a2aa5(0x24e)]+=_0x40203b[0x3][_0xb9a08f],this[_0x4a2aa5(0x227)]['push'](_0x40203b);}[_0x2ca291(0x17c)](_0x2e9e32,_0x37c88e){const _0x4f7b06=_0x2ca291;_0x2e9e32['length']===0x2?(this[_0x4f7b06(0x30c)]['cork'](),this[_0x4f7b06(0x30c)]['write'](_0x2e9e32[0x0]),this[_0x4f7b06(0x30c)][_0x4f7b06(0x252)](_0x2e9e32[0x1],_0x37c88e),this[_0x4f7b06(0x30c)][_0x4f7b06(0x2ad)]()):this[_0x4f7b06(0x30c)][_0x4f7b06(0x252)](_0x2e9e32[0x0],_0x37c88e);}}Ee=_0x330cbb;function _0x499ca2(_0x13965a,_0xfb1035,_0x1830a6){const _0x524e2b=_0x2ca291;typeof _0x1830a6==_0x524e2b(0x2c8)&&_0x1830a6(_0xfb1035);for(let _0x4fb2d2=0x0;_0x4fb2d2<_0x13965a[_0x524e2b(0x227)][_0x524e2b(0x311)];_0x4fb2d2++){const _0x3fcf9b=_0x13965a[_0x524e2b(0x227)][_0x4fb2d2],_0x457a52=_0x3fcf9b[_0x3fcf9b['length']-0x1];typeof _0x457a52=='function'&&_0x457a52(_0xfb1035);}}function _0xbd0ac4(_0x4563fa,_0x1c50c7,_0x191ee9){_0x499ca2(_0x4563fa,_0x1c50c7,_0x191ee9),_0x4563fa['onerror'](_0x1c50c7);}return Ee;}var xe,Ze;function It(){const _0x2c6601=_0x10e5eb;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x1733f5,kListener:_0x4aacfb}=H(),_0x566b82=Symbol(_0x2c6601(0x27f)),_0xeae746=Symbol(_0x2c6601(0x21b)),_0x38066e=Symbol(_0x2c6601(0x258)),_0x176dc4=Symbol(_0x2c6601(0x27e)),_0x10980d=Symbol(_0x2c6601(0x30a)),_0x4d9e36=Symbol('kTarget'),_0x3edfcd=Symbol(_0x2c6601(0x1d5)),_0x505078=Symbol(_0x2c6601(0x1bd));class _0x1d2bfb{constructor(_0x594d24){this[_0x4d9e36]=null,this[_0x3edfcd]=_0x594d24;}get[_0x2c6601(0x1c1)](){return this[_0x4d9e36];}get[_0x2c6601(0x211)](){return this[_0x3edfcd];}}Object[_0x2c6601(0x2b7)](_0x1d2bfb[_0x2c6601(0x28c)],_0x2c6601(0x1c1),{'enumerable':!0x0}),Object[_0x2c6601(0x2b7)](_0x1d2bfb[_0x2c6601(0x28c)],_0x2c6601(0x211),{'enumerable':!0x0});class _0x4da45b extends _0x1d2bfb{constructor(_0x1d9cf3,_0x562e50={}){const _0x2dcca4=_0x2c6601;super(_0x1d9cf3),this[_0x566b82]=_0x562e50[_0x2dcca4(0x18d)]===void 0x0?0x0:_0x562e50[_0x2dcca4(0x18d)],this[_0x10980d]=_0x562e50['reason']===void 0x0?'':_0x562e50['reason'],this[_0x505078]=_0x562e50[_0x2dcca4(0x25e)]===void 0x0?!0x1:_0x562e50[_0x2dcca4(0x25e)];}get[_0x2c6601(0x18d)](){return this[_0x566b82];}get['reason'](){return this[_0x10980d];}get['wasClean'](){return this[_0x505078];}}Object[_0x2c6601(0x2b7)](_0x4da45b['prototype'],_0x2c6601(0x18d),{'enumerable':!0x0}),Object[_0x2c6601(0x2b7)](_0x4da45b[_0x2c6601(0x28c)],'reason',{'enumerable':!0x0}),Object[_0x2c6601(0x2b7)](_0x4da45b['prototype'],_0x2c6601(0x25e),{'enumerable':!0x0});class _0x1d3466 extends _0x1d2bfb{constructor(_0x299059,_0x57a8fc={}){const _0x3a07a3=_0x2c6601;super(_0x299059),this[_0x38066e]=_0x57a8fc[_0x3a07a3(0x179)]===void 0x0?null:_0x57a8fc[_0x3a07a3(0x179)],this[_0x176dc4]=_0x57a8fc[_0x3a07a3(0x22f)]===void 0x0?'':_0x57a8fc[_0x3a07a3(0x22f)];}get[_0x2c6601(0x179)](){return this[_0x38066e];}get[_0x2c6601(0x22f)](){return this[_0x176dc4];}}Object[_0x2c6601(0x2b7)](_0x1d3466[_0x2c6601(0x28c)],_0x2c6601(0x179),{'enumerable':!0x0}),Object[_0x2c6601(0x2b7)](_0x1d3466[_0x2c6601(0x28c)],'message',{'enumerable':!0x0});class _0x34885c extends _0x1d2bfb{constructor(_0x2f41e7,_0x2db0de={}){const _0x2e06c0=_0x2c6601;super(_0x2f41e7),this[_0xeae746]=_0x2db0de['data']===void 0x0?null:_0x2db0de[_0x2e06c0(0x301)];}get[_0x2c6601(0x301)](){return this[_0xeae746];}}Object[_0x2c6601(0x2b7)](_0x34885c[_0x2c6601(0x28c)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x4da45b,'ErrorEvent':_0x1d3466,'Event':_0x1d2bfb,'EventTarget':{'addEventListener'(_0x534d5a,_0x525dca,_0x58bdd7={}){const _0x40a004=_0x2c6601;for(const _0x5223e5 of this[_0x40a004(0x251)](_0x534d5a))if(!_0x58bdd7[_0x1733f5]&&_0x5223e5[_0x4aacfb]===_0x525dca&&!_0x5223e5[_0x1733f5])return;let _0x45f913;if(_0x534d5a==='message')_0x45f913=function(_0x3fcfad,_0x3d97a3){const _0x32ae61=_0x40a004,_0x220b7f=new _0x34885c(_0x32ae61(0x22f),{'data':_0x3d97a3?_0x3fcfad:_0x3fcfad['toString']()});_0x220b7f[_0x4d9e36]=this,_0x5e89f4(_0x525dca,this,_0x220b7f);};else{if(_0x534d5a===_0x40a004(0x1eb))_0x45f913=function(_0x7a4329,_0x41a7a5){const _0x1eff82=_0x40a004,_0x5460e6=new _0x4da45b(_0x1eff82(0x1eb),{'code':_0x7a4329,'reason':_0x41a7a5[_0x1eff82(0x2ac)](),'wasClean':this['_closeFrameReceived']&&this[_0x1eff82(0x2f3)]});_0x5460e6[_0x4d9e36]=this,_0x5e89f4(_0x525dca,this,_0x5460e6);};else{if(_0x534d5a===_0x40a004(0x179))_0x45f913=function(_0x18cf5e){const _0x47d1ad=_0x40a004,_0x26ac76=new _0x1d3466(_0x47d1ad(0x179),{'error':_0x18cf5e,'message':_0x18cf5e['message']});_0x26ac76[_0x4d9e36]=this,_0x5e89f4(_0x525dca,this,_0x26ac76);};else{if(_0x534d5a===_0x40a004(0x176))_0x45f913=function(){const _0x33b19c=_0x40a004,_0x3bf0a8=new _0x1d2bfb(_0x33b19c(0x176));_0x3bf0a8[_0x4d9e36]=this,_0x5e89f4(_0x525dca,this,_0x3bf0a8);};else return;}}}_0x45f913[_0x1733f5]=!!_0x58bdd7[_0x1733f5],_0x45f913[_0x4aacfb]=_0x525dca,_0x58bdd7['once']?this[_0x40a004(0x318)](_0x534d5a,_0x45f913):this['on'](_0x534d5a,_0x45f913);},'removeEventListener'(_0x47979b,_0x39d007){const _0x22fd8d=_0x2c6601;for(const _0x35e85f of this[_0x22fd8d(0x251)](_0x47979b))if(_0x35e85f[_0x4aacfb]===_0x39d007&&!_0x35e85f[_0x1733f5]){this[_0x22fd8d(0x177)](_0x47979b,_0x35e85f);break;}}},'MessageEvent':_0x34885c};function _0x5e89f4(_0x2577dd,_0x37ef85,_0x29c24a){const _0x26be4d=_0x2c6601;typeof _0x2577dd==_0x26be4d(0x175)&&_0x2577dd[_0x26be4d(0x278)]?_0x2577dd[_0x26be4d(0x278)][_0x26be4d(0x221)](_0x2577dd,_0x29c24a):_0x2577dd[_0x26be4d(0x221)](_0x37ef85,_0x29c24a);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x252e19}=ae();function _0x59e760(_0x231bcb,_0x1ac620,_0x235843){const _0x3d9407=_0x5886;_0x231bcb[_0x1ac620]===void 0x0?_0x231bcb[_0x1ac620]=[_0x235843]:_0x231bcb[_0x1ac620][_0x3d9407(0x315)](_0x235843);}function _0x570b81(_0x4db798){const _0x5c81d1=_0x5886,_0x419b00=Object[_0x5c81d1(0x271)](null);let _0xf9ba53=Object[_0x5c81d1(0x271)](null),_0x3209cd=!0x1,_0x4a9fc7=!0x1,_0x55335a=!0x1,_0x5a2d13,_0x12ab74,_0x5d5ce1=-0x1,_0x115338=-0x1,_0x4a3302=-0x1,_0x3e99bc=0x0;for(;_0x3e99bc<_0x4db798[_0x5c81d1(0x311)];_0x3e99bc++)if(_0x115338=_0x4db798[_0x5c81d1(0x192)](_0x3e99bc),_0x5a2d13===void 0x0){if(_0x4a3302===-0x1&&_0x252e19[_0x115338]===0x1)_0x5d5ce1===-0x1&&(_0x5d5ce1=_0x3e99bc);else{if(_0x3e99bc!==0x0&&(_0x115338===0x20||_0x115338===0x9))_0x4a3302===-0x1&&_0x5d5ce1!==-0x1&&(_0x4a3302=_0x3e99bc);else{if(_0x115338===0x3b||_0x115338===0x2c){if(_0x5d5ce1===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3e99bc);_0x4a3302===-0x1&&(_0x4a3302=_0x3e99bc);const _0x5bba6a=_0x4db798[_0x5c81d1(0x2db)](_0x5d5ce1,_0x4a3302);_0x115338===0x2c?(_0x59e760(_0x419b00,_0x5bba6a,_0xf9ba53),_0xf9ba53=Object[_0x5c81d1(0x271)](null)):_0x5a2d13=_0x5bba6a,_0x5d5ce1=_0x4a3302=-0x1;}else throw new SyntaxError(_0x5c81d1(0x170)+_0x3e99bc);}}}else{if(_0x12ab74===void 0x0){if(_0x4a3302===-0x1&&_0x252e19[_0x115338]===0x1)_0x5d5ce1===-0x1&&(_0x5d5ce1=_0x3e99bc);else{if(_0x115338===0x20||_0x115338===0x9)_0x4a3302===-0x1&&_0x5d5ce1!==-0x1&&(_0x4a3302=_0x3e99bc);else{if(_0x115338===0x3b||_0x115338===0x2c){if(_0x5d5ce1===-0x1)throw new SyntaxError(_0x5c81d1(0x170)+_0x3e99bc);_0x4a3302===-0x1&&(_0x4a3302=_0x3e99bc),_0x59e760(_0xf9ba53,_0x4db798[_0x5c81d1(0x2db)](_0x5d5ce1,_0x4a3302),!0x0),_0x115338===0x2c&&(_0x59e760(_0x419b00,_0x5a2d13,_0xf9ba53),_0xf9ba53=Object[_0x5c81d1(0x271)](null),_0x5a2d13=void 0x0),_0x5d5ce1=_0x4a3302=-0x1;}else{if(_0x115338===0x3d&&_0x5d5ce1!==-0x1&&_0x4a3302===-0x1)_0x12ab74=_0x4db798[_0x5c81d1(0x2db)](_0x5d5ce1,_0x3e99bc),_0x5d5ce1=_0x4a3302=-0x1;else throw new SyntaxError(_0x5c81d1(0x170)+_0x3e99bc);}}}}else{if(_0x4a9fc7){if(_0x252e19[_0x115338]!==0x1)throw new SyntaxError(_0x5c81d1(0x170)+_0x3e99bc);_0x5d5ce1===-0x1?_0x5d5ce1=_0x3e99bc:_0x3209cd||(_0x3209cd=!0x0),_0x4a9fc7=!0x1;}else{if(_0x55335a){if(_0x252e19[_0x115338]===0x1)_0x5d5ce1===-0x1&&(_0x5d5ce1=_0x3e99bc);else{if(_0x115338===0x22&&_0x5d5ce1!==-0x1)_0x55335a=!0x1,_0x4a3302=_0x3e99bc;else{if(_0x115338===0x5c)_0x4a9fc7=!0x0;else throw new SyntaxError(_0x5c81d1(0x170)+_0x3e99bc);}}}else{if(_0x115338===0x22&&_0x4db798[_0x5c81d1(0x192)](_0x3e99bc-0x1)===0x3d)_0x55335a=!0x0;else{if(_0x4a3302===-0x1&&_0x252e19[_0x115338]===0x1)_0x5d5ce1===-0x1&&(_0x5d5ce1=_0x3e99bc);else{if(_0x5d5ce1!==-0x1&&(_0x115338===0x20||_0x115338===0x9))_0x4a3302===-0x1&&(_0x4a3302=_0x3e99bc);else{if(_0x115338===0x3b||_0x115338===0x2c){if(_0x5d5ce1===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3e99bc);_0x4a3302===-0x1&&(_0x4a3302=_0x3e99bc);let _0x4b590a=_0x4db798['slice'](_0x5d5ce1,_0x4a3302);_0x3209cd&&(_0x4b590a=_0x4b590a[_0x5c81d1(0x1fc)](/\\/g,''),_0x3209cd=!0x1),_0x59e760(_0xf9ba53,_0x12ab74,_0x4b590a),_0x115338===0x2c&&(_0x59e760(_0x419b00,_0x5a2d13,_0xf9ba53),_0xf9ba53=Object[_0x5c81d1(0x271)](null),_0x5a2d13=void 0x0),_0x12ab74=void 0x0,_0x5d5ce1=_0x4a3302=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3e99bc);}}}}}}}if(_0x5d5ce1===-0x1||_0x55335a||_0x115338===0x20||_0x115338===0x9)throw new SyntaxError(_0x5c81d1(0x2da));_0x4a3302===-0x1&&(_0x4a3302=_0x3e99bc);const _0x2db13a=_0x4db798[_0x5c81d1(0x2db)](_0x5d5ce1,_0x4a3302);return _0x5a2d13===void 0x0?_0x59e760(_0x419b00,_0x2db13a,_0xf9ba53):(_0x12ab74===void 0x0?_0x59e760(_0xf9ba53,_0x2db13a,!0x0):_0x3209cd?_0x59e760(_0xf9ba53,_0x12ab74,_0x2db13a[_0x5c81d1(0x1fc)](/\\/g,'')):_0x59e760(_0xf9ba53,_0x12ab74,_0x2db13a),_0x59e760(_0x419b00,_0x5a2d13,_0xf9ba53)),_0x419b00;}function _0x49e165(_0x49463b){const _0x59f427=_0x5886;return Object[_0x59f427(0x28a)](_0x49463b)[_0x59f427(0x20c)](_0x68d57e=>{const _0x2ea131=_0x59f427;let _0x1b4051=_0x49463b[_0x68d57e];return Array[_0x2ea131(0x2ae)](_0x1b4051)||(_0x1b4051=[_0x1b4051]),_0x1b4051[_0x2ea131(0x20c)](_0x3756d3=>[_0x68d57e][_0x2ea131(0x236)](Object[_0x2ea131(0x28a)](_0x3756d3)[_0x2ea131(0x20c)](_0xdae1f5=>{const _0x2c9a26=_0x2ea131;let _0x1f41e4=_0x3756d3[_0xdae1f5];return Array[_0x2c9a26(0x2ae)](_0x1f41e4)||(_0x1f41e4=[_0x1f41e4]),_0x1f41e4[_0x2c9a26(0x20c)](_0x13896a=>_0x13896a===!0x0?_0xdae1f5:_0xdae1f5+'='+_0x13896a)[_0x2c9a26(0x1c6)](';\x20');}))['join'](';\x20'))[_0x2ea131(0x1c6)](',\x20');})[_0x59f427(0x1c6)](',\x20');}return be={'format':_0x49e165,'parse':_0x570b81},be;}var we,Je;function Pe(){const _0x431619=_0x10e5eb;if(Je)return we;Je=0x1;const _0x384871=nt,_0x350486=vt,_0xb2c2a4=ot,_0x197c80=St,_0x1fabb4=Et,{randomBytes:_0x7a40c0,createHash:_0x280de0}=Le,{Duplex:_0x9942a0,Readable:_0xfd7c03}=oe,{URL:_0x4d2e9f}=xt,_0x4e2ee1=he(),_0x21a7f3=lt(),_0x1ae6c0=ft(),{isBlob:_0x3ab54b}=ae(),{BINARY_TYPES:_0x19a10d,EMPTY_BUFFER:_0x5c7c53,GUID:_0x5c24f1,kForOnEventAttribute:_0x4ca542,kListener:_0x990637,kStatusCode:_0x470a3c,kWebSocket:_0x30089e,NOOP:_0x55738a}=H(),{EventTarget:{addEventListener:_0x24e09d,removeEventListener:_0x77e880}}=It(),{format:_0x45976a,parse:_0x4b43ba}=ct(),{toBuffer:_0x152221}=ce(),_0xe560b7=0x1e*0x3e8,_0x2b0135=Symbol('kAborted'),_0x5ceaf0=[0x8,0xd],_0x1c4270=[_0x431619(0x209),_0x431619(0x187),'CLOSING','CLOSED'],_0x5e7835=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5ed5ba extends _0x384871{constructor(_0x3d5ba5,_0x368a6a,_0x2f3856){const _0x462815=_0x431619;super(),this[_0x462815(0x196)]=_0x19a10d[0x0],this[_0x462815(0x1e7)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x462815(0x2f3)]=!0x1,this[_0x462815(0x31f)]=_0x5c7c53,this[_0x462815(0x1fb)]=null,this['_errorEmitted']=!0x1,this[_0x462815(0x2b8)]={},this[_0x462815(0x18b)]=!0x1,this[_0x462815(0x1b2)]='',this[_0x462815(0x1e0)]=_0x5ed5ba['CONNECTING'],this[_0x462815(0x31e)]=null,this[_0x462815(0x1b7)]=null,this[_0x462815(0x30c)]=null,_0x3d5ba5!==null?(this['_bufferedAmount']=0x0,this[_0x462815(0x16f)]=!0x1,this[_0x462815(0x282)]=0x0,_0x368a6a===void 0x0?_0x368a6a=[]:Array[_0x462815(0x2ae)](_0x368a6a)||(typeof _0x368a6a==_0x462815(0x175)&&_0x368a6a!==null?(_0x2f3856=_0x368a6a,_0x368a6a=[]):_0x368a6a=[_0x368a6a]),_0x244f7a(this,_0x3d5ba5,_0x368a6a,_0x2f3856)):(this['_autoPong']=_0x2f3856[_0x462815(0x19b)],this[_0x462815(0x16f)]=!0x0);}get[_0x431619(0x21d)](){const _0x40349f=_0x431619;return this[_0x40349f(0x196)];}set[_0x431619(0x21d)](_0x5e1dd4){const _0x37172a=_0x431619;_0x19a10d[_0x37172a(0x257)](_0x5e1dd4)&&(this['_binaryType']=_0x5e1dd4,this[_0x37172a(0x31e)]&&(this[_0x37172a(0x31e)][_0x37172a(0x196)]=_0x5e1dd4));}get['bufferedAmount'](){const _0x163439=_0x431619;return this['_socket']?this[_0x163439(0x30c)][_0x163439(0x2a9)][_0x163439(0x311)]+this[_0x163439(0x1b7)]['_bufferedBytes']:this[_0x163439(0x19a)];}get['extensions'](){const _0x33b646=_0x431619;return Object[_0x33b646(0x28a)](this[_0x33b646(0x2b8)])[_0x33b646(0x1c6)]();}get['isPaused'](){return this['_paused'];}get[_0x431619(0x1a6)](){return null;}get['onerror'](){return null;}get[_0x431619(0x263)](){return null;}get[_0x431619(0x178)](){return null;}get['protocol'](){return this['_protocol'];}get[_0x431619(0x22b)](){const _0x50b1b3=_0x431619;return this[_0x50b1b3(0x1e0)];}get['url'](){const _0x3cbfbf=_0x431619;return this[_0x3cbfbf(0x29d)];}[_0x431619(0x1f2)](_0x5f2410,_0xb71108,_0x2f7d70){const _0x3e59be=_0x431619,_0x590823=new _0x21a7f3({'allowSynchronousEvents':_0x2f7d70[_0x3e59be(0x1a0)],'binaryType':this[_0x3e59be(0x21d)],'extensions':this[_0x3e59be(0x2b8)],'isServer':this['_isServer'],'maxPayload':_0x2f7d70['maxPayload'],'skipUTF8Validation':_0x2f7d70[_0x3e59be(0x2ec)]}),_0x4a42ff=new _0x1ae6c0(_0x5f2410,this[_0x3e59be(0x2b8)],_0x2f7d70[_0x3e59be(0x2bc)]);this['_receiver']=_0x590823,this[_0x3e59be(0x1b7)]=_0x4a42ff,this[_0x3e59be(0x30c)]=_0x5f2410,_0x590823[_0x30089e]=this,_0x4a42ff[_0x30089e]=this,_0x5f2410[_0x30089e]=this,_0x590823['on'](_0x3e59be(0x279),_0x4a3e6d),_0x590823['on'](_0x3e59be(0x2ce),_0x5a6d70),_0x590823['on'](_0x3e59be(0x179),_0x271c34),_0x590823['on'](_0x3e59be(0x22f),_0x5b1eb8),_0x590823['on'](_0x3e59be(0x1a3),_0x55873e),_0x590823['on'](_0x3e59be(0x1ba),_0x10dd30),_0x4a42ff['onerror']=_0x5a54e5,_0x5f2410[_0x3e59be(0x2d1)]&&_0x5f2410['setTimeout'](0x0),_0x5f2410[_0x3e59be(0x232)]&&_0x5f2410[_0x3e59be(0x232)](),_0xb71108['length']>0x0&&_0x5f2410[_0x3e59be(0x1d0)](_0xb71108),_0x5f2410['on'](_0x3e59be(0x1eb),_0x4e03ac),_0x5f2410['on'](_0x3e59be(0x301),_0xf68baf),_0x5f2410['on'](_0x3e59be(0x210),_0x1a3e67),_0x5f2410['on'](_0x3e59be(0x179),_0x51a007),this[_0x3e59be(0x1e0)]=_0x5ed5ba[_0x3e59be(0x187)],this[_0x3e59be(0x2d6)](_0x3e59be(0x176));}[_0x431619(0x250)](){const _0x55556b=_0x431619;if(!this['_socket']){this[_0x55556b(0x1e0)]=_0x5ed5ba['CLOSED'],this[_0x55556b(0x2d6)](_0x55556b(0x1eb),this[_0x55556b(0x1e7)],this['_closeMessage']);return;}this[_0x55556b(0x2b8)][_0x4e2ee1[_0x55556b(0x1e1)]]&&this[_0x55556b(0x2b8)][_0x4e2ee1[_0x55556b(0x1e1)]][_0x55556b(0x1b5)](),this[_0x55556b(0x31e)][_0x55556b(0x1cf)](),this[_0x55556b(0x1e0)]=_0x5ed5ba[_0x55556b(0x18f)],this['emit'](_0x55556b(0x1eb),this[_0x55556b(0x1e7)],this['_closeMessage']);}['close'](_0x1fad5c,_0x1831e5){const _0x1a4932=_0x431619;if(this[_0x1a4932(0x22b)]!==_0x5ed5ba[_0x1a4932(0x18f)]){if(this[_0x1a4932(0x22b)]===_0x5ed5ba[_0x1a4932(0x209)]){_0x315d37(this,this[_0x1a4932(0x268)],_0x1a4932(0x2d7));return;}if(this[_0x1a4932(0x22b)]===_0x5ed5ba['CLOSING']){this[_0x1a4932(0x2f3)]&&(this[_0x1a4932(0x19f)]||this[_0x1a4932(0x31e)][_0x1a4932(0x2a9)]['errorEmitted'])&&this[_0x1a4932(0x30c)][_0x1a4932(0x210)]();return;}this[_0x1a4932(0x1e0)]=_0x5ed5ba['CLOSING'],this['_sender'][_0x1a4932(0x1eb)](_0x1fad5c,_0x1831e5,!this[_0x1a4932(0x16f)],_0x144d2d=>{const _0x556a87=_0x1a4932;_0x144d2d||(this['_closeFrameSent']=!0x0,(this[_0x556a87(0x19f)]||this[_0x556a87(0x31e)][_0x556a87(0x2a9)][_0x556a87(0x1b6)])&&this['_socket']['end']());}),_0x52ac83(this);}}[_0x431619(0x296)](){const _0x3bdfe7=_0x431619;this[_0x3bdfe7(0x22b)]===_0x5ed5ba[_0x3bdfe7(0x209)]||this[_0x3bdfe7(0x22b)]===_0x5ed5ba[_0x3bdfe7(0x18f)]||(this[_0x3bdfe7(0x18b)]=!0x0,this[_0x3bdfe7(0x30c)][_0x3bdfe7(0x296)]());}['ping'](_0x26ee15,_0x48fbcd,_0x182940){const _0x2ebcba=_0x431619;if(this[_0x2ebcba(0x22b)]===_0x5ed5ba['CONNECTING'])throw new Error(_0x2ebcba(0x329));if(typeof _0x26ee15==_0x2ebcba(0x2c8)?(_0x182940=_0x26ee15,_0x26ee15=_0x48fbcd=void 0x0):typeof _0x48fbcd=='function'&&(_0x182940=_0x48fbcd,_0x48fbcd=void 0x0),typeof _0x26ee15==_0x2ebcba(0x1e3)&&(_0x26ee15=_0x26ee15['toString']()),this['readyState']!==_0x5ed5ba[_0x2ebcba(0x187)]){_0x85f74d(this,_0x26ee15,_0x182940);return;}_0x48fbcd===void 0x0&&(_0x48fbcd=!this[_0x2ebcba(0x16f)]),this[_0x2ebcba(0x1b7)][_0x2ebcba(0x1a3)](_0x26ee15||_0x5c7c53,_0x48fbcd,_0x182940);}[_0x431619(0x1ba)](_0x333d82,_0x503d3c,_0x39ec36){const _0xbbf817=_0x431619;if(this[_0xbbf817(0x22b)]===_0x5ed5ba[_0xbbf817(0x209)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x333d82==_0xbbf817(0x2c8)?(_0x39ec36=_0x333d82,_0x333d82=_0x503d3c=void 0x0):typeof _0x503d3c==_0xbbf817(0x2c8)&&(_0x39ec36=_0x503d3c,_0x503d3c=void 0x0),typeof _0x333d82==_0xbbf817(0x1e3)&&(_0x333d82=_0x333d82[_0xbbf817(0x2ac)]()),this[_0xbbf817(0x22b)]!==_0x5ed5ba[_0xbbf817(0x187)]){_0x85f74d(this,_0x333d82,_0x39ec36);return;}_0x503d3c===void 0x0&&(_0x503d3c=!this[_0xbbf817(0x16f)]),this[_0xbbf817(0x1b7)][_0xbbf817(0x1ba)](_0x333d82||_0x5c7c53,_0x503d3c,_0x39ec36);}[_0x431619(0x23b)](){const _0x3e77d9=_0x431619;this[_0x3e77d9(0x22b)]===_0x5ed5ba[_0x3e77d9(0x209)]||this[_0x3e77d9(0x22b)]===_0x5ed5ba[_0x3e77d9(0x18f)]||(this[_0x3e77d9(0x18b)]=!0x1,this[_0x3e77d9(0x31e)]['_writableState']['needDrain']||this[_0x3e77d9(0x30c)][_0x3e77d9(0x23b)]());}[_0x431619(0x2f6)](_0x4c3440,_0x1f4950,_0x29867d){const _0x473623=_0x431619;if(this[_0x473623(0x22b)]===_0x5ed5ba[_0x473623(0x209)])throw new Error(_0x473623(0x329));if(typeof _0x1f4950==_0x473623(0x2c8)&&(_0x29867d=_0x1f4950,_0x1f4950={}),typeof _0x4c3440==_0x473623(0x1e3)&&(_0x4c3440=_0x4c3440['toString']()),this[_0x473623(0x22b)]!==_0x5ed5ba['OPEN']){_0x85f74d(this,_0x4c3440,_0x29867d);return;}const _0x35c7e3={'binary':typeof _0x4c3440!=_0x473623(0x27a),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x1f4950};this[_0x473623(0x2b8)][_0x4e2ee1[_0x473623(0x1e1)]]||(_0x35c7e3[_0x473623(0x208)]=!0x1),this[_0x473623(0x1b7)][_0x473623(0x2f6)](_0x4c3440||_0x5c7c53,_0x35c7e3,_0x29867d);}['terminate'](){const _0x2e0d35=_0x431619;if(this[_0x2e0d35(0x22b)]!==_0x5ed5ba[_0x2e0d35(0x18f)]){if(this['readyState']===_0x5ed5ba['CONNECTING']){_0x315d37(this,this[_0x2e0d35(0x268)],_0x2e0d35(0x2d7));return;}this[_0x2e0d35(0x30c)]&&(this['_readyState']=_0x5ed5ba[_0x2e0d35(0x1c2)],this[_0x2e0d35(0x30c)][_0x2e0d35(0x298)]());}}}Object[_0x431619(0x2b7)](_0x5ed5ba,_0x431619(0x209),{'enumerable':!0x0,'value':_0x1c4270[_0x431619(0x2cd)](_0x431619(0x209))}),Object[_0x431619(0x2b7)](_0x5ed5ba[_0x431619(0x28c)],'CONNECTING',{'enumerable':!0x0,'value':_0x1c4270[_0x431619(0x2cd)](_0x431619(0x209))}),Object['defineProperty'](_0x5ed5ba,'OPEN',{'enumerable':!0x0,'value':_0x1c4270[_0x431619(0x2cd)](_0x431619(0x187))}),Object[_0x431619(0x2b7)](_0x5ed5ba[_0x431619(0x28c)],_0x431619(0x187),{'enumerable':!0x0,'value':_0x1c4270[_0x431619(0x2cd)](_0x431619(0x187))}),Object['defineProperty'](_0x5ed5ba,'CLOSING',{'enumerable':!0x0,'value':_0x1c4270[_0x431619(0x2cd)](_0x431619(0x1c2))}),Object[_0x431619(0x2b7)](_0x5ed5ba[_0x431619(0x28c)],_0x431619(0x1c2),{'enumerable':!0x0,'value':_0x1c4270[_0x431619(0x2cd)](_0x431619(0x1c2))}),Object['defineProperty'](_0x5ed5ba,_0x431619(0x18f),{'enumerable':!0x0,'value':_0x1c4270[_0x431619(0x2cd)](_0x431619(0x18f))}),Object[_0x431619(0x2b7)](_0x5ed5ba['prototype'],'CLOSED',{'enumerable':!0x0,'value':_0x1c4270['indexOf']('CLOSED')}),['binaryType','bufferedAmount',_0x431619(0x207),_0x431619(0x224),_0x431619(0x2e7),_0x431619(0x22b),_0x431619(0x197)][_0x431619(0x249)](_0x12c060=>{const _0x5bcf75=_0x431619;Object[_0x5bcf75(0x2b7)](_0x5ed5ba['prototype'],_0x12c060,{'enumerable':!0x0});}),[_0x431619(0x176),_0x431619(0x179),'close',_0x431619(0x22f)]['forEach'](_0x7a7565=>{const _0x3d818e=_0x431619;Object[_0x3d818e(0x2b7)](_0x5ed5ba[_0x3d818e(0x28c)],'on'+_0x7a7565,{'enumerable':!0x0,'get'(){const _0x4e25c1=_0x3d818e;for(const _0x44861d of this[_0x4e25c1(0x251)](_0x7a7565))if(_0x44861d[_0x4ca542])return _0x44861d[_0x990637];return null;},'set'(_0x100fdd){const _0x5e7a87=_0x3d818e;for(const _0x187092 of this[_0x5e7a87(0x251)](_0x7a7565))if(_0x187092[_0x4ca542]){this['removeListener'](_0x7a7565,_0x187092);break;}typeof _0x100fdd==_0x5e7a87(0x2c8)&&this[_0x5e7a87(0x2b0)](_0x7a7565,_0x100fdd,{[_0x4ca542]:!0x0});}});}),_0x5ed5ba['prototype'][_0x431619(0x2b0)]=_0x24e09d,_0x5ed5ba['prototype'][_0x431619(0x305)]=_0x77e880,we=_0x5ed5ba;function _0x244f7a(_0x3e0a3f,_0x3cc1a4,_0x10aae5,_0x2aa5c8){const _0x51d7e0=_0x431619,_0x31ba5e={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x5ceaf0[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2aa5c8,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x51d7e0(0x23c),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3e0a3f['_autoPong']=_0x31ba5e[_0x51d7e0(0x19b)],!_0x5ceaf0[_0x51d7e0(0x257)](_0x31ba5e['protocolVersion']))throw new RangeError(_0x51d7e0(0x26f)+_0x31ba5e[_0x51d7e0(0x216)]+_0x51d7e0(0x316)+_0x5ceaf0[_0x51d7e0(0x1c6)](',\x20')+')');let _0x2ac643;if(_0x3cc1a4 instanceof _0x4d2e9f)_0x2ac643=_0x3cc1a4;else try{_0x2ac643=new _0x4d2e9f(_0x3cc1a4);}catch{throw new SyntaxError(_0x51d7e0(0x248)+_0x3cc1a4);}_0x2ac643[_0x51d7e0(0x2e7)]==='http:'?_0x2ac643[_0x51d7e0(0x2e7)]='ws:':_0x2ac643[_0x51d7e0(0x2e7)]==='https:'&&(_0x2ac643[_0x51d7e0(0x2e7)]=_0x51d7e0(0x17a)),_0x3e0a3f[_0x51d7e0(0x29d)]=_0x2ac643[_0x51d7e0(0x2c6)];const _0x556575=_0x2ac643[_0x51d7e0(0x2e7)]===_0x51d7e0(0x17a),_0x26c00a=_0x2ac643[_0x51d7e0(0x2e7)]===_0x51d7e0(0x212);let _0x3012ae;if(_0x2ac643['protocol']!=='ws:'&&!_0x556575&&!_0x26c00a?_0x3012ae=_0x51d7e0(0x1da):_0x26c00a&&!_0x2ac643[_0x51d7e0(0x325)]?_0x3012ae='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x2ac643[_0x51d7e0(0x30e)]&&(_0x3012ae=_0x51d7e0(0x1c4)),_0x3012ae){const _0x4c9833=new SyntaxError(_0x3012ae);if(_0x3e0a3f[_0x51d7e0(0x282)]===0x0)throw _0x4c9833;_0x24a605(_0x3e0a3f,_0x4c9833);return;}const _0x17718f=_0x556575?0x1bb:0x50,_0x24528a=_0x7a40c0(0x10)[_0x51d7e0(0x2ac)]('base64'),_0x4aaf4a=_0x556575?_0x350486['request']:_0xb2c2a4['request'],_0x2460f6=new Set();let _0x83ae42;if(_0x31ba5e[_0x51d7e0(0x19d)]=_0x31ba5e['createConnection']||(_0x556575?_0x5a0459:_0x5ce375),_0x31ba5e[_0x51d7e0(0x307)]=_0x31ba5e[_0x51d7e0(0x307)]||_0x17718f,_0x31ba5e[_0x51d7e0(0x272)]=_0x2ac643['port']||_0x17718f,_0x31ba5e['host']=_0x2ac643[_0x51d7e0(0x1d4)][_0x51d7e0(0x2e6)]('[')?_0x2ac643[_0x51d7e0(0x1d4)][_0x51d7e0(0x2db)](0x1,-0x1):_0x2ac643['hostname'],_0x31ba5e['headers']={..._0x31ba5e['headers'],'Sec-WebSocket-Version':_0x31ba5e[_0x51d7e0(0x216)],'Sec-WebSocket-Key':_0x24528a,'Connection':'Upgrade','Upgrade':_0x51d7e0(0x1ea)},_0x31ba5e[_0x51d7e0(0x2c2)]=_0x2ac643[_0x51d7e0(0x325)]+_0x2ac643[_0x51d7e0(0x303)],_0x31ba5e[_0x51d7e0(0x253)]=_0x31ba5e['handshakeTimeout'],_0x31ba5e[_0x51d7e0(0x2e8)]&&(_0x83ae42=new _0x4e2ee1(_0x31ba5e[_0x51d7e0(0x2e8)]!==!0x0?_0x31ba5e[_0x51d7e0(0x2e8)]:{},!0x1,_0x31ba5e[_0x51d7e0(0x19e)]),_0x31ba5e[_0x51d7e0(0x173)]['Sec-WebSocket-Extensions']=_0x45976a({[_0x4e2ee1[_0x51d7e0(0x1e1)]]:_0x83ae42[_0x51d7e0(0x1a7)]()})),_0x10aae5[_0x51d7e0(0x311)]){for(const _0x6677bd of _0x10aae5){if(typeof _0x6677bd!=_0x51d7e0(0x27a)||!_0x5e7835[_0x51d7e0(0x2a7)](_0x6677bd)||_0x2460f6['has'](_0x6677bd))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x2460f6[_0x51d7e0(0x21e)](_0x6677bd);}_0x31ba5e[_0x51d7e0(0x173)]['Sec-WebSocket-Protocol']=_0x10aae5[_0x51d7e0(0x1c6)](',');}if(_0x31ba5e['origin']&&(_0x31ba5e['protocolVersion']<0xd?_0x31ba5e['headers'][_0x51d7e0(0x292)]=_0x31ba5e[_0x51d7e0(0x231)]:_0x31ba5e[_0x51d7e0(0x173)][_0x51d7e0(0x288)]=_0x31ba5e['origin']),(_0x2ac643[_0x51d7e0(0x266)]||_0x2ac643[_0x51d7e0(0x1f7)])&&(_0x31ba5e['auth']=_0x2ac643[_0x51d7e0(0x266)]+':'+_0x2ac643[_0x51d7e0(0x1f7)]),_0x26c00a){const _0x1029bb=_0x31ba5e[_0x51d7e0(0x2c2)][_0x51d7e0(0x1b1)](':');_0x31ba5e[_0x51d7e0(0x26a)]=_0x1029bb[0x0],_0x31ba5e[_0x51d7e0(0x2c2)]=_0x1029bb[0x1];}let _0x5060ec;if(_0x31ba5e['followRedirects']){if(_0x3e0a3f[_0x51d7e0(0x282)]===0x0){_0x3e0a3f[_0x51d7e0(0x1b0)]=_0x26c00a,_0x3e0a3f[_0x51d7e0(0x215)]=_0x556575,_0x3e0a3f[_0x51d7e0(0x25c)]=_0x26c00a?_0x31ba5e['socketPath']:_0x2ac643[_0x51d7e0(0x291)];const _0x234cc9=_0x2aa5c8&&_0x2aa5c8[_0x51d7e0(0x173)];if(_0x2aa5c8={..._0x2aa5c8,'headers':{}},_0x234cc9){for(const [_0x863fb9,_0x1e7297]of Object[_0x51d7e0(0x1d1)](_0x234cc9))_0x2aa5c8['headers'][_0x863fb9[_0x51d7e0(0x1ef)]()]=_0x1e7297;}}else{if(_0x3e0a3f['listenerCount'](_0x51d7e0(0x191))===0x0){const _0x175a35=_0x26c00a?_0x3e0a3f[_0x51d7e0(0x1b0)]?_0x31ba5e[_0x51d7e0(0x26a)]===_0x3e0a3f[_0x51d7e0(0x25c)]:!0x1:_0x3e0a3f[_0x51d7e0(0x1b0)]?!0x1:_0x2ac643[_0x51d7e0(0x291)]===_0x3e0a3f['_originalHostOrSocketPath'];(!_0x175a35||_0x3e0a3f[_0x51d7e0(0x215)]&&!_0x556575)&&(delete _0x31ba5e[_0x51d7e0(0x173)][_0x51d7e0(0x21c)],delete _0x31ba5e['headers'][_0x51d7e0(0x200)],_0x175a35||delete _0x31ba5e[_0x51d7e0(0x173)]['host'],_0x31ba5e['auth']=void 0x0);}}_0x31ba5e['auth']&&!_0x2aa5c8['headers']['authorization']&&(_0x2aa5c8['headers'][_0x51d7e0(0x21c)]=_0x51d7e0(0x229)+Buffer[_0x51d7e0(0x2f8)](_0x31ba5e[_0x51d7e0(0x235)])['toString'](_0x51d7e0(0x23d))),_0x5060ec=_0x3e0a3f[_0x51d7e0(0x268)]=_0x4aaf4a(_0x31ba5e),_0x3e0a3f[_0x51d7e0(0x282)]&&_0x3e0a3f[_0x51d7e0(0x2d6)]('redirect',_0x3e0a3f['url'],_0x5060ec);}else _0x5060ec=_0x3e0a3f[_0x51d7e0(0x268)]=_0x4aaf4a(_0x31ba5e);_0x31ba5e[_0x51d7e0(0x253)]&&_0x5060ec['on'](_0x51d7e0(0x253),()=>{_0x315d37(_0x3e0a3f,_0x5060ec,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x5060ec['on']('error',_0x420038=>{const _0x54fc64=_0x51d7e0;_0x5060ec===null||_0x5060ec[_0x2b0135]||(_0x5060ec=_0x3e0a3f[_0x54fc64(0x268)]=null,_0x24a605(_0x3e0a3f,_0x420038));}),_0x5060ec['on']('response',_0xe147a1=>{const _0xf06020=_0x51d7e0,_0x9b169d=_0xe147a1[_0xf06020(0x173)]['location'],_0x3bfeb5=_0xe147a1[_0xf06020(0x2ba)];if(_0x9b169d&&_0x31ba5e['followRedirects']&&_0x3bfeb5>=0x12c&&_0x3bfeb5<0x190){if(++_0x3e0a3f[_0xf06020(0x282)]>_0x31ba5e[_0xf06020(0x29e)]){_0x315d37(_0x3e0a3f,_0x5060ec,'Maximum\x20redirects\x20exceeded');return;}_0x5060ec[_0xf06020(0x1fd)]();let _0x564042;try{_0x564042=new _0x4d2e9f(_0x9b169d,_0x3cc1a4);}catch{const _0x21940e=new SyntaxError(_0xf06020(0x248)+_0x9b169d);_0x24a605(_0x3e0a3f,_0x21940e);return;}_0x244f7a(_0x3e0a3f,_0x564042,_0x10aae5,_0x2aa5c8);}else _0x3e0a3f[_0xf06020(0x2d6)](_0xf06020(0x1fa),_0x5060ec,_0xe147a1)||_0x315d37(_0x3e0a3f,_0x5060ec,_0xf06020(0x181)+_0xe147a1['statusCode']);}),_0x5060ec['on']('upgrade',(_0x230f69,_0x3a6eb4,_0xcef32f)=>{const _0xcee9f4=_0x51d7e0;if(_0x3e0a3f[_0xcee9f4(0x2d6)](_0xcee9f4(0x26b),_0x230f69),_0x3e0a3f[_0xcee9f4(0x22b)]!==_0x5ed5ba['CONNECTING'])return;_0x5060ec=_0x3e0a3f[_0xcee9f4(0x268)]=null;const _0x29f3c0=_0x230f69['headers'][_0xcee9f4(0x26b)];if(_0x29f3c0===void 0x0||_0x29f3c0['toLowerCase']()!=='websocket'){_0x315d37(_0x3e0a3f,_0x3a6eb4,'Invalid\x20Upgrade\x20header');return;}const _0x3d93ee=_0x280de0(_0xcee9f4(0x31b))[_0xcee9f4(0x1b8)](_0x24528a+_0x5c24f1)[_0xcee9f4(0x202)](_0xcee9f4(0x23d));if(_0x230f69[_0xcee9f4(0x173)][_0xcee9f4(0x2a0)]!==_0x3d93ee){_0x315d37(_0x3e0a3f,_0x3a6eb4,_0xcee9f4(0x1af));return;}const _0x40ea17=_0x230f69[_0xcee9f4(0x173)][_0xcee9f4(0x285)];let _0x3d039b;if(_0x40ea17!==void 0x0?_0x2460f6[_0xcee9f4(0x1bf)]?_0x2460f6['has'](_0x40ea17)||(_0x3d039b='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x3d039b='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x2460f6['size']&&(_0x3d039b='Server\x20sent\x20no\x20subprotocol'),_0x3d039b){_0x315d37(_0x3e0a3f,_0x3a6eb4,_0x3d039b);return;}_0x40ea17&&(_0x3e0a3f[_0xcee9f4(0x1b2)]=_0x40ea17);const _0x11f3df=_0x230f69['headers'][_0xcee9f4(0x2c3)];if(_0x11f3df!==void 0x0){if(!_0x83ae42){_0x315d37(_0x3e0a3f,_0x3a6eb4,_0xcee9f4(0x1f5));return;}let _0x3aba3f;try{_0x3aba3f=_0x4b43ba(_0x11f3df);}catch{_0x315d37(_0x3e0a3f,_0x3a6eb4,_0xcee9f4(0x2a8));return;}const _0x22fd57=Object['keys'](_0x3aba3f);if(_0x22fd57[_0xcee9f4(0x311)]!==0x1||_0x22fd57[0x0]!==_0x4e2ee1[_0xcee9f4(0x1e1)]){_0x315d37(_0x3e0a3f,_0x3a6eb4,_0xcee9f4(0x2fe));return;}try{_0x83ae42[_0xcee9f4(0x2f2)](_0x3aba3f[_0x4e2ee1['extensionName']]);}catch{_0x315d37(_0x3e0a3f,_0x3a6eb4,_0xcee9f4(0x2a8));return;}_0x3e0a3f[_0xcee9f4(0x2b8)][_0x4e2ee1[_0xcee9f4(0x1e1)]]=_0x83ae42;}_0x3e0a3f['setSocket'](_0x3a6eb4,_0xcef32f,{'allowSynchronousEvents':_0x31ba5e[_0xcee9f4(0x1a0)],'generateMask':_0x31ba5e[_0xcee9f4(0x2bc)],'maxPayload':_0x31ba5e[_0xcee9f4(0x19e)],'skipUTF8Validation':_0x31ba5e['skipUTF8Validation']});}),_0x31ba5e[_0x51d7e0(0x2d0)]?_0x31ba5e['finishRequest'](_0x5060ec,_0x3e0a3f):_0x5060ec[_0x51d7e0(0x210)]();}function _0x24a605(_0x2e67a0,_0x4606e8){const _0x47bc9f=_0x431619;_0x2e67a0['_readyState']=_0x5ed5ba[_0x47bc9f(0x1c2)],_0x2e67a0['_errorEmitted']=!0x0,_0x2e67a0[_0x47bc9f(0x2d6)](_0x47bc9f(0x179),_0x4606e8),_0x2e67a0[_0x47bc9f(0x250)]();}function _0x5ce375(_0x458c3e){const _0x41c7e2=_0x431619;return _0x458c3e['path']=_0x458c3e[_0x41c7e2(0x26a)],_0x197c80[_0x41c7e2(0x290)](_0x458c3e);}function _0x5a0459(_0x10c8c9){const _0xd2b5f2=_0x431619;return _0x10c8c9[_0xd2b5f2(0x2c2)]=void 0x0,!_0x10c8c9[_0xd2b5f2(0x28f)]&&_0x10c8c9[_0xd2b5f2(0x28f)]!==''&&(_0x10c8c9[_0xd2b5f2(0x28f)]=_0x197c80[_0xd2b5f2(0x24f)](_0x10c8c9[_0xd2b5f2(0x291)])?'':_0x10c8c9[_0xd2b5f2(0x291)]),_0x1fabb4['connect'](_0x10c8c9);}function _0x315d37(_0x561a46,_0x31ef44,_0x5c8ccc){const _0x35582d=_0x431619;_0x561a46[_0x35582d(0x1e0)]=_0x5ed5ba['CLOSING'];const _0x450e27=new Error(_0x5c8ccc);Error[_0x35582d(0x228)](_0x450e27,_0x315d37),_0x31ef44[_0x35582d(0x2e0)]?(_0x31ef44[_0x2b0135]=!0x0,_0x31ef44['abort'](),_0x31ef44['socket']&&!_0x31ef44[_0x35582d(0x19c)][_0x35582d(0x1ae)]&&_0x31ef44[_0x35582d(0x19c)]['destroy'](),process[_0x35582d(0x28d)](_0x24a605,_0x561a46,_0x450e27)):(_0x31ef44[_0x35582d(0x298)](_0x450e27),_0x31ef44[_0x35582d(0x318)](_0x35582d(0x179),_0x561a46[_0x35582d(0x2d6)]['bind'](_0x561a46,_0x35582d(0x179))),_0x31ef44[_0x35582d(0x318)](_0x35582d(0x1eb),_0x561a46[_0x35582d(0x250)][_0x35582d(0x22a)](_0x561a46)));}function _0x85f74d(_0x3b3294,_0x555ab0,_0x264612){const _0x1d4da9=_0x431619;if(_0x555ab0){const _0x198028=_0x3ab54b(_0x555ab0)?_0x555ab0[_0x1d4da9(0x1bf)]:_0x152221(_0x555ab0)['length'];_0x3b3294[_0x1d4da9(0x30c)]?_0x3b3294[_0x1d4da9(0x1b7)][_0x1d4da9(0x24e)]+=_0x198028:_0x3b3294[_0x1d4da9(0x19a)]+=_0x198028;}if(_0x264612){const _0x1540c8=new Error(_0x1d4da9(0x2e1)+_0x3b3294['readyState']+'\x20('+_0x1c4270[_0x3b3294[_0x1d4da9(0x22b)]]+')');process[_0x1d4da9(0x28d)](_0x264612,_0x1540c8);}}function _0x4a3e6d(_0x5200b6,_0x1e172e){const _0x207e29=_0x431619,_0x184e5e=this[_0x30089e];_0x184e5e['_closeFrameReceived']=!0x0,_0x184e5e[_0x207e29(0x31f)]=_0x1e172e,_0x184e5e[_0x207e29(0x1e7)]=_0x5200b6,_0x184e5e[_0x207e29(0x30c)][_0x30089e]!==void 0x0&&(_0x184e5e[_0x207e29(0x30c)]['removeListener'](_0x207e29(0x301),_0xf68baf),process[_0x207e29(0x28d)](_0x3dd4a3,_0x184e5e[_0x207e29(0x30c)]),_0x5200b6===0x3ed?_0x184e5e[_0x207e29(0x1eb)]():_0x184e5e[_0x207e29(0x1eb)](_0x5200b6,_0x1e172e));}function _0x5a6d70(){const _0x10ff41=_0x431619,_0x4b6bbb=this[_0x30089e];_0x4b6bbb[_0x10ff41(0x224)]||_0x4b6bbb[_0x10ff41(0x30c)]['resume']();}function _0x271c34(_0x155a22){const _0x1600cc=_0x431619,_0x2d74e9=this[_0x30089e];_0x2d74e9[_0x1600cc(0x30c)][_0x30089e]!==void 0x0&&(_0x2d74e9['_socket']['removeListener'](_0x1600cc(0x301),_0xf68baf),process[_0x1600cc(0x28d)](_0x3dd4a3,_0x2d74e9['_socket']),_0x2d74e9[_0x1600cc(0x1eb)](_0x155a22[_0x470a3c])),_0x2d74e9['_errorEmitted']||(_0x2d74e9[_0x1600cc(0x269)]=!0x0,_0x2d74e9['emit'](_0x1600cc(0x179),_0x155a22));}function _0x2e569b(){const _0x5a3b44=_0x431619;this[_0x30089e][_0x5a3b44(0x250)]();}function _0x5b1eb8(_0x1a812d,_0x206c0b){const _0x57841e=_0x431619;this[_0x30089e][_0x57841e(0x2d6)](_0x57841e(0x22f),_0x1a812d,_0x206c0b);}function _0x55873e(_0x54be39){const _0x1c3ea1=_0x431619,_0x19eb45=this[_0x30089e];_0x19eb45[_0x1c3ea1(0x233)]&&_0x19eb45['pong'](_0x54be39,!this[_0x1c3ea1(0x16f)],_0x55738a),_0x19eb45[_0x1c3ea1(0x2d6)]('ping',_0x54be39);}function _0x10dd30(_0x7c29b5){const _0x2187f1=_0x431619;this[_0x30089e][_0x2187f1(0x2d6)]('pong',_0x7c29b5);}function _0x3dd4a3(_0x2ac4ab){const _0x4e6b36=_0x431619;_0x2ac4ab[_0x4e6b36(0x23b)]();}function _0x5a54e5(_0x972630){const _0x2854b2=_0x431619,_0x4020a3=this[_0x30089e];_0x4020a3['readyState']!==_0x5ed5ba[_0x2854b2(0x18f)]&&(_0x4020a3[_0x2854b2(0x22b)]===_0x5ed5ba[_0x2854b2(0x187)]&&(_0x4020a3[_0x2854b2(0x1e0)]=_0x5ed5ba[_0x2854b2(0x1c2)],_0x52ac83(_0x4020a3)),this[_0x2854b2(0x30c)][_0x2854b2(0x210)](),_0x4020a3[_0x2854b2(0x269)]||(_0x4020a3['_errorEmitted']=!0x0,_0x4020a3[_0x2854b2(0x2d6)](_0x2854b2(0x179),_0x972630)));}function _0x52ac83(_0x350d5e){const _0x4b0a10=_0x431619;_0x350d5e[_0x4b0a10(0x1fb)]=setTimeout(_0x350d5e[_0x4b0a10(0x30c)][_0x4b0a10(0x298)][_0x4b0a10(0x22a)](_0x350d5e[_0x4b0a10(0x30c)]),_0xe560b7);}function _0x4e03ac(){const _0x88e9e5=_0x431619,_0x5ca539=this[_0x30089e];this[_0x88e9e5(0x177)]('close',_0x4e03ac),this[_0x88e9e5(0x177)]('data',_0xf68baf),this[_0x88e9e5(0x177)]('end',_0x1a3e67),_0x5ca539[_0x88e9e5(0x1e0)]=_0x5ed5ba[_0x88e9e5(0x1c2)];let _0x12cfd9;!this[_0x88e9e5(0x32b)][_0x88e9e5(0x180)]&&!_0x5ca539[_0x88e9e5(0x19f)]&&!_0x5ca539['_receiver']['_writableState'][_0x88e9e5(0x1b6)]&&(_0x12cfd9=_0x5ca539[_0x88e9e5(0x30c)][_0x88e9e5(0x313)]())!==null&&_0x5ca539['_receiver'][_0x88e9e5(0x252)](_0x12cfd9),_0x5ca539[_0x88e9e5(0x31e)][_0x88e9e5(0x210)](),this[_0x30089e]=void 0x0,clearTimeout(_0x5ca539['_closeTimer']),_0x5ca539[_0x88e9e5(0x31e)][_0x88e9e5(0x2a9)][_0x88e9e5(0x24b)]||_0x5ca539[_0x88e9e5(0x31e)][_0x88e9e5(0x2a9)]['errorEmitted']?_0x5ca539[_0x88e9e5(0x250)]():(_0x5ca539['_receiver']['on'](_0x88e9e5(0x179),_0x2e569b),_0x5ca539[_0x88e9e5(0x31e)]['on'](_0x88e9e5(0x1c8),_0x2e569b));}function _0xf68baf(_0x10ca03){const _0x563b6c=_0x431619;this[_0x30089e]['_receiver']['write'](_0x10ca03)||this[_0x563b6c(0x296)]();}function _0x1a3e67(){const _0x419929=_0x431619,_0xcdcc11=this[_0x30089e];_0xcdcc11['_readyState']=_0x5ed5ba[_0x419929(0x1c2)],_0xcdcc11[_0x419929(0x31e)]['end'](),this['end']();}function _0x51a007(){const _0x55792f=_0x431619,_0x4f0e33=this[_0x30089e];this[_0x55792f(0x177)](_0x55792f(0x179),_0x51a007),this['on']('error',_0x55738a),_0x4f0e33&&(_0x4f0e33[_0x55792f(0x1e0)]=_0x5ed5ba[_0x55792f(0x1c2)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x5906b3}=oe;function _0x27245f(_0x33241f){const _0x1adaef=_0x5886;_0x33241f[_0x1adaef(0x2d6)](_0x1adaef(0x1eb));}function _0x35dd28(){const _0x164628=_0x5886;!this[_0x164628(0x1ae)]&&this[_0x164628(0x2a9)][_0x164628(0x24b)]&&this['destroy']();}function _0x523b93(_0x1cd086){const _0x1dbbbf=_0x5886;this[_0x1dbbbf(0x177)](_0x1dbbbf(0x179),_0x523b93),this[_0x1dbbbf(0x298)](),this['listenerCount']('error')===0x0&&this[_0x1dbbbf(0x2d6)](_0x1dbbbf(0x179),_0x1cd086);}function _0x2fefd4(_0x1fd0da,_0x51c473){const _0x480192=_0x5886;let _0xa6e3fe=!0x0;const _0x505e6d=new _0x5906b3({..._0x51c473,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x1fd0da['on'](_0x480192(0x22f),function(_0x8ebfad,_0x347380){const _0x44afd4=_0x480192,_0x47b998=!_0x347380&&_0x505e6d['_readableState'][_0x44afd4(0x2ab)]?_0x8ebfad[_0x44afd4(0x2ac)]():_0x8ebfad;_0x505e6d[_0x44afd4(0x315)](_0x47b998)||_0x1fd0da['pause']();}),_0x1fd0da[_0x480192(0x318)]('error',function(_0x27a9ae){const _0x284163=_0x480192;_0x505e6d[_0x284163(0x1ae)]||(_0xa6e3fe=!0x1,_0x505e6d['destroy'](_0x27a9ae));}),_0x1fd0da[_0x480192(0x318)](_0x480192(0x1eb),function(){const _0x337886=_0x480192;_0x505e6d[_0x337886(0x1ae)]||_0x505e6d[_0x337886(0x315)](null);}),_0x505e6d['_destroy']=function(_0xeba67c,_0x14aea4){const _0x36d9aa=_0x480192;if(_0x1fd0da['readyState']===_0x1fd0da[_0x36d9aa(0x18f)]){_0x14aea4(_0xeba67c),process['nextTick'](_0x27245f,_0x505e6d);return;}let _0x16b3e4=!0x1;_0x1fd0da[_0x36d9aa(0x318)](_0x36d9aa(0x179),function(_0x4a3f90){_0x16b3e4=!0x0,_0x14aea4(_0x4a3f90);}),_0x1fd0da[_0x36d9aa(0x318)](_0x36d9aa(0x1eb),function(){_0x16b3e4||_0x14aea4(_0xeba67c),process['nextTick'](_0x27245f,_0x505e6d);}),_0xa6e3fe&&_0x1fd0da[_0x36d9aa(0x1ce)]();},_0x505e6d[_0x480192(0x2eb)]=function(_0x347b4c){const _0x389ef9=_0x480192;if(_0x1fd0da['readyState']===_0x1fd0da[_0x389ef9(0x209)]){_0x1fd0da['once'](_0x389ef9(0x176),function(){const _0x768640=_0x389ef9;_0x505e6d[_0x768640(0x2eb)](_0x347b4c);});return;}_0x1fd0da['_socket']!==null&&(_0x1fd0da['_socket']['_writableState']['finished']?(_0x347b4c(),_0x505e6d[_0x389ef9(0x32b)][_0x389ef9(0x180)]&&_0x505e6d[_0x389ef9(0x298)]()):(_0x1fd0da[_0x389ef9(0x30c)]['once']('finish',function(){_0x347b4c();}),_0x1fd0da[_0x389ef9(0x1eb)]()));},_0x505e6d[_0x480192(0x261)]=function(){const _0x29a858=_0x480192;_0x1fd0da[_0x29a858(0x224)]&&_0x1fd0da[_0x29a858(0x23b)]();},_0x505e6d[_0x480192(0x2a2)]=function(_0x267cf9,_0x5817b1,_0x5c3fe8){const _0x342849=_0x480192;if(_0x1fd0da[_0x342849(0x22b)]===_0x1fd0da[_0x342849(0x209)]){_0x1fd0da[_0x342849(0x318)](_0x342849(0x176),function(){const _0x508677=_0x342849;_0x505e6d[_0x508677(0x2a2)](_0x267cf9,_0x5817b1,_0x5c3fe8);});return;}_0x1fd0da[_0x342849(0x2f6)](_0x267cf9,_0x5c3fe8);},_0x505e6d['on'](_0x480192(0x210),_0x35dd28),_0x505e6d['on']('error',_0x523b93),_0x505e6d;}return Oe=_0x2fefd4,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x3e0e0a}=ae();function _0x3ada80(_0xe13654){const _0x19c9b9=_0x5886,_0x74e343=new Set();let _0x59b994=-0x1,_0xec03e1=-0x1,_0x115436=0x0;for(_0x115436;_0x115436<_0xe13654[_0x19c9b9(0x311)];_0x115436++){const _0x10ead7=_0xe13654['charCodeAt'](_0x115436);if(_0xec03e1===-0x1&&_0x3e0e0a[_0x10ead7]===0x1)_0x59b994===-0x1&&(_0x59b994=_0x115436);else{if(_0x115436!==0x0&&(_0x10ead7===0x20||_0x10ead7===0x9))_0xec03e1===-0x1&&_0x59b994!==-0x1&&(_0xec03e1=_0x115436);else{if(_0x10ead7===0x2c){if(_0x59b994===-0x1)throw new SyntaxError(_0x19c9b9(0x170)+_0x115436);_0xec03e1===-0x1&&(_0xec03e1=_0x115436);const _0x162f2f=_0xe13654[_0x19c9b9(0x2db)](_0x59b994,_0xec03e1);if(_0x74e343[_0x19c9b9(0x219)](_0x162f2f))throw new SyntaxError(_0x19c9b9(0x206)+_0x162f2f+_0x19c9b9(0x2af));_0x74e343[_0x19c9b9(0x21e)](_0x162f2f),_0x59b994=_0xec03e1=-0x1;}else throw new SyntaxError(_0x19c9b9(0x170)+_0x115436);}}}if(_0x59b994===-0x1||_0xec03e1!==-0x1)throw new SyntaxError(_0x19c9b9(0x2da));const _0x271fab=_0xe13654[_0x19c9b9(0x2db)](_0x59b994,_0x115436);if(_0x74e343['has'](_0x271fab))throw new SyntaxError(_0x19c9b9(0x206)+_0x271fab+'\x22\x20subprotocol\x20is\x20duplicated');return _0x74e343[_0x19c9b9(0x21e)](_0x271fab),_0x74e343;}return Ce={'parse':_0x3ada80},Ce;}var Te,rt;function _0x5886(_0x19f99d,_0x306653){const _0x3189e0=_0x3189();return _0x5886=function(_0x5886d6,_0x33992b){_0x5886d6=_0x5886d6-0x16d;let _0x12f476=_0x3189e0[_0x5886d6];return _0x12f476;},_0x5886(_0x19f99d,_0x306653);}function Ft(){const _0x39148c=_0x10e5eb;if(rt)return Te;rt=0x1;const _0x298ae6=nt,_0x22f6d3=ot,{Duplex:_0x4da109}=oe,{createHash:_0x4988d9}=Le,_0xd6eb84=ct(),_0x3dc145=he(),_0x4ef720=At(),_0x5a96f3=Pe(),{GUID:_0x3fc9c7,kWebSocket:_0x5caf2a}=H(),_0x1b44c9=/^[+/0-9A-Za-z]{22}==$/,_0x19aa18=0x0,_0x22eee0=0x1,_0x5d3d26=0x2;class _0x3bb2b2 extends _0x298ae6{constructor(_0x555e5d,_0x1a3ab3){const _0x2ed1e9=_0x5886;if(super(),_0x555e5d={'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':_0x5a96f3,..._0x555e5d},_0x555e5d['port']==null&&!_0x555e5d[_0x2ed1e9(0x262)]&&!_0x555e5d[_0x2ed1e9(0x2c9)]||_0x555e5d[_0x2ed1e9(0x272)]!=null&&(_0x555e5d['server']||_0x555e5d[_0x2ed1e9(0x2c9)])||_0x555e5d[_0x2ed1e9(0x262)]&&_0x555e5d['noServer'])throw new TypeError(_0x2ed1e9(0x20f));if(_0x555e5d[_0x2ed1e9(0x272)]!=null?(this[_0x2ed1e9(0x30f)]=_0x22f6d3['createServer']((_0x55d1c5,_0x49ce7c)=>{const _0x16d3fa=_0x2ed1e9,_0x4ebe21=_0x22f6d3['STATUS_CODES'][0x1aa];_0x49ce7c[_0x16d3fa(0x2a5)](0x1aa,{'Content-Length':_0x4ebe21[_0x16d3fa(0x311)],'Content-Type':_0x16d3fa(0x24a)}),_0x49ce7c[_0x16d3fa(0x210)](_0x4ebe21);}),this[_0x2ed1e9(0x30f)][_0x2ed1e9(0x1d3)](_0x555e5d['port'],_0x555e5d[_0x2ed1e9(0x291)],_0x555e5d[_0x2ed1e9(0x17d)],_0x1a3ab3)):_0x555e5d[_0x2ed1e9(0x262)]&&(this[_0x2ed1e9(0x30f)]=_0x555e5d[_0x2ed1e9(0x262)]),this[_0x2ed1e9(0x30f)]){const _0x1e0073=this[_0x2ed1e9(0x2d6)]['bind'](this,_0x2ed1e9(0x225));this[_0x2ed1e9(0x2fb)]=_0x577e6e(this[_0x2ed1e9(0x30f)],{'listening':this[_0x2ed1e9(0x2d6)]['bind'](this,_0x2ed1e9(0x2dc)),'error':this['emit'][_0x2ed1e9(0x22a)](this,'error'),'upgrade':(_0x1d958d,_0x333d7e,_0x19d015)=>{const _0x5312e8=_0x2ed1e9;this[_0x5312e8(0x264)](_0x1d958d,_0x333d7e,_0x19d015,_0x1e0073);}});}_0x555e5d[_0x2ed1e9(0x2e8)]===!0x0&&(_0x555e5d[_0x2ed1e9(0x2e8)]={}),_0x555e5d[_0x2ed1e9(0x238)]&&(this[_0x2ed1e9(0x186)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x2ed1e9(0x2a4)]=_0x555e5d,this[_0x2ed1e9(0x195)]=_0x19aa18;}[_0x39148c(0x223)](){const _0x4a03a0=_0x39148c;if(this[_0x4a03a0(0x2a4)][_0x4a03a0(0x2c9)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this['_server']?this[_0x4a03a0(0x30f)]['address']():null;}['close'](_0x138051){const _0x55521a=_0x39148c;if(this['_state']===_0x5d3d26){_0x138051&&this[_0x55521a(0x318)](_0x55521a(0x1eb),()=>{const _0x7acc9b=_0x55521a;_0x138051(new Error(_0x7acc9b(0x284)));}),process['nextTick'](_0x35ac5f,this);return;}if(_0x138051&&this[_0x55521a(0x318)](_0x55521a(0x1eb),_0x138051),this[_0x55521a(0x195)]!==_0x22eee0){if(this[_0x55521a(0x195)]=_0x22eee0,this[_0x55521a(0x2a4)][_0x55521a(0x2c9)]||this[_0x55521a(0x2a4)][_0x55521a(0x262)])this['_server']&&(this[_0x55521a(0x2fb)](),this[_0x55521a(0x2fb)]=this['_server']=null),this[_0x55521a(0x186)]?this['clients']['size']?this[_0x55521a(0x26d)]=!0x0:process[_0x55521a(0x28d)](_0x35ac5f,this):process[_0x55521a(0x28d)](_0x35ac5f,this);else{const _0xab2336=this[_0x55521a(0x30f)];this[_0x55521a(0x2fb)](),this['_removeListeners']=this[_0x55521a(0x30f)]=null,_0xab2336[_0x55521a(0x1eb)](()=>{_0x35ac5f(this);});}}}[_0x39148c(0x18a)](_0x56fe62){const _0x2e0995=_0x39148c;if(this[_0x2e0995(0x2a4)][_0x2e0995(0x2c2)]){const _0x42367a=_0x56fe62[_0x2e0995(0x197)][_0x2e0995(0x2cd)]('?');if((_0x42367a!==-0x1?_0x56fe62[_0x2e0995(0x197)][_0x2e0995(0x2db)](0x0,_0x42367a):_0x56fe62[_0x2e0995(0x197)])!==this[_0x2e0995(0x2a4)][_0x2e0995(0x2c2)])return!0x1;}return!0x0;}[_0x39148c(0x264)](_0x55d11f,_0x27523f,_0x446053,_0x2c186d){const _0x4ecab2=_0x39148c;_0x27523f['on'](_0x4ecab2(0x179),_0x41e5d8);const _0x3393c4=_0x55d11f['headers'][_0x4ecab2(0x1ff)],_0xbcf2fe=_0x55d11f['headers']['upgrade'],_0x146bf7=+_0x55d11f[_0x4ecab2(0x173)][_0x4ecab2(0x2ee)];if(_0x55d11f['method']!==_0x4ecab2(0x23c)){_0x2998c1(this,_0x55d11f,_0x27523f,0x195,_0x4ecab2(0x27b));return;}if(_0xbcf2fe===void 0x0||_0xbcf2fe['toLowerCase']()!=='websocket'){_0x2998c1(this,_0x55d11f,_0x27523f,0x190,_0x4ecab2(0x171));return;}if(_0x3393c4===void 0x0||!_0x1b44c9[_0x4ecab2(0x2a7)](_0x3393c4)){_0x2998c1(this,_0x55d11f,_0x27523f,0x190,_0x4ecab2(0x260));return;}if(_0x146bf7!==0x8&&_0x146bf7!==0xd){_0x2998c1(this,_0x55d11f,_0x27523f,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x4ecab2(0x18a)](_0x55d11f)){_0x5a34bc(_0x27523f,0x190);return;}const _0x18b4fc=_0x55d11f[_0x4ecab2(0x173)][_0x4ecab2(0x285)];let _0x32d0a7=new Set();if(_0x18b4fc!==void 0x0)try{_0x32d0a7=_0x4ef720[_0x4ecab2(0x2b3)](_0x18b4fc);}catch{_0x2998c1(this,_0x55d11f,_0x27523f,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x1e6c0d=_0x55d11f[_0x4ecab2(0x173)][_0x4ecab2(0x2c3)],_0x26d10b={};if(this[_0x4ecab2(0x2a4)][_0x4ecab2(0x2e8)]&&_0x1e6c0d!==void 0x0){const _0x5da2f1=new _0x3dc145(this[_0x4ecab2(0x2a4)][_0x4ecab2(0x2e8)],!0x0,this[_0x4ecab2(0x2a4)]['maxPayload']);try{const _0x3be0a3=_0xd6eb84[_0x4ecab2(0x2b3)](_0x1e6c0d);_0x3be0a3[_0x3dc145['extensionName']]&&(_0x5da2f1[_0x4ecab2(0x2f2)](_0x3be0a3[_0x3dc145[_0x4ecab2(0x1e1)]]),_0x26d10b[_0x3dc145[_0x4ecab2(0x1e1)]]=_0x5da2f1);}catch{_0x2998c1(this,_0x55d11f,_0x27523f,0x190,_0x4ecab2(0x2b1));return;}}if(this[_0x4ecab2(0x2a4)][_0x4ecab2(0x1ad)]){const _0x4f01a0={'origin':_0x55d11f['headers'][''+(_0x146bf7===0x8?_0x4ecab2(0x25a):'origin')],'secure':!!(_0x55d11f[_0x4ecab2(0x19c)][_0x4ecab2(0x2d8)]||_0x55d11f[_0x4ecab2(0x19c)][_0x4ecab2(0x189)]),'req':_0x55d11f};if(this[_0x4ecab2(0x2a4)][_0x4ecab2(0x1ad)]['length']===0x2){this[_0x4ecab2(0x2a4)][_0x4ecab2(0x1ad)](_0x4f01a0,(_0x447cfd,_0x45d9c6,_0x21c5d1,_0x1a2c7b)=>{if(!_0x447cfd)return _0x5a34bc(_0x27523f,_0x45d9c6||0x191,_0x21c5d1,_0x1a2c7b);this['completeUpgrade'](_0x26d10b,_0x3393c4,_0x32d0a7,_0x55d11f,_0x27523f,_0x446053,_0x2c186d);});return;}if(!this[_0x4ecab2(0x2a4)][_0x4ecab2(0x1ad)](_0x4f01a0))return _0x5a34bc(_0x27523f,0x191);}this[_0x4ecab2(0x1d6)](_0x26d10b,_0x3393c4,_0x32d0a7,_0x55d11f,_0x27523f,_0x446053,_0x2c186d);}['completeUpgrade'](_0x4b70a9,_0x4fd49d,_0x4bb2cf,_0x4ea998,_0x4a7898,_0x4b261f,_0x11b5e0){const _0x5dcfb9=_0x39148c;if(!_0x4a7898[_0x5dcfb9(0x1e5)]||!_0x4a7898[_0x5dcfb9(0x26c)])return _0x4a7898['destroy']();if(_0x4a7898[_0x5caf2a])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x5dcfb9(0x195)]>_0x19aa18)return _0x5a34bc(_0x4a7898,0x1f7);const _0xbf8570=[_0x5dcfb9(0x30d),'Upgrade:\x20websocket',_0x5dcfb9(0x205),'Sec-WebSocket-Accept:\x20'+_0x4988d9('sha1')[_0x5dcfb9(0x1b8)](_0x4fd49d+_0x3fc9c7)['digest']('base64')],_0x41ae23=new this[(_0x5dcfb9(0x2a4))]['WebSocket'](null,void 0x0,this[_0x5dcfb9(0x2a4)]);if(_0x4bb2cf['size']){const _0x9dc6cb=this[_0x5dcfb9(0x2a4)]['handleProtocols']?this[_0x5dcfb9(0x2a4)][_0x5dcfb9(0x1ed)](_0x4bb2cf,_0x4ea998):_0x4bb2cf[_0x5dcfb9(0x1bb)]()['next']()['value'];_0x9dc6cb&&(_0xbf8570[_0x5dcfb9(0x315)](_0x5dcfb9(0x198)+_0x9dc6cb),_0x41ae23[_0x5dcfb9(0x1b2)]=_0x9dc6cb);}if(_0x4b70a9[_0x3dc145[_0x5dcfb9(0x1e1)]]){const _0x3b3ba6=_0x4b70a9[_0x3dc145[_0x5dcfb9(0x1e1)]]['params'],_0x1d65fc=_0xd6eb84[_0x5dcfb9(0x17e)]({[_0x3dc145[_0x5dcfb9(0x1e1)]]:[_0x3b3ba6]});_0xbf8570['push']('Sec-WebSocket-Extensions:\x20'+_0x1d65fc),_0x41ae23[_0x5dcfb9(0x2b8)]=_0x4b70a9;}this['emit']('headers',_0xbf8570,_0x4ea998),_0x4a7898[_0x5dcfb9(0x252)](_0xbf8570[_0x5dcfb9(0x236)]('\x0d\x0a')[_0x5dcfb9(0x1c6)]('\x0d\x0a')),_0x4a7898[_0x5dcfb9(0x177)](_0x5dcfb9(0x179),_0x41e5d8),_0x41ae23[_0x5dcfb9(0x1f2)](_0x4a7898,_0x4b261f,{'allowSynchronousEvents':this[_0x5dcfb9(0x2a4)][_0x5dcfb9(0x1a0)],'maxPayload':this[_0x5dcfb9(0x2a4)][_0x5dcfb9(0x19e)],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this[_0x5dcfb9(0x186)]&&(this[_0x5dcfb9(0x186)]['add'](_0x41ae23),_0x41ae23['on'](_0x5dcfb9(0x1eb),()=>{const _0x3a9bfe=_0x5dcfb9;this['clients'][_0x3a9bfe(0x2c4)](_0x41ae23),this[_0x3a9bfe(0x26d)]&&!this[_0x3a9bfe(0x186)][_0x3a9bfe(0x1bf)]&&process[_0x3a9bfe(0x28d)](_0x35ac5f,this);})),_0x11b5e0(_0x41ae23,_0x4ea998);}}Te=_0x3bb2b2;function _0x577e6e(_0x14358c,_0x216602){const _0x68bdc3=_0x39148c;for(const _0x325dc8 of Object[_0x68bdc3(0x28a)](_0x216602))_0x14358c['on'](_0x325dc8,_0x216602[_0x325dc8]);return function(){const _0x75db5d=_0x68bdc3;for(const _0x2f89d3 of Object[_0x75db5d(0x28a)](_0x216602))_0x14358c['removeListener'](_0x2f89d3,_0x216602[_0x2f89d3]);};}function _0x35ac5f(_0x523d9b){const _0x257c97=_0x39148c;_0x523d9b[_0x257c97(0x195)]=_0x5d3d26,_0x523d9b['emit'](_0x257c97(0x1eb));}function _0x41e5d8(){this['destroy']();}function _0x5a34bc(_0x3e56f8,_0x4262c9,_0xe2ac1f,_0x2077b2){const _0x2e4aee=_0x39148c;_0xe2ac1f=_0xe2ac1f||_0x22f6d3['STATUS_CODES'][_0x4262c9],_0x2077b2={'Connection':_0x2e4aee(0x1eb),'Content-Type':_0x2e4aee(0x29f),'Content-Length':Buffer['byteLength'](_0xe2ac1f),..._0x2077b2},_0x3e56f8[_0x2e4aee(0x318)](_0x2e4aee(0x1c8),_0x3e56f8[_0x2e4aee(0x298)]),_0x3e56f8[_0x2e4aee(0x210)](_0x2e4aee(0x20e)+_0x4262c9+'\x20'+_0x22f6d3[_0x2e4aee(0x31a)][_0x4262c9]+'\x0d\x0a'+Object[_0x2e4aee(0x28a)](_0x2077b2)['map'](_0x10402f=>_0x10402f+':\x20'+_0x2077b2[_0x10402f])['join']('\x0d\x0a')+_0x2e4aee(0x2f7)+_0xe2ac1f);}function _0x2998c1(_0x19c18c,_0x3ec48e,_0xa3ec11,_0x46dad1,_0xc9ea26){const _0x2ed282=_0x39148c;if(_0x19c18c['listenerCount'](_0x2ed282(0x304))){const _0x2486b3=new Error(_0xc9ea26);Error['captureStackTrace'](_0x2486b3,_0x2998c1),_0x19c18c[_0x2ed282(0x2d6)](_0x2ed282(0x304),_0x2486b3,_0xa3ec11,_0x3ec48e);}else _0x5a34bc(_0xa3ec11,_0x46dad1,_0xc9ea26);}return Te;}Ft();var jt=Object[_0x10e5eb(0x1d2)],Wt=(_0x4c3b51,_0x37be06,_0x484c13,_0x4bc5e4)=>{for(var _0x56fabb=_0x4bc5e4>0x1?void 0x0:_0x4bc5e4?jt(_0x37be06,_0x484c13):_0x37be06,_0x4186e5=_0x4c3b51['length']-0x1,_0x1d3691;_0x4186e5>=0x0;_0x4186e5--)(_0x1d3691=_0x4c3b51[_0x4186e5])&&(_0x56fabb=_0x1d3691(_0x56fabb)||_0x56fabb);return _0x56fabb;},qt=(_0x4ce6c5,_0x5acb55)=>(_0x405bcf,_0xc82bff)=>_0x5acb55(_0x405bcf,_0xc82bff,_0x4ce6c5);let ke=class extends A[_0x10e5eb(0x1f9)]{constructor(_0x370cb1){const _0x33922e=_0x10e5eb;super(),this[_0x33922e(0x1b9)]=_0x370cb1;}['createSocket'](_0x20e6cc){const _0x5d9545=_0x10e5eb;var _0x53d857;const _0x4ad610=(_0x53d857=this['_configService']['getConfig'](fe))==null?void 0x0:_0x53d857['customHeaders'];try{const _0x31a3f4=new $t(_0x20e6cc,{'headers':{..._0x4ad610}}),_0x3e506d=new A[(_0x5d9545(0x1f8))]();return{'URL':_0x20e6cc,'close':(_0x3727da,_0x85ad1d)=>{const _0x42fc82=_0x5d9545;_0x31a3f4[_0x42fc82(0x1eb)](_0x3727da,_0x85ad1d),_0x3e506d['dispose']();},'send':_0x107a2b=>{const _0x5def47=_0x5d9545;_0x31a3f4[_0x5def47(0x2f6)](_0x107a2b);},'open$':new V[(_0x5d9545(0x1b3))](_0x367107=>{const _0x294460=_0x5d9545,_0x30190f=_0x5dfe57=>_0x367107[_0x294460(0x2e4)](_0x5dfe57);_0x31a3f4[_0x294460(0x2b0)](_0x294460(0x176),_0x30190f),_0x3e506d['add'](A[_0x294460(0x1c9)](()=>_0x31a3f4['removeEventListener']('open',_0x30190f)));})[_0x5d9545(0x2cf)](V['share']()),'close$':new V['Observable'](_0x4c8275=>{const _0x55f6ff=_0x5d9545,_0x46711e=_0x2ef456=>_0x4c8275[_0x55f6ff(0x2e4)](_0x2ef456);_0x31a3f4['addEventListener'](_0x55f6ff(0x1eb),_0x46711e),_0x3e506d[_0x55f6ff(0x21e)](A[_0x55f6ff(0x1c9)](()=>_0x31a3f4['removeEventListener'](_0x55f6ff(0x1eb),_0x46711e)));})[_0x5d9545(0x2cf)](V[_0x5d9545(0x1f6)]()),'error$':new V[(_0x5d9545(0x1b3))](_0xea8ff4=>{const _0x30b5d9=_0x5d9545,_0x2fca57=_0x496bdc=>_0xea8ff4['next'](_0x496bdc);_0x31a3f4[_0x30b5d9(0x2b0)](_0x30b5d9(0x179),_0x2fca57),_0x3e506d[_0x30b5d9(0x21e)](A[_0x30b5d9(0x1c9)](()=>_0x31a3f4[_0x30b5d9(0x305)](_0x30b5d9(0x179),_0x2fca57)));})[_0x5d9545(0x2cf)](V[_0x5d9545(0x1f6)]()),'message$':new V[(_0x5d9545(0x1b3))](_0x276c26=>{const _0x2694f3=_0x5d9545,_0x2f13be=_0x1a562a=>_0x276c26[_0x2694f3(0x2e4)](_0x1a562a);_0x31a3f4[_0x2694f3(0x2b0)]('message',_0x2f13be),_0x3e506d[_0x2694f3(0x21e)](A[_0x2694f3(0x1c9)](()=>_0x31a3f4['removeEventListener'](_0x2694f3(0x22f),_0x2f13be)));})[_0x5d9545(0x2cf)](V['share']())};}catch(_0x1ce137){return console[_0x5d9545(0x179)](_0x1ce137),null;}}};ke=Wt([qt(0x0,A[_0x10e5eb(0x2be)])],ke);var Gt=Object[_0x10e5eb(0x2b7)],Vt=Object[_0x10e5eb(0x1d2)],Ht=(_0x7bf56,_0x2d4059,_0x1b404c)=>_0x2d4059 in _0x7bf56?Gt(_0x7bf56,_0x2d4059,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b404c}):_0x7bf56[_0x2d4059]=_0x1b404c,zt=(_0x134868,_0x4e5468,_0x33731a,_0xb86504)=>{const _0x167c94=_0x10e5eb;for(var _0x155d6c=_0xb86504>0x1?void 0x0:_0xb86504?Vt(_0x4e5468,_0x33731a):_0x4e5468,_0x12d83b=_0x134868[_0x167c94(0x311)]-0x1,_0x392dbb;_0x12d83b>=0x0;_0x12d83b--)(_0x392dbb=_0x134868[_0x12d83b])&&(_0x155d6c=_0x392dbb(_0x155d6c)||_0x155d6c);return _0x155d6c;},Ne=(_0x1205d5,_0x444e03)=>(_0x1595f2,_0x3fe1a8)=>_0x444e03(_0x1595f2,_0x3fe1a8,_0x1205d5),Yt=(_0x35e892,_0x541740,_0x1d46d2)=>Ht(_0x35e892,_0x541740+'',_0x1d46d2);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x10e5eb(0x273)]{constructor(_0x417d62=Ct,_0x5a7351,_0x12eb1f,_0x4848a0){const _0x33a79f=_0x10e5eb;_0x417d62[_0x33a79f(0x2b4)]||_0x5a7351[_0x33a79f(0x1d8)](_0x33a79f(0x27c)),super(),this[_0x33a79f(0x1b9)]=_0x12eb1f,this['_injector']=_0x4848a0,this['_configService'][_0x33a79f(0x2e3)](fe,_0x417d62);}[_0x10e5eb(0x300)](){const _0x5a2b6c=_0x10e5eb;this[_0x5a2b6c(0x182)]();}[_0x10e5eb(0x182)](){const _0x1faa28=_0x10e5eb;A[_0x1faa28(0x319)](this[_0x1faa28(0x1e8)],[[it[_0x1faa28(0x1f0)],{'useClass':ke}]]);}},Yt(exports[_0x10e5eb(0x2df)],_0x10e5eb(0x22d),_0x10e5eb(0x220)),exports[_0x10e5eb(0x2df)]=zt([A[_0x10e5eb(0x2a6)](st[_0x10e5eb(0x1ec)]),Ne(0x1,A['ILogService']),Ne(0x2,A['IConfigService']),Ne(0x3,A['Inject'](A[_0x10e5eb(0x1ac)]))],exports[_0x10e5eb(0x2df)]);var Kt=Object[_0x10e5eb(0x1d2)],Xt=(_0x173054,_0x5c14df,_0x6d439b,_0x50def1)=>{const _0x487c9f=_0x10e5eb;for(var _0x2eb546=_0x50def1>0x1?void 0x0:_0x50def1?Kt(_0x5c14df,_0x6d439b):_0x5c14df,_0x522f17=_0x173054[_0x487c9f(0x311)]-0x1,_0xf81c4b;_0x522f17>=0x0;_0x522f17--)(_0xf81c4b=_0x173054[_0x522f17])&&(_0x2eb546=_0xf81c4b(_0x2eb546)||_0x2eb546);return _0x2eb546;},ne=(_0xcb7f01,_0x4f0a52)=>(_0x3f05e3,_0x3197c7)=>_0x4f0a52(_0x3f05e3,_0x3197c7,_0xcb7f01);exports[_0x10e5eb(0x1ee)]=class extends st[_0x10e5eb(0x308)]{constructor(_0x83d6ed,_0x5c006d,_0x6d967d,_0x25cbd2,_0x5e7037){const _0x5ee5fd=_0x10e5eb;super(_0x83d6ed,_0x5c006d,_0x6d967d,_0x25cbd2,_0x5e7037);const _0x54b1fb=this[_0x5ee5fd(0x1b9)][_0x5ee5fd(0x324)](fe);this[_0x5ee5fd(0x201)]['registerHTTPInterceptor']({'interceptor':(_0x3018e3,_0x37fdde)=>{const _0x137878=_0x5ee5fd;var _0x3b8629;const _0x219223=_0x3018e3['headers'];return(_0x3b8629=_0x54b1fb==null?void 0x0:_0x54b1fb['customHeaders'])!=null&&_0x3b8629[_0x137878(0x200)]&&_0x219223[_0x137878(0x185)](_0x137878(0x23a),_0x54b1fb[_0x137878(0x2b4)]['cookie']),_0x37fdde(_0x3018e3);}});}async[_0x10e5eb(0x309)](_0x215a2b){return this['_doCreateSocket'](_0x215a2b);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x10e5eb(0x327)](A[_0x10e5eb(0x1ac)])),ne(0x1,A[_0x10e5eb(0x327)](it[_0x10e5eb(0x222)])),ne(0x2,A[_0x10e5eb(0x2be)]),ne(0x3,A[_0x10e5eb(0x199)]),ne(0x4,Ot[_0x10e5eb(0x234)])],exports['NodeCollaborationSocketService']),exports[_0x10e5eb(0x183)]=fe;
1
+ 'use strict';const _0x32c544=_0x59a5;(function(_0x417106,_0x56cf00){const _0x13a0b3=_0x59a5,_0x31f8e8=_0x417106();while(!![]){try{const _0x40f006=parseInt(_0x13a0b3(0x132))/0x1*(-parseInt(_0x13a0b3(0x14b))/0x2)+-parseInt(_0x13a0b3(0x213))/0x3+parseInt(_0x13a0b3(0x232))/0x4+-parseInt(_0x13a0b3(0xfc))/0x5*(parseInt(_0x13a0b3(0x83))/0x6)+-parseInt(_0x13a0b3(0x236))/0x7+-parseInt(_0x13a0b3(0xb2))/0x8+parseInt(_0x13a0b3(0xf3))/0x9*(parseInt(_0x13a0b3(0xac))/0xa);if(_0x40f006===_0x56cf00)break;else _0x31f8e8['push'](_0x31f8e8['shift']());}catch(_0x193065){_0x31f8e8['push'](_0x31f8e8['shift']());}}}(_0x501e,0xe66e0));Object[_0x32c544(0x7e)](exports,Symbol[_0x32c544(0xcf)],{'value':_0x32c544(0x11b)});const st=require(_0x32c544(0x186)),A=require(_0x32c544(0xe0)),it=require('@univerjs/network'),V=require('rxjs'),nt=require(_0x32c544(0x149)),vt=require(_0x32c544(0x1af)),ot=require(_0x32c544(0x1ec)),St=require(_0x32c544(0x7b)),Et=require(_0x32c544(0x1c4)),Le=require(_0x32c544(0x15a)),oe=require(_0x32c544(0x12b)),xt=require(_0x32c544(0x239)),bt=require(_0x32c544(0x17e)),wt=require('buffer'),Ot=require(_0x32c544(0x129)),fe=_0x32c544(0xe1),Ct={'customHeaders':{}};function Tt(_0x260e29){const _0x1ddb29=_0x32c544;return _0x260e29&&_0x260e29[_0x1ddb29(0x12e)]&&Object['prototype'][_0x1ddb29(0xe2)]['call'](_0x260e29,_0x1ddb29(0x80))?_0x260e29[_0x1ddb29(0x80)]:_0x260e29;}function at(_0x17a2dd){const _0x295e0d=_0x32c544;if(Object[_0x295e0d(0x135)][_0x295e0d(0xe2)][_0x295e0d(0x1e8)](_0x17a2dd,_0x295e0d(0x12e)))return _0x17a2dd;var _0x5926d1=_0x17a2dd[_0x295e0d(0x80)];if(typeof _0x5926d1==_0x295e0d(0x1b8)){var _0x85354c=function _0x1309d7(){const _0x4a960f=_0x295e0d;return this instanceof _0x1309d7?Reflect[_0x4a960f(0x231)](_0x5926d1,arguments,this[_0x4a960f(0x96)]):_0x5926d1['apply'](this,arguments);};_0x85354c['prototype']=_0x5926d1[_0x295e0d(0x135)];}else _0x85354c={};return Object[_0x295e0d(0x7e)](_0x85354c,'__esModule',{'value':!0x0}),Object[_0x295e0d(0x6f)](_0x17a2dd)['forEach'](function(_0x8213a4){const _0x379ef2=_0x295e0d;var _0x28b4e3=Object['getOwnPropertyDescriptor'](_0x17a2dd,_0x8213a4);Object[_0x379ef2(0x7e)](_0x85354c,_0x8213a4,_0x28b4e3['get']?_0x28b4e3:{'enumerable':!0x0,'get':function(){return _0x17a2dd[_0x8213a4];}});}),_0x85354c;}var se={'exports':{}},ge,Ge;function H(){const _0x51cd2f=_0x32c544;if(Ge)return ge;Ge=0x1;const _0x329ca6=[_0x51cd2f(0xa0),_0x51cd2f(0x1e2),_0x51cd2f(0xf6)],_0x14f6d5=typeof Blob<'u';return _0x14f6d5&&_0x329ca6[_0x51cd2f(0x108)](_0x51cd2f(0xf9)),ge={'BINARY_TYPES':_0x329ca6,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x51cd2f(0x23d),'hasBlob':_0x14f6d5,'kForOnEventAttribute':Symbol(_0x51cd2f(0x9e)),'kListener':Symbol(_0x51cd2f(0x145)),'kStatusCode':Symbol(_0x51cd2f(0x224)),'kWebSocket':Symbol(_0x51cd2f(0x16b)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x32c544(0x107)](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x46117f=_0x32c544;if(Ve)return se[_0x46117f(0x21b)];Ve=0x1;const {EMPTY_BUFFER:_0x363570}=H(),_0x3c8bcf=Buffer[Symbol['species']];function _0x4bb1f1(_0x599660,_0x1682ed){const _0x54dfcd=_0x46117f;if(_0x599660['length']===0x0)return _0x363570;if(_0x599660[_0x54dfcd(0x73)]===0x1)return _0x599660[0x0];const _0x482c36=Buffer[_0x54dfcd(0x18d)](_0x1682ed);let _0x330391=0x0;for(let _0x161a14=0x0;_0x161a14<_0x599660[_0x54dfcd(0x73)];_0x161a14++){const _0x567263=_0x599660[_0x161a14];_0x482c36[_0x54dfcd(0x122)](_0x567263,_0x330391),_0x330391+=_0x567263['length'];}return _0x330391<_0x1682ed?new _0x3c8bcf(_0x482c36[_0x54dfcd(0xc1)],_0x482c36[_0x54dfcd(0x177)],_0x330391):_0x482c36;}function _0x3649f8(_0x5b9bc5,_0x10cf45,_0x4a03bd,_0x503430,_0x624298){for(let _0x4952a8=0x0;_0x4952a8<_0x624298;_0x4952a8++)_0x4a03bd[_0x503430+_0x4952a8]=_0x5b9bc5[_0x4952a8]^_0x10cf45[_0x4952a8&0x3];}function _0x4e6a28(_0xf1a8df,_0x5e42cd){const _0x24b740=_0x46117f;for(let _0x686b9f=0x0;_0x686b9f<_0xf1a8df[_0x24b740(0x73)];_0x686b9f++)_0xf1a8df[_0x686b9f]^=_0x5e42cd[_0x686b9f&0x3];}function _0x28d3aa(_0x5e405a){const _0x1b0a5c=_0x46117f;return _0x5e405a['length']===_0x5e405a[_0x1b0a5c(0xc1)][_0x1b0a5c(0xc8)]?_0x5e405a[_0x1b0a5c(0xc1)]:_0x5e405a['buffer'][_0x1b0a5c(0x1a0)](_0x5e405a['byteOffset'],_0x5e405a[_0x1b0a5c(0x177)]+_0x5e405a[_0x1b0a5c(0x73)]);}function _0x33d8b3(_0x3f184b){const _0xdcb538=_0x46117f;if(_0x33d8b3[_0xdcb538(0x1cd)]=!0x0,Buffer[_0xdcb538(0x182)](_0x3f184b))return _0x3f184b;let _0x1fb9cd;return _0x3f184b instanceof ArrayBuffer?_0x1fb9cd=new _0x3c8bcf(_0x3f184b):ArrayBuffer['isView'](_0x3f184b)?_0x1fb9cd=new _0x3c8bcf(_0x3f184b[_0xdcb538(0xc1)],_0x3f184b[_0xdcb538(0x177)],_0x3f184b[_0xdcb538(0xc8)]):(_0x1fb9cd=Buffer[_0xdcb538(0x85)](_0x3f184b),_0x33d8b3[_0xdcb538(0x1cd)]=!0x1),_0x1fb9cd;}if(se['exports']={'concat':_0x4bb1f1,'mask':_0x3649f8,'toArrayBuffer':_0x28d3aa,'toBuffer':_0x33d8b3,'unmask':_0x4e6a28},!process[_0x46117f(0x94)][_0x46117f(0xa8)])try{const _0xd98de6=Lt;se['exports'][_0x46117f(0x190)]=function(_0x22710a,_0x2f347c,_0x2dcaf2,_0x575e98,_0x5463f8){_0x5463f8<0x30?_0x3649f8(_0x22710a,_0x2f347c,_0x2dcaf2,_0x575e98,_0x5463f8):_0xd98de6['mask'](_0x22710a,_0x2f347c,_0x2dcaf2,_0x575e98,_0x5463f8);},se[_0x46117f(0x21b)]['unmask']=function(_0x163c14,_0x534f09){const _0x4bf8ff=_0x46117f;_0x163c14[_0x4bf8ff(0x73)]<0x20?_0x4e6a28(_0x163c14,_0x534f09):_0xd98de6[_0x4bf8ff(0xd2)](_0x163c14,_0x534f09);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x18fb54=_0x32c544;if(He)return ye;He=0x1;const _0x1901dd=Symbol(_0x18fb54(0x208)),_0x313850=Symbol(_0x18fb54(0x1d0));class _0x54ae34{constructor(_0xb162fa){const _0x3f78ca=_0x18fb54;this[_0x1901dd]=()=>{this['pending']--,this[_0x313850]();},this[_0x3f78ca(0x1a6)]=_0xb162fa||0x1/0x0,this['jobs']=[],this['pending']=0x0;}[_0x18fb54(0xf7)](_0x4069f8){this['jobs']['push'](_0x4069f8),this[_0x313850]();}[_0x313850](){const _0xce18d3=_0x18fb54;if(this['pending']!==this[_0xce18d3(0x1a6)]&&this['jobs'][_0xce18d3(0x73)]){const _0x1865b2=this[_0xce18d3(0x1ed)][_0xce18d3(0xd4)]();this['pending']++,_0x1865b2(this[_0x1901dd]);}}}return ye=_0x54ae34,ye;}var ve,ze;function he(){const _0x36fde3=_0x32c544;if(ze)return ve;ze=0x1;const _0x2b7551=bt,_0x5aaa9d=ce(),_0x2dcfc6=Pt(),{kStatusCode:_0x4c16af}=H(),_0x323bb6=Buffer[Symbol[_0x36fde3(0x1b3)]],_0x22477b=Buffer[_0x36fde3(0x85)]([0x0,0x0,0xff,0xff]),_0xcf6a05=Symbol(_0x36fde3(0x104)),_0x478343=Symbol(_0x36fde3(0xe6)),_0x13567e=Symbol('callback'),_0x3804b5=Symbol('buffers'),_0x878668=Symbol('error');let _0x15f6e7;class _0x572117{constructor(_0x1266d1,_0x452eb4,_0x523988){const _0x19705d=_0x36fde3;if(this[_0x19705d(0x201)]=_0x523988|0x0,this[_0x19705d(0xec)]=_0x1266d1||{},this['_threshold']=this[_0x19705d(0xec)][_0x19705d(0x1db)]!==void 0x0?this['_options'][_0x19705d(0x1db)]:0x400,this[_0x19705d(0x1ae)]=!!_0x452eb4,this[_0x19705d(0x1f9)]=null,this['_inflate']=null,this[_0x19705d(0x1a9)]=null,!_0x15f6e7){const _0x56f758=this[_0x19705d(0xec)][_0x19705d(0x99)]!==void 0x0?this['_options'][_0x19705d(0x99)]:0xa;_0x15f6e7=new _0x2dcfc6(_0x56f758);}}static get[_0x36fde3(0x1bf)](){return'permessage-deflate';}['offer'](){const _0x1cdc73=_0x36fde3,_0x2f6474={};return this[_0x1cdc73(0xec)][_0x1cdc73(0x10c)]&&(_0x2f6474[_0x1cdc73(0x215)]=!0x0),this[_0x1cdc73(0xec)][_0x1cdc73(0x78)]&&(_0x2f6474['client_no_context_takeover']=!0x0),this[_0x1cdc73(0xec)][_0x1cdc73(0x18f)]&&(_0x2f6474[_0x1cdc73(0x21d)]=this['_options'][_0x1cdc73(0x18f)]),this[_0x1cdc73(0xec)][_0x1cdc73(0x127)]?_0x2f6474[_0x1cdc73(0x1a7)]=this[_0x1cdc73(0xec)][_0x1cdc73(0x127)]:this['_options'][_0x1cdc73(0x127)]==null&&(_0x2f6474['client_max_window_bits']=!0x0),_0x2f6474;}[_0x36fde3(0x184)](_0x2cdd28){const _0x2f1381=_0x36fde3;return _0x2cdd28=this[_0x2f1381(0x1e6)](_0x2cdd28),this[_0x2f1381(0x1a9)]=this[_0x2f1381(0x1ae)]?this['acceptAsServer'](_0x2cdd28):this[_0x2f1381(0xa2)](_0x2cdd28),this[_0x2f1381(0x1a9)];}['cleanup'](){const _0x23f211=_0x36fde3;if(this[_0x23f211(0x139)]&&(this[_0x23f211(0x139)]['close'](),this['_inflate']=null),this[_0x23f211(0x1f9)]){const _0x48f24c=this[_0x23f211(0x1f9)][_0x13567e];this[_0x23f211(0x1f9)][_0x23f211(0x22f)](),this[_0x23f211(0x1f9)]=null,_0x48f24c&&_0x48f24c(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}['acceptAsServer'](_0x262a6d){const _0x276070=_0x36fde3,_0x1c9d75=this[_0x276070(0xec)],_0x9b2776=_0x262a6d[_0x276070(0x20d)](_0x4d7fb4=>!(_0x1c9d75['serverNoContextTakeover']===!0x1&&_0x4d7fb4[_0x276070(0x215)]||_0x4d7fb4[_0x276070(0x21d)]&&(_0x1c9d75[_0x276070(0x18f)]===!0x1||typeof _0x1c9d75[_0x276070(0x18f)]==_0x276070(0x203)&&_0x1c9d75[_0x276070(0x18f)]>_0x4d7fb4[_0x276070(0x21d)])||typeof _0x1c9d75['clientMaxWindowBits']=='number'&&!_0x4d7fb4[_0x276070(0x1a7)]));if(!_0x9b2776)throw new Error(_0x276070(0x191));return _0x1c9d75[_0x276070(0x10c)]&&(_0x9b2776['server_no_context_takeover']=!0x0),_0x1c9d75[_0x276070(0x78)]&&(_0x9b2776[_0x276070(0x171)]=!0x0),typeof _0x1c9d75[_0x276070(0x18f)]==_0x276070(0x203)&&(_0x9b2776[_0x276070(0x21d)]=_0x1c9d75['serverMaxWindowBits']),typeof _0x1c9d75[_0x276070(0x127)]==_0x276070(0x203)?_0x9b2776[_0x276070(0x1a7)]=_0x1c9d75[_0x276070(0x127)]:(_0x9b2776[_0x276070(0x1a7)]===!0x0||_0x1c9d75[_0x276070(0x127)]===!0x1)&&delete _0x9b2776['client_max_window_bits'],_0x9b2776;}['acceptAsClient'](_0x166cfd){const _0x3ce2b6=_0x36fde3,_0x34e4db=_0x166cfd[0x0];if(this[_0x3ce2b6(0xec)][_0x3ce2b6(0x78)]===!0x1&&_0x34e4db[_0x3ce2b6(0x171)])throw new Error(_0x3ce2b6(0x1c2));if(!_0x34e4db[_0x3ce2b6(0x1a7)])typeof this[_0x3ce2b6(0xec)][_0x3ce2b6(0x127)]==_0x3ce2b6(0x203)&&(_0x34e4db[_0x3ce2b6(0x1a7)]=this[_0x3ce2b6(0xec)]['clientMaxWindowBits']);else{if(this[_0x3ce2b6(0xec)][_0x3ce2b6(0x127)]===!0x1||typeof this[_0x3ce2b6(0xec)]['clientMaxWindowBits']==_0x3ce2b6(0x203)&&_0x34e4db[_0x3ce2b6(0x1a7)]>this[_0x3ce2b6(0xec)][_0x3ce2b6(0x127)])throw new Error(_0x3ce2b6(0x18a));}return _0x34e4db;}['normalizeParams'](_0x28ab03){return _0x28ab03['forEach'](_0x5f4f84=>{const _0x346609=_0x59a5;Object[_0x346609(0x6f)](_0x5f4f84)[_0x346609(0x15b)](_0x24bfa6=>{const _0x222077=_0x346609;let _0x3deecd=_0x5f4f84[_0x24bfa6];if(_0x3deecd[_0x222077(0x73)]>0x1)throw new Error(_0x222077(0x179)+_0x24bfa6+_0x222077(0x225));if(_0x3deecd=_0x3deecd[0x0],_0x24bfa6===_0x222077(0x1a7)){if(_0x3deecd!==!0x0){const _0x456054=+_0x3deecd;if(!Number[_0x222077(0x1a2)](_0x456054)||_0x456054<0x8||_0x456054>0xf)throw new TypeError(_0x222077(0x8d)+_0x24bfa6+_0x222077(0xb1)+_0x3deecd);_0x3deecd=_0x456054;}else{if(!this[_0x222077(0x1ae)])throw new TypeError(_0x222077(0x8d)+_0x24bfa6+_0x222077(0xb1)+_0x3deecd);}}else{if(_0x24bfa6===_0x222077(0x21d)){const _0x55682f=+_0x3deecd;if(!Number[_0x222077(0x1a2)](_0x55682f)||_0x55682f<0x8||_0x55682f>0xf)throw new TypeError(_0x222077(0x8d)+_0x24bfa6+'\x22:\x20'+_0x3deecd);_0x3deecd=_0x55682f;}else{if(_0x24bfa6===_0x222077(0x171)||_0x24bfa6==='server_no_context_takeover'){if(_0x3deecd!==!0x0)throw new TypeError(_0x222077(0x8d)+_0x24bfa6+_0x222077(0xb1)+_0x3deecd);}else throw new Error(_0x222077(0xd8)+_0x24bfa6+'\x22');}}_0x5f4f84[_0x24bfa6]=_0x3deecd;});}),_0x28ab03;}[_0x36fde3(0x1f5)](_0x1591d8,_0x212a9a,_0x262683){const _0x118000=_0x36fde3;_0x15f6e7[_0x118000(0xf7)](_0x9d94ea=>{const _0x1a5907=_0x118000;this[_0x1a5907(0x15c)](_0x1591d8,_0x212a9a,(_0x28c0d8,_0x43c229)=>{_0x9d94ea(),_0x262683(_0x28c0d8,_0x43c229);});});}[_0x36fde3(0x1ca)](_0x515ae1,_0x1fce71,_0x1653b7){const _0x518fc7=_0x36fde3;_0x15f6e7[_0x518fc7(0xf7)](_0x2cbb4b=>{const _0x39fc1c=_0x518fc7;this[_0x39fc1c(0x1ab)](_0x515ae1,_0x1fce71,(_0x93099d,_0x4be56c)=>{_0x2cbb4b(),_0x1653b7(_0x93099d,_0x4be56c);});});}[_0x36fde3(0x15c)](_0x19e51e,_0x1f58ba,_0x1ad266){const _0x3c342b=_0x36fde3,_0x2ecefb=this[_0x3c342b(0x1ae)]?_0x3c342b(0x15f):'server';if(!this[_0x3c342b(0x139)]){const _0x715045=_0x2ecefb+_0x3c342b(0x174),_0x2dcdbc=typeof this[_0x3c342b(0x1a9)][_0x715045]!='number'?_0x2b7551[_0x3c342b(0x222)]:this[_0x3c342b(0x1a9)][_0x715045];this[_0x3c342b(0x139)]=_0x2b7551[_0x3c342b(0x214)]({...this['_options'][_0x3c342b(0x17f)],'windowBits':_0x2dcdbc}),this[_0x3c342b(0x139)][_0xcf6a05]=this,this[_0x3c342b(0x139)][_0x478343]=0x0,this[_0x3c342b(0x139)][_0x3804b5]=[],this['_inflate']['on'](_0x3c342b(0x1e1),_0xcb9741),this['_inflate']['on'](_0x3c342b(0x1c6),_0x1f59cd);}this[_0x3c342b(0x139)][_0x13567e]=_0x1ad266,this[_0x3c342b(0x139)]['write'](_0x19e51e),_0x1f58ba&&this[_0x3c342b(0x139)][_0x3c342b(0x221)](_0x22477b),this['_inflate'][_0x3c342b(0x1f3)](()=>{const _0x2e1f0c=_0x3c342b,_0x53449e=this['_inflate'][_0x878668];if(_0x53449e){this[_0x2e1f0c(0x139)][_0x2e1f0c(0x22f)](),this[_0x2e1f0c(0x139)]=null,_0x1ad266(_0x53449e);return;}const _0xcf2780=_0x5aaa9d[_0x2e1f0c(0x20a)](this['_inflate'][_0x3804b5],this['_inflate'][_0x478343]);this[_0x2e1f0c(0x139)][_0x2e1f0c(0x13c)][_0x2e1f0c(0x23c)]?(this[_0x2e1f0c(0x139)][_0x2e1f0c(0x22f)](),this[_0x2e1f0c(0x139)]=null):(this[_0x2e1f0c(0x139)][_0x478343]=0x0,this[_0x2e1f0c(0x139)][_0x3804b5]=[],_0x1f58ba&&this['params'][_0x2ecefb+'_no_context_takeover']&&this['_inflate'][_0x2e1f0c(0x226)]()),_0x1ad266(null,_0xcf2780);});}[_0x36fde3(0x1ab)](_0x32bad6,_0x4194fc,_0x247033){const _0x1571c2=_0x36fde3,_0x2428ad=this[_0x1571c2(0x1ae)]?_0x1571c2(0x1f2):_0x1571c2(0x15f);if(!this[_0x1571c2(0x1f9)]){const _0x96b44b=_0x2428ad+'_max_window_bits',_0x7eab9e=typeof this['params'][_0x96b44b]!='number'?_0x2b7551[_0x1571c2(0x222)]:this['params'][_0x96b44b];this[_0x1571c2(0x1f9)]=_0x2b7551[_0x1571c2(0x1d4)]({...this[_0x1571c2(0xec)][_0x1571c2(0xeb)],'windowBits':_0x7eab9e}),this['_deflate'][_0x478343]=0x0,this[_0x1571c2(0x1f9)][_0x3804b5]=[],this[_0x1571c2(0x1f9)]['on']('data',_0x444214);}this[_0x1571c2(0x1f9)][_0x13567e]=_0x247033,this['_deflate'][_0x1571c2(0x221)](_0x32bad6),this['_deflate'][_0x1571c2(0x1f3)](_0x2b7551[_0x1571c2(0x158)],()=>{const _0x58ffcf=_0x1571c2;if(!this[_0x58ffcf(0x1f9)])return;let _0x4bf193=_0x5aaa9d[_0x58ffcf(0x20a)](this['_deflate'][_0x3804b5],this['_deflate'][_0x478343]);_0x4194fc&&(_0x4bf193=new _0x323bb6(_0x4bf193['buffer'],_0x4bf193[_0x58ffcf(0x177)],_0x4bf193[_0x58ffcf(0x73)]-0x4)),this[_0x58ffcf(0x1f9)][_0x13567e]=null,this[_0x58ffcf(0x1f9)][_0x478343]=0x0,this[_0x58ffcf(0x1f9)][_0x3804b5]=[],_0x4194fc&&this['params'][_0x2428ad+'_no_context_takeover']&&this[_0x58ffcf(0x1f9)][_0x58ffcf(0x226)](),_0x247033(null,_0x4bf193);});}}ve=_0x572117;function _0x444214(_0xe3b007){const _0x32ebe8=_0x36fde3;this[_0x3804b5][_0x32ebe8(0x108)](_0xe3b007),this[_0x478343]+=_0xe3b007[_0x32ebe8(0x73)];}function _0x1f59cd(_0x2583e2){const _0x11723c=_0x36fde3;if(this[_0x478343]+=_0x2583e2['length'],this[_0xcf6a05][_0x11723c(0x201)]<0x1||this[_0x478343]<=this[_0xcf6a05]['_maxPayload']){this[_0x3804b5][_0x11723c(0x108)](_0x2583e2);return;}this[_0x878668]=new RangeError(_0x11723c(0x220)),this[_0x878668][_0x11723c(0x22e)]=_0x11723c(0x79),this[_0x878668][_0x4c16af]=0x3f1,this[_0x11723c(0x20e)](_0x11723c(0x1c6),_0x1f59cd),this['reset']();}function _0xcb9741(_0x4e5cf5){this[_0xcf6a05]['_inflate']=null,_0x4e5cf5[_0x4c16af]=0x3ef,this[_0x13567e](_0x4e5cf5);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x32c544(0x107)](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x32c544(0x11b)})),Bt=at(Rt);var Ye;function ae(){const _0x2d6f53=_0x32c544;if(Ye)return ie[_0x2d6f53(0x21b)];Ye=0x1;const {isUtf8:_0x241541}=wt,{hasBlob:_0x19385d}=H(),_0x303421=[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 _0x5c1c3b(_0x20b2bc){return _0x20b2bc>=0x3e8&&_0x20b2bc<=0x3f6&&_0x20b2bc!==0x3ec&&_0x20b2bc!==0x3ed&&_0x20b2bc!==0x3ee||_0x20b2bc>=0xbb8&&_0x20b2bc<=0x1387;}function _0x240d46(_0x5f4646){const _0x4181d9=_0x5f4646['length'];let _0x4b4cec=0x0;for(;_0x4b4cec<_0x4181d9;)if((_0x5f4646[_0x4b4cec]&0x80)===0x0)_0x4b4cec++;else{if((_0x5f4646[_0x4b4cec]&0xe0)===0xc0){if(_0x4b4cec+0x1===_0x4181d9||(_0x5f4646[_0x4b4cec+0x1]&0xc0)!==0x80||(_0x5f4646[_0x4b4cec]&0xfe)===0xc0)return!0x1;_0x4b4cec+=0x2;}else{if((_0x5f4646[_0x4b4cec]&0xf0)===0xe0){if(_0x4b4cec+0x2>=_0x4181d9||(_0x5f4646[_0x4b4cec+0x1]&0xc0)!==0x80||(_0x5f4646[_0x4b4cec+0x2]&0xc0)!==0x80||_0x5f4646[_0x4b4cec]===0xe0&&(_0x5f4646[_0x4b4cec+0x1]&0xe0)===0x80||_0x5f4646[_0x4b4cec]===0xed&&(_0x5f4646[_0x4b4cec+0x1]&0xe0)===0xa0)return!0x1;_0x4b4cec+=0x3;}else{if((_0x5f4646[_0x4b4cec]&0xf8)===0xf0){if(_0x4b4cec+0x3>=_0x4181d9||(_0x5f4646[_0x4b4cec+0x1]&0xc0)!==0x80||(_0x5f4646[_0x4b4cec+0x2]&0xc0)!==0x80||(_0x5f4646[_0x4b4cec+0x3]&0xc0)!==0x80||_0x5f4646[_0x4b4cec]===0xf0&&(_0x5f4646[_0x4b4cec+0x1]&0xf0)===0x80||_0x5f4646[_0x4b4cec]===0xf4&&_0x5f4646[_0x4b4cec+0x1]>0x8f||_0x5f4646[_0x4b4cec]>0xf4)return!0x1;_0x4b4cec+=0x4;}else return!0x1;}}}return!0x0;}function _0x3659ed(_0x3b1547){const _0x5d6888=_0x2d6f53;return _0x19385d&&typeof _0x3b1547==_0x5d6888(0x9b)&&typeof _0x3b1547[_0x5d6888(0xbc)]=='function'&&typeof _0x3b1547[_0x5d6888(0x156)]==_0x5d6888(0x152)&&typeof _0x3b1547[_0x5d6888(0x12b)]==_0x5d6888(0x1b8)&&(_0x3b1547[Symbol[_0x5d6888(0xcf)]]==='Blob'||_0x3b1547[Symbol[_0x5d6888(0xcf)]]==='File');}if(ie[_0x2d6f53(0x21b)]={'isBlob':_0x3659ed,'isValidStatusCode':_0x5c1c3b,'isValidUTF8':_0x240d46,'tokenChars':_0x303421},_0x241541)ie[_0x2d6f53(0x21b)][_0x2d6f53(0x12d)]=function(_0x4f3e79){const _0x40a211=_0x2d6f53;return _0x4f3e79[_0x40a211(0x73)]<0x18?_0x240d46(_0x4f3e79):_0x241541(_0x4f3e79);};else{if(!process[_0x2d6f53(0x94)][_0x2d6f53(0x1d1)])try{const _0x36796d=Bt;ie[_0x2d6f53(0x21b)]['isValidUTF8']=function(_0x2e9a63){return _0x2e9a63['length']<0x20?_0x240d46(_0x2e9a63):_0x36796d(_0x2e9a63);};}catch{}}return ie[_0x2d6f53(0x21b)];}var Se,Ke;function _0x59a5(_0x1867ba,_0x5b2fd4){const _0x501eeb=_0x501e();return _0x59a5=function(_0x59a5cb,_0x5549a3){_0x59a5cb=_0x59a5cb-0x6c;let _0xd2f9ec=_0x501eeb[_0x59a5cb];return _0xd2f9ec;},_0x59a5(_0x1867ba,_0x5b2fd4);}function lt(){const _0x2a3339=_0x32c544;if(Ke)return Se;Ke=0x1;const {Writable:_0x509aad}=oe,_0x4bcc7f=he(),{BINARY_TYPES:_0x52c55f,EMPTY_BUFFER:_0x2a3d1a,kStatusCode:_0x2f5d5d,kWebSocket:_0x14480a}=H(),{concat:_0x2865a1,toArrayBuffer:_0x1a531b,unmask:_0x3f4fde}=ce(),{isValidStatusCode:_0x288a51,isValidUTF8:_0x221beb}=ae(),_0x51abce=Buffer[Symbol[_0x2a3339(0x1b3)]],_0x3b3a1c=0x0,_0x126cb3=0x1,_0x5e1fb1=0x2,_0x542f09=0x3,_0x104a95=0x4,_0x2e8386=0x5,_0x2033c2=0x6;class _0x344e80 extends _0x509aad{constructor(_0x358056={}){const _0x44f635=_0x2a3339;super(),this[_0x44f635(0x212)]=_0x358056['allowSynchronousEvents']!==void 0x0?_0x358056[_0x44f635(0xb3)]:!0x0,this[_0x44f635(0xa9)]=_0x358056[_0x44f635(0xcc)]||_0x52c55f[0x0],this['_extensions']=_0x358056[_0x44f635(0x9d)]||{},this['_isServer']=!!_0x358056['isServer'],this[_0x44f635(0x201)]=_0x358056[_0x44f635(0x1bb)]|0x0,this['_skipUTF8Validation']=!!_0x358056[_0x44f635(0x1a3)],this[_0x14480a]=void 0x0,this['_bufferedBytes']=0x0,this[_0x44f635(0x205)]=[],this[_0x44f635(0x1fb)]=!0x1,this[_0x44f635(0xbb)]=0x0,this[_0x44f635(0x21f)]=void 0x0,this[_0x44f635(0xea)]=0x0,this['_masked']=!0x1,this[_0x44f635(0xd3)]=!0x1,this[_0x44f635(0x76)]=0x0,this[_0x44f635(0x18c)]=0x0,this[_0x44f635(0x113)]=0x0,this[_0x44f635(0xdf)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this[_0x44f635(0xcd)]=_0x3b3a1c;}[_0x2a3339(0x11e)](_0x331603,_0x251e22,_0x2ea350){const _0x3315aa=_0x2a3339;if(this[_0x3315aa(0x76)]===0x8&&this[_0x3315aa(0xcd)]==_0x3b3a1c)return _0x2ea350();this[_0x3315aa(0xb7)]+=_0x331603[_0x3315aa(0x73)],this['_buffers']['push'](_0x331603),this[_0x3315aa(0x217)](_0x2ea350);}[_0x2a3339(0x154)](_0x34cdf8){const _0x28d89b=_0x2a3339;if(this[_0x28d89b(0xb7)]-=_0x34cdf8,_0x34cdf8===this[_0x28d89b(0x205)][0x0][_0x28d89b(0x73)])return this['_buffers'][_0x28d89b(0xd4)]();if(_0x34cdf8<this[_0x28d89b(0x205)][0x0][_0x28d89b(0x73)]){const _0x1832e6=this[_0x28d89b(0x205)][0x0];return this[_0x28d89b(0x205)][0x0]=new _0x51abce(_0x1832e6['buffer'],_0x1832e6[_0x28d89b(0x177)]+_0x34cdf8,_0x1832e6[_0x28d89b(0x73)]-_0x34cdf8),new _0x51abce(_0x1832e6[_0x28d89b(0xc1)],_0x1832e6[_0x28d89b(0x177)],_0x34cdf8);}const _0x2f966b=Buffer[_0x28d89b(0x18d)](_0x34cdf8);do{const _0x1e80fa=this[_0x28d89b(0x205)][0x0],_0x36d5d3=_0x2f966b['length']-_0x34cdf8;_0x34cdf8>=_0x1e80fa['length']?_0x2f966b['set'](this[_0x28d89b(0x205)][_0x28d89b(0xd4)](),_0x36d5d3):(_0x2f966b[_0x28d89b(0x122)](new Uint8Array(_0x1e80fa[_0x28d89b(0xc1)],_0x1e80fa[_0x28d89b(0x177)],_0x34cdf8),_0x36d5d3),this[_0x28d89b(0x205)][0x0]=new _0x51abce(_0x1e80fa[_0x28d89b(0xc1)],_0x1e80fa[_0x28d89b(0x177)]+_0x34cdf8,_0x1e80fa[_0x28d89b(0x73)]-_0x34cdf8)),_0x34cdf8-=_0x1e80fa[_0x28d89b(0x73)];}while(_0x34cdf8>0x0);return _0x2f966b;}[_0x2a3339(0x217)](_0x36e963){const _0x159ed5=_0x2a3339;this[_0x159ed5(0x207)]=!0x0;do switch(this[_0x159ed5(0xcd)]){case _0x3b3a1c:this['getInfo'](_0x36e963);break;case _0x126cb3:this[_0x159ed5(0x169)](_0x36e963);break;case _0x5e1fb1:this[_0x159ed5(0x1e7)](_0x36e963);break;case _0x542f09:this[_0x159ed5(0x178)]();break;case _0x104a95:this[_0x159ed5(0xc7)](_0x36e963);break;case _0x2e8386:case _0x2033c2:this[_0x159ed5(0x207)]=!0x1;return;}while(this['_loop']);this[_0x159ed5(0xaa)]||_0x36e963();}['getInfo'](_0x22bdce){const _0xbb84cf=_0x2a3339;if(this[_0xbb84cf(0xb7)]<0x2){this[_0xbb84cf(0x207)]=!0x1;return;}const _0x503fd0=this['consume'](0x2);if((_0x503fd0[0x0]&0x30)!==0x0){const _0x2ece09=this['createError'](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0xbb84cf(0x22c));_0x22bdce(_0x2ece09);return;}const _0x397f62=(_0x503fd0[0x0]&0x40)===0x40;if(_0x397f62&&!this[_0xbb84cf(0x1f8)][_0x4bcc7f[_0xbb84cf(0x1bf)]]){const _0x12853b=this[_0xbb84cf(0x103)](RangeError,_0xbb84cf(0xc9),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x22bdce(_0x12853b);return;}if(this[_0xbb84cf(0xd3)]=(_0x503fd0[0x0]&0x80)===0x80,this[_0xbb84cf(0x76)]=_0x503fd0[0x0]&0xf,this[_0xbb84cf(0xbb)]=_0x503fd0[0x1]&0x7f,this[_0xbb84cf(0x76)]===0x0){if(_0x397f62){const _0x177cba=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0xbb84cf(0x165));_0x22bdce(_0x177cba);return;}if(!this[_0xbb84cf(0xea)]){const _0x1a11c0=this[_0xbb84cf(0x103)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0xbb84cf(0x162));_0x22bdce(_0x1a11c0);return;}this['_opcode']=this[_0xbb84cf(0xea)];}else{if(this[_0xbb84cf(0x76)]===0x1||this['_opcode']===0x2){if(this[_0xbb84cf(0xea)]){const _0x222a62=this[_0xbb84cf(0x103)](RangeError,'invalid\x20opcode\x20'+this[_0xbb84cf(0x76)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x22bdce(_0x222a62);return;}this[_0xbb84cf(0x1fb)]=_0x397f62;}else{if(this[_0xbb84cf(0x76)]>0x7&&this[_0xbb84cf(0x76)]<0xb){if(!this['_fin']){const _0x7a5b7f=this[_0xbb84cf(0x103)](RangeError,_0xbb84cf(0x17b),!0x0,0x3ea,_0xbb84cf(0xe9));_0x22bdce(_0x7a5b7f);return;}if(_0x397f62){const _0x5db698=this[_0xbb84cf(0x103)](RangeError,_0xbb84cf(0xc9),!0x0,0x3ea,_0xbb84cf(0x165));_0x22bdce(_0x5db698);return;}if(this[_0xbb84cf(0xbb)]>0x7d||this[_0xbb84cf(0x76)]===0x8&&this[_0xbb84cf(0xbb)]===0x1){const _0x1de422=this[_0xbb84cf(0x103)](RangeError,_0xbb84cf(0x88)+this[_0xbb84cf(0xbb)],!0x0,0x3ea,_0xbb84cf(0xe7));_0x22bdce(_0x1de422);return;}}else{const _0x5e32f5=this[_0xbb84cf(0x103)](RangeError,_0xbb84cf(0x98)+this['_opcode'],!0x0,0x3ea,_0xbb84cf(0x162));_0x22bdce(_0x5e32f5);return;}}}if(!this[_0xbb84cf(0xd3)]&&!this[_0xbb84cf(0xea)]&&(this[_0xbb84cf(0xea)]=this[_0xbb84cf(0x76)]),this[_0xbb84cf(0xd1)]=(_0x503fd0[0x1]&0x80)===0x80,this[_0xbb84cf(0x1ae)]){if(!this['_masked']){const _0x7f4d98=this[_0xbb84cf(0x103)](RangeError,_0xbb84cf(0x181),!0x0,0x3ea,_0xbb84cf(0xbd));_0x22bdce(_0x7f4d98);return;}}else{if(this[_0xbb84cf(0xd1)]){const _0x121898=this['createError'](RangeError,_0xbb84cf(0x1c5),!0x0,0x3ea,_0xbb84cf(0x120));_0x22bdce(_0x121898);return;}}this[_0xbb84cf(0xbb)]===0x7e?this[_0xbb84cf(0xcd)]=_0x126cb3:this['_payloadLength']===0x7f?this[_0xbb84cf(0xcd)]=_0x5e1fb1:this['haveLength'](_0x22bdce);}['getPayloadLength16'](_0x580465){const _0x2dd25d=_0x2a3339;if(this['_bufferedBytes']<0x2){this[_0x2dd25d(0x207)]=!0x1;return;}this[_0x2dd25d(0xbb)]=this['consume'](0x2)[_0x2dd25d(0x105)](0x0),this[_0x2dd25d(0xda)](_0x580465);}['getPayloadLength64'](_0x3bfc90){const _0x5e99e5=_0x2a3339;if(this[_0x5e99e5(0xb7)]<0x8){this[_0x5e99e5(0x207)]=!0x1;return;}const _0x232984=this[_0x5e99e5(0x154)](0x8),_0x24758f=_0x232984[_0x5e99e5(0x77)](0x0);if(_0x24758f>Math[_0x5e99e5(0x20c)](0x2,0x15)-0x1){const _0x18e645=this[_0x5e99e5(0x103)](RangeError,_0x5e99e5(0x131),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x3bfc90(_0x18e645);return;}this[_0x5e99e5(0xbb)]=_0x24758f*Math['pow'](0x2,0x20)+_0x232984[_0x5e99e5(0x77)](0x4),this[_0x5e99e5(0xda)](_0x3bfc90);}['haveLength'](_0x1fe338){const _0x43ad5a=_0x2a3339;if(this[_0x43ad5a(0xbb)]&&this[_0x43ad5a(0x76)]<0x8&&(this['_totalPayloadLength']+=this[_0x43ad5a(0xbb)],this[_0x43ad5a(0x18c)]>this[_0x43ad5a(0x201)]&&this['_maxPayload']>0x0)){const _0x4d2468=this[_0x43ad5a(0x103)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x43ad5a(0x79));_0x1fe338(_0x4d2468);return;}this[_0x43ad5a(0xd1)]?this[_0x43ad5a(0xcd)]=_0x542f09:this[_0x43ad5a(0xcd)]=_0x104a95;}['getMask'](){const _0x168b72=_0x2a3339;if(this[_0x168b72(0xb7)]<0x4){this[_0x168b72(0x207)]=!0x1;return;}this[_0x168b72(0x21f)]=this[_0x168b72(0x154)](0x4),this['_state']=_0x104a95;}[_0x2a3339(0xc7)](_0x223683){const _0x1074ea=_0x2a3339;let _0x42cb1f=_0x2a3d1a;if(this['_payloadLength']){if(this['_bufferedBytes']<this[_0x1074ea(0xbb)]){this[_0x1074ea(0x207)]=!0x1;return;}_0x42cb1f=this[_0x1074ea(0x154)](this[_0x1074ea(0xbb)]),this[_0x1074ea(0xd1)]&&(this['_mask'][0x0]|this[_0x1074ea(0x21f)][0x1]|this[_0x1074ea(0x21f)][0x2]|this[_0x1074ea(0x21f)][0x3])!==0x0&&_0x3f4fde(_0x42cb1f,this['_mask']);}if(this[_0x1074ea(0x76)]>0x7){this['controlMessage'](_0x42cb1f,_0x223683);return;}if(this[_0x1074ea(0x1fb)]){this[_0x1074ea(0xcd)]=_0x2e8386,this[_0x1074ea(0x1f5)](_0x42cb1f,_0x223683);return;}_0x42cb1f[_0x1074ea(0x73)]&&(this[_0x1074ea(0x113)]=this[_0x1074ea(0x18c)],this['_fragments']['push'](_0x42cb1f)),this['dataMessage'](_0x223683);}[_0x2a3339(0x1f5)](_0x5a3854,_0x472d49){const _0x2fe49e=_0x2a3339;this[_0x2fe49e(0x1f8)][_0x4bcc7f['extensionName']][_0x2fe49e(0x1f5)](_0x5a3854,this[_0x2fe49e(0xd3)],(_0x1e73cc,_0x43ed41)=>{const _0x425241=_0x2fe49e;if(_0x1e73cc)return _0x472d49(_0x1e73cc);if(_0x43ed41[_0x425241(0x73)]){if(this['_messageLength']+=_0x43ed41[_0x425241(0x73)],this['_messageLength']>this[_0x425241(0x201)]&&this[_0x425241(0x201)]>0x0){const _0x50bd4a=this[_0x425241(0x103)](RangeError,_0x425241(0x220),!0x1,0x3f1,_0x425241(0x79));_0x472d49(_0x50bd4a);return;}this[_0x425241(0xdf)][_0x425241(0x108)](_0x43ed41);}this[_0x425241(0xce)](_0x472d49),this[_0x425241(0xcd)]===_0x3b3a1c&&this['startLoop'](_0x472d49);});}[_0x2a3339(0xce)](_0x6843a8){const _0xf90e41=_0x2a3339;if(!this[_0xf90e41(0xd3)]){this[_0xf90e41(0xcd)]=_0x3b3a1c;return;}const _0x487a3d=this[_0xf90e41(0x113)],_0x53af21=this[_0xf90e41(0xdf)];if(this[_0xf90e41(0x18c)]=0x0,this[_0xf90e41(0x113)]=0x0,this[_0xf90e41(0xea)]=0x0,this['_fragments']=[],this[_0xf90e41(0x76)]===0x2){let _0x10b9d3;this[_0xf90e41(0xa9)]===_0xf90e41(0xa0)?_0x10b9d3=_0x2865a1(_0x53af21,_0x487a3d):this[_0xf90e41(0xa9)]==='arraybuffer'?_0x10b9d3=_0x1a531b(_0x2865a1(_0x53af21,_0x487a3d)):this[_0xf90e41(0xa9)]==='blob'?_0x10b9d3=new Blob(_0x53af21):_0x10b9d3=_0x53af21,this[_0xf90e41(0x212)]?(this['emit'](_0xf90e41(0x1a8),_0x10b9d3,!0x0),this[_0xf90e41(0xcd)]=_0x3b3a1c):(this[_0xf90e41(0xcd)]=_0x2033c2,setImmediate(()=>{const _0x52dd68=_0xf90e41;this['emit'](_0x52dd68(0x1a8),_0x10b9d3,!0x0),this['_state']=_0x3b3a1c,this[_0x52dd68(0x217)](_0x6843a8);}));}else{const _0x39f6a5=_0x2865a1(_0x53af21,_0x487a3d);if(!this[_0xf90e41(0x8a)]&&!_0x221beb(_0x39f6a5)){const _0x7dd5dc=this['createError'](Error,_0xf90e41(0x1ad),!0x0,0x3ef,_0xf90e41(0x209));_0x6843a8(_0x7dd5dc);return;}this[_0xf90e41(0xcd)]===_0x2e8386||this[_0xf90e41(0x212)]?(this[_0xf90e41(0x12f)](_0xf90e41(0x1a8),_0x39f6a5,!0x1),this[_0xf90e41(0xcd)]=_0x3b3a1c):(this['_state']=_0x2033c2,setImmediate(()=>{const _0x12b4d8=_0xf90e41;this[_0x12b4d8(0x12f)](_0x12b4d8(0x1a8),_0x39f6a5,!0x1),this[_0x12b4d8(0xcd)]=_0x3b3a1c,this[_0x12b4d8(0x217)](_0x6843a8);}));}}['controlMessage'](_0x2de3d2,_0x3022ff){const _0x4fb639=_0x2a3339;if(this[_0x4fb639(0x76)]===0x8){if(_0x2de3d2[_0x4fb639(0x73)]===0x0)this['_loop']=!0x1,this[_0x4fb639(0x12f)]('conclude',0x3ed,_0x2a3d1a),this[_0x4fb639(0x93)]();else{const _0x2b5346=_0x2de3d2[_0x4fb639(0x105)](0x0);if(!_0x288a51(_0x2b5346)){const _0x2684e2=this[_0x4fb639(0x103)](RangeError,_0x4fb639(0x189)+_0x2b5346,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x3022ff(_0x2684e2);return;}const _0x153f7d=new _0x51abce(_0x2de3d2[_0x4fb639(0xc1)],_0x2de3d2[_0x4fb639(0x177)]+0x2,_0x2de3d2['length']-0x2);if(!this[_0x4fb639(0x8a)]&&!_0x221beb(_0x153f7d)){const _0x59c536=this[_0x4fb639(0x103)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x3022ff(_0x59c536);return;}this[_0x4fb639(0x207)]=!0x1,this[_0x4fb639(0x12f)](_0x4fb639(0xee),_0x2b5346,_0x153f7d),this['end']();}this['_state']=_0x3b3a1c;return;}this[_0x4fb639(0x212)]?(this['emit'](this[_0x4fb639(0x76)]===0x9?_0x4fb639(0x1b9):'pong',_0x2de3d2),this['_state']=_0x3b3a1c):(this[_0x4fb639(0xcd)]=_0x2033c2,setImmediate(()=>{const _0x30ac58=_0x4fb639;this['emit'](this[_0x30ac58(0x76)]===0x9?_0x30ac58(0x1b9):_0x30ac58(0x97),_0x2de3d2),this[_0x30ac58(0xcd)]=_0x3b3a1c,this['startLoop'](_0x3022ff);}));}[_0x2a3339(0x103)](_0x44367b,_0x212c31,_0x450d5e,_0x4859a1,_0x41177d){const _0x3e4a45=_0x2a3339;this[_0x3e4a45(0x207)]=!0x1,this[_0x3e4a45(0xaa)]=!0x0;const _0x1df62d=new _0x44367b(_0x450d5e?_0x3e4a45(0x8e)+_0x212c31:_0x212c31);return Error['captureStackTrace'](_0x1df62d,this[_0x3e4a45(0x103)]),_0x1df62d[_0x3e4a45(0x22e)]=_0x41177d,_0x1df62d[_0x2f5d5d]=_0x4859a1,_0x1df62d;}}return Se=_0x344e80,Se;}var Ee,Xe;function ft(){const _0x6b7765=_0x32c544;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x55e4c2}=oe,{randomFillSync:_0x2d2e87}=Le,_0x555022=he(),{EMPTY_BUFFER:_0x324e6b,kWebSocket:_0x9fef4,NOOP:_0x162293}=H(),{isBlob:_0x8d8bf8,isValidStatusCode:_0x3ce85b}=ae(),{mask:_0x1dc785,toBuffer:_0x50e5a3}=ce(),_0x2efcd8=Symbol(_0x6b7765(0x12a)),_0x29c0bc=Buffer[_0x6b7765(0x13a)](0x4),_0x234899=0x8*0x400;let _0xa759c3,_0x863de3=_0x234899;const _0x595fa6=0x0,_0x5c971a=0x1,_0x2bf71a=0x2;class _0x18f564{constructor(_0x477094,_0x2bd278,_0x50437a){const _0x3ed724=_0x6b7765;this[_0x3ed724(0x1f8)]=_0x2bd278||{},_0x50437a&&(this['_generateMask']=_0x50437a,this[_0x3ed724(0xe5)]=Buffer[_0x3ed724(0x13a)](0x4)),this[_0x3ed724(0xad)]=_0x477094,this[_0x3ed724(0x1b6)]=!0x0,this[_0x3ed724(0x1ab)]=!0x1,this['_bufferedBytes']=0x0,this[_0x3ed724(0x211)]=[],this[_0x3ed724(0xcd)]=_0x595fa6,this[_0x3ed724(0x1ce)]=_0x162293,this[_0x9fef4]=void 0x0;}static['frame'](_0x8e22cc,_0x2c8e53){const _0x92f739=_0x6b7765;let _0x25ee46,_0x1d61cb=!0x1,_0x34e091=0x2,_0x2a5621=!0x1;_0x2c8e53[_0x92f739(0x190)]&&(_0x25ee46=_0x2c8e53[_0x92f739(0x151)]||_0x29c0bc,_0x2c8e53['generateMask']?_0x2c8e53[_0x92f739(0x126)](_0x25ee46):(_0x863de3===_0x234899&&(_0xa759c3===void 0x0&&(_0xa759c3=Buffer[_0x92f739(0x13a)](_0x234899)),_0x2d2e87(_0xa759c3,0x0,_0x234899),_0x863de3=0x0),_0x25ee46[0x0]=_0xa759c3[_0x863de3++],_0x25ee46[0x1]=_0xa759c3[_0x863de3++],_0x25ee46[0x2]=_0xa759c3[_0x863de3++],_0x25ee46[0x3]=_0xa759c3[_0x863de3++]),_0x2a5621=(_0x25ee46[0x0]|_0x25ee46[0x1]|_0x25ee46[0x2]|_0x25ee46[0x3])===0x0,_0x34e091=0x6);let _0x31fe4f;typeof _0x8e22cc=='string'?(!_0x2c8e53['mask']||_0x2a5621)&&_0x2c8e53[_0x2efcd8]!==void 0x0?_0x31fe4f=_0x2c8e53[_0x2efcd8]:(_0x8e22cc=Buffer['from'](_0x8e22cc),_0x31fe4f=_0x8e22cc[_0x92f739(0x73)]):(_0x31fe4f=_0x8e22cc[_0x92f739(0x73)],_0x1d61cb=_0x2c8e53[_0x92f739(0x190)]&&_0x2c8e53['readOnly']&&!_0x2a5621);let _0x349e06=_0x31fe4f;_0x31fe4f>=0x10000?(_0x34e091+=0x8,_0x349e06=0x7f):_0x31fe4f>0x7d&&(_0x34e091+=0x2,_0x349e06=0x7e);const _0x15a679=Buffer[_0x92f739(0x18d)](_0x1d61cb?_0x31fe4f+_0x34e091:_0x34e091);return _0x15a679[0x0]=_0x2c8e53['fin']?_0x2c8e53[_0x92f739(0x11d)]|0x80:_0x2c8e53[_0x92f739(0x11d)],_0x2c8e53[_0x92f739(0x11a)]&&(_0x15a679[0x0]|=0x40),_0x15a679[0x1]=_0x349e06,_0x349e06===0x7e?_0x15a679['writeUInt16BE'](_0x31fe4f,0x2):_0x349e06===0x7f&&(_0x15a679[0x2]=_0x15a679[0x3]=0x0,_0x15a679[_0x92f739(0x12c)](_0x31fe4f,0x4,0x6)),_0x2c8e53['mask']?(_0x15a679[0x1]|=0x80,_0x15a679[_0x34e091-0x4]=_0x25ee46[0x0],_0x15a679[_0x34e091-0x3]=_0x25ee46[0x1],_0x15a679[_0x34e091-0x2]=_0x25ee46[0x2],_0x15a679[_0x34e091-0x1]=_0x25ee46[0x3],_0x2a5621?[_0x15a679,_0x8e22cc]:_0x1d61cb?(_0x1dc785(_0x8e22cc,_0x25ee46,_0x15a679,_0x34e091,_0x31fe4f),[_0x15a679]):(_0x1dc785(_0x8e22cc,_0x25ee46,_0x8e22cc,0x0,_0x31fe4f),[_0x15a679,_0x8e22cc])):[_0x15a679,_0x8e22cc];}[_0x6b7765(0x22f)](_0x2b8ab7,_0x2799d2,_0x465e45,_0x55bcd1){const _0x3ed561=_0x6b7765;let _0x60a004;if(_0x2b8ab7===void 0x0)_0x60a004=_0x324e6b;else{if(typeof _0x2b8ab7!=_0x3ed561(0x203)||!_0x3ce85b(_0x2b8ab7))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x2799d2===void 0x0||!_0x2799d2[_0x3ed561(0x73)])_0x60a004=Buffer[_0x3ed561(0x18d)](0x2),_0x60a004[_0x3ed561(0x16e)](_0x2b8ab7,0x0);else{const _0x291793=Buffer[_0x3ed561(0xc8)](_0x2799d2);if(_0x291793>0x7b)throw new RangeError(_0x3ed561(0x233));_0x60a004=Buffer[_0x3ed561(0x18d)](0x2+_0x291793),_0x60a004[_0x3ed561(0x16e)](_0x2b8ab7,0x0),typeof _0x2799d2=='string'?_0x60a004[_0x3ed561(0x221)](_0x2799d2,0x2):_0x60a004['set'](_0x2799d2,0x2);}}const _0x1d7e5e={[_0x2efcd8]:_0x60a004[_0x3ed561(0x73)],'fin':!0x0,'generateMask':this[_0x3ed561(0x1d7)],'mask':_0x465e45,'maskBuffer':this[_0x3ed561(0xe5)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x3ed561(0xcd)]!==_0x595fa6?this[_0x3ed561(0x1dc)]([this[_0x3ed561(0x18b)],_0x60a004,!0x1,_0x1d7e5e,_0x55bcd1]):this[_0x3ed561(0x91)](_0x18f564[_0x3ed561(0x118)](_0x60a004,_0x1d7e5e),_0x55bcd1);}[_0x6b7765(0x1b9)](_0x6b6dee,_0x452f6a,_0xd3acef){const _0xe6b2ea=_0x6b7765;let _0x23d56d,_0xe5ba53;if(typeof _0x6b6dee==_0xe6b2ea(0x152)?(_0x23d56d=Buffer['byteLength'](_0x6b6dee),_0xe5ba53=!0x1):_0x8d8bf8(_0x6b6dee)?(_0x23d56d=_0x6b6dee[_0xe6b2ea(0x71)],_0xe5ba53=!0x1):(_0x6b6dee=_0x50e5a3(_0x6b6dee),_0x23d56d=_0x6b6dee[_0xe6b2ea(0x73)],_0xe5ba53=_0x50e5a3[_0xe6b2ea(0x1cd)]),_0x23d56d>0x7d)throw new RangeError(_0xe6b2ea(0x153));const _0x28f528={[_0x2efcd8]:_0x23d56d,'fin':!0x0,'generateMask':this[_0xe6b2ea(0x1d7)],'mask':_0x452f6a,'maskBuffer':this[_0xe6b2ea(0xe5)],'opcode':0x9,'readOnly':_0xe5ba53,'rsv1':!0x1};_0x8d8bf8(_0x6b6dee)?this[_0xe6b2ea(0xcd)]!==_0x595fa6?this[_0xe6b2ea(0x1dc)]([this[_0xe6b2ea(0x188)],_0x6b6dee,!0x1,_0x28f528,_0xd3acef]):this[_0xe6b2ea(0x188)](_0x6b6dee,!0x1,_0x28f528,_0xd3acef):this['_state']!==_0x595fa6?this[_0xe6b2ea(0x1dc)]([this[_0xe6b2ea(0x18b)],_0x6b6dee,!0x1,_0x28f528,_0xd3acef]):this[_0xe6b2ea(0x91)](_0x18f564['frame'](_0x6b6dee,_0x28f528),_0xd3acef);}[_0x6b7765(0x97)](_0x5e3f6d,_0x5449f2,_0xcc6ec6){const _0x3d424c=_0x6b7765;let _0x33e762,_0x253480;if(typeof _0x5e3f6d==_0x3d424c(0x152)?(_0x33e762=Buffer[_0x3d424c(0xc8)](_0x5e3f6d),_0x253480=!0x1):_0x8d8bf8(_0x5e3f6d)?(_0x33e762=_0x5e3f6d['size'],_0x253480=!0x1):(_0x5e3f6d=_0x50e5a3(_0x5e3f6d),_0x33e762=_0x5e3f6d['length'],_0x253480=_0x50e5a3['readOnly']),_0x33e762>0x7d)throw new RangeError(_0x3d424c(0x153));const _0x535f19={[_0x2efcd8]:_0x33e762,'fin':!0x0,'generateMask':this[_0x3d424c(0x1d7)],'mask':_0x5449f2,'maskBuffer':this[_0x3d424c(0xe5)],'opcode':0xa,'readOnly':_0x253480,'rsv1':!0x1};_0x8d8bf8(_0x5e3f6d)?this[_0x3d424c(0xcd)]!==_0x595fa6?this[_0x3d424c(0x1dc)]([this[_0x3d424c(0x188)],_0x5e3f6d,!0x1,_0x535f19,_0xcc6ec6]):this[_0x3d424c(0x188)](_0x5e3f6d,!0x1,_0x535f19,_0xcc6ec6):this['_state']!==_0x595fa6?this[_0x3d424c(0x1dc)]([this[_0x3d424c(0x18b)],_0x5e3f6d,!0x1,_0x535f19,_0xcc6ec6]):this[_0x3d424c(0x91)](_0x18f564[_0x3d424c(0x118)](_0x5e3f6d,_0x535f19),_0xcc6ec6);}[_0x6b7765(0x1de)](_0xc3fb5b,_0x25d25d,_0x562b4d){const _0x5031ce=_0x6b7765,_0x4c0c37=this['_extensions'][_0x555022[_0x5031ce(0x1bf)]];let _0x1146a4=_0x25d25d['binary']?0x2:0x1,_0x29abd2=_0x25d25d['compress'],_0x88ad51,_0x3c17a1;typeof _0xc3fb5b==_0x5031ce(0x152)?(_0x88ad51=Buffer[_0x5031ce(0xc8)](_0xc3fb5b),_0x3c17a1=!0x1):_0x8d8bf8(_0xc3fb5b)?(_0x88ad51=_0xc3fb5b[_0x5031ce(0x71)],_0x3c17a1=!0x1):(_0xc3fb5b=_0x50e5a3(_0xc3fb5b),_0x88ad51=_0xc3fb5b[_0x5031ce(0x73)],_0x3c17a1=_0x50e5a3[_0x5031ce(0x1cd)]),this['_firstFragment']?(this[_0x5031ce(0x1b6)]=!0x1,_0x29abd2&&_0x4c0c37&&_0x4c0c37[_0x5031ce(0x1a9)][_0x4c0c37['_isServer']?'server_no_context_takeover':_0x5031ce(0x171)]&&(_0x29abd2=_0x88ad51>=_0x4c0c37[_0x5031ce(0x168)]),this[_0x5031ce(0x1ab)]=_0x29abd2):(_0x29abd2=!0x1,_0x1146a4=0x0),_0x25d25d[_0x5031ce(0x1df)]&&(this[_0x5031ce(0x1b6)]=!0x0);const _0x5e2ece={[_0x2efcd8]:_0x88ad51,'fin':_0x25d25d['fin'],'generateMask':this['_generateMask'],'mask':_0x25d25d[_0x5031ce(0x190)],'maskBuffer':this[_0x5031ce(0xe5)],'opcode':_0x1146a4,'readOnly':_0x3c17a1,'rsv1':_0x29abd2};_0x8d8bf8(_0xc3fb5b)?this[_0x5031ce(0xcd)]!==_0x595fa6?this[_0x5031ce(0x1dc)]([this[_0x5031ce(0x188)],_0xc3fb5b,this[_0x5031ce(0x1ab)],_0x5e2ece,_0x562b4d]):this[_0x5031ce(0x188)](_0xc3fb5b,this[_0x5031ce(0x1ab)],_0x5e2ece,_0x562b4d):this[_0x5031ce(0xcd)]!==_0x595fa6?this['enqueue']([this[_0x5031ce(0x18b)],_0xc3fb5b,this[_0x5031ce(0x1ab)],_0x5e2ece,_0x562b4d]):this[_0x5031ce(0x18b)](_0xc3fb5b,this[_0x5031ce(0x1ab)],_0x5e2ece,_0x562b4d);}['getBlobData'](_0x4ffde8,_0x11dc01,_0xe41646,_0x53abb5){const _0x228bd5=_0x6b7765;this[_0x228bd5(0xb7)]+=_0xe41646[_0x2efcd8],this[_0x228bd5(0xcd)]=_0x2bf71a,_0x4ffde8[_0x228bd5(0xbc)]()[_0x228bd5(0x173)](_0x220d86=>{const _0x2111bd=_0x228bd5;if(this[_0x2111bd(0xad)]['destroyed']){const _0xa7f5b8=new Error(_0x2111bd(0x119));process[_0x2111bd(0x1b2)](_0x535164,this,_0xa7f5b8,_0x53abb5);return;}this['_bufferedBytes']-=_0xe41646[_0x2efcd8];const _0x3515a5=_0x50e5a3(_0x220d86);_0x11dc01?this[_0x2111bd(0x18b)](_0x3515a5,_0x11dc01,_0xe41646,_0x53abb5):(this[_0x2111bd(0xcd)]=_0x595fa6,this[_0x2111bd(0x91)](_0x18f564[_0x2111bd(0x118)](_0x3515a5,_0xe41646),_0x53abb5),this[_0x2111bd(0x115)]());})[_0x228bd5(0xdc)](_0x350c49=>{const _0x2f4936=_0x228bd5;process[_0x2f4936(0x1b2)](_0x49e1a6,this,_0x350c49,_0x53abb5);});}[_0x6b7765(0x18b)](_0x3751a7,_0x50ce41,_0x3c3273,_0x1f0ff6){const _0x3bd9f8=_0x6b7765;if(!_0x50ce41){this[_0x3bd9f8(0x91)](_0x18f564[_0x3bd9f8(0x118)](_0x3751a7,_0x3c3273),_0x1f0ff6);return;}const _0xf424f0=this[_0x3bd9f8(0x1f8)][_0x555022[_0x3bd9f8(0x1bf)]];this[_0x3bd9f8(0xb7)]+=_0x3c3273[_0x2efcd8],this[_0x3bd9f8(0xcd)]=_0x5c971a,_0xf424f0[_0x3bd9f8(0x1ca)](_0x3751a7,_0x3c3273[_0x3bd9f8(0x1df)],(_0x428b17,_0x34ff88)=>{const _0x2ba3ed=_0x3bd9f8;if(this['_socket'][_0x2ba3ed(0x1b4)]){const _0x4ee989=new Error(_0x2ba3ed(0xdb));_0x535164(this,_0x4ee989,_0x1f0ff6);return;}this[_0x2ba3ed(0xb7)]-=_0x3c3273[_0x2efcd8],this['_state']=_0x595fa6,_0x3c3273[_0x2ba3ed(0x1cd)]=!0x1,this[_0x2ba3ed(0x91)](_0x18f564[_0x2ba3ed(0x118)](_0x34ff88,_0x3c3273),_0x1f0ff6),this[_0x2ba3ed(0x115)]();});}[_0x6b7765(0x115)](){const _0x5bb0d1=_0x6b7765;for(;this[_0x5bb0d1(0xcd)]===_0x595fa6&&this[_0x5bb0d1(0x211)][_0x5bb0d1(0x73)];){const _0x300323=this[_0x5bb0d1(0x211)][_0x5bb0d1(0xd4)]();this[_0x5bb0d1(0xb7)]-=_0x300323[0x3][_0x2efcd8],Reflect[_0x5bb0d1(0xe4)](_0x300323[0x0],this,_0x300323[_0x5bb0d1(0x1a0)](0x1));}}[_0x6b7765(0x1dc)](_0x455283){const _0x355f5a=_0x6b7765;this['_bufferedBytes']+=_0x455283[0x3][_0x2efcd8],this['_queue'][_0x355f5a(0x108)](_0x455283);}[_0x6b7765(0x91)](_0x3e7334,_0x21b8df){const _0x548a08=_0x6b7765;_0x3e7334[_0x548a08(0x73)]===0x2?(this[_0x548a08(0xad)][_0x548a08(0xb9)](),this[_0x548a08(0xad)]['write'](_0x3e7334[0x0]),this[_0x548a08(0xad)]['write'](_0x3e7334[0x1],_0x21b8df),this[_0x548a08(0xad)][_0x548a08(0x1b1)]()):this[_0x548a08(0xad)][_0x548a08(0x221)](_0x3e7334[0x0],_0x21b8df);}}Ee=_0x18f564;function _0x535164(_0x41c9ea,_0x5129f8,_0x50c65b){const _0x21276f=_0x6b7765;typeof _0x50c65b==_0x21276f(0x1b8)&&_0x50c65b(_0x5129f8);for(let _0x364666=0x0;_0x364666<_0x41c9ea[_0x21276f(0x211)][_0x21276f(0x73)];_0x364666++){const _0x4360f5=_0x41c9ea['_queue'][_0x364666],_0x336b10=_0x4360f5[_0x4360f5[_0x21276f(0x73)]-0x1];typeof _0x336b10=='function'&&_0x336b10(_0x5129f8);}}function _0x49e1a6(_0x4fc237,_0x2d302f,_0x3371cc){_0x535164(_0x4fc237,_0x2d302f,_0x3371cc),_0x4fc237['onerror'](_0x2d302f);}return Ee;}var xe,Ze;function It(){const _0x45d490=_0x32c544;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x26d3d2,kListener:_0x487ef8}=H(),_0x52077e=Symbol(_0x45d490(0x89)),_0x35cb28=Symbol('kData'),_0x46c9cc=Symbol(_0x45d490(0x161)),_0x73416a=Symbol('kMessage'),_0xc5edd7=Symbol(_0x45d490(0x17d)),_0x1713d7=Symbol('kTarget'),_0x4943c9=Symbol(_0x45d490(0x18e)),_0x4d1276=Symbol(_0x45d490(0x1a1));class _0x8229d{constructor(_0xab91dc){this[_0x1713d7]=null,this[_0x4943c9]=_0xab91dc;}get[_0x45d490(0x1c0)](){return this[_0x1713d7];}get[_0x45d490(0x156)](){return this[_0x4943c9];}}Object['defineProperty'](_0x8229d[_0x45d490(0x135)],_0x45d490(0x1c0),{'enumerable':!0x0}),Object[_0x45d490(0x7e)](_0x8229d['prototype'],_0x45d490(0x156),{'enumerable':!0x0});class _0x472e8a extends _0x8229d{constructor(_0x3d9d17,_0x3450c4={}){const _0x13d682=_0x45d490;super(_0x3d9d17),this[_0x52077e]=_0x3450c4['code']===void 0x0?0x0:_0x3450c4[_0x13d682(0x22e)],this[_0xc5edd7]=_0x3450c4[_0x13d682(0x194)]===void 0x0?'':_0x3450c4[_0x13d682(0x194)],this[_0x4d1276]=_0x3450c4[_0x13d682(0x10b)]===void 0x0?!0x1:_0x3450c4[_0x13d682(0x10b)];}get[_0x45d490(0x22e)](){return this[_0x52077e];}get[_0x45d490(0x194)](){return this[_0xc5edd7];}get[_0x45d490(0x10b)](){return this[_0x4d1276];}}Object[_0x45d490(0x7e)](_0x472e8a[_0x45d490(0x135)],_0x45d490(0x22e),{'enumerable':!0x0}),Object[_0x45d490(0x7e)](_0x472e8a[_0x45d490(0x135)],_0x45d490(0x194),{'enumerable':!0x0}),Object[_0x45d490(0x7e)](_0x472e8a[_0x45d490(0x135)],'wasClean',{'enumerable':!0x0});class _0x2d308f extends _0x8229d{constructor(_0x43d068,_0x59f562={}){const _0x2d83ce=_0x45d490;super(_0x43d068),this[_0x46c9cc]=_0x59f562[_0x2d83ce(0x1e1)]===void 0x0?null:_0x59f562[_0x2d83ce(0x1e1)],this[_0x73416a]=_0x59f562[_0x2d83ce(0x1a8)]===void 0x0?'':_0x59f562[_0x2d83ce(0x1a8)];}get[_0x45d490(0x1e1)](){return this[_0x46c9cc];}get[_0x45d490(0x1a8)](){return this[_0x73416a];}}Object[_0x45d490(0x7e)](_0x2d308f[_0x45d490(0x135)],'error',{'enumerable':!0x0}),Object[_0x45d490(0x7e)](_0x2d308f[_0x45d490(0x135)],_0x45d490(0x1a8),{'enumerable':!0x0});class _0x33e10b extends _0x8229d{constructor(_0x4c48c4,_0x4b6233={}){const _0x2d1438=_0x45d490;super(_0x4c48c4),this[_0x35cb28]=_0x4b6233[_0x2d1438(0x1c6)]===void 0x0?null:_0x4b6233[_0x2d1438(0x1c6)];}get[_0x45d490(0x1c6)](){return this[_0x35cb28];}}Object[_0x45d490(0x7e)](_0x33e10b[_0x45d490(0x135)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x472e8a,'ErrorEvent':_0x2d308f,'Event':_0x8229d,'EventTarget':{'addEventListener'(_0x77a006,_0x1a7fc0,_0x534748={}){const _0x5b24ab=_0x45d490;for(const _0x524b86 of this[_0x5b24ab(0x17a)](_0x77a006))if(!_0x534748[_0x26d3d2]&&_0x524b86[_0x487ef8]===_0x1a7fc0&&!_0x524b86[_0x26d3d2])return;let _0x401c3f;if(_0x77a006===_0x5b24ab(0x1a8))_0x401c3f=function(_0x35a678,_0x4d606b){const _0x241457=_0x5b24ab,_0x270877=new _0x33e10b(_0x241457(0x1a8),{'data':_0x4d606b?_0x35a678:_0x35a678[_0x241457(0x6d)]()});_0x270877[_0x1713d7]=this,_0x3a73e6(_0x1a7fc0,this,_0x270877);};else{if(_0x77a006===_0x5b24ab(0x22f))_0x401c3f=function(_0x494870,_0x51ce3c){const _0x937fd5=_0x5b24ab,_0x31c3fb=new _0x472e8a(_0x937fd5(0x22f),{'code':_0x494870,'reason':_0x51ce3c[_0x937fd5(0x6d)](),'wasClean':this[_0x937fd5(0x1d3)]&&this[_0x937fd5(0x206)]});_0x31c3fb[_0x1713d7]=this,_0x3a73e6(_0x1a7fc0,this,_0x31c3fb);};else{if(_0x77a006==='error')_0x401c3f=function(_0x41c9a2){const _0xb420c3=_0x5b24ab,_0x3342a5=new _0x2d308f('error',{'error':_0x41c9a2,'message':_0x41c9a2[_0xb420c3(0x1a8)]});_0x3342a5[_0x1713d7]=this,_0x3a73e6(_0x1a7fc0,this,_0x3342a5);};else{if(_0x77a006===_0x5b24ab(0x109))_0x401c3f=function(){const _0x54be62=_0x5b24ab,_0x35a79e=new _0x8229d(_0x54be62(0x109));_0x35a79e[_0x1713d7]=this,_0x3a73e6(_0x1a7fc0,this,_0x35a79e);};else return;}}}_0x401c3f[_0x26d3d2]=!!_0x534748[_0x26d3d2],_0x401c3f[_0x487ef8]=_0x1a7fc0,_0x534748['once']?this[_0x5b24ab(0x90)](_0x77a006,_0x401c3f):this['on'](_0x77a006,_0x401c3f);},'removeEventListener'(_0x49db4e,_0x2fb095){const _0x55f076=_0x45d490;for(const _0x28296d of this[_0x55f076(0x17a)](_0x49db4e))if(_0x28296d[_0x487ef8]===_0x2fb095&&!_0x28296d[_0x26d3d2]){this['removeListener'](_0x49db4e,_0x28296d);break;}}},'MessageEvent':_0x33e10b};function _0x3a73e6(_0x370e06,_0x67ed07,_0xc36bf5){const _0x46641e=_0x45d490;typeof _0x370e06==_0x46641e(0x9b)&&_0x370e06[_0x46641e(0xef)]?_0x370e06['handleEvent'][_0x46641e(0x1e8)](_0x370e06,_0xc36bf5):_0x370e06[_0x46641e(0x1e8)](_0x67ed07,_0xc36bf5);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x59235c}=ae();function _0x45f0cf(_0x1bffcd,_0x12c8dd,_0x25d343){_0x1bffcd[_0x12c8dd]===void 0x0?_0x1bffcd[_0x12c8dd]=[_0x25d343]:_0x1bffcd[_0x12c8dd]['push'](_0x25d343);}function _0x2b883c(_0x3562be){const _0x53ce54=_0x59a5,_0x6757da=Object[_0x53ce54(0x1be)](null);let _0x451a5a=Object[_0x53ce54(0x1be)](null),_0x498c7b=!0x1,_0x581ab0=!0x1,_0x2b4c71=!0x1,_0x166601,_0x5c4dc9,_0x1de9ec=-0x1,_0x465f51=-0x1,_0x388232=-0x1,_0x1fc89c=0x0;for(;_0x1fc89c<_0x3562be[_0x53ce54(0x73)];_0x1fc89c++)if(_0x465f51=_0x3562be['charCodeAt'](_0x1fc89c),_0x166601===void 0x0){if(_0x388232===-0x1&&_0x59235c[_0x465f51]===0x1)_0x1de9ec===-0x1&&(_0x1de9ec=_0x1fc89c);else{if(_0x1fc89c!==0x0&&(_0x465f51===0x20||_0x465f51===0x9))_0x388232===-0x1&&_0x1de9ec!==-0x1&&(_0x388232=_0x1fc89c);else{if(_0x465f51===0x3b||_0x465f51===0x2c){if(_0x1de9ec===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1fc89c);_0x388232===-0x1&&(_0x388232=_0x1fc89c);const _0x51ecba=_0x3562be['slice'](_0x1de9ec,_0x388232);_0x465f51===0x2c?(_0x45f0cf(_0x6757da,_0x51ecba,_0x451a5a),_0x451a5a=Object[_0x53ce54(0x1be)](null)):_0x166601=_0x51ecba,_0x1de9ec=_0x388232=-0x1;}else throw new SyntaxError(_0x53ce54(0x19a)+_0x1fc89c);}}}else{if(_0x5c4dc9===void 0x0){if(_0x388232===-0x1&&_0x59235c[_0x465f51]===0x1)_0x1de9ec===-0x1&&(_0x1de9ec=_0x1fc89c);else{if(_0x465f51===0x20||_0x465f51===0x9)_0x388232===-0x1&&_0x1de9ec!==-0x1&&(_0x388232=_0x1fc89c);else{if(_0x465f51===0x3b||_0x465f51===0x2c){if(_0x1de9ec===-0x1)throw new SyntaxError(_0x53ce54(0x19a)+_0x1fc89c);_0x388232===-0x1&&(_0x388232=_0x1fc89c),_0x45f0cf(_0x451a5a,_0x3562be[_0x53ce54(0x1a0)](_0x1de9ec,_0x388232),!0x0),_0x465f51===0x2c&&(_0x45f0cf(_0x6757da,_0x166601,_0x451a5a),_0x451a5a=Object[_0x53ce54(0x1be)](null),_0x166601=void 0x0),_0x1de9ec=_0x388232=-0x1;}else{if(_0x465f51===0x3d&&_0x1de9ec!==-0x1&&_0x388232===-0x1)_0x5c4dc9=_0x3562be[_0x53ce54(0x1a0)](_0x1de9ec,_0x1fc89c),_0x1de9ec=_0x388232=-0x1;else throw new SyntaxError(_0x53ce54(0x19a)+_0x1fc89c);}}}}else{if(_0x581ab0){if(_0x59235c[_0x465f51]!==0x1)throw new SyntaxError(_0x53ce54(0x19a)+_0x1fc89c);_0x1de9ec===-0x1?_0x1de9ec=_0x1fc89c:_0x498c7b||(_0x498c7b=!0x0),_0x581ab0=!0x1;}else{if(_0x2b4c71){if(_0x59235c[_0x465f51]===0x1)_0x1de9ec===-0x1&&(_0x1de9ec=_0x1fc89c);else{if(_0x465f51===0x22&&_0x1de9ec!==-0x1)_0x2b4c71=!0x1,_0x388232=_0x1fc89c;else{if(_0x465f51===0x5c)_0x581ab0=!0x0;else throw new SyntaxError(_0x53ce54(0x19a)+_0x1fc89c);}}}else{if(_0x465f51===0x22&&_0x3562be[_0x53ce54(0x19c)](_0x1fc89c-0x1)===0x3d)_0x2b4c71=!0x0;else{if(_0x388232===-0x1&&_0x59235c[_0x465f51]===0x1)_0x1de9ec===-0x1&&(_0x1de9ec=_0x1fc89c);else{if(_0x1de9ec!==-0x1&&(_0x465f51===0x20||_0x465f51===0x9))_0x388232===-0x1&&(_0x388232=_0x1fc89c);else{if(_0x465f51===0x3b||_0x465f51===0x2c){if(_0x1de9ec===-0x1)throw new SyntaxError(_0x53ce54(0x19a)+_0x1fc89c);_0x388232===-0x1&&(_0x388232=_0x1fc89c);let _0x442934=_0x3562be[_0x53ce54(0x1a0)](_0x1de9ec,_0x388232);_0x498c7b&&(_0x442934=_0x442934['replace'](/\\/g,''),_0x498c7b=!0x1),_0x45f0cf(_0x451a5a,_0x5c4dc9,_0x442934),_0x465f51===0x2c&&(_0x45f0cf(_0x6757da,_0x166601,_0x451a5a),_0x451a5a=Object[_0x53ce54(0x1be)](null),_0x166601=void 0x0),_0x5c4dc9=void 0x0,_0x1de9ec=_0x388232=-0x1;}else throw new SyntaxError(_0x53ce54(0x19a)+_0x1fc89c);}}}}}}}if(_0x1de9ec===-0x1||_0x2b4c71||_0x465f51===0x20||_0x465f51===0x9)throw new SyntaxError(_0x53ce54(0xbe));_0x388232===-0x1&&(_0x388232=_0x1fc89c);const _0x1b4dc3=_0x3562be[_0x53ce54(0x1a0)](_0x1de9ec,_0x388232);return _0x166601===void 0x0?_0x45f0cf(_0x6757da,_0x1b4dc3,_0x451a5a):(_0x5c4dc9===void 0x0?_0x45f0cf(_0x451a5a,_0x1b4dc3,!0x0):_0x498c7b?_0x45f0cf(_0x451a5a,_0x5c4dc9,_0x1b4dc3[_0x53ce54(0xf5)](/\\/g,'')):_0x45f0cf(_0x451a5a,_0x5c4dc9,_0x1b4dc3),_0x45f0cf(_0x6757da,_0x166601,_0x451a5a)),_0x6757da;}function _0x15cf51(_0x1e6bdd){const _0x44f6e7=_0x59a5;return Object[_0x44f6e7(0x6f)](_0x1e6bdd)['map'](_0x3d17b8=>{const _0x1d8f8f=_0x44f6e7;let _0x99c06e=_0x1e6bdd[_0x3d17b8];return Array['isArray'](_0x99c06e)||(_0x99c06e=[_0x99c06e]),_0x99c06e[_0x1d8f8f(0x1ee)](_0xe213c8=>[_0x3d17b8][_0x1d8f8f(0x20a)](Object['keys'](_0xe213c8)[_0x1d8f8f(0x1ee)](_0x5632ac=>{const _0x30ccaa=_0x1d8f8f;let _0x247710=_0xe213c8[_0x5632ac];return Array[_0x30ccaa(0xba)](_0x247710)||(_0x247710=[_0x247710]),_0x247710[_0x30ccaa(0x1ee)](_0x16ab28=>_0x16ab28===!0x0?_0x5632ac:_0x5632ac+'='+_0x16ab28)['join'](';\x20');}))['join'](';\x20'))[_0x1d8f8f(0x9c)](',\x20');})['join'](',\x20');}return be={'format':_0x15cf51,'parse':_0x2b883c},be;}var we,Je;function Pe(){const _0x153d86=_0x32c544;if(Je)return we;Je=0x1;const _0x4158c4=nt,_0x13e0c0=vt,_0x58406d=ot,_0x5e1827=St,_0x6b6d3=Et,{randomBytes:_0x1c8630,createHash:_0x21a865}=Le,{Duplex:_0x5194b1,Readable:_0xba341a}=oe,{URL:_0x585cb7}=xt,_0x4b281f=he(),_0x9c6f7c=lt(),_0x4596bc=ft(),{isBlob:_0x111869}=ae(),{BINARY_TYPES:_0xb9b56f,EMPTY_BUFFER:_0x268b4,GUID:_0x416403,kForOnEventAttribute:_0x3fbdb2,kListener:_0x4f9286,kStatusCode:_0x44b550,kWebSocket:_0x8767bc,NOOP:_0x54d19b}=H(),{EventTarget:{addEventListener:_0x16a9e0,removeEventListener:_0x12acc5}}=It(),{format:_0x41dd66,parse:_0x465980}=ct(),{toBuffer:_0x270630}=ce(),_0x3c9202=0x1e*0x3e8,_0x5c2a63=Symbol(_0x153d86(0x159)),_0x534d8e=[0x8,0xd],_0x558ada=[_0x153d86(0x227),_0x153d86(0x1c1),_0x153d86(0x175),_0x153d86(0xa6)],_0x427af0=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5a1312 extends _0x4158c4{constructor(_0x4d1365,_0x290fb8,_0x17bedc){const _0x2ee8f7=_0x153d86;super(),this[_0x2ee8f7(0xa9)]=_0xb9b56f[0x0],this['_closeCode']=0x3ee,this[_0x2ee8f7(0x1d3)]=!0x1,this[_0x2ee8f7(0x206)]=!0x1,this[_0x2ee8f7(0x134)]=_0x268b4,this[_0x2ee8f7(0xfe)]=null,this[_0x2ee8f7(0x192)]=!0x1,this[_0x2ee8f7(0x1f8)]={},this[_0x2ee8f7(0xb5)]=!0x1,this['_protocol']='',this[_0x2ee8f7(0x14a)]=_0x5a1312[_0x2ee8f7(0x227)],this[_0x2ee8f7(0xab)]=null,this[_0x2ee8f7(0xb6)]=null,this[_0x2ee8f7(0xad)]=null,_0x4d1365!==null?(this[_0x2ee8f7(0x13e)]=0x0,this['_isServer']=!0x1,this[_0x2ee8f7(0x238)]=0x0,_0x290fb8===void 0x0?_0x290fb8=[]:Array[_0x2ee8f7(0xba)](_0x290fb8)||(typeof _0x290fb8==_0x2ee8f7(0x9b)&&_0x290fb8!==null?(_0x17bedc=_0x290fb8,_0x290fb8=[]):_0x290fb8=[_0x290fb8]),_0x3d29cd(this,_0x4d1365,_0x290fb8,_0x17bedc)):(this[_0x2ee8f7(0x86)]=_0x17bedc[_0x2ee8f7(0xd5)],this[_0x2ee8f7(0x1ae)]=!0x0);}get[_0x153d86(0xcc)](){const _0x21d912=_0x153d86;return this[_0x21d912(0xa9)];}set['binaryType'](_0x52c084){const _0x185d81=_0x153d86;_0xb9b56f['includes'](_0x52c084)&&(this[_0x185d81(0xa9)]=_0x52c084,this['_receiver']&&(this[_0x185d81(0xab)]['_binaryType']=_0x52c084));}get[_0x153d86(0x19b)](){const _0x15e5c9=_0x153d86;return this[_0x15e5c9(0xad)]?this[_0x15e5c9(0xad)][_0x15e5c9(0xa5)][_0x15e5c9(0x73)]+this[_0x15e5c9(0xb6)][_0x15e5c9(0xb7)]:this[_0x15e5c9(0x13e)];}get['extensions'](){const _0x1608a4=_0x153d86;return Object[_0x1608a4(0x6f)](this[_0x1608a4(0x1f8)])['join']();}get['isPaused'](){const _0x5eaaf3=_0x153d86;return this[_0x5eaaf3(0xb5)];}get[_0x153d86(0x106)](){return null;}get[_0x153d86(0x1ce)](){return null;}get[_0x153d86(0x1e4)](){return null;}get[_0x153d86(0x234)](){return null;}get[_0x153d86(0x1ef)](){return this['_protocol'];}get[_0x153d86(0x1f6)](){const _0x2ebae4=_0x153d86;return this[_0x2ebae4(0x14a)];}get[_0x153d86(0x239)](){return this['_url'];}[_0x153d86(0x112)](_0x451b10,_0x228304,_0x4f14c9){const _0x27cb78=_0x153d86,_0x346b55=new _0x9c6f7c({'allowSynchronousEvents':_0x4f14c9['allowSynchronousEvents'],'binaryType':this[_0x27cb78(0xcc)],'extensions':this[_0x27cb78(0x1f8)],'isServer':this[_0x27cb78(0x1ae)],'maxPayload':_0x4f14c9[_0x27cb78(0x1bb)],'skipUTF8Validation':_0x4f14c9['skipUTF8Validation']}),_0x523e3a=new _0x4596bc(_0x451b10,this['_extensions'],_0x4f14c9['generateMask']);this[_0x27cb78(0xab)]=_0x346b55,this['_sender']=_0x523e3a,this['_socket']=_0x451b10,_0x346b55[_0x8767bc]=this,_0x523e3a[_0x8767bc]=this,_0x451b10[_0x8767bc]=this,_0x346b55['on']('conclude',_0x15e854),_0x346b55['on'](_0x27cb78(0xa7),_0x4f8339),_0x346b55['on'](_0x27cb78(0x1e1),_0x67a831),_0x346b55['on'](_0x27cb78(0x1a8),_0x138904),_0x346b55['on'](_0x27cb78(0x1b9),_0x2b4fd5),_0x346b55['on'](_0x27cb78(0x97),_0x40647a),_0x523e3a[_0x27cb78(0x1ce)]=_0x2846b6,_0x451b10['setTimeout']&&_0x451b10[_0x27cb78(0x20b)](0x0),_0x451b10[_0x27cb78(0x100)]&&_0x451b10[_0x27cb78(0x100)](),_0x228304['length']>0x0&&_0x451b10['unshift'](_0x228304),_0x451b10['on'](_0x27cb78(0x22f),_0xbf8bc6),_0x451b10['on'](_0x27cb78(0x1c6),_0x580074),_0x451b10['on'](_0x27cb78(0x93),_0x168df3),_0x451b10['on'](_0x27cb78(0x1e1),_0x5d018d),this['_readyState']=_0x5a1312['OPEN'],this[_0x27cb78(0x12f)](_0x27cb78(0x109));}['emitClose'](){const _0x4e8e27=_0x153d86;if(!this['_socket']){this[_0x4e8e27(0x14a)]=_0x5a1312[_0x4e8e27(0xa6)],this['emit']('close',this[_0x4e8e27(0x1dd)],this[_0x4e8e27(0x134)]);return;}this[_0x4e8e27(0x1f8)][_0x4b281f[_0x4e8e27(0x1bf)]]&&this[_0x4e8e27(0x1f8)][_0x4b281f[_0x4e8e27(0x1bf)]][_0x4e8e27(0xf2)](),this[_0x4e8e27(0xab)]['removeAllListeners'](),this['_readyState']=_0x5a1312[_0x4e8e27(0xa6)],this[_0x4e8e27(0x12f)]('close',this[_0x4e8e27(0x1dd)],this[_0x4e8e27(0x134)]);}[_0x153d86(0x22f)](_0x5c767b,_0x5de920){const _0xa951ad=_0x153d86;if(this['readyState']!==_0x5a1312['CLOSED']){if(this[_0xa951ad(0x1f6)]===_0x5a1312[_0xa951ad(0x227)]){_0x4d6335(this,this['_req'],_0xa951ad(0x180));return;}if(this[_0xa951ad(0x1f6)]===_0x5a1312['CLOSING']){this[_0xa951ad(0x206)]&&(this[_0xa951ad(0x1d3)]||this['_receiver'][_0xa951ad(0xa5)][_0xa951ad(0x193)])&&this['_socket'][_0xa951ad(0x93)]();return;}this[_0xa951ad(0x14a)]=_0x5a1312['CLOSING'],this[_0xa951ad(0xb6)]['close'](_0x5c767b,_0x5de920,!this[_0xa951ad(0x1ae)],_0x2c4cab=>{const _0x2a2b44=_0xa951ad;_0x2c4cab||(this[_0x2a2b44(0x206)]=!0x0,(this['_closeFrameReceived']||this[_0x2a2b44(0xab)][_0x2a2b44(0xa5)]['errorEmitted'])&&this[_0x2a2b44(0xad)][_0x2a2b44(0x93)]());}),_0x2adcd2(this);}}[_0x153d86(0x13d)](){const _0x57b096=_0x153d86;this[_0x57b096(0x1f6)]===_0x5a1312[_0x57b096(0x227)]||this[_0x57b096(0x1f6)]===_0x5a1312[_0x57b096(0xa6)]||(this[_0x57b096(0xb5)]=!0x0,this[_0x57b096(0xad)][_0x57b096(0x13d)]());}[_0x153d86(0x1b9)](_0x5c4842,_0x524056,_0x3c97c4){const _0x5d46c8=_0x153d86;if(this['readyState']===_0x5a1312['CONNECTING'])throw new Error(_0x5d46c8(0x117));if(typeof _0x5c4842==_0x5d46c8(0x1b8)?(_0x3c97c4=_0x5c4842,_0x5c4842=_0x524056=void 0x0):typeof _0x524056==_0x5d46c8(0x1b8)&&(_0x3c97c4=_0x524056,_0x524056=void 0x0),typeof _0x5c4842==_0x5d46c8(0x203)&&(_0x5c4842=_0x5c4842['toString']()),this[_0x5d46c8(0x1f6)]!==_0x5a1312['OPEN']){_0x5c8617(this,_0x5c4842,_0x3c97c4);return;}_0x524056===void 0x0&&(_0x524056=!this[_0x5d46c8(0x1ae)]),this[_0x5d46c8(0xb6)]['ping'](_0x5c4842||_0x268b4,_0x524056,_0x3c97c4);}[_0x153d86(0x97)](_0x4aaec9,_0x3e5cf8,_0x296d49){const _0x1ac4a4=_0x153d86;if(this[_0x1ac4a4(0x1f6)]===_0x5a1312['CONNECTING'])throw new Error(_0x1ac4a4(0x117));if(typeof _0x4aaec9=='function'?(_0x296d49=_0x4aaec9,_0x4aaec9=_0x3e5cf8=void 0x0):typeof _0x3e5cf8==_0x1ac4a4(0x1b8)&&(_0x296d49=_0x3e5cf8,_0x3e5cf8=void 0x0),typeof _0x4aaec9==_0x1ac4a4(0x203)&&(_0x4aaec9=_0x4aaec9[_0x1ac4a4(0x6d)]()),this[_0x1ac4a4(0x1f6)]!==_0x5a1312[_0x1ac4a4(0x1c1)]){_0x5c8617(this,_0x4aaec9,_0x296d49);return;}_0x3e5cf8===void 0x0&&(_0x3e5cf8=!this[_0x1ac4a4(0x1ae)]),this[_0x1ac4a4(0xb6)][_0x1ac4a4(0x97)](_0x4aaec9||_0x268b4,_0x3e5cf8,_0x296d49);}[_0x153d86(0x11c)](){const _0x19ac85=_0x153d86;this[_0x19ac85(0x1f6)]===_0x5a1312['CONNECTING']||this[_0x19ac85(0x1f6)]===_0x5a1312[_0x19ac85(0xa6)]||(this['_paused']=!0x1,this['_receiver']['_writableState'][_0x19ac85(0x148)]||this[_0x19ac85(0xad)][_0x19ac85(0x11c)]());}[_0x153d86(0x1de)](_0x53295c,_0x435833,_0x264bf1){const _0x4a6c96=_0x153d86;if(this[_0x4a6c96(0x1f6)]===_0x5a1312[_0x4a6c96(0x227)])throw new Error(_0x4a6c96(0x117));if(typeof _0x435833==_0x4a6c96(0x1b8)&&(_0x264bf1=_0x435833,_0x435833={}),typeof _0x53295c==_0x4a6c96(0x203)&&(_0x53295c=_0x53295c['toString']()),this[_0x4a6c96(0x1f6)]!==_0x5a1312['OPEN']){_0x5c8617(this,_0x53295c,_0x264bf1);return;}const _0x5d5d83={'binary':typeof _0x53295c!=_0x4a6c96(0x152),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x435833};this['_extensions'][_0x4b281f[_0x4a6c96(0x1bf)]]||(_0x5d5d83[_0x4a6c96(0x1ca)]=!0x1),this[_0x4a6c96(0xb6)][_0x4a6c96(0x1de)](_0x53295c||_0x268b4,_0x5d5d83,_0x264bf1);}[_0x153d86(0x1e9)](){const _0x89d427=_0x153d86;if(this[_0x89d427(0x1f6)]!==_0x5a1312[_0x89d427(0xa6)]){if(this['readyState']===_0x5a1312[_0x89d427(0x227)]){_0x4d6335(this,this['_req'],_0x89d427(0x180));return;}this[_0x89d427(0xad)]&&(this[_0x89d427(0x14a)]=_0x5a1312[_0x89d427(0x175)],this[_0x89d427(0xad)][_0x89d427(0x1e3)]());}}}Object[_0x153d86(0x7e)](_0x5a1312,_0x153d86(0x227),{'enumerable':!0x0,'value':_0x558ada[_0x153d86(0x21a)](_0x153d86(0x227))}),Object[_0x153d86(0x7e)](_0x5a1312[_0x153d86(0x135)],'CONNECTING',{'enumerable':!0x0,'value':_0x558ada[_0x153d86(0x21a)]('CONNECTING')}),Object[_0x153d86(0x7e)](_0x5a1312,'OPEN',{'enumerable':!0x0,'value':_0x558ada[_0x153d86(0x21a)](_0x153d86(0x1c1))}),Object[_0x153d86(0x7e)](_0x5a1312[_0x153d86(0x135)],_0x153d86(0x1c1),{'enumerable':!0x0,'value':_0x558ada['indexOf'](_0x153d86(0x1c1))}),Object[_0x153d86(0x7e)](_0x5a1312,_0x153d86(0x175),{'enumerable':!0x0,'value':_0x558ada['indexOf'](_0x153d86(0x175))}),Object[_0x153d86(0x7e)](_0x5a1312['prototype'],_0x153d86(0x175),{'enumerable':!0x0,'value':_0x558ada[_0x153d86(0x21a)](_0x153d86(0x175))}),Object[_0x153d86(0x7e)](_0x5a1312,_0x153d86(0xa6),{'enumerable':!0x0,'value':_0x558ada[_0x153d86(0x21a)](_0x153d86(0xa6))}),Object[_0x153d86(0x7e)](_0x5a1312[_0x153d86(0x135)],'CLOSED',{'enumerable':!0x0,'value':_0x558ada[_0x153d86(0x21a)](_0x153d86(0xa6))}),[_0x153d86(0xcc),'bufferedAmount',_0x153d86(0x9d),_0x153d86(0xfa),_0x153d86(0x1ef),_0x153d86(0x1f6),_0x153d86(0x239)][_0x153d86(0x15b)](_0x17c419=>{const _0x3a8d73=_0x153d86;Object['defineProperty'](_0x5a1312[_0x3a8d73(0x135)],_0x17c419,{'enumerable':!0x0});}),[_0x153d86(0x109),'error',_0x153d86(0x22f),_0x153d86(0x1a8)][_0x153d86(0x15b)](_0x26d1c1=>{const _0x1366da=_0x153d86;Object[_0x1366da(0x7e)](_0x5a1312['prototype'],'on'+_0x26d1c1,{'enumerable':!0x0,'get'(){const _0x4377c8=_0x1366da;for(const _0x20d71a of this[_0x4377c8(0x17a)](_0x26d1c1))if(_0x20d71a[_0x3fbdb2])return _0x20d71a[_0x4f9286];return null;},'set'(_0x1eebc9){const _0x22f181=_0x1366da;for(const _0x17aa58 of this['listeners'](_0x26d1c1))if(_0x17aa58[_0x3fbdb2]){this[_0x22f181(0x20e)](_0x26d1c1,_0x17aa58);break;}typeof _0x1eebc9==_0x22f181(0x1b8)&&this[_0x22f181(0x1c7)](_0x26d1c1,_0x1eebc9,{[_0x3fbdb2]:!0x0});}});}),_0x5a1312[_0x153d86(0x135)][_0x153d86(0x1c7)]=_0x16a9e0,_0x5a1312[_0x153d86(0x135)][_0x153d86(0x1f0)]=_0x12acc5,we=_0x5a1312;function _0x3d29cd(_0xd026e5,_0x18e341,_0x5416fd,_0x3709c6){const _0x1d015e=_0x153d86,_0x4e1b7f={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x534d8e[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3709c6,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x1d015e(0x124),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xd026e5[_0x1d015e(0x86)]=_0x4e1b7f[_0x1d015e(0xd5)],!_0x534d8e['includes'](_0x4e1b7f[_0x1d015e(0x1e5)]))throw new RangeError(_0x1d015e(0x75)+_0x4e1b7f[_0x1d015e(0x1e5)]+_0x1d015e(0x157)+_0x534d8e[_0x1d015e(0x9c)](',\x20')+')');let _0x35a484;if(_0x18e341 instanceof _0x585cb7)_0x35a484=_0x18e341;else try{_0x35a484=new _0x585cb7(_0x18e341);}catch{throw new SyntaxError(_0x1d015e(0x6c)+_0x18e341);}_0x35a484['protocol']===_0x1d015e(0x1a4)?_0x35a484[_0x1d015e(0x1ef)]=_0x1d015e(0x1c8):_0x35a484['protocol']===_0x1d015e(0xdd)&&(_0x35a484[_0x1d015e(0x1ef)]='wss:'),_0xd026e5[_0x1d015e(0x1cb)]=_0x35a484[_0x1d015e(0x14f)];const _0x404734=_0x35a484[_0x1d015e(0x1ef)]===_0x1d015e(0x136),_0xbfaacd=_0x35a484[_0x1d015e(0x1ef)]==='ws+unix:';let _0x58f909;if(_0x35a484[_0x1d015e(0x1ef)]!==_0x1d015e(0x1c8)&&!_0x404734&&!_0xbfaacd?_0x58f909=_0x1d015e(0x172):_0xbfaacd&&!_0x35a484[_0x1d015e(0x185)]?_0x58f909=_0x1d015e(0x7d):_0x35a484['hash']&&(_0x58f909=_0x1d015e(0xed)),_0x58f909){const _0x36c4cc=new SyntaxError(_0x58f909);if(_0xd026e5[_0x1d015e(0x238)]===0x0)throw _0x36c4cc;_0x1a37b3(_0xd026e5,_0x36c4cc);return;}const _0x4ce368=_0x404734?0x1bb:0x50,_0x323d20=_0x1c8630(0x10)[_0x1d015e(0x6d)](_0x1d015e(0x140)),_0x33c9ad=_0x404734?_0x13e0c0[_0x1d015e(0x1f7)]:_0x58406d['request'],_0x160c65=new Set();let _0x1310e1;if(_0x4e1b7f['createConnection']=_0x4e1b7f[_0x1d015e(0xc2)]||(_0x404734?_0x20b39f:_0x3852c5),_0x4e1b7f[_0x1d015e(0x218)]=_0x4e1b7f['defaultPort']||_0x4ce368,_0x4e1b7f[_0x1d015e(0x219)]=_0x35a484[_0x1d015e(0x219)]||_0x4ce368,_0x4e1b7f[_0x1d015e(0xca)]=_0x35a484[_0x1d015e(0x16d)][_0x1d015e(0x144)]('[')?_0x35a484['hostname'][_0x1d015e(0x1a0)](0x1,-0x1):_0x35a484[_0x1d015e(0x16d)],_0x4e1b7f['headers']={..._0x4e1b7f[_0x1d015e(0x235)],'Sec-WebSocket-Version':_0x4e1b7f['protocolVersion'],'Sec-WebSocket-Key':_0x323d20,'Connection':_0x1d015e(0xc6),'Upgrade':_0x1d015e(0x16b)},_0x4e1b7f[_0x1d015e(0x22b)]=_0x35a484['pathname']+_0x35a484[_0x1d015e(0x133)],_0x4e1b7f[_0x1d015e(0x11f)]=_0x4e1b7f[_0x1d015e(0xd6)],_0x4e1b7f[_0x1d015e(0x1bc)]&&(_0x1310e1=new _0x4b281f(_0x4e1b7f[_0x1d015e(0x1bc)]!==!0x0?_0x4e1b7f[_0x1d015e(0x1bc)]:{},!0x1,_0x4e1b7f[_0x1d015e(0x1bb)]),_0x4e1b7f[_0x1d015e(0x235)][_0x1d015e(0x237)]=_0x41dd66({[_0x4b281f[_0x1d015e(0x1bf)]]:_0x1310e1['offer']()})),_0x5416fd[_0x1d015e(0x73)]){for(const _0x52eb02 of _0x5416fd){if(typeof _0x52eb02!=_0x1d015e(0x152)||!_0x427af0['test'](_0x52eb02)||_0x160c65[_0x1d015e(0xd0)](_0x52eb02))throw new SyntaxError(_0x1d015e(0xb4));_0x160c65[_0x1d015e(0xf7)](_0x52eb02);}_0x4e1b7f[_0x1d015e(0x235)][_0x1d015e(0x9f)]=_0x5416fd[_0x1d015e(0x9c)](',');}if(_0x4e1b7f[_0x1d015e(0x196)]&&(_0x4e1b7f[_0x1d015e(0x1e5)]<0xd?_0x4e1b7f[_0x1d015e(0x235)][_0x1d015e(0xfb)]=_0x4e1b7f[_0x1d015e(0x196)]:_0x4e1b7f[_0x1d015e(0x235)][_0x1d015e(0x1c3)]=_0x4e1b7f[_0x1d015e(0x196)]),(_0x35a484[_0x1d015e(0x1fc)]||_0x35a484['password'])&&(_0x4e1b7f[_0x1d015e(0xa3)]=_0x35a484[_0x1d015e(0x1fc)]+':'+_0x35a484[_0x1d015e(0x195)]),_0xbfaacd){const _0x10391a=_0x4e1b7f[_0x1d015e(0x22b)]['split'](':');_0x4e1b7f[_0x1d015e(0x10d)]=_0x10391a[0x0],_0x4e1b7f[_0x1d015e(0x22b)]=_0x10391a[0x1];}let _0x2b54c3;if(_0x4e1b7f[_0x1d015e(0xc5)]){if(_0xd026e5[_0x1d015e(0x238)]===0x0){_0xd026e5['_originalIpc']=_0xbfaacd,_0xd026e5[_0x1d015e(0xc0)]=_0x404734,_0xd026e5[_0x1d015e(0x16a)]=_0xbfaacd?_0x4e1b7f[_0x1d015e(0x10d)]:_0x35a484[_0x1d015e(0xca)];const _0x3a74bb=_0x3709c6&&_0x3709c6[_0x1d015e(0x235)];if(_0x3709c6={..._0x3709c6,'headers':{}},_0x3a74bb){for(const [_0x63c073,_0x2f6f1d]of Object['entries'](_0x3a74bb))_0x3709c6['headers'][_0x63c073[_0x1d015e(0xae)]()]=_0x2f6f1d;}}else{if(_0xd026e5[_0x1d015e(0x1da)](_0x1d015e(0x15d))===0x0){const _0x49dff6=_0xbfaacd?_0xd026e5['_originalIpc']?_0x4e1b7f[_0x1d015e(0x10d)]===_0xd026e5[_0x1d015e(0x16a)]:!0x1:_0xd026e5[_0x1d015e(0x1ff)]?!0x1:_0x35a484[_0x1d015e(0xca)]===_0xd026e5['_originalHostOrSocketPath'];(!_0x49dff6||_0xd026e5[_0x1d015e(0xc0)]&&!_0x404734)&&(delete _0x4e1b7f[_0x1d015e(0x235)][_0x1d015e(0x1fd)],delete _0x4e1b7f[_0x1d015e(0x235)][_0x1d015e(0x87)],_0x49dff6||delete _0x4e1b7f['headers']['host'],_0x4e1b7f[_0x1d015e(0xa3)]=void 0x0);}}_0x4e1b7f[_0x1d015e(0xa3)]&&!_0x3709c6[_0x1d015e(0x235)][_0x1d015e(0x1fd)]&&(_0x3709c6[_0x1d015e(0x235)][_0x1d015e(0x1fd)]=_0x1d015e(0x123)+Buffer[_0x1d015e(0x85)](_0x4e1b7f[_0x1d015e(0xa3)])[_0x1d015e(0x6d)](_0x1d015e(0x140))),_0x2b54c3=_0xd026e5[_0x1d015e(0x14e)]=_0x33c9ad(_0x4e1b7f),_0xd026e5[_0x1d015e(0x238)]&&_0xd026e5[_0x1d015e(0x12f)](_0x1d015e(0x15d),_0xd026e5[_0x1d015e(0x239)],_0x2b54c3);}else _0x2b54c3=_0xd026e5[_0x1d015e(0x14e)]=_0x33c9ad(_0x4e1b7f);_0x4e1b7f[_0x1d015e(0x11f)]&&_0x2b54c3['on'](_0x1d015e(0x11f),()=>{const _0x59f124=_0x1d015e;_0x4d6335(_0xd026e5,_0x2b54c3,_0x59f124(0x9a));}),_0x2b54c3['on'](_0x1d015e(0x1e1),_0x53e052=>{const _0x36571a=_0x1d015e;_0x2b54c3===null||_0x2b54c3[_0x5c2a63]||(_0x2b54c3=_0xd026e5[_0x36571a(0x14e)]=null,_0x1a37b3(_0xd026e5,_0x53e052));}),_0x2b54c3['on'](_0x1d015e(0x82),_0x631364=>{const _0x7467d1=_0x1d015e,_0x49a2cf=_0x631364[_0x7467d1(0x235)][_0x7467d1(0xcb)],_0x3c482c=_0x631364[_0x7467d1(0x1d9)];if(_0x49a2cf&&_0x4e1b7f[_0x7467d1(0xc5)]&&_0x3c482c>=0x12c&&_0x3c482c<0x190){if(++_0xd026e5[_0x7467d1(0x238)]>_0x4e1b7f[_0x7467d1(0x101)]){_0x4d6335(_0xd026e5,_0x2b54c3,_0x7467d1(0x138));return;}_0x2b54c3[_0x7467d1(0x216)]();let _0x14f5ad;try{_0x14f5ad=new _0x585cb7(_0x49a2cf,_0x18e341);}catch{const _0x166bb7=new SyntaxError('Invalid\x20URL:\x20'+_0x49a2cf);_0x1a37b3(_0xd026e5,_0x166bb7);return;}_0x3d29cd(_0xd026e5,_0x14f5ad,_0x5416fd,_0x3709c6);}else _0xd026e5[_0x7467d1(0x12f)](_0x7467d1(0x8f),_0x2b54c3,_0x631364)||_0x4d6335(_0xd026e5,_0x2b54c3,_0x7467d1(0x1d6)+_0x631364['statusCode']);}),_0x2b54c3['on'](_0x1d015e(0xe8),(_0x3853ac,_0x2e4fde,_0x22e20b)=>{const _0x19f6d9=_0x1d015e;if(_0xd026e5[_0x19f6d9(0x12f)](_0x19f6d9(0xe8),_0x3853ac),_0xd026e5[_0x19f6d9(0x1f6)]!==_0x5a1312['CONNECTING'])return;_0x2b54c3=_0xd026e5[_0x19f6d9(0x14e)]=null;const _0x1ea6b7=_0x3853ac[_0x19f6d9(0x235)][_0x19f6d9(0xe8)];if(_0x1ea6b7===void 0x0||_0x1ea6b7[_0x19f6d9(0xae)]()!==_0x19f6d9(0x16b)){_0x4d6335(_0xd026e5,_0x2e4fde,_0x19f6d9(0x1a5));return;}const _0x3d42fa=_0x21a865(_0x19f6d9(0x1cc))[_0x19f6d9(0x19f)](_0x323d20+_0x416403)[_0x19f6d9(0x7a)](_0x19f6d9(0x140));if(_0x3853ac[_0x19f6d9(0x235)]['sec-websocket-accept']!==_0x3d42fa){_0x4d6335(_0xd026e5,_0x2e4fde,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x3df37e=_0x3853ac['headers'][_0x19f6d9(0x150)];let _0x577a45;if(_0x3df37e!==void 0x0?_0x160c65['size']?_0x160c65[_0x19f6d9(0xd0)](_0x3df37e)||(_0x577a45=_0x19f6d9(0x84)):_0x577a45='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x160c65[_0x19f6d9(0x71)]&&(_0x577a45=_0x19f6d9(0x1eb)),_0x577a45){_0x4d6335(_0xd026e5,_0x2e4fde,_0x577a45);return;}_0x3df37e&&(_0xd026e5[_0x19f6d9(0x19d)]=_0x3df37e);const _0x33036e=_0x3853ac[_0x19f6d9(0x235)][_0x19f6d9(0x70)];if(_0x33036e!==void 0x0){if(!_0x1310e1){_0x4d6335(_0xd026e5,_0x2e4fde,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x35f33b;try{_0x35f33b=_0x465980(_0x33036e);}catch{_0x4d6335(_0xd026e5,_0x2e4fde,_0x19f6d9(0x21e));return;}const _0x577659=Object[_0x19f6d9(0x6f)](_0x35f33b);if(_0x577659['length']!==0x1||_0x577659[0x0]!==_0x4b281f[_0x19f6d9(0x1bf)]){_0x4d6335(_0xd026e5,_0x2e4fde,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x1310e1[_0x19f6d9(0x184)](_0x35f33b[_0x4b281f[_0x19f6d9(0x1bf)]]);}catch{_0x4d6335(_0xd026e5,_0x2e4fde,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0xd026e5[_0x19f6d9(0x1f8)][_0x4b281f[_0x19f6d9(0x1bf)]]=_0x1310e1;}_0xd026e5['setSocket'](_0x2e4fde,_0x22e20b,{'allowSynchronousEvents':_0x4e1b7f['allowSynchronousEvents'],'generateMask':_0x4e1b7f[_0x19f6d9(0x126)],'maxPayload':_0x4e1b7f[_0x19f6d9(0x1bb)],'skipUTF8Validation':_0x4e1b7f[_0x19f6d9(0x1a3)]});}),_0x4e1b7f[_0x1d015e(0x1ac)]?_0x4e1b7f['finishRequest'](_0x2b54c3,_0xd026e5):_0x2b54c3[_0x1d015e(0x93)]();}function _0x1a37b3(_0x3865fe,_0x38dcb0){const _0x58b2bf=_0x153d86;_0x3865fe[_0x58b2bf(0x14a)]=_0x5a1312[_0x58b2bf(0x175)],_0x3865fe[_0x58b2bf(0x192)]=!0x0,_0x3865fe[_0x58b2bf(0x12f)](_0x58b2bf(0x1e1),_0x38dcb0),_0x3865fe['emitClose']();}function _0x3852c5(_0xfbcd9f){const _0xcdc738=_0x153d86;return _0xfbcd9f['path']=_0xfbcd9f[_0xcdc738(0x10d)],_0x5e1827[_0xcdc738(0x1f4)](_0xfbcd9f);}function _0x20b39f(_0x4af8c1){const _0x5afe6c=_0x153d86;return _0x4af8c1['path']=void 0x0,!_0x4af8c1[_0x5afe6c(0xaf)]&&_0x4af8c1['servername']!==''&&(_0x4af8c1[_0x5afe6c(0xaf)]=_0x5e1827[_0x5afe6c(0x15e)](_0x4af8c1[_0x5afe6c(0xca)])?'':_0x4af8c1['host']),_0x6b6d3[_0x5afe6c(0x1f4)](_0x4af8c1);}function _0x4d6335(_0x17a56f,_0x1360df,_0x5f52a4){const _0x39e86f=_0x153d86;_0x17a56f[_0x39e86f(0x14a)]=_0x5a1312['CLOSING'];const _0x11f11d=new Error(_0x5f52a4);Error['captureStackTrace'](_0x11f11d,_0x4d6335),_0x1360df[_0x39e86f(0x166)]?(_0x1360df[_0x5c2a63]=!0x0,_0x1360df[_0x39e86f(0x216)](),_0x1360df[_0x39e86f(0x1e0)]&&!_0x1360df['socket'][_0x39e86f(0x1b4)]&&_0x1360df[_0x39e86f(0x1e0)]['destroy'](),process[_0x39e86f(0x1b2)](_0x1a37b3,_0x17a56f,_0x11f11d)):(_0x1360df['destroy'](_0x11f11d),_0x1360df[_0x39e86f(0x90)]('error',_0x17a56f[_0x39e86f(0x12f)][_0x39e86f(0xc4)](_0x17a56f,_0x39e86f(0x1e1))),_0x1360df[_0x39e86f(0x90)](_0x39e86f(0x22f),_0x17a56f[_0x39e86f(0xbf)]['bind'](_0x17a56f)));}function _0x5c8617(_0x26ace9,_0x588c40,_0x3a0f8f){const _0x3c3507=_0x153d86;if(_0x588c40){const _0x148bb7=_0x111869(_0x588c40)?_0x588c40[_0x3c3507(0x71)]:_0x270630(_0x588c40)[_0x3c3507(0x73)];_0x26ace9[_0x3c3507(0xad)]?_0x26ace9[_0x3c3507(0xb6)][_0x3c3507(0xb7)]+=_0x148bb7:_0x26ace9[_0x3c3507(0x13e)]+=_0x148bb7;}if(_0x3a0f8f){const _0x201a36=new Error(_0x3c3507(0xf8)+_0x26ace9[_0x3c3507(0x1f6)]+'\x20('+_0x558ada[_0x26ace9[_0x3c3507(0x1f6)]]+')');process[_0x3c3507(0x1b2)](_0x3a0f8f,_0x201a36);}}function _0x15e854(_0x5c0483,_0x16020e){const _0x3214dc=_0x153d86,_0x4f0825=this[_0x8767bc];_0x4f0825[_0x3214dc(0x1d3)]=!0x0,_0x4f0825[_0x3214dc(0x134)]=_0x16020e,_0x4f0825[_0x3214dc(0x1dd)]=_0x5c0483,_0x4f0825[_0x3214dc(0xad)][_0x8767bc]!==void 0x0&&(_0x4f0825[_0x3214dc(0xad)][_0x3214dc(0x20e)]('data',_0x580074),process[_0x3214dc(0x1b2)](_0x520b0f,_0x4f0825[_0x3214dc(0xad)]),_0x5c0483===0x3ed?_0x4f0825[_0x3214dc(0x22f)]():_0x4f0825[_0x3214dc(0x22f)](_0x5c0483,_0x16020e));}function _0x4f8339(){const _0x18a15b=_0x153d86,_0x7f22ed=this[_0x8767bc];_0x7f22ed[_0x18a15b(0xfa)]||_0x7f22ed[_0x18a15b(0xad)][_0x18a15b(0x11c)]();}function _0x67a831(_0x103d95){const _0x1caa02=_0x153d86,_0x269ef3=this[_0x8767bc];_0x269ef3['_socket'][_0x8767bc]!==void 0x0&&(_0x269ef3['_socket'][_0x1caa02(0x20e)]('data',_0x580074),process[_0x1caa02(0x1b2)](_0x520b0f,_0x269ef3[_0x1caa02(0xad)]),_0x269ef3[_0x1caa02(0x22f)](_0x103d95[_0x44b550])),_0x269ef3[_0x1caa02(0x192)]||(_0x269ef3[_0x1caa02(0x192)]=!0x0,_0x269ef3[_0x1caa02(0x12f)](_0x1caa02(0x1e1),_0x103d95));}function _0x2c2df6(){const _0x305b43=_0x153d86;this[_0x8767bc][_0x305b43(0xbf)]();}function _0x138904(_0x1dd1a6,_0x24d597){const _0x4eec8d=_0x153d86;this[_0x8767bc][_0x4eec8d(0x12f)](_0x4eec8d(0x1a8),_0x1dd1a6,_0x24d597);}function _0x2b4fd5(_0x19d8bb){const _0x4cd854=_0x153d86,_0x5e6f5d=this[_0x8767bc];_0x5e6f5d['_autoPong']&&_0x5e6f5d['pong'](_0x19d8bb,!this['_isServer'],_0x54d19b),_0x5e6f5d[_0x4cd854(0x12f)](_0x4cd854(0x1b9),_0x19d8bb);}function _0x40647a(_0x25d210){const _0x46c8c4=_0x153d86;this[_0x8767bc]['emit'](_0x46c8c4(0x97),_0x25d210);}function _0x520b0f(_0x399769){const _0x36dd8e=_0x153d86;_0x399769[_0x36dd8e(0x11c)]();}function _0x2846b6(_0x301a18){const _0x1665ee=_0x153d86,_0x30e7ce=this[_0x8767bc];_0x30e7ce[_0x1665ee(0x1f6)]!==_0x5a1312[_0x1665ee(0xa6)]&&(_0x30e7ce[_0x1665ee(0x1f6)]===_0x5a1312[_0x1665ee(0x1c1)]&&(_0x30e7ce[_0x1665ee(0x14a)]=_0x5a1312['CLOSING'],_0x2adcd2(_0x30e7ce)),this[_0x1665ee(0xad)][_0x1665ee(0x93)](),_0x30e7ce[_0x1665ee(0x192)]||(_0x30e7ce['_errorEmitted']=!0x0,_0x30e7ce['emit'](_0x1665ee(0x1e1),_0x301a18)));}function _0x2adcd2(_0x3c1d4a){const _0x4875c1=_0x153d86;_0x3c1d4a[_0x4875c1(0xfe)]=setTimeout(_0x3c1d4a[_0x4875c1(0xad)][_0x4875c1(0x1e3)][_0x4875c1(0xc4)](_0x3c1d4a['_socket']),_0x3c9202);}function _0xbf8bc6(){const _0x2e61a9=_0x153d86,_0x3c3592=this[_0x8767bc];this[_0x2e61a9(0x20e)](_0x2e61a9(0x22f),_0xbf8bc6),this[_0x2e61a9(0x20e)](_0x2e61a9(0x1c6),_0x580074),this[_0x2e61a9(0x20e)](_0x2e61a9(0x93),_0x168df3),_0x3c3592['_readyState']=_0x5a1312[_0x2e61a9(0x175)];let _0x461bc3;!this[_0x2e61a9(0x13c)]['endEmitted']&&!_0x3c3592[_0x2e61a9(0x1d3)]&&!_0x3c3592[_0x2e61a9(0xab)][_0x2e61a9(0xa5)]['errorEmitted']&&(_0x461bc3=_0x3c3592[_0x2e61a9(0xad)][_0x2e61a9(0x95)]())!==null&&_0x3c3592[_0x2e61a9(0xab)][_0x2e61a9(0x221)](_0x461bc3),_0x3c3592[_0x2e61a9(0xab)][_0x2e61a9(0x93)](),this[_0x8767bc]=void 0x0,clearTimeout(_0x3c3592[_0x2e61a9(0xfe)]),_0x3c3592['_receiver']['_writableState'][_0x2e61a9(0x163)]||_0x3c3592[_0x2e61a9(0xab)][_0x2e61a9(0xa5)][_0x2e61a9(0x193)]?_0x3c3592[_0x2e61a9(0xbf)]():(_0x3c3592[_0x2e61a9(0xab)]['on']('error',_0x2c2df6),_0x3c3592[_0x2e61a9(0xab)]['on'](_0x2e61a9(0x199),_0x2c2df6));}function _0x580074(_0x4e07c8){const _0x2fd8c6=_0x153d86;this[_0x8767bc][_0x2fd8c6(0xab)]['write'](_0x4e07c8)||this[_0x2fd8c6(0x13d)]();}function _0x168df3(){const _0x5d60f1=_0x153d86,_0xf6439a=this[_0x8767bc];_0xf6439a['_readyState']=_0x5a1312['CLOSING'],_0xf6439a[_0x5d60f1(0xab)][_0x5d60f1(0x93)](),this[_0x5d60f1(0x93)]();}function _0x5d018d(){const _0x132da7=_0x153d86,_0x3d2056=this[_0x8767bc];this[_0x132da7(0x20e)]('error',_0x5d018d),this['on'](_0x132da7(0x1e1),_0x54d19b),_0x3d2056&&(_0x3d2056[_0x132da7(0x14a)]=_0x5a1312[_0x132da7(0x175)],this[_0x132da7(0x1e3)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x387fe0}=oe;function _0x6eecf2(_0x232c02){const _0x5381b7=_0x59a5;_0x232c02[_0x5381b7(0x12f)](_0x5381b7(0x22f));}function _0x48c1bc(){const _0x196414=_0x59a5;!this['destroyed']&&this[_0x196414(0xa5)]['finished']&&this[_0x196414(0x1e3)]();}function _0x467f9d(_0x7a6de7){const _0x31e59e=_0x59a5;this[_0x31e59e(0x20e)]('error',_0x467f9d),this[_0x31e59e(0x1e3)](),this[_0x31e59e(0x1da)](_0x31e59e(0x1e1))===0x0&&this['emit'](_0x31e59e(0x1e1),_0x7a6de7);}function _0x41477e(_0x269954,_0x27a845){const _0x39d82a=_0x59a5;let _0x16ab74=!0x0;const _0x3cbd95=new _0x387fe0({..._0x27a845,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x269954['on']('message',function(_0x41b4b3,_0x8aad46){const _0x5060ef=_0x59a5,_0x49dd93=!_0x8aad46&&_0x3cbd95[_0x5060ef(0x13c)][_0x5060ef(0x210)]?_0x41b4b3[_0x5060ef(0x6d)]():_0x41b4b3;_0x3cbd95[_0x5060ef(0x108)](_0x49dd93)||_0x269954['pause']();}),_0x269954[_0x39d82a(0x90)](_0x39d82a(0x1e1),function(_0x1de942){const _0x57419d=_0x39d82a;_0x3cbd95[_0x57419d(0x1b4)]||(_0x16ab74=!0x1,_0x3cbd95['destroy'](_0x1de942));}),_0x269954[_0x39d82a(0x90)](_0x39d82a(0x22f),function(){const _0x15d1a2=_0x39d82a;_0x3cbd95[_0x15d1a2(0x1b4)]||_0x3cbd95[_0x15d1a2(0x108)](null);}),_0x3cbd95[_0x39d82a(0x20f)]=function(_0x29db0b,_0x414280){const _0x5790dc=_0x39d82a;if(_0x269954[_0x5790dc(0x1f6)]===_0x269954['CLOSED']){_0x414280(_0x29db0b),process['nextTick'](_0x6eecf2,_0x3cbd95);return;}let _0xf68608=!0x1;_0x269954[_0x5790dc(0x90)](_0x5790dc(0x1e1),function(_0x19f992){_0xf68608=!0x0,_0x414280(_0x19f992);}),_0x269954['once']('close',function(){const _0x10193d=_0x5790dc;_0xf68608||_0x414280(_0x29db0b),process[_0x10193d(0x1b2)](_0x6eecf2,_0x3cbd95);}),_0x16ab74&&_0x269954[_0x5790dc(0x1e9)]();},_0x3cbd95[_0x39d82a(0x1bd)]=function(_0x3c5e86){const _0x13cbe1=_0x39d82a;if(_0x269954['readyState']===_0x269954['CONNECTING']){_0x269954[_0x13cbe1(0x90)](_0x13cbe1(0x109),function(){const _0x3d7ac4=_0x13cbe1;_0x3cbd95[_0x3d7ac4(0x1bd)](_0x3c5e86);});return;}_0x269954[_0x13cbe1(0xad)]!==null&&(_0x269954[_0x13cbe1(0xad)][_0x13cbe1(0xa5)][_0x13cbe1(0x163)]?(_0x3c5e86(),_0x3cbd95[_0x13cbe1(0x13c)][_0x13cbe1(0x23c)]&&_0x3cbd95[_0x13cbe1(0x1e3)]()):(_0x269954[_0x13cbe1(0xad)]['once'](_0x13cbe1(0x199),function(){_0x3c5e86();}),_0x269954[_0x13cbe1(0x22f)]()));},_0x3cbd95[_0x39d82a(0x22a)]=function(){const _0x2e283f=_0x39d82a;_0x269954[_0x2e283f(0xfa)]&&_0x269954[_0x2e283f(0x11c)]();},_0x3cbd95['_write']=function(_0x2b4b50,_0x1a4259,_0x12ee4d){const _0x4b849d=_0x39d82a;if(_0x269954['readyState']===_0x269954[_0x4b849d(0x227)]){_0x269954[_0x4b849d(0x90)]('open',function(){const _0x369895=_0x4b849d;_0x3cbd95[_0x369895(0x11e)](_0x2b4b50,_0x1a4259,_0x12ee4d);});return;}_0x269954['send'](_0x2b4b50,_0x12ee4d);},_0x3cbd95['on'](_0x39d82a(0x93),_0x48c1bc),_0x3cbd95['on']('error',_0x467f9d),_0x3cbd95;}return Oe=_0x41477e,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);function _0x501e(){const _0x3b43bb=['Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','dequeue','createSocket','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','frame','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','rsv1','Module','resume','opcode','_write','timeout','WS_ERR_UNEXPECTED_MASK','Injector','set','Basic\x20','GET','HTTP/1.1\x20101\x20Switching\x20Protocols','generateMask','clientMaxWindowBits','Inject','@univerjs-pro/collaboration','kByteLength','stream','writeUIntBE','isValidUTF8','__esModule','emit','\x22\x20subprotocol\x20is\x20duplicated','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','49217NUFSFE','search','_closeMessage','prototype','wss:','test','Maximum\x20redirects\x20exceeded','_inflate','alloc','getOwnPropertyDescriptor','_readableState','pause','_bufferedAmount','delete','base64','_registerDependencies','UniverCollaborationClientNodePlugin','UniverCollaborationClientPlugin','startsWith','kListener','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','HTTP/1.1\x20','needDrain','events','_readyState','50dRKzst','listening','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_req','href','sec-websocket-protocol','maskBuffer','string','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','consume','share','type','\x20(supported\x20versions:\x20','Z_SYNC_FLUSH','kAborted','crypto','forEach','_decompress','redirect','isIP','client','_configService','kError','WS_ERR_INVALID_OPCODE','finished','text/plain','WS_ERR_UNEXPECTED_RSV_1','setHeader','customHeaders','_threshold','getPayloadLength16','_originalHostOrSocketPath','websocket','_server','hostname','writeUInt16BE','HTTPService','DependentOn','client_no_context_takeover','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','then','_max_window_bits','CLOSING','IConfigService','byteOffset','getMask','Parameter\x20\x22','listeners','FIN\x20must\x20be\x20set','Invalid\x20Sec-WebSocket-Protocol\x20header','kReason','zlib','zlibInflateOptions','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','MASK\x20must\x20be\x20set','isBuffer','verifyClient','accept','pathname','@univerjs-pro/collaboration-client','clientTracking','getBlobData','invalid\x20status\x20code\x20','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','dispatch','_totalPayloadLength','allocUnsafe','kType','serverMaxWindowBits','mask','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_errorEmitted','errorEmitted','reason','password','origin','warn','The\x20server\x20is\x20not\x20running','finish','Unexpected\x20character\x20at\x20index\x20','bufferedAmount','charCodeAt','_protocol','getConfig','update','slice','kWasClean','isInteger','skipUTF8Validation','http:','Invalid\x20Upgrade\x20header','concurrency','client_max_window_bits','message','params','sec-websocket-version','_compress','finishRequest','invalid\x20UTF-8\x20sequence','_isServer','https','_shouldEmitClose','uncork','nextTick','species','destroyed','ISnapshotServerService','_firstFragment','format','function','ping','Disposable','maxPayload','perMessageDeflate','_final','create','extensionName','target','OPEN','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','Origin','tls','MASK\x20must\x20be\x20clear','data','addEventListener','ws:','completeUpgrade','compress','_url','sha1','readOnly','onerror','parse','kRun','WS_NO_UTF_8_VALIDATE','pluginName','_closeFrameReceived','createDeflateRaw','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','Unexpected\x20server\x20response:\x20','_generateMask','sec-websocket-key','statusCode','listenerCount','threshold','enqueue','_closeCode','send','fin','socket','error','arraybuffer','destroy','onopen','protocolVersion','normalizeParams','getPayloadLength64','call','terminate','text/html','Server\x20sent\x20no\x20subprotocol','http','jobs','map','protocol','removeEventListener','CollaborationSocketService','server','flush','connect','decompress','readyState','request','_extensions','_deflate','listen','_compressed','username','authorization','noServer','_originalIpc','DisposableCollection','_maxPayload','clients','number','sec-websocket-origin','_buffers','_closeFrameSent','_loop','kDone','WS_ERR_INVALID_UTF8','concat','setTimeout','pow','find','removeListener','_destroy','objectMode','_queue','_allowSynchronousEvents','2765025xLdWgq','createInflateRaw','server_no_context_takeover','abort','startLoop','defaultPort','port','indexOf','exports','createServer','server_max_window_bits','Invalid\x20Sec-WebSocket-Extensions\x20header','_mask','Max\x20payload\x20size\x20exceeded','write','Z_DEFAULT_WINDOWBITS','\x0d\x0a\x0d\x0a','status-code','\x22\x20must\x20have\x20only\x20a\x20single\x20value','reset','CONNECTING','The\x20\x22','_doCreateSocket','_read','path','WS_ERR_UNEXPECTED_RSV_2_3','dispose','code','close','ISocketService','construct','559428JcqyhT','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','onmessage','headers','6568254JaPahc','Sec-WebSocket-Extensions','_redirects','url','Upgrade:\x20websocket','writable','endEmitted','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','Invalid\x20URL:\x20','toString','WebSocket','keys','sec-websocket-extensions','size','captureStackTrace','length','STATUS_CODES','Unsupported\x20protocol\x20version:\x20','_opcode','readUInt32BE','clientNoContextTakeover','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','digest','net','registerHTTPInterceptor','The\x20URL\x27s\x20pathname\x20is\x20empty','defineProperty','pipe','default','options','response','12wOYaCd','Server\x20sent\x20an\x20invalid\x20subprotocol','from','_autoPong','cookie','invalid\x20payload\x20length\x20','kCode','_skipUTF8Validation','wsClientError','handleUpgrade','Invalid\x20value\x20for\x20parameter\x20\x22','Invalid\x20WebSocket\x20frame:\x20','unexpected-response','once','sendFrame','Cookie','end','env','read','constructor','pong','invalid\x20opcode\x20','concurrencyLimit','Opening\x20handshake\x20has\x20timed\x20out','object','join','extensions','kIsForOnEventAttribute','Sec-WebSocket-Protocol','nodebuffer','toDisposable','acceptAsClient','auth','address','_writableState','CLOSED','drain','WS_NO_BUFFER_UTIL','_binaryType','_errored','_receiver','5567240CPkpSM','_socket','toLowerCase','servername','next','\x22:\x20','3270184ucVHkS','allowSynchronousEvents','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_paused','_sender','_bufferedBytes','shouldHandle','cork','isArray','_payloadLength','arrayBuffer','WS_ERR_EXPECTED_MASK','Unexpected\x20end\x20of\x20input','emitClose','_originalSecure','buffer','createConnection','readable','bind','followRedirects','Upgrade','getData','byteLength','RSV1\x20must\x20be\x20clear','host','location','binaryType','_state','dataMessage','toStringTag','has','_masked','unmask','_fin','shift','autoPong','handshakeTimeout','backlog','Unknown\x20parameter\x20\x22','NodeCollaborationSocketService','haveLength','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','catch','https:','onStarting','_fragments','@univerjs/core','collaboration-client-node.config','hasOwnProperty','_httpService','apply','_maskBuffer','total-length','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','upgrade','WS_ERR_EXPECTED_FIN','_fragmented','zlibDeflateOptions','_options','The\x20URL\x20contains\x20a\x20fragment\x20identifier','conclude','handleEvent','_injector','COLLABORATION_CLIENT_NODE_CONFIG_KEY','cleanup','81kHNKKn','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','replace','fragments','add','WebSocket\x20is\x20not\x20open:\x20readyState\x20','blob','isPaused','Sec-WebSocket-Origin','1768345PEjObv','values','_closeTimer','connection','setNoDelay','maxRedirects','Observable','createError','permessage-deflate','readUInt16BE','onclose','freeze','push','open','registerDependencies','wasClean','serverNoContextTakeover','socketPath','setConfig','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_removeListeners','ILogService','setSocket','_messageLength'];_0x501e=function(){return _0x3b43bb;};return _0x501e();}var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x543a1b}=ae();function _0x5e1541(_0x3b0879){const _0xb47dd1=_0x59a5,_0x8f6df5=new Set();let _0x50c3b8=-0x1,_0xa383cb=-0x1,_0x1bb22a=0x0;for(_0x1bb22a;_0x1bb22a<_0x3b0879[_0xb47dd1(0x73)];_0x1bb22a++){const _0xddbbe8=_0x3b0879[_0xb47dd1(0x19c)](_0x1bb22a);if(_0xa383cb===-0x1&&_0x543a1b[_0xddbbe8]===0x1)_0x50c3b8===-0x1&&(_0x50c3b8=_0x1bb22a);else{if(_0x1bb22a!==0x0&&(_0xddbbe8===0x20||_0xddbbe8===0x9))_0xa383cb===-0x1&&_0x50c3b8!==-0x1&&(_0xa383cb=_0x1bb22a);else{if(_0xddbbe8===0x2c){if(_0x50c3b8===-0x1)throw new SyntaxError(_0xb47dd1(0x19a)+_0x1bb22a);_0xa383cb===-0x1&&(_0xa383cb=_0x1bb22a);const _0x310311=_0x3b0879[_0xb47dd1(0x1a0)](_0x50c3b8,_0xa383cb);if(_0x8f6df5[_0xb47dd1(0xd0)](_0x310311))throw new SyntaxError(_0xb47dd1(0x228)+_0x310311+_0xb47dd1(0x130));_0x8f6df5['add'](_0x310311),_0x50c3b8=_0xa383cb=-0x1;}else throw new SyntaxError(_0xb47dd1(0x19a)+_0x1bb22a);}}}if(_0x50c3b8===-0x1||_0xa383cb!==-0x1)throw new SyntaxError(_0xb47dd1(0xbe));const _0xdb05e7=_0x3b0879['slice'](_0x50c3b8,_0x1bb22a);if(_0x8f6df5[_0xb47dd1(0xd0)](_0xdb05e7))throw new SyntaxError(_0xb47dd1(0x228)+_0xdb05e7+_0xb47dd1(0x130));return _0x8f6df5[_0xb47dd1(0xf7)](_0xdb05e7),_0x8f6df5;}return Ce={'parse':_0x5e1541},Ce;}var Te,rt;function Ft(){const _0x198ead=_0x32c544;if(rt)return Te;rt=0x1;const _0x1936eb=nt,_0x1ea86b=ot,{Duplex:_0x21681c}=oe,{createHash:_0x4e4151}=Le,_0x40b3d8=ct(),_0xb8744d=he(),_0x4423c6=At(),_0xc1f53=Pe(),{GUID:_0x236648,kWebSocket:_0xd1f746}=H(),_0x1bbfa4=/^[+/0-9A-Za-z]{22}==$/,_0x3ef0e9=0x0,_0x50d552=0x1,_0x5b79cc=0x2;class _0x487784 extends _0x1936eb{constructor(_0xb8395f,_0x240271){const _0x4c6617=_0x59a5;if(super(),_0xb8395f={'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':_0xc1f53,..._0xb8395f},_0xb8395f['port']==null&&!_0xb8395f[_0x4c6617(0x1f2)]&&!_0xb8395f[_0x4c6617(0x1fe)]||_0xb8395f[_0x4c6617(0x219)]!=null&&(_0xb8395f[_0x4c6617(0x1f2)]||_0xb8395f[_0x4c6617(0x1fe)])||_0xb8395f[_0x4c6617(0x1f2)]&&_0xb8395f[_0x4c6617(0x1fe)])throw new TypeError(_0x4c6617(0x10f));if(_0xb8395f[_0x4c6617(0x219)]!=null?(this[_0x4c6617(0x16c)]=_0x1ea86b[_0x4c6617(0x21c)]((_0x2645a3,_0x418ef8)=>{const _0x129057=_0x4c6617,_0x1d751b=_0x1ea86b[_0x129057(0x74)][0x1aa];_0x418ef8['writeHead'](0x1aa,{'Content-Length':_0x1d751b[_0x129057(0x73)],'Content-Type':_0x129057(0x164)}),_0x418ef8['end'](_0x1d751b);}),this[_0x4c6617(0x16c)][_0x4c6617(0x1fa)](_0xb8395f[_0x4c6617(0x219)],_0xb8395f[_0x4c6617(0xca)],_0xb8395f[_0x4c6617(0xd7)],_0x240271)):_0xb8395f[_0x4c6617(0x1f2)]&&(this[_0x4c6617(0x16c)]=_0xb8395f[_0x4c6617(0x1f2)]),this['_server']){const _0x59bac9=this[_0x4c6617(0x12f)][_0x4c6617(0xc4)](this,_0x4c6617(0xff));this[_0x4c6617(0x110)]=_0x210901(this['_server'],{'listening':this[_0x4c6617(0x12f)][_0x4c6617(0xc4)](this,_0x4c6617(0x14c)),'error':this[_0x4c6617(0x12f)]['bind'](this,_0x4c6617(0x1e1)),'upgrade':(_0x148529,_0xbbe11,_0x515626)=>{this['handleUpgrade'](_0x148529,_0xbbe11,_0x515626,_0x59bac9);}});}_0xb8395f[_0x4c6617(0x1bc)]===!0x0&&(_0xb8395f['perMessageDeflate']={}),_0xb8395f[_0x4c6617(0x187)]&&(this[_0x4c6617(0x202)]=new Set(),this[_0x4c6617(0x1b0)]=!0x1),this[_0x4c6617(0x81)]=_0xb8395f,this[_0x4c6617(0xcd)]=_0x3ef0e9;}[_0x198ead(0xa4)](){const _0x4beb8d=_0x198ead;if(this[_0x4beb8d(0x81)][_0x4beb8d(0x1fe)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x4beb8d(0x16c)]?this[_0x4beb8d(0x16c)][_0x4beb8d(0xa4)]():null;}[_0x198ead(0x22f)](_0x466b07){const _0x46d5f5=_0x198ead;if(this[_0x46d5f5(0xcd)]===_0x5b79cc){_0x466b07&&this[_0x46d5f5(0x90)](_0x46d5f5(0x22f),()=>{const _0x3c8e43=_0x46d5f5;_0x466b07(new Error(_0x3c8e43(0x198)));}),process[_0x46d5f5(0x1b2)](_0x5dd6c6,this);return;}if(_0x466b07&&this['once'](_0x46d5f5(0x22f),_0x466b07),this[_0x46d5f5(0xcd)]!==_0x50d552){if(this['_state']=_0x50d552,this[_0x46d5f5(0x81)]['noServer']||this[_0x46d5f5(0x81)][_0x46d5f5(0x1f2)])this['_server']&&(this[_0x46d5f5(0x110)](),this[_0x46d5f5(0x110)]=this['_server']=null),this[_0x46d5f5(0x202)]?this[_0x46d5f5(0x202)][_0x46d5f5(0x71)]?this[_0x46d5f5(0x1b0)]=!0x0:process[_0x46d5f5(0x1b2)](_0x5dd6c6,this):process[_0x46d5f5(0x1b2)](_0x5dd6c6,this);else{const _0x26d5af=this[_0x46d5f5(0x16c)];this[_0x46d5f5(0x110)](),this[_0x46d5f5(0x110)]=this[_0x46d5f5(0x16c)]=null,_0x26d5af[_0x46d5f5(0x22f)](()=>{_0x5dd6c6(this);});}}}[_0x198ead(0xb8)](_0x359241){const _0x149c4c=_0x198ead;if(this[_0x149c4c(0x81)]['path']){const _0x485a93=_0x359241[_0x149c4c(0x239)][_0x149c4c(0x21a)]('?');if((_0x485a93!==-0x1?_0x359241['url'][_0x149c4c(0x1a0)](0x0,_0x485a93):_0x359241[_0x149c4c(0x239)])!==this['options']['path'])return!0x1;}return!0x0;}[_0x198ead(0x8c)](_0x42defe,_0x24ad7b,_0x8240cd,_0x2ed99f){const _0x2a97fc=_0x198ead;_0x24ad7b['on']('error',_0x20c10a);const _0x273b8b=_0x42defe[_0x2a97fc(0x235)][_0x2a97fc(0x1d8)],_0x8bb89b=_0x42defe[_0x2a97fc(0x235)][_0x2a97fc(0xe8)],_0x6b6ae3=+_0x42defe['headers'][_0x2a97fc(0x1aa)];if(_0x42defe['method']!=='GET'){_0x44d9cc(this,_0x42defe,_0x24ad7b,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x8bb89b===void 0x0||_0x8bb89b[_0x2a97fc(0xae)]()!=='websocket'){_0x44d9cc(this,_0x42defe,_0x24ad7b,0x190,_0x2a97fc(0x1a5));return;}if(_0x273b8b===void 0x0||!_0x1bbfa4[_0x2a97fc(0x137)](_0x273b8b)){_0x44d9cc(this,_0x42defe,_0x24ad7b,0x190,_0x2a97fc(0x14d));return;}if(_0x6b6ae3!==0x8&&_0x6b6ae3!==0xd){_0x44d9cc(this,_0x42defe,_0x24ad7b,0x190,_0x2a97fc(0x146));return;}if(!this[_0x2a97fc(0xb8)](_0x42defe)){_0x1da891(_0x24ad7b,0x190);return;}const _0x2607d7=_0x42defe['headers'][_0x2a97fc(0x150)];let _0x1f2489=new Set();if(_0x2607d7!==void 0x0)try{_0x1f2489=_0x4423c6['parse'](_0x2607d7);}catch{_0x44d9cc(this,_0x42defe,_0x24ad7b,0x190,_0x2a97fc(0x17c));return;}const _0x441035=_0x42defe[_0x2a97fc(0x235)][_0x2a97fc(0x70)],_0x51fada={};if(this[_0x2a97fc(0x81)][_0x2a97fc(0x1bc)]&&_0x441035!==void 0x0){const _0x45983e=new _0xb8744d(this[_0x2a97fc(0x81)][_0x2a97fc(0x1bc)],!0x0,this[_0x2a97fc(0x81)][_0x2a97fc(0x1bb)]);try{const _0x471537=_0x40b3d8[_0x2a97fc(0x1cf)](_0x441035);_0x471537[_0xb8744d['extensionName']]&&(_0x45983e['accept'](_0x471537[_0xb8744d[_0x2a97fc(0x1bf)]]),_0x51fada[_0xb8744d[_0x2a97fc(0x1bf)]]=_0x45983e);}catch{_0x44d9cc(this,_0x42defe,_0x24ad7b,0x190,_0x2a97fc(0x114));return;}}if(this['options'][_0x2a97fc(0x183)]){const _0x3b5b8e={'origin':_0x42defe[_0x2a97fc(0x235)][''+(_0x6b6ae3===0x8?_0x2a97fc(0x204):_0x2a97fc(0x196))],'secure':!!(_0x42defe[_0x2a97fc(0x1e0)]['authorized']||_0x42defe[_0x2a97fc(0x1e0)]['encrypted']),'req':_0x42defe};if(this[_0x2a97fc(0x81)][_0x2a97fc(0x183)][_0x2a97fc(0x73)]===0x2){this[_0x2a97fc(0x81)][_0x2a97fc(0x183)](_0x3b5b8e,(_0x131972,_0x4cde8e,_0x3a74bc,_0xacdc6b)=>{const _0x2d8225=_0x2a97fc;if(!_0x131972)return _0x1da891(_0x24ad7b,_0x4cde8e||0x191,_0x3a74bc,_0xacdc6b);this[_0x2d8225(0x1c9)](_0x51fada,_0x273b8b,_0x1f2489,_0x42defe,_0x24ad7b,_0x8240cd,_0x2ed99f);});return;}if(!this[_0x2a97fc(0x81)][_0x2a97fc(0x183)](_0x3b5b8e))return _0x1da891(_0x24ad7b,0x191);}this['completeUpgrade'](_0x51fada,_0x273b8b,_0x1f2489,_0x42defe,_0x24ad7b,_0x8240cd,_0x2ed99f);}[_0x198ead(0x1c9)](_0x46a137,_0x5e150a,_0x58a251,_0xb3b749,_0x23bcb6,_0x2337ec,_0x464955){const _0xbba355=_0x198ead;if(!_0x23bcb6[_0xbba355(0xc3)]||!_0x23bcb6[_0xbba355(0x23b)])return _0x23bcb6[_0xbba355(0x1e3)]();if(_0x23bcb6[_0xd1f746])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0xbba355(0xcd)]>_0x3ef0e9)return _0x1da891(_0x23bcb6,0x1f7);const _0x55de43=[_0xbba355(0x125),_0xbba355(0x23a),'Connection:\x20Upgrade','Sec-WebSocket-Accept:\x20'+_0x4e4151('sha1')[_0xbba355(0x19f)](_0x5e150a+_0x236648)[_0xbba355(0x7a)](_0xbba355(0x140))],_0x8e2216=new this['options'][(_0xbba355(0x6e))](null,void 0x0,this[_0xbba355(0x81)]);if(_0x58a251[_0xbba355(0x71)]){const _0x4d3f38=this[_0xbba355(0x81)]['handleProtocols']?this[_0xbba355(0x81)]['handleProtocols'](_0x58a251,_0xb3b749):_0x58a251[_0xbba355(0xfd)]()[_0xbba355(0xb0)]()['value'];_0x4d3f38&&(_0x55de43[_0xbba355(0x108)]('Sec-WebSocket-Protocol:\x20'+_0x4d3f38),_0x8e2216[_0xbba355(0x19d)]=_0x4d3f38);}if(_0x46a137[_0xb8744d['extensionName']]){const _0x1923d0=_0x46a137[_0xb8744d[_0xbba355(0x1bf)]][_0xbba355(0x1a9)],_0x3bb040=_0x40b3d8[_0xbba355(0x1b7)]({[_0xb8744d[_0xbba355(0x1bf)]]:[_0x1923d0]});_0x55de43[_0xbba355(0x108)]('Sec-WebSocket-Extensions:\x20'+_0x3bb040),_0x8e2216[_0xbba355(0x1f8)]=_0x46a137;}this[_0xbba355(0x12f)]('headers',_0x55de43,_0xb3b749),_0x23bcb6[_0xbba355(0x221)](_0x55de43['concat']('\x0d\x0a')[_0xbba355(0x9c)]('\x0d\x0a')),_0x23bcb6[_0xbba355(0x20e)](_0xbba355(0x1e1),_0x20c10a),_0x8e2216['setSocket'](_0x23bcb6,_0x2337ec,{'allowSynchronousEvents':this['options'][_0xbba355(0xb3)],'maxPayload':this[_0xbba355(0x81)][_0xbba355(0x1bb)],'skipUTF8Validation':this[_0xbba355(0x81)][_0xbba355(0x1a3)]}),this[_0xbba355(0x202)]&&(this[_0xbba355(0x202)][_0xbba355(0xf7)](_0x8e2216),_0x8e2216['on'](_0xbba355(0x22f),()=>{const _0x56a894=_0xbba355;this[_0x56a894(0x202)][_0x56a894(0x13f)](_0x8e2216),this[_0x56a894(0x1b0)]&&!this[_0x56a894(0x202)][_0x56a894(0x71)]&&process[_0x56a894(0x1b2)](_0x5dd6c6,this);})),_0x464955(_0x8e2216,_0xb3b749);}}Te=_0x487784;function _0x210901(_0x1076e8,_0x536946){const _0x34ab54=_0x198ead;for(const _0x1179d8 of Object[_0x34ab54(0x6f)](_0x536946))_0x1076e8['on'](_0x1179d8,_0x536946[_0x1179d8]);return function(){const _0x5daf27=_0x34ab54;for(const _0xe749ee of Object[_0x5daf27(0x6f)](_0x536946))_0x1076e8['removeListener'](_0xe749ee,_0x536946[_0xe749ee]);};}function _0x5dd6c6(_0x589f78){const _0x2fcd30=_0x198ead;_0x589f78['_state']=_0x5b79cc,_0x589f78[_0x2fcd30(0x12f)](_0x2fcd30(0x22f));}function _0x20c10a(){const _0x339dd5=_0x198ead;this[_0x339dd5(0x1e3)]();}function _0x1da891(_0x1c0590,_0x1673ad,_0x259001,_0x31c1e7){const _0xdbb9ca=_0x198ead;_0x259001=_0x259001||_0x1ea86b['STATUS_CODES'][_0x1673ad],_0x31c1e7={'Connection':'close','Content-Type':_0xdbb9ca(0x1ea),'Content-Length':Buffer['byteLength'](_0x259001),..._0x31c1e7},_0x1c0590[_0xdbb9ca(0x90)](_0xdbb9ca(0x199),_0x1c0590[_0xdbb9ca(0x1e3)]),_0x1c0590['end'](_0xdbb9ca(0x147)+_0x1673ad+'\x20'+_0x1ea86b[_0xdbb9ca(0x74)][_0x1673ad]+'\x0d\x0a'+Object[_0xdbb9ca(0x6f)](_0x31c1e7)[_0xdbb9ca(0x1ee)](_0x3cf027=>_0x3cf027+':\x20'+_0x31c1e7[_0x3cf027])[_0xdbb9ca(0x9c)]('\x0d\x0a')+_0xdbb9ca(0x223)+_0x259001);}function _0x44d9cc(_0x41ed08,_0x533a4e,_0x3fc667,_0x1703b7,_0x33be9e){const _0x18a147=_0x198ead;if(_0x41ed08[_0x18a147(0x1da)](_0x18a147(0x8b))){const _0x253a39=new Error(_0x33be9e);Error[_0x18a147(0x72)](_0x253a39,_0x44d9cc),_0x41ed08[_0x18a147(0x12f)](_0x18a147(0x8b),_0x253a39,_0x3fc667,_0x533a4e);}else _0x1da891(_0x3fc667,_0x1703b7,_0x33be9e);}return Te;}Ft();var jt=Object[_0x32c544(0x13b)],Wt=(_0x30b232,_0xf82151,_0x99a128,_0x119578)=>{for(var _0x5c3a87=_0x119578>0x1?void 0x0:_0x119578?jt(_0xf82151,_0x99a128):_0xf82151,_0x2bce80=_0x30b232['length']-0x1,_0x21f806;_0x2bce80>=0x0;_0x2bce80--)(_0x21f806=_0x30b232[_0x2bce80])&&(_0x5c3a87=_0x21f806(_0x5c3a87)||_0x5c3a87);return _0x5c3a87;},qt=(_0x5904fd,_0x49345d)=>(_0x329cc0,_0x4525ff)=>_0x49345d(_0x329cc0,_0x4525ff,_0x5904fd);let ke=class extends A[_0x32c544(0x1ba)]{constructor(_0x89d9e9){const _0x1ea91d=_0x32c544;super(),this[_0x1ea91d(0x160)]=_0x89d9e9;}[_0x32c544(0x116)](_0x363657){const _0x39007f=_0x32c544;var _0x1f00f6;const _0x3f8f98=(_0x1f00f6=this[_0x39007f(0x160)][_0x39007f(0x19e)](fe))==null?void 0x0:_0x1f00f6[_0x39007f(0x167)];try{const _0x1f5824=new $t(_0x363657,{'headers':{..._0x3f8f98}}),_0x268dd2=new A[(_0x39007f(0x200))]();return{'URL':_0x363657,'close':(_0x59e80b,_0x1375de)=>{const _0x15c947=_0x39007f;_0x1f5824[_0x15c947(0x22f)](_0x59e80b,_0x1375de),_0x268dd2[_0x15c947(0x22d)]();},'send':_0x118fe8=>{const _0x4c93eb=_0x39007f;_0x1f5824[_0x4c93eb(0x1de)](_0x118fe8);},'open$':new V[(_0x39007f(0x102))](_0x104c2f=>{const _0x4b65e0=_0x39007f,_0x42a8b9=_0x19fbfb=>_0x104c2f[_0x4b65e0(0xb0)](_0x19fbfb);_0x1f5824['addEventListener'](_0x4b65e0(0x109),_0x42a8b9),_0x268dd2[_0x4b65e0(0xf7)](A['toDisposable'](()=>_0x1f5824['removeEventListener']('open',_0x42a8b9)));})['pipe'](V[_0x39007f(0x155)]()),'close$':new V[(_0x39007f(0x102))](_0x4ba5a4=>{const _0x47508f=_0x39007f,_0x3f511c=_0x376edb=>_0x4ba5a4[_0x47508f(0xb0)](_0x376edb);_0x1f5824[_0x47508f(0x1c7)](_0x47508f(0x22f),_0x3f511c),_0x268dd2['add'](A[_0x47508f(0xa1)](()=>_0x1f5824['removeEventListener']('close',_0x3f511c)));})[_0x39007f(0x7f)](V[_0x39007f(0x155)]()),'error$':new V['Observable'](_0x135d68=>{const _0x15e35a=_0x39007f,_0x12a280=_0x469ee6=>_0x135d68[_0x15e35a(0xb0)](_0x469ee6);_0x1f5824['addEventListener'](_0x15e35a(0x1e1),_0x12a280),_0x268dd2[_0x15e35a(0xf7)](A[_0x15e35a(0xa1)](()=>_0x1f5824[_0x15e35a(0x1f0)](_0x15e35a(0x1e1),_0x12a280)));})[_0x39007f(0x7f)](V[_0x39007f(0x155)]()),'message$':new V[(_0x39007f(0x102))](_0x54c10d=>{const _0x36d9f9=_0x39007f,_0x4e1af5=_0x591c05=>_0x54c10d[_0x36d9f9(0xb0)](_0x591c05);_0x1f5824[_0x36d9f9(0x1c7)](_0x36d9f9(0x1a8),_0x4e1af5),_0x268dd2[_0x36d9f9(0xf7)](A[_0x36d9f9(0xa1)](()=>_0x1f5824[_0x36d9f9(0x1f0)](_0x36d9f9(0x1a8),_0x4e1af5)));})[_0x39007f(0x7f)](V[_0x39007f(0x155)]())};}catch(_0x194b11){return console['error'](_0x194b11),null;}}};ke=Wt([qt(0x0,A[_0x32c544(0x176)])],ke);var Gt=Object[_0x32c544(0x7e)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x4d440f,_0x4a04e7,_0xfee7fd)=>_0x4a04e7 in _0x4d440f?Gt(_0x4d440f,_0x4a04e7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xfee7fd}):_0x4d440f[_0x4a04e7]=_0xfee7fd,zt=(_0x59f6a3,_0x50d21d,_0x2f2d89,_0x371b16)=>{const _0x570ef1=_0x32c544;for(var _0x11e8a5=_0x371b16>0x1?void 0x0:_0x371b16?Vt(_0x50d21d,_0x2f2d89):_0x50d21d,_0x3c83bd=_0x59f6a3[_0x570ef1(0x73)]-0x1,_0x3c820c;_0x3c83bd>=0x0;_0x3c83bd--)(_0x3c820c=_0x59f6a3[_0x3c83bd])&&(_0x11e8a5=_0x3c820c(_0x11e8a5)||_0x11e8a5);return _0x11e8a5;},Ne=(_0x310292,_0x4b6403)=>(_0x40fd51,_0x120f95)=>_0x4b6403(_0x40fd51,_0x120f95,_0x310292),Yt=(_0x404b05,_0x351f0b,_0x17985e)=>Ht(_0x404b05,_0x351f0b+'',_0x17985e);exports[_0x32c544(0x142)]=class extends A['Plugin']{constructor(_0x10c892=Ct,_0x127347,_0xc73081,_0x5a90c9){const _0x3152ac=_0x32c544;_0x10c892[_0x3152ac(0x167)]||_0x127347[_0x3152ac(0x197)](_0x3152ac(0x1d5)),super(),this['_configService']=_0xc73081,this['_injector']=_0x5a90c9,this['_configService'][_0x3152ac(0x10e)](fe,_0x10c892);}[_0x32c544(0xde)](){this['_registerDependencies']();}[_0x32c544(0x141)](){const _0x322a4b=_0x32c544;A[_0x322a4b(0x10a)](this[_0x322a4b(0xf0)],[[it[_0x322a4b(0x230)],{'useClass':ke}]]);}},Yt(exports[_0x32c544(0x142)],_0x32c544(0x1d2),_0x32c544(0xf4)),exports[_0x32c544(0x142)]=zt([A[_0x32c544(0x170)](st[_0x32c544(0x143)]),Ne(0x1,A['ILogService']),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x32c544(0x128)](A[_0x32c544(0x121)]))],exports[_0x32c544(0x142)]);var Kt=Object[_0x32c544(0x13b)],Xt=(_0x2e9ea8,_0x2864af,_0x25b423,_0x423810)=>{const _0x58ceb7=_0x32c544;for(var _0x230cdd=_0x423810>0x1?void 0x0:_0x423810?Kt(_0x2864af,_0x25b423):_0x2864af,_0x3ed66f=_0x2e9ea8[_0x58ceb7(0x73)]-0x1,_0x2e9fcb;_0x3ed66f>=0x0;_0x3ed66f--)(_0x2e9fcb=_0x2e9ea8[_0x3ed66f])&&(_0x230cdd=_0x2e9fcb(_0x230cdd)||_0x230cdd);return _0x230cdd;},ne=(_0x5cc701,_0x2b3f01)=>(_0x4dc960,_0x5165b6)=>_0x2b3f01(_0x4dc960,_0x5165b6,_0x5cc701);exports[_0x32c544(0xd9)]=class extends st[_0x32c544(0x1f1)]{constructor(_0x19d2f1,_0x30948a,_0x11ad7f,_0x68c5a8,_0x129726){const _0x1d971e=_0x32c544;super(_0x19d2f1,_0x30948a,_0x11ad7f,_0x68c5a8,_0x129726);const _0x4bb712=this[_0x1d971e(0x160)][_0x1d971e(0x19e)](fe);this[_0x1d971e(0xe3)][_0x1d971e(0x7c)]({'interceptor':(_0xaccf97,_0x38c6b5)=>{const _0x3f006b=_0x1d971e;var _0x459fe5;const _0x299955=_0xaccf97['headers'];return(_0x459fe5=_0x4bb712==null?void 0x0:_0x4bb712['customHeaders'])!=null&&_0x459fe5[_0x3f006b(0x87)]&&_0x299955[_0x3f006b(0x122)](_0x3f006b(0x92),_0x4bb712[_0x3f006b(0x167)][_0x3f006b(0x87)]),_0x38c6b5(_0xaccf97);}});}async['createSocket'](_0x3fa3d7){const _0x28b2a9=_0x32c544;return this[_0x28b2a9(0x229)](_0x3fa3d7);}},exports[_0x32c544(0xd9)]=Xt([ne(0x0,A['Inject'](A['Injector'])),ne(0x1,A['Inject'](it[_0x32c544(0x16f)])),ne(0x2,A[_0x32c544(0x176)]),ne(0x3,A[_0x32c544(0x111)]),ne(0x4,Ot[_0x32c544(0x1b5)])],exports[_0x32c544(0xd9)]),exports[_0x32c544(0xf1)]=fe;