@univerjs-pro/collaboration-client-node 0.6.9-nightly.202504061606 → 0.6.9-nightly.202504071607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _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 _0x1bc787=_0x56b3;(function(_0x5c3458,_0x22b640){const _0x489836=_0x56b3,_0x3697c5=_0x5c3458();while(!![]){try{const _0x24a5ce=parseInt(_0x489836(0x147))/0x1*(parseInt(_0x489836(0x235))/0x2)+-parseInt(_0x489836(0x23f))/0x3*(parseInt(_0x489836(0x23b))/0x4)+-parseInt(_0x489836(0x275))/0x5*(parseInt(_0x489836(0x106))/0x6)+-parseInt(_0x489836(0x1f4))/0x7*(-parseInt(_0x489836(0x18d))/0x8)+parseInt(_0x489836(0x28a))/0x9+parseInt(_0x489836(0xec))/0xa+-parseInt(_0x489836(0xd8))/0xb;if(_0x24a5ce===_0x22b640)break;else _0x3697c5['push'](_0x3697c5['shift']());}catch(_0x36d3c8){_0x3697c5['push'](_0x3697c5['shift']());}}}(_0x399e,0x9c481));Object[_0x1bc787(0x188)](exports,Symbol[_0x1bc787(0x1cf)],{'value':_0x1bc787(0xf3)});const st=require('@univerjs-pro/collaboration-client'),A=require(_0x1bc787(0x11d)),it=require(_0x1bc787(0x266)),V=require('rxjs'),nt=require(_0x1bc787(0x181)),vt=require('https'),ot=require(_0x1bc787(0x121)),St=require(_0x1bc787(0x139)),Et=require(_0x1bc787(0x239)),Le=require(_0x1bc787(0x1ac)),oe=require(_0x1bc787(0x1e7)),xt=require(_0x1bc787(0x18f)),bt=require(_0x1bc787(0x1f9)),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x1bc787(0x11e),Ct={'customHeaders':{}};function Tt(_0x2f7dec){const _0x114d2b=_0x1bc787;return _0x2f7dec&&_0x2f7dec[_0x114d2b(0x195)]&&Object[_0x114d2b(0xcc)][_0x114d2b(0x103)]['call'](_0x2f7dec,'default')?_0x2f7dec[_0x114d2b(0x1fd)]:_0x2f7dec;}function at(_0x59c032){const _0x3212a6=_0x1bc787;if(Object[_0x3212a6(0xcc)]['hasOwnProperty'][_0x3212a6(0x27b)](_0x59c032,_0x3212a6(0x195)))return _0x59c032;var _0x4179c7=_0x59c032[_0x3212a6(0x1fd)];if(typeof _0x4179c7=='function'){var _0x45c8b2=function _0x18b47c(){const _0xf432be=_0x3212a6;return this instanceof _0x18b47c?Reflect[_0xf432be(0x1a5)](_0x4179c7,arguments,this[_0xf432be(0xfc)]):_0x4179c7[_0xf432be(0xd5)](this,arguments);};_0x45c8b2[_0x3212a6(0xcc)]=_0x4179c7[_0x3212a6(0xcc)];}else _0x45c8b2={};return Object[_0x3212a6(0x188)](_0x45c8b2,_0x3212a6(0x195),{'value':!0x0}),Object[_0x3212a6(0x192)](_0x59c032)['forEach'](function(_0x2af370){const _0x487175=_0x3212a6;var _0x5de4f3=Object[_0x487175(0x153)](_0x59c032,_0x2af370);Object[_0x487175(0x188)](_0x45c8b2,_0x2af370,_0x5de4f3[_0x487175(0x159)]?_0x5de4f3:{'enumerable':!0x0,'get':function(){return _0x59c032[_0x2af370];}});}),_0x45c8b2;}function _0x56b3(_0x223763,_0xd7a588){const _0x399e32=_0x399e();return _0x56b3=function(_0x56b3f8,_0x214376){_0x56b3f8=_0x56b3f8-0xcc;let _0x1aff44=_0x399e32[_0x56b3f8];return _0x1aff44;},_0x56b3(_0x223763,_0xd7a588);}var se={'exports':{}},ge,Ge;function H(){const _0xe8144a=_0x1bc787;if(Ge)return ge;Ge=0x1;const _0x128b32=['nodebuffer','arraybuffer',_0xe8144a(0x1e8)],_0x1a1516=typeof Blob<'u';return _0x1a1516&&_0x128b32[_0xe8144a(0x26c)](_0xe8144a(0x1df)),ge={'BINARY_TYPES':_0x128b32,'EMPTY_BUFFER':Buffer[_0xe8144a(0x13b)](0x0),'GUID':_0xe8144a(0x1a2),'hasBlob':_0x1a1516,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0xe8144a(0x184)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0xe8144a(0xe2)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x1bc787(0x19c)](Object[_0x1bc787(0x188)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x1bc787(0xf3)})),Lt=at(kt);var Ve;function ce(){const _0x505f6d=_0x1bc787;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x2e66a1}=H(),_0x3f4dd0=Buffer[Symbol['species']];function _0x51f169(_0x4544db,_0x5b9e0d){const _0x1927d4=_0x56b3;if(_0x4544db[_0x1927d4(0x11b)]===0x0)return _0x2e66a1;if(_0x4544db[_0x1927d4(0x11b)]===0x1)return _0x4544db[0x0];const _0xbcfba9=Buffer[_0x1927d4(0x12b)](_0x5b9e0d);let _0x5bf0ab=0x0;for(let _0x22c298=0x0;_0x22c298<_0x4544db[_0x1927d4(0x11b)];_0x22c298++){const _0x33da6b=_0x4544db[_0x22c298];_0xbcfba9[_0x1927d4(0x256)](_0x33da6b,_0x5bf0ab),_0x5bf0ab+=_0x33da6b[_0x1927d4(0x11b)];}return _0x5bf0ab<_0x5b9e0d?new _0x3f4dd0(_0xbcfba9['buffer'],_0xbcfba9[_0x1927d4(0x219)],_0x5bf0ab):_0xbcfba9;}function _0x57c59b(_0x4e6722,_0x1d9980,_0x27f070,_0x39f9c6,_0x21bb4e){for(let _0xef83e2=0x0;_0xef83e2<_0x21bb4e;_0xef83e2++)_0x27f070[_0x39f9c6+_0xef83e2]=_0x4e6722[_0xef83e2]^_0x1d9980[_0xef83e2&0x3];}function _0x1a29fe(_0x1259b8,_0x4737c5){const _0x5344d5=_0x56b3;for(let _0x3cfcab=0x0;_0x3cfcab<_0x1259b8[_0x5344d5(0x11b)];_0x3cfcab++)_0x1259b8[_0x3cfcab]^=_0x4737c5[_0x3cfcab&0x3];}function _0xf6a57(_0x28dcc8){const _0x270483=_0x56b3;return _0x28dcc8['length']===_0x28dcc8['buffer'][_0x270483(0x161)]?_0x28dcc8[_0x270483(0x177)]:_0x28dcc8[_0x270483(0x177)]['slice'](_0x28dcc8[_0x270483(0x219)],_0x28dcc8[_0x270483(0x219)]+_0x28dcc8[_0x270483(0x11b)]);}function _0x40581c(_0x50c89b){const _0x981c40=_0x56b3;if(_0x40581c[_0x981c40(0x21a)]=!0x0,Buffer['isBuffer'](_0x50c89b))return _0x50c89b;let _0x461000;return _0x50c89b instanceof ArrayBuffer?_0x461000=new _0x3f4dd0(_0x50c89b):ArrayBuffer[_0x981c40(0x214)](_0x50c89b)?_0x461000=new _0x3f4dd0(_0x50c89b[_0x981c40(0x177)],_0x50c89b[_0x981c40(0x219)],_0x50c89b['byteLength']):(_0x461000=Buffer[_0x981c40(0x1ae)](_0x50c89b),_0x40581c['readOnly']=!0x1),_0x461000;}if(se[_0x505f6d(0x1f7)]={'concat':_0x51f169,'mask':_0x57c59b,'toArrayBuffer':_0xf6a57,'toBuffer':_0x40581c,'unmask':_0x1a29fe},!process[_0x505f6d(0x198)][_0x505f6d(0x108)])try{const _0x30fd8f=Lt;se[_0x505f6d(0x1f7)][_0x505f6d(0x21f)]=function(_0x935dec,_0x56ed69,_0x5d1903,_0x16d992,_0x245146){const _0x1ec3fc=_0x505f6d;_0x245146<0x30?_0x57c59b(_0x935dec,_0x56ed69,_0x5d1903,_0x16d992,_0x245146):_0x30fd8f[_0x1ec3fc(0x21f)](_0x935dec,_0x56ed69,_0x5d1903,_0x16d992,_0x245146);},se[_0x505f6d(0x1f7)][_0x505f6d(0x11f)]=function(_0x163fdb,_0xcdb94){const _0x2ba0e0=_0x505f6d;_0x163fdb[_0x2ba0e0(0x11b)]<0x20?_0x1a29fe(_0x163fdb,_0xcdb94):_0x30fd8f[_0x2ba0e0(0x11f)](_0x163fdb,_0xcdb94);};}catch{}return se[_0x505f6d(0x1f7)];}var ye,He;function Pt(){const _0x16c5e7=_0x1bc787;if(He)return ye;He=0x1;const _0x48c4d9=Symbol(_0x16c5e7(0x18b)),_0x3d9136=Symbol(_0x16c5e7(0x215));class _0xa56982{constructor(_0x41e6f0){const _0x2adae0=_0x16c5e7;this[_0x48c4d9]=()=>{const _0x234fc7=_0x56b3;this[_0x234fc7(0x206)]--,this[_0x3d9136]();},this[_0x2adae0(0x212)]=_0x41e6f0||0x1/0x0,this[_0x2adae0(0x190)]=[],this[_0x2adae0(0x206)]=0x0;}[_0x16c5e7(0xd2)](_0x142e03){const _0x2287b8=_0x16c5e7;this[_0x2287b8(0x190)][_0x2287b8(0x26c)](_0x142e03),this[_0x3d9136]();}[_0x3d9136](){const _0x2ba12f=_0x16c5e7;if(this['pending']!==this[_0x2ba12f(0x212)]&&this[_0x2ba12f(0x190)]['length']){const _0x1f2d7c=this['jobs'][_0x2ba12f(0x247)]();this[_0x2ba12f(0x206)]++,_0x1f2d7c(this[_0x48c4d9]);}}}return ye=_0xa56982,ye;}var ve,ze;function he(){const _0x3e416d=_0x1bc787;if(ze)return ve;ze=0x1;const _0x253a52=bt,_0x23ec03=ce(),_0x2086de=Pt(),{kStatusCode:_0x416879}=H(),_0x58e9a5=Buffer[Symbol[_0x3e416d(0x171)]],_0x465670=Buffer[_0x3e416d(0x1ae)]([0x0,0x0,0xff,0xff]),_0x33f401=Symbol(_0x3e416d(0x17e)),_0x568b34=Symbol('total-length'),_0x13b6d8=Symbol(_0x3e416d(0x1c2)),_0x4519da=Symbol(_0x3e416d(0x1d3)),_0x306aae=Symbol(_0x3e416d(0x1b9));let _0x3dfd8e;class _0x4c70e8{constructor(_0x4bd777,_0x2ebc3b,_0x23ebb9){const _0x3da3e5=_0x3e416d;if(this[_0x3da3e5(0xf6)]=_0x23ebb9|0x0,this[_0x3da3e5(0x120)]=_0x4bd777||{},this[_0x3da3e5(0x141)]=this[_0x3da3e5(0x120)][_0x3da3e5(0xcf)]!==void 0x0?this[_0x3da3e5(0x120)]['threshold']:0x400,this['_isServer']=!!_0x2ebc3b,this[_0x3da3e5(0x1db)]=null,this['_inflate']=null,this[_0x3da3e5(0x1d7)]=null,!_0x3dfd8e){const _0x589e82=this[_0x3da3e5(0x120)][_0x3da3e5(0x27a)]!==void 0x0?this[_0x3da3e5(0x120)][_0x3da3e5(0x27a)]:0xa;_0x3dfd8e=new _0x2086de(_0x589e82);}}static get[_0x3e416d(0x263)](){const _0x1a6240=_0x3e416d;return _0x1a6240(0x17e);}[_0x3e416d(0x296)](){const _0x3a5b05=_0x3e416d,_0x2bc554={};return this[_0x3a5b05(0x120)][_0x3a5b05(0xd3)]&&(_0x2bc554[_0x3a5b05(0x209)]=!0x0),this[_0x3a5b05(0x120)][_0x3a5b05(0xf0)]&&(_0x2bc554[_0x3a5b05(0x1ff)]=!0x0),this[_0x3a5b05(0x120)][_0x3a5b05(0x25c)]&&(_0x2bc554[_0x3a5b05(0x26d)]=this[_0x3a5b05(0x120)]['serverMaxWindowBits']),this['_options'][_0x3a5b05(0x1e9)]?_0x2bc554[_0x3a5b05(0x19b)]=this[_0x3a5b05(0x120)][_0x3a5b05(0x1e9)]:this['_options']['clientMaxWindowBits']==null&&(_0x2bc554['client_max_window_bits']=!0x0),_0x2bc554;}[_0x3e416d(0x27c)](_0x5825b9){const _0xebaa78=_0x3e416d;return _0x5825b9=this[_0xebaa78(0x283)](_0x5825b9),this['params']=this[_0xebaa78(0x1c8)]?this[_0xebaa78(0x24a)](_0x5825b9):this[_0xebaa78(0x179)](_0x5825b9),this[_0xebaa78(0x1d7)];}[_0x3e416d(0x14b)](){const _0x478c9a=_0x3e416d;if(this[_0x478c9a(0x246)]&&(this[_0x478c9a(0x246)]['close'](),this[_0x478c9a(0x246)]=null),this[_0x478c9a(0x1db)]){const _0xeb82eb=this['_deflate'][_0x13b6d8];this[_0x478c9a(0x1db)][_0x478c9a(0x211)](),this[_0x478c9a(0x1db)]=null,_0xeb82eb&&_0xeb82eb(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}['acceptAsServer'](_0x283b16){const _0x17a4a9=_0x3e416d,_0x4db7cd=this[_0x17a4a9(0x120)],_0x22fb68=_0x283b16[_0x17a4a9(0x1b0)](_0x2f6864=>!(_0x4db7cd['serverNoContextTakeover']===!0x1&&_0x2f6864[_0x17a4a9(0x209)]||_0x2f6864[_0x17a4a9(0x26d)]&&(_0x4db7cd[_0x17a4a9(0x25c)]===!0x1||typeof _0x4db7cd[_0x17a4a9(0x25c)]==_0x17a4a9(0xf5)&&_0x4db7cd[_0x17a4a9(0x25c)]>_0x2f6864[_0x17a4a9(0x26d)])||typeof _0x4db7cd[_0x17a4a9(0x1e9)]==_0x17a4a9(0xf5)&&!_0x2f6864[_0x17a4a9(0x19b)]));if(!_0x22fb68)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x4db7cd[_0x17a4a9(0xd3)]&&(_0x22fb68[_0x17a4a9(0x209)]=!0x0),_0x4db7cd[_0x17a4a9(0xf0)]&&(_0x22fb68[_0x17a4a9(0x1ff)]=!0x0),typeof _0x4db7cd[_0x17a4a9(0x25c)]==_0x17a4a9(0xf5)&&(_0x22fb68[_0x17a4a9(0x26d)]=_0x4db7cd[_0x17a4a9(0x25c)]),typeof _0x4db7cd[_0x17a4a9(0x1e9)]==_0x17a4a9(0xf5)?_0x22fb68[_0x17a4a9(0x19b)]=_0x4db7cd[_0x17a4a9(0x1e9)]:(_0x22fb68[_0x17a4a9(0x19b)]===!0x0||_0x4db7cd['clientMaxWindowBits']===!0x1)&&delete _0x22fb68[_0x17a4a9(0x19b)],_0x22fb68;}[_0x3e416d(0x179)](_0x2fc11a){const _0x464a18=_0x3e416d,_0x14aa3a=_0x2fc11a[0x0];if(this[_0x464a18(0x120)][_0x464a18(0xf0)]===!0x1&&_0x14aa3a['client_no_context_takeover'])throw new Error(_0x464a18(0x1a0));if(!_0x14aa3a['client_max_window_bits'])typeof this[_0x464a18(0x120)][_0x464a18(0x1e9)]==_0x464a18(0xf5)&&(_0x14aa3a[_0x464a18(0x19b)]=this['_options'][_0x464a18(0x1e9)]);else{if(this['_options'][_0x464a18(0x1e9)]===!0x1||typeof this[_0x464a18(0x120)]['clientMaxWindowBits']==_0x464a18(0xf5)&&_0x14aa3a[_0x464a18(0x19b)]>this[_0x464a18(0x120)][_0x464a18(0x1e9)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x14aa3a;}[_0x3e416d(0x283)](_0x52b429){const _0x22a11f=_0x3e416d;return _0x52b429[_0x22a11f(0x135)](_0x21857b=>{const _0x249523=_0x22a11f;Object['keys'](_0x21857b)[_0x249523(0x135)](_0x19a26b=>{const _0x5db28b=_0x249523;let _0x23fffa=_0x21857b[_0x19a26b];if(_0x23fffa[_0x5db28b(0x11b)]>0x1)throw new Error(_0x5db28b(0x1ce)+_0x19a26b+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x23fffa=_0x23fffa[0x0],_0x19a26b==='client_max_window_bits'){if(_0x23fffa!==!0x0){const _0x1f59f8=+_0x23fffa;if(!Number[_0x5db28b(0x10c)](_0x1f59f8)||_0x1f59f8<0x8||_0x1f59f8>0xf)throw new TypeError(_0x5db28b(0x1f2)+_0x19a26b+_0x5db28b(0x12e)+_0x23fffa);_0x23fffa=_0x1f59f8;}else{if(!this[_0x5db28b(0x1c8)])throw new TypeError(_0x5db28b(0x1f2)+_0x19a26b+'\x22:\x20'+_0x23fffa);}}else{if(_0x19a26b===_0x5db28b(0x26d)){const _0x287fa5=+_0x23fffa;if(!Number['isInteger'](_0x287fa5)||_0x287fa5<0x8||_0x287fa5>0xf)throw new TypeError(_0x5db28b(0x1f2)+_0x19a26b+_0x5db28b(0x12e)+_0x23fffa);_0x23fffa=_0x287fa5;}else{if(_0x19a26b===_0x5db28b(0x1ff)||_0x19a26b===_0x5db28b(0x209)){if(_0x23fffa!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x19a26b+_0x5db28b(0x12e)+_0x23fffa);}else throw new Error(_0x5db28b(0x170)+_0x19a26b+'\x22');}}_0x21857b[_0x19a26b]=_0x23fffa;});}),_0x52b429;}[_0x3e416d(0x285)](_0x3f65cc,_0x39a1da,_0x24755d){const _0x5f2ae7=_0x3e416d;_0x3dfd8e[_0x5f2ae7(0xd2)](_0x4f7720=>{const _0x432f36=_0x5f2ae7;this[_0x432f36(0x1f1)](_0x3f65cc,_0x39a1da,(_0x5914a4,_0x34a983)=>{_0x4f7720(),_0x24755d(_0x5914a4,_0x34a983);});});}['compress'](_0x5952bc,_0x5997f5,_0xf15643){const _0x3f204a=_0x3e416d;_0x3dfd8e[_0x3f204a(0xd2)](_0x43e8ac=>{const _0x35ecb0=_0x3f204a;this[_0x35ecb0(0x21e)](_0x5952bc,_0x5997f5,(_0x5bcc34,_0x1c1e6a)=>{_0x43e8ac(),_0xf15643(_0x5bcc34,_0x1c1e6a);});});}['_decompress'](_0x585fd4,_0x42e12b,_0x1f39e6){const _0xa41d53=_0x3e416d,_0x4317bf=this[_0xa41d53(0x1c8)]?_0xa41d53(0x261):_0xa41d53(0x144);if(!this[_0xa41d53(0x246)]){const _0x4c8ec5=_0x4317bf+_0xa41d53(0x297),_0x2774c5=typeof this['params'][_0x4c8ec5]!=_0xa41d53(0xf5)?_0x253a52[_0xa41d53(0x18c)]:this[_0xa41d53(0x1d7)][_0x4c8ec5];this[_0xa41d53(0x246)]=_0x253a52[_0xa41d53(0x1ec)]({...this[_0xa41d53(0x120)]['zlibInflateOptions'],'windowBits':_0x2774c5}),this[_0xa41d53(0x246)][_0x33f401]=this,this['_inflate'][_0x568b34]=0x0,this['_inflate'][_0x4519da]=[],this[_0xa41d53(0x246)]['on']('error',_0x3227b7),this['_inflate']['on'](_0xa41d53(0x24d),_0x42e0d2);}this[_0xa41d53(0x246)][_0x13b6d8]=_0x1f39e6,this['_inflate']['write'](_0x585fd4),_0x42e12b&&this['_inflate'][_0xa41d53(0x1f6)](_0x465670),this[_0xa41d53(0x246)][_0xa41d53(0x15c)](()=>{const _0x36ba77=_0xa41d53,_0x104544=this[_0x36ba77(0x246)][_0x306aae];if(_0x104544){this[_0x36ba77(0x246)]['close'](),this['_inflate']=null,_0x1f39e6(_0x104544);return;}const _0x53c4ae=_0x23ec03['concat'](this[_0x36ba77(0x246)][_0x4519da],this[_0x36ba77(0x246)][_0x568b34]);this[_0x36ba77(0x246)][_0x36ba77(0x236)][_0x36ba77(0x1b3)]?(this[_0x36ba77(0x246)][_0x36ba77(0x211)](),this[_0x36ba77(0x246)]=null):(this[_0x36ba77(0x246)][_0x568b34]=0x0,this[_0x36ba77(0x246)][_0x4519da]=[],_0x42e12b&&this[_0x36ba77(0x1d7)][_0x4317bf+_0x36ba77(0xda)]&&this[_0x36ba77(0x246)][_0x36ba77(0x231)]()),_0x1f39e6(null,_0x53c4ae);});}['_compress'](_0x11f240,_0x4a9301,_0x39186a){const _0x28ffd9=_0x3e416d,_0x176cbb=this['_isServer']?_0x28ffd9(0x144):_0x28ffd9(0x261);if(!this[_0x28ffd9(0x1db)]){const _0x8d78d8=_0x176cbb+_0x28ffd9(0x297),_0x3b3177=typeof this[_0x28ffd9(0x1d7)][_0x8d78d8]!='number'?_0x253a52[_0x28ffd9(0x18c)]:this[_0x28ffd9(0x1d7)][_0x8d78d8];this[_0x28ffd9(0x1db)]=_0x253a52[_0x28ffd9(0x191)]({...this[_0x28ffd9(0x120)][_0x28ffd9(0xce)],'windowBits':_0x3b3177}),this['_deflate'][_0x568b34]=0x0,this[_0x28ffd9(0x1db)][_0x4519da]=[],this[_0x28ffd9(0x1db)]['on'](_0x28ffd9(0x24d),_0x31f6d1);}this[_0x28ffd9(0x1db)][_0x13b6d8]=_0x39186a,this[_0x28ffd9(0x1db)]['write'](_0x11f240),this[_0x28ffd9(0x1db)][_0x28ffd9(0x15c)](_0x253a52[_0x28ffd9(0x274)],()=>{const _0x7e1bf3=_0x28ffd9;if(!this[_0x7e1bf3(0x1db)])return;let _0x1365b4=_0x23ec03[_0x7e1bf3(0x238)](this[_0x7e1bf3(0x1db)][_0x4519da],this['_deflate'][_0x568b34]);_0x4a9301&&(_0x1365b4=new _0x58e9a5(_0x1365b4[_0x7e1bf3(0x177)],_0x1365b4[_0x7e1bf3(0x219)],_0x1365b4[_0x7e1bf3(0x11b)]-0x4)),this[_0x7e1bf3(0x1db)][_0x13b6d8]=null,this[_0x7e1bf3(0x1db)][_0x568b34]=0x0,this[_0x7e1bf3(0x1db)][_0x4519da]=[],_0x4a9301&&this[_0x7e1bf3(0x1d7)][_0x176cbb+'_no_context_takeover']&&this[_0x7e1bf3(0x1db)]['reset'](),_0x39186a(null,_0x1365b4);});}}ve=_0x4c70e8;function _0x31f6d1(_0x414f6f){const _0x526abd=_0x3e416d;this[_0x4519da]['push'](_0x414f6f),this[_0x568b34]+=_0x414f6f[_0x526abd(0x11b)];}function _0x42e0d2(_0x1633cc){const _0x5543d7=_0x3e416d;if(this[_0x568b34]+=_0x1633cc[_0x5543d7(0x11b)],this[_0x33f401][_0x5543d7(0xf6)]<0x1||this[_0x568b34]<=this[_0x33f401]['_maxPayload']){this[_0x4519da][_0x5543d7(0x26c)](_0x1633cc);return;}this[_0x306aae]=new RangeError(_0x5543d7(0xd4)),this[_0x306aae]['code']='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x306aae][_0x416879]=0x3f1,this[_0x5543d7(0x1ee)]('data',_0x42e0d2),this[_0x5543d7(0x231)]();}function _0x3227b7(_0x7b1b78){this[_0x33f401]['_inflate']=null,_0x7b1b78[_0x416879]=0x3ef,this[_0x13b6d8](_0x7b1b78);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x1bc787(0x19c)](Object[_0x1bc787(0x188)]({'__proto__':null,'default':Dt},Symbol[_0x1bc787(0x1cf)],{'value':_0x1bc787(0xf3)})),Bt=at(Rt);var Ye;function ae(){const _0x123f9c=_0x1bc787;if(Ye)return ie[_0x123f9c(0x1f7)];Ye=0x1;const {isUtf8:_0xe57798}=wt,{hasBlob:_0xb4ffb9}=H(),_0x54c321=[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 _0x3e0e59(_0x55205a){return _0x55205a>=0x3e8&&_0x55205a<=0x3f6&&_0x55205a!==0x3ec&&_0x55205a!==0x3ed&&_0x55205a!==0x3ee||_0x55205a>=0xbb8&&_0x55205a<=0x1387;}function _0x5f3fd7(_0x5d5ba4){const _0xf7a699=_0x123f9c,_0x3ae992=_0x5d5ba4[_0xf7a699(0x11b)];let _0x314682=0x0;for(;_0x314682<_0x3ae992;)if((_0x5d5ba4[_0x314682]&0x80)===0x0)_0x314682++;else{if((_0x5d5ba4[_0x314682]&0xe0)===0xc0){if(_0x314682+0x1===_0x3ae992||(_0x5d5ba4[_0x314682+0x1]&0xc0)!==0x80||(_0x5d5ba4[_0x314682]&0xfe)===0xc0)return!0x1;_0x314682+=0x2;}else{if((_0x5d5ba4[_0x314682]&0xf0)===0xe0){if(_0x314682+0x2>=_0x3ae992||(_0x5d5ba4[_0x314682+0x1]&0xc0)!==0x80||(_0x5d5ba4[_0x314682+0x2]&0xc0)!==0x80||_0x5d5ba4[_0x314682]===0xe0&&(_0x5d5ba4[_0x314682+0x1]&0xe0)===0x80||_0x5d5ba4[_0x314682]===0xed&&(_0x5d5ba4[_0x314682+0x1]&0xe0)===0xa0)return!0x1;_0x314682+=0x3;}else{if((_0x5d5ba4[_0x314682]&0xf8)===0xf0){if(_0x314682+0x3>=_0x3ae992||(_0x5d5ba4[_0x314682+0x1]&0xc0)!==0x80||(_0x5d5ba4[_0x314682+0x2]&0xc0)!==0x80||(_0x5d5ba4[_0x314682+0x3]&0xc0)!==0x80||_0x5d5ba4[_0x314682]===0xf0&&(_0x5d5ba4[_0x314682+0x1]&0xf0)===0x80||_0x5d5ba4[_0x314682]===0xf4&&_0x5d5ba4[_0x314682+0x1]>0x8f||_0x5d5ba4[_0x314682]>0xf4)return!0x1;_0x314682+=0x4;}else return!0x1;}}}return!0x0;}function _0x4db05f(_0x32c357){const _0xa51f6=_0x123f9c;return _0xb4ffb9&&typeof _0x32c357==_0xa51f6(0x21c)&&typeof _0x32c357[_0xa51f6(0x186)]=='function'&&typeof _0x32c357[_0xa51f6(0x178)]==_0xa51f6(0x150)&&typeof _0x32c357[_0xa51f6(0x1e7)]==_0xa51f6(0x1b2)&&(_0x32c357[Symbol[_0xa51f6(0x1cf)]]==='Blob'||_0x32c357[Symbol[_0xa51f6(0x1cf)]]===_0xa51f6(0x116));}if(ie[_0x123f9c(0x1f7)]={'isBlob':_0x4db05f,'isValidStatusCode':_0x3e0e59,'isValidUTF8':_0x5f3fd7,'tokenChars':_0x54c321},_0xe57798)ie[_0x123f9c(0x1f7)]['isValidUTF8']=function(_0x594c4f){const _0x34e869=_0x123f9c;return _0x594c4f[_0x34e869(0x11b)]<0x18?_0x5f3fd7(_0x594c4f):_0xe57798(_0x594c4f);};else{if(!process[_0x123f9c(0x198)][_0x123f9c(0x13c)])try{const _0x15625e=Bt;ie[_0x123f9c(0x1f7)]['isValidUTF8']=function(_0x43d641){return _0x43d641['length']<0x20?_0x5f3fd7(_0x43d641):_0x15625e(_0x43d641);};}catch{}}return ie['exports'];}var Se,Ke;function _0x399e(){const _0x48d821=['Sec-WebSocket-Extensions:\x20','_final','readUInt16BE','digest','http:','addEventListener','File','path','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','listenerCount','startsWith','length','host','@univerjs/core','collaboration-client-node.config','unmask','_options','http','response','hash','pipe','UniverCollaborationClientPlugin','map','once','DisposableCollection','createConnection','code','allocUnsafe','_originalHostOrSocketPath','setConfig','\x22:\x20','FIN\x20must\x20be\x20set','split','protocolVersion','servername','generateMask','upgrade','forEach','address','kByteLength','_paused','net','registerHTTPInterceptor','alloc','WS_NO_UTF_8_VALIDATE','listeners','Injector','startLoop','_configService','_threshold','size','slice','server','Upgrade','sec-websocket-extensions','170756hmLNry','_messageLength','Maximum\x20redirects\x20exceeded','getConfig','cleanup','_originalSecure','removeAllListeners','_writableState','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','string','isArray','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','getOwnPropertyDescriptor','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_opcode','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','Origin','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','get','createError','Invalid\x20Upgrade\x20header','flush','setNoDelay','connect','autoPong','_errored','byteLength','getPayloadLength16','pause','extensions','finish','arraybuffer','statusCode','Invalid\x20Sec-WebSocket-Extensions\x20header','backlog','COLLABORATION_CLIENT_NODE_CONFIG_KEY','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_receiver','getMask','Invalid\x20Sec-WebSocket-Accept\x20header','Invalid\x20WebSocket\x20frame:\x20','Unknown\x20parameter\x20\x22','species','_protocol','_allowSynchronousEvents','ILogService','kWasClean','dataMessage','buffer','type','acceptAsClient','Invalid\x20URL:\x20','toString','invalid\x20UTF-8\x20sequence','_loop','permessage-deflate','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_closeMessage','events','text/html','_closeCode','kListener','errorEmitted','arrayBuffer','Cookie','defineProperty','_originalIpc','dequeue','kDone','Z_DEFAULT_WINDOWBITS','1536968XYIras','socketPath','url','jobs','createDeflateRaw','keys','share','captureStackTrace','__esModule','uncork','The\x20URL\x27s\x20pathname\x20is\x20empty','env','Unexpected\x20end\x20of\x20input','emitClose','client_max_window_bits','freeze','customHeaders','fin','maskBuffer','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','includes','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','sendFrame','construct','_mask','setSocket','_fragments','_extensions','Opening\x20handshake\x20has\x20timed\x20out','end','crypto','invalid\x20opcode\x20','from','_write','find','removeEventListener','function','endEmitted','CollaborationSocketService','_req','target','UniverCollaborationClientNodePlugin','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','error','finished','onopen','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','resume','port','noServer','consume','callback','WS_ERR_EXPECTED_MASK','method','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','auth','password','_isServer','clients','IConfigService','authorized','WS_ERR_EXPECTED_FIN','CLOSING','Parameter\x20\x22','toStringTag','Server\x20sent\x20no\x20subprotocol','Observable','setHeader','buffers','has','_sender','sec-websocket-version','params','sec-websocket-accept','compress','redirect','_deflate','wasClean','indexOf','verifyClient','blob','ws+unix:','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_masked','HTTP/1.1\x20','The\x20\x22','wsClientError','_maskBuffer','stream','fragments','clientMaxWindowBits','_readyState','Plugin','createInflateRaw','sha1','removeListener','createSocket','sec-websocket-origin','_decompress','Invalid\x20value\x20for\x20parameter\x20\x22','HTTPService','7TAhcuQ','enqueue','write','exports','_closeFrameReceived','zlib','_buffers','kReason','username','default','writeUInt16BE','client_no_context_takeover','listening','defaultPort','Inject','update','onStarting','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','pending','kTarget','OPEN','server_no_context_takeover','encrypted','_injector','kAborted','Sec-WebSocket-Origin','reason','protocol','create','close','concurrency','unshift','isView','kRun','_registerDependencies','authorization','_url','byteOffset','readOnly','_socket','object','shouldHandle','_compress','mask','WS_ERR_UNEXPECTED_RSV_1','destroy','catch','_closeTimer','message','RSV1\x20must\x20be\x20clear','MASK\x20must\x20be\x20clear','conclude','_removeListeners','getPayloadLength64','_state','isServer','_payloadLength','HTTP/1.1\x20101\x20Switching\x20Protocols','Unsupported\x20protocol\x20version:\x20','controlMessage','dispatch','reset','getData','headers','sec-websocket-protocol','14wKfzaA','_readableState','_redirects','concat','tls','parse','7692uPDecl','STATUS_CODES','invalid\x20opcode\x200','_destroy','153drYqZn','_httpService','opcode','_doCreateSocket','writeUIntBE','kType','emit','_inflate','shift','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','replace','acceptAsServer','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','data','_generateMask','options','values','_totalPayloadLength','allowSynchronousEvents','isIP','kCode','toLowerCase','set','pong','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_closeFrameSent','nodebuffer','completeUpgrade','serverMaxWindowBits','Sec-WebSocket-Accept:\x20','pluginName','writeHead','WS_ERR_INVALID_OPCODE','client','maxPayload','extensionName','NodeCollaborationSocketService','pow','@univerjs/network','binary','onmessage','entries','GET','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','push','server_max_window_bits','connection','terminate','_bufferedBytes','warn','base64','origin','Z_SYNC_FLUSH','987845gvruiQ','hostname','_autoPong','toDisposable','join','concurrencyLimit','call','accept','_fragmented','WS_ERR_UNEXPECTED_MASK','_bufferedAmount','handleProtocols','wss:','_fin','normalizeParams','test','decompress','getBlobData','perMessageDeflate','_firstFragment','readyState','5461119topFVY','DependentOn','Disposable','request','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','invalid\x20status\x20code\x20','invalid\x20payload\x20length\x20','frame','_compressed','Invalid\x20HTTP\x20method','_skipUTF8Validation','handleEvent','offer','_max_window_bits','ISnapshotServerService','haveLength','WS_ERR_INVALID_UTF8','ping','The\x20URL\x27s\x20protocol\x20must\x20be\x20one\x20of\x20\x22ws:\x22,\x20\x22wss:\x22,\x20\x22http:\x22,\x20\x22https\x22,\x20or\x20\x22ws+unix:\x22','prototype','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','zlibDeflateOptions','threshold','onerror','pathname','add','serverNoContextTakeover','Max\x20payload\x20size\x20exceeded','apply','setTimeout','writable','14865477TOthZm','_errorEmitted','_no_context_takeover','binaryType','Sec-WebSocket-Protocol','Unexpected\x20character\x20at\x20index\x20','sec-websocket-key','WS_ERR_UNEXPECTED_RSV_2_3','charCodeAt','CLOSED','websocket','The\x20server\x20is\x20not\x20running','_server','location','abort','send','timeout','cookie','CONNECTING','_binaryType','8856810xCckPr','isPaused','Server\x20sent\x20an\x20invalid\x20subprotocol','MASK\x20must\x20be\x20set','clientNoContextTakeover','handleUpgrade','ws:','Module','nextTick','number','_maxPayload','\x22\x20subprotocol\x20is\x20duplicated','delete','_queue','_shouldEmitClose','https:','constructor','destroyed','registerDependencies','bind','kMessage','socket','cork','hasOwnProperty','ISocketService','open','24HGdGDR','search','WS_NO_BUFFER_UTIL','listen','objectMode','next','isInteger','rsv1','getInfo','skipUTF8Validation'];_0x399e=function(){return _0x48d821;};return _0x399e();}function lt(){const _0xc41693=_0x1bc787;if(Ke)return Se;Ke=0x1;const {Writable:_0x578ae5}=oe,_0x47f723=he(),{BINARY_TYPES:_0x441291,EMPTY_BUFFER:_0x239c16,kStatusCode:_0xf63b40,kWebSocket:_0x6a6de9}=H(),{concat:_0xc9ab97,toArrayBuffer:_0x368e49,unmask:_0x4ef175}=ce(),{isValidStatusCode:_0x3fca22,isValidUTF8:_0x1ee6cc}=ae(),_0x5545c1=Buffer[Symbol[_0xc41693(0x171)]],_0x3d6be8=0x0,_0x5e8a19=0x1,_0x41de42=0x2,_0xf3aff3=0x3,_0x3354a8=0x4,_0x75ddbe=0x5,_0x1e0b14=0x6;class _0x5c52a3 extends _0x578ae5{constructor(_0x18cbf4={}){const _0x3c7399=_0xc41693;super(),this['_allowSynchronousEvents']=_0x18cbf4[_0x3c7399(0x252)]!==void 0x0?_0x18cbf4[_0x3c7399(0x252)]:!0x0,this[_0x3c7399(0xeb)]=_0x18cbf4['binaryType']||_0x441291[0x0],this[_0x3c7399(0x1a9)]=_0x18cbf4[_0x3c7399(0x164)]||{},this[_0x3c7399(0x1c8)]=!!_0x18cbf4[_0x3c7399(0x22b)],this[_0x3c7399(0xf6)]=_0x18cbf4[_0x3c7399(0x262)]|0x0,this['_skipUTF8Validation']=!!_0x18cbf4[_0x3c7399(0x10f)],this[_0x6a6de9]=void 0x0,this[_0x3c7399(0x270)]=0x0,this[_0x3c7399(0x1fa)]=[],this['_compressed']=!0x1,this[_0x3c7399(0x22c)]=0x0,this[_0x3c7399(0x1a6)]=void 0x0,this[_0x3c7399(0x27d)]=0x0,this[_0x3c7399(0x1e2)]=!0x1,this[_0x3c7399(0x282)]=!0x1,this['_opcode']=0x0,this[_0x3c7399(0x251)]=0x0,this[_0x3c7399(0x148)]=0x0,this[_0x3c7399(0x1a8)]=[],this[_0x3c7399(0x160)]=!0x1,this[_0x3c7399(0x17d)]=!0x1,this[_0x3c7399(0x22a)]=_0x3d6be8;}[_0xc41693(0x1af)](_0x54b9ce,_0xd1baf6,_0x543d5f){const _0x835388=_0xc41693;if(this[_0x835388(0x155)]===0x8&&this[_0x835388(0x22a)]==_0x3d6be8)return _0x543d5f();this[_0x835388(0x270)]+=_0x54b9ce[_0x835388(0x11b)],this['_buffers'][_0x835388(0x26c)](_0x54b9ce),this[_0x835388(0x13f)](_0x543d5f);}[_0xc41693(0x1c1)](_0x5f21e0){const _0x4aedf1=_0xc41693;if(this[_0x4aedf1(0x270)]-=_0x5f21e0,_0x5f21e0===this[_0x4aedf1(0x1fa)][0x0][_0x4aedf1(0x11b)])return this[_0x4aedf1(0x1fa)][_0x4aedf1(0x247)]();if(_0x5f21e0<this[_0x4aedf1(0x1fa)][0x0][_0x4aedf1(0x11b)]){const _0x321ed3=this[_0x4aedf1(0x1fa)][0x0];return this['_buffers'][0x0]=new _0x5545c1(_0x321ed3[_0x4aedf1(0x177)],_0x321ed3[_0x4aedf1(0x219)]+_0x5f21e0,_0x321ed3[_0x4aedf1(0x11b)]-_0x5f21e0),new _0x5545c1(_0x321ed3['buffer'],_0x321ed3[_0x4aedf1(0x219)],_0x5f21e0);}const _0x54e3ec=Buffer['allocUnsafe'](_0x5f21e0);do{const _0x1f033e=this[_0x4aedf1(0x1fa)][0x0],_0x3d932d=_0x54e3ec[_0x4aedf1(0x11b)]-_0x5f21e0;_0x5f21e0>=_0x1f033e[_0x4aedf1(0x11b)]?_0x54e3ec[_0x4aedf1(0x256)](this[_0x4aedf1(0x1fa)][_0x4aedf1(0x247)](),_0x3d932d):(_0x54e3ec[_0x4aedf1(0x256)](new Uint8Array(_0x1f033e[_0x4aedf1(0x177)],_0x1f033e[_0x4aedf1(0x219)],_0x5f21e0),_0x3d932d),this[_0x4aedf1(0x1fa)][0x0]=new _0x5545c1(_0x1f033e['buffer'],_0x1f033e[_0x4aedf1(0x219)]+_0x5f21e0,_0x1f033e[_0x4aedf1(0x11b)]-_0x5f21e0)),_0x5f21e0-=_0x1f033e['length'];}while(_0x5f21e0>0x0);return _0x54e3ec;}['startLoop'](_0x4382b6){const _0x50d68b=_0xc41693;this[_0x50d68b(0x17d)]=!0x0;do switch(this[_0x50d68b(0x22a)]){case _0x3d6be8:this['getInfo'](_0x4382b6);break;case _0x5e8a19:this[_0x50d68b(0x162)](_0x4382b6);break;case _0x41de42:this[_0x50d68b(0x229)](_0x4382b6);break;case _0xf3aff3:this[_0x50d68b(0x16d)]();break;case _0x3354a8:this[_0x50d68b(0x232)](_0x4382b6);break;case _0x75ddbe:case _0x1e0b14:this['_loop']=!0x1;return;}while(this[_0x50d68b(0x17d)]);this[_0x50d68b(0x160)]||_0x4382b6();}[_0xc41693(0x10e)](_0x3c39a9){const _0x25068f=_0xc41693;if(this[_0x25068f(0x270)]<0x2){this[_0x25068f(0x17d)]=!0x1;return;}const _0x401dd2=this[_0x25068f(0x1c1)](0x2);if((_0x401dd2[0x0]&0x30)!==0x0){const _0x25618d=this[_0x25068f(0x15a)](RangeError,_0x25068f(0x152),!0x0,0x3ea,_0x25068f(0xdf));_0x3c39a9(_0x25618d);return;}const _0x201453=(_0x401dd2[0x0]&0x40)===0x40;if(_0x201453&&!this[_0x25068f(0x1a9)][_0x47f723[_0x25068f(0x263)]]){const _0x122e56=this[_0x25068f(0x15a)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x3c39a9(_0x122e56);return;}if(this['_fin']=(_0x401dd2[0x0]&0x80)===0x80,this[_0x25068f(0x155)]=_0x401dd2[0x0]&0xf,this[_0x25068f(0x22c)]=_0x401dd2[0x1]&0x7f,this[_0x25068f(0x155)]===0x0){if(_0x201453){const _0x4640d6=this[_0x25068f(0x15a)](RangeError,_0x25068f(0x225),!0x0,0x3ea,_0x25068f(0x220));_0x3c39a9(_0x4640d6);return;}if(!this[_0x25068f(0x27d)]){const _0x5d3998=this[_0x25068f(0x15a)](RangeError,_0x25068f(0x23d),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3c39a9(_0x5d3998);return;}this[_0x25068f(0x155)]=this[_0x25068f(0x27d)];}else{if(this[_0x25068f(0x155)]===0x1||this[_0x25068f(0x155)]===0x2){if(this[_0x25068f(0x27d)]){const _0x26866=this[_0x25068f(0x15a)](RangeError,_0x25068f(0x1ad)+this[_0x25068f(0x155)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3c39a9(_0x26866);return;}this[_0x25068f(0x292)]=_0x201453;}else{if(this[_0x25068f(0x155)]>0x7&&this['_opcode']<0xb){if(!this['_fin']){const _0x73ede7=this[_0x25068f(0x15a)](RangeError,_0x25068f(0x12f),!0x0,0x3ea,_0x25068f(0x1cc));_0x3c39a9(_0x73ede7);return;}if(_0x201453){const _0x4c5fad=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x25068f(0x220));_0x3c39a9(_0x4c5fad);return;}if(this[_0x25068f(0x22c)]>0x7d||this['_opcode']===0x8&&this[_0x25068f(0x22c)]===0x1){const _0x5d11d2=this[_0x25068f(0x15a)](RangeError,_0x25068f(0x290)+this[_0x25068f(0x22c)],!0x0,0x3ea,_0x25068f(0x154));_0x3c39a9(_0x5d11d2);return;}}else{const _0x19dd07=this[_0x25068f(0x15a)](RangeError,_0x25068f(0x1ad)+this['_opcode'],!0x0,0x3ea,_0x25068f(0x260));_0x3c39a9(_0x19dd07);return;}}}if(!this['_fin']&&!this[_0x25068f(0x27d)]&&(this[_0x25068f(0x27d)]=this['_opcode']),this[_0x25068f(0x1e2)]=(_0x401dd2[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x25068f(0x1e2)]){const _0x16926d=this[_0x25068f(0x15a)](RangeError,_0x25068f(0xef),!0x0,0x3ea,_0x25068f(0x1c3));_0x3c39a9(_0x16926d);return;}}else{if(this['_masked']){const _0x293a7c=this[_0x25068f(0x15a)](RangeError,_0x25068f(0x226),!0x0,0x3ea,_0x25068f(0x27e));_0x3c39a9(_0x293a7c);return;}}this[_0x25068f(0x22c)]===0x7e?this[_0x25068f(0x22a)]=_0x5e8a19:this[_0x25068f(0x22c)]===0x7f?this[_0x25068f(0x22a)]=_0x41de42:this[_0x25068f(0x299)](_0x3c39a9);}[_0xc41693(0x162)](_0x10a4d1){const _0x5787d0=_0xc41693;if(this[_0x5787d0(0x270)]<0x2){this[_0x5787d0(0x17d)]=!0x1;return;}this['_payloadLength']=this['consume'](0x2)[_0x5787d0(0x112)](0x0),this[_0x5787d0(0x299)](_0x10a4d1);}[_0xc41693(0x229)](_0x155d58){const _0x218662=_0xc41693;if(this[_0x218662(0x270)]<0x8){this[_0x218662(0x17d)]=!0x1;return;}const _0x394d8c=this[_0x218662(0x1c1)](0x8),_0x3329af=_0x394d8c['readUInt32BE'](0x0);if(_0x3329af>Math[_0x218662(0x265)](0x2,0x15)-0x1){const _0x64e397=this[_0x218662(0x15a)](RangeError,_0x218662(0x24c),!0x1,0x3f1,_0x218662(0x24b));_0x155d58(_0x64e397);return;}this['_payloadLength']=_0x3329af*Math[_0x218662(0x265)](0x2,0x20)+_0x394d8c['readUInt32BE'](0x4),this[_0x218662(0x299)](_0x155d58);}['haveLength'](_0xda6194){const _0x1e750a=_0xc41693;if(this[_0x1e750a(0x22c)]&&this[_0x1e750a(0x155)]<0x8&&(this['_totalPayloadLength']+=this['_payloadLength'],this[_0x1e750a(0x251)]>this['_maxPayload']&&this[_0x1e750a(0xf6)]>0x0)){const _0xeff6f6=this[_0x1e750a(0x15a)](RangeError,_0x1e750a(0xd4),!0x1,0x3f1,_0x1e750a(0x1bc));_0xda6194(_0xeff6f6);return;}this[_0x1e750a(0x1e2)]?this[_0x1e750a(0x22a)]=_0xf3aff3:this[_0x1e750a(0x22a)]=_0x3354a8;}['getMask'](){const _0x14350a=_0xc41693;if(this[_0x14350a(0x270)]<0x4){this[_0x14350a(0x17d)]=!0x1;return;}this['_mask']=this[_0x14350a(0x1c1)](0x4),this['_state']=_0x3354a8;}['getData'](_0x5d6083){const _0x542d8f=_0xc41693;let _0x5691c9=_0x239c16;if(this[_0x542d8f(0x22c)]){if(this[_0x542d8f(0x270)]<this[_0x542d8f(0x22c)]){this[_0x542d8f(0x17d)]=!0x1;return;}_0x5691c9=this['consume'](this[_0x542d8f(0x22c)]),this[_0x542d8f(0x1e2)]&&(this[_0x542d8f(0x1a6)][0x0]|this['_mask'][0x1]|this[_0x542d8f(0x1a6)][0x2]|this['_mask'][0x3])!==0x0&&_0x4ef175(_0x5691c9,this['_mask']);}if(this[_0x542d8f(0x155)]>0x7){this[_0x542d8f(0x22f)](_0x5691c9,_0x5d6083);return;}if(this[_0x542d8f(0x292)]){this[_0x542d8f(0x22a)]=_0x75ddbe,this[_0x542d8f(0x285)](_0x5691c9,_0x5d6083);return;}_0x5691c9[_0x542d8f(0x11b)]&&(this[_0x542d8f(0x148)]=this['_totalPayloadLength'],this[_0x542d8f(0x1a8)]['push'](_0x5691c9)),this[_0x542d8f(0x176)](_0x5d6083);}['decompress'](_0x5c190c,_0x431775){const _0x15b5bc=_0xc41693;this[_0x15b5bc(0x1a9)][_0x47f723['extensionName']][_0x15b5bc(0x285)](_0x5c190c,this['_fin'],(_0x2ef227,_0x42753c)=>{const _0x480d89=_0x15b5bc;if(_0x2ef227)return _0x431775(_0x2ef227);if(_0x42753c[_0x480d89(0x11b)]){if(this[_0x480d89(0x148)]+=_0x42753c[_0x480d89(0x11b)],this['_messageLength']>this[_0x480d89(0xf6)]&&this[_0x480d89(0xf6)]>0x0){const _0x1e44cb=this[_0x480d89(0x15a)](RangeError,_0x480d89(0xd4),!0x1,0x3f1,_0x480d89(0x1bc));_0x431775(_0x1e44cb);return;}this['_fragments'][_0x480d89(0x26c)](_0x42753c);}this['dataMessage'](_0x431775),this[_0x480d89(0x22a)]===_0x3d6be8&&this[_0x480d89(0x13f)](_0x431775);});}[_0xc41693(0x176)](_0xa707f2){const _0x53d271=_0xc41693;if(!this[_0x53d271(0x282)]){this[_0x53d271(0x22a)]=_0x3d6be8;return;}const _0x28c611=this[_0x53d271(0x148)],_0x14986f=this['_fragments'];if(this['_totalPayloadLength']=0x0,this[_0x53d271(0x148)]=0x0,this[_0x53d271(0x27d)]=0x0,this['_fragments']=[],this[_0x53d271(0x155)]===0x2){let _0x28ed80;this[_0x53d271(0xeb)]===_0x53d271(0x25a)?_0x28ed80=_0xc9ab97(_0x14986f,_0x28c611):this['_binaryType']===_0x53d271(0x166)?_0x28ed80=_0x368e49(_0xc9ab97(_0x14986f,_0x28c611)):this['_binaryType']===_0x53d271(0x1df)?_0x28ed80=new Blob(_0x14986f):_0x28ed80=_0x14986f,this[_0x53d271(0x173)]?(this[_0x53d271(0x245)](_0x53d271(0x224),_0x28ed80,!0x0),this[_0x53d271(0x22a)]=_0x3d6be8):(this[_0x53d271(0x22a)]=_0x1e0b14,setImmediate(()=>{const _0x346288=_0x53d271;this['emit']('message',_0x28ed80,!0x0),this[_0x346288(0x22a)]=_0x3d6be8,this['startLoop'](_0xa707f2);}));}else{const _0x58fa75=_0xc9ab97(_0x14986f,_0x28c611);if(!this[_0x53d271(0x294)]&&!_0x1ee6cc(_0x58fa75)){const _0x40f08e=this[_0x53d271(0x15a)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x53d271(0x29a));_0xa707f2(_0x40f08e);return;}this['_state']===_0x75ddbe||this['_allowSynchronousEvents']?(this[_0x53d271(0x245)](_0x53d271(0x224),_0x58fa75,!0x1),this['_state']=_0x3d6be8):(this['_state']=_0x1e0b14,setImmediate(()=>{const _0x228ecd=_0x53d271;this[_0x228ecd(0x245)](_0x228ecd(0x224),_0x58fa75,!0x1),this['_state']=_0x3d6be8,this[_0x228ecd(0x13f)](_0xa707f2);}));}}[_0xc41693(0x22f)](_0x5c7c1b,_0x478ab4){const _0x5c3987=_0xc41693;if(this[_0x5c3987(0x155)]===0x8){if(_0x5c7c1b['length']===0x0)this['_loop']=!0x1,this[_0x5c3987(0x245)](_0x5c3987(0x227),0x3ed,_0x239c16),this[_0x5c3987(0x1ab)]();else{const _0x58cdf6=_0x5c7c1b[_0x5c3987(0x112)](0x0);if(!_0x3fca22(_0x58cdf6)){const _0x567af6=this[_0x5c3987(0x15a)](RangeError,_0x5c3987(0x28f)+_0x58cdf6,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x478ab4(_0x567af6);return;}const _0xaba22e=new _0x5545c1(_0x5c7c1b['buffer'],_0x5c7c1b[_0x5c3987(0x219)]+0x2,_0x5c7c1b['length']-0x2);if(!this['_skipUTF8Validation']&&!_0x1ee6cc(_0xaba22e)){const _0x489351=this[_0x5c3987(0x15a)](Error,_0x5c3987(0x17c),!0x0,0x3ef,_0x5c3987(0x29a));_0x478ab4(_0x489351);return;}this['_loop']=!0x1,this[_0x5c3987(0x245)](_0x5c3987(0x227),_0x58cdf6,_0xaba22e),this[_0x5c3987(0x1ab)]();}this[_0x5c3987(0x22a)]=_0x3d6be8;return;}this[_0x5c3987(0x173)]?(this[_0x5c3987(0x245)](this[_0x5c3987(0x155)]===0x9?'ping':'pong',_0x5c7c1b),this[_0x5c3987(0x22a)]=_0x3d6be8):(this[_0x5c3987(0x22a)]=_0x1e0b14,setImmediate(()=>{const _0x22ed62=_0x5c3987;this[_0x22ed62(0x245)](this[_0x22ed62(0x155)]===0x9?'ping':_0x22ed62(0x257),_0x5c7c1b),this['_state']=_0x3d6be8,this[_0x22ed62(0x13f)](_0x478ab4);}));}[_0xc41693(0x15a)](_0x18eef8,_0x126df0,_0x4d2108,_0x1ab701,_0x263b38){const _0x54dc7d=_0xc41693;this[_0x54dc7d(0x17d)]=!0x1,this['_errored']=!0x0;const _0xdc4afd=new _0x18eef8(_0x4d2108?_0x54dc7d(0x16f)+_0x126df0:_0x126df0);return Error['captureStackTrace'](_0xdc4afd,this[_0x54dc7d(0x15a)]),_0xdc4afd[_0x54dc7d(0x12a)]=_0x263b38,_0xdc4afd[_0xf63b40]=_0x1ab701,_0xdc4afd;}}return Se=_0x5c52a3,Se;}var Ee,Xe;function ft(){const _0x143ba7=_0x1bc787;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x9713d2}=oe,{randomFillSync:_0x147e3b}=Le,_0x2cad03=he(),{EMPTY_BUFFER:_0x4f713d,kWebSocket:_0x1575a5,NOOP:_0x521528}=H(),{isBlob:_0x163f70,isValidStatusCode:_0x39d417}=ae(),{mask:_0x21f02e,toBuffer:_0x1455ee}=ce(),_0x2c384b=Symbol(_0x143ba7(0x137)),_0x5135bd=Buffer['alloc'](0x4),_0x3df8fd=0x8*0x400;let _0x57a2fd,_0x539a39=_0x3df8fd;const _0x142346=0x0,_0x45f654=0x1,_0x4afb4c=0x2;class _0x228e45{constructor(_0x23c159,_0x5ccda3,_0x2b1e52){const _0x1f0b06=_0x143ba7;this[_0x1f0b06(0x1a9)]=_0x5ccda3||{},_0x2b1e52&&(this[_0x1f0b06(0x24e)]=_0x2b1e52,this[_0x1f0b06(0x1e6)]=Buffer[_0x1f0b06(0x13b)](0x4)),this[_0x1f0b06(0x21b)]=_0x23c159,this[_0x1f0b06(0x288)]=!0x0,this[_0x1f0b06(0x21e)]=!0x1,this[_0x1f0b06(0x270)]=0x0,this[_0x1f0b06(0xf9)]=[],this['_state']=_0x142346,this['onerror']=_0x521528,this[_0x1575a5]=void 0x0;}static['frame'](_0x58a3a8,_0x3070ff){const _0x3f2da4=_0x143ba7;let _0x399fe7,_0x54de2d=!0x1,_0x34fdfb=0x2,_0x273ecf=!0x1;_0x3070ff[_0x3f2da4(0x21f)]&&(_0x399fe7=_0x3070ff[_0x3f2da4(0x19f)]||_0x5135bd,_0x3070ff[_0x3f2da4(0x133)]?_0x3070ff[_0x3f2da4(0x133)](_0x399fe7):(_0x539a39===_0x3df8fd&&(_0x57a2fd===void 0x0&&(_0x57a2fd=Buffer[_0x3f2da4(0x13b)](_0x3df8fd)),_0x147e3b(_0x57a2fd,0x0,_0x3df8fd),_0x539a39=0x0),_0x399fe7[0x0]=_0x57a2fd[_0x539a39++],_0x399fe7[0x1]=_0x57a2fd[_0x539a39++],_0x399fe7[0x2]=_0x57a2fd[_0x539a39++],_0x399fe7[0x3]=_0x57a2fd[_0x539a39++]),_0x273ecf=(_0x399fe7[0x0]|_0x399fe7[0x1]|_0x399fe7[0x2]|_0x399fe7[0x3])===0x0,_0x34fdfb=0x6);let _0x5bddc9;typeof _0x58a3a8==_0x3f2da4(0x150)?(!_0x3070ff['mask']||_0x273ecf)&&_0x3070ff[_0x2c384b]!==void 0x0?_0x5bddc9=_0x3070ff[_0x2c384b]:(_0x58a3a8=Buffer[_0x3f2da4(0x1ae)](_0x58a3a8),_0x5bddc9=_0x58a3a8['length']):(_0x5bddc9=_0x58a3a8[_0x3f2da4(0x11b)],_0x54de2d=_0x3070ff[_0x3f2da4(0x21f)]&&_0x3070ff['readOnly']&&!_0x273ecf);let _0x2eb622=_0x5bddc9;_0x5bddc9>=0x10000?(_0x34fdfb+=0x8,_0x2eb622=0x7f):_0x5bddc9>0x7d&&(_0x34fdfb+=0x2,_0x2eb622=0x7e);const _0x54ce3d=Buffer[_0x3f2da4(0x12b)](_0x54de2d?_0x5bddc9+_0x34fdfb:_0x34fdfb);return _0x54ce3d[0x0]=_0x3070ff[_0x3f2da4(0x19e)]?_0x3070ff['opcode']|0x80:_0x3070ff[_0x3f2da4(0x241)],_0x3070ff[_0x3f2da4(0x10d)]&&(_0x54ce3d[0x0]|=0x40),_0x54ce3d[0x1]=_0x2eb622,_0x2eb622===0x7e?_0x54ce3d['writeUInt16BE'](_0x5bddc9,0x2):_0x2eb622===0x7f&&(_0x54ce3d[0x2]=_0x54ce3d[0x3]=0x0,_0x54ce3d[_0x3f2da4(0x243)](_0x5bddc9,0x4,0x6)),_0x3070ff['mask']?(_0x54ce3d[0x1]|=0x80,_0x54ce3d[_0x34fdfb-0x4]=_0x399fe7[0x0],_0x54ce3d[_0x34fdfb-0x3]=_0x399fe7[0x1],_0x54ce3d[_0x34fdfb-0x2]=_0x399fe7[0x2],_0x54ce3d[_0x34fdfb-0x1]=_0x399fe7[0x3],_0x273ecf?[_0x54ce3d,_0x58a3a8]:_0x54de2d?(_0x21f02e(_0x58a3a8,_0x399fe7,_0x54ce3d,_0x34fdfb,_0x5bddc9),[_0x54ce3d]):(_0x21f02e(_0x58a3a8,_0x399fe7,_0x58a3a8,0x0,_0x5bddc9),[_0x54ce3d,_0x58a3a8])):[_0x54ce3d,_0x58a3a8];}['close'](_0x38da77,_0x3fbfe7,_0x4d3f71,_0x5a48a1){const _0x5dff8b=_0x143ba7;let _0x3c0619;if(_0x38da77===void 0x0)_0x3c0619=_0x4f713d;else{if(typeof _0x38da77!=_0x5dff8b(0xf5)||!_0x39d417(_0x38da77))throw new TypeError(_0x5dff8b(0x28e));if(_0x3fbfe7===void 0x0||!_0x3fbfe7[_0x5dff8b(0x11b)])_0x3c0619=Buffer[_0x5dff8b(0x12b)](0x2),_0x3c0619[_0x5dff8b(0x1fe)](_0x38da77,0x0);else{const _0x2ff109=Buffer[_0x5dff8b(0x161)](_0x3fbfe7);if(_0x2ff109>0x7b)throw new RangeError(_0x5dff8b(0x205));_0x3c0619=Buffer[_0x5dff8b(0x12b)](0x2+_0x2ff109),_0x3c0619[_0x5dff8b(0x1fe)](_0x38da77,0x0),typeof _0x3fbfe7=='string'?_0x3c0619[_0x5dff8b(0x1f6)](_0x3fbfe7,0x2):_0x3c0619[_0x5dff8b(0x256)](_0x3fbfe7,0x2);}}const _0x1ebbe7={[_0x2c384b]:_0x3c0619['length'],'fin':!0x0,'generateMask':this[_0x5dff8b(0x24e)],'mask':_0x4d3f71,'maskBuffer':this[_0x5dff8b(0x1e6)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x5dff8b(0x22a)]!==_0x142346?this[_0x5dff8b(0x1f5)]([this[_0x5dff8b(0x230)],_0x3c0619,!0x1,_0x1ebbe7,_0x5a48a1]):this['sendFrame'](_0x228e45['frame'](_0x3c0619,_0x1ebbe7),_0x5a48a1);}[_0x143ba7(0x29b)](_0x42d855,_0x45fd66,_0xb85242){const _0x21ebb8=_0x143ba7;let _0x50f09d,_0x159051;if(typeof _0x42d855==_0x21ebb8(0x150)?(_0x50f09d=Buffer[_0x21ebb8(0x161)](_0x42d855),_0x159051=!0x1):_0x163f70(_0x42d855)?(_0x50f09d=_0x42d855['size'],_0x159051=!0x1):(_0x42d855=_0x1455ee(_0x42d855),_0x50f09d=_0x42d855[_0x21ebb8(0x11b)],_0x159051=_0x1455ee[_0x21ebb8(0x21a)]),_0x50f09d>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x1e222b={[_0x2c384b]:_0x50f09d,'fin':!0x0,'generateMask':this[_0x21ebb8(0x24e)],'mask':_0x45fd66,'maskBuffer':this[_0x21ebb8(0x1e6)],'opcode':0x9,'readOnly':_0x159051,'rsv1':!0x1};_0x163f70(_0x42d855)?this[_0x21ebb8(0x22a)]!==_0x142346?this[_0x21ebb8(0x1f5)]([this[_0x21ebb8(0x286)],_0x42d855,!0x1,_0x1e222b,_0xb85242]):this[_0x21ebb8(0x286)](_0x42d855,!0x1,_0x1e222b,_0xb85242):this['_state']!==_0x142346?this['enqueue']([this['dispatch'],_0x42d855,!0x1,_0x1e222b,_0xb85242]):this['sendFrame'](_0x228e45['frame'](_0x42d855,_0x1e222b),_0xb85242);}[_0x143ba7(0x257)](_0x9dcd5b,_0x51b20a,_0x1f5769){const _0x9d543e=_0x143ba7;let _0x4140ca,_0x47e298;if(typeof _0x9dcd5b==_0x9d543e(0x150)?(_0x4140ca=Buffer[_0x9d543e(0x161)](_0x9dcd5b),_0x47e298=!0x1):_0x163f70(_0x9dcd5b)?(_0x4140ca=_0x9dcd5b[_0x9d543e(0x142)],_0x47e298=!0x1):(_0x9dcd5b=_0x1455ee(_0x9dcd5b),_0x4140ca=_0x9dcd5b[_0x9d543e(0x11b)],_0x47e298=_0x1455ee[_0x9d543e(0x21a)]),_0x4140ca>0x7d)throw new RangeError(_0x9d543e(0x1bd));const _0x249861={[_0x2c384b]:_0x4140ca,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x51b20a,'maskBuffer':this[_0x9d543e(0x1e6)],'opcode':0xa,'readOnly':_0x47e298,'rsv1':!0x1};_0x163f70(_0x9dcd5b)?this[_0x9d543e(0x22a)]!==_0x142346?this[_0x9d543e(0x1f5)]([this[_0x9d543e(0x286)],_0x9dcd5b,!0x1,_0x249861,_0x1f5769]):this[_0x9d543e(0x286)](_0x9dcd5b,!0x1,_0x249861,_0x1f5769):this['_state']!==_0x142346?this[_0x9d543e(0x1f5)]([this['dispatch'],_0x9dcd5b,!0x1,_0x249861,_0x1f5769]):this[_0x9d543e(0x1a4)](_0x228e45['frame'](_0x9dcd5b,_0x249861),_0x1f5769);}[_0x143ba7(0xe7)](_0x2d95ca,_0xee1485,_0x1d4f3c){const _0xf1bebf=_0x143ba7,_0x2f86cd=this[_0xf1bebf(0x1a9)][_0x2cad03[_0xf1bebf(0x263)]];let _0x4193e0=_0xee1485[_0xf1bebf(0x267)]?0x2:0x1,_0x726268=_0xee1485[_0xf1bebf(0x1d9)],_0x477070,_0x519e58;typeof _0x2d95ca=='string'?(_0x477070=Buffer['byteLength'](_0x2d95ca),_0x519e58=!0x1):_0x163f70(_0x2d95ca)?(_0x477070=_0x2d95ca['size'],_0x519e58=!0x1):(_0x2d95ca=_0x1455ee(_0x2d95ca),_0x477070=_0x2d95ca[_0xf1bebf(0x11b)],_0x519e58=_0x1455ee[_0xf1bebf(0x21a)]),this[_0xf1bebf(0x288)]?(this[_0xf1bebf(0x288)]=!0x1,_0x726268&&_0x2f86cd&&_0x2f86cd[_0xf1bebf(0x1d7)][_0x2f86cd[_0xf1bebf(0x1c8)]?'server_no_context_takeover':'client_no_context_takeover']&&(_0x726268=_0x477070>=_0x2f86cd['_threshold']),this[_0xf1bebf(0x21e)]=_0x726268):(_0x726268=!0x1,_0x4193e0=0x0),_0xee1485[_0xf1bebf(0x19e)]&&(this['_firstFragment']=!0x0);const _0x22243d={[_0x2c384b]:_0x477070,'fin':_0xee1485[_0xf1bebf(0x19e)],'generateMask':this[_0xf1bebf(0x24e)],'mask':_0xee1485[_0xf1bebf(0x21f)],'maskBuffer':this[_0xf1bebf(0x1e6)],'opcode':_0x4193e0,'readOnly':_0x519e58,'rsv1':_0x726268};_0x163f70(_0x2d95ca)?this[_0xf1bebf(0x22a)]!==_0x142346?this[_0xf1bebf(0x1f5)]([this[_0xf1bebf(0x286)],_0x2d95ca,this[_0xf1bebf(0x21e)],_0x22243d,_0x1d4f3c]):this[_0xf1bebf(0x286)](_0x2d95ca,this[_0xf1bebf(0x21e)],_0x22243d,_0x1d4f3c):this[_0xf1bebf(0x22a)]!==_0x142346?this[_0xf1bebf(0x1f5)]([this[_0xf1bebf(0x230)],_0x2d95ca,this[_0xf1bebf(0x21e)],_0x22243d,_0x1d4f3c]):this[_0xf1bebf(0x230)](_0x2d95ca,this[_0xf1bebf(0x21e)],_0x22243d,_0x1d4f3c);}['getBlobData'](_0x3b580c,_0x2d9428,_0x4ca09a,_0x430c12){const _0x20bf65=_0x143ba7;this['_bufferedBytes']+=_0x4ca09a[_0x2c384b],this['_state']=_0x4afb4c,_0x3b580c['arrayBuffer']()['then'](_0x18626e=>{const _0xe47309=_0x56b3;if(this[_0xe47309(0x21b)][_0xe47309(0xfd)]){const _0x445e18=new Error(_0xe47309(0x258));process['nextTick'](_0x3dac29,this,_0x445e18,_0x430c12);return;}this[_0xe47309(0x270)]-=_0x4ca09a[_0x2c384b];const _0x179b2a=_0x1455ee(_0x18626e);_0x2d9428?this[_0xe47309(0x230)](_0x179b2a,_0x2d9428,_0x4ca09a,_0x430c12):(this['_state']=_0x142346,this[_0xe47309(0x1a4)](_0x228e45['frame'](_0x179b2a,_0x4ca09a),_0x430c12),this['dequeue']());})[_0x20bf65(0x222)](_0x76f589=>{const _0x3119ca=_0x20bf65;process[_0x3119ca(0xf4)](_0x36b43b,this,_0x76f589,_0x430c12);});}[_0x143ba7(0x230)](_0x3a97ba,_0x185585,_0x469a0d,_0x3513a3){const _0x5bae6e=_0x143ba7;if(!_0x185585){this[_0x5bae6e(0x1a4)](_0x228e45[_0x5bae6e(0x291)](_0x3a97ba,_0x469a0d),_0x3513a3);return;}const _0x2c73d7=this[_0x5bae6e(0x1a9)][_0x2cad03[_0x5bae6e(0x263)]];this['_bufferedBytes']+=_0x469a0d[_0x2c384b],this[_0x5bae6e(0x22a)]=_0x45f654,_0x2c73d7[_0x5bae6e(0x1d9)](_0x3a97ba,_0x469a0d[_0x5bae6e(0x19e)],(_0x304a93,_0x418c32)=>{const _0x5165b0=_0x5bae6e;if(this[_0x5165b0(0x21b)]['destroyed']){const _0x4c0f38=new Error(_0x5165b0(0x14f));_0x3dac29(this,_0x4c0f38,_0x3513a3);return;}this['_bufferedBytes']-=_0x469a0d[_0x2c384b],this['_state']=_0x142346,_0x469a0d[_0x5165b0(0x21a)]=!0x1,this[_0x5165b0(0x1a4)](_0x228e45[_0x5165b0(0x291)](_0x418c32,_0x469a0d),_0x3513a3),this[_0x5165b0(0x18a)]();});}[_0x143ba7(0x18a)](){const _0x2672b1=_0x143ba7;for(;this['_state']===_0x142346&&this['_queue'][_0x2672b1(0x11b)];){const _0x5a2c9e=this['_queue'][_0x2672b1(0x247)]();this[_0x2672b1(0x270)]-=_0x5a2c9e[0x3][_0x2c384b],Reflect[_0x2672b1(0xd5)](_0x5a2c9e[0x0],this,_0x5a2c9e[_0x2672b1(0x143)](0x1));}}[_0x143ba7(0x1f5)](_0x3d9cf4){const _0x3478b8=_0x143ba7;this[_0x3478b8(0x270)]+=_0x3d9cf4[0x3][_0x2c384b],this[_0x3478b8(0xf9)][_0x3478b8(0x26c)](_0x3d9cf4);}[_0x143ba7(0x1a4)](_0x7f3721,_0xfca90){const _0x392b7d=_0x143ba7;_0x7f3721['length']===0x2?(this[_0x392b7d(0x21b)][_0x392b7d(0x102)](),this['_socket'][_0x392b7d(0x1f6)](_0x7f3721[0x0]),this[_0x392b7d(0x21b)]['write'](_0x7f3721[0x1],_0xfca90),this['_socket'][_0x392b7d(0x196)]()):this[_0x392b7d(0x21b)][_0x392b7d(0x1f6)](_0x7f3721[0x0],_0xfca90);}}Ee=_0x228e45;function _0x3dac29(_0x283f17,_0x56d4d9,_0x6070e2){const _0x314e28=_0x143ba7;typeof _0x6070e2==_0x314e28(0x1b2)&&_0x6070e2(_0x56d4d9);for(let _0x4afb2a=0x0;_0x4afb2a<_0x283f17['_queue'][_0x314e28(0x11b)];_0x4afb2a++){const _0x317a4c=_0x283f17['_queue'][_0x4afb2a],_0x4baeca=_0x317a4c[_0x317a4c['length']-0x1];typeof _0x4baeca==_0x314e28(0x1b2)&&_0x4baeca(_0x56d4d9);}}function _0x36b43b(_0xc2e1cd,_0x1e268f,_0x4d5446){_0x3dac29(_0xc2e1cd,_0x1e268f,_0x4d5446),_0xc2e1cd['onerror'](_0x1e268f);}return Ee;}var xe,Ze;function It(){const _0x59681b=_0x1bc787;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x45db84,kListener:_0x1e9da6}=H(),_0x935d6d=Symbol(_0x59681b(0x254)),_0x29ac84=Symbol('kData'),_0x2c6cbf=Symbol('kError'),_0xe24d87=Symbol(_0x59681b(0x100)),_0x19af4b=Symbol(_0x59681b(0x1fb)),_0x1ee839=Symbol(_0x59681b(0x207)),_0x2c3f59=Symbol(_0x59681b(0x244)),_0x3345c3=Symbol(_0x59681b(0x175));class _0x5324a8{constructor(_0x329d25){this[_0x1ee839]=null,this[_0x2c3f59]=_0x329d25;}get[_0x59681b(0x1b6)](){return this[_0x1ee839];}get[_0x59681b(0x178)](){return this[_0x2c3f59];}}Object[_0x59681b(0x188)](_0x5324a8['prototype'],'target',{'enumerable':!0x0}),Object[_0x59681b(0x188)](_0x5324a8[_0x59681b(0xcc)],_0x59681b(0x178),{'enumerable':!0x0});class _0x15377c extends _0x5324a8{constructor(_0x2eb5a0,_0x49fb4b={}){const _0x3cb054=_0x59681b;super(_0x2eb5a0),this[_0x935d6d]=_0x49fb4b[_0x3cb054(0x12a)]===void 0x0?0x0:_0x49fb4b[_0x3cb054(0x12a)],this[_0x19af4b]=_0x49fb4b[_0x3cb054(0x20e)]===void 0x0?'':_0x49fb4b['reason'],this[_0x3345c3]=_0x49fb4b['wasClean']===void 0x0?!0x1:_0x49fb4b[_0x3cb054(0x1dc)];}get[_0x59681b(0x12a)](){return this[_0x935d6d];}get[_0x59681b(0x20e)](){return this[_0x19af4b];}get[_0x59681b(0x1dc)](){return this[_0x3345c3];}}Object[_0x59681b(0x188)](_0x15377c['prototype'],_0x59681b(0x12a),{'enumerable':!0x0}),Object[_0x59681b(0x188)](_0x15377c[_0x59681b(0xcc)],_0x59681b(0x20e),{'enumerable':!0x0}),Object['defineProperty'](_0x15377c[_0x59681b(0xcc)],_0x59681b(0x1dc),{'enumerable':!0x0});class _0x1e9706 extends _0x5324a8{constructor(_0xec99cf,_0x15f1b8={}){const _0xdff55b=_0x59681b;super(_0xec99cf),this[_0x2c6cbf]=_0x15f1b8[_0xdff55b(0x1b9)]===void 0x0?null:_0x15f1b8[_0xdff55b(0x1b9)],this[_0xe24d87]=_0x15f1b8[_0xdff55b(0x224)]===void 0x0?'':_0x15f1b8[_0xdff55b(0x224)];}get[_0x59681b(0x1b9)](){return this[_0x2c6cbf];}get[_0x59681b(0x224)](){return this[_0xe24d87];}}Object['defineProperty'](_0x1e9706[_0x59681b(0xcc)],_0x59681b(0x1b9),{'enumerable':!0x0}),Object['defineProperty'](_0x1e9706[_0x59681b(0xcc)],_0x59681b(0x224),{'enumerable':!0x0});class _0x1c2b34 extends _0x5324a8{constructor(_0x4f8483,_0x44f261={}){const _0x138ded=_0x59681b;super(_0x4f8483),this[_0x29ac84]=_0x44f261[_0x138ded(0x24d)]===void 0x0?null:_0x44f261[_0x138ded(0x24d)];}get[_0x59681b(0x24d)](){return this[_0x29ac84];}}Object['defineProperty'](_0x1c2b34['prototype'],_0x59681b(0x24d),{'enumerable':!0x0}),xe={'CloseEvent':_0x15377c,'ErrorEvent':_0x1e9706,'Event':_0x5324a8,'EventTarget':{'addEventListener'(_0x2d02b6,_0x3a33a9,_0x3a7684={}){const _0x11eb64=_0x59681b;for(const _0x4667d3 of this[_0x11eb64(0x13d)](_0x2d02b6))if(!_0x3a7684[_0x45db84]&&_0x4667d3[_0x1e9da6]===_0x3a33a9&&!_0x4667d3[_0x45db84])return;let _0x5632e8;if(_0x2d02b6==='message')_0x5632e8=function(_0x3434ae,_0x5ee5df){const _0x3fc449=_0x11eb64,_0x33d4d6=new _0x1c2b34(_0x3fc449(0x224),{'data':_0x5ee5df?_0x3434ae:_0x3434ae[_0x3fc449(0x17b)]()});_0x33d4d6[_0x1ee839]=this,_0x464a9c(_0x3a33a9,this,_0x33d4d6);};else{if(_0x2d02b6==='close')_0x5632e8=function(_0xf23057,_0x2d5493){const _0x446ee7=_0x11eb64,_0x5595c0=new _0x15377c(_0x446ee7(0x211),{'code':_0xf23057,'reason':_0x2d5493['toString'](),'wasClean':this[_0x446ee7(0x1f8)]&&this[_0x446ee7(0x259)]});_0x5595c0[_0x1ee839]=this,_0x464a9c(_0x3a33a9,this,_0x5595c0);};else{if(_0x2d02b6==='error')_0x5632e8=function(_0x5dcbad){const _0x2d714e=new _0x1e9706('error',{'error':_0x5dcbad,'message':_0x5dcbad['message']});_0x2d714e[_0x1ee839]=this,_0x464a9c(_0x3a33a9,this,_0x2d714e);};else{if(_0x2d02b6===_0x11eb64(0x105))_0x5632e8=function(){const _0x3e1cf2=_0x11eb64,_0x93063d=new _0x5324a8(_0x3e1cf2(0x105));_0x93063d[_0x1ee839]=this,_0x464a9c(_0x3a33a9,this,_0x93063d);};else return;}}}_0x5632e8[_0x45db84]=!!_0x3a7684[_0x45db84],_0x5632e8[_0x1e9da6]=_0x3a33a9,_0x3a7684[_0x11eb64(0x127)]?this[_0x11eb64(0x127)](_0x2d02b6,_0x5632e8):this['on'](_0x2d02b6,_0x5632e8);},'removeEventListener'(_0x26ffa0,_0x20b57e){const _0x461475=_0x59681b;for(const _0x487113 of this['listeners'](_0x26ffa0))if(_0x487113[_0x1e9da6]===_0x20b57e&&!_0x487113[_0x45db84]){this[_0x461475(0x1ee)](_0x26ffa0,_0x487113);break;}}},'MessageEvent':_0x1c2b34};function _0x464a9c(_0x26482b,_0x1155a3,_0x339330){const _0x264b76=_0x59681b;typeof _0x26482b==_0x264b76(0x21c)&&_0x26482b[_0x264b76(0x295)]?_0x26482b[_0x264b76(0x295)][_0x264b76(0x27b)](_0x26482b,_0x339330):_0x26482b[_0x264b76(0x27b)](_0x1155a3,_0x339330);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x5e87ba}=ae();function _0x52eb58(_0x1a60b2,_0x4115fa,_0x1f840e){const _0x40bb94=_0x56b3;_0x1a60b2[_0x4115fa]===void 0x0?_0x1a60b2[_0x4115fa]=[_0x1f840e]:_0x1a60b2[_0x4115fa][_0x40bb94(0x26c)](_0x1f840e);}function _0x2266fb(_0x5bd36b){const _0x16e6c6=_0x56b3,_0x4aca2c=Object['create'](null);let _0x5ec083=Object[_0x16e6c6(0x210)](null),_0x19ebbe=!0x1,_0x3d02ba=!0x1,_0x3582b2=!0x1,_0x277bab,_0x1831b7,_0x215c2d=-0x1,_0x595541=-0x1,_0x35e280=-0x1,_0x362569=0x0;for(;_0x362569<_0x5bd36b[_0x16e6c6(0x11b)];_0x362569++)if(_0x595541=_0x5bd36b[_0x16e6c6(0xe0)](_0x362569),_0x277bab===void 0x0){if(_0x35e280===-0x1&&_0x5e87ba[_0x595541]===0x1)_0x215c2d===-0x1&&(_0x215c2d=_0x362569);else{if(_0x362569!==0x0&&(_0x595541===0x20||_0x595541===0x9))_0x35e280===-0x1&&_0x215c2d!==-0x1&&(_0x35e280=_0x362569);else{if(_0x595541===0x3b||_0x595541===0x2c){if(_0x215c2d===-0x1)throw new SyntaxError(_0x16e6c6(0xdd)+_0x362569);_0x35e280===-0x1&&(_0x35e280=_0x362569);const _0x5c6e5b=_0x5bd36b['slice'](_0x215c2d,_0x35e280);_0x595541===0x2c?(_0x52eb58(_0x4aca2c,_0x5c6e5b,_0x5ec083),_0x5ec083=Object[_0x16e6c6(0x210)](null)):_0x277bab=_0x5c6e5b,_0x215c2d=_0x35e280=-0x1;}else throw new SyntaxError(_0x16e6c6(0xdd)+_0x362569);}}}else{if(_0x1831b7===void 0x0){if(_0x35e280===-0x1&&_0x5e87ba[_0x595541]===0x1)_0x215c2d===-0x1&&(_0x215c2d=_0x362569);else{if(_0x595541===0x20||_0x595541===0x9)_0x35e280===-0x1&&_0x215c2d!==-0x1&&(_0x35e280=_0x362569);else{if(_0x595541===0x3b||_0x595541===0x2c){if(_0x215c2d===-0x1)throw new SyntaxError(_0x16e6c6(0xdd)+_0x362569);_0x35e280===-0x1&&(_0x35e280=_0x362569),_0x52eb58(_0x5ec083,_0x5bd36b[_0x16e6c6(0x143)](_0x215c2d,_0x35e280),!0x0),_0x595541===0x2c&&(_0x52eb58(_0x4aca2c,_0x277bab,_0x5ec083),_0x5ec083=Object[_0x16e6c6(0x210)](null),_0x277bab=void 0x0),_0x215c2d=_0x35e280=-0x1;}else{if(_0x595541===0x3d&&_0x215c2d!==-0x1&&_0x35e280===-0x1)_0x1831b7=_0x5bd36b[_0x16e6c6(0x143)](_0x215c2d,_0x362569),_0x215c2d=_0x35e280=-0x1;else throw new SyntaxError(_0x16e6c6(0xdd)+_0x362569);}}}}else{if(_0x3d02ba){if(_0x5e87ba[_0x595541]!==0x1)throw new SyntaxError(_0x16e6c6(0xdd)+_0x362569);_0x215c2d===-0x1?_0x215c2d=_0x362569:_0x19ebbe||(_0x19ebbe=!0x0),_0x3d02ba=!0x1;}else{if(_0x3582b2){if(_0x5e87ba[_0x595541]===0x1)_0x215c2d===-0x1&&(_0x215c2d=_0x362569);else{if(_0x595541===0x22&&_0x215c2d!==-0x1)_0x3582b2=!0x1,_0x35e280=_0x362569;else{if(_0x595541===0x5c)_0x3d02ba=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x362569);}}}else{if(_0x595541===0x22&&_0x5bd36b['charCodeAt'](_0x362569-0x1)===0x3d)_0x3582b2=!0x0;else{if(_0x35e280===-0x1&&_0x5e87ba[_0x595541]===0x1)_0x215c2d===-0x1&&(_0x215c2d=_0x362569);else{if(_0x215c2d!==-0x1&&(_0x595541===0x20||_0x595541===0x9))_0x35e280===-0x1&&(_0x35e280=_0x362569);else{if(_0x595541===0x3b||_0x595541===0x2c){if(_0x215c2d===-0x1)throw new SyntaxError(_0x16e6c6(0xdd)+_0x362569);_0x35e280===-0x1&&(_0x35e280=_0x362569);let _0x51de5d=_0x5bd36b[_0x16e6c6(0x143)](_0x215c2d,_0x35e280);_0x19ebbe&&(_0x51de5d=_0x51de5d[_0x16e6c6(0x249)](/\\/g,''),_0x19ebbe=!0x1),_0x52eb58(_0x5ec083,_0x1831b7,_0x51de5d),_0x595541===0x2c&&(_0x52eb58(_0x4aca2c,_0x277bab,_0x5ec083),_0x5ec083=Object[_0x16e6c6(0x210)](null),_0x277bab=void 0x0),_0x1831b7=void 0x0,_0x215c2d=_0x35e280=-0x1;}else throw new SyntaxError(_0x16e6c6(0xdd)+_0x362569);}}}}}}}if(_0x215c2d===-0x1||_0x3582b2||_0x595541===0x20||_0x595541===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x35e280===-0x1&&(_0x35e280=_0x362569);const _0xac9fa4=_0x5bd36b[_0x16e6c6(0x143)](_0x215c2d,_0x35e280);return _0x277bab===void 0x0?_0x52eb58(_0x4aca2c,_0xac9fa4,_0x5ec083):(_0x1831b7===void 0x0?_0x52eb58(_0x5ec083,_0xac9fa4,!0x0):_0x19ebbe?_0x52eb58(_0x5ec083,_0x1831b7,_0xac9fa4['replace'](/\\/g,'')):_0x52eb58(_0x5ec083,_0x1831b7,_0xac9fa4),_0x52eb58(_0x4aca2c,_0x277bab,_0x5ec083)),_0x4aca2c;}function _0x3f9905(_0x84e62e){const _0x9d92d7=_0x56b3;return Object[_0x9d92d7(0x192)](_0x84e62e)['map'](_0x1533a5=>{const _0x113769=_0x9d92d7;let _0x4474bf=_0x84e62e[_0x1533a5];return Array[_0x113769(0x151)](_0x4474bf)||(_0x4474bf=[_0x4474bf]),_0x4474bf[_0x113769(0x126)](_0x97c10d=>[_0x1533a5][_0x113769(0x238)](Object[_0x113769(0x192)](_0x97c10d)['map'](_0x13768f=>{const _0x572b09=_0x113769;let _0x4fdfaa=_0x97c10d[_0x13768f];return Array[_0x572b09(0x151)](_0x4fdfaa)||(_0x4fdfaa=[_0x4fdfaa]),_0x4fdfaa[_0x572b09(0x126)](_0x3bc6f0=>_0x3bc6f0===!0x0?_0x13768f:_0x13768f+'='+_0x3bc6f0)[_0x572b09(0x279)](';\x20');}))[_0x113769(0x279)](';\x20'))['join'](',\x20');})['join'](',\x20');}return be={'format':_0x3f9905,'parse':_0x2266fb},be;}var we,Je;function Pe(){const _0x1339d8=_0x1bc787;if(Je)return we;Je=0x1;const _0x58cc78=nt,_0x2b2332=vt,_0x1cec79=ot,_0x3e78df=St,_0x8a7f1d=Et,{randomBytes:_0x3548fa,createHash:_0xdcde88}=Le,{Duplex:_0x1745b1,Readable:_0x3c1d8c}=oe,{URL:_0x5a1621}=xt,_0x3354e0=he(),_0x19a9f8=lt(),_0x4d5a94=ft(),{isBlob:_0x555b14}=ae(),{BINARY_TYPES:_0x485019,EMPTY_BUFFER:_0x1f6eda,GUID:_0x205e07,kForOnEventAttribute:_0xa67ed2,kListener:_0x21a5dc,kStatusCode:_0xe96aba,kWebSocket:_0x157199,NOOP:_0x526345}=H(),{EventTarget:{addEventListener:_0x1fb2f8,removeEventListener:_0x39a275}}=It(),{format:_0x128d70,parse:_0x2f2ce7}=ct(),{toBuffer:_0xbcfb5d}=ce(),_0x1c8783=0x1e*0x3e8,_0x448d1c=Symbol(_0x1339d8(0x20c)),_0x1b9ed4=[0x8,0xd],_0xfc7f16=[_0x1339d8(0xea),_0x1339d8(0x208),_0x1339d8(0x1cd),_0x1339d8(0xe1)],_0xc791b9=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x81caa9 extends _0x58cc78{constructor(_0x3df5c1,_0x4d2fa4,_0xd933be){const _0x1c62ff=_0x1339d8;super(),this[_0x1c62ff(0xeb)]=_0x485019[0x0],this[_0x1c62ff(0x183)]=0x3ee,this[_0x1c62ff(0x1f8)]=!0x1,this[_0x1c62ff(0x259)]=!0x1,this[_0x1c62ff(0x180)]=_0x1f6eda,this[_0x1c62ff(0x223)]=null,this[_0x1c62ff(0xd9)]=!0x1,this['_extensions']={},this[_0x1c62ff(0x138)]=!0x1,this['_protocol']='',this[_0x1c62ff(0x1ea)]=_0x81caa9[_0x1c62ff(0xea)],this['_receiver']=null,this[_0x1c62ff(0x1d5)]=null,this['_socket']=null,_0x3df5c1!==null?(this[_0x1c62ff(0x27f)]=0x0,this[_0x1c62ff(0x1c8)]=!0x1,this[_0x1c62ff(0x237)]=0x0,_0x4d2fa4===void 0x0?_0x4d2fa4=[]:Array[_0x1c62ff(0x151)](_0x4d2fa4)||(typeof _0x4d2fa4==_0x1c62ff(0x21c)&&_0x4d2fa4!==null?(_0xd933be=_0x4d2fa4,_0x4d2fa4=[]):_0x4d2fa4=[_0x4d2fa4]),_0x3c0916(this,_0x3df5c1,_0x4d2fa4,_0xd933be)):(this[_0x1c62ff(0x277)]=_0xd933be[_0x1c62ff(0x15f)],this['_isServer']=!0x0);}get[_0x1339d8(0xdb)](){const _0x1301c2=_0x1339d8;return this[_0x1301c2(0xeb)];}set['binaryType'](_0xc96035){const _0x2ecb36=_0x1339d8;_0x485019[_0x2ecb36(0x1a1)](_0xc96035)&&(this[_0x2ecb36(0xeb)]=_0xc96035,this[_0x2ecb36(0x16c)]&&(this[_0x2ecb36(0x16c)][_0x2ecb36(0xeb)]=_0xc96035));}get['bufferedAmount'](){const _0x46f444=_0x1339d8;return this[_0x46f444(0x21b)]?this[_0x46f444(0x21b)][_0x46f444(0x14e)][_0x46f444(0x11b)]+this['_sender'][_0x46f444(0x270)]:this[_0x46f444(0x27f)];}get['extensions'](){const _0x54d8d8=_0x1339d8;return Object[_0x54d8d8(0x192)](this['_extensions'])[_0x54d8d8(0x279)]();}get[_0x1339d8(0xed)](){return this['_paused'];}get['onclose'](){return null;}get[_0x1339d8(0xd0)](){return null;}get[_0x1339d8(0x1bb)](){return null;}get[_0x1339d8(0x268)](){return null;}get[_0x1339d8(0x20f)](){const _0x46f2e6=_0x1339d8;return this[_0x46f2e6(0x172)];}get[_0x1339d8(0x289)](){const _0xe4cf70=_0x1339d8;return this[_0xe4cf70(0x1ea)];}get['url'](){const _0x5d0ccd=_0x1339d8;return this[_0x5d0ccd(0x218)];}[_0x1339d8(0x1a7)](_0x43cad4,_0x384e2d,_0x1514ad){const _0x564067=_0x1339d8,_0x5c06ab=new _0x19a9f8({'allowSynchronousEvents':_0x1514ad[_0x564067(0x252)],'binaryType':this[_0x564067(0xdb)],'extensions':this[_0x564067(0x1a9)],'isServer':this[_0x564067(0x1c8)],'maxPayload':_0x1514ad[_0x564067(0x262)],'skipUTF8Validation':_0x1514ad[_0x564067(0x10f)]}),_0x4930f3=new _0x4d5a94(_0x43cad4,this[_0x564067(0x1a9)],_0x1514ad[_0x564067(0x133)]);this['_receiver']=_0x5c06ab,this[_0x564067(0x1d5)]=_0x4930f3,this['_socket']=_0x43cad4,_0x5c06ab[_0x157199]=this,_0x4930f3[_0x157199]=this,_0x43cad4[_0x157199]=this,_0x5c06ab['on'](_0x564067(0x227),_0xfe8076),_0x5c06ab['on']('drain',_0x21dc23),_0x5c06ab['on']('error',_0x395f7d),_0x5c06ab['on'](_0x564067(0x224),_0x46e9ef),_0x5c06ab['on'](_0x564067(0x29b),_0x208268),_0x5c06ab['on'](_0x564067(0x257),_0x94d8bf),_0x4930f3[_0x564067(0xd0)]=_0x5b7257,_0x43cad4['setTimeout']&&_0x43cad4[_0x564067(0xd6)](0x0),_0x43cad4[_0x564067(0x15d)]&&_0x43cad4[_0x564067(0x15d)](),_0x384e2d[_0x564067(0x11b)]>0x0&&_0x43cad4[_0x564067(0x213)](_0x384e2d),_0x43cad4['on']('close',_0x42ccc2),_0x43cad4['on'](_0x564067(0x24d),_0x1182d1),_0x43cad4['on'](_0x564067(0x1ab),_0x37f9a7),_0x43cad4['on'](_0x564067(0x1b9),_0x24c9bd),this['_readyState']=_0x81caa9['OPEN'],this['emit'](_0x564067(0x105));}[_0x1339d8(0x19a)](){const _0x1e9091=_0x1339d8;if(!this['_socket']){this[_0x1e9091(0x1ea)]=_0x81caa9['CLOSED'],this[_0x1e9091(0x245)](_0x1e9091(0x211),this['_closeCode'],this[_0x1e9091(0x180)]);return;}this[_0x1e9091(0x1a9)][_0x3354e0[_0x1e9091(0x263)]]&&this[_0x1e9091(0x1a9)][_0x3354e0[_0x1e9091(0x263)]]['cleanup'](),this[_0x1e9091(0x16c)][_0x1e9091(0x14d)](),this[_0x1e9091(0x1ea)]=_0x81caa9[_0x1e9091(0xe1)],this[_0x1e9091(0x245)](_0x1e9091(0x211),this[_0x1e9091(0x183)],this[_0x1e9091(0x180)]);}[_0x1339d8(0x211)](_0x23a8fb,_0x491f7c){const _0x1c45b0=_0x1339d8;if(this[_0x1c45b0(0x289)]!==_0x81caa9['CLOSED']){if(this[_0x1c45b0(0x289)]===_0x81caa9[_0x1c45b0(0xea)]){_0x183d21(this,this[_0x1c45b0(0x1b5)],_0x1c45b0(0x1a3));return;}if(this[_0x1c45b0(0x289)]===_0x81caa9['CLOSING']){this[_0x1c45b0(0x259)]&&(this[_0x1c45b0(0x1f8)]||this[_0x1c45b0(0x16c)][_0x1c45b0(0x14e)][_0x1c45b0(0x185)])&&this[_0x1c45b0(0x21b)][_0x1c45b0(0x1ab)]();return;}this[_0x1c45b0(0x1ea)]=_0x81caa9['CLOSING'],this[_0x1c45b0(0x1d5)]['close'](_0x23a8fb,_0x491f7c,!this['_isServer'],_0x21c14d=>{const _0x4d53f8=_0x1c45b0;_0x21c14d||(this[_0x4d53f8(0x259)]=!0x0,(this['_closeFrameReceived']||this[_0x4d53f8(0x16c)][_0x4d53f8(0x14e)][_0x4d53f8(0x185)])&&this[_0x4d53f8(0x21b)][_0x4d53f8(0x1ab)]());}),_0x3ce662(this);}}['pause'](){const _0x2b7cc3=_0x1339d8;this[_0x2b7cc3(0x289)]===_0x81caa9[_0x2b7cc3(0xea)]||this['readyState']===_0x81caa9[_0x2b7cc3(0xe1)]||(this[_0x2b7cc3(0x138)]=!0x0,this['_socket']['pause']());}['ping'](_0x52d2d5,_0x33074e,_0x4b2d8c){const _0x10a495=_0x1339d8;if(this[_0x10a495(0x289)]===_0x81caa9[_0x10a495(0xea)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x52d2d5==_0x10a495(0x1b2)?(_0x4b2d8c=_0x52d2d5,_0x52d2d5=_0x33074e=void 0x0):typeof _0x33074e==_0x10a495(0x1b2)&&(_0x4b2d8c=_0x33074e,_0x33074e=void 0x0),typeof _0x52d2d5==_0x10a495(0xf5)&&(_0x52d2d5=_0x52d2d5[_0x10a495(0x17b)]()),this['readyState']!==_0x81caa9['OPEN']){_0x52673a(this,_0x52d2d5,_0x4b2d8c);return;}_0x33074e===void 0x0&&(_0x33074e=!this[_0x10a495(0x1c8)]),this[_0x10a495(0x1d5)]['ping'](_0x52d2d5||_0x1f6eda,_0x33074e,_0x4b2d8c);}[_0x1339d8(0x257)](_0x317f4b,_0x3aab73,_0x2a882b){const _0x2c6930=_0x1339d8;if(this[_0x2c6930(0x289)]===_0x81caa9[_0x2c6930(0xea)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x317f4b=='function'?(_0x2a882b=_0x317f4b,_0x317f4b=_0x3aab73=void 0x0):typeof _0x3aab73==_0x2c6930(0x1b2)&&(_0x2a882b=_0x3aab73,_0x3aab73=void 0x0),typeof _0x317f4b==_0x2c6930(0xf5)&&(_0x317f4b=_0x317f4b[_0x2c6930(0x17b)]()),this[_0x2c6930(0x289)]!==_0x81caa9['OPEN']){_0x52673a(this,_0x317f4b,_0x2a882b);return;}_0x3aab73===void 0x0&&(_0x3aab73=!this[_0x2c6930(0x1c8)]),this[_0x2c6930(0x1d5)][_0x2c6930(0x257)](_0x317f4b||_0x1f6eda,_0x3aab73,_0x2a882b);}[_0x1339d8(0x1be)](){const _0x3bc4c5=_0x1339d8;this[_0x3bc4c5(0x289)]===_0x81caa9['CONNECTING']||this[_0x3bc4c5(0x289)]===_0x81caa9['CLOSED']||(this[_0x3bc4c5(0x138)]=!0x1,this[_0x3bc4c5(0x16c)]['_writableState']['needDrain']||this[_0x3bc4c5(0x21b)][_0x3bc4c5(0x1be)]());}[_0x1339d8(0xe7)](_0x2a175f,_0x21e7ea,_0x366112){const _0x68956f=_0x1339d8;if(this[_0x68956f(0x289)]===_0x81caa9[_0x68956f(0xea)])throw new Error(_0x68956f(0x1b8));if(typeof _0x21e7ea==_0x68956f(0x1b2)&&(_0x366112=_0x21e7ea,_0x21e7ea={}),typeof _0x2a175f=='number'&&(_0x2a175f=_0x2a175f[_0x68956f(0x17b)]()),this[_0x68956f(0x289)]!==_0x81caa9[_0x68956f(0x208)]){_0x52673a(this,_0x2a175f,_0x366112);return;}const _0x2cd4a0={'binary':typeof _0x2a175f!=_0x68956f(0x150),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x21e7ea};this['_extensions'][_0x3354e0[_0x68956f(0x263)]]||(_0x2cd4a0['compress']=!0x1),this[_0x68956f(0x1d5)][_0x68956f(0xe7)](_0x2a175f||_0x1f6eda,_0x2cd4a0,_0x366112);}[_0x1339d8(0x26f)](){const _0x492949=_0x1339d8;if(this[_0x492949(0x289)]!==_0x81caa9[_0x492949(0xe1)]){if(this[_0x492949(0x289)]===_0x81caa9[_0x492949(0xea)]){_0x183d21(this,this[_0x492949(0x1b5)],_0x492949(0x1a3));return;}this[_0x492949(0x21b)]&&(this[_0x492949(0x1ea)]=_0x81caa9[_0x492949(0x1cd)],this[_0x492949(0x21b)]['destroy']());}}}Object[_0x1339d8(0x188)](_0x81caa9,_0x1339d8(0xea),{'enumerable':!0x0,'value':_0xfc7f16[_0x1339d8(0x1dd)](_0x1339d8(0xea))}),Object[_0x1339d8(0x188)](_0x81caa9[_0x1339d8(0xcc)],_0x1339d8(0xea),{'enumerable':!0x0,'value':_0xfc7f16['indexOf'](_0x1339d8(0xea))}),Object[_0x1339d8(0x188)](_0x81caa9,_0x1339d8(0x208),{'enumerable':!0x0,'value':_0xfc7f16[_0x1339d8(0x1dd)](_0x1339d8(0x208))}),Object[_0x1339d8(0x188)](_0x81caa9[_0x1339d8(0xcc)],_0x1339d8(0x208),{'enumerable':!0x0,'value':_0xfc7f16[_0x1339d8(0x1dd)](_0x1339d8(0x208))}),Object[_0x1339d8(0x188)](_0x81caa9,_0x1339d8(0x1cd),{'enumerable':!0x0,'value':_0xfc7f16[_0x1339d8(0x1dd)](_0x1339d8(0x1cd))}),Object[_0x1339d8(0x188)](_0x81caa9[_0x1339d8(0xcc)],'CLOSING',{'enumerable':!0x0,'value':_0xfc7f16[_0x1339d8(0x1dd)](_0x1339d8(0x1cd))}),Object[_0x1339d8(0x188)](_0x81caa9,_0x1339d8(0xe1),{'enumerable':!0x0,'value':_0xfc7f16[_0x1339d8(0x1dd)]('CLOSED')}),Object['defineProperty'](_0x81caa9['prototype'],'CLOSED',{'enumerable':!0x0,'value':_0xfc7f16[_0x1339d8(0x1dd)](_0x1339d8(0xe1))}),[_0x1339d8(0xdb),'bufferedAmount','extensions',_0x1339d8(0xed),_0x1339d8(0x20f),_0x1339d8(0x289),_0x1339d8(0x18f)][_0x1339d8(0x135)](_0x131af6=>{const _0x283e99=_0x1339d8;Object[_0x283e99(0x188)](_0x81caa9['prototype'],_0x131af6,{'enumerable':!0x0});}),[_0x1339d8(0x105),_0x1339d8(0x1b9),'close','message'][_0x1339d8(0x135)](_0x274a8b=>{const _0x81aa4b=_0x1339d8;Object[_0x81aa4b(0x188)](_0x81caa9[_0x81aa4b(0xcc)],'on'+_0x274a8b,{'enumerable':!0x0,'get'(){const _0x37defe=_0x81aa4b;for(const _0x1e1f44 of this[_0x37defe(0x13d)](_0x274a8b))if(_0x1e1f44[_0xa67ed2])return _0x1e1f44[_0x21a5dc];return null;},'set'(_0x1e6e14){const _0x82409f=_0x81aa4b;for(const _0x506b4c of this[_0x82409f(0x13d)](_0x274a8b))if(_0x506b4c[_0xa67ed2]){this[_0x82409f(0x1ee)](_0x274a8b,_0x506b4c);break;}typeof _0x1e6e14==_0x82409f(0x1b2)&&this[_0x82409f(0x115)](_0x274a8b,_0x1e6e14,{[_0xa67ed2]:!0x0});}});}),_0x81caa9[_0x1339d8(0xcc)][_0x1339d8(0x115)]=_0x1fb2f8,_0x81caa9[_0x1339d8(0xcc)][_0x1339d8(0x1b1)]=_0x39a275,we=_0x81caa9;function _0x3c0916(_0x44204c,_0x27ed71,_0x1e161f,_0x335f86){const _0x47ca12=_0x1339d8,_0x4c7243={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1b9ed4[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x335f86,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x47ca12(0x26a),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x44204c[_0x47ca12(0x277)]=_0x4c7243[_0x47ca12(0x15f)],!_0x1b9ed4['includes'](_0x4c7243[_0x47ca12(0x131)]))throw new RangeError(_0x47ca12(0x22e)+_0x4c7243[_0x47ca12(0x131)]+'\x20(supported\x20versions:\x20'+_0x1b9ed4[_0x47ca12(0x279)](',\x20')+')');let _0x2afd8c;if(_0x27ed71 instanceof _0x5a1621)_0x2afd8c=_0x27ed71;else try{_0x2afd8c=new _0x5a1621(_0x27ed71);}catch{throw new SyntaxError(_0x47ca12(0x17a)+_0x27ed71);}_0x2afd8c[_0x47ca12(0x20f)]===_0x47ca12(0x114)?_0x2afd8c[_0x47ca12(0x20f)]=_0x47ca12(0xf2):_0x2afd8c['protocol']===_0x47ca12(0xfb)&&(_0x2afd8c[_0x47ca12(0x20f)]=_0x47ca12(0x281)),_0x44204c['_url']=_0x2afd8c['href'];const _0x4e619b=_0x2afd8c[_0x47ca12(0x20f)]===_0x47ca12(0x281),_0x5c5a60=_0x2afd8c[_0x47ca12(0x20f)]===_0x47ca12(0x1e0);let _0x376a7a;if(_0x2afd8c[_0x47ca12(0x20f)]!==_0x47ca12(0xf2)&&!_0x4e619b&&!_0x5c5a60?_0x376a7a=_0x47ca12(0x29c):_0x5c5a60&&!_0x2afd8c[_0x47ca12(0xd1)]?_0x376a7a=_0x47ca12(0x197):_0x2afd8c[_0x47ca12(0x123)]&&(_0x376a7a=_0x47ca12(0x16b)),_0x376a7a){const _0xcdf5be=new SyntaxError(_0x376a7a);if(_0x44204c[_0x47ca12(0x237)]===0x0)throw _0xcdf5be;_0xc84458(_0x44204c,_0xcdf5be);return;}const _0xe8ea31=_0x4e619b?0x1bb:0x50,_0x2acff8=_0x3548fa(0x10)[_0x47ca12(0x17b)](_0x47ca12(0x272)),_0x2e5781=_0x4e619b?_0x2b2332[_0x47ca12(0x28d)]:_0x1cec79[_0x47ca12(0x28d)],_0x470d8e=new Set();let _0x18fb8b;if(_0x4c7243[_0x47ca12(0x129)]=_0x4c7243[_0x47ca12(0x129)]||(_0x4e619b?_0x2eb09f:_0x34ee6c),_0x4c7243[_0x47ca12(0x201)]=_0x4c7243['defaultPort']||_0xe8ea31,_0x4c7243[_0x47ca12(0x1bf)]=_0x2afd8c[_0x47ca12(0x1bf)]||_0xe8ea31,_0x4c7243[_0x47ca12(0x11c)]=_0x2afd8c[_0x47ca12(0x276)][_0x47ca12(0x11a)]('[')?_0x2afd8c[_0x47ca12(0x276)][_0x47ca12(0x143)](0x1,-0x1):_0x2afd8c[_0x47ca12(0x276)],_0x4c7243[_0x47ca12(0x233)]={..._0x4c7243[_0x47ca12(0x233)],'Sec-WebSocket-Version':_0x4c7243[_0x47ca12(0x131)],'Sec-WebSocket-Key':_0x2acff8,'Connection':_0x47ca12(0x145),'Upgrade':'websocket'},_0x4c7243['path']=_0x2afd8c[_0x47ca12(0xd1)]+_0x2afd8c[_0x47ca12(0x107)],_0x4c7243['timeout']=_0x4c7243['handshakeTimeout'],_0x4c7243[_0x47ca12(0x287)]&&(_0x18fb8b=new _0x3354e0(_0x4c7243['perMessageDeflate']!==!0x0?_0x4c7243['perMessageDeflate']:{},!0x1,_0x4c7243[_0x47ca12(0x262)]),_0x4c7243[_0x47ca12(0x233)]['Sec-WebSocket-Extensions']=_0x128d70({[_0x3354e0[_0x47ca12(0x263)]]:_0x18fb8b[_0x47ca12(0x296)]()})),_0x1e161f[_0x47ca12(0x11b)]){for(const _0x4cad15 of _0x1e161f){if(typeof _0x4cad15!=_0x47ca12(0x150)||!_0xc791b9[_0x47ca12(0x284)](_0x4cad15)||_0x470d8e['has'](_0x4cad15))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x470d8e[_0x47ca12(0xd2)](_0x4cad15);}_0x4c7243[_0x47ca12(0x233)][_0x47ca12(0xdc)]=_0x1e161f['join'](',');}if(_0x4c7243[_0x47ca12(0x273)]&&(_0x4c7243['protocolVersion']<0xd?_0x4c7243[_0x47ca12(0x233)][_0x47ca12(0x20d)]=_0x4c7243[_0x47ca12(0x273)]:_0x4c7243['headers'][_0x47ca12(0x157)]=_0x4c7243['origin']),(_0x2afd8c[_0x47ca12(0x1fc)]||_0x2afd8c['password'])&&(_0x4c7243[_0x47ca12(0x1c6)]=_0x2afd8c[_0x47ca12(0x1fc)]+':'+_0x2afd8c[_0x47ca12(0x1c7)]),_0x5c5a60){const _0x3f3c81=_0x4c7243['path'][_0x47ca12(0x130)](':');_0x4c7243[_0x47ca12(0x18e)]=_0x3f3c81[0x0],_0x4c7243[_0x47ca12(0x117)]=_0x3f3c81[0x1];}let _0x433a3a;if(_0x4c7243['followRedirects']){if(_0x44204c['_redirects']===0x0){_0x44204c[_0x47ca12(0x189)]=_0x5c5a60,_0x44204c[_0x47ca12(0x14c)]=_0x4e619b,_0x44204c[_0x47ca12(0x12c)]=_0x5c5a60?_0x4c7243[_0x47ca12(0x18e)]:_0x2afd8c[_0x47ca12(0x11c)];const _0x55132c=_0x335f86&&_0x335f86[_0x47ca12(0x233)];if(_0x335f86={..._0x335f86,'headers':{}},_0x55132c){for(const [_0x3d1d62,_0xe766c0]of Object[_0x47ca12(0x269)](_0x55132c))_0x335f86[_0x47ca12(0x233)][_0x3d1d62[_0x47ca12(0x255)]()]=_0xe766c0;}}else{if(_0x44204c[_0x47ca12(0x119)](_0x47ca12(0x1da))===0x0){const _0x5243f3=_0x5c5a60?_0x44204c['_originalIpc']?_0x4c7243[_0x47ca12(0x18e)]===_0x44204c['_originalHostOrSocketPath']:!0x1:_0x44204c[_0x47ca12(0x189)]?!0x1:_0x2afd8c[_0x47ca12(0x11c)]===_0x44204c[_0x47ca12(0x12c)];(!_0x5243f3||_0x44204c[_0x47ca12(0x14c)]&&!_0x4e619b)&&(delete _0x4c7243['headers'][_0x47ca12(0x217)],delete _0x4c7243[_0x47ca12(0x233)]['cookie'],_0x5243f3||delete _0x4c7243[_0x47ca12(0x233)][_0x47ca12(0x11c)],_0x4c7243[_0x47ca12(0x1c6)]=void 0x0);}}_0x4c7243[_0x47ca12(0x1c6)]&&!_0x335f86['headers'][_0x47ca12(0x217)]&&(_0x335f86[_0x47ca12(0x233)]['authorization']='Basic\x20'+Buffer[_0x47ca12(0x1ae)](_0x4c7243[_0x47ca12(0x1c6)])['toString'](_0x47ca12(0x272))),_0x433a3a=_0x44204c[_0x47ca12(0x1b5)]=_0x2e5781(_0x4c7243),_0x44204c[_0x47ca12(0x237)]&&_0x44204c[_0x47ca12(0x245)](_0x47ca12(0x1da),_0x44204c['url'],_0x433a3a);}else _0x433a3a=_0x44204c[_0x47ca12(0x1b5)]=_0x2e5781(_0x4c7243);_0x4c7243[_0x47ca12(0xe8)]&&_0x433a3a['on'](_0x47ca12(0xe8),()=>{const _0x152bca=_0x47ca12;_0x183d21(_0x44204c,_0x433a3a,_0x152bca(0x1aa));}),_0x433a3a['on'](_0x47ca12(0x1b9),_0x260832=>{const _0x42a7e7=_0x47ca12;_0x433a3a===null||_0x433a3a[_0x448d1c]||(_0x433a3a=_0x44204c[_0x42a7e7(0x1b5)]=null,_0xc84458(_0x44204c,_0x260832));}),_0x433a3a['on'](_0x47ca12(0x122),_0x5c2f82=>{const _0x2aa982=_0x47ca12,_0x2d0e80=_0x5c2f82['headers'][_0x2aa982(0xe5)],_0x5f2d5f=_0x5c2f82[_0x2aa982(0x167)];if(_0x2d0e80&&_0x4c7243['followRedirects']&&_0x5f2d5f>=0x12c&&_0x5f2d5f<0x190){if(++_0x44204c[_0x2aa982(0x237)]>_0x4c7243['maxRedirects']){_0x183d21(_0x44204c,_0x433a3a,_0x2aa982(0x149));return;}_0x433a3a[_0x2aa982(0xe6)]();let _0x338b6d;try{_0x338b6d=new _0x5a1621(_0x2d0e80,_0x27ed71);}catch{const _0x34a70e=new SyntaxError('Invalid\x20URL:\x20'+_0x2d0e80);_0xc84458(_0x44204c,_0x34a70e);return;}_0x3c0916(_0x44204c,_0x338b6d,_0x1e161f,_0x335f86);}else _0x44204c['emit']('unexpected-response',_0x433a3a,_0x5c2f82)||_0x183d21(_0x44204c,_0x433a3a,'Unexpected\x20server\x20response:\x20'+_0x5c2f82['statusCode']);}),_0x433a3a['on'](_0x47ca12(0x134),(_0x57b090,_0x276f03,_0x36caa2)=>{const _0x514637=_0x47ca12;if(_0x44204c['emit'](_0x514637(0x134),_0x57b090),_0x44204c['readyState']!==_0x81caa9[_0x514637(0xea)])return;_0x433a3a=_0x44204c[_0x514637(0x1b5)]=null;const _0xcb43ec=_0x57b090['headers'][_0x514637(0x134)];if(_0xcb43ec===void 0x0||_0xcb43ec['toLowerCase']()!=='websocket'){_0x183d21(_0x44204c,_0x276f03,_0x514637(0x15b));return;}const _0x4607f4=_0xdcde88('sha1')[_0x514637(0x203)](_0x2acff8+_0x205e07)[_0x514637(0x113)]('base64');if(_0x57b090[_0x514637(0x233)][_0x514637(0x1d8)]!==_0x4607f4){_0x183d21(_0x44204c,_0x276f03,_0x514637(0x16e));return;}const _0x5b5921=_0x57b090[_0x514637(0x233)][_0x514637(0x234)];let _0x131dca;if(_0x5b5921!==void 0x0?_0x470d8e['size']?_0x470d8e[_0x514637(0x1d4)](_0x5b5921)||(_0x131dca=_0x514637(0xee)):_0x131dca=_0x514637(0x248):_0x470d8e[_0x514637(0x142)]&&(_0x131dca=_0x514637(0x1d0)),_0x131dca){_0x183d21(_0x44204c,_0x276f03,_0x131dca);return;}_0x5b5921&&(_0x44204c[_0x514637(0x172)]=_0x5b5921);const _0xeae82c=_0x57b090[_0x514637(0x233)][_0x514637(0x146)];if(_0xeae82c!==void 0x0){if(!_0x18fb8b){_0x183d21(_0x44204c,_0x276f03,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x2aaa82;try{_0x2aaa82=_0x2f2ce7(_0xeae82c);}catch{_0x183d21(_0x44204c,_0x276f03,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x1dddad=Object[_0x514637(0x192)](_0x2aaa82);if(_0x1dddad[_0x514637(0x11b)]!==0x1||_0x1dddad[0x0]!==_0x3354e0[_0x514637(0x263)]){_0x183d21(_0x44204c,_0x276f03,_0x514637(0x26b));return;}try{_0x18fb8b[_0x514637(0x27c)](_0x2aaa82[_0x3354e0[_0x514637(0x263)]]);}catch{_0x183d21(_0x44204c,_0x276f03,_0x514637(0x168));return;}_0x44204c[_0x514637(0x1a9)][_0x3354e0[_0x514637(0x263)]]=_0x18fb8b;}_0x44204c[_0x514637(0x1a7)](_0x276f03,_0x36caa2,{'allowSynchronousEvents':_0x4c7243[_0x514637(0x252)],'generateMask':_0x4c7243['generateMask'],'maxPayload':_0x4c7243[_0x514637(0x262)],'skipUTF8Validation':_0x4c7243['skipUTF8Validation']});}),_0x4c7243['finishRequest']?_0x4c7243['finishRequest'](_0x433a3a,_0x44204c):_0x433a3a['end']();}function _0xc84458(_0xfeb64d,_0x36c051){const _0x4c283b=_0x1339d8;_0xfeb64d[_0x4c283b(0x1ea)]=_0x81caa9[_0x4c283b(0x1cd)],_0xfeb64d[_0x4c283b(0xd9)]=!0x0,_0xfeb64d[_0x4c283b(0x245)]('error',_0x36c051),_0xfeb64d[_0x4c283b(0x19a)]();}function _0x34ee6c(_0x45a8ac){const _0x20f8cb=_0x1339d8;return _0x45a8ac[_0x20f8cb(0x117)]=_0x45a8ac[_0x20f8cb(0x18e)],_0x3e78df[_0x20f8cb(0x15e)](_0x45a8ac);}function _0x2eb09f(_0x14e3ba){const _0x4e5d70=_0x1339d8;return _0x14e3ba[_0x4e5d70(0x117)]=void 0x0,!_0x14e3ba['servername']&&_0x14e3ba[_0x4e5d70(0x132)]!==''&&(_0x14e3ba[_0x4e5d70(0x132)]=_0x3e78df[_0x4e5d70(0x253)](_0x14e3ba['host'])?'':_0x14e3ba[_0x4e5d70(0x11c)]),_0x8a7f1d[_0x4e5d70(0x15e)](_0x14e3ba);}function _0x183d21(_0x406083,_0x38756f,_0x5b782b){const _0x9d8380=_0x1339d8;_0x406083[_0x9d8380(0x1ea)]=_0x81caa9[_0x9d8380(0x1cd)];const _0x582fe0=new Error(_0x5b782b);Error[_0x9d8380(0x194)](_0x582fe0,_0x183d21),_0x38756f[_0x9d8380(0x1d2)]?(_0x38756f[_0x448d1c]=!0x0,_0x38756f['abort'](),_0x38756f['socket']&&!_0x38756f[_0x9d8380(0x101)][_0x9d8380(0xfd)]&&_0x38756f['socket'][_0x9d8380(0x221)](),process[_0x9d8380(0xf4)](_0xc84458,_0x406083,_0x582fe0)):(_0x38756f[_0x9d8380(0x221)](_0x582fe0),_0x38756f[_0x9d8380(0x127)](_0x9d8380(0x1b9),_0x406083['emit'][_0x9d8380(0xff)](_0x406083,_0x9d8380(0x1b9))),_0x38756f[_0x9d8380(0x127)](_0x9d8380(0x211),_0x406083[_0x9d8380(0x19a)][_0x9d8380(0xff)](_0x406083)));}function _0x52673a(_0x4ba905,_0x15525f,_0x22e96a){const _0x9fcbed=_0x1339d8;if(_0x15525f){const _0x50e0ab=_0x555b14(_0x15525f)?_0x15525f[_0x9fcbed(0x142)]:_0xbcfb5d(_0x15525f)['length'];_0x4ba905[_0x9fcbed(0x21b)]?_0x4ba905['_sender']['_bufferedBytes']+=_0x50e0ab:_0x4ba905[_0x9fcbed(0x27f)]+=_0x50e0ab;}if(_0x22e96a){const _0x43fbb2=new Error(_0x9fcbed(0x1e1)+_0x4ba905[_0x9fcbed(0x289)]+'\x20('+_0xfc7f16[_0x4ba905[_0x9fcbed(0x289)]]+')');process[_0x9fcbed(0xf4)](_0x22e96a,_0x43fbb2);}}function _0xfe8076(_0x5828f8,_0xec5408){const _0x36f130=_0x1339d8,_0x4cf3a5=this[_0x157199];_0x4cf3a5[_0x36f130(0x1f8)]=!0x0,_0x4cf3a5[_0x36f130(0x180)]=_0xec5408,_0x4cf3a5[_0x36f130(0x183)]=_0x5828f8,_0x4cf3a5[_0x36f130(0x21b)][_0x157199]!==void 0x0&&(_0x4cf3a5[_0x36f130(0x21b)][_0x36f130(0x1ee)](_0x36f130(0x24d),_0x1182d1),process[_0x36f130(0xf4)](_0x2cb689,_0x4cf3a5[_0x36f130(0x21b)]),_0x5828f8===0x3ed?_0x4cf3a5['close']():_0x4cf3a5[_0x36f130(0x211)](_0x5828f8,_0xec5408));}function _0x21dc23(){const _0x13ad30=_0x1339d8,_0x229c88=this[_0x157199];_0x229c88[_0x13ad30(0xed)]||_0x229c88['_socket'][_0x13ad30(0x1be)]();}function _0x395f7d(_0x553588){const _0x295543=_0x1339d8,_0x158e30=this[_0x157199];_0x158e30[_0x295543(0x21b)][_0x157199]!==void 0x0&&(_0x158e30[_0x295543(0x21b)][_0x295543(0x1ee)](_0x295543(0x24d),_0x1182d1),process[_0x295543(0xf4)](_0x2cb689,_0x158e30[_0x295543(0x21b)]),_0x158e30['close'](_0x553588[_0xe96aba])),_0x158e30['_errorEmitted']||(_0x158e30[_0x295543(0xd9)]=!0x0,_0x158e30[_0x295543(0x245)](_0x295543(0x1b9),_0x553588));}function _0x5da815(){const _0x14a4a4=_0x1339d8;this[_0x157199][_0x14a4a4(0x19a)]();}function _0x46e9ef(_0x5a817e,_0x387ab6){const _0x1f9d8f=_0x1339d8;this[_0x157199][_0x1f9d8f(0x245)](_0x1f9d8f(0x224),_0x5a817e,_0x387ab6);}function _0x208268(_0x8640fd){const _0x5b712d=_0x1339d8,_0x36feb0=this[_0x157199];_0x36feb0[_0x5b712d(0x277)]&&_0x36feb0[_0x5b712d(0x257)](_0x8640fd,!this[_0x5b712d(0x1c8)],_0x526345),_0x36feb0[_0x5b712d(0x245)]('ping',_0x8640fd);}function _0x94d8bf(_0x327ed3){const _0x37d6c2=_0x1339d8;this[_0x157199][_0x37d6c2(0x245)](_0x37d6c2(0x257),_0x327ed3);}function _0x2cb689(_0x3372fb){const _0x3ddee6=_0x1339d8;_0x3372fb[_0x3ddee6(0x1be)]();}function _0x5b7257(_0x12a61b){const _0x524af1=_0x1339d8,_0x536ba4=this[_0x157199];_0x536ba4[_0x524af1(0x289)]!==_0x81caa9[_0x524af1(0xe1)]&&(_0x536ba4[_0x524af1(0x289)]===_0x81caa9['OPEN']&&(_0x536ba4[_0x524af1(0x1ea)]=_0x81caa9[_0x524af1(0x1cd)],_0x3ce662(_0x536ba4)),this[_0x524af1(0x21b)][_0x524af1(0x1ab)](),_0x536ba4[_0x524af1(0xd9)]||(_0x536ba4[_0x524af1(0xd9)]=!0x0,_0x536ba4['emit'](_0x524af1(0x1b9),_0x12a61b)));}function _0x3ce662(_0x3657d3){const _0x5c99d2=_0x1339d8;_0x3657d3[_0x5c99d2(0x223)]=setTimeout(_0x3657d3[_0x5c99d2(0x21b)][_0x5c99d2(0x221)][_0x5c99d2(0xff)](_0x3657d3[_0x5c99d2(0x21b)]),_0x1c8783);}function _0x42ccc2(){const _0x267735=_0x1339d8,_0x2eb1e1=this[_0x157199];this[_0x267735(0x1ee)](_0x267735(0x211),_0x42ccc2),this['removeListener'](_0x267735(0x24d),_0x1182d1),this[_0x267735(0x1ee)](_0x267735(0x1ab),_0x37f9a7),_0x2eb1e1['_readyState']=_0x81caa9[_0x267735(0x1cd)];let _0x59ff46;!this[_0x267735(0x236)][_0x267735(0x1b3)]&&!_0x2eb1e1[_0x267735(0x1f8)]&&!_0x2eb1e1['_receiver']['_writableState']['errorEmitted']&&(_0x59ff46=_0x2eb1e1[_0x267735(0x21b)]['read']())!==null&&_0x2eb1e1['_receiver'][_0x267735(0x1f6)](_0x59ff46),_0x2eb1e1[_0x267735(0x16c)][_0x267735(0x1ab)](),this[_0x157199]=void 0x0,clearTimeout(_0x2eb1e1[_0x267735(0x223)]),_0x2eb1e1[_0x267735(0x16c)][_0x267735(0x14e)][_0x267735(0x1ba)]||_0x2eb1e1[_0x267735(0x16c)]['_writableState']['errorEmitted']?_0x2eb1e1[_0x267735(0x19a)]():(_0x2eb1e1[_0x267735(0x16c)]['on'](_0x267735(0x1b9),_0x5da815),_0x2eb1e1[_0x267735(0x16c)]['on']('finish',_0x5da815));}function _0x1182d1(_0x4abb1f){const _0x29187a=_0x1339d8;this[_0x157199][_0x29187a(0x16c)][_0x29187a(0x1f6)](_0x4abb1f)||this[_0x29187a(0x163)]();}function _0x37f9a7(){const _0x1b4bd8=_0x1339d8,_0x79c7f=this[_0x157199];_0x79c7f['_readyState']=_0x81caa9[_0x1b4bd8(0x1cd)],_0x79c7f[_0x1b4bd8(0x16c)]['end'](),this[_0x1b4bd8(0x1ab)]();}function _0x24c9bd(){const _0x3d8f88=_0x1339d8,_0x412657=this[_0x157199];this[_0x3d8f88(0x1ee)]('error',_0x24c9bd),this['on'](_0x3d8f88(0x1b9),_0x526345),_0x412657&&(_0x412657['_readyState']=_0x81caa9[_0x3d8f88(0x1cd)],this[_0x3d8f88(0x221)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x29e009}=oe;function _0x3c387a(_0xdb731c){const _0xfe07dd=_0x56b3;_0xdb731c[_0xfe07dd(0x245)](_0xfe07dd(0x211));}function _0x3d0578(){const _0x4b9767=_0x56b3;!this[_0x4b9767(0xfd)]&&this[_0x4b9767(0x14e)][_0x4b9767(0x1ba)]&&this['destroy']();}function _0xf2586d(_0x559a52){const _0x23483a=_0x56b3;this[_0x23483a(0x1ee)]('error',_0xf2586d),this['destroy'](),this[_0x23483a(0x119)](_0x23483a(0x1b9))===0x0&&this[_0x23483a(0x245)]('error',_0x559a52);}function _0x4b0761(_0x5268e7,_0x16a220){const _0x444fcb=_0x56b3;let _0x59f582=!0x0;const _0x314631=new _0x29e009({..._0x16a220,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5268e7['on'](_0x444fcb(0x224),function(_0x440dea,_0xcdb675){const _0x1f516e=_0x444fcb,_0x47b2d3=!_0xcdb675&&_0x314631[_0x1f516e(0x236)][_0x1f516e(0x10a)]?_0x440dea[_0x1f516e(0x17b)]():_0x440dea;_0x314631[_0x1f516e(0x26c)](_0x47b2d3)||_0x5268e7[_0x1f516e(0x163)]();}),_0x5268e7['once']('error',function(_0x487aec){_0x314631['destroyed']||(_0x59f582=!0x1,_0x314631['destroy'](_0x487aec));}),_0x5268e7[_0x444fcb(0x127)](_0x444fcb(0x211),function(){const _0x30e19b=_0x444fcb;_0x314631[_0x30e19b(0xfd)]||_0x314631['push'](null);}),_0x314631[_0x444fcb(0x23e)]=function(_0x597134,_0x57bdec){const _0x42d155=_0x444fcb;if(_0x5268e7[_0x42d155(0x289)]===_0x5268e7['CLOSED']){_0x57bdec(_0x597134),process['nextTick'](_0x3c387a,_0x314631);return;}let _0x1fda92=!0x1;_0x5268e7[_0x42d155(0x127)]('error',function(_0x5bc923){_0x1fda92=!0x0,_0x57bdec(_0x5bc923);}),_0x5268e7[_0x42d155(0x127)]('close',function(){const _0x5d1fa3=_0x42d155;_0x1fda92||_0x57bdec(_0x597134),process[_0x5d1fa3(0xf4)](_0x3c387a,_0x314631);}),_0x59f582&&_0x5268e7[_0x42d155(0x26f)]();},_0x314631[_0x444fcb(0x111)]=function(_0x1837e8){const _0x417c17=_0x444fcb;if(_0x5268e7['readyState']===_0x5268e7[_0x417c17(0xea)]){_0x5268e7[_0x417c17(0x127)](_0x417c17(0x105),function(){const _0x257091=_0x417c17;_0x314631[_0x257091(0x111)](_0x1837e8);});return;}_0x5268e7['_socket']!==null&&(_0x5268e7[_0x417c17(0x21b)][_0x417c17(0x14e)][_0x417c17(0x1ba)]?(_0x1837e8(),_0x314631[_0x417c17(0x236)]['endEmitted']&&_0x314631[_0x417c17(0x221)]()):(_0x5268e7[_0x417c17(0x21b)]['once'](_0x417c17(0x165),function(){_0x1837e8();}),_0x5268e7[_0x417c17(0x211)]()));},_0x314631['_read']=function(){const _0x5ceabd=_0x444fcb;_0x5268e7[_0x5ceabd(0xed)]&&_0x5268e7[_0x5ceabd(0x1be)]();},_0x314631['_write']=function(_0x2735c6,_0x5dc8e9,_0x5341b4){const _0x46c6fa=_0x444fcb;if(_0x5268e7[_0x46c6fa(0x289)]===_0x5268e7['CONNECTING']){_0x5268e7[_0x46c6fa(0x127)]('open',function(){const _0x5743b1=_0x46c6fa;_0x314631[_0x5743b1(0x1af)](_0x2735c6,_0x5dc8e9,_0x5341b4);});return;}_0x5268e7[_0x46c6fa(0xe7)](_0x2735c6,_0x5341b4);},_0x314631['on'](_0x444fcb(0x1ab),_0x3d0578),_0x314631['on']('error',_0xf2586d),_0x314631;}return Oe=_0x4b0761,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x44fd89}=ae();function _0x5ded39(_0x3f33c0){const _0x4e0bd2=_0x56b3,_0x261470=new Set();let _0x215005=-0x1,_0x42652a=-0x1,_0x5f2328=0x0;for(_0x5f2328;_0x5f2328<_0x3f33c0['length'];_0x5f2328++){const _0x326816=_0x3f33c0['charCodeAt'](_0x5f2328);if(_0x42652a===-0x1&&_0x44fd89[_0x326816]===0x1)_0x215005===-0x1&&(_0x215005=_0x5f2328);else{if(_0x5f2328!==0x0&&(_0x326816===0x20||_0x326816===0x9))_0x42652a===-0x1&&_0x215005!==-0x1&&(_0x42652a=_0x5f2328);else{if(_0x326816===0x2c){if(_0x215005===-0x1)throw new SyntaxError(_0x4e0bd2(0xdd)+_0x5f2328);_0x42652a===-0x1&&(_0x42652a=_0x5f2328);const _0x5c997b=_0x3f33c0['slice'](_0x215005,_0x42652a);if(_0x261470[_0x4e0bd2(0x1d4)](_0x5c997b))throw new SyntaxError(_0x4e0bd2(0x1e4)+_0x5c997b+_0x4e0bd2(0xf7));_0x261470['add'](_0x5c997b),_0x215005=_0x42652a=-0x1;}else throw new SyntaxError(_0x4e0bd2(0xdd)+_0x5f2328);}}}if(_0x215005===-0x1||_0x42652a!==-0x1)throw new SyntaxError(_0x4e0bd2(0x199));const _0x55bebc=_0x3f33c0[_0x4e0bd2(0x143)](_0x215005,_0x5f2328);if(_0x261470[_0x4e0bd2(0x1d4)](_0x55bebc))throw new SyntaxError('The\x20\x22'+_0x55bebc+_0x4e0bd2(0xf7));return _0x261470[_0x4e0bd2(0xd2)](_0x55bebc),_0x261470;}return Ce={'parse':_0x5ded39},Ce;}var Te,rt;function Ft(){const _0x37ce46=_0x1bc787;if(rt)return Te;rt=0x1;const _0x77351e=nt,_0x11e4d9=ot,{Duplex:_0x109c97}=oe,{createHash:_0x1fc733}=Le,_0x4c51cc=ct(),_0x560611=he(),_0x3bb532=At(),_0xd09ea3=Pe(),{GUID:_0x252ad8,kWebSocket:_0x203985}=H(),_0x26c0a8=/^[+/0-9A-Za-z]{22}==$/,_0x1ea7de=0x0,_0x408faa=0x1,_0x2513c8=0x2;class _0x3cef6d extends _0x77351e{constructor(_0x321afb,_0x417a94){const _0x162684=_0x56b3;if(super(),_0x321afb={'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':_0xd09ea3,..._0x321afb},_0x321afb[_0x162684(0x1bf)]==null&&!_0x321afb[_0x162684(0x144)]&&!_0x321afb[_0x162684(0x1c0)]||_0x321afb[_0x162684(0x1bf)]!=null&&(_0x321afb[_0x162684(0x144)]||_0x321afb[_0x162684(0x1c0)])||_0x321afb[_0x162684(0x144)]&&_0x321afb[_0x162684(0x1c0)])throw new TypeError(_0x162684(0x118));if(_0x321afb['port']!=null?(this[_0x162684(0xe4)]=_0x11e4d9['createServer']((_0xd96cec,_0x1a9cc9)=>{const _0x110fd5=_0x162684,_0x184607=_0x11e4d9[_0x110fd5(0x23c)][0x1aa];_0x1a9cc9[_0x110fd5(0x25f)](0x1aa,{'Content-Length':_0x184607[_0x110fd5(0x11b)],'Content-Type':'text/plain'}),_0x1a9cc9[_0x110fd5(0x1ab)](_0x184607);}),this[_0x162684(0xe4)][_0x162684(0x109)](_0x321afb[_0x162684(0x1bf)],_0x321afb[_0x162684(0x11c)],_0x321afb[_0x162684(0x169)],_0x417a94)):_0x321afb['server']&&(this[_0x162684(0xe4)]=_0x321afb['server']),this[_0x162684(0xe4)]){const _0x51e4ab=this[_0x162684(0x245)][_0x162684(0xff)](this,_0x162684(0x26e));this[_0x162684(0x228)]=_0x45d62c(this[_0x162684(0xe4)],{'listening':this[_0x162684(0x245)][_0x162684(0xff)](this,_0x162684(0x200)),'error':this[_0x162684(0x245)][_0x162684(0xff)](this,_0x162684(0x1b9)),'upgrade':(_0x6b5da,_0x36ad59,_0x4acd34)=>{const _0x1317a7=_0x162684;this[_0x1317a7(0xf1)](_0x6b5da,_0x36ad59,_0x4acd34,_0x51e4ab);}});}_0x321afb['perMessageDeflate']===!0x0&&(_0x321afb[_0x162684(0x287)]={}),_0x321afb['clientTracking']&&(this['clients']=new Set(),this[_0x162684(0xfa)]=!0x1),this['options']=_0x321afb,this[_0x162684(0x22a)]=_0x1ea7de;}[_0x37ce46(0x136)](){const _0x294f38=_0x37ce46;if(this[_0x294f38(0x24f)][_0x294f38(0x1c0)])throw new Error(_0x294f38(0x1c5));return this[_0x294f38(0xe4)]?this[_0x294f38(0xe4)]['address']():null;}[_0x37ce46(0x211)](_0x5ac8ce){const _0x5e3b38=_0x37ce46;if(this['_state']===_0x2513c8){_0x5ac8ce&&this[_0x5e3b38(0x127)](_0x5e3b38(0x211),()=>{const _0x455e51=_0x5e3b38;_0x5ac8ce(new Error(_0x455e51(0xe3)));}),process[_0x5e3b38(0xf4)](_0x67cb86,this);return;}if(_0x5ac8ce&&this[_0x5e3b38(0x127)](_0x5e3b38(0x211),_0x5ac8ce),this[_0x5e3b38(0x22a)]!==_0x408faa){if(this[_0x5e3b38(0x22a)]=_0x408faa,this[_0x5e3b38(0x24f)][_0x5e3b38(0x1c0)]||this[_0x5e3b38(0x24f)][_0x5e3b38(0x144)])this[_0x5e3b38(0xe4)]&&(this[_0x5e3b38(0x228)](),this[_0x5e3b38(0x228)]=this['_server']=null),this[_0x5e3b38(0x1c9)]?this[_0x5e3b38(0x1c9)][_0x5e3b38(0x142)]?this[_0x5e3b38(0xfa)]=!0x0:process[_0x5e3b38(0xf4)](_0x67cb86,this):process['nextTick'](_0x67cb86,this);else{const _0x9236ab=this['_server'];this['_removeListeners'](),this[_0x5e3b38(0x228)]=this['_server']=null,_0x9236ab[_0x5e3b38(0x211)](()=>{_0x67cb86(this);});}}}['shouldHandle'](_0x5287fa){const _0x5e9e72=_0x37ce46;if(this['options'][_0x5e9e72(0x117)]){const _0x5a5b21=_0x5287fa[_0x5e9e72(0x18f)][_0x5e9e72(0x1dd)]('?');if((_0x5a5b21!==-0x1?_0x5287fa[_0x5e9e72(0x18f)]['slice'](0x0,_0x5a5b21):_0x5287fa['url'])!==this[_0x5e9e72(0x24f)][_0x5e9e72(0x117)])return!0x1;}return!0x0;}['handleUpgrade'](_0x33bcaa,_0x5912e0,_0x7c9b3a,_0x141b58){const _0x5a8ca0=_0x37ce46;_0x5912e0['on'](_0x5a8ca0(0x1b9),_0x5b9292);const _0x2771a8=_0x33bcaa[_0x5a8ca0(0x233)][_0x5a8ca0(0xde)],_0x1be5f3=_0x33bcaa[_0x5a8ca0(0x233)][_0x5a8ca0(0x134)],_0x27bc09=+_0x33bcaa['headers'][_0x5a8ca0(0x1d6)];if(_0x33bcaa[_0x5a8ca0(0x1c4)]!==_0x5a8ca0(0x26a)){_0x5490cd(this,_0x33bcaa,_0x5912e0,0x195,_0x5a8ca0(0x293));return;}if(_0x1be5f3===void 0x0||_0x1be5f3['toLowerCase']()!==_0x5a8ca0(0xe2)){_0x5490cd(this,_0x33bcaa,_0x5912e0,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x2771a8===void 0x0||!_0x26c0a8[_0x5a8ca0(0x284)](_0x2771a8)){_0x5490cd(this,_0x33bcaa,_0x5912e0,0x190,_0x5a8ca0(0x17f));return;}if(_0x27bc09!==0x8&&_0x27bc09!==0xd){_0x5490cd(this,_0x33bcaa,_0x5912e0,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x5a8ca0(0x21d)](_0x33bcaa)){_0x28c799(_0x5912e0,0x190);return;}const _0x22645d=_0x33bcaa[_0x5a8ca0(0x233)]['sec-websocket-protocol'];let _0x3168c1=new Set();if(_0x22645d!==void 0x0)try{_0x3168c1=_0x3bb532[_0x5a8ca0(0x23a)](_0x22645d);}catch{_0x5490cd(this,_0x33bcaa,_0x5912e0,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x40f8ee=_0x33bcaa[_0x5a8ca0(0x233)][_0x5a8ca0(0x146)],_0x13b229={};if(this[_0x5a8ca0(0x24f)][_0x5a8ca0(0x287)]&&_0x40f8ee!==void 0x0){const _0x2c78c7=new _0x560611(this[_0x5a8ca0(0x24f)][_0x5a8ca0(0x287)],!0x0,this[_0x5a8ca0(0x24f)][_0x5a8ca0(0x262)]);try{const _0x57b116=_0x4c51cc[_0x5a8ca0(0x23a)](_0x40f8ee);_0x57b116[_0x560611[_0x5a8ca0(0x263)]]&&(_0x2c78c7[_0x5a8ca0(0x27c)](_0x57b116[_0x560611[_0x5a8ca0(0x263)]]),_0x13b229[_0x560611['extensionName']]=_0x2c78c7);}catch{_0x5490cd(this,_0x33bcaa,_0x5912e0,0x190,_0x5a8ca0(0x158));return;}}if(this[_0x5a8ca0(0x24f)][_0x5a8ca0(0x1de)]){const _0x3e5c3a={'origin':_0x33bcaa[_0x5a8ca0(0x233)][''+(_0x27bc09===0x8?_0x5a8ca0(0x1f0):'origin')],'secure':!!(_0x33bcaa[_0x5a8ca0(0x101)][_0x5a8ca0(0x1cb)]||_0x33bcaa['socket'][_0x5a8ca0(0x20a)]),'req':_0x33bcaa};if(this[_0x5a8ca0(0x24f)][_0x5a8ca0(0x1de)][_0x5a8ca0(0x11b)]===0x2){this[_0x5a8ca0(0x24f)][_0x5a8ca0(0x1de)](_0x3e5c3a,(_0x5dab46,_0x3a2c43,_0x238af0,_0x107146)=>{if(!_0x5dab46)return _0x28c799(_0x5912e0,_0x3a2c43||0x191,_0x238af0,_0x107146);this['completeUpgrade'](_0x13b229,_0x2771a8,_0x3168c1,_0x33bcaa,_0x5912e0,_0x7c9b3a,_0x141b58);});return;}if(!this[_0x5a8ca0(0x24f)][_0x5a8ca0(0x1de)](_0x3e5c3a))return _0x28c799(_0x5912e0,0x191);}this['completeUpgrade'](_0x13b229,_0x2771a8,_0x3168c1,_0x33bcaa,_0x5912e0,_0x7c9b3a,_0x141b58);}[_0x37ce46(0x25b)](_0x344833,_0x50e905,_0x1d78ec,_0x1c0d0c,_0x53acbf,_0x29dfd6,_0x5a6aaf){const _0x48c87f=_0x37ce46;if(!_0x53acbf['readable']||!_0x53acbf[_0x48c87f(0xd7)])return _0x53acbf[_0x48c87f(0x221)]();if(_0x53acbf[_0x203985])throw new Error(_0x48c87f(0xcd));if(this[_0x48c87f(0x22a)]>_0x1ea7de)return _0x28c799(_0x53acbf,0x1f7);const _0x5cb984=[_0x48c87f(0x22d),'Upgrade:\x20websocket','Connection:\x20Upgrade',_0x48c87f(0x25d)+_0x1fc733(_0x48c87f(0x1ed))[_0x48c87f(0x203)](_0x50e905+_0x252ad8)[_0x48c87f(0x113)](_0x48c87f(0x272))],_0x1fb160=new this['options']['WebSocket'](null,void 0x0,this['options']);if(_0x1d78ec[_0x48c87f(0x142)]){const _0x32b4e5=this[_0x48c87f(0x24f)][_0x48c87f(0x280)]?this['options'][_0x48c87f(0x280)](_0x1d78ec,_0x1c0d0c):_0x1d78ec[_0x48c87f(0x250)]()[_0x48c87f(0x10b)]()['value'];_0x32b4e5&&(_0x5cb984[_0x48c87f(0x26c)]('Sec-WebSocket-Protocol:\x20'+_0x32b4e5),_0x1fb160[_0x48c87f(0x172)]=_0x32b4e5);}if(_0x344833[_0x560611[_0x48c87f(0x263)]]){const _0x3c3441=_0x344833[_0x560611[_0x48c87f(0x263)]][_0x48c87f(0x1d7)],_0x4efb04=_0x4c51cc['format']({[_0x560611[_0x48c87f(0x263)]]:[_0x3c3441]});_0x5cb984[_0x48c87f(0x26c)](_0x48c87f(0x110)+_0x4efb04),_0x1fb160[_0x48c87f(0x1a9)]=_0x344833;}this['emit'](_0x48c87f(0x233),_0x5cb984,_0x1c0d0c),_0x53acbf[_0x48c87f(0x1f6)](_0x5cb984[_0x48c87f(0x238)]('\x0d\x0a')[_0x48c87f(0x279)]('\x0d\x0a')),_0x53acbf[_0x48c87f(0x1ee)](_0x48c87f(0x1b9),_0x5b9292),_0x1fb160[_0x48c87f(0x1a7)](_0x53acbf,_0x29dfd6,{'allowSynchronousEvents':this[_0x48c87f(0x24f)]['allowSynchronousEvents'],'maxPayload':this[_0x48c87f(0x24f)][_0x48c87f(0x262)],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this[_0x48c87f(0x1c9)]&&(this[_0x48c87f(0x1c9)][_0x48c87f(0xd2)](_0x1fb160),_0x1fb160['on'](_0x48c87f(0x211),()=>{const _0x4ce8ec=_0x48c87f;this[_0x4ce8ec(0x1c9)][_0x4ce8ec(0xf8)](_0x1fb160),this['_shouldEmitClose']&&!this[_0x4ce8ec(0x1c9)][_0x4ce8ec(0x142)]&&process[_0x4ce8ec(0xf4)](_0x67cb86,this);})),_0x5a6aaf(_0x1fb160,_0x1c0d0c);}}Te=_0x3cef6d;function _0x45d62c(_0x2538ca,_0x2e537c){const _0x5a7585=_0x37ce46;for(const _0x4db694 of Object[_0x5a7585(0x192)](_0x2e537c))_0x2538ca['on'](_0x4db694,_0x2e537c[_0x4db694]);return function(){const _0x2790fb=_0x5a7585;for(const _0xb47cb3 of Object['keys'](_0x2e537c))_0x2538ca[_0x2790fb(0x1ee)](_0xb47cb3,_0x2e537c[_0xb47cb3]);};}function _0x67cb86(_0x1bd21b){const _0x154be9=_0x37ce46;_0x1bd21b['_state']=_0x2513c8,_0x1bd21b[_0x154be9(0x245)]('close');}function _0x5b9292(){const _0x3743c9=_0x37ce46;this[_0x3743c9(0x221)]();}function _0x28c799(_0x17af83,_0x28019e,_0x50b870,_0x1c6d6a){const _0x57ddf3=_0x37ce46;_0x50b870=_0x50b870||_0x11e4d9[_0x57ddf3(0x23c)][_0x28019e],_0x1c6d6a={'Connection':_0x57ddf3(0x211),'Content-Type':_0x57ddf3(0x182),'Content-Length':Buffer['byteLength'](_0x50b870),..._0x1c6d6a},_0x17af83[_0x57ddf3(0x127)](_0x57ddf3(0x165),_0x17af83[_0x57ddf3(0x221)]),_0x17af83[_0x57ddf3(0x1ab)](_0x57ddf3(0x1e3)+_0x28019e+'\x20'+_0x11e4d9[_0x57ddf3(0x23c)][_0x28019e]+'\x0d\x0a'+Object['keys'](_0x1c6d6a)[_0x57ddf3(0x126)](_0x55d21a=>_0x55d21a+':\x20'+_0x1c6d6a[_0x55d21a])[_0x57ddf3(0x279)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x50b870);}function _0x5490cd(_0x3835e6,_0x50b513,_0x5ad2ea,_0x36ba7c,_0x4f2499){const _0x25e3dd=_0x37ce46;if(_0x3835e6['listenerCount'](_0x25e3dd(0x1e5))){const _0xaee0be=new Error(_0x4f2499);Error[_0x25e3dd(0x194)](_0xaee0be,_0x5490cd),_0x3835e6[_0x25e3dd(0x245)](_0x25e3dd(0x1e5),_0xaee0be,_0x5ad2ea,_0x50b513);}else _0x28c799(_0x5ad2ea,_0x36ba7c,_0x4f2499);}return Te;}Ft();var jt=Object[_0x1bc787(0x153)],Wt=(_0x2aaeab,_0x4ff485,_0x304b1b,_0x3f9bc4)=>{const _0x51d3d6=_0x1bc787;for(var _0x2b3c0c=_0x3f9bc4>0x1?void 0x0:_0x3f9bc4?jt(_0x4ff485,_0x304b1b):_0x4ff485,_0x5030ab=_0x2aaeab[_0x51d3d6(0x11b)]-0x1,_0xc7ee96;_0x5030ab>=0x0;_0x5030ab--)(_0xc7ee96=_0x2aaeab[_0x5030ab])&&(_0x2b3c0c=_0xc7ee96(_0x2b3c0c)||_0x2b3c0c);return _0x2b3c0c;},qt=(_0xf044e8,_0x4c0c46)=>(_0x2622b8,_0x5c0a55)=>_0x4c0c46(_0x2622b8,_0x5c0a55,_0xf044e8);let ke=class extends A[_0x1bc787(0x28c)]{constructor(_0x25e869){super(),this['_configService']=_0x25e869;}[_0x1bc787(0x1ef)](_0xc979c9){const _0x107109=_0x1bc787;var _0x2e2c91;const _0x138534=(_0x2e2c91=this['_configService'][_0x107109(0x14a)](fe))==null?void 0x0:_0x2e2c91[_0x107109(0x19d)];try{const _0x58c9d6=new $t(_0xc979c9,{'headers':{..._0x138534}}),_0x17525c=new A[(_0x107109(0x128))]();return{'URL':_0xc979c9,'close':(_0x2b93dc,_0x41aeda)=>{const _0x3b36a9=_0x107109;_0x58c9d6[_0x3b36a9(0x211)](_0x2b93dc,_0x41aeda),_0x17525c['dispose']();},'send':_0x3c62f4=>{const _0x1da7dc=_0x107109;_0x58c9d6[_0x1da7dc(0xe7)](_0x3c62f4);},'open$':new V['Observable'](_0x23ca97=>{const _0x12501f=_0x107109,_0x179839=_0x1ef9f6=>_0x23ca97['next'](_0x1ef9f6);_0x58c9d6[_0x12501f(0x115)](_0x12501f(0x105),_0x179839),_0x17525c[_0x12501f(0xd2)](A[_0x12501f(0x278)](()=>_0x58c9d6[_0x12501f(0x1b1)](_0x12501f(0x105),_0x179839)));})[_0x107109(0x124)](V['share']()),'close$':new V['Observable'](_0x5c99d5=>{const _0x4b4cc7=_0x107109,_0x308693=_0x28917e=>_0x5c99d5[_0x4b4cc7(0x10b)](_0x28917e);_0x58c9d6['addEventListener']('close',_0x308693),_0x17525c['add'](A[_0x4b4cc7(0x278)](()=>_0x58c9d6[_0x4b4cc7(0x1b1)](_0x4b4cc7(0x211),_0x308693)));})[_0x107109(0x124)](V[_0x107109(0x193)]()),'error$':new V['Observable'](_0x103580=>{const _0x3e582b=_0x107109,_0x2e8666=_0x5c28cd=>_0x103580[_0x3e582b(0x10b)](_0x5c28cd);_0x58c9d6['addEventListener'](_0x3e582b(0x1b9),_0x2e8666),_0x17525c['add'](A['toDisposable'](()=>_0x58c9d6[_0x3e582b(0x1b1)](_0x3e582b(0x1b9),_0x2e8666)));})[_0x107109(0x124)](V[_0x107109(0x193)]()),'message$':new V[(_0x107109(0x1d1))](_0x51c8c6=>{const _0x5cdd28=_0x107109,_0x4f855b=_0x58203a=>_0x51c8c6[_0x5cdd28(0x10b)](_0x58203a);_0x58c9d6[_0x5cdd28(0x115)](_0x5cdd28(0x224),_0x4f855b),_0x17525c[_0x5cdd28(0xd2)](A[_0x5cdd28(0x278)](()=>_0x58c9d6[_0x5cdd28(0x1b1)](_0x5cdd28(0x224),_0x4f855b)));})[_0x107109(0x124)](V[_0x107109(0x193)]())};}catch(_0x23fa44){return console[_0x107109(0x1b9)](_0x23fa44),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x1bc787(0x188)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x4a05c9,_0x2346d7,_0xe9b8c5)=>_0x2346d7 in _0x4a05c9?Gt(_0x4a05c9,_0x2346d7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe9b8c5}):_0x4a05c9[_0x2346d7]=_0xe9b8c5,zt=(_0x304df4,_0x38d9b7,_0x4e6ae8,_0xb0b7c0)=>{for(var _0x44c200=_0xb0b7c0>0x1?void 0x0:_0xb0b7c0?Vt(_0x38d9b7,_0x4e6ae8):_0x38d9b7,_0x2c90e0=_0x304df4['length']-0x1,_0x12067a;_0x2c90e0>=0x0;_0x2c90e0--)(_0x12067a=_0x304df4[_0x2c90e0])&&(_0x44c200=_0x12067a(_0x44c200)||_0x44c200);return _0x44c200;},Ne=(_0x24e799,_0x28f89d)=>(_0x136630,_0x441063)=>_0x28f89d(_0x136630,_0x441063,_0x24e799),Yt=(_0x52571d,_0x22a84b,_0x1f8e20)=>Ht(_0x52571d,_0x22a84b+'',_0x1f8e20);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x1bc787(0x1eb)]{constructor(_0x3b72b0=Ct,_0x317eed,_0x5b1d49,_0x4e8ecf){const _0x309928=_0x1bc787;_0x3b72b0[_0x309928(0x19d)]||_0x317eed[_0x309928(0x271)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this['_configService']=_0x5b1d49,this[_0x309928(0x20b)]=_0x4e8ecf,this[_0x309928(0x140)][_0x309928(0x12d)](fe,_0x3b72b0);}[_0x1bc787(0x204)](){const _0x3da4aa=_0x1bc787;this[_0x3da4aa(0x216)]();}[_0x1bc787(0x216)](){const _0x2f2e43=_0x1bc787;A[_0x2f2e43(0xfe)](this['_injector'],[[it[_0x2f2e43(0x104)],{'useClass':ke}]]);}},Yt(exports[_0x1bc787(0x1b7)],_0x1bc787(0x25e),_0x1bc787(0x156)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x1bc787(0x28b)](st[_0x1bc787(0x125)]),Ne(0x1,A[_0x1bc787(0x174)]),Ne(0x2,A[_0x1bc787(0x1ca)]),Ne(0x3,A[_0x1bc787(0x202)](A[_0x1bc787(0x13e)]))],exports[_0x1bc787(0x1b7)]);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x4e1afc,_0x49975e,_0x14c05b,_0x42b33c)=>{const _0x58571d=_0x1bc787;for(var _0x4a50aa=_0x42b33c>0x1?void 0x0:_0x42b33c?Kt(_0x49975e,_0x14c05b):_0x49975e,_0x524566=_0x4e1afc[_0x58571d(0x11b)]-0x1,_0x5b44af;_0x524566>=0x0;_0x524566--)(_0x5b44af=_0x4e1afc[_0x524566])&&(_0x4a50aa=_0x5b44af(_0x4a50aa)||_0x4a50aa);return _0x4a50aa;},ne=(_0x5d98df,_0x2bc86e)=>(_0x460efa,_0x4c3633)=>_0x2bc86e(_0x460efa,_0x4c3633,_0x5d98df);exports[_0x1bc787(0x264)]=class extends st[_0x1bc787(0x1b4)]{constructor(_0x3daf28,_0x11aecf,_0x13991e,_0x8c3009,_0x4b3076){const _0x46f1b6=_0x1bc787;super(_0x3daf28,_0x11aecf,_0x13991e,_0x8c3009,_0x4b3076);const _0x571f3a=this[_0x46f1b6(0x140)][_0x46f1b6(0x14a)](fe);this[_0x46f1b6(0x240)][_0x46f1b6(0x13a)]({'interceptor':(_0x27fe54,_0x378437)=>{const _0x33013f=_0x46f1b6;var _0x3ef716;const _0x58539c=_0x27fe54[_0x33013f(0x233)];return(_0x3ef716=_0x571f3a==null?void 0x0:_0x571f3a['customHeaders'])!=null&&_0x3ef716[_0x33013f(0xe9)]&&_0x58539c[_0x33013f(0x256)](_0x33013f(0x187),_0x571f3a[_0x33013f(0x19d)][_0x33013f(0xe9)]),_0x378437(_0x27fe54);}});}async[_0x1bc787(0x1ef)](_0x5b003c){const _0x35b75f=_0x1bc787;return this[_0x35b75f(0x242)](_0x5b003c);}},exports[_0x1bc787(0x264)]=Xt([ne(0x0,A[_0x1bc787(0x202)](A[_0x1bc787(0x13e)])),ne(0x1,A['Inject'](it[_0x1bc787(0x1f3)])),ne(0x2,A[_0x1bc787(0x1ca)]),ne(0x3,A[_0x1bc787(0x174)]),ne(0x4,Ot[_0x1bc787(0x298)])],exports['NodeCollaborationSocketService']),exports[_0x1bc787(0x16a)]=fe;
|